/**
 * Entity types and filter types
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
export interface DefaultIdsModule {
    id: string | null;
    databaseId: string | null;
}
export interface MembershipTypesModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    tableName: string | null;
}
export interface UserStateModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    tableName: string | null;
}
export interface SessionSecretsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    tableName: string | null;
    sessionsTableId: string | null;
}
export interface ConfigSecretsOrgModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    tableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface DevicesModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    userDevicesTableId: string | null;
    deviceSettingsTableId: string | null;
    userDevicesTable: string | null;
    deviceSettingsTable: string | null;
}
export interface I18NModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    settingsTableId: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface UserCredentialsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    tableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface UserSettingsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    ownerTableId: string | null;
    tableName: string | null;
    apiName: string | null;
}
export interface ConfigSecretsUserModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    tableName: string | null;
    configDefinitionsTableId: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface ConnectedAccountsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    tableId: string | null;
    ownerTableId: string | null;
    tableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface EmailsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    tableId: string | null;
    ownerTableId: string | null;
    tableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface PhoneNumbersModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    tableId: string | null;
    ownerTableId: string | null;
    tableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface RateLimitsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    rateLimitSettingsTableId: string | null;
    ipRateLimitsTableId: string | null;
    rateLimitsTableId: string | null;
    rateLimitSettingsTable: string | null;
    ipRateLimitsTable: string | null;
    rateLimitsTable: string | null;
}
export interface UsersModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    tableName: string | null;
    typeTableId: string | null;
    typeTableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface WebauthnCredentialsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    tableId: string | null;
    ownerTableId: string | null;
    tableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface CryptoAddressesModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    tableId: string | null;
    ownerTableId: string | null;
    tableName: string | null;
    cryptoNetwork: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface DenormalizedTableField {
    id: string | null;
    databaseId: string | null;
    tableId: string | null;
    fieldId: string | null;
    setIds: string[] | null;
    refTableId: string | null;
    refFieldId: string | null;
    refIds: string[] | null;
    useUpdates: boolean | null;
    updateDefaults: boolean | null;
    funcName: string | null;
    funcOrder: number | null;
}
export interface IdentityProvidersModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    tableId: string | null;
    tableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
}
export interface RlsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    sessionCredentialsTableId: string | null;
    sessionsTableId: string | null;
    usersTableId: string | null;
    authenticate: string | null;
    authenticateStrict: string | null;
    currentRole: string | null;
    currentRoleId: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface Blueprint {
    id: string | null;
    ownerId: string | null;
    databaseId: string | null;
    name: string | null;
    displayName: string | null;
    description: string | null;
    definition: unknown | null;
    templateId: string | null;
    definitionHash: string | null;
    tableHashes: unknown | null;
    createdAt: string | null;
    updatedAt: string | null;
}
export interface BlueprintTemplate {
    id: string | null;
    name: string | null;
    version: string | null;
    displayName: string | null;
    description: string | null;
    ownerId: string | null;
    visibility: string | null;
    categories: string[] | null;
    tags: string[] | null;
    definition: unknown | null;
    definitionSchemaVersion: string | null;
    source: string | null;
    complexity: string | null;
    copyCount: number | null;
    forkCount: number | null;
    forkedFromId: string | null;
    definitionHash: string | null;
    tableHashes: unknown | null;
    createdAt: string | null;
    updatedAt: string | null;
}
export interface BlueprintConstruction {
    id: string | null;
    blueprintId: string | null;
    databaseId: string | null;
    schemaId: string | null;
    status: string | null;
    errorDetails: string | null;
    tableMap: unknown | null;
    constructedDefinition: unknown | null;
    constructedAt: string | null;
    createdAt: string | null;
    updatedAt: string | null;
}
export interface CryptoAuthModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    usersTableId: string | null;
    secretsTableId: string | null;
    sessionsTableId: string | null;
    sessionCredentialsTableId: string | null;
    addressesTableId: string | null;
    userField: string | null;
    cryptoNetwork: string | null;
    signInRequestChallenge: string | null;
    signInRecordFailure: string | null;
    signUpWithKey: string | null;
    signInWithChallenge: string | null;
}
export interface SessionsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    sessionsTableId: string | null;
    sessionCredentialsTableId: string | null;
    authSettingsTableId: string | null;
    usersTableId: string | null;
    sessionsDefaultExpiration: string | null;
    sessionsTable: string | null;
    sessionCredentialsTable: string | null;
    authSettingsTable: string | null;
}
export interface SecureTableProvision {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    tableId: string | null;
    tableName: string | null;
    nodes: unknown | null;
    useRls: boolean | null;
    fields: unknown[] | null;
    grants: unknown | null;
    policies: unknown | null;
    outFields: string[] | null;
}
export interface DatabaseProvisionModule {
    id: string | null;
    databaseName: string | null;
    ownerId: string | null;
    subdomain: string | null;
    domain: string | null;
    modules: unknown | null;
    options: unknown | null;
    bootstrapUser: boolean | null;
    status: string | null;
    errorMessage: string | null;
    databaseId: string | null;
    createdAt: string | null;
    updatedAt: string | null;
    completedAt: string | null;
}
export interface ConfigSecretsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    tableId: string | null;
    configDefinitionsTableId: string | null;
    tableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    hasConfig: boolean | null;
}
export interface GraphModule {
    id: string | null;
    databaseId: string | null;
    publicSchemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    scope: string | null;
    prefix: string | null;
    merkleStoreModuleId: string | null;
    graphsTableId: string | null;
    apiName: string | null;
    privateApiName: string | null;
    entityTableId: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    defaultPermissions: string[] | null;
    createdAt: string | null;
}
export interface MerkleStoreModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    objectTableId: string | null;
    storeTableId: string | null;
    commitTableId: string | null;
    refTableId: string | null;
    prefix: string | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    functionPrefix: string | null;
    permissionKey: string | null;
    createdAt: string | null;
}
export interface RateLimitMetersModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    rateLimitStateTableId: string | null;
    rateLimitStateTableName: string | null;
    rateLimitOverridesTableId: string | null;
    rateLimitOverridesTableName: string | null;
    rateWindowLimitsTableId: string | null;
    rateWindowLimitsTableName: string | null;
    checkRateLimitFunction: string | null;
    prefix: string | null;
    defaultPermissions: string[] | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface RealtimeModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    subscriptionsSchemaId: string | null;
    changeLogTableId: string | null;
    listenerNodeTableId: string | null;
    sourceRegistryTableId: string | null;
    retentionHours: number | null;
    premake: number | null;
    interval: string | null;
    notifyChannel: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface WebauthnAuthModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    usersTableId: string | null;
    credentialsTableId: string | null;
    sessionsTableId: string | null;
    sessionCredentialsTableId: string | null;
    sessionSecretsTableId: string | null;
    authSettingsTableId: string | null;
    rpId: string | null;
    rpName: string | null;
    originAllowlist: string[] | null;
    attestationType: string | null;
    requireUserVerification: boolean | null;
    residentKey: string | null;
    challengeExpiry: string | null;
}
export interface FunctionInvocationModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    invocationsTableId: string | null;
    executionLogsTableId: string | null;
    invocationsTableName: string | null;
    executionLogsTableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    defaultPermissions: string[] | null;
}
export interface FunctionModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    definitionsTableId: string | null;
    secretDefinitionsTableId: string | null;
    definitionsTableName: string | null;
    secretDefinitionsTableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    defaultPermissions: string[] | null;
}
export interface InvitesModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    emailsTableId: string | null;
    usersTableId: string | null;
    invitesTableId: string | null;
    claimedInvitesTableId: string | null;
    invitesTableName: string | null;
    claimedInvitesTableName: string | null;
    submitInviteCodeFunction: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface PrincipalAuthModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    principalsTableId: string | null;
    principalEntitiesTableId: string | null;
    principalScopeOverridesTableId: string | null;
    usersTableId: string | null;
    sessionsTableId: string | null;
    sessionCredentialsTableId: string | null;
    auditsTableId: string | null;
    principalsTableName: string | null;
    createPrincipalFunction: string | null;
    deletePrincipalFunction: string | null;
    createOrgPrincipalFunction: string | null;
    deleteOrgPrincipalFunction: string | null;
    createOrgApiKeyFunction: string | null;
    revokeOrgApiKeyFunction: string | null;
    apiName: string | null;
}
export interface ComputeLogModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    computeLogTableId: string | null;
    computeLogTableName: string | null;
    usageDailyTableId: string | null;
    usageDailyTableName: string | null;
    interval: string | null;
    retention: string | null;
    premake: number | null;
    scope: string | null;
    actorFkTableId: string | null;
    entityFkTableId: string | null;
    prefix: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface InferenceLogModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    inferenceLogTableId: string | null;
    inferenceLogTableName: string | null;
    usageDailyTableId: string | null;
    usageDailyTableName: string | null;
    interval: string | null;
    retention: string | null;
    premake: number | null;
    scope: string | null;
    actorFkTableId: string | null;
    entityFkTableId: string | null;
    prefix: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface NamespaceModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    namespacesTableId: string | null;
    namespaceEventsTableId: string | null;
    namespacesTableName: string | null;
    namespaceEventsTableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    platformNamespacesTableId: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    defaultPermissions: string[] | null;
}
export interface ResourceModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    resourcesTableId: string | null;
    resourceEventsTableId: string | null;
    resourcesTableName: string | null;
    resourceEventsTableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    namespaceModuleId: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    defaultPermissions: string[] | null;
}
export interface StorageLogModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    storageLogTableId: string | null;
    storageLogTableName: string | null;
    usageDailyTableId: string | null;
    usageDailyTableName: string | null;
    interval: string | null;
    retention: string | null;
    premake: number | null;
    scope: string | null;
    actorFkTableId: string | null;
    entityFkTableId: string | null;
    prefix: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface TransferLogModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    transferLogTableId: string | null;
    transferLogTableName: string | null;
    usageDailyTableId: string | null;
    usageDailyTableName: string | null;
    interval: string | null;
    retention: string | null;
    premake: number | null;
    scope: string | null;
    actorFkTableId: string | null;
    entityFkTableId: string | null;
    prefix: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface FunctionDeploymentModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    deploymentsTableId: string | null;
    deploymentEventsTableId: string | null;
    deploymentsTableName: string | null;
    deploymentEventsTableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    functionModuleId: string | null;
    namespaceModuleId: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    defaultPermissions: string[] | null;
}
export interface PlansModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    plansTableId: string | null;
    plansTableName: string | null;
    planLimitsTableId: string | null;
    planLimitsTableName: string | null;
    planPricingTableId: string | null;
    planOverridesTableId: string | null;
    planMeterLimitsTableId: string | null;
    planCapsTableId: string | null;
    applyPlanFunction: string | null;
    applyPlanAggregateFunction: string | null;
    applyBillingPlanFunction: string | null;
    applyPlanCapsFunction: string | null;
    prefix: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface BillingProviderModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    provider: string | null;
    productsTableId: string | null;
    pricesTableId: string | null;
    subscriptionsTableId: string | null;
    billingCustomersTableId: string | null;
    billingCustomersTableName: string | null;
    billingProductsTableId: string | null;
    billingProductsTableName: string | null;
    billingPricesTableId: string | null;
    billingPricesTableName: string | null;
    billingSubscriptionsTableId: string | null;
    billingSubscriptionsTableName: string | null;
    billingWebhookEventsTableId: string | null;
    billingWebhookEventsTableName: string | null;
    processBillingEventFunction: string | null;
    prefix: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface DbUsageModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    tableStatsLogTableId: string | null;
    tableStatsLogTableName: string | null;
    tableStatsDailyTableId: string | null;
    tableStatsDailyTableName: string | null;
    queryStatsLogTableId: string | null;
    queryStatsLogTableName: string | null;
    queryStatsDailyTableId: string | null;
    queryStatsDailyTableName: string | null;
    interval: string | null;
    retention: string | null;
    premake: number | null;
    scope: string | null;
    prefix: string | null;
    defaultPermissions: string[] | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface GraphExecutionModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    graphModuleId: string | null;
    scope: string | null;
    prefix: string | null;
    executionsTableId: string | null;
    outputsTableId: string | null;
    nodeStatesTableId: string | null;
    executionsTableName: string | null;
    outputsTableName: string | null;
    nodeStatesTableName: string | null;
    apiName: string | null;
    privateApiName: string | null;
    entityTableId: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    defaultPermissions: string[] | null;
    createdAt: string | null;
}
export interface HierarchyModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    chartEdgesTableId: string | null;
    chartEdgesTableName: string | null;
    hierarchySprtTableId: string | null;
    hierarchySprtTableName: string | null;
    chartEdgeGrantsTableId: string | null;
    chartEdgeGrantsTableName: string | null;
    entityTableId: string | null;
    usersTableId: string | null;
    scope: string | null;
    prefix: string | null;
    privateSchemaName: string | null;
    sprtTableName: string | null;
    rebuildHierarchyFunction: string | null;
    getSubordinatesFunction: string | null;
    getManagersFunction: string | null;
    isManagerOfFunction: string | null;
    defaultPermissions: string[] | null;
    createdAt: string | null;
}
export interface PermissionsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    tableId: string | null;
    tableName: string | null;
    defaultTableId: string | null;
    defaultTableName: string | null;
    bitlen: number | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    actorTableId: string | null;
    getPaddedMask: string | null;
    getMask: string | null;
    getByMask: string | null;
    getMaskByName: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface NotificationsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    notificationsTableId: string | null;
    readStateTableId: string | null;
    preferencesTableId: string | null;
    channelsTableId: string | null;
    deliveryLogTableId: string | null;
    suppressionsTableId: string | null;
    ownerTableId: string | null;
    userSettingsTableId: string | null;
    organizationSettingsTableId: string | null;
    hasChannels: boolean | null;
    hasPreferences: boolean | null;
    hasSettingsExtension: boolean | null;
    hasDigestMetadata: boolean | null;
    hasSubscriptions: boolean | null;
    defaultPermissions: string[] | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface ProfilesModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    tableId: string | null;
    tableName: string | null;
    profilePermissionsTableId: string | null;
    profilePermissionsTableName: string | null;
    profileGrantsTableId: string | null;
    profileGrantsTableName: string | null;
    profileDefinitionGrantsTableId: string | null;
    profileDefinitionGrantsTableName: string | null;
    profileTemplatesTableId: string | null;
    profileTemplatesTableName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    actorTableId: string | null;
    permissionsTableId: string | null;
    membershipsTableId: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface BillingModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    metersTableId: string | null;
    metersTableName: string | null;
    planSubscriptionsTableId: string | null;
    planSubscriptionsTableName: string | null;
    ledgerTableId: string | null;
    ledgerTableName: string | null;
    balancesTableId: string | null;
    balancesTableName: string | null;
    meterCreditsTableId: string | null;
    meterCreditsTableName: string | null;
    meterSourcesTableId: string | null;
    meterSourcesTableName: string | null;
    meterDefaultsTableId: string | null;
    meterDefaultsTableName: string | null;
    recordUsageFunction: string | null;
    prefix: string | null;
    defaultPermissions: string[] | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface RelationProvision {
    id: string | null;
    databaseId: string | null;
    relationType: string | null;
    sourceTableId: string | null;
    targetTableId: string | null;
    fieldName: string | null;
    deleteAction: string | null;
    isRequired: boolean | null;
    apiRequired: boolean | null;
    junctionTableId: string | null;
    junctionTableName: string | null;
    junctionSchemaId: string | null;
    sourceFieldName: string | null;
    targetFieldName: string | null;
    useCompositeKey: boolean | null;
    createIndex: boolean | null;
    exposeInApi: boolean | null;
    nodes: unknown | null;
    grants: unknown | null;
    policies: unknown | null;
    outFieldId: string | null;
    outJunctionTableId: string | null;
    outSourceFieldId: string | null;
    outTargetFieldId: string | null;
}
export interface UserAuthModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    emailsTableId: string | null;
    usersTableId: string | null;
    secretsTableId: string | null;
    encryptedTableId: string | null;
    sessionsTableId: string | null;
    sessionCredentialsTableId: string | null;
    auditsTableId: string | null;
    auditsTableName: string | null;
    signInFunction: string | null;
    signUpFunction: string | null;
    signOutFunction: string | null;
    setPasswordFunction: string | null;
    resetPasswordFunction: string | null;
    forgotPasswordFunction: string | null;
    sendVerificationEmailFunction: string | null;
    verifyEmailFunction: string | null;
    verifyPasswordFunction: string | null;
    checkPasswordFunction: string | null;
    sendAccountDeletionEmailFunction: string | null;
    deleteAccountFunction: string | null;
    signInCrossOriginFunction: string | null;
    requestCrossOriginTokenFunction: string | null;
    extendTokenExpires: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface AgentModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    threadTableId: string | null;
    messageTableId: string | null;
    taskTableId: string | null;
    promptsTableId: string | null;
    planTableId: string | null;
    agentTableId: string | null;
    personaTableId: string | null;
    resourceTableId: string | null;
    threadTableName: string | null;
    messageTableName: string | null;
    taskTableName: string | null;
    promptsTableName: string | null;
    planTableName: string | null;
    agentTableName: string | null;
    personaTableName: string | null;
    resourceTableName: string | null;
    hasPlans: boolean | null;
    hasResources: boolean | null;
    hasAgents: boolean | null;
    shared: boolean | null;
    apiName: string | null;
    privateApiName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    policies: unknown | null;
    resources: unknown | null;
    provisions: unknown | null;
    defaultPermissions: string[] | null;
}
export interface LimitsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    tableId: string | null;
    tableName: string | null;
    defaultTableId: string | null;
    defaultTableName: string | null;
    limitIncrementFunction: string | null;
    limitDecrementFunction: string | null;
    limitIncrementTrigger: string | null;
    limitDecrementTrigger: string | null;
    limitUpdateTrigger: string | null;
    limitCheckFunction: string | null;
    limitCreditsTableId: string | null;
    eventsTableId: string | null;
    creditCodesTableId: string | null;
    creditCodeItemsTableId: string | null;
    creditRedemptionsTableId: string | null;
    aggregateTableId: string | null;
    limitCapsTableId: string | null;
    limitCapsDefaultsTableId: string | null;
    capCheckTrigger: string | null;
    resolveCapFunction: string | null;
    limitWarningsTableId: string | null;
    limitWarningStateTableId: string | null;
    limitCheckSoftFunction: string | null;
    limitAggregateCheckSoftFunction: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    actorTableId: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface MembershipsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    membershipsTableId: string | null;
    membershipsTableName: string | null;
    membersTableId: string | null;
    membersTableName: string | null;
    membershipDefaultsTableId: string | null;
    membershipDefaultsTableName: string | null;
    membershipSettingsTableId: string | null;
    membershipSettingsTableName: string | null;
    grantsTableId: string | null;
    grantsTableName: string | null;
    actorTableId: string | null;
    limitsTableId: string | null;
    defaultLimitsTableId: string | null;
    permissionsTableId: string | null;
    defaultPermissionsTableId: string | null;
    sprtTableId: string | null;
    adminGrantsTableId: string | null;
    adminGrantsTableName: string | null;
    ownerGrantsTableId: string | null;
    ownerGrantsTableName: string | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    entityTableOwnerId: string | null;
    getOrgFn: string | null;
    actorMaskCheck: string | null;
    actorPermCheck: string | null;
    entityIdsByMask: string | null;
    entityIdsByPerm: string | null;
    entityIdsFunction: string | null;
    memberProfilesTableId: string | null;
    permissionDefaultPermissionsTableId: string | null;
    permissionDefaultGrantsTableId: string | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface EntityTypeProvision {
    id: string | null;
    databaseId: string | null;
    name: string | null;
    prefix: string | null;
    description: string | null;
    parentEntity: string | null;
    tableName: string | null;
    isVisible: boolean | null;
    hasLimits: boolean | null;
    hasProfiles: boolean | null;
    hasLevels: boolean | null;
    hasInvites: boolean | null;
    hasInviteAchievements: boolean | null;
    storage: unknown | null;
    namespaces: unknown | null;
    functions: unknown | null;
    graphs: unknown | null;
    agents: unknown | null;
    skipEntityPolicies: boolean | null;
    tableProvision: unknown | null;
    outMembershipType: number | null;
    outEntityTableId: string | null;
    outEntityTableName: string | null;
    outInstalledModules: string[] | null;
    outStorageModuleId: string | null;
    outBucketsTableId: string | null;
    outFilesTableId: string | null;
    outPathSharesTableId: string | null;
    outInvitesModuleId: string | null;
    outNamespaceModuleId: string | null;
    outNamespacesTableId: string | null;
    outNamespaceEventsTableId: string | null;
    outFunctionModuleId: string | null;
    outDefinitionsTableId: string | null;
    outInvocationsTableId: string | null;
    outExecutionLogsTableId: string | null;
    outSecretDefinitionsTableId: string | null;
    outGraphModuleId: string | null;
    outGraphsTableId: string | null;
    outAgentModuleId: string | null;
}
export interface StorageModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    bucketsTableId: string | null;
    filesTableId: string | null;
    bucketsTableName: string | null;
    filesTableName: string | null;
    scope: string | null;
    prefix: string | null;
    policies: unknown | null;
    provisions: unknown | null;
    entityTableId: string | null;
    endpoint: string | null;
    publicUrlPrefix: string | null;
    provider: string | null;
    allowedOrigins: string[] | null;
    restrictReads: boolean | null;
    hasPathShares: boolean | null;
    pathSharesTableId: string | null;
    uploadUrlExpirySeconds: number | null;
    downloadUrlExpirySeconds: number | null;
    defaultMaxFileSize: string | null;
    maxFilenameLength: number | null;
    cacheTtlSeconds: number | null;
    maxBulkFiles: number | null;
    maxBulkTotalSize: string | null;
    hasVersioning: boolean | null;
    hasContentHash: boolean | null;
    hasCustomKeys: boolean | null;
    hasAuditLog: boolean | null;
    hasConfirmUpload: boolean | null;
    confirmUploadDelay: string | null;
    fileEventsTableId: string | null;
    defaultPermissions: string[] | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface EventsModule {
    id: string | null;
    databaseId: string | null;
    schemaId: string | null;
    privateSchemaId: string | null;
    publicSchemaName: string | null;
    privateSchemaName: string | null;
    eventsTableId: string | null;
    eventsTableName: string | null;
    eventAggregatesTableId: string | null;
    eventAggregatesTableName: string | null;
    eventTypesTableId: string | null;
    eventTypesTableName: string | null;
    levelsTableId: string | null;
    levelsTableName: string | null;
    levelRequirementsTableId: string | null;
    levelRequirementsTableName: string | null;
    levelGrantsTableId: string | null;
    levelGrantsTableName: string | null;
    achievementRewardsTableId: string | null;
    achievementRewardsTableName: string | null;
    recordEvent: string | null;
    removeEvent: string | null;
    tgEvent: string | null;
    tgEventToggle: string | null;
    tgEventToggleBool: string | null;
    tgEventBool: string | null;
    upsertAggregate: string | null;
    tgUpdateAggregates: string | null;
    pruneEvents: string | null;
    stepsRequired: string | null;
    levelAchieved: string | null;
    tgCheckAchievements: string | null;
    grantAchievement: string | null;
    tgAchievementReward: string | null;
    interval: string | null;
    retention: string | null;
    premake: number | null;
    scope: string | null;
    prefix: string | null;
    entityTableId: string | null;
    actorTableId: string | null;
    defaultPermissions: string[] | null;
    apiName: string | null;
    privateApiName: string | null;
}
export interface StringFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
    includes?: string;
    notIncludes?: string;
    includesInsensitive?: string;
    notIncludesInsensitive?: string;
    startsWith?: string;
    notStartsWith?: string;
    startsWithInsensitive?: string;
    notStartsWithInsensitive?: string;
    endsWith?: string;
    notEndsWith?: string;
    endsWithInsensitive?: string;
    notEndsWithInsensitive?: string;
    like?: string;
    notLike?: string;
    likeInsensitive?: string;
    notLikeInsensitive?: string;
}
export interface IntFilter {
    isNull?: boolean;
    equalTo?: number;
    notEqualTo?: number;
    distinctFrom?: number;
    notDistinctFrom?: number;
    in?: number[];
    notIn?: number[];
    lessThan?: number;
    lessThanOrEqualTo?: number;
    greaterThan?: number;
    greaterThanOrEqualTo?: number;
}
export interface FloatFilter {
    isNull?: boolean;
    equalTo?: number;
    notEqualTo?: number;
    distinctFrom?: number;
    notDistinctFrom?: number;
    in?: number[];
    notIn?: number[];
    lessThan?: number;
    lessThanOrEqualTo?: number;
    greaterThan?: number;
    greaterThanOrEqualTo?: number;
}
export interface BooleanFilter {
    isNull?: boolean;
    equalTo?: boolean;
    notEqualTo?: boolean;
}
export interface UUIDFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
}
export interface DatetimeFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface DateFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface JSONFilter {
    isNull?: boolean;
    equalTo?: Record<string, unknown>;
    notEqualTo?: Record<string, unknown>;
    distinctFrom?: Record<string, unknown>;
    notDistinctFrom?: Record<string, unknown>;
    contains?: unknown;
    containedBy?: unknown;
    containsKey?: string;
    containsAllKeys?: string[];
    containsAnyKeys?: string[];
}
export interface BigIntFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface BigFloatFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
}
export interface BitStringFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
}
export interface InternetAddressFilter {
    isNull?: boolean;
    equalTo?: string;
    notEqualTo?: string;
    distinctFrom?: string;
    notDistinctFrom?: string;
    in?: string[];
    notIn?: string[];
    lessThan?: string;
    lessThanOrEqualTo?: string;
    greaterThan?: string;
    greaterThanOrEqualTo?: string;
    contains?: string;
    containedBy?: string;
    containsOrContainedBy?: string;
}
export interface FullTextFilter {
    matches?: string;
}
export interface VectorFilter {
    isNull?: boolean;
    equalTo?: number[];
    notEqualTo?: number[];
    distinctFrom?: number[];
    notDistinctFrom?: number[];
}
export interface StringListFilter {
    isNull?: boolean;
    equalTo?: string[];
    notEqualTo?: string[];
    distinctFrom?: string[];
    notDistinctFrom?: string[];
    lessThan?: string[];
    lessThanOrEqualTo?: string[];
    greaterThan?: string[];
    greaterThanOrEqualTo?: string[];
    contains?: string[];
    containedBy?: string[];
    overlaps?: string[];
    anyEqualTo?: string;
    anyNotEqualTo?: string;
    anyLessThan?: string;
    anyLessThanOrEqualTo?: string;
    anyGreaterThan?: string;
    anyGreaterThanOrEqualTo?: string;
}
export interface IntListFilter {
    isNull?: boolean;
    equalTo?: number[];
    notEqualTo?: number[];
    distinctFrom?: number[];
    notDistinctFrom?: number[];
    lessThan?: number[];
    lessThanOrEqualTo?: number[];
    greaterThan?: number[];
    greaterThanOrEqualTo?: number[];
    contains?: number[];
    containedBy?: number[];
    overlaps?: number[];
    anyEqualTo?: number;
    anyNotEqualTo?: number;
    anyLessThan?: number;
    anyLessThanOrEqualTo?: number;
    anyGreaterThan?: number;
    anyGreaterThanOrEqualTo?: number;
}
export interface UUIDListFilter {
    isNull?: boolean;
    equalTo?: string[];
    notEqualTo?: string[];
    distinctFrom?: string[];
    notDistinctFrom?: string[];
    lessThan?: string[];
    lessThanOrEqualTo?: string[];
    greaterThan?: string[];
    greaterThanOrEqualTo?: string[];
    contains?: string[];
    containedBy?: string[];
    overlaps?: string[];
    anyEqualTo?: string;
    anyNotEqualTo?: string;
    anyLessThan?: string;
    anyLessThanOrEqualTo?: string;
    anyGreaterThan?: string;
    anyGreaterThanOrEqualTo?: string;
}
