/**
 * 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 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;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: 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;
}
/** Namespace-backed plaintext key-value config store (like a k8s ConfigMap); admin-only, fully CRUD-exposed */
export interface Config {
    /** Unique identifier for this config entry */
    id: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId?: string | null;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId?: string | null;
    /** Key name identifying the config entry */
    name?: string | null;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: 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 PlatformInternalSecret {
    id: string;
    name?: string | null;
    namespaceId?: string | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    createdAt?: string | null;
    updatedAt?: string | null;
    rotatedAt?: string | null;
    retiredAt?: string | null;
}
export interface PlatformSecret {
    id: string;
    name?: string | null;
    provider?: string | null;
    namespaceId?: string | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    createdAt?: string | null;
    updatedAt?: string | null;
    rotatedAt?: string | null;
    retiredAt?: string | null;
}
export interface Secret {
    databaseId?: string | null;
    id: string;
    name?: string | null;
    provider?: string | null;
    namespaceId?: string | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    createdAt?: string | null;
    updatedAt?: string | null;
    rotatedAt?: string | null;
    retiredAt?: 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 PlatformConfigRelations {
}
export interface ConfigRelations {
}
export interface PlatformInternalSecretRelations {
}
export interface PlatformSecretRelations {
}
export interface SecretRelations {
}
export type PlatformConfigWithRelations = PlatformConfig & PlatformConfigRelations;
export type ConfigWithRelations = Config & ConfigRelations;
export type PlatformInternalSecretWithRelations = PlatformInternalSecret & PlatformInternalSecretRelations;
export type PlatformSecretWithRelations = PlatformSecret & PlatformSecretRelations;
export type SecretWithRelations = Secret & SecretRelations;
export type PlatformConfigSelect = {
    id?: boolean;
    namespaceId?: boolean;
    name?: boolean;
    provider?: boolean;
    value?: boolean;
    labels?: boolean;
    annotations?: boolean;
    description?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    expiresAt?: boolean;
};
export type ConfigSelect = {
    id?: boolean;
    namespaceId?: boolean;
    databaseId?: boolean;
    name?: boolean;
    provider?: boolean;
    value?: boolean;
    labels?: boolean;
    annotations?: boolean;
    description?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    expiresAt?: boolean;
};
export type PlatformInternalSecretSelect = {
    id?: boolean;
    name?: boolean;
    namespaceId?: boolean;
    description?: boolean;
    labels?: boolean;
    annotations?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    rotatedAt?: boolean;
    retiredAt?: boolean;
};
export type PlatformSecretSelect = {
    id?: boolean;
    name?: boolean;
    provider?: boolean;
    namespaceId?: boolean;
    description?: boolean;
    labels?: boolean;
    annotations?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    rotatedAt?: boolean;
    retiredAt?: boolean;
};
export type SecretSelect = {
    databaseId?: boolean;
    id?: boolean;
    name?: boolean;
    provider?: boolean;
    namespaceId?: boolean;
    description?: boolean;
    labels?: boolean;
    annotations?: boolean;
    createdAt?: boolean;
    updatedAt?: boolean;
    rotatedAt?: boolean;
    retiredAt?: boolean;
};
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 `provider` field. */
    provider?: 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 interface ConfigFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Filter by the object’s `databaseId` field. */
    databaseId?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `provider` field. */
    provider?: 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?: ConfigFilter[];
    /** Checks for any expressions in this list. */
    or?: ConfigFilter[];
    /** Negates the expression. */
    not?: ConfigFilter;
}
export interface PlatformInternalSecretFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Checks for all expressions in this list. */
    and?: PlatformInternalSecretFilter[];
    /** Checks for any expressions in this list. */
    or?: PlatformInternalSecretFilter[];
    /** Negates the expression. */
    not?: PlatformInternalSecretFilter;
}
export interface PlatformSecretFilter {
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Checks for all expressions in this list. */
    and?: PlatformSecretFilter[];
    /** Checks for any expressions in this list. */
    or?: PlatformSecretFilter[];
    /** Negates the expression. */
    not?: PlatformSecretFilter;
}
export interface SecretFilter {
    /** Filter by the object’s `databaseId` field. */
    databaseId?: UUIDFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Checks for all expressions in this list. */
    and?: SecretFilter[];
    /** Checks for any expressions in this list. */
    or?: SecretFilter[];
    /** Negates the expression. */
    not?: SecretFilter;
}
export type PlatformConfigOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_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 type ConfigOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_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 type PlatformInternalSecretOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC';
export type PlatformSecretOrderBy = 'NATURAL' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC';
export type SecretOrderBy = 'NATURAL' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC';
export interface CreatePlatformConfigInput {
    clientMutationId?: string;
    platformConfig: {
        namespaceId: string;
        name: string;
        provider?: string;
        value?: string;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
        description?: string;
        expiresAt?: string;
    };
}
export interface PlatformConfigPatch {
    namespaceId?: string | null;
    name?: string | null;
    provider?: 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 interface CreateConfigInput {
    clientMutationId?: string;
    config: {
        namespaceId: string;
        databaseId: string;
        name: string;
        provider?: string;
        value?: string;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
        description?: string;
        expiresAt?: string;
    };
}
export interface ConfigPatch {
    namespaceId?: string | null;
    databaseId?: string | null;
    name?: string | null;
    provider?: string | null;
    value?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    description?: string | null;
    expiresAt?: string | null;
}
export interface UpdateConfigInput {
    clientMutationId?: string;
    id: string;
    configPatch: ConfigPatch;
}
export interface DeleteConfigInput {
    clientMutationId?: string;
    id: string;
}
export interface CreatePlatformInternalSecretInput {
    clientMutationId?: string;
    platformInternalSecret: {
        name?: string;
        namespaceId?: string;
        description?: string;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
        rotatedAt?: string;
        retiredAt?: string;
    };
}
export interface PlatformInternalSecretPatch {
    name?: string | null;
    namespaceId?: string | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    rotatedAt?: string | null;
    retiredAt?: string | null;
}
export interface UpdatePlatformInternalSecretInput {
    clientMutationId?: string;
    id: string;
    platformInternalSecretPatch: PlatformInternalSecretPatch;
}
export interface DeletePlatformInternalSecretInput {
    clientMutationId?: string;
    id: string;
}
export interface CreatePlatformSecretInput {
    clientMutationId?: string;
    platformSecret: {
        name?: string;
        provider?: string;
        namespaceId?: string;
        description?: string;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
        rotatedAt?: string;
        retiredAt?: string;
    };
}
export interface PlatformSecretPatch {
    name?: string | null;
    provider?: string | null;
    namespaceId?: string | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    rotatedAt?: string | null;
    retiredAt?: string | null;
}
export interface UpdatePlatformSecretInput {
    clientMutationId?: string;
    id: string;
    platformSecretPatch: PlatformSecretPatch;
}
export interface DeletePlatformSecretInput {
    clientMutationId?: string;
    id: string;
}
export interface CreateSecretInput {
    clientMutationId?: string;
    secret: {
        databaseId?: string;
        name?: string;
        provider?: string;
        namespaceId?: string;
        description?: string;
        labels?: Record<string, unknown>;
        annotations?: Record<string, unknown>;
        rotatedAt?: string;
        retiredAt?: string;
    };
}
export interface SecretPatch {
    databaseId?: string | null;
    name?: string | null;
    provider?: string | null;
    namespaceId?: string | null;
    description?: string | null;
    labels?: Record<string, unknown> | null;
    annotations?: Record<string, unknown> | null;
    rotatedAt?: string | null;
    retiredAt?: 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 PlatformInternalSecretsDelInput {
    clientMutationId?: string;
    secretName?: string;
    namespaceId?: string;
}
export interface PlatformSecretsDelInput {
    clientMutationId?: string;
    secretName?: string;
    namespaceId?: string;
}
export interface _SecretsDelInput {
    clientMutationId?: string;
    databaseId?: string;
    secretName?: string;
    namespaceId?: string;
}
export interface PlatformInternalSecretsRemoveArrayInput {
    clientMutationId?: string;
    secretNames?: string[];
    namespaceId?: string;
}
export interface PlatformSecretsRemoveArrayInput {
    clientMutationId?: string;
    secretNames?: string[];
    namespaceId?: string;
}
export interface _SecretsRemoveArrayInput {
    clientMutationId?: string;
    databaseId?: string;
    secretNames?: string[];
    namespaceId?: string;
}
export interface PlatformInternalSecretsRotateInput {
    clientMutationId?: string;
    secretName?: string;
    secretValue?: string;
    namespaceId?: string;
    algo?: string;
}
export interface PlatformInternalSecretsSetInput {
    clientMutationId?: string;
    secretName?: string;
    secretValue?: string;
    secretNamespaceId?: string;
    algo?: string;
}
export interface PlatformSecretsRotateInput {
    clientMutationId?: string;
    secretName?: string;
    secretValue?: string;
    namespaceId?: string;
    algo?: string;
}
export interface _SecretsRotateInput {
    clientMutationId?: string;
    databaseId?: string;
    secretName?: string;
    secretValue?: string;
    namespaceId?: string;
    algo?: string;
}
export interface PlatformSecretsSetInput {
    clientMutationId?: string;
    secretName?: string;
    secretValue?: string;
    secretNamespaceId?: string;
    algo?: string;
    provider?: string;
}
export interface _SecretsSetInput {
    clientMutationId?: string;
    scopeDatabaseId?: string;
    secretName?: string;
    secretValue?: string;
    secretNamespaceId?: string;
    algo?: string;
    provider?: 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 `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;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: 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;
}
/** An input for mutations affecting `Config` */
export interface ConfigInput {
    /** Unique identifier for this config entry */
    id?: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId: string;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId: string;
    /** Key name identifying the config entry */
    name: string;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: 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;
}
/** An input for mutations affecting `PlatformInternalSecret` */
export interface PlatformInternalSecretInput {
    id?: string;
    name?: string;
    namespaceId?: string;
    description?: string;
    labels?: Record<string, unknown>;
    annotations?: Record<string, unknown>;
    createdAt?: string;
    updatedAt?: string;
    rotatedAt?: string;
    retiredAt?: string;
}
/** An input for mutations affecting `PlatformSecret` */
export interface PlatformSecretInput {
    id?: string;
    name?: string;
    provider?: string;
    namespaceId?: string;
    description?: string;
    labels?: Record<string, unknown>;
    annotations?: Record<string, unknown>;
    createdAt?: string;
    updatedAt?: string;
    rotatedAt?: string;
    retiredAt?: string;
}
/** An input for mutations affecting `Secret` */
export interface SecretInput {
    databaseId?: string;
    id?: string;
    name?: string;
    provider?: string;
    namespaceId?: string;
    description?: string;
    labels?: Record<string, unknown>;
    annotations?: Record<string, unknown>;
    createdAt?: string;
    updatedAt?: string;
    rotatedAt?: string;
    retiredAt?: string;
}
export interface PlatformInternalSecretsDelPayload {
    clientMutationId?: string | null;
}
export type PlatformInternalSecretsDelPayloadSelect = {
    clientMutationId?: boolean;
};
export interface PlatformSecretsDelPayload {
    clientMutationId?: string | null;
}
export type PlatformSecretsDelPayloadSelect = {
    clientMutationId?: boolean;
};
export interface _SecretsDelPayload {
    clientMutationId?: string | null;
}
export type _SecretsDelPayloadSelect = {
    clientMutationId?: boolean;
};
export interface PlatformInternalSecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export type PlatformInternalSecretsRemoveArrayPayloadSelect = {
    clientMutationId?: boolean;
};
export interface PlatformSecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export type PlatformSecretsRemoveArrayPayloadSelect = {
    clientMutationId?: boolean;
};
export interface _SecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export type _SecretsRemoveArrayPayloadSelect = {
    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 PlatformSecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type PlatformSecretsRotatePayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface _SecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type _SecretsRotatePayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface PlatformSecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type PlatformSecretsSetPayloadSelect = {
    clientMutationId?: boolean;
    result?: boolean;
};
export interface _SecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export type _SecretsSetPayloadSelect = {
    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 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;
    };
};
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 CreatePlatformInternalSecretPayload {
    clientMutationId?: string | null;
    /** The `PlatformInternalSecret` that was created by this mutation. */
    platformInternalSecret?: PlatformInternalSecret | null;
}
export type CreatePlatformInternalSecretPayloadSelect = {
    clientMutationId?: boolean;
    platformInternalSecret?: {
        select: PlatformInternalSecretSelect;
    };
};
export interface CreatePlatformSecretPayload {
    clientMutationId?: string | null;
    /** The `PlatformSecret` that was created by this mutation. */
    platformSecret?: PlatformSecret | null;
}
export type CreatePlatformSecretPayloadSelect = {
    clientMutationId?: boolean;
    platformSecret?: {
        select: PlatformSecretSelect;
    };
};
export interface CreateSecretPayload {
    clientMutationId?: string | null;
    /** The `Secret` that was created by this mutation. */
    secret?: Secret | null;
}
export type CreateSecretPayloadSelect = {
    clientMutationId?: boolean;
    secret?: {
        select: SecretSelect;
    };
};
/** 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;
    };
};
/** 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;
    };
};
