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