import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { VantaTestSnapshotApiRequest } from "./vantatestsnapshotapirequest.js"; import { VantaTestSnapshotIntegration } from "./vantatestsnapshotintegration.js"; import { VantaTestSnapshotOutOfScopeResources } from "./vantatestsnapshotoutofscoperesources.js"; import { VantaTestSnapshotRawTestDataRow } from "./vantatestsnapshotrawtestdatarow.js"; export type Settings = { numericValue: number; unit: string | null; }; /** * SLA remediation policy attached to the test, or null when no SLA is set. */ export type SlaRemediation = { id: string; settings: Settings | null; }; /** * Detail response for a captured automated-test snapshot evidence row. * * @remarks * * Combines the test-level metadata (description, integrations, SLA * remediation) with a uniform raw-data array so external clients see the * same shape regardless of whether the snapshot was structured or * unstructured. */ export type VantaTestSnapshotEvidenceDetail = { /** * The unique identifier for the test in Vanta's system. */ testId: string; /** * The display name of the test. */ testName: string; /** * A short description of what the test checks. */ description: string; /** * Longer-form, formatted description of the test. Null when unset. */ evaluationCriteria: string | null; /** * Integrations whose data feeds the test. */ integrations: Array; /** * SLA remediation policy attached to the test, or null when no SLA is set. */ slaRemediation: SlaRemediation | null; /** * Raw test data captured at snapshot time. */ rawTestData: Array; /** * Resources excluded from the test at snapshot time, grouped by exclusion * * @remarks * reason. `testLevel` contains resources the customer disabled for the * test; `frameworkLevel` contains resources scoped out by the framework's * segment configuration. */ outOfScopeResources?: VantaTestSnapshotOutOfScopeResources | undefined; /** * API requests captured during the test run. Absent when the snapshot * * @remarks * data could not be loaded. Empty array when the test does not perform * API introspection. */ apiRequests?: Array | undefined; }; /** @internal */ export declare const Settings$inboundSchema: z.ZodType; export declare function settingsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SlaRemediation$inboundSchema: z.ZodType; export declare function slaRemediationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VantaTestSnapshotEvidenceDetail$inboundSchema: z.ZodType; export declare function vantaTestSnapshotEvidenceDetailFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=vantatestsnapshotevidencedetail.d.ts.map