import * as z from "zod/v4"; import { GuardrailModerationPolicyConfig, GuardrailModerationPolicyConfig$Outbound } from "./guardrailmoderationpolicyconfig.js"; export type UpdateModerationGuardrailPolicyRequest = { /** * Complete new list of assigned API keys. Send together with `member_ids`, or omit both to keep the stored assignments. */ apiKeyHashes?: Array | undefined; config: GuardrailModerationPolicyConfig; /** * Omit to keep the stored default status; `false` unsets the policy as the workspace default. */ isWorkspaceDefault?: boolean | undefined; /** * Complete new list of assigned members. Send together with `api_key_hashes`, or omit both to keep the stored assignments. */ memberIds?: Array | undefined; /** * Policy name */ name: string; /** * API key hashes */ optedOutApiKeyHashes?: Array | undefined; /** * Organization member user IDs */ optedOutMemberIds?: Array | undefined; /** * 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 type UpdateModerationGuardrailPolicyRequest$Outbound = { api_key_hashes?: Array | undefined; config: GuardrailModerationPolicyConfig$Outbound; is_workspace_default?: boolean | undefined; member_ids?: Array | undefined; name: string; opted_out_api_key_hashes?: Array | undefined; opted_out_member_ids?: Array | undefined; workspace_id?: string | undefined; }; /** @internal */ export declare const UpdateModerationGuardrailPolicyRequest$outboundSchema: z.ZodType; export declare function updateModerationGuardrailPolicyRequestToJSON(updateModerationGuardrailPolicyRequest: UpdateModerationGuardrailPolicyRequest): string; //# sourceMappingURL=updatemoderationguardrailpolicyrequest.d.ts.map