import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { GuardrailPolicyAssignmentState, GuardrailPolicyAssignmentState$Outbound } from "./guardrailpolicyassignmentstate.js"; /** * Policy type the assignment is read or changed for */ export declare const ChangeGuardrailPolicyAssignmentRequestPolicyType: { readonly Budget: "budget"; readonly ModelAvailability: "model_availability"; readonly Moderation: "moderation"; readonly RateLimit: "rate_limit"; }; /** * Policy type the assignment is read or changed for */ export type ChangeGuardrailPolicyAssignmentRequestPolicyType = OpenEnum; export type ChangeGuardrailPolicyAssignmentRequest = { /** * `true` assigns the policy to the subject, `false` removes it */ assigned: boolean; expectedAssignment: GuardrailPolicyAssignmentState; /** * Policy ID */ policyId: string; /** * Policy type the assignment is read or changed for */ policyType: ChangeGuardrailPolicyAssignmentRequestPolicyType; /** * Workspace the policy belongs to. Required for an organization management key; a workspace-scoped key defaults to its own workspace and gets 403 for any other. */ workspaceId?: string | undefined; }; /** @internal */ export declare const ChangeGuardrailPolicyAssignmentRequestPolicyType$outboundSchema: z.ZodType; /** @internal */ export type ChangeGuardrailPolicyAssignmentRequest$Outbound = { assigned: boolean; expected_assignment: GuardrailPolicyAssignmentState$Outbound; policy_id: string; policy_type: string; workspace_id?: string | undefined; }; /** @internal */ export declare const ChangeGuardrailPolicyAssignmentRequest$outboundSchema: z.ZodType; export declare function changeGuardrailPolicyAssignmentRequestToJSON(changeGuardrailPolicyAssignmentRequest: ChangeGuardrailPolicyAssignmentRequest): string; //# sourceMappingURL=changeguardrailpolicyassignmentrequest.d.ts.map