vanta-auditor-api-sdk 0.4.2 → 0.6.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.
Files changed (562) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +65 -20
  3. package/docs/sdks/auditors/README.md +1 -2
  4. package/docs/sdks/audits/README.md +1884 -102
  5. package/funcs/auditorsCreate.d.ts.map +1 -1
  6. package/funcs/auditorsCreate.js +2 -1
  7. package/funcs/auditorsCreate.js.map +1 -1
  8. package/funcs/auditsAcceptInformationRequestEvidence.d.ts +31 -0
  9. package/funcs/auditsAcceptInformationRequestEvidence.d.ts.map +1 -0
  10. package/funcs/auditsAcceptInformationRequestEvidence.js +139 -0
  11. package/funcs/auditsAcceptInformationRequestEvidence.js.map +1 -0
  12. package/funcs/auditsCreateCommentForEvidence.d.ts.map +1 -1
  13. package/funcs/auditsCreateCommentForEvidence.js +2 -1
  14. package/funcs/auditsCreateCommentForEvidence.js.map +1 -1
  15. package/funcs/auditsCreateCommentForInformationRequest.d.ts +20 -0
  16. package/funcs/auditsCreateCommentForInformationRequest.d.ts.map +1 -0
  17. package/funcs/auditsCreateCommentForInformationRequest.js +130 -0
  18. package/funcs/auditsCreateCommentForInformationRequest.js.map +1 -0
  19. package/funcs/auditsCreateCustomControl.d.ts.map +1 -1
  20. package/funcs/auditsCreateCustomControl.js +2 -1
  21. package/funcs/auditsCreateCustomControl.js.map +1 -1
  22. package/funcs/auditsCreateCustomEvidenceRequest.d.ts.map +1 -1
  23. package/funcs/auditsCreateCustomEvidenceRequest.js +2 -1
  24. package/funcs/auditsCreateCustomEvidenceRequest.js.map +1 -1
  25. package/funcs/auditsCreateInformationRequest.d.ts +25 -0
  26. package/funcs/auditsCreateInformationRequest.d.ts.map +1 -0
  27. package/funcs/auditsCreateInformationRequest.js +131 -0
  28. package/funcs/auditsCreateInformationRequest.js.map +1 -0
  29. package/funcs/auditsDeleteCommentForInformationRequest.d.ts +19 -0
  30. package/funcs/auditsDeleteCommentForInformationRequest.d.ts.map +1 -0
  31. package/funcs/auditsDeleteCommentForInformationRequest.js +132 -0
  32. package/funcs/auditsDeleteCommentForInformationRequest.js.map +1 -0
  33. package/funcs/auditsDeleteInformationRequest.d.ts +27 -0
  34. package/funcs/auditsDeleteInformationRequest.d.ts.map +1 -0
  35. package/funcs/auditsDeleteInformationRequest.js +135 -0
  36. package/funcs/auditsDeleteInformationRequest.js.map +1 -0
  37. package/funcs/auditsFlagInformationRequestEvidence.d.ts +33 -0
  38. package/funcs/auditsFlagInformationRequestEvidence.d.ts.map +1 -0
  39. package/funcs/auditsFlagInformationRequestEvidence.js +143 -0
  40. package/funcs/auditsFlagInformationRequestEvidence.js.map +1 -0
  41. package/funcs/auditsGetAudit.d.ts +22 -0
  42. package/funcs/auditsGetAudit.d.ts.map +1 -0
  43. package/funcs/auditsGetAudit.js +125 -0
  44. package/funcs/auditsGetAudit.js.map +1 -0
  45. package/funcs/auditsGetEvidenceUrls.d.ts +2 -0
  46. package/funcs/auditsGetEvidenceUrls.d.ts.map +1 -1
  47. package/funcs/auditsGetEvidenceUrls.js +4 -1
  48. package/funcs/auditsGetEvidenceUrls.js.map +1 -1
  49. package/funcs/auditsGetFrameworkCodes.d.ts +23 -0
  50. package/funcs/auditsGetFrameworkCodes.d.ts.map +1 -0
  51. package/funcs/auditsGetFrameworkCodes.js +126 -0
  52. package/funcs/auditsGetFrameworkCodes.js.map +1 -0
  53. package/funcs/auditsGetInformationRequest.d.ts +23 -0
  54. package/funcs/auditsGetInformationRequest.d.ts.map +1 -0
  55. package/funcs/auditsGetInformationRequest.js +130 -0
  56. package/funcs/auditsGetInformationRequest.js.map +1 -0
  57. package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.d.ts +30 -0
  58. package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.d.ts.map +1 -0
  59. package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.js +143 -0
  60. package/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.js.map +1 -0
  61. package/funcs/auditsList.d.ts +4 -0
  62. package/funcs/auditsList.d.ts.map +1 -1
  63. package/funcs/auditsList.js +6 -1
  64. package/funcs/auditsList.js.map +1 -1
  65. package/funcs/auditsListAuditIssues.d.ts +33 -0
  66. package/funcs/auditsListAuditIssues.d.ts.map +1 -0
  67. package/funcs/auditsListAuditIssues.js +143 -0
  68. package/funcs/auditsListAuditIssues.js.map +1 -0
  69. package/funcs/auditsListAuditSnapshots.d.ts +31 -0
  70. package/funcs/auditsListAuditSnapshots.d.ts.map +1 -0
  71. package/funcs/auditsListAuditSnapshots.js +140 -0
  72. package/funcs/auditsListAuditSnapshots.js.map +1 -0
  73. package/funcs/auditsListComments.d.ts.map +1 -1
  74. package/funcs/auditsListComments.js +2 -1
  75. package/funcs/auditsListComments.js.map +1 -1
  76. package/funcs/auditsListCommentsForInformationRequest.d.ts +39 -0
  77. package/funcs/auditsListCommentsForInformationRequest.d.ts.map +1 -0
  78. package/funcs/auditsListCommentsForInformationRequest.js +152 -0
  79. package/funcs/auditsListCommentsForInformationRequest.js.map +1 -0
  80. package/funcs/auditsListControls.d.ts.map +1 -1
  81. package/funcs/auditsListControls.js +2 -1
  82. package/funcs/auditsListControls.js.map +1 -1
  83. package/funcs/auditsListEvidence.d.ts.map +1 -1
  84. package/funcs/auditsListEvidence.js +2 -1
  85. package/funcs/auditsListEvidence.js.map +1 -1
  86. package/funcs/auditsListInformationRequestActivity.d.ts +35 -0
  87. package/funcs/auditsListInformationRequestActivity.d.ts.map +1 -0
  88. package/funcs/auditsListInformationRequestActivity.js +148 -0
  89. package/funcs/auditsListInformationRequestActivity.js.map +1 -0
  90. package/funcs/auditsListInformationRequestEvidence.d.ts +39 -0
  91. package/funcs/auditsListInformationRequestEvidence.d.ts.map +1 -0
  92. package/funcs/auditsListInformationRequestEvidence.js +153 -0
  93. package/funcs/auditsListInformationRequestEvidence.js.map +1 -0
  94. package/funcs/auditsListInformationRequests.d.ts +39 -0
  95. package/funcs/auditsListInformationRequests.d.ts.map +1 -0
  96. package/funcs/auditsListInformationRequests.js +148 -0
  97. package/funcs/auditsListInformationRequests.js.map +1 -0
  98. package/funcs/auditsListInformationRequestsForControl.d.ts +34 -0
  99. package/funcs/auditsListInformationRequestsForControl.d.ts.map +1 -0
  100. package/funcs/auditsListInformationRequestsForControl.js +146 -0
  101. package/funcs/auditsListInformationRequestsForControl.js.map +1 -0
  102. package/funcs/auditsShareInformationRequestList.d.ts +20 -0
  103. package/funcs/auditsShareInformationRequestList.d.ts.map +1 -0
  104. package/funcs/auditsShareInformationRequestList.js +123 -0
  105. package/funcs/auditsShareInformationRequestList.js.map +1 -0
  106. package/funcs/auditsUpdateCommentForInformationRequest.d.ts +20 -0
  107. package/funcs/auditsUpdateCommentForInformationRequest.d.ts.map +1 -0
  108. package/funcs/auditsUpdateCommentForInformationRequest.js +132 -0
  109. package/funcs/auditsUpdateCommentForInformationRequest.js.map +1 -0
  110. package/funcs/auditsUpdateEvidence.d.ts.map +1 -1
  111. package/funcs/auditsUpdateEvidence.js +2 -1
  112. package/funcs/auditsUpdateEvidence.js.map +1 -1
  113. package/funcs/auditsUpdateInformationRequest.d.ts +28 -0
  114. package/funcs/auditsUpdateInformationRequest.d.ts.map +1 -0
  115. package/funcs/auditsUpdateInformationRequest.js +138 -0
  116. package/funcs/auditsUpdateInformationRequest.js.map +1 -0
  117. package/jsr.json +1 -1
  118. package/lib/config.d.ts +4 -4
  119. package/lib/config.d.ts.map +1 -1
  120. package/lib/config.js +5 -9
  121. package/lib/config.js.map +1 -1
  122. package/lib/encodings.d.ts +2 -0
  123. package/lib/encodings.d.ts.map +1 -1
  124. package/lib/encodings.js +39 -6
  125. package/lib/encodings.js.map +1 -1
  126. package/lib/files.d.ts +13 -0
  127. package/lib/files.d.ts.map +1 -1
  128. package/lib/files.js +19 -0
  129. package/lib/files.js.map +1 -1
  130. package/lib/matchers.d.ts.map +1 -1
  131. package/lib/matchers.js +0 -1
  132. package/lib/matchers.js.map +1 -1
  133. package/lib/sdks.d.ts +1 -1
  134. package/lib/sdks.d.ts.map +1 -1
  135. package/lib/sdks.js +12 -10
  136. package/lib/sdks.js.map +1 -1
  137. package/lib/security.d.ts +1 -1
  138. package/lib/security.d.ts.map +1 -1
  139. package/lib/security.js +20 -10
  140. package/lib/security.js.map +1 -1
  141. package/lib/url.d.ts.map +1 -1
  142. package/lib/url.js +4 -2
  143. package/lib/url.js.map +1 -1
  144. package/models/components/acceptinformationrequestevidenceinput.d.ts +25 -0
  145. package/models/components/acceptinformationrequestevidenceinput.d.ts.map +1 -0
  146. package/models/components/acceptinformationrequestevidenceinput.js +49 -0
  147. package/models/components/acceptinformationrequestevidenceinput.js.map +1 -0
  148. package/models/components/addinformationrequestcommentinput.d.ts +44 -0
  149. package/models/components/addinformationrequestcommentinput.d.ts.map +1 -0
  150. package/models/components/addinformationrequestcommentinput.js +51 -0
  151. package/models/components/addinformationrequestcommentinput.js.map +1 -0
  152. package/models/components/audit.d.ts +31 -0
  153. package/models/components/audit.d.ts.map +1 -1
  154. package/models/components/audit.js +11 -1
  155. package/models/components/audit.js.map +1 -1
  156. package/models/components/auditorcontrol.d.ts +8 -0
  157. package/models/components/auditorcontrol.d.ts.map +1 -1
  158. package/models/components/auditorcontrol.js +2 -0
  159. package/models/components/auditorcontrol.js.map +1 -1
  160. package/models/components/comment.d.ts +9 -0
  161. package/models/components/comment.d.ts.map +1 -1
  162. package/models/components/comment.js +1 -0
  163. package/models/components/comment.js.map +1 -1
  164. package/models/components/control.d.ts +8 -0
  165. package/models/components/control.d.ts.map +1 -1
  166. package/models/components/control.js +2 -0
  167. package/models/components/control.js.map +1 -1
  168. package/models/components/createinformationrequestinput.d.ts +98 -0
  169. package/models/components/createinformationrequestinput.d.ts.map +1 -0
  170. package/models/components/createinformationrequestinput.js +70 -0
  171. package/models/components/createinformationrequestinput.js.map +1 -0
  172. package/models/components/deleteinformationrequestcommentinput.d.ts +25 -0
  173. package/models/components/deleteinformationrequestcommentinput.d.ts.map +1 -0
  174. package/models/components/deleteinformationrequestcommentinput.js +49 -0
  175. package/models/components/deleteinformationrequestcommentinput.js.map +1 -0
  176. package/models/components/evidenceurl.d.ts +4 -0
  177. package/models/components/evidenceurl.d.ts.map +1 -1
  178. package/models/components/evidenceurl.js +1 -0
  179. package/models/components/evidenceurl.js.map +1 -1
  180. package/models/components/flaginformationrequestevidenceinput.d.ts +36 -0
  181. package/models/components/flaginformationrequestevidenceinput.d.ts.map +1 -0
  182. package/models/components/flaginformationrequestevidenceinput.js +50 -0
  183. package/models/components/flaginformationrequestevidenceinput.js.map +1 -0
  184. package/models/components/frameworkcodes.d.ts +19 -0
  185. package/models/components/frameworkcodes.d.ts.map +1 -0
  186. package/models/components/frameworkcodes.js +50 -0
  187. package/models/components/frameworkcodes.js.map +1 -0
  188. package/models/components/index.d.ts +41 -0
  189. package/models/components/index.d.ts.map +1 -1
  190. package/models/components/index.js +41 -0
  191. package/models/components/index.js.map +1 -1
  192. package/models/components/informationrequest.d.ts +191 -0
  193. package/models/components/informationrequest.d.ts.map +1 -0
  194. package/models/components/informationrequest.js +110 -0
  195. package/models/components/informationrequest.js.map +1 -0
  196. package/models/components/informationrequestactivitylog.d.ts +110 -0
  197. package/models/components/informationrequestactivitylog.d.ts.map +1 -0
  198. package/models/components/informationrequestactivitylog.js +89 -0
  199. package/models/components/informationrequestactivitylog.js.map +1 -0
  200. package/models/components/informationrequestactivitytype.d.ts +13 -0
  201. package/models/components/informationrequestactivitytype.d.ts.map +1 -0
  202. package/models/components/informationrequestactivitytype.js +50 -0
  203. package/models/components/informationrequestactivitytype.js.map +1 -0
  204. package/models/components/informationrequestapprovalstatus.d.ts +28 -0
  205. package/models/components/informationrequestapprovalstatus.d.ts.map +1 -0
  206. package/models/components/informationrequestapprovalstatus.js +57 -0
  207. package/models/components/informationrequestapprovalstatus.js.map +1 -0
  208. package/models/components/informationrequestcadence.d.ts +18 -0
  209. package/models/components/informationrequestcadence.d.ts.map +1 -0
  210. package/models/components/informationrequestcadence.js +52 -0
  211. package/models/components/informationrequestcadence.js.map +1 -0
  212. package/models/components/informationrequestcomment.d.ts +72 -0
  213. package/models/components/informationrequestcomment.d.ts.map +1 -0
  214. package/models/components/informationrequestcomment.js +56 -0
  215. package/models/components/informationrequestcomment.js.map +1 -0
  216. package/models/components/informationrequestevidence.d.ts +59 -0
  217. package/models/components/informationrequestevidence.d.ts.map +1 -0
  218. package/models/components/informationrequestevidence.js +58 -0
  219. package/models/components/informationrequestevidence.js.map +1 -0
  220. package/models/components/informationrequestevidenceunion.d.ts +21 -0
  221. package/models/components/informationrequestevidenceunion.d.ts.map +1 -0
  222. package/models/components/informationrequestevidenceunion.js +63 -0
  223. package/models/components/informationrequestevidenceunion.js.map +1 -0
  224. package/models/components/informationrequestsupportedevidencetype.d.ts +17 -0
  225. package/models/components/informationrequestsupportedevidencetype.d.ts.map +1 -0
  226. package/models/components/informationrequestsupportedevidencetype.js +55 -0
  227. package/models/components/informationrequestsupportedevidencetype.js.map +1 -0
  228. package/models/components/informationrequesttype.d.ts +31 -0
  229. package/models/components/informationrequesttype.d.ts.map +1 -0
  230. package/models/components/informationrequesttype.js +59 -0
  231. package/models/components/informationrequesttype.js.map +1 -0
  232. package/models/components/issuesnapshotitem.d.ts +65 -0
  233. package/models/components/issuesnapshotitem.d.ts.map +1 -0
  234. package/models/components/issuesnapshotitem.js +63 -0
  235. package/models/components/issuesnapshotitem.js.map +1 -0
  236. package/models/components/issuesnapshotmetadata.d.ts +25 -0
  237. package/models/components/issuesnapshotmetadata.d.ts.map +1 -0
  238. package/models/components/issuesnapshotmetadata.js +54 -0
  239. package/models/components/issuesnapshotmetadata.js.map +1 -0
  240. package/models/components/issuestatustypeforsnapshot.d.ts +11 -0
  241. package/models/components/issuestatustypeforsnapshot.d.ts.map +1 -0
  242. package/models/components/issuestatustypeforsnapshot.js +48 -0
  243. package/models/components/issuestatustypeforsnapshot.js.map +1 -0
  244. package/models/components/linkevidence.d.ts +24 -0
  245. package/models/components/linkevidence.d.ts.map +1 -0
  246. package/models/components/linkevidence.js +52 -0
  247. package/models/components/linkevidence.js.map +1 -0
  248. package/models/components/observationevidence.d.ts +16 -0
  249. package/models/components/observationevidence.d.ts.map +1 -0
  250. package/models/components/observationevidence.js +50 -0
  251. package/models/components/observationevidence.js.map +1 -0
  252. package/models/components/paginatedissuesnapshotitemsresponse.d.ts +22 -0
  253. package/models/components/paginatedissuesnapshotitemsresponse.d.ts.map +1 -0
  254. package/models/components/paginatedissuesnapshotitemsresponse.js +61 -0
  255. package/models/components/paginatedissuesnapshotitemsresponse.js.map +1 -0
  256. package/models/components/paginatedissuesnapshotmetadataresponse.d.ts +22 -0
  257. package/models/components/paginatedissuesnapshotmetadataresponse.d.ts.map +1 -0
  258. package/models/components/paginatedissuesnapshotmetadataresponse.js +61 -0
  259. package/models/components/paginatedissuesnapshotmetadataresponse.js.map +1 -0
  260. package/models/components/paginatedresponseinformationrequest.d.ts +22 -0
  261. package/models/components/paginatedresponseinformationrequest.d.ts.map +1 -0
  262. package/models/components/paginatedresponseinformationrequest.js +61 -0
  263. package/models/components/paginatedresponseinformationrequest.js.map +1 -0
  264. package/models/components/paginatedresponseinformationrequestactivitylog.d.ts +22 -0
  265. package/models/components/paginatedresponseinformationrequestactivitylog.d.ts.map +1 -0
  266. package/models/components/paginatedresponseinformationrequestactivitylog.js +61 -0
  267. package/models/components/paginatedresponseinformationrequestactivitylog.js.map +1 -0
  268. package/models/components/paginatedresponseinformationrequestcomment.d.ts +22 -0
  269. package/models/components/paginatedresponseinformationrequestcomment.d.ts.map +1 -0
  270. package/models/components/paginatedresponseinformationrequestcomment.js +61 -0
  271. package/models/components/paginatedresponseinformationrequestcomment.js.map +1 -0
  272. package/models/components/paginatedresponseinformationrequestevidence.d.ts +22 -0
  273. package/models/components/paginatedresponseinformationrequestevidence.d.ts.map +1 -0
  274. package/models/components/paginatedresponseinformationrequestevidence.js +61 -0
  275. package/models/components/paginatedresponseinformationrequestevidence.js.map +1 -0
  276. package/models/components/partialupdateinformationrequest.d.ts +69 -0
  277. package/models/components/partialupdateinformationrequest.d.ts.map +1 -0
  278. package/models/components/partialupdateinformationrequest.js +58 -0
  279. package/models/components/partialupdateinformationrequest.js.map +1 -0
  280. package/models/components/recurrenceduration.d.ts +1 -0
  281. package/models/components/recurrenceduration.d.ts.map +1 -1
  282. package/models/components/recurrenceduration.js +1 -0
  283. package/models/components/recurrenceduration.js.map +1 -1
  284. package/models/components/section.d.ts +20 -0
  285. package/models/components/section.d.ts.map +1 -1
  286. package/models/components/section.js +11 -1
  287. package/models/components/section.js.map +1 -1
  288. package/models/components/updateinformationrequestcommentinput.d.ts +34 -0
  289. package/models/components/updateinformationrequestcommentinput.d.ts.map +1 -0
  290. package/models/components/updateinformationrequestcommentinput.js +50 -0
  291. package/models/components/updateinformationrequestcommentinput.js.map +1 -0
  292. package/models/components/uploadeddocumentevidence.d.ts +41 -0
  293. package/models/components/uploadeddocumentevidence.d.ts.map +1 -0
  294. package/models/components/uploadeddocumentevidence.js +53 -0
  295. package/models/components/uploadeddocumentevidence.js.map +1 -0
  296. package/models/components/vantadocumentevidence.d.ts +78 -0
  297. package/models/components/vantadocumentevidence.d.ts.map +1 -0
  298. package/models/components/vantadocumentevidence.js +79 -0
  299. package/models/components/vantadocumentevidence.js.map +1 -0
  300. package/models/components/vantadocumentlinkevidence.d.ts +27 -0
  301. package/models/components/vantadocumentlinkevidence.d.ts.map +1 -0
  302. package/models/components/vantadocumentlinkevidence.js +52 -0
  303. package/models/components/vantadocumentlinkevidence.js.map +1 -0
  304. package/models/components/vantadocumentuploadedevidence.d.ts +45 -0
  305. package/models/components/vantadocumentuploadedevidence.d.ts.map +1 -0
  306. package/models/components/vantadocumentuploadedevidence.js +54 -0
  307. package/models/components/vantadocumentuploadedevidence.js.map +1 -0
  308. package/models/components/vantapolicyevidence.d.ts +126 -0
  309. package/models/components/vantapolicyevidence.d.ts.map +1 -0
  310. package/models/components/vantapolicyevidence.js +79 -0
  311. package/models/components/vantapolicyevidence.js.map +1 -0
  312. package/models/components/vantatestevidence.d.ts +71 -0
  313. package/models/components/vantatestevidence.d.ts.map +1 -0
  314. package/models/components/vantatestevidence.js +67 -0
  315. package/models/components/vantatestevidence.js.map +1 -0
  316. package/models/components/vantatestfiletype.d.ts +12 -0
  317. package/models/components/vantatestfiletype.d.ts.map +1 -0
  318. package/models/components/vantatestfiletype.js +49 -0
  319. package/models/components/vantatestfiletype.js.map +1 -0
  320. package/models/components/vantatestrunstatus.d.ts +14 -0
  321. package/models/components/vantatestrunstatus.d.ts.map +1 -0
  322. package/models/components/vantatestrunstatus.js +51 -0
  323. package/models/components/vantatestrunstatus.js.map +1 -0
  324. package/models/components/vantatestsnapshotevidence.d.ts +68 -0
  325. package/models/components/vantatestsnapshotevidence.d.ts.map +1 -0
  326. package/models/components/vantatestsnapshotevidence.js +68 -0
  327. package/models/components/vantatestsnapshotevidence.js.map +1 -0
  328. package/models/components/vantatestsnapshotevidencedetail.d.ts +66 -0
  329. package/models/components/vantatestsnapshotevidencedetail.d.ts.map +1 -0
  330. package/models/components/vantatestsnapshotevidencedetail.js +76 -0
  331. package/models/components/vantatestsnapshotevidencedetail.js.map +1 -0
  332. package/models/components/vantatestsnapshotintegration.d.ts +14 -0
  333. package/models/components/vantatestsnapshotintegration.d.ts.map +1 -0
  334. package/models/components/vantatestsnapshotintegration.js +51 -0
  335. package/models/components/vantatestsnapshotintegration.js.map +1 -0
  336. package/models/components/vantatestsnapshotrawtestdatarow.d.ts +41 -0
  337. package/models/components/vantatestsnapshotrawtestdatarow.d.ts.map +1 -0
  338. package/models/components/vantatestsnapshotrawtestdatarow.js +52 -0
  339. package/models/components/vantatestsnapshotrawtestdatarow.js.map +1 -0
  340. package/models/operations/acceptinformationrequestevidence.d.ts +17 -0
  341. package/models/operations/acceptinformationrequestevidence.d.ts.map +1 -0
  342. package/models/operations/acceptinformationrequestevidence.js +57 -0
  343. package/models/operations/acceptinformationrequestevidence.js.map +1 -0
  344. package/models/operations/createcommentforinformationrequest.d.ts +17 -0
  345. package/models/operations/createcommentforinformationrequest.d.ts.map +1 -0
  346. package/models/operations/createcommentforinformationrequest.js +57 -0
  347. package/models/operations/createcommentforinformationrequest.js.map +1 -0
  348. package/models/operations/createinformationrequest.d.ts +15 -0
  349. package/models/operations/createinformationrequest.d.ts.map +1 -0
  350. package/models/operations/createinformationrequest.js +56 -0
  351. package/models/operations/createinformationrequest.js.map +1 -0
  352. package/models/operations/deletecommentforinformationrequest.d.ts +19 -0
  353. package/models/operations/deletecommentforinformationrequest.d.ts.map +1 -0
  354. package/models/operations/deletecommentforinformationrequest.js +58 -0
  355. package/models/operations/deletecommentforinformationrequest.js.map +1 -0
  356. package/models/operations/deleteinformationrequest.d.ts +14 -0
  357. package/models/operations/deleteinformationrequest.d.ts.map +1 -0
  358. package/models/operations/deleteinformationrequest.js +50 -0
  359. package/models/operations/deleteinformationrequest.js.map +1 -0
  360. package/models/operations/flaginformationrequestevidence.d.ts +17 -0
  361. package/models/operations/flaginformationrequestevidence.d.ts.map +1 -0
  362. package/models/operations/flaginformationrequestevidence.js +57 -0
  363. package/models/operations/flaginformationrequestevidence.js.map +1 -0
  364. package/models/operations/getaudit.d.ts +12 -0
  365. package/models/operations/getaudit.d.ts.map +1 -0
  366. package/models/operations/getaudit.js +49 -0
  367. package/models/operations/getaudit.js.map +1 -0
  368. package/models/operations/getframeworkcodes.d.ts +12 -0
  369. package/models/operations/getframeworkcodes.d.ts.map +1 -0
  370. package/models/operations/getframeworkcodes.js +49 -0
  371. package/models/operations/getframeworkcodes.js.map +1 -0
  372. package/models/operations/getinformationrequest.d.ts +14 -0
  373. package/models/operations/getinformationrequest.d.ts.map +1 -0
  374. package/models/operations/getinformationrequest.js +50 -0
  375. package/models/operations/getinformationrequest.js.map +1 -0
  376. package/models/operations/getinformationrequesttestsnapshotevidencedetail.d.ts +16 -0
  377. package/models/operations/getinformationrequesttestsnapshotevidencedetail.d.ts.map +1 -0
  378. package/models/operations/getinformationrequesttestsnapshotevidencedetail.js +51 -0
  379. package/models/operations/getinformationrequesttestsnapshotevidencedetail.js.map +1 -0
  380. package/models/operations/index.d.ts +20 -0
  381. package/models/operations/index.d.ts.map +1 -1
  382. package/models/operations/index.js +20 -0
  383. package/models/operations/index.js.map +1 -1
  384. package/models/operations/listauditissues.d.ts +35 -0
  385. package/models/operations/listauditissues.d.ts.map +1 -0
  386. package/models/operations/listauditissues.js +53 -0
  387. package/models/operations/listauditissues.js.map +1 -0
  388. package/models/operations/listauditsnapshots.d.ts +30 -0
  389. package/models/operations/listauditsnapshots.d.ts.map +1 -0
  390. package/models/operations/listauditsnapshots.js +52 -0
  391. package/models/operations/listauditsnapshots.js.map +1 -0
  392. package/models/operations/listcommentsforinformationrequest.d.ts +32 -0
  393. package/models/operations/listcommentsforinformationrequest.d.ts.map +1 -0
  394. package/models/operations/listcommentsforinformationrequest.js +53 -0
  395. package/models/operations/listcommentsforinformationrequest.js.map +1 -0
  396. package/models/operations/listinformationrequestactivity.d.ts +29 -0
  397. package/models/operations/listinformationrequestactivity.d.ts.map +1 -0
  398. package/models/operations/listinformationrequestactivity.js +53 -0
  399. package/models/operations/listinformationrequestactivity.js.map +1 -0
  400. package/models/operations/listinformationrequestevidence.d.ts +42 -0
  401. package/models/operations/listinformationrequestevidence.d.ts.map +1 -0
  402. package/models/operations/listinformationrequestevidence.js +55 -0
  403. package/models/operations/listinformationrequestevidence.js.map +1 -0
  404. package/models/operations/listinformationrequests.d.ts +30 -0
  405. package/models/operations/listinformationrequests.d.ts.map +1 -0
  406. package/models/operations/listinformationrequests.js +52 -0
  407. package/models/operations/listinformationrequests.js.map +1 -0
  408. package/models/operations/listinformationrequestsforcontrol.d.ts +24 -0
  409. package/models/operations/listinformationrequestsforcontrol.d.ts.map +1 -0
  410. package/models/operations/listinformationrequestsforcontrol.js +52 -0
  411. package/models/operations/listinformationrequestsforcontrol.js.map +1 -0
  412. package/models/operations/shareinformationrequestlist.d.ts +12 -0
  413. package/models/operations/shareinformationrequestlist.d.ts.map +1 -0
  414. package/models/operations/shareinformationrequestlist.js +49 -0
  415. package/models/operations/shareinformationrequestlist.js.map +1 -0
  416. package/models/operations/updatecommentforinformationrequest.d.ts +19 -0
  417. package/models/operations/updatecommentforinformationrequest.d.ts.map +1 -0
  418. package/models/operations/updatecommentforinformationrequest.js +58 -0
  419. package/models/operations/updatecommentforinformationrequest.js.map +1 -0
  420. package/models/operations/updateinformationrequest.d.ts +17 -0
  421. package/models/operations/updateinformationrequest.d.ts.map +1 -0
  422. package/models/operations/updateinformationrequest.js +57 -0
  423. package/models/operations/updateinformationrequest.js.map +1 -0
  424. package/package.json +3 -3
  425. package/sdk/audits.d.ts +378 -19
  426. package/sdk/audits.d.ts.map +1 -1
  427. package/sdk/audits.js +444 -25
  428. package/sdk/audits.js.map +1 -1
  429. package/sdk/sdk.d.ts +2 -2
  430. package/sdk/sdk.d.ts.map +1 -1
  431. package/sdk/sdk.js +3 -3
  432. package/sdk/sdk.js.map +1 -1
  433. package/smoke-test/src/smoke.test.ts +201 -0
  434. package/smoke-test/vitest.config.ts +11 -0
  435. package/src/funcs/auditorsCreate.ts +3 -1
  436. package/src/funcs/auditsAcceptInformationRequestEvidence.ts +195 -0
  437. package/src/funcs/auditsCreateCommentForEvidence.ts +3 -2
  438. package/src/funcs/auditsCreateCommentForInformationRequest.ts +182 -0
  439. package/src/funcs/auditsCreateCustomControl.ts +3 -2
  440. package/src/funcs/auditsCreateCustomEvidenceRequest.ts +3 -2
  441. package/src/funcs/auditsCreateInformationRequest.ts +179 -0
  442. package/src/funcs/auditsDeleteCommentForInformationRequest.ts +188 -0
  443. package/src/funcs/auditsDeleteInformationRequest.ts +185 -0
  444. package/src/funcs/auditsFlagInformationRequestEvidence.ts +195 -0
  445. package/src/funcs/auditsGetAudit.ts +172 -0
  446. package/src/funcs/auditsGetEvidenceUrls.ts +5 -2
  447. package/src/funcs/auditsGetFrameworkCodes.ts +173 -0
  448. package/src/funcs/auditsGetInformationRequest.ts +180 -0
  449. package/src/funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.ts +193 -0
  450. package/src/funcs/auditsList.ts +7 -1
  451. package/src/funcs/auditsListAuditIssues.ts +191 -0
  452. package/src/funcs/auditsListAuditSnapshots.ts +191 -0
  453. package/src/funcs/auditsListComments.ts +3 -2
  454. package/src/funcs/auditsListCommentsForInformationRequest.ts +208 -0
  455. package/src/funcs/auditsListControls.ts +3 -2
  456. package/src/funcs/auditsListEvidence.ts +3 -2
  457. package/src/funcs/auditsListInformationRequestActivity.ts +204 -0
  458. package/src/funcs/auditsListInformationRequestEvidence.ts +209 -0
  459. package/src/funcs/auditsListInformationRequests.ts +197 -0
  460. package/src/funcs/auditsListInformationRequestsForControl.ts +199 -0
  461. package/src/funcs/auditsShareInformationRequestList.ts +173 -0
  462. package/src/funcs/auditsUpdateCommentForInformationRequest.ts +188 -0
  463. package/src/funcs/auditsUpdateEvidence.ts +3 -2
  464. package/src/funcs/auditsUpdateInformationRequest.ts +188 -0
  465. package/src/lib/config.ts +5 -9
  466. package/src/lib/encodings.ts +49 -7
  467. package/src/lib/files.ts +22 -0
  468. package/src/lib/matchers.ts +3 -2
  469. package/src/lib/sdks.ts +12 -13
  470. package/src/lib/security.ts +15 -4
  471. package/src/lib/url.ts +16 -14
  472. package/src/models/components/acceptinformationrequestevidenceinput.ts +46 -0
  473. package/src/models/components/addinformationrequestcommentinput.ts +67 -0
  474. package/src/models/components/audit.ts +54 -0
  475. package/src/models/components/auditorcontrol.ts +14 -0
  476. package/src/models/components/comment.ts +10 -0
  477. package/src/models/components/control.ts +14 -0
  478. package/src/models/components/createinformationrequestinput.ts +138 -0
  479. package/src/models/components/deleteinformationrequestcommentinput.ts +46 -0
  480. package/src/models/components/evidenceurl.ts +5 -0
  481. package/src/models/components/flaginformationrequestevidenceinput.ts +58 -0
  482. package/src/models/components/frameworkcodes.ts +40 -0
  483. package/src/models/components/index.ts +41 -0
  484. package/src/models/components/informationrequest.ts +295 -0
  485. package/src/models/components/informationrequestactivitylog.ts +146 -0
  486. package/src/models/components/informationrequestactivitytype.ts +22 -0
  487. package/src/models/components/informationrequestapprovalstatus.ts +37 -0
  488. package/src/models/components/informationrequestcadence.ts +27 -0
  489. package/src/models/components/informationrequestcomment.ts +105 -0
  490. package/src/models/components/informationrequestevidence.ts +100 -0
  491. package/src/models/components/informationrequestevidenceunion.ts +73 -0
  492. package/src/models/components/informationrequestsupportedevidencetype.ts +28 -0
  493. package/src/models/components/informationrequesttype.ts +40 -0
  494. package/src/models/components/issuesnapshotitem.ts +105 -0
  495. package/src/models/components/issuesnapshotmetadata.ts +50 -0
  496. package/src/models/components/issuestatustypeforsnapshot.ts +20 -0
  497. package/src/models/components/linkevidence.ts +47 -0
  498. package/src/models/components/observationevidence.ts +37 -0
  499. package/src/models/components/paginatedissuesnapshotitemsresponse.ts +71 -0
  500. package/src/models/components/paginatedissuesnapshotmetadataresponse.ts +74 -0
  501. package/src/models/components/paginatedresponseinformationrequest.ts +71 -0
  502. package/src/models/components/paginatedresponseinformationrequestactivitylog.ts +80 -0
  503. package/src/models/components/paginatedresponseinformationrequestcomment.ts +77 -0
  504. package/src/models/components/paginatedresponseinformationrequestevidence.ts +80 -0
  505. package/src/models/components/partialupdateinformationrequest.ts +103 -0
  506. package/src/models/components/recurrenceduration.ts +1 -0
  507. package/src/models/components/section.ts +39 -0
  508. package/src/models/components/updateinformationrequestcommentinput.ts +56 -0
  509. package/src/models/components/uploadeddocumentevidence.ts +65 -0
  510. package/src/models/components/vantadocumentevidence.ts +145 -0
  511. package/src/models/components/vantadocumentlinkevidence.ts +50 -0
  512. package/src/models/components/vantadocumentuploadedevidence.ts +70 -0
  513. package/src/models/components/vantapolicyevidence.ts +198 -0
  514. package/src/models/components/vantatestevidence.ts +122 -0
  515. package/src/models/components/vantatestfiletype.ts +19 -0
  516. package/src/models/components/vantatestrunstatus.ts +21 -0
  517. package/src/models/components/vantatestsnapshotevidence.ts +100 -0
  518. package/src/models/components/vantatestsnapshotevidencedetail.ts +135 -0
  519. package/src/models/components/vantatestsnapshotintegration.ts +36 -0
  520. package/src/models/components/vantatestsnapshotrawtestdatarow.ts +64 -0
  521. package/src/models/operations/acceptinformationrequestevidence.ts +50 -0
  522. package/src/models/operations/createcommentforinformationrequest.ts +50 -0
  523. package/src/models/operations/createinformationrequest.ts +44 -0
  524. package/src/models/operations/deletecommentforinformationrequest.ts +54 -0
  525. package/src/models/operations/deleteinformationrequest.ts +36 -0
  526. package/src/models/operations/flaginformationrequestevidence.ts +48 -0
  527. package/src/models/operations/getaudit.ts +29 -0
  528. package/src/models/operations/getframeworkcodes.ts +31 -0
  529. package/src/models/operations/getinformationrequest.ts +36 -0
  530. package/src/models/operations/getinformationrequesttestsnapshotevidencedetail.ts +41 -0
  531. package/src/models/operations/index.ts +20 -0
  532. package/src/models/operations/listauditissues.ts +58 -0
  533. package/src/models/operations/listauditsnapshots.ts +52 -0
  534. package/src/models/operations/listcommentsforinformationrequest.ts +58 -0
  535. package/src/models/operations/listinformationrequestactivity.ts +54 -0
  536. package/src/models/operations/listinformationrequestevidence.ts +72 -0
  537. package/src/models/operations/listinformationrequests.ts +54 -0
  538. package/src/models/operations/listinformationrequestsforcontrol.ts +49 -0
  539. package/src/models/operations/shareinformationrequestlist.ts +33 -0
  540. package/src/models/operations/updatecommentforinformationrequest.ts +54 -0
  541. package/src/models/operations/updateinformationrequest.ts +47 -0
  542. package/src/sdk/audits.ts +616 -37
  543. package/src/sdk/sdk.ts +5 -5
  544. package/src/types/enums.ts +1 -21
  545. package/src/types/index.ts +2 -1
  546. package/src/types/unrecognized.ts +35 -0
  547. package/types/enums.d.ts +1 -8
  548. package/types/enums.d.ts.map +1 -1
  549. package/types/enums.js +3 -21
  550. package/types/enums.js.map +1 -1
  551. package/types/index.d.ts +2 -1
  552. package/types/index.d.ts.map +1 -1
  553. package/types/index.js +15 -0
  554. package/types/index.js.map +1 -1
  555. package/types/unrecognized.d.ts +16 -0
  556. package/types/unrecognized.d.ts.map +1 -0
  557. package/types/unrecognized.js +34 -0
  558. package/types/unrecognized.js.map +1 -0
  559. package/.devcontainer/devcontainer.json +0 -45
  560. package/examples/package-lock.json +0 -610
  561. package/examples/package.json +0 -18
  562. package/tsconfig.json +0 -41
