From 2a904b7bb47b2f72c4ceffff4ef1e0aea35ccd64 Mon Sep 17 00:00:00 2001 From: Reza Babaei Date: Sun, 8 Aug 2021 16:41:58 +0300 Subject: [PATCH] feat: early init configuration and provider / use codegen for wp --- framework/woocommerce/.env.template | 5 +- framework/woocommerce/codegen.json | 12 +- framework/woocommerce/commerce.config.json | 8 +- framework/woocommerce/const.ts | 14 +- framework/woocommerce/fetcher.ts | 10 +- framework/woocommerce/index.tsx | 25 +- framework/woocommerce/next.config.js | 2 +- framework/woocommerce/provider.ts | 24 +- framework/woocommerce/schema.d.ts | 23428 ++++++-- framework/woocommerce/schema.graphql | 47130 +++++++++++++--- framework/woocommerce/schema.ts | 18186 ++++++ .../wp/queries/get-site-info-query.ts | 8 + framework/woocommerce/wp/queries/index.ts | 6 + package.json | 1 + 14 files changed, 74379 insertions(+), 14480 deletions(-) create mode 100644 framework/woocommerce/schema.ts create mode 100644 framework/woocommerce/wp/queries/get-site-info-query.ts create mode 100644 framework/woocommerce/wp/queries/index.ts diff --git a/framework/woocommerce/.env.template b/framework/woocommerce/.env.template index 74f446835..ba93c8a77 100644 --- a/framework/woocommerce/.env.template +++ b/framework/woocommerce/.env.template @@ -1,4 +1,3 @@ -COMMERCE_PROVIDER=shopify +COMMERCE_PROVIDER=woocommerce -NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN= -NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN= +NEXT_PUBLIC_WOOCOMMERCE_SHOP_API_URL= diff --git a/framework/woocommerce/codegen.json b/framework/woocommerce/codegen.json index 9d7dcf8a9..6a99cba21 100644 --- a/framework/woocommerce/codegen.json +++ b/framework/woocommerce/codegen.json @@ -1,20 +1,16 @@ { "schema": { - "https://${NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN}/api/2021-07/graphql.json": { - "headers": { - "X-Shopify-Storefront-Access-Token": "${NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN}" - } - } + "${NEXT_PUBLIC_WOOCOMMERCE_SHOP_API_URL}": {} }, "documents": [ { - "./framework/shopify/**/*.{ts,tsx}": { + "./framework/woocommerce/wp/**/*.{ts,tsx}": { "noRequire": true } } ], "generates": { - "./framework/shopify/schema.d.ts": { + "./framework/woocommerce/schema.d.ts": { "plugins": ["typescript", "typescript-operations"], "config": { "scalars": { @@ -22,7 +18,7 @@ } } }, - "./framework/shopify/schema.graphql": { + "./framework/woocommerce/schema.graphql": { "plugins": ["schema-ast"] } }, diff --git a/framework/woocommerce/commerce.config.json b/framework/woocommerce/commerce.config.json index b30ab39d9..83c3c718e 100644 --- a/framework/woocommerce/commerce.config.json +++ b/framework/woocommerce/commerce.config.json @@ -1,6 +1,10 @@ { - "provider": "shopify", + "provider": "woocommerce", "features": { - "wishlist": false + "cart": false, + "search": false, + "wishlist": false, + "customerAuth": false, + "customCheckout": false } } diff --git a/framework/woocommerce/const.ts b/framework/woocommerce/const.ts index 06fbe5054..a276ed0ae 100644 --- a/framework/woocommerce/const.ts +++ b/framework/woocommerce/const.ts @@ -1,13 +1,9 @@ -export const SHOPIFY_CHECKOUT_ID_COOKIE = 'shopify_checkoutId' +export const WOOCOMMERCE_CHECKOUT_ID_COOKIE = 'woocommerce_checkoutId' -export const SHOPIFY_CHECKOUT_URL_COOKIE = 'shopify_checkoutUrl' +export const WOOCOMMERCE_CHECKOUT_URL_COOKIE = 'woocommerce_checkoutUrl' -export const SHOPIFY_CUSTOMER_TOKEN_COOKIE = 'shopify_customerToken' +export const WOOCOMMERCE_CUSTOMER_TOKEN_COOKIE = 'woocommerce_customerToken' -export const STORE_DOMAIN = process.env.NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN +export const WOOCOMMERCE_COOKIE_EXPIRE = 30 -export const SHOPIFY_COOKIE_EXPIRE = 30 - -export const API_URL = `https://${STORE_DOMAIN}/api/2021-01/graphql.json` - -export const API_TOKEN = process.env.NEXT_PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN +export const API_URL = process.env.NEXT_PUBLIC_WOOCOMMERCE_SHOP_API_URL diff --git a/framework/woocommerce/fetcher.ts b/framework/woocommerce/fetcher.ts index 9a8d2d8d5..031df3545 100644 --- a/framework/woocommerce/fetcher.ts +++ b/framework/woocommerce/fetcher.ts @@ -1,5 +1,5 @@ import { Fetcher } from '@commerce/utils/types' -import { API_TOKEN, API_URL } from './const' +import { API_URL } from './const' import { handleFetchResponse } from './utils' const fetcher: Fetcher = async ({ @@ -13,13 +13,7 @@ const fetcher: Fetcher = async ({ await fetch(url, { method, body: JSON.stringify({ query, variables: vars }), - headers: { - 'X-Shopify-Storefront-Access-Token': API_TOKEN!, - 'Content-Type': 'application/json', - ...(locale && { - 'Accept-Language': locale, - }), - }, + headers: { 'Content-Type': 'application/json' }, }) ) } diff --git a/framework/woocommerce/index.tsx b/framework/woocommerce/index.tsx index 46ed106c5..050a58aa2 100644 --- a/framework/woocommerce/index.tsx +++ b/framework/woocommerce/index.tsx @@ -7,34 +7,33 @@ import { useCommerce as useCoreCommerce, } from '@commerce' -import { shopifyProvider } from './provider' -import type { ShopifyProvider } from './provider' -import { SHOPIFY_CHECKOUT_ID_COOKIE } from './const' +import { wooCommerceProvider } from './provider' +import type { WooCommerceProvider } from './provider' +import { WOOCOMMERCE_CHECKOUT_ID_COOKIE } from './const' -export { shopifyProvider } -export type { ShopifyProvider } +export { wooCommerceProvider } +export type { WooCommerceProvider } -export const shopifyConfig: CommerceConfig = { +export const wooCommerceConfig: CommerceConfig = { locale: 'en-us', - cartCookie: SHOPIFY_CHECKOUT_ID_COOKIE, + cartCookie: WOOCOMMERCE_CHECKOUT_ID_COOKIE, } -export type ShopifyConfig = Partial +export type WooCommerceConfig = Partial export type ShopifyProps = { children?: ReactNode - locale: string -} & ShopifyConfig +} & WooCommerceConfig export function CommerceProvider({ children, ...config }: ShopifyProps) { return ( {children} ) } -export const useCommerce = () => useCoreCommerce() +export const useCommerce = () => useCoreCommerce() diff --git a/framework/woocommerce/next.config.js b/framework/woocommerce/next.config.js index e9d48c02c..ce46b706f 100644 --- a/framework/woocommerce/next.config.js +++ b/framework/woocommerce/next.config.js @@ -3,6 +3,6 @@ const commerce = require('./commerce.config.json') module.exports = { commerce, images: { - domains: ['cdn.shopify.com'], + domains: ['localhost'], }, } diff --git a/framework/woocommerce/provider.ts b/framework/woocommerce/provider.ts index 00db5c1d3..91fd27d4f 100644 --- a/framework/woocommerce/provider.ts +++ b/framework/woocommerce/provider.ts @@ -1,27 +1,11 @@ -import { SHOPIFY_CHECKOUT_ID_COOKIE } from './const' - -import { handler as useCart } from './cart/use-cart' -import { handler as useAddItem } from './cart/use-add-item' -import { handler as useUpdateItem } from './cart/use-update-item' -import { handler as useRemoveItem } from './cart/use-remove-item' - -import { handler as useCustomer } from './customer/use-customer' -import { handler as useSearch } from './product/use-search' - -import { handler as useLogin } from './auth/use-login' -import { handler as useLogout } from './auth/use-logout' -import { handler as useSignup } from './auth/use-signup' +import { WOOCOMMERCE_CHECKOUT_ID_COOKIE } from './const' import fetcher from './fetcher' -export const shopifyProvider = { +export const wooCommerceProvider = { locale: 'en-us', - cartCookie: SHOPIFY_CHECKOUT_ID_COOKIE, fetcher, - cart: { useCart, useAddItem, useUpdateItem, useRemoveItem }, - customer: { useCustomer }, - products: { useSearch }, - auth: { useLogin, useLogout, useSignup }, + cartCookie: WOOCOMMERCE_CHECKOUT_ID_COOKIE, } -export type ShopifyProvider = typeof shopifyProvider +export type WooCommerceProvider = typeof wooCommerceProvider diff --git a/framework/woocommerce/schema.d.ts b/framework/woocommerce/schema.d.ts index 328f0ff1b..6d4a346a9 100644 --- a/framework/woocommerce/schema.d.ts +++ b/framework/woocommerce/schema.d.ts @@ -13,5574 +13,18170 @@ export type Scalars = { Boolean: boolean Int: number Float: number - /** An ISO-8601 encoded UTC date time string. Example value: `"2019-07-03T20:47:55Z"`. */ - DateTime: any - /** A signed decimal number, which supports arbitrary precision and is serialized as a string. Example value: `"29.99"`. */ - Decimal: any - /** A string containing HTML code. Example value: `"

Grey cotton knit sweater.

"`. */ - HTML: any - /** A monetary value string. Example value: `"100.57"`. */ - Money: any - /** - * An RFC 3986 and RFC 3987 compliant URI string. - * - * Example value: `"https://johns-apparel.myshopify.com"`. - * - */ - URL: any } -/** A version of the API. */ -export type ApiVersion = { - __typename?: 'ApiVersion' - /** The human-readable name of the version. */ - displayName: Scalars['String'] - /** The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle. */ - handle: Scalars['String'] - /** Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/concepts/about-apis/versioning). */ - supported: Scalars['Boolean'] +/** Input for the addCartItems mutation */ +export type AddCartItemsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Cart items to be added */ + items?: Maybe>> } -/** Details about the gift card used on the checkout. */ -export type AppliedGiftCard = Node & { - __typename?: 'AppliedGiftCard' - /** - * The amount that was taken from the gift card by applying it. - * @deprecated Use `amountUsedV2` instead - */ - amountUsed: Scalars['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: Scalars['Money'] - /** The amount left on the gift card. */ - balanceV2: MoneyV2 - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The last characters of the gift card. */ - lastCharacters: Scalars['String'] - /** The amount that was applied to the checkout in its currency. */ - presentmentAmountUsed: MoneyV2 +/** The payload for the addCartItems mutation */ +export type AddCartItemsPayload = { + __typename?: 'AddCartItemsPayload' + added?: Maybe>> + cart?: Maybe + cartErrors?: Maybe>> + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe } -/** An article in an online store blog. */ -export type Article = Node & { - __typename?: 'Article' - /** - * The article's author. - * @deprecated Use `authorV2` instead - */ - author: ArticleAuthor - /** The article's author. */ - authorV2?: Maybe - /** The blog that the article belongs to. */ - blog: Blog - /** List of comments posted on the article. */ - comments: CommentConnection - /** Stripped content of the article, single line with HTML tags removed. */ - content: Scalars['String'] - /** The content of the article, complete with HTML formatting. */ - contentHtml: Scalars['HTML'] - /** Stripped excerpt of the article, single line with HTML tags removed. */ - excerpt?: Maybe - /** The excerpt of the article, complete with HTML formatting. */ - excerptHtml?: Maybe - /** A human-friendly unique string for the Article automatically generated from its title. */ - handle: Scalars['String'] - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The image associated with the article. */ - image?: Maybe - /** The date and time when the article was published. */ - publishedAt: Scalars['DateTime'] - /** The article’s SEO information. */ - seo?: Maybe - /** A categorization that a article can be tagged with. */ - tags: Array - /** The article’s name. */ - title: Scalars['String'] - /** The url pointing to the article accessible from the web. */ - url: Scalars['URL'] -} - -/** An article in an online store blog. */ -export type ArticleCommentsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** An article in an online store blog. */ -export type ArticleContentArgs = { - truncateAt?: Maybe -} - -/** An article in an online store blog. */ -export type ArticleExcerptArgs = { - truncateAt?: Maybe -} - -/** An article in an online store blog. */ -export type ArticleImageArgs = { - maxWidth?: Maybe - maxHeight?: Maybe - crop?: Maybe - scale?: Maybe -} - -/** The author of an article. */ -export type ArticleAuthor = { - __typename?: 'ArticleAuthor' - /** The author's bio. */ - bio?: Maybe - /** The author’s email. */ - email: Scalars['String'] - /** The author's first name. */ - firstName: Scalars['String'] - /** The author's last name. */ - lastName: Scalars['String'] - /** The author's full name. */ +/** Input for the addFee mutation */ +export type AddFeeInput = { + /** Fee amount */ + amount?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Unique name for the fee. */ name: Scalars['String'] + /** The tax class for the fee if taxable. */ + taxClass?: Maybe + /** Is the fee taxable? */ + taxable?: Maybe } -/** An auto-generated type for paginating through multiple Articles. */ -export type ArticleConnection = { - __typename?: 'ArticleConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo +/** The payload for the addFee mutation */ +export type AddFeePayload = { + __typename?: 'AddFeePayload' + cart?: Maybe + cartFee?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe } -/** An auto-generated type which holds one Article and a cursor during pagination. */ -export type ArticleEdge = { - __typename?: 'ArticleEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of ArticleEdge. */ - node: Article +/** Input for the addToCart mutation */ +export type AddToCartInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** JSON string representation of extra cart item data */ + extraData?: Maybe + /** Cart item product database ID or global ID */ + productId: Scalars['Int'] + /** Cart item quantity */ + quantity?: Maybe + /** Cart item product variation attributes */ + variation?: Maybe>> + /** Cart item product variation database ID or global ID */ + variationId?: Maybe } -/** The set of valid sort keys for the Article query. */ -export enum ArticleSortKeys { - /** Sort by the `title` value. */ - Title = 'TITLE', - /** Sort by the `blog_title` value. */ - BlogTitle = 'BLOG_TITLE', - /** Sort by the `author` value. */ - Author = 'AUTHOR', - /** Sort by the `updated_at` value. */ - UpdatedAt = 'UPDATED_AT', - /** Sort by the `published_at` value. */ - PublishedAt = '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', +/** The payload for the addToCart mutation */ +export type AddToCartPayload = { + __typename?: 'AddToCartPayload' + cart?: Maybe + cartItem?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe } -/** Represents a generic custom attribute. */ +/** Coupon applied to the shopping cart. */ +export type AppliedCoupon = { + __typename?: 'AppliedCoupon' + /** Coupon code */ + code: Scalars['String'] + /** Discount applied with this coupon */ + discountAmount: Scalars['String'] + /** Taxes on discount applied with this coupon */ + discountTax: Scalars['String'] +} + +/** Coupon applied to the shopping cart. */ +export type AppliedCouponDiscountAmountArgs = { + excludeTax?: Maybe +} + +/** Input for the applyCoupon mutation */ +export type ApplyCouponInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Code of coupon being applied */ + code: Scalars['String'] +} + +/** The payload for the applyCoupon mutation */ +export type ApplyCouponPayload = { + __typename?: 'ApplyCouponPayload' + applied?: Maybe + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Attribute object */ export type Attribute = { - __typename?: 'Attribute' - /** Key or name of the attribute. */ - key: Scalars['String'] - /** Value of the attribute. */ + /** Name of attribute */ + name?: Maybe + /** Selected value of attribute */ value?: Maybe } -/** Specifies the input fields required for an attribute. */ -export type AttributeInput = { - /** Key or name of the attribute. */ - key: Scalars['String'] - /** Value of the attribute. */ - value: Scalars['String'] -} - -/** Automatic discount applications capture the intentions of a discount that was automatically applied. */ -export type AutomaticDiscountApplication = DiscountApplication & { - __typename?: 'AutomaticDiscountApplication' - /** The method by which the discount's value is allocated to its entitled items. */ - allocationMethod: DiscountApplicationAllocationMethod - /** Which lines of targetType that the discount is allocated over. */ - targetSelection: DiscountApplicationTargetSelection - /** The type of line that the discount is applicable towards. */ - targetType: DiscountApplicationTargetType - /** The title of the application. */ - title: Scalars['String'] - /** The value of the discount application. */ - value: PricingValue -} - -/** A collection of available shipping rates for a checkout. */ -export type AvailableShippingRates = { - __typename?: 'AvailableShippingRates' - /** - * Whether or not the shipping rates are ready. - * The `shippingRates` field is `null` when this value is `false`. - * This field should be polled until its value becomes `true`. - */ - ready: Scalars['Boolean'] - /** The fetched shipping rates. `null` until the `ready` field is `true`. */ - shippingRates?: Maybe> -} - -/** An online store blog. */ -export type Blog = Node & { - __typename?: 'Blog' - /** Find an article by its handle. */ - articleByHandle?: Maybe
- /** List of the blog's articles. */ - articles: ArticleConnection - /** The authors who have contributed to the blog. */ - authors: Array - /** A human-friendly unique string for the Blog automatically generated from its title. */ - handle: Scalars['String'] - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The blog's SEO information. */ - seo?: Maybe - /** The blogs’s title. */ - title: Scalars['String'] - /** The url pointing to the blog accessible from the web. */ - url: Scalars['URL'] -} - -/** An online store blog. */ -export type BlogArticleByHandleArgs = { - handle: Scalars['String'] -} - -/** An online store blog. */ -export type BlogArticlesArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** An auto-generated type for paginating through multiple Blogs. */ -export type BlogConnection = { - __typename?: 'BlogConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one Blog and a cursor during pagination. */ -export type BlogEdge = { - __typename?: 'BlogEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of BlogEdge. */ - node: Blog -} - -/** The set of valid sort keys for the Blog query. */ -export enum BlogSortKeys { - /** Sort by the `handle` value. */ - Handle = 'HANDLE', - /** 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', -} - -/** Card brand, such as Visa or Mastercard, which can be used for payments. */ -export enum CardBrand { - /** Visa. */ - Visa = 'VISA', - /** Mastercard. */ - Mastercard = 'MASTERCARD', - /** Discover. */ - Discover = 'DISCOVER', - /** American Express. */ - AmericanExpress = 'AMERICAN_EXPRESS', - /** Diners Club. */ - DinersClub = 'DINERS_CLUB', - /** JCB. */ - Jcb = 'JCB', -} - -/** A container for all the information required to checkout items and pay. */ -export type Checkout = Node & { - __typename?: 'Checkout' - /** The gift cards used on the checkout. */ - appliedGiftCards: Array - /** - * The available shipping rates for this Checkout. - * Should only be used when checkout `requiresShipping` is `true` and - * the shipping address is valid. - */ - availableShippingRates?: Maybe - /** The date and time when the checkout was completed. */ - completedAt?: Maybe - /** The date and time when the checkout was created. */ - createdAt: Scalars['DateTime'] - /** The currency code for the Checkout. */ - currencyCode: CurrencyCode - /** A list of extra information that is added to the checkout. */ - customAttributes: Array - /** - * 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. - */ - customer?: Maybe - /** Discounts that have been applied on the checkout. */ - discountApplications: DiscountApplicationConnection - /** The email attached to this checkout. */ - email?: Maybe - /** Globally unique identifier. */ - id: Scalars['ID'] - /** A list of line item objects, each one containing information about an item in the checkout. */ - lineItems: CheckoutLineItemConnection - /** The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded. */ - lineItemsSubtotalPrice: MoneyV2 - /** The note associated with the checkout. */ - note?: Maybe - /** The resulting order from a paid checkout. */ - order?: Maybe - /** The Order Status Page for this Checkout, null when checkout is not completed. */ - orderStatusUrl?: Maybe - /** - * The amount left to be paid. This is equal to the cost of the line items, taxes and shipping minus discounts and gift cards. - * @deprecated Use `paymentDueV2` instead - */ - paymentDue: Scalars['Money'] - /** The amount left to be paid. This is equal to the cost of the line items, duties, taxes and shipping minus discounts and gift cards. */ - paymentDueV2: MoneyV2 - /** - * Whether or not the Checkout is ready and can be completed. Checkouts may - * have asynchronous operations that can take time to finish. If you want - * to complete a checkout or ensure all the fields are populated and up to - * date, polling is required until the value is true. - */ - ready: Scalars['Boolean'] - /** States whether or not the fulfillment requires shipping. */ - requiresShipping: Scalars['Boolean'] - /** The shipping address to where the line items will be shipped. */ - shippingAddress?: Maybe - /** The discounts that have been allocated onto the shipping line by discount applications. */ - shippingDiscountAllocations: Array - /** Once a shipping rate is selected by the customer it is transitioned to a `shipping_line` object. */ - shippingLine?: Maybe - /** - * Price of the checkout before shipping and taxes. - * @deprecated Use `subtotalPriceV2` instead - */ - subtotalPrice: Scalars['Money'] - /** Price of the checkout before duties, shipping and taxes. */ - subtotalPriceV2: MoneyV2 - /** Specifies if the Checkout is tax exempt. */ - taxExempt: Scalars['Boolean'] - /** Specifies if taxes are included in the line item and shipping line prices. */ - taxesIncluded: Scalars['Boolean'] - /** - * The sum of all the prices of all the items in the checkout, taxes and discounts included. - * @deprecated Use `totalPriceV2` instead - */ - totalPrice: Scalars['Money'] - /** The sum of all the prices of all the items in the checkout, duties, taxes and discounts included. */ - totalPriceV2: MoneyV2 - /** - * The sum of all the taxes applied to the line items and shipping lines in the checkout. - * @deprecated Use `totalTaxV2` instead - */ - totalTax: Scalars['Money'] - /** The sum of all the taxes applied to the line items and shipping lines in the checkout. */ - totalTaxV2: MoneyV2 - /** The date and time when the checkout was last updated. */ - updatedAt: Scalars['DateTime'] - /** The url pointing to the checkout accessible from the web. */ - webUrl: Scalars['URL'] -} - -/** A container for all the information required to checkout items and pay. */ -export type CheckoutDiscountApplicationsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** A container for all the information required to checkout items and pay. */ -export type CheckoutLineItemsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** Specifies the fields required to update a checkout's attributes. */ -export type CheckoutAttributesUpdateInput = { - /** The text of an optional note that a shop owner can attach to the checkout. */ - note?: Maybe - /** A list of extra information that is added to the checkout. */ - customAttributes?: Maybe> - /** - * 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?: Maybe -} - -/** Return type for `checkoutAttributesUpdate` mutation. */ -export type CheckoutAttributesUpdatePayload = { - __typename?: '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 -} - -/** Specifies the fields required to update a checkout's attributes. */ -export type CheckoutAttributesUpdateV2Input = { - /** The text of an optional note that a shop owner can attach to the checkout. */ - note?: Maybe - /** A list of extra information that is added to the checkout. */ - customAttributes?: Maybe> - /** - * 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?: Maybe -} - -/** Return type for `checkoutAttributesUpdateV2` mutation. */ -export type CheckoutAttributesUpdateV2Payload = { - __typename?: 'CheckoutAttributesUpdateV2Payload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutCompleteFree` mutation. */ -export type CheckoutCompleteFreePayload = { - __typename?: 'CheckoutCompleteFreePayload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutCompleteWithCreditCard` mutation. */ -export type CheckoutCompleteWithCreditCardPayload = { - __typename?: '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?: Maybe - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutCompleteWithCreditCardV2` mutation. */ -export type CheckoutCompleteWithCreditCardV2Payload = { - __typename?: 'CheckoutCompleteWithCreditCardV2Payload' - /** The checkout on which the payment was applied. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** A representation of the attempted payment. */ - payment?: Maybe - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutCompleteWithTokenizedPayment` mutation. */ -export type CheckoutCompleteWithTokenizedPaymentPayload = { - __typename?: '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?: Maybe - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutCompleteWithTokenizedPaymentV2` mutation. */ -export type CheckoutCompleteWithTokenizedPaymentV2Payload = { - __typename?: 'CheckoutCompleteWithTokenizedPaymentV2Payload' - /** The checkout on which the payment was applied. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** A representation of the attempted payment. */ - payment?: Maybe - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation. */ -export type CheckoutCompleteWithTokenizedPaymentV3Payload = { - __typename?: 'CheckoutCompleteWithTokenizedPaymentV3Payload' - /** The checkout on which the payment was applied. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** A representation of the attempted payment. */ - payment?: Maybe - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Specifies the fields required to create a checkout. */ -export type CheckoutCreateInput = { - /** The email with which the customer wants to checkout. */ - email?: Maybe - /** A list of line item objects, each one containing information about an item in the checkout. */ - lineItems?: Maybe> - /** The shipping address to where the line items will be shipped. */ - shippingAddress?: Maybe - /** The text of an optional note that a shop owner can attach to the checkout. */ - note?: Maybe - /** A list of extra information that is added to the checkout. */ - customAttributes?: Maybe> - /** - * 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?: Maybe - /** - * 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?: Maybe -} - -/** Return type for `checkoutCreate` mutation. */ -export type CheckoutCreatePayload = { - __typename?: 'CheckoutCreatePayload' - /** The new checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutCustomerAssociate` mutation. */ -export type CheckoutCustomerAssociatePayload = { - __typename?: 'CheckoutCustomerAssociatePayload' - /** The updated checkout object. */ - checkout: Checkout - /** The associated customer object. */ - customer?: Maybe - /** List of errors that occurred executing the mutation. */ - userErrors: Array -} - -/** Return type for `checkoutCustomerAssociateV2` mutation. */ -export type CheckoutCustomerAssociateV2Payload = { - __typename?: 'CheckoutCustomerAssociateV2Payload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** The associated customer object. */ - customer?: Maybe - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutCustomerDisassociate` mutation. */ -export type CheckoutCustomerDisassociatePayload = { - __typename?: '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 -} - -/** Return type for `checkoutCustomerDisassociateV2` mutation. */ -export type CheckoutCustomerDisassociateV2Payload = { - __typename?: 'CheckoutCustomerDisassociateV2Payload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutDiscountCodeApply` mutation. */ -export type CheckoutDiscountCodeApplyPayload = { - __typename?: '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 -} - -/** Return type for `checkoutDiscountCodeApplyV2` mutation. */ -export type CheckoutDiscountCodeApplyV2Payload = { - __typename?: 'CheckoutDiscountCodeApplyV2Payload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutDiscountCodeRemove` mutation. */ -export type CheckoutDiscountCodeRemovePayload = { - __typename?: 'CheckoutDiscountCodeRemovePayload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutEmailUpdate` mutation. */ -export type CheckoutEmailUpdatePayload = { - __typename?: '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 -} - -/** Return type for `checkoutEmailUpdateV2` mutation. */ -export type CheckoutEmailUpdateV2Payload = { - __typename?: 'CheckoutEmailUpdateV2Payload' - /** The checkout object with the updated email. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Possible error codes that could be returned by CheckoutUserError. */ -export enum CheckoutErrorCode { - /** Input value is blank. */ - Blank = 'BLANK', - /** Input value is invalid. */ - Invalid = 'INVALID', - /** Input value is too long. */ - TooLong = 'TOO_LONG', - /** Input value is not present. */ - Present = 'PRESENT', - /** Input value should be less than maximum allowed value. */ - LessThan = 'LESS_THAN', - /** Input value should be greater than or equal to minimum allowed value. */ - GreaterThanOrEqualTo = 'GREATER_THAN_OR_EQUAL_TO', - /** Input value should be less or equal to maximum allowed value. */ - LessThanOrEqualTo = 'LESS_THAN_OR_EQUAL_TO', - /** Checkout is already completed. */ - AlreadyCompleted = 'ALREADY_COMPLETED', - /** Checkout is locked. */ - Locked = 'LOCKED', - /** Input value is not supported. */ - NotSupported = 'NOT_SUPPORTED', - /** Input email contains an invalid domain name. */ - BadDomain = 'BAD_DOMAIN', - /** Input Zip is invalid for country provided. */ - InvalidForCountry = 'INVALID_FOR_COUNTRY', - /** Input Zip is invalid for country and province provided. */ - InvalidForCountryAndProvince = 'INVALID_FOR_COUNTRY_AND_PROVINCE', - /** Invalid state in country. */ - InvalidStateInCountry = 'INVALID_STATE_IN_COUNTRY', - /** Invalid province in country. */ - InvalidProvinceInCountry = 'INVALID_PROVINCE_IN_COUNTRY', - /** Invalid region in country. */ - InvalidRegionInCountry = 'INVALID_REGION_IN_COUNTRY', - /** Shipping rate expired. */ - ShippingRateExpired = 'SHIPPING_RATE_EXPIRED', - /** Gift card cannot be applied to a checkout that contains a gift card. */ - GiftCardUnusable = 'GIFT_CARD_UNUSABLE', - /** Gift card is disabled. */ - GiftCardDisabled = 'GIFT_CARD_DISABLED', - /** Gift card code is invalid. */ - GiftCardCodeInvalid = 'GIFT_CARD_CODE_INVALID', - /** Gift card has already been applied. */ - GiftCardAlreadyApplied = 'GIFT_CARD_ALREADY_APPLIED', - /** Gift card currency does not match checkout currency. */ - GiftCardCurrencyMismatch = 'GIFT_CARD_CURRENCY_MISMATCH', - /** Gift card is expired. */ - GiftCardExpired = 'GIFT_CARD_EXPIRED', - /** Gift card has no funds left. */ - GiftCardDepleted = 'GIFT_CARD_DEPLETED', - /** Gift card was not found. */ - GiftCardNotFound = 'GIFT_CARD_NOT_FOUND', - /** Cart does not meet discount requirements notice. */ - CartDoesNotMeetDiscountRequirementsNotice = 'CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE', - /** Discount expired. */ - DiscountExpired = 'DISCOUNT_EXPIRED', - /** Discount disabled. */ - DiscountDisabled = 'DISCOUNT_DISABLED', - /** Discount limit reached. */ - DiscountLimitReached = 'DISCOUNT_LIMIT_REACHED', - /** Discount not found. */ - DiscountNotFound = 'DISCOUNT_NOT_FOUND', - /** Customer already used once per customer discount notice. */ - CustomerAlreadyUsedOncePerCustomerDiscountNotice = 'CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE', - /** Checkout is already completed. */ - Empty = 'EMPTY', - /** Not enough in stock. */ - NotEnoughInStock = 'NOT_ENOUGH_IN_STOCK', - /** Missing payment input. */ - MissingPaymentInput = 'MISSING_PAYMENT_INPUT', - /** The amount of the payment does not match the value to be paid. */ - TotalPriceMismatch = 'TOTAL_PRICE_MISMATCH', - /** Line item was not found in checkout. */ - LineItemNotFound = 'LINE_ITEM_NOT_FOUND', - /** Unable to apply discount. */ - UnableToApply = 'UNABLE_TO_APPLY', - /** Discount already applied. */ - DiscountAlreadyApplied = 'DISCOUNT_ALREADY_APPLIED', -} - -/** Return type for `checkoutGiftCardApply` mutation. */ -export type CheckoutGiftCardApplyPayload = { - __typename?: '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 -} - -/** Return type for `checkoutGiftCardRemove` mutation. */ -export type CheckoutGiftCardRemovePayload = { - __typename?: '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 -} - -/** Return type for `checkoutGiftCardRemoveV2` mutation. */ -export type CheckoutGiftCardRemoveV2Payload = { - __typename?: 'CheckoutGiftCardRemoveV2Payload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutGiftCardsAppend` mutation. */ -export type CheckoutGiftCardsAppendPayload = { - __typename?: 'CheckoutGiftCardsAppendPayload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** A single line item in the checkout, grouped by variant and attributes. */ -export type CheckoutLineItem = Node & { - __typename?: 'CheckoutLineItem' - /** Extra information in the form of an array of Key-Value pairs about the line item. */ - customAttributes: Array - /** The discounts that have been allocated onto the checkout line item by discount applications. */ - discountAllocations: Array - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The quantity of the line item. */ - quantity: Scalars['Int'] - /** Title of the line item. Defaults to the product's title. */ - title: Scalars['String'] - /** Unit price of the line item. */ - unitPrice?: Maybe - /** Product variant of the line item. */ - variant?: Maybe -} - -/** An auto-generated type for paginating through multiple CheckoutLineItems. */ -export type CheckoutLineItemConnection = { - __typename?: 'CheckoutLineItemConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one CheckoutLineItem and a cursor during pagination. */ -export type CheckoutLineItemEdge = { - __typename?: 'CheckoutLineItemEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of CheckoutLineItemEdge. */ - node: CheckoutLineItem -} - -/** Specifies the input fields to create a line item on a checkout. */ -export type CheckoutLineItemInput = { - /** Extra information in the form of an array of Key-Value pairs about the line item. */ - customAttributes?: Maybe> - /** The quantity of the line item. */ - quantity: Scalars['Int'] - /** The identifier of the product variant for the line item. */ - variantId: Scalars['ID'] -} - -/** Specifies the input fields to update a line item on the checkout. */ -export type CheckoutLineItemUpdateInput = { - /** The identifier of the line item. */ - id?: Maybe - /** The variant identifier of the line item. */ - variantId?: Maybe - /** The quantity of the line item. */ - quantity?: Maybe - /** Extra information in the form of an array of Key-Value pairs about the line item. */ - customAttributes?: Maybe> -} - -/** Return type for `checkoutLineItemsAdd` mutation. */ -export type CheckoutLineItemsAddPayload = { - __typename?: 'CheckoutLineItemsAddPayload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutLineItemsRemove` mutation. */ -export type CheckoutLineItemsRemovePayload = { - __typename?: 'CheckoutLineItemsRemovePayload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutLineItemsReplace` mutation. */ -export type CheckoutLineItemsReplacePayload = { - __typename?: 'CheckoutLineItemsReplacePayload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - userErrors: Array -} - -/** Return type for `checkoutLineItemsUpdate` mutation. */ -export type CheckoutLineItemsUpdatePayload = { - __typename?: 'CheckoutLineItemsUpdatePayload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutShippingAddressUpdate` mutation. */ -export type CheckoutShippingAddressUpdatePayload = { - __typename?: '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 -} - -/** Return type for `checkoutShippingAddressUpdateV2` mutation. */ -export type CheckoutShippingAddressUpdateV2Payload = { - __typename?: 'CheckoutShippingAddressUpdateV2Payload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `checkoutShippingLineUpdate` mutation. */ -export type CheckoutShippingLineUpdatePayload = { - __typename?: 'CheckoutShippingLineUpdatePayload' - /** The updated checkout object. */ - checkout?: Maybe - /** List of errors that occurred executing the mutation. */ - checkoutUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `checkoutUserErrors` instead - */ - userErrors: Array -} - -/** Represents an error that happens during execution of a checkout mutation. */ -export type CheckoutUserError = DisplayableError & { - __typename?: 'CheckoutUserError' - /** Error code to uniquely identify the error. */ - code?: Maybe - /** Path to the input field which caused the error. */ - field?: Maybe> - /** The error message. */ - message: Scalars['String'] -} - -/** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ -export type Collection = Node & { - __typename?: 'Collection' - /** Stripped description of the collection, single line with HTML tags removed. */ - description: Scalars['String'] - /** The description of the collection, complete with HTML formatting. */ - descriptionHtml: Scalars['HTML'] - /** - * A human-friendly unique string for the collection automatically generated from its title. - * Limit of 255 characters. - */ - handle: Scalars['String'] - /** Globally unique identifier. */ - id: Scalars['ID'] - /** Image associated with the collection. */ - image?: Maybe - /** List of products in the collection. */ - products: ProductConnection - /** The collection’s name. Limit of 255 characters. */ - title: Scalars['String'] - /** The date and time when the collection was last modified. */ - updatedAt: Scalars['DateTime'] -} - -/** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ -export type CollectionDescriptionArgs = { - truncateAt?: Maybe -} - -/** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ -export type CollectionImageArgs = { - maxWidth?: Maybe - maxHeight?: Maybe - crop?: Maybe - scale?: Maybe -} - -/** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */ -export type CollectionProductsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe -} - -/** An auto-generated type for paginating through multiple Collections. */ -export type CollectionConnection = { - __typename?: 'CollectionConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one Collection and a cursor during pagination. */ -export type CollectionEdge = { - __typename?: 'CollectionEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of CollectionEdge. */ - node: Collection -} - -/** The set of valid sort keys for the Collection query. */ -export enum CollectionSortKeys { - /** Sort by the `title` value. */ - Title = 'TITLE', - /** Sort by the `updated_at` value. */ - UpdatedAt = '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', -} - -/** A comment on an article. */ -export type Comment = Node & { - __typename?: 'Comment' - /** The comment’s author. */ - author: CommentAuthor - /** Stripped content of the comment, single line with HTML tags removed. */ - content: Scalars['String'] - /** The content of the comment, complete with HTML formatting. */ - contentHtml: Scalars['HTML'] - /** Globally unique identifier. */ - id: Scalars['ID'] -} - -/** A comment on an article. */ -export type CommentContentArgs = { - truncateAt?: Maybe -} - -/** The author of a comment. */ -export type CommentAuthor = { - __typename?: 'CommentAuthor' - /** The author's email. */ - email: Scalars['String'] - /** The author’s name. */ - name: Scalars['String'] -} - -/** An auto-generated type for paginating through multiple Comments. */ -export type CommentConnection = { - __typename?: 'CommentConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one Comment and a cursor during pagination. */ -export type CommentEdge = { - __typename?: 'CommentEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of CommentEdge. */ - node: Comment -} - -/** ISO 3166-1 alpha-2 country codes with some differences. */ -export enum CountryCode { - /** Afghanistan. */ - Af = 'AF', - /** Åland Islands. */ - Ax = 'AX', - /** Albania. */ - Al = 'AL', - /** Algeria. */ - Dz = 'DZ', - /** Andorra. */ - Ad = 'AD', - /** Angola. */ - Ao = 'AO', - /** Anguilla. */ - Ai = 'AI', - /** Antigua & Barbuda. */ - Ag = 'AG', - /** Argentina. */ - Ar = 'AR', - /** Armenia. */ - Am = 'AM', - /** Aruba. */ - Aw = 'AW', - /** Ascension Island. */ - Ac = 'AC', - /** Australia. */ - Au = 'AU', - /** Austria. */ - At = 'AT', - /** Azerbaijan. */ - Az = 'AZ', - /** Bahamas. */ - Bs = 'BS', - /** Bahrain. */ - Bh = 'BH', - /** Bangladesh. */ - Bd = 'BD', - /** Barbados. */ - Bb = 'BB', - /** Belarus. */ - By = 'BY', - /** Belgium. */ - Be = 'BE', - /** Belize. */ - Bz = 'BZ', - /** Benin. */ - Bj = 'BJ', - /** Bermuda. */ - Bm = 'BM', - /** Bhutan. */ - Bt = 'BT', - /** Bolivia. */ - Bo = 'BO', - /** Bosnia & Herzegovina. */ - Ba = 'BA', - /** Botswana. */ - Bw = 'BW', - /** Bouvet Island. */ - Bv = 'BV', - /** Brazil. */ - Br = 'BR', - /** British Indian Ocean Territory. */ - Io = 'IO', - /** Brunei. */ - Bn = 'BN', - /** Bulgaria. */ - Bg = 'BG', - /** Burkina Faso. */ - Bf = 'BF', - /** Burundi. */ - Bi = 'BI', - /** Cambodia. */ - Kh = 'KH', - /** Canada. */ - Ca = 'CA', - /** Cape Verde. */ - Cv = 'CV', - /** Caribbean Netherlands. */ - Bq = 'BQ', - /** Cayman Islands. */ - Ky = 'KY', - /** Central African Republic. */ - Cf = 'CF', - /** Chad. */ - Td = 'TD', - /** Chile. */ - Cl = 'CL', - /** China. */ - Cn = 'CN', - /** Christmas Island. */ - Cx = 'CX', - /** Cocos (Keeling) Islands. */ - Cc = 'CC', - /** Colombia. */ - Co = 'CO', - /** Comoros. */ - Km = 'KM', - /** Congo - Brazzaville. */ - Cg = 'CG', - /** Congo - Kinshasa. */ - Cd = 'CD', - /** Cook Islands. */ - Ck = 'CK', - /** Costa Rica. */ - Cr = 'CR', - /** Croatia. */ - Hr = 'HR', - /** Cuba. */ - Cu = 'CU', - /** Curaçao. */ - Cw = 'CW', - /** Cyprus. */ - Cy = 'CY', - /** Czechia. */ - Cz = 'CZ', - /** Côte d’Ivoire. */ - Ci = 'CI', - /** Denmark. */ - 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. */ - 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 & McDonald Islands. */ - Hm = 'HM', - /** Vatican City. */ - Va = 'VA', - /** Honduras. */ - Hn = 'HN', - /** Hong Kong SAR. */ - Hk = 'HK', - /** Hungary. */ - Hu = 'HU', - /** Iceland. */ - Is = 'IS', - /** India. */ - In = 'IN', - /** Indonesia. */ - Id = 'ID', - /** Iran. */ - Ir = 'IR', - /** Iraq. */ - Iq = 'IQ', - /** Ireland. */ - Ie = 'IE', - /** Isle of Man. */ - 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', - /** North Korea. */ - Kp = 'KP', - /** Kosovo. */ - Xk = 'XK', - /** Kuwait. */ - Kw = 'KW', - /** Kyrgyzstan. */ - Kg = 'KG', - /** Laos. */ - La = 'LA', - /** Latvia. */ - Lv = 'LV', - /** Lebanon. */ - Lb = 'LB', - /** Lesotho. */ - Ls = 'LS', - /** Liberia. */ - Lr = 'LR', - /** Libya. */ - Ly = 'LY', - /** Liechtenstein. */ - Li = 'LI', - /** Lithuania. */ - Lt = 'LT', - /** Luxembourg. */ - Lu = 'LU', - /** Macao SAR. */ - 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. */ - Md = 'MD', - /** Monaco. */ - Mc = 'MC', - /** Mongolia. */ - Mn = 'MN', - /** Montenegro. */ - Me = 'ME', - /** Montserrat. */ - Ms = 'MS', - /** Morocco. */ - Ma = 'MA', - /** Mozambique. */ - Mz = 'MZ', - /** Myanmar (Burma). */ - 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 Territories. */ - Ps = 'PS', - /** Panama. */ - Pa = 'PA', - /** Papua New Guinea. */ - Pg = 'PG', - /** Paraguay. */ - Py = 'PY', - /** Peru. */ - Pe = 'PE', - /** Philippines. */ - Ph = 'PH', - /** Pitcairn Islands. */ - Pn = 'PN', - /** Poland. */ - Pl = 'PL', - /** Portugal. */ - Pt = 'PT', - /** Qatar. */ - Qa = 'QA', - /** Cameroon. */ - Cm = 'CM', - /** Réunion. */ - Re = 'RE', - /** Romania. */ - Ro = 'RO', - /** Russia. */ - Ru = 'RU', - /** Rwanda. */ - Rw = 'RW', - /** St. Barthélemy. */ - Bl = 'BL', - /** St. Helena. */ - Sh = 'SH', - /** St. Kitts & Nevis. */ - Kn = 'KN', - /** St. Lucia. */ - Lc = 'LC', - /** St. Martin. */ - Mf = 'MF', - /** St. Pierre & Miquelon. */ - Pm = 'PM', - /** Samoa. */ - Ws = 'WS', - /** San Marino. */ - Sm = 'SM', - /** São Tomé & Príncipe. */ - 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 & South Sandwich Islands. */ - Gs = 'GS', - /** South Korea. */ - Kr = 'KR', - /** South Sudan. */ - Ss = 'SS', - /** Spain. */ - Es = 'ES', - /** Sri Lanka. */ - Lk = 'LK', - /** St. Vincent & Grenadines. */ - Vc = 'VC', - /** Sudan. */ - Sd = 'SD', - /** Suriname. */ - Sr = 'SR', - /** Svalbard & Jan Mayen. */ - Sj = 'SJ', - /** Sweden. */ - Se = 'SE', - /** Switzerland. */ - Ch = 'CH', - /** Syria. */ - Sy = 'SY', - /** Taiwan. */ - Tw = 'TW', - /** Tajikistan. */ - Tj = 'TJ', - /** Tanzania. */ - Tz = 'TZ', - /** Thailand. */ - Th = 'TH', - /** Timor-Leste. */ - Tl = 'TL', - /** Togo. */ - Tg = 'TG', - /** Tokelau. */ - Tk = 'TK', - /** Tonga. */ - To = 'TO', - /** Trinidad & Tobago. */ - Tt = 'TT', - /** Tristan da Cunha. */ - Ta = 'TA', - /** Tunisia. */ - Tn = 'TN', - /** Turkey. */ - Tr = 'TR', - /** Turkmenistan. */ - Tm = 'TM', - /** Turks & 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', - /** U.S. Outlying Islands. */ - Um = 'UM', - /** Uruguay. */ - Uy = 'UY', - /** Uzbekistan. */ - Uz = 'UZ', - /** Vanuatu. */ - Vu = 'VU', - /** Venezuela. */ - Ve = 'VE', - /** Vietnam. */ - Vn = 'VN', - /** British Virgin Islands. */ - Vg = 'VG', - /** Wallis & Futuna. */ - Wf = 'WF', - /** Western Sahara. */ - Eh = 'EH', - /** Yemen. */ - Ye = 'YE', - /** Zambia. */ - Zm = 'ZM', - /** Zimbabwe. */ - Zw = 'ZW', -} - -/** Credit card information used for a payment. */ -export type CreditCard = { - __typename?: 'CreditCard' - /** The brand of the credit card. */ - brand?: Maybe - /** The expiry month of the credit card. */ - expiryMonth?: Maybe - /** The expiry year of the credit card. */ - expiryYear?: Maybe - /** The credit card's BIN number. */ - firstDigits?: Maybe - /** The first name of the card holder. */ - firstName?: Maybe - /** The last 4 digits of the credit card. */ - lastDigits?: Maybe - /** The last name of the card holder. */ - lastName?: Maybe - /** The masked credit card number with only the last 4 digits displayed. */ - maskedNumber?: Maybe -} - -/** - * Specifies the fields required to complete a checkout with - * a Shopify vaulted credit card payment. - */ -export type CreditCardPaymentInput = { - /** The amount of the payment. */ - amount: Scalars['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. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). */ - idempotencyKey: Scalars['String'] - /** The billing address for the payment. */ - billingAddress: MailingAddressInput - /** The ID returned by Shopify's Card Vault. */ - vaultId: Scalars['String'] - /** Executes the payment in test mode if possible. Defaults to `false`. */ - test?: Maybe -} - -/** - * Specifies the fields required to complete a checkout with - * a Shopify vaulted credit card payment. - */ -export type 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. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). */ - idempotencyKey: Scalars['String'] - /** The billing address for the payment. */ - billingAddress: MailingAddressInput - /** The ID returned by Shopify's Card Vault. */ - vaultId: Scalars['String'] - /** Executes the payment in test mode if possible. Defaults to `false`. */ - test?: Maybe -} - -/** The part of the image that should remain after cropping. */ -export 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', -} - -/** Currency codes. */ -export 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', - /** Belize Dollar (BZD). */ - Bzd = 'BZD', - /** Bermudian Dollar (BMD). */ - Bmd = 'BMD', - /** Bhutanese Ngultrum (BTN). */ - Btn = 'BTN', - /** Bosnia and Herzegovina Convertible Mark (BAM). */ - Bam = 'BAM', - /** Brazilian Real (BRL). */ - Brl = 'BRL', - /** Bolivian Boliviano (BOB). */ - Bob = 'BOB', - /** Botswana Pula (BWP). */ - Bwp = 'BWP', - /** Brunei Dollar (BND). */ - Bnd = 'BND', - /** Bulgarian Lev (BGN). */ - Bgn = 'BGN', - /** Burmese Kyat (MMK). */ - Mmk = 'MMK', - /** Cambodian Riel. */ - Khr = 'KHR', - /** Cape Verdean escudo (CVE). */ - Cve = 'CVE', - /** Cayman Dollars (KYD). */ - Kyd = 'KYD', - /** Central African CFA Franc (XAF). */ - Xaf = 'XAF', - /** Chilean Peso (CLP). */ - Clp = 'CLP', - /** Chinese Yuan Renminbi (CNY). */ - Cny = 'CNY', - /** Colombian Peso (COP). */ - Cop = 'COP', - /** Comorian Franc (KMF). */ - Kmf = 'KMF', - /** Congolese franc (CDF). */ - Cdf = 'CDF', - /** Costa Rican Colones (CRC). */ - Crc = 'CRC', - /** Croatian Kuna (HRK). */ - Hrk = 'HRK', - /** Czech Koruny (CZK). */ - Czk = 'CZK', - /** Danish Kroner (DKK). */ - Dkk = 'DKK', - /** Dominican Peso (DOP). */ - Dop = 'DOP', - /** East Caribbean Dollar (XCD). */ - Xcd = 'XCD', - /** Egyptian Pound (EGP). */ - Egp = 'EGP', - /** Ethiopian Birr (ETB). */ - Etb = 'ETB', - /** CFP Franc (XPF). */ - Xpf = 'XPF', - /** Fijian Dollars (FJD). */ - Fjd = 'FJD', - /** Gambian Dalasi (GMD). */ - Gmd = 'GMD', - /** Ghanaian Cedi (GHS). */ - Ghs = 'GHS', - /** Guatemalan Quetzal (GTQ). */ - Gtq = 'GTQ', - /** Guyanese Dollar (GYD). */ - Gyd = 'GYD', - /** Georgian Lari (GEL). */ - Gel = 'GEL', - /** Haitian Gourde (HTG). */ - Htg = 'HTG', - /** Honduran Lempira (HNL). */ - Hnl = 'HNL', - /** Hong Kong Dollars (HKD). */ - Hkd = 'HKD', - /** Hungarian Forint (HUF). */ - Huf = 'HUF', - /** Icelandic Kronur (ISK). */ - Isk = 'ISK', - /** Indian Rupees (INR). */ - Inr = 'INR', - /** Indonesian Rupiah (IDR). */ - Idr = 'IDR', - /** Israeli New Shekel (NIS). */ - Ils = 'ILS', - /** Iraqi Dinar (IQD). */ - Iqd = 'IQD', - /** Jamaican Dollars (JMD). */ - Jmd = 'JMD', - /** Japanese Yen (JPY). */ - Jpy = 'JPY', - /** Jersey Pound. */ - Jep = 'JEP', - /** Jordanian Dinar (JOD). */ - Jod = 'JOD', - /** Kazakhstani Tenge (KZT). */ - Kzt = 'KZT', - /** Kenyan Shilling (KES). */ - Kes = 'KES', - /** Kuwaiti Dinar (KWD). */ - Kwd = 'KWD', - /** Kyrgyzstani Som (KGS). */ - Kgs = 'KGS', - /** Laotian Kip (LAK). */ - Lak = 'LAK', - /** Latvian Lati (LVL). */ - Lvl = 'LVL', - /** Lebanese Pounds (LBP). */ - Lbp = 'LBP', - /** Lesotho Loti (LSL). */ - Lsl = 'LSL', - /** Liberian Dollar (LRD). */ - Lrd = 'LRD', - /** Lithuanian Litai (LTL). */ - Ltl = 'LTL', - /** Malagasy Ariary (MGA). */ - Mga = 'MGA', - /** Macedonia Denar (MKD). */ - Mkd = 'MKD', - /** Macanese Pataca (MOP). */ - Mop = 'MOP', - /** Malawian Kwacha (MWK). */ - Mwk = 'MWK', - /** Maldivian Rufiyaa (MVR). */ - Mvr = 'MVR', - /** Mexican Pesos (MXN). */ - Mxn = 'MXN', - /** Malaysian Ringgits (MYR). */ - Myr = 'MYR', - /** Mauritian Rupee (MUR). */ - Mur = 'MUR', - /** Moldovan Leu (MDL). */ - Mdl = 'MDL', - /** Moroccan Dirham. */ - Mad = 'MAD', - /** Mongolian Tugrik. */ - Mnt = 'MNT', - /** Mozambican Metical. */ - Mzn = 'MZN', - /** Namibian Dollar. */ - Nad = 'NAD', - /** Nepalese Rupee (NPR). */ - Npr = 'NPR', - /** Netherlands Antillean Guilder. */ - Ang = 'ANG', - /** New Zealand Dollars (NZD). */ - Nzd = 'NZD', - /** Nicaraguan Córdoba (NIO). */ - Nio = 'NIO', - /** Nigerian Naira (NGN). */ - Ngn = 'NGN', - /** Norwegian Kroner (NOK). */ - Nok = 'NOK', - /** Omani Rial (OMR). */ - Omr = 'OMR', - /** Panamian Balboa (PAB). */ - Pab = 'PAB', - /** Pakistani Rupee (PKR). */ - Pkr = 'PKR', - /** Papua New Guinean Kina (PGK). */ - Pgk = 'PGK', - /** Paraguayan Guarani (PYG). */ - Pyg = 'PYG', - /** Peruvian Nuevo Sol (PEN). */ - Pen = 'PEN', - /** Philippine Peso (PHP). */ - Php = 'PHP', - /** Polish Zlotych (PLN). */ - Pln = 'PLN', - /** Qatari Rial (QAR). */ - Qar = 'QAR', - /** Romanian Lei (RON). */ - Ron = 'RON', - /** Russian Rubles (RUB). */ - Rub = 'RUB', - /** Rwandan Franc (RWF). */ - Rwf = 'RWF', - /** Samoan Tala (WST). */ - Wst = 'WST', - /** Saudi Riyal (SAR). */ - Sar = 'SAR', - /** Sao Tome And Principe Dobra (STD). */ - Std = 'STD', - /** Serbian dinar (RSD). */ - Rsd = 'RSD', - /** Seychellois Rupee (SCR). */ - Scr = 'SCR', - /** Singapore Dollars (SGD). */ - Sgd = 'SGD', - /** Sudanese Pound (SDG). */ - Sdg = 'SDG', - /** Syrian Pound (SYP). */ - Syp = 'SYP', - /** South African Rand (ZAR). */ - Zar = 'ZAR', - /** South Korean Won (KRW). */ - Krw = 'KRW', - /** South Sudanese Pound (SSP). */ - Ssp = 'SSP', - /** Solomon Islands Dollar (SBD). */ - Sbd = 'SBD', - /** Sri Lankan Rupees (LKR). */ - Lkr = 'LKR', - /** Surinamese Dollar (SRD). */ - Srd = 'SRD', - /** Swazi Lilangeni (SZL). */ - Szl = 'SZL', - /** Swedish Kronor (SEK). */ - Sek = 'SEK', - /** Swiss Francs (CHF). */ - Chf = 'CHF', - /** Taiwan Dollars (TWD). */ - Twd = 'TWD', - /** Thai baht (THB). */ - Thb = 'THB', - /** Tanzanian Shilling (TZS). */ - Tzs = 'TZS', - /** Trinidad and Tobago Dollars (TTD). */ - Ttd = 'TTD', - /** Tunisian Dinar (TND). */ - Tnd = 'TND', - /** Turkish Lira (TRY). */ - Try = 'TRY', - /** Turkmenistani Manat (TMT). */ - Tmt = 'TMT', - /** Ugandan Shilling (UGX). */ - Ugx = 'UGX', - /** Ukrainian Hryvnia (UAH). */ - Uah = 'UAH', - /** United Arab Emirates Dirham (AED). */ - Aed = 'AED', - /** Uruguayan Pesos (UYU). */ - Uyu = 'UYU', - /** Uzbekistan som (UZS). */ - Uzs = 'UZS', - /** Vanuatu Vatu (VUV). */ - Vuv = 'VUV', - /** Vietnamese đồng (VND). */ - Vnd = 'VND', - /** West African CFA franc (XOF). */ - Xof = 'XOF', - /** Yemeni Rial (YER). */ - Yer = 'YER', - /** Zambian Kwacha (ZMW). */ - Zmw = 'ZMW', - /** Belarusian Ruble (BYN). */ - Byn = 'BYN', - /** Belarusian Ruble (BYR). */ - Byr = 'BYR', - /** Djiboutian Franc (DJF). */ - Djf = 'DJF', - /** Eritrean Nakfa (ERN). */ - Ern = 'ERN', - /** Falkland Islands Pounds (FKP). */ - Fkp = 'FKP', - /** Gibraltar Pounds (GIP). */ - Gip = 'GIP', - /** Guinean Franc (GNF). */ - Gnf = 'GNF', - /** Iranian Rial (IRR). */ - Irr = 'IRR', - /** Kiribati Dollar (KID). */ - Kid = 'KID', - /** Libyan Dinar (LYD). */ - Lyd = 'LYD', - /** Mauritanian Ouguiya (MRU). */ - Mru = 'MRU', - /** Sierra Leonean Leone (SLL). */ - Sll = 'SLL', - /** Saint Helena Pounds (SHP). */ - Shp = 'SHP', - /** Somali Shilling (SOS). */ - Sos = 'SOS', - /** Tajikistani Somoni (TJS). */ - Tjs = 'TJS', - /** Tongan Pa'anga (TOP). */ - Top = 'TOP', - /** Venezuelan Bolivares (VEF). */ - Vef = 'VEF', - /** Venezuelan Bolivares (VES). */ - Ves = 'VES', -} - -/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */ -export type Customer = { - __typename?: 'Customer' - /** Indicates whether the customer has consented to be sent marketing material via email. */ - acceptsMarketing: Scalars['Boolean'] - /** A list of addresses for the customer. */ - addresses: MailingAddressConnection - /** The date and time when the customer was created. */ - createdAt: Scalars['DateTime'] - /** The customer’s default address. */ - defaultAddress?: Maybe - /** The customer’s name, email or phone number. */ - displayName: Scalars['String'] - /** The customer’s email address. */ - email?: Maybe - /** The customer’s first name. */ - firstName?: Maybe - /** A unique identifier for the customer. */ - id: Scalars['ID'] - /** The customer's most recently updated, incomplete checkout. */ - lastIncompleteCheckout?: Maybe - /** The customer’s last name. */ - lastName?: Maybe - /** The orders associated with the customer. */ - orders: OrderConnection - /** The customer’s phone number. */ - phone?: Maybe - /** - * A comma separated list of tags that have been added to the customer. - * Additional access scope required: unauthenticated_read_customer_tags. - */ - tags: Array - /** The date and time when the customer information was updated. */ - updatedAt: Scalars['DateTime'] -} - -/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */ -export type CustomerAddressesArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */ -export type CustomerOrdersArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** A CustomerAccessToken represents the unique token required to make modifications to the customer object. */ -export type CustomerAccessToken = { - __typename?: 'CustomerAccessToken' - /** The customer’s access token. */ - accessToken: Scalars['String'] - /** The date and time when the customer access token expires. */ - expiresAt: Scalars['DateTime'] -} - -/** Specifies the input fields required to create a customer access token. */ -export type CustomerAccessTokenCreateInput = { - /** The email associated to the customer. */ - email: Scalars['String'] - /** The login password to be used by the customer. */ - password: Scalars['String'] -} - -/** Return type for `customerAccessTokenCreate` mutation. */ -export type CustomerAccessTokenCreatePayload = { - __typename?: 'CustomerAccessTokenCreatePayload' - /** The newly created customer access token object. */ - customerAccessToken?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `customerAccessTokenCreateWithMultipass` mutation. */ -export type CustomerAccessTokenCreateWithMultipassPayload = { - __typename?: 'CustomerAccessTokenCreateWithMultipassPayload' - /** An access token object associated with the customer. */ - customerAccessToken?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array -} - -/** Return type for `customerAccessTokenDelete` mutation. */ -export type CustomerAccessTokenDeletePayload = { - __typename?: 'CustomerAccessTokenDeletePayload' - /** The destroyed access token. */ - deletedAccessToken?: Maybe - /** ID of the destroyed customer access token. */ - deletedCustomerAccessTokenId?: Maybe - /** List of errors that occurred executing the mutation. */ - userErrors: Array -} - -/** Return type for `customerAccessTokenRenew` mutation. */ -export type CustomerAccessTokenRenewPayload = { - __typename?: 'CustomerAccessTokenRenewPayload' - /** The renewed customer access token object. */ - customerAccessToken?: Maybe - /** List of errors that occurred executing the mutation. */ - userErrors: Array -} - -/** Return type for `customerActivateByUrl` mutation. */ -export type CustomerActivateByUrlPayload = { - __typename?: 'CustomerActivateByUrlPayload' - /** The customer that was activated. */ - customer?: Maybe - /** A new customer access token for the customer. */ - customerAccessToken?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array -} - -/** Specifies the input fields required to activate a customer. */ -export type CustomerActivateInput = { - /** The activation token required to activate the customer. */ - activationToken: Scalars['String'] - /** New password that will be set during activation. */ - password: Scalars['String'] -} - -/** Return type for `customerActivate` mutation. */ -export type CustomerActivatePayload = { - __typename?: 'CustomerActivatePayload' - /** The customer object. */ - customer?: Maybe - /** A newly created customer access token object for the customer. */ - customerAccessToken?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `customerAddressCreate` mutation. */ -export type CustomerAddressCreatePayload = { - __typename?: 'CustomerAddressCreatePayload' - /** The new customer address object. */ - customerAddress?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `customerAddressDelete` mutation. */ -export type CustomerAddressDeletePayload = { - __typename?: 'CustomerAddressDeletePayload' - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** ID of the deleted customer address. */ - deletedCustomerAddressId?: Maybe - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `customerAddressUpdate` mutation. */ -export type CustomerAddressUpdatePayload = { - __typename?: 'CustomerAddressUpdatePayload' - /** The customer’s updated mailing address. */ - customerAddress?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Specifies the fields required to create a new customer. */ -export type CustomerCreateInput = { - /** The customer’s first name. */ - firstName?: Maybe - /** The customer’s last name. */ - lastName?: Maybe - /** The customer’s email. */ - email: Scalars['String'] - /** - * A unique phone number for the customer. - * - * Formatted using E.164 standard. For example, _+16135551111_. - */ - phone?: Maybe - /** The login password used by the customer. */ - password: Scalars['String'] - /** Indicates whether the customer has consented to be sent marketing material via email. */ - acceptsMarketing?: Maybe -} - -/** Return type for `customerCreate` mutation. */ -export type CustomerCreatePayload = { - __typename?: 'CustomerCreatePayload' - /** The created customer object. */ - customer?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Return type for `customerDefaultAddressUpdate` mutation. */ -export type CustomerDefaultAddressUpdatePayload = { - __typename?: 'CustomerDefaultAddressUpdatePayload' - /** The updated customer object. */ - customer?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Possible error codes that could be returned by CustomerUserError. */ -export 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. */ - TooLong = 'TOO_LONG', - /** Input value is too short. */ - TooShort = 'TOO_SHORT', - /** Unidentified customer. */ - UnidentifiedCustomer = 'UNIDENTIFIED_CUSTOMER', - /** Customer is disabled. */ - CustomerDisabled = 'CUSTOMER_DISABLED', - /** Input password starts or ends with whitespace. */ - PasswordStartsOrEndsWithWhitespace = 'PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE', - /** Input contains HTML tags. */ - ContainsHtmlTags = 'CONTAINS_HTML_TAGS', - /** Input contains URL. */ - ContainsUrl = 'CONTAINS_URL', - /** Invalid activation token. */ - TokenInvalid = 'TOKEN_INVALID', - /** Customer already enabled. */ - AlreadyEnabled = 'ALREADY_ENABLED', - /** Address does not exist. */ - NotFound = 'NOT_FOUND', - /** Input email contains an invalid domain name. */ - BadDomain = 'BAD_DOMAIN', - /** Multipass token is not valid. */ - InvalidMultipassRequest = 'INVALID_MULTIPASS_REQUEST', -} - -/** Return type for `customerRecover` mutation. */ -export type CustomerRecoverPayload = { - __typename?: '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 -} - -/** Return type for `customerResetByUrl` mutation. */ -export type CustomerResetByUrlPayload = { - __typename?: 'CustomerResetByUrlPayload' - /** The customer object which was reset. */ - customer?: Maybe - /** A newly created customer access token object for the customer. */ - customerAccessToken?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Specifies the fields required to reset a customer’s password. */ -export type CustomerResetInput = { - /** The reset token required to reset the customer’s password. */ - resetToken: Scalars['String'] - /** New password that will be set as part of the reset password process. */ - password: Scalars['String'] -} - -/** Return type for `customerReset` mutation. */ -export type CustomerResetPayload = { - __typename?: 'CustomerResetPayload' - /** The customer object which was reset. */ - customer?: Maybe - /** A newly created customer access token object for the customer. */ - customerAccessToken?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Specifies the fields required to update the Customer information. */ -export type CustomerUpdateInput = { - /** The customer’s first name. */ - firstName?: Maybe - /** The customer’s last name. */ - lastName?: Maybe - /** The customer’s email. */ - email?: Maybe - /** - * A unique phone number for the customer. - * - * Formatted using E.164 standard. For example, _+16135551111_. To remove the phone number, specify `null`. - */ - phone?: Maybe - /** The login password used by the customer. */ - password?: Maybe - /** Indicates whether the customer has consented to be sent marketing material via email. */ - acceptsMarketing?: Maybe -} - -/** Return type for `customerUpdate` mutation. */ -export type CustomerUpdatePayload = { - __typename?: 'CustomerUpdatePayload' - /** The updated customer object. */ - customer?: Maybe - /** - * The newly created customer access token. If the customer's password is updated, all previous access tokens - * (including the one used to perform this mutation) become invalid, and a new token is generated. - */ - customerAccessToken?: Maybe - /** List of errors that occurred executing the mutation. */ - customerUserErrors: Array - /** - * List of errors that occurred executing the mutation. - * @deprecated Use `customerUserErrors` instead - */ - userErrors: Array -} - -/** Represents an error that happens during execution of a customer mutation. */ -export type CustomerUserError = DisplayableError & { - __typename?: 'CustomerUserError' - /** Error code to uniquely identify the error. */ - code?: Maybe - /** Path to the input field which caused the error. */ - field?: Maybe> - /** The error message. */ - message: Scalars['String'] -} - -/** Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. */ -export enum DigitalWallet { - /** Apple Pay. */ - ApplePay = 'APPLE_PAY', - /** Android Pay. */ - AndroidPay = 'ANDROID_PAY', - /** Google Pay. */ - GooglePay = 'GOOGLE_PAY', - /** Shopify Pay. */ - ShopifyPay = 'SHOPIFY_PAY', -} - -/** An amount discounting the line that has been allocated by a discount. */ -export type DiscountAllocation = { - __typename?: 'DiscountAllocation' - /** Amount of discount allocated. */ - allocatedAmount: MoneyV2 - /** The discount this allocated amount originated from. */ - discountApplication: DiscountApplication -} - -/** - * Discount applications capture the intentions of a discount source at - * the time of application. - */ -export type DiscountApplication = { - /** The method by which the discount's value is allocated to its entitled items. */ - allocationMethod: DiscountApplicationAllocationMethod - /** Which lines of targetType that the discount is allocated over. */ - targetSelection: DiscountApplicationTargetSelection - /** The type of line that the discount is applicable towards. */ - targetType: DiscountApplicationTargetType - /** The value of the discount application. */ - value: PricingValue -} - -/** The method by which the discount's value is allocated onto its entitled lines. */ -export enum DiscountApplicationAllocationMethod { - /** The value is spread across all entitled lines. */ - Across = 'ACROSS', - /** The value is applied onto every entitled line. */ - Each = 'EACH', - /** The value is specifically applied onto a particular line. */ - One = 'ONE', -} - -/** An auto-generated type for paginating through multiple DiscountApplications. */ -export type DiscountApplicationConnection = { - __typename?: 'DiscountApplicationConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one DiscountApplication and a cursor during pagination. */ -export type DiscountApplicationEdge = { - __typename?: 'DiscountApplicationEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of DiscountApplicationEdge. */ - node: DiscountApplication -} - -/** - * Which lines on the order that the discount is allocated over, of the type - * defined by the Discount Application's target_type. - */ -export 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 enum DiscountApplicationTargetType { - /** The discount applies onto line items. */ - LineItem = 'LINE_ITEM', - /** The discount applies onto shipping lines. */ - ShippingLine = 'SHIPPING_LINE', -} - -/** - * Discount code applications capture the intentions of a discount code at - * the time that it is applied. - */ -export type DiscountCodeApplication = DiscountApplication & { - __typename?: 'DiscountCodeApplication' - /** The method by which the discount's value is allocated to its entitled items. */ - allocationMethod: DiscountApplicationAllocationMethod - /** Specifies whether the discount code was applied successfully. */ - applicable: Scalars['Boolean'] - /** The string identifying the discount code that was used at the time of application. */ - code: Scalars['String'] - /** Which lines of targetType that the discount is allocated over. */ - targetSelection: DiscountApplicationTargetSelection - /** The type of line that the discount is applicable towards. */ - targetType: DiscountApplicationTargetType - /** The value of the discount application. */ - value: PricingValue -} - -/** Represents an error in the input of a mutation. */ -export type DisplayableError = { - /** Path to the input field which caused the error. */ - field?: Maybe> - /** The error message. */ - message: Scalars['String'] -} - -/** Represents a web address. */ -export type Domain = { - __typename?: 'Domain' - /** The host name of the domain (eg: `example.com`). */ - host: Scalars['String'] - /** Whether SSL is enabled or not. */ - sslEnabled: Scalars['Boolean'] - /** The URL of the domain (eg: `https://example.com`). */ - url: Scalars['URL'] -} - -/** Represents a video hosted outside of Shopify. */ -export type ExternalVideo = Node & - Media & { - __typename?: 'ExternalVideo' - /** A word or phrase to share the nature or contents of a media. */ - alt?: Maybe - /** The URL. */ - embeddedUrl: Scalars['URL'] - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The media content type. */ - mediaContentType: MediaContentType - /** The preview image for the media. */ - previewImage?: Maybe - } - -/** Represents a single fulfillment in an order. */ -export type Fulfillment = { - __typename?: 'Fulfillment' - /** List of the fulfillment's line items. */ - fulfillmentLineItems: FulfillmentLineItemConnection - /** The name of the tracking company. */ - trackingCompany?: Maybe - /** - * Tracking information associated with the fulfillment, - * such as the tracking number and tracking URL. - */ - trackingInfo: Array -} - -/** Represents a single fulfillment in an order. */ -export type FulfillmentFulfillmentLineItemsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** Represents a single fulfillment in an order. */ -export type FulfillmentTrackingInfoArgs = { - first?: Maybe -} - -/** Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item. */ -export type FulfillmentLineItem = { - __typename?: 'FulfillmentLineItem' - /** The associated order's line item. */ - lineItem: OrderLineItem - /** The amount fulfilled in this fulfillment. */ - quantity: Scalars['Int'] -} - -/** An auto-generated type for paginating through multiple FulfillmentLineItems. */ -export type FulfillmentLineItemConnection = { - __typename?: 'FulfillmentLineItemConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination. */ -export type FulfillmentLineItemEdge = { - __typename?: 'FulfillmentLineItemEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of FulfillmentLineItemEdge. */ - node: FulfillmentLineItem -} - -/** Tracking information associated with the fulfillment. */ -export type FulfillmentTrackingInfo = { - __typename?: 'FulfillmentTrackingInfo' - /** The tracking number of the fulfillment. */ - number?: Maybe - /** The URL to track the fulfillment. */ - url?: Maybe -} - -/** Represents information about the metafields associated to the specified resource. */ -export type HasMetafields = { - /** The metafield associated with the resource. */ - metafield?: Maybe - /** A paginated list of metafields associated with the resource. */ - metafields: MetafieldConnection -} - -/** Represents information about the metafields associated to the specified resource. */ -export type HasMetafieldsMetafieldArgs = { - namespace: Scalars['String'] - key: Scalars['String'] -} - -/** Represents information about the metafields associated to the specified resource. */ -export type HasMetafieldsMetafieldsArgs = { - namespace?: Maybe - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** Represents an image resource. */ -export type Image = { - __typename?: 'Image' - /** A word or phrase to share the nature or contents of an image. */ - altText?: Maybe - /** The original height of the image in pixels. Returns `null` if the image is not hosted by Shopify. */ +/** Avatars are profile images for users. WordPress by default uses the Gravatar service to host and fetch avatars from. */ +export type Avatar = { + __typename?: 'Avatar' + /** URL for the default image or a default type. Accepts '404' (return a 404 instead of a default image), 'retro' (8bit), 'monsterid' (monster), 'wavatar' (cartoon face), 'indenticon' (the 'quilt'), 'mystery', 'mm', or 'mysteryman' (The Oyster Man), 'blank' (transparent GIF), or 'gravatar_default' (the Gravatar logo). */ + default?: Maybe + /** HTML attributes to insert in the IMG element. Is not sanitized. */ + extraAttr?: Maybe + /** Whether to always show the default image, never the Gravatar. */ + forceDefault?: Maybe + /** Whether the avatar was successfully found. */ + foundAvatar?: Maybe + /** Height of the avatar image. */ height?: Maybe - /** A unique identifier for the image. */ - id?: Maybe - /** - * The location of the original image as a URL. - * - * If there are any existing transformations in the original source URL, they will remain and not be stripped. - */ - originalSrc: Scalars['URL'] - /** - * 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) - * } - * } - * } - * } - * } - * ``` - * - */ - src: Scalars['URL'] - /** - * The location of the transformed image as a URL. - * - * All transformation arguments are considered "best-effort". If they can be applied to an image, they will be. - * Otherwise any transformations which an image type does not support will be ignored. - */ - transformedSrc: Scalars['URL'] - /** The original width of the image in pixels. Returns `null` if the image is not hosted by Shopify. */ + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. */ + rating?: Maybe + /** Type of url scheme to use. Typically HTTP vs. HTTPS. */ + scheme?: Maybe + /** The size of the avatar in pixels. A value of 96 will match a 96px x 96px gravatar image. */ + size?: Maybe + /** URL for the gravatar image source. */ + url?: Maybe + /** Width of the avatar image. */ width?: Maybe } -/** Represents an image resource. */ -export type ImageTransformedSrcArgs = { - maxWidth?: Maybe - maxHeight?: Maybe - crop?: Maybe - scale?: Maybe - preferredContentType?: Maybe +/** What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. Default is the value of the 'avatar_rating' option */ +export enum AvatarRatingEnum { + /** Indicates a G level avatar rating level. */ + G = 'G', + /** Indicates a PG level avatar rating level. */ + Pg = 'PG', + /** Indicates an R level avatar rating level. */ + R = 'R', + /** Indicates an X level avatar rating level. */ + X = 'X', } -/** An auto-generated type for paginating through multiple Images. */ -export type ImageConnection = { - __typename?: 'ImageConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo +/** Product backorder enumeration */ +export enum BackordersEnum { + No = 'NO', + Notify = 'NOTIFY', + Yes = 'YES', } -/** List of supported image content types. */ -export enum ImageContentType { - /** A PNG image. */ - Png = 'PNG', - /** A JPG image. */ - Jpg = 'JPG', - /** A WEBP image. */ - Webp = 'WEBP', +/** The cart object */ +export type Cart = { + __typename?: 'Cart' + /** Coupons applied to the cart */ + appliedCoupons?: Maybe>> + /** Available shipping methods for this order. */ + availableShippingMethods?: Maybe>> + /** Shipping method chosen for this order. */ + chosenShippingMethods?: Maybe>> + /** Connection between the Cart type and the CartItem type */ + contents?: Maybe + /** Cart contents tax */ + contentsTax?: Maybe + /** Cart contents total */ + contentsTotal?: Maybe + /** Cart discount tax */ + discountTax?: Maybe + /** Cart discount total */ + discountTotal?: Maybe + /** Do display prices include taxes */ + displayPricesIncludeTax?: Maybe + /** Cart fee tax */ + feeTax?: Maybe + /** Cart fee total */ + feeTotal?: Maybe + /** Additional fees on the cart. */ + fees?: Maybe>> + /** Is cart empty */ + isEmpty?: Maybe + /** Is customer shipping address needed */ + needsShippingAddress?: Maybe + /** Cart shipping tax */ + shippingTax?: Maybe + /** Cart shipping total */ + shippingTotal?: Maybe + /** Cart subtotal */ + subtotal?: Maybe + /** Cart subtotal tax */ + subtotalTax?: Maybe + /** Cart total after calculation */ + total?: Maybe + /** Cart total tax amount */ + totalTax?: Maybe + /** Cart total taxes itemized */ + totalTaxes?: Maybe>> } -/** An auto-generated type which holds one Image and a cursor during pagination. */ -export type ImageEdge = { - __typename?: 'ImageEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of ImageEdge. */ - node: Image +/** The cart object */ +export type CartContentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe } -/** Represents a mailing address for customers and shipping. */ -export type MailingAddress = Node & { - __typename?: 'MailingAddress' - /** The first line of the address. Typically the street address or PO Box number. */ - address1?: Maybe - /** The second line of the address. Typically the number of the apartment, suite, or unit. */ - address2?: Maybe - /** The name of the city, district, village, or town. */ - city?: Maybe - /** The name of the customer's company or organization. */ - company?: Maybe - /** The name of the country. */ - country?: Maybe - /** - * The two-letter code for the country of the address. - * - * For example, US. - * @deprecated Use `countryCodeV2` instead - */ - countryCode?: Maybe - /** - * The two-letter code for the country of the address. - * - * For example, US. - */ - countryCodeV2?: Maybe - /** The first name of the customer. */ - firstName?: Maybe - /** A formatted version of the address, customized by the provided arguments. */ - formatted: Array - /** A comma-separated list of the values for city, province, and country. */ - formattedArea?: Maybe - /** Globally unique identifier. */ +/** An error that occurred when updating the cart */ +export type CartError = { + /** Reason for error */ + reasons?: Maybe>> + /** Type of error */ + type: CartErrorType +} + +/** Cart error type enumeration */ +export enum CartErrorType { + InvalidCartItem = 'INVALID_CART_ITEM', + InvalidCoupon = 'INVALID_COUPON', + InvalidShippingMethod = 'INVALID_SHIPPING_METHOD', +} + +/** An additional fee */ +export type CartFee = { + __typename?: 'CartFee' + /** Fee amount */ + amount?: Maybe + /** Fee ID */ id: Scalars['ID'] - /** The last name of the customer. */ - lastName?: Maybe - /** The latitude coordinate of the customer address. */ - latitude?: Maybe - /** The longitude coordinate of the customer address. */ - longitude?: Maybe - /** The full name of the customer, based on firstName and lastName. */ - name?: Maybe - /** - * A unique phone number for the customer. - * - * Formatted using E.164 standard. For example, _+16135551111_. - */ - phone?: Maybe - /** The region of the address, such as the province, state, or district. */ - province?: Maybe - /** - * The two-letter code for the region. - * - * For example, ON. - */ - provinceCode?: Maybe - /** The zip or postal code of the address. */ - zip?: Maybe -} - -/** Represents a mailing address for customers and shipping. */ -export type MailingAddressFormattedArgs = { - withName?: Maybe - withCompany?: Maybe -} - -/** An auto-generated type for paginating through multiple MailingAddresses. */ -export type MailingAddressConnection = { - __typename?: 'MailingAddressConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one MailingAddress and a cursor during pagination. */ -export type MailingAddressEdge = { - __typename?: 'MailingAddressEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of MailingAddressEdge. */ - node: MailingAddress -} - -/** Specifies the fields accepted to create or update a mailing address. */ -export type MailingAddressInput = { - /** The first line of the address. Typically the street address or PO Box number. */ - address1?: Maybe - /** The second line of the address. Typically the number of the apartment, suite, or unit. */ - address2?: Maybe - /** The name of the city, district, village, or town. */ - city?: Maybe - /** The name of the customer's company or organization. */ - company?: Maybe - /** The name of the country. */ - country?: Maybe - /** The first name of the customer. */ - firstName?: Maybe - /** The last name of the customer. */ - lastName?: Maybe - /** - * A unique phone number for the customer. - * - * Formatted using E.164 standard. For example, _+16135551111_. - */ - phone?: Maybe - /** The region of the address, such as the province, state, or district. */ - province?: Maybe - /** The zip or postal code of the address. */ - zip?: Maybe -} - -/** Manual discount applications capture the intentions of a discount that was manually created. */ -export type ManualDiscountApplication = DiscountApplication & { - __typename?: 'ManualDiscountApplication' - /** The method by which the discount's value is allocated to its entitled items. */ - allocationMethod: DiscountApplicationAllocationMethod - /** The description of the application. */ - description?: Maybe - /** Which lines of targetType that the discount is allocated over. */ - targetSelection: DiscountApplicationTargetSelection - /** The type of line that the discount is applicable towards. */ - targetType: DiscountApplicationTargetType - /** The title of the application. */ - title: Scalars['String'] - /** The value of the discount application. */ - value: PricingValue -} - -/** Represents a media interface. */ -export type Media = { - /** A word or phrase to share the nature or contents of a media. */ - alt?: Maybe - /** The media content type. */ - mediaContentType: MediaContentType - /** The preview image for the media. */ - previewImage?: Maybe -} - -/** An auto-generated type for paginating through multiple Media. */ -export type MediaConnection = { - __typename?: 'MediaConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** The possible content types for a media object. */ -export enum MediaContentType { - /** An externally hosted video. */ - ExternalVideo = 'EXTERNAL_VIDEO', - /** A Shopify hosted image. */ - Image = 'IMAGE', - /** A 3d model. */ - Model_3D = 'MODEL_3D', - /** A Shopify hosted video. */ - Video = 'VIDEO', -} - -/** An auto-generated type which holds one Media and a cursor during pagination. */ -export type MediaEdge = { - __typename?: 'MediaEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of MediaEdge. */ - node: Media -} - -/** Represents a Shopify hosted image. */ -export type MediaImage = Node & - Media & { - __typename?: 'MediaImage' - /** A word or phrase to share the nature or contents of a media. */ - alt?: Maybe - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The image for the media. */ - image?: Maybe - /** The media content type. */ - mediaContentType: MediaContentType - /** The preview image for the media. */ - previewImage?: Maybe - } - -/** - * Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are - * comprised of keys, values, and value types. - */ -export type Metafield = Node & { - __typename?: 'Metafield' - /** The date and time when the storefront metafield was created. */ - createdAt: Scalars['DateTime'] - /** The description of a metafield. */ - description?: Maybe - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The key name for a metafield. */ - key: Scalars['String'] - /** The namespace for a metafield. */ - namespace: Scalars['String'] - /** The parent object that the metafield belongs to. */ - parentResource: MetafieldParentResource - /** The date and time when the storefront metafield was updated. */ - updatedAt: Scalars['DateTime'] - /** The value of a metafield. */ - value: Scalars['String'] - /** Represents the metafield value type. */ - valueType: MetafieldValueType -} - -/** An auto-generated type for paginating through multiple Metafields. */ -export type MetafieldConnection = { - __typename?: 'MetafieldConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one Metafield and a cursor during pagination. */ -export type MetafieldEdge = { - __typename?: 'MetafieldEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of MetafieldEdge. */ - node: Metafield -} - -/** A resource that the metafield belongs to. */ -export type MetafieldParentResource = Product | ProductVariant - -/** Metafield value types. */ -export enum MetafieldValueType { - /** A string metafield. */ - String = 'STRING', - /** An integer metafield. */ - Integer = 'INTEGER', - /** A json string metafield. */ - JsonString = 'JSON_STRING', -} - -/** Represents a Shopify hosted 3D model. */ -export type Model3d = Node & - Media & { - __typename?: 'Model3d' - /** A word or phrase to share the nature or contents of a media. */ - alt?: Maybe - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The media content type. */ - mediaContentType: MediaContentType - /** The preview image for the media. */ - previewImage?: Maybe - /** The sources for a 3d model. */ - sources: Array - } - -/** Represents a source for a Shopify hosted 3d model. */ -export type Model3dSource = { - __typename?: 'Model3dSource' - /** The filesize of the 3d model. */ - filesize: Scalars['Int'] - /** The format of the 3d model. */ - format: Scalars['String'] - /** The MIME type of the 3d model. */ - mimeType: Scalars['String'] - /** The URL of the 3d model. */ - url: Scalars['String'] -} - -/** Specifies the fields for a monetary value with currency. */ -export type MoneyInput = { - /** Decimal money amount. */ - amount: Scalars['Decimal'] - /** Currency of the money. */ - currencyCode: CurrencyCode -} - -/** - * 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 type MoneyV2 = { - __typename?: 'MoneyV2' - /** Decimal money amount. */ - amount: Scalars['Decimal'] - /** Currency of the money. */ - currencyCode: CurrencyCode -} - -/** An auto-generated type for paginating through multiple MoneyV2s. */ -export type MoneyV2Connection = { - __typename?: 'MoneyV2Connection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one MoneyV2 and a cursor during pagination. */ -export type MoneyV2Edge = { - __typename?: 'MoneyV2Edge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of MoneyV2Edge. */ - node: MoneyV2 -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type Mutation = { - __typename?: 'Mutation' - /** - * Updates the attributes of a checkout. - * @deprecated Use `checkoutAttributesUpdateV2` instead - */ - checkoutAttributesUpdate?: Maybe - /** Updates the attributes of a checkout. */ - checkoutAttributesUpdateV2?: Maybe - /** Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card. */ - checkoutCompleteFree?: Maybe - /** - * Completes a checkout using a credit card token from Shopify's Vault. - * @deprecated Use `checkoutCompleteWithCreditCardV2` instead - */ - checkoutCompleteWithCreditCard?: Maybe - /** Completes a checkout using a credit card token from Shopify's card vault. Before you can complete checkouts using CheckoutCompleteWithCreditCardV2, you need to [_request payment processing_](https://help.shopify.com/api/guides/sales-channel-sdk/getting-started#request-payment-processing). */ - checkoutCompleteWithCreditCardV2?: Maybe - /** - * Completes a checkout with a tokenized payment. - * @deprecated Use `checkoutCompleteWithTokenizedPaymentV2` instead - */ - checkoutCompleteWithTokenizedPayment?: Maybe - /** - * Completes a checkout with a tokenized payment. - * @deprecated Use `checkoutCompleteWithTokenizedPaymentV3` instead - */ - checkoutCompleteWithTokenizedPaymentV2?: Maybe - /** Completes a checkout with a tokenized payment. */ - checkoutCompleteWithTokenizedPaymentV3?: Maybe - /** Creates a new checkout. */ - checkoutCreate?: Maybe - /** - * Associates a customer to the checkout. - * @deprecated Use `checkoutCustomerAssociateV2` instead - */ - checkoutCustomerAssociate?: Maybe - /** Associates a customer to the checkout. */ - checkoutCustomerAssociateV2?: Maybe - /** - * Disassociates the current checkout customer from the checkout. - * @deprecated Use `checkoutCustomerDisassociateV2` instead - */ - checkoutCustomerDisassociate?: Maybe - /** Disassociates the current checkout customer from the checkout. */ - checkoutCustomerDisassociateV2?: Maybe - /** - * Applies a discount to an existing checkout using a discount code. - * @deprecated Use `checkoutDiscountCodeApplyV2` instead - */ - checkoutDiscountCodeApply?: Maybe - /** Applies a discount to an existing checkout using a discount code. */ - checkoutDiscountCodeApplyV2?: Maybe - /** Removes the applied discount from an existing checkout. */ - checkoutDiscountCodeRemove?: Maybe - /** - * Updates the email on an existing checkout. - * @deprecated Use `checkoutEmailUpdateV2` instead - */ - checkoutEmailUpdate?: Maybe - /** Updates the email on an existing checkout. */ - checkoutEmailUpdateV2?: Maybe - /** - * 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?: Maybe - /** - * Removes an applied gift card from the checkout. - * @deprecated Use `checkoutGiftCardRemoveV2` instead - */ - checkoutGiftCardRemove?: Maybe - /** Removes an applied gift card from the checkout. */ - checkoutGiftCardRemoveV2?: Maybe - /** Appends gift cards to an existing checkout. */ - checkoutGiftCardsAppend?: Maybe - /** Adds a list of line items to a checkout. */ - checkoutLineItemsAdd?: Maybe - /** Removes line items from an existing checkout. */ - checkoutLineItemsRemove?: Maybe - /** Sets a list of line items to a checkout. */ - checkoutLineItemsReplace?: Maybe - /** Updates line items on a checkout. */ - checkoutLineItemsUpdate?: Maybe - /** - * Updates the shipping address of an existing checkout. - * @deprecated Use `checkoutShippingAddressUpdateV2` instead - */ - checkoutShippingAddressUpdate?: Maybe - /** Updates the shipping address of an existing checkout. */ - checkoutShippingAddressUpdateV2?: Maybe - /** Updates the shipping lines on an existing checkout. */ - checkoutShippingLineUpdate?: Maybe - /** - * Creates a customer access token. - * The customer access token is required to modify the customer object in any way. - */ - customerAccessTokenCreate?: Maybe - /** - * Creates a customer access token using a multipass token 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?: Maybe - /** Permanently destroys a customer access token. */ - customerAccessTokenDelete?: Maybe - /** - * Renews a customer access token. - * - * Access token renewal must happen *before* a token expires. - * If a token has already expired, a new one should be created instead via `customerAccessTokenCreate`. - */ - customerAccessTokenRenew?: Maybe - /** Activates a customer. */ - customerActivate?: Maybe - /** Activates a customer with the activation url received from `customerCreate`. */ - customerActivateByUrl?: Maybe - /** Creates a new address for a customer. */ - customerAddressCreate?: Maybe - /** Permanently deletes the address of an existing customer. */ - customerAddressDelete?: Maybe - /** Updates the address of an existing customer. */ - customerAddressUpdate?: Maybe - /** Creates a new customer. */ - customerCreate?: Maybe - /** Updates the default address of an existing customer. */ - customerDefaultAddressUpdate?: Maybe - /** Sends a reset password email to the customer, as the first step in the reset password process. */ - customerRecover?: Maybe - /** Resets a customer’s password with a token received from `CustomerRecover`. */ - customerReset?: Maybe - /** Resets a customer’s password with the reset password url received from `CustomerRecover`. */ - customerResetByUrl?: Maybe - /** Updates an existing customer. */ - customerUpdate?: Maybe -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutAttributesUpdateArgs = { - checkoutId: Scalars['ID'] - input: CheckoutAttributesUpdateInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutAttributesUpdateV2Args = { - checkoutId: Scalars['ID'] - input: CheckoutAttributesUpdateV2Input -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCompleteFreeArgs = { - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCompleteWithCreditCardArgs = { - checkoutId: Scalars['ID'] - payment: CreditCardPaymentInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCompleteWithCreditCardV2Args = { - checkoutId: Scalars['ID'] - payment: CreditCardPaymentInputV2 -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCompleteWithTokenizedPaymentArgs = { - checkoutId: Scalars['ID'] - payment: TokenizedPaymentInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCompleteWithTokenizedPaymentV2Args = { - checkoutId: Scalars['ID'] - payment: TokenizedPaymentInputV2 -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCompleteWithTokenizedPaymentV3Args = { - checkoutId: Scalars['ID'] - payment: TokenizedPaymentInputV3 -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCreateArgs = { - input: CheckoutCreateInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCustomerAssociateArgs = { - checkoutId: Scalars['ID'] - customerAccessToken: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCustomerAssociateV2Args = { - checkoutId: Scalars['ID'] - customerAccessToken: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCustomerDisassociateArgs = { - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutCustomerDisassociateV2Args = { - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutDiscountCodeApplyArgs = { - discountCode: Scalars['String'] - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutDiscountCodeApplyV2Args = { - discountCode: Scalars['String'] - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutDiscountCodeRemoveArgs = { - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutEmailUpdateArgs = { - checkoutId: Scalars['ID'] - email: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutEmailUpdateV2Args = { - checkoutId: Scalars['ID'] - email: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutGiftCardApplyArgs = { - giftCardCode: Scalars['String'] - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutGiftCardRemoveArgs = { - appliedGiftCardId: Scalars['ID'] - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutGiftCardRemoveV2Args = { - appliedGiftCardId: Scalars['ID'] - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutGiftCardsAppendArgs = { - giftCardCodes: Array - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutLineItemsAddArgs = { - lineItems: Array - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutLineItemsRemoveArgs = { - checkoutId: Scalars['ID'] - lineItemIds: Array -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutLineItemsReplaceArgs = { - lineItems: Array - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutLineItemsUpdateArgs = { - checkoutId: Scalars['ID'] - lineItems: Array -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutShippingAddressUpdateArgs = { - shippingAddress: MailingAddressInput - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutShippingAddressUpdateV2Args = { - shippingAddress: MailingAddressInput - checkoutId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCheckoutShippingLineUpdateArgs = { - checkoutId: Scalars['ID'] - shippingRateHandle: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerAccessTokenCreateArgs = { - input: CustomerAccessTokenCreateInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerAccessTokenCreateWithMultipassArgs = { - multipassToken: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerAccessTokenDeleteArgs = { - customerAccessToken: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerAccessTokenRenewArgs = { - customerAccessToken: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerActivateArgs = { - id: Scalars['ID'] - input: CustomerActivateInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerActivateByUrlArgs = { - activationUrl: Scalars['URL'] - password: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerAddressCreateArgs = { - customerAccessToken: Scalars['String'] - address: MailingAddressInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerAddressDeleteArgs = { - id: Scalars['ID'] - customerAccessToken: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerAddressUpdateArgs = { - customerAccessToken: Scalars['String'] - id: Scalars['ID'] - address: MailingAddressInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerCreateArgs = { - input: CustomerCreateInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerDefaultAddressUpdateArgs = { - customerAccessToken: Scalars['String'] - addressId: Scalars['ID'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerRecoverArgs = { - email: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerResetArgs = { - id: Scalars['ID'] - input: CustomerResetInput -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerResetByUrlArgs = { - resetUrl: Scalars['URL'] - password: Scalars['String'] -} - -/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */ -export type MutationCustomerUpdateArgs = { - customerAccessToken: Scalars['String'] - customer: CustomerUpdateInput -} - -/** An object with an ID to support global identification. */ -export type Node = { - /** Globally unique identifier. */ - id: Scalars['ID'] -} - -/** 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 type Order = Node & { - __typename?: 'Order' - /** The reason for the order's cancellation. Returns `null` if the order wasn't canceled. */ - cancelReason?: Maybe - /** The date and time when the order was canceled. Returns null if the order wasn't canceled. */ - canceledAt?: Maybe - /** The code of the currency used for the payment. */ - currencyCode: CurrencyCode - /** The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, duties, shipping costs, or shipping discounts. Taxes are not included unless the order is a taxes-included order. */ - currentSubtotalPrice: MoneyV2 - /** The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed. */ - currentTotalPrice: MoneyV2 - /** The total of all taxes applied to the order, excluding taxes for returned line items. */ - currentTotalTax: MoneyV2 - /** The locale code in which this specific order happened. */ - customerLocale?: Maybe - /** The unique URL that the customer can use to access the order. */ - customerUrl?: Maybe - /** Discounts that have been applied on the order. */ - discountApplications: DiscountApplicationConnection - /** Whether the order has had any edits applied or not. */ - edited: Scalars['Boolean'] - /** The customer's email address. */ - email?: Maybe - /** The financial status of the order. */ - financialStatus?: Maybe - /** The fulfillment status for the order. */ - fulfillmentStatus: OrderFulfillmentStatus - /** Globally unique identifier. */ - id: Scalars['ID'] - /** List of the order’s line items. */ - lineItems: OrderLineItemConnection - /** - * Unique identifier for the order that appears on the order. - * For example, _#1000_ or _Store1001. - */ + /** Fee name */ name: Scalars['String'] - /** A unique numeric identifier for the order for use by shop owner and customer. */ - orderNumber: Scalars['Int'] - /** The total price of the order before any applied edits. */ - originalTotalPrice: MoneyV2 - /** The customer's phone number for receiving SMS notifications. */ - phone?: Maybe - /** - * The date and time when the order was imported. - * This value can be set to dates in the past when importing from other systems. - * If no value is provided, it will be auto-generated based on current date and time. - */ - processedAt: Scalars['DateTime'] - /** The address to where the order will be shipped. */ - shippingAddress?: Maybe - /** The discounts that have been allocated onto the shipping line by discount applications. */ - shippingDiscountAllocations: Array - /** The unique URL for the order's status page. */ - statusUrl: Scalars['URL'] - /** - * Price of the order before shipping and taxes. - * @deprecated Use `subtotalPriceV2` instead - */ - subtotalPrice?: Maybe - /** Price of the order before duties, shipping and taxes. */ - subtotalPriceV2?: Maybe - /** List of the order’s successful fulfillments. */ - successfulFulfillments?: Maybe> - /** - * 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: Scalars['Money'] - /** The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive). */ - totalPriceV2: MoneyV2 - /** - * The total amount that has been refunded. - * @deprecated Use `totalRefundedV2` instead - */ - totalRefunded: Scalars['Money'] - /** The total amount that has been refunded. */ - totalRefundedV2: MoneyV2 - /** - * The total cost of shipping. - * @deprecated Use `totalShippingPriceV2` instead - */ - totalShippingPrice: Scalars['Money'] - /** The total cost of shipping. */ - totalShippingPriceV2: MoneyV2 - /** - * The total cost of taxes. - * @deprecated Use `totalTaxV2` instead - */ - totalTax?: Maybe - /** The total cost of taxes. */ - totalTaxV2?: Maybe + /** Fee tax class */ + taxClass?: Maybe + /** Is fee taxable? */ + taxable?: Maybe + /** Fee total */ + total?: Maybe } -/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ -export type OrderDiscountApplicationsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe +/** A item in the cart */ +export type CartItem = { + __typename?: 'CartItem' + /** Object meta data */ + extraData?: Maybe>> + /** CartItem ID */ + key: Scalars['ID'] + /** Connection between the CartItem type and the Product type */ + product?: Maybe + /** Quantity of the product */ + quantity?: Maybe + /** Item's subtotal */ + subtotal?: Maybe + /** Item's subtotal tax */ + subtotalTax?: Maybe + /** Item's tax */ + tax?: Maybe + /** Item's total */ + total?: Maybe + /** Connection between the CartItem type and the ProductVariation type */ + variation?: Maybe } -/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ -export type OrderLineItemsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe +/** A item in the cart */ +export type CartItemExtraDataArgs = { + key?: Maybe + keysIn?: Maybe>> } -/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */ -export type OrderSuccessfulFulfillmentsArgs = { - first?: Maybe +/** Error that occurred when adding an item to the cart. */ +export type CartItemError = CartError & { + __typename?: 'CartItemError' + /** JSON string representation of extra cart item data */ + extraData?: Maybe + /** Cart item product database ID or global ID */ + productId: Scalars['Int'] + /** Cart item quantity */ + quantity?: Maybe + /** Reason for error */ + reasons?: Maybe>> + /** Type of error */ + type: CartErrorType + /** Cart item product variation attributes */ + variation?: Maybe>> + /** Cart item product variation database ID or global ID */ + variationId?: Maybe } -/** Represents the reason for the order's cancellation. */ -export 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', +/** Cart item quantity */ +export type CartItemInput = { + /** JSON string representation of extra cart item data */ + extraData?: Maybe + /** Cart item product database ID or global ID */ + productId: Scalars['Int'] + /** Cart item quantity */ + quantity?: Maybe + /** Cart item product variation attributes */ + variation?: Maybe>> + /** Cart item product variation database ID or global ID */ + variationId?: Maybe } -/** An auto-generated type for paginating through multiple Orders. */ -export type OrderConnection = { - __typename?: 'OrderConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one Order and a cursor during pagination. */ -export type OrderEdge = { - __typename?: 'OrderEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of OrderEdge. */ - node: Order -} - -/** Represents the order's current financial status. */ -export enum OrderFinancialStatus { - /** Displayed as **Pending**. */ - Pending = 'PENDING', - /** Displayed as **Authorized**. */ - Authorized = 'AUTHORIZED', - /** Displayed as **Partially paid**. */ - PartiallyPaid = 'PARTIALLY_PAID', - /** Displayed as **Partially refunded**. */ - PartiallyRefunded = 'PARTIALLY_REFUNDED', - /** Displayed as **Voided**. */ - Voided = 'VOIDED', - /** Displayed as **Paid**. */ - Paid = 'PAID', - /** Displayed as **Refunded**. */ - Refunded = 'REFUNDED', -} - -/** Represents the order's current fulfillment status. */ -export enum OrderFulfillmentStatus { - /** Displayed as **Unfulfilled**. */ - Unfulfilled = 'UNFULFILLED', - /** Displayed as **Partially fulfilled**. */ - PartiallyFulfilled = 'PARTIALLY_FULFILLED', - /** Displayed as **Fulfilled**. */ - Fulfilled = 'FULFILLED', - /** Displayed as **Restocked**. */ - Restocked = 'RESTOCKED', - /** Displayed as **Pending fulfillment**. */ - PendingFulfillment = 'PENDING_FULFILLMENT', - /** Displayed as **Open**. */ - Open = 'OPEN', - /** Displayed as **In progress**. */ - InProgress = 'IN_PROGRESS', - /** Displayed as **Scheduled**. */ - Scheduled = 'SCHEDULED', -} - -/** Represents a single line in an order. There is one line item for each distinct product variant. */ -export type OrderLineItem = { - __typename?: 'OrderLineItem' - /** The number of entries associated to the line item minus the items that have been removed. */ - currentQuantity: Scalars['Int'] - /** List of custom attributes associated to the line item. */ - customAttributes: Array - /** The discounts that have been allocated onto the order line item by discount applications. */ - discountAllocations: Array - /** The total price of the line item, including discounts, and displayed in the presentment currency. */ - discountedTotalPrice: MoneyV2 - /** The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it is displayed in the presentment currency. */ - originalTotalPrice: MoneyV2 - /** The number of products variants associated to the line item. */ +/** Cart item quantity */ +export type CartItemQuantityInput = { + /** Cart item being updated */ + key: Scalars['ID'] + /** Cart item's new quantity */ quantity: Scalars['Int'] - /** The title of the product combined with title of the variant. */ - title: Scalars['String'] - /** The product variant object associated to the line item. */ - variant?: Maybe } -/** An auto-generated type for paginating through multiple OrderLineItems. */ -export type OrderLineItemConnection = { - __typename?: 'OrderLineItemConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo +/** Connection between the CartItem type and the Product type */ +export type CartItemToProductConnectionEdge = { + __typename?: 'CartItemToProductConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe + /** Simple variation attribute data */ + simpleVariations?: Maybe>> } -/** An auto-generated type which holds one OrderLineItem and a cursor during pagination. */ -export type OrderLineItemEdge = { - __typename?: 'OrderLineItemEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of OrderLineItemEdge. */ - node: OrderLineItem +/** Connection between the CartItem type and the ProductVariation type */ +export type CartItemToProductVariationConnectionEdge = { + __typename?: 'CartItemToProductVariationConnectionEdge' + /** Attributes of the variation. */ + attributes?: Maybe>> + /** The node of the connection, without the edges */ + node?: Maybe } -/** The set of valid sort keys for the Order query. */ -export enum OrderSortKeys { - /** Sort by the `processed_at` value. */ - ProcessedAt = 'PROCESSED_AT', - /** Sort by the `total_price` value. */ - TotalPrice = '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', -} - -/** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */ -export type Page = Node & { - __typename?: 'Page' - /** The description of the page, complete with HTML formatting. */ - body: Scalars['HTML'] - /** Summary of the page body. */ - bodySummary: Scalars['String'] - /** The timestamp of the page creation. */ - createdAt: Scalars['DateTime'] - /** A human-friendly unique string for the page automatically generated from its title. */ - handle: Scalars['String'] - /** Globally unique identifier. */ +/** An itemized cart tax item */ +export type CartTax = { + __typename?: 'CartTax' + /** Tax amount */ + amount?: Maybe + /** Tax Rate ID */ id: Scalars['ID'] - /** The page's SEO information. */ - seo?: Maybe - /** The title of the page. */ - title: Scalars['String'] - /** The timestamp of the latest page update. */ - updatedAt: Scalars['DateTime'] - /** The url pointing to the page accessible from the web. */ - url: Scalars['URL'] + /** Is tax compound? */ + isCompound?: Maybe + /** Tax label */ + label: Scalars['String'] } -/** An auto-generated type for paginating through multiple Pages. */ -export type PageConnection = { - __typename?: 'PageConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo +/** Connection between the Cart type and the CartItem type */ +export type CartToCartItemConnection = { + __typename?: 'CartToCartItemConnection' + /** Edges for the CartToCartItemConnection connection */ + edges?: Maybe>> + /** Total number of items in the cart. */ + itemCount?: Maybe + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe + /** Total number of different products in the cart */ + productCount?: Maybe } -/** An auto-generated type which holds one Page and a cursor during pagination. */ -export type PageEdge = { - __typename?: 'PageEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of PageEdge. */ - node: Page +/** An edge in a connection */ +export type CartToCartItemConnectionEdge = { + __typename?: 'CartToCartItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe } -/** Information about pagination in a connection. */ -export type PageInfo = { - __typename?: 'PageInfo' - /** Indicates if there are more pages to fetch. */ - hasNextPage: Scalars['Boolean'] - /** Indicates if there are any pages prior to the current page. */ - hasPreviousPage: Scalars['Boolean'] +/** Arguments for filtering the CartToCartItemConnection connection */ +export type CartToCartItemConnectionWhereArgs = { + /** Limit results to cart items that require shipping */ + needsShipping?: Maybe } -/** The set of valid sort keys for the Page query. */ -export enum PageSortKeys { - /** Sort by the `title` value. */ - Title = 'TITLE', - /** Sort by the `updated_at` value. */ - UpdatedAt = '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', +/** Product catalog visibility enumeration */ +export enum CatalogVisibilityEnum { + Catalog = 'CATALOG', + Hidden = 'HIDDEN', + Search = 'SEARCH', + Visible = 'VISIBLE', } -/** A payment applied to a checkout. */ -export type Payment = Node & { - __typename?: 'Payment' - /** - * The amount of the payment. - * @deprecated Use `amountV2` instead - */ - amount: Scalars['Money'] - /** The amount of the payment. */ - amountV2: MoneyV2 - /** The billing address for the payment. */ - billingAddress?: Maybe - /** The checkout to which the payment belongs. */ - checkout: Checkout - /** The credit card used for the payment in the case of direct payments. */ - creditCard?: Maybe - /** A message describing a processing error during asynchronous processing. */ - errorMessage?: Maybe - /** Globally unique identifier. */ - id: Scalars['ID'] - /** - * A client-side generated token to identify a payment and perform idempotent operations. - * For more information, refer to - * [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). - */ - idempotencyKey?: Maybe - /** The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow. */ - nextActionUrl?: Maybe - /** Whether or not the payment is still processing asynchronously. */ - ready: Scalars['Boolean'] - /** A flag to indicate if the payment is to be done in test mode for gateways that support it. */ - test: Scalars['Boolean'] - /** The actual transaction recorded by Shopify after having processed the payment with the gateway. */ - transaction?: Maybe -} - -/** Settings related to payments. */ -export type PaymentSettings = { - __typename?: 'PaymentSettings' - /** List of the card brands which the shop accepts. */ - acceptedCardBrands: Array - /** The url pointing to the endpoint to vault credit cards. */ - cardVaultUrl: Scalars['URL'] - /** The country where the shop is located. */ - countryCode: CountryCode - /** The three-letter code for the shop's primary currency. */ - currencyCode: CurrencyCode - /** A list of enabled currencies (ISO 4217 format) that the shop accepts. Merchants can enable currencies from their Shopify Payments settings in the Shopify admin. */ - enabledPresentmentCurrencies: Array - /** The shop’s Shopify Payments account id. */ - shopifyPaymentsAccountId?: Maybe - /** List of the digital wallets which the shop supports. */ - supportedDigitalWallets: Array -} - -/** The valid values for the types of payment token. */ -export enum PaymentTokenType { - /** Apple Pay token type. */ - ApplePay = 'APPLE_PAY', - /** Vault payment token type. */ - Vault = 'VAULT', - /** Shopify Pay token type. */ - ShopifyPay = 'SHOPIFY_PAY', - /** Google Pay token type. */ - GooglePay = 'GOOGLE_PAY', -} - -/** The value of the percentage pricing object. */ -export type PricingPercentageValue = { - __typename?: 'PricingPercentageValue' - /** The percentage value of the object. */ - percentage: Scalars['Float'] -} - -/** The price value (fixed or percentage) for a discount application. */ -export type PricingValue = MoneyV2 | PricingPercentageValue - -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type Product = Node & - HasMetafields & { - __typename?: 'Product' - /** Indicates if at least one product variant is available for sale. */ - availableForSale: Scalars['Boolean'] - /** List of collections a product belongs to. */ - collections: CollectionConnection - /** The compare at price of the product across all variants. */ - compareAtPriceRange: ProductPriceRange - /** The date and time when the product was created. */ - createdAt: Scalars['DateTime'] - /** Stripped description of the product, single line with HTML tags removed. */ - description: Scalars['String'] - /** The description of the product, complete with HTML formatting. */ - descriptionHtml: Scalars['HTML'] +/** The category type */ +export type Category = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + HierarchicalTermNode & + MenuItemLinkable & { + __typename?: 'Category' + /** The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe /** - * A human-friendly unique string for the Product automatically generated from its title. - * They are used by the Liquid templating language to refer to objects. + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId */ - handle: Scalars['String'] - /** Globally unique identifier. */ + categoryId?: Maybe + /** Connection between the category type and the category type */ + children?: Maybe + /** Connection between the category type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ id: Scalars['ID'] - /** List of images associated with the product. */ - images: ImageConnection - /** The media associated with the product. */ - media: MediaConnection - /** The metafield associated with the resource. */ - metafield?: Maybe - /** A paginated list of metafields associated with the resource. */ - 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. - */ - onlineStoreUrl?: Maybe - /** List of product options. */ - 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: Scalars['String'] - /** The date and time when the product was published to the channel. */ - publishedAt: Scalars['DateTime'] - /** The product's SEO information. */ - seo: Seo - /** - * A comma separated list of tags that have been added to the product. - * Additional access scope required for private apps: unauthenticated_read_product_tags. - */ - tags: Array - /** The product’s title. */ - title: Scalars['String'] - /** The total quantity of inventory in stock for this Product. */ - totalInventory?: Maybe - /** - * The date and time when the product was last modified. - * A product's `updatedAt` value can change for different reasons. For example, if an order - * is placed for a product that has inventory tracking set up, then the inventory adjustment - * is counted as an update. - */ - updatedAt: Scalars['DateTime'] - /** - * Find a product’s variant based on its selected options. - * This is useful for converting a user’s selection of product options into a single matching variant. - * If there is not a variant for the selected options, `null` will be returned. - */ - variantBySelectedOptions?: Maybe - /** List of the product’s variants. */ - variants: ProductVariantConnection - /** The product’s vendor name. */ - vendor: Scalars['String'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** Connection between the category type and the category type */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe + /** Connection between the category type and the post type */ + posts?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the category type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe } -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductCollectionsArgs = { +/** The category type */ +export type CategoryAncestorsArgs = { first?: Maybe - after?: Maybe last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductDescriptionArgs = { - truncateAt?: Maybe -} - -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductImagesArgs = { - first?: Maybe after?: Maybe - last?: Maybe before?: Maybe - reverse?: Maybe - sortKey?: Maybe - maxWidth?: Maybe - maxHeight?: Maybe - crop?: Maybe - scale?: Maybe } -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductMediaArgs = { +/** The category type */ +export type CategoryChildrenArgs = { first?: Maybe + last?: Maybe after?: Maybe - last?: Maybe before?: Maybe - reverse?: Maybe - sortKey?: Maybe + where?: Maybe } -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductMetafieldArgs = { - namespace: Scalars['String'] - key: Scalars['String'] -} - -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductMetafieldsArgs = { - namespace?: Maybe +/** The category type */ +export type CategoryContentNodesArgs = { first?: Maybe + last?: Maybe after?: Maybe - last?: Maybe before?: Maybe - reverse?: Maybe + where?: Maybe } -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductOptionsArgs = { - first?: Maybe -} - -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductPresentmentPriceRangesArgs = { - presentmentCurrencies?: Maybe> +/** The category type */ +export type CategoryEnqueuedScriptsArgs = { first?: Maybe + last?: Maybe after?: Maybe - last?: Maybe before?: Maybe - reverse?: Maybe } -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductVariantBySelectedOptionsArgs = { - selectedOptions: Array -} - -/** - * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. - * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). - */ -export type ProductVariantsArgs = { +/** The category type */ +export type CategoryEnqueuedStylesheetsArgs = { first?: Maybe - after?: Maybe last?: Maybe + after?: Maybe before?: Maybe - reverse?: Maybe - sortKey?: Maybe } -/** The set of valid sort keys for the ProductCollection query. */ -export enum ProductCollectionSortKeys { - /** Sort by the `title` value. */ - Title = 'TITLE', - /** Sort by the `price` value. */ - Price = 'PRICE', - /** Sort by the `best-selling` value. */ - BestSelling = 'BEST_SELLING', - /** Sort by the `created` value. */ - Created = 'CREATED', - /** Sort by the `id` value. */ +/** The category type */ +export type CategoryPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum CategoryIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ Id = 'ID', - /** Sort by the `manual` value. */ - Manual = 'MANUAL', - /** Sort by the `collection-default` value. */ - CollectionDefault = 'COLLECTION_DEFAULT', - /** - * 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 name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', } -/** An auto-generated type for paginating through multiple Products. */ -export type ProductConnection = { - __typename?: 'ProductConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo +/** Connection between the category type and the category type */ +export type CategoryToAncestorsCategoryConnection = { + __typename?: 'CategoryToAncestorsCategoryConnection' + /** Edges for the CategoryToAncestorsCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe } -/** An auto-generated type which holds one Product and a cursor during pagination. */ -export type ProductEdge = { - __typename?: 'ProductEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of ProductEdge. */ - node: Product +/** An edge in a connection */ +export type CategoryToAncestorsCategoryConnectionEdge = { + __typename?: 'CategoryToAncestorsCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe } -/** The set of valid sort keys for the ProductImage query. */ -export enum ProductImageSortKeys { - /** Sort by the `created_at` value. */ - CreatedAt = 'CREATED_AT', - /** Sort by the `position` value. */ - Position = 'POSITION', - /** 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', +/** Connection between the category type and the category type */ +export type CategoryToCategoryConnection = { + __typename?: 'CategoryToCategoryConnection' + /** Edges for the CategoryToCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe } -/** The set of valid sort keys for the ProductMedia query. */ -export enum ProductMediaSortKeys { - /** Sort by the `position` value. */ - Position = 'POSITION', - /** 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', +/** An edge in a connection */ +export type CategoryToCategoryConnectionEdge = { + __typename?: 'CategoryToCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe } -/** - * Product property names like "Size", "Color", and "Material" that the customers can select. - * Variants are selected based on permutations of these options. - * 255 characters limit each. - */ -export type ProductOption = Node & { - __typename?: 'ProductOption' - /** Globally unique identifier. */ - id: Scalars['ID'] - /** The product option’s name. */ - name: Scalars['String'] - /** The corresponding value to the product option name. */ - values: Array +/** Arguments for filtering the CategoryToCategoryConnection connection */ +export type CategoryToCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe } -/** The price range of the product. */ -export type ProductPriceRange = { - __typename?: 'ProductPriceRange' - /** The highest variant's price. */ - maxVariantPrice: MoneyV2 - /** The lowest variant's price. */ - minVariantPrice: MoneyV2 +/** Connection between the category type and the ContentNode type */ +export type CategoryToContentNodeConnection = { + __typename?: 'CategoryToContentNodeConnection' + /** Edges for the CategoryToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe } -/** An auto-generated type for paginating through multiple ProductPriceRanges. */ -export type ProductPriceRangeConnection = { - __typename?: 'ProductPriceRangeConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo +/** An edge in a connection */ +export type CategoryToContentNodeConnectionEdge = { + __typename?: 'CategoryToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe } -/** An auto-generated type which holds one ProductPriceRange and a cursor during pagination. */ -export type ProductPriceRangeEdge = { - __typename?: 'ProductPriceRangeEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of ProductPriceRangeEdge. */ - node: ProductPriceRange -} - -/** The set of valid sort keys for the Product query. */ -export enum ProductSortKeys { - /** Sort by the `title` value. */ - Title = 'TITLE', - /** Sort by the `product_type` value. */ - ProductType = 'PRODUCT_TYPE', - /** Sort by the `vendor` value. */ - Vendor = 'VENDOR', - /** Sort by the `updated_at` value. */ - UpdatedAt = 'UPDATED_AT', - /** Sort by the `created_at` value. */ - CreatedAt = 'CREATED_AT', - /** Sort by the `best_selling` value. */ - BestSelling = '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', -} - -/** A product variant represents a different version of a product, such as differing sizes or differing colors. */ -export type ProductVariant = Node & - HasMetafields & { - __typename?: 'ProductVariant' - /** - * Indicates if the product variant is in stock. - * @deprecated Use `availableForSale` instead - */ - available?: Maybe - /** Indicates if the product variant is available for sale. */ - availableForSale: Scalars['Boolean'] - /** - * 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 - */ - compareAtPrice?: Maybe - /** The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`. */ - compareAtPriceV2?: Maybe - /** Whether a product is out of stock but still available for purchase (used for backorders). */ - currentlyNotInStock: Scalars['Boolean'] - /** Globally unique identifier. */ - id: Scalars['ID'] - /** Image associated with the product variant. This field falls back to the product image if no image is available. */ - image?: Maybe - /** The metafield associated with the resource. */ - metafield?: Maybe - /** A paginated list of metafields associated with the resource. */ - metafields: MetafieldConnection - /** List of prices and compare-at prices in the presentment currencies for this shop. */ - presentmentPrices: ProductVariantPricePairConnection - /** List of unit prices in the presentment currencies for this shop. */ - presentmentUnitPrices: MoneyV2Connection - /** - * The product variant’s price. - * @deprecated Use `priceV2` instead - */ - price: Scalars['Money'] - /** The product variant’s price. */ - priceV2: MoneyV2 - /** The product object that the product variant belongs to. */ - product: Product - /** The total sellable quantity of the variant for online sales channels. */ - quantityAvailable?: Maybe - /** Whether a customer needs to provide a shipping address when placing an order for the product variant. */ - requiresShipping: Scalars['Boolean'] - /** List of product options applied to the variant. */ - selectedOptions: Array - /** The SKU (stock keeping unit) associated with the variant. */ - sku?: Maybe - /** The product variant’s title. */ - title: Scalars['String'] - /** The unit price value for the variant based on the variant's measurement. */ - unitPrice?: Maybe - /** The unit price measurement for the variant. */ - unitPriceMeasurement?: Maybe - /** The weight of the product variant in the unit system specified with `weight_unit`. */ - weight?: Maybe - /** Unit of measurement for weight. */ - weightUnit: WeightUnit - } - -/** A product variant represents a different version of a product, such as differing sizes or differing colors. */ -export type ProductVariantImageArgs = { - maxWidth?: Maybe - maxHeight?: Maybe - crop?: Maybe - scale?: Maybe -} - -/** A product variant represents a different version of a product, such as differing sizes or differing colors. */ -export type ProductVariantMetafieldArgs = { - namespace: Scalars['String'] - key: Scalars['String'] -} - -/** A product variant represents a different version of a product, such as differing sizes or differing colors. */ -export type ProductVariantMetafieldsArgs = { - namespace?: Maybe - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** A product variant represents a different version of a product, such as differing sizes or differing colors. */ -export type ProductVariantPresentmentPricesArgs = { - presentmentCurrencies?: Maybe> - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** A product variant represents a different version of a product, such as differing sizes or differing colors. */ -export type ProductVariantPresentmentUnitPricesArgs = { - presentmentCurrencies?: Maybe> - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe -} - -/** An auto-generated type for paginating through multiple ProductVariants. */ -export type ProductVariantConnection = { - __typename?: 'ProductVariantConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one ProductVariant and a cursor during pagination. */ -export type ProductVariantEdge = { - __typename?: 'ProductVariantEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of ProductVariantEdge. */ - node: ProductVariant -} - -/** The compare-at price and price of a variant sharing a currency. */ -export type ProductVariantPricePair = { - __typename?: 'ProductVariantPricePair' - /** The compare-at price of the variant with associated currency. */ - compareAtPrice?: Maybe - /** The price of the variant with associated currency. */ - price: MoneyV2 -} - -/** An auto-generated type for paginating through multiple ProductVariantPricePairs. */ -export type ProductVariantPricePairConnection = { - __typename?: 'ProductVariantPricePairConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo -} - -/** An auto-generated type which holds one ProductVariantPricePair and a cursor during pagination. */ -export type ProductVariantPricePairEdge = { - __typename?: 'ProductVariantPricePairEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of ProductVariantPricePairEdge. */ - node: ProductVariantPricePair -} - -/** The set of valid sort keys for the ProductVariant query. */ -export enum ProductVariantSortKeys { - /** Sort by the `title` value. */ - Title = 'TITLE', - /** Sort by the `sku` value. */ - Sku = 'SKU', - /** Sort by the `position` value. */ - Position = 'POSITION', - /** 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 schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRoot = { - __typename?: 'QueryRoot' - /** List of the shop's articles. */ - articles: ArticleConnection - /** Find a blog by its handle. */ - blogByHandle?: Maybe - /** List of the shop's blogs. */ - blogs: BlogConnection - /** Find a collection by its handle. */ - collectionByHandle?: Maybe - /** List of the shop’s collections. */ - collections: CollectionConnection - /** Find a customer by its access token. */ - customer?: Maybe - /** Returns a specific node by ID. */ - node?: Maybe - /** Returns the list of nodes with the given IDs. */ - nodes: Array> - /** Find a page by its handle. */ - pageByHandle?: Maybe - /** List of the shop's pages. */ - pages: PageConnection - /** Find a product by its handle. */ - productByHandle?: Maybe - /** - * Find recommended products related to a given `product_id`. - * To learn more about how recommendations are generated, see - * [*Showing product recommendations on product pages*](https://help.shopify.com/themes/development/recommended-products). - */ - productRecommendations?: Maybe> - /** - * Tags added to products. - * Additional access scope required: unauthenticated_read_product_tags. - */ - productTags: StringConnection - /** List of product types for the shop's products that are published to your app. */ - productTypes: StringConnection - /** List of the shop’s products. */ - products: ProductConnection - /** The list of public Storefront API versions, including supported, release candidate and unstable versions. */ - publicApiVersions: Array - /** The shop associated with the storefront access token. */ - shop: Shop -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootArticlesArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootBlogByHandleArgs = { - handle: Scalars['String'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootBlogsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootCollectionByHandleArgs = { - handle: Scalars['String'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootCollectionsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootCustomerArgs = { - customerAccessToken: Scalars['String'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootNodeArgs = { - id: Scalars['ID'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootNodesArgs = { - ids: Array -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootPageByHandleArgs = { - handle: Scalars['String'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootPagesArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootProductByHandleArgs = { - handle: Scalars['String'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootProductRecommendationsArgs = { - productId: Scalars['ID'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootProductTagsArgs = { - first: Scalars['Int'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootProductTypesArgs = { - first: Scalars['Int'] -} - -/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */ -export type QueryRootProductsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** SEO information. */ -export type Seo = { - __typename?: 'SEO' - /** The meta description. */ - description?: Maybe - /** The SEO title. */ +/** Arguments for filtering the CategoryToContentNodeConnection connection */ +export type CategoryToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ title?: Maybe } -/** - * Script discount applications capture the intentions of a discount that - * was created by a Shopify Script. - */ -export type ScriptDiscountApplication = DiscountApplication & { - __typename?: 'ScriptDiscountApplication' - /** The method by which the discount's value is allocated to its entitled items. */ - allocationMethod: DiscountApplicationAllocationMethod +/** Connection between the category type and the category type */ +export type CategoryToParentCategoryConnectionEdge = { + __typename?: 'CategoryToParentCategoryConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the category type and the post type */ +export type CategoryToPostConnection = { + __typename?: 'CategoryToPostConnection' + /** Edges for the CategoryToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CategoryToPostConnectionEdge = { + __typename?: 'CategoryToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CategoryToPostConnection connection */ +export type CategoryToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the category type and the Taxonomy type */ +export type CategoryToTaxonomyConnectionEdge = { + __typename?: 'CategoryToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Input for the checkout mutation */ +export type CheckoutInput = { + /** Create new customer account */ + account?: Maybe + /** Order billing address */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Order customer note */ + customerNote?: Maybe + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + isPaid?: Maybe + /** Order meta data */ + metaData?: Maybe>> + /** Payment method ID. */ + paymentMethod?: Maybe + /** Ship to a separate address */ + shipToDifferentAddress?: Maybe + /** Order shipping address */ + shipping?: Maybe + /** Order shipping method */ + shippingMethod?: Maybe>> + /** Order transaction ID */ + transactionId?: Maybe +} + +/** The payload for the checkout mutation */ +export type CheckoutPayload = { + __typename?: 'CheckoutPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + customer?: Maybe + order?: Maybe + redirect?: Maybe + result?: Maybe +} + +/** A Comment object */ +export type Comment = Node & + DatabaseIdentifier & { + __typename?: 'Comment' + /** User agent used to post the comment. This field is equivalent to WP_Comment->comment_agent and the value matching the "comment_agent" column in SQL. */ + agent?: Maybe + /** The approval status of the comment. This field is equivalent to WP_Comment->comment_approved and the value matching the "comment_approved" column in SQL. */ + approved?: Maybe + /** The author of the comment */ + author?: Maybe + /** IP address for the author. This field is equivalent to WP_Comment->comment_author_IP and the value matching the "comment_author_IP" column in SQL. */ + authorIp?: Maybe + /** + * ID for the comment, unique among comments. + * @deprecated Deprecated in favor of databaseId + */ + commentId?: Maybe + /** Connection between the Comment type and the ContentNode type */ + commentedOn?: Maybe + /** Content of the comment. This field is equivalent to WP_Comment->comment_content and the value matching the "comment_content" column in SQL. */ + content?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** Date the comment was posted in local time. This field is equivalent to WP_Comment->date and the value matching the "date" column in SQL. */ + date?: Maybe + /** Date the comment was posted in GMT. This field is equivalent to WP_Comment->date_gmt and the value matching the "date_gmt" column in SQL. */ + dateGmt?: Maybe + /** The globally unique identifier for the comment object */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Karma value for the comment. This field is equivalent to WP_Comment->comment_karma and the value matching the "comment_karma" column in SQL. */ + karma?: Maybe + /** Connection between the Comment type and the Comment type */ + parent?: Maybe + /** The database id of the parent comment node or null if it is the root comment */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent comment node. */ + parentId?: Maybe + /** Connection between the Comment type and the Comment type */ + replies?: Maybe + /** Type of comment. This field is equivalent to WP_Comment->comment_type and the value matching the "comment_type" column in SQL. */ + type?: Maybe + } + +/** A Comment object */ +export type CommentContentArgs = { + format?: Maybe +} + +/** A Comment object */ +export type CommentParentArgs = { + where?: Maybe +} + +/** A Comment object */ +export type CommentRepliesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A Comment Author object */ +export type CommentAuthor = Node & + Commenter & { + __typename?: 'CommentAuthor' + /** Identifies the primary key from the database. */ + databaseId: Scalars['Int'] + /** The email for the comment author */ + email?: Maybe + /** The globally unique identifier for the comment author object */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** The name for the comment author. */ + name?: Maybe + /** The url the comment author. */ + url?: Maybe + } + +/** Connection between the Comment type and the Comment type */ +export type CommentToCommentConnection = { + __typename?: 'CommentToCommentConnection' + /** Edges for the CommentToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CommentToCommentConnectionEdge = { + __typename?: 'CommentToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CommentToCommentConnection connection */ +export type CommentToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the Comment type and the Commenter type */ +export type CommentToCommenterConnectionEdge = { + __typename?: 'CommentToCommenterConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the Comment type and the ContentNode type */ +export type CommentToContentNodeConnectionEdge = { + __typename?: 'CommentToContentNodeConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the Comment type and the Comment type */ +export type CommentToParentCommentConnectionEdge = { + __typename?: 'CommentToParentCommentConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Arguments for filtering the CommentToParentCommentConnection connection */ +export type CommentToParentCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** The author of a comment */ +export type Commenter = { + /** Identifies the primary key from the database. */ + databaseId: Scalars['Int'] + /** The email address of the author of a comment. */ + email?: Maybe + /** The globally unique identifier for the comment author. */ + id: Scalars['ID'] + /** Whether the author information is considered restricted. (not fully public) */ + isRestricted?: Maybe + /** The name of the author of a comment. */ + name?: Maybe + /** The url of the author of a comment. */ + url?: Maybe +} + +/** Options for ordering the connection */ +export enum CommentsConnectionOrderbyEnum { + /** Order by browser user agent of the commenter. */ + CommentAgent = 'COMMENT_AGENT', + /** Order by true/false approval of the comment. */ + CommentApproved = 'COMMENT_APPROVED', + /** Order by name of the comment author. */ + CommentAuthor = 'COMMENT_AUTHOR', + /** Order by e-mail of the comment author. */ + CommentAuthorEmail = 'COMMENT_AUTHOR_EMAIL', + /** Order by IP address of the comment author. */ + CommentAuthorIp = 'COMMENT_AUTHOR_IP', + /** Order by URL address of the comment author. */ + CommentAuthorUrl = 'COMMENT_AUTHOR_URL', + /** Order by the comment contents. */ + CommentContent = 'COMMENT_CONTENT', + /** Order by date/time timestamp of the comment. */ + CommentDate = 'COMMENT_DATE', + /** Order by GMT timezone date/time timestamp of the comment. */ + CommentDateGmt = 'COMMENT_DATE_GMT', + /** Order by the globally unique identifier for the comment object */ + CommentId = 'COMMENT_ID', + /** Order by the array list of comment IDs listed in the where clause. */ + CommentIn = 'COMMENT_IN', + /** Order by the comment karma score. */ + CommentKarma = 'COMMENT_KARMA', + /** Order by the comment parent ID. */ + CommentParent = 'COMMENT_PARENT', + /** Order by the post object ID. */ + CommentPostId = 'COMMENT_POST_ID', + /** Order by the the type of comment, such as 'comment', 'pingback', or 'trackback'. */ + CommentType = 'COMMENT_TYPE', + /** Order by the user ID. */ + UserId = 'USER_ID', +} + +/** Nodes used to manage content */ +export type ContentNode = { + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The ID of the node in the database. */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** The current status of the object */ + status?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** The unique resource identifier path */ + uri?: Maybe +} + +/** Nodes used to manage content */ +export type ContentNodeEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** Nodes used to manage content */ +export type ContentNodeEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ContentNodeIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a resource by the URI. */ + Uri = 'URI', +} + +/** Connection between the ContentNode type and the ContentType type */ +export type ContentNodeToContentTypeConnectionEdge = { + __typename?: 'ContentNodeToContentTypeConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the ContentNode type and the User type */ +export type ContentNodeToEditLastConnectionEdge = { + __typename?: 'ContentNodeToEditLastConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the ContentNode type and the User type */ +export type ContentNodeToEditLockConnectionEdge = { + __typename?: 'ContentNodeToEditLockConnectionEdge' + /** The timestamp for when the node was last edited */ + lockTimestamp?: Maybe + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the ContentNode type and the EnqueuedScript type */ +export type ContentNodeToEnqueuedScriptConnection = { + __typename?: 'ContentNodeToEnqueuedScriptConnection' + /** Edges for the ContentNodeToEnqueuedScriptConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ContentNodeToEnqueuedScriptConnectionEdge = { + __typename?: 'ContentNodeToEnqueuedScriptConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the ContentNode type and the EnqueuedStylesheet type */ +export type ContentNodeToEnqueuedStylesheetConnection = { + __typename?: 'ContentNodeToEnqueuedStylesheetConnection' + /** Edges for the ContentNodeToEnqueuedStylesheetConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ContentNodeToEnqueuedStylesheetConnectionEdge = { + __typename?: 'ContentNodeToEnqueuedStylesheetConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** A union of Content Node Types that support revisions */ +export type ContentRevisionUnion = Post | Page + +/** The template assigned to a node of content */ +export type ContentTemplate = { + /** The name of the template */ + templateName?: Maybe +} + +/** An Post Type object */ +export type ContentType = Node & + UniformResourceIdentifiable & { + __typename?: 'ContentType' + /** Whether this content type should can be exported. */ + canExport?: Maybe + /** Connection between the ContentType type and the Taxonomy type */ + connectedTaxonomies?: Maybe + /** Connection between the ContentType type and the ContentNode type */ + contentNodes?: Maybe + /** Whether content of this type should be deleted when the author of it is deleted from the system. */ + deleteWithUser?: Maybe + /** Description of the content type. */ + description?: Maybe + /** Whether to exclude nodes of this content type from front end search results. */ + excludeFromSearch?: Maybe + /** The plural name of the content type within the GraphQL Schema. */ + graphqlPluralName?: Maybe + /** The singular name of the content type within the GraphQL Schema. */ + graphqlSingleName?: Maybe + /** Whether this content type should have archives. Content archives are generated by type and by date. */ + hasArchive?: Maybe + /** Whether the content type is hierarchical, for example pages. */ + hierarchical?: Maybe + /** The globally unique identifier of the post-type object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether this page is set to the static front page. */ + isFrontPage: Scalars['Boolean'] + /** Whether this page is set to the blog posts page. */ + isPostsPage: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** Display name of the content type. */ + label?: Maybe + /** Details about the content type labels. */ + labels?: Maybe + /** The name of the icon file to display as a menu icon. */ + menuIcon?: Maybe + /** The position of this post type in the menu. Only applies if show_in_menu is true. */ + menuPosition?: Maybe + /** The internal name of the post type. This should not be used for display purposes. */ + name?: Maybe + /** Whether a content type is intended for use publicly either via the admin interface or by front-end users. While the default settings of exclude_from_search, publicly_queryable, show_ui, and show_in_nav_menus are inherited from public, each does not rely on this relationship and controls a very specific intention. */ + public?: Maybe + /** Whether queries can be performed on the front end for the content type as part of parse_request(). */ + publiclyQueryable?: Maybe + /** Name of content type to display in REST API "wp/v2" namespace. */ + restBase?: Maybe + /** The REST Controller class assigned to handling this content type. */ + restControllerClass?: Maybe + /** Makes this content type available via the admin bar. */ + showInAdminBar?: Maybe + /** Whether to add the content type to the GraphQL Schema. */ + showInGraphql?: Maybe + /** Where to show the content type in the admin menu. To work, $show_ui must be true. If true, the post type is shown in its own top level menu. If false, no menu is shown. If a string of an existing top level menu (eg. "tools.php" or "edit.php?post_type=page"), the post type will be placed as a sub-menu of that. */ + showInMenu?: Maybe + /** Makes this content type available for selection in navigation menus. */ + showInNavMenus?: Maybe + /** Whether the content type is associated with a route under the the REST API "wp/v2" namespace. */ + showInRest?: Maybe + /** Whether to generate and allow a UI for managing this content type in the admin. */ + showUi?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** An Post Type object */ +export type ContentTypeConnectedTaxonomiesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** An Post Type object */ +export type ContentTypeContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Allowed Content Types */ +export enum ContentTypeEnum { + /** The Type of Content object */ + Attachment = 'ATTACHMENT', + /** The Type of Content object */ + Page = 'PAGE', + /** The Type of Content object */ + Post = 'POST', + /** The Type of Content object */ + Product = 'PRODUCT', + /** The Type of Content object */ + ProductVariation = 'PRODUCT_VARIATION', + /** The Type of Content object */ + ShopCoupon = 'SHOP_COUPON', + /** The Type of Content object */ + ShopOrder = 'SHOP_ORDER', + /** The Type of Content object */ + ShopOrderRefund = 'SHOP_ORDER_REFUND', +} + +/** The Type of Identifier used to fetch a single Content Type node. To be used along with the "id" field. Default is "ID". */ +export enum ContentTypeIdTypeEnum { + /** The globally unique ID */ + Id = 'ID', + /** The name of the content type. */ + Name = 'NAME', +} + +/** Connection between the ContentType type and the ContentNode type */ +export type ContentTypeToContentNodeConnection = { + __typename?: 'ContentTypeToContentNodeConnection' + /** Edges for the ContentTypeToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ContentTypeToContentNodeConnectionEdge = { + __typename?: 'ContentTypeToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ContentTypeToContentNodeConnection connection */ +export type ContentTypeToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the ContentType type and the Taxonomy type */ +export type ContentTypeToTaxonomyConnection = { + __typename?: 'ContentTypeToTaxonomyConnection' + /** Edges for the ContentTypeToTaxonomyConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ContentTypeToTaxonomyConnectionEdge = { + __typename?: 'ContentTypeToTaxonomyConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Allowed Content Types of the Category taxonomy. */ +export enum ContentTypesOfCategoryEnum { + /** The Type of Content object */ + Post = 'POST', +} + +/** Allowed Content Types of the PaColor taxonomy. */ +export enum ContentTypesOfPaColorEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the PaSize taxonomy. */ +export enum ContentTypesOfPaSizeEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the PostFormat taxonomy. */ +export enum ContentTypesOfPostFormatEnum { + /** The Type of Content object */ + Post = 'POST', +} + +/** Allowed Content Types of the ProductCategory taxonomy. */ +export enum ContentTypesOfProductCategoryEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the ProductTag taxonomy. */ +export enum ContentTypesOfProductTagEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the ProductType taxonomy. */ +export enum ContentTypesOfProductTypeEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the ShippingClass taxonomy. */ +export enum ContentTypesOfShippingClassEnum { + /** The Type of Content object */ + Product = 'PRODUCT', + /** The Type of Content object */ + ProductVariation = 'PRODUCT_VARIATION', +} + +/** Allowed Content Types of the Tag taxonomy. */ +export enum ContentTypesOfTagEnum { + /** The Type of Content object */ + Post = 'POST', +} + +/** Allowed Content Types of the VisibleProduct taxonomy. */ +export enum ContentTypesOfVisibleProductEnum { + /** The Type of Content object */ + Product = 'PRODUCT', + /** The Type of Content object */ + ProductVariation = 'PRODUCT_VARIATION', +} + +/** Countries enumeration */ +export enum CountriesEnum { + Ad = 'AD', + Ae = 'AE', + Af = 'AF', + Ag = 'AG', + Ai = 'AI', + Al = 'AL', + Am = 'AM', + Ao = 'AO', + Aq = 'AQ', + Ar = 'AR', + As = 'AS', + At = 'AT', + Au = 'AU', + Aw = 'AW', + Ax = 'AX', + Az = 'AZ', + Ba = 'BA', + Bb = 'BB', + Bd = 'BD', + Be = 'BE', + Bf = 'BF', + Bg = 'BG', + Bh = 'BH', + Bi = 'BI', + Bj = 'BJ', + Bl = 'BL', + Bm = 'BM', + Bn = 'BN', + Bo = 'BO', + Bq = 'BQ', + Br = 'BR', + Bs = 'BS', + Bt = 'BT', + Bv = 'BV', + Bw = 'BW', + By = 'BY', + Bz = 'BZ', + Ca = 'CA', + Cc = 'CC', + Cd = 'CD', + Cf = 'CF', + Cg = 'CG', + Ch = 'CH', + Ci = 'CI', + Ck = 'CK', + Cl = 'CL', + Cm = 'CM', + Cn = 'CN', + Co = 'CO', + Cr = 'CR', + Cu = 'CU', + Cv = 'CV', + Cw = 'CW', + Cx = 'CX', + Cy = 'CY', + Cz = 'CZ', + De = 'DE', + Dj = 'DJ', + Dk = 'DK', + Dm = 'DM', + Do = 'DO', + Dz = 'DZ', + Ec = 'EC', + Ee = 'EE', + Eg = 'EG', + Eh = 'EH', + Er = 'ER', + Es = 'ES', + Et = 'ET', + Fi = 'FI', + Fj = 'FJ', + Fk = 'FK', + Fm = 'FM', + Fo = 'FO', + Fr = 'FR', + Ga = 'GA', + Gb = 'GB', + Gd = 'GD', + Ge = 'GE', + Gf = 'GF', + Gg = 'GG', + Gh = 'GH', + Gi = 'GI', + Gl = 'GL', + Gm = 'GM', + Gn = 'GN', + Gp = 'GP', + Gq = 'GQ', + Gr = 'GR', + Gs = 'GS', + Gt = 'GT', + Gu = 'GU', + Gw = 'GW', + Gy = 'GY', + Hk = 'HK', + Hm = 'HM', + Hn = 'HN', + Hr = 'HR', + Ht = 'HT', + Hu = 'HU', + Id = 'ID', + Ie = 'IE', + Il = 'IL', + Im = 'IM', + In = 'IN', + Io = 'IO', + Iq = 'IQ', + Ir = 'IR', + Is = 'IS', + It = 'IT', + Je = 'JE', + Jm = 'JM', + Jo = 'JO', + Jp = 'JP', + Ke = 'KE', + Kg = 'KG', + Kh = 'KH', + Ki = 'KI', + Km = 'KM', + Kn = 'KN', + Kp = 'KP', + Kr = 'KR', + Kw = 'KW', + Ky = 'KY', + Kz = 'KZ', + La = 'LA', + Lb = 'LB', + Lc = 'LC', + Li = 'LI', + Lk = 'LK', + Lr = 'LR', + Ls = 'LS', + Lt = 'LT', + Lu = 'LU', + Lv = 'LV', + Ly = 'LY', + Ma = 'MA', + Mc = 'MC', + Md = 'MD', + Me = 'ME', + Mf = 'MF', + Mg = 'MG', + Mh = 'MH', + Mk = 'MK', + Ml = 'ML', + Mm = 'MM', + Mn = 'MN', + Mo = 'MO', + Mp = 'MP', + Mq = 'MQ', + Mr = 'MR', + Ms = 'MS', + Mt = 'MT', + Mu = 'MU', + Mv = 'MV', + Mw = 'MW', + Mx = 'MX', + My = 'MY', + Mz = 'MZ', + Na = 'NA', + Nc = 'NC', + Ne = 'NE', + Nf = 'NF', + Ng = 'NG', + Ni = 'NI', + Nl = 'NL', + No = 'NO', + Np = 'NP', + Nr = 'NR', + Nu = 'NU', + Nz = 'NZ', + Om = 'OM', + Pa = 'PA', + Pe = 'PE', + Pf = 'PF', + Pg = 'PG', + Ph = 'PH', + Pk = 'PK', + Pl = 'PL', + Pm = 'PM', + Pn = 'PN', + Pr = 'PR', + Ps = 'PS', + Pt = 'PT', + Pw = 'PW', + Py = 'PY', + Qa = 'QA', + Re = 'RE', + Ro = 'RO', + Rs = 'RS', + Ru = 'RU', + Rw = 'RW', + Sa = 'SA', + Sb = 'SB', + Sc = 'SC', + Sd = 'SD', + Se = 'SE', + Sg = 'SG', + Sh = 'SH', + Si = 'SI', + Sj = 'SJ', + Sk = 'SK', + Sl = 'SL', + Sm = 'SM', + Sn = 'SN', + So = 'SO', + Sr = 'SR', + Ss = 'SS', + St = 'ST', + Sv = 'SV', + Sx = 'SX', + Sy = 'SY', + Sz = 'SZ', + Tc = 'TC', + Td = 'TD', + Tf = 'TF', + Tg = 'TG', + Th = 'TH', + Tj = 'TJ', + Tk = 'TK', + Tl = 'TL', + Tm = 'TM', + Tn = 'TN', + To = 'TO', + Tr = 'TR', + Tt = 'TT', + Tv = 'TV', + Tw = 'TW', + Tz = 'TZ', + Ua = 'UA', + Ug = 'UG', + Um = 'UM', + Us = 'US', + Uy = 'UY', + Uz = 'UZ', + Va = 'VA', + Vc = 'VC', + Ve = 'VE', + Vg = 'VG', + Vi = 'VI', + Vn = 'VN', + Vu = 'VU', + Wf = 'WF', + Ws = 'WS', + Ye = 'YE', + Yt = 'YT', + Za = 'ZA', + Zm = 'ZM', + Zw = 'ZW', +} + +/** A coupon object */ +export type Coupon = Node & { + __typename?: 'Coupon' + /** Amount off provided by the coupon */ + amount?: Maybe + /** Coupon code */ + code?: Maybe + /** The ID of the coupon in the database */ + databaseId?: Maybe + /** Date coupon created */ + date?: Maybe + /** Date coupon expires */ + dateExpiry?: Maybe + /** Explanation of what the coupon does */ + description?: Maybe + /** Type of discount */ + discountType?: Maybe + /** Only customers with a matching email address can use the coupon */ + emailRestrictions?: Maybe>> + /** Excluding sale items mean this coupon cannot be used on items that are on sale (or carts that contain on sale items) */ + excludeSaleItems?: Maybe + /** Connection between the Coupon type and the productCategory type */ + excludedProductCategories?: Maybe + /** Connection between the Coupon type and the Product type */ + excludedProducts?: Maybe + /** Does this coupon grant free shipping? */ + freeShipping?: Maybe + /** The globally unique identifier for the coupon */ + id: Scalars['ID'] + /** Individual use means this coupon cannot be used in conjunction with other coupons */ + individualUse?: Maybe + /** The number of products in your cart this coupon can apply to (for product discounts) */ + limitUsageToXItems?: Maybe + /** Maximum spend amount that must be met before this coupon can be used */ + maximumAmount?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Minimum spend amount that must be met before this coupon can be used */ + minimumAmount?: Maybe + /** Date coupon modified */ + modified?: Maybe + /** Connection between the Coupon type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Coupon type and the Product type */ + products?: Maybe + /** How many times the coupon has been used */ + usageCount?: Maybe + /** Amount of times this coupon can be used globally */ + usageLimit?: Maybe + /** Amount of times this coupon can be used by a customer */ + usageLimitPerUser?: Maybe + /** Connection between the Coupon type and the Customer type */ + usedBy?: Maybe +} + +/** A coupon object */ +export type CouponExcludedProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A coupon object */ +export type CouponExcludedProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A coupon object */ +export type CouponMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A coupon object */ +export type CouponProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A coupon object */ +export type CouponProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A coupon object */ +export type CouponUsedByArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single Coupon. Default is ID. */ +export enum CouponIdTypeEnum { + /** Coupon code. */ + Code = 'CODE', + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** a coupon line object */ +export type CouponLine = { + __typename?: 'CouponLine' + /** Line's Coupon code */ + code?: Maybe + /** Line's Coupon */ + coupon?: Maybe + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Line's Discount total */ + discount?: Maybe + /** Line's Discount total tax */ + discountTax?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** The Id of the order the order item belongs to. */ + orderId?: Maybe +} + +/** a coupon line object */ +export type CouponLineMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** Connection between the Coupon type and the Customer type */ +export type CouponToCustomerConnection = { + __typename?: 'CouponToCustomerConnection' + /** Edges for the CouponToCustomerConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToCustomerConnectionEdge = { + __typename?: 'CouponToCustomerConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToCustomerConnection connection */ +export type CouponToCustomerConnectionWhereArgs = { + /** Limit result set to resources with a specific email. */ + email?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Order of results. */ + order?: Maybe + /** Order results by a specific field. */ + orderby?: Maybe + /** Limit results to those matching a string. */ + search?: Maybe +} + +/** Connection between the Coupon type and the productCategory type */ +export type CouponToExcludedProductCategoriesConnection = { + __typename?: 'CouponToExcludedProductCategoriesConnection' + /** Edges for the CouponToExcludedProductCategoriesConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToExcludedProductCategoriesConnectionEdge = { + __typename?: 'CouponToExcludedProductCategoriesConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToExcludedProductCategoriesConnection connection */ +export type CouponToExcludedProductCategoriesConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Coupon type and the Product type */ +export type CouponToExcludedProductsConnection = { + __typename?: 'CouponToExcludedProductsConnection' + /** Edges for the CouponToExcludedProductsConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToExcludedProductsConnectionEdge = { + __typename?: 'CouponToExcludedProductsConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToExcludedProductsConnection connection */ +export type CouponToExcludedProductsConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the Coupon type and the productCategory type */ +export type CouponToProductCategoryConnection = { + __typename?: 'CouponToProductCategoryConnection' + /** Edges for the CouponToProductCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToProductCategoryConnectionEdge = { + __typename?: 'CouponToProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToProductCategoryConnection connection */ +export type CouponToProductCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Coupon type and the Product type */ +export type CouponToProductConnection = { + __typename?: 'CouponToProductConnection' + /** Edges for the CouponToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToProductConnectionEdge = { + __typename?: 'CouponToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToProductConnection connection */ +export type CouponToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Customer account credentials */ +export type CreateAccountInput = { + /** Customer password */ + password: Scalars['String'] + /** Customer username */ + username: Scalars['String'] +} + +/** Input for the createCategory mutation */ +export type CreateCategoryInput = { + /** The slug that the category will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the category object */ + description?: Maybe + /** The name of the category object to mutate */ + name: Scalars['String'] + /** The ID of the category that should be set as the parent */ + parentId?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createCategory mutation */ +export type CreateCategoryPayload = { + __typename?: 'CreateCategoryPayload' + /** The created category */ + category?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the createComment mutation */ +export type CreateCommentInput = { + /** The approval status of the comment. */ + approved?: Maybe + /** The name of the comment's author. */ + author?: Maybe + /** The email of the comment's author. */ + authorEmail?: Maybe + /** The url of the comment's author. */ + authorUrl?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the post object the comment belongs to. */ + commentOn?: Maybe + /** Content of the comment. */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** Parent comment of current comment. */ + parent?: Maybe + /** Type of comment. */ + type?: Maybe +} + +/** The payload for the createComment mutation */ +export type CreateCommentPayload = { + __typename?: 'CreateCommentPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment that was created */ + comment?: Maybe + /** Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache */ + success?: Maybe +} + +/** Input for the createCoupon mutation */ +export type CreateCouponInput = { + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupon code. */ + code: Scalars['String'] + /** The date the coupon expires, in the site's timezone. */ + dateExpires?: Maybe + /** The date the coupon expires, as GMT. */ + dateExpiresGmt?: Maybe + /** Coupon description. */ + description?: Maybe + /** Determines the type of discount that will be applied. */ + discountType?: Maybe + /** List of email addresses that can use this coupon. */ + emailRestrictions?: Maybe>> + /** If true, this coupon will not be applied to items that have sale prices. */ + excludeSaleItems?: Maybe + /** List of category IDs the coupon does not apply to. */ + excludedProductCategories?: Maybe>> + /** List of product IDs the coupon cannot be used on. */ + excludedProductIds?: Maybe>> + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + freeShipping?: Maybe + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individualUse?: Maybe + /** Max number of items in the cart the coupon can be applied to. */ + limitUsageToXItems?: Maybe + /** Maximum order amount allowed when using the coupon. */ + maximumAmount?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimumAmount?: Maybe + /** List of category IDs the coupon applies to. */ + productCategories?: Maybe>> + /** List of product IDs the coupon can be used on. */ + productIds?: Maybe>> + /** How many times the coupon can be used in total. */ + usageLimit?: Maybe + /** How many times the coupon can be used per customer. */ + usageLimitPerUser?: Maybe +} + +/** The payload for the createCoupon mutation */ +export type CreateCouponPayload = { + __typename?: 'CreateCouponPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + code?: Maybe + coupon?: Maybe +} + +/** Input for the createMediaItem mutation */ +export type CreateMediaItemInput = { + /** Alternative text to display when mediaItem is not displayed */ + altText?: Maybe + /** The userId to assign as the author of the mediaItem */ + authorId?: Maybe + /** The caption for the mediaItem */ + caption?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the mediaItem */ + commentStatus?: Maybe + /** The date of the mediaItem */ + date?: Maybe + /** The date (in GMT zone) of the mediaItem */ + dateGmt?: Maybe + /** Description of the mediaItem */ + description?: Maybe + /** The file name of the mediaItem */ + filePath?: Maybe + /** The file type of the mediaItem */ + fileType?: Maybe + /** The WordPress post ID or the graphQL postId of the parent object */ + parentId?: Maybe + /** The ping status for the mediaItem */ + pingStatus?: Maybe + /** The slug of the mediaItem */ + slug?: Maybe + /** The status of the mediaItem */ + status?: Maybe + /** The title of the mediaItem */ + title?: Maybe +} + +/** The payload for the createMediaItem mutation */ +export type CreateMediaItemPayload = { + __typename?: 'CreateMediaItemPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The MediaItem object mutation type. */ + mediaItem?: Maybe +} + +/** Input for the createOrder mutation */ +export type CreateOrderInput = { + /** Order billing address */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupons codes to be applied to order */ + coupons?: Maybe>> + /** Currency the order was created with, in ISO format. */ + currency?: Maybe + /** Order customer ID */ + customerId?: Maybe + /** Note left by customer during checkout. */ + customerNote?: Maybe + /** Order shipping lines */ + feeLines?: Maybe>> + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + isPaid?: Maybe + /** Order line items */ + lineItems?: Maybe>> + /** Order meta data */ + metaData?: Maybe>> + /** Parent order ID. */ + parentId?: Maybe + /** Payment method ID. */ + paymentMethod?: Maybe + /** Payment method title. */ + paymentMethodTitle?: Maybe + /** Order shipping address */ + shipping?: Maybe + /** Order shipping lines */ + shippingLines?: Maybe>> + /** Order status */ + status?: Maybe + /** Order transaction ID */ + transactionId?: Maybe +} + +/** The payload for the createOrder mutation */ +export type CreateOrderPayload = { + __typename?: 'CreateOrderPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + order?: Maybe + orderId?: Maybe +} + +/** Input for the createPaColor mutation */ +export type CreatePaColorInput = { + /** The slug that the pa_color will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the pa_color object */ + description?: Maybe + /** The name of the pa_color object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createPaColor mutation */ +export type CreatePaColorPayload = { + __typename?: 'CreatePaColorPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created pa_color */ + paColor?: Maybe +} + +/** Input for the createPaSize mutation */ +export type CreatePaSizeInput = { + /** The slug that the pa_size will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the pa_size object */ + description?: Maybe + /** The name of the pa_size object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createPaSize mutation */ +export type CreatePaSizePayload = { + __typename?: 'CreatePaSizePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created pa_size */ + paSize?: Maybe +} + +/** Input for the createPage mutation */ +export type CreatePageInput = { + /** The userId to assign as the author of the object */ + authorId?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the object */ + commentStatus?: Maybe + /** The content of the object */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The ID of the parent object */ + parentId?: Maybe + /** The password used to protect the content of the object */ + password?: Maybe + /** The slug of the object */ + slug?: Maybe + /** The status of the object */ + status?: Maybe + /** The title of the object */ + title?: Maybe +} + +/** The payload for the createPage mutation */ +export type CreatePagePayload = { + __typename?: 'CreatePagePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The Post object mutation type. */ + page?: Maybe +} + +/** Input for the createPostFormat mutation */ +export type CreatePostFormatInput = { + /** The slug that the post_format will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the post_format object */ + description?: Maybe + /** The name of the post_format object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createPostFormat mutation */ +export type CreatePostFormatPayload = { + __typename?: 'CreatePostFormatPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created post_format */ + postFormat?: Maybe +} + +/** Input for the createPost mutation */ +export type CreatePostInput = { + /** The userId to assign as the author of the object */ + authorId?: Maybe + /** Set connections between the post and categories */ + categories?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the object */ + commentStatus?: Maybe + /** The content of the object */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The excerpt of the object */ + excerpt?: Maybe + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The password used to protect the content of the object */ + password?: Maybe + /** The ping status for the object */ + pingStatus?: Maybe + /** URLs that have been pinged. */ + pinged?: Maybe>> + /** Set connections between the post and postFormats */ + postFormats?: Maybe + /** The slug of the object */ + slug?: Maybe + /** The status of the object */ + status?: Maybe + /** Set connections between the post and tags */ + tags?: Maybe + /** The title of the object */ + title?: Maybe + /** URLs queued to be pinged. */ + toPing?: Maybe>> +} + +/** The payload for the createPost mutation */ +export type CreatePostPayload = { + __typename?: 'CreatePostPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The Post object mutation type. */ + post?: Maybe +} + +/** Input for the createProductCategory mutation */ +export type CreateProductCategoryInput = { + /** The slug that the product_cat will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_cat object */ + description?: Maybe + /** The name of the product_cat object to mutate */ + name: Scalars['String'] + /** The ID of the product_cat that should be set as the parent */ + parentId?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createProductCategory mutation */ +export type CreateProductCategoryPayload = { + __typename?: 'CreateProductCategoryPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_cat */ + productCategory?: Maybe +} + +/** Input for the createProductTag mutation */ +export type CreateProductTagInput = { + /** The slug that the product_tag will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_tag object */ + description?: Maybe + /** The name of the product_tag object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createProductTag mutation */ +export type CreateProductTagPayload = { + __typename?: 'CreateProductTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_tag */ + productTag?: Maybe +} + +/** Input for the createProductType mutation */ +export type CreateProductTypeInput = { + /** The slug that the product_type will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_type object */ + description?: Maybe + /** The name of the product_type object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createProductType mutation */ +export type CreateProductTypePayload = { + __typename?: 'CreateProductTypePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_type */ + productType?: Maybe +} + +/** Input for the createShippingClass mutation */ +export type CreateShippingClassInput = { + /** The slug that the product_shipping_class will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_shipping_class object */ + description?: Maybe + /** The name of the product_shipping_class object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createShippingClass mutation */ +export type CreateShippingClassPayload = { + __typename?: 'CreateShippingClassPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_shipping_class */ + shippingClass?: Maybe +} + +/** Input for the createTag mutation */ +export type CreateTagInput = { + /** The slug that the post_tag will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the post_tag object */ + description?: Maybe + /** The name of the post_tag object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createTag mutation */ +export type CreateTagPayload = { + __typename?: 'CreateTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created post_tag */ + tag?: Maybe +} + +/** Input for the createUser mutation */ +export type CreateUserInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** An array of roles to be assigned to the user. */ + roles?: Maybe>> + /** A string that contains the user's username for logging in. */ + username: Scalars['String'] + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the createUser mutation */ +export type CreateUserPayload = { + __typename?: 'CreateUserPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The User object mutation type. */ + user?: Maybe +} + +/** Input for the createVisibleProduct mutation */ +export type CreateVisibleProductInput = { + /** The slug that the product_visibility will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_visibility object */ + description?: Maybe + /** The name of the product_visibility object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createVisibleProduct mutation */ +export type CreateVisibleProductPayload = { + __typename?: 'CreateVisibleProductPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_visibility */ + visibleProduct?: Maybe +} + +/** A customer object */ +export type Customer = Node & { + __typename?: 'Customer' + /** Return the date customer billing address properties */ + billing?: Maybe + /** Has customer calculated shipping? */ + calculatedShipping?: Maybe + /** The ID of the customer in the database */ + databaseId?: Maybe + /** Return the date customer was created */ + date?: Maybe + /** Return the customer's display name. */ + displayName?: Maybe + /** Connection between the Customer type and the DownloadableItem type */ + downloadableItems?: Maybe + /** Return the customer's email. */ + email?: Maybe + /** Return the customer's first name. */ + firstName?: Maybe + /** Has calculated shipping? */ + hasCalculatedShipping?: Maybe + /** The globally unique identifier for the customer */ + id: Scalars['ID'] + /** Return the date customer was last updated */ + isPayingCustomer?: Maybe + /** Is customer VAT exempt? */ + isVatExempt?: Maybe + /** Return the customer's last name. */ + lastName?: Maybe + /** Gets the customers last order. */ + lastOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Return the date customer was last updated */ + modified?: Maybe + /** Return the number of orders this customer has. */ + orderCount?: Maybe + /** Connection between the Customer type and the Order type */ + orders?: Maybe + /** Connection between the Customer type and the Refund type */ + refunds?: Maybe + /** Return the customer's user role. */ + role?: Maybe + /** A JWT token that can be used in future requests to for WooCommerce session identification */ + sessionToken?: Maybe + /** Return the date customer shipping address properties */ + shipping?: Maybe + /** Return how much money this customer has spent. */ + totalSpent?: Maybe + /** Return the customer's username. */ + username?: Maybe +} + +/** A customer object */ +export type CustomerDownloadableItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A customer object */ +export type CustomerMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A customer object */ +export type CustomerOrdersArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A customer object */ +export type CustomerRefundsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A customer address object */ +export type CustomerAddress = { + __typename?: 'CustomerAddress' + /** Address 1 */ + address1?: Maybe + /** Address 2 */ + address2?: Maybe + /** City */ + city?: Maybe + /** Company */ + company?: Maybe + /** Country */ + country?: Maybe + /** E-mail */ + email?: Maybe + /** First name */ + firstName?: Maybe + /** Last name */ + lastName?: Maybe + /** Phone */ + phone?: Maybe + /** Zip Postal Code */ + postcode?: Maybe + /** State */ + state?: Maybe +} + +/** Customer address information */ +export type CustomerAddressInput = { + /** Address 1 */ + address1?: Maybe + /** Address 2 */ + address2?: Maybe + /** City */ + city?: Maybe + /** Company */ + company?: Maybe + /** Country */ + country?: Maybe + /** E-mail */ + email?: Maybe + /** First name */ + firstName?: Maybe + /** Last name */ + lastName?: Maybe + /** Clear old address data */ + overwrite?: Maybe + /** Phone */ + phone?: Maybe + /** Zip Postal Code */ + postcode?: Maybe + /** State */ + state?: Maybe +} + +/** Field to order the connection by */ +export enum CustomerConnectionOrderbyEnum { + /** Order by customer email */ + Email = 'EMAIL', + /** Order by customer ID */ + Id = 'ID', + /** Order by include field */ + Include = 'INCLUDE', + /** Order by customer display name */ + Name = 'NAME', + /** Order by customer registration date */ + RegisteredDate = 'REGISTERED_DATE', + /** Order by customer username */ + Username = 'USERNAME', +} + +/** Connection between the Customer type and the DownloadableItem type */ +export type CustomerToDownloadableItemConnection = { + __typename?: 'CustomerToDownloadableItemConnection' + /** Edges for the CustomerToDownloadableItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CustomerToDownloadableItemConnectionEdge = { + __typename?: 'CustomerToDownloadableItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CustomerToDownloadableItemConnection connection */ +export type CustomerToDownloadableItemConnectionWhereArgs = { + /** Limit results to downloadable items that can be downloaded now. */ + active?: Maybe + /** Limit results to downloadable items that are expired. */ + expired?: Maybe + /** Limit results to downloadable items that have downloads remaining. */ + hasDownloadsRemaining?: Maybe +} + +/** Connection between the Customer type and the Order type */ +export type CustomerToOrderConnection = { + __typename?: 'CustomerToOrderConnection' + /** Edges for the CustomerToOrderConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CustomerToOrderConnectionEdge = { + __typename?: 'CustomerToOrderConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CustomerToOrderConnection connection */ +export type CustomerToOrderConnectionWhereArgs = { + /** Limit result set to orders assigned a specific customer. */ + customerId?: Maybe + /** Limit result set to orders assigned a specific group of customers. */ + customersIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to orders assigned a specific product. */ + productId?: Maybe + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to orders assigned a specific status. */ + statuses?: Maybe>> +} + +/** Connection between the Customer type and the Refund type */ +export type CustomerToRefundConnection = { + __typename?: 'CustomerToRefundConnection' + /** Edges for the CustomerToRefundConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CustomerToRefundConnectionEdge = { + __typename?: 'CustomerToRefundConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CustomerToRefundConnection connection */ +export type CustomerToRefundConnectionWhereArgs = { + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to refunds from a specific group of order IDs. */ + orderIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to refunds assigned a specific status. */ + statuses?: Maybe>> +} + +/** Object that can be identified with a Database ID */ +export type DatabaseIdentifier = { + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] +} + +/** Date values */ +export type DateInput = { + /** Day of the month (from 1 to 31) */ + day?: Maybe + /** Month number (from 1 to 12) */ + month?: Maybe + /** 4 digit year (e.g. 2017) */ + year?: Maybe +} + +/** Filter the connection based on input */ +export type DateQueryInput = { + /** Nodes should be returned after this date */ + after?: Maybe + /** Nodes should be returned before this date */ + before?: Maybe + /** Column to query against */ + column?: Maybe + /** For after/before, whether exact value should be matched or not */ + compare?: Maybe + /** Day of the month (from 1 to 31) */ + day?: Maybe + /** Hour (from 0 to 23) */ + hour?: Maybe + /** For after/before, whether exact value should be matched or not */ + inclusive?: Maybe + /** Minute (from 0 to 59) */ + minute?: Maybe + /** Month number (from 1 to 12) */ + month?: Maybe + /** OR or AND, how the sub-arrays should be compared */ + relation?: Maybe + /** Second (0 to 59) */ + second?: Maybe + /** Week of the year (from 0 to 53) */ + week?: Maybe + /** 4 digit year (e.g. 2017) */ + year?: Maybe +} + +/** The template assigned to the node */ +export type DefaultTemplate = ContentTemplate & { + __typename?: 'DefaultTemplate' + /** The name of the template */ + templateName?: Maybe +} + +/** Input for the deleteCategory mutation */ +export type DeleteCategoryInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the category to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteCategory mutation */ +export type DeleteCategoryPayload = { + __typename?: 'DeleteCategoryPayload' + /** The deteted term object */ + category?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe +} + +/** Input for the deleteComment mutation */ +export type DeleteCommentInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the comment should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The deleted comment ID */ + id: Scalars['ID'] +} + +/** The payload for the deleteComment mutation */ +export type DeleteCommentPayload = { + __typename?: 'DeleteCommentPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The deleted comment object */ + comment?: Maybe + /** The deleted comment ID */ + deletedId?: Maybe +} + +/** Input for the deleteCoupon mutation */ +export type DeleteCouponInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Delete the object. Set to "false" by default. */ + forceDelete?: Maybe + /** Unique identifier for the object. */ + id: Scalars['ID'] +} + +/** The payload for the deleteCoupon mutation */ +export type DeleteCouponPayload = { + __typename?: 'DeleteCouponPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + code?: Maybe + coupon?: Maybe +} + +/** Input for the deleteMediaItem mutation */ +export type DeleteMediaItemInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the mediaItem should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The ID of the mediaItem to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteMediaItem mutation */ +export type DeleteMediaItemPayload = { + __typename?: 'DeleteMediaItemPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted mediaItem */ + deletedId?: Maybe + /** The mediaItem before it was deleted */ + mediaItem?: Maybe +} + +/** Input for the deleteOrder mutation */ +export type DeleteOrderInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Delete or simply place in trash. */ + forceDelete?: Maybe + /** Order global ID */ + id?: Maybe + /** Order WP ID */ + orderId?: Maybe +} + +/** Input for the deleteOrderItems mutation */ +export type DeleteOrderItemsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Order global ID */ + id?: Maybe + /** ID Order items being deleted */ + itemIds?: Maybe>> + /** Order WP ID */ + orderId?: Maybe +} + +/** The payload for the deleteOrderItems mutation */ +export type DeleteOrderItemsPayload = { + __typename?: 'DeleteOrderItemsPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + order?: Maybe +} + +/** The payload for the deleteOrder mutation */ +export type DeleteOrderPayload = { + __typename?: 'DeleteOrderPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + order?: Maybe +} + +/** Input for the deletePaColor mutation */ +export type DeletePaColorInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the paColor to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePaColor mutation */ +export type DeletePaColorPayload = { + __typename?: 'DeletePaColorPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + paColor?: Maybe +} + +/** Input for the deletePaSize mutation */ +export type DeletePaSizeInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the paSize to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePaSize mutation */ +export type DeletePaSizePayload = { + __typename?: 'DeletePaSizePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + paSize?: Maybe +} + +/** Input for the deletePage mutation */ +export type DeletePageInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the object should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The ID of the page to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePage mutation */ +export type DeletePagePayload = { + __typename?: 'DeletePagePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The object before it was deleted */ + page?: Maybe +} + +/** Input for the deletePostFormat mutation */ +export type DeletePostFormatInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the postFormat to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePostFormat mutation */ +export type DeletePostFormatPayload = { + __typename?: 'DeletePostFormatPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + postFormat?: Maybe +} + +/** Input for the deletePost mutation */ +export type DeletePostInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the object should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The ID of the post to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePost mutation */ +export type DeletePostPayload = { + __typename?: 'DeletePostPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The object before it was deleted */ + post?: Maybe +} + +/** Input for the deleteProductCategory mutation */ +export type DeleteProductCategoryInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the productCategory to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteProductCategory mutation */ +export type DeleteProductCategoryPayload = { + __typename?: 'DeleteProductCategoryPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + productCategory?: Maybe +} + +/** Input for the deleteProductTag mutation */ +export type DeleteProductTagInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the productTag to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteProductTag mutation */ +export type DeleteProductTagPayload = { + __typename?: 'DeleteProductTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + productTag?: Maybe +} + +/** Input for the deleteProductType mutation */ +export type DeleteProductTypeInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the productType to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteProductType mutation */ +export type DeleteProductTypePayload = { + __typename?: 'DeleteProductTypePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + productType?: Maybe +} + +/** Input for the deleteReview mutation */ +export type DeleteReviewInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the product review should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The ID of the target product review */ + id: Scalars['ID'] +} + +/** The payload for the deleteReview mutation */ +export type DeleteReviewPayload = { + __typename?: 'DeleteReviewPayload' + /** The affected product review ID */ + affectedId?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The product rating of the affected product review */ + rating?: Maybe + /** The affected product review */ + review?: Maybe +} + +/** Input for the deleteShippingClass mutation */ +export type DeleteShippingClassInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the shippingClass to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteShippingClass mutation */ +export type DeleteShippingClassPayload = { + __typename?: 'DeleteShippingClassPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + shippingClass?: Maybe +} + +/** Input for the deleteTag mutation */ +export type DeleteTagInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the tag to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteTag mutation */ +export type DeleteTagPayload = { + __typename?: 'DeleteTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + tag?: Maybe +} + +/** Input for the deleteUser mutation */ +export type DeleteUserInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the user you want to delete */ + id: Scalars['ID'] + /** Reassign posts and links to new User ID. */ + reassignId?: Maybe +} + +/** The payload for the deleteUser mutation */ +export type DeleteUserPayload = { + __typename?: 'DeleteUserPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the user that you just deleted */ + deletedId?: Maybe + /** The deleted user object */ + user?: Maybe +} + +/** Input for the deleteVisibleProduct mutation */ +export type DeleteVisibleProductInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the visibleProduct to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteVisibleProduct mutation */ +export type DeleteVisibleProductPayload = { + __typename?: 'DeleteVisibleProductPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + visibleProduct?: Maybe +} + +/** Coupon discount type enumeration */ +export enum DiscountTypeEnum { + /** Fixed cart discount */ + FixedCart = 'FIXED_CART', + /** Fixed product discount */ + FixedProduct = 'FIXED_PRODUCT', + /** Percentage discount */ + Percent = 'PERCENT', +} + +/** The discussion setting type */ +export type DiscussionSettings = { + __typename?: 'DiscussionSettings' + /** Allow people to submit comments on new posts. */ + defaultCommentStatus?: Maybe + /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ + defaultPingStatus?: Maybe +} + +/** A downloadable item */ +export type DownloadableItem = { + __typename?: 'DownloadableItem' + /** The date the downloadable item expires */ + accessExpires?: Maybe + /** ProductDownload of the downloadable item */ + download?: Maybe + /** Downloadable item unique identifier */ + downloadId: Scalars['String'] + /** Number of times the item can be downloaded. */ + downloadsRemaining?: Maybe + /** Name of the downloadable item. */ + name?: Maybe + /** Product of downloadable item. */ + product?: Maybe + /** Download URL of the downloadable item. */ + url?: Maybe +} + +/** Input for the emptyCart mutation */ +export type EmptyCartInput = { + clearPersistentCart?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** The payload for the emptyCart mutation */ +export type EmptyCartPayload = { + __typename?: 'EmptyCartPayload' + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + deletedCart?: Maybe +} + +/** Asset enqueued by the CMS */ +export type EnqueuedAsset = { + /** @todo */ + args?: Maybe + /** Dependencies needed to use this asset */ + dependencies?: Maybe>> + /** Extra information needed for the script */ + extra?: Maybe + /** The handle of the enqueued asset */ + handle?: Maybe + /** The ID of the enqueued asset */ + id: Scalars['ID'] + /** The source of the asset */ + src?: Maybe + /** The version of the enqueued asset */ + version?: Maybe +} + +/** Script enqueued by the CMS */ +export type EnqueuedScript = Node & + EnqueuedAsset & { + __typename?: 'EnqueuedScript' + /** @todo */ + args?: Maybe + /** Dependencies needed to use this asset */ + dependencies?: Maybe>> + /** Extra information needed for the script */ + extra?: Maybe + /** The handle of the enqueued asset */ + handle?: Maybe + /** The ID of the enqueued asset */ + id: Scalars['ID'] + /** The source of the asset */ + src?: Maybe + /** The version of the enqueued asset */ + version?: Maybe + } + +/** Stylesheet enqueued by the CMS */ +export type EnqueuedStylesheet = Node & + EnqueuedAsset & { + __typename?: 'EnqueuedStylesheet' + /** @todo */ + args?: Maybe + /** Dependencies needed to use this asset */ + dependencies?: Maybe>> + /** Extra information needed for the script */ + extra?: Maybe + /** The handle of the enqueued asset */ + handle?: Maybe + /** The ID of the enqueued asset */ + id: Scalars['ID'] + /** The source of the asset */ + src?: Maybe + /** The version of the enqueued asset */ + version?: Maybe + } + +/** A external product object */ +export type ExternalProduct = Node & + Product & + NodeWithComments & + NodeWithContentEditor & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'ExternalProduct' + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** External product Buy button text */ + buttonText?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Connection between the ExternalProduct type and the VariationAttribute type */ + defaultAttributes?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** External product url */ + externalUrl?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date product last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Product's active price */ + price?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Product's regular price */ + regularPrice?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Product's sale price */ + salePrice?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** Product status */ + status?: Maybe + /** Tax class */ + taxClass?: Maybe + /** Tax status */ + taxStatus?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe + } + +/** A external product object */ +export type ExternalProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductContentArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductDefaultAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A external product object */ +export type ExternalProductDescriptionArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A external product object */ +export type ExternalProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A external product object */ +export type ExternalProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A external product object */ +export type ExternalProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductPriceArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductRegularPriceArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductSalePriceArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductShortDescriptionArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the ExternalProduct type and the VariationAttribute type */ +export type ExternalProductToVariationAttributeConnection = { + __typename?: 'ExternalProductToVariationAttributeConnection' + /** Edges for the ExternalProductToVariationAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ExternalProductToVariationAttributeConnectionEdge = { + __typename?: 'ExternalProductToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** a fee line object */ +export type FeeLine = { + __typename?: 'FeeLine' + /** Fee amount */ + amount?: Maybe + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Fee name */ + name?: Maybe + /** The Id of the order the order item belongs to. */ + orderId?: Maybe + /** Line tax class */ + taxClass?: Maybe + /** Tax status of fee */ + taxStatus?: Maybe + /** Line taxes */ + taxes?: Maybe>> + /** Line total (after discounts) */ + total?: Maybe + /** Line total tax (after discounts) */ + totalTax?: Maybe +} + +/** a fee line object */ +export type FeeLineMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** Fee line data. */ +export type FeeLineInput = { + /** Fee amount. */ + amount?: Maybe + /** Fee Line ID */ + id?: Maybe + /** Fee name. */ + name?: Maybe + /** Tax class of fee. */ + taxClass?: Maybe + /** Tax status of fee. */ + taxStatus?: Maybe + /** Line total (after discounts). */ + total?: Maybe +} + +/** Input for the fillCart mutation */ +export type FillCartInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupons to be applied to the cart */ + coupons?: Maybe>> + /** Cart items to be added */ + items?: Maybe>> + /** Shipping methods to be used. */ + shippingMethods?: Maybe>> +} + +/** The payload for the fillCart mutation */ +export type FillCartPayload = { + __typename?: 'FillCartPayload' + added?: Maybe>> + applied?: Maybe>> + cart?: Maybe + cartErrors?: Maybe>> + chosenShippingMethods?: Maybe>> + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** The general setting type */ +export type GeneralSettings = { + __typename?: 'GeneralSettings' + /** A date format for all date strings. */ + dateFormat?: Maybe + /** Site tagline. */ + description?: Maybe + /** This address is used for admin purposes, like new user notification. */ + email?: Maybe + /** WordPress locale code. */ + language?: Maybe + /** A day number of the week that the week should start on. */ + startOfWeek?: Maybe + /** A time format for all time strings. */ + timeFormat?: Maybe + /** A city in the same timezone as you. */ + timezone?: Maybe + /** Site title. */ + title?: Maybe + /** Site URL. */ + url?: Maybe +} + +/** A product attribute object */ +export type GlobalProductAttribute = ProductAttribute & { + __typename?: 'GlobalProductAttribute' + /** Attribute ID */ + attributeId: Scalars['Int'] + /** Attribute Global ID */ + id: Scalars['ID'] + /** Attribute label */ + label: Scalars['String'] + /** Product attribute name */ + name: Scalars['String'] + /** Attribute options */ + options?: Maybe>> + /** Attribute position */ + position: Scalars['Int'] + /** Product attribute scope. */ + scope: ProductAttributeTypesEnum + /** Product attribute slug */ + slug: Scalars['String'] + /** Connection between the GlobalProductAttribute type and the TermNode type */ + terms?: Maybe + /** Is attribute on product variation */ + variation: Scalars['Boolean'] + /** Is attribute visible */ + visible: Scalars['Boolean'] +} + +/** A product attribute object */ +export type GlobalProductAttributeTermsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the GlobalProductAttribute type and the TermNode type */ +export type GlobalProductAttributeToTermNodeConnection = { + __typename?: 'GlobalProductAttributeToTermNodeConnection' + /** Edges for the GlobalProductAttributeToTermNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type GlobalProductAttributeToTermNodeConnectionEdge = { + __typename?: 'GlobalProductAttributeToTermNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the GlobalProductAttributeToTermNodeConnection connection */ +export type GlobalProductAttributeToTermNodeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** A group product object */ +export type GroupProduct = Node & + Product & + NodeWithComments & + NodeWithContentEditor & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'GroupProduct' + /** Product's add to cart button text description */ + addToCartDescription?: Maybe + /** Product's add to cart button text description */ + addToCartText?: Maybe + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Connection between the GroupProduct type and the VariationAttribute type */ + defaultAttributes?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date product last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Products' price range */ + price?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Connection between the GroupProduct type and the Product type */ + products?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** Product status */ + status?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe + } + +/** A group product object */ +export type GroupProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductContentArgs = { + format?: Maybe +} + +/** A group product object */ +export type GroupProductDefaultAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A group product object */ +export type GroupProductDescriptionArgs = { + format?: Maybe +} + +/** A group product object */ +export type GroupProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A group product object */ +export type GroupProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A group product object */ +export type GroupProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A group product object */ +export type GroupProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductShortDescriptionArgs = { + format?: Maybe +} + +/** A group product object */ +export type GroupProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the GroupProduct type and the Product type */ +export type GroupProductToProductConnection = { + __typename?: 'GroupProductToProductConnection' + /** Edges for the GroupProductToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type GroupProductToProductConnectionEdge = { + __typename?: 'GroupProductToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the GroupProductToProductConnection connection */ +export type GroupProductToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the GroupProduct type and the VariationAttribute type */ +export type GroupProductToVariationAttributeConnection = { + __typename?: 'GroupProductToVariationAttributeConnection' + /** Edges for the GroupProductToVariationAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type GroupProductToVariationAttributeConnectionEdge = { + __typename?: 'GroupProductToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Content node with hierarchical (parent/child) relationships */ +export type HierarchicalContentNode = { + /** Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** Connection between the HierarchicalContentNode type and the ContentNode type */ + children?: Maybe + /** The parent of the node. The parent object can be of various types */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe +} + +/** Content node with hierarchical (parent/child) relationships */ +export type HierarchicalContentNodeAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Content node with hierarchical (parent/child) relationships */ +export type HierarchicalContentNodeChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the HierarchicalContentNode type and the ContentNode type */ +export type HierarchicalContentNodeToContentNodeAncestorsConnection = { + __typename?: 'HierarchicalContentNodeToContentNodeAncestorsConnection' + /** Edges for the HierarchicalContentNodeToContentNodeAncestorsConnection connection */ + edges?: Maybe< + Array> + > + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type HierarchicalContentNodeToContentNodeAncestorsConnectionEdge = { + __typename?: 'HierarchicalContentNodeToContentNodeAncestorsConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the HierarchicalContentNodeToContentNodeAncestorsConnection connection */ +export type HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the HierarchicalContentNode type and the ContentNode type */ +export type HierarchicalContentNodeToContentNodeChildrenConnection = { + __typename?: 'HierarchicalContentNodeToContentNodeChildrenConnection' + /** Edges for the HierarchicalContentNodeToContentNodeChildrenConnection connection */ + edges?: Maybe< + Array> + > + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type HierarchicalContentNodeToContentNodeChildrenConnectionEdge = { + __typename?: 'HierarchicalContentNodeToContentNodeChildrenConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the HierarchicalContentNodeToContentNodeChildrenConnection connection */ +export type HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the HierarchicalContentNode type and the ContentNode type */ +export type HierarchicalContentNodeToParentContentNodeConnectionEdge = { + __typename?: 'HierarchicalContentNodeToParentContentNodeConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Term node with hierarchical (parent/child) relationships */ +export type HierarchicalTermNode = { + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe +} + +/** a line item object */ +export type LineItem = { + __typename?: 'LineItem' + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Line item's taxes */ + itemDownloads?: Maybe>> + /** Object meta data */ + metaData?: Maybe>> + /** The Id of the order the order item belongs to. */ + orderId?: Maybe + /** Line item's product object */ + product?: Maybe + /** Line item's product ID */ + productId?: Maybe + /** Line item's product quantity */ + quantity?: Maybe + /** Line item's subtotal */ + subtotal?: Maybe + /** Line item's subtotal tax */ + subtotalTax?: Maybe + /** Line item's tax class */ + taxClass?: Maybe + /** Line item's taxes */ + taxStatus?: Maybe + /** Line item's taxes */ + taxes?: Maybe>> + /** Line item's total */ + total?: Maybe + /** Line item's total tax */ + totalTax?: Maybe + /** Line item's product variation object */ + variation?: Maybe + /** Line item's product variation ID */ + variationId?: Maybe +} + +/** a line item object */ +export type LineItemMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** Meta data. */ +export type LineItemInput = { + /** Line Item ID */ + id?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** Line name */ + name?: Maybe + /** Product ID. */ + productId?: Maybe + /** Quantity ordered. */ + quantity?: Maybe + /** Product SKU. */ + sku?: Maybe + /** Line subtotal (before discounts). */ + subtotal?: Maybe + /** Tax class of product. */ + taxClass?: Maybe + /** Line total (after discounts). */ + total?: Maybe + /** Variation ID, if applicable. */ + variationId?: Maybe +} + +/** A product attribute object */ +export type LocalProductAttribute = ProductAttribute & { + __typename?: 'LocalProductAttribute' + /** Attribute ID */ + attributeId: Scalars['Int'] + /** Attribute Global ID */ + id: Scalars['ID'] + /** Attribute label */ + label: Scalars['String'] + /** Attribute name */ + name: Scalars['String'] + /** Attribute options */ + options?: Maybe>> + /** Attribute position */ + position: Scalars['Int'] + /** Product attribute scope. */ + scope: ProductAttributeTypesEnum + /** Is attribute on product variation */ + variation: Scalars['Boolean'] + /** Is attribute visible */ + visible: Scalars['Boolean'] +} + +/** Product manage stock enumeration */ +export enum ManageStockEnum { + False = 'FALSE', + Parent = 'PARENT', + True = 'TRUE', +} + +/** File details for a Media Item */ +export type MediaDetails = { + __typename?: 'MediaDetails' + /** The filename of the mediaItem */ + file?: Maybe + /** The height of the mediaItem */ + height?: Maybe + /** Meta information associated with the mediaItem */ + meta?: Maybe + /** The available sizes of the mediaItem */ + sizes?: Maybe>> + /** The width of the mediaItem */ + width?: Maybe +} + +/** The mediaItem type */ +export type MediaItem = Node & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + NodeWithTemplate & + NodeWithTitle & + NodeWithAuthor & + NodeWithComments & + HierarchicalContentNode & { + __typename?: 'MediaItem' + /** Alternative text to display when resource is not displayed */ + altText?: Maybe + /** Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** Connection between the NodeWithAuthor type and the User type */ + author?: Maybe + /** The database identifier of the author of the node */ + authorDatabaseId?: Maybe + /** The globally unique identifier of the author of the node */ + authorId?: Maybe + /** The caption for the resource */ + caption?: Maybe + /** Connection between the HierarchicalContentNode type and the ContentNode type */ + children?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** Connection between the mediaItem type and the Comment type */ + comments?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Description of the image (stored as post_content) */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The filesize in bytes of the resource */ + fileSize?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier of the attachment object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Details about the mediaItem */ + mediaDetails?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of the databaseId field + */ + mediaItemId: Scalars['Int'] + /** Url of the mediaItem */ + mediaItemUrl?: Maybe + /** Type of resource */ + mediaType?: Maybe + /** The mime type of the mediaItem */ + mimeType?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** The parent of the node. The parent object can be of various types */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** The sizes attribute value for an image. */ + sizes?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** Url of the mediaItem */ + sourceUrl?: Maybe + /** The srcset attribute specifies the URL of the image to use in different situations. It is a comma separated string of urls and their widths. */ + srcSet?: Maybe + /** The current status of the object */ + status?: Maybe + /** The template assigned to the node */ + template?: Maybe + /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ + title?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The mediaItem type */ +export type MediaItemAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The mediaItem type */ +export type MediaItemCaptionArgs = { + format?: Maybe +} + +/** The mediaItem type */ +export type MediaItemChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The mediaItem type */ +export type MediaItemCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The mediaItem type */ +export type MediaItemDescriptionArgs = { + format?: Maybe +} + +/** The mediaItem type */ +export type MediaItemEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The mediaItem type */ +export type MediaItemEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The mediaItem type */ +export type MediaItemFileSizeArgs = { + size?: Maybe +} + +/** The mediaItem type */ +export type MediaItemSizesArgs = { + size?: Maybe +} + +/** The mediaItem type */ +export type MediaItemSourceUrlArgs = { + size?: Maybe +} + +/** The mediaItem type */ +export type MediaItemSrcSetArgs = { + size?: Maybe +} + +/** The mediaItem type */ +export type MediaItemTitleArgs = { + format?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum MediaItemIdType { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ + Slug = 'SLUG', + /** Identify a media item by its source url */ + SourceUrl = 'SOURCE_URL', + /** Identify a resource by the URI. */ + Uri = 'URI', +} + +/** Meta connected to a MediaItem */ +export type MediaItemMeta = { + __typename?: 'MediaItemMeta' + /** Aperture measurement of the media item. */ + aperture?: Maybe + /** Information about the camera used to create the media item. */ + camera?: Maybe + /** The text string description associated with the media item. */ + caption?: Maybe + /** Copyright information associated with the media item. */ + copyright?: Maybe + /** The date/time when the media was created. */ + createdTimestamp?: Maybe + /** The original creator of the media item. */ + credit?: Maybe + /** The focal length value of the media item. */ + focalLength?: Maybe + /** The ISO (International Organization for Standardization) value of the media item. */ + iso?: Maybe + /** List of keywords used to describe or identfy the media item. */ + keywords?: Maybe>> + /** The vertical or horizontal aspect of the media item. */ + orientation?: Maybe + /** The shutter speed information of the media item. */ + shutterSpeed?: Maybe + /** A useful title for the media item. */ + title?: Maybe +} + +/** The size of the media item object. */ +export enum MediaItemSizeEnum { + /** MediaItem with the large size */ + Large = 'LARGE', + /** MediaItem with the medium size */ + Medium = 'MEDIUM', + /** MediaItem with the medium_large size */ + MediumLarge = 'MEDIUM_LARGE', + /** MediaItem with the shop_catalog size */ + ShopCatalog = 'SHOP_CATALOG', + /** MediaItem with the shop_single size */ + ShopSingle = 'SHOP_SINGLE', + /** MediaItem with the shop_thumbnail size */ + ShopThumbnail = 'SHOP_THUMBNAIL', + /** MediaItem with the thumbnail size */ + Thumbnail = 'THUMBNAIL', + /** MediaItem with the woocommerce_gallery_thumbnail size */ + WoocommerceGalleryThumbnail = 'WOOCOMMERCE_GALLERY_THUMBNAIL', + /** MediaItem with the woocommerce_single size */ + WoocommerceSingle = 'WOOCOMMERCE_SINGLE', + /** MediaItem with the woocommerce_thumbnail size */ + WoocommerceThumbnail = 'WOOCOMMERCE_THUMBNAIL', + /** MediaItem with the 1536x1536 size */ + '1536X1536' = '_1536X1536', + /** MediaItem with the 2048x2048 size */ + '2048X2048' = '_2048X2048', +} + +/** The status of the media item object. */ +export enum MediaItemStatusEnum { + /** Objects with the auto-draft status */ + AutoDraft = 'AUTO_DRAFT', + /** Objects with the inherit status */ + Inherit = 'INHERIT', + /** Objects with the private status */ + Private = 'PRIVATE', + /** Objects with the trash status */ + Trash = 'TRASH', +} + +/** Connection between the mediaItem type and the Comment type */ +export type MediaItemToCommentConnection = { + __typename?: 'MediaItemToCommentConnection' + /** Edges for the MediaItemToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type MediaItemToCommentConnectionEdge = { + __typename?: 'MediaItemToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the MediaItemToCommentConnection connection */ +export type MediaItemToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Details of an available size for a media item */ +export type MediaSize = { + __typename?: 'MediaSize' + /** The filename of the referenced size */ + file?: Maybe + /** The filesize of the resource */ + fileSize?: Maybe + /** The height of the referenced size */ + height?: Maybe + /** The mime type of the referenced size */ + mimeType?: Maybe + /** The referenced size name */ + name?: Maybe + /** The url of the referenced size */ + sourceUrl?: Maybe + /** The width of the referenced size */ + width?: Maybe +} + +/** Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. */ +export type Menu = Node & + DatabaseIdentifier & { + __typename?: 'Menu' + /** The number of items in the menu */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The globally unique identifier of the nav menu object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** The locations a menu is assigned to */ + locations?: Maybe>> + /** + * WP ID of the nav menu. + * @deprecated Deprecated in favor of the databaseId field + */ + menuId?: Maybe + /** Connection between the Menu type and the MenuItem type */ + menuItems?: Maybe + /** Display name of the menu. Equivalent to WP_Term->name. */ + name?: Maybe + /** The url friendly name of the menu. Equivalent to WP_Term->slug */ + slug?: Maybe + } + +/** Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. */ +export type MenuMenuItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. */ +export type MenuItem = Node & + DatabaseIdentifier & { + __typename?: 'MenuItem' + /** Connection between the MenuItem type and the MenuItem type */ + childItems?: Maybe + /** Connection from MenuItem to it's connected node */ + connectedNode?: Maybe + /** + * The object connected to this menu item. + * @deprecated Deprecated in favor of the connectedNode field + */ + connectedObject?: Maybe + /** Class attribute for the menu item link */ + cssClasses?: Maybe>> + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** Description of the menu item. */ + description?: Maybe + /** The globally unique identifier of the nav menu item object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Label or title of the menu item. */ + label?: Maybe + /** Link relationship (XFN) of the menu item. */ + linkRelationship?: Maybe + /** The locations the menu item's Menu is assigned to */ + locations?: Maybe>> + /** The Menu a MenuItem is part of */ + menu?: Maybe + /** + * WP ID of the menu item. + * @deprecated Deprecated in favor of the databaseId field + */ + menuItemId?: Maybe + /** Menu item order */ + order?: Maybe + /** The database id of the parent menu item or null if it is the root */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent nav menu item object. */ + parentId?: Maybe + /** Path for the resource. Relative path for internal resources. Absolute path for external resources. */ + path?: Maybe + /** Target attribute for the menu item link. */ + target?: Maybe + /** Title attribute for the menu item link */ + title?: Maybe + /** URL or destination of the menu item. */ + url?: Maybe + } + +/** Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. */ +export type MenuItemChildItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Nodes that can be linked to as Menu Items */ +export type MenuItemLinkable = { + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The unique resource identifier path */ + id: Scalars['ID'] + /** The unique resource identifier path */ + uri?: Maybe +} + +/** The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. */ +export enum MenuItemNodeIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Deprecated in favor of MenuItemLinkeable Interface */ +export type MenuItemObjectUnion = + | Post + | Page + | Category + | Tag + | ProductCategory + | ProductTag + +/** Connection between the MenuItem type and the Menu type */ +export type MenuItemToMenuConnectionEdge = { + __typename?: 'MenuItemToMenuConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the MenuItem type and the MenuItem type */ +export type MenuItemToMenuItemConnection = { + __typename?: 'MenuItemToMenuItemConnection' + /** Edges for the MenuItemToMenuItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type MenuItemToMenuItemConnectionEdge = { + __typename?: 'MenuItemToMenuItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the MenuItemToMenuItemConnection connection */ +export type MenuItemToMenuItemConnectionWhereArgs = { + /** The ID of the object */ + id?: Maybe + /** The menu location for the menu being queried */ + location?: Maybe + /** The database ID of the parent menu object */ + parentDatabaseId?: Maybe + /** The ID of the parent menu object */ + parentId?: Maybe +} + +/** Connection between the MenuItem type and the MenuItemLinkable type */ +export type MenuItemToMenuItemLinkableConnectionEdge = { + __typename?: 'MenuItemToMenuItemLinkableConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Registered menu locations */ +export enum MenuLocationEnum { + /** Empty menu location */ + Empty = 'EMPTY', +} + +/** The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. */ +export enum MenuNodeIdTypeEnum { + /** Identify a menu node by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a menu node by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a menu node by it's name */ + Name = 'NAME', +} + +/** Connection between the Menu type and the MenuItem type */ +export type MenuToMenuItemConnection = { + __typename?: 'MenuToMenuItemConnection' + /** Edges for the MenuToMenuItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type MenuToMenuItemConnectionEdge = { + __typename?: 'MenuToMenuItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the MenuToMenuItemConnection connection */ +export type MenuToMenuItemConnectionWhereArgs = { + /** The ID of the object */ + id?: Maybe + /** The menu location for the menu being queried */ + location?: Maybe + /** The database ID of the parent menu object */ + parentDatabaseId?: Maybe + /** The ID of the parent menu object */ + parentId?: Maybe +} + +/** Extra data defined on the WC object */ +export type MetaData = { + __typename?: 'MetaData' + /** Meta ID. */ + id?: Maybe + /** Meta key. */ + key: Scalars['String'] + /** Meta value. */ + value?: Maybe +} + +/** Meta data. */ +export type MetaDataInput = { + /** Meta key. */ + key: Scalars['String'] + /** Meta value. */ + value: Scalars['String'] +} + +/** The MimeType of the object */ +export enum MimeTypeEnum { + /** MimeType application/java */ + ApplicationJava = 'APPLICATION_JAVA', + /** MimeType application/msword */ + ApplicationMsword = 'APPLICATION_MSWORD', + /** MimeType application/octet-stream */ + ApplicationOctetStream = 'APPLICATION_OCTET_STREAM', + /** MimeType application/onenote */ + ApplicationOnenote = 'APPLICATION_ONENOTE', + /** MimeType application/oxps */ + ApplicationOxps = 'APPLICATION_OXPS', + /** MimeType application/pdf */ + ApplicationPdf = 'APPLICATION_PDF', + /** MimeType application/rar */ + ApplicationRar = 'APPLICATION_RAR', + /** MimeType application/rtf */ + ApplicationRtf = 'APPLICATION_RTF', + /** MimeType application/ttaf+xml */ + ApplicationTtafXml = 'APPLICATION_TTAF_XML', + /** MimeType application/vnd.apple.keynote */ + ApplicationVndAppleKeynote = 'APPLICATION_VND_APPLE_KEYNOTE', + /** MimeType application/vnd.apple.numbers */ + ApplicationVndAppleNumbers = 'APPLICATION_VND_APPLE_NUMBERS', + /** MimeType application/vnd.apple.pages */ + ApplicationVndApplePages = 'APPLICATION_VND_APPLE_PAGES', + /** MimeType application/vnd.ms-access */ + ApplicationVndMsAccess = 'APPLICATION_VND_MS_ACCESS', + /** MimeType application/vnd.ms-excel */ + ApplicationVndMsExcel = 'APPLICATION_VND_MS_EXCEL', + /** MimeType application/vnd.ms-excel.addin.macroEnabled.12 */ + ApplicationVndMsExcelAddinMacroenabled_12 = 'APPLICATION_VND_MS_EXCEL_ADDIN_MACROENABLED_12', + /** MimeType application/vnd.ms-excel.sheet.binary.macroEnabled.12 */ + ApplicationVndMsExcelSheetBinaryMacroenabled_12 = 'APPLICATION_VND_MS_EXCEL_SHEET_BINARY_MACROENABLED_12', + /** MimeType application/vnd.ms-excel.sheet.macroEnabled.12 */ + ApplicationVndMsExcelSheetMacroenabled_12 = 'APPLICATION_VND_MS_EXCEL_SHEET_MACROENABLED_12', + /** MimeType application/vnd.ms-excel.template.macroEnabled.12 */ + ApplicationVndMsExcelTemplateMacroenabled_12 = 'APPLICATION_VND_MS_EXCEL_TEMPLATE_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint */ + ApplicationVndMsPowerpoint = 'APPLICATION_VND_MS_POWERPOINT', + /** MimeType application/vnd.ms-powerpoint.addin.macroEnabled.12 */ + ApplicationVndMsPowerpointAddinMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_ADDIN_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint.presentation.macroEnabled.12 */ + ApplicationVndMsPowerpointPresentationMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_PRESENTATION_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 */ + ApplicationVndMsPowerpointSlideshowMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_SLIDESHOW_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint.slide.macroEnabled.12 */ + ApplicationVndMsPowerpointSlideMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_SLIDE_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint.template.macroEnabled.12 */ + ApplicationVndMsPowerpointTemplateMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_TEMPLATE_MACROENABLED_12', + /** MimeType application/vnd.ms-project */ + ApplicationVndMsProject = 'APPLICATION_VND_MS_PROJECT', + /** MimeType application/vnd.ms-word.document.macroEnabled.12 */ + ApplicationVndMsWordDocumentMacroenabled_12 = 'APPLICATION_VND_MS_WORD_DOCUMENT_MACROENABLED_12', + /** MimeType application/vnd.ms-word.template.macroEnabled.12 */ + ApplicationVndMsWordTemplateMacroenabled_12 = 'APPLICATION_VND_MS_WORD_TEMPLATE_MACROENABLED_12', + /** MimeType application/vnd.ms-write */ + ApplicationVndMsWrite = 'APPLICATION_VND_MS_WRITE', + /** MimeType application/vnd.ms-xpsdocument */ + ApplicationVndMsXpsdocument = 'APPLICATION_VND_MS_XPSDOCUMENT', + /** MimeType application/vnd.oasis.opendocument.chart */ + ApplicationVndOasisOpendocumentChart = 'APPLICATION_VND_OASIS_OPENDOCUMENT_CHART', + /** MimeType application/vnd.oasis.opendocument.database */ + ApplicationVndOasisOpendocumentDatabase = 'APPLICATION_VND_OASIS_OPENDOCUMENT_DATABASE', + /** MimeType application/vnd.oasis.opendocument.formula */ + ApplicationVndOasisOpendocumentFormula = 'APPLICATION_VND_OASIS_OPENDOCUMENT_FORMULA', + /** MimeType application/vnd.oasis.opendocument.graphics */ + ApplicationVndOasisOpendocumentGraphics = 'APPLICATION_VND_OASIS_OPENDOCUMENT_GRAPHICS', + /** MimeType application/vnd.oasis.opendocument.presentation */ + ApplicationVndOasisOpendocumentPresentation = 'APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION', + /** MimeType application/vnd.oasis.opendocument.spreadsheet */ + ApplicationVndOasisOpendocumentSpreadsheet = 'APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET', + /** MimeType application/vnd.oasis.opendocument.text */ + ApplicationVndOasisOpendocumentText = 'APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT', + /** MimeType application/vnd.openxmlformats-officedocument.presentationml.presentation */ + ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION', + /** MimeType application/vnd.openxmlformats-officedocument.presentationml.slide */ + ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlide = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDE', + /** MimeType application/vnd.openxmlformats-officedocument.presentationml.slideshow */ + ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlideshow = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDESHOW', + /** MimeType application/vnd.openxmlformats-officedocument.presentationml.template */ + ApplicationVndOpenxmlformatsOfficedocumentPresentationmlTemplate = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_TEMPLATE', + /** MimeType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet */ + ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET', + /** MimeType application/vnd.openxmlformats-officedocument.spreadsheetml.template */ + ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_TEMPLATE', + /** MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.document */ + ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT', + /** MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.template */ + ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlTemplate = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_TEMPLATE', + /** MimeType application/wordperfect */ + ApplicationWordperfect = 'APPLICATION_WORDPERFECT', + /** MimeType application/x-7z-compressed */ + ApplicationX_7ZCompressed = 'APPLICATION_X_7Z_COMPRESSED', + /** MimeType application/x-gzip */ + ApplicationXGzip = 'APPLICATION_X_GZIP', + /** MimeType application/x-tar */ + ApplicationXTar = 'APPLICATION_X_TAR', + /** MimeType application/zip */ + ApplicationZip = 'APPLICATION_ZIP', + /** MimeType audio/aac */ + AudioAac = 'AUDIO_AAC', + /** MimeType audio/flac */ + AudioFlac = 'AUDIO_FLAC', + /** MimeType audio/midi */ + AudioMidi = 'AUDIO_MIDI', + /** MimeType audio/mpeg */ + AudioMpeg = 'AUDIO_MPEG', + /** MimeType audio/ogg */ + AudioOgg = 'AUDIO_OGG', + /** MimeType audio/wav */ + AudioWav = 'AUDIO_WAV', + /** MimeType audio/x-matroska */ + AudioXMatroska = 'AUDIO_X_MATROSKA', + /** MimeType audio/x-ms-wax */ + AudioXMsWax = 'AUDIO_X_MS_WAX', + /** MimeType audio/x-ms-wma */ + AudioXMsWma = 'AUDIO_X_MS_WMA', + /** MimeType audio/x-realaudio */ + AudioXRealaudio = 'AUDIO_X_REALAUDIO', + /** MimeType image/bmp */ + ImageBmp = 'IMAGE_BMP', + /** MimeType image/gif */ + ImageGif = 'IMAGE_GIF', + /** MimeType image/heic */ + ImageHeic = 'IMAGE_HEIC', + /** MimeType image/jpeg */ + ImageJpeg = 'IMAGE_JPEG', + /** MimeType image/png */ + ImagePng = 'IMAGE_PNG', + /** MimeType image/tiff */ + ImageTiff = 'IMAGE_TIFF', + /** MimeType image/webp */ + ImageWebp = 'IMAGE_WEBP', + /** MimeType image/x-icon */ + ImageXIcon = 'IMAGE_X_ICON', + /** MimeType text/calendar */ + TextCalendar = 'TEXT_CALENDAR', + /** MimeType text/css */ + TextCss = 'TEXT_CSS', + /** MimeType text/csv */ + TextCsv = 'TEXT_CSV', + /** MimeType text/plain */ + TextPlain = 'TEXT_PLAIN', + /** MimeType text/richtext */ + TextRichtext = 'TEXT_RICHTEXT', + /** MimeType text/tab-separated-values */ + TextTabSeparatedValues = 'TEXT_TAB_SEPARATED_VALUES', + /** MimeType text/vtt */ + TextVtt = 'TEXT_VTT', + /** MimeType video/3gpp */ + Video_3Gpp = 'VIDEO_3GPP', + /** MimeType video/3gpp2 */ + Video_3Gpp2 = 'VIDEO_3GPP2', + /** MimeType video/avi */ + VideoAvi = 'VIDEO_AVI', + /** MimeType video/divx */ + VideoDivx = 'VIDEO_DIVX', + /** MimeType video/mp4 */ + VideoMp4 = 'VIDEO_MP4', + /** MimeType video/mpeg */ + VideoMpeg = 'VIDEO_MPEG', + /** MimeType video/ogg */ + VideoOgg = 'VIDEO_OGG', + /** MimeType video/quicktime */ + VideoQuicktime = 'VIDEO_QUICKTIME', + /** MimeType video/webm */ + VideoWebm = 'VIDEO_WEBM', + /** MimeType video/x-flv */ + VideoXFlv = 'VIDEO_X_FLV', + /** MimeType video/x-matroska */ + VideoXMatroska = 'VIDEO_X_MATROSKA', + /** MimeType video/x-ms-asf */ + VideoXMsAsf = 'VIDEO_X_MS_ASF', + /** MimeType video/x-ms-wm */ + VideoXMsWm = 'VIDEO_X_MS_WM', + /** MimeType video/x-ms-wmv */ + VideoXMsWmv = 'VIDEO_X_MS_WMV', + /** MimeType video/x-ms-wmx */ + VideoXMsWmx = 'VIDEO_X_MS_WMX', +} + +/** An object with an ID */ +export type Node = { + /** The globally unique ID for the object */ + id: Scalars['ID'] +} + +/** A node that can have an author assigned to it */ +export type NodeWithAuthor = { + /** Connection between the NodeWithAuthor type and the User type */ + author?: Maybe + /** The database identifier of the author of the node */ + authorDatabaseId?: Maybe + /** The globally unique identifier of the author of the node */ + authorId?: Maybe +} + +/** Connection between the NodeWithAuthor type and the User type */ +export type NodeWithAuthorToUserConnectionEdge = { + __typename?: 'NodeWithAuthorToUserConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** A node that can have comments associated with it */ +export type NodeWithComments = { + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe +} + +/** A node that supports the content editor */ +export type NodeWithContentEditor = { + /** The content of the post. */ + content?: Maybe +} + +/** A node that supports the content editor */ +export type NodeWithContentEditorContentArgs = { + format?: Maybe +} + +/** A node that can have an excerpt */ +export type NodeWithExcerpt = { + /** The excerpt of the post. */ + excerpt?: Maybe +} + +/** A node that can have an excerpt */ +export type NodeWithExcerptExcerptArgs = { + format?: Maybe +} + +/** A node that can have a featured image set */ +export type NodeWithFeaturedImage = { + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** The current status of the object */ + status?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** The unique resource identifier path */ + uri?: Maybe +} + +/** A node that can have a featured image set */ +export type NodeWithFeaturedImageEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A node that can have a featured image set */ +export type NodeWithFeaturedImageEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** Connection between the NodeWithFeaturedImage type and the MediaItem type */ +export type NodeWithFeaturedImageToMediaItemConnectionEdge = { + __typename?: 'NodeWithFeaturedImageToMediaItemConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** A node that can have page attributes */ +export type NodeWithPageAttributes = { + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe +} + +/** A node that can have revisions */ +export type NodeWithRevisions = { + /** True if the node is a revision of another node */ + isRevision?: Maybe + /** If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. */ + revisionOf?: Maybe +} + +/** Connection between the NodeWithRevisions type and the ContentNode type */ +export type NodeWithRevisionsToContentNodeConnectionEdge = { + __typename?: 'NodeWithRevisionsToContentNodeConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** A node that can have a template associated with it */ +export type NodeWithTemplate = { + /** The template assigned to the node */ + template?: Maybe +} + +/** A node that NodeWith a title */ +export type NodeWithTitle = { + /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ + title?: Maybe +} + +/** A node that NodeWith a title */ +export type NodeWithTitleTitleArgs = { + format?: Maybe +} + +/** A node that can have trackbacks and pingbacks */ +export type NodeWithTrackbacks = { + /** Whether the pings are open or closed for this particular post. */ + pingStatus?: Maybe + /** URLs that have been pinged. */ + pinged?: Maybe>> + /** URLs queued to be pinged. */ + toPing?: Maybe>> +} + +/** A order object */ +export type Order = Node & + NodeWithComments & { + __typename?: 'Order' + /** Order billing properties */ + billing?: Maybe + /** Cart hash */ + cartHash?: Maybe + /** Cart tax amount */ + cartTax?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** Connection between the Order type and the CouponLine type */ + couponLines?: Maybe + /** How order was created */ + createdVia?: Maybe + /** Order currency */ + currency?: Maybe + /** Order customer */ + customer?: Maybe + /** Customer IP Address */ + customerIpAddress?: Maybe + /** Customer note */ + customerNote?: Maybe + /** Customer User Agent */ + customerUserAgent?: Maybe + /** The ID of the order in the database */ + databaseId?: Maybe + /** Date order was created */ + date?: Maybe + /** Date order was completed */ + dateCompleted?: Maybe + /** Date order was paid */ + datePaid?: Maybe + /** Discount tax amount */ + discountTax?: Maybe + /** Discount total amount */ + discountTotal?: Maybe + /** Connection between the Order type and the DownloadableItem type */ + downloadableItems?: Maybe + /** Connection between the Order type and the FeeLine type */ + feeLines?: Maybe + /** Order has a billing address? */ + hasBillingAddress?: Maybe + /** If order contains a downloadable product */ + hasDownloadableItem?: Maybe + /** Order has a shipping address? */ + hasShippingAddress?: Maybe + /** The globally unique identifier for the order */ + id: Scalars['ID'] + /** Is product download is permitted */ + isDownloadPermitted?: Maybe + /** Connection between the Order type and the LineItem type */ + lineItems?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date order was last updated */ + modified?: Maybe + /** If order needs payment */ + needsPayment?: Maybe + /** If order needs processing before it can be completed */ + needsProcessing?: Maybe + /** If order needs shipping address */ + needsShippingAddress?: Maybe + /** Order key */ + orderKey?: Maybe + /** Connection between the Order type and the Comment type */ + orderNotes?: Maybe + /** Order number */ + orderNumber?: Maybe + /** Order version */ + orderVersion?: Maybe + /** Parent order */ + parent?: Maybe + /** Payment method */ + paymentMethod?: Maybe + /** Payment method title */ + paymentMethodTitle?: Maybe + /** Prices include taxes? */ + pricesIncludeTax?: Maybe + /** Connection between the Order type and the Refund type */ + refunds?: Maybe + /** Order shipping properties */ + shipping?: Maybe + /** Order customer */ + shippingAddressMapUrl?: Maybe + /** Connection between the Order type and the ShippingLine type */ + shippingLines?: Maybe + /** Shipping tax amount */ + shippingTax?: Maybe + /** Shipping total amount */ + shippingTotal?: Maybe + /** Order status */ + status?: Maybe + /** Order subtotal */ + subtotal?: Maybe + /** Connection between the Order type and the TaxLine type */ + taxLines?: Maybe + /** Order grand total */ + total?: Maybe + /** Order taxes */ + totalTax?: Maybe + /** Transaction ID */ + transactionId?: Maybe + } + +/** A order object */ +export type OrderCartTaxArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderCouponLinesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderDiscountTaxArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderDiscountTotalArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderDownloadableItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A order object */ +export type OrderFeeLinesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderLineItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A order object */ +export type OrderOrderNotesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A order object */ +export type OrderRefundsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A order object */ +export type OrderShippingLinesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderShippingTaxArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderShippingTotalArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderSubtotalArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderTaxLinesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderTotalArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderTotalTaxArgs = { + format?: Maybe +} + +/** The cardinality of the connection order */ +export enum OrderEnum { + /** Sort the query result set in an ascending order */ + Asc = 'ASC', + /** Sort the query result set in a descending order */ + Desc = 'DESC', +} + +/** The Type of Identifier used to fetch a single Order. Default is ID. */ +export enum OrderIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Order number. */ + OrderNumber = 'ORDER_NUMBER', +} + +/** Order item tax statement */ +export type OrderItemTax = { + __typename?: 'OrderItemTax' + /** Amount taxed */ + amount?: Maybe + /** Subtotal */ + subtotal?: Maybe + /** Tax line connected to this statement */ + taxLine?: Maybe + /** Order item ID for tax line connected to this statement */ + taxLineId: Scalars['Int'] + /** Total */ + total?: Maybe +} + +/** Order status enumeration */ +export enum OrderStatusEnum { + /** Cancelled */ + Cancelled = 'CANCELLED', + /** Completed */ + Completed = 'COMPLETED', + /** Failed */ + Failed = 'FAILED', + /** On hold */ + OnHold = 'ON_HOLD', + /** Pending payment */ + Pending = 'PENDING', + /** Processing */ + Processing = 'PROCESSING', + /** Refunded */ + Refunded = 'REFUNDED', +} + +/** Connection between the Order type and the Comment type */ +export type OrderToCommentConnection = { + __typename?: 'OrderToCommentConnection' + /** Edges for the OrderToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToCommentConnectionEdge = { + __typename?: 'OrderToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** Is this a customer note? */ + isCustomerNote?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the OrderToCommentConnection connection */ +export type OrderToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the Order type and the CouponLine type */ +export type OrderToCouponLineConnection = { + __typename?: 'OrderToCouponLineConnection' + /** Edges for the OrderToCouponLineConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToCouponLineConnectionEdge = { + __typename?: 'OrderToCouponLineConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the Order type and the DownloadableItem type */ +export type OrderToDownloadableItemConnection = { + __typename?: 'OrderToDownloadableItemConnection' + /** Edges for the OrderToDownloadableItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToDownloadableItemConnectionEdge = { + __typename?: 'OrderToDownloadableItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the OrderToDownloadableItemConnection connection */ +export type OrderToDownloadableItemConnectionWhereArgs = { + /** Limit results to downloadable items that can be downloaded now. */ + active?: Maybe + /** Limit results to downloadable items that are expired. */ + expired?: Maybe + /** Limit results to downloadable items that have downloads remaining. */ + hasDownloadsRemaining?: Maybe +} + +/** Connection between the Order type and the FeeLine type */ +export type OrderToFeeLineConnection = { + __typename?: 'OrderToFeeLineConnection' + /** Edges for the OrderToFeeLineConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToFeeLineConnectionEdge = { + __typename?: 'OrderToFeeLineConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the Order type and the LineItem type */ +export type OrderToLineItemConnection = { + __typename?: 'OrderToLineItemConnection' + /** Edges for the OrderToLineItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToLineItemConnectionEdge = { + __typename?: 'OrderToLineItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the Order type and the Refund type */ +export type OrderToRefundConnection = { + __typename?: 'OrderToRefundConnection' + /** Edges for the OrderToRefundConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToRefundConnectionEdge = { + __typename?: 'OrderToRefundConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the OrderToRefundConnection connection */ +export type OrderToRefundConnectionWhereArgs = { + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to refunds from a specific group of order IDs. */ + orderIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to refunds assigned a specific status. */ + statuses?: Maybe>> +} + +/** Connection between the Order type and the ShippingLine type */ +export type OrderToShippingLineConnection = { + __typename?: 'OrderToShippingLineConnection' + /** Edges for the OrderToShippingLineConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToShippingLineConnectionEdge = { + __typename?: 'OrderToShippingLineConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the Order type and the TaxLine type */ +export type OrderToTaxLineConnection = { + __typename?: 'OrderToTaxLineConnection' + /** Edges for the OrderToTaxLineConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToTaxLineConnectionEdge = { + __typename?: 'OrderToTaxLineConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Fields to order the Orders connection by */ +export enum OrdersOrderByEnum { + /** Order by publish date */ + Date = 'DATE', + /** Order by date the order was completed */ + DateCompleted = 'DATE_COMPLETED', + /** Order by date the order was paid */ + DatePaid = 'DATE_PAID', + /** Order by order discount amount */ + Discount = 'DISCOUNT', + /** Preserve the ID order given in the IN array */ + In = 'IN', + /** Order by the menu order value */ + MenuOrder = 'MENU_ORDER', + /** Order by last modified date */ + Modified = 'MODIFIED', + /** Preserve slug order given in the NAME_IN array */ + NameIn = 'NAME_IN', + /** Order by order key */ + OrderKey = 'ORDER_KEY', + /** Order by parent ID */ + Parent = 'PARENT', + /** Order by slug */ + Slug = 'SLUG', + /** Order by order total */ + Tax = 'TAX', + /** Order by order total */ + Total = 'TOTAL', +} + +/** Options for ordering the connection */ +export type OrdersOrderbyInput = { + field: OrdersOrderByEnum + order?: Maybe +} + +/** The paColor type */ +export type PaColor = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'PaColor' + /** Connection between the paColor type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + paColorId?: Maybe + /** Connection between the PaColor type and the Product type */ + products?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the paColor type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the PaColor type and the ProductVariation type */ + variations?: Maybe + } + +/** The paColor type */ +export type PaColorContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The paColor type */ +export type PaColorEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The paColor type */ +export type PaColorEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The paColor type */ +export type PaColorProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The paColor type */ +export type PaColorVariationsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PaColorIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the paColor type and the ContentNode type */ +export type PaColorToContentNodeConnection = { + __typename?: 'PaColorToContentNodeConnection' + /** Edges for the PaColorToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaColorToContentNodeConnectionEdge = { + __typename?: 'PaColorToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaColorToContentNodeConnection connection */ +export type PaColorToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the PaColor type and the Product type */ +export type PaColorToProductConnection = { + __typename?: 'PaColorToProductConnection' + /** Edges for the PaColorToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaColorToProductConnectionEdge = { + __typename?: 'PaColorToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaColorToProductConnection connection */ +export type PaColorToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the PaColor type and the ProductVariation type */ +export type PaColorToProductVariationConnection = { + __typename?: 'PaColorToProductVariationConnection' + /** Edges for the PaColorToProductVariationConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaColorToProductVariationConnectionEdge = { + __typename?: 'PaColorToProductVariationConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaColorToProductVariationConnection connection */ +export type PaColorToProductVariationConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the paColor type and the Taxonomy type */ +export type PaColorToTaxonomyConnectionEdge = { + __typename?: 'PaColorToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** The paSize type */ +export type PaSize = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'PaSize' + /** Connection between the paSize type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + paSizeId?: Maybe + /** Connection between the PaSize type and the Product type */ + products?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the paSize type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the PaSize type and the ProductVariation type */ + variations?: Maybe + } + +/** The paSize type */ +export type PaSizeContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The paSize type */ +export type PaSizeEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The paSize type */ +export type PaSizeEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The paSize type */ +export type PaSizeProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The paSize type */ +export type PaSizeVariationsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PaSizeIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the paSize type and the ContentNode type */ +export type PaSizeToContentNodeConnection = { + __typename?: 'PaSizeToContentNodeConnection' + /** Edges for the PaSizeToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaSizeToContentNodeConnectionEdge = { + __typename?: 'PaSizeToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaSizeToContentNodeConnection connection */ +export type PaSizeToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the PaSize type and the Product type */ +export type PaSizeToProductConnection = { + __typename?: 'PaSizeToProductConnection' + /** Edges for the PaSizeToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaSizeToProductConnectionEdge = { + __typename?: 'PaSizeToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaSizeToProductConnection connection */ +export type PaSizeToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the PaSize type and the ProductVariation type */ +export type PaSizeToProductVariationConnection = { + __typename?: 'PaSizeToProductVariationConnection' + /** Edges for the PaSizeToProductVariationConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaSizeToProductVariationConnectionEdge = { + __typename?: 'PaSizeToProductVariationConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaSizeToProductVariationConnection connection */ +export type PaSizeToProductVariationConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the paSize type and the Taxonomy type */ +export type PaSizeToTaxonomyConnectionEdge = { + __typename?: 'PaSizeToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** The page type */ +export type Page = Node & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + NodeWithTemplate & + NodeWithTitle & + NodeWithContentEditor & + NodeWithAuthor & + NodeWithFeaturedImage & + NodeWithComments & + NodeWithRevisions & + NodeWithPageAttributes & + HierarchicalContentNode & + MenuItemLinkable & { + __typename?: 'Page' + /** Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** Connection between the NodeWithAuthor type and the User type */ + author?: Maybe + /** The database identifier of the author of the node */ + authorDatabaseId?: Maybe + /** The globally unique identifier of the author of the node */ + authorId?: Maybe + /** Connection between the HierarchicalContentNode type and the ContentNode type */ + children?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** Connection between the page type and the Comment type */ + comments?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier of the page object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether this page is set to the static front page. */ + isFrontPage: Scalars['Boolean'] + /** Whether this page is set to the blog posts page. */ + isPostsPage: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether this page is set to the privacy page. */ + isPrivacyPage: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** True if the node is a revision of another node */ + isRevision?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of the databaseId field + */ + pageId: Scalars['Int'] + /** The parent of the node. The parent object can be of various types */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe + /** Connection between the page type and the page type */ + preview?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. */ + revisionOf?: Maybe + /** Connection between the page type and the page type */ + revisions?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** The current status of the object */ + status?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ + title?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The page type */ +export type PageAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The page type */ +export type PageChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The page type */ +export type PageCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The page type */ +export type PageContentArgs = { + format?: Maybe +} + +/** The page type */ +export type PageEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The page type */ +export type PageEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The page type */ +export type PageRevisionsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The page type */ +export type PageTitleArgs = { + format?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PageIdType { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a resource by the URI. */ + Uri = 'URI', +} + +/** Connection between the page type and the Comment type */ +export type PageToCommentConnection = { + __typename?: 'PageToCommentConnection' + /** Edges for the PageToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PageToCommentConnectionEdge = { + __typename?: 'PageToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PageToCommentConnection connection */ +export type PageToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the page type and the page type */ +export type PageToPreviewConnectionEdge = { + __typename?: 'PageToPreviewConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the page type and the page type */ +export type PageToRevisionConnection = { + __typename?: 'PageToRevisionConnection' + /** Edges for the pageToRevisionConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PageToRevisionConnectionEdge = { + __typename?: 'PageToRevisionConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the pageToRevisionConnection connection */ +export type PageToRevisionConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** A payment gateway object */ +export type PaymentGateway = { + __typename?: 'PaymentGateway' + /** gateway's description */ + description?: Maybe + /** gateway's icon */ + icon?: Maybe + /** gateway's title */ + id: Scalars['String'] + /** gateway's title */ + title?: Maybe +} + +/** An plugin object */ +export type Plugin = Node & { + __typename?: 'Plugin' + /** Name of the plugin author(s), may also be a company name. */ + author?: Maybe + /** URI for the related author(s)/company website. */ + authorUri?: Maybe + /** Description of the plugin. */ + description?: Maybe + /** The globally unique identifier of the plugin object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Display name of the plugin. */ + name?: Maybe + /** Plugin path. */ + path?: Maybe + /** URI for the plugin website. This is useful for directing users for support requests etc. */ + pluginUri?: Maybe + /** Current version of the plugin. */ + version?: Maybe +} + +/** The post type */ +export type Post = Node & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + NodeWithTemplate & + NodeWithTitle & + NodeWithContentEditor & + NodeWithAuthor & + NodeWithFeaturedImage & + NodeWithExcerpt & + NodeWithComments & + NodeWithTrackbacks & + NodeWithRevisions & + MenuItemLinkable & { + __typename?: 'Post' + /** Connection between the NodeWithAuthor type and the User type */ + author?: Maybe + /** The database identifier of the author of the node */ + authorDatabaseId?: Maybe + /** The globally unique identifier of the author of the node */ + authorId?: Maybe + /** Connection between the post type and the category type */ + categories?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** Connection between the post type and the Comment type */ + comments?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The excerpt of the post. */ + excerpt?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier of the post object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** True if the node is a revision of another node */ + isRevision?: Maybe + /** Whether this page is sticky */ + isSticky: Scalars['Boolean'] + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Whether the pings are open or closed for this particular post. */ + pingStatus?: Maybe + /** URLs that have been pinged. */ + pinged?: Maybe>> + /** Connection between the post type and the postFormat type */ + postFormats?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of the databaseId field + */ + postId: Scalars['Int'] + /** Connection between the post type and the post type */ + preview?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. */ + revisionOf?: Maybe + /** Connection between the post type and the post type */ + revisions?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** The current status of the object */ + status?: Maybe + /** Connection between the post type and the tag type */ + tags?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Connection between the post type and the TermNode type */ + terms?: Maybe + /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ + title?: Maybe + /** URLs queued to be pinged. */ + toPing?: Maybe>> + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The post type */ +export type PostCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostContentArgs = { + format?: Maybe +} + +/** The post type */ +export type PostEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The post type */ +export type PostEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The post type */ +export type PostExcerptArgs = { + format?: Maybe +} + +/** The post type */ +export type PostPostFormatsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostRevisionsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostTermsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostTitleArgs = { + format?: Maybe +} + +/** Set relationships between the post to categories */ +export type PostCategoriesInput = { + /** If true, this will append the category to existing related categories. If false, this will replace existing relationships. Default true. */ + append?: Maybe + /** The input list of items to set. */ + nodes?: Maybe>> +} + +/** List of categories to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ +export type PostCategoriesNodeInput = { + /** The description of the category. This field is used to set a description of the category if a new one is created during the mutation. */ + description?: Maybe + /** The ID of the category. If present, this will be used to connect to the post. If no existing category exists with this ID, no connection will be made. */ + id?: Maybe + /** The name of the category. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ + name?: Maybe + /** The slug of the category. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ + slug?: Maybe +} + +/** The postFormat type */ +export type PostFormat = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'PostFormat' + /** Connection between the postFormat type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + postFormatId?: Maybe + /** Connection between the postFormat type and the post type */ + posts?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the postFormat type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The postFormat type */ +export type PostFormatContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The postFormat type */ +export type PostFormatEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The postFormat type */ +export type PostFormatEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The postFormat type */ +export type PostFormatPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PostFormatIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the postFormat type and the ContentNode type */ +export type PostFormatToContentNodeConnection = { + __typename?: 'PostFormatToContentNodeConnection' + /** Edges for the PostFormatToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostFormatToContentNodeConnectionEdge = { + __typename?: 'PostFormatToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostFormatToContentNodeConnection connection */ +export type PostFormatToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the postFormat type and the post type */ +export type PostFormatToPostConnection = { + __typename?: 'PostFormatToPostConnection' + /** Edges for the PostFormatToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostFormatToPostConnectionEdge = { + __typename?: 'PostFormatToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostFormatToPostConnection connection */ +export type PostFormatToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the postFormat type and the Taxonomy type */ +export type PostFormatToTaxonomyConnectionEdge = { + __typename?: 'PostFormatToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PostIdType { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ + Slug = 'SLUG', + /** Identify a resource by the URI. */ + Uri = 'URI', +} + +/** The format of post field data. */ +export enum PostObjectFieldFormatEnum { + /** Provide the field value directly from database */ + Raw = 'RAW', + /** Apply the default WordPress rendering */ + Rendered = 'RENDERED', +} + +/** The column to use when filtering by date */ +export enum PostObjectsConnectionDateColumnEnum { + /** The date the comment was created in local time. */ + Date = 'DATE', + /** The most recent modification date of the comment. */ + Modified = 'MODIFIED', +} + +/** Field to order the connection by */ +export enum PostObjectsConnectionOrderbyEnum { + /** Order by author */ + Author = 'AUTHOR', + /** Order by the number of comments it has acquired */ + CommentCount = 'COMMENT_COUNT', + /** Order by publish date */ + Date = 'DATE', + /** Preserve the ID order given in the IN array */ + In = 'IN', + /** Order by the menu order value */ + MenuOrder = 'MENU_ORDER', + /** Order by last modified date */ + Modified = 'MODIFIED', + /** Preserve slug order given in the NAME_IN array */ + NameIn = 'NAME_IN', + /** Order by parent ID */ + Parent = 'PARENT', + /** Order by slug */ + Slug = 'SLUG', + /** Order by title */ + Title = 'TITLE', +} + +/** Options for ordering the connection */ +export type PostObjectsConnectionOrderbyInput = { + /** The field to order the connection by */ + field: PostObjectsConnectionOrderbyEnum + /** Possible directions in which to order a list of items */ + order: OrderEnum +} + +/** Set relationships between the post to postFormats */ +export type PostPostFormatsInput = { + /** If true, this will append the postFormat to existing related postFormats. If false, this will replace existing relationships. Default true. */ + append?: Maybe + /** The input list of items to set. */ + nodes?: Maybe>> +} + +/** List of postFormats to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ +export type PostPostFormatsNodeInput = { + /** The description of the postFormat. This field is used to set a description of the postFormat if a new one is created during the mutation. */ + description?: Maybe + /** The ID of the postFormat. If present, this will be used to connect to the post. If no existing postFormat exists with this ID, no connection will be made. */ + id?: Maybe + /** The name of the postFormat. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ + name?: Maybe + /** The slug of the postFormat. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ + slug?: Maybe +} + +/** The status of the object. */ +export enum PostStatusEnum { + /** Objects with the auto-draft status */ + AutoDraft = 'AUTO_DRAFT', + /** Objects with the draft status */ + Draft = 'DRAFT', + /** Objects with the future status */ + Future = 'FUTURE', + /** Objects with the inherit status */ + Inherit = 'INHERIT', + /** Objects with the pending status */ + Pending = 'PENDING', + /** Objects with the private status */ + Private = 'PRIVATE', + /** Objects with the publish status */ + Publish = 'PUBLISH', + /** Objects with the request-completed status */ + RequestCompleted = 'REQUEST_COMPLETED', + /** Objects with the request-confirmed status */ + RequestConfirmed = 'REQUEST_CONFIRMED', + /** Objects with the request-failed status */ + RequestFailed = 'REQUEST_FAILED', + /** Objects with the request-pending status */ + RequestPending = 'REQUEST_PENDING', + /** Objects with the trash status */ + Trash = 'TRASH', + /** Objects with the wc-cancelled status */ + WcCancelled = 'WC_CANCELLED', + /** Objects with the wc-completed status */ + WcCompleted = 'WC_COMPLETED', + /** Objects with the wc-failed status */ + WcFailed = 'WC_FAILED', + /** Objects with the wc-on-hold status */ + WcOnHold = 'WC_ON_HOLD', + /** Objects with the wc-pending status */ + WcPending = 'WC_PENDING', + /** Objects with the wc-processing status */ + WcProcessing = 'WC_PROCESSING', + /** Objects with the wc-refunded status */ + WcRefunded = 'WC_REFUNDED', +} + +/** Set relationships between the post to tags */ +export type PostTagsInput = { + /** If true, this will append the tag to existing related tags. If false, this will replace existing relationships. Default true. */ + append?: Maybe + /** The input list of items to set. */ + nodes?: Maybe>> +} + +/** List of tags to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ +export type PostTagsNodeInput = { + /** The description of the tag. This field is used to set a description of the tag if a new one is created during the mutation. */ + description?: Maybe + /** The ID of the tag. If present, this will be used to connect to the post. If no existing tag exists with this ID, no connection will be made. */ + id?: Maybe + /** The name of the tag. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ + name?: Maybe + /** The slug of the tag. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ + slug?: Maybe +} + +/** Connection between the post type and the category type */ +export type PostToCategoryConnection = { + __typename?: 'PostToCategoryConnection' + /** Edges for the PostToCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToCategoryConnectionEdge = { + __typename?: 'PostToCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToCategoryConnection connection */ +export type PostToCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the post type and the Comment type */ +export type PostToCommentConnection = { + __typename?: 'PostToCommentConnection' + /** Edges for the PostToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToCommentConnectionEdge = { + __typename?: 'PostToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToCommentConnection connection */ +export type PostToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the post type and the postFormat type */ +export type PostToPostFormatConnection = { + __typename?: 'PostToPostFormatConnection' + /** Edges for the PostToPostFormatConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToPostFormatConnectionEdge = { + __typename?: 'PostToPostFormatConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToPostFormatConnection connection */ +export type PostToPostFormatConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the post type and the post type */ +export type PostToPreviewConnectionEdge = { + __typename?: 'PostToPreviewConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the post type and the post type */ +export type PostToRevisionConnection = { + __typename?: 'PostToRevisionConnection' + /** Edges for the postToRevisionConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToRevisionConnectionEdge = { + __typename?: 'PostToRevisionConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the postToRevisionConnection connection */ +export type PostToRevisionConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the post type and the tag type */ +export type PostToTagConnection = { + __typename?: 'PostToTagConnection' + /** Edges for the PostToTagConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToTagConnectionEdge = { + __typename?: 'PostToTagConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToTagConnection connection */ +export type PostToTagConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the post type and the TermNode type */ +export type PostToTermNodeConnection = { + __typename?: 'PostToTermNodeConnection' + /** Edges for the PostToTermNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToTermNodeConnectionEdge = { + __typename?: 'PostToTermNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToTermNodeConnection connection */ +export type PostToTermNodeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** The Taxonomy to filter terms by */ + taxonomies?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Details for labels of the PostType */ +export type PostTypeLabelDetails = { + __typename?: 'PostTypeLabelDetails' + /** Default is ‘Add New’ for both hierarchical and non-hierarchical types. */ + addNew?: Maybe + /** Label for adding a new singular item. */ + addNewItem?: Maybe + /** Label to signify all items in a submenu link. */ + allItems?: Maybe + /** Label for archives in nav menus */ + archives?: Maybe + /** Label for the attributes meta box. */ + attributes?: Maybe + /** Label for editing a singular item. */ + editItem?: Maybe + /** Label for the Featured Image meta box title. */ + featuredImage?: Maybe + /** Label for the table views hidden heading. */ + filterItemsList?: Maybe + /** Label for the media frame button. */ + insertIntoItem?: Maybe + /** Label for the table hidden heading. */ + itemsList?: Maybe + /** Label for the table pagination hidden heading. */ + itemsListNavigation?: Maybe + /** Label for the menu name. */ + menuName?: Maybe + /** General name for the post type, usually plural. */ + name?: Maybe + /** Label for the new item page title. */ + newItem?: Maybe + /** Label used when no items are found. */ + notFound?: Maybe + /** Label used when no items are in the trash. */ + notFoundInTrash?: Maybe + /** Label used to prefix parents of hierarchical items. */ + parentItemColon?: Maybe + /** Label for removing the featured image. */ + removeFeaturedImage?: Maybe + /** Label for searching plural items. */ + searchItems?: Maybe + /** Label for setting the featured image. */ + setFeaturedImage?: Maybe + /** Name for one object of this post type. */ + singularName?: Maybe + /** Label for the media frame filter. */ + uploadedToThisItem?: Maybe + /** Label in the media frame for using a featured image. */ + useFeaturedImage?: Maybe + /** Label for viewing a singular item. */ + viewItem?: Maybe + /** Label for viewing post type archives. */ + viewItems?: Maybe +} + +/** Fields to order the PostType connection by */ +export enum PostTypeOrderByEnum { + /** Order by publish date */ + Date = 'DATE', + /** Preserve the ID order given in the IN array */ + In = 'IN', + /** Order by the menu order value */ + MenuOrder = 'MENU_ORDER', + /** Order by last modified date */ + Modified = 'MODIFIED', + /** Preserve slug order given in the NAME_IN array */ + NameIn = 'NAME_IN', + /** Order by parent ID */ + Parent = 'PARENT', + /** Order by slug */ + Slug = 'SLUG', +} + +/** Options for ordering the connection */ +export type PostTypeOrderbyInput = { + field: PostTypeOrderByEnum + order?: Maybe +} + +/** Pricing field format enumeration */ +export enum PricingFieldFormatEnum { + Formatted = 'FORMATTED', + Raw = 'RAW', +} + +/** Product object */ +export type Product = { + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Product description */ + description?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Date product last updated */ + modified?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** Product status */ + status?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe +} + +/** Product object */ +export type ProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductDescriptionArgs = { + format?: Maybe +} + +/** Product object */ +export type ProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductShortDescriptionArgs = { + format?: Maybe +} + +/** Product object */ +export type ProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product attribute object */ +export type ProductAttribute = { + /** Attribute ID */ + attributeId: Scalars['Int'] + /** Attribute Global ID */ + id: Scalars['ID'] + /** Attribute label */ + label: Scalars['String'] + /** Attribute name */ + name: Scalars['String'] + /** Attribute options */ + options?: Maybe>> + /** Attribute position */ + position: Scalars['Int'] + /** Product attribute scope. */ + scope: ProductAttributeTypesEnum + /** Is attribute on product variation */ + variation: Scalars['Boolean'] + /** Is attribute visible */ + visible: Scalars['Boolean'] +} + +/** Options for ordering the connection */ +export type ProductAttributeInput = { + attributeName: Scalars['String'] + attributeValue?: Maybe +} + +/** A simple product attribute object */ +export type ProductAttributeOutput = { + __typename?: 'ProductAttributeOutput' + /** Attribute name. */ + attributeName?: Maybe + /** Attribute value. */ + attributeValue?: Maybe +} + +/** Product attribute type enumeration */ +export enum ProductAttributeTypesEnum { + /** A global product attribute */ + Global = 'GLOBAL', + /** A local product attribute */ + Local = 'LOCAL', +} + +/** The productCategory type */ +export type ProductCategory = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + HierarchicalTermNode & + MenuItemLinkable & { + __typename?: 'ProductCategory' + /** The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** Connection between the productCategory type and the productCategory type */ + children?: Maybe + /** Connection between the productCategory type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Product category display type */ + display?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Product category image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** Product category menu order */ + menuOrder?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** Connection between the productCategory type and the productCategory type */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + productCategoryId?: Maybe + /** Connection between the ProductCategory type and the Product type */ + products?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the productCategory type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The productCategory type */ +export type ProductCategoryAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product category display type enumeration */ +export enum ProductCategoryDisplay { + /** Display both products and subcategories of this category. */ + Both = 'BOTH', + /** Display default content connected to this category. */ + Default = 'DEFAULT', + /** Display products associated with this category. */ + Products = 'PRODUCTS', + /** Display subcategories of this category. */ + Subcategories = 'SUBCATEGORIES', +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ProductCategoryIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the productCategory type and the productCategory type */ +export type ProductCategoryToAncestorsProductCategoryConnection = { + __typename?: 'ProductCategoryToAncestorsProductCategoryConnection' + /** Edges for the ProductCategoryToAncestorsProductCategoryConnection connection */ + edges?: Maybe< + Array> + > + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductCategoryToAncestorsProductCategoryConnectionEdge = { + __typename?: 'ProductCategoryToAncestorsProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the productCategory type and the ContentNode type */ +export type ProductCategoryToContentNodeConnection = { + __typename?: 'ProductCategoryToContentNodeConnection' + /** Edges for the ProductCategoryToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductCategoryToContentNodeConnectionEdge = { + __typename?: 'ProductCategoryToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductCategoryToContentNodeConnection connection */ +export type ProductCategoryToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the productCategory type and the productCategory type */ +export type ProductCategoryToParentProductCategoryConnectionEdge = { + __typename?: 'ProductCategoryToParentProductCategoryConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the productCategory type and the productCategory type */ +export type ProductCategoryToProductCategoryConnection = { + __typename?: 'ProductCategoryToProductCategoryConnection' + /** Edges for the ProductCategoryToProductCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductCategoryToProductCategoryConnectionEdge = { + __typename?: 'ProductCategoryToProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductCategoryToProductCategoryConnection connection */ +export type ProductCategoryToProductCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the ProductCategory type and the Product type */ +export type ProductCategoryToProductConnection = { + __typename?: 'ProductCategoryToProductConnection' + /** Edges for the ProductCategoryToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductCategoryToProductConnectionEdge = { + __typename?: 'ProductCategoryToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductCategoryToProductConnection connection */ +export type ProductCategoryToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the productCategory type and the Taxonomy type */ +export type ProductCategoryToTaxonomyConnectionEdge = { + __typename?: 'ProductCategoryToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** A product object */ +export type ProductDownload = { + __typename?: 'ProductDownload' + /** Is file allowed */ + allowedFileType?: Maybe + /** Product download ID */ + downloadId: Scalars['String'] + /** Download file */ + file?: Maybe + /** Validate file exists */ + fileExists?: Maybe + /** File extension */ + fileExt?: Maybe + /** Type of file path set */ + filePathType?: Maybe + /** File type */ + fileType?: Maybe + /** Product download name */ + name?: Maybe +} + +/** The Type of Identifier used to fetch a single Product. Default is ID. */ +export enum ProductIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Unique store identifier for product. */ + Sku = 'SKU', + /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ + Slug = 'SLUG', +} + +/** The productTag type */ +export type ProductTag = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + MenuItemLinkable & { + __typename?: 'ProductTag' + /** Connection between the productTag type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + productTagId?: Maybe + /** Connection between the ProductTag type and the Product type */ + products?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the productTag type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The productTag type */ +export type ProductTagContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The productTag type */ +export type ProductTagEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productTag type */ +export type ProductTagEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productTag type */ +export type ProductTagProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ProductTagIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the productTag type and the ContentNode type */ +export type ProductTagToContentNodeConnection = { + __typename?: 'ProductTagToContentNodeConnection' + /** Edges for the ProductTagToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductTagToContentNodeConnectionEdge = { + __typename?: 'ProductTagToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductTagToContentNodeConnection connection */ +export type ProductTagToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the ProductTag type and the Product type */ +export type ProductTagToProductConnection = { + __typename?: 'ProductTagToProductConnection' + /** Edges for the ProductTagToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductTagToProductConnectionEdge = { + __typename?: 'ProductTagToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductTagToProductConnection connection */ +export type ProductTagToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the productTag type and the Taxonomy type */ +export type ProductTagToTaxonomyConnectionEdge = { + __typename?: 'ProductTagToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Product taxonomies */ +export enum ProductTaxonomyEnum { + Pacolor = 'PACOLOR', + Pasize = 'PASIZE', + Productcategory = 'PRODUCTCATEGORY', + Producttag = 'PRODUCTTAG', + Producttype = 'PRODUCTTYPE', + Shippingclass = 'SHIPPINGCLASS', + Visibleproduct = 'VISIBLEPRODUCT', +} + +/** Product filter */ +export type ProductTaxonomyFilterInput = { + /** A list of term ids */ + ids?: Maybe>> + /** Filter operation type */ + operator?: Maybe + /** Which field to select taxonomy term by. */ + taxonomy: ProductTaxonomyEnum + /** A list of term slugs */ + terms?: Maybe>> +} + +/** Product taxonomy filter type */ +export type ProductTaxonomyInput = { + /** Product taxonomy rules to be filter results by */ + filters?: Maybe>> + /** Logic relation between each filter. */ + relation?: Maybe +} + +/** Connection between the Product type and the Comment type */ +export type ProductToCommentConnection = { + __typename?: 'ProductToCommentConnection' + /** Average review rating for this product. */ + averageRating?: Maybe + /** Edges for the ProductToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToCommentConnectionEdge = { + __typename?: 'ProductToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe + /** Review rating */ + rating?: Maybe +} + +/** Arguments for filtering the ProductToCommentConnection connection */ +export type ProductToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the Product type and the GlobalProductAttribute type */ +export type ProductToGlobalProductAttributeConnection = { + __typename?: 'ProductToGlobalProductAttributeConnection' + /** Edges for the ProductToGlobalProductAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToGlobalProductAttributeConnectionEdge = { + __typename?: 'ProductToGlobalProductAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToGlobalProductAttributeConnection connection */ +export type ProductToGlobalProductAttributeConnectionWhereArgs = { + /** Filter results by attribute scope. */ + type?: Maybe +} + +/** Connection between the Product type and the LocalProductAttribute type */ +export type ProductToLocalProductAttributeConnection = { + __typename?: 'ProductToLocalProductAttributeConnection' + /** Edges for the ProductToLocalProductAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToLocalProductAttributeConnectionEdge = { + __typename?: 'ProductToLocalProductAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToLocalProductAttributeConnection connection */ +export type ProductToLocalProductAttributeConnectionWhereArgs = { + /** Filter results by attribute scope. */ + type?: Maybe +} + +/** Connection between the Product type and the MediaItem type */ +export type ProductToMediaItemConnection = { + __typename?: 'ProductToMediaItemConnection' + /** Edges for the ProductToMediaItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToMediaItemConnectionEdge = { + __typename?: 'ProductToMediaItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToMediaItemConnection connection */ +export type ProductToMediaItemConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the Product type and the paColor type */ +export type ProductToPaColorConnection = { + __typename?: 'ProductToPaColorConnection' + /** Edges for the ProductToPaColorConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToPaColorConnectionEdge = { + __typename?: 'ProductToPaColorConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToPaColorConnection connection */ +export type ProductToPaColorConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the paSize type */ +export type ProductToPaSizeConnection = { + __typename?: 'ProductToPaSizeConnection' + /** Edges for the ProductToPaSizeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToPaSizeConnectionEdge = { + __typename?: 'ProductToPaSizeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToPaSizeConnection connection */ +export type ProductToPaSizeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the ProductAttribute type */ +export type ProductToProductAttributeConnection = { + __typename?: 'ProductToProductAttributeConnection' + /** Edges for the ProductToProductAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductAttributeConnectionEdge = { + __typename?: 'ProductToProductAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductAttributeConnection connection */ +export type ProductToProductAttributeConnectionWhereArgs = { + /** Filter results by attribute scope. */ + type?: Maybe +} + +/** Connection between the Product type and the productCategory type */ +export type ProductToProductCategoryConnection = { + __typename?: 'ProductToProductCategoryConnection' + /** Edges for the ProductToProductCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductCategoryConnectionEdge = { + __typename?: 'ProductToProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductCategoryConnection connection */ +export type ProductToProductCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the Product type */ +export type ProductToProductConnection = { + __typename?: 'ProductToProductConnection' + /** Edges for the ProductToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductConnectionEdge = { + __typename?: 'ProductToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductConnection connection */ +export type ProductToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Shuffle results? (Pagination currently not support by this argument) */ + shuffle?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the Product type and the productTag type */ +export type ProductToProductTagConnection = { + __typename?: 'ProductToProductTagConnection' + /** Edges for the ProductToProductTagConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductTagConnectionEdge = { + __typename?: 'ProductToProductTagConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductTagConnection connection */ +export type ProductToProductTagConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the productType type */ +export type ProductToProductTypeConnection = { + __typename?: 'ProductToProductTypeConnection' + /** Edges for the ProductToProductTypeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductTypeConnectionEdge = { + __typename?: 'ProductToProductTypeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductTypeConnection connection */ +export type ProductToProductTypeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the shippingClass type */ +export type ProductToShippingClassConnection = { + __typename?: 'ProductToShippingClassConnection' + /** Edges for the ProductToShippingClassConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToShippingClassConnectionEdge = { + __typename?: 'ProductToShippingClassConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToShippingClassConnection connection */ +export type ProductToShippingClassConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the Product type */ +export type ProductToUpsellConnection = { + __typename?: 'ProductToUpsellConnection' + /** Edges for the ProductToUpsellConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToUpsellConnectionEdge = { + __typename?: 'ProductToUpsellConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToUpsellConnection connection */ +export type ProductToUpsellConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the Product type and the visibleProduct type */ +export type ProductToVisibleProductConnection = { + __typename?: 'ProductToVisibleProductConnection' + /** Edges for the ProductToVisibleProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToVisibleProductConnectionEdge = { + __typename?: 'ProductToVisibleProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToVisibleProductConnection connection */ +export type ProductToVisibleProductConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** The productType type */ +export type ProductType = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'ProductType' + /** Connection between the productType type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + productTypeId?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the productType type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The productType type */ +export type ProductTypeContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The productType type */ +export type ProductTypeEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productType type */ +export type ProductTypeEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ProductTypeIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the productType type and the ContentNode type */ +export type ProductTypeToContentNodeConnection = { + __typename?: 'ProductTypeToContentNodeConnection' + /** Edges for the ProductTypeToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductTypeToContentNodeConnectionEdge = { + __typename?: 'ProductTypeToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductTypeToContentNodeConnection connection */ +export type ProductTypeToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the productType type and the Taxonomy type */ +export type ProductTypeToTaxonomyConnectionEdge = { + __typename?: 'ProductTypeToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Product type enumeration */ +export enum ProductTypesEnum { + /** An external product */ + External = 'EXTERNAL', + /** A product group */ + Grouped = 'GROUPED', + /** A simple product */ + Simple = 'SIMPLE', + /** A variable product */ + Variable = 'VARIABLE', + /** A product variation */ + Variation = 'VARIATION', +} + +/** A product variation object */ +export type ProductVariation = Node & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'ProductVariation' + /** Connection between the ProductVariation type and the VariationAttribute type */ + attributes?: Maybe + /** Product variation backorders */ + backorders?: Maybe + /** Can product be backordered? */ + backordersAllowed?: Maybe + /** Product variation catalog visibility */ + catalogVisibility?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The ID of the refund in the database */ + databaseId: Scalars['Int'] + /** Date variation created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** Download expiry */ + downloadExpiry?: Maybe + /** Download limit */ + downloadLimit?: Maybe + /** Is downloadable? */ + downloadable?: Maybe + /** Product downloads */ + downloads?: Maybe>> + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** Does product variation have any visible attributes */ + hasAttributes?: Maybe + /** Product variation height */ + height?: Maybe + /** The globally unique identifier for the product variation */ + id: Scalars['ID'] + /** Product variation main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** Product variation length */ + length?: Maybe + /** The permalink of the post */ + link?: Maybe + /** if/how product variation stock is managed */ + manageStock?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date variation last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is variation on sale? */ + onSale?: Maybe + /** The parent of the node. The parent object can be of various types */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Product variation's active price */ + price?: Maybe + /** If product variation can be bought */ + purchasable?: Maybe + /** Product variation purchase_note */ + purchaseNote?: Maybe + /** Product variation's regular price */ + regularPrice?: Maybe + /** Product variation's sale price */ + salePrice?: Maybe + /** Product variation shipping class */ + shippingClass?: Maybe + /** Connection between the ProductVariation type and the shippingClass type */ + shippingClasses?: Maybe + /** Product variation SKU (Stock-keeping unit) */ + sku?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** Variation status */ + status?: Maybe + /** Product variation stock quantity */ + stockQuantity?: Maybe + /** Product stock status */ + stockStatus?: Maybe + /** Product variation tax class */ + taxClass?: Maybe + /** Tax status */ + taxStatus?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Product type */ + type?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Is product virtual? */ + virtual?: Maybe + /** Connection between the ProductVariation type and the visibleProduct type */ + visibleProducts?: Maybe + /** Product variation weight */ + weight?: Maybe + /** Product variation width */ + width?: Maybe + } + +/** A product variation object */ +export type ProductVariationAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product variation object */ +export type ProductVariationEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product variation object */ +export type ProductVariationEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product variation object */ +export type ProductVariationMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A product variation object */ +export type ProductVariationPriceArgs = { + format?: Maybe +} + +/** A product variation object */ +export type ProductVariationRegularPriceArgs = { + format?: Maybe +} + +/** A product variation object */ +export type ProductVariationSalePriceArgs = { + format?: Maybe +} + +/** A product variation object */ +export type ProductVariationShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product variation object */ +export type ProductVariationVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single ProductVariation. Default is ID. */ +export enum ProductVariationIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Connection between the ProductVariation type and the shippingClass type */ +export type ProductVariationToShippingClassConnection = { + __typename?: 'ProductVariationToShippingClassConnection' + /** Edges for the ProductVariationToShippingClassConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductVariationToShippingClassConnectionEdge = { + __typename?: 'ProductVariationToShippingClassConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductVariationToShippingClassConnection connection */ +export type ProductVariationToShippingClassConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the ProductVariation type and the VariableProduct type */ +export type ProductVariationToVariableProductConnectionEdge = { + __typename?: 'ProductVariationToVariableProductConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the ProductVariation type and the VariationAttribute type */ +export type ProductVariationToVariationAttributeConnection = { + __typename?: 'ProductVariationToVariationAttributeConnection' + /** Edges for the ProductVariationToVariationAttributeConnection connection */ + edges?: Maybe< + Array> + > + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductVariationToVariationAttributeConnectionEdge = { + __typename?: 'ProductVariationToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the ProductVariation type and the visibleProduct type */ +export type ProductVariationToVisibleProductConnection = { + __typename?: 'ProductVariationToVisibleProductConnection' + /** Edges for the ProductVariationToVisibleProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductVariationToVisibleProductConnectionEdge = { + __typename?: 'ProductVariationToVisibleProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductVariationToVisibleProductConnection connection */ +export type ProductVariationToVisibleProductConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Fields to order the Products connection by */ +export enum ProductsOrderByEnum { + /** Order by publish date */ + Date = 'DATE', + /** Preserve the ID order given in the IN array */ + In = 'IN', + /** Order by the menu order value */ + MenuOrder = 'MENU_ORDER', + /** Order by last modified date */ + Modified = 'MODIFIED', + /** Preserve slug order given in the NAME_IN array */ + NameIn = 'NAME_IN', + /** Order by date product sale starts */ + OnSaleFrom = 'ON_SALE_FROM', + /** Order by date product sale ends */ + OnSaleTo = 'ON_SALE_TO', + /** Order by parent ID */ + Parent = 'PARENT', + /** Order by product's current price */ + Price = 'PRICE', + /** Order by product average rating */ + Rating = 'RATING', + /** Order by product's regular price */ + RegularPrice = 'REGULAR_PRICE', + /** Order by number of reviews on product */ + ReviewCount = 'REVIEW_COUNT', + /** Order by product's sale price */ + SalePrice = 'SALE_PRICE', + /** Order by slug */ + Slug = 'SLUG', + /** Order by total sales of products sold */ + TotalSales = 'TOTAL_SALES', +} + +/** Options for ordering the connection */ +export type ProductsOrderbyInput = { + field: ProductsOrderByEnum + order?: Maybe +} + +/** The reading setting type */ +export type ReadingSettings = { + __typename?: 'ReadingSettings' + /** Blog pages show at most. */ + postsPerPage?: Maybe +} + +/** A refund object */ +export type Refund = Node & { + __typename?: 'Refund' + /** Refunded amount */ + amount?: Maybe + /** The ID of the refund in the database */ + databaseId?: Maybe + /** The date of the refund */ + date?: Maybe + /** The globally unique identifier for the refund */ + id: Scalars['ID'] + /** Connection between the Refund type and the LineItem type */ + lineItems?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Reason for refund */ + reason?: Maybe + /** User who completed the refund */ + refundedBy?: Maybe + /** A title for the new post type */ + title?: Maybe +} + +/** A refund object */ +export type RefundLineItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A refund object */ +export type RefundMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** The Type of Identifier used to fetch a single Refund. Default is ID. */ +export enum RefundIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Connection between the Refund type and the LineItem type */ +export type RefundToLineItemConnection = { + __typename?: 'RefundToLineItemConnection' + /** Edges for the RefundToLineItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RefundToLineItemConnectionEdge = { + __typename?: 'RefundToLineItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Input for the registerCustomer mutation */ +export type RegisterCustomerInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** Customer billing information */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** Customer shipping address */ + shipping?: Maybe + /** Customer shipping is identical to billing address */ + shippingSameAsBilling?: Maybe + /** A string that contains the user's username. */ + username?: Maybe + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the registerCustomer mutation */ +export type RegisterCustomerPayload = { + __typename?: 'RegisterCustomerPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + customer?: Maybe + viewer?: Maybe +} + +/** Input for the registerUser mutation */ +export type RegisterUserInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** A string that contains the user's username. */ + username: Scalars['String'] + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the registerUser mutation */ +export type RegisterUserPayload = { + __typename?: 'RegisterUserPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The User object mutation type. */ + user?: Maybe +} + +/** The logical relation between each item in the array when there are more than one. */ +export enum RelationEnum { + /** The logical AND condition returns true if both operands are true, otherwise, it returns false. */ + And = 'AND', + /** The logical OR condition returns false if both operands are false, otherwise, it returns true. */ + Or = 'OR', +} + +/** Input for the removeCoupons mutation */ +export type RemoveCouponsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Code of coupon being applied */ + codes?: Maybe>> +} + +/** The payload for the removeCoupons mutation */ +export type RemoveCouponsPayload = { + __typename?: 'RemoveCouponsPayload' + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the removeItemsFromCart mutation */ +export type RemoveItemsFromCartInput = { + /** Remove all cart items */ + all?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Item keys of the items being removed */ + keys?: Maybe>> +} + +/** The payload for the removeItemsFromCart mutation */ +export type RemoveItemsFromCartPayload = { + __typename?: 'RemoveItemsFromCartPayload' + cart?: Maybe + cartItems?: Maybe>> + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the resetUserPassword mutation */ +export type ResetUserPasswordInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Password reset key */ + key?: Maybe + /** The user's login (username). */ + login?: Maybe + /** The new password. */ + password?: Maybe +} + +/** The payload for the resetUserPassword mutation */ +export type ResetUserPasswordPayload = { + __typename?: 'ResetUserPasswordPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The User object mutation type. */ + user?: Maybe +} + +/** Input for the restoreCartItems mutation */ +export type RestoreCartItemsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Cart item key of the item being removed */ + keys?: Maybe>> +} + +/** The payload for the restoreCartItems mutation */ +export type RestoreCartItemsPayload = { + __typename?: 'RestoreCartItemsPayload' + cart?: Maybe + cartItems?: Maybe>> + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the restoreComment mutation */ +export type RestoreCommentInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the comment to be restored */ + id: Scalars['ID'] +} + +/** The payload for the restoreComment mutation */ +export type RestoreCommentPayload = { + __typename?: 'RestoreCommentPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The restored comment object */ + comment?: Maybe + /** The ID of the restored comment */ + restoredId?: Maybe +} + +/** Input for the restoreReview mutation */ +export type RestoreReviewInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the target product review */ + id: Scalars['ID'] +} + +/** The payload for the restoreReview mutation */ +export type RestoreReviewPayload = { + __typename?: 'RestoreReviewPayload' + /** The affected product review ID */ + affectedId?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The product rating of the affected product review */ + rating?: Maybe + /** The affected product review */ + review?: Maybe +} + +/** The root mutation */ +export type RootMutation = { + __typename?: 'RootMutation' + /** The payload for the addCartItems mutation */ + addCartItems?: Maybe + /** The payload for the addFee mutation */ + addFee?: Maybe + /** The payload for the addToCart mutation */ + addToCart?: Maybe + /** The payload for the applyCoupon mutation */ + applyCoupon?: Maybe + /** The payload for the checkout mutation */ + checkout?: Maybe + /** The payload for the createCategory mutation */ + createCategory?: Maybe + /** The payload for the createComment mutation */ + createComment?: Maybe + /** The payload for the createCoupon mutation */ + createCoupon?: Maybe + /** The payload for the createMediaItem mutation */ + createMediaItem?: Maybe + /** The payload for the createOrder mutation */ + createOrder?: Maybe + /** The payload for the createPaColor mutation */ + createPaColor?: Maybe + /** The payload for the createPaSize mutation */ + createPaSize?: Maybe + /** The payload for the createPage mutation */ + createPage?: Maybe + /** The payload for the createPost mutation */ + createPost?: Maybe + /** The payload for the createPostFormat mutation */ + createPostFormat?: Maybe + /** The payload for the createProductCategory mutation */ + createProductCategory?: Maybe + /** The payload for the createProductTag mutation */ + createProductTag?: Maybe + /** The payload for the createProductType mutation */ + createProductType?: Maybe + /** The payload for the createShippingClass mutation */ + createShippingClass?: Maybe + /** The payload for the createTag mutation */ + createTag?: Maybe + /** The payload for the createUser mutation */ + createUser?: Maybe + /** The payload for the createVisibleProduct mutation */ + createVisibleProduct?: Maybe + /** The payload for the deleteCategory mutation */ + deleteCategory?: Maybe + /** The payload for the deleteComment mutation */ + deleteComment?: Maybe + /** The payload for the deleteCoupon mutation */ + deleteCoupon?: Maybe + /** The payload for the deleteMediaItem mutation */ + deleteMediaItem?: Maybe + /** The payload for the deleteOrder mutation */ + deleteOrder?: Maybe + /** The payload for the deleteOrderItems mutation */ + deleteOrderItems?: Maybe + /** The payload for the deletePaColor mutation */ + deletePaColor?: Maybe + /** The payload for the deletePaSize mutation */ + deletePaSize?: Maybe + /** The payload for the deletePage mutation */ + deletePage?: Maybe + /** The payload for the deletePost mutation */ + deletePost?: Maybe + /** The payload for the deletePostFormat mutation */ + deletePostFormat?: Maybe + /** The payload for the deleteProductCategory mutation */ + deleteProductCategory?: Maybe + /** The payload for the deleteProductTag mutation */ + deleteProductTag?: Maybe + /** The payload for the deleteProductType mutation */ + deleteProductType?: Maybe + /** The payload for the deleteReview mutation */ + deleteReview?: Maybe + /** The payload for the deleteShippingClass mutation */ + deleteShippingClass?: Maybe + /** The payload for the deleteTag mutation */ + deleteTag?: Maybe + /** The payload for the deleteUser mutation */ + deleteUser?: Maybe + /** The payload for the deleteVisibleProduct mutation */ + deleteVisibleProduct?: Maybe + /** The payload for the emptyCart mutation */ + emptyCart?: Maybe + /** The payload for the fillCart mutation */ + fillCart?: Maybe + /** Increase the count. */ + increaseCount?: Maybe + /** The payload for the registerCustomer mutation */ + registerCustomer?: Maybe + /** The payload for the registerUser mutation */ + registerUser?: Maybe + /** The payload for the removeCoupons mutation */ + removeCoupons?: Maybe + /** The payload for the removeItemsFromCart mutation */ + removeItemsFromCart?: Maybe + /** The payload for the resetUserPassword mutation */ + resetUserPassword?: Maybe + /** The payload for the restoreCartItems mutation */ + restoreCartItems?: Maybe + /** The payload for the restoreComment mutation */ + restoreComment?: Maybe + /** The payload for the restoreReview mutation */ + restoreReview?: Maybe + /** The payload for the sendPasswordResetEmail mutation */ + sendPasswordResetEmail?: Maybe + /** The payload for the UpdateCategory mutation */ + updateCategory?: Maybe + /** The payload for the updateComment mutation */ + updateComment?: Maybe + /** The payload for the updateCoupon mutation */ + updateCoupon?: Maybe + /** The payload for the updateCustomer mutation */ + updateCustomer?: Maybe + /** The payload for the updateItemQuantities mutation */ + updateItemQuantities?: Maybe + /** The payload for the updateMediaItem mutation */ + updateMediaItem?: Maybe + /** The payload for the updateOrder mutation */ + updateOrder?: Maybe + /** The payload for the UpdatePaColor mutation */ + updatePaColor?: Maybe + /** The payload for the UpdatePaSize mutation */ + updatePaSize?: Maybe + /** The payload for the updatePage mutation */ + updatePage?: Maybe + /** The payload for the updatePost mutation */ + updatePost?: Maybe + /** The payload for the UpdatePostFormat mutation */ + updatePostFormat?: Maybe + /** The payload for the UpdateProductCategory mutation */ + updateProductCategory?: Maybe + /** The payload for the UpdateProductTag mutation */ + updateProductTag?: Maybe + /** The payload for the UpdateProductType mutation */ + updateProductType?: Maybe + /** The payload for the updateReview mutation */ + updateReview?: Maybe + /** The payload for the updateSettings mutation */ + updateSettings?: Maybe + /** The payload for the UpdateShippingClass mutation */ + updateShippingClass?: Maybe + /** The payload for the updateShippingMethod mutation */ + updateShippingMethod?: Maybe + /** The payload for the UpdateTag mutation */ + updateTag?: Maybe + /** The payload for the updateUser mutation */ + updateUser?: Maybe + /** The payload for the UpdateVisibleProduct mutation */ + updateVisibleProduct?: Maybe + /** The payload for the writeReview mutation */ + writeReview?: Maybe +} + +/** The root mutation */ +export type RootMutationAddCartItemsArgs = { + input: AddCartItemsInput +} + +/** The root mutation */ +export type RootMutationAddFeeArgs = { + input: AddFeeInput +} + +/** The root mutation */ +export type RootMutationAddToCartArgs = { + input: AddToCartInput +} + +/** The root mutation */ +export type RootMutationApplyCouponArgs = { + input: ApplyCouponInput +} + +/** The root mutation */ +export type RootMutationCheckoutArgs = { + input: CheckoutInput +} + +/** The root mutation */ +export type RootMutationCreateCategoryArgs = { + input: CreateCategoryInput +} + +/** The root mutation */ +export type RootMutationCreateCommentArgs = { + input: CreateCommentInput +} + +/** The root mutation */ +export type RootMutationCreateCouponArgs = { + input: CreateCouponInput +} + +/** The root mutation */ +export type RootMutationCreateMediaItemArgs = { + input: CreateMediaItemInput +} + +/** The root mutation */ +export type RootMutationCreateOrderArgs = { + input: CreateOrderInput +} + +/** The root mutation */ +export type RootMutationCreatePaColorArgs = { + input: CreatePaColorInput +} + +/** The root mutation */ +export type RootMutationCreatePaSizeArgs = { + input: CreatePaSizeInput +} + +/** The root mutation */ +export type RootMutationCreatePageArgs = { + input: CreatePageInput +} + +/** The root mutation */ +export type RootMutationCreatePostArgs = { + input: CreatePostInput +} + +/** The root mutation */ +export type RootMutationCreatePostFormatArgs = { + input: CreatePostFormatInput +} + +/** The root mutation */ +export type RootMutationCreateProductCategoryArgs = { + input: CreateProductCategoryInput +} + +/** The root mutation */ +export type RootMutationCreateProductTagArgs = { + input: CreateProductTagInput +} + +/** The root mutation */ +export type RootMutationCreateProductTypeArgs = { + input: CreateProductTypeInput +} + +/** The root mutation */ +export type RootMutationCreateShippingClassArgs = { + input: CreateShippingClassInput +} + +/** The root mutation */ +export type RootMutationCreateTagArgs = { + input: CreateTagInput +} + +/** The root mutation */ +export type RootMutationCreateUserArgs = { + input: CreateUserInput +} + +/** The root mutation */ +export type RootMutationCreateVisibleProductArgs = { + input: CreateVisibleProductInput +} + +/** The root mutation */ +export type RootMutationDeleteCategoryArgs = { + input: DeleteCategoryInput +} + +/** The root mutation */ +export type RootMutationDeleteCommentArgs = { + input: DeleteCommentInput +} + +/** The root mutation */ +export type RootMutationDeleteCouponArgs = { + input: DeleteCouponInput +} + +/** The root mutation */ +export type RootMutationDeleteMediaItemArgs = { + input: DeleteMediaItemInput +} + +/** The root mutation */ +export type RootMutationDeleteOrderArgs = { + input: DeleteOrderInput +} + +/** The root mutation */ +export type RootMutationDeleteOrderItemsArgs = { + input: DeleteOrderItemsInput +} + +/** The root mutation */ +export type RootMutationDeletePaColorArgs = { + input: DeletePaColorInput +} + +/** The root mutation */ +export type RootMutationDeletePaSizeArgs = { + input: DeletePaSizeInput +} + +/** The root mutation */ +export type RootMutationDeletePageArgs = { + input: DeletePageInput +} + +/** The root mutation */ +export type RootMutationDeletePostArgs = { + input: DeletePostInput +} + +/** The root mutation */ +export type RootMutationDeletePostFormatArgs = { + input: DeletePostFormatInput +} + +/** The root mutation */ +export type RootMutationDeleteProductCategoryArgs = { + input: DeleteProductCategoryInput +} + +/** The root mutation */ +export type RootMutationDeleteProductTagArgs = { + input: DeleteProductTagInput +} + +/** The root mutation */ +export type RootMutationDeleteProductTypeArgs = { + input: DeleteProductTypeInput +} + +/** The root mutation */ +export type RootMutationDeleteReviewArgs = { + input: DeleteReviewInput +} + +/** The root mutation */ +export type RootMutationDeleteShippingClassArgs = { + input: DeleteShippingClassInput +} + +/** The root mutation */ +export type RootMutationDeleteTagArgs = { + input: DeleteTagInput +} + +/** The root mutation */ +export type RootMutationDeleteUserArgs = { + input: DeleteUserInput +} + +/** The root mutation */ +export type RootMutationDeleteVisibleProductArgs = { + input: DeleteVisibleProductInput +} + +/** The root mutation */ +export type RootMutationEmptyCartArgs = { + input: EmptyCartInput +} + +/** The root mutation */ +export type RootMutationFillCartArgs = { + input: FillCartInput +} + +/** The root mutation */ +export type RootMutationIncreaseCountArgs = { + count?: Maybe +} + +/** The root mutation */ +export type RootMutationRegisterCustomerArgs = { + input: RegisterCustomerInput +} + +/** The root mutation */ +export type RootMutationRegisterUserArgs = { + input: RegisterUserInput +} + +/** The root mutation */ +export type RootMutationRemoveCouponsArgs = { + input: RemoveCouponsInput +} + +/** The root mutation */ +export type RootMutationRemoveItemsFromCartArgs = { + input: RemoveItemsFromCartInput +} + +/** The root mutation */ +export type RootMutationResetUserPasswordArgs = { + input: ResetUserPasswordInput +} + +/** The root mutation */ +export type RootMutationRestoreCartItemsArgs = { + input: RestoreCartItemsInput +} + +/** The root mutation */ +export type RootMutationRestoreCommentArgs = { + input: RestoreCommentInput +} + +/** The root mutation */ +export type RootMutationRestoreReviewArgs = { + input: RestoreReviewInput +} + +/** The root mutation */ +export type RootMutationSendPasswordResetEmailArgs = { + input: SendPasswordResetEmailInput +} + +/** The root mutation */ +export type RootMutationUpdateCategoryArgs = { + input: UpdateCategoryInput +} + +/** The root mutation */ +export type RootMutationUpdateCommentArgs = { + input: UpdateCommentInput +} + +/** The root mutation */ +export type RootMutationUpdateCouponArgs = { + input: UpdateCouponInput +} + +/** The root mutation */ +export type RootMutationUpdateCustomerArgs = { + input: UpdateCustomerInput +} + +/** The root mutation */ +export type RootMutationUpdateItemQuantitiesArgs = { + input: UpdateItemQuantitiesInput +} + +/** The root mutation */ +export type RootMutationUpdateMediaItemArgs = { + input: UpdateMediaItemInput +} + +/** The root mutation */ +export type RootMutationUpdateOrderArgs = { + input: UpdateOrderInput +} + +/** The root mutation */ +export type RootMutationUpdatePaColorArgs = { + input: UpdatePaColorInput +} + +/** The root mutation */ +export type RootMutationUpdatePaSizeArgs = { + input: UpdatePaSizeInput +} + +/** The root mutation */ +export type RootMutationUpdatePageArgs = { + input: UpdatePageInput +} + +/** The root mutation */ +export type RootMutationUpdatePostArgs = { + input: UpdatePostInput +} + +/** The root mutation */ +export type RootMutationUpdatePostFormatArgs = { + input: UpdatePostFormatInput +} + +/** The root mutation */ +export type RootMutationUpdateProductCategoryArgs = { + input: UpdateProductCategoryInput +} + +/** The root mutation */ +export type RootMutationUpdateProductTagArgs = { + input: UpdateProductTagInput +} + +/** The root mutation */ +export type RootMutationUpdateProductTypeArgs = { + input: UpdateProductTypeInput +} + +/** The root mutation */ +export type RootMutationUpdateReviewArgs = { + input: UpdateReviewInput +} + +/** The root mutation */ +export type RootMutationUpdateSettingsArgs = { + input: UpdateSettingsInput +} + +/** The root mutation */ +export type RootMutationUpdateShippingClassArgs = { + input: UpdateShippingClassInput +} + +/** The root mutation */ +export type RootMutationUpdateShippingMethodArgs = { + input: UpdateShippingMethodInput +} + +/** The root mutation */ +export type RootMutationUpdateTagArgs = { + input: UpdateTagInput +} + +/** The root mutation */ +export type RootMutationUpdateUserArgs = { + input: UpdateUserInput +} + +/** The root mutation */ +export type RootMutationUpdateVisibleProductArgs = { + input: UpdateVisibleProductInput +} + +/** The root mutation */ +export type RootMutationWriteReviewArgs = { + input: WriteReviewInput +} + +/** The root entry point into the Graph */ +export type RootQuery = { + __typename?: 'RootQuery' + /** Entry point to get all settings for the site */ + allSettings?: Maybe + /** The cart object */ + cart?: Maybe + /** The cart object */ + cartFee?: Maybe + /** The cart object */ + cartItem?: Maybe + /** Connection between the RootQuery type and the category type */ + categories?: Maybe + /** A 0bject */ + category?: Maybe + /** Returns a Comment */ + comment?: Maybe + /** Connection between the RootQuery type and the Comment type */ + comments?: Maybe + /** A node used to manage content */ + contentNode?: Maybe + /** Connection between the RootQuery type and the ContentNode type */ + contentNodes?: Maybe + /** Fetch a Content Type node by unique Identifier */ + contentType?: Maybe + /** Connection between the RootQuery type and the ContentType type */ + contentTypes?: Maybe + /** A coupon object */ + coupon?: Maybe + /** Connection between the RootQuery type and the Coupon type */ + coupons?: Maybe + /** A customer object */ + customer?: Maybe + /** Connection between the RootQuery type and the Customer type */ + customers?: Maybe + /** Fields of the 'DiscussionSettings' settings group */ + discussionSettings?: Maybe + /** Fields of the 'GeneralSettings' settings group */ + generalSettings?: Maybe + /** An object of the mediaItem Type. */ + mediaItem?: Maybe /** - * The description of the application as defined by the Script. - * @deprecated Use `title` instead + * A mediaItem object + * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") */ - description: Scalars['String'] - /** Which lines of targetType that the discount is allocated over. */ - targetSelection: DiscountApplicationTargetSelection - /** The type of line that the discount is applicable towards. */ - targetType: DiscountApplicationTargetType - /** The title of the application as defined by the Script. */ - title: Scalars['String'] - /** The value of the discount application. */ - value: PricingValue + mediaItemBy?: Maybe + /** Connection between the RootQuery type and the mediaItem type */ + mediaItems?: Maybe + /** A WordPress navigation menu */ + menu?: Maybe + /** A WordPress navigation menu item */ + menuItem?: Maybe + /** Connection between the RootQuery type and the MenuItem type */ + menuItems?: Maybe + /** Connection between the RootQuery type and the Menu type */ + menus?: Maybe + /** Fetches an object given its ID */ + node?: Maybe + /** Fetches an object given its Unique Resource Identifier */ + nodeByUri?: Maybe + /** A order object */ + order?: Maybe + /** Connection between the RootQuery type and the Order type */ + orders?: Maybe + /** A 0bject */ + paColor?: Maybe + /** Connection between the RootQuery type and the paColor type */ + paColors?: Maybe + /** A 0bject */ + paSize?: Maybe + /** Connection between the RootQuery type and the paSize type */ + paSizes?: Maybe + /** An object of the page Type. */ + page?: Maybe + /** + * A page object + * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") + */ + pageBy?: Maybe + /** Connection between the RootQuery type and the page type */ + pages?: Maybe + /** Connection between the RootQuery type and the PaymentGateway type */ + paymentGateways?: Maybe + /** A WordPress plugin */ + plugin?: Maybe + /** Connection between the RootQuery type and the Plugin type */ + plugins?: Maybe + /** An object of the post Type. */ + post?: Maybe + /** + * A post object + * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") + */ + postBy?: Maybe + /** A 0bject */ + postFormat?: Maybe + /** Connection between the RootQuery type and the postFormat type */ + postFormats?: Maybe + /** Connection between the RootQuery type and the post type */ + posts?: Maybe + /** A product object */ + product?: Maybe + /** Connection between the RootQuery type and the productCategory type */ + productCategories?: Maybe + /** A 0bject */ + productCategory?: Maybe + /** A 0bject */ + productTag?: Maybe + /** Connection between the RootQuery type and the productTag type */ + productTags?: Maybe + /** A 0bject */ + productType?: Maybe + /** Connection between the RootQuery type and the productType type */ + productTypes?: Maybe + /** A product variation object */ + productVariation?: Maybe + /** Connection between the RootQuery type and the Product type */ + products?: Maybe + /** Fields of the 'ReadingSettings' settings group */ + readingSettings?: Maybe + /** A refund object */ + refund?: Maybe + /** Connection between the RootQuery type and the Refund type */ + refunds?: Maybe + /** Connection between the RootQuery type and the EnqueuedScript type */ + registeredScripts?: Maybe + /** Connection between the RootQuery type and the EnqueuedStylesheet type */ + registeredStylesheets?: Maybe + /** Connection between the RootQuery type and the ContentRevisionUnion type */ + revisions?: Maybe + /** A 0bject */ + shippingClass?: Maybe + /** Connection between the RootQuery type and the shippingClass type */ + shippingClasses?: Maybe + /** A shipping method object */ + shippingMethod?: Maybe + /** Connection between the RootQuery type and the ShippingMethod type */ + shippingMethods?: Maybe + /** A 0bject */ + tag?: Maybe + /** Connection between the RootQuery type and the tag type */ + tags?: Maybe + /** A tax rate object */ + taxRate?: Maybe + /** Connection between the RootQuery type and the TaxRate type */ + taxRates?: Maybe + /** Connection between the RootQuery type and the Taxonomy type */ + taxonomies?: Maybe + /** Fetch a Taxonomy node by unique Identifier */ + taxonomy?: Maybe + /** A node in a taxonomy used to group and relate content nodes */ + termNode?: Maybe + /** Connection between the RootQuery type and the TermNode type */ + terms?: Maybe + /** A Theme object */ + theme?: Maybe + /** Connection between the RootQuery type and the Theme type */ + themes?: Maybe + /** Returns a user */ + user?: Maybe + /** Returns a user role */ + userRole?: Maybe + /** Connection between the RootQuery type and the UserRole type */ + userRoles?: Maybe + /** Connection between the RootQuery type and the User type */ + users?: Maybe + /** Returns the current user */ + viewer?: Maybe + /** A 0bject */ + visibleProduct?: Maybe + /** Connection between the RootQuery type and the visibleProduct type */ + visibleProducts?: Maybe + /** Fields of the 'WritingSettings' settings group */ + writingSettings?: Maybe } -/** - * Properties used by customers to select a product variant. - * Products can have multiple options, like different sizes or colors. - */ -export type SelectedOption = { - __typename?: 'SelectedOption' - /** The product option’s name. */ - name: Scalars['String'] - /** The product option’s value. */ - value: Scalars['String'] +/** The root entry point into the Graph */ +export type RootQueryCartArgs = { + recalculateTotals?: Maybe } -/** Specifies the input fields required for a selected option. */ -export type SelectedOptionInput = { - /** The product option’s name. */ - name: Scalars['String'] - /** The product option’s value. */ - value: Scalars['String'] +/** The root entry point into the Graph */ +export type RootQueryCartFeeArgs = { + id: Scalars['ID'] } -/** A shipping rate to be applied to a checkout. */ +/** The root entry point into the Graph */ +export type RootQueryCartItemArgs = { + key: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCategoryArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCommentArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryContentNodeArgs = { + id: Scalars['ID'] + idType?: Maybe + contentType?: Maybe + asPreview?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryContentTypeArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryContentTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCouponArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCouponsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCustomerArgs = { + id?: Maybe + customerId?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCustomersArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMediaItemArgs = { + id: Scalars['ID'] + idType?: Maybe + asPreview?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMediaItemByArgs = { + id?: Maybe + mediaItemId?: Maybe + uri?: Maybe + slug?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMediaItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMenuArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMenuItemArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMenuItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMenusArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryNodeArgs = { + id?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryNodeByUriArgs = { + uri: Scalars['String'] +} + +/** The root entry point into the Graph */ +export type RootQueryOrderArgs = { + id?: Maybe + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryOrdersArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaColorArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaSizeArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPageArgs = { + id: Scalars['ID'] + idType?: Maybe + asPreview?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPageByArgs = { + id?: Maybe + pageId?: Maybe + uri?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaymentGatewaysArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPluginArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryPluginsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostArgs = { + id: Scalars['ID'] + idType?: Maybe + asPreview?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostByArgs = { + id?: Maybe + postId?: Maybe + uri?: Maybe + slug?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostFormatArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostFormatsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductCategoryArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductTagArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductTypeArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductVariationArgs = { + id?: Maybe + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRefundArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRefundsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRegisteredScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRegisteredStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRevisionsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryShippingClassArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryShippingMethodArgs = { + id?: Maybe + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryShippingMethodsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTagArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTaxRateArgs = { + id?: Maybe + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTaxRatesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTaxonomiesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTaxonomyArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTermNodeArgs = { + id: Scalars['ID'] + idType?: Maybe + taxonomy?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTermsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryThemeArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryThemesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryUserArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryUserRoleArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryUserRolesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryUsersArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryVisibleProductArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the RootQuery type and the category type */ +export type RootQueryToCategoryConnection = { + __typename?: 'RootQueryToCategoryConnection' + /** Edges for the RootQueryToCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToCategoryConnectionEdge = { + __typename?: 'RootQueryToCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToCategoryConnection connection */ +export type RootQueryToCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the Comment type */ +export type RootQueryToCommentConnection = { + __typename?: 'RootQueryToCommentConnection' + /** Edges for the RootQueryToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToCommentConnectionEdge = { + __typename?: 'RootQueryToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToCommentConnection connection */ +export type RootQueryToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the RootQuery type and the ContentNode type */ +export type RootQueryToContentNodeConnection = { + __typename?: 'RootQueryToContentNodeConnection' + /** Edges for the RootQueryToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToContentNodeConnectionEdge = { + __typename?: 'RootQueryToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToContentNodeConnection connection */ +export type RootQueryToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the ContentRevisionUnion type */ +export type RootQueryToContentRevisionUnionConnection = { + __typename?: 'RootQueryToContentRevisionUnionConnection' + /** Edges for the RootQueryToContentRevisionUnionConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToContentRevisionUnionConnectionEdge = { + __typename?: 'RootQueryToContentRevisionUnionConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToContentRevisionUnionConnection connection */ +export type RootQueryToContentRevisionUnionConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the ContentType type */ +export type RootQueryToContentTypeConnection = { + __typename?: 'RootQueryToContentTypeConnection' + /** Edges for the RootQueryToContentTypeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToContentTypeConnectionEdge = { + __typename?: 'RootQueryToContentTypeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the Coupon type */ +export type RootQueryToCouponConnection = { + __typename?: 'RootQueryToCouponConnection' + /** Edges for the RootQueryToCouponConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToCouponConnectionEdge = { + __typename?: 'RootQueryToCouponConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToCouponConnection connection */ +export type RootQueryToCouponConnectionWhereArgs = { + /** Limit result set to resources with a specific code. */ + code?: Maybe + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit results to those matching a string. */ + search?: Maybe +} + +/** Connection between the RootQuery type and the Customer type */ +export type RootQueryToCustomerConnection = { + __typename?: 'RootQueryToCustomerConnection' + /** Edges for the RootQueryToCustomerConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToCustomerConnectionEdge = { + __typename?: 'RootQueryToCustomerConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToCustomerConnection connection */ +export type RootQueryToCustomerConnectionWhereArgs = { + /** Limit result set to resources with a specific email. */ + email?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Order of results. */ + order?: Maybe + /** Order results by a specific field. */ + orderby?: Maybe + /** Limit results to those matching a string. */ + search?: Maybe +} + +/** Connection between the RootQuery type and the EnqueuedScript type */ +export type RootQueryToEnqueuedScriptConnection = { + __typename?: 'RootQueryToEnqueuedScriptConnection' + /** Edges for the RootQueryToEnqueuedScriptConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToEnqueuedScriptConnectionEdge = { + __typename?: 'RootQueryToEnqueuedScriptConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the EnqueuedStylesheet type */ +export type RootQueryToEnqueuedStylesheetConnection = { + __typename?: 'RootQueryToEnqueuedStylesheetConnection' + /** Edges for the RootQueryToEnqueuedStylesheetConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToEnqueuedStylesheetConnectionEdge = { + __typename?: 'RootQueryToEnqueuedStylesheetConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the mediaItem type */ +export type RootQueryToMediaItemConnection = { + __typename?: 'RootQueryToMediaItemConnection' + /** Edges for the RootQueryToMediaItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToMediaItemConnectionEdge = { + __typename?: 'RootQueryToMediaItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToMediaItemConnection connection */ +export type RootQueryToMediaItemConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the Menu type */ +export type RootQueryToMenuConnection = { + __typename?: 'RootQueryToMenuConnection' + /** Edges for the RootQueryToMenuConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToMenuConnectionEdge = { + __typename?: 'RootQueryToMenuConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToMenuConnection connection */ +export type RootQueryToMenuConnectionWhereArgs = { + /** The ID of the object */ + id?: Maybe + /** The menu location for the menu being queried */ + location?: Maybe + /** The slug of the menu to query items for */ + slug?: Maybe +} + +/** Connection between the RootQuery type and the MenuItem type */ +export type RootQueryToMenuItemConnection = { + __typename?: 'RootQueryToMenuItemConnection' + /** Edges for the RootQueryToMenuItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToMenuItemConnectionEdge = { + __typename?: 'RootQueryToMenuItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToMenuItemConnection connection */ +export type RootQueryToMenuItemConnectionWhereArgs = { + /** The ID of the object */ + id?: Maybe + /** The menu location for the menu being queried */ + location?: Maybe + /** The database ID of the parent menu object */ + parentDatabaseId?: Maybe + /** The ID of the parent menu object */ + parentId?: Maybe +} + +/** Connection between the RootQuery type and the Order type */ +export type RootQueryToOrderConnection = { + __typename?: 'RootQueryToOrderConnection' + /** Edges for the RootQueryToOrderConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToOrderConnectionEdge = { + __typename?: 'RootQueryToOrderConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToOrderConnection connection */ +export type RootQueryToOrderConnectionWhereArgs = { + /** Limit result set to orders assigned a specific customer. */ + customerId?: Maybe + /** Limit result set to orders assigned a specific group of customers. */ + customersIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to orders assigned a specific product. */ + productId?: Maybe + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to orders assigned a specific status. */ + statuses?: Maybe>> +} + +/** Connection between the RootQuery type and the paColor type */ +export type RootQueryToPaColorConnection = { + __typename?: 'RootQueryToPaColorConnection' + /** Edges for the RootQueryToPaColorConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPaColorConnectionEdge = { + __typename?: 'RootQueryToPaColorConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPaColorConnection connection */ +export type RootQueryToPaColorConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the paSize type */ +export type RootQueryToPaSizeConnection = { + __typename?: 'RootQueryToPaSizeConnection' + /** Edges for the RootQueryToPaSizeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPaSizeConnectionEdge = { + __typename?: 'RootQueryToPaSizeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPaSizeConnection connection */ +export type RootQueryToPaSizeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the page type */ +export type RootQueryToPageConnection = { + __typename?: 'RootQueryToPageConnection' + /** Edges for the RootQueryToPageConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPageConnectionEdge = { + __typename?: 'RootQueryToPageConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPageConnection connection */ +export type RootQueryToPageConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the PaymentGateway type */ +export type RootQueryToPaymentGatewayConnection = { + __typename?: 'RootQueryToPaymentGatewayConnection' + /** Edges for the RootQueryToPaymentGatewayConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPaymentGatewayConnectionEdge = { + __typename?: 'RootQueryToPaymentGatewayConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPaymentGatewayConnection connection */ +export type RootQueryToPaymentGatewayConnectionWhereArgs = { + /** Include disabled payment gateways? */ + all?: Maybe +} + +/** Connection between the RootQuery type and the Plugin type */ +export type RootQueryToPluginConnection = { + __typename?: 'RootQueryToPluginConnection' + /** Edges for the RootQueryToPluginConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPluginConnectionEdge = { + __typename?: 'RootQueryToPluginConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the post type */ +export type RootQueryToPostConnection = { + __typename?: 'RootQueryToPostConnection' + /** Edges for the RootQueryToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPostConnectionEdge = { + __typename?: 'RootQueryToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPostConnection connection */ +export type RootQueryToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the postFormat type */ +export type RootQueryToPostFormatConnection = { + __typename?: 'RootQueryToPostFormatConnection' + /** Edges for the RootQueryToPostFormatConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPostFormatConnectionEdge = { + __typename?: 'RootQueryToPostFormatConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPostFormatConnection connection */ +export type RootQueryToPostFormatConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the productCategory type */ +export type RootQueryToProductCategoryConnection = { + __typename?: 'RootQueryToProductCategoryConnection' + /** Edges for the RootQueryToProductCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToProductCategoryConnectionEdge = { + __typename?: 'RootQueryToProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToProductCategoryConnection connection */ +export type RootQueryToProductCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the Product type */ +export type RootQueryToProductConnection = { + __typename?: 'RootQueryToProductConnection' + /** Edges for the RootQueryToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToProductConnectionEdge = { + __typename?: 'RootQueryToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToProductConnection connection */ +export type RootQueryToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the RootQuery type and the productTag type */ +export type RootQueryToProductTagConnection = { + __typename?: 'RootQueryToProductTagConnection' + /** Edges for the RootQueryToProductTagConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToProductTagConnectionEdge = { + __typename?: 'RootQueryToProductTagConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToProductTagConnection connection */ +export type RootQueryToProductTagConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the productType type */ +export type RootQueryToProductTypeConnection = { + __typename?: 'RootQueryToProductTypeConnection' + /** Edges for the RootQueryToProductTypeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToProductTypeConnectionEdge = { + __typename?: 'RootQueryToProductTypeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToProductTypeConnection connection */ +export type RootQueryToProductTypeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the Refund type */ +export type RootQueryToRefundConnection = { + __typename?: 'RootQueryToRefundConnection' + /** Edges for the RootQueryToRefundConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToRefundConnectionEdge = { + __typename?: 'RootQueryToRefundConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToRefundConnection connection */ +export type RootQueryToRefundConnectionWhereArgs = { + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to refunds from a specific group of order IDs. */ + orderIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to refunds assigned a specific status. */ + statuses?: Maybe>> +} + +/** Connection between the RootQuery type and the shippingClass type */ +export type RootQueryToShippingClassConnection = { + __typename?: 'RootQueryToShippingClassConnection' + /** Edges for the RootQueryToShippingClassConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToShippingClassConnectionEdge = { + __typename?: 'RootQueryToShippingClassConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToShippingClassConnection connection */ +export type RootQueryToShippingClassConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the ShippingMethod type */ +export type RootQueryToShippingMethodConnection = { + __typename?: 'RootQueryToShippingMethodConnection' + /** Edges for the RootQueryToShippingMethodConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToShippingMethodConnectionEdge = { + __typename?: 'RootQueryToShippingMethodConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the tag type */ +export type RootQueryToTagConnection = { + __typename?: 'RootQueryToTagConnection' + /** Edges for the RootQueryToTagConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToTagConnectionEdge = { + __typename?: 'RootQueryToTagConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToTagConnection connection */ +export type RootQueryToTagConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the TaxRate type */ +export type RootQueryToTaxRateConnection = { + __typename?: 'RootQueryToTaxRateConnection' + /** Edges for the RootQueryToTaxRateConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToTaxRateConnectionEdge = { + __typename?: 'RootQueryToTaxRateConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToTaxRateConnection connection */ +export type RootQueryToTaxRateConnectionWhereArgs = { + /** Sort by tax class. */ + class?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Filter results by a post code. */ + postCode?: Maybe + /** Filter results by a group of post codes. */ + postCodeIn?: Maybe>> +} + +/** Connection between the RootQuery type and the Taxonomy type */ +export type RootQueryToTaxonomyConnection = { + __typename?: 'RootQueryToTaxonomyConnection' + /** Edges for the RootQueryToTaxonomyConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToTaxonomyConnectionEdge = { + __typename?: 'RootQueryToTaxonomyConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the TermNode type */ +export type RootQueryToTermNodeConnection = { + __typename?: 'RootQueryToTermNodeConnection' + /** Edges for the RootQueryToTermNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToTermNodeConnectionEdge = { + __typename?: 'RootQueryToTermNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToTermNodeConnection connection */ +export type RootQueryToTermNodeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** The Taxonomy to filter terms by */ + taxonomies?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the Theme type */ +export type RootQueryToThemeConnection = { + __typename?: 'RootQueryToThemeConnection' + /** Edges for the RootQueryToThemeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToThemeConnectionEdge = { + __typename?: 'RootQueryToThemeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the User type */ +export type RootQueryToUserConnection = { + __typename?: 'RootQueryToUserConnection' + /** Edges for the RootQueryToUserConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToUserConnectionEdge = { + __typename?: 'RootQueryToUserConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToUserConnection connection */ +export type RootQueryToUserConnectionWhereArgs = { + /** Array of userIds to exclude. */ + exclude?: Maybe>> + /** Pass an array of post types to filter results to users who have published posts in those post types. */ + hasPublishedPosts?: Maybe>> + /** Array of userIds to include. */ + include?: Maybe>> + /** The user login. */ + login?: Maybe + /** An array of logins to include. Users matching one of these logins will be included in results. */ + loginIn?: Maybe>> + /** An array of logins to exclude. Users matching one of these logins will not be included in results. */ + loginNotIn?: Maybe>> + /** The user nicename. */ + nicename?: Maybe + /** An array of nicenames to include. Users matching one of these nicenames will be included in results. */ + nicenameIn?: Maybe>> + /** An array of nicenames to exclude. Users matching one of these nicenames will not be included in results. */ + nicenameNotIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** An array of role names that users must match to be included in results. Note that this is an inclusive list: users must match *each* role. */ + role?: Maybe + /** An array of role names. Matched users must have at least one of these roles. */ + roleIn?: Maybe>> + /** An array of role names to exclude. Users matching one or more of these roles will not be included in results. */ + roleNotIn?: Maybe>> + /** Search keyword. Searches for possible string matches on columns. When "searchColumns" is left empty, it tries to determine which column to search in based on search string. */ + search?: Maybe + /** Array of column names to be searched. Accepts 'ID', 'login', 'nicename', 'email', 'url'. */ + searchColumns?: Maybe>> +} + +/** Connection between the RootQuery type and the UserRole type */ +export type RootQueryToUserRoleConnection = { + __typename?: 'RootQueryToUserRoleConnection' + /** Edges for the RootQueryToUserRoleConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToUserRoleConnectionEdge = { + __typename?: 'RootQueryToUserRoleConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the visibleProduct type */ +export type RootQueryToVisibleProductConnection = { + __typename?: 'RootQueryToVisibleProductConnection' + /** Edges for the RootQueryToVisibleProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToVisibleProductConnectionEdge = { + __typename?: 'RootQueryToVisibleProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToVisibleProductConnection connection */ +export type RootQueryToVisibleProductConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Input for the sendPasswordResetEmail mutation */ +export type SendPasswordResetEmailInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string that contains the user's username or email address. */ + username: Scalars['String'] +} + +/** The payload for the sendPasswordResetEmail mutation */ +export type SendPasswordResetEmailPayload = { + __typename?: 'SendPasswordResetEmailPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The user that the password reset email was sent to */ + user?: Maybe +} + +/** All of the registered settings */ +export type Settings = { + __typename?: 'Settings' + /** Settings of the the string Settings Group */ + discussionSettingsDefaultCommentStatus?: Maybe + /** Settings of the the string Settings Group */ + discussionSettingsDefaultPingStatus?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsDateFormat?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsDescription?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsEmail?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsLanguage?: Maybe + /** Settings of the the integer Settings Group */ + generalSettingsStartOfWeek?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsTimeFormat?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsTimezone?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsTitle?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsUrl?: Maybe + /** Settings of the the integer Settings Group */ + readingSettingsPostsPerPage?: Maybe + /** Settings of the the integer Settings Group */ + writingSettingsDefaultCategory?: Maybe + /** Settings of the the string Settings Group */ + writingSettingsDefaultPostFormat?: Maybe + /** Settings of the the boolean Settings Group */ + writingSettingsUseSmilies?: Maybe +} + +/** The shippingClass type */ +export type ShippingClass = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'ShippingClass' + /** Connection between the shippingClass type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + shippingClassId?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the shippingClass type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The shippingClass type */ +export type ShippingClassContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The shippingClass type */ +export type ShippingClassEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The shippingClass type */ +export type ShippingClassEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ShippingClassIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the shippingClass type and the ContentNode type */ +export type ShippingClassToContentNodeConnection = { + __typename?: 'ShippingClassToContentNodeConnection' + /** Edges for the ShippingClassToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ShippingClassToContentNodeConnectionEdge = { + __typename?: 'ShippingClassToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ShippingClassToContentNodeConnection connection */ +export type ShippingClassToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the shippingClass type and the Taxonomy type */ +export type ShippingClassToTaxonomyConnectionEdge = { + __typename?: 'ShippingClassToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** a shipping line object */ +export type ShippingLine = { + __typename?: 'ShippingLine' + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Shipping Line's shipping method name */ + methodTitle?: Maybe + /** The Id of the order the order item belongs to. */ + orderId?: Maybe + /** Shipping Line's shipping method */ + shippingMethod?: Maybe + /** Line tax class */ + taxClass?: Maybe + /** Line taxes */ + taxes?: Maybe>> + /** Line total (after discounts) */ + total?: Maybe + /** Line total tax (after discounts) */ + totalTax?: Maybe +} + +/** a shipping line object */ +export type ShippingLineMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** Shipping lines data. */ +export type ShippingLineInput = { + /** Shipping Line ID */ + id?: Maybe + /** Shipping instance ID. */ + instanceId?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** Shipping method ID. */ + methodId: Scalars['String'] + /** Shipping method name. */ + methodTitle: Scalars['String'] + /** Line total (after discounts). */ + total: Scalars['String'] +} + +/** A shipping method object */ +export type ShippingMethod = Node & { + __typename?: 'ShippingMethod' + /** The ID of the shipping method in the database */ + databaseId: Scalars['ID'] + /** Shipping method description. */ + description?: Maybe + /** The globally unique identifier for the tax rate. */ + id: Scalars['ID'] + /** Shipping method title. */ + title?: Maybe +} + +/** The Type of Identifier used to fetch a single Shipping Method. Default is ID. */ +export enum ShippingMethodIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Shipping package object */ +export type ShippingPackage = { + __typename?: 'ShippingPackage' + /** Shipping package details */ + packageDetails?: Maybe + /** Shipping package rates */ + rates?: Maybe>> + /** This shipping package supports the shipping calculator. */ + supportsShippingCalculator?: Maybe +} + +/** Shipping rate object */ export type ShippingRate = { __typename?: 'ShippingRate' - /** Human-readable unique identifier for this shipping rate. */ - handle: Scalars['String'] - /** - * Price of this shipping rate. - * @deprecated Use `priceV2` instead - */ - price: Scalars['Money'] - /** Price of this shipping rate. */ - priceV2: MoneyV2 - /** Title of this shipping rate. */ - title: Scalars['String'] -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type Shop = { - __typename?: '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?: Maybe - /** - * 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?: Maybe - /** A string representing the way currency is formatted when the currency isn’t specified. */ - moneyFormat: Scalars['String'] - /** The shop’s name. */ - name: Scalars['String'] - /** Settings related to payments. */ - paymentSettings: PaymentSettings - /** The shop’s primary domain. */ - primaryDomain: Domain - /** The shop’s privacy policy. */ - privacyPolicy?: Maybe - /** - * Find a product by its handle. - * @deprecated Use `QueryRoot.productByHandle` instead. - */ - productByHandle?: Maybe - /** - * A list of tags that have been 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?: Maybe - /** The shop’s shipping policy. */ - shippingPolicy?: Maybe - /** Countries that the shop ships to. */ - shipsToCountries: Array - /** - * The shop’s Shopify Payments account id. - * @deprecated Use `paymentSettings` instead - */ - shopifyPaymentsAccountId?: Maybe - /** The shop’s terms of service. */ - termsOfService?: Maybe -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type ShopArticlesArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type ShopBlogsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type ShopCollectionByHandleArgs = { - handle: Scalars['String'] -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type ShopCollectionsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type ShopProductByHandleArgs = { - handle: Scalars['String'] -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type ShopProductTagsArgs = { - first: Scalars['Int'] -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type ShopProductTypesArgs = { - first: Scalars['Int'] -} - -/** Shop represents a collection of the general settings and information about the shop. */ -export type ShopProductsArgs = { - first?: Maybe - after?: Maybe - last?: Maybe - before?: Maybe - reverse?: Maybe - sortKey?: Maybe - query?: Maybe -} - -/** Policy that a merchant has configured for their store, such as their refund or privacy policy. */ -export type ShopPolicy = Node & { - __typename?: 'ShopPolicy' - /** Policy text, maximum size of 64kb. */ - body: Scalars['String'] - /** Policy’s handle. */ - handle: Scalars['String'] - /** Globally unique identifier. */ + /** Shipping rate cost */ + cost?: Maybe + /** Shipping rate ID */ id: Scalars['ID'] - /** Policy’s title. */ - title: Scalars['String'] - /** Public URL to the policy. */ - url: Scalars['URL'] + /** Shipping instance ID */ + instanceId?: Maybe + /** Shipping rate label */ + label?: Maybe + /** Shipping method ID */ + methodId: Scalars['ID'] } -/** An auto-generated type for paginating through multiple Strings. */ -export type StringConnection = { - __typename?: 'StringConnection' - /** A list of edges. */ - edges: Array - /** Information to aid in pagination. */ - pageInfo: PageInfo +/** A simple attribute object */ +export type SimpleAttribute = Attribute & { + __typename?: 'SimpleAttribute' + /** Name of attribute */ + name?: Maybe + /** Selected value of attribute */ + value?: Maybe } -/** An auto-generated type which holds one String and a cursor during pagination. */ -export type StringEdge = { - __typename?: 'StringEdge' - /** A cursor for use in pagination. */ - cursor: Scalars['String'] - /** The item at the end of StringEdge. */ - node: Scalars['String'] -} - -/** - * Specifies the fields required to complete a checkout with - * a tokenized payment. - */ -export type TokenizedPaymentInput = { - /** The amount of the payment. */ - amount: Scalars['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. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). */ - idempotencyKey: Scalars['String'] - /** The billing address for the payment. */ - billingAddress: MailingAddressInput - /** The type of payment token. */ - type: Scalars['String'] - /** A simple string or JSON containing the required payment data for the tokenized payment. */ - paymentData: Scalars['String'] - /** Executes the payment in test mode if possible. Defaults to `false`. */ - test?: Maybe - /** Public Hash Key used for AndroidPay payments only. */ - identifier?: Maybe -} - -/** - * Specifies the fields required to complete a checkout with - * a tokenized payment. - */ -export type 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. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). */ - idempotencyKey: Scalars['String'] - /** The billing address for the payment. */ - billingAddress: MailingAddressInput - /** A simple string or JSON containing the required payment data for the tokenized payment. */ - paymentData: Scalars['String'] - /** Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`. */ - test?: Maybe - /** Public Hash Key used for AndroidPay payments only. */ - identifier?: Maybe - /** The type of payment token. */ - type: Scalars['String'] -} - -/** - * Specifies the fields required to complete a checkout with - * a tokenized payment. - */ -export type 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. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). */ - idempotencyKey: Scalars['String'] - /** The billing address for the payment. */ - billingAddress: MailingAddressInput - /** A simple string or JSON containing the required payment data for the tokenized payment. */ - paymentData: Scalars['String'] - /** Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`. */ - test?: Maybe - /** Public Hash Key used for AndroidPay payments only. */ - identifier?: Maybe - /** The type of payment token. */ - type: PaymentTokenType -} - -/** An object representing exchange of money for a product or service. */ -export type Transaction = { - __typename?: 'Transaction' - /** - * The amount of money that the transaction was for. - * @deprecated Use `amountV2` instead - */ - amount: Scalars['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?: Maybe - /** Whether the transaction was done in test mode or not. */ - test: Scalars['Boolean'] -} - -/** The different kinds of order transactions. */ -export enum TransactionKind { - /** 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', - /** An authorization for a payment taken with an EMV credit card reader. */ - EmvAuthorization = 'EMV_AUTHORIZATION', - /** Money returned to the customer when they have paid too much. */ - Change = 'CHANGE', -} - -/** Transaction statuses describe the status of a transaction. */ -export enum TransactionStatus { - /** The transaction is pending. */ - Pending = 'PENDING', - /** The transaction succeeded. */ - Success = 'SUCCESS', - /** The transaction failed. */ - Failure = 'FAILURE', - /** There was an error while processing the transaction. */ - Error = 'ERROR', -} - -/** The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml). */ -export type UnitPriceMeasurement = { - __typename?: 'UnitPriceMeasurement' - /** The type of unit of measurement for the unit price measurement. */ - measuredType?: Maybe - /** The quantity unit for the unit price measurement. */ - quantityUnit?: Maybe - /** The quantity value for the unit price measurement. */ - quantityValue: Scalars['Float'] - /** The reference unit for the unit price measurement. */ - referenceUnit?: Maybe - /** The reference value for the unit price measurement. */ - referenceValue: Scalars['Int'] -} - -/** The accepted types of unit of measurement. */ -export enum UnitPriceMeasurementMeasuredType { - /** Unit of measurements representing volumes. */ - Volume = 'VOLUME', - /** Unit of measurements representing weights. */ - Weight = 'WEIGHT', - /** Unit of measurements representing lengths. */ - Length = 'LENGTH', - /** Unit of measurements representing areas. */ - Area = 'AREA', -} - -/** The valid units of measurement for a unit price measurement. */ -export enum UnitPriceMeasurementMeasuredUnit { - /** 1000 milliliters equals 1 liter. */ - Ml = 'ML', - /** 100 centiliters equals 1 liter. */ - Cl = 'CL', - /** Metric system unit of volume. */ - L = 'L', - /** 1 cubic meter equals 1000 liters. */ - M3 = 'M3', - /** 1000 milligrams equals 1 gram. */ - Mg = 'MG', - /** Metric system unit of weight. */ - G = 'G', - /** 1 kilogram equals 1000 grams. */ - Kg = 'KG', - /** 1000 millimeters equals 1 meter. */ - Mm = 'MM', - /** 100 centimeters equals 1 meter. */ - Cm = 'CM', - /** Metric system unit of length. */ - M = 'M', - /** Metric system unit of area. */ - M2 = 'M2', -} - -/** Represents an error in the input of a mutation. */ -export type UserError = DisplayableError & { - __typename?: 'UserError' - /** Path to the input field which caused the error. */ - field?: Maybe> - /** The error message. */ - message: Scalars['String'] -} - -/** Represents a Shopify hosted video. */ -export type Video = Node & - Media & { - __typename?: 'Video' - /** A word or phrase to share the nature or contents of a media. */ - alt?: Maybe - /** Globally unique identifier. */ +/** A product object */ +export type SimpleProduct = Node & + Product & + NodeWithComments & + NodeWithContentEditor & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'SimpleProduct' + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** Product backorders status */ + backorders?: Maybe + /** Can product be backordered? */ + backordersAllowed?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** Connection between the SimpleProduct type and the Product type */ + crossSell?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Connection between the SimpleProduct type and the VariationAttribute type */ + defaultAttributes?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** Download expiry */ + downloadExpiry?: Maybe + /** Download limit */ + downloadLimit?: Maybe + /** Is downloadable? */ + downloadable?: Maybe + /** Product downloads */ + downloads?: Maybe>> + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** Product's height */ + height?: Maybe + /** The globally unique identifier for the product */ id: Scalars['ID'] - /** The media content type. */ - mediaContentType: MediaContentType - /** The preview image for the media. */ - previewImage?: Maybe - /** The sources for a video. */ - sources: Array + /** Main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** Product's length */ + length?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** If product manage stock */ + manageStock?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date product last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Product's active price */ + price?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Product's regular price */ + regularPrice?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Product's sale price */ + salePrice?: Maybe + /** shipping class ID */ + shippingClassId?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Does product need to be shipped? */ + shippingRequired?: Maybe + /** Is product shipping taxable? */ + shippingTaxable?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** If should be sold individually */ + soldIndividually?: Maybe + /** Product status */ + status?: Maybe + /** Number of items available for sale */ + stockQuantity?: Maybe + /** Product stock status */ + stockStatus?: Maybe + /** Tax class */ + taxClass?: Maybe + /** Tax status */ + taxStatus?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Is product virtual? */ + virtual?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe + /** Product's weight */ + weight?: Maybe + /** Product's width */ + width?: Maybe } -/** Represents a source for a Shopify hosted video. */ -export type VideoSource = { - __typename?: 'VideoSource' - /** The format of the video source. */ - format: Scalars['String'] - /** The height of the video. */ - height: Scalars['Int'] - /** The video MIME type. */ - mimeType: Scalars['String'] - /** The URL of the video. */ - url: Scalars['String'] - /** The width of the video. */ - width: Scalars['Int'] -} - -/** Units of measurement for weight. */ -export 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', -} - -export type AssociateCustomerWithCheckoutMutationVariables = Exact<{ - checkoutId: Scalars['ID'] - customerAccessToken: Scalars['String'] -}> - -export type AssociateCustomerWithCheckoutMutation = { - __typename?: 'Mutation' -} & { - checkoutCustomerAssociateV2?: Maybe< - { __typename?: 'CheckoutCustomerAssociateV2Payload' } & { - checkout?: Maybe<{ __typename?: 'Checkout' } & Pick> - checkoutUserErrors: Array< - { __typename?: 'CheckoutUserError' } & Pick< - CheckoutUserError, - 'code' | 'field' | 'message' - > - > - customer?: Maybe<{ __typename?: 'Customer' } & Pick> - } - > -} - -export type CheckoutCreateMutationVariables = Exact<{ - input?: Maybe -}> - -export type CheckoutCreateMutation = { __typename?: 'Mutation' } & { - checkoutCreate?: Maybe< - { __typename?: 'CheckoutCreatePayload' } & { - checkoutUserErrors: Array< - { __typename?: 'CheckoutUserError' } & Pick< - CheckoutUserError, - 'code' | 'field' | 'message' - > - > - checkout?: Maybe<{ __typename?: 'Checkout' } & CheckoutDetailsFragment> - } - > -} - -export type CheckoutLineItemAddMutationVariables = Exact<{ - checkoutId: Scalars['ID'] - lineItems: Array | CheckoutLineItemInput -}> - -export type CheckoutLineItemAddMutation = { __typename?: 'Mutation' } & { - checkoutLineItemsAdd?: Maybe< - { __typename?: 'CheckoutLineItemsAddPayload' } & { - checkoutUserErrors: Array< - { __typename?: 'CheckoutUserError' } & Pick< - CheckoutUserError, - 'code' | 'field' | 'message' - > - > - checkout?: Maybe<{ __typename?: 'Checkout' } & CheckoutDetailsFragment> - } - > -} - -export type CheckoutLineItemRemoveMutationVariables = Exact<{ - checkoutId: Scalars['ID'] - lineItemIds: Array | Scalars['ID'] -}> - -export type CheckoutLineItemRemoveMutation = { __typename?: 'Mutation' } & { - checkoutLineItemsRemove?: Maybe< - { __typename?: 'CheckoutLineItemsRemovePayload' } & { - checkoutUserErrors: Array< - { __typename?: 'CheckoutUserError' } & Pick< - CheckoutUserError, - 'code' | 'field' | 'message' - > - > - checkout?: Maybe<{ __typename?: 'Checkout' } & CheckoutDetailsFragment> - } - > -} - -export type CheckoutLineItemUpdateMutationVariables = Exact<{ - checkoutId: Scalars['ID'] - lineItems: Array | CheckoutLineItemUpdateInput -}> - -export type CheckoutLineItemUpdateMutation = { __typename?: 'Mutation' } & { - checkoutLineItemsUpdate?: Maybe< - { __typename?: 'CheckoutLineItemsUpdatePayload' } & { - checkoutUserErrors: Array< - { __typename?: 'CheckoutUserError' } & Pick< - CheckoutUserError, - 'code' | 'field' | 'message' - > - > - checkout?: Maybe<{ __typename?: 'Checkout' } & CheckoutDetailsFragment> - } - > -} - -export type CustomerAccessTokenCreateMutationVariables = Exact<{ - input: CustomerAccessTokenCreateInput -}> - -export type CustomerAccessTokenCreateMutation = { __typename?: 'Mutation' } & { - customerAccessTokenCreate?: Maybe< - { __typename?: 'CustomerAccessTokenCreatePayload' } & { - customerAccessToken?: Maybe< - { __typename?: 'CustomerAccessToken' } & Pick< - CustomerAccessToken, - 'accessToken' | 'expiresAt' - > - > - customerUserErrors: Array< - { __typename?: 'CustomerUserError' } & Pick< - CustomerUserError, - 'code' | 'field' | 'message' - > - > - } - > -} - -export type CustomerAccessTokenDeleteMutationVariables = Exact<{ - customerAccessToken: Scalars['String'] -}> - -export type CustomerAccessTokenDeleteMutation = { __typename?: 'Mutation' } & { - customerAccessTokenDelete?: Maybe< - { __typename?: 'CustomerAccessTokenDeletePayload' } & Pick< - CustomerAccessTokenDeletePayload, - 'deletedAccessToken' | 'deletedCustomerAccessTokenId' - > & { - userErrors: Array< - { __typename?: 'UserError' } & Pick - > - } - > -} - -export type CustomerActivateByUrlMutationVariables = Exact<{ - activationUrl: Scalars['URL'] - password: Scalars['String'] -}> - -export type CustomerActivateByUrlMutation = { __typename?: 'Mutation' } & { - customerActivateByUrl?: Maybe< - { __typename?: 'CustomerActivateByUrlPayload' } & { - customer?: Maybe<{ __typename?: 'Customer' } & Pick> - customerAccessToken?: Maybe< - { __typename?: 'CustomerAccessToken' } & Pick< - CustomerAccessToken, - 'accessToken' | 'expiresAt' - > - > - customerUserErrors: Array< - { __typename?: 'CustomerUserError' } & Pick< - CustomerUserError, - 'code' | 'field' | 'message' - > - > - } - > -} - -export type CustomerActivateMutationVariables = Exact<{ - id: Scalars['ID'] - input: CustomerActivateInput -}> - -export type CustomerActivateMutation = { __typename?: 'Mutation' } & { - customerActivate?: Maybe< - { __typename?: 'CustomerActivatePayload' } & { - customer?: Maybe<{ __typename?: 'Customer' } & Pick> - customerAccessToken?: Maybe< - { __typename?: 'CustomerAccessToken' } & Pick< - CustomerAccessToken, - 'accessToken' | 'expiresAt' - > - > - customerUserErrors: Array< - { __typename?: 'CustomerUserError' } & Pick< - CustomerUserError, - 'code' | 'field' | 'message' - > - > - } - > -} - -export type CustomerCreateMutationVariables = Exact<{ - input: CustomerCreateInput -}> - -export type CustomerCreateMutation = { __typename?: 'Mutation' } & { - customerCreate?: Maybe< - { __typename?: 'CustomerCreatePayload' } & { - customerUserErrors: Array< - { __typename?: 'CustomerUserError' } & Pick< - CustomerUserError, - 'code' | 'field' | 'message' - > - > - customer?: Maybe<{ __typename?: 'Customer' } & Pick> - } - > -} - -export type GetSiteCollectionsQueryVariables = Exact<{ - first: Scalars['Int'] -}> - -export type GetSiteCollectionsQuery = { __typename?: 'QueryRoot' } & { - collections: { __typename?: 'CollectionConnection' } & { - edges: Array< - { __typename?: 'CollectionEdge' } & { - node: { __typename?: 'Collection' } & Pick< - Collection, - 'id' | 'title' | 'handle' - > - } - > - } -} - -export type GetAllPagesQueryVariables = Exact<{ +/** A product object */ +export type SimpleProductAttributesArgs = { first?: Maybe -}> - -export type GetAllPagesQuery = { __typename?: 'QueryRoot' } & { - pages: { __typename?: 'PageConnection' } & { - edges: Array< - { __typename?: 'PageEdge' } & { - node: { __typename?: 'Page' } & Pick - } - > - } + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe } -export type GetAllProductVendorsQueryVariables = Exact<{ +/** A product object */ +export type SimpleProductContentArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductCrossSellArgs = { first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductDefaultAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product object */ +export type SimpleProductDescriptionArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product object */ +export type SimpleProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product object */ +export type SimpleProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A product object */ +export type SimpleProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductPriceArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductRegularPriceArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductSalePriceArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductShortDescriptionArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the SimpleProduct type and the Product type */ +export type SimpleProductToProductConnection = { + __typename?: 'SimpleProductToProductConnection' + /** Edges for the SimpleProductToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type SimpleProductToProductConnectionEdge = { + __typename?: 'SimpleProductToProductConnectionEdge' + /** A cursor for use in pagination */ cursor?: Maybe -}> - -export type GetAllProductVendorsQuery = { __typename?: 'QueryRoot' } & { - products: { __typename?: 'ProductConnection' } & { - pageInfo: { __typename?: 'PageInfo' } & Pick< - PageInfo, - 'hasNextPage' | 'hasPreviousPage' - > - edges: Array< - { __typename?: 'ProductEdge' } & Pick & { - node: { __typename?: 'Product' } & Pick - } - > - } + /** The item at the end of the edge */ + node?: Maybe } -export type GetAllProductPathsQueryVariables = Exact<{ - first?: Maybe +/** Arguments for filtering the SimpleProductToProductConnection connection */ +export type SimpleProductToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the SimpleProduct type and the VariationAttribute type */ +export type SimpleProductToVariationAttributeConnection = { + __typename?: 'SimpleProductToVariationAttributeConnection' + /** Edges for the SimpleProductToVariationAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type SimpleProductToVariationAttributeConnectionEdge = { + __typename?: 'SimpleProductToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ cursor?: Maybe -}> - -export type GetAllProductPathsQuery = { __typename?: 'QueryRoot' } & { - products: { __typename?: 'ProductConnection' } & { - pageInfo: { __typename?: 'PageInfo' } & Pick< - PageInfo, - 'hasNextPage' | 'hasPreviousPage' - > - edges: Array< - { __typename?: 'ProductEdge' } & Pick & { - node: { __typename?: 'Product' } & Pick - } - > - } + /** The item at the end of the edge */ + node?: Maybe } -export type ProductConnectionFragment = { __typename?: 'ProductConnection' } & { - pageInfo: { __typename?: 'PageInfo' } & Pick< - PageInfo, - 'hasNextPage' | 'hasPreviousPage' - > - edges: Array< - { __typename?: 'ProductEdge' } & { - node: { __typename?: 'Product' } & Pick< - Product, - 'id' | 'title' | 'vendor' | 'handle' - > & { - priceRange: { __typename?: 'ProductPriceRange' } & { - minVariantPrice: { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - } - images: { __typename?: 'ImageConnection' } & { - pageInfo: { __typename?: 'PageInfo' } & Pick< - PageInfo, - 'hasNextPage' | 'hasPreviousPage' - > - edges: Array< - { __typename?: 'ImageEdge' } & { - node: { __typename?: 'Image' } & Pick< - Image, - 'originalSrc' | 'altText' | 'width' | 'height' - > - } - > - } - } - } - > +/** Product stock status enumeration */ +export enum StockStatusEnum { + InStock = 'IN_STOCK', + OnBackorder = 'ON_BACKORDER', + OutOfStock = 'OUT_OF_STOCK', } -export type GetAllProductsQueryVariables = Exact<{ - first?: Maybe - query?: Maybe - sortKey?: Maybe - reverse?: Maybe -}> - -export type GetAllProductsQuery = { __typename?: 'QueryRoot' } & { - products: { __typename?: 'ProductConnection' } & ProductConnectionFragment -} - -export type CheckoutDetailsFragment = { __typename?: 'Checkout' } & Pick< - Checkout, - 'id' | 'webUrl' | 'completedAt' | 'createdAt' | 'taxesIncluded' -> & { - subtotalPriceV2: { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - totalTaxV2: { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - totalPriceV2: { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - lineItems: { __typename?: 'CheckoutLineItemConnection' } & { - pageInfo: { __typename?: 'PageInfo' } & Pick< - PageInfo, - 'hasNextPage' | 'hasPreviousPage' - > - edges: Array< - { __typename?: 'CheckoutLineItemEdge' } & { - node: { __typename?: 'CheckoutLineItem' } & Pick< - CheckoutLineItem, - 'id' | 'title' | 'quantity' - > & { - variant?: Maybe< - { __typename?: 'ProductVariant' } & Pick< - ProductVariant, - 'id' | 'sku' | 'title' - > & { - image?: Maybe< - { __typename?: 'Image' } & Pick< - Image, - 'originalSrc' | 'altText' | 'width' | 'height' - > - > - priceV2: { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - compareAtPriceV2?: Maybe< - { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - > - product: { __typename?: 'Product' } & Pick< - Product, - 'handle' - > - } - > - } - } - > - } +/** The tag type */ +export type Tag = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + MenuItemLinkable & { + __typename?: 'Tag' + /** Connection between the tag type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** Connection between the tag type and the post type */ + posts?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + tagId?: Maybe + /** Connection between the tag type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe } -export type GetCheckoutQueryVariables = Exact<{ - checkoutId: Scalars['ID'] -}> - -export type GetCheckoutQuery = { __typename?: 'QueryRoot' } & { - node?: Maybe< - | { __typename?: 'AppliedGiftCard' } - | { __typename?: 'Article' } - | { __typename?: 'Blog' } - | ({ __typename?: 'Checkout' } & CheckoutDetailsFragment) - | { __typename?: 'CheckoutLineItem' } - | { __typename?: 'Collection' } - | { __typename?: 'Comment' } - | { __typename?: 'ExternalVideo' } - | { __typename?: 'MailingAddress' } - | { __typename?: 'MediaImage' } - | { __typename?: 'Metafield' } - | { __typename?: 'Model3d' } - | { __typename?: 'Order' } - | { __typename?: 'Page' } - | { __typename?: 'Payment' } - | { __typename?: 'Product' } - | { __typename?: 'ProductOption' } - | { __typename?: 'ProductVariant' } - | { __typename?: 'ShopPolicy' } - | { __typename?: 'Video' } - > -} - -export type GetProductsFromCollectionQueryVariables = Exact<{ - categoryId: Scalars['ID'] +/** The tag type */ +export type TagContentNodesArgs = { first?: Maybe - sortKey?: Maybe - reverse?: Maybe -}> - -export type GetProductsFromCollectionQuery = { __typename?: 'QueryRoot' } & { - node?: Maybe< - | ({ __typename?: 'AppliedGiftCard' } & Pick) - | ({ __typename?: 'Article' } & Pick) - | ({ __typename?: 'Blog' } & Pick) - | ({ __typename?: 'Checkout' } & Pick) - | ({ __typename?: 'CheckoutLineItem' } & Pick) - | ({ __typename?: 'Collection' } & Pick & { - products: { - __typename?: 'ProductConnection' - } & ProductConnectionFragment - }) - | ({ __typename?: 'Comment' } & Pick) - | ({ __typename?: 'ExternalVideo' } & Pick) - | ({ __typename?: 'MailingAddress' } & Pick) - | ({ __typename?: 'MediaImage' } & Pick) - | ({ __typename?: 'Metafield' } & Pick) - | ({ __typename?: 'Model3d' } & Pick) - | ({ __typename?: 'Order' } & Pick) - | ({ __typename?: 'Page' } & Pick) - | ({ __typename?: 'Payment' } & Pick) - | ({ __typename?: 'Product' } & Pick) - | ({ __typename?: 'ProductOption' } & Pick) - | ({ __typename?: 'ProductVariant' } & Pick) - | ({ __typename?: 'ShopPolicy' } & Pick) - | ({ __typename?: 'Video' } & Pick) - > + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe } -export type GetCustomerIdQueryVariables = Exact<{ - customerAccessToken: Scalars['String'] -}> - -export type GetCustomerIdQuery = { __typename?: 'QueryRoot' } & { - customer?: Maybe<{ __typename?: 'Customer' } & Pick> +/** The tag type */ +export type TagEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe } -export type GetCustomerQueryVariables = Exact<{ - customerAccessToken: Scalars['String'] -}> - -export type GetCustomerQuery = { __typename?: 'QueryRoot' } & { - customer?: Maybe< - { __typename?: 'Customer' } & Pick< - Customer, - | 'id' - | 'firstName' - | 'lastName' - | 'displayName' - | 'email' - | 'phone' - | 'tags' - | 'acceptsMarketing' - | 'createdAt' - > - > +/** The tag type */ +export type TagEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe } -export type GetPageQueryVariables = Exact<{ +/** The tag type */ +export type TagPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum TagIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the tag type and the ContentNode type */ +export type TagToContentNodeConnection = { + __typename?: 'TagToContentNodeConnection' + /** Edges for the TagToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TagToContentNodeConnectionEdge = { + __typename?: 'TagToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the TagToContentNodeConnection connection */ +export type TagToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the tag type and the post type */ +export type TagToPostConnection = { + __typename?: 'TagToPostConnection' + /** Edges for the TagToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TagToPostConnectionEdge = { + __typename?: 'TagToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the TagToPostConnection connection */ +export type TagToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the tag type and the Taxonomy type */ +export type TagToTaxonomyConnectionEdge = { + __typename?: 'TagToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Tax class enumeration */ +export enum TaxClassEnum { + /** Inherits Tax class from cart */ + InheritCart = 'INHERIT_CART', + ReducedRate = 'REDUCED_RATE', + /** Standard Tax rate */ + Standard = 'STANDARD', + ZeroRate = 'ZERO_RATE', +} + +/** a tax line object */ +export type TaxLine = { + __typename?: 'TaxLine' + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Is this a compound tax rate? */ + isCompound?: Maybe + /** Tax rate label */ + label?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** The Id of the order the order item belongs to. */ + orderId?: Maybe + /** Tax rate code/name */ + rateCode?: Maybe + /** Tax line's shipping tax total */ + shippingTaxTotal?: Maybe + /** Tax line's tax rate */ + taxRate?: Maybe + /** Tax total (not including shipping taxes) */ + taxTotal?: Maybe +} + +/** a tax line object */ +export type TaxLineMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A Tax rate object */ +export type TaxRate = Node & { + __typename?: 'TaxRate' + /** City name. */ + city?: Maybe>> + /** Tax class. Default is standard. */ + class?: Maybe + /** Whether or not this is a compound rate. */ + compound?: Maybe + /** Country ISO 3166 code. */ + country?: Maybe + /** The ID of the customer in the database */ + databaseId?: Maybe + /** The globally unique identifier for the tax rate. */ id: Scalars['ID'] -}> + /** Tax rate name. */ + name?: Maybe + /** Indicates the order that will appear in queries. */ + order?: Maybe + /** Postcode/ZIP. */ + postcode?: Maybe>> + /** Tax priority. */ + priority?: Maybe + /** Tax rate. */ + rate?: Maybe + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: Maybe + /** State code. */ + state?: Maybe +} -export type GetPageQuery = { __typename?: 'QueryRoot' } & { - node?: Maybe< - | ({ __typename?: 'AppliedGiftCard' } & Pick) - | ({ __typename?: 'Article' } & Pick) - | ({ __typename?: 'Blog' } & Pick) - | ({ __typename?: 'Checkout' } & Pick) - | ({ __typename?: 'CheckoutLineItem' } & Pick) - | ({ __typename?: 'Collection' } & Pick) - | ({ __typename?: 'Comment' } & Pick) - | ({ __typename?: 'ExternalVideo' } & Pick) - | ({ __typename?: 'MailingAddress' } & Pick) - | ({ __typename?: 'MediaImage' } & Pick) - | ({ __typename?: 'Metafield' } & Pick) - | ({ __typename?: 'Model3d' } & Pick) - | ({ __typename?: 'Order' } & Pick) - | ({ __typename?: 'Page' } & Pick< - Page, - 'title' | 'handle' | 'body' | 'bodySummary' | 'id' - >) - | ({ __typename?: 'Payment' } & Pick) - | ({ __typename?: 'Product' } & Pick) - | ({ __typename?: 'ProductOption' } & Pick) - | ({ __typename?: 'ProductVariant' } & Pick) - | ({ __typename?: 'ShopPolicy' } & Pick) - | ({ __typename?: 'Video' } & Pick) +/** Field to order the connection by */ +export enum TaxRateConnectionOrderbyEnum { + Id = 'ID', + Order = 'ORDER', +} + +/** Options for ordering the connection */ +export type TaxRateConnectionOrderbyInput = { + field: TaxRateConnectionOrderbyEnum + order?: Maybe +} + +/** The Type of Identifier used to fetch a single Tax rate. Default is ID. */ +export enum TaxRateIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Product tax status enumeration */ +export enum TaxStatusEnum { + None = 'NONE', + Shipping = 'SHIPPING', + Taxable = 'TAXABLE', +} + +/** A taxonomy object */ +export type Taxonomy = Node & { + __typename?: 'Taxonomy' + /** List of Content Types associated with the Taxonomy */ + connectedContentTypes?: Maybe + /** Description of the taxonomy. This field is equivalent to WP_Taxonomy->description */ + description?: Maybe + /** The plural name of the post type within the GraphQL Schema. */ + graphqlPluralName?: Maybe + /** The singular name of the post type within the GraphQL Schema. */ + graphqlSingleName?: Maybe + /** Whether the taxonomy is hierarchical */ + hierarchical?: Maybe + /** The globally unique identifier of the taxonomy object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Name of the taxonomy shown in the menu. Usually plural. */ + label?: Maybe + /** The display name of the taxonomy. This field is equivalent to WP_Taxonomy->label */ + name?: Maybe + /** Whether the taxonomy is publicly queryable */ + public?: Maybe + /** Name of content type to diplay in REST API "wp/v2" namespace. */ + restBase?: Maybe + /** The REST Controller class assigned to handling this content type. */ + restControllerClass?: Maybe + /** Whether to show the taxonomy as part of a tag cloud widget. This field is equivalent to WP_Taxonomy->show_tagcloud */ + showCloud?: Maybe + /** Whether to display a column for the taxonomy on its post type listing screens. */ + showInAdminColumn?: Maybe + /** Whether to add the post type to the GraphQL Schema. */ + showInGraphql?: Maybe + /** Whether to show the taxonomy in the admin menu */ + showInMenu?: Maybe + /** Whether the taxonomy is available for selection in navigation menus. */ + showInNavMenus?: Maybe + /** Whether to show the taxonomy in the quick/bulk edit panel. */ + showInQuickEdit?: Maybe + /** Whether to add the post type route in the REST API "wp/v2" namespace. */ + showInRest?: Maybe + /** Whether to generate and allow a UI for managing terms in this taxonomy in the admin */ + showUi?: Maybe +} + +/** A taxonomy object */ +export type TaxonomyConnectedContentTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** Allowed taxonomies */ +export enum TaxonomyEnum { + /** Taxonomy enum category */ + Category = 'CATEGORY', + /** Taxonomy enum pa_color */ + Pacolor = 'PACOLOR', + /** Taxonomy enum pa_size */ + Pasize = 'PASIZE', + /** Taxonomy enum post_format */ + Postformat = 'POSTFORMAT', + /** Taxonomy enum product_cat */ + Productcategory = 'PRODUCTCATEGORY', + /** Taxonomy enum product_tag */ + Producttag = 'PRODUCTTAG', + /** Taxonomy enum product_type */ + Producttype = 'PRODUCTTYPE', + /** Taxonomy enum product_shipping_class */ + Shippingclass = 'SHIPPINGCLASS', + /** Taxonomy enum post_tag */ + Tag = 'TAG', + /** Taxonomy enum product_visibility */ + Visibleproduct = 'VISIBLEPRODUCT', +} + +/** The Type of Identifier used to fetch a single Taxonomy node. To be used along with the "id" field. Default is "ID". */ +export enum TaxonomyIdTypeEnum { + /** The globally unique ID */ + Id = 'ID', + /** The name of the taxonomy */ + Name = 'NAME', +} + +/** Taxonomy query operators */ +export enum TaxonomyOperatorEnum { + And = 'AND', + Exists = 'EXISTS', + In = 'IN', + NotExists = 'NOT_EXISTS', + NotIn = 'NOT_IN', +} + +/** Connection between the Taxonomy type and the ContentType type */ +export type TaxonomyToContentTypeConnection = { + __typename?: 'TaxonomyToContentTypeConnection' + /** Edges for the TaxonomyToContentTypeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TaxonomyToContentTypeConnectionEdge = { + __typename?: 'TaxonomyToContentTypeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ +export type TermNode = { + /** The number of objects connected to the object */ + count?: Maybe + /** Identifies the primary key from the database. */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe +} + +/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ +export type TermNodeEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ +export type TermNodeEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is "ID". To be used along with the "id" field. */ +export enum TermNodeIdTypeEnum { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the TermNode type and the EnqueuedScript type */ +export type TermNodeToEnqueuedScriptConnection = { + __typename?: 'TermNodeToEnqueuedScriptConnection' + /** Edges for the TermNodeToEnqueuedScriptConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TermNodeToEnqueuedScriptConnectionEdge = { + __typename?: 'TermNodeToEnqueuedScriptConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the TermNode type and the EnqueuedStylesheet type */ +export type TermNodeToEnqueuedStylesheetConnection = { + __typename?: 'TermNodeToEnqueuedStylesheetConnection' + /** Edges for the TermNodeToEnqueuedStylesheetConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TermNodeToEnqueuedStylesheetConnectionEdge = { + __typename?: 'TermNodeToEnqueuedStylesheetConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Options for ordering the connection by */ +export enum TermObjectsConnectionOrderbyEnum { + /** Order the connection by item count. */ + Count = 'COUNT', + /** Order the connection by description. */ + Description = 'DESCRIPTION', + /** Order the connection by name. */ + Name = 'NAME', + /** Order the connection by slug. */ + Slug = 'SLUG', + /** Order the connection by term group. */ + TermGroup = 'TERM_GROUP', + /** Order the connection by term id. */ + TermId = 'TERM_ID', + /** Order the connection by term order. */ + TermOrder = 'TERM_ORDER', +} + +/** A theme object */ +export type Theme = Node & { + __typename?: 'Theme' + /** Name of the theme author(s), could also be a company name. This field is equivalent to WP_Theme->get( "Author" ). */ + author?: Maybe + /** URI for the author/company website. This field is equivalent to WP_Theme->get( "AuthorURI" ). */ + authorUri?: Maybe + /** The description of the theme. This field is equivalent to WP_Theme->get( "Description" ). */ + description?: Maybe + /** The globally unique identifier of the theme object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Display name of the theme. This field is equivalent to WP_Theme->get( "Name" ). */ + name?: Maybe + /** The URL of the screenshot for the theme. The screenshot is intended to give an overview of what the theme looks like. This field is equivalent to WP_Theme->get_screenshot(). */ + screenshot?: Maybe + /** The theme slug is used to internally match themes. Theme slugs can have subdirectories like: my-theme/sub-theme. This field is equivalent to WP_Theme->get_stylesheet(). */ + slug?: Maybe + /** URI for the author/company website. This field is equivalent to WP_Theme->get( "Tags" ). */ + tags?: Maybe>> + /** A URI if the theme has a website associated with it. The Theme URI is handy for directing users to a theme site for support etc. This field is equivalent to WP_Theme->get( "ThemeURI" ). */ + themeUri?: Maybe + /** The current version of the theme. This field is equivalent to WP_Theme->get( "Version" ). */ + version?: Maybe +} + +/** Any node that has a URI */ +export type UniformResourceIdentifiable = { + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The unique resource identifier path */ + uri?: Maybe +} + +/** Input for the UpdateCategory mutation */ +export type UpdateCategoryInput = { + /** The slug that the category will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the category object */ + description?: Maybe + /** The ID of the category object to update */ + id: Scalars['ID'] + /** The name of the category object to mutate */ + name?: Maybe + /** The ID of the category that should be set as the parent */ + parentId?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateCategory mutation */ +export type UpdateCategoryPayload = { + __typename?: 'UpdateCategoryPayload' + /** The created category */ + category?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the updateComment mutation */ +export type UpdateCommentInput = { + /** The approval status of the comment. */ + approved?: Maybe + /** The name of the comment's author. */ + author?: Maybe + /** The email of the comment's author. */ + authorEmail?: Maybe + /** The url of the comment's author. */ + authorUrl?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the post object the comment belongs to. */ + commentOn?: Maybe + /** Content of the comment. */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The ID of the comment being updated. */ + id: Scalars['ID'] + /** Parent comment of current comment. */ + parent?: Maybe + /** Type of comment. */ + type?: Maybe +} + +/** The payload for the updateComment mutation */ +export type UpdateCommentPayload = { + __typename?: 'UpdateCommentPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment that was created */ + comment?: Maybe + /** Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache */ + success?: Maybe +} + +/** Input for the updateCoupon mutation */ +export type UpdateCouponInput = { + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupon code. */ + code?: Maybe + /** The date the coupon expires, in the site's timezone. */ + dateExpires?: Maybe + /** The date the coupon expires, as GMT. */ + dateExpiresGmt?: Maybe + /** Coupon description. */ + description?: Maybe + /** Determines the type of discount that will be applied. */ + discountType?: Maybe + /** List of email addresses that can use this coupon. */ + emailRestrictions?: Maybe>> + /** If true, this coupon will not be applied to items that have sale prices. */ + excludeSaleItems?: Maybe + /** List of category IDs the coupon does not apply to. */ + excludedProductCategories?: Maybe>> + /** List of product IDs the coupon cannot be used on. */ + excludedProductIds?: Maybe>> + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + freeShipping?: Maybe + /** Unique identifier for the object. */ + id: Scalars['ID'] + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individualUse?: Maybe + /** Max number of items in the cart the coupon can be applied to. */ + limitUsageToXItems?: Maybe + /** Maximum order amount allowed when using the coupon. */ + maximumAmount?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimumAmount?: Maybe + /** List of category IDs the coupon applies to. */ + productCategories?: Maybe>> + /** List of product IDs the coupon can be used on. */ + productIds?: Maybe>> + /** How many times the coupon can be used in total. */ + usageLimit?: Maybe + /** How many times the coupon can be used per customer. */ + usageLimitPerUser?: Maybe +} + +/** The payload for the updateCoupon mutation */ +export type UpdateCouponPayload = { + __typename?: 'UpdateCouponPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + code?: Maybe + coupon?: Maybe +} + +/** Input for the updateCustomer mutation */ +export type UpdateCustomerInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** Customer billing information */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** The ID of the user */ + id?: Maybe + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** An array of roles to be assigned to the user. */ + roles?: Maybe>> + /** Customer shipping address */ + shipping?: Maybe + /** Customer shipping is identical to billing address */ + shippingSameAsBilling?: Maybe + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the updateCustomer mutation */ +export type UpdateCustomerPayload = { + __typename?: 'UpdateCustomerPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + customer?: Maybe +} + +/** Input for the updateItemQuantities mutation */ +export type UpdateItemQuantitiesInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Cart item being updated */ + items?: Maybe>> +} + +/** The payload for the updateItemQuantities mutation */ +export type UpdateItemQuantitiesPayload = { + __typename?: 'UpdateItemQuantitiesPayload' + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + items?: Maybe>> + removed?: Maybe>> + updated?: Maybe>> +} + +/** Input for the updateMediaItem mutation */ +export type UpdateMediaItemInput = { + /** Alternative text to display when mediaItem is not displayed */ + altText?: Maybe + /** The userId to assign as the author of the mediaItem */ + authorId?: Maybe + /** The caption for the mediaItem */ + caption?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the mediaItem */ + commentStatus?: Maybe + /** The date of the mediaItem */ + date?: Maybe + /** The date (in GMT zone) of the mediaItem */ + dateGmt?: Maybe + /** Description of the mediaItem */ + description?: Maybe + /** The file name of the mediaItem */ + filePath?: Maybe + /** The file type of the mediaItem */ + fileType?: Maybe + /** The ID of the mediaItem object */ + id: Scalars['ID'] + /** The WordPress post ID or the graphQL postId of the parent object */ + parentId?: Maybe + /** The ping status for the mediaItem */ + pingStatus?: Maybe + /** The slug of the mediaItem */ + slug?: Maybe + /** The status of the mediaItem */ + status?: Maybe + /** The title of the mediaItem */ + title?: Maybe +} + +/** The payload for the updateMediaItem mutation */ +export type UpdateMediaItemPayload = { + __typename?: 'UpdateMediaItemPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The MediaItem object mutation type. */ + mediaItem?: Maybe +} + +/** Input for the updateOrder mutation */ +export type UpdateOrderInput = { + /** Order billing address */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupons codes to be applied to order */ + coupons?: Maybe>> + /** Currency the order was created with, in ISO format. */ + currency?: Maybe + /** Order customer ID */ + customerId?: Maybe + /** Note left by customer during checkout. */ + customerNote?: Maybe + /** Order shipping lines */ + feeLines?: Maybe>> + /** Order global ID */ + id?: Maybe + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + isPaid?: Maybe + /** Order line items */ + lineItems?: Maybe>> + /** Order meta data */ + metaData?: Maybe>> + /** Order WP ID */ + orderId?: Maybe + /** Parent order ID. */ + parentId?: Maybe + /** Payment method ID. */ + paymentMethod?: Maybe + /** Payment method title. */ + paymentMethodTitle?: Maybe + /** Order shipping address */ + shipping?: Maybe + /** Order shipping lines */ + shippingLines?: Maybe>> + /** Order status */ + status?: Maybe + /** Order transaction ID */ + transactionId?: Maybe +} + +/** The payload for the updateOrder mutation */ +export type UpdateOrderPayload = { + __typename?: 'UpdateOrderPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + order?: Maybe +} + +/** Input for the UpdatePaColor mutation */ +export type UpdatePaColorInput = { + /** The slug that the pa_color will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the pa_color object */ + description?: Maybe + /** The ID of the paColor object to update */ + id: Scalars['ID'] + /** The name of the pa_color object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdatePaColor mutation */ +export type UpdatePaColorPayload = { + __typename?: 'UpdatePaColorPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created pa_color */ + paColor?: Maybe +} + +/** Input for the UpdatePaSize mutation */ +export type UpdatePaSizeInput = { + /** The slug that the pa_size will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the pa_size object */ + description?: Maybe + /** The ID of the paSize object to update */ + id: Scalars['ID'] + /** The name of the pa_size object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdatePaSize mutation */ +export type UpdatePaSizePayload = { + __typename?: 'UpdatePaSizePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created pa_size */ + paSize?: Maybe +} + +/** Input for the updatePage mutation */ +export type UpdatePageInput = { + /** The userId to assign as the author of the object */ + authorId?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the object */ + commentStatus?: Maybe + /** The content of the object */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The ID of the page object */ + id: Scalars['ID'] + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The ID of the parent object */ + parentId?: Maybe + /** The password used to protect the content of the object */ + password?: Maybe + /** The slug of the object */ + slug?: Maybe + /** The status of the object */ + status?: Maybe + /** The title of the object */ + title?: Maybe +} + +/** The payload for the updatePage mutation */ +export type UpdatePagePayload = { + __typename?: 'UpdatePagePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The Post object mutation type. */ + page?: Maybe +} + +/** Input for the UpdatePostFormat mutation */ +export type UpdatePostFormatInput = { + /** The slug that the post_format will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the post_format object */ + description?: Maybe + /** The ID of the postFormat object to update */ + id: Scalars['ID'] + /** The name of the post_format object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdatePostFormat mutation */ +export type UpdatePostFormatPayload = { + __typename?: 'UpdatePostFormatPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created post_format */ + postFormat?: Maybe +} + +/** Input for the updatePost mutation */ +export type UpdatePostInput = { + /** The userId to assign as the author of the object */ + authorId?: Maybe + /** Set connections between the post and categories */ + categories?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the object */ + commentStatus?: Maybe + /** The content of the object */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The excerpt of the object */ + excerpt?: Maybe + /** The ID of the post object */ + id: Scalars['ID'] + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The password used to protect the content of the object */ + password?: Maybe + /** The ping status for the object */ + pingStatus?: Maybe + /** URLs that have been pinged. */ + pinged?: Maybe>> + /** Set connections between the post and postFormats */ + postFormats?: Maybe + /** The slug of the object */ + slug?: Maybe + /** The status of the object */ + status?: Maybe + /** Set connections between the post and tags */ + tags?: Maybe + /** The title of the object */ + title?: Maybe + /** URLs queued to be pinged. */ + toPing?: Maybe>> +} + +/** The payload for the updatePost mutation */ +export type UpdatePostPayload = { + __typename?: 'UpdatePostPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The Post object mutation type. */ + post?: Maybe +} + +/** Input for the UpdateProductCategory mutation */ +export type UpdateProductCategoryInput = { + /** The slug that the product_cat will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_cat object */ + description?: Maybe + /** The ID of the productCategory object to update */ + id: Scalars['ID'] + /** The name of the product_cat object to mutate */ + name?: Maybe + /** The ID of the product_cat that should be set as the parent */ + parentId?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateProductCategory mutation */ +export type UpdateProductCategoryPayload = { + __typename?: 'UpdateProductCategoryPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_cat */ + productCategory?: Maybe +} + +/** Input for the UpdateProductTag mutation */ +export type UpdateProductTagInput = { + /** The slug that the product_tag will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_tag object */ + description?: Maybe + /** The ID of the productTag object to update */ + id: Scalars['ID'] + /** The name of the product_tag object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateProductTag mutation */ +export type UpdateProductTagPayload = { + __typename?: 'UpdateProductTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_tag */ + productTag?: Maybe +} + +/** Input for the UpdateProductType mutation */ +export type UpdateProductTypeInput = { + /** The slug that the product_type will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_type object */ + description?: Maybe + /** The ID of the productType object to update */ + id: Scalars['ID'] + /** The name of the product_type object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateProductType mutation */ +export type UpdateProductTypePayload = { + __typename?: 'UpdateProductTypePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_type */ + productType?: Maybe +} + +/** Input for the updateReview mutation */ +export type UpdateReviewInput = { + /** The approval status of the comment. */ + approved?: Maybe + /** The name of the comment's author. */ + author?: Maybe + /** The email of the comment's author. */ + authorEmail?: Maybe + /** The url of the comment's author. */ + authorUrl?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the post object the comment belongs to. */ + commentOn?: Maybe + /** Content of the comment. */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The ID of the review being updated. */ + id: Scalars['ID'] + /** Parent comment of current comment. */ + parent?: Maybe + /** Product rating */ + rating: Scalars['Int'] +} + +/** The payload for the updateReview mutation */ +export type UpdateReviewPayload = { + __typename?: 'UpdateReviewPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The product rating of the review that was created */ + rating?: Maybe + /** The product review that was created */ + review?: Maybe +} + +/** Input for the updateSettings mutation */ +export type UpdateSettingsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Allow people to submit comments on new posts. */ + discussionSettingsDefaultCommentStatus?: Maybe + /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ + discussionSettingsDefaultPingStatus?: Maybe + /** A date format for all date strings. */ + generalSettingsDateFormat?: Maybe + /** Site tagline. */ + generalSettingsDescription?: Maybe + /** This address is used for admin purposes, like new user notification. */ + generalSettingsEmail?: Maybe + /** WordPress locale code. */ + generalSettingsLanguage?: Maybe + /** A day number of the week that the week should start on. */ + generalSettingsStartOfWeek?: Maybe + /** A time format for all time strings. */ + generalSettingsTimeFormat?: Maybe + /** A city in the same timezone as you. */ + generalSettingsTimezone?: Maybe + /** Site title. */ + generalSettingsTitle?: Maybe + /** Site URL. */ + generalSettingsUrl?: Maybe + /** Blog pages show at most. */ + readingSettingsPostsPerPage?: Maybe + /** Default post category. */ + writingSettingsDefaultCategory?: Maybe + /** Default post format. */ + writingSettingsDefaultPostFormat?: Maybe + /** Convert emoticons like :-) and :-P to graphics on display. */ + writingSettingsUseSmilies?: Maybe +} + +/** The payload for the updateSettings mutation */ +export type UpdateSettingsPayload = { + __typename?: 'UpdateSettingsPayload' + /** Update all settings. */ + allSettings?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Update the discussion setting. */ + discussionSettings?: Maybe + /** Update the general setting. */ + generalSettings?: Maybe + /** Update the reading setting. */ + readingSettings?: Maybe + /** Update the writing setting. */ + writingSettings?: Maybe +} + +/** Input for the UpdateShippingClass mutation */ +export type UpdateShippingClassInput = { + /** The slug that the product_shipping_class will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_shipping_class object */ + description?: Maybe + /** The ID of the shippingClass object to update */ + id: Scalars['ID'] + /** The name of the product_shipping_class object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateShippingClass mutation */ +export type UpdateShippingClassPayload = { + __typename?: 'UpdateShippingClassPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_shipping_class */ + shippingClass?: Maybe +} + +/** Input for the updateShippingMethod mutation */ +export type UpdateShippingMethodInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + shippingMethods?: Maybe>> +} + +/** The payload for the updateShippingMethod mutation */ +export type UpdateShippingMethodPayload = { + __typename?: 'UpdateShippingMethodPayload' + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the UpdateTag mutation */ +export type UpdateTagInput = { + /** The slug that the post_tag will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the post_tag object */ + description?: Maybe + /** The ID of the tag object to update */ + id: Scalars['ID'] + /** The name of the post_tag object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateTag mutation */ +export type UpdateTagPayload = { + __typename?: 'UpdateTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created post_tag */ + tag?: Maybe +} + +/** Input for the updateUser mutation */ +export type UpdateUserInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** The ID of the user */ + id: Scalars['ID'] + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** An array of roles to be assigned to the user. */ + roles?: Maybe>> + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the updateUser mutation */ +export type UpdateUserPayload = { + __typename?: 'UpdateUserPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The User object mutation type. */ + user?: Maybe +} + +/** Input for the UpdateVisibleProduct mutation */ +export type UpdateVisibleProductInput = { + /** The slug that the product_visibility will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_visibility object */ + description?: Maybe + /** The ID of the visibleProduct object to update */ + id: Scalars['ID'] + /** The name of the product_visibility object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateVisibleProduct mutation */ +export type UpdateVisibleProductPayload = { + __typename?: 'UpdateVisibleProductPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_visibility */ + visibleProduct?: Maybe +} + +/** A User object */ +export type User = Node & + UniformResourceIdentifiable & + Commenter & + DatabaseIdentifier & { + __typename?: 'User' + /** Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument. */ + avatar?: Maybe + /** User metadata option name. Usually it will be "wp_capabilities". */ + capKey?: Maybe + /** A list of capabilities (permissions) granted to the user */ + capabilities?: Maybe>> + /** Connection between the User type and the Comment type */ + comments?: Maybe + /** Identifies the primary key from the database. */ + databaseId: Scalars['Int'] + /** Description of the user. */ + description?: Maybe + /** Email address of the user. This is equivalent to the WP_User->user_email property. */ + email?: Maybe + /** Connection between the User type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the User type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** A complete list of capabilities including capabilities inherited from a role. This is equivalent to the array keys of WP_User->allcaps. */ + extraCapabilities?: Maybe>> + /** First name of the user. This is equivalent to the WP_User->user_first_name property. */ + firstName?: Maybe + /** The globally unique identifier for the user object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** Last name of the user. This is equivalent to the WP_User->user_last_name property. */ + lastName?: Maybe + /** The preferred language locale set for the user. Value derived from get_user_locale(). */ + locale?: Maybe + /** Connection between the User type and the mediaItem type */ + mediaItems?: Maybe + /** Display name of the user. This is equivalent to the WP_User->dispaly_name property. */ + name?: Maybe + /** The nicename for the user. This field is equivalent to WP_User->user_nicename */ + nicename?: Maybe + /** Nickname of the user. */ + nickname?: Maybe + /** Connection between the User type and the page type */ + pages?: Maybe + /** Connection between the User type and the post type */ + posts?: Maybe + /** The date the user registered or was created. The field follows a full ISO8601 date string format. */ + registeredDate?: Maybe + /** Connection between the User and Revisions authored by the user */ + revisions?: Maybe + /** Connection between the User type and the UserRole type */ + roles?: Maybe + /** The slug for the user. This field is equivalent to WP_User->user_nicename */ + slug?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** A website url that is associated with the user. */ + url?: Maybe + /** + * The Id of the user. Equivalent to WP_User->ID + * @deprecated Deprecated in favor of the databaseId field + */ + userId?: Maybe + /** Username for the user. This field is equivalent to WP_User->user_login. */ + username?: Maybe + /** A JWT token that can be used in future requests to for WooCommerce session identification */ + wooSessionToken?: Maybe + } + +/** A User object */ +export type UserAvatarArgs = { + size?: Maybe + forceDefault?: Maybe + rating?: Maybe +} + +/** A User object */ +export type UserCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A User object */ +export type UserEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A User object */ +export type UserMediaItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserPagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserRevisionsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserRolesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single User node. To be used along with the "id" field. Default is "ID". */ +export enum UserNodeIdTypeEnum { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The Email of the User */ + Email = 'EMAIL', + /** The hashed Global ID */ + Id = 'ID', + /** The slug of the User */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', + /** The username the User uses to login with */ + Username = 'USERNAME', +} + +/** A user role object */ +export type UserRole = Node & { + __typename?: 'UserRole' + /** The capabilities that belong to this role */ + capabilities?: Maybe>> + /** The display name of the role */ + displayName?: Maybe + /** The globally unique identifier for the user role object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** The registered name of the role */ + name?: Maybe +} + +/** Names of available user roles */ +export enum UserRoleEnum { + /** User role with specific capabilities */ + Author = 'AUTHOR', + /** User role with specific capabilities */ + Contributor = 'CONTRIBUTOR', + /** User role with specific capabilities */ + Customer = 'CUSTOMER', + /** User role with specific capabilities */ + Editor = 'EDITOR', + /** User role with specific capabilities */ + ShopManager = 'SHOP_MANAGER', + /** User role with specific capabilities */ + Subscriber = 'SUBSCRIBER', +} + +/** Connection between the User type and the Comment type */ +export type UserToCommentConnection = { + __typename?: 'UserToCommentConnection' + /** Edges for the UserToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToCommentConnectionEdge = { + __typename?: 'UserToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToCommentConnection connection */ +export type UserToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the User type and the ContentRevisionUnion type */ +export type UserToContentRevisionUnionConnection = { + __typename?: 'UserToContentRevisionUnionConnection' + /** Edges for the UserToContentRevisionUnionConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToContentRevisionUnionConnectionEdge = { + __typename?: 'UserToContentRevisionUnionConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToContentRevisionUnionConnection connection */ +export type UserToContentRevisionUnionConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the User type and the EnqueuedScript type */ +export type UserToEnqueuedScriptConnection = { + __typename?: 'UserToEnqueuedScriptConnection' + /** Edges for the UserToEnqueuedScriptConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToEnqueuedScriptConnectionEdge = { + __typename?: 'UserToEnqueuedScriptConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the User type and the EnqueuedStylesheet type */ +export type UserToEnqueuedStylesheetConnection = { + __typename?: 'UserToEnqueuedStylesheetConnection' + /** Edges for the UserToEnqueuedStylesheetConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToEnqueuedStylesheetConnectionEdge = { + __typename?: 'UserToEnqueuedStylesheetConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the User type and the mediaItem type */ +export type UserToMediaItemConnection = { + __typename?: 'UserToMediaItemConnection' + /** Edges for the UserToMediaItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToMediaItemConnectionEdge = { + __typename?: 'UserToMediaItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToMediaItemConnection connection */ +export type UserToMediaItemConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the User type and the page type */ +export type UserToPageConnection = { + __typename?: 'UserToPageConnection' + /** Edges for the UserToPageConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToPageConnectionEdge = { + __typename?: 'UserToPageConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToPageConnection connection */ +export type UserToPageConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the User type and the post type */ +export type UserToPostConnection = { + __typename?: 'UserToPostConnection' + /** Edges for the UserToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToPostConnectionEdge = { + __typename?: 'UserToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToPostConnection connection */ +export type UserToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the User type and the UserRole type */ +export type UserToUserRoleConnection = { + __typename?: 'UserToUserRoleConnection' + /** Edges for the UserToUserRoleConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToUserRoleConnectionEdge = { + __typename?: 'UserToUserRoleConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Field to order the connection by */ +export enum UsersConnectionOrderbyEnum { + /** Order by display name */ + DisplayName = 'DISPLAY_NAME', + /** Order by email address */ + Email = 'EMAIL', + /** Order by login */ + Login = 'LOGIN', + /** Preserve the login order given in the LOGIN_IN array */ + LoginIn = 'LOGIN_IN', + /** Order by nice name */ + NiceName = 'NICE_NAME', + /** Preserve the nice name order given in the NICE_NAME_IN array */ + NiceNameIn = 'NICE_NAME_IN', + /** Order by registration date */ + Registered = 'REGISTERED', + /** Order by URL */ + Url = 'URL', +} + +/** Options for ordering the connection */ +export type UsersConnectionOrderbyInput = { + /** The field name used to sort the results. */ + field: UsersConnectionOrderbyEnum + /** The cardinality of the order of the connection */ + order?: Maybe +} + +/** Column used for searching for users. */ +export enum UsersConnectionSearchColumnEnum { + /** The user's email address. */ + Email = 'EMAIL', + /** The globally unique ID. */ + Id = 'ID', + /** The username the User uses to login with. */ + Login = 'LOGIN', + /** A URL-friendly name for the user. The default is the user's username. */ + Nicename = 'NICENAME', + /** The URL of the user\s website. */ + Url = 'URL', +} + +/** A variable product object */ +export type VariableProduct = Node & + Product & + NodeWithComments & + NodeWithContentEditor & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'VariableProduct' + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** Product backorders status */ + backorders?: Maybe + /** Can product be backordered? */ + backordersAllowed?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** Connection between the VariableProduct type and the Product type */ + crossSell?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Connection between the VariableProduct type and the VariationAttribute type */ + defaultAttributes?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** Product's height */ + height?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** Product's length */ + length?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** If product manage stock */ + manageStock?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date product last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Product's active price */ + price?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Product's regular price */ + regularPrice?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Product's sale price */ + salePrice?: Maybe + /** shipping class ID */ + shippingClassId?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Does product need to be shipped? */ + shippingRequired?: Maybe + /** Is product shipping taxable? */ + shippingTaxable?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** If should be sold individually */ + soldIndividually?: Maybe + /** Product status */ + status?: Maybe + /** Number of items available for sale */ + stockQuantity?: Maybe + /** Product stock status */ + stockStatus?: Maybe + /** Tax class */ + taxClass?: Maybe + /** Tax status */ + taxStatus?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the VariableProduct type and the ProductVariation type */ + variations?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe + /** Product's weight */ + weight?: Maybe + /** Product's width */ + width?: Maybe + } + +/** A variable product object */ +export type VariableProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductContentArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductCrossSellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductDefaultAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A variable product object */ +export type VariableProductDescriptionArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A variable product object */ +export type VariableProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A variable product object */ +export type VariableProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A variable product object */ +export type VariableProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductPriceArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductRegularPriceArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductSalePriceArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductShortDescriptionArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductVariationsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the VariableProduct type and the Product type */ +export type VariableProductToProductConnection = { + __typename?: 'VariableProductToProductConnection' + /** Edges for the VariableProductToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type VariableProductToProductConnectionEdge = { + __typename?: 'VariableProductToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the VariableProductToProductConnection connection */ +export type VariableProductToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the VariableProduct type and the ProductVariation type */ +export type VariableProductToProductVariationConnection = { + __typename?: 'VariableProductToProductVariationConnection' + /** Edges for the VariableProductToProductVariationConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type VariableProductToProductVariationConnectionEdge = { + __typename?: 'VariableProductToProductVariationConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the VariableProductToProductVariationConnection connection */ +export type VariableProductToProductVariationConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the VariableProduct type and the VariationAttribute type */ +export type VariableProductToVariationAttributeConnection = { + __typename?: 'VariableProductToVariationAttributeConnection' + /** Edges for the VariableProductToVariationAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type VariableProductToVariationAttributeConnectionEdge = { + __typename?: 'VariableProductToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** A product variation attribute object */ +export type VariationAttribute = Attribute & { + __typename?: 'VariationAttribute' + /** The Database ID of the attribute. */ + attributeId?: Maybe + /** The Global ID of the attribute. */ + id: Scalars['ID'] + /** Label of attribute */ + label?: Maybe + /** Name of attribute */ + name?: Maybe + /** Selected value of attribute */ + value?: Maybe +} + +/** The visibleProduct type */ +export type VisibleProduct = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'VisibleProduct' + /** Connection between the visibleProduct type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the visibleProduct type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + visibleProductId?: Maybe + } + +/** The visibleProduct type */ +export type VisibleProductContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The visibleProduct type */ +export type VisibleProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The visibleProduct type */ +export type VisibleProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum VisibleProductIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the visibleProduct type and the ContentNode type */ +export type VisibleProductToContentNodeConnection = { + __typename?: 'VisibleProductToContentNodeConnection' + /** Edges for the VisibleProductToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type VisibleProductToContentNodeConnectionEdge = { + __typename?: 'VisibleProductToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the VisibleProductToContentNodeConnection connection */ +export type VisibleProductToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the visibleProduct type and the Taxonomy type */ +export type VisibleProductToTaxonomyConnectionEdge = { + __typename?: 'VisibleProductToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Information about pagination in a connection. */ +export type WpPageInfo = { + __typename?: 'WPPageInfo' + /** When paginating forwards, the cursor to continue. */ + endCursor?: Maybe + /** When paginating forwards, are there more items? */ + hasNextPage: Scalars['Boolean'] + /** When paginating backwards, are there more items? */ + hasPreviousPage: Scalars['Boolean'] + /** When paginating backwards, the cursor to continue. */ + startCursor?: Maybe +} + +/** Input for the writeReview mutation */ +export type WriteReviewInput = { + /** The approval status of the comment. */ + approved?: Maybe + /** The name of the comment's author. */ + author?: Maybe + /** The email of the comment's author. */ + authorEmail?: Maybe + /** The url of the comment's author. */ + authorUrl?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the post object the comment belongs to. */ + commentOn?: Maybe + /** Content of the comment. */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** Parent comment of current comment. */ + parent?: Maybe + /** Product rating */ + rating: Scalars['Int'] +} + +/** The payload for the writeReview mutation */ +export type WriteReviewPayload = { + __typename?: 'WriteReviewPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The product rating of the review that was created */ + rating?: Maybe + /** The product review that was created */ + review?: Maybe +} + +/** The writing setting type */ +export type WritingSettings = { + __typename?: 'WritingSettings' + /** Default post category. */ + defaultCategory?: Maybe + /** Default post format. */ + defaultPostFormat?: Maybe + /** Convert emoticons like :-) and :-P to graphics on display. */ + useSmilies?: Maybe +} + +export type SettingQueryVariables = Exact<{ [key: string]: never }> + +export type SettingQuery = { __typename?: 'RootQuery' } & { + generalSettings?: Maybe< + { __typename?: 'GeneralSettings' } & Pick > } - -export type GetProductBySlugQueryVariables = Exact<{ - slug: Scalars['String'] -}> - -export type GetProductBySlugQuery = { __typename?: 'QueryRoot' } & { - productByHandle?: Maybe< - { __typename?: 'Product' } & Pick< - Product, - | 'id' - | 'handle' - | 'title' - | 'productType' - | 'vendor' - | 'description' - | 'descriptionHtml' - > & { - options: Array< - { __typename?: 'ProductOption' } & Pick< - ProductOption, - 'id' | 'name' | 'values' - > - > - priceRange: { __typename?: 'ProductPriceRange' } & { - maxVariantPrice: { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - minVariantPrice: { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - } - variants: { __typename?: 'ProductVariantConnection' } & { - pageInfo: { __typename?: 'PageInfo' } & Pick< - PageInfo, - 'hasNextPage' | 'hasPreviousPage' - > - edges: Array< - { __typename?: 'ProductVariantEdge' } & { - node: { __typename?: 'ProductVariant' } & Pick< - ProductVariant, - 'id' | 'title' | 'sku' - > & { - selectedOptions: Array< - { __typename?: 'SelectedOption' } & Pick< - SelectedOption, - 'name' | 'value' - > - > - priceV2: { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - compareAtPriceV2?: Maybe< - { __typename?: 'MoneyV2' } & Pick< - MoneyV2, - 'amount' | 'currencyCode' - > - > - } - } - > - } - images: { __typename?: 'ImageConnection' } & { - pageInfo: { __typename?: 'PageInfo' } & Pick< - PageInfo, - 'hasNextPage' | 'hasPreviousPage' - > - edges: Array< - { __typename?: 'ImageEdge' } & { - node: { __typename?: 'Image' } & Pick< - Image, - 'originalSrc' | 'altText' | 'width' | 'height' - > - } - > - } - } - > -} - -export type GetSiteInfoQueryVariables = Exact<{ [key: string]: never }> - -export type GetSiteInfoQuery = { __typename?: 'QueryRoot' } & { - shop: { __typename?: 'Shop' } & Pick -} diff --git a/framework/woocommerce/schema.graphql b/framework/woocommerce/schema.graphql index 9c657fe43..7d8b5e6c7 100644 --- a/framework/woocommerce/schema.graphql +++ b/framework/woocommerce/schema.graphql @@ -1,9702 +1,38832 @@ schema { - query: QueryRoot - mutation: Mutation + query: RootQuery + mutation: RootMutation } """ -Marks an element of a GraphQL schema as having restricted access. +Input for the addCartItems mutation """ -directive @accessRestricted( +input AddCartItemsInput { """ - Explains the reason around this restriction + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ - reason: String = null -) on FIELD_DEFINITION | OBJECT - -""" -Contextualize data. -""" -directive @inContext( - """ - The country code for context. - """ - country: CountryCode! -) on QUERY | MUTATION - -""" -A version of the API. -""" -type ApiVersion { - """ - The human-readable name of the version. - """ - displayName: String! + clientMutationId: String """ - The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle. + Cart items to be added """ - handle: String! - - """ - Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/concepts/about-apis/versioning). - """ - supported: Boolean! + items: [CartItemInput] } """ -Details about the gift card used on the checkout. +The payload for the addCartItems mutation """ -type AppliedGiftCard implements Node { - """ - The amount that was taken from the gift card by applying it. - """ - amountUsed: Money! @deprecated(reason: "Use `amountUsedV2` instead") +type AddCartItemsPayload { + added: [CartItem] + cart: Cart + cartErrors: [CartItemError] """ - The amount that was taken from the gift card by applying it. + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ - amountUsedV2: MoneyV2! - - """ - The amount left on the gift card. - """ - balance: Money! @deprecated(reason: "Use `balanceV2` instead") - - """ - The amount left on the gift card. - """ - balanceV2: MoneyV2! - - """ - Globally unique identifier. - """ - id: ID! - - """ - The last characters of the gift card. - """ - lastCharacters: String! - - """ - The amount that was applied to the checkout in its currency. - """ - presentmentAmountUsed: MoneyV2! + clientMutationId: String } """ -An article in an online store blog. +Input for the addFee mutation """ -type Article implements Node { +input AddFeeInput { """ - The article's author. + Fee amount """ - author: ArticleAuthor! @deprecated(reason: "Use `authorV2` instead") + amount: Float """ - The article's author. + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ - authorV2: ArticleAuthor + clientMutationId: String """ - The blog that the article belongs to. + Unique name for the fee. """ - blog: Blog! + name: String! """ - List of comments posted on the article. + The tax class for the fee if taxable. """ - comments( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): CommentConnection! + taxClass: TaxClassEnum """ - Stripped content of the article, single line with HTML tags removed. + Is the fee taxable? """ - content( + taxable: Boolean +} + +""" +The payload for the addFee mutation +""" +type AddFeePayload { + cart: Cart + cartFee: CartFee + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +Input for the addToCart mutation +""" +input AddToCartInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + JSON string representation of extra cart item data + """ + extraData: String + + """ + Cart item product database ID or global ID + """ + productId: Int! + + """ + Cart item quantity + """ + quantity: Int + + """ + Cart item product variation attributes + """ + variation: [ProductAttributeInput] + + """ + Cart item product variation database ID or global ID + """ + variationId: Int +} + +""" +The payload for the addToCart mutation +""" +type AddToCartPayload { + cart: Cart + cartItem: CartItem + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +Coupon applied to the shopping cart. +""" +type AppliedCoupon { + """ + Coupon code + """ + code: String! + + """ + Discount applied with this coupon + """ + discountAmount( """ - Truncates string after the given length. + Exclude Taxes (Default "true") """ - truncateAt: Int + excludeTax: Boolean ): String! """ - The content of the article, complete with HTML formatting. + Taxes on discount applied with this coupon """ - contentHtml: HTML! - - """ - Stripped excerpt of the article, single line with HTML tags removed. - """ - excerpt( - """ - Truncates string after the given length. - """ - truncateAt: Int - ): String - - """ - The excerpt of the article, complete with HTML formatting. - """ - excerptHtml: HTML - - """ - A human-friendly unique string for the Article automatically generated from its title. - """ - handle: String! - - """ - Globally unique identifier. - """ - id: ID! - - """ - The image associated with the article. - """ - image( - """ - Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead. - """ - maxWidth: Int - - """ - Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead. - """ - maxHeight: Int - - """ - Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead. - """ - crop: CropRegion - - """ - Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead. - """ - scale: Int = 1 - ): Image - - """ - The date and time when the article was published. - """ - publishedAt: DateTime! - - """ - The article’s SEO information. - """ - seo: SEO - - """ - A categorization that a article can be tagged with. - """ - tags: [String!]! - - """ - The article’s name. - """ - title: String! - - """ - The url pointing to the article accessible from the web. - """ - url: URL! + discountTax: String! } """ -The author of an article. +Input for the applyCoupon mutation """ -type ArticleAuthor { +input ApplyCouponInput { """ - The author's bio. + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ - bio: String + clientMutationId: String """ - The author’s email. + Code of coupon being applied """ - email: String! - - """ - The author's first name. - """ - firstName: String! - - """ - The author's last name. - """ - lastName: String! - - """ - The author's full name. - """ - name: String! + code: String! } """ -An auto-generated type for paginating through multiple Articles. +The payload for the applyCoupon mutation """ -type ArticleConnection { - """ - A list of edges. - """ - edges: [ArticleEdge!]! +type ApplyCouponPayload { + applied: AppliedCoupon + cart: Cart """ - Information to aid in pagination. + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. """ - pageInfo: PageInfo! + clientMutationId: String } """ -An auto-generated type which holds one Article and a cursor during pagination. +Attribute object """ -type ArticleEdge { +interface Attribute { """ - A cursor for use in pagination. + Name of attribute """ - cursor: String! + name: String """ - The item at the end of ArticleEdge. - """ - node: Article! -} - -""" -The set of valid sort keys for the Article query. -""" -enum ArticleSortKeys { - """ - Sort by the `title` value. - """ - TITLE - - """ - Sort by the `blog_title` value. - """ - BLOG_TITLE - - """ - Sort by the `author` value. - """ - AUTHOR - - """ - Sort by the `updated_at` value. - """ - UPDATED_AT - - """ - Sort by the `published_at` value. - """ - PUBLISHED_AT - - """ - Sort by the `id` value. - """ - 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 -} - -""" -Represents a generic custom attribute. -""" -type Attribute { - """ - Key or name of the attribute. - """ - key: String! - - """ - Value of the attribute. + Selected value of attribute """ value: String } """ -Specifies the input fields required for an attribute. +Avatars are profile images for users. WordPress by default uses the Gravatar service to host and fetch avatars from. """ -input AttributeInput { +type Avatar { """ - Key or name of the attribute. + URL for the default image or a default type. Accepts '404' (return a 404 instead of a default image), 'retro' (8bit), 'monsterid' (monster), 'wavatar' (cartoon face), 'indenticon' (the 'quilt'), 'mystery', 'mm', or 'mysteryman' (The Oyster Man), 'blank' (transparent GIF), or 'gravatar_default' (the Gravatar logo). """ - key: String! + default: String """ - Value of the attribute. + HTML attributes to insert in the IMG element. Is not sanitized. """ - value: String! -} - -""" -Automatic discount applications capture the intentions of a discount that was automatically applied. -""" -type AutomaticDiscountApplication implements 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! -} - -""" -A collection of available shipping rates for a checkout. -""" -type AvailableShippingRates { - """ - Whether or not the shipping rates are ready. - The `shippingRates` field is `null` when this value is `false`. - This field should be polled until its value becomes `true`. - """ - ready: Boolean! - - """ - The fetched shipping rates. `null` until the `ready` field is `true`. - """ - shippingRates: [ShippingRate!] -} - -""" -An online store blog. -""" -type Blog implements Node { - """ - Find an article by its handle. - """ - articleByHandle( - """ - The handle of the article. - """ - handle: String! - ): Article - - """ - List of the blog's articles. - """ - articles( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: ArticleSortKeys = ID - - """ - Supported filter parameters: - - `author` - - `blog_title` - - `created_at` - - `tag` - - `updated_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): ArticleConnection! - - """ - The authors who have contributed to the blog. - """ - authors: [ArticleAuthor!]! - - """ - A human-friendly unique string for the Blog automatically generated from its title. - """ - handle: String! - - """ - Globally unique identifier. - """ - id: ID! - - """ - The blog's SEO information. - """ - seo: SEO - - """ - The blogs’s title. - """ - title: String! - - """ - The url pointing to the blog accessible from the web. - """ - url: URL! -} - -""" -An auto-generated type for paginating through multiple Blogs. -""" -type BlogConnection { - """ - A list of edges. - """ - edges: [BlogEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one Blog and a cursor during pagination. -""" -type BlogEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of BlogEdge. - """ - node: Blog! -} - -""" -The set of valid sort keys for the Blog query. -""" -enum BlogSortKeys { - """ - Sort by the `handle` value. - """ - HANDLE - - """ - Sort by the `title` value. - """ - TITLE - - """ - Sort by the `id` value. - """ - 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 -} - -""" -Card brand, such as Visa or Mastercard, which can be used for payments. -""" -enum CardBrand { - """ - Visa. - """ - VISA - - """ - Mastercard. - """ - MASTERCARD - - """ - Discover. - """ - DISCOVER - - """ - American Express. - """ - AMERICAN_EXPRESS - - """ - Diners Club. - """ - DINERS_CLUB - - """ - JCB. - """ - JCB -} - -""" -A container for all the information required to checkout items and pay. -""" -type Checkout implements Node { - """ - The gift cards used on the checkout. - """ - appliedGiftCards: [AppliedGiftCard!]! - - """ - The available shipping rates for this Checkout. - Should only be used when checkout `requiresShipping` is `true` and - the shipping address is valid. - """ - availableShippingRates: AvailableShippingRates - - """ - The date and time when the checkout was completed. - """ - completedAt: DateTime - - """ - The date and time when the checkout was created. - """ - createdAt: DateTime! - - """ - The currency code for the Checkout. - """ - currencyCode: CurrencyCode! - - """ - A list of extra information that is added to the checkout. - """ - customAttributes: [Attribute!]! - - """ - The customer associated with the checkout. - """ - customer: Customer - @deprecated( - reason: "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." - ) - - """ - Discounts that have been applied on the checkout. - """ - discountApplications( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): DiscountApplicationConnection! - - """ - The email attached to this checkout. - """ - email: String - - """ - Globally unique identifier. - """ - id: ID! - - """ - A list of line item objects, each one containing information about an item in the checkout. - """ - lineItems( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): CheckoutLineItemConnection! - - """ - The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded. - """ - lineItemsSubtotalPrice: MoneyV2! - - """ - The note associated with the checkout. - """ - note: String - - """ - The resulting order from a paid checkout. - """ - order: Order - - """ - The Order Status Page for this Checkout, null when checkout is not completed. - """ - orderStatusUrl: URL - - """ - The amount left to be paid. This is equal to the cost of the line items, taxes and shipping minus discounts and gift cards. - """ - paymentDue: Money! @deprecated(reason: "Use `paymentDueV2` instead") - - """ - The amount left to be paid. This is equal to the cost of the line items, duties, taxes and shipping minus discounts and gift cards. - """ - paymentDueV2: MoneyV2! - - """ - Whether or not the Checkout is ready and can be completed. Checkouts may - have asynchronous operations that can take time to finish. If you want - to complete a checkout or ensure all the fields are populated and up to - date, polling is required until the value is true. - """ - ready: Boolean! - - """ - States whether or not the fulfillment requires shipping. - """ - requiresShipping: Boolean! - - """ - The shipping address to where the line items will be shipped. - """ - shippingAddress: MailingAddress - - """ - The discounts that have been allocated onto the shipping line by discount applications. - """ - shippingDiscountAllocations: [DiscountAllocation!]! - - """ - Once a shipping rate is selected by the customer it is transitioned to a `shipping_line` object. - """ - shippingLine: ShippingRate - - """ - Price of the checkout before shipping and taxes. - """ - subtotalPrice: Money! @deprecated(reason: "Use `subtotalPriceV2` instead") - - """ - Price of the checkout before duties, shipping and taxes. - """ - subtotalPriceV2: MoneyV2! - - """ - Specifies if the Checkout is tax exempt. - """ - taxExempt: Boolean! - - """ - Specifies if taxes are included in the line item and shipping line prices. - """ - taxesIncluded: Boolean! - - """ - The sum of all the prices of all the items in the checkout, taxes and discounts included. - """ - totalPrice: Money! @deprecated(reason: "Use `totalPriceV2` instead") - - """ - The sum of all the prices of all the items in the checkout, duties, taxes and discounts included. - """ - totalPriceV2: MoneyV2! - - """ - The sum of all the taxes applied to the line items and shipping lines in the checkout. - """ - totalTax: Money! @deprecated(reason: "Use `totalTaxV2` instead") - - """ - The sum of all the taxes applied to the line items and shipping lines in the checkout. - """ - totalTaxV2: MoneyV2! - - """ - The date and time when the checkout was last updated. - """ - updatedAt: DateTime! - - """ - The url pointing to the checkout accessible from the web. - """ - webUrl: URL! -} - -""" -Specifies the fields required to update a checkout's attributes. -""" -input 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: [AttributeInput!] - - """ - 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 -} - -""" -Return type for `checkoutAttributesUpdate` mutation. -""" -type CheckoutAttributesUpdatePayload { - """ - The updated checkout object. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Specifies the fields required to update a checkout's attributes. -""" -input 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: [AttributeInput!] - - """ - 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 -} - -""" -Return type for `checkoutAttributesUpdateV2` mutation. -""" -type CheckoutAttributesUpdateV2Payload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCompleteFree` mutation. -""" -type CheckoutCompleteFreePayload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCompleteWithCreditCard` mutation. -""" -type CheckoutCompleteWithCreditCardPayload { - """ - The checkout on which the payment was applied. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - A representation of the attempted payment. - """ - payment: Payment - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCompleteWithCreditCardV2` mutation. -""" -type CheckoutCompleteWithCreditCardV2Payload { - """ - The checkout on which the payment was applied. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - A representation of the attempted payment. - """ - payment: Payment - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCompleteWithTokenizedPayment` mutation. -""" -type CheckoutCompleteWithTokenizedPaymentPayload { - """ - The checkout on which the payment was applied. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - A representation of the attempted payment. - """ - payment: Payment - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCompleteWithTokenizedPaymentV2` mutation. -""" -type CheckoutCompleteWithTokenizedPaymentV2Payload { - """ - The checkout on which the payment was applied. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - A representation of the attempted payment. - """ - payment: Payment - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation. -""" -type CheckoutCompleteWithTokenizedPaymentV3Payload { - """ - The checkout on which the payment was applied. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - A representation of the attempted payment. - """ - payment: Payment - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Specifies the fields required to create a checkout. -""" -input 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: [CheckoutLineItemInput!] - - """ - 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: [AttributeInput!] - - """ - 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 -} - -""" -Return type for `checkoutCreate` mutation. -""" -type CheckoutCreatePayload { - """ - The new checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCustomerAssociate` mutation. -""" -type CheckoutCustomerAssociatePayload { - """ - The updated checkout object. - """ - checkout: Checkout! - - """ - The associated customer object. - """ - customer: Customer - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! -} - -""" -Return type for `checkoutCustomerAssociateV2` mutation. -""" -type CheckoutCustomerAssociateV2Payload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - The associated customer object. - """ - customer: Customer - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCustomerDisassociate` mutation. -""" -type CheckoutCustomerDisassociatePayload { - """ - The updated checkout object. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutCustomerDisassociateV2` mutation. -""" -type CheckoutCustomerDisassociateV2Payload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutDiscountCodeApply` mutation. -""" -type CheckoutDiscountCodeApplyPayload { - """ - The updated checkout object. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutDiscountCodeApplyV2` mutation. -""" -type CheckoutDiscountCodeApplyV2Payload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutDiscountCodeRemove` mutation. -""" -type CheckoutDiscountCodeRemovePayload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutEmailUpdate` mutation. -""" -type CheckoutEmailUpdatePayload { - """ - The checkout object with the updated email. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutEmailUpdateV2` mutation. -""" -type CheckoutEmailUpdateV2Payload { - """ - The checkout object with the updated email. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Possible error codes that could be returned by CheckoutUserError. -""" -enum CheckoutErrorCode { - """ - Input value is blank. - """ - BLANK - - """ - Input value is invalid. - """ - INVALID - - """ - Input value is too long. - """ - TOO_LONG - - """ - Input value is not present. - """ - PRESENT - - """ - Input value should be less than maximum allowed value. - """ - LESS_THAN - - """ - Input value should be greater than or equal to minimum allowed value. - """ - GREATER_THAN_OR_EQUAL_TO - - """ - Input value should be less or equal to maximum allowed value. - """ - LESS_THAN_OR_EQUAL_TO - - """ - Checkout is already completed. - """ - ALREADY_COMPLETED - - """ - Checkout is locked. - """ - LOCKED - - """ - Input value is not supported. - """ - NOT_SUPPORTED - - """ - Input email contains an invalid domain name. - """ - BAD_DOMAIN - - """ - Input Zip is invalid for country provided. - """ - INVALID_FOR_COUNTRY - - """ - Input Zip is invalid for country and province provided. - """ - INVALID_FOR_COUNTRY_AND_PROVINCE - - """ - Invalid state in country. - """ - INVALID_STATE_IN_COUNTRY - - """ - Invalid province in country. - """ - INVALID_PROVINCE_IN_COUNTRY - - """ - Invalid region in country. - """ - INVALID_REGION_IN_COUNTRY - - """ - Shipping rate expired. - """ - SHIPPING_RATE_EXPIRED - - """ - Gift card cannot be applied to a checkout that contains a gift card. - """ - GIFT_CARD_UNUSABLE - - """ - Gift card is disabled. - """ - GIFT_CARD_DISABLED - - """ - Gift card code is invalid. - """ - GIFT_CARD_CODE_INVALID - - """ - Gift card has already been applied. - """ - GIFT_CARD_ALREADY_APPLIED - - """ - Gift card currency does not match checkout currency. - """ - GIFT_CARD_CURRENCY_MISMATCH - - """ - Gift card is expired. - """ - GIFT_CARD_EXPIRED - - """ - Gift card has no funds left. - """ - GIFT_CARD_DEPLETED - - """ - Gift card was not found. - """ - GIFT_CARD_NOT_FOUND - - """ - Cart does not meet discount requirements notice. - """ - CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE - - """ - Discount expired. - """ - DISCOUNT_EXPIRED - - """ - Discount disabled. - """ - DISCOUNT_DISABLED - - """ - Discount limit reached. - """ - DISCOUNT_LIMIT_REACHED - - """ - Discount not found. - """ - DISCOUNT_NOT_FOUND - - """ - Customer already used once per customer discount notice. - """ - CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE - - """ - Checkout is already completed. - """ - EMPTY - - """ - Not enough in stock. - """ - NOT_ENOUGH_IN_STOCK - - """ - Missing payment input. - """ - MISSING_PAYMENT_INPUT - - """ - The amount of the payment does not match the value to be paid. - """ - TOTAL_PRICE_MISMATCH - - """ - Line item was not found in checkout. - """ - LINE_ITEM_NOT_FOUND - - """ - Unable to apply discount. - """ - UNABLE_TO_APPLY - - """ - Discount already applied. - """ - DISCOUNT_ALREADY_APPLIED -} - -""" -Return type for `checkoutGiftCardApply` mutation. -""" -type CheckoutGiftCardApplyPayload { - """ - The updated checkout object. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutGiftCardRemove` mutation. -""" -type CheckoutGiftCardRemovePayload { - """ - The updated checkout object. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutGiftCardRemoveV2` mutation. -""" -type CheckoutGiftCardRemoveV2Payload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutGiftCardsAppend` mutation. -""" -type CheckoutGiftCardsAppendPayload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -A single line item in the checkout, grouped by variant and attributes. -""" -type CheckoutLineItem implements Node { - """ - Extra information in the form of an array of Key-Value pairs about the line item. - """ - customAttributes: [Attribute!]! - - """ - The discounts that have been allocated onto the checkout line item by discount applications. - """ - discountAllocations: [DiscountAllocation!]! - - """ - Globally unique identifier. - """ - id: ID! - - """ - The quantity of the line item. - """ - quantity: Int! - - """ - 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 -} - -""" -An auto-generated type for paginating through multiple CheckoutLineItems. -""" -type CheckoutLineItemConnection { - """ - A list of edges. - """ - edges: [CheckoutLineItemEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one CheckoutLineItem and a cursor during pagination. -""" -type CheckoutLineItemEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of CheckoutLineItemEdge. - """ - node: CheckoutLineItem! -} - -""" -Specifies the input fields to create a line item on a checkout. -""" -input CheckoutLineItemInput { - """ - Extra information in the form of an array of Key-Value pairs about the line item. - """ - customAttributes: [AttributeInput!] - - """ - The quantity of the line item. - """ - quantity: Int! - - """ - The identifier of the product variant for the line item. - """ - variantId: ID! -} - -""" -Specifies the input fields to update a line item on the checkout. -""" -input CheckoutLineItemUpdateInput { - """ - The identifier of the line item. - """ - id: ID - - """ - The variant identifier of the line item. - """ - variantId: ID - - """ - The quantity of the line item. - """ - quantity: Int - - """ - Extra information in the form of an array of Key-Value pairs about the line item. - """ - customAttributes: [AttributeInput!] -} - -""" -Return type for `checkoutLineItemsAdd` mutation. -""" -type CheckoutLineItemsAddPayload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutLineItemsRemove` mutation. -""" -type CheckoutLineItemsRemovePayload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutLineItemsReplace` mutation. -""" -type CheckoutLineItemsReplacePayload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [CheckoutUserError!]! -} - -""" -Return type for `checkoutLineItemsUpdate` mutation. -""" -type CheckoutLineItemsUpdatePayload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutShippingAddressUpdate` mutation. -""" -type CheckoutShippingAddressUpdatePayload { - """ - The updated checkout object. - """ - checkout: Checkout! - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutShippingAddressUpdateV2` mutation. -""" -type CheckoutShippingAddressUpdateV2Payload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Return type for `checkoutShippingLineUpdate` mutation. -""" -type CheckoutShippingLineUpdatePayload { - """ - The updated checkout object. - """ - checkout: Checkout - - """ - List of errors that occurred executing the mutation. - """ - checkoutUserErrors: [CheckoutUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `checkoutUserErrors` instead") -} - -""" -Represents an error that happens during execution of a checkout mutation. -""" -type CheckoutUserError implements DisplayableError { - """ - Error code to uniquely identify the error. - """ - code: CheckoutErrorCode - - """ - Path to the input field which caused the error. - """ - field: [String!] - - """ - The error message. - """ - message: String! -} - -""" -A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. -""" -type Collection implements Node { - """ - Stripped description of the collection, single line with HTML tags removed. - """ - description( - """ - Truncates string after the given length. - """ - truncateAt: Int - ): String! - - """ - The description of the collection, complete with HTML formatting. - """ - descriptionHtml: HTML! - - """ - A human-friendly unique string for the collection automatically generated from its title. - Limit of 255 characters. - """ - handle: String! - - """ - Globally unique identifier. - """ - id: ID! - - """ - Image associated with the collection. - """ - image( - """ - Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead. - """ - maxWidth: Int - - """ - Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead. - """ - maxHeight: Int - - """ - Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead. - """ - crop: CropRegion - - """ - Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead. - """ - scale: Int = 1 - ): Image - - """ - List of products in the collection. - """ - products( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: ProductCollectionSortKeys = COLLECTION_DEFAULT - ): ProductConnection! - - """ - The collection’s name. Limit of 255 characters. - """ - title: String! - - """ - The date and time when the collection was last modified. - """ - updatedAt: DateTime! -} - -""" -An auto-generated type for paginating through multiple Collections. -""" -type CollectionConnection { - """ - A list of edges. - """ - edges: [CollectionEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one Collection and a cursor during pagination. -""" -type CollectionEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of CollectionEdge. - """ - node: Collection! -} - -""" -The set of valid sort keys for the Collection query. -""" -enum CollectionSortKeys { - """ - Sort by the `title` value. - """ - TITLE - - """ - Sort by the `updated_at` value. - """ - UPDATED_AT - - """ - Sort by the `id` value. - """ - 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 -} - -""" -A comment on an article. -""" -type Comment implements Node { - """ - The comment’s author. - """ - author: CommentAuthor! - - """ - Stripped content of the comment, single line with HTML tags removed. - """ - content( - """ - Truncates string after the given length. - """ - truncateAt: Int - ): String! - - """ - The content of the comment, complete with HTML formatting. - """ - contentHtml: HTML! - - """ - Globally unique identifier. - """ - id: ID! -} - -""" -The author of a comment. -""" -type CommentAuthor { - """ - The author's email. - """ - email: String! - - """ - The author’s name. - """ - name: String! -} - -""" -An auto-generated type for paginating through multiple Comments. -""" -type CommentConnection { - """ - A list of edges. - """ - edges: [CommentEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one Comment and a cursor during pagination. -""" -type CommentEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of CommentEdge. - """ - node: Comment! -} - -""" -ISO 3166-1 alpha-2 country codes with some differences. -""" -enum CountryCode { - """ - Afghanistan. - """ - AF - - """ - Åland Islands. - """ - AX - - """ - Albania. - """ - AL - - """ - Algeria. - """ - DZ - - """ - Andorra. - """ - AD - - """ - Angola. - """ - AO - - """ - Anguilla. - """ - AI - - """ - Antigua & Barbuda. - """ - AG - - """ - Argentina. - """ - AR - - """ - Armenia. - """ - AM - - """ - Aruba. - """ - AW - - """ - Ascension Island. - """ - AC - - """ - Australia. - """ - AU - - """ - Austria. - """ - AT - - """ - Azerbaijan. - """ - AZ - - """ - Bahamas. - """ - BS - - """ - Bahrain. - """ - BH - - """ - Bangladesh. - """ - BD - - """ - Barbados. - """ - BB - - """ - Belarus. - """ - BY - - """ - Belgium. - """ - BE - - """ - Belize. - """ - BZ - - """ - Benin. - """ - BJ - - """ - Bermuda. - """ - BM - - """ - Bhutan. - """ - BT - - """ - Bolivia. - """ - BO - - """ - Bosnia & Herzegovina. - """ - BA - - """ - Botswana. - """ - BW - - """ - Bouvet Island. - """ - BV - - """ - Brazil. - """ - BR - - """ - British Indian Ocean Territory. - """ - IO - - """ - Brunei. - """ - BN - - """ - Bulgaria. - """ - BG - - """ - Burkina Faso. - """ - BF - - """ - Burundi. - """ - BI - - """ - Cambodia. - """ - KH - - """ - Canada. - """ - CA - - """ - Cape Verde. - """ - CV - - """ - Caribbean Netherlands. - """ - BQ - - """ - Cayman Islands. - """ - KY - - """ - Central African Republic. - """ - CF - - """ - Chad. - """ - TD - - """ - Chile. - """ - CL - - """ - China. - """ - CN - - """ - Christmas Island. - """ - CX - - """ - Cocos (Keeling) Islands. - """ - CC - - """ - Colombia. - """ - CO - - """ - Comoros. - """ - KM - - """ - Congo - Brazzaville. - """ - CG - - """ - Congo - Kinshasa. - """ - CD - - """ - Cook Islands. - """ - CK - - """ - Costa Rica. - """ - CR - - """ - Croatia. - """ - HR - - """ - Cuba. - """ - CU - - """ - Curaçao. - """ - CW - - """ - Cyprus. - """ - CY - - """ - Czechia. - """ - CZ - - """ - Côte d’Ivoire. - """ - CI - - """ - Denmark. - """ - DK - - """ - Djibouti. - """ - DJ - - """ - Dominica. - """ - DM - - """ - Dominican Republic. - """ - DO - - """ - Ecuador. - """ - EC - - """ - Egypt. - """ - EG - - """ - El Salvador. - """ - SV - - """ - Equatorial Guinea. - """ - GQ - - """ - Eritrea. - """ - ER - - """ - Estonia. - """ - EE - - """ - Eswatini. - """ - SZ - - """ - Ethiopia. - """ - ET - - """ - Falkland Islands. - """ - FK - - """ - Faroe Islands. - """ - FO - - """ - Fiji. - """ - FJ - - """ - Finland. - """ - FI - - """ - France. - """ - FR - - """ - French Guiana. - """ - GF - - """ - French Polynesia. - """ - PF - - """ - French Southern Territories. - """ - TF - - """ - Gabon. - """ - GA - - """ - Gambia. - """ - GM - - """ - Georgia. - """ - GE - - """ - Germany. - """ - DE - - """ - Ghana. - """ - GH - - """ - Gibraltar. - """ - GI - - """ - Greece. - """ - GR - - """ - Greenland. - """ - GL - - """ - Grenada. - """ - GD - - """ - Guadeloupe. - """ - GP - - """ - Guatemala. - """ - GT - - """ - Guernsey. - """ - GG - - """ - Guinea. - """ - GN - - """ - Guinea-Bissau. - """ - GW - - """ - Guyana. - """ - GY - - """ - Haiti. - """ - HT - - """ - Heard & McDonald Islands. - """ - HM - - """ - Vatican City. - """ - VA - - """ - Honduras. - """ - HN - - """ - Hong Kong SAR. - """ - HK - - """ - Hungary. - """ - HU - - """ - Iceland. - """ - IS - - """ - India. - """ - IN - - """ - Indonesia. - """ - ID - - """ - Iran. - """ - IR - - """ - Iraq. - """ - IQ - - """ - Ireland. - """ - IE - - """ - Isle of Man. - """ - IM - - """ - Israel. - """ - IL - - """ - Italy. - """ - IT - - """ - Jamaica. - """ - JM - - """ - Japan. - """ - JP - - """ - Jersey. - """ - JE - - """ - Jordan. - """ - JO - - """ - Kazakhstan. - """ - KZ - - """ - Kenya. - """ - KE - - """ - Kiribati. - """ - KI - - """ - North Korea. - """ - KP - - """ - Kosovo. - """ - XK - - """ - Kuwait. - """ - KW - - """ - Kyrgyzstan. - """ - KG - - """ - Laos. - """ - LA - - """ - Latvia. - """ - LV - - """ - Lebanon. - """ - LB - - """ - Lesotho. - """ - LS - - """ - Liberia. - """ - LR - - """ - Libya. - """ - LY - - """ - Liechtenstein. - """ - LI - - """ - Lithuania. - """ - LT - - """ - Luxembourg. - """ - LU - - """ - Macao SAR. - """ - MO - - """ - Madagascar. - """ - MG - - """ - Malawi. - """ - MW - - """ - Malaysia. - """ - MY - - """ - Maldives. - """ - MV - - """ - Mali. - """ - ML - - """ - Malta. - """ - MT - - """ - Martinique. - """ - MQ - - """ - Mauritania. - """ - MR - - """ - Mauritius. - """ - MU - - """ - Mayotte. - """ - YT - - """ - Mexico. - """ - MX - - """ - Moldova. - """ - MD - - """ - Monaco. - """ - MC - - """ - Mongolia. - """ - MN - - """ - Montenegro. - """ - ME - - """ - Montserrat. - """ - MS - - """ - Morocco. - """ - MA - - """ - Mozambique. - """ - MZ - - """ - Myanmar (Burma). - """ - MM - - """ - Namibia. - """ - NA - - """ - Nauru. - """ - NR - - """ - Nepal. - """ - NP - - """ - Netherlands. - """ - NL - - """ - Netherlands Antilles. - """ - AN - - """ - New Caledonia. - """ - NC - - """ - New Zealand. - """ - NZ - - """ - Nicaragua. - """ - NI - - """ - Niger. - """ - NE - - """ - Nigeria. - """ - NG - - """ - Niue. - """ - NU - - """ - Norfolk Island. - """ - NF - - """ - North Macedonia. - """ - MK - - """ - Norway. - """ - NO - - """ - Oman. - """ - OM - - """ - Pakistan. - """ - PK - - """ - Palestinian Territories. - """ - PS - - """ - Panama. - """ - PA - - """ - Papua New Guinea. - """ - PG - - """ - Paraguay. - """ - PY - - """ - Peru. - """ - PE - - """ - Philippines. - """ - PH - - """ - Pitcairn Islands. - """ - PN - - """ - Poland. - """ - PL - - """ - Portugal. - """ - PT - - """ - Qatar. - """ - QA - - """ - Cameroon. - """ - CM - - """ - Réunion. - """ - RE - - """ - Romania. - """ - RO - - """ - Russia. - """ - RU - - """ - Rwanda. - """ - RW - - """ - St. Barthélemy. - """ - BL - - """ - St. Helena. - """ - SH - - """ - St. Kitts & Nevis. - """ - KN - - """ - St. Lucia. - """ - LC - - """ - St. Martin. - """ - MF - - """ - St. Pierre & Miquelon. - """ - PM - - """ - Samoa. - """ - WS - - """ - San Marino. - """ - SM - - """ - São Tomé & Príncipe. - """ - ST - - """ - Saudi Arabia. - """ - SA - - """ - Senegal. - """ - SN - - """ - Serbia. - """ - RS - - """ - Seychelles. - """ - SC - - """ - Sierra Leone. - """ - SL - - """ - Singapore. - """ - SG - - """ - Sint Maarten. - """ - SX - - """ - Slovakia. - """ - SK - - """ - Slovenia. - """ - SI - - """ - Solomon Islands. - """ - SB - - """ - Somalia. - """ - SO - - """ - South Africa. - """ - ZA - - """ - South Georgia & South Sandwich Islands. - """ - GS - - """ - South Korea. - """ - KR - - """ - South Sudan. - """ - SS - - """ - Spain. - """ - ES - - """ - Sri Lanka. - """ - LK - - """ - St. Vincent & Grenadines. - """ - VC - - """ - Sudan. - """ - SD - - """ - Suriname. - """ - SR - - """ - Svalbard & Jan Mayen. - """ - SJ - - """ - Sweden. - """ - SE - - """ - Switzerland. - """ - CH - - """ - Syria. - """ - SY - - """ - Taiwan. - """ - TW - - """ - Tajikistan. - """ - TJ - - """ - Tanzania. - """ - TZ - - """ - Thailand. - """ - TH - - """ - Timor-Leste. - """ - TL - - """ - Togo. - """ - TG - - """ - Tokelau. - """ - TK - - """ - Tonga. - """ - TO - - """ - Trinidad & Tobago. - """ - TT - - """ - Tristan da Cunha. - """ - TA - - """ - Tunisia. - """ - TN - - """ - Turkey. - """ - TR - - """ - Turkmenistan. - """ - TM - - """ - Turks & Caicos Islands. - """ - TC - - """ - Tuvalu. - """ - TV - - """ - Uganda. - """ - UG - - """ - Ukraine. - """ - UA - - """ - United Arab Emirates. - """ - AE - - """ - United Kingdom. - """ - GB - - """ - United States. - """ - US - - """ - U.S. Outlying Islands. - """ - UM - - """ - Uruguay. - """ - UY - - """ - Uzbekistan. - """ - UZ - - """ - Vanuatu. - """ - VU - - """ - Venezuela. - """ - VE - - """ - Vietnam. - """ - VN - - """ - British Virgin Islands. - """ - VG - - """ - Wallis & Futuna. - """ - WF - - """ - Western Sahara. - """ - EH - - """ - Yemen. - """ - YE - - """ - Zambia. - """ - ZM - - """ - Zimbabwe. - """ - ZW -} - -""" -Credit card information used for a payment. -""" -type CreditCard { - """ - The brand of the credit card. - """ - brand: String - - """ - The expiry month of the credit card. - """ - expiryMonth: Int - - """ - The expiry year of the credit card. - """ - expiryYear: Int - - """ - 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 -} - -""" -Specifies the fields required to complete a checkout with -a Shopify vaulted credit card payment. -""" -input 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. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). - """ - 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 -} - -""" -Specifies the fields required to complete a checkout with -a Shopify vaulted credit card payment. -""" -input 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. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). - """ - 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 -} - -""" -The part of the image that should remain after cropping. -""" -enum CropRegion { - """ - Keep the center of the image. - """ - CENTER - - """ - Keep the top of the image. - """ - TOP - - """ - Keep the bottom of the image. - """ - BOTTOM - - """ - Keep the left of the image. - """ - LEFT - - """ - Keep the right of the image. - """ - RIGHT -} - -""" -Currency codes. -""" -enum CurrencyCode { - """ - United States Dollars (USD). - """ - USD - - """ - Euro (EUR). - """ - EUR - - """ - United Kingdom Pounds (GBP). - """ - GBP - - """ - Canadian Dollars (CAD). - """ - CAD - - """ - Afghan Afghani (AFN). - """ - AFN - - """ - Albanian Lek (ALL). - """ - ALL - - """ - Algerian Dinar (DZD). - """ - DZD - - """ - Angolan Kwanza (AOA). - """ - AOA - - """ - Argentine Pesos (ARS). - """ - ARS - - """ - Armenian Dram (AMD). - """ - AMD - - """ - Aruban Florin (AWG). - """ - AWG - - """ - Australian Dollars (AUD). - """ - AUD - - """ - Barbadian Dollar (BBD). - """ - BBD - - """ - Azerbaijani Manat (AZN). - """ - AZN - - """ - Bangladesh Taka (BDT). - """ - BDT - - """ - Bahamian Dollar (BSD). - """ - BSD - - """ - Bahraini Dinar (BHD). - """ - BHD - - """ - Burundian Franc (BIF). - """ - BIF - - """ - Belize Dollar (BZD). - """ - BZD - - """ - Bermudian Dollar (BMD). - """ - BMD - - """ - Bhutanese Ngultrum (BTN). - """ - BTN - - """ - Bosnia and Herzegovina Convertible Mark (BAM). - """ - BAM - - """ - Brazilian Real (BRL). - """ - BRL - - """ - Bolivian Boliviano (BOB). - """ - BOB - - """ - Botswana Pula (BWP). - """ - BWP - - """ - Brunei Dollar (BND). - """ - BND - - """ - Bulgarian Lev (BGN). - """ - BGN - - """ - Burmese Kyat (MMK). - """ - MMK - - """ - Cambodian Riel. - """ - KHR - - """ - Cape Verdean escudo (CVE). - """ - CVE - - """ - Cayman Dollars (KYD). - """ - KYD - - """ - Central African CFA Franc (XAF). - """ - XAF - - """ - Chilean Peso (CLP). - """ - CLP - - """ - Chinese Yuan Renminbi (CNY). - """ - CNY - - """ - Colombian Peso (COP). - """ - COP - - """ - Comorian Franc (KMF). - """ - KMF - - """ - Congolese franc (CDF). - """ - CDF - - """ - Costa Rican Colones (CRC). - """ - CRC - - """ - Croatian Kuna (HRK). - """ - HRK - - """ - Czech Koruny (CZK). - """ - CZK - - """ - Danish Kroner (DKK). - """ - DKK - - """ - Dominican Peso (DOP). - """ - DOP - - """ - East Caribbean Dollar (XCD). - """ - XCD - - """ - Egyptian Pound (EGP). - """ - EGP - - """ - Ethiopian Birr (ETB). - """ - ETB - - """ - CFP Franc (XPF). - """ - XPF - - """ - Fijian Dollars (FJD). - """ - FJD - - """ - Gambian Dalasi (GMD). - """ - GMD - - """ - Ghanaian Cedi (GHS). - """ - GHS - - """ - Guatemalan Quetzal (GTQ). - """ - GTQ - - """ - Guyanese Dollar (GYD). - """ - GYD - - """ - Georgian Lari (GEL). - """ - GEL - - """ - Haitian Gourde (HTG). - """ - HTG - - """ - Honduran Lempira (HNL). - """ - HNL - - """ - Hong Kong Dollars (HKD). - """ - HKD - - """ - Hungarian Forint (HUF). - """ - HUF - - """ - Icelandic Kronur (ISK). - """ - ISK - - """ - Indian Rupees (INR). - """ - INR - - """ - Indonesian Rupiah (IDR). - """ - IDR - - """ - Israeli New Shekel (NIS). - """ - ILS - - """ - Iraqi Dinar (IQD). - """ - IQD - - """ - Jamaican Dollars (JMD). - """ - JMD - - """ - Japanese Yen (JPY). - """ - JPY - - """ - Jersey Pound. - """ - JEP - - """ - Jordanian Dinar (JOD). - """ - JOD - - """ - Kazakhstani Tenge (KZT). - """ - KZT - - """ - Kenyan Shilling (KES). - """ - KES - - """ - Kuwaiti Dinar (KWD). - """ - KWD - - """ - Kyrgyzstani Som (KGS). - """ - KGS - - """ - Laotian Kip (LAK). - """ - LAK - - """ - Latvian Lati (LVL). - """ - LVL - - """ - Lebanese Pounds (LBP). - """ - LBP - - """ - Lesotho Loti (LSL). - """ - LSL - - """ - Liberian Dollar (LRD). - """ - LRD - - """ - Lithuanian Litai (LTL). - """ - LTL - - """ - Malagasy Ariary (MGA). - """ - MGA - - """ - Macedonia Denar (MKD). - """ - MKD - - """ - Macanese Pataca (MOP). - """ - MOP - - """ - Malawian Kwacha (MWK). - """ - MWK - - """ - Maldivian Rufiyaa (MVR). - """ - MVR - - """ - Mexican Pesos (MXN). - """ - MXN - - """ - Malaysian Ringgits (MYR). - """ - MYR - - """ - Mauritian Rupee (MUR). - """ - MUR - - """ - Moldovan Leu (MDL). - """ - MDL - - """ - Moroccan Dirham. - """ - MAD - - """ - Mongolian Tugrik. - """ - MNT - - """ - Mozambican Metical. - """ - MZN - - """ - Namibian Dollar. - """ - NAD - - """ - Nepalese Rupee (NPR). - """ - NPR - - """ - Netherlands Antillean Guilder. - """ - ANG - - """ - New Zealand Dollars (NZD). - """ - NZD - - """ - Nicaraguan Córdoba (NIO). - """ - NIO - - """ - Nigerian Naira (NGN). - """ - NGN - - """ - Norwegian Kroner (NOK). - """ - NOK - - """ - Omani Rial (OMR). - """ - OMR - - """ - Panamian Balboa (PAB). - """ - PAB - - """ - Pakistani Rupee (PKR). - """ - PKR - - """ - Papua New Guinean Kina (PGK). - """ - PGK - - """ - Paraguayan Guarani (PYG). - """ - PYG - - """ - Peruvian Nuevo Sol (PEN). - """ - PEN - - """ - Philippine Peso (PHP). - """ - PHP - - """ - Polish Zlotych (PLN). - """ - PLN - - """ - Qatari Rial (QAR). - """ - QAR - - """ - Romanian Lei (RON). - """ - RON - - """ - Russian Rubles (RUB). - """ - RUB - - """ - Rwandan Franc (RWF). - """ - RWF - - """ - Samoan Tala (WST). - """ - WST - - """ - Saudi Riyal (SAR). - """ - SAR - - """ - Sao Tome And Principe Dobra (STD). - """ - STD - - """ - Serbian dinar (RSD). - """ - RSD - - """ - Seychellois Rupee (SCR). - """ - SCR - - """ - Singapore Dollars (SGD). - """ - SGD - - """ - Sudanese Pound (SDG). - """ - SDG - - """ - Syrian Pound (SYP). - """ - SYP - - """ - South African Rand (ZAR). - """ - ZAR - - """ - South Korean Won (KRW). - """ - KRW - - """ - South Sudanese Pound (SSP). - """ - SSP - - """ - Solomon Islands Dollar (SBD). - """ - SBD - - """ - Sri Lankan Rupees (LKR). - """ - LKR - - """ - Surinamese Dollar (SRD). - """ - SRD - - """ - Swazi Lilangeni (SZL). - """ - SZL - - """ - Swedish Kronor (SEK). - """ - SEK - - """ - Swiss Francs (CHF). - """ - CHF - - """ - Taiwan Dollars (TWD). - """ - TWD - - """ - Thai baht (THB). - """ - THB - - """ - Tanzanian Shilling (TZS). - """ - TZS - - """ - Trinidad and Tobago Dollars (TTD). - """ - TTD - - """ - Tunisian Dinar (TND). - """ - TND - - """ - Turkish Lira (TRY). - """ - TRY - - """ - Turkmenistani Manat (TMT). - """ - TMT - - """ - Ugandan Shilling (UGX). - """ - UGX - - """ - Ukrainian Hryvnia (UAH). - """ - UAH - - """ - United Arab Emirates Dirham (AED). - """ - AED - - """ - Uruguayan Pesos (UYU). - """ - UYU - - """ - Uzbekistan som (UZS). - """ - UZS - - """ - Vanuatu Vatu (VUV). - """ - VUV - - """ - Vietnamese đồng (VND). - """ - VND - - """ - West African CFA franc (XOF). - """ - XOF - - """ - Yemeni Rial (YER). - """ - YER - - """ - Zambian Kwacha (ZMW). - """ - ZMW - - """ - Belarusian Ruble (BYN). - """ - BYN - - """ - Belarusian Ruble (BYR). - """ - BYR - - """ - Djiboutian Franc (DJF). - """ - DJF - - """ - Eritrean Nakfa (ERN). - """ - ERN - - """ - Falkland Islands Pounds (FKP). - """ - FKP - - """ - Gibraltar Pounds (GIP). - """ - GIP - - """ - Guinean Franc (GNF). - """ - GNF - - """ - Iranian Rial (IRR). - """ - IRR - - """ - Kiribati Dollar (KID). - """ - KID - - """ - Libyan Dinar (LYD). - """ - LYD - - """ - Mauritanian Ouguiya (MRU). - """ - MRU - - """ - Sierra Leonean Leone (SLL). - """ - SLL - - """ - Saint Helena Pounds (SHP). - """ - SHP - - """ - Somali Shilling (SOS). - """ - SOS - - """ - Tajikistani Somoni (TJS). - """ - TJS - - """ - Tongan Pa'anga (TOP). - """ - TOP - - """ - Venezuelan Bolivares (VEF). - """ - VEF - - """ - Venezuelan Bolivares (VES). - """ - VES -} - -""" -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. -""" -type Customer { - """ - Indicates whether the customer has consented to be sent marketing material via email. - """ - acceptsMarketing: Boolean! - - """ - A list of addresses for the customer. - """ - addresses( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): MailingAddressConnection! - - """ - The date and time when the customer was created. - """ - createdAt: DateTime! - - """ - The customer’s default address. - """ - defaultAddress: MailingAddress - - """ - The customer’s name, email or phone number. - """ - displayName: String! - - """ - The customer’s email address. - """ - email: String - - """ - The customer’s first name. - """ - firstName: String - - """ - A unique identifier for the customer. - """ - id: ID! - - """ - The customer's most recently updated, incomplete checkout. - """ - lastIncompleteCheckout: Checkout - - """ - The customer’s last name. - """ - lastName: String - - """ - The orders associated with the customer. - """ - orders( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: OrderSortKeys = ID - - """ - Supported filter parameters: - - `processed_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): OrderConnection! - - """ - The customer’s phone number. - """ - phone: String - - """ - A comma separated list of tags that have been added to the customer. - Additional access scope required: unauthenticated_read_customer_tags. - """ - tags: [String!]! - - """ - The date and time when the customer information was updated. - """ - updatedAt: DateTime! -} - -""" -A CustomerAccessToken represents the unique token required to make modifications to the customer object. -""" -type CustomerAccessToken { - """ - The customer’s access token. - """ - accessToken: String! - - """ - The date and time when the customer access token expires. - """ - expiresAt: DateTime! -} - -""" -Specifies the input fields required to create a customer access token. -""" -input CustomerAccessTokenCreateInput { - """ - The email associated to the customer. - """ - email: String! - - """ - The login password to be used by the customer. - """ - password: String! -} - -""" -Return type for `customerAccessTokenCreate` mutation. -""" -type CustomerAccessTokenCreatePayload { - """ - The newly created customer access token object. - """ - customerAccessToken: CustomerAccessToken - - """ - List of errors that occurred executing the mutation. - """ - customerUserErrors: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Return type for `customerAccessTokenCreateWithMultipass` mutation. -""" -type CustomerAccessTokenCreateWithMultipassPayload { - """ - An access token object associated with the customer. - """ - customerAccessToken: CustomerAccessToken - - """ - List of errors that occurred executing the mutation. - """ - customerUserErrors: [CustomerUserError!]! -} - -""" -Return type for `customerAccessTokenDelete` mutation. -""" -type 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: [UserError!]! -} - -""" -Return type for `customerAccessTokenRenew` mutation. -""" -type CustomerAccessTokenRenewPayload { - """ - The renewed customer access token object. - """ - customerAccessToken: CustomerAccessToken - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! -} - -""" -Return type for `customerActivateByUrl` mutation. -""" -type 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: [CustomerUserError!]! -} - -""" -Specifies the input fields required to activate a customer. -""" -input CustomerActivateInput { - """ - The activation token required to activate the customer. - """ - activationToken: String! - - """ - New password that will be set during activation. - """ - password: String! -} - -""" -Return type for `customerActivate` mutation. -""" -type 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: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Return type for `customerAddressCreate` mutation. -""" -type CustomerAddressCreatePayload { - """ - The new customer address object. - """ - customerAddress: MailingAddress - - """ - List of errors that occurred executing the mutation. - """ - customerUserErrors: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Return type for `customerAddressDelete` mutation. -""" -type CustomerAddressDeletePayload { - """ - List of errors that occurred executing the mutation. - """ - customerUserErrors: [CustomerUserError!]! - - """ - ID of the deleted customer address. - """ - deletedCustomerAddressId: String - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Return type for `customerAddressUpdate` mutation. -""" -type CustomerAddressUpdatePayload { - """ - The customer’s updated mailing address. - """ - customerAddress: MailingAddress - - """ - List of errors that occurred executing the mutation. - """ - customerUserErrors: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Specifies the fields required to create a new customer. -""" -input 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 -} - -""" -Return type for `customerCreate` mutation. -""" -type CustomerCreatePayload { - """ - The created customer object. - """ - customer: Customer - - """ - List of errors that occurred executing the mutation. - """ - customerUserErrors: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Return type for `customerDefaultAddressUpdate` mutation. -""" -type CustomerDefaultAddressUpdatePayload { - """ - The updated customer object. - """ - customer: Customer - - """ - List of errors that occurred executing the mutation. - """ - customerUserErrors: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Possible error codes that could be returned by CustomerUserError. -""" -enum CustomerErrorCode { - """ - Input value is blank. - """ - BLANK - - """ - Input value is invalid. - """ - INVALID - - """ - Input value is already taken. - """ - TAKEN - - """ - Input value is too long. - """ - TOO_LONG - - """ - Input value is too short. - """ - TOO_SHORT - - """ - Unidentified customer. - """ - UNIDENTIFIED_CUSTOMER - - """ - Customer is disabled. - """ - CUSTOMER_DISABLED - - """ - Input password starts or ends with whitespace. - """ - PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE - - """ - Input contains HTML tags. - """ - CONTAINS_HTML_TAGS - - """ - Input contains URL. - """ - CONTAINS_URL - - """ - Invalid activation token. - """ - TOKEN_INVALID - - """ - Customer already enabled. - """ - ALREADY_ENABLED - - """ - Address does not exist. - """ - NOT_FOUND - - """ - Input email contains an invalid domain name. - """ - BAD_DOMAIN - - """ - Multipass token is not valid. - """ - INVALID_MULTIPASS_REQUEST -} - -""" -Return type for `customerRecover` mutation. -""" -type CustomerRecoverPayload { - """ - List of errors that occurred executing the mutation. - """ - customerUserErrors: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Return type for `customerResetByUrl` mutation. -""" -type 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: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Specifies the fields required to reset a customer’s password. -""" -input 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! -} - -""" -Return type for `customerReset` mutation. -""" -type 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: [CustomerUserError!]! + extraAttr: String """ - List of errors that occurred executing the mutation. + Whether to always show the default image, never the Gravatar. """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} + forceDefault: Boolean -""" -Specifies the fields required to update the Customer information. -""" -input 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_. To remove the phone number, specify `null`. - """ - 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 -} - -""" -Return type for `customerUpdate` mutation. -""" -type 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: [CustomerUserError!]! - - """ - List of errors that occurred executing the mutation. - """ - userErrors: [UserError!]! - @deprecated(reason: "Use `customerUserErrors` instead") -} - -""" -Represents an error that happens during execution of a customer mutation. -""" -type CustomerUserError implements DisplayableError { - """ - Error code to uniquely identify the error. - """ - code: CustomerErrorCode - - """ - Path to the input field which caused the error. - """ - field: [String!] - - """ - The error message. - """ - message: String! -} - -""" -An ISO-8601 encoded UTC date time string. Example value: `"2019-07-03T20:47:55Z"`. -""" -scalar DateTime - -""" -A signed decimal number, which supports arbitrary precision and is serialized as a string. Example value: `"29.99"`. -""" -scalar Decimal - -""" -Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. -""" -enum DigitalWallet { - """ - Apple Pay. - """ - APPLE_PAY - - """ - Android Pay. - """ - ANDROID_PAY - - """ - Google Pay. - """ - GOOGLE_PAY - - """ - Shopify Pay. - """ - SHOPIFY_PAY -} - -""" -An amount discounting the line that has been allocated by a discount. -""" -type DiscountAllocation { - """ - Amount of discount allocated. - """ - allocatedAmount: MoneyV2! - - """ - The discount this allocated amount originated from. - """ - discountApplication: DiscountApplication! -} - -""" -Discount applications capture the intentions of a discount source at -the time of application. -""" -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! -} - -""" -The method by which the discount's value is allocated onto its entitled lines. -""" -enum DiscountApplicationAllocationMethod { - """ - The value is spread across all entitled lines. - """ - ACROSS - - """ - The value is applied onto every entitled line. - """ - EACH - - """ - The value is specifically applied onto a particular line. - """ - ONE -} - -""" -An auto-generated type for paginating through multiple DiscountApplications. -""" -type DiscountApplicationConnection { - """ - A list of edges. - """ - edges: [DiscountApplicationEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one DiscountApplication and a cursor during pagination. -""" -type DiscountApplicationEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of DiscountApplicationEdge. - """ - node: DiscountApplication! -} - -""" -Which lines on the order that the discount is allocated over, of the type -defined by the Discount Application's target_type. -""" -enum DiscountApplicationTargetSelection { - """ - The discount is allocated onto all the lines. - """ - ALL - - """ - The discount is allocated onto only the lines it is entitled for. - """ - ENTITLED - - """ - The discount is allocated onto explicitly chosen lines. - """ - EXPLICIT -} - -""" -The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards. -""" -enum DiscountApplicationTargetType { - """ - The discount applies onto line items. - """ - LINE_ITEM - - """ - The discount applies onto shipping lines. - """ - SHIPPING_LINE -} - -""" -Discount code applications capture the intentions of a discount code at -the time that it is applied. -""" -type DiscountCodeApplication implements 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! -} - -""" -Represents an error in the input of a mutation. -""" -interface DisplayableError { - """ - Path to the input field which caused the error. - """ - field: [String!] - - """ - The error message. - """ - message: String! -} - -""" -Represents a web address. -""" -type 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! -} - -""" -Represents a video hosted outside of Shopify. -""" -type ExternalVideo implements 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: ID! - - """ - The media content type. - """ - mediaContentType: MediaContentType! - - """ - The preview image for the media. - """ - previewImage: Image -} - -""" -Represents a single fulfillment in an order. -""" -type Fulfillment { - """ - List of the fulfillment's line items. - """ - fulfillmentLineItems( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): FulfillmentLineItemConnection! - - """ - The name of the tracking company. - """ - trackingCompany: String - - """ - Tracking information associated with the fulfillment, - such as the tracking number and tracking URL. - """ - trackingInfo( - """ - Truncate the array result to this size. - """ - first: Int - ): [FulfillmentTrackingInfo!]! -} - -""" -Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item. -""" -type FulfillmentLineItem { - """ - The associated order's line item. - """ - lineItem: OrderLineItem! - - """ - The amount fulfilled in this fulfillment. - """ - quantity: Int! -} - -""" -An auto-generated type for paginating through multiple FulfillmentLineItems. -""" -type FulfillmentLineItemConnection { - """ - A list of edges. - """ - edges: [FulfillmentLineItemEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination. -""" -type FulfillmentLineItemEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of FulfillmentLineItemEdge. - """ - node: FulfillmentLineItem! -} - -""" -Tracking information associated with the fulfillment. -""" -type FulfillmentTrackingInfo { - """ - The tracking number of the fulfillment. - """ - number: String - - """ - The URL to track the fulfillment. - """ - url: URL -} - -""" -A string containing HTML code. Example value: `"

Grey cotton knit sweater.

"`. -""" -scalar HTML - -""" -Represents information about the metafields associated to the specified resource. -""" -interface HasMetafields { - """ - The metafield associated with the resource. - """ - metafield( - """ - Container for a set of metafields (maximum of 20 characters). - """ - namespace: String! - - """ - Identifier for the metafield (maximum of 30 characters). - """ - key: String! - ): Metafield - - """ - A paginated list of metafields associated with the resource. - """ - metafields( - """ - Container for a set of metafields (maximum of 20 characters). - """ - namespace: String - - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): MetafieldConnection! -} - -""" -Represents an image resource. -""" -type Image { """ - A word or phrase to share the nature or contents of an image. + Whether the avatar was successfully found. """ - altText: String + foundAvatar: Boolean """ - The original height of the image in pixels. Returns `null` if the image is not hosted by Shopify. + Height of the avatar image. """ height: Int """ - A unique identifier for the image. + Whether the object is restricted from the current viewer """ - id: ID + isRestricted: Boolean """ - 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. + What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. """ - originalSrc: URL! + rating: String """ - The location of the image as a URL. + Type of url scheme to use. Typically HTTP vs. HTTPS. """ - src: URL! - @deprecated( - reason: "Previously an image had a single `src` field. This could either return the original image\nlocation or a URL that contained transformations such as sizing or scale.\n\nThese transformations were specified by arguments on the parent field.\n\nNow an image has two distinct URL fields: `originalSrc` and `transformedSrc`.\n\n* `originalSrc` - the original unmodified image URL\n* `transformedSrc` - the image URL with the specified transformations included\n\nTo migrate to the new fields, image transformations should be moved from the parent field to `transformedSrc`.\n\nBefore:\n```graphql\n{\n shop {\n productImages(maxWidth: 200, scale: 2) {\n edges {\n node {\n src\n }\n }\n }\n }\n}\n```\n\nAfter:\n```graphql\n{\n shop {\n productImages {\n edges {\n node {\n transformedSrc(maxWidth: 200, scale: 2)\n }\n }\n }\n }\n}\n```\n" - ) + scheme: String """ - 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. + The size of the avatar in pixels. A value of 96 will match a 96px x 96px gravatar image. """ - transformedSrc( - """ - Image width in pixels between 1 and 5760. - """ - maxWidth: Int - - """ - Image height in pixels between 1 and 5760. - """ - maxHeight: Int - - """ - Crops the image according to the specified region. - """ - crop: CropRegion - - """ - Image size multiplier for high-resolution retina displays. Must be between 1 and 3. - """ - scale: Int = 1 - - """ - Best effort conversion of image into content type (SVG -> PNG, Anything -> JGP, Anything -> WEBP are supported). - """ - preferredContentType: ImageContentType - ): URL! + size: Int """ - The original width of the image in pixels. Returns `null` if the image is not hosted by Shopify. + URL for the gravatar image source. + """ + url: String + + """ + Width of the avatar image. """ width: Int } """ -An auto-generated type for paginating through multiple Images. +What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. Default is the value of the 'avatar_rating' option """ -type ImageConnection { +enum AvatarRatingEnum { """ - A list of edges. + Indicates a G level avatar rating level. """ - edges: [ImageEdge!]! + G """ - Information to aid in pagination. + Indicates a PG level avatar rating level. """ - pageInfo: PageInfo! + PG + + """ + Indicates an R level avatar rating level. + """ + R + + """ + Indicates an X level avatar rating level. + """ + X } """ -List of supported image content types. +Product backorder enumeration """ -enum ImageContentType { - """ - A PNG image. - """ - PNG - - """ - A JPG image. - """ - JPG - - """ - A WEBP image. - """ - WEBP +enum BackordersEnum { + NO + NOTIFY + YES } """ -An auto-generated type which holds one Image and a cursor during pagination. +The cart object """ -type ImageEdge { +type Cart { """ - A cursor for use in pagination. + Coupons applied to the cart """ - cursor: String! + appliedCoupons: [AppliedCoupon] """ - The item at the end of ImageEdge. + Available shipping methods for this order. """ - node: Image! + availableShippingMethods: [ShippingPackage] + + """ + Shipping method chosen for this order. + """ + chosenShippingMethods: [String] + + """ + Connection between the Cart type and the CartItem type + """ + contents( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CartToCartItemConnectionWhereArgs + ): CartToCartItemConnection + + """ + Cart contents tax + """ + contentsTax: String + + """ + Cart contents total + """ + contentsTotal: String + + """ + Cart discount tax + """ + discountTax: String + + """ + Cart discount total + """ + discountTotal: String + + """ + Do display prices include taxes + """ + displayPricesIncludeTax: Boolean + + """ + Cart fee tax + """ + feeTax: String + + """ + Cart fee total + """ + feeTotal: String + + """ + Additional fees on the cart. + """ + fees: [CartFee] + + """ + Is cart empty + """ + isEmpty: Boolean + + """ + Is customer shipping address needed + """ + needsShippingAddress: Boolean + + """ + Cart shipping tax + """ + shippingTax: String + + """ + Cart shipping total + """ + shippingTotal: String + + """ + Cart subtotal + """ + subtotal: String + + """ + Cart subtotal tax + """ + subtotalTax: String + + """ + Cart total after calculation + """ + total: String + + """ + Cart total tax amount + """ + totalTax: String + + """ + Cart total taxes itemized + """ + totalTaxes: [CartTax] } """ -Represents a mailing address for customers and shipping. +An error that occurred when updating the cart """ -type MailingAddress implements Node { +interface CartError { """ - The first line of the address. Typically the street address or PO Box number. + Reason for error """ - address1: String + reasons: [String] """ - The second line of the address. Typically the number of the apartment, suite, or unit. + Type of error """ - address2: String + type: CartErrorType! +} + +""" +Cart error type enumeration +""" +enum CartErrorType { + INVALID_CART_ITEM + INVALID_COUPON + INVALID_SHIPPING_METHOD +} + +""" +An additional fee +""" +type CartFee { + """ + Fee amount + """ + amount: Float """ - 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. - """ - countryCode: String @deprecated(reason: "Use `countryCodeV2` instead") - - """ - 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( - """ - Whether to include the customer's name in the formatted address. - """ - withName: Boolean = false - - """ - Whether to include the customer's company in the formatted address. - """ - withCompany: Boolean = true - ): [String!]! - - """ - A comma-separated list of the values for city, province, and country. - """ - formattedArea: String - - """ - Globally unique identifier. + Fee ID """ id: ID! """ - The last name of the customer. + Fee name """ - lastName: String + name: String! """ - The latitude coordinate of the customer address. + Fee tax class """ - latitude: Float + taxClass: TaxClassEnum """ - The longitude coordinate of the customer address. + Is fee taxable? """ - longitude: Float + taxable: Boolean """ - The full name of the customer, based on firstName and lastName. + Fee total + """ + total: Float +} + +""" +A item in the cart +""" +type CartItem { + """ + Object meta data + """ + extraData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + ): [MetaData] + + """ + CartItem ID + """ + key: ID! + + """ + Connection between the CartItem type and the Product type + """ + product: CartItemToProductConnectionEdge + + """ + Quantity of the product + """ + quantity: Int + + """ + Item's subtotal + """ + subtotal: String + + """ + Item's subtotal tax + """ + subtotalTax: String + + """ + Item's tax + """ + tax: String + + """ + Item's total + """ + total: String + + """ + Connection between the CartItem type and the ProductVariation type + """ + variation: CartItemToProductVariationConnectionEdge +} + +""" +Error that occurred when adding an item to the cart. +""" +type CartItemError implements CartError { + """ + JSON string representation of extra cart item data + """ + extraData: String + + """ + Cart item product database ID or global ID + """ + productId: Int! + + """ + Cart item quantity + """ + quantity: Int + + """ + Reason for error + """ + reasons: [String] + + """ + Type of error + """ + type: CartErrorType! + + """ + Cart item product variation attributes + """ + variation: [ProductAttributeOutput] + + """ + Cart item product variation database ID or global ID + """ + variationId: Int +} + +""" +Cart item quantity +""" +input CartItemInput { + """ + JSON string representation of extra cart item data + """ + extraData: String + + """ + Cart item product database ID or global ID + """ + productId: Int! + + """ + Cart item quantity + """ + quantity: Int + + """ + Cart item product variation attributes + """ + variation: [ProductAttributeInput] + + """ + Cart item product variation database ID or global ID + """ + variationId: Int +} + +""" +Cart item quantity +""" +input CartItemQuantityInput { + """ + Cart item being updated + """ + key: ID! + + """ + Cart item's new quantity + """ + quantity: Int! +} + +""" +Connection between the CartItem type and the Product type +""" +type CartItemToProductConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Product + + """ + Simple variation attribute data + """ + simpleVariations: [SimpleAttribute] +} + +""" +Connection between the CartItem type and the ProductVariation type +""" +type CartItemToProductVariationConnectionEdge { + """ + Attributes of the variation. + """ + attributes: [VariationAttribute] + + """ + The node of the connection, without the edges + """ + node: ProductVariation +} + +""" +An itemized cart tax item +""" +type CartTax { + """ + Tax amount + """ + amount: String + + """ + Tax Rate ID + """ + id: ID! + + """ + Is tax compound? + """ + isCompound: Boolean + + """ + Tax label + """ + label: String! +} + +""" +Connection between the Cart type and the CartItem type +""" +type CartToCartItemConnection { + """ + Edges for the CartToCartItemConnection connection + """ + edges: [CartToCartItemConnectionEdge] + + """ + Total number of items in the cart. + """ + itemCount: Int + + """ + The nodes of the connection, without the edges + """ + nodes: [CartItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo + + """ + Total number of different products in the cart + """ + productCount: Int +} + +""" +An edge in a connection +""" +type CartToCartItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: CartItem +} + +""" +Arguments for filtering the CartToCartItemConnection connection +""" +input CartToCartItemConnectionWhereArgs { + """ + Limit results to cart items that require shipping + """ + needsShipping: Boolean +} + +""" +Product catalog visibility enumeration +""" +enum CatalogVisibilityEnum { + CATALOG + HIDDEN + SEARCH + VISIBLE +} + +""" +The category type +""" +type Category implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier & HierarchicalTermNode & MenuItemLinkable { + """ + The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + """ + ancestors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): CategoryToAncestorsCategoryConnection + + """ + The id field matches the WP_Post->ID field. + """ + categoryId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + Connection between the category type and the category type + """ + children( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CategoryToCategoryConnectionWhereArgs + ): CategoryToCategoryConnection + + """ + Connection between the category type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CategoryToContentNodeConnectionWhereArgs + ): CategoryToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique resource identifier path + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. """ 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 auto-generated type for paginating through multiple MailingAddresses. -""" -type MailingAddressConnection { - """ - A list of edges. - """ - edges: [MailingAddressEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one MailingAddress and a cursor during pagination. -""" -type MailingAddressEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of MailingAddressEdge. - """ - node: MailingAddress! -} - -""" -Specifies the fields accepted to create or update a mailing address. -""" -input 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 -} - -""" -Manual discount applications capture the intentions of a discount that was manually created. -""" -type ManualDiscountApplication implements 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! -} - -""" -Represents a media interface. -""" -interface Media { - """ - A word or phrase to share the nature or contents of a media. - """ - alt: String - - """ - The media content type. - """ - mediaContentType: MediaContentType! - - """ - The preview image for the media. - """ - previewImage: Image -} - -""" -An auto-generated type for paginating through multiple Media. -""" -type MediaConnection { - """ - A list of edges. - """ - edges: [MediaEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -The possible content types for a media object. -""" -enum MediaContentType { - """ - An externally hosted video. - """ - EXTERNAL_VIDEO - - """ - A Shopify hosted image. - """ - IMAGE - - """ - A 3d model. - """ - MODEL_3D - - """ - A Shopify hosted video. - """ - VIDEO -} - -""" -An auto-generated type which holds one Media and a cursor during pagination. -""" -type MediaEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of MediaEdge. - """ - node: Media! -} - -""" -Represents a Shopify hosted image. -""" -type MediaImage implements Node & Media { - """ - A word or phrase to share the nature or contents of a media. - """ - alt: String - - """ - Globally unique identifier. - """ - id: ID! - - """ - The image for the media. - """ - image: Image - - """ - The media content type. - """ - mediaContentType: MediaContentType! - - """ - The preview image for the media. - """ - previewImage: Image -} - -""" -Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are -comprised of keys, values, and value types. -""" -type Metafield implements Node { - """ - The date and time when the storefront metafield was created. - """ - createdAt: DateTime! - - """ - The description of a metafield. - """ - description: String - - """ - Globally unique identifier. - """ - id: ID! - - """ - The key name for a metafield. - """ - key: String! - - """ - The namespace for a metafield. - """ - namespace: String! - - """ - The parent object that the metafield belongs to. - """ - parentResource: MetafieldParentResource! - - """ - The date and time when the storefront metafield was updated. - """ - updatedAt: DateTime! - - """ - The value of a metafield. - """ - value: String! - - """ - Represents the metafield value type. - """ - valueType: MetafieldValueType! -} - -""" -An auto-generated type for paginating through multiple Metafields. -""" -type MetafieldConnection { - """ - A list of edges. - """ - edges: [MetafieldEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one Metafield and a cursor during pagination. -""" -type MetafieldEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of MetafieldEdge. - """ - node: Metafield! -} - -""" -A resource that the metafield belongs to. -""" -union MetafieldParentResource = Product | ProductVariant - -""" -Metafield value types. -""" -enum MetafieldValueType { - """ - A string metafield. - """ - STRING - - """ - An integer metafield. - """ - INTEGER - - """ - A json string metafield. - """ - JSON_STRING -} - -""" -Represents a Shopify hosted 3D model. -""" -type Model3d implements Node & Media { - """ - A word or phrase to share the nature or contents of a media. - """ - alt: String - - """ - Globally unique identifier. - """ - id: ID! - - """ - The media content type. - """ - mediaContentType: MediaContentType! - - """ - The preview image for the media. - """ - previewImage: Image - - """ - The sources for a 3d model. - """ - sources: [Model3dSource!]! -} - -""" -Represents a source for a Shopify hosted 3d model. -""" -type Model3dSource { - """ - The filesize of the 3d model. - """ - filesize: Int! - - """ - 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! -} - -""" -A monetary value string. Example value: `"100.57"`. -""" -scalar Money - -""" -Specifies the fields for a monetary value with currency. -""" -input MoneyInput { - """ - Decimal money amount. - """ - amount: Decimal! - - """ - Currency of the money. - """ - currencyCode: CurrencyCode! -} - -""" -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)). -""" -type MoneyV2 { - """ - Decimal money amount. - """ - amount: Decimal! - - """ - Currency of the money. - """ - currencyCode: CurrencyCode! -} - -""" -An auto-generated type for paginating through multiple MoneyV2s. -""" -type MoneyV2Connection { - """ - A list of edges. - """ - edges: [MoneyV2Edge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one MoneyV2 and a cursor during pagination. -""" -type MoneyV2Edge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of MoneyV2Edge. - """ - node: MoneyV2! -} - -""" -The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. -""" -type Mutation { - """ - Updates the attributes of a checkout. - """ - checkoutAttributesUpdate( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The fields used to update a checkout's attributes. - """ - input: CheckoutAttributesUpdateInput! - ): CheckoutAttributesUpdatePayload - @deprecated(reason: "Use `checkoutAttributesUpdateV2` instead") - - """ - Updates the attributes of a checkout. - """ - checkoutAttributesUpdateV2( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The checkout attributes to update. - """ - input: CheckoutAttributesUpdateV2Input! - ): 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( - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutCompleteFreePayload - - """ - Completes a checkout using a credit card token from Shopify's Vault. - """ - checkoutCompleteWithCreditCard( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The credit card info to apply as a payment. - """ - payment: CreditCardPaymentInput! - ): CheckoutCompleteWithCreditCardPayload - @deprecated(reason: "Use `checkoutCompleteWithCreditCardV2` instead") - - """ - 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( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The credit card info to apply as a payment. - """ - payment: CreditCardPaymentInputV2! - ): CheckoutCompleteWithCreditCardV2Payload - - """ - Completes a checkout with a tokenized payment. - """ - checkoutCompleteWithTokenizedPayment( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The info to apply as a tokenized payment. - """ - payment: TokenizedPaymentInput! - ): CheckoutCompleteWithTokenizedPaymentPayload - @deprecated(reason: "Use `checkoutCompleteWithTokenizedPaymentV2` instead") - - """ - Completes a checkout with a tokenized payment. - """ - checkoutCompleteWithTokenizedPaymentV2( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The info to apply as a tokenized payment. - """ - payment: TokenizedPaymentInputV2! - ): CheckoutCompleteWithTokenizedPaymentV2Payload - @deprecated(reason: "Use `checkoutCompleteWithTokenizedPaymentV3` instead") - - """ - Completes a checkout with a tokenized payment. - """ - checkoutCompleteWithTokenizedPaymentV3( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The info to apply as a tokenized payment. - """ - payment: TokenizedPaymentInputV3! - ): CheckoutCompleteWithTokenizedPaymentV3Payload - - """ - Creates a new checkout. - """ - checkoutCreate( - """ - The fields used to create a checkout. - """ - input: CheckoutCreateInput! - ): CheckoutCreatePayload - - """ - Associates a customer to the checkout. - """ - checkoutCustomerAssociate( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The customer access token of the customer to associate. - """ - customerAccessToken: String! - ): CheckoutCustomerAssociatePayload - @deprecated(reason: "Use `checkoutCustomerAssociateV2` instead") - - """ - Associates a customer to the checkout. - """ - checkoutCustomerAssociateV2( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The customer access token of the customer to associate. - """ - customerAccessToken: String! - ): CheckoutCustomerAssociateV2Payload - - """ - Disassociates the current checkout customer from the checkout. - """ - checkoutCustomerDisassociate( - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutCustomerDisassociatePayload - @deprecated(reason: "Use `checkoutCustomerDisassociateV2` instead") - - """ - Disassociates the current checkout customer from the checkout. - """ - checkoutCustomerDisassociateV2( - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutCustomerDisassociateV2Payload - - """ - Applies a discount to an existing checkout using a discount code. - """ - checkoutDiscountCodeApply( - """ - The discount code to apply to the checkout. - """ - discountCode: String! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutDiscountCodeApplyPayload - @deprecated(reason: "Use `checkoutDiscountCodeApplyV2` instead") - - """ - Applies a discount to an existing checkout using a discount code. - """ - checkoutDiscountCodeApplyV2( - """ - The discount code to apply to the checkout. - """ - discountCode: String! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutDiscountCodeApplyV2Payload - - """ - Removes the applied discount from an existing checkout. - """ - checkoutDiscountCodeRemove( - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutDiscountCodeRemovePayload - - """ - Updates the email on an existing checkout. - """ - checkoutEmailUpdate( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The email to update the checkout with. - """ - email: String! - ): CheckoutEmailUpdatePayload - @deprecated(reason: "Use `checkoutEmailUpdateV2` instead") - - """ - Updates the email on an existing checkout. - """ - checkoutEmailUpdateV2( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - The email to update the checkout with. - """ - email: String! - ): CheckoutEmailUpdateV2Payload - - """ - Applies a gift card to an existing checkout using a gift card code. This will replace all currently applied gift cards. - """ - checkoutGiftCardApply( - """ - The code of the gift card to apply on the checkout. - """ - giftCardCode: String! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutGiftCardApplyPayload - @deprecated(reason: "Use `checkoutGiftCardsAppend` instead") - - """ - Removes an applied gift card from the checkout. - """ - checkoutGiftCardRemove( - """ - The ID of the Applied Gift Card to remove from the Checkout. - """ - appliedGiftCardId: ID! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutGiftCardRemovePayload - @deprecated(reason: "Use `checkoutGiftCardRemoveV2` instead") - - """ - Removes an applied gift card from the checkout. - """ - checkoutGiftCardRemoveV2( - """ - The ID of the Applied Gift Card to remove from the Checkout. - """ - appliedGiftCardId: ID! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutGiftCardRemoveV2Payload - - """ - Appends gift cards to an existing checkout. - """ - checkoutGiftCardsAppend( - """ - A list of gift card codes to append to the checkout. - """ - giftCardCodes: [String!]! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutGiftCardsAppendPayload - - """ - Adds a list of line items to a checkout. - """ - checkoutLineItemsAdd( - """ - A list of line item objects to add to the checkout. - """ - lineItems: [CheckoutLineItemInput!]! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutLineItemsAddPayload - - """ - Removes line items from an existing checkout. - """ - checkoutLineItemsRemove( - """ - The checkout on which to remove line items. - """ - checkoutId: ID! - - """ - Line item ids to remove. - """ - lineItemIds: [ID!]! - ): CheckoutLineItemsRemovePayload - - """ - Sets a list of line items to a checkout. - """ - checkoutLineItemsReplace( - """ - A list of line item objects to set on the checkout. - """ - lineItems: [CheckoutLineItemInput!]! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutLineItemsReplacePayload - - """ - Updates line items on a checkout. - """ - checkoutLineItemsUpdate( - """ - The checkout on which to update line items. - """ - checkoutId: ID! - - """ - Line items to update. - """ - lineItems: [CheckoutLineItemUpdateInput!]! - ): CheckoutLineItemsUpdatePayload - - """ - Updates the shipping address of an existing checkout. - """ - checkoutShippingAddressUpdate( - """ - The shipping address to where the line items will be shipped. - """ - shippingAddress: MailingAddressInput! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutShippingAddressUpdatePayload - @deprecated(reason: "Use `checkoutShippingAddressUpdateV2` instead") - - """ - Updates the shipping address of an existing checkout. - """ - checkoutShippingAddressUpdateV2( - """ - The shipping address to where the line items will be shipped. - """ - shippingAddress: MailingAddressInput! - - """ - The ID of the checkout. - """ - checkoutId: ID! - ): CheckoutShippingAddressUpdateV2Payload - - """ - Updates the shipping lines on an existing checkout. - """ - checkoutShippingLineUpdate( - """ - The ID of the checkout. - """ - checkoutId: ID! - - """ - A unique identifier to a Checkout’s shipping provider, price, and title combination, enabling the customer to select the availableShippingRates. - """ - shippingRateHandle: String! - ): CheckoutShippingLineUpdatePayload - - """ - Creates a customer access token. - The customer access token is required to modify the customer object in any way. - """ - customerAccessTokenCreate( - """ - The fields used to create a customer access token. - """ - input: CustomerAccessTokenCreateInput! - ): 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( - """ - A valid multipass token to be authenticated. - """ - multipassToken: String! - ): CustomerAccessTokenCreateWithMultipassPayload - - """ - Permanently destroys a customer access token. - """ - customerAccessTokenDelete( - """ - The access token used to identify the customer. - """ - customerAccessToken: String! - ): 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( - """ - The access token used to identify the customer. - """ - customerAccessToken: String! - ): CustomerAccessTokenRenewPayload - - """ - Activates a customer. - """ - customerActivate( - """ - Specifies the customer to activate. - """ - id: ID! - - """ - The fields used to activate a customer. - """ - input: CustomerActivateInput! - ): CustomerActivatePayload - - """ - Activates a customer with the activation url received from `customerCreate`. - """ - customerActivateByUrl( - """ - The customer activation URL. - """ - activationUrl: URL! - - """ - A new password set during activation. - """ - password: String! - ): CustomerActivateByUrlPayload - - """ - Creates a new address for a customer. - """ - customerAddressCreate( - """ - The access token used to identify the customer. - """ - customerAccessToken: String! - - """ - The customer mailing address to create. - """ - address: MailingAddressInput! - ): CustomerAddressCreatePayload - - """ - Permanently deletes the address of an existing customer. - """ - customerAddressDelete( - """ - Specifies the address to delete. - """ - id: ID! - - """ - The access token used to identify the customer. - """ - customerAccessToken: String! - ): CustomerAddressDeletePayload - - """ - Updates the address of an existing customer. - """ - customerAddressUpdate( - """ - The access token used to identify the customer. - """ - customerAccessToken: String! - - """ - Specifies the customer address to update. - """ - id: ID! - - """ - The customer’s mailing address. - """ - address: MailingAddressInput! - ): CustomerAddressUpdatePayload - - """ - Creates a new customer. - """ - customerCreate( - """ - The fields used to create a new customer. - """ - input: CustomerCreateInput! - ): CustomerCreatePayload - - """ - Updates the default address of an existing customer. - """ - customerDefaultAddressUpdate( - """ - The access token used to identify the customer. - """ - customerAccessToken: String! - - """ - ID of the address to set as the new default for the customer. - """ - addressId: ID! - ): CustomerDefaultAddressUpdatePayload - - """ - Sends a reset password email to the customer, as the first step in the reset password process. - """ - customerRecover( - """ - The email address of the customer to recover. - """ - email: String! - ): CustomerRecoverPayload - - """ - Resets a customer’s password with a token received from `CustomerRecover`. - """ - customerReset( - """ - Specifies the customer to reset. - """ - id: ID! - - """ - The fields used to reset a customer’s password. - """ - input: CustomerResetInput! - ): CustomerResetPayload - - """ - Resets a customer’s password with the reset password url received from `CustomerRecover`. - """ - customerResetByUrl( - """ - The customer's reset password url. - """ - resetUrl: URL! - - """ - New password that will be set as part of the reset password process. - """ - password: String! - ): CustomerResetByUrlPayload - - """ - Updates an existing customer. - """ - customerUpdate( - """ - The access token used to identify the customer. - """ - customerAccessToken: String! - - """ - The customer object input. - """ - customer: CustomerUpdateInput! - ): CustomerUpdatePayload -} - -""" -An object with an ID to support global identification. -""" -interface Node { - """ - Globally unique identifier. - """ - id: ID! -} - -""" -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. -""" -type Order implements Node { - """ - 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, duties, 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 duties, taxes and discounts, minus amounts for line items that have been removed. - """ - currentTotalPrice: MoneyV2! - - """ - The total of all taxes applied to the order, excluding taxes for returned line items. + Connection between the category type and the category type """ - currentTotalTax: MoneyV2! + parent: CategoryToParentCategoryConnectionEdge """ - The locale code in which this specific order happened. + Database id of the parent node """ - customerLocale: String + parentDatabaseId: Int """ - The unique URL that the customer can use to access the order. + The globally unique identifier of the parent node. """ - customerUrl: URL + parentId: ID """ - Discounts that have been applied on the order. + Connection between the category type and the post type """ - discountApplications( + posts( """ - Returns up to the first `n` elements from the list. + The number of items to return after the referenced "after" cursor """ first: Int """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. + The number of items to return before the referenced "before" cursor """ last: Int """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): 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: ID! - - """ - List of the order’s line items. - """ - lineItems( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. + Cursor used along with the "first" argument to reference where in the dataset to get data """ after: String """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. + Cursor used along with the "last" argument to reference where in the dataset to get data """ before: String """ - Reverse the order of the underlying list. + Arguments for filtering the connection """ - reverse: Boolean = false - ): OrderLineItemConnection! + where: CategoryToPostConnectionWhereArgs + ): CategoryToPostConnection """ - Unique identifier for the order that appears on the order. - For example, _#1000_ or _Store1001. + An alphanumeric identifier for the object unique to its type. """ - name: String! + slug: String """ - A unique numeric identifier for the order for use by shop owner and customer. + Connection between the category type and the Taxonomy type """ - orderNumber: Int! + taxonomy: CategoryToTaxonomyConnectionEdge """ - The total price of the order before any applied edits. + The ID of the term group that this term object belongs to """ - originalTotalPrice: MoneyV2! + termGroupId: Int """ - The customer's phone number for receiving SMS notifications. + The taxonomy ID that the object is associated with """ - phone: String + termTaxonomyId: Int """ - 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. + The unique resource identifier path """ - 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: [DiscountAllocation!]! - - """ - The unique URL for the order's status page. - """ - statusUrl: URL! - - """ - Price of the order before shipping and taxes. - """ - subtotalPrice: Money @deprecated(reason: "Use `subtotalPriceV2` instead") - - """ - Price of the order before duties, shipping and taxes. - """ - subtotalPriceV2: MoneyV2 - - """ - List of the order’s successful fulfillments. - """ - successfulFulfillments( - """ - Truncate the array result to this size. - """ - first: Int - ): [Fulfillment!] - - """ - The sum of all the prices of all the items in the order, taxes and discounts included (must be positive). - """ - totalPrice: Money! @deprecated(reason: "Use `totalPriceV2` instead") - - """ - The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive). - """ - totalPriceV2: MoneyV2! - - """ - The total amount that has been refunded. - """ - totalRefunded: Money! @deprecated(reason: "Use `totalRefundedV2` instead") - - """ - The total amount that has been refunded. - """ - totalRefundedV2: MoneyV2! - - """ - The total cost of shipping. - """ - totalShippingPrice: Money! - @deprecated(reason: "Use `totalShippingPriceV2` instead") - - """ - The total cost of shipping. - """ - totalShippingPriceV2: MoneyV2! - - """ - The total cost of taxes. - """ - totalTax: Money @deprecated(reason: "Use `totalTaxV2` instead") - - """ - The total cost of taxes. - """ - totalTaxV2: MoneyV2 + uri: String } """ -Represents the reason for the order's cancellation. +The Type of Identifier used to fetch a single resource. Default is ID. """ -enum OrderCancelReason { +enum CategoryIdType { """ - The customer wanted to cancel the order. + The Database ID for the node """ - CUSTOMER + DATABASE_ID """ - The order was fraudulent. - """ - FRAUD - - """ - There was insufficient inventory. - """ - INVENTORY - - """ - Payment was declined. - """ - DECLINED - - """ - The order was canceled for an unlisted reason. - """ - OTHER -} - -""" -An auto-generated type for paginating through multiple Orders. -""" -type OrderConnection { - """ - A list of edges. - """ - edges: [OrderEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one Order and a cursor during pagination. -""" -type OrderEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of OrderEdge. - """ - node: Order! -} - -""" -Represents the order's current financial status. -""" -enum OrderFinancialStatus { - """ - Displayed as **Pending**. - """ - PENDING - - """ - Displayed as **Authorized**. - """ - AUTHORIZED - - """ - Displayed as **Partially paid**. - """ - PARTIALLY_PAID - - """ - Displayed as **Partially refunded**. - """ - PARTIALLY_REFUNDED - - """ - Displayed as **Voided**. - """ - VOIDED - - """ - Displayed as **Paid**. - """ - PAID - - """ - Displayed as **Refunded**. - """ - REFUNDED -} - -""" -Represents the order's current fulfillment status. -""" -enum OrderFulfillmentStatus { - """ - Displayed as **Unfulfilled**. - """ - UNFULFILLED - - """ - Displayed as **Partially fulfilled**. - """ - PARTIALLY_FULFILLED - - """ - Displayed as **Fulfilled**. - """ - FULFILLED - - """ - Displayed as **Restocked**. - """ - RESTOCKED - - """ - Displayed as **Pending fulfillment**. - """ - PENDING_FULFILLMENT - - """ - Displayed as **Open**. - """ - OPEN - - """ - Displayed as **In progress**. - """ - IN_PROGRESS - - """ - Displayed as **Scheduled**. - """ - SCHEDULED -} - -""" -Represents a single line in an order. There is one line item for each distinct product variant. -""" -type OrderLineItem { - """ - The number of entries associated to the line item minus the items that have been removed. - """ - currentQuantity: Int! - - """ - List of custom attributes associated to the line item. - """ - customAttributes: [Attribute!]! - - """ - The discounts that have been allocated onto the order line item by discount applications. - """ - discountAllocations: [DiscountAllocation!]! - - """ - 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: Int! - - """ - The title of the product combined with title of the variant. - """ - title: String! - - """ - The product variant object associated to the line item. - """ - variant: ProductVariant -} - -""" -An auto-generated type for paginating through multiple OrderLineItems. -""" -type OrderLineItemConnection { - """ - A list of edges. - """ - edges: [OrderLineItemEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one OrderLineItem and a cursor during pagination. -""" -type OrderLineItemEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of OrderLineItemEdge. - """ - node: OrderLineItem! -} - -""" -The set of valid sort keys for the Order query. -""" -enum OrderSortKeys { - """ - Sort by the `processed_at` value. - """ - PROCESSED_AT - - """ - Sort by the `total_price` value. - """ - TOTAL_PRICE - - """ - Sort by the `id` value. + The hashed Global 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. + The name of the node """ - RELEVANCE + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI } """ -Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. +Connection between the category type and the category type """ -type Page implements Node { +type CategoryToAncestorsCategoryConnection { """ - The description of the page, complete with HTML formatting. + Edges for the CategoryToAncestorsCategoryConnection connection """ - body: HTML! + edges: [CategoryToAncestorsCategoryConnectionEdge] """ - Summary of the page body. + The nodes of the connection, without the edges """ - bodySummary: String! + nodes: [Category] """ - The timestamp of the page creation. + Information about pagination in a connection. """ - createdAt: DateTime! - - """ - A human-friendly unique string for the page automatically generated from its title. - """ - handle: String! - - """ - Globally unique identifier. - """ - id: ID! - - """ - The page's SEO information. - """ - seo: SEO - - """ - 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! + pageInfo: WPPageInfo } """ -An auto-generated type for paginating through multiple Pages. +An edge in a connection """ -type PageConnection { +type CategoryToAncestorsCategoryConnectionEdge { """ - A list of edges. + A cursor for use in pagination """ - edges: [PageEdge!]! + cursor: String """ - Information to aid in pagination. + The item at the end of the edge """ - pageInfo: PageInfo! + node: Category } """ -An auto-generated type which holds one Page and a cursor during pagination. +Connection between the category type and the category type """ -type PageEdge { +type CategoryToCategoryConnection { """ - A cursor for use in pagination. + Edges for the CategoryToCategoryConnection connection """ - cursor: String! + edges: [CategoryToCategoryConnectionEdge] """ - The item at the end of PageEdge. + The nodes of the connection, without the edges """ - node: Page! + nodes: [Category] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo } """ -Information about pagination in a connection. +An edge in a connection """ -type PageInfo { +type CategoryToCategoryConnectionEdge { """ - Indicates if there are more pages to fetch. + A cursor for use in pagination """ - hasNextPage: Boolean! + cursor: String """ - Indicates if there are any pages prior to the current page. + The item at the end of the edge """ - hasPreviousPage: Boolean! + node: Category } """ -The set of valid sort keys for the Page query. +Arguments for filtering the CategoryToCategoryConnection connection """ -enum PageSortKeys { +input CategoryToCategoryConnectionWhereArgs { """ - Sort by the `title` value. + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. """ - TITLE + cacheDomain: String """ - Sort by the `updated_at` value. + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. """ - UPDATED_AT + childOf: Int """ - Sort by the `id` value. + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. """ - ID + childless: 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. + Retrieve terms where the description is LIKE the input value. Default empty. """ - RELEVANCE + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean } """ -A payment applied to a checkout. +Connection between the category type and the ContentNode type """ -type Payment implements Node { +type CategoryToContentNodeConnection { """ - The amount of the payment. + Edges for the CategoryToContentNodeConnection connection """ - amount: Money! @deprecated(reason: "Use `amountV2` instead") + edges: [CategoryToContentNodeConnectionEdge] """ - The amount of the payment. + The nodes of the connection, without the edges """ - amountV2: MoneyV2! + nodes: [ContentNode] """ - The billing address for the payment. + Information about pagination in a connection. """ - 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: ID! - - """ - A client-side generated token to identify a payment and perform idempotent operations. - For more information, refer to - [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). - """ - 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 + pageInfo: WPPageInfo } """ -Settings related to payments. +An edge in a connection """ -type PaymentSettings { +type CategoryToContentNodeConnectionEdge { """ - List of the card brands which the shop accepts. + A cursor for use in pagination """ - acceptedCardBrands: [CardBrand!]! + cursor: String """ - The url pointing to the endpoint to vault credit cards. + The item at the end of the edge """ - 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: [CurrencyCode!]! - - """ - The shop’s Shopify Payments account id. - """ - shopifyPaymentsAccountId: String - - """ - List of the digital wallets which the shop supports. - """ - supportedDigitalWallets: [DigitalWallet!]! + node: ContentNode } """ -The valid values for the types of payment token. +Arguments for filtering the CategoryToContentNodeConnection connection """ -enum PaymentTokenType { +input CategoryToContentNodeConnectionWhereArgs { """ - Apple Pay token type. + The Types of content to filter """ - APPLE_PAY + contentTypes: [ContentTypesOfCategoryEnum] """ - Vault payment token type. + Filter the connection based on dates """ - VAULT + dateQuery: DateQueryInput """ - Shopify Pay token type. + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords """ - SHOPIFY_PAY + hasPassword: Boolean """ - Google Pay token type. + Specific ID of the object """ - GOOGLE_PAY -} + id: Int -""" -The value of the percentage pricing object. -""" -type PricingPercentageValue { """ - The percentage value of the object. + Array of IDs for the objects to retrieve """ - percentage: Float! -} + in: [ID] -""" -The price value (fixed or percentage) for a discount application. -""" -union PricingValue = MoneyV2 | PricingPercentageValue - -""" -A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be. -For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty). -""" -type Product implements Node & HasMetafields { - """ - Indicates if at least one product variant is available for sale. - """ - availableForSale: Boolean! - - """ - List of collections a product belongs to. - """ - collections( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): 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( - """ - Truncates string after the given length. - """ - truncateAt: Int - ): 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! - - """ - Globally unique identifier. - """ - id: ID! - - """ - List of images associated with the product. - """ - images( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: ProductImageSortKeys = POSITION - - """ - Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead. - """ - maxWidth: Int - - """ - Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead. - """ - maxHeight: Int - - """ - Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead. - """ - crop: CropRegion - - """ - Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead. - """ - scale: Int = 1 - ): ImageConnection! - - """ - The media associated with the product. - """ - media( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: ProductMediaSortKeys = POSITION - ): MediaConnection! - - """ - The metafield associated with the resource. - """ - metafield( - """ - Container for a set of metafields (maximum of 20 characters). - """ - namespace: String! - - """ - Identifier for the metafield (maximum of 30 characters). - """ - key: String! - ): Metafield - - """ - A paginated list of metafields associated with the resource. - """ - metafields( - """ - Container for a set of metafields (maximum of 20 characters). - """ - namespace: String - - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): 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. - """ - onlineStoreUrl: URL - - """ - List of product options. - """ - options( - """ - Truncate the array result to this size. - """ - first: Int - ): [ProductOption!]! - - """ - List of price ranges in the presentment currencies for this shop. - """ - presentmentPriceRanges( - """ - Specifies the presentment currencies to return a price range in. - """ - presentmentCurrencies: [CurrencyCode!] - - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): 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! - - """ - The product's SEO information. - """ - seo: SEO! - - """ - A comma separated list of tags that have been added to the product. - Additional access scope required for private apps: unauthenticated_read_product_tags. - """ - tags: [String!]! - - """ - The product’s title. - """ - title: String! - - """ - The total quantity of inventory in stock for this Product. - """ - totalInventory: Int - - """ - The date and time when the product was last modified. - A product's `updatedAt` value can change for different reasons. For example, if an order - is placed for a product that has inventory tracking set up, then the inventory adjustment - is counted as an update. - """ - updatedAt: DateTime! - - """ - Find a product’s variant based on its selected options. - This is useful for converting a user’s selection of product options into a single matching variant. - If there is not a variant for the selected options, `null` will be returned. - """ - variantBySelectedOptions( - """ - The input fields used for a selected option. - """ - selectedOptions: [SelectedOptionInput!]! - ): ProductVariant - - """ - List of the product’s variants. - """ - variants( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: ProductVariantSortKeys = POSITION - ): ProductVariantConnection! - - """ - The product’s vendor name. - """ - vendor: String! -} - -""" -The set of valid sort keys for the ProductCollection query. -""" -enum ProductCollectionSortKeys { - """ - Sort by the `title` value. - """ - TITLE - - """ - Sort by the `price` value. - """ - PRICE - - """ - Sort by the `best-selling` value. - """ - BEST_SELLING - - """ - Sort by the `created` value. - """ - CREATED - - """ - Sort by the `id` value. - """ - ID - - """ - Sort by the `manual` value. - """ - MANUAL - - """ - Sort by the `collection-default` value. - """ - COLLECTION_DEFAULT - - """ - 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 -} - -""" -An auto-generated type for paginating through multiple Products. -""" -type ProductConnection { - """ - A list of edges. - """ - edges: [ProductEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one Product and a cursor during pagination. -""" -type ProductEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of ProductEdge. - """ - node: Product! -} - -""" -The set of valid sort keys for the ProductImage query. -""" -enum ProductImageSortKeys { - """ - Sort by the `created_at` value. - """ - CREATED_AT - - """ - Sort by the `position` value. - """ - POSITION - - """ - Sort by the `id` value. - """ - 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 -} - -""" -The set of valid sort keys for the ProductMedia query. -""" -enum ProductMediaSortKeys { - """ - Sort by the `position` value. - """ - POSITION - - """ - Sort by the `id` value. - """ - 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 -} - -""" -Product property names like "Size", "Color", and "Material" that the customers can select. -Variants are selected based on permutations of these options. -255 characters limit each. -""" -type ProductOption implements Node { - """ - Globally unique identifier. - """ - id: ID! - - """ - The product option’s name. - """ - name: String! - - """ - The corresponding value to the product option name. - """ - values: [String!]! -} - -""" -The price range of the product. -""" -type ProductPriceRange { - """ - The highest variant's price. - """ - maxVariantPrice: MoneyV2! - - """ - The lowest variant's price. - """ - minVariantPrice: MoneyV2! -} - -""" -An auto-generated type for paginating through multiple ProductPriceRanges. -""" -type ProductPriceRangeConnection { - """ - A list of edges. - """ - edges: [ProductPriceRangeEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one ProductPriceRange and a cursor during pagination. -""" -type ProductPriceRangeEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of ProductPriceRangeEdge. - """ - node: ProductPriceRange! -} - -""" -The set of valid sort keys for the Product query. -""" -enum ProductSortKeys { - """ - Sort by the `title` value. - """ - TITLE - - """ - Sort by the `product_type` value. - """ - PRODUCT_TYPE - - """ - Sort by the `vendor` value. - """ - VENDOR - - """ - Sort by the `updated_at` value. - """ - UPDATED_AT - - """ - Sort by the `created_at` value. - """ - CREATED_AT - - """ - Sort by the `best_selling` value. - """ - BEST_SELLING - - """ - Sort by the `price` value. - """ - PRICE - - """ - Sort by the `id` value. - """ - 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 -} - -""" -A product variant represents a different version of a product, such as differing sizes or differing colors. -""" -type ProductVariant implements Node & HasMetafields { - """ - Indicates if the product variant is in stock. - """ - available: Boolean @deprecated(reason: "Use `availableForSale` instead") - - """ - Indicates if the product variant is available for sale. - """ - availableForSale: Boolean! - - """ - The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`. """ - compareAtPrice: Money @deprecated(reason: "Use `compareAtPriceV2` instead") - - """ - The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`. + Get objects with a specific mimeType property """ - compareAtPriceV2: MoneyV2 + mimeType: MimeTypeEnum """ - Whether a product is out of stock but still available for purchase (used for backorders). + Slug / post_name of the object """ - currentlyNotInStock: Boolean! + name: String """ - Globally unique identifier. + Specify objects to retrieve. Use slugs """ - id: ID! + nameIn: [String] """ - Image associated with the product variant. This field falls back to the product image if no image is available. + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored """ - image( - """ - Image width in pixels between 1 and 2048. This argument is deprecated: Use `maxWidth` on `Image.transformedSrc` instead. - """ - maxWidth: Int - - """ - Image height in pixels between 1 and 2048. This argument is deprecated: Use `maxHeight` on `Image.transformedSrc` instead. - """ - maxHeight: Int - - """ - Crops the image according to the specified region. This argument is deprecated: Use `crop` on `Image.transformedSrc` instead. - """ - crop: CropRegion - - """ - Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use `scale` on `Image.transformedSrc` instead. - """ - scale: Int = 1 - ): Image + notIn: [ID] """ - The metafield associated with the resource. + What paramater to use to order the objects by. """ - metafield( - """ - Container for a set of metafields (maximum of 20 characters). - """ - namespace: String! - - """ - Identifier for the metafield (maximum of 30 characters). - """ - key: String! - ): Metafield - - """ - A paginated list of metafields associated with the resource. - """ - metafields( - """ - Container for a set of metafields (maximum of 20 characters). - """ - namespace: String - - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): MetafieldConnection! + orderby: [PostObjectsConnectionOrderbyInput] """ - List of prices and compare-at prices in the presentment currencies for this shop. + Use ID to return only children. Use 0 to return only top-level items """ - presentmentPrices( - """ - The presentment currencies prices should return in. - """ - presentmentCurrencies: [CurrencyCode!] - - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): ProductVariantPricePairConnection! + parent: ID """ - List of unit prices in the presentment currencies for this shop. + Specify objects whose parent is in an array """ - presentmentUnitPrices( - """ - Specify the currencies in which to return presentment unit prices. - """ - presentmentCurrencies: [CurrencyCode!] - - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - ): MoneyV2Connection! + parentIn: [ID] """ - The product variant’s price. + Specify posts whose parent is not in an array """ - price: Money! @deprecated(reason: "Use `priceV2` instead") + parentNotIn: [ID] """ - The product variant’s price. - """ - priceV2: MoneyV2! - - """ - The product object that the product variant belongs to. - """ - product: Product! - - """ - The total sellable quantity of the variant for online sales channels. - """ - quantityAvailable: Int - - """ - Whether a customer needs to provide a shipping address when placing an order for the product variant. - """ - requiresShipping: Boolean! - - """ - List of product options applied to the variant. - """ - selectedOptions: [SelectedOption!]! - - """ - The SKU (stock keeping unit) associated with the variant. - """ - sku: String - - """ - The product variant’s title. - """ - title: String! - - """ - The unit price value for the variant based on the variant's measurement. - """ - unitPrice: MoneyV2 - - """ - The unit price measurement for the variant. - """ - unitPriceMeasurement: UnitPriceMeasurement - - """ - The weight of the product variant in the unit system specified with `weight_unit`. - """ - weight: Float - - """ - Unit of measurement for weight. - """ - weightUnit: WeightUnit! -} - -""" -An auto-generated type for paginating through multiple ProductVariants. -""" -type ProductVariantConnection { - """ - A list of edges. - """ - edges: [ProductVariantEdge!]! - - """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one ProductVariant and a cursor during pagination. -""" -type ProductVariantEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of ProductVariantEdge. - """ - node: ProductVariant! -} - -""" -The compare-at price and price of a variant sharing a currency. -""" -type ProductVariantPricePair { - """ - The compare-at price of the variant with associated currency. - """ - compareAtPrice: MoneyV2 - - """ - The price of the variant with associated currency. - """ - price: MoneyV2! -} - -""" -An auto-generated type for paginating through multiple ProductVariantPricePairs. -""" -type ProductVariantPricePairConnection { - """ - A list of edges. - """ - edges: [ProductVariantPricePairEdge!]! - + Show posts with a specific password. """ - Information to aid in pagination. - """ - pageInfo: PageInfo! -} - -""" -An auto-generated type which holds one ProductVariantPricePair and a cursor during pagination. -""" -type ProductVariantPricePairEdge { - """ - A cursor for use in pagination. - """ - cursor: String! - - """ - The item at the end of ProductVariantPricePairEdge. - """ - node: ProductVariantPricePair! -} - -""" -The set of valid sort keys for the ProductVariant query. -""" -enum ProductVariantSortKeys { - """ - Sort by the `title` value. - """ - TITLE - - """ - Sort by the `sku` value. - """ - SKU - - """ - Sort by the `position` value. - """ - POSITION - - """ - Sort by the `id` value. - """ - 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 -} - -""" -The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. -""" -type QueryRoot { - """ - List of the shop's articles. - """ - articles( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: ArticleSortKeys = ID - - """ - Supported filter parameters: - - `author` - - `blog_title` - - `created_at` - - `tag` - - `updated_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): ArticleConnection! - - """ - Find a blog by its handle. - """ - blogByHandle( - """ - The handle of the blog. - """ - handle: String! - ): Blog - - """ - List of the shop's blogs. - """ - blogs( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: BlogSortKeys = ID - - """ - Supported filter parameters: - - `created_at` - - `handle` - - `title` - - `updated_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): BlogConnection! - - """ - Find a collection by its handle. - """ - collectionByHandle( - """ - The handle of the collection. - """ - handle: String! - ): Collection - - """ - List of the shop’s collections. - """ - collections( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: CollectionSortKeys = ID - - """ - Supported filter parameters: - - `collection_type` - - `title` - - `updated_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): CollectionConnection! - - """ - Find a customer by its access token. - """ - customer( - """ - The customer access token. - """ - customerAccessToken: String! - ): Customer - - """ - Returns a specific node by ID. - """ - node( - """ - The ID of the Node to return. - """ - id: ID! - ): Node - - """ - Returns the list of nodes with the given IDs. - """ - nodes( - """ - The IDs of the Nodes to return. - """ - ids: [ID!]! - ): [Node]! - - """ - Find a page by its handle. - """ - pageByHandle( - """ - The handle of the page. - """ - handle: String! - ): Page - - """ - List of the shop's pages. - """ - pages( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: PageSortKeys = ID - - """ - Supported filter parameters: - - `created_at` - - `handle` - - `title` - - `updated_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): PageConnection! - - """ - Find a product by its handle. - """ - productByHandle( - """ - The handle of the product. - """ - handle: String! - ): Product - - """ - Find recommended products related to a given `product_id`. - To learn more about how recommendations are generated, see - [*Showing product recommendations on product pages*](https://help.shopify.com/themes/development/recommended-products). - """ - productRecommendations( - """ - The id of the product. - """ - productId: ID! - ): [Product!] - - """ - Tags added to products. - Additional access scope required: unauthenticated_read_product_tags. - """ - productTags( - """ - Returns up to the first `n` elements from the list. - """ - first: Int! - ): StringConnection! - - """ - List of product types for the shop's products that are published to your app. - """ - productTypes( - """ - Returns up to the first `n` elements from the list. - """ - first: Int! - ): StringConnection! - - """ - List of the shop’s products. - """ - products( - """ - Returns up to the first `n` elements from the list. - """ - first: Int - - """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. - """ - last: Int - - """ - Returns the elements that come before the specified cursor. - """ - before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: ProductSortKeys = ID - - """ - Supported filter parameters: - - `available_for_sale` - - `created_at` - - `product_type` - - `tag` - - `title` - - `updated_at` - - `variants.price` - - `vendor` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): ProductConnection! + password: String """ - The list of public Storefront API versions, including supported, release candidate and unstable versions. + Show Posts based on a keyword search """ - publicApiVersions: [ApiVersion!]! + search: String """ - The shop associated with the storefront access token. + Retrieve posts where post status is in an array. """ - shop: Shop! -} + stati: [PostStatusEnum] -""" -SEO information. -""" -type SEO { """ - The meta description. + Show posts with a specific status. """ - description: String + status: PostStatusEnum """ - The SEO title. + Title of the object """ title: String } """ -Script discount applications capture the intentions of a discount that -was created by a Shopify Script. +Connection between the category type and the category type """ -type ScriptDiscountApplication implements DiscountApplication { +type CategoryToParentCategoryConnectionEdge { """ - The method by which the discount's value is allocated to its entitled items. + The node of the connection, without the edges """ - allocationMethod: DiscountApplicationAllocationMethod! - - """ - The description of the application as defined by the Script. - """ - description: String! @deprecated(reason: "Use `title` instead") - - """ - 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! + node: Category } """ -Properties used by customers to select a product variant. -Products can have multiple options, like different sizes or colors. +Connection between the category type and the post type """ -type SelectedOption { +type CategoryToPostConnection { """ - The product option’s name. + Edges for the CategoryToPostConnection connection """ - name: String! + edges: [CategoryToPostConnectionEdge] """ - The product option’s value. + The nodes of the connection, without the edges """ - value: String! + nodes: [Post] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo } """ -Specifies the input fields required for a selected option. +An edge in a connection """ -input SelectedOptionInput { +type CategoryToPostConnectionEdge { """ - The product option’s name. + A cursor for use in pagination """ - name: String! + cursor: String """ - The product option’s value. + The item at the end of the edge """ - value: String! + node: Post } """ -A shipping rate to be applied to a checkout. +Arguments for filtering the CategoryToPostConnection connection """ -type ShippingRate { +input CategoryToPostConnectionWhereArgs { """ - Human-readable unique identifier for this shipping rate. + The user that's connected as the author of the object. Use the userId for the author object. """ - handle: String! + author: Int """ - Price of this shipping rate. + Find objects connected to author(s) in the array of author's userIds """ - price: Money! @deprecated(reason: "Use `priceV2` instead") + authorIn: [ID] """ - Price of this shipping rate. + Find objects connected to the author by the author's nicename """ - priceV2: MoneyV2! + authorName: String """ - Title of this shipping rate. + Find objects NOT connected to author(s) in the array of author's userIds """ - title: String! + authorNotIn: [ID] + + """ + Category ID + """ + categoryId: Int + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryIn: [ID] + + """ + Use Category Slug + """ + categoryName: String + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Tag Slug + """ + tag: String + + """ + Use Tag ID + """ + tagId: String + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagIn: [ID] + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagNotIn: [ID] + + """ + Array of tag slugs, used to display objects from one tag OR another + """ + tagSlugAnd: [String] + + """ + Array of tag slugs, used to exclude objects in specified tags + """ + tagSlugIn: [String] + + """ + Title of the object + """ + title: String } """ -Shop represents a collection of the general settings and information about the shop. +Connection between the category type and the Taxonomy type """ -type Shop { +type CategoryToTaxonomyConnectionEdge { """ - List of the shop' articles. + The node of the connection, without the edges """ - articles( + node: Taxonomy +} + +""" +Input for the checkout mutation +""" +input CheckoutInput { + """ + Create new customer account + """ + account: CreateAccountInput + + """ + Order billing address + """ + billing: CustomerAddressInput + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Order customer note + """ + customerNote: String + + """ + Define if the order is paid. It will set the status to processing and reduce stock items. + """ + isPaid: Boolean + + """ + Order meta data + """ + metaData: [MetaDataInput] + + """ + Payment method ID. + """ + paymentMethod: String + + """ + Ship to a separate address + """ + shipToDifferentAddress: Boolean + + """ + Order shipping address + """ + shipping: CustomerAddressInput + + """ + Order shipping method + """ + shippingMethod: [String] + + """ + Order transaction ID + """ + transactionId: String +} + +""" +The payload for the checkout mutation +""" +type CheckoutPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + customer: Customer + order: Order + redirect: String + result: String +} + +""" +A Comment object +""" +type Comment implements Node & DatabaseIdentifier { + """ + User agent used to post the comment. This field is equivalent to WP_Comment->comment_agent and the value matching the "comment_agent" column in SQL. + """ + agent: String + + """ + The approval status of the comment. This field is equivalent to WP_Comment->comment_approved and the value matching the "comment_approved" column in SQL. + """ + approved: Boolean + + """ + The author of the comment + """ + author: CommentToCommenterConnectionEdge + + """ + IP address for the author. This field is equivalent to WP_Comment->comment_author_IP and the value matching the "comment_author_IP" column in SQL. + """ + authorIp: String + + """ + ID for the comment, unique among comments. + """ + commentId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + Connection between the Comment type and the ContentNode type + """ + commentedOn: CommentToContentNodeConnectionEdge + + """ + Content of the comment. This field is equivalent to WP_Comment->comment_content and the value matching the "comment_content" column in SQL. + """ + content( """ - Returns up to the first `n` elements from the list. + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + Date the comment was posted in local time. This field is equivalent to WP_Comment->date and the value matching the "date" column in SQL. + """ + date: String + + """ + Date the comment was posted in GMT. This field is equivalent to WP_Comment->date_gmt and the value matching the "date_gmt" column in SQL. + """ + dateGmt: String + + """ + The globally unique identifier for the comment object + """ + id: ID! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Karma value for the comment. This field is equivalent to WP_Comment->comment_karma and the value matching the "comment_karma" column in SQL. + """ + karma: Int + + """ + Connection between the Comment type and the Comment type + """ + parent( + """ + Arguments for filtering the connection + """ + where: CommentToParentCommentConnectionWhereArgs + ): CommentToParentCommentConnectionEdge + + """ + The database id of the parent comment node or null if it is the root comment + """ + parentDatabaseId: Int + + """ + The globally unique identifier of the parent comment node. + """ + parentId: ID + + """ + Connection between the Comment type and the Comment type + """ + replies( + """ + The number of items to return after the referenced "after" cursor """ first: Int """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. + The number of items to return before the referenced "before" cursor """ last: Int """ - Returns the elements that come before the specified cursor. + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data """ before: String """ - Reverse the order of the underlying list. + Arguments for filtering the connection """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: ArticleSortKeys = ID - - """ - Supported filter parameters: - - `author` - - `blog_title` - - `created_at` - - `tag` - - `updated_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): ArticleConnection! @deprecated(reason: "Use `QueryRoot.articles` instead.") + where: CommentToCommentConnectionWhereArgs + ): CommentToCommentConnection """ - List of the shop' blogs. + Type of comment. This field is equivalent to WP_Comment->comment_type and the value matching the "comment_type" column in SQL. """ - blogs( + type: String +} + +""" +A Comment Author object +""" +type CommentAuthor implements Node & Commenter { + """ + Identifies the primary key from the database. + """ + databaseId: Int! + + """ + The email for the comment author + """ + email: String + + """ + The globally unique identifier for the comment author object + """ + id: ID! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + The name for the comment author. + """ + name: String + + """ + The url the comment author. + """ + url: String +} + +""" +Connection between the Comment type and the Comment type +""" +type CommentToCommentConnection { + """ + Edges for the CommentToCommentConnection connection + """ + edges: [CommentToCommentConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Comment] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type CommentToCommentConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Comment +} + +""" +Arguments for filtering the CommentToCommentConnection connection +""" +input CommentToCommentConnectionWhereArgs { + """ + Comment author email address. + """ + authorEmail: String + + """ + Array of author IDs to include comments for. + """ + authorIn: [ID] + + """ + Array of author IDs to exclude comments for. + """ + authorNotIn: [ID] + + """ + Comment author URL. + """ + authorUrl: String + + """ + Array of comment IDs to include. + """ + commentIn: [ID] + + """ + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + """ + commentNotIn: [ID] + + """ + Include comments of a given type. + """ + commentType: String + + """ + Include comments from a given array of comment types. + """ + commentTypeIn: [String] + + """ + Exclude comments from a given array of comment types. + """ + commentTypeNotIn: String + + """ + Content object author ID to limit results by. + """ + contentAuthor: [ID] + + """ + Array of author IDs to retrieve comments for. + """ + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID +} + +""" +Connection between the Comment type and the Commenter type +""" +type CommentToCommenterConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Commenter +} + +""" +Connection between the Comment type and the ContentNode type +""" +type CommentToContentNodeConnectionEdge { + """ + The node of the connection, without the edges + """ + node: ContentNode +} + +""" +Connection between the Comment type and the Comment type +""" +type CommentToParentCommentConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Comment +} + +""" +Arguments for filtering the CommentToParentCommentConnection connection +""" +input CommentToParentCommentConnectionWhereArgs { + """ + Comment author email address. + """ + authorEmail: String + + """ + Array of author IDs to include comments for. + """ + authorIn: [ID] + + """ + Array of author IDs to exclude comments for. + """ + authorNotIn: [ID] + + """ + Comment author URL. + """ + authorUrl: String + + """ + Array of comment IDs to include. + """ + commentIn: [ID] + + """ + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + """ + commentNotIn: [ID] + + """ + Include comments of a given type. + """ + commentType: String + + """ + Include comments from a given array of comment types. + """ + commentTypeIn: [String] + + """ + Exclude comments from a given array of comment types. + """ + commentTypeNotIn: String + + """ + Content object author ID to limit results by. + """ + contentAuthor: [ID] + + """ + Array of author IDs to retrieve comments for. + """ + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID +} + +""" +The author of a comment +""" +interface Commenter { + """ + Identifies the primary key from the database. + """ + databaseId: Int! + + """ + The email address of the author of a comment. + """ + email: String + + """ + The globally unique identifier for the comment author. + """ + id: ID! + + """ + Whether the author information is considered restricted. (not fully public) + """ + isRestricted: Boolean + + """ + The name of the author of a comment. + """ + name: String + + """ + The url of the author of a comment. + """ + url: String +} + +""" +Options for ordering the connection +""" +enum CommentsConnectionOrderbyEnum { + """ + Order by browser user agent of the commenter. + """ + COMMENT_AGENT + + """ + Order by true/false approval of the comment. + """ + COMMENT_APPROVED + + """ + Order by name of the comment author. + """ + COMMENT_AUTHOR + + """ + Order by e-mail of the comment author. + """ + COMMENT_AUTHOR_EMAIL + + """ + Order by IP address of the comment author. + """ + COMMENT_AUTHOR_IP + + """ + Order by URL address of the comment author. + """ + COMMENT_AUTHOR_URL + + """ + Order by the comment contents. + """ + COMMENT_CONTENT + + """ + Order by date/time timestamp of the comment. + """ + COMMENT_DATE + + """ + Order by GMT timezone date/time timestamp of the comment. + """ + COMMENT_DATE_GMT + + """ + Order by the globally unique identifier for the comment object + """ + COMMENT_ID + + """ + Order by the array list of comment IDs listed in the where clause. + """ + COMMENT_IN + + """ + Order by the comment karma score. + """ + COMMENT_KARMA + + """ + Order by the comment parent ID. + """ + COMMENT_PARENT + + """ + Order by the post object ID. + """ + COMMENT_POST_ID + + """ + Order by the the type of comment, such as 'comment', 'pingback', or 'trackback'. + """ + COMMENT_TYPE + + """ + Order by the user ID. + """ + USER_ID +} + +""" +Nodes used to manage content +""" +interface ContentNode implements Node & UniformResourceIdentifiable { + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + The ID of the node in the database. + """ + databaseId: Int! + + """ + Post publishing date. + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( """ - Returns up to the first `n` elements from the list. + The number of items to return after the referenced "after" cursor """ first: Int """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. + The number of items to return before the referenced "before" cursor """ last: Int """ - Returns the elements that come before the specified cursor. + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data """ before: String - - """ - Reverse the order of the underlying list. - """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: BlogSortKeys = ID - - """ - Supported filter parameters: - - `created_at` - - `handle` - - `title` - - `updated_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): BlogConnection! @deprecated(reason: "Use `QueryRoot.blogs` instead.") + ): ContentNodeToEnqueuedScriptConnection """ - Find a collection by its handle. + Connection between the ContentNode type and the EnqueuedStylesheet type """ - collectionByHandle( + enqueuedStylesheets( """ - The handle of the collection. - """ - handle: String! - ): Collection - @deprecated(reason: "Use `QueryRoot.collectionByHandle` instead.") - - """ - List of the shop’s collections. - """ - collections( - """ - Returns up to the first `n` elements from the list. + The number of items to return after the referenced "after" cursor """ first: Int """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. + The number of items to return before the referenced "before" cursor """ last: Int """ - Returns the elements that come before the specified cursor. + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + The permalink of the post + """ + link: String + + """ + The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. + """ + slug: String + + """ + The current status of the object + """ + status: String + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum ContentNodeIdTypeEnum { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID + + """ + Identify a resource by the URI. + """ + URI +} + +""" +Connection between the ContentNode type and the ContentType type +""" +type ContentNodeToContentTypeConnectionEdge { + """ + The node of the connection, without the edges + """ + node: ContentType +} + +""" +Connection between the ContentNode type and the User type +""" +type ContentNodeToEditLastConnectionEdge { + """ + The node of the connection, without the edges + """ + node: User +} + +""" +Connection between the ContentNode type and the User type +""" +type ContentNodeToEditLockConnectionEdge { + """ + The timestamp for when the node was last edited + """ + lockTimestamp: String + + """ + The node of the connection, without the edges + """ + node: User +} + +""" +Connection between the ContentNode type and the EnqueuedScript type +""" +type ContentNodeToEnqueuedScriptConnection { + """ + Edges for the ContentNodeToEnqueuedScriptConnection connection + """ + edges: [ContentNodeToEnqueuedScriptConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [EnqueuedScript] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ContentNodeToEnqueuedScriptConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: EnqueuedScript +} + +""" +Connection between the ContentNode type and the EnqueuedStylesheet type +""" +type ContentNodeToEnqueuedStylesheetConnection { + """ + Edges for the ContentNodeToEnqueuedStylesheetConnection connection + """ + edges: [ContentNodeToEnqueuedStylesheetConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [EnqueuedStylesheet] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ContentNodeToEnqueuedStylesheetConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: EnqueuedStylesheet +} + +""" +A union of Content Node Types that support revisions +""" +union ContentRevisionUnion = Post | Page + +""" +The template assigned to a node of content +""" +interface ContentTemplate { + """ + The name of the template + """ + templateName: String +} + +""" +An Post Type object +""" +type ContentType implements Node & UniformResourceIdentifiable { + """ + Whether this content type should can be exported. + """ + canExport: Boolean + + """ + Connection between the ContentType type and the Taxonomy type + """ + connectedTaxonomies( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentTypeToTaxonomyConnection + + """ + Connection between the ContentType type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data """ before: String """ - Reverse the order of the underlying list. + Arguments for filtering the connection """ - reverse: Boolean = false - - """ - Sort the underlying list by the given key. - """ - sortKey: CollectionSortKeys = ID - - """ - Supported filter parameters: - - `collection_type` - - `title` - - `updated_at` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. - """ - query: String - ): CollectionConnection! - @deprecated(reason: "Use `QueryRoot.collections` instead.") + where: ContentTypeToContentNodeConnectionWhereArgs + ): ContentTypeToContentNodeConnection """ - The three-letter code for the currency that the shop accepts. + Whether content of this type should be deleted when the author of it is deleted from the system. """ - currencyCode: CurrencyCode! - @deprecated(reason: "Use `paymentSettings` instead") + deleteWithUser: Boolean """ - A description of the shop. + Description of the content type. """ description: String """ - A string representing the way currency is formatted when the currency isn’t specified. + Whether to exclude nodes of this content type from front end search results. """ - moneyFormat: String! + excludeFromSearch: Boolean """ - The shop’s name. + The plural name of the content type within the GraphQL Schema. """ - name: String! + graphqlPluralName: String """ - Settings related to payments. + The singular name of the content type within the GraphQL Schema. """ - paymentSettings: PaymentSettings! + graphqlSingleName: String """ - The shop’s primary domain. + Whether this content type should have archives. Content archives are generated by type and by date. """ - primaryDomain: Domain! + hasArchive: Boolean """ - The shop’s privacy policy. + Whether the content type is hierarchical, for example pages. """ - privacyPolicy: ShopPolicy + hierarchical: Boolean """ - Find a product by its handle. + The globally unique identifier of the post-type object. """ - productByHandle( + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether this page is set to the static front page. + """ + isFrontPage: Boolean! + + """ + Whether this page is set to the blog posts page. + """ + isPostsPage: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + Display name of the content type. + """ + label: String + + """ + Details about the content type labels. + """ + labels: PostTypeLabelDetails + + """ + The name of the icon file to display as a menu icon. + """ + menuIcon: String + + """ + The position of this post type in the menu. Only applies if show_in_menu is true. + """ + menuPosition: Int + + """ + The internal name of the post type. This should not be used for display purposes. + """ + name: String + + """ + Whether a content type is intended for use publicly either via the admin interface or by front-end users. While the default settings of exclude_from_search, publicly_queryable, show_ui, and show_in_nav_menus are inherited from public, each does not rely on this relationship and controls a very specific intention. + """ + public: Boolean + + """ + Whether queries can be performed on the front end for the content type as part of parse_request(). + """ + publiclyQueryable: Boolean + + """ + Name of content type to display in REST API "wp/v2" namespace. + """ + restBase: String + + """ + The REST Controller class assigned to handling this content type. + """ + restControllerClass: String + + """ + Makes this content type available via the admin bar. + """ + showInAdminBar: Boolean + + """ + Whether to add the content type to the GraphQL Schema. + """ + showInGraphql: Boolean + + """ + Where to show the content type in the admin menu. To work, $show_ui must be true. If true, the post type is shown in its own top level menu. If false, no menu is shown. If a string of an existing top level menu (eg. "tools.php" or "edit.php?post_type=page"), the post type will be placed as a sub-menu of that. + """ + showInMenu: Boolean + + """ + Makes this content type available for selection in navigation menus. + """ + showInNavMenus: Boolean + + """ + Whether the content type is associated with a route under the the REST API "wp/v2" namespace. + """ + showInRest: Boolean + + """ + Whether to generate and allow a UI for managing this content type in the admin. + """ + showUi: Boolean + + """ + The unique resource identifier path + """ + uri: String +} + +""" +Allowed Content Types +""" +enum ContentTypeEnum { + """ + The Type of Content object + """ + ATTACHMENT + + """ + The Type of Content object + """ + PAGE + + """ + The Type of Content object + """ + POST + + """ + The Type of Content object + """ + PRODUCT + + """ + The Type of Content object + """ + PRODUCT_VARIATION + + """ + The Type of Content object + """ + SHOP_COUPON + + """ + The Type of Content object + """ + SHOP_ORDER + + """ + The Type of Content object + """ + SHOP_ORDER_REFUND +} + +""" +The Type of Identifier used to fetch a single Content Type node. To be used along with the "id" field. Default is "ID". +""" +enum ContentTypeIdTypeEnum { + """ + The globally unique ID + """ + ID + + """ + The name of the content type. + """ + NAME +} + +""" +Connection between the ContentType type and the ContentNode type +""" +type ContentTypeToContentNodeConnection { + """ + Edges for the ContentTypeToContentNodeConnection connection + """ + edges: [ContentTypeToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ContentTypeToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the ContentTypeToContentNodeConnection connection +""" +input ContentTypeToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypeEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the ContentType type and the Taxonomy type +""" +type ContentTypeToTaxonomyConnection { + """ + Edges for the ContentTypeToTaxonomyConnection connection + """ + edges: [ContentTypeToTaxonomyConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Taxonomy] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ContentTypeToTaxonomyConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Taxonomy +} + +""" +Allowed Content Types of the Category taxonomy. +""" +enum ContentTypesOfCategoryEnum { + """ + The Type of Content object + """ + POST +} + +""" +Allowed Content Types of the PaColor taxonomy. +""" +enum ContentTypesOfPaColorEnum { + """ + The Type of Content object + """ + PRODUCT +} + +""" +Allowed Content Types of the PaSize taxonomy. +""" +enum ContentTypesOfPaSizeEnum { + """ + The Type of Content object + """ + PRODUCT +} + +""" +Allowed Content Types of the PostFormat taxonomy. +""" +enum ContentTypesOfPostFormatEnum { + """ + The Type of Content object + """ + POST +} + +""" +Allowed Content Types of the ProductCategory taxonomy. +""" +enum ContentTypesOfProductCategoryEnum { + """ + The Type of Content object + """ + PRODUCT +} + +""" +Allowed Content Types of the ProductTag taxonomy. +""" +enum ContentTypesOfProductTagEnum { + """ + The Type of Content object + """ + PRODUCT +} + +""" +Allowed Content Types of the ProductType taxonomy. +""" +enum ContentTypesOfProductTypeEnum { + """ + The Type of Content object + """ + PRODUCT +} + +""" +Allowed Content Types of the ShippingClass taxonomy. +""" +enum ContentTypesOfShippingClassEnum { + """ + The Type of Content object + """ + PRODUCT + + """ + The Type of Content object + """ + PRODUCT_VARIATION +} + +""" +Allowed Content Types of the Tag taxonomy. +""" +enum ContentTypesOfTagEnum { + """ + The Type of Content object + """ + POST +} + +""" +Allowed Content Types of the VisibleProduct taxonomy. +""" +enum ContentTypesOfVisibleProductEnum { + """ + The Type of Content object + """ + PRODUCT + + """ + The Type of Content object + """ + PRODUCT_VARIATION +} + +""" +Countries enumeration +""" +enum CountriesEnum { + AD + AE + AF + AG + AI + AL + AM + AO + AQ + AR + AS + AT + AU + AW + AX + AZ + BA + BB + BD + BE + BF + BG + BH + BI + BJ + BL + BM + BN + BO + BQ + BR + BS + BT + BV + BW + BY + BZ + CA + CC + CD + CF + CG + CH + CI + CK + CL + CM + CN + CO + CR + CU + CV + CW + CX + CY + CZ + DE + DJ + DK + DM + DO + DZ + EC + EE + EG + EH + ER + ES + ET + FI + FJ + FK + FM + FO + FR + GA + GB + GD + GE + GF + GG + GH + GI + GL + GM + GN + GP + GQ + GR + GS + GT + GU + GW + GY + HK + HM + HN + HR + HT + HU + ID + IE + IL + IM + IN + IO + IQ + IR + IS + IT + JE + JM + JO + JP + KE + KG + KH + KI + KM + KN + KP + KR + KW + KY + KZ + LA + LB + LC + LI + LK + LR + LS + LT + LU + LV + LY + MA + MC + MD + ME + MF + MG + MH + MK + ML + MM + MN + MO + MP + MQ + MR + MS + MT + MU + MV + MW + MX + MY + MZ + NA + NC + NE + NF + NG + NI + NL + NO + NP + NR + NU + NZ + OM + PA + PE + PF + PG + PH + PK + PL + PM + PN + PR + PS + PT + PW + PY + QA + RE + RO + RS + RU + RW + SA + SB + SC + SD + SE + SG + SH + SI + SJ + SK + SL + SM + SN + SO + SR + SS + ST + SV + SX + SY + SZ + TC + TD + TF + TG + TH + TJ + TK + TL + TM + TN + TO + TR + TT + TV + TW + TZ + UA + UG + UM + US + UY + UZ + VA + VC + VE + VG + VI + VN + VU + WF + WS + YE + YT + ZA + ZM + ZW +} + +""" +A coupon object +""" +type Coupon implements Node { + """ + Amount off provided by the coupon + """ + amount: Float + + """ + Coupon code + """ + code: String + + """ + The ID of the coupon in the database + """ + databaseId: Int + + """ + Date coupon created + """ + date: String + + """ + Date coupon expires + """ + dateExpiry: String + + """ + Explanation of what the coupon does + """ + description: String + + """ + Type of discount + """ + discountType: DiscountTypeEnum + + """ + Only customers with a matching email address can use the coupon + """ + emailRestrictions: [String] + + """ + Excluding sale items mean this coupon cannot be used on items that are on sale (or carts that contain on sale items) + """ + excludeSaleItems: Boolean + + """ + Connection between the Coupon type and the productCategory type + """ + excludedProductCategories( """ - The handle of the product. - """ - handle: String! - ): Product @deprecated(reason: "Use `QueryRoot.productByHandle` instead.") - - """ - A list of tags that have been added to products. - Additional access scope required: unauthenticated_read_product_tags. - """ - productTags( - """ - Returns up to the first `n` elements from the list. - """ - first: Int! - ): StringConnection! - @deprecated(reason: "Use `QueryRoot.productTags` instead.") - - """ - List of the shop’s product types. - """ - productTypes( - """ - Returns up to the first `n` elements from the list. - """ - first: Int! - ): StringConnection! - @deprecated(reason: "Use `QueryRoot.productTypes` instead.") - - """ - List of the shop’s products. - """ - products( - """ - Returns up to the first `n` elements from the list. + The number of items to return after the referenced "after" cursor """ first: Int """ - Returns the elements that come after the specified cursor. - """ - after: String - - """ - Returns up to the last `n` elements from the list. + The number of items to return before the referenced "before" cursor """ last: Int """ - Returns the elements that come before the specified cursor. + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data """ before: String """ - Reverse the order of the underlying list. + Arguments for filtering the connection """ - reverse: Boolean = false + where: CouponToExcludedProductCategoriesConnectionWhereArgs + ): CouponToExcludedProductCategoriesConnection + + """ + Connection between the Coupon type and the Product type + """ + excludedProducts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int """ - Sort the underlying list by the given key. + The number of items to return before the referenced "before" cursor """ - sortKey: ProductSortKeys = ID + last: Int """ - Supported filter parameters: - - `available_for_sale` - - `created_at` - - `product_type` - - `tag` - - `title` - - `updated_at` - - `variants.price` - - `vendor` - - See the detailed [search syntax](https://help.shopify.com/api/getting-started/search-syntax) - for more information about using filters. + Cursor used along with the "first" argument to reference where in the dataset to get data """ - query: String - ): ProductConnection! @deprecated(reason: "Use `QueryRoot.products` instead.") + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CouponToExcludedProductsConnectionWhereArgs + ): CouponToExcludedProductsConnection """ - The shop’s refund policy. + Does this coupon grant free shipping? """ - refundPolicy: ShopPolicy + freeShipping: Boolean """ - The shop’s shipping policy. - """ - shippingPolicy: ShopPolicy - - """ - Countries that the shop ships to. - """ - shipsToCountries: [CountryCode!]! - - """ - The shop’s Shopify Payments account id. - """ - shopifyPaymentsAccountId: String - @deprecated(reason: "Use `paymentSettings` instead") - - """ - The shop’s terms of service. - """ - termsOfService: ShopPolicy -} - -""" -Policy that a merchant has configured for their store, such as their refund or privacy policy. -""" -type ShopPolicy implements Node { - """ - Policy text, maximum size of 64kb. - """ - body: String! - - """ - Policy’s handle. - """ - handle: String! - - """ - Globally unique identifier. + The globally unique identifier for the coupon """ id: ID! """ - Policy’s title. + Individual use means this coupon cannot be used in conjunction with other coupons """ - title: String! + individualUse: Boolean """ - Public URL to the policy. + The number of products in your cart this coupon can apply to (for product discounts) """ - url: URL! + limitUsageToXItems: Int + + """ + Maximum spend amount that must be met before this coupon can be used + """ + maximumAmount: Float + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Minimum spend amount that must be met before this coupon can be used + """ + minimumAmount: Float + + """ + Date coupon modified + """ + modified: String + + """ + Connection between the Coupon type and the productCategory type + """ + productCategories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CouponToProductCategoryConnectionWhereArgs + ): CouponToProductCategoryConnection + + """ + Connection between the Coupon type and the Product type + """ + products( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CouponToProductConnectionWhereArgs + ): CouponToProductConnection + + """ + How many times the coupon has been used + """ + usageCount: Int + + """ + Amount of times this coupon can be used globally + """ + usageLimit: Int + + """ + Amount of times this coupon can be used by a customer + """ + usageLimitPerUser: Int + + """ + Connection between the Coupon type and the Customer type + """ + usedBy( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CouponToCustomerConnectionWhereArgs + ): CouponToCustomerConnection } """ -An auto-generated type for paginating through multiple Strings. +The Type of Identifier used to fetch a single Coupon. Default is ID. """ -type StringConnection { +enum CouponIdTypeEnum { """ - A list of edges. + Coupon code. """ - edges: [StringEdge!]! + CODE """ - Information to aid in pagination. + Identify a resource by the Database ID. """ - pageInfo: PageInfo! + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID } """ -An auto-generated type which holds one String and a cursor during pagination. +a coupon line object """ -type StringEdge { +type CouponLine { """ - A cursor for use in pagination. + Line's Coupon code """ - cursor: String! + code: String """ - The item at the end of StringEdge. + Line's Coupon """ - node: String! + coupon: Coupon + + """ + The ID of the order item in the database + """ + databaseId: Int + + """ + Line's Discount total + """ + discount: String + + """ + Line's Discount total tax + """ + discountTax: String + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + The Id of the order the order item belongs to. + """ + orderId: Int } """ -Specifies the fields required to complete a checkout with -a tokenized payment. +Connection between the Coupon type and the Customer type """ -input TokenizedPaymentInput { +type CouponToCustomerConnection { """ - The amount of the payment. + Edges for the CouponToCustomerConnection connection """ - amount: Money! + edges: [CouponToCustomerConnectionEdge] """ - A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). + The nodes of the connection, without the edges """ - idempotencyKey: String! + nodes: [Customer] """ - The billing address for the payment. + Information about pagination in a connection. """ - 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 + pageInfo: WPPageInfo } """ -Specifies the fields required to complete a checkout with -a tokenized payment. +An edge in a connection """ -input TokenizedPaymentInputV2 { +type CouponToCustomerConnectionEdge { """ - The amount and currency of the payment. + A cursor for use in pagination """ - paymentAmount: MoneyInput! + cursor: String """ - A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). + The item at the end of the edge """ - 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! + node: Customer } """ -Specifies the fields required to complete a checkout with -a tokenized payment. +Arguments for filtering the CouponToCustomerConnection connection """ -input TokenizedPaymentInputV3 { +input CouponToCustomerConnectionWhereArgs { """ - The amount and currency of the payment. + Limit result set to resources with a specific email. """ - paymentAmount: MoneyInput! + email: String """ - A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/concepts/about-apis/idempotent-requests). + Ensure result set excludes specific IDs. """ - idempotencyKey: String! + exclude: [Int] """ - The billing address for the payment. + Limit result set to specific ids. """ - billingAddress: MailingAddressInput! + include: [Int] """ - A simple string or JSON containing the required payment data for the tokenized payment. + Order of results. """ - paymentData: String! + order: OrderEnum """ - Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`. + Order results by a specific field. """ - test: Boolean + orderby: CustomerConnectionOrderbyEnum """ - Public Hash Key used for AndroidPay payments only. + Limit results to those matching a string. """ - identifier: String - - """ - The type of payment token. - """ - type: PaymentTokenType! + search: String } """ -An object representing exchange of money for a product or service. +Connection between the Coupon type and the productCategory type """ -type Transaction { +type CouponToExcludedProductCategoriesConnection { """ - The amount of money that the transaction was for. + Edges for the CouponToExcludedProductCategoriesConnection connection """ - amount: Money! @deprecated(reason: "Use `amountV2` instead") + edges: [CouponToExcludedProductCategoriesConnectionEdge] """ - The amount of money that the transaction was for. + The nodes of the connection, without the edges """ - amountV2: MoneyV2! + nodes: [ProductCategory] """ - The kind of the transaction. + Information about pagination in a connection. """ - kind: TransactionKind! - - """ - The status of the transaction. - """ - status: TransactionStatus! @deprecated(reason: "Use `statusV2` instead") - - """ - The status of the transaction. - """ - statusV2: TransactionStatus - - """ - Whether the transaction was done in test mode or not. - """ - test: Boolean! + pageInfo: WPPageInfo } """ -The different kinds of order transactions. +An edge in a connection """ -enum TransactionKind { +type CouponToExcludedProductCategoriesConnectionEdge { """ - An authorization and capture performed together in a single step. + A cursor for use in pagination """ - SALE + cursor: String """ - A transfer of the money that was reserved during the authorization stage. + The item at the end of the edge """ - CAPTURE - - """ - An amount reserved against the cardholder's funding source. - Money does not change hands until the authorization is captured. - """ - AUTHORIZATION - - """ - An authorization for a payment taken with an EMV credit card reader. - """ - EMV_AUTHORIZATION - - """ - Money returned to the customer when they have paid too much. - """ - CHANGE + node: ProductCategory } """ -Transaction statuses describe the status of a transaction. +Arguments for filtering the CouponToExcludedProductCategoriesConnection connection """ -enum TransactionStatus { +input CouponToExcludedProductCategoriesConnectionWhereArgs { """ - The transaction is pending. + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the Coupon type and the Product type +""" +type CouponToExcludedProductsConnection { + """ + Edges for the CouponToExcludedProductsConnection connection + """ + edges: [CouponToExcludedProductsConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type CouponToExcludedProductsConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the CouponToExcludedProductsConnection connection +""" +input CouponToExcludedProductsConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the Coupon type and the productCategory type +""" +type CouponToProductCategoryConnection { + """ + Edges for the CouponToProductCategoryConnection connection + """ + edges: [CouponToProductCategoryConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductCategory] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type CouponToProductCategoryConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductCategory +} + +""" +Arguments for filtering the CouponToProductCategoryConnection connection +""" +input CouponToProductCategoryConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the Coupon type and the Product type +""" +type CouponToProductConnection { + """ + Edges for the CouponToProductConnection connection + """ + edges: [CouponToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type CouponToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the CouponToProductConnection connection +""" +input CouponToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Customer account credentials +""" +input CreateAccountInput { + """ + Customer password + """ + password: String! + + """ + Customer username + """ + username: String! +} + +""" +Input for the createCategory mutation +""" +input CreateCategoryInput { + """ + The slug that the category will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the category object + """ + description: String + + """ + The name of the category object to mutate + """ + name: String! + + """ + The ID of the category that should be set as the parent + """ + parentId: ID + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createCategory mutation +""" +type CreateCategoryPayload { + """ + The created category + """ + category: Category + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +Input for the createComment mutation +""" +input CreateCommentInput { + """ + The approval status of the comment. + """ + approved: String + + """ + The name of the comment's author. + """ + author: String + + """ + The email of the comment's author. + """ + authorEmail: String + + """ + The url of the comment's author. + """ + authorUrl: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the post object the comment belongs to. + """ + commentOn: Int + + """ + Content of the comment. + """ + content: String + + """ + The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + """ + date: String + + """ + Parent comment of current comment. + """ + parent: ID + + """ + Type of comment. + """ + type: String +} + +""" +The payload for the createComment mutation +""" +type CreateCommentPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The comment that was created + """ + comment: Comment + + """ + Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache + """ + success: Boolean +} + +""" +Input for the createCoupon mutation +""" +input CreateCouponInput { + """ + The amount of discount. Should always be numeric, even if setting a percentage. + """ + amount: Float + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Coupon code. + """ + code: String! + + """ + The date the coupon expires, in the site's timezone. + """ + dateExpires: String + + """ + The date the coupon expires, as GMT. + """ + dateExpiresGmt: String + + """ + Coupon description. + """ + description: String + + """ + Determines the type of discount that will be applied. + """ + discountType: DiscountTypeEnum + + """ + List of email addresses that can use this coupon. + """ + emailRestrictions: [String] + + """ + If true, this coupon will not be applied to items that have sale prices. + """ + excludeSaleItems: Boolean + + """ + List of category IDs the coupon does not apply to. + """ + excludedProductCategories: [Int] + + """ + List of product IDs the coupon cannot be used on. + """ + excludedProductIds: [Int] + + """ + If true and if the free shipping method requires a coupon, this coupon will enable free shipping. + """ + freeShipping: Boolean + + """ + If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. + """ + individualUse: Boolean + + """ + Max number of items in the cart the coupon can be applied to. + """ + limitUsageToXItems: Int + + """ + Maximum order amount allowed when using the coupon. + """ + maximumAmount: String + + """ + Meta data. + """ + metaData: [MetaDataInput] + + """ + Minimum order amount that needs to be in the cart before coupon applies. + """ + minimumAmount: String + + """ + List of category IDs the coupon applies to. + """ + productCategories: [Int] + + """ + List of product IDs the coupon can be used on. + """ + productIds: [Int] + + """ + How many times the coupon can be used in total. + """ + usageLimit: Int + + """ + How many times the coupon can be used per customer. + """ + usageLimitPerUser: Int +} + +""" +The payload for the createCoupon mutation +""" +type CreateCouponPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + code: String + coupon: Coupon +} + +""" +Input for the createMediaItem mutation +""" +input CreateMediaItemInput { + """ + Alternative text to display when mediaItem is not displayed + """ + altText: String + + """ + The userId to assign as the author of the mediaItem + """ + authorId: ID + + """ + The caption for the mediaItem + """ + caption: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The comment status for the mediaItem + """ + commentStatus: String + + """ + The date of the mediaItem + """ + date: String + + """ + The date (in GMT zone) of the mediaItem + """ + dateGmt: String + + """ + Description of the mediaItem + """ + description: String + + """ + The file name of the mediaItem + """ + filePath: String + + """ + The file type of the mediaItem + """ + fileType: MimeTypeEnum + + """ + The WordPress post ID or the graphQL postId of the parent object + """ + parentId: ID + + """ + The ping status for the mediaItem + """ + pingStatus: String + + """ + The slug of the mediaItem + """ + slug: String + + """ + The status of the mediaItem + """ + status: MediaItemStatusEnum + + """ + The title of the mediaItem + """ + title: String +} + +""" +The payload for the createMediaItem mutation +""" +type CreateMediaItemPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The MediaItem object mutation type. + """ + mediaItem: MediaItem +} + +""" +Input for the createOrder mutation +""" +input CreateOrderInput { + """ + Order billing address + """ + billing: CustomerAddressInput + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Coupons codes to be applied to order + """ + coupons: [String] + + """ + Currency the order was created with, in ISO format. + """ + currency: String + + """ + Order customer ID + """ + customerId: Int + + """ + Note left by customer during checkout. + """ + customerNote: String + + """ + Order shipping lines + """ + feeLines: [FeeLineInput] + + """ + Define if the order is paid. It will set the status to processing and reduce stock items. + """ + isPaid: Boolean + + """ + Order line items + """ + lineItems: [LineItemInput] + + """ + Order meta data + """ + metaData: [MetaDataInput] + + """ + Parent order ID. + """ + parentId: Int + + """ + Payment method ID. + """ + paymentMethod: String + + """ + Payment method title. + """ + paymentMethodTitle: String + + """ + Order shipping address + """ + shipping: CustomerAddressInput + + """ + Order shipping lines + """ + shippingLines: [ShippingLineInput] + + """ + Order status + """ + status: OrderStatusEnum + + """ + Order transaction ID + """ + transactionId: String +} + +""" +The payload for the createOrder mutation +""" +type CreateOrderPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + order: Order + orderId: Int +} + +""" +Input for the createPaColor mutation +""" +input CreatePaColorInput { + """ + The slug that the pa_color will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the pa_color object + """ + description: String + + """ + The name of the pa_color object to mutate + """ + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createPaColor mutation +""" +type CreatePaColorPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created pa_color + """ + paColor: PaColor +} + +""" +Input for the createPaSize mutation +""" +input CreatePaSizeInput { + """ + The slug that the pa_size will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the pa_size object + """ + description: String + + """ + The name of the pa_size object to mutate + """ + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createPaSize mutation +""" +type CreatePaSizePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created pa_size + """ + paSize: PaSize +} + +""" +Input for the createPage mutation +""" +input CreatePageInput { + """ + The userId to assign as the author of the object + """ + authorId: ID + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The comment status for the object + """ + commentStatus: String + + """ + The content of the object + """ + content: String + + """ + The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + """ + date: String + + """ + A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + """ + menuOrder: Int + + """ + The ID of the parent object + """ + parentId: ID + + """ + The password used to protect the content of the object + """ + password: String + + """ + The slug of the object + """ + slug: String + + """ + The status of the object + """ + status: PostStatusEnum + + """ + The title of the object + """ + title: String +} + +""" +The payload for the createPage mutation +""" +type CreatePagePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The Post object mutation type. + """ + page: Page +} + +""" +Input for the createPostFormat mutation +""" +input CreatePostFormatInput { + """ + The slug that the post_format will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the post_format object + """ + description: String + + """ + The name of the post_format object to mutate + """ + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createPostFormat mutation +""" +type CreatePostFormatPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created post_format + """ + postFormat: PostFormat +} + +""" +Input for the createPost mutation +""" +input CreatePostInput { + """ + The userId to assign as the author of the object + """ + authorId: ID + + """ + Set connections between the post and categories + """ + categories: PostCategoriesInput + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The comment status for the object + """ + commentStatus: String + + """ + The content of the object + """ + content: String + + """ + The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + """ + date: String + + """ + The excerpt of the object + """ + excerpt: String + + """ + A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + """ + menuOrder: Int + + """ + The password used to protect the content of the object + """ + password: String + + """ + The ping status for the object + """ + pingStatus: String + + """ + URLs that have been pinged. + """ + pinged: [String] + + """ + Set connections between the post and postFormats + """ + postFormats: PostPostFormatsInput + + """ + The slug of the object + """ + slug: String + + """ + The status of the object + """ + status: PostStatusEnum + + """ + Set connections between the post and tags + """ + tags: PostTagsInput + + """ + The title of the object + """ + title: String + + """ + URLs queued to be pinged. + """ + toPing: [String] +} + +""" +The payload for the createPost mutation +""" +type CreatePostPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The Post object mutation type. + """ + post: Post +} + +""" +Input for the createProductCategory mutation +""" +input CreateProductCategoryInput { + """ + The slug that the product_cat will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_cat object + """ + description: String + + """ + The name of the product_cat object to mutate + """ + name: String! + + """ + The ID of the product_cat that should be set as the parent + """ + parentId: ID + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createProductCategory mutation +""" +type CreateProductCategoryPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_cat + """ + productCategory: ProductCategory +} + +""" +Input for the createProductTag mutation +""" +input CreateProductTagInput { + """ + The slug that the product_tag will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_tag object + """ + description: String + + """ + The name of the product_tag object to mutate + """ + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createProductTag mutation +""" +type CreateProductTagPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_tag + """ + productTag: ProductTag +} + +""" +Input for the createProductType mutation +""" +input CreateProductTypeInput { + """ + The slug that the product_type will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_type object + """ + description: String + + """ + The name of the product_type object to mutate + """ + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createProductType mutation +""" +type CreateProductTypePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_type + """ + productType: ProductType +} + +""" +Input for the createShippingClass mutation +""" +input CreateShippingClassInput { + """ + The slug that the product_shipping_class will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_shipping_class object + """ + description: String + + """ + The name of the product_shipping_class object to mutate + """ + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createShippingClass mutation +""" +type CreateShippingClassPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_shipping_class + """ + shippingClass: ShippingClass +} + +""" +Input for the createTag mutation +""" +input CreateTagInput { + """ + The slug that the post_tag will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the post_tag object + """ + description: String + + """ + The name of the post_tag object to mutate + """ + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createTag mutation +""" +type CreateTagPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created post_tag + """ + tag: Tag +} + +""" +Input for the createUser mutation +""" +input CreateUserInput { + """ + User's AOL IM account. + """ + aim: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + A string containing content about the user. + """ + description: String + + """ + A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). + """ + displayName: String + + """ + A string containing the user's email address. + """ + email: String + + """ + The user's first name. + """ + firstName: String + + """ + User's Jabber account. + """ + jabber: String + + """ + The user's last name. + """ + lastName: String + + """ + User's locale. + """ + locale: String + + """ + A string that contains a URL-friendly name for the user. The default is the user's username. + """ + nicename: String + + """ + The user's nickname, defaults to the user's username. + """ + nickname: String + + """ + A string that contains the plain text password for the user. + """ + password: String + + """ + The date the user registered. Format is Y-m-d H:i:s. + """ + registered: String + + """ + A string for whether to enable the rich editor or not. False if not empty. + """ + richEditing: String + + """ + An array of roles to be assigned to the user. + """ + roles: [String] + + """ + A string that contains the user's username for logging in. + """ + username: String! + + """ + A string containing the user's URL for the user's web site. + """ + websiteUrl: String + + """ + User's Yahoo IM account. + """ + yim: String +} + +""" +The payload for the createUser mutation +""" +type CreateUserPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The User object mutation type. + """ + user: User +} + +""" +Input for the createVisibleProduct mutation +""" +input CreateVisibleProductInput { + """ + The slug that the product_visibility will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_visibility object + """ + description: String + + """ + The name of the product_visibility object to mutate + """ + name: String! + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the createVisibleProduct mutation +""" +type CreateVisibleProductPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_visibility + """ + visibleProduct: VisibleProduct +} + +""" +A customer object +""" +type Customer implements Node { + """ + Return the date customer billing address properties + """ + billing: CustomerAddress + + """ + Has customer calculated shipping? + """ + calculatedShipping: Boolean + + """ + The ID of the customer in the database + """ + databaseId: Int + + """ + Return the date customer was created + """ + date: String + + """ + Return the customer's display name. + """ + displayName: String + + """ + Connection between the Customer type and the DownloadableItem type + """ + downloadableItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CustomerToDownloadableItemConnectionWhereArgs + ): CustomerToDownloadableItemConnection + + """ + Return the customer's email. + """ + email: String + + """ + Return the customer's first name. + """ + firstName: String + + """ + Has calculated shipping? + """ + hasCalculatedShipping: Boolean + + """ + The globally unique identifier for the customer + """ + id: ID! + + """ + Return the date customer was last updated + """ + isPayingCustomer: Boolean + + """ + Is customer VAT exempt? + """ + isVatExempt: Boolean + + """ + Return the customer's last name. + """ + lastName: String + + """ + Gets the customers last order. + """ + lastOrder: Order + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Return the date customer was last updated + """ + modified: String + + """ + Return the number of orders this customer has. + """ + orderCount: Int + + """ + Connection between the Customer type and the Order type + """ + orders( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CustomerToOrderConnectionWhereArgs + ): CustomerToOrderConnection + + """ + Connection between the Customer type and the Refund type + """ + refunds( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: CustomerToRefundConnectionWhereArgs + ): CustomerToRefundConnection + + """ + Return the customer's user role. + """ + role: String + + """ + A JWT token that can be used in future requests to for WooCommerce session identification + """ + sessionToken: String + + """ + Return the date customer shipping address properties + """ + shipping: CustomerAddress + + """ + Return how much money this customer has spent. + """ + totalSpent: Float + + """ + Return the customer's username. + """ + username: String +} + +""" +A customer address object +""" +type CustomerAddress { + """ + Address 1 + """ + address1: String + + """ + Address 2 + """ + address2: String + + """ + City + """ + city: String + + """ + Company + """ + company: String + + """ + Country + """ + country: CountriesEnum + + """ + E-mail + """ + email: String + + """ + First name + """ + firstName: String + + """ + Last name + """ + lastName: String + + """ + Phone + """ + phone: String + + """ + Zip Postal Code + """ + postcode: String + + """ + State + """ + state: String +} + +""" +Customer address information +""" +input CustomerAddressInput { + """ + Address 1 + """ + address1: String + + """ + Address 2 + """ + address2: String + + """ + City + """ + city: String + + """ + Company + """ + company: String + + """ + Country + """ + country: CountriesEnum + + """ + E-mail + """ + email: String + + """ + First name + """ + firstName: String + + """ + Last name + """ + lastName: String + + """ + Clear old address data + """ + overwrite: Boolean + + """ + Phone + """ + phone: String + + """ + Zip Postal Code + """ + postcode: String + + """ + State + """ + state: String +} + +""" +Field to order the connection by +""" +enum CustomerConnectionOrderbyEnum { + """ + Order by customer email + """ + EMAIL + + """ + Order by customer ID + """ + ID + + """ + Order by include field + """ + INCLUDE + + """ + Order by customer display name + """ + NAME + + """ + Order by customer registration date + """ + REGISTERED_DATE + + """ + Order by customer username + """ + USERNAME +} + +""" +Connection between the Customer type and the DownloadableItem type +""" +type CustomerToDownloadableItemConnection { + """ + Edges for the CustomerToDownloadableItemConnection connection + """ + edges: [CustomerToDownloadableItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [DownloadableItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type CustomerToDownloadableItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: DownloadableItem +} + +""" +Arguments for filtering the CustomerToDownloadableItemConnection connection +""" +input CustomerToDownloadableItemConnectionWhereArgs { + """ + Limit results to downloadable items that can be downloaded now. + """ + active: Boolean + + """ + Limit results to downloadable items that are expired. + """ + expired: Boolean + + """ + Limit results to downloadable items that have downloads remaining. + """ + hasDownloadsRemaining: Boolean +} + +""" +Connection between the Customer type and the Order type +""" +type CustomerToOrderConnection { + """ + Edges for the CustomerToOrderConnection connection + """ + edges: [CustomerToOrderConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Order] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type CustomerToOrderConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Order +} + +""" +Arguments for filtering the CustomerToOrderConnection connection +""" +input CustomerToOrderConnectionWhereArgs { + """ + Limit result set to orders assigned a specific customer. + """ + customerId: Int + + """ + Limit result set to orders assigned a specific group of customers. + """ + customersIn: [Int] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + What paramater to use to order the objects by. + """ + orderby: [OrdersOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to orders assigned a specific product. + """ + productId: Int + + """ + Limit results to those matching a string. + """ + search: String + + """ + Limit result set to orders assigned a specific status. + """ + statuses: [OrderStatusEnum] +} + +""" +Connection between the Customer type and the Refund type +""" +type CustomerToRefundConnection { + """ + Edges for the CustomerToRefundConnection connection + """ + edges: [CustomerToRefundConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Refund] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type CustomerToRefundConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Refund +} + +""" +Arguments for filtering the CustomerToRefundConnection connection +""" +input CustomerToRefundConnectionWhereArgs { + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to refunds from a specific group of order IDs. + """ + orderIn: [Int] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostTypeOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit results to those matching a string. + """ + search: String + + """ + Limit result set to refunds assigned a specific status. + """ + statuses: [String] +} + +""" +Object that can be identified with a Database ID +""" +interface DatabaseIdentifier { + """ + The unique identifier stored in the database + """ + databaseId: Int! +} + +""" +Date values +""" +input DateInput { + """ + Day of the month (from 1 to 31) + """ + day: Int + + """ + Month number (from 1 to 12) + """ + month: Int + + """ + 4 digit year (e.g. 2017) + """ + year: Int +} + +""" +Filter the connection based on input +""" +input DateQueryInput { + """ + Nodes should be returned after this date + """ + after: DateInput + + """ + Nodes should be returned before this date + """ + before: DateInput + + """ + Column to query against + """ + column: PostObjectsConnectionDateColumnEnum + + """ + For after/before, whether exact value should be matched or not + """ + compare: String + + """ + Day of the month (from 1 to 31) + """ + day: Int + + """ + Hour (from 0 to 23) + """ + hour: Int + + """ + For after/before, whether exact value should be matched or not + """ + inclusive: Boolean + + """ + Minute (from 0 to 59) + """ + minute: Int + + """ + Month number (from 1 to 12) + """ + month: Int + + """ + OR or AND, how the sub-arrays should be compared + """ + relation: RelationEnum + + """ + Second (0 to 59) + """ + second: Int + + """ + Week of the year (from 0 to 53) + """ + week: Int + + """ + 4 digit year (e.g. 2017) + """ + year: Int +} + +""" +The template assigned to the node +""" +type DefaultTemplate implements ContentTemplate { + """ + The name of the template + """ + templateName: String +} + +""" +Input for the deleteCategory mutation +""" +input DeleteCategoryInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the category to delete + """ + id: ID! +} + +""" +The payload for the deleteCategory mutation +""" +type DeleteCategoryPayload { + """ + The deteted term object + """ + category: Category + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID +} + +""" +Input for the deleteComment mutation +""" +input DeleteCommentInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Whether the comment should be force deleted instead of being moved to the trash + """ + forceDelete: Boolean + + """ + The deleted comment ID + """ + id: ID! +} + +""" +The payload for the deleteComment mutation +""" +type DeleteCommentPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The deleted comment object + """ + comment: Comment + + """ + The deleted comment ID + """ + deletedId: ID +} + +""" +Input for the deleteCoupon mutation +""" +input DeleteCouponInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Delete the object. Set to "false" by default. + """ + forceDelete: Boolean + + """ + Unique identifier for the object. + """ + id: ID! +} + +""" +The payload for the deleteCoupon mutation +""" +type DeleteCouponPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + code: String + coupon: Coupon +} + +""" +Input for the deleteMediaItem mutation +""" +input DeleteMediaItemInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Whether the mediaItem should be force deleted instead of being moved to the trash + """ + forceDelete: Boolean + + """ + The ID of the mediaItem to delete + """ + id: ID! +} + +""" +The payload for the deleteMediaItem mutation +""" +type DeleteMediaItemPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted mediaItem + """ + deletedId: ID + + """ + The mediaItem before it was deleted + """ + mediaItem: MediaItem +} + +""" +Input for the deleteOrder mutation +""" +input DeleteOrderInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Delete or simply place in trash. + """ + forceDelete: Boolean + + """ + Order global ID + """ + id: ID + + """ + Order WP ID + """ + orderId: Int +} + +""" +Input for the deleteOrderItems mutation +""" +input DeleteOrderItemsInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Order global ID + """ + id: ID + + """ + ID Order items being deleted + """ + itemIds: [Int] + + """ + Order WP ID + """ + orderId: Int +} + +""" +The payload for the deleteOrderItems mutation +""" +type DeleteOrderItemsPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + order: Order +} + +""" +The payload for the deleteOrder mutation +""" +type DeleteOrderPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + order: Order +} + +""" +Input for the deletePaColor mutation +""" +input DeletePaColorInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the paColor to delete + """ + id: ID! +} + +""" +The payload for the deletePaColor mutation +""" +type DeletePaColorPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + paColor: PaColor +} + +""" +Input for the deletePaSize mutation +""" +input DeletePaSizeInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the paSize to delete + """ + id: ID! +} + +""" +The payload for the deletePaSize mutation +""" +type DeletePaSizePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + paSize: PaSize +} + +""" +Input for the deletePage mutation +""" +input DeletePageInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Whether the object should be force deleted instead of being moved to the trash + """ + forceDelete: Boolean + + """ + The ID of the page to delete + """ + id: ID! +} + +""" +The payload for the deletePage mutation +""" +type DeletePagePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The object before it was deleted + """ + page: Page +} + +""" +Input for the deletePostFormat mutation +""" +input DeletePostFormatInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the postFormat to delete + """ + id: ID! +} + +""" +The payload for the deletePostFormat mutation +""" +type DeletePostFormatPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + postFormat: PostFormat +} + +""" +Input for the deletePost mutation +""" +input DeletePostInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Whether the object should be force deleted instead of being moved to the trash + """ + forceDelete: Boolean + + """ + The ID of the post to delete + """ + id: ID! +} + +""" +The payload for the deletePost mutation +""" +type DeletePostPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The object before it was deleted + """ + post: Post +} + +""" +Input for the deleteProductCategory mutation +""" +input DeleteProductCategoryInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the productCategory to delete + """ + id: ID! +} + +""" +The payload for the deleteProductCategory mutation +""" +type DeleteProductCategoryPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + productCategory: ProductCategory +} + +""" +Input for the deleteProductTag mutation +""" +input DeleteProductTagInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the productTag to delete + """ + id: ID! +} + +""" +The payload for the deleteProductTag mutation +""" +type DeleteProductTagPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + productTag: ProductTag +} + +""" +Input for the deleteProductType mutation +""" +input DeleteProductTypeInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the productType to delete + """ + id: ID! +} + +""" +The payload for the deleteProductType mutation +""" +type DeleteProductTypePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + productType: ProductType +} + +""" +Input for the deleteReview mutation +""" +input DeleteReviewInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Whether the product review should be force deleted instead of being moved to the trash + """ + forceDelete: Boolean + + """ + The ID of the target product review + """ + id: ID! +} + +""" +The payload for the deleteReview mutation +""" +type DeleteReviewPayload { + """ + The affected product review ID + """ + affectedId: ID + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The product rating of the affected product review + """ + rating: Float + + """ + The affected product review + """ + review: Comment +} + +""" +Input for the deleteShippingClass mutation +""" +input DeleteShippingClassInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the shippingClass to delete + """ + id: ID! +} + +""" +The payload for the deleteShippingClass mutation +""" +type DeleteShippingClassPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + shippingClass: ShippingClass +} + +""" +Input for the deleteTag mutation +""" +input DeleteTagInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the tag to delete + """ + id: ID! +} + +""" +The payload for the deleteTag mutation +""" +type DeleteTagPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + tag: Tag +} + +""" +Input for the deleteUser mutation +""" +input DeleteUserInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the user you want to delete + """ + id: ID! + + """ + Reassign posts and links to new User ID. + """ + reassignId: ID +} + +""" +The payload for the deleteUser mutation +""" +type DeleteUserPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the user that you just deleted + """ + deletedId: ID + + """ + The deleted user object + """ + user: User +} + +""" +Input for the deleteVisibleProduct mutation +""" +input DeleteVisibleProductInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the visibleProduct to delete + """ + id: ID! +} + +""" +The payload for the deleteVisibleProduct mutation +""" +type DeleteVisibleProductPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the deleted object + """ + deletedId: ID + + """ + The deteted term object + """ + visibleProduct: VisibleProduct +} + +""" +Coupon discount type enumeration +""" +enum DiscountTypeEnum { + """ + Fixed cart discount + """ + FIXED_CART + + """ + Fixed product discount + """ + FIXED_PRODUCT + + """ + Percentage discount + """ + PERCENT +} + +""" +The discussion setting type +""" +type DiscussionSettings { + """ + Allow people to submit comments on new posts. + """ + defaultCommentStatus: String + + """ + Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. + """ + defaultPingStatus: String +} + +""" +A downloadable item +""" +type DownloadableItem { + """ + The date the downloadable item expires + """ + accessExpires: String + + """ + ProductDownload of the downloadable item + """ + download: ProductDownload + + """ + Downloadable item unique identifier + """ + downloadId: String! + + """ + Number of times the item can be downloaded. + """ + downloadsRemaining: Int + + """ + Name of the downloadable item. + """ + name: String + + """ + Product of downloadable item. + """ + product: Product + + """ + Download URL of the downloadable item. + """ + url: String +} + +""" +Input for the emptyCart mutation +""" +input EmptyCartInput { + clearPersistentCart: Boolean + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +The payload for the emptyCart mutation +""" +type EmptyCartPayload { + cart: Cart + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + deletedCart: Cart +} + +""" +Asset enqueued by the CMS +""" +interface EnqueuedAsset { + """ + @todo + """ + args: Boolean + + """ + Dependencies needed to use this asset + """ + dependencies: [EnqueuedScript] + + """ + Extra information needed for the script + """ + extra: String + + """ + The handle of the enqueued asset + """ + handle: String + + """ + The ID of the enqueued asset + """ + id: ID! + + """ + The source of the asset + """ + src: String + + """ + The version of the enqueued asset + """ + version: String +} + +""" +Script enqueued by the CMS +""" +type EnqueuedScript implements Node & EnqueuedAsset { + """ + @todo + """ + args: Boolean + + """ + Dependencies needed to use this asset + """ + dependencies: [EnqueuedScript] + + """ + Extra information needed for the script + """ + extra: String + + """ + The handle of the enqueued asset + """ + handle: String + + """ + The ID of the enqueued asset + """ + id: ID! + + """ + The source of the asset + """ + src: String + + """ + The version of the enqueued asset + """ + version: String +} + +""" +Stylesheet enqueued by the CMS +""" +type EnqueuedStylesheet implements Node & EnqueuedAsset { + """ + @todo + """ + args: Boolean + + """ + Dependencies needed to use this asset + """ + dependencies: [EnqueuedScript] + + """ + Extra information needed for the script + """ + extra: String + + """ + The handle of the enqueued asset + """ + handle: String + + """ + The ID of the enqueued asset + """ + id: ID! + + """ + The source of the asset + """ + src: String + + """ + The version of the enqueued asset + """ + version: String +} + +""" +A external product object +""" +type ExternalProduct implements Node & Product & NodeWithComments & NodeWithContentEditor & NodeWithFeaturedImage & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the Product type and the ProductAttribute type + """ + attributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductAttributeConnectionWhereArgs + ): ProductToProductAttributeConnection + + """ + Product average count + """ + averageRating: Float + + """ + External product Buy button text + """ + buttonText: String + + """ + Catalog visibility + """ + catalogVisibility: CatalogVisibilityEnum + + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String + + """ + The content of the post. + """ + content( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + The ID of the product in the database + """ + databaseId: Int! + + """ + Date product created + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + Date on sale from + """ + dateOnSaleFrom: String + + """ + Date on sale to + """ + dateOnSaleTo: String + + """ + Connection between the ExternalProduct type and the VariationAttribute type + """ + defaultAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ExternalProductToVariationAttributeConnection + + """ + Product description + """ + description( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + External product url + """ + externalUrl: String + + """ + If the product is featured + """ + featured: Boolean + + """ + Connection between the NodeWithFeaturedImage type and the MediaItem type + """ + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int + + """ + Globally unique ID of the featured image assigned to the node + """ + featuredImageId: ID + + """ + Connection between the Product type and the MediaItem type + """ + galleryImages( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToMediaItemConnectionWhereArgs + ): ProductToMediaItemConnection + + """ + Connection between the Product type and the GlobalProductAttribute type + """ + globalAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToGlobalProductAttributeConnectionWhereArgs + ): ProductToGlobalProductAttributeConnection + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + The globally unique identifier for the product + """ + id: ID! + + """ + Main image + """ + image: MediaItem + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + The permalink of the post + """ + link: String + + """ + Connection between the Product type and the LocalProductAttribute type + """ + localAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToLocalProductAttributeConnectionWhereArgs + ): ProductToLocalProductAttributeConnection + + """ + Menu order + """ + menuOrder: Int + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Date product last updated + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + Product name + """ + name: String + + """ + Is product on sale? + """ + onSale: Boolean + + """ + Connection between the Product type and the paColor type + """ + paColors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaColorConnectionWhereArgs + ): ProductToPaColorConnection + + """ + Connection between the Product type and the paSize type + """ + paSizes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaSizeConnectionWhereArgs + ): ProductToPaSizeConnection + + """ + Parent product + """ + parent: Product + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + Product's active price + """ + price( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Product type and the productCategory type + """ + productCategories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductCategoryConnectionWhereArgs + ): ProductToProductCategoryConnection + + """ + Connection between the Product type and the productTag type + """ + productTags( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTagConnectionWhereArgs + ): ProductToProductTagConnection + + """ + Connection between the Product type and the productType type + """ + productTypes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTypeConnectionWhereArgs + ): ProductToProductTypeConnection + + """ + Can product be purchased? + """ + purchasable: Boolean + + """ + Purchase note + """ + purchaseNote: String + + """ + Product's regular price + """ + regularPrice( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Product type and the Product type + """ + related( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductConnectionWhereArgs + ): ProductToProductConnection + + """ + Product review count + """ + reviewCount: Int + + """ + Connection between the Product type and the Comment type + """ + reviews( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToCommentConnectionWhereArgs + ): ProductToCommentConnection + + """ + If reviews are allowed + """ + reviewsAllowed: Boolean + + """ + Product's sale price + """ + salePrice( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Product type and the shippingClass type + """ + shippingClasses( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToShippingClassConnectionWhereArgs + ): ProductToShippingClassConnection + + """ + Product short description + """ + shortDescription( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Product SKU + """ + sku: String + + """ + Product slug + """ + slug: String + + """ + Product status + """ + status: String + + """ + Tax class + """ + taxClass: TaxClassEnum + + """ + Tax status + """ + taxStatus: TaxStatusEnum + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + Number total of sales + """ + totalSales: Int + + """ + Product type + """ + type: ProductTypesEnum + + """ + Connection between the Product type and the Product type + """ + upsell( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToUpsellConnectionWhereArgs + ): ProductToUpsellConnection + + """ + The unique resource identifier path + """ + uri: String + + """ + Connection between the Product type and the visibleProduct type + """ + visibleProducts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToVisibleProductConnectionWhereArgs + ): ProductToVisibleProductConnection +} + +""" +Connection between the ExternalProduct type and the VariationAttribute type +""" +type ExternalProductToVariationAttributeConnection { + """ + Edges for the ExternalProductToVariationAttributeConnection connection + """ + edges: [ExternalProductToVariationAttributeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [VariationAttribute] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ExternalProductToVariationAttributeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: VariationAttribute +} + +""" +a fee line object +""" +type FeeLine { + """ + Fee amount + """ + amount: String + + """ + The ID of the order item in the database + """ + databaseId: Int + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Fee name + """ + name: String + + """ + The Id of the order the order item belongs to. + """ + orderId: Int + + """ + Line tax class + """ + taxClass: TaxClassEnum + + """ + Tax status of fee + """ + taxStatus: TaxStatusEnum + + """ + Line taxes + """ + taxes: [OrderItemTax] + + """ + Line total (after discounts) + """ + total: String + + """ + Line total tax (after discounts) + """ + totalTax: String +} + +""" +Fee line data. +""" +input FeeLineInput { + """ + Fee amount. + """ + amount: String + + """ + Fee Line ID + """ + id: ID + + """ + Fee name. + """ + name: String + + """ + Tax class of fee. + """ + taxClass: TaxClassEnum + + """ + Tax status of fee. + """ + taxStatus: TaxStatusEnum + + """ + Line total (after discounts). + """ + total: String +} + +""" +Input for the fillCart mutation +""" +input FillCartInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Coupons to be applied to the cart + """ + coupons: [String] + + """ + Cart items to be added + """ + items: [CartItemInput] + + """ + Shipping methods to be used. + """ + shippingMethods: [String] +} + +""" +The payload for the fillCart mutation +""" +type FillCartPayload { + added: [CartItem] + applied: [AppliedCoupon] + cart: Cart + cartErrors: [CartError] + chosenShippingMethods: [String] + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +The general setting type +""" +type GeneralSettings { + """ + A date format for all date strings. + """ + dateFormat: String + + """ + Site tagline. + """ + description: String + + """ + This address is used for admin purposes, like new user notification. + """ + email: String + + """ + WordPress locale code. + """ + language: String + + """ + A day number of the week that the week should start on. + """ + startOfWeek: Int + + """ + A time format for all time strings. + """ + timeFormat: String + + """ + A city in the same timezone as you. + """ + timezone: String + + """ + Site title. + """ + title: String + + """ + Site URL. + """ + url: String +} + +""" +A product attribute object +""" +type GlobalProductAttribute implements ProductAttribute { + """ + Attribute ID + """ + attributeId: Int! + + """ + Attribute Global ID + """ + id: ID! + + """ + Attribute label + """ + label: String! + + """ + Product attribute name + """ + name: String! + + """ + Attribute options + """ + options: [String] + + """ + Attribute position + """ + position: Int! + + """ + Product attribute scope. + """ + scope: ProductAttributeTypesEnum! + + """ + Product attribute slug + """ + slug: String! + + """ + Connection between the GlobalProductAttribute type and the TermNode type + """ + terms( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: GlobalProductAttributeToTermNodeConnectionWhereArgs + ): GlobalProductAttributeToTermNodeConnection + + """ + Is attribute on product variation + """ + variation: Boolean! + + """ + Is attribute visible + """ + visible: Boolean! +} + +""" +Connection between the GlobalProductAttribute type and the TermNode type +""" +type GlobalProductAttributeToTermNodeConnection { + """ + Edges for the GlobalProductAttributeToTermNodeConnection connection + """ + edges: [GlobalProductAttributeToTermNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [TermNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type GlobalProductAttributeToTermNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: TermNode +} + +""" +Arguments for filtering the GlobalProductAttributeToTermNodeConnection connection +""" +input GlobalProductAttributeToTermNodeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +A group product object +""" +type GroupProduct implements Node & Product & NodeWithComments & NodeWithContentEditor & NodeWithFeaturedImage & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Product's add to cart button text description + """ + addToCartDescription: String + + """ + Product's add to cart button text description + """ + addToCartText: String + + """ + Connection between the Product type and the ProductAttribute type + """ + attributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductAttributeConnectionWhereArgs + ): ProductToProductAttributeConnection + + """ + Product average count + """ + averageRating: Float + + """ + Catalog visibility + """ + catalogVisibility: CatalogVisibilityEnum + + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String + + """ + The content of the post. + """ + content( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + The ID of the product in the database + """ + databaseId: Int! + + """ + Date product created + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + Date on sale from + """ + dateOnSaleFrom: String + + """ + Date on sale to + """ + dateOnSaleTo: String + + """ + Connection between the GroupProduct type and the VariationAttribute type + """ + defaultAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): GroupProductToVariationAttributeConnection + + """ + Product description + """ + description( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + If the product is featured + """ + featured: Boolean + + """ + Connection between the NodeWithFeaturedImage type and the MediaItem type + """ + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int + + """ + Globally unique ID of the featured image assigned to the node + """ + featuredImageId: ID + + """ + Connection between the Product type and the MediaItem type + """ + galleryImages( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToMediaItemConnectionWhereArgs + ): ProductToMediaItemConnection + + """ + Connection between the Product type and the GlobalProductAttribute type + """ + globalAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToGlobalProductAttributeConnectionWhereArgs + ): ProductToGlobalProductAttributeConnection + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + The globally unique identifier for the product + """ + id: ID! + + """ + Main image + """ + image: MediaItem + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + The permalink of the post + """ + link: String + + """ + Connection between the Product type and the LocalProductAttribute type + """ + localAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToLocalProductAttributeConnectionWhereArgs + ): ProductToLocalProductAttributeConnection + + """ + Menu order + """ + menuOrder: Int + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Date product last updated + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + Product name + """ + name: String + + """ + Is product on sale? + """ + onSale: Boolean + + """ + Connection between the Product type and the paColor type + """ + paColors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaColorConnectionWhereArgs + ): ProductToPaColorConnection + + """ + Connection between the Product type and the paSize type + """ + paSizes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaSizeConnectionWhereArgs + ): ProductToPaSizeConnection + + """ + Parent product + """ + parent: Product + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + Products' price range + """ + price: String + + """ + Connection between the Product type and the productCategory type + """ + productCategories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductCategoryConnectionWhereArgs + ): ProductToProductCategoryConnection + + """ + Connection between the Product type and the productTag type + """ + productTags( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTagConnectionWhereArgs + ): ProductToProductTagConnection + + """ + Connection between the Product type and the productType type + """ + productTypes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTypeConnectionWhereArgs + ): ProductToProductTypeConnection + + """ + Connection between the GroupProduct type and the Product type + """ + products( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: GroupProductToProductConnectionWhereArgs + ): GroupProductToProductConnection + + """ + Can product be purchased? + """ + purchasable: Boolean + + """ + Purchase note + """ + purchaseNote: String + + """ + Connection between the Product type and the Product type + """ + related( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductConnectionWhereArgs + ): ProductToProductConnection + + """ + Product review count + """ + reviewCount: Int + + """ + Connection between the Product type and the Comment type + """ + reviews( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToCommentConnectionWhereArgs + ): ProductToCommentConnection + + """ + If reviews are allowed + """ + reviewsAllowed: Boolean + + """ + Connection between the Product type and the shippingClass type + """ + shippingClasses( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToShippingClassConnectionWhereArgs + ): ProductToShippingClassConnection + + """ + Product short description + """ + shortDescription( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Product SKU + """ + sku: String + + """ + Product slug + """ + slug: String + + """ + Product status + """ + status: String + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + Number total of sales + """ + totalSales: Int + + """ + Product type + """ + type: ProductTypesEnum + + """ + Connection between the Product type and the Product type + """ + upsell( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToUpsellConnectionWhereArgs + ): ProductToUpsellConnection + + """ + The unique resource identifier path + """ + uri: String + + """ + Connection between the Product type and the visibleProduct type + """ + visibleProducts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToVisibleProductConnectionWhereArgs + ): ProductToVisibleProductConnection +} + +""" +Connection between the GroupProduct type and the Product type +""" +type GroupProductToProductConnection { + """ + Edges for the GroupProductToProductConnection connection + """ + edges: [GroupProductToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type GroupProductToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the GroupProductToProductConnection connection +""" +input GroupProductToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the GroupProduct type and the VariationAttribute type +""" +type GroupProductToVariationAttributeConnection { + """ + Edges for the GroupProductToVariationAttributeConnection connection + """ + edges: [GroupProductToVariationAttributeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [VariationAttribute] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type GroupProductToVariationAttributeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: VariationAttribute +} + +""" +Content node with hierarchical (parent/child) relationships +""" +interface HierarchicalContentNode { + """ + Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + """ + ancestors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeAncestorsConnection + + """ + Connection between the HierarchicalContentNode type and the ContentNode type + """ + children( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeChildrenConnection + + """ + The parent of the node. The parent object can be of various types + """ + parent: HierarchicalContentNodeToParentContentNodeConnectionEdge + + """ + Database id of the parent node + """ + parentDatabaseId: Int + + """ + The globally unique identifier of the parent node. + """ + parentId: ID +} + +""" +Connection between the HierarchicalContentNode type and the ContentNode type +""" +type HierarchicalContentNodeToContentNodeAncestorsConnection { + """ + Edges for the HierarchicalContentNodeToContentNodeAncestorsConnection connection + """ + edges: [HierarchicalContentNodeToContentNodeAncestorsConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type HierarchicalContentNodeToContentNodeAncestorsConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the HierarchicalContentNodeToContentNodeAncestorsConnection connection +""" +input HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypeEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the HierarchicalContentNode type and the ContentNode type +""" +type HierarchicalContentNodeToContentNodeChildrenConnection { + """ + Edges for the HierarchicalContentNodeToContentNodeChildrenConnection connection + """ + edges: [HierarchicalContentNodeToContentNodeChildrenConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type HierarchicalContentNodeToContentNodeChildrenConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the HierarchicalContentNodeToContentNodeChildrenConnection connection +""" +input HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypeEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the HierarchicalContentNode type and the ContentNode type +""" +type HierarchicalContentNodeToParentContentNodeConnectionEdge { + """ + The node of the connection, without the edges + """ + node: ContentNode +} + +""" +Term node with hierarchical (parent/child) relationships +""" +interface HierarchicalTermNode { + """ + Database id of the parent node + """ + parentDatabaseId: Int + + """ + The globally unique identifier of the parent node. + """ + parentId: ID +} + +""" +a line item object +""" +type LineItem { + """ + The ID of the order item in the database + """ + databaseId: Int + + """ + Line item's taxes + """ + itemDownloads: [ProductDownload] + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + The Id of the order the order item belongs to. + """ + orderId: Int + + """ + Line item's product object + """ + product: Product + + """ + Line item's product ID + """ + productId: Int + + """ + Line item's product quantity + """ + quantity: Int + + """ + Line item's subtotal + """ + subtotal: String + + """ + Line item's subtotal tax + """ + subtotalTax: String + + """ + Line item's tax class + """ + taxClass: TaxClassEnum + + """ + Line item's taxes + """ + taxStatus: TaxStatusEnum + + """ + Line item's taxes + """ + taxes: [OrderItemTax] + + """ + Line item's total + """ + total: String + + """ + Line item's total tax + """ + totalTax: String + + """ + Line item's product variation object + """ + variation: ProductVariation + + """ + Line item's product variation ID + """ + variationId: Int +} + +""" +Meta data. +""" +input LineItemInput { + """ + Line Item ID + """ + id: ID + + """ + Meta data. + """ + metaData: [MetaDataInput] + + """ + Line name + """ + name: String + + """ + Product ID. + """ + productId: Int + + """ + Quantity ordered. + """ + quantity: Int + + """ + Product SKU. + """ + sku: String + + """ + Line subtotal (before discounts). + """ + subtotal: String + + """ + Tax class of product. + """ + taxClass: TaxClassEnum + + """ + Line total (after discounts). + """ + total: String + + """ + Variation ID, if applicable. + """ + variationId: Int +} + +""" +A product attribute object +""" +type LocalProductAttribute implements ProductAttribute { + """ + Attribute ID + """ + attributeId: Int! + + """ + Attribute Global ID + """ + id: ID! + + """ + Attribute label + """ + label: String! + + """ + Attribute name + """ + name: String! + + """ + Attribute options + """ + options: [String] + + """ + Attribute position + """ + position: Int! + + """ + Product attribute scope. + """ + scope: ProductAttributeTypesEnum! + + """ + Is attribute on product variation + """ + variation: Boolean! + + """ + Is attribute visible + """ + visible: Boolean! +} + +""" +Product manage stock enumeration +""" +enum ManageStockEnum { + FALSE + PARENT + TRUE +} + +""" +File details for a Media Item +""" +type MediaDetails { + """ + The filename of the mediaItem + """ + file: String + + """ + The height of the mediaItem + """ + height: Int + + """ + Meta information associated with the mediaItem + """ + meta: MediaItemMeta + + """ + The available sizes of the mediaItem + """ + sizes: [MediaSize] + + """ + The width of the mediaItem + """ + width: Int +} + +""" +The mediaItem type +""" +type MediaItem implements Node & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier & NodeWithTemplate & NodeWithTitle & NodeWithAuthor & NodeWithComments & HierarchicalContentNode { + """ + Alternative text to display when resource is not displayed + """ + altText: String + + """ + Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + """ + ancestors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeAncestorsConnection + + """ + Connection between the NodeWithAuthor type and the User type + """ + author: NodeWithAuthorToUserConnectionEdge + + """ + The database identifier of the author of the node + """ + authorDatabaseId: Int + + """ + The globally unique identifier of the author of the node + """ + authorId: ID + + """ + The caption for the resource + """ + caption( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Connection between the HierarchicalContentNode type and the ContentNode type + """ + children( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeChildrenConnection + + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String + + """ + Connection between the mediaItem type and the Comment type + """ + comments( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: MediaItemToCommentConnectionWhereArgs + ): MediaItemToCommentConnection + + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + Post publishing date. + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + Description of the image (stored as post_content) + """ + description( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + The filesize in bytes of the resource + """ + fileSize( + """ + Size of the MediaItem to return + """ + size: MediaItemSizeEnum + ): Int + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + The globally unique identifier of the attachment object. + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + The permalink of the post + """ + link: String + + """ + Details about the mediaItem + """ + mediaDetails: MediaDetails + + """ + The id field matches the WP_Post->ID field. + """ + mediaItemId: Int! + @deprecated(reason: "Deprecated in favor of the databaseId field") + + """ + Url of the mediaItem + """ + mediaItemUrl: String + + """ + Type of resource + """ + mediaType: String + + """ + The mime type of the mediaItem + """ + mimeType: String + + """ + The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + The parent of the node. The parent object can be of various types + """ + parent: HierarchicalContentNodeToParentContentNodeConnectionEdge + + """ + Database id of the parent node + """ + parentDatabaseId: Int + + """ + The globally unique identifier of the parent node. + """ + parentId: ID + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + The sizes attribute value for an image. + """ + sizes( + """ + Size of the MediaItem to calculate sizes with + """ + size: MediaItemSizeEnum + ): String + + """ + The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. + """ + slug: String + + """ + Url of the mediaItem + """ + sourceUrl( + """ + Size of the MediaItem to return + """ + size: MediaItemSizeEnum + ): String + + """ + The srcset attribute specifies the URL of the image to use in different situations. It is a comma separated string of urls and their widths. + """ + srcSet( + """ + Size of the MediaItem to calculate srcSet with + """ + size: MediaItemSizeEnum + ): String + + """ + The current status of the object + """ + status: String + + """ + The template assigned to the node + """ + template: ContentTemplate + + """ + The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. + """ + title( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum MediaItemIdType { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID + + """ + Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. + """ + SLUG + + """ + Identify a media item by its source url + """ + SOURCE_URL + + """ + Identify a resource by the URI. + """ + URI +} + +""" +Meta connected to a MediaItem +""" +type MediaItemMeta { + """ + Aperture measurement of the media item. + """ + aperture: Float + + """ + Information about the camera used to create the media item. + """ + camera: String + + """ + The text string description associated with the media item. + """ + caption: String + + """ + Copyright information associated with the media item. + """ + copyright: String + + """ + The date/time when the media was created. + """ + createdTimestamp: Int + + """ + The original creator of the media item. + """ + credit: String + + """ + The focal length value of the media item. + """ + focalLength: Float + + """ + The ISO (International Organization for Standardization) value of the media item. + """ + iso: Int + + """ + List of keywords used to describe or identfy the media item. + """ + keywords: [String] + + """ + The vertical or horizontal aspect of the media item. + """ + orientation: String + + """ + The shutter speed information of the media item. + """ + shutterSpeed: Float + + """ + A useful title for the media item. + """ + title: String +} + +""" +The size of the media item object. +""" +enum MediaItemSizeEnum { + """ + MediaItem with the large size + """ + LARGE + + """ + MediaItem with the medium size + """ + MEDIUM + + """ + MediaItem with the medium_large size + """ + MEDIUM_LARGE + + """ + MediaItem with the shop_catalog size + """ + SHOP_CATALOG + + """ + MediaItem with the shop_single size + """ + SHOP_SINGLE + + """ + MediaItem with the shop_thumbnail size + """ + SHOP_THUMBNAIL + + """ + MediaItem with the thumbnail size + """ + THUMBNAIL + + """ + MediaItem with the woocommerce_gallery_thumbnail size + """ + WOOCOMMERCE_GALLERY_THUMBNAIL + + """ + MediaItem with the woocommerce_single size + """ + WOOCOMMERCE_SINGLE + + """ + MediaItem with the woocommerce_thumbnail size + """ + WOOCOMMERCE_THUMBNAIL + + """ + MediaItem with the 1536x1536 size + """ + _1536X1536 + + """ + MediaItem with the 2048x2048 size + """ + _2048X2048 +} + +""" +The status of the media item object. +""" +enum MediaItemStatusEnum { + """ + Objects with the auto-draft status + """ + AUTO_DRAFT + + """ + Objects with the inherit status + """ + INHERIT + + """ + Objects with the private status + """ + PRIVATE + + """ + Objects with the trash status + """ + TRASH +} + +""" +Connection between the mediaItem type and the Comment type +""" +type MediaItemToCommentConnection { + """ + Edges for the MediaItemToCommentConnection connection + """ + edges: [MediaItemToCommentConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Comment] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type MediaItemToCommentConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Comment +} + +""" +Arguments for filtering the MediaItemToCommentConnection connection +""" +input MediaItemToCommentConnectionWhereArgs { + """ + Comment author email address. + """ + authorEmail: String + + """ + Array of author IDs to include comments for. + """ + authorIn: [ID] + + """ + Array of author IDs to exclude comments for. + """ + authorNotIn: [ID] + + """ + Comment author URL. + """ + authorUrl: String + + """ + Array of comment IDs to include. + """ + commentIn: [ID] + + """ + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + """ + commentNotIn: [ID] + + """ + Include comments of a given type. + """ + commentType: String + + """ + Include comments from a given array of comment types. + """ + commentTypeIn: [String] + + """ + Exclude comments from a given array of comment types. + """ + commentTypeNotIn: String + + """ + Content object author ID to limit results by. + """ + contentAuthor: [ID] + + """ + Array of author IDs to retrieve comments for. + """ + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID +} + +""" +Details of an available size for a media item +""" +type MediaSize { + """ + The filename of the referenced size + """ + file: String + + """ + The filesize of the resource + """ + fileSize: Int + + """ + The height of the referenced size + """ + height: String + + """ + The mime type of the referenced size + """ + mimeType: String + + """ + The referenced size name + """ + name: String + + """ + The url of the referenced size + """ + sourceUrl: String + + """ + The width of the referenced size + """ + width: String +} + +""" +Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. +""" +type Menu implements Node & DatabaseIdentifier { + """ + The number of items in the menu + """ + count: Int + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + The globally unique identifier of the nav menu object. + """ + id: ID! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + The locations a menu is assigned to + """ + locations: [MenuLocationEnum] + + """ + WP ID of the nav menu. + """ + menuId: Int @deprecated(reason: "Deprecated in favor of the databaseId field") + + """ + Connection between the Menu type and the MenuItem type + """ + menuItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: MenuToMenuItemConnectionWhereArgs + ): MenuToMenuItemConnection + + """ + Display name of the menu. Equivalent to WP_Term->name. + """ + name: String + + """ + The url friendly name of the menu. Equivalent to WP_Term->slug + """ + slug: String +} + +""" +Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. +""" +type MenuItem implements Node & DatabaseIdentifier { + """ + Connection between the MenuItem type and the MenuItem type + """ + childItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: MenuItemToMenuItemConnectionWhereArgs + ): MenuItemToMenuItemConnection + + """ + Connection from MenuItem to it's connected node + """ + connectedNode: MenuItemToMenuItemLinkableConnectionEdge + + """ + The object connected to this menu item. + """ + connectedObject: MenuItemObjectUnion + @deprecated(reason: "Deprecated in favor of the connectedNode field") + + """ + Class attribute for the menu item link + """ + cssClasses: [String] + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + Description of the menu item. + """ + description: String + + """ + The globally unique identifier of the nav menu item object. + """ + id: ID! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Label or title of the menu item. + """ + label: String + + """ + Link relationship (XFN) of the menu item. + """ + linkRelationship: String + + """ + The locations the menu item's Menu is assigned to + """ + locations: [MenuLocationEnum] + + """ + The Menu a MenuItem is part of + """ + menu: MenuItemToMenuConnectionEdge + + """ + WP ID of the menu item. + """ + menuItemId: Int + @deprecated(reason: "Deprecated in favor of the databaseId field") + + """ + Menu item order + """ + order: Int + + """ + The database id of the parent menu item or null if it is the root + """ + parentDatabaseId: Int + + """ + The globally unique identifier of the parent nav menu item object. + """ + parentId: ID + + """ + Path for the resource. Relative path for internal resources. Absolute path for external resources. + """ + path: String + + """ + Target attribute for the menu item link. + """ + target: String + + """ + Title attribute for the menu item link + """ + title: String + + """ + URL or destination of the menu item. + """ + url: String +} + +""" +Nodes that can be linked to as Menu Items +""" +interface MenuItemLinkable { + """ + The unique resource identifier path + """ + databaseId: Int! + + """ + The unique resource identifier path + """ + id: ID! + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. +""" +enum MenuItemNodeIdTypeEnum { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID +} + +""" +Deprecated in favor of MenuItemLinkeable Interface +""" +union MenuItemObjectUnion = + Post + | Page + | Category + | Tag + | ProductCategory + | ProductTag + +""" +Connection between the MenuItem type and the Menu type +""" +type MenuItemToMenuConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Menu +} + +""" +Connection between the MenuItem type and the MenuItem type +""" +type MenuItemToMenuItemConnection { + """ + Edges for the MenuItemToMenuItemConnection connection + """ + edges: [MenuItemToMenuItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [MenuItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type MenuItemToMenuItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: MenuItem +} + +""" +Arguments for filtering the MenuItemToMenuItemConnection connection +""" +input MenuItemToMenuItemConnectionWhereArgs { + """ + The ID of the object + """ + id: Int + + """ + The menu location for the menu being queried + """ + location: MenuLocationEnum + + """ + The database ID of the parent menu object + """ + parentDatabaseId: Int + + """ + The ID of the parent menu object + """ + parentId: ID +} + +""" +Connection between the MenuItem type and the MenuItemLinkable type +""" +type MenuItemToMenuItemLinkableConnectionEdge { + """ + The node of the connection, without the edges + """ + node: MenuItemLinkable +} + +""" +Registered menu locations +""" +enum MenuLocationEnum { + """ + Empty menu location + """ + EMPTY +} + +""" +The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. +""" +enum MenuNodeIdTypeEnum { + """ + Identify a menu node by the Database ID. + """ + DATABASE_ID + + """ + Identify a menu node by the (hashed) Global ID. + """ + ID + + """ + Identify a menu node by it's name + """ + NAME +} + +""" +Connection between the Menu type and the MenuItem type +""" +type MenuToMenuItemConnection { + """ + Edges for the MenuToMenuItemConnection connection + """ + edges: [MenuToMenuItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [MenuItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type MenuToMenuItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: MenuItem +} + +""" +Arguments for filtering the MenuToMenuItemConnection connection +""" +input MenuToMenuItemConnectionWhereArgs { + """ + The ID of the object + """ + id: Int + + """ + The menu location for the menu being queried + """ + location: MenuLocationEnum + + """ + The database ID of the parent menu object + """ + parentDatabaseId: Int + + """ + The ID of the parent menu object + """ + parentId: ID +} + +""" +Extra data defined on the WC object +""" +type MetaData { + """ + Meta ID. + """ + id: ID + + """ + Meta key. + """ + key: String! + + """ + Meta value. + """ + value: String +} + +""" +Meta data. +""" +input MetaDataInput { + """ + Meta key. + """ + key: String! + + """ + Meta value. + """ + value: String! +} + +""" +The MimeType of the object +""" +enum MimeTypeEnum { + """ + MimeType application/java + """ + APPLICATION_JAVA + + """ + MimeType application/msword + """ + APPLICATION_MSWORD + + """ + MimeType application/octet-stream + """ + APPLICATION_OCTET_STREAM + + """ + MimeType application/onenote + """ + APPLICATION_ONENOTE + + """ + MimeType application/oxps + """ + APPLICATION_OXPS + + """ + MimeType application/pdf + """ + APPLICATION_PDF + + """ + MimeType application/rar + """ + APPLICATION_RAR + + """ + MimeType application/rtf + """ + APPLICATION_RTF + + """ + MimeType application/ttaf+xml + """ + APPLICATION_TTAF_XML + + """ + MimeType application/vnd.apple.keynote + """ + APPLICATION_VND_APPLE_KEYNOTE + + """ + MimeType application/vnd.apple.numbers + """ + APPLICATION_VND_APPLE_NUMBERS + + """ + MimeType application/vnd.apple.pages + """ + APPLICATION_VND_APPLE_PAGES + + """ + MimeType application/vnd.ms-access + """ + APPLICATION_VND_MS_ACCESS + + """ + MimeType application/vnd.ms-excel + """ + APPLICATION_VND_MS_EXCEL + + """ + MimeType application/vnd.ms-excel.addin.macroEnabled.12 + """ + APPLICATION_VND_MS_EXCEL_ADDIN_MACROENABLED_12 + + """ + MimeType application/vnd.ms-excel.sheet.binary.macroEnabled.12 + """ + APPLICATION_VND_MS_EXCEL_SHEET_BINARY_MACROENABLED_12 + + """ + MimeType application/vnd.ms-excel.sheet.macroEnabled.12 + """ + APPLICATION_VND_MS_EXCEL_SHEET_MACROENABLED_12 + + """ + MimeType application/vnd.ms-excel.template.macroEnabled.12 + """ + APPLICATION_VND_MS_EXCEL_TEMPLATE_MACROENABLED_12 + + """ + MimeType application/vnd.ms-powerpoint + """ + APPLICATION_VND_MS_POWERPOINT + + """ + MimeType application/vnd.ms-powerpoint.addin.macroEnabled.12 + """ + APPLICATION_VND_MS_POWERPOINT_ADDIN_MACROENABLED_12 + + """ + MimeType application/vnd.ms-powerpoint.presentation.macroEnabled.12 + """ + APPLICATION_VND_MS_POWERPOINT_PRESENTATION_MACROENABLED_12 + + """ + MimeType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 + """ + APPLICATION_VND_MS_POWERPOINT_SLIDESHOW_MACROENABLED_12 + + """ + MimeType application/vnd.ms-powerpoint.slide.macroEnabled.12 + """ + APPLICATION_VND_MS_POWERPOINT_SLIDE_MACROENABLED_12 + + """ + MimeType application/vnd.ms-powerpoint.template.macroEnabled.12 + """ + APPLICATION_VND_MS_POWERPOINT_TEMPLATE_MACROENABLED_12 + + """ + MimeType application/vnd.ms-project + """ + APPLICATION_VND_MS_PROJECT + + """ + MimeType application/vnd.ms-word.document.macroEnabled.12 + """ + APPLICATION_VND_MS_WORD_DOCUMENT_MACROENABLED_12 + + """ + MimeType application/vnd.ms-word.template.macroEnabled.12 + """ + APPLICATION_VND_MS_WORD_TEMPLATE_MACROENABLED_12 + + """ + MimeType application/vnd.ms-write + """ + APPLICATION_VND_MS_WRITE + + """ + MimeType application/vnd.ms-xpsdocument + """ + APPLICATION_VND_MS_XPSDOCUMENT + + """ + MimeType application/vnd.oasis.opendocument.chart + """ + APPLICATION_VND_OASIS_OPENDOCUMENT_CHART + + """ + MimeType application/vnd.oasis.opendocument.database + """ + APPLICATION_VND_OASIS_OPENDOCUMENT_DATABASE + + """ + MimeType application/vnd.oasis.opendocument.formula + """ + APPLICATION_VND_OASIS_OPENDOCUMENT_FORMULA + + """ + MimeType application/vnd.oasis.opendocument.graphics + """ + APPLICATION_VND_OASIS_OPENDOCUMENT_GRAPHICS + + """ + MimeType application/vnd.oasis.opendocument.presentation + """ + APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION + + """ + MimeType application/vnd.oasis.opendocument.spreadsheet + """ + APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET + + """ + MimeType application/vnd.oasis.opendocument.text + """ + APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT + + """ + MimeType application/vnd.openxmlformats-officedocument.presentationml.presentation + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION + + """ + MimeType application/vnd.openxmlformats-officedocument.presentationml.slide + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDE + + """ + MimeType application/vnd.openxmlformats-officedocument.presentationml.slideshow + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDESHOW + + """ + MimeType application/vnd.openxmlformats-officedocument.presentationml.template + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_TEMPLATE + + """ + MimeType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET + + """ + MimeType application/vnd.openxmlformats-officedocument.spreadsheetml.template + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_TEMPLATE + + """ + MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.document + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT + + """ + MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.template + """ + APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_TEMPLATE + + """ + MimeType application/wordperfect + """ + APPLICATION_WORDPERFECT + + """ + MimeType application/x-7z-compressed + """ + APPLICATION_X_7Z_COMPRESSED + + """ + MimeType application/x-gzip + """ + APPLICATION_X_GZIP + + """ + MimeType application/x-tar + """ + APPLICATION_X_TAR + + """ + MimeType application/zip + """ + APPLICATION_ZIP + + """ + MimeType audio/aac + """ + AUDIO_AAC + + """ + MimeType audio/flac + """ + AUDIO_FLAC + + """ + MimeType audio/midi + """ + AUDIO_MIDI + + """ + MimeType audio/mpeg + """ + AUDIO_MPEG + + """ + MimeType audio/ogg + """ + AUDIO_OGG + + """ + MimeType audio/wav + """ + AUDIO_WAV + + """ + MimeType audio/x-matroska + """ + AUDIO_X_MATROSKA + + """ + MimeType audio/x-ms-wax + """ + AUDIO_X_MS_WAX + + """ + MimeType audio/x-ms-wma + """ + AUDIO_X_MS_WMA + + """ + MimeType audio/x-realaudio + """ + AUDIO_X_REALAUDIO + + """ + MimeType image/bmp + """ + IMAGE_BMP + + """ + MimeType image/gif + """ + IMAGE_GIF + + """ + MimeType image/heic + """ + IMAGE_HEIC + + """ + MimeType image/jpeg + """ + IMAGE_JPEG + + """ + MimeType image/png + """ + IMAGE_PNG + + """ + MimeType image/tiff + """ + IMAGE_TIFF + + """ + MimeType image/webp + """ + IMAGE_WEBP + + """ + MimeType image/x-icon + """ + IMAGE_X_ICON + + """ + MimeType text/calendar + """ + TEXT_CALENDAR + + """ + MimeType text/css + """ + TEXT_CSS + + """ + MimeType text/csv + """ + TEXT_CSV + + """ + MimeType text/plain + """ + TEXT_PLAIN + + """ + MimeType text/richtext + """ + TEXT_RICHTEXT + + """ + MimeType text/tab-separated-values + """ + TEXT_TAB_SEPARATED_VALUES + + """ + MimeType text/vtt + """ + TEXT_VTT + + """ + MimeType video/3gpp + """ + VIDEO_3GPP + + """ + MimeType video/3gpp2 + """ + VIDEO_3GPP2 + + """ + MimeType video/avi + """ + VIDEO_AVI + + """ + MimeType video/divx + """ + VIDEO_DIVX + + """ + MimeType video/mp4 + """ + VIDEO_MP4 + + """ + MimeType video/mpeg + """ + VIDEO_MPEG + + """ + MimeType video/ogg + """ + VIDEO_OGG + + """ + MimeType video/quicktime + """ + VIDEO_QUICKTIME + + """ + MimeType video/webm + """ + VIDEO_WEBM + + """ + MimeType video/x-flv + """ + VIDEO_X_FLV + + """ + MimeType video/x-matroska + """ + VIDEO_X_MATROSKA + + """ + MimeType video/x-ms-asf + """ + VIDEO_X_MS_ASF + + """ + MimeType video/x-ms-wm + """ + VIDEO_X_MS_WM + + """ + MimeType video/x-ms-wmv + """ + VIDEO_X_MS_WMV + + """ + MimeType video/x-ms-wmx + """ + VIDEO_X_MS_WMX +} + +""" +An object with an ID +""" +interface Node { + """ + The globally unique ID for the object + """ + id: ID! +} + +""" +A node that can have an author assigned to it +""" +interface NodeWithAuthor { + """ + Connection between the NodeWithAuthor type and the User type + """ + author: NodeWithAuthorToUserConnectionEdge + + """ + The database identifier of the author of the node + """ + authorDatabaseId: Int + + """ + The globally unique identifier of the author of the node + """ + authorId: ID +} + +""" +Connection between the NodeWithAuthor type and the User type +""" +type NodeWithAuthorToUserConnectionEdge { + """ + The node of the connection, without the edges + """ + node: User +} + +""" +A node that can have comments associated with it +""" +interface NodeWithComments { + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String +} + +""" +A node that supports the content editor +""" +interface NodeWithContentEditor { + """ + The content of the post. + """ + content( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String +} + +""" +A node that can have an excerpt +""" +interface NodeWithExcerpt { + """ + The excerpt of the post. + """ + excerpt( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String +} + +""" +A node that can have a featured image set +""" +interface NodeWithFeaturedImage implements Node & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + Post publishing date. + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + Connection between the NodeWithFeaturedImage type and the MediaItem type + """ + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int + + """ + Globally unique ID of the featured image assigned to the node + """ + featuredImageId: ID + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + The permalink of the post + """ + link: String + + """ + The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. + """ + slug: String + + """ + The current status of the object + """ + status: String + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + The unique resource identifier path + """ + uri: String +} + +""" +Connection between the NodeWithFeaturedImage type and the MediaItem type +""" +type NodeWithFeaturedImageToMediaItemConnectionEdge { + """ + The node of the connection, without the edges + """ + node: MediaItem +} + +""" +A node that can have page attributes +""" +interface NodeWithPageAttributes { + """ + A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + """ + menuOrder: Int +} + +""" +A node that can have revisions +""" +interface NodeWithRevisions { + """ + True if the node is a revision of another node + """ + isRevision: Boolean + + """ + If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. + """ + revisionOf: NodeWithRevisionsToContentNodeConnectionEdge +} + +""" +Connection between the NodeWithRevisions type and the ContentNode type +""" +type NodeWithRevisionsToContentNodeConnectionEdge { + """ + The node of the connection, without the edges + """ + node: ContentNode +} + +""" +A node that can have a template associated with it +""" +interface NodeWithTemplate { + """ + The template assigned to the node + """ + template: ContentTemplate +} + +""" +A node that NodeWith a title +""" +interface NodeWithTitle { + """ + The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. + """ + title( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String +} + +""" +A node that can have trackbacks and pingbacks +""" +interface NodeWithTrackbacks { + """ + Whether the pings are open or closed for this particular post. + """ + pingStatus: String + + """ + URLs that have been pinged. + """ + pinged: [String] + + """ + URLs queued to be pinged. + """ + toPing: [String] +} + +""" +A order object +""" +type Order implements Node & NodeWithComments { + """ + Order billing properties + """ + billing: CustomerAddress + + """ + Cart hash + """ + cartHash: String + + """ + Cart tax amount + """ + cartTax( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String + + """ + Connection between the Order type and the CouponLine type + """ + couponLines( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): OrderToCouponLineConnection + + """ + How order was created + """ + createdVia: String + + """ + Order currency + """ + currency: String + + """ + Order customer + """ + customer: Customer + + """ + Customer IP Address + """ + customerIpAddress: String + + """ + Customer note + """ + customerNote: String + + """ + Customer User Agent + """ + customerUserAgent: String + + """ + The ID of the order in the database + """ + databaseId: Int + + """ + Date order was created + """ + date: String + + """ + Date order was completed + """ + dateCompleted: String + + """ + Date order was paid + """ + datePaid: String + + """ + Discount tax amount + """ + discountTax( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Discount total amount + """ + discountTotal( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Order type and the DownloadableItem type + """ + downloadableItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: OrderToDownloadableItemConnectionWhereArgs + ): OrderToDownloadableItemConnection + + """ + Connection between the Order type and the FeeLine type + """ + feeLines( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): OrderToFeeLineConnection + + """ + Order has a billing address? + """ + hasBillingAddress: Boolean + + """ + If order contains a downloadable product + """ + hasDownloadableItem: Boolean + + """ + Order has a shipping address? + """ + hasShippingAddress: Boolean + + """ + The globally unique identifier for the order + """ + id: ID! + + """ + Is product download is permitted + """ + isDownloadPermitted: Boolean + + """ + Connection between the Order type and the LineItem type + """ + lineItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): OrderToLineItemConnection + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Date order was last updated + """ + modified: String + + """ + If order needs payment + """ + needsPayment: Boolean + + """ + If order needs processing before it can be completed + """ + needsProcessing: Boolean + + """ + If order needs shipping address + """ + needsShippingAddress: Boolean + + """ + Order key + """ + orderKey: String + + """ + Connection between the Order type and the Comment type + """ + orderNotes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: OrderToCommentConnectionWhereArgs + ): OrderToCommentConnection + + """ + Order number + """ + orderNumber: String + + """ + Order version + """ + orderVersion: String + + """ + Parent order + """ + parent: Order + + """ + Payment method + """ + paymentMethod: String + + """ + Payment method title + """ + paymentMethodTitle: String + + """ + Prices include taxes? + """ + pricesIncludeTax: Boolean + + """ + Connection between the Order type and the Refund type + """ + refunds( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: OrderToRefundConnectionWhereArgs + ): OrderToRefundConnection + + """ + Order shipping properties + """ + shipping: CustomerAddress + + """ + Order customer + """ + shippingAddressMapUrl: String + + """ + Connection between the Order type and the ShippingLine type + """ + shippingLines( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): OrderToShippingLineConnection + + """ + Shipping tax amount + """ + shippingTax( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Shipping total amount + """ + shippingTotal( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Order status + """ + status: OrderStatusEnum + + """ + Order subtotal + """ + subtotal( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Order type and the TaxLine type + """ + taxLines( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): OrderToTaxLineConnection + + """ + Order grand total + """ + total( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Order taxes + """ + totalTax( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Transaction ID + """ + transactionId: String +} + +""" +The cardinality of the connection order +""" +enum OrderEnum { + """ + Sort the query result set in an ascending order + """ + ASC + + """ + Sort the query result set in a descending order + """ + DESC +} + +""" +The Type of Identifier used to fetch a single Order. Default is ID. +""" +enum OrderIdTypeEnum { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID + + """ + Order number. + """ + ORDER_NUMBER +} + +""" +Order item tax statement +""" +type OrderItemTax { + """ + Amount taxed + """ + amount: Float + + """ + Subtotal + """ + subtotal: Float + + """ + Tax line connected to this statement + """ + taxLine: TaxLine + + """ + Order item ID for tax line connected to this statement + """ + taxLineId: Int! + + """ + Total + """ + total: Float +} + +""" +Order status enumeration +""" +enum OrderStatusEnum { + """ + Cancelled + """ + CANCELLED + + """ + Completed + """ + COMPLETED + + """ + Failed + """ + FAILED + + """ + On hold + """ + ON_HOLD + + """ + Pending payment """ PENDING """ - The transaction succeeded. + Processing """ - SUCCESS + PROCESSING """ - The transaction failed. + Refunded """ - FAILURE - - """ - There was an error while processing the transaction. - """ - ERROR + REFUNDED } """ -An RFC 3986 and RFC 3987 compliant URI string. - -Example value: `"https://johns-apparel.myshopify.com"`. +Connection between the Order type and the Comment type """ -scalar URL - -""" -The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml). -""" -type UnitPriceMeasurement { +type OrderToCommentConnection { """ - The type of unit of measurement for the unit price measurement. + Edges for the OrderToCommentConnection connection """ - measuredType: UnitPriceMeasurementMeasuredType + edges: [OrderToCommentConnectionEdge] """ - The quantity unit for the unit price measurement. + The nodes of the connection, without the edges """ - quantityUnit: UnitPriceMeasurementMeasuredUnit + nodes: [Comment] """ - The quantity value for the unit price measurement. + Information about pagination in a connection. """ - quantityValue: Float! - - """ - The reference unit for the unit price measurement. - """ - referenceUnit: UnitPriceMeasurementMeasuredUnit - - """ - The reference value for the unit price measurement. - """ - referenceValue: Int! + pageInfo: WPPageInfo } """ -The accepted types of unit of measurement. +An edge in a connection """ -enum UnitPriceMeasurementMeasuredType { +type OrderToCommentConnectionEdge { """ - Unit of measurements representing volumes. + A cursor for use in pagination """ - VOLUME + cursor: String """ - Unit of measurements representing weights. + Is this a customer note? """ - WEIGHT + isCustomerNote: Boolean """ - Unit of measurements representing lengths. + The item at the end of the edge """ - LENGTH - - """ - Unit of measurements representing areas. - """ - AREA + node: Comment } """ -The valid units of measurement for a unit price measurement. +Arguments for filtering the OrderToCommentConnection connection """ -enum UnitPriceMeasurementMeasuredUnit { +input OrderToCommentConnectionWhereArgs { """ - 1000 milliliters equals 1 liter. + Comment author email address. """ - ML + authorEmail: String """ - 100 centiliters equals 1 liter. + Array of author IDs to include comments for. """ - CL + authorIn: [ID] """ - Metric system unit of volume. + Array of author IDs to exclude comments for. """ - L + authorNotIn: [ID] """ - 1 cubic meter equals 1000 liters. + Comment author URL. """ - M3 + authorUrl: String """ - 1000 milligrams equals 1 gram. + Array of comment IDs to include. """ - MG + commentIn: [ID] """ - Metric system unit of weight. + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. """ - G + commentNotIn: [ID] """ - 1 kilogram equals 1000 grams. + Include comments of a given type. """ - KG + commentType: String """ - 1000 millimeters equals 1 meter. + Include comments from a given array of comment types. """ - MM + commentTypeIn: [String] """ - 100 centimeters equals 1 meter. + Exclude comments from a given array of comment types. """ - CM + commentTypeNotIn: String """ - Metric system unit of length. + Content object author ID to limit results by. """ - M + contentAuthor: [ID] """ - Metric system unit of area. + Array of author IDs to retrieve comments for. """ - M2 + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID } """ -Represents an error in the input of a mutation. +Connection between the Order type and the CouponLine type """ -type UserError implements DisplayableError { +type OrderToCouponLineConnection { """ - Path to the input field which caused the error. + Edges for the OrderToCouponLineConnection connection """ - field: [String!] + edges: [OrderToCouponLineConnectionEdge] """ - The error message. + The nodes of the connection, without the edges """ - message: String! + nodes: [CouponLine] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo } """ -Represents a Shopify hosted video. +An edge in a connection """ -type Video implements Node & Media { +type OrderToCouponLineConnectionEdge { """ - A word or phrase to share the nature or contents of a media. + A cursor for use in pagination """ - alt: String + cursor: String """ - Globally unique identifier. + The item at the end of the edge + """ + node: CouponLine +} + +""" +Connection between the Order type and the DownloadableItem type +""" +type OrderToDownloadableItemConnection { + """ + Edges for the OrderToDownloadableItemConnection connection + """ + edges: [OrderToDownloadableItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [DownloadableItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type OrderToDownloadableItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: DownloadableItem +} + +""" +Arguments for filtering the OrderToDownloadableItemConnection connection +""" +input OrderToDownloadableItemConnectionWhereArgs { + """ + Limit results to downloadable items that can be downloaded now. + """ + active: Boolean + + """ + Limit results to downloadable items that are expired. + """ + expired: Boolean + + """ + Limit results to downloadable items that have downloads remaining. + """ + hasDownloadsRemaining: Boolean +} + +""" +Connection between the Order type and the FeeLine type +""" +type OrderToFeeLineConnection { + """ + Edges for the OrderToFeeLineConnection connection + """ + edges: [OrderToFeeLineConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [FeeLine] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type OrderToFeeLineConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: FeeLine +} + +""" +Connection between the Order type and the LineItem type +""" +type OrderToLineItemConnection { + """ + Edges for the OrderToLineItemConnection connection + """ + edges: [OrderToLineItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [LineItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type OrderToLineItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: LineItem +} + +""" +Connection between the Order type and the Refund type +""" +type OrderToRefundConnection { + """ + Edges for the OrderToRefundConnection connection + """ + edges: [OrderToRefundConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Refund] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type OrderToRefundConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Refund +} + +""" +Arguments for filtering the OrderToRefundConnection connection +""" +input OrderToRefundConnectionWhereArgs { + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to refunds from a specific group of order IDs. + """ + orderIn: [Int] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostTypeOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit results to those matching a string. + """ + search: String + + """ + Limit result set to refunds assigned a specific status. + """ + statuses: [String] +} + +""" +Connection between the Order type and the ShippingLine type +""" +type OrderToShippingLineConnection { + """ + Edges for the OrderToShippingLineConnection connection + """ + edges: [OrderToShippingLineConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ShippingLine] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type OrderToShippingLineConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ShippingLine +} + +""" +Connection between the Order type and the TaxLine type +""" +type OrderToTaxLineConnection { + """ + Edges for the OrderToTaxLineConnection connection + """ + edges: [OrderToTaxLineConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [TaxLine] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type OrderToTaxLineConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: TaxLine +} + +""" +Fields to order the Orders connection by +""" +enum OrdersOrderByEnum { + """ + Order by publish date + """ + DATE + + """ + Order by date the order was completed + """ + DATE_COMPLETED + + """ + Order by date the order was paid + """ + DATE_PAID + + """ + Order by order discount amount + """ + DISCOUNT + + """ + Preserve the ID order given in the IN array + """ + IN + + """ + Order by the menu order value + """ + MENU_ORDER + + """ + Order by last modified date + """ + MODIFIED + + """ + Preserve slug order given in the NAME_IN array + """ + NAME_IN + + """ + Order by order key + """ + ORDER_KEY + + """ + Order by parent ID + """ + PARENT + + """ + Order by slug + """ + SLUG + + """ + Order by order total + """ + TAX + + """ + Order by order total + """ + TOTAL +} + +""" +Options for ordering the connection +""" +input OrdersOrderbyInput { + field: OrdersOrderByEnum! + order: OrderEnum +} + +""" +The paColor type +""" +type PaColor implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the paColor type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PaColorToContentNodeConnectionWhereArgs + ): PaColorToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path """ id: ID! """ - The media content type. + Whether the node is a Content Node """ - mediaContentType: MediaContentType! + isContentNode: Boolean! """ - The preview image for the media. + Whether the object is restricted from the current viewer """ - previewImage: Image + isRestricted: Boolean """ - The sources for a video. + Whether the node is a Term """ - sources: [VideoSource!]! + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + The id field matches the WP_Post->ID field. + """ + paColorId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + Connection between the PaColor type and the Product type + """ + products( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PaColorToProductConnectionWhereArgs + ): PaColorToProductConnection + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + Connection between the paColor type and the Taxonomy type + """ + taxonomy: PaColorToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String + + """ + Connection between the PaColor type and the ProductVariation type + """ + variations( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PaColorToProductVariationConnectionWhereArgs + ): PaColorToProductVariationConnection } """ -Represents a source for a Shopify hosted video. +The Type of Identifier used to fetch a single resource. Default is ID. """ -type VideoSource { +enum PaColorIdType { """ - The format of the video source. + The Database ID for the node """ - format: String! + DATABASE_ID """ - The height of the video. + The hashed Global ID """ - height: Int! + ID """ - The video MIME type. + The name of the node """ - mimeType: String! + NAME """ - The URL of the video. + Url friendly name of the node """ - url: String! + SLUG """ - The width of the video. + The URI for the node """ - width: Int! + URI } """ -Units of measurement for weight. +Connection between the paColor type and the ContentNode type """ -enum WeightUnit { +type PaColorToContentNodeConnection { """ - 1 kilogram equals 1000 grams. + Edges for the PaColorToContentNodeConnection connection """ - KILOGRAMS + edges: [PaColorToContentNodeConnectionEdge] """ - Metric system unit of mass. + The nodes of the connection, without the edges """ - GRAMS + nodes: [ContentNode] """ - 1 pound equals 16 ounces. + Information about pagination in a connection. """ - POUNDS - - """ - Imperial system unit of mass. - """ - OUNCES + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PaColorToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the PaColorToContentNodeConnection connection +""" +input PaColorToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfPaColorEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the PaColor type and the Product type +""" +type PaColorToProductConnection { + """ + Edges for the PaColorToProductConnection connection + """ + edges: [PaColorToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PaColorToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the PaColorToProductConnection connection +""" +input PaColorToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the PaColor type and the ProductVariation type +""" +type PaColorToProductVariationConnection { + """ + Edges for the PaColorToProductVariationConnection connection + """ + edges: [PaColorToProductVariationConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductVariation] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PaColorToProductVariationConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductVariation +} + +""" +Arguments for filtering the PaColorToProductVariationConnection connection +""" +input PaColorToProductVariationConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the paColor type and the Taxonomy type +""" +type PaColorToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +The paSize type +""" +type PaSize implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the paSize type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PaSizeToContentNodeConnectionWhereArgs + ): PaSizeToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + The id field matches the WP_Post->ID field. + """ + paSizeId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + Connection between the PaSize type and the Product type + """ + products( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PaSizeToProductConnectionWhereArgs + ): PaSizeToProductConnection + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + Connection between the paSize type and the Taxonomy type + """ + taxonomy: PaSizeToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String + + """ + Connection between the PaSize type and the ProductVariation type + """ + variations( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PaSizeToProductVariationConnectionWhereArgs + ): PaSizeToProductVariationConnection +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum PaSizeIdType { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the paSize type and the ContentNode type +""" +type PaSizeToContentNodeConnection { + """ + Edges for the PaSizeToContentNodeConnection connection + """ + edges: [PaSizeToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PaSizeToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the PaSizeToContentNodeConnection connection +""" +input PaSizeToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfPaSizeEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the PaSize type and the Product type +""" +type PaSizeToProductConnection { + """ + Edges for the PaSizeToProductConnection connection + """ + edges: [PaSizeToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PaSizeToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the PaSizeToProductConnection connection +""" +input PaSizeToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the PaSize type and the ProductVariation type +""" +type PaSizeToProductVariationConnection { + """ + Edges for the PaSizeToProductVariationConnection connection + """ + edges: [PaSizeToProductVariationConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductVariation] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PaSizeToProductVariationConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductVariation +} + +""" +Arguments for filtering the PaSizeToProductVariationConnection connection +""" +input PaSizeToProductVariationConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the paSize type and the Taxonomy type +""" +type PaSizeToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +The page type +""" +type Page implements Node & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier & NodeWithTemplate & NodeWithTitle & NodeWithContentEditor & NodeWithAuthor & NodeWithFeaturedImage & NodeWithComments & NodeWithRevisions & NodeWithPageAttributes & HierarchicalContentNode & MenuItemLinkable { + """ + Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + """ + ancestors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeAncestorsConnection + + """ + Connection between the NodeWithAuthor type and the User type + """ + author: NodeWithAuthorToUserConnectionEdge + + """ + The database identifier of the author of the node + """ + authorDatabaseId: Int + + """ + The globally unique identifier of the author of the node + """ + authorId: ID + + """ + Connection between the HierarchicalContentNode type and the ContentNode type + """ + children( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs + ): HierarchicalContentNodeToContentNodeChildrenConnection + + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String + + """ + Connection between the page type and the Comment type + """ + comments( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PageToCommentConnectionWhereArgs + ): PageToCommentConnection + + """ + The content of the post. + """ + content( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + The unique resource identifier path + """ + databaseId: Int! + + """ + Post publishing date. + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + Connection between the NodeWithFeaturedImage type and the MediaItem type + """ + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int + + """ + Globally unique ID of the featured image assigned to the node + """ + featuredImageId: ID + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + The globally unique identifier of the page object. + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether this page is set to the static front page. + """ + isFrontPage: Boolean! + + """ + Whether this page is set to the blog posts page. + """ + isPostsPage: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether this page is set to the privacy page. + """ + isPrivacyPage: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + True if the node is a revision of another node + """ + isRevision: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + The permalink of the post + """ + link: String + + """ + A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + """ + menuOrder: Int + + """ + The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + The id field matches the WP_Post->ID field. + """ + pageId: Int! + @deprecated(reason: "Deprecated in favor of the databaseId field") + + """ + The parent of the node. The parent object can be of various types + """ + parent: HierarchicalContentNodeToParentContentNodeConnectionEdge + + """ + Database id of the parent node + """ + parentDatabaseId: Int + + """ + The globally unique identifier of the parent node. + """ + parentId: ID + + """ + Connection between the page type and the page type + """ + preview: PageToPreviewConnectionEdge + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. + """ + revisionOf: NodeWithRevisionsToContentNodeConnectionEdge + + """ + Connection between the page type and the page type + """ + revisions( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PageToRevisionConnectionWhereArgs + ): PageToRevisionConnection + + """ + The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. + """ + slug: String + + """ + The current status of the object + """ + status: String + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. + """ + title( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum PageIdType { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID + + """ + Identify a resource by the URI. + """ + URI +} + +""" +Connection between the page type and the Comment type +""" +type PageToCommentConnection { + """ + Edges for the PageToCommentConnection connection + """ + edges: [PageToCommentConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Comment] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PageToCommentConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Comment +} + +""" +Arguments for filtering the PageToCommentConnection connection +""" +input PageToCommentConnectionWhereArgs { + """ + Comment author email address. + """ + authorEmail: String + + """ + Array of author IDs to include comments for. + """ + authorIn: [ID] + + """ + Array of author IDs to exclude comments for. + """ + authorNotIn: [ID] + + """ + Comment author URL. + """ + authorUrl: String + + """ + Array of comment IDs to include. + """ + commentIn: [ID] + + """ + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + """ + commentNotIn: [ID] + + """ + Include comments of a given type. + """ + commentType: String + + """ + Include comments from a given array of comment types. + """ + commentTypeIn: [String] + + """ + Exclude comments from a given array of comment types. + """ + commentTypeNotIn: String + + """ + Content object author ID to limit results by. + """ + contentAuthor: [ID] + + """ + Array of author IDs to retrieve comments for. + """ + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID +} + +""" +Connection between the page type and the page type +""" +type PageToPreviewConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Page +} + +""" +Connection between the page type and the page type +""" +type PageToRevisionConnection { + """ + Edges for the pageToRevisionConnection connection + """ + edges: [PageToRevisionConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Page] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PageToRevisionConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Page +} + +""" +Arguments for filtering the pageToRevisionConnection connection +""" +input PageToRevisionConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +A payment gateway object +""" +type PaymentGateway { + """ + gateway's description + """ + description: String + + """ + gateway's icon + """ + icon: String + + """ + gateway's title + """ + id: String! + + """ + gateway's title + """ + title: String +} + +""" +An plugin object +""" +type Plugin implements Node { + """ + Name of the plugin author(s), may also be a company name. + """ + author: String + + """ + URI for the related author(s)/company website. + """ + authorUri: String + + """ + Description of the plugin. + """ + description: String + + """ + The globally unique identifier of the plugin object. + """ + id: ID! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Display name of the plugin. + """ + name: String + + """ + Plugin path. + """ + path: String + + """ + URI for the plugin website. This is useful for directing users for support requests etc. + """ + pluginUri: String + + """ + Current version of the plugin. + """ + version: String +} + +""" +The post type +""" +type Post implements Node & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier & NodeWithTemplate & NodeWithTitle & NodeWithContentEditor & NodeWithAuthor & NodeWithFeaturedImage & NodeWithExcerpt & NodeWithComments & NodeWithTrackbacks & NodeWithRevisions & MenuItemLinkable { + """ + Connection between the NodeWithAuthor type and the User type + """ + author: NodeWithAuthorToUserConnectionEdge + + """ + The database identifier of the author of the node + """ + authorDatabaseId: Int + + """ + The globally unique identifier of the author of the node + """ + authorId: ID + + """ + Connection between the post type and the category type + """ + categories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PostToCategoryConnectionWhereArgs + ): PostToCategoryConnection + + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String + + """ + Connection between the post type and the Comment type + """ + comments( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PostToCommentConnectionWhereArgs + ): PostToCommentConnection + + """ + The content of the post. + """ + content( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + The unique resource identifier path + """ + databaseId: Int! + + """ + Post publishing date. + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + The excerpt of the post. + """ + excerpt( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Connection between the NodeWithFeaturedImage type and the MediaItem type + """ + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int + + """ + Globally unique ID of the featured image assigned to the node + """ + featuredImageId: ID + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + The globally unique identifier of the post object. + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + True if the node is a revision of another node + """ + isRevision: Boolean + + """ + Whether this page is sticky + """ + isSticky: Boolean! + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + The permalink of the post + """ + link: String + + """ + The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + Whether the pings are open or closed for this particular post. + """ + pingStatus: String + + """ + URLs that have been pinged. + """ + pinged: [String] + + """ + Connection between the post type and the postFormat type + """ + postFormats( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PostToPostFormatConnectionWhereArgs + ): PostToPostFormatConnection + + """ + The id field matches the WP_Post->ID field. + """ + postId: Int! + @deprecated(reason: "Deprecated in favor of the databaseId field") + + """ + Connection between the post type and the post type + """ + preview: PostToPreviewConnectionEdge + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. + """ + revisionOf: NodeWithRevisionsToContentNodeConnectionEdge + + """ + Connection between the post type and the post type + """ + revisions( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PostToRevisionConnectionWhereArgs + ): PostToRevisionConnection + + """ + The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. + """ + slug: String + + """ + The current status of the object + """ + status: String + + """ + Connection between the post type and the tag type + """ + tags( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PostToTagConnectionWhereArgs + ): PostToTagConnection + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + Connection between the post type and the TermNode type + """ + terms( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PostToTermNodeConnectionWhereArgs + ): PostToTermNodeConnection + + """ + The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. + """ + title( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + URLs queued to be pinged. + """ + toPing: [String] + + """ + The unique resource identifier path + """ + uri: String +} + +""" +Set relationships between the post to categories +""" +input PostCategoriesInput { + """ + If true, this will append the category to existing related categories. If false, this will replace existing relationships. Default true. + """ + append: Boolean + + """ + The input list of items to set. + """ + nodes: [PostCategoriesNodeInput] +} + +""" +List of categories to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. +""" +input PostCategoriesNodeInput { + """ + The description of the category. This field is used to set a description of the category if a new one is created during the mutation. + """ + description: String + + """ + The ID of the category. If present, this will be used to connect to the post. If no existing category exists with this ID, no connection will be made. + """ + id: ID + + """ + The name of the category. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. + """ + name: String + + """ + The slug of the category. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. + """ + slug: String +} + +""" +The postFormat type +""" +type PostFormat implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the postFormat type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PostFormatToContentNodeConnectionWhereArgs + ): PostFormatToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + The id field matches the WP_Post->ID field. + """ + postFormatId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + Connection between the postFormat type and the post type + """ + posts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: PostFormatToPostConnectionWhereArgs + ): PostFormatToPostConnection + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + Connection between the postFormat type and the Taxonomy type + """ + taxonomy: PostFormatToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum PostFormatIdType { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the postFormat type and the ContentNode type +""" +type PostFormatToContentNodeConnection { + """ + Edges for the PostFormatToContentNodeConnection connection + """ + edges: [PostFormatToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PostFormatToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the PostFormatToContentNodeConnection connection +""" +input PostFormatToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfPostFormatEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the postFormat type and the post type +""" +type PostFormatToPostConnection { + """ + Edges for the PostFormatToPostConnection connection + """ + edges: [PostFormatToPostConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Post] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PostFormatToPostConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Post +} + +""" +Arguments for filtering the PostFormatToPostConnection connection +""" +input PostFormatToPostConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Category ID + """ + categoryId: Int + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryIn: [ID] + + """ + Use Category Slug + """ + categoryName: String + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Tag Slug + """ + tag: String + + """ + Use Tag ID + """ + tagId: String + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagIn: [ID] + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagNotIn: [ID] + + """ + Array of tag slugs, used to display objects from one tag OR another + """ + tagSlugAnd: [String] + + """ + Array of tag slugs, used to exclude objects in specified tags + """ + tagSlugIn: [String] + + """ + Title of the object + """ + title: String +} + +""" +Connection between the postFormat type and the Taxonomy type +""" +type PostFormatToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum PostIdType { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID + + """ + Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. + """ + SLUG + + """ + Identify a resource by the URI. + """ + URI +} + +""" +The format of post field data. +""" +enum PostObjectFieldFormatEnum { + """ + Provide the field value directly from database + """ + RAW + + """ + Apply the default WordPress rendering + """ + RENDERED +} + +""" +The column to use when filtering by date +""" +enum PostObjectsConnectionDateColumnEnum { + """ + The date the comment was created in local time. + """ + DATE + + """ + The most recent modification date of the comment. + """ + MODIFIED +} + +""" +Field to order the connection by +""" +enum PostObjectsConnectionOrderbyEnum { + """ + Order by author + """ + AUTHOR + + """ + Order by the number of comments it has acquired + """ + COMMENT_COUNT + + """ + Order by publish date + """ + DATE + + """ + Preserve the ID order given in the IN array + """ + IN + + """ + Order by the menu order value + """ + MENU_ORDER + + """ + Order by last modified date + """ + MODIFIED + + """ + Preserve slug order given in the NAME_IN array + """ + NAME_IN + + """ + Order by parent ID + """ + PARENT + + """ + Order by slug + """ + SLUG + + """ + Order by title + """ + TITLE +} + +""" +Options for ordering the connection +""" +input PostObjectsConnectionOrderbyInput { + """ + The field to order the connection by + """ + field: PostObjectsConnectionOrderbyEnum! + + """ + Possible directions in which to order a list of items + """ + order: OrderEnum! +} + +""" +Set relationships between the post to postFormats +""" +input PostPostFormatsInput { + """ + If true, this will append the postFormat to existing related postFormats. If false, this will replace existing relationships. Default true. + """ + append: Boolean + + """ + The input list of items to set. + """ + nodes: [PostPostFormatsNodeInput] +} + +""" +List of postFormats to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. +""" +input PostPostFormatsNodeInput { + """ + The description of the postFormat. This field is used to set a description of the postFormat if a new one is created during the mutation. + """ + description: String + + """ + The ID of the postFormat. If present, this will be used to connect to the post. If no existing postFormat exists with this ID, no connection will be made. + """ + id: ID + + """ + The name of the postFormat. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. + """ + name: String + + """ + The slug of the postFormat. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. + """ + slug: String +} + +""" +The status of the object. +""" +enum PostStatusEnum { + """ + Objects with the auto-draft status + """ + AUTO_DRAFT + + """ + Objects with the draft status + """ + DRAFT + + """ + Objects with the future status + """ + FUTURE + + """ + Objects with the inherit status + """ + INHERIT + + """ + Objects with the pending status + """ + PENDING + + """ + Objects with the private status + """ + PRIVATE + + """ + Objects with the publish status + """ + PUBLISH + + """ + Objects with the request-completed status + """ + REQUEST_COMPLETED + + """ + Objects with the request-confirmed status + """ + REQUEST_CONFIRMED + + """ + Objects with the request-failed status + """ + REQUEST_FAILED + + """ + Objects with the request-pending status + """ + REQUEST_PENDING + + """ + Objects with the trash status + """ + TRASH + + """ + Objects with the wc-cancelled status + """ + WC_CANCELLED + + """ + Objects with the wc-completed status + """ + WC_COMPLETED + + """ + Objects with the wc-failed status + """ + WC_FAILED + + """ + Objects with the wc-on-hold status + """ + WC_ON_HOLD + + """ + Objects with the wc-pending status + """ + WC_PENDING + + """ + Objects with the wc-processing status + """ + WC_PROCESSING + + """ + Objects with the wc-refunded status + """ + WC_REFUNDED +} + +""" +Set relationships between the post to tags +""" +input PostTagsInput { + """ + If true, this will append the tag to existing related tags. If false, this will replace existing relationships. Default true. + """ + append: Boolean + + """ + The input list of items to set. + """ + nodes: [PostTagsNodeInput] +} + +""" +List of tags to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. +""" +input PostTagsNodeInput { + """ + The description of the tag. This field is used to set a description of the tag if a new one is created during the mutation. + """ + description: String + + """ + The ID of the tag. If present, this will be used to connect to the post. If no existing tag exists with this ID, no connection will be made. + """ + id: ID + + """ + The name of the tag. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. + """ + name: String + + """ + The slug of the tag. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. + """ + slug: String +} + +""" +Connection between the post type and the category type +""" +type PostToCategoryConnection { + """ + Edges for the PostToCategoryConnection connection + """ + edges: [PostToCategoryConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Category] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PostToCategoryConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Category +} + +""" +Arguments for filtering the PostToCategoryConnection connection +""" +input PostToCategoryConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the post type and the Comment type +""" +type PostToCommentConnection { + """ + Edges for the PostToCommentConnection connection + """ + edges: [PostToCommentConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Comment] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PostToCommentConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Comment +} + +""" +Arguments for filtering the PostToCommentConnection connection +""" +input PostToCommentConnectionWhereArgs { + """ + Comment author email address. + """ + authorEmail: String + + """ + Array of author IDs to include comments for. + """ + authorIn: [ID] + + """ + Array of author IDs to exclude comments for. + """ + authorNotIn: [ID] + + """ + Comment author URL. + """ + authorUrl: String + + """ + Array of comment IDs to include. + """ + commentIn: [ID] + + """ + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + """ + commentNotIn: [ID] + + """ + Include comments of a given type. + """ + commentType: String + + """ + Include comments from a given array of comment types. + """ + commentTypeIn: [String] + + """ + Exclude comments from a given array of comment types. + """ + commentTypeNotIn: String + + """ + Content object author ID to limit results by. + """ + contentAuthor: [ID] + + """ + Array of author IDs to retrieve comments for. + """ + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID +} + +""" +Connection between the post type and the postFormat type +""" +type PostToPostFormatConnection { + """ + Edges for the PostToPostFormatConnection connection + """ + edges: [PostToPostFormatConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [PostFormat] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PostToPostFormatConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: PostFormat +} + +""" +Arguments for filtering the PostToPostFormatConnection connection +""" +input PostToPostFormatConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the post type and the post type +""" +type PostToPreviewConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Post +} + +""" +Connection between the post type and the post type +""" +type PostToRevisionConnection { + """ + Edges for the postToRevisionConnection connection + """ + edges: [PostToRevisionConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Post] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PostToRevisionConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Post +} + +""" +Arguments for filtering the postToRevisionConnection connection +""" +input PostToRevisionConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Category ID + """ + categoryId: Int + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryIn: [ID] + + """ + Use Category Slug + """ + categoryName: String + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Tag Slug + """ + tag: String + + """ + Use Tag ID + """ + tagId: String + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagIn: [ID] + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagNotIn: [ID] + + """ + Array of tag slugs, used to display objects from one tag OR another + """ + tagSlugAnd: [String] + + """ + Array of tag slugs, used to exclude objects in specified tags + """ + tagSlugIn: [String] + + """ + Title of the object + """ + title: String +} + +""" +Connection between the post type and the tag type +""" +type PostToTagConnection { + """ + Edges for the PostToTagConnection connection + """ + edges: [PostToTagConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Tag] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PostToTagConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Tag +} + +""" +Arguments for filtering the PostToTagConnection connection +""" +input PostToTagConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the post type and the TermNode type +""" +type PostToTermNodeConnection { + """ + Edges for the PostToTermNodeConnection connection + """ + edges: [PostToTermNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [TermNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type PostToTermNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: TermNode +} + +""" +Arguments for filtering the PostToTermNodeConnection connection +""" +input PostToTermNodeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + The Taxonomy to filter terms by + """ + taxonomies: [TaxonomyEnum] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Details for labels of the PostType +""" +type PostTypeLabelDetails { + """ + Default is ‘Add New’ for both hierarchical and non-hierarchical types. + """ + addNew: String + + """ + Label for adding a new singular item. + """ + addNewItem: String + + """ + Label to signify all items in a submenu link. + """ + allItems: String + + """ + Label for archives in nav menus + """ + archives: String + + """ + Label for the attributes meta box. + """ + attributes: String + + """ + Label for editing a singular item. + """ + editItem: String + + """ + Label for the Featured Image meta box title. + """ + featuredImage: String + + """ + Label for the table views hidden heading. + """ + filterItemsList: String + + """ + Label for the media frame button. + """ + insertIntoItem: String + + """ + Label for the table hidden heading. + """ + itemsList: String + + """ + Label for the table pagination hidden heading. + """ + itemsListNavigation: String + + """ + Label for the menu name. + """ + menuName: String + + """ + General name for the post type, usually plural. + """ + name: String + + """ + Label for the new item page title. + """ + newItem: String + + """ + Label used when no items are found. + """ + notFound: String + + """ + Label used when no items are in the trash. + """ + notFoundInTrash: String + + """ + Label used to prefix parents of hierarchical items. + """ + parentItemColon: String + + """ + Label for removing the featured image. + """ + removeFeaturedImage: String + + """ + Label for searching plural items. + """ + searchItems: String + + """ + Label for setting the featured image. + """ + setFeaturedImage: String + + """ + Name for one object of this post type. + """ + singularName: String + + """ + Label for the media frame filter. + """ + uploadedToThisItem: String + + """ + Label in the media frame for using a featured image. + """ + useFeaturedImage: String + + """ + Label for viewing a singular item. + """ + viewItem: String + + """ + Label for viewing post type archives. + """ + viewItems: String +} + +""" +Fields to order the PostType connection by +""" +enum PostTypeOrderByEnum { + """ + Order by publish date + """ + DATE + + """ + Preserve the ID order given in the IN array + """ + IN + + """ + Order by the menu order value + """ + MENU_ORDER + + """ + Order by last modified date + """ + MODIFIED + + """ + Preserve slug order given in the NAME_IN array + """ + NAME_IN + + """ + Order by parent ID + """ + PARENT + + """ + Order by slug + """ + SLUG +} + +""" +Options for ordering the connection +""" +input PostTypeOrderbyInput { + field: PostTypeOrderByEnum! + order: OrderEnum +} + +""" +Pricing field format enumeration +""" +enum PricingFieldFormatEnum { + FORMATTED + RAW +} + +""" +Product object +""" +interface Product { + """ + Connection between the Product type and the ProductAttribute type + """ + attributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductAttributeConnectionWhereArgs + ): ProductToProductAttributeConnection + + """ + Product average count + """ + averageRating: Float + + """ + Catalog visibility + """ + catalogVisibility: CatalogVisibilityEnum + + """ + The ID of the product in the database + """ + databaseId: Int! + + """ + Date product created + """ + date: String + + """ + Date on sale from + """ + dateOnSaleFrom: String + + """ + Date on sale to + """ + dateOnSaleTo: String + + """ + Product description + """ + description( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + If the product is featured + """ + featured: Boolean + + """ + Connection between the Product type and the MediaItem type + """ + galleryImages( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToMediaItemConnectionWhereArgs + ): ProductToMediaItemConnection + + """ + Connection between the Product type and the GlobalProductAttribute type + """ + globalAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToGlobalProductAttributeConnectionWhereArgs + ): ProductToGlobalProductAttributeConnection + + """ + The globally unique identifier for the product + """ + id: ID! + + """ + Main image + """ + image: MediaItem + + """ + The permalink of the post + """ + link: String + + """ + Connection between the Product type and the LocalProductAttribute type + """ + localAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToLocalProductAttributeConnectionWhereArgs + ): ProductToLocalProductAttributeConnection + + """ + Menu order + """ + menuOrder: Int + + """ + Date product last updated + """ + modified: String + + """ + Product name + """ + name: String + + """ + Is product on sale? + """ + onSale: Boolean + + """ + Connection between the Product type and the paColor type + """ + paColors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaColorConnectionWhereArgs + ): ProductToPaColorConnection + + """ + Connection between the Product type and the paSize type + """ + paSizes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaSizeConnectionWhereArgs + ): ProductToPaSizeConnection + + """ + Parent product + """ + parent: Product + + """ + Connection between the Product type and the productCategory type + """ + productCategories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductCategoryConnectionWhereArgs + ): ProductToProductCategoryConnection + + """ + Connection between the Product type and the productTag type + """ + productTags( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTagConnectionWhereArgs + ): ProductToProductTagConnection + + """ + Connection between the Product type and the productType type + """ + productTypes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTypeConnectionWhereArgs + ): ProductToProductTypeConnection + + """ + Can product be purchased? + """ + purchasable: Boolean + + """ + Purchase note + """ + purchaseNote: String + + """ + Connection between the Product type and the Product type + """ + related( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductConnectionWhereArgs + ): ProductToProductConnection + + """ + Product review count + """ + reviewCount: Int + + """ + Connection between the Product type and the Comment type + """ + reviews( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToCommentConnectionWhereArgs + ): ProductToCommentConnection + + """ + If reviews are allowed + """ + reviewsAllowed: Boolean + + """ + Connection between the Product type and the shippingClass type + """ + shippingClasses( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToShippingClassConnectionWhereArgs + ): ProductToShippingClassConnection + + """ + Product short description + """ + shortDescription( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Product SKU + """ + sku: String + + """ + Product slug + """ + slug: String + + """ + Product status + """ + status: String + + """ + Number total of sales + """ + totalSales: Int + + """ + Product type + """ + type: ProductTypesEnum + + """ + Connection between the Product type and the Product type + """ + upsell( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToUpsellConnectionWhereArgs + ): ProductToUpsellConnection + + """ + Connection between the Product type and the visibleProduct type + """ + visibleProducts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToVisibleProductConnectionWhereArgs + ): ProductToVisibleProductConnection +} + +""" +Product attribute object +""" +interface ProductAttribute { + """ + Attribute ID + """ + attributeId: Int! + + """ + Attribute Global ID + """ + id: ID! + + """ + Attribute label + """ + label: String! + + """ + Attribute name + """ + name: String! + + """ + Attribute options + """ + options: [String] + + """ + Attribute position + """ + position: Int! + + """ + Product attribute scope. + """ + scope: ProductAttributeTypesEnum! + + """ + Is attribute on product variation + """ + variation: Boolean! + + """ + Is attribute visible + """ + visible: Boolean! +} + +""" +Options for ordering the connection +""" +input ProductAttributeInput { + attributeName: String! + attributeValue: String +} + +""" +A simple product attribute object +""" +type ProductAttributeOutput { + """ + Attribute name. + """ + attributeName: String + + """ + Attribute value. + """ + attributeValue: String +} + +""" +Product attribute type enumeration +""" +enum ProductAttributeTypesEnum { + """ + A global product attribute + """ + GLOBAL + + """ + A local product attribute + """ + LOCAL +} + +""" +The productCategory type +""" +type ProductCategory implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier & HierarchicalTermNode & MenuItemLinkable { + """ + The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). + """ + ancestors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ProductCategoryToAncestorsProductCategoryConnection + + """ + Connection between the productCategory type and the productCategory type + """ + children( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductCategoryToProductCategoryConnectionWhereArgs + ): ProductCategoryToProductCategoryConnection + + """ + Connection between the productCategory type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductCategoryToContentNodeConnectionWhereArgs + ): ProductCategoryToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique resource identifier path + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Product category display type + """ + display: ProductCategoryDisplay + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Product category image + """ + image: MediaItem + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + Product category menu order + """ + menuOrder: Int + + """ + The human friendly name of the object. + """ + name: String + + """ + Connection between the productCategory type and the productCategory type + """ + parent: ProductCategoryToParentProductCategoryConnectionEdge + + """ + Database id of the parent node + """ + parentDatabaseId: Int + + """ + The globally unique identifier of the parent node. + """ + parentId: ID + + """ + The id field matches the WP_Post->ID field. + """ + productCategoryId: Int + @deprecated(reason: "Deprecated in favor of databaseId") + + """ + Connection between the ProductCategory type and the Product type + """ + products( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductCategoryToProductConnectionWhereArgs + ): ProductCategoryToProductConnection + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + Connection between the productCategory type and the Taxonomy type + """ + taxonomy: ProductCategoryToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String +} + +""" +Product category display type enumeration +""" +enum ProductCategoryDisplay { + """ + Display both products and subcategories of this category. + """ + BOTH + + """ + Display default content connected to this category. + """ + DEFAULT + + """ + Display products associated with this category. + """ + PRODUCTS + + """ + Display subcategories of this category. + """ + SUBCATEGORIES +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum ProductCategoryIdType { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the productCategory type and the productCategory type +""" +type ProductCategoryToAncestorsProductCategoryConnection { + """ + Edges for the ProductCategoryToAncestorsProductCategoryConnection connection + """ + edges: [ProductCategoryToAncestorsProductCategoryConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductCategory] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductCategoryToAncestorsProductCategoryConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductCategory +} + +""" +Connection between the productCategory type and the ContentNode type +""" +type ProductCategoryToContentNodeConnection { + """ + Edges for the ProductCategoryToContentNodeConnection connection + """ + edges: [ProductCategoryToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductCategoryToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the ProductCategoryToContentNodeConnection connection +""" +input ProductCategoryToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfProductCategoryEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the productCategory type and the productCategory type +""" +type ProductCategoryToParentProductCategoryConnectionEdge { + """ + The node of the connection, without the edges + """ + node: ProductCategory +} + +""" +Connection between the productCategory type and the productCategory type +""" +type ProductCategoryToProductCategoryConnection { + """ + Edges for the ProductCategoryToProductCategoryConnection connection + """ + edges: [ProductCategoryToProductCategoryConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductCategory] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductCategoryToProductCategoryConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductCategory +} + +""" +Arguments for filtering the ProductCategoryToProductCategoryConnection connection +""" +input ProductCategoryToProductCategoryConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the ProductCategory type and the Product type +""" +type ProductCategoryToProductConnection { + """ + Edges for the ProductCategoryToProductConnection connection + """ + edges: [ProductCategoryToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductCategoryToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the ProductCategoryToProductConnection connection +""" +input ProductCategoryToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the productCategory type and the Taxonomy type +""" +type ProductCategoryToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +A product object +""" +type ProductDownload { + """ + Is file allowed + """ + allowedFileType: Boolean + + """ + Product download ID + """ + downloadId: String! + + """ + Download file + """ + file: String + + """ + Validate file exists + """ + fileExists: Boolean + + """ + File extension + """ + fileExt: String + + """ + Type of file path set + """ + filePathType: String + + """ + File type + """ + fileType: String + + """ + Product download name + """ + name: String +} + +""" +The Type of Identifier used to fetch a single Product. Default is ID. +""" +enum ProductIdTypeEnum { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID + + """ + Unique store identifier for product. + """ + SKU + + """ + Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. + """ + SLUG +} + +""" +The productTag type +""" +type ProductTag implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier & MenuItemLinkable { + """ + Connection between the productTag type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductTagToContentNodeConnectionWhereArgs + ): ProductTagToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique resource identifier path + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + The id field matches the WP_Post->ID field. + """ + productTagId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + Connection between the ProductTag type and the Product type + """ + products( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductTagToProductConnectionWhereArgs + ): ProductTagToProductConnection + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + Connection between the productTag type and the Taxonomy type + """ + taxonomy: ProductTagToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum ProductTagIdType { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the productTag type and the ContentNode type +""" +type ProductTagToContentNodeConnection { + """ + Edges for the ProductTagToContentNodeConnection connection + """ + edges: [ProductTagToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductTagToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the ProductTagToContentNodeConnection connection +""" +input ProductTagToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfProductTagEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the ProductTag type and the Product type +""" +type ProductTagToProductConnection { + """ + Edges for the ProductTagToProductConnection connection + """ + edges: [ProductTagToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductTagToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the ProductTagToProductConnection connection +""" +input ProductTagToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the productTag type and the Taxonomy type +""" +type ProductTagToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +Product taxonomies +""" +enum ProductTaxonomyEnum { + PACOLOR + PASIZE + PRODUCTCATEGORY + PRODUCTTAG + PRODUCTTYPE + SHIPPINGCLASS + VISIBLEPRODUCT +} + +""" +Product filter +""" +input ProductTaxonomyFilterInput { + """ + A list of term ids + """ + ids: [Int] + + """ + Filter operation type + """ + operator: TaxonomyOperatorEnum + + """ + Which field to select taxonomy term by. + """ + taxonomy: ProductTaxonomyEnum! + + """ + A list of term slugs + """ + terms: [String] +} + +""" +Product taxonomy filter type +""" +input ProductTaxonomyInput { + """ + Product taxonomy rules to be filter results by + """ + filters: [ProductTaxonomyFilterInput] + + """ + Logic relation between each filter. + """ + relation: RelationEnum +} + +""" +Connection between the Product type and the Comment type +""" +type ProductToCommentConnection { + """ + Average review rating for this product. + """ + averageRating: Float + + """ + Edges for the ProductToCommentConnection connection + """ + edges: [ProductToCommentConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Comment] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToCommentConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Comment + + """ + Review rating + """ + rating: Float +} + +""" +Arguments for filtering the ProductToCommentConnection connection +""" +input ProductToCommentConnectionWhereArgs { + """ + Comment author email address. + """ + authorEmail: String + + """ + Array of author IDs to include comments for. + """ + authorIn: [ID] + + """ + Array of author IDs to exclude comments for. + """ + authorNotIn: [ID] + + """ + Comment author URL. + """ + authorUrl: String + + """ + Array of comment IDs to include. + """ + commentIn: [ID] + + """ + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + """ + commentNotIn: [ID] + + """ + Include comments of a given type. + """ + commentType: String + + """ + Include comments from a given array of comment types. + """ + commentTypeIn: [String] + + """ + Exclude comments from a given array of comment types. + """ + commentTypeNotIn: String + + """ + Content object author ID to limit results by. + """ + contentAuthor: [ID] + + """ + Array of author IDs to retrieve comments for. + """ + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID +} + +""" +Connection between the Product type and the GlobalProductAttribute type +""" +type ProductToGlobalProductAttributeConnection { + """ + Edges for the ProductToGlobalProductAttributeConnection connection + """ + edges: [ProductToGlobalProductAttributeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [GlobalProductAttribute] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToGlobalProductAttributeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: GlobalProductAttribute +} + +""" +Arguments for filtering the ProductToGlobalProductAttributeConnection connection +""" +input ProductToGlobalProductAttributeConnectionWhereArgs { + """ + Filter results by attribute scope. + """ + type: ProductAttributeTypesEnum +} + +""" +Connection between the Product type and the LocalProductAttribute type +""" +type ProductToLocalProductAttributeConnection { + """ + Edges for the ProductToLocalProductAttributeConnection connection + """ + edges: [ProductToLocalProductAttributeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [LocalProductAttribute] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToLocalProductAttributeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: LocalProductAttribute +} + +""" +Arguments for filtering the ProductToLocalProductAttributeConnection connection +""" +input ProductToLocalProductAttributeConnectionWhereArgs { + """ + Filter results by attribute scope. + """ + type: ProductAttributeTypesEnum +} + +""" +Connection between the Product type and the MediaItem type +""" +type ProductToMediaItemConnection { + """ + Edges for the ProductToMediaItemConnection connection + """ + edges: [ProductToMediaItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [MediaItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToMediaItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: MediaItem +} + +""" +Arguments for filtering the ProductToMediaItemConnection connection +""" +input ProductToMediaItemConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the Product type and the paColor type +""" +type ProductToPaColorConnection { + """ + Edges for the ProductToPaColorConnection connection + """ + edges: [ProductToPaColorConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [PaColor] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToPaColorConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: PaColor +} + +""" +Arguments for filtering the ProductToPaColorConnection connection +""" +input ProductToPaColorConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the Product type and the paSize type +""" +type ProductToPaSizeConnection { + """ + Edges for the ProductToPaSizeConnection connection + """ + edges: [ProductToPaSizeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [PaSize] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToPaSizeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: PaSize +} + +""" +Arguments for filtering the ProductToPaSizeConnection connection +""" +input ProductToPaSizeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the Product type and the ProductAttribute type +""" +type ProductToProductAttributeConnection { + """ + Edges for the ProductToProductAttributeConnection connection + """ + edges: [ProductToProductAttributeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductAttribute] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToProductAttributeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductAttribute +} + +""" +Arguments for filtering the ProductToProductAttributeConnection connection +""" +input ProductToProductAttributeConnectionWhereArgs { + """ + Filter results by attribute scope. + """ + type: ProductAttributeTypesEnum +} + +""" +Connection between the Product type and the productCategory type +""" +type ProductToProductCategoryConnection { + """ + Edges for the ProductToProductCategoryConnection connection + """ + edges: [ProductToProductCategoryConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductCategory] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToProductCategoryConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductCategory +} + +""" +Arguments for filtering the ProductToProductCategoryConnection connection +""" +input ProductToProductCategoryConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the Product type and the Product type +""" +type ProductToProductConnection { + """ + Edges for the ProductToProductConnection connection + """ + edges: [ProductToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the ProductToProductConnection connection +""" +input ProductToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Shuffle results? (Pagination currently not support by this argument) + """ + shuffle: Boolean + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the Product type and the productTag type +""" +type ProductToProductTagConnection { + """ + Edges for the ProductToProductTagConnection connection + """ + edges: [ProductToProductTagConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductTag] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToProductTagConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductTag +} + +""" +Arguments for filtering the ProductToProductTagConnection connection +""" +input ProductToProductTagConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the Product type and the productType type +""" +type ProductToProductTypeConnection { + """ + Edges for the ProductToProductTypeConnection connection + """ + edges: [ProductToProductTypeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductType] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToProductTypeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductType +} + +""" +Arguments for filtering the ProductToProductTypeConnection connection +""" +input ProductToProductTypeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the Product type and the shippingClass type +""" +type ProductToShippingClassConnection { + """ + Edges for the ProductToShippingClassConnection connection + """ + edges: [ProductToShippingClassConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ShippingClass] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToShippingClassConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ShippingClass +} + +""" +Arguments for filtering the ProductToShippingClassConnection connection +""" +input ProductToShippingClassConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the Product type and the Product type +""" +type ProductToUpsellConnection { + """ + Edges for the ProductToUpsellConnection connection + """ + edges: [ProductToUpsellConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToUpsellConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the ProductToUpsellConnection connection +""" +input ProductToUpsellConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the Product type and the visibleProduct type +""" +type ProductToVisibleProductConnection { + """ + Edges for the ProductToVisibleProductConnection connection + """ + edges: [ProductToVisibleProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [VisibleProduct] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductToVisibleProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: VisibleProduct +} + +""" +Arguments for filtering the ProductToVisibleProductConnection connection +""" +input ProductToVisibleProductConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +The productType type +""" +type ProductType implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the productType type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductTypeToContentNodeConnectionWhereArgs + ): ProductTypeToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + The id field matches the WP_Post->ID field. + """ + productTypeId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + Connection between the productType type and the Taxonomy type + """ + taxonomy: ProductTypeToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum ProductTypeIdType { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the productType type and the ContentNode type +""" +type ProductTypeToContentNodeConnection { + """ + Edges for the ProductTypeToContentNodeConnection connection + """ + edges: [ProductTypeToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductTypeToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the ProductTypeToContentNodeConnection connection +""" +input ProductTypeToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfProductTypeEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the productType type and the Taxonomy type +""" +type ProductTypeToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +Product type enumeration +""" +enum ProductTypesEnum { + """ + An external product + """ + EXTERNAL + + """ + A product group + """ + GROUPED + + """ + A simple product + """ + SIMPLE + + """ + A variable product + """ + VARIABLE + + """ + A product variation + """ + VARIATION +} + +""" +A product variation object +""" +type ProductVariation implements Node & NodeWithFeaturedImage & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the ProductVariation type and the VariationAttribute type + """ + attributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ProductVariationToVariationAttributeConnection + + """ + Product variation backorders + """ + backorders: BackordersEnum + + """ + Can product be backordered? + """ + backordersAllowed: Boolean + + """ + Product variation catalog visibility + """ + catalogVisibility: CatalogVisibilityEnum + + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + The ID of the refund in the database + """ + databaseId: Int! + + """ + Date variation created + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + Date on sale from + """ + dateOnSaleFrom: String + + """ + Date on sale to + """ + dateOnSaleTo: String + + """ + Product description + """ + description: String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + Download expiry + """ + downloadExpiry: Int + + """ + Download limit + """ + downloadLimit: Int + + """ + Is downloadable? + """ + downloadable: Boolean + + """ + Product downloads + """ + downloads: [ProductDownload] + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + Connection between the NodeWithFeaturedImage type and the MediaItem type + """ + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int + + """ + Globally unique ID of the featured image assigned to the node + """ + featuredImageId: ID + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + Does product variation have any visible attributes + """ + hasAttributes: Boolean + + """ + Product variation height + """ + height: String + + """ + The globally unique identifier for the product variation + """ + id: ID! + + """ + Product variation main image + """ + image: MediaItem + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + Product variation length + """ + length: String + + """ + The permalink of the post + """ + link: String + + """ + if/how product variation stock is managed + """ + manageStock: ManageStockEnum + + """ + Menu order + """ + menuOrder: Int + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Date variation last updated + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + Product name + """ + name: String + + """ + Is variation on sale? + """ + onSale: Boolean + + """ + The parent of the node. The parent object can be of various types + """ + parent: ProductVariationToVariableProductConnectionEdge + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + Product variation's active price + """ + price( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + If product variation can be bought + """ + purchasable: Boolean + + """ + Product variation purchase_note + """ + purchaseNote: String + + """ + Product variation's regular price + """ + regularPrice( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Product variation's sale price + """ + salePrice( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Product variation shipping class + """ + shippingClass: String + + """ + Connection between the ProductVariation type and the shippingClass type + """ + shippingClasses( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductVariationToShippingClassConnectionWhereArgs + ): ProductVariationToShippingClassConnection + + """ + Product variation SKU (Stock-keeping unit) + """ + sku: String + + """ + The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. + """ + slug: String + + """ + Variation status + """ + status: String + + """ + Product variation stock quantity + """ + stockQuantity: Int + + """ + Product stock status + """ + stockStatus: StockStatusEnum + + """ + Product variation tax class + """ + taxClass: TaxClassEnum + + """ + Tax status + """ + taxStatus: TaxStatusEnum + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + Product type + """ + type: ProductTypesEnum + + """ + The unique resource identifier path + """ + uri: String + + """ + Is product virtual? + """ + virtual: Boolean + + """ + Connection between the ProductVariation type and the visibleProduct type + """ + visibleProducts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductVariationToVisibleProductConnectionWhereArgs + ): ProductVariationToVisibleProductConnection + + """ + Product variation weight + """ + weight: String + + """ + Product variation width + """ + width: String +} + +""" +The Type of Identifier used to fetch a single ProductVariation. Default is ID. +""" +enum ProductVariationIdTypeEnum { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID +} + +""" +Connection between the ProductVariation type and the shippingClass type +""" +type ProductVariationToShippingClassConnection { + """ + Edges for the ProductVariationToShippingClassConnection connection + """ + edges: [ProductVariationToShippingClassConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ShippingClass] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductVariationToShippingClassConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ShippingClass +} + +""" +Arguments for filtering the ProductVariationToShippingClassConnection connection +""" +input ProductVariationToShippingClassConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the ProductVariation type and the VariableProduct type +""" +type ProductVariationToVariableProductConnectionEdge { + """ + The node of the connection, without the edges + """ + node: VariableProduct +} + +""" +Connection between the ProductVariation type and the VariationAttribute type +""" +type ProductVariationToVariationAttributeConnection { + """ + Edges for the ProductVariationToVariationAttributeConnection connection + """ + edges: [ProductVariationToVariationAttributeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [VariationAttribute] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductVariationToVariationAttributeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: VariationAttribute +} + +""" +Connection between the ProductVariation type and the visibleProduct type +""" +type ProductVariationToVisibleProductConnection { + """ + Edges for the ProductVariationToVisibleProductConnection connection + """ + edges: [ProductVariationToVisibleProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [VisibleProduct] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ProductVariationToVisibleProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: VisibleProduct +} + +""" +Arguments for filtering the ProductVariationToVisibleProductConnection connection +""" +input ProductVariationToVisibleProductConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Fields to order the Products connection by +""" +enum ProductsOrderByEnum { + """ + Order by publish date + """ + DATE + + """ + Preserve the ID order given in the IN array + """ + IN + + """ + Order by the menu order value + """ + MENU_ORDER + + """ + Order by last modified date + """ + MODIFIED + + """ + Preserve slug order given in the NAME_IN array + """ + NAME_IN + + """ + Order by date product sale starts + """ + ON_SALE_FROM + + """ + Order by date product sale ends + """ + ON_SALE_TO + + """ + Order by parent ID + """ + PARENT + + """ + Order by product's current price + """ + PRICE + + """ + Order by product average rating + """ + RATING + + """ + Order by product's regular price + """ + REGULAR_PRICE + + """ + Order by number of reviews on product + """ + REVIEW_COUNT + + """ + Order by product's sale price + """ + SALE_PRICE + + """ + Order by slug + """ + SLUG + + """ + Order by total sales of products sold + """ + TOTAL_SALES +} + +""" +Options for ordering the connection +""" +input ProductsOrderbyInput { + field: ProductsOrderByEnum! + order: OrderEnum +} + +""" +The reading setting type +""" +type ReadingSettings { + """ + Blog pages show at most. + """ + postsPerPage: Int +} + +""" +A refund object +""" +type Refund implements Node { + """ + Refunded amount + """ + amount: Float + + """ + The ID of the refund in the database + """ + databaseId: Int + + """ + The date of the refund + """ + date: String + + """ + The globally unique identifier for the refund + """ + id: ID! + + """ + Connection between the Refund type and the LineItem type + """ + lineItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RefundToLineItemConnection + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Reason for refund + """ + reason: String + + """ + User who completed the refund + """ + refundedBy: User + + """ + A title for the new post type + """ + title: String +} + +""" +The Type of Identifier used to fetch a single Refund. Default is ID. +""" +enum RefundIdTypeEnum { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID +} + +""" +Connection between the Refund type and the LineItem type +""" +type RefundToLineItemConnection { + """ + Edges for the RefundToLineItemConnection connection + """ + edges: [RefundToLineItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [LineItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RefundToLineItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: LineItem +} + +""" +Input for the registerCustomer mutation +""" +input RegisterCustomerInput { + """ + User's AOL IM account. + """ + aim: String + + """ + Customer billing information + """ + billing: CustomerAddressInput + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + A string containing content about the user. + """ + description: String + + """ + A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). + """ + displayName: String + + """ + A string containing the user's email address. + """ + email: String + + """ + The user's first name. + """ + firstName: String + + """ + User's Jabber account. + """ + jabber: String + + """ + The user's last name. + """ + lastName: String + + """ + User's locale. + """ + locale: String + + """ + Meta data. + """ + metaData: [MetaDataInput] + + """ + A string that contains a URL-friendly name for the user. The default is the user's username. + """ + nicename: String + + """ + The user's nickname, defaults to the user's username. + """ + nickname: String + + """ + A string that contains the plain text password for the user. + """ + password: String + + """ + The date the user registered. Format is Y-m-d H:i:s. + """ + registered: String + + """ + A string for whether to enable the rich editor or not. False if not empty. + """ + richEditing: String + + """ + Customer shipping address + """ + shipping: CustomerAddressInput + + """ + Customer shipping is identical to billing address + """ + shippingSameAsBilling: Boolean + + """ + A string that contains the user's username. + """ + username: String + + """ + A string containing the user's URL for the user's web site. + """ + websiteUrl: String + + """ + User's Yahoo IM account. + """ + yim: String +} + +""" +The payload for the registerCustomer mutation +""" +type RegisterCustomerPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + customer: Customer + viewer: User +} + +""" +Input for the registerUser mutation +""" +input RegisterUserInput { + """ + User's AOL IM account. + """ + aim: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + A string containing content about the user. + """ + description: String + + """ + A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). + """ + displayName: String + + """ + A string containing the user's email address. + """ + email: String + + """ + The user's first name. + """ + firstName: String + + """ + User's Jabber account. + """ + jabber: String + + """ + The user's last name. + """ + lastName: String + + """ + User's locale. + """ + locale: String + + """ + A string that contains a URL-friendly name for the user. The default is the user's username. + """ + nicename: String + + """ + The user's nickname, defaults to the user's username. + """ + nickname: String + + """ + A string that contains the plain text password for the user. + """ + password: String + + """ + The date the user registered. Format is Y-m-d H:i:s. + """ + registered: String + + """ + A string for whether to enable the rich editor or not. False if not empty. + """ + richEditing: String + + """ + A string that contains the user's username. + """ + username: String! + + """ + A string containing the user's URL for the user's web site. + """ + websiteUrl: String + + """ + User's Yahoo IM account. + """ + yim: String +} + +""" +The payload for the registerUser mutation +""" +type RegisterUserPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The User object mutation type. + """ + user: User +} + +""" +The logical relation between each item in the array when there are more than one. +""" +enum RelationEnum { + """ + The logical AND condition returns true if both operands are true, otherwise, it returns false. + """ + AND + + """ + The logical OR condition returns false if both operands are false, otherwise, it returns true. + """ + OR +} + +""" +Input for the removeCoupons mutation +""" +input RemoveCouponsInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Code of coupon being applied + """ + codes: [String] +} + +""" +The payload for the removeCoupons mutation +""" +type RemoveCouponsPayload { + cart: Cart + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +Input for the removeItemsFromCart mutation +""" +input RemoveItemsFromCartInput { + """ + Remove all cart items + """ + all: Boolean + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Item keys of the items being removed + """ + keys: [ID] +} + +""" +The payload for the removeItemsFromCart mutation +""" +type RemoveItemsFromCartPayload { + cart: Cart + cartItems: [CartItem] + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +Input for the resetUserPassword mutation +""" +input ResetUserPasswordInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Password reset key + """ + key: String + + """ + The user's login (username). + """ + login: String + + """ + The new password. + """ + password: String +} + +""" +The payload for the resetUserPassword mutation +""" +type ResetUserPasswordPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The User object mutation type. + """ + user: User +} + +""" +Input for the restoreCartItems mutation +""" +input RestoreCartItemsInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Cart item key of the item being removed + """ + keys: [ID] +} + +""" +The payload for the restoreCartItems mutation +""" +type RestoreCartItemsPayload { + cart: Cart + cartItems: [CartItem] + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +Input for the restoreComment mutation +""" +input RestoreCommentInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the comment to be restored + """ + id: ID! +} + +""" +The payload for the restoreComment mutation +""" +type RestoreCommentPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The restored comment object + """ + comment: Comment + + """ + The ID of the restored comment + """ + restoredId: ID +} + +""" +Input for the restoreReview mutation +""" +input RestoreReviewInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the target product review + """ + id: ID! +} + +""" +The payload for the restoreReview mutation +""" +type RestoreReviewPayload { + """ + The affected product review ID + """ + affectedId: ID + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The product rating of the affected product review + """ + rating: Float + + """ + The affected product review + """ + review: Comment +} + +""" +The root mutation +""" +type RootMutation { + """ + The payload for the addCartItems mutation + """ + addCartItems( + """ + Input for the addCartItems mutation + """ + input: AddCartItemsInput! + ): AddCartItemsPayload + + """ + The payload for the addFee mutation + """ + addFee( + """ + Input for the addFee mutation + """ + input: AddFeeInput! + ): AddFeePayload + + """ + The payload for the addToCart mutation + """ + addToCart( + """ + Input for the addToCart mutation + """ + input: AddToCartInput! + ): AddToCartPayload + + """ + The payload for the applyCoupon mutation + """ + applyCoupon( + """ + Input for the applyCoupon mutation + """ + input: ApplyCouponInput! + ): ApplyCouponPayload + + """ + The payload for the checkout mutation + """ + checkout( + """ + Input for the checkout mutation + """ + input: CheckoutInput! + ): CheckoutPayload + + """ + The payload for the createCategory mutation + """ + createCategory( + """ + Input for the createCategory mutation + """ + input: CreateCategoryInput! + ): CreateCategoryPayload + + """ + The payload for the createComment mutation + """ + createComment( + """ + Input for the createComment mutation + """ + input: CreateCommentInput! + ): CreateCommentPayload + + """ + The payload for the createCoupon mutation + """ + createCoupon( + """ + Input for the createCoupon mutation + """ + input: CreateCouponInput! + ): CreateCouponPayload + + """ + The payload for the createMediaItem mutation + """ + createMediaItem( + """ + Input for the createMediaItem mutation + """ + input: CreateMediaItemInput! + ): CreateMediaItemPayload + + """ + The payload for the createOrder mutation + """ + createOrder( + """ + Input for the createOrder mutation + """ + input: CreateOrderInput! + ): CreateOrderPayload + + """ + The payload for the createPaColor mutation + """ + createPaColor( + """ + Input for the createPaColor mutation + """ + input: CreatePaColorInput! + ): CreatePaColorPayload + + """ + The payload for the createPaSize mutation + """ + createPaSize( + """ + Input for the createPaSize mutation + """ + input: CreatePaSizeInput! + ): CreatePaSizePayload + + """ + The payload for the createPage mutation + """ + createPage( + """ + Input for the createPage mutation + """ + input: CreatePageInput! + ): CreatePagePayload + + """ + The payload for the createPost mutation + """ + createPost( + """ + Input for the createPost mutation + """ + input: CreatePostInput! + ): CreatePostPayload + + """ + The payload for the createPostFormat mutation + """ + createPostFormat( + """ + Input for the createPostFormat mutation + """ + input: CreatePostFormatInput! + ): CreatePostFormatPayload + + """ + The payload for the createProductCategory mutation + """ + createProductCategory( + """ + Input for the createProductCategory mutation + """ + input: CreateProductCategoryInput! + ): CreateProductCategoryPayload + + """ + The payload for the createProductTag mutation + """ + createProductTag( + """ + Input for the createProductTag mutation + """ + input: CreateProductTagInput! + ): CreateProductTagPayload + + """ + The payload for the createProductType mutation + """ + createProductType( + """ + Input for the createProductType mutation + """ + input: CreateProductTypeInput! + ): CreateProductTypePayload + + """ + The payload for the createShippingClass mutation + """ + createShippingClass( + """ + Input for the createShippingClass mutation + """ + input: CreateShippingClassInput! + ): CreateShippingClassPayload + + """ + The payload for the createTag mutation + """ + createTag( + """ + Input for the createTag mutation + """ + input: CreateTagInput! + ): CreateTagPayload + + """ + The payload for the createUser mutation + """ + createUser( + """ + Input for the createUser mutation + """ + input: CreateUserInput! + ): CreateUserPayload + + """ + The payload for the createVisibleProduct mutation + """ + createVisibleProduct( + """ + Input for the createVisibleProduct mutation + """ + input: CreateVisibleProductInput! + ): CreateVisibleProductPayload + + """ + The payload for the deleteCategory mutation + """ + deleteCategory( + """ + Input for the deleteCategory mutation + """ + input: DeleteCategoryInput! + ): DeleteCategoryPayload + + """ + The payload for the deleteComment mutation + """ + deleteComment( + """ + Input for the deleteComment mutation + """ + input: DeleteCommentInput! + ): DeleteCommentPayload + + """ + The payload for the deleteCoupon mutation + """ + deleteCoupon( + """ + Input for the deleteCoupon mutation + """ + input: DeleteCouponInput! + ): DeleteCouponPayload + + """ + The payload for the deleteMediaItem mutation + """ + deleteMediaItem( + """ + Input for the deleteMediaItem mutation + """ + input: DeleteMediaItemInput! + ): DeleteMediaItemPayload + + """ + The payload for the deleteOrder mutation + """ + deleteOrder( + """ + Input for the deleteOrder mutation + """ + input: DeleteOrderInput! + ): DeleteOrderPayload + + """ + The payload for the deleteOrderItems mutation + """ + deleteOrderItems( + """ + Input for the deleteOrderItems mutation + """ + input: DeleteOrderItemsInput! + ): DeleteOrderItemsPayload + + """ + The payload for the deletePaColor mutation + """ + deletePaColor( + """ + Input for the deletePaColor mutation + """ + input: DeletePaColorInput! + ): DeletePaColorPayload + + """ + The payload for the deletePaSize mutation + """ + deletePaSize( + """ + Input for the deletePaSize mutation + """ + input: DeletePaSizeInput! + ): DeletePaSizePayload + + """ + The payload for the deletePage mutation + """ + deletePage( + """ + Input for the deletePage mutation + """ + input: DeletePageInput! + ): DeletePagePayload + + """ + The payload for the deletePost mutation + """ + deletePost( + """ + Input for the deletePost mutation + """ + input: DeletePostInput! + ): DeletePostPayload + + """ + The payload for the deletePostFormat mutation + """ + deletePostFormat( + """ + Input for the deletePostFormat mutation + """ + input: DeletePostFormatInput! + ): DeletePostFormatPayload + + """ + The payload for the deleteProductCategory mutation + """ + deleteProductCategory( + """ + Input for the deleteProductCategory mutation + """ + input: DeleteProductCategoryInput! + ): DeleteProductCategoryPayload + + """ + The payload for the deleteProductTag mutation + """ + deleteProductTag( + """ + Input for the deleteProductTag mutation + """ + input: DeleteProductTagInput! + ): DeleteProductTagPayload + + """ + The payload for the deleteProductType mutation + """ + deleteProductType( + """ + Input for the deleteProductType mutation + """ + input: DeleteProductTypeInput! + ): DeleteProductTypePayload + + """ + The payload for the deleteReview mutation + """ + deleteReview( + """ + Input for the deleteReview mutation + """ + input: DeleteReviewInput! + ): DeleteReviewPayload + + """ + The payload for the deleteShippingClass mutation + """ + deleteShippingClass( + """ + Input for the deleteShippingClass mutation + """ + input: DeleteShippingClassInput! + ): DeleteShippingClassPayload + + """ + The payload for the deleteTag mutation + """ + deleteTag( + """ + Input for the deleteTag mutation + """ + input: DeleteTagInput! + ): DeleteTagPayload + + """ + The payload for the deleteUser mutation + """ + deleteUser( + """ + Input for the deleteUser mutation + """ + input: DeleteUserInput! + ): DeleteUserPayload + + """ + The payload for the deleteVisibleProduct mutation + """ + deleteVisibleProduct( + """ + Input for the deleteVisibleProduct mutation + """ + input: DeleteVisibleProductInput! + ): DeleteVisibleProductPayload + + """ + The payload for the emptyCart mutation + """ + emptyCart( + """ + Input for the emptyCart mutation + """ + input: EmptyCartInput! + ): EmptyCartPayload + + """ + The payload for the fillCart mutation + """ + fillCart( + """ + Input for the fillCart mutation + """ + input: FillCartInput! + ): FillCartPayload + + """ + Increase the count. + """ + increaseCount( + """ + The count to increase + """ + count: Int + ): Int + + """ + The payload for the registerCustomer mutation + """ + registerCustomer( + """ + Input for the registerCustomer mutation + """ + input: RegisterCustomerInput! + ): RegisterCustomerPayload + + """ + The payload for the registerUser mutation + """ + registerUser( + """ + Input for the registerUser mutation + """ + input: RegisterUserInput! + ): RegisterUserPayload + + """ + The payload for the removeCoupons mutation + """ + removeCoupons( + """ + Input for the removeCoupons mutation + """ + input: RemoveCouponsInput! + ): RemoveCouponsPayload + + """ + The payload for the removeItemsFromCart mutation + """ + removeItemsFromCart( + """ + Input for the removeItemsFromCart mutation + """ + input: RemoveItemsFromCartInput! + ): RemoveItemsFromCartPayload + + """ + The payload for the resetUserPassword mutation + """ + resetUserPassword( + """ + Input for the resetUserPassword mutation + """ + input: ResetUserPasswordInput! + ): ResetUserPasswordPayload + + """ + The payload for the restoreCartItems mutation + """ + restoreCartItems( + """ + Input for the restoreCartItems mutation + """ + input: RestoreCartItemsInput! + ): RestoreCartItemsPayload + + """ + The payload for the restoreComment mutation + """ + restoreComment( + """ + Input for the restoreComment mutation + """ + input: RestoreCommentInput! + ): RestoreCommentPayload + + """ + The payload for the restoreReview mutation + """ + restoreReview( + """ + Input for the restoreReview mutation + """ + input: RestoreReviewInput! + ): RestoreReviewPayload + + """ + The payload for the sendPasswordResetEmail mutation + """ + sendPasswordResetEmail( + """ + Input for the sendPasswordResetEmail mutation + """ + input: SendPasswordResetEmailInput! + ): SendPasswordResetEmailPayload + + """ + The payload for the UpdateCategory mutation + """ + updateCategory( + """ + Input for the UpdateCategory mutation + """ + input: UpdateCategoryInput! + ): UpdateCategoryPayload + + """ + The payload for the updateComment mutation + """ + updateComment( + """ + Input for the updateComment mutation + """ + input: UpdateCommentInput! + ): UpdateCommentPayload + + """ + The payload for the updateCoupon mutation + """ + updateCoupon( + """ + Input for the updateCoupon mutation + """ + input: UpdateCouponInput! + ): UpdateCouponPayload + + """ + The payload for the updateCustomer mutation + """ + updateCustomer( + """ + Input for the updateCustomer mutation + """ + input: UpdateCustomerInput! + ): UpdateCustomerPayload + + """ + The payload for the updateItemQuantities mutation + """ + updateItemQuantities( + """ + Input for the updateItemQuantities mutation + """ + input: UpdateItemQuantitiesInput! + ): UpdateItemQuantitiesPayload + + """ + The payload for the updateMediaItem mutation + """ + updateMediaItem( + """ + Input for the updateMediaItem mutation + """ + input: UpdateMediaItemInput! + ): UpdateMediaItemPayload + + """ + The payload for the updateOrder mutation + """ + updateOrder( + """ + Input for the updateOrder mutation + """ + input: UpdateOrderInput! + ): UpdateOrderPayload + + """ + The payload for the UpdatePaColor mutation + """ + updatePaColor( + """ + Input for the UpdatePaColor mutation + """ + input: UpdatePaColorInput! + ): UpdatePaColorPayload + + """ + The payload for the UpdatePaSize mutation + """ + updatePaSize( + """ + Input for the UpdatePaSize mutation + """ + input: UpdatePaSizeInput! + ): UpdatePaSizePayload + + """ + The payload for the updatePage mutation + """ + updatePage( + """ + Input for the updatePage mutation + """ + input: UpdatePageInput! + ): UpdatePagePayload + + """ + The payload for the updatePost mutation + """ + updatePost( + """ + Input for the updatePost mutation + """ + input: UpdatePostInput! + ): UpdatePostPayload + + """ + The payload for the UpdatePostFormat mutation + """ + updatePostFormat( + """ + Input for the UpdatePostFormat mutation + """ + input: UpdatePostFormatInput! + ): UpdatePostFormatPayload + + """ + The payload for the UpdateProductCategory mutation + """ + updateProductCategory( + """ + Input for the UpdateProductCategory mutation + """ + input: UpdateProductCategoryInput! + ): UpdateProductCategoryPayload + + """ + The payload for the UpdateProductTag mutation + """ + updateProductTag( + """ + Input for the UpdateProductTag mutation + """ + input: UpdateProductTagInput! + ): UpdateProductTagPayload + + """ + The payload for the UpdateProductType mutation + """ + updateProductType( + """ + Input for the UpdateProductType mutation + """ + input: UpdateProductTypeInput! + ): UpdateProductTypePayload + + """ + The payload for the updateReview mutation + """ + updateReview( + """ + Input for the updateReview mutation + """ + input: UpdateReviewInput! + ): UpdateReviewPayload + + """ + The payload for the updateSettings mutation + """ + updateSettings( + """ + Input for the updateSettings mutation + """ + input: UpdateSettingsInput! + ): UpdateSettingsPayload + + """ + The payload for the UpdateShippingClass mutation + """ + updateShippingClass( + """ + Input for the UpdateShippingClass mutation + """ + input: UpdateShippingClassInput! + ): UpdateShippingClassPayload + + """ + The payload for the updateShippingMethod mutation + """ + updateShippingMethod( + """ + Input for the updateShippingMethod mutation + """ + input: UpdateShippingMethodInput! + ): UpdateShippingMethodPayload + + """ + The payload for the UpdateTag mutation + """ + updateTag( + """ + Input for the UpdateTag mutation + """ + input: UpdateTagInput! + ): UpdateTagPayload + + """ + The payload for the updateUser mutation + """ + updateUser( + """ + Input for the updateUser mutation + """ + input: UpdateUserInput! + ): UpdateUserPayload + + """ + The payload for the UpdateVisibleProduct mutation + """ + updateVisibleProduct( + """ + Input for the UpdateVisibleProduct mutation + """ + input: UpdateVisibleProductInput! + ): UpdateVisibleProductPayload + + """ + The payload for the writeReview mutation + """ + writeReview( + """ + Input for the writeReview mutation + """ + input: WriteReviewInput! + ): WriteReviewPayload +} + +""" +The root entry point into the Graph +""" +type RootQuery { + """ + Entry point to get all settings for the site + """ + allSettings: Settings + + """ + The cart object + """ + cart( + """ + Should cart totals be recalculated. + """ + recalculateTotals: Boolean + ): Cart + + """ + The cart object + """ + cartFee(id: ID!): CartFee + + """ + The cart object + """ + cartItem(key: ID!): CartItem + + """ + Connection between the RootQuery type and the category type + """ + categories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToCategoryConnectionWhereArgs + ): RootQueryToCategoryConnection + + """ + A 0bject + """ + category( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: CategoryIdType + ): Category + + """ + Returns a Comment + """ + comment( + """ + Unique identifier for the comment node. + """ + id: ID! + ): Comment + + """ + Connection between the RootQuery type and the Comment type + """ + comments( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToCommentConnectionWhereArgs + ): RootQueryToCommentConnection + + """ + A node used to manage content + """ + contentNode( + """ + Unique identifier for the content node. + """ + id: ID! + + """ + Type of unique identifier to fetch a content node by. Default is Global ID + """ + idType: ContentNodeIdTypeEnum + + """ + The content type the node is used for. Required when idType is set to "name" or "slug" + """ + contentType: ContentTypeEnum + + """ + Whether to return the node as a preview instance + """ + asPreview: Boolean + ): ContentNode + + """ + Connection between the RootQuery type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToContentNodeConnectionWhereArgs + ): RootQueryToContentNodeConnection + + """ + Fetch a Content Type node by unique Identifier + """ + contentType( + """ + Unique Identifier for the Content Type node. + """ + id: ID! + + """ + Type of unique identifier to fetch a content type by. Default is Global ID + """ + idType: ContentTypeIdTypeEnum + ): ContentType + + """ + Connection between the RootQuery type and the ContentType type + """ + contentTypes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RootQueryToContentTypeConnection + + """ + A coupon object + """ + coupon( + id: ID! + + """ + Type of ID being used identify coupon + """ + idType: CouponIdTypeEnum + ): Coupon + + """ + Connection between the RootQuery type and the Coupon type + """ + coupons( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToCouponConnectionWhereArgs + ): RootQueryToCouponConnection + + """ + A customer object + """ + customer( + """ + Get the customer by their global ID + """ + id: ID + + """ + Get the customer by their database ID + """ + customerId: Int + ): Customer + + """ + Connection between the RootQuery type and the Customer type + """ + customers( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToCustomerConnectionWhereArgs + ): RootQueryToCustomerConnection + + """ + Fields of the 'DiscussionSettings' settings group + """ + discussionSettings: DiscussionSettings + + """ + Fields of the 'GeneralSettings' settings group + """ + generalSettings: GeneralSettings + + """ + An object of the mediaItem Type. + """ + mediaItem( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: MediaItemIdType + + """ + Whether to return the node as a preview instance + """ + asPreview: Boolean + ): MediaItem + + """ + A mediaItem object + """ + mediaItemBy( + """ + Get the object by its global ID + """ + id: ID + + """ + Get the mediaItem by its database ID + """ + mediaItemId: Int + + """ + Get the mediaItem by its uri + """ + uri: String + + """ + Get the mediaItem by its slug (only available for non-hierarchical types) + """ + slug: String + ): MediaItem + @deprecated( + reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")" + ) + + """ + Connection between the RootQuery type and the mediaItem type + """ + mediaItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToMediaItemConnectionWhereArgs + ): RootQueryToMediaItemConnection + + """ + A WordPress navigation menu + """ + menu( + """ + The globally unique identifier of the menu. + """ + id: ID! + + """ + Type of unique identifier to fetch a menu by. Default is Global ID + """ + idType: MenuNodeIdTypeEnum + ): Menu + + """ + A WordPress navigation menu item + """ + menuItem( + """ + The globally unique identifier of the menu item. + """ + id: ID! + + """ + Type of unique identifier to fetch a menu item by. Default is Global ID + """ + idType: MenuItemNodeIdTypeEnum + ): MenuItem + + """ + Connection between the RootQuery type and the MenuItem type + """ + menuItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToMenuItemConnectionWhereArgs + ): RootQueryToMenuItemConnection + + """ + Connection between the RootQuery type and the Menu type + """ + menus( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToMenuConnectionWhereArgs + ): RootQueryToMenuConnection + + """ + Fetches an object given its ID + """ + node( + """ + The unique identifier of the node + """ + id: ID + ): Node + + """ + Fetches an object given its Unique Resource Identifier + """ + nodeByUri( + """ + Unique Resource Identifier in the form of a path or permalink for a node. Ex: "/hello-world" + """ + uri: String! + ): UniformResourceIdentifiable + + """ + A order object + """ + order( + """ + The ID for identifying the order + """ + id: ID + + """ + Type of ID being used identify order + """ + idType: OrderIdTypeEnum + ): Order + + """ + Connection between the RootQuery type and the Order type + """ + orders( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToOrderConnectionWhereArgs + ): RootQueryToOrderConnection + + """ + A 0bject + """ + paColor( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: PaColorIdType + ): PaColor + + """ + Connection between the RootQuery type and the paColor type + """ + paColors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToPaColorConnectionWhereArgs + ): RootQueryToPaColorConnection + + """ + A 0bject + """ + paSize( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: PaSizeIdType + ): PaSize + + """ + Connection between the RootQuery type and the paSize type + """ + paSizes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToPaSizeConnectionWhereArgs + ): RootQueryToPaSizeConnection + + """ + An object of the page Type. + """ + page( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: PageIdType + + """ + Whether to return the node as a preview instance + """ + asPreview: Boolean + ): Page + + """ + A page object + """ + pageBy( + """ + Get the object by its global ID + """ + id: ID + + """ + Get the page by its database ID + """ + pageId: Int + + """ + Get the page by its uri + """ + uri: String + ): Page + @deprecated( + reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")" + ) + + """ + Connection between the RootQuery type and the page type + """ + pages( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToPageConnectionWhereArgs + ): RootQueryToPageConnection + + """ + Connection between the RootQuery type and the PaymentGateway type + """ + paymentGateways( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToPaymentGatewayConnectionWhereArgs + ): RootQueryToPaymentGatewayConnection + + """ + A WordPress plugin + """ + plugin( + """ + The globally unique identifier of the plugin. + """ + id: ID! + ): Plugin + + """ + Connection between the RootQuery type and the Plugin type + """ + plugins( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RootQueryToPluginConnection + + """ + An object of the post Type. + """ + post( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: PostIdType + + """ + Whether to return the node as a preview instance + """ + asPreview: Boolean + ): Post + + """ + A post object + """ + postBy( + """ + Get the object by its global ID + """ + id: ID + + """ + Get the post by its database ID + """ + postId: Int + + """ + Get the post by its uri + """ + uri: String + + """ + Get the post by its slug (only available for non-hierarchical types) + """ + slug: String + ): Post + @deprecated( + reason: "Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "")" + ) + + """ + A 0bject + """ + postFormat( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: PostFormatIdType + ): PostFormat + + """ + Connection between the RootQuery type and the postFormat type + """ + postFormats( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToPostFormatConnectionWhereArgs + ): RootQueryToPostFormatConnection + + """ + Connection between the RootQuery type and the post type + """ + posts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToPostConnectionWhereArgs + ): RootQueryToPostConnection + + """ + A product object + """ + product( + """ + The ID for identifying the product + """ + id: ID! + + """ + Type of ID being used identify product + """ + idType: ProductIdTypeEnum + ): Product + + """ + Connection between the RootQuery type and the productCategory type + """ + productCategories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToProductCategoryConnectionWhereArgs + ): RootQueryToProductCategoryConnection + + """ + A 0bject + """ + productCategory( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: ProductCategoryIdType + ): ProductCategory + + """ + A 0bject + """ + productTag( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: ProductTagIdType + ): ProductTag + + """ + Connection between the RootQuery type and the productTag type + """ + productTags( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToProductTagConnectionWhereArgs + ): RootQueryToProductTagConnection + + """ + A 0bject + """ + productType( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: ProductTypeIdType + ): ProductType + + """ + Connection between the RootQuery type and the productType type + """ + productTypes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToProductTypeConnectionWhereArgs + ): RootQueryToProductTypeConnection + + """ + A product variation object + """ + productVariation( + """ + The ID for identifying the product variation + """ + id: ID + + """ + Type of ID being used identify product variation + """ + idType: ProductVariationIdTypeEnum + ): ProductVariation + + """ + Connection between the RootQuery type and the Product type + """ + products( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToProductConnectionWhereArgs + ): RootQueryToProductConnection + + """ + Fields of the 'ReadingSettings' settings group + """ + readingSettings: ReadingSettings + + """ + A refund object + """ + refund( + """ + The ID for identifying the refund + """ + id: ID! + + """ + Type of ID being used identify refund + """ + idType: RefundIdTypeEnum + ): Refund + + """ + Connection between the RootQuery type and the Refund type + """ + refunds( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToRefundConnectionWhereArgs + ): RootQueryToRefundConnection + + """ + Connection between the RootQuery type and the EnqueuedScript type + """ + registeredScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RootQueryToEnqueuedScriptConnection + + """ + Connection between the RootQuery type and the EnqueuedStylesheet type + """ + registeredStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RootQueryToEnqueuedStylesheetConnection + + """ + Connection between the RootQuery type and the ContentRevisionUnion type + """ + revisions( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToContentRevisionUnionConnectionWhereArgs + ): RootQueryToContentRevisionUnionConnection + + """ + A 0bject + """ + shippingClass( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: ShippingClassIdType + ): ShippingClass + + """ + Connection between the RootQuery type and the shippingClass type + """ + shippingClasses( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToShippingClassConnectionWhereArgs + ): RootQueryToShippingClassConnection + + """ + A shipping method object + """ + shippingMethod( + """ + The ID for identifying the shipping method + """ + id: ID + + """ + Type of ID being used identify product variation + """ + idType: ShippingMethodIdTypeEnum + ): ShippingMethod + + """ + Connection between the RootQuery type and the ShippingMethod type + """ + shippingMethods( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RootQueryToShippingMethodConnection + + """ + A 0bject + """ + tag( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: TagIdType + ): Tag + + """ + Connection between the RootQuery type and the tag type + """ + tags( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToTagConnectionWhereArgs + ): RootQueryToTagConnection + + """ + A tax rate object + """ + taxRate( + """ + The ID for identifying the tax rate + """ + id: ID + + """ + Type of ID being used identify tax rate + """ + idType: TaxRateIdTypeEnum + ): TaxRate + + """ + Connection between the RootQuery type and the TaxRate type + """ + taxRates( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToTaxRateConnectionWhereArgs + ): RootQueryToTaxRateConnection + + """ + Connection between the RootQuery type and the Taxonomy type + """ + taxonomies( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RootQueryToTaxonomyConnection + + """ + Fetch a Taxonomy node by unique Identifier + """ + taxonomy( + """ + Unique Identifier for the Taxonomy node. + """ + id: ID! + + """ + Type of unique identifier to fetch a taxonomy by. Default is Global ID + """ + idType: TaxonomyIdTypeEnum + ): Taxonomy + + """ + A node in a taxonomy used to group and relate content nodes + """ + termNode( + """ + Unique identifier for the term node. + """ + id: ID! + + """ + Type of unique identifier to fetch a term node by. Default is Global ID + """ + idType: TermNodeIdTypeEnum + + """ + The taxonomy of the tern node. Required when idType is set to "name" or "slug" + """ + taxonomy: TaxonomyEnum + ): TermNode + + """ + Connection between the RootQuery type and the TermNode type + """ + terms( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToTermNodeConnectionWhereArgs + ): RootQueryToTermNodeConnection + + """ + A Theme object + """ + theme( + """ + The globally unique identifier of the theme. + """ + id: ID! + ): Theme + + """ + Connection between the RootQuery type and the Theme type + """ + themes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RootQueryToThemeConnection + + """ + Returns a user + """ + user( + """ + The globally unique identifier of the user. + """ + id: ID! + + """ + Type of unique identifier to fetch a user by. Default is Global ID + """ + idType: UserNodeIdTypeEnum + ): User + + """ + Returns a user role + """ + userRole( + """ + The globally unique identifier of the user object. + """ + id: ID! + ): UserRole + + """ + Connection between the RootQuery type and the UserRole type + """ + userRoles( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): RootQueryToUserRoleConnection + + """ + Connection between the RootQuery type and the User type + """ + users( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToUserConnectionWhereArgs + ): RootQueryToUserConnection + + """ + Returns the current user + """ + viewer: User + + """ + A 0bject + """ + visibleProduct( + """ + The globally unique identifier of the object. + """ + id: ID! + + """ + Type of unique identifier to fetch by. Default is Global ID + """ + idType: VisibleProductIdType + ): VisibleProduct + + """ + Connection between the RootQuery type and the visibleProduct type + """ + visibleProducts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: RootQueryToVisibleProductConnectionWhereArgs + ): RootQueryToVisibleProductConnection + + """ + Fields of the 'WritingSettings' settings group + """ + writingSettings: WritingSettings +} + +""" +Connection between the RootQuery type and the category type +""" +type RootQueryToCategoryConnection { + """ + Edges for the RootQueryToCategoryConnection connection + """ + edges: [RootQueryToCategoryConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Category] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToCategoryConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Category +} + +""" +Arguments for filtering the RootQueryToCategoryConnection connection +""" +input RootQueryToCategoryConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the Comment type +""" +type RootQueryToCommentConnection { + """ + Edges for the RootQueryToCommentConnection connection + """ + edges: [RootQueryToCommentConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Comment] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToCommentConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Comment +} + +""" +Arguments for filtering the RootQueryToCommentConnection connection +""" +input RootQueryToCommentConnectionWhereArgs { + """ + Comment author email address. + """ + authorEmail: String + + """ + Array of author IDs to include comments for. + """ + authorIn: [ID] + + """ + Array of author IDs to exclude comments for. + """ + authorNotIn: [ID] + + """ + Comment author URL. + """ + authorUrl: String + + """ + Array of comment IDs to include. + """ + commentIn: [ID] + + """ + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + """ + commentNotIn: [ID] + + """ + Include comments of a given type. + """ + commentType: String + + """ + Include comments from a given array of comment types. + """ + commentTypeIn: [String] + + """ + Exclude comments from a given array of comment types. + """ + commentTypeNotIn: String + + """ + Content object author ID to limit results by. + """ + contentAuthor: [ID] + + """ + Array of author IDs to retrieve comments for. + """ + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID +} + +""" +Connection between the RootQuery type and the ContentNode type +""" +type RootQueryToContentNodeConnection { + """ + Edges for the RootQueryToContentNodeConnection connection + """ + edges: [RootQueryToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the RootQueryToContentNodeConnection connection +""" +input RootQueryToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypeEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the RootQuery type and the ContentRevisionUnion type +""" +type RootQueryToContentRevisionUnionConnection { + """ + Edges for the RootQueryToContentRevisionUnionConnection connection + """ + edges: [RootQueryToContentRevisionUnionConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentRevisionUnion] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToContentRevisionUnionConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentRevisionUnion +} + +""" +Arguments for filtering the RootQueryToContentRevisionUnionConnection connection +""" +input RootQueryToContentRevisionUnionConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypeEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the RootQuery type and the ContentType type +""" +type RootQueryToContentTypeConnection { + """ + Edges for the RootQueryToContentTypeConnection connection + """ + edges: [RootQueryToContentTypeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentType] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToContentTypeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentType +} + +""" +Connection between the RootQuery type and the Coupon type +""" +type RootQueryToCouponConnection { + """ + Edges for the RootQueryToCouponConnection connection + """ + edges: [RootQueryToCouponConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Coupon] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToCouponConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Coupon +} + +""" +Arguments for filtering the RootQueryToCouponConnection connection +""" +input RootQueryToCouponConnectionWhereArgs { + """ + Limit result set to resources with a specific code. + """ + code: String + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostTypeOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit results to those matching a string. + """ + search: String +} + +""" +Connection between the RootQuery type and the Customer type +""" +type RootQueryToCustomerConnection { + """ + Edges for the RootQueryToCustomerConnection connection + """ + edges: [RootQueryToCustomerConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Customer] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToCustomerConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Customer +} + +""" +Arguments for filtering the RootQueryToCustomerConnection connection +""" +input RootQueryToCustomerConnectionWhereArgs { + """ + Limit result set to resources with a specific email. + """ + email: String + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Order of results. + """ + order: OrderEnum + + """ + Order results by a specific field. + """ + orderby: CustomerConnectionOrderbyEnum + + """ + Limit results to those matching a string. + """ + search: String +} + +""" +Connection between the RootQuery type and the EnqueuedScript type +""" +type RootQueryToEnqueuedScriptConnection { + """ + Edges for the RootQueryToEnqueuedScriptConnection connection + """ + edges: [RootQueryToEnqueuedScriptConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [EnqueuedScript] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToEnqueuedScriptConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: EnqueuedScript +} + +""" +Connection between the RootQuery type and the EnqueuedStylesheet type +""" +type RootQueryToEnqueuedStylesheetConnection { + """ + Edges for the RootQueryToEnqueuedStylesheetConnection connection + """ + edges: [RootQueryToEnqueuedStylesheetConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [EnqueuedStylesheet] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToEnqueuedStylesheetConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: EnqueuedStylesheet +} + +""" +Connection between the RootQuery type and the mediaItem type +""" +type RootQueryToMediaItemConnection { + """ + Edges for the RootQueryToMediaItemConnection connection + """ + edges: [RootQueryToMediaItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [MediaItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToMediaItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: MediaItem +} + +""" +Arguments for filtering the RootQueryToMediaItemConnection connection +""" +input RootQueryToMediaItemConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the RootQuery type and the Menu type +""" +type RootQueryToMenuConnection { + """ + Edges for the RootQueryToMenuConnection connection + """ + edges: [RootQueryToMenuConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Menu] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToMenuConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Menu +} + +""" +Arguments for filtering the RootQueryToMenuConnection connection +""" +input RootQueryToMenuConnectionWhereArgs { + """ + The ID of the object + """ + id: Int + + """ + The menu location for the menu being queried + """ + location: MenuLocationEnum + + """ + The slug of the menu to query items for + """ + slug: String +} + +""" +Connection between the RootQuery type and the MenuItem type +""" +type RootQueryToMenuItemConnection { + """ + Edges for the RootQueryToMenuItemConnection connection + """ + edges: [RootQueryToMenuItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [MenuItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToMenuItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: MenuItem +} + +""" +Arguments for filtering the RootQueryToMenuItemConnection connection +""" +input RootQueryToMenuItemConnectionWhereArgs { + """ + The ID of the object + """ + id: Int + + """ + The menu location for the menu being queried + """ + location: MenuLocationEnum + + """ + The database ID of the parent menu object + """ + parentDatabaseId: Int + + """ + The ID of the parent menu object + """ + parentId: ID +} + +""" +Connection between the RootQuery type and the Order type +""" +type RootQueryToOrderConnection { + """ + Edges for the RootQueryToOrderConnection connection + """ + edges: [RootQueryToOrderConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Order] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToOrderConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Order +} + +""" +Arguments for filtering the RootQueryToOrderConnection connection +""" +input RootQueryToOrderConnectionWhereArgs { + """ + Limit result set to orders assigned a specific customer. + """ + customerId: Int + + """ + Limit result set to orders assigned a specific group of customers. + """ + customersIn: [Int] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + What paramater to use to order the objects by. + """ + orderby: [OrdersOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to orders assigned a specific product. + """ + productId: Int + + """ + Limit results to those matching a string. + """ + search: String + + """ + Limit result set to orders assigned a specific status. + """ + statuses: [OrderStatusEnum] +} + +""" +Connection between the RootQuery type and the paColor type +""" +type RootQueryToPaColorConnection { + """ + Edges for the RootQueryToPaColorConnection connection + """ + edges: [RootQueryToPaColorConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [PaColor] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToPaColorConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: PaColor +} + +""" +Arguments for filtering the RootQueryToPaColorConnection connection +""" +input RootQueryToPaColorConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the paSize type +""" +type RootQueryToPaSizeConnection { + """ + Edges for the RootQueryToPaSizeConnection connection + """ + edges: [RootQueryToPaSizeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [PaSize] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToPaSizeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: PaSize +} + +""" +Arguments for filtering the RootQueryToPaSizeConnection connection +""" +input RootQueryToPaSizeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the page type +""" +type RootQueryToPageConnection { + """ + Edges for the RootQueryToPageConnection connection + """ + edges: [RootQueryToPageConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Page] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToPageConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Page +} + +""" +Arguments for filtering the RootQueryToPageConnection connection +""" +input RootQueryToPageConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the RootQuery type and the PaymentGateway type +""" +type RootQueryToPaymentGatewayConnection { + """ + Edges for the RootQueryToPaymentGatewayConnection connection + """ + edges: [RootQueryToPaymentGatewayConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [PaymentGateway] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToPaymentGatewayConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: PaymentGateway +} + +""" +Arguments for filtering the RootQueryToPaymentGatewayConnection connection +""" +input RootQueryToPaymentGatewayConnectionWhereArgs { + """ + Include disabled payment gateways? + """ + all: Boolean +} + +""" +Connection between the RootQuery type and the Plugin type +""" +type RootQueryToPluginConnection { + """ + Edges for the RootQueryToPluginConnection connection + """ + edges: [RootQueryToPluginConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Plugin] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToPluginConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Plugin +} + +""" +Connection between the RootQuery type and the post type +""" +type RootQueryToPostConnection { + """ + Edges for the RootQueryToPostConnection connection + """ + edges: [RootQueryToPostConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Post] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToPostConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Post +} + +""" +Arguments for filtering the RootQueryToPostConnection connection +""" +input RootQueryToPostConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Category ID + """ + categoryId: Int + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryIn: [ID] + + """ + Use Category Slug + """ + categoryName: String + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Tag Slug + """ + tag: String + + """ + Use Tag ID + """ + tagId: String + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagIn: [ID] + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagNotIn: [ID] + + """ + Array of tag slugs, used to display objects from one tag OR another + """ + tagSlugAnd: [String] + + """ + Array of tag slugs, used to exclude objects in specified tags + """ + tagSlugIn: [String] + + """ + Title of the object + """ + title: String +} + +""" +Connection between the RootQuery type and the postFormat type +""" +type RootQueryToPostFormatConnection { + """ + Edges for the RootQueryToPostFormatConnection connection + """ + edges: [RootQueryToPostFormatConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [PostFormat] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToPostFormatConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: PostFormat +} + +""" +Arguments for filtering the RootQueryToPostFormatConnection connection +""" +input RootQueryToPostFormatConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the productCategory type +""" +type RootQueryToProductCategoryConnection { + """ + Edges for the RootQueryToProductCategoryConnection connection + """ + edges: [RootQueryToProductCategoryConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductCategory] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToProductCategoryConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductCategory +} + +""" +Arguments for filtering the RootQueryToProductCategoryConnection connection +""" +input RootQueryToProductCategoryConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the Product type +""" +type RootQueryToProductConnection { + """ + Edges for the RootQueryToProductConnection connection + """ + edges: [RootQueryToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the RootQueryToProductConnection connection +""" +input RootQueryToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the RootQuery type and the productTag type +""" +type RootQueryToProductTagConnection { + """ + Edges for the RootQueryToProductTagConnection connection + """ + edges: [RootQueryToProductTagConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductTag] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToProductTagConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductTag +} + +""" +Arguments for filtering the RootQueryToProductTagConnection connection +""" +input RootQueryToProductTagConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the productType type +""" +type RootQueryToProductTypeConnection { + """ + Edges for the RootQueryToProductTypeConnection connection + """ + edges: [RootQueryToProductTypeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductType] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToProductTypeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductType +} + +""" +Arguments for filtering the RootQueryToProductTypeConnection connection +""" +input RootQueryToProductTypeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the Refund type +""" +type RootQueryToRefundConnection { + """ + Edges for the RootQueryToRefundConnection connection + """ + edges: [RootQueryToRefundConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Refund] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToRefundConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Refund +} + +""" +Arguments for filtering the RootQueryToRefundConnection connection +""" +input RootQueryToRefundConnectionWhereArgs { + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to refunds from a specific group of order IDs. + """ + orderIn: [Int] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostTypeOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit results to those matching a string. + """ + search: String + + """ + Limit result set to refunds assigned a specific status. + """ + statuses: [String] +} + +""" +Connection between the RootQuery type and the shippingClass type +""" +type RootQueryToShippingClassConnection { + """ + Edges for the RootQueryToShippingClassConnection connection + """ + edges: [RootQueryToShippingClassConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ShippingClass] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToShippingClassConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ShippingClass +} + +""" +Arguments for filtering the RootQueryToShippingClassConnection connection +""" +input RootQueryToShippingClassConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the ShippingMethod type +""" +type RootQueryToShippingMethodConnection { + """ + Edges for the RootQueryToShippingMethodConnection connection + """ + edges: [RootQueryToShippingMethodConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ShippingMethod] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToShippingMethodConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ShippingMethod +} + +""" +Connection between the RootQuery type and the tag type +""" +type RootQueryToTagConnection { + """ + Edges for the RootQueryToTagConnection connection + """ + edges: [RootQueryToTagConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Tag] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToTagConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Tag +} + +""" +Arguments for filtering the RootQueryToTagConnection connection +""" +input RootQueryToTagConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the TaxRate type +""" +type RootQueryToTaxRateConnection { + """ + Edges for the RootQueryToTaxRateConnection connection + """ + edges: [RootQueryToTaxRateConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [TaxRate] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToTaxRateConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: TaxRate +} + +""" +Arguments for filtering the RootQueryToTaxRateConnection connection +""" +input RootQueryToTaxRateConnectionWhereArgs { + """ + Sort by tax class. + """ + class: TaxClassEnum + + """ + What paramater to use to order the objects by. + """ + orderby: [TaxRateConnectionOrderbyInput] + + """ + Filter results by a post code. + """ + postCode: String + + """ + Filter results by a group of post codes. + """ + postCodeIn: [String] +} + +""" +Connection between the RootQuery type and the Taxonomy type +""" +type RootQueryToTaxonomyConnection { + """ + Edges for the RootQueryToTaxonomyConnection connection + """ + edges: [RootQueryToTaxonomyConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Taxonomy] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToTaxonomyConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Taxonomy +} + +""" +Connection between the RootQuery type and the TermNode type +""" +type RootQueryToTermNodeConnection { + """ + Edges for the RootQueryToTermNodeConnection connection + """ + edges: [RootQueryToTermNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [TermNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToTermNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: TermNode +} + +""" +Arguments for filtering the RootQueryToTermNodeConnection connection +""" +input RootQueryToTermNodeConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + The Taxonomy to filter terms by + """ + taxonomies: [TaxonomyEnum] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Connection between the RootQuery type and the Theme type +""" +type RootQueryToThemeConnection { + """ + Edges for the RootQueryToThemeConnection connection + """ + edges: [RootQueryToThemeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Theme] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToThemeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Theme +} + +""" +Connection between the RootQuery type and the User type +""" +type RootQueryToUserConnection { + """ + Edges for the RootQueryToUserConnection connection + """ + edges: [RootQueryToUserConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [User] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToUserConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: User +} + +""" +Arguments for filtering the RootQueryToUserConnection connection +""" +input RootQueryToUserConnectionWhereArgs { + """ + Array of userIds to exclude. + """ + exclude: [Int] + + """ + Pass an array of post types to filter results to users who have published posts in those post types. + """ + hasPublishedPosts: [ContentTypeEnum] + + """ + Array of userIds to include. + """ + include: [Int] + + """ + The user login. + """ + login: String + + """ + An array of logins to include. Users matching one of these logins will be included in results. + """ + loginIn: [String] + + """ + An array of logins to exclude. Users matching one of these logins will not be included in results. + """ + loginNotIn: [String] + + """ + The user nicename. + """ + nicename: String + + """ + An array of nicenames to include. Users matching one of these nicenames will be included in results. + """ + nicenameIn: [String] + + """ + An array of nicenames to exclude. Users matching one of these nicenames will not be included in results. + """ + nicenameNotIn: [String] + + """ + What paramater to use to order the objects by. + """ + orderby: [UsersConnectionOrderbyInput] + + """ + An array of role names that users must match to be included in results. Note that this is an inclusive list: users must match *each* role. + """ + role: UserRoleEnum + + """ + An array of role names. Matched users must have at least one of these roles. + """ + roleIn: [UserRoleEnum] + + """ + An array of role names to exclude. Users matching one or more of these roles will not be included in results. + """ + roleNotIn: [UserRoleEnum] + + """ + Search keyword. Searches for possible string matches on columns. When "searchColumns" is left empty, it tries to determine which column to search in based on search string. + """ + search: String + + """ + Array of column names to be searched. Accepts 'ID', 'login', 'nicename', 'email', 'url'. + """ + searchColumns: [UsersConnectionSearchColumnEnum] +} + +""" +Connection between the RootQuery type and the UserRole type +""" +type RootQueryToUserRoleConnection { + """ + Edges for the RootQueryToUserRoleConnection connection + """ + edges: [RootQueryToUserRoleConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [UserRole] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToUserRoleConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: UserRole +} + +""" +Connection between the RootQuery type and the visibleProduct type +""" +type RootQueryToVisibleProductConnection { + """ + Edges for the RootQueryToVisibleProductConnection connection + """ + edges: [RootQueryToVisibleProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [VisibleProduct] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type RootQueryToVisibleProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: VisibleProduct +} + +""" +Arguments for filtering the RootQueryToVisibleProductConnection connection +""" +input RootQueryToVisibleProductConnectionWhereArgs { + """ + Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. + """ + cacheDomain: String + + """ + Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. + """ + childOf: Int + + """ + True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. + """ + childless: Boolean + + """ + Retrieve terms where the description is LIKE the input value. Default empty. + """ + descriptionLike: String + + """ + Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. + """ + exclude: [ID] + + """ + Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. + """ + excludeTree: [ID] + + """ + Whether to hide terms not assigned to any posts. Accepts true or false. Default false + """ + hideEmpty: Boolean + + """ + Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. + """ + hierarchical: Boolean + + """ + Array of term ids to include. Default empty array. + """ + include: [ID] + + """ + Array of names to return term(s) for. Default empty. + """ + name: [String] + + """ + Retrieve terms where the name is LIKE the input value. Default empty. + """ + nameLike: String + + """ + Array of object IDs. Results will be limited to terms associated with these objects. + """ + objectIds: [ID] + + """ + Direction the connection should be ordered in + """ + order: OrderEnum + + """ + Field(s) to order terms by. Defaults to 'name'. + """ + orderby: TermObjectsConnectionOrderbyEnum + + """ + Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. + """ + padCounts: Boolean + + """ + Parent term ID to retrieve direct-child terms of. Default empty. + """ + parent: Int + + """ + Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. + """ + search: String + + """ + Array of slugs to return term(s) for. Default empty. + """ + slug: [String] + + """ + Array of term taxonomy IDs, to match when querying terms. + """ + termTaxonomId: [ID] + + """ + Whether to prime meta caches for matched terms. Default true. + """ + updateTermMetaCache: Boolean +} + +""" +Input for the sendPasswordResetEmail mutation +""" +input SendPasswordResetEmailInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + A string that contains the user's username or email address. + """ + username: String! +} + +""" +The payload for the sendPasswordResetEmail mutation +""" +type SendPasswordResetEmailPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The user that the password reset email was sent to + """ + user: User +} + +""" +All of the registered settings +""" +type Settings { + """ + Settings of the the string Settings Group + """ + discussionSettingsDefaultCommentStatus: String + + """ + Settings of the the string Settings Group + """ + discussionSettingsDefaultPingStatus: String + + """ + Settings of the the string Settings Group + """ + generalSettingsDateFormat: String + + """ + Settings of the the string Settings Group + """ + generalSettingsDescription: String + + """ + Settings of the the string Settings Group + """ + generalSettingsEmail: String + + """ + Settings of the the string Settings Group + """ + generalSettingsLanguage: String + + """ + Settings of the the integer Settings Group + """ + generalSettingsStartOfWeek: Int + + """ + Settings of the the string Settings Group + """ + generalSettingsTimeFormat: String + + """ + Settings of the the string Settings Group + """ + generalSettingsTimezone: String + + """ + Settings of the the string Settings Group + """ + generalSettingsTitle: String + + """ + Settings of the the string Settings Group + """ + generalSettingsUrl: String + + """ + Settings of the the integer Settings Group + """ + readingSettingsPostsPerPage: Int + + """ + Settings of the the integer Settings Group + """ + writingSettingsDefaultCategory: Int + + """ + Settings of the the string Settings Group + """ + writingSettingsDefaultPostFormat: String + + """ + Settings of the the boolean Settings Group + """ + writingSettingsUseSmilies: Boolean +} + +""" +The shippingClass type +""" +type ShippingClass implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the shippingClass type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ShippingClassToContentNodeConnectionWhereArgs + ): ShippingClassToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + The id field matches the WP_Post->ID field. + """ + shippingClassId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + Connection between the shippingClass type and the Taxonomy type + """ + taxonomy: ShippingClassToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum ShippingClassIdType { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the shippingClass type and the ContentNode type +""" +type ShippingClassToContentNodeConnection { + """ + Edges for the ShippingClassToContentNodeConnection connection + """ + edges: [ShippingClassToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type ShippingClassToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the ShippingClassToContentNodeConnection connection +""" +input ShippingClassToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfShippingClassEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the shippingClass type and the Taxonomy type +""" +type ShippingClassToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +a shipping line object +""" +type ShippingLine { + """ + The ID of the order item in the database + """ + databaseId: Int + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Shipping Line's shipping method name + """ + methodTitle: String + + """ + The Id of the order the order item belongs to. + """ + orderId: Int + + """ + Shipping Line's shipping method + """ + shippingMethod: ShippingMethod + + """ + Line tax class + """ + taxClass: TaxClassEnum + + """ + Line taxes + """ + taxes: [OrderItemTax] + + """ + Line total (after discounts) + """ + total: String + + """ + Line total tax (after discounts) + """ + totalTax: String +} + +""" +Shipping lines data. +""" +input ShippingLineInput { + """ + Shipping Line ID + """ + id: ID + + """ + Shipping instance ID. + """ + instanceId: String + + """ + Meta data. + """ + metaData: [MetaDataInput] + + """ + Shipping method ID. + """ + methodId: String! + + """ + Shipping method name. + """ + methodTitle: String! + + """ + Line total (after discounts). + """ + total: String! +} + +""" +A shipping method object +""" +type ShippingMethod implements Node { + """ + The ID of the shipping method in the database + """ + databaseId: ID! + + """ + Shipping method description. + """ + description: String + + """ + The globally unique identifier for the tax rate. + """ + id: ID! + + """ + Shipping method title. + """ + title: String +} + +""" +The Type of Identifier used to fetch a single Shipping Method. Default is ID. +""" +enum ShippingMethodIdTypeEnum { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID +} + +""" +Shipping package object +""" +type ShippingPackage { + """ + Shipping package details + """ + packageDetails: String + + """ + Shipping package rates + """ + rates: [ShippingRate] + + """ + This shipping package supports the shipping calculator. + """ + supportsShippingCalculator: Boolean +} + +""" +Shipping rate object +""" +type ShippingRate { + """ + Shipping rate cost + """ + cost: String + + """ + Shipping rate ID + """ + id: ID! + + """ + Shipping instance ID + """ + instanceId: Int + + """ + Shipping rate label + """ + label: String + + """ + Shipping method ID + """ + methodId: ID! +} + +""" +A simple attribute object +""" +type SimpleAttribute implements Attribute { + """ + Name of attribute + """ + name: String + + """ + Selected value of attribute + """ + value: String +} + +""" +A product object +""" +type SimpleProduct implements Node & Product & NodeWithComments & NodeWithContentEditor & NodeWithFeaturedImage & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the Product type and the ProductAttribute type + """ + attributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductAttributeConnectionWhereArgs + ): ProductToProductAttributeConnection + + """ + Product average count + """ + averageRating: Float + + """ + Product backorders status + """ + backorders: BackordersEnum + + """ + Can product be backordered? + """ + backordersAllowed: Boolean + + """ + Catalog visibility + """ + catalogVisibility: CatalogVisibilityEnum + + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String + + """ + The content of the post. + """ + content( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + Connection between the SimpleProduct type and the Product type + """ + crossSell( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: SimpleProductToProductConnectionWhereArgs + ): SimpleProductToProductConnection + + """ + The ID of the product in the database + """ + databaseId: Int! + + """ + Date product created + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + Date on sale from + """ + dateOnSaleFrom: String + + """ + Date on sale to + """ + dateOnSaleTo: String + + """ + Connection between the SimpleProduct type and the VariationAttribute type + """ + defaultAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): SimpleProductToVariationAttributeConnection + + """ + Product description + """ + description( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + Download expiry + """ + downloadExpiry: Int + + """ + Download limit + """ + downloadLimit: Int + + """ + Is downloadable? + """ + downloadable: Boolean + + """ + Product downloads + """ + downloads: [ProductDownload] + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + If the product is featured + """ + featured: Boolean + + """ + Connection between the NodeWithFeaturedImage type and the MediaItem type + """ + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int + + """ + Globally unique ID of the featured image assigned to the node + """ + featuredImageId: ID + + """ + Connection between the Product type and the MediaItem type + """ + galleryImages( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToMediaItemConnectionWhereArgs + ): ProductToMediaItemConnection + + """ + Connection between the Product type and the GlobalProductAttribute type + """ + globalAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToGlobalProductAttributeConnectionWhereArgs + ): ProductToGlobalProductAttributeConnection + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + Product's height + """ + height: String + + """ + The globally unique identifier for the product + """ + id: ID! + + """ + Main image + """ + image: MediaItem + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + Product's length + """ + length: String + + """ + The permalink of the post + """ + link: String + + """ + Connection between the Product type and the LocalProductAttribute type + """ + localAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToLocalProductAttributeConnectionWhereArgs + ): ProductToLocalProductAttributeConnection + + """ + If product manage stock + """ + manageStock: Boolean + + """ + Menu order + """ + menuOrder: Int + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Date product last updated + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + Product name + """ + name: String + + """ + Is product on sale? + """ + onSale: Boolean + + """ + Connection between the Product type and the paColor type + """ + paColors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaColorConnectionWhereArgs + ): ProductToPaColorConnection + + """ + Connection between the Product type and the paSize type + """ + paSizes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaSizeConnectionWhereArgs + ): ProductToPaSizeConnection + + """ + Parent product + """ + parent: Product + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + Product's active price + """ + price( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Product type and the productCategory type + """ + productCategories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductCategoryConnectionWhereArgs + ): ProductToProductCategoryConnection + + """ + Connection between the Product type and the productTag type + """ + productTags( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTagConnectionWhereArgs + ): ProductToProductTagConnection + + """ + Connection between the Product type and the productType type + """ + productTypes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTypeConnectionWhereArgs + ): ProductToProductTypeConnection + + """ + Can product be purchased? + """ + purchasable: Boolean + + """ + Purchase note + """ + purchaseNote: String + + """ + Product's regular price + """ + regularPrice( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Product type and the Product type + """ + related( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductConnectionWhereArgs + ): ProductToProductConnection + + """ + Product review count + """ + reviewCount: Int + + """ + Connection between the Product type and the Comment type + """ + reviews( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToCommentConnectionWhereArgs + ): ProductToCommentConnection + + """ + If reviews are allowed + """ + reviewsAllowed: Boolean + + """ + Product's sale price + """ + salePrice( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + shipping class ID + """ + shippingClassId: Int + + """ + Connection between the Product type and the shippingClass type + """ + shippingClasses( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToShippingClassConnectionWhereArgs + ): ProductToShippingClassConnection + + """ + Does product need to be shipped? + """ + shippingRequired: Boolean + + """ + Is product shipping taxable? + """ + shippingTaxable: Boolean + + """ + Product short description + """ + shortDescription( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Product SKU + """ + sku: String + + """ + Product slug + """ + slug: String + + """ + If should be sold individually + """ + soldIndividually: Boolean + + """ + Product status + """ + status: String + + """ + Number of items available for sale + """ + stockQuantity: Int + + """ + Product stock status + """ + stockStatus: StockStatusEnum + + """ + Tax class + """ + taxClass: TaxClassEnum + + """ + Tax status + """ + taxStatus: TaxStatusEnum + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + Number total of sales + """ + totalSales: Int + + """ + Product type + """ + type: ProductTypesEnum + + """ + Connection between the Product type and the Product type + """ + upsell( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToUpsellConnectionWhereArgs + ): ProductToUpsellConnection + + """ + The unique resource identifier path + """ + uri: String + + """ + Is product virtual? + """ + virtual: Boolean + + """ + Connection between the Product type and the visibleProduct type + """ + visibleProducts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToVisibleProductConnectionWhereArgs + ): ProductToVisibleProductConnection + + """ + Product's weight + """ + weight: String + + """ + Product's width + """ + width: String +} + +""" +Connection between the SimpleProduct type and the Product type +""" +type SimpleProductToProductConnection { + """ + Edges for the SimpleProductToProductConnection connection + """ + edges: [SimpleProductToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type SimpleProductToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the SimpleProductToProductConnection connection +""" +input SimpleProductToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the SimpleProduct type and the VariationAttribute type +""" +type SimpleProductToVariationAttributeConnection { + """ + Edges for the SimpleProductToVariationAttributeConnection connection + """ + edges: [SimpleProductToVariationAttributeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [VariationAttribute] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type SimpleProductToVariationAttributeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: VariationAttribute +} + +""" +Product stock status enumeration +""" +enum StockStatusEnum { + IN_STOCK + ON_BACKORDER + OUT_OF_STOCK +} + +""" +The tag type +""" +type Tag implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier & MenuItemLinkable { + """ + Connection between the tag type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: TagToContentNodeConnectionWhereArgs + ): TagToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique resource identifier path + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + Connection between the tag type and the post type + """ + posts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: TagToPostConnectionWhereArgs + ): TagToPostConnection + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + The id field matches the WP_Post->ID field. + """ + tagId: Int @deprecated(reason: "Deprecated in favor of databaseId") + + """ + Connection between the tag type and the Taxonomy type + """ + taxonomy: TagToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum TagIdType { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the tag type and the ContentNode type +""" +type TagToContentNodeConnection { + """ + Edges for the TagToContentNodeConnection connection + """ + edges: [TagToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type TagToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the TagToContentNodeConnection connection +""" +input TagToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfTagEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the tag type and the post type +""" +type TagToPostConnection { + """ + Edges for the TagToPostConnection connection + """ + edges: [TagToPostConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Post] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type TagToPostConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Post +} + +""" +Arguments for filtering the TagToPostConnection connection +""" +input TagToPostConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Category ID + """ + categoryId: Int + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryIn: [ID] + + """ + Use Category Slug + """ + categoryName: String + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Tag Slug + """ + tag: String + + """ + Use Tag ID + """ + tagId: String + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagIn: [ID] + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagNotIn: [ID] + + """ + Array of tag slugs, used to display objects from one tag OR another + """ + tagSlugAnd: [String] + + """ + Array of tag slugs, used to exclude objects in specified tags + """ + tagSlugIn: [String] + + """ + Title of the object + """ + title: String +} + +""" +Connection between the tag type and the Taxonomy type +""" +type TagToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +Tax class enumeration +""" +enum TaxClassEnum { + """ + Inherits Tax class from cart + """ + INHERIT_CART + REDUCED_RATE + + """ + Standard Tax rate + """ + STANDARD + ZERO_RATE +} + +""" +a tax line object +""" +type TaxLine { + """ + The ID of the order item in the database + """ + databaseId: Int + + """ + Is this a compound tax rate? + """ + isCompound: Boolean + + """ + Tax rate label + """ + label: String + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + The Id of the order the order item belongs to. + """ + orderId: Int + + """ + Tax rate code/name + """ + rateCode: String + + """ + Tax line's shipping tax total + """ + shippingTaxTotal: String + + """ + Tax line's tax rate + """ + taxRate: TaxRate + + """ + Tax total (not including shipping taxes) + """ + taxTotal: String +} + +""" +A Tax rate object +""" +type TaxRate implements Node { + """ + City name. + """ + city: [String] + + """ + Tax class. Default is standard. + """ + class: TaxClassEnum + + """ + Whether or not this is a compound rate. + """ + compound: Boolean + + """ + Country ISO 3166 code. + """ + country: String + + """ + The ID of the customer in the database + """ + databaseId: Int + + """ + The globally unique identifier for the tax rate. + """ + id: ID! + + """ + Tax rate name. + """ + name: String + + """ + Indicates the order that will appear in queries. + """ + order: Int + + """ + Postcode/ZIP. + """ + postcode: [String] + + """ + Tax priority. + """ + priority: Int + + """ + Tax rate. + """ + rate: String + + """ + Whether or not this tax rate also gets applied to shipping. + """ + shipping: Boolean + + """ + State code. + """ + state: String +} + +""" +Field to order the connection by +""" +enum TaxRateConnectionOrderbyEnum { + ID + ORDER +} + +""" +Options for ordering the connection +""" +input TaxRateConnectionOrderbyInput { + field: TaxRateConnectionOrderbyEnum! + order: OrderEnum +} + +""" +The Type of Identifier used to fetch a single Tax rate. Default is ID. +""" +enum TaxRateIdTypeEnum { + """ + Identify a resource by the Database ID. + """ + DATABASE_ID + + """ + Identify a resource by the (hashed) Global ID. + """ + ID +} + +""" +Product tax status enumeration +""" +enum TaxStatusEnum { + NONE + SHIPPING + TAXABLE +} + +""" +A taxonomy object +""" +type Taxonomy implements Node { + """ + List of Content Types associated with the Taxonomy + """ + connectedContentTypes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TaxonomyToContentTypeConnection + + """ + Description of the taxonomy. This field is equivalent to WP_Taxonomy->description + """ + description: String + + """ + The plural name of the post type within the GraphQL Schema. + """ + graphqlPluralName: String + + """ + The singular name of the post type within the GraphQL Schema. + """ + graphqlSingleName: String + + """ + Whether the taxonomy is hierarchical + """ + hierarchical: Boolean + + """ + The globally unique identifier of the taxonomy object. + """ + id: ID! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Name of the taxonomy shown in the menu. Usually plural. + """ + label: String + + """ + The display name of the taxonomy. This field is equivalent to WP_Taxonomy->label + """ + name: String + + """ + Whether the taxonomy is publicly queryable + """ + public: Boolean + + """ + Name of content type to diplay in REST API "wp/v2" namespace. + """ + restBase: String + + """ + The REST Controller class assigned to handling this content type. + """ + restControllerClass: String + + """ + Whether to show the taxonomy as part of a tag cloud widget. This field is equivalent to WP_Taxonomy->show_tagcloud + """ + showCloud: Boolean + + """ + Whether to display a column for the taxonomy on its post type listing screens. + """ + showInAdminColumn: Boolean + + """ + Whether to add the post type to the GraphQL Schema. + """ + showInGraphql: Boolean + + """ + Whether to show the taxonomy in the admin menu + """ + showInMenu: Boolean + + """ + Whether the taxonomy is available for selection in navigation menus. + """ + showInNavMenus: Boolean + + """ + Whether to show the taxonomy in the quick/bulk edit panel. + """ + showInQuickEdit: Boolean + + """ + Whether to add the post type route in the REST API "wp/v2" namespace. + """ + showInRest: Boolean + + """ + Whether to generate and allow a UI for managing terms in this taxonomy in the admin + """ + showUi: Boolean +} + +""" +Allowed taxonomies +""" +enum TaxonomyEnum { + """ + Taxonomy enum category + """ + CATEGORY + + """ + Taxonomy enum pa_color + """ + PACOLOR + + """ + Taxonomy enum pa_size + """ + PASIZE + + """ + Taxonomy enum post_format + """ + POSTFORMAT + + """ + Taxonomy enum product_cat + """ + PRODUCTCATEGORY + + """ + Taxonomy enum product_tag + """ + PRODUCTTAG + + """ + Taxonomy enum product_type + """ + PRODUCTTYPE + + """ + Taxonomy enum product_shipping_class + """ + SHIPPINGCLASS + + """ + Taxonomy enum post_tag + """ + TAG + + """ + Taxonomy enum product_visibility + """ + VISIBLEPRODUCT +} + +""" +The Type of Identifier used to fetch a single Taxonomy node. To be used along with the "id" field. Default is "ID". +""" +enum TaxonomyIdTypeEnum { + """ + The globally unique ID + """ + ID + + """ + The name of the taxonomy + """ + NAME +} + +""" +Taxonomy query operators +""" +enum TaxonomyOperatorEnum { + AND + EXISTS + IN + NOT_EXISTS + NOT_IN +} + +""" +Connection between the Taxonomy type and the ContentType type +""" +type TaxonomyToContentTypeConnection { + """ + Edges for the TaxonomyToContentTypeConnection connection + """ + edges: [TaxonomyToContentTypeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentType] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type TaxonomyToContentTypeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentType +} + +""" +Terms are nodes within a Taxonomy, used to group and relate other nodes. +""" +interface TermNode implements Node & UniformResourceIdentifiable { + """ + The number of objects connected to the object + """ + count: Int + + """ + Identifies the primary key from the database. + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String +} + +""" +The Type of Identifier used to fetch a single resource. Default is "ID". To be used along with the "id" field. +""" +enum TermNodeIdTypeEnum { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the TermNode type and the EnqueuedScript type +""" +type TermNodeToEnqueuedScriptConnection { + """ + Edges for the TermNodeToEnqueuedScriptConnection connection + """ + edges: [TermNodeToEnqueuedScriptConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [EnqueuedScript] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type TermNodeToEnqueuedScriptConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: EnqueuedScript +} + +""" +Connection between the TermNode type and the EnqueuedStylesheet type +""" +type TermNodeToEnqueuedStylesheetConnection { + """ + Edges for the TermNodeToEnqueuedStylesheetConnection connection + """ + edges: [TermNodeToEnqueuedStylesheetConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [EnqueuedStylesheet] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type TermNodeToEnqueuedStylesheetConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: EnqueuedStylesheet +} + +""" +Options for ordering the connection by +""" +enum TermObjectsConnectionOrderbyEnum { + """ + Order the connection by item count. + """ + COUNT + + """ + Order the connection by description. + """ + DESCRIPTION + + """ + Order the connection by name. + """ + NAME + + """ + Order the connection by slug. + """ + SLUG + + """ + Order the connection by term group. + """ + TERM_GROUP + + """ + Order the connection by term id. + """ + TERM_ID + + """ + Order the connection by term order. + """ + TERM_ORDER +} + +""" +A theme object +""" +type Theme implements Node { + """ + Name of the theme author(s), could also be a company name. This field is equivalent to WP_Theme->get( "Author" ). + """ + author: String + + """ + URI for the author/company website. This field is equivalent to WP_Theme->get( "AuthorURI" ). + """ + authorUri: String + + """ + The description of the theme. This field is equivalent to WP_Theme->get( "Description" ). + """ + description: String + + """ + The globally unique identifier of the theme object. + """ + id: ID! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Display name of the theme. This field is equivalent to WP_Theme->get( "Name" ). + """ + name: String + + """ + The URL of the screenshot for the theme. The screenshot is intended to give an overview of what the theme looks like. This field is equivalent to WP_Theme->get_screenshot(). + """ + screenshot: String + + """ + The theme slug is used to internally match themes. Theme slugs can have subdirectories like: my-theme/sub-theme. This field is equivalent to WP_Theme->get_stylesheet(). + """ + slug: String + + """ + URI for the author/company website. This field is equivalent to WP_Theme->get( "Tags" ). + """ + tags: [String] + + """ + A URI if the theme has a website associated with it. The Theme URI is handy for directing users to a theme site for support etc. This field is equivalent to WP_Theme->get( "ThemeURI" ). + """ + themeUri: String + + """ + The current version of the theme. This field is equivalent to WP_Theme->get( "Version" ). + """ + version: String +} + +""" +Any node that has a URI +""" +interface UniformResourceIdentifiable { + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The unique resource identifier path + """ + uri: String +} + +""" +Input for the UpdateCategory mutation +""" +input UpdateCategoryInput { + """ + The slug that the category will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the category object + """ + description: String + + """ + The ID of the category object to update + """ + id: ID! + + """ + The name of the category object to mutate + """ + name: String + + """ + The ID of the category that should be set as the parent + """ + parentId: ID + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdateCategory mutation +""" +type UpdateCategoryPayload { + """ + The created category + """ + category: Category + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +Input for the updateComment mutation +""" +input UpdateCommentInput { + """ + The approval status of the comment. + """ + approved: String + + """ + The name of the comment's author. + """ + author: String + + """ + The email of the comment's author. + """ + authorEmail: String + + """ + The url of the comment's author. + """ + authorUrl: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the post object the comment belongs to. + """ + commentOn: Int + + """ + Content of the comment. + """ + content: String + + """ + The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + """ + date: String + + """ + The ID of the comment being updated. + """ + id: ID! + + """ + Parent comment of current comment. + """ + parent: ID + + """ + Type of comment. + """ + type: String +} + +""" +The payload for the updateComment mutation +""" +type UpdateCommentPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The comment that was created + """ + comment: Comment + + """ + Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache + """ + success: Boolean +} + +""" +Input for the updateCoupon mutation +""" +input UpdateCouponInput { + """ + The amount of discount. Should always be numeric, even if setting a percentage. + """ + amount: Float + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Coupon code. + """ + code: String + + """ + The date the coupon expires, in the site's timezone. + """ + dateExpires: String + + """ + The date the coupon expires, as GMT. + """ + dateExpiresGmt: String + + """ + Coupon description. + """ + description: String + + """ + Determines the type of discount that will be applied. + """ + discountType: DiscountTypeEnum + + """ + List of email addresses that can use this coupon. + """ + emailRestrictions: [String] + + """ + If true, this coupon will not be applied to items that have sale prices. + """ + excludeSaleItems: Boolean + + """ + List of category IDs the coupon does not apply to. + """ + excludedProductCategories: [Int] + + """ + List of product IDs the coupon cannot be used on. + """ + excludedProductIds: [Int] + + """ + If true and if the free shipping method requires a coupon, this coupon will enable free shipping. + """ + freeShipping: Boolean + + """ + Unique identifier for the object. + """ + id: ID! + + """ + If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. + """ + individualUse: Boolean + + """ + Max number of items in the cart the coupon can be applied to. + """ + limitUsageToXItems: Int + + """ + Maximum order amount allowed when using the coupon. + """ + maximumAmount: String + + """ + Meta data. + """ + metaData: [MetaDataInput] + + """ + Minimum order amount that needs to be in the cart before coupon applies. + """ + minimumAmount: String + + """ + List of category IDs the coupon applies to. + """ + productCategories: [Int] + + """ + List of product IDs the coupon can be used on. + """ + productIds: [Int] + + """ + How many times the coupon can be used in total. + """ + usageLimit: Int + + """ + How many times the coupon can be used per customer. + """ + usageLimitPerUser: Int +} + +""" +The payload for the updateCoupon mutation +""" +type UpdateCouponPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + code: String + coupon: Coupon +} + +""" +Input for the updateCustomer mutation +""" +input UpdateCustomerInput { + """ + User's AOL IM account. + """ + aim: String + + """ + Customer billing information + """ + billing: CustomerAddressInput + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + A string containing content about the user. + """ + description: String + + """ + A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). + """ + displayName: String + + """ + A string containing the user's email address. + """ + email: String + + """ + The user's first name. + """ + firstName: String + + """ + The ID of the user + """ + id: ID + + """ + User's Jabber account. + """ + jabber: String + + """ + The user's last name. + """ + lastName: String + + """ + User's locale. + """ + locale: String + + """ + Meta data. + """ + metaData: [MetaDataInput] + + """ + A string that contains a URL-friendly name for the user. The default is the user's username. + """ + nicename: String + + """ + The user's nickname, defaults to the user's username. + """ + nickname: String + + """ + A string that contains the plain text password for the user. + """ + password: String + + """ + The date the user registered. Format is Y-m-d H:i:s. + """ + registered: String + + """ + A string for whether to enable the rich editor or not. False if not empty. + """ + richEditing: String + + """ + An array of roles to be assigned to the user. + """ + roles: [String] + + """ + Customer shipping address + """ + shipping: CustomerAddressInput + + """ + Customer shipping is identical to billing address + """ + shippingSameAsBilling: Boolean + + """ + A string containing the user's URL for the user's web site. + """ + websiteUrl: String + + """ + User's Yahoo IM account. + """ + yim: String +} + +""" +The payload for the updateCustomer mutation +""" +type UpdateCustomerPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + customer: Customer +} + +""" +Input for the updateItemQuantities mutation +""" +input UpdateItemQuantitiesInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Cart item being updated + """ + items: [CartItemQuantityInput] +} + +""" +The payload for the updateItemQuantities mutation +""" +type UpdateItemQuantitiesPayload { + cart: Cart + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + items: [CartItem] + removed: [CartItem] + updated: [CartItem] +} + +""" +Input for the updateMediaItem mutation +""" +input UpdateMediaItemInput { + """ + Alternative text to display when mediaItem is not displayed + """ + altText: String + + """ + The userId to assign as the author of the mediaItem + """ + authorId: ID + + """ + The caption for the mediaItem + """ + caption: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The comment status for the mediaItem + """ + commentStatus: String + + """ + The date of the mediaItem + """ + date: String + + """ + The date (in GMT zone) of the mediaItem + """ + dateGmt: String + + """ + Description of the mediaItem + """ + description: String + + """ + The file name of the mediaItem + """ + filePath: String + + """ + The file type of the mediaItem + """ + fileType: MimeTypeEnum + + """ + The ID of the mediaItem object + """ + id: ID! + + """ + The WordPress post ID or the graphQL postId of the parent object + """ + parentId: ID + + """ + The ping status for the mediaItem + """ + pingStatus: String + + """ + The slug of the mediaItem + """ + slug: String + + """ + The status of the mediaItem + """ + status: MediaItemStatusEnum + + """ + The title of the mediaItem + """ + title: String +} + +""" +The payload for the updateMediaItem mutation +""" +type UpdateMediaItemPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The MediaItem object mutation type. + """ + mediaItem: MediaItem +} + +""" +Input for the updateOrder mutation +""" +input UpdateOrderInput { + """ + Order billing address + """ + billing: CustomerAddressInput + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Coupons codes to be applied to order + """ + coupons: [String] + + """ + Currency the order was created with, in ISO format. + """ + currency: String + + """ + Order customer ID + """ + customerId: Int + + """ + Note left by customer during checkout. + """ + customerNote: String + + """ + Order shipping lines + """ + feeLines: [FeeLineInput] + + """ + Order global ID + """ + id: ID + + """ + Define if the order is paid. It will set the status to processing and reduce stock items. + """ + isPaid: Boolean + + """ + Order line items + """ + lineItems: [LineItemInput] + + """ + Order meta data + """ + metaData: [MetaDataInput] + + """ + Order WP ID + """ + orderId: Int + + """ + Parent order ID. + """ + parentId: Int + + """ + Payment method ID. + """ + paymentMethod: String + + """ + Payment method title. + """ + paymentMethodTitle: String + + """ + Order shipping address + """ + shipping: CustomerAddressInput + + """ + Order shipping lines + """ + shippingLines: [ShippingLineInput] + + """ + Order status + """ + status: OrderStatusEnum + + """ + Order transaction ID + """ + transactionId: String +} + +""" +The payload for the updateOrder mutation +""" +type UpdateOrderPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + order: Order +} + +""" +Input for the UpdatePaColor mutation +""" +input UpdatePaColorInput { + """ + The slug that the pa_color will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the pa_color object + """ + description: String + + """ + The ID of the paColor object to update + """ + id: ID! + + """ + The name of the pa_color object to mutate + """ + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdatePaColor mutation +""" +type UpdatePaColorPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created pa_color + """ + paColor: PaColor +} + +""" +Input for the UpdatePaSize mutation +""" +input UpdatePaSizeInput { + """ + The slug that the pa_size will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the pa_size object + """ + description: String + + """ + The ID of the paSize object to update + """ + id: ID! + + """ + The name of the pa_size object to mutate + """ + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdatePaSize mutation +""" +type UpdatePaSizePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created pa_size + """ + paSize: PaSize +} + +""" +Input for the updatePage mutation +""" +input UpdatePageInput { + """ + The userId to assign as the author of the object + """ + authorId: ID + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The comment status for the object + """ + commentStatus: String + + """ + The content of the object + """ + content: String + + """ + The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + """ + date: String + + """ + The ID of the page object + """ + id: ID! + + """ + A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + """ + menuOrder: Int + + """ + The ID of the parent object + """ + parentId: ID + + """ + The password used to protect the content of the object + """ + password: String + + """ + The slug of the object + """ + slug: String + + """ + The status of the object + """ + status: PostStatusEnum + + """ + The title of the object + """ + title: String +} + +""" +The payload for the updatePage mutation +""" +type UpdatePagePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The Post object mutation type. + """ + page: Page +} + +""" +Input for the UpdatePostFormat mutation +""" +input UpdatePostFormatInput { + """ + The slug that the post_format will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the post_format object + """ + description: String + + """ + The ID of the postFormat object to update + """ + id: ID! + + """ + The name of the post_format object to mutate + """ + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdatePostFormat mutation +""" +type UpdatePostFormatPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created post_format + """ + postFormat: PostFormat +} + +""" +Input for the updatePost mutation +""" +input UpdatePostInput { + """ + The userId to assign as the author of the object + """ + authorId: ID + + """ + Set connections between the post and categories + """ + categories: PostCategoriesInput + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The comment status for the object + """ + commentStatus: String + + """ + The content of the object + """ + content: String + + """ + The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + """ + date: String + + """ + The excerpt of the object + """ + excerpt: String + + """ + The ID of the post object + """ + id: ID! + + """ + A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. + """ + menuOrder: Int + + """ + The password used to protect the content of the object + """ + password: String + + """ + The ping status for the object + """ + pingStatus: String + + """ + URLs that have been pinged. + """ + pinged: [String] + + """ + Set connections between the post and postFormats + """ + postFormats: PostPostFormatsInput + + """ + The slug of the object + """ + slug: String + + """ + The status of the object + """ + status: PostStatusEnum + + """ + Set connections between the post and tags + """ + tags: PostTagsInput + + """ + The title of the object + """ + title: String + + """ + URLs queued to be pinged. + """ + toPing: [String] +} + +""" +The payload for the updatePost mutation +""" +type UpdatePostPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The Post object mutation type. + """ + post: Post +} + +""" +Input for the UpdateProductCategory mutation +""" +input UpdateProductCategoryInput { + """ + The slug that the product_cat will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_cat object + """ + description: String + + """ + The ID of the productCategory object to update + """ + id: ID! + + """ + The name of the product_cat object to mutate + """ + name: String + + """ + The ID of the product_cat that should be set as the parent + """ + parentId: ID + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdateProductCategory mutation +""" +type UpdateProductCategoryPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_cat + """ + productCategory: ProductCategory +} + +""" +Input for the UpdateProductTag mutation +""" +input UpdateProductTagInput { + """ + The slug that the product_tag will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_tag object + """ + description: String + + """ + The ID of the productTag object to update + """ + id: ID! + + """ + The name of the product_tag object to mutate + """ + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdateProductTag mutation +""" +type UpdateProductTagPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_tag + """ + productTag: ProductTag +} + +""" +Input for the UpdateProductType mutation +""" +input UpdateProductTypeInput { + """ + The slug that the product_type will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_type object + """ + description: String + + """ + The ID of the productType object to update + """ + id: ID! + + """ + The name of the product_type object to mutate + """ + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdateProductType mutation +""" +type UpdateProductTypePayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_type + """ + productType: ProductType +} + +""" +Input for the updateReview mutation +""" +input UpdateReviewInput { + """ + The approval status of the comment. + """ + approved: String + + """ + The name of the comment's author. + """ + author: String + + """ + The email of the comment's author. + """ + authorEmail: String + + """ + The url of the comment's author. + """ + authorUrl: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the post object the comment belongs to. + """ + commentOn: Int + + """ + Content of the comment. + """ + content: String + + """ + The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + """ + date: String + + """ + The ID of the review being updated. + """ + id: ID! + + """ + Parent comment of current comment. + """ + parent: ID + + """ + Product rating + """ + rating: Int! +} + +""" +The payload for the updateReview mutation +""" +type UpdateReviewPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The product rating of the review that was created + """ + rating: Float + + """ + The product review that was created + """ + review: Comment +} + +""" +Input for the updateSettings mutation +""" +input UpdateSettingsInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Allow people to submit comments on new posts. + """ + discussionSettingsDefaultCommentStatus: String + + """ + Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. + """ + discussionSettingsDefaultPingStatus: String + + """ + A date format for all date strings. + """ + generalSettingsDateFormat: String + + """ + Site tagline. + """ + generalSettingsDescription: String + + """ + This address is used for admin purposes, like new user notification. + """ + generalSettingsEmail: String + + """ + WordPress locale code. + """ + generalSettingsLanguage: String + + """ + A day number of the week that the week should start on. + """ + generalSettingsStartOfWeek: Int + + """ + A time format for all time strings. + """ + generalSettingsTimeFormat: String + + """ + A city in the same timezone as you. + """ + generalSettingsTimezone: String + + """ + Site title. + """ + generalSettingsTitle: String + + """ + Site URL. + """ + generalSettingsUrl: String + + """ + Blog pages show at most. + """ + readingSettingsPostsPerPage: Int + + """ + Default post category. + """ + writingSettingsDefaultCategory: Int + + """ + Default post format. + """ + writingSettingsDefaultPostFormat: String + + """ + Convert emoticons like :-) and :-P to graphics on display. + """ + writingSettingsUseSmilies: Boolean +} + +""" +The payload for the updateSettings mutation +""" +type UpdateSettingsPayload { + """ + Update all settings. + """ + allSettings: Settings + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + Update the discussion setting. + """ + discussionSettings: DiscussionSettings + + """ + Update the general setting. + """ + generalSettings: GeneralSettings + + """ + Update the reading setting. + """ + readingSettings: ReadingSettings + + """ + Update the writing setting. + """ + writingSettings: WritingSettings +} + +""" +Input for the UpdateShippingClass mutation +""" +input UpdateShippingClassInput { + """ + The slug that the product_shipping_class will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_shipping_class object + """ + description: String + + """ + The ID of the shippingClass object to update + """ + id: ID! + + """ + The name of the product_shipping_class object to mutate + """ + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdateShippingClass mutation +""" +type UpdateShippingClassPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_shipping_class + """ + shippingClass: ShippingClass +} + +""" +Input for the updateShippingMethod mutation +""" +input UpdateShippingMethodInput { + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + shippingMethods: [String] +} + +""" +The payload for the updateShippingMethod mutation +""" +type UpdateShippingMethodPayload { + cart: Cart + + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String +} + +""" +Input for the UpdateTag mutation +""" +input UpdateTagInput { + """ + The slug that the post_tag will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the post_tag object + """ + description: String + + """ + The ID of the tag object to update + """ + id: ID! + + """ + The name of the post_tag object to mutate + """ + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdateTag mutation +""" +type UpdateTagPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created post_tag + """ + tag: Tag +} + +""" +Input for the updateUser mutation +""" +input UpdateUserInput { + """ + User's AOL IM account. + """ + aim: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + A string containing content about the user. + """ + description: String + + """ + A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). + """ + displayName: String + + """ + A string containing the user's email address. + """ + email: String + + """ + The user's first name. + """ + firstName: String + + """ + The ID of the user + """ + id: ID! + + """ + User's Jabber account. + """ + jabber: String + + """ + The user's last name. + """ + lastName: String + + """ + User's locale. + """ + locale: String + + """ + A string that contains a URL-friendly name for the user. The default is the user's username. + """ + nicename: String + + """ + The user's nickname, defaults to the user's username. + """ + nickname: String + + """ + A string that contains the plain text password for the user. + """ + password: String + + """ + The date the user registered. Format is Y-m-d H:i:s. + """ + registered: String + + """ + A string for whether to enable the rich editor or not. False if not empty. + """ + richEditing: String + + """ + An array of roles to be assigned to the user. + """ + roles: [String] + + """ + A string containing the user's URL for the user's web site. + """ + websiteUrl: String + + """ + User's Yahoo IM account. + """ + yim: String +} + +""" +The payload for the updateUser mutation +""" +type UpdateUserPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The User object mutation type. + """ + user: User +} + +""" +Input for the UpdateVisibleProduct mutation +""" +input UpdateVisibleProductInput { + """ + The slug that the product_visibility will be an alias of + """ + aliasOf: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The description of the product_visibility object + """ + description: String + + """ + The ID of the visibleProduct object to update + """ + id: ID! + + """ + The name of the product_visibility object to mutate + """ + name: String + + """ + If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. + """ + slug: String +} + +""" +The payload for the UpdateVisibleProduct mutation +""" +type UpdateVisibleProductPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The created product_visibility + """ + visibleProduct: VisibleProduct +} + +""" +A User object +""" +type User implements Node & UniformResourceIdentifiable & Commenter & DatabaseIdentifier { + """ + Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument. + """ + avatar( + """ + The size attribute of the avatar field can be used to fetch avatars of different sizes. The value corresponds to the dimension in pixels to fetch. The default is 96 pixels. + """ + size: Int = 96 + + """ + Whether to always show the default image, never the Gravatar. Default false + """ + forceDefault: Boolean + + """ + The rating level of the avatar. + """ + rating: AvatarRatingEnum + ): Avatar + + """ + User metadata option name. Usually it will be "wp_capabilities". + """ + capKey: String + + """ + A list of capabilities (permissions) granted to the user + """ + capabilities: [String] + + """ + Connection between the User type and the Comment type + """ + comments( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: UserToCommentConnectionWhereArgs + ): UserToCommentConnection + + """ + Identifies the primary key from the database. + """ + databaseId: Int! + + """ + Description of the user. + """ + description: String + + """ + Email address of the user. This is equivalent to the WP_User->user_email property. + """ + email: String + + """ + Connection between the User type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): UserToEnqueuedScriptConnection + + """ + Connection between the User type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): UserToEnqueuedStylesheetConnection + + """ + A complete list of capabilities including capabilities inherited from a role. This is equivalent to the array keys of WP_User->allcaps. + """ + extraCapabilities: [String] + + """ + First name of the user. This is equivalent to the WP_User->user_first_name property. + """ + firstName: String + + """ + The globally unique identifier for the user object. + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + Last name of the user. This is equivalent to the WP_User->user_last_name property. + """ + lastName: String + + """ + The preferred language locale set for the user. Value derived from get_user_locale(). + """ + locale: String + + """ + Connection between the User type and the mediaItem type + """ + mediaItems( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: UserToMediaItemConnectionWhereArgs + ): UserToMediaItemConnection + + """ + Display name of the user. This is equivalent to the WP_User->dispaly_name property. + """ + name: String + + """ + The nicename for the user. This field is equivalent to WP_User->user_nicename + """ + nicename: String + + """ + Nickname of the user. + """ + nickname: String + + """ + Connection between the User type and the page type + """ + pages( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: UserToPageConnectionWhereArgs + ): UserToPageConnection + + """ + Connection between the User type and the post type + """ + posts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: UserToPostConnectionWhereArgs + ): UserToPostConnection + + """ + The date the user registered or was created. The field follows a full ISO8601 date string format. + """ + registeredDate: String + + """ + Connection between the User and Revisions authored by the user + """ + revisions( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: UserToContentRevisionUnionConnectionWhereArgs + ): UserToContentRevisionUnionConnection + + """ + Connection between the User type and the UserRole type + """ + roles( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): UserToUserRoleConnection + + """ + The slug for the user. This field is equivalent to WP_User->user_nicename + """ + slug: String + + """ + The unique resource identifier path + """ + uri: String + + """ + A website url that is associated with the user. + """ + url: String + + """ + The Id of the user. Equivalent to WP_User->ID + """ + userId: Int @deprecated(reason: "Deprecated in favor of the databaseId field") + + """ + Username for the user. This field is equivalent to WP_User->user_login. + """ + username: String + + """ + A JWT token that can be used in future requests to for WooCommerce session identification + """ + wooSessionToken: String +} + +""" +The Type of Identifier used to fetch a single User node. To be used along with the "id" field. Default is "ID". +""" +enum UserNodeIdTypeEnum { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The Email of the User + """ + EMAIL + + """ + The hashed Global ID + """ + ID + + """ + The slug of the User + """ + SLUG + + """ + The URI for the node + """ + URI + + """ + The username the User uses to login with + """ + USERNAME +} + +""" +A user role object +""" +type UserRole implements Node { + """ + The capabilities that belong to this role + """ + capabilities: [String] + + """ + The display name of the role + """ + displayName: String + + """ + The globally unique identifier for the user role object. + """ + id: ID! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + The registered name of the role + """ + name: String +} + +""" +Names of available user roles +""" +enum UserRoleEnum { + """ + User role with specific capabilities + """ + AUTHOR + + """ + User role with specific capabilities + """ + CONTRIBUTOR + + """ + User role with specific capabilities + """ + CUSTOMER + + """ + User role with specific capabilities + """ + EDITOR + + """ + User role with specific capabilities + """ + SHOP_MANAGER + + """ + User role with specific capabilities + """ + SUBSCRIBER +} + +""" +Connection between the User type and the Comment type +""" +type UserToCommentConnection { + """ + Edges for the UserToCommentConnection connection + """ + edges: [UserToCommentConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Comment] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type UserToCommentConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Comment +} + +""" +Arguments for filtering the UserToCommentConnection connection +""" +input UserToCommentConnectionWhereArgs { + """ + Comment author email address. + """ + authorEmail: String + + """ + Array of author IDs to include comments for. + """ + authorIn: [ID] + + """ + Array of author IDs to exclude comments for. + """ + authorNotIn: [ID] + + """ + Comment author URL. + """ + authorUrl: String + + """ + Array of comment IDs to include. + """ + commentIn: [ID] + + """ + Array of IDs of users whose unapproved comments will be returned by the query regardless of status. + """ + commentNotIn: [ID] + + """ + Include comments of a given type. + """ + commentType: String + + """ + Include comments from a given array of comment types. + """ + commentTypeIn: [String] + + """ + Exclude comments from a given array of comment types. + """ + commentTypeNotIn: String + + """ + Content object author ID to limit results by. + """ + contentAuthor: [ID] + + """ + Array of author IDs to retrieve comments for. + """ + contentAuthorIn: [ID] + + """ + Array of author IDs *not* to retrieve comments for. + """ + contentAuthorNotIn: [ID] + + """ + Limit results to those affiliated with a given content object ID. + """ + contentId: ID + + """ + Array of content object IDs to include affiliated comments for. + """ + contentIdIn: [ID] + + """ + Array of content object IDs to exclude affiliated comments for. + """ + contentIdNotIn: [ID] + + """ + Content object name to retrieve affiliated comments for. + """ + contentName: String + + """ + Content Object parent ID to retrieve affiliated comments for. + """ + contentParent: Int + + """ + Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentStatus: [PostStatusEnum] + + """ + Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. + """ + contentType: [ContentTypeEnum] + + """ + Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty + """ + includeUnapproved: [ID] + + """ + Karma score to retrieve matching comments for. + """ + karma: Int + + """ + The cardinality of the order of the connection + """ + order: OrderEnum + + """ + Field to order the comments by. + """ + orderby: CommentsConnectionOrderbyEnum + + """ + Parent ID of comment to retrieve children of. + """ + parent: Int + + """ + Array of parent IDs of comments to retrieve children for. + """ + parentIn: [ID] + + """ + Array of parent IDs of comments *not* to retrieve children for. + """ + parentNotIn: [ID] + + """ + Search term(s) to retrieve matching comments for. + """ + search: String + + """ + Comment status to limit results by. + """ + status: String + + """ + Include comments for a specific user ID. + """ + userId: ID +} + +""" +Connection between the User type and the ContentRevisionUnion type +""" +type UserToContentRevisionUnionConnection { + """ + Edges for the UserToContentRevisionUnionConnection connection + """ + edges: [UserToContentRevisionUnionConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentRevisionUnion] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type UserToContentRevisionUnionConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentRevisionUnion +} + +""" +Arguments for filtering the UserToContentRevisionUnionConnection connection +""" +input UserToContentRevisionUnionConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypeEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the User type and the EnqueuedScript type +""" +type UserToEnqueuedScriptConnection { + """ + Edges for the UserToEnqueuedScriptConnection connection + """ + edges: [UserToEnqueuedScriptConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [EnqueuedScript] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type UserToEnqueuedScriptConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: EnqueuedScript +} + +""" +Connection between the User type and the EnqueuedStylesheet type +""" +type UserToEnqueuedStylesheetConnection { + """ + Edges for the UserToEnqueuedStylesheetConnection connection + """ + edges: [UserToEnqueuedStylesheetConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [EnqueuedStylesheet] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type UserToEnqueuedStylesheetConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: EnqueuedStylesheet +} + +""" +Connection between the User type and the mediaItem type +""" +type UserToMediaItemConnection { + """ + Edges for the UserToMediaItemConnection connection + """ + edges: [UserToMediaItemConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [MediaItem] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type UserToMediaItemConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: MediaItem +} + +""" +Arguments for filtering the UserToMediaItemConnection connection +""" +input UserToMediaItemConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the User type and the page type +""" +type UserToPageConnection { + """ + Edges for the UserToPageConnection connection + """ + edges: [UserToPageConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Page] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type UserToPageConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Page +} + +""" +Arguments for filtering the UserToPageConnection connection +""" +input UserToPageConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the User type and the post type +""" +type UserToPostConnection { + """ + Edges for the UserToPostConnection connection + """ + edges: [UserToPostConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Post] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type UserToPostConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Post +} + +""" +Arguments for filtering the UserToPostConnection connection +""" +input UserToPostConnectionWhereArgs { + """ + The user that's connected as the author of the object. Use the userId for the author object. + """ + author: Int + + """ + Find objects connected to author(s) in the array of author's userIds + """ + authorIn: [ID] + + """ + Find objects connected to the author by the author's nicename + """ + authorName: String + + """ + Find objects NOT connected to author(s) in the array of author's userIds + """ + authorNotIn: [ID] + + """ + Category ID + """ + categoryId: Int + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryIn: [ID] + + """ + Use Category Slug + """ + categoryName: String + + """ + Array of category IDs, used to display objects from one category OR another + """ + categoryNotIn: [ID] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Tag Slug + """ + tag: String + + """ + Use Tag ID + """ + tagId: String + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagIn: [ID] + + """ + Array of tag IDs, used to display objects from one tag OR another + """ + tagNotIn: [ID] + + """ + Array of tag slugs, used to display objects from one tag OR another + """ + tagSlugAnd: [String] + + """ + Array of tag slugs, used to exclude objects in specified tags + """ + tagSlugIn: [String] + + """ + Title of the object + """ + title: String +} + +""" +Connection between the User type and the UserRole type +""" +type UserToUserRoleConnection { + """ + Edges for the UserToUserRoleConnection connection + """ + edges: [UserToUserRoleConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [UserRole] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type UserToUserRoleConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: UserRole +} + +""" +Field to order the connection by +""" +enum UsersConnectionOrderbyEnum { + """ + Order by display name + """ + DISPLAY_NAME + + """ + Order by email address + """ + EMAIL + + """ + Order by login + """ + LOGIN + + """ + Preserve the login order given in the LOGIN_IN array + """ + LOGIN_IN + + """ + Order by nice name + """ + NICE_NAME + + """ + Preserve the nice name order given in the NICE_NAME_IN array + """ + NICE_NAME_IN + + """ + Order by registration date + """ + REGISTERED + + """ + Order by URL + """ + URL +} + +""" +Options for ordering the connection +""" +input UsersConnectionOrderbyInput { + """ + The field name used to sort the results. + """ + field: UsersConnectionOrderbyEnum! + + """ + The cardinality of the order of the connection + """ + order: OrderEnum +} + +""" +Column used for searching for users. +""" +enum UsersConnectionSearchColumnEnum { + """ + The user's email address. + """ + EMAIL + + """ + The globally unique ID. + """ + ID + + """ + The username the User uses to login with. + """ + LOGIN + + """ + A URL-friendly name for the user. The default is the user's username. + """ + NICENAME + + """ + The URL of the user\s website. + """ + URL +} + +""" +A variable product object +""" +type VariableProduct implements Node & Product & NodeWithComments & NodeWithContentEditor & NodeWithFeaturedImage & ContentNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the Product type and the ProductAttribute type + """ + attributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductAttributeConnectionWhereArgs + ): ProductToProductAttributeConnection + + """ + Product average count + """ + averageRating: Float + + """ + Product backorders status + """ + backorders: BackordersEnum + + """ + Can product be backordered? + """ + backordersAllowed: Boolean + + """ + Catalog visibility + """ + catalogVisibility: CatalogVisibilityEnum + + """ + The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. + """ + commentCount: Int + + """ + Whether the comments are open or closed for this particular post. + """ + commentStatus: String + + """ + The content of the post. + """ + content( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Connection between the ContentNode type and the ContentType type + """ + contentType: ContentNodeToContentTypeConnectionEdge + + """ + Connection between the VariableProduct type and the Product type + """ + crossSell( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: VariableProductToProductConnectionWhereArgs + ): VariableProductToProductConnection + + """ + The ID of the product in the database + """ + databaseId: Int! + + """ + Date product created + """ + date: String + + """ + The publishing date set in GMT. + """ + dateGmt: String + + """ + Date on sale from + """ + dateOnSaleFrom: String + + """ + Date on sale to + """ + dateOnSaleTo: String + + """ + Connection between the VariableProduct type and the VariationAttribute type + """ + defaultAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): VariableProductToVariationAttributeConnection + + """ + Product description + """ + description( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + The desired slug of the post + """ + desiredSlug: String + + """ + If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds + """ + editingLockedBy: ContentNodeToEditLockConnectionEdge + + """ + The RSS enclosure for the object + """ + enclosure: String + + """ + Connection between the ContentNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedScriptConnection + + """ + Connection between the ContentNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): ContentNodeToEnqueuedStylesheetConnection + + """ + If the product is featured + """ + featured: Boolean + + """ + Connection between the NodeWithFeaturedImage type and the MediaItem type + """ + featuredImage: NodeWithFeaturedImageToMediaItemConnectionEdge + + """ + The database identifier for the featured image node assigned to the content node + """ + featuredImageDatabaseId: Int + + """ + Globally unique ID of the featured image assigned to the node + """ + featuredImageId: ID + + """ + Connection between the Product type and the MediaItem type + """ + galleryImages( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToMediaItemConnectionWhereArgs + ): ProductToMediaItemConnection + + """ + Connection between the Product type and the GlobalProductAttribute type + """ + globalAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToGlobalProductAttributeConnectionWhereArgs + ): ProductToGlobalProductAttributeConnection + + """ + The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. + """ + guid: String + + """ + Product's height + """ + height: String + + """ + The globally unique identifier for the product + """ + id: ID! + + """ + Main image + """ + image: MediaItem + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is a node in the preview state + """ + isPreview: Boolean + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The user that most recently edited the node + """ + lastEditedBy: ContentNodeToEditLastConnectionEdge + + """ + Product's length + """ + length: String + + """ + The permalink of the post + """ + link: String + + """ + Connection between the Product type and the LocalProductAttribute type + """ + localAttributes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToLocalProductAttributeConnectionWhereArgs + ): ProductToLocalProductAttributeConnection + + """ + If product manage stock + """ + manageStock: Boolean + + """ + Menu order + """ + menuOrder: Int + + """ + Object meta data + """ + metaData( + """ + Retrieve meta by key + """ + key: String + + """ + Retrieve multiple metas by key + """ + keysIn: [String] + + """ + Retrieve meta with matching keys + """ + multiple: Boolean + ): [MetaData] + + """ + Date product last updated + """ + modified: String + + """ + The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. + """ + modifiedGmt: String + + """ + Product name + """ + name: String + + """ + Is product on sale? + """ + onSale: Boolean + + """ + Connection between the Product type and the paColor type + """ + paColors( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaColorConnectionWhereArgs + ): ProductToPaColorConnection + + """ + Connection between the Product type and the paSize type + """ + paSizes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToPaSizeConnectionWhereArgs + ): ProductToPaSizeConnection + + """ + Parent product + """ + parent: Product + + """ + The database id of the preview node + """ + previewRevisionDatabaseId: Int + + """ + Whether the object is a node in the preview state + """ + previewRevisionId: ID + + """ + Product's active price + """ + price( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Product type and the productCategory type + """ + productCategories( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductCategoryConnectionWhereArgs + ): ProductToProductCategoryConnection + + """ + Connection between the Product type and the productTag type + """ + productTags( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTagConnectionWhereArgs + ): ProductToProductTagConnection + + """ + Connection between the Product type and the productType type + """ + productTypes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductTypeConnectionWhereArgs + ): ProductToProductTypeConnection + + """ + Can product be purchased? + """ + purchasable: Boolean + + """ + Purchase note + """ + purchaseNote: String + + """ + Product's regular price + """ + regularPrice( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + Connection between the Product type and the Product type + """ + related( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToProductConnectionWhereArgs + ): ProductToProductConnection + + """ + Product review count + """ + reviewCount: Int + + """ + Connection between the Product type and the Comment type + """ + reviews( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToCommentConnectionWhereArgs + ): ProductToCommentConnection + + """ + If reviews are allowed + """ + reviewsAllowed: Boolean + + """ + Product's sale price + """ + salePrice( + """ + Format of the price + """ + format: PricingFieldFormatEnum + ): String + + """ + shipping class ID + """ + shippingClassId: Int + + """ + Connection between the Product type and the shippingClass type + """ + shippingClasses( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToShippingClassConnectionWhereArgs + ): ProductToShippingClassConnection + + """ + Does product need to be shipped? + """ + shippingRequired: Boolean + + """ + Is product shipping taxable? + """ + shippingTaxable: Boolean + + """ + Product short description + """ + shortDescription( + """ + Format of the field output + """ + format: PostObjectFieldFormatEnum + ): String + + """ + Product SKU + """ + sku: String + + """ + Product slug + """ + slug: String + + """ + If should be sold individually + """ + soldIndividually: Boolean + + """ + Product status + """ + status: String + + """ + Number of items available for sale + """ + stockQuantity: Int + + """ + Product stock status + """ + stockStatus: StockStatusEnum + + """ + Tax class + """ + taxClass: TaxClassEnum + + """ + Tax status + """ + taxStatus: TaxStatusEnum + + """ + The template assigned to a node of content + """ + template: ContentTemplate + + """ + Number total of sales + """ + totalSales: Int + + """ + Product type + """ + type: ProductTypesEnum + + """ + Connection between the Product type and the Product type + """ + upsell( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToUpsellConnectionWhereArgs + ): ProductToUpsellConnection + + """ + The unique resource identifier path + """ + uri: String + + """ + Connection between the VariableProduct type and the ProductVariation type + """ + variations( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: VariableProductToProductVariationConnectionWhereArgs + ): VariableProductToProductVariationConnection + + """ + Connection between the Product type and the visibleProduct type + """ + visibleProducts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: ProductToVisibleProductConnectionWhereArgs + ): ProductToVisibleProductConnection + + """ + Product's weight + """ + weight: String + + """ + Product's width + """ + width: String +} + +""" +Connection between the VariableProduct type and the Product type +""" +type VariableProductToProductConnection { + """ + Edges for the VariableProductToProductConnection connection + """ + edges: [VariableProductToProductConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [Product] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type VariableProductToProductConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: Product +} + +""" +Arguments for filtering the VariableProductToProductConnection connection +""" +input VariableProductToProductConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the VariableProduct type and the ProductVariation type +""" +type VariableProductToProductVariationConnection { + """ + Edges for the VariableProductToProductVariationConnection connection + """ + edges: [VariableProductToProductVariationConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ProductVariation] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type VariableProductToProductVariationConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ProductVariation +} + +""" +Arguments for filtering the VariableProductToProductVariationConnection connection +""" +input VariableProductToProductVariationConnectionWhereArgs { + """ + Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. + """ + attribute: String + + """ + Limit result set to products with a specific attribute term ID (required an assigned attribute). + """ + attributeTerm: String + + """ + Limit result set to products assigned a specific category name. + """ + category: String + + """ + Limit result set to products assigned a specific category name. + """ + categoryId: Int + + """ + Limit result set to products assigned to a specific group of category IDs. + """ + categoryIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of category IDs. + """ + categoryIdNotIn: [Int] + + """ + Limit result set to products assigned to a group of specific categories by name. + """ + categoryIn: [String] + + """ + Limit result set to products not assigned to a group of specific categories by name. + """ + categoryNotIn: [String] + + """ + Filter the connection based on dates. + """ + dateQuery: DateQueryInput + + """ + Ensure result set excludes specific IDs. + """ + exclude: [Int] + + """ + Limit result set to featured products. + """ + featured: Boolean + + """ + Limit result set to specific ids. + """ + include: [Int] + + """ + Limit result set to products based on a maximum price. + """ + maxPrice: Float + + """ + Limit result set to products based on a minimum price. + """ + minPrice: Float + + """ + Limit result set to products on sale. + """ + onSale: Boolean + + """ + What paramater to use to order the objects by. + """ + orderby: [ProductsOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items. + """ + parent: Int + + """ + Specify objects whose parent is in an array. + """ + parentIn: [Int] + + """ + Specify objects whose parent is not in an array. + """ + parentNotIn: [Int] + + """ + Limit result set to products based on a keyword search. + """ + search: String + + """ + Limit result set to products assigned a specific shipping class ID. + """ + shippingClassId: Int + + """ + Limit result set to products with specific SKU(s). Use commas to separate. + """ + sku: String + + """ + Limit result set to products with specific slugs. + """ + slugIn: [String] + + """ + Limit result set to products assigned a specific status. + """ + status: String + + """ + Limit result set to products in stock or out of stock. + """ + stockStatus: [StockStatusEnum] + + """ + Limit result types to types supported by WooGraphQL. + """ + supportedTypesOnly: Boolean + + """ + Limit result set to products assigned a specific tag name. + """ + tag: String + + """ + Limit result set to products assigned a specific tag ID. + """ + tagId: Int + + """ + Limit result set to products assigned to a specific group of tag IDs. + """ + tagIdIn: [Int] + + """ + Limit result set to products not assigned to a specific group of tag IDs. + """ + tagIdNotIn: [Int] + + """ + Limit result set to products assigned to a specific group of tags by name. + """ + tagIn: [String] + + """ + Limit result set to products not assigned to a specific group of tags by name. + """ + tagNotIn: [String] + + """ + Limit result set with complex set of taxonomy filters. + """ + taxonomyFilter: ProductTaxonomyInput + + """ + Limit result set to products assigned a specific type. + """ + type: ProductTypesEnum + + """ + Limit result set to products assigned to a group of specific types. + """ + typeIn: [ProductTypesEnum] + + """ + Limit result set to products not assigned to a group of specific types. + """ + typeNotIn: [ProductTypesEnum] + + """ + Limit result set to products with a specific visibility level. + """ + visibility: CatalogVisibilityEnum +} + +""" +Connection between the VariableProduct type and the VariationAttribute type +""" +type VariableProductToVariationAttributeConnection { + """ + Edges for the VariableProductToVariationAttributeConnection connection + """ + edges: [VariableProductToVariationAttributeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [VariationAttribute] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type VariableProductToVariationAttributeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: VariationAttribute +} + +""" +A product variation attribute object +""" +type VariationAttribute implements Attribute { + """ + The Database ID of the attribute. + """ + attributeId: Int + + """ + The Global ID of the attribute. + """ + id: ID! + + """ + Label of attribute + """ + label: String + + """ + Name of attribute + """ + name: String + + """ + Selected value of attribute + """ + value: String +} + +""" +The visibleProduct type +""" +type VisibleProduct implements Node & TermNode & UniformResourceIdentifiable & DatabaseIdentifier { + """ + Connection between the visibleProduct type and the ContentNode type + """ + contentNodes( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + + """ + Arguments for filtering the connection + """ + where: VisibleProductToContentNodeConnectionWhereArgs + ): VisibleProductToContentNodeConnection + + """ + The number of objects connected to the object + """ + count: Int + + """ + The unique identifier stored in the database + """ + databaseId: Int! + + """ + The description of the object + """ + description: String + + """ + Connection between the TermNode type and the EnqueuedScript type + """ + enqueuedScripts( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedScriptConnection + + """ + Connection between the TermNode type and the EnqueuedStylesheet type + """ + enqueuedStylesheets( + """ + The number of items to return after the referenced "after" cursor + """ + first: Int + + """ + The number of items to return before the referenced "before" cursor + """ + last: Int + + """ + Cursor used along with the "first" argument to reference where in the dataset to get data + """ + after: String + + """ + Cursor used along with the "last" argument to reference where in the dataset to get data + """ + before: String + ): TermNodeToEnqueuedStylesheetConnection + + """ + The unique resource identifier path + """ + id: ID! + + """ + Whether the node is a Content Node + """ + isContentNode: Boolean! + + """ + Whether the object is restricted from the current viewer + """ + isRestricted: Boolean + + """ + Whether the node is a Term + """ + isTermNode: Boolean! + + """ + The link to the term + """ + link: String + + """ + The human friendly name of the object. + """ + name: String + + """ + An alphanumeric identifier for the object unique to its type. + """ + slug: String + + """ + Connection between the visibleProduct type and the Taxonomy type + """ + taxonomy: VisibleProductToTaxonomyConnectionEdge + + """ + The ID of the term group that this term object belongs to + """ + termGroupId: Int + + """ + The taxonomy ID that the object is associated with + """ + termTaxonomyId: Int + + """ + The unique resource identifier path + """ + uri: String + + """ + The id field matches the WP_Post->ID field. + """ + visibleProductId: Int @deprecated(reason: "Deprecated in favor of databaseId") +} + +""" +The Type of Identifier used to fetch a single resource. Default is ID. +""" +enum VisibleProductIdType { + """ + The Database ID for the node + """ + DATABASE_ID + + """ + The hashed Global ID + """ + ID + + """ + The name of the node + """ + NAME + + """ + Url friendly name of the node + """ + SLUG + + """ + The URI for the node + """ + URI +} + +""" +Connection between the visibleProduct type and the ContentNode type +""" +type VisibleProductToContentNodeConnection { + """ + Edges for the VisibleProductToContentNodeConnection connection + """ + edges: [VisibleProductToContentNodeConnectionEdge] + + """ + The nodes of the connection, without the edges + """ + nodes: [ContentNode] + + """ + Information about pagination in a connection. + """ + pageInfo: WPPageInfo +} + +""" +An edge in a connection +""" +type VisibleProductToContentNodeConnectionEdge { + """ + A cursor for use in pagination + """ + cursor: String + + """ + The item at the end of the edge + """ + node: ContentNode +} + +""" +Arguments for filtering the VisibleProductToContentNodeConnection connection +""" +input VisibleProductToContentNodeConnectionWhereArgs { + """ + The Types of content to filter + """ + contentTypes: [ContentTypesOfVisibleProductEnum] + + """ + Filter the connection based on dates + """ + dateQuery: DateQueryInput + + """ + True for objects with passwords; False for objects without passwords; null for all objects with or without passwords + """ + hasPassword: Boolean + + """ + Specific ID of the object + """ + id: Int + + """ + Array of IDs for the objects to retrieve + """ + in: [ID] + + """ + Get objects with a specific mimeType property + """ + mimeType: MimeTypeEnum + + """ + Slug / post_name of the object + """ + name: String + + """ + Specify objects to retrieve. Use slugs + """ + nameIn: [String] + + """ + Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored + """ + notIn: [ID] + + """ + What paramater to use to order the objects by. + """ + orderby: [PostObjectsConnectionOrderbyInput] + + """ + Use ID to return only children. Use 0 to return only top-level items + """ + parent: ID + + """ + Specify objects whose parent is in an array + """ + parentIn: [ID] + + """ + Specify posts whose parent is not in an array + """ + parentNotIn: [ID] + + """ + Show posts with a specific password. + """ + password: String + + """ + Show Posts based on a keyword search + """ + search: String + + """ + Retrieve posts where post status is in an array. + """ + stati: [PostStatusEnum] + + """ + Show posts with a specific status. + """ + status: PostStatusEnum + + """ + Title of the object + """ + title: String +} + +""" +Connection between the visibleProduct type and the Taxonomy type +""" +type VisibleProductToTaxonomyConnectionEdge { + """ + The node of the connection, without the edges + """ + node: Taxonomy +} + +""" +Information about pagination in a connection. +""" +type WPPageInfo { + """ + When paginating forwards, the cursor to continue. + """ + endCursor: String + + """ + When paginating forwards, are there more items? + """ + hasNextPage: Boolean! + + """ + When paginating backwards, are there more items? + """ + hasPreviousPage: Boolean! + + """ + When paginating backwards, the cursor to continue. + """ + startCursor: String +} + +""" +Input for the writeReview mutation +""" +input WriteReviewInput { + """ + The approval status of the comment. + """ + approved: String + + """ + The name of the comment's author. + """ + author: String + + """ + The email of the comment's author. + """ + authorEmail: String + + """ + The url of the comment's author. + """ + authorUrl: String + + """ + This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The ID of the post object the comment belongs to. + """ + commentOn: Int + + """ + Content of the comment. + """ + content: String + + """ + The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 + """ + date: String + + """ + Parent comment of current comment. + """ + parent: ID + + """ + Product rating + """ + rating: Int! +} + +""" +The payload for the writeReview mutation +""" +type WriteReviewPayload { + """ + If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. + """ + clientMutationId: String + + """ + The product rating of the review that was created + """ + rating: Float + + """ + The product review that was created + """ + review: Comment +} + +""" +The writing setting type +""" +type WritingSettings { + """ + Default post category. + """ + defaultCategory: Int + + """ + Default post format. + """ + defaultPostFormat: String + + """ + Convert emoticons like :-) and :-P to graphics on display. + """ + useSmilies: Boolean } diff --git a/framework/woocommerce/schema.ts b/framework/woocommerce/schema.ts new file mode 100644 index 000000000..3518b0105 --- /dev/null +++ b/framework/woocommerce/schema.ts @@ -0,0 +1,18186 @@ +export type Maybe = T | null +export type Exact = { + [K in keyof T]: T[K] +} +export type MakeOptional = Omit & + { [SubKey in K]?: Maybe } +export type MakeMaybe = Omit & + { [SubKey in K]: Maybe } +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: string + String: string + Boolean: boolean + Int: number + Float: number +} + +/** Input for the addCartItems mutation */ +export type AddCartItemsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Cart items to be added */ + items?: Maybe>> +} + +/** The payload for the addCartItems mutation */ +export type AddCartItemsPayload = { + __typename?: 'AddCartItemsPayload' + added?: Maybe>> + cart?: Maybe + cartErrors?: Maybe>> + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the addFee mutation */ +export type AddFeeInput = { + /** Fee amount */ + amount?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Unique name for the fee. */ + name: Scalars['String'] + /** The tax class for the fee if taxable. */ + taxClass?: Maybe + /** Is the fee taxable? */ + taxable?: Maybe +} + +/** The payload for the addFee mutation */ +export type AddFeePayload = { + __typename?: 'AddFeePayload' + cart?: Maybe + cartFee?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the addToCart mutation */ +export type AddToCartInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** JSON string representation of extra cart item data */ + extraData?: Maybe + /** Cart item product database ID or global ID */ + productId: Scalars['Int'] + /** Cart item quantity */ + quantity?: Maybe + /** Cart item product variation attributes */ + variation?: Maybe>> + /** Cart item product variation database ID or global ID */ + variationId?: Maybe +} + +/** The payload for the addToCart mutation */ +export type AddToCartPayload = { + __typename?: 'AddToCartPayload' + cart?: Maybe + cartItem?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Coupon applied to the shopping cart. */ +export type AppliedCoupon = { + __typename?: 'AppliedCoupon' + /** Coupon code */ + code: Scalars['String'] + /** Discount applied with this coupon */ + discountAmount: Scalars['String'] + /** Taxes on discount applied with this coupon */ + discountTax: Scalars['String'] +} + +/** Coupon applied to the shopping cart. */ +export type AppliedCouponDiscountAmountArgs = { + excludeTax?: Maybe +} + +/** Input for the applyCoupon mutation */ +export type ApplyCouponInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Code of coupon being applied */ + code: Scalars['String'] +} + +/** The payload for the applyCoupon mutation */ +export type ApplyCouponPayload = { + __typename?: 'ApplyCouponPayload' + applied?: Maybe + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Attribute object */ +export type Attribute = { + /** Name of attribute */ + name?: Maybe + /** Selected value of attribute */ + value?: Maybe +} + +/** Avatars are profile images for users. WordPress by default uses the Gravatar service to host and fetch avatars from. */ +export type Avatar = { + __typename?: 'Avatar' + /** URL for the default image or a default type. Accepts '404' (return a 404 instead of a default image), 'retro' (8bit), 'monsterid' (monster), 'wavatar' (cartoon face), 'indenticon' (the 'quilt'), 'mystery', 'mm', or 'mysteryman' (The Oyster Man), 'blank' (transparent GIF), or 'gravatar_default' (the Gravatar logo). */ + default?: Maybe + /** HTML attributes to insert in the IMG element. Is not sanitized. */ + extraAttr?: Maybe + /** Whether to always show the default image, never the Gravatar. */ + forceDefault?: Maybe + /** Whether the avatar was successfully found. */ + foundAvatar?: Maybe + /** Height of the avatar image. */ + height?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. */ + rating?: Maybe + /** Type of url scheme to use. Typically HTTP vs. HTTPS. */ + scheme?: Maybe + /** The size of the avatar in pixels. A value of 96 will match a 96px x 96px gravatar image. */ + size?: Maybe + /** URL for the gravatar image source. */ + url?: Maybe + /** Width of the avatar image. */ + width?: Maybe +} + +/** What rating to display avatars up to. Accepts 'G', 'PG', 'R', 'X', and are judged in that order. Default is the value of the 'avatar_rating' option */ +export enum AvatarRatingEnum { + /** Indicates a G level avatar rating level. */ + G = 'G', + /** Indicates a PG level avatar rating level. */ + Pg = 'PG', + /** Indicates an R level avatar rating level. */ + R = 'R', + /** Indicates an X level avatar rating level. */ + X = 'X', +} + +/** Product backorder enumeration */ +export enum BackordersEnum { + No = 'NO', + Notify = 'NOTIFY', + Yes = 'YES', +} + +/** The cart object */ +export type Cart = { + __typename?: 'Cart' + /** Coupons applied to the cart */ + appliedCoupons?: Maybe>> + /** Available shipping methods for this order. */ + availableShippingMethods?: Maybe>> + /** Shipping method chosen for this order. */ + chosenShippingMethods?: Maybe>> + /** Connection between the Cart type and the CartItem type */ + contents?: Maybe + /** Cart contents tax */ + contentsTax?: Maybe + /** Cart contents total */ + contentsTotal?: Maybe + /** Cart discount tax */ + discountTax?: Maybe + /** Cart discount total */ + discountTotal?: Maybe + /** Do display prices include taxes */ + displayPricesIncludeTax?: Maybe + /** Cart fee tax */ + feeTax?: Maybe + /** Cart fee total */ + feeTotal?: Maybe + /** Additional fees on the cart. */ + fees?: Maybe>> + /** Is cart empty */ + isEmpty?: Maybe + /** Is customer shipping address needed */ + needsShippingAddress?: Maybe + /** Cart shipping tax */ + shippingTax?: Maybe + /** Cart shipping total */ + shippingTotal?: Maybe + /** Cart subtotal */ + subtotal?: Maybe + /** Cart subtotal tax */ + subtotalTax?: Maybe + /** Cart total after calculation */ + total?: Maybe + /** Cart total tax amount */ + totalTax?: Maybe + /** Cart total taxes itemized */ + totalTaxes?: Maybe>> +} + +/** The cart object */ +export type CartContentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** An error that occurred when updating the cart */ +export type CartError = { + /** Reason for error */ + reasons?: Maybe>> + /** Type of error */ + type: CartErrorType +} + +/** Cart error type enumeration */ +export enum CartErrorType { + InvalidCartItem = 'INVALID_CART_ITEM', + InvalidCoupon = 'INVALID_COUPON', + InvalidShippingMethod = 'INVALID_SHIPPING_METHOD', +} + +/** An additional fee */ +export type CartFee = { + __typename?: 'CartFee' + /** Fee amount */ + amount?: Maybe + /** Fee ID */ + id: Scalars['ID'] + /** Fee name */ + name: Scalars['String'] + /** Fee tax class */ + taxClass?: Maybe + /** Is fee taxable? */ + taxable?: Maybe + /** Fee total */ + total?: Maybe +} + +/** A item in the cart */ +export type CartItem = { + __typename?: 'CartItem' + /** Object meta data */ + extraData?: Maybe>> + /** CartItem ID */ + key: Scalars['ID'] + /** Connection between the CartItem type and the Product type */ + product?: Maybe + /** Quantity of the product */ + quantity?: Maybe + /** Item's subtotal */ + subtotal?: Maybe + /** Item's subtotal tax */ + subtotalTax?: Maybe + /** Item's tax */ + tax?: Maybe + /** Item's total */ + total?: Maybe + /** Connection between the CartItem type and the ProductVariation type */ + variation?: Maybe +} + +/** A item in the cart */ +export type CartItemExtraDataArgs = { + key?: Maybe + keysIn?: Maybe>> +} + +/** Error that occurred when adding an item to the cart. */ +export type CartItemError = CartError & { + __typename?: 'CartItemError' + /** JSON string representation of extra cart item data */ + extraData?: Maybe + /** Cart item product database ID or global ID */ + productId: Scalars['Int'] + /** Cart item quantity */ + quantity?: Maybe + /** Reason for error */ + reasons?: Maybe>> + /** Type of error */ + type: CartErrorType + /** Cart item product variation attributes */ + variation?: Maybe>> + /** Cart item product variation database ID or global ID */ + variationId?: Maybe +} + +/** Cart item quantity */ +export type CartItemInput = { + /** JSON string representation of extra cart item data */ + extraData?: Maybe + /** Cart item product database ID or global ID */ + productId: Scalars['Int'] + /** Cart item quantity */ + quantity?: Maybe + /** Cart item product variation attributes */ + variation?: Maybe>> + /** Cart item product variation database ID or global ID */ + variationId?: Maybe +} + +/** Cart item quantity */ +export type CartItemQuantityInput = { + /** Cart item being updated */ + key: Scalars['ID'] + /** Cart item's new quantity */ + quantity: Scalars['Int'] +} + +/** Connection between the CartItem type and the Product type */ +export type CartItemToProductConnectionEdge = { + __typename?: 'CartItemToProductConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe + /** Simple variation attribute data */ + simpleVariations?: Maybe>> +} + +/** Connection between the CartItem type and the ProductVariation type */ +export type CartItemToProductVariationConnectionEdge = { + __typename?: 'CartItemToProductVariationConnectionEdge' + /** Attributes of the variation. */ + attributes?: Maybe>> + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** An itemized cart tax item */ +export type CartTax = { + __typename?: 'CartTax' + /** Tax amount */ + amount?: Maybe + /** Tax Rate ID */ + id: Scalars['ID'] + /** Is tax compound? */ + isCompound?: Maybe + /** Tax label */ + label: Scalars['String'] +} + +/** Connection between the Cart type and the CartItem type */ +export type CartToCartItemConnection = { + __typename?: 'CartToCartItemConnection' + /** Edges for the CartToCartItemConnection connection */ + edges?: Maybe>> + /** Total number of items in the cart. */ + itemCount?: Maybe + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe + /** Total number of different products in the cart */ + productCount?: Maybe +} + +/** An edge in a connection */ +export type CartToCartItemConnectionEdge = { + __typename?: 'CartToCartItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CartToCartItemConnection connection */ +export type CartToCartItemConnectionWhereArgs = { + /** Limit results to cart items that require shipping */ + needsShipping?: Maybe +} + +/** Product catalog visibility enumeration */ +export enum CatalogVisibilityEnum { + Catalog = 'CATALOG', + Hidden = 'HIDDEN', + Search = 'SEARCH', + Visible = 'VISIBLE', +} + +/** The category type */ +export type Category = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + HierarchicalTermNode & + MenuItemLinkable & { + __typename?: 'Category' + /** The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + categoryId?: Maybe + /** Connection between the category type and the category type */ + children?: Maybe + /** Connection between the category type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** Connection between the category type and the category type */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe + /** Connection between the category type and the post type */ + posts?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the category type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The category type */ +export type CategoryAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The category type */ +export type CategoryChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The category type */ +export type CategoryContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The category type */ +export type CategoryEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The category type */ +export type CategoryEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The category type */ +export type CategoryPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum CategoryIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the category type and the category type */ +export type CategoryToAncestorsCategoryConnection = { + __typename?: 'CategoryToAncestorsCategoryConnection' + /** Edges for the CategoryToAncestorsCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CategoryToAncestorsCategoryConnectionEdge = { + __typename?: 'CategoryToAncestorsCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the category type and the category type */ +export type CategoryToCategoryConnection = { + __typename?: 'CategoryToCategoryConnection' + /** Edges for the CategoryToCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CategoryToCategoryConnectionEdge = { + __typename?: 'CategoryToCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CategoryToCategoryConnection connection */ +export type CategoryToCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the category type and the ContentNode type */ +export type CategoryToContentNodeConnection = { + __typename?: 'CategoryToContentNodeConnection' + /** Edges for the CategoryToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CategoryToContentNodeConnectionEdge = { + __typename?: 'CategoryToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CategoryToContentNodeConnection connection */ +export type CategoryToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the category type and the category type */ +export type CategoryToParentCategoryConnectionEdge = { + __typename?: 'CategoryToParentCategoryConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the category type and the post type */ +export type CategoryToPostConnection = { + __typename?: 'CategoryToPostConnection' + /** Edges for the CategoryToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CategoryToPostConnectionEdge = { + __typename?: 'CategoryToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CategoryToPostConnection connection */ +export type CategoryToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the category type and the Taxonomy type */ +export type CategoryToTaxonomyConnectionEdge = { + __typename?: 'CategoryToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Input for the checkout mutation */ +export type CheckoutInput = { + /** Create new customer account */ + account?: Maybe + /** Order billing address */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Order customer note */ + customerNote?: Maybe + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + isPaid?: Maybe + /** Order meta data */ + metaData?: Maybe>> + /** Payment method ID. */ + paymentMethod?: Maybe + /** Ship to a separate address */ + shipToDifferentAddress?: Maybe + /** Order shipping address */ + shipping?: Maybe + /** Order shipping method */ + shippingMethod?: Maybe>> + /** Order transaction ID */ + transactionId?: Maybe +} + +/** The payload for the checkout mutation */ +export type CheckoutPayload = { + __typename?: 'CheckoutPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + customer?: Maybe + order?: Maybe + redirect?: Maybe + result?: Maybe +} + +/** A Comment object */ +export type Comment = Node & + DatabaseIdentifier & { + __typename?: 'Comment' + /** User agent used to post the comment. This field is equivalent to WP_Comment->comment_agent and the value matching the "comment_agent" column in SQL. */ + agent?: Maybe + /** The approval status of the comment. This field is equivalent to WP_Comment->comment_approved and the value matching the "comment_approved" column in SQL. */ + approved?: Maybe + /** The author of the comment */ + author?: Maybe + /** IP address for the author. This field is equivalent to WP_Comment->comment_author_IP and the value matching the "comment_author_IP" column in SQL. */ + authorIp?: Maybe + /** + * ID for the comment, unique among comments. + * @deprecated Deprecated in favor of databaseId + */ + commentId?: Maybe + /** Connection between the Comment type and the ContentNode type */ + commentedOn?: Maybe + /** Content of the comment. This field is equivalent to WP_Comment->comment_content and the value matching the "comment_content" column in SQL. */ + content?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** Date the comment was posted in local time. This field is equivalent to WP_Comment->date and the value matching the "date" column in SQL. */ + date?: Maybe + /** Date the comment was posted in GMT. This field is equivalent to WP_Comment->date_gmt and the value matching the "date_gmt" column in SQL. */ + dateGmt?: Maybe + /** The globally unique identifier for the comment object */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Karma value for the comment. This field is equivalent to WP_Comment->comment_karma and the value matching the "comment_karma" column in SQL. */ + karma?: Maybe + /** Connection between the Comment type and the Comment type */ + parent?: Maybe + /** The database id of the parent comment node or null if it is the root comment */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent comment node. */ + parentId?: Maybe + /** Connection between the Comment type and the Comment type */ + replies?: Maybe + /** Type of comment. This field is equivalent to WP_Comment->comment_type and the value matching the "comment_type" column in SQL. */ + type?: Maybe + } + +/** A Comment object */ +export type CommentContentArgs = { + format?: Maybe +} + +/** A Comment object */ +export type CommentParentArgs = { + where?: Maybe +} + +/** A Comment object */ +export type CommentRepliesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A Comment Author object */ +export type CommentAuthor = Node & + Commenter & { + __typename?: 'CommentAuthor' + /** Identifies the primary key from the database. */ + databaseId: Scalars['Int'] + /** The email for the comment author */ + email?: Maybe + /** The globally unique identifier for the comment author object */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** The name for the comment author. */ + name?: Maybe + /** The url the comment author. */ + url?: Maybe + } + +/** Connection between the Comment type and the Comment type */ +export type CommentToCommentConnection = { + __typename?: 'CommentToCommentConnection' + /** Edges for the CommentToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CommentToCommentConnectionEdge = { + __typename?: 'CommentToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CommentToCommentConnection connection */ +export type CommentToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the Comment type and the Commenter type */ +export type CommentToCommenterConnectionEdge = { + __typename?: 'CommentToCommenterConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the Comment type and the ContentNode type */ +export type CommentToContentNodeConnectionEdge = { + __typename?: 'CommentToContentNodeConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the Comment type and the Comment type */ +export type CommentToParentCommentConnectionEdge = { + __typename?: 'CommentToParentCommentConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Arguments for filtering the CommentToParentCommentConnection connection */ +export type CommentToParentCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** The author of a comment */ +export type Commenter = { + /** Identifies the primary key from the database. */ + databaseId: Scalars['Int'] + /** The email address of the author of a comment. */ + email?: Maybe + /** The globally unique identifier for the comment author. */ + id: Scalars['ID'] + /** Whether the author information is considered restricted. (not fully public) */ + isRestricted?: Maybe + /** The name of the author of a comment. */ + name?: Maybe + /** The url of the author of a comment. */ + url?: Maybe +} + +/** Options for ordering the connection */ +export enum CommentsConnectionOrderbyEnum { + /** Order by browser user agent of the commenter. */ + CommentAgent = 'COMMENT_AGENT', + /** Order by true/false approval of the comment. */ + CommentApproved = 'COMMENT_APPROVED', + /** Order by name of the comment author. */ + CommentAuthor = 'COMMENT_AUTHOR', + /** Order by e-mail of the comment author. */ + CommentAuthorEmail = 'COMMENT_AUTHOR_EMAIL', + /** Order by IP address of the comment author. */ + CommentAuthorIp = 'COMMENT_AUTHOR_IP', + /** Order by URL address of the comment author. */ + CommentAuthorUrl = 'COMMENT_AUTHOR_URL', + /** Order by the comment contents. */ + CommentContent = 'COMMENT_CONTENT', + /** Order by date/time timestamp of the comment. */ + CommentDate = 'COMMENT_DATE', + /** Order by GMT timezone date/time timestamp of the comment. */ + CommentDateGmt = 'COMMENT_DATE_GMT', + /** Order by the globally unique identifier for the comment object */ + CommentId = 'COMMENT_ID', + /** Order by the array list of comment IDs listed in the where clause. */ + CommentIn = 'COMMENT_IN', + /** Order by the comment karma score. */ + CommentKarma = 'COMMENT_KARMA', + /** Order by the comment parent ID. */ + CommentParent = 'COMMENT_PARENT', + /** Order by the post object ID. */ + CommentPostId = 'COMMENT_POST_ID', + /** Order by the the type of comment, such as 'comment', 'pingback', or 'trackback'. */ + CommentType = 'COMMENT_TYPE', + /** Order by the user ID. */ + UserId = 'USER_ID', +} + +/** Nodes used to manage content */ +export type ContentNode = { + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The ID of the node in the database. */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** The current status of the object */ + status?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** The unique resource identifier path */ + uri?: Maybe +} + +/** Nodes used to manage content */ +export type ContentNodeEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** Nodes used to manage content */ +export type ContentNodeEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ContentNodeIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a resource by the URI. */ + Uri = 'URI', +} + +/** Connection between the ContentNode type and the ContentType type */ +export type ContentNodeToContentTypeConnectionEdge = { + __typename?: 'ContentNodeToContentTypeConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the ContentNode type and the User type */ +export type ContentNodeToEditLastConnectionEdge = { + __typename?: 'ContentNodeToEditLastConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the ContentNode type and the User type */ +export type ContentNodeToEditLockConnectionEdge = { + __typename?: 'ContentNodeToEditLockConnectionEdge' + /** The timestamp for when the node was last edited */ + lockTimestamp?: Maybe + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the ContentNode type and the EnqueuedScript type */ +export type ContentNodeToEnqueuedScriptConnection = { + __typename?: 'ContentNodeToEnqueuedScriptConnection' + /** Edges for the ContentNodeToEnqueuedScriptConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ContentNodeToEnqueuedScriptConnectionEdge = { + __typename?: 'ContentNodeToEnqueuedScriptConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the ContentNode type and the EnqueuedStylesheet type */ +export type ContentNodeToEnqueuedStylesheetConnection = { + __typename?: 'ContentNodeToEnqueuedStylesheetConnection' + /** Edges for the ContentNodeToEnqueuedStylesheetConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ContentNodeToEnqueuedStylesheetConnectionEdge = { + __typename?: 'ContentNodeToEnqueuedStylesheetConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** A union of Content Node Types that support revisions */ +export type ContentRevisionUnion = Post | Page + +/** The template assigned to a node of content */ +export type ContentTemplate = { + /** The name of the template */ + templateName?: Maybe +} + +/** An Post Type object */ +export type ContentType = Node & + UniformResourceIdentifiable & { + __typename?: 'ContentType' + /** Whether this content type should can be exported. */ + canExport?: Maybe + /** Connection between the ContentType type and the Taxonomy type */ + connectedTaxonomies?: Maybe + /** Connection between the ContentType type and the ContentNode type */ + contentNodes?: Maybe + /** Whether content of this type should be deleted when the author of it is deleted from the system. */ + deleteWithUser?: Maybe + /** Description of the content type. */ + description?: Maybe + /** Whether to exclude nodes of this content type from front end search results. */ + excludeFromSearch?: Maybe + /** The plural name of the content type within the GraphQL Schema. */ + graphqlPluralName?: Maybe + /** The singular name of the content type within the GraphQL Schema. */ + graphqlSingleName?: Maybe + /** Whether this content type should have archives. Content archives are generated by type and by date. */ + hasArchive?: Maybe + /** Whether the content type is hierarchical, for example pages. */ + hierarchical?: Maybe + /** The globally unique identifier of the post-type object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether this page is set to the static front page. */ + isFrontPage: Scalars['Boolean'] + /** Whether this page is set to the blog posts page. */ + isPostsPage: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** Display name of the content type. */ + label?: Maybe + /** Details about the content type labels. */ + labels?: Maybe + /** The name of the icon file to display as a menu icon. */ + menuIcon?: Maybe + /** The position of this post type in the menu. Only applies if show_in_menu is true. */ + menuPosition?: Maybe + /** The internal name of the post type. This should not be used for display purposes. */ + name?: Maybe + /** Whether a content type is intended for use publicly either via the admin interface or by front-end users. While the default settings of exclude_from_search, publicly_queryable, show_ui, and show_in_nav_menus are inherited from public, each does not rely on this relationship and controls a very specific intention. */ + public?: Maybe + /** Whether queries can be performed on the front end for the content type as part of parse_request(). */ + publiclyQueryable?: Maybe + /** Name of content type to display in REST API "wp/v2" namespace. */ + restBase?: Maybe + /** The REST Controller class assigned to handling this content type. */ + restControllerClass?: Maybe + /** Makes this content type available via the admin bar. */ + showInAdminBar?: Maybe + /** Whether to add the content type to the GraphQL Schema. */ + showInGraphql?: Maybe + /** Where to show the content type in the admin menu. To work, $show_ui must be true. If true, the post type is shown in its own top level menu. If false, no menu is shown. If a string of an existing top level menu (eg. "tools.php" or "edit.php?post_type=page"), the post type will be placed as a sub-menu of that. */ + showInMenu?: Maybe + /** Makes this content type available for selection in navigation menus. */ + showInNavMenus?: Maybe + /** Whether the content type is associated with a route under the the REST API "wp/v2" namespace. */ + showInRest?: Maybe + /** Whether to generate and allow a UI for managing this content type in the admin. */ + showUi?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** An Post Type object */ +export type ContentTypeConnectedTaxonomiesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** An Post Type object */ +export type ContentTypeContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Allowed Content Types */ +export enum ContentTypeEnum { + /** The Type of Content object */ + Attachment = 'ATTACHMENT', + /** The Type of Content object */ + Page = 'PAGE', + /** The Type of Content object */ + Post = 'POST', + /** The Type of Content object */ + Product = 'PRODUCT', + /** The Type of Content object */ + ProductVariation = 'PRODUCT_VARIATION', + /** The Type of Content object */ + ShopCoupon = 'SHOP_COUPON', + /** The Type of Content object */ + ShopOrder = 'SHOP_ORDER', + /** The Type of Content object */ + ShopOrderRefund = 'SHOP_ORDER_REFUND', +} + +/** The Type of Identifier used to fetch a single Content Type node. To be used along with the "id" field. Default is "ID". */ +export enum ContentTypeIdTypeEnum { + /** The globally unique ID */ + Id = 'ID', + /** The name of the content type. */ + Name = 'NAME', +} + +/** Connection between the ContentType type and the ContentNode type */ +export type ContentTypeToContentNodeConnection = { + __typename?: 'ContentTypeToContentNodeConnection' + /** Edges for the ContentTypeToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ContentTypeToContentNodeConnectionEdge = { + __typename?: 'ContentTypeToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ContentTypeToContentNodeConnection connection */ +export type ContentTypeToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the ContentType type and the Taxonomy type */ +export type ContentTypeToTaxonomyConnection = { + __typename?: 'ContentTypeToTaxonomyConnection' + /** Edges for the ContentTypeToTaxonomyConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ContentTypeToTaxonomyConnectionEdge = { + __typename?: 'ContentTypeToTaxonomyConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Allowed Content Types of the Category taxonomy. */ +export enum ContentTypesOfCategoryEnum { + /** The Type of Content object */ + Post = 'POST', +} + +/** Allowed Content Types of the PaColor taxonomy. */ +export enum ContentTypesOfPaColorEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the PaSize taxonomy. */ +export enum ContentTypesOfPaSizeEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the PostFormat taxonomy. */ +export enum ContentTypesOfPostFormatEnum { + /** The Type of Content object */ + Post = 'POST', +} + +/** Allowed Content Types of the ProductCategory taxonomy. */ +export enum ContentTypesOfProductCategoryEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the ProductTag taxonomy. */ +export enum ContentTypesOfProductTagEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the ProductType taxonomy. */ +export enum ContentTypesOfProductTypeEnum { + /** The Type of Content object */ + Product = 'PRODUCT', +} + +/** Allowed Content Types of the ShippingClass taxonomy. */ +export enum ContentTypesOfShippingClassEnum { + /** The Type of Content object */ + Product = 'PRODUCT', + /** The Type of Content object */ + ProductVariation = 'PRODUCT_VARIATION', +} + +/** Allowed Content Types of the Tag taxonomy. */ +export enum ContentTypesOfTagEnum { + /** The Type of Content object */ + Post = 'POST', +} + +/** Allowed Content Types of the VisibleProduct taxonomy. */ +export enum ContentTypesOfVisibleProductEnum { + /** The Type of Content object */ + Product = 'PRODUCT', + /** The Type of Content object */ + ProductVariation = 'PRODUCT_VARIATION', +} + +/** Countries enumeration */ +export enum CountriesEnum { + Ad = 'AD', + Ae = 'AE', + Af = 'AF', + Ag = 'AG', + Ai = 'AI', + Al = 'AL', + Am = 'AM', + Ao = 'AO', + Aq = 'AQ', + Ar = 'AR', + As = 'AS', + At = 'AT', + Au = 'AU', + Aw = 'AW', + Ax = 'AX', + Az = 'AZ', + Ba = 'BA', + Bb = 'BB', + Bd = 'BD', + Be = 'BE', + Bf = 'BF', + Bg = 'BG', + Bh = 'BH', + Bi = 'BI', + Bj = 'BJ', + Bl = 'BL', + Bm = 'BM', + Bn = 'BN', + Bo = 'BO', + Bq = 'BQ', + Br = 'BR', + Bs = 'BS', + Bt = 'BT', + Bv = 'BV', + Bw = 'BW', + By = 'BY', + Bz = 'BZ', + Ca = 'CA', + Cc = 'CC', + Cd = 'CD', + Cf = 'CF', + Cg = 'CG', + Ch = 'CH', + Ci = 'CI', + Ck = 'CK', + Cl = 'CL', + Cm = 'CM', + Cn = 'CN', + Co = 'CO', + Cr = 'CR', + Cu = 'CU', + Cv = 'CV', + Cw = 'CW', + Cx = 'CX', + Cy = 'CY', + Cz = 'CZ', + De = 'DE', + Dj = 'DJ', + Dk = 'DK', + Dm = 'DM', + Do = 'DO', + Dz = 'DZ', + Ec = 'EC', + Ee = 'EE', + Eg = 'EG', + Eh = 'EH', + Er = 'ER', + Es = 'ES', + Et = 'ET', + Fi = 'FI', + Fj = 'FJ', + Fk = 'FK', + Fm = 'FM', + Fo = 'FO', + Fr = 'FR', + Ga = 'GA', + Gb = 'GB', + Gd = 'GD', + Ge = 'GE', + Gf = 'GF', + Gg = 'GG', + Gh = 'GH', + Gi = 'GI', + Gl = 'GL', + Gm = 'GM', + Gn = 'GN', + Gp = 'GP', + Gq = 'GQ', + Gr = 'GR', + Gs = 'GS', + Gt = 'GT', + Gu = 'GU', + Gw = 'GW', + Gy = 'GY', + Hk = 'HK', + Hm = 'HM', + Hn = 'HN', + Hr = 'HR', + Ht = 'HT', + Hu = 'HU', + Id = 'ID', + Ie = 'IE', + Il = 'IL', + Im = 'IM', + In = 'IN', + Io = 'IO', + Iq = 'IQ', + Ir = 'IR', + Is = 'IS', + It = 'IT', + Je = 'JE', + Jm = 'JM', + Jo = 'JO', + Jp = 'JP', + Ke = 'KE', + Kg = 'KG', + Kh = 'KH', + Ki = 'KI', + Km = 'KM', + Kn = 'KN', + Kp = 'KP', + Kr = 'KR', + Kw = 'KW', + Ky = 'KY', + Kz = 'KZ', + La = 'LA', + Lb = 'LB', + Lc = 'LC', + Li = 'LI', + Lk = 'LK', + Lr = 'LR', + Ls = 'LS', + Lt = 'LT', + Lu = 'LU', + Lv = 'LV', + Ly = 'LY', + Ma = 'MA', + Mc = 'MC', + Md = 'MD', + Me = 'ME', + Mf = 'MF', + Mg = 'MG', + Mh = 'MH', + Mk = 'MK', + Ml = 'ML', + Mm = 'MM', + Mn = 'MN', + Mo = 'MO', + Mp = 'MP', + Mq = 'MQ', + Mr = 'MR', + Ms = 'MS', + Mt = 'MT', + Mu = 'MU', + Mv = 'MV', + Mw = 'MW', + Mx = 'MX', + My = 'MY', + Mz = 'MZ', + Na = 'NA', + Nc = 'NC', + Ne = 'NE', + Nf = 'NF', + Ng = 'NG', + Ni = 'NI', + Nl = 'NL', + No = 'NO', + Np = 'NP', + Nr = 'NR', + Nu = 'NU', + Nz = 'NZ', + Om = 'OM', + Pa = 'PA', + Pe = 'PE', + Pf = 'PF', + Pg = 'PG', + Ph = 'PH', + Pk = 'PK', + Pl = 'PL', + Pm = 'PM', + Pn = 'PN', + Pr = 'PR', + Ps = 'PS', + Pt = 'PT', + Pw = 'PW', + Py = 'PY', + Qa = 'QA', + Re = 'RE', + Ro = 'RO', + Rs = 'RS', + Ru = 'RU', + Rw = 'RW', + Sa = 'SA', + Sb = 'SB', + Sc = 'SC', + Sd = 'SD', + Se = 'SE', + Sg = 'SG', + Sh = 'SH', + Si = 'SI', + Sj = 'SJ', + Sk = 'SK', + Sl = 'SL', + Sm = 'SM', + Sn = 'SN', + So = 'SO', + Sr = 'SR', + Ss = 'SS', + St = 'ST', + Sv = 'SV', + Sx = 'SX', + Sy = 'SY', + Sz = 'SZ', + Tc = 'TC', + Td = 'TD', + Tf = 'TF', + Tg = 'TG', + Th = 'TH', + Tj = 'TJ', + Tk = 'TK', + Tl = 'TL', + Tm = 'TM', + Tn = 'TN', + To = 'TO', + Tr = 'TR', + Tt = 'TT', + Tv = 'TV', + Tw = 'TW', + Tz = 'TZ', + Ua = 'UA', + Ug = 'UG', + Um = 'UM', + Us = 'US', + Uy = 'UY', + Uz = 'UZ', + Va = 'VA', + Vc = 'VC', + Ve = 'VE', + Vg = 'VG', + Vi = 'VI', + Vn = 'VN', + Vu = 'VU', + Wf = 'WF', + Ws = 'WS', + Ye = 'YE', + Yt = 'YT', + Za = 'ZA', + Zm = 'ZM', + Zw = 'ZW', +} + +/** A coupon object */ +export type Coupon = Node & { + __typename?: 'Coupon' + /** Amount off provided by the coupon */ + amount?: Maybe + /** Coupon code */ + code?: Maybe + /** The ID of the coupon in the database */ + databaseId?: Maybe + /** Date coupon created */ + date?: Maybe + /** Date coupon expires */ + dateExpiry?: Maybe + /** Explanation of what the coupon does */ + description?: Maybe + /** Type of discount */ + discountType?: Maybe + /** Only customers with a matching email address can use the coupon */ + emailRestrictions?: Maybe>> + /** Excluding sale items mean this coupon cannot be used on items that are on sale (or carts that contain on sale items) */ + excludeSaleItems?: Maybe + /** Connection between the Coupon type and the productCategory type */ + excludedProductCategories?: Maybe + /** Connection between the Coupon type and the Product type */ + excludedProducts?: Maybe + /** Does this coupon grant free shipping? */ + freeShipping?: Maybe + /** The globally unique identifier for the coupon */ + id: Scalars['ID'] + /** Individual use means this coupon cannot be used in conjunction with other coupons */ + individualUse?: Maybe + /** The number of products in your cart this coupon can apply to (for product discounts) */ + limitUsageToXItems?: Maybe + /** Maximum spend amount that must be met before this coupon can be used */ + maximumAmount?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Minimum spend amount that must be met before this coupon can be used */ + minimumAmount?: Maybe + /** Date coupon modified */ + modified?: Maybe + /** Connection between the Coupon type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Coupon type and the Product type */ + products?: Maybe + /** How many times the coupon has been used */ + usageCount?: Maybe + /** Amount of times this coupon can be used globally */ + usageLimit?: Maybe + /** Amount of times this coupon can be used by a customer */ + usageLimitPerUser?: Maybe + /** Connection between the Coupon type and the Customer type */ + usedBy?: Maybe +} + +/** A coupon object */ +export type CouponExcludedProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A coupon object */ +export type CouponExcludedProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A coupon object */ +export type CouponMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A coupon object */ +export type CouponProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A coupon object */ +export type CouponProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A coupon object */ +export type CouponUsedByArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single Coupon. Default is ID. */ +export enum CouponIdTypeEnum { + /** Coupon code. */ + Code = 'CODE', + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** a coupon line object */ +export type CouponLine = { + __typename?: 'CouponLine' + /** Line's Coupon code */ + code?: Maybe + /** Line's Coupon */ + coupon?: Maybe + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Line's Discount total */ + discount?: Maybe + /** Line's Discount total tax */ + discountTax?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** The Id of the order the order item belongs to. */ + orderId?: Maybe +} + +/** a coupon line object */ +export type CouponLineMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** Connection between the Coupon type and the Customer type */ +export type CouponToCustomerConnection = { + __typename?: 'CouponToCustomerConnection' + /** Edges for the CouponToCustomerConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToCustomerConnectionEdge = { + __typename?: 'CouponToCustomerConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToCustomerConnection connection */ +export type CouponToCustomerConnectionWhereArgs = { + /** Limit result set to resources with a specific email. */ + email?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Order of results. */ + order?: Maybe + /** Order results by a specific field. */ + orderby?: Maybe + /** Limit results to those matching a string. */ + search?: Maybe +} + +/** Connection between the Coupon type and the productCategory type */ +export type CouponToExcludedProductCategoriesConnection = { + __typename?: 'CouponToExcludedProductCategoriesConnection' + /** Edges for the CouponToExcludedProductCategoriesConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToExcludedProductCategoriesConnectionEdge = { + __typename?: 'CouponToExcludedProductCategoriesConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToExcludedProductCategoriesConnection connection */ +export type CouponToExcludedProductCategoriesConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Coupon type and the Product type */ +export type CouponToExcludedProductsConnection = { + __typename?: 'CouponToExcludedProductsConnection' + /** Edges for the CouponToExcludedProductsConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToExcludedProductsConnectionEdge = { + __typename?: 'CouponToExcludedProductsConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToExcludedProductsConnection connection */ +export type CouponToExcludedProductsConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the Coupon type and the productCategory type */ +export type CouponToProductCategoryConnection = { + __typename?: 'CouponToProductCategoryConnection' + /** Edges for the CouponToProductCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToProductCategoryConnectionEdge = { + __typename?: 'CouponToProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToProductCategoryConnection connection */ +export type CouponToProductCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Coupon type and the Product type */ +export type CouponToProductConnection = { + __typename?: 'CouponToProductConnection' + /** Edges for the CouponToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CouponToProductConnectionEdge = { + __typename?: 'CouponToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CouponToProductConnection connection */ +export type CouponToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Customer account credentials */ +export type CreateAccountInput = { + /** Customer password */ + password: Scalars['String'] + /** Customer username */ + username: Scalars['String'] +} + +/** Input for the createCategory mutation */ +export type CreateCategoryInput = { + /** The slug that the category will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the category object */ + description?: Maybe + /** The name of the category object to mutate */ + name: Scalars['String'] + /** The ID of the category that should be set as the parent */ + parentId?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createCategory mutation */ +export type CreateCategoryPayload = { + __typename?: 'CreateCategoryPayload' + /** The created category */ + category?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the createComment mutation */ +export type CreateCommentInput = { + /** The approval status of the comment. */ + approved?: Maybe + /** The name of the comment's author. */ + author?: Maybe + /** The email of the comment's author. */ + authorEmail?: Maybe + /** The url of the comment's author. */ + authorUrl?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the post object the comment belongs to. */ + commentOn?: Maybe + /** Content of the comment. */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** Parent comment of current comment. */ + parent?: Maybe + /** Type of comment. */ + type?: Maybe +} + +/** The payload for the createComment mutation */ +export type CreateCommentPayload = { + __typename?: 'CreateCommentPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment that was created */ + comment?: Maybe + /** Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache */ + success?: Maybe +} + +/** Input for the createCoupon mutation */ +export type CreateCouponInput = { + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupon code. */ + code: Scalars['String'] + /** The date the coupon expires, in the site's timezone. */ + dateExpires?: Maybe + /** The date the coupon expires, as GMT. */ + dateExpiresGmt?: Maybe + /** Coupon description. */ + description?: Maybe + /** Determines the type of discount that will be applied. */ + discountType?: Maybe + /** List of email addresses that can use this coupon. */ + emailRestrictions?: Maybe>> + /** If true, this coupon will not be applied to items that have sale prices. */ + excludeSaleItems?: Maybe + /** List of category IDs the coupon does not apply to. */ + excludedProductCategories?: Maybe>> + /** List of product IDs the coupon cannot be used on. */ + excludedProductIds?: Maybe>> + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + freeShipping?: Maybe + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individualUse?: Maybe + /** Max number of items in the cart the coupon can be applied to. */ + limitUsageToXItems?: Maybe + /** Maximum order amount allowed when using the coupon. */ + maximumAmount?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimumAmount?: Maybe + /** List of category IDs the coupon applies to. */ + productCategories?: Maybe>> + /** List of product IDs the coupon can be used on. */ + productIds?: Maybe>> + /** How many times the coupon can be used in total. */ + usageLimit?: Maybe + /** How many times the coupon can be used per customer. */ + usageLimitPerUser?: Maybe +} + +/** The payload for the createCoupon mutation */ +export type CreateCouponPayload = { + __typename?: 'CreateCouponPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + code?: Maybe + coupon?: Maybe +} + +/** Input for the createMediaItem mutation */ +export type CreateMediaItemInput = { + /** Alternative text to display when mediaItem is not displayed */ + altText?: Maybe + /** The userId to assign as the author of the mediaItem */ + authorId?: Maybe + /** The caption for the mediaItem */ + caption?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the mediaItem */ + commentStatus?: Maybe + /** The date of the mediaItem */ + date?: Maybe + /** The date (in GMT zone) of the mediaItem */ + dateGmt?: Maybe + /** Description of the mediaItem */ + description?: Maybe + /** The file name of the mediaItem */ + filePath?: Maybe + /** The file type of the mediaItem */ + fileType?: Maybe + /** The WordPress post ID or the graphQL postId of the parent object */ + parentId?: Maybe + /** The ping status for the mediaItem */ + pingStatus?: Maybe + /** The slug of the mediaItem */ + slug?: Maybe + /** The status of the mediaItem */ + status?: Maybe + /** The title of the mediaItem */ + title?: Maybe +} + +/** The payload for the createMediaItem mutation */ +export type CreateMediaItemPayload = { + __typename?: 'CreateMediaItemPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The MediaItem object mutation type. */ + mediaItem?: Maybe +} + +/** Input for the createOrder mutation */ +export type CreateOrderInput = { + /** Order billing address */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupons codes to be applied to order */ + coupons?: Maybe>> + /** Currency the order was created with, in ISO format. */ + currency?: Maybe + /** Order customer ID */ + customerId?: Maybe + /** Note left by customer during checkout. */ + customerNote?: Maybe + /** Order shipping lines */ + feeLines?: Maybe>> + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + isPaid?: Maybe + /** Order line items */ + lineItems?: Maybe>> + /** Order meta data */ + metaData?: Maybe>> + /** Parent order ID. */ + parentId?: Maybe + /** Payment method ID. */ + paymentMethod?: Maybe + /** Payment method title. */ + paymentMethodTitle?: Maybe + /** Order shipping address */ + shipping?: Maybe + /** Order shipping lines */ + shippingLines?: Maybe>> + /** Order status */ + status?: Maybe + /** Order transaction ID */ + transactionId?: Maybe +} + +/** The payload for the createOrder mutation */ +export type CreateOrderPayload = { + __typename?: 'CreateOrderPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + order?: Maybe + orderId?: Maybe +} + +/** Input for the createPaColor mutation */ +export type CreatePaColorInput = { + /** The slug that the pa_color will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the pa_color object */ + description?: Maybe + /** The name of the pa_color object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createPaColor mutation */ +export type CreatePaColorPayload = { + __typename?: 'CreatePaColorPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created pa_color */ + paColor?: Maybe +} + +/** Input for the createPaSize mutation */ +export type CreatePaSizeInput = { + /** The slug that the pa_size will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the pa_size object */ + description?: Maybe + /** The name of the pa_size object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createPaSize mutation */ +export type CreatePaSizePayload = { + __typename?: 'CreatePaSizePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created pa_size */ + paSize?: Maybe +} + +/** Input for the createPage mutation */ +export type CreatePageInput = { + /** The userId to assign as the author of the object */ + authorId?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the object */ + commentStatus?: Maybe + /** The content of the object */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The ID of the parent object */ + parentId?: Maybe + /** The password used to protect the content of the object */ + password?: Maybe + /** The slug of the object */ + slug?: Maybe + /** The status of the object */ + status?: Maybe + /** The title of the object */ + title?: Maybe +} + +/** The payload for the createPage mutation */ +export type CreatePagePayload = { + __typename?: 'CreatePagePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The Post object mutation type. */ + page?: Maybe +} + +/** Input for the createPostFormat mutation */ +export type CreatePostFormatInput = { + /** The slug that the post_format will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the post_format object */ + description?: Maybe + /** The name of the post_format object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createPostFormat mutation */ +export type CreatePostFormatPayload = { + __typename?: 'CreatePostFormatPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created post_format */ + postFormat?: Maybe +} + +/** Input for the createPost mutation */ +export type CreatePostInput = { + /** The userId to assign as the author of the object */ + authorId?: Maybe + /** Set connections between the post and categories */ + categories?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the object */ + commentStatus?: Maybe + /** The content of the object */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The excerpt of the object */ + excerpt?: Maybe + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The password used to protect the content of the object */ + password?: Maybe + /** The ping status for the object */ + pingStatus?: Maybe + /** URLs that have been pinged. */ + pinged?: Maybe>> + /** Set connections between the post and postFormats */ + postFormats?: Maybe + /** The slug of the object */ + slug?: Maybe + /** The status of the object */ + status?: Maybe + /** Set connections between the post and tags */ + tags?: Maybe + /** The title of the object */ + title?: Maybe + /** URLs queued to be pinged. */ + toPing?: Maybe>> +} + +/** The payload for the createPost mutation */ +export type CreatePostPayload = { + __typename?: 'CreatePostPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The Post object mutation type. */ + post?: Maybe +} + +/** Input for the createProductCategory mutation */ +export type CreateProductCategoryInput = { + /** The slug that the product_cat will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_cat object */ + description?: Maybe + /** The name of the product_cat object to mutate */ + name: Scalars['String'] + /** The ID of the product_cat that should be set as the parent */ + parentId?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createProductCategory mutation */ +export type CreateProductCategoryPayload = { + __typename?: 'CreateProductCategoryPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_cat */ + productCategory?: Maybe +} + +/** Input for the createProductTag mutation */ +export type CreateProductTagInput = { + /** The slug that the product_tag will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_tag object */ + description?: Maybe + /** The name of the product_tag object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createProductTag mutation */ +export type CreateProductTagPayload = { + __typename?: 'CreateProductTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_tag */ + productTag?: Maybe +} + +/** Input for the createProductType mutation */ +export type CreateProductTypeInput = { + /** The slug that the product_type will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_type object */ + description?: Maybe + /** The name of the product_type object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createProductType mutation */ +export type CreateProductTypePayload = { + __typename?: 'CreateProductTypePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_type */ + productType?: Maybe +} + +/** Input for the createShippingClass mutation */ +export type CreateShippingClassInput = { + /** The slug that the product_shipping_class will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_shipping_class object */ + description?: Maybe + /** The name of the product_shipping_class object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createShippingClass mutation */ +export type CreateShippingClassPayload = { + __typename?: 'CreateShippingClassPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_shipping_class */ + shippingClass?: Maybe +} + +/** Input for the createTag mutation */ +export type CreateTagInput = { + /** The slug that the post_tag will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the post_tag object */ + description?: Maybe + /** The name of the post_tag object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createTag mutation */ +export type CreateTagPayload = { + __typename?: 'CreateTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created post_tag */ + tag?: Maybe +} + +/** Input for the createUser mutation */ +export type CreateUserInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** An array of roles to be assigned to the user. */ + roles?: Maybe>> + /** A string that contains the user's username for logging in. */ + username: Scalars['String'] + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the createUser mutation */ +export type CreateUserPayload = { + __typename?: 'CreateUserPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The User object mutation type. */ + user?: Maybe +} + +/** Input for the createVisibleProduct mutation */ +export type CreateVisibleProductInput = { + /** The slug that the product_visibility will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_visibility object */ + description?: Maybe + /** The name of the product_visibility object to mutate */ + name: Scalars['String'] + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the createVisibleProduct mutation */ +export type CreateVisibleProductPayload = { + __typename?: 'CreateVisibleProductPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_visibility */ + visibleProduct?: Maybe +} + +/** A customer object */ +export type Customer = Node & { + __typename?: 'Customer' + /** Return the date customer billing address properties */ + billing?: Maybe + /** Has customer calculated shipping? */ + calculatedShipping?: Maybe + /** The ID of the customer in the database */ + databaseId?: Maybe + /** Return the date customer was created */ + date?: Maybe + /** Return the customer's display name. */ + displayName?: Maybe + /** Connection between the Customer type and the DownloadableItem type */ + downloadableItems?: Maybe + /** Return the customer's email. */ + email?: Maybe + /** Return the customer's first name. */ + firstName?: Maybe + /** Has calculated shipping? */ + hasCalculatedShipping?: Maybe + /** The globally unique identifier for the customer */ + id: Scalars['ID'] + /** Return the date customer was last updated */ + isPayingCustomer?: Maybe + /** Is customer VAT exempt? */ + isVatExempt?: Maybe + /** Return the customer's last name. */ + lastName?: Maybe + /** Gets the customers last order. */ + lastOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Return the date customer was last updated */ + modified?: Maybe + /** Return the number of orders this customer has. */ + orderCount?: Maybe + /** Connection between the Customer type and the Order type */ + orders?: Maybe + /** Connection between the Customer type and the Refund type */ + refunds?: Maybe + /** Return the customer's user role. */ + role?: Maybe + /** A JWT token that can be used in future requests to for WooCommerce session identification */ + sessionToken?: Maybe + /** Return the date customer shipping address properties */ + shipping?: Maybe + /** Return how much money this customer has spent. */ + totalSpent?: Maybe + /** Return the customer's username. */ + username?: Maybe +} + +/** A customer object */ +export type CustomerDownloadableItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A customer object */ +export type CustomerMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A customer object */ +export type CustomerOrdersArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A customer object */ +export type CustomerRefundsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A customer address object */ +export type CustomerAddress = { + __typename?: 'CustomerAddress' + /** Address 1 */ + address1?: Maybe + /** Address 2 */ + address2?: Maybe + /** City */ + city?: Maybe + /** Company */ + company?: Maybe + /** Country */ + country?: Maybe + /** E-mail */ + email?: Maybe + /** First name */ + firstName?: Maybe + /** Last name */ + lastName?: Maybe + /** Phone */ + phone?: Maybe + /** Zip Postal Code */ + postcode?: Maybe + /** State */ + state?: Maybe +} + +/** Customer address information */ +export type CustomerAddressInput = { + /** Address 1 */ + address1?: Maybe + /** Address 2 */ + address2?: Maybe + /** City */ + city?: Maybe + /** Company */ + company?: Maybe + /** Country */ + country?: Maybe + /** E-mail */ + email?: Maybe + /** First name */ + firstName?: Maybe + /** Last name */ + lastName?: Maybe + /** Clear old address data */ + overwrite?: Maybe + /** Phone */ + phone?: Maybe + /** Zip Postal Code */ + postcode?: Maybe + /** State */ + state?: Maybe +} + +/** Field to order the connection by */ +export enum CustomerConnectionOrderbyEnum { + /** Order by customer email */ + Email = 'EMAIL', + /** Order by customer ID */ + Id = 'ID', + /** Order by include field */ + Include = 'INCLUDE', + /** Order by customer display name */ + Name = 'NAME', + /** Order by customer registration date */ + RegisteredDate = 'REGISTERED_DATE', + /** Order by customer username */ + Username = 'USERNAME', +} + +/** Connection between the Customer type and the DownloadableItem type */ +export type CustomerToDownloadableItemConnection = { + __typename?: 'CustomerToDownloadableItemConnection' + /** Edges for the CustomerToDownloadableItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CustomerToDownloadableItemConnectionEdge = { + __typename?: 'CustomerToDownloadableItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CustomerToDownloadableItemConnection connection */ +export type CustomerToDownloadableItemConnectionWhereArgs = { + /** Limit results to downloadable items that can be downloaded now. */ + active?: Maybe + /** Limit results to downloadable items that are expired. */ + expired?: Maybe + /** Limit results to downloadable items that have downloads remaining. */ + hasDownloadsRemaining?: Maybe +} + +/** Connection between the Customer type and the Order type */ +export type CustomerToOrderConnection = { + __typename?: 'CustomerToOrderConnection' + /** Edges for the CustomerToOrderConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CustomerToOrderConnectionEdge = { + __typename?: 'CustomerToOrderConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CustomerToOrderConnection connection */ +export type CustomerToOrderConnectionWhereArgs = { + /** Limit result set to orders assigned a specific customer. */ + customerId?: Maybe + /** Limit result set to orders assigned a specific group of customers. */ + customersIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to orders assigned a specific product. */ + productId?: Maybe + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to orders assigned a specific status. */ + statuses?: Maybe>> +} + +/** Connection between the Customer type and the Refund type */ +export type CustomerToRefundConnection = { + __typename?: 'CustomerToRefundConnection' + /** Edges for the CustomerToRefundConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type CustomerToRefundConnectionEdge = { + __typename?: 'CustomerToRefundConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the CustomerToRefundConnection connection */ +export type CustomerToRefundConnectionWhereArgs = { + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to refunds from a specific group of order IDs. */ + orderIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to refunds assigned a specific status. */ + statuses?: Maybe>> +} + +/** Object that can be identified with a Database ID */ +export type DatabaseIdentifier = { + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] +} + +/** Date values */ +export type DateInput = { + /** Day of the month (from 1 to 31) */ + day?: Maybe + /** Month number (from 1 to 12) */ + month?: Maybe + /** 4 digit year (e.g. 2017) */ + year?: Maybe +} + +/** Filter the connection based on input */ +export type DateQueryInput = { + /** Nodes should be returned after this date */ + after?: Maybe + /** Nodes should be returned before this date */ + before?: Maybe + /** Column to query against */ + column?: Maybe + /** For after/before, whether exact value should be matched or not */ + compare?: Maybe + /** Day of the month (from 1 to 31) */ + day?: Maybe + /** Hour (from 0 to 23) */ + hour?: Maybe + /** For after/before, whether exact value should be matched or not */ + inclusive?: Maybe + /** Minute (from 0 to 59) */ + minute?: Maybe + /** Month number (from 1 to 12) */ + month?: Maybe + /** OR or AND, how the sub-arrays should be compared */ + relation?: Maybe + /** Second (0 to 59) */ + second?: Maybe + /** Week of the year (from 0 to 53) */ + week?: Maybe + /** 4 digit year (e.g. 2017) */ + year?: Maybe +} + +/** The template assigned to the node */ +export type DefaultTemplate = ContentTemplate & { + __typename?: 'DefaultTemplate' + /** The name of the template */ + templateName?: Maybe +} + +/** Input for the deleteCategory mutation */ +export type DeleteCategoryInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the category to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteCategory mutation */ +export type DeleteCategoryPayload = { + __typename?: 'DeleteCategoryPayload' + /** The deteted term object */ + category?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe +} + +/** Input for the deleteComment mutation */ +export type DeleteCommentInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the comment should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The deleted comment ID */ + id: Scalars['ID'] +} + +/** The payload for the deleteComment mutation */ +export type DeleteCommentPayload = { + __typename?: 'DeleteCommentPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The deleted comment object */ + comment?: Maybe + /** The deleted comment ID */ + deletedId?: Maybe +} + +/** Input for the deleteCoupon mutation */ +export type DeleteCouponInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Delete the object. Set to "false" by default. */ + forceDelete?: Maybe + /** Unique identifier for the object. */ + id: Scalars['ID'] +} + +/** The payload for the deleteCoupon mutation */ +export type DeleteCouponPayload = { + __typename?: 'DeleteCouponPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + code?: Maybe + coupon?: Maybe +} + +/** Input for the deleteMediaItem mutation */ +export type DeleteMediaItemInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the mediaItem should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The ID of the mediaItem to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteMediaItem mutation */ +export type DeleteMediaItemPayload = { + __typename?: 'DeleteMediaItemPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted mediaItem */ + deletedId?: Maybe + /** The mediaItem before it was deleted */ + mediaItem?: Maybe +} + +/** Input for the deleteOrder mutation */ +export type DeleteOrderInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Delete or simply place in trash. */ + forceDelete?: Maybe + /** Order global ID */ + id?: Maybe + /** Order WP ID */ + orderId?: Maybe +} + +/** Input for the deleteOrderItems mutation */ +export type DeleteOrderItemsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Order global ID */ + id?: Maybe + /** ID Order items being deleted */ + itemIds?: Maybe>> + /** Order WP ID */ + orderId?: Maybe +} + +/** The payload for the deleteOrderItems mutation */ +export type DeleteOrderItemsPayload = { + __typename?: 'DeleteOrderItemsPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + order?: Maybe +} + +/** The payload for the deleteOrder mutation */ +export type DeleteOrderPayload = { + __typename?: 'DeleteOrderPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + order?: Maybe +} + +/** Input for the deletePaColor mutation */ +export type DeletePaColorInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the paColor to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePaColor mutation */ +export type DeletePaColorPayload = { + __typename?: 'DeletePaColorPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + paColor?: Maybe +} + +/** Input for the deletePaSize mutation */ +export type DeletePaSizeInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the paSize to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePaSize mutation */ +export type DeletePaSizePayload = { + __typename?: 'DeletePaSizePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + paSize?: Maybe +} + +/** Input for the deletePage mutation */ +export type DeletePageInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the object should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The ID of the page to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePage mutation */ +export type DeletePagePayload = { + __typename?: 'DeletePagePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The object before it was deleted */ + page?: Maybe +} + +/** Input for the deletePostFormat mutation */ +export type DeletePostFormatInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the postFormat to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePostFormat mutation */ +export type DeletePostFormatPayload = { + __typename?: 'DeletePostFormatPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + postFormat?: Maybe +} + +/** Input for the deletePost mutation */ +export type DeletePostInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the object should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The ID of the post to delete */ + id: Scalars['ID'] +} + +/** The payload for the deletePost mutation */ +export type DeletePostPayload = { + __typename?: 'DeletePostPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The object before it was deleted */ + post?: Maybe +} + +/** Input for the deleteProductCategory mutation */ +export type DeleteProductCategoryInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the productCategory to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteProductCategory mutation */ +export type DeleteProductCategoryPayload = { + __typename?: 'DeleteProductCategoryPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + productCategory?: Maybe +} + +/** Input for the deleteProductTag mutation */ +export type DeleteProductTagInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the productTag to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteProductTag mutation */ +export type DeleteProductTagPayload = { + __typename?: 'DeleteProductTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + productTag?: Maybe +} + +/** Input for the deleteProductType mutation */ +export type DeleteProductTypeInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the productType to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteProductType mutation */ +export type DeleteProductTypePayload = { + __typename?: 'DeleteProductTypePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + productType?: Maybe +} + +/** Input for the deleteReview mutation */ +export type DeleteReviewInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Whether the product review should be force deleted instead of being moved to the trash */ + forceDelete?: Maybe + /** The ID of the target product review */ + id: Scalars['ID'] +} + +/** The payload for the deleteReview mutation */ +export type DeleteReviewPayload = { + __typename?: 'DeleteReviewPayload' + /** The affected product review ID */ + affectedId?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The product rating of the affected product review */ + rating?: Maybe + /** The affected product review */ + review?: Maybe +} + +/** Input for the deleteShippingClass mutation */ +export type DeleteShippingClassInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the shippingClass to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteShippingClass mutation */ +export type DeleteShippingClassPayload = { + __typename?: 'DeleteShippingClassPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + shippingClass?: Maybe +} + +/** Input for the deleteTag mutation */ +export type DeleteTagInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the tag to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteTag mutation */ +export type DeleteTagPayload = { + __typename?: 'DeleteTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + tag?: Maybe +} + +/** Input for the deleteUser mutation */ +export type DeleteUserInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the user you want to delete */ + id: Scalars['ID'] + /** Reassign posts and links to new User ID. */ + reassignId?: Maybe +} + +/** The payload for the deleteUser mutation */ +export type DeleteUserPayload = { + __typename?: 'DeleteUserPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the user that you just deleted */ + deletedId?: Maybe + /** The deleted user object */ + user?: Maybe +} + +/** Input for the deleteVisibleProduct mutation */ +export type DeleteVisibleProductInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the visibleProduct to delete */ + id: Scalars['ID'] +} + +/** The payload for the deleteVisibleProduct mutation */ +export type DeleteVisibleProductPayload = { + __typename?: 'DeleteVisibleProductPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the deleted object */ + deletedId?: Maybe + /** The deteted term object */ + visibleProduct?: Maybe +} + +/** Coupon discount type enumeration */ +export enum DiscountTypeEnum { + /** Fixed cart discount */ + FixedCart = 'FIXED_CART', + /** Fixed product discount */ + FixedProduct = 'FIXED_PRODUCT', + /** Percentage discount */ + Percent = 'PERCENT', +} + +/** The discussion setting type */ +export type DiscussionSettings = { + __typename?: 'DiscussionSettings' + /** Allow people to submit comments on new posts. */ + defaultCommentStatus?: Maybe + /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ + defaultPingStatus?: Maybe +} + +/** A downloadable item */ +export type DownloadableItem = { + __typename?: 'DownloadableItem' + /** The date the downloadable item expires */ + accessExpires?: Maybe + /** ProductDownload of the downloadable item */ + download?: Maybe + /** Downloadable item unique identifier */ + downloadId: Scalars['String'] + /** Number of times the item can be downloaded. */ + downloadsRemaining?: Maybe + /** Name of the downloadable item. */ + name?: Maybe + /** Product of downloadable item. */ + product?: Maybe + /** Download URL of the downloadable item. */ + url?: Maybe +} + +/** Input for the emptyCart mutation */ +export type EmptyCartInput = { + clearPersistentCart?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** The payload for the emptyCart mutation */ +export type EmptyCartPayload = { + __typename?: 'EmptyCartPayload' + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + deletedCart?: Maybe +} + +/** Asset enqueued by the CMS */ +export type EnqueuedAsset = { + /** @todo */ + args?: Maybe + /** Dependencies needed to use this asset */ + dependencies?: Maybe>> + /** Extra information needed for the script */ + extra?: Maybe + /** The handle of the enqueued asset */ + handle?: Maybe + /** The ID of the enqueued asset */ + id: Scalars['ID'] + /** The source of the asset */ + src?: Maybe + /** The version of the enqueued asset */ + version?: Maybe +} + +/** Script enqueued by the CMS */ +export type EnqueuedScript = Node & + EnqueuedAsset & { + __typename?: 'EnqueuedScript' + /** @todo */ + args?: Maybe + /** Dependencies needed to use this asset */ + dependencies?: Maybe>> + /** Extra information needed for the script */ + extra?: Maybe + /** The handle of the enqueued asset */ + handle?: Maybe + /** The ID of the enqueued asset */ + id: Scalars['ID'] + /** The source of the asset */ + src?: Maybe + /** The version of the enqueued asset */ + version?: Maybe + } + +/** Stylesheet enqueued by the CMS */ +export type EnqueuedStylesheet = Node & + EnqueuedAsset & { + __typename?: 'EnqueuedStylesheet' + /** @todo */ + args?: Maybe + /** Dependencies needed to use this asset */ + dependencies?: Maybe>> + /** Extra information needed for the script */ + extra?: Maybe + /** The handle of the enqueued asset */ + handle?: Maybe + /** The ID of the enqueued asset */ + id: Scalars['ID'] + /** The source of the asset */ + src?: Maybe + /** The version of the enqueued asset */ + version?: Maybe + } + +/** A external product object */ +export type ExternalProduct = Node & + Product & + NodeWithComments & + NodeWithContentEditor & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'ExternalProduct' + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** External product Buy button text */ + buttonText?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Connection between the ExternalProduct type and the VariationAttribute type */ + defaultAttributes?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** External product url */ + externalUrl?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date product last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Product's active price */ + price?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Product's regular price */ + regularPrice?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Product's sale price */ + salePrice?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** Product status */ + status?: Maybe + /** Tax class */ + taxClass?: Maybe + /** Tax status */ + taxStatus?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe + } + +/** A external product object */ +export type ExternalProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductContentArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductDefaultAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A external product object */ +export type ExternalProductDescriptionArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A external product object */ +export type ExternalProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A external product object */ +export type ExternalProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A external product object */ +export type ExternalProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductPriceArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductRegularPriceArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductSalePriceArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductShortDescriptionArgs = { + format?: Maybe +} + +/** A external product object */ +export type ExternalProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A external product object */ +export type ExternalProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the ExternalProduct type and the VariationAttribute type */ +export type ExternalProductToVariationAttributeConnection = { + __typename?: 'ExternalProductToVariationAttributeConnection' + /** Edges for the ExternalProductToVariationAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ExternalProductToVariationAttributeConnectionEdge = { + __typename?: 'ExternalProductToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** a fee line object */ +export type FeeLine = { + __typename?: 'FeeLine' + /** Fee amount */ + amount?: Maybe + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Fee name */ + name?: Maybe + /** The Id of the order the order item belongs to. */ + orderId?: Maybe + /** Line tax class */ + taxClass?: Maybe + /** Tax status of fee */ + taxStatus?: Maybe + /** Line taxes */ + taxes?: Maybe>> + /** Line total (after discounts) */ + total?: Maybe + /** Line total tax (after discounts) */ + totalTax?: Maybe +} + +/** a fee line object */ +export type FeeLineMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** Fee line data. */ +export type FeeLineInput = { + /** Fee amount. */ + amount?: Maybe + /** Fee Line ID */ + id?: Maybe + /** Fee name. */ + name?: Maybe + /** Tax class of fee. */ + taxClass?: Maybe + /** Tax status of fee. */ + taxStatus?: Maybe + /** Line total (after discounts). */ + total?: Maybe +} + +/** Input for the fillCart mutation */ +export type FillCartInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupons to be applied to the cart */ + coupons?: Maybe>> + /** Cart items to be added */ + items?: Maybe>> + /** Shipping methods to be used. */ + shippingMethods?: Maybe>> +} + +/** The payload for the fillCart mutation */ +export type FillCartPayload = { + __typename?: 'FillCartPayload' + added?: Maybe>> + applied?: Maybe>> + cart?: Maybe + cartErrors?: Maybe>> + chosenShippingMethods?: Maybe>> + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** The general setting type */ +export type GeneralSettings = { + __typename?: 'GeneralSettings' + /** A date format for all date strings. */ + dateFormat?: Maybe + /** Site tagline. */ + description?: Maybe + /** This address is used for admin purposes, like new user notification. */ + email?: Maybe + /** WordPress locale code. */ + language?: Maybe + /** A day number of the week that the week should start on. */ + startOfWeek?: Maybe + /** A time format for all time strings. */ + timeFormat?: Maybe + /** A city in the same timezone as you. */ + timezone?: Maybe + /** Site title. */ + title?: Maybe + /** Site URL. */ + url?: Maybe +} + +/** A product attribute object */ +export type GlobalProductAttribute = ProductAttribute & { + __typename?: 'GlobalProductAttribute' + /** Attribute ID */ + attributeId: Scalars['Int'] + /** Attribute Global ID */ + id: Scalars['ID'] + /** Attribute label */ + label: Scalars['String'] + /** Product attribute name */ + name: Scalars['String'] + /** Attribute options */ + options?: Maybe>> + /** Attribute position */ + position: Scalars['Int'] + /** Product attribute scope. */ + scope: ProductAttributeTypesEnum + /** Product attribute slug */ + slug: Scalars['String'] + /** Connection between the GlobalProductAttribute type and the TermNode type */ + terms?: Maybe + /** Is attribute on product variation */ + variation: Scalars['Boolean'] + /** Is attribute visible */ + visible: Scalars['Boolean'] +} + +/** A product attribute object */ +export type GlobalProductAttributeTermsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the GlobalProductAttribute type and the TermNode type */ +export type GlobalProductAttributeToTermNodeConnection = { + __typename?: 'GlobalProductAttributeToTermNodeConnection' + /** Edges for the GlobalProductAttributeToTermNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type GlobalProductAttributeToTermNodeConnectionEdge = { + __typename?: 'GlobalProductAttributeToTermNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the GlobalProductAttributeToTermNodeConnection connection */ +export type GlobalProductAttributeToTermNodeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** A group product object */ +export type GroupProduct = Node & + Product & + NodeWithComments & + NodeWithContentEditor & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'GroupProduct' + /** Product's add to cart button text description */ + addToCartDescription?: Maybe + /** Product's add to cart button text description */ + addToCartText?: Maybe + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Connection between the GroupProduct type and the VariationAttribute type */ + defaultAttributes?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date product last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Products' price range */ + price?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Connection between the GroupProduct type and the Product type */ + products?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** Product status */ + status?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe + } + +/** A group product object */ +export type GroupProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductContentArgs = { + format?: Maybe +} + +/** A group product object */ +export type GroupProductDefaultAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A group product object */ +export type GroupProductDescriptionArgs = { + format?: Maybe +} + +/** A group product object */ +export type GroupProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A group product object */ +export type GroupProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A group product object */ +export type GroupProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A group product object */ +export type GroupProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductShortDescriptionArgs = { + format?: Maybe +} + +/** A group product object */ +export type GroupProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A group product object */ +export type GroupProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the GroupProduct type and the Product type */ +export type GroupProductToProductConnection = { + __typename?: 'GroupProductToProductConnection' + /** Edges for the GroupProductToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type GroupProductToProductConnectionEdge = { + __typename?: 'GroupProductToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the GroupProductToProductConnection connection */ +export type GroupProductToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the GroupProduct type and the VariationAttribute type */ +export type GroupProductToVariationAttributeConnection = { + __typename?: 'GroupProductToVariationAttributeConnection' + /** Edges for the GroupProductToVariationAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type GroupProductToVariationAttributeConnectionEdge = { + __typename?: 'GroupProductToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Content node with hierarchical (parent/child) relationships */ +export type HierarchicalContentNode = { + /** Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** Connection between the HierarchicalContentNode type and the ContentNode type */ + children?: Maybe + /** The parent of the node. The parent object can be of various types */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe +} + +/** Content node with hierarchical (parent/child) relationships */ +export type HierarchicalContentNodeAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Content node with hierarchical (parent/child) relationships */ +export type HierarchicalContentNodeChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the HierarchicalContentNode type and the ContentNode type */ +export type HierarchicalContentNodeToContentNodeAncestorsConnection = { + __typename?: 'HierarchicalContentNodeToContentNodeAncestorsConnection' + /** Edges for the HierarchicalContentNodeToContentNodeAncestorsConnection connection */ + edges?: Maybe< + Array> + > + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type HierarchicalContentNodeToContentNodeAncestorsConnectionEdge = { + __typename?: 'HierarchicalContentNodeToContentNodeAncestorsConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the HierarchicalContentNodeToContentNodeAncestorsConnection connection */ +export type HierarchicalContentNodeToContentNodeAncestorsConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the HierarchicalContentNode type and the ContentNode type */ +export type HierarchicalContentNodeToContentNodeChildrenConnection = { + __typename?: 'HierarchicalContentNodeToContentNodeChildrenConnection' + /** Edges for the HierarchicalContentNodeToContentNodeChildrenConnection connection */ + edges?: Maybe< + Array> + > + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type HierarchicalContentNodeToContentNodeChildrenConnectionEdge = { + __typename?: 'HierarchicalContentNodeToContentNodeChildrenConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the HierarchicalContentNodeToContentNodeChildrenConnection connection */ +export type HierarchicalContentNodeToContentNodeChildrenConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the HierarchicalContentNode type and the ContentNode type */ +export type HierarchicalContentNodeToParentContentNodeConnectionEdge = { + __typename?: 'HierarchicalContentNodeToParentContentNodeConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Term node with hierarchical (parent/child) relationships */ +export type HierarchicalTermNode = { + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe +} + +/** a line item object */ +export type LineItem = { + __typename?: 'LineItem' + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Line item's taxes */ + itemDownloads?: Maybe>> + /** Object meta data */ + metaData?: Maybe>> + /** The Id of the order the order item belongs to. */ + orderId?: Maybe + /** Line item's product object */ + product?: Maybe + /** Line item's product ID */ + productId?: Maybe + /** Line item's product quantity */ + quantity?: Maybe + /** Line item's subtotal */ + subtotal?: Maybe + /** Line item's subtotal tax */ + subtotalTax?: Maybe + /** Line item's tax class */ + taxClass?: Maybe + /** Line item's taxes */ + taxStatus?: Maybe + /** Line item's taxes */ + taxes?: Maybe>> + /** Line item's total */ + total?: Maybe + /** Line item's total tax */ + totalTax?: Maybe + /** Line item's product variation object */ + variation?: Maybe + /** Line item's product variation ID */ + variationId?: Maybe +} + +/** a line item object */ +export type LineItemMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** Meta data. */ +export type LineItemInput = { + /** Line Item ID */ + id?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** Line name */ + name?: Maybe + /** Product ID. */ + productId?: Maybe + /** Quantity ordered. */ + quantity?: Maybe + /** Product SKU. */ + sku?: Maybe + /** Line subtotal (before discounts). */ + subtotal?: Maybe + /** Tax class of product. */ + taxClass?: Maybe + /** Line total (after discounts). */ + total?: Maybe + /** Variation ID, if applicable. */ + variationId?: Maybe +} + +/** A product attribute object */ +export type LocalProductAttribute = ProductAttribute & { + __typename?: 'LocalProductAttribute' + /** Attribute ID */ + attributeId: Scalars['Int'] + /** Attribute Global ID */ + id: Scalars['ID'] + /** Attribute label */ + label: Scalars['String'] + /** Attribute name */ + name: Scalars['String'] + /** Attribute options */ + options?: Maybe>> + /** Attribute position */ + position: Scalars['Int'] + /** Product attribute scope. */ + scope: ProductAttributeTypesEnum + /** Is attribute on product variation */ + variation: Scalars['Boolean'] + /** Is attribute visible */ + visible: Scalars['Boolean'] +} + +/** Product manage stock enumeration */ +export enum ManageStockEnum { + False = 'FALSE', + Parent = 'PARENT', + True = 'TRUE', +} + +/** File details for a Media Item */ +export type MediaDetails = { + __typename?: 'MediaDetails' + /** The filename of the mediaItem */ + file?: Maybe + /** The height of the mediaItem */ + height?: Maybe + /** Meta information associated with the mediaItem */ + meta?: Maybe + /** The available sizes of the mediaItem */ + sizes?: Maybe>> + /** The width of the mediaItem */ + width?: Maybe +} + +/** The mediaItem type */ +export type MediaItem = Node & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + NodeWithTemplate & + NodeWithTitle & + NodeWithAuthor & + NodeWithComments & + HierarchicalContentNode & { + __typename?: 'MediaItem' + /** Alternative text to display when resource is not displayed */ + altText?: Maybe + /** Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** Connection between the NodeWithAuthor type and the User type */ + author?: Maybe + /** The database identifier of the author of the node */ + authorDatabaseId?: Maybe + /** The globally unique identifier of the author of the node */ + authorId?: Maybe + /** The caption for the resource */ + caption?: Maybe + /** Connection between the HierarchicalContentNode type and the ContentNode type */ + children?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** Connection between the mediaItem type and the Comment type */ + comments?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Description of the image (stored as post_content) */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The filesize in bytes of the resource */ + fileSize?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier of the attachment object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Details about the mediaItem */ + mediaDetails?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of the databaseId field + */ + mediaItemId: Scalars['Int'] + /** Url of the mediaItem */ + mediaItemUrl?: Maybe + /** Type of resource */ + mediaType?: Maybe + /** The mime type of the mediaItem */ + mimeType?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** The parent of the node. The parent object can be of various types */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** The sizes attribute value for an image. */ + sizes?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** Url of the mediaItem */ + sourceUrl?: Maybe + /** The srcset attribute specifies the URL of the image to use in different situations. It is a comma separated string of urls and their widths. */ + srcSet?: Maybe + /** The current status of the object */ + status?: Maybe + /** The template assigned to the node */ + template?: Maybe + /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ + title?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The mediaItem type */ +export type MediaItemAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The mediaItem type */ +export type MediaItemCaptionArgs = { + format?: Maybe +} + +/** The mediaItem type */ +export type MediaItemChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The mediaItem type */ +export type MediaItemCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The mediaItem type */ +export type MediaItemDescriptionArgs = { + format?: Maybe +} + +/** The mediaItem type */ +export type MediaItemEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The mediaItem type */ +export type MediaItemEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The mediaItem type */ +export type MediaItemFileSizeArgs = { + size?: Maybe +} + +/** The mediaItem type */ +export type MediaItemSizesArgs = { + size?: Maybe +} + +/** The mediaItem type */ +export type MediaItemSourceUrlArgs = { + size?: Maybe +} + +/** The mediaItem type */ +export type MediaItemSrcSetArgs = { + size?: Maybe +} + +/** The mediaItem type */ +export type MediaItemTitleArgs = { + format?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum MediaItemIdType { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ + Slug = 'SLUG', + /** Identify a media item by its source url */ + SourceUrl = 'SOURCE_URL', + /** Identify a resource by the URI. */ + Uri = 'URI', +} + +/** Meta connected to a MediaItem */ +export type MediaItemMeta = { + __typename?: 'MediaItemMeta' + /** Aperture measurement of the media item. */ + aperture?: Maybe + /** Information about the camera used to create the media item. */ + camera?: Maybe + /** The text string description associated with the media item. */ + caption?: Maybe + /** Copyright information associated with the media item. */ + copyright?: Maybe + /** The date/time when the media was created. */ + createdTimestamp?: Maybe + /** The original creator of the media item. */ + credit?: Maybe + /** The focal length value of the media item. */ + focalLength?: Maybe + /** The ISO (International Organization for Standardization) value of the media item. */ + iso?: Maybe + /** List of keywords used to describe or identfy the media item. */ + keywords?: Maybe>> + /** The vertical or horizontal aspect of the media item. */ + orientation?: Maybe + /** The shutter speed information of the media item. */ + shutterSpeed?: Maybe + /** A useful title for the media item. */ + title?: Maybe +} + +/** The size of the media item object. */ +export enum MediaItemSizeEnum { + /** MediaItem with the large size */ + Large = 'LARGE', + /** MediaItem with the medium size */ + Medium = 'MEDIUM', + /** MediaItem with the medium_large size */ + MediumLarge = 'MEDIUM_LARGE', + /** MediaItem with the shop_catalog size */ + ShopCatalog = 'SHOP_CATALOG', + /** MediaItem with the shop_single size */ + ShopSingle = 'SHOP_SINGLE', + /** MediaItem with the shop_thumbnail size */ + ShopThumbnail = 'SHOP_THUMBNAIL', + /** MediaItem with the thumbnail size */ + Thumbnail = 'THUMBNAIL', + /** MediaItem with the woocommerce_gallery_thumbnail size */ + WoocommerceGalleryThumbnail = 'WOOCOMMERCE_GALLERY_THUMBNAIL', + /** MediaItem with the woocommerce_single size */ + WoocommerceSingle = 'WOOCOMMERCE_SINGLE', + /** MediaItem with the woocommerce_thumbnail size */ + WoocommerceThumbnail = 'WOOCOMMERCE_THUMBNAIL', + /** MediaItem with the 1536x1536 size */ + '1536X1536' = '_1536X1536', + /** MediaItem with the 2048x2048 size */ + '2048X2048' = '_2048X2048', +} + +/** The status of the media item object. */ +export enum MediaItemStatusEnum { + /** Objects with the auto-draft status */ + AutoDraft = 'AUTO_DRAFT', + /** Objects with the inherit status */ + Inherit = 'INHERIT', + /** Objects with the private status */ + Private = 'PRIVATE', + /** Objects with the trash status */ + Trash = 'TRASH', +} + +/** Connection between the mediaItem type and the Comment type */ +export type MediaItemToCommentConnection = { + __typename?: 'MediaItemToCommentConnection' + /** Edges for the MediaItemToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type MediaItemToCommentConnectionEdge = { + __typename?: 'MediaItemToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the MediaItemToCommentConnection connection */ +export type MediaItemToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Details of an available size for a media item */ +export type MediaSize = { + __typename?: 'MediaSize' + /** The filename of the referenced size */ + file?: Maybe + /** The filesize of the resource */ + fileSize?: Maybe + /** The height of the referenced size */ + height?: Maybe + /** The mime type of the referenced size */ + mimeType?: Maybe + /** The referenced size name */ + name?: Maybe + /** The url of the referenced size */ + sourceUrl?: Maybe + /** The width of the referenced size */ + width?: Maybe +} + +/** Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. */ +export type Menu = Node & + DatabaseIdentifier & { + __typename?: 'Menu' + /** The number of items in the menu */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The globally unique identifier of the nav menu object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** The locations a menu is assigned to */ + locations?: Maybe>> + /** + * WP ID of the nav menu. + * @deprecated Deprecated in favor of the databaseId field + */ + menuId?: Maybe + /** Connection between the Menu type and the MenuItem type */ + menuItems?: Maybe + /** Display name of the menu. Equivalent to WP_Term->name. */ + name?: Maybe + /** The url friendly name of the menu. Equivalent to WP_Term->slug */ + slug?: Maybe + } + +/** Menus are the containers for navigation items. Menus can be assigned to menu locations, which are typically registered by the active theme. */ +export type MenuMenuItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. */ +export type MenuItem = Node & + DatabaseIdentifier & { + __typename?: 'MenuItem' + /** Connection between the MenuItem type and the MenuItem type */ + childItems?: Maybe + /** Connection from MenuItem to it's connected node */ + connectedNode?: Maybe + /** + * The object connected to this menu item. + * @deprecated Deprecated in favor of the connectedNode field + */ + connectedObject?: Maybe + /** Class attribute for the menu item link */ + cssClasses?: Maybe>> + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** Description of the menu item. */ + description?: Maybe + /** The globally unique identifier of the nav menu item object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Label or title of the menu item. */ + label?: Maybe + /** Link relationship (XFN) of the menu item. */ + linkRelationship?: Maybe + /** The locations the menu item's Menu is assigned to */ + locations?: Maybe>> + /** The Menu a MenuItem is part of */ + menu?: Maybe + /** + * WP ID of the menu item. + * @deprecated Deprecated in favor of the databaseId field + */ + menuItemId?: Maybe + /** Menu item order */ + order?: Maybe + /** The database id of the parent menu item or null if it is the root */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent nav menu item object. */ + parentId?: Maybe + /** Path for the resource. Relative path for internal resources. Absolute path for external resources. */ + path?: Maybe + /** Target attribute for the menu item link. */ + target?: Maybe + /** Title attribute for the menu item link */ + title?: Maybe + /** URL or destination of the menu item. */ + url?: Maybe + } + +/** Navigation menu items are the individual items assigned to a menu. These are rendered as the links in a navigation menu. */ +export type MenuItemChildItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Nodes that can be linked to as Menu Items */ +export type MenuItemLinkable = { + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The unique resource identifier path */ + id: Scalars['ID'] + /** The unique resource identifier path */ + uri?: Maybe +} + +/** The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. */ +export enum MenuItemNodeIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Deprecated in favor of MenuItemLinkeable Interface */ +export type MenuItemObjectUnion = + | Post + | Page + | Category + | Tag + | ProductCategory + | ProductTag + +/** Connection between the MenuItem type and the Menu type */ +export type MenuItemToMenuConnectionEdge = { + __typename?: 'MenuItemToMenuConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the MenuItem type and the MenuItem type */ +export type MenuItemToMenuItemConnection = { + __typename?: 'MenuItemToMenuItemConnection' + /** Edges for the MenuItemToMenuItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type MenuItemToMenuItemConnectionEdge = { + __typename?: 'MenuItemToMenuItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the MenuItemToMenuItemConnection connection */ +export type MenuItemToMenuItemConnectionWhereArgs = { + /** The ID of the object */ + id?: Maybe + /** The menu location for the menu being queried */ + location?: Maybe + /** The database ID of the parent menu object */ + parentDatabaseId?: Maybe + /** The ID of the parent menu object */ + parentId?: Maybe +} + +/** Connection between the MenuItem type and the MenuItemLinkable type */ +export type MenuItemToMenuItemLinkableConnectionEdge = { + __typename?: 'MenuItemToMenuItemLinkableConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Registered menu locations */ +export enum MenuLocationEnum { + /** Empty menu location */ + Empty = 'EMPTY', +} + +/** The Type of Identifier used to fetch a single node. Default is "ID". To be used along with the "id" field. */ +export enum MenuNodeIdTypeEnum { + /** Identify a menu node by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a menu node by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a menu node by it's name */ + Name = 'NAME', +} + +/** Connection between the Menu type and the MenuItem type */ +export type MenuToMenuItemConnection = { + __typename?: 'MenuToMenuItemConnection' + /** Edges for the MenuToMenuItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type MenuToMenuItemConnectionEdge = { + __typename?: 'MenuToMenuItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the MenuToMenuItemConnection connection */ +export type MenuToMenuItemConnectionWhereArgs = { + /** The ID of the object */ + id?: Maybe + /** The menu location for the menu being queried */ + location?: Maybe + /** The database ID of the parent menu object */ + parentDatabaseId?: Maybe + /** The ID of the parent menu object */ + parentId?: Maybe +} + +/** Extra data defined on the WC object */ +export type MetaData = { + __typename?: 'MetaData' + /** Meta ID. */ + id?: Maybe + /** Meta key. */ + key: Scalars['String'] + /** Meta value. */ + value?: Maybe +} + +/** Meta data. */ +export type MetaDataInput = { + /** Meta key. */ + key: Scalars['String'] + /** Meta value. */ + value: Scalars['String'] +} + +/** The MimeType of the object */ +export enum MimeTypeEnum { + /** MimeType application/java */ + ApplicationJava = 'APPLICATION_JAVA', + /** MimeType application/msword */ + ApplicationMsword = 'APPLICATION_MSWORD', + /** MimeType application/octet-stream */ + ApplicationOctetStream = 'APPLICATION_OCTET_STREAM', + /** MimeType application/onenote */ + ApplicationOnenote = 'APPLICATION_ONENOTE', + /** MimeType application/oxps */ + ApplicationOxps = 'APPLICATION_OXPS', + /** MimeType application/pdf */ + ApplicationPdf = 'APPLICATION_PDF', + /** MimeType application/rar */ + ApplicationRar = 'APPLICATION_RAR', + /** MimeType application/rtf */ + ApplicationRtf = 'APPLICATION_RTF', + /** MimeType application/ttaf+xml */ + ApplicationTtafXml = 'APPLICATION_TTAF_XML', + /** MimeType application/vnd.apple.keynote */ + ApplicationVndAppleKeynote = 'APPLICATION_VND_APPLE_KEYNOTE', + /** MimeType application/vnd.apple.numbers */ + ApplicationVndAppleNumbers = 'APPLICATION_VND_APPLE_NUMBERS', + /** MimeType application/vnd.apple.pages */ + ApplicationVndApplePages = 'APPLICATION_VND_APPLE_PAGES', + /** MimeType application/vnd.ms-access */ + ApplicationVndMsAccess = 'APPLICATION_VND_MS_ACCESS', + /** MimeType application/vnd.ms-excel */ + ApplicationVndMsExcel = 'APPLICATION_VND_MS_EXCEL', + /** MimeType application/vnd.ms-excel.addin.macroEnabled.12 */ + ApplicationVndMsExcelAddinMacroenabled_12 = 'APPLICATION_VND_MS_EXCEL_ADDIN_MACROENABLED_12', + /** MimeType application/vnd.ms-excel.sheet.binary.macroEnabled.12 */ + ApplicationVndMsExcelSheetBinaryMacroenabled_12 = 'APPLICATION_VND_MS_EXCEL_SHEET_BINARY_MACROENABLED_12', + /** MimeType application/vnd.ms-excel.sheet.macroEnabled.12 */ + ApplicationVndMsExcelSheetMacroenabled_12 = 'APPLICATION_VND_MS_EXCEL_SHEET_MACROENABLED_12', + /** MimeType application/vnd.ms-excel.template.macroEnabled.12 */ + ApplicationVndMsExcelTemplateMacroenabled_12 = 'APPLICATION_VND_MS_EXCEL_TEMPLATE_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint */ + ApplicationVndMsPowerpoint = 'APPLICATION_VND_MS_POWERPOINT', + /** MimeType application/vnd.ms-powerpoint.addin.macroEnabled.12 */ + ApplicationVndMsPowerpointAddinMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_ADDIN_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint.presentation.macroEnabled.12 */ + ApplicationVndMsPowerpointPresentationMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_PRESENTATION_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 */ + ApplicationVndMsPowerpointSlideshowMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_SLIDESHOW_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint.slide.macroEnabled.12 */ + ApplicationVndMsPowerpointSlideMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_SLIDE_MACROENABLED_12', + /** MimeType application/vnd.ms-powerpoint.template.macroEnabled.12 */ + ApplicationVndMsPowerpointTemplateMacroenabled_12 = 'APPLICATION_VND_MS_POWERPOINT_TEMPLATE_MACROENABLED_12', + /** MimeType application/vnd.ms-project */ + ApplicationVndMsProject = 'APPLICATION_VND_MS_PROJECT', + /** MimeType application/vnd.ms-word.document.macroEnabled.12 */ + ApplicationVndMsWordDocumentMacroenabled_12 = 'APPLICATION_VND_MS_WORD_DOCUMENT_MACROENABLED_12', + /** MimeType application/vnd.ms-word.template.macroEnabled.12 */ + ApplicationVndMsWordTemplateMacroenabled_12 = 'APPLICATION_VND_MS_WORD_TEMPLATE_MACROENABLED_12', + /** MimeType application/vnd.ms-write */ + ApplicationVndMsWrite = 'APPLICATION_VND_MS_WRITE', + /** MimeType application/vnd.ms-xpsdocument */ + ApplicationVndMsXpsdocument = 'APPLICATION_VND_MS_XPSDOCUMENT', + /** MimeType application/vnd.oasis.opendocument.chart */ + ApplicationVndOasisOpendocumentChart = 'APPLICATION_VND_OASIS_OPENDOCUMENT_CHART', + /** MimeType application/vnd.oasis.opendocument.database */ + ApplicationVndOasisOpendocumentDatabase = 'APPLICATION_VND_OASIS_OPENDOCUMENT_DATABASE', + /** MimeType application/vnd.oasis.opendocument.formula */ + ApplicationVndOasisOpendocumentFormula = 'APPLICATION_VND_OASIS_OPENDOCUMENT_FORMULA', + /** MimeType application/vnd.oasis.opendocument.graphics */ + ApplicationVndOasisOpendocumentGraphics = 'APPLICATION_VND_OASIS_OPENDOCUMENT_GRAPHICS', + /** MimeType application/vnd.oasis.opendocument.presentation */ + ApplicationVndOasisOpendocumentPresentation = 'APPLICATION_VND_OASIS_OPENDOCUMENT_PRESENTATION', + /** MimeType application/vnd.oasis.opendocument.spreadsheet */ + ApplicationVndOasisOpendocumentSpreadsheet = 'APPLICATION_VND_OASIS_OPENDOCUMENT_SPREADSHEET', + /** MimeType application/vnd.oasis.opendocument.text */ + ApplicationVndOasisOpendocumentText = 'APPLICATION_VND_OASIS_OPENDOCUMENT_TEXT', + /** MimeType application/vnd.openxmlformats-officedocument.presentationml.presentation */ + ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION', + /** MimeType application/vnd.openxmlformats-officedocument.presentationml.slide */ + ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlide = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDE', + /** MimeType application/vnd.openxmlformats-officedocument.presentationml.slideshow */ + ApplicationVndOpenxmlformatsOfficedocumentPresentationmlSlideshow = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_SLIDESHOW', + /** MimeType application/vnd.openxmlformats-officedocument.presentationml.template */ + ApplicationVndOpenxmlformatsOfficedocumentPresentationmlTemplate = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_TEMPLATE', + /** MimeType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet */ + ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_SHEET', + /** MimeType application/vnd.openxmlformats-officedocument.spreadsheetml.template */ + ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlTemplate = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_SPREADSHEETML_TEMPLATE', + /** MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.document */ + ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT', + /** MimeType application/vnd.openxmlformats-officedocument.wordprocessingml.template */ + ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlTemplate = 'APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_TEMPLATE', + /** MimeType application/wordperfect */ + ApplicationWordperfect = 'APPLICATION_WORDPERFECT', + /** MimeType application/x-7z-compressed */ + ApplicationX_7ZCompressed = 'APPLICATION_X_7Z_COMPRESSED', + /** MimeType application/x-gzip */ + ApplicationXGzip = 'APPLICATION_X_GZIP', + /** MimeType application/x-tar */ + ApplicationXTar = 'APPLICATION_X_TAR', + /** MimeType application/zip */ + ApplicationZip = 'APPLICATION_ZIP', + /** MimeType audio/aac */ + AudioAac = 'AUDIO_AAC', + /** MimeType audio/flac */ + AudioFlac = 'AUDIO_FLAC', + /** MimeType audio/midi */ + AudioMidi = 'AUDIO_MIDI', + /** MimeType audio/mpeg */ + AudioMpeg = 'AUDIO_MPEG', + /** MimeType audio/ogg */ + AudioOgg = 'AUDIO_OGG', + /** MimeType audio/wav */ + AudioWav = 'AUDIO_WAV', + /** MimeType audio/x-matroska */ + AudioXMatroska = 'AUDIO_X_MATROSKA', + /** MimeType audio/x-ms-wax */ + AudioXMsWax = 'AUDIO_X_MS_WAX', + /** MimeType audio/x-ms-wma */ + AudioXMsWma = 'AUDIO_X_MS_WMA', + /** MimeType audio/x-realaudio */ + AudioXRealaudio = 'AUDIO_X_REALAUDIO', + /** MimeType image/bmp */ + ImageBmp = 'IMAGE_BMP', + /** MimeType image/gif */ + ImageGif = 'IMAGE_GIF', + /** MimeType image/heic */ + ImageHeic = 'IMAGE_HEIC', + /** MimeType image/jpeg */ + ImageJpeg = 'IMAGE_JPEG', + /** MimeType image/png */ + ImagePng = 'IMAGE_PNG', + /** MimeType image/tiff */ + ImageTiff = 'IMAGE_TIFF', + /** MimeType image/webp */ + ImageWebp = 'IMAGE_WEBP', + /** MimeType image/x-icon */ + ImageXIcon = 'IMAGE_X_ICON', + /** MimeType text/calendar */ + TextCalendar = 'TEXT_CALENDAR', + /** MimeType text/css */ + TextCss = 'TEXT_CSS', + /** MimeType text/csv */ + TextCsv = 'TEXT_CSV', + /** MimeType text/plain */ + TextPlain = 'TEXT_PLAIN', + /** MimeType text/richtext */ + TextRichtext = 'TEXT_RICHTEXT', + /** MimeType text/tab-separated-values */ + TextTabSeparatedValues = 'TEXT_TAB_SEPARATED_VALUES', + /** MimeType text/vtt */ + TextVtt = 'TEXT_VTT', + /** MimeType video/3gpp */ + Video_3Gpp = 'VIDEO_3GPP', + /** MimeType video/3gpp2 */ + Video_3Gpp2 = 'VIDEO_3GPP2', + /** MimeType video/avi */ + VideoAvi = 'VIDEO_AVI', + /** MimeType video/divx */ + VideoDivx = 'VIDEO_DIVX', + /** MimeType video/mp4 */ + VideoMp4 = 'VIDEO_MP4', + /** MimeType video/mpeg */ + VideoMpeg = 'VIDEO_MPEG', + /** MimeType video/ogg */ + VideoOgg = 'VIDEO_OGG', + /** MimeType video/quicktime */ + VideoQuicktime = 'VIDEO_QUICKTIME', + /** MimeType video/webm */ + VideoWebm = 'VIDEO_WEBM', + /** MimeType video/x-flv */ + VideoXFlv = 'VIDEO_X_FLV', + /** MimeType video/x-matroska */ + VideoXMatroska = 'VIDEO_X_MATROSKA', + /** MimeType video/x-ms-asf */ + VideoXMsAsf = 'VIDEO_X_MS_ASF', + /** MimeType video/x-ms-wm */ + VideoXMsWm = 'VIDEO_X_MS_WM', + /** MimeType video/x-ms-wmv */ + VideoXMsWmv = 'VIDEO_X_MS_WMV', + /** MimeType video/x-ms-wmx */ + VideoXMsWmx = 'VIDEO_X_MS_WMX', +} + +/** An object with an ID */ +export type Node = { + /** The globally unique ID for the object */ + id: Scalars['ID'] +} + +/** A node that can have an author assigned to it */ +export type NodeWithAuthor = { + /** Connection between the NodeWithAuthor type and the User type */ + author?: Maybe + /** The database identifier of the author of the node */ + authorDatabaseId?: Maybe + /** The globally unique identifier of the author of the node */ + authorId?: Maybe +} + +/** Connection between the NodeWithAuthor type and the User type */ +export type NodeWithAuthorToUserConnectionEdge = { + __typename?: 'NodeWithAuthorToUserConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** A node that can have comments associated with it */ +export type NodeWithComments = { + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe +} + +/** A node that supports the content editor */ +export type NodeWithContentEditor = { + /** The content of the post. */ + content?: Maybe +} + +/** A node that supports the content editor */ +export type NodeWithContentEditorContentArgs = { + format?: Maybe +} + +/** A node that can have an excerpt */ +export type NodeWithExcerpt = { + /** The excerpt of the post. */ + excerpt?: Maybe +} + +/** A node that can have an excerpt */ +export type NodeWithExcerptExcerptArgs = { + format?: Maybe +} + +/** A node that can have a featured image set */ +export type NodeWithFeaturedImage = { + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** The current status of the object */ + status?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** The unique resource identifier path */ + uri?: Maybe +} + +/** A node that can have a featured image set */ +export type NodeWithFeaturedImageEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A node that can have a featured image set */ +export type NodeWithFeaturedImageEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** Connection between the NodeWithFeaturedImage type and the MediaItem type */ +export type NodeWithFeaturedImageToMediaItemConnectionEdge = { + __typename?: 'NodeWithFeaturedImageToMediaItemConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** A node that can have page attributes */ +export type NodeWithPageAttributes = { + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe +} + +/** A node that can have revisions */ +export type NodeWithRevisions = { + /** True if the node is a revision of another node */ + isRevision?: Maybe + /** If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. */ + revisionOf?: Maybe +} + +/** Connection between the NodeWithRevisions type and the ContentNode type */ +export type NodeWithRevisionsToContentNodeConnectionEdge = { + __typename?: 'NodeWithRevisionsToContentNodeConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** A node that can have a template associated with it */ +export type NodeWithTemplate = { + /** The template assigned to the node */ + template?: Maybe +} + +/** A node that NodeWith a title */ +export type NodeWithTitle = { + /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ + title?: Maybe +} + +/** A node that NodeWith a title */ +export type NodeWithTitleTitleArgs = { + format?: Maybe +} + +/** A node that can have trackbacks and pingbacks */ +export type NodeWithTrackbacks = { + /** Whether the pings are open or closed for this particular post. */ + pingStatus?: Maybe + /** URLs that have been pinged. */ + pinged?: Maybe>> + /** URLs queued to be pinged. */ + toPing?: Maybe>> +} + +/** A order object */ +export type Order = Node & + NodeWithComments & { + __typename?: 'Order' + /** Order billing properties */ + billing?: Maybe + /** Cart hash */ + cartHash?: Maybe + /** Cart tax amount */ + cartTax?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** Connection between the Order type and the CouponLine type */ + couponLines?: Maybe + /** How order was created */ + createdVia?: Maybe + /** Order currency */ + currency?: Maybe + /** Order customer */ + customer?: Maybe + /** Customer IP Address */ + customerIpAddress?: Maybe + /** Customer note */ + customerNote?: Maybe + /** Customer User Agent */ + customerUserAgent?: Maybe + /** The ID of the order in the database */ + databaseId?: Maybe + /** Date order was created */ + date?: Maybe + /** Date order was completed */ + dateCompleted?: Maybe + /** Date order was paid */ + datePaid?: Maybe + /** Discount tax amount */ + discountTax?: Maybe + /** Discount total amount */ + discountTotal?: Maybe + /** Connection between the Order type and the DownloadableItem type */ + downloadableItems?: Maybe + /** Connection between the Order type and the FeeLine type */ + feeLines?: Maybe + /** Order has a billing address? */ + hasBillingAddress?: Maybe + /** If order contains a downloadable product */ + hasDownloadableItem?: Maybe + /** Order has a shipping address? */ + hasShippingAddress?: Maybe + /** The globally unique identifier for the order */ + id: Scalars['ID'] + /** Is product download is permitted */ + isDownloadPermitted?: Maybe + /** Connection between the Order type and the LineItem type */ + lineItems?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date order was last updated */ + modified?: Maybe + /** If order needs payment */ + needsPayment?: Maybe + /** If order needs processing before it can be completed */ + needsProcessing?: Maybe + /** If order needs shipping address */ + needsShippingAddress?: Maybe + /** Order key */ + orderKey?: Maybe + /** Connection between the Order type and the Comment type */ + orderNotes?: Maybe + /** Order number */ + orderNumber?: Maybe + /** Order version */ + orderVersion?: Maybe + /** Parent order */ + parent?: Maybe + /** Payment method */ + paymentMethod?: Maybe + /** Payment method title */ + paymentMethodTitle?: Maybe + /** Prices include taxes? */ + pricesIncludeTax?: Maybe + /** Connection between the Order type and the Refund type */ + refunds?: Maybe + /** Order shipping properties */ + shipping?: Maybe + /** Order customer */ + shippingAddressMapUrl?: Maybe + /** Connection between the Order type and the ShippingLine type */ + shippingLines?: Maybe + /** Shipping tax amount */ + shippingTax?: Maybe + /** Shipping total amount */ + shippingTotal?: Maybe + /** Order status */ + status?: Maybe + /** Order subtotal */ + subtotal?: Maybe + /** Connection between the Order type and the TaxLine type */ + taxLines?: Maybe + /** Order grand total */ + total?: Maybe + /** Order taxes */ + totalTax?: Maybe + /** Transaction ID */ + transactionId?: Maybe + } + +/** A order object */ +export type OrderCartTaxArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderCouponLinesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderDiscountTaxArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderDiscountTotalArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderDownloadableItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A order object */ +export type OrderFeeLinesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderLineItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A order object */ +export type OrderOrderNotesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A order object */ +export type OrderRefundsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A order object */ +export type OrderShippingLinesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderShippingTaxArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderShippingTotalArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderSubtotalArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderTaxLinesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A order object */ +export type OrderTotalArgs = { + format?: Maybe +} + +/** A order object */ +export type OrderTotalTaxArgs = { + format?: Maybe +} + +/** The cardinality of the connection order */ +export enum OrderEnum { + /** Sort the query result set in an ascending order */ + Asc = 'ASC', + /** Sort the query result set in a descending order */ + Desc = 'DESC', +} + +/** The Type of Identifier used to fetch a single Order. Default is ID. */ +export enum OrderIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Order number. */ + OrderNumber = 'ORDER_NUMBER', +} + +/** Order item tax statement */ +export type OrderItemTax = { + __typename?: 'OrderItemTax' + /** Amount taxed */ + amount?: Maybe + /** Subtotal */ + subtotal?: Maybe + /** Tax line connected to this statement */ + taxLine?: Maybe + /** Order item ID for tax line connected to this statement */ + taxLineId: Scalars['Int'] + /** Total */ + total?: Maybe +} + +/** Order status enumeration */ +export enum OrderStatusEnum { + /** Cancelled */ + Cancelled = 'CANCELLED', + /** Completed */ + Completed = 'COMPLETED', + /** Failed */ + Failed = 'FAILED', + /** On hold */ + OnHold = 'ON_HOLD', + /** Pending payment */ + Pending = 'PENDING', + /** Processing */ + Processing = 'PROCESSING', + /** Refunded */ + Refunded = 'REFUNDED', +} + +/** Connection between the Order type and the Comment type */ +export type OrderToCommentConnection = { + __typename?: 'OrderToCommentConnection' + /** Edges for the OrderToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToCommentConnectionEdge = { + __typename?: 'OrderToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** Is this a customer note? */ + isCustomerNote?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the OrderToCommentConnection connection */ +export type OrderToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the Order type and the CouponLine type */ +export type OrderToCouponLineConnection = { + __typename?: 'OrderToCouponLineConnection' + /** Edges for the OrderToCouponLineConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToCouponLineConnectionEdge = { + __typename?: 'OrderToCouponLineConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the Order type and the DownloadableItem type */ +export type OrderToDownloadableItemConnection = { + __typename?: 'OrderToDownloadableItemConnection' + /** Edges for the OrderToDownloadableItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToDownloadableItemConnectionEdge = { + __typename?: 'OrderToDownloadableItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the OrderToDownloadableItemConnection connection */ +export type OrderToDownloadableItemConnectionWhereArgs = { + /** Limit results to downloadable items that can be downloaded now. */ + active?: Maybe + /** Limit results to downloadable items that are expired. */ + expired?: Maybe + /** Limit results to downloadable items that have downloads remaining. */ + hasDownloadsRemaining?: Maybe +} + +/** Connection between the Order type and the FeeLine type */ +export type OrderToFeeLineConnection = { + __typename?: 'OrderToFeeLineConnection' + /** Edges for the OrderToFeeLineConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToFeeLineConnectionEdge = { + __typename?: 'OrderToFeeLineConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the Order type and the LineItem type */ +export type OrderToLineItemConnection = { + __typename?: 'OrderToLineItemConnection' + /** Edges for the OrderToLineItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToLineItemConnectionEdge = { + __typename?: 'OrderToLineItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the Order type and the Refund type */ +export type OrderToRefundConnection = { + __typename?: 'OrderToRefundConnection' + /** Edges for the OrderToRefundConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToRefundConnectionEdge = { + __typename?: 'OrderToRefundConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the OrderToRefundConnection connection */ +export type OrderToRefundConnectionWhereArgs = { + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to refunds from a specific group of order IDs. */ + orderIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to refunds assigned a specific status. */ + statuses?: Maybe>> +} + +/** Connection between the Order type and the ShippingLine type */ +export type OrderToShippingLineConnection = { + __typename?: 'OrderToShippingLineConnection' + /** Edges for the OrderToShippingLineConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToShippingLineConnectionEdge = { + __typename?: 'OrderToShippingLineConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the Order type and the TaxLine type */ +export type OrderToTaxLineConnection = { + __typename?: 'OrderToTaxLineConnection' + /** Edges for the OrderToTaxLineConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type OrderToTaxLineConnectionEdge = { + __typename?: 'OrderToTaxLineConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Fields to order the Orders connection by */ +export enum OrdersOrderByEnum { + /** Order by publish date */ + Date = 'DATE', + /** Order by date the order was completed */ + DateCompleted = 'DATE_COMPLETED', + /** Order by date the order was paid */ + DatePaid = 'DATE_PAID', + /** Order by order discount amount */ + Discount = 'DISCOUNT', + /** Preserve the ID order given in the IN array */ + In = 'IN', + /** Order by the menu order value */ + MenuOrder = 'MENU_ORDER', + /** Order by last modified date */ + Modified = 'MODIFIED', + /** Preserve slug order given in the NAME_IN array */ + NameIn = 'NAME_IN', + /** Order by order key */ + OrderKey = 'ORDER_KEY', + /** Order by parent ID */ + Parent = 'PARENT', + /** Order by slug */ + Slug = 'SLUG', + /** Order by order total */ + Tax = 'TAX', + /** Order by order total */ + Total = 'TOTAL', +} + +/** Options for ordering the connection */ +export type OrdersOrderbyInput = { + field: OrdersOrderByEnum + order?: Maybe +} + +/** The paColor type */ +export type PaColor = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'PaColor' + /** Connection between the paColor type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + paColorId?: Maybe + /** Connection between the PaColor type and the Product type */ + products?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the paColor type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the PaColor type and the ProductVariation type */ + variations?: Maybe + } + +/** The paColor type */ +export type PaColorContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The paColor type */ +export type PaColorEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The paColor type */ +export type PaColorEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The paColor type */ +export type PaColorProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The paColor type */ +export type PaColorVariationsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PaColorIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the paColor type and the ContentNode type */ +export type PaColorToContentNodeConnection = { + __typename?: 'PaColorToContentNodeConnection' + /** Edges for the PaColorToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaColorToContentNodeConnectionEdge = { + __typename?: 'PaColorToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaColorToContentNodeConnection connection */ +export type PaColorToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the PaColor type and the Product type */ +export type PaColorToProductConnection = { + __typename?: 'PaColorToProductConnection' + /** Edges for the PaColorToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaColorToProductConnectionEdge = { + __typename?: 'PaColorToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaColorToProductConnection connection */ +export type PaColorToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the PaColor type and the ProductVariation type */ +export type PaColorToProductVariationConnection = { + __typename?: 'PaColorToProductVariationConnection' + /** Edges for the PaColorToProductVariationConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaColorToProductVariationConnectionEdge = { + __typename?: 'PaColorToProductVariationConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaColorToProductVariationConnection connection */ +export type PaColorToProductVariationConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the paColor type and the Taxonomy type */ +export type PaColorToTaxonomyConnectionEdge = { + __typename?: 'PaColorToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** The paSize type */ +export type PaSize = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'PaSize' + /** Connection between the paSize type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + paSizeId?: Maybe + /** Connection between the PaSize type and the Product type */ + products?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the paSize type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the PaSize type and the ProductVariation type */ + variations?: Maybe + } + +/** The paSize type */ +export type PaSizeContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The paSize type */ +export type PaSizeEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The paSize type */ +export type PaSizeEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The paSize type */ +export type PaSizeProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The paSize type */ +export type PaSizeVariationsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PaSizeIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the paSize type and the ContentNode type */ +export type PaSizeToContentNodeConnection = { + __typename?: 'PaSizeToContentNodeConnection' + /** Edges for the PaSizeToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaSizeToContentNodeConnectionEdge = { + __typename?: 'PaSizeToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaSizeToContentNodeConnection connection */ +export type PaSizeToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the PaSize type and the Product type */ +export type PaSizeToProductConnection = { + __typename?: 'PaSizeToProductConnection' + /** Edges for the PaSizeToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaSizeToProductConnectionEdge = { + __typename?: 'PaSizeToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaSizeToProductConnection connection */ +export type PaSizeToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the PaSize type and the ProductVariation type */ +export type PaSizeToProductVariationConnection = { + __typename?: 'PaSizeToProductVariationConnection' + /** Edges for the PaSizeToProductVariationConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PaSizeToProductVariationConnectionEdge = { + __typename?: 'PaSizeToProductVariationConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PaSizeToProductVariationConnection connection */ +export type PaSizeToProductVariationConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the paSize type and the Taxonomy type */ +export type PaSizeToTaxonomyConnectionEdge = { + __typename?: 'PaSizeToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** The page type */ +export type Page = Node & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + NodeWithTemplate & + NodeWithTitle & + NodeWithContentEditor & + NodeWithAuthor & + NodeWithFeaturedImage & + NodeWithComments & + NodeWithRevisions & + NodeWithPageAttributes & + HierarchicalContentNode & + MenuItemLinkable & { + __typename?: 'Page' + /** Returns ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** Connection between the NodeWithAuthor type and the User type */ + author?: Maybe + /** The database identifier of the author of the node */ + authorDatabaseId?: Maybe + /** The globally unique identifier of the author of the node */ + authorId?: Maybe + /** Connection between the HierarchicalContentNode type and the ContentNode type */ + children?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** Connection between the page type and the Comment type */ + comments?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier of the page object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether this page is set to the static front page. */ + isFrontPage: Scalars['Boolean'] + /** Whether this page is set to the blog posts page. */ + isPostsPage: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether this page is set to the privacy page. */ + isPrivacyPage: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** True if the node is a revision of another node */ + isRevision?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of the databaseId field + */ + pageId: Scalars['Int'] + /** The parent of the node. The parent object can be of various types */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe + /** Connection between the page type and the page type */ + preview?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. */ + revisionOf?: Maybe + /** Connection between the page type and the page type */ + revisions?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** The current status of the object */ + status?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ + title?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The page type */ +export type PageAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The page type */ +export type PageChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The page type */ +export type PageCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The page type */ +export type PageContentArgs = { + format?: Maybe +} + +/** The page type */ +export type PageEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The page type */ +export type PageEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The page type */ +export type PageRevisionsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The page type */ +export type PageTitleArgs = { + format?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PageIdType { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a resource by the URI. */ + Uri = 'URI', +} + +/** Connection between the page type and the Comment type */ +export type PageToCommentConnection = { + __typename?: 'PageToCommentConnection' + /** Edges for the PageToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PageToCommentConnectionEdge = { + __typename?: 'PageToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PageToCommentConnection connection */ +export type PageToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the page type and the page type */ +export type PageToPreviewConnectionEdge = { + __typename?: 'PageToPreviewConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the page type and the page type */ +export type PageToRevisionConnection = { + __typename?: 'PageToRevisionConnection' + /** Edges for the pageToRevisionConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PageToRevisionConnectionEdge = { + __typename?: 'PageToRevisionConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the pageToRevisionConnection connection */ +export type PageToRevisionConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** A payment gateway object */ +export type PaymentGateway = { + __typename?: 'PaymentGateway' + /** gateway's description */ + description?: Maybe + /** gateway's icon */ + icon?: Maybe + /** gateway's title */ + id: Scalars['String'] + /** gateway's title */ + title?: Maybe +} + +/** An plugin object */ +export type Plugin = Node & { + __typename?: 'Plugin' + /** Name of the plugin author(s), may also be a company name. */ + author?: Maybe + /** URI for the related author(s)/company website. */ + authorUri?: Maybe + /** Description of the plugin. */ + description?: Maybe + /** The globally unique identifier of the plugin object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Display name of the plugin. */ + name?: Maybe + /** Plugin path. */ + path?: Maybe + /** URI for the plugin website. This is useful for directing users for support requests etc. */ + pluginUri?: Maybe + /** Current version of the plugin. */ + version?: Maybe +} + +/** The post type */ +export type Post = Node & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + NodeWithTemplate & + NodeWithTitle & + NodeWithContentEditor & + NodeWithAuthor & + NodeWithFeaturedImage & + NodeWithExcerpt & + NodeWithComments & + NodeWithTrackbacks & + NodeWithRevisions & + MenuItemLinkable & { + __typename?: 'Post' + /** Connection between the NodeWithAuthor type and the User type */ + author?: Maybe + /** The database identifier of the author of the node */ + authorDatabaseId?: Maybe + /** The globally unique identifier of the author of the node */ + authorId?: Maybe + /** Connection between the post type and the category type */ + categories?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** Connection between the post type and the Comment type */ + comments?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** Post publishing date. */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The excerpt of the post. */ + excerpt?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** The globally unique identifier of the post object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** True if the node is a revision of another node */ + isRevision?: Maybe + /** Whether this page is sticky */ + isSticky: Scalars['Boolean'] + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** The permalink of the post */ + link?: Maybe + /** The local modified time for a post. If a post was recently updated the modified field will change to match the corresponding time. */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Whether the pings are open or closed for this particular post. */ + pingStatus?: Maybe + /** URLs that have been pinged. */ + pinged?: Maybe>> + /** Connection between the post type and the postFormat type */ + postFormats?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of the databaseId field + */ + postId: Scalars['Int'] + /** Connection between the post type and the post type */ + preview?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** If the current node is a revision, this field exposes the node this is a revision of. Returns null if the node is not a revision of another node. */ + revisionOf?: Maybe + /** Connection between the post type and the post type */ + revisions?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** The current status of the object */ + status?: Maybe + /** Connection between the post type and the tag type */ + tags?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Connection between the post type and the TermNode type */ + terms?: Maybe + /** The title of the post. This is currently just the raw title. An amendment to support rendered title needs to be made. */ + title?: Maybe + /** URLs queued to be pinged. */ + toPing?: Maybe>> + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The post type */ +export type PostCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostContentArgs = { + format?: Maybe +} + +/** The post type */ +export type PostEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The post type */ +export type PostEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The post type */ +export type PostExcerptArgs = { + format?: Maybe +} + +/** The post type */ +export type PostPostFormatsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostRevisionsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostTermsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The post type */ +export type PostTitleArgs = { + format?: Maybe +} + +/** Set relationships between the post to categories */ +export type PostCategoriesInput = { + /** If true, this will append the category to existing related categories. If false, this will replace existing relationships. Default true. */ + append?: Maybe + /** The input list of items to set. */ + nodes?: Maybe>> +} + +/** List of categories to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ +export type PostCategoriesNodeInput = { + /** The description of the category. This field is used to set a description of the category if a new one is created during the mutation. */ + description?: Maybe + /** The ID of the category. If present, this will be used to connect to the post. If no existing category exists with this ID, no connection will be made. */ + id?: Maybe + /** The name of the category. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ + name?: Maybe + /** The slug of the category. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ + slug?: Maybe +} + +/** The postFormat type */ +export type PostFormat = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'PostFormat' + /** Connection between the postFormat type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + postFormatId?: Maybe + /** Connection between the postFormat type and the post type */ + posts?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the postFormat type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The postFormat type */ +export type PostFormatContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The postFormat type */ +export type PostFormatEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The postFormat type */ +export type PostFormatEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The postFormat type */ +export type PostFormatPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PostFormatIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the postFormat type and the ContentNode type */ +export type PostFormatToContentNodeConnection = { + __typename?: 'PostFormatToContentNodeConnection' + /** Edges for the PostFormatToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostFormatToContentNodeConnectionEdge = { + __typename?: 'PostFormatToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostFormatToContentNodeConnection connection */ +export type PostFormatToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the postFormat type and the post type */ +export type PostFormatToPostConnection = { + __typename?: 'PostFormatToPostConnection' + /** Edges for the PostFormatToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostFormatToPostConnectionEdge = { + __typename?: 'PostFormatToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostFormatToPostConnection connection */ +export type PostFormatToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the postFormat type and the Taxonomy type */ +export type PostFormatToTaxonomyConnectionEdge = { + __typename?: 'PostFormatToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum PostIdType { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ + Slug = 'SLUG', + /** Identify a resource by the URI. */ + Uri = 'URI', +} + +/** The format of post field data. */ +export enum PostObjectFieldFormatEnum { + /** Provide the field value directly from database */ + Raw = 'RAW', + /** Apply the default WordPress rendering */ + Rendered = 'RENDERED', +} + +/** The column to use when filtering by date */ +export enum PostObjectsConnectionDateColumnEnum { + /** The date the comment was created in local time. */ + Date = 'DATE', + /** The most recent modification date of the comment. */ + Modified = 'MODIFIED', +} + +/** Field to order the connection by */ +export enum PostObjectsConnectionOrderbyEnum { + /** Order by author */ + Author = 'AUTHOR', + /** Order by the number of comments it has acquired */ + CommentCount = 'COMMENT_COUNT', + /** Order by publish date */ + Date = 'DATE', + /** Preserve the ID order given in the IN array */ + In = 'IN', + /** Order by the menu order value */ + MenuOrder = 'MENU_ORDER', + /** Order by last modified date */ + Modified = 'MODIFIED', + /** Preserve slug order given in the NAME_IN array */ + NameIn = 'NAME_IN', + /** Order by parent ID */ + Parent = 'PARENT', + /** Order by slug */ + Slug = 'SLUG', + /** Order by title */ + Title = 'TITLE', +} + +/** Options for ordering the connection */ +export type PostObjectsConnectionOrderbyInput = { + /** The field to order the connection by */ + field: PostObjectsConnectionOrderbyEnum + /** Possible directions in which to order a list of items */ + order: OrderEnum +} + +/** Set relationships between the post to postFormats */ +export type PostPostFormatsInput = { + /** If true, this will append the postFormat to existing related postFormats. If false, this will replace existing relationships. Default true. */ + append?: Maybe + /** The input list of items to set. */ + nodes?: Maybe>> +} + +/** List of postFormats to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ +export type PostPostFormatsNodeInput = { + /** The description of the postFormat. This field is used to set a description of the postFormat if a new one is created during the mutation. */ + description?: Maybe + /** The ID of the postFormat. If present, this will be used to connect to the post. If no existing postFormat exists with this ID, no connection will be made. */ + id?: Maybe + /** The name of the postFormat. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ + name?: Maybe + /** The slug of the postFormat. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ + slug?: Maybe +} + +/** The status of the object. */ +export enum PostStatusEnum { + /** Objects with the auto-draft status */ + AutoDraft = 'AUTO_DRAFT', + /** Objects with the draft status */ + Draft = 'DRAFT', + /** Objects with the failed status */ + Failed = 'FAILED', + /** Objects with the future status */ + Future = 'FUTURE', + /** Objects with the inherit status */ + Inherit = 'INHERIT', + /** Objects with the in-progress status */ + InProgress = 'IN_PROGRESS', + /** Objects with the pending status */ + Pending = 'PENDING', + /** Objects with the private status */ + Private = 'PRIVATE', + /** Objects with the publish status */ + Publish = 'PUBLISH', + /** Objects with the request-completed status */ + RequestCompleted = 'REQUEST_COMPLETED', + /** Objects with the request-confirmed status */ + RequestConfirmed = 'REQUEST_CONFIRMED', + /** Objects with the request-failed status */ + RequestFailed = 'REQUEST_FAILED', + /** Objects with the request-pending status */ + RequestPending = 'REQUEST_PENDING', + /** Objects with the trash status */ + Trash = 'TRASH', + /** Objects with the wc-cancelled status */ + WcCancelled = 'WC_CANCELLED', + /** Objects with the wc-completed status */ + WcCompleted = 'WC_COMPLETED', + /** Objects with the wc-failed status */ + WcFailed = 'WC_FAILED', + /** Objects with the wc-on-hold status */ + WcOnHold = 'WC_ON_HOLD', + /** Objects with the wc-pending status */ + WcPending = 'WC_PENDING', + /** Objects with the wc-processing status */ + WcProcessing = 'WC_PROCESSING', + /** Objects with the wc-refunded status */ + WcRefunded = 'WC_REFUNDED', +} + +/** Set relationships between the post to tags */ +export type PostTagsInput = { + /** If true, this will append the tag to existing related tags. If false, this will replace existing relationships. Default true. */ + append?: Maybe + /** The input list of items to set. */ + nodes?: Maybe>> +} + +/** List of tags to connect the post to. If an ID is set, it will be used to create the connection. If not, it will look for a slug. If neither are valid existing terms, and the site is configured to allow terms to be created during post mutations, a term will be created using the Name if it exists in the input, then fallback to the slug if it exists. */ +export type PostTagsNodeInput = { + /** The description of the tag. This field is used to set a description of the tag if a new one is created during the mutation. */ + description?: Maybe + /** The ID of the tag. If present, this will be used to connect to the post. If no existing tag exists with this ID, no connection will be made. */ + id?: Maybe + /** The name of the tag. This field is used to create a new term, if term creation is enabled in nested mutations, and if one does not already exist with the provided slug or ID or if a slug or ID is not provided. If no name is included and a term is created, the creation will fallback to the slug field. */ + name?: Maybe + /** The slug of the tag. If no ID is present, this field will be used to make a connection. If no existing term exists with this slug, this field will be used as a fallback to the Name field when creating a new term to connect to, if term creation is enabled as a nested mutation. */ + slug?: Maybe +} + +/** Connection between the post type and the category type */ +export type PostToCategoryConnection = { + __typename?: 'PostToCategoryConnection' + /** Edges for the PostToCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToCategoryConnectionEdge = { + __typename?: 'PostToCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToCategoryConnection connection */ +export type PostToCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the post type and the Comment type */ +export type PostToCommentConnection = { + __typename?: 'PostToCommentConnection' + /** Edges for the PostToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToCommentConnectionEdge = { + __typename?: 'PostToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToCommentConnection connection */ +export type PostToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the post type and the postFormat type */ +export type PostToPostFormatConnection = { + __typename?: 'PostToPostFormatConnection' + /** Edges for the PostToPostFormatConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToPostFormatConnectionEdge = { + __typename?: 'PostToPostFormatConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToPostFormatConnection connection */ +export type PostToPostFormatConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the post type and the post type */ +export type PostToPreviewConnectionEdge = { + __typename?: 'PostToPreviewConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the post type and the post type */ +export type PostToRevisionConnection = { + __typename?: 'PostToRevisionConnection' + /** Edges for the postToRevisionConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToRevisionConnectionEdge = { + __typename?: 'PostToRevisionConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the postToRevisionConnection connection */ +export type PostToRevisionConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the post type and the tag type */ +export type PostToTagConnection = { + __typename?: 'PostToTagConnection' + /** Edges for the PostToTagConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToTagConnectionEdge = { + __typename?: 'PostToTagConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToTagConnection connection */ +export type PostToTagConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the post type and the TermNode type */ +export type PostToTermNodeConnection = { + __typename?: 'PostToTermNodeConnection' + /** Edges for the PostToTermNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type PostToTermNodeConnectionEdge = { + __typename?: 'PostToTermNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the PostToTermNodeConnection connection */ +export type PostToTermNodeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** The Taxonomy to filter terms by */ + taxonomies?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Details for labels of the PostType */ +export type PostTypeLabelDetails = { + __typename?: 'PostTypeLabelDetails' + /** Default is ‘Add New’ for both hierarchical and non-hierarchical types. */ + addNew?: Maybe + /** Label for adding a new singular item. */ + addNewItem?: Maybe + /** Label to signify all items in a submenu link. */ + allItems?: Maybe + /** Label for archives in nav menus */ + archives?: Maybe + /** Label for the attributes meta box. */ + attributes?: Maybe + /** Label for editing a singular item. */ + editItem?: Maybe + /** Label for the Featured Image meta box title. */ + featuredImage?: Maybe + /** Label for the table views hidden heading. */ + filterItemsList?: Maybe + /** Label for the media frame button. */ + insertIntoItem?: Maybe + /** Label for the table hidden heading. */ + itemsList?: Maybe + /** Label for the table pagination hidden heading. */ + itemsListNavigation?: Maybe + /** Label for the menu name. */ + menuName?: Maybe + /** General name for the post type, usually plural. */ + name?: Maybe + /** Label for the new item page title. */ + newItem?: Maybe + /** Label used when no items are found. */ + notFound?: Maybe + /** Label used when no items are in the trash. */ + notFoundInTrash?: Maybe + /** Label used to prefix parents of hierarchical items. */ + parentItemColon?: Maybe + /** Label for removing the featured image. */ + removeFeaturedImage?: Maybe + /** Label for searching plural items. */ + searchItems?: Maybe + /** Label for setting the featured image. */ + setFeaturedImage?: Maybe + /** Name for one object of this post type. */ + singularName?: Maybe + /** Label for the media frame filter. */ + uploadedToThisItem?: Maybe + /** Label in the media frame for using a featured image. */ + useFeaturedImage?: Maybe + /** Label for viewing a singular item. */ + viewItem?: Maybe + /** Label for viewing post type archives. */ + viewItems?: Maybe +} + +/** Fields to order the PostType connection by */ +export enum PostTypeOrderByEnum { + /** Order by publish date */ + Date = 'DATE', + /** Preserve the ID order given in the IN array */ + In = 'IN', + /** Order by the menu order value */ + MenuOrder = 'MENU_ORDER', + /** Order by last modified date */ + Modified = 'MODIFIED', + /** Preserve slug order given in the NAME_IN array */ + NameIn = 'NAME_IN', + /** Order by parent ID */ + Parent = 'PARENT', + /** Order by slug */ + Slug = 'SLUG', +} + +/** Options for ordering the connection */ +export type PostTypeOrderbyInput = { + field: PostTypeOrderByEnum + order?: Maybe +} + +/** Pricing field format enumeration */ +export enum PricingFieldFormatEnum { + Formatted = 'FORMATTED', + Raw = 'RAW', +} + +/** Product object */ +export type Product = { + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Product description */ + description?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Date product last updated */ + modified?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** Product status */ + status?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe +} + +/** Product object */ +export type ProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductDescriptionArgs = { + format?: Maybe +} + +/** Product object */ +export type ProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductShortDescriptionArgs = { + format?: Maybe +} + +/** Product object */ +export type ProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product object */ +export type ProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product attribute object */ +export type ProductAttribute = { + /** Attribute ID */ + attributeId: Scalars['Int'] + /** Attribute Global ID */ + id: Scalars['ID'] + /** Attribute label */ + label: Scalars['String'] + /** Attribute name */ + name: Scalars['String'] + /** Attribute options */ + options?: Maybe>> + /** Attribute position */ + position: Scalars['Int'] + /** Product attribute scope. */ + scope: ProductAttributeTypesEnum + /** Is attribute on product variation */ + variation: Scalars['Boolean'] + /** Is attribute visible */ + visible: Scalars['Boolean'] +} + +/** Options for ordering the connection */ +export type ProductAttributeInput = { + attributeName: Scalars['String'] + attributeValue?: Maybe +} + +/** A simple product attribute object */ +export type ProductAttributeOutput = { + __typename?: 'ProductAttributeOutput' + /** Attribute name. */ + attributeName?: Maybe + /** Attribute value. */ + attributeValue?: Maybe +} + +/** Product attribute type enumeration */ +export enum ProductAttributeTypesEnum { + /** A global product attribute */ + Global = 'GLOBAL', + /** A local product attribute */ + Local = 'LOCAL', +} + +/** The productCategory type */ +export type ProductCategory = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + HierarchicalTermNode & + MenuItemLinkable & { + __typename?: 'ProductCategory' + /** The ancestors of the node. Default ordered as lowest (closest to the child) to highest (closest to the root). */ + ancestors?: Maybe + /** Connection between the productCategory type and the productCategory type */ + children?: Maybe + /** Connection between the productCategory type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Product category display type */ + display?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Product category image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** Product category menu order */ + menuOrder?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** Connection between the productCategory type and the productCategory type */ + parent?: Maybe + /** Database id of the parent node */ + parentDatabaseId?: Maybe + /** The globally unique identifier of the parent node. */ + parentId?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + productCategoryId?: Maybe + /** Connection between the ProductCategory type and the Product type */ + products?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the productCategory type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The productCategory type */ +export type ProductCategoryAncestorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryChildrenArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productCategory type */ +export type ProductCategoryProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Product category display type enumeration */ +export enum ProductCategoryDisplay { + /** Display both products and subcategories of this category. */ + Both = 'BOTH', + /** Display default content connected to this category. */ + Default = 'DEFAULT', + /** Display products associated with this category. */ + Products = 'PRODUCTS', + /** Display subcategories of this category. */ + Subcategories = 'SUBCATEGORIES', +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ProductCategoryIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the productCategory type and the productCategory type */ +export type ProductCategoryToAncestorsProductCategoryConnection = { + __typename?: 'ProductCategoryToAncestorsProductCategoryConnection' + /** Edges for the ProductCategoryToAncestorsProductCategoryConnection connection */ + edges?: Maybe< + Array> + > + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductCategoryToAncestorsProductCategoryConnectionEdge = { + __typename?: 'ProductCategoryToAncestorsProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the productCategory type and the ContentNode type */ +export type ProductCategoryToContentNodeConnection = { + __typename?: 'ProductCategoryToContentNodeConnection' + /** Edges for the ProductCategoryToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductCategoryToContentNodeConnectionEdge = { + __typename?: 'ProductCategoryToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductCategoryToContentNodeConnection connection */ +export type ProductCategoryToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the productCategory type and the productCategory type */ +export type ProductCategoryToParentProductCategoryConnectionEdge = { + __typename?: 'ProductCategoryToParentProductCategoryConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the productCategory type and the productCategory type */ +export type ProductCategoryToProductCategoryConnection = { + __typename?: 'ProductCategoryToProductCategoryConnection' + /** Edges for the ProductCategoryToProductCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductCategoryToProductCategoryConnectionEdge = { + __typename?: 'ProductCategoryToProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductCategoryToProductCategoryConnection connection */ +export type ProductCategoryToProductCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the ProductCategory type and the Product type */ +export type ProductCategoryToProductConnection = { + __typename?: 'ProductCategoryToProductConnection' + /** Edges for the ProductCategoryToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductCategoryToProductConnectionEdge = { + __typename?: 'ProductCategoryToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductCategoryToProductConnection connection */ +export type ProductCategoryToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the productCategory type and the Taxonomy type */ +export type ProductCategoryToTaxonomyConnectionEdge = { + __typename?: 'ProductCategoryToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** A product object */ +export type ProductDownload = { + __typename?: 'ProductDownload' + /** Is file allowed */ + allowedFileType?: Maybe + /** Product download ID */ + downloadId: Scalars['String'] + /** Download file */ + file?: Maybe + /** Validate file exists */ + fileExists?: Maybe + /** File extension */ + fileExt?: Maybe + /** Type of file path set */ + filePathType?: Maybe + /** File type */ + fileType?: Maybe + /** Product download name */ + name?: Maybe +} + +/** The Type of Identifier used to fetch a single Product. Default is ID. */ +export enum ProductIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', + /** Unique store identifier for product. */ + Sku = 'SKU', + /** Identify a resource by the slug. Available to non-hierarchcial Types where the slug is a unique identifier. */ + Slug = 'SLUG', +} + +/** The productTag type */ +export type ProductTag = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + MenuItemLinkable & { + __typename?: 'ProductTag' + /** Connection between the productTag type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + productTagId?: Maybe + /** Connection between the ProductTag type and the Product type */ + products?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the productTag type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The productTag type */ +export type ProductTagContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The productTag type */ +export type ProductTagEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productTag type */ +export type ProductTagEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productTag type */ +export type ProductTagProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ProductTagIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the productTag type and the ContentNode type */ +export type ProductTagToContentNodeConnection = { + __typename?: 'ProductTagToContentNodeConnection' + /** Edges for the ProductTagToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductTagToContentNodeConnectionEdge = { + __typename?: 'ProductTagToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductTagToContentNodeConnection connection */ +export type ProductTagToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the ProductTag type and the Product type */ +export type ProductTagToProductConnection = { + __typename?: 'ProductTagToProductConnection' + /** Edges for the ProductTagToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductTagToProductConnectionEdge = { + __typename?: 'ProductTagToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductTagToProductConnection connection */ +export type ProductTagToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the productTag type and the Taxonomy type */ +export type ProductTagToTaxonomyConnectionEdge = { + __typename?: 'ProductTagToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Product taxonomies */ +export enum ProductTaxonomyEnum { + Pacolor = 'PACOLOR', + Pasize = 'PASIZE', + Productcategory = 'PRODUCTCATEGORY', + Producttag = 'PRODUCTTAG', + Producttype = 'PRODUCTTYPE', + Shippingclass = 'SHIPPINGCLASS', + Visibleproduct = 'VISIBLEPRODUCT', +} + +/** Product filter */ +export type ProductTaxonomyFilterInput = { + /** A list of term ids */ + ids?: Maybe>> + /** Filter operation type */ + operator?: Maybe + /** Which field to select taxonomy term by. */ + taxonomy: ProductTaxonomyEnum + /** A list of term slugs */ + terms?: Maybe>> +} + +/** Product taxonomy filter type */ +export type ProductTaxonomyInput = { + /** Product taxonomy rules to be filter results by */ + filters?: Maybe>> + /** Logic relation between each filter. */ + relation?: Maybe +} + +/** Connection between the Product type and the Comment type */ +export type ProductToCommentConnection = { + __typename?: 'ProductToCommentConnection' + /** Average review rating for this product. */ + averageRating?: Maybe + /** Edges for the ProductToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToCommentConnectionEdge = { + __typename?: 'ProductToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe + /** Review rating */ + rating?: Maybe +} + +/** Arguments for filtering the ProductToCommentConnection connection */ +export type ProductToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the Product type and the GlobalProductAttribute type */ +export type ProductToGlobalProductAttributeConnection = { + __typename?: 'ProductToGlobalProductAttributeConnection' + /** Edges for the ProductToGlobalProductAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToGlobalProductAttributeConnectionEdge = { + __typename?: 'ProductToGlobalProductAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToGlobalProductAttributeConnection connection */ +export type ProductToGlobalProductAttributeConnectionWhereArgs = { + /** Filter results by attribute scope. */ + type?: Maybe +} + +/** Connection between the Product type and the LocalProductAttribute type */ +export type ProductToLocalProductAttributeConnection = { + __typename?: 'ProductToLocalProductAttributeConnection' + /** Edges for the ProductToLocalProductAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToLocalProductAttributeConnectionEdge = { + __typename?: 'ProductToLocalProductAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToLocalProductAttributeConnection connection */ +export type ProductToLocalProductAttributeConnectionWhereArgs = { + /** Filter results by attribute scope. */ + type?: Maybe +} + +/** Connection between the Product type and the MediaItem type */ +export type ProductToMediaItemConnection = { + __typename?: 'ProductToMediaItemConnection' + /** Edges for the ProductToMediaItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToMediaItemConnectionEdge = { + __typename?: 'ProductToMediaItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToMediaItemConnection connection */ +export type ProductToMediaItemConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the Product type and the paColor type */ +export type ProductToPaColorConnection = { + __typename?: 'ProductToPaColorConnection' + /** Edges for the ProductToPaColorConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToPaColorConnectionEdge = { + __typename?: 'ProductToPaColorConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToPaColorConnection connection */ +export type ProductToPaColorConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the paSize type */ +export type ProductToPaSizeConnection = { + __typename?: 'ProductToPaSizeConnection' + /** Edges for the ProductToPaSizeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToPaSizeConnectionEdge = { + __typename?: 'ProductToPaSizeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToPaSizeConnection connection */ +export type ProductToPaSizeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the ProductAttribute type */ +export type ProductToProductAttributeConnection = { + __typename?: 'ProductToProductAttributeConnection' + /** Edges for the ProductToProductAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductAttributeConnectionEdge = { + __typename?: 'ProductToProductAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductAttributeConnection connection */ +export type ProductToProductAttributeConnectionWhereArgs = { + /** Filter results by attribute scope. */ + type?: Maybe +} + +/** Connection between the Product type and the productCategory type */ +export type ProductToProductCategoryConnection = { + __typename?: 'ProductToProductCategoryConnection' + /** Edges for the ProductToProductCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductCategoryConnectionEdge = { + __typename?: 'ProductToProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductCategoryConnection connection */ +export type ProductToProductCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the Product type */ +export type ProductToProductConnection = { + __typename?: 'ProductToProductConnection' + /** Edges for the ProductToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductConnectionEdge = { + __typename?: 'ProductToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductConnection connection */ +export type ProductToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Shuffle results? (Pagination currently not support by this argument) */ + shuffle?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the Product type and the productTag type */ +export type ProductToProductTagConnection = { + __typename?: 'ProductToProductTagConnection' + /** Edges for the ProductToProductTagConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductTagConnectionEdge = { + __typename?: 'ProductToProductTagConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductTagConnection connection */ +export type ProductToProductTagConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the productType type */ +export type ProductToProductTypeConnection = { + __typename?: 'ProductToProductTypeConnection' + /** Edges for the ProductToProductTypeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToProductTypeConnectionEdge = { + __typename?: 'ProductToProductTypeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToProductTypeConnection connection */ +export type ProductToProductTypeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the shippingClass type */ +export type ProductToShippingClassConnection = { + __typename?: 'ProductToShippingClassConnection' + /** Edges for the ProductToShippingClassConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToShippingClassConnectionEdge = { + __typename?: 'ProductToShippingClassConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToShippingClassConnection connection */ +export type ProductToShippingClassConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the Product type and the Product type */ +export type ProductToUpsellConnection = { + __typename?: 'ProductToUpsellConnection' + /** Edges for the ProductToUpsellConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToUpsellConnectionEdge = { + __typename?: 'ProductToUpsellConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToUpsellConnection connection */ +export type ProductToUpsellConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the Product type and the visibleProduct type */ +export type ProductToVisibleProductConnection = { + __typename?: 'ProductToVisibleProductConnection' + /** Edges for the ProductToVisibleProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductToVisibleProductConnectionEdge = { + __typename?: 'ProductToVisibleProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductToVisibleProductConnection connection */ +export type ProductToVisibleProductConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** The productType type */ +export type ProductType = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'ProductType' + /** Connection between the productType type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + productTypeId?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the productType type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The productType type */ +export type ProductTypeContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The productType type */ +export type ProductTypeEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The productType type */ +export type ProductTypeEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ProductTypeIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the productType type and the ContentNode type */ +export type ProductTypeToContentNodeConnection = { + __typename?: 'ProductTypeToContentNodeConnection' + /** Edges for the ProductTypeToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductTypeToContentNodeConnectionEdge = { + __typename?: 'ProductTypeToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductTypeToContentNodeConnection connection */ +export type ProductTypeToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the productType type and the Taxonomy type */ +export type ProductTypeToTaxonomyConnectionEdge = { + __typename?: 'ProductTypeToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Product type enumeration */ +export enum ProductTypesEnum { + /** An external product */ + External = 'EXTERNAL', + /** A product group */ + Grouped = 'GROUPED', + /** A simple product */ + Simple = 'SIMPLE', + /** A variable product */ + Variable = 'VARIABLE', + /** A product variation */ + Variation = 'VARIATION', +} + +/** A product variation object */ +export type ProductVariation = Node & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'ProductVariation' + /** Connection between the ProductVariation type and the VariationAttribute type */ + attributes?: Maybe + /** Product variation backorders */ + backorders?: Maybe + /** Can product be backordered? */ + backordersAllowed?: Maybe + /** Product variation catalog visibility */ + catalogVisibility?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** The ID of the refund in the database */ + databaseId: Scalars['Int'] + /** Date variation created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** Download expiry */ + downloadExpiry?: Maybe + /** Download limit */ + downloadLimit?: Maybe + /** Is downloadable? */ + downloadable?: Maybe + /** Product downloads */ + downloads?: Maybe>> + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** Does product variation have any visible attributes */ + hasAttributes?: Maybe + /** Product variation height */ + height?: Maybe + /** The globally unique identifier for the product variation */ + id: Scalars['ID'] + /** Product variation main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** Product variation length */ + length?: Maybe + /** The permalink of the post */ + link?: Maybe + /** if/how product variation stock is managed */ + manageStock?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date variation last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is variation on sale? */ + onSale?: Maybe + /** The parent of the node. The parent object can be of various types */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Product variation's active price */ + price?: Maybe + /** If product variation can be bought */ + purchasable?: Maybe + /** Product variation purchase_note */ + purchaseNote?: Maybe + /** Product variation's regular price */ + regularPrice?: Maybe + /** Product variation's sale price */ + salePrice?: Maybe + /** Product variation shipping class */ + shippingClass?: Maybe + /** Connection between the ProductVariation type and the shippingClass type */ + shippingClasses?: Maybe + /** Product variation SKU (Stock-keeping unit) */ + sku?: Maybe + /** The uri slug for the post. This is equivalent to the WP_Post->post_name field and the post_name column in the database for the "post_objects" table. */ + slug?: Maybe + /** Variation status */ + status?: Maybe + /** Product variation stock quantity */ + stockQuantity?: Maybe + /** Product stock status */ + stockStatus?: Maybe + /** Product variation tax class */ + taxClass?: Maybe + /** Tax status */ + taxStatus?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Product type */ + type?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Is product virtual? */ + virtual?: Maybe + /** Connection between the ProductVariation type and the visibleProduct type */ + visibleProducts?: Maybe + /** Product variation weight */ + weight?: Maybe + /** Product variation width */ + width?: Maybe + } + +/** A product variation object */ +export type ProductVariationAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product variation object */ +export type ProductVariationEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product variation object */ +export type ProductVariationEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product variation object */ +export type ProductVariationMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A product variation object */ +export type ProductVariationPriceArgs = { + format?: Maybe +} + +/** A product variation object */ +export type ProductVariationRegularPriceArgs = { + format?: Maybe +} + +/** A product variation object */ +export type ProductVariationSalePriceArgs = { + format?: Maybe +} + +/** A product variation object */ +export type ProductVariationShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product variation object */ +export type ProductVariationVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single ProductVariation. Default is ID. */ +export enum ProductVariationIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Connection between the ProductVariation type and the shippingClass type */ +export type ProductVariationToShippingClassConnection = { + __typename?: 'ProductVariationToShippingClassConnection' + /** Edges for the ProductVariationToShippingClassConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductVariationToShippingClassConnectionEdge = { + __typename?: 'ProductVariationToShippingClassConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductVariationToShippingClassConnection connection */ +export type ProductVariationToShippingClassConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the ProductVariation type and the VariableProduct type */ +export type ProductVariationToVariableProductConnectionEdge = { + __typename?: 'ProductVariationToVariableProductConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Connection between the ProductVariation type and the VariationAttribute type */ +export type ProductVariationToVariationAttributeConnection = { + __typename?: 'ProductVariationToVariationAttributeConnection' + /** Edges for the ProductVariationToVariationAttributeConnection connection */ + edges?: Maybe< + Array> + > + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductVariationToVariationAttributeConnectionEdge = { + __typename?: 'ProductVariationToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the ProductVariation type and the visibleProduct type */ +export type ProductVariationToVisibleProductConnection = { + __typename?: 'ProductVariationToVisibleProductConnection' + /** Edges for the ProductVariationToVisibleProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ProductVariationToVisibleProductConnectionEdge = { + __typename?: 'ProductVariationToVisibleProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ProductVariationToVisibleProductConnection connection */ +export type ProductVariationToVisibleProductConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Fields to order the Products connection by */ +export enum ProductsOrderByEnum { + /** Order by publish date */ + Date = 'DATE', + /** Preserve the ID order given in the IN array */ + In = 'IN', + /** Order by the menu order value */ + MenuOrder = 'MENU_ORDER', + /** Order by last modified date */ + Modified = 'MODIFIED', + /** Preserve slug order given in the NAME_IN array */ + NameIn = 'NAME_IN', + /** Order by date product sale starts */ + OnSaleFrom = 'ON_SALE_FROM', + /** Order by date product sale ends */ + OnSaleTo = 'ON_SALE_TO', + /** Order by parent ID */ + Parent = 'PARENT', + /** Order by product's current price */ + Price = 'PRICE', + /** Order by product average rating */ + Rating = 'RATING', + /** Order by product's regular price */ + RegularPrice = 'REGULAR_PRICE', + /** Order by number of reviews on product */ + ReviewCount = 'REVIEW_COUNT', + /** Order by product's sale price */ + SalePrice = 'SALE_PRICE', + /** Order by slug */ + Slug = 'SLUG', + /** Order by total sales of products sold */ + TotalSales = 'TOTAL_SALES', +} + +/** Options for ordering the connection */ +export type ProductsOrderbyInput = { + field: ProductsOrderByEnum + order?: Maybe +} + +/** The reading setting type */ +export type ReadingSettings = { + __typename?: 'ReadingSettings' + /** Blog pages show at most. */ + postsPerPage?: Maybe +} + +/** A refund object */ +export type Refund = Node & { + __typename?: 'Refund' + /** Refunded amount */ + amount?: Maybe + /** The ID of the refund in the database */ + databaseId?: Maybe + /** The date of the refund */ + date?: Maybe + /** The globally unique identifier for the refund */ + id: Scalars['ID'] + /** Connection between the Refund type and the LineItem type */ + lineItems?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Reason for refund */ + reason?: Maybe + /** User who completed the refund */ + refundedBy?: Maybe + /** A title for the new post type */ + title?: Maybe +} + +/** A refund object */ +export type RefundLineItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A refund object */ +export type RefundMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** The Type of Identifier used to fetch a single Refund. Default is ID. */ +export enum RefundIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Connection between the Refund type and the LineItem type */ +export type RefundToLineItemConnection = { + __typename?: 'RefundToLineItemConnection' + /** Edges for the RefundToLineItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RefundToLineItemConnectionEdge = { + __typename?: 'RefundToLineItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Input for the registerCustomer mutation */ +export type RegisterCustomerInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** Customer billing information */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** Customer shipping address */ + shipping?: Maybe + /** Customer shipping is identical to billing address */ + shippingSameAsBilling?: Maybe + /** A string that contains the user's username. */ + username?: Maybe + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the registerCustomer mutation */ +export type RegisterCustomerPayload = { + __typename?: 'RegisterCustomerPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + customer?: Maybe + viewer?: Maybe +} + +/** Input for the registerUser mutation */ +export type RegisterUserInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** A string that contains the user's username. */ + username: Scalars['String'] + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the registerUser mutation */ +export type RegisterUserPayload = { + __typename?: 'RegisterUserPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The User object mutation type. */ + user?: Maybe +} + +/** The logical relation between each item in the array when there are more than one. */ +export enum RelationEnum { + /** The logical AND condition returns true if both operands are true, otherwise, it returns false. */ + And = 'AND', + /** The logical OR condition returns false if both operands are false, otherwise, it returns true. */ + Or = 'OR', +} + +/** Input for the removeCoupons mutation */ +export type RemoveCouponsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Code of coupon being applied */ + codes?: Maybe>> +} + +/** The payload for the removeCoupons mutation */ +export type RemoveCouponsPayload = { + __typename?: 'RemoveCouponsPayload' + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the removeItemsFromCart mutation */ +export type RemoveItemsFromCartInput = { + /** Remove all cart items */ + all?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Item keys of the items being removed */ + keys?: Maybe>> +} + +/** The payload for the removeItemsFromCart mutation */ +export type RemoveItemsFromCartPayload = { + __typename?: 'RemoveItemsFromCartPayload' + cart?: Maybe + cartItems?: Maybe>> + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the resetUserPassword mutation */ +export type ResetUserPasswordInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Password reset key */ + key?: Maybe + /** The user's login (username). */ + login?: Maybe + /** The new password. */ + password?: Maybe +} + +/** The payload for the resetUserPassword mutation */ +export type ResetUserPasswordPayload = { + __typename?: 'ResetUserPasswordPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The User object mutation type. */ + user?: Maybe +} + +/** Input for the restoreCartItems mutation */ +export type RestoreCartItemsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Cart item key of the item being removed */ + keys?: Maybe>> +} + +/** The payload for the restoreCartItems mutation */ +export type RestoreCartItemsPayload = { + __typename?: 'RestoreCartItemsPayload' + cart?: Maybe + cartItems?: Maybe>> + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the restoreComment mutation */ +export type RestoreCommentInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the comment to be restored */ + id: Scalars['ID'] +} + +/** The payload for the restoreComment mutation */ +export type RestoreCommentPayload = { + __typename?: 'RestoreCommentPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The restored comment object */ + comment?: Maybe + /** The ID of the restored comment */ + restoredId?: Maybe +} + +/** Input for the restoreReview mutation */ +export type RestoreReviewInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the target product review */ + id: Scalars['ID'] +} + +/** The payload for the restoreReview mutation */ +export type RestoreReviewPayload = { + __typename?: 'RestoreReviewPayload' + /** The affected product review ID */ + affectedId?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The product rating of the affected product review */ + rating?: Maybe + /** The affected product review */ + review?: Maybe +} + +/** The root mutation */ +export type RootMutation = { + __typename?: 'RootMutation' + /** The payload for the addCartItems mutation */ + addCartItems?: Maybe + /** The payload for the addFee mutation */ + addFee?: Maybe + /** The payload for the addToCart mutation */ + addToCart?: Maybe + /** The payload for the applyCoupon mutation */ + applyCoupon?: Maybe + /** The payload for the checkout mutation */ + checkout?: Maybe + /** The payload for the createCategory mutation */ + createCategory?: Maybe + /** The payload for the createComment mutation */ + createComment?: Maybe + /** The payload for the createCoupon mutation */ + createCoupon?: Maybe + /** The payload for the createMediaItem mutation */ + createMediaItem?: Maybe + /** The payload for the createOrder mutation */ + createOrder?: Maybe + /** The payload for the createPaColor mutation */ + createPaColor?: Maybe + /** The payload for the createPaSize mutation */ + createPaSize?: Maybe + /** The payload for the createPage mutation */ + createPage?: Maybe + /** The payload for the createPost mutation */ + createPost?: Maybe + /** The payload for the createPostFormat mutation */ + createPostFormat?: Maybe + /** The payload for the createProductCategory mutation */ + createProductCategory?: Maybe + /** The payload for the createProductTag mutation */ + createProductTag?: Maybe + /** The payload for the createProductType mutation */ + createProductType?: Maybe + /** The payload for the createShippingClass mutation */ + createShippingClass?: Maybe + /** The payload for the createTag mutation */ + createTag?: Maybe + /** The payload for the createUser mutation */ + createUser?: Maybe + /** The payload for the createVisibleProduct mutation */ + createVisibleProduct?: Maybe + /** The payload for the deleteCategory mutation */ + deleteCategory?: Maybe + /** The payload for the deleteComment mutation */ + deleteComment?: Maybe + /** The payload for the deleteCoupon mutation */ + deleteCoupon?: Maybe + /** The payload for the deleteMediaItem mutation */ + deleteMediaItem?: Maybe + /** The payload for the deleteOrder mutation */ + deleteOrder?: Maybe + /** The payload for the deleteOrderItems mutation */ + deleteOrderItems?: Maybe + /** The payload for the deletePaColor mutation */ + deletePaColor?: Maybe + /** The payload for the deletePaSize mutation */ + deletePaSize?: Maybe + /** The payload for the deletePage mutation */ + deletePage?: Maybe + /** The payload for the deletePost mutation */ + deletePost?: Maybe + /** The payload for the deletePostFormat mutation */ + deletePostFormat?: Maybe + /** The payload for the deleteProductCategory mutation */ + deleteProductCategory?: Maybe + /** The payload for the deleteProductTag mutation */ + deleteProductTag?: Maybe + /** The payload for the deleteProductType mutation */ + deleteProductType?: Maybe + /** The payload for the deleteReview mutation */ + deleteReview?: Maybe + /** The payload for the deleteShippingClass mutation */ + deleteShippingClass?: Maybe + /** The payload for the deleteTag mutation */ + deleteTag?: Maybe + /** The payload for the deleteUser mutation */ + deleteUser?: Maybe + /** The payload for the deleteVisibleProduct mutation */ + deleteVisibleProduct?: Maybe + /** The payload for the emptyCart mutation */ + emptyCart?: Maybe + /** The payload for the fillCart mutation */ + fillCart?: Maybe + /** Increase the count. */ + increaseCount?: Maybe + /** The payload for the registerCustomer mutation */ + registerCustomer?: Maybe + /** The payload for the registerUser mutation */ + registerUser?: Maybe + /** The payload for the removeCoupons mutation */ + removeCoupons?: Maybe + /** The payload for the removeItemsFromCart mutation */ + removeItemsFromCart?: Maybe + /** The payload for the resetUserPassword mutation */ + resetUserPassword?: Maybe + /** The payload for the restoreCartItems mutation */ + restoreCartItems?: Maybe + /** The payload for the restoreComment mutation */ + restoreComment?: Maybe + /** The payload for the restoreReview mutation */ + restoreReview?: Maybe + /** The payload for the sendPasswordResetEmail mutation */ + sendPasswordResetEmail?: Maybe + /** The payload for the UpdateCategory mutation */ + updateCategory?: Maybe + /** The payload for the updateComment mutation */ + updateComment?: Maybe + /** The payload for the updateCoupon mutation */ + updateCoupon?: Maybe + /** The payload for the updateCustomer mutation */ + updateCustomer?: Maybe + /** The payload for the updateItemQuantities mutation */ + updateItemQuantities?: Maybe + /** The payload for the updateMediaItem mutation */ + updateMediaItem?: Maybe + /** The payload for the updateOrder mutation */ + updateOrder?: Maybe + /** The payload for the UpdatePaColor mutation */ + updatePaColor?: Maybe + /** The payload for the UpdatePaSize mutation */ + updatePaSize?: Maybe + /** The payload for the updatePage mutation */ + updatePage?: Maybe + /** The payload for the updatePost mutation */ + updatePost?: Maybe + /** The payload for the UpdatePostFormat mutation */ + updatePostFormat?: Maybe + /** The payload for the UpdateProductCategory mutation */ + updateProductCategory?: Maybe + /** The payload for the UpdateProductTag mutation */ + updateProductTag?: Maybe + /** The payload for the UpdateProductType mutation */ + updateProductType?: Maybe + /** The payload for the updateReview mutation */ + updateReview?: Maybe + /** The payload for the updateSettings mutation */ + updateSettings?: Maybe + /** The payload for the UpdateShippingClass mutation */ + updateShippingClass?: Maybe + /** The payload for the updateShippingMethod mutation */ + updateShippingMethod?: Maybe + /** The payload for the UpdateTag mutation */ + updateTag?: Maybe + /** The payload for the updateUser mutation */ + updateUser?: Maybe + /** The payload for the UpdateVisibleProduct mutation */ + updateVisibleProduct?: Maybe + /** The payload for the writeReview mutation */ + writeReview?: Maybe +} + +/** The root mutation */ +export type RootMutationAddCartItemsArgs = { + input: AddCartItemsInput +} + +/** The root mutation */ +export type RootMutationAddFeeArgs = { + input: AddFeeInput +} + +/** The root mutation */ +export type RootMutationAddToCartArgs = { + input: AddToCartInput +} + +/** The root mutation */ +export type RootMutationApplyCouponArgs = { + input: ApplyCouponInput +} + +/** The root mutation */ +export type RootMutationCheckoutArgs = { + input: CheckoutInput +} + +/** The root mutation */ +export type RootMutationCreateCategoryArgs = { + input: CreateCategoryInput +} + +/** The root mutation */ +export type RootMutationCreateCommentArgs = { + input: CreateCommentInput +} + +/** The root mutation */ +export type RootMutationCreateCouponArgs = { + input: CreateCouponInput +} + +/** The root mutation */ +export type RootMutationCreateMediaItemArgs = { + input: CreateMediaItemInput +} + +/** The root mutation */ +export type RootMutationCreateOrderArgs = { + input: CreateOrderInput +} + +/** The root mutation */ +export type RootMutationCreatePaColorArgs = { + input: CreatePaColorInput +} + +/** The root mutation */ +export type RootMutationCreatePaSizeArgs = { + input: CreatePaSizeInput +} + +/** The root mutation */ +export type RootMutationCreatePageArgs = { + input: CreatePageInput +} + +/** The root mutation */ +export type RootMutationCreatePostArgs = { + input: CreatePostInput +} + +/** The root mutation */ +export type RootMutationCreatePostFormatArgs = { + input: CreatePostFormatInput +} + +/** The root mutation */ +export type RootMutationCreateProductCategoryArgs = { + input: CreateProductCategoryInput +} + +/** The root mutation */ +export type RootMutationCreateProductTagArgs = { + input: CreateProductTagInput +} + +/** The root mutation */ +export type RootMutationCreateProductTypeArgs = { + input: CreateProductTypeInput +} + +/** The root mutation */ +export type RootMutationCreateShippingClassArgs = { + input: CreateShippingClassInput +} + +/** The root mutation */ +export type RootMutationCreateTagArgs = { + input: CreateTagInput +} + +/** The root mutation */ +export type RootMutationCreateUserArgs = { + input: CreateUserInput +} + +/** The root mutation */ +export type RootMutationCreateVisibleProductArgs = { + input: CreateVisibleProductInput +} + +/** The root mutation */ +export type RootMutationDeleteCategoryArgs = { + input: DeleteCategoryInput +} + +/** The root mutation */ +export type RootMutationDeleteCommentArgs = { + input: DeleteCommentInput +} + +/** The root mutation */ +export type RootMutationDeleteCouponArgs = { + input: DeleteCouponInput +} + +/** The root mutation */ +export type RootMutationDeleteMediaItemArgs = { + input: DeleteMediaItemInput +} + +/** The root mutation */ +export type RootMutationDeleteOrderArgs = { + input: DeleteOrderInput +} + +/** The root mutation */ +export type RootMutationDeleteOrderItemsArgs = { + input: DeleteOrderItemsInput +} + +/** The root mutation */ +export type RootMutationDeletePaColorArgs = { + input: DeletePaColorInput +} + +/** The root mutation */ +export type RootMutationDeletePaSizeArgs = { + input: DeletePaSizeInput +} + +/** The root mutation */ +export type RootMutationDeletePageArgs = { + input: DeletePageInput +} + +/** The root mutation */ +export type RootMutationDeletePostArgs = { + input: DeletePostInput +} + +/** The root mutation */ +export type RootMutationDeletePostFormatArgs = { + input: DeletePostFormatInput +} + +/** The root mutation */ +export type RootMutationDeleteProductCategoryArgs = { + input: DeleteProductCategoryInput +} + +/** The root mutation */ +export type RootMutationDeleteProductTagArgs = { + input: DeleteProductTagInput +} + +/** The root mutation */ +export type RootMutationDeleteProductTypeArgs = { + input: DeleteProductTypeInput +} + +/** The root mutation */ +export type RootMutationDeleteReviewArgs = { + input: DeleteReviewInput +} + +/** The root mutation */ +export type RootMutationDeleteShippingClassArgs = { + input: DeleteShippingClassInput +} + +/** The root mutation */ +export type RootMutationDeleteTagArgs = { + input: DeleteTagInput +} + +/** The root mutation */ +export type RootMutationDeleteUserArgs = { + input: DeleteUserInput +} + +/** The root mutation */ +export type RootMutationDeleteVisibleProductArgs = { + input: DeleteVisibleProductInput +} + +/** The root mutation */ +export type RootMutationEmptyCartArgs = { + input: EmptyCartInput +} + +/** The root mutation */ +export type RootMutationFillCartArgs = { + input: FillCartInput +} + +/** The root mutation */ +export type RootMutationIncreaseCountArgs = { + count?: Maybe +} + +/** The root mutation */ +export type RootMutationRegisterCustomerArgs = { + input: RegisterCustomerInput +} + +/** The root mutation */ +export type RootMutationRegisterUserArgs = { + input: RegisterUserInput +} + +/** The root mutation */ +export type RootMutationRemoveCouponsArgs = { + input: RemoveCouponsInput +} + +/** The root mutation */ +export type RootMutationRemoveItemsFromCartArgs = { + input: RemoveItemsFromCartInput +} + +/** The root mutation */ +export type RootMutationResetUserPasswordArgs = { + input: ResetUserPasswordInput +} + +/** The root mutation */ +export type RootMutationRestoreCartItemsArgs = { + input: RestoreCartItemsInput +} + +/** The root mutation */ +export type RootMutationRestoreCommentArgs = { + input: RestoreCommentInput +} + +/** The root mutation */ +export type RootMutationRestoreReviewArgs = { + input: RestoreReviewInput +} + +/** The root mutation */ +export type RootMutationSendPasswordResetEmailArgs = { + input: SendPasswordResetEmailInput +} + +/** The root mutation */ +export type RootMutationUpdateCategoryArgs = { + input: UpdateCategoryInput +} + +/** The root mutation */ +export type RootMutationUpdateCommentArgs = { + input: UpdateCommentInput +} + +/** The root mutation */ +export type RootMutationUpdateCouponArgs = { + input: UpdateCouponInput +} + +/** The root mutation */ +export type RootMutationUpdateCustomerArgs = { + input: UpdateCustomerInput +} + +/** The root mutation */ +export type RootMutationUpdateItemQuantitiesArgs = { + input: UpdateItemQuantitiesInput +} + +/** The root mutation */ +export type RootMutationUpdateMediaItemArgs = { + input: UpdateMediaItemInput +} + +/** The root mutation */ +export type RootMutationUpdateOrderArgs = { + input: UpdateOrderInput +} + +/** The root mutation */ +export type RootMutationUpdatePaColorArgs = { + input: UpdatePaColorInput +} + +/** The root mutation */ +export type RootMutationUpdatePaSizeArgs = { + input: UpdatePaSizeInput +} + +/** The root mutation */ +export type RootMutationUpdatePageArgs = { + input: UpdatePageInput +} + +/** The root mutation */ +export type RootMutationUpdatePostArgs = { + input: UpdatePostInput +} + +/** The root mutation */ +export type RootMutationUpdatePostFormatArgs = { + input: UpdatePostFormatInput +} + +/** The root mutation */ +export type RootMutationUpdateProductCategoryArgs = { + input: UpdateProductCategoryInput +} + +/** The root mutation */ +export type RootMutationUpdateProductTagArgs = { + input: UpdateProductTagInput +} + +/** The root mutation */ +export type RootMutationUpdateProductTypeArgs = { + input: UpdateProductTypeInput +} + +/** The root mutation */ +export type RootMutationUpdateReviewArgs = { + input: UpdateReviewInput +} + +/** The root mutation */ +export type RootMutationUpdateSettingsArgs = { + input: UpdateSettingsInput +} + +/** The root mutation */ +export type RootMutationUpdateShippingClassArgs = { + input: UpdateShippingClassInput +} + +/** The root mutation */ +export type RootMutationUpdateShippingMethodArgs = { + input: UpdateShippingMethodInput +} + +/** The root mutation */ +export type RootMutationUpdateTagArgs = { + input: UpdateTagInput +} + +/** The root mutation */ +export type RootMutationUpdateUserArgs = { + input: UpdateUserInput +} + +/** The root mutation */ +export type RootMutationUpdateVisibleProductArgs = { + input: UpdateVisibleProductInput +} + +/** The root mutation */ +export type RootMutationWriteReviewArgs = { + input: WriteReviewInput +} + +/** The root entry point into the Graph */ +export type RootQuery = { + __typename?: 'RootQuery' + /** Entry point to get all settings for the site */ + allSettings?: Maybe + /** The cart object */ + cart?: Maybe + /** The cart object */ + cartFee?: Maybe + /** The cart object */ + cartItem?: Maybe + /** Connection between the RootQuery type and the category type */ + categories?: Maybe + /** A 0bject */ + category?: Maybe + /** Returns a Comment */ + comment?: Maybe + /** Connection between the RootQuery type and the Comment type */ + comments?: Maybe + /** A node used to manage content */ + contentNode?: Maybe + /** Connection between the RootQuery type and the ContentNode type */ + contentNodes?: Maybe + /** Fetch a Content Type node by unique Identifier */ + contentType?: Maybe + /** Connection between the RootQuery type and the ContentType type */ + contentTypes?: Maybe + /** A coupon object */ + coupon?: Maybe + /** Connection between the RootQuery type and the Coupon type */ + coupons?: Maybe + /** A customer object */ + customer?: Maybe + /** Connection between the RootQuery type and the Customer type */ + customers?: Maybe + /** Fields of the 'DiscussionSettings' settings group */ + discussionSettings?: Maybe + /** Fields of the 'GeneralSettings' settings group */ + generalSettings?: Maybe + /** An object of the mediaItem Type. */ + mediaItem?: Maybe + /** + * A mediaItem object + * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") + */ + mediaItemBy?: Maybe + /** Connection between the RootQuery type and the mediaItem type */ + mediaItems?: Maybe + /** A WordPress navigation menu */ + menu?: Maybe + /** A WordPress navigation menu item */ + menuItem?: Maybe + /** Connection between the RootQuery type and the MenuItem type */ + menuItems?: Maybe + /** Connection between the RootQuery type and the Menu type */ + menus?: Maybe + /** Fetches an object given its ID */ + node?: Maybe + /** Fetches an object given its Unique Resource Identifier */ + nodeByUri?: Maybe + /** A order object */ + order?: Maybe + /** Connection between the RootQuery type and the Order type */ + orders?: Maybe + /** A 0bject */ + paColor?: Maybe + /** Connection between the RootQuery type and the paColor type */ + paColors?: Maybe + /** A 0bject */ + paSize?: Maybe + /** Connection between the RootQuery type and the paSize type */ + paSizes?: Maybe + /** An object of the page Type. */ + page?: Maybe + /** + * A page object + * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") + */ + pageBy?: Maybe + /** Connection between the RootQuery type and the page type */ + pages?: Maybe + /** Connection between the RootQuery type and the PaymentGateway type */ + paymentGateways?: Maybe + /** A WordPress plugin */ + plugin?: Maybe + /** Connection between the RootQuery type and the Plugin type */ + plugins?: Maybe + /** An object of the post Type. */ + post?: Maybe + /** + * A post object + * @deprecated Deprecated in favor of using the single entry point for this type with ID and IDType fields. For example, instead of postBy( id: "" ), use post(id: "" idType: "") + */ + postBy?: Maybe + /** A 0bject */ + postFormat?: Maybe + /** Connection between the RootQuery type and the postFormat type */ + postFormats?: Maybe + /** Connection between the RootQuery type and the post type */ + posts?: Maybe + /** A product object */ + product?: Maybe + /** Connection between the RootQuery type and the productCategory type */ + productCategories?: Maybe + /** A 0bject */ + productCategory?: Maybe + /** A 0bject */ + productTag?: Maybe + /** Connection between the RootQuery type and the productTag type */ + productTags?: Maybe + /** A 0bject */ + productType?: Maybe + /** Connection between the RootQuery type and the productType type */ + productTypes?: Maybe + /** A product variation object */ + productVariation?: Maybe + /** Connection between the RootQuery type and the Product type */ + products?: Maybe + /** Fields of the 'ReadingSettings' settings group */ + readingSettings?: Maybe + /** A refund object */ + refund?: Maybe + /** Connection between the RootQuery type and the Refund type */ + refunds?: Maybe + /** Connection between the RootQuery type and the EnqueuedScript type */ + registeredScripts?: Maybe + /** Connection between the RootQuery type and the EnqueuedStylesheet type */ + registeredStylesheets?: Maybe + /** Connection between the RootQuery type and the ContentRevisionUnion type */ + revisions?: Maybe + /** A 0bject */ + shippingClass?: Maybe + /** Connection between the RootQuery type and the shippingClass type */ + shippingClasses?: Maybe + /** A shipping method object */ + shippingMethod?: Maybe + /** Connection between the RootQuery type and the ShippingMethod type */ + shippingMethods?: Maybe + /** A 0bject */ + tag?: Maybe + /** Connection between the RootQuery type and the tag type */ + tags?: Maybe + /** A tax rate object */ + taxRate?: Maybe + /** Connection between the RootQuery type and the TaxRate type */ + taxRates?: Maybe + /** Connection between the RootQuery type and the Taxonomy type */ + taxonomies?: Maybe + /** Fetch a Taxonomy node by unique Identifier */ + taxonomy?: Maybe + /** A node in a taxonomy used to group and relate content nodes */ + termNode?: Maybe + /** Connection between the RootQuery type and the TermNode type */ + terms?: Maybe + /** A Theme object */ + theme?: Maybe + /** Connection between the RootQuery type and the Theme type */ + themes?: Maybe + /** Returns a user */ + user?: Maybe + /** Returns a user role */ + userRole?: Maybe + /** Connection between the RootQuery type and the UserRole type */ + userRoles?: Maybe + /** Connection between the RootQuery type and the User type */ + users?: Maybe + /** Returns the current user */ + viewer?: Maybe + /** A 0bject */ + visibleProduct?: Maybe + /** Connection between the RootQuery type and the visibleProduct type */ + visibleProducts?: Maybe + /** Fields of the 'WritingSettings' settings group */ + writingSettings?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCartArgs = { + recalculateTotals?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCartFeeArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryCartItemArgs = { + key: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCategoryArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCommentArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryContentNodeArgs = { + id: Scalars['ID'] + idType?: Maybe + contentType?: Maybe + asPreview?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryContentTypeArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryContentTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCouponArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCouponsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCustomerArgs = { + id?: Maybe + customerId?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryCustomersArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMediaItemArgs = { + id: Scalars['ID'] + idType?: Maybe + asPreview?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMediaItemByArgs = { + id?: Maybe + mediaItemId?: Maybe + uri?: Maybe + slug?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMediaItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMenuArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMenuItemArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMenuItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryMenusArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryNodeArgs = { + id?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryNodeByUriArgs = { + uri: Scalars['String'] +} + +/** The root entry point into the Graph */ +export type RootQueryOrderArgs = { + id?: Maybe + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryOrdersArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaColorArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaSizeArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPageArgs = { + id: Scalars['ID'] + idType?: Maybe + asPreview?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPageByArgs = { + id?: Maybe + pageId?: Maybe + uri?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPaymentGatewaysArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPluginArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryPluginsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostArgs = { + id: Scalars['ID'] + idType?: Maybe + asPreview?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostByArgs = { + id?: Maybe + postId?: Maybe + uri?: Maybe + slug?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostFormatArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostFormatsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductCategoryArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductTagArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductTypeArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductVariationArgs = { + id?: Maybe + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRefundArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRefundsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRegisteredScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRegisteredStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryRevisionsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryShippingClassArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryShippingMethodArgs = { + id?: Maybe + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryShippingMethodsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTagArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTaxRateArgs = { + id?: Maybe + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTaxRatesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTaxonomiesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTaxonomyArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTermNodeArgs = { + id: Scalars['ID'] + idType?: Maybe + taxonomy?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryTermsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryThemeArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryThemesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryUserArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryUserRoleArgs = { + id: Scalars['ID'] +} + +/** The root entry point into the Graph */ +export type RootQueryUserRolesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryUsersArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryVisibleProductArgs = { + id: Scalars['ID'] + idType?: Maybe +} + +/** The root entry point into the Graph */ +export type RootQueryVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the RootQuery type and the category type */ +export type RootQueryToCategoryConnection = { + __typename?: 'RootQueryToCategoryConnection' + /** Edges for the RootQueryToCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToCategoryConnectionEdge = { + __typename?: 'RootQueryToCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToCategoryConnection connection */ +export type RootQueryToCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the Comment type */ +export type RootQueryToCommentConnection = { + __typename?: 'RootQueryToCommentConnection' + /** Edges for the RootQueryToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToCommentConnectionEdge = { + __typename?: 'RootQueryToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToCommentConnection connection */ +export type RootQueryToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the RootQuery type and the ContentNode type */ +export type RootQueryToContentNodeConnection = { + __typename?: 'RootQueryToContentNodeConnection' + /** Edges for the RootQueryToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToContentNodeConnectionEdge = { + __typename?: 'RootQueryToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToContentNodeConnection connection */ +export type RootQueryToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the ContentRevisionUnion type */ +export type RootQueryToContentRevisionUnionConnection = { + __typename?: 'RootQueryToContentRevisionUnionConnection' + /** Edges for the RootQueryToContentRevisionUnionConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToContentRevisionUnionConnectionEdge = { + __typename?: 'RootQueryToContentRevisionUnionConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToContentRevisionUnionConnection connection */ +export type RootQueryToContentRevisionUnionConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the ContentType type */ +export type RootQueryToContentTypeConnection = { + __typename?: 'RootQueryToContentTypeConnection' + /** Edges for the RootQueryToContentTypeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToContentTypeConnectionEdge = { + __typename?: 'RootQueryToContentTypeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the Coupon type */ +export type RootQueryToCouponConnection = { + __typename?: 'RootQueryToCouponConnection' + /** Edges for the RootQueryToCouponConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToCouponConnectionEdge = { + __typename?: 'RootQueryToCouponConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToCouponConnection connection */ +export type RootQueryToCouponConnectionWhereArgs = { + /** Limit result set to resources with a specific code. */ + code?: Maybe + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit results to those matching a string. */ + search?: Maybe +} + +/** Connection between the RootQuery type and the Customer type */ +export type RootQueryToCustomerConnection = { + __typename?: 'RootQueryToCustomerConnection' + /** Edges for the RootQueryToCustomerConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToCustomerConnectionEdge = { + __typename?: 'RootQueryToCustomerConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToCustomerConnection connection */ +export type RootQueryToCustomerConnectionWhereArgs = { + /** Limit result set to resources with a specific email. */ + email?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Order of results. */ + order?: Maybe + /** Order results by a specific field. */ + orderby?: Maybe + /** Limit results to those matching a string. */ + search?: Maybe +} + +/** Connection between the RootQuery type and the EnqueuedScript type */ +export type RootQueryToEnqueuedScriptConnection = { + __typename?: 'RootQueryToEnqueuedScriptConnection' + /** Edges for the RootQueryToEnqueuedScriptConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToEnqueuedScriptConnectionEdge = { + __typename?: 'RootQueryToEnqueuedScriptConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the EnqueuedStylesheet type */ +export type RootQueryToEnqueuedStylesheetConnection = { + __typename?: 'RootQueryToEnqueuedStylesheetConnection' + /** Edges for the RootQueryToEnqueuedStylesheetConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToEnqueuedStylesheetConnectionEdge = { + __typename?: 'RootQueryToEnqueuedStylesheetConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the mediaItem type */ +export type RootQueryToMediaItemConnection = { + __typename?: 'RootQueryToMediaItemConnection' + /** Edges for the RootQueryToMediaItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToMediaItemConnectionEdge = { + __typename?: 'RootQueryToMediaItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToMediaItemConnection connection */ +export type RootQueryToMediaItemConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the Menu type */ +export type RootQueryToMenuConnection = { + __typename?: 'RootQueryToMenuConnection' + /** Edges for the RootQueryToMenuConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToMenuConnectionEdge = { + __typename?: 'RootQueryToMenuConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToMenuConnection connection */ +export type RootQueryToMenuConnectionWhereArgs = { + /** The ID of the object */ + id?: Maybe + /** The menu location for the menu being queried */ + location?: Maybe + /** The slug of the menu to query items for */ + slug?: Maybe +} + +/** Connection between the RootQuery type and the MenuItem type */ +export type RootQueryToMenuItemConnection = { + __typename?: 'RootQueryToMenuItemConnection' + /** Edges for the RootQueryToMenuItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToMenuItemConnectionEdge = { + __typename?: 'RootQueryToMenuItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToMenuItemConnection connection */ +export type RootQueryToMenuItemConnectionWhereArgs = { + /** The ID of the object */ + id?: Maybe + /** The menu location for the menu being queried */ + location?: Maybe + /** The database ID of the parent menu object */ + parentDatabaseId?: Maybe + /** The ID of the parent menu object */ + parentId?: Maybe +} + +/** Connection between the RootQuery type and the Order type */ +export type RootQueryToOrderConnection = { + __typename?: 'RootQueryToOrderConnection' + /** Edges for the RootQueryToOrderConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToOrderConnectionEdge = { + __typename?: 'RootQueryToOrderConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToOrderConnection connection */ +export type RootQueryToOrderConnectionWhereArgs = { + /** Limit result set to orders assigned a specific customer. */ + customerId?: Maybe + /** Limit result set to orders assigned a specific group of customers. */ + customersIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to orders assigned a specific product. */ + productId?: Maybe + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to orders assigned a specific status. */ + statuses?: Maybe>> +} + +/** Connection between the RootQuery type and the paColor type */ +export type RootQueryToPaColorConnection = { + __typename?: 'RootQueryToPaColorConnection' + /** Edges for the RootQueryToPaColorConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPaColorConnectionEdge = { + __typename?: 'RootQueryToPaColorConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPaColorConnection connection */ +export type RootQueryToPaColorConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the paSize type */ +export type RootQueryToPaSizeConnection = { + __typename?: 'RootQueryToPaSizeConnection' + /** Edges for the RootQueryToPaSizeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPaSizeConnectionEdge = { + __typename?: 'RootQueryToPaSizeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPaSizeConnection connection */ +export type RootQueryToPaSizeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the page type */ +export type RootQueryToPageConnection = { + __typename?: 'RootQueryToPageConnection' + /** Edges for the RootQueryToPageConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPageConnectionEdge = { + __typename?: 'RootQueryToPageConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPageConnection connection */ +export type RootQueryToPageConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the PaymentGateway type */ +export type RootQueryToPaymentGatewayConnection = { + __typename?: 'RootQueryToPaymentGatewayConnection' + /** Edges for the RootQueryToPaymentGatewayConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPaymentGatewayConnectionEdge = { + __typename?: 'RootQueryToPaymentGatewayConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPaymentGatewayConnection connection */ +export type RootQueryToPaymentGatewayConnectionWhereArgs = { + /** Include disabled payment gateways? */ + all?: Maybe +} + +/** Connection between the RootQuery type and the Plugin type */ +export type RootQueryToPluginConnection = { + __typename?: 'RootQueryToPluginConnection' + /** Edges for the RootQueryToPluginConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPluginConnectionEdge = { + __typename?: 'RootQueryToPluginConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the post type */ +export type RootQueryToPostConnection = { + __typename?: 'RootQueryToPostConnection' + /** Edges for the RootQueryToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPostConnectionEdge = { + __typename?: 'RootQueryToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPostConnection connection */ +export type RootQueryToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the RootQuery type and the postFormat type */ +export type RootQueryToPostFormatConnection = { + __typename?: 'RootQueryToPostFormatConnection' + /** Edges for the RootQueryToPostFormatConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToPostFormatConnectionEdge = { + __typename?: 'RootQueryToPostFormatConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToPostFormatConnection connection */ +export type RootQueryToPostFormatConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the productCategory type */ +export type RootQueryToProductCategoryConnection = { + __typename?: 'RootQueryToProductCategoryConnection' + /** Edges for the RootQueryToProductCategoryConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToProductCategoryConnectionEdge = { + __typename?: 'RootQueryToProductCategoryConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToProductCategoryConnection connection */ +export type RootQueryToProductCategoryConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the Product type */ +export type RootQueryToProductConnection = { + __typename?: 'RootQueryToProductConnection' + /** Edges for the RootQueryToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToProductConnectionEdge = { + __typename?: 'RootQueryToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToProductConnection connection */ +export type RootQueryToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the RootQuery type and the productTag type */ +export type RootQueryToProductTagConnection = { + __typename?: 'RootQueryToProductTagConnection' + /** Edges for the RootQueryToProductTagConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToProductTagConnectionEdge = { + __typename?: 'RootQueryToProductTagConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToProductTagConnection connection */ +export type RootQueryToProductTagConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the productType type */ +export type RootQueryToProductTypeConnection = { + __typename?: 'RootQueryToProductTypeConnection' + /** Edges for the RootQueryToProductTypeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToProductTypeConnectionEdge = { + __typename?: 'RootQueryToProductTypeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToProductTypeConnection connection */ +export type RootQueryToProductTypeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the Refund type */ +export type RootQueryToRefundConnection = { + __typename?: 'RootQueryToRefundConnection' + /** Edges for the RootQueryToRefundConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToRefundConnectionEdge = { + __typename?: 'RootQueryToRefundConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToRefundConnection connection */ +export type RootQueryToRefundConnectionWhereArgs = { + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to refunds from a specific group of order IDs. */ + orderIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit results to those matching a string. */ + search?: Maybe + /** Limit result set to refunds assigned a specific status. */ + statuses?: Maybe>> +} + +/** Connection between the RootQuery type and the shippingClass type */ +export type RootQueryToShippingClassConnection = { + __typename?: 'RootQueryToShippingClassConnection' + /** Edges for the RootQueryToShippingClassConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToShippingClassConnectionEdge = { + __typename?: 'RootQueryToShippingClassConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToShippingClassConnection connection */ +export type RootQueryToShippingClassConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the ShippingMethod type */ +export type RootQueryToShippingMethodConnection = { + __typename?: 'RootQueryToShippingMethodConnection' + /** Edges for the RootQueryToShippingMethodConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToShippingMethodConnectionEdge = { + __typename?: 'RootQueryToShippingMethodConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the tag type */ +export type RootQueryToTagConnection = { + __typename?: 'RootQueryToTagConnection' + /** Edges for the RootQueryToTagConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToTagConnectionEdge = { + __typename?: 'RootQueryToTagConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToTagConnection connection */ +export type RootQueryToTagConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the TaxRate type */ +export type RootQueryToTaxRateConnection = { + __typename?: 'RootQueryToTaxRateConnection' + /** Edges for the RootQueryToTaxRateConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToTaxRateConnectionEdge = { + __typename?: 'RootQueryToTaxRateConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToTaxRateConnection connection */ +export type RootQueryToTaxRateConnectionWhereArgs = { + /** Sort by tax class. */ + class?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Filter results by a post code. */ + postCode?: Maybe + /** Filter results by a group of post codes. */ + postCodeIn?: Maybe>> +} + +/** Connection between the RootQuery type and the Taxonomy type */ +export type RootQueryToTaxonomyConnection = { + __typename?: 'RootQueryToTaxonomyConnection' + /** Edges for the RootQueryToTaxonomyConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToTaxonomyConnectionEdge = { + __typename?: 'RootQueryToTaxonomyConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the TermNode type */ +export type RootQueryToTermNodeConnection = { + __typename?: 'RootQueryToTermNodeConnection' + /** Edges for the RootQueryToTermNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToTermNodeConnectionEdge = { + __typename?: 'RootQueryToTermNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToTermNodeConnection connection */ +export type RootQueryToTermNodeConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** The Taxonomy to filter terms by */ + taxonomies?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Connection between the RootQuery type and the Theme type */ +export type RootQueryToThemeConnection = { + __typename?: 'RootQueryToThemeConnection' + /** Edges for the RootQueryToThemeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToThemeConnectionEdge = { + __typename?: 'RootQueryToThemeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the User type */ +export type RootQueryToUserConnection = { + __typename?: 'RootQueryToUserConnection' + /** Edges for the RootQueryToUserConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToUserConnectionEdge = { + __typename?: 'RootQueryToUserConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToUserConnection connection */ +export type RootQueryToUserConnectionWhereArgs = { + /** Array of userIds to exclude. */ + exclude?: Maybe>> + /** Pass an array of post types to filter results to users who have published posts in those post types. */ + hasPublishedPosts?: Maybe>> + /** Array of userIds to include. */ + include?: Maybe>> + /** The user login. */ + login?: Maybe + /** An array of logins to include. Users matching one of these logins will be included in results. */ + loginIn?: Maybe>> + /** An array of logins to exclude. Users matching one of these logins will not be included in results. */ + loginNotIn?: Maybe>> + /** The user nicename. */ + nicename?: Maybe + /** An array of nicenames to include. Users matching one of these nicenames will be included in results. */ + nicenameIn?: Maybe>> + /** An array of nicenames to exclude. Users matching one of these nicenames will not be included in results. */ + nicenameNotIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** An array of role names that users must match to be included in results. Note that this is an inclusive list: users must match *each* role. */ + role?: Maybe + /** An array of role names. Matched users must have at least one of these roles. */ + roleIn?: Maybe>> + /** An array of role names to exclude. Users matching one or more of these roles will not be included in results. */ + roleNotIn?: Maybe>> + /** Search keyword. Searches for possible string matches on columns. When "searchColumns" is left empty, it tries to determine which column to search in based on search string. */ + search?: Maybe + /** Array of column names to be searched. Accepts 'ID', 'login', 'nicename', 'email', 'url'. */ + searchColumns?: Maybe>> +} + +/** Connection between the RootQuery type and the UserRole type */ +export type RootQueryToUserRoleConnection = { + __typename?: 'RootQueryToUserRoleConnection' + /** Edges for the RootQueryToUserRoleConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToUserRoleConnectionEdge = { + __typename?: 'RootQueryToUserRoleConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the RootQuery type and the visibleProduct type */ +export type RootQueryToVisibleProductConnection = { + __typename?: 'RootQueryToVisibleProductConnection' + /** Edges for the RootQueryToVisibleProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type RootQueryToVisibleProductConnectionEdge = { + __typename?: 'RootQueryToVisibleProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the RootQueryToVisibleProductConnection connection */ +export type RootQueryToVisibleProductConnectionWhereArgs = { + /** Unique cache key to be produced when this query is stored in an object cache. Default is 'core'. */ + cacheDomain?: Maybe + /** Term ID to retrieve child terms of. If multiple taxonomies are passed, $child_of is ignored. Default 0. */ + childOf?: Maybe + /** True to limit results to terms that have no children. This parameter has no effect on non-hierarchical taxonomies. Default false. */ + childless?: Maybe + /** Retrieve terms where the description is LIKE the input value. Default empty. */ + descriptionLike?: Maybe + /** Array of term ids to exclude. If $include is non-empty, $exclude is ignored. Default empty array. */ + exclude?: Maybe>> + /** Array of term ids to exclude along with all of their descendant terms. If $include is non-empty, $exclude_tree is ignored. Default empty array. */ + excludeTree?: Maybe>> + /** Whether to hide terms not assigned to any posts. Accepts true or false. Default false */ + hideEmpty?: Maybe + /** Whether to include terms that have non-empty descendants (even if $hide_empty is set to true). Default true. */ + hierarchical?: Maybe + /** Array of term ids to include. Default empty array. */ + include?: Maybe>> + /** Array of names to return term(s) for. Default empty. */ + name?: Maybe>> + /** Retrieve terms where the name is LIKE the input value. Default empty. */ + nameLike?: Maybe + /** Array of object IDs. Results will be limited to terms associated with these objects. */ + objectIds?: Maybe>> + /** Direction the connection should be ordered in */ + order?: Maybe + /** Field(s) to order terms by. Defaults to 'name'. */ + orderby?: Maybe + /** Whether to pad the quantity of a term's children in the quantity of each term's "count" object variable. Default false. */ + padCounts?: Maybe + /** Parent term ID to retrieve direct-child terms of. Default empty. */ + parent?: Maybe + /** Search criteria to match terms. Will be SQL-formatted with wildcards before and after. Default empty. */ + search?: Maybe + /** Array of slugs to return term(s) for. Default empty. */ + slug?: Maybe>> + /** Array of term taxonomy IDs, to match when querying terms. */ + termTaxonomId?: Maybe>> + /** Whether to prime meta caches for matched terms. Default true. */ + updateTermMetaCache?: Maybe +} + +/** Input for the sendPasswordResetEmail mutation */ +export type SendPasswordResetEmailInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string that contains the user's username or email address. */ + username: Scalars['String'] +} + +/** The payload for the sendPasswordResetEmail mutation */ +export type SendPasswordResetEmailPayload = { + __typename?: 'SendPasswordResetEmailPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The user that the password reset email was sent to */ + user?: Maybe +} + +/** All of the registered settings */ +export type Settings = { + __typename?: 'Settings' + /** Settings of the the string Settings Group */ + discussionSettingsDefaultCommentStatus?: Maybe + /** Settings of the the string Settings Group */ + discussionSettingsDefaultPingStatus?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsDateFormat?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsDescription?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsEmail?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsLanguage?: Maybe + /** Settings of the the integer Settings Group */ + generalSettingsStartOfWeek?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsTimeFormat?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsTimezone?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsTitle?: Maybe + /** Settings of the the string Settings Group */ + generalSettingsUrl?: Maybe + /** Settings of the the integer Settings Group */ + readingSettingsPostsPerPage?: Maybe + /** Settings of the the integer Settings Group */ + writingSettingsDefaultCategory?: Maybe + /** Settings of the the string Settings Group */ + writingSettingsDefaultPostFormat?: Maybe + /** Settings of the the boolean Settings Group */ + writingSettingsUseSmilies?: Maybe +} + +/** The shippingClass type */ +export type ShippingClass = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'ShippingClass' + /** Connection between the shippingClass type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + shippingClassId?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the shippingClass type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The shippingClass type */ +export type ShippingClassContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The shippingClass type */ +export type ShippingClassEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The shippingClass type */ +export type ShippingClassEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum ShippingClassIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the shippingClass type and the ContentNode type */ +export type ShippingClassToContentNodeConnection = { + __typename?: 'ShippingClassToContentNodeConnection' + /** Edges for the ShippingClassToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type ShippingClassToContentNodeConnectionEdge = { + __typename?: 'ShippingClassToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the ShippingClassToContentNodeConnection connection */ +export type ShippingClassToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the shippingClass type and the Taxonomy type */ +export type ShippingClassToTaxonomyConnectionEdge = { + __typename?: 'ShippingClassToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** a shipping line object */ +export type ShippingLine = { + __typename?: 'ShippingLine' + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Shipping Line's shipping method name */ + methodTitle?: Maybe + /** The Id of the order the order item belongs to. */ + orderId?: Maybe + /** Shipping Line's shipping method */ + shippingMethod?: Maybe + /** Line tax class */ + taxClass?: Maybe + /** Line taxes */ + taxes?: Maybe>> + /** Line total (after discounts) */ + total?: Maybe + /** Line total tax (after discounts) */ + totalTax?: Maybe +} + +/** a shipping line object */ +export type ShippingLineMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** Shipping lines data. */ +export type ShippingLineInput = { + /** Shipping Line ID */ + id?: Maybe + /** Shipping instance ID. */ + instanceId?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** Shipping method ID. */ + methodId: Scalars['String'] + /** Shipping method name. */ + methodTitle: Scalars['String'] + /** Line total (after discounts). */ + total: Scalars['String'] +} + +/** A shipping method object */ +export type ShippingMethod = Node & { + __typename?: 'ShippingMethod' + /** The ID of the shipping method in the database */ + databaseId: Scalars['ID'] + /** Shipping method description. */ + description?: Maybe + /** The globally unique identifier for the tax rate. */ + id: Scalars['ID'] + /** Shipping method title. */ + title?: Maybe +} + +/** The Type of Identifier used to fetch a single Shipping Method. Default is ID. */ +export enum ShippingMethodIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Shipping package object */ +export type ShippingPackage = { + __typename?: 'ShippingPackage' + /** Shipping package details */ + packageDetails?: Maybe + /** Shipping package rates */ + rates?: Maybe>> + /** This shipping package supports the shipping calculator. */ + supportsShippingCalculator?: Maybe +} + +/** Shipping rate object */ +export type ShippingRate = { + __typename?: 'ShippingRate' + /** Shipping rate cost */ + cost?: Maybe + /** Shipping rate ID */ + id: Scalars['ID'] + /** Shipping instance ID */ + instanceId?: Maybe + /** Shipping rate label */ + label?: Maybe + /** Shipping method ID */ + methodId: Scalars['ID'] +} + +/** A simple attribute object */ +export type SimpleAttribute = Attribute & { + __typename?: 'SimpleAttribute' + /** Name of attribute */ + name?: Maybe + /** Selected value of attribute */ + value?: Maybe +} + +/** A product object */ +export type SimpleProduct = Node & + Product & + NodeWithComments & + NodeWithContentEditor & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'SimpleProduct' + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** Product backorders status */ + backorders?: Maybe + /** Can product be backordered? */ + backordersAllowed?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** Connection between the SimpleProduct type and the Product type */ + crossSell?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Connection between the SimpleProduct type and the VariationAttribute type */ + defaultAttributes?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** Download expiry */ + downloadExpiry?: Maybe + /** Download limit */ + downloadLimit?: Maybe + /** Is downloadable? */ + downloadable?: Maybe + /** Product downloads */ + downloads?: Maybe>> + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** Product's height */ + height?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** Product's length */ + length?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** If product manage stock */ + manageStock?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date product last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Product's active price */ + price?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Product's regular price */ + regularPrice?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Product's sale price */ + salePrice?: Maybe + /** shipping class ID */ + shippingClassId?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Does product need to be shipped? */ + shippingRequired?: Maybe + /** Is product shipping taxable? */ + shippingTaxable?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** If should be sold individually */ + soldIndividually?: Maybe + /** Product status */ + status?: Maybe + /** Number of items available for sale */ + stockQuantity?: Maybe + /** Product stock status */ + stockStatus?: Maybe + /** Tax class */ + taxClass?: Maybe + /** Tax status */ + taxStatus?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Is product virtual? */ + virtual?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe + /** Product's weight */ + weight?: Maybe + /** Product's width */ + width?: Maybe + } + +/** A product object */ +export type SimpleProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductContentArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductCrossSellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductDefaultAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product object */ +export type SimpleProductDescriptionArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product object */ +export type SimpleProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A product object */ +export type SimpleProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A product object */ +export type SimpleProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductPriceArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductRegularPriceArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductSalePriceArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductShortDescriptionArgs = { + format?: Maybe +} + +/** A product object */ +export type SimpleProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A product object */ +export type SimpleProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the SimpleProduct type and the Product type */ +export type SimpleProductToProductConnection = { + __typename?: 'SimpleProductToProductConnection' + /** Edges for the SimpleProductToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type SimpleProductToProductConnectionEdge = { + __typename?: 'SimpleProductToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the SimpleProductToProductConnection connection */ +export type SimpleProductToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the SimpleProduct type and the VariationAttribute type */ +export type SimpleProductToVariationAttributeConnection = { + __typename?: 'SimpleProductToVariationAttributeConnection' + /** Edges for the SimpleProductToVariationAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type SimpleProductToVariationAttributeConnectionEdge = { + __typename?: 'SimpleProductToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Product stock status enumeration */ +export enum StockStatusEnum { + InStock = 'IN_STOCK', + OnBackorder = 'ON_BACKORDER', + OutOfStock = 'OUT_OF_STOCK', +} + +/** The tag type */ +export type Tag = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & + MenuItemLinkable & { + __typename?: 'Tag' + /** Connection between the tag type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique resource identifier path */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** Connection between the tag type and the post type */ + posts?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + tagId?: Maybe + /** Connection between the tag type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + } + +/** The tag type */ +export type TagContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The tag type */ +export type TagEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The tag type */ +export type TagEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The tag type */ +export type TagPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum TagIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the tag type and the ContentNode type */ +export type TagToContentNodeConnection = { + __typename?: 'TagToContentNodeConnection' + /** Edges for the TagToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TagToContentNodeConnectionEdge = { + __typename?: 'TagToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the TagToContentNodeConnection connection */ +export type TagToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the tag type and the post type */ +export type TagToPostConnection = { + __typename?: 'TagToPostConnection' + /** Edges for the TagToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TagToPostConnectionEdge = { + __typename?: 'TagToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the TagToPostConnection connection */ +export type TagToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the tag type and the Taxonomy type */ +export type TagToTaxonomyConnectionEdge = { + __typename?: 'TagToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Tax class enumeration */ +export enum TaxClassEnum { + /** Inherits Tax class from cart */ + InheritCart = 'INHERIT_CART', + ReducedRate = 'REDUCED_RATE', + /** Standard Tax rate */ + Standard = 'STANDARD', + ZeroRate = 'ZERO_RATE', +} + +/** a tax line object */ +export type TaxLine = { + __typename?: 'TaxLine' + /** The ID of the order item in the database */ + databaseId?: Maybe + /** Is this a compound tax rate? */ + isCompound?: Maybe + /** Tax rate label */ + label?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** The Id of the order the order item belongs to. */ + orderId?: Maybe + /** Tax rate code/name */ + rateCode?: Maybe + /** Tax line's shipping tax total */ + shippingTaxTotal?: Maybe + /** Tax line's tax rate */ + taxRate?: Maybe + /** Tax total (not including shipping taxes) */ + taxTotal?: Maybe +} + +/** a tax line object */ +export type TaxLineMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A Tax rate object */ +export type TaxRate = Node & { + __typename?: 'TaxRate' + /** City name. */ + city?: Maybe>> + /** Tax class. Default is standard. */ + class?: Maybe + /** Whether or not this is a compound rate. */ + compound?: Maybe + /** Country ISO 3166 code. */ + country?: Maybe + /** The ID of the customer in the database */ + databaseId?: Maybe + /** The globally unique identifier for the tax rate. */ + id: Scalars['ID'] + /** Tax rate name. */ + name?: Maybe + /** Indicates the order that will appear in queries. */ + order?: Maybe + /** Postcode/ZIP. */ + postcode?: Maybe>> + /** Tax priority. */ + priority?: Maybe + /** Tax rate. */ + rate?: Maybe + /** Whether or not this tax rate also gets applied to shipping. */ + shipping?: Maybe + /** State code. */ + state?: Maybe +} + +/** Field to order the connection by */ +export enum TaxRateConnectionOrderbyEnum { + Id = 'ID', + Order = 'ORDER', +} + +/** Options for ordering the connection */ +export type TaxRateConnectionOrderbyInput = { + field: TaxRateConnectionOrderbyEnum + order?: Maybe +} + +/** The Type of Identifier used to fetch a single Tax rate. Default is ID. */ +export enum TaxRateIdTypeEnum { + /** Identify a resource by the Database ID. */ + DatabaseId = 'DATABASE_ID', + /** Identify a resource by the (hashed) Global ID. */ + Id = 'ID', +} + +/** Product tax status enumeration */ +export enum TaxStatusEnum { + None = 'NONE', + Shipping = 'SHIPPING', + Taxable = 'TAXABLE', +} + +/** A taxonomy object */ +export type Taxonomy = Node & { + __typename?: 'Taxonomy' + /** List of Content Types associated with the Taxonomy */ + connectedContentTypes?: Maybe + /** Description of the taxonomy. This field is equivalent to WP_Taxonomy->description */ + description?: Maybe + /** The plural name of the post type within the GraphQL Schema. */ + graphqlPluralName?: Maybe + /** The singular name of the post type within the GraphQL Schema. */ + graphqlSingleName?: Maybe + /** Whether the taxonomy is hierarchical */ + hierarchical?: Maybe + /** The globally unique identifier of the taxonomy object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Name of the taxonomy shown in the menu. Usually plural. */ + label?: Maybe + /** The display name of the taxonomy. This field is equivalent to WP_Taxonomy->label */ + name?: Maybe + /** Whether the taxonomy is publicly queryable */ + public?: Maybe + /** Name of content type to diplay in REST API "wp/v2" namespace. */ + restBase?: Maybe + /** The REST Controller class assigned to handling this content type. */ + restControllerClass?: Maybe + /** Whether to show the taxonomy as part of a tag cloud widget. This field is equivalent to WP_Taxonomy->show_tagcloud */ + showCloud?: Maybe + /** Whether to display a column for the taxonomy on its post type listing screens. */ + showInAdminColumn?: Maybe + /** Whether to add the post type to the GraphQL Schema. */ + showInGraphql?: Maybe + /** Whether to show the taxonomy in the admin menu */ + showInMenu?: Maybe + /** Whether the taxonomy is available for selection in navigation menus. */ + showInNavMenus?: Maybe + /** Whether to show the taxonomy in the quick/bulk edit panel. */ + showInQuickEdit?: Maybe + /** Whether to add the post type route in the REST API "wp/v2" namespace. */ + showInRest?: Maybe + /** Whether to generate and allow a UI for managing terms in this taxonomy in the admin */ + showUi?: Maybe +} + +/** A taxonomy object */ +export type TaxonomyConnectedContentTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** Allowed taxonomies */ +export enum TaxonomyEnum { + /** Taxonomy enum category */ + Category = 'CATEGORY', + /** Taxonomy enum pa_color */ + Pacolor = 'PACOLOR', + /** Taxonomy enum pa_size */ + Pasize = 'PASIZE', + /** Taxonomy enum post_format */ + Postformat = 'POSTFORMAT', + /** Taxonomy enum product_cat */ + Productcategory = 'PRODUCTCATEGORY', + /** Taxonomy enum product_tag */ + Producttag = 'PRODUCTTAG', + /** Taxonomy enum product_type */ + Producttype = 'PRODUCTTYPE', + /** Taxonomy enum product_shipping_class */ + Shippingclass = 'SHIPPINGCLASS', + /** Taxonomy enum post_tag */ + Tag = 'TAG', + /** Taxonomy enum product_visibility */ + Visibleproduct = 'VISIBLEPRODUCT', +} + +/** The Type of Identifier used to fetch a single Taxonomy node. To be used along with the "id" field. Default is "ID". */ +export enum TaxonomyIdTypeEnum { + /** The globally unique ID */ + Id = 'ID', + /** The name of the taxonomy */ + Name = 'NAME', +} + +/** Taxonomy query operators */ +export enum TaxonomyOperatorEnum { + And = 'AND', + Exists = 'EXISTS', + In = 'IN', + NotExists = 'NOT_EXISTS', + NotIn = 'NOT_IN', +} + +/** Connection between the Taxonomy type and the ContentType type */ +export type TaxonomyToContentTypeConnection = { + __typename?: 'TaxonomyToContentTypeConnection' + /** Edges for the TaxonomyToContentTypeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TaxonomyToContentTypeConnectionEdge = { + __typename?: 'TaxonomyToContentTypeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ +export type TermNode = { + /** The number of objects connected to the object */ + count?: Maybe + /** Identifies the primary key from the database. */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe +} + +/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ +export type TermNodeEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** Terms are nodes within a Taxonomy, used to group and relate other nodes. */ +export type TermNodeEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is "ID". To be used along with the "id" field. */ +export enum TermNodeIdTypeEnum { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the TermNode type and the EnqueuedScript type */ +export type TermNodeToEnqueuedScriptConnection = { + __typename?: 'TermNodeToEnqueuedScriptConnection' + /** Edges for the TermNodeToEnqueuedScriptConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TermNodeToEnqueuedScriptConnectionEdge = { + __typename?: 'TermNodeToEnqueuedScriptConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the TermNode type and the EnqueuedStylesheet type */ +export type TermNodeToEnqueuedStylesheetConnection = { + __typename?: 'TermNodeToEnqueuedStylesheetConnection' + /** Edges for the TermNodeToEnqueuedStylesheetConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type TermNodeToEnqueuedStylesheetConnectionEdge = { + __typename?: 'TermNodeToEnqueuedStylesheetConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Options for ordering the connection by */ +export enum TermObjectsConnectionOrderbyEnum { + /** Order the connection by item count. */ + Count = 'COUNT', + /** Order the connection by description. */ + Description = 'DESCRIPTION', + /** Order the connection by name. */ + Name = 'NAME', + /** Order the connection by slug. */ + Slug = 'SLUG', + /** Order the connection by term group. */ + TermGroup = 'TERM_GROUP', + /** Order the connection by term id. */ + TermId = 'TERM_ID', + /** Order the connection by term order. */ + TermOrder = 'TERM_ORDER', +} + +/** A theme object */ +export type Theme = Node & { + __typename?: 'Theme' + /** Name of the theme author(s), could also be a company name. This field is equivalent to WP_Theme->get( "Author" ). */ + author?: Maybe + /** URI for the author/company website. This field is equivalent to WP_Theme->get( "AuthorURI" ). */ + authorUri?: Maybe + /** The description of the theme. This field is equivalent to WP_Theme->get( "Description" ). */ + description?: Maybe + /** The globally unique identifier of the theme object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Display name of the theme. This field is equivalent to WP_Theme->get( "Name" ). */ + name?: Maybe + /** The URL of the screenshot for the theme. The screenshot is intended to give an overview of what the theme looks like. This field is equivalent to WP_Theme->get_screenshot(). */ + screenshot?: Maybe + /** The theme slug is used to internally match themes. Theme slugs can have subdirectories like: my-theme/sub-theme. This field is equivalent to WP_Theme->get_stylesheet(). */ + slug?: Maybe + /** URI for the author/company website. This field is equivalent to WP_Theme->get( "Tags" ). */ + tags?: Maybe>> + /** A URI if the theme has a website associated with it. The Theme URI is handy for directing users to a theme site for support etc. This field is equivalent to WP_Theme->get( "ThemeURI" ). */ + themeUri?: Maybe + /** The current version of the theme. This field is equivalent to WP_Theme->get( "Version" ). */ + version?: Maybe +} + +/** Any node that has a URI */ +export type UniformResourceIdentifiable = { + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The unique resource identifier path */ + uri?: Maybe +} + +/** Input for the UpdateCategory mutation */ +export type UpdateCategoryInput = { + /** The slug that the category will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the category object */ + description?: Maybe + /** The ID of the category object to update */ + id: Scalars['ID'] + /** The name of the category object to mutate */ + name?: Maybe + /** The ID of the category that should be set as the parent */ + parentId?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateCategory mutation */ +export type UpdateCategoryPayload = { + __typename?: 'UpdateCategoryPayload' + /** The created category */ + category?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the updateComment mutation */ +export type UpdateCommentInput = { + /** The approval status of the comment. */ + approved?: Maybe + /** The name of the comment's author. */ + author?: Maybe + /** The email of the comment's author. */ + authorEmail?: Maybe + /** The url of the comment's author. */ + authorUrl?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the post object the comment belongs to. */ + commentOn?: Maybe + /** Content of the comment. */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The ID of the comment being updated. */ + id: Scalars['ID'] + /** Parent comment of current comment. */ + parent?: Maybe + /** Type of comment. */ + type?: Maybe +} + +/** The payload for the updateComment mutation */ +export type UpdateCommentPayload = { + __typename?: 'UpdateCommentPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment that was created */ + comment?: Maybe + /** Whether the mutation succeeded. If the comment is not approved, the server will not return the comment to a non authenticated user, but a success message can be returned if the create succeeded, and the client can optimistically add the comment to the client cache */ + success?: Maybe +} + +/** Input for the updateCoupon mutation */ +export type UpdateCouponInput = { + /** The amount of discount. Should always be numeric, even if setting a percentage. */ + amount?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupon code. */ + code?: Maybe + /** The date the coupon expires, in the site's timezone. */ + dateExpires?: Maybe + /** The date the coupon expires, as GMT. */ + dateExpiresGmt?: Maybe + /** Coupon description. */ + description?: Maybe + /** Determines the type of discount that will be applied. */ + discountType?: Maybe + /** List of email addresses that can use this coupon. */ + emailRestrictions?: Maybe>> + /** If true, this coupon will not be applied to items that have sale prices. */ + excludeSaleItems?: Maybe + /** List of category IDs the coupon does not apply to. */ + excludedProductCategories?: Maybe>> + /** List of product IDs the coupon cannot be used on. */ + excludedProductIds?: Maybe>> + /** If true and if the free shipping method requires a coupon, this coupon will enable free shipping. */ + freeShipping?: Maybe + /** Unique identifier for the object. */ + id: Scalars['ID'] + /** If true, the coupon can only be used individually. Other applied coupons will be removed from the cart. */ + individualUse?: Maybe + /** Max number of items in the cart the coupon can be applied to. */ + limitUsageToXItems?: Maybe + /** Maximum order amount allowed when using the coupon. */ + maximumAmount?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** Minimum order amount that needs to be in the cart before coupon applies. */ + minimumAmount?: Maybe + /** List of category IDs the coupon applies to. */ + productCategories?: Maybe>> + /** List of product IDs the coupon can be used on. */ + productIds?: Maybe>> + /** How many times the coupon can be used in total. */ + usageLimit?: Maybe + /** How many times the coupon can be used per customer. */ + usageLimitPerUser?: Maybe +} + +/** The payload for the updateCoupon mutation */ +export type UpdateCouponPayload = { + __typename?: 'UpdateCouponPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + code?: Maybe + coupon?: Maybe +} + +/** Input for the updateCustomer mutation */ +export type UpdateCustomerInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** Customer billing information */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** The ID of the user */ + id?: Maybe + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** Meta data. */ + metaData?: Maybe>> + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** An array of roles to be assigned to the user. */ + roles?: Maybe>> + /** Customer shipping address */ + shipping?: Maybe + /** Customer shipping is identical to billing address */ + shippingSameAsBilling?: Maybe + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the updateCustomer mutation */ +export type UpdateCustomerPayload = { + __typename?: 'UpdateCustomerPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + customer?: Maybe +} + +/** Input for the updateItemQuantities mutation */ +export type UpdateItemQuantitiesInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Cart item being updated */ + items?: Maybe>> +} + +/** The payload for the updateItemQuantities mutation */ +export type UpdateItemQuantitiesPayload = { + __typename?: 'UpdateItemQuantitiesPayload' + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + items?: Maybe>> + removed?: Maybe>> + updated?: Maybe>> +} + +/** Input for the updateMediaItem mutation */ +export type UpdateMediaItemInput = { + /** Alternative text to display when mediaItem is not displayed */ + altText?: Maybe + /** The userId to assign as the author of the mediaItem */ + authorId?: Maybe + /** The caption for the mediaItem */ + caption?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the mediaItem */ + commentStatus?: Maybe + /** The date of the mediaItem */ + date?: Maybe + /** The date (in GMT zone) of the mediaItem */ + dateGmt?: Maybe + /** Description of the mediaItem */ + description?: Maybe + /** The file name of the mediaItem */ + filePath?: Maybe + /** The file type of the mediaItem */ + fileType?: Maybe + /** The ID of the mediaItem object */ + id: Scalars['ID'] + /** The WordPress post ID or the graphQL postId of the parent object */ + parentId?: Maybe + /** The ping status for the mediaItem */ + pingStatus?: Maybe + /** The slug of the mediaItem */ + slug?: Maybe + /** The status of the mediaItem */ + status?: Maybe + /** The title of the mediaItem */ + title?: Maybe +} + +/** The payload for the updateMediaItem mutation */ +export type UpdateMediaItemPayload = { + __typename?: 'UpdateMediaItemPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The MediaItem object mutation type. */ + mediaItem?: Maybe +} + +/** Input for the updateOrder mutation */ +export type UpdateOrderInput = { + /** Order billing address */ + billing?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Coupons codes to be applied to order */ + coupons?: Maybe>> + /** Currency the order was created with, in ISO format. */ + currency?: Maybe + /** Order customer ID */ + customerId?: Maybe + /** Note left by customer during checkout. */ + customerNote?: Maybe + /** Order shipping lines */ + feeLines?: Maybe>> + /** Order global ID */ + id?: Maybe + /** Define if the order is paid. It will set the status to processing and reduce stock items. */ + isPaid?: Maybe + /** Order line items */ + lineItems?: Maybe>> + /** Order meta data */ + metaData?: Maybe>> + /** Order WP ID */ + orderId?: Maybe + /** Parent order ID. */ + parentId?: Maybe + /** Payment method ID. */ + paymentMethod?: Maybe + /** Payment method title. */ + paymentMethodTitle?: Maybe + /** Order shipping address */ + shipping?: Maybe + /** Order shipping lines */ + shippingLines?: Maybe>> + /** Order status */ + status?: Maybe + /** Order transaction ID */ + transactionId?: Maybe +} + +/** The payload for the updateOrder mutation */ +export type UpdateOrderPayload = { + __typename?: 'UpdateOrderPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + order?: Maybe +} + +/** Input for the UpdatePaColor mutation */ +export type UpdatePaColorInput = { + /** The slug that the pa_color will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the pa_color object */ + description?: Maybe + /** The ID of the paColor object to update */ + id: Scalars['ID'] + /** The name of the pa_color object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdatePaColor mutation */ +export type UpdatePaColorPayload = { + __typename?: 'UpdatePaColorPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created pa_color */ + paColor?: Maybe +} + +/** Input for the UpdatePaSize mutation */ +export type UpdatePaSizeInput = { + /** The slug that the pa_size will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the pa_size object */ + description?: Maybe + /** The ID of the paSize object to update */ + id: Scalars['ID'] + /** The name of the pa_size object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdatePaSize mutation */ +export type UpdatePaSizePayload = { + __typename?: 'UpdatePaSizePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created pa_size */ + paSize?: Maybe +} + +/** Input for the updatePage mutation */ +export type UpdatePageInput = { + /** The userId to assign as the author of the object */ + authorId?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the object */ + commentStatus?: Maybe + /** The content of the object */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The ID of the page object */ + id: Scalars['ID'] + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The ID of the parent object */ + parentId?: Maybe + /** The password used to protect the content of the object */ + password?: Maybe + /** The slug of the object */ + slug?: Maybe + /** The status of the object */ + status?: Maybe + /** The title of the object */ + title?: Maybe +} + +/** The payload for the updatePage mutation */ +export type UpdatePagePayload = { + __typename?: 'UpdatePagePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The Post object mutation type. */ + page?: Maybe +} + +/** Input for the UpdatePostFormat mutation */ +export type UpdatePostFormatInput = { + /** The slug that the post_format will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the post_format object */ + description?: Maybe + /** The ID of the postFormat object to update */ + id: Scalars['ID'] + /** The name of the post_format object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdatePostFormat mutation */ +export type UpdatePostFormatPayload = { + __typename?: 'UpdatePostFormatPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created post_format */ + postFormat?: Maybe +} + +/** Input for the updatePost mutation */ +export type UpdatePostInput = { + /** The userId to assign as the author of the object */ + authorId?: Maybe + /** Set connections between the post and categories */ + categories?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The comment status for the object */ + commentStatus?: Maybe + /** The content of the object */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day (e.g. 01/31/2017) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The excerpt of the object */ + excerpt?: Maybe + /** The ID of the post object */ + id: Scalars['ID'] + /** A field used for ordering posts. This is typically used with nav menu items or for special ordering of hierarchical content types. */ + menuOrder?: Maybe + /** The password used to protect the content of the object */ + password?: Maybe + /** The ping status for the object */ + pingStatus?: Maybe + /** URLs that have been pinged. */ + pinged?: Maybe>> + /** Set connections between the post and postFormats */ + postFormats?: Maybe + /** The slug of the object */ + slug?: Maybe + /** The status of the object */ + status?: Maybe + /** Set connections between the post and tags */ + tags?: Maybe + /** The title of the object */ + title?: Maybe + /** URLs queued to be pinged. */ + toPing?: Maybe>> +} + +/** The payload for the updatePost mutation */ +export type UpdatePostPayload = { + __typename?: 'UpdatePostPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The Post object mutation type. */ + post?: Maybe +} + +/** Input for the UpdateProductCategory mutation */ +export type UpdateProductCategoryInput = { + /** The slug that the product_cat will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_cat object */ + description?: Maybe + /** The ID of the productCategory object to update */ + id: Scalars['ID'] + /** The name of the product_cat object to mutate */ + name?: Maybe + /** The ID of the product_cat that should be set as the parent */ + parentId?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateProductCategory mutation */ +export type UpdateProductCategoryPayload = { + __typename?: 'UpdateProductCategoryPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_cat */ + productCategory?: Maybe +} + +/** Input for the UpdateProductTag mutation */ +export type UpdateProductTagInput = { + /** The slug that the product_tag will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_tag object */ + description?: Maybe + /** The ID of the productTag object to update */ + id: Scalars['ID'] + /** The name of the product_tag object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateProductTag mutation */ +export type UpdateProductTagPayload = { + __typename?: 'UpdateProductTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_tag */ + productTag?: Maybe +} + +/** Input for the UpdateProductType mutation */ +export type UpdateProductTypeInput = { + /** The slug that the product_type will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_type object */ + description?: Maybe + /** The ID of the productType object to update */ + id: Scalars['ID'] + /** The name of the product_type object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateProductType mutation */ +export type UpdateProductTypePayload = { + __typename?: 'UpdateProductTypePayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_type */ + productType?: Maybe +} + +/** Input for the updateReview mutation */ +export type UpdateReviewInput = { + /** The approval status of the comment. */ + approved?: Maybe + /** The name of the comment's author. */ + author?: Maybe + /** The email of the comment's author. */ + authorEmail?: Maybe + /** The url of the comment's author. */ + authorUrl?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the post object the comment belongs to. */ + commentOn?: Maybe + /** Content of the comment. */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** The ID of the review being updated. */ + id: Scalars['ID'] + /** Parent comment of current comment. */ + parent?: Maybe + /** Product rating */ + rating: Scalars['Int'] +} + +/** The payload for the updateReview mutation */ +export type UpdateReviewPayload = { + __typename?: 'UpdateReviewPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The product rating of the review that was created */ + rating?: Maybe + /** The product review that was created */ + review?: Maybe +} + +/** Input for the updateSettings mutation */ +export type UpdateSettingsInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Allow people to submit comments on new posts. */ + discussionSettingsDefaultCommentStatus?: Maybe + /** Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. */ + discussionSettingsDefaultPingStatus?: Maybe + /** A date format for all date strings. */ + generalSettingsDateFormat?: Maybe + /** Site tagline. */ + generalSettingsDescription?: Maybe + /** This address is used for admin purposes, like new user notification. */ + generalSettingsEmail?: Maybe + /** WordPress locale code. */ + generalSettingsLanguage?: Maybe + /** A day number of the week that the week should start on. */ + generalSettingsStartOfWeek?: Maybe + /** A time format for all time strings. */ + generalSettingsTimeFormat?: Maybe + /** A city in the same timezone as you. */ + generalSettingsTimezone?: Maybe + /** Site title. */ + generalSettingsTitle?: Maybe + /** Site URL. */ + generalSettingsUrl?: Maybe + /** Blog pages show at most. */ + readingSettingsPostsPerPage?: Maybe + /** Default post category. */ + writingSettingsDefaultCategory?: Maybe + /** Default post format. */ + writingSettingsDefaultPostFormat?: Maybe + /** Convert emoticons like :-) and :-P to graphics on display. */ + writingSettingsUseSmilies?: Maybe +} + +/** The payload for the updateSettings mutation */ +export type UpdateSettingsPayload = { + __typename?: 'UpdateSettingsPayload' + /** Update all settings. */ + allSettings?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** Update the discussion setting. */ + discussionSettings?: Maybe + /** Update the general setting. */ + generalSettings?: Maybe + /** Update the reading setting. */ + readingSettings?: Maybe + /** Update the writing setting. */ + writingSettings?: Maybe +} + +/** Input for the UpdateShippingClass mutation */ +export type UpdateShippingClassInput = { + /** The slug that the product_shipping_class will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_shipping_class object */ + description?: Maybe + /** The ID of the shippingClass object to update */ + id: Scalars['ID'] + /** The name of the product_shipping_class object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateShippingClass mutation */ +export type UpdateShippingClassPayload = { + __typename?: 'UpdateShippingClassPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_shipping_class */ + shippingClass?: Maybe +} + +/** Input for the updateShippingMethod mutation */ +export type UpdateShippingMethodInput = { + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + shippingMethods?: Maybe>> +} + +/** The payload for the updateShippingMethod mutation */ +export type UpdateShippingMethodPayload = { + __typename?: 'UpdateShippingMethodPayload' + cart?: Maybe + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe +} + +/** Input for the UpdateTag mutation */ +export type UpdateTagInput = { + /** The slug that the post_tag will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the post_tag object */ + description?: Maybe + /** The ID of the tag object to update */ + id: Scalars['ID'] + /** The name of the post_tag object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateTag mutation */ +export type UpdateTagPayload = { + __typename?: 'UpdateTagPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created post_tag */ + tag?: Maybe +} + +/** Input for the updateUser mutation */ +export type UpdateUserInput = { + /** User's AOL IM account. */ + aim?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** A string containing content about the user. */ + description?: Maybe + /** A string that will be shown on the site. Defaults to user's username. It is likely that you will want to change this, for both appearance and security through obscurity (that is if you dont use and delete the default admin user). */ + displayName?: Maybe + /** A string containing the user's email address. */ + email?: Maybe + /** The user's first name. */ + firstName?: Maybe + /** The ID of the user */ + id: Scalars['ID'] + /** User's Jabber account. */ + jabber?: Maybe + /** The user's last name. */ + lastName?: Maybe + /** User's locale. */ + locale?: Maybe + /** A string that contains a URL-friendly name for the user. The default is the user's username. */ + nicename?: Maybe + /** The user's nickname, defaults to the user's username. */ + nickname?: Maybe + /** A string that contains the plain text password for the user. */ + password?: Maybe + /** The date the user registered. Format is Y-m-d H:i:s. */ + registered?: Maybe + /** A string for whether to enable the rich editor or not. False if not empty. */ + richEditing?: Maybe + /** An array of roles to be assigned to the user. */ + roles?: Maybe>> + /** A string containing the user's URL for the user's web site. */ + websiteUrl?: Maybe + /** User's Yahoo IM account. */ + yim?: Maybe +} + +/** The payload for the updateUser mutation */ +export type UpdateUserPayload = { + __typename?: 'UpdateUserPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The User object mutation type. */ + user?: Maybe +} + +/** Input for the UpdateVisibleProduct mutation */ +export type UpdateVisibleProductInput = { + /** The slug that the product_visibility will be an alias of */ + aliasOf?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The description of the product_visibility object */ + description?: Maybe + /** The ID of the visibleProduct object to update */ + id: Scalars['ID'] + /** The name of the product_visibility object to mutate */ + name?: Maybe + /** If this argument exists then the slug will be checked to see if it is not an existing valid term. If that check succeeds (it is not a valid term), then it is added and the term id is given. If it fails, then a check is made to whether the taxonomy is hierarchical and the parent argument is not empty. If the second check succeeds, the term will be inserted and the term id will be given. If the slug argument is empty, then it will be calculated from the term name. */ + slug?: Maybe +} + +/** The payload for the UpdateVisibleProduct mutation */ +export type UpdateVisibleProductPayload = { + __typename?: 'UpdateVisibleProductPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The created product_visibility */ + visibleProduct?: Maybe +} + +/** A User object */ +export type User = Node & + UniformResourceIdentifiable & + Commenter & + DatabaseIdentifier & { + __typename?: 'User' + /** Avatar object for user. The avatar object can be retrieved in different sizes by specifying the size argument. */ + avatar?: Maybe + /** User metadata option name. Usually it will be "wp_capabilities". */ + capKey?: Maybe + /** A list of capabilities (permissions) granted to the user */ + capabilities?: Maybe>> + /** Connection between the User type and the Comment type */ + comments?: Maybe + /** Identifies the primary key from the database. */ + databaseId: Scalars['Int'] + /** Description of the user. */ + description?: Maybe + /** Email address of the user. This is equivalent to the WP_User->user_email property. */ + email?: Maybe + /** Connection between the User type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the User type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** A complete list of capabilities including capabilities inherited from a role. This is equivalent to the array keys of WP_User->allcaps. */ + extraCapabilities?: Maybe>> + /** First name of the user. This is equivalent to the WP_User->user_first_name property. */ + firstName?: Maybe + /** The globally unique identifier for the user object. */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** Last name of the user. This is equivalent to the WP_User->user_last_name property. */ + lastName?: Maybe + /** The preferred language locale set for the user. Value derived from get_user_locale(). */ + locale?: Maybe + /** Connection between the User type and the mediaItem type */ + mediaItems?: Maybe + /** Display name of the user. This is equivalent to the WP_User->dispaly_name property. */ + name?: Maybe + /** The nicename for the user. This field is equivalent to WP_User->user_nicename */ + nicename?: Maybe + /** Nickname of the user. */ + nickname?: Maybe + /** Connection between the User type and the page type */ + pages?: Maybe + /** Connection between the User type and the post type */ + posts?: Maybe + /** The date the user registered or was created. The field follows a full ISO8601 date string format. */ + registeredDate?: Maybe + /** Connection between the User and Revisions authored by the user */ + revisions?: Maybe + /** Connection between the User type and the UserRole type */ + roles?: Maybe + /** The slug for the user. This field is equivalent to WP_User->user_nicename */ + slug?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** A website url that is associated with the user. */ + url?: Maybe + /** + * The Id of the user. Equivalent to WP_User->ID + * @deprecated Deprecated in favor of the databaseId field + */ + userId?: Maybe + /** Username for the user. This field is equivalent to WP_User->user_login. */ + username?: Maybe + /** A JWT token that can be used in future requests to for WooCommerce session identification */ + wooSessionToken?: Maybe + } + +/** A User object */ +export type UserAvatarArgs = { + size?: Maybe + forceDefault?: Maybe + rating?: Maybe +} + +/** A User object */ +export type UserCommentsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A User object */ +export type UserEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A User object */ +export type UserMediaItemsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserPagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserPostsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserRevisionsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A User object */ +export type UserRolesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single User node. To be used along with the "id" field. Default is "ID". */ +export enum UserNodeIdTypeEnum { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The Email of the User */ + Email = 'EMAIL', + /** The hashed Global ID */ + Id = 'ID', + /** The slug of the User */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', + /** The username the User uses to login with */ + Username = 'USERNAME', +} + +/** A user role object */ +export type UserRole = Node & { + __typename?: 'UserRole' + /** The capabilities that belong to this role */ + capabilities?: Maybe>> + /** The display name of the role */ + displayName?: Maybe + /** The globally unique identifier for the user role object. */ + id: Scalars['ID'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** The registered name of the role */ + name?: Maybe +} + +/** Names of available user roles */ +export enum UserRoleEnum { + /** User role with specific capabilities */ + Author = 'AUTHOR', + /** User role with specific capabilities */ + Contributor = 'CONTRIBUTOR', + /** User role with specific capabilities */ + Customer = 'CUSTOMER', + /** User role with specific capabilities */ + Editor = 'EDITOR', + /** User role with specific capabilities */ + ShopManager = 'SHOP_MANAGER', + /** User role with specific capabilities */ + Subscriber = 'SUBSCRIBER', +} + +/** Connection between the User type and the Comment type */ +export type UserToCommentConnection = { + __typename?: 'UserToCommentConnection' + /** Edges for the UserToCommentConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToCommentConnectionEdge = { + __typename?: 'UserToCommentConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToCommentConnection connection */ +export type UserToCommentConnectionWhereArgs = { + /** Comment author email address. */ + authorEmail?: Maybe + /** Array of author IDs to include comments for. */ + authorIn?: Maybe>> + /** Array of author IDs to exclude comments for. */ + authorNotIn?: Maybe>> + /** Comment author URL. */ + authorUrl?: Maybe + /** Array of comment IDs to include. */ + commentIn?: Maybe>> + /** Array of IDs of users whose unapproved comments will be returned by the query regardless of status. */ + commentNotIn?: Maybe>> + /** Include comments of a given type. */ + commentType?: Maybe + /** Include comments from a given array of comment types. */ + commentTypeIn?: Maybe>> + /** Exclude comments from a given array of comment types. */ + commentTypeNotIn?: Maybe + /** Content object author ID to limit results by. */ + contentAuthor?: Maybe>> + /** Array of author IDs to retrieve comments for. */ + contentAuthorIn?: Maybe>> + /** Array of author IDs *not* to retrieve comments for. */ + contentAuthorNotIn?: Maybe>> + /** Limit results to those affiliated with a given content object ID. */ + contentId?: Maybe + /** Array of content object IDs to include affiliated comments for. */ + contentIdIn?: Maybe>> + /** Array of content object IDs to exclude affiliated comments for. */ + contentIdNotIn?: Maybe>> + /** Content object name to retrieve affiliated comments for. */ + contentName?: Maybe + /** Content Object parent ID to retrieve affiliated comments for. */ + contentParent?: Maybe + /** Array of content object statuses to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentStatus?: Maybe>> + /** Content object type or array of types to retrieve affiliated comments for. Pass 'any' to match any value. */ + contentType?: Maybe>> + /** Array of IDs or email addresses of users whose unapproved comments will be returned by the query regardless of $status. Default empty */ + includeUnapproved?: Maybe>> + /** Karma score to retrieve matching comments for. */ + karma?: Maybe + /** The cardinality of the order of the connection */ + order?: Maybe + /** Field to order the comments by. */ + orderby?: Maybe + /** Parent ID of comment to retrieve children of. */ + parent?: Maybe + /** Array of parent IDs of comments to retrieve children for. */ + parentIn?: Maybe>> + /** Array of parent IDs of comments *not* to retrieve children for. */ + parentNotIn?: Maybe>> + /** Search term(s) to retrieve matching comments for. */ + search?: Maybe + /** Comment status to limit results by. */ + status?: Maybe + /** Include comments for a specific user ID. */ + userId?: Maybe +} + +/** Connection between the User type and the ContentRevisionUnion type */ +export type UserToContentRevisionUnionConnection = { + __typename?: 'UserToContentRevisionUnionConnection' + /** Edges for the UserToContentRevisionUnionConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToContentRevisionUnionConnectionEdge = { + __typename?: 'UserToContentRevisionUnionConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToContentRevisionUnionConnection connection */ +export type UserToContentRevisionUnionConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the User type and the EnqueuedScript type */ +export type UserToEnqueuedScriptConnection = { + __typename?: 'UserToEnqueuedScriptConnection' + /** Edges for the UserToEnqueuedScriptConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToEnqueuedScriptConnectionEdge = { + __typename?: 'UserToEnqueuedScriptConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the User type and the EnqueuedStylesheet type */ +export type UserToEnqueuedStylesheetConnection = { + __typename?: 'UserToEnqueuedStylesheetConnection' + /** Edges for the UserToEnqueuedStylesheetConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToEnqueuedStylesheetConnectionEdge = { + __typename?: 'UserToEnqueuedStylesheetConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Connection between the User type and the mediaItem type */ +export type UserToMediaItemConnection = { + __typename?: 'UserToMediaItemConnection' + /** Edges for the UserToMediaItemConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToMediaItemConnectionEdge = { + __typename?: 'UserToMediaItemConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToMediaItemConnection connection */ +export type UserToMediaItemConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the User type and the page type */ +export type UserToPageConnection = { + __typename?: 'UserToPageConnection' + /** Edges for the UserToPageConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToPageConnectionEdge = { + __typename?: 'UserToPageConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToPageConnection connection */ +export type UserToPageConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the User type and the post type */ +export type UserToPostConnection = { + __typename?: 'UserToPostConnection' + /** Edges for the UserToPostConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToPostConnectionEdge = { + __typename?: 'UserToPostConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the UserToPostConnection connection */ +export type UserToPostConnectionWhereArgs = { + /** The user that's connected as the author of the object. Use the userId for the author object. */ + author?: Maybe + /** Find objects connected to author(s) in the array of author's userIds */ + authorIn?: Maybe>> + /** Find objects connected to the author by the author's nicename */ + authorName?: Maybe + /** Find objects NOT connected to author(s) in the array of author's userIds */ + authorNotIn?: Maybe>> + /** Category ID */ + categoryId?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryIn?: Maybe>> + /** Use Category Slug */ + categoryName?: Maybe + /** Array of category IDs, used to display objects from one category OR another */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Tag Slug */ + tag?: Maybe + /** Use Tag ID */ + tagId?: Maybe + /** Array of tag IDs, used to display objects from one tag OR another */ + tagIn?: Maybe>> + /** Array of tag IDs, used to display objects from one tag OR another */ + tagNotIn?: Maybe>> + /** Array of tag slugs, used to display objects from one tag OR another */ + tagSlugAnd?: Maybe>> + /** Array of tag slugs, used to exclude objects in specified tags */ + tagSlugIn?: Maybe>> + /** Title of the object */ + title?: Maybe +} + +/** Connection between the User type and the UserRole type */ +export type UserToUserRoleConnection = { + __typename?: 'UserToUserRoleConnection' + /** Edges for the UserToUserRoleConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type UserToUserRoleConnectionEdge = { + __typename?: 'UserToUserRoleConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Field to order the connection by */ +export enum UsersConnectionOrderbyEnum { + /** Order by display name */ + DisplayName = 'DISPLAY_NAME', + /** Order by email address */ + Email = 'EMAIL', + /** Order by login */ + Login = 'LOGIN', + /** Preserve the login order given in the LOGIN_IN array */ + LoginIn = 'LOGIN_IN', + /** Order by nice name */ + NiceName = 'NICE_NAME', + /** Preserve the nice name order given in the NICE_NAME_IN array */ + NiceNameIn = 'NICE_NAME_IN', + /** Order by registration date */ + Registered = 'REGISTERED', + /** Order by URL */ + Url = 'URL', +} + +/** Options for ordering the connection */ +export type UsersConnectionOrderbyInput = { + /** The field name used to sort the results. */ + field: UsersConnectionOrderbyEnum + /** The cardinality of the order of the connection */ + order?: Maybe +} + +/** Column used for searching for users. */ +export enum UsersConnectionSearchColumnEnum { + /** The user's email address. */ + Email = 'EMAIL', + /** The globally unique ID. */ + Id = 'ID', + /** The username the User uses to login with. */ + Login = 'LOGIN', + /** A URL-friendly name for the user. The default is the user's username. */ + Nicename = 'NICENAME', + /** The URL of the user\s website. */ + Url = 'URL', +} + +/** A variable product object */ +export type VariableProduct = Node & + Product & + NodeWithComments & + NodeWithContentEditor & + NodeWithFeaturedImage & + ContentNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'VariableProduct' + /** Connection between the Product type and the ProductAttribute type */ + attributes?: Maybe + /** Product average count */ + averageRating?: Maybe + /** Product backorders status */ + backorders?: Maybe + /** Can product be backordered? */ + backordersAllowed?: Maybe + /** Catalog visibility */ + catalogVisibility?: Maybe + /** The number of comments. Even though WPGraphQL denotes this field as an integer, in WordPress this field should be saved as a numeric string for compatibility. */ + commentCount?: Maybe + /** Whether the comments are open or closed for this particular post. */ + commentStatus?: Maybe + /** The content of the post. */ + content?: Maybe + /** Connection between the ContentNode type and the ContentType type */ + contentType?: Maybe + /** Connection between the VariableProduct type and the Product type */ + crossSell?: Maybe + /** The ID of the product in the database */ + databaseId: Scalars['Int'] + /** Date product created */ + date?: Maybe + /** The publishing date set in GMT. */ + dateGmt?: Maybe + /** Date on sale from */ + dateOnSaleFrom?: Maybe + /** Date on sale to */ + dateOnSaleTo?: Maybe + /** Connection between the VariableProduct type and the VariationAttribute type */ + defaultAttributes?: Maybe + /** Product description */ + description?: Maybe + /** The desired slug of the post */ + desiredSlug?: Maybe + /** If a user has edited the node within the past 15 seconds, this will return the user that last edited. Null if the edit lock doesn't exist or is greater than 15 seconds */ + editingLockedBy?: Maybe + /** The RSS enclosure for the object */ + enclosure?: Maybe + /** Connection between the ContentNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the ContentNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** If the product is featured */ + featured?: Maybe + /** Connection between the NodeWithFeaturedImage type and the MediaItem type */ + featuredImage?: Maybe + /** The database identifier for the featured image node assigned to the content node */ + featuredImageDatabaseId?: Maybe + /** Globally unique ID of the featured image assigned to the node */ + featuredImageId?: Maybe + /** Connection between the Product type and the MediaItem type */ + galleryImages?: Maybe + /** Connection between the Product type and the GlobalProductAttribute type */ + globalAttributes?: Maybe + /** The global unique identifier for this post. This currently matches the value stored in WP_Post->guid and the guid column in the "post_objects" database table. */ + guid?: Maybe + /** Product's height */ + height?: Maybe + /** The globally unique identifier for the product */ + id: Scalars['ID'] + /** Main image */ + image?: Maybe + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is a node in the preview state */ + isPreview?: Maybe + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The user that most recently edited the node */ + lastEditedBy?: Maybe + /** Product's length */ + length?: Maybe + /** The permalink of the post */ + link?: Maybe + /** Connection between the Product type and the LocalProductAttribute type */ + localAttributes?: Maybe + /** If product manage stock */ + manageStock?: Maybe + /** Menu order */ + menuOrder?: Maybe + /** Object meta data */ + metaData?: Maybe>> + /** Date product last updated */ + modified?: Maybe + /** The GMT modified time for a post. If a post was recently updated the modified field will change to match the corresponding time in GMT. */ + modifiedGmt?: Maybe + /** Product name */ + name?: Maybe + /** Is product on sale? */ + onSale?: Maybe + /** Connection between the Product type and the paColor type */ + paColors?: Maybe + /** Connection between the Product type and the paSize type */ + paSizes?: Maybe + /** Parent product */ + parent?: Maybe + /** The database id of the preview node */ + previewRevisionDatabaseId?: Maybe + /** Whether the object is a node in the preview state */ + previewRevisionId?: Maybe + /** Product's active price */ + price?: Maybe + /** Connection between the Product type and the productCategory type */ + productCategories?: Maybe + /** Connection between the Product type and the productTag type */ + productTags?: Maybe + /** Connection between the Product type and the productType type */ + productTypes?: Maybe + /** Can product be purchased? */ + purchasable?: Maybe + /** Purchase note */ + purchaseNote?: Maybe + /** Product's regular price */ + regularPrice?: Maybe + /** Connection between the Product type and the Product type */ + related?: Maybe + /** Product review count */ + reviewCount?: Maybe + /** Connection between the Product type and the Comment type */ + reviews?: Maybe + /** If reviews are allowed */ + reviewsAllowed?: Maybe + /** Product's sale price */ + salePrice?: Maybe + /** shipping class ID */ + shippingClassId?: Maybe + /** Connection between the Product type and the shippingClass type */ + shippingClasses?: Maybe + /** Does product need to be shipped? */ + shippingRequired?: Maybe + /** Is product shipping taxable? */ + shippingTaxable?: Maybe + /** Product short description */ + shortDescription?: Maybe + /** Product SKU */ + sku?: Maybe + /** Product slug */ + slug?: Maybe + /** If should be sold individually */ + soldIndividually?: Maybe + /** Product status */ + status?: Maybe + /** Number of items available for sale */ + stockQuantity?: Maybe + /** Product stock status */ + stockStatus?: Maybe + /** Tax class */ + taxClass?: Maybe + /** Tax status */ + taxStatus?: Maybe + /** The template assigned to a node of content */ + template?: Maybe + /** Number total of sales */ + totalSales?: Maybe + /** Product type */ + type?: Maybe + /** Connection between the Product type and the Product type */ + upsell?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** Connection between the VariableProduct type and the ProductVariation type */ + variations?: Maybe + /** Connection between the Product type and the visibleProduct type */ + visibleProducts?: Maybe + /** Product's weight */ + weight?: Maybe + /** Product's width */ + width?: Maybe + } + +/** A variable product object */ +export type VariableProductAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductContentArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductCrossSellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductDefaultAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A variable product object */ +export type VariableProductDescriptionArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A variable product object */ +export type VariableProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** A variable product object */ +export type VariableProductGalleryImagesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductGlobalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductLocalAttributesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductMetaDataArgs = { + key?: Maybe + keysIn?: Maybe>> + multiple?: Maybe +} + +/** A variable product object */ +export type VariableProductPaColorsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductPaSizesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductPriceArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductProductCategoriesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductProductTagsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductProductTypesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductRegularPriceArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductRelatedArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductReviewsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductSalePriceArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductShippingClassesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductShortDescriptionArgs = { + format?: Maybe +} + +/** A variable product object */ +export type VariableProductUpsellArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductVariationsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** A variable product object */ +export type VariableProductVisibleProductsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** Connection between the VariableProduct type and the Product type */ +export type VariableProductToProductConnection = { + __typename?: 'VariableProductToProductConnection' + /** Edges for the VariableProductToProductConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type VariableProductToProductConnectionEdge = { + __typename?: 'VariableProductToProductConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the VariableProductToProductConnection connection */ +export type VariableProductToProductConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the VariableProduct type and the ProductVariation type */ +export type VariableProductToProductVariationConnection = { + __typename?: 'VariableProductToProductVariationConnection' + /** Edges for the VariableProductToProductVariationConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type VariableProductToProductVariationConnectionEdge = { + __typename?: 'VariableProductToProductVariationConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the VariableProductToProductVariationConnection connection */ +export type VariableProductToProductVariationConnectionWhereArgs = { + /** Limit result set to products with a specific attribute. Use the taxonomy name/attribute slug. */ + attribute?: Maybe + /** Limit result set to products with a specific attribute term ID (required an assigned attribute). */ + attributeTerm?: Maybe + /** Limit result set to products assigned a specific category name. */ + category?: Maybe + /** Limit result set to products assigned a specific category name. */ + categoryId?: Maybe + /** Limit result set to products assigned to a specific group of category IDs. */ + categoryIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of category IDs. */ + categoryIdNotIn?: Maybe>> + /** Limit result set to products assigned to a group of specific categories by name. */ + categoryIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific categories by name. */ + categoryNotIn?: Maybe>> + /** Filter the connection based on dates. */ + dateQuery?: Maybe + /** Ensure result set excludes specific IDs. */ + exclude?: Maybe>> + /** Limit result set to featured products. */ + featured?: Maybe + /** Limit result set to specific ids. */ + include?: Maybe>> + /** Limit result set to products based on a maximum price. */ + maxPrice?: Maybe + /** Limit result set to products based on a minimum price. */ + minPrice?: Maybe + /** Limit result set to products on sale. */ + onSale?: Maybe + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items. */ + parent?: Maybe + /** Specify objects whose parent is in an array. */ + parentIn?: Maybe>> + /** Specify objects whose parent is not in an array. */ + parentNotIn?: Maybe>> + /** Limit result set to products based on a keyword search. */ + search?: Maybe + /** Limit result set to products assigned a specific shipping class ID. */ + shippingClassId?: Maybe + /** Limit result set to products with specific SKU(s). Use commas to separate. */ + sku?: Maybe + /** Limit result set to products with specific slugs. */ + slugIn?: Maybe>> + /** Limit result set to products assigned a specific status. */ + status?: Maybe + /** Limit result set to products in stock or out of stock. */ + stockStatus?: Maybe>> + /** Limit result types to types supported by WooGraphQL. */ + supportedTypesOnly?: Maybe + /** Limit result set to products assigned a specific tag name. */ + tag?: Maybe + /** Limit result set to products assigned a specific tag ID. */ + tagId?: Maybe + /** Limit result set to products assigned to a specific group of tag IDs. */ + tagIdIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tag IDs. */ + tagIdNotIn?: Maybe>> + /** Limit result set to products assigned to a specific group of tags by name. */ + tagIn?: Maybe>> + /** Limit result set to products not assigned to a specific group of tags by name. */ + tagNotIn?: Maybe>> + /** Limit result set with complex set of taxonomy filters. */ + taxonomyFilter?: Maybe + /** Limit result set to products assigned a specific type. */ + type?: Maybe + /** Limit result set to products assigned to a group of specific types. */ + typeIn?: Maybe>> + /** Limit result set to products not assigned to a group of specific types. */ + typeNotIn?: Maybe>> + /** Limit result set to products with a specific visibility level. */ + visibility?: Maybe +} + +/** Connection between the VariableProduct type and the VariationAttribute type */ +export type VariableProductToVariationAttributeConnection = { + __typename?: 'VariableProductToVariationAttributeConnection' + /** Edges for the VariableProductToVariationAttributeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type VariableProductToVariationAttributeConnectionEdge = { + __typename?: 'VariableProductToVariationAttributeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** A product variation attribute object */ +export type VariationAttribute = Attribute & { + __typename?: 'VariationAttribute' + /** The Database ID of the attribute. */ + attributeId?: Maybe + /** The Global ID of the attribute. */ + id: Scalars['ID'] + /** Label of attribute */ + label?: Maybe + /** Name of attribute */ + name?: Maybe + /** Selected value of attribute */ + value?: Maybe +} + +/** The visibleProduct type */ +export type VisibleProduct = Node & + TermNode & + UniformResourceIdentifiable & + DatabaseIdentifier & { + __typename?: 'VisibleProduct' + /** Connection between the visibleProduct type and the ContentNode type */ + contentNodes?: Maybe + /** The number of objects connected to the object */ + count?: Maybe + /** The unique identifier stored in the database */ + databaseId: Scalars['Int'] + /** The description of the object */ + description?: Maybe + /** Connection between the TermNode type and the EnqueuedScript type */ + enqueuedScripts?: Maybe + /** Connection between the TermNode type and the EnqueuedStylesheet type */ + enqueuedStylesheets?: Maybe + /** The unique resource identifier path */ + id: Scalars['ID'] + /** Whether the node is a Content Node */ + isContentNode: Scalars['Boolean'] + /** Whether the object is restricted from the current viewer */ + isRestricted?: Maybe + /** Whether the node is a Term */ + isTermNode: Scalars['Boolean'] + /** The link to the term */ + link?: Maybe + /** The human friendly name of the object. */ + name?: Maybe + /** An alphanumeric identifier for the object unique to its type. */ + slug?: Maybe + /** Connection between the visibleProduct type and the Taxonomy type */ + taxonomy?: Maybe + /** The ID of the term group that this term object belongs to */ + termGroupId?: Maybe + /** The taxonomy ID that the object is associated with */ + termTaxonomyId?: Maybe + /** The unique resource identifier path */ + uri?: Maybe + /** + * The id field matches the WP_Post->ID field. + * @deprecated Deprecated in favor of databaseId + */ + visibleProductId?: Maybe + } + +/** The visibleProduct type */ +export type VisibleProductContentNodesArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe + where?: Maybe +} + +/** The visibleProduct type */ +export type VisibleProductEnqueuedScriptsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The visibleProduct type */ +export type VisibleProductEnqueuedStylesheetsArgs = { + first?: Maybe + last?: Maybe + after?: Maybe + before?: Maybe +} + +/** The Type of Identifier used to fetch a single resource. Default is ID. */ +export enum VisibleProductIdType { + /** The Database ID for the node */ + DatabaseId = 'DATABASE_ID', + /** The hashed Global ID */ + Id = 'ID', + /** The name of the node */ + Name = 'NAME', + /** Url friendly name of the node */ + Slug = 'SLUG', + /** The URI for the node */ + Uri = 'URI', +} + +/** Connection between the visibleProduct type and the ContentNode type */ +export type VisibleProductToContentNodeConnection = { + __typename?: 'VisibleProductToContentNodeConnection' + /** Edges for the VisibleProductToContentNodeConnection connection */ + edges?: Maybe>> + /** The nodes of the connection, without the edges */ + nodes?: Maybe>> + /** Information about pagination in a connection. */ + pageInfo?: Maybe +} + +/** An edge in a connection */ +export type VisibleProductToContentNodeConnectionEdge = { + __typename?: 'VisibleProductToContentNodeConnectionEdge' + /** A cursor for use in pagination */ + cursor?: Maybe + /** The item at the end of the edge */ + node?: Maybe +} + +/** Arguments for filtering the VisibleProductToContentNodeConnection connection */ +export type VisibleProductToContentNodeConnectionWhereArgs = { + /** The Types of content to filter */ + contentTypes?: Maybe>> + /** Filter the connection based on dates */ + dateQuery?: Maybe + /** True for objects with passwords; False for objects without passwords; null for all objects with or without passwords */ + hasPassword?: Maybe + /** Specific ID of the object */ + id?: Maybe + /** Array of IDs for the objects to retrieve */ + in?: Maybe>> + /** Get objects with a specific mimeType property */ + mimeType?: Maybe + /** Slug / post_name of the object */ + name?: Maybe + /** Specify objects to retrieve. Use slugs */ + nameIn?: Maybe>> + /** Specify IDs NOT to retrieve. If this is used in the same query as "in", it will be ignored */ + notIn?: Maybe>> + /** What paramater to use to order the objects by. */ + orderby?: Maybe>> + /** Use ID to return only children. Use 0 to return only top-level items */ + parent?: Maybe + /** Specify objects whose parent is in an array */ + parentIn?: Maybe>> + /** Specify posts whose parent is not in an array */ + parentNotIn?: Maybe>> + /** Show posts with a specific password. */ + password?: Maybe + /** Show Posts based on a keyword search */ + search?: Maybe + /** Retrieve posts where post status is in an array. */ + stati?: Maybe>> + /** Show posts with a specific status. */ + status?: Maybe + /** Title of the object */ + title?: Maybe +} + +/** Connection between the visibleProduct type and the Taxonomy type */ +export type VisibleProductToTaxonomyConnectionEdge = { + __typename?: 'VisibleProductToTaxonomyConnectionEdge' + /** The node of the connection, without the edges */ + node?: Maybe +} + +/** Information about pagination in a connection. */ +export type WpPageInfo = { + __typename?: 'WPPageInfo' + /** When paginating forwards, the cursor to continue. */ + endCursor?: Maybe + /** When paginating forwards, are there more items? */ + hasNextPage: Scalars['Boolean'] + /** When paginating backwards, are there more items? */ + hasPreviousPage: Scalars['Boolean'] + /** When paginating backwards, the cursor to continue. */ + startCursor?: Maybe +} + +/** Input for the writeReview mutation */ +export type WriteReviewInput = { + /** The approval status of the comment. */ + approved?: Maybe + /** The name of the comment's author. */ + author?: Maybe + /** The email of the comment's author. */ + authorEmail?: Maybe + /** The url of the comment's author. */ + authorUrl?: Maybe + /** This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The ID of the post object the comment belongs to. */ + commentOn?: Maybe + /** Content of the comment. */ + content?: Maybe + /** The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17 */ + date?: Maybe + /** Parent comment of current comment. */ + parent?: Maybe + /** Product rating */ + rating: Scalars['Int'] +} + +/** The payload for the writeReview mutation */ +export type WriteReviewPayload = { + __typename?: 'WriteReviewPayload' + /** If a 'clientMutationId' input is provided to the mutation, it will be returned as output on the mutation. This ID can be used by the client to track the progress of mutations and catch possible duplicate mutation submissions. */ + clientMutationId?: Maybe + /** The product rating of the review that was created */ + rating?: Maybe + /** The product review that was created */ + review?: Maybe +} + +/** The writing setting type */ +export type WritingSettings = { + __typename?: 'WritingSettings' + /** Default post category. */ + defaultCategory?: Maybe + /** Default post format. */ + defaultPostFormat?: Maybe + /** Convert emoticons like :-) and :-P to graphics on display. */ + useSmilies?: Maybe +} + +export type SettingQueryVariables = Exact<{ [key: string]: never }> + +export type SettingQuery = { __typename?: 'RootQuery' } & { + generalSettings?: Maybe< + { __typename?: 'GeneralSettings' } & Pick + > +} diff --git a/framework/woocommerce/wp/queries/get-site-info-query.ts b/framework/woocommerce/wp/queries/get-site-info-query.ts new file mode 100644 index 000000000..5e6c10d12 --- /dev/null +++ b/framework/woocommerce/wp/queries/get-site-info-query.ts @@ -0,0 +1,8 @@ +const getSiteInfoQuery = /* GraphQL */ ` + query Setting { + generalSettings { + title + } + } +` +export default getSiteInfoQuery diff --git a/framework/woocommerce/wp/queries/index.ts b/framework/woocommerce/wp/queries/index.ts new file mode 100644 index 000000000..ff2767402 --- /dev/null +++ b/framework/woocommerce/wp/queries/index.ts @@ -0,0 +1,6 @@ +// export { default as getProductQuery } from './get-product-query' +// export { default as getAllProductsQuery } from './get-all-products-query' +// export { default as getAllPagesQuery } from './get-all-pages-query' +// export { default as getPostsQuery } from './get-posts-query' +// export { default as getPageQuery } from './get-page-query' +export { default as getSiteInfoQuery } from './get-site-info-query' diff --git a/package.json b/package.json index 68bf0059d..ae03ecb6e 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "find:unused": "npx next-unused", "generate": "graphql-codegen", "generate:shopify": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen -r dotenv/config --config framework/shopify/codegen.json", + "generate:wpc": "DOTENV_CONFIG_PATH=./.env.local graphql-codegen -r dotenv/config --config framework/woocommerce/codegen.json", "generate:vendure": "graphql-codegen --config framework/vendure/codegen.json", "generate:definitions": "node framework/bigcommerce/scripts/generate-definitions.js" },