@trycompai/mcp-server 0.3.5 → 0.3.8

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 (262) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +3406 -2340
  3. package/bin/mcp-server.js.map +57 -48
  4. package/esm/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.d.ts +1 -1
  5. package/esm/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.d.ts.map +1 -1
  6. package/esm/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.js +3 -3
  7. package/esm/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.js.map +1 -1
  8. package/esm/funcs/evidenceFormsEvidenceFormsControllerGetFormWithSubmissionsV1.js +1 -1
  9. package/esm/funcs/evidenceFormsEvidenceFormsControllerGetFormWithSubmissionsV1.js.map +1 -1
  10. package/esm/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.d.ts +1 -1
  11. package/esm/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.d.ts.map +1 -1
  12. package/esm/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.js +4 -3
  13. package/esm/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.js.map +1 -1
  14. package/esm/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.d.ts +16 -0
  15. package/esm/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.d.ts.map +1 -0
  16. package/esm/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js +95 -0
  17. package/esm/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js.map +1 -0
  18. package/esm/funcs/findingsFindingsControllerGetOrganizationFindingsV1.js +1 -1
  19. package/esm/funcs/findingsFindingsControllerGetOrganizationFindingsV1.js.map +1 -1
  20. package/esm/funcs/findingsFindingsControllerListFindingsV1.js +1 -1
  21. package/esm/funcs/findingsFindingsControllerListFindingsV1.js.map +1 -1
  22. package/esm/funcs/integrationsConnectionsControllerListProvidersV1.d.ts +1 -1
  23. package/esm/funcs/integrationsConnectionsControllerListProvidersV1.d.ts.map +1 -1
  24. package/esm/funcs/integrationsConnectionsControllerListProvidersV1.js +2 -2
  25. package/esm/funcs/integrationsConnectionsControllerListProvidersV1.js.map +1 -1
  26. package/esm/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.d.ts +1 -1
  27. package/esm/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.d.ts.map +1 -1
  28. package/esm/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.js +3 -2
  29. package/esm/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.js.map +1 -1
  30. package/esm/funcs/ismsISMSControllerSetCoverageV1.d.ts +1 -1
  31. package/esm/funcs/ismsISMSControllerSetCoverageV1.js +1 -1
  32. package/esm/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.d.ts +16 -0
  33. package/esm/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.d.ts.map +1 -0
  34. package/esm/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js +90 -0
  35. package/esm/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js.map +1 -0
  36. package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts +16 -0
  37. package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts.map +1 -0
  38. package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js +90 -0
  39. package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js.map +1 -0
  40. package/esm/funcs/peoplePeopleControllerGetAllPeopleV1.d.ts +1 -1
  41. package/esm/funcs/peoplePeopleControllerGetAllPeopleV1.d.ts.map +1 -1
  42. package/esm/funcs/peoplePeopleControllerGetAllPeopleV1.js +6 -6
  43. package/esm/funcs/peoplePeopleControllerGetAllPeopleV1.js.map +1 -1
  44. package/esm/funcs/policiesPoliciesControllerGetPolicyControlsV1.js +1 -1
  45. package/esm/funcs/policiesPoliciesControllerGetPolicyControlsV1.js.map +1 -1
  46. package/esm/funcs/policiesPoliciesControllerGetPolicyEvidenceTasksV1.js +1 -1
  47. package/esm/funcs/policiesPoliciesControllerGetPolicyEvidenceTasksV1.js.map +1 -1
  48. package/esm/landing-page.js +1 -1
  49. package/esm/lib/config.d.ts +3 -3
  50. package/esm/lib/config.js +3 -3
  51. package/esm/mcp-server/mcp-server.js +1 -1
  52. package/esm/mcp-server/server.d.ts.map +1 -1
  53. package/esm/mcp-server/server.js +8 -2
  54. package/esm/mcp-server/server.js.map +1 -1
  55. package/esm/mcp-server/tools/deviceAgentDeviceAgentControllerGetDeviceStatusV1.d.ts +1 -1
  56. package/esm/mcp-server/tools/deviceAgentDeviceAgentControllerGetDeviceStatusV1.js +1 -1
  57. package/esm/mcp-server/tools/deviceAgentDeviceAgentControllerGetDeviceStatusV1.js.map +1 -1
  58. package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.d.ts +1 -1
  59. package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.d.ts.map +1 -1
  60. package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.js +2 -1
  61. package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.js.map +1 -1
  62. package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.d.ts +7 -0
  63. package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.d.ts.map +1 -0
  64. package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js +35 -0
  65. package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js.map +1 -0
  66. package/esm/mcp-server/tools/integrationsConnectionsControllerListProvidersV1.d.ts +1 -1
  67. package/esm/mcp-server/tools/integrationsConnectionsControllerListProvidersV1.js +1 -1
  68. package/esm/mcp-server/tools/integrationsConnectionsControllerListProvidersV1.js.map +1 -1
  69. package/esm/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.d.ts +1 -1
  70. package/esm/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.d.ts.map +1 -1
  71. package/esm/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.js +2 -1
  72. package/esm/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.js.map +1 -1
  73. package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.js +1 -1
  74. package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.js.map +1 -1
  75. package/esm/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.d.ts +7 -0
  76. package/esm/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.d.ts.map +1 -0
  77. package/esm/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js +35 -0
  78. package/esm/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js.map +1 -0
  79. package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts +7 -0
  80. package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts.map +1 -0
  81. package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js +35 -0
  82. package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js.map +1 -0
  83. package/esm/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.d.ts +1 -1
  84. package/esm/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.js +1 -1
  85. package/esm/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.js.map +1 -1
  86. package/esm/models/automationscontrollergetautomationversionsv1op.d.ts +2 -2
  87. package/esm/models/automationscontrollergetautomationversionsv1op.d.ts.map +1 -1
  88. package/esm/models/automationscontrollergetautomationversionsv1op.js +2 -2
  89. package/esm/models/automationscontrollergetautomationversionsv1op.js.map +1 -1
  90. package/esm/models/connectionscontrollerlistprovidersv1op.d.ts +1 -1
  91. package/esm/models/connectionscontrollerlistprovidersv1op.d.ts.map +1 -1
  92. package/esm/models/connectionscontrollerlistprovidersv1op.js +1 -1
  93. package/esm/models/connectionscontrollerlistprovidersv1op.js.map +1 -1
  94. package/esm/models/controlscontrollerfindonev1op.d.ts +1 -1
  95. package/esm/models/controlscontrollerfindonev1op.d.ts.map +1 -1
  96. package/esm/models/controlscontrollerfindonev1op.js +1 -1
  97. package/esm/models/controlscontrollerfindonev1op.js.map +1 -1
  98. package/esm/models/controlscontrollerlinkdocumenttypesv1op.d.ts +1 -1
  99. package/esm/models/controlscontrollerlinkdocumenttypesv1op.d.ts.map +1 -1
  100. package/esm/models/controlscontrollerlinkdocumenttypesv1op.js +1 -1
  101. package/esm/models/controlscontrollerlinkdocumenttypesv1op.js.map +1 -1
  102. package/esm/models/controlscontrollerlinkpoliciesv1op.d.ts +1 -1
  103. package/esm/models/controlscontrollerlinkpoliciesv1op.d.ts.map +1 -1
  104. package/esm/models/controlscontrollerlinkpoliciesv1op.js +1 -1
  105. package/esm/models/controlscontrollerlinkpoliciesv1op.js.map +1 -1
  106. package/esm/models/controlscontrollerlinktasksv1op.d.ts +1 -1
  107. package/esm/models/controlscontrollerlinktasksv1op.d.ts.map +1 -1
  108. package/esm/models/controlscontrollerlinktasksv1op.js +1 -1
  109. package/esm/models/controlscontrollerlinktasksv1op.js.map +1 -1
  110. package/esm/models/controlscontrollerunlinkdocumenttypev1op.d.ts +1 -1
  111. package/esm/models/controlscontrollerunlinkdocumenttypev1op.d.ts.map +1 -1
  112. package/esm/models/controlscontrollerunlinkdocumenttypev1op.js +1 -1
  113. package/esm/models/controlscontrollerunlinkdocumenttypev1op.js.map +1 -1
  114. package/esm/models/createriskdto.d.ts +1 -1
  115. package/esm/models/createtaskitemdto.d.ts +1 -1
  116. package/esm/models/deviceagentcontrollergetdevicestatusv1op.d.ts +2 -2
  117. package/esm/models/deviceagentcontrollergetdevicestatusv1op.d.ts.map +1 -1
  118. package/esm/models/deviceagentcontrollergetdevicestatusv1op.js +2 -2
  119. package/esm/models/deviceagentcontrollergetdevicestatusv1op.js.map +1 -1
  120. package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.d.ts +212 -3
  121. package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.d.ts.map +1 -1
  122. package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.js +183 -3
  123. package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.js.map +1 -1
  124. package/esm/models/evidenceformscontrollergetmysubmissionsv1op.d.ts +39 -1
  125. package/esm/models/evidenceformscontrollergetmysubmissionsv1op.d.ts.map +1 -1
  126. package/esm/models/evidenceformscontrollergetmysubmissionsv1op.js +36 -1
  127. package/esm/models/evidenceformscontrollergetmysubmissionsv1op.js.map +1 -1
  128. package/esm/models/evidenceformscontrollerlistsubmissionsv1op.d.ts +91 -0
  129. package/esm/models/evidenceformscontrollerlistsubmissionsv1op.d.ts.map +1 -0
  130. package/esm/models/evidenceformscontrollerlistsubmissionsv1op.js +82 -0
  131. package/esm/models/evidenceformscontrollerlistsubmissionsv1op.js.map +1 -0
  132. package/esm/models/findingscontrollergetorganizationfindingsv1op.d.ts +246 -4
  133. package/esm/models/findingscontrollergetorganizationfindingsv1op.d.ts.map +1 -1
  134. package/esm/models/findingscontrollergetorganizationfindingsv1op.js +225 -4
  135. package/esm/models/findingscontrollergetorganizationfindingsv1op.js.map +1 -1
  136. package/esm/models/findingscontrollerlistfindingsv1op.d.ts +258 -16
  137. package/esm/models/findingscontrollerlistfindingsv1op.d.ts.map +1 -1
  138. package/esm/models/findingscontrollerlistfindingsv1op.js +239 -13
  139. package/esm/models/findingscontrollerlistfindingsv1op.js.map +1 -1
  140. package/esm/models/ismscontrollersetcoveragev1op.d.ts +1 -1
  141. package/esm/models/ismscontrollersetcoveragev1op.js +3 -3
  142. package/esm/models/ismscontrollersetcoveragev1op.js.map +1 -1
  143. package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts +68 -0
  144. package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts.map +1 -1
  145. package/esm/models/ismsregisterscontrollercreaterowv1op.js +68 -0
  146. package/esm/models/ismsregisterscontrollercreaterowv1op.js.map +1 -1
  147. package/esm/models/ismsregisterscontrollerdeleterowv1op.d.ts +10 -0
  148. package/esm/models/ismsregisterscontrollerdeleterowv1op.d.ts.map +1 -1
  149. package/esm/models/ismsregisterscontrollerdeleterowv1op.js +10 -0
  150. package/esm/models/ismsregisterscontrollerdeleterowv1op.js.map +1 -1
  151. package/esm/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.d.ts +14 -0
  152. package/esm/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.d.ts.map +1 -0
  153. package/esm/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.js +14 -0
  154. package/esm/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.js.map +1 -0
  155. package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.d.ts +14 -0
  156. package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.d.ts.map +1 -0
  157. package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js +13 -0
  158. package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js.map +1 -0
  159. package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts +68 -0
  160. package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts.map +1 -1
  161. package/esm/models/ismsregisterscontrollerupdaterowv1op.js +68 -0
  162. package/esm/models/ismsregisterscontrollerupdaterowv1op.js.map +1 -1
  163. package/esm/models/peoplecontrollerdeletememberv1op.d.ts +1 -1
  164. package/esm/models/peoplecontrollerdeletememberv1op.d.ts.map +1 -1
  165. package/esm/models/peoplecontrollerdeletememberv1op.js +1 -1
  166. package/esm/models/peoplecontrollerdeletememberv1op.js.map +1 -1
  167. package/esm/models/peoplecontrollergetallpeoplev1op.d.ts +5 -5
  168. package/esm/models/peoplecontrollergetallpeoplev1op.d.ts.map +1 -1
  169. package/esm/models/peoplecontrollergetallpeoplev1op.js +5 -5
  170. package/esm/models/peoplecontrollergetallpeoplev1op.js.map +1 -1
  171. package/esm/models/policiescontrollergetpolicycontrolsv1op.d.ts +58 -0
  172. package/esm/models/policiescontrollergetpolicycontrolsv1op.d.ts.map +1 -1
  173. package/esm/models/policiescontrollergetpolicycontrolsv1op.js +42 -0
  174. package/esm/models/policiescontrollergetpolicycontrolsv1op.js.map +1 -1
  175. package/esm/models/policiescontrollergetpolicyevidencetasksv1op.d.ts +104 -0
  176. package/esm/models/policiescontrollergetpolicyevidencetasksv1op.d.ts.map +1 -1
  177. package/esm/models/policiescontrollergetpolicyevidencetasksv1op.js +90 -0
  178. package/esm/models/policiescontrollergetpolicyevidencetasksv1op.js.map +1 -1
  179. package/esm/models/riskscontrollercreateriskv1op.d.ts +1 -1
  180. package/esm/models/riskscontrollergetallrisksv1op.d.ts +2 -2
  181. package/esm/models/riskscontrollergetriskbyidv1op.d.ts +1 -1
  182. package/esm/models/riskscontrollerupdateriskv1op.d.ts +1 -1
  183. package/esm/models/searchresultdto.d.ts +1 -1
  184. package/esm/models/synccontrollergetavailablesyncprovidersv1op.d.ts +17 -1
  185. package/esm/models/synccontrollergetavailablesyncprovidersv1op.d.ts.map +1 -1
  186. package/esm/models/synccontrollergetavailablesyncprovidersv1op.js +12 -1
  187. package/esm/models/synccontrollergetavailablesyncprovidersv1op.js.map +1 -1
  188. package/esm/models/taskintegrationscontrollergettaskcheckrunsv1op.d.ts +1 -1
  189. package/esm/models/taskintegrationscontrollergettaskcheckrunsv1op.d.ts.map +1 -1
  190. package/esm/models/taskintegrationscontrollergettaskcheckrunsv1op.js +1 -1
  191. package/esm/models/taskintegrationscontrollergettaskcheckrunsv1op.js.map +1 -1
  192. package/esm/models/taskitemresponsedto.d.ts +1 -1
  193. package/esm/models/taskmanagementcontrollergettaskitemsv1op.d.ts +1 -1
  194. package/esm/models/taskresponsedto.d.ts +1 -1
  195. package/esm/models/taskscontrollergettaskactivityv1op.d.ts +2 -2
  196. package/esm/models/taskscontrollergettaskactivityv1op.d.ts.map +1 -1
  197. package/esm/models/taskscontrollergettaskactivityv1op.js +3 -2
  198. package/esm/models/taskscontrollergettaskactivityv1op.js.map +1 -1
  199. package/esm/models/taskscontrollerreordertasksv1op.d.ts +1 -1
  200. package/esm/models/taskscontrollerupdatetasksstatusv1op.d.ts +1 -1
  201. package/esm/models/taskscontrollerupdatetaskv1op.d.ts +1 -1
  202. package/esm/models/trustaccesscontrollerlistaccessrequestsv1op.d.ts +1 -1
  203. package/esm/models/updateriskdto.d.ts +1 -1
  204. package/esm/models/updatetaskitemdto.d.ts +1 -1
  205. package/esm/tool-names.d.ts.map +1 -1
  206. package/esm/tool-names.js +17 -5
  207. package/esm/tool-names.js.map +1 -1
  208. package/package.json +1 -1
  209. package/src/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.ts +7 -5
  210. package/src/funcs/evidenceFormsEvidenceFormsControllerGetFormWithSubmissionsV1.ts +1 -1
  211. package/src/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.ts +6 -5
  212. package/src/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.ts +165 -0
  213. package/src/funcs/findingsFindingsControllerGetOrganizationFindingsV1.ts +1 -1
  214. package/src/funcs/findingsFindingsControllerListFindingsV1.ts +1 -1
  215. package/src/funcs/integrationsConnectionsControllerListProvidersV1.ts +6 -4
  216. package/src/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.ts +5 -4
  217. package/src/funcs/ismsISMSControllerSetCoverageV1.ts +1 -1
  218. package/src/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.ts +158 -0
  219. package/src/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.ts +158 -0
  220. package/src/funcs/peoplePeopleControllerGetAllPeopleV1.ts +9 -8
  221. package/src/funcs/policiesPoliciesControllerGetPolicyControlsV1.ts +1 -1
  222. package/src/funcs/policiesPoliciesControllerGetPolicyEvidenceTasksV1.ts +1 -1
  223. package/src/landing-page.ts +1 -1
  224. package/src/lib/config.ts +3 -3
  225. package/src/mcp-server/mcp-server.ts +1 -1
  226. package/src/mcp-server/server.ts +8 -2
  227. package/src/mcp-server/tools/deviceAgentDeviceAgentControllerGetDeviceStatusV1.ts +1 -1
  228. package/src/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.ts +2 -1
  229. package/src/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.ts +45 -0
  230. package/src/mcp-server/tools/integrationsConnectionsControllerListProvidersV1.ts +1 -1
  231. package/src/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.ts +2 -1
  232. package/src/mcp-server/tools/ismsISMSControllerSetCoverageV1.ts +1 -1
  233. package/src/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.ts +46 -0
  234. package/src/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.ts +46 -0
  235. package/src/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.ts +1 -1
  236. package/src/models/automationscontrollergetautomationversionsv1op.ts +6 -4
  237. package/src/models/connectionscontrollerlistprovidersv1op.ts +4 -2
  238. package/src/models/controlscontrollerfindonev1op.ts +4 -2
  239. package/src/models/controlscontrollerlinkdocumenttypesv1op.ts +4 -2
  240. package/src/models/controlscontrollerlinkpoliciesv1op.ts +4 -2
  241. package/src/models/controlscontrollerlinktasksv1op.ts +4 -2
  242. package/src/models/controlscontrollerunlinkdocumenttypev1op.ts +4 -2
  243. package/src/models/deviceagentcontrollergetdevicestatusv1op.ts +8 -4
  244. package/src/models/evidenceformscontrollergetformwithsubmissionsv1op.ts +342 -6
  245. package/src/models/evidenceformscontrollergetmysubmissionsv1op.ts +48 -2
  246. package/src/models/evidenceformscontrollerlistsubmissionsv1op.ts +162 -0
  247. package/src/models/findingscontrollergetorganizationfindingsv1op.ts +459 -8
  248. package/src/models/findingscontrollerlistfindingsv1op.ts +456 -34
  249. package/src/models/ismscontrollersetcoveragev1op.ts +4 -4
  250. package/src/models/ismsregisterscontrollercreaterowv1op.ts +100 -0
  251. package/src/models/ismsregisterscontrollerdeleterowv1op.ts +10 -0
  252. package/src/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.ts +39 -0
  253. package/src/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.ts +38 -0
  254. package/src/models/ismsregisterscontrollerupdaterowv1op.ts +100 -0
  255. package/src/models/peoplecontrollerdeletememberv1op.ts +4 -2
  256. package/src/models/peoplecontrollergetallpeoplev1op.ts +20 -10
  257. package/src/models/policiescontrollergetpolicycontrolsv1op.ts +114 -0
  258. package/src/models/policiescontrollergetpolicyevidencetasksv1op.ts +194 -0
  259. package/src/models/synccontrollergetavailablesyncprovidersv1op.ts +22 -2
  260. package/src/models/taskintegrationscontrollergettaskcheckrunsv1op.ts +4 -2
  261. package/src/models/taskscontrollergettaskactivityv1op.ts +5 -4
  262. package/src/tool-names.ts +17 -5
