import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AllowlistOptions, AllowlistOptions$Outbound } from "./allowlistoptions.js"; import { DlpPerson, DlpPerson$Outbound } from "./dlpperson.js"; import { ExternalSharingOptions, ExternalSharingOptions$Outbound } from "./externalsharingoptions.js"; import { InputOptions, InputOptions$Outbound } from "./inputoptions.js"; import { SensitiveContentOptions, SensitiveContentOptions$Outbound } from "./sensitivecontentoptions.js"; import { SensitiveInfoType, SensitiveInfoType$Outbound } from "./sensitiveinfotype.js"; import { SharingOptions, SharingOptions$Outbound } from "./sharingoptions.js"; /** * Detailed configuration of what documents and sensitive content will be scanned. */ export type DlpConfig = { /** * Synonymous with report/policy id. */ version?: number | undefined; /** * DEPRECATED - use `sensitiveContentOptions` instead. * * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use sensitiveContentOptions instead. */ sensitiveInfoTypes?: Array | undefined; /** * Controls which data-sources and what time-range to include in scans. */ inputOptions?: InputOptions | undefined; /** * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use broadSharingOptions instead. */ externalSharingOptions?: ExternalSharingOptions | undefined; /** * Controls how "shared" a document must be to get picked for scans. */ broadSharingOptions?: SharingOptions | undefined; /** * Options for defining sensitive content within scanned documents. */ sensitiveContentOptions?: SensitiveContentOptions | undefined; reportName?: string | undefined; /** * Interval between scans. */ frequency?: string | undefined; /** * Details about the person who created this report/policy. */ createdBy?: DlpPerson | undefined; /** * Timestamp at which this configuration was created. */ createdAt?: string | undefined; /** * redact quote in findings of the report */ redactQuote?: boolean | undefined; /** * auto hide documents with findings in the report */ autoHideDocs?: boolean | undefined; /** * Terms that are allow-listed during the scans. If any finding picked up by a rule exactly matches a term in the allow-list, it will not be counted as a violation. */ allowlistOptions?: AllowlistOptions | undefined; }; /** @internal */ export declare const DlpConfig$inboundSchema: z.ZodType; /** @internal */ export type DlpConfig$Outbound = { version?: number | undefined; sensitiveInfoTypes?: Array | undefined; inputOptions?: InputOptions$Outbound | undefined; externalSharingOptions?: ExternalSharingOptions$Outbound | undefined; broadSharingOptions?: SharingOptions$Outbound | undefined; sensitiveContentOptions?: SensitiveContentOptions$Outbound | undefined; reportName?: string | undefined; frequency?: string | undefined; createdBy?: DlpPerson$Outbound | undefined; createdAt?: string | undefined; redactQuote?: boolean | undefined; autoHideDocs?: boolean | undefined; allowlistOptions?: AllowlistOptions$Outbound | undefined; }; /** @internal */ export declare const DlpConfig$outboundSchema: z.ZodType; export declare function dlpConfigToJSON(dlpConfig: DlpConfig): string; export declare function dlpConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=dlpconfig.d.ts.map