@archastro/sdk
    Preparing search index...

    Variable oAuthTokenResponseSchemaConst

    oAuthTokenResponseSchema: ZodObject<
        {
            access_token: ZodString;
            expires_in: ZodNumber;
            refresh_token: ZodOptional<ZodString>;
            scope: ZodOptional<ZodString>;
            token_type: ZodString;
            user: ZodOptional<
                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,
        {
            access_token: string;
            expires_in: number;
            refresh_token?: string;
            scope?: 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;
            };
        },
        {
            access_token: string;
            expires_in: number;
            refresh_token?: string;
            scope?: 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 OAuthTokenResponse.