@trycompai/mcp-server 0.3.8 → 0.4.0
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 +2947 -2048
- package/bin/mcp-server.js.map +100 -86
- package/esm/funcs/cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1.js +3 -2
- package/esm/funcs/cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1.js.map +1 -1
- package/esm/funcs/cloudSecurityCloudSecurityControllerSelectGcpProjectsV1.js +3 -2
- package/esm/funcs/cloudSecurityCloudSecurityControllerSelectGcpProjectsV1.js.map +1 -1
- package/esm/funcs/cloudSecurityCloudSecurityControllerSetupGcpV1.js +3 -2
- package/esm/funcs/cloudSecurityCloudSecurityControllerSetupGcpV1.js.map +1 -1
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.d.ts +1 -1
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js +3 -1
- package/esm/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerReviewSubmissionV1.js +3 -2
- package/esm/funcs/evidenceFormsEvidenceFormsControllerReviewSubmissionV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerSubmitFormV1.js +3 -2
- package/esm/funcs/evidenceFormsEvidenceFormsControllerSubmitFormV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUpdateFormSettingV1.js +3 -2
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUpdateFormSettingV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.d.ts +2 -2
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.d.ts.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.js +6 -5
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.js.map +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.d.ts +1 -1
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.js +4 -3
- package/esm/funcs/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.js.map +1 -1
- package/esm/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.d.ts +2 -1
- package/esm/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.d.ts.map +1 -1
- package/esm/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.js +14 -3
- package/esm/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.js.map +1 -1
- package/esm/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.d.ts +16 -0
- package/esm/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.d.ts.map +1 -0
- package/esm/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js +98 -0
- package/esm/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js.map +1 -0
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerDeleteDocumentV1.js +3 -2
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerDeleteDocumentV1.js.map +1 -1
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerGetDownloadUrlV1.js +3 -2
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerGetDownloadUrlV1.js.map +1 -1
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerGetViewUrlV1.js +3 -2
- package/esm/funcs/knowledgeBaseKnowledgeBaseControllerGetViewUrlV1.js.map +1 -1
- package/esm/funcs/offboardingChecklistOffboardingChecklistControllerRevokeVendorAccessV1.js +3 -2
- package/esm/funcs/offboardingChecklistOffboardingChecklistControllerRevokeVendorAccessV1.js.map +1 -1
- package/esm/funcs/orgChartOrgChartControllerUpsertOrgChartV1.d.ts +1 -1
- package/esm/funcs/orgChartOrgChartControllerUpsertOrgChartV1.d.ts.map +1 -1
- package/esm/funcs/orgChartOrgChartControllerUpsertOrgChartV1.js +5 -4
- package/esm/funcs/orgChartOrgChartControllerUpsertOrgChartV1.js.map +1 -1
- package/esm/funcs/organizationOrganizationControllerCreateApiKeyV1.d.ts +2 -1
- package/esm/funcs/organizationOrganizationControllerCreateApiKeyV1.d.ts.map +1 -1
- package/esm/funcs/organizationOrganizationControllerCreateApiKeyV1.js +14 -3
- package/esm/funcs/organizationOrganizationControllerCreateApiKeyV1.js.map +1 -1
- package/esm/funcs/organizationOrganizationControllerRevokeApiKeyV1.d.ts +2 -1
- package/esm/funcs/organizationOrganizationControllerRevokeApiKeyV1.d.ts.map +1 -1
- package/esm/funcs/organizationOrganizationControllerRevokeApiKeyV1.js +14 -3
- package/esm/funcs/organizationOrganizationControllerRevokeApiKeyV1.js.map +1 -1
- package/esm/funcs/organizationOrganizationControllerUploadLogoV1.d.ts +2 -1
- package/esm/funcs/organizationOrganizationControllerUploadLogoV1.d.ts.map +1 -1
- package/esm/funcs/organizationOrganizationControllerUploadLogoV1.js +14 -3
- package/esm/funcs/organizationOrganizationControllerUploadLogoV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerAcceptPolicyChangesV1.js +3 -2
- package/esm/funcs/policiesPoliciesControllerAcceptPolicyChangesV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerAddPolicyControlsV1.js +3 -2
- package/esm/funcs/policiesPoliciesControllerAddPolicyControlsV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerCreatePolicyVersionV1.d.ts +1 -1
- package/esm/funcs/policiesPoliciesControllerCreatePolicyVersionV1.js +1 -1
- package/esm/funcs/policiesPoliciesControllerDenyPolicyChangesV1.js +3 -2
- package/esm/funcs/policiesPoliciesControllerDenyPolicyChangesV1.js.map +1 -1
- package/esm/funcs/policiesPoliciesControllerPublishAllPoliciesV1.js +1 -1
- package/esm/funcs/policiesPoliciesControllerPublishAllPoliciesV1.js.map +1 -1
- package/esm/funcs/trustAccessTrustAccessControllerPreviewNdaV1.d.ts +2 -2
- package/esm/funcs/trustAccessTrustAccessControllerPreviewNdaV1.js +2 -2
- package/esm/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerTogglePortalV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerTogglePortalV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerTogglePortalV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerTogglePortalV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateCustomLinkV1.js +3 -2
- package/esm/funcs/trustPortalTrustPortalControllerUpdateCustomLinkV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUpdateVendorTrustSettingsV1.js +3 -2
- package/esm/funcs/trustPortalTrustPortalControllerUpdateVendorTrustSettingsV1.js.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUploadFaviconV1.d.ts +2 -1
- package/esm/funcs/trustPortalTrustPortalControllerUploadFaviconV1.d.ts.map +1 -1
- package/esm/funcs/trustPortalTrustPortalControllerUploadFaviconV1.js +14 -3
- package/esm/funcs/trustPortalTrustPortalControllerUploadFaviconV1.js.map +1 -1
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +3 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js +1 -1
- package/esm/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.js.map +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadFileV1.d.ts +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadFileV1.js +2 -2
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadFileV1.js.map +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.js +1 -1
- package/esm/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.js.map +1 -1
- package/esm/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.d.ts +5 -1
- package/esm/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.js +7 -2
- package/esm/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.js.map +1 -1
- package/esm/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.d.ts +7 -0
- package/esm/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.d.ts.map +1 -0
- package/esm/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js +35 -0
- package/esm/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.js.map +1 -0
- package/esm/mcp-server/tools/orgChartOrgChartControllerUpsertOrgChartV1.d.ts +1 -1
- package/esm/mcp-server/tools/orgChartOrgChartControllerUpsertOrgChartV1.js +1 -1
- package/esm/mcp-server/tools/orgChartOrgChartControllerUpsertOrgChartV1.js.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.d.ts +5 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.js +7 -2
- package/esm/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.js.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.d.ts +5 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.js +7 -2
- package/esm/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.js.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.d.ts +5 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.js +7 -2
- package/esm/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.js.map +1 -1
- package/esm/mcp-server/tools/policiesPoliciesControllerCreatePolicyVersionV1.js +1 -1
- package/esm/mcp-server/tools/policiesPoliciesControllerCreatePolicyVersionV1.js.map +1 -1
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerPreviewNdaV1.js +2 -2
- package/esm/mcp-server/tools/trustAccessTrustAccessControllerPreviewNdaV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js +8 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.js.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.d.ts +5 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.d.ts.map +1 -1
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.js +7 -2
- package/esm/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.js.map +1 -1
- package/esm/models/auditorevidenceexportcontrollerexportallevidencev1op.d.ts +2 -0
- package/esm/models/auditorevidenceexportcontrollerexportallevidencev1op.d.ts.map +1 -1
- package/esm/models/auditorevidenceexportcontrollerexportallevidencev1op.js +3 -2
- package/esm/models/auditorevidenceexportcontrollerexportallevidencev1op.js.map +1 -1
- package/esm/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.d.ts +28 -0
- package/esm/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.d.ts.map +1 -1
- package/esm/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.js +19 -0
- package/esm/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.js.map +1 -1
- package/esm/models/cloudsecuritycontrollerselectgcpprojectsv1op.d.ts +12 -0
- package/esm/models/cloudsecuritycontrollerselectgcpprojectsv1op.d.ts.map +1 -1
- package/esm/models/cloudsecuritycontrollerselectgcpprojectsv1op.js +6 -0
- package/esm/models/cloudsecuritycontrollerselectgcpprojectsv1op.js.map +1 -1
- package/esm/models/cloudsecuritycontrollersetupgcpv1op.d.ts +8 -0
- package/esm/models/cloudsecuritycontrollersetupgcpv1op.d.ts.map +1 -1
- package/esm/models/cloudsecuritycontrollersetupgcpv1op.js +5 -0
- package/esm/models/cloudsecuritycontrollersetupgcpv1op.js.map +1 -1
- package/esm/models/createpolicydto.js +2 -2
- package/esm/models/createpolicydto.js.map +1 -1
- package/esm/models/createpolicyversiondto.js +1 -1
- package/esm/models/createpolicyversiondto.js.map +1 -1
- package/esm/models/evidenceformscontrollerdeletesubmissionv1op.d.ts +39 -1
- package/esm/models/evidenceformscontrollerdeletesubmissionv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerdeletesubmissionv1op.js +36 -1
- package/esm/models/evidenceformscontrollerdeletesubmissionv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerexportcsvv1op.d.ts +39 -1
- package/esm/models/evidenceformscontrollerexportcsvv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerexportcsvv1op.js +34 -1
- package/esm/models/evidenceformscontrollerexportcsvv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.d.ts +42 -5
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.js +38 -4
- package/esm/models/evidenceformscontrollergetformwithsubmissionsv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollergetsubmissionv1op.d.ts +39 -1
- package/esm/models/evidenceformscontrollergetsubmissionv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollergetsubmissionv1op.js +34 -1
- package/esm/models/evidenceformscontrollergetsubmissionv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.d.ts +42 -5
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.js +38 -5
- package/esm/models/evidenceformscontrollerlistsubmissionsv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerreviewsubmissionv1op.d.ts +60 -1
- package/esm/models/evidenceformscontrollerreviewsubmissionv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerreviewsubmissionv1op.js +52 -1
- package/esm/models/evidenceformscontrollerreviewsubmissionv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollersubmitformv1op.d.ts +42 -1
- package/esm/models/evidenceformscontrollersubmitformv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollersubmitformv1op.js +35 -1
- package/esm/models/evidenceformscontrollersubmitformv1op.js.map +1 -1
- package/esm/models/evidenceformscontrollerupdateformsettingv1op.d.ts +44 -1
- package/esm/models/evidenceformscontrollerupdateformsettingv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrollerupdateformsettingv1op.js +40 -1
- package/esm/models/evidenceformscontrollerupdateformsettingv1op.js.map +1 -1
- package/esm/models/evidenceformscontrolleruploadfilev1op.d.ts +50 -0
- package/esm/models/evidenceformscontrolleruploadfilev1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrolleruploadfilev1op.js +42 -0
- package/esm/models/evidenceformscontrolleruploadfilev1op.js.map +1 -1
- package/esm/models/evidenceformscontrolleruploadsubmissionv1op.d.ts +50 -1
- package/esm/models/evidenceformscontrolleruploadsubmissionv1op.d.ts.map +1 -1
- package/esm/models/evidenceformscontrolleruploadsubmissionv1op.js +43 -1
- package/esm/models/evidenceformscontrolleruploadsubmissionv1op.js.map +1 -1
- package/esm/models/knowledgebasecontrollerdeletedocumentv1op.d.ts +8 -0
- package/esm/models/knowledgebasecontrollerdeletedocumentv1op.d.ts.map +1 -1
- package/esm/models/knowledgebasecontrollerdeletedocumentv1op.js +4 -0
- package/esm/models/knowledgebasecontrollerdeletedocumentv1op.js.map +1 -1
- package/esm/models/knowledgebasecontrollergetdownloadurlv1op.d.ts +8 -0
- package/esm/models/knowledgebasecontrollergetdownloadurlv1op.d.ts.map +1 -1
- package/esm/models/knowledgebasecontrollergetdownloadurlv1op.js +4 -0
- package/esm/models/knowledgebasecontrollergetdownloadurlv1op.js.map +1 -1
- package/esm/models/knowledgebasecontrollergetviewurlv1op.d.ts +8 -0
- package/esm/models/knowledgebasecontrollergetviewurlv1op.d.ts.map +1 -1
- package/esm/models/knowledgebasecontrollergetviewurlv1op.js +5 -0
- package/esm/models/knowledgebasecontrollergetviewurlv1op.js.map +1 -1
- package/esm/models/offboardingchecklistcontrollerrevokevendoraccessv1op.d.ts +11 -0
- package/esm/models/offboardingchecklistcontrollerrevokevendoraccessv1op.d.ts.map +1 -1
- package/esm/models/offboardingchecklistcontrollerrevokevendoraccessv1op.js +8 -0
- package/esm/models/offboardingchecklistcontrollerrevokevendoraccessv1op.js.map +1 -1
- package/esm/models/organizationcontrollercreateapikeyv1op.d.ts +31 -0
- package/esm/models/organizationcontrollercreateapikeyv1op.d.ts.map +1 -0
- package/esm/models/organizationcontrollercreateapikeyv1op.js +26 -0
- package/esm/models/organizationcontrollercreateapikeyv1op.js.map +1 -0
- package/esm/models/organizationcontrollerrevokeapikeyv1op.d.ts +9 -0
- package/esm/models/organizationcontrollerrevokeapikeyv1op.d.ts.map +1 -0
- package/esm/models/organizationcontrollerrevokeapikeyv1op.js +9 -0
- package/esm/models/organizationcontrollerrevokeapikeyv1op.js.map +1 -0
- package/esm/models/organizationcontrolleruploadlogov1op.d.ts +11 -0
- package/esm/models/organizationcontrolleruploadlogov1op.d.ts.map +1 -0
- package/esm/models/organizationcontrolleruploadlogov1op.js +11 -0
- package/esm/models/organizationcontrolleruploadlogov1op.js.map +1 -0
- package/esm/models/orgchartcontrollerupsertorgchartv1op.d.ts +2 -0
- package/esm/models/orgchartcontrollerupsertorgchartv1op.d.ts.map +1 -1
- package/esm/models/orgchartcontrollerupsertorgchartv1op.js +2 -0
- package/esm/models/orgchartcontrollerupsertorgchartv1op.js.map +1 -1
- package/esm/models/policiescontrolleracceptpolicychangesv1op.d.ts +9 -0
- package/esm/models/policiescontrolleracceptpolicychangesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrolleracceptpolicychangesv1op.js +5 -0
- package/esm/models/policiescontrolleracceptpolicychangesv1op.js.map +1 -1
- package/esm/models/policiescontrolleraddpolicycontrolsv1op.d.ts +8 -0
- package/esm/models/policiescontrolleraddpolicycontrolsv1op.d.ts.map +1 -1
- package/esm/models/policiescontrolleraddpolicycontrolsv1op.js +5 -0
- package/esm/models/policiescontrolleraddpolicycontrolsv1op.js.map +1 -1
- package/esm/models/policiescontrollerdenypolicychangesv1op.d.ts +9 -0
- package/esm/models/policiescontrollerdenypolicychangesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollerdenypolicychangesv1op.js +6 -0
- package/esm/models/policiescontrollerdenypolicychangesv1op.js.map +1 -1
- package/esm/models/policiescontrollergetallpoliciesv1op.d.ts +77 -2
- package/esm/models/policiescontrollergetallpoliciesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollergetallpoliciesv1op.js +61 -2
- package/esm/models/policiescontrollergetallpoliciesv1op.js.map +1 -1
- package/esm/models/policiescontrollerpublishallpoliciesv1op.d.ts +17 -0
- package/esm/models/policiescontrollerpublishallpoliciesv1op.d.ts.map +1 -1
- package/esm/models/policiescontrollerpublishallpoliciesv1op.js +12 -0
- package/esm/models/policiescontrollerpublishallpoliciesv1op.js.map +1 -1
- package/esm/models/policyresponsedto.js +2 -2
- package/esm/models/policyresponsedto.js.map +1 -1
- package/esm/models/synccontrollersetdevicesyncproviderv1op.d.ts +9 -0
- package/esm/models/synccontrollersetdevicesyncproviderv1op.d.ts.map +1 -0
- package/esm/models/synccontrollersetdevicesyncproviderv1op.js +9 -0
- package/esm/models/synccontrollersetdevicesyncproviderv1op.js.map +1 -0
- package/esm/models/taskintegrationscontrollergettaskcheckrunresultsv1op.d.ts +10 -0
- package/esm/models/taskintegrationscontrollergettaskcheckrunresultsv1op.d.ts.map +1 -0
- package/esm/models/taskintegrationscontrollergettaskcheckrunresultsv1op.js +15 -0
- package/esm/models/taskintegrationscontrollergettaskcheckrunresultsv1op.js.map +1 -0
- package/esm/models/taskitemresponsedto.d.ts +3 -3
- package/esm/models/taskitemresponsedto.d.ts.map +1 -1
- package/esm/models/taskitemresponsedto.js +2 -3
- package/esm/models/taskitemresponsedto.js.map +1 -1
- package/esm/models/trustportalcontrolleraddcustomdomainv1op.d.ts +9 -0
- package/esm/models/trustportalcontrolleraddcustomdomainv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrolleraddcustomdomainv1op.js +9 -0
- package/esm/models/trustportalcontrolleraddcustomdomainv1op.js.map +1 -0
- package/esm/models/trustportalcontrollercheckdnsrecordsv1op.d.ts +9 -0
- package/esm/models/trustportalcontrollercheckdnsrecordsv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollercheckdnsrecordsv1op.js +9 -0
- package/esm/models/trustportalcontrollercheckdnsrecordsv1op.js.map +1 -0
- package/esm/models/trustportalcontrollertoggleportalv1op.d.ts +11 -0
- package/esm/models/trustportalcontrollertoggleportalv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollertoggleportalv1op.js +11 -0
- package/esm/models/trustportalcontrollertoggleportalv1op.js.map +1 -0
- package/esm/models/trustportalcontrollerupdatealloweddomainsv1op.d.ts +9 -0
- package/esm/models/trustportalcontrollerupdatealloweddomainsv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollerupdatealloweddomainsv1op.js +9 -0
- package/esm/models/trustportalcontrollerupdatealloweddomainsv1op.js.map +1 -0
- package/esm/models/trustportalcontrollerupdatecustomlinkv1op.d.ts +11 -0
- package/esm/models/trustportalcontrollerupdatecustomlinkv1op.d.ts.map +1 -1
- package/esm/models/trustportalcontrollerupdatecustomlinkv1op.js +7 -0
- package/esm/models/trustportalcontrollerupdatecustomlinkv1op.js.map +1 -1
- package/esm/models/trustportalcontrollerupdateframeworksv1op.d.ts +242 -0
- package/esm/models/trustportalcontrollerupdateframeworksv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrollerupdateframeworksv1op.js +224 -0
- package/esm/models/trustportalcontrollerupdateframeworksv1op.js.map +1 -0
- package/esm/models/trustportalcontrollerupdatevendortrustsettingsv1op.d.ts +38 -0
- package/esm/models/trustportalcontrollerupdatevendortrustsettingsv1op.d.ts.map +1 -1
- package/esm/models/trustportalcontrollerupdatevendortrustsettingsv1op.js +34 -0
- package/esm/models/trustportalcontrollerupdatevendortrustsettingsv1op.js.map +1 -1
- package/esm/models/trustportalcontrolleruploadfaviconv1op.d.ts +31 -0
- package/esm/models/trustportalcontrolleruploadfaviconv1op.d.ts.map +1 -0
- package/esm/models/trustportalcontrolleruploadfaviconv1op.js +26 -0
- package/esm/models/trustportalcontrolleruploadfaviconv1op.js.map +1 -0
- package/esm/models/updatepolicydto.js +2 -2
- package/esm/models/updatepolicydto.js.map +1 -1
- package/esm/models/upsertorgchartdto.d.ts +12 -0
- package/esm/models/upsertorgchartdto.d.ts.map +1 -0
- package/esm/models/upsertorgchartdto.js +14 -0
- package/esm/models/upsertorgchartdto.js.map +1 -0
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +9 -5
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/cloudSecurityCloudSecurityControllerResolveGcpSetupStepV1.ts +3 -2
- package/src/funcs/cloudSecurityCloudSecurityControllerSelectGcpProjectsV1.ts +3 -2
- package/src/funcs/cloudSecurityCloudSecurityControllerSetupGcpV1.ts +3 -2
- package/src/funcs/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.ts +3 -1
- package/src/funcs/evidenceFormsEvidenceFormsControllerReviewSubmissionV1.ts +3 -2
- package/src/funcs/evidenceFormsEvidenceFormsControllerSubmitFormV1.ts +3 -2
- package/src/funcs/evidenceFormsEvidenceFormsControllerUpdateFormSettingV1.ts +3 -2
- package/src/funcs/evidenceFormsEvidenceFormsControllerUploadFileV1.ts +8 -9
- package/src/funcs/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.ts +4 -3
- package/src/funcs/integrationsSyncControllerSetDeviceSyncProviderV1.ts +22 -0
- package/src/funcs/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.ts +168 -0
- package/src/funcs/knowledgeBaseKnowledgeBaseControllerDeleteDocumentV1.ts +3 -2
- package/src/funcs/knowledgeBaseKnowledgeBaseControllerGetDownloadUrlV1.ts +3 -2
- package/src/funcs/knowledgeBaseKnowledgeBaseControllerGetViewUrlV1.ts +3 -2
- package/src/funcs/offboardingChecklistOffboardingChecklistControllerRevokeVendorAccessV1.ts +3 -2
- package/src/funcs/orgChartOrgChartControllerUpsertOrgChartV1.ts +7 -8
- package/src/funcs/organizationOrganizationControllerCreateApiKeyV1.ts +22 -0
- package/src/funcs/organizationOrganizationControllerRevokeApiKeyV1.ts +22 -0
- package/src/funcs/organizationOrganizationControllerUploadLogoV1.ts +22 -0
- package/src/funcs/policiesPoliciesControllerAcceptPolicyChangesV1.ts +3 -2
- package/src/funcs/policiesPoliciesControllerAddPolicyControlsV1.ts +3 -2
- package/src/funcs/policiesPoliciesControllerCreatePolicyVersionV1.ts +1 -1
- package/src/funcs/policiesPoliciesControllerDenyPolicyChangesV1.ts +3 -2
- package/src/funcs/policiesPoliciesControllerPublishAllPoliciesV1.ts +1 -1
- package/src/funcs/trustAccessTrustAccessControllerPreviewNdaV1.ts +2 -2
- package/src/funcs/trustPortalTrustPortalControllerAddCustomDomainV1.ts +22 -0
- package/src/funcs/trustPortalTrustPortalControllerCheckDnsRecordsV1.ts +22 -0
- package/src/funcs/trustPortalTrustPortalControllerTogglePortalV1.ts +22 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.ts +24 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateCustomLinkV1.ts +3 -2
- package/src/funcs/trustPortalTrustPortalControllerUpdateFrameworksV1.ts +24 -0
- package/src/funcs/trustPortalTrustPortalControllerUpdateVendorTrustSettingsV1.ts +3 -2
- package/src/funcs/trustPortalTrustPortalControllerUploadFaviconV1.ts +22 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/evidenceExportAuditorAuditorEvidenceExportControllerExportAllEvidenceV1.ts +1 -1
- package/src/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadFileV1.ts +2 -2
- package/src/mcp-server/tools/evidenceFormsEvidenceFormsControllerUploadSubmissionV1.ts +1 -1
- package/src/mcp-server/tools/integrationsSyncControllerSetDeviceSyncProviderV1.ts +11 -2
- package/src/mcp-server/tools/integrationsTaskIntegrationsControllerGetTaskCheckRunResultsV1.ts +45 -0
- package/src/mcp-server/tools/orgChartOrgChartControllerUpsertOrgChartV1.ts +1 -1
- package/src/mcp-server/tools/organizationOrganizationControllerCreateApiKeyV1.ts +11 -2
- package/src/mcp-server/tools/organizationOrganizationControllerRevokeApiKeyV1.ts +11 -2
- package/src/mcp-server/tools/organizationOrganizationControllerUploadLogoV1.ts +11 -2
- package/src/mcp-server/tools/policiesPoliciesControllerCreatePolicyVersionV1.ts +1 -1
- package/src/mcp-server/tools/trustAccessTrustAccessControllerPreviewNdaV1.ts +2 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerAddCustomDomainV1.ts +11 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerCheckDnsRecordsV1.ts +11 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerTogglePortalV1.ts +11 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUpdateAllowedDomainsV1.ts +12 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUpdateFrameworksV1.ts +11 -2
- package/src/mcp-server/tools/trustPortalTrustPortalControllerUploadFaviconV1.ts +11 -2
- package/src/models/auditorevidenceexportcontrollerexportallevidencev1op.ts +11 -2
- package/src/models/cloudsecuritycontrollerresolvegcpsetupstepv1op.ts +44 -0
- package/src/models/cloudsecuritycontrollerselectgcpprojectsv1op.ts +26 -0
- package/src/models/cloudsecuritycontrollersetupgcpv1op.ts +21 -1
- package/src/models/createpolicydto.ts +2 -2
- package/src/models/createpolicyversiondto.ts +1 -1
- package/src/models/evidenceformscontrollerdeletesubmissionv1op.ts +50 -2
- package/src/models/evidenceformscontrollerexportcsvv1op.ts +48 -2
- package/src/models/evidenceformscontrollergetformwithsubmissionsv1op.ts +71 -23
- package/src/models/evidenceformscontrollergetsubmissionv1op.ts +48 -2
- package/src/models/evidenceformscontrollerlistsubmissionsv1op.ts +55 -11
- package/src/models/evidenceformscontrollerreviewsubmissionv1op.ts +84 -2
- package/src/models/evidenceformscontrollersubmitformv1op.ts +52 -2
- package/src/models/evidenceformscontrollerupdateformsettingv1op.ts +65 -2
- package/src/models/evidenceformscontrolleruploadfilev1op.ts +77 -0
- package/src/models/evidenceformscontrolleruploadsubmissionv1op.ts +82 -2
- package/src/models/knowledgebasecontrollerdeletedocumentv1op.ts +22 -0
- package/src/models/knowledgebasecontrollergetdownloadurlv1op.ts +22 -0
- package/src/models/knowledgebasecontrollergetviewurlv1op.ts +24 -1
- package/src/models/offboardingchecklistcontrollerrevokevendoraccessv1op.ts +33 -0
- package/src/models/organizationcontrollercreateapikeyv1op.ts +49 -0
- package/src/models/organizationcontrollerrevokeapikeyv1op.ts +17 -0
- package/src/models/organizationcontrolleruploadlogov1op.ts +25 -0
- package/src/models/orgchartcontrollerupsertorgchartv1op.ts +6 -0
- package/src/models/policiescontrolleracceptpolicychangesv1op.ts +22 -0
- package/src/models/policiescontrolleraddpolicycontrolsv1op.ts +17 -0
- package/src/models/policiescontrollerdenypolicychangesv1op.ts +21 -0
- package/src/models/policiescontrollergetallpoliciesv1op.ts +165 -6
- package/src/models/policiescontrollerpublishallpoliciesv1op.ts +42 -0
- package/src/models/policyresponsedto.ts +2 -2
- package/src/models/synccontrollersetdevicesyncproviderv1op.ts +21 -0
- package/src/models/taskintegrationscontrollergettaskcheckrunresultsv1op.ts +29 -0
- package/src/models/taskitemresponsedto.ts +8 -5
- package/src/models/trustportalcontrolleraddcustomdomainv1op.ts +19 -0
- package/src/models/trustportalcontrollercheckdnsrecordsv1op.ts +19 -0
- package/src/models/trustportalcontrollertoggleportalv1op.ts +27 -0
- package/src/models/trustportalcontrollerupdatealloweddomainsv1op.ts +20 -0
- package/src/models/trustportalcontrollerupdatecustomlinkv1op.ts +27 -1
- package/src/models/trustportalcontrollerupdateframeworksv1op.ts +391 -0
- package/src/models/trustportalcontrollerupdatevendortrustsettingsv1op.ts +65 -0
- package/src/models/trustportalcontrolleruploadfaviconv1op.ts +51 -0
- package/src/models/updatepolicydto.ts +2 -2
- package/src/models/upsertorgchartdto.ts +31 -0
- package/src/tool-names.ts +9 -5
|
@@ -5,10 +5,30 @@
|
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Project to run setup against
|
|
10
|
+
*/
|
|
11
|
+
export type CloudSecurityControllerSetupGcpV1RequestBody = {
|
|
12
|
+
projectId?: string | undefined;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const CloudSecurityControllerSetupGcpV1RequestBody$zodSchema: z.ZodType<
|
|
16
|
+
CloudSecurityControllerSetupGcpV1RequestBody
|
|
17
|
+
> = z.object({
|
|
18
|
+
projectId: z.string().optional().describe(
|
|
19
|
+
"Project to set up. Defaults to the connection's configured project.",
|
|
20
|
+
),
|
|
21
|
+
}).describe("Project to run setup against");
|
|
22
|
+
|
|
23
|
+
export type CloudSecurityControllerSetupGcpV1Request = {
|
|
24
|
+
connectionId: string;
|
|
25
|
+
body?: CloudSecurityControllerSetupGcpV1RequestBody | undefined;
|
|
26
|
+
};
|
|
9
27
|
|
|
10
28
|
export const CloudSecurityControllerSetupGcpV1Request$zodSchema: z.ZodType<
|
|
11
29
|
CloudSecurityControllerSetupGcpV1Request
|
|
12
30
|
> = z.object({
|
|
31
|
+
body: z.lazy(() => CloudSecurityControllerSetupGcpV1RequestBody$zodSchema)
|
|
32
|
+
.optional().describe("Project to run setup against"),
|
|
13
33
|
connectionId: z.string(),
|
|
14
34
|
});
|
|
@@ -63,10 +63,10 @@ export type CreatePolicyDto = {
|
|
|
63
63
|
|
|
64
64
|
export const CreatePolicyDto$zodSchema: z.ZodType<CreatePolicyDto> = z.object({
|
|
65
65
|
approverId: z.string().optional().describe(
|
|
66
|
-
"ID of the
|
|
66
|
+
"Member ID of the organization member who approved this policy",
|
|
67
67
|
),
|
|
68
68
|
assigneeId: z.string().optional().describe(
|
|
69
|
-
"ID of the
|
|
69
|
+
"Member ID of the organization member this policy is assigned to — must belong to this organization",
|
|
70
70
|
),
|
|
71
71
|
content: z.array(z.record(z.string(), z.any())).describe(
|
|
72
72
|
"Content of the policy as TipTap JSON (array of nodes)",
|
|
@@ -17,6 +17,6 @@ export const CreatePolicyVersionDto$zodSchema: z.ZodType<
|
|
|
17
17
|
"Optional changelog to associate with the new version",
|
|
18
18
|
),
|
|
19
19
|
sourceVersionId: z.string().optional().describe(
|
|
20
|
-
"
|
|
20
|
+
"Version ID to base the new version on. Defaults to the policy's newest version, skipping one awaiting approval — pass the live version's ID to start from what is published instead.",
|
|
21
21
|
),
|
|
22
22
|
});
|
|
@@ -4,16 +4,64 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
11
|
+
*/
|
|
12
|
+
export const EvidenceFormsControllerDeleteSubmissionV1FormType = {
|
|
13
|
+
BoardMeeting: "board-meeting",
|
|
14
|
+
ItLeadershipMeeting: "it-leadership-meeting",
|
|
15
|
+
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
16
|
+
Meeting: "meeting",
|
|
17
|
+
AccessRequest: "access-request",
|
|
18
|
+
WhistleblowerReport: "whistleblower-report",
|
|
19
|
+
PenetrationTest: "penetration-test",
|
|
20
|
+
RbacMatrix: "rbac-matrix",
|
|
21
|
+
InfrastructureInventory: "infrastructure-inventory",
|
|
22
|
+
EmployeePerformanceEvaluation: "employee-performance-evaluation",
|
|
23
|
+
NetworkDiagram: "network-diagram",
|
|
24
|
+
TabletopExercise: "tabletop-exercise",
|
|
25
|
+
AccountTypes: "account-types",
|
|
26
|
+
} as const;
|
|
27
|
+
/**
|
|
28
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
29
|
+
*/
|
|
30
|
+
export type EvidenceFormsControllerDeleteSubmissionV1FormType = ClosedEnum<
|
|
31
|
+
typeof EvidenceFormsControllerDeleteSubmissionV1FormType
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export const EvidenceFormsControllerDeleteSubmissionV1FormType$zodSchema = z
|
|
35
|
+
.enum([
|
|
36
|
+
"board-meeting",
|
|
37
|
+
"it-leadership-meeting",
|
|
38
|
+
"risk-committee-meeting",
|
|
39
|
+
"meeting",
|
|
40
|
+
"access-request",
|
|
41
|
+
"whistleblower-report",
|
|
42
|
+
"penetration-test",
|
|
43
|
+
"rbac-matrix",
|
|
44
|
+
"infrastructure-inventory",
|
|
45
|
+
"employee-performance-evaluation",
|
|
46
|
+
"network-diagram",
|
|
47
|
+
"tabletop-exercise",
|
|
48
|
+
"account-types",
|
|
49
|
+
]).describe(
|
|
50
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
51
|
+
);
|
|
7
52
|
|
|
8
53
|
export type EvidenceFormsControllerDeleteSubmissionV1Request = {
|
|
9
54
|
xOrganizationId?: string | undefined;
|
|
10
|
-
formType:
|
|
55
|
+
formType: EvidenceFormsControllerDeleteSubmissionV1FormType;
|
|
11
56
|
submissionId: string;
|
|
12
57
|
};
|
|
13
58
|
|
|
14
59
|
export const EvidenceFormsControllerDeleteSubmissionV1Request$zodSchema:
|
|
15
60
|
z.ZodType<EvidenceFormsControllerDeleteSubmissionV1Request> = z.object({
|
|
16
|
-
formType:
|
|
61
|
+
formType: EvidenceFormsControllerDeleteSubmissionV1FormType$zodSchema
|
|
62
|
+
.describe(
|
|
63
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
64
|
+
),
|
|
17
65
|
submissionId: z.string(),
|
|
18
66
|
xOrganizationId: z.string().describe(
|
|
19
67
|
"Organization ID (required for session auth, optional for API key auth)",
|
|
@@ -4,16 +4,62 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
11
|
+
*/
|
|
12
|
+
export const EvidenceFormsControllerExportCsvV1FormType = {
|
|
13
|
+
BoardMeeting: "board-meeting",
|
|
14
|
+
ItLeadershipMeeting: "it-leadership-meeting",
|
|
15
|
+
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
16
|
+
Meeting: "meeting",
|
|
17
|
+
AccessRequest: "access-request",
|
|
18
|
+
WhistleblowerReport: "whistleblower-report",
|
|
19
|
+
PenetrationTest: "penetration-test",
|
|
20
|
+
RbacMatrix: "rbac-matrix",
|
|
21
|
+
InfrastructureInventory: "infrastructure-inventory",
|
|
22
|
+
EmployeePerformanceEvaluation: "employee-performance-evaluation",
|
|
23
|
+
NetworkDiagram: "network-diagram",
|
|
24
|
+
TabletopExercise: "tabletop-exercise",
|
|
25
|
+
AccountTypes: "account-types",
|
|
26
|
+
} as const;
|
|
27
|
+
/**
|
|
28
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
29
|
+
*/
|
|
30
|
+
export type EvidenceFormsControllerExportCsvV1FormType = ClosedEnum<
|
|
31
|
+
typeof EvidenceFormsControllerExportCsvV1FormType
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export const EvidenceFormsControllerExportCsvV1FormType$zodSchema = z.enum([
|
|
35
|
+
"board-meeting",
|
|
36
|
+
"it-leadership-meeting",
|
|
37
|
+
"risk-committee-meeting",
|
|
38
|
+
"meeting",
|
|
39
|
+
"access-request",
|
|
40
|
+
"whistleblower-report",
|
|
41
|
+
"penetration-test",
|
|
42
|
+
"rbac-matrix",
|
|
43
|
+
"infrastructure-inventory",
|
|
44
|
+
"employee-performance-evaluation",
|
|
45
|
+
"network-diagram",
|
|
46
|
+
"tabletop-exercise",
|
|
47
|
+
"account-types",
|
|
48
|
+
]).describe(
|
|
49
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
50
|
+
);
|
|
7
51
|
|
|
8
52
|
export type EvidenceFormsControllerExportCsvV1Request = {
|
|
9
53
|
xOrganizationId?: string | undefined;
|
|
10
|
-
formType:
|
|
54
|
+
formType: EvidenceFormsControllerExportCsvV1FormType;
|
|
11
55
|
};
|
|
12
56
|
|
|
13
57
|
export const EvidenceFormsControllerExportCsvV1Request$zodSchema: z.ZodType<
|
|
14
58
|
EvidenceFormsControllerExportCsvV1Request
|
|
15
59
|
> = z.object({
|
|
16
|
-
formType:
|
|
60
|
+
formType: EvidenceFormsControllerExportCsvV1FormType$zodSchema.describe(
|
|
61
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
62
|
+
),
|
|
17
63
|
xOrganizationId: z.string().describe(
|
|
18
64
|
"Organization ID (required for session auth, optional for API key auth)",
|
|
19
65
|
).optional(),
|
|
@@ -6,6 +6,52 @@
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
11
|
+
*/
|
|
12
|
+
export const EvidenceFormsControllerGetFormWithSubmissionsV1PathParamFormType =
|
|
13
|
+
{
|
|
14
|
+
BoardMeeting: "board-meeting",
|
|
15
|
+
ItLeadershipMeeting: "it-leadership-meeting",
|
|
16
|
+
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
17
|
+
Meeting: "meeting",
|
|
18
|
+
AccessRequest: "access-request",
|
|
19
|
+
WhistleblowerReport: "whistleblower-report",
|
|
20
|
+
PenetrationTest: "penetration-test",
|
|
21
|
+
RbacMatrix: "rbac-matrix",
|
|
22
|
+
InfrastructureInventory: "infrastructure-inventory",
|
|
23
|
+
EmployeePerformanceEvaluation: "employee-performance-evaluation",
|
|
24
|
+
NetworkDiagram: "network-diagram",
|
|
25
|
+
TabletopExercise: "tabletop-exercise",
|
|
26
|
+
AccountTypes: "account-types",
|
|
27
|
+
} as const;
|
|
28
|
+
/**
|
|
29
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
30
|
+
*/
|
|
31
|
+
export type EvidenceFormsControllerGetFormWithSubmissionsV1PathParamFormType =
|
|
32
|
+
ClosedEnum<
|
|
33
|
+
typeof EvidenceFormsControllerGetFormWithSubmissionsV1PathParamFormType
|
|
34
|
+
>;
|
|
35
|
+
|
|
36
|
+
export const EvidenceFormsControllerGetFormWithSubmissionsV1PathParamFormType$zodSchema =
|
|
37
|
+
z.enum([
|
|
38
|
+
"board-meeting",
|
|
39
|
+
"it-leadership-meeting",
|
|
40
|
+
"risk-committee-meeting",
|
|
41
|
+
"meeting",
|
|
42
|
+
"access-request",
|
|
43
|
+
"whistleblower-report",
|
|
44
|
+
"penetration-test",
|
|
45
|
+
"rbac-matrix",
|
|
46
|
+
"infrastructure-inventory",
|
|
47
|
+
"employee-performance-evaluation",
|
|
48
|
+
"network-diagram",
|
|
49
|
+
"tabletop-exercise",
|
|
50
|
+
"account-types",
|
|
51
|
+
]).describe(
|
|
52
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
53
|
+
);
|
|
54
|
+
|
|
9
55
|
export const EvidenceFormsControllerGetFormWithSubmissionsV1Type = {
|
|
10
56
|
BoardMeeting: "board-meeting",
|
|
11
57
|
ItLeadershipMeeting: "it-leadership-meeting",
|
|
@@ -91,7 +137,7 @@ export const ColumnType$zodSchema = z.enum([
|
|
|
91
137
|
"select",
|
|
92
138
|
]);
|
|
93
139
|
|
|
94
|
-
export const
|
|
140
|
+
export const SubmissionFormType = {
|
|
95
141
|
BoardMeeting: "board-meeting",
|
|
96
142
|
ItLeadershipMeeting: "it-leadership-meeting",
|
|
97
143
|
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
@@ -106,25 +152,23 @@ export const EvidenceFormsControllerGetFormWithSubmissionsV1FormType = {
|
|
|
106
152
|
TabletopExercise: "tabletop-exercise",
|
|
107
153
|
AccountTypes: "account-types",
|
|
108
154
|
} as const;
|
|
109
|
-
export type
|
|
110
|
-
ClosedEnum<typeof EvidenceFormsControllerGetFormWithSubmissionsV1FormType>;
|
|
155
|
+
export type SubmissionFormType = ClosedEnum<typeof SubmissionFormType>;
|
|
111
156
|
|
|
112
|
-
export const
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
]);
|
|
157
|
+
export const SubmissionFormType$zodSchema = z.enum([
|
|
158
|
+
"board-meeting",
|
|
159
|
+
"it-leadership-meeting",
|
|
160
|
+
"risk-committee-meeting",
|
|
161
|
+
"meeting",
|
|
162
|
+
"access-request",
|
|
163
|
+
"whistleblower-report",
|
|
164
|
+
"penetration-test",
|
|
165
|
+
"rbac-matrix",
|
|
166
|
+
"infrastructure-inventory",
|
|
167
|
+
"employee-performance-evaluation",
|
|
168
|
+
"network-diagram",
|
|
169
|
+
"tabletop-exercise",
|
|
170
|
+
"account-types",
|
|
171
|
+
]);
|
|
128
172
|
|
|
129
173
|
/**
|
|
130
174
|
* Review status of the submission
|
|
@@ -150,7 +194,7 @@ export const EvidenceFormsControllerGetFormWithSubmissionsV1Status$zodSchema = z
|
|
|
150
194
|
|
|
151
195
|
export type EvidenceFormsControllerGetFormWithSubmissionsV1Request = {
|
|
152
196
|
xOrganizationId?: string | undefined;
|
|
153
|
-
formType:
|
|
197
|
+
formType: EvidenceFormsControllerGetFormWithSubmissionsV1PathParamFormType;
|
|
154
198
|
search?: string | undefined;
|
|
155
199
|
limit?: string | undefined;
|
|
156
200
|
offset?: string | undefined;
|
|
@@ -158,7 +202,11 @@ export type EvidenceFormsControllerGetFormWithSubmissionsV1Request = {
|
|
|
158
202
|
|
|
159
203
|
export const EvidenceFormsControllerGetFormWithSubmissionsV1Request$zodSchema:
|
|
160
204
|
z.ZodType<EvidenceFormsControllerGetFormWithSubmissionsV1Request> = z.object({
|
|
161
|
-
formType:
|
|
205
|
+
formType:
|
|
206
|
+
EvidenceFormsControllerGetFormWithSubmissionsV1PathParamFormType$zodSchema
|
|
207
|
+
.describe(
|
|
208
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
209
|
+
),
|
|
162
210
|
limit: z.string().describe("Page size, 1-200. Defaults to 50.").optional(),
|
|
163
211
|
offset: z.string().describe("Submissions to skip. Defaults to 0.")
|
|
164
212
|
.optional(),
|
|
@@ -295,7 +343,7 @@ export const EvidenceFormsControllerGetFormWithSubmissionsV1SubmittedBy$zodSchem
|
|
|
295
343
|
export type Submission = {
|
|
296
344
|
id: string;
|
|
297
345
|
organizationId: string;
|
|
298
|
-
formType:
|
|
346
|
+
formType: SubmissionFormType;
|
|
299
347
|
status: EvidenceFormsControllerGetFormWithSubmissionsV1Status;
|
|
300
348
|
submittedAt: string;
|
|
301
349
|
submittedById?: string | null | undefined;
|
|
@@ -316,7 +364,7 @@ export const Submission$zodSchema: z.ZodType<Submission> = z.object({
|
|
|
316
364
|
data: z.record(z.string(), z.any()).describe(
|
|
317
365
|
"Answers keyed by the form definition field keys. File fields carry a short-lived downloadUrl.",
|
|
318
366
|
),
|
|
319
|
-
formType:
|
|
367
|
+
formType: SubmissionFormType$zodSchema,
|
|
320
368
|
id: z.string(),
|
|
321
369
|
organizationId: z.string(),
|
|
322
370
|
reviewReason: z.string().nullable().optional(),
|
|
@@ -4,17 +4,63 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
11
|
+
*/
|
|
12
|
+
export const EvidenceFormsControllerGetSubmissionV1FormType = {
|
|
13
|
+
BoardMeeting: "board-meeting",
|
|
14
|
+
ItLeadershipMeeting: "it-leadership-meeting",
|
|
15
|
+
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
16
|
+
Meeting: "meeting",
|
|
17
|
+
AccessRequest: "access-request",
|
|
18
|
+
WhistleblowerReport: "whistleblower-report",
|
|
19
|
+
PenetrationTest: "penetration-test",
|
|
20
|
+
RbacMatrix: "rbac-matrix",
|
|
21
|
+
InfrastructureInventory: "infrastructure-inventory",
|
|
22
|
+
EmployeePerformanceEvaluation: "employee-performance-evaluation",
|
|
23
|
+
NetworkDiagram: "network-diagram",
|
|
24
|
+
TabletopExercise: "tabletop-exercise",
|
|
25
|
+
AccountTypes: "account-types",
|
|
26
|
+
} as const;
|
|
27
|
+
/**
|
|
28
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
29
|
+
*/
|
|
30
|
+
export type EvidenceFormsControllerGetSubmissionV1FormType = ClosedEnum<
|
|
31
|
+
typeof EvidenceFormsControllerGetSubmissionV1FormType
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export const EvidenceFormsControllerGetSubmissionV1FormType$zodSchema = z.enum([
|
|
35
|
+
"board-meeting",
|
|
36
|
+
"it-leadership-meeting",
|
|
37
|
+
"risk-committee-meeting",
|
|
38
|
+
"meeting",
|
|
39
|
+
"access-request",
|
|
40
|
+
"whistleblower-report",
|
|
41
|
+
"penetration-test",
|
|
42
|
+
"rbac-matrix",
|
|
43
|
+
"infrastructure-inventory",
|
|
44
|
+
"employee-performance-evaluation",
|
|
45
|
+
"network-diagram",
|
|
46
|
+
"tabletop-exercise",
|
|
47
|
+
"account-types",
|
|
48
|
+
]).describe(
|
|
49
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
50
|
+
);
|
|
7
51
|
|
|
8
52
|
export type EvidenceFormsControllerGetSubmissionV1Request = {
|
|
9
53
|
xOrganizationId?: string | undefined;
|
|
10
|
-
formType:
|
|
54
|
+
formType: EvidenceFormsControllerGetSubmissionV1FormType;
|
|
11
55
|
submissionId: string;
|
|
12
56
|
};
|
|
13
57
|
|
|
14
58
|
export const EvidenceFormsControllerGetSubmissionV1Request$zodSchema: z.ZodType<
|
|
15
59
|
EvidenceFormsControllerGetSubmissionV1Request
|
|
16
60
|
> = z.object({
|
|
17
|
-
formType:
|
|
61
|
+
formType: EvidenceFormsControllerGetSubmissionV1FormType$zodSchema.describe(
|
|
62
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
63
|
+
),
|
|
18
64
|
submissionId: z.string(),
|
|
19
65
|
xOrganizationId: z.string().describe(
|
|
20
66
|
"Organization ID (required for session auth, optional for API key auth)",
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
import * as z from "zod";
|
|
7
7
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
/**
|
|
10
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
11
|
+
*/
|
|
12
|
+
export const EvidenceFormsControllerListSubmissionsV1PathParamFormType = {
|
|
10
13
|
BoardMeeting: "board-meeting",
|
|
11
14
|
ItLeadershipMeeting: "it-leadership-meeting",
|
|
12
15
|
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
@@ -21,12 +24,14 @@ export const EvidenceFormsControllerListSubmissionsV1FormType = {
|
|
|
21
24
|
TabletopExercise: "tabletop-exercise",
|
|
22
25
|
AccountTypes: "account-types",
|
|
23
26
|
} as const;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
29
|
+
*/
|
|
30
|
+
export type EvidenceFormsControllerListSubmissionsV1PathParamFormType =
|
|
31
|
+
ClosedEnum<typeof EvidenceFormsControllerListSubmissionsV1PathParamFormType>;
|
|
27
32
|
|
|
28
|
-
export const
|
|
29
|
-
.enum([
|
|
33
|
+
export const EvidenceFormsControllerListSubmissionsV1PathParamFormType$zodSchema =
|
|
34
|
+
z.enum([
|
|
30
35
|
"board-meeting",
|
|
31
36
|
"it-leadership-meeting",
|
|
32
37
|
"risk-committee-meeting",
|
|
@@ -40,7 +45,42 @@ export const EvidenceFormsControllerListSubmissionsV1FormType$zodSchema = z
|
|
|
40
45
|
"network-diagram",
|
|
41
46
|
"tabletop-exercise",
|
|
42
47
|
"account-types",
|
|
43
|
-
])
|
|
48
|
+
]).describe(
|
|
49
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
export const DataFormType = {
|
|
53
|
+
BoardMeeting: "board-meeting",
|
|
54
|
+
ItLeadershipMeeting: "it-leadership-meeting",
|
|
55
|
+
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
56
|
+
Meeting: "meeting",
|
|
57
|
+
AccessRequest: "access-request",
|
|
58
|
+
WhistleblowerReport: "whistleblower-report",
|
|
59
|
+
PenetrationTest: "penetration-test",
|
|
60
|
+
RbacMatrix: "rbac-matrix",
|
|
61
|
+
InfrastructureInventory: "infrastructure-inventory",
|
|
62
|
+
EmployeePerformanceEvaluation: "employee-performance-evaluation",
|
|
63
|
+
NetworkDiagram: "network-diagram",
|
|
64
|
+
TabletopExercise: "tabletop-exercise",
|
|
65
|
+
AccountTypes: "account-types",
|
|
66
|
+
} as const;
|
|
67
|
+
export type DataFormType = ClosedEnum<typeof DataFormType>;
|
|
68
|
+
|
|
69
|
+
export const DataFormType$zodSchema = z.enum([
|
|
70
|
+
"board-meeting",
|
|
71
|
+
"it-leadership-meeting",
|
|
72
|
+
"risk-committee-meeting",
|
|
73
|
+
"meeting",
|
|
74
|
+
"access-request",
|
|
75
|
+
"whistleblower-report",
|
|
76
|
+
"penetration-test",
|
|
77
|
+
"rbac-matrix",
|
|
78
|
+
"infrastructure-inventory",
|
|
79
|
+
"employee-performance-evaluation",
|
|
80
|
+
"network-diagram",
|
|
81
|
+
"tabletop-exercise",
|
|
82
|
+
"account-types",
|
|
83
|
+
]);
|
|
44
84
|
|
|
45
85
|
/**
|
|
46
86
|
* Review status of the submission
|
|
@@ -65,7 +105,7 @@ export const EvidenceFormsControllerListSubmissionsV1Status$zodSchema = z.enum([
|
|
|
65
105
|
|
|
66
106
|
export type EvidenceFormsControllerListSubmissionsV1Request = {
|
|
67
107
|
xOrganizationId?: string | undefined;
|
|
68
|
-
formType:
|
|
108
|
+
formType: EvidenceFormsControllerListSubmissionsV1PathParamFormType;
|
|
69
109
|
search?: string | undefined;
|
|
70
110
|
limit?: string | undefined;
|
|
71
111
|
offset?: string | undefined;
|
|
@@ -73,7 +113,11 @@ export type EvidenceFormsControllerListSubmissionsV1Request = {
|
|
|
73
113
|
|
|
74
114
|
export const EvidenceFormsControllerListSubmissionsV1Request$zodSchema:
|
|
75
115
|
z.ZodType<EvidenceFormsControllerListSubmissionsV1Request> = z.object({
|
|
76
|
-
formType:
|
|
116
|
+
formType:
|
|
117
|
+
EvidenceFormsControllerListSubmissionsV1PathParamFormType$zodSchema
|
|
118
|
+
.describe(
|
|
119
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
120
|
+
),
|
|
77
121
|
limit: z.string().describe("Page size, 1-200. Defaults to 50.").optional(),
|
|
78
122
|
offset: z.string().describe("Submissions to skip. Defaults to 0.")
|
|
79
123
|
.optional(),
|
|
@@ -101,7 +145,7 @@ export const EvidenceFormsControllerListSubmissionsV1SubmittedBy$zodSchema:
|
|
|
101
145
|
export type EvidenceFormsControllerListSubmissionsV1Data = {
|
|
102
146
|
id: string;
|
|
103
147
|
organizationId: string;
|
|
104
|
-
formType:
|
|
148
|
+
formType: DataFormType;
|
|
105
149
|
status: EvidenceFormsControllerListSubmissionsV1Status;
|
|
106
150
|
submittedAt: string;
|
|
107
151
|
submittedById?: string | null | undefined;
|
|
@@ -124,7 +168,7 @@ export const EvidenceFormsControllerListSubmissionsV1Data$zodSchema: z.ZodType<
|
|
|
124
168
|
data: z.record(z.string(), z.any()).describe(
|
|
125
169
|
"Answers keyed by the form definition field keys. File fields carry a short-lived downloadUrl.",
|
|
126
170
|
),
|
|
127
|
-
formType:
|
|
171
|
+
formType: DataFormType$zodSchema,
|
|
128
172
|
id: z.string(),
|
|
129
173
|
organizationId: z.string(),
|
|
130
174
|
reviewReason: z.string().nullable().optional(),
|
|
@@ -4,16 +4,98 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
11
|
+
*/
|
|
12
|
+
export const EvidenceFormsControllerReviewSubmissionV1FormType = {
|
|
13
|
+
BoardMeeting: "board-meeting",
|
|
14
|
+
ItLeadershipMeeting: "it-leadership-meeting",
|
|
15
|
+
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
16
|
+
Meeting: "meeting",
|
|
17
|
+
AccessRequest: "access-request",
|
|
18
|
+
WhistleblowerReport: "whistleblower-report",
|
|
19
|
+
PenetrationTest: "penetration-test",
|
|
20
|
+
RbacMatrix: "rbac-matrix",
|
|
21
|
+
InfrastructureInventory: "infrastructure-inventory",
|
|
22
|
+
EmployeePerformanceEvaluation: "employee-performance-evaluation",
|
|
23
|
+
NetworkDiagram: "network-diagram",
|
|
24
|
+
TabletopExercise: "tabletop-exercise",
|
|
25
|
+
AccountTypes: "account-types",
|
|
26
|
+
} as const;
|
|
27
|
+
/**
|
|
28
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
29
|
+
*/
|
|
30
|
+
export type EvidenceFormsControllerReviewSubmissionV1FormType = ClosedEnum<
|
|
31
|
+
typeof EvidenceFormsControllerReviewSubmissionV1FormType
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export const EvidenceFormsControllerReviewSubmissionV1FormType$zodSchema = z
|
|
35
|
+
.enum([
|
|
36
|
+
"board-meeting",
|
|
37
|
+
"it-leadership-meeting",
|
|
38
|
+
"risk-committee-meeting",
|
|
39
|
+
"meeting",
|
|
40
|
+
"access-request",
|
|
41
|
+
"whistleblower-report",
|
|
42
|
+
"penetration-test",
|
|
43
|
+
"rbac-matrix",
|
|
44
|
+
"infrastructure-inventory",
|
|
45
|
+
"employee-performance-evaluation",
|
|
46
|
+
"network-diagram",
|
|
47
|
+
"tabletop-exercise",
|
|
48
|
+
"account-types",
|
|
49
|
+
]).describe(
|
|
50
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
51
|
+
);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Review outcome.
|
|
55
|
+
*/
|
|
56
|
+
export const Action = {
|
|
57
|
+
Approved: "approved",
|
|
58
|
+
Rejected: "rejected",
|
|
59
|
+
} as const;
|
|
60
|
+
/**
|
|
61
|
+
* Review outcome.
|
|
62
|
+
*/
|
|
63
|
+
export type Action = ClosedEnum<typeof Action>;
|
|
64
|
+
|
|
65
|
+
export const Action$zodSchema = z.enum([
|
|
66
|
+
"approved",
|
|
67
|
+
"rejected",
|
|
68
|
+
]).describe("Review outcome.");
|
|
69
|
+
|
|
70
|
+
export type EvidenceFormsControllerReviewSubmissionV1RequestBody = {
|
|
71
|
+
action: Action;
|
|
72
|
+
reason?: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
export const EvidenceFormsControllerReviewSubmissionV1RequestBody$zodSchema:
|
|
76
|
+
z.ZodType<EvidenceFormsControllerReviewSubmissionV1RequestBody> = z.object({
|
|
77
|
+
action: Action$zodSchema.describe("Review outcome."),
|
|
78
|
+
reason: z.string().optional().describe(
|
|
79
|
+
"Required when rejecting; optional when approving.",
|
|
80
|
+
),
|
|
81
|
+
});
|
|
7
82
|
|
|
8
83
|
export type EvidenceFormsControllerReviewSubmissionV1Request = {
|
|
9
84
|
xOrganizationId?: string | undefined;
|
|
10
|
-
formType:
|
|
85
|
+
formType: EvidenceFormsControllerReviewSubmissionV1FormType;
|
|
11
86
|
submissionId: string;
|
|
87
|
+
body: EvidenceFormsControllerReviewSubmissionV1RequestBody;
|
|
12
88
|
};
|
|
13
89
|
|
|
14
90
|
export const EvidenceFormsControllerReviewSubmissionV1Request$zodSchema:
|
|
15
91
|
z.ZodType<EvidenceFormsControllerReviewSubmissionV1Request> = z.object({
|
|
16
|
-
|
|
92
|
+
body: z.lazy(() =>
|
|
93
|
+
EvidenceFormsControllerReviewSubmissionV1RequestBody$zodSchema
|
|
94
|
+
),
|
|
95
|
+
formType: EvidenceFormsControllerReviewSubmissionV1FormType$zodSchema
|
|
96
|
+
.describe(
|
|
97
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
98
|
+
),
|
|
17
99
|
submissionId: z.string(),
|
|
18
100
|
xOrganizationId: z.string().describe(
|
|
19
101
|
"Organization ID (required for session auth, optional for API key auth)",
|
|
@@ -4,16 +4,66 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import * as z from "zod";
|
|
7
|
+
import { ClosedEnum } from "../types/enums.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
11
|
+
*/
|
|
12
|
+
export const EvidenceFormsControllerSubmitFormV1FormType = {
|
|
13
|
+
BoardMeeting: "board-meeting",
|
|
14
|
+
ItLeadershipMeeting: "it-leadership-meeting",
|
|
15
|
+
RiskCommitteeMeeting: "risk-committee-meeting",
|
|
16
|
+
Meeting: "meeting",
|
|
17
|
+
AccessRequest: "access-request",
|
|
18
|
+
WhistleblowerReport: "whistleblower-report",
|
|
19
|
+
PenetrationTest: "penetration-test",
|
|
20
|
+
RbacMatrix: "rbac-matrix",
|
|
21
|
+
InfrastructureInventory: "infrastructure-inventory",
|
|
22
|
+
EmployeePerformanceEvaluation: "employee-performance-evaluation",
|
|
23
|
+
NetworkDiagram: "network-diagram",
|
|
24
|
+
TabletopExercise: "tabletop-exercise",
|
|
25
|
+
AccountTypes: "account-types",
|
|
26
|
+
} as const;
|
|
27
|
+
/**
|
|
28
|
+
* Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.
|
|
29
|
+
*/
|
|
30
|
+
export type EvidenceFormsControllerSubmitFormV1FormType = ClosedEnum<
|
|
31
|
+
typeof EvidenceFormsControllerSubmitFormV1FormType
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
export const EvidenceFormsControllerSubmitFormV1FormType$zodSchema = z.enum([
|
|
35
|
+
"board-meeting",
|
|
36
|
+
"it-leadership-meeting",
|
|
37
|
+
"risk-committee-meeting",
|
|
38
|
+
"meeting",
|
|
39
|
+
"access-request",
|
|
40
|
+
"whistleblower-report",
|
|
41
|
+
"penetration-test",
|
|
42
|
+
"rbac-matrix",
|
|
43
|
+
"infrastructure-inventory",
|
|
44
|
+
"employee-performance-evaluation",
|
|
45
|
+
"network-diagram",
|
|
46
|
+
"tabletop-exercise",
|
|
47
|
+
"account-types",
|
|
48
|
+
]).describe(
|
|
49
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
50
|
+
);
|
|
7
51
|
|
|
8
52
|
export type EvidenceFormsControllerSubmitFormV1Request = {
|
|
9
53
|
xOrganizationId?: string | undefined;
|
|
10
|
-
formType:
|
|
54
|
+
formType: EvidenceFormsControllerSubmitFormV1FormType;
|
|
55
|
+
body: { [k: string]: any };
|
|
11
56
|
};
|
|
12
57
|
|
|
13
58
|
export const EvidenceFormsControllerSubmitFormV1Request$zodSchema: z.ZodType<
|
|
14
59
|
EvidenceFormsControllerSubmitFormV1Request
|
|
15
60
|
> = z.object({
|
|
16
|
-
|
|
61
|
+
body: z.record(z.string(), z.any()).describe(
|
|
62
|
+
"Answers keyed by the form definition's field `key`s. Call `GET /v1/evidence-forms/{formType}` first — its `form.fields` lists every key, type and whether it is required. `matrix` fields take an array of row objects keyed by column key; `file` fields take the `{fileName, fileKey, downloadUrl}` object returned by `POST /v1/evidence-forms/uploads`. Forms whose `submissionDateMode` is `auto` set `submissionDate` server-side.",
|
|
63
|
+
),
|
|
64
|
+
formType: EvidenceFormsControllerSubmitFormV1FormType$zodSchema.describe(
|
|
65
|
+
"Slug of the evidence form. Call `GET /v1/evidence-forms` to see every form with its title.",
|
|
66
|
+
),
|
|
17
67
|
xOrganizationId: z.string().describe(
|
|
18
68
|
"Organization ID (required for session auth, optional for API key auth)",
|
|
19
69
|
).optional(),
|