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 { TimeRange, TimeRange$Outbound } from "./timerange.js"; /** * The types of datasource for which to run the report/policy. */ export declare const DatasourcesType: { readonly All: "ALL"; readonly Custom: "CUSTOM"; }; /** * The types of datasource for which to run the report/policy. */ export type DatasourcesType = OpenEnum; /** * Type of time period for which to run the report/policy. PAST_DAY is deprecated. */ export declare const InputOptionsTimePeriodType: { readonly AllTime: "ALL_TIME"; readonly PastYear: "PAST_YEAR"; readonly PastDay: "PAST_DAY"; readonly Custom: "CUSTOM"; readonly LastNDays: "LAST_N_DAYS"; }; /** * Type of time period for which to run the report/policy. PAST_DAY is deprecated. */ export type InputOptionsTimePeriodType = OpenEnum; /** * Controls which data-sources and what time-range to include in scans. */ export type InputOptions = { /** * list of url regex matching documents excluded from report * * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Field is deprecated. */ urlGreenlist?: Array | undefined; /** * The types of datasource for which to run the report/policy. */ datasourcesType?: DatasourcesType | undefined; /** * List of datasources to consider for report. DEPRECATED - use datasourceInstances instead. * * @deprecated field: Deprecated on 2026-02-05, removal scheduled for 2026-10-15: Use datasourceInstances instead. */ datasources?: Array | undefined; /** * List of datasource instances to consider for report/policy. */ datasourceInstances?: Array | undefined; /** * Type of time period for which to run the report/policy. PAST_DAY is deprecated. */ timePeriodType?: InputOptionsTimePeriodType | undefined; customTimeRange?: TimeRange | undefined; /** * Subset of document IDs to scan. If empty, all documents matching other scope criteria will be scanned. */ subsetDocIdsToScan?: Array | undefined; }; /** @internal */ export declare const DatasourcesType$inboundSchema: z.ZodType; /** @internal */ export declare const DatasourcesType$outboundSchema: z.ZodType; /** @internal */ export declare const InputOptionsTimePeriodType$inboundSchema: z.ZodType; /** @internal */ export declare const InputOptionsTimePeriodType$outboundSchema: z.ZodType; /** @internal */ export declare const InputOptions$inboundSchema: z.ZodType; /** @internal */ export type InputOptions$Outbound = { urlGreenlist?: Array | undefined; datasourcesType?: string | undefined; datasources?: Array | undefined; datasourceInstances?: Array | undefined; timePeriodType?: string | undefined; customTimeRange?: TimeRange$Outbound | undefined; subsetDocIdsToScan?: Array | undefined; }; /** @internal */ export declare const InputOptions$outboundSchema: z.ZodType; export declare function inputOptionsToJSON(inputOptions: InputOptions): string; export declare function inputOptionsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=inputoptions.d.ts.map