import { JsonObject, GeneratedSchema } from './../foundations/index.js'; /** * * @remarks This is a type for database creation. * @see {@link UserSsoIdentity} for the original type. */ export type CreateUserSsoIdentity = { tenantId?: string; id: string; userId: string; /** Unique provider identifier. Issuer of the OIDC connectors, entityId of the SAML providers */ issuer: string; /** Provider user identity id */ identityId: string; detail?: JsonObject; /** Known issue: created_at uses timestamp instead of timestamptz */ createdAt?: number; updatedAt?: number; ssoConnectorId: string; }; export type UserSsoIdentity = { tenantId: string; id: string; userId: string; /** Unique provider identifier. Issuer of the OIDC connectors, entityId of the SAML providers */ issuer: string; /** Provider user identity id */ identityId: string; detail: JsonObject; /** Known issue: created_at uses timestamp instead of timestamptz */ createdAt: number; updatedAt: number; ssoConnectorId: string; }; export type UserSsoIdentityKeys = 'tenantId' | 'id' | 'userId' | 'issuer' | 'identityId' | 'detail' | 'createdAt' | 'updatedAt' | 'ssoConnectorId'; export declare const UserSsoIdentities: GeneratedSchema;