@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,69 @@
|
|
|
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
|
+
* Check if a given object implements the TraceMetadata interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfTraceMetadata(value) {
|
|
19
|
+
if (!('trace_id' in value) || value['trace_id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('trace_version' in value) || value['trace_version'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('validation_status' in value) || value['validation_status'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('s3_key' in value) || value['s3_key'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('created_at' in value) || value['created_at'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function TraceMetadataFromJSON(json) {
|
|
34
|
+
return TraceMetadataFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function TraceMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'trace_id': json['trace_id'],
|
|
42
|
+
'source': json['source'],
|
|
43
|
+
'trace_version': json['trace_version'],
|
|
44
|
+
'sdk_meta': json['sdk_meta'] == null ? undefined : json['sdk_meta'],
|
|
45
|
+
'validation_status': json['validation_status'],
|
|
46
|
+
'validation_errors': json['validation_errors'] == null ? undefined : json['validation_errors'],
|
|
47
|
+
'normalized_summary': json['normalized_summary'] == null ? undefined : json['normalized_summary'],
|
|
48
|
+
's3_key': json['s3_key'],
|
|
49
|
+
'payload': json['payload'] == null ? undefined : FromJSON(json['payload']),
|
|
50
|
+
'created_at': (new Date(json['created_at'])),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function TraceMetadataToJSON(value) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'trace_id': value['trace_id'],
|
|
59
|
+
'source': value['source'],
|
|
60
|
+
'trace_version': value['trace_version'],
|
|
61
|
+
'sdk_meta': value['sdk_meta'],
|
|
62
|
+
'validation_status': value['validation_status'],
|
|
63
|
+
'validation_errors': value['validation_errors'],
|
|
64
|
+
'normalized_summary': value['normalized_summary'],
|
|
65
|
+
's3_key': value['s3_key'],
|
|
66
|
+
'payload': ToJSON(value['payload']),
|
|
67
|
+
'created_at': ((value['created_at']).toISOString()),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { ValidationErrorLocInner } from './ValidationErrorLocInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ValidationError
|
|
17
|
+
*/
|
|
18
|
+
export interface ValidationError {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ValidationErrorLocInner>}
|
|
22
|
+
* @memberof ValidationError
|
|
23
|
+
*/
|
|
24
|
+
loc: Array<ValidationErrorLocInner>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ValidationError
|
|
29
|
+
*/
|
|
30
|
+
msg: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ValidationError
|
|
35
|
+
*/
|
|
36
|
+
type: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ValidationError interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfValidationError(value: object): value is ValidationError;
|
|
42
|
+
export declare function ValidationErrorFromJSON(json: any): ValidationError;
|
|
43
|
+
export declare function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationError;
|
|
44
|
+
export declare function ValidationErrorToJSON(value?: ValidationError | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { ValidationErrorLocInnerFromJSON, ValidationErrorLocInnerToJSON, } from './ValidationErrorLocInner';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ValidationError interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfValidationError(value) {
|
|
19
|
+
if (!('loc' in value) || value['loc'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('msg' in value) || value['msg'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ValidationErrorFromJSON(json) {
|
|
28
|
+
return ValidationErrorFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'loc': (json['loc'].map(ValidationErrorLocInnerFromJSON)),
|
|
36
|
+
'msg': json['msg'],
|
|
37
|
+
'type': json['type'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function ValidationErrorToJSON(value) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'loc': (value['loc'].map(ValidationErrorLocInnerToJSON)),
|
|
46
|
+
'msg': value['msg'],
|
|
47
|
+
'type': value['type'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 ValidationErrorLocInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidationErrorLocInner {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
21
|
+
*/
|
|
22
|
+
export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
|
|
23
|
+
export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
|
|
24
|
+
export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
|
|
25
|
+
export declare function ValidationErrorLocInnerToJSON(value?: ValidationErrorLocInner | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 ValidationErrorLocInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfValidationErrorLocInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ValidationErrorLocInnerFromJSON(json) {
|
|
21
|
+
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
export function ValidationErrorLocInnerToJSON(value) {
|
|
27
|
+
return value;
|
|
28
|
+
}
|
|
@@ -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 WebhookCreateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookCreateRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookCreateRequest
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof WebhookCreateRequest
|
|
28
|
+
*/
|
|
29
|
+
events?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof WebhookCreateRequest
|
|
34
|
+
*/
|
|
35
|
+
is_enabled?: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the WebhookCreateRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfWebhookCreateRequest(value: object): value is WebhookCreateRequest;
|
|
41
|
+
export declare function WebhookCreateRequestFromJSON(json: any): WebhookCreateRequest;
|
|
42
|
+
export declare function WebhookCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookCreateRequest;
|
|
43
|
+
export declare function WebhookCreateRequestToJSON(value?: WebhookCreateRequest | 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 WebhookCreateRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfWebhookCreateRequest(value) {
|
|
18
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function WebhookCreateRequestFromJSON(json) {
|
|
23
|
+
return WebhookCreateRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function WebhookCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'url': json['url'],
|
|
31
|
+
'events': json['events'] == null ? undefined : json['events'],
|
|
32
|
+
'is_enabled': json['is_enabled'] == null ? undefined : json['is_enabled'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function WebhookCreateRequestToJSON(value) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'url': value['url'],
|
|
41
|
+
'events': value['events'],
|
|
42
|
+
'is_enabled': value['is_enabled'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 WebhookCreateResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookCreateResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookCreateResponse
|
|
22
|
+
*/
|
|
23
|
+
webhook_id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WebhookCreateResponse
|
|
28
|
+
*/
|
|
29
|
+
project_id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WebhookCreateResponse
|
|
34
|
+
*/
|
|
35
|
+
url: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof WebhookCreateResponse
|
|
40
|
+
*/
|
|
41
|
+
is_enabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof WebhookCreateResponse
|
|
46
|
+
*/
|
|
47
|
+
events: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof WebhookCreateResponse
|
|
52
|
+
*/
|
|
53
|
+
created_at: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof WebhookCreateResponse
|
|
58
|
+
*/
|
|
59
|
+
last_success_at?: Date | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof WebhookCreateResponse
|
|
64
|
+
*/
|
|
65
|
+
last_error?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof WebhookCreateResponse
|
|
70
|
+
*/
|
|
71
|
+
secret: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the WebhookCreateResponse interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfWebhookCreateResponse(value: object): value is WebhookCreateResponse;
|
|
77
|
+
export declare function WebhookCreateResponseFromJSON(json: any): WebhookCreateResponse;
|
|
78
|
+
export declare function WebhookCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookCreateResponse;
|
|
79
|
+
export declare function WebhookCreateResponseToJSON(value?: WebhookCreateResponse | null): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 WebhookCreateResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfWebhookCreateResponse(value) {
|
|
18
|
+
if (!('webhook_id' in value) || value['webhook_id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('project_id' in value) || value['project_id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('is_enabled' in value) || value['is_enabled'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('events' in value) || value['events'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('created_at' in value) || value['created_at'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('secret' in value) || value['secret'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function WebhookCreateResponseFromJSON(json) {
|
|
35
|
+
return WebhookCreateResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function WebhookCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'webhook_id': json['webhook_id'],
|
|
43
|
+
'project_id': json['project_id'],
|
|
44
|
+
'url': json['url'],
|
|
45
|
+
'is_enabled': json['is_enabled'],
|
|
46
|
+
'events': json['events'],
|
|
47
|
+
'created_at': (new Date(json['created_at'])),
|
|
48
|
+
'last_success_at': json['last_success_at'] == null ? undefined : (new Date(json['last_success_at'])),
|
|
49
|
+
'last_error': json['last_error'] == null ? undefined : json['last_error'],
|
|
50
|
+
'secret': json['secret'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function WebhookCreateResponseToJSON(value) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'webhook_id': value['webhook_id'],
|
|
59
|
+
'project_id': value['project_id'],
|
|
60
|
+
'url': value['url'],
|
|
61
|
+
'is_enabled': value['is_enabled'],
|
|
62
|
+
'events': value['events'],
|
|
63
|
+
'created_at': ((value['created_at']).toISOString()),
|
|
64
|
+
'last_success_at': value['last_success_at'] == null ? undefined : (value['last_success_at'].toISOString()),
|
|
65
|
+
'last_error': value['last_error'],
|
|
66
|
+
'secret': value['secret'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 WebhookMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookMetadata {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookMetadata
|
|
22
|
+
*/
|
|
23
|
+
webhook_id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WebhookMetadata
|
|
28
|
+
*/
|
|
29
|
+
project_id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof WebhookMetadata
|
|
34
|
+
*/
|
|
35
|
+
url: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof WebhookMetadata
|
|
40
|
+
*/
|
|
41
|
+
is_enabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof WebhookMetadata
|
|
46
|
+
*/
|
|
47
|
+
events: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof WebhookMetadata
|
|
52
|
+
*/
|
|
53
|
+
created_at: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof WebhookMetadata
|
|
58
|
+
*/
|
|
59
|
+
last_success_at?: Date | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof WebhookMetadata
|
|
64
|
+
*/
|
|
65
|
+
last_error?: string | null;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the WebhookMetadata interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfWebhookMetadata(value: object): value is WebhookMetadata;
|
|
71
|
+
export declare function WebhookMetadataFromJSON(json: any): WebhookMetadata;
|
|
72
|
+
export declare function WebhookMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookMetadata;
|
|
73
|
+
export declare function WebhookMetadataToJSON(value?: WebhookMetadata | null): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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 WebhookMetadata interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfWebhookMetadata(value) {
|
|
18
|
+
if (!('webhook_id' in value) || value['webhook_id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('project_id' in value) || value['project_id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('is_enabled' in value) || value['is_enabled'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('events' in value) || value['events'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('created_at' in value) || value['created_at'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function WebhookMetadataFromJSON(json) {
|
|
33
|
+
return WebhookMetadataFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function WebhookMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'webhook_id': json['webhook_id'],
|
|
41
|
+
'project_id': json['project_id'],
|
|
42
|
+
'url': json['url'],
|
|
43
|
+
'is_enabled': json['is_enabled'],
|
|
44
|
+
'events': json['events'],
|
|
45
|
+
'created_at': (new Date(json['created_at'])),
|
|
46
|
+
'last_success_at': json['last_success_at'] == null ? undefined : (new Date(json['last_success_at'])),
|
|
47
|
+
'last_error': json['last_error'] == null ? undefined : json['last_error'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function WebhookMetadataToJSON(value) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'webhook_id': value['webhook_id'],
|
|
56
|
+
'project_id': value['project_id'],
|
|
57
|
+
'url': value['url'],
|
|
58
|
+
'is_enabled': value['is_enabled'],
|
|
59
|
+
'events': value['events'],
|
|
60
|
+
'created_at': ((value['created_at']).toISOString()),
|
|
61
|
+
'last_success_at': value['last_success_at'] == null ? undefined : (value['last_success_at'].toISOString()),
|
|
62
|
+
'last_error': value['last_error'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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 WebhookRotateSecretResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookRotateSecretResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WebhookRotateSecretResponse
|
|
22
|
+
*/
|
|
23
|
+
webhook_id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WebhookRotateSecretResponse
|
|
28
|
+
*/
|
|
29
|
+
secret: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the WebhookRotateSecretResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfWebhookRotateSecretResponse(value: object): value is WebhookRotateSecretResponse;
|
|
35
|
+
export declare function WebhookRotateSecretResponseFromJSON(json: any): WebhookRotateSecretResponse;
|
|
36
|
+
export declare function WebhookRotateSecretResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookRotateSecretResponse;
|
|
37
|
+
export declare function WebhookRotateSecretResponseToJSON(value?: WebhookRotateSecretResponse | 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 WebhookRotateSecretResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfWebhookRotateSecretResponse(value) {
|
|
18
|
+
if (!('webhook_id' in value) || value['webhook_id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('secret' in value) || value['secret'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function WebhookRotateSecretResponseFromJSON(json) {
|
|
25
|
+
return WebhookRotateSecretResponseFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function WebhookRotateSecretResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'webhook_id': json['webhook_id'],
|
|
33
|
+
'secret': json['secret'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function WebhookRotateSecretResponseToJSON(value) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'webhook_id': value['webhook_id'],
|
|
42
|
+
'secret': value['secret'],
|
|
43
|
+
};
|
|
44
|
+
}
|