/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 5288bb085062 */ import * as z from "zod/v4"; import { ReportedOperation, ReportedOperation$Outbound, ReportedOperation$outboundSchema, } from "./reportedoperation.js"; /** * Operations bundle set the Operator currently has loaded, for plugin-sync status tracking. */ export type OperationsReport = { loadedBundleHash?: string | null | undefined; operations?: Array | undefined; }; /** @internal */ export type OperationsReport$Outbound = { loadedBundleHash?: string | null | undefined; operations?: Array | undefined; }; /** @internal */ export const OperationsReport$outboundSchema: z.ZodType< OperationsReport$Outbound, OperationsReport > = z.object({ loadedBundleHash: z.nullable(z.string()).optional(), operations: z.array(ReportedOperation$outboundSchema).optional(), }); export function operationsReportToJSON( operationsReport: OperationsReport, ): string { return JSON.stringify( OperationsReport$outboundSchema.parse(operationsReport), ); }