@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.
- package/README.md +2 -2
- package/bin/mcp-server.js +3406 -2340
- package/bin/mcp-server.js.map +57 -48
- 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 +1 -1
- package/esm/funcs/ismsISMSControllerSetCoverageV1.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/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts +16 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts.map +1 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js +90 -0
- package/esm/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.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/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 +8 -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.js +1 -1
- package/esm/mcp-server/tools/ismsISMSControllerSetCoverageV1.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/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts +7 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js +35 -0
- package/esm/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.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/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 +1 -1
- 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 +1 -1
- package/esm/models/ismscontrollersetcoveragev1op.js +3 -3
- package/esm/models/ismscontrollersetcoveragev1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts +68 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.js +68 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollerdeleterowv1op.d.ts +10 -0
- package/esm/models/ismsregisterscontrollerdeleterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollerdeleterowv1op.js +10 -0
- 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/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.d.ts +14 -0
- package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.d.ts.map +1 -0
- package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js +13 -0
- package/esm/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js.map +1 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts +68 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js +68 -0
- 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/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/riskscontrollercreateriskv1op.d.ts +1 -1
- package/esm/models/riskscontrollergetallrisksv1op.d.ts +2 -2
- package/esm/models/riskscontrollergetriskbyidv1op.d.ts +1 -1
- package/esm/models/riskscontrollerupdateriskv1op.d.ts +1 -1
- 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 +1 -1
- package/esm/models/updatetaskitemdto.d.ts +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +17 -5
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- 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 +1 -1
- package/src/funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.ts +158 -0
- package/src/funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.ts +158 -0
- package/src/funcs/peoplePeopleControllerGetAllPeopleV1.ts +9 -8
- 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 +8 -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 +1 -1
- package/src/mcp-server/tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.ts +46 -0
- package/src/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.ts +46 -0
- package/src/mcp-server/tools/peoplePeopleControllerGetAllPeopleV1.ts +1 -1
- 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 +4 -4
- package/src/models/ismsregisterscontrollercreaterowv1op.ts +100 -0
- package/src/models/ismsregisterscontrollerdeleterowv1op.ts +10 -0
- package/src/models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.ts +39 -0
- package/src/models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.ts +38 -0
- package/src/models/ismsregisterscontrollerupdaterowv1op.ts +100 -0
- package/src/models/peoplecontrollerdeletememberv1op.ts +4 -2
- package/src/models/peoplecontrollergetallpeoplev1op.ts +20 -10
- package/src/models/policiescontrollergetpolicycontrolsv1op.ts +114 -0
- package/src/models/policiescontrollergetpolicyevidencetasksv1op.ts +194 -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 +17 -5
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 2a38d3af6848
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { CompAiCore } from "../core.js";
|
|
7
|
+
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import { compactMap } from "../lib/primitives.js";
|
|
9
|
+
import { safeParse } from "../lib/schemas.js";
|
|
10
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
11
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
12
|
+
import { pathToFunc } from "../lib/url.js";
|
|
13
|
+
import { APIError } from "../models/errors/apierror.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
22
|
+
import {
|
|
23
|
+
IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request,
|
|
24
|
+
IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request$zodSchema,
|
|
25
|
+
} from "../models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js";
|
|
26
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
27
|
+
import { Result } from "../types/fp.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Add vendors to the continuity contact list in one action
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Adds the chosen vendors to the Business Continuity Plan contact list in one transaction. Vendors already listed are skipped, not duplicated. The support contact is left blank: a vendor record holds our commercial contact, not their outage.
|
|
34
|
+
*/
|
|
35
|
+
export function ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1(
|
|
36
|
+
client$: CompAiCore,
|
|
37
|
+
request: IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): APIPromise<
|
|
40
|
+
Result<
|
|
41
|
+
Response,
|
|
42
|
+
| APIError
|
|
43
|
+
| SDKValidationError
|
|
44
|
+
| UnexpectedClientError
|
|
45
|
+
| InvalidRequestError
|
|
46
|
+
| RequestAbortedError
|
|
47
|
+
| RequestTimeoutError
|
|
48
|
+
| ConnectionError
|
|
49
|
+
>
|
|
50
|
+
> {
|
|
51
|
+
return new APIPromise($do(
|
|
52
|
+
client$,
|
|
53
|
+
request,
|
|
54
|
+
options,
|
|
55
|
+
));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
async function $do(
|
|
59
|
+
client$: CompAiCore,
|
|
60
|
+
request: IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request,
|
|
61
|
+
options?: RequestOptions,
|
|
62
|
+
): Promise<
|
|
63
|
+
[
|
|
64
|
+
Result<
|
|
65
|
+
Response,
|
|
66
|
+
| APIError
|
|
67
|
+
| SDKValidationError
|
|
68
|
+
| UnexpectedClientError
|
|
69
|
+
| InvalidRequestError
|
|
70
|
+
| RequestAbortedError
|
|
71
|
+
| RequestTimeoutError
|
|
72
|
+
| ConnectionError
|
|
73
|
+
>,
|
|
74
|
+
APICall,
|
|
75
|
+
]
|
|
76
|
+
> {
|
|
77
|
+
const parsed$ = safeParse(
|
|
78
|
+
request,
|
|
79
|
+
(value$) =>
|
|
80
|
+
IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request$zodSchema
|
|
81
|
+
.parse(value$),
|
|
82
|
+
"Input validation failed",
|
|
83
|
+
);
|
|
84
|
+
if (!parsed$.ok) {
|
|
85
|
+
return [parsed$, { status: "invalid" }];
|
|
86
|
+
}
|
|
87
|
+
const payload$ = parsed$.value;
|
|
88
|
+
const body$ = encodeJSON("body", payload$.body, { explode: true });
|
|
89
|
+
|
|
90
|
+
const pathParams$ = {
|
|
91
|
+
id: encodeSimple("id", payload$.id, {
|
|
92
|
+
explode: false,
|
|
93
|
+
charEncoding: "percent",
|
|
94
|
+
}),
|
|
95
|
+
};
|
|
96
|
+
const path$ = pathToFunc(
|
|
97
|
+
"/v1/isms/documents/{id}/continuity-contacts/import-vendors",
|
|
98
|
+
)(
|
|
99
|
+
pathParams$,
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
const headers$ = new Headers(compactMap({
|
|
103
|
+
"Content-Type": "application/json",
|
|
104
|
+
Accept: "*/*",
|
|
105
|
+
}));
|
|
106
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
107
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
108
|
+
|
|
109
|
+
const context = {
|
|
110
|
+
options: client$._options,
|
|
111
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
112
|
+
operationID: "IsmsRegistersController_importVendorsAsContinuityContacts_v1",
|
|
113
|
+
oAuth2Scopes: null,
|
|
114
|
+
resolvedSecurity: requestSecurity,
|
|
115
|
+
securitySource: client$._options.security,
|
|
116
|
+
retryConfig: options?.retries
|
|
117
|
+
|| client$._options.retryConfig
|
|
118
|
+
|| { strategy: "none" },
|
|
119
|
+
retryCodes: options?.retryCodes || [
|
|
120
|
+
"429",
|
|
121
|
+
"500",
|
|
122
|
+
"502",
|
|
123
|
+
"503",
|
|
124
|
+
"504",
|
|
125
|
+
],
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
const requestRes = client$._createRequest(context, {
|
|
129
|
+
security: requestSecurity,
|
|
130
|
+
method: "POST",
|
|
131
|
+
baseURL: options?.serverURL,
|
|
132
|
+
path: path$,
|
|
133
|
+
headers: headers$,
|
|
134
|
+
body: body$,
|
|
135
|
+
userAgent: client$._options.userAgent,
|
|
136
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs
|
|
137
|
+
|| 120000,
|
|
138
|
+
}, options);
|
|
139
|
+
if (!requestRes.ok) {
|
|
140
|
+
return [requestRes, { status: "invalid" }];
|
|
141
|
+
}
|
|
142
|
+
const req$ = requestRes.value;
|
|
143
|
+
|
|
144
|
+
const doResult = await client$._do(req$, {
|
|
145
|
+
context,
|
|
146
|
+
errorCodes: [],
|
|
147
|
+
retryConfig: context.retryConfig,
|
|
148
|
+
retryCodes: context.retryCodes,
|
|
149
|
+
});
|
|
150
|
+
if (!doResult.ok) {
|
|
151
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
152
|
+
}
|
|
153
|
+
return [doResult, {
|
|
154
|
+
status: "complete",
|
|
155
|
+
"request": req$,
|
|
156
|
+
response: doResult.value,
|
|
157
|
+
}];
|
|
158
|
+
}
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
*/
|
|
35
35
|
export function peoplePeopleControllerGetAllPeopleV1(
|
|
36
36
|
client$: CompAiCore,
|
|
37
|
-
request
|
|
37
|
+
request?: PeopleControllerGetAllPeopleV1Request | undefined,
|
|
38
38
|
options?: RequestOptions,
|
|
39
39
|
): APIPromise<
|
|
40
40
|
Result<
|
|
@@ -57,7 +57,7 @@ export function peoplePeopleControllerGetAllPeopleV1(
|
|
|
57
57
|
|
|
58
58
|
async function $do(
|
|
59
59
|
client$: CompAiCore,
|
|
60
|
-
request
|
|
60
|
+
request?: PeopleControllerGetAllPeopleV1Request | undefined,
|
|
61
61
|
options?: RequestOptions,
|
|
62
62
|
): Promise<
|
|
63
63
|
[
|
|
@@ -76,7 +76,8 @@ async function $do(
|
|
|
76
76
|
> {
|
|
77
77
|
const parsed$ = safeParse(
|
|
78
78
|
request,
|
|
79
|
-
(value$) =>
|
|
79
|
+
(value$) =>
|
|
80
|
+
PeopleControllerGetAllPeopleV1Request$zodSchema.optional().parse(value$),
|
|
80
81
|
"Input validation failed",
|
|
81
82
|
);
|
|
82
83
|
if (!parsed$.ok) {
|
|
@@ -86,11 +87,11 @@ async function $do(
|
|
|
86
87
|
const body$ = null;
|
|
87
88
|
const path$ = pathToFunc("/v1/people")();
|
|
88
89
|
const query$ = encodeFormQuery({
|
|
89
|
-
"includeDeactivated": payload
|
|
90
|
-
"offboardAfter": payload
|
|
91
|
-
"offboardBefore": payload
|
|
92
|
-
"onboardAfter": payload
|
|
93
|
-
"onboardBefore": payload
|
|
90
|
+
"includeDeactivated": payload$?.includeDeactivated,
|
|
91
|
+
"offboardAfter": payload$?.offboardAfter,
|
|
92
|
+
"offboardBefore": payload$?.offboardBefore,
|
|
93
|
+
"onboardAfter": payload$?.onboardAfter,
|
|
94
|
+
"onboardBefore": payload$?.onboardBefore,
|
|
94
95
|
});
|
|
95
96
|
|
|
96
97
|
const headers$ = new Headers(compactMap({
|
package/src/landing-page.ts
CHANGED
|
@@ -931,7 +931,7 @@ http_headers = { "apikey" = "YOUR_APIKEY" }`;
|
|
|
931
931
|
<h1>Instructions</h1>
|
|
932
932
|
<p>One-click installation for Claude Desktop users</p>
|
|
933
933
|
<div class="instruction-item">
|
|
934
|
-
<a href="https://github.com/trycompai/comp-v2/releases/download/v0.3.
|
|
934
|
+
<a href="https://github.com/trycompai/comp-v2/releases/download/v0.3.8/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
935
935
|
📥 Download MCP Bundle
|
|
936
936
|
</a>
|
|
937
937
|
</div>
|
package/src/lib/config.ts
CHANGED
|
@@ -66,8 +66,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
66
66
|
export const SDK_METADATA = {
|
|
67
67
|
language: "typescript",
|
|
68
68
|
openapiDocVersion: "1.0",
|
|
69
|
-
sdkVersion: "0.3.
|
|
70
|
-
genVersion: "2.
|
|
69
|
+
sdkVersion: "0.3.8",
|
|
70
|
+
genVersion: "2.932.9",
|
|
71
71
|
userAgent:
|
|
72
|
-
"speakeasy-sdk/mcp-typescript 0.3.
|
|
72
|
+
"speakeasy-sdk/mcp-typescript 0.3.8 2.932.9 1.0 @trycompai/mcp-server",
|
|
73
73
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -86,6 +86,7 @@ import { tool$evidenceFormsEvidenceFormsControllerGetMySubmissionsV1 } from "./t
|
|
|
86
86
|
import { tool$evidenceFormsEvidenceFormsControllerGetPendingSubmissionCountV1 } from "./tools/evidenceFormsEvidenceFormsControllerGetPendingSubmissionCountV1.js";
|
|
87
87
|
import { tool$evidenceFormsEvidenceFormsControllerGetSubmissionV1 } from "./tools/evidenceFormsEvidenceFormsControllerGetSubmissionV1.js";
|
|
88
88
|
import { tool$evidenceFormsEvidenceFormsControllerListFormsV1 } from "./tools/evidenceFormsEvidenceFormsControllerListFormsV1.js";
|
|
89
|
+
import { tool$evidenceFormsEvidenceFormsControllerListSubmissionsV1 } from "./tools/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js";
|
|
89
90
|
import { tool$evidenceFormsEvidenceFormsControllerReviewSubmissionV1 } from "./tools/evidenceFormsEvidenceFormsControllerReviewSubmissionV1.js";
|
|
90
91
|
import { tool$evidenceFormsEvidenceFormsControllerSubmitFormV1 } from "./tools/evidenceFormsEvidenceFormsControllerSubmitFormV1.js";
|
|
91
92
|
import { tool$evidenceFormsEvidenceFormsControllerUpdateFormSettingV1 } from "./tools/evidenceFormsEvidenceFormsControllerUpdateFormSettingV1.js";
|
|
@@ -179,6 +180,8 @@ import { tool$ismsISMSControllerUploadDocumentFileV1 } from "./tools/ismsISMSCon
|
|
|
179
180
|
import { tool$ismsISMSRegistersControllerBulkCreateMeasurementsV1 } from "./tools/ismsISMSRegistersControllerBulkCreateMeasurementsV1.js";
|
|
180
181
|
import { tool$ismsISMSRegistersControllerCreateRowV1 } from "./tools/ismsISMSRegistersControllerCreateRowV1.js";
|
|
181
182
|
import { tool$ismsISMSRegistersControllerDeleteRowV1 } from "./tools/ismsISMSRegistersControllerDeleteRowV1.js";
|
|
183
|
+
import { tool$ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1 } from "./tools/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js";
|
|
184
|
+
import { tool$ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1 } from "./tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js";
|
|
182
185
|
import { tool$ismsISMSRegistersControllerImportVendorsAsSoftwareV1 } from "./tools/ismsISMSRegistersControllerImportVendorsAsSoftwareV1.js";
|
|
183
186
|
import { tool$ismsISMSRegistersControllerSaveNarrativeV1 } from "./tools/ismsISMSRegistersControllerSaveNarrativeV1.js";
|
|
184
187
|
import { tool$ismsISMSRegistersControllerUpdateRowV1 } from "./tools/ismsISMSRegistersControllerUpdateRowV1.js";
|
|
@@ -457,7 +460,7 @@ export function createMCPServer(deps: {
|
|
|
457
460
|
}) {
|
|
458
461
|
const server = new McpServer({
|
|
459
462
|
name: "CompAi",
|
|
460
|
-
version: "0.3.
|
|
463
|
+
version: "0.3.8",
|
|
461
464
|
});
|
|
462
465
|
|
|
463
466
|
const getClient = deps.getSDK || (() =>
|
|
@@ -841,6 +844,8 @@ export function createMCPServer(deps: {
|
|
|
841
844
|
tool(tool$ismsISMSRegistersControllerDeleteRowV1);
|
|
842
845
|
tool(tool$ismsISMSRegistersControllerBulkCreateMeasurementsV1);
|
|
843
846
|
tool(tool$ismsISMSRegistersControllerImportVendorsAsSoftwareV1);
|
|
847
|
+
tool(tool$ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1);
|
|
848
|
+
tool(tool$ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1);
|
|
844
849
|
tool(tool$ismsISMSRegistersControllerSaveNarrativeV1);
|
|
845
850
|
tool(tool$taskManagementTaskManagementControllerGetTaskItemsStatsV1);
|
|
846
851
|
tool(tool$taskManagementTaskManagementControllerGetTaskItemsV1);
|
|
@@ -867,9 +872,10 @@ export function createMCPServer(deps: {
|
|
|
867
872
|
tool(tool$evidenceFormsEvidenceFormsControllerGetMySubmissionsV1);
|
|
868
873
|
tool(tool$evidenceFormsEvidenceFormsControllerGetPendingSubmissionCountV1);
|
|
869
874
|
tool(tool$evidenceFormsEvidenceFormsControllerGetFormWithSubmissionsV1);
|
|
875
|
+
tool(tool$evidenceFormsEvidenceFormsControllerListSubmissionsV1);
|
|
876
|
+
tool(tool$evidenceFormsEvidenceFormsControllerSubmitFormV1);
|
|
870
877
|
tool(tool$evidenceFormsEvidenceFormsControllerGetSubmissionV1);
|
|
871
878
|
tool(tool$evidenceFormsEvidenceFormsControllerDeleteSubmissionV1);
|
|
872
|
-
tool(tool$evidenceFormsEvidenceFormsControllerSubmitFormV1);
|
|
873
879
|
tool(tool$evidenceFormsEvidenceFormsControllerUploadSubmissionV1);
|
|
874
880
|
tool(tool$evidenceFormsEvidenceFormsControllerReviewSubmissionV1);
|
|
875
881
|
tool(tool$evidenceFormsEvidenceFormsControllerUploadFileV1);
|
|
@@ -8,7 +8,7 @@ import { DeviceAgentControllerGetDeviceStatusV1Request$zodSchema } from "../../m
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
-
request: DeviceAgentControllerGetDeviceStatusV1Request$zodSchema,
|
|
11
|
+
request: DeviceAgentControllerGetDeviceStatusV1Request$zodSchema.optional(),
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export const tool$deviceAgentDeviceAgentControllerGetDeviceStatusV1:
|
|
@@ -8,7 +8,8 @@ import { EvidenceFormsControllerGetMySubmissionsV1Request$zodSchema } from "../.
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
-
request: EvidenceFormsControllerGetMySubmissionsV1Request$zodSchema
|
|
11
|
+
request: EvidenceFormsControllerGetMySubmissionsV1Request$zodSchema
|
|
12
|
+
.optional(),
|
|
12
13
|
};
|
|
13
14
|
|
|
14
15
|
export const tool$evidenceFormsEvidenceFormsControllerGetMySubmissionsV1:
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 34296ee0f0f5
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { evidenceFormsEvidenceFormsControllerListSubmissionsV1 } from "../../funcs/evidenceFormsEvidenceFormsControllerListSubmissionsV1.js";
|
|
7
|
+
import { EvidenceFormsControllerListSubmissionsV1Request$zodSchema } from "../../models/evidenceformscontrollerlistsubmissionsv1op.js";
|
|
8
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
|
+
|
|
10
|
+
const args = {
|
|
11
|
+
request: EvidenceFormsControllerListSubmissionsV1Request$zodSchema,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const tool$evidenceFormsEvidenceFormsControllerListSubmissionsV1:
|
|
15
|
+
ToolDefinition<typeof args> = {
|
|
16
|
+
name: "list-evidence-form-submissions",
|
|
17
|
+
description: `List evidence form submissions
|
|
18
|
+
|
|
19
|
+
Returns the organization's submissions for one evidence form type in the standard {data, count} envelope, newest first. Use to audit evidence completeness across the org.`,
|
|
20
|
+
annotations: {
|
|
21
|
+
"title": "",
|
|
22
|
+
"destructiveHint": false,
|
|
23
|
+
"idempotentHint": true,
|
|
24
|
+
"openWorldHint": false,
|
|
25
|
+
"readOnlyHint": true,
|
|
26
|
+
},
|
|
27
|
+
args,
|
|
28
|
+
tool: async (client, args, ctx) => {
|
|
29
|
+
const [result] =
|
|
30
|
+
await evidenceFormsEvidenceFormsControllerListSubmissionsV1(
|
|
31
|
+
client,
|
|
32
|
+
args.request,
|
|
33
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
34
|
+
).$inspect();
|
|
35
|
+
|
|
36
|
+
if (!result.ok) {
|
|
37
|
+
return {
|
|
38
|
+
content: [{ type: "text", text: result.error.message }],
|
|
39
|
+
isError: true,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return formatResult(result.value);
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -8,7 +8,7 @@ import { ConnectionsControllerListProvidersV1Request$zodSchema } from "../../mod
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
-
request: ConnectionsControllerListProvidersV1Request$zodSchema,
|
|
11
|
+
request: ConnectionsControllerListProvidersV1Request$zodSchema.optional(),
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export const tool$integrationsConnectionsControllerListProvidersV1:
|
|
@@ -8,7 +8,8 @@ import { SyncControllerGetAvailableSyncProvidersV1Request$zodSchema } from "../.
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
-
request: SyncControllerGetAvailableSyncProvidersV1Request$zodSchema
|
|
11
|
+
request: SyncControllerGetAvailableSyncProvidersV1Request$zodSchema
|
|
12
|
+
.optional(),
|
|
12
13
|
};
|
|
13
14
|
|
|
14
15
|
export const tool$integrationsSyncControllerGetAvailableSyncProvidersV1:
|
|
@@ -16,7 +16,7 @@ export const tool$ismsISMSControllerSetCoverageV1: ToolDefinition<typeof args> =
|
|
|
16
16
|
name: "set-coverage",
|
|
17
17
|
description: `Set how much of an ISMS document Comp AI holds
|
|
18
18
|
|
|
19
|
-
Marks
|
|
19
|
+
Marks an ISMS document, or one section of it, as included, maintained outside Comp AI, or not applicable, which requires a written justification. External renders a pointer to where the content lives; the sections depend on the type.`,
|
|
20
20
|
annotations: {
|
|
21
21
|
"title": "",
|
|
22
22
|
"destructiveHint": false,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d3fdd830c115
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1 } from "../../funcs/ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1.js";
|
|
7
|
+
import { IsmsRegistersControllerImportFindingsAsNonconformitiesV1Request$zodSchema } from "../../models/ismsregisterscontrollerimportfindingsasnonconformitiesv1op.js";
|
|
8
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
|
+
|
|
10
|
+
const args = {
|
|
11
|
+
request:
|
|
12
|
+
IsmsRegistersControllerImportFindingsAsNonconformitiesV1Request$zodSchema,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const tool$ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1:
|
|
16
|
+
ToolDefinition<typeof args> = {
|
|
17
|
+
name: "import-findings-as-nonconformities",
|
|
18
|
+
description: `Raise register entries from internal-audit findings
|
|
19
|
+
|
|
20
|
+
Raises the chosen internal-audit findings as entries in the Nonconformity & Corrective Action Register, in one transaction. A finding already imported is skipped, never duplicated. Findings must belong to this register's framework.`,
|
|
21
|
+
annotations: {
|
|
22
|
+
"title": "",
|
|
23
|
+
"destructiveHint": false,
|
|
24
|
+
"idempotentHint": false,
|
|
25
|
+
"openWorldHint": false,
|
|
26
|
+
"readOnlyHint": false,
|
|
27
|
+
},
|
|
28
|
+
args,
|
|
29
|
+
tool: async (client, args, ctx) => {
|
|
30
|
+
const [result] =
|
|
31
|
+
await ismsISMSRegistersControllerImportFindingsAsNonconformitiesV1(
|
|
32
|
+
client,
|
|
33
|
+
args.request,
|
|
34
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
35
|
+
).$inspect();
|
|
36
|
+
|
|
37
|
+
if (!result.ok) {
|
|
38
|
+
return {
|
|
39
|
+
content: [{ type: "text", text: result.error.message }],
|
|
40
|
+
isError: true,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return formatResult(result.value);
|
|
45
|
+
},
|
|
46
|
+
};
|
package/src/mcp-server/tools/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 465a8e2af6f9
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1 } from "../../funcs/ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1.js";
|
|
7
|
+
import { IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request$zodSchema } from "../../models/ismsregisterscontrollerimportvendorsascontinuitycontactsv1op.js";
|
|
8
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
|
+
|
|
10
|
+
const args = {
|
|
11
|
+
request:
|
|
12
|
+
IsmsRegistersControllerImportVendorsAsContinuityContactsV1Request$zodSchema,
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const tool$ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1:
|
|
16
|
+
ToolDefinition<typeof args> = {
|
|
17
|
+
name: "import-vendors-as-continuity-contacts",
|
|
18
|
+
description: `Add vendors to the continuity contact list in one action
|
|
19
|
+
|
|
20
|
+
Adds the chosen vendors to the Business Continuity Plan contact list in one transaction. Vendors already listed are skipped, not duplicated. The support contact is left blank: a vendor record holds our commercial contact, not their outage.`,
|
|
21
|
+
annotations: {
|
|
22
|
+
"title": "",
|
|
23
|
+
"destructiveHint": false,
|
|
24
|
+
"idempotentHint": false,
|
|
25
|
+
"openWorldHint": false,
|
|
26
|
+
"readOnlyHint": false,
|
|
27
|
+
},
|
|
28
|
+
args,
|
|
29
|
+
tool: async (client, args, ctx) => {
|
|
30
|
+
const [result] =
|
|
31
|
+
await ismsISMSRegistersControllerImportVendorsAsContinuityContactsV1(
|
|
32
|
+
client,
|
|
33
|
+
args.request,
|
|
34
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
35
|
+
).$inspect();
|
|
36
|
+
|
|
37
|
+
if (!result.ok) {
|
|
38
|
+
return {
|
|
39
|
+
content: [{ type: "text", text: result.error.message }],
|
|
40
|
+
isError: true,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return formatResult(result.value);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
@@ -8,7 +8,7 @@ import { PeopleControllerGetAllPeopleV1Request$zodSchema } from "../../models/pe
|
|
|
8
8
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
9
9
|
|
|
10
10
|
const args = {
|
|
11
|
-
request: PeopleControllerGetAllPeopleV1Request$zodSchema,
|
|
11
|
+
request: PeopleControllerGetAllPeopleV1Request$zodSchema.optional(),
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export const tool$peoplePeopleControllerGetAllPeopleV1: ToolDefinition<
|
|
@@ -8,15 +8,17 @@ import * as z from "zod";
|
|
|
8
8
|
export type AutomationsControllerGetAutomationVersionsV1Request = {
|
|
9
9
|
taskId: string;
|
|
10
10
|
automationId: string;
|
|
11
|
-
limit
|
|
12
|
-
offset
|
|
11
|
+
limit?: string | undefined;
|
|
12
|
+
offset?: string | undefined;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
export const AutomationsControllerGetAutomationVersionsV1Request$zodSchema:
|
|
16
16
|
z.ZodType<AutomationsControllerGetAutomationVersionsV1Request> = z.object({
|
|
17
17
|
automationId: z.string().describe("Automation ID"),
|
|
18
|
-
limit: z.string(),
|
|
19
|
-
offset: z.string()
|
|
18
|
+
limit: z.string().describe("Page size. Omit for every version.").optional(),
|
|
19
|
+
offset: z.string().describe(
|
|
20
|
+
"Versions to skip. Omit to start at the newest.",
|
|
21
|
+
).optional(),
|
|
20
22
|
taskId: z.string().describe("Task ID"),
|
|
21
23
|
});
|
|
22
24
|
|
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
|
|
8
8
|
export type ConnectionsControllerListProvidersV1Request = {
|
|
9
|
-
activeOnly
|
|
9
|
+
activeOnly?: string | undefined;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
export const ConnectionsControllerListProvidersV1Request$zodSchema: z.ZodType<
|
|
13
13
|
ConnectionsControllerListProvidersV1Request
|
|
14
14
|
> = z.object({
|
|
15
|
-
activeOnly: z.string()
|
|
15
|
+
activeOnly: z.string().describe(
|
|
16
|
+
"Pass true to list only providers that are currently active",
|
|
17
|
+
).optional(),
|
|
16
18
|
});
|
|
@@ -7,12 +7,14 @@ import * as z from "zod";
|
|
|
7
7
|
|
|
8
8
|
export type ControlsControllerFindOneV1Request = {
|
|
9
9
|
id: string;
|
|
10
|
-
frameworkInstanceId
|
|
10
|
+
frameworkInstanceId?: string | undefined;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export const ControlsControllerFindOneV1Request$zodSchema: z.ZodType<
|
|
14
14
|
ControlsControllerFindOneV1Request
|
|
15
15
|
> = z.object({
|
|
16
|
-
frameworkInstanceId: z.string()
|
|
16
|
+
frameworkInstanceId: z.string().describe(
|
|
17
|
+
"Scope to one framework instance. Omit to use every instance the control belongs to.",
|
|
18
|
+
).optional(),
|
|
17
19
|
id: z.string(),
|
|
18
20
|
});
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
|
|
12
12
|
export type ControlsControllerLinkDocumentTypesV1Request = {
|
|
13
13
|
id: string;
|
|
14
|
-
frameworkInstanceId
|
|
14
|
+
frameworkInstanceId?: string | undefined;
|
|
15
15
|
body: LinkDocumentTypesDto;
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -19,6 +19,8 @@ export const ControlsControllerLinkDocumentTypesV1Request$zodSchema: z.ZodType<
|
|
|
19
19
|
ControlsControllerLinkDocumentTypesV1Request
|
|
20
20
|
> = z.object({
|
|
21
21
|
body: LinkDocumentTypesDto$zodSchema,
|
|
22
|
-
frameworkInstanceId: z.string()
|
|
22
|
+
frameworkInstanceId: z.string().describe(
|
|
23
|
+
"Scope to one framework instance. Omit to use every instance the control belongs to.",
|
|
24
|
+
).optional(),
|
|
23
25
|
id: z.string(),
|
|
24
26
|
});
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
|
|
12
12
|
export type ControlsControllerLinkPoliciesV1Request = {
|
|
13
13
|
id: string;
|
|
14
|
-
frameworkInstanceId
|
|
14
|
+
frameworkInstanceId?: string | undefined;
|
|
15
15
|
body: LinkPoliciesDto;
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -19,6 +19,8 @@ export const ControlsControllerLinkPoliciesV1Request$zodSchema: z.ZodType<
|
|
|
19
19
|
ControlsControllerLinkPoliciesV1Request
|
|
20
20
|
> = z.object({
|
|
21
21
|
body: LinkPoliciesDto$zodSchema,
|
|
22
|
-
frameworkInstanceId: z.string()
|
|
22
|
+
frameworkInstanceId: z.string().describe(
|
|
23
|
+
"Scope to one framework instance. Omit to use every instance the control belongs to.",
|
|
24
|
+
).optional(),
|
|
23
25
|
id: z.string(),
|
|
24
26
|
});
|
|
@@ -8,7 +8,7 @@ import { LinkTasksDto, LinkTasksDto$zodSchema } from "./linktasksdto.js";
|
|
|
8
8
|
|
|
9
9
|
export type ControlsControllerLinkTasksV1Request = {
|
|
10
10
|
id: string;
|
|
11
|
-
frameworkInstanceId
|
|
11
|
+
frameworkInstanceId?: string | undefined;
|
|
12
12
|
body: LinkTasksDto;
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -16,6 +16,8 @@ export const ControlsControllerLinkTasksV1Request$zodSchema: z.ZodType<
|
|
|
16
16
|
ControlsControllerLinkTasksV1Request
|
|
17
17
|
> = z.object({
|
|
18
18
|
body: LinkTasksDto$zodSchema,
|
|
19
|
-
frameworkInstanceId: z.string()
|
|
19
|
+
frameworkInstanceId: z.string().describe(
|
|
20
|
+
"Scope to one framework instance. Omit to use every instance the control belongs to.",
|
|
21
|
+
).optional(),
|
|
20
22
|
id: z.string(),
|
|
21
23
|
});
|
|
@@ -49,7 +49,7 @@ export const ControlsControllerUnlinkDocumentTypeV1FormType$zodSchema = z.enum([
|
|
|
49
49
|
|
|
50
50
|
export type ControlsControllerUnlinkDocumentTypeV1Request = {
|
|
51
51
|
id: string;
|
|
52
|
-
frameworkInstanceId
|
|
52
|
+
frameworkInstanceId?: string | undefined;
|
|
53
53
|
formType: ControlsControllerUnlinkDocumentTypeV1FormType;
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -59,6 +59,8 @@ export const ControlsControllerUnlinkDocumentTypeV1Request$zodSchema: z.ZodType<
|
|
|
59
59
|
formType: ControlsControllerUnlinkDocumentTypeV1FormType$zodSchema.describe(
|
|
60
60
|
"Evidence form type to unlink from the control",
|
|
61
61
|
),
|
|
62
|
-
frameworkInstanceId: z.string()
|
|
62
|
+
frameworkInstanceId: z.string().describe(
|
|
63
|
+
"Scope to one framework instance. Omit to use every instance the control belongs to.",
|
|
64
|
+
).optional(),
|
|
63
65
|
id: z.string().describe("Unique control identifier"),
|
|
64
66
|
});
|