Variable: WhoAmISchema¶
const WhoAmISchema: ZodObject<{
agents: ZodArray<ZodObject<{
created_at: ZodString;
handle: ZodString;
human_oversight: ZodDefault<ZodBoolean>;
id: ZodString;
incoming_policy: ZodDefault<ZodString>;
name: ZodString;
outgoing_policy: ZodDefault<ZodString>;
poll_url: ZodOptional<ZodNullable<ZodString>>;
revoked_at: ZodOptional<ZodNullable<ZodString>>;
unlisted: ZodOptional<ZodBoolean>;
verification_words: ZodOptional<ZodNullable<ZodString>>;
warnings: ZodOptional<ZodNullable<ZodArray<ZodString, "many">>>;
}, "strip", ZodTypeAny, {
created_at: string;
handle: string;
human_oversight: boolean;
id: string;
incoming_policy: string;
name: string;
outgoing_policy: string;
poll_url?: string | null;
revoked_at?: string | null;
unlisted?: boolean;
verification_words?: string | null;
warnings?: string[] | null;
}, {
created_at: string;
handle: string;
human_oversight?: boolean;
id: string;
incoming_policy?: string;
name: string;
outgoing_policy?: string;
poll_url?: string | null;
revoked_at?: string | null;
unlisted?: boolean;
verification_words?: string | null;
warnings?: string[] | null;
}>, "many">;
org: ZodObject<{
agent_count: ZodDefault<ZodNumber>;
contact_email: ZodOptional<ZodNullable<ZodString>>;
country_code: ZodOptional<ZodNullable<ZodString>>;
created_at: ZodString;
id: ZodString;
name: ZodString;
slug: ZodOptional<ZodNullable<ZodString>>;
trust_tier: ZodDefault<ZodNumber>;
}, "strip", ZodTypeAny, {
agent_count: number;
contact_email?: string | null;
country_code?: string | null;
created_at: string;
id: string;
name: string;
slug?: string | null;
trust_tier: number;
}, {
agent_count?: number;
contact_email?: string | null;
country_code?: string | null;
created_at: string;
id: string;
name: string;
slug?: string | null;
trust_tier?: number;
}>;
trust_tier: ZodDefault<ZodNumber>;
}, "strip", ZodTypeAny, {
agents: object[];
org: {
agent_count: number;
contact_email?: string | null;
country_code?: string | null;
created_at: string;
id: string;
name: string;
slug?: string | null;
trust_tier: number;
};
trust_tier: number;
}, {
agents: object[];
org: {
agent_count?: number;
contact_email?: string | null;
country_code?: string | null;
created_at: string;
id: string;
name: string;
slug?: string | null;
trust_tier?: number;
};
trust_tier?: number;
}>;
Defined in: rine-ts-sdk/src/types.ts:338