/* tslint:disable */
/* eslint-disable */
/**
 * This file was automatically generated by Payload.
 * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
 * and re-run `payload generate:types` to regenerate this file.
 */

/**
 * Supported timezones in IANA format.
 *
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "supportedTimezones".
 */
export type SupportedTimezones =
  | 'Pacific/Midway'
  | 'Pacific/Niue'
  | 'Pacific/Honolulu'
  | 'Pacific/Rarotonga'
  | 'America/Anchorage'
  | 'Pacific/Gambier'
  | 'America/Los_Angeles'
  | 'America/Tijuana'
  | 'America/Denver'
  | 'America/Phoenix'
  | 'America/Chicago'
  | 'America/Guatemala'
  | 'America/New_York'
  | 'America/Bogota'
  | 'America/Caracas'
  | 'America/Santiago'
  | 'America/Buenos_Aires'
  | 'America/Sao_Paulo'
  | 'Atlantic/South_Georgia'
  | 'Atlantic/Azores'
  | 'Atlantic/Cape_Verde'
  | 'Europe/London'
  | 'Europe/Berlin'
  | 'Africa/Lagos'
  | 'Europe/Athens'
  | 'Africa/Cairo'
  | 'Europe/Moscow'
  | 'Asia/Riyadh'
  | 'Asia/Dubai'
  | 'Asia/Baku'
  | 'Asia/Karachi'
  | 'Asia/Tashkent'
  | 'Asia/Calcutta'
  | 'Asia/Dhaka'
  | 'Asia/Almaty'
  | 'Asia/Jakarta'
  | 'Asia/Bangkok'
  | 'Asia/Shanghai'
  | 'Asia/Singapore'
  | 'Asia/Tokyo'
  | 'Asia/Seoul'
  | 'Australia/Brisbane'
  | 'Australia/Sydney'
  | 'Pacific/Guam'
  | 'Pacific/Noumea'
  | 'Pacific/Auckland'
  | 'Pacific/Fiji';

