@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,94 @@
|
|
|
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 SecurityEventListItem
|
|
16
|
+
*/
|
|
17
|
+
export interface SecurityEventListItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SecurityEventListItem
|
|
22
|
+
*/
|
|
23
|
+
security_event_id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SecurityEventListItem
|
|
28
|
+
*/
|
|
29
|
+
run_id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SecurityEventListItem
|
|
34
|
+
*/
|
|
35
|
+
attempt_id: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SecurityEventListItem
|
|
40
|
+
*/
|
|
41
|
+
event_index: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SecurityEventListItem
|
|
46
|
+
*/
|
|
47
|
+
tool: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SecurityEventListItem
|
|
52
|
+
*/
|
|
53
|
+
zone: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SecurityEventListItem
|
|
58
|
+
*/
|
|
59
|
+
risk_score: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SecurityEventListItem
|
|
64
|
+
*/
|
|
65
|
+
action: SecurityEventListItemActionEnum;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {}
|
|
69
|
+
* @memberof SecurityEventListItem
|
|
70
|
+
*/
|
|
71
|
+
matches?: null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Date}
|
|
75
|
+
* @memberof SecurityEventListItem
|
|
76
|
+
*/
|
|
77
|
+
created_at: Date;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const SecurityEventListItemActionEnum: {
|
|
83
|
+
readonly allow: "allow";
|
|
84
|
+
readonly sanitize: "sanitize";
|
|
85
|
+
readonly block: "block";
|
|
86
|
+
};
|
|
87
|
+
export type SecurityEventListItemActionEnum = typeof SecurityEventListItemActionEnum[keyof typeof SecurityEventListItemActionEnum];
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the SecurityEventListItem interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfSecurityEventListItem(value: object): value is SecurityEventListItem;
|
|
92
|
+
export declare function SecurityEventListItemFromJSON(json: any): SecurityEventListItem;
|
|
93
|
+
export declare function SecurityEventListItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityEventListItem;
|
|
94
|
+
export declare function SecurityEventListItemToJSON(value?: SecurityEventListItem | null): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sepurux API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { FromJSON, ToJSON } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SecurityEventListItemActionEnum = {
|
|
19
|
+
allow: 'allow',
|
|
20
|
+
sanitize: 'sanitize',
|
|
21
|
+
block: 'block'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the SecurityEventListItem interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfSecurityEventListItem(value) {
|
|
27
|
+
if (!('security_event_id' in value) || value['security_event_id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('run_id' in value) || value['run_id'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('attempt_id' in value) || value['attempt_id'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('event_index' in value) || value['event_index'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('tool' in value) || value['tool'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('zone' in value) || value['zone'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('risk_score' in value) || value['risk_score'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('created_at' in value) || value['created_at'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
export function SecurityEventListItemFromJSON(json) {
|
|
48
|
+
return SecurityEventListItemFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function SecurityEventListItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'security_event_id': json['security_event_id'],
|
|
56
|
+
'run_id': json['run_id'],
|
|
57
|
+
'attempt_id': json['attempt_id'],
|
|
58
|
+
'event_index': json['event_index'],
|
|
59
|
+
'tool': json['tool'],
|
|
60
|
+
'zone': json['zone'],
|
|
61
|
+
'risk_score': json['risk_score'],
|
|
62
|
+
'action': json['action'],
|
|
63
|
+
'matches': json['matches'] == null ? undefined : FromJSON(json['matches']),
|
|
64
|
+
'created_at': (new Date(json['created_at'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
export function SecurityEventListItemToJSON(value) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'security_event_id': value['security_event_id'],
|
|
73
|
+
'run_id': value['run_id'],
|
|
74
|
+
'attempt_id': value['attempt_id'],
|
|
75
|
+
'event_index': value['event_index'],
|
|
76
|
+
'tool': value['tool'],
|
|
77
|
+
'zone': value['zone'],
|
|
78
|
+
'risk_score': value['risk_score'],
|
|
79
|
+
'action': value['action'],
|
|
80
|
+
'matches': ToJSON(value['matches']),
|
|
81
|
+
'created_at': ((value['created_at']).toISOString()),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 SignupRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SignupRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignupRequest
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignupRequest
|
|
28
|
+
*/
|
|
29
|
+
password: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SignupRequest
|
|
34
|
+
*/
|
|
35
|
+
name?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SignupRequest
|
|
40
|
+
*/
|
|
41
|
+
project_name?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SignupRequest
|
|
46
|
+
*/
|
|
47
|
+
pricing_tier?: SignupRequestPricingTierEnum | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const SignupRequestPricingTierEnum: {
|
|
53
|
+
readonly starter: "starter";
|
|
54
|
+
readonly team: "team";
|
|
55
|
+
readonly enterprise: "enterprise";
|
|
56
|
+
};
|
|
57
|
+
export type SignupRequestPricingTierEnum = typeof SignupRequestPricingTierEnum[keyof typeof SignupRequestPricingTierEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the SignupRequest interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfSignupRequest(value: object): value is SignupRequest;
|
|
62
|
+
export declare function SignupRequestFromJSON(json: any): SignupRequest;
|
|
63
|
+
export declare function SignupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignupRequest;
|
|
64
|
+
export declare function SignupRequestToJSON(value?: SignupRequest | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sepurux API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const SignupRequestPricingTierEnum = {
|
|
18
|
+
starter: 'starter',
|
|
19
|
+
team: 'team',
|
|
20
|
+
enterprise: 'enterprise'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SignupRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfSignupRequest(value) {
|
|
26
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('password' in value) || value['password'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function SignupRequestFromJSON(json) {
|
|
33
|
+
return SignupRequestFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SignupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'email': json['email'],
|
|
41
|
+
'password': json['password'],
|
|
42
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
43
|
+
'project_name': json['project_name'] == null ? undefined : json['project_name'],
|
|
44
|
+
'pricing_tier': json['pricing_tier'] == null ? undefined : json['pricing_tier'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function SignupRequestToJSON(value) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'email': value['email'],
|
|
53
|
+
'password': value['password'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'project_name': value['project_name'],
|
|
56
|
+
'pricing_tier': value['pricing_tier'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 ToolCount
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolCount {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ToolCount
|
|
22
|
+
*/
|
|
23
|
+
tool: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ToolCount
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ToolCount interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfToolCount(value: object): value is ToolCount;
|
|
35
|
+
export declare function ToolCountFromJSON(json: any): ToolCount;
|
|
36
|
+
export declare function ToolCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolCount;
|
|
37
|
+
export declare function ToolCountToJSON(value?: ToolCount | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sepurux API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ToolCount interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfToolCount(value) {
|
|
18
|
+
if (!('tool' in value) || value['tool'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ToolCountFromJSON(json) {
|
|
25
|
+
return ToolCountFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ToolCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'tool': json['tool'],
|
|
33
|
+
'count': json['count'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ToolCountToJSON(value) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'tool': value['tool'],
|
|
42
|
+
'count': value['count'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 ToolCountPct
|
|
16
|
+
*/
|
|
17
|
+
export interface ToolCountPct {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ToolCountPct
|
|
22
|
+
*/
|
|
23
|
+
tool: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ToolCountPct
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ToolCountPct
|
|
34
|
+
*/
|
|
35
|
+
pct: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ToolCountPct interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfToolCountPct(value: object): value is ToolCountPct;
|
|
41
|
+
export declare function ToolCountPctFromJSON(json: any): ToolCountPct;
|
|
42
|
+
export declare function ToolCountPctFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolCountPct;
|
|
43
|
+
export declare function ToolCountPctToJSON(value?: ToolCountPct | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sepurux API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ToolCountPct interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfToolCountPct(value) {
|
|
18
|
+
if (!('tool' in value) || value['tool'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('pct' in value) || value['pct'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ToolCountPctFromJSON(json) {
|
|
27
|
+
return ToolCountPctFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ToolCountPctFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'tool': json['tool'],
|
|
35
|
+
'count': json['count'],
|
|
36
|
+
'pct': json['pct'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ToolCountPctToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'tool': value['tool'],
|
|
45
|
+
'count': value['count'],
|
|
46
|
+
'pct': value['pct'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { ToolFragilityTopMutation } from './ToolFragilityTopMutation';
|
|
13
|
+
import type { ToolFragilityTopReason } from './ToolFragilityTopReason';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ToolFragilityItem
|
|
18
|
+
*/
|
|
19
|
+
export interface ToolFragilityItem {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ToolFragilityItem
|
|
24
|
+
*/
|
|
25
|
+
tool: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof ToolFragilityItem
|
|
30
|
+
*/
|
|
31
|
+
attempts: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ToolFragilityItem
|
|
36
|
+
*/
|
|
37
|
+
failures: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ToolFragilityItem
|
|
42
|
+
*/
|
|
43
|
+
failure_rate: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<ToolFragilityTopMutation>}
|
|
47
|
+
* @memberof ToolFragilityItem
|
|
48
|
+
*/
|
|
49
|
+
top_mutations: Array<ToolFragilityTopMutation>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<ToolFragilityTopReason>}
|
|
53
|
+
* @memberof ToolFragilityItem
|
|
54
|
+
*/
|
|
55
|
+
top_reasons: Array<ToolFragilityTopReason>;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the ToolFragilityItem interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfToolFragilityItem(value: object): value is ToolFragilityItem;
|
|
61
|
+
export declare function ToolFragilityItemFromJSON(json: any): ToolFragilityItem;
|
|
62
|
+
export declare function ToolFragilityItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolFragilityItem;
|
|
63
|
+
export declare function ToolFragilityItemToJSON(value?: ToolFragilityItem | null): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sepurux API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ToolFragilityTopMutationFromJSON, ToolFragilityTopMutationToJSON, } from './ToolFragilityTopMutation';
|
|
15
|
+
import { ToolFragilityTopReasonFromJSON, ToolFragilityTopReasonToJSON, } from './ToolFragilityTopReason';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ToolFragilityItem interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfToolFragilityItem(value) {
|
|
20
|
+
if (!('tool' in value) || value['tool'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('attempts' in value) || value['attempts'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('failures' in value) || value['failures'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('failure_rate' in value) || value['failure_rate'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('top_mutations' in value) || value['top_mutations'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('top_reasons' in value) || value['top_reasons'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function ToolFragilityItemFromJSON(json) {
|
|
35
|
+
return ToolFragilityItemFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ToolFragilityItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'tool': json['tool'],
|
|
43
|
+
'attempts': json['attempts'],
|
|
44
|
+
'failures': json['failures'],
|
|
45
|
+
'failure_rate': json['failure_rate'],
|
|
46
|
+
'top_mutations': (json['top_mutations'].map(ToolFragilityTopMutationFromJSON)),
|
|
47
|
+
'top_reasons': (json['top_reasons'].map(ToolFragilityTopReasonFromJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function ToolFragilityItemToJSON(value) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'tool': value['tool'],
|
|
56
|
+
'attempts': value['attempts'],
|
|
57
|
+
'failures': value['failures'],
|
|
58
|
+
'failure_rate': value['failure_rate'],
|
|
59
|
+
'top_mutations': (value['top_mutations'].map(ToolFragilityTopMutationToJSON)),
|
|
60
|
+
'top_reasons': (value['top_reasons'].map(ToolFragilityTopReasonToJSON)),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { ToolFragilityItem } from './ToolFragilityItem';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ToolFragilityResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ToolFragilityResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ToolFragilityResponse
|
|
23
|
+
*/
|
|
24
|
+
window_days: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Date}
|
|
28
|
+
* @memberof ToolFragilityResponse
|
|
29
|
+
*/
|
|
30
|
+
generated_at: Date;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ToolFragilityResponse
|
|
35
|
+
*/
|
|
36
|
+
attempts_definition: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<ToolFragilityItem>}
|
|
40
|
+
* @memberof ToolFragilityResponse
|
|
41
|
+
*/
|
|
42
|
+
tools: Array<ToolFragilityItem>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ToolFragilityResponse interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfToolFragilityResponse(value: object): value is ToolFragilityResponse;
|
|
48
|
+
export declare function ToolFragilityResponseFromJSON(json: any): ToolFragilityResponse;
|
|
49
|
+
export declare function ToolFragilityResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolFragilityResponse;
|
|
50
|
+
export declare function ToolFragilityResponseToJSON(value?: ToolFragilityResponse | null): any;
|