@archastro/sdk
    Preparing search index...

    Variable authTokensSchemaConst

    authTokensSchema: ZodObject<
        {
            expires_in: ZodNumber;
            metadata: ZodOptional<
                ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
            >;
            refresh_token: ZodString;
            token: ZodString;
            token_type: ZodString;
            user: ZodObject<
                {
                    alias: ZodOptional<ZodNullable<ZodString>>;
                    app: ZodOptional<ZodNullable<ZodString>>;
                    app_name: ZodOptional<ZodNullable<ZodString>>;
                    created_by_agent_user: ZodOptional<ZodNullable<ZodString>>;
                    created_by_developer: ZodOptional<ZodNullable<ZodString>>;
                    created_by_org: ZodOptional<ZodNullable<ZodString>>;
                    created_by_team: ZodOptional<ZodNullable<ZodString>>;
                    created_by_user: ZodOptional<ZodNullable<ZodString>>;
                    email: ZodOptional<ZodNullable<ZodString>>;
                    id: ZodString;
                    is_system_user: ZodOptional<ZodBoolean>;
                    metadata: ZodOptional<
                        ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
                    >;
                    name: ZodOptional<ZodNullable<ZodString>>;
                    org: ZodOptional<ZodNullable<ZodString>>;
                    org_name: ZodOptional<ZodNullable<ZodString>>;
                    org_role: ZodOptional<ZodNullable<ZodString>>;
                    org_slug: ZodOptional<ZodNullable<ZodString>>;
                    sandbox: ZodOptional<ZodNullable<ZodString>>;
                    sandbox_name: ZodOptional<ZodNullable<ZodString>>;
                },
                "strip",
                ZodTypeAny,
                {
                    alias?: string
                    | null;
                    app?: string | null;
                    app_name?: string | null;
                    created_by_agent_user?: string | null;
                    created_by_developer?: string | null;
                    created_by_org?: string | null;
                    created_by_team?: string | null;
                    created_by_user?: string | null;
                    email?: string | null;
                    id: string;
                    is_system_user?: boolean;
                    metadata?: Record<string, {} | null>;
                    name?: string | null;
                    org?: string | null;
                    org_name?: string | null;
                    org_role?: string | null;
                    org_slug?: string | null;
                    sandbox?: string | null;
                    sandbox_name?: string | null;
                },
                {
                    alias?: string
                    | null;
                    app?: string | null;
                    app_name?: string | null;
                    created_by_agent_user?: string | null;
                    created_by_developer?: string | null;
                    created_by_org?: string | null;
                    created_by_team?: string | null;
                    created_by_user?: string | null;
                    email?: string | null;
                    id: string;
                    is_system_user?: boolean;
                    metadata?: Record<string, {} | null>;
                    name?: string | null;
                    org?: string | null;
                    org_name?: string | null;
                    org_role?: string | null;
                    org_slug?: string | null;
                    sandbox?: string | null;
                    sandbox_name?: string | null;
                },
            >;
        },
        "strip",
        ZodTypeAny,
        {
            expires_in: number;
            metadata?: Record<string, {} | null>;
            refresh_token: string;
            token: string;
            token_type: string;
            user: {
                alias?: string | null;
                app?: string | null;
                app_name?: string | null;
                created_by_agent_user?: string | null;
                created_by_developer?: string | null;
                created_by_org?: string | null;
                created_by_team?: string | null;
                created_by_user?: string | null;
                email?: string | null;
                id: string;
                is_system_user?: boolean;
                metadata?: Record<string, {} | null>;
                name?: string | null;
                org?: string | null;
                org_name?: string | null;
                org_role?: string | null;
                org_slug?: string | null;
                sandbox?: string | null;
                sandbox_name?: string | null;
            };
        },
        {
            expires_in: number;
            metadata?: Record<string, {} | null>;
            refresh_token: string;
            token: string;
            token_type: string;
            user: {
                alias?: string | null;
                app?: string | null;
                app_name?: string | null;
                created_by_agent_user?: string | null;
                created_by_developer?: string | null;
                created_by_org?: string | null;
                created_by_team?: string | null;
                created_by_user?: string | null;
                email?: string | null;
                id: string;
                is_system_user?: boolean;
                metadata?: Record<string, {} | null>;
                name?: string | null;
                org?: string | null;
                org_name?: string | null;
                org_role?: string | null;
                org_slug?: string | null;
                sandbox?: string | null;
                sandbox_name?: string | null;
            };
        },
    > = ...

    Runtime validator for AuthTokens.