@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,121 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.AuthApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class AuthApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Get Auth Session
|
|
34
|
+
*/
|
|
35
|
+
getAuthSessionV1AuthSessionGetRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
if (requestParameters['xProjectId'] != null) {
|
|
40
|
+
headerParameters['X-Project-Id'] = String(requestParameters['xProjectId']);
|
|
41
|
+
}
|
|
42
|
+
const response = yield this.request({
|
|
43
|
+
path: `/v1/auth/session`,
|
|
44
|
+
method: 'GET',
|
|
45
|
+
headers: headerParameters,
|
|
46
|
+
query: queryParameters,
|
|
47
|
+
}, initOverrides);
|
|
48
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AuthSessionMetadataFromJSON)(jsonValue));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get Auth Session
|
|
53
|
+
*/
|
|
54
|
+
getAuthSessionV1AuthSessionGet() {
|
|
55
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
56
|
+
const response = yield this.getAuthSessionV1AuthSessionGetRaw(requestParameters, initOverrides);
|
|
57
|
+
return yield response.value();
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Post Login
|
|
62
|
+
*/
|
|
63
|
+
postLoginAuthLoginPostRaw(requestParameters, initOverrides) {
|
|
64
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
if (requestParameters['loginRequest'] == null) {
|
|
66
|
+
throw new runtime.RequiredError('loginRequest', 'Required parameter "loginRequest" was null or undefined when calling postLoginAuthLoginPost().');
|
|
67
|
+
}
|
|
68
|
+
const queryParameters = {};
|
|
69
|
+
const headerParameters = {};
|
|
70
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
71
|
+
const response = yield this.request({
|
|
72
|
+
path: `/auth/login`,
|
|
73
|
+
method: 'POST',
|
|
74
|
+
headers: headerParameters,
|
|
75
|
+
query: queryParameters,
|
|
76
|
+
body: (0, index_1.LoginRequestToJSON)(requestParameters['loginRequest']),
|
|
77
|
+
}, initOverrides);
|
|
78
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AuthSessionResponseFromJSON)(jsonValue));
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Post Login
|
|
83
|
+
*/
|
|
84
|
+
postLoginAuthLoginPost(requestParameters, initOverrides) {
|
|
85
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
+
const response = yield this.postLoginAuthLoginPostRaw(requestParameters, initOverrides);
|
|
87
|
+
return yield response.value();
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Post Signup
|
|
92
|
+
*/
|
|
93
|
+
postSignupAuthSignupPostRaw(requestParameters, initOverrides) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
if (requestParameters['signupRequest'] == null) {
|
|
96
|
+
throw new runtime.RequiredError('signupRequest', 'Required parameter "signupRequest" was null or undefined when calling postSignupAuthSignupPost().');
|
|
97
|
+
}
|
|
98
|
+
const queryParameters = {};
|
|
99
|
+
const headerParameters = {};
|
|
100
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
101
|
+
const response = yield this.request({
|
|
102
|
+
path: `/auth/signup`,
|
|
103
|
+
method: 'POST',
|
|
104
|
+
headers: headerParameters,
|
|
105
|
+
query: queryParameters,
|
|
106
|
+
body: (0, index_1.SignupRequestToJSON)(requestParameters['signupRequest']),
|
|
107
|
+
}, initOverrides);
|
|
108
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AuthSessionResponseFromJSON)(jsonValue));
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Post Signup
|
|
113
|
+
*/
|
|
114
|
+
postSignupAuthSignupPost(requestParameters, initOverrides) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
const response = yield this.postSignupAuthSignupPostRaw(requestParameters, initOverrides);
|
|
117
|
+
return yield response.value();
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.AuthApi = AuthApi;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { CampaignCreateRequest, CampaignMetadata, CampaignRunPackRequest, CampaignRunPackResponse } from '../models/index';
|
|
14
|
+
export interface GetCampaignV1CampaignsCampaignIdGetRequest {
|
|
15
|
+
campaignId: string;
|
|
16
|
+
xProjectId?: string | null;
|
|
17
|
+
}
|
|
18
|
+
export interface GetCampaignsV1CampaignsGetRequest {
|
|
19
|
+
limit?: number;
|
|
20
|
+
offset?: number;
|
|
21
|
+
xProjectId?: string | null;
|
|
22
|
+
}
|
|
23
|
+
export interface PostCampaignRunPackV1CampaignsCampaignIdRunPackPostRequest {
|
|
24
|
+
campaignId: string;
|
|
25
|
+
campaignRunPackRequest: CampaignRunPackRequest;
|
|
26
|
+
xProjectId?: string | null;
|
|
27
|
+
}
|
|
28
|
+
export interface PostCampaignV1CampaignsPostRequest {
|
|
29
|
+
campaignCreateRequest: CampaignCreateRequest;
|
|
30
|
+
xProjectId?: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class CampaignsApi extends runtime.BaseAPI {
|
|
36
|
+
/**
|
|
37
|
+
* Get Campaign
|
|
38
|
+
*/
|
|
39
|
+
getCampaignV1CampaignsCampaignIdGetRaw(requestParameters: GetCampaignV1CampaignsCampaignIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CampaignMetadata>>;
|
|
40
|
+
/**
|
|
41
|
+
* Get Campaign
|
|
42
|
+
*/
|
|
43
|
+
getCampaignV1CampaignsCampaignIdGet(requestParameters: GetCampaignV1CampaignsCampaignIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CampaignMetadata>;
|
|
44
|
+
/**
|
|
45
|
+
* Get Campaigns
|
|
46
|
+
*/
|
|
47
|
+
getCampaignsV1CampaignsGetRaw(requestParameters: GetCampaignsV1CampaignsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CampaignMetadata>>>;
|
|
48
|
+
/**
|
|
49
|
+
* Get Campaigns
|
|
50
|
+
*/
|
|
51
|
+
getCampaignsV1CampaignsGet(requestParameters?: GetCampaignsV1CampaignsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CampaignMetadata>>;
|
|
52
|
+
/**
|
|
53
|
+
* Post Campaign Run Pack
|
|
54
|
+
*/
|
|
55
|
+
postCampaignRunPackV1CampaignsCampaignIdRunPackPostRaw(requestParameters: PostCampaignRunPackV1CampaignsCampaignIdRunPackPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CampaignRunPackResponse>>;
|
|
56
|
+
/**
|
|
57
|
+
* Post Campaign Run Pack
|
|
58
|
+
*/
|
|
59
|
+
postCampaignRunPackV1CampaignsCampaignIdRunPackPost(requestParameters: PostCampaignRunPackV1CampaignsCampaignIdRunPackPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CampaignRunPackResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Post Campaign
|
|
62
|
+
*/
|
|
63
|
+
postCampaignV1CampaignsPostRaw(requestParameters: PostCampaignV1CampaignsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CampaignMetadata>>;
|
|
64
|
+
/**
|
|
65
|
+
* Post Campaign
|
|
66
|
+
*/
|
|
67
|
+
postCampaignV1CampaignsPost(requestParameters: PostCampaignV1CampaignsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CampaignMetadata>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.CampaignsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class CampaignsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Get Campaign
|
|
34
|
+
*/
|
|
35
|
+
getCampaignV1CampaignsCampaignIdGetRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['campaignId'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('campaignId', 'Required parameter "campaignId" was null or undefined when calling getCampaignV1CampaignsCampaignIdGet().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
if (requestParameters['xProjectId'] != null) {
|
|
43
|
+
headerParameters['X-Project-Id'] = String(requestParameters['xProjectId']);
|
|
44
|
+
}
|
|
45
|
+
const response = yield this.request({
|
|
46
|
+
path: `/v1/campaigns/{campaign_id}`.replace(`{${"campaign_id"}}`, encodeURIComponent(String(requestParameters['campaignId']))),
|
|
47
|
+
method: 'GET',
|
|
48
|
+
headers: headerParameters,
|
|
49
|
+
query: queryParameters,
|
|
50
|
+
}, initOverrides);
|
|
51
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CampaignMetadataFromJSON)(jsonValue));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get Campaign
|
|
56
|
+
*/
|
|
57
|
+
getCampaignV1CampaignsCampaignIdGet(requestParameters, initOverrides) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const response = yield this.getCampaignV1CampaignsCampaignIdGetRaw(requestParameters, initOverrides);
|
|
60
|
+
return yield response.value();
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get Campaigns
|
|
65
|
+
*/
|
|
66
|
+
getCampaignsV1CampaignsGetRaw(requestParameters, initOverrides) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
const queryParameters = {};
|
|
69
|
+
if (requestParameters['limit'] != null) {
|
|
70
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
71
|
+
}
|
|
72
|
+
if (requestParameters['offset'] != null) {
|
|
73
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
74
|
+
}
|
|
75
|
+
const headerParameters = {};
|
|
76
|
+
if (requestParameters['xProjectId'] != null) {
|
|
77
|
+
headerParameters['X-Project-Id'] = String(requestParameters['xProjectId']);
|
|
78
|
+
}
|
|
79
|
+
const response = yield this.request({
|
|
80
|
+
path: `/v1/campaigns`,
|
|
81
|
+
method: 'GET',
|
|
82
|
+
headers: headerParameters,
|
|
83
|
+
query: queryParameters,
|
|
84
|
+
}, initOverrides);
|
|
85
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.CampaignMetadataFromJSON));
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Get Campaigns
|
|
90
|
+
*/
|
|
91
|
+
getCampaignsV1CampaignsGet() {
|
|
92
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
93
|
+
const response = yield this.getCampaignsV1CampaignsGetRaw(requestParameters, initOverrides);
|
|
94
|
+
return yield response.value();
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Post Campaign Run Pack
|
|
99
|
+
*/
|
|
100
|
+
postCampaignRunPackV1CampaignsCampaignIdRunPackPostRaw(requestParameters, initOverrides) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
if (requestParameters['campaignId'] == null) {
|
|
103
|
+
throw new runtime.RequiredError('campaignId', 'Required parameter "campaignId" was null or undefined when calling postCampaignRunPackV1CampaignsCampaignIdRunPackPost().');
|
|
104
|
+
}
|
|
105
|
+
if (requestParameters['campaignRunPackRequest'] == null) {
|
|
106
|
+
throw new runtime.RequiredError('campaignRunPackRequest', 'Required parameter "campaignRunPackRequest" was null or undefined when calling postCampaignRunPackV1CampaignsCampaignIdRunPackPost().');
|
|
107
|
+
}
|
|
108
|
+
const queryParameters = {};
|
|
109
|
+
const headerParameters = {};
|
|
110
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
111
|
+
if (requestParameters['xProjectId'] != null) {
|
|
112
|
+
headerParameters['X-Project-Id'] = String(requestParameters['xProjectId']);
|
|
113
|
+
}
|
|
114
|
+
const response = yield this.request({
|
|
115
|
+
path: `/v1/campaigns/{campaign_id}/run-pack`.replace(`{${"campaign_id"}}`, encodeURIComponent(String(requestParameters['campaignId']))),
|
|
116
|
+
method: 'POST',
|
|
117
|
+
headers: headerParameters,
|
|
118
|
+
query: queryParameters,
|
|
119
|
+
body: (0, index_1.CampaignRunPackRequestToJSON)(requestParameters['campaignRunPackRequest']),
|
|
120
|
+
}, initOverrides);
|
|
121
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CampaignRunPackResponseFromJSON)(jsonValue));
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Post Campaign Run Pack
|
|
126
|
+
*/
|
|
127
|
+
postCampaignRunPackV1CampaignsCampaignIdRunPackPost(requestParameters, initOverrides) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
const response = yield this.postCampaignRunPackV1CampaignsCampaignIdRunPackPostRaw(requestParameters, initOverrides);
|
|
130
|
+
return yield response.value();
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Post Campaign
|
|
135
|
+
*/
|
|
136
|
+
postCampaignV1CampaignsPostRaw(requestParameters, initOverrides) {
|
|
137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
+
if (requestParameters['campaignCreateRequest'] == null) {
|
|
139
|
+
throw new runtime.RequiredError('campaignCreateRequest', 'Required parameter "campaignCreateRequest" was null or undefined when calling postCampaignV1CampaignsPost().');
|
|
140
|
+
}
|
|
141
|
+
const queryParameters = {};
|
|
142
|
+
const headerParameters = {};
|
|
143
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
144
|
+
if (requestParameters['xProjectId'] != null) {
|
|
145
|
+
headerParameters['X-Project-Id'] = String(requestParameters['xProjectId']);
|
|
146
|
+
}
|
|
147
|
+
const response = yield this.request({
|
|
148
|
+
path: `/v1/campaigns`,
|
|
149
|
+
method: 'POST',
|
|
150
|
+
headers: headerParameters,
|
|
151
|
+
query: queryParameters,
|
|
152
|
+
body: (0, index_1.CampaignCreateRequestToJSON)(requestParameters['campaignCreateRequest']),
|
|
153
|
+
}, initOverrides);
|
|
154
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CampaignMetadataFromJSON)(jsonValue));
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Post Campaign
|
|
159
|
+
*/
|
|
160
|
+
postCampaignV1CampaignsPost(requestParameters, initOverrides) {
|
|
161
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
162
|
+
const response = yield this.postCampaignV1CampaignsPostRaw(requestParameters, initOverrides);
|
|
163
|
+
return yield response.value();
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
exports.CampaignsApi = CampaignsApi;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { CIRunCreateRequest, CIRunCreateResponse, CIRunStatusResponse } from '../models/index';
|
|
14
|
+
export interface GetCiRunV1CiRunsRunIdGetRequest {
|
|
15
|
+
runId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface PostCiRunV1CiRunsPostRequest {
|
|
18
|
+
cIRunCreateRequest: CIRunCreateRequest;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare class CiApi extends runtime.BaseAPI {
|
|
24
|
+
/**
|
|
25
|
+
* Get Ci Run
|
|
26
|
+
*/
|
|
27
|
+
getCiRunV1CiRunsRunIdGetRaw(requestParameters: GetCiRunV1CiRunsRunIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CIRunStatusResponse>>;
|
|
28
|
+
/**
|
|
29
|
+
* Get Ci Run
|
|
30
|
+
*/
|
|
31
|
+
getCiRunV1CiRunsRunIdGet(requestParameters: GetCiRunV1CiRunsRunIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CIRunStatusResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Post Ci Run
|
|
34
|
+
*/
|
|
35
|
+
postCiRunV1CiRunsPostRaw(requestParameters: PostCiRunV1CiRunsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CIRunCreateResponse>>;
|
|
36
|
+
/**
|
|
37
|
+
* Post Ci Run
|
|
38
|
+
*/
|
|
39
|
+
postCiRunV1CiRunsPost(requestParameters: PostCiRunV1CiRunsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CIRunCreateResponse>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.CiApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class CiApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Get Ci Run
|
|
34
|
+
*/
|
|
35
|
+
getCiRunV1CiRunsRunIdGetRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['runId'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('runId', 'Required parameter "runId" was null or undefined when calling getCiRunV1CiRunsRunIdGet().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
const response = yield this.request({
|
|
43
|
+
path: `/v1/ci/runs/{run_id}`.replace(`{${"run_id"}}`, encodeURIComponent(String(requestParameters['runId']))),
|
|
44
|
+
method: 'GET',
|
|
45
|
+
headers: headerParameters,
|
|
46
|
+
query: queryParameters,
|
|
47
|
+
}, initOverrides);
|
|
48
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CIRunStatusResponseFromJSON)(jsonValue));
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get Ci Run
|
|
53
|
+
*/
|
|
54
|
+
getCiRunV1CiRunsRunIdGet(requestParameters, initOverrides) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const response = yield this.getCiRunV1CiRunsRunIdGetRaw(requestParameters, initOverrides);
|
|
57
|
+
return yield response.value();
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Post Ci Run
|
|
62
|
+
*/
|
|
63
|
+
postCiRunV1CiRunsPostRaw(requestParameters, initOverrides) {
|
|
64
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
if (requestParameters['cIRunCreateRequest'] == null) {
|
|
66
|
+
throw new runtime.RequiredError('cIRunCreateRequest', 'Required parameter "cIRunCreateRequest" was null or undefined when calling postCiRunV1CiRunsPost().');
|
|
67
|
+
}
|
|
68
|
+
const queryParameters = {};
|
|
69
|
+
const headerParameters = {};
|
|
70
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
71
|
+
const response = yield this.request({
|
|
72
|
+
path: `/v1/ci/runs`,
|
|
73
|
+
method: 'POST',
|
|
74
|
+
headers: headerParameters,
|
|
75
|
+
query: queryParameters,
|
|
76
|
+
body: (0, index_1.CIRunCreateRequestToJSON)(requestParameters['cIRunCreateRequest']),
|
|
77
|
+
}, initOverrides);
|
|
78
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CIRunCreateResponseFromJSON)(jsonValue));
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Post Ci Run
|
|
83
|
+
*/
|
|
84
|
+
postCiRunV1CiRunsPost(requestParameters, initOverrides) {
|
|
85
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
+
const response = yield this.postCiRunV1CiRunsPostRaw(requestParameters, initOverrides);
|
|
87
|
+
return yield response.value();
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.CiApi = CiApi;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { CounterfactualListItem, CounterfactualMetadata } from '../models/index';
|
|
14
|
+
export interface GetAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGetRequest {
|
|
15
|
+
attemptId: string;
|
|
16
|
+
xProjectId?: string | null;
|
|
17
|
+
}
|
|
18
|
+
export interface GetCounterfactualV1CounterfactualsCounterfactualIdGetRequest {
|
|
19
|
+
counterfactualId: string;
|
|
20
|
+
xProjectId?: string | null;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare class CounterfactualsApi extends runtime.BaseAPI {
|
|
26
|
+
/**
|
|
27
|
+
* Get Attempt Counterfactuals
|
|
28
|
+
*/
|
|
29
|
+
getAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGetRaw(requestParameters: GetAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CounterfactualListItem>>>;
|
|
30
|
+
/**
|
|
31
|
+
* Get Attempt Counterfactuals
|
|
32
|
+
*/
|
|
33
|
+
getAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGet(requestParameters: GetAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CounterfactualListItem>>;
|
|
34
|
+
/**
|
|
35
|
+
* Get Counterfactual
|
|
36
|
+
*/
|
|
37
|
+
getCounterfactualV1CounterfactualsCounterfactualIdGetRaw(requestParameters: GetCounterfactualV1CounterfactualsCounterfactualIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CounterfactualMetadata>>;
|
|
38
|
+
/**
|
|
39
|
+
* Get Counterfactual
|
|
40
|
+
*/
|
|
41
|
+
getCounterfactualV1CounterfactualsCounterfactualIdGet(requestParameters: GetCounterfactualV1CounterfactualsCounterfactualIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CounterfactualMetadata>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.CounterfactualsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class CounterfactualsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Get Attempt Counterfactuals
|
|
34
|
+
*/
|
|
35
|
+
getAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGetRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['attemptId'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('attemptId', 'Required parameter "attemptId" was null or undefined when calling getAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGet().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
if (requestParameters['xProjectId'] != null) {
|
|
43
|
+
headerParameters['X-Project-Id'] = String(requestParameters['xProjectId']);
|
|
44
|
+
}
|
|
45
|
+
const response = yield this.request({
|
|
46
|
+
path: `/v1/attempts/{attempt_id}/counterfactuals`.replace(`{${"attempt_id"}}`, encodeURIComponent(String(requestParameters['attemptId']))),
|
|
47
|
+
method: 'GET',
|
|
48
|
+
headers: headerParameters,
|
|
49
|
+
query: queryParameters,
|
|
50
|
+
}, initOverrides);
|
|
51
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.CounterfactualListItemFromJSON));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get Attempt Counterfactuals
|
|
56
|
+
*/
|
|
57
|
+
getAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGet(requestParameters, initOverrides) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const response = yield this.getAttemptCounterfactualsV1AttemptsAttemptIdCounterfactualsGetRaw(requestParameters, initOverrides);
|
|
60
|
+
return yield response.value();
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get Counterfactual
|
|
65
|
+
*/
|
|
66
|
+
getCounterfactualV1CounterfactualsCounterfactualIdGetRaw(requestParameters, initOverrides) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
if (requestParameters['counterfactualId'] == null) {
|
|
69
|
+
throw new runtime.RequiredError('counterfactualId', 'Required parameter "counterfactualId" was null or undefined when calling getCounterfactualV1CounterfactualsCounterfactualIdGet().');
|
|
70
|
+
}
|
|
71
|
+
const queryParameters = {};
|
|
72
|
+
const headerParameters = {};
|
|
73
|
+
if (requestParameters['xProjectId'] != null) {
|
|
74
|
+
headerParameters['X-Project-Id'] = String(requestParameters['xProjectId']);
|
|
75
|
+
}
|
|
76
|
+
const response = yield this.request({
|
|
77
|
+
path: `/v1/counterfactuals/{counterfactual_id}`.replace(`{${"counterfactual_id"}}`, encodeURIComponent(String(requestParameters['counterfactualId']))),
|
|
78
|
+
method: 'GET',
|
|
79
|
+
headers: headerParameters,
|
|
80
|
+
query: queryParameters,
|
|
81
|
+
}, initOverrides);
|
|
82
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CounterfactualMetadataFromJSON)(jsonValue));
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Get Counterfactual
|
|
87
|
+
*/
|
|
88
|
+
getCounterfactualV1CounterfactualsCounterfactualIdGet(requestParameters, initOverrides) {
|
|
89
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const response = yield this.getCounterfactualV1CounterfactualsCounterfactualIdGetRaw(requestParameters, initOverrides);
|
|
91
|
+
return yield response.value();
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.CounterfactualsApi = CounterfactualsApi;
|
|
@@ -0,0 +1,34 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { DemoInfoResponse, DemoSessionResponse } from '../models/index';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class DemoApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* Get Demo Info
|
|
20
|
+
*/
|
|
21
|
+
getDemoInfoDemoInfoGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DemoInfoResponse>>;
|
|
22
|
+
/**
|
|
23
|
+
* Get Demo Info
|
|
24
|
+
*/
|
|
25
|
+
getDemoInfoDemoInfoGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DemoInfoResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Post Demo Session
|
|
28
|
+
*/
|
|
29
|
+
postDemoSessionDemoSessionPostRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DemoSessionResponse>>;
|
|
30
|
+
/**
|
|
31
|
+
* Post Demo Session
|
|
32
|
+
*/
|
|
33
|
+
postDemoSessionDemoSessionPost(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DemoSessionResponse>;
|
|
34
|
+
}
|