import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AccountAccessStatus } from "./accountaccessstatus.js"; /** * Account access record from personnel population. * * @remarks * * This unified interface represents account access data from all service types: * - IDP services (Okta, Azure AD, Google Workspace, etc.) * - First-party account services (AWS, Azure, GCP, Oracle Cloud, etc.) * - Role grants services (GCP, Azure role grants) * - Received/third-party applications * * Only `id` and `accountName` are always present. Other fields are optional so * disallowed columns can be omitted (for example under controlled audit view). * When an optional field is present, `null` means the column is visible but empty * (only fields that are nullable in population data use `null`). */ export type AccountAccess = { /** * Unique identifier for the account. */ id: string; /** * Account name or email address (primary identifier). */ accountName: string; /** * IDs of the audit segments this account is in scope for. * * @remarks * Omitted when segment attribution is unavailable or scoping is disabled. */ segmentIds?: Array | undefined; /** * Display name of the account owner, or null when the column is visible but unknown. */ owner?: string | null | undefined; /** * Account roles; empty array when the column is visible but has no roles. */ role?: Array | undefined; /** * Account status values for account access records. * * @remarks * Unified status enum that covers all service types. */ status?: AccountAccessStatus | undefined; /** * Multi-factor authentication (MFA) status when present. * * @remarks * `true` = MFA enabled, `false` = MFA not enabled, `null` = visible but unknown. */ mfa?: boolean | null | undefined; /** * Account creation date when present, or null when visible but absent. */ createdDate?: Date | null | undefined; /** * Account deactivation date when present, or null when active. */ deactivatedDate?: Date | null | undefined; }; /** @internal */ export declare const AccountAccess$inboundSchema: z.ZodType; export declare function accountAccessFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountaccess.d.ts.map