import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type SubjectScopeManager = { /** * Manager-scoped access */ type: "manager"; /** * ID of the specific manager this scope applies to */ managerId: string; }; export type SubjectScopeDeploymentGroup = { /** * Deployment group-scoped access */ type: "deployment-group"; /** * ID of the specific deployment group this scope applies to */ deploymentGroupId: string; /** * ID of the project this deployment group belongs to */ projectId: string; }; export type SubjectScopeDeployment = { /** * Deployment-scoped access */ type: "deployment"; /** * ID of the specific deployment this scope applies to */ deploymentId: string; /** * ID of the project this deployment belongs to */ projectId: string; }; export type SubjectScopeProject = { /** * Project-scoped access */ type: "project"; /** * ID of the specific project this scope applies to */ projectId: string; }; export type SubjectScopeWorkspace = { /** * Workspace-scoped access */ type: "workspace"; }; /** * Authorization scope defining what resources this service account can access */ export type SubjectScope = SubjectScopeWorkspace | SubjectScopeProject | SubjectScopeDeployment | SubjectScopeDeploymentGroup | SubjectScopeManager; /** @internal */ export declare const SubjectScopeManager$inboundSchema: z.ZodType; export declare function subjectScopeManagerFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SubjectScopeDeploymentGroup$inboundSchema: z.ZodType; export declare function subjectScopeDeploymentGroupFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SubjectScopeDeployment$inboundSchema: z.ZodType; export declare function subjectScopeDeploymentFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SubjectScopeProject$inboundSchema: z.ZodType; export declare function subjectScopeProjectFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SubjectScopeWorkspace$inboundSchema: z.ZodType; export declare function subjectScopeWorkspaceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SubjectScope$inboundSchema: z.ZodType; export declare function subjectScopeFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subjectscope.d.ts.map