Variable systemAccessTokenSchemaConst
systemAccessTokenSchema: ZodObject<
{
created_at: ZodOptional<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>>;
expires_at: ZodOptional<ZodNullable<ZodString>>;
id: ZodString;
last_used_at: ZodOptional<ZodNullable<ZodString>>;
name: ZodOptional<ZodNullable<ZodString>>;
revoked_at: ZodOptional<ZodNullable<ZodString>>;
scopes: ZodOptional<ZodNullable<ZodString>>;
token: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
created_at?: string;
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;
expires_at?: string | null;
id: string;
last_used_at?: string | null;
name?: string | null;
revoked_at?: string | null;
scopes?: string | null;
token?: string;
},
{
created_at?: string;
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;
expires_at?: string | null;
id: string;
last_used_at?: string | null;
name?: string | null;
revoked_at?: string | null;
scopes?: string | null;
token?: string;
},
> = ...
Runtime validator for SystemAccessToken.