Appearance
Variable: ServiceUser
ts
const ServiceUser: z.ZodObject<{
createdAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
enabled: z.ZodBoolean;
id: z.ZodString;
keys: z.ZodArray<z.ZodObject<{
createdAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
expiresAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
id: z.ZodString;
type: z.ZodLiteral<"pat">;
}, z.core.$strip>>;
lastCallAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
name: z.ZodString;
purpose: z.ZodNullable<z.ZodString>;
role: z.ZodNullable<z.ZodEnum<{
admin: "admin";
analyst: "analyst";
integration: "integration";
}>>;
}, z.core.$strip>;A machine user of the tenant's organization holding a role on the Aletheia project.