package/sdk/audits.js CHANGED
@@ -4,15 +4,35 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Audits = void 0;
7
+ const auditsAcceptInformationRequestEvidence_js_1 = require("../funcs/auditsAcceptInformationRequestEvidence.js");
7
8
  const auditsCreateCommentForEvidence_js_1 = require("../funcs/auditsCreateCommentForEvidence.js");
9
+ const auditsCreateCommentForInformationRequest_js_1 = require("../funcs/auditsCreateCommentForInformationRequest.js");
8
10
  const auditsCreateCustomControl_js_1 = require("../funcs/auditsCreateCustomControl.js");
9
11
  const auditsCreateCustomEvidenceRequest_js_1 = require("../funcs/auditsCreateCustomEvidenceRequest.js");
12
+ const auditsCreateInformationRequest_js_1 = require("../funcs/auditsCreateInformationRequest.js");
13
+ const auditsDeleteCommentForInformationRequest_js_1 = require("../funcs/auditsDeleteCommentForInformationRequest.js");
14
+ const auditsDeleteInformationRequest_js_1 = require("../funcs/auditsDeleteInformationRequest.js");
15
+ const auditsFlagInformationRequestEvidence_js_1 = require("../funcs/auditsFlagInformationRequestEvidence.js");
16
+ const auditsGetAudit_js_1 = require("../funcs/auditsGetAudit.js");
10
17
  const auditsGetEvidenceUrls_js_1 = require("../funcs/auditsGetEvidenceUrls.js");
