@objectstack/spec 0.7.1 → 0.8.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/dist/ai/agent-action.zod.d.ts +625 -1889
- package/dist/ai/agent-action.zod.d.ts.map +1 -1
- package/dist/ai/agent-action.zod.js +7 -7
- package/dist/ai/agent.zod.d.ts +36 -120
- package/dist/ai/agent.zod.d.ts.map +1 -1
- package/dist/ai/conversation.zod.d.ts +134 -841
- package/dist/ai/conversation.zod.d.ts.map +1 -1
- package/dist/ai/conversation.zod.js +5 -5
- package/dist/ai/cost.zod.d.ts +479 -1697
- package/dist/ai/cost.zod.d.ts.map +1 -1
- package/dist/ai/cost.zod.js +3 -3
- package/dist/ai/devops-agent.zod.d.ts +614 -0
- package/dist/ai/devops-agent.zod.d.ts.map +1 -0
- package/dist/ai/devops-agent.zod.js +776 -0
- package/dist/ai/index.d.ts +2 -0
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +2 -0
- package/dist/ai/model-registry.zod.d.ts +145 -1149
- package/dist/ai/model-registry.zod.d.ts.map +1 -1
- package/dist/ai/model-registry.zod.js +3 -3
- package/dist/ai/nlq.zod.d.ts +209 -914
- package/dist/ai/nlq.zod.d.ts.map +1 -1
- package/dist/ai/nlq.zod.js +2 -2
- package/dist/ai/orchestration.zod.d.ts +159 -449
- package/dist/ai/orchestration.zod.d.ts.map +1 -1
- package/dist/ai/orchestration.zod.js +4 -4
- package/dist/ai/predictive.zod.d.ts +116 -640
- package/dist/ai/predictive.zod.d.ts.map +1 -1
- package/dist/ai/predictive.zod.js +4 -4
- package/dist/ai/rag-pipeline.zod.d.ts +194 -819
- package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
- package/dist/ai/rag-pipeline.zod.js +4 -4
- package/dist/api/batch.zod.d.ts +96 -727
- package/dist/api/batch.zod.d.ts.map +1 -1
- package/dist/api/batch.zod.js +14 -1
- package/dist/api/contract.zod.d.ts +194 -1502
- package/dist/api/contract.zod.d.ts.map +1 -1
- package/dist/api/contract.zod.js +1 -1
- package/dist/api/discovery.zod.d.ts +12 -126
- package/dist/api/discovery.zod.d.ts.map +1 -1
- package/dist/api/endpoint.zod.d.ts +56 -222
- package/dist/api/endpoint.zod.d.ts.map +1 -1
- package/dist/api/errors.zod.d.ts +376 -205
- package/dist/api/errors.zod.d.ts.map +1 -1
- package/dist/api/graphql.zod.d.ts +670 -5073
- package/dist/api/graphql.zod.d.ts.map +1 -1
- package/dist/api/graphql.zod.js +6 -6
- package/dist/api/http-cache.zod.d.ts +92 -229
- package/dist/api/http-cache.zod.d.ts.map +1 -1
- package/dist/api/odata.zod.d.ts +96 -322
- package/dist/api/odata.zod.d.ts.map +1 -1
- package/dist/api/odata.zod.js +16 -3
- package/dist/api/protocol.zod.d.ts +987 -8312
- package/dist/api/protocol.zod.d.ts.map +1 -1
- package/dist/api/protocol.zod.js +90 -90
- package/dist/api/realtime.zod.d.ts +86 -74
- package/dist/api/realtime.zod.d.ts.map +1 -1
- package/dist/api/realtime.zod.js +15 -2
- package/dist/api/rest-server.zod.d.ts +248 -1942
- package/dist/api/rest-server.zod.d.ts.map +1 -1
- package/dist/api/rest-server.zod.js +1 -1
- package/dist/api/router.zod.d.ts +41 -145
- package/dist/api/router.zod.d.ts.map +1 -1
- package/dist/api/router.zod.js +8 -1
- package/dist/api/view-storage.zod.d.ts +1170 -7336
- package/dist/api/view-storage.zod.d.ts.map +1 -1
- package/dist/api/view-storage.zod.js +2 -2
- package/dist/api/websocket.zod.d.ts +203 -1209
- package/dist/api/websocket.zod.d.ts.map +1 -1
- package/dist/api/websocket.zod.js +4 -4
- package/dist/auth/config.zod.d.ts +316 -2936
- package/dist/auth/config.zod.d.ts.map +1 -1
- package/dist/auth/config.zod.js +46 -46
- package/dist/auth/identity.zod.d.ts +12 -189
- package/dist/auth/identity.zod.d.ts.map +1 -1
- package/dist/auth/organization.zod.d.ts +15 -126
- package/dist/auth/organization.zod.d.ts.map +1 -1
- package/dist/auth/organization.zod.js +1 -1
- package/dist/auth/policy.zod.d.ts +14 -151
- package/dist/auth/policy.zod.d.ts.map +1 -1
- package/dist/auth/role.zod.d.ts +1 -14
- package/dist/auth/role.zod.d.ts.map +1 -1
- package/dist/auth/scim.zod.d.ts +165 -2327
- package/dist/auth/scim.zod.d.ts.map +1 -1
- package/dist/auth/scim.zod.js +1 -1
- package/dist/automation/approval.zod.d.ts +171 -536
- package/dist/automation/approval.zod.d.ts.map +1 -1
- package/dist/automation/approval.zod.js +1 -1
- package/dist/automation/etl.zod.d.ts +144 -453
- package/dist/automation/etl.zod.d.ts.map +1 -1
- package/dist/automation/etl.zod.js +4 -4
- package/dist/automation/flow.zod.d.ts +79 -193
- package/dist/automation/flow.zod.d.ts.map +1 -1
- package/dist/automation/flow.zod.js +1 -1
- package/dist/automation/sync.zod.d.ts +132 -813
- package/dist/automation/sync.zod.d.ts.map +1 -1
- package/dist/automation/sync.zod.js +2 -2
- package/dist/automation/trigger-registry.zod.d.ts +184 -1030
- package/dist/automation/trigger-registry.zod.d.ts.map +1 -1
- package/dist/automation/trigger-registry.zod.js +7 -7
- package/dist/automation/webhook.zod.d.ts +50 -125
- package/dist/automation/webhook.zod.d.ts.map +1 -1
- package/dist/automation/webhook.zod.js +2 -2
- package/dist/automation/workflow.zod.d.ts +392 -2434
- package/dist/automation/workflow.zod.d.ts.map +1 -1
- package/dist/automation/workflow.zod.js +5 -5
- package/dist/data/data-engine.zod.d.ts +326 -2335
- package/dist/data/data-engine.zod.d.ts.map +1 -1
- package/dist/data/data-engine.zod.js +34 -27
- package/dist/data/dataset.zod.d.ts +21 -40
- package/dist/data/dataset.zod.d.ts.map +1 -1
- package/dist/data/dataset.zod.js +1 -1
- package/dist/data/document.zod.d.ts +39 -547
- package/dist/data/document.zod.d.ts.map +1 -1
- package/dist/data/document.zod.js +1 -1
- package/dist/data/driver/mongo.zod.d.ts +3 -39
- package/dist/data/driver/mongo.zod.d.ts.map +1 -1
- package/dist/data/driver/mongo.zod.js +1 -1
- package/dist/data/driver/postgres.zod.d.ts +3 -109
- package/dist/data/driver/postgres.zod.d.ts.map +1 -1
- package/dist/data/driver-nosql.zod.d.ts +189 -695
- package/dist/data/driver-nosql.zod.d.ts.map +1 -1
- package/dist/data/driver-nosql.zod.js +4 -4
- package/dist/data/driver-sql.zod.d.ts +33 -481
- package/dist/data/driver-sql.zod.d.ts.map +1 -1
- package/dist/data/driver.zod.d.ts +473 -4237
- package/dist/data/driver.zod.d.ts.map +1 -1
- package/dist/data/driver.zod.js +104 -96
- package/dist/data/external-lookup.zod.d.ts +68 -505
- package/dist/data/external-lookup.zod.d.ts.map +1 -1
- package/dist/data/external-lookup.zod.js +2 -2
- package/dist/data/field.zod.d.ts +737 -1696
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +1 -1
- package/dist/data/filter.zod.d.ts +36 -224
- package/dist/data/filter.zod.d.ts.map +1 -1
- package/dist/data/hook.zod.d.ts +70 -143
- package/dist/data/hook.zod.d.ts.map +1 -1
- package/dist/data/hook.zod.js +2 -2
- package/dist/data/mapping.zod.d.ts +109 -483
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/mapping.zod.js +1 -1
- package/dist/data/object.zod.d.ts +506 -2859
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +3 -1
- package/dist/data/query.zod.d.ts +157 -402
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +2 -2
- package/dist/data/validation.zod.d.ts +123 -284
- package/dist/data/validation.zod.d.ts.map +1 -1
- package/dist/data/validation.zod.js +5 -5
- package/dist/hub/composer.zod.d.ts +127 -1492
- package/dist/hub/composer.zod.d.ts.map +1 -1
- package/dist/hub/composer.zod.js +3 -3
- package/dist/hub/license.zod.d.ts +29 -74
- package/dist/hub/license.zod.d.ts.map +1 -1
- package/dist/hub/license.zod.js +2 -2
- package/dist/hub/marketplace.zod.d.ts +32 -141
- package/dist/hub/marketplace.zod.d.ts.map +1 -1
- package/dist/hub/plugin-registry.zod.d.ts +140 -1461
- package/dist/hub/plugin-registry.zod.d.ts.map +1 -1
- package/dist/hub/plugin-registry.zod.js +1 -1
- package/dist/hub/space.zod.d.ts +73 -307
- package/dist/hub/space.zod.d.ts.map +1 -1
- package/dist/hub/space.zod.js +2 -2
- package/dist/hub/tenant.zod.d.ts +107 -861
- package/dist/hub/tenant.zod.d.ts.map +1 -1
- package/dist/hub/tenant.zod.js +1 -1
- package/dist/integration/connector/database.zod.d.ts +248 -1271
- package/dist/integration/connector/database.zod.d.ts.map +1 -1
- package/dist/integration/connector/database.zod.js +1 -1
- package/dist/integration/connector/file-storage.zod.d.ts +243 -1008
- package/dist/integration/connector/file-storage.zod.d.ts.map +1 -1
- package/dist/integration/connector/file-storage.zod.js +1 -1
- package/dist/integration/connector/github.zod.d.ts +602 -0
- package/dist/integration/connector/github.zod.d.ts.map +1 -0
- package/dist/integration/connector/github.zod.js +445 -0
- package/dist/integration/connector/message-queue.zod.d.ts +298 -1265
- package/dist/integration/connector/message-queue.zod.d.ts.map +1 -1
- package/dist/integration/connector/message-queue.zod.js +2 -2
- package/dist/integration/connector/saas.zod.d.ts +239 -1147
- package/dist/integration/connector/saas.zod.d.ts.map +1 -1
- package/dist/integration/connector/saas.zod.js +1 -1
- package/dist/integration/connector/vercel.zod.d.ts +783 -0
- package/dist/integration/connector/vercel.zod.d.ts.map +1 -0
- package/dist/integration/connector/vercel.zod.js +538 -0
- package/dist/integration/connector.zod.d.ts +349 -1241
- package/dist/integration/connector.zod.d.ts.map +1 -1
- package/dist/integration/connector.zod.js +3 -3
- package/dist/integration/index.d.ts +4 -0
- package/dist/integration/index.d.ts.map +1 -1
- package/dist/integration/index.js +4 -0
- package/dist/permission/permission.zod.d.ts +17 -263
- package/dist/permission/permission.zod.d.ts.map +1 -1
- package/dist/permission/permission.zod.js +3 -3
- package/dist/permission/rls.zod.d.ts +27 -334
- package/dist/permission/rls.zod.d.ts.map +1 -1
- package/dist/permission/rls.zod.js +1 -1
- package/dist/permission/sharing.zod.d.ts +58 -92
- package/dist/permission/sharing.zod.d.ts.map +1 -1
- package/dist/permission/territory.zod.d.ts +32 -53
- package/dist/permission/territory.zod.d.ts.map +1 -1
- package/dist/shared/http.zod.d.ts +22 -67
- package/dist/shared/http.zod.d.ts.map +1 -1
- package/dist/shared/mapping.zod.d.ts +25 -139
- package/dist/shared/mapping.zod.d.ts.map +1 -1
- package/dist/shared/mapping.zod.js +1 -1
- package/dist/stack.zod.d.ts +5620 -26603
- package/dist/stack.zod.d.ts.map +1 -1
- package/dist/system/audit.zod.d.ts +522 -975
- package/dist/system/audit.zod.d.ts.map +1 -1
- package/dist/system/audit.zod.js +8 -8
- package/dist/system/cache.zod.d.ts +64 -102
- package/dist/system/cache.zod.d.ts.map +1 -1
- package/dist/system/change-management.zod.d.ts +77 -452
- package/dist/system/change-management.zod.d.ts.map +1 -1
- package/dist/system/collaboration.zod.d.ts +243 -1609
- package/dist/system/collaboration.zod.d.ts.map +1 -1
- package/dist/system/collaboration.zod.js +12 -12
- package/dist/system/compliance.zod.d.ts +63 -293
- package/dist/system/compliance.zod.d.ts.map +1 -1
- package/dist/system/context.zod.d.ts +13 -36
- package/dist/system/context.zod.d.ts.map +1 -1
- package/dist/system/context.zod.js +1 -1
- package/dist/system/datasource.zod.d.ts +7 -246
- package/dist/system/datasource.zod.d.ts.map +1 -1
- package/dist/system/datasource.zod.js +3 -3
- package/dist/system/encryption.zod.d.ts +54 -184
- package/dist/system/encryption.zod.d.ts.map +1 -1
- package/dist/system/events.zod.d.ts +697 -121
- package/dist/system/events.zod.d.ts.map +1 -1
- package/dist/system/events.zod.js +595 -2
- package/dist/system/feature.zod.d.ts +39 -97
- package/dist/system/feature.zod.d.ts.map +1 -1
- package/dist/system/http-server.zod.d.ts +116 -562
- package/dist/system/http-server.zod.d.ts.map +1 -1
- package/dist/system/http-server.zod.js +2 -2
- package/dist/system/index.d.ts +1 -0
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +1 -0
- package/dist/system/job.zod.d.ts +29 -152
- package/dist/system/job.zod.d.ts.map +1 -1
- package/dist/system/job.zod.js +4 -1
- package/dist/system/logging.zod.d.ts +268 -1876
- package/dist/system/logging.zod.d.ts.map +1 -1
- package/dist/system/logging.zod.js +12 -12
- package/dist/system/manifest.zod.d.ts +82 -1041
- package/dist/system/manifest.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.js +5 -5
- package/dist/system/masking.zod.d.ts +34 -66
- package/dist/system/masking.zod.d.ts.map +1 -1
- package/dist/system/message-queue.zod.d.ts +49 -135
- package/dist/system/message-queue.zod.d.ts.map +1 -1
- package/dist/system/metadata-loader.zod.d.ts +76 -495
- package/dist/system/metadata-loader.zod.d.ts.map +1 -1
- package/dist/system/metadata-loader.zod.js +2 -2
- package/dist/system/metrics.zod.d.ts +330 -1705
- package/dist/system/metrics.zod.d.ts.map +1 -1
- package/dist/system/metrics.zod.js +5 -5
- package/dist/system/notification.zod.d.ts +75 -534
- package/dist/system/notification.zod.d.ts.map +1 -1
- package/dist/system/notification.zod.js +1 -1
- package/dist/system/object-storage.zod.d.ts +385 -1104
- package/dist/system/object-storage.zod.d.ts.map +1 -1
- package/dist/system/object-storage.zod.js +4 -4
- package/dist/system/plugin-capability.zod.d.ts +88 -932
- package/dist/system/plugin-capability.zod.d.ts.map +1 -1
- package/dist/system/plugin-capability.zod.js +1 -1
- package/dist/system/plugin-lifecycle-events.zod.d.ts +49 -209
- package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -1
- package/dist/system/plugin-validator.zod.d.ts +7 -154
- package/dist/system/plugin-validator.zod.d.ts.map +1 -1
- package/dist/system/plugin.zod.d.ts +288 -3343
- package/dist/system/plugin.zod.d.ts.map +1 -1
- package/dist/system/plugin.zod.js +90 -39
- package/dist/system/search-engine.zod.d.ts +78 -209
- package/dist/system/search-engine.zod.d.ts.map +1 -1
- package/dist/system/search-engine.zod.js +2 -2
- package/dist/system/service-registry.zod.d.ts +25 -134
- package/dist/system/service-registry.zod.d.ts.map +1 -1
- package/dist/system/service-registry.zod.js +3 -3
- package/dist/system/startup-orchestrator.zod.d.ts +12 -269
- package/dist/system/startup-orchestrator.zod.d.ts.map +1 -1
- package/dist/system/startup-orchestrator.zod.js +1 -1
- package/dist/system/tracing.zod.d.ts +286 -1623
- package/dist/system/tracing.zod.d.ts.map +1 -1
- package/dist/system/tracing.zod.js +7 -7
- package/dist/system/translation.zod.d.ts +8 -134
- package/dist/system/translation.zod.d.ts.map +1 -1
- package/dist/system/translation.zod.js +5 -5
- package/dist/system/worker.zod.d.ts +479 -0
- package/dist/system/worker.zod.d.ts.map +1 -0
- package/dist/system/worker.zod.js +479 -0
- package/dist/ui/action.zod.d.ts +118 -121
- package/dist/ui/action.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.d.ts +22 -290
- package/dist/ui/app.zod.d.ts.map +1 -1
- package/dist/ui/app.zod.js +1 -1
- package/dist/ui/chart.zod.d.ts +64 -18
- package/dist/ui/chart.zod.d.ts.map +1 -1
- package/dist/ui/component.zod.d.ts +86 -200
- package/dist/ui/component.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.d.ts +149 -249
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/page.zod.d.ts +117 -144
- package/dist/ui/page.zod.d.ts.map +1 -1
- package/dist/ui/page.zod.js +1 -1
- package/dist/ui/report.zod.d.ts +134 -179
- package/dist/ui/report.zod.d.ts.map +1 -1
- package/dist/ui/theme.zod.d.ts +42 -944
- package/dist/ui/theme.zod.d.ts.map +1 -1
- package/dist/ui/theme.zod.js +1 -1
- package/dist/ui/view.zod.d.ts +386 -2740
- package/dist/ui/view.zod.d.ts.map +1 -1
- package/dist/ui/view.zod.js +4 -4
- package/dist/ui/widget.zod.d.ts +201 -1593
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/dist/ui/widget.zod.js +8 -8
- package/json-schema/ai/AIKnowledge.json +1 -24
- package/json-schema/ai/AIModelConfig.json +1 -35
- package/json-schema/ai/AIOperationCost.json +1 -73
- package/json-schema/ai/AIOrchestration.json +1 -373
- package/json-schema/ai/AIOrchestrationExecutionResult.json +1 -131
- package/json-schema/ai/AIOrchestrationTrigger.json +1 -12
- package/json-schema/ai/AITask.json +1 -117
- package/json-schema/ai/AITaskType.json +1 -15
- package/json-schema/ai/AITool.json +1 -27
- package/json-schema/ai/Agent.json +1 -134
- package/json-schema/ai/AgentAction.json +1 -430
- package/json-schema/ai/AgentActionResult.json +1 -63
- package/json-schema/ai/AgentActionSequence.json +1 -486
- package/json-schema/ai/AgentActionSequenceResult.json +1 -137
- package/json-schema/ai/BatchAIOrchestrationExecution.json +1 -42
- package/json-schema/ai/BillingPeriod.json +1 -12
- package/json-schema/ai/BudgetLimit.json +1 -105
- package/json-schema/ai/BudgetStatus.json +1 -85
- package/json-schema/ai/BudgetType.json +1 -11
- package/json-schema/ai/CICDPipelineConfig.json +7 -0
- package/json-schema/ai/ChunkingStrategy.json +1 -127
- package/json-schema/ai/CodeGenerationConfig.json +7 -0
- package/json-schema/ai/CodeGenerationTarget.json +7 -0
- package/json-schema/ai/ComponentActionParams.json +1 -71
- package/json-schema/ai/ComponentActionType.json +1 -14
- package/json-schema/ai/ConversationAnalytics.json +1 -80
- package/json-schema/ai/ConversationContext.json +1 -42
- package/json-schema/ai/ConversationMessage.json +1 -213
- package/json-schema/ai/ConversationSession.json +1 -494
- package/json-schema/ai/ConversationSummary.json +1 -67
- package/json-schema/ai/CostAlert.json +1 -101
- package/json-schema/ai/CostAlertType.json +1 -10
- package/json-schema/ai/CostAnalytics.json +1 -583
- package/json-schema/ai/CostBreakdownDimension.json +1 -14
- package/json-schema/ai/CostBreakdownEntry.json +1 -54
- package/json-schema/ai/CostEntry.json +1 -100
- package/json-schema/ai/CostMetricType.json +1 -11
- package/json-schema/ai/CostOptimizationRecommendation.json +1 -94
- package/json-schema/ai/CostQueryFilters.json +1 -106
- package/json-schema/ai/CostReport.json +1 -958
- package/json-schema/ai/DataActionParams.json +1 -32
- package/json-schema/ai/DataActionType.json +1 -12
- package/json-schema/ai/DeploymentStrategy.json +7 -0
- package/json-schema/ai/DevOpsAgent.json +7 -0
- package/json-schema/ai/DevOpsTool.json +7 -0
- package/json-schema/ai/DevelopmentConfig.json +7 -0
- package/json-schema/ai/DocumentChunk.json +1 -91
- package/json-schema/ai/DocumentLoaderConfig.json +1 -63
- package/json-schema/ai/DocumentMetadata.json +1 -55
- package/json-schema/ai/EmbeddingModel.json +1 -51
- package/json-schema/ai/Entity.json +1 -49
- package/json-schema/ai/EvaluationMetrics.json +1 -58
- package/json-schema/ai/FieldSynonymConfig.json +1 -33
- package/json-schema/ai/FormActionParams.json +1 -30
- package/json-schema/ai/FormActionType.json +1 -14
- package/json-schema/ai/FunctionCall.json +1 -22
- package/json-schema/ai/GitHubIntegration.json +7 -0
- package/json-schema/ai/Hyperparameters.json +1 -74
- package/json-schema/ai/IntegrationConfig.json +7 -0
- package/json-schema/ai/IntentActionMapping.json +1 -485
- package/json-schema/ai/MessageContent.json +1 -40
- package/json-schema/ai/MessageContentType.json +1 -10
- package/json-schema/ai/MessagePruningEvent.json +1 -86
- package/json-schema/ai/MessageRole.json +1 -10
- package/json-schema/ai/ModelCapability.json +1 -41
- package/json-schema/ai/ModelConfig.json +1 -175
- package/json-schema/ai/ModelDrift.json +1 -67
- package/json-schema/ai/ModelFeature.json +1 -65
- package/json-schema/ai/ModelLimits.json +1 -39
- package/json-schema/ai/ModelPricing.json +1 -22
- package/json-schema/ai/ModelProvider.json +1 -13
- package/json-schema/ai/ModelRegistry.json +1 -421
- package/json-schema/ai/ModelRegistryEntry.json +1 -233
- package/json-schema/ai/ModelSelectionCriteria.json +1 -44
- package/json-schema/ai/MonitoringConfig.json +7 -0
- package/json-schema/ai/NLQAnalytics.json +1 -100
- package/json-schema/ai/NLQFieldMapping.json +1 -34
- package/json-schema/ai/NLQModelConfig.json +1 -72
- package/json-schema/ai/NLQParseResult.json +1 -246
- package/json-schema/ai/NLQRequest.json +1 -104
- package/json-schema/ai/NLQResponse.json +1 -314
- package/json-schema/ai/NLQTrainingExample.json +1 -114
- package/json-schema/ai/NavigationActionParams.json +1 -50
- package/json-schema/ai/NavigationActionType.json +1 -15
- package/json-schema/ai/PipelineStage.json +7 -0
- package/json-schema/ai/PostProcessingAction.json +1 -35
- package/json-schema/ai/PredictionRequest.json +1 -33
- package/json-schema/ai/PredictionResult.json +1 -108
- package/json-schema/ai/PredictiveModel.json +1 -439
- package/json-schema/ai/PredictiveModelType.json +1 -12
- package/json-schema/ai/PromptTemplate.json +1 -157
- package/json-schema/ai/PromptVariable.json +1 -50
- package/json-schema/ai/QueryContext.json +1 -66
- package/json-schema/ai/QueryIntent.json +1 -15
- package/json-schema/ai/QueryTemplate.json +1 -75
- package/json-schema/ai/RAGPipelineConfig.json +1 -546
- package/json-schema/ai/RAGPipelineStatus.json +1 -60
- package/json-schema/ai/RAGQueryRequest.json +1 -58
- package/json-schema/ai/RAGQueryResponse.json +1 -135
- package/json-schema/ai/RerankingConfig.json +1 -28
- package/json-schema/ai/RetrievalStrategy.json +1 -115
- package/json-schema/ai/TestingConfig.json +7 -0
- package/json-schema/ai/Timeframe.json +1 -62
- package/json-schema/ai/TokenBudgetConfig.json +1 -86
- package/json-schema/ai/TokenBudgetStrategy.json +1 -10
- package/json-schema/ai/TokenUsage.json +1 -26
- package/json-schema/ai/TokenUsageStats.json +1 -60
- package/json-schema/ai/ToolCall.json +1 -43
- package/json-schema/ai/TrainingConfig.json +1 -82
- package/json-schema/ai/UIActionType.json +1 -57
- package/json-schema/ai/VectorStoreConfig.json +1 -76
- package/json-schema/ai/VectorStoreProvider.json +1 -15
- package/json-schema/ai/VercelIntegration.json +7 -0
- package/json-schema/ai/VersionManagement.json +7 -0
- package/json-schema/ai/ViewActionParams.json +1 -68
- package/json-schema/ai/ViewActionType.json +1 -15
- package/json-schema/ai/WorkflowActionParams.json +1 -55
- package/json-schema/ai/WorkflowActionType.json +1 -12
- package/json-schema/ai/WorkflowFieldCondition.json +1 -27
- package/json-schema/ai/WorkflowSchedule.json +1 -45
- package/json-schema/api/AckMessage.json +1 -40
- package/json-schema/api/ApiCapabilities.json +1 -22
- package/json-schema/api/ApiEndpoint.json +1 -159
- package/json-schema/api/ApiError.json +1 -21
- package/json-schema/api/ApiMapping.json +1 -22
- package/json-schema/api/ApiRoutes.json +1 -35
- package/json-schema/api/BaseResponse.json +1 -57
- package/json-schema/api/BatchConfig.json +7 -0
- package/json-schema/api/BatchDataRequest.json +1 -87
- package/json-schema/api/BatchDataResponse.json +1 -138
- package/json-schema/api/BatchEndpointsConfig.json +1 -50
- package/json-schema/api/BatchOperationResult.json +1 -51
- package/json-schema/api/BatchOperationType.json +1 -9
- package/json-schema/api/BatchOptions.json +1 -26
- package/json-schema/api/BatchRecord.json +1 -19
- package/json-schema/api/BatchUpdateRequest.json +1 -72
- package/json-schema/api/BatchUpdateResponse.json +1 -138
- package/json-schema/api/BulkRequest.json +1 -23
- package/json-schema/api/BulkResponse.json +1 -102
- package/json-schema/api/CacheControl.json +1 -36
- package/json-schema/api/CacheDirective.json +1 -11
- package/json-schema/api/CacheInvalidationRequest.json +1 -37
- package/json-schema/api/CacheInvalidationResponse.json +1 -25
- package/json-schema/api/CacheInvalidationTarget.json +1 -11
- package/json-schema/api/CreateDataRequest.json +1 -19
- package/json-schema/api/CreateDataResponse.json +1 -24
- package/json-schema/api/CreateManyDataRequest.json +1 -22
- package/json-schema/api/CreateManyDataResponse.json +1 -27
- package/json-schema/api/CreateRequest.json +1 -14
- package/json-schema/api/CreateViewRequest.json +1 -1036
- package/json-schema/api/CrudEndpointPattern.json +1 -35
- package/json-schema/api/CrudEndpointsConfig.json +1 -100
- package/json-schema/api/CrudOperation.json +1 -10
- package/json-schema/api/CursorMessage.json +1 -133
- package/json-schema/api/CursorPosition.json +1 -106
- package/json-schema/api/DeleteDataRequest.json +1 -18
- package/json-schema/api/DeleteDataResponse.json +1 -23
- package/json-schema/api/DeleteManyDataRequest.json +1 -48
- package/json-schema/api/DeleteManyDataResponse.json +1 -138
- package/json-schema/api/DeleteManyRequest.json +1 -45
- package/json-schema/api/DeleteResponse.json +1 -62
- package/json-schema/api/DeleteViewRequest.json +1 -13
- package/json-schema/api/DeleteViewResponse.json +1 -13
- package/json-schema/api/Discovery.json +1 -108
- package/json-schema/api/DocumentState.json +1 -43
- package/json-schema/api/ETag.json +1 -18
- package/json-schema/api/EditMessage.json +1 -129
- package/json-schema/api/EditOperation.json +1 -102
- package/json-schema/api/EditOperationType.json +1 -8
- package/json-schema/api/EndpointRegistry.json +1 -278
- package/json-schema/api/EnhancedApiError.json +1 -220
- package/json-schema/api/ErrorCategory.json +1 -14
- package/json-schema/api/ErrorMessage.json +1 -38
- package/json-schema/api/ErrorResponse.json +1 -253
- package/json-schema/api/EventFilter.json +1 -59
- package/json-schema/api/EventFilterCondition.json +1 -36
- package/json-schema/api/EventMessage.json +1 -49
- package/json-schema/api/EventPattern.json +1 -6
- package/json-schema/api/EventSubscription.json +1 -99
- package/json-schema/api/ExportRequest.json +1 -854
- package/json-schema/api/FieldError.json +1 -82
- package/json-schema/api/FilterOperator.json +1 -18
- package/json-schema/api/FindDataRequest.json +1 -503
- package/json-schema/api/FindDataResponse.json +1 -30
- package/json-schema/api/GeneratedEndpoint.json +1 -82
- package/json-schema/api/GetDataRequest.json +1 -18
- package/json-schema/api/GetDataResponse.json +1 -24
- package/json-schema/api/GetDiscoveryRequest.json +1 -5
- package/json-schema/api/GetDiscoveryResponse.json +1 -32
- package/json-schema/api/GetMetaItemCachedRequest.json +1 -71
- package/json-schema/api/GetMetaItemCachedResponse.json +1 -79
- package/json-schema/api/GetMetaItemRequest.json +1 -18
- package/json-schema/api/GetMetaItemResponse.json +1 -21
- package/json-schema/api/GetMetaItemsRequest.json +1 -13
- package/json-schema/api/GetMetaItemsResponse.json +1 -18
- package/json-schema/api/GetMetaTypesRequest.json +1 -5
- package/json-schema/api/GetMetaTypesResponse.json +1 -16
- package/json-schema/api/GetUiViewRequest.json +1 -22
- package/json-schema/api/GetUiViewResponse.json +1 -25
- package/json-schema/api/GetViewRequest.json +1 -13
- package/json-schema/api/GetViewResponse.json +1 -1097
- package/json-schema/api/GraphQLConfig.json +1 -1383
- package/json-schema/api/GraphQLDataLoaderConfig.json +1 -95
- package/json-schema/api/GraphQLDirectiveConfig.json +1 -102
- package/json-schema/api/GraphQLDirectiveLocation.json +1 -24
- package/json-schema/api/GraphQLMutationConfig.json +1 -174
- package/json-schema/api/GraphQLPersistedQuery.json +1 -145
- package/json-schema/api/GraphQLQueryComplexity.json +1 -77
- package/json-schema/api/GraphQLQueryConfig.json +1 -225
- package/json-schema/api/GraphQLQueryDepthLimit.json +1 -38
- package/json-schema/api/GraphQLRateLimit.json +1 -132
- package/json-schema/api/GraphQLResolverConfig.json +1 -92
- package/json-schema/api/GraphQLScalarType.json +1 -26
- package/json-schema/api/GraphQLSubscriptionConfig.json +1 -112
- package/json-schema/api/GraphQLTypeConfig.json +1 -107
- package/json-schema/api/HttpMethod.json +1 -12
- package/json-schema/api/ListRecordResponse.json +1 -97
- package/json-schema/api/ListViewsRequest.json +1 -52
- package/json-schema/api/ListViewsResponse.json +1 -1126
- package/json-schema/api/MetadataCacheRequest.json +1 -52
- package/json-schema/api/MetadataCacheResponse.json +1 -79
- package/json-schema/api/MetadataEndpointsConfig.json +1 -48
- package/json-schema/api/ModificationResult.json +1 -40
- package/json-schema/api/ODataConfig.json +7 -0
- package/json-schema/api/ODataError.json +1 -59
- package/json-schema/api/ODataFilterFunction.json +1 -33
- package/json-schema/api/ODataFilterOperator.json +1 -18
- package/json-schema/api/ODataMetadata.json +1 -109
- package/json-schema/api/ODataQuery.json +1 -83
- package/json-schema/api/ODataResponse.json +1 -31
- package/json-schema/api/ObjectStackProtocol.json +1 -5
- package/json-schema/api/PingMessage.json +1 -25
- package/json-schema/api/PongMessage.json +1 -30
- package/json-schema/api/Presence.json +1 -34
- package/json-schema/api/PresenceMessage.json +1 -86
- package/json-schema/api/PresenceState.json +1 -59
- package/json-schema/api/PresenceStatus.json +1 -8
- package/json-schema/api/PresenceUpdate.json +1 -29
- package/json-schema/api/RateLimit.json +1 -21
- package/json-schema/api/RealtimeAction.json +1 -8
- package/json-schema/api/RealtimeConfig.json +7 -0
- package/json-schema/api/RealtimeEvent.json +1 -45
- package/json-schema/api/RealtimeEventType.json +1 -9
- package/json-schema/api/RecordData.json +1 -5
- package/json-schema/api/RestApiConfig.json +1 -121
- package/json-schema/api/RestServerConfig.json +1 -395
- package/json-schema/api/RetryStrategy.json +1 -9
- package/json-schema/api/RouteCategory.json +1 -11
- package/json-schema/api/RouteDefinition.json +1 -71
- package/json-schema/api/RouteGenerationConfig.json +1 -65
- package/json-schema/api/RouterConfig.json +1 -124
- package/json-schema/api/SavedView.json +1 -1068
- package/json-schema/api/SimpleCursorPosition.json +1 -47
- package/json-schema/api/SimplePresenceState.json +1 -38
- package/json-schema/api/SingleRecordResponse.json +1 -63
- package/json-schema/api/StandardErrorCode.json +1 -56
- package/json-schema/api/SubscribeMessage.json +1 -126
- package/json-schema/api/Subscription.json +1 -59
- package/json-schema/api/SubscriptionEvent.json +1 -26
- package/json-schema/api/TransportProtocol.json +1 -8
- package/json-schema/api/UnsubscribeMessage.json +1 -41
- package/json-schema/api/UnsubscribeRequest.json +1 -14
- package/json-schema/api/UpdateDataRequest.json +1 -24
- package/json-schema/api/UpdateDataResponse.json +1 -24
- package/json-schema/api/UpdateManyDataRequest.json +1 -64
- package/json-schema/api/UpdateManyDataResponse.json +1 -138
- package/json-schema/api/UpdateManyRequest.json +1 -61
- package/json-schema/api/UpdateRequest.json +1 -14
- package/json-schema/api/UpdateViewRequest.json +1 -1035
- package/json-schema/api/ViewColumn.json +1 -52
- package/json-schema/api/ViewLayout.json +1 -119
- package/json-schema/api/ViewResponse.json +1 -1097
- package/json-schema/api/ViewType.json +1 -13
- package/json-schema/api/ViewVisibility.json +1 -9
- package/json-schema/api/WebSocketConfig.json +1 -57
- package/json-schema/api/WebSocketEvent.json +1 -34
- package/json-schema/api/WebSocketMessage.json +1 -701
- package/json-schema/api/WebSocketMessageType.json +1 -15
- package/json-schema/api/WebSocketPresenceStatus.json +1 -9
- package/json-schema/api/WebSocketServerConfig.json +1 -36
- package/json-schema/auth/APIKey.json +1 -28
- package/json-schema/auth/Account.json +1 -81
- package/json-schema/auth/AccountLinkingConfig.json +1 -21
- package/json-schema/auth/ApplicationAuthConfig.json +1 -835
- package/json-schema/auth/AuditPolicy.json +1 -25
- package/json-schema/auth/AuthConfig.json +1 -263
- package/json-schema/auth/AuthPluginConfig.json +1 -22
- package/json-schema/auth/AuthStrategy.json +1 -11
- package/json-schema/auth/BasicAuth.json +1 -24
- package/json-schema/auth/BearerAuth.json +1 -19
- package/json-schema/auth/CSRFConfig.json +1 -25
- package/json-schema/auth/DatabaseAdapter.json +1 -32
- package/json-schema/auth/DatabaseMapping.json +1 -42
- package/json-schema/auth/EmailPasswordConfig.json +1 -37
- package/json-schema/auth/EnterpriseAuthConfig.json +1 -166
- package/json-schema/auth/Invitation.json +1 -63
- package/json-schema/auth/InvitationStatus.json +1 -9
- package/json-schema/auth/JWTAuth.json +1 -60
- package/json-schema/auth/LDAPConfig.json +1 -50
- package/json-schema/auth/MagicLinkConfig.json +1 -15
- package/json-schema/auth/Member.json +1 -40
- package/json-schema/auth/NetworkPolicy.json +1 -25
- package/json-schema/auth/NoAuth.json +1 -14
- package/json-schema/auth/OAuth2.json +1 -56
- package/json-schema/auth/OAuthProvider.json +1 -60
- package/json-schema/auth/OIDCConfig.json +1 -55
- package/json-schema/auth/Organization.json +1 -46
- package/json-schema/auth/PasskeyConfig.json +1 -48
- package/json-schema/auth/PasswordPolicy.json +1 -35
- package/json-schema/auth/Policy.json +1 -132
- package/json-schema/auth/RateLimitConfig.json +1 -30
- package/json-schema/auth/Role.json +1 -27
- package/json-schema/auth/SAMLAuth.json +1 -58
- package/json-schema/auth/SAMLConfig.json +1 -52
- package/json-schema/auth/SCIMAddress.json +1 -44
- package/json-schema/auth/SCIMEmail.json +1 -32
- package/json-schema/auth/SCIMEnterpriseUser.json +1 -49
- package/json-schema/auth/SCIMError.json +1 -46
- package/json-schema/auth/SCIMGroup.json +1 -96
- package/json-schema/auth/SCIMGroupReference.json +1 -30
- package/json-schema/auth/SCIMListResponse.json +1 -600
- package/json-schema/auth/SCIMMemberReference.json +1 -30
- package/json-schema/auth/SCIMMeta.json +1 -29
- package/json-schema/auth/SCIMName.json +1 -30
- package/json-schema/auth/SCIMPatchOperation.json +1 -25
- package/json-schema/auth/SCIMPatchRequest.json +1 -50
- package/json-schema/auth/SCIMPhoneNumber.json +1 -34
- package/json-schema/auth/SCIMUser.json +1 -456
- package/json-schema/auth/Session.json +1 -57
- package/json-schema/auth/SessionConfig.json +1 -50
- package/json-schema/auth/SessionPolicy.json +1 -21
- package/json-schema/auth/StandardAuthProvider.json +1 -851
- package/json-schema/auth/TwoFactorConfig.json +1 -34
- package/json-schema/auth/User.json +1 -45
- package/json-schema/auth/UserFieldMapping.json +1 -41
- package/json-schema/auth/VerificationToken.json +1 -30
- package/json-schema/automation/ApprovalAction.json +1 -29
- package/json-schema/automation/ApprovalActionType.json +1 -9
- package/json-schema/automation/ApprovalProcess.json +1 -320
- package/json-schema/automation/ApprovalStep.json +1 -141
- package/json-schema/automation/ApproverType.json +1 -10
- package/json-schema/automation/AuthField.json +1 -67
- package/json-schema/automation/Authentication.json +1 -153
- package/json-schema/automation/AuthenticationType.json +1 -12
- package/json-schema/automation/ConflictResolution.json +1 -10
- package/json-schema/automation/Connector.json +1 -434
- package/json-schema/automation/ConnectorCategory.json +1 -20
- package/json-schema/automation/ConnectorInstance.json +1 -63
- package/json-schema/automation/ConnectorOperation.json +1 -111
- package/json-schema/automation/ConnectorTrigger.json +1 -48
- package/json-schema/automation/CustomScriptAction.json +1 -43
- package/json-schema/automation/DataDestinationConfig.json +1 -189
- package/json-schema/automation/DataSourceConfig.json +1 -28
- package/json-schema/automation/DataSyncConfig.json +1 -455
- package/json-schema/automation/ETLDestination.json +1 -51
- package/json-schema/automation/ETLEndpointType.json +1 -13
- package/json-schema/automation/ETLPipeline.json +1 -246
- package/json-schema/automation/ETLPipelineRun.json +1 -101
- package/json-schema/automation/ETLRunStatus.json +1 -11
- package/json-schema/automation/ETLSource.json +1 -54
- package/json-schema/automation/ETLSyncMode.json +1 -8
- package/json-schema/automation/ETLTransformation.json +1 -40
- package/json-schema/automation/ETLTransformationType.json +1 -15
- package/json-schema/automation/EmailAlertAction.json +1 -31
- package/json-schema/automation/FieldUpdateAction.json +1 -26
- package/json-schema/automation/Flow.json +1 -210
- package/json-schema/automation/FlowEdge.json +1 -40
- package/json-schema/automation/FlowNode.json +1 -59
- package/json-schema/automation/FlowNodeAction.json +1 -18
- package/json-schema/automation/FlowVariable.json +1 -28
- package/json-schema/automation/HttpCallAction.json +1 -75
- package/json-schema/automation/OAuth2Config.json +1 -37
- package/json-schema/automation/OperationParameter.json +1 -53
- package/json-schema/automation/OperationType.json +1 -11
- package/json-schema/automation/PushNotificationAction.json +1 -53
- package/json-schema/automation/SlackMessageAction.json +1 -39
- package/json-schema/automation/SmsNotificationAction.json +1 -44
- package/json-schema/automation/SyncDirection.json +1 -8
- package/json-schema/automation/SyncExecutionResult.json +1 -129
- package/json-schema/automation/SyncExecutionStatus.json +1 -11
- package/json-schema/automation/SyncMode.json +1 -8
- package/json-schema/automation/TaskCreationAction.json +1 -53
- package/json-schema/automation/TeamsMessageAction.json +1 -39
- package/json-schema/automation/TimeTrigger.json +1 -648
- package/json-schema/automation/Webhook.json +1 -167
- package/json-schema/automation/WebhookReceiver.json +1 -62
- package/json-schema/automation/WebhookTriggerAction.json +1 -187
- package/json-schema/automation/WebhookTriggerType.json +1 -10
- package/json-schema/automation/WorkflowAction.json +1 -594
- package/json-schema/automation/WorkflowRule.json +1 -1296
- package/json-schema/automation/WorkflowTriggerType.json +1 -10
- package/json-schema/data/Address.json +1 -34
- package/json-schema/data/AggregationFunction.json +1 -13
- package/json-schema/data/AggregationNode.json +1 -59
- package/json-schema/data/AggregationPipeline.json +1 -93
- package/json-schema/data/AggregationStage.json +1 -19
- package/json-schema/data/ApiMethod.json +1 -19
- package/json-schema/data/AsyncValidation.json +1 -111
- package/json-schema/data/CDCConfig.json +1 -31
- package/json-schema/data/ComparisonOperator.json +1 -102
- package/json-schema/data/ComputedFieldCache.json +1 -27
- package/json-schema/data/ConditionalValidation.json +1 -1434
- package/json-schema/data/ConsistencyLevel.json +1 -11
- package/json-schema/data/CrossFieldValidation.json +1 -81
- package/json-schema/data/CurrencyConfig.json +1 -29
- package/json-schema/data/CurrencyValue.json +1 -20
- package/json-schema/data/CustomValidator.json +1 -78
- package/json-schema/data/DataEngineAggregateOptions.json +1 -74
- package/json-schema/data/DataEngineAggregateRequest.json +1 -92
- package/json-schema/data/DataEngineBatchRequest.json +1 -693
- package/json-schema/data/DataEngineContract.json +1 -6
- package/json-schema/data/DataEngineCountOptions.json +1 -38
- package/json-schema/data/DataEngineCountRequest.json +1 -55
- package/json-schema/data/DataEngineDeleteOptions.json +1 -42
- package/json-schema/data/DataEngineDeleteRequest.json +1 -62
- package/json-schema/data/DataEngineExecuteRequest.json +1 -18
- package/json-schema/data/DataEngineFilter.json +1 -31
- package/json-schema/data/DataEngineFindOneRequest.json +1 -127
- package/json-schema/data/DataEngineFindRequest.json +1 -127
- package/json-schema/data/DataEngineInsertOptions.json +1 -11
- package/json-schema/data/DataEngineInsertRequest.json +1 -44
- package/json-schema/data/DataEngineQueryOptions.json +1 -110
- package/json-schema/data/DataEngineRequest.json +1 -1366
- package/json-schema/data/DataEngineSort.json +1 -48
- package/json-schema/data/DataEngineUpdateOptions.json +1 -50
- package/json-schema/data/DataEngineUpdateRequest.json +1 -75
- package/json-schema/data/DataEngineVectorFindRequest.json +1 -68
- package/json-schema/data/DataQualityRules.json +1 -39
- package/json-schema/data/DataTypeMapping.json +1 -45
- package/json-schema/data/Dataset.json +1 -57
- package/json-schema/data/DatasetMode.json +1 -10
- package/json-schema/data/Document.json +1 -286
- package/json-schema/data/DocumentTemplate.json +1 -72
- package/json-schema/data/DocumentValidationSchema.json +1 -33
- package/json-schema/data/DocumentVersion.json +1 -44
- package/json-schema/data/DriverCapabilities.json +1 -174
- package/json-schema/data/DriverConfig.json +1 -237
- package/json-schema/data/DriverInterface.json +1 -193
- package/json-schema/data/DriverOptions.json +1 -28
- package/json-schema/data/ESignatureConfig.json +1 -68
- package/json-schema/data/EqualityOperator.json +1 -8
- package/json-schema/data/ExternalDataSource.json +1 -62
- package/json-schema/data/ExternalFieldMapping.json +1 -145
- package/json-schema/data/ExternalLookup.json +1 -321
- package/json-schema/data/Field.json +1 -855
- package/json-schema/data/FieldMapping.json +1 -77
- package/json-schema/data/FieldNode.json +1 -26
- package/json-schema/data/FieldOperators.json +1 -180
- package/json-schema/data/FieldReference.json +1 -13
- package/json-schema/data/FieldType.json +1 -49
- package/json-schema/data/FileAttachmentConfig.json +1 -213
- package/json-schema/data/FilterCondition.json +1 -22
- package/json-schema/data/FormatValidation.json +1 -84
- package/json-schema/data/FullTextSearch.json +1 -54
- package/json-schema/data/Hook.json +1 -89
- package/json-schema/data/HookContext.json +1 -82
- package/json-schema/data/HookEvent.json +1 -23
- package/json-schema/data/Index.json +1 -41
- package/json-schema/data/JSONValidation.json +1 -79
- package/json-schema/data/JoinNode.json +1 -488
- package/json-schema/data/JoinStrategy.json +1 -9
- package/json-schema/data/JoinType.json +1 -9
- package/json-schema/data/LocationCoordinates.json +1 -30
- package/json-schema/data/Mapping.json +1 -633
- package/json-schema/data/NoSQLDataTypeMapping.json +1 -57
- package/json-schema/data/NoSQLDatabaseType.json +1 -13
- package/json-schema/data/NoSQLDriverConfig.json +1 -446
- package/json-schema/data/NoSQLIndex.json +1 -81
- package/json-schema/data/NoSQLIndexType.json +1 -13
- package/json-schema/data/NoSQLOperationType.json +1 -16
- package/json-schema/data/NoSQLQueryOptions.json +1 -55
- package/json-schema/data/NoSQLTransactionOptions.json +1 -41
- package/json-schema/data/NormalizedFilter.json +1 -576
- package/json-schema/data/Object.json +1 -2679
- package/json-schema/data/ObjectCapabilities.json +1 -74
- package/json-schema/data/PartitioningConfig.json +1 -32
- package/json-schema/data/PoolConfig.json +1 -30
- package/json-schema/data/Query.json +1 -489
- package/json-schema/data/QueryFilter.json +1 -28
- package/json-schema/data/RangeOperator.json +1 -61
- package/json-schema/data/ReplicationConfig.json +1 -40
- package/json-schema/data/SQLDialect.json +1 -11
- package/json-schema/data/SQLDriverConfig.json +1 -319
- package/json-schema/data/SSLConfig.json +1 -23
- package/json-schema/data/ScriptValidation.json +1 -73
- package/json-schema/data/SearchConfig.json +1 -30
- package/json-schema/data/SelectOption.json +1 -28
- package/json-schema/data/SetOperator.json +1 -12
- package/json-schema/data/ShardingConfig.json +1 -29
- package/json-schema/data/SoftDeleteConfig.json +1 -23
- package/json-schema/data/SortNode.json +1 -20
- package/json-schema/data/SpecialOperator.json +1 -12
- package/json-schema/data/StateMachineValidation.json +1 -84
- package/json-schema/data/StringOperator.json +1 -15
- package/json-schema/data/TenancyConfig.json +1 -33
- package/json-schema/data/TransformType.json +1 -12
- package/json-schema/data/UniquenessValidation.json +1 -84
- package/json-schema/data/ValidationRule.json +1 -1435
- package/json-schema/data/VectorConfig.json +1 -45
- package/json-schema/data/VersioningConfig.json +1 -33
- package/json-schema/data/WindowFunction.json +1 -18
- package/json-schema/data/WindowFunctionNode.json +1 -98
- package/json-schema/data/WindowSpec.json +1 -59
- package/json-schema/hub/BillOfMaterials.json +1 -64
- package/json-schema/hub/ComposerRequest.json +1 -80
- package/json-schema/hub/ComposerResponse.json +1 -885
- package/json-schema/hub/ConflictReport.json +1 -47
- package/json-schema/hub/DatabaseLevelIsolationStrategy.json +1 -133
- package/json-schema/hub/DependencyRequirement.json +1 -30
- package/json-schema/hub/DeploymentTarget.json +1 -32
- package/json-schema/hub/Feature.json +1 -45
- package/json-schema/hub/HubSpace.json +1 -273
- package/json-schema/hub/LevelIsolationStrategySchema.json +1 -87
- package/json-schema/hub/License.json +1 -59
- package/json-schema/hub/MarketplacePlugin.json +1 -135
- package/json-schema/hub/MetricType.json +1 -8
- package/json-schema/hub/Plan.json +1 -47
- package/json-schema/hub/PluginAuthor.json +1 -20
- package/json-schema/hub/PluginInstallConfig.json +1 -47
- package/json-schema/hub/PluginPricing.json +1 -37
- package/json-schema/hub/PluginQualityMetrics.json +1 -95
- package/json-schema/hub/PluginRegistryEntry.json +1 -827
- package/json-schema/hub/PluginSearchFilters.json +1 -85
- package/json-schema/hub/PluginStatistics.json +1 -78
- package/json-schema/hub/PluginVendor.json +1 -41
- package/json-schema/hub/RowLevelIsolationStrategy.json +1 -68
- package/json-schema/hub/SpaceSubscription.json +1 -71
- package/json-schema/hub/SubscriptionStatus.json +1 -10
- package/json-schema/hub/Tenant.json +1 -53
- package/json-schema/hub/TenantIsolationConfig.json +1 -292
- package/json-schema/hub/TenantIsolationLevel.json +1 -8
- package/json-schema/hub/TenantQuota.json +1 -21
- package/json-schema/hub/TenantSecurityPolicy.json +1 -109
- package/json-schema/integration/AckMode.json +1 -9
- package/json-schema/integration/ApiVersionConfig.json +1 -26
- package/json-schema/integration/Authentication.json +1 -263
- package/json-schema/integration/BuildConfig.json +7 -0
- package/json-schema/integration/CdcConfig.json +1 -49
- package/json-schema/integration/ConflictResolution.json +1 -10
- package/json-schema/integration/Connector.json +1 -913
- package/json-schema/integration/ConnectorStatus.json +1 -10
- package/json-schema/integration/ConnectorType.json +1 -12
- package/json-schema/integration/ConsumerConfig.json +1 -61
- package/json-schema/integration/DataSyncConfig.json +1 -73
- package/json-schema/integration/DatabaseConnector.json +1 -1366
- package/json-schema/integration/DatabasePoolConfig.json +1 -47
- package/json-schema/integration/DatabaseProvider.json +1 -18
- package/json-schema/integration/DatabaseTable.json +1 -210
- package/json-schema/integration/DeliveryGuarantee.json +1 -9
- package/json-schema/integration/DeploymentConfig.json +7 -0
- package/json-schema/integration/DlqConfig.json +1 -31
- package/json-schema/integration/DomainConfig.json +7 -0
- package/json-schema/integration/EdgeFunctionConfig.json +7 -0
- package/json-schema/integration/EnvironmentVariables.json +7 -0
- package/json-schema/integration/FieldMapping.json +1 -164
- package/json-schema/integration/FieldTransform.json +1 -30
- package/json-schema/integration/FileAccessPattern.json +1 -11
- package/json-schema/integration/FileFilterConfig.json +1 -44
- package/json-schema/integration/FileMetadataConfig.json +1 -35
- package/json-schema/integration/FileStorageConnector.json +1 -1234
- package/json-schema/integration/FileStorageProvider.json +1 -17
- package/json-schema/integration/FileVersioningConfig.json +1 -22
- package/json-schema/integration/GitHubActionsWorkflow.json +7 -0
- package/json-schema/integration/GitHubCommitConfig.json +7 -0
- package/json-schema/integration/GitHubConnector.json +7 -0
- package/json-schema/integration/GitHubIssueTracking.json +7 -0
- package/json-schema/integration/GitHubProvider.json +7 -0
- package/json-schema/integration/GitHubPullRequestConfig.json +7 -0
- package/json-schema/integration/GitHubReleaseConfig.json +7 -0
- package/json-schema/integration/GitHubRepository.json +7 -0
- package/json-schema/integration/GitRepositoryConfig.json +7 -0
- package/json-schema/integration/MessageFormat.json +1 -12
- package/json-schema/integration/MessageQueueConnector.json +1 -1319
- package/json-schema/integration/MessageQueueProvider.json +1 -19
- package/json-schema/integration/MultipartUploadConfig.json +1 -30
- package/json-schema/integration/ProducerConfig.json +1 -66
- package/json-schema/integration/RateLimitConfig.json +1 -63
- package/json-schema/integration/RateLimitStrategy.json +1 -10
- package/json-schema/integration/RetryConfig.json +1 -67
- package/json-schema/integration/RetryStrategy.json +1 -10
- package/json-schema/integration/SaasConnector.json +1 -1261
- package/json-schema/integration/SaasObjectType.json +1 -212
- package/json-schema/integration/SaasProvider.json +1 -18
- package/json-schema/integration/SslConfig.json +1 -28
- package/json-schema/integration/StorageBucket.json +1 -93
- package/json-schema/integration/SyncStrategy.json +1 -10
- package/json-schema/integration/TopicQueue.json +1 -246
- package/json-schema/integration/VercelConnector.json +7 -0
- package/json-schema/integration/VercelFramework.json +7 -0
- package/json-schema/integration/VercelMonitoring.json +7 -0
- package/json-schema/integration/VercelProject.json +7 -0
- package/json-schema/integration/VercelProvider.json +7 -0
- package/json-schema/integration/VercelTeam.json +7 -0
- package/json-schema/integration/WebhookConfig.json +1 -195
- package/json-schema/integration/WebhookEvent.json +1 -14
- package/json-schema/integration/WebhookSignatureAlgorithm.json +1 -9
- package/json-schema/permission/CriteriaSharingRule.json +1 -76
- package/json-schema/permission/FieldPermission.json +1 -16
- package/json-schema/permission/OWDModel.json +1 -9
- package/json-schema/permission/ObjectPermission.json +1 -51
- package/json-schema/permission/OwnerSharingRule.json +1 -96
- package/json-schema/permission/PermissionSet.json +1 -187
- package/json-schema/permission/RLSConfig.json +1 -53
- package/json-schema/permission/RLSEvaluationResult.json +1 -34
- package/json-schema/permission/RLSOperation.json +1 -10
- package/json-schema/permission/RLSUserContext.json +1 -45
- package/json-schema/permission/RowLevelSecurityPolicy.json +1 -71
- package/json-schema/permission/ShareRecipientType.json +1 -10
- package/json-schema/permission/SharingLevel.json +1 -8
- package/json-schema/permission/SharingRule.json +1 -176
- package/json-schema/permission/SharingRuleType.json +1 -7
- package/json-schema/permission/Territory.json +1 -73
- package/json-schema/permission/TerritoryModel.json +1 -28
- package/json-schema/permission/TerritoryType.json +1 -9
- package/json-schema/shared/CorsConfig.json +1 -51
- package/json-schema/shared/EventName.json +1 -6
- package/json-schema/shared/FieldMapping.json +1 -136
- package/json-schema/shared/HttpMethod.json +1 -12
- package/json-schema/shared/RateLimitConfig.json +1 -21
- package/json-schema/shared/SnakeCaseIdentifier.json +1 -6
- package/json-schema/shared/StaticMount.json +1 -22
- package/json-schema/shared/SystemIdentifier.json +1 -6
- package/json-schema/shared/TransformType.json +1 -114
- package/json-schema/system/AccessControlConfig.json +1 -100
- package/json-schema/system/AnalyzerConfig.json +1 -35
- package/json-schema/system/AuditConfig.json +1 -581
- package/json-schema/system/AuditEvent.json +1 -226
- package/json-schema/system/AuditEventActor.json +1 -42
- package/json-schema/system/AuditEventChange.json +1 -19
- package/json-schema/system/AuditEventFilter.json +1 -121
- package/json-schema/system/AuditEventSeverity.json +1 -13
- package/json-schema/system/AuditEventTarget.json +1 -27
- package/json-schema/system/AuditEventType.json +1 -47
- package/json-schema/system/AuditLogConfig.json +1 -42
- package/json-schema/system/AuditRetentionPolicy.json +1 -67
- package/json-schema/system/AuditStorageConfig.json +1 -54
- package/json-schema/system/AwarenessEvent.json +1 -45
- package/json-schema/system/AwarenessSession.json +1 -111
- package/json-schema/system/AwarenessUpdate.json +1 -29
- package/json-schema/system/AwarenessUserState.json +1 -71
- package/json-schema/system/BatchProgress.json +7 -0
- package/json-schema/system/BatchTask.json +7 -0
- package/json-schema/system/BucketConfig.json +1 -326
- package/json-schema/system/CRDTMergeResult.json +1 -289
- package/json-schema/system/CRDTState.json +1 -252
- package/json-schema/system/CRDTType.json +1 -14
- package/json-schema/system/CacheConfig.json +1 -115
- package/json-schema/system/CacheInvalidation.json +1 -37
- package/json-schema/system/CacheStrategy.json +1 -10
- package/json-schema/system/CacheTier.json +1 -46
- package/json-schema/system/CapabilityConformanceLevel.json +1 -10
- package/json-schema/system/ChangeImpact.json +1 -49
- package/json-schema/system/ChangePriority.json +1 -9
- package/json-schema/system/ChangeRequest.json +1 -307
- package/json-schema/system/ChangeStatus.json +1 -15
- package/json-schema/system/ChangeType.json +1 -9
- package/json-schema/system/CollaborationMode.json +1 -9
- package/json-schema/system/CollaborationSession.json +1 -569
- package/json-schema/system/CollaborationSessionConfig.json +1 -80
- package/json-schema/system/CollaborativeCursor.json +1 -183
- package/json-schema/system/ComplianceConfig.json +1 -196
- package/json-schema/system/ConsoleDestinationConfig.json +1 -23
- package/json-schema/system/ConsumerConfig.json +1 -28
- package/json-schema/system/CounterOperation.json +1 -24
- package/json-schema/system/CronSchedule.json +1 -23
- package/json-schema/system/CursorColorPreset.json +1 -15
- package/json-schema/system/CursorSelection.json +1 -60
- package/json-schema/system/CursorStyle.json +1 -53
- package/json-schema/system/CursorUpdate.json +1 -95
- package/json-schema/system/Datasource.json +1 -124
- package/json-schema/system/DatasourceCapabilities.json +1 -50
- package/json-schema/system/DeadLetterQueue.json +1 -20
- package/json-schema/system/DeadLetterQueueEntry.json +7 -0
- package/json-schema/system/DriverDefinition.json +1 -80
- package/json-schema/system/DriverType.json +1 -4
- package/json-schema/system/EmailTemplate.json +1 -63
- package/json-schema/system/EncryptionAlgorithm.json +1 -8
- package/json-schema/system/EncryptionConfig.json +1 -87
- package/json-schema/system/Event.json +1 -47
- package/json-schema/system/EventBusConfig.json +7 -0
- package/json-schema/system/EventHandler.json +1 -23
- package/json-schema/system/EventLogEntry.json +7 -0
- package/json-schema/system/EventMessageQueueConfig.json +7 -0
- package/json-schema/system/EventMetadata.json +1 -27
- package/json-schema/system/EventPersistence.json +1 -19
- package/json-schema/system/EventPhase.json +1 -9
- package/json-schema/system/EventPriority.json +7 -0
- package/json-schema/system/EventQueueConfig.json +7 -0
- package/json-schema/system/EventReplayConfig.json +7 -0
- package/json-schema/system/EventRoute.json +1 -21
- package/json-schema/system/EventSourcingConfig.json +7 -0
- package/json-schema/system/EventTypeDefinition.json +7 -0
- package/json-schema/system/EventWebhookConfig.json +7 -0
- package/json-schema/system/ExtendedLogLevel.json +1 -12
- package/json-schema/system/ExtensionPoint.json +1 -61
- package/json-schema/system/ExternalServiceDestinationConfig.json +1 -45
- package/json-schema/system/FacetConfig.json +1 -24
- package/json-schema/system/FeatureFlag.json +1 -81
- package/json-schema/system/FeatureStrategy.json +1 -10
- package/json-schema/system/FieldEncryption.json +1 -104
- package/json-schema/system/FileDestinationConfig.json +1 -50
- package/json-schema/system/FileMetadata.json +1 -44
- package/json-schema/system/GCounter.json +1 -22
- package/json-schema/system/GDPRConfig.json +1 -65
- package/json-schema/system/HIPAAConfig.json +1 -39
- package/json-schema/system/HealthStatus.json +1 -27
- package/json-schema/system/HistogramBucketConfig.json +1 -86
- package/json-schema/system/HookRegisteredEvent.json +1 -24
- package/json-schema/system/HookTriggeredEvent.json +1 -28
- package/json-schema/system/HttpDestinationConfig.json +1 -105
- package/json-schema/system/HttpServerConfig.json +1 -150
- package/json-schema/system/InAppNotification.json +1 -42
- package/json-schema/system/IntervalSchedule.json +1 -19
- package/json-schema/system/Job.json +1 -121
- package/json-schema/system/JobExecution.json +1 -43
- package/json-schema/system/JobExecutionStatus.json +1 -9
- package/json-schema/system/KernelContext.json +1 -56
- package/json-schema/system/KernelEventBase.json +1 -13
- package/json-schema/system/KernelReadyEvent.json +1 -23
- package/json-schema/system/KernelShutdownEvent.json +1 -17
- package/json-schema/system/KeyManagementProvider.json +1 -10
- package/json-schema/system/KeyRotationPolicy.json +1 -23
- package/json-schema/system/LWWRegister.json +1 -45
- package/json-schema/system/LifecycleAction.json +1 -9
- package/json-schema/system/LifecyclePolicyConfig.json +1 -78
- package/json-schema/system/LifecyclePolicyRule.json +1 -62
- package/json-schema/system/Locale.json +1 -4
- package/json-schema/system/LogDestination.json +1 -289
- package/json-schema/system/LogDestinationType.json +1 -20
- package/json-schema/system/LogEnrichmentConfig.json +1 -53
- package/json-schema/system/LogEntry.json +1 -57
- package/json-schema/system/LogFormat.json +1 -9
- package/json-schema/system/LogLevel.json +1 -11
- package/json-schema/system/LoggerConfig.json +1 -68
- package/json-schema/system/LoggingConfig.json +1 -607
- package/json-schema/system/Manifest.json +1 -797
- package/json-schema/system/MaskingConfig.json +1 -71
- package/json-schema/system/MaskingRule.json +1 -51
- package/json-schema/system/MaskingStrategy.json +1 -12
- package/json-schema/system/MessageQueueConfig.json +1 -137
- package/json-schema/system/MessageQueueProvider.json +1 -11
- package/json-schema/system/MetadataCollectionInfo.json +1 -47
- package/json-schema/system/MetadataExportOptions.json +1 -43
- package/json-schema/system/MetadataFormat.json +1 -9
- package/json-schema/system/MetadataImportOptions.json +1 -36
- package/json-schema/system/MetadataLoadOptions.json +1 -46
- package/json-schema/system/MetadataLoadResult.json +1 -80
- package/json-schema/system/MetadataLoaderContract.json +1 -42
- package/json-schema/system/MetadataManagerConfig.json +1 -102
- package/json-schema/system/MetadataSaveOptions.json +1 -58
- package/json-schema/system/MetadataSaveResult.json +1 -36
- package/json-schema/system/MetadataStats.json +1 -45
- package/json-schema/system/MetadataWatchEvent.json +1 -42
- package/json-schema/system/MetricAggregationConfig.json +1 -63
- package/json-schema/system/MetricAggregationType.json +1 -19
- package/json-schema/system/MetricDataPoint.json +1 -129
- package/json-schema/system/MetricDefinition.json +1 -187
- package/json-schema/system/MetricExportConfig.json +1 -87
- package/json-schema/system/MetricLabels.json +1 -7
- package/json-schema/system/MetricType.json +1 -10
- package/json-schema/system/MetricUnit.json +1 -26
- package/json-schema/system/MetricsConfig.json +1 -712
- package/json-schema/system/MiddlewareConfig.json +1 -64
- package/json-schema/system/MiddlewareType.json +1 -12
- package/json-schema/system/MultipartUploadConfig.json +1 -43
- package/json-schema/system/NotificationChannel.json +1 -12
- package/json-schema/system/NotificationConfig.json +1 -337
- package/json-schema/system/ORSet.json +1 -51
- package/json-schema/system/ORSetElement.json +1 -33
- package/json-schema/system/OTComponent.json +1 -70
- package/json-schema/system/OTOperation.json +1 -122
- package/json-schema/system/OTOperationType.json +1 -8
- package/json-schema/system/OTTransformResult.json +1 -144
- package/json-schema/system/ObjectMetadata.json +1 -84
- package/json-schema/system/ObjectStorageConfig.json +1 -469
- package/json-schema/system/OnceSchedule.json +1 -19
- package/json-schema/system/OpenTelemetryCompatibility.json +1 -190
- package/json-schema/system/OtelExporterType.json +1 -16
- package/json-schema/system/PCIDSSConfig.json +1 -41
- package/json-schema/system/PNCounter.json +1 -31
- package/json-schema/system/Plugin.json +1 -26
- package/json-schema/system/PluginCapability.json +1 -121
- package/json-schema/system/PluginCapabilityManifest.json +1 -404
- package/json-schema/system/PluginContext.json +1 -76
- package/json-schema/system/PluginDependency.json +1 -33
- package/json-schema/system/PluginErrorEvent.json +1 -40
- package/json-schema/system/PluginEventBase.json +1 -18
- package/json-schema/system/PluginInterface.json +1 -135
- package/json-schema/system/PluginLifecycle.json +1 -5
- package/json-schema/system/PluginLifecycleEventType.json +1 -25
- package/json-schema/system/PluginLifecyclePhaseEvent.json +1 -32
- package/json-schema/system/PluginMetadata.json +1 -31
- package/json-schema/system/PluginRegisteredEvent.json +1 -22
- package/json-schema/system/PluginStartupResult.json +1 -67
- package/json-schema/system/PresignedUrlConfig.json +1 -43
- package/json-schema/system/ProtocolFeature.json +1 -28
- package/json-schema/system/ProtocolReference.json +1 -50
- package/json-schema/system/ProtocolVersion.json +1 -24
- package/json-schema/system/PushNotification.json +1 -54
- package/json-schema/system/QueueConfig.json +7 -0
- package/json-schema/system/RealTimeNotificationConfig.json +7 -0
- package/json-schema/system/RetryPolicy.json +1 -24
- package/json-schema/system/RollbackPlan.json +1 -45
- package/json-schema/system/RouteHandlerMetadata.json +1 -79
- package/json-schema/system/RuntimeMode.json +1 -10
- package/json-schema/system/SMSTemplate.json +1 -30
- package/json-schema/system/SamplingDecision.json +1 -9
- package/json-schema/system/SamplingStrategyType.json +1 -14
- package/json-schema/system/Schedule.json +1 -65
- package/json-schema/system/ScopeConfig.json +1 -22
- package/json-schema/system/ScopeInfo.json +1 -33
- package/json-schema/system/SearchConfig.json +1 -189
- package/json-schema/system/SearchIndexConfig.json +1 -72
- package/json-schema/system/SearchProvider.json +1 -10
- package/json-schema/system/ServerCapabilities.json +1 -57
- package/json-schema/system/ServerEvent.json +1 -33
- package/json-schema/system/ServerEventType.json +1 -12
- package/json-schema/system/ServerStatus.json +1 -87
- package/json-schema/system/ServiceFactoryRegistration.json +1 -38
- package/json-schema/system/ServiceLevelIndicator.json +1 -99
- package/json-schema/system/ServiceLevelObjective.json +1 -164
- package/json-schema/system/ServiceMetadata.json +1 -37
- package/json-schema/system/ServiceRegisteredEvent.json +1 -22
- package/json-schema/system/ServiceRegistryConfig.json +1 -33
- package/json-schema/system/ServiceScopeType.json +1 -9
- package/json-schema/system/ServiceUnregisteredEvent.json +1 -18
- package/json-schema/system/Span.json +1 -381
- package/json-schema/system/SpanAttributeValue.json +1 -32
- package/json-schema/system/SpanAttributes.json +1 -36
- package/json-schema/system/SpanEvent.json +1 -56
- package/json-schema/system/SpanKind.json +1 -11
- package/json-schema/system/SpanLink.json +1 -104
- package/json-schema/system/SpanStatus.json +1 -9
- package/json-schema/system/StartupOptions.json +1 -30
- package/json-schema/system/StartupOrchestrationResult.json +1 -98
- package/json-schema/system/StorageAcl.json +1 -12
- package/json-schema/system/StorageClass.json +1 -11
- package/json-schema/system/StorageConnection.json +1 -56
- package/json-schema/system/StorageProvider.json +1 -15
- package/json-schema/system/StorageScope.json +1 -16
- package/json-schema/system/StructuredLogEntry.json +1 -185
- package/json-schema/system/SuspiciousActivityRule.json +1 -169
- package/json-schema/system/Task.json +7 -0
- package/json-schema/system/TaskExecutionResult.json +7 -0
- package/json-schema/system/TaskPriority.json +7 -0
- package/json-schema/system/TaskRetryPolicy.json +7 -0
- package/json-schema/system/TaskStatus.json +7 -0
- package/json-schema/system/TextCRDTOperation.json +1 -46
- package/json-schema/system/TextCRDTState.json +1 -99
- package/json-schema/system/TimeSeries.json +1 -63
- package/json-schema/system/TimeSeriesDataPoint.json +1 -27
- package/json-schema/system/TopicConfig.json +1 -33
- package/json-schema/system/TraceContext.json +1 -58
- package/json-schema/system/TraceContextPropagation.json +1 -73
- package/json-schema/system/TraceFlags.json +1 -6
- package/json-schema/system/TracePropagationFormat.json +1 -13
- package/json-schema/system/TraceSamplingConfig.json +1 -180
- package/json-schema/system/TraceState.json +1 -17
- package/json-schema/system/TracingConfig.json +1 -530
- package/json-schema/system/TranslationBundle.json +1 -72
- package/json-schema/system/TranslationData.json +1 -69
- package/json-schema/system/UserActivityStatus.json +1 -9
- package/json-schema/system/ValidationError.json +1 -22
- package/json-schema/system/ValidationResult.json +1 -65
- package/json-schema/system/ValidationWarning.json +1 -22
- package/json-schema/system/VectorClock.json +1 -17
- package/json-schema/system/WorkerConfig.json +7 -0
- package/json-schema/system/WorkerStats.json +7 -0
- package/json-schema/ui/Action.json +1 -180
- package/json-schema/ui/ActionParam.json +1 -89
- package/json-schema/ui/Animation.json +1 -50
- package/json-schema/ui/App.json +1 -302
- package/json-schema/ui/AppBranding.json +1 -18
- package/json-schema/ui/BorderRadius.json +1 -38
- package/json-schema/ui/Breakpoints.json +1 -30
- package/json-schema/ui/CalendarConfig.json +1 -22
- package/json-schema/ui/ChartConfig.json +1 -68
- package/json-schema/ui/ChartType.json +1 -34
- package/json-schema/ui/ColorPalette.json +1 -77
- package/json-schema/ui/Dashboard.json +1 -221
- package/json-schema/ui/DashboardNavItem.json +1 -38
- package/json-schema/ui/DashboardWidget.json +1 -193
- package/json-schema/ui/FieldWidgetProps.json +1 -892
- package/json-schema/ui/FormField.json +1 -55
- package/json-schema/ui/FormSection.json +1 -95
- package/json-schema/ui/FormView.json +1 -351
- package/json-schema/ui/GanttConfig.json +1 -26
- package/json-schema/ui/GroupNavItem.json +1 -38
- package/json-schema/ui/HttpMethod.json +1 -10
- package/json-schema/ui/HttpRequest.json +1 -40
- package/json-schema/ui/KanbanConfig.json +1 -25
- package/json-schema/ui/ListColumn.json +1 -51
- package/json-schema/ui/ListView.json +1 -398
- package/json-schema/ui/NavigationItem.json +1 -218
- package/json-schema/ui/ObjectNavItem.json +1 -42
- package/json-schema/ui/Page.json +1 -143
- package/json-schema/ui/PageCardProps.json +1 -26
- package/json-schema/ui/PageComponent.json +1 -60
- package/json-schema/ui/PageComponentType.json +1 -26
- package/json-schema/ui/PageHeaderProps.json +1 -33
- package/json-schema/ui/PageNavItem.json +1 -43
- package/json-schema/ui/PageRegion.json +1 -87
- package/json-schema/ui/PageTabsProps.json +1 -49
- package/json-schema/ui/PaginationConfig.json +1 -20
- package/json-schema/ui/RecordDetailsProps.json +1 -31
- package/json-schema/ui/RecordHighlightsProps.json +1 -18
- package/json-schema/ui/RecordRelatedListProps.json +1 -33
- package/json-schema/ui/Report.json +1 -250
- package/json-schema/ui/ReportChart.json +1 -82
- package/json-schema/ui/ReportColumn.json +1 -29
- package/json-schema/ui/ReportGrouping.json +1 -32
- package/json-schema/ui/ReportType.json +1 -9
- package/json-schema/ui/SelectionConfig.json +1 -16
- package/json-schema/ui/Shadow.json +1 -38
- package/json-schema/ui/Spacing.json +1 -58
- package/json-schema/ui/Theme.json +1 -537
- package/json-schema/ui/ThemeMode.json +1 -8
- package/json-schema/ui/Typography.json +1 -136
- package/json-schema/ui/UrlNavItem.json +1 -47
- package/json-schema/ui/View.json +1 -1512
- package/json-schema/ui/ViewData.json +1 -136
- package/json-schema/ui/WidgetEvent.json +1 -36
- package/json-schema/ui/WidgetLifecycle.json +1 -34
- package/json-schema/ui/WidgetManifest.json +1 -256
- package/json-schema/ui/WidgetProperty.json +1 -52
- package/json-schema/ui/ZIndex.json +1 -38
- package/package.json +13 -5
|
@@ -16,1153 +16,700 @@ import { z } from 'zod';
|
|
|
16
16
|
* Audit Event Type Enum
|
|
17
17
|
* Categorizes different types of auditable events in the system
|
|
18
18
|
*/
|
|
19
|
-
export declare const AuditEventType: z.ZodEnum<
|
|
19
|
+
export declare const AuditEventType: z.ZodEnum<{
|
|
20
|
+
"data.create": "data.create";
|
|
21
|
+
"data.read": "data.read";
|
|
22
|
+
"data.update": "data.update";
|
|
23
|
+
"data.delete": "data.delete";
|
|
24
|
+
"data.export": "data.export";
|
|
25
|
+
"data.import": "data.import";
|
|
26
|
+
"data.bulk_update": "data.bulk_update";
|
|
27
|
+
"data.bulk_delete": "data.bulk_delete";
|
|
28
|
+
"auth.login": "auth.login";
|
|
29
|
+
"auth.login_failed": "auth.login_failed";
|
|
30
|
+
"auth.logout": "auth.logout";
|
|
31
|
+
"auth.session_created": "auth.session_created";
|
|
32
|
+
"auth.session_expired": "auth.session_expired";
|
|
33
|
+
"auth.password_reset": "auth.password_reset";
|
|
34
|
+
"auth.password_changed": "auth.password_changed";
|
|
35
|
+
"auth.email_verified": "auth.email_verified";
|
|
36
|
+
"auth.mfa_enabled": "auth.mfa_enabled";
|
|
37
|
+
"auth.mfa_disabled": "auth.mfa_disabled";
|
|
38
|
+
"auth.account_locked": "auth.account_locked";
|
|
39
|
+
"auth.account_unlocked": "auth.account_unlocked";
|
|
40
|
+
"authz.permission_granted": "authz.permission_granted";
|
|
41
|
+
"authz.permission_revoked": "authz.permission_revoked";
|
|
42
|
+
"authz.role_assigned": "authz.role_assigned";
|
|
43
|
+
"authz.role_removed": "authz.role_removed";
|
|
44
|
+
"authz.role_created": "authz.role_created";
|
|
45
|
+
"authz.role_updated": "authz.role_updated";
|
|
46
|
+
"authz.role_deleted": "authz.role_deleted";
|
|
47
|
+
"authz.policy_created": "authz.policy_created";
|
|
48
|
+
"authz.policy_updated": "authz.policy_updated";
|
|
49
|
+
"authz.policy_deleted": "authz.policy_deleted";
|
|
50
|
+
"system.config_changed": "system.config_changed";
|
|
51
|
+
"system.plugin_installed": "system.plugin_installed";
|
|
52
|
+
"system.plugin_uninstalled": "system.plugin_uninstalled";
|
|
53
|
+
"system.backup_created": "system.backup_created";
|
|
54
|
+
"system.backup_restored": "system.backup_restored";
|
|
55
|
+
"system.integration_added": "system.integration_added";
|
|
56
|
+
"system.integration_removed": "system.integration_removed";
|
|
57
|
+
"security.access_denied": "security.access_denied";
|
|
58
|
+
"security.suspicious_activity": "security.suspicious_activity";
|
|
59
|
+
"security.data_breach": "security.data_breach";
|
|
60
|
+
"security.api_key_created": "security.api_key_created";
|
|
61
|
+
"security.api_key_revoked": "security.api_key_revoked";
|
|
62
|
+
}>;
|
|
20
63
|
export type AuditEventType = z.infer<typeof AuditEventType>;
|
|
21
64
|
/**
|
|
22
65
|
* Audit Event Severity Level
|
|
23
66
|
* Indicates the importance/criticality of an audit event
|
|
24
67
|
*/
|
|
25
|
-
export declare const AuditEventSeverity: z.ZodEnum<
|
|
68
|
+
export declare const AuditEventSeverity: z.ZodEnum<{
|
|
69
|
+
error: "error";
|
|
70
|
+
warning: "warning";
|
|
71
|
+
info: "info";
|
|
72
|
+
debug: "debug";
|
|
73
|
+
notice: "notice";
|
|
74
|
+
critical: "critical";
|
|
75
|
+
alert: "alert";
|
|
76
|
+
emergency: "emergency";
|
|
77
|
+
}>;
|
|
26
78
|
export type AuditEventSeverity = z.infer<typeof AuditEventSeverity>;
|
|
27
79
|
/**
|
|
28
80
|
* Audit Event Actor Schema
|
|
29
81
|
* Identifies who/what performed the action
|
|
30
82
|
*/
|
|
31
83
|
export declare const AuditEventActorSchema: z.ZodObject<{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
84
|
+
type: z.ZodEnum<{
|
|
85
|
+
user: "user";
|
|
86
|
+
system: "system";
|
|
87
|
+
service: "service";
|
|
88
|
+
api_client: "api_client";
|
|
89
|
+
integration: "integration";
|
|
90
|
+
}>;
|
|
39
91
|
id: z.ZodString;
|
|
40
|
-
/**
|
|
41
|
-
* Display name of the actor
|
|
42
|
-
*/
|
|
43
92
|
name: z.ZodOptional<z.ZodString>;
|
|
44
|
-
/**
|
|
45
|
-
* Email address (for user actors)
|
|
46
|
-
*/
|
|
47
93
|
email: z.ZodOptional<z.ZodString>;
|
|
48
|
-
/**
|
|
49
|
-
* IP address of the actor
|
|
50
|
-
*/
|
|
51
94
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
52
|
-
/**
|
|
53
|
-
* User agent string (for web/API requests)
|
|
54
|
-
*/
|
|
55
95
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
56
|
-
},
|
|
57
|
-
type: "user" | "system" | "service" | "api_client" | "integration";
|
|
58
|
-
id: string;
|
|
59
|
-
email?: string | undefined;
|
|
60
|
-
name?: string | undefined;
|
|
61
|
-
ipAddress?: string | undefined;
|
|
62
|
-
userAgent?: string | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
type: "user" | "system" | "service" | "api_client" | "integration";
|
|
65
|
-
id: string;
|
|
66
|
-
email?: string | undefined;
|
|
67
|
-
name?: string | undefined;
|
|
68
|
-
ipAddress?: string | undefined;
|
|
69
|
-
userAgent?: string | undefined;
|
|
70
|
-
}>;
|
|
96
|
+
}, z.core.$strip>;
|
|
71
97
|
export type AuditEventActor = z.infer<typeof AuditEventActorSchema>;
|
|
72
98
|
/**
|
|
73
99
|
* Audit Event Target Schema
|
|
74
100
|
* Identifies what was acted upon
|
|
75
101
|
*/
|
|
76
102
|
export declare const AuditEventTargetSchema: z.ZodObject<{
|
|
77
|
-
/**
|
|
78
|
-
* Target type (e.g., 'object', 'record', 'user', 'role', 'config')
|
|
79
|
-
*/
|
|
80
103
|
type: z.ZodString;
|
|
81
|
-
/**
|
|
82
|
-
* Unique identifier for the target
|
|
83
|
-
*/
|
|
84
104
|
id: z.ZodString;
|
|
85
|
-
/**
|
|
86
|
-
* Display name of the target
|
|
87
|
-
*/
|
|
88
105
|
name: z.ZodOptional<z.ZodString>;
|
|
89
|
-
/**
|
|
90
|
-
* Additional metadata about the target
|
|
91
|
-
*/
|
|
92
106
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
|
-
},
|
|
94
|
-
type: string;
|
|
95
|
-
id: string;
|
|
96
|
-
name?: string | undefined;
|
|
97
|
-
metadata?: Record<string, any> | undefined;
|
|
98
|
-
}, {
|
|
99
|
-
type: string;
|
|
100
|
-
id: string;
|
|
101
|
-
name?: string | undefined;
|
|
102
|
-
metadata?: Record<string, any> | undefined;
|
|
103
|
-
}>;
|
|
107
|
+
}, z.core.$strip>;
|
|
104
108
|
export type AuditEventTarget = z.infer<typeof AuditEventTargetSchema>;
|
|
105
109
|
/**
|
|
106
110
|
* Audit Event Change Schema
|
|
107
111
|
* Describes what changed (for update operations)
|
|
108
112
|
*/
|
|
109
113
|
export declare const AuditEventChangeSchema: z.ZodObject<{
|
|
110
|
-
/**
|
|
111
|
-
* Field/property that changed
|
|
112
|
-
*/
|
|
113
114
|
field: z.ZodString;
|
|
114
|
-
/**
|
|
115
|
-
* Value before the change
|
|
116
|
-
*/
|
|
117
115
|
oldValue: z.ZodOptional<z.ZodAny>;
|
|
118
|
-
/**
|
|
119
|
-
* Value after the change
|
|
120
|
-
*/
|
|
121
116
|
newValue: z.ZodOptional<z.ZodAny>;
|
|
122
|
-
},
|
|
123
|
-
field: string;
|
|
124
|
-
oldValue?: any;
|
|
125
|
-
newValue?: any;
|
|
126
|
-
}, {
|
|
127
|
-
field: string;
|
|
128
|
-
oldValue?: any;
|
|
129
|
-
newValue?: any;
|
|
130
|
-
}>;
|
|
117
|
+
}, z.core.$strip>;
|
|
131
118
|
export type AuditEventChange = z.infer<typeof AuditEventChangeSchema>;
|
|
132
119
|
/**
|
|
133
120
|
* Audit Event Schema
|
|
134
121
|
* Complete audit event record
|
|
135
122
|
*/
|
|
136
123
|
export declare const AuditEventSchema: z.ZodObject<{
|
|
137
|
-
/**
|
|
138
|
-
* Unique identifier for this audit event
|
|
139
|
-
*/
|
|
140
124
|
id: z.ZodString;
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
125
|
+
eventType: z.ZodEnum<{
|
|
126
|
+
"data.create": "data.create";
|
|
127
|
+
"data.read": "data.read";
|
|
128
|
+
"data.update": "data.update";
|
|
129
|
+
"data.delete": "data.delete";
|
|
130
|
+
"data.export": "data.export";
|
|
131
|
+
"data.import": "data.import";
|
|
132
|
+
"data.bulk_update": "data.bulk_update";
|
|
133
|
+
"data.bulk_delete": "data.bulk_delete";
|
|
134
|
+
"auth.login": "auth.login";
|
|
135
|
+
"auth.login_failed": "auth.login_failed";
|
|
136
|
+
"auth.logout": "auth.logout";
|
|
137
|
+
"auth.session_created": "auth.session_created";
|
|
138
|
+
"auth.session_expired": "auth.session_expired";
|
|
139
|
+
"auth.password_reset": "auth.password_reset";
|
|
140
|
+
"auth.password_changed": "auth.password_changed";
|
|
141
|
+
"auth.email_verified": "auth.email_verified";
|
|
142
|
+
"auth.mfa_enabled": "auth.mfa_enabled";
|
|
143
|
+
"auth.mfa_disabled": "auth.mfa_disabled";
|
|
144
|
+
"auth.account_locked": "auth.account_locked";
|
|
145
|
+
"auth.account_unlocked": "auth.account_unlocked";
|
|
146
|
+
"authz.permission_granted": "authz.permission_granted";
|
|
147
|
+
"authz.permission_revoked": "authz.permission_revoked";
|
|
148
|
+
"authz.role_assigned": "authz.role_assigned";
|
|
149
|
+
"authz.role_removed": "authz.role_removed";
|
|
150
|
+
"authz.role_created": "authz.role_created";
|
|
151
|
+
"authz.role_updated": "authz.role_updated";
|
|
152
|
+
"authz.role_deleted": "authz.role_deleted";
|
|
153
|
+
"authz.policy_created": "authz.policy_created";
|
|
154
|
+
"authz.policy_updated": "authz.policy_updated";
|
|
155
|
+
"authz.policy_deleted": "authz.policy_deleted";
|
|
156
|
+
"system.config_changed": "system.config_changed";
|
|
157
|
+
"system.plugin_installed": "system.plugin_installed";
|
|
158
|
+
"system.plugin_uninstalled": "system.plugin_uninstalled";
|
|
159
|
+
"system.backup_created": "system.backup_created";
|
|
160
|
+
"system.backup_restored": "system.backup_restored";
|
|
161
|
+
"system.integration_added": "system.integration_added";
|
|
162
|
+
"system.integration_removed": "system.integration_removed";
|
|
163
|
+
"security.access_denied": "security.access_denied";
|
|
164
|
+
"security.suspicious_activity": "security.suspicious_activity";
|
|
165
|
+
"security.data_breach": "security.data_breach";
|
|
166
|
+
"security.api_key_created": "security.api_key_created";
|
|
167
|
+
"security.api_key_revoked": "security.api_key_revoked";
|
|
168
|
+
}>;
|
|
169
|
+
severity: z.ZodDefault<z.ZodEnum<{
|
|
170
|
+
error: "error";
|
|
171
|
+
warning: "warning";
|
|
172
|
+
info: "info";
|
|
173
|
+
debug: "debug";
|
|
174
|
+
notice: "notice";
|
|
175
|
+
critical: "critical";
|
|
176
|
+
alert: "alert";
|
|
177
|
+
emergency: "emergency";
|
|
178
|
+
}>>;
|
|
152
179
|
timestamp: z.ZodString;
|
|
153
|
-
/**
|
|
154
|
-
* Who/what performed the action
|
|
155
|
-
*/
|
|
156
180
|
actor: z.ZodObject<{
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
181
|
+
type: z.ZodEnum<{
|
|
182
|
+
user: "user";
|
|
183
|
+
system: "system";
|
|
184
|
+
service: "service";
|
|
185
|
+
api_client: "api_client";
|
|
186
|
+
integration: "integration";
|
|
187
|
+
}>;
|
|
164
188
|
id: z.ZodString;
|
|
165
|
-
/**
|
|
166
|
-
* Display name of the actor
|
|
167
|
-
*/
|
|
168
189
|
name: z.ZodOptional<z.ZodString>;
|
|
169
|
-
/**
|
|
170
|
-
* Email address (for user actors)
|
|
171
|
-
*/
|
|
172
190
|
email: z.ZodOptional<z.ZodString>;
|
|
173
|
-
/**
|
|
174
|
-
* IP address of the actor
|
|
175
|
-
*/
|
|
176
191
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
177
|
-
/**
|
|
178
|
-
* User agent string (for web/API requests)
|
|
179
|
-
*/
|
|
180
192
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
181
|
-
},
|
|
182
|
-
type: "user" | "system" | "service" | "api_client" | "integration";
|
|
183
|
-
id: string;
|
|
184
|
-
email?: string | undefined;
|
|
185
|
-
name?: string | undefined;
|
|
186
|
-
ipAddress?: string | undefined;
|
|
187
|
-
userAgent?: string | undefined;
|
|
188
|
-
}, {
|
|
189
|
-
type: "user" | "system" | "service" | "api_client" | "integration";
|
|
190
|
-
id: string;
|
|
191
|
-
email?: string | undefined;
|
|
192
|
-
name?: string | undefined;
|
|
193
|
-
ipAddress?: string | undefined;
|
|
194
|
-
userAgent?: string | undefined;
|
|
195
|
-
}>;
|
|
196
|
-
/**
|
|
197
|
-
* What was acted upon
|
|
198
|
-
*/
|
|
193
|
+
}, z.core.$strip>;
|
|
199
194
|
target: z.ZodOptional<z.ZodObject<{
|
|
200
|
-
/**
|
|
201
|
-
* Target type (e.g., 'object', 'record', 'user', 'role', 'config')
|
|
202
|
-
*/
|
|
203
195
|
type: z.ZodString;
|
|
204
|
-
/**
|
|
205
|
-
* Unique identifier for the target
|
|
206
|
-
*/
|
|
207
196
|
id: z.ZodString;
|
|
208
|
-
/**
|
|
209
|
-
* Display name of the target
|
|
210
|
-
*/
|
|
211
197
|
name: z.ZodOptional<z.ZodString>;
|
|
212
|
-
/**
|
|
213
|
-
* Additional metadata about the target
|
|
214
|
-
*/
|
|
215
198
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
216
|
-
},
|
|
217
|
-
type: string;
|
|
218
|
-
id: string;
|
|
219
|
-
name?: string | undefined;
|
|
220
|
-
metadata?: Record<string, any> | undefined;
|
|
221
|
-
}, {
|
|
222
|
-
type: string;
|
|
223
|
-
id: string;
|
|
224
|
-
name?: string | undefined;
|
|
225
|
-
metadata?: Record<string, any> | undefined;
|
|
226
|
-
}>>;
|
|
227
|
-
/**
|
|
228
|
-
* Human-readable description of the action
|
|
229
|
-
*/
|
|
199
|
+
}, z.core.$strip>>;
|
|
230
200
|
description: z.ZodString;
|
|
231
|
-
/**
|
|
232
|
-
* Detailed changes (for update operations)
|
|
233
|
-
*/
|
|
234
201
|
changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
235
|
-
/**
|
|
236
|
-
* Field/property that changed
|
|
237
|
-
*/
|
|
238
202
|
field: z.ZodString;
|
|
239
|
-
/**
|
|
240
|
-
* Value before the change
|
|
241
|
-
*/
|
|
242
203
|
oldValue: z.ZodOptional<z.ZodAny>;
|
|
243
|
-
/**
|
|
244
|
-
* Value after the change
|
|
245
|
-
*/
|
|
246
204
|
newValue: z.ZodOptional<z.ZodAny>;
|
|
247
|
-
},
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
oldValue?: any;
|
|
254
|
-
newValue?: any;
|
|
255
|
-
}>, "many">>;
|
|
256
|
-
/**
|
|
257
|
-
* Result of the action (success, failure, partial)
|
|
258
|
-
*/
|
|
259
|
-
result: z.ZodDefault<z.ZodEnum<["success", "failure", "partial"]>>;
|
|
260
|
-
/**
|
|
261
|
-
* Error message (if result is failure)
|
|
262
|
-
*/
|
|
205
|
+
}, z.core.$strip>>>;
|
|
206
|
+
result: z.ZodDefault<z.ZodEnum<{
|
|
207
|
+
success: "success";
|
|
208
|
+
partial: "partial";
|
|
209
|
+
failure: "failure";
|
|
210
|
+
}>>;
|
|
263
211
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
264
|
-
/**
|
|
265
|
-
* Tenant identifier (for multi-tenant systems)
|
|
266
|
-
*/
|
|
267
212
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
268
|
-
/**
|
|
269
|
-
* Request/trace ID for correlation
|
|
270
|
-
*/
|
|
271
213
|
requestId: z.ZodOptional<z.ZodString>;
|
|
272
|
-
/**
|
|
273
|
-
* Additional context and metadata
|
|
274
|
-
*/
|
|
275
214
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
276
|
-
/**
|
|
277
|
-
* Geographic location (if available)
|
|
278
|
-
*/
|
|
279
215
|
location: z.ZodOptional<z.ZodObject<{
|
|
280
216
|
country: z.ZodOptional<z.ZodString>;
|
|
281
217
|
region: z.ZodOptional<z.ZodString>;
|
|
282
218
|
city: z.ZodOptional<z.ZodString>;
|
|
283
|
-
},
|
|
284
|
-
|
|
285
|
-
country?: string | undefined;
|
|
286
|
-
region?: string | undefined;
|
|
287
|
-
}, {
|
|
288
|
-
city?: string | undefined;
|
|
289
|
-
country?: string | undefined;
|
|
290
|
-
region?: string | undefined;
|
|
291
|
-
}>>;
|
|
292
|
-
}, "strip", z.ZodTypeAny, {
|
|
293
|
-
description: string;
|
|
294
|
-
severity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
|
|
295
|
-
id: string;
|
|
296
|
-
result: "partial" | "success" | "failure";
|
|
297
|
-
eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
|
|
298
|
-
timestamp: string;
|
|
299
|
-
actor: {
|
|
300
|
-
type: "user" | "system" | "service" | "api_client" | "integration";
|
|
301
|
-
id: string;
|
|
302
|
-
email?: string | undefined;
|
|
303
|
-
name?: string | undefined;
|
|
304
|
-
ipAddress?: string | undefined;
|
|
305
|
-
userAgent?: string | undefined;
|
|
306
|
-
};
|
|
307
|
-
target?: {
|
|
308
|
-
type: string;
|
|
309
|
-
id: string;
|
|
310
|
-
name?: string | undefined;
|
|
311
|
-
metadata?: Record<string, any> | undefined;
|
|
312
|
-
} | undefined;
|
|
313
|
-
location?: {
|
|
314
|
-
city?: string | undefined;
|
|
315
|
-
country?: string | undefined;
|
|
316
|
-
region?: string | undefined;
|
|
317
|
-
} | undefined;
|
|
318
|
-
tenantId?: string | undefined;
|
|
319
|
-
metadata?: Record<string, any> | undefined;
|
|
320
|
-
changes?: {
|
|
321
|
-
field: string;
|
|
322
|
-
oldValue?: any;
|
|
323
|
-
newValue?: any;
|
|
324
|
-
}[] | undefined;
|
|
325
|
-
errorMessage?: string | undefined;
|
|
326
|
-
requestId?: string | undefined;
|
|
327
|
-
}, {
|
|
328
|
-
description: string;
|
|
329
|
-
id: string;
|
|
330
|
-
eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
|
|
331
|
-
timestamp: string;
|
|
332
|
-
actor: {
|
|
333
|
-
type: "user" | "system" | "service" | "api_client" | "integration";
|
|
334
|
-
id: string;
|
|
335
|
-
email?: string | undefined;
|
|
336
|
-
name?: string | undefined;
|
|
337
|
-
ipAddress?: string | undefined;
|
|
338
|
-
userAgent?: string | undefined;
|
|
339
|
-
};
|
|
340
|
-
target?: {
|
|
341
|
-
type: string;
|
|
342
|
-
id: string;
|
|
343
|
-
name?: string | undefined;
|
|
344
|
-
metadata?: Record<string, any> | undefined;
|
|
345
|
-
} | undefined;
|
|
346
|
-
location?: {
|
|
347
|
-
city?: string | undefined;
|
|
348
|
-
country?: string | undefined;
|
|
349
|
-
region?: string | undefined;
|
|
350
|
-
} | undefined;
|
|
351
|
-
severity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
|
|
352
|
-
result?: "partial" | "success" | "failure" | undefined;
|
|
353
|
-
tenantId?: string | undefined;
|
|
354
|
-
metadata?: Record<string, any> | undefined;
|
|
355
|
-
changes?: {
|
|
356
|
-
field: string;
|
|
357
|
-
oldValue?: any;
|
|
358
|
-
newValue?: any;
|
|
359
|
-
}[] | undefined;
|
|
360
|
-
errorMessage?: string | undefined;
|
|
361
|
-
requestId?: string | undefined;
|
|
362
|
-
}>;
|
|
219
|
+
}, z.core.$strip>>;
|
|
220
|
+
}, z.core.$strip>;
|
|
363
221
|
export type AuditEvent = z.infer<typeof AuditEventSchema>;
|
|
364
222
|
/**
|
|
365
223
|
* Audit Retention Policy Schema
|
|
366
224
|
* Defines how long audit logs are retained
|
|
367
225
|
*/
|
|
368
226
|
export declare const AuditRetentionPolicySchema: z.ZodObject<{
|
|
369
|
-
/**
|
|
370
|
-
* Retention period in days
|
|
371
|
-
* Default: 180 days (GDPR 6-month requirement)
|
|
372
|
-
*/
|
|
373
227
|
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
374
|
-
/**
|
|
375
|
-
* Whether to archive logs after retention period
|
|
376
|
-
* If true, logs are moved to cold storage; if false, they are deleted
|
|
377
|
-
*/
|
|
378
228
|
archiveAfterRetention: z.ZodDefault<z.ZodBoolean>;
|
|
379
|
-
/**
|
|
380
|
-
* Archive storage configuration
|
|
381
|
-
*/
|
|
382
229
|
archiveStorage: z.ZodOptional<z.ZodObject<{
|
|
383
|
-
type: z.ZodEnum<
|
|
230
|
+
type: z.ZodEnum<{
|
|
231
|
+
s3: "s3";
|
|
232
|
+
gcs: "gcs";
|
|
233
|
+
azure_blob: "azure_blob";
|
|
234
|
+
filesystem: "filesystem";
|
|
235
|
+
}>;
|
|
384
236
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
385
237
|
bucket: z.ZodOptional<z.ZodString>;
|
|
386
238
|
path: z.ZodOptional<z.ZodString>;
|
|
387
239
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
388
|
-
},
|
|
389
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
390
|
-
path?: string | undefined;
|
|
391
|
-
credentials?: Record<string, any> | undefined;
|
|
392
|
-
endpoint?: string | undefined;
|
|
393
|
-
bucket?: string | undefined;
|
|
394
|
-
}, {
|
|
395
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
396
|
-
path?: string | undefined;
|
|
397
|
-
credentials?: Record<string, any> | undefined;
|
|
398
|
-
endpoint?: string | undefined;
|
|
399
|
-
bucket?: string | undefined;
|
|
400
|
-
}>>;
|
|
401
|
-
/**
|
|
402
|
-
* Event types that have different retention periods
|
|
403
|
-
* Overrides the default retentionDays for specific event types
|
|
404
|
-
*/
|
|
240
|
+
}, z.core.$strip>>;
|
|
405
241
|
customRetention: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
406
|
-
/**
|
|
407
|
-
* Minimum retention period for compliance
|
|
408
|
-
* Prevents accidental deletion below compliance requirements
|
|
409
|
-
*/
|
|
410
242
|
minimumRetentionDays: z.ZodOptional<z.ZodNumber>;
|
|
411
|
-
},
|
|
412
|
-
retentionDays: number;
|
|
413
|
-
archiveAfterRetention: boolean;
|
|
414
|
-
archiveStorage?: {
|
|
415
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
416
|
-
path?: string | undefined;
|
|
417
|
-
credentials?: Record<string, any> | undefined;
|
|
418
|
-
endpoint?: string | undefined;
|
|
419
|
-
bucket?: string | undefined;
|
|
420
|
-
} | undefined;
|
|
421
|
-
customRetention?: Record<string, number> | undefined;
|
|
422
|
-
minimumRetentionDays?: number | undefined;
|
|
423
|
-
}, {
|
|
424
|
-
retentionDays?: number | undefined;
|
|
425
|
-
archiveAfterRetention?: boolean | undefined;
|
|
426
|
-
archiveStorage?: {
|
|
427
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
428
|
-
path?: string | undefined;
|
|
429
|
-
credentials?: Record<string, any> | undefined;
|
|
430
|
-
endpoint?: string | undefined;
|
|
431
|
-
bucket?: string | undefined;
|
|
432
|
-
} | undefined;
|
|
433
|
-
customRetention?: Record<string, number> | undefined;
|
|
434
|
-
minimumRetentionDays?: number | undefined;
|
|
435
|
-
}>;
|
|
243
|
+
}, z.core.$strip>;
|
|
436
244
|
export type AuditRetentionPolicy = z.infer<typeof AuditRetentionPolicySchema>;
|
|
437
245
|
/**
|
|
438
246
|
* Suspicious Activity Rule Schema
|
|
439
247
|
* Defines rules for detecting suspicious activities
|
|
440
248
|
*/
|
|
441
249
|
export declare const SuspiciousActivityRuleSchema: z.ZodObject<{
|
|
442
|
-
/**
|
|
443
|
-
* Unique identifier for the rule
|
|
444
|
-
*/
|
|
445
250
|
id: z.ZodString;
|
|
446
|
-
/**
|
|
447
|
-
* Rule name
|
|
448
|
-
*/
|
|
449
251
|
name: z.ZodString;
|
|
450
|
-
/**
|
|
451
|
-
* Rule description
|
|
452
|
-
*/
|
|
453
252
|
description: z.ZodOptional<z.ZodString>;
|
|
454
|
-
/**
|
|
455
|
-
* Whether the rule is enabled
|
|
456
|
-
*/
|
|
457
253
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
254
|
+
eventTypes: z.ZodArray<z.ZodEnum<{
|
|
255
|
+
"data.create": "data.create";
|
|
256
|
+
"data.read": "data.read";
|
|
257
|
+
"data.update": "data.update";
|
|
258
|
+
"data.delete": "data.delete";
|
|
259
|
+
"data.export": "data.export";
|
|
260
|
+
"data.import": "data.import";
|
|
261
|
+
"data.bulk_update": "data.bulk_update";
|
|
262
|
+
"data.bulk_delete": "data.bulk_delete";
|
|
263
|
+
"auth.login": "auth.login";
|
|
264
|
+
"auth.login_failed": "auth.login_failed";
|
|
265
|
+
"auth.logout": "auth.logout";
|
|
266
|
+
"auth.session_created": "auth.session_created";
|
|
267
|
+
"auth.session_expired": "auth.session_expired";
|
|
268
|
+
"auth.password_reset": "auth.password_reset";
|
|
269
|
+
"auth.password_changed": "auth.password_changed";
|
|
270
|
+
"auth.email_verified": "auth.email_verified";
|
|
271
|
+
"auth.mfa_enabled": "auth.mfa_enabled";
|
|
272
|
+
"auth.mfa_disabled": "auth.mfa_disabled";
|
|
273
|
+
"auth.account_locked": "auth.account_locked";
|
|
274
|
+
"auth.account_unlocked": "auth.account_unlocked";
|
|
275
|
+
"authz.permission_granted": "authz.permission_granted";
|
|
276
|
+
"authz.permission_revoked": "authz.permission_revoked";
|
|
277
|
+
"authz.role_assigned": "authz.role_assigned";
|
|
278
|
+
"authz.role_removed": "authz.role_removed";
|
|
279
|
+
"authz.role_created": "authz.role_created";
|
|
280
|
+
"authz.role_updated": "authz.role_updated";
|
|
281
|
+
"authz.role_deleted": "authz.role_deleted";
|
|
282
|
+
"authz.policy_created": "authz.policy_created";
|
|
283
|
+
"authz.policy_updated": "authz.policy_updated";
|
|
284
|
+
"authz.policy_deleted": "authz.policy_deleted";
|
|
285
|
+
"system.config_changed": "system.config_changed";
|
|
286
|
+
"system.plugin_installed": "system.plugin_installed";
|
|
287
|
+
"system.plugin_uninstalled": "system.plugin_uninstalled";
|
|
288
|
+
"system.backup_created": "system.backup_created";
|
|
289
|
+
"system.backup_restored": "system.backup_restored";
|
|
290
|
+
"system.integration_added": "system.integration_added";
|
|
291
|
+
"system.integration_removed": "system.integration_removed";
|
|
292
|
+
"security.access_denied": "security.access_denied";
|
|
293
|
+
"security.suspicious_activity": "security.suspicious_activity";
|
|
294
|
+
"security.data_breach": "security.data_breach";
|
|
295
|
+
"security.api_key_created": "security.api_key_created";
|
|
296
|
+
"security.api_key_revoked": "security.api_key_revoked";
|
|
297
|
+
}>>;
|
|
465
298
|
condition: z.ZodObject<{
|
|
466
|
-
/**
|
|
467
|
-
* Number of events that trigger the rule
|
|
468
|
-
*/
|
|
469
299
|
threshold: z.ZodNumber;
|
|
470
|
-
/**
|
|
471
|
-
* Time window in seconds
|
|
472
|
-
*/
|
|
473
300
|
windowSeconds: z.ZodNumber;
|
|
474
|
-
|
|
475
|
-
* Grouping criteria (e.g., by actor.id, by ipAddress)
|
|
476
|
-
*/
|
|
477
|
-
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
478
|
-
/**
|
|
479
|
-
* Additional filters
|
|
480
|
-
*/
|
|
301
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
481
302
|
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
482
|
-
},
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Notification configuration
|
|
503
|
-
*/
|
|
303
|
+
}, z.core.$strip>;
|
|
304
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
305
|
+
alert: "alert";
|
|
306
|
+
lock_account: "lock_account";
|
|
307
|
+
block_ip: "block_ip";
|
|
308
|
+
require_mfa: "require_mfa";
|
|
309
|
+
log_critical: "log_critical";
|
|
310
|
+
webhook: "webhook";
|
|
311
|
+
}>>;
|
|
312
|
+
alertSeverity: z.ZodDefault<z.ZodEnum<{
|
|
313
|
+
error: "error";
|
|
314
|
+
warning: "warning";
|
|
315
|
+
info: "info";
|
|
316
|
+
debug: "debug";
|
|
317
|
+
notice: "notice";
|
|
318
|
+
critical: "critical";
|
|
319
|
+
alert: "alert";
|
|
320
|
+
emergency: "emergency";
|
|
321
|
+
}>>;
|
|
504
322
|
notifications: z.ZodOptional<z.ZodObject<{
|
|
505
|
-
|
|
506
|
-
* Email addresses to notify
|
|
507
|
-
*/
|
|
508
|
-
email: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
509
|
-
/**
|
|
510
|
-
* Slack webhook URL
|
|
511
|
-
*/
|
|
323
|
+
email: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
512
324
|
slack: z.ZodOptional<z.ZodString>;
|
|
513
|
-
/**
|
|
514
|
-
* Custom webhook URL
|
|
515
|
-
*/
|
|
516
325
|
webhook: z.ZodOptional<z.ZodString>;
|
|
517
|
-
},
|
|
518
|
-
|
|
519
|
-
webhook?: string | undefined;
|
|
520
|
-
slack?: string | undefined;
|
|
521
|
-
}, {
|
|
522
|
-
email?: string[] | undefined;
|
|
523
|
-
webhook?: string | undefined;
|
|
524
|
-
slack?: string | undefined;
|
|
525
|
-
}>>;
|
|
526
|
-
}, "strip", z.ZodTypeAny, {
|
|
527
|
-
enabled: boolean;
|
|
528
|
-
name: string;
|
|
529
|
-
condition: {
|
|
530
|
-
threshold: number;
|
|
531
|
-
windowSeconds: number;
|
|
532
|
-
groupBy?: string[] | undefined;
|
|
533
|
-
filters?: Record<string, any> | undefined;
|
|
534
|
-
};
|
|
535
|
-
id: string;
|
|
536
|
-
actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
|
|
537
|
-
eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
|
|
538
|
-
alertSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
|
|
539
|
-
description?: string | undefined;
|
|
540
|
-
notifications?: {
|
|
541
|
-
email?: string[] | undefined;
|
|
542
|
-
webhook?: string | undefined;
|
|
543
|
-
slack?: string | undefined;
|
|
544
|
-
} | undefined;
|
|
545
|
-
}, {
|
|
546
|
-
name: string;
|
|
547
|
-
condition: {
|
|
548
|
-
threshold: number;
|
|
549
|
-
windowSeconds: number;
|
|
550
|
-
groupBy?: string[] | undefined;
|
|
551
|
-
filters?: Record<string, any> | undefined;
|
|
552
|
-
};
|
|
553
|
-
id: string;
|
|
554
|
-
actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
|
|
555
|
-
eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
|
|
556
|
-
enabled?: boolean | undefined;
|
|
557
|
-
description?: string | undefined;
|
|
558
|
-
alertSeverity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
|
|
559
|
-
notifications?: {
|
|
560
|
-
email?: string[] | undefined;
|
|
561
|
-
webhook?: string | undefined;
|
|
562
|
-
slack?: string | undefined;
|
|
563
|
-
} | undefined;
|
|
564
|
-
}>;
|
|
326
|
+
}, z.core.$strip>>;
|
|
327
|
+
}, z.core.$strip>;
|
|
565
328
|
export type SuspiciousActivityRule = z.infer<typeof SuspiciousActivityRuleSchema>;
|
|
566
329
|
/**
|
|
567
330
|
* Audit Log Storage Configuration
|
|
568
331
|
* Defines where and how audit logs are stored
|
|
569
332
|
*/
|
|
570
333
|
export declare const AuditStorageConfigSchema: z.ZodObject<{
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
334
|
+
type: z.ZodEnum<{
|
|
335
|
+
custom: "custom";
|
|
336
|
+
database: "database";
|
|
337
|
+
mongodb: "mongodb";
|
|
338
|
+
elasticsearch: "elasticsearch";
|
|
339
|
+
s3: "s3";
|
|
340
|
+
gcs: "gcs";
|
|
341
|
+
azure_blob: "azure_blob";
|
|
342
|
+
clickhouse: "clickhouse";
|
|
343
|
+
}>;
|
|
578
344
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
579
|
-
/**
|
|
580
|
-
* Storage configuration
|
|
581
|
-
*/
|
|
582
345
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
583
|
-
/**
|
|
584
|
-
* Whether to enable buffering/batching
|
|
585
|
-
*/
|
|
586
346
|
bufferEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
587
|
-
/**
|
|
588
|
-
* Buffer size (number of events before flush)
|
|
589
|
-
*/
|
|
590
347
|
bufferSize: z.ZodDefault<z.ZodNumber>;
|
|
591
|
-
/**
|
|
592
|
-
* Buffer flush interval in seconds
|
|
593
|
-
*/
|
|
594
348
|
flushIntervalSeconds: z.ZodDefault<z.ZodNumber>;
|
|
595
|
-
/**
|
|
596
|
-
* Whether to compress stored data
|
|
597
|
-
*/
|
|
598
349
|
compression: z.ZodDefault<z.ZodBoolean>;
|
|
599
|
-
},
|
|
600
|
-
type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
|
|
601
|
-
bufferEnabled: boolean;
|
|
602
|
-
bufferSize: number;
|
|
603
|
-
flushIntervalSeconds: number;
|
|
604
|
-
compression: boolean;
|
|
605
|
-
connectionString?: string | undefined;
|
|
606
|
-
config?: Record<string, any> | undefined;
|
|
607
|
-
}, {
|
|
608
|
-
type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
|
|
609
|
-
connectionString?: string | undefined;
|
|
610
|
-
config?: Record<string, any> | undefined;
|
|
611
|
-
bufferEnabled?: boolean | undefined;
|
|
612
|
-
bufferSize?: number | undefined;
|
|
613
|
-
flushIntervalSeconds?: number | undefined;
|
|
614
|
-
compression?: boolean | undefined;
|
|
615
|
-
}>;
|
|
350
|
+
}, z.core.$strip>;
|
|
616
351
|
export type AuditStorageConfig = z.infer<typeof AuditStorageConfigSchema>;
|
|
617
352
|
/**
|
|
618
353
|
* Audit Event Filter Schema
|
|
619
354
|
* Defines filters for querying audit events
|
|
620
355
|
*/
|
|
621
356
|
export declare const AuditEventFilterSchema: z.ZodObject<{
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
357
|
+
eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
358
|
+
"data.create": "data.create";
|
|
359
|
+
"data.read": "data.read";
|
|
360
|
+
"data.update": "data.update";
|
|
361
|
+
"data.delete": "data.delete";
|
|
362
|
+
"data.export": "data.export";
|
|
363
|
+
"data.import": "data.import";
|
|
364
|
+
"data.bulk_update": "data.bulk_update";
|
|
365
|
+
"data.bulk_delete": "data.bulk_delete";
|
|
366
|
+
"auth.login": "auth.login";
|
|
367
|
+
"auth.login_failed": "auth.login_failed";
|
|
368
|
+
"auth.logout": "auth.logout";
|
|
369
|
+
"auth.session_created": "auth.session_created";
|
|
370
|
+
"auth.session_expired": "auth.session_expired";
|
|
371
|
+
"auth.password_reset": "auth.password_reset";
|
|
372
|
+
"auth.password_changed": "auth.password_changed";
|
|
373
|
+
"auth.email_verified": "auth.email_verified";
|
|
374
|
+
"auth.mfa_enabled": "auth.mfa_enabled";
|
|
375
|
+
"auth.mfa_disabled": "auth.mfa_disabled";
|
|
376
|
+
"auth.account_locked": "auth.account_locked";
|
|
377
|
+
"auth.account_unlocked": "auth.account_unlocked";
|
|
378
|
+
"authz.permission_granted": "authz.permission_granted";
|
|
379
|
+
"authz.permission_revoked": "authz.permission_revoked";
|
|
380
|
+
"authz.role_assigned": "authz.role_assigned";
|
|
381
|
+
"authz.role_removed": "authz.role_removed";
|
|
382
|
+
"authz.role_created": "authz.role_created";
|
|
383
|
+
"authz.role_updated": "authz.role_updated";
|
|
384
|
+
"authz.role_deleted": "authz.role_deleted";
|
|
385
|
+
"authz.policy_created": "authz.policy_created";
|
|
386
|
+
"authz.policy_updated": "authz.policy_updated";
|
|
387
|
+
"authz.policy_deleted": "authz.policy_deleted";
|
|
388
|
+
"system.config_changed": "system.config_changed";
|
|
389
|
+
"system.plugin_installed": "system.plugin_installed";
|
|
390
|
+
"system.plugin_uninstalled": "system.plugin_uninstalled";
|
|
391
|
+
"system.backup_created": "system.backup_created";
|
|
392
|
+
"system.backup_restored": "system.backup_restored";
|
|
393
|
+
"system.integration_added": "system.integration_added";
|
|
394
|
+
"system.integration_removed": "system.integration_removed";
|
|
395
|
+
"security.access_denied": "security.access_denied";
|
|
396
|
+
"security.suspicious_activity": "security.suspicious_activity";
|
|
397
|
+
"security.data_breach": "security.data_breach";
|
|
398
|
+
"security.api_key_created": "security.api_key_created";
|
|
399
|
+
"security.api_key_revoked": "security.api_key_revoked";
|
|
400
|
+
}>>>;
|
|
401
|
+
severities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
402
|
+
error: "error";
|
|
403
|
+
warning: "warning";
|
|
404
|
+
info: "info";
|
|
405
|
+
debug: "debug";
|
|
406
|
+
notice: "notice";
|
|
407
|
+
critical: "critical";
|
|
408
|
+
alert: "alert";
|
|
409
|
+
emergency: "emergency";
|
|
410
|
+
}>>>;
|
|
633
411
|
actorId: z.ZodOptional<z.ZodString>;
|
|
634
|
-
/**
|
|
635
|
-
* Filter by tenant ID
|
|
636
|
-
*/
|
|
637
412
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
638
|
-
/**
|
|
639
|
-
* Filter by time range
|
|
640
|
-
*/
|
|
641
413
|
timeRange: z.ZodOptional<z.ZodObject<{
|
|
642
414
|
from: z.ZodString;
|
|
643
415
|
to: z.ZodString;
|
|
644
|
-
},
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
to: string;
|
|
416
|
+
}, z.core.$strip>>;
|
|
417
|
+
result: z.ZodOptional<z.ZodEnum<{
|
|
418
|
+
success: "success";
|
|
419
|
+
partial: "partial";
|
|
420
|
+
failure: "failure";
|
|
650
421
|
}>>;
|
|
651
|
-
/**
|
|
652
|
-
* Filter by result status
|
|
653
|
-
*/
|
|
654
|
-
result: z.ZodOptional<z.ZodEnum<["success", "failure", "partial"]>>;
|
|
655
|
-
/**
|
|
656
|
-
* Search query (full-text search)
|
|
657
|
-
*/
|
|
658
422
|
searchQuery: z.ZodOptional<z.ZodString>;
|
|
659
|
-
/**
|
|
660
|
-
* Custom filters
|
|
661
|
-
*/
|
|
662
423
|
customFilters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
663
|
-
},
|
|
664
|
-
result?: "partial" | "success" | "failure" | undefined;
|
|
665
|
-
tenantId?: string | undefined;
|
|
666
|
-
eventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
|
|
667
|
-
severities?: ("error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency")[] | undefined;
|
|
668
|
-
actorId?: string | undefined;
|
|
669
|
-
timeRange?: {
|
|
670
|
-
from: string;
|
|
671
|
-
to: string;
|
|
672
|
-
} | undefined;
|
|
673
|
-
searchQuery?: string | undefined;
|
|
674
|
-
customFilters?: Record<string, any> | undefined;
|
|
675
|
-
}, {
|
|
676
|
-
result?: "partial" | "success" | "failure" | undefined;
|
|
677
|
-
tenantId?: string | undefined;
|
|
678
|
-
eventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
|
|
679
|
-
severities?: ("error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency")[] | undefined;
|
|
680
|
-
actorId?: string | undefined;
|
|
681
|
-
timeRange?: {
|
|
682
|
-
from: string;
|
|
683
|
-
to: string;
|
|
684
|
-
} | undefined;
|
|
685
|
-
searchQuery?: string | undefined;
|
|
686
|
-
customFilters?: Record<string, any> | undefined;
|
|
687
|
-
}>;
|
|
424
|
+
}, z.core.$strip>;
|
|
688
425
|
export type AuditEventFilter = z.infer<typeof AuditEventFilterSchema>;
|
|
689
426
|
/**
|
|
690
427
|
* Complete Audit Configuration Schema
|
|
691
428
|
* Main configuration for the audit system
|
|
692
429
|
*/
|
|
693
430
|
export declare const AuditConfigSchema: z.ZodObject<{
|
|
694
|
-
/**
|
|
695
|
-
* Unique identifier for this audit configuration
|
|
696
|
-
* Must be in snake_case following ObjectStack conventions
|
|
697
|
-
* Maximum length: 64 characters
|
|
698
|
-
*/
|
|
699
431
|
name: z.ZodString;
|
|
700
|
-
/**
|
|
701
|
-
* Human-readable label
|
|
702
|
-
*/
|
|
703
432
|
label: z.ZodString;
|
|
704
|
-
/**
|
|
705
|
-
* Whether audit logging is enabled
|
|
706
|
-
*/
|
|
707
433
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
434
|
+
eventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
435
|
+
"data.create": "data.create";
|
|
436
|
+
"data.read": "data.read";
|
|
437
|
+
"data.update": "data.update";
|
|
438
|
+
"data.delete": "data.delete";
|
|
439
|
+
"data.export": "data.export";
|
|
440
|
+
"data.import": "data.import";
|
|
441
|
+
"data.bulk_update": "data.bulk_update";
|
|
442
|
+
"data.bulk_delete": "data.bulk_delete";
|
|
443
|
+
"auth.login": "auth.login";
|
|
444
|
+
"auth.login_failed": "auth.login_failed";
|
|
445
|
+
"auth.logout": "auth.logout";
|
|
446
|
+
"auth.session_created": "auth.session_created";
|
|
447
|
+
"auth.session_expired": "auth.session_expired";
|
|
448
|
+
"auth.password_reset": "auth.password_reset";
|
|
449
|
+
"auth.password_changed": "auth.password_changed";
|
|
450
|
+
"auth.email_verified": "auth.email_verified";
|
|
451
|
+
"auth.mfa_enabled": "auth.mfa_enabled";
|
|
452
|
+
"auth.mfa_disabled": "auth.mfa_disabled";
|
|
453
|
+
"auth.account_locked": "auth.account_locked";
|
|
454
|
+
"auth.account_unlocked": "auth.account_unlocked";
|
|
455
|
+
"authz.permission_granted": "authz.permission_granted";
|
|
456
|
+
"authz.permission_revoked": "authz.permission_revoked";
|
|
457
|
+
"authz.role_assigned": "authz.role_assigned";
|
|
458
|
+
"authz.role_removed": "authz.role_removed";
|
|
459
|
+
"authz.role_created": "authz.role_created";
|
|
460
|
+
"authz.role_updated": "authz.role_updated";
|
|
461
|
+
"authz.role_deleted": "authz.role_deleted";
|
|
462
|
+
"authz.policy_created": "authz.policy_created";
|
|
463
|
+
"authz.policy_updated": "authz.policy_updated";
|
|
464
|
+
"authz.policy_deleted": "authz.policy_deleted";
|
|
465
|
+
"system.config_changed": "system.config_changed";
|
|
466
|
+
"system.plugin_installed": "system.plugin_installed";
|
|
467
|
+
"system.plugin_uninstalled": "system.plugin_uninstalled";
|
|
468
|
+
"system.backup_created": "system.backup_created";
|
|
469
|
+
"system.backup_restored": "system.backup_restored";
|
|
470
|
+
"system.integration_added": "system.integration_added";
|
|
471
|
+
"system.integration_removed": "system.integration_removed";
|
|
472
|
+
"security.access_denied": "security.access_denied";
|
|
473
|
+
"security.suspicious_activity": "security.suspicious_activity";
|
|
474
|
+
"security.data_breach": "security.data_breach";
|
|
475
|
+
"security.api_key_created": "security.api_key_created";
|
|
476
|
+
"security.api_key_revoked": "security.api_key_revoked";
|
|
477
|
+
}>>>;
|
|
478
|
+
excludeEventTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
479
|
+
"data.create": "data.create";
|
|
480
|
+
"data.read": "data.read";
|
|
481
|
+
"data.update": "data.update";
|
|
482
|
+
"data.delete": "data.delete";
|
|
483
|
+
"data.export": "data.export";
|
|
484
|
+
"data.import": "data.import";
|
|
485
|
+
"data.bulk_update": "data.bulk_update";
|
|
486
|
+
"data.bulk_delete": "data.bulk_delete";
|
|
487
|
+
"auth.login": "auth.login";
|
|
488
|
+
"auth.login_failed": "auth.login_failed";
|
|
489
|
+
"auth.logout": "auth.logout";
|
|
490
|
+
"auth.session_created": "auth.session_created";
|
|
491
|
+
"auth.session_expired": "auth.session_expired";
|
|
492
|
+
"auth.password_reset": "auth.password_reset";
|
|
493
|
+
"auth.password_changed": "auth.password_changed";
|
|
494
|
+
"auth.email_verified": "auth.email_verified";
|
|
495
|
+
"auth.mfa_enabled": "auth.mfa_enabled";
|
|
496
|
+
"auth.mfa_disabled": "auth.mfa_disabled";
|
|
497
|
+
"auth.account_locked": "auth.account_locked";
|
|
498
|
+
"auth.account_unlocked": "auth.account_unlocked";
|
|
499
|
+
"authz.permission_granted": "authz.permission_granted";
|
|
500
|
+
"authz.permission_revoked": "authz.permission_revoked";
|
|
501
|
+
"authz.role_assigned": "authz.role_assigned";
|
|
502
|
+
"authz.role_removed": "authz.role_removed";
|
|
503
|
+
"authz.role_created": "authz.role_created";
|
|
504
|
+
"authz.role_updated": "authz.role_updated";
|
|
505
|
+
"authz.role_deleted": "authz.role_deleted";
|
|
506
|
+
"authz.policy_created": "authz.policy_created";
|
|
507
|
+
"authz.policy_updated": "authz.policy_updated";
|
|
508
|
+
"authz.policy_deleted": "authz.policy_deleted";
|
|
509
|
+
"system.config_changed": "system.config_changed";
|
|
510
|
+
"system.plugin_installed": "system.plugin_installed";
|
|
511
|
+
"system.plugin_uninstalled": "system.plugin_uninstalled";
|
|
512
|
+
"system.backup_created": "system.backup_created";
|
|
513
|
+
"system.backup_restored": "system.backup_restored";
|
|
514
|
+
"system.integration_added": "system.integration_added";
|
|
515
|
+
"system.integration_removed": "system.integration_removed";
|
|
516
|
+
"security.access_denied": "security.access_denied";
|
|
517
|
+
"security.suspicious_activity": "security.suspicious_activity";
|
|
518
|
+
"security.data_breach": "security.data_breach";
|
|
519
|
+
"security.api_key_created": "security.api_key_created";
|
|
520
|
+
"security.api_key_revoked": "security.api_key_revoked";
|
|
521
|
+
}>>>;
|
|
522
|
+
minimumSeverity: z.ZodDefault<z.ZodEnum<{
|
|
523
|
+
error: "error";
|
|
524
|
+
warning: "warning";
|
|
525
|
+
info: "info";
|
|
526
|
+
debug: "debug";
|
|
527
|
+
notice: "notice";
|
|
528
|
+
critical: "critical";
|
|
529
|
+
alert: "alert";
|
|
530
|
+
emergency: "emergency";
|
|
531
|
+
}>>;
|
|
725
532
|
storage: z.ZodObject<{
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
533
|
+
type: z.ZodEnum<{
|
|
534
|
+
custom: "custom";
|
|
535
|
+
database: "database";
|
|
536
|
+
mongodb: "mongodb";
|
|
537
|
+
elasticsearch: "elasticsearch";
|
|
538
|
+
s3: "s3";
|
|
539
|
+
gcs: "gcs";
|
|
540
|
+
azure_blob: "azure_blob";
|
|
541
|
+
clickhouse: "clickhouse";
|
|
542
|
+
}>;
|
|
733
543
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
734
|
-
/**
|
|
735
|
-
* Storage configuration
|
|
736
|
-
*/
|
|
737
544
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
738
|
-
/**
|
|
739
|
-
* Whether to enable buffering/batching
|
|
740
|
-
*/
|
|
741
545
|
bufferEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
742
|
-
/**
|
|
743
|
-
* Buffer size (number of events before flush)
|
|
744
|
-
*/
|
|
745
546
|
bufferSize: z.ZodDefault<z.ZodNumber>;
|
|
746
|
-
/**
|
|
747
|
-
* Buffer flush interval in seconds
|
|
748
|
-
*/
|
|
749
547
|
flushIntervalSeconds: z.ZodDefault<z.ZodNumber>;
|
|
750
|
-
/**
|
|
751
|
-
* Whether to compress stored data
|
|
752
|
-
*/
|
|
753
548
|
compression: z.ZodDefault<z.ZodBoolean>;
|
|
754
|
-
},
|
|
755
|
-
|
|
756
|
-
bufferEnabled: boolean;
|
|
757
|
-
bufferSize: number;
|
|
758
|
-
flushIntervalSeconds: number;
|
|
759
|
-
compression: boolean;
|
|
760
|
-
connectionString?: string | undefined;
|
|
761
|
-
config?: Record<string, any> | undefined;
|
|
762
|
-
}, {
|
|
763
|
-
type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
|
|
764
|
-
connectionString?: string | undefined;
|
|
765
|
-
config?: Record<string, any> | undefined;
|
|
766
|
-
bufferEnabled?: boolean | undefined;
|
|
767
|
-
bufferSize?: number | undefined;
|
|
768
|
-
flushIntervalSeconds?: number | undefined;
|
|
769
|
-
compression?: boolean | undefined;
|
|
770
|
-
}>;
|
|
771
|
-
/**
|
|
772
|
-
* Retention policy
|
|
773
|
-
*/
|
|
774
|
-
retentionPolicy: z.ZodDefault<z.ZodObject<{
|
|
775
|
-
/**
|
|
776
|
-
* Retention period in days
|
|
777
|
-
* Default: 180 days (GDPR 6-month requirement)
|
|
778
|
-
*/
|
|
549
|
+
}, z.core.$strip>;
|
|
550
|
+
retentionPolicy: z.ZodOptional<z.ZodObject<{
|
|
779
551
|
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
780
|
-
/**
|
|
781
|
-
* Whether to archive logs after retention period
|
|
782
|
-
* If true, logs are moved to cold storage; if false, they are deleted
|
|
783
|
-
*/
|
|
784
552
|
archiveAfterRetention: z.ZodDefault<z.ZodBoolean>;
|
|
785
|
-
/**
|
|
786
|
-
* Archive storage configuration
|
|
787
|
-
*/
|
|
788
553
|
archiveStorage: z.ZodOptional<z.ZodObject<{
|
|
789
|
-
type: z.ZodEnum<
|
|
554
|
+
type: z.ZodEnum<{
|
|
555
|
+
s3: "s3";
|
|
556
|
+
gcs: "gcs";
|
|
557
|
+
azure_blob: "azure_blob";
|
|
558
|
+
filesystem: "filesystem";
|
|
559
|
+
}>;
|
|
790
560
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
791
561
|
bucket: z.ZodOptional<z.ZodString>;
|
|
792
562
|
path: z.ZodOptional<z.ZodString>;
|
|
793
563
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
794
|
-
},
|
|
795
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
796
|
-
path?: string | undefined;
|
|
797
|
-
credentials?: Record<string, any> | undefined;
|
|
798
|
-
endpoint?: string | undefined;
|
|
799
|
-
bucket?: string | undefined;
|
|
800
|
-
}, {
|
|
801
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
802
|
-
path?: string | undefined;
|
|
803
|
-
credentials?: Record<string, any> | undefined;
|
|
804
|
-
endpoint?: string | undefined;
|
|
805
|
-
bucket?: string | undefined;
|
|
806
|
-
}>>;
|
|
807
|
-
/**
|
|
808
|
-
* Event types that have different retention periods
|
|
809
|
-
* Overrides the default retentionDays for specific event types
|
|
810
|
-
*/
|
|
564
|
+
}, z.core.$strip>>;
|
|
811
565
|
customRetention: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
812
|
-
/**
|
|
813
|
-
* Minimum retention period for compliance
|
|
814
|
-
* Prevents accidental deletion below compliance requirements
|
|
815
|
-
*/
|
|
816
566
|
minimumRetentionDays: z.ZodOptional<z.ZodNumber>;
|
|
817
|
-
},
|
|
818
|
-
retentionDays: number;
|
|
819
|
-
archiveAfterRetention: boolean;
|
|
820
|
-
archiveStorage?: {
|
|
821
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
822
|
-
path?: string | undefined;
|
|
823
|
-
credentials?: Record<string, any> | undefined;
|
|
824
|
-
endpoint?: string | undefined;
|
|
825
|
-
bucket?: string | undefined;
|
|
826
|
-
} | undefined;
|
|
827
|
-
customRetention?: Record<string, number> | undefined;
|
|
828
|
-
minimumRetentionDays?: number | undefined;
|
|
829
|
-
}, {
|
|
830
|
-
retentionDays?: number | undefined;
|
|
831
|
-
archiveAfterRetention?: boolean | undefined;
|
|
832
|
-
archiveStorage?: {
|
|
833
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
834
|
-
path?: string | undefined;
|
|
835
|
-
credentials?: Record<string, any> | undefined;
|
|
836
|
-
endpoint?: string | undefined;
|
|
837
|
-
bucket?: string | undefined;
|
|
838
|
-
} | undefined;
|
|
839
|
-
customRetention?: Record<string, number> | undefined;
|
|
840
|
-
minimumRetentionDays?: number | undefined;
|
|
841
|
-
}>>;
|
|
842
|
-
/**
|
|
843
|
-
* Suspicious activity detection rules
|
|
844
|
-
*/
|
|
567
|
+
}, z.core.$strip>>;
|
|
845
568
|
suspiciousActivityRules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
846
|
-
/**
|
|
847
|
-
* Unique identifier for the rule
|
|
848
|
-
*/
|
|
849
569
|
id: z.ZodString;
|
|
850
|
-
/**
|
|
851
|
-
* Rule name
|
|
852
|
-
*/
|
|
853
570
|
name: z.ZodString;
|
|
854
|
-
/**
|
|
855
|
-
* Rule description
|
|
856
|
-
*/
|
|
857
571
|
description: z.ZodOptional<z.ZodString>;
|
|
858
|
-
/**
|
|
859
|
-
* Whether the rule is enabled
|
|
860
|
-
*/
|
|
861
572
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
573
|
+
eventTypes: z.ZodArray<z.ZodEnum<{
|
|
574
|
+
"data.create": "data.create";
|
|
575
|
+
"data.read": "data.read";
|
|
576
|
+
"data.update": "data.update";
|
|
577
|
+
"data.delete": "data.delete";
|
|
578
|
+
"data.export": "data.export";
|
|
579
|
+
"data.import": "data.import";
|
|
580
|
+
"data.bulk_update": "data.bulk_update";
|
|
581
|
+
"data.bulk_delete": "data.bulk_delete";
|
|
582
|
+
"auth.login": "auth.login";
|
|
583
|
+
"auth.login_failed": "auth.login_failed";
|
|
584
|
+
"auth.logout": "auth.logout";
|
|
585
|
+
"auth.session_created": "auth.session_created";
|
|
586
|
+
"auth.session_expired": "auth.session_expired";
|
|
587
|
+
"auth.password_reset": "auth.password_reset";
|
|
588
|
+
"auth.password_changed": "auth.password_changed";
|
|
589
|
+
"auth.email_verified": "auth.email_verified";
|
|
590
|
+
"auth.mfa_enabled": "auth.mfa_enabled";
|
|
591
|
+
"auth.mfa_disabled": "auth.mfa_disabled";
|
|
592
|
+
"auth.account_locked": "auth.account_locked";
|
|
593
|
+
"auth.account_unlocked": "auth.account_unlocked";
|
|
594
|
+
"authz.permission_granted": "authz.permission_granted";
|
|
595
|
+
"authz.permission_revoked": "authz.permission_revoked";
|
|
596
|
+
"authz.role_assigned": "authz.role_assigned";
|
|
597
|
+
"authz.role_removed": "authz.role_removed";
|
|
598
|
+
"authz.role_created": "authz.role_created";
|
|
599
|
+
"authz.role_updated": "authz.role_updated";
|
|
600
|
+
"authz.role_deleted": "authz.role_deleted";
|
|
601
|
+
"authz.policy_created": "authz.policy_created";
|
|
602
|
+
"authz.policy_updated": "authz.policy_updated";
|
|
603
|
+
"authz.policy_deleted": "authz.policy_deleted";
|
|
604
|
+
"system.config_changed": "system.config_changed";
|
|
605
|
+
"system.plugin_installed": "system.plugin_installed";
|
|
606
|
+
"system.plugin_uninstalled": "system.plugin_uninstalled";
|
|
607
|
+
"system.backup_created": "system.backup_created";
|
|
608
|
+
"system.backup_restored": "system.backup_restored";
|
|
609
|
+
"system.integration_added": "system.integration_added";
|
|
610
|
+
"system.integration_removed": "system.integration_removed";
|
|
611
|
+
"security.access_denied": "security.access_denied";
|
|
612
|
+
"security.suspicious_activity": "security.suspicious_activity";
|
|
613
|
+
"security.data_breach": "security.data_breach";
|
|
614
|
+
"security.api_key_created": "security.api_key_created";
|
|
615
|
+
"security.api_key_revoked": "security.api_key_revoked";
|
|
616
|
+
}>>;
|
|
869
617
|
condition: z.ZodObject<{
|
|
870
|
-
/**
|
|
871
|
-
* Number of events that trigger the rule
|
|
872
|
-
*/
|
|
873
618
|
threshold: z.ZodNumber;
|
|
874
|
-
/**
|
|
875
|
-
* Time window in seconds
|
|
876
|
-
*/
|
|
877
619
|
windowSeconds: z.ZodNumber;
|
|
878
|
-
|
|
879
|
-
* Grouping criteria (e.g., by actor.id, by ipAddress)
|
|
880
|
-
*/
|
|
881
|
-
groupBy: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
882
|
-
/**
|
|
883
|
-
* Additional filters
|
|
884
|
-
*/
|
|
620
|
+
groupBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
885
621
|
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
886
|
-
},
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* Notification configuration
|
|
907
|
-
*/
|
|
622
|
+
}, z.core.$strip>;
|
|
623
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
624
|
+
alert: "alert";
|
|
625
|
+
lock_account: "lock_account";
|
|
626
|
+
block_ip: "block_ip";
|
|
627
|
+
require_mfa: "require_mfa";
|
|
628
|
+
log_critical: "log_critical";
|
|
629
|
+
webhook: "webhook";
|
|
630
|
+
}>>;
|
|
631
|
+
alertSeverity: z.ZodDefault<z.ZodEnum<{
|
|
632
|
+
error: "error";
|
|
633
|
+
warning: "warning";
|
|
634
|
+
info: "info";
|
|
635
|
+
debug: "debug";
|
|
636
|
+
notice: "notice";
|
|
637
|
+
critical: "critical";
|
|
638
|
+
alert: "alert";
|
|
639
|
+
emergency: "emergency";
|
|
640
|
+
}>>;
|
|
908
641
|
notifications: z.ZodOptional<z.ZodObject<{
|
|
909
|
-
|
|
910
|
-
* Email addresses to notify
|
|
911
|
-
*/
|
|
912
|
-
email: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
913
|
-
/**
|
|
914
|
-
* Slack webhook URL
|
|
915
|
-
*/
|
|
642
|
+
email: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
916
643
|
slack: z.ZodOptional<z.ZodString>;
|
|
917
|
-
/**
|
|
918
|
-
* Custom webhook URL
|
|
919
|
-
*/
|
|
920
644
|
webhook: z.ZodOptional<z.ZodString>;
|
|
921
|
-
},
|
|
922
|
-
|
|
923
|
-
webhook?: string | undefined;
|
|
924
|
-
slack?: string | undefined;
|
|
925
|
-
}, {
|
|
926
|
-
email?: string[] | undefined;
|
|
927
|
-
webhook?: string | undefined;
|
|
928
|
-
slack?: string | undefined;
|
|
929
|
-
}>>;
|
|
930
|
-
}, "strip", z.ZodTypeAny, {
|
|
931
|
-
enabled: boolean;
|
|
932
|
-
name: string;
|
|
933
|
-
condition: {
|
|
934
|
-
threshold: number;
|
|
935
|
-
windowSeconds: number;
|
|
936
|
-
groupBy?: string[] | undefined;
|
|
937
|
-
filters?: Record<string, any> | undefined;
|
|
938
|
-
};
|
|
939
|
-
id: string;
|
|
940
|
-
actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
|
|
941
|
-
eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
|
|
942
|
-
alertSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
|
|
943
|
-
description?: string | undefined;
|
|
944
|
-
notifications?: {
|
|
945
|
-
email?: string[] | undefined;
|
|
946
|
-
webhook?: string | undefined;
|
|
947
|
-
slack?: string | undefined;
|
|
948
|
-
} | undefined;
|
|
949
|
-
}, {
|
|
950
|
-
name: string;
|
|
951
|
-
condition: {
|
|
952
|
-
threshold: number;
|
|
953
|
-
windowSeconds: number;
|
|
954
|
-
groupBy?: string[] | undefined;
|
|
955
|
-
filters?: Record<string, any> | undefined;
|
|
956
|
-
};
|
|
957
|
-
id: string;
|
|
958
|
-
actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
|
|
959
|
-
eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
|
|
960
|
-
enabled?: boolean | undefined;
|
|
961
|
-
description?: string | undefined;
|
|
962
|
-
alertSeverity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
|
|
963
|
-
notifications?: {
|
|
964
|
-
email?: string[] | undefined;
|
|
965
|
-
webhook?: string | undefined;
|
|
966
|
-
slack?: string | undefined;
|
|
967
|
-
} | undefined;
|
|
968
|
-
}>, "many">>;
|
|
969
|
-
/**
|
|
970
|
-
* Whether to include sensitive data in audit logs
|
|
971
|
-
* If false, sensitive fields are redacted/masked
|
|
972
|
-
*/
|
|
645
|
+
}, z.core.$strip>>;
|
|
646
|
+
}, z.core.$strip>>>;
|
|
973
647
|
includeSensitiveData: z.ZodDefault<z.ZodBoolean>;
|
|
974
|
-
|
|
975
|
-
* Fields to redact from audit logs
|
|
976
|
-
*/
|
|
977
|
-
redactFields: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
978
|
-
/**
|
|
979
|
-
* Whether to log successful read operations
|
|
980
|
-
* Can be disabled to reduce log volume
|
|
981
|
-
*/
|
|
648
|
+
redactFields: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
982
649
|
logReads: z.ZodDefault<z.ZodBoolean>;
|
|
983
|
-
/**
|
|
984
|
-
* Sampling rate for read operations (0.0 to 1.0)
|
|
985
|
-
* Only applies if logReads is true
|
|
986
|
-
*/
|
|
987
650
|
readSamplingRate: z.ZodDefault<z.ZodNumber>;
|
|
988
|
-
/**
|
|
989
|
-
* Whether to log system/internal operations
|
|
990
|
-
*/
|
|
991
651
|
logSystemEvents: z.ZodDefault<z.ZodBoolean>;
|
|
992
|
-
/**
|
|
993
|
-
* Custom audit event handlers
|
|
994
|
-
* Note: Function handlers are for runtime configuration only and will not be serialized to JSON Schema
|
|
995
|
-
*/
|
|
996
652
|
customHandlers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
997
|
-
eventType: z.ZodEnum<
|
|
653
|
+
eventType: z.ZodEnum<{
|
|
654
|
+
"data.create": "data.create";
|
|
655
|
+
"data.read": "data.read";
|
|
656
|
+
"data.update": "data.update";
|
|
657
|
+
"data.delete": "data.delete";
|
|
658
|
+
"data.export": "data.export";
|
|
659
|
+
"data.import": "data.import";
|
|
660
|
+
"data.bulk_update": "data.bulk_update";
|
|
661
|
+
"data.bulk_delete": "data.bulk_delete";
|
|
662
|
+
"auth.login": "auth.login";
|
|
663
|
+
"auth.login_failed": "auth.login_failed";
|
|
664
|
+
"auth.logout": "auth.logout";
|
|
665
|
+
"auth.session_created": "auth.session_created";
|
|
666
|
+
"auth.session_expired": "auth.session_expired";
|
|
667
|
+
"auth.password_reset": "auth.password_reset";
|
|
668
|
+
"auth.password_changed": "auth.password_changed";
|
|
669
|
+
"auth.email_verified": "auth.email_verified";
|
|
670
|
+
"auth.mfa_enabled": "auth.mfa_enabled";
|
|
671
|
+
"auth.mfa_disabled": "auth.mfa_disabled";
|
|
672
|
+
"auth.account_locked": "auth.account_locked";
|
|
673
|
+
"auth.account_unlocked": "auth.account_unlocked";
|
|
674
|
+
"authz.permission_granted": "authz.permission_granted";
|
|
675
|
+
"authz.permission_revoked": "authz.permission_revoked";
|
|
676
|
+
"authz.role_assigned": "authz.role_assigned";
|
|
677
|
+
"authz.role_removed": "authz.role_removed";
|
|
678
|
+
"authz.role_created": "authz.role_created";
|
|
679
|
+
"authz.role_updated": "authz.role_updated";
|
|
680
|
+
"authz.role_deleted": "authz.role_deleted";
|
|
681
|
+
"authz.policy_created": "authz.policy_created";
|
|
682
|
+
"authz.policy_updated": "authz.policy_updated";
|
|
683
|
+
"authz.policy_deleted": "authz.policy_deleted";
|
|
684
|
+
"system.config_changed": "system.config_changed";
|
|
685
|
+
"system.plugin_installed": "system.plugin_installed";
|
|
686
|
+
"system.plugin_uninstalled": "system.plugin_uninstalled";
|
|
687
|
+
"system.backup_created": "system.backup_created";
|
|
688
|
+
"system.backup_restored": "system.backup_restored";
|
|
689
|
+
"system.integration_added": "system.integration_added";
|
|
690
|
+
"system.integration_removed": "system.integration_removed";
|
|
691
|
+
"security.access_denied": "security.access_denied";
|
|
692
|
+
"security.suspicious_activity": "security.suspicious_activity";
|
|
693
|
+
"security.data_breach": "security.data_breach";
|
|
694
|
+
"security.api_key_created": "security.api_key_created";
|
|
695
|
+
"security.api_key_revoked": "security.api_key_revoked";
|
|
696
|
+
}>;
|
|
998
697
|
handlerId: z.ZodString;
|
|
999
|
-
},
|
|
1000
|
-
eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
|
|
1001
|
-
handlerId: string;
|
|
1002
|
-
}, {
|
|
1003
|
-
eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
|
|
1004
|
-
handlerId: string;
|
|
1005
|
-
}>, "many">>;
|
|
1006
|
-
/**
|
|
1007
|
-
* Compliance mode configuration
|
|
1008
|
-
*/
|
|
698
|
+
}, z.core.$strip>>>;
|
|
1009
699
|
compliance: z.ZodOptional<z.ZodObject<{
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
700
|
+
standards: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
701
|
+
sox: "sox";
|
|
702
|
+
hipaa: "hipaa";
|
|
703
|
+
gdpr: "gdpr";
|
|
704
|
+
pci_dss: "pci_dss";
|
|
705
|
+
iso_27001: "iso_27001";
|
|
706
|
+
fedramp: "fedramp";
|
|
707
|
+
}>>>;
|
|
1017
708
|
immutableLogs: z.ZodDefault<z.ZodBoolean>;
|
|
1018
|
-
/**
|
|
1019
|
-
* Whether to require cryptographic signing
|
|
1020
|
-
*/
|
|
1021
709
|
requireSigning: z.ZodDefault<z.ZodBoolean>;
|
|
1022
|
-
/**
|
|
1023
|
-
* Signing key configuration
|
|
1024
|
-
*/
|
|
1025
710
|
signingKey: z.ZodOptional<z.ZodString>;
|
|
1026
|
-
},
|
|
1027
|
-
|
|
1028
|
-
requireSigning: boolean;
|
|
1029
|
-
standards?: ("sox" | "hipaa" | "gdpr" | "pci_dss" | "iso_27001" | "fedramp")[] | undefined;
|
|
1030
|
-
signingKey?: string | undefined;
|
|
1031
|
-
}, {
|
|
1032
|
-
standards?: ("sox" | "hipaa" | "gdpr" | "pci_dss" | "iso_27001" | "fedramp")[] | undefined;
|
|
1033
|
-
immutableLogs?: boolean | undefined;
|
|
1034
|
-
requireSigning?: boolean | undefined;
|
|
1035
|
-
signingKey?: string | undefined;
|
|
1036
|
-
}>>;
|
|
1037
|
-
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
enabled: boolean;
|
|
1039
|
-
label: string;
|
|
1040
|
-
name: string;
|
|
1041
|
-
minimumSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
|
|
1042
|
-
storage: {
|
|
1043
|
-
type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
|
|
1044
|
-
bufferEnabled: boolean;
|
|
1045
|
-
bufferSize: number;
|
|
1046
|
-
flushIntervalSeconds: number;
|
|
1047
|
-
compression: boolean;
|
|
1048
|
-
connectionString?: string | undefined;
|
|
1049
|
-
config?: Record<string, any> | undefined;
|
|
1050
|
-
};
|
|
1051
|
-
retentionPolicy: {
|
|
1052
|
-
retentionDays: number;
|
|
1053
|
-
archiveAfterRetention: boolean;
|
|
1054
|
-
archiveStorage?: {
|
|
1055
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
1056
|
-
path?: string | undefined;
|
|
1057
|
-
credentials?: Record<string, any> | undefined;
|
|
1058
|
-
endpoint?: string | undefined;
|
|
1059
|
-
bucket?: string | undefined;
|
|
1060
|
-
} | undefined;
|
|
1061
|
-
customRetention?: Record<string, number> | undefined;
|
|
1062
|
-
minimumRetentionDays?: number | undefined;
|
|
1063
|
-
};
|
|
1064
|
-
suspiciousActivityRules: {
|
|
1065
|
-
enabled: boolean;
|
|
1066
|
-
name: string;
|
|
1067
|
-
condition: {
|
|
1068
|
-
threshold: number;
|
|
1069
|
-
windowSeconds: number;
|
|
1070
|
-
groupBy?: string[] | undefined;
|
|
1071
|
-
filters?: Record<string, any> | undefined;
|
|
1072
|
-
};
|
|
1073
|
-
id: string;
|
|
1074
|
-
actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
|
|
1075
|
-
eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
|
|
1076
|
-
alertSeverity: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency";
|
|
1077
|
-
description?: string | undefined;
|
|
1078
|
-
notifications?: {
|
|
1079
|
-
email?: string[] | undefined;
|
|
1080
|
-
webhook?: string | undefined;
|
|
1081
|
-
slack?: string | undefined;
|
|
1082
|
-
} | undefined;
|
|
1083
|
-
}[];
|
|
1084
|
-
includeSensitiveData: boolean;
|
|
1085
|
-
redactFields: string[];
|
|
1086
|
-
logReads: boolean;
|
|
1087
|
-
readSamplingRate: number;
|
|
1088
|
-
logSystemEvents: boolean;
|
|
1089
|
-
eventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
|
|
1090
|
-
excludeEventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
|
|
1091
|
-
customHandlers?: {
|
|
1092
|
-
eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
|
|
1093
|
-
handlerId: string;
|
|
1094
|
-
}[] | undefined;
|
|
1095
|
-
compliance?: {
|
|
1096
|
-
immutableLogs: boolean;
|
|
1097
|
-
requireSigning: boolean;
|
|
1098
|
-
standards?: ("sox" | "hipaa" | "gdpr" | "pci_dss" | "iso_27001" | "fedramp")[] | undefined;
|
|
1099
|
-
signingKey?: string | undefined;
|
|
1100
|
-
} | undefined;
|
|
1101
|
-
}, {
|
|
1102
|
-
label: string;
|
|
1103
|
-
name: string;
|
|
1104
|
-
storage: {
|
|
1105
|
-
type: "custom" | "database" | "mongodb" | "elasticsearch" | "s3" | "gcs" | "azure_blob" | "clickhouse";
|
|
1106
|
-
connectionString?: string | undefined;
|
|
1107
|
-
config?: Record<string, any> | undefined;
|
|
1108
|
-
bufferEnabled?: boolean | undefined;
|
|
1109
|
-
bufferSize?: number | undefined;
|
|
1110
|
-
flushIntervalSeconds?: number | undefined;
|
|
1111
|
-
compression?: boolean | undefined;
|
|
1112
|
-
};
|
|
1113
|
-
enabled?: boolean | undefined;
|
|
1114
|
-
eventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
|
|
1115
|
-
excludeEventTypes?: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[] | undefined;
|
|
1116
|
-
minimumSeverity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
|
|
1117
|
-
retentionPolicy?: {
|
|
1118
|
-
retentionDays?: number | undefined;
|
|
1119
|
-
archiveAfterRetention?: boolean | undefined;
|
|
1120
|
-
archiveStorage?: {
|
|
1121
|
-
type: "s3" | "gcs" | "azure_blob" | "filesystem";
|
|
1122
|
-
path?: string | undefined;
|
|
1123
|
-
credentials?: Record<string, any> | undefined;
|
|
1124
|
-
endpoint?: string | undefined;
|
|
1125
|
-
bucket?: string | undefined;
|
|
1126
|
-
} | undefined;
|
|
1127
|
-
customRetention?: Record<string, number> | undefined;
|
|
1128
|
-
minimumRetentionDays?: number | undefined;
|
|
1129
|
-
} | undefined;
|
|
1130
|
-
suspiciousActivityRules?: {
|
|
1131
|
-
name: string;
|
|
1132
|
-
condition: {
|
|
1133
|
-
threshold: number;
|
|
1134
|
-
windowSeconds: number;
|
|
1135
|
-
groupBy?: string[] | undefined;
|
|
1136
|
-
filters?: Record<string, any> | undefined;
|
|
1137
|
-
};
|
|
1138
|
-
id: string;
|
|
1139
|
-
actions: ("alert" | "lock_account" | "block_ip" | "require_mfa" | "log_critical" | "webhook")[];
|
|
1140
|
-
eventTypes: ("data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked")[];
|
|
1141
|
-
enabled?: boolean | undefined;
|
|
1142
|
-
description?: string | undefined;
|
|
1143
|
-
alertSeverity?: "error" | "warning" | "info" | "debug" | "notice" | "critical" | "alert" | "emergency" | undefined;
|
|
1144
|
-
notifications?: {
|
|
1145
|
-
email?: string[] | undefined;
|
|
1146
|
-
webhook?: string | undefined;
|
|
1147
|
-
slack?: string | undefined;
|
|
1148
|
-
} | undefined;
|
|
1149
|
-
}[] | undefined;
|
|
1150
|
-
includeSensitiveData?: boolean | undefined;
|
|
1151
|
-
redactFields?: string[] | undefined;
|
|
1152
|
-
logReads?: boolean | undefined;
|
|
1153
|
-
readSamplingRate?: number | undefined;
|
|
1154
|
-
logSystemEvents?: boolean | undefined;
|
|
1155
|
-
customHandlers?: {
|
|
1156
|
-
eventType: "data.create" | "data.read" | "data.update" | "data.delete" | "data.export" | "data.import" | "data.bulk_update" | "data.bulk_delete" | "auth.login" | "auth.login_failed" | "auth.logout" | "auth.session_created" | "auth.session_expired" | "auth.password_reset" | "auth.password_changed" | "auth.email_verified" | "auth.mfa_enabled" | "auth.mfa_disabled" | "auth.account_locked" | "auth.account_unlocked" | "authz.permission_granted" | "authz.permission_revoked" | "authz.role_assigned" | "authz.role_removed" | "authz.role_created" | "authz.role_updated" | "authz.role_deleted" | "authz.policy_created" | "authz.policy_updated" | "authz.policy_deleted" | "system.config_changed" | "system.plugin_installed" | "system.plugin_uninstalled" | "system.backup_created" | "system.backup_restored" | "system.integration_added" | "system.integration_removed" | "security.access_denied" | "security.suspicious_activity" | "security.data_breach" | "security.api_key_created" | "security.api_key_revoked";
|
|
1157
|
-
handlerId: string;
|
|
1158
|
-
}[] | undefined;
|
|
1159
|
-
compliance?: {
|
|
1160
|
-
standards?: ("sox" | "hipaa" | "gdpr" | "pci_dss" | "iso_27001" | "fedramp")[] | undefined;
|
|
1161
|
-
immutableLogs?: boolean | undefined;
|
|
1162
|
-
requireSigning?: boolean | undefined;
|
|
1163
|
-
signingKey?: string | undefined;
|
|
1164
|
-
} | undefined;
|
|
1165
|
-
}>;
|
|
711
|
+
}, z.core.$strip>>;
|
|
712
|
+
}, z.core.$strip>;
|
|
1166
713
|
export type AuditConfig = z.infer<typeof AuditConfigSchema>;
|
|
1167
714
|
/**
|
|
1168
715
|
* Default suspicious activity rules
|