/** The Type of Identifier used to fetch a single resource. Default is ID. */ export declare enum PostIdType { /** Identify a resource by the Database ID. */ DATABASE_ID = "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 Type of Identifier used to fetch a single resource. Default is ID. */ export declare enum PageIdType { /** Identify a resource by the Database ID. */ DATABASE_ID = "DATABASE_ID", /** Identify a resource by the (hashed) Global ID. */ ID = "ID", /** Identify a resource by the URI. */ URI = "URI" } export type Maybe = T | null; /** The Type of Identifier used to fetch a single resource. Default is ID. */ export declare enum CategoryIdType { /** The Database ID for the node */ DATABASE_ID = "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" } /** The Type of Identifier used to fetch a single resource. Default is ID. */ export declare enum ContentNodeIdTypeEnum { /** Identify a resource by the Database ID. */ DATABASE_ID = "DATABASE_ID", /** Identify a resource by the (hashed) Global ID. */ ID = "ID", /** Identify a resource by the URI. */ URI = "URI" } /** Allowed Content Types */ export declare enum ContentTypeEnum { /** The Type of Content object */ ATTACHMENT = "ATTACHMENT", /** The Type of Content object */ PAGE = "PAGE", /** The Type of Content object */ POST = "POST" } export interface Mutation { generateAuthorizationCode: (args: { input: GenerateAuthorizationCodeInput; }) => Maybe; } /** Input for the generateAuthorizationCode mutation */ export interface GenerateAuthorizationCodeInput { /** 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; /** Email for WordPress user */ email?: Maybe; /** Password for WordPress user */ password?: Maybe; /** Username for WordPress user */ username?: Maybe; } /** * The payload for the generateAuthorizationCode mutation */ export interface GenerateAuthorizationCodePayload { __typename?: 'GenerateAuthorizationCodePayload'; /** * 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; /** * Authorization code used for requesting refresh/access tokens */ code?: Maybe; /** * Error encountered during user authentication, if any */ error?: Maybe; } /** All built-in and custom scalars, mapped to their actual values */ export interface Scalars { ID: string; String: string; Boolean: boolean; Int: number; Float: number; } export type MakeNullable = { [K in keyof T]: T[K] | undefined; }; export interface ScalarsEnums extends MakeNullable { CategoryIdType: CategoryIdType | undefined; PageIdType: PageIdType | undefined; PostIdType: PostIdType | undefined; ContentNodeIdTypeEnum: ContentNodeIdTypeEnum | undefined; }