@@ -28,6 +28,11 @@ export const IsmsRegistersControllerCreateRowV1Register = {
28
28
  Obligations: "obligations",
29
29
  KeyRecords: "key-records",
30
30
  ApprovedSoftware: "approved-software",
31
+ Nonconformities: "nonconformities",
32
+ BusinessProcesses: "business-processes",
33
+ ContinuityPlaybooks: "continuity-playbooks",
34
+ ContinuityContacts: "continuity-contacts",
35
+ RecoverySystems: "recovery-systems",
31
36
  } as const;
32
37
  /**
33
38
  * Which ISMS register the row belongs to.
@@ -55,6 +60,11 @@ export const IsmsRegistersControllerCreateRowV1Register$zodSchema = z.enum([
55
60
  "obligations",
56
61
  "key-records",
57
62
  "approved-software",
63
+ "nonconformities",
64
+ "business-processes",
65
+ "continuity-playbooks",
66
+ "continuity-contacts",
67
+ "recovery-systems",
58
68
  ]).describe("Which ISMS register the row belongs to.");
59
69
 
60
70
  export const IsmsRegistersControllerCreateRowV1Kind = {
@@ -92,6 +102,8 @@ export const IsmsRegistersControllerCreateRowV1Status = {
92
102
  Complete: "complete",
93
103
  Open: "open",
94
104
  Closed: "closed",
105
+ ActionComplete: "action_complete",
106
+ VerifiedAndClosed: "verified_and_closed",
95
107
  } as const;
96
108
  export type IsmsRegistersControllerCreateRowV1Status = ClosedEnum<
97
109
  typeof IsmsRegistersControllerCreateRowV1Status
@@ -107,6 +119,8 @@ export const IsmsRegistersControllerCreateRowV1Status$zodSchema = z.enum([
107
119
  "complete",
108
120
  "open",
109
121
  "closed",
122
+ "action_complete",
123
+ "verified_and_closed",
110
124
  ]);
111
125
 
112
126
  export const IsmsRegistersControllerCreateRowV1AuditRoute = {
@@ -242,6 +256,9 @@ export const IsmsRegistersControllerCreateRowV1Type = {
242
256
  NcMinor: "nc_minor",
243
257
  Ofi: "ofi",
244
258
  Observation: "observation",
259
+ MinorNonconformity: "minor_nonconformity",
260
+ MajorNonconformity: "major_nonconformity",
261
+ ImprovementOpportunity: "improvement_opportunity",
245
262
  } as const;
246
263
  export type IsmsRegistersControllerCreateRowV1Type = ClosedEnum<
247
264
  typeof IsmsRegistersControllerCreateRowV1Type
@@ -252,6 +269,9 @@ export const IsmsRegistersControllerCreateRowV1Type$zodSchema = z.enum([
252
269
  "nc_minor",
253
270
  "ofi",
254
271
  "observation",
272
+ "minor_nonconformity",
273
+ "major_nonconformity",
274
+ "improvement_opportunity",
255
275
  ]);
256
276
 
257
277
  export const IsmsRegistersControllerCreateRowV1Audience = {
@@ -380,6 +400,53 @@ export const IsmsRegistersControllerCreateRowV1Licence$zodSchema = z.enum([
380
400
  "internal",
381
401
  ]);
382
402
 
403
+ export const IsmsRegistersControllerCreateRowV1Source = {
404
+ InternalAudit: "internal_audit",
405
+ ExternalAudit: "external_audit",
406
+ Incident: "incident",
407
+ ManagementReview: "management_review",
408
+ ControlOrTaskFailure: "control_or_task_failure",
409
+ CustomerOrVendorIssue: "customer_or_vendor_issue",
410
+ Other: "other",
411
+ } as const;
412
+ export type IsmsRegistersControllerCreateRowV1Source = ClosedEnum<
413
+ typeof IsmsRegistersControllerCreateRowV1Source
414
+ >;
415
+
416
+ export const IsmsRegistersControllerCreateRowV1Source$zodSchema = z.enum([
417
+ "internal_audit",
418
+ "external_audit",
419
+ "incident",
420
+ "management_review",
421
+ "control_or_task_failure",
422
+ "customer_or_vendor_issue",
423
+ "other",
424
+ ]);
425
+
426
+ export const IsmsRegistersControllerCreateRowV1RootCauseCategory = {
427
+ ProcessNotDefined: "process_not_defined",
428
+ ProcessDefinedButNotFollowed: "process_defined_but_not_followed",
429
+ NoOwnerAssigned: "no_owner_assigned",
430
+ LackOfAwarenessOrTraining: "lack_of_awareness_or_training",
431
+ ToolingOrSystemGap: "tooling_or_system_gap",
432
+ ResourceConstraint: "resource_constraint",
433
+ OneOffHumanError: "one_off_human_error",
434
+ } as const;
435
+ export type IsmsRegistersControllerCreateRowV1RootCauseCategory = ClosedEnum<
436
+ typeof IsmsRegistersControllerCreateRowV1RootCauseCategory
437
+ >;
438
+
439
+ export const IsmsRegistersControllerCreateRowV1RootCauseCategory$zodSchema = z
440
+ .enum([
441
+ "process_not_defined",
442
+ "process_defined_but_not_followed",
443
+ "no_owner_assigned",
444
+ "lack_of_awareness_or_training",
445
+ "tooling_or_system_gap",
446
+ "resource_constraint",
447
+ "one_off_human_error",
448
+ ]);
449
+
383
450
  export type IsmsRegistersControllerCreateRowV1Attendee = {
384
451
  memberId: string;
385
452
  name: string;
@@ -513,6 +580,19 @@ export type IsmsRegistersControllerCreateRowV1RequestBody = {
513
580
  vendorId?: string | null | undefined;
514
581
  usedWhere?: IsmsRegistersControllerCreateRowV1UsedWhere | null | undefined;
515
582
  licence?: IsmsRegistersControllerCreateRowV1Licence | null | undefined;
583
+ raisedAt?: string | undefined;
584
+ source?: IsmsRegistersControllerCreateRowV1Source | undefined;
585
+ correction?: string | null | undefined;
586
+ rootCauseCategory?:
587
+ | IsmsRegistersControllerCreateRowV1RootCauseCategory
588
+ | null
589
+ | undefined;
590
+ rootCause?: string | null | undefined;
591
+ correctiveAction?: string | null | undefined;
592
+ actionCompletedAt?: string | null | undefined;
593
+ verifiedByMemberId?: string | null | undefined;
594
+ verifiedAt?: string | null | undefined;
595
+ verificationCheck?: string | null | undefined;
516
596
  position?: number | undefined;
517
597
  };
518
598
 
@@ -526,6 +606,7 @@ export const IsmsRegistersControllerCreateRowV1RequestBody$zodSchema: z.ZodType<
526
606
  accessText: z.string().nullable().optional().describe(
527
607
  "Free-text access holder, for answers no picker can express (e.g. \"Each individual\")",
528
608
  ),
609
+ actionCompletedAt: z.string().nullable().optional(),
529
610
  analyzeMemberId: z.string().nullable().optional(),
530
611
  attendees: z.array(
531
612
  z.lazy(() => IsmsRegistersControllerCreateRowV1Attendee$zodSchema),
@@ -564,6 +645,12 @@ export const IsmsRegistersControllerCreateRowV1RequestBody$zodSchema: z.ZodType<
564
645
  ),
565
646
  controlId: z.string().nullable().optional(),
566
647
  controlRef: z.string().optional(),
648
+ correction: z.string().nullable().optional().describe(
649
+ "The immediate fix, as opposed to the corrective action",
650
+ ),
651
+ correctiveAction: z.string().nullable().optional().describe(
652
+ "What stops the nonconformity recurring",
653
+ ),
567
654
  criteria: z.string().optional(),
568
655
  decisionsText: z.string().nullable().optional(),
569
656
  description: z.string().optional(),
@@ -615,6 +702,9 @@ export const IsmsRegistersControllerCreateRowV1RequestBody$zodSchema: z.ZodType<
615
702
  position: z.int().optional(),
616
703
  protects: z.string().optional(),
617
704
  purpose: z.string().nullable().optional(),
705
+ raisedAt: z.string().optional().describe(
706
+ "Date the entry was raised (YYYY-MM-DD); defaults to today",
707
+ ),
618
708
  recipients: z.string().optional(),
619
709
  remediationAction: z.string().nullable().optional(),
620
710
  remediationDueDate: z.string().nullable().optional(),
@@ -625,6 +715,10 @@ export const IsmsRegistersControllerCreateRowV1RequestBody$zodSchema: z.ZodType<
625
715
  .optional(),
626
716
  reviewId: z.string().optional(),
627
717
  roleId: z.string().optional(),
718
+ rootCause: z.string().nullable().optional(),
719
+ rootCauseCategory:
720
+ IsmsRegistersControllerCreateRowV1RootCauseCategory$zodSchema.nullable()
721
+ .optional(),
628
722
  rotation: IsmsRegistersControllerCreateRowV1Rotation$zodSchema.optional(),
629
723
  rotationNote: z.string().nullable().optional().describe(
630
724
  "Only kept when rotation is not_rotated",
@@ -638,6 +732,7 @@ export const IsmsRegistersControllerCreateRowV1RequestBody$zodSchema: z.ZodType<
638
732
  signoffSpoName: z.string().nullable().optional(),
639
733
  signoffTopMgmtDate: z.string().nullable().optional(),
640
734
  signoffTopMgmtName: z.string().nullable().optional(),
735
+ source: IsmsRegistersControllerCreateRowV1Source$zodSchema.optional(),
641
736
  status: IsmsRegistersControllerCreateRowV1Status$zodSchema.optional(),
642
737
  target: z.string().optional(),
643
738
  targetDate: z.string().nullable().optional().describe(
@@ -659,6 +754,11 @@ export const IsmsRegistersControllerCreateRowV1RequestBody$zodSchema: z.ZodType<
659
754
  vendorId: z.string().nullable().optional().describe(
660
755
  "Links the row to a vendor; the name then renders live",
661
756
  ),
757
+ verificationCheck: z.string().nullable().optional().describe(
758
+ "How effectiveness was confirmed",
759
+ ),
760
+ verifiedAt: z.string().nullable().optional(),
761
+ verifiedByMemberId: z.string().nullable().optional(),
662
762
  what: z.string().optional(),
663
763
  whatIsMeasured: z.string().optional(),
664
764
  whatItCovers: z.string().optional(),
@@ -28,6 +28,11 @@ export const IsmsRegistersControllerDeleteRowV1Register = {
28
28
  Obligations: "obligations",
29
29
  KeyRecords: "key-records",
30
30
  ApprovedSoftware: "approved-software",
31
+ Nonconformities: "nonconformities",
32
+ BusinessProcesses: "business-processes",
33
+ ContinuityPlaybooks: "continuity-playbooks",
34
+ ContinuityContacts: "continuity-contacts",
35
+ RecoverySystems: "recovery-systems",
31
36
  } as const;
32
37
  /**
33
38
  * Which ISMS register the row belongs to.
@@ -55,6 +60,11 @@ export const IsmsRegistersControllerDeleteRowV1Register$zodSchema = z.enum([
55
60
  "obligations",
56
61
  "key-records",
57
62
  "approved-software",
63
+ "nonconformities",
64
+ "business-processes",
65
+ "continuity-playbooks",
66
+ "continuity-contacts",
67
+ "recovery-systems",
58
68
  ]).describe("Which ISMS register the row belongs to.");
59
69
 
60
70
  export type IsmsRegistersControllerDeleteRowV1Request = {
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 77345d273096
4
+ */
5
+
6
+ import * as z from "zod";
7
+
8
+ /**
9
+ * Internal-audit findings to raise as Nonconformity Register entries
10
+ */
11
+ export type IsmsRegistersControllerImportFindingsAsNonconformitiesV1RequestBody =
12
+ { findingIds: Array<string> };
13
+
14
+ export const IsmsRegistersControllerImportFindingsAsNonconformitiesV1RequestBody$zodSchema:
15
+ z.ZodType<
16
+ IsmsRegistersControllerImportFindingsAsNonconformitiesV1RequestBody
17
+ > = z.object({
18
+ findingIds: z.array(z.string()).describe(
19
+ "Finding ids from an Internal Audit document in the same framework as this register.",
20
+ ),
21
+ }).describe(
22
+ "Internal-audit findings to raise as Nonconformity Register entries",
23
+ );
24
+
25
+ export type IsmsRegistersControllerImportFindingsAsNonconformitiesV1Request = {
26
+ id: string;
27
+ body: IsmsRegistersControllerImportFindingsAsNonconformitiesV1RequestBody;
28
+ };
29
+
30
+ export const IsmsRegistersControllerImportFindingsAsNonconformitiesV1Request$zodSchema:
31
+ z.ZodType<IsmsRegistersControllerImportFindingsAsNonconformitiesV1Request> = z
32
+ .object({
33
+ body: z.lazy(() =>
34
+ IsmsRegistersControllerImportFindingsAsNonconformitiesV1RequestBody$zodSchema
35
+ ).describe(
36
+ "Internal-audit findings to raise as Nonconformity Register entries",
37
+ ),
38
+ id: z.string(),
39
+ });
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: bcd04bf05e98
4
+ */
5
+
6
+ import * as z from "zod";
7
+
8
+ /**
9
+ * Vendors to add to the continuity contact list in one confirm action
10
+ */
11
+ export type IsmsRegistersControllerImportVendorsAsContinuityContactsV1RequestBody =
12
+ { vendorIds: Array<string> };
13
+
14
+ export const IsmsRegistersControllerImportVendorsAsContinuityContactsV1RequestBody$zodSchema:
15
+ z.ZodType<
16
+ IsmsRegistersControllerImportVendorsAsContinuityContactsV1RequestBody
17
+ > = z.object({
18
+ vendorIds: z.array(z.string()),
19
+ }).describe(
20
+ "Vendors to add to the continuity contact list in one confirm action",
21
+ );
22
+
23
+ export type IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request =
24
+ {
25
+ id: string;
26
+ body: IsmsRegistersControllerImportVendorsAsContinuityContactsV1RequestBody;
27
+ };
28
+
29
+ export const IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request$zodSchema:
30
+ z.ZodType<IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request> =
31
+ z.object({
32
+ body: z.lazy(() =>
33
+ IsmsRegistersControllerImportVendorsAsContinuityContactsV1RequestBody$zodSchema
34
+ ).describe(
35
+ "Vendors to add to the continuity contact list in one confirm action",
36
+ ),
37
+ id: z.string(),
38
+ });
@@ -28,6 +28,11 @@ export const IsmsRegistersControllerUpdateRowV1Register = {
28
28
  Obligations: "obligations",
29
29
  KeyRecords: "key-records",
30
30
  ApprovedSoftware: "approved-software",
31
+ Nonconformities: "nonconformities",
32
+ BusinessProcesses: "business-processes",
33
+ ContinuityPlaybooks: "continuity-playbooks",
34
+ ContinuityContacts: "continuity-contacts",
35
+ RecoverySystems: "recovery-systems",
31
36
  } as const;
