/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: d5d9f526a022 */ import * as z from "zod/v3"; export type User = { /** * An opaque user ID for the claimed authority (i.e., the actas param, or the origid if actas is not specified). */ userID?: string | undefined; /** * An opaque user ID for the authenticated user (ignores actas). */ origID?: string | undefined; }; /** @internal */ export type User$Outbound = { userID?: string | undefined; origID?: string | undefined; }; /** @internal */ export const User$outboundSchema: z.ZodType = z.object({ userID: z.string().optional(), origID: z.string().optional(), }); export function userToJSON(user: User): string { return JSON.stringify(User$outboundSchema.parse(user)); }