vanta-auditor-api-sdk 0.4.1 → 0.5.0
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/FUNCTIONS.md +2 -2
- package/README.md +65 -105
- package/docs/sdks/auditors/README.md +1 -2
- package/docs/sdks/audits/README.md +1884 -102
- package/examples/{auditsList.example.ts → auditorsCreate.example.ts} +6 -2
- package/funcs/auditorsCreate.d.ts.map +1 -1
- package/funcs/auditorsCreate.js +2 -1
- package/funcs/auditorsCreate.js.map +1 -1
- package/funcs/auditsAcceptInformationRequestEvidence.d.ts +31 -0
- package/funcs/auditsAcceptInformationRequestEvidence.d.ts.map +1 -0
- package/funcs/auditsAcceptInformationRequestEvidence.js +139 -0
- package/funcs/auditsAcceptInformationRequestEvidence.js.map +1 -0
- package/funcs/auditsCreateCommentForEvidence.d.ts.map +1 -1
- package/funcs/auditsCreateCommentForEvidence.js +2 -1
- package/funcs/auditsCreateCommentForEvidence.js.map +1 -1
- package/funcs/auditsCreateCommentForInformationRequest.d.ts +20 -0
- package/funcs/auditsCreateCommentForInformationRequest.d.ts.map +1 -0
- package/funcs/auditsCreateCommentForInformationRequest.js +130 -0
- package/funcs/auditsCreateCommentForInformationRequest.js.map +1 -0
- package/funcs/auditsCreateCustomControl.d.ts.map +1 -1
- package/funcs/auditsCreateCustomControl.js +2 -1
- package/funcs/auditsCreateCustomControl.js.map +1 -1
- package/funcs/auditsCreateCustomEvidenceRequest.d.ts.map +1 -1
- package/funcs/auditsCreateCustomEvidenceRequest.js +2 -1
- package/funcs/auditsCreateCustomEvidenceRequest.js.map +1 -1
- package/funcs/auditsCreateInformationRequest.d.ts +25 -0
- package/funcs/auditsCreateInformationRequest.d.ts.map +1 -0
- package/funcs/auditsCreateInformationRequest.js +131 -0
- package/funcs/auditsCreateInformationRequest.js.map +1 -0
- package/funcs/auditsDeleteCommentForInformationRequest.d.ts +19 -0
- package/funcs/auditsDeleteCommentForInformationRequest.d.ts.map +1 -0
- package/funcs/auditsDeleteCommentForInformationRequest.js +132 -0
- package/funcs/auditsDeleteCommentForInformationRequest.js.map +1 -0
- package/funcs/auditsDeleteInformationRequest.d.ts +27 -0
- package/funcs/auditsDeleteInformationRequest.d.ts.map +1 -0
- package/funcs/auditsDeleteInformationRequest.js +135 -0
- package/funcs/auditsDeleteInformationRequest.js.map +1 -0
- package/funcs/auditsFlagInformationRequestEvidence.d.ts +33 -0
- package/funcs/auditsFlagInformationRequestEvidence.d.ts.map +1 -0
- package/funcs/auditsFlagInformationRequestEvidence.js +143 -0
- package/funcs/auditsFlagInformationRequestEvidence.js.map +1 -0
- package/funcs/auditsGetAudit.d.ts +22 -0
- package/funcs/auditsGetAudit.d.ts.map +1 -0
- package/funcs/auditsGetAudit.js +125 -0
- package/funcs/auditsGetAudit.js.map +1 -0
- package/funcs/auditsGetEvidenceUrls.d.ts +2 -0
- package/funcs/auditsGetEvidenceUrls.d.ts.map +1 -1
- package/funcs/auditsGetEvidenceUrls.js +4 -1
- package/funcs/auditsGetEvidenceUrls.js.map +1 -1
- package/funcs/auditsGetFrameworkCodes.d.ts +23 -0
- package/funcs/auditsGetFrameworkCodes.d.ts.map +1 -0
- package/funcs/auditsGetFrameworkCodes.js +126 -0
- package/funcs/auditsGetFrameworkCodes.js.map +1 -0
- package/funcs/auditsGetInformationRequest.d.ts +23 -0
- package/funcs/auditsGetInformationRequest.d.ts.map +1 -0
- package/funcs/auditsGetInformationRequest.js +130 -0
- package/funcs/auditsGetInformationRequest.js.map +1 -0
- package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.d.ts +30 -0
- package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.d.ts.map +1 -0
- package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.js +143 -0
- package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.js.map +1 -0
- package/funcs/auditsList.d.ts +4 -0
- package/funcs/auditsList.d.ts.map +1 -1
- package/funcs/auditsList.js +6 -1
- package/funcs/auditsList.js.map +1 -1
- package/funcs/auditsListAuditIssues.d.ts +33 -0
- package/funcs/auditsListAuditIssues.d.ts.map +1 -0
- package/funcs/auditsListAuditIssues.js +143 -0
- package/funcs/auditsListAuditIssues.js.map +1 -0
- package/funcs/auditsListAuditSnapshots.d.ts +31 -0
- package/funcs/auditsListAuditSnapshots.d.ts.map +1 -0
- package/funcs/auditsListAuditSnapshots.js +140 -0
- package/funcs/auditsListAuditSnapshots.js.map +1 -0
- package/funcs/auditsListComments.d.ts.map +1 -1
- package/funcs/auditsListComments.js +2 -1
- package/funcs/auditsListComments.js.map +1 -1
- package/funcs/auditsListCommentsForInformationRequest.d.ts +39 -0
- package/funcs/auditsListCommentsForInformationRequest.d.ts.map +1 -0
- package/funcs/auditsListCommentsForInformationRequest.js +152 -0
- package/funcs/auditsListCommentsForInformationRequest.js.map +1 -0
- package/funcs/auditsListControls.d.ts.map +1 -1
- package/funcs/auditsListControls.js +2 -1
- package/funcs/auditsListControls.js.map +1 -1
- package/funcs/auditsListEvidence.d.ts.map +1 -1
- package/funcs/auditsListEvidence.js +2 -1
- package/funcs/auditsListEvidence.js.map +1 -1
- package/funcs/auditsListInformationRequestActivity.d.ts +35 -0
- package/funcs/auditsListInformationRequestActivity.d.ts.map +1 -0
- package/funcs/auditsListInformationRequestActivity.js +148 -0
- package/funcs/auditsListInformationRequestActivity.js.map +1 -0
- package/funcs/auditsListInformationRequestEvidence.d.ts +39 -0
- package/funcs/auditsListInformationRequestEvidence.d.ts.map +1 -0
- package/funcs/auditsListInformationRequestEvidence.js +153 -0
- package/funcs/auditsListInformationRequestEvidence.js.map +1 -0
- package/funcs/auditsListInformationRequests.d.ts +39 -0
- package/funcs/auditsListInformationRequests.d.ts.map +1 -0
- package/funcs/auditsListInformationRequests.js +148 -0
- package/funcs/auditsListInformationRequests.js.map +1 -0
- package/funcs/auditsListInformationRequestsForControl.d.ts +34 -0
- package/funcs/auditsListInformationRequestsForControl.d.ts.map +1 -0
- package/funcs/auditsListInformationRequestsForControl.js +146 -0
- package/funcs/auditsListInformationRequestsForControl.js.map +1 -0
- package/funcs/auditsShareInformationRequestList.d.ts +20 -0
- package/funcs/auditsShareInformationRequestList.d.ts.map +1 -0
- package/funcs/auditsShareInformationRequestList.js +123 -0
- package/funcs/auditsShareInformationRequestList.js.map +1 -0
- package/funcs/auditsUpdateCommentForInformationRequest.d.ts +20 -0
- package/funcs/auditsUpdateCommentForInformationRequest.d.ts.map +1 -0
- package/funcs/auditsUpdateCommentForInformationRequest.js +132 -0
- package/funcs/auditsUpdateCommentForInformationRequest.js.map +1 -0
- package/funcs/auditsUpdateEvidence.d.ts.map +1 -1
- package/funcs/auditsUpdateEvidence.js +2 -1
- package/funcs/auditsUpdateEvidence.js.map +1 -1
- package/funcs/auditsUpdateInformationRequest.d.ts +28 -0
- package/funcs/auditsUpdateInformationRequest.d.ts.map +1 -0
- package/funcs/auditsUpdateInformationRequest.js +138 -0
- package/funcs/auditsUpdateInformationRequest.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +5 -9
- package/lib/config.js.map +1 -1
- package/lib/encodings.d.ts +2 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +39 -6
- package/lib/encodings.js.map +1 -1
- package/lib/files.d.ts +13 -0
- package/lib/files.d.ts.map +1 -1
- package/lib/files.js +19 -0
- package/lib/files.js.map +1 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +0 -1
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.d.ts +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +12 -10
- package/lib/sdks.js.map +1 -1
- package/lib/security.d.ts +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +20 -10
- package/lib/security.js.map +1 -1
- package/lib/url.d.ts.map +1 -1
- package/lib/url.js +4 -2
- package/lib/url.js.map +1 -1
- package/models/components/acceptinformationrequestevidenceinput.d.ts +25 -0
- package/models/components/acceptinformationrequestevidenceinput.d.ts.map +1 -0
- package/models/components/acceptinformationrequestevidenceinput.js +49 -0
- package/models/components/acceptinformationrequestevidenceinput.js.map +1 -0
- package/models/components/addauditorinput.d.ts +0 -5
- package/models/components/addauditorinput.d.ts.map +1 -1
- package/models/components/addauditorinput.js +1 -12
- package/models/components/addauditorinput.js.map +1 -1
- package/models/components/addcommentinput.d.ts +0 -5
- package/models/components/addcommentinput.d.ts.map +1 -1
- package/models/components/addcommentinput.js +1 -12
- package/models/components/addcommentinput.js.map +1 -1
- package/models/components/addinformationrequestcommentinput.d.ts +44 -0
- package/models/components/addinformationrequestcommentinput.d.ts.map +1 -0
- package/models/components/addinformationrequestcommentinput.js +51 -0
- package/models/components/addinformationrequestcommentinput.js.map +1 -0
- package/models/components/audit.d.ts +31 -21
- package/models/components/audit.d.ts.map +1 -1
- package/models/components/audit.js +11 -23
- package/models/components/audit.js.map +1 -1
- package/models/components/auditevidencestate.d.ts +0 -2
- package/models/components/auditevidencestate.d.ts.map +1 -1
- package/models/components/auditevidencestate.js +1 -3
- package/models/components/auditevidencestate.js.map +1 -1
- package/models/components/auditevidencetype.d.ts +0 -2
- package/models/components/auditevidencetype.d.ts.map +1 -1
- package/models/components/auditevidencetype.js +1 -3
- package/models/components/auditevidencetype.js.map +1 -1
- package/models/components/auditevidenceupdateinput.d.ts +0 -8
- package/models/components/auditevidenceupdateinput.d.ts.map +1 -1
- package/models/components/auditevidenceupdateinput.js +1 -19
- package/models/components/auditevidenceupdateinput.js.map +1 -1
- package/models/components/auditfocus.d.ts +0 -2
- package/models/components/auditfocus.d.ts.map +1 -1
- package/models/components/auditfocus.js +1 -3
- package/models/components/auditfocus.js.map +1 -1
- package/models/components/auditor.d.ts +0 -11
- package/models/components/auditor.d.ts.map +1 -1
- package/models/components/auditor.js +1 -13
- package/models/components/auditor.js.map +1 -1
- package/models/components/auditorcontrol.d.ts +10 -28
- package/models/components/auditorcontrol.d.ts.map +1 -1
- package/models/components/auditorcontrol.js +3 -29
- package/models/components/auditorcontrol.js.map +1 -1
- package/models/components/auditorenabledstatetransition.d.ts +0 -2
- package/models/components/auditorenabledstatetransition.d.ts.map +1 -1
- package/models/components/auditorenabledstatetransition.js +2 -4
- package/models/components/auditorenabledstatetransition.js.map +1 -1
- package/models/components/comment.d.ts +9 -13
- package/models/components/comment.d.ts.map +1 -1
- package/models/components/comment.js +2 -15
- package/models/components/comment.js.map +1 -1
- package/models/components/control.d.ts +9 -25
- package/models/components/control.d.ts.map +1 -1
- package/models/components/control.js +3 -27
- package/models/components/control.js.map +1 -1
- package/models/components/controldomain.d.ts +0 -2
- package/models/components/controldomain.d.ts.map +1 -1
- package/models/components/controldomain.js +2 -4
- package/models/components/controldomain.js.map +1 -1
- package/models/components/controlsource.d.ts +0 -2
- package/models/components/controlsource.d.ts.map +1 -1
- package/models/components/controlsource.js +1 -3
- package/models/components/controlsource.js.map +1 -1
- package/models/components/createcustomcontrolinput.d.ts +0 -7
- package/models/components/createcustomcontrolinput.d.ts.map +1 -1
- package/models/components/createcustomcontrolinput.js +2 -19
- package/models/components/createcustomcontrolinput.js.map +1 -1
- package/models/components/createcustomevidencerequestinput.d.ts +0 -5
- package/models/components/createcustomevidencerequestinput.d.ts.map +1 -1
- package/models/components/createcustomevidencerequestinput.js +1 -16
- package/models/components/createcustomevidencerequestinput.js.map +1 -1
- package/models/components/createinformationrequestinput.d.ts +98 -0
- package/models/components/createinformationrequestinput.d.ts.map +1 -0
- package/models/components/createinformationrequestinput.js +70 -0
- package/models/components/createinformationrequestinput.js.map +1 -0
- package/models/components/customevidencerequest.d.ts +0 -13
- package/models/components/customevidencerequest.d.ts.map +1 -1
- package/models/components/customevidencerequest.js +1 -15
- package/models/components/customevidencerequest.js.map +1 -1
- package/models/components/customfield.d.ts +0 -13
- package/models/components/customfield.d.ts.map +1 -1
- package/models/components/customfield.js +1 -16
- package/models/components/customfield.js.map +1 -1
- package/models/components/deleteinformationrequestcommentinput.d.ts +25 -0
- package/models/components/deleteinformationrequestcommentinput.d.ts.map +1 -0
- package/models/components/deleteinformationrequestcommentinput.js +49 -0
- package/models/components/deleteinformationrequestcommentinput.js.map +1 -0
- package/models/components/evidence.d.ts +1 -19
- package/models/components/evidence.d.ts.map +1 -1
- package/models/components/evidence.js +1 -20
- package/models/components/evidence.js.map +1 -1
- package/models/components/evidencecontrol.d.ts +0 -8
- package/models/components/evidencecontrol.d.ts.map +1 -1
- package/models/components/evidencecontrol.js +1 -10
- package/models/components/evidencecontrol.js.map +1 -1
- package/models/components/evidenceurl.d.ts +4 -10
- package/models/components/evidenceurl.d.ts.map +1 -1
- package/models/components/evidenceurl.js +2 -12
- package/models/components/evidenceurl.js.map +1 -1
- package/models/components/flaginformationrequestevidenceinput.d.ts +36 -0
- package/models/components/flaginformationrequestevidenceinput.d.ts.map +1 -0
- package/models/components/flaginformationrequestevidenceinput.js +50 -0
- package/models/components/flaginformationrequestevidenceinput.js.map +1 -0
- package/models/components/frameworkcodes.d.ts +19 -0
- package/models/components/frameworkcodes.d.ts.map +1 -0
- package/models/components/frameworkcodes.js +50 -0
- package/models/components/frameworkcodes.js.map +1 -0
- package/models/components/frameworkid.d.ts +0 -2
- package/models/components/frameworkid.d.ts.map +1 -1
- package/models/components/frameworkid.js +2 -4
- package/models/components/frameworkid.js.map +1 -1
- package/models/components/frameworksection.d.ts +0 -8
- package/models/components/frameworksection.d.ts.map +1 -1
- package/models/components/frameworksection.js +1 -17
- package/models/components/frameworksection.js.map +1 -1
- package/models/components/index.d.ts +41 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +41 -0
- package/models/components/index.js.map +1 -1
- package/models/components/informationrequest.d.ts +191 -0
- package/models/components/informationrequest.d.ts.map +1 -0
- package/models/components/informationrequest.js +110 -0
- package/models/components/informationrequest.js.map +1 -0
- package/models/components/informationrequestactivitylog.d.ts +110 -0
- package/models/components/informationrequestactivitylog.d.ts.map +1 -0
- package/models/components/informationrequestactivitylog.js +89 -0
- package/models/components/informationrequestactivitylog.js.map +1 -0
- package/models/components/informationrequestactivitytype.d.ts +13 -0
- package/models/components/informationrequestactivitytype.d.ts.map +1 -0
- package/{mcp-server/tools/auditsList.js → models/components/informationrequestactivitytype.js} +11 -25
- package/models/components/informationrequestactivitytype.js.map +1 -0
- package/models/components/informationrequestapprovalstatus.d.ts +28 -0
- package/models/components/informationrequestapprovalstatus.d.ts.map +1 -0
- package/{mcp-server/tools/auditorsCreate.js → models/components/informationrequestapprovalstatus.js} +18 -25
- package/models/components/informationrequestapprovalstatus.js.map +1 -0
- package/models/components/informationrequestcadence.d.ts +18 -0
- package/models/components/informationrequestcadence.d.ts.map +1 -0
- package/{mcp-server/tools/auditsUpdateEvidence.js → models/components/informationrequestcadence.js} +13 -25
- package/models/components/informationrequestcadence.js.map +1 -0
- package/models/components/informationrequestcomment.d.ts +72 -0
- package/models/components/informationrequestcomment.d.ts.map +1 -0
- package/models/components/informationrequestcomment.js +56 -0
- package/models/components/informationrequestcomment.js.map +1 -0
- package/models/components/informationrequestevidence.d.ts +59 -0
- package/models/components/informationrequestevidence.d.ts.map +1 -0
- package/models/components/informationrequestevidence.js +58 -0
- package/models/components/informationrequestevidence.js.map +1 -0
- package/models/components/informationrequestevidenceunion.d.ts +21 -0
- package/models/components/informationrequestevidenceunion.d.ts.map +1 -0
- package/models/components/informationrequestevidenceunion.js +63 -0
- package/models/components/informationrequestevidenceunion.js.map +1 -0
- package/models/components/informationrequestsupportedevidencetype.d.ts +17 -0
- package/models/components/informationrequestsupportedevidencetype.d.ts.map +1 -0
- package/{mcp-server/tools/auditsListControls.js → models/components/informationrequestsupportedevidencetype.js} +16 -25
- package/models/components/informationrequestsupportedevidencetype.js.map +1 -0
- package/models/components/informationrequesttype.d.ts +31 -0
- package/models/components/informationrequesttype.d.ts.map +1 -0
- package/models/components/informationrequesttype.js +59 -0
- package/models/components/informationrequesttype.js.map +1 -0
- package/models/components/issuesnapshotitem.d.ts +65 -0
- package/models/components/issuesnapshotitem.d.ts.map +1 -0
- package/models/components/issuesnapshotitem.js +63 -0
- package/models/components/issuesnapshotitem.js.map +1 -0
- package/models/components/issuesnapshotmetadata.d.ts +25 -0
- package/models/components/issuesnapshotmetadata.d.ts.map +1 -0
- package/models/components/issuesnapshotmetadata.js +54 -0
- package/models/components/issuesnapshotmetadata.js.map +1 -0
- package/models/components/issuestatustypeforsnapshot.d.ts +11 -0
- package/models/components/issuestatustypeforsnapshot.d.ts.map +1 -0
- package/models/components/issuestatustypeforsnapshot.js +48 -0
- package/models/components/issuestatustypeforsnapshot.js.map +1 -0
- package/models/components/linkevidence.d.ts +24 -0
- package/models/components/linkevidence.d.ts.map +1 -0
- package/models/components/linkevidence.js +52 -0
- package/models/components/linkevidence.js.map +1 -0
- package/models/components/observationevidence.d.ts +16 -0
- package/models/components/observationevidence.d.ts.map +1 -0
- package/models/components/observationevidence.js +50 -0
- package/models/components/observationevidence.js.map +1 -0
- package/models/components/pageinfo.d.ts +0 -10
- package/models/components/pageinfo.d.ts.map +1 -1
- package/models/components/pageinfo.js +1 -12
- package/models/components/pageinfo.js.map +1 -1
- package/models/components/paginatedissuesnapshotitemsresponse.d.ts +22 -0
- package/models/components/paginatedissuesnapshotitemsresponse.d.ts.map +1 -0
- package/models/components/paginatedissuesnapshotitemsresponse.js +61 -0
- package/models/components/paginatedissuesnapshotitemsresponse.js.map +1 -0
- package/models/components/paginatedissuesnapshotmetadataresponse.d.ts +22 -0
- package/models/components/paginatedissuesnapshotmetadataresponse.d.ts.map +1 -0
- package/models/components/paginatedissuesnapshotmetadataresponse.js +61 -0
- package/models/components/paginatedissuesnapshotmetadataresponse.js.map +1 -0
- package/models/components/paginatedresponseaudit.d.ts +2 -17
- package/models/components/paginatedresponseaudit.d.ts.map +1 -1
- package/models/components/paginatedresponseaudit.js +1 -18
- package/models/components/paginatedresponseaudit.js.map +1 -1
- package/models/components/paginatedresponseauditorcontrol.d.ts +2 -17
- package/models/components/paginatedresponseauditorcontrol.d.ts.map +1 -1
- package/models/components/paginatedresponseauditorcontrol.js +1 -18
- package/models/components/paginatedresponseauditorcontrol.js.map +1 -1
- package/models/components/paginatedresponsecomment.d.ts +2 -17
- package/models/components/paginatedresponsecomment.d.ts.map +1 -1
- package/models/components/paginatedresponsecomment.js +1 -18
- package/models/components/paginatedresponsecomment.js.map +1 -1
- package/models/components/paginatedresponseevidence.d.ts +2 -17
- package/models/components/paginatedresponseevidence.d.ts.map +1 -1
- package/models/components/paginatedresponseevidence.js +1 -18
- package/models/components/paginatedresponseevidence.js.map +1 -1
- package/models/components/paginatedresponseevidenceurl.d.ts +2 -17
- package/models/components/paginatedresponseevidenceurl.d.ts.map +1 -1
- package/models/components/paginatedresponseevidenceurl.js +1 -18
- package/models/components/paginatedresponseevidenceurl.js.map +1 -1
- package/models/components/paginatedresponseinformationrequest.d.ts +22 -0
- package/models/components/paginatedresponseinformationrequest.d.ts.map +1 -0
- package/models/components/paginatedresponseinformationrequest.js +61 -0
- package/models/components/paginatedresponseinformationrequest.js.map +1 -0
- package/models/components/paginatedresponseinformationrequestactivitylog.d.ts +22 -0
- package/models/components/paginatedresponseinformationrequestactivitylog.d.ts.map +1 -0
- package/models/components/paginatedresponseinformationrequestactivitylog.js +61 -0
- package/models/components/paginatedresponseinformationrequestactivitylog.js.map +1 -0
- package/models/components/paginatedresponseinformationrequestcomment.d.ts +22 -0
- package/models/components/paginatedresponseinformationrequestcomment.d.ts.map +1 -0
- package/models/components/paginatedresponseinformationrequestcomment.js +61 -0
- package/models/components/paginatedresponseinformationrequestcomment.js.map +1 -0
- package/models/components/paginatedresponseinformationrequestevidence.d.ts +22 -0
- package/models/components/paginatedresponseinformationrequestevidence.d.ts.map +1 -0
- package/models/components/paginatedresponseinformationrequestevidence.js +61 -0
- package/models/components/paginatedresponseinformationrequestevidence.js.map +1 -0
- package/models/components/partialupdateinformationrequest.d.ts +69 -0
- package/models/components/partialupdateinformationrequest.d.ts.map +1 -0
- package/{mcp-server/tools/auditsCreateCustomEvidenceRequest.js → models/components/partialupdateinformationrequest.js} +20 -26
- package/models/components/partialupdateinformationrequest.js.map +1 -0
- package/models/components/recurrenceduration.d.ts +1 -0
- package/models/components/recurrenceduration.d.ts.map +1 -1
- package/models/components/recurrenceduration.js +1 -0
- package/models/components/recurrenceduration.js.map +1 -1
- package/models/components/section.d.ts +20 -8
- package/models/components/section.d.ts.map +1 -1
- package/models/components/section.js +9 -8
- package/models/components/section.js.map +1 -1
- package/models/components/security.d.ts +0 -5
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +1 -10
- package/models/components/security.js.map +1 -1
- package/models/components/updateinformationrequestcommentinput.d.ts +34 -0
- package/models/components/updateinformationrequestcommentinput.d.ts.map +1 -0
- package/models/components/updateinformationrequestcommentinput.js +50 -0
- package/models/components/updateinformationrequestcommentinput.js.map +1 -0
- package/models/components/uploadeddocumentevidence.d.ts +41 -0
- package/models/components/uploadeddocumentevidence.d.ts.map +1 -0
- package/models/components/uploadeddocumentevidence.js +53 -0
- package/models/components/uploadeddocumentevidence.js.map +1 -0
- package/models/components/vantadocumentevidence.d.ts +78 -0
- package/models/components/vantadocumentevidence.d.ts.map +1 -0
- package/models/components/vantadocumentevidence.js +79 -0
- package/models/components/vantadocumentevidence.js.map +1 -0
- package/models/components/vantadocumentlinkevidence.d.ts +27 -0
- package/models/components/vantadocumentlinkevidence.d.ts.map +1 -0
- package/models/components/vantadocumentlinkevidence.js +52 -0
- package/models/components/vantadocumentlinkevidence.js.map +1 -0
- package/models/components/vantadocumentuploadedevidence.d.ts +45 -0
- package/models/components/vantadocumentuploadedevidence.d.ts.map +1 -0
- package/models/components/vantadocumentuploadedevidence.js +54 -0
- package/models/components/vantadocumentuploadedevidence.js.map +1 -0
- package/models/components/vantapolicyevidence.d.ts +126 -0
- package/models/components/vantapolicyevidence.d.ts.map +1 -0
- package/models/components/vantapolicyevidence.js +79 -0
- package/models/components/vantapolicyevidence.js.map +1 -0
- package/models/components/vantatestevidence.d.ts +71 -0
- package/models/components/vantatestevidence.d.ts.map +1 -0
- package/models/components/vantatestevidence.js +67 -0
- package/models/components/vantatestevidence.js.map +1 -0
- package/models/components/vantatestfiletype.d.ts +12 -0
- package/models/components/vantatestfiletype.d.ts.map +1 -0
- package/models/components/vantatestfiletype.js +49 -0
- package/models/components/vantatestfiletype.js.map +1 -0
- package/models/components/vantatestrunstatus.d.ts +14 -0
- package/models/components/vantatestrunstatus.d.ts.map +1 -0
- package/models/components/vantatestrunstatus.js +51 -0
- package/models/components/vantatestrunstatus.js.map +1 -0
- package/models/components/vantatestsnapshotevidence.d.ts +68 -0
- package/models/components/vantatestsnapshotevidence.d.ts.map +1 -0
- package/{mcp-server/tools/auditsCreateCommentForEvidence.js → models/components/vantatestsnapshotevidence.js} +29 -25
- package/models/components/vantatestsnapshotevidence.js.map +1 -0
- package/models/components/vantatestsnapshotevidencedetail.d.ts +66 -0
- package/models/components/vantatestsnapshotevidencedetail.d.ts.map +1 -0
- package/models/components/vantatestsnapshotevidencedetail.js +76 -0
- package/models/components/vantatestsnapshotevidencedetail.js.map +1 -0
- package/models/components/vantatestsnapshotintegration.d.ts +14 -0
- package/models/components/vantatestsnapshotintegration.d.ts.map +1 -0
- package/models/components/vantatestsnapshotintegration.js +51 -0
- package/models/components/vantatestsnapshotintegration.js.map +1 -0
- package/models/components/vantatestsnapshotrawtestdatarow.d.ts +41 -0
- package/models/components/vantatestsnapshotrawtestdatarow.d.ts.map +1 -0
- package/models/components/vantatestsnapshotrawtestdatarow.js +52 -0
- package/models/components/vantatestsnapshotrawtestdatarow.js.map +1 -0
- package/models/operations/acceptinformationrequestevidence.d.ts +17 -0
- package/models/operations/acceptinformationrequestevidence.d.ts.map +1 -0
- package/models/operations/acceptinformationrequestevidence.js +57 -0
- package/models/operations/acceptinformationrequestevidence.js.map +1 -0
- package/models/operations/createcommentforauditevidence.d.ts +0 -5
- package/models/operations/createcommentforauditevidence.d.ts.map +1 -1
- package/models/operations/createcommentforauditevidence.js +1 -16
- package/models/operations/createcommentforauditevidence.js.map +1 -1
- package/models/operations/createcommentforinformationrequest.d.ts +17 -0
- package/models/operations/createcommentforinformationrequest.d.ts.map +1 -0
- package/models/operations/createcommentforinformationrequest.js +57 -0
- package/models/operations/createcommentforinformationrequest.js.map +1 -0
- package/models/operations/createcustomcontrol.d.ts +0 -5
- package/models/operations/createcustomcontrol.d.ts.map +1 -1
- package/models/operations/createcustomcontrol.js +1 -15
- package/models/operations/createcustomcontrol.js.map +1 -1
- package/models/operations/createcustomevidencerequest.d.ts +0 -5
- package/models/operations/createcustomevidencerequest.d.ts.map +1 -1
- package/models/operations/createcustomevidencerequest.js +1 -15
- package/models/operations/createcustomevidencerequest.js.map +1 -1
- package/models/operations/createinformationrequest.d.ts +15 -0
- package/models/operations/createinformationrequest.d.ts.map +1 -0
- package/models/operations/createinformationrequest.js +56 -0
- package/models/operations/createinformationrequest.js.map +1 -0
- package/models/operations/deletecommentforinformationrequest.d.ts +19 -0
- package/models/operations/deletecommentforinformationrequest.d.ts.map +1 -0
- package/{mcp-server/tools/auditsCreateCustomControl.js → models/operations/deletecommentforinformationrequest.js} +20 -26
- package/models/operations/deletecommentforinformationrequest.js.map +1 -0
- package/models/operations/deleteinformationrequest.d.ts +14 -0
- package/models/operations/deleteinformationrequest.d.ts.map +1 -0
- package/models/operations/deleteinformationrequest.js +50 -0
- package/models/operations/deleteinformationrequest.js.map +1 -0
- package/models/operations/flaginformationrequestevidence.d.ts +17 -0
- package/models/operations/flaginformationrequestevidence.d.ts.map +1 -0
- package/{mcp-server/tools/auditsListComments.js → models/operations/flaginformationrequestevidence.js} +19 -26
- package/models/operations/flaginformationrequestevidence.js.map +1 -0
- package/models/operations/getaudit.d.ts +12 -0
- package/models/operations/getaudit.d.ts.map +1 -0
- package/models/operations/getaudit.js +49 -0
- package/models/operations/getaudit.js.map +1 -0
- package/models/operations/getframeworkcodes.d.ts +12 -0
- package/models/operations/getframeworkcodes.d.ts.map +1 -0
- package/models/operations/getframeworkcodes.js +49 -0
- package/models/operations/getframeworkcodes.js.map +1 -0
- package/models/operations/getinformationrequest.d.ts +14 -0
- package/models/operations/getinformationrequest.d.ts.map +1 -0
- package/models/operations/getinformationrequest.js +50 -0
- package/models/operations/getinformationrequest.js.map +1 -0
- package/models/operations/getinformationrequesttestsnapshotevidencedetail.d.ts +16 -0
- package/models/operations/getinformationrequesttestsnapshotevidencedetail.d.ts.map +1 -0
- package/models/operations/getinformationrequesttestsnapshotevidencedetail.js +51 -0
- package/models/operations/getinformationrequesttestsnapshotevidencedetail.js.map +1 -0
- package/models/operations/index.d.ts +20 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +20 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listauditcomments.d.ts +0 -5
- package/models/operations/listauditcomments.d.ts.map +1 -1
- package/models/operations/listauditcomments.js +1 -13
- package/models/operations/listauditcomments.js.map +1 -1
- package/models/operations/listauditcontrols.d.ts +0 -5
- package/models/operations/listauditcontrols.d.ts.map +1 -1
- package/models/operations/listauditcontrols.js +1 -12
- package/models/operations/listauditcontrols.js.map +1 -1
- package/models/operations/listauditevidence.d.ts +0 -5
- package/models/operations/listauditevidence.d.ts.map +1 -1
- package/models/operations/listauditevidence.js +1 -13
- package/models/operations/listauditevidence.js.map +1 -1
- package/models/operations/listauditevidenceurls.d.ts +0 -5
- package/models/operations/listauditevidenceurls.d.ts.map +1 -1
- package/models/operations/listauditevidenceurls.js +1 -13
- package/models/operations/listauditevidenceurls.js.map +1 -1
- package/models/operations/listauditissues.d.ts +35 -0
- package/models/operations/listauditissues.d.ts.map +1 -0
- package/models/operations/listauditissues.js +53 -0
- package/models/operations/listauditissues.js.map +1 -0
- package/models/operations/listaudits.d.ts +0 -5
- package/models/operations/listaudits.d.ts.map +1 -1
- package/models/operations/listaudits.js +1 -13
- package/models/operations/listaudits.js.map +1 -1
- package/models/operations/listauditsnapshots.d.ts +30 -0
- package/models/operations/listauditsnapshots.d.ts.map +1 -0
- package/models/operations/listauditsnapshots.js +52 -0
- package/models/operations/listauditsnapshots.js.map +1 -0
- package/models/operations/listcommentsforinformationrequest.d.ts +32 -0
- package/models/operations/listcommentsforinformationrequest.d.ts.map +1 -0
- package/models/operations/listcommentsforinformationrequest.js +53 -0
- package/models/operations/listcommentsforinformationrequest.js.map +1 -0
- package/models/operations/listinformationrequestactivity.d.ts +29 -0
- package/models/operations/listinformationrequestactivity.d.ts.map +1 -0
- package/models/operations/listinformationrequestactivity.js +53 -0
- package/models/operations/listinformationrequestactivity.js.map +1 -0
- package/models/operations/listinformationrequestevidence.d.ts +42 -0
- package/models/operations/listinformationrequestevidence.d.ts.map +1 -0
- package/models/operations/listinformationrequestevidence.js +55 -0
- package/models/operations/listinformationrequestevidence.js.map +1 -0
- package/models/operations/listinformationrequests.d.ts +30 -0
- package/models/operations/listinformationrequests.d.ts.map +1 -0
- package/models/operations/listinformationrequests.js +52 -0
- package/models/operations/listinformationrequests.js.map +1 -0
- package/models/operations/listinformationrequestsforcontrol.d.ts +24 -0
- package/models/operations/listinformationrequestsforcontrol.d.ts.map +1 -0
- package/models/operations/listinformationrequestsforcontrol.js +52 -0
- package/models/operations/listinformationrequestsforcontrol.js.map +1 -0
- package/models/operations/shareinformationrequestlist.d.ts +12 -0
- package/models/operations/shareinformationrequestlist.d.ts.map +1 -0
- package/{mcp-server/tools/auditsListEvidence.js → models/operations/shareinformationrequestlist.js} +11 -26
- package/models/operations/shareinformationrequestlist.js.map +1 -0
- package/models/operations/updateauditevidence.d.ts +0 -5
- package/models/operations/updateauditevidence.d.ts.map +1 -1
- package/models/operations/updateauditevidence.js +1 -16
- package/models/operations/updateauditevidence.js.map +1 -1
- package/models/operations/updatecommentforinformationrequest.d.ts +19 -0
- package/models/operations/updatecommentforinformationrequest.d.ts.map +1 -0
- package/models/operations/updatecommentforinformationrequest.js +58 -0
- package/models/operations/updatecommentforinformationrequest.js.map +1 -0
- package/models/operations/updateinformationrequest.d.ts +17 -0
- package/models/operations/updateinformationrequest.d.ts.map +1 -0
- package/models/operations/updateinformationrequest.js +57 -0
- package/models/operations/updateinformationrequest.js.map +1 -0
- package/package.json +4 -14
- package/sdk/audits.d.ts +378 -19
- package/sdk/audits.d.ts.map +1 -1
- package/sdk/audits.js +444 -25
- package/sdk/audits.js.map +1 -1
- package/sdk/sdk.d.ts +2 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +3 -3
- package/sdk/sdk.js.map +1 -1
- package/smoke-test/src/smoke.test.ts +201 -0
- package/smoke-test/vitest.config.ts +11 -0
- package/src/funcs/auditorsCreate.ts +3 -1
- package/src/funcs/auditsAcceptInformationRequestEvidence.ts +195 -0
- package/src/funcs/auditsCreateCommentForEvidence.ts +3 -2
- package/src/funcs/auditsCreateCommentForInformationRequest.ts +182 -0
- package/src/funcs/auditsCreateCustomControl.ts +3 -2
- package/src/funcs/auditsCreateCustomEvidenceRequest.ts +3 -2
- package/src/funcs/auditsCreateInformationRequest.ts +179 -0
- package/src/funcs/auditsDeleteCommentForInformationRequest.ts +188 -0
- package/src/funcs/auditsDeleteInformationRequest.ts +185 -0
- package/src/funcs/auditsFlagInformationRequestEvidence.ts +195 -0
- package/src/funcs/auditsGetAudit.ts +172 -0
- package/src/funcs/auditsGetEvidenceUrls.ts +5 -2
- package/src/funcs/auditsGetFrameworkCodes.ts +173 -0
- package/src/funcs/auditsGetInformationRequest.ts +180 -0
- package/src/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.ts +193 -0
- package/src/funcs/auditsList.ts +7 -1
- package/src/funcs/auditsListAuditIssues.ts +191 -0
- package/src/funcs/auditsListAuditSnapshots.ts +191 -0
- package/src/funcs/auditsListComments.ts +3 -2
- package/src/funcs/auditsListCommentsForInformationRequest.ts +208 -0
- package/src/funcs/auditsListControls.ts +3 -2
- package/src/funcs/auditsListEvidence.ts +3 -2
- package/src/funcs/auditsListInformationRequestActivity.ts +204 -0
- package/src/funcs/auditsListInformationRequestEvidence.ts +209 -0
- package/src/funcs/auditsListInformationRequests.ts +197 -0
- package/src/funcs/auditsListInformationRequestsForControl.ts +199 -0
- package/src/funcs/auditsShareInformationRequestList.ts +173 -0
- package/src/funcs/auditsUpdateCommentForInformationRequest.ts +188 -0
- package/src/funcs/auditsUpdateEvidence.ts +3 -2
- package/src/funcs/auditsUpdateInformationRequest.ts +188 -0
- package/src/lib/config.ts +5 -9
- package/src/lib/encodings.ts +49 -7
- package/src/lib/files.ts +22 -0
- package/src/lib/matchers.ts +3 -2
- package/src/lib/sdks.ts +12 -13
- package/src/lib/security.ts +15 -4
- package/src/lib/url.ts +16 -14
- package/src/models/components/acceptinformationrequestevidenceinput.ts +46 -0
- package/src/models/components/addauditorinput.ts +0 -22
- package/src/models/components/addcommentinput.ts +0 -24
- package/src/models/components/addinformationrequestcommentinput.ts +67 -0
- package/src/models/components/audit.ts +55 -49
- package/src/models/components/auditevidencestate.ts +0 -4
- package/src/models/components/auditevidencetype.ts +0 -4
- package/src/models/components/auditevidenceupdateinput.ts +0 -39
- package/src/models/components/auditfocus.ts +0 -3
- package/src/models/components/auditor.ts +0 -24
- package/src/models/components/auditorcontrol.ts +17 -73
- package/src/models/components/auditorenabledstatetransition.ts +1 -5
- package/src/models/components/comment.ts +10 -28
- package/src/models/components/control.ts +16 -63
- package/src/models/components/controldomain.ts +1 -5
- package/src/models/components/controlsource.ts +0 -4
- package/src/models/components/createcustomcontrolinput.ts +1 -34
- package/src/models/components/createcustomevidencerequestinput.ts +0 -27
- package/src/models/components/createinformationrequestinput.ts +138 -0
- package/src/models/components/customevidencerequest.ts +0 -33
- package/src/models/components/customfield.ts +0 -30
- package/src/models/components/deleteinformationrequestcommentinput.ts +46 -0
- package/src/models/components/evidence.ts +0 -42
- package/src/models/components/evidencecontrol.ts +0 -20
- package/src/models/components/evidenceurl.ts +5 -22
- package/src/models/components/flaginformationrequestevidenceinput.ts +58 -0
- package/src/models/components/frameworkcodes.ts +40 -0
- package/src/models/components/frameworkid.ts +1 -4
- package/src/models/components/frameworksection.ts +1 -41
- package/src/models/components/index.ts +41 -0
- package/src/models/components/informationrequest.ts +295 -0
- package/src/models/components/informationrequestactivitylog.ts +146 -0
- package/src/models/components/informationrequestactivitytype.ts +22 -0
- package/src/models/components/informationrequestapprovalstatus.ts +37 -0
- package/src/models/components/informationrequestcadence.ts +27 -0
- package/src/models/components/informationrequestcomment.ts +105 -0
- package/src/models/components/informationrequestevidence.ts +100 -0
- package/src/models/components/informationrequestevidenceunion.ts +73 -0
- package/src/models/components/informationrequestsupportedevidencetype.ts +28 -0
- package/src/models/components/informationrequesttype.ts +40 -0
- package/src/models/components/issuesnapshotitem.ts +105 -0
- package/src/models/components/issuesnapshotmetadata.ts +50 -0
- package/src/models/components/issuestatustypeforsnapshot.ts +20 -0
- package/src/models/components/linkevidence.ts +47 -0
- package/src/models/components/observationevidence.ts +37 -0
- package/src/models/components/pageinfo.ts +0 -22
- package/src/models/components/paginatedissuesnapshotitemsresponse.ts +71 -0
- package/src/models/components/paginatedissuesnapshotmetadataresponse.ts +74 -0
- package/src/models/components/paginatedresponseaudit.ts +2 -50
- package/src/models/components/paginatedresponseauditorcontrol.ts +1 -55
- package/src/models/components/paginatedresponsecomment.ts +2 -56
- package/src/models/components/paginatedresponseevidence.ts +2 -56
- package/src/models/components/paginatedresponseevidenceurl.ts +2 -58
- package/src/models/components/paginatedresponseinformationrequest.ts +71 -0
- package/src/models/components/paginatedresponseinformationrequestactivitylog.ts +80 -0
- package/src/models/components/paginatedresponseinformationrequestcomment.ts +77 -0
- package/src/models/components/paginatedresponseinformationrequestevidence.ts +80 -0
- package/src/models/components/partialupdateinformationrequest.ts +103 -0
- package/src/models/components/recurrenceduration.ts +1 -0
- package/src/models/components/section.ts +39 -18
- package/src/models/components/security.ts +0 -20
- package/src/models/components/updateinformationrequestcommentinput.ts +56 -0
- package/src/models/components/uploadeddocumentevidence.ts +65 -0
- package/src/models/components/vantadocumentevidence.ts +145 -0
- package/src/models/components/vantadocumentlinkevidence.ts +50 -0
- package/src/models/components/vantadocumentuploadedevidence.ts +70 -0
- package/src/models/components/vantapolicyevidence.ts +198 -0
- package/src/models/components/vantatestevidence.ts +122 -0
- package/src/models/components/vantatestfiletype.ts +19 -0
- package/src/models/components/vantatestrunstatus.ts +21 -0
- package/src/models/components/vantatestsnapshotevidence.ts +100 -0
- package/src/models/components/vantatestsnapshotevidencedetail.ts +135 -0
- package/src/models/components/vantatestsnapshotintegration.ts +36 -0
- package/src/models/components/vantatestsnapshotrawtestdatarow.ts +64 -0
- package/src/models/operations/acceptinformationrequestevidence.ts +50 -0
- package/src/models/operations/createcommentforauditevidence.ts +0 -27
- package/src/models/operations/createcommentforinformationrequest.ts +50 -0
- package/src/models/operations/createcustomcontrol.ts +0 -25
- package/src/models/operations/createcustomevidencerequest.ts +0 -27
- package/src/models/operations/createinformationrequest.ts +44 -0
- package/src/models/operations/deletecommentforinformationrequest.ts +54 -0
- package/src/models/operations/deleteinformationrequest.ts +36 -0
- package/src/models/operations/flaginformationrequestevidence.ts +48 -0
- package/src/models/operations/getaudit.ts +29 -0
- package/src/models/operations/getframeworkcodes.ts +31 -0
- package/src/models/operations/getinformationrequest.ts +36 -0
- package/src/models/operations/getinformationrequesttestsnapshotevidencedetail.ts +41 -0
- package/src/models/operations/index.ts +20 -0
- package/src/models/operations/listauditcomments.ts +0 -25
- package/src/models/operations/listauditcontrols.ts +0 -22
- package/src/models/operations/listauditevidence.ts +0 -25
- package/src/models/operations/listauditevidenceurls.ts +0 -23
- package/src/models/operations/listauditissues.ts +58 -0
- package/src/models/operations/listaudits.ts +0 -25
- package/src/models/operations/listauditsnapshots.ts +52 -0
- package/src/models/operations/listcommentsforinformationrequest.ts +58 -0
- package/src/models/operations/listinformationrequestactivity.ts +54 -0
- package/src/models/operations/listinformationrequestevidence.ts +72 -0
- package/src/models/operations/listinformationrequests.ts +54 -0
- package/src/models/operations/listinformationrequestsforcontrol.ts +49 -0
- package/src/models/operations/shareinformationrequestlist.ts +33 -0
- package/src/models/operations/updateauditevidence.ts +0 -26
- package/src/models/operations/updatecommentforinformationrequest.ts +54 -0
- package/src/models/operations/updateinformationrequest.ts +47 -0
- package/src/sdk/audits.ts +616 -37
- package/src/sdk/sdk.ts +5 -5
- package/src/types/enums.ts +1 -21
- package/src/types/index.ts +2 -1
- package/src/types/unrecognized.ts +35 -0
- package/types/enums.d.ts +1 -8
- package/types/enums.d.ts.map +1 -1
- package/types/enums.js +3 -21
- package/types/enums.js.map +1 -1
- package/types/index.d.ts +2 -1
- package/types/index.d.ts.map +1 -1
- package/types/index.js +15 -0
- package/types/index.js.map +1 -1
- package/types/unrecognized.d.ts +16 -0
- package/types/unrecognized.d.ts.map +1 -0
- package/types/unrecognized.js +34 -0
- package/types/unrecognized.js.map +1 -0
- package/.devcontainer/devcontainer.json +0 -45
- package/bin/mcp-server.js +0 -39009
- package/bin/mcp-server.js.map +0 -323
- package/examples/package-lock.json +0 -619
- package/examples/package.json +0 -18
- package/mcp-server/build.d.mts.map +0 -1
- package/mcp-server/build.mjs +0 -14
- package/mcp-server/build.mjs.map +0 -1
- package/mcp-server/cli/start/command.d.ts +0 -2
- package/mcp-server/cli/start/command.d.ts.map +0 -1
- package/mcp-server/cli/start/command.js +0 -125
- package/mcp-server/cli/start/command.js.map +0 -1
- package/mcp-server/cli/start/impl.d.ts +0 -16
- package/mcp-server/cli/start/impl.d.ts.map +0 -1
- package/mcp-server/cli/start/impl.js +0 -102
- package/mcp-server/cli/start/impl.js.map +0 -1
- package/mcp-server/cli.d.ts +0 -6
- package/mcp-server/cli.d.ts.map +0 -1
- package/mcp-server/cli.js +0 -10
- package/mcp-server/cli.js.map +0 -1
- package/mcp-server/console-logger.d.ts +0 -7
- package/mcp-server/console-logger.d.ts.map +0 -1
- package/mcp-server/console-logger.js +0 -59
- package/mcp-server/console-logger.js.map +0 -1
- package/mcp-server/extensions.d.ts +0 -11
- package/mcp-server/extensions.d.ts.map +0 -1
- package/mcp-server/extensions.js +0 -6
- package/mcp-server/extensions.js.map +0 -1
- package/mcp-server/mcp-server.d.ts +0 -2
- package/mcp-server/mcp-server.d.ts.map +0 -1
- package/mcp-server/mcp-server.js +0 -29
- package/mcp-server/mcp-server.js.map +0 -1
- package/mcp-server/prompts.d.ts +0 -26
- package/mcp-server/prompts.d.ts.map +0 -1
- package/mcp-server/prompts.js +0 -51
- package/mcp-server/prompts.js.map +0 -1
- package/mcp-server/resources.d.ts +0 -32
- package/mcp-server/resources.d.ts.map +0 -1
- package/mcp-server/resources.js +0 -87
- package/mcp-server/resources.js.map +0 -1
- package/mcp-server/scopes.d.ts +0 -3
- package/mcp-server/scopes.d.ts.map +0 -1
- package/mcp-server/scopes.js +0 -8
- package/mcp-server/scopes.js.map +0 -1
- package/mcp-server/server.d.ts +0 -13
- package/mcp-server/server.d.ts.map +0 -1
- package/mcp-server/server.js +0 -52
- package/mcp-server/server.js.map +0 -1
- package/mcp-server/shared.d.ts +0 -7
- package/mcp-server/shared.d.ts.map +0 -1
- package/mcp-server/shared.js +0 -98
- package/mcp-server/shared.js.map +0 -1
- package/mcp-server/tools/auditorsCreate.d.ts +0 -8
- package/mcp-server/tools/auditorsCreate.d.ts.map +0 -1
- package/mcp-server/tools/auditorsCreate.js.map +0 -1
- package/mcp-server/tools/auditsCreateCommentForEvidence.d.ts +0 -8
- package/mcp-server/tools/auditsCreateCommentForEvidence.d.ts.map +0 -1
- package/mcp-server/tools/auditsCreateCommentForEvidence.js.map +0 -1
- package/mcp-server/tools/auditsCreateCustomControl.d.ts +0 -8
- package/mcp-server/tools/auditsCreateCustomControl.d.ts.map +0 -1
- package/mcp-server/tools/auditsCreateCustomControl.js.map +0 -1
- package/mcp-server/tools/auditsCreateCustomEvidenceRequest.d.ts +0 -8
- package/mcp-server/tools/auditsCreateCustomEvidenceRequest.d.ts.map +0 -1
- package/mcp-server/tools/auditsCreateCustomEvidenceRequest.js.map +0 -1
- package/mcp-server/tools/auditsGetEvidenceUrls.d.ts +0 -8
- package/mcp-server/tools/auditsGetEvidenceUrls.d.ts.map +0 -1
- package/mcp-server/tools/auditsGetEvidenceUrls.js +0 -65
- package/mcp-server/tools/auditsGetEvidenceUrls.js.map +0 -1
- package/mcp-server/tools/auditsList.d.ts +0 -8
- package/mcp-server/tools/auditsList.d.ts.map +0 -1
- package/mcp-server/tools/auditsList.js.map +0 -1
- package/mcp-server/tools/auditsListComments.d.ts +0 -8
- package/mcp-server/tools/auditsListComments.d.ts.map +0 -1
- package/mcp-server/tools/auditsListComments.js.map +0 -1
- package/mcp-server/tools/auditsListControls.d.ts +0 -8
- package/mcp-server/tools/auditsListControls.d.ts.map +0 -1
- package/mcp-server/tools/auditsListControls.js.map +0 -1
- package/mcp-server/tools/auditsListEvidence.d.ts +0 -8
- package/mcp-server/tools/auditsListEvidence.d.ts.map +0 -1
- package/mcp-server/tools/auditsListEvidence.js.map +0 -1
- package/mcp-server/tools/auditsUpdateEvidence.d.ts +0 -8
- package/mcp-server/tools/auditsUpdateEvidence.d.ts.map +0 -1
- package/mcp-server/tools/auditsUpdateEvidence.js.map +0 -1
- package/mcp-server/tools.d.ts +0 -25
- package/mcp-server/tools.d.ts.map +0 -1
- package/mcp-server/tools.js +0 -82
- package/mcp-server/tools.js.map +0 -1
- package/src/mcp-server/cli/start/command.ts +0 -93
- package/src/mcp-server/cli/start/impl.ts +0 -130
- package/src/mcp-server/cli.ts +0 -13
- package/src/mcp-server/console-logger.ts +0 -71
- package/src/mcp-server/extensions.ts +0 -17
- package/src/mcp-server/mcp-server.ts +0 -26
- package/src/mcp-server/prompts.ts +0 -117
- package/src/mcp-server/resources.ts +0 -172
- package/src/mcp-server/scopes.ts +0 -7
- package/src/mcp-server/server.ts +0 -79
- package/src/mcp-server/shared.ts +0 -74
- package/src/mcp-server/tools/auditorsCreate.ts +0 -37
- package/src/mcp-server/tools/auditsCreateCommentForEvidence.ts +0 -38
- package/src/mcp-server/tools/auditsCreateCustomControl.ts +0 -37
- package/src/mcp-server/tools/auditsCreateCustomEvidenceRequest.ts +0 -39
- package/src/mcp-server/tools/auditsGetEvidenceUrls.ts +0 -38
- package/src/mcp-server/tools/auditsList.ts +0 -37
- package/src/mcp-server/tools/auditsListComments.ts +0 -37
- package/src/mcp-server/tools/auditsListControls.ts +0 -37
- package/src/mcp-server/tools/auditsListEvidence.ts +0 -37
- package/src/mcp-server/tools/auditsUpdateEvidence.ts +0 -37
- package/src/mcp-server/tools.ts +0 -129
- package/tsconfig.json +0 -41
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
import { InformationRequestActivityType } from "./informationrequestactivitytype.js";
|
|
6
|
+
/**
|
|
7
|
+
* Previous approval status before the status change.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
11
|
+
*/
|
|
12
|
+
export declare const OldStatus: {
|
|
13
|
+
readonly ReadyForAudit: "READY_FOR_AUDIT";
|
|
14
|
+
readonly NeedsEvidence: "NEEDS_EVIDENCE";
|
|
15
|
+
readonly AuditorApproved: "AUDITOR_APPROVED";
|
|
16
|
+
readonly AuditorFlagged: "AUDITOR_FLAGGED";
|
|
17
|
+
readonly ReadyForInternalReview: "READY_FOR_INTERNAL_REVIEW";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Previous approval status before the status change.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
24
|
+
*/
|
|
25
|
+
export type OldStatus = ClosedEnum<typeof OldStatus>;
|
|
26
|
+
/**
|
|
27
|
+
* New approval status after the status change.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
31
|
+
*/
|
|
32
|
+
export declare const NewStatus: {
|
|
33
|
+
readonly ReadyForAudit: "READY_FOR_AUDIT";
|
|
34
|
+
readonly NeedsEvidence: "NEEDS_EVIDENCE";
|
|
35
|
+
readonly AuditorApproved: "AUDITOR_APPROVED";
|
|
36
|
+
readonly AuditorFlagged: "AUDITOR_FLAGGED";
|
|
37
|
+
readonly ReadyForInternalReview: "READY_FOR_INTERNAL_REVIEW";
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* New approval status after the status change.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
44
|
+
*/
|
|
45
|
+
export type NewStatus = ClosedEnum<typeof NewStatus>;
|
|
46
|
+
/**
|
|
47
|
+
* Activity log entry tracking changes and actions on an information request.
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
*
|
|
51
|
+
* The activity log provides a complete audit trail of all operations performed
|
|
52
|
+
* on an information request, including status changes, evidence uploads, edits,
|
|
53
|
+
* and evidence sharing. This enables tracking compliance activities and understanding
|
|
54
|
+
* the request's history.
|
|
55
|
+
*/
|
|
56
|
+
export type InformationRequestActivityLog = {
|
|
57
|
+
/**
|
|
58
|
+
* The unique identifier for the activity log entry within Vanta's system.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
* Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7").
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
activityType: InformationRequestActivityType;
|
|
65
|
+
/**
|
|
66
|
+
* Timestamp when the activity occurred.
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Format: ISO 8601 UTC timestamp.
|
|
70
|
+
*/
|
|
71
|
+
timestamp: Date;
|
|
72
|
+
/**
|
|
73
|
+
* Email address of the user who performed the activity.
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* Null for system-generated activities (rare, such as automated status changes).
|
|
77
|
+
* This email uniquely identifies users across systems.
|
|
78
|
+
*/
|
|
79
|
+
userEmail: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* Previous approval status before the status change.
|
|
82
|
+
*
|
|
83
|
+
* @remarks
|
|
84
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
85
|
+
*/
|
|
86
|
+
oldStatus: OldStatus | null;
|
|
87
|
+
/**
|
|
88
|
+
* New approval status after the status change.
|
|
89
|
+
*
|
|
90
|
+
* @remarks
|
|
91
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
92
|
+
*/
|
|
93
|
+
newStatus: NewStatus | null;
|
|
94
|
+
/**
|
|
95
|
+
* Optional explanation for the status change.
|
|
96
|
+
*
|
|
97
|
+
* @remarks
|
|
98
|
+
* Only populated for status change activities when a reason is provided
|
|
99
|
+
* (e.g., when flagging evidence). Null for all other cases.
|
|
100
|
+
*/
|
|
101
|
+
reason: string | null;
|
|
102
|
+
};
|
|
103
|
+
/** @internal */
|
|
104
|
+
export declare const OldStatus$inboundSchema: z.ZodNativeEnum<typeof OldStatus>;
|
|
105
|
+
/** @internal */
|
|
106
|
+
export declare const NewStatus$inboundSchema: z.ZodNativeEnum<typeof NewStatus>;
|
|
107
|
+
/** @internal */
|
|
108
|
+
export declare const InformationRequestActivityLog$inboundSchema: z.ZodType<InformationRequestActivityLog, z.ZodTypeDef, unknown>;
|
|
109
|
+
export declare function informationRequestActivityLogFromJSON(jsonString: string): SafeParseResult<InformationRequestActivityLog, SDKValidationError>;
|
|
110
|
+
//# sourceMappingURL=informationrequestactivitylog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestactivitylog.d.ts","sourceRoot":"","sources":["../../src/models/components/informationrequestactivitylog.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,8BAA8B,EAE/B,MAAM,qCAAqC,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;;;;CAMZ,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;;;;CAMZ,CAAC;AACX;;;;;GAKG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,CAAC;AAErD;;;;;;;;;GASG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,8BAA8B,CAAC;IAC7C;;;;;OAKG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;;;;;OAMG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;;OAKG;IACH,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B;;;;;OAKG;IACH,SAAS,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,SAAS,CAC9C,CAAC;AAEzB,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,SAAS,CAC9C,CAAC;AAEzB,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.InformationRequestActivityLog$inboundSchema = exports.NewStatus$inboundSchema = exports.OldStatus$inboundSchema = exports.NewStatus = exports.OldStatus = void 0;
|
|
40
|
+
exports.informationRequestActivityLogFromJSON = informationRequestActivityLogFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const informationrequestactivitytype_js_1 = require("./informationrequestactivitytype.js");
|
|
44
|
+
/**
|
|
45
|
+
* Previous approval status before the status change.
|
|
46
|
+
*
|
|
47
|
+
* @remarks
|
|
48
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
49
|
+
*/
|
|
50
|
+
exports.OldStatus = {
|
|
51
|
+
ReadyForAudit: "READY_FOR_AUDIT",
|
|
52
|
+
NeedsEvidence: "NEEDS_EVIDENCE",
|
|
53
|
+
AuditorApproved: "AUDITOR_APPROVED",
|
|
54
|
+
AuditorFlagged: "AUDITOR_FLAGGED",
|
|
55
|
+
ReadyForInternalReview: "READY_FOR_INTERNAL_REVIEW",
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* New approval status after the status change.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
62
|
+
*/
|
|
63
|
+
exports.NewStatus = {
|
|
64
|
+
ReadyForAudit: "READY_FOR_AUDIT",
|
|
65
|
+
NeedsEvidence: "NEEDS_EVIDENCE",
|
|
66
|
+
AuditorApproved: "AUDITOR_APPROVED",
|
|
67
|
+
AuditorFlagged: "AUDITOR_FLAGGED",
|
|
68
|
+
ReadyForInternalReview: "READY_FOR_INTERNAL_REVIEW",
|
|
69
|
+
};
|
|
70
|
+
/** @internal */
|
|
71
|
+
exports.OldStatus$inboundSchema = z
|
|
72
|
+
.nativeEnum(exports.OldStatus);
|
|
73
|
+
/** @internal */
|
|
74
|
+
exports.NewStatus$inboundSchema = z
|
|
75
|
+
.nativeEnum(exports.NewStatus);
|
|
76
|
+
/** @internal */
|
|
77
|
+
exports.InformationRequestActivityLog$inboundSchema = z.object({
|
|
78
|
+
id: z.string(),
|
|
79
|
+
activityType: informationrequestactivitytype_js_1.InformationRequestActivityType$inboundSchema,
|
|
80
|
+
timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
81
|
+
userEmail: z.nullable(z.string()),
|
|
82
|
+
oldStatus: z.nullable(exports.OldStatus$inboundSchema),
|
|
83
|
+
newStatus: z.nullable(exports.NewStatus$inboundSchema),
|
|
84
|
+
reason: z.nullable(z.string()),
|
|
85
|
+
});
|
|
86
|
+
function informationRequestActivityLogFromJSON(jsonString) {
|
|
87
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InformationRequestActivityLog$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InformationRequestActivityLog' from JSON`);
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=informationrequestactivitylog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestactivitylog.js","sourceRoot":"","sources":["../../src/models/components/informationrequestactivitylog.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuIH,sFAQC;AA7ID,0CAA4B;AAC5B,qDAAiD;AAIjD,2FAG6C;AAE7C;;;;;GAKG;AACU,QAAA,SAAS,GAAG;IACvB,aAAa,EAAE,iBAAiB;IAChC,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,sBAAsB,EAAE,2BAA2B;CAC3C,CAAC;AASX;;;;;GAKG;AACU,QAAA,SAAS,GAAG;IACvB,aAAa,EAAE,iBAAiB;IAChC,aAAa,EAAE,gBAAgB;IAC/B,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,sBAAsB,EAAE,2BAA2B;CAC3C,CAAC;AAmEX,gBAAgB;AACH,QAAA,uBAAuB,GAAsC,CAAC;KACxE,UAAU,CAAC,iBAAS,CAAC,CAAC;AAEzB,gBAAgB;AACH,QAAA,uBAAuB,GAAsC,CAAC;KACxE,UAAU,CAAC,iBAAS,CAAC,CAAC;AAEzB,gBAAgB;AACH,QAAA,2CAA2C,GAIpD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,YAAY,EAAE,gFAA4C;IAC1D,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACjC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,+BAAuB,CAAC;IAC9C,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,+BAAuB,CAAC;IAC9C,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,SAAgB,qCAAqC,CACnD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,mDAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
export declare const InformationRequestActivityType: {
|
|
4
|
+
readonly ChangeStatus: "CHANGE_STATUS";
|
|
5
|
+
readonly EditRequest: "EDIT_REQUEST";
|
|
6
|
+
readonly RemoveEvidence: "REMOVE_EVIDENCE";
|
|
7
|
+
readonly ShareEvidenceWithAuditor: "SHARE_EVIDENCE_WITH_AUDITOR";
|
|
8
|
+
readonly UploadEvidence: "UPLOAD_EVIDENCE";
|
|
9
|
+
};
|
|
10
|
+
export type InformationRequestActivityType = ClosedEnum<typeof InformationRequestActivityType>;
|
|
11
|
+
/** @internal */
|
|
12
|
+
export declare const InformationRequestActivityType$inboundSchema: z.ZodNativeEnum<typeof InformationRequestActivityType>;
|
|
13
|
+
//# sourceMappingURL=informationrequestactivitytype.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestactivitytype.d.ts","sourceRoot":"","sources":["../../src/models/components/informationrequestactivitytype.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,8BAA8B;;;;;;CAMjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4CAA4C,EAAE,CAAC,CAAC,aAAa,CACxE,OAAO,8BAA8B,CACS,CAAC"}
|
package/{mcp-server/tools/auditsList.js → models/components/informationrequestactivitytype.js}
RENAMED
|
@@ -36,29 +36,15 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
exports.InformationRequestActivityType$inboundSchema = exports.InformationRequestActivityType = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
exports.InformationRequestActivityType = {
|
|
42
|
+
ChangeStatus: "CHANGE_STATUS",
|
|
43
|
+
EditRequest: "EDIT_REQUEST",
|
|
44
|
+
RemoveEvidence: "REMOVE_EVIDENCE",
|
|
45
|
+
ShareEvidenceWithAuditor: "SHARE_EVIDENCE_WITH_AUDITOR",
|
|
46
|
+
UploadEvidence: "UPLOAD_EVIDENCE",
|
|
45
47
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Returns a paginated list of audits scoped to the audit firm.`,
|
|
51
|
-
args,
|
|
52
|
-
tool: async (client, args, ctx) => {
|
|
53
|
-
const [result, apiCall] = await (0, auditsList_js_1.auditsList)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54
|
-
if (!result.ok) {
|
|
55
|
-
return {
|
|
56
|
-
content: [{ type: "text", text: result.error.message }],
|
|
57
|
-
isError: true,
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
const value = result.value;
|
|
61
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=auditsList.js.map
|
|
48
|
+
/** @internal */
|
|
49
|
+
exports.InformationRequestActivityType$inboundSchema = z.nativeEnum(exports.InformationRequestActivityType);
|
|
50
|
+
//# sourceMappingURL=informationrequestactivitytype.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestactivitytype.js","sourceRoot":"","sources":["../../src/models/components/informationrequestactivitytype.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAGf,QAAA,8BAA8B,GAAG;IAC5C,YAAY,EAAE,eAAe;IAC7B,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,wBAAwB,EAAE,6BAA6B;IACvD,cAAc,EAAE,iBAAiB;CACzB,CAAC;AAKX,gBAAgB;AACH,QAAA,4CAA4C,GAErD,CAAC,CAAC,UAAU,CAAC,sCAA8B,CAAC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Current approval status of the information request, tracking its lifecycle through the audit process.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
*
|
|
8
|
+
* The status progresses through the workflow: initial state → awaiting review → approved or flagged.
|
|
9
|
+
* Status can move between awaiting review and flagged states as evidence is reviewed and resubmitted.
|
|
10
|
+
*/
|
|
11
|
+
export declare const InformationRequestApprovalStatus: {
|
|
12
|
+
readonly NeedsEvidence: "NEEDS_EVIDENCE";
|
|
13
|
+
readonly ReadyForAudit: "READY_FOR_AUDIT";
|
|
14
|
+
readonly AuditorApproved: "AUDITOR_APPROVED";
|
|
15
|
+
readonly AuditorFlagged: "AUDITOR_FLAGGED";
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Current approval status of the information request, tracking its lifecycle through the audit process.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
*
|
|
22
|
+
* The status progresses through the workflow: initial state → awaiting review → approved or flagged.
|
|
23
|
+
* Status can move between awaiting review and flagged states as evidence is reviewed and resubmitted.
|
|
24
|
+
*/
|
|
25
|
+
export type InformationRequestApprovalStatus = ClosedEnum<typeof InformationRequestApprovalStatus>;
|
|
26
|
+
/** @internal */
|
|
27
|
+
export declare const InformationRequestApprovalStatus$inboundSchema: z.ZodNativeEnum<typeof InformationRequestApprovalStatus>;
|
|
28
|
+
//# sourceMappingURL=informationrequestapprovalstatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestapprovalstatus.d.ts","sourceRoot":"","sources":["../../src/models/components/informationrequestapprovalstatus.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;;;;;;GAOG;AACH,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AACX;;;;;;;GAOG;AACH,MAAM,MAAM,gCAAgC,GAAG,UAAU,CACvD,OAAO,gCAAgC,CACxC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,aAAa,CAC1E,OAAO,gCAAgC,CACS,CAAC"}
|
package/{mcp-server/tools/auditorsCreate.js → models/components/informationrequestapprovalstatus.js}
RENAMED
|
@@ -36,29 +36,22 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
if (!result.ok) {
|
|
55
|
-
return {
|
|
56
|
-
content: [{ type: "text", text: result.error.message }],
|
|
57
|
-
isError: true,
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
const value = result.value;
|
|
61
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
62
|
-
},
|
|
39
|
+
exports.InformationRequestApprovalStatus$inboundSchema = exports.InformationRequestApprovalStatus = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* Current approval status of the information request, tracking its lifecycle through the audit process.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
*
|
|
46
|
+
* The status progresses through the workflow: initial state → awaiting review → approved or flagged.
|
|
47
|
+
* Status can move between awaiting review and flagged states as evidence is reviewed and resubmitted.
|
|
48
|
+
*/
|
|
49
|
+
exports.InformationRequestApprovalStatus = {
|
|
50
|
+
NeedsEvidence: "NEEDS_EVIDENCE",
|
|
51
|
+
ReadyForAudit: "READY_FOR_AUDIT",
|
|
52
|
+
AuditorApproved: "AUDITOR_APPROVED",
|
|
53
|
+
AuditorFlagged: "AUDITOR_FLAGGED",
|
|
63
54
|
};
|
|
64
|
-
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.InformationRequestApprovalStatus$inboundSchema = z.nativeEnum(exports.InformationRequestApprovalStatus);
|
|
57
|
+
//# sourceMappingURL=informationrequestapprovalstatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestapprovalstatus.js","sourceRoot":"","sources":["../../src/models/components/informationrequestapprovalstatus.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;;;;;;GAOG;AACU,QAAA,gCAAgC,GAAG;IAC9C,aAAa,EAAE,gBAAgB;IAC/B,aAAa,EAAE,iBAAiB;IAChC,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;CACzB,CAAC;AAaX,gBAAgB;AACH,QAAA,8CAA8C,GAEvD,CAAC,CAAC,UAAU,CAAC,wCAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* Frequency cadence for the information request, indicating how often it recurs.
|
|
5
|
+
*/
|
|
6
|
+
export declare const InformationRequestCadence: {
|
|
7
|
+
readonly Annually: "ANNUALLY";
|
|
8
|
+
readonly Biannually: "BIANNUALLY";
|
|
9
|
+
readonly Monthly: "MONTHLY";
|
|
10
|
+
readonly Quarterly: "QUARTERLY";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Frequency cadence for the information request, indicating how often it recurs.
|
|
14
|
+
*/
|
|
15
|
+
export type InformationRequestCadence = ClosedEnum<typeof InformationRequestCadence>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const InformationRequestCadence$outboundSchema: z.ZodNativeEnum<typeof InformationRequestCadence>;
|
|
18
|
+
//# sourceMappingURL=informationrequestcadence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestcadence.d.ts","sourceRoot":"","sources":["../../src/models/components/informationrequestcadence.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;CAK5B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD,OAAO,yBAAyB,CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,aAAa,CACpE,OAAO,yBAAyB,CACS,CAAC"}
|
package/{mcp-server/tools/auditsUpdateEvidence.js → models/components/informationrequestcadence.js}
RENAMED
|
@@ -36,29 +36,17 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Update audit evidence.`,
|
|
51
|
-
args,
|
|
52
|
-
tool: async (client, args, ctx) => {
|
|
53
|
-
const [result, apiCall] = await (0, auditsUpdateEvidence_js_1.auditsUpdateEvidence)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54
|
-
if (!result.ok) {
|
|
55
|
-
return {
|
|
56
|
-
content: [{ type: "text", text: result.error.message }],
|
|
57
|
-
isError: true,
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
const value = result.value;
|
|
61
|
-
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
62
|
-
},
|
|
39
|
+
exports.InformationRequestCadence$outboundSchema = exports.InformationRequestCadence = void 0;
|
|
40
|
+
const z = __importStar(require("zod/v3"));
|
|
41
|
+
/**
|
|
42
|
+
* Frequency cadence for the information request, indicating how often it recurs.
|
|
43
|
+
*/
|
|
44
|
+
exports.InformationRequestCadence = {
|
|
45
|
+
Annually: "ANNUALLY",
|
|
46
|
+
Biannually: "BIANNUALLY",
|
|
47
|
+
Monthly: "MONTHLY",
|
|
48
|
+
Quarterly: "QUARTERLY",
|
|
63
49
|
};
|
|
64
|
-
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.InformationRequestCadence$outboundSchema = z.nativeEnum(exports.InformationRequestCadence);
|
|
52
|
+
//# sourceMappingURL=informationrequestcadence.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestcadence.js","sourceRoot":"","sources":["../../src/models/components/informationrequestcadence.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,0CAA4B;AAG5B;;GAEG;AACU,QAAA,yBAAyB,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CACd,CAAC;AAQX,gBAAgB;AACH,QAAA,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,iCAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
/**
|
|
5
|
+
* A comment on an information request enables communication between auditors
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* and customers regarding evidence requirements and submissions.
|
|
9
|
+
*
|
|
10
|
+
* These threaded discussions help clarify requests, explain or resolve questions about evidence,
|
|
11
|
+
* and are always visible to both parties once created.
|
|
12
|
+
*/
|
|
13
|
+
export type InformationRequestComment = {
|
|
14
|
+
/**
|
|
15
|
+
* The unique identifier for the comment within Vanta's system.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7").
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* The comment message content.
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* Can include explanations, questions, or clarifications about the information request.
|
|
26
|
+
*/
|
|
27
|
+
text: string;
|
|
28
|
+
/**
|
|
29
|
+
* Timestamp when the comment was created.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Format: ISO 8601 UTC timestamp.
|
|
33
|
+
*/
|
|
34
|
+
creationDate: Date;
|
|
35
|
+
/**
|
|
36
|
+
* Timestamp when the comment was last edited.
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* Null if the comment has never been modified.
|
|
40
|
+
* Format: ISO 8601 UTC timestamp.
|
|
41
|
+
*/
|
|
42
|
+
modificationDate: Date | null;
|
|
43
|
+
/**
|
|
44
|
+
* Timestamp when the comment was soft-deleted.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* Null if the comment has not been deleted.
|
|
48
|
+
* Soft deletes retain the comment for audit history while hiding it from normal operations.
|
|
49
|
+
* Format: ISO 8601 UTC timestamp.
|
|
50
|
+
*/
|
|
51
|
+
deletionDate: Date | null;
|
|
52
|
+
/**
|
|
53
|
+
* Email address of the comment author.
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* This email uniquely identifies users between Vanta and external audit systems.
|
|
57
|
+
*/
|
|
58
|
+
email: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* Human-readable display name of the comment author.
|
|
61
|
+
*
|
|
62
|
+
* @remarks
|
|
63
|
+
* Null if the author's name is not available (e.g., user was deleted).
|
|
64
|
+
* This enables correct author attribution in integrations where users cannot
|
|
65
|
+
* be reliably matched across systems by email alone.
|
|
66
|
+
*/
|
|
67
|
+
authorName: string | null;
|
|
68
|
+
};
|
|
69
|
+
/** @internal */
|
|
70
|
+
export declare const InformationRequestComment$inboundSchema: z.ZodType<InformationRequestComment, z.ZodTypeDef, unknown>;
|
|
71
|
+
export declare function informationRequestCommentFromJSON(jsonString: string): SafeParseResult<InformationRequestComment, SDKValidationError>;
|
|
72
|
+
//# sourceMappingURL=informationrequestcomment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestcomment.d.ts","sourceRoot":"","sources":["../../src/models/components/informationrequestcomment.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;;;;;;;GAQG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,YAAY,EAAE,IAAI,CAAC;IACnB;;;;;;OAMG;IACH,gBAAgB,EAAE,IAAI,GAAG,IAAI,CAAC;IAC9B;;;;;;;OAOG;IACH,YAAY,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;;OAKG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;;;;OAOG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAeP,CAAC;AAEH,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.InformationRequestComment$inboundSchema = void 0;
|
|
40
|
+
exports.informationRequestCommentFromJSON = informationRequestCommentFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.InformationRequestComment$inboundSchema = z.object({
|
|
45
|
+
id: z.string(),
|
|
46
|
+
text: z.string(),
|
|
47
|
+
creationDate: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
48
|
+
modificationDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
49
|
+
deletionDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))),
|
|
50
|
+
email: z.nullable(z.string()),
|
|
51
|
+
authorName: z.nullable(z.string()),
|
|
52
|
+
});
|
|
53
|
+
function informationRequestCommentFromJSON(jsonString) {
|
|
54
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InformationRequestComment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InformationRequestComment' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=informationrequestcomment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestcomment.js","sourceRoot":"","sources":["../../src/models/components/informationrequestcomment.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FH,8EAQC;AApGD,0CAA4B;AAC5B,qDAAiD;AAsEjD,gBAAgB;AACH,QAAA,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAChE,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ;IACD,gBAAgB,EAAE,CAAC,CAAC,QAAQ,CAC1B,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,YAAY,EAAE,CAAC,CAAC,QAAQ,CACtB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE;IACD,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACnC,CAAC,CAAC;AAEH,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { InformationRequestEvidenceUnion } from "./informationrequestevidenceunion.js";
|
|
5
|
+
import { InformationRequestSupportedEvidenceType } from "./informationrequestsupportedevidencetype.js";
|
|
6
|
+
export type InformationRequestEvidence = {
|
|
7
|
+
/**
|
|
8
|
+
* The unique identifier for the evidence within Vanta's system.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7").
|
|
12
|
+
*/
|
|
13
|
+
id: string;
|
|
14
|
+
evidenceType: InformationRequestSupportedEvidenceType;
|
|
15
|
+
/**
|
|
16
|
+
* Timestamp when the evidence was made visible to the auditor.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Null if the customer has not yet shared this evidence with the auditor.
|
|
20
|
+
* Evidence must be shared before the auditor can review it.
|
|
21
|
+
* Format: ISO 8601 UTC timestamp.
|
|
22
|
+
*/
|
|
23
|
+
visibleToAuditorDate?: Date | null | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Timestamp when the evidence was created/uploaded.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* Format: ISO 8601 UTC timestamp.
|
|
29
|
+
*/
|
|
30
|
+
creationDate: Date;
|
|
31
|
+
/**
|
|
32
|
+
* Timestamp when the evidence was last modified.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* Format: ISO 8601 UTC timestamp.
|
|
36
|
+
*/
|
|
37
|
+
modificationDate: Date;
|
|
38
|
+
/**
|
|
39
|
+
* Timestamp when the evidence was soft-deleted.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* Null if the evidence has not been deleted.
|
|
43
|
+
* Soft deletes retain evidence in the system for audit history while hiding
|
|
44
|
+
* it from normal operations.
|
|
45
|
+
* Format: ISO 8601 UTC timestamp.
|
|
46
|
+
*/
|
|
47
|
+
deletionDate?: Date | null | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Union type representing the different forms of evidence content.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* The specific type is determined by the `evidenceType` field in InformationRequestEvidence.
|
|
53
|
+
*/
|
|
54
|
+
evidence: InformationRequestEvidenceUnion;
|
|
55
|
+
};
|
|
56
|
+
/** @internal */
|
|
57
|
+
export declare const InformationRequestEvidence$inboundSchema: z.ZodType<InformationRequestEvidence, z.ZodTypeDef, unknown>;
|
|
58
|
+
export declare function informationRequestEvidenceFromJSON(jsonString: string): SafeParseResult<InformationRequestEvidence, SDKValidationError>;
|
|
59
|
+
//# sourceMappingURL=informationrequestevidence.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"informationrequestevidence.d.ts","sourceRoot":"","sources":["../../src/models/components/informationrequestevidence.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,+BAA+B,EAEhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,uCAAuC,EAExC,MAAM,8CAA8C,CAAC;AAEtD,MAAM,MAAM,0BAA0B,GAAG;IACvC;;;;;OAKG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,uCAAuC,CAAC;IACtD;;;;;;;OAOG;IACH,oBAAoB,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C;;;;;OAKG;IACH,YAAY,EAAE,IAAI,CAAC;IACnB;;;;;OAKG;IACH,gBAAgB,EAAE,IAAI,CAAC;IACvB;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC;;;;;OAKG;IACH,QAAQ,EAAE,+BAA+B,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAiBP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|