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,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Input for flagging evidence on an information request, indicating issues
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* that need to be addressed. This changes the request's approvalStatus to
|
|
12
|
+
* a flagged state and creates an activity log entry.
|
|
13
|
+
*
|
|
14
|
+
* The customer will be notified and can resubmit evidence after addressing the issues.
|
|
15
|
+
*/
|
|
16
|
+
export type FlagInformationRequestEvidenceInput = {
|
|
17
|
+
/**
|
|
18
|
+
* Email of the auditor flagging the evidence.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* Must match an existing Vanta user who belongs to the audit firm making the API request.
|
|
22
|
+
*/
|
|
23
|
+
auditorEmail: string;
|
|
24
|
+
/**
|
|
25
|
+
* Detailed explanation of what issues were found with the evidence.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* This reason is visible to the customer and guides them on what to fix.
|
|
29
|
+
* Must be at least 1 character.
|
|
30
|
+
*/
|
|
31
|
+
reason: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type FlagInformationRequestEvidenceInput$Outbound = {
|
|
36
|
+
auditorEmail: string;
|
|
37
|
+
reason: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const FlagInformationRequestEvidenceInput$outboundSchema: z.ZodType<
|
|
42
|
+
FlagInformationRequestEvidenceInput$Outbound,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
FlagInformationRequestEvidenceInput
|
|
45
|
+
> = z.object({
|
|
46
|
+
auditorEmail: z.string(),
|
|
47
|
+
reason: z.string(),
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function flagInformationRequestEvidenceInputToJSON(
|
|
51
|
+
flagInformationRequestEvidenceInput: FlagInformationRequestEvidenceInput,
|
|
52
|
+
): string {
|
|
53
|
+
return JSON.stringify(
|
|
54
|
+
FlagInformationRequestEvidenceInput$outboundSchema.parse(
|
|
55
|
+
flagInformationRequestEvidenceInput,
|
|
56
|
+
),
|
|
57
|
+
);
|
|
58
|
+
}
|
|
@@ -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 { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Framework codes response resource
|
|
12
|
+
*/
|
|
13
|
+
export type FrameworkCodes = {
|
|
14
|
+
/**
|
|
15
|
+
* Array of valid framework codes for the audit's framework (e.g., "CC6.1", "CC6.2").
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* These represent the different framework sections available for creating information requests.
|
|
19
|
+
*/
|
|
20
|
+
frameworkCodes: Array<string>;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const FrameworkCodes$inboundSchema: z.ZodType<
|
|
25
|
+
FrameworkCodes,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
frameworkCodes: z.array(z.string()),
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export function frameworkCodesFromJSON(
|
|
33
|
+
jsonString: string,
|
|
34
|
+
): SafeParseResult<FrameworkCodes, SDKValidationError> {
|
|
35
|
+
return safeParse(
|
|
36
|
+
jsonString,
|
|
37
|
+
(x) => FrameworkCodes$inboundSchema.parse(JSON.parse(x)),
|
|
38
|
+
`Failed to parse 'FrameworkCodes' from JSON`,
|
|
39
|
+
);
|
|
40
|
+
}
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
export * from "./acceptinformationrequestevidenceinput.js";
|
|
5
6
|
export * from "./addauditorinput.js";
|
|
6
7
|
export * from "./addcommentinput.js";
|
|
8
|
+
export * from "./addinformationrequestcommentinput.js";
|
|
7
9
|
export * from "./audit.js";
|
|
8
10
|
export * from "./auditevidencestate.js";
|
|
9
11
|
export * from "./auditevidencetype.js";
|
|
@@ -18,19 +20,58 @@ export * from "./controldomain.js";
|
|
|
18
20
|
export * from "./controlsource.js";
|
|
19
21
|
export * from "./createcustomcontrolinput.js";
|
|
20
22
|
export * from "./createcustomevidencerequestinput.js";
|
|
23
|
+
export * from "./createinformationrequestinput.js";
|
|
21
24
|
export * from "./customevidencerequest.js";
|
|
22
25
|
export * from "./customfield.js";
|
|
26
|
+
export * from "./deleteinformationrequestcommentinput.js";
|
|
23
27
|
export * from "./evidence.js";
|
|
24
28
|
export * from "./evidencecontrol.js";
|
|
25
29
|
export * from "./evidenceurl.js";
|
|
30
|
+
export * from "./flaginformationrequestevidenceinput.js";
|
|
31
|
+
export * from "./frameworkcodes.js";
|
|
26
32
|
export * from "./frameworkid.js";
|
|
27
33
|
export * from "./frameworksection.js";
|
|
34
|
+
export * from "./informationrequest.js";
|
|
35
|
+
export * from "./informationrequestactivitylog.js";
|
|
36
|
+
export * from "./informationrequestactivitytype.js";
|
|
37
|
+
export * from "./informationrequestapprovalstatus.js";
|
|
38
|
+
export * from "./informationrequestcadence.js";
|
|
39
|
+
export * from "./informationrequestcomment.js";
|
|
40
|
+
export * from "./informationrequestevidence.js";
|
|
41
|
+
export * from "./informationrequestevidenceunion.js";
|
|
42
|
+
export * from "./informationrequestsupportedevidencetype.js";
|
|
43
|
+
export * from "./informationrequesttype.js";
|
|
44
|
+
export * from "./issuesnapshotitem.js";
|
|
45
|
+
export * from "./issuesnapshotmetadata.js";
|
|
46
|
+
export * from "./issuestatustypeforsnapshot.js";
|
|
47
|
+
export * from "./linkevidence.js";
|
|
48
|
+
export * from "./observationevidence.js";
|
|
28
49
|
export * from "./pageinfo.js";
|
|
50
|
+
export * from "./paginatedissuesnapshotitemsresponse.js";
|
|
51
|
+
export * from "./paginatedissuesnapshotmetadataresponse.js";
|
|
29
52
|
export * from "./paginatedresponseaudit.js";
|
|
30
53
|
export * from "./paginatedresponseauditorcontrol.js";
|
|
31
54
|
export * from "./paginatedresponsecomment.js";
|
|
32
55
|
export * from "./paginatedresponseevidence.js";
|
|
33
56
|
export * from "./paginatedresponseevidenceurl.js";
|
|
57
|
+
export * from "./paginatedresponseinformationrequest.js";
|
|
58
|
+
export * from "./paginatedresponseinformationrequestactivitylog.js";
|
|
59
|
+
export * from "./paginatedresponseinformationrequestcomment.js";
|
|
60
|
+
export * from "./paginatedresponseinformationrequestevidence.js";
|
|
61
|
+
export * from "./partialupdateinformationrequest.js";
|
|
34
62
|
export * from "./recurrenceduration.js";
|
|
35
63
|
export * from "./section.js";
|
|
36
64
|
export * from "./security.js";
|
|
65
|
+
export * from "./updateinformationrequestcommentinput.js";
|
|
66
|
+
export * from "./uploadeddocumentevidence.js";
|
|
67
|
+
export * from "./vantadocumentevidence.js";
|
|
68
|
+
export * from "./vantadocumentlinkevidence.js";
|
|
69
|
+
export * from "./vantadocumentuploadedevidence.js";
|
|
70
|
+
export * from "./vantapolicyevidence.js";
|
|
71
|
+
export * from "./vantatestevidence.js";
|
|
72
|
+
export * from "./vantatestfiletype.js";
|
|
73
|
+
export * from "./vantatestrunstatus.js";
|
|
74
|
+
export * from "./vantatestsnapshotevidence.js";
|
|
75
|
+
export * from "./vantatestsnapshotevidencedetail.js";
|
|
76
|
+
export * from "./vantatestsnapshotintegration.js";
|
|
77
|
+
export * from "./vantatestsnapshotrawtestdatarow.js";
|
|
@@ -0,0 +1,295 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
InformationRequestApprovalStatus,
|
|
12
|
+
InformationRequestApprovalStatus$inboundSchema,
|
|
13
|
+
} from "./informationrequestapprovalstatus.js";
|
|
14
|
+
import {
|
|
15
|
+
InformationRequestType,
|
|
16
|
+
InformationRequestType$inboundSchema,
|
|
17
|
+
} from "./informationrequesttype.js";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* How frequently this information request recurs (e.g., annual password
|
|
21
|
+
*
|
|
22
|
+
* @remarks
|
|
23
|
+
* policy reviews). Null for one-time requests.
|
|
24
|
+
*/
|
|
25
|
+
export const Cadence = {
|
|
26
|
+
Annually: "ANNUALLY",
|
|
27
|
+
Biannually: "BIANNUALLY",
|
|
28
|
+
Monthly: "MONTHLY",
|
|
29
|
+
Quarterly: "QUARTERLY",
|
|
30
|
+
} as const;
|
|
31
|
+
/**
|
|
32
|
+
* How frequently this information request recurs (e.g., annual password
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* policy reviews). Null for one-time requests.
|
|
36
|
+
*/
|
|
37
|
+
export type Cadence = ClosedEnum<typeof Cadence>;
|
|
38
|
+
|
|
39
|
+
export type Two = {
|
|
40
|
+
displayName: string;
|
|
41
|
+
id: string;
|
|
42
|
+
type: "team";
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export type One = {
|
|
46
|
+
displayName: string;
|
|
47
|
+
id: string;
|
|
48
|
+
type: "user";
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Resource owner (user or team) assigned to this information request.
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* Returns null if no resource owner is assigned.
|
|
56
|
+
*/
|
|
57
|
+
export type OwnerAssignment = One | Two;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Information Request resource representing a single request for audit evidence from a customer.
|
|
61
|
+
*
|
|
62
|
+
* @remarks
|
|
63
|
+
*
|
|
64
|
+
* An information request is created by an auditor and shared with the customer organization.
|
|
65
|
+
* The customer then uploads evidence, which the auditor reviews and either approves or flags
|
|
66
|
+
* for issues.
|
|
67
|
+
*/
|
|
68
|
+
export type InformationRequest = {
|
|
69
|
+
/**
|
|
70
|
+
* The unique identifier for the information request within Vanta's system.
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* This is the primary identifier used in all API endpoints.
|
|
74
|
+
* Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7")
|
|
75
|
+
*/
|
|
76
|
+
id: string;
|
|
77
|
+
/**
|
|
78
|
+
* External unique ID to prevent duplicates across different audit systems.
|
|
79
|
+
*
|
|
80
|
+
* @remarks
|
|
81
|
+
* Used for idempotency when syncing data between external audit management
|
|
82
|
+
* systems and Vanta. Unlike `id`, this value is provided by the external system.
|
|
83
|
+
*/
|
|
84
|
+
uniqueId: string;
|
|
85
|
+
/**
|
|
86
|
+
* Additional control IDs beyond those automatically mapped from framework codes.
|
|
87
|
+
*
|
|
88
|
+
* @remarks
|
|
89
|
+
* Allows manual association with specific controls when automatic mapping
|
|
90
|
+
* is insufficient. Each ID should reference a valid control in your audit framework.
|
|
91
|
+
*/
|
|
92
|
+
additionalControlIds: Array<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Current approval status of the information request, tracking its lifecycle through the audit process.
|
|
95
|
+
*
|
|
96
|
+
* @remarks
|
|
97
|
+
*
|
|
98
|
+
* The status progresses through the workflow: initial state → awaiting review → approved or flagged.
|
|
99
|
+
* Status can move between awaiting review and flagged states as evidence is reviewed and resubmitted.
|
|
100
|
+
*/
|
|
101
|
+
approvalStatus: InformationRequestApprovalStatus;
|
|
102
|
+
/**
|
|
103
|
+
* How frequently this information request recurs (e.g., annual password
|
|
104
|
+
*
|
|
105
|
+
* @remarks
|
|
106
|
+
* policy reviews). Null for one-time requests.
|
|
107
|
+
*/
|
|
108
|
+
cadence: Cadence | null;
|
|
109
|
+
/**
|
|
110
|
+
* The framework codes this request addresses.
|
|
111
|
+
*
|
|
112
|
+
* @remarks
|
|
113
|
+
* Links the request to specific compliance requirements. Can be an empty array
|
|
114
|
+
* if no framework codes are associated. These codes correspond to standards like SOC 2, ISO 27001, etc.
|
|
115
|
+
*/
|
|
116
|
+
frameworkCodes: Array<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Detailed description explaining what evidence is needed and why.
|
|
119
|
+
*
|
|
120
|
+
* @remarks
|
|
121
|
+
* Should provide clear instructions to help the customer understand what
|
|
122
|
+
* to submit.
|
|
123
|
+
*/
|
|
124
|
+
description: string | null;
|
|
125
|
+
/**
|
|
126
|
+
* The deadline by which the customer must fulfill this request.
|
|
127
|
+
*
|
|
128
|
+
* @remarks
|
|
129
|
+
* Null if no specific deadline is set. Format: ISO 8601 UTC timestamp.
|
|
130
|
+
*/
|
|
131
|
+
dueDate: Date | null;
|
|
132
|
+
/**
|
|
133
|
+
* The earliest date for which evidence should be captured.
|
|
134
|
+
*
|
|
135
|
+
* @remarks
|
|
136
|
+
* Evidence dated before this date may not be accepted.
|
|
137
|
+
* Null if not restricted. Format: ISO 8601 UTC timestamp.
|
|
138
|
+
*/
|
|
139
|
+
evidenceCaptureDate: Date | null;
|
|
140
|
+
/**
|
|
141
|
+
* Non-unique external reference ID for this request.
|
|
142
|
+
*
|
|
143
|
+
* @remarks
|
|
144
|
+
* Unlike `uniqueId` which must be unique, `requestId` is for display/reference
|
|
145
|
+
* purposes only (e.g., "REQ-123"). Null if not provided.
|
|
146
|
+
*/
|
|
147
|
+
requestId: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* Type of information request, defining what scope of evidence is needed.
|
|
150
|
+
*
|
|
151
|
+
* @remarks
|
|
152
|
+
*
|
|
153
|
+
* - POINT_IN_TIME: Evidence for a specific moment (e.g., current state of a policy)
|
|
154
|
+
* - POPULATION: Evidence covering all items in a category (e.g., all employees)
|
|
155
|
+
* - SAMPLE: Evidence for a representative sample (e.g., 10 random customer records)
|
|
156
|
+
*/
|
|
157
|
+
requestType: InformationRequestType;
|
|
158
|
+
/**
|
|
159
|
+
* Short, descriptive title summarizing what is being requested.
|
|
160
|
+
*/
|
|
161
|
+
title: string;
|
|
162
|
+
/**
|
|
163
|
+
* Timestamp when the request was created in the system.
|
|
164
|
+
*
|
|
165
|
+
* @remarks
|
|
166
|
+
* Format: ISO 8601 UTC timestamp.
|
|
167
|
+
*/
|
|
168
|
+
creationDate: Date;
|
|
169
|
+
/**
|
|
170
|
+
* Timestamp when the request was last modified.
|
|
171
|
+
*
|
|
172
|
+
* @remarks
|
|
173
|
+
* Format: ISO 8601 UTC timestamp.
|
|
174
|
+
*/
|
|
175
|
+
modificationDate: Date;
|
|
176
|
+
/**
|
|
177
|
+
* Timestamp when the request was soft-deleted. Null if the request has not
|
|
178
|
+
*
|
|
179
|
+
* @remarks
|
|
180
|
+
* been deleted. Soft deletes allow retaining history while hiding the request
|
|
181
|
+
* from normal operations.
|
|
182
|
+
* Format: ISO 8601 UTC timestamp.
|
|
183
|
+
*/
|
|
184
|
+
deletionDate: Date | null;
|
|
185
|
+
/**
|
|
186
|
+
* Resource owner (user or team) assigned to this information request.
|
|
187
|
+
*
|
|
188
|
+
* @remarks
|
|
189
|
+
* Returns null if no resource owner is assigned.
|
|
190
|
+
*/
|
|
191
|
+
ownerAssignment: One | Two | null;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
/** @internal */
|
|
195
|
+
export const Cadence$inboundSchema: z.ZodNativeEnum<typeof Cadence> = z
|
|
196
|
+
.nativeEnum(Cadence);
|
|
197
|
+
|
|
198
|
+
/** @internal */
|
|
199
|
+
export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z
|
|
200
|
+
.object({
|
|
201
|
+
displayName: z.string(),
|
|
202
|
+
id: z.string(),
|
|
203
|
+
type: z.literal("team"),
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
export function twoFromJSON(
|
|
207
|
+
jsonString: string,
|
|
208
|
+
): SafeParseResult<Two, SDKValidationError> {
|
|
209
|
+
return safeParse(
|
|
210
|
+
jsonString,
|
|
211
|
+
(x) => Two$inboundSchema.parse(JSON.parse(x)),
|
|
212
|
+
`Failed to parse 'Two' from JSON`,
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** @internal */
|
|
217
|
+
export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z
|
|
218
|
+
.object({
|
|
219
|
+
displayName: z.string(),
|
|
220
|
+
id: z.string(),
|
|
221
|
+
type: z.literal("user"),
|
|
222
|
+
});
|
|
223
|
+
|
|
224
|
+
export function oneFromJSON(
|
|
225
|
+
jsonString: string,
|
|
226
|
+
): SafeParseResult<One, SDKValidationError> {
|
|
227
|
+
return safeParse(
|
|
228
|
+
jsonString,
|
|
229
|
+
(x) => One$inboundSchema.parse(JSON.parse(x)),
|
|
230
|
+
`Failed to parse 'One' from JSON`,
|
|
231
|
+
);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/** @internal */
|
|
235
|
+
export const OwnerAssignment$inboundSchema: z.ZodType<
|
|
236
|
+
OwnerAssignment,
|
|
237
|
+
z.ZodTypeDef,
|
|
238
|
+
unknown
|
|
239
|
+
> = z.union([z.lazy(() => One$inboundSchema), z.lazy(() => Two$inboundSchema)]);
|
|
240
|
+
|
|
241
|
+
export function ownerAssignmentFromJSON(
|
|
242
|
+
jsonString: string,
|
|
243
|
+
): SafeParseResult<OwnerAssignment, SDKValidationError> {
|
|
244
|
+
return safeParse(
|
|
245
|
+
jsonString,
|
|
246
|
+
(x) => OwnerAssignment$inboundSchema.parse(JSON.parse(x)),
|
|
247
|
+
`Failed to parse 'OwnerAssignment' from JSON`,
|
|
248
|
+
);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/** @internal */
|
|
252
|
+
export const InformationRequest$inboundSchema: z.ZodType<
|
|
253
|
+
InformationRequest,
|
|
254
|
+
z.ZodTypeDef,
|
|
255
|
+
unknown
|
|
256
|
+
> = z.object({
|
|
257
|
+
id: z.string(),
|
|
258
|
+
uniqueId: z.string(),
|
|
259
|
+
additionalControlIds: z.array(z.string()),
|
|
260
|
+
approvalStatus: InformationRequestApprovalStatus$inboundSchema,
|
|
261
|
+
cadence: z.nullable(Cadence$inboundSchema),
|
|
262
|
+
frameworkCodes: z.array(z.string()),
|
|
263
|
+
description: z.nullable(z.string()),
|
|
264
|
+
dueDate: z.nullable(
|
|
265
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
266
|
+
),
|
|
267
|
+
evidenceCaptureDate: z.nullable(
|
|
268
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
269
|
+
),
|
|
270
|
+
requestId: z.nullable(z.string()),
|
|
271
|
+
requestType: InformationRequestType$inboundSchema,
|
|
272
|
+
title: z.string(),
|
|
273
|
+
creationDate: z.string().datetime({ offset: true }).transform(v =>
|
|
274
|
+
new Date(v)
|
|
275
|
+
),
|
|
276
|
+
modificationDate: z.string().datetime({ offset: true }).transform(v =>
|
|
277
|
+
new Date(v)
|
|
278
|
+
),
|
|
279
|
+
deletionDate: z.nullable(
|
|
280
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
281
|
+
),
|
|
282
|
+
ownerAssignment: z.nullable(
|
|
283
|
+
z.union([z.lazy(() => One$inboundSchema), z.lazy(() => Two$inboundSchema)]),
|
|
284
|
+
),
|
|
285
|
+
});
|
|
286
|
+
|
|
287
|
+
export function informationRequestFromJSON(
|
|
288
|
+
jsonString: string,
|
|
289
|
+
): SafeParseResult<InformationRequest, SDKValidationError> {
|
|
290
|
+
return safeParse(
|
|
291
|
+
jsonString,
|
|
292
|
+
(x) => InformationRequest$inboundSchema.parse(JSON.parse(x)),
|
|
293
|
+
`Failed to parse 'InformationRequest' from JSON`,
|
|
294
|
+
);
|
|
295
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
InformationRequestActivityType,
|
|
12
|
+
InformationRequestActivityType$inboundSchema,
|
|
13
|
+
} from "./informationrequestactivitytype.js";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Previous approval status before the status change.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
20
|
+
*/
|
|
21
|
+
export const OldStatus = {
|
|
22
|
+
ReadyForAudit: "READY_FOR_AUDIT",
|
|
23
|
+
NeedsEvidence: "NEEDS_EVIDENCE",
|
|
24
|
+
AuditorApproved: "AUDITOR_APPROVED",
|
|
25
|
+
AuditorFlagged: "AUDITOR_FLAGGED",
|
|
26
|
+
ReadyForInternalReview: "READY_FOR_INTERNAL_REVIEW",
|
|
27
|
+
} as const;
|
|
28
|
+
/**
|
|
29
|
+
* Previous approval status before the status change.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
33
|
+
*/
|
|
34
|
+
export type OldStatus = ClosedEnum<typeof OldStatus>;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* New approval status after the status change.
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
41
|
+
*/
|
|
42
|
+
export const NewStatus = {
|
|
43
|
+
ReadyForAudit: "READY_FOR_AUDIT",
|
|
44
|
+
NeedsEvidence: "NEEDS_EVIDENCE",
|
|
45
|
+
AuditorApproved: "AUDITOR_APPROVED",
|
|
46
|
+
AuditorFlagged: "AUDITOR_FLAGGED",
|
|
47
|
+
ReadyForInternalReview: "READY_FOR_INTERNAL_REVIEW",
|
|
48
|
+
} as const;
|
|
49
|
+
/**
|
|
50
|
+
* New approval status after the status change.
|
|
51
|
+
*
|
|
52
|
+
* @remarks
|
|
53
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
54
|
+
*/
|
|
55
|
+
export type NewStatus = ClosedEnum<typeof NewStatus>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Activity log entry tracking changes and actions on an information request.
|
|
59
|
+
*
|
|
60
|
+
* @remarks
|
|
61
|
+
*
|
|
62
|
+
* The activity log provides a complete audit trail of all operations performed
|
|
63
|
+
* on an information request, including status changes, evidence uploads, edits,
|
|
64
|
+
* and evidence sharing. This enables tracking compliance activities and understanding
|
|
65
|
+
* the request's history.
|
|
66
|
+
*/
|
|
67
|
+
export type InformationRequestActivityLog = {
|
|
68
|
+
/**
|
|
69
|
+
* The unique identifier for the activity log entry within Vanta's system.
|
|
70
|
+
*
|
|
71
|
+
* @remarks
|
|
72
|
+
* Format: ObjectId as a string (e.g., "6890e473dce1da5d8406f5e7").
|
|
73
|
+
*/
|
|
74
|
+
id: string;
|
|
75
|
+
activityType: InformationRequestActivityType;
|
|
76
|
+
/**
|
|
77
|
+
* Timestamp when the activity occurred.
|
|
78
|
+
*
|
|
79
|
+
* @remarks
|
|
80
|
+
* Format: ISO 8601 UTC timestamp.
|
|
81
|
+
*/
|
|
82
|
+
timestamp: Date;
|
|
83
|
+
/**
|
|
84
|
+
* Email address of the user who performed the activity.
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* Null for system-generated activities (rare, such as automated status changes).
|
|
88
|
+
* This email uniquely identifies users across systems.
|
|
89
|
+
*/
|
|
90
|
+
userEmail: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* Previous approval status before the status change.
|
|
93
|
+
*
|
|
94
|
+
* @remarks
|
|
95
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
96
|
+
*/
|
|
97
|
+
oldStatus: OldStatus | null;
|
|
98
|
+
/**
|
|
99
|
+
* New approval status after the status change.
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* Only populated for status change activities. Null for all other activity types.
|
|
103
|
+
*/
|
|
104
|
+
newStatus: NewStatus | null;
|
|
105
|
+
/**
|
|
106
|
+
* Optional explanation for the status change.
|
|
107
|
+
*
|
|
108
|
+
* @remarks
|
|
109
|
+
* Only populated for status change activities when a reason is provided
|
|
110
|
+
* (e.g., when flagging evidence). Null for all other cases.
|
|
111
|
+
*/
|
|
112
|
+
reason: string | null;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/** @internal */
|
|
116
|
+
export const OldStatus$inboundSchema: z.ZodNativeEnum<typeof OldStatus> = z
|
|
117
|
+
.nativeEnum(OldStatus);
|
|
118
|
+
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const NewStatus$inboundSchema: z.ZodNativeEnum<typeof NewStatus> = z
|
|
121
|
+
.nativeEnum(NewStatus);
|
|
122
|
+
|
|
123
|
+
/** @internal */
|
|
124
|
+
export const InformationRequestActivityLog$inboundSchema: z.ZodType<
|
|
125
|
+
InformationRequestActivityLog,
|
|
126
|
+
z.ZodTypeDef,
|
|
127
|
+
unknown
|
|
128
|
+
> = z.object({
|
|
129
|
+
id: z.string(),
|
|
130
|
+
activityType: InformationRequestActivityType$inboundSchema,
|
|
131
|
+
timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
132
|
+
userEmail: z.nullable(z.string()),
|
|
133
|
+
oldStatus: z.nullable(OldStatus$inboundSchema),
|
|
134
|
+
newStatus: z.nullable(NewStatus$inboundSchema),
|
|
135
|
+
reason: z.nullable(z.string()),
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
export function informationRequestActivityLogFromJSON(
|
|
139
|
+
jsonString: string,
|
|
140
|
+
): SafeParseResult<InformationRequestActivityLog, SDKValidationError> {
|
|
141
|
+
return safeParse(
|
|
142
|
+
jsonString,
|
|
143
|
+
(x) => InformationRequestActivityLog$inboundSchema.parse(JSON.parse(x)),
|
|
144
|
+
`Failed to parse 'InformationRequestActivityLog' from JSON`,
|
|
145
|
+
);
|
|
146
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 InformationRequestActivityType = {
|
|
9
|
+
ChangeStatus: "CHANGE_STATUS",
|
|
10
|
+
EditRequest: "EDIT_REQUEST",
|
|
11
|
+
RemoveEvidence: "REMOVE_EVIDENCE",
|
|
12
|
+
ShareEvidenceWithAuditor: "SHARE_EVIDENCE_WITH_AUDITOR",
|
|
13
|
+
UploadEvidence: "UPLOAD_EVIDENCE",
|
|
14
|
+
} as const;
|
|
15
|
+
export type InformationRequestActivityType = ClosedEnum<
|
|
16
|
+
typeof InformationRequestActivityType
|
|
17
|
+
>;
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const InformationRequestActivityType$inboundSchema: z.ZodNativeEnum<
|
|
21
|
+
typeof InformationRequestActivityType
|
|
22
|
+
> = z.nativeEnum(InformationRequestActivityType);
|
|
@@ -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 { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Current approval status of the information request, tracking its lifecycle through the audit process.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
*
|
|
13
|
+
* The status progresses through the workflow: initial state → awaiting review → approved or flagged.
|
|
14
|
+
* Status can move between awaiting review and flagged states as evidence is reviewed and resubmitted.
|
|
15
|
+
*/
|
|
16
|
+
export const InformationRequestApprovalStatus = {
|
|
17
|
+
NeedsEvidence: "NEEDS_EVIDENCE",
|
|
18
|
+
ReadyForAudit: "READY_FOR_AUDIT",
|
|
19
|
+
AuditorApproved: "AUDITOR_APPROVED",
|
|
20
|
+
AuditorFlagged: "AUDITOR_FLAGGED",
|
|
21
|
+
} as const;
|
|
22
|
+
/**
|
|
23
|
+
* Current approval status of the information request, tracking its lifecycle through the audit process.
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
*
|
|
27
|
+
* The status progresses through the workflow: initial state → awaiting review → approved or flagged.
|
|
28
|
+
* Status can move between awaiting review and flagged states as evidence is reviewed and resubmitted.
|
|
29
|
+
*/
|
|
30
|
+
export type InformationRequestApprovalStatus = ClosedEnum<
|
|
31
|
+
typeof InformationRequestApprovalStatus
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const InformationRequestApprovalStatus$inboundSchema: z.ZodNativeEnum<
|
|
36
|
+
typeof InformationRequestApprovalStatus
|
|
37
|
+
> = z.nativeEnum(InformationRequestApprovalStatus);
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* Frequency cadence for the information request, indicating how often it recurs.
|
|
10
|
+
*/
|
|
11
|
+
export const InformationRequestCadence = {
|
|
12
|
+
Annually: "ANNUALLY",
|
|
13
|
+
Biannually: "BIANNUALLY",
|
|
14
|
+
Monthly: "MONTHLY",
|
|
15
|
+
Quarterly: "QUARTERLY",
|
|
16
|
+
} as const;
|
|
17
|
+
/**
|
|
18
|
+
* Frequency cadence for the information request, indicating how often it recurs.
|
|
19
|
+
*/
|
|
20
|
+
export type InformationRequestCadence = ClosedEnum<
|
|
21
|
+
typeof InformationRequestCadence
|
|
22
|
+
>;
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const InformationRequestCadence$outboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof InformationRequestCadence
|
|
27
|
+
> = z.nativeEnum(InformationRequestCadence);
|