@distilled.cloud/vanta 1.0.0-rc.13 → 1.0.0-rc.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +2 -6
- package/lib/protocol.js.map +1 -1
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/auditor_api.d.ts +97 -63
- package/lib/services/auditor_api.d.ts.map +1 -1
- package/lib/services/auditor_api.js +160 -373
- package/lib/services/auditor_api.js.map +1 -1
- package/lib/services/build_integrations.d.ts +82 -82
- package/lib/services/build_integrations.d.ts.map +1 -1
- package/lib/services/build_integrations.js +168 -309
- package/lib/services/build_integrations.js.map +1 -1
- package/lib/services/manage_vanta.d.ts +340 -38
- package/lib/services/manage_vanta.d.ts.map +1 -1
- package/lib/services/manage_vanta.js +676 -1287
- package/lib/services/manage_vanta.js.map +1 -1
- package/lib/services/webhooks.d.ts +7 -7
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +54 -142
- package/lib/services/webhooks.js.map +1 -1
- package/package.json +12 -10
- package/src/credentials.ts +7 -8
- package/src/errors.ts +5 -8
- package/src/index.ts +1 -5
- package/src/protocol.ts +25 -31
- package/src/retry.ts +2 -8
- package/src/services/auditor_api.ts +721 -1022
- package/src/services/build_integrations.ts +788 -1094
- package/src/services/manage_vanta.ts +2504 -3322
- package/src/services/webhooks.ts +309 -483
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -42
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -56
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
1
2
|
import * as S from "@distilled.cloud/core/schema";
|
|
2
3
|
import * as Redacted from "effect/Redacted";
|
|
3
|
-
import * as API from "@distilled.cloud/core/api";
|
|
4
4
|
import { type VantaOpError, type VantaOpContext } from "../protocol.ts";
|
|
5
5
|
export type { VantaOpError, VantaOpContext };
|
|
6
6
|
export interface AcknowledgeSlaMissVulnerabilityRemediationsRequestUpdatesItem {
|
|
@@ -102,6 +102,8 @@ export interface Control {
|
|
|
102
102
|
creationDate: string | null;
|
|
103
103
|
/** When the control was last modified. Returns null for Vanta library controls. */
|
|
104
104
|
modificationDate: string | null;
|
|
105
|
+
/** How the control is implemented. */
|
|
106
|
+
implementationDetails?: string | null;
|
|
105
107
|
}
|
|
106
108
|
export declare const Control: S.Schema<Control>;
|
|
107
109
|
/** IDs of the categories to add the control to. This cannot be empty. */
|
|
@@ -317,6 +319,7 @@ export interface AddPeopleToGroupRequest {
|
|
|
317
319
|
export declare const AddPeopleToGroupRequest: S.Schema<AddPeopleToGroupRequest>;
|
|
318
320
|
export interface AddPersonToGroupRequest {
|
|
319
321
|
groupId: string;
|
|
322
|
+
/** ID of the person to add to the group. */
|
|
320
323
|
id: string;
|
|
321
324
|
}
|
|
322
325
|
export declare const AddPersonToGroupRequest: S.Schema<AddPersonToGroupRequest>;
|
|
@@ -842,7 +845,7 @@ export interface ApproveQuestionnaireRequest {
|
|
|
842
845
|
export declare const ApproveQuestionnaireRequest: S.Schema<ApproveQuestionnaireRequest>;
|
|
843
846
|
export type CustomerTrustQuestionnaireType = "SPREADSHEET" | "WEBSITE" | "DOCUMENT";
|
|
844
847
|
export declare const CustomerTrustQuestionnaireType: any;
|
|
845
|
-
export type QuestionnaireStatus = "APPROVED" | "IN_PROGRESS" | "IN_REVIEW" | "READY_FOR_REVIEW" | "WAITING_ON_ANSWERS" | "ON_HOLD" | "NO_LONGER_NEEDED" | "COMPLETE" | "ERROR" | "EXTRACTING_QUESTIONS" | "EXTRACTING_SECTIONS" | "MAPPING_SECTIONS" | "GENERATING_ANSWERS" | "QUEUED_FOR_EXTRACTION" | "PROCESSING" | "QUEUED_FOR_PROCESSING" | "WAITING_ON_COLUMN_SELECTION" | "WAITING_ON_COLUMN_APPROVAL" | "QUEUED_FOR_COLUMN_DETECTION" | "DETECTING_COLUMNS";
|
|
848
|
+
export type QuestionnaireStatus = "APPROVED" | "IN_PROGRESS" | "IN_REVIEW" | "READY_FOR_REVIEW" | "WAITING_ON_ANSWERS" | "ON_HOLD" | "NO_LONGER_NEEDED" | "COMPLETE" | "ERROR" | "EXTRACTING_QUESTIONS" | "QUEUED_FOR_SECTION_EXTRACTION" | "EXTRACTING_SECTIONS" | "MAPPING_SECTIONS" | "QUEUED_FOR_ANSWERING" | "GENERATING_ANSWERS" | "QUEUED_FOR_EXTRACTION" | "PROCESSING" | "QUEUED_FOR_PROCESSING" | "WAITING_ON_COLUMN_SELECTION" | "WAITING_ON_COLUMN_APPROVAL" | "QUEUED_FOR_COLUMN_DETECTION" | "DETECTING_COLUMNS";
|
|
846
849
|
export declare const QuestionnaireStatus: any;
|
|
847
850
|
export interface QuestionnaireUser {
|
|
848
851
|
id: string;
|
|
@@ -999,6 +1002,33 @@ export type RiskScenarioRequiredApproversList = Array<string>;
|
|
|
999
1002
|
export declare const RiskScenarioRequiredApproversList: S.Schema<RiskScenarioRequiredApproversList>;
|
|
1000
1003
|
export type RiskScenarioType = "Risk Scenario" | "Enterprise Risk";
|
|
1001
1004
|
export declare const RiskScenarioType: any;
|
|
1005
|
+
/** `SCORE` is the root, `DIMENSION` is a direct child, and `FACTOR` is any deeper node. */
|
|
1006
|
+
export type ScoreBreakdownEntryKind = "SCORE" | "DIMENSION" | "FACTOR";
|
|
1007
|
+
export declare const ScoreBreakdownEntryKind: any;
|
|
1008
|
+
/** `SCORED` has an entered value; `MISSING` is unscored; `NOT_APPLICABLE` is excluded from its parent's calculation. */
|
|
1009
|
+
export type ScoreBreakdownEntryStatus = "SCORED" | "MISSING" | "NOT_APPLICABLE";
|
|
1010
|
+
export declare const ScoreBreakdownEntryStatus: any;
|
|
1011
|
+
/** One node in the inherent risk scoring tree. Entries are ordered parents before children, with `parentId` linking each child to its parent. */
|
|
1012
|
+
export interface ScoreBreakdownEntry {
|
|
1013
|
+
/** Config node ID, unique within this breakdown. IDs can change when the scoring config is restructured; re-read the breakdown instead of storing them long-term. */
|
|
1014
|
+
id: string;
|
|
1015
|
+
/** Whether this entry is the overall score, a dimension, or a factor. */
|
|
1016
|
+
kind: ScoreBreakdownEntryKind;
|
|
1017
|
+
/** Display name of this node, from the scoring config. */
|
|
1018
|
+
name: string;
|
|
1019
|
+
/** Entered or calculated value, which may be fractional. `null` when unscored, not applicable, or no aggregate value is available; see `status` for leaf nodes. */
|
|
1020
|
+
score: number | null;
|
|
1021
|
+
/** Scoring status for a directly scored node. `null` for aggregates; read their children's statuses instead. */
|
|
1022
|
+
status: ScoreBreakdownEntryStatus | null;
|
|
1023
|
+
/** Matching option label for a directly scored node, or the register's range-band label for the overall score. `null` when no label applies, including non-root aggregates and overall scores on registers using matrix-based severity. */
|
|
1024
|
+
scoreLabel: string | null;
|
|
1025
|
+
/** Parent entry's ID, or `null` for the overall score. */
|
|
1026
|
+
parentId: string | null;
|
|
1027
|
+
}
|
|
1028
|
+
export declare const ScoreBreakdownEntry: S.Schema<ScoreBreakdownEntry>;
|
|
1029
|
+
/** Overall inherent score, dimensions, and nested factors, ordered parents before children and linked by `parentId`. `null` when Flexible Risk Scoring is off or the scenario has no score or matching config. Closed beta. */
|
|
1030
|
+
export type RiskScenarioScoreBreakdownList = Array<ScoreBreakdownEntry>;
|
|
1031
|
+
export declare const RiskScenarioScoreBreakdownList: S.Schema<RiskScenarioScoreBreakdownList>;
|
|
1002
1032
|
export interface RiskScenario {
|
|
1003
1033
|
/** The unique ID of the risk specified by the user. Used to reference and update existing risks. */
|
|
1004
1034
|
riskId: string;
|
|
@@ -1040,6 +1070,8 @@ export interface RiskScenario {
|
|
|
1040
1070
|
type: RiskScenarioType;
|
|
1041
1071
|
/** The date this risk was identified. Matches the "Identified Date" field in the Vanta UI. Set by the customer when a risk is created; defaults to the scenario's creation time when not explicitly provided. */
|
|
1042
1072
|
identificationDate: string;
|
|
1073
|
+
/** Overall inherent score, dimensions, and nested factors, ordered parents before children and linked by `parentId`. `null` when Flexible Risk Scoring is off or the scenario has no score or matching config. Closed beta. */
|
|
1074
|
+
scoreBreakdown: RiskScenarioScoreBreakdownList | null;
|
|
1043
1075
|
}
|
|
1044
1076
|
export declare const RiskScenario: S.Schema<RiskScenario>;
|
|
1045
1077
|
export interface ClearLeaveForPersonRequest {
|
|
@@ -1103,7 +1135,7 @@ export interface KnowledgeBaseAnswerLibraryEntryOutput {
|
|
|
1103
1135
|
}
|
|
1104
1136
|
export declare const KnowledgeBaseAnswerLibraryEntryOutput: S.Schema<KnowledgeBaseAnswerLibraryEntryOutput>;
|
|
1105
1137
|
/** Compliance standard to associate with this framework. */
|
|
1106
|
-
export type CreateComplianceFrameworkRequestStandard = "aiact" | "aiuc1" | "aue8" | "awsFTR" | "bsic5" | "ccpa" | "cisv8" | "cjis" | "cmmc2" | "cps234" | "cri" | "dora" | "fedRAMPr5" | "fedramp" | "fedramp20x" | "fedramp20x_2026" | "gdpr" | "hipaa" | "hitruste1" | "iso9001" | "iso27001" | "iso27001_2022" | "iso27017" | "iso27018" | "iso27701" | "iso27701_2025" | "iso42001" | "msftSSPA" | "mvsp" | "nis2d" | "nist53" | "nist171" | "nist171r3" | "nistAiRmf" | "nistCSF" | "nistcsf2" | "ofdss" | "pciDss4" | "pciSaqA" | "pciSaqAEP" | "pciSaqDMerchant" | "pciSaqDSP" | "soc2" | "soxITGC" | "t23nycrr500" | "tisax" | "tisax2027" | "iso22301" | "trust" | "ukCyberEssentials" | "ukCyberEssentials33" | "usDataPrivacy" | "fedrampKSI";
|
|
1138
|
+
export type CreateComplianceFrameworkRequestStandard = "aiact" | "aiuc1" | "aiuc1_26q3" | "atc" | "aue8" | "awsFTR" | "bsic5" | "ccpa" | "cisv8" | "cjis" | "cmmc2" | "cps234" | "cri" | "dora" | "fedRAMPr5" | "fedramp" | "fedramp20x" | "fedramp20x_2026" | "fedramp20x_classA" | "gdpr" | "hipaa" | "hitruste1" | "iso9001" | "iso27001" | "iso27001_2022" | "iso27017" | "iso27018" | "iso27701" | "iso27701_2025" | "iso42001" | "msftSSPA" | "mvsp" | "nis2d" | "nist53" | "nist171" | "nist171r3" | "nistAiRmf" | "nistCSF" | "nistcsf2" | "ofdss" | "pciDss4" | "pciSaqA" | "pciSaqAEP" | "pciSaqDMerchant" | "pciSaqDSP" | "soc2" | "soxITGC" | "t23nycrr500" | "tisax" | "tisax2027" | "iso22301" | "trust" | "ukCyberEssentials" | "ukCyberEssentials33" | "usDataPrivacy" | "fedrampKSI";
|
|
1107
1139
|
export declare const CreateComplianceFrameworkRequestStandard: any;
|
|
1108
1140
|
export interface CreateComplianceFrameworkRequest {
|
|
1109
1141
|
slugId: string;
|
|
@@ -1381,8 +1413,11 @@ export interface CreateFileQuestionnaireRequest {
|
|
|
1381
1413
|
}
|
|
1382
1414
|
export declare const CreateFileQuestionnaireRequest: S.Schema<CreateFileQuestionnaireRequest>;
|
|
1383
1415
|
export interface CreateGroupRequest {
|
|
1416
|
+
/** Email address of the group's point of contact. Must be an active administrator. */
|
|
1384
1417
|
pointOfContactEmail?: string | null;
|
|
1418
|
+
/** Description of the group. */
|
|
1385
1419
|
description?: string | null;
|
|
1420
|
+
/** Display name for the group. Must not duplicate an existing group's name. */
|
|
1386
1421
|
name: string;
|
|
1387
1422
|
}
|
|
1388
1423
|
export declare const CreateGroupRequest: S.Schema<CreateGroupRequest>;
|
|
@@ -2186,6 +2221,8 @@ export interface DenyTrustCenterAccessRequestRequest {
|
|
|
2186
2221
|
accessRequestId: string;
|
|
2187
2222
|
/** Reason for denying the access request. */
|
|
2188
2223
|
reason?: string;
|
|
2224
|
+
/** Whether to email the requester to notify them that their request was denied. The email includes the reason when one is provided. Defaults to false. */
|
|
2225
|
+
sendEmail?: boolean;
|
|
2189
2226
|
}
|
|
2190
2227
|
export declare const DenyTrustCenterAccessRequestRequest: S.Schema<DenyTrustCenterAccessRequestRequest>;
|
|
2191
2228
|
export interface DenyTrustCenterAccessRequestResponse {
|
|
@@ -2279,8 +2316,54 @@ export interface GetAssessmentsByVendorIdRequest {
|
|
|
2279
2316
|
statusMatchesAny?: GetAssessmentsByVendorIdRequestStatusMatchesAnyList;
|
|
2280
2317
|
}
|
|
2281
2318
|
export declare const GetAssessmentsByVendorIdRequest: S.Schema<GetAssessmentsByVendorIdRequest>;
|
|
2282
|
-
|
|
2283
|
-
export
|
|
2319
|
+
/** An object containing information about the decision of the assessment. */
|
|
2320
|
+
export type VendorAssessmentWithQuestionnaireDecision = VendorAssessmentDecision;
|
|
2321
|
+
export declare const VendorAssessmentWithQuestionnaireDecision: S.Schema<VendorAssessmentDecision>;
|
|
2322
|
+
export interface VendorAssessmentQuestionCounts {
|
|
2323
|
+
/** The total number of visible questions. */
|
|
2324
|
+
all: number;
|
|
2325
|
+
/** The number of visible questions that need review. */
|
|
2326
|
+
needsReview: number;
|
|
2327
|
+
/** The number of visible questions without an answer. */
|
|
2328
|
+
notAnswered: number;
|
|
2329
|
+
/** The number of visible questions flagged by Vanta AI. */
|
|
2330
|
+
flaggedByAI: number;
|
|
2331
|
+
}
|
|
2332
|
+
export declare const VendorAssessmentQuestionCounts: S.Schema<VendorAssessmentQuestionCounts>;
|
|
2333
|
+
export interface VendorAssessmentQuestionnaire {
|
|
2334
|
+
questionCounts: VendorAssessmentQuestionCounts;
|
|
2335
|
+
}
|
|
2336
|
+
export declare const VendorAssessmentQuestionnaire: S.Schema<VendorAssessmentQuestionnaire>;
|
|
2337
|
+
export interface VendorAssessmentWithQuestionnaire {
|
|
2338
|
+
/** Unique identifier for the assessment. */
|
|
2339
|
+
id: string;
|
|
2340
|
+
/** Unique identifier for the vendor. */
|
|
2341
|
+
vendorId: string;
|
|
2342
|
+
/** The lifecycle status of the assessment. */
|
|
2343
|
+
status: AssessmentStatus;
|
|
2344
|
+
/** The Vanta user ID of the person who completed this assessment. */
|
|
2345
|
+
completedByUserId: string | null;
|
|
2346
|
+
/** The timestamp of when the assessment was started. */
|
|
2347
|
+
startDate: string | null;
|
|
2348
|
+
/** The timestamp of when the assessment is due. */
|
|
2349
|
+
dueDate: string | null;
|
|
2350
|
+
/** A manual override timestamp of when the assessment is due. */
|
|
2351
|
+
overrideDueDate: string | null;
|
|
2352
|
+
/** The timestamp of when the assessment was marked as completed. */
|
|
2353
|
+
completionDate: string | null;
|
|
2354
|
+
/** The timestamp of when the assessment was created. */
|
|
2355
|
+
createdDate: string;
|
|
2356
|
+
/** An object containing information about the decision of the assessment. */
|
|
2357
|
+
decision: VendorAssessmentDecision | null;
|
|
2358
|
+
/** The assessment type for this assessment. */
|
|
2359
|
+
assessmentType: AssessmentType;
|
|
2360
|
+
/** The owner of this assessment, if assigned. */
|
|
2361
|
+
owner: AssessmentOwner | null;
|
|
2362
|
+
questionnaire?: VendorAssessmentQuestionnaire | null;
|
|
2363
|
+
}
|
|
2364
|
+
export declare const VendorAssessmentWithQuestionnaire: S.Schema<VendorAssessmentWithQuestionnaire>;
|
|
2365
|
+
export type PaginatedResponseVendorAssessmentWithQuestionnaireResultsDataList = Array<VendorAssessmentWithQuestionnaire>;
|
|
2366
|
+
export declare const PaginatedResponseVendorAssessmentWithQuestionnaireResultsDataList: S.Schema<PaginatedResponseVendorAssessmentWithQuestionnaireResultsDataList>;
|
|
2284
2367
|
/** Provides information about the pagination of a dataset. */
|
|
2285
2368
|
export interface PageInfo {
|
|
2286
2369
|
/** The cursor that points to the end of the current page, or null if there is no such cursor. */
|
|
@@ -2293,15 +2376,26 @@ export interface PageInfo {
|
|
|
2293
2376
|
startCursor: string | null;
|
|
2294
2377
|
}
|
|
2295
2378
|
export declare const PageInfo: S.Schema<PageInfo>;
|
|
2296
|
-
export interface
|
|
2297
|
-
data:
|
|
2379
|
+
export interface PaginatedResponseVendorAssessmentWithQuestionnaireResults {
|
|
2380
|
+
data: PaginatedResponseVendorAssessmentWithQuestionnaireResultsDataList;
|
|
2298
2381
|
pageInfo: PageInfo;
|
|
2299
2382
|
}
|
|
2300
|
-
export declare const
|
|
2301
|
-
export interface
|
|
2302
|
-
results:
|
|
2383
|
+
export declare const PaginatedResponseVendorAssessmentWithQuestionnaireResults: S.Schema<PaginatedResponseVendorAssessmentWithQuestionnaireResults>;
|
|
2384
|
+
export interface PaginatedResponseVendorAssessmentWithQuestionnaire {
|
|
2385
|
+
results: PaginatedResponseVendorAssessmentWithQuestionnaireResults;
|
|
2386
|
+
}
|
|
2387
|
+
export declare const PaginatedResponseVendorAssessmentWithQuestionnaire: S.Schema<PaginatedResponseVendorAssessmentWithQuestionnaire>;
|
|
2388
|
+
export interface GetBusinessUnitRequest {
|
|
2389
|
+
businessUnitId: string;
|
|
2303
2390
|
}
|
|
2304
|
-
export declare const
|
|
2391
|
+
export declare const GetBusinessUnitRequest: S.Schema<GetBusinessUnitRequest>;
|
|
2392
|
+
export interface BusinessUnit {
|
|
2393
|
+
/** The business unit's unique ID. */
|
|
2394
|
+
id: string;
|
|
2395
|
+
/** The business unit's display name. */
|
|
2396
|
+
displayName: string;
|
|
2397
|
+
}
|
|
2398
|
+
export declare const BusinessUnit: S.Schema<BusinessUnit>;
|
|
2305
2399
|
export interface GetChatbotConversationMessagesRequest {
|
|
2306
2400
|
slugId: string;
|
|
2307
2401
|
conversationId: string;
|
|
@@ -2416,6 +2510,8 @@ export interface ControlDetail {
|
|
|
2416
2510
|
creationDate: string | null;
|
|
2417
2511
|
/** When the control was last modified. Returns null for Vanta library controls. */
|
|
2418
2512
|
modificationDate: string | null;
|
|
2513
|
+
/** How the control is implemented. */
|
|
2514
|
+
implementationDetails?: string | null;
|
|
2419
2515
|
/** The number of passing documents that are linked to the control. */
|
|
2420
2516
|
numDocumentsPassing: number;
|
|
2421
2517
|
/** The total number of documents that are linked to the control. */
|
|
@@ -2758,6 +2854,15 @@ export interface MonitoredComputer {
|
|
|
2758
2854
|
udid: string | null;
|
|
2759
2855
|
}
|
|
2760
2856
|
export declare const MonitoredComputer: S.Schema<MonitoredComputer>;
|
|
2857
|
+
export interface GetOrganizationRequest {
|
|
2858
|
+
}
|
|
2859
|
+
export declare const GetOrganizationRequest: S.Schema<GetOrganizationRequest>;
|
|
2860
|
+
export interface OrganizationIdentity {
|
|
2861
|
+
id: string;
|
|
2862
|
+
displayName: string;
|
|
2863
|
+
region: string;
|
|
2864
|
+
}
|
|
2865
|
+
export declare const OrganizationIdentity: S.Schema<OrganizationIdentity>;
|
|
2761
2866
|
export interface GetPersonRequest {
|
|
2762
2867
|
personId: string;
|
|
2763
2868
|
}
|
|
@@ -2813,6 +2918,16 @@ export interface Policy {
|
|
|
2813
2918
|
latestApprovedVersion: PolicyLatestApprovedVersion | null;
|
|
2814
2919
|
}
|
|
2815
2920
|
export declare const Policy: S.Schema<Policy>;
|
|
2921
|
+
export interface GetProgramScopeRequest {
|
|
2922
|
+
programScopeId: string;
|
|
2923
|
+
}
|
|
2924
|
+
export declare const GetProgramScopeRequest: S.Schema<GetProgramScopeRequest>;
|
|
2925
|
+
export interface ProgramScope {
|
|
2926
|
+
id: string;
|
|
2927
|
+
businessUnitId: string | null;
|
|
2928
|
+
frameworkId: string;
|
|
2929
|
+
}
|
|
2930
|
+
export declare const ProgramScope: S.Schema<ProgramScope>;
|
|
2816
2931
|
export interface GetQuestionnaireRequest {
|
|
2817
2932
|
questionnaireId: string;
|
|
2818
2933
|
}
|
|
@@ -2855,15 +2970,6 @@ export interface GetQuestionnaireResponseRequest {
|
|
|
2855
2970
|
responseId: string;
|
|
2856
2971
|
}
|
|
2857
2972
|
export declare const GetQuestionnaireResponseRequest: S.Schema<GetQuestionnaireResponseRequest>;
|
|
2858
|
-
export type QuestionnaireResponseMultipleChoiceAnswer = "NO" | "NOT_APPLICABLE" | "YES";
|
|
2859
|
-
export declare const QuestionnaireResponseMultipleChoiceAnswer: any;
|
|
2860
|
-
/** Frozen local clone of the shared `QAutoAnswer` shape, scoped to the deprecated REST `answer` field so that field's contract does not track changes to the shared answer-library type. No longer populated at runtime; removal is tracked by CTAUTO-1973. */
|
|
2861
|
-
export interface DeprecatedQAutoAnswerForAPI {
|
|
2862
|
-
explanation?: string | null;
|
|
2863
|
-
multipleChoice?: QuestionnaireResponseMultipleChoiceAnswer | null;
|
|
2864
|
-
multipleChoiceCustom?: string | null;
|
|
2865
|
-
}
|
|
2866
|
-
export declare const DeprecatedQAutoAnswerForAPI: S.Schema<DeprecatedQAutoAnswerForAPI>;
|
|
2867
2973
|
export type QuestionnaireResponseOriginType = "AI" | "ANSWER_LIBRARY" | "MANUAL" | "ORIGINAL_QUESTIONNAIRE" | "RESOURCE";
|
|
2868
2974
|
export declare const QuestionnaireResponseOriginType: any;
|
|
2869
2975
|
/** JSON Schema v7 */
|
|
@@ -2887,7 +2993,7 @@ export declare const JSONSchema7Object: S.Schema<JSONSchema7Object>;
|
|
|
2887
2993
|
/** Primitive type */
|
|
2888
2994
|
export type JSONSchema7Type2 = string | number | boolean | JSONSchema7Object | unknown;
|
|
2889
2995
|
export declare const JSONSchema7Type2: S.Schema<JSONSchema7Type2>;
|
|
2890
|
-
export type JSONSchema7EnumList = Array<JSONSchema7Type2>;
|
|
2996
|
+
export type JSONSchema7EnumList = Array<JSONSchema7Type2 | null>;
|
|
2891
2997
|
export declare const JSONSchema7EnumList: S.Schema<JSONSchema7EnumList>;
|
|
2892
2998
|
export type JSONSchema7ItemsCase1List = Array<JSONSchema7Definition>;
|
|
2893
2999
|
export declare const JSONSchema7ItemsCase1List: S.Schema<JSONSchema7ItemsCase1List>;
|
|
@@ -2978,7 +3084,7 @@ export type AnswerPartValue = string | number | boolean | AnswerPartValueCase3Li
|
|
|
2978
3084
|
export declare const AnswerPartValue: S.Schema<AnswerPartValue>;
|
|
2979
3085
|
/** Construct a type with a set of properties K of type T */
|
|
2980
3086
|
export type RecordStringAnswerPartValue = {
|
|
2981
|
-
[key: string]: AnswerPartValue | undefined;
|
|
3087
|
+
[key: string]: AnswerPartValue | null | undefined;
|
|
2982
3088
|
};
|
|
2983
3089
|
export declare const RecordStringAnswerPartValue: S.Schema<RecordStringAnswerPartValue>;
|
|
2984
3090
|
export interface QuestionnaireResponseWithoutViewerPermissionsAttachedEvidenceItemUploadedDocument {
|
|
@@ -3004,8 +3110,6 @@ export interface QuestionnaireResponseWithoutViewerPermissions {
|
|
|
3004
3110
|
sequenceLabel?: string;
|
|
3005
3111
|
/** The actual question text */
|
|
3006
3112
|
question: string;
|
|
3007
|
-
/** The current answer for the question. */
|
|
3008
|
-
answer?: DeprecatedQAutoAnswerForAPI;
|
|
3009
3113
|
/** The user who last edited the question/answer */
|
|
3010
3114
|
editedBy?: CustomerTrustUser | null;
|
|
3011
3115
|
/** The user who approved the current answer */
|
|
@@ -3018,7 +3122,7 @@ export interface QuestionnaireResponseWithoutViewerPermissions {
|
|
|
3018
3122
|
answerSchema?: string;
|
|
3019
3123
|
/** Composite JSONSchema7 built from the response's stored answer parts (via `toCompositeSchema`). Mirrors the GraphQL `answerPartsSchema` field. Absent when the response has no stored parts — clients fall back to the legacy `answerSchema` field. */
|
|
3020
3124
|
answerPartsSchema?: JSONSchema7;
|
|
3021
|
-
/** Flat map of part-id → current value (via `toAnswerPartsValues`). Same key set as `answerPartsSchema.properties
|
|
3125
|
+
/** Flat map of part-id → current value (via `toAnswerPartsValues`). Same key set as `answerPartsSchema.properties`, which each question defines for itself. Absent when the response has no stored parts. */
|
|
3022
3126
|
answerPartsValues?: RecordStringAnswerPartValue;
|
|
3023
3127
|
/** Evidence documents attached to support this questionnaire response */
|
|
3024
3128
|
attachedEvidence?: QuestionnaireResponseWithoutViewerPermissionsAttachedEvidenceList;
|
|
@@ -3529,6 +3633,34 @@ export interface PaginatedResponseSecurityReview {
|
|
|
3529
3633
|
results: PaginatedResponseSecurityReviewResults;
|
|
3530
3634
|
}
|
|
3531
3635
|
export declare const PaginatedResponseSecurityReview: S.Schema<PaginatedResponseSecurityReview>;
|
|
3636
|
+
export interface GetSettingsRequest {
|
|
3637
|
+
}
|
|
3638
|
+
export declare const GetSettingsRequest: S.Schema<GetSettingsRequest>;
|
|
3639
|
+
export type NotificationFrequencyDAILY = "DAILY";
|
|
3640
|
+
export declare const NotificationFrequencyDAILY: any;
|
|
3641
|
+
export type NotificationFrequencyWEEKLY = "WEEKLY";
|
|
3642
|
+
export declare const NotificationFrequencyWEEKLY: any;
|
|
3643
|
+
export type EnabledPersonnelNotificationSettingsEmployeeDigestFrequency = NotificationFrequencyDAILY | NotificationFrequencyWEEKLY;
|
|
3644
|
+
export declare const EnabledPersonnelNotificationSettingsEmployeeDigestFrequency: S.Schema<EnabledPersonnelNotificationSettingsEmployeeDigestFrequency>;
|
|
3645
|
+
export type NotificationChannelType = "EMAIL" | "SLACK";
|
|
3646
|
+
export declare const NotificationChannelType: any;
|
|
3647
|
+
export type EnabledPersonnelNotificationSettingsEnabledChannelsList = Array<NotificationChannelType>;
|
|
3648
|
+
export declare const EnabledPersonnelNotificationSettingsEnabledChannelsList: S.Schema<EnabledPersonnelNotificationSettingsEnabledChannelsList>;
|
|
3649
|
+
export interface EnabledPersonnelNotificationSettings {
|
|
3650
|
+
enabled: boolean;
|
|
3651
|
+
employeeDigestFrequency: EnabledPersonnelNotificationSettingsEmployeeDigestFrequency;
|
|
3652
|
+
enabledChannels: EnabledPersonnelNotificationSettingsEnabledChannelsList;
|
|
3653
|
+
nextReminderAt: string;
|
|
3654
|
+
}
|
|
3655
|
+
export declare const EnabledPersonnelNotificationSettings: S.Schema<EnabledPersonnelNotificationSettings>;
|
|
3656
|
+
export interface DisabledPersonnelNotificationSettings {
|
|
3657
|
+
enabled: boolean;
|
|
3658
|
+
}
|
|
3659
|
+
export declare const DisabledPersonnelNotificationSettings: S.Schema<DisabledPersonnelNotificationSettings>;
|
|
3660
|
+
export type PersonnelNotificationSettings = EnabledPersonnelNotificationSettings | DisabledPersonnelNotificationSettings;
|
|
3661
|
+
export declare const PersonnelNotificationSettings: S.Schema<PersonnelNotificationSettings>;
|
|
3662
|
+
export type GetSettingsResponse = PersonnelNotificationSettings;
|
|
3663
|
+
export declare const GetSettingsResponse: S.Schema<GetSettingsResponse>;
|
|
3532
3664
|
export interface GetTagsForCategoryRequest {
|
|
3533
3665
|
tagCategoryId: string;
|
|
3534
3666
|
}
|
|
@@ -4132,6 +4264,22 @@ export interface QuestionnaireAssignableUsersResponse {
|
|
|
4132
4264
|
results: QuestionnaireAssignableUsersResponseResults;
|
|
4133
4265
|
}
|
|
4134
4266
|
export declare const QuestionnaireAssignableUsersResponse: S.Schema<QuestionnaireAssignableUsersResponse>;
|
|
4267
|
+
export interface ListBusinessUnitsRequest {
|
|
4268
|
+
pageSize?: number;
|
|
4269
|
+
pageCursor?: string;
|
|
4270
|
+
}
|
|
4271
|
+
export declare const ListBusinessUnitsRequest: S.Schema<ListBusinessUnitsRequest>;
|
|
4272
|
+
export type PaginatedResponseBusinessUnitResultsDataList = Array<BusinessUnit>;
|
|
4273
|
+
export declare const PaginatedResponseBusinessUnitResultsDataList: S.Schema<PaginatedResponseBusinessUnitResultsDataList>;
|
|
4274
|
+
export interface PaginatedResponseBusinessUnitResults {
|
|
4275
|
+
data: PaginatedResponseBusinessUnitResultsDataList;
|
|
4276
|
+
pageInfo: PageInfo;
|
|
4277
|
+
}
|
|
4278
|
+
export declare const PaginatedResponseBusinessUnitResults: S.Schema<PaginatedResponseBusinessUnitResults>;
|
|
4279
|
+
export interface PaginatedResponseBusinessUnit {
|
|
4280
|
+
results: PaginatedResponseBusinessUnitResults;
|
|
4281
|
+
}
|
|
4282
|
+
export declare const PaginatedResponseBusinessUnit: S.Schema<PaginatedResponseBusinessUnit>;
|
|
4135
4283
|
export interface ListChatbotConversationsRequest {
|
|
4136
4284
|
slugId: string;
|
|
4137
4285
|
pageSize?: number;
|
|
@@ -4170,12 +4318,14 @@ export interface ListComplianceFrameworksRequest {
|
|
|
4170
4318
|
slugId: string;
|
|
4171
4319
|
}
|
|
4172
4320
|
export declare const ListComplianceFrameworksRequest: S.Schema<ListComplianceFrameworksRequest>;
|
|
4173
|
-
export type
|
|
4174
|
-
export declare const
|
|
4175
|
-
export interface
|
|
4176
|
-
results:
|
|
4177
|
-
|
|
4178
|
-
|
|
4321
|
+
export type TrustCenterComplianceFrameworkListResponseResultsList = Array<TrustCenterComplianceFramework>;
|
|
4322
|
+
export declare const TrustCenterComplianceFrameworkListResponseResultsList: S.Schema<TrustCenterComplianceFrameworkListResponseResultsList>;
|
|
4323
|
+
export interface TrustCenterComplianceFrameworkListResponse {
|
|
4324
|
+
results: TrustCenterComplianceFrameworkListResponseResultsList;
|
|
4325
|
+
/** Whether the compliance section is visible on the external Trust Center. */
|
|
4326
|
+
isSectionVisible: boolean;
|
|
4327
|
+
}
|
|
4328
|
+
export declare const TrustCenterComplianceFrameworkListResponse: S.Schema<TrustCenterComplianceFrameworkListResponse>;
|
|
4179
4329
|
export interface ListConnectedIntegrationsRequest {
|
|
4180
4330
|
pageSize?: number;
|
|
4181
4331
|
pageCursor?: string;
|
|
@@ -4264,6 +4414,71 @@ export interface ListDeactivatedControlsRequest {
|
|
|
4264
4414
|
pageCursor?: string;
|
|
4265
4415
|
}
|
|
4266
4416
|
export declare const ListDeactivatedControlsRequest: S.Schema<ListDeactivatedControlsRequest>;
|
|
4417
|
+
/** The security domains that the control belongs to. */
|
|
4418
|
+
export type DeactivatedControlDomainsList = Array<string>;
|
|
4419
|
+
export declare const DeactivatedControlDomainsList: S.Schema<DeactivatedControlDomainsList>;
|
|
4420
|
+
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
4421
|
+
export type DeactivatedControlCustomFieldsList = Array<CustomField>;
|
|
4422
|
+
export declare const DeactivatedControlCustomFieldsList: S.Schema<DeactivatedControlCustomFieldsList>;
|
|
4423
|
+
/** The shorthands of the framework's sections that the control maps to. */
|
|
4424
|
+
export type DeactivatedControlFrameworkSectionsList = Array<string>;
|
|
4425
|
+
export declare const DeactivatedControlFrameworkSectionsList: S.Schema<DeactivatedControlFrameworkSectionsList>;
|
|
4426
|
+
export interface DeactivatedControlFramework {
|
|
4427
|
+
/** The framework's unique ID. Accepted by the `frameworkMatchesAny` filter on `GET /v1/controls`. */
|
|
4428
|
+
id: string;
|
|
4429
|
+
/** The framework's display name. */
|
|
4430
|
+
displayName: string;
|
|
4431
|
+
/** The short version of the framework's display name. */
|
|
4432
|
+
shorthandName: string;
|
|
4433
|
+
/** The shorthands of the framework's sections that the control maps to. */
|
|
4434
|
+
sections: DeactivatedControlFrameworkSectionsList;
|
|
4435
|
+
}
|
|
4436
|
+
export declare const DeactivatedControlFramework: S.Schema<DeactivatedControlFramework>;
|
|
4437
|
+
/** The frameworks that the control is mapped to. Empty when the control maps to no framework the organization has enabled. */
|
|
4438
|
+
export type DeactivatedControlFrameworksList = Array<DeactivatedControlFramework>;
|
|
4439
|
+
export declare const DeactivatedControlFrameworksList: S.Schema<DeactivatedControlFrameworksList>;
|
|
4440
|
+
export interface DeactivatedControl {
|
|
4441
|
+
/** The control's unique ID. */
|
|
4442
|
+
id: string;
|
|
4443
|
+
/** The control's external ID. */
|
|
4444
|
+
externalId: string | null;
|
|
4445
|
+
/** The control's name. */
|
|
4446
|
+
name: string;
|
|
4447
|
+
/** The control's description. */
|
|
4448
|
+
description: string;
|
|
4449
|
+
/** The control's source, either "VANTA" or "CUSTOM". */
|
|
4450
|
+
source: ControlSource;
|
|
4451
|
+
/** The security domains that the control belongs to. */
|
|
4452
|
+
domains: DeactivatedControlDomainsList;
|
|
4453
|
+
/** The control's owner. */
|
|
4454
|
+
owner: Owner | null;
|
|
4455
|
+
/** The control's GDPR role, if the control is a GDPR control. */
|
|
4456
|
+
role?: string | null;
|
|
4457
|
+
/** The control's custom field values, if control custom fields is included in your Vanta instance. */
|
|
4458
|
+
customFields: DeactivatedControlCustomFieldsList;
|
|
4459
|
+
/** When the control was created. Returns null for Vanta library controls. */
|
|
4460
|
+
creationDate: string | null;
|
|
4461
|
+
/** When the control was last modified. Returns null for Vanta library controls. */
|
|
4462
|
+
modificationDate: string | null;
|
|
4463
|
+
/** How the control is implemented. */
|
|
4464
|
+
implementationDetails?: string | null;
|
|
4465
|
+
/** The frameworks that the control is mapped to. Empty when the control maps to no framework the organization has enabled. */
|
|
4466
|
+
frameworks: DeactivatedControlFrameworksList;
|
|
4467
|
+
/** The reason given when the control was deactivated. Null when no reason was recorded, including for deactivations that predate the field. */
|
|
4468
|
+
deactivationReason: string | null;
|
|
4469
|
+
}
|
|
4470
|
+
export declare const DeactivatedControl: S.Schema<DeactivatedControl>;
|
|
4471
|
+
export type PaginatedResponseDeactivatedControlResultsDataList = Array<DeactivatedControl>;
|
|
4472
|
+
export declare const PaginatedResponseDeactivatedControlResultsDataList: S.Schema<PaginatedResponseDeactivatedControlResultsDataList>;
|
|
4473
|
+
export interface PaginatedResponseDeactivatedControlResults {
|
|
4474
|
+
data: PaginatedResponseDeactivatedControlResultsDataList;
|
|
4475
|
+
pageInfo: PageInfo;
|
|
4476
|
+
}
|
|
4477
|
+
export declare const PaginatedResponseDeactivatedControlResults: S.Schema<PaginatedResponseDeactivatedControlResults>;
|
|
4478
|
+
export interface PaginatedResponseDeactivatedControl {
|
|
4479
|
+
results: PaginatedResponseDeactivatedControlResults;
|
|
4480
|
+
}
|
|
4481
|
+
export declare const PaginatedResponseDeactivatedControl: S.Schema<PaginatedResponseDeactivatedControl>;
|
|
4267
4482
|
export interface ListDiscoveredVendorAccountsRequest {
|
|
4268
4483
|
discoveredVendorId: string;
|
|
4269
4484
|
pageSize?: number;
|
|
@@ -4652,6 +4867,8 @@ export type ListPeopleRequestTaskStatusMatchesAnyList = Array<TaskStatus | (stri
|
|
|
4652
4867
|
export declare const ListPeopleRequestTaskStatusMatchesAnyList: S.Schema<ListPeopleRequestTaskStatusMatchesAnyList>;
|
|
4653
4868
|
export type ListPeopleRequestGroupIdsMatchesAnyList = Array<string>;
|
|
4654
4869
|
export declare const ListPeopleRequestGroupIdsMatchesAnyList: S.Schema<ListPeopleRequestGroupIdsMatchesAnyList>;
|
|
4870
|
+
export type ListPeopleRequestFrameworkIdMatchesAnyList = Array<string>;
|
|
4871
|
+
export declare const ListPeopleRequestFrameworkIdMatchesAnyList: S.Schema<ListPeopleRequestFrameworkIdMatchesAnyList>;
|
|
4655
4872
|
export interface ListPeopleRequest {
|
|
4656
4873
|
pageSize?: number;
|
|
4657
4874
|
pageCursor?: string;
|
|
@@ -4667,6 +4884,8 @@ export interface ListPeopleRequest {
|
|
|
4667
4884
|
groupIdsMatchesAny?: ListPeopleRequestGroupIdsMatchesAnyList;
|
|
4668
4885
|
/** Filter people matching the given employment status. */
|
|
4669
4886
|
employmentStatus?: EmploymentStatus | (string & {});
|
|
4887
|
+
/** Filter people in scope for any of the given framework IDs. Non-viewable program scopes are ignored. */
|
|
4888
|
+
frameworkIdMatchesAny?: ListPeopleRequestFrameworkIdMatchesAnyList;
|
|
4670
4889
|
}
|
|
4671
4890
|
export declare const ListPeopleRequest: S.Schema<ListPeopleRequest>;
|
|
4672
4891
|
export type PaginatedResponsePersonResultsDataList = Array<Person>;
|
|
@@ -4712,6 +4931,30 @@ export interface PaginatedResponsePolicy {
|
|
|
4712
4931
|
results: PaginatedResponsePolicyResults;
|
|
4713
4932
|
}
|
|
4714
4933
|
export declare const PaginatedResponsePolicy: S.Schema<PaginatedResponsePolicy>;
|
|
4934
|
+
export type ListProgramScopesRequestBusinessUnitIdMatchesAnyList = Array<string>;
|
|
4935
|
+
export declare const ListProgramScopesRequestBusinessUnitIdMatchesAnyList: S.Schema<ListProgramScopesRequestBusinessUnitIdMatchesAnyList>;
|
|
4936
|
+
export type ListProgramScopesRequestFrameworkIdMatchesAnyList = Array<string>;
|
|
4937
|
+
export declare const ListProgramScopesRequestFrameworkIdMatchesAnyList: S.Schema<ListProgramScopesRequestFrameworkIdMatchesAnyList>;
|
|
4938
|
+
export interface ListProgramScopesRequest {
|
|
4939
|
+
pageSize?: number;
|
|
4940
|
+
pageCursor?: string;
|
|
4941
|
+
/** Filter program scopes to those whose business unit ID matches any of the provided IDs. */
|
|
4942
|
+
businessUnitIdMatchesAny?: ListProgramScopesRequestBusinessUnitIdMatchesAnyList;
|
|
4943
|
+
/** Filter program scopes to those whose framework ID matches any of the provided IDs. */
|
|
4944
|
+
frameworkIdMatchesAny?: ListProgramScopesRequestFrameworkIdMatchesAnyList;
|
|
4945
|
+
}
|
|
4946
|
+
export declare const ListProgramScopesRequest: S.Schema<ListProgramScopesRequest>;
|
|
4947
|
+
export type PaginatedResponseProgramScopeResultsDataList = Array<ProgramScope>;
|
|
4948
|
+
export declare const PaginatedResponseProgramScopeResultsDataList: S.Schema<PaginatedResponseProgramScopeResultsDataList>;
|
|
4949
|
+
export interface PaginatedResponseProgramScopeResults {
|
|
4950
|
+
data: PaginatedResponseProgramScopeResultsDataList;
|
|
4951
|
+
pageInfo: PageInfo;
|
|
4952
|
+
}
|
|
4953
|
+
export declare const PaginatedResponseProgramScopeResults: S.Schema<PaginatedResponseProgramScopeResults>;
|
|
4954
|
+
export interface PaginatedResponseProgramScope {
|
|
4955
|
+
results: PaginatedResponseProgramScopeResults;
|
|
4956
|
+
}
|
|
4957
|
+
export declare const PaginatedResponseProgramScope: S.Schema<PaginatedResponseProgramScope>;
|
|
4715
4958
|
export interface ListQuestionnaireResponsesRequest {
|
|
4716
4959
|
questionnaireId: string;
|
|
4717
4960
|
pageSize?: number;
|
|
@@ -5306,6 +5549,13 @@ export declare const ListVendorRiskAttributesRequest: S.Schema<ListVendorRiskAtt
|
|
|
5306
5549
|
/** Vendor categories this risk attribute applies to. */
|
|
5307
5550
|
export type VendorRiskAttributeVendorCategoriesList = Array<string>;
|
|
5308
5551
|
export declare const VendorRiskAttributeVendorCategoriesList: S.Schema<VendorRiskAttributeVendorCategoriesList>;
|
|
5552
|
+
export interface VendorRiskSection {
|
|
5553
|
+
/** Unique identifier for the risk section. */
|
|
5554
|
+
id: string;
|
|
5555
|
+
/** Display name of the risk section. */
|
|
5556
|
+
name: string;
|
|
5557
|
+
}
|
|
5558
|
+
export declare const VendorRiskSection: S.Schema<VendorRiskSection>;
|
|
5309
5559
|
export interface VendorRiskAttribute {
|
|
5310
5560
|
/** Unique identifier for the risk attribute. */
|
|
5311
5561
|
id: string;
|
|
@@ -5319,6 +5569,8 @@ export interface VendorRiskAttribute {
|
|
|
5319
5569
|
enabled: boolean;
|
|
5320
5570
|
/** Risk level of this attribute. */
|
|
5321
5571
|
riskLevel: VendorRiskLevel;
|
|
5572
|
+
/** Risk section this attribute belongs to. */
|
|
5573
|
+
riskSection: VendorRiskSection;
|
|
5322
5574
|
}
|
|
5323
5575
|
export declare const VendorRiskAttribute: S.Schema<VendorRiskAttribute>;
|
|
5324
5576
|
export type PaginatedResponseVendorRiskAttributeResultsDataList = Array<VendorRiskAttribute>;
|
|
@@ -5691,7 +5943,7 @@ export interface UpdateAnswerLibraryEntryRouteRequest {
|
|
|
5691
5943
|
}
|
|
5692
5944
|
export declare const UpdateAnswerLibraryEntryRouteRequest: S.Schema<UpdateAnswerLibraryEntryRouteRequest>;
|
|
5693
5945
|
/** Compliance standard to associate with this framework. Pass null to unset. */
|
|
5694
|
-
export type UpdateComplianceFrameworkRequestStandard = "aiact" | "aiuc1" | "aue8" | "awsFTR" | "bsic5" | "ccpa" | "cisv8" | "cjis" | "cmmc2" | "cps234" | "cri" | "dora" | "fedRAMPr5" | "fedramp" | "fedramp20x" | "fedramp20x_2026" | "gdpr" | "hipaa" | "hitruste1" | "iso9001" | "iso27001" | "iso27001_2022" | "iso27017" | "iso27018" | "iso27701" | "iso27701_2025" | "iso42001" | "msftSSPA" | "mvsp" | "nis2d" | "nist53" | "nist171" | "nist171r3" | "nistAiRmf" | "nistCSF" | "nistcsf2" | "ofdss" | "pciDss4" | "pciSaqA" | "pciSaqAEP" | "pciSaqDMerchant" | "pciSaqDSP" | "soc2" | "soxITGC" | "t23nycrr500" | "tisax" | "tisax2027" | "iso22301" | "trust" | "ukCyberEssentials" | "ukCyberEssentials33" | "usDataPrivacy" | "fedrampKSI";
|
|
5946
|
+
export type UpdateComplianceFrameworkRequestStandard = "aiact" | "aiuc1" | "aiuc1_26q3" | "atc" | "aue8" | "awsFTR" | "bsic5" | "ccpa" | "cisv8" | "cjis" | "cmmc2" | "cps234" | "cri" | "dora" | "fedRAMPr5" | "fedramp" | "fedramp20x" | "fedramp20x_2026" | "fedramp20x_classA" | "gdpr" | "hipaa" | "hitruste1" | "iso9001" | "iso27001" | "iso27001_2022" | "iso27017" | "iso27018" | "iso27701" | "iso27701_2025" | "iso42001" | "msftSSPA" | "mvsp" | "nis2d" | "nist53" | "nist171" | "nist171r3" | "nistAiRmf" | "nistCSF" | "nistcsf2" | "ofdss" | "pciDss4" | "pciSaqA" | "pciSaqAEP" | "pciSaqDMerchant" | "pciSaqDSP" | "soc2" | "soxITGC" | "t23nycrr500" | "tisax" | "tisax2027" | "iso22301" | "trust" | "ukCyberEssentials" | "ukCyberEssentials33" | "usDataPrivacy" | "fedrampKSI";
|
|
5695
5947
|
export declare const UpdateComplianceFrameworkRequestStandard: any;
|
|
5696
5948
|
export interface UpdateComplianceFrameworkRequest {
|
|
5697
5949
|
slugId: string;
|
|
@@ -5709,6 +5961,8 @@ export type UpdateControlMetadataRequestCustomFieldsList = Array<CustomField>;
|
|
|
5709
5961
|
export declare const UpdateControlMetadataRequestCustomFieldsList: S.Schema<UpdateControlMetadataRequestCustomFieldsList>;
|
|
5710
5962
|
export interface UpdateControlMetadataRequest {
|
|
5711
5963
|
controlId: string;
|
|
5964
|
+
/** How the control is implemented. */
|
|
5965
|
+
implementationDetails?: string;
|
|
5712
5966
|
/** A new name for the control. */
|
|
5713
5967
|
name?: string;
|
|
5714
5968
|
/** The new external ID for the control. */
|
|
@@ -5769,6 +6023,16 @@ export interface UpdateDocumentResourceRequest {
|
|
|
5769
6023
|
categoryId?: string | null;
|
|
5770
6024
|
}
|
|
5771
6025
|
export declare const UpdateDocumentResourceRequest: S.Schema<UpdateDocumentResourceRequest>;
|
|
6026
|
+
export interface UpdateGroupRequest {
|
|
6027
|
+
groupId: string;
|
|
6028
|
+
/** Email of an active Vanta user with the Admin role in the organization. Omit to preserve; pass null to clear. */
|
|
6029
|
+
pointOfContactEmail?: string | null;
|
|
6030
|
+
/** New description. Omit to preserve; pass null to clear. */
|
|
6031
|
+
description?: string | null;
|
|
6032
|
+
/** New display name. Omit to preserve. Names are trimmed, must be non-empty and unique, and cannot change for an IdP-managed group. */
|
|
6033
|
+
name?: string;
|
|
6034
|
+
}
|
|
6035
|
+
export declare const UpdateGroupRequest: S.Schema<UpdateGroupRequest>;
|
|
5772
6036
|
export interface UpdatePersonRequestName {
|
|
5773
6037
|
last: string;
|
|
5774
6038
|
first: string;
|
|
@@ -5933,6 +6197,20 @@ export interface UpdateRiskScenarioControlRequest {
|
|
|
5933
6197
|
controlType: RiskScenarioControlType | (string & {});
|
|
5934
6198
|
}
|
|
5935
6199
|
export declare const UpdateRiskScenarioControlRequest: S.Schema<UpdateRiskScenarioControlRequest>;
|
|
6200
|
+
export type NotificationFrequency = "DAILY" | "NEVER" | "WEEKLY";
|
|
6201
|
+
export declare const NotificationFrequency: any;
|
|
6202
|
+
/** Replaces the complete channel set. Omit to preserve it; an empty array disables reminders. */
|
|
6203
|
+
export type UpdateSettingsRequestChannelsList = Array<NotificationChannelType | (string & {})>;
|
|
6204
|
+
export declare const UpdateSettingsRequestChannelsList: S.Schema<UpdateSettingsRequestChannelsList>;
|
|
6205
|
+
export interface UpdateSettingsRequest {
|
|
6206
|
+
/** Omit to preserve the current frequency. NEVER disables reminders. */
|
|
6207
|
+
frequency?: NotificationFrequency | (string & {});
|
|
6208
|
+
/** Replaces the complete channel set. Omit to preserve it; an empty array disables reminders. */
|
|
6209
|
+
channels?: UpdateSettingsRequestChannelsList;
|
|
6210
|
+
}
|
|
6211
|
+
export declare const UpdateSettingsRequest: S.Schema<UpdateSettingsRequest>;
|
|
6212
|
+
export type UpdateSettingsResponse = PersonnelNotificationSettings;
|
|
6213
|
+
export declare const UpdateSettingsResponse: S.Schema<UpdateSettingsResponse>;
|
|
5936
6214
|
export type BannerSettingGRADIENT = "GRADIENT";
|
|
5937
6215
|
export declare const BannerSettingGRADIENT: any;
|
|
5938
6216
|
export type BannerSettingMINIMAL = "MINIMAL";
|
|
@@ -6140,7 +6418,7 @@ export interface UpdateVendorRequest {
|
|
|
6140
6418
|
isVisibleToAuditors?: boolean;
|
|
6141
6419
|
/** The authentication details about the vendor. */
|
|
6142
6420
|
authDetails?: UpdateVendorRequestAuthDetails;
|
|
6143
|
-
/**
|
|
6421
|
+
/** This field is ignored. Use `POST /vendors/{vendorId}/set-status` to change vendor status. */
|
|
6144
6422
|
status?: VendorStatus | (string & {});
|
|
6145
6423
|
/** The vendor's category. */
|
|
6146
6424
|
category?: string;
|
|
@@ -6581,7 +6859,7 @@ export type DeleteTrustCenterUpdateError = VantaOpError;
|
|
|
6581
6859
|
/** Delete Trust Center update Removes an update from a Trust Center. */
|
|
6582
6860
|
export declare const deleteTrustCenterUpdate: API.OperationMethod<DeleteTrustCenterUpdateRequest, DeleteTrustCenterUpdateResponse, DeleteTrustCenterUpdateError, VantaOpContext>;
|
|
6583
6861
|
export type DenyTrustCenterAccessRequestError = VantaOpError;
|
|
6584
|
-
/** Deny Trust Center access request Denies an access request on a Trust Center. */
|
|
6862
|
+
/** Deny Trust Center access request Denies an access request on a Trust Center. The requester is only notified by email when `sendEmail` is true. */
|
|
6585
6863
|
export declare const denyTrustCenterAccessRequest: API.OperationMethod<DenyTrustCenterAccessRequestRequest, DenyTrustCenterAccessRequestResponse, DenyTrustCenterAccessRequestError, VantaOpContext>;
|
|
6586
6864
|
export type GetAnswerLibraryEntryError = VantaOpError;
|
|
6587
6865
|
/** Get Answer Library entry Get an Answer Library entry. */
|
|
@@ -6591,7 +6869,10 @@ export type GetAssessmentByIdError = VantaOpError;
|
|
|
6591
6869
|
export declare const getAssessmentById: API.OperationMethod<GetAssessmentByIdRequest, VendorAssessment, GetAssessmentByIdError, VantaOpContext>;
|
|
6592
6870
|
export type GetAssessmentsByVendorIdError = VantaOpError;
|
|
6593
6871
|
/** List assessments by vendor ID Returns a vendor's assessments across all assessment types. */
|
|
6594
|
-
export declare const getAssessmentsByVendorId: API.OperationMethod<GetAssessmentsByVendorIdRequest,
|
|
6872
|
+
export declare const getAssessmentsByVendorId: API.OperationMethod<GetAssessmentsByVendorIdRequest, PaginatedResponseVendorAssessmentWithQuestionnaire, GetAssessmentsByVendorIdError, VantaOpContext>;
|
|
6873
|
+
export type GetBusinessUnitError = VantaOpError;
|
|
6874
|
+
/** Get business unit by ID Get a business unit by ID. Returns 403 when business unit scoping is disabled for the domain. */
|
|
6875
|
+
export declare const getBusinessUnit: API.OperationMethod<GetBusinessUnitRequest, BusinessUnit, GetBusinessUnitError, VantaOpContext>;
|
|
6595
6876
|
export type GetChatbotConversationMessagesError = VantaOpError;
|
|
6596
6877
|
/** Get Trust Center chatbot conversation messages Gets the messages for a specific chatbot conversation on a Trust Center. */
|
|
6597
6878
|
export declare const getChatbotConversationMessages: API.OperationMethod<GetChatbotConversationMessagesRequest, ArrayResponseTrustCenterChatbotMessage, GetChatbotConversationMessagesError, VantaOpContext>;
|
|
@@ -6628,12 +6909,18 @@ export declare const getKnowledgeBaseResource: API.OperationMethod<GetKnowledgeB
|
|
|
6628
6909
|
export type GetMonitoredComputerError = VantaOpError;
|
|
6629
6910
|
/** Get monitored computer by ID Returns a monitored computer by ID. */
|
|
6630
6911
|
export declare const getMonitoredComputer: API.OperationMethod<GetMonitoredComputerRequest, MonitoredComputer, GetMonitoredComputerError, VantaOpContext>;
|
|
6912
|
+
export type GetOrganizationError = VantaOpError;
|
|
6913
|
+
/** Get connected organization Returns the organization selected by the authenticated token. Requires vanta-api.all:read or vanta-api.all:write. No organization selector is accepted. The region is the organization's home AWS region identifier (for example, us-east-1), not the serving endpoint. */
|
|
6914
|
+
export declare const getOrganization: API.OperationMethod<GetOrganizationRequest, OrganizationIdentity, GetOrganizationError, VantaOpContext>;
|
|
6631
6915
|
export type GetPersonError = VantaOpError;
|
|
6632
6916
|
/** Get person by ID Returns a person by ID. */
|
|
6633
6917
|
export declare const getPerson: API.OperationMethod<GetPersonRequest, Person, GetPersonError, VantaOpContext>;
|
|
6634
6918
|
export type GetPolicyError = VantaOpError;
|
|
6635
6919
|
/** Get policy by ID Gets a policy by ID. Policy IDs can be found in Vanta in URL bar after /policies/. */
|
|
6636
6920
|
export declare const getPolicy: API.OperationMethod<GetPolicyRequest, Policy, GetPolicyError, VantaOpContext>;
|
|
6921
|
+
export type GetProgramScopeError = VantaOpError;
|
|
6922
|
+
/** Get program scope by ID Get a program scope by ID. When business unit scoping is disabled, businessUnitId is null. */
|
|
6923
|
+
export declare const getProgramScope: API.OperationMethod<GetProgramScopeRequest, ProgramScope, GetProgramScopeError, VantaOpContext>;
|
|
6637
6924
|
export type GetQuestionnaireError = VantaOpError;
|
|
6638
6925
|
/** Get questionnaire by ID Retrieve a questionnaire by ID. */
|
|
6639
6926
|
export declare const getQuestionnaire: API.OperationMethod<GetQuestionnaireRequest, CustomerTrustQuestionnaire, GetQuestionnaireError, VantaOpContext>;
|
|
@@ -6661,6 +6948,9 @@ export declare const getSecurityReviewsById: API.OperationMethod<GetSecurityRevi
|
|
|
6661
6948
|
export type GetSecurityReviewsByVendorIdError = VantaOpError;
|
|
6662
6949
|
/** List security reviews by vendor ID Returns a vendor's security reviews. */
|
|
6663
6950
|
export declare const getSecurityReviewsByVendorId: API.OperationMethod<GetSecurityReviewsByVendorIdRequest, PaginatedResponseSecurityReview, GetSecurityReviewsByVendorIdError, VantaOpContext>;
|
|
6951
|
+
export type GetSettingsError = VantaOpError;
|
|
6952
|
+
/** Get personnel notification settings Returns the organization's personnel reminder and employee-digest settings. */
|
|
6953
|
+
export declare const getSettings: API.OperationMethod<GetSettingsRequest, GetSettingsResponse, GetSettingsError, VantaOpContext>;
|
|
6664
6954
|
export type GetTagsForCategoryError = VantaOpError;
|
|
6665
6955
|
/** Get tags for category Retrieve a tag category and its associated tags by category ID. */
|
|
6666
6956
|
export declare const getTagsForCategory: API.OperationMethod<GetTagsForCategoryRequest, TagCategoryWithTags, GetTagsForCategoryError, VantaOpContext>;
|
|
@@ -6739,12 +7029,15 @@ export declare const listAnswerLibraryEntries: API.OperationMethod<ListAnswerLib
|
|
|
6739
7029
|
export type ListAssignableUsersError = VantaOpError;
|
|
6740
7030
|
/** List assignable users List users who can be assigned as owner or approver on a questionnaire. When a role is specified, results are filtered to users with that role's required permission. When omitted, users assignable to either role are returned. Results can optionally be narrowed by a search string. */
|
|
6741
7031
|
export declare const listAssignableUsers: API.OperationMethod<ListAssignableUsersRequest, QuestionnaireAssignableUsersResponse, ListAssignableUsersError, VantaOpContext>;
|
|
7032
|
+
export type ListBusinessUnitsError = VantaOpError;
|
|
7033
|
+
/** List business units Lists the business units for your organization. Returns 403 when business unit scoping is disabled for the domain. */
|
|
7034
|
+
export declare const listBusinessUnits: API.OperationMethod<ListBusinessUnitsRequest, PaginatedResponseBusinessUnit, ListBusinessUnitsError, VantaOpContext>;
|
|
6742
7035
|
export type ListChatbotConversationsError = VantaOpError;
|
|
6743
7036
|
/** List Trust Center chatbot conversations Gets a paginated list of chatbot conversations on a Trust Center. */
|
|
6744
7037
|
export declare const listChatbotConversations: API.OperationMethod<ListChatbotConversationsRequest, PaginatedResponseTrustCenterChatbotConversation, ListChatbotConversationsError, VantaOpContext>;
|
|
6745
7038
|
export type ListComplianceFrameworksError = VantaOpError;
|
|
6746
7039
|
/** List Trust Center compliance frameworks Gets the list of compliance frameworks on a Trust Center. */
|
|
6747
|
-
export declare const listComplianceFrameworks: API.OperationMethod<ListComplianceFrameworksRequest,
|
|
7040
|
+
export declare const listComplianceFrameworks: API.OperationMethod<ListComplianceFrameworksRequest, TrustCenterComplianceFrameworkListResponse, ListComplianceFrameworksError, VantaOpContext>;
|
|
6748
7041
|
export type ListConnectedIntegrationsError = VantaOpError;
|
|
6749
7042
|
/** List connected integrations Lists all integrations connected to a Vanta instance. */
|
|
6750
7043
|
export declare const listConnectedIntegrations: API.OperationMethod<ListConnectedIntegrationsRequest, PaginatedResponseIntegration, ListConnectedIntegrationsError, VantaOpContext>;
|
|
@@ -6765,7 +7058,7 @@ export type ListCustomerTrustAccountsError = VantaOpError;
|
|
|
6765
7058
|
export declare const listCustomerTrustAccounts: API.OperationMethod<ListCustomerTrustAccountsRequest, PaginatedResponseCustomerTrustAccountVantaApi, ListCustomerTrustAccountsError, VantaOpContext>;
|
|
6766
7059
|
export type ListDeactivatedControlsError = VantaOpError;
|
|
6767
7060
|
/** List deactivated controls List deactivated Vanta controls (previously known as the controls library). */
|
|
6768
|
-
export declare const listDeactivatedControls: API.OperationMethod<ListDeactivatedControlsRequest,
|
|
7061
|
+
export declare const listDeactivatedControls: API.OperationMethod<ListDeactivatedControlsRequest, PaginatedResponseDeactivatedControl, ListDeactivatedControlsError, VantaOpContext>;
|
|
6769
7062
|
export type ListDiscoveredVendorAccountsError = VantaOpError;
|
|
6770
7063
|
/** List of discovered vendor accounts List of discovered vendor accounts. */
|
|
6771
7064
|
export declare const listDiscoveredVendorAccounts: API.OperationMethod<ListDiscoveredVendorAccountsRequest, PaginatedResponseDiscoveredVendorAccount, ListDiscoveredVendorAccountsError, VantaOpContext>;
|
|
@@ -6808,6 +7101,9 @@ export declare const listPersonGroups: API.OperationMethod<ListPersonGroupsReque
|
|
|
6808
7101
|
export type ListPoliciesError = VantaOpError;
|
|
6809
7102
|
/** List policies Lists all policies. */
|
|
6810
7103
|
export declare const listPolicies: API.OperationMethod<ListPoliciesRequest, PaginatedResponsePolicy, ListPoliciesError, VantaOpContext>;
|
|
7104
|
+
export type ListProgramScopesError = VantaOpError;
|
|
7105
|
+
/** List program scopes Lists the program scopes for your organization. A program scope pairs a business unit with a framework that business unit is in scope for. When business unit scoping is disabled, businessUnitId is null. */
|
|
7106
|
+
export declare const listProgramScopes: API.OperationMethod<ListProgramScopesRequest, PaginatedResponseProgramScope, ListProgramScopesError, VantaOpContext>;
|
|
6811
7107
|
export type ListQuestionnaireResponsesError = VantaOpError;
|
|
6812
7108
|
/** List questionnaire responses List the responses on a questionnaire. Each response carries its `answerPartsSchema` and `answerPartsValues`, which describe the parts an answer is composed of and their current values. */
|
|
6813
7109
|
export declare const listQuestionnaireResponses: API.OperationMethod<ListQuestionnaireResponsesRequest, PaginatedResponseQuestionnaireResponseWithoutViewerPermissions, ListQuestionnaireResponsesError, VantaOpContext>;
|
|
@@ -6976,6 +7272,9 @@ export declare const updateCustomerTrustAccount: API.OperationMethod<UpdateCusto
|
|
|
6976
7272
|
export type UpdateDocumentResourceError = VantaOpError;
|
|
6977
7273
|
/** Update document resource Apply a partial update to a document (FILE-type) resource. Omitted fields are left untouched. To swap the underlying file, use `POST /v1/knowledge-base/resources/documents/{id}/upload`. Returns 404 for an unknown id or a URL-type resource. */
|
|
6978
7274
|
export declare const updateDocumentResource: API.OperationMethod<UpdateDocumentResourceRequest, KnowledgeBaseDocumentResourceOutput, UpdateDocumentResourceError, VantaOpContext>;
|
|
7275
|
+
export type UpdateGroupError = VantaOpError;
|
|
7276
|
+
/** Update group Partially updates a group. At least one field must be provided. */
|
|
7277
|
+
export declare const updateGroup: API.OperationMethod<UpdateGroupRequest, Group, UpdateGroupError, VantaOpContext>;
|
|
6979
7278
|
export type UpdatePersonError = VantaOpError;
|
|
6980
7279
|
/** Update person metadata Update a person's basic information. */
|
|
6981
7280
|
export declare const updatePerson: API.OperationMethod<UpdatePersonRequest, Person, UpdatePersonError, VantaOpContext>;
|
|
@@ -7000,6 +7299,9 @@ export declare const updateRiskScenario: API.OperationMethod<UpdateRiskScenarioR
|
|
|
7000
7299
|
export type UpdateRiskScenarioControlError = VantaOpError;
|
|
7001
7300
|
/** Change a risk scenario control's controlType Change the `controlType` on an existing risk-scenario / control association. Body: `{ controlType }`. The server atomically moves the resolved control between the treatment-plan and existing-control sets in a single update — there is no intermediate unlinked state. `PATCH { "controlType": "EXISTING" }` removes the control from the treatment plan but keeps it linked as an existing control; use `DELETE` to unlink it entirely. Returns 404 if the control is not currently associated with the scenario. Setting the `controlType` it already has is a 200 no-op. */
|
|
7002
7301
|
export declare const updateRiskScenarioControl: API.OperationMethod<UpdateRiskScenarioControlRequest, RiskScenarioControl, UpdateRiskScenarioControlError, VantaOpContext>;
|
|
7302
|
+
export type UpdateSettingsError = VantaOpError;
|
|
7303
|
+
/** Update personnel notification settings Partially updates the organization's personnel reminder and employee-digest settings. Omitted fields remain unchanged. */
|
|
7304
|
+
export declare const updateSettings: API.OperationMethod<UpdateSettingsRequest, UpdateSettingsResponse, UpdateSettingsError, VantaOpContext>;
|
|
7003
7305
|
export type UpdateTrustCenterError = VantaOpError;
|
|
7004
7306
|
/** Update Trust Center Updates a Trust Center by slug ID. */
|
|
7005
7307
|
export declare const updateTrustCenter: API.OperationMethod<UpdateTrustCenterRequest, TrustCenter, UpdateTrustCenterError, VantaOpContext>;
|
|
@@ -7079,7 +7381,7 @@ export type UpsertTrustCenterVideosError = VantaOpError;
|
|
|
7079
7381
|
/** Set Trust Center videos Configures the videos displayed on a Trust Center. Replaces all existing videos with the provided list. */
|
|
7080
7382
|
export declare const upsertTrustCenterVideos: API.OperationMethod<UpsertTrustCenterVideosRequest, ArrayResponseTrustCenterVideo, UpsertTrustCenterVideosError, VantaOpContext>;
|
|
7081
7383
|
export type VerifyAnswerLibraryEntryRouteError = VantaOpError;
|
|
7082
|
-
/** Verify Answer Library entry Mark an Answer Library entry as verified. Stamps `lastVerifiedAt` to the current time
|
|
7384
|
+
/** Verify Answer Library entry Mark an Answer Library entry as verified. Stamps `lastVerifiedAt` to the current time and uses the supplied expiration date or configured review cadence. The entry's question, answer, tags, and owner are left unchanged. */
|
|
7083
7385
|
export declare const verifyAnswerLibraryEntryRoute: API.OperationMethod<VerifyAnswerLibraryEntryRouteRequest, KnowledgeBaseAnswerLibraryEntryOutput, VerifyAnswerLibraryEntryRouteError, VantaOpContext>;
|
|
7084
7386
|
export type VerifyKnowledgeBaseResourceError = VantaOpError;
|
|
7085
7387
|
/** Verify Knowledge Base resource Mark a Knowledge Base resource (FILE or URL) as verified. Stamps `lastVerifiedAt` to the current time and resets `expiresAt` forward by the domain's configured review cadence; the resource's content (title, description, file or url, tags, owner) is left unchanged. Caller does not need to know the resource type — the persisted `resourceType` is used. Returns 404 when the id is unknown in the domain or — for FILE rows — when the underlying uploaded document has been deleted. */
|