Variable statusPingSchemaConst
statusPingSchema: ZodObject<
{
deployment: ZodOptional<
ZodObject<
{
environment: ZodOptional<ZodNullable<ZodString>>;
release: ZodOptional<ZodNullable<ZodString>>;
},
"strip",
ZodTypeAny,
{ environment?: string
| null; release?: string | null },
{ environment?: string | null; release?: string | null },
>,
>;
success: ZodBoolean;
token: ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>;
user: ZodOptional<
ZodNullable<
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,
{
deployment?: { environment?: string
| null; release?: string | null };
success: boolean;
token: Record<string, {} | null>;
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;
}
| null;
},
{
deployment?: { environment?: string
| null; release?: string | null };
success: boolean;
token: Record<string, {} | null>;
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;
}
| null;
},
> = ...
Runtime validator for StatusPing.