import { z } from "zod"; import { ResourceView } from "../../pipeline"; export type OnboardingStatus = "ONBOARDING_STATUS_UNSPECIFIED" | "ONBOARDING_STATUS_IN_PROGRESS" | "ONBOARDING_STATUS_COMPLETED"; export declare const OnboardingStatusSchema: z.ZodEnum<["ONBOARDING_STATUS_UNSPECIFIED", "ONBOARDING_STATUS_IN_PROGRESS", "ONBOARDING_STATUS_COMPLETED"]>; export type UserProfile = { displayName?: string; bio?: string; publicEmail?: string; companyName?: string; avatar?: string; socialProfileLinks?: { website?: string; x?: string; github?: string; }; }; export declare const UserProfileSchema: z.ZodObject<{ displayName: z.ZodOptional; bio: z.ZodOptional; publicEmail: z.ZodOptional; companyName: z.ZodOptional; avatar: z.ZodOptional; socialProfileLinks: z.ZodOptional; x: z.ZodOptional; github: z.ZodOptional; }, "strip", z.ZodTypeAny, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }>; export type User = { name: string; id: string; displayName?: string; slug?: string; aliases?: string[]; description?: string; createTime: string; updateTime: string; profile?: UserProfile; email: string; }; export declare const UserSchema: z.ZodObject<{ name: z.ZodString; id: z.ZodString; displayName: z.ZodOptional; slug: z.ZodOptional; aliases: z.ZodOptional>; description: z.ZodOptional; createTime: z.ZodString; updateTime: z.ZodString; profile: z.ZodOptional; bio: z.ZodOptional; publicEmail: z.ZodOptional; companyName: z.ZodOptional; avatar: z.ZodOptional; socialProfileLinks: z.ZodOptional; x: z.ZodOptional; github: z.ZodOptional; }, "strip", z.ZodTypeAny, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }>>; email: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; createTime: string; updateTime: string; email: string; description?: string | undefined; displayName?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; }, { name: string; id: string; createTime: string; updateTime: string; email: string; description?: string | undefined; displayName?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; }>; export type AuthenticatedUser = { name: string; id: string; displayName: string; slug: string; aliases?: string[]; description?: string; createTime: string; updateTime: string; email: string; role?: string; newsletterSubscription: boolean; cookieToken?: string; onboardingStatus: OnboardingStatus; profile?: UserProfile; isEligibleForOrganizationTrial: boolean; }; export declare const AuthenticatedUserSchema: z.ZodObject<{ name: z.ZodString; id: z.ZodString; displayName: z.ZodOptional; slug: z.ZodOptional; aliases: z.ZodOptional>; description: z.ZodOptional; createTime: z.ZodString; updateTime: z.ZodString; email: z.ZodString; role: z.ZodOptional; newsletterSubscription: z.ZodBoolean; onboardingStatus: z.ZodEnum<["ONBOARDING_STATUS_UNSPECIFIED", "ONBOARDING_STATUS_IN_PROGRESS", "ONBOARDING_STATUS_COMPLETED"]>; cookieToken: z.ZodOptional; profile: z.ZodOptional; bio: z.ZodOptional; publicEmail: z.ZodOptional; companyName: z.ZodOptional; avatar: z.ZodOptional; socialProfileLinks: z.ZodOptional; x: z.ZodOptional; github: z.ZodOptional; }, "strip", z.ZodTypeAny, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }>>; isEligibleForOrganizationTrial: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; createTime: string; updateTime: string; email: string; newsletterSubscription: boolean; onboardingStatus: "ONBOARDING_STATUS_UNSPECIFIED" | "ONBOARDING_STATUS_IN_PROGRESS" | "ONBOARDING_STATUS_COMPLETED"; description?: string | undefined; displayName?: string | undefined; role?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; cookieToken?: string | undefined; isEligibleForOrganizationTrial?: boolean | undefined; }, { name: string; id: string; createTime: string; updateTime: string; email: string; newsletterSubscription: boolean; onboardingStatus: "ONBOARDING_STATUS_UNSPECIFIED" | "ONBOARDING_STATUS_IN_PROGRESS" | "ONBOARDING_STATUS_COMPLETED"; description?: string | undefined; displayName?: string | undefined; role?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; cookieToken?: string | undefined; isEligibleForOrganizationTrial?: boolean | undefined; }>; export type GetAuthenticatedResponse = { user: AuthenticatedUser; }; export declare const getAuthenticatedResponseValidator: z.ZodObject<{ name: z.ZodString; id: z.ZodString; displayName: z.ZodOptional; slug: z.ZodOptional; aliases: z.ZodOptional>; description: z.ZodOptional; createTime: z.ZodString; updateTime: z.ZodString; email: z.ZodString; role: z.ZodOptional; newsletterSubscription: z.ZodBoolean; onboardingStatus: z.ZodEnum<["ONBOARDING_STATUS_UNSPECIFIED", "ONBOARDING_STATUS_IN_PROGRESS", "ONBOARDING_STATUS_COMPLETED"]>; cookieToken: z.ZodOptional; profile: z.ZodOptional; bio: z.ZodOptional; publicEmail: z.ZodOptional; companyName: z.ZodOptional; avatar: z.ZodOptional; socialProfileLinks: z.ZodOptional; x: z.ZodOptional; github: z.ZodOptional; }, "strip", z.ZodTypeAny, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }>>; isEligibleForOrganizationTrial: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; createTime: string; updateTime: string; email: string; newsletterSubscription: boolean; onboardingStatus: "ONBOARDING_STATUS_UNSPECIFIED" | "ONBOARDING_STATUS_IN_PROGRESS" | "ONBOARDING_STATUS_COMPLETED"; description?: string | undefined; displayName?: string | undefined; role?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; cookieToken?: string | undefined; isEligibleForOrganizationTrial?: boolean | undefined; }, { name: string; id: string; createTime: string; updateTime: string; email: string; newsletterSubscription: boolean; onboardingStatus: "ONBOARDING_STATUS_UNSPECIFIED" | "ONBOARDING_STATUS_IN_PROGRESS" | "ONBOARDING_STATUS_COMPLETED"; description?: string | undefined; displayName?: string | undefined; role?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; cookieToken?: string | undefined; isEligibleForOrganizationTrial?: boolean | undefined; }>; export type UpdateAuthenticatedUserRequest = Partial>; export type UpdateAuthenticatedUserResponse = { user: AuthenticatedUser; }; export declare const updateAuthenticatedUserResponseValidator: z.ZodObject<{ name: z.ZodString; id: z.ZodString; displayName: z.ZodOptional; slug: z.ZodOptional; aliases: z.ZodOptional>; description: z.ZodOptional; createTime: z.ZodString; updateTime: z.ZodString; email: z.ZodString; role: z.ZodOptional; newsletterSubscription: z.ZodBoolean; onboardingStatus: z.ZodEnum<["ONBOARDING_STATUS_UNSPECIFIED", "ONBOARDING_STATUS_IN_PROGRESS", "ONBOARDING_STATUS_COMPLETED"]>; cookieToken: z.ZodOptional; profile: z.ZodOptional; bio: z.ZodOptional; publicEmail: z.ZodOptional; companyName: z.ZodOptional; avatar: z.ZodOptional; socialProfileLinks: z.ZodOptional; x: z.ZodOptional; github: z.ZodOptional; }, "strip", z.ZodTypeAny, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }>>; isEligibleForOrganizationTrial: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; createTime: string; updateTime: string; email: string; newsletterSubscription: boolean; onboardingStatus: "ONBOARDING_STATUS_UNSPECIFIED" | "ONBOARDING_STATUS_IN_PROGRESS" | "ONBOARDING_STATUS_COMPLETED"; description?: string | undefined; displayName?: string | undefined; role?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; cookieToken?: string | undefined; isEligibleForOrganizationTrial?: boolean | undefined; }, { name: string; id: string; createTime: string; updateTime: string; email: string; newsletterSubscription: boolean; onboardingStatus: "ONBOARDING_STATUS_UNSPECIFIED" | "ONBOARDING_STATUS_IN_PROGRESS" | "ONBOARDING_STATUS_COMPLETED"; description?: string | undefined; displayName?: string | undefined; role?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; cookieToken?: string | undefined; isEligibleForOrganizationTrial?: boolean | undefined; }>; export type ListUsersRequest = { pageSize?: number; pageToken?: string; view?: ResourceView; filter?: string; }; export type ListUsersResponse = { users: User[]; nextPageToken: string; totalSize: number; }; export declare const listUsersWithPaginationResponseValidator: z.ZodObject<{ users: z.ZodArray; slug: z.ZodOptional; aliases: z.ZodOptional>; description: z.ZodOptional; createTime: z.ZodString; updateTime: z.ZodString; profile: z.ZodOptional; bio: z.ZodOptional; publicEmail: z.ZodOptional; companyName: z.ZodOptional; avatar: z.ZodOptional; socialProfileLinks: z.ZodOptional; x: z.ZodOptional; github: z.ZodOptional; }, "strip", z.ZodTypeAny, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }>>; email: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; createTime: string; updateTime: string; email: string; description?: string | undefined; displayName?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; }, { name: string; id: string; createTime: string; updateTime: string; email: string; description?: string | undefined; displayName?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; }>, "many">; nextPageToken: z.ZodString; totalSize: z.ZodNumber; }, "strip", z.ZodTypeAny, { nextPageToken: string; totalSize: number; users: { name: string; id: string; createTime: string; updateTime: string; email: string; description?: string | undefined; displayName?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; }[]; }, { nextPageToken: string; totalSize: number; users: { name: string; id: string; createTime: string; updateTime: string; email: string; description?: string | undefined; displayName?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; }[]; }>; export type GetUserRequest = { userId: string; view?: ResourceView; }; export type GetUserResponse = { user: User; }; export declare const getUserResponseValidator: z.ZodObject<{ name: z.ZodString; id: z.ZodString; displayName: z.ZodOptional; slug: z.ZodOptional; aliases: z.ZodOptional>; description: z.ZodOptional; createTime: z.ZodString; updateTime: z.ZodString; profile: z.ZodOptional; bio: z.ZodOptional; publicEmail: z.ZodOptional; companyName: z.ZodOptional; avatar: z.ZodOptional; socialProfileLinks: z.ZodOptional; x: z.ZodOptional; github: z.ZodOptional; }, "strip", z.ZodTypeAny, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }, { website?: string | undefined; x?: string | undefined; github?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }, { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; }>>; email: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; createTime: string; updateTime: string; email: string; description?: string | undefined; displayName?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; }, { name: string; id: string; createTime: string; updateTime: string; email: string; description?: string | undefined; displayName?: string | undefined; slug?: string | undefined; aliases?: string[] | undefined; profile?: { displayName?: string | undefined; bio?: string | undefined; publicEmail?: string | undefined; companyName?: string | undefined; avatar?: string | undefined; socialProfileLinks?: { website?: string | undefined; x?: string | undefined; github?: string | undefined; } | undefined; } | undefined; }>; //# sourceMappingURL=types.d.ts.map