@sepurux/client 0.3.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 +55 -0
- package/dist/apis/AnalyticsApi.d.ts +56 -0
- package/dist/apis/AnalyticsApi.js +132 -0
- package/dist/apis/ApiKeysApi.d.ts +37 -0
- package/dist/apis/ApiKeysApi.js +88 -0
- package/dist/apis/AttemptsApi.d.ts +46 -0
- package/dist/apis/AttemptsApi.js +95 -0
- package/dist/apis/AuditEventsApi.d.ts +32 -0
- package/dist/apis/AuditEventsApi.js +70 -0
- package/dist/apis/AuthApi.d.ts +51 -0
- package/dist/apis/AuthApi.js +121 -0
- package/dist/apis/CampaignsApi.d.ts +68 -0
- package/dist/apis/CampaignsApi.js +167 -0
- package/dist/apis/CiApi.d.ts +40 -0
- package/dist/apis/CiApi.js +91 -0
- package/dist/apis/CounterfactualsApi.d.ts +42 -0
- package/dist/apis/CounterfactualsApi.js +95 -0
- package/dist/apis/DemoApi.d.ts +34 -0
- package/dist/apis/DemoApi.js +83 -0
- package/dist/apis/HealthApi.d.ts +29 -0
- package/dist/apis/HealthApi.js +57 -0
- package/dist/apis/MutationPacksApi.d.ts +78 -0
- package/dist/apis/MutationPacksApi.js +189 -0
- package/dist/apis/PolicyPacksApi.d.ts +104 -0
- package/dist/apis/PolicyPacksApi.js +264 -0
- package/dist/apis/ProjectsApi.d.ts +37 -0
- package/dist/apis/ProjectsApi.js +88 -0
- package/dist/apis/RunsApi.d.ts +110 -0
- package/dist/apis/RunsApi.js +276 -0
- package/dist/apis/TemplatesApi.d.ts +53 -0
- package/dist/apis/TemplatesApi.js +125 -0
- package/dist/apis/ToolsApi.d.ts +54 -0
- package/dist/apis/ToolsApi.js +130 -0
- package/dist/apis/TracesApi.d.ts +56 -0
- package/dist/apis/TracesApi.js +134 -0
- package/dist/apis/WebhooksApi.d.ts +78 -0
- package/dist/apis/WebhooksApi.js +192 -0
- package/dist/apis/index.d.ts +18 -0
- package/dist/apis/index.js +36 -0
- package/dist/esm/apis/AnalyticsApi.d.ts +56 -0
- package/dist/esm/apis/AnalyticsApi.js +128 -0
- package/dist/esm/apis/ApiKeysApi.d.ts +37 -0
- package/dist/esm/apis/ApiKeysApi.js +84 -0
- package/dist/esm/apis/AttemptsApi.d.ts +46 -0
- package/dist/esm/apis/AttemptsApi.js +91 -0
- package/dist/esm/apis/AuditEventsApi.d.ts +32 -0
- package/dist/esm/apis/AuditEventsApi.js +66 -0
- package/dist/esm/apis/AuthApi.d.ts +51 -0
- package/dist/esm/apis/AuthApi.js +117 -0
- package/dist/esm/apis/CampaignsApi.d.ts +68 -0
- package/dist/esm/apis/CampaignsApi.js +163 -0
- package/dist/esm/apis/CiApi.d.ts +40 -0
- package/dist/esm/apis/CiApi.js +87 -0
- package/dist/esm/apis/CounterfactualsApi.d.ts +42 -0
- package/dist/esm/apis/CounterfactualsApi.js +91 -0
- package/dist/esm/apis/DemoApi.d.ts +34 -0
- package/dist/esm/apis/DemoApi.js +79 -0
- package/dist/esm/apis/HealthApi.d.ts +29 -0
- package/dist/esm/apis/HealthApi.js +53 -0
- package/dist/esm/apis/MutationPacksApi.d.ts +78 -0
- package/dist/esm/apis/MutationPacksApi.js +185 -0
- package/dist/esm/apis/PolicyPacksApi.d.ts +104 -0
- package/dist/esm/apis/PolicyPacksApi.js +260 -0
- package/dist/esm/apis/ProjectsApi.d.ts +37 -0
- package/dist/esm/apis/ProjectsApi.js +84 -0
- package/dist/esm/apis/RunsApi.d.ts +110 -0
- package/dist/esm/apis/RunsApi.js +272 -0
- package/dist/esm/apis/TemplatesApi.d.ts +53 -0
- package/dist/esm/apis/TemplatesApi.js +121 -0
- package/dist/esm/apis/ToolsApi.d.ts +54 -0
- package/dist/esm/apis/ToolsApi.js +126 -0
- package/dist/esm/apis/TracesApi.d.ts +56 -0
- package/dist/esm/apis/TracesApi.js +130 -0
- package/dist/esm/apis/WebhooksApi.d.ts +78 -0
- package/dist/esm/apis/WebhooksApi.js +188 -0
- package/dist/esm/apis/index.d.ts +18 -0
- package/dist/esm/apis/index.js +20 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ApiKeyCreateRequest.d.ts +43 -0
- package/dist/esm/models/ApiKeyCreateRequest.js +44 -0
- package/dist/esm/models/ApiKeyCreateResponse.d.ts +91 -0
- package/dist/esm/models/ApiKeyCreateResponse.js +68 -0
- package/dist/esm/models/ApiKeyMetadata.d.ts +85 -0
- package/dist/esm/models/ApiKeyMetadata.js +64 -0
- package/dist/esm/models/ApplyTemplateRunResponse.d.ts +31 -0
- package/dist/esm/models/ApplyTemplateRunResponse.js +40 -0
- package/dist/esm/models/AuditEventListItem.d.ts +61 -0
- package/dist/esm/models/AuditEventListItem.js +58 -0
- package/dist/esm/models/AuthPermissionSet.d.ts +79 -0
- package/dist/esm/models/AuthPermissionSet.js +54 -0
- package/dist/esm/models/AuthSessionMetadata.d.ts +116 -0
- package/dist/esm/models/AuthSessionMetadata.js +89 -0
- package/dist/esm/models/AuthSessionResponse.d.ts +122 -0
- package/dist/esm/models/AuthSessionResponse.js +93 -0
- package/dist/esm/models/CIRunCreateRequest.d.ts +44 -0
- package/dist/esm/models/CIRunCreateRequest.js +49 -0
- package/dist/esm/models/CIRunCreateResponse.d.ts +31 -0
- package/dist/esm/models/CIRunCreateResponse.js +40 -0
- package/dist/esm/models/CIRunStatusResponse.d.ts +83 -0
- package/dist/esm/models/CIRunStatusResponse.js +77 -0
- package/dist/esm/models/CIRunThresholds.d.ts +43 -0
- package/dist/esm/models/CIRunThresholds.js +46 -0
- package/dist/esm/models/CampaignCreateRequest.d.ts +49 -0
- package/dist/esm/models/CampaignCreateRequest.js +50 -0
- package/dist/esm/models/CampaignMetadata.d.ts +67 -0
- package/dist/esm/models/CampaignMetadata.js +62 -0
- package/dist/esm/models/CampaignRunPackRequest.d.ts +31 -0
- package/dist/esm/models/CampaignRunPackRequest.js +40 -0
- package/dist/esm/models/CampaignRunPackResponse.d.ts +67 -0
- package/dist/esm/models/CampaignRunPackResponse.js +64 -0
- package/dist/esm/models/CounterfactualListItem.d.ts +61 -0
- package/dist/esm/models/CounterfactualListItem.js +61 -0
- package/dist/esm/models/CounterfactualMetadata.d.ts +73 -0
- package/dist/esm/models/CounterfactualMetadata.js +69 -0
- package/dist/esm/models/DemoInfoResponse.d.ts +76 -0
- package/dist/esm/models/DemoInfoResponse.js +64 -0
- package/dist/esm/models/DemoLimits.d.ts +49 -0
- package/dist/esm/models/DemoLimits.js +48 -0
- package/dist/esm/models/DemoSessionResponse.d.ts +74 -0
- package/dist/esm/models/DemoSessionResponse.js +69 -0
- package/dist/esm/models/EventIndexCount.d.ts +37 -0
- package/dist/esm/models/EventIndexCount.js +44 -0
- package/dist/esm/models/HTTPValidationError.d.ts +32 -0
- package/dist/esm/models/HTTPValidationError.js +39 -0
- package/dist/esm/models/HardeningTemplateCreateRequest.d.ts +53 -0
- package/dist/esm/models/HardeningTemplateCreateRequest.js +57 -0
- package/dist/esm/models/HardeningTemplateMetadata.d.ts +71 -0
- package/dist/esm/models/HardeningTemplateMetadata.js +69 -0
- package/dist/esm/models/InsightEvidenceMutation.d.ts +37 -0
- package/dist/esm/models/InsightEvidenceMutation.js +44 -0
- package/dist/esm/models/InsightEvidenceReason.d.ts +37 -0
- package/dist/esm/models/InsightEvidenceReason.js +44 -0
- package/dist/esm/models/InsightEvidenceTool.d.ts +37 -0
- package/dist/esm/models/InsightEvidenceTool.js +44 -0
- package/dist/esm/models/LethalMutationInsight.d.ts +63 -0
- package/dist/esm/models/LethalMutationInsight.js +62 -0
- package/dist/esm/models/LethalMutationTopReason.d.ts +37 -0
- package/dist/esm/models/LethalMutationTopReason.js +44 -0
- package/dist/esm/models/LethalMutationTopTool.d.ts +37 -0
- package/dist/esm/models/LethalMutationTopTool.js +44 -0
- package/dist/esm/models/LoginRequest.d.ts +37 -0
- package/dist/esm/models/LoginRequest.js +44 -0
- package/dist/esm/models/MutationCountPct.d.ts +43 -0
- package/dist/esm/models/MutationCountPct.js +48 -0
- package/dist/esm/models/MutationPackCoverageResponse.d.ts +49 -0
- package/dist/esm/models/MutationPackCoverageResponse.js +48 -0
- package/dist/esm/models/MutationPackCreateRequest.d.ts +43 -0
- package/dist/esm/models/MutationPackCreateRequest.js +46 -0
- package/dist/esm/models/MutationPackCreateResponse.d.ts +85 -0
- package/dist/esm/models/MutationPackCreateResponse.js +66 -0
- package/dist/esm/models/MutationPackMetadata.d.ts +73 -0
- package/dist/esm/models/MutationPackMetadata.js +62 -0
- package/dist/esm/models/MutationSummaryItem.d.ts +51 -0
- package/dist/esm/models/MutationSummaryItem.js +54 -0
- package/dist/esm/models/MutationSummaryResponse.d.ts +38 -0
- package/dist/esm/models/MutationSummaryResponse.js +45 -0
- package/dist/esm/models/MutationSummaryTopReason.d.ts +37 -0
- package/dist/esm/models/MutationSummaryTopReason.js +44 -0
- package/dist/esm/models/MutationSummaryTopTool.d.ts +37 -0
- package/dist/esm/models/MutationSummaryTopTool.js +44 -0
- package/dist/esm/models/PolicyEventListItem.d.ts +85 -0
- package/dist/esm/models/PolicyEventListItem.js +75 -0
- package/dist/esm/models/PolicyPackCreateRequest.d.ts +51 -0
- package/dist/esm/models/PolicyPackCreateRequest.js +53 -0
- package/dist/esm/models/PolicyPackMetadata.d.ts +73 -0
- package/dist/esm/models/PolicyPackMetadata.js +64 -0
- package/dist/esm/models/PolicyPackRollbackRequest.d.ts +37 -0
- package/dist/esm/models/PolicyPackRollbackRequest.js +42 -0
- package/dist/esm/models/PolicyPackUpdateRequest.d.ts +57 -0
- package/dist/esm/models/PolicyPackUpdateRequest.js +53 -0
- package/dist/esm/models/PolicyPackVersionMetadata.d.ts +67 -0
- package/dist/esm/models/PolicyPackVersionMetadata.js +60 -0
- package/dist/esm/models/ProjectCreateRequest.d.ts +31 -0
- package/dist/esm/models/ProjectCreateRequest.js +40 -0
- package/dist/esm/models/ProjectMetadata.d.ts +49 -0
- package/dist/esm/models/ProjectMetadata.js +52 -0
- package/dist/esm/models/ReasonCountPct.d.ts +43 -0
- package/dist/esm/models/ReasonCountPct.js +48 -0
- package/dist/esm/models/ReplayAttemptDetail.d.ts +91 -0
- package/dist/esm/models/ReplayAttemptDetail.js +77 -0
- package/dist/esm/models/ReplayAttemptListItem.d.ts +73 -0
- package/dist/esm/models/ReplayAttemptListItem.js +66 -0
- package/dist/esm/models/RunAttemptsSummary.d.ts +49 -0
- package/dist/esm/models/RunAttemptsSummary.js +52 -0
- package/dist/esm/models/RunCreateRequest.d.ts +49 -0
- package/dist/esm/models/RunCreateRequest.js +48 -0
- package/dist/esm/models/RunInsight.d.ts +62 -0
- package/dist/esm/models/RunInsight.js +61 -0
- package/dist/esm/models/RunInsightEvidence.d.ts +46 -0
- package/dist/esm/models/RunInsightEvidence.js +45 -0
- package/dist/esm/models/RunMetadata.d.ts +91 -0
- package/dist/esm/models/RunMetadata.js +71 -0
- package/dist/esm/models/RunStatsResponse.d.ts +105 -0
- package/dist/esm/models/RunStatsResponse.js +88 -0
- package/dist/esm/models/SecurityEventListItem.d.ts +94 -0
- package/dist/esm/models/SecurityEventListItem.js +83 -0
- package/dist/esm/models/SignupRequest.d.ts +64 -0
- package/dist/esm/models/SignupRequest.js +58 -0
- package/dist/esm/models/ToolCount.d.ts +37 -0
- package/dist/esm/models/ToolCount.js +44 -0
- package/dist/esm/models/ToolCountPct.d.ts +43 -0
- package/dist/esm/models/ToolCountPct.js +48 -0
- package/dist/esm/models/ToolFragilityItem.d.ts +63 -0
- package/dist/esm/models/ToolFragilityItem.js +62 -0
- package/dist/esm/models/ToolFragilityResponse.d.ts +50 -0
- package/dist/esm/models/ToolFragilityResponse.js +53 -0
- package/dist/esm/models/ToolFragilityTopMutation.d.ts +37 -0
- package/dist/esm/models/ToolFragilityTopMutation.js +44 -0
- package/dist/esm/models/ToolFragilityTopReason.d.ts +37 -0
- package/dist/esm/models/ToolFragilityTopReason.js +44 -0
- package/dist/esm/models/ToolRegistryCreateRequest.d.ts +37 -0
- package/dist/esm/models/ToolRegistryCreateRequest.js +42 -0
- package/dist/esm/models/ToolRegistryMetadata.d.ts +55 -0
- package/dist/esm/models/ToolRegistryMetadata.js +56 -0
- package/dist/esm/models/ToolRegistryZoneUpdateRequest.d.ts +31 -0
- package/dist/esm/models/ToolRegistryZoneUpdateRequest.js +40 -0
- package/dist/esm/models/ToolUsageStatsItem.d.ts +43 -0
- package/dist/esm/models/ToolUsageStatsItem.js +48 -0
- package/dist/esm/models/TraceMetadata.d.ts +89 -0
- package/dist/esm/models/TraceMetadata.js +69 -0
- package/dist/esm/models/ValidationError.d.ts +44 -0
- package/dist/esm/models/ValidationError.js +49 -0
- package/dist/esm/models/ValidationErrorLocInner.d.ts +25 -0
- package/dist/esm/models/ValidationErrorLocInner.js +28 -0
- package/dist/esm/models/WebhookCreateRequest.d.ts +43 -0
- package/dist/esm/models/WebhookCreateRequest.js +44 -0
- package/dist/esm/models/WebhookCreateResponse.d.ts +79 -0
- package/dist/esm/models/WebhookCreateResponse.js +68 -0
- package/dist/esm/models/WebhookMetadata.d.ts +73 -0
- package/dist/esm/models/WebhookMetadata.js +64 -0
- package/dist/esm/models/WebhookRotateSecretResponse.d.ts +37 -0
- package/dist/esm/models/WebhookRotateSecretResponse.js +44 -0
- package/dist/esm/models/WebhookUpdateRequest.d.ts +43 -0
- package/dist/esm/models/WebhookUpdateRequest.js +42 -0
- package/dist/esm/models/index.d.ts +78 -0
- package/dist/esm/models/index.js +80 -0
- package/dist/esm/runtime.d.ts +183 -0
- package/dist/esm/runtime.js +335 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ApiKeyCreateRequest.d.ts +43 -0
- package/dist/models/ApiKeyCreateRequest.js +50 -0
- package/dist/models/ApiKeyCreateResponse.d.ts +91 -0
- package/dist/models/ApiKeyCreateResponse.js +74 -0
- package/dist/models/ApiKeyMetadata.d.ts +85 -0
- package/dist/models/ApiKeyMetadata.js +70 -0
- package/dist/models/ApplyTemplateRunResponse.d.ts +31 -0
- package/dist/models/ApplyTemplateRunResponse.js +46 -0
- package/dist/models/AuditEventListItem.d.ts +61 -0
- package/dist/models/AuditEventListItem.js +64 -0
- package/dist/models/AuthPermissionSet.d.ts +79 -0
- package/dist/models/AuthPermissionSet.js +60 -0
- package/dist/models/AuthSessionMetadata.d.ts +116 -0
- package/dist/models/AuthSessionMetadata.js +96 -0
- package/dist/models/AuthSessionResponse.d.ts +122 -0
- package/dist/models/AuthSessionResponse.js +100 -0
- package/dist/models/CIRunCreateRequest.d.ts +44 -0
- package/dist/models/CIRunCreateRequest.js +55 -0
- package/dist/models/CIRunCreateResponse.d.ts +31 -0
- package/dist/models/CIRunCreateResponse.js +46 -0
- package/dist/models/CIRunStatusResponse.d.ts +83 -0
- package/dist/models/CIRunStatusResponse.js +84 -0
- package/dist/models/CIRunThresholds.d.ts +43 -0
- package/dist/models/CIRunThresholds.js +52 -0
- package/dist/models/CampaignCreateRequest.d.ts +49 -0
- package/dist/models/CampaignCreateRequest.js +56 -0
- package/dist/models/CampaignMetadata.d.ts +67 -0
- package/dist/models/CampaignMetadata.js +68 -0
- package/dist/models/CampaignRunPackRequest.d.ts +31 -0
- package/dist/models/CampaignRunPackRequest.js +46 -0
- package/dist/models/CampaignRunPackResponse.d.ts +67 -0
- package/dist/models/CampaignRunPackResponse.js +70 -0
- package/dist/models/CounterfactualListItem.d.ts +61 -0
- package/dist/models/CounterfactualListItem.js +67 -0
- package/dist/models/CounterfactualMetadata.d.ts +73 -0
- package/dist/models/CounterfactualMetadata.js +75 -0
- package/dist/models/DemoInfoResponse.d.ts +76 -0
- package/dist/models/DemoInfoResponse.js +71 -0
- package/dist/models/DemoLimits.d.ts +49 -0
- package/dist/models/DemoLimits.js +54 -0
- package/dist/models/DemoSessionResponse.d.ts +74 -0
- package/dist/models/DemoSessionResponse.js +75 -0
- package/dist/models/EventIndexCount.d.ts +37 -0
- package/dist/models/EventIndexCount.js +50 -0
- package/dist/models/HTTPValidationError.d.ts +32 -0
- package/dist/models/HTTPValidationError.js +45 -0
- package/dist/models/HardeningTemplateCreateRequest.d.ts +53 -0
- package/dist/models/HardeningTemplateCreateRequest.js +64 -0
- package/dist/models/HardeningTemplateMetadata.d.ts +71 -0
- package/dist/models/HardeningTemplateMetadata.js +76 -0
- package/dist/models/InsightEvidenceMutation.d.ts +37 -0
- package/dist/models/InsightEvidenceMutation.js +50 -0
- package/dist/models/InsightEvidenceReason.d.ts +37 -0
- package/dist/models/InsightEvidenceReason.js +50 -0
- package/dist/models/InsightEvidenceTool.d.ts +37 -0
- package/dist/models/InsightEvidenceTool.js +50 -0
- package/dist/models/LethalMutationInsight.d.ts +63 -0
- package/dist/models/LethalMutationInsight.js +68 -0
- package/dist/models/LethalMutationTopReason.d.ts +37 -0
- package/dist/models/LethalMutationTopReason.js +50 -0
- package/dist/models/LethalMutationTopTool.d.ts +37 -0
- package/dist/models/LethalMutationTopTool.js +50 -0
- package/dist/models/LoginRequest.d.ts +37 -0
- package/dist/models/LoginRequest.js +50 -0
- package/dist/models/MutationCountPct.d.ts +43 -0
- package/dist/models/MutationCountPct.js +54 -0
- package/dist/models/MutationPackCoverageResponse.d.ts +49 -0
- package/dist/models/MutationPackCoverageResponse.js +54 -0
- package/dist/models/MutationPackCreateRequest.d.ts +43 -0
- package/dist/models/MutationPackCreateRequest.js +52 -0
- package/dist/models/MutationPackCreateResponse.d.ts +85 -0
- package/dist/models/MutationPackCreateResponse.js +72 -0
- package/dist/models/MutationPackMetadata.d.ts +73 -0
- package/dist/models/MutationPackMetadata.js +68 -0
- package/dist/models/MutationSummaryItem.d.ts +51 -0
- package/dist/models/MutationSummaryItem.js +60 -0
- package/dist/models/MutationSummaryResponse.d.ts +38 -0
- package/dist/models/MutationSummaryResponse.js +51 -0
- package/dist/models/MutationSummaryTopReason.d.ts +37 -0
- package/dist/models/MutationSummaryTopReason.js +50 -0
- package/dist/models/MutationSummaryTopTool.d.ts +37 -0
- package/dist/models/MutationSummaryTopTool.js +50 -0
- package/dist/models/PolicyEventListItem.d.ts +85 -0
- package/dist/models/PolicyEventListItem.js +81 -0
- package/dist/models/PolicyPackCreateRequest.d.ts +51 -0
- package/dist/models/PolicyPackCreateRequest.js +60 -0
- package/dist/models/PolicyPackMetadata.d.ts +73 -0
- package/dist/models/PolicyPackMetadata.js +70 -0
- package/dist/models/PolicyPackRollbackRequest.d.ts +37 -0
- package/dist/models/PolicyPackRollbackRequest.js +48 -0
- package/dist/models/PolicyPackUpdateRequest.d.ts +57 -0
- package/dist/models/PolicyPackUpdateRequest.js +60 -0
- package/dist/models/PolicyPackVersionMetadata.d.ts +67 -0
- package/dist/models/PolicyPackVersionMetadata.js +66 -0
- package/dist/models/ProjectCreateRequest.d.ts +31 -0
- package/dist/models/ProjectCreateRequest.js +46 -0
- package/dist/models/ProjectMetadata.d.ts +49 -0
- package/dist/models/ProjectMetadata.js +58 -0
- package/dist/models/ReasonCountPct.d.ts +43 -0
- package/dist/models/ReasonCountPct.js +54 -0
- package/dist/models/ReplayAttemptDetail.d.ts +91 -0
- package/dist/models/ReplayAttemptDetail.js +83 -0
- package/dist/models/ReplayAttemptListItem.d.ts +73 -0
- package/dist/models/ReplayAttemptListItem.js +72 -0
- package/dist/models/RunAttemptsSummary.d.ts +49 -0
- package/dist/models/RunAttemptsSummary.js +58 -0
- package/dist/models/RunCreateRequest.d.ts +49 -0
- package/dist/models/RunCreateRequest.js +54 -0
- package/dist/models/RunInsight.d.ts +62 -0
- package/dist/models/RunInsight.js +67 -0
- package/dist/models/RunInsightEvidence.d.ts +46 -0
- package/dist/models/RunInsightEvidence.js +51 -0
- package/dist/models/RunMetadata.d.ts +91 -0
- package/dist/models/RunMetadata.js +77 -0
- package/dist/models/RunStatsResponse.d.ts +105 -0
- package/dist/models/RunStatsResponse.js +94 -0
- package/dist/models/SecurityEventListItem.d.ts +94 -0
- package/dist/models/SecurityEventListItem.js +90 -0
- package/dist/models/SignupRequest.d.ts +64 -0
- package/dist/models/SignupRequest.js +65 -0
- package/dist/models/ToolCount.d.ts +37 -0
- package/dist/models/ToolCount.js +50 -0
- package/dist/models/ToolCountPct.d.ts +43 -0
- package/dist/models/ToolCountPct.js +54 -0
- package/dist/models/ToolFragilityItem.d.ts +63 -0
- package/dist/models/ToolFragilityItem.js +68 -0
- package/dist/models/ToolFragilityResponse.d.ts +50 -0
- package/dist/models/ToolFragilityResponse.js +59 -0
- package/dist/models/ToolFragilityTopMutation.d.ts +37 -0
- package/dist/models/ToolFragilityTopMutation.js +50 -0
- package/dist/models/ToolFragilityTopReason.d.ts +37 -0
- package/dist/models/ToolFragilityTopReason.js +50 -0
- package/dist/models/ToolRegistryCreateRequest.d.ts +37 -0
- package/dist/models/ToolRegistryCreateRequest.js +48 -0
- package/dist/models/ToolRegistryMetadata.d.ts +55 -0
- package/dist/models/ToolRegistryMetadata.js +62 -0
- package/dist/models/ToolRegistryZoneUpdateRequest.d.ts +31 -0
- package/dist/models/ToolRegistryZoneUpdateRequest.js +46 -0
- package/dist/models/ToolUsageStatsItem.d.ts +43 -0
- package/dist/models/ToolUsageStatsItem.js +54 -0
- package/dist/models/TraceMetadata.d.ts +89 -0
- package/dist/models/TraceMetadata.js +75 -0
- package/dist/models/ValidationError.d.ts +44 -0
- package/dist/models/ValidationError.js +55 -0
- package/dist/models/ValidationErrorLocInner.d.ts +25 -0
- package/dist/models/ValidationErrorLocInner.js +34 -0
- package/dist/models/WebhookCreateRequest.d.ts +43 -0
- package/dist/models/WebhookCreateRequest.js +50 -0
- package/dist/models/WebhookCreateResponse.d.ts +79 -0
- package/dist/models/WebhookCreateResponse.js +74 -0
- package/dist/models/WebhookMetadata.d.ts +73 -0
- package/dist/models/WebhookMetadata.js +70 -0
- package/dist/models/WebhookRotateSecretResponse.d.ts +37 -0
- package/dist/models/WebhookRotateSecretResponse.js +50 -0
- package/dist/models/WebhookUpdateRequest.d.ts +43 -0
- package/dist/models/WebhookUpdateRequest.js +48 -0
- package/dist/models/index.d.ts +78 -0
- package/dist/models/index.js +96 -0
- package/dist/runtime.d.ts +183 -0
- package/dist/runtime.js +352 -0
- package/package.json +29 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sepurux API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RunAttemptsSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface RunAttemptsSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof RunAttemptsSummary
|
|
22
|
+
*/
|
|
23
|
+
total: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof RunAttemptsSummary
|
|
28
|
+
*/
|
|
29
|
+
passed: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof RunAttemptsSummary
|
|
34
|
+
*/
|
|
35
|
+
failed: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof RunAttemptsSummary
|
|
40
|
+
*/
|
|
41
|
+
pass_rate: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the RunAttemptsSummary interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfRunAttemptsSummary(value: object): value is RunAttemptsSummary;
|
|
47
|
+
export declare function RunAttemptsSummaryFromJSON(json: any): RunAttemptsSummary;
|
|
48
|
+
export declare function RunAttemptsSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunAttemptsSummary;
|
|
49
|
+
export declare function RunAttemptsSummaryToJSON(value?: RunAttemptsSummary | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sepurux API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRunAttemptsSummary = instanceOfRunAttemptsSummary;
|
|
17
|
+
exports.RunAttemptsSummaryFromJSON = RunAttemptsSummaryFromJSON;
|
|
18
|
+
exports.RunAttemptsSummaryFromJSONTyped = RunAttemptsSummaryFromJSONTyped;
|
|
19
|
+
exports.RunAttemptsSummaryToJSON = RunAttemptsSummaryToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the RunAttemptsSummary interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfRunAttemptsSummary(value) {
|
|
24
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('passed' in value) || value['passed'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('failed' in value) || value['failed'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('pass_rate' in value) || value['pass_rate'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function RunAttemptsSummaryFromJSON(json) {
|
|
35
|
+
return RunAttemptsSummaryFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function RunAttemptsSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'total': json['total'],
|
|
43
|
+
'passed': json['passed'],
|
|
44
|
+
'failed': json['failed'],
|
|
45
|
+
'pass_rate': json['pass_rate'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function RunAttemptsSummaryToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'total': value['total'],
|
|
54
|
+
'passed': value['passed'],
|
|
55
|
+
'failed': value['failed'],
|
|
56
|
+
'pass_rate': value['pass_rate'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sepurux API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RunCreateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RunCreateRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RunCreateRequest
|
|
22
|
+
*/
|
|
23
|
+
trace_id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RunCreateRequest
|
|
28
|
+
*/
|
|
29
|
+
campaign_id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RunCreateRequest
|
|
34
|
+
*/
|
|
35
|
+
mutation_pack_id?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RunCreateRequest
|
|
40
|
+
*/
|
|
41
|
+
policy_pack_id?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the RunCreateRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfRunCreateRequest(value: object): value is RunCreateRequest;
|
|
47
|
+
export declare function RunCreateRequestFromJSON(json: any): RunCreateRequest;
|
|
48
|
+
export declare function RunCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunCreateRequest;
|
|
49
|
+
export declare function RunCreateRequestToJSON(value?: RunCreateRequest | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sepurux API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRunCreateRequest = instanceOfRunCreateRequest;
|
|
17
|
+
exports.RunCreateRequestFromJSON = RunCreateRequestFromJSON;
|
|
18
|
+
exports.RunCreateRequestFromJSONTyped = RunCreateRequestFromJSONTyped;
|
|
19
|
+
exports.RunCreateRequestToJSON = RunCreateRequestToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the RunCreateRequest interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfRunCreateRequest(value) {
|
|
24
|
+
if (!('trace_id' in value) || value['trace_id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('campaign_id' in value) || value['campaign_id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function RunCreateRequestFromJSON(json) {
|
|
31
|
+
return RunCreateRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function RunCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'trace_id': json['trace_id'],
|
|
39
|
+
'campaign_id': json['campaign_id'],
|
|
40
|
+
'mutation_pack_id': json['mutation_pack_id'] == null ? undefined : json['mutation_pack_id'],
|
|
41
|
+
'policy_pack_id': json['policy_pack_id'] == null ? undefined : json['policy_pack_id'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function RunCreateRequestToJSON(value) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'trace_id': value['trace_id'],
|
|
50
|
+
'campaign_id': value['campaign_id'],
|
|
51
|
+
'mutation_pack_id': value['mutation_pack_id'],
|
|
52
|
+
'policy_pack_id': value['policy_pack_id'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sepurux API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { RunInsightEvidence } from './RunInsightEvidence';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RunInsight
|
|
17
|
+
*/
|
|
18
|
+
export interface RunInsight {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RunInsight
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RunInsight
|
|
29
|
+
*/
|
|
30
|
+
title: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof RunInsight
|
|
35
|
+
*/
|
|
36
|
+
recommendation: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof RunInsight
|
|
41
|
+
*/
|
|
42
|
+
why: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof RunInsight
|
|
47
|
+
*/
|
|
48
|
+
confidence: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {RunInsightEvidence}
|
|
52
|
+
* @memberof RunInsight
|
|
53
|
+
*/
|
|
54
|
+
evidence: RunInsightEvidence;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the RunInsight interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfRunInsight(value: object): value is RunInsight;
|
|
60
|
+
export declare function RunInsightFromJSON(json: any): RunInsight;
|
|
61
|
+
export declare function RunInsightFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunInsight;
|
|
62
|
+
export declare function RunInsightToJSON(value?: RunInsight | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sepurux API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRunInsight = instanceOfRunInsight;
|
|
17
|
+
exports.RunInsightFromJSON = RunInsightFromJSON;
|
|
18
|
+
exports.RunInsightFromJSONTyped = RunInsightFromJSONTyped;
|
|
19
|
+
exports.RunInsightToJSON = RunInsightToJSON;
|
|
20
|
+
const RunInsightEvidence_1 = require("./RunInsightEvidence");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RunInsight interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRunInsight(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('recommendation' in value) || value['recommendation'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('why' in value) || value['why'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('confidence' in value) || value['confidence'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('evidence' in value) || value['evidence'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function RunInsightFromJSON(json) {
|
|
40
|
+
return RunInsightFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function RunInsightFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'title': json['title'],
|
|
49
|
+
'recommendation': json['recommendation'],
|
|
50
|
+
'why': json['why'],
|
|
51
|
+
'confidence': json['confidence'],
|
|
52
|
+
'evidence': (0, RunInsightEvidence_1.RunInsightEvidenceFromJSON)(json['evidence']),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function RunInsightToJSON(value) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'id': value['id'],
|
|
61
|
+
'title': value['title'],
|
|
62
|
+
'recommendation': value['recommendation'],
|
|
63
|
+
'why': value['why'],
|
|
64
|
+
'confidence': value['confidence'],
|
|
65
|
+
'evidence': (0, RunInsightEvidence_1.RunInsightEvidenceToJSON)(value['evidence']),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sepurux API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { InsightEvidenceReason } from './InsightEvidenceReason';
|
|
13
|
+
import type { InsightEvidenceMutation } from './InsightEvidenceMutation';
|
|
14
|
+
import type { InsightEvidenceTool } from './InsightEvidenceTool';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface RunInsightEvidence
|
|
19
|
+
*/
|
|
20
|
+
export interface RunInsightEvidence {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<InsightEvidenceTool>}
|
|
24
|
+
* @memberof RunInsightEvidence
|
|
25
|
+
*/
|
|
26
|
+
top_tools?: Array<InsightEvidenceTool>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<InsightEvidenceMutation>}
|
|
30
|
+
* @memberof RunInsightEvidence
|
|
31
|
+
*/
|
|
32
|
+
top_mutations?: Array<InsightEvidenceMutation>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<InsightEvidenceReason>}
|
|
36
|
+
* @memberof RunInsightEvidence
|
|
37
|
+
*/
|
|
38
|
+
top_reasons?: Array<InsightEvidenceReason>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the RunInsightEvidence interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfRunInsightEvidence(value: object): value is RunInsightEvidence;
|
|
44
|
+
export declare function RunInsightEvidenceFromJSON(json: any): RunInsightEvidence;
|
|
45
|
+
export declare function RunInsightEvidenceFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunInsightEvidence;
|
|
46
|
+
export declare function RunInsightEvidenceToJSON(value?: RunInsightEvidence | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sepurux API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRunInsightEvidence = instanceOfRunInsightEvidence;
|
|
17
|
+
exports.RunInsightEvidenceFromJSON = RunInsightEvidenceFromJSON;
|
|
18
|
+
exports.RunInsightEvidenceFromJSONTyped = RunInsightEvidenceFromJSONTyped;
|
|
19
|
+
exports.RunInsightEvidenceToJSON = RunInsightEvidenceToJSON;
|
|
20
|
+
const InsightEvidenceReason_1 = require("./InsightEvidenceReason");
|
|
21
|
+
const InsightEvidenceMutation_1 = require("./InsightEvidenceMutation");
|
|
22
|
+
const InsightEvidenceTool_1 = require("./InsightEvidenceTool");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the RunInsightEvidence interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfRunInsightEvidence(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function RunInsightEvidenceFromJSON(json) {
|
|
30
|
+
return RunInsightEvidenceFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function RunInsightEvidenceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'top_tools': json['top_tools'] == null ? undefined : (json['top_tools'].map(InsightEvidenceTool_1.InsightEvidenceToolFromJSON)),
|
|
38
|
+
'top_mutations': json['top_mutations'] == null ? undefined : (json['top_mutations'].map(InsightEvidenceMutation_1.InsightEvidenceMutationFromJSON)),
|
|
39
|
+
'top_reasons': json['top_reasons'] == null ? undefined : (json['top_reasons'].map(InsightEvidenceReason_1.InsightEvidenceReasonFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function RunInsightEvidenceToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'top_tools': value['top_tools'] == null ? undefined : (value['top_tools'].map(InsightEvidenceTool_1.InsightEvidenceToolToJSON)),
|
|
48
|
+
'top_mutations': value['top_mutations'] == null ? undefined : (value['top_mutations'].map(InsightEvidenceMutation_1.InsightEvidenceMutationToJSON)),
|
|
49
|
+
'top_reasons': value['top_reasons'] == null ? undefined : (value['top_reasons'].map(InsightEvidenceReason_1.InsightEvidenceReasonToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sepurux API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RunMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface RunMetadata {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RunMetadata
|
|
22
|
+
*/
|
|
23
|
+
run_id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RunMetadata
|
|
28
|
+
*/
|
|
29
|
+
trace_id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RunMetadata
|
|
34
|
+
*/
|
|
35
|
+
campaign_id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RunMetadata
|
|
40
|
+
*/
|
|
41
|
+
mutation_pack_id?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RunMetadata
|
|
46
|
+
*/
|
|
47
|
+
policy_pack_id?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RunMetadata
|
|
52
|
+
*/
|
|
53
|
+
effective_policy_pack_version_id?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof RunMetadata
|
|
58
|
+
*/
|
|
59
|
+
status: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {}
|
|
63
|
+
* @memberof RunMetadata
|
|
64
|
+
*/
|
|
65
|
+
summary: null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof RunMetadata
|
|
70
|
+
*/
|
|
71
|
+
pass_rate?: number | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof RunMetadata
|
|
76
|
+
*/
|
|
77
|
+
unsafe_count?: number | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof RunMetadata
|
|
82
|
+
*/
|
|
83
|
+
created_at: Date;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the RunMetadata interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfRunMetadata(value: object): value is RunMetadata;
|
|
89
|
+
export declare function RunMetadataFromJSON(json: any): RunMetadata;
|
|
90
|
+
export declare function RunMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunMetadata;
|
|
91
|
+
export declare function RunMetadataToJSON(value?: RunMetadata | null): any;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Sepurux API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRunMetadata = instanceOfRunMetadata;
|
|
17
|
+
exports.RunMetadataFromJSON = RunMetadataFromJSON;
|
|
18
|
+
exports.RunMetadataFromJSONTyped = RunMetadataFromJSONTyped;
|
|
19
|
+
exports.RunMetadataToJSON = RunMetadataToJSON;
|
|
20
|
+
const runtime_1 = require("../runtime");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RunMetadata interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRunMetadata(value) {
|
|
25
|
+
if (!('run_id' in value) || value['run_id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('trace_id' in value) || value['trace_id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('campaign_id' in value) || value['campaign_id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('created_at' in value) || value['created_at'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function RunMetadataFromJSON(json) {
|
|
40
|
+
return RunMetadataFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function RunMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'run_id': json['run_id'],
|
|
48
|
+
'trace_id': json['trace_id'],
|
|
49
|
+
'campaign_id': json['campaign_id'],
|
|
50
|
+
'mutation_pack_id': json['mutation_pack_id'] == null ? undefined : json['mutation_pack_id'],
|
|
51
|
+
'policy_pack_id': json['policy_pack_id'] == null ? undefined : json['policy_pack_id'],
|
|
52
|
+
'effective_policy_pack_version_id': json['effective_policy_pack_version_id'] == null ? undefined : json['effective_policy_pack_version_id'],
|
|
53
|
+
'status': json['status'],
|
|
54
|
+
'summary': (0, runtime_1.FromJSON)(json['summary']),
|
|
55
|
+
'pass_rate': json['pass_rate'] == null ? undefined : json['pass_rate'],
|
|
56
|
+
'unsafe_count': json['unsafe_count'] == null ? undefined : json['unsafe_count'],
|
|
57
|
+
'created_at': (new Date(json['created_at'])),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function RunMetadataToJSON(value) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'run_id': value['run_id'],
|
|
66
|
+
'trace_id': value['trace_id'],
|
|
67
|
+
'campaign_id': value['campaign_id'],
|
|
68
|
+
'mutation_pack_id': value['mutation_pack_id'],
|
|
69
|
+
'policy_pack_id': value['policy_pack_id'],
|
|
70
|
+
'effective_policy_pack_version_id': value['effective_policy_pack_version_id'],
|
|
71
|
+
'status': value['status'],
|
|
72
|
+
'summary': (0, runtime_1.ToJSON)(value['summary']),
|
|
73
|
+
'pass_rate': value['pass_rate'],
|
|
74
|
+
'unsafe_count': value['unsafe_count'],
|
|
75
|
+
'created_at': ((value['created_at']).toISOString()),
|
|
76
|
+
};
|
|
77
|
+
}
|