@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
|
@@ -6,19 +6,6 @@ import * as z from "zod";
|
|
|
6
6
|
import * as b64$ from "../lib/base64.js";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
8
|
|
|
9
|
-
export type QuestionnaireControllerUploadAndParseUploadV1File = {
|
|
10
|
-
fileName: string;
|
|
11
|
-
content: Uint8Array | string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const QuestionnaireControllerUploadAndParseUploadV1File$zodSchema:
|
|
15
|
-
z.ZodType<QuestionnaireControllerUploadAndParseUploadV1File> = z.object({
|
|
16
|
-
content: z.string().describe("Base64-encoded binary content").transform(
|
|
17
|
-
b64$.bytesFromBase64,
|
|
18
|
-
),
|
|
19
|
-
fileName: z.string(),
|
|
20
|
-
});
|
|
21
|
-
|
|
22
9
|
/**
|
|
23
10
|
* Source of the upload
|
|
24
11
|
*/
|
|
@@ -39,6 +26,19 @@ export const QuestionnaireControllerUploadAndParseUploadV1Source$zodSchema = z
|
|
|
39
26
|
"external",
|
|
40
27
|
]).describe("Source of the upload");
|
|
41
28
|
|
|
29
|
+
export type QuestionnaireControllerUploadAndParseUploadV1File = {
|
|
30
|
+
fileName: string;
|
|
31
|
+
content: Uint8Array | string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const QuestionnaireControllerUploadAndParseUploadV1File$zodSchema:
|
|
35
|
+
z.ZodType<QuestionnaireControllerUploadAndParseUploadV1File> = z.object({
|
|
36
|
+
content: z.string().describe("Base64-encoded binary content").transform(
|
|
37
|
+
b64$.bytesFromBase64,
|
|
38
|
+
),
|
|
39
|
+
fileName: z.string(),
|
|
40
|
+
});
|
|
41
|
+
|
|
42
42
|
export type QuestionnaireControllerUploadAndParseUploadV1Request = {
|
|
43
43
|
file: QuestionnaireControllerUploadAndParseUploadV1File | Blob;
|
|
44
44
|
organizationId: string;
|
|
@@ -5,61 +5,6 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { ClosedEnum } from "../types/enums.js";
|
|
7
7
|
|
|
8
|
-
/**
|
|
9
|
-
* Internal server error
|
|
10
|
-
*/
|
|
11
|
-
export type RisksControllerCreateRiskV1InternalServerErrorResponseBody = {
|
|
12
|
-
message?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export const RisksControllerCreateRiskV1InternalServerErrorResponseBody$zodSchema:
|
|
16
|
-
z.ZodType<RisksControllerCreateRiskV1InternalServerErrorResponseBody> = z
|
|
17
|
-
.object({
|
|
18
|
-
message: z.string().optional(),
|
|
19
|
-
}).describe("Internal server error");
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Organization not found
|
|
23
|
-
*/
|
|
24
|
-
export type RisksControllerCreateRiskV1NotFoundResponseBody = {
|
|
25
|
-
message?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export const RisksControllerCreateRiskV1NotFoundResponseBody$zodSchema:
|
|
29
|
-
z.ZodType<RisksControllerCreateRiskV1NotFoundResponseBody> = z.object({
|
|
30
|
-
message: z.string().optional(),
|
|
31
|
-
}).describe("Organization not found");
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Unauthorized - Invalid authentication or insufficient permissions
|
|
35
|
-
*/
|
|
36
|
-
export type RisksControllerCreateRiskV1UnauthorizedResponseBody = {
|
|
37
|
-
message?: string | undefined;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export const RisksControllerCreateRiskV1UnauthorizedResponseBody$zodSchema:
|
|
41
|
-
z.ZodType<RisksControllerCreateRiskV1UnauthorizedResponseBody> = z.object({
|
|
42
|
-
message: z.string().optional(),
|
|
43
|
-
}).describe(
|
|
44
|
-
"Unauthorized - Invalid authentication or insufficient permissions",
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Bad request - Invalid input data
|
|
49
|
-
*/
|
|
50
|
-
export type RisksControllerCreateRiskV1BadRequestResponseBody = {
|
|
51
|
-
message?: Array<string> | undefined;
|
|
52
|
-
error?: string | undefined;
|
|
53
|
-
statusCode?: number | undefined;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
export const RisksControllerCreateRiskV1BadRequestResponseBody$zodSchema:
|
|
57
|
-
z.ZodType<RisksControllerCreateRiskV1BadRequestResponseBody> = z.object({
|
|
58
|
-
error: z.string().optional(),
|
|
59
|
-
message: z.array(z.string()).optional(),
|
|
60
|
-
statusCode: z.number().optional(),
|
|
61
|
-
}).describe("Bad request - Invalid input data");
|
|
62
|
-
|
|
63
8
|
export const RisksControllerCreateRiskV1Category = {
|
|
64
9
|
Customer: "customer",
|
|
65
10
|
Governance: "governance",
|
|
@@ -241,6 +186,61 @@ export const RisksControllerCreateRiskV1AuthType$zodSchema = z.enum([
|
|
|
241
186
|
"session",
|
|
242
187
|
]).describe("How the request was authenticated");
|
|
243
188
|
|
|
189
|
+
/**
|
|
190
|
+
* Internal server error
|
|
191
|
+
*/
|
|
192
|
+
export type RisksControllerCreateRiskV1InternalServerErrorResponseBody = {
|
|
193
|
+
message?: string | undefined;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
export const RisksControllerCreateRiskV1InternalServerErrorResponseBody$zodSchema:
|
|
197
|
+
z.ZodType<RisksControllerCreateRiskV1InternalServerErrorResponseBody> = z
|
|
198
|
+
.object({
|
|
199
|
+
message: z.string().optional(),
|
|
200
|
+
}).describe("Internal server error");
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Organization not found
|
|
204
|
+
*/
|
|
205
|
+
export type RisksControllerCreateRiskV1NotFoundResponseBody = {
|
|
206
|
+
message?: string | undefined;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
export const RisksControllerCreateRiskV1NotFoundResponseBody$zodSchema:
|
|
210
|
+
z.ZodType<RisksControllerCreateRiskV1NotFoundResponseBody> = z.object({
|
|
211
|
+
message: z.string().optional(),
|
|
212
|
+
}).describe("Organization not found");
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Unauthorized - Invalid authentication or insufficient permissions
|
|
216
|
+
*/
|
|
217
|
+
export type RisksControllerCreateRiskV1UnauthorizedResponseBody = {
|
|
218
|
+
message?: string | undefined;
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
export const RisksControllerCreateRiskV1UnauthorizedResponseBody$zodSchema:
|
|
222
|
+
z.ZodType<RisksControllerCreateRiskV1UnauthorizedResponseBody> = z.object({
|
|
223
|
+
message: z.string().optional(),
|
|
224
|
+
}).describe(
|
|
225
|
+
"Unauthorized - Invalid authentication or insufficient permissions",
|
|
226
|
+
);
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Bad request - Invalid input data
|
|
230
|
+
*/
|
|
231
|
+
export type RisksControllerCreateRiskV1BadRequestResponseBody = {
|
|
232
|
+
message?: Array<string> | undefined;
|
|
233
|
+
error?: string | undefined;
|
|
234
|
+
statusCode?: number | undefined;
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
export const RisksControllerCreateRiskV1BadRequestResponseBody$zodSchema:
|
|
238
|
+
z.ZodType<RisksControllerCreateRiskV1BadRequestResponseBody> = z.object({
|
|
239
|
+
error: z.string().optional(),
|
|
240
|
+
message: z.array(z.string()).optional(),
|
|
241
|
+
statusCode: z.number().optional(),
|
|
242
|
+
}).describe("Bad request - Invalid input data");
|
|
243
|
+
|
|
244
244
|
/**
|
|
245
245
|
* User information (only for session auth)
|
|
246
246
|
*/
|
|
@@ -5,6 +5,25 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { ClosedEnum } from "../types/enums.js";
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* How the request was authenticated
|
|
10
|
+
*/
|
|
11
|
+
export const RisksControllerDeleteRiskV1AuthType = {
|
|
12
|
+
ApiKey: "api-key",
|
|
13
|
+
Session: "session",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* How the request was authenticated
|
|
17
|
+
*/
|
|
18
|
+
export type RisksControllerDeleteRiskV1AuthType = ClosedEnum<
|
|
19
|
+
typeof RisksControllerDeleteRiskV1AuthType
|
|
20
|
+
>;
|
|
21
|
+
|
|
22
|
+
export const RisksControllerDeleteRiskV1AuthType$zodSchema = z.enum([
|
|
23
|
+
"api-key",
|
|
24
|
+
"session",
|
|
25
|
+
]).describe("How the request was authenticated");
|
|
26
|
+
|
|
8
27
|
export type RisksControllerDeleteRiskV1Request = { id: string };
|
|
9
28
|
|
|
10
29
|
export const RisksControllerDeleteRiskV1Request$zodSchema: z.ZodType<
|
|
@@ -62,25 +81,6 @@ export const DeletedRisk$zodSchema: z.ZodType<DeletedRisk> = z.object({
|
|
|
62
81
|
title: z.string().optional().describe("Deleted risk title"),
|
|
63
82
|
});
|
|
64
83
|
|
|
65
|
-
/**
|
|
66
|
-
* How the request was authenticated
|
|
67
|
-
*/
|
|
68
|
-
export const RisksControllerDeleteRiskV1AuthType = {
|
|
69
|
-
ApiKey: "api-key",
|
|
70
|
-
Session: "session",
|
|
71
|
-
} as const;
|
|
72
|
-
/**
|
|
73
|
-
* How the request was authenticated
|
|
74
|
-
*/
|
|
75
|
-
export type RisksControllerDeleteRiskV1AuthType = ClosedEnum<
|
|
76
|
-
typeof RisksControllerDeleteRiskV1AuthType
|
|
77
|
-
>;
|
|
78
|
-
|
|
79
|
-
export const RisksControllerDeleteRiskV1AuthType$zodSchema = z.enum([
|
|
80
|
-
"api-key",
|
|
81
|
-
"session",
|
|
82
|
-
]).describe("How the request was authenticated");
|
|
83
|
-
|
|
84
84
|
/**
|
|
85
85
|
* User information (only for session auth)
|
|
86
86
|
*/
|
|
@@ -101,79 +101,6 @@ export const QueryParamCategory$zodSchema = z.enum([
|
|
|
101
101
|
"vendor_management",
|
|
102
102
|
]).describe("Filter by category");
|
|
103
103
|
|
|
104
|
-
export type RisksControllerGetAllRisksV1Request = {
|
|
105
|
-
title?: string | undefined;
|
|
106
|
-
page?: number | undefined;
|
|
107
|
-
perPage?: number | undefined;
|
|
108
|
-
sort?: Sort | undefined;
|
|
109
|
-
sortDirection?: SortDirection | undefined;
|
|
110
|
-
status?: RisksControllerGetAllRisksV1QueryParamStatus | undefined;
|
|
111
|
-
category?: QueryParamCategory | undefined;
|
|
112
|
-
department?: string | undefined;
|
|
113
|
-
assigneeId?: string | undefined;
|
|
114
|
-
};
|
|
115
|
-
|
|
116
|
-
export const RisksControllerGetAllRisksV1Request$zodSchema: z.ZodType<
|
|
117
|
-
RisksControllerGetAllRisksV1Request
|
|
118
|
-
> = z.object({
|
|
119
|
-
assigneeId: z.string().describe("Filter by assignee member ID").optional(),
|
|
120
|
-
category: QueryParamCategory$zodSchema.optional().describe(
|
|
121
|
-
"Filter by category",
|
|
122
|
-
),
|
|
123
|
-
department: z.string().describe(
|
|
124
|
-
"Filter by department. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.",
|
|
125
|
-
).optional(),
|
|
126
|
-
page: z.number().default(1).describe("Page number (1-indexed)"),
|
|
127
|
-
perPage: z.number().default(50).describe("Number of items per page"),
|
|
128
|
-
sort: Sort$zodSchema.default("createdAt").describe("Sort by field"),
|
|
129
|
-
sortDirection: SortDirection$zodSchema.default("desc").describe(
|
|
130
|
-
"Sort direction",
|
|
131
|
-
),
|
|
132
|
-
status: RisksControllerGetAllRisksV1QueryParamStatus$zodSchema.optional()
|
|
133
|
-
.describe("Filter by status"),
|
|
134
|
-
title: z.string().describe("Search by title (case-insensitive contains)")
|
|
135
|
-
.optional(),
|
|
136
|
-
});
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Internal server error
|
|
140
|
-
*/
|
|
141
|
-
export type RisksControllerGetAllRisksV1InternalServerErrorResponseBody = {
|
|
142
|
-
message?: string | undefined;
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
export const RisksControllerGetAllRisksV1InternalServerErrorResponseBody$zodSchema:
|
|
146
|
-
z.ZodType<RisksControllerGetAllRisksV1InternalServerErrorResponseBody> = z
|
|
147
|
-
.object({
|
|
148
|
-
message: z.string().optional(),
|
|
149
|
-
}).describe("Internal server error");
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Organization not found
|
|
153
|
-
*/
|
|
154
|
-
export type RisksControllerGetAllRisksV1NotFoundResponseBody = {
|
|
155
|
-
message?: string | undefined;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
export const RisksControllerGetAllRisksV1NotFoundResponseBody$zodSchema:
|
|
159
|
-
z.ZodType<RisksControllerGetAllRisksV1NotFoundResponseBody> = z.object({
|
|
160
|
-
message: z.string().optional(),
|
|
161
|
-
}).describe("Organization not found");
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Unauthorized - Invalid authentication or insufficient permissions
|
|
165
|
-
*/
|
|
166
|
-
export type RisksControllerGetAllRisksV1UnauthorizedResponseBody = {
|
|
167
|
-
message?: string | undefined;
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
export const RisksControllerGetAllRisksV1UnauthorizedResponseBody$zodSchema:
|
|
171
|
-
z.ZodType<RisksControllerGetAllRisksV1UnauthorizedResponseBody> = z.object({
|
|
172
|
-
message: z.string().optional(),
|
|
173
|
-
}).describe(
|
|
174
|
-
"Unauthorized - Invalid authentication or insufficient permissions",
|
|
175
|
-
);
|
|
176
|
-
|
|
177
104
|
export const RisksControllerGetAllRisksV1DataCategory = {
|
|
178
105
|
Customer: "customer",
|
|
179
106
|
Governance: "governance",
|
|
@@ -275,6 +202,98 @@ export const RisksControllerGetAllRisksV1TreatmentStrategy$zodSchema = z.enum([
|
|
|
275
202
|
"transfer",
|
|
276
203
|
]);
|
|
277
204
|
|
|
205
|
+
/**
|
|
206
|
+
* How the request was authenticated
|
|
207
|
+
*/
|
|
208
|
+
export const RisksControllerGetAllRisksV1AuthType = {
|
|
209
|
+
ApiKey: "api-key",
|
|
210
|
+
Session: "session",
|
|
211
|
+
} as const;
|
|
212
|
+
/**
|
|
213
|
+
* How the request was authenticated
|
|
214
|
+
*/
|
|
215
|
+
export type RisksControllerGetAllRisksV1AuthType = ClosedEnum<
|
|
216
|
+
typeof RisksControllerGetAllRisksV1AuthType
|
|
217
|
+
>;
|
|
218
|
+
|
|
219
|
+
export const RisksControllerGetAllRisksV1AuthType$zodSchema = z.enum([
|
|
220
|
+
"api-key",
|
|
221
|
+
"session",
|
|
222
|
+
]).describe("How the request was authenticated");
|
|
223
|
+
|
|
224
|
+
export type RisksControllerGetAllRisksV1Request = {
|
|
225
|
+
title?: string | undefined;
|
|
226
|
+
page?: number | undefined;
|
|
227
|
+
perPage?: number | undefined;
|
|
228
|
+
sort?: Sort | undefined;
|
|
229
|
+
sortDirection?: SortDirection | undefined;
|
|
230
|
+
status?: RisksControllerGetAllRisksV1QueryParamStatus | undefined;
|
|
231
|
+
category?: QueryParamCategory | undefined;
|
|
232
|
+
department?: string | undefined;
|
|
233
|
+
assigneeId?: string | undefined;
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
export const RisksControllerGetAllRisksV1Request$zodSchema: z.ZodType<
|
|
237
|
+
RisksControllerGetAllRisksV1Request
|
|
238
|
+
> = z.object({
|
|
239
|
+
assigneeId: z.string().describe("Filter by assignee member ID").optional(),
|
|
240
|
+
category: QueryParamCategory$zodSchema.optional().describe(
|
|
241
|
+
"Filter by category",
|
|
242
|
+
),
|
|
243
|
+
department: z.string().describe(
|
|
244
|
+
"Filter by department. Built-in values: none, admin, gov, hr, it, itsm, qms. Custom department names are also accepted.",
|
|
245
|
+
).optional(),
|
|
246
|
+
page: z.number().default(1).describe("Page number (1-indexed)"),
|
|
247
|
+
perPage: z.number().default(50).describe("Number of items per page"),
|
|
248
|
+
sort: Sort$zodSchema.default("createdAt").describe("Sort by field"),
|
|
249
|
+
sortDirection: SortDirection$zodSchema.default("desc").describe(
|
|
250
|
+
"Sort direction",
|
|
251
|
+
),
|
|
252
|
+
status: RisksControllerGetAllRisksV1QueryParamStatus$zodSchema.optional()
|
|
253
|
+
.describe("Filter by status"),
|
|
254
|
+
title: z.string().describe("Search by title (case-insensitive contains)")
|
|
255
|
+
.optional(),
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Internal server error
|
|
260
|
+
*/
|
|
261
|
+
export type RisksControllerGetAllRisksV1InternalServerErrorResponseBody = {
|
|
262
|
+
message?: string | undefined;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
export const RisksControllerGetAllRisksV1InternalServerErrorResponseBody$zodSchema:
|
|
266
|
+
z.ZodType<RisksControllerGetAllRisksV1InternalServerErrorResponseBody> = z
|
|
267
|
+
.object({
|
|
268
|
+
message: z.string().optional(),
|
|
269
|
+
}).describe("Internal server error");
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Organization not found
|
|
273
|
+
*/
|
|
274
|
+
export type RisksControllerGetAllRisksV1NotFoundResponseBody = {
|
|
275
|
+
message?: string | undefined;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
export const RisksControllerGetAllRisksV1NotFoundResponseBody$zodSchema:
|
|
279
|
+
z.ZodType<RisksControllerGetAllRisksV1NotFoundResponseBody> = z.object({
|
|
280
|
+
message: z.string().optional(),
|
|
281
|
+
}).describe("Organization not found");
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Unauthorized - Invalid authentication or insufficient permissions
|
|
285
|
+
*/
|
|
286
|
+
export type RisksControllerGetAllRisksV1UnauthorizedResponseBody = {
|
|
287
|
+
message?: string | undefined;
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
export const RisksControllerGetAllRisksV1UnauthorizedResponseBody$zodSchema:
|
|
291
|
+
z.ZodType<RisksControllerGetAllRisksV1UnauthorizedResponseBody> = z.object({
|
|
292
|
+
message: z.string().optional(),
|
|
293
|
+
}).describe(
|
|
294
|
+
"Unauthorized - Invalid authentication or insufficient permissions",
|
|
295
|
+
);
|
|
296
|
+
|
|
278
297
|
export type RisksControllerGetAllRisksV1Data = {
|
|
279
298
|
id?: string | undefined;
|
|
280
299
|
title?: string | undefined;
|
|
@@ -312,25 +331,6 @@ export const RisksControllerGetAllRisksV1Data$zodSchema: z.ZodType<
|
|
|
312
331
|
),
|
|
313
332
|
});
|
|
314
333
|
|
|
315
|
-
/**
|
|
316
|
-
* How the request was authenticated
|
|
317
|
-
*/
|
|
318
|
-
export const RisksControllerGetAllRisksV1AuthType = {
|
|
319
|
-
ApiKey: "api-key",
|
|
320
|
-
Session: "session",
|
|
321
|
-
} as const;
|
|
322
|
-
/**
|
|
323
|
-
* How the request was authenticated
|
|
324
|
-
*/
|
|
325
|
-
export type RisksControllerGetAllRisksV1AuthType = ClosedEnum<
|
|
326
|
-
typeof RisksControllerGetAllRisksV1AuthType
|
|
327
|
-
>;
|
|
328
|
-
|
|
329
|
-
export const RisksControllerGetAllRisksV1AuthType$zodSchema = z.enum([
|
|
330
|
-
"api-key",
|
|
331
|
-
"session",
|
|
332
|
-
]).describe("How the request was authenticated");
|
|
333
|
-
|
|
334
334
|
/**
|
|
335
335
|
* User information (only for session auth)
|
|
336
336
|
*/
|
|
@@ -5,65 +5,6 @@
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { ClosedEnum } from "../types/enums.js";
|
|
7
7
|
|
|
8
|
-
export type RisksControllerGetRiskByIdV1Request = { id: string };
|
|
9
|
-
|
|
10
|
-
export const RisksControllerGetRiskByIdV1Request$zodSchema: z.ZodType<
|
|
11
|
-
RisksControllerGetRiskByIdV1Request
|
|
12
|
-
> = z.object({
|
|
13
|
-
id: z.string().describe("Risk ID"),
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Internal server error
|
|
18
|
-
*/
|
|
19
|
-
export type RisksControllerGetRiskByIdV1InternalServerErrorResponseBody = {
|
|
20
|
-
message?: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export const RisksControllerGetRiskByIdV1InternalServerErrorResponseBody$zodSchema:
|
|
24
|
-
z.ZodType<RisksControllerGetRiskByIdV1InternalServerErrorResponseBody> = z
|
|
25
|
-
.object({
|
|
26
|
-
message: z.string().optional(),
|
|
27
|
-
}).describe("Internal server error");
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Risk not found
|
|
31
|
-
*/
|
|
32
|
-
export type RisksControllerGetRiskByIdV1NotFoundResponseBody = {
|
|
33
|
-
message?: string | undefined;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export const RisksControllerGetRiskByIdV1NotFoundResponseBody$zodSchema:
|
|
37
|
-
z.ZodType<RisksControllerGetRiskByIdV1NotFoundResponseBody> = z.object({
|
|
38
|
-
message: z.string().optional(),
|
|
39
|
-
}).describe("Risk not found");
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Forbidden - User does not have permission to access this risk
|
|
43
|
-
*/
|
|
44
|
-
export type RisksControllerGetRiskByIdV1ForbiddenResponseBody = {
|
|
45
|
-
message?: string | undefined;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export const RisksControllerGetRiskByIdV1ForbiddenResponseBody$zodSchema:
|
|
49
|
-
z.ZodType<RisksControllerGetRiskByIdV1ForbiddenResponseBody> = z.object({
|
|
50
|
-
message: z.string().optional(),
|
|
51
|
-
}).describe("Forbidden - User does not have permission to access this risk");
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Unauthorized - Invalid authentication or insufficient permissions
|
|
55
|
-
*/
|
|
56
|
-
export type RisksControllerGetRiskByIdV1UnauthorizedResponseBody = {
|
|
57
|
-
message?: string | undefined;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export const RisksControllerGetRiskByIdV1UnauthorizedResponseBody$zodSchema:
|
|
61
|
-
z.ZodType<RisksControllerGetRiskByIdV1UnauthorizedResponseBody> = z.object({
|
|
62
|
-
message: z.string().optional(),
|
|
63
|
-
}).describe(
|
|
64
|
-
"Unauthorized - Invalid authentication or insufficient permissions",
|
|
65
|
-
);
|
|
66
|
-
|
|
67
8
|
export const RisksControllerGetRiskByIdV1Category = {
|
|
68
9
|
Customer: "customer",
|
|
69
10
|
Governance: "governance",
|
|
@@ -245,6 +186,65 @@ export const RisksControllerGetRiskByIdV1AuthType$zodSchema = z.enum([
|
|
|
245
186
|
"session",
|
|
246
187
|
]).describe("How the request was authenticated");
|
|
247
188
|
|
|
189
|
+
export type RisksControllerGetRiskByIdV1Request = { id: string };
|
|
190
|
+
|
|
191
|
+
export const RisksControllerGetRiskByIdV1Request$zodSchema: z.ZodType<
|
|
192
|
+
RisksControllerGetRiskByIdV1Request
|
|
193
|
+
> = z.object({
|
|
194
|
+
id: z.string().describe("Risk ID"),
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Internal server error
|
|
199
|
+
*/
|
|
200
|
+
export type RisksControllerGetRiskByIdV1InternalServerErrorResponseBody = {
|
|
201
|
+
message?: string | undefined;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
export const RisksControllerGetRiskByIdV1InternalServerErrorResponseBody$zodSchema:
|
|
205
|
+
z.ZodType<RisksControllerGetRiskByIdV1InternalServerErrorResponseBody> = z
|
|
206
|
+
.object({
|
|
207
|
+
message: z.string().optional(),
|
|
208
|
+
}).describe("Internal server error");
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Risk not found
|
|
212
|
+
*/
|
|
213
|
+
export type RisksControllerGetRiskByIdV1NotFoundResponseBody = {
|
|
214
|
+
message?: string | undefined;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
export const RisksControllerGetRiskByIdV1NotFoundResponseBody$zodSchema:
|
|
218
|
+
z.ZodType<RisksControllerGetRiskByIdV1NotFoundResponseBody> = z.object({
|
|
219
|
+
message: z.string().optional(),
|
|
220
|
+
}).describe("Risk not found");
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Forbidden - User does not have permission to access this risk
|
|
224
|
+
*/
|
|
225
|
+
export type RisksControllerGetRiskByIdV1ForbiddenResponseBody = {
|
|
226
|
+
message?: string | undefined;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
export const RisksControllerGetRiskByIdV1ForbiddenResponseBody$zodSchema:
|
|
230
|
+
z.ZodType<RisksControllerGetRiskByIdV1ForbiddenResponseBody> = z.object({
|
|
231
|
+
message: z.string().optional(),
|
|
232
|
+
}).describe("Forbidden - User does not have permission to access this risk");
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Unauthorized - Invalid authentication or insufficient permissions
|
|
236
|
+
*/
|
|
237
|
+
export type RisksControllerGetRiskByIdV1UnauthorizedResponseBody = {
|
|
238
|
+
message?: string | undefined;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
export const RisksControllerGetRiskByIdV1UnauthorizedResponseBody$zodSchema:
|
|
242
|
+
z.ZodType<RisksControllerGetRiskByIdV1UnauthorizedResponseBody> = z.object({
|
|
243
|
+
message: z.string().optional(),
|
|
244
|
+
}).describe(
|
|
245
|
+
"Unauthorized - Invalid authentication or insufficient permissions",
|
|
246
|
+
);
|
|
247
|
+
|
|
248
248
|
/**
|
|
249
249
|
* User information (only for session auth)
|
|
250
250
|
*/
|
|
@@ -6,73 +6,6 @@ import * as z from "zod";
|
|
|
6
6
|
import { ClosedEnum } from "../types/enums.js";
|
|
7
7
|
import { UpdateRiskDto, UpdateRiskDto$zodSchema } from "./updateriskdto.js";
|
|
8
8
|
|
|
9
|
-
export type RisksControllerUpdateRiskV1Request = {
|
|
10
|
-
id: string;
|
|
11
|
-
body: UpdateRiskDto;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export const RisksControllerUpdateRiskV1Request$zodSchema: z.ZodType<
|
|
15
|
-
RisksControllerUpdateRiskV1Request
|
|
16
|
-
> = z.object({
|
|
17
|
-
body: UpdateRiskDto$zodSchema.describe("Risk update data"),
|
|
18
|
-
id: z.string().describe("Risk ID"),
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Internal server error
|
|
23
|
-
*/
|
|
24
|
-
export type RisksControllerUpdateRiskV1InternalServerErrorResponseBody = {
|
|
25
|
-
message?: string | undefined;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export const RisksControllerUpdateRiskV1InternalServerErrorResponseBody$zodSchema:
|
|
29
|
-
z.ZodType<RisksControllerUpdateRiskV1InternalServerErrorResponseBody> = z
|
|
30
|
-
.object({
|
|
31
|
-
message: z.string().optional(),
|
|
32
|
-
}).describe("Internal server error");
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Risk not found
|
|
36
|
-
*/
|
|
37
|
-
export type RisksControllerUpdateRiskV1NotFoundResponseBody = {
|
|
38
|
-
message?: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export const RisksControllerUpdateRiskV1NotFoundResponseBody$zodSchema:
|
|
42
|
-
z.ZodType<RisksControllerUpdateRiskV1NotFoundResponseBody> = z.object({
|
|
43
|
-
message: z.string().optional(),
|
|
44
|
-
}).describe("Risk not found");
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Unauthorized - Invalid authentication or insufficient permissions
|
|
48
|
-
*/
|
|
49
|
-
export type RisksControllerUpdateRiskV1UnauthorizedResponseBody = {
|
|
50
|
-
message?: string | undefined;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export const RisksControllerUpdateRiskV1UnauthorizedResponseBody$zodSchema:
|
|
54
|
-
z.ZodType<RisksControllerUpdateRiskV1UnauthorizedResponseBody> = z.object({
|
|
55
|
-
message: z.string().optional(),
|
|
56
|
-
}).describe(
|
|
57
|
-
"Unauthorized - Invalid authentication or insufficient permissions",
|
|
58
|
-
);
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Bad request - Invalid input data
|
|
62
|
-
*/
|
|
63
|
-
export type RisksControllerUpdateRiskV1BadRequestResponseBody = {
|
|
64
|
-
message?: Array<string> | undefined;
|
|
65
|
-
error?: string | undefined;
|
|
66
|
-
statusCode?: number | undefined;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export const RisksControllerUpdateRiskV1BadRequestResponseBody$zodSchema:
|
|
70
|
-
z.ZodType<RisksControllerUpdateRiskV1BadRequestResponseBody> = z.object({
|
|
71
|
-
error: z.string().optional(),
|
|
72
|
-
message: z.array(z.string()).optional(),
|
|
73
|
-
statusCode: z.number().optional(),
|
|
74
|
-
}).describe("Bad request - Invalid input data");
|
|
75
|
-
|
|
76
9
|
export const RisksControllerUpdateRiskV1Category = {
|
|
77
10
|
Customer: "customer",
|
|
78
11
|
Governance: "governance",
|
|
@@ -254,6 +187,73 @@ export const RisksControllerUpdateRiskV1AuthType$zodSchema = z.enum([
|
|
|
254
187
|
"session",
|
|
255
188
|
]).describe("How the request was authenticated");
|
|
256
189
|
|
|
190
|
+
export type RisksControllerUpdateRiskV1Request = {
|
|
191
|
+
id: string;
|
|
192
|
+
body: UpdateRiskDto;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export const RisksControllerUpdateRiskV1Request$zodSchema: z.ZodType<
|
|
196
|
+
RisksControllerUpdateRiskV1Request
|
|
197
|
+
> = z.object({
|
|
198
|
+
body: UpdateRiskDto$zodSchema.describe("Risk update data"),
|
|
199
|
+
id: z.string().describe("Risk ID"),
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Internal server error
|
|
204
|
+
*/
|
|
205
|
+
export type RisksControllerUpdateRiskV1InternalServerErrorResponseBody = {
|
|
206
|
+
message?: string | undefined;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
export const RisksControllerUpdateRiskV1InternalServerErrorResponseBody$zodSchema:
|
|
210
|
+
z.ZodType<RisksControllerUpdateRiskV1InternalServerErrorResponseBody> = z
|
|
211
|
+
.object({
|
|
212
|
+
message: z.string().optional(),
|
|
213
|
+
}).describe("Internal server error");
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Risk not found
|
|
217
|
+
*/
|
|
218
|
+
export type RisksControllerUpdateRiskV1NotFoundResponseBody = {
|
|
219
|
+
message?: string | undefined;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
export const RisksControllerUpdateRiskV1NotFoundResponseBody$zodSchema:
|
|
223
|
+
z.ZodType<RisksControllerUpdateRiskV1NotFoundResponseBody> = z.object({
|
|
224
|
+
message: z.string().optional(),
|
|
225
|
+
}).describe("Risk not found");
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Unauthorized - Invalid authentication or insufficient permissions
|
|
229
|
+
*/
|
|
230
|
+
export type RisksControllerUpdateRiskV1UnauthorizedResponseBody = {
|
|
231
|
+
message?: string | undefined;
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
export const RisksControllerUpdateRiskV1UnauthorizedResponseBody$zodSchema:
|
|
235
|
+
z.ZodType<RisksControllerUpdateRiskV1UnauthorizedResponseBody> = z.object({
|
|
236
|
+
message: z.string().optional(),
|
|
237
|
+
}).describe(
|
|
238
|
+
"Unauthorized - Invalid authentication or insufficient permissions",
|
|
239
|
+
);
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Bad request - Invalid input data
|
|
243
|
+
*/
|
|
244
|
+
export type RisksControllerUpdateRiskV1BadRequestResponseBody = {
|
|
245
|
+
message?: Array<string> | undefined;
|
|
246
|
+
error?: string | undefined;
|
|
247
|
+
statusCode?: number | undefined;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
export const RisksControllerUpdateRiskV1BadRequestResponseBody$zodSchema:
|
|
251
|
+
z.ZodType<RisksControllerUpdateRiskV1BadRequestResponseBody> = z.object({
|
|
252
|
+
error: z.string().optional(),
|
|
253
|
+
message: z.array(z.string()).optional(),
|
|
254
|
+
statusCode: z.number().optional(),
|
|
255
|
+
}).describe("Bad request - Invalid input data");
|
|
256
|
+
|
|
257
257
|
/**
|
|
258
258
|
* User information (only for session auth)
|
|
259
259
|
*/
|