/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: c3fa992da18c */ import * as z from "zod/v4"; import { OperationsPolicyRule, OperationsPolicyRule$Outbound, OperationsPolicyRule$outboundSchema, } from "./operationspolicyrule.js"; export type UpdateOperationsPolicyRequest = { /** * The full rule set (replaces the previous one). */ rules: Array; }; /** @internal */ export type UpdateOperationsPolicyRequest$Outbound = { rules: Array; }; /** @internal */ export const UpdateOperationsPolicyRequest$outboundSchema: z.ZodType< UpdateOperationsPolicyRequest$Outbound, UpdateOperationsPolicyRequest > = z.object({ rules: z.array(OperationsPolicyRule$outboundSchema), }); export function updateOperationsPolicyRequestToJSON( updateOperationsPolicyRequest: UpdateOperationsPolicyRequest, ): string { return JSON.stringify( UpdateOperationsPolicyRequest$outboundSchema.parse( updateOperationsPolicyRequest, ), ); }