vanta-auditor-api-sdk 0.4.2 → 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 -20
- 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/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 -0
- package/models/components/audit.d.ts.map +1 -1
- package/models/components/audit.js +11 -1
- package/models/components/audit.js.map +1 -1
- package/models/components/auditorcontrol.d.ts +8 -0
- package/models/components/auditorcontrol.d.ts.map +1 -1
- package/models/components/auditorcontrol.js +2 -0
- package/models/components/auditorcontrol.js.map +1 -1
- package/models/components/comment.d.ts +9 -0
- package/models/components/comment.d.ts.map +1 -1
- package/models/components/comment.js +1 -0
- package/models/components/comment.js.map +1 -1
- package/models/components/control.d.ts +8 -0
- package/models/components/control.d.ts.map +1 -1
- package/models/components/control.js +2 -0
- package/models/components/control.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/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/evidenceurl.d.ts +4 -0
- package/models/components/evidenceurl.d.ts.map +1 -1
- package/models/components/evidenceurl.js +1 -0
- 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/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/models/components/informationrequestactivitytype.js +50 -0
- 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/models/components/informationrequestapprovalstatus.js +57 -0
- 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/models/components/informationrequestcadence.js +52 -0
- 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/models/components/informationrequestsupportedevidencetype.js +55 -0
- 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/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/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/models/components/partialupdateinformationrequest.js +58 -0
- 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 -0
- package/models/components/section.d.ts.map +1 -1
- package/models/components/section.js +11 -1
- package/models/components/section.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/models/components/vantatestsnapshotevidence.js +68 -0
- 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/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/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/models/operations/deletecommentforinformationrequest.js +58 -0
- 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/models/operations/flaginformationrequestevidence.js +57 -0
- 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/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/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/models/operations/shareinformationrequestlist.js +49 -0
- package/models/operations/shareinformationrequestlist.js.map +1 -0
- 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 +3 -3
- 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/addinformationrequestcommentinput.ts +67 -0
- package/src/models/components/audit.ts +54 -0
- package/src/models/components/auditorcontrol.ts +14 -0
- package/src/models/components/comment.ts +10 -0
- package/src/models/components/control.ts +14 -0
- package/src/models/components/createinformationrequestinput.ts +138 -0
- package/src/models/components/deleteinformationrequestcommentinput.ts +46 -0
- package/src/models/components/evidenceurl.ts +5 -0
- package/src/models/components/flaginformationrequestevidenceinput.ts +58 -0
- package/src/models/components/frameworkcodes.ts +40 -0
- 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/paginatedissuesnapshotitemsresponse.ts +71 -0
- package/src/models/components/paginatedissuesnapshotmetadataresponse.ts +74 -0
- 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 -0
- 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/createcommentforinformationrequest.ts +50 -0
- 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/listauditissues.ts +58 -0
- 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/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/examples/package-lock.json +0 -610
- package/examples/package.json +0 -18
- package/tsconfig.json +0 -41
|
@@ -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
|
+
}
|
|
@@ -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
|
+
InformationRequest,
|
|
11
|
+
InformationRequest$inboundSchema,
|
|
12
|
+
} from "./informationrequest.js";
|
|
13
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedResponseInformationRequestResults = {
|
|
16
|
+
data: Array<InformationRequest>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedResponseInformationRequest = {
|
|
24
|
+
results: PaginatedResponseInformationRequestResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedResponseInformationRequestResults$inboundSchema:
|
|
29
|
+
z.ZodType<PaginatedResponseInformationRequestResults, z.ZodTypeDef, unknown> =
|
|
30
|
+
z.object({
|
|
31
|
+
data: z.array(InformationRequest$inboundSchema),
|
|
32
|
+
pageInfo: PageInfo$inboundSchema,
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
export function paginatedResponseInformationRequestResultsFromJSON(
|
|
36
|
+
jsonString: string,
|
|
37
|
+
): SafeParseResult<
|
|
38
|
+
PaginatedResponseInformationRequestResults,
|
|
39
|
+
SDKValidationError
|
|
40
|
+
> {
|
|
41
|
+
return safeParse(
|
|
42
|
+
jsonString,
|
|
43
|
+
(x) =>
|
|
44
|
+
PaginatedResponseInformationRequestResults$inboundSchema.parse(
|
|
45
|
+
JSON.parse(x),
|
|
46
|
+
),
|
|
47
|
+
`Failed to parse 'PaginatedResponseInformationRequestResults' from JSON`,
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const PaginatedResponseInformationRequest$inboundSchema: z.ZodType<
|
|
53
|
+
PaginatedResponseInformationRequest,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
unknown
|
|
56
|
+
> = z.object({
|
|
57
|
+
results: z.lazy(() =>
|
|
58
|
+
PaginatedResponseInformationRequestResults$inboundSchema
|
|
59
|
+
),
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export function paginatedResponseInformationRequestFromJSON(
|
|
63
|
+
jsonString: string,
|
|
64
|
+
): SafeParseResult<PaginatedResponseInformationRequest, SDKValidationError> {
|
|
65
|
+
return safeParse(
|
|
66
|
+
jsonString,
|
|
67
|
+
(x) =>
|
|
68
|
+
PaginatedResponseInformationRequest$inboundSchema.parse(JSON.parse(x)),
|
|
69
|
+
`Failed to parse 'PaginatedResponseInformationRequest' from JSON`,
|
|
70
|
+
);
|
|
71
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
InformationRequestActivityLog,
|
|
11
|
+
InformationRequestActivityLog$inboundSchema,
|
|
12
|
+
} from "./informationrequestactivitylog.js";
|
|
13
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedResponseInformationRequestActivityLogResults = {
|
|
16
|
+
data: Array<InformationRequestActivityLog>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedResponseInformationRequestActivityLog = {
|
|
24
|
+
results: PaginatedResponseInformationRequestActivityLogResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedResponseInformationRequestActivityLogResults$inboundSchema:
|
|
29
|
+
z.ZodType<
|
|
30
|
+
PaginatedResponseInformationRequestActivityLogResults,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
data: z.array(InformationRequestActivityLog$inboundSchema),
|
|
35
|
+
pageInfo: PageInfo$inboundSchema,
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function paginatedResponseInformationRequestActivityLogResultsFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<
|
|
41
|
+
PaginatedResponseInformationRequestActivityLogResults,
|
|
42
|
+
SDKValidationError
|
|
43
|
+
> {
|
|
44
|
+
return safeParse(
|
|
45
|
+
jsonString,
|
|
46
|
+
(x) =>
|
|
47
|
+
PaginatedResponseInformationRequestActivityLogResults$inboundSchema.parse(
|
|
48
|
+
JSON.parse(x),
|
|
49
|
+
),
|
|
50
|
+
`Failed to parse 'PaginatedResponseInformationRequestActivityLogResults' from JSON`,
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const PaginatedResponseInformationRequestActivityLog$inboundSchema:
|
|
56
|
+
z.ZodType<
|
|
57
|
+
PaginatedResponseInformationRequestActivityLog,
|
|
58
|
+
z.ZodTypeDef,
|
|
59
|
+
unknown
|
|
60
|
+
> = z.object({
|
|
61
|
+
results: z.lazy(() =>
|
|
62
|
+
PaginatedResponseInformationRequestActivityLogResults$inboundSchema
|
|
63
|
+
),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export function paginatedResponseInformationRequestActivityLogFromJSON(
|
|
67
|
+
jsonString: string,
|
|
68
|
+
): SafeParseResult<
|
|
69
|
+
PaginatedResponseInformationRequestActivityLog,
|
|
70
|
+
SDKValidationError
|
|
71
|
+
> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) =>
|
|
75
|
+
PaginatedResponseInformationRequestActivityLog$inboundSchema.parse(
|
|
76
|
+
JSON.parse(x),
|
|
77
|
+
),
|
|
78
|
+
`Failed to parse 'PaginatedResponseInformationRequestActivityLog' from JSON`,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
InformationRequestComment,
|
|
11
|
+
InformationRequestComment$inboundSchema,
|
|
12
|
+
} from "./informationrequestcomment.js";
|
|
13
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedResponseInformationRequestCommentResults = {
|
|
16
|
+
data: Array<InformationRequestComment>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedResponseInformationRequestComment = {
|
|
24
|
+
results: PaginatedResponseInformationRequestCommentResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedResponseInformationRequestCommentResults$inboundSchema:
|
|
29
|
+
z.ZodType<
|
|
30
|
+
PaginatedResponseInformationRequestCommentResults,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
data: z.array(InformationRequestComment$inboundSchema),
|
|
35
|
+
pageInfo: PageInfo$inboundSchema,
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function paginatedResponseInformationRequestCommentResultsFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<
|
|
41
|
+
PaginatedResponseInformationRequestCommentResults,
|
|
42
|
+
SDKValidationError
|
|
43
|
+
> {
|
|
44
|
+
return safeParse(
|
|
45
|
+
jsonString,
|
|
46
|
+
(x) =>
|
|
47
|
+
PaginatedResponseInformationRequestCommentResults$inboundSchema.parse(
|
|
48
|
+
JSON.parse(x),
|
|
49
|
+
),
|
|
50
|
+
`Failed to parse 'PaginatedResponseInformationRequestCommentResults' from JSON`,
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const PaginatedResponseInformationRequestComment$inboundSchema:
|
|
56
|
+
z.ZodType<PaginatedResponseInformationRequestComment, z.ZodTypeDef, unknown> =
|
|
57
|
+
z.object({
|
|
58
|
+
results: z.lazy(() =>
|
|
59
|
+
PaginatedResponseInformationRequestCommentResults$inboundSchema
|
|
60
|
+
),
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export function paginatedResponseInformationRequestCommentFromJSON(
|
|
64
|
+
jsonString: string,
|
|
65
|
+
): SafeParseResult<
|
|
66
|
+
PaginatedResponseInformationRequestComment,
|
|
67
|
+
SDKValidationError
|
|
68
|
+
> {
|
|
69
|
+
return safeParse(
|
|
70
|
+
jsonString,
|
|
71
|
+
(x) =>
|
|
72
|
+
PaginatedResponseInformationRequestComment$inboundSchema.parse(
|
|
73
|
+
JSON.parse(x),
|
|
74
|
+
),
|
|
75
|
+
`Failed to parse 'PaginatedResponseInformationRequestComment' from JSON`,
|
|
76
|
+
);
|
|
77
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
InformationRequestEvidence,
|
|
11
|
+
InformationRequestEvidence$inboundSchema,
|
|
12
|
+
} from "./informationrequestevidence.js";
|
|
13
|
+
import { PageInfo, PageInfo$inboundSchema } from "./pageinfo.js";
|
|
14
|
+
|
|
15
|
+
export type PaginatedResponseInformationRequestEvidenceResults = {
|
|
16
|
+
data: Array<InformationRequestEvidence>;
|
|
17
|
+
/**
|
|
18
|
+
* Provides information about the pagination of a dataset.
|
|
19
|
+
*/
|
|
20
|
+
pageInfo: PageInfo;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type PaginatedResponseInformationRequestEvidence = {
|
|
24
|
+
results: PaginatedResponseInformationRequestEvidenceResults;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const PaginatedResponseInformationRequestEvidenceResults$inboundSchema:
|
|
29
|
+
z.ZodType<
|
|
30
|
+
PaginatedResponseInformationRequestEvidenceResults,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
data: z.array(InformationRequestEvidence$inboundSchema),
|
|
35
|
+
pageInfo: PageInfo$inboundSchema,
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export function paginatedResponseInformationRequestEvidenceResultsFromJSON(
|
|
39
|
+
jsonString: string,
|
|
40
|
+
): SafeParseResult<
|
|
41
|
+
PaginatedResponseInformationRequestEvidenceResults,
|
|
42
|
+
SDKValidationError
|
|
43
|
+
> {
|
|
44
|
+
return safeParse(
|
|
45
|
+
jsonString,
|
|
46
|
+
(x) =>
|
|
47
|
+
PaginatedResponseInformationRequestEvidenceResults$inboundSchema.parse(
|
|
48
|
+
JSON.parse(x),
|
|
49
|
+
),
|
|
50
|
+
`Failed to parse 'PaginatedResponseInformationRequestEvidenceResults' from JSON`,
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const PaginatedResponseInformationRequestEvidence$inboundSchema:
|
|
56
|
+
z.ZodType<
|
|
57
|
+
PaginatedResponseInformationRequestEvidence,
|
|
58
|
+
z.ZodTypeDef,
|
|
59
|
+
unknown
|
|
60
|
+
> = z.object({
|
|
61
|
+
results: z.lazy(() =>
|
|
62
|
+
PaginatedResponseInformationRequestEvidenceResults$inboundSchema
|
|
63
|
+
),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export function paginatedResponseInformationRequestEvidenceFromJSON(
|
|
67
|
+
jsonString: string,
|
|
68
|
+
): SafeParseResult<
|
|
69
|
+
PaginatedResponseInformationRequestEvidence,
|
|
70
|
+
SDKValidationError
|
|
71
|
+
> {
|
|
72
|
+
return safeParse(
|
|
73
|
+
jsonString,
|
|
74
|
+
(x) =>
|
|
75
|
+
PaginatedResponseInformationRequestEvidence$inboundSchema.parse(
|
|
76
|
+
JSON.parse(x),
|
|
77
|
+
),
|
|
78
|
+
`Failed to parse 'PaginatedResponseInformationRequestEvidence' from JSON`,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import {
|
|
7
|
+
InformationRequestCadence,
|
|
8
|
+
InformationRequestCadence$outboundSchema,
|
|
9
|
+
} from "./informationrequestcadence.js";
|
|
10
|
+
import {
|
|
11
|
+
InformationRequestType,
|
|
12
|
+
InformationRequestType$outboundSchema,
|
|
13
|
+
} from "./informationrequesttype.js";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Input for partially updating an information request. Only provided fields
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* will be updated; omitted fields remain unchanged. At least one field must
|
|
20
|
+
* be provided.
|
|
21
|
+
*/
|
|
22
|
+
export type PartialUpdateInformationRequest = {
|
|
23
|
+
/**
|
|
24
|
+
* The framework codes this request addresses.
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* An empty array if no framework codes are associated.
|
|
28
|
+
*/
|
|
29
|
+
frameworkCodes?: Array<string> | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Detailed description of what evidence is needed.
|
|
32
|
+
*/
|
|
33
|
+
description?: string | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Deadline for fulfilling this request. Null if no deadline.
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* Format: ISO 8601 UTC timestamp.
|
|
39
|
+
*/
|
|
40
|
+
dueDate?: Date | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Start date of the audit period. Evidence before this date may not be accepted.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* Null if not restricted. Format: ISO 8601 UTC timestamp.
|
|
46
|
+
*/
|
|
47
|
+
evidenceCaptureDate?: Date | null | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Type of information request, defining what scope of evidence is needed.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
*
|
|
53
|
+
* - POINT_IN_TIME: Evidence for a specific moment (e.g., current state of a policy)
|
|
54
|
+
* - POPULATION: Evidence covering all items in a category (e.g., all employees)
|
|
55
|
+
* - SAMPLE: Evidence for a representative sample (e.g., 10 random customer records)
|
|
56
|
+
*/
|
|
57
|
+
requestType?: InformationRequestType | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Short, descriptive title.
|
|
60
|
+
*/
|
|
61
|
+
title?: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Frequency cadence for the information request, indicating how often it recurs.
|
|
64
|
+
*/
|
|
65
|
+
cadence?: InformationRequestCadence | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export type PartialUpdateInformationRequest$Outbound = {
|
|
70
|
+
frameworkCodes?: Array<string> | undefined;
|
|
71
|
+
description?: string | null | undefined;
|
|
72
|
+
dueDate?: string | null | undefined;
|
|
73
|
+
evidenceCaptureDate?: string | null | undefined;
|
|
74
|
+
requestType?: string | undefined;
|
|
75
|
+
title?: string | undefined;
|
|
76
|
+
cadence?: string | undefined;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
/** @internal */
|
|
80
|
+
export const PartialUpdateInformationRequest$outboundSchema: z.ZodType<
|
|
81
|
+
PartialUpdateInformationRequest$Outbound,
|
|
82
|
+
z.ZodTypeDef,
|
|
83
|
+
PartialUpdateInformationRequest
|
|
84
|
+
> = z.object({
|
|
85
|
+
frameworkCodes: z.array(z.string()).optional(),
|
|
86
|
+
description: z.nullable(z.string()).optional(),
|
|
87
|
+
dueDate: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
88
|
+
evidenceCaptureDate: z.nullable(z.date().transform(v => v.toISOString()))
|
|
89
|
+
.optional(),
|
|
90
|
+
requestType: InformationRequestType$outboundSchema.optional(),
|
|
91
|
+
title: z.string().optional(),
|
|
92
|
+
cadence: InformationRequestCadence$outboundSchema.optional(),
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
export function partialUpdateInformationRequestToJSON(
|
|
96
|
+
partialUpdateInformationRequest: PartialUpdateInformationRequest,
|
|
97
|
+
): string {
|
|
98
|
+
return JSON.stringify(
|
|
99
|
+
PartialUpdateInformationRequest$outboundSchema.parse(
|
|
100
|
+
partialUpdateInformationRequest,
|
|
101
|
+
),
|
|
102
|
+
);
|
|
103
|
+
}
|
|
@@ -7,6 +7,20 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
7
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* The principle that groups this section, if any.
|
|
12
|
+
*/
|
|
13
|
+
export type Principle = {
|
|
14
|
+
/**
|
|
15
|
+
* The principle's unique ID.
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* The principle's name.
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
};
|
|
23
|
+
|
|
10
24
|
export type Section = {
|
|
11
25
|
/**
|
|
12
26
|
* The section name
|
|
@@ -16,13 +30,38 @@ export type Section = {
|
|
|
16
30
|
* The section framework
|
|
17
31
|
*/
|
|
18
32
|
framework: string;
|
|
33
|
+
/**
|
|
34
|
+
* The principle that groups this section, if any.
|
|
35
|
+
*/
|
|
36
|
+
principle: Principle | null;
|
|
19
37
|
};
|
|
20
38
|
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const Principle$inboundSchema: z.ZodType<
|
|
41
|
+
Principle,
|
|
42
|
+
z.ZodTypeDef,
|
|
43
|
+
unknown
|
|
44
|
+
> = z.object({
|
|
45
|
+
id: z.string(),
|
|
46
|
+
name: z.string(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export function principleFromJSON(
|
|
50
|
+
jsonString: string,
|
|
51
|
+
): SafeParseResult<Principle, SDKValidationError> {
|
|
52
|
+
return safeParse(
|
|
53
|
+
jsonString,
|
|
54
|
+
(x) => Principle$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
+
`Failed to parse 'Principle' from JSON`,
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
21
59
|
/** @internal */
|
|
22
60
|
export const Section$inboundSchema: z.ZodType<Section, z.ZodTypeDef, unknown> =
|
|
23
61
|
z.object({
|
|
24
62
|
name: z.string(),
|
|
25
63
|
framework: z.string(),
|
|
64
|
+
principle: z.nullable(z.lazy(() => Principle$inboundSchema)),
|
|
26
65
|
});
|
|
27
66
|
|
|
28
67
|
export function sectionFromJSON(
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Updates an existing comment on an information request.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Only the original author of the comment can update it.
|
|
12
|
+
*/
|
|
13
|
+
export type UpdateInformationRequestCommentInput = {
|
|
14
|
+
/**
|
|
15
|
+
* The text content of the comment.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Must be at least 1 character. Can include questions, clarifications,
|
|
19
|
+
* or explanations related to the information request.
|
|
20
|
+
*/
|
|
21
|
+
text: string;
|
|
22
|
+
/**
|
|
23
|
+
* Email address of the comment author.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* Must match an existing Vanta user who belongs to the audit firm making the API request.
|
|
27
|
+
* This email uniquely identifies the author across systems.
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export type UpdateInformationRequestCommentInput$Outbound = {
|
|
34
|
+
text: string;
|
|
35
|
+
email: string;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export const UpdateInformationRequestCommentInput$outboundSchema: z.ZodType<
|
|
40
|
+
UpdateInformationRequestCommentInput$Outbound,
|
|
41
|
+
z.ZodTypeDef,
|
|
42
|
+
UpdateInformationRequestCommentInput
|
|
43
|
+
> = z.object({
|
|
44
|
+
text: z.string(),
|
|
45
|
+
email: z.string(),
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export function updateInformationRequestCommentInputToJSON(
|
|
49
|
+
updateInformationRequestCommentInput: UpdateInformationRequestCommentInput,
|
|
50
|
+
): string {
|
|
51
|
+
return JSON.stringify(
|
|
52
|
+
UpdateInformationRequestCommentInput$outboundSchema.parse(
|
|
53
|
+
updateInformationRequestCommentInput,
|
|
54
|
+
),
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 an uploaded document file.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* The URL is a temporary presigned URL that expires after a certain period.
|
|
15
|
+
*/
|
|
16
|
+
export type UploadedDocumentEvidence = {
|
|
17
|
+
/**
|
|
18
|
+
* The unique identifier for the uploaded document in Vanta's system.
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* The original filename of the uploaded document.
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* Undefined if the filename was not captured during upload.
|
|
26
|
+
*/
|
|
27
|
+
filename?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* The MIME type of the document indicating its file format.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Common types: "application/pdf", "image/png", "image/jpeg", "text/plain"
|
|
33
|
+
*/
|
|
34
|
+
mimeType: string;
|
|
35
|
+
/**
|
|
36
|
+
* A presigned URL for downloading the document.
|
|
37
|
+
*
|
|
38
|
+
* @remarks
|
|
39
|
+
* This URL is temporary and expires after a limited time.
|
|
40
|
+
* Request a new evidence list to get a fresh URL if expired.
|
|
41
|
+
*/
|
|
42
|
+
url: string;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const UploadedDocumentEvidence$inboundSchema: z.ZodType<
|
|
47
|
+
UploadedDocumentEvidence,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
unknown
|
|
50
|
+
> = z.object({
|
|
51
|
+
id: z.string(),
|
|
52
|
+
filename: z.string().optional(),
|
|
53
|
+
mimeType: z.string(),
|
|
54
|
+
url: z.string(),
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export function uploadedDocumentEvidenceFromJSON(
|
|
58
|
+
jsonString: string,
|
|
59
|
+
): SafeParseResult<UploadedDocumentEvidence, SDKValidationError> {
|
|
60
|
+
return safeParse(
|
|
61
|
+
jsonString,
|
|
62
|
+
(x) => UploadedDocumentEvidence$inboundSchema.parse(JSON.parse(x)),
|
|
63
|
+
`Failed to parse 'UploadedDocumentEvidence' from JSON`,
|
|
64
|
+
);
|
|
65
|
+
}
|