/**
 * 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;
}
/** Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed */
export interface Config {
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown> | null;
    createdAt?: string | null;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId?: string | null;
    /** Human-readable note about this config entry */
    description?: string | null;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string | null;
    /** Unique identifier for this config entry */
    id: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: Record<string, unknown> | null;
    /** Key name identifying the config entry */
    name?: string | null;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId?: string | null;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: string | null;
    updatedAt?: string | null;
    /** Plaintext config value */
    value?: string | null;
}
/** Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed */
export interface PlatformConfig {
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown> | null;
    createdAt?: string | null;
    /** Human-readable note about this config entry */
    description?: string | null;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string | null;
    /** Unique identifier for this config entry */
    id: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: Record<string, unknown> | null;
    /** Key name identifying the config entry */
    name?: string | null;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId?: string | null;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: string | null;
    updatedAt?: string | null;
    /** Plaintext config value */
    value?: string | null;
}
export interface PlatformInternalSecret {
    annotations?: Record<string, unknown> | null;
    createdAt?: string | null;
    description?: string | null;
    id: string;
    labels?: Record<string, unknown> | null;
    name?: string | null;
    namespaceId?: string | null;
    retiredAt?: string | null;
    rotatedAt?: string | null;
    updatedAt?: string | null;
}
export interface PlatformSecret {
    annotations?: Record<string, unknown> | null;
    createdAt?: string | null;
    description?: string | null;
    id: string;
    labels?: Record<string, unknown> | null;
    name?: string | null;
    namespaceId?: string | null;
    provider?: string | null;
    retiredAt?: string | null;
    rotatedAt?: string | null;
    updatedAt?: string | null;
}
export interface Secret {
    annotations?: Record<string, unknown> | null;
    createdAt?: string | null;
    databaseId?: string | null;
    description?: string | null;
    id: string;
    labels?: Record<string, unknown> | null;
    name?: string | null;
    namespaceId?: string | null;
    provider?: string | null;
    retiredAt?: string | null;
    rotatedAt?: string | null;
    updatedAt?: 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 ConfigRelations {
}
export interface PlatformConfigRelations {
}
export interface PlatformInternalSecretRelations {
}
export interface PlatformSecretRelations {
}
export interface SecretRelations {
}
export type ConfigWithRelations = Config & ConfigRelations;
export type PlatformConfigWithRelations = PlatformConfig & PlatformConfigRelations;
export type PlatformInternalSecretWithRelations = PlatformInternalSecret & PlatformInternalSecretRelations;
export type PlatformSecretWithRelations = PlatformSecret & PlatformSecretRelations;
export type SecretWithRelations = Secret & SecretRelations;
export type ConfigSelect = {
    annotations?: boolean;
    createdAt?: boolean;
    databaseId?: boolean;
    description?: boolean;
    expiresAt?: boolean;
    id?: boolean;
    labels?: boolean;
    name?: boolean;
    namespaceId?: boolean;
    provider?: boolean;
    updatedAt?: boolean;
    value?: boolean;
};
export type PlatformConfigSelect = {
    annotations?: boolean;
    createdAt?: boolean;
    description?: boolean;
    expiresAt?: boolean;
    id?: boolean;
    labels?: boolean;
    name?: boolean;
    namespaceId?: boolean;
    provider?: boolean;
    updatedAt?: boolean;
    value?: boolean;
};
export type PlatformInternalSecretSelect = {
    annotations?: boolean;
    createdAt?: boolean;
    description?: boolean;
    id?: boolean;
    labels?: boolean;
    name?: boolean;
    namespaceId?: boolean;
    retiredAt?: boolean;
    rotatedAt?: boolean;
    updatedAt?: boolean;
};
export type PlatformSecretSelect = {
    annotations?: boolean;
    createdAt?: boolean;
    description?: boolean;
    id?: boolean;
    labels?: boolean;
    name?: boolean;
    namespaceId?: boolean;
    provider?: boolean;
    retiredAt?: boolean;
    rotatedAt?: boolean;
    updatedAt?: boolean;
};
export type SecretSelect = {
    annotations?: boolean;
    createdAt?: boolean;
    databaseId?: boolean;
    description?: boolean;
    id?: boolean;
    labels?: boolean;
    name?: boolean;
    namespaceId?: boolean;
    provider?: boolean;
    retiredAt?: boolean;
    rotatedAt?: boolean;
    updatedAt?: boolean;
};
export interface ConfigFilter {
    /** Checks for all expressions in this list. */
    and?: ConfigFilter[];
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `databaseId` field. */
    databaseId?: UUIDFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `expiresAt` field. */
    expiresAt?: DatetimeFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: ConfigFilter;
    /** Checks for any expressions in this list. */
    or?: ConfigFilter[];
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `value` field. */
    value?: StringFilter;
}
export interface PlatformConfigFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformConfigFilter[];
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `expiresAt` field. */
    expiresAt?: DatetimeFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: PlatformConfigFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformConfigFilter[];
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `value` field. */
    value?: StringFilter;
}
export interface PlatformInternalSecretFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformInternalSecretFilter[];
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: PlatformInternalSecretFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformInternalSecretFilter[];
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
export interface PlatformSecretFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformSecretFilter[];
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: PlatformSecretFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformSecretFilter[];
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
export interface SecretFilter {
    /** Checks for all expressions in this list. */
    and?: SecretFilter[];
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `databaseId` field. */
    databaseId?: UUIDFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: SecretFilter;
    /** Checks for any expressions in this list. */
    or?: SecretFilter[];
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
export type ConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
export type PlatformConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
export type PlatformInternalSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
export type PlatformSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
export type SecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
export interface CreateConfigInput {
    clientMutationId?: string;
    config: {
        annotations?: Record<string, unknown>;
        databaseId: string;
        description?: string;
        expiresAt?: string;
        labels?: Record<string, unknown>;
        name: string;
        namespaceId: string;
        provider?: string;
        value?: string;
    };
}
export interface ConfigPatch {
    annotations?: Record<string, unknown> | null;
    databaseId?: string | null;
    description?: string | null;
    expiresAt?: string | null;
    labels?: Record<string, unknown> | null;
    name?: string | null;
    namespaceId?: string | null;
    provider?: string | null;
    value?: string | null;
}
export interface UpdateConfigInput {
    clientMutationId?: string;
    id: string;
    configPatch: ConfigPatch;
}
export interface DeleteConfigInput {
    clientMutationId?: string;
    id: string;
}
export interface CreatePlatformConfigInput {
    clientMutationId?: string;
    platformConfig: {
        annotations?: Record<string, unknown>;
        description?: string;
        expiresAt?: string;
        labels?: Record<string, unknown>;
        name: string;
        namespaceId: string;
        provider?: string;
        value?: string;
    };
}
export interface PlatformConfigPatch {
    annotations?: Record<string, unknown> | null;
    description?: string | null;
    expiresAt?: string | null;
    labels?: Record<string, unknown> | null;
    name?: string | null;
    namespaceId?: string | null;
    provider?: string | null;
    value?: string | null;
}
export interface UpdatePlatformConfigInput {
    clientMutationId?: string;
    id: string;
    platformConfigPatch: PlatformConfigPatch;
}
export interface DeletePlatformConfigInput {
    clientMutationId?: string;
    id: string;
}
export interface CreatePlatformInternalSecretInput {
    clientMutationId?: string;
    platformInternalSecret: {
        annotations?: Record<string, unknown>;
        description?: string;
        labels?: Record<string, unknown>;
        name?: string;
        namespaceId: string;
        retiredAt?: string;
        rotatedAt?: string;
    };
}
export interface PlatformInternalSecretPatch {
    annotations?: Record<string, unknown> | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    name?: string | null;
    namespaceId?: string | null;
    retiredAt?: string | null;
    rotatedAt?: string | null;
}
export interface UpdatePlatformInternalSecretInput {
    clientMutationId?: string;
    id: string;
    platformInternalSecretPatch: PlatformInternalSecretPatch;
}
export interface DeletePlatformInternalSecretInput {
    clientMutationId?: string;
    id: string;
}
export interface CreatePlatformSecretInput {
    clientMutationId?: string;
    platformSecret: {
        annotations?: Record<string, unknown>;
        description?: string;
        labels?: Record<string, unknown>;
        name?: string;
        namespaceId: string;
        provider?: string;
        retiredAt?: string;
        rotatedAt?: string;
    };
}
export interface PlatformSecretPatch {
    annotations?: Record<string, unknown> | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    name?: string | null;
    namespaceId?: string | null;
    provider?: string | null;
    retiredAt?: string | null;
    rotatedAt?: string | null;
}
export interface UpdatePlatformSecretInput {
    clientMutationId?: string;
    id: string;
    platformSecretPatch: PlatformSecretPatch;
}
export interface DeletePlatformSecretInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateSecretInput {
    clientMutationId?: string;
    secret: {
        annotations?: Record<string, unknown>;
        databaseId: string;
        description?: string;
        labels?: Record<string, unknown>;
        name?: string;
        namespaceId: string;
        provider?: string;
        retiredAt?: string;
        rotatedAt?: string;
    };
}
export interface SecretPatch {
    annotations?: Record<string, unknown> | null;
    databaseId?: string | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    name?: string | null;
    namespaceId?: string | null;
    provider?: string | null;
    retiredAt?: string | null;
    rotatedAt?: string | null;
}
export interface UpdateSecretInput {
    clientMutationId?: string;
    id: string;
    secretPatch: SecretPatch;
}
export interface DeleteSecretInput {
    clientMutationId?: string;
    id: string;
}
export declare const connectionFieldsMap: Record<string, Record<string, string>>;
export interface _SecretsDelInput {
    clientMutationId?: string;
    databaseId?: string;
    namespaceId?: string;
    secretName?: string;
}
export interface _SecretsRemoveArrayInput {
    clientMutationId?: string;
    databaseId?: string;
    namespaceId?: string;
    secretNames?: string[];
}
export interface _SecretsRotateInput {
    algo?: string;
    clientMutationId?: string;
    databaseId?: string;
    namespaceId?: string;
    secretName?: string;
    secretValue?: string;
}
export interface _SecretsSetInput {
    algo?: string;
    clientMutationId?: string;
    provider?: string;
    scopeDatabaseId?: string;
    secretName?: string;
    secretNamespaceId?: string;
    secretValue?: string;
}
export interface PlatformInternalSecretsDelInput {
    clientMutationId?: string;
    namespaceId?: string;
    secretName?: string;
}
export interface PlatformInternalSecretsRemoveArrayInput {
    clientMutationId?: string;
    namespaceId?: string;
    secretNames?: string[];
}
export interface PlatformInternalSecretsRotateInput {
    algo?: string;
    clientMutationId?: string;
    namespaceId?: string;
    secretName?: string;
    secretValue?: string;
}
export interface PlatformInternalSecretsSetInput {
    algo?: string;
    clientMutationId?: string;
    secretName?: string;
    secretNamespaceId?: string;
    secretValue?: string;
}
export interface PlatformSecretsDelInput {
    clientMutationId?: string;
    namespaceId?: string;
    secretName?: string;
}
export interface PlatformSecretsRemoveArrayInput {
    clientMutationId?: string;
    namespaceId?: string;
    secretNames?: string[];
}
export interface PlatformSecretsRotateInput {
    algo?: string;
    clientMutationId?: string;
    namespaceId?: string;
    secretName?: string;
    secretValue?: string;
}
export interface PlatformSecretsSetInput {
    algo?: string;
    clientMutationId?: string;
    provider?: string;
    secretName?: string;
    secretNamespaceId?: string;
    secretValue?: 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 `Config` */
export interface ConfigInput {
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown>;
    createdAt?: string;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId: string;
    /** Human-readable note about this config entry */
    description?: string;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string;
    /** Unique identifier for this config entry */
    id?: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: Record<string, unknown>;
    /** Key name identifying the config entry */
    name: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId: string;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: string;
    updatedAt?: string;
    /** Plaintext config value */
    value?: string;
}
/** An input for mutations affecting `PlatformConfig` */
export interface PlatformConfigInput {
    /** Freeform metadata for tooling and operational notes */
    annotations?: Record<string, unknown>;
    createdAt?: string;
    /** Human-readable note about this config entry */
    description?: string;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string;
    /** Unique identifier for this config entry */
    id?: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: Record<string, unknown>;
    /** Key name identifying the config entry */
    name: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId: string;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: string;
    updatedAt?: string;
    /** Plaintext config value */
    value?: string;
}
export interface _SecretsDelPayload {
    clientMutationId?: string | null;
}
export type _SecretsDelPayloadSelect = {
    clientMutationId?: boolean;
};
export interface _SecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export type _SecretsRemoveArrayPayloadSelect = {
    clientMutationId?: boolean;
};
export interface _SecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type _SecretsRotatePayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface _SecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type _SecretsSetPayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface PlatformInternalSecretsDelPayload {
    clientMutationId?: string | null;
}
export type PlatformInternalSecretsDelPayloadSelect = {
    clientMutationId?: boolean;
};
export interface PlatformInternalSecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export type PlatformInternalSecretsRemoveArrayPayloadSelect = {
    clientMutationId?: boolean;
};
export interface PlatformInternalSecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type PlatformInternalSecretsRotatePayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface PlatformInternalSecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type PlatformInternalSecretsSetPayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface PlatformSecretsDelPayload {
    clientMutationId?: string | null;
}
export type PlatformSecretsDelPayloadSelect = {
    clientMutationId?: boolean;
};
export interface PlatformSecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export type PlatformSecretsRemoveArrayPayloadSelect = {
    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 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 CreateConfigPayload {
    clientMutationId?: string | null;
    /** The `Config` that was created by this mutation. */
    config?: Config | null;
    configEdge?: ConfigEdge | null;
}
export type CreateConfigPayloadSelect = {
    clientMutationId?: boolean;
    config?: {
        select: ConfigSelect;
    };
    configEdge?: {
        select: ConfigEdgeSelect;
    };
};
export interface UpdateConfigPayload {
    clientMutationId?: string | null;
    /** The `Config` that was updated by this mutation. */
    config?: Config | null;
    configEdge?: ConfigEdge | null;
}
export type UpdateConfigPayloadSelect = {
    clientMutationId?: boolean;
    config?: {
        select: ConfigSelect;
    };
    configEdge?: {
        select: ConfigEdgeSelect;
    };
};
export interface DeleteConfigPayload {
    clientMutationId?: string | null;
    /** The `Config` that was deleted by this mutation. */
    config?: Config | null;
    configEdge?: ConfigEdge | null;
}
export type DeleteConfigPayloadSelect = {
    clientMutationId?: boolean;
    config?: {
        select: ConfigSelect;
    };
    configEdge?: {
        select: ConfigEdgeSelect;
    };
};
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 `Config` edge in the connection. */
export interface ConfigEdge {
    cursor?: string | null;
    /** The `Config` at the end of the edge. */
    node?: Config | null;
}
export type ConfigEdgeSelect = {
    cursor?: boolean;
    node?: {
        select: ConfigSelect;
    };
};
/** 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;
    };
};