18
+ const auditsGetFrameworkCodes_js_1 = require("../funcs/auditsGetFrameworkCodes.js");
19
+ const auditsGetInformationRequest_js_1 = require("../funcs/auditsGetInformationRequest.js");
20
+ const auditsGetInformationRequestTestSnapshotEvidenceDetail_js_1 = require("../funcs/auditsGetInformationRequestTestSnapshotEvidenceDetail.js");
11
21
  const auditsList_js_1 = require("../funcs/auditsList.js");
22
+ const auditsListAuditIssues_js_1 = require("../funcs/auditsListAuditIssues.js");
23
+ const auditsListAuditSnapshots_js_1 = require("../funcs/auditsListAuditSnapshots.js");
12
24
  const auditsListComments_js_1 = require("../funcs/auditsListComments.js");
25
+ const auditsListCommentsForInformationRequest_js_1 = require("../funcs/auditsListCommentsForInformationRequest.js");
13
26
  const auditsListControls_js_1 = require("../funcs/auditsListControls.js");
14
27
  const auditsListEvidence_js_1 = require("../funcs/auditsListEvidence.js");
28
+ const auditsListInformationRequestActivity_js_1 = require("../funcs/auditsListInformationRequestActivity.js");
29
+ const auditsListInformationRequestEvidence_js_1 = require("../funcs/auditsListInformationRequestEvidence.js");
30
+ const auditsListInformationRequests_js_1 = require("../funcs/auditsListInformationRequests.js");
31
+ const auditsListInformationRequestsForControl_js_1 = require("../funcs/auditsListInformationRequestsForControl.js");
32
+ const auditsShareInformationRequestList_js_1 = require("../funcs/auditsShareInformationRequestList.js");
33
+ const auditsUpdateCommentForInformationRequest_js_1 = require("../funcs/auditsUpdateCommentForInformationRequest.js");
15
34
  const auditsUpdateEvidence_js_1 = require("../funcs/auditsUpdateEvidence.js");
