/**
 * Entity types and filter types
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
export interface Agent {
    config: unknown | null;
    createdAt: string | null;
    databaseId: string | null;
    id: string | null;
    isEphemeral: boolean | null;
    name: string | null;
    ownerId: string | null;
    parentId: string | null;
    personaId: string | null;
    status: string | null;
    systemPrompt: string | null;
    updatedAt: string | null;
}
export interface AgentMessage {
    actorId: string | null;
    agentId: string | null;
    authorRole: string | null;
    createdAt: string | null;
    databaseId: string | null;
    id: string | null;
    model: string | null;
    parts: unknown | null;
    threadId: string | null;
    updatedAt: string | null;
}
export interface AgentPersona {
    config: unknown | null;
    createdAt: string | null;
    createdBy: string | null;
    databaseId: string | null;
    description: string | null;
    id: string | null;
    isActive: boolean | null;
    name: string | null;
    resources: string[] | null;
    slug: string | null;
    systemPrompt: string | null;
    updatedAt: string | null;
    updatedBy: string | null;
}
export interface AgentPlan {
    createdAt: string | null;
    databaseId: string | null;
    description: string | null;
    id: string | null;
    ownerId: string | null;
    status: string | null;
    threadId: string | null;
    title: string | null;
    updatedAt: string | null;
}
export interface AgentPrompt {
    content: string | null;
    createdAt: string | null;
    createdBy: string | null;
    databaseId: string | null;
    description: string | null;
    id: string | null;
    isDefault: boolean | null;
    metadata: unknown | null;
    name: string | null;
    updatedAt: string | null;
    updatedBy: string | null;
}
export interface AgentResourceChunk {
    agentResourceId: string | null;
    body: string | null;
    chunkIndex: number | null;
    createdAt: string | null;
    embedding: number[] | null;
    embeddingVectorDistance: number | null;
    id: string | null;
    metadata: unknown | null;
    searchScore: number | null;
    updatedAt: string | null;
}
export interface AgentResource {
    archivedAt: string | null;
    body: string | null;
    bodyTrgmSimilarity: number | null;
    createdAt: string | null;
    createdBy: string | null;
    databaseId: string | null;
    description: string | null;
    descriptionTrgmSimilarity: number | null;
    embedding: number[] | null;
    embeddingUpdatedAt: string | null;
    embeddingVectorDistance: number | null;
    id: string | null;
    isActive: boolean | null;
    isArchived: boolean | null;
    keywords: string[] | null;
    kind: string | null;
    kindTrgmSimilarity: number | null;
    metadata: unknown | null;
    search: string | null;
    searchScore: number | null;
    searchTsvRank: number | null;
    slug: string | null;
    title: string | null;
    titleTrgmSimilarity: number | null;
    updatedAt: string | null;
    updatedBy: string | null;
}
export interface AgentTask {
    actorId: string | null;
    approvalFeedback: string | null;
    approvalStatus: string | null;
    approvedAt: string | null;
    approvedBy: string | null;
    createdAt: string | null;
    databaseId: string | null;
    description: string | null;
    error: string | null;
    id: string | null;
    orderIndex: number | null;
    planId: string | null;
    requiresApproval: boolean | null;
    source: string | null;
    status: string | null;
    updatedAt: string | null;
}
export interface AgentThread {
    agentId: string | null;
    archivedAt: string | null;
    createdAt: string | null;
    databaseId: string | null;
    id: string | null;
    isArchived: boolean | null;
    mode: string | null;
    model: string | null;
    ownerId: string | null;
    parentThreadId: string | null;
    promptTemplateId: string | null;
    status: string | null;
    systemPrompt: string | null;
    tags: string[] | null;
    title: string | null;
    updatedAt: string | null;
}
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<string, unknown>;
    notEqualTo?: Record<string, unknown>;
    distinctFrom?: Record<string, unknown>;
    notDistinctFrom?: Record<string, unknown>;
    contains?: unknown;
    containedBy?: unknown;
    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;
    containedBy?: 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;
}
