import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AuditVendorRiskLevel } from "./auditvendorrisklevel.js"; import { AuditVendorStatus } from "./auditvendorstatus.js"; /** * Residual risk level of the vendor. * * @remarks * Full Audit View only - omitted in Controlled Audit View. */ export declare const ResidualRisk: { readonly Critical: "CRITICAL"; readonly High: "HIGH"; readonly Medium: "MEDIUM"; readonly Low: "LOW"; readonly Unscored: "UNSCORED"; }; /** * Residual risk level of the vendor. * * @remarks * Full Audit View only - omitted in Controlled Audit View. */ export type ResidualRisk = ClosedEnum; /** * BAA/DPA document completion counts, or null if no such documents are required. * * @remarks * Full Audit View only - omitted in Controlled Audit View. */ export type DataAgreements = { total: number; complete: number; }; /** * Managed vendor row returned by the auditor managed-vendors API. * * @remarks * * Only `id` and `name` are required. All other fields are optional to support * controlled audits where only approved columns are returned and * customizable field visibility. */ export type AuditVendor = { /** * Vendor record ID. */ id: string; /** * Vendor name. */ name: string; /** * IDs of the audit segments this vendor is in scope for. * * @remarks * Omitted when segment scoping is disabled. */ segmentIds?: Array | undefined; inherentRisk?: AuditVendorRiskLevel | undefined; status?: AuditVendorStatus | undefined; /** * Number of findings associated with the vendor. */ findings?: number | undefined; /** * Date when the last security review was completed, or null if none. */ lastReviewedCompleted?: Date | null | undefined; /** * Date when the next security review is due, or null if not scheduled. */ nextSecurityReviewDueDate?: Date | null | undefined; /** * Vendor category (e.g. cloud provider, SaaS). * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ vendorCategory?: string | null | undefined; /** * ID of the vendor's category. */ vendorCategoryId?: string | null | undefined; /** * Residual risk level of the vendor. * * @remarks * Full Audit View only - omitted in Controlled Audit View. */ residualRisk?: ResidualRisk | null | undefined; /** * BAA/DPA document completion counts, or null if no such documents are required. * * @remarks * Full Audit View only - omitted in Controlled Audit View. */ dataAgreements?: DataAgreements | null | undefined; }; /** @internal */ export declare const ResidualRisk$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const DataAgreements$inboundSchema: z.ZodType; export declare function dataAgreementsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AuditVendor$inboundSchema: z.ZodType; export declare function auditVendorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=auditvendor.d.ts.map