/**
 * 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<string, unknown>;
    notEqualTo?: Record<string, unknown>;
    distinctFrom?: Record<string, unknown>;
    notDistinctFrom?: Record<string, unknown>;
    contains?: Record<string, unknown>;
    containedBy?: Record<string, 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;
    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;
}
/** Registry of valid config keys — declares which config entries the platform recognizes */
export interface PlatformConfigDefinition {
    /** Unique identifier for this config definition */
    id: string;
    createdAt?: string | null;
    updatedAt?: string | null;
    /** Config key name (must match config table name for resolution) */
    name?: string | null;
    /** Human-readable description of what this config key controls */
    description?: string | null;
    /** Default value used when no config entry exists for a namespace */
    defaultValue?: string | null;
    /** Whether this row was seeded as a built-in config definition */
    isBuiltIn?: boolean | null;
    /** Key-value metadata for filtering and grouping config definitions */
    labels?: Record<string, unknown> | null;
    /** Freeform metadata annotations for config definitions */
    annotations?: Record<string, unknown> | null;
}
/** App-level plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed */
export interface PlatformConfig {
    /** Unique identifier for this config entry */
    id: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId?: string | null;
    /** Key name identifying the config entry */
    name?: string | null;
    /** Plaintext config value */
    value?: string | null;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: Record<string, unknown> | null;
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown> | null;
    /** Human-readable note about this config entry */
    description?: string | null;
    createdAt?: string | null;
    updatedAt?: string | null;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string | null;
}
export interface ConnectionResult<T> {
    nodes: T[];
    totalCount: number;
    pageInfo: PageInfo;
}
export interface PageInfo {
    hasNextPage: boolean;
    hasPreviousPage: boolean;
    startCursor?: string | null;
    endCursor?: string | null;
}
export interface PlatformConfigDefinitionRelations {
}
export interface PlatformConfigRelations {
}
export type PlatformConfigDefinitionWithRelations = PlatformConfigDefinition & PlatformConfigDefinitionRelations;
export type PlatformConfigWithRelations = PlatformConfig & PlatformConfigRelations;
export type PlatformConfigDefinitionSelect = {
    id?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    name?: boolean;
    description?: boolean;
    defaultValue?: boolean;
    isBuiltIn?: boolean;
    labels?: boolean;
    annotations?: boolean;
};
export type PlatformConfigSelect = {
    id?: boolean;
    namespaceId?: boolean;
    name?: boolean;
    value?: boolean;
    labels?: boolean;
    annotations?: boolean;
    description?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    expiresAt?: boolean;
};
export interface PlatformConfigDefinitionFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `defaultValue` field. */
    defaultValue?: StringFilter;
    /** Filter by the object’s `isBuiltIn` field. */
    isBuiltIn?: BooleanFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Checks for all expressions in this list. */
    and?: PlatformConfigDefinitionFilter[];
    /** Checks for any expressions in this list. */
    or?: PlatformConfigDefinitionFilter[];
    /** Negates the expression. */
    not?: PlatformConfigDefinitionFilter;
}
export interface PlatformConfigFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `value` field. */
    value?: StringFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `expiresAt` field. */
    expiresAt?: DatetimeFilter;
    /** Checks for all expressions in this list. */
    and?: PlatformConfigFilter[];
    /** Checks for any expressions in this list. */
    or?: PlatformConfigFilter[];
    /** Negates the expression. */
    not?: PlatformConfigFilter;
}
export type PlatformConfigDefinitionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DEFAULT_VALUE_ASC' | 'DEFAULT_VALUE_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC';
export type PlatformConfigOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'VALUE_ASC' | 'VALUE_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC';
export interface CreatePlatformConfigDefinitionInput {
    clientMutationId?: string;
    platformConfigDefinition: {
        name: string;
        description?: string;
        defaultValue?: string;
        isBuiltIn?: boolean;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
    };
}
export interface PlatformConfigDefinitionPatch {
    name?: string | null;
    description?: string | null;
    defaultValue?: string | null;
    isBuiltIn?: boolean | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
}
export interface UpdatePlatformConfigDefinitionInput {
    clientMutationId?: string;
    id: string;
    platformConfigDefinitionPatch: PlatformConfigDefinitionPatch;
}
export interface DeletePlatformConfigDefinitionInput {
    clientMutationId?: string;
    id: string;
}
export interface CreatePlatformConfigInput {
    clientMutationId?: string;
    platformConfig: {
        namespaceId: string;
        name: string;
        value?: string;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
        description?: string;
        expiresAt?: string;
    };
}
export interface PlatformConfigPatch {
    namespaceId?: string | null;
    name?: string | null;
    value?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    description?: string | null;
    expiresAt?: string | null;
}
export interface UpdatePlatformConfigInput {
    clientMutationId?: string;
    id: string;
    platformConfigPatch: PlatformConfigPatch;
}
export interface DeletePlatformConfigInput {
    clientMutationId?: string;
    id: string;
}
export declare const connectionFieldsMap: Record<string, Record<string, string>>;
export interface PlatformSecretsDelInput {
    clientMutationId?: string;
    secretName?: string;
    namespaceId?: string;
}
export interface OrgSecretsDelInput {
    clientMutationId?: string;
    ownerId?: string;
    secretName?: string;
    namespaceId?: string;
}
export interface PlatformSecretsRemoveArrayInput {
    clientMutationId?: string;
    secretNames?: string[];
    namespaceId?: string;
}
export interface OrgSecretsRemoveArrayInput {
    clientMutationId?: string;
    ownerId?: string;
    secretNames?: string[];
    namespaceId?: string;
}
export interface PlatformSecretsRotateInput {
    clientMutationId?: string;
    secretName?: string;
    secretValue?: string;
    namespaceId?: string;
    algo?: string;
}
export interface PlatformSecretsSetInput {
    clientMutationId?: string;
    secretName?: string;
    secretValue?: string;
    secretNamespaceId?: string;
    algo?: string;
}
export interface OrgSecretsRotateInput {
    clientMutationId?: string;
    ownerId?: string;
    secretName?: string;
    secretValue?: string;
    namespaceId?: string;
    algo?: string;
}
export interface OrgSecretsSetInput {
    clientMutationId?: string;
    scopeOwnerId?: string;
    secretName?: string;
    secretValue?: string;
    secretNamespaceId?: string;
    algo?: 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;
}
/** An input for mutations affecting `PlatformConfigDefinition` */
export interface PlatformConfigDefinitionInput {
    /** Unique identifier for this config definition */
    id?: string;
    createdAt?: string;
    updatedAt?: string;
    /** Config key name (must match config table name for resolution) */
    name: string;
    /** Human-readable description of what this config key controls */
    description?: string;
    /** Default value used when no config entry exists for a namespace */
    defaultValue?: string;
    /** Whether this row was seeded as a built-in config definition */
    isBuiltIn?: boolean;
    /** Key-value metadata for filtering and grouping config definitions */
    labels?: Record<string, unknown>;
    /** Freeform metadata annotations for config definitions */
    annotations?: Record<string, unknown>;
}
/** An input for mutations affecting `PlatformConfig` */
export interface PlatformConfigInput {
    /** Unique identifier for this config entry */
    id?: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId: string;
    /** Key name identifying the config entry */
    name: string;
    /** Plaintext config value */
    value?: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: Record<string, unknown>;
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown>;
    /** Human-readable note about this config entry */
    description?: string;
    createdAt?: string;
    updatedAt?: string;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string;
}
export interface PlatformSecretsDelPayload {
    clientMutationId?: string | null;
}
export type PlatformSecretsDelPayloadSelect = {
    clientMutationId?: boolean;
};
export interface OrgSecretsDelPayload {
    clientMutationId?: string | null;
}
export type OrgSecretsDelPayloadSelect = {
    clientMutationId?: boolean;
};
export interface PlatformSecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export type PlatformSecretsRemoveArrayPayloadSelect = {
    clientMutationId?: boolean;
};
export interface OrgSecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export type OrgSecretsRemoveArrayPayloadSelect = {
    clientMutationId?: boolean;
};
export interface PlatformSecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type PlatformSecretsRotatePayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface PlatformSecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type PlatformSecretsSetPayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface OrgSecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type OrgSecretsRotatePayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface OrgSecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type OrgSecretsSetPayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface ProvisionBucketPayload {
    /** Whether provisioning succeeded */
    success: boolean;
    /** The S3 bucket name that was provisioned */
    bucketName: string;
    /** The access type applied */
    accessType: string;
    /** The storage provider used */
    provider: string;
    /** The S3 endpoint (null for AWS S3 default) */
    endpoint?: string | null;
    /** Error message if provisioning failed */
    error?: string | null;
}
export type ProvisionBucketPayloadSelect = {
    success?: boolean;
    bucketName?: boolean;
    accessType?: boolean;
    provider?: boolean;
    endpoint?: boolean;
    error?: boolean;
};
export interface CreatePlatformConfigDefinitionPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfigDefinition` that was created by this mutation. */
    platformConfigDefinition?: PlatformConfigDefinition | null;
    platformConfigDefinitionEdge?: PlatformConfigDefinitionEdge | null;
}
export type CreatePlatformConfigDefinitionPayloadSelect = {
    clientMutationId?: boolean;
    platformConfigDefinition?: {
        select: PlatformConfigDefinitionSelect;
    };
    platformConfigDefinitionEdge?: {
        select: PlatformConfigDefinitionEdgeSelect;
    };
};
export interface UpdatePlatformConfigDefinitionPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfigDefinition` that was updated by this mutation. */
    platformConfigDefinition?: PlatformConfigDefinition | null;
    platformConfigDefinitionEdge?: PlatformConfigDefinitionEdge | null;
}
export type UpdatePlatformConfigDefinitionPayloadSelect = {
    clientMutationId?: boolean;
    platformConfigDefinition?: {
        select: PlatformConfigDefinitionSelect;
    };
    platformConfigDefinitionEdge?: {
        select: PlatformConfigDefinitionEdgeSelect;
    };
};
export interface DeletePlatformConfigDefinitionPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfigDefinition` that was deleted by this mutation. */
    platformConfigDefinition?: PlatformConfigDefinition | null;
    platformConfigDefinitionEdge?: PlatformConfigDefinitionEdge | null;
}
export type DeletePlatformConfigDefinitionPayloadSelect = {
    clientMutationId?: boolean;
    platformConfigDefinition?: {
        select: PlatformConfigDefinitionSelect;
    };
    platformConfigDefinitionEdge?: {
        select: PlatformConfigDefinitionEdgeSelect;
    };
};
export interface CreatePlatformConfigPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfig` that was created by this mutation. */
    platformConfig?: PlatformConfig | null;
    platformConfigEdge?: PlatformConfigEdge | null;
}
export type CreatePlatformConfigPayloadSelect = {
    clientMutationId?: boolean;
    platformConfig?: {
        select: PlatformConfigSelect;
    };
    platformConfigEdge?: {
        select: PlatformConfigEdgeSelect;
    };
};
export interface UpdatePlatformConfigPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfig` that was updated by this mutation. */
    platformConfig?: PlatformConfig | null;
    platformConfigEdge?: PlatformConfigEdge | null;
}
export type UpdatePlatformConfigPayloadSelect = {
    clientMutationId?: boolean;
    platformConfig?: {
        select: PlatformConfigSelect;
    };
    platformConfigEdge?: {
        select: PlatformConfigEdgeSelect;
    };
};
export interface DeletePlatformConfigPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfig` that was deleted by this mutation. */
    platformConfig?: PlatformConfig | null;
    platformConfigEdge?: PlatformConfigEdge | null;
}
export type DeletePlatformConfigPayloadSelect = {
    clientMutationId?: boolean;
    platformConfig?: {
        select: PlatformConfigSelect;
    };
    platformConfigEdge?: {
        select: PlatformConfigEdgeSelect;
    };
};
/** A `PlatformConfigDefinition` edge in the connection. */
export interface PlatformConfigDefinitionEdge {
    cursor?: string | null;
    /** The `PlatformConfigDefinition` at the end of the edge. */
    node?: PlatformConfigDefinition | null;
}
export type PlatformConfigDefinitionEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: PlatformConfigDefinitionSelect;
    };
};
/** A `PlatformConfig` edge in the connection. */
export interface PlatformConfigEdge {
    cursor?: string | null;
    /** The `PlatformConfig` at the end of the edge. */
    node?: PlatformConfig | null;
}
export type PlatformConfigEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: PlatformConfigSelect;
    };
};
