import * as z from "zod/v4"; import { GuardrailBudgetPolicyAuthoringConfig, GuardrailBudgetPolicyAuthoringConfig$Outbound } from "./guardrailbudgetpolicyauthoringconfig.js"; /** * Move workspaces off this policy onto another workspace-wide policy in the same write */ export type BudgetAccountGuardrailPolicyRequestFloorReassignment = { /** * Policy ID */ policyId: string; workspaceIds: Array; }; export type BudgetAccountGuardrailPolicyRequest = { config: GuardrailBudgetPolicyAuthoringConfig; /** * Move workspaces off this policy onto another workspace-wide policy in the same write */ floorReassignment?: BudgetAccountGuardrailPolicyRequestFloorReassignment | undefined; /** * Cover every workspace in the account except `opted_out_workspace_ids`. On update, `false` on the current default unsets it. */ isDefault?: boolean | undefined; /** * Keep workspaces that inherited the replaced default on that policy. Cannot be combined with `released_floor_workspace_ids`. */ keepPreviousDefaultWorkspaces?: boolean | undefined; /** * Policy name */ name: string; /** * Workspaces left out of a default policy */ optedOutWorkspaceIds?: Array | undefined; policyType: "budget"; /** * Workspaces whose own workspace-wide policy of this type is dropped so they inherit this default */ releasedFloorWorkspaceIds?: Array | undefined; /** * Workspaces the policy covers when it is not the default */ workspaceIds?: Array | undefined; }; /** @internal */ export type BudgetAccountGuardrailPolicyRequestFloorReassignment$Outbound = { policy_id: string; workspace_ids: Array; }; /** @internal */ export declare const BudgetAccountGuardrailPolicyRequestFloorReassignment$outboundSchema: z.ZodType; export declare function budgetAccountGuardrailPolicyRequestFloorReassignmentToJSON(budgetAccountGuardrailPolicyRequestFloorReassignment: BudgetAccountGuardrailPolicyRequestFloorReassignment): string; /** @internal */ export type BudgetAccountGuardrailPolicyRequest$Outbound = { config: GuardrailBudgetPolicyAuthoringConfig$Outbound; floor_reassignment?: BudgetAccountGuardrailPolicyRequestFloorReassignment$Outbound | undefined; is_default?: boolean | undefined; keep_previous_default_workspaces?: boolean | undefined; name: string; opted_out_workspace_ids?: Array | undefined; policy_type: "budget"; released_floor_workspace_ids?: Array | undefined; workspace_ids?: Array | undefined; }; /** @internal */ export declare const BudgetAccountGuardrailPolicyRequest$outboundSchema: z.ZodType; export declare function budgetAccountGuardrailPolicyRequestToJSON(budgetAccountGuardrailPolicyRequest: BudgetAccountGuardrailPolicyRequest): string; //# sourceMappingURL=budgetaccountguardrailpolicyrequest.d.ts.map