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