Skip to content

Variable: AgentReadSchema

const AgentReadSchema: 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;
}>;

Defined in: rine-ts-sdk/src/types.ts:322