32
37
  /**
33
38
  * Which ISMS register the row belongs to.
@@ -55,6 +60,11 @@ export const IsmsRegistersControllerUpdateRowV1Register$zodSchema = z.enum([
55
60
  "obligations",
56
61
  "key-records",
57
62
  "approved-software",
63
+ "nonconformities",
64
+ "business-processes",
65
+ "continuity-playbooks",
66
+ "continuity-contacts",
67
+ "recovery-systems",
58
68
  ]).describe("Which ISMS register the row belongs to.");
59
69
 
60
70
  export const IsmsRegistersControllerUpdateRowV1Kind = {
@@ -92,6 +102,8 @@ export const IsmsRegistersControllerUpdateRowV1Status = {
92
102
  Complete: "complete",
93
103
  Open: "open",
94
104
  Closed: "closed",
105
+ ActionComplete: "action_complete",
106
+ VerifiedAndClosed: "verified_and_closed",
95
107
  } as const;
96
108
  export type IsmsRegistersControllerUpdateRowV1Status = ClosedEnum<
97
109
  typeof IsmsRegistersControllerUpdateRowV1Status
@@ -107,6 +119,8 @@ export const IsmsRegistersControllerUpdateRowV1Status$zodSchema = z.enum([
107
119
  "complete",
108
120
  "open",
109
121
  "closed",
122
+ "action_complete",
123
+ "verified_and_closed",
110
124
  ]);
111
125
 
112
126
  export const IsmsRegistersControllerUpdateRowV1AuditRoute = {
@@ -242,6 +256,9 @@ export const IsmsRegistersControllerUpdateRowV1Type = {
242
256
  NcMinor: "nc_minor",
243
257
  Ofi: "ofi",
244
258
  Observation: "observation",
259
+ MinorNonconformity: "minor_nonconformity",
260
+ MajorNonconformity: "major_nonconformity",
261
+ ImprovementOpportunity: "improvement_opportunity",
245
262
  } as const;
246
263
  export type IsmsRegistersControllerUpdateRowV1Type = ClosedEnum<
247
264
  typeof IsmsRegistersControllerUpdateRowV1Type
@@ -252,6 +269,9 @@ export const IsmsRegistersControllerUpdateRowV1Type$zodSchema = z.enum([
252
269
  "nc_minor",
253
270
  "ofi",
254
271
  "observation",
272
+ "minor_nonconformity",
273
+ "major_nonconformity",
274
+ "improvement_opportunity",
255
275
  ]);
256
276
 
257
277
  export const IsmsRegistersControllerUpdateRowV1Audience = {
@@ -380,6 +400,53 @@ export const IsmsRegistersControllerUpdateRowV1Licence$zodSchema = z.enum([
380
400
  "internal",
381
401
  ]);
382
402
 
403
+ export const IsmsRegistersControllerUpdateRowV1Source = {
404
+ InternalAudit: "internal_audit",
405
+ ExternalAudit: "external_audit",
406
+ Incident: "incident",
407
+ ManagementReview: "management_review",
408
+ ControlOrTaskFailure: "control_or_task_failure",
409
+ CustomerOrVendorIssue: "customer_or_vendor_issue",
410
+ Other: "other",
411
+ } as const;
412
+ export type IsmsRegistersControllerUpdateRowV1Source = ClosedEnum<
413
+ typeof IsmsRegistersControllerUpdateRowV1Source
414
+ >;
415
+
416
+ export const IsmsRegistersControllerUpdateRowV1Source$zodSchema = z.enum([
417
+ "internal_audit",
418
+ "external_audit",
419
+ "incident",
420
+ "management_review",
421
+ "control_or_task_failure",
422
+ "customer_or_vendor_issue",
423
+ "other",
424
+ ]);
425
+
426
+ export const IsmsRegistersControllerUpdateRowV1RootCauseCategory = {
427
+ ProcessNotDefined: "process_not_defined",
428
+ ProcessDefinedButNotFollowed: "process_defined_but_not_followed",
429
+ NoOwnerAssigned: "no_owner_assigned",
430
+ LackOfAwarenessOrTraining: "lack_of_awareness_or_training",
431
+ ToolingOrSystemGap: "tooling_or_system_gap",
432
+ ResourceConstraint: "resource_constraint",
433
+ OneOffHumanError: "one_off_human_error",
434
+ } as const;
435
+ export type IsmsRegistersControllerUpdateRowV1RootCauseCategory = ClosedEnum<
436
+ typeof IsmsRegistersControllerUpdateRowV1RootCauseCategory
437
+ >;
438
+
439
+ export const IsmsRegistersControllerUpdateRowV1RootCauseCategory$zodSchema = z
440
+ .enum([
441
+ "process_not_defined",
442
+ "process_defined_but_not_followed",
443
+ "no_owner_assigned",
444
+ "lack_of_awareness_or_training",
445
+ "tooling_or_system_gap",
446
+ "resource_constraint",
447
+ "one_off_human_error",
448
+ ]);
449
+
383
450
  export type IsmsRegistersControllerUpdateRowV1Attendee = {
384
451
  memberId: string;
385
452
  name: string;
@@ -513,6 +580,19 @@ export type IsmsRegistersControllerUpdateRowV1RequestBody = {
513
580
  vendorId?: string | null | undefined;
514
581
  usedWhere?: IsmsRegistersControllerUpdateRowV1UsedWhere | null | undefined;
515
582
  licence?: IsmsRegistersControllerUpdateRowV1Licence | null | undefined;
583
+ raisedAt?: string | undefined;
584
+ source?: IsmsRegistersControllerUpdateRowV1Source | undefined;
585
+ correction?: string | null | undefined;
586
+ rootCauseCategory?:
587
+ | IsmsRegistersControllerUpdateRowV1RootCauseCategory
588
+ | null
589
+ | undefined;
590
+ rootCause?: string | null | undefined;
591
+ correctiveAction?: string | null | undefined;
592
+ actionCompletedAt?: string | null | undefined;
593
+ verifiedByMemberId?: string | null | undefined;
594
+ verifiedAt?: string | null | undefined;
595
+ verificationCheck?: string | null | undefined;
516
596
  position?: number | undefined;
517
597
  };
518
598
 
@@ -526,6 +606,7 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
526
606
  accessText: z.string().nullable().optional().describe(
527
607
  "Free-text access holder, for answers no picker can express (e.g. \"Each individual\")",
528
608
  ),
609
+ actionCompletedAt: z.string().nullable().optional(),
529
610
  analyzeMemberId: z.string().nullable().optional(),
530
611
  attendees: z.array(
531
612
  z.lazy(() => IsmsRegistersControllerUpdateRowV1Attendee$zodSchema),
@@ -564,6 +645,12 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
564
645
  ),
565
646
  controlId: z.string().nullable().optional(),
566
647
  controlRef: z.string().optional(),
648
+ correction: z.string().nullable().optional().describe(
649
+ "The immediate fix, as opposed to the corrective action",
650
+ ),
651
+ correctiveAction: z.string().nullable().optional().describe(
652
+ "What stops the nonconformity recurring",
653
+ ),
567
654
  criteria: z.string().optional(),
568
655
  decisionsText: z.string().nullable().optional(),
569
656
  description: z.string().optional(),
@@ -615,6 +702,9 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
615
702
  position: z.int().optional(),
616
703
  protects: z.string().optional(),
617
704
  purpose: z.string().nullable().optional(),
705
+ raisedAt: z.string().optional().describe(
706
+ "Date the entry was raised (YYYY-MM-DD); defaults to today",
707
+ ),
618
708
  recipients: z.string().optional(),
619
709
  remediationAction: z.string().nullable().optional(),
620
710
  remediationDueDate: z.string().nullable().optional(),
@@ -625,6 +715,10 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
625
715
  .optional(),
626
716
  reviewId: z.string().optional(),
627
717
  roleId: z.string().optional(),
718
+ rootCause: z.string().nullable().optional(),
719
+ rootCauseCategory:
720
+ IsmsRegistersControllerUpdateRowV1RootCauseCategory$zodSchema.nullable()
721
+ .optional(),
628
722
  rotation: IsmsRegistersControllerUpdateRowV1Rotation$zodSchema.optional(),
629
723
  rotationNote: z.string().nullable().optional().describe(
630
724
  "Only kept when rotation is not_rotated",
@@ -638,6 +732,7 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
638
732
  signoffSpoName: z.string().nullable().optional(),
639
733
  signoffTopMgmtDate: z.string().nullable().optional(),
640
734
  signoffTopMgmtName: z.string().nullable().optional(),
735
+ source: IsmsRegistersControllerUpdateRowV1Source$zodSchema.optional(),
641
736
  status: IsmsRegistersControllerUpdateRowV1Status$zodSchema.optional(),
642
737
  target: z.string().optional(),
643
738
  targetDate: z.string().nullable().optional().describe(
@@ -659,6 +754,11 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
659
754
  vendorId: z.string().nullable().optional().describe(
660
755
  "Links the row to a vendor; the name then renders live",
661
756
  ),
757
+ verificationCheck: z.string().nullable().optional().describe(
758
+ "How effectiveness was confirmed",
759
+ ),
760
+ verifiedAt: z.string().nullable().optional(),
761
+ verifiedByMemberId: z.string().nullable().optional(),
662
762
  what: z.string().optional(),
663
763
  whatIsMeasured: z.string().optional(),
664
764
  whatItCovers: z.string().optional(),
@@ -27,14 +27,16 @@ export const PeopleControllerDeleteMemberV1AuthType$zodSchema = z.enum([
27
27
 
28
28
  export type PeopleControllerDeleteMemberV1Request = {
29
29
  id: string;
30
- skipOffboarding: string;
30
+ skipOffboarding?: string | undefined;
31
31
  };
32
32
 
33
33
  export const PeopleControllerDeleteMemberV1Request$zodSchema: z.ZodType<
34
34
  PeopleControllerDeleteMemberV1Request
35
35
  > = z.object({
36
36
  id: z.string().describe("Member ID"),
37
- skipOffboarding: z.string(),
37
+ skipOffboarding: z.string().describe(
38
+ "Pass true to delete without running the offboarding flow",
39
+ ).optional(),
38
40
  });
39
41
 
40
42
  /**
@@ -30,21 +30,31 @@ export const PeopleControllerGetAllPeopleV1AuthType$zodSchema = z.enum([
30
30
  ]).describe("How the request was authenticated");
31
31
 
32
32
  export type PeopleControllerGetAllPeopleV1Request = {
33
- includeDeactivated: string;
34
- onboardAfter: string;
35
- onboardBefore: string;
36
- offboardAfter: string;
37
- offboardBefore: string;
33
+ includeDeactivated?: string | undefined;
34
+ onboardAfter?: string | undefined;
35
+ onboardBefore?: string | undefined;
36
+ offboardAfter?: string | undefined;
37
+ offboardBefore?: string | undefined;
38
38
  };
39
39
 
40
40
  export const PeopleControllerGetAllPeopleV1Request$zodSchema: z.ZodType<
41
41
  PeopleControllerGetAllPeopleV1Request
42
42
  > = z.object({
43
- includeDeactivated: z.string(),
44
- offboardAfter: z.string(),
45
- offboardBefore: z.string(),
46
- onboardAfter: z.string(),
47
- onboardBefore: z.string(),
43
+ includeDeactivated: z.string().describe(
44
+ "Pass true to include deactivated members",
45
+ ).optional(),
46
+ offboardAfter: z.string().describe(
47
+ "ISO date — only members offboarded on or after it",
48
+ ).optional(),
49
+ offboardBefore: z.string().describe(
50
+ "ISO date — only members offboarded on or before it",
51
+ ).optional(),
52
+ onboardAfter: z.string().describe(
53
+ "ISO date — only members onboarded on or after it",
54
+ ).optional(),
55
+ onboardBefore: z.string().describe(
56
+ "ISO date — only members onboarded on or before it",
57
+ ).optional(),
48
58
  });
49
59
 
50
60
  /**
@@ -4,6 +4,26 @@
4
4
  */
