import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DlpConfig } from "./dlpconfig.js"; import { DlpFrequency } from "./dlpfrequency.js"; import { DlpPerson } from "./dlpperson.js"; import { DlpReportStatus } from "./dlpreportstatus.js"; export declare const LastScanStatus: { readonly Pending: "PENDING"; readonly Success: "SUCCESS"; readonly Failure: "FAILURE"; readonly Cancelled: "CANCELLED"; readonly Cancelling: "CANCELLING"; readonly Active: "ACTIVE"; }; export type LastScanStatus = OpenEnum; /** * Full policy information that will be used for scans. */ export type DlpReport = { id?: string | undefined; name?: string | undefined; /** * Detailed configuration of what documents and sensitive content will be scanned. */ config?: DlpConfig | undefined; /** * Interval between scans. DAILY is deprecated. */ frequency?: DlpFrequency | undefined; /** * The status of the policy/report. Only ACTIVE status will be picked for scans. */ status?: DlpReportStatus | undefined; /** * Details about the person who created this report/policy. */ createdBy?: DlpPerson | undefined; /** * Timestamp at which the policy was created. */ createdAt?: string | undefined; /** * Timestamp at which the policy was last updated. */ lastUpdatedAt?: string | undefined; /** * Auto hide documents with findings in the policy. */ autoHideDocs?: boolean | undefined; lastScanStatus?: LastScanStatus | undefined; /** * The timestamp at which the report's last run/scan began. */ lastScanStartTime?: string | undefined; /** * Details about the person who created this report/policy. */ updatedBy?: DlpPerson | undefined; }; /** @internal */ export declare const LastScanStatus$inboundSchema: z.ZodType; /** @internal */ export declare const DlpReport$inboundSchema: z.ZodType; export declare function dlpReportFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=dlpreport.d.ts.map