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,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
InformationRequestEvidenceUnion,
|
|
11
|
+
InformationRequestEvidenceUnion$inboundSchema,
|
|
12
|
+
} from "./informationrequestevidenceunion.js";
|
|
13
|
+
import {
|
|
14
|
+
InformationRequestSupportedEvidenceType,
|
|
15
|
+
InformationRequestSupportedEvidenceType$inboundSchema,
|
|
16
|
+
} from "./informationrequestsupportedevidencetype.js";
|
|
17
|
+
|
|
18
|
+
export type InformationRequestEvidence = {
|
|
19
|
+
/**
|
|
20
|
+
* The unique identifier for the evidence within Vanta's system.
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7").
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
evidenceType: InformationRequestSupportedEvidenceType;
|
|
27
|
+
/**
|
|
28
|
+
* Timestamp when the evidence was made visible to the auditor.
|
|
29
|
+
*
|
|
30
|
+
* @remarks
|
|
31
|
+
* Null if the customer has not yet shared this evidence with the auditor.
|
|
32
|
+
* Evidence must be shared before the auditor can review it.
|
|
33
|
+
* Format: ISO 8601 UTC timestamp.
|
|
34
|
+
*/
|
|
35
|
+
visibleToAuditorDate?: Date | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp when the evidence was created/uploaded.
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* Format: ISO 8601 UTC timestamp.
|
|
41
|
+
*/
|
|
42
|
+
creationDate: Date;
|
|
43
|
+
/**
|
|
44
|
+
* Timestamp when the evidence was last modified.
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* Format: ISO 8601 UTC timestamp.
|
|
48
|
+
*/
|
|
49
|
+
modificationDate: Date;
|
|
50
|
+
/**
|
|
51
|
+
* Timestamp when the evidence was soft-deleted.
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Null if the evidence has not been deleted.
|
|
55
|
+
* Soft deletes retain evidence in the system for audit history while hiding
|
|
56
|
+
* it from normal operations.
|
|
57
|
+
* Format: ISO 8601 UTC timestamp.
|
|
58
|
+
*/
|
|
59
|
+
deletionDate?: Date | null | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* Union type representing the different forms of evidence content.
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* The specific type is determined by the `evidenceType` field in InformationRequestEvidence.
|
|
65
|
+
*/
|
|
66
|
+
evidence: InformationRequestEvidenceUnion;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const InformationRequestEvidence$inboundSchema: z.ZodType<
|
|
71
|
+
InformationRequestEvidence,
|
|
72
|
+
z.ZodTypeDef,
|
|
73
|
+
unknown
|
|
74
|
+
> = z.object({
|
|
75
|
+
id: z.string(),
|
|
76
|
+
evidenceType: InformationRequestSupportedEvidenceType$inboundSchema,
|
|
77
|
+
visibleToAuditorDate: z.nullable(
|
|
78
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
79
|
+
).optional(),
|
|
80
|
+
creationDate: z.string().datetime({ offset: true }).transform(v =>
|
|
81
|
+
new Date(v)
|
|
82
|
+
),
|
|
83
|
+
modificationDate: z.string().datetime({ offset: true }).transform(v =>
|
|
84
|
+
new Date(v)
|
|
85
|
+
),
|
|
86
|
+
deletionDate: z.nullable(
|
|
87
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
88
|
+
).optional(),
|
|
89
|
+
evidence: InformationRequestEvidenceUnion$inboundSchema,
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
export function informationRequestEvidenceFromJSON(
|
|
93
|
+
jsonString: string,
|
|
94
|
+
): SafeParseResult<InformationRequestEvidence, SDKValidationError> {
|
|
95
|
+
return safeParse(
|
|
96
|
+
jsonString,
|
|
97
|
+
(x) => InformationRequestEvidence$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
+
`Failed to parse 'InformationRequestEvidence' from JSON`,
|
|
99
|
+
);
|
|
100
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import { LinkEvidence, LinkEvidence$inboundSchema } from "./linkevidence.js";
|
|
10
|
+
import {
|
|
11
|
+
ObservationEvidence,
|
|
12
|
+
ObservationEvidence$inboundSchema,
|
|
13
|
+
} from "./observationevidence.js";
|
|
14
|
+
import {
|
|
15
|
+
UploadedDocumentEvidence,
|
|
16
|
+
UploadedDocumentEvidence$inboundSchema,
|
|
17
|
+
} from "./uploadeddocumentevidence.js";
|
|
18
|
+
import {
|
|
19
|
+
VantaDocumentEvidence,
|
|
20
|
+
VantaDocumentEvidence$inboundSchema,
|
|
21
|
+
} from "./vantadocumentevidence.js";
|
|
22
|
+
import {
|
|
23
|
+
VantaPolicyEvidence,
|
|
24
|
+
VantaPolicyEvidence$inboundSchema,
|
|
25
|
+
} from "./vantapolicyevidence.js";
|
|
26
|
+
import {
|
|
27
|
+
VantaTestEvidence,
|
|
28
|
+
VantaTestEvidence$inboundSchema,
|
|
29
|
+
} from "./vantatestevidence.js";
|
|
30
|
+
import {
|
|
31
|
+
VantaTestSnapshotEvidence,
|
|
32
|
+
VantaTestSnapshotEvidence$inboundSchema,
|
|
33
|
+
} from "./vantatestsnapshotevidence.js";
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Union type representing the different forms of evidence content.
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* The specific type is determined by the `evidenceType` field in InformationRequestEvidence.
|
|
40
|
+
*/
|
|
41
|
+
export type InformationRequestEvidenceUnion =
|
|
42
|
+
| VantaTestEvidence
|
|
43
|
+
| VantaTestSnapshotEvidence
|
|
44
|
+
| VantaPolicyEvidence
|
|
45
|
+
| UploadedDocumentEvidence
|
|
46
|
+
| VantaDocumentEvidence
|
|
47
|
+
| LinkEvidence
|
|
48
|
+
| ObservationEvidence;
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export const InformationRequestEvidenceUnion$inboundSchema: z.ZodType<
|
|
52
|
+
InformationRequestEvidenceUnion,
|
|
53
|
+
z.ZodTypeDef,
|
|
54
|
+
unknown
|
|
55
|
+
> = z.union([
|
|
56
|
+
VantaTestEvidence$inboundSchema,
|
|
57
|
+
VantaTestSnapshotEvidence$inboundSchema,
|
|
58
|
+
VantaPolicyEvidence$inboundSchema,
|
|
59
|
+
UploadedDocumentEvidence$inboundSchema,
|
|
60
|
+
VantaDocumentEvidence$inboundSchema,
|
|
61
|
+
LinkEvidence$inboundSchema,
|
|
62
|
+
ObservationEvidence$inboundSchema,
|
|
63
|
+
]);
|
|
64
|
+
|
|
65
|
+
export function informationRequestEvidenceUnionFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<InformationRequestEvidenceUnion, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) => InformationRequestEvidenceUnion$inboundSchema.parse(JSON.parse(x)),
|
|
71
|
+
`Failed to parse 'InformationRequestEvidenceUnion' from JSON`,
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const InformationRequestSupportedEvidenceType = {
|
|
9
|
+
UploadedDocument: "UPLOADED_DOCUMENT",
|
|
10
|
+
Observation: "OBSERVATION",
|
|
11
|
+
Link: "LINK",
|
|
12
|
+
VantaDocument: "VANTA_DOCUMENT",
|
|
13
|
+
VantaPolicy: "VANTA_POLICY",
|
|
14
|
+
VantaTest: "VANTA_TEST",
|
|
15
|
+
VantaTestSnapshot: "VANTA_TEST_SNAPSHOT",
|
|
16
|
+
} as const;
|
|
17
|
+
export type InformationRequestSupportedEvidenceType = ClosedEnum<
|
|
18
|
+
typeof InformationRequestSupportedEvidenceType
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const InformationRequestSupportedEvidenceType$inboundSchema:
|
|
23
|
+
z.ZodNativeEnum<typeof InformationRequestSupportedEvidenceType> = z
|
|
24
|
+
.nativeEnum(InformationRequestSupportedEvidenceType);
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const InformationRequestSupportedEvidenceType$outboundSchema:
|
|
27
|
+
z.ZodNativeEnum<typeof InformationRequestSupportedEvidenceType> =
|
|
28
|
+
InformationRequestSupportedEvidenceType$inboundSchema;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Type of information request, defining what scope of evidence is needed.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
*
|
|
13
|
+
* - POINT_IN_TIME: Evidence for a specific moment (e.g., current state of a policy)
|
|
14
|
+
* - POPULATION: Evidence covering all items in a category (e.g., all employees)
|
|
15
|
+
* - SAMPLE: Evidence for a representative sample (e.g., 10 random customer records)
|
|
16
|
+
*/
|
|
17
|
+
export const InformationRequestType = {
|
|
18
|
+
PointInTime: "POINT_IN_TIME",
|
|
19
|
+
Population: "POPULATION",
|
|
20
|
+
Sample: "SAMPLE",
|
|
21
|
+
} as const;
|
|
22
|
+
/**
|
|
23
|
+
* Type of information request, defining what scope of evidence is needed.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*
|
|
27
|
+
* - POINT_IN_TIME: Evidence for a specific moment (e.g., current state of a policy)
|
|
28
|
+
* - POPULATION: Evidence covering all items in a category (e.g., all employees)
|
|
29
|
+
* - SAMPLE: Evidence for a representative sample (e.g., 10 random customer records)
|
|
30
|
+
*/
|
|
31
|
+
export type InformationRequestType = ClosedEnum<typeof InformationRequestType>;
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const InformationRequestType$inboundSchema: z.ZodNativeEnum<
|
|
35
|
+
typeof InformationRequestType
|
|
36
|
+
> = z.nativeEnum(InformationRequestType);
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const InformationRequestType$outboundSchema: z.ZodNativeEnum<
|
|
39
|
+
typeof InformationRequestType
|
|
40
|
+
> = InformationRequestType$inboundSchema;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
IssueStatusTypeForSnapshot,
|
|
11
|
+
IssueStatusTypeForSnapshot$inboundSchema,
|
|
12
|
+
} from "./issuestatustypeforsnapshot.js";
|
|
13
|
+
|
|
14
|
+
export type IssueSnapshotItem = {
|
|
15
|
+
/**
|
|
16
|
+
* The unique identifier for the snapshot of an issue.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
*
|
|
20
|
+
* This is distinct from the issueId, which identifies the underlying issue across snapshots.
|
|
21
|
+
* The snapshot item ID is unique to this specific snapshot of the issue.
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* The issue title
|
|
26
|
+
*/
|
|
27
|
+
title?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The issue description
|
|
30
|
+
*/
|
|
31
|
+
description?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The human-readable identifier for the issue.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
*
|
|
37
|
+
* This field is unique per-domain, and can be used to correlate
|
|
38
|
+
* this issue snapshot item to the underlying issue across different snapshots.
|
|
39
|
+
*/
|
|
40
|
+
readableIssueId: string;
|
|
41
|
+
/**
|
|
42
|
+
* The globally unique identifier for the underlying issue across snapshots.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
*
|
|
46
|
+
* This field can be used to correlate this snapshot item to the underlying issue across different snapshots.
|
|
47
|
+
*/
|
|
48
|
+
issueId: string;
|
|
49
|
+
/**
|
|
50
|
+
* The identifier for the snapshot this issue item belongs to.
|
|
51
|
+
*/
|
|
52
|
+
snapshotId: string;
|
|
53
|
+
/**
|
|
54
|
+
* The due date for the issue.
|
|
55
|
+
*/
|
|
56
|
+
dueDate?: Date | null | undefined;
|
|
57
|
+
status?: IssueStatusTypeForSnapshot | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The date and time when the issue was last modified.
|
|
60
|
+
*/
|
|
61
|
+
lastModifiedAt?: Date | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* The date and time when the issue was created.
|
|
64
|
+
*/
|
|
65
|
+
createdAt?: Date | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* The date and time when the issue was detected.
|
|
68
|
+
*/
|
|
69
|
+
detectedAt?: Date | undefined;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const IssueSnapshotItem$inboundSchema: z.ZodType<
|
|
74
|
+
IssueSnapshotItem,
|
|
75
|
+
z.ZodTypeDef,
|
|
76
|
+
unknown
|
|
77
|
+
> = z.object({
|
|
78
|
+
id: z.string(),
|
|
79
|
+
title: z.string().optional(),
|
|
80
|
+
description: z.string().optional(),
|
|
81
|
+
readableIssueId: z.string(),
|
|
82
|
+
issueId: z.string(),
|
|
83
|
+
snapshotId: z.string(),
|
|
84
|
+
dueDate: z.nullable(
|
|
85
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
86
|
+
).optional(),
|
|
87
|
+
status: IssueStatusTypeForSnapshot$inboundSchema.optional(),
|
|
88
|
+
lastModifiedAt: z.string().datetime({ offset: true }).transform(v =>
|
|
89
|
+
new Date(v)
|
|
90
|
+
).optional(),
|
|
91
|
+
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
92
|
+
.optional(),
|
|
93
|
+
detectedAt: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
94
|
+
.optional(),
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
export function issueSnapshotItemFromJSON(
|
|
98
|
+
jsonString: string,
|
|
99
|
+
): SafeParseResult<IssueSnapshotItem, SDKValidationError> {
|
|
100
|
+
return safeParse(
|
|
101
|
+
jsonString,
|
|
102
|
+
(x) => IssueSnapshotItem$inboundSchema.parse(JSON.parse(x)),
|
|
103
|
+
`Failed to parse 'IssueSnapshotItem' from JSON`,
|
|
104
|
+
);
|
|
105
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
export type IssueSnapshotMetadata = {
|
|
11
|
+
/**
|
|
12
|
+
* The unique identifier for the issue snapshot.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
/**
|
|
16
|
+
* The title of the snapshot
|
|
17
|
+
*/
|
|
18
|
+
title?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The description of the snapshot
|
|
21
|
+
*/
|
|
22
|
+
description?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* The date and time when the snapshot was created.
|
|
25
|
+
*/
|
|
26
|
+
createdAt?: Date | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const IssueSnapshotMetadata$inboundSchema: z.ZodType<
|
|
31
|
+
IssueSnapshotMetadata,
|
|
32
|
+
z.ZodTypeDef,
|
|
33
|
+
unknown
|
|
34
|
+
> = z.object({
|
|
35
|
+
id: z.string(),
|
|
36
|
+
title: z.string().optional(),
|
|
37
|
+
description: z.string().optional(),
|
|
38
|
+
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
39
|
+
.optional(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
export function issueSnapshotMetadataFromJSON(
|
|
43
|
+
jsonString: string,
|
|
44
|
+
): SafeParseResult<IssueSnapshotMetadata, SDKValidationError> {
|
|
45
|
+
return safeParse(
|
|
46
|
+
jsonString,
|
|
47
|
+
(x) => IssueSnapshotMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
+
`Failed to parse 'IssueSnapshotMetadata' from JSON`,
|
|
49
|
+
);
|
|
50
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
export const IssueStatusTypeForSnapshot = {
|
|
9
|
+
InProgress: "IN_PROGRESS",
|
|
10
|
+
NotStarted: "NOT_STARTED",
|
|
11
|
+
Closed: "CLOSED",
|
|
12
|
+
} as const;
|
|
13
|
+
export type IssueStatusTypeForSnapshot = ClosedEnum<
|
|
14
|
+
typeof IssueStatusTypeForSnapshot
|
|
15
|
+
>;
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const IssueStatusTypeForSnapshot$inboundSchema: z.ZodNativeEnum<
|
|
19
|
+
typeof IssueStatusTypeForSnapshot
|
|
20
|
+
> = z.nativeEnum(IssueStatusTypeForSnapshot);
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Evidence in the form of a link to external documentation or resources.
|
|
12
|
+
*/
|
|
13
|
+
export type LinkEvidence = {
|
|
14
|
+
/**
|
|
15
|
+
* The title or descriptive name for the link.
|
|
16
|
+
*/
|
|
17
|
+
title: string;
|
|
18
|
+
/**
|
|
19
|
+
* Optional description providing additional context about the link.
|
|
20
|
+
*/
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* The URL pointing to the external documentation or resource.
|
|
24
|
+
*/
|
|
25
|
+
url: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const LinkEvidence$inboundSchema: z.ZodType<
|
|
30
|
+
LinkEvidence,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
title: z.string(),
|
|
35
|
+
description: z.string().optional(),
|
|
36
|
+
url: z.string(),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export function linkEvidenceFromJSON(
|
|
40
|
+
jsonString: string,
|
|
41
|
+
): SafeParseResult<LinkEvidence, SDKValidationError> {
|
|
42
|
+
return safeParse(
|
|
43
|
+
jsonString,
|
|
44
|
+
(x) => LinkEvidence$inboundSchema.parse(JSON.parse(x)),
|
|
45
|
+
`Failed to parse 'LinkEvidence' from JSON`,
|
|
46
|
+
);
|
|
47
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Evidence in the form of a text observation or note.
|
|
12
|
+
*/
|
|
13
|
+
export type ObservationEvidence = {
|
|
14
|
+
/**
|
|
15
|
+
* The text content of the observation.
|
|
16
|
+
*/
|
|
17
|
+
observationDetails: string;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const ObservationEvidence$inboundSchema: z.ZodType<
|
|
22
|
+
ObservationEvidence,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
observationDetails: z.string(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
export function observationEvidenceFromJSON(
|
|
30
|
+
jsonString: string,
|
|
31
|
+
): SafeParseResult<ObservationEvidence, SDKValidationError> {
|
|
32
|
+
return safeParse(
|
|
33
|
+
jsonString,
|
|
34
|
+
(x) => ObservationEvidence$inboundSchema.parse(JSON.parse(x)),
|
|
35
|
+
`Failed to parse 'ObservationEvidence' from JSON`,
|
|
36
|
+
);
|
|
37
|
+
}
|
|
@@ -40,29 +40,7 @@ export const PageInfo$inboundSchema: z.ZodType<
|
|
|
40
40
|
hasPreviousPage: z.boolean(),
|
|
41
41
|
startCursor: z.nullable(z.string()),
|
|
42
42
|
});
|
|
43
|
-
/** @internal */
|
|
44
|
-
export type PageInfo$Outbound = {
|
|
45
|
-
endCursor: string | null;
|
|
46
|
-
hasNextPage: boolean;
|
|
47
|
-
hasPreviousPage: boolean;
|
|
48
|
-
startCursor: string | null;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
/** @internal */
|
|
52
|
-
export const PageInfo$outboundSchema: z.ZodType<
|
|
53
|
-
PageInfo$Outbound,
|
|
54
|
-
z.ZodTypeDef,
|
|
55
|
-
PageInfo
|
|
56
|
-
> = z.object({
|
|
57
|
-
endCursor: z.nullable(z.string()),
|
|
58
|
-
hasNextPage: z.boolean(),
|
|
59
|
-
hasPreviousPage: z.boolean(),
|
|
60
|
-
startCursor: z.nullable(z.string()),
|
|
61
|
-
});
|
|
62
43
|
|
|
63
|
-
export function pageInfoToJSON(pageInfo: PageInfo): string {
|
|
64
|
-
return JSON.stringify(PageInfo$outboundSchema.parse(pageInfo));
|
|
65
|
-
}
|
|
66
44
|
export function pageInfoFromJSON(
|
|
67
45
|
jsonString: string,
|
|
68
46
|
): SafeParseResult<PageInfo, SDKValidationError> {
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
IssueSnapshotItem,
|
|
11
|
+
IssueSnapshotItem$inboundSchema,
|
|
12
|
+
} from "./issuesnapshotitem.js";
|
|
13
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedIssueSnapshotItemsResponseResults = {
|
|
16
|
+
data: Array<IssueSnapshotItem>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedIssueSnapshotItemsResponse = {
|
|
24
|
+
results: PaginatedIssueSnapshotItemsResponseResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedIssueSnapshotItemsResponseResults$inboundSchema:
|
|
29
|
+
z.ZodType<PaginatedIssueSnapshotItemsResponseResults, z.ZodTypeDef, unknown> =
|
|
30
|
+
z.object({
|
|
31
|
+
data: z.array(IssueSnapshotItem$inboundSchema),
|
|
32
|
+
pageInfo: PageInfo$inboundSchema,
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export function paginatedIssueSnapshotItemsResponseResultsFromJSON(
|
|
36
|
+
jsonString: string,
|
|
37
|
+
): SafeParseResult<
|
|
38
|
+
PaginatedIssueSnapshotItemsResponseResults,
|
|
39
|
+
SDKValidationError
|
|
40
|
+
> {
|
|
41
|
+
return safeParse(
|
|
42
|
+
jsonString,
|
|
43
|
+
(x) =>
|
|
44
|
+
PaginatedIssueSnapshotItemsResponseResults$inboundSchema.parse(
|
|
45
|
+
JSON.parse(x),
|
|
46
|
+
),
|
|
47
|
+
`Failed to parse 'PaginatedIssueSnapshotItemsResponseResults' from JSON`,
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const PaginatedIssueSnapshotItemsResponse$inboundSchema: z.ZodType<
|
|
53
|
+
PaginatedIssueSnapshotItemsResponse,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
unknown
|
|
56
|
+
> = z.object({
|
|
57
|
+
results: z.lazy(() =>
|
|
58
|
+
PaginatedIssueSnapshotItemsResponseResults$inboundSchema
|
|
59
|
+
),
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export function paginatedIssueSnapshotItemsResponseFromJSON(
|
|
63
|
+
jsonString: string,
|
|
64
|
+
): SafeParseResult<PaginatedIssueSnapshotItemsResponse, SDKValidationError> {
|
|
65
|
+
return safeParse(
|
|
66
|
+
jsonString,
|
|
67
|
+
(x) =>
|
|
68
|
+
PaginatedIssueSnapshotItemsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
69
|
+
`Failed to parse 'PaginatedIssueSnapshotItemsResponse' from JSON`,
|
|
70
|
+
);
|
|
71
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import {
|
|
10
|
+
IssueSnapshotMetadata,
|
|
11
|
+
IssueSnapshotMetadata$inboundSchema,
|
|
12
|
+
} from "./issuesnapshotmetadata.js";
|
|
13
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedIssueSnapshotMetadataResponseResults = {
|
|
16
|
+
data: Array<IssueSnapshotMetadata>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedIssueSnapshotMetadataResponse = {
|
|
24
|
+
results: PaginatedIssueSnapshotMetadataResponseResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedIssueSnapshotMetadataResponseResults$inboundSchema:
|
|
29
|
+
z.ZodType<
|
|
30
|
+
PaginatedIssueSnapshotMetadataResponseResults,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
data: z.array(IssueSnapshotMetadata$inboundSchema),
|
|
35
|
+
pageInfo: PageInfo$inboundSchema,
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function paginatedIssueSnapshotMetadataResponseResultsFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<
|
|
41
|
+
PaginatedIssueSnapshotMetadataResponseResults,
|
|
42
|
+
SDKValidationError
|
|
43
|
+
> {
|
|
44
|
+
return safeParse(
|
|
45
|
+
jsonString,
|
|
46
|
+
(x) =>
|
|
47
|
+
PaginatedIssueSnapshotMetadataResponseResults$inboundSchema.parse(
|
|
48
|
+
JSON.parse(x),
|
|
49
|
+
),
|
|
50
|
+
`Failed to parse 'PaginatedIssueSnapshotMetadataResponseResults' from JSON`,
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const PaginatedIssueSnapshotMetadataResponse$inboundSchema: z.ZodType<
|
|
56
|
+
PaginatedIssueSnapshotMetadataResponse,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
unknown
|
|
59
|
+
> = z.object({
|
|
60
|
+
results: z.lazy(() =>
|
|
61
|
+
PaginatedIssueSnapshotMetadataResponseResults$inboundSchema
|
|
62
|
+
),
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
export function paginatedIssueSnapshotMetadataResponseFromJSON(
|
|
66
|
+
jsonString: string,
|
|
67
|
+
): SafeParseResult<PaginatedIssueSnapshotMetadataResponse, SDKValidationError> {
|
|
68
|
+
return safeParse(
|
|
69
|
+
jsonString,
|
|
70
|
+
(x) =>
|
|
71
|
+
PaginatedIssueSnapshotMetadataResponse$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'PaginatedIssueSnapshotMetadataResponse' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|