/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 871b0aaf08db */ import * as z from "zod/v3"; import { ActivityEvent, ActivityEvent$Outbound, ActivityEvent$outboundSchema, } from "./activityevent.js"; export type Activity = { events: Array; }; /** @internal */ export type Activity$Outbound = { events: Array; }; /** @internal */ export const Activity$outboundSchema: z.ZodType< Activity$Outbound, z.ZodTypeDef, Activity > = z.object({ events: z.array(ActivityEvent$outboundSchema), }); export function activityToJSON(activity: Activity): string { return JSON.stringify(Activity$outboundSchema.parse(activity)); }