5
5
 
6
6
  import * as z from "zod";
7
+ import { ClosedEnum } from "../types/enums.js";
8
+
9
+ /**
10
+ * How the request was authenticated
11
+ */
12
+ export const PoliciesControllerGetPolicyControlsV1AuthType = {
13
+ ApiKey: "api-key",
14
+ Session: "session",
15
+ } as const;
16
+ /**
17
+ * How the request was authenticated
18
+ */
19
+ export type PoliciesControllerGetPolicyControlsV1AuthType = ClosedEnum<
20
+ typeof PoliciesControllerGetPolicyControlsV1AuthType
21
+ >;
22
+
23
+ export const PoliciesControllerGetPolicyControlsV1AuthType$zodSchema = z.enum([
24
+ "api-key",
25
+ "session",
26
+ ]).describe("How the request was authenticated");
7
27
 
8
28
  export type PoliciesControllerGetPolicyControlsV1Request = {
9
29
  xOrganizationId?: string | undefined;
@@ -18,3 +38,97 @@ export const PoliciesControllerGetPolicyControlsV1Request$zodSchema: z.ZodType<
18
38
  "Organization ID (required for session auth, optional for API key auth)",
19
39
  ).optional(),
20
40
  });
41
+
42
+ export type MappedControlFramework = { id: string; name: string };
43
+
44
+ export const MappedControlFramework$zodSchema: z.ZodType<
45
+ MappedControlFramework
46
+ > = z.object({
47
+ id: z.string(),
48
+ name: z.string(),
49
+ });
50
+
51
+ export type MappedControl = {
52
+ id: string;
53
+ name: string;
54
+ description: string | null;
55
+ frameworks: Array<MappedControlFramework>;
56
+ };
57
+
58
+ export const MappedControl$zodSchema: z.ZodType<MappedControl> = z.object({
59
+ description: z.string().nullable(),
60
+ frameworks: z.array(z.lazy(() => MappedControlFramework$zodSchema)).describe(
61
+ "Frameworks (built-in or custom) this control is mapped to in the organization",
62
+ ),
63
+ id: z.string(),
64
+ name: z.string(),
65
+ });
66
+
67
+ export type AllControlFramework = { id: string; name: string };
68
+
69
+ export const AllControlFramework$zodSchema: z.ZodType<AllControlFramework> = z
70
+ .object({
71
+ id: z.string(),
72
+ name: z.string(),
73
+ });
74
+
75
+ export type AllControl = {
76
+ id: string;
77
+ name: string;
78
+ description: string | null;
79
+ frameworks: Array<AllControlFramework>;
80
+ };
81
+
82
+ export const AllControl$zodSchema: z.ZodType<AllControl> = z.object({
83
+ description: z.string().nullable(),
84
+ frameworks: z.array(z.lazy(() => AllControlFramework$zodSchema)).describe(
85
+ "Frameworks (built-in or custom) this control is mapped to in the organization",
86
+ ),
87
+ id: z.string(),
88
+ name: z.string(),
89
+ });
90
+
91
+ /**
92
+ * Authenticated user information (only present for session auth)
93
+ */
94
+ export type PoliciesControllerGetPolicyControlsV1AuthenticatedUser = {
95
+ id?: string | undefined;
96
+ email?: string | undefined;
97
+ };
98
+
99
+ export const PoliciesControllerGetPolicyControlsV1AuthenticatedUser$zodSchema:
100
+ z.ZodType<PoliciesControllerGetPolicyControlsV1AuthenticatedUser> = z.object({
101
+ email: z.string().optional(),
102
+ id: z.string().optional(),
103
+ }).describe("Authenticated user information (only present for session auth)");
104
+
105
+ /**
106
+ * Controls retrieved successfully
107
+ */
108
+ export type PoliciesControllerGetPolicyControlsV1Response = {
109
+ mappedControls: Array<MappedControl>;
110
+ allControls: Array<AllControl>;
111
+ authType: PoliciesControllerGetPolicyControlsV1AuthType;
112
+ authenticatedUser?:
113
+ | PoliciesControllerGetPolicyControlsV1AuthenticatedUser
114
+ | undefined;
115
+ };
116
+
117
+ export const PoliciesControllerGetPolicyControlsV1Response$zodSchema: z.ZodType<
118
+ PoliciesControllerGetPolicyControlsV1Response
119
+ > = z.object({
120
+ allControls: z.array(z.lazy(() => AllControl$zodSchema)).describe(
121
+ "Every control in the organization, so a client can offer the full mapping choice. Not a subset of the policy's controls.",
122
+ ),
123
+ authType: PoliciesControllerGetPolicyControlsV1AuthType$zodSchema.describe(
124
+ "How the request was authenticated",
125
+ ),
126
+ authenticatedUser: z.lazy(() =>
127
+ PoliciesControllerGetPolicyControlsV1AuthenticatedUser$zodSchema
128
+ ).optional().describe(
129
+ "Authenticated user information (only present for session auth)",
130
+ ),
131
+ mappedControls: z.array(z.lazy(() => MappedControl$zodSchema)).describe(
132
+ "Controls currently mapped to this policy",
133
+ ),
134
+ }).describe("Controls retrieved successfully");