import { FieldAttributeToObject, RemoveFieldsWithReturnedFalse } from "../../db/field.mjs"; import { ExtractPluginField, HasRequiredKeys, InferPluginFieldFromTuple, IsAny, OverrideMerge, Prettify, PrettifyDeep, RequiredKeysOf, StripEmptyObjects, UnionToIntersection } from "../../types/helper.mjs"; import { InferInvitation, InferMember, InferOrganization, InferOrganizationRolesFromOption, InferOrganizationZodRolesFromOption, InferTeam, Invitation, InvitationInput, InvitationStatus, Member, MemberInput, Organization, OrganizationInput, OrganizationRole, OrganizationSchema, Team, TeamInput, TeamMember, TeamMemberInput, defaultRolesSchema, invitationSchema, invitationStatus, memberSchema, organizationRoleSchema, organizationSchema, roleSchema, teamMemberSchema, teamSchema } from "../../plugins/organization/schema.mjs"; import { AdminOptions, InferAdminRolesFromOption, SessionWithImpersonatedBy, UserWithRole } from "../../plugins/admin/types.mjs"; import { schema } from "../../plugins/anonymous/schema.mjs"; import { AnonymousOptions, AnonymousSession, UserWithAnonymous } from "../../plugins/anonymous/types.mjs"; import { JWKOptions, JWSAlgorithms, Jwk, JwtOptions, ResolvedSigningKey } from "../../plugins/jwt/types.mjs"; import { MULTI_SESSION_ERROR_CODES } from "../../plugins/multi-session/error-codes.mjs"; import { MultiSessionConfig } from "../../plugins/multi-session/index.mjs"; import { POPUP_TOKEN_STORAGE_KEY } from "../../plugins/oauth-popup/constants.mjs"; import { OAUTH_POPUP_ERROR_CODES } from "../../plugins/oauth-popup/error-codes.mjs"; import { OneTimeTokenOptions } from "../../plugins/one-time-token/index.mjs"; import { PhoneNumberOptions, UserWithPhoneNumber } from "../../plugins/phone-number/types.mjs"; import { BackupCodeOptions, backupCode2fa, encodeBackupCodes, generateBackupCodes, getBackupCodes, verifyBackupCode } from "../../plugins/two-factor/backup-codes/index.mjs"; import { OTPOptions, otp2fa } from "../../plugins/two-factor/otp/index.mjs"; import { TOTPOptions, totp2fa } from "../../plugins/two-factor/totp/index.mjs"; import { TwoFactorOptions, TwoFactorProvider, TwoFactorTable, UserWithTwoFactor } from "../../plugins/two-factor/types.mjs"; import { TWO_FACTOR_ERROR_CODES } from "../../plugins/two-factor/error-code.mjs"; import { inferAdditionalFields } from "../../plugins/additional-fields/client.mjs"; import { USERNAME_ERROR_CODES } from "../../plugins/username/error-codes.mjs"; import { ORGANIZATION_ERROR_CODES } from "../../plugins/organization/error-codes.mjs"; import { AdminClientOptions, adminClient } from "../../plugins/admin/client.mjs"; import { ADMIN_ERROR_CODES } from "../../plugins/admin/error-codes.mjs"; import { anonymousClient } from "../../plugins/anonymous/client.mjs"; import { ANONYMOUS_ERROR_CODES } from "../../plugins/anonymous/error-codes.mjs"; import { customSessionClient } from "../../plugins/custom-session/client.mjs"; import { deviceAuthorizationClient } from "../../plugins/device-authorization/client.mjs"; import { emailOTPClient } from "../../plugins/email-otp/client.mjs"; import { EMAIL_OTP_ERROR_CODES } from "../../plugins/email-otp/error-codes.mjs"; import { jwtClient } from "../../plugins/jwt/client.mjs"; import { LastLoginMethodClientConfig, lastLoginMethodClient } from "../../plugins/last-login-method/client.mjs"; import { magicLinkClient } from "../../plugins/magic-link/client.mjs"; import { multiSessionClient } from "../../plugins/multi-session/client.mjs"; import { SignInPopupOptions, SignInPopupResult, createSignInPopup, getStoredPopupToken, oauthPopupClient, popupBearerFetchPlugin } from "../../plugins/oauth-popup/client.mjs"; import { GoogleOneTapActionOptions, GoogleOneTapOptions, GsiButtonConfiguration, oneTapClient } from "../../plugins/one-tap/client.mjs"; import { oneTimeTokenClient } from "../../plugins/one-time-token/client.mjs"; import { OrganizationClientOptions, clientSideHasPermission, inferOrgAdditionalFields, organizationClient } from "../../plugins/organization/client.mjs"; import { phoneNumberClient } from "../../plugins/phone-number/client.mjs"; import { PHONE_NUMBER_ERROR_CODES } from "../../plugins/phone-number/error-codes.mjs"; import { siweClient } from "../../plugins/siwe/client.mjs"; import { twoFactorClient } from "../../plugins/two-factor/client.mjs"; import { UsernameClientOptions, usernameClient } from "../../plugins/username/client.mjs"; import { InferServerPlugin } from "./infer-plugin.mjs"; export { ADMIN_ERROR_CODES, ANONYMOUS_ERROR_CODES, AdminClientOptions, type AdminOptions, type AnonymousOptions, type AnonymousSession, type BackupCodeOptions, EMAIL_OTP_ERROR_CODES, type ExtractPluginField, type FieldAttributeToObject, GoogleOneTapActionOptions, GoogleOneTapOptions, GsiButtonConfiguration, type HasRequiredKeys, type InferAdminRolesFromOption, type InferInvitation, type InferMember, type InferOrganization, type InferOrganizationRolesFromOption, type InferOrganizationZodRolesFromOption, type InferPluginFieldFromTuple, InferServerPlugin, type InferTeam, type Invitation, type InvitationInput, type InvitationStatus, type IsAny, type JWKOptions, type JWSAlgorithms, type Jwk, type JwtOptions, LastLoginMethodClientConfig, MULTI_SESSION_ERROR_CODES, type Member, type MemberInput, type MultiSessionConfig, OAUTH_POPUP_ERROR_CODES, ORGANIZATION_ERROR_CODES, type OTPOptions, type OneTimeTokenOptions, type Organization, OrganizationClientOptions, type OrganizationInput, type OrganizationRole, type OrganizationSchema, type OverrideMerge, PHONE_NUMBER_ERROR_CODES, POPUP_TOKEN_STORAGE_KEY, type PhoneNumberOptions, type Prettify, type PrettifyDeep, type RemoveFieldsWithReturnedFalse, type RequiredKeysOf, type ResolvedSigningKey, type SessionWithImpersonatedBy, SignInPopupOptions, SignInPopupResult, type StripEmptyObjects, type TOTPOptions, TWO_FACTOR_ERROR_CODES, type Team, type TeamInput, type TeamMember, type TeamMemberInput, type TwoFactorOptions, type TwoFactorProvider, type TwoFactorTable, USERNAME_ERROR_CODES, type UnionToIntersection, type UserWithAnonymous, type UserWithPhoneNumber, type UserWithRole, type UserWithTwoFactor, UsernameClientOptions, adminClient, anonymousClient, type backupCode2fa, clientSideHasPermission, createSignInPopup, customSessionClient, type defaultRolesSchema, deviceAuthorizationClient, emailOTPClient, type encodeBackupCodes, type generateBackupCodes, type getBackupCodes, getStoredPopupToken, inferAdditionalFields, inferOrgAdditionalFields, type invitationSchema, type invitationStatus, jwtClient, lastLoginMethodClient, magicLinkClient, type memberSchema, multiSessionClient, oauthPopupClient, oneTapClient, oneTimeTokenClient, organizationClient, type organizationRoleSchema, type organizationSchema, type otp2fa, phoneNumberClient, popupBearerFetchPlugin, type roleSchema, type schema, siweClient, type teamMemberSchema, type teamSchema, type totp2fa, twoFactorClient, usernameClient, type verifyBackupCode };