35
+ const auditsUpdateInformationRequest_js_1 = require("../funcs/auditsUpdateInformationRequest.js");
16
36
  const sdks_js_1 = require("../lib/sdks.js");
17
37
  const fp_js_1 = require("../types/fp.js");
18
38
  class Audits extends sdks_js_1.ClientSDK {
@@ -21,28 +41,26 @@ class Audits extends sdks_js_1.ClientSDK {
21
41
  *
22
42
  * @remarks
23
43
  * Returns a paginated list of audits scoped to the audit firm.
44
+ *
45
+ * To identify IRL (Information Request List) audits, check for the presence of the
46
+ * `auditorRequestListMetadata` field. This field is only present for IRL-based audits
47
+ * and will be `undefined` for standard audits.
24
48
  */
25
49
  async list(request, options) {
26
50
  return (0, fp_js_1.unwrapAsync)((0, auditsList_js_1.auditsList)(this, request, options));
27
51
  }
28
52
  /**
29
- * List audit evidence url
53
+ * Get audit by ID
30
54
  *
31
55
  * @remarks
32
- * Returns a paginated list of evidence urls for an audit. This endpoint should be called whenever an
33
- * evidence is created or has a statusUpdatedAt field that is more recent than the most recent polling event.
34
- */
35
- async getEvidenceUrls(request, options) {
36
- return (0, fp_js_1.unwrapAsync)((0, auditsGetEvidenceUrls_js_1.auditsGetEvidenceUrls)(this, request, options));
37
- }
38
- /**
39
- * List audit evidence
56
+ * Returns a single audit by ID, scoped to the audit firm.
40
57
  *
41
- * @remarks
42
- * Returns a paginated list of evidence for an audit.
58
+ * To identify IRL (Information Request List) audits, check for the presence of the
59
+ * `auditorRequestListMetadata` field. This field is only present for IRL-based audits
60
+ * and will be `undefined` for standard audits.
43
61
  */
44
- async listEvidence(request, options) {
45
- return (0, fp_js_1.unwrapAsync)((0, auditsListEvidence_js_1.auditsListEvidence)(this, request, options));
62
+ async getAudit(request, options) {
63
+ return (0, fp_js_1.unwrapAsync)((0, auditsGetAudit_js_1.auditsGetAudit)(this, request, options));
46
64
  }
47
65
  /**
48
66
  * List audit comments
@@ -63,22 +81,47 @@ class Audits extends sdks_js_1.ClientSDK {
63
81
  return (0, fp_js_1.unwrapAsync)((0, auditsListControls_js_1.auditsListControls)(this, request, options));
64
82
  }
65
83
  /**
66
- * Create a comment for audit evidence
84
+ * Create a custom control for an audit
67
85
  *
68
86
  * @remarks
69
- * Create a comment in Vanta for a piece of evidence.
87
+ * Create a custom control for an audit.
70
88
  */
71
- async createCommentForEvidence(request, options) {
72
- return (0, fp_js_1.unwrapAsync)((0, auditsCreateCommentForEvidence_js_1.auditsCreateCommentForEvidence)(this, request, options));
89
+ async createCustomControl(request, options) {
90
+ return (0, fp_js_1.unwrapAsync)((0, auditsCreateCustomControl_js_1.auditsCreateCustomControl)(this, request, options));
73
91
  }
74
92
  /**
75
- * Update audit evidence
93
+ * List information requests linked to a control within an audit
76
94
  *
77
95
  * @remarks
78
- * Update audit evidence.
96
+ * Returns a paginated list of active information requests linked to a specific
97
+ * control within an IRL audit. An information request is linked to a control
98
+ * either via its framework codes (`criteriaIds`) or via a direct association
99
+ * (`additionalControlIds`).
100
+ *
101
+ * Soft-deleted information requests are not included in the response. To
102
+ * synchronize deletions, use `GET /audits/{auditId}/information-requests`,
103
+ * which supports `changedSinceDate` and includes soft-deleted records.
104
+ *
105
+ * Returns 404 when the control is not part of the audit. Returns an empty page
106
+ * when the control is part of the audit but has no active IRLs linked to it.
107
+ *
108
+ * Pagination usage:
109
+ * 1. Make initial request with desired `pageSize`
110
+ * 2. Check `results.pageInfo.hasNextPage` to see if more data exists
111
+ * 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request
112
+ * 4. Repeat until `hasNextPage` is false
79
113
  */
80
- async updateEvidence(request, options) {
81
- return (0, fp_js_1.unwrapAsync)((0, auditsUpdateEvidence_js_1.auditsUpdateEvidence)(this, request, options));
114
+ async listInformationRequestsForControl(request, options) {
115
+ return (0, fp_js_1.unwrapAsync)((0, auditsListInformationRequestsForControl_js_1.auditsListInformationRequestsForControl)(this, request, options));
116
+ }
117
+ /**
118
+ * List audit evidence
119
+ *
120
+ * @remarks
121
+ * Returns a paginated list of evidence for an audit.
122
+ */
123
+ async listEvidence(request, options) {
124
+ return (0, fp_js_1.unwrapAsync)((0, auditsListEvidence_js_1.auditsListEvidence)(this, request, options));
82
125
  }
83
126
  /**
84
127
  * Create a custom evidence request for an audit
@@ -90,13 +133,389 @@ class Audits extends sdks_js_1.ClientSDK {
90
133
  return (0, fp_js_1.unwrapAsync)((0, auditsCreateCustomEvidenceRequest_js_1.auditsCreateCustomEvidenceRequest)(this, request, options));
91
134
  }
92
135
  /**
93
- * Create a custom control for an audit
136
+ * Update audit evidence
94
137
  *
95
138
  * @remarks
96
- * Create a custom control for an audit.
139
+ * Update audit evidence.
97
140
  */
98
- async createCustomControl(request, options) {
99
- return (0, fp_js_1.unwrapAsync)((0, auditsCreateCustomControl_js_1.auditsCreateCustomControl)(this, request, options));
141
+ async updateEvidence(request, options) {
142
+ return (0, fp_js_1.unwrapAsync)((0, auditsUpdateEvidence_js_1.auditsUpdateEvidence)(this, request, options));
143
+ }
144
+ /**
145
+ * Create a comment for audit evidence
146
+ *
147
+ * @remarks
148
+ * Create a comment in Vanta for a piece of evidence.
149
+ */
150
+ async createCommentForEvidence(request, options) {
151
+ return (0, fp_js_1.unwrapAsync)((0, auditsCreateCommentForEvidence_js_1.auditsCreateCommentForEvidence)(this, request, options));
152
+ }
153
+ /**
154
+ * List audit evidence url
155
+ *
156
+ * @remarks
157
+ * Returns a paginated list of evidence urls for an audit. This endpoint should be called whenever an
158
+ * evidence is created or has a statusUpdatedAt field that is more recent than the most recent polling event.
159
+ *
160
+ * Evidence must be in one of the following states to retrieve URLs: "Ready for audit", "Accepted", "Flagged", or "NA".
161
+ */
162
+ async getEvidenceUrls(request, options) {
163
+ return (0, fp_js_1.unwrapAsync)((0, auditsGetEvidenceUrls_js_1.auditsGetEvidenceUrls)(this, request, options));
164
+ }
165
+ /**
166
+ * Get framework codes for an audit
167
+ *
168
+ * @remarks
169
+ * Retrieves all valid framework codes for the specified audit. This endpoint helps users discover which framework codes are available for creating and updating information requests for this audit.
170
+ *
171
+ * Use this endpoint to:
172
+ * - Discover available framework codes before creating information requests
173
+ * - Validate framework codes against the audit's framework
174
+ * - Get context about what framework codes are available for the audit type
175
+ */
176
+ async getFrameworkCodes(request, options) {
177
+ return (0, fp_js_1.unwrapAsync)((0, auditsGetFrameworkCodes_js_1.auditsGetFrameworkCodes)(this, request, options));
178
+ }
179
+ /**
180
+ * List information requests for an audit
181
+ *
182
+ * @remarks
183
+ * Retrieves a paginated list of all information requests for an audit, enabling
184
+ * external audit management systems to display and track evidence requests.
185
+ *
186
+ * This endpoint always includes soft-deleted records (where `deletionDate !== null`).
187
+ * Clients should check the `deletionDate` field to identify and handle deleted records
188
+ * appropriately in their systems.
189
+ *
190
+ * This endpoint supports delta synchronization via the `changedSinceDate` parameter,
191
+ * allowing efficient polling for changes without retrieving the entire dataset.
192
+ *
193
+ * Pagination usage:
194
+ * 1. Make initial request with desired `pageSize`
195
+ * 2. Check `results.pageInfo.hasNextPage` to see if more data exists
196
+ * 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request
197
+ * 4. Repeat until `hasNextPage` is false
198
+ *
199
+ * Delta sync usage:
200
+ * 1. Store the timestamp of your last sync
201
+ * 2. Pass that timestamp as `changedSinceDate`
202
+ * 3. Only requests created, modified, or deleted since that timestamp are returned
203
+ * 4. Process updates and soft-deletes by checking the `deletionDate` field
204
+ * 5. Update your last sync timestamp to the current time
205
+ */
206
+ async listInformationRequests(request, options) {
207
+ return (0, fp_js_1.unwrapAsync)((0, auditsListInformationRequests_js_1.auditsListInformationRequests)(this, request, options));
208
+ }
209
+ /**
210
+ * Create a new information request
211
+ *
212
+ * @remarks
213
+ * Creates a new information request for an audit during audit setup or as requirements evolve.
214
+ *
215
+ * After creating all information requests, use POST /audits/{auditId}/share-information-request-list
216
+ * to make them visible to the customer organization. Until shared, requests remain in draft state
217
+ * visible only to auditors.
218
+ *
219
+ * New requests are created in an initial state indicating evidence is needed. The status
220
+ * progresses through the workflow: initial state → awaiting review → approved or flagged.
221
+ */
222
+ async createInformationRequest(request, options) {
223
+ return (0, fp_js_1.unwrapAsync)((0, auditsCreateInformationRequest_js_1.auditsCreateInformationRequest)(this, request, options));
224
+ }
225
+ /**
226
+ * Get an information request by ID
227
+ *
228
+ * @remarks
229
+ * Retrieves a single information request by its ID for an audit, allowing external
230
+ * audit management systems to fetch the latest state of a specific request without
231
+ * paginating through the full list.
232
+ *
233
+ * Soft-deleted records (where `deletionDate !== null`) are included in the response.
234
+ * Clients should check `deletionDate` to determine whether the request has been deleted.
235
+ */
236
+ async getInformationRequest(request, options) {
237
+ return (0, fp_js_1.unwrapAsync)((0, auditsGetInformationRequest_js_1.auditsGetInformationRequest)(this, request, options));
238
+ }
239
+ /**
240
+ * Update an information request for an audit
241
+ *
242
+ * @remarks
243
+ * Updates an existing information request for an audit, allowing modification of request
244
+ * details as audit requirements evolve. Supports partial updates where only specified
245
+ * fields are changed; omitted fields remain unchanged.
246
+ *
247
+ * Common use cases:
248
+ * - Updating due dates as audit timelines shift
249
+ * - Refining descriptions to clarify requirements
250
+ * - Adjusting request type
251
+ *
252
+ * Note: The `modificationDate` is automatically updated to the current timestamp
253
+ * when any field is changed.
254
+ */
255
+ async updateInformationRequest(request, options) {
256
+ return (0, fp_js_1.unwrapAsync)((0, auditsUpdateInformationRequest_js_1.auditsUpdateInformationRequest)(this, request, options));
257
+ }
258
+ /**
259
+ * Delete an information request for an audit
260
+ *
261
+ * @remarks
262
+ * Deletes an information request for an audit. This performs a soft delete, marking
263
+ * the request as deleted (setting `deletionDate`) while preserving it in the system
264
+ * for audit history and compliance tracking.
265
+ *
266
+ * Soft deletion allows:
267
+ * - Maintaining complete audit trail of all requests ever created
268
+ * - Retrieving deleted requests via `changedSinceDate` for synchronization
269
+ *
270
+ * After deletion:
271
+ * - The request will not appear in normal list responses (without `changedSinceDate`)
272
+ * - The request's `deletionDate` field will be populated
273
+ */
274
+ async deleteInformationRequest(request, options) {
275
+ return (0, fp_js_1.unwrapAsync)((0, auditsDeleteInformationRequest_js_1.auditsDeleteInformationRequest)(this, request, options));
276
+ }
277
+ /**
278
+ * Accept evidence for an information request
279
+ *
280
+ * @remarks
281
+ * Accepts evidence for an information request, confirming that all submitted evidence
282
+ * meets audit requirements. This action changes the request's approvalStatus to
283
+ * an approved state and creates an activity log entry.
284
+ *
285
+ * Acceptance workflow:
286
+ * 1. Auditor reviews submitted evidence
287
+ * 2. If evidence is satisfactory, auditor calls this endpoint
288
+ * 3. Request status changes to approved state and is considered complete for this audit cycle
289
+ *
290
+ * Use this endpoint when:
291
+ * - All required evidence has been submitted
292
+ * - Evidence quality meets audit standards
293
+ * - Evidence addresses all specified framework codes
294
+ * - No additional information is needed
295
+ */
296
+ async acceptInformationRequestEvidence(request, options) {
297
+ return (0, fp_js_1.unwrapAsync)((0, auditsAcceptInformationRequestEvidence_js_1.auditsAcceptInformationRequestEvidence)(this, request, options));
298
+ }
299
+ /**
300
+ * List information request activity
301
+ *
302
+ * @remarks
303
+ * Retrieves a paginated list of activity logs for an information request, providing
304
+ * a complete audit trail of all changes and actions.
305
+ *
306
+ * This endpoint supports delta synchronization via the `changedSinceDate` parameter,
307
+ * allowing efficient polling for changes without retrieving the entire dataset.
308
+ *
309
+ * Pagination usage:
310
+ * 1. Make initial request with desired `pageSize`
311
+ * 2. Check `results.pageInfo.hasNextPage` to see if more data exists
312
+ * 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request
313
+ * 4. Repeat until `hasNextPage` is false
314
+ *
315
+ * Delta sync usage:
316
+ * 1. Store the timestamp of your last sync
317
+ * 2. Pass that timestamp as `changedSinceDate`
318
+ * 3. Only activity created since that timestamp is returned
319
+ * 4. Process updates to track all changes to the information request
320
+ * 5. Update your last sync timestamp to the current time
321
+ */
322
+ async listInformationRequestActivity(request, options) {
323
+ return (0, fp_js_1.unwrapAsync)((0, auditsListInformationRequestActivity_js_1.auditsListInformationRequestActivity)(this, request, options));
324
+ }
325
+ /**
326
+ * List comments for an information request
327
+ *
328
+ * @remarks
329
+ * Retrieves a paginated list of comments for an information request, enabling
330
+ * auditors to view communication history and collaborate with customers.
331
+ *
332
+ * This endpoint always includes soft-deleted records (where `deletionDate !== null`).
333
+ * Clients should check the `deletionDate` field to identify and handle deleted records
334
+ * appropriately in their systems.
335
+ *
336
+ * This endpoint supports delta synchronization via the `changedSinceDate` parameter,
337
+ * allowing efficient polling for changes without retrieving the entire dataset.
338
+ *
339
+ * Pagination usage:
340
+ * 1. Make initial request with desired `pageSize`
341
+ * 2. Check `results.pageInfo.hasNextPage` to see if more data exists
342
+ * 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request
343
+ * 4. Repeat until `hasNextPage` is false
344
+ *
345
+ * Delta sync usage:
346
+ * 1. Store the timestamp of your last sync
347
+ * 2. Pass that timestamp as `changedSinceDate`
348
+ * 3. Only comments created, modified, or deleted since that timestamp are returned
349
+ * 4. Process updates, including soft-deletes (deletionDate !== null)
350
+ * 5. Update your last sync timestamp to the current time
351
+ */
352
+ async listCommentsForInformationRequest(request, options) {
353
+ return (0, fp_js_1.unwrapAsync)((0, auditsListCommentsForInformationRequest_js_1.auditsListCommentsForInformationRequest)(this, request, options));
354
+ }
355
+ /**
356
+ * Create a comment for an information request
357
+ *
358
+ * @remarks
359
+ * Creates a new comment for an information request. The comment author must be an auditor
360
+ * in the audit firm making the request. The comment will be associated with the information
361
+ * request and visible to all authorized users.
362
+ */
363
+ async createCommentForInformationRequest(request, options) {
364
+ return (0, fp_js_1.unwrapAsync)((0, auditsCreateCommentForInformationRequest_js_1.auditsCreateCommentForInformationRequest)(this, request, options));
365
+ }
366
+ /**
367
+ * Update a comment for an information request
368
+ *
369
+ * @remarks
370
+ * Updates an existing comment for an information request. Only the original author
371
+ * of the comment can update it. The author is identified by their email address,
372
+ * which must match the email of the user who created the comment.
373
+ */
374
+ async updateCommentForInformationRequest(request, options) {
375
+ return (0, fp_js_1.unwrapAsync)((0, auditsUpdateCommentForInformationRequest_js_1.auditsUpdateCommentForInformationRequest)(this, request, options));
376
+ }
377
+ /**
378
+ * Delete a comment for an information request
379
+ *
380
+ * @remarks
381
+ * Deletes an existing comment for an information request. Only the original author
382
+ * of the comment can delete it. The author is identified by their email address,
383
+ * which must match the email of the user who created the comment.
384
+ */
385
+ async deleteCommentForInformationRequest(request, options) {
386
+ return (0, fp_js_1.unwrapAsync)((0, auditsDeleteCommentForInformationRequest_js_1.auditsDeleteCommentForInformationRequest)(this, request, options));
387
+ }
388
+ /**
389
+ * List evidence for an information request
390
+ *
391
+ * @remarks
392
+ * Retrieves a paginated list of all evidence attached to an information request,
393
+ * enabling auditors to review evidence submitted by customers.
394
+ *
395
+ * This endpoint always includes soft-deleted records (where `deletionDate !== null`).
396
+ * Clients should check the `deletionDate` field to identify and handle deleted records
397
+ * appropriately in their systems.
398
+ *
399
+ * This endpoint supports delta synchronization via the `changedSinceDate` parameter,
400
+ * allowing efficient polling for changes without retrieving the entire dataset.
401
+ *
402
+ * Pagination usage:
403
+ * 1. Make initial request with desired `pageSize`
404
+ * 2. Check `results.pageInfo.hasNextPage` to see if more data exists
405
+ * 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request
406
+ * 4. Repeat until `hasNextPage` is false
407
+ *
408
+ * Delta sync usage:
409
+ * 1. Store the timestamp of your last sync
410
+ * 2. Pass that timestamp as `changedSinceDate`
411
+ * 3. Only evidence created, modified, shared, or deleted since that timestamp is returned
412
+ * 4. Process updates, including soft-deletes (deletionDate !== null)
413
+ * 5. Update your last sync timestamp to the current time
414
+ */
415
+ async listInformationRequestEvidence(request, options) {
416
+ return (0, fp_js_1.unwrapAsync)((0, auditsListInformationRequestEvidence_js_1.auditsListInformationRequestEvidence)(this, request, options));
417
+ }
418
+ /**
419
+ * Get test snapshot detail for an evidence row
420
+ *
421
+ * @remarks
422
+ * Retrieves the rich detail for a single VANTA_TEST_SNAPSHOT evidence row
423
+ * attached to an information request. The response includes test-level
424
+ * metadata (description, integrations, SLA) and the raw test data captured
425
+ * at snapshot time, presented as a uniform array of rows regardless of
426
+ * whether the snapshot is structured or unstructured.
427
+ *
428
+ * For structured snapshots, the array contains one row per resource the
429
+ * test ran against; each row carries `resourceId`, `resourceType`, and the
430
+ * raw JSON for that resource.
431
+ *
432
+ * For unstructured snapshots, the array contains a single row with
433
+ * `resourceId` and `resourceType` set to `null` and `rawJson` containing
434
+ * the entire test-run JSON blob.
435
+ */
436
+ async getInformationRequestTestSnapshotEvidenceDetail(request, options) {
437
+ return (0, fp_js_1.unwrapAsync)((0, auditsGetInformationRequestTestSnapshotEvidenceDetail_js_1.auditsGetInformationRequestTestSnapshotEvidenceDetail)(this, request, options));
438
+ }
439
+ /**
440
+ * Flag evidence for an information request
441
+ *
442
+ * @remarks
443
+ * Flags evidence for an information request when it doesn't meet audit requirements,
444
+ * marking issues that need to be addressed before approval. This action changes the
445
+ * request's approvalStatus to a flagged state and creates an activity log entry.
446
+ *
447
+ * Flagging workflow:
448
+ * 1. Auditor reviews submitted evidence
449
+ * 2. If issues are found, auditor calls this endpoint with detailed reason
450
+ * 3. Request status changes to flagged state
451
+ * 4. Customer is notified and can see the reason in activity logs
452
+ * 5. Customer addresses issues and updates evidence
453
+ * 6. When ready, customer changes status back to awaiting review
454
+ * 7. Auditor reviews again and either flags again or accepts
455
+ *
456
+ * The `reason` field should clearly explain what's missing or incorrect so the
457
+ * customer knows exactly what to fix. This reason is visible to the customer
458
+ * and appears in the activity log.
459
+ */
460
+ async flagInformationRequestEvidence(request, options) {
461
+ return (0, fp_js_1.unwrapAsync)((0, auditsFlagInformationRequestEvidence_js_1.auditsFlagInformationRequestEvidence)(this, request, options));
462
+ }
463
+ /**
464
+ * List snapshotted issues for an audit
465
+ *
466
+ * @remarks
467
+ * Retrieves a list of all issues that have been shared with an audit.
468
+ *
469
+ * The issues returned are immutable, point-in-time snapshots; there may be duplicates of issues that have been snapshotted at different times.
470
+ * The GET /audits/{auditId}/issues/snapshots endpoint can be used to retrieve metadata about the snapshots that issues belong to.
471
+ * Issues represent compliance findings from a variety of sources that need to be tracked and remediated.
472
+ *
473
+ * Supports filtering by:
474
+ * - `search`: full text search across issue title and description
475
+ * - `snapshotId`: filtering to a specific snapshot or snapshots, which represent point-in-time captures of issues. Use the GET /audits/{auditId}/issues/snapshots endpoint to retrieve snapshot IDs and metadata.
476
+ *
477
+ * Results are sorted by issue creation date in descending order (newest first).
478
+ *
479
+ * Uses cursor-based pagination. To paginate:
480
+ * 1. Make initial request with desired `pageSize`
481
+ * 2. Check `results.pageInfo.hasNextPage`
482
+ * 3. Use `results.pageInfo.endCursor` as `pageCursor` for next request
483
+ */
484
+ async listAuditIssues(request, options) {
485
+ return (0, fp_js_1.unwrapAsync)((0, auditsListAuditIssues_js_1.auditsListAuditIssues)(this, request, options));
486
+ }
487
+ /**
488
+ * List snapshotted issues for an audit
489
+ *
490
+ * @remarks
491
+ * Retrieves a list of snapshots that have been shared with an audit.
492
+ *
493
+ * The snapshots returned contain metadata about point-in-time captures of issues for an audit.
494
+ * This data can be used to filter down the list of issues to specific snapshots when querying the GET /audits/{auditId}/issues/items endpoint.
495
+ *
496
+ * Supports filtering by:
497
+ * - `search`: full text search across snapshot title and description
498
+ *
499
+ * Results are sorted by snapshot creation date in descending order (newest first).
500
+ *
501
+ * Uses cursor-based pagination. To paginate:
502
+ * 1. Make initial request with desired `pageSize`
503
+ * 2. Check `results.pageInfo.hasNextPage`
504
+ * 3. Use `results.pageInfo.endCursor` as `pageCursor` for next request
505
+ */
506
+ async listAuditSnapshots(request, options) {
507
+ return (0, fp_js_1.unwrapAsync)((0, auditsListAuditSnapshots_js_1.auditsListAuditSnapshots)(this, request, options));
508
+ }
509
+ /**
510
+ * Share information request list with customer
511
+ *
512
+ * @remarks
513
+ * Shares the current information request list for an audit with the customer organization,
514
+ * making it visible in their portal. This action allows the customer to see all information
515
+ * requests that have been created for their audit. Only IRL audits are supported.
516
+ */
517
+ async shareInformationRequestList(request, options) {
518
+ return (0, fp_js_1.unwrapAsync)((0, auditsShareInformationRequestList_js_1.auditsShareInformationRequestList)(this, request, options));
100
519
  }
101
520
  }
102
521
  exports.Audits = Audits;
package/sdk/audits.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"audits.js","sourceRoot":"","sources":["../src/sdk/audits.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,kGAA4F;AAC5F,wFAAkF;AAClF,wGAAkG;AAClG,gFAA0E;AAC1E,0DAAoD;AACpD,0EAAoE;AACpE,0EAAoE;AACpE,0EAAoE;AACpE,8EAAwE;AACxE,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,MAAO,SAAQ,mBAAS;IACnC;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAAqC,EACrC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,0BAAU,EAC3B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,eAAe,CACnB,OAAgD,EAChD,OAAwB;QAEx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 import { ClientSDK } from "../lib/sdks.js";
2
2
  import { Auditors } from "./auditors.js";
3
3
  import { Audits } from "./audits.js";
4
4
  export declare class Vanta extends ClientSDK {
5
- private _audits?;
6
- get audits(): Audits;
7
5
  private _auditors?;
8
6
  get auditors(): Auditors;
7
+ private _audits?;
8
+ get audits(): Audits;
9
9
  }
10
10
  //# sourceMappingURL=sdk.d.ts.map
package/sdk/sdk.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAa,KAAM,SAAQ,SAAS;IAClC,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;CACF"}
1
+ {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,qBAAa,KAAM,SAAQ,SAAS;IAClC,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;IAED,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,IAAI,MAAM,IAAI,MAAM,CAEnB;CACF"}
package/sdk/sdk.js CHANGED
@@ -8,12 +8,12 @@ const sdks_js_1 = require("../lib/sdks.js");
8
8
  const auditors_js_1 = require("./auditors.js");
9
9
  const audits_js_1 = require("./audits.js");
10
10
  class Vanta extends sdks_js_1.ClientSDK {
11
- get audits() {
12
- return (this._audits ?? (this._audits = new audits_js_1.Audits(this._options)));
13
- }
14
11
  get auditors() {
15
12
  return (this._auditors ?? (this._auditors = new auditors_js_1.Auditors(this._options)));
16
13
  }
14
+ get audits() {
15
+ return (this._audits ?? (this._audits = new audits_js_1.Audits(this._options)));
16
+ }
17
17
  }
18
18
  exports.Vanta = Vanta;
19
19
  //# sourceMappingURL=sdk.js.map
package/sdk/sdk.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,+CAAyC;AACzC,2CAAqC;AAErC,MAAa,KAAM,SAAQ,mBAAS;IAElC,IAAI,MAAM;QACR,OAAO,CAAC,IAAI,CAAC,OAAO,KAAZ,IAAI,CAAC,OAAO,GAAK,IAAI,kBAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACtD,CAAC;IAGD,IAAI,QAAQ;QACV,OAAO,CAAC,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;CACF;AAVD,sBAUC"}
1
+ {"version":3,"file":"sdk.js","sourceRoot":"","sources":["../src/sdk/sdk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,4CAA2C;AAC3C,+CAAyC;AACzC,2CAAqC;AAErC,MAAa,KAAM,SAAQ,mBAAS;IAElC,IAAI,QAAQ;QACV,OAAO,CAAC,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,IAAI,sBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAC1D,CAAC;IAGD,IAAI,MAAM;QACR,OAAO,CAAC,IAAI,CAAC,OAAO,KAAZ,IAAI,CAAC,OAAO,GAAK,IAAI,kBAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IACtD,CAAC;CACF;AAVD,sBAUC"}