/**
 * Entity types and filter types
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
export type Base64EncodedBinary = unknown;
export type FunctionRequirement = unknown;
export interface GetAllRecord {
    path: string[] | null;
    data: unknown | null;
}
export interface FunctionApiBinding {
    id: string | null;
    functionDefinitionId: string | null;
    apiId: string | null;
    alias: string | null;
    config: unknown | null;
}
export interface FunctionDeployment {
    id: string | null;
    createdAt: string | null;
    updatedAt: string | null;
    functionDefinitionId: string | null;
    namespaceId: string | null;
    status: string | null;
    serviceUrl: string | null;
    serviceName: string | null;
    revision: number | null;
    image: string | null;
    concurrency: number | null;
    scaleMin: number | null;
    scaleMax: number | null;
    timeoutSeconds: number | null;
    resources: unknown | null;
    lastError: string | null;
    lastErrorAt: string | null;
    errorCount: number | null;
    labels: unknown | null;
    annotations: unknown | null;
    databaseId: string | null;
}
export interface Resource {
    id: string | null;
    createdAt: string | null;
    updatedAt: string | null;
    createdBy: string | null;
    updatedBy: string | null;
    namespaceId: string | null;
    kind: string | null;
    name: string | null;
    slug: string | null;
    spec: unknown | null;
    status: string | null;
    statusObserved: unknown | null;
    lastError: string | null;
    errorCount: number | null;
    labels: unknown | null;
    annotations: unknown | null;
    databaseId: string | null;
}
export interface FunctionGraphRef {
    id: string | null;
    name: string | null;
    databaseId: string | null;
    storeId: string | null;
    commitId: string | null;
}
export interface FunctionGraphStore {
    id: string | null;
    name: string | null;
    databaseId: string | null;
    hash: string | null;
    createdAt: string | null;
}
export interface FunctionGraphObject {
    id: string | null;
    databaseId: string | null;
    kids: string[] | null;
    ktree: string[] | null;
    data: unknown | null;
    createdAt: string | null;
}
export interface FunctionDeploymentEvent {
    createdAt: string | null;
    id: string | null;
    deploymentId: string | null;
    eventType: string | null;
    actorId: string | null;
    message: string | null;
    metadata: unknown | null;
    databaseId: string | null;
}
export interface OrgFunctionExecutionLog {
    createdAt: string | null;
    id: string | null;
    invocationId: string | null;
    taskIdentifier: string | null;
    logLevel: string | null;
    message: string | null;
    metadata: unknown | null;
    actorId: string | null;
}
export interface ResourceEvent {
    createdAt: string | null;
    id: string | null;
    resourceId: string | null;
    eventType: string | null;
    actorId: string | null;
    message: string | null;
    metadata: unknown | null;
    databaseId: string | null;
}
export interface FunctionGraphExecutionOutput {
    createdAt: string | null;
    id: string | null;
    databaseId: string | null;
    hash: Base64EncodedBinary | null;
    data: unknown | null;
}
export interface FunctionGraphCommit {
    id: string | null;
    message: string | null;
    databaseId: string | null;
    storeId: string | null;
    parentIds: string[] | null;
    authorId: string | null;
    committerId: string | null;
    treeId: string | null;
    date: string | null;
}
export interface SecretDefinition {
    id: string | null;
    createdAt: string | null;
    updatedAt: string | null;
    name: string | null;
    description: string | null;
    isBuiltIn: boolean | null;
    labels: unknown | null;
    annotations: unknown | null;
    databaseId: string | null;
}
export interface FunctionExecutionLog {
    createdAt: string | null;
    id: string | null;
    invocationId: string | null;
    taskIdentifier: string | null;
    logLevel: string | null;
    message: string | null;
    metadata: unknown | null;
    actorId: string | null;
    databaseId: string | null;
}
export interface FunctionGraph {
    id: string | null;
    databaseId: string | null;
    storeId: string | null;
    context: string | null;
    name: string | null;
    description: string | null;
    definitionsCommitId: string | null;
    isValid: boolean | null;
    validationErrors: unknown | null;
    createdBy: string | null;
    createdAt: string | null;
    updatedAt: string | null;
}
export interface FunctionGraphExecutionNodeState {
    createdAt: string | null;
    id: string | null;
    executionId: string | null;
    databaseId: string | null;
    nodeName: string | null;
    nodePath: string[] | null;
    status: string | null;
    startedAt: string | null;
    completedAt: string | null;
    errorCode: string | null;
    errorMessage: string | null;
    outputId: string | null;
}
export interface PlatformNamespace {
    id: string | null;
    createdAt: string | null;
    updatedAt: string | null;
    name: string | null;
    namespaceName: string | null;
    description: string | null;
    isActive: boolean | null;
    labels: unknown | null;
    annotations: unknown | null;
    databaseId: string | null;
    sourceDatabaseId: string | null;
    sourceScope: string | null;
    isManaged: boolean | null;
}
export interface OrgFunctionInvocation {
    createdAt: string | null;
    id: string | null;
    actorId: string | null;
    taskIdentifier: string | null;
    payload: unknown | null;
    status: string | null;
    result: unknown | null;
    error: string | null;
    durationMs: number | null;
    jobId: string | null;
    startedAt: string | null;
    completedAt: string | null;
    parentInvocationId: string | null;
    graphExecutionId: string | null;
}
export interface FunctionInvocation {
    createdAt: string | null;
    id: string | null;
    actorId: string | null;
    databaseId: string | null;
    taskIdentifier: string | null;
    payload: unknown | null;
    status: string | null;
    result: unknown | null;
    error: string | null;
    durationMs: number | null;
    jobId: string | null;
    startedAt: string | null;
    completedAt: string | null;
    parentInvocationId: string | null;
    graphExecutionId: string | null;
}
export interface PlatformNamespaceEvent {
    createdAt: string | null;
    id: string | null;
    namespaceId: string | null;
    eventType: string | null;
    actorId: string | null;
    message: string | null;
    metadata: unknown | null;
    cpuMillicores: number | null;
    memoryBytes: string | null;
    storageBytes: string | null;
    networkIngressBytes: string | null;
    networkEgressBytes: string | null;
    podCount: number | null;
    metrics: unknown | null;
    databaseId: string | null;
}
export interface FunctionGraphExecution {
    startedAt: string | null;
    id: string | null;
    graphId: string | null;
    invocationId: string | null;
    databaseId: string | null;
    outputNode: string | null;
    outputPort: string | null;
    status: string | null;
    inputPayload: unknown | null;
    outputPayload: unknown | null;
    nodeOutputs: unknown | null;
    executionPlan: unknown | null;
    currentWave: number | null;
    parentExecutionId: string | null;
    parentNodeName: string | null;
    definitionsCommitId: string | null;
    tickCount: number | null;
    completedAt: string | null;
    maxTicks: number | null;
    maxPendingJobs: number | null;
    timeoutAt: string | null;
    errorCode: string | null;
    errorMessage: string | null;
}
export interface FunctionDefinition {
    id: string | null;
    createdAt: string | null;
    updatedAt: string | null;
    scope: string | null;
    name: string | null;
    taskIdentifier: string | null;
    description: string | null;
    isInvocable: boolean | null;
    maxAttempts: number | null;
    priority: number | null;
    queueName: string | null;
    runtime: string | null;
    image: string | null;
    concurrency: number | null;
    scaleMin: number | null;
    scaleMax: number | null;
    timeoutSeconds: number | null;
    resources: unknown | null;
    isBuiltIn: boolean | null;
    requiredSecrets: FunctionRequirement[] | null;
    requiredConfigs: FunctionRequirement[] | null;
    requiredBuckets: string[] | null;
    requiredModels: string[] | null;
    inputs: unknown | null;
    outputs: unknown | null;
    props: unknown | null;
    volatile: boolean | null;
    icon: string | null;
    category: 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;
}
