@trycompai/mcp-server 0.2.1 → 0.2.2
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 +3433 -2423
- package/bin/mcp-server.js.map +56 -35
- package/esm/funcs/frameworksFrameworksControllerUpdateCustomV1.d.ts +16 -0
- package/esm/funcs/frameworksFrameworksControllerUpdateCustomV1.d.ts.map +1 -0
- package/esm/funcs/frameworksFrameworksControllerUpdateCustomV1.js +93 -0
- package/esm/funcs/frameworksFrameworksControllerUpdateCustomV1.js.map +1 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.d.ts +17 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.d.ts.map +1 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.js +73 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.js.map +1 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.d.ts +17 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.d.ts.map +1 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.js +73 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.js.map +1 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.d.ts +17 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.d.ts.map +1 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.js +73 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.js.map +1 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.d.ts +18 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.d.ts.map +1 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.js +84 -0
- package/esm/funcs/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.js.map +1 -0
- package/esm/funcs/ismsISMSControllerGetVersionsV1.d.ts +18 -0
- package/esm/funcs/ismsISMSControllerGetVersionsV1.d.ts.map +1 -0
- package/esm/funcs/ismsISMSControllerGetVersionsV1.js +89 -0
- package/esm/funcs/ismsISMSControllerGetVersionsV1.js.map +1 -0
- package/esm/funcs/peoplePeopleControllerGetMemberAccessV1.d.ts +18 -0
- package/esm/funcs/peoplePeopleControllerGetMemberAccessV1.d.ts.map +1 -0
- package/esm/funcs/peoplePeopleControllerGetMemberAccessV1.js +89 -0
- package/esm/funcs/peoplePeopleControllerGetMemberAccessV1.js.map +1 -0
- package/esm/funcs/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.d.ts +16 -0
- package/esm/funcs/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.d.ts.map +1 -0
- package/esm/funcs/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.js +88 -0
- package/esm/funcs/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.js.map +1 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.d.ts +18 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.d.ts.map +1 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.js +84 -0
- package/esm/funcs/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.js.map +1 -0
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/http.d.ts +1 -1
- package/esm/lib/http.d.ts.map +1 -1
- package/esm/lib/http.js +1 -1
- package/esm/lib/http.js.map +1 -1
- package/esm/lib/security.d.ts +5 -4
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +4 -5
- package/esm/lib/security.js.map +1 -1
- 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 +76 -60
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.d.ts +3 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.js +29 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.js.map +1 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.d.ts +3 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.js +29 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.js.map +1 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.d.ts +3 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.js +29 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.js.map +1 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.js +34 -0
- package/esm/mcp-server/tools/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.js.map +1 -0
- package/esm/mcp-server/tools/ismsISMSControllerGetVersionsV1.d.ts +7 -0
- package/esm/mcp-server/tools/ismsISMSControllerGetVersionsV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/ismsISMSControllerGetVersionsV1.js +34 -0
- package/esm/mcp-server/tools/ismsISMSControllerGetVersionsV1.js.map +1 -0
- package/esm/mcp-server/tools/peoplePeopleControllerGetMemberAccessV1.d.ts +7 -0
- package/esm/mcp-server/tools/peoplePeopleControllerGetMemberAccessV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/peoplePeopleControllerGetMemberAccessV1.js +34 -0
- package/esm/mcp-server/tools/peoplePeopleControllerGetMemberAccessV1.js.map +1 -0
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.d.ts +7 -0
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.js +34 -0
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.js.map +1 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.d.ts +7 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.js +34 -0
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.js.map +1 -0
- package/esm/models/automationscontrollergettaskautomationrunsv1op.d.ts +4 -4
- package/esm/models/automationscontrollergettaskautomationrunsv1op.d.ts.map +1 -1
- package/esm/models/automationscontrollergettaskautomationrunsv1op.js +3 -3
- package/esm/models/automationscontrollergettaskautomationrunsv1op.js.map +1 -1
- package/esm/models/contextcontrollercreatecontextv1op.d.ts +9 -9
- package/esm/models/contextcontrollercreatecontextv1op.d.ts.map +1 -1
- package/esm/models/contextcontrollercreatecontextv1op.js +8 -8
- package/esm/models/contextcontrollercreatecontextv1op.js.map +1 -1
- package/esm/models/contextcontrollerdeletecontextv1op.d.ts +9 -9
- package/esm/models/contextcontrollerdeletecontextv1op.d.ts.map +1 -1
- package/esm/models/contextcontrollerdeletecontextv1op.js +8 -8
- package/esm/models/contextcontrollerdeletecontextv1op.js.map +1 -1
- package/esm/models/contextcontrollergetallcontextv1op.d.ts +9 -9
- package/esm/models/contextcontrollergetallcontextv1op.d.ts.map +1 -1
- package/esm/models/contextcontrollergetallcontextv1op.js +8 -8
- package/esm/models/contextcontrollergetallcontextv1op.js.map +1 -1
- package/esm/models/contextcontrollergetcontextbyidv1op.d.ts +9 -9
- package/esm/models/contextcontrollergetcontextbyidv1op.d.ts.map +1 -1
- package/esm/models/contextcontrollergetcontextbyidv1op.js +8 -8
- package/esm/models/contextcontrollergetcontextbyidv1op.js.map +1 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.d.ts +4 -4
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.d.ts.map +1 -1
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.js +3 -3
- package/esm/models/controlscontrollerunlinkdocumenttypev1op.js.map +1 -1
- package/esm/models/devicescontrollergetalldevicesv1op.d.ts +15 -15
- package/esm/models/devicescontrollergetalldevicesv1op.d.ts.map +1 -1
- package/esm/models/devicescontrollergetalldevicesv1op.js +11 -11
- package/esm/models/devicescontrollergetalldevicesv1op.js.map +1 -1
- package/esm/models/exportismsdocumentdto.d.ts +1 -0
- package/esm/models/exportismsdocumentdto.d.ts.map +1 -1
- package/esm/models/exportismsdocumentdto.js +1 -0
- package/esm/models/exportismsdocumentdto.js.map +1 -1
- package/esm/models/frameworkscontrollerupdatecustomv1op.d.ts +12 -0
- package/esm/models/frameworkscontrollerupdatecustomv1op.d.ts.map +1 -0
- package/esm/models/frameworkscontrollerupdatecustomv1op.js +13 -0
- package/esm/models/frameworkscontrollerupdatecustomv1op.js.map +1 -0
- package/esm/models/ismscontrollergetversionsv1op.d.ts +6 -0
- package/esm/models/ismscontrollergetversionsv1op.d.ts.map +1 -0
- package/esm/models/ismscontrollergetversionsv1op.js +8 -0
- package/esm/models/ismscontrollergetversionsv1op.js.map +1 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts +41 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollercreaterowv1op.js +42 -0
- package/esm/models/ismsregisterscontrollercreaterowv1op.js.map +1 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts +41 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.d.ts.map +1 -1
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js +42 -0
- package/esm/models/ismsregisterscontrollerupdaterowv1op.js.map +1 -1
- package/esm/models/organizationcontrollerdeleteorganizationv1op.d.ts +15 -15
- package/esm/models/organizationcontrollerdeleteorganizationv1op.d.ts.map +1 -1
- package/esm/models/organizationcontrollerdeleteorganizationv1op.js +12 -12
- package/esm/models/organizationcontrollerdeleteorganizationv1op.js.map +1 -1
- package/esm/models/organizationcontrollergetorganizationv1op.d.ts +11 -11
- package/esm/models/organizationcontrollergetorganizationv1op.d.ts.map +1 -1
- package/esm/models/organizationcontrollergetorganizationv1op.js +7 -7
- package/esm/models/organizationcontrollergetorganizationv1op.js.map +1 -1
- package/esm/models/organizationcontrollergetprimarycolorv1op.d.ts +15 -15
- package/esm/models/organizationcontrollergetprimarycolorv1op.d.ts.map +1 -1
- package/esm/models/organizationcontrollergetprimarycolorv1op.js +11 -11
- package/esm/models/organizationcontrollergetprimarycolorv1op.js.map +1 -1
- package/esm/models/organizationcontrollerupdateorganizationv1op.d.ts +20 -16
- package/esm/models/organizationcontrollerupdateorganizationv1op.d.ts.map +1 -1
- package/esm/models/organizationcontrollerupdateorganizationv1op.js +17 -13
- package/esm/models/organizationcontrollerupdateorganizationv1op.js.map +1 -1
- package/esm/models/peoplecontrollerbulkcreatemembersv1op.d.ts +15 -15
- package/esm/models/peoplecontrollerbulkcreatemembersv1op.d.ts.map +1 -1
- package/esm/models/peoplecontrollerbulkcreatemembersv1op.js +11 -11
- package/esm/models/peoplecontrollerbulkcreatemembersv1op.js.map +1 -1
- package/esm/models/peoplecontrollerdeletememberv1op.d.ts +15 -15
- package/esm/models/peoplecontrollerdeletememberv1op.d.ts.map +1 -1
- package/esm/models/peoplecontrollerdeletememberv1op.js +11 -11
- package/esm/models/peoplecontrollerdeletememberv1op.js.map +1 -1
- package/esm/models/peoplecontrollergetallpeoplev1op.d.ts +15 -15
- package/esm/models/peoplecontrollergetallpeoplev1op.d.ts.map +1 -1
- package/esm/models/peoplecontrollergetallpeoplev1op.js +11 -11
- package/esm/models/peoplecontrollergetallpeoplev1op.js.map +1 -1
- package/esm/models/peoplecontrollergetmemberaccessv1op.d.ts +6 -0
- package/esm/models/peoplecontrollergetmemberaccessv1op.d.ts.map +1 -0
- package/esm/models/peoplecontrollergetmemberaccessv1op.js +8 -0
- package/esm/models/peoplecontrollergetmemberaccessv1op.js.map +1 -0
- package/esm/models/peoplecontrollerremovehostv1op.d.ts +15 -15
- package/esm/models/peoplecontrollerremovehostv1op.d.ts.map +1 -1
- package/esm/models/peoplecontrollerremovehostv1op.js +11 -11
- package/esm/models/peoplecontrollerremovehostv1op.js.map +1 -1
- package/esm/models/policiescontrollerdeletepolicyv1op.d.ts +15 -15
- package/esm/models/policiescontrollerdeletepolicyv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollerdeletepolicyv1op.js +11 -11
- package/esm/models/policiescontrollerdeletepolicyv1op.js.map +1 -1
- package/esm/models/policiescontrollergetallpoliciesv1op.d.ts +13 -13
- package/esm/models/policiescontrollergetallpoliciesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollergetallpoliciesv1op.js +9 -9
- package/esm/models/policiescontrollergetallpoliciesv1op.js.map +1 -1
- package/esm/models/questionnairecontrollerautoanswerandexportuploadv1op.d.ts +5 -5
- package/esm/models/questionnairecontrollerautoanswerandexportuploadv1op.d.ts.map +1 -1
- package/esm/models/questionnairecontrollerautoanswerandexportuploadv1op.js +4 -4
- package/esm/models/questionnairecontrollerautoanswerandexportuploadv1op.js.map +1 -1
- package/esm/models/questionnairecontrollerparsequestionnaireuploadv1op.d.ts +5 -5
- package/esm/models/questionnairecontrollerparsequestionnaireuploadv1op.d.ts.map +1 -1
- package/esm/models/questionnairecontrollerparsequestionnaireuploadv1op.js +4 -4
- package/esm/models/questionnairecontrollerparsequestionnaireuploadv1op.js.map +1 -1
- package/esm/models/questionnairecontrolleruploadandparseuploadv1op.d.ts +5 -5
- package/esm/models/questionnairecontrolleruploadandparseuploadv1op.d.ts.map +1 -1
- package/esm/models/questionnairecontrolleruploadandparseuploadv1op.js +4 -4
- package/esm/models/questionnairecontrolleruploadandparseuploadv1op.js.map +1 -1
- package/esm/models/riskscontrollercreateriskv1op.d.ts +30 -30
- package/esm/models/riskscontrollercreateriskv1op.d.ts.map +1 -1
- package/esm/models/riskscontrollercreateriskv1op.js +15 -15
- package/esm/models/riskscontrollercreateriskv1op.js.map +1 -1
- package/esm/models/riskscontrollerdeleteriskv1op.d.ts +15 -15
- package/esm/models/riskscontrollerdeleteriskv1op.d.ts.map +1 -1
- package/esm/models/riskscontrollerdeleteriskv1op.js +11 -11
- package/esm/models/riskscontrollerdeleteriskv1op.js.map +1 -1
- package/esm/models/riskscontrollergetallrisksv1op.d.ts +47 -47
- package/esm/models/riskscontrollergetallrisksv1op.d.ts.map +1 -1
- package/esm/models/riskscontrollergetallrisksv1op.js +34 -34
- package/esm/models/riskscontrollergetallrisksv1op.js.map +1 -1
- package/esm/models/riskscontrollergetriskbyidv1op.d.ts +32 -32
- package/esm/models/riskscontrollergetriskbyidv1op.d.ts.map +1 -1
- package/esm/models/riskscontrollergetriskbyidv1op.js +16 -16
- package/esm/models/riskscontrollergetriskbyidv1op.js.map +1 -1
- package/esm/models/riskscontrollerupdateriskv1op.d.ts +35 -35
- package/esm/models/riskscontrollerupdateriskv1op.d.ts.map +1 -1
- package/esm/models/riskscontrollerupdateriskv1op.js +19 -19
- package/esm/models/riskscontrollerupdateriskv1op.js.map +1 -1
- package/esm/models/setemployeesyncproviderdto.d.ts +3 -3
- package/esm/models/setemployeesyncproviderdto.d.ts.map +1 -1
- package/esm/models/setemployeesyncproviderdto.js +3 -2
- package/esm/models/setemployeesyncproviderdto.js.map +1 -1
- package/esm/models/settwofactorsourcedto.d.ts +12 -0
- package/esm/models/settwofactorsourcedto.d.ts.map +1 -0
- package/esm/models/settwofactorsourcedto.js +11 -0
- package/esm/models/settwofactorsourcedto.js.map +1 -0
- package/esm/models/taskitemresponsedto.d.ts +5 -5
- package/esm/models/taskitemresponsedto.d.ts.map +1 -1
- package/esm/models/taskitemresponsedto.js +1 -1
- package/esm/models/taskitemresponsedto.js.map +1 -1
- package/esm/models/taskresponsedto.d.ts +5 -5
- package/esm/models/taskresponsedto.d.ts.map +1 -1
- package/esm/models/taskresponsedto.js +2 -2
- package/esm/models/taskresponsedto.js.map +1 -1
- package/esm/models/trustaccesscontrollergetpublicsecurityquestionnairev1op.d.ts +13 -0
- package/esm/models/trustaccesscontrollergetpublicsecurityquestionnairev1op.d.ts.map +1 -0
- package/esm/models/trustaccesscontrollergetpublicsecurityquestionnairev1op.js +13 -0
- package/esm/models/trustaccesscontrollergetpublicsecurityquestionnairev1op.js.map +1 -0
- package/esm/models/trustportalcontrollerupdatecustomframeworkv1op.d.ts +6 -6
- package/esm/models/trustportalcontrollerupdatecustomframeworkv1op.d.ts.map +1 -1
- package/esm/models/trustportalcontrollerupdatecustomframeworkv1op.js +6 -6
- package/esm/models/trustportalcontrollerupdatecustomframeworkv1op.js.map +1 -1
- package/esm/models/trustportalcontrollerupdatesecurityquestionnairev1op.d.ts +6 -0
- package/esm/models/trustportalcontrollerupdatesecurityquestionnairev1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollerupdatesecurityquestionnairev1op.js +9 -0
- package/esm/models/trustportalcontrollerupdatesecurityquestionnairev1op.js.map +1 -0
- package/esm/models/updatecustomframeworkdto.d.ts +7 -0
- package/esm/models/updatecustomframeworkdto.d.ts.map +1 -0
- package/esm/models/updatecustomframeworkdto.js +9 -0
- package/esm/models/updatecustomframeworkdto.js.map +1 -0
- package/esm/models/vendorscontrollercreatevendorv1op.d.ts +30 -30
- package/esm/models/vendorscontrollercreatevendorv1op.d.ts.map +1 -1
- package/esm/models/vendorscontrollercreatevendorv1op.js +15 -15
- package/esm/models/vendorscontrollercreatevendorv1op.js.map +1 -1
- package/esm/models/vendorscontrollerdeletevendorv1op.d.ts +15 -15
- package/esm/models/vendorscontrollerdeletevendorv1op.d.ts.map +1 -1
- package/esm/models/vendorscontrollerdeletevendorv1op.js +11 -11
- package/esm/models/vendorscontrollerdeletevendorv1op.js.map +1 -1
- package/esm/models/vendorscontrollergetallvendorsv1op.d.ts +36 -36
- package/esm/models/vendorscontrollergetallvendorsv1op.d.ts.map +1 -1
- package/esm/models/vendorscontrollergetallvendorsv1op.js +22 -22
- package/esm/models/vendorscontrollergetallvendorsv1op.js.map +1 -1
- package/esm/models/vendorscontrollergetvendorbyidv1op.d.ts +25 -25
- package/esm/models/vendorscontrollergetvendorbyidv1op.d.ts.map +1 -1
- package/esm/models/vendorscontrollergetvendorbyidv1op.js +14 -14
- package/esm/models/vendorscontrollergetvendorbyidv1op.js.map +1 -1
- package/esm/models/vendorscontrollerupdatevendorv1op.d.ts +35 -35
- package/esm/models/vendorscontrollerupdatevendorv1op.d.ts.map +1 -1
- package/esm/models/vendorscontrollerupdatevendorv1op.js +19 -19
- package/esm/models/vendorscontrollerupdatevendorv1op.js.map +1 -1
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +268 -236
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/frameworksFrameworksControllerUpdateCustomV1.ts +166 -0
- package/src/funcs/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.ts +125 -0
- package/src/funcs/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.ts +125 -0
- package/src/funcs/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.ts +125 -0
- package/src/funcs/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.ts +146 -0
- package/src/funcs/ismsISMSControllerGetVersionsV1.ts +154 -0
- package/src/funcs/peoplePeopleControllerGetMemberAccessV1.ts +155 -0
- package/src/funcs/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.ts +156 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.ts +151 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +78 -60
- package/src/mcp-server/tools/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.ts +37 -0
- package/src/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.ts +37 -0
- package/src/mcp-server/tools/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.ts +37 -0
- package/src/mcp-server/tools/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.ts +44 -0
- package/src/mcp-server/tools/ismsISMSControllerGetVersionsV1.ts +43 -0
- package/src/mcp-server/tools/peoplePeopleControllerGetMemberAccessV1.ts +44 -0
- package/src/mcp-server/tools/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.ts +45 -0
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.ts +45 -0
- package/src/models/automationscontrollergettaskautomationrunsv1op.ts +9 -9
- package/src/models/contextcontrollercreatecontextv1op.ts +13 -13
- package/src/models/contextcontrollerdeletecontextv1op.ts +13 -13
- package/src/models/contextcontrollergetallcontextv1op.ts +13 -13
- package/src/models/contextcontrollergetcontextbyidv1op.ts +13 -13
- package/src/models/controlscontrollerunlinkdocumenttypev1op.ts +7 -7
- package/src/models/devicescontrollergetalldevicesv1op.ts +19 -19
- package/src/models/exportismsdocumentdto.ts +7 -1
- package/src/models/frameworkscontrollerupdatecustomv1op.ts +29 -0
- package/src/models/ismscontrollergetversionsv1op.ts +13 -0
- package/src/models/ismsregisterscontrollercreaterowv1op.ts +73 -0
- package/src/models/ismsregisterscontrollerupdaterowv1op.ts +73 -0
- package/src/models/organizationcontrollerdeleteorganizationv1op.ts +20 -20
- package/src/models/organizationcontrollergetorganizationv1op.ts +21 -21
- package/src/models/organizationcontrollergetprimarycolorv1op.ts +21 -21
- package/src/models/organizationcontrollerupdateorganizationv1op.ts +40 -24
- package/src/models/peoplecontrollerbulkcreatemembersv1op.ts +19 -19
- package/src/models/peoplecontrollerdeletememberv1op.ts +19 -19
- package/src/models/peoplecontrollergetallpeoplev1op.ts +19 -19
- package/src/models/peoplecontrollergetmemberaccessv1op.ts +13 -0
- package/src/models/peoplecontrollerremovehostv1op.ts +19 -19
- package/src/models/policiescontrollerdeletepolicyv1op.ts +19 -19
- package/src/models/policiescontrollergetallpoliciesv1op.ts +19 -19
- package/src/models/questionnairecontrollerautoanswerandexportuploadv1op.ts +13 -13
- package/src/models/questionnairecontrollerparsequestionnaireuploadv1op.ts +13 -13
- package/src/models/questionnairecontrolleruploadandparseuploadv1op.ts +13 -13
- package/src/models/riskscontrollercreateriskv1op.ts +55 -55
- package/src/models/riskscontrollerdeleteriskv1op.ts +19 -19
- package/src/models/riskscontrollergetallrisksv1op.ts +92 -92
- package/src/models/riskscontrollergetriskbyidv1op.ts +59 -59
- package/src/models/riskscontrollerupdateriskv1op.ts +67 -67
- package/src/models/setemployeesyncproviderdto.ts +9 -6
- package/src/models/settwofactorsourcedto.ts +32 -0
- package/src/models/taskitemresponsedto.ts +9 -9
- package/src/models/taskresponsedto.ts +8 -8
- package/src/models/trustaccesscontrollergetpublicsecurityquestionnairev1op.ts +30 -0
- package/src/models/trustportalcontrollerupdatecustomframeworkv1op.ts +14 -14
- package/src/models/trustportalcontrollerupdatesecurityquestionnairev1op.ts +17 -0
- package/src/models/updatecustomframeworkdto.ts +17 -0
- package/src/models/vendorscontrollercreatevendorv1op.ts +57 -57
- package/src/models/vendorscontrollerdeletevendorv1op.ts +19 -19
- package/src/models/vendorscontrollergetallvendorsv1op.ts +59 -59
- package/src/models/vendorscontrollergetvendorbyidv1op.ts +48 -48
- package/src/models/vendorscontrollerupdatevendorv1op.ts +69 -69
- package/src/tool-names.ts +268 -236
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { CompAiCore } from "../core.js";
|
|
6
|
+
import { encodeJSON } from "../lib/encodings.js";
|
|
7
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
10
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
+
import { pathToFunc } from "../lib/url.js";
|
|
12
|
+
import { APIError } from "../models/errors/apierror.js";
|
|
13
|
+
import {
|
|
14
|
+
ConnectionError,
|
|
15
|
+
InvalidRequestError,
|
|
16
|
+
RequestAbortedError,
|
|
17
|
+
RequestTimeoutError,
|
|
18
|
+
UnexpectedClientError,
|
|
19
|
+
} from "../models/errors/httpclienterrors.js";
|
|
20
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
21
|
+
import {
|
|
22
|
+
TrustPortalControllerUpdateSecurityQuestionnaireV1Request,
|
|
23
|
+
TrustPortalControllerUpdateSecurityQuestionnaireV1Request$zodSchema,
|
|
24
|
+
} from "../models/trustportalcontrollerupdatesecurityquestionnairev1op.js";
|
|
25
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
26
|
+
import { Result } from "../types/fp.js";
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Show or hide the Security Questionnaire on the public trust portal
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* Show or hide the Security Questionnaire on the public trust portal in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.
|
|
33
|
+
*
|
|
34
|
+
* If set, this operation will use {@link Security.apikey} from the global security.
|
|
35
|
+
*/
|
|
36
|
+
export function trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1(
|
|
37
|
+
client$: CompAiCore,
|
|
38
|
+
request: TrustPortalControllerUpdateSecurityQuestionnaireV1Request,
|
|
39
|
+
options?: RequestOptions,
|
|
40
|
+
): APIPromise<
|
|
41
|
+
Result<
|
|
42
|
+
Response,
|
|
43
|
+
| APIError
|
|
44
|
+
| SDKValidationError
|
|
45
|
+
| UnexpectedClientError
|
|
46
|
+
| InvalidRequestError
|
|
47
|
+
| RequestAbortedError
|
|
48
|
+
| RequestTimeoutError
|
|
49
|
+
| ConnectionError
|
|
50
|
+
>
|
|
51
|
+
> {
|
|
52
|
+
return new APIPromise($do(
|
|
53
|
+
client$,
|
|
54
|
+
request,
|
|
55
|
+
options,
|
|
56
|
+
));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
async function $do(
|
|
60
|
+
client$: CompAiCore,
|
|
61
|
+
request: TrustPortalControllerUpdateSecurityQuestionnaireV1Request,
|
|
62
|
+
options?: RequestOptions,
|
|
63
|
+
): Promise<
|
|
64
|
+
[
|
|
65
|
+
Result<
|
|
66
|
+
Response,
|
|
67
|
+
| APIError
|
|
68
|
+
| SDKValidationError
|
|
69
|
+
| UnexpectedClientError
|
|
70
|
+
| InvalidRequestError
|
|
71
|
+
| RequestAbortedError
|
|
72
|
+
| RequestTimeoutError
|
|
73
|
+
| ConnectionError
|
|
74
|
+
>,
|
|
75
|
+
APICall,
|
|
76
|
+
]
|
|
77
|
+
> {
|
|
78
|
+
const parsed$ = safeParse(
|
|
79
|
+
request,
|
|
80
|
+
(value$) =>
|
|
81
|
+
TrustPortalControllerUpdateSecurityQuestionnaireV1Request$zodSchema.parse(
|
|
82
|
+
value$,
|
|
83
|
+
),
|
|
84
|
+
"Input validation failed",
|
|
85
|
+
);
|
|
86
|
+
if (!parsed$.ok) {
|
|
87
|
+
return [parsed$, { status: "invalid" }];
|
|
88
|
+
}
|
|
89
|
+
const payload$ = parsed$.value;
|
|
90
|
+
const body$ = encodeJSON("body", payload$, { explode: true });
|
|
91
|
+
const path$ = pathToFunc(
|
|
92
|
+
"/v1/trust-portal/settings/security-questionnaire",
|
|
93
|
+
)();
|
|
94
|
+
|
|
95
|
+
const headers$ = new Headers(compactMap({
|
|
96
|
+
"Content-Type": "application/json",
|
|
97
|
+
Accept: "*/*",
|
|
98
|
+
}));
|
|
99
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
100
|
+
const requestSecurity = resolveGlobalSecurity(securityInput, [0]);
|
|
101
|
+
|
|
102
|
+
const context = {
|
|
103
|
+
options: client$._options,
|
|
104
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
105
|
+
operationID: "TrustPortalController_updateSecurityQuestionnaire_v1",
|
|
106
|
+
oAuth2Scopes: null,
|
|
107
|
+
resolvedSecurity: requestSecurity,
|
|
108
|
+
securitySource: client$._options.security,
|
|
109
|
+
retryConfig: options?.retries
|
|
110
|
+
|| client$._options.retryConfig
|
|
111
|
+
|| { strategy: "none" },
|
|
112
|
+
retryCodes: options?.retryCodes || [
|
|
113
|
+
"429",
|
|
114
|
+
"500",
|
|
115
|
+
"502",
|
|
116
|
+
"503",
|
|
117
|
+
"504",
|
|
118
|
+
],
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const requestRes = client$._createRequest(context, {
|
|
122
|
+
security: requestSecurity,
|
|
123
|
+
method: "PUT",
|
|
124
|
+
baseURL: options?.serverURL,
|
|
125
|
+
path: path$,
|
|
126
|
+
headers: headers$,
|
|
127
|
+
body: body$,
|
|
128
|
+
userAgent: client$._options.userAgent,
|
|
129
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs
|
|
130
|
+
|| 120000,
|
|
131
|
+
}, options);
|
|
132
|
+
if (!requestRes.ok) {
|
|
133
|
+
return [requestRes, { status: "invalid" }];
|
|
134
|
+
}
|
|
135
|
+
const req$ = requestRes.value;
|
|
136
|
+
|
|
137
|
+
const doResult = await client$._do(req$, {
|
|
138
|
+
context,
|
|
139
|
+
errorCodes: [],
|
|
140
|
+
retryConfig: context.retryConfig,
|
|
141
|
+
retryCodes: context.retryCodes,
|
|
142
|
+
});
|
|
143
|
+
if (!doResult.ok) {
|
|
144
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
145
|
+
}
|
|
146
|
+
return [doResult, {
|
|
147
|
+
status: "complete",
|
|
148
|
+
"request": req$,
|
|
149
|
+
response: doResult.value,
|
|
150
|
+
}];
|
|
151
|
+
}
|
package/src/landing-page.ts
CHANGED
|
@@ -930,7 +930,7 @@ http_headers = { "apikey" = "YOUR_APIKEY" }`;
|
|
|
930
930
|
<h1>Instructions</h1>
|
|
931
931
|
<p>One-click installation for Claude Desktop users</p>
|
|
932
932
|
<div class="instruction-item">
|
|
933
|
-
<a href="https://github.com/trycompai/comp/releases/download/v0.2.
|
|
933
|
+
<a href="https://github.com/trycompai/comp/releases/download/v0.2.2/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
934
934
|
📥 Download MCP Bundle
|
|
935
935
|
</a>
|
|
936
936
|
</div>
|
package/src/lib/config.ts
CHANGED
|
@@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.0",
|
|
68
|
-
sdkVersion: "0.2.
|
|
69
|
-
genVersion: "2.
|
|
68
|
+
sdkVersion: "0.2.2",
|
|
69
|
+
genVersion: "2.918.3",
|
|
70
70
|
userAgent:
|
|
71
|
-
"speakeasy-sdk/mcp-typescript 0.2.
|
|
71
|
+
"speakeasy-sdk/mcp-typescript 0.2.2 2.918.3 1.0 @trycompai/mcp-server",
|
|
72
72
|
} as const;
|
package/src/lib/http.ts
CHANGED
|
@@ -45,8 +45,10 @@ export class HTTPClient {
|
|
|
45
45
|
private requestHooks: BeforeRequestHook[] = [];
|
|
46
46
|
private requestErrorHooks: RequestErrorHook[] = [];
|
|
47
47
|
private responseHooks: ResponseHook[] = [];
|
|
48
|
+
private options: HTTPClientOptions;
|
|
48
49
|
|
|
49
|
-
constructor(
|
|
50
|
+
constructor(options: HTTPClientOptions = {}) {
|
|
51
|
+
this.options = options;
|
|
50
52
|
this.fetcher = options.fetcher || DEFAULT_FETCHER;
|
|
51
53
|
}
|
|
52
54
|
|
package/src/lib/security.ts
CHANGED
|
@@ -13,17 +13,22 @@ type OAuth2PasswordFlow = {
|
|
|
13
13
|
tokenURL: string;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
export
|
|
17
|
-
Incomplete
|
|
18
|
-
UnrecognisedSecurityType
|
|
19
|
-
}
|
|
16
|
+
export const SecurityErrorCode = {
|
|
17
|
+
Incomplete: "incomplete",
|
|
18
|
+
UnrecognisedSecurityType: "unrecognized_security_type",
|
|
19
|
+
} as const;
|
|
20
|
+
export type SecurityErrorCode =
|
|
21
|
+
(typeof SecurityErrorCode)[keyof typeof SecurityErrorCode];
|
|
20
22
|
|
|
21
23
|
export class SecurityError extends Error {
|
|
24
|
+
public code: SecurityErrorCode;
|
|
25
|
+
|
|
22
26
|
constructor(
|
|
23
|
-
|
|
27
|
+
code: SecurityErrorCode,
|
|
24
28
|
message: string,
|
|
25
29
|
) {
|
|
26
30
|
super(message);
|
|
31
|
+
this.code = code;
|
|
27
32
|
this.name = "SecurityError";
|
|
28
33
|
}
|
|
29
34
|
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -123,6 +123,10 @@ import { tool$integrationsTaskIntegrationsControllerGetChecksForTaskV1 } from ".
|
|
|
123
123
|
import { tool$integrationsTaskIntegrationsControllerGetTaskCheckRunsV1 } from "./tools/integrationsTaskIntegrationsControllerGetTaskCheckRunsV1.js";
|
|
124
124
|
import { tool$integrationsTaskIntegrationsControllerReconnectCheckToTaskV1 } from "./tools/integrationsTaskIntegrationsControllerReconnectCheckToTaskV1.js";
|
|
125
125
|
import { tool$integrationsTaskIntegrationsControllerRunCheckForTaskV1 } from "./tools/integrationsTaskIntegrationsControllerRunCheckForTaskV1.js";
|
|
126
|
+
import { tool$integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1 } from "./tools/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.js";
|
|
127
|
+
import { tool$integrationsTwoFactorSourceControllerGetTwoFactorSourceV1 } from "./tools/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.js";
|
|
128
|
+
import { tool$integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1 } from "./tools/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.js";
|
|
129
|
+
import { tool$integrationsTwoFactorSourceControllerSetTwoFactorSourceV1 } from "./tools/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.js";
|
|
126
130
|
import { tool$integrationsVariablesControllerFetchVariableOptionsV1 } from "./tools/integrationsVariablesControllerFetchVariableOptionsV1.js";
|
|
127
131
|
import { tool$integrationsVariablesControllerGetConnectionVariablesV1 } from "./tools/integrationsVariablesControllerGetConnectionVariablesV1.js";
|
|
128
132
|
import { tool$integrationsVariablesControllerGetProviderVariablesV1 } from "./tools/integrationsVariablesControllerGetProviderVariablesV1.js";
|
|
@@ -135,6 +139,7 @@ import { tool$ismsISMSControllerEnsureSetupV1 } from "./tools/ismsISMSController
|
|
|
135
139
|
import { tool$ismsISMSControllerExportDocumentV1 } from "./tools/ismsISMSControllerExportDocumentV1.js";
|
|
136
140
|
import { tool$ismsISMSControllerGenerateV1 } from "./tools/ismsISMSControllerGenerateV1.js";
|
|
137
141
|
import { tool$ismsISMSControllerGetDocumentV1 } from "./tools/ismsISMSControllerGetDocumentV1.js";
|
|
142
|
+
import { tool$ismsISMSControllerGetVersionsV1 } from "./tools/ismsISMSControllerGetVersionsV1.js";
|
|
138
143
|
import { tool$ismsISMSControllerRemoveControlV1 } from "./tools/ismsISMSControllerRemoveControlV1.js";
|
|
139
144
|
import { tool$ismsISMSControllerSubmitForApprovalV1 } from "./tools/ismsISMSControllerSubmitForApprovalV1.js";
|
|
140
145
|
import { tool$ismsISMSProfileControllerGenerateAllV1 } from "./tools/ismsISMSProfileControllerGenerateAllV1.js";
|
|
@@ -198,6 +203,7 @@ import { tool$peoplePeopleControllerGetDevicesV1 } from "./tools/peoplePeopleCon
|
|
|
198
203
|
import { tool$peoplePeopleControllerGetEmailPreferencesV1 } from "./tools/peoplePeopleControllerGetEmailPreferencesV1.js";
|
|
199
204
|
import { tool$peoplePeopleControllerGetEmploymentEvidenceV1 } from "./tools/peoplePeopleControllerGetEmploymentEvidenceV1.js";
|
|
200
205
|
import { tool$peoplePeopleControllerGetFleetComplianceV1 } from "./tools/peoplePeopleControllerGetFleetComplianceV1.js";
|
|
206
|
+
import { tool$peoplePeopleControllerGetMemberAccessV1 } from "./tools/peoplePeopleControllerGetMemberAccessV1.js";
|
|
201
207
|
import { tool$peoplePeopleControllerGetMentionableMembersV1 } from "./tools/peoplePeopleControllerGetMentionableMembersV1.js";
|
|
202
208
|
import { tool$peoplePeopleControllerGetPersonByIdV1 } from "./tools/peoplePeopleControllerGetPersonByIdV1.js";
|
|
203
209
|
import { tool$peoplePeopleControllerGetTestStatsByAssigneeV1 } from "./tools/peoplePeopleControllerGetTestStatsByAssigneeV1.js";
|
|
@@ -334,6 +340,7 @@ import { tool$trustAccessTrustAccessControllerGetPublicCustomFrameworksV1 } from
|
|
|
334
340
|
import { tool$trustAccessTrustAccessControllerGetPublicCustomLinksV1 } from "./tools/trustAccessTrustAccessControllerGetPublicCustomLinksV1.js";
|
|
335
341
|
import { tool$trustAccessTrustAccessControllerGetPublicFaviconV1 } from "./tools/trustAccessTrustAccessControllerGetPublicFaviconV1.js";
|
|
336
342
|
import { tool$trustAccessTrustAccessControllerGetPublicOverviewV1 } from "./tools/trustAccessTrustAccessControllerGetPublicOverviewV1.js";
|
|
343
|
+
import { tool$trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1 } from "./tools/trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1.js";
|
|
337
344
|
import { tool$trustAccessTrustAccessControllerGetPublicVendorsV1 } from "./tools/trustAccessTrustAccessControllerGetPublicVendorsV1.js";
|
|
338
345
|
import { tool$trustAccessTrustAccessControllerListAccessRequestsV1 } from "./tools/trustAccessTrustAccessControllerListAccessRequestsV1.js";
|
|
339
346
|
import { tool$trustAccessTrustAccessControllerListGrantsV1 } from "./tools/trustAccessTrustAccessControllerListGrantsV1.js";
|
|
@@ -368,6 +375,7 @@ import { tool$trustPortalTrustPortalControllerUpdateCustomLinkV1 } from "./tools
|
|
|
368
375
|
import { tool$trustPortalTrustPortalControllerUpdateFaqsV1 } from "./tools/trustPortalTrustPortalControllerUpdateFaqsV1.js";
|
|
369
376
|
import { tool$trustPortalTrustPortalControllerUpdateFrameworksV1 } from "./tools/trustPortalTrustPortalControllerUpdateFrameworksV1.js";
|
|
370
377
|
import { tool$trustPortalTrustPortalControllerUpdateOverviewV1 } from "./tools/trustPortalTrustPortalControllerUpdateOverviewV1.js";
|
|
378
|
+
import { tool$trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1 } from "./tools/trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1.js";
|
|
371
379
|
import { tool$trustPortalTrustPortalControllerUpdateVendorTrustSettingsV1 } from "./tools/trustPortalTrustPortalControllerUpdateVendorTrustSettingsV1.js";
|
|
372
380
|
import { tool$trustPortalTrustPortalControllerUploadComplianceResourceV1 } from "./tools/trustPortalTrustPortalControllerUploadComplianceResourceV1.js";
|
|
373
381
|
import { tool$trustPortalTrustPortalControllerUploadCustomFrameworkBadgeV1 } from "./tools/trustPortalTrustPortalControllerUploadCustomFrameworkBadgeV1.js";
|
|
@@ -395,7 +403,7 @@ export function createMCPServer(deps: {
|
|
|
395
403
|
}) {
|
|
396
404
|
const server = new McpServer({
|
|
397
405
|
name: "CompAi",
|
|
398
|
-
version: "0.2.
|
|
406
|
+
version: "0.2.2",
|
|
399
407
|
});
|
|
400
408
|
|
|
401
409
|
const getClient = deps.getSDK || (() =>
|
|
@@ -466,6 +474,7 @@ export function createMCPServer(deps: {
|
|
|
466
474
|
tool(tool$peoplePeopleControllerGetPersonByIdV1);
|
|
467
475
|
tool(tool$peoplePeopleControllerUpdateMemberV1);
|
|
468
476
|
tool(tool$peoplePeopleControllerDeleteMemberV1);
|
|
477
|
+
tool(tool$peoplePeopleControllerGetMemberAccessV1);
|
|
469
478
|
tool(tool$peoplePeopleControllerGetTrainingVideosV1);
|
|
470
479
|
tool(tool$peoplePeopleControllerGetFleetComplianceV1);
|
|
471
480
|
tool(tool$peoplePeopleControllerRemoveHostV1);
|
|
@@ -479,6 +488,71 @@ export function createMCPServer(deps: {
|
|
|
479
488
|
tool(tool$attachmentsAttachmentsControllerCreateAttachmentV1);
|
|
480
489
|
tool(tool$attachmentsAttachmentsControllerGetAttachmentDownloadUrlV1);
|
|
481
490
|
tool(tool$uploadsUploadsControllerCreateUploadUrlV1);
|
|
491
|
+
tool(tool$integrationsConnectionsControllerListProvidersV1);
|
|
492
|
+
tool(tool$integrationsConnectionsControllerGetProviderV1);
|
|
493
|
+
tool(tool$integrationsConnectionsControllerListConnectionsV1);
|
|
494
|
+
tool(tool$integrationsConnectionsControllerCreateConnectionV1);
|
|
495
|
+
tool(tool$integrationsConnectionsControllerGetConnectionV1);
|
|
496
|
+
tool(tool$integrationsConnectionsControllerDeleteConnectionV1);
|
|
497
|
+
tool(tool$integrationsConnectionsControllerUpdateConnectionV1);
|
|
498
|
+
tool(tool$integrationsConnectionsControllerTestConnectionV1);
|
|
499
|
+
tool(tool$integrationsConnectionsControllerPauseConnectionV1);
|
|
500
|
+
tool(tool$integrationsConnectionsControllerResumeConnectionV1);
|
|
501
|
+
tool(tool$integrationsConnectionsControllerDisconnectConnectionV1);
|
|
502
|
+
tool(tool$integrationsConnectionsControllerUpdateConnectionServicesV1);
|
|
503
|
+
tool(tool$integrationsServicesControllerGetConnectionServicesV1);
|
|
504
|
+
tool(tool$integrationsChecksControllerListProviderChecksV1);
|
|
505
|
+
tool(tool$integrationsChecksControllerListConnectionChecksV1);
|
|
506
|
+
tool(tool$integrationsChecksControllerRunConnectionChecksV1);
|
|
507
|
+
tool(tool$integrationsChecksControllerRunSingleCheckV1);
|
|
508
|
+
tool(tool$integrationsVariablesControllerGetProviderVariablesV1);
|
|
509
|
+
tool(tool$integrationsVariablesControllerGetConnectionVariablesV1);
|
|
510
|
+
tool(tool$integrationsVariablesControllerSaveConnectionVariablesV1);
|
|
511
|
+
tool(tool$integrationsVariablesControllerFetchVariableOptionsV1);
|
|
512
|
+
tool(tool$integrationsTaskIntegrationsControllerGetChecksForTaskTemplateV1);
|
|
513
|
+
tool(tool$integrationsTaskIntegrationsControllerGetChecksForTaskV1);
|
|
514
|
+
tool(tool$integrationsTaskIntegrationsControllerRunCheckForTaskV1);
|
|
515
|
+
tool(tool$integrationsTaskIntegrationsControllerDisconnectCheckFromTaskV1);
|
|
516
|
+
tool(tool$integrationsTaskIntegrationsControllerReconnectCheckToTaskV1);
|
|
517
|
+
tool(tool$integrationsTaskIntegrationsControllerGetTaskCheckRunsV1);
|
|
518
|
+
tool(tool$integrationsSyncControllerSyncGoogleWorkspaceEmployeesV1);
|
|
519
|
+
tool(tool$integrationsSyncControllerGetGoogleWorkspaceStatusV1);
|
|
520
|
+
tool(tool$integrationsSyncControllerSyncRipplingEmployeesV1);
|
|
521
|
+
tool(tool$integrationsSyncControllerGetRipplingStatusV1);
|
|
522
|
+
tool(tool$integrationsSyncControllerSyncJumpCloudEmployeesV1);
|
|
523
|
+
tool(tool$integrationsSyncControllerGetJumpCloudStatusV1);
|
|
524
|
+
tool(tool$integrationsSyncControllerGetEmployeeSyncProviderV1);
|
|
525
|
+
tool(tool$integrationsSyncControllerSetEmployeeSyncProviderV1);
|
|
526
|
+
tool(tool$integrationsSyncControllerGetDeviceSyncProviderV1);
|
|
527
|
+
tool(tool$integrationsSyncControllerSetDeviceSyncProviderV1);
|
|
528
|
+
tool(tool$integrationsSyncControllerGetAvailableSyncProvidersV1);
|
|
529
|
+
tool(tool$integrationsSyncControllerSyncDynamicProviderEmployeesV1);
|
|
530
|
+
tool(tool$integrationsSyncControllerSyncDynamicProviderDevicesV1);
|
|
531
|
+
tool(tool$integrationsTwoFactorSourceControllerGetTwoFactorSourceV1);
|
|
532
|
+
tool(tool$integrationsTwoFactorSourceControllerSetTwoFactorSourceV1);
|
|
533
|
+
tool(
|
|
534
|
+
tool$integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1,
|
|
535
|
+
);
|
|
536
|
+
tool(tool$integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1);
|
|
537
|
+
tool(tool$cloudSecurityCloudSecurityControllerGetActivityV1);
|
|
538
|
+
tool(tool$cloudSecurityCloudSecurityControllerGetProvidersV1);
|
|
539
|
+
tool(tool$cloudSecurityCloudSecurityControllerGetFindingsV1);
|
|
540
|
+
tool(tool$cloudSecurityCloudSecurityControllerMarkFindingAsExceptionV1);
|
|
541
|
+
tool(tool$cloudSecurityCloudSecurityControllerUpdateAwsScanModeV1);
|
|
542
|
+
tool(tool$cloudSecurityCloudSecurityControllerRevokeExceptionV1);
|
|
543
|
+
tool(tool$cloudSecurityCloudSecurityControllerGetHistoryV1);
|
|
544
|
+
tool(tool$cloudSecurityCloudSecurityControllerGetCheckDefinitionV1);
|
|
545
|
+
tool(tool$cloudSecurityCloudSecurityControllerResolveSessionV1);
|
|
546
|
+
tool(tool$cloudSecurityCloudSecurityControllerScanV1);
|
|
547
|
+
tool(tool$cloudSecurityCloudSecurityControllerDetectServicesV1);
|
|
548
|
+
tool(tool$cloudSecurityCloudSecurityControllerDetectGcpOrgV1);
|
|
549
|
+
tool(tool$cloudSecurityCloudSecurityControllerSelectGcpProjectsV1);
|
|
550
|
+
tool(tool$cloudSecurityCloudSecurityControllerSetupGcpV1);
|
|
551
|
+
tool(tool$cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1);
|
|
552
|
+
tool(tool$cloudSecurityCloudSecurityControllerSetupAzureV1);
|
|
553
|
+
tool(tool$cloudSecurityCloudSecurityControllerValidateAzureV1);
|
|
554
|
+
tool(tool$cloudSecurityCloudSecurityControllerTriggerScanV1);
|
|
555
|
+
tool(tool$cloudSecurityCloudSecurityControllerGetRunStatusV1);
|
|
482
556
|
tool(tool$risksRisksControllerGetAllRisksV1);
|
|
483
557
|
tool(tool$risksRisksControllerCreateRiskV1);
|
|
484
558
|
tool(tool$risksRisksControllerGetStatsByAssigneeV1);
|
|
@@ -597,6 +671,7 @@ export function createMCPServer(deps: {
|
|
|
597
671
|
tool(tool$trustPortalTrustPortalControllerUpdateAllowedDomainsV1);
|
|
598
672
|
tool(tool$trustPortalTrustPortalControllerUpdateAllowedEmailsV1);
|
|
599
673
|
tool(tool$trustPortalTrustPortalControllerUpdateFrameworksV1);
|
|
674
|
+
tool(tool$trustPortalTrustPortalControllerUpdateSecurityQuestionnaireV1);
|
|
600
675
|
tool(tool$trustPortalTrustPortalControllerListCustomFrameworksV1);
|
|
601
676
|
tool(tool$trustPortalTrustPortalControllerUpdateCustomFrameworkV1);
|
|
602
677
|
tool(tool$trustPortalTrustPortalControllerUploadCustomFrameworkBadgeV1);
|
|
@@ -623,6 +698,7 @@ export function createMCPServer(deps: {
|
|
|
623
698
|
tool(tool$trustAccessTrustAccessControllerReclaimAccessV1);
|
|
624
699
|
tool(tool$trustAccessTrustAccessControllerGetFaqsV1);
|
|
625
700
|
tool(tool$trustAccessTrustAccessControllerGetPublicOverviewV1);
|
|
701
|
+
tool(tool$trustAccessTrustAccessControllerGetPublicSecurityQuestionnaireV1);
|
|
626
702
|
tool(tool$trustAccessTrustAccessControllerGetPublicCustomLinksV1);
|
|
627
703
|
tool(tool$trustAccessTrustAccessControllerGetPublicFaviconV1);
|
|
628
704
|
tool(tool$trustAccessTrustAccessControllerGetPublicVendorsV1);
|
|
@@ -681,6 +757,7 @@ export function createMCPServer(deps: {
|
|
|
681
757
|
tool(tool$ismsISMSControllerApproveV1);
|
|
682
758
|
tool(tool$ismsISMSControllerDeclineV1);
|
|
683
759
|
tool(tool$ismsISMSControllerDriftV1);
|
|
760
|
+
tool(tool$ismsISMSControllerGetVersionsV1);
|
|
684
761
|
tool(tool$ismsISMSControllerExportDocumentV1);
|
|
685
762
|
tool(tool$ismsISMSRegistersControllerCreateRowV1);
|
|
686
763
|
tool(tool$ismsISMSRegistersControllerUpdateRowV1);
|
|
@@ -689,65 +766,6 @@ export function createMCPServer(deps: {
|
|
|
689
766
|
tool(tool$ismsISMSProfileControllerGetProfileV1);
|
|
690
767
|
tool(tool$ismsISMSProfileControllerSaveProfileV1);
|
|
691
768
|
tool(tool$ismsISMSProfileControllerGenerateAllV1);
|
|
692
|
-
tool(tool$integrationsConnectionsControllerListProvidersV1);
|
|
693
|
-
tool(tool$integrationsConnectionsControllerGetProviderV1);
|
|
694
|
-
tool(tool$integrationsConnectionsControllerListConnectionsV1);
|
|
695
|
-
tool(tool$integrationsConnectionsControllerCreateConnectionV1);
|
|
696
|
-
tool(tool$integrationsConnectionsControllerGetConnectionV1);
|
|
697
|
-
tool(tool$integrationsConnectionsControllerDeleteConnectionV1);
|
|
698
|
-
tool(tool$integrationsConnectionsControllerUpdateConnectionV1);
|
|
699
|
-
tool(tool$integrationsConnectionsControllerTestConnectionV1);
|
|
700
|
-
tool(tool$integrationsConnectionsControllerPauseConnectionV1);
|
|
701
|
-
tool(tool$integrationsConnectionsControllerResumeConnectionV1);
|
|
702
|
-
tool(tool$integrationsConnectionsControllerDisconnectConnectionV1);
|
|
703
|
-
tool(tool$integrationsConnectionsControllerUpdateConnectionServicesV1);
|
|
704
|
-
tool(tool$integrationsServicesControllerGetConnectionServicesV1);
|
|
705
|
-
tool(tool$integrationsChecksControllerListProviderChecksV1);
|
|
706
|
-
tool(tool$integrationsChecksControllerListConnectionChecksV1);
|
|
707
|
-
tool(tool$integrationsChecksControllerRunConnectionChecksV1);
|
|
708
|
-
tool(tool$integrationsChecksControllerRunSingleCheckV1);
|
|
709
|
-
tool(tool$integrationsVariablesControllerGetProviderVariablesV1);
|
|
710
|
-
tool(tool$integrationsVariablesControllerGetConnectionVariablesV1);
|
|
711
|
-
tool(tool$integrationsVariablesControllerSaveConnectionVariablesV1);
|
|
712
|
-
tool(tool$integrationsVariablesControllerFetchVariableOptionsV1);
|
|
713
|
-
tool(tool$integrationsTaskIntegrationsControllerGetChecksForTaskTemplateV1);
|
|
714
|
-
tool(tool$integrationsTaskIntegrationsControllerGetChecksForTaskV1);
|
|
715
|
-
tool(tool$integrationsTaskIntegrationsControllerRunCheckForTaskV1);
|
|
716
|
-
tool(tool$integrationsTaskIntegrationsControllerDisconnectCheckFromTaskV1);
|
|
717
|
-
tool(tool$integrationsTaskIntegrationsControllerReconnectCheckToTaskV1);
|
|
718
|
-
tool(tool$integrationsTaskIntegrationsControllerGetTaskCheckRunsV1);
|
|
719
|
-
tool(tool$integrationsSyncControllerSyncGoogleWorkspaceEmployeesV1);
|
|
720
|
-
tool(tool$integrationsSyncControllerGetGoogleWorkspaceStatusV1);
|
|
721
|
-
tool(tool$integrationsSyncControllerSyncRipplingEmployeesV1);
|
|
722
|
-
tool(tool$integrationsSyncControllerGetRipplingStatusV1);
|
|
723
|
-
tool(tool$integrationsSyncControllerSyncJumpCloudEmployeesV1);
|
|
724
|
-
tool(tool$integrationsSyncControllerGetJumpCloudStatusV1);
|
|
725
|
-
tool(tool$integrationsSyncControllerGetEmployeeSyncProviderV1);
|
|
726
|
-
tool(tool$integrationsSyncControllerSetEmployeeSyncProviderV1);
|
|
727
|
-
tool(tool$integrationsSyncControllerGetDeviceSyncProviderV1);
|
|
728
|
-
tool(tool$integrationsSyncControllerSetDeviceSyncProviderV1);
|
|
729
|
-
tool(tool$integrationsSyncControllerGetAvailableSyncProvidersV1);
|
|
730
|
-
tool(tool$integrationsSyncControllerSyncDynamicProviderEmployeesV1);
|
|
731
|
-
tool(tool$integrationsSyncControllerSyncDynamicProviderDevicesV1);
|
|
732
|
-
tool(tool$cloudSecurityCloudSecurityControllerGetActivityV1);
|
|
733
|
-
tool(tool$cloudSecurityCloudSecurityControllerGetProvidersV1);
|
|
734
|
-
tool(tool$cloudSecurityCloudSecurityControllerGetFindingsV1);
|
|
735
|
-
tool(tool$cloudSecurityCloudSecurityControllerMarkFindingAsExceptionV1);
|
|
736
|
-
tool(tool$cloudSecurityCloudSecurityControllerUpdateAwsScanModeV1);
|
|
737
|
-
tool(tool$cloudSecurityCloudSecurityControllerRevokeExceptionV1);
|
|
738
|
-
tool(tool$cloudSecurityCloudSecurityControllerGetHistoryV1);
|
|
739
|
-
tool(tool$cloudSecurityCloudSecurityControllerGetCheckDefinitionV1);
|
|
740
|
-
tool(tool$cloudSecurityCloudSecurityControllerResolveSessionV1);
|
|
741
|
-
tool(tool$cloudSecurityCloudSecurityControllerScanV1);
|
|
742
|
-
tool(tool$cloudSecurityCloudSecurityControllerDetectServicesV1);
|
|
743
|
-
tool(tool$cloudSecurityCloudSecurityControllerDetectGcpOrgV1);
|
|
744
|
-
tool(tool$cloudSecurityCloudSecurityControllerSelectGcpProjectsV1);
|
|
745
|
-
tool(tool$cloudSecurityCloudSecurityControllerSetupGcpV1);
|
|
746
|
-
tool(tool$cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1);
|
|
747
|
-
tool(tool$cloudSecurityCloudSecurityControllerSetupAzureV1);
|
|
748
|
-
tool(tool$cloudSecurityCloudSecurityControllerValidateAzureV1);
|
|
749
|
-
tool(tool$cloudSecurityCloudSecurityControllerTriggerScanV1);
|
|
750
|
-
tool(tool$cloudSecurityCloudSecurityControllerGetRunStatusV1);
|
|
751
769
|
tool(tool$taskManagementTaskManagementControllerGetTaskItemsStatsV1);
|
|
752
770
|
tool(tool$taskManagementTaskManagementControllerGetTaskItemsV1);
|
|
753
771
|
tool(tool$taskManagementTaskManagementControllerCreateTaskItemV1);
|
package/src/mcp-server/tools/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1 } from "../../funcs/integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1.js";
|
|
6
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
7
|
+
|
|
8
|
+
export const tool$integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1:
|
|
9
|
+
ToolDefinition = {
|
|
10
|
+
name: "get-available-two-factor-sources",
|
|
11
|
+
description: `List integrations that can supply per-user 2FA status
|
|
12
|
+
|
|
13
|
+
List integrations that can supply per-user 2FA status in Comp AI. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.`,
|
|
14
|
+
annotations: {
|
|
15
|
+
"title": "",
|
|
16
|
+
"destructiveHint": false,
|
|
17
|
+
"idempotentHint": false,
|
|
18
|
+
"openWorldHint": false,
|
|
19
|
+
"readOnlyHint": false,
|
|
20
|
+
},
|
|
21
|
+
tool: async (client, ctx) => {
|
|
22
|
+
const [result] =
|
|
23
|
+
await integrationsTwoFactorSourceControllerGetAvailableTwoFactorSourcesV1(
|
|
24
|
+
client,
|
|
25
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
26
|
+
).$inspect();
|
|
27
|
+
|
|
28
|
+
if (!result.ok) {
|
|
29
|
+
return {
|
|
30
|
+
content: [{ type: "text", text: result.error.message }],
|
|
31
|
+
isError: true,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return formatResult(result.value);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { integrationsTwoFactorSourceControllerGetTwoFactorSourceV1 } from "../../funcs/integrationsTwoFactorSourceControllerGetTwoFactorSourceV1.js";
|
|
6
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
7
|
+
|
|
8
|
+
export const tool$integrationsTwoFactorSourceControllerGetTwoFactorSourceV1:
|
|
9
|
+
ToolDefinition = {
|
|
10
|
+
name: "get-two-factor-source",
|
|
11
|
+
description: `Get the configured 2FA source provider
|
|
12
|
+
|
|
13
|
+
Get the configured 2FA source provider in Comp AI. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.`,
|
|
14
|
+
annotations: {
|
|
15
|
+
"title": "",
|
|
16
|
+
"destructiveHint": false,
|
|
17
|
+
"idempotentHint": false,
|
|
18
|
+
"openWorldHint": false,
|
|
19
|
+
"readOnlyHint": false,
|
|
20
|
+
},
|
|
21
|
+
tool: async (client, ctx) => {
|
|
22
|
+
const [result] =
|
|
23
|
+
await integrationsTwoFactorSourceControllerGetTwoFactorSourceV1(
|
|
24
|
+
client,
|
|
25
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
26
|
+
).$inspect();
|
|
27
|
+
|
|
28
|
+
if (!result.ok) {
|
|
29
|
+
return {
|
|
30
|
+
content: [{ type: "text", text: result.error.message }],
|
|
31
|
+
isError: true,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return formatResult(result.value);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1 } from "../../funcs/integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1.js";
|
|
6
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
7
|
+
|
|
8
|
+
export const tool$integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1:
|
|
9
|
+
ToolDefinition = {
|
|
10
|
+
name: "get-two-factor-statuses",
|
|
11
|
+
description: `Per-user 2FA status from the configured source
|
|
12
|
+
|
|
13
|
+
Per-user 2FA status from the configured source in Comp AI. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.`,
|
|
14
|
+
annotations: {
|
|
15
|
+
"title": "",
|
|
16
|
+
"destructiveHint": false,
|
|
17
|
+
"idempotentHint": false,
|
|
18
|
+
"openWorldHint": false,
|
|
19
|
+
"readOnlyHint": false,
|
|
20
|
+
},
|
|
21
|
+
tool: async (client, ctx) => {
|
|
22
|
+
const [result] =
|
|
23
|
+
await integrationsTwoFactorSourceControllerGetTwoFactorStatusesV1(
|
|
24
|
+
client,
|
|
25
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
26
|
+
).$inspect();
|
|
27
|
+
|
|
28
|
+
if (!result.ok) {
|
|
29
|
+
return {
|
|
30
|
+
content: [{ type: "text", text: result.error.message }],
|
|
31
|
+
isError: true,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return formatResult(result.value);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { integrationsTwoFactorSourceControllerSetTwoFactorSourceV1 } from "../../funcs/integrationsTwoFactorSourceControllerSetTwoFactorSourceV1.js";
|
|
6
|
+
import { SetTwoFactorSourceDto$zodSchema } from "../../models/settwofactorsourcedto.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: SetTwoFactorSourceDto$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$integrationsTwoFactorSourceControllerSetTwoFactorSourceV1:
|
|
14
|
+
ToolDefinition<typeof args> = {
|
|
15
|
+
name: "set-two-factor-source",
|
|
16
|
+
description: `Set the 2FA source provider
|
|
17
|
+
|
|
18
|
+
Set the 2FA source provider in Comp AI. Connect vendor systems, configure OAuth apps, run compliance checks, sync employees, manage variables, and collect automated evidence.`,
|
|
19
|
+
annotations: {
|
|
20
|
+
"title": "",
|
|
21
|
+
"destructiveHint": false,
|
|
22
|
+
"idempotentHint": false,
|
|
23
|
+
"openWorldHint": false,
|
|
24
|
+
"readOnlyHint": false,
|
|
25
|
+
},
|
|
26
|
+
args,
|
|
27
|
+
tool: async (client, args, ctx) => {
|
|
28
|
+
const [result] =
|
|
29
|
+
await integrationsTwoFactorSourceControllerSetTwoFactorSourceV1(
|
|
30
|
+
client,
|
|
31
|
+
args.request,
|
|
32
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
33
|
+
).$inspect();
|
|
34
|
+
|
|
35
|
+
if (!result.ok) {
|
|
36
|
+
return {
|
|
37
|
+
content: [{ type: "text", text: result.error.message }],
|
|
38
|
+
isError: true,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return formatResult(result.value);
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { ismsISMSControllerGetVersionsV1 } from "../../funcs/ismsISMSControllerGetVersionsV1.js";
|
|
6
|
+
import { IsmsControllerGetVersionsV1Request$zodSchema } from "../../models/ismscontrollergetversionsv1op.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: IsmsControllerGetVersionsV1Request$zodSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$ismsISMSControllerGetVersionsV1: ToolDefinition<typeof args> =
|
|
14
|
+
{
|
|
15
|
+
name: "get-versions",
|
|
16
|
+
description: `List an ISMS document's published version history
|
|
17
|
+
|
|
18
|
+
List an ISMS document's published version history in Comp AI.`,
|
|
19
|
+
annotations: {
|
|
20
|
+
"title": "",
|
|
21
|
+
"destructiveHint": false,
|
|
22
|
+
"idempotentHint": false,
|
|
23
|
+
"openWorldHint": false,
|
|
24
|
+
"readOnlyHint": false,
|
|
25
|
+
},
|
|
26
|
+
args,
|
|
27
|
+
tool: async (client, args, ctx) => {
|
|
28
|
+
const [result] = await ismsISMSControllerGetVersionsV1(
|
|
29
|
+
client,
|
|
30
|
+
args.request,
|
|
31
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
32
|
+
).$inspect();
|
|
33
|
+
|
|
34
|
+
if (!result.ok) {
|
|
35
|
+
return {
|
|
36
|
+
content: [{ type: "text", text: result.error.message }],
|
|
37
|
+
isError: true,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
return formatResult(result.value);
|
|
42
|
+
},
|
|
43
|
+
};
|