/** * GraphQL types for ORM client * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ export interface StringFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; includes?: string; notIncludes?: string; includesInsensitive?: string; notIncludesInsensitive?: string; startsWith?: string; notStartsWith?: string; startsWithInsensitive?: string; notStartsWithInsensitive?: string; endsWith?: string; notEndsWith?: string; endsWithInsensitive?: string; notEndsWithInsensitive?: string; like?: string; notLike?: string; likeInsensitive?: string; notLikeInsensitive?: string; } export interface IntFilter { isNull?: boolean; equalTo?: number; notEqualTo?: number; distinctFrom?: number; notDistinctFrom?: number; in?: number[]; notIn?: number[]; lessThan?: number; lessThanOrEqualTo?: number; greaterThan?: number; greaterThanOrEqualTo?: number; } export interface FloatFilter { isNull?: boolean; equalTo?: number; notEqualTo?: number; distinctFrom?: number; notDistinctFrom?: number; in?: number[]; notIn?: number[]; lessThan?: number; lessThanOrEqualTo?: number; greaterThan?: number; greaterThanOrEqualTo?: number; } export interface BooleanFilter { isNull?: boolean; equalTo?: boolean; notEqualTo?: boolean; } export interface UUIDFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; } export interface DatetimeFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface DateFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface JSONFilter { isNull?: boolean; equalTo?: Record; notEqualTo?: Record; distinctFrom?: Record; notDistinctFrom?: Record; contains?: Record; containedBy?: Record; containsKey?: string; containsAllKeys?: string[]; containsAnyKeys?: string[]; } export interface BigIntFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface BigFloatFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface BitStringFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; } export interface InternetAddressFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; contains?: string; containsOrEqualTo?: string; containedBy?: string; containedByOrEqualTo?: string; containsOrContainedBy?: string; } export interface FullTextFilter { matches?: string; } export interface VectorFilter { isNull?: boolean; equalTo?: number[]; notEqualTo?: number[]; distinctFrom?: number[]; notDistinctFrom?: number[]; } export interface StringListFilter { isNull?: boolean; equalTo?: string[]; notEqualTo?: string[]; distinctFrom?: string[]; notDistinctFrom?: string[]; lessThan?: string[]; lessThanOrEqualTo?: string[]; greaterThan?: string[]; greaterThanOrEqualTo?: string[]; contains?: string[]; containedBy?: string[]; overlaps?: string[]; anyEqualTo?: string; anyNotEqualTo?: string; anyLessThan?: string; anyLessThanOrEqualTo?: string; anyGreaterThan?: string; anyGreaterThanOrEqualTo?: string; } export interface IntListFilter { isNull?: boolean; equalTo?: number[]; notEqualTo?: number[]; distinctFrom?: number[]; notDistinctFrom?: number[]; lessThan?: number[]; lessThanOrEqualTo?: number[]; greaterThan?: number[]; greaterThanOrEqualTo?: number[]; contains?: number[]; containedBy?: number[]; overlaps?: number[]; anyEqualTo?: number; anyNotEqualTo?: number; anyLessThan?: number; anyLessThanOrEqualTo?: number; anyGreaterThan?: number; anyGreaterThanOrEqualTo?: number; } export interface UUIDListFilter { isNull?: boolean; equalTo?: string[]; notEqualTo?: string[]; distinctFrom?: string[]; notDistinctFrom?: string[]; lessThan?: string[]; lessThanOrEqualTo?: string[]; greaterThan?: string[]; greaterThanOrEqualTo?: string[]; contains?: string[]; containedBy?: string[]; overlaps?: string[]; anyEqualTo?: string; anyNotEqualTo?: string; anyLessThan?: string; anyLessThanOrEqualTo?: string; anyGreaterThan?: string; anyGreaterThanOrEqualTo?: string; } export type Base64EncodedBinary = unknown; export type ConstructiveInternalTypeEmail = unknown; export type ConstructiveInternalTypeImage = unknown; export type ConstructiveInternalTypeOrigin = unknown; /** Partitioned append-only audit log of authentication events (sign-in, sign-up, password changes, etc.) */ export interface AuditLogAuth { /** User who performed the authentication action; NULL if user was deleted */ actorId?: string | null; createdAt?: string | null; /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */ event?: string | null; /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */ id: string; /** IP address of the client that initiated the auth event */ ipAddress?: string | null; /** Request origin (domain) where the auth event occurred */ origin?: ConstructiveInternalTypeOrigin | null; /** Whether the authentication attempt succeeded */ success?: boolean | null; /** Browser or client user-agent string from the request */ userAgent?: string | null; } /** Cryptocurrency wallet addresses owned by users, with network-specific validation and verification */ export interface CryptoAddress { /** The cryptocurrency wallet address, validated against network-specific patterns */ address?: string | null; createdAt?: string | null; id: string; /** Whether this is the user's primary cryptocurrency address */ isPrimary?: boolean | null; /** Whether ownership of this address has been cryptographically verified */ isVerified?: boolean | null; /** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */ name?: string | null; ownerId?: string | null; updatedAt?: string | null; } /** User email addresses with verification and primary-email management */ export interface Email { createdAt?: string | null; /** The email address */ email?: ConstructiveInternalTypeEmail | null; id: string; /** Whether this is the user's primary email address */ isPrimary?: boolean | null; /** Whether the email address has been verified via confirmation link */ isVerified?: boolean | null; /** Optional user-provided label for this email (e.g. "Work", "Personal"). */ name?: string | null; ownerId?: string | null; updatedAt?: string | null; } export interface IdentityProvider { displayName?: string | null; enabled?: boolean | null; kind?: string | null; slug?: string | null; } export interface OrgApiKeyList { accessLevel?: string | null; createdAt?: string | null; expiresAt?: string | null; id: string; keyId?: string | null; lastUsedAt?: string | null; mfaLevel?: string | null; name?: string | null; orgId?: string | null; principalId?: string | null; revokedAt?: string | null; updatedAt?: string | null; } /** User phone numbers with country code, verification, and primary-number management */ export interface PhoneNumber { /** Country calling code (e.g. +1, +44) */ cc?: string | null; createdAt?: string | null; id: string; /** Whether this is the user's primary phone number */ isPrimary?: boolean | null; /** Whether the phone number has been verified via SMS code */ isVerified?: boolean | null; /** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */ name?: string | null; /** The phone number without country code */ number?: string | null; ownerId?: string | null; updatedAt?: string | null; } /** Scoped sub-identities (API keys and agents) with precomputed SPRT */ export interface Principal { /** Whether this principal bypasses MFA step-up requirements */ bypassStepUp?: boolean | null; createdAt?: string | null; id: string; /** Whether this principal is restricted to read-only operations */ isReadOnly?: boolean | null; /** Human-readable label for this principal (e.g., billing-bot, ci-deploy-key) */ name?: string | null; /** The human user who owns and manages this principal */ ownerId?: string | null; updatedAt?: string | null; /** Whether this principal inherits admin/owner privileges from the owner */ useAdminOwner?: boolean | null; /** The user row (type=3 Principal) that represents this principal identity */ userId?: string | null; } /** Association table scoping principals to specific organizations */ export interface PrincipalEntity { createdAt?: string | null; /** The organization this principal is scoped to */ entityId?: string | null; id: string; /** Denormalized owner_id from principals table for RLS */ ownerId?: string | null; /** The principal this scoping row belongs to */ principalId?: string | null; updatedAt?: string | null; } /** Per-scope permission overrides for principals. No row = full access; row exists = apply restrictions. */ export interface PrincipalScopeOverride { /** Optional permission mask; AND-masked with parent permissions during cascade. NULL means no extra mask. */ allowedMask?: string | null; createdAt?: string | null; id: string; /** Whether this scope is active for this principal; false disables all access at this scope */ isActive?: boolean | null; /** Whether this principal is restricted to read-only at this scope */ isReadOnly?: boolean | null; /** The scope level (membership_type) this override restricts */ membershipType?: number | null; /** The principal this override applies to */ principalId?: string | null; updatedAt?: string | null; /** Whether this principal inherits admin/owner at this scope (default true = inherit from parent) */ useAdminOwner?: boolean | null; } export interface RoleType { id: number; name?: string | null; } export interface UserConnectedAccount { createdAt?: string | null; details?: Record | null; id: string; identifier?: string | null; isVerified?: boolean | null; ownerId?: string | null; service?: string | null; updatedAt?: string | null; } export interface User { createdAt?: string | null; displayName?: string | null; /** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */ displayNameTrgmSimilarity?: number | null; id: string; profilePicture?: ConstructiveInternalTypeImage | null; /** Composite search relevance score (0..1, higher = more relevant). Computed using Reciprocal Rank Fusion (RRF) across all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. */ searchScore?: number | null; searchTsv?: string | null; /** TSV rank when searching `searchTsv`. Returns null when no tsv search filter is active. */ searchTsvRank?: number | null; type?: number | null; updatedAt?: string | null; username?: string | null; } /** WebAuthn/passkey credentials owned by users. One row per registered authenticator (security key, device biometric, synced passkey). Schema mirrors SimpleWebAuthn's canonical Passkey object. */ export interface WebauthnCredential { /** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */ backupEligible?: boolean | null; /** Current backup state; updated on each successful sign-in assertion. */ backupState?: boolean | null; createdAt?: string | null; /** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */ credentialDeviceType?: string | null; /** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */ credentialId?: string | null; id: string; /** Timestamp of the most recent successful sign-in assertion using this credential. */ lastUsedAt?: string | null; /** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */ name?: string | null; ownerId?: string | null; /** COSE-encoded public key bytes from the authenticator attestation. */ publicKey?: Base64EncodedBinary | null; /** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */ signCount?: string | null; /** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */ transports?: string[] | null; updatedAt?: string | null; /** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */ webauthnUserId?: string | null; } export interface ConnectionResult { nodes: T[]; totalCount: number; pageInfo: PageInfo; } export interface PageInfo { hasNextPage: boolean; hasPreviousPage: boolean; startCursor?: string | null; endCursor?: string | null; } export interface AuditLogAuthRelations { actor?: User | null; } export interface CryptoAddressRelations { owner?: User | null; } export interface EmailRelations { owner?: User | null; } export interface IdentityProviderRelations { } export interface OrgApiKeyListRelations { } export interface PhoneNumberRelations { owner?: User | null; } export interface PrincipalRelations { owner?: User | null; user?: User | null; principalEntities?: ConnectionResult; principalScopeOverrides?: ConnectionResult; } export interface PrincipalEntityRelations { entity?: User | null; owner?: User | null; principal?: Principal | null; } export interface PrincipalScopeOverrideRelations { principal?: Principal | null; } export interface RoleTypeRelations { } export interface UserConnectedAccountRelations { } export interface UserRelations { roleType?: RoleType | null; authAuditLog?: ConnectionResult; cryptoAddresses?: ConnectionResult; emails?: ConnectionResult; phoneNumbers?: ConnectionResult; principals?: ConnectionResult; scopedPrincipals?: ConnectionResult; webauthnCredentials?: ConnectionResult; } export interface WebauthnCredentialRelations { owner?: User | null; } export type AuditLogAuthWithRelations = AuditLogAuth & AuditLogAuthRelations; export type CryptoAddressWithRelations = CryptoAddress & CryptoAddressRelations; export type EmailWithRelations = Email & EmailRelations; export type IdentityProviderWithRelations = IdentityProvider & IdentityProviderRelations; export type OrgApiKeyListWithRelations = OrgApiKeyList & OrgApiKeyListRelations; export type PhoneNumberWithRelations = PhoneNumber & PhoneNumberRelations; export type PrincipalWithRelations = Principal & PrincipalRelations; export type PrincipalEntityWithRelations = PrincipalEntity & PrincipalEntityRelations; export type PrincipalScopeOverrideWithRelations = PrincipalScopeOverride & PrincipalScopeOverrideRelations; export type RoleTypeWithRelations = RoleType & RoleTypeRelations; export type UserConnectedAccountWithRelations = UserConnectedAccount & UserConnectedAccountRelations; export type UserWithRelations = User & UserRelations; export type WebauthnCredentialWithRelations = WebauthnCredential & WebauthnCredentialRelations; export type AuditLogAuthSelect = { actorId?: boolean; createdAt?: boolean; event?: boolean; id?: boolean; ipAddress?: boolean; origin?: boolean; success?: boolean; userAgent?: boolean; actor?: { select: UserSelect; }; }; export type CryptoAddressSelect = { address?: boolean; createdAt?: boolean; id?: boolean; isPrimary?: boolean; isVerified?: boolean; name?: boolean; ownerId?: boolean; updatedAt?: boolean; owner?: { select: UserSelect; }; }; export type EmailSelect = { createdAt?: boolean; email?: boolean; id?: boolean; isPrimary?: boolean; isVerified?: boolean; name?: boolean; ownerId?: boolean; updatedAt?: boolean; owner?: { select: UserSelect; }; }; export type IdentityProviderSelect = { displayName?: boolean; enabled?: boolean; kind?: boolean; slug?: boolean; }; export type OrgApiKeyListSelect = { accessLevel?: boolean; createdAt?: boolean; expiresAt?: boolean; id?: boolean; keyId?: boolean; lastUsedAt?: boolean; mfaLevel?: boolean; name?: boolean; orgId?: boolean; principalId?: boolean; revokedAt?: boolean; updatedAt?: boolean; }; export type PhoneNumberSelect = { cc?: boolean; createdAt?: boolean; id?: boolean; isPrimary?: boolean; isVerified?: boolean; name?: boolean; number?: boolean; ownerId?: boolean; updatedAt?: boolean; owner?: { select: UserSelect; }; }; export type PrincipalSelect = { bypassStepUp?: boolean; createdAt?: boolean; id?: boolean; isReadOnly?: boolean; name?: boolean; ownerId?: boolean; updatedAt?: boolean; useAdminOwner?: boolean; userId?: boolean; owner?: { select: UserSelect; }; user?: { select: UserSelect; }; principalEntities?: { select: PrincipalEntitySelect; first?: number; filter?: PrincipalEntityFilter; orderBy?: PrincipalEntityOrderBy[]; }; principalScopeOverrides?: { select: PrincipalScopeOverrideSelect; first?: number; filter?: PrincipalScopeOverrideFilter; orderBy?: PrincipalScopeOverrideOrderBy[]; }; }; export type PrincipalEntitySelect = { createdAt?: boolean; entityId?: boolean; id?: boolean; ownerId?: boolean; principalId?: boolean; updatedAt?: boolean; entity?: { select: UserSelect; }; owner?: { select: UserSelect; }; principal?: { select: PrincipalSelect; }; }; export type PrincipalScopeOverrideSelect = { allowedMask?: boolean; createdAt?: boolean; id?: boolean; isActive?: boolean; isReadOnly?: boolean; membershipType?: boolean; principalId?: boolean; updatedAt?: boolean; useAdminOwner?: boolean; principal?: { select: PrincipalSelect; }; }; export type RoleTypeSelect = { id?: boolean; name?: boolean; }; export type UserConnectedAccountSelect = { createdAt?: boolean; details?: boolean; id?: boolean; identifier?: boolean; isVerified?: boolean; ownerId?: boolean; service?: boolean; updatedAt?: boolean; }; export type UserSelect = { createdAt?: boolean; displayName?: boolean; displayNameTrgmSimilarity?: boolean; id?: boolean; profilePicture?: boolean; searchScore?: boolean; searchTsv?: boolean; searchTsvRank?: boolean; type?: boolean; updatedAt?: boolean; username?: boolean; roleType?: { select: RoleTypeSelect; }; authAuditLog?: { select: AuditLogAuthSelect; first?: number; filter?: AuditLogAuthFilter; orderBy?: AuditLogAuthOrderBy[]; }; cryptoAddresses?: { select: CryptoAddressSelect; first?: number; filter?: CryptoAddressFilter; orderBy?: CryptoAddressOrderBy[]; }; emails?: { select: EmailSelect; first?: number; filter?: EmailFilter; orderBy?: EmailOrderBy[]; }; phoneNumbers?: { select: PhoneNumberSelect; first?: number; filter?: PhoneNumberFilter; orderBy?: PhoneNumberOrderBy[]; }; principals?: { select: PrincipalSelect; first?: number; filter?: PrincipalFilter; orderBy?: PrincipalOrderBy[]; }; scopedPrincipals?: { select: PrincipalEntitySelect; first?: number; filter?: PrincipalEntityFilter; orderBy?: PrincipalEntityOrderBy[]; }; webauthnCredentials?: { select: WebauthnCredentialSelect; first?: number; filter?: WebauthnCredentialFilter; orderBy?: WebauthnCredentialOrderBy[]; }; }; export type WebauthnCredentialSelect = { backupEligible?: boolean; backupState?: boolean; createdAt?: boolean; credentialDeviceType?: boolean; credentialId?: boolean; id?: boolean; lastUsedAt?: boolean; name?: boolean; ownerId?: boolean; publicKey?: boolean; signCount?: boolean; transports?: boolean; updatedAt?: boolean; webauthnUserId?: boolean; owner?: { select: UserSelect; }; }; export interface AuditLogAuthFilter { /** Filter by the object’s `actor` relation. */ actor?: UserFilter; /** A related `actor` exists. */ actorExists?: boolean; /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Checks for all expressions in this list. */ and?: AuditLogAuthFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `event` field. */ event?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `ipAddress` field. */ ipAddress?: InternetAddressFilter; /** Negates the expression. */ not?: AuditLogAuthFilter; /** Checks for any expressions in this list. */ or?: AuditLogAuthFilter[]; /** Filter by the object’s `origin` field. */ origin?: ConstructiveInternalTypeOriginFilter; /** Filter by the object’s `success` field. */ success?: BooleanFilter; /** Filter by the object’s `userAgent` field. */ userAgent?: StringFilter; } export interface CryptoAddressFilter { /** Filter by the object’s `address` field. */ address?: StringFilter; /** Checks for all expressions in this list. */ and?: CryptoAddressFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isPrimary` field. */ isPrimary?: BooleanFilter; /** Filter by the object’s `isVerified` field. */ isVerified?: BooleanFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: CryptoAddressFilter; /** Checks for any expressions in this list. */ or?: CryptoAddressFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } export interface EmailFilter { /** Checks for all expressions in this list. */ and?: EmailFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `email` field. */ email?: ConstructiveInternalTypeEmailFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isPrimary` field. */ isPrimary?: BooleanFilter; /** Filter by the object’s `isVerified` field. */ isVerified?: BooleanFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: EmailFilter; /** Checks for any expressions in this list. */ or?: EmailFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } export interface IdentityProviderFilter { /** Checks for all expressions in this list. */ and?: IdentityProviderFilter[]; /** Filter by the object’s `displayName` field. */ displayName?: StringFilter; /** Filter by the object’s `enabled` field. */ enabled?: BooleanFilter; /** Filter by the object’s `kind` field. */ kind?: StringFilter; /** Negates the expression. */ not?: IdentityProviderFilter; /** Checks for any expressions in this list. */ or?: IdentityProviderFilter[]; /** Filter by the object’s `slug` field. */ slug?: StringFilter; } export interface OrgApiKeyListFilter { /** Filter by the object’s `accessLevel` field. */ accessLevel?: StringFilter; /** Checks for all expressions in this list. */ and?: OrgApiKeyListFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `expiresAt` field. */ expiresAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `keyId` field. */ keyId?: StringFilter; /** Filter by the object’s `lastUsedAt` field. */ lastUsedAt?: DatetimeFilter; /** Filter by the object’s `mfaLevel` field. */ mfaLevel?: StringFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: OrgApiKeyListFilter; /** Checks for any expressions in this list. */ or?: OrgApiKeyListFilter[]; /** Filter by the object’s `orgId` field. */ orgId?: UUIDFilter; /** Filter by the object’s `principalId` field. */ principalId?: UUIDFilter; /** Filter by the object’s `revokedAt` field. */ revokedAt?: DatetimeFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } export interface PhoneNumberFilter { /** Checks for all expressions in this list. */ and?: PhoneNumberFilter[]; /** Filter by the object’s `cc` field. */ cc?: StringFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isPrimary` field. */ isPrimary?: BooleanFilter; /** Filter by the object’s `isVerified` field. */ isVerified?: BooleanFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: PhoneNumberFilter; /** Filter by the object’s `number` field. */ number?: StringFilter; /** Checks for any expressions in this list. */ or?: PhoneNumberFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } export interface PrincipalFilter { /** Checks for all expressions in this list. */ and?: PrincipalFilter[]; /** Filter by the object’s `bypassStepUp` field. */ bypassStepUp?: BooleanFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isReadOnly` field. */ isReadOnly?: BooleanFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: PrincipalFilter; /** Checks for any expressions in this list. */ or?: PrincipalFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `principalEntities` relation. */ principalEntities?: PrincipalToManyPrincipalEntityFilter; /** `principalEntities` exist. */ principalEntitiesExist?: boolean; /** Filter by the object’s `principalScopeOverrides` relation. */ principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter; /** `principalScopeOverrides` exist. */ principalScopeOverridesExist?: boolean; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Filter by the object’s `useAdminOwner` field. */ useAdminOwner?: BooleanFilter; /** Filter by the object’s `user` relation. */ user?: UserFilter; /** Filter by the object’s `userId` field. */ userId?: UUIDFilter; } export interface PrincipalEntityFilter { /** Checks for all expressions in this list. */ and?: PrincipalEntityFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `entity` relation. */ entity?: UserFilter; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: PrincipalEntityFilter; /** Checks for any expressions in this list. */ or?: PrincipalEntityFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `principal` relation. */ principal?: PrincipalFilter; /** Filter by the object’s `principalId` field. */ principalId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } export interface PrincipalScopeOverrideFilter { /** Filter by the object’s `allowedMask` field. */ allowedMask?: BitStringFilter; /** Checks for all expressions in this list. */ and?: PrincipalScopeOverrideFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isActive` field. */ isActive?: BooleanFilter; /** Filter by the object’s `isReadOnly` field. */ isReadOnly?: BooleanFilter; /** Filter by the object’s `membershipType` field. */ membershipType?: IntFilter; /** Negates the expression. */ not?: PrincipalScopeOverrideFilter; /** Checks for any expressions in this list. */ or?: PrincipalScopeOverrideFilter[]; /** Filter by the object’s `principal` relation. */ principal?: PrincipalFilter; /** Filter by the object’s `principalId` field. */ principalId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Filter by the object’s `useAdminOwner` field. */ useAdminOwner?: BooleanFilter; } export interface RoleTypeFilter { /** Checks for all expressions in this list. */ and?: RoleTypeFilter[]; /** Filter by the object’s `id` field. */ id?: IntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: RoleTypeFilter; /** Checks for any expressions in this list. */ or?: RoleTypeFilter[]; } export interface UserConnectedAccountFilter { /** Checks for all expressions in this list. */ and?: UserConnectedAccountFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `details` field. */ details?: JSONFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `identifier` field. */ identifier?: StringFilter; /** Filter by the object’s `isVerified` field. */ isVerified?: BooleanFilter; /** Negates the expression. */ not?: UserConnectedAccountFilter; /** Checks for any expressions in this list. */ or?: UserConnectedAccountFilter[]; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `service` field. */ service?: StringFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } export interface UserFilter { /** Checks for all expressions in this list. */ and?: UserFilter[]; /** Filter by the object’s `authAuditLog` relation. */ authAuditLog?: UserToManyAuditLogAuthFilter; /** `authAuditLog` exist. */ authAuditLogExist?: boolean; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `cryptoAddresses` relation. */ cryptoAddresses?: UserToManyCryptoAddressFilter; /** `cryptoAddresses` exist. */ cryptoAddressesExist?: boolean; /** Filter by the object’s `displayName` field. */ displayName?: StringTrgmFilter; /** Filter by the object’s `emails` relation. */ emails?: UserToManyEmailFilter; /** `emails` exist. */ emailsExist?: boolean; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: UserFilter; /** Checks for any expressions in this list. */ or?: UserFilter[]; /** Filter by the object’s `phoneNumbers` relation. */ phoneNumbers?: UserToManyPhoneNumberFilter; /** `phoneNumbers` exist. */ phoneNumbersExist?: boolean; /** Filter by the object’s `principals` relation. */ principals?: UserToManyPrincipalFilter; /** `principals` exist. */ principalsExist?: boolean; /** Filter by the object’s `profilePicture` field. */ profilePicture?: ConstructiveInternalTypeImageFilter; /** Filter by the object’s `roleType` relation. */ roleType?: RoleTypeFilter; /** Filter by the object’s `scopedPrincipals` relation. */ scopedPrincipals?: UserToManyPrincipalEntityFilter; /** `scopedPrincipals` exist. */ scopedPrincipalsExist?: boolean; /** Filter by the object’s `searchTsv` field. */ searchTsv?: FullTextFilter; /** TRGM search on the `display_name` column. */ trgmDisplayName?: TrgmSearchInput; /** TSV search on the `search_tsv` column. */ tsvSearchTsv?: string; /** Filter by the object’s `type` field. */ type?: IntFilter; /** * Composite unified search. Provide a search string and it will be dispatched to * all text-compatible search algorithms (tsvector, BM25, pg_trgm) * simultaneously. When the LLM plugin is active, pgvector also participates via * auto-embedding. Rows matching ANY algorithm are returned. All matching score * fields are populated. */ unifiedSearch?: string; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Filter by the object’s `username` field. */ username?: StringTrgmFilter; /** Filter by the object’s `webauthnCredentials` relation. */ webauthnCredentials?: UserToManyWebauthnCredentialFilter; /** `webauthnCredentials` exist. */ webauthnCredentialsExist?: boolean; } export interface WebauthnCredentialFilter { /** Checks for all expressions in this list. */ and?: WebauthnCredentialFilter[]; /** Filter by the object’s `backupEligible` field. */ backupEligible?: BooleanFilter; /** Filter by the object’s `backupState` field. */ backupState?: BooleanFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `credentialDeviceType` field. */ credentialDeviceType?: StringFilter; /** Filter by the object’s `credentialId` field. */ credentialId?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `lastUsedAt` field. */ lastUsedAt?: DatetimeFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: WebauthnCredentialFilter; /** Checks for any expressions in this list. */ or?: WebauthnCredentialFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `publicKey` field. */ publicKey?: Base64EncodedBinaryFilter; /** Filter by the object’s `signCount` field. */ signCount?: BigIntFilter; /** Filter by the object’s `transports` field. */ transports?: StringListFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Filter by the object’s `webauthnUserId` field. */ webauthnUserId?: StringFilter; } export type AuditLogAuthOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'NATURAL' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC'; export type CryptoAddressOrderBy = 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC'; export type EmailOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC'; export type IdentityProviderOrderBy = 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ENABLED_ASC' | 'ENABLED_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'NATURAL' | 'SLUG_ASC' | 'SLUG_DESC'; export type OrgApiKeyListOrderBy = 'ACCESS_LEVEL_ASC' | 'ACCESS_LEVEL_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'KEY_ID_ASC' | 'KEY_ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'MFA_LEVEL_ASC' | 'MFA_LEVEL_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'ORG_ID_ASC' | 'ORG_ID_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'REVOKED_AT_ASC' | 'REVOKED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC'; export type PhoneNumberOrderBy = 'CC_ASC' | 'CC_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC'; export type PrincipalOrderBy = 'BYPASS_STEP_UP_ASC' | 'BYPASS_STEP_UP_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USER_ID_ASC' | 'USER_ID_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC'; export type PrincipalEntityOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ENTITY_ID_ASC' | 'ENTITY_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC'; export type PrincipalScopeOverrideOrderBy = 'ALLOWED_MASK_ASC' | 'ALLOWED_MASK_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_READ_ONLY_ASC' | 'IS_READ_ONLY_DESC' | 'MEMBERSHIP_TYPE_ASC' | 'MEMBERSHIP_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPAL_ID_ASC' | 'PRINCIPAL_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USE_ADMIN_OWNER_ASC' | 'USE_ADMIN_OWNER_DESC'; export type RoleTypeOrderBy = 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC'; export type UserConnectedAccountOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DETAILS_ASC' | 'DETAILS_DESC' | 'IDENTIFIER_ASC' | 'IDENTIFIER_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'SERVICE_ASC' | 'SERVICE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC'; export type UserOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'DISPLAY_NAME_TRGM_SIMILARITY_ASC' | 'DISPLAY_NAME_TRGM_SIMILARITY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROFILE_PICTURE_ASC' | 'PROFILE_PICTURE_DESC' | 'SEARCH_SCORE_ASC' | 'SEARCH_SCORE_DESC' | 'SEARCH_TSV_ASC' | 'SEARCH_TSV_DESC' | 'SEARCH_TSV_RANK_ASC' | 'SEARCH_TSV_RANK_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'USERNAME_ASC' | 'USERNAME_DESC'; export type WebauthnCredentialOrderBy = 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC'; export interface CreateAuditLogAuthInput { clientMutationId?: string; auditLogAuth: { actorId?: string; event: string; ipAddress?: string; origin?: ConstructiveInternalTypeOrigin; success: boolean; userAgent?: string; }; } export interface AuditLogAuthPatch { actorId?: string | null; event?: string | null; ipAddress?: string | null; origin?: ConstructiveInternalTypeOrigin | null; success?: boolean | null; userAgent?: string | null; } export interface UpdateAuditLogAuthInput { clientMutationId?: string; id: string; auditLogAuthPatch: AuditLogAuthPatch; } export interface DeleteAuditLogAuthInput { clientMutationId?: string; id: string; } export interface CreateCryptoAddressInput { clientMutationId?: string; cryptoAddress: { address: string; isPrimary?: boolean; isVerified?: boolean; name?: string; ownerId?: string; }; } export interface CryptoAddressPatch { address?: string | null; isPrimary?: boolean | null; isVerified?: boolean | null; name?: string | null; ownerId?: string | null; } export interface UpdateCryptoAddressInput { clientMutationId?: string; id: string; cryptoAddressPatch: CryptoAddressPatch; } export interface DeleteCryptoAddressInput { clientMutationId?: string; id: string; } export interface CreateEmailInput { clientMutationId?: string; email: { email: ConstructiveInternalTypeEmail; isPrimary?: boolean; isVerified?: boolean; name?: string; ownerId?: string; }; } export interface EmailPatch { email?: ConstructiveInternalTypeEmail | null; isPrimary?: boolean | null; isVerified?: boolean | null; name?: string | null; ownerId?: string | null; } export interface UpdateEmailInput { clientMutationId?: string; id: string; emailPatch: EmailPatch; } export interface DeleteEmailInput { clientMutationId?: string; id: string; } export interface CreateIdentityProviderInput { clientMutationId?: string; identityProvider: { displayName?: string; enabled?: boolean; kind?: string; slug?: string; }; } export interface IdentityProviderPatch { displayName?: string | null; enabled?: boolean | null; kind?: string | null; slug?: string | null; } export interface UpdateIdentityProviderInput { clientMutationId?: string; id: string; identityProviderPatch: IdentityProviderPatch; } export interface DeleteIdentityProviderInput { clientMutationId?: string; id: string; } export interface CreateOrgApiKeyListInput { clientMutationId?: string; orgApiKeyList: { accessLevel?: string; expiresAt?: string; keyId: string; lastUsedAt?: string; mfaLevel?: string; name?: string; orgId: string; principalId: string; revokedAt?: string; }; } export interface OrgApiKeyListPatch { accessLevel?: string | null; expiresAt?: string | null; keyId?: string | null; lastUsedAt?: string | null; mfaLevel?: string | null; name?: string | null; orgId?: string | null; principalId?: string | null; revokedAt?: string | null; } export interface UpdateOrgApiKeyListInput { clientMutationId?: string; id: string; orgApiKeyListPatch: OrgApiKeyListPatch; } export interface DeleteOrgApiKeyListInput { clientMutationId?: string; id: string; } export interface CreatePhoneNumberInput { clientMutationId?: string; phoneNumber: { cc: string; isPrimary?: boolean; isVerified?: boolean; name?: string; number: string; ownerId?: string; }; } export interface PhoneNumberPatch { cc?: string | null; isPrimary?: boolean | null; isVerified?: boolean | null; name?: string | null; number?: string | null; ownerId?: string | null; } export interface UpdatePhoneNumberInput { clientMutationId?: string; id: string; phoneNumberPatch: PhoneNumberPatch; } export interface DeletePhoneNumberInput { clientMutationId?: string; id: string; } export interface CreatePrincipalInput { clientMutationId?: string; principal: { bypassStepUp?: boolean; isReadOnly?: boolean; name?: string; ownerId: string; useAdminOwner?: boolean; userId: string; }; } export interface PrincipalPatch { bypassStepUp?: boolean | null; isReadOnly?: boolean | null; name?: string | null; ownerId?: string | null; useAdminOwner?: boolean | null; userId?: string | null; } export interface UpdatePrincipalInput { clientMutationId?: string; principalId: string; principalPatch: PrincipalPatch; } export interface DeletePrincipalInput { clientMutationId?: string; principalId: string; } export interface CreatePrincipalEntityInput { clientMutationId?: string; principalEntity: { entityId: string; ownerId: string; principalId: string; }; } export interface PrincipalEntityPatch { entityId?: string | null; ownerId?: string | null; principalId?: string | null; } export interface UpdatePrincipalEntityInput { clientMutationId?: string; id: string; principalEntityPatch: PrincipalEntityPatch; } export interface DeletePrincipalEntityInput { clientMutationId?: string; id: string; } export interface CreatePrincipalScopeOverrideInput { clientMutationId?: string; principalScopeOverride: { allowedMask?: string; isActive?: boolean; isReadOnly?: boolean; membershipType?: number; principalId: string; useAdminOwner?: boolean; }; } export interface PrincipalScopeOverridePatch { allowedMask?: string | null; isActive?: boolean | null; isReadOnly?: boolean | null; membershipType?: number | null; principalId?: string | null; useAdminOwner?: boolean | null; } export interface UpdatePrincipalScopeOverrideInput { clientMutationId?: string; id: string; principalScopeOverridePatch: PrincipalScopeOverridePatch; } export interface DeletePrincipalScopeOverrideInput { clientMutationId?: string; id: string; } export interface CreateRoleTypeInput { clientMutationId?: string; roleType: { name: string; }; } export interface RoleTypePatch { name?: string | null; } export interface UpdateRoleTypeInput { clientMutationId?: string; id: number; roleTypePatch: RoleTypePatch; } export interface DeleteRoleTypeInput { clientMutationId?: string; id: number; } export interface CreateUserConnectedAccountInput { clientMutationId?: string; userConnectedAccount: { details?: Record; identifier?: string; isVerified?: boolean; ownerId: string; service?: string; }; } export interface UserConnectedAccountPatch { details?: Record | null; identifier?: string | null; isVerified?: boolean | null; ownerId?: string | null; service?: string | null; } export interface UpdateUserConnectedAccountInput { clientMutationId?: string; id: string; userConnectedAccountPatch: UserConnectedAccountPatch; } export interface DeleteUserConnectedAccountInput { clientMutationId?: string; id: string; } export interface CreateUserInput { clientMutationId?: string; user: { displayName?: string; profilePicture?: ConstructiveInternalTypeImage; type?: number; username?: string; }; } export interface UserPatch { displayName?: string | null; profilePicture?: ConstructiveInternalTypeImage | null; profilePictureUpload?: File | null; type?: number | null; username?: string | null; } export interface UpdateUserInput { clientMutationId?: string; id: string; userPatch: UserPatch; } export interface DeleteUserInput { clientMutationId?: string; id: string; } export interface CreateWebauthnCredentialInput { clientMutationId?: string; webauthnCredential: { backupEligible?: boolean; backupState?: boolean; credentialDeviceType: string; credentialId: string; lastUsedAt?: string; name?: string; ownerId?: string; publicKey: Base64EncodedBinary; signCount?: string; transports?: string[]; webauthnUserId: string; }; } export interface WebauthnCredentialPatch { backupEligible?: boolean | null; backupState?: boolean | null; credentialDeviceType?: string | null; credentialId?: string | null; lastUsedAt?: string | null; name?: string | null; ownerId?: string | null; publicKey?: Base64EncodedBinary | null; signCount?: string | null; transports?: string[] | null; webauthnUserId?: string | null; } export interface UpdateWebauthnCredentialInput { clientMutationId?: string; id: string; webauthnCredentialPatch: WebauthnCredentialPatch; } export interface DeleteWebauthnCredentialInput { clientMutationId?: string; id: string; } export declare const connectionFieldsMap: Record>; export interface CheckPasswordInput { clientMutationId?: string; password?: string; } export interface ConfirmDeleteAccountInput { clientMutationId?: string; token?: string; userId?: string; } export interface CreateApiKeyInput { accessLevel?: string; clientMutationId?: string; expiresIn?: IntervalInput; keyName?: string; mfaLevel?: string; principalId?: string; } export interface CreateOrgApiKeyInput { accessLevel?: string; clientMutationId?: string; expiresIn?: IntervalInput; keyName?: string; mfaLevel?: string; orgId?: string; principalId?: string; } export interface CreateOrgPrincipalInput { bypassStepUp?: boolean; clientMutationId?: string; isReadOnly?: boolean; name?: string; orgId?: string; useAdminOwner?: boolean; } export interface DeleteOrgPrincipalInput { clientMutationId?: string; principalId?: string; } export interface DisconnectAccountInput { accountId: string; clientMutationId?: string; } export interface ExtendTokenExpiresInput { amount?: IntervalInput; clientMutationId?: string; } export interface ForgotPasswordInput { clientMutationId?: string; email?: ConstructiveInternalTypeEmail; } export interface LinkIdentityInput { clientMutationId?: string; details?: Record; identifier: string; service: string; } export interface ProvisionBucketInput { /** The logical bucket key (e.g., "public", "private") */ bucketKey: string; /** * Owner entity ID for entity-scoped bucket provisioning. * Omit for app-level (database-wide) storage. */ ownerId?: string; } export interface ProvisionNewUserInput { clientMutationId?: string; email?: string; password?: string; } export interface RequestCrossOriginTokenInput { clientMutationId?: string; email?: string; origin?: ConstructiveInternalTypeOrigin; password?: string; rememberMe?: boolean; } export interface ResetPasswordInput { clientMutationId?: string; newPassword?: string; resetToken?: string; roleId?: string; } export interface RevokeApiKeyInput { clientMutationId?: string; keyId: string; } export interface RevokeOrgApiKeyInput { clientMutationId?: string; keyId: string; orgId: string; } export interface RevokeSessionInput { clientMutationId?: string; sessionId: string; } export interface SendAccountDeletionEmailInput { clientMutationId?: string; } export interface SendVerificationEmailInput { clientMutationId?: string; email?: ConstructiveInternalTypeEmail; } export interface SetPasswordInput { clientMutationId?: string; currentPassword?: string; newPassword?: string; } export interface SignInInput { clientMutationId?: string; credentialKind?: string; csrfToken?: string; deviceToken?: string; email?: string; password?: string; rememberMe?: boolean; } export interface SignInCrossOriginInput { clientMutationId?: string; credentialKind?: string; token?: string; } export interface SignInSmsOtpInput { clientMutationId?: string; code?: string; credentialKind?: string; deviceToken?: string; phone?: string; rememberMe?: boolean; } export interface SignOutInput { clientMutationId?: string; } export interface SignUpInput { clientMutationId?: string; credentialKind?: string; csrfToken?: string; deviceToken?: string; email?: string; password?: string; rememberMe?: boolean; } export interface SignUpSmsInput { clientMutationId?: string; code?: string; credentialKind?: string; deviceToken?: string; phone?: string; rememberMe?: boolean; } export interface VerifyEmailInput { clientMutationId?: string; emailId?: string; token?: string; } export interface VerifyPasswordInput { clientMutationId?: string; password: string; } export interface VerifyTotpInput { clientMutationId?: string; totpValue: string; } /** A filter to be used against ConstructiveInternalTypeOrigin fields. All fields are combined with a logical ‘and.’ */ export interface ConstructiveInternalTypeOriginFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: ConstructiveInternalTypeOrigin; /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ distinctFromInsensitive?: string; /** Ends with the specified string (case-sensitive). */ endsWith?: ConstructiveInternalTypeOrigin; /** Ends with the specified string (case-insensitive). */ endsWithInsensitive?: ConstructiveInternalTypeOrigin; /** Equal to the specified value. */ equalTo?: ConstructiveInternalTypeOrigin; /** Equal to the specified value (case-insensitive). */ equalToInsensitive?: string; /** Greater than the specified value. */ greaterThan?: ConstructiveInternalTypeOrigin; /** Greater than the specified value (case-insensitive). */ greaterThanInsensitive?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: ConstructiveInternalTypeOrigin; /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: string; /** Included in the specified list. */ in?: ConstructiveInternalTypeOrigin[]; /** Included in the specified list (case-insensitive). */ inInsensitive?: string[]; /** Contains the specified string (case-sensitive). */ includes?: ConstructiveInternalTypeOrigin; /** Contains the specified string (case-insensitive). */ includesInsensitive?: ConstructiveInternalTypeOrigin; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: ConstructiveInternalTypeOrigin; /** Less than the specified value (case-insensitive). */ lessThanInsensitive?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: ConstructiveInternalTypeOrigin; /** Less than or equal to the specified value (case-insensitive). */ lessThanOrEqualToInsensitive?: string; /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ like?: ConstructiveInternalTypeOrigin; /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ likeInsensitive?: ConstructiveInternalTypeOrigin; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: ConstructiveInternalTypeOrigin; /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ notDistinctFromInsensitive?: string; /** Does not end with the specified string (case-sensitive). */ notEndsWith?: ConstructiveInternalTypeOrigin; /** Does not end with the specified string (case-insensitive). */ notEndsWithInsensitive?: ConstructiveInternalTypeOrigin; /** Not equal to the specified value. */ notEqualTo?: ConstructiveInternalTypeOrigin; /** Not equal to the specified value (case-insensitive). */ notEqualToInsensitive?: string; /** Not included in the specified list. */ notIn?: ConstructiveInternalTypeOrigin[]; /** Not included in the specified list (case-insensitive). */ notInInsensitive?: string[]; /** Does not contain the specified string (case-sensitive). */ notIncludes?: ConstructiveInternalTypeOrigin; /** Does not contain the specified string (case-insensitive). */ notIncludesInsensitive?: ConstructiveInternalTypeOrigin; /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLike?: ConstructiveInternalTypeOrigin; /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLikeInsensitive?: ConstructiveInternalTypeOrigin; /** Does not start with the specified string (case-sensitive). */ notStartsWith?: ConstructiveInternalTypeOrigin; /** Does not start with the specified string (case-insensitive). */ notStartsWithInsensitive?: ConstructiveInternalTypeOrigin; /** Starts with the specified string (case-sensitive). */ startsWith?: ConstructiveInternalTypeOrigin; /** Starts with the specified string (case-insensitive). */ startsWithInsensitive?: ConstructiveInternalTypeOrigin; } /** A filter to be used against ConstructiveInternalTypeEmail fields. All fields are combined with a logical ‘and.’ */ export interface ConstructiveInternalTypeEmailFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ distinctFromInsensitive?: ConstructiveInternalTypeEmail; /** Ends with the specified string (case-sensitive). */ endsWith?: string; /** Ends with the specified string (case-insensitive). */ endsWithInsensitive?: ConstructiveInternalTypeEmail; /** Equal to the specified value. */ equalTo?: string; /** Equal to the specified value (case-insensitive). */ equalToInsensitive?: ConstructiveInternalTypeEmail; /** Greater than the specified value. */ greaterThan?: string; /** Greater than the specified value (case-insensitive). */ greaterThanInsensitive?: ConstructiveInternalTypeEmail; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail; /** Included in the specified list. */ in?: string[]; /** Included in the specified list (case-insensitive). */ inInsensitive?: ConstructiveInternalTypeEmail[]; /** Contains the specified string (case-sensitive). */ includes?: string; /** Contains the specified string (case-insensitive). */ includesInsensitive?: ConstructiveInternalTypeEmail; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than the specified value (case-insensitive). */ lessThanInsensitive?: ConstructiveInternalTypeEmail; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Less than or equal to the specified value (case-insensitive). */ lessThanOrEqualToInsensitive?: ConstructiveInternalTypeEmail; /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ like?: string; /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ likeInsensitive?: ConstructiveInternalTypeEmail; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ notDistinctFromInsensitive?: ConstructiveInternalTypeEmail; /** Does not end with the specified string (case-sensitive). */ notEndsWith?: string; /** Does not end with the specified string (case-insensitive). */ notEndsWithInsensitive?: ConstructiveInternalTypeEmail; /** Not equal to the specified value. */ notEqualTo?: string; /** Not equal to the specified value (case-insensitive). */ notEqualToInsensitive?: ConstructiveInternalTypeEmail; /** Not included in the specified list. */ notIn?: string[]; /** Not included in the specified list (case-insensitive). */ notInInsensitive?: ConstructiveInternalTypeEmail[]; /** Does not contain the specified string (case-sensitive). */ notIncludes?: string; /** Does not contain the specified string (case-insensitive). */ notIncludesInsensitive?: ConstructiveInternalTypeEmail; /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLike?: string; /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLikeInsensitive?: ConstructiveInternalTypeEmail; /** Does not start with the specified string (case-sensitive). */ notStartsWith?: string; /** Does not start with the specified string (case-insensitive). */ notStartsWithInsensitive?: ConstructiveInternalTypeEmail; /** Starts with the specified string (case-sensitive). */ startsWith?: string; /** Starts with the specified string (case-insensitive). */ startsWithInsensitive?: ConstructiveInternalTypeEmail; } /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */ export interface PrincipalToManyPrincipalEntityFilter { /** Filters to entities where every related entity matches. */ every?: PrincipalEntityFilter; /** Filters to entities where no related entity matches. */ none?: PrincipalEntityFilter; /** Filters to entities where at least one related entity matches. */ some?: PrincipalEntityFilter; } /** A filter to be used against many `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */ export interface PrincipalToManyPrincipalScopeOverrideFilter { /** Filters to entities where every related entity matches. */ every?: PrincipalScopeOverrideFilter; /** Filters to entities where no related entity matches. */ none?: PrincipalScopeOverrideFilter; /** Filters to entities where at least one related entity matches. */ some?: PrincipalScopeOverrideFilter; } /** A filter to be used against many `AuditLogAuth` object types. All fields are combined with a logical ‘and.’ */ export interface UserToManyAuditLogAuthFilter { /** Filters to entities where every related entity matches. */ every?: AuditLogAuthFilter; /** Filters to entities where no related entity matches. */ none?: AuditLogAuthFilter; /** Filters to entities where at least one related entity matches. */ some?: AuditLogAuthFilter; } /** A filter to be used against many `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */ export interface UserToManyCryptoAddressFilter { /** Filters to entities where every related entity matches. */ every?: CryptoAddressFilter; /** Filters to entities where no related entity matches. */ none?: CryptoAddressFilter; /** Filters to entities where at least one related entity matches. */ some?: CryptoAddressFilter; } /** A filter to be used against String fields with pg_trgm support. All fields are combined with a logical ‘and.’ */ export interface StringTrgmFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ distinctFromInsensitive?: string; /** Ends with the specified string (case-sensitive). */ endsWith?: string; /** Ends with the specified string (case-insensitive). */ endsWithInsensitive?: string; /** Equal to the specified value. */ equalTo?: string; /** Equal to the specified value (case-insensitive). */ equalToInsensitive?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than the specified value (case-insensitive). */ greaterThanInsensitive?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: string; /** Included in the specified list. */ in?: string[]; /** Included in the specified list (case-insensitive). */ inInsensitive?: string[]; /** Contains the specified string (case-sensitive). */ includes?: string; /** Contains the specified string (case-insensitive). */ includesInsensitive?: string; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than the specified value (case-insensitive). */ lessThanInsensitive?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Less than or equal to the specified value (case-insensitive). */ lessThanOrEqualToInsensitive?: string; /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ like?: string; /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ likeInsensitive?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ notDistinctFromInsensitive?: string; /** Does not end with the specified string (case-sensitive). */ notEndsWith?: string; /** Does not end with the specified string (case-insensitive). */ notEndsWithInsensitive?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not equal to the specified value (case-insensitive). */ notEqualToInsensitive?: string; /** Not included in the specified list. */ notIn?: string[]; /** Not included in the specified list (case-insensitive). */ notInInsensitive?: string[]; /** Does not contain the specified string (case-sensitive). */ notIncludes?: string; /** Does not contain the specified string (case-insensitive). */ notIncludesInsensitive?: string; /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLike?: string; /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLikeInsensitive?: string; /** Does not start with the specified string (case-sensitive). */ notStartsWith?: string; /** Does not start with the specified string (case-insensitive). */ notStartsWithInsensitive?: string; /** Fuzzy matches using pg_trgm trigram similarity. Tolerates typos and misspellings. */ similarTo?: TrgmSearchInput; /** Starts with the specified string (case-sensitive). */ startsWith?: string; /** Starts with the specified string (case-insensitive). */ startsWithInsensitive?: string; /** Fuzzy matches using pg_trgm word_similarity. Finds the best matching substring within the column value. */ wordSimilarTo?: TrgmSearchInput; } /** A filter to be used against many `Email` object types. All fields are combined with a logical ‘and.’ */ export interface UserToManyEmailFilter { /** Filters to entities where every related entity matches. */ every?: EmailFilter; /** Filters to entities where no related entity matches. */ none?: EmailFilter; /** Filters to entities where at least one related entity matches. */ some?: EmailFilter; } /** A filter to be used against many `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */ export interface UserToManyPhoneNumberFilter { /** Filters to entities where every related entity matches. */ every?: PhoneNumberFilter; /** Filters to entities where no related entity matches. */ none?: PhoneNumberFilter; /** Filters to entities where at least one related entity matches. */ some?: PhoneNumberFilter; } /** A filter to be used against many `Principal` object types. All fields are combined with a logical ‘and.’ */ export interface UserToManyPrincipalFilter { /** Filters to entities where every related entity matches. */ every?: PrincipalFilter; /** Filters to entities where no related entity matches. */ none?: PrincipalFilter; /** Filters to entities where at least one related entity matches. */ some?: PrincipalFilter; } /** A filter to be used against ConstructiveInternalTypeImage fields. All fields are combined with a logical ‘and.’ */ export interface ConstructiveInternalTypeImageFilter { /** Contained by the specified JSON. */ containedBy?: ConstructiveInternalTypeImage; /** Contains the specified JSON. */ contains?: ConstructiveInternalTypeImage; /** Contains all of the specified keys. */ containsAllKeys?: string[]; /** Contains any of the specified keys. */ containsAnyKeys?: string[]; /** Contains the specified key. */ containsKey?: string; /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: ConstructiveInternalTypeImage; /** Equal to the specified value. */ equalTo?: ConstructiveInternalTypeImage; /** Greater than the specified value. */ greaterThan?: ConstructiveInternalTypeImage; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: ConstructiveInternalTypeImage; /** Included in the specified list. */ in?: ConstructiveInternalTypeImage[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: ConstructiveInternalTypeImage; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: ConstructiveInternalTypeImage; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: ConstructiveInternalTypeImage; /** Not equal to the specified value. */ notEqualTo?: ConstructiveInternalTypeImage; /** Not included in the specified list. */ notIn?: ConstructiveInternalTypeImage[]; } /** A filter to be used against many `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */ export interface UserToManyPrincipalEntityFilter { /** Filters to entities where every related entity matches. */ every?: PrincipalEntityFilter; /** Filters to entities where no related entity matches. */ none?: PrincipalEntityFilter; /** Filters to entities where at least one related entity matches. */ some?: PrincipalEntityFilter; } /** Input for pg_trgm fuzzy text matching. Provide a search value and optional similarity threshold. */ export interface TrgmSearchInput { /** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */ threshold?: number; /** The text to fuzzy-match against. Typos and misspellings are tolerated. */ value: string; } /** A filter to be used against many `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */ export interface UserToManyWebauthnCredentialFilter { /** Filters to entities where every related entity matches. */ every?: WebauthnCredentialFilter; /** Filters to entities where no related entity matches. */ none?: WebauthnCredentialFilter; /** Filters to entities where at least one related entity matches. */ some?: WebauthnCredentialFilter; } /** A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’ */ export interface Base64EncodedBinaryFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: Base64EncodedBinary; /** Equal to the specified value. */ equalTo?: Base64EncodedBinary; /** Included in the specified list. */ in?: Base64EncodedBinary[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: Base64EncodedBinary; /** Not equal to the specified value. */ notEqualTo?: Base64EncodedBinary; /** Not included in the specified list. */ notIn?: Base64EncodedBinary[]; } /** An input for mutations affecting `AuditLogAuth` */ export interface AuditLogAuthInput { /** User who performed the authentication action; NULL if user was deleted */ actorId?: string; createdAt?: string; /** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */ event: string; /** Unique identifier for each audit event (uuidv7 provides temporal ordering) */ id?: string; /** IP address of the client that initiated the auth event */ ipAddress?: string; /** Request origin (domain) where the auth event occurred */ origin?: ConstructiveInternalTypeOrigin; /** Whether the authentication attempt succeeded */ success: boolean; /** Browser or client user-agent string from the request */ userAgent?: string; } /** An input for mutations affecting `CryptoAddress` */ export interface CryptoAddressInput { /** The cryptocurrency wallet address, validated against network-specific patterns */ address: string; createdAt?: string; id?: string; /** Whether this is the user's primary cryptocurrency address */ isPrimary?: boolean; /** Whether ownership of this address has been cryptographically verified */ isVerified?: boolean; /** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */ name?: string; ownerId?: string; updatedAt?: string; } /** An input for mutations affecting `Email` */ export interface EmailInput { createdAt?: string; /** The email address */ email: ConstructiveInternalTypeEmail; id?: string; /** Whether this is the user's primary email address */ isPrimary?: boolean; /** Whether the email address has been verified via confirmation link */ isVerified?: boolean; /** Optional user-provided label for this email (e.g. "Work", "Personal"). */ name?: string; ownerId?: string; updatedAt?: string; } /** An input for mutations affecting `PhoneNumber` */ export interface PhoneNumberInput { /** Country calling code (e.g. +1, +44) */ cc: string; createdAt?: string; id?: string; /** Whether this is the user's primary phone number */ isPrimary?: boolean; /** Whether the phone number has been verified via SMS code */ isVerified?: boolean; /** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */ name?: string; /** The phone number without country code */ number: string; ownerId?: string; updatedAt?: string; } /** An input for mutations affecting `PrincipalEntity` */ export interface PrincipalEntityInput { createdAt?: string; /** The organization this principal is scoped to */ entityId: string; id?: string; /** Denormalized owner_id from principals table for RLS */ ownerId: string; /** The principal this scoping row belongs to */ principalId: string; updatedAt?: string; } /** An input for mutations affecting `RoleType` */ export interface RoleTypeInput { id: number; name: string; } /** An input for mutations affecting `User` */ export interface UserInput { createdAt?: string; displayName?: string; id?: string; profilePicture?: ConstructiveInternalTypeImage; type?: number; updatedAt?: string; username?: string; } /** An input for mutations affecting `WebauthnCredential` */ export interface WebauthnCredentialInput { /** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */ backupEligible?: boolean; /** Current backup state; updated on each successful sign-in assertion. */ backupState?: boolean; createdAt?: string; /** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */ credentialDeviceType: string; /** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */ credentialId: string; id?: string; /** Timestamp of the most recent successful sign-in assertion using this credential. */ lastUsedAt?: string; /** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */ name?: string; ownerId?: string; /** COSE-encoded public key bytes from the authenticator attestation. */ publicKey: Base64EncodedBinary; /** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */ signCount?: string; /** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */ transports?: string[]; updatedAt?: string; /** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */ webauthnUserId: string; } /** An interval of time that has passed where the smallest distinct unit is a second. */ export interface IntervalInput { /** A quantity of days. */ days?: number; /** A quantity of hours. */ hours?: number; /** A quantity of minutes. */ minutes?: number; /** A quantity of months. */ months?: number; /** * A quantity of seconds. This is the only non-integer field, as all the other * fields will dump their overflow into a smaller unit of time. Intervals don’t * have a smaller unit than seconds. */ seconds?: number; /** A quantity of years. */ years?: number; } /** A filter to be used against `PrincipalEntity` object types. All fields are combined with a logical ‘and.’ */ export interface PrincipalEntityFilter { /** Checks for all expressions in this list. */ and?: PrincipalEntityFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `entity` relation. */ entity?: UserFilter; /** Filter by the object’s `entityId` field. */ entityId?: UUIDFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: PrincipalEntityFilter; /** Checks for any expressions in this list. */ or?: PrincipalEntityFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `principal` relation. */ principal?: PrincipalFilter; /** Filter by the object’s `principalId` field. */ principalId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } /** A filter to be used against `PrincipalScopeOverride` object types. All fields are combined with a logical ‘and.’ */ export interface PrincipalScopeOverrideFilter { /** Filter by the object’s `allowedMask` field. */ allowedMask?: BitStringFilter; /** Checks for all expressions in this list. */ and?: PrincipalScopeOverrideFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isActive` field. */ isActive?: BooleanFilter; /** Filter by the object’s `isReadOnly` field. */ isReadOnly?: BooleanFilter; /** Filter by the object’s `membershipType` field. */ membershipType?: IntFilter; /** Negates the expression. */ not?: PrincipalScopeOverrideFilter; /** Checks for any expressions in this list. */ or?: PrincipalScopeOverrideFilter[]; /** Filter by the object’s `principal` relation. */ principal?: PrincipalFilter; /** Filter by the object’s `principalId` field. */ principalId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Filter by the object’s `useAdminOwner` field. */ useAdminOwner?: BooleanFilter; } /** A filter to be used against `AuditLogAuth` object types. All fields are combined with a logical ‘and.’ */ export interface AuditLogAuthFilter { /** Filter by the object’s `actor` relation. */ actor?: UserFilter; /** A related `actor` exists. */ actorExists?: boolean; /** Filter by the object’s `actorId` field. */ actorId?: UUIDFilter; /** Checks for all expressions in this list. */ and?: AuditLogAuthFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `event` field. */ event?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `ipAddress` field. */ ipAddress?: InternetAddressFilter; /** Negates the expression. */ not?: AuditLogAuthFilter; /** Checks for any expressions in this list. */ or?: AuditLogAuthFilter[]; /** Filter by the object’s `origin` field. */ origin?: ConstructiveInternalTypeOriginFilter; /** Filter by the object’s `success` field. */ success?: BooleanFilter; /** Filter by the object’s `userAgent` field. */ userAgent?: StringFilter; } /** A filter to be used against `CryptoAddress` object types. All fields are combined with a logical ‘and.’ */ export interface CryptoAddressFilter { /** Filter by the object’s `address` field. */ address?: StringFilter; /** Checks for all expressions in this list. */ and?: CryptoAddressFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isPrimary` field. */ isPrimary?: BooleanFilter; /** Filter by the object’s `isVerified` field. */ isVerified?: BooleanFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: CryptoAddressFilter; /** Checks for any expressions in this list. */ or?: CryptoAddressFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } /** A filter to be used against `Email` object types. All fields are combined with a logical ‘and.’ */ export interface EmailFilter { /** Checks for all expressions in this list. */ and?: EmailFilter[]; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `email` field. */ email?: ConstructiveInternalTypeEmailFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isPrimary` field. */ isPrimary?: BooleanFilter; /** Filter by the object’s `isVerified` field. */ isVerified?: BooleanFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: EmailFilter; /** Checks for any expressions in this list. */ or?: EmailFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } /** A filter to be used against `PhoneNumber` object types. All fields are combined with a logical ‘and.’ */ export interface PhoneNumberFilter { /** Checks for all expressions in this list. */ and?: PhoneNumberFilter[]; /** Filter by the object’s `cc` field. */ cc?: StringFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isPrimary` field. */ isPrimary?: BooleanFilter; /** Filter by the object’s `isVerified` field. */ isVerified?: BooleanFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: PhoneNumberFilter; /** Filter by the object’s `number` field. */ number?: StringFilter; /** Checks for any expressions in this list. */ or?: PhoneNumberFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; } /** A filter to be used against `Principal` object types. All fields are combined with a logical ‘and.’ */ export interface PrincipalFilter { /** Checks for all expressions in this list. */ and?: PrincipalFilter[]; /** Filter by the object’s `bypassStepUp` field. */ bypassStepUp?: BooleanFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `isReadOnly` field. */ isReadOnly?: BooleanFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: PrincipalFilter; /** Checks for any expressions in this list. */ or?: PrincipalFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `principalEntities` relation. */ principalEntities?: PrincipalToManyPrincipalEntityFilter; /** `principalEntities` exist. */ principalEntitiesExist?: boolean; /** Filter by the object’s `principalScopeOverrides` relation. */ principalScopeOverrides?: PrincipalToManyPrincipalScopeOverrideFilter; /** `principalScopeOverrides` exist. */ principalScopeOverridesExist?: boolean; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Filter by the object’s `useAdminOwner` field. */ useAdminOwner?: BooleanFilter; /** Filter by the object’s `user` relation. */ user?: UserFilter; /** Filter by the object’s `userId` field. */ userId?: UUIDFilter; } /** A filter to be used against `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */ export interface WebauthnCredentialFilter { /** Checks for all expressions in this list. */ and?: WebauthnCredentialFilter[]; /** Filter by the object’s `backupEligible` field. */ backupEligible?: BooleanFilter; /** Filter by the object’s `backupState` field. */ backupState?: BooleanFilter; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `credentialDeviceType` field. */ credentialDeviceType?: StringFilter; /** Filter by the object’s `credentialId` field. */ credentialId?: StringFilter; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Filter by the object’s `lastUsedAt` field. */ lastUsedAt?: DatetimeFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: WebauthnCredentialFilter; /** Checks for any expressions in this list. */ or?: WebauthnCredentialFilter[]; /** Filter by the object’s `owner` relation. */ owner?: UserFilter; /** Filter by the object’s `ownerId` field. */ ownerId?: UUIDFilter; /** Filter by the object’s `publicKey` field. */ publicKey?: Base64EncodedBinaryFilter; /** Filter by the object’s `signCount` field. */ signCount?: BigIntFilter; /** Filter by the object’s `transports` field. */ transports?: StringListFilter; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Filter by the object’s `webauthnUserId` field. */ webauthnUserId?: StringFilter; } /** A filter to be used against Datetime fields. All fields are combined with a logical ‘and.’ */ export interface DatetimeFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } /** A filter to be used against `User` object types. All fields are combined with a logical ‘and.’ */ export interface UserFilter { /** Checks for all expressions in this list. */ and?: UserFilter[]; /** Filter by the object’s `authAuditLog` relation. */ authAuditLog?: UserToManyAuditLogAuthFilter; /** `authAuditLog` exist. */ authAuditLogExist?: boolean; /** Filter by the object’s `createdAt` field. */ createdAt?: DatetimeFilter; /** Filter by the object’s `cryptoAddresses` relation. */ cryptoAddresses?: UserToManyCryptoAddressFilter; /** `cryptoAddresses` exist. */ cryptoAddressesExist?: boolean; /** Filter by the object’s `displayName` field. */ displayName?: StringTrgmFilter; /** Filter by the object’s `emails` relation. */ emails?: UserToManyEmailFilter; /** `emails` exist. */ emailsExist?: boolean; /** Filter by the object’s `id` field. */ id?: UUIDFilter; /** Negates the expression. */ not?: UserFilter; /** Checks for any expressions in this list. */ or?: UserFilter[]; /** Filter by the object’s `phoneNumbers` relation. */ phoneNumbers?: UserToManyPhoneNumberFilter; /** `phoneNumbers` exist. */ phoneNumbersExist?: boolean; /** Filter by the object’s `principals` relation. */ principals?: UserToManyPrincipalFilter; /** `principals` exist. */ principalsExist?: boolean; /** Filter by the object’s `profilePicture` field. */ profilePicture?: ConstructiveInternalTypeImageFilter; /** Filter by the object’s `roleType` relation. */ roleType?: RoleTypeFilter; /** Filter by the object’s `scopedPrincipals` relation. */ scopedPrincipals?: UserToManyPrincipalEntityFilter; /** `scopedPrincipals` exist. */ scopedPrincipalsExist?: boolean; /** Filter by the object’s `searchTsv` field. */ searchTsv?: FullTextFilter; /** TRGM search on the `display_name` column. */ trgmDisplayName?: TrgmSearchInput; /** TSV search on the `search_tsv` column. */ tsvSearchTsv?: string; /** Filter by the object’s `type` field. */ type?: IntFilter; /** * Composite unified search. Provide a search string and it will be dispatched to * all text-compatible search algorithms (tsvector, BM25, pg_trgm) * simultaneously. When the LLM plugin is active, pgvector also participates via * auto-embedding. Rows matching ANY algorithm are returned. All matching score * fields are populated. */ unifiedSearch?: string; /** Filter by the object’s `updatedAt` field. */ updatedAt?: DatetimeFilter; /** Filter by the object’s `username` field. */ username?: StringTrgmFilter; /** Filter by the object’s `webauthnCredentials` relation. */ webauthnCredentials?: UserToManyWebauthnCredentialFilter; /** `webauthnCredentials` exist. */ webauthnCredentialsExist?: boolean; } /** A filter to be used against UUID fields. All fields are combined with a logical ‘and.’ */ export interface UUIDFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } /** A filter to be used against BitString fields. All fields are combined with a logical ‘and.’ */ export interface BitStringFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } /** A filter to be used against Boolean fields. All fields are combined with a logical ‘and.’ */ export interface BooleanFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: boolean; /** Equal to the specified value. */ equalTo?: boolean; /** Greater than the specified value. */ greaterThan?: boolean; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: boolean; /** Included in the specified list. */ in?: boolean[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: boolean; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: boolean; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: boolean; /** Not equal to the specified value. */ notEqualTo?: boolean; /** Not included in the specified list. */ notIn?: boolean[]; } /** A filter to be used against Int fields. All fields are combined with a logical ‘and.’ */ export interface IntFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: number; /** Equal to the specified value. */ equalTo?: number; /** Greater than the specified value. */ greaterThan?: number; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: number; /** Included in the specified list. */ in?: number[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: number; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: number; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: number; /** Not equal to the specified value. */ notEqualTo?: number; /** Not included in the specified list. */ notIn?: number[]; } /** A filter to be used against String fields. All fields are combined with a logical ‘and.’ */ export interface StringFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Not equal to the specified value, treating null like an ordinary value (case-insensitive). */ distinctFromInsensitive?: string; /** Ends with the specified string (case-sensitive). */ endsWith?: string; /** Ends with the specified string (case-insensitive). */ endsWithInsensitive?: string; /** Equal to the specified value. */ equalTo?: string; /** Equal to the specified value (case-insensitive). */ equalToInsensitive?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than the specified value (case-insensitive). */ greaterThanInsensitive?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Greater than or equal to the specified value (case-insensitive). */ greaterThanOrEqualToInsensitive?: string; /** Included in the specified list. */ in?: string[]; /** Included in the specified list (case-insensitive). */ inInsensitive?: string[]; /** Contains the specified string (case-sensitive). */ includes?: string; /** Contains the specified string (case-insensitive). */ includesInsensitive?: string; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than the specified value (case-insensitive). */ lessThanInsensitive?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Less than or equal to the specified value (case-insensitive). */ lessThanOrEqualToInsensitive?: string; /** Matches the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ like?: string; /** Matches the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ likeInsensitive?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Equal to the specified value, treating null like an ordinary value (case-insensitive). */ notDistinctFromInsensitive?: string; /** Does not end with the specified string (case-sensitive). */ notEndsWith?: string; /** Does not end with the specified string (case-insensitive). */ notEndsWithInsensitive?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not equal to the specified value (case-insensitive). */ notEqualToInsensitive?: string; /** Not included in the specified list. */ notIn?: string[]; /** Not included in the specified list (case-insensitive). */ notInInsensitive?: string[]; /** Does not contain the specified string (case-sensitive). */ notIncludes?: string; /** Does not contain the specified string (case-insensitive). */ notIncludesInsensitive?: string; /** Does not match the specified pattern (case-sensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLike?: string; /** Does not match the specified pattern (case-insensitive). An underscore (_) matches any single character; a percent sign (%) matches any sequence of zero or more characters. */ notLikeInsensitive?: string; /** Does not start with the specified string (case-sensitive). */ notStartsWith?: string; /** Does not start with the specified string (case-insensitive). */ notStartsWithInsensitive?: string; /** Starts with the specified string (case-sensitive). */ startsWith?: string; /** Starts with the specified string (case-insensitive). */ startsWithInsensitive?: string; } /** A filter to be used against InternetAddress fields. All fields are combined with a logical ‘and.’ */ export interface InternetAddressFilter { /** Contained by the specified internet address. */ containedBy?: string; /** Contained by or equal to the specified internet address. */ containedByOrEqualTo?: string; /** Contains the specified internet address. */ contains?: string; /** Contains or contained by the specified internet address. */ containsOrContainedBy?: string; /** Contains or equal to the specified internet address. */ containsOrEqualTo?: string; /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } /** A filter to be used against BigInt fields. All fields are combined with a logical ‘and.’ */ export interface BigIntFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Greater than the specified value. */ greaterThan?: string; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } /** A filter to be used against String List fields. All fields are combined with a logical ‘and.’ */ export interface StringListFilter { /** Any array item is equal to the specified value. */ anyEqualTo?: string; /** Any array item is greater than the specified value. */ anyGreaterThan?: string; /** Any array item is greater than or equal to the specified value. */ anyGreaterThanOrEqualTo?: string; /** Any array item is less than the specified value. */ anyLessThan?: string; /** Any array item is less than or equal to the specified value. */ anyLessThanOrEqualTo?: string; /** Any array item is not equal to the specified value. */ anyNotEqualTo?: string; /** Contained by the specified list of values. */ containedBy?: string[]; /** Contains the specified list of values. */ contains?: string[]; /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string[]; /** Equal to the specified value. */ equalTo?: string[]; /** Greater than the specified value. */ greaterThan?: string[]; /** Greater than or equal to the specified value. */ greaterThanOrEqualTo?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Less than the specified value. */ lessThan?: string[]; /** Less than or equal to the specified value. */ lessThanOrEqualTo?: string[]; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string[]; /** Not equal to the specified value. */ notEqualTo?: string[]; /** Overlaps the specified list of values. */ overlaps?: string[]; } /** A filter to be used against `RoleType` object types. All fields are combined with a logical ‘and.’ */ export interface RoleTypeFilter { /** Checks for all expressions in this list. */ and?: RoleTypeFilter[]; /** Filter by the object’s `id` field. */ id?: IntFilter; /** Filter by the object’s `name` field. */ name?: StringFilter; /** Negates the expression. */ not?: RoleTypeFilter; /** Checks for any expressions in this list. */ or?: RoleTypeFilter[]; } /** A filter to be used against FullText fields. All fields are combined with a logical ‘and.’ */ export interface FullTextFilter { /** Not equal to the specified value, treating null like an ordinary value. */ distinctFrom?: string; /** Equal to the specified value. */ equalTo?: string; /** Included in the specified list. */ in?: string[]; /** Is null (if `true` is specified) or is not null (if `false` is specified). */ isNull?: boolean; /** Performs a full text search on the field. */ matches?: string; /** Equal to the specified value, treating null like an ordinary value. */ notDistinctFrom?: string; /** Not equal to the specified value. */ notEqualTo?: string; /** Not included in the specified list. */ notIn?: string[]; } export interface CheckPasswordPayload { clientMutationId?: string | null; } export type CheckPasswordPayloadSelect = { clientMutationId?: boolean; }; export interface ConfirmDeleteAccountPayload { clientMutationId?: string | null; result?: boolean | null; } export type ConfirmDeleteAccountPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface CreateApiKeyPayload { clientMutationId?: string | null; result?: CreateApiKeyRecord | null; } export type CreateApiKeyPayloadSelect = { clientMutationId?: boolean; result?: { select: CreateApiKeyRecordSelect; }; }; export interface CreateOrgApiKeyPayload { clientMutationId?: string | null; result?: CreateOrgApiKeyRecord | null; } export type CreateOrgApiKeyPayloadSelect = { clientMutationId?: boolean; result?: { select: CreateOrgApiKeyRecordSelect; }; }; export interface CreateOrgPrincipalPayload { clientMutationId?: string | null; result?: string | null; } export type CreateOrgPrincipalPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface DeleteOrgPrincipalPayload { clientMutationId?: string | null; result?: boolean | null; } export type DeleteOrgPrincipalPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface DeletePrincipalPayload { clientMutationId?: string | null; result?: boolean | null; } export type DeletePrincipalPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface DisconnectAccountPayload { clientMutationId?: string | null; result?: boolean | null; } export type DisconnectAccountPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface ExtendTokenExpiresPayload { clientMutationId?: string | null; result?: ExtendTokenExpiresRecord[] | null; } export type ExtendTokenExpiresPayloadSelect = { clientMutationId?: boolean; result?: { select: ExtendTokenExpiresRecordSelect; }; }; export interface ForgotPasswordPayload { clientMutationId?: string | null; } export type ForgotPasswordPayloadSelect = { clientMutationId?: boolean; }; export interface LinkIdentityPayload { clientMutationId?: string | null; result?: boolean | null; } export type LinkIdentityPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface ProvisionBucketPayload { /** The access type applied */ accessType: string; /** The S3 bucket name that was provisioned */ bucketName: string; /** The S3 endpoint (null for AWS S3 default) */ endpoint?: string | null; /** Error message if provisioning failed */ error?: string | null; /** The storage provider used */ provider: string; /** Whether provisioning succeeded */ success: boolean; } export type ProvisionBucketPayloadSelect = { accessType?: boolean; bucketName?: boolean; endpoint?: boolean; error?: boolean; provider?: boolean; success?: boolean; }; export interface ProvisionNewUserPayload { clientMutationId?: string | null; result?: string | null; } export type ProvisionNewUserPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface RequestCrossOriginTokenPayload { clientMutationId?: string | null; result?: string | null; } export type RequestCrossOriginTokenPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface ResetPasswordPayload { clientMutationId?: string | null; result?: boolean | null; } export type ResetPasswordPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface RevokeApiKeyPayload { clientMutationId?: string | null; result?: boolean | null; } export type RevokeApiKeyPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface RevokeOrgApiKeyPayload { clientMutationId?: string | null; result?: boolean | null; } export type RevokeOrgApiKeyPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface RevokeSessionPayload { clientMutationId?: string | null; result?: boolean | null; } export type RevokeSessionPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface SendAccountDeletionEmailPayload { clientMutationId?: string | null; result?: boolean | null; } export type SendAccountDeletionEmailPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface SendVerificationEmailPayload { clientMutationId?: string | null; result?: boolean | null; } export type SendVerificationEmailPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface SetPasswordPayload { clientMutationId?: string | null; result?: boolean | null; } export type SetPasswordPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface SignInPayload { clientMutationId?: string | null; result?: SignInRecord | null; } export type SignInPayloadSelect = { clientMutationId?: boolean; result?: { select: SignInRecordSelect; }; }; export interface SignInCrossOriginPayload { clientMutationId?: string | null; result?: SignInCrossOriginRecord | null; } export type SignInCrossOriginPayloadSelect = { clientMutationId?: boolean; result?: { select: SignInCrossOriginRecordSelect; }; }; export interface SignInSmsOtpPayload { clientMutationId?: string | null; result?: SignInSmsOtpRecord | null; } export type SignInSmsOtpPayloadSelect = { clientMutationId?: boolean; result?: { select: SignInSmsOtpRecordSelect; }; }; export interface SignOutPayload { clientMutationId?: string | null; } export type SignOutPayloadSelect = { clientMutationId?: boolean; }; export interface SignUpPayload { clientMutationId?: string | null; result?: SignUpRecord | null; } export type SignUpPayloadSelect = { clientMutationId?: boolean; result?: { select: SignUpRecordSelect; }; }; export interface SignUpSmsPayload { clientMutationId?: string | null; result?: SignUpSmsRecord | null; } export type SignUpSmsPayloadSelect = { clientMutationId?: boolean; result?: { select: SignUpSmsRecordSelect; }; }; export interface VerifyEmailPayload { clientMutationId?: string | null; result?: boolean | null; } export type VerifyEmailPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface VerifyPasswordPayload { clientMutationId?: string | null; result?: boolean | null; } export type VerifyPasswordPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface VerifyTotpPayload { clientMutationId?: string | null; result?: boolean | null; } export type VerifyTotpPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface CreateAuditLogAuthPayload { /** The `AuditLogAuth` that was created by this mutation. */ auditLogAuth?: AuditLogAuth | null; auditLogAuthEdge?: AuditLogAuthEdge | null; clientMutationId?: string | null; } export type CreateAuditLogAuthPayloadSelect = { auditLogAuth?: { select: AuditLogAuthSelect; }; auditLogAuthEdge?: { select: AuditLogAuthEdgeSelect; }; clientMutationId?: boolean; }; export interface UpdateAuditLogAuthPayload { /** The `AuditLogAuth` that was updated by this mutation. */ auditLogAuth?: AuditLogAuth | null; auditLogAuthEdge?: AuditLogAuthEdge | null; clientMutationId?: string | null; } export type UpdateAuditLogAuthPayloadSelect = { auditLogAuth?: { select: AuditLogAuthSelect; }; auditLogAuthEdge?: { select: AuditLogAuthEdgeSelect; }; clientMutationId?: boolean; }; export interface DeleteAuditLogAuthPayload { /** The `AuditLogAuth` that was deleted by this mutation. */ auditLogAuth?: AuditLogAuth | null; auditLogAuthEdge?: AuditLogAuthEdge | null; clientMutationId?: string | null; } export type DeleteAuditLogAuthPayloadSelect = { auditLogAuth?: { select: AuditLogAuthSelect; }; auditLogAuthEdge?: { select: AuditLogAuthEdgeSelect; }; clientMutationId?: boolean; }; export interface CreateCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was created by this mutation. */ cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } export type CreateCryptoAddressPayloadSelect = { clientMutationId?: boolean; cryptoAddress?: { select: CryptoAddressSelect; }; cryptoAddressEdge?: { select: CryptoAddressEdgeSelect; }; }; export interface UpdateCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was updated by this mutation. */ cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } export type UpdateCryptoAddressPayloadSelect = { clientMutationId?: boolean; cryptoAddress?: { select: CryptoAddressSelect; }; cryptoAddressEdge?: { select: CryptoAddressEdgeSelect; }; }; export interface DeleteCryptoAddressPayload { clientMutationId?: string | null; /** The `CryptoAddress` that was deleted by this mutation. */ cryptoAddress?: CryptoAddress | null; cryptoAddressEdge?: CryptoAddressEdge | null; } export type DeleteCryptoAddressPayloadSelect = { clientMutationId?: boolean; cryptoAddress?: { select: CryptoAddressSelect; }; cryptoAddressEdge?: { select: CryptoAddressEdgeSelect; }; }; export interface CreateEmailPayload { clientMutationId?: string | null; /** The `Email` that was created by this mutation. */ email?: Email | null; emailEdge?: EmailEdge | null; } export type CreateEmailPayloadSelect = { clientMutationId?: boolean; email?: { select: EmailSelect; }; emailEdge?: { select: EmailEdgeSelect; }; }; export interface UpdateEmailPayload { clientMutationId?: string | null; /** The `Email` that was updated by this mutation. */ email?: Email | null; emailEdge?: EmailEdge | null; } export type UpdateEmailPayloadSelect = { clientMutationId?: boolean; email?: { select: EmailSelect; }; emailEdge?: { select: EmailEdgeSelect; }; }; export interface DeleteEmailPayload { clientMutationId?: string | null; /** The `Email` that was deleted by this mutation. */ email?: Email | null; emailEdge?: EmailEdge | null; } export type DeleteEmailPayloadSelect = { clientMutationId?: boolean; email?: { select: EmailSelect; }; emailEdge?: { select: EmailEdgeSelect; }; }; export interface CreatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was created by this mutation. */ phoneNumber?: PhoneNumber | null; phoneNumberEdge?: PhoneNumberEdge | null; } export type CreatePhoneNumberPayloadSelect = { clientMutationId?: boolean; phoneNumber?: { select: PhoneNumberSelect; }; phoneNumberEdge?: { select: PhoneNumberEdgeSelect; }; }; export interface UpdatePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was updated by this mutation. */ phoneNumber?: PhoneNumber | null; phoneNumberEdge?: PhoneNumberEdge | null; } export type UpdatePhoneNumberPayloadSelect = { clientMutationId?: boolean; phoneNumber?: { select: PhoneNumberSelect; }; phoneNumberEdge?: { select: PhoneNumberEdgeSelect; }; }; export interface DeletePhoneNumberPayload { clientMutationId?: string | null; /** The `PhoneNumber` that was deleted by this mutation. */ phoneNumber?: PhoneNumber | null; phoneNumberEdge?: PhoneNumberEdge | null; } export type DeletePhoneNumberPayloadSelect = { clientMutationId?: boolean; phoneNumber?: { select: PhoneNumberSelect; }; phoneNumberEdge?: { select: PhoneNumberEdgeSelect; }; }; export interface CreatePrincipalPayload { clientMutationId?: string | null; result?: string | null; } export type CreatePrincipalPayloadSelect = { clientMutationId?: boolean; result?: boolean; }; export interface CreatePrincipalEntityPayload { clientMutationId?: string | null; /** The `PrincipalEntity` that was created by this mutation. */ principalEntity?: PrincipalEntity | null; principalEntityEdge?: PrincipalEntityEdge | null; } export type CreatePrincipalEntityPayloadSelect = { clientMutationId?: boolean; principalEntity?: { select: PrincipalEntitySelect; }; principalEntityEdge?: { select: PrincipalEntityEdgeSelect; }; }; export interface UpdatePrincipalEntityPayload { clientMutationId?: string | null; /** The `PrincipalEntity` that was updated by this mutation. */ principalEntity?: PrincipalEntity | null; principalEntityEdge?: PrincipalEntityEdge | null; } export type UpdatePrincipalEntityPayloadSelect = { clientMutationId?: boolean; principalEntity?: { select: PrincipalEntitySelect; }; principalEntityEdge?: { select: PrincipalEntityEdgeSelect; }; }; export interface DeletePrincipalEntityPayload { clientMutationId?: string | null; /** The `PrincipalEntity` that was deleted by this mutation. */ principalEntity?: PrincipalEntity | null; principalEntityEdge?: PrincipalEntityEdge | null; } export type DeletePrincipalEntityPayloadSelect = { clientMutationId?: boolean; principalEntity?: { select: PrincipalEntitySelect; }; principalEntityEdge?: { select: PrincipalEntityEdgeSelect; }; }; export interface CreateRoleTypePayload { clientMutationId?: string | null; /** The `RoleType` that was created by this mutation. */ roleType?: RoleType | null; roleTypeEdge?: RoleTypeEdge | null; } export type CreateRoleTypePayloadSelect = { clientMutationId?: boolean; roleType?: { select: RoleTypeSelect; }; roleTypeEdge?: { select: RoleTypeEdgeSelect; }; }; export interface UpdateRoleTypePayload { clientMutationId?: string | null; /** The `RoleType` that was updated by this mutation. */ roleType?: RoleType | null; roleTypeEdge?: RoleTypeEdge | null; } export type UpdateRoleTypePayloadSelect = { clientMutationId?: boolean; roleType?: { select: RoleTypeSelect; }; roleTypeEdge?: { select: RoleTypeEdgeSelect; }; }; export interface DeleteRoleTypePayload { clientMutationId?: string | null; /** The `RoleType` that was deleted by this mutation. */ roleType?: RoleType | null; roleTypeEdge?: RoleTypeEdge | null; } export type DeleteRoleTypePayloadSelect = { clientMutationId?: boolean; roleType?: { select: RoleTypeSelect; }; roleTypeEdge?: { select: RoleTypeEdgeSelect; }; }; export interface CreateUserPayload { clientMutationId?: string | null; /** The `User` that was created by this mutation. */ user?: User | null; userEdge?: UserEdge | null; } export type CreateUserPayloadSelect = { clientMutationId?: boolean; user?: { select: UserSelect; }; userEdge?: { select: UserEdgeSelect; }; }; export interface UpdateUserPayload { clientMutationId?: string | null; /** The `User` that was updated by this mutation. */ user?: User | null; userEdge?: UserEdge | null; } export type UpdateUserPayloadSelect = { clientMutationId?: boolean; user?: { select: UserSelect; }; userEdge?: { select: UserEdgeSelect; }; }; export interface DeleteUserPayload { clientMutationId?: string | null; /** The `User` that was deleted by this mutation. */ user?: User | null; userEdge?: UserEdge | null; } export type DeleteUserPayloadSelect = { clientMutationId?: boolean; user?: { select: UserSelect; }; userEdge?: { select: UserEdgeSelect; }; }; export interface CreateWebauthnCredentialPayload { clientMutationId?: string | null; /** The `WebauthnCredential` that was created by this mutation. */ webauthnCredential?: WebauthnCredential | null; webauthnCredentialEdge?: WebauthnCredentialEdge | null; } export type CreateWebauthnCredentialPayloadSelect = { clientMutationId?: boolean; webauthnCredential?: { select: WebauthnCredentialSelect; }; webauthnCredentialEdge?: { select: WebauthnCredentialEdgeSelect; }; }; export interface UpdateWebauthnCredentialPayload { clientMutationId?: string | null; /** The `WebauthnCredential` that was updated by this mutation. */ webauthnCredential?: WebauthnCredential | null; webauthnCredentialEdge?: WebauthnCredentialEdge | null; } export type UpdateWebauthnCredentialPayloadSelect = { clientMutationId?: boolean; webauthnCredential?: { select: WebauthnCredentialSelect; }; webauthnCredentialEdge?: { select: WebauthnCredentialEdgeSelect; }; }; export interface DeleteWebauthnCredentialPayload { clientMutationId?: string | null; /** The `WebauthnCredential` that was deleted by this mutation. */ webauthnCredential?: WebauthnCredential | null; webauthnCredentialEdge?: WebauthnCredentialEdge | null; } export type DeleteWebauthnCredentialPayloadSelect = { clientMutationId?: boolean; webauthnCredential?: { select: WebauthnCredentialSelect; }; webauthnCredentialEdge?: { select: WebauthnCredentialEdgeSelect; }; }; export interface CreateApiKeyRecord { apiKey?: string | null; expiresAt?: string | null; keyId?: string | null; } export type CreateApiKeyRecordSelect = { apiKey?: boolean; expiresAt?: boolean; keyId?: boolean; }; export interface CreateOrgApiKeyRecord { apiKey?: string | null; expiresAt?: string | null; keyId?: string | null; } export type CreateOrgApiKeyRecordSelect = { apiKey?: boolean; expiresAt?: boolean; keyId?: boolean; }; export interface ExtendTokenExpiresRecord { expiresAt?: string | null; id?: string | null; sessionId?: string | null; } export type ExtendTokenExpiresRecordSelect = { expiresAt?: boolean; id?: boolean; sessionId?: boolean; }; export interface SignInRecord { accessToken?: string | null; accessTokenExpiresAt?: string | null; id?: string | null; isVerified?: boolean | null; mfaChallengeToken?: string | null; mfaRequired?: boolean | null; totpEnabled?: boolean | null; userId?: string | null; } export type SignInRecordSelect = { accessToken?: boolean; accessTokenExpiresAt?: boolean; id?: boolean; isVerified?: boolean; mfaChallengeToken?: boolean; mfaRequired?: boolean; totpEnabled?: boolean; userId?: boolean; }; export interface SignInCrossOriginRecord { accessToken?: string | null; accessTokenExpiresAt?: string | null; id?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; userId?: string | null; } export type SignInCrossOriginRecordSelect = { accessToken?: boolean; accessTokenExpiresAt?: boolean; id?: boolean; isVerified?: boolean; totpEnabled?: boolean; userId?: boolean; }; export interface SignInSmsOtpRecord { accessToken?: string | null; accessTokenExpiresAt?: string | null; userId?: string | null; } export type SignInSmsOtpRecordSelect = { accessToken?: boolean; accessTokenExpiresAt?: boolean; userId?: boolean; }; export interface SignUpRecord { accessToken?: string | null; accessTokenExpiresAt?: string | null; id?: string | null; isVerified?: boolean | null; totpEnabled?: boolean | null; userId?: string | null; } export type SignUpRecordSelect = { accessToken?: boolean; accessTokenExpiresAt?: boolean; id?: boolean; isVerified?: boolean; totpEnabled?: boolean; userId?: boolean; }; export interface SignUpSmsRecord { accessToken?: string | null; accessTokenExpiresAt?: string | null; userId?: string | null; } export type SignUpSmsRecordSelect = { accessToken?: boolean; accessTokenExpiresAt?: boolean; userId?: boolean; }; /** A `AuditLogAuth` edge in the connection. */ export interface AuditLogAuthEdge { cursor?: string | null; /** The `AuditLogAuth` at the end of the edge. */ node?: AuditLogAuth | null; } export type AuditLogAuthEdgeSelect = { cursor?: boolean; node?: { select: AuditLogAuthSelect; }; }; /** A `CryptoAddress` edge in the connection. */ export interface CryptoAddressEdge { cursor?: string | null; /** The `CryptoAddress` at the end of the edge. */ node?: CryptoAddress | null; } export type CryptoAddressEdgeSelect = { cursor?: boolean; node?: { select: CryptoAddressSelect; }; }; /** A `Email` edge in the connection. */ export interface EmailEdge { cursor?: string | null; /** The `Email` at the end of the edge. */ node?: Email | null; } export type EmailEdgeSelect = { cursor?: boolean; node?: { select: EmailSelect; }; }; /** A `PhoneNumber` edge in the connection. */ export interface PhoneNumberEdge { cursor?: string | null; /** The `PhoneNumber` at the end of the edge. */ node?: PhoneNumber | null; } export type PhoneNumberEdgeSelect = { cursor?: boolean; node?: { select: PhoneNumberSelect; }; }; /** A `PrincipalEntity` edge in the connection. */ export interface PrincipalEntityEdge { cursor?: string | null; /** The `PrincipalEntity` at the end of the edge. */ node?: PrincipalEntity | null; } export type PrincipalEntityEdgeSelect = { cursor?: boolean; node?: { select: PrincipalEntitySelect; }; }; /** A `RoleType` edge in the connection. */ export interface RoleTypeEdge { cursor?: string | null; /** The `RoleType` at the end of the edge. */ node?: RoleType | null; } export type RoleTypeEdgeSelect = { cursor?: boolean; node?: { select: RoleTypeSelect; }; }; /** A `User` edge in the connection. */ export interface UserEdge { cursor?: string | null; /** The `User` at the end of the edge. */ node?: User | null; } export type UserEdgeSelect = { cursor?: boolean; node?: { select: UserSelect; }; }; /** A `WebauthnCredential` edge in the connection. */ export interface WebauthnCredentialEdge { cursor?: string | null; /** The `WebauthnCredential` at the end of the edge. */ node?: WebauthnCredential | null; } export type WebauthnCredentialEdgeSelect = { cursor?: boolean; node?: { select: WebauthnCredentialSelect; }; };