@trycompai/mcp-server 0.3.3 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/bin/mcp-server.js +4049 -2496
- package/bin/mcp-server.js.map +63 -47
- package/esm/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.d.ts +1 -1
- package/esm/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.d.ts.map +1 -1
- package/esm/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.js +3 -3
- package/esm/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerGetFormWithSubmissionsV1.js +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerGetFormWithSubmissionsV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.d.ts +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.d.ts.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.js +4 -3
- package/esm/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.d.ts +16 -0
- package/esm/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.d.ts.map +1 -0
- package/esm/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js +95 -0
- package/esm/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js.map +1 -0
- package/esm/funcs/findingsFindingsControllerGetOrganizationFindingsV1.js +1 -1
- package/esm/funcs/findingsFindingsControllerGetOrganizationFindingsV1.js.map +1 -1
- package/esm/funcs/findingsFindingsControllerListFindingsV1.js +1 -1
- package/esm/funcs/findingsFindingsControllerListFindingsV1.js.map +1 -1
- package/esm/funcs/integrationsConnectionsControllerListProvidersV1.d.ts +1 -1
- package/esm/funcs/integrationsConnectionsControllerListProvidersV1.d.ts.map +1 -1
- package/esm/funcs/integrationsConnectionsControllerListProvidersV1.js +2 -2
- package/esm/funcs/integrationsConnectionsControllerListProvidersV1.js.map +1 -1
- package/esm/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.d.ts +1 -1
- package/esm/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.d.ts.map +1 -1
- package/esm/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.js +3 -2
- package/esm/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.js.map +1 -1
- package/esm/funcs/ismsISMSControllerSetCoverageV1.d.ts +16 -0
- package/esm/funcs/ismsISMSControllerSetCoverageV1.d.ts.map +1 -0
- package/esm/funcs/ismsISMSControllerSetCoverageV1.js +89 -0
- package/esm/funcs/ismsISMSControllerSetCoverageV1.js.map +1 -0
- package/esm/funcs/ismsISMSRegistersControllerCreateRowV1.d.ts +1 -1
- package/esm/funcs/ismsISMSRegistersControllerCreateRowV1.js +1 -1
- package/esm/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.d.ts +16 -0
- package/esm/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.d.ts.map +1 -0
- package/esm/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js +90 -0
- package/esm/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js.map +1 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.d.ts +16 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.d.ts.map +1 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.js +89 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.js.map +1 -0
- package/esm/funcs/peoplePeopleControllerGetAllPeopleV1.d.ts +1 -1
- package/esm/funcs/peoplePeopleControllerGetAllPeopleV1.d.ts.map +1 -1
- package/esm/funcs/peoplePeopleControllerGetAllPeopleV1.js +6 -6
- package/esm/funcs/peoplePeopleControllerGetAllPeopleV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerExtractPolicyDocumentV1.d.ts +16 -0
- package/esm/funcs/policiesPoliciesControllerExtractPolicyDocumentV1.d.ts.map +1 -0
- package/esm/funcs/policiesPoliciesControllerExtractPolicyDocumentV1.js +90 -0
- package/esm/funcs/policiesPoliciesControllerExtractPolicyDocumentV1.js.map +1 -0
- package/esm/funcs/policiesPoliciesControllerGetPolicyControlsV1.js +1 -1
- package/esm/funcs/policiesPoliciesControllerGetPolicyControlsV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerGetPolicyEvidenceTasksV1.js +1 -1
- package/esm/funcs/policiesPoliciesControllerGetPolicyEvidenceTasksV1.js.map +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +12 -2
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/deviceAgentDeviceAgentControllerGetDeviceStatusV1.d.ts +1 -1
- package/esm/mcp-server/tools/deviceAgentDeviceAgentControllerGetDeviceStatusV1.js +1 -1
- package/esm/mcp-server/tools/deviceAgentDeviceAgentControllerGetDeviceStatusV1.js.map +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.d.ts +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.js +2 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.js.map +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.d.ts +7 -0
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js +35 -0
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js.map +1 -0
- package/esm/mcp-server/tools/integrationsConnectionsControllerListProvidersV1.d.ts +1 -1
- package/esm/mcp-server/tools/integrationsConnectionsControllerListProvidersV1.js +1 -1
- package/esm/mcp-server/tools/integrationsConnectionsControllerListProvidersV1.js.map +1 -1
- package/esm/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.d.ts +1 -1
- package/esm/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.js +2 -1
- package/esm/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.js.map +1 -1
- package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.d.ts +7 -0
- package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.js +35 -0
- package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.js.map +1 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerCreateRowV1.js +1 -1
- package/esm/mcp-server/tools/ismsISMSRegistersControllerCreateRowV1.js.map +1 -1
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.d.ts +7 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js +35 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js.map +1 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.d.ts +7 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.js +35 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.js.map +1 -0
- package/esm/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.d.ts +1 -1
- package/esm/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.js +1 -1
- package/esm/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.js.map +1 -1
- package/esm/mcp-server/tools/policiesPoliciesControllerExtractPolicyDocumentV1.d.ts +7 -0
- package/esm/mcp-server/tools/policiesPoliciesControllerExtractPolicyDocumentV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/policiesPoliciesControllerExtractPolicyDocumentV1.js +35 -0
- package/esm/mcp-server/tools/policiesPoliciesControllerExtractPolicyDocumentV1.js.map +1 -0
- package/esm/models/automationscontrollergetautomationversionsv1op.d.ts +2 -2
- package/esm/models/automationscontrollergetautomationversionsv1op.d.ts.map +1 -1
- package/esm/models/automationscontrollergetautomationversionsv1op.js +2 -2
- package/esm/models/automationscontrollergetautomationversionsv1op.js.map +1 -1
- package/esm/models/connectionscontrollerlistprovidersv1op.d.ts +1 -1
- package/esm/models/connectionscontrollerlistprovidersv1op.d.ts.map +1 -1
- package/esm/models/connectionscontrollerlistprovidersv1op.js +1 -1
- package/esm/models/connectionscontrollerlistprovidersv1op.js.map +1 -1
- package/esm/models/controlscontrollerfindonev1op.d.ts +1 -1
- package/esm/models/controlscontrollerfindonev1op.d.ts.map +1 -1
- package/esm/models/controlscontrollerfindonev1op.js +1 -1
- package/esm/models/controlscontrollerfindonev1op.js.map +1 -1
- package/esm/models/controlscontrollerlinkdocumenttypesv1op.d.ts +1 -1
- package/esm/models/controlscontrollerlinkdocumenttypesv1op.d.ts.map +1 -1
- package/esm/models/controlscontrollerlinkdocumenttypesv1op.js +1 -1
- package/esm/models/controlscontrollerlinkdocumenttypesv1op.js.map +1 -1
- package/esm/models/controlscontrollerlinkpoliciesv1op.d.ts +1 -1
- package/esm/models/controlscontrollerlinkpoliciesv1op.d.ts.map +1 -1
- package/esm/models/controlscontrollerlinkpoliciesv1op.js +1 -1
- package/esm/models/controlscontrollerlinkpoliciesv1op.js.map +1 -1
- package/esm/models/controlscontrollerlinktasksv1op.d.ts +1 -1
- package/esm/models/controlscontrollerlinktasksv1op.d.ts.map +1 -1
- package/esm/models/controlscontrollerlinktasksv1op.js +1 -1
- package/esm/models/controlscontrollerlinktasksv1op.js.map +1 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.d.ts +1 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.d.ts.map +1 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.js +1 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.js.map +1 -1
- package/esm/models/createriskdto.d.ts +2 -2
- package/esm/models/createtaskitemdto.d.ts +1 -1
- package/esm/models/deviceagentcontrollergetdevicestatusv1op.d.ts +2 -2
- package/esm/models/deviceagentcontrollergetdevicestatusv1op.d.ts.map +1 -1
- package/esm/models/deviceagentcontrollergetdevicestatusv1op.js +2 -2
- package/esm/models/deviceagentcontrollergetdevicestatusv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.d.ts +212 -3
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.js +183 -3
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollergetmysubmissionsv1op.d.ts +39 -1
- package/esm/models/evidenceformscontrollergetmysubmissionsv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollergetmysubmissionsv1op.js +36 -1
- package/esm/models/evidenceformscontrollergetmysubmissionsv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.d.ts +91 -0
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.d.ts.map +1 -0
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.js +82 -0
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.js.map +1 -0
- package/esm/models/findingscontrollergetorganizationfindingsv1op.d.ts +246 -4
- package/esm/models/findingscontrollergetorganizationfindingsv1op.d.ts.map +1 -1
- package/esm/models/findingscontrollergetorganizationfindingsv1op.js +225 -4
- package/esm/models/findingscontrollergetorganizationfindingsv1op.js.map +1 -1
- package/esm/models/findingscontrollerlistfindingsv1op.d.ts +258 -16
- package/esm/models/findingscontrollerlistfindingsv1op.d.ts.map +1 -1
- package/esm/models/findingscontrollerlistfindingsv1op.js +239 -13
- package/esm/models/findingscontrollerlistfindingsv1op.js.map +1 -1
- package/esm/models/ismscontrollersetcoveragev1op.d.ts +31 -0
- package/esm/models/ismscontrollersetcoveragev1op.d.ts.map +1 -0
- package/esm/models/ismscontrollersetcoveragev1op.js +28 -0
- package/esm/models/ismscontrollersetcoveragev1op.js.map +1 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts +241 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.js +233 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollerdeleterowv1op.d.ts +51 -1
- package/esm/models/ismsregisterscontrollerdeleterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollerdeleterowv1op.js +46 -1
- package/esm/models/ismsregisterscontrollerdeleterowv1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.d.ts +14 -0
- package/esm/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.d.ts.map +1 -0
- package/esm/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.js +14 -0
- package/esm/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.js.map +1 -0
- package/esm/models/ismsregisterscontrollerimportvendorsassoftwarev1op.d.ts +14 -0
- package/esm/models/ismsregisterscontrollerimportvendorsassoftwarev1op.d.ts.map +1 -0
- package/esm/models/ismsregisterscontrollerimportvendorsassoftwarev1op.js +14 -0
- package/esm/models/ismsregisterscontrollerimportvendorsassoftwarev1op.js.map +1 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts +241 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js +233 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js.map +1 -1
- package/esm/models/peoplecontrollerdeletememberv1op.d.ts +1 -1
- package/esm/models/peoplecontrollerdeletememberv1op.d.ts.map +1 -1
- package/esm/models/peoplecontrollerdeletememberv1op.js +1 -1
- package/esm/models/peoplecontrollerdeletememberv1op.js.map +1 -1
- package/esm/models/peoplecontrollergetallpeoplev1op.d.ts +5 -5
- package/esm/models/peoplecontrollergetallpeoplev1op.d.ts.map +1 -1
- package/esm/models/peoplecontrollergetallpeoplev1op.js +5 -5
- package/esm/models/peoplecontrollergetallpeoplev1op.js.map +1 -1
- package/esm/models/policiescontrollerextractpolicydocumentv1op.d.ts +9 -0
- package/esm/models/policiescontrollerextractpolicydocumentv1op.d.ts.map +1 -0
- package/esm/models/policiescontrollerextractpolicydocumentv1op.js +12 -0
- package/esm/models/policiescontrollerextractpolicydocumentv1op.js.map +1 -0
- package/esm/models/policiescontrollergetpolicycontrolsv1op.d.ts +58 -0
- package/esm/models/policiescontrollergetpolicycontrolsv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollergetpolicycontrolsv1op.js +42 -0
- package/esm/models/policiescontrollergetpolicycontrolsv1op.js.map +1 -1
- package/esm/models/policiescontrollergetpolicyevidencetasksv1op.d.ts +104 -0
- package/esm/models/policiescontrollergetpolicyevidencetasksv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollergetpolicyevidencetasksv1op.js +90 -0
- package/esm/models/policiescontrollergetpolicyevidencetasksv1op.js.map +1 -1
- package/esm/models/policydocumentextractionresponsedto.d.ts +18 -0
- package/esm/models/policydocumentextractionresponsedto.d.ts.map +1 -0
- package/esm/models/policydocumentextractionresponsedto.js +13 -0
- package/esm/models/policydocumentextractionresponsedto.js.map +1 -0
- package/esm/models/requestpolicydocumentextractiondto.d.ts +6 -0
- package/esm/models/requestpolicydocumentextractiondto.d.ts.map +1 -0
- package/esm/models/requestpolicydocumentextractiondto.js +9 -0
- package/esm/models/requestpolicydocumentextractiondto.js.map +1 -0
- package/esm/models/riskscontrollercreateriskv1op.d.ts +2 -2
- package/esm/models/riskscontrollergetallrisksv1op.d.ts +4 -4
- package/esm/models/riskscontrollergetriskbyidv1op.d.ts +2 -2
- package/esm/models/riskscontrollerupdateriskv1op.d.ts +2 -2
- package/esm/models/searchresultdto.d.ts +1 -1
- package/esm/models/synccontrollergetavailablesyncprovidersv1op.d.ts +17 -1
- package/esm/models/synccontrollergetavailablesyncprovidersv1op.d.ts.map +1 -1
- package/esm/models/synccontrollergetavailablesyncprovidersv1op.js +12 -1
- package/esm/models/synccontrollergetavailablesyncprovidersv1op.js.map +1 -1
- package/esm/models/taskintegrationscontrollergettaskcheckrunsv1op.d.ts +1 -1
- package/esm/models/taskintegrationscontrollergettaskcheckrunsv1op.d.ts.map +1 -1
- package/esm/models/taskintegrationscontrollergettaskcheckrunsv1op.js +1 -1
- package/esm/models/taskintegrationscontrollergettaskcheckrunsv1op.js.map +1 -1
- package/esm/models/taskitemresponsedto.d.ts +1 -1
- package/esm/models/taskmanagementcontrollergettaskitemsv1op.d.ts +1 -1
- package/esm/models/taskresponsedto.d.ts +1 -1
- package/esm/models/taskscontrollergettaskactivityv1op.d.ts +2 -2
- package/esm/models/taskscontrollergettaskactivityv1op.d.ts.map +1 -1
- package/esm/models/taskscontrollergettaskactivityv1op.js +3 -2
- package/esm/models/taskscontrollergettaskactivityv1op.js.map +1 -1
- package/esm/models/taskscontrollerreordertasksv1op.d.ts +1 -1
- package/esm/models/taskscontrollerupdatetasksstatusv1op.d.ts +1 -1
- package/esm/models/taskscontrollerupdatetaskv1op.d.ts +1 -1
- package/esm/models/trustaccesscontrollerlistaccessrequestsv1op.d.ts +1 -1
- package/esm/models/updateriskdto.d.ts +2 -2
- package/esm/models/updatetaskitemdto.d.ts +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +25 -5
- package/esm/tool-names.js.map +1 -1
- package/package.json +8 -4
- package/src/funcs/deviceAgentDeviceAgentControllerGetDeviceStatusV1.ts +7 -5
- package/src/funcs/evidenceFormsEvidenceFormsControllerGetFormWithSubmissionsV1.ts +1 -1
- package/src/funcs/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.ts +6 -5
- package/src/funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.ts +165 -0
- package/src/funcs/findingsFindingsControllerGetOrganizationFindingsV1.ts +1 -1
- package/src/funcs/findingsFindingsControllerListFindingsV1.ts +1 -1
- package/src/funcs/integrationsConnectionsControllerListProvidersV1.ts +6 -4
- package/src/funcs/integrationsSyncControllerGetAvailableSyncProvidersV1.ts +5 -4
- package/src/funcs/ismsISMSControllerSetCoverageV1.ts +154 -0
- package/src/funcs/ismsISMSRegistersControllerCreateRowV1.ts +1 -1
- package/src/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.ts +158 -0
- package/src/funcs/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.ts +159 -0
- package/src/funcs/peoplePeopleControllerGetAllPeopleV1.ts +9 -8
- package/src/funcs/policiesPoliciesControllerExtractPolicyDocumentV1.ts +160 -0
- package/src/funcs/policiesPoliciesControllerGetPolicyControlsV1.ts +1 -1
- package/src/funcs/policiesPoliciesControllerGetPolicyEvidenceTasksV1.ts +1 -1
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +12 -2
- package/src/mcp-server/tools/deviceAgentDeviceAgentControllerGetDeviceStatusV1.ts +1 -1
- package/src/mcp-server/tools/evidenceFormsEvidenceFormsControllerGetMySubmissionsV1.ts +2 -1
- package/src/mcp-server/tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.ts +45 -0
- package/src/mcp-server/tools/integrationsConnectionsControllerListProvidersV1.ts +1 -1
- package/src/mcp-server/tools/integrationsSyncControllerGetAvailableSyncProvidersV1.ts +2 -1
- package/src/mcp-server/tools/ismsISMSControllerSetCoverageV1.ts +44 -0
- package/src/mcp-server/tools/ismsISMSRegistersControllerCreateRowV1.ts +1 -1
- package/src/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.ts +46 -0
- package/src/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.ts +45 -0
- package/src/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.ts +1 -1
- package/src/mcp-server/tools/policiesPoliciesControllerExtractPolicyDocumentV1.ts +44 -0
- package/src/models/automationscontrollergetautomationversionsv1op.ts +6 -4
- package/src/models/connectionscontrollerlistprovidersv1op.ts +4 -2
- package/src/models/controlscontrollerfindonev1op.ts +4 -2
- package/src/models/controlscontrollerlinkdocumenttypesv1op.ts +4 -2
- package/src/models/controlscontrollerlinkpoliciesv1op.ts +4 -2
- package/src/models/controlscontrollerlinktasksv1op.ts +4 -2
- package/src/models/controlscontrollerunlinkdocumenttypev1op.ts +4 -2
- package/src/models/deviceagentcontrollergetdevicestatusv1op.ts +8 -4
- package/src/models/evidenceformscontrollergetformwithsubmissionsv1op.ts +342 -6
- package/src/models/evidenceformscontrollergetmysubmissionsv1op.ts +48 -2
- package/src/models/evidenceformscontrollerlistsubmissionsv1op.ts +162 -0
- package/src/models/findingscontrollergetorganizationfindingsv1op.ts +459 -8
- package/src/models/findingscontrollerlistfindingsv1op.ts +456 -34
- package/src/models/ismscontrollersetcoveragev1op.ts +67 -0
- package/src/models/ismsregisterscontrollercreaterowv1op.ts +341 -2
- package/src/models/ismsregisterscontrollerdeleterowv1op.ts +58 -2
- package/src/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.ts +39 -0
- package/src/models/ismsregisterscontrollerimportvendorsassoftwarev1op.ts +38 -0
- package/src/models/ismsregisterscontrollerupdaterowv1op.ts +341 -2
- package/src/models/peoplecontrollerdeletememberv1op.ts +4 -2
- package/src/models/peoplecontrollergetallpeoplev1op.ts +20 -10
- package/src/models/policiescontrollerextractpolicydocumentv1op.ts +25 -0
- package/src/models/policiescontrollergetpolicycontrolsv1op.ts +114 -0
- package/src/models/policiescontrollergetpolicyevidencetasksv1op.ts +194 -0
- package/src/models/policydocumentextractionresponsedto.ts +44 -0
- package/src/models/requestpolicydocumentextractiondto.ts +18 -0
- package/src/models/synccontrollergetavailablesyncprovidersv1op.ts +22 -2
- package/src/models/taskintegrationscontrollergettaskcheckrunsv1op.ts +4 -2
- package/src/models/taskscontrollergettaskactivityv1op.ts +5 -4
- package/src/tool-names.ts +25 -5
|
@@ -6,11 +6,68 @@
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Which ISMS register the row belongs to.
|
|
11
|
+
*/
|
|
12
|
+
export const IsmsRegistersControllerUpdateRowV1Register = {
|
|
13
|
+
ContextIssues: "context-issues",
|
|
14
|
+
InterestedParties: "interested-parties",
|
|
15
|
+
Requirements: "requirements",
|
|
16
|
+
Objectives: "objectives",
|
|
17
|
+
Roles: "roles",
|
|
18
|
+
RoleAssignments: "role-assignments",
|
|
19
|
+
Metrics: "metrics",
|
|
20
|
+
Measurements: "measurements",
|
|
21
|
+
Audits: "audits",
|
|
22
|
+
AuditControls: "audit-controls",
|
|
23
|
+
AuditFindings: "audit-findings",
|
|
24
|
+
Reviews: "reviews",
|
|
25
|
+
ReviewInputs: "review-inputs",
|
|
26
|
+
ReviewActions: "review-actions",
|
|
27
|
+
Communications: "communications",
|
|
28
|
+
Obligations: "obligations",
|
|
29
|
+
KeyRecords: "key-records",
|
|
30
|
+
ApprovedSoftware: "approved-software",
|
|
31
|
+
Nonconformities: "nonconformities",
|
|
32
|
+
} as const;
|
|
33
|
+
/**
|
|
34
|
+
* Which ISMS register the row belongs to.
|
|
35
|
+
*/
|
|
36
|
+
export type IsmsRegistersControllerUpdateRowV1Register = ClosedEnum<
|
|
37
|
+
typeof IsmsRegistersControllerUpdateRowV1Register
|
|
38
|
+
>;
|
|
39
|
+
|
|
40
|
+
export const IsmsRegistersControllerUpdateRowV1Register$zodSchema = z.enum([
|
|
41
|
+
"context-issues",
|
|
42
|
+
"interested-parties",
|
|
43
|
+
"requirements",
|
|
44
|
+
"objectives",
|
|
45
|
+
"roles",
|
|
46
|
+
"role-assignments",
|
|
47
|
+
"metrics",
|
|
48
|
+
"measurements",
|
|
49
|
+
"audits",
|
|
50
|
+
"audit-controls",
|
|
51
|
+
"audit-findings",
|
|
52
|
+
"reviews",
|
|
53
|
+
"review-inputs",
|
|
54
|
+
"review-actions",
|
|
55
|
+
"communications",
|
|
56
|
+
"obligations",
|
|
57
|
+
"key-records",
|
|
58
|
+
"approved-software",
|
|
59
|
+
"nonconformities",
|
|
60
|
+
]).describe("Which ISMS register the row belongs to.");
|
|
61
|
+
|
|
9
62
|
export const IsmsRegistersControllerUpdateRowV1Kind = {
|
|
10
63
|
Internal: "internal",
|
|
11
64
|
External: "external",
|
|
12
65
|
Recurring: "recurring",
|
|
13
66
|
Milestone: "milestone",
|
|
67
|
+
Legal: "legal",
|
|
68
|
+
Regulatory: "regulatory",
|
|
69
|
+
Contractual: "contractual",
|
|
70
|
+
Standard: "standard",
|
|
14
71
|
} as const;
|
|
15
72
|
export type IsmsRegistersControllerUpdateRowV1Kind = ClosedEnum<
|
|
16
73
|
typeof IsmsRegistersControllerUpdateRowV1Kind
|
|
@@ -21,6 +78,10 @@ export const IsmsRegistersControllerUpdateRowV1Kind$zodSchema = z.enum([
|
|
|
21
78
|
"external",
|
|
22
79
|
"recurring",
|
|
23
80
|
"milestone",
|
|
81
|
+
"legal",
|
|
82
|
+
"regulatory",
|
|
83
|
+
"contractual",
|
|
84
|
+
"standard",
|
|
24
85
|
]);
|
|
25
86
|
|
|
26
87
|
export const IsmsRegistersControllerUpdateRowV1Status = {
|
|
@@ -33,6 +94,8 @@ export const IsmsRegistersControllerUpdateRowV1Status = {
|
|
|
33
94
|
Complete: "complete",
|
|
34
95
|
Open: "open",
|
|
35
96
|
Closed: "closed",
|
|
97
|
+
ActionComplete: "action_complete",
|
|
98
|
+
VerifiedAndClosed: "verified_and_closed",
|
|
36
99
|
} as const;
|
|
37
100
|
export type IsmsRegistersControllerUpdateRowV1Status = ClosedEnum<
|
|
38
101
|
typeof IsmsRegistersControllerUpdateRowV1Status
|
|
@@ -48,6 +111,8 @@ export const IsmsRegistersControllerUpdateRowV1Status$zodSchema = z.enum([
|
|
|
48
111
|
"complete",
|
|
49
112
|
"open",
|
|
50
113
|
"closed",
|
|
114
|
+
"action_complete",
|
|
115
|
+
"verified_and_closed",
|
|
51
116
|
]);
|
|
52
117
|
|
|
53
118
|
export const IsmsRegistersControllerUpdateRowV1AuditRoute = {
|
|
@@ -183,6 +248,9 @@ export const IsmsRegistersControllerUpdateRowV1Type = {
|
|
|
183
248
|
NcMinor: "nc_minor",
|
|
184
249
|
Ofi: "ofi",
|
|
185
250
|
Observation: "observation",
|
|
251
|
+
MinorNonconformity: "minor_nonconformity",
|
|
252
|
+
MajorNonconformity: "major_nonconformity",
|
|
253
|
+
ImprovementOpportunity: "improvement_opportunity",
|
|
186
254
|
} as const;
|
|
187
255
|
export type IsmsRegistersControllerUpdateRowV1Type = ClosedEnum<
|
|
188
256
|
typeof IsmsRegistersControllerUpdateRowV1Type
|
|
@@ -193,8 +261,184 @@ export const IsmsRegistersControllerUpdateRowV1Type$zodSchema = z.enum([
|
|
|
193
261
|
"nc_minor",
|
|
194
262
|
"ofi",
|
|
195
263
|
"observation",
|
|
264
|
+
"minor_nonconformity",
|
|
265
|
+
"major_nonconformity",
|
|
266
|
+
"improvement_opportunity",
|
|
267
|
+
]);
|
|
268
|
+
|
|
269
|
+
export const IsmsRegistersControllerUpdateRowV1Audience = {
|
|
270
|
+
Internal: "internal",
|
|
271
|
+
External: "external",
|
|
272
|
+
} as const;
|
|
273
|
+
export type IsmsRegistersControllerUpdateRowV1Audience = ClosedEnum<
|
|
274
|
+
typeof IsmsRegistersControllerUpdateRowV1Audience
|
|
275
|
+
>;
|
|
276
|
+
|
|
277
|
+
export const IsmsRegistersControllerUpdateRowV1Audience$zodSchema = z.enum([
|
|
278
|
+
"internal",
|
|
279
|
+
"external",
|
|
280
|
+
]);
|
|
281
|
+
|
|
282
|
+
export const IsmsRegistersControllerUpdateRowV1Frequency = {
|
|
283
|
+
OnJoining: "on_joining",
|
|
284
|
+
OnPublication: "on_publication",
|
|
285
|
+
AsItHappens: "as_it_happens",
|
|
286
|
+
Monthly: "monthly",
|
|
287
|
+
Quarterly: "quarterly",
|
|
288
|
+
Annually: "annually",
|
|
289
|
+
OnRequest: "on_request",
|
|
290
|
+
WithinStatutoryDeadline: "within_statutory_deadline",
|
|
291
|
+
IfNeeded: "if_needed",
|
|
292
|
+
OnJoiningAndAnnually: "on_joining_and_annually",
|
|
293
|
+
AfterEachAudit: "after_each_audit",
|
|
294
|
+
OnOnboardingAndAsNeeded: "on_onboarding_and_as_needed",
|
|
295
|
+
PerAuditCycle: "per_audit_cycle",
|
|
296
|
+
} as const;
|
|
297
|
+
export type IsmsRegistersControllerUpdateRowV1Frequency = ClosedEnum<
|
|
298
|
+
typeof IsmsRegistersControllerUpdateRowV1Frequency
|
|
299
|
+
>;
|
|
300
|
+
|
|
301
|
+
export const IsmsRegistersControllerUpdateRowV1Frequency$zodSchema = z.enum([
|
|
302
|
+
"on_joining",
|
|
303
|
+
"on_publication",
|
|
304
|
+
"as_it_happens",
|
|
305
|
+
"monthly",
|
|
306
|
+
"quarterly",
|
|
307
|
+
"annually",
|
|
308
|
+
"on_request",
|
|
309
|
+
"within_statutory_deadline",
|
|
310
|
+
"if_needed",
|
|
311
|
+
"on_joining_and_annually",
|
|
312
|
+
"after_each_audit",
|
|
313
|
+
"on_onboarding_and_as_needed",
|
|
314
|
+
"per_audit_cycle",
|
|
315
|
+
]);
|
|
316
|
+
|
|
317
|
+
export const IsmsRegistersControllerUpdateRowV1Channel = {
|
|
318
|
+
Email: "email",
|
|
319
|
+
SlackOrTeams: "slack_or_teams",
|
|
320
|
+
CompanyMeeting: "company_meeting",
|
|
321
|
+
TrustCentre: "trust_centre",
|
|
322
|
+
CompAiPortal: "comp_ai_portal",
|
|
323
|
+
TrainingPlatform: "training_platform",
|
|
324
|
+
WrittenNotice: "written_notice",
|
|
325
|
+
} as const;
|
|
326
|
+
export type IsmsRegistersControllerUpdateRowV1Channel = ClosedEnum<
|
|
327
|
+
typeof IsmsRegistersControllerUpdateRowV1Channel
|
|
328
|
+
>;
|
|
329
|
+
|
|
330
|
+
export const IsmsRegistersControllerUpdateRowV1Channel$zodSchema = z.enum([
|
|
331
|
+
"email",
|
|
332
|
+
"slack_or_teams",
|
|
333
|
+
"company_meeting",
|
|
334
|
+
"trust_centre",
|
|
335
|
+
"comp_ai_portal",
|
|
336
|
+
"training_platform",
|
|
337
|
+
"written_notice",
|
|
196
338
|
]);
|
|
197
339
|
|
|
340
|
+
export const IsmsRegistersControllerUpdateRowV1Rotation = {
|
|
341
|
+
Automatic: "automatic",
|
|
342
|
+
Annually: "annually",
|
|
343
|
+
OnChange: "on_change",
|
|
344
|
+
OnChangeOrAnnually: "on_change_or_annually",
|
|
345
|
+
OnOffboarding: "on_offboarding",
|
|
346
|
+
NotRotated: "not_rotated",
|
|
347
|
+
} as const;
|
|
348
|
+
export type IsmsRegistersControllerUpdateRowV1Rotation = ClosedEnum<
|
|
349
|
+
typeof IsmsRegistersControllerUpdateRowV1Rotation
|
|
350
|
+
>;
|
|
351
|
+
|
|
352
|
+
export const IsmsRegistersControllerUpdateRowV1Rotation$zodSchema = z.enum([
|
|
353
|
+
"automatic",
|
|
354
|
+
"annually",
|
|
355
|
+
"on_change",
|
|
356
|
+
"on_change_or_annually",
|
|
357
|
+
"on_offboarding",
|
|
358
|
+
"not_rotated",
|
|
359
|
+
]);
|
|
360
|
+
|
|
361
|
+
export const IsmsRegistersControllerUpdateRowV1UsedWhere = {
|
|
362
|
+
EndUserDevices: "end_user_devices",
|
|
363
|
+
ProductionSystems: "production_systems",
|
|
364
|
+
Both: "both",
|
|
365
|
+
CloudService: "cloud_service",
|
|
366
|
+
} as const;
|
|
367
|
+
export type IsmsRegistersControllerUpdateRowV1UsedWhere = ClosedEnum<
|
|
368
|
+
typeof IsmsRegistersControllerUpdateRowV1UsedWhere
|
|
369
|
+
>;
|
|
370
|
+
|
|
371
|
+
export const IsmsRegistersControllerUpdateRowV1UsedWhere$zodSchema = z.enum([
|
|
372
|
+
"end_user_devices",
|
|
373
|
+
"production_systems",
|
|
374
|
+
"both",
|
|
375
|
+
"cloud_service",
|
|
376
|
+
]);
|
|
377
|
+
|
|
378
|
+
export const IsmsRegistersControllerUpdateRowV1Licence = {
|
|
379
|
+
Commercial: "commercial",
|
|
380
|
+
OpenSource: "open_source",
|
|
381
|
+
FreeTier: "free_tier",
|
|
382
|
+
Internal: "internal",
|
|
383
|
+
} as const;
|
|
384
|
+
export type IsmsRegistersControllerUpdateRowV1Licence = ClosedEnum<
|
|
385
|
+
typeof IsmsRegistersControllerUpdateRowV1Licence
|
|
386
|
+
>;
|
|
387
|
+
|
|
388
|
+
export const IsmsRegistersControllerUpdateRowV1Licence$zodSchema = z.enum([
|
|
389
|
+
"commercial",
|
|
390
|
+
"open_source",
|
|
391
|
+
"free_tier",
|
|
392
|
+
"internal",
|
|
393
|
+
]);
|
|
394
|
+
|
|
395
|
+
export const IsmsRegistersControllerUpdateRowV1Source = {
|
|
396
|
+
InternalAudit: "internal_audit",
|
|
397
|
+
ExternalAudit: "external_audit",
|
|
398
|
+
Incident: "incident",
|
|
399
|
+
ManagementReview: "management_review",
|
|
400
|
+
ControlOrTaskFailure: "control_or_task_failure",
|
|
401
|
+
CustomerOrVendorIssue: "customer_or_vendor_issue",
|
|
402
|
+
Other: "other",
|
|
403
|
+
} as const;
|
|
404
|
+
export type IsmsRegistersControllerUpdateRowV1Source = ClosedEnum<
|
|
405
|
+
typeof IsmsRegistersControllerUpdateRowV1Source
|
|
406
|
+
>;
|
|
407
|
+
|
|
408
|
+
export const IsmsRegistersControllerUpdateRowV1Source$zodSchema = z.enum([
|
|
409
|
+
"internal_audit",
|
|
410
|
+
"external_audit",
|
|
411
|
+
"incident",
|
|
412
|
+
"management_review",
|
|
413
|
+
"control_or_task_failure",
|
|
414
|
+
"customer_or_vendor_issue",
|
|
415
|
+
"other",
|
|
416
|
+
]);
|
|
417
|
+
|
|
418
|
+
export const IsmsRegistersControllerUpdateRowV1RootCauseCategory = {
|
|
419
|
+
ProcessNotDefined: "process_not_defined",
|
|
420
|
+
ProcessDefinedButNotFollowed: "process_defined_but_not_followed",
|
|
421
|
+
NoOwnerAssigned: "no_owner_assigned",
|
|
422
|
+
LackOfAwarenessOrTraining: "lack_of_awareness_or_training",
|
|
423
|
+
ToolingOrSystemGap: "tooling_or_system_gap",
|
|
424
|
+
ResourceConstraint: "resource_constraint",
|
|
425
|
+
OneOffHumanError: "one_off_human_error",
|
|
426
|
+
} as const;
|
|
427
|
+
export type IsmsRegistersControllerUpdateRowV1RootCauseCategory = ClosedEnum<
|
|
428
|
+
typeof IsmsRegistersControllerUpdateRowV1RootCauseCategory
|
|
429
|
+
>;
|
|
430
|
+
|
|
431
|
+
export const IsmsRegistersControllerUpdateRowV1RootCauseCategory$zodSchema = z
|
|
432
|
+
.enum([
|
|
433
|
+
"process_not_defined",
|
|
434
|
+
"process_defined_but_not_followed",
|
|
435
|
+
"no_owner_assigned",
|
|
436
|
+
"lack_of_awareness_or_training",
|
|
437
|
+
"tooling_or_system_gap",
|
|
438
|
+
"resource_constraint",
|
|
439
|
+
"one_off_human_error",
|
|
440
|
+
]);
|
|
441
|
+
|
|
198
442
|
export type IsmsRegistersControllerUpdateRowV1Attendee = {
|
|
199
443
|
memberId: string;
|
|
200
444
|
name: string;
|
|
@@ -305,18 +549,63 @@ export type IsmsRegistersControllerUpdateRowV1RequestBody = {
|
|
|
305
549
|
whatItCovers?: string | undefined;
|
|
306
550
|
discussionNotes?: string | null | undefined;
|
|
307
551
|
discussed?: boolean | undefined;
|
|
552
|
+
what?: string | undefined;
|
|
553
|
+
audience?: IsmsRegistersControllerUpdateRowV1Audience | undefined;
|
|
554
|
+
recipients?: string | undefined;
|
|
555
|
+
ownerRoleKey?: string | null | undefined;
|
|
556
|
+
frequency?: IsmsRegistersControllerUpdateRowV1Frequency | undefined;
|
|
557
|
+
channel?: IsmsRegistersControllerUpdateRowV1Channel | undefined;
|
|
558
|
+
contactRef?: string | null | undefined;
|
|
559
|
+
evidenceRef?: string | undefined;
|
|
560
|
+
obligation?: string | undefined;
|
|
561
|
+
jurisdiction?: string | null | undefined;
|
|
562
|
+
howWeMeetIt?: string | null | undefined;
|
|
563
|
+
consequence?: string | null | undefined;
|
|
564
|
+
protects?: string | undefined;
|
|
565
|
+
managedIn?: string | undefined;
|
|
566
|
+
rotation?: IsmsRegistersControllerUpdateRowV1Rotation | undefined;
|
|
567
|
+
rotationNote?: string | null | undefined;
|
|
568
|
+
accessMemberId?: string | null | undefined;
|
|
569
|
+
accessRoleKey?: string | null | undefined;
|
|
570
|
+
accessText?: string | null | undefined;
|
|
571
|
+
purpose?: string | null | undefined;
|
|
572
|
+
vendorId?: string | null | undefined;
|
|
573
|
+
usedWhere?: IsmsRegistersControllerUpdateRowV1UsedWhere | null | undefined;
|
|
574
|
+
licence?: IsmsRegistersControllerUpdateRowV1Licence | null | undefined;
|
|
575
|
+
raisedAt?: string | undefined;
|
|
576
|
+
source?: IsmsRegistersControllerUpdateRowV1Source | undefined;
|
|
577
|
+
correction?: string | null | undefined;
|
|
578
|
+
rootCauseCategory?:
|
|
579
|
+
| IsmsRegistersControllerUpdateRowV1RootCauseCategory
|
|
580
|
+
| null
|
|
581
|
+
| undefined;
|
|
582
|
+
rootCause?: string | null | undefined;
|
|
583
|
+
correctiveAction?: string | null | undefined;
|
|
584
|
+
actionCompletedAt?: string | null | undefined;
|
|
585
|
+
verifiedByMemberId?: string | null | undefined;
|
|
586
|
+
verifiedAt?: string | null | undefined;
|
|
587
|
+
verificationCheck?: string | null | undefined;
|
|
308
588
|
position?: number | undefined;
|
|
309
589
|
};
|
|
310
590
|
|
|
311
591
|
export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
312
592
|
IsmsRegistersControllerUpdateRowV1RequestBody
|
|
313
593
|
> = z.object({
|
|
594
|
+
accessMemberId: z.string().nullable().optional(),
|
|
595
|
+
accessRoleKey: z.string().nullable().optional().describe(
|
|
596
|
+
"ISMS role that holds the key when no member is named (e.g. spo)",
|
|
597
|
+
),
|
|
598
|
+
accessText: z.string().nullable().optional().describe(
|
|
599
|
+
"Free-text access holder, for answers no picker can express (e.g. \"Each individual\")",
|
|
600
|
+
),
|
|
601
|
+
actionCompletedAt: z.string().nullable().optional(),
|
|
314
602
|
analyzeMemberId: z.string().nullable().optional(),
|
|
315
603
|
attendees: z.array(
|
|
316
604
|
z.lazy(() => IsmsRegistersControllerUpdateRowV1Attendee$zodSchema),
|
|
317
605
|
).optional().describe(
|
|
318
606
|
"Attendees frozen at selection (members picked from People)",
|
|
319
607
|
),
|
|
608
|
+
audience: IsmsRegistersControllerUpdateRowV1Audience$zodSchema.optional(),
|
|
320
609
|
auditCourse: z.string().nullable().optional(),
|
|
321
610
|
auditDueDate: z.string().nullable().optional(),
|
|
322
611
|
auditEvidenceRef: z.string().nullable().optional(),
|
|
@@ -335,14 +624,25 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
|
335
624
|
category: z.string().optional(),
|
|
336
625
|
chairName: z.string().nullable().optional(),
|
|
337
626
|
changesText: z.string().nullable().optional(),
|
|
627
|
+
channel: IsmsRegistersControllerUpdateRowV1Channel$zodSchema.optional(),
|
|
338
628
|
clauseOrControl: z.string().nullable().optional(),
|
|
339
629
|
closureEvidence: z.string().nullable().optional(),
|
|
340
630
|
conclusionNotes: z.string().nullable().optional(),
|
|
341
631
|
conclusionVerdict:
|
|
342
632
|
IsmsRegistersControllerUpdateRowV1ConclusionVerdict$zodSchema.nullable()
|
|
343
633
|
.optional(),
|
|
634
|
+
consequence: z.string().nullable().optional(),
|
|
635
|
+
contactRef: z.string().nullable().optional().describe(
|
|
636
|
+
"External rows only: the body name, reporting route and any reference number (A.5.5)",
|
|
637
|
+
),
|
|
344
638
|
controlId: z.string().nullable().optional(),
|
|
345
639
|
controlRef: z.string().optional(),
|
|
640
|
+
correction: z.string().nullable().optional().describe(
|
|
641
|
+
"The immediate fix, as opposed to the corrective action",
|
|
642
|
+
),
|
|
643
|
+
correctiveAction: z.string().nullable().optional().describe(
|
|
644
|
+
"What stops the nonconformity recurring",
|
|
645
|
+
),
|
|
346
646
|
criteria: z.string().optional(),
|
|
347
647
|
decisionsText: z.string().nullable().optional(),
|
|
348
648
|
description: z.string().optional(),
|
|
@@ -350,12 +650,19 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
|
350
650
|
discussionNotes: z.string().nullable().optional(),
|
|
351
651
|
dueDate: z.string().nullable().optional(),
|
|
352
652
|
effect: z.string().optional(),
|
|
653
|
+
evidenceRef: z.string().optional(),
|
|
353
654
|
evidenceRetained: z.string().nullable().optional(),
|
|
655
|
+
frequency: IsmsRegistersControllerUpdateRowV1Frequency$zodSchema.optional(),
|
|
354
656
|
gap: z.string().nullable().optional(),
|
|
657
|
+
howWeMeetIt: z.string().nullable().optional(),
|
|
355
658
|
inputRef: z.string().optional(),
|
|
356
659
|
interestedPartyId: z.string().optional(),
|
|
357
660
|
isActive: z.boolean().optional(),
|
|
661
|
+
jurisdiction: z.string().nullable().optional(),
|
|
358
662
|
kind: IsmsRegistersControllerUpdateRowV1Kind$zodSchema.optional(),
|
|
663
|
+
licence: IsmsRegistersControllerUpdateRowV1Licence$zodSchema.nullable()
|
|
664
|
+
.optional(),
|
|
665
|
+
managedIn: z.string().optional(),
|
|
359
666
|
measurementMethod: z.string().optional(),
|
|
360
667
|
meetingDate: z.string().nullable().optional(),
|
|
361
668
|
memberId: z.string().optional(),
|
|
@@ -372,7 +679,11 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
|
372
679
|
objectiveId: z.string().nullable().optional().describe(
|
|
373
680
|
"Deprecated: objectives now take their numbers from a metric, not the reverse.",
|
|
374
681
|
),
|
|
682
|
+
obligation: z.string().optional(),
|
|
375
683
|
ownerMemberId: z.string().optional(),
|
|
684
|
+
ownerRoleKey: z.string().nullable().optional().describe(
|
|
685
|
+
"ISMS role accountable when no member is assigned (e.g. spo, top_management, internal_auditor)",
|
|
686
|
+
),
|
|
376
687
|
partyName: z.string().optional(),
|
|
377
688
|
periodStart: z.string().optional().describe(
|
|
378
689
|
"First day of the covered period (YYYY-MM-DD), aligned to the metric cadence",
|
|
@@ -381,6 +692,12 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
|
381
692
|
plannedEndDate: z.string().nullable().optional(),
|
|
382
693
|
plannedStartDate: z.string().nullable().optional(),
|
|
383
694
|
position: z.int().optional(),
|
|
695
|
+
protects: z.string().optional(),
|
|
696
|
+
purpose: z.string().nullable().optional(),
|
|
697
|
+
raisedAt: z.string().optional().describe(
|
|
698
|
+
"Date the entry was raised (YYYY-MM-DD); defaults to today",
|
|
699
|
+
),
|
|
700
|
+
recipients: z.string().optional(),
|
|
384
701
|
remediationAction: z.string().nullable().optional(),
|
|
385
702
|
remediationDueDate: z.string().nullable().optional(),
|
|
386
703
|
requiredCompetence: z.string().optional(),
|
|
@@ -390,6 +707,14 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
|
390
707
|
.optional(),
|
|
391
708
|
reviewId: z.string().optional(),
|
|
392
709
|
roleId: z.string().optional(),
|
|
710
|
+
rootCause: z.string().nullable().optional(),
|
|
711
|
+
rootCauseCategory:
|
|
712
|
+
IsmsRegistersControllerUpdateRowV1RootCauseCategory$zodSchema.nullable()
|
|
713
|
+
.optional(),
|
|
714
|
+
rotation: IsmsRegistersControllerUpdateRowV1Rotation$zodSchema.optional(),
|
|
715
|
+
rotationNote: z.string().nullable().optional().describe(
|
|
716
|
+
"Only kept when rotation is not_rotated",
|
|
717
|
+
),
|
|
393
718
|
scope: z.string().optional(),
|
|
394
719
|
signoffAuditorDate: z.string().nullable().optional(),
|
|
395
720
|
signoffAuditorName: z.string().nullable().optional(),
|
|
@@ -399,6 +724,7 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
|
399
724
|
signoffSpoName: z.string().nullable().optional(),
|
|
400
725
|
signoffTopMgmtDate: z.string().nullable().optional(),
|
|
401
726
|
signoffTopMgmtName: z.string().nullable().optional(),
|
|
727
|
+
source: IsmsRegistersControllerUpdateRowV1Source$zodSchema.optional(),
|
|
402
728
|
status: IsmsRegistersControllerUpdateRowV1Status$zodSchema.optional(),
|
|
403
729
|
target: z.string().optional(),
|
|
404
730
|
targetDate: z.string().nullable().optional().describe(
|
|
@@ -414,7 +740,18 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
|
414
740
|
treatment: z.string().optional(),
|
|
415
741
|
type: IsmsRegistersControllerUpdateRowV1Type$zodSchema.optional(),
|
|
416
742
|
unit: IsmsRegistersControllerUpdateRowV1Unit$zodSchema.nullable().optional(),
|
|
743
|
+
usedWhere: IsmsRegistersControllerUpdateRowV1UsedWhere$zodSchema.nullable()
|
|
744
|
+
.optional(),
|
|
417
745
|
value: z.string().optional(),
|
|
746
|
+
vendorId: z.string().nullable().optional().describe(
|
|
747
|
+
"Links the row to a vendor; the name then renders live",
|
|
748
|
+
),
|
|
749
|
+
verificationCheck: z.string().nullable().optional().describe(
|
|
750
|
+
"How effectiveness was confirmed",
|
|
751
|
+
),
|
|
752
|
+
verifiedAt: z.string().nullable().optional(),
|
|
753
|
+
verifiedByMemberId: z.string().nullable().optional(),
|
|
754
|
+
what: z.string().optional(),
|
|
418
755
|
whatIsMeasured: z.string().optional(),
|
|
419
756
|
whatItCovers: z.string().optional(),
|
|
420
757
|
whatWasTested: z.string().optional(),
|
|
@@ -422,7 +759,7 @@ export const IsmsRegistersControllerUpdateRowV1RequestBody$zodSchema: z.ZodType<
|
|
|
422
759
|
}).describe("Register row fields (per-register; validated at runtime by zod)");
|
|
423
760
|
|
|
424
761
|
export type IsmsRegistersControllerUpdateRowV1Request = {
|
|
425
|
-
register:
|
|
762
|
+
register: IsmsRegistersControllerUpdateRowV1Register;
|
|
426
763
|
rowId: string;
|
|
427
764
|
body: IsmsRegistersControllerUpdateRowV1RequestBody;
|
|
428
765
|
};
|
|
@@ -434,6 +771,8 @@ export const IsmsRegistersControllerUpdateRowV1Request$zodSchema: z.ZodType<
|
|
|
434
771
|
.describe(
|
|
435
772
|
"Register row fields (per-register; validated at runtime by zod)",
|
|
436
773
|
),
|
|
437
|
-
register:
|
|
774
|
+
register: IsmsRegistersControllerUpdateRowV1Register$zodSchema.describe(
|
|
775
|
+
"Which ISMS register the row belongs to.",
|
|
776
|
+
),
|
|
438
777
|
rowId: z.string(),
|
|
439
778
|
});
|
|
@@ -27,14 +27,16 @@ export const PeopleControllerDeleteMemberV1AuthType$zodSchema = z.enum([
|
|
|
27
27
|
|
|
28
28
|
export type PeopleControllerDeleteMemberV1Request = {
|
|
29
29
|
id: string;
|
|
30
|
-
skipOffboarding
|
|
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
|
|
34
|
-
onboardAfter
|
|
35
|
-
onboardBefore
|
|
36
|
-
offboardAfter
|
|
37
|
-
offboardBefore
|
|
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
/**
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 4ddeee64390b
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod";
|
|
7
|
+
import {
|
|
8
|
+
RequestPolicyDocumentExtractionDto,
|
|
9
|
+
RequestPolicyDocumentExtractionDto$zodSchema,
|
|
10
|
+
} from "./requestpolicydocumentextractiondto.js";
|
|
11
|
+
|
|
12
|
+
export type PoliciesControllerExtractPolicyDocumentV1Request = {
|
|
13
|
+
xOrganizationId?: string | undefined;
|
|
14
|
+
id: string;
|
|
15
|
+
body?: RequestPolicyDocumentExtractionDto | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const PoliciesControllerExtractPolicyDocumentV1Request$zodSchema:
|
|
19
|
+
z.ZodType<PoliciesControllerExtractPolicyDocumentV1Request> = z.object({
|
|
20
|
+
body: RequestPolicyDocumentExtractionDto$zodSchema.optional(),
|
|
21
|
+
id: z.string().describe("Policy ID"),
|
|
22
|
+
xOrganizationId: z.string().describe(
|
|
23
|
+
"Organization ID (required for session auth, optional for API key auth)",
|
|
24
|
+
).optional(),
|
|
25
|
+
});
|
|
@@ -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");
|