import { JsonObject, ConfigurableConnectorMetadata, GeneratedSchema } from './../foundations/index.js'; /** * * @remarks This is a type for database creation. * @see {@link Connector} for the original type. */ export type CreateConnector = { tenantId?: string; id: string; syncProfile?: boolean; /** Whether the token storage is enabled for this connector. Only applied for OAuth2/OIDC social connectors. */ enableTokenStorage?: boolean; connectorId: string; config?: JsonObject; metadata?: ConfigurableConnectorMetadata; createdAt?: number; }; export type Connector = { tenantId: string; id: string; syncProfile: boolean; /** Whether the token storage is enabled for this connector. Only applied for OAuth2/OIDC social connectors. */ enableTokenStorage: boolean; connectorId: string; config: JsonObject; metadata: ConfigurableConnectorMetadata; createdAt: number; }; export type ConnectorKeys = 'tenantId' | 'id' | 'syncProfile' | 'enableTokenStorage' | 'connectorId' | 'config' | 'metadata' | 'createdAt'; export declare const Connectors: GeneratedSchema;