export interface Config {
  auth: {
    users: UserAuthOperations;
  };
  blocks: {};
  collections: {
    'field-paths': FieldPath;
    'payload-kv': PayloadKv;
    users: User;
    'payload-locked-documents': PayloadLockedDocument;
    'payload-preferences': PayloadPreference;
    'payload-migrations': PayloadMigration;
  };
  collectionsJoins: {};
  collectionsSelect: {
    'field-paths': FieldPathsSelect<false> | FieldPathsSelect<true>;
    'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
    users: UsersSelect<false> | UsersSelect<true>;
    'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
    'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
    'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
  };
  db: {
    defaultIDType: string;
  };
  fallbackLocale: null;
  globals: {};
  globalsSelect: {};
  locale: null;
  user: User;
  jobs: {
    tasks: unknown;
    workflows: unknown;
  };
}
export interface UserAuthOperations {
  forgotPassword: {
    email: string;
    password: string;
  };
  login: {
    email: string;
    password: string;
  };
  registerFirstUser: {
    email: string;
    password: string;
  };
  unlock: {
    email: string;
    password: string;
  };
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "field-paths".
 */
export interface FieldPath {
  id: string;
  topLevelNamedField?: string | null;
  array?:
    | {
        fieldWithinArray?: string | null;
        nestedArray?:
          | {
              fieldWithinNestedArray?: string | null;
              id?: string | null;
            }[]
          | null;
        fieldWithinRowWithinArray?: string | null;
        id?: string | null;
      }[]
    | null;
  fieldWithinRow?: string | null;
  fieldWithinUnnamedTab?: string | null;
  fieldWithinNestedUnnamedTab?: string | null;
  namedTab?: {
    fieldWithinNamedTab?: string | null;
  };
  fieldWithinUnnamedTabWithinCollapsible?: string | null;
  namedTabWithinCollapsible?: {
    fieldWithinNamedTabWithinCollapsible?: string | null;
  };
  textFieldInUnnamedGroup?: string | null;
  blocks?:
    | {
        textInCollapsibleInCollapsibleBlock?: string | null;
        id?: string | null;
        blockName?: string | null;
        blockType: 'CollapsibleBlock';
      }[]
    | null;
  topLevelNamedField_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  topLevelNamedField_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  topLevelNamedField_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  topLevelNamedField_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinArray_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinArray_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinArray_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinArray_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNestedArray_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNestedArray_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNestedArray_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNestedArray_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinRowWithinArray_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinRowWithinArray_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinRowWithinArray_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinRowWithinArray_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinRow_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinRow_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinRow_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinRow_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinUnnamedTab_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinUnnamedTab_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinUnnamedTab_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinUnnamedTab_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNestedUnnamedTab_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNestedUnnamedTab_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNestedUnnamedTab_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNestedUnnamedTab_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNamedTab_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNamedTab_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNamedTab_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNamedTab_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinUnnamedTabWithinCollapsible_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinUnnamedTabWithinCollapsible_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinUnnamedTabWithinCollapsible_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinUnnamedTabWithinCollapsible_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNamedTabWithinCollapsible_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNamedTabWithinCollapsible_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNamedTabWithinCollapsible_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  fieldWithinNamedTabWithinCollapsible_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  textFieldInUnnamedGroup_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  textFieldInUnnamedGroup_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  textFieldInUnnamedGroup_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  textFieldInUnnamedGroup_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  textInCollapsibleInCollapsibleBlock_beforeValidate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  textInCollapsibleInCollapsibleBlock_beforeChange_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  textInCollapsibleInCollapsibleBlock_afterRead_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  textInCollapsibleInCollapsibleBlock_beforeDuplicate_FieldPaths?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  updatedAt: string;
  createdAt: string;
  _status?: ('draft' | 'published') | null;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "payload-kv".
 */
export interface PayloadKv {
  id: string;
  key: string;
  data:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "users".
 */
export interface User {
  id: string;
  updatedAt: string;
  createdAt: string;
  email: string;
  resetPasswordToken?: string | null;
  resetPasswordExpiration?: string | null;
  salt?: string | null;
  hash?: string | null;
  loginAttempts?: number | null;
  lockUntil?: string | null;
  sessions?:
    | {
        id: string;
        createdAt?: string | null;
        expiresAt: string;
      }[]
    | null;
  password?: string | null;
  collection: 'users';
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "payload-locked-documents".
 */
export interface PayloadLockedDocument {
  id: string;
  document?:
    | ({
        relationTo: 'field-paths';
        value: string | FieldPath;
      } | null)
    | ({
        relationTo: 'users';
        value: string | User;
      } | null);
  globalSlug?: string | null;
  user: {
    relationTo: 'users';
    value: string | User;
  };
  updatedAt: string;
  createdAt: string;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "payload-preferences".
 */
export interface PayloadPreference {
  id: string;
  user: {
    relationTo: 'users';
    value: string | User;
  };
  key?: string | null;
  value?:
    | {
        [k: string]: unknown;
      }
    | unknown[]
    | string
    | number
    | boolean
    | null;
  updatedAt: string;
  createdAt: string;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "payload-migrations".
 */
export interface PayloadMigration {
  id: string;
  name?: string | null;
  batch?: number | null;
  updatedAt: string;
  createdAt: string;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "field-paths_select".
 */
export interface FieldPathsSelect<T extends boolean = true> {
  topLevelNamedField?: T;
  array?:
    | T
    | {
        fieldWithinArray?: T;
        nestedArray?:
          | T
          | {
              fieldWithinNestedArray?: T;
              id?: T;
            };
        fieldWithinRowWithinArray?: T;
        id?: T;
      };
  fieldWithinRow?: T;
  fieldWithinUnnamedTab?: T;
  fieldWithinNestedUnnamedTab?: T;
  namedTab?:
    | T
    | {
        fieldWithinNamedTab?: T;
      };
  fieldWithinUnnamedTabWithinCollapsible?: T;
  namedTabWithinCollapsible?:
    | T
    | {
        fieldWithinNamedTabWithinCollapsible?: T;
      };
  textFieldInUnnamedGroup?: T;
  blocks?:
    | T
    | {
        CollapsibleBlock?:
          | T
          | {
              textInCollapsibleInCollapsibleBlock?: T;
              id?: T;
              blockName?: T;
            };
      };
  topLevelNamedField_beforeValidate_FieldPaths?: T;
  topLevelNamedField_beforeChange_FieldPaths?: T;
  topLevelNamedField_afterRead_FieldPaths?: T;
  topLevelNamedField_beforeDuplicate_FieldPaths?: T;
  fieldWithinArray_beforeValidate_FieldPaths?: T;
  fieldWithinArray_beforeChange_FieldPaths?: T;
  fieldWithinArray_afterRead_FieldPaths?: T;
  fieldWithinArray_beforeDuplicate_FieldPaths?: T;
  fieldWithinNestedArray_beforeValidate_FieldPaths?: T;
  fieldWithinNestedArray_beforeChange_FieldPaths?: T;
  fieldWithinNestedArray_afterRead_FieldPaths?: T;
  fieldWithinNestedArray_beforeDuplicate_FieldPaths?: T;
  fieldWithinRowWithinArray_beforeValidate_FieldPaths?: T;
  fieldWithinRowWithinArray_beforeChange_FieldPaths?: T;
  fieldWithinRowWithinArray_afterRead_FieldPaths?: T;
  fieldWithinRowWithinArray_beforeDuplicate_FieldPaths?: T;
  fieldWithinRow_beforeValidate_FieldPaths?: T;
  fieldWithinRow_beforeChange_FieldPaths?: T;
  fieldWithinRow_afterRead_FieldPaths?: T;
  fieldWithinRow_beforeDuplicate_FieldPaths?: T;
  fieldWithinUnnamedTab_beforeValidate_FieldPaths?: T;
  fieldWithinUnnamedTab_beforeChange_FieldPaths?: T;
  fieldWithinUnnamedTab_afterRead_FieldPaths?: T;
  fieldWithinUnnamedTab_beforeDuplicate_FieldPaths?: T;
  fieldWithinNestedUnnamedTab_beforeValidate_FieldPaths?: T;
  fieldWithinNestedUnnamedTab_beforeChange_FieldPaths?: T;
  fieldWithinNestedUnnamedTab_afterRead_FieldPaths?: T;
  fieldWithinNestedUnnamedTab_beforeDuplicate_FieldPaths?: T;
  fieldWithinNamedTab_beforeValidate_FieldPaths?: T;
  fieldWithinNamedTab_beforeChange_FieldPaths?: T;
  fieldWithinNamedTab_afterRead_FieldPaths?: T;
  fieldWithinNamedTab_beforeDuplicate_FieldPaths?: T;
  fieldWithinUnnamedTabWithinCollapsible_beforeValidate_FieldPaths?: T;
  fieldWithinUnnamedTabWithinCollapsible_beforeChange_FieldPaths?: T;
  fieldWithinUnnamedTabWithinCollapsible_afterRead_FieldPaths?: T;
  fieldWithinUnnamedTabWithinCollapsible_beforeDuplicate_FieldPaths?: T;
  fieldWithinNamedTabWithinCollapsible_beforeValidate_FieldPaths?: T;
  fieldWithinNamedTabWithinCollapsible_beforeChange_FieldPaths?: T;
  fieldWithinNamedTabWithinCollapsible_afterRead_FieldPaths?: T;
  fieldWithinNamedTabWithinCollapsible_beforeDuplicate_FieldPaths?: T;
  textFieldInUnnamedGroup_beforeValidate_FieldPaths?: T;
  textFieldInUnnamedGroup_beforeChange_FieldPaths?: T;
  textFieldInUnnamedGroup_afterRead_FieldPaths?: T;
  textFieldInUnnamedGroup_beforeDuplicate_FieldPaths?: T;
  textInCollapsibleInCollapsibleBlock_beforeValidate_FieldPaths?: T;
  textInCollapsibleInCollapsibleBlock_beforeChange_FieldPaths?: T;
  textInCollapsibleInCollapsibleBlock_afterRead_FieldPaths?: T;
  textInCollapsibleInCollapsibleBlock_beforeDuplicate_FieldPaths?: T;
  updatedAt?: T;
  createdAt?: T;
  _status?: T;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "payload-kv_select".
 */
export interface PayloadKvSelect<T extends boolean = true> {
  key?: T;
  data?: T;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "users_select".
 */
export interface UsersSelect<T extends boolean = true> {
  updatedAt?: T;
  createdAt?: T;
  email?: T;
  resetPasswordToken?: T;
  resetPasswordExpiration?: T;
  salt?: T;
  hash?: T;
  loginAttempts?: T;
  lockUntil?: T;
  sessions?:
    | T
    | {
        id?: T;
        createdAt?: T;
        expiresAt?: T;
      };
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "payload-locked-documents_select".
 */
export interface PayloadLockedDocumentsSelect<T extends boolean = true> {
  document?: T;
  globalSlug?: T;
  user?: T;
  updatedAt?: T;
  createdAt?: T;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "payload-preferences_select".
 */
export interface PayloadPreferencesSelect<T extends boolean = true> {
  user?: T;
  key?: T;
  value?: T;
  updatedAt?: T;
  createdAt?: T;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "payload-migrations_select".
 */
export interface PayloadMigrationsSelect<T extends boolean = true> {
  name?: T;
  batch?: T;
  updatedAt?: T;
  createdAt?: T;
}
/**
 * This interface was referenced by `Config`'s JSON-Schema
 * via the `definition` "auth".
 */
export interface Auth {
  [k: string]: unknown;
}


declare module 'payload' {
  // @ts-ignore 
  export interface GeneratedTypes extends Config {}
}