@objectstack/spec 0.6.1 → 0.7.2
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 +2231 -0
- package/dist/ai/agent-action.zod.d.ts.map +1 -0
- package/dist/ai/agent-action.zod.js +401 -0
- package/dist/ai/agent.zod.d.ts +8 -8
- package/dist/ai/conversation.zod.d.ts +100 -66
- 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 +279 -207
- package/dist/ai/cost.zod.d.ts.map +1 -1
- package/dist/ai/cost.zod.js +25 -1
- package/dist/ai/index.d.ts +1 -0
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +1 -0
- package/dist/ai/model-registry.zod.d.ts +125 -125
- package/dist/ai/nlq.zod.d.ts +72 -45
- package/dist/ai/nlq.zod.d.ts.map +1 -1
- package/dist/ai/nlq.zod.js +4 -0
- package/dist/ai/orchestration.zod.d.ts +73 -47
- package/dist/ai/orchestration.zod.d.ts.map +1 -1
- package/dist/ai/orchestration.zod.js +3 -0
- package/dist/ai/predictive.zod.d.ts +90 -64
- package/dist/ai/predictive.zod.d.ts.map +1 -1
- package/dist/ai/predictive.zod.js +3 -0
- package/dist/ai/rag-pipeline.zod.d.ts +100 -74
- package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
- package/dist/ai/rag-pipeline.zod.js +4 -1
- package/dist/api/batch.zod.d.ts +1102 -0
- package/dist/api/batch.zod.d.ts.map +1 -0
- package/dist/api/batch.zod.js +209 -0
- package/dist/api/contract.zod.d.ts +96 -0
- package/dist/api/contract.zod.d.ts.map +1 -1
- package/dist/api/discovery.zod.d.ts +16 -16
- package/dist/api/endpoint.zod.d.ts +29 -28
- package/dist/api/endpoint.zod.d.ts.map +1 -1
- package/dist/api/endpoint.zod.js +4 -7
- package/dist/api/errors.zod.d.ts +364 -0
- package/dist/api/errors.zod.d.ts.map +1 -0
- package/dist/api/errors.zod.js +296 -0
- package/dist/api/graphql.zod.d.ts +5727 -0
- package/dist/api/graphql.zod.d.ts.map +1 -0
- package/dist/api/graphql.zod.js +724 -0
- package/dist/api/http-cache.zod.d.ts +439 -0
- package/dist/api/http-cache.zod.d.ts.map +1 -0
- package/dist/api/http-cache.zod.js +219 -0
- package/dist/api/index.d.ts +11 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +13 -1
- package/dist/api/odata.zod.d.ts +383 -4
- package/dist/api/odata.zod.d.ts.map +1 -1
- package/dist/api/odata.zod.js +14 -1
- package/dist/api/protocol.zod.d.ts +9375 -0
- package/dist/api/protocol.zod.d.ts.map +1 -0
- package/dist/api/protocol.zod.js +376 -0
- package/dist/api/realtime.zod.d.ts +135 -2
- package/dist/api/realtime.zod.d.ts.map +1 -1
- package/dist/api/realtime.zod.js +14 -1
- package/dist/api/rest-server.zod.d.ts +2330 -0
- package/dist/api/rest-server.zod.d.ts.map +1 -0
- package/dist/api/rest-server.zod.js +424 -0
- package/dist/api/router.zod.d.ts +39 -32
- package/dist/api/router.zod.d.ts.map +1 -1
- package/dist/api/router.zod.js +5 -23
- package/dist/api/view-storage.zod.d.ts +8220 -0
- package/dist/api/view-storage.zod.d.ts.map +1 -0
- package/dist/api/view-storage.zod.js +243 -0
- package/dist/api/websocket.zod.d.ts +1740 -0
- package/dist/api/websocket.zod.d.ts.map +1 -0
- package/dist/api/websocket.zod.js +470 -0
- package/dist/auth/config.zod.d.ts +655 -304
- package/dist/auth/config.zod.d.ts.map +1 -1
- package/dist/auth/config.zod.js +149 -7
- package/dist/auth/identity.zod.d.ts +7 -7
- package/dist/auth/organization.zod.d.ts +6 -6
- package/dist/auth/policy.zod.d.ts +3 -3
- package/dist/auth/scim.zod.d.ts +83 -83
- package/dist/automation/approval.zod.d.ts +18 -18
- package/dist/automation/etl.zod.d.ts +53 -23
- package/dist/automation/etl.zod.d.ts.map +1 -1
- package/dist/automation/etl.zod.js +31 -1
- package/dist/automation/flow.zod.d.ts +26 -26
- package/dist/automation/index.d.ts +1 -1
- package/dist/automation/index.d.ts.map +1 -1
- package/dist/automation/index.js +1 -1
- package/dist/automation/sync.zod.d.ts +382 -167
- package/dist/automation/sync.zod.d.ts.map +1 -1
- package/dist/automation/sync.zod.js +38 -31
- package/dist/automation/{connector.zod.d.ts → trigger-registry.zod.d.ts} +77 -62
- package/dist/automation/trigger-registry.zod.d.ts.map +1 -0
- package/dist/automation/{connector.zod.js → trigger-registry.zod.js} +36 -21
- package/dist/automation/webhook.zod.d.ts +106 -19
- package/dist/automation/webhook.zod.d.ts.map +1 -1
- package/dist/automation/webhook.zod.js +58 -13
- package/dist/automation/workflow.zod.d.ts +1089 -265
- package/dist/automation/workflow.zod.d.ts.map +1 -1
- package/dist/automation/workflow.zod.js +3 -6
- package/dist/contracts/data-engine.d.ts +61 -0
- package/dist/contracts/data-engine.d.ts.map +1 -0
- package/dist/contracts/data-engine.js +2 -0
- package/dist/contracts/http-server.d.ts +119 -0
- package/dist/contracts/http-server.d.ts.map +1 -0
- package/dist/contracts/http-server.js +12 -0
- package/dist/contracts/index.d.ts +14 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +29 -0
- package/dist/contracts/logger.d.ts +63 -0
- package/dist/contracts/logger.d.ts.map +1 -0
- package/dist/contracts/logger.js +2 -0
- package/dist/contracts/plugin-lifecycle-events.d.ts +150 -0
- package/dist/contracts/plugin-lifecycle-events.d.ts.map +1 -0
- package/dist/contracts/plugin-lifecycle-events.js +10 -0
- package/dist/contracts/plugin-validator.d.ts +106 -0
- package/dist/contracts/plugin-validator.d.ts.map +1 -0
- package/dist/contracts/plugin-validator.js +8 -0
- package/dist/contracts/service-registry.d.ts +94 -0
- package/dist/contracts/service-registry.d.ts.map +1 -0
- package/dist/contracts/service-registry.js +11 -0
- package/dist/contracts/startup-orchestrator.d.ts +122 -0
- package/dist/contracts/startup-orchestrator.d.ts.map +1 -0
- package/dist/contracts/startup-orchestrator.js +2 -0
- package/dist/data/data-engine.zod.d.ts +2636 -0
- package/dist/data/data-engine.zod.d.ts.map +1 -0
- package/dist/data/data-engine.zod.js +282 -0
- package/dist/data/document.zod.d.ts +746 -0
- package/dist/data/document.zod.d.ts.map +1 -0
- package/dist/data/document.zod.js +326 -0
- package/dist/data/driver/mongo.zod.d.ts +82 -0
- package/dist/data/driver/mongo.zod.d.ts.map +1 -0
- package/dist/data/driver/mongo.zod.js +68 -0
- package/dist/{system → data}/driver/postgres.zod.d.ts +4 -4
- package/dist/data/driver/postgres.zod.d.ts.map +1 -0
- package/dist/data/driver-nosql.zod.d.ts +1008 -0
- package/dist/data/driver-nosql.zod.d.ts.map +1 -0
- package/dist/data/driver-nosql.zod.js +417 -0
- package/dist/data/driver-sql.zod.d.ts +652 -0
- package/dist/data/driver-sql.zod.d.ts.map +1 -0
- package/dist/data/driver-sql.zod.js +150 -0
- package/dist/{system → data}/driver.zod.d.ts +1538 -249
- package/dist/data/driver.zod.d.ts.map +1 -0
- package/dist/{system → data}/driver.zod.js +137 -13
- package/dist/data/external-lookup.zod.d.ts +662 -0
- package/dist/data/external-lookup.zod.d.ts.map +1 -0
- package/dist/data/external-lookup.zod.js +223 -0
- package/dist/data/field.zod.d.ts +3896 -107
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +161 -2
- package/dist/data/hook.zod.d.ts +4 -4
- package/dist/data/index.d.ts +7 -0
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/index.js +9 -0
- package/dist/data/mapping.zod.d.ts +85 -17
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/object.zod.d.ts +2117 -77
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +131 -16
- package/dist/data/query.zod.d.ts +112 -0
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +47 -1
- package/dist/data/validation.zod.d.ts +2 -2
- package/dist/hub/composer.zod.d.ts +869 -68
- package/dist/hub/composer.zod.d.ts.map +1 -1
- package/dist/hub/index.d.ts +1 -0
- package/dist/hub/index.d.ts.map +1 -1
- package/dist/hub/index.js +1 -0
- package/dist/hub/license.zod.d.ts +2 -2
- package/dist/hub/marketplace.zod.d.ts +3 -2
- package/dist/hub/marketplace.zod.d.ts.map +1 -1
- package/dist/hub/plugin-registry.zod.d.ts +1681 -0
- package/dist/hub/plugin-registry.zod.d.ts.map +1 -0
- package/dist/hub/plugin-registry.zod.js +350 -0
- package/dist/hub/space.zod.d.ts +24 -23
- package/dist/hub/space.zod.d.ts.map +1 -1
- package/dist/hub/tenant.zod.d.ts +44 -44
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -1
- package/dist/integration/connector/database.zod.d.ts +1666 -0
- package/dist/integration/connector/database.zod.d.ts.map +1 -0
- package/dist/integration/connector/database.zod.js +303 -0
- package/dist/integration/connector/file-storage.zod.d.ts +1386 -0
- package/dist/integration/connector/file-storage.zod.d.ts.map +1 -0
- package/dist/integration/connector/file-storage.zod.js +346 -0
- package/dist/integration/connector/message-queue.zod.d.ts +1729 -0
- package/dist/integration/connector/message-queue.zod.d.ts.map +1 -0
- package/dist/integration/connector/message-queue.zod.js +428 -0
- package/dist/integration/connector/saas.zod.d.ts +1441 -0
- package/dist/integration/connector/saas.zod.d.ts.map +1 -0
- package/dist/integration/connector/saas.zod.js +224 -0
- package/dist/integration/connector.zod.d.ts +1571 -0
- package/dist/integration/connector.zod.d.ts.map +1 -0
- package/dist/integration/connector.zod.js +426 -0
- package/dist/integration/index.d.ts +15 -0
- package/dist/integration/index.d.ts.map +1 -0
- package/dist/integration/index.js +32 -0
- package/dist/permission/permission.zod.d.ts +140 -6
- package/dist/permission/permission.zod.d.ts.map +1 -1
- package/dist/permission/permission.zod.js +48 -0
- package/dist/permission/rls.zod.d.ts +8 -8
- package/dist/permission/sharing.zod.d.ts +14 -14
- package/dist/shared/http.zod.d.ts +140 -0
- package/dist/shared/http.zod.d.ts.map +1 -0
- package/dist/shared/http.zod.js +133 -0
- package/dist/shared/index.d.ts +2 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/index.js +2 -0
- package/dist/shared/mapping.zod.d.ts +226 -0
- package/dist/shared/mapping.zod.d.ts.map +1 -0
- package/dist/shared/mapping.zod.js +103 -0
- package/dist/stack.zod.d.ts +9222 -1785
- package/dist/stack.zod.d.ts.map +1 -1
- package/dist/system/audit.zod.d.ts +35 -35
- package/dist/system/cache.zod.d.ts +151 -0
- package/dist/system/cache.zod.d.ts.map +1 -0
- package/dist/system/cache.zod.js +57 -0
- package/dist/system/change-management.zod.d.ts +626 -0
- package/dist/system/change-management.zod.d.ts.map +1 -0
- package/dist/system/change-management.zod.js +329 -0
- package/dist/system/collaboration.zod.d.ts +2099 -0
- package/dist/system/collaboration.zod.d.ts.map +1 -0
- package/dist/system/collaboration.zod.js +392 -0
- package/dist/system/compliance.zod.d.ts +366 -0
- package/dist/system/compliance.zod.d.ts.map +1 -0
- package/dist/system/compliance.zod.js +70 -0
- package/dist/system/context.zod.d.ts +5 -5
- package/dist/system/encryption.zod.d.ts +227 -0
- package/dist/system/encryption.zod.d.ts.map +1 -0
- package/dist/system/encryption.zod.js +43 -0
- package/dist/system/events.zod.d.ts +2536 -0
- package/dist/system/events.zod.d.ts.map +1 -1
- package/dist/system/events.zod.js +582 -1
- package/dist/system/feature.zod.d.ts +12 -12
- package/dist/system/http-server.zod.d.ts +735 -0
- package/dist/system/http-server.zod.d.ts.map +1 -0
- package/dist/system/http-server.zod.js +300 -0
- package/dist/system/index.d.ts +21 -6
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +33 -7
- package/dist/system/job.zod.d.ts +5 -4
- package/dist/system/job.zod.d.ts.map +1 -1
- package/dist/system/logging.zod.d.ts +2186 -0
- package/dist/system/logging.zod.d.ts.map +1 -0
- package/dist/system/logging.zod.js +564 -0
- package/dist/system/manifest.zod.d.ts +659 -14
- package/dist/system/manifest.zod.d.ts.map +1 -1
- package/dist/system/manifest.zod.js +8 -0
- package/dist/system/masking.zod.d.ts +87 -0
- package/dist/system/masking.zod.d.ts.map +1 -0
- package/dist/system/masking.zod.js +30 -0
- package/dist/system/message-queue.zod.d.ts +177 -0
- package/dist/system/message-queue.zod.d.ts.map +1 -0
- package/dist/system/message-queue.zod.js +46 -0
- package/dist/system/metadata-loader.zod.d.ts +641 -0
- package/dist/system/metadata-loader.zod.d.ts.map +1 -0
- package/dist/system/metadata-loader.zod.js +373 -0
- package/dist/system/metrics.zod.d.ts +1965 -0
- package/dist/system/metrics.zod.d.ts.map +1 -0
- package/dist/system/metrics.zod.js +585 -0
- package/dist/system/notification.zod.d.ts +725 -0
- package/dist/system/notification.zod.d.ts.map +1 -0
- package/dist/system/notification.zod.js +335 -0
- package/dist/system/object-storage.zod.d.ts +1722 -0
- package/dist/system/object-storage.zod.d.ts.map +1 -0
- package/dist/system/object-storage.zod.js +591 -0
- package/dist/system/plugin-capability.zod.d.ts +1130 -0
- package/dist/system/plugin-capability.zod.d.ts.map +1 -0
- package/dist/system/plugin-capability.zod.js +271 -0
- package/dist/system/plugin-lifecycle-events.zod.d.ts +382 -0
- package/dist/system/plugin-lifecycle-events.zod.d.ts.map +1 -0
- package/dist/system/plugin-lifecycle-events.zod.js +284 -0
- package/dist/system/plugin-validator.zod.d.ts +245 -0
- package/dist/system/plugin-validator.zod.d.ts.map +1 -0
- package/dist/system/plugin-validator.zod.js +136 -0
- package/dist/system/plugin.zod.d.ts +86 -86
- package/dist/system/search-engine.zod.d.ts +256 -0
- package/dist/system/search-engine.zod.d.ts.map +1 -0
- package/dist/system/search-engine.zod.js +50 -0
- package/dist/system/service-registry.zod.d.ts +247 -0
- package/dist/system/service-registry.zod.d.ts.map +1 -0
- package/dist/system/service-registry.zod.js +218 -0
- package/dist/system/startup-orchestrator.zod.d.ts +376 -0
- package/dist/system/startup-orchestrator.zod.d.ts.map +1 -0
- package/dist/system/startup-orchestrator.zod.js +171 -0
- package/dist/system/tracing.zod.d.ts +1881 -0
- package/dist/system/tracing.zod.d.ts.map +1 -0
- package/dist/system/tracing.zod.js +567 -0
- package/dist/system/worker.zod.d.ts +1458 -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 +10 -10
- package/dist/ui/app.zod.d.ts +6 -6
- package/dist/ui/chart.zod.d.ts +41 -0
- package/dist/ui/chart.zod.d.ts.map +1 -0
- package/dist/ui/chart.zod.js +66 -0
- package/dist/ui/component.zod.d.ts +2 -2
- package/dist/ui/dashboard.zod.d.ts +108 -18
- package/dist/ui/dashboard.zod.d.ts.map +1 -1
- package/dist/ui/dashboard.zod.js +5 -25
- package/dist/ui/index.d.ts +3 -1
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +3 -1
- package/dist/ui/page.zod.d.ts +2 -2
- package/dist/ui/page.zod.js +1 -1
- package/dist/ui/report.zod.d.ts +62 -12
- package/dist/ui/report.zod.d.ts.map +1 -1
- package/dist/ui/report.zod.js +5 -5
- package/dist/ui/theme.zod.d.ts +6 -6
- package/dist/ui/view.zod.d.ts +316 -316
- package/dist/ui/widget.zod.d.ts +825 -31
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/json-schema/ai/AIOperationCost.json +79 -0
- package/json-schema/ai/AIOrchestrationExecutionResult.json +32 -0
- package/json-schema/ai/AgentAction.json +436 -0
- package/json-schema/ai/AgentActionResult.json +69 -0
- package/json-schema/ai/AgentActionSequence.json +492 -0
- package/json-schema/ai/AgentActionSequenceResult.json +143 -0
- package/json-schema/ai/ComponentActionParams.json +77 -0
- package/json-schema/ai/ComponentActionType.json +20 -0
- package/json-schema/ai/ConversationMessage.json +12 -2
- package/json-schema/ai/ConversationSession.json +44 -2
- package/json-schema/ai/DataActionParams.json +38 -0
- package/json-schema/ai/DataActionType.json +18 -0
- package/json-schema/ai/FormActionParams.json +36 -0
- package/json-schema/ai/FormActionType.json +20 -0
- package/json-schema/ai/IntentActionMapping.json +491 -0
- package/json-schema/ai/NLQResponse.json +32 -0
- package/json-schema/ai/NavigationActionParams.json +56 -0
- package/json-schema/ai/NavigationActionType.json +21 -0
- package/json-schema/ai/PredictionResult.json +32 -0
- package/json-schema/ai/RAGQueryResponse.json +34 -1
- package/json-schema/ai/TokenUsage.json +32 -0
- package/json-schema/ai/UIActionType.json +63 -0
- package/json-schema/ai/ViewActionParams.json +74 -0
- package/json-schema/ai/ViewActionType.json +21 -0
- package/json-schema/ai/WorkflowActionParams.json +61 -0
- package/json-schema/ai/WorkflowActionType.json +18 -0
- package/json-schema/api/AckMessage.json +46 -0
- package/json-schema/api/ApiEndpoint.json +4 -3
- package/json-schema/api/BatchConfig.json +51 -0
- package/json-schema/api/BatchDataRequest.json +93 -0
- package/json-schema/api/BatchDataResponse.json +144 -0
- package/json-schema/api/BatchEndpointsConfig.json +56 -0
- package/json-schema/api/BatchOperationResult.json +57 -0
- package/json-schema/api/BatchOperationType.json +15 -0
- package/json-schema/api/BatchOptions.json +32 -0
- package/json-schema/api/BatchRecord.json +25 -0
- package/json-schema/api/BatchUpdateRequest.json +78 -0
- package/json-schema/api/BatchUpdateResponse.json +144 -0
- package/json-schema/api/CacheControl.json +42 -0
- package/json-schema/api/CacheDirective.json +17 -0
- package/json-schema/api/CacheInvalidationRequest.json +43 -0
- package/json-schema/api/CacheInvalidationResponse.json +31 -0
- package/json-schema/api/CacheInvalidationTarget.json +17 -0
- package/json-schema/api/CreateDataRequest.json +25 -0
- package/json-schema/api/CreateDataResponse.json +30 -0
- package/json-schema/api/CreateManyDataRequest.json +28 -0
- package/json-schema/api/CreateManyDataResponse.json +33 -0
- package/json-schema/api/CreateViewRequest.json +1042 -0
- package/json-schema/api/CrudEndpointPattern.json +41 -0
- package/json-schema/api/CrudEndpointsConfig.json +106 -0
- package/json-schema/api/CrudOperation.json +16 -0
- package/json-schema/api/CursorMessage.json +139 -0
- package/json-schema/api/CursorPosition.json +112 -0
- package/json-schema/api/DeleteDataRequest.json +24 -0
- package/json-schema/api/DeleteDataResponse.json +29 -0
- package/json-schema/api/DeleteManyDataRequest.json +54 -0
- package/json-schema/api/DeleteManyDataResponse.json +144 -0
- package/json-schema/api/DeleteManyRequest.json +51 -0
- package/json-schema/api/DeleteViewRequest.json +19 -0
- package/json-schema/api/DeleteViewResponse.json +19 -0
- package/json-schema/api/DocumentState.json +49 -0
- package/json-schema/api/ETag.json +24 -0
- package/json-schema/api/EditMessage.json +135 -0
- package/json-schema/api/EditOperation.json +108 -0
- package/json-schema/api/EditOperationType.json +14 -0
- package/json-schema/api/EndpointRegistry.json +284 -0
- package/json-schema/api/EnhancedApiError.json +226 -0
- package/json-schema/api/ErrorCategory.json +20 -0
- package/json-schema/api/ErrorMessage.json +44 -0
- package/json-schema/api/ErrorResponse.json +259 -0
- package/json-schema/api/EventFilter.json +65 -0
- package/json-schema/api/EventFilterCondition.json +42 -0
- package/json-schema/api/EventMessage.json +55 -0
- package/json-schema/api/EventPattern.json +12 -0
- package/json-schema/api/EventSubscription.json +105 -0
- package/json-schema/api/ExportRequest.json +110 -0
- package/json-schema/api/FieldError.json +88 -0
- package/json-schema/api/FilterOperator.json +24 -0
- package/json-schema/api/FindDataRequest.json +509 -0
- package/json-schema/api/FindDataResponse.json +36 -0
- package/json-schema/api/GeneratedEndpoint.json +88 -0
- package/json-schema/api/GetDataRequest.json +24 -0
- package/json-schema/api/GetDataResponse.json +30 -0
- package/json-schema/api/GetDiscoveryRequest.json +11 -0
- package/json-schema/api/GetDiscoveryResponse.json +38 -0
- package/json-schema/api/GetMetaItemCachedRequest.json +77 -0
- package/json-schema/api/GetMetaItemCachedResponse.json +85 -0
- package/json-schema/api/GetMetaItemRequest.json +24 -0
- package/json-schema/api/GetMetaItemResponse.json +27 -0
- package/json-schema/api/GetMetaItemsRequest.json +19 -0
- package/json-schema/api/GetMetaItemsResponse.json +24 -0
- package/json-schema/api/GetMetaTypesRequest.json +11 -0
- package/json-schema/api/GetMetaTypesResponse.json +22 -0
- package/json-schema/api/GetUiViewRequest.json +28 -0
- package/json-schema/api/GetUiViewResponse.json +31 -0
- package/json-schema/api/GetViewRequest.json +19 -0
- package/json-schema/api/GetViewResponse.json +1103 -0
- package/json-schema/api/GraphQLConfig.json +1389 -0
- package/json-schema/api/GraphQLDataLoaderConfig.json +101 -0
- package/json-schema/api/GraphQLDirectiveConfig.json +108 -0
- package/json-schema/api/GraphQLDirectiveLocation.json +30 -0
- package/json-schema/api/GraphQLMutationConfig.json +180 -0
- package/json-schema/api/GraphQLPersistedQuery.json +151 -0
- package/json-schema/api/GraphQLQueryComplexity.json +83 -0
- package/json-schema/api/GraphQLQueryConfig.json +231 -0
- package/json-schema/api/GraphQLQueryDepthLimit.json +44 -0
- package/json-schema/api/GraphQLRateLimit.json +138 -0
- package/json-schema/api/GraphQLResolverConfig.json +98 -0
- package/json-schema/api/GraphQLScalarType.json +32 -0
- package/json-schema/api/GraphQLSubscriptionConfig.json +118 -0
- package/json-schema/api/GraphQLTypeConfig.json +113 -0
- package/json-schema/api/ListViewsRequest.json +58 -0
- package/json-schema/api/ListViewsResponse.json +1132 -0
- package/json-schema/api/MetadataCacheRequest.json +58 -0
- package/json-schema/api/MetadataCacheResponse.json +85 -0
- package/json-schema/api/MetadataEndpointsConfig.json +54 -0
- package/json-schema/api/ODataConfig.json +132 -0
- package/json-schema/api/ObjectStackProtocol.json +11 -0
- package/json-schema/api/PingMessage.json +31 -0
- package/json-schema/api/PongMessage.json +36 -0
- package/json-schema/api/PresenceMessage.json +92 -0
- package/json-schema/api/PresenceState.json +65 -0
- package/json-schema/api/PresenceUpdate.json +35 -0
- package/json-schema/api/RateLimit.json +4 -3
- package/json-schema/api/RealtimeConfig.json +90 -0
- package/json-schema/api/RestApiConfig.json +127 -0
- package/json-schema/api/RestServerConfig.json +401 -0
- package/json-schema/api/RetryStrategy.json +15 -0
- package/json-schema/api/RouteGenerationConfig.json +71 -0
- package/json-schema/api/RouterConfig.json +22 -9
- package/json-schema/api/SavedView.json +1074 -0
- package/json-schema/api/SimpleCursorPosition.json +53 -0
- package/json-schema/api/SimplePresenceState.json +44 -0
- package/json-schema/api/StandardErrorCode.json +62 -0
- package/json-schema/api/SubscribeMessage.json +132 -0
- package/json-schema/api/UnsubscribeMessage.json +47 -0
- package/json-schema/api/UnsubscribeRequest.json +20 -0
- package/json-schema/api/UpdateDataRequest.json +30 -0
- package/json-schema/api/UpdateDataResponse.json +30 -0
- package/json-schema/api/UpdateManyDataRequest.json +70 -0
- package/json-schema/api/UpdateManyDataResponse.json +144 -0
- package/json-schema/api/UpdateManyRequest.json +67 -0
- package/json-schema/api/UpdateViewRequest.json +1041 -0
- package/json-schema/api/ViewColumn.json +58 -0
- package/json-schema/api/ViewLayout.json +125 -0
- package/json-schema/api/ViewResponse.json +1103 -0
- package/json-schema/api/ViewType.json +19 -0
- package/json-schema/api/ViewVisibility.json +15 -0
- package/json-schema/api/WebSocketConfig.json +63 -0
- package/json-schema/api/WebSocketEvent.json +40 -0
- package/json-schema/api/WebSocketMessage.json +707 -0
- package/json-schema/api/WebSocketMessageType.json +21 -0
- package/json-schema/api/WebSocketPresenceStatus.json +15 -0
- package/json-schema/api/WebSocketServerConfig.json +42 -0
- package/json-schema/auth/APIKey.json +34 -0
- package/json-schema/auth/ApplicationAuthConfig.json +841 -0
- package/json-schema/auth/AuthConfig.json +158 -730
- package/json-schema/auth/BasicAuth.json +30 -0
- package/json-schema/auth/BearerAuth.json +25 -0
- package/json-schema/auth/JWTAuth.json +66 -0
- package/json-schema/auth/NoAuth.json +20 -0
- package/json-schema/auth/OAuth2.json +62 -0
- package/json-schema/auth/SAMLAuth.json +64 -0
- package/json-schema/automation/DataDestinationConfig.json +120 -14
- package/json-schema/automation/DataSyncConfig.json +120 -14
- package/json-schema/automation/TimeTrigger.json +166 -31
- package/json-schema/automation/Webhook.json +99 -16
- package/json-schema/automation/WebhookTriggerAction.json +166 -31
- package/json-schema/automation/WorkflowAction.json +166 -31
- package/json-schema/automation/WorkflowRule.json +332 -62
- package/json-schema/data/AggregationPipeline.json +99 -0
- package/json-schema/data/AggregationStage.json +25 -0
- package/json-schema/data/ApiMethod.json +25 -0
- package/json-schema/data/CDCConfig.json +37 -0
- package/json-schema/data/ComputedFieldCache.json +33 -0
- package/json-schema/data/ConsistencyLevel.json +17 -0
- package/json-schema/data/DataEngineAggregateOptions.json +80 -0
- package/json-schema/data/DataEngineAggregateRequest.json +98 -0
- package/json-schema/data/DataEngineBatchRequest.json +699 -0
- package/json-schema/data/DataEngineContract.json +12 -0
- package/json-schema/data/DataEngineCountOptions.json +44 -0
- package/json-schema/data/DataEngineCountRequest.json +61 -0
- package/json-schema/data/DataEngineDeleteOptions.json +48 -0
- package/json-schema/data/DataEngineDeleteRequest.json +68 -0
- package/json-schema/data/DataEngineExecuteRequest.json +24 -0
- package/json-schema/data/DataEngineFilter.json +37 -0
- package/json-schema/data/DataEngineFindOneRequest.json +133 -0
- package/json-schema/data/DataEngineFindRequest.json +133 -0
- package/json-schema/data/DataEngineInsertOptions.json +17 -0
- package/json-schema/data/DataEngineInsertRequest.json +50 -0
- package/json-schema/data/DataEngineQueryOptions.json +116 -0
- package/json-schema/data/DataEngineRequest.json +1372 -0
- package/json-schema/data/DataEngineSort.json +54 -0
- package/json-schema/data/DataEngineUpdateOptions.json +56 -0
- package/json-schema/data/DataEngineUpdateRequest.json +81 -0
- package/json-schema/data/DataEngineVectorFindRequest.json +74 -0
- package/json-schema/data/DataQualityRules.json +45 -0
- package/json-schema/data/DataTypeMapping.json +51 -0
- package/json-schema/data/Document.json +292 -0
- package/json-schema/data/DocumentTemplate.json +78 -0
- package/json-schema/data/DocumentValidationSchema.json +39 -0
- package/json-schema/data/DocumentVersion.json +50 -0
- package/json-schema/data/DriverCapabilities.json +180 -0
- package/json-schema/data/DriverConfig.json +243 -0
- package/json-schema/data/DriverInterface.json +199 -0
- package/json-schema/data/ESignatureConfig.json +74 -0
- package/json-schema/data/ExternalDataSource.json +68 -0
- package/json-schema/data/ExternalFieldMapping.json +151 -0
- package/json-schema/data/ExternalLookup.json +327 -0
- package/json-schema/data/Field.json +435 -1
- package/json-schema/data/FieldMapping.json +83 -0
- package/json-schema/data/FileAttachmentConfig.json +219 -0
- package/json-schema/data/FullTextSearch.json +60 -0
- package/json-schema/data/Index.json +14 -7
- package/json-schema/data/JoinNode.json +55 -0
- package/json-schema/data/Mapping.json +639 -0
- package/json-schema/data/NoSQLDataTypeMapping.json +63 -0
- package/json-schema/data/NoSQLDatabaseType.json +19 -0
- package/json-schema/data/NoSQLDriverConfig.json +452 -0
- package/json-schema/data/NoSQLIndex.json +87 -0
- package/json-schema/data/NoSQLIndexType.json +19 -0
- package/json-schema/data/NoSQLOperationType.json +22 -0
- package/json-schema/data/NoSQLQueryOptions.json +61 -0
- package/json-schema/data/NoSQLTransactionOptions.json +47 -0
- package/json-schema/data/Object.json +610 -9
- package/json-schema/data/PartitioningConfig.json +38 -0
- package/json-schema/data/PoolConfig.json +36 -0
- package/json-schema/data/Query.json +55 -0
- package/json-schema/data/ReplicationConfig.json +46 -0
- package/json-schema/data/SQLDialect.json +17 -0
- package/json-schema/data/SQLDriverConfig.json +325 -0
- package/json-schema/data/SSLConfig.json +29 -0
- package/json-schema/data/ShardingConfig.json +35 -0
- package/json-schema/data/SoftDeleteConfig.json +29 -0
- package/json-schema/data/TenancyConfig.json +39 -0
- package/json-schema/data/TransformType.json +18 -0
- package/json-schema/data/VersioningConfig.json +39 -0
- package/json-schema/hub/ComposerResponse.json +405 -0
- package/json-schema/hub/PluginInstallConfig.json +53 -0
- package/json-schema/hub/PluginQualityMetrics.json +101 -0
- package/json-schema/hub/PluginRegistryEntry.json +833 -0
- package/json-schema/hub/PluginSearchFilters.json +91 -0
- package/json-schema/hub/PluginStatistics.json +84 -0
- package/json-schema/hub/PluginVendor.json +47 -0
- package/json-schema/integration/AckMode.json +15 -0
- package/json-schema/integration/ApiVersionConfig.json +32 -0
- package/json-schema/integration/Authentication.json +269 -0
- package/json-schema/integration/CdcConfig.json +55 -0
- package/json-schema/integration/ConflictResolution.json +16 -0
- package/json-schema/integration/Connector.json +919 -0
- package/json-schema/integration/ConnectorStatus.json +16 -0
- package/json-schema/integration/ConnectorType.json +18 -0
- package/json-schema/integration/ConsumerConfig.json +67 -0
- package/json-schema/integration/DataSyncConfig.json +79 -0
- package/json-schema/integration/DatabaseConnector.json +1372 -0
- package/json-schema/integration/DatabasePoolConfig.json +53 -0
- package/json-schema/integration/DatabaseProvider.json +24 -0
- package/json-schema/integration/DatabaseTable.json +216 -0
- package/json-schema/integration/DeliveryGuarantee.json +15 -0
- package/json-schema/integration/DlqConfig.json +37 -0
- package/json-schema/integration/FieldMapping.json +170 -0
- package/json-schema/integration/FieldTransform.json +36 -0
- package/json-schema/integration/FileAccessPattern.json +17 -0
- package/json-schema/integration/FileFilterConfig.json +50 -0
- package/json-schema/integration/FileMetadataConfig.json +41 -0
- package/json-schema/integration/FileStorageConnector.json +1240 -0
- package/json-schema/integration/FileStorageProvider.json +23 -0
- package/json-schema/integration/FileVersioningConfig.json +28 -0
- package/json-schema/integration/MessageFormat.json +18 -0
- package/json-schema/integration/MessageQueueConnector.json +1325 -0
- package/json-schema/integration/MessageQueueProvider.json +25 -0
- package/json-schema/integration/MultipartUploadConfig.json +36 -0
- package/json-schema/integration/ProducerConfig.json +72 -0
- package/json-schema/integration/RateLimitConfig.json +69 -0
- package/json-schema/integration/RateLimitStrategy.json +16 -0
- package/json-schema/integration/RetryConfig.json +73 -0
- package/json-schema/integration/RetryStrategy.json +16 -0
- package/json-schema/integration/SaasConnector.json +1267 -0
- package/json-schema/integration/SaasObjectType.json +218 -0
- package/json-schema/integration/SaasProvider.json +24 -0
- package/json-schema/integration/SslConfig.json +34 -0
- package/json-schema/integration/StorageBucket.json +99 -0
- package/json-schema/integration/SyncStrategy.json +16 -0
- package/json-schema/integration/TopicQueue.json +252 -0
- package/json-schema/integration/WebhookConfig.json +201 -0
- package/json-schema/integration/WebhookEvent.json +20 -0
- package/json-schema/integration/WebhookSignatureAlgorithm.json +15 -0
- package/json-schema/permission/PermissionSet.json +80 -0
- package/json-schema/shared/CorsConfig.json +57 -0
- package/json-schema/shared/FieldMapping.json +142 -0
- package/json-schema/shared/HttpMethod.json +18 -0
- package/json-schema/shared/RateLimitConfig.json +27 -0
- package/json-schema/shared/StaticMount.json +28 -0
- package/json-schema/shared/TransformType.json +120 -0
- package/json-schema/system/AccessControlConfig.json +106 -0
- package/json-schema/system/AnalyzerConfig.json +41 -0
- package/json-schema/system/AuditLogConfig.json +48 -0
- package/json-schema/system/AwarenessEvent.json +51 -0
- package/json-schema/system/AwarenessSession.json +117 -0
- package/json-schema/system/AwarenessUpdate.json +35 -0
- package/json-schema/system/AwarenessUserState.json +77 -0
- package/json-schema/system/BatchProgress.json +72 -0
- package/json-schema/system/BatchTask.json +63 -0
- package/json-schema/system/BucketConfig.json +332 -0
- package/json-schema/system/CRDTMergeResult.json +295 -0
- package/json-schema/system/CRDTState.json +258 -0
- package/json-schema/system/CRDTType.json +20 -0
- package/json-schema/system/CacheConfig.json +121 -0
- package/json-schema/system/CacheInvalidation.json +43 -0
- package/json-schema/system/CacheStrategy.json +16 -0
- package/json-schema/system/CacheTier.json +52 -0
- package/json-schema/system/CapabilityConformanceLevel.json +16 -0
- package/json-schema/system/ChangeImpact.json +55 -0
- package/json-schema/system/ChangePriority.json +15 -0
- package/json-schema/system/ChangeRequest.json +313 -0
- package/json-schema/system/ChangeStatus.json +21 -0
- package/json-schema/system/ChangeType.json +15 -0
- package/json-schema/system/CollaborationMode.json +15 -0
- package/json-schema/system/CollaborationSession.json +575 -0
- package/json-schema/system/CollaborationSessionConfig.json +86 -0
- package/json-schema/system/CollaborativeCursor.json +189 -0
- package/json-schema/system/ComplianceConfig.json +202 -0
- package/json-schema/system/ConsoleDestinationConfig.json +29 -0
- package/json-schema/system/ConsumerConfig.json +34 -0
- package/json-schema/system/CounterOperation.json +30 -0
- package/json-schema/system/CursorColorPreset.json +21 -0
- package/json-schema/system/CursorSelection.json +66 -0
- package/json-schema/system/CursorStyle.json +59 -0
- package/json-schema/system/CursorUpdate.json +101 -0
- package/json-schema/system/DeadLetterQueue.json +26 -0
- package/json-schema/system/DeadLetterQueueEntry.json +137 -0
- package/json-schema/system/EmailTemplate.json +69 -0
- package/json-schema/system/EncryptionAlgorithm.json +14 -0
- package/json-schema/system/EncryptionConfig.json +93 -0
- package/json-schema/system/Event.json +24 -0
- package/json-schema/system/EventBusConfig.json +552 -0
- package/json-schema/system/EventHandler.json +34 -0
- package/json-schema/system/EventLogEntry.json +153 -0
- package/json-schema/system/EventMessageQueueConfig.json +79 -0
- package/json-schema/system/EventMetadata.json +20 -0
- package/json-schema/system/EventPersistence.json +11 -0
- package/json-schema/system/EventPhase.json +15 -0
- package/json-schema/system/EventPriority.json +16 -0
- package/json-schema/system/EventQueueConfig.json +67 -0
- package/json-schema/system/EventReplayConfig.json +50 -0
- package/json-schema/system/EventSourcingConfig.json +65 -0
- package/json-schema/system/EventTypeDefinition.json +45 -0
- package/json-schema/system/EventWebhookConfig.json +119 -0
- package/json-schema/system/ExtendedLogLevel.json +18 -0
- package/json-schema/system/ExtensionPoint.json +67 -0
- package/json-schema/system/ExternalServiceDestinationConfig.json +51 -0
- package/json-schema/system/FacetConfig.json +30 -0
- package/json-schema/system/FieldEncryption.json +110 -0
- package/json-schema/system/FileDestinationConfig.json +56 -0
- package/json-schema/system/FileMetadata.json +14 -7
- package/json-schema/system/GCounter.json +28 -0
- package/json-schema/system/GDPRConfig.json +71 -0
- package/json-schema/system/HIPAAConfig.json +45 -0
- package/json-schema/system/HealthStatus.json +33 -0
- package/json-schema/system/HistogramBucketConfig.json +92 -0
- package/json-schema/system/HookRegisteredEvent.json +30 -0
- package/json-schema/system/HookTriggeredEvent.json +34 -0
- package/json-schema/system/HttpDestinationConfig.json +111 -0
- package/json-schema/system/HttpServerConfig.json +156 -0
- package/json-schema/system/InAppNotification.json +48 -0
- package/json-schema/system/KernelEventBase.json +19 -0
- package/json-schema/system/KernelReadyEvent.json +29 -0
- package/json-schema/system/KernelShutdownEvent.json +23 -0
- package/json-schema/system/KeyManagementProvider.json +16 -0
- package/json-schema/system/KeyRotationPolicy.json +29 -0
- package/json-schema/system/LWWRegister.json +51 -0
- package/json-schema/system/LifecycleAction.json +15 -0
- package/json-schema/system/LifecyclePolicyConfig.json +84 -0
- package/json-schema/system/LifecyclePolicyRule.json +68 -0
- package/json-schema/system/LogDestination.json +295 -0
- package/json-schema/system/LogDestinationType.json +26 -0
- package/json-schema/system/LogEnrichmentConfig.json +59 -0
- package/json-schema/system/LoggerConfig.json +4 -0
- package/json-schema/system/LoggingConfig.json +613 -0
- package/json-schema/system/Manifest.json +405 -0
- package/json-schema/system/MaskingConfig.json +77 -0
- package/json-schema/system/MaskingRule.json +57 -0
- package/json-schema/system/MaskingStrategy.json +18 -0
- package/json-schema/system/MessageQueueConfig.json +143 -0
- package/json-schema/system/MessageQueueProvider.json +17 -0
- package/json-schema/system/MetadataCollectionInfo.json +53 -0
- package/json-schema/system/MetadataExportOptions.json +49 -0
- package/json-schema/system/MetadataFormat.json +15 -0
- package/json-schema/system/MetadataImportOptions.json +42 -0
- package/json-schema/system/MetadataLoadOptions.json +52 -0
- package/json-schema/system/MetadataLoadResult.json +86 -0
- package/json-schema/system/MetadataLoaderContract.json +48 -0
- package/json-schema/system/MetadataManagerConfig.json +108 -0
- package/json-schema/system/MetadataSaveOptions.json +64 -0
- package/json-schema/system/MetadataSaveResult.json +42 -0
- package/json-schema/system/MetadataStats.json +51 -0
- package/json-schema/system/MetadataWatchEvent.json +48 -0
- package/json-schema/system/MetricAggregationConfig.json +69 -0
- package/json-schema/system/MetricAggregationType.json +25 -0
- package/json-schema/system/MetricDataPoint.json +135 -0
- package/json-schema/system/MetricDefinition.json +193 -0
- package/json-schema/system/MetricExportConfig.json +93 -0
- package/json-schema/system/MetricLabels.json +13 -0
- package/json-schema/system/MetricType.json +16 -0
- package/json-schema/system/MetricUnit.json +32 -0
- package/json-schema/system/MetricsConfig.json +718 -0
- package/json-schema/system/MiddlewareConfig.json +70 -0
- package/json-schema/system/MiddlewareType.json +18 -0
- package/json-schema/system/MultipartUploadConfig.json +49 -0
- package/json-schema/system/NotificationChannel.json +18 -0
- package/json-schema/system/NotificationConfig.json +343 -0
- package/json-schema/system/ORSet.json +57 -0
- package/json-schema/system/ORSetElement.json +39 -0
- package/json-schema/system/OTComponent.json +76 -0
- package/json-schema/system/OTOperation.json +128 -0
- package/json-schema/system/OTOperationType.json +14 -0
- package/json-schema/system/OTTransformResult.json +150 -0
- package/json-schema/system/ObjectMetadata.json +90 -0
- package/json-schema/system/ObjectStorageConfig.json +475 -0
- package/json-schema/system/OpenTelemetryCompatibility.json +196 -0
- package/json-schema/system/OtelExporterType.json +22 -0
- package/json-schema/system/PCIDSSConfig.json +47 -0
- package/json-schema/system/PNCounter.json +37 -0
- package/json-schema/system/PluginCapability.json +127 -0
- package/json-schema/system/PluginCapabilityManifest.json +410 -0
- package/json-schema/system/PluginDependency.json +39 -0
- package/json-schema/system/PluginErrorEvent.json +46 -0
- package/json-schema/system/PluginEventBase.json +24 -0
- package/json-schema/system/PluginInterface.json +141 -0
- package/json-schema/system/PluginLifecycleEventType.json +31 -0
- package/json-schema/system/PluginLifecyclePhaseEvent.json +38 -0
- package/json-schema/system/PluginMetadata.json +37 -0
- package/json-schema/system/PluginRegisteredEvent.json +28 -0
- package/json-schema/system/PluginStartupResult.json +73 -0
- package/json-schema/system/PresignedUrlConfig.json +49 -0
- package/json-schema/system/ProtocolFeature.json +34 -0
- package/json-schema/system/ProtocolReference.json +56 -0
- package/json-schema/system/ProtocolVersion.json +30 -0
- package/json-schema/system/PushNotification.json +60 -0
- package/json-schema/system/QueueConfig.json +133 -0
- package/json-schema/system/RealTimeNotificationConfig.json +85 -0
- package/json-schema/system/RollbackPlan.json +51 -0
- package/json-schema/system/RouteHandlerMetadata.json +85 -0
- package/json-schema/system/SMSTemplate.json +36 -0
- package/json-schema/system/SamplingDecision.json +15 -0
- package/json-schema/system/SamplingStrategyType.json +20 -0
- package/json-schema/system/ScopeConfig.json +28 -0
- package/json-schema/system/ScopeInfo.json +39 -0
- package/json-schema/system/SearchConfig.json +195 -0
- package/json-schema/system/SearchIndexConfig.json +78 -0
- package/json-schema/system/SearchProvider.json +16 -0
- package/json-schema/system/ServerCapabilities.json +63 -0
- package/json-schema/system/ServerEvent.json +39 -0
- package/json-schema/system/ServerEventType.json +18 -0
- package/json-schema/system/ServerStatus.json +93 -0
- package/json-schema/system/ServiceFactoryRegistration.json +44 -0
- package/json-schema/system/ServiceLevelIndicator.json +105 -0
- package/json-schema/system/ServiceLevelObjective.json +170 -0
- package/json-schema/system/ServiceMetadata.json +43 -0
- package/json-schema/system/ServiceRegisteredEvent.json +28 -0
- package/json-schema/system/ServiceRegistryConfig.json +39 -0
- package/json-schema/system/ServiceScopeType.json +15 -0
- package/json-schema/system/ServiceUnregisteredEvent.json +24 -0
- package/json-schema/system/Span.json +387 -0
- package/json-schema/system/SpanAttributeValue.json +38 -0
- package/json-schema/system/SpanAttributes.json +42 -0
- package/json-schema/system/SpanEvent.json +62 -0
- package/json-schema/system/SpanKind.json +17 -0
- package/json-schema/system/SpanLink.json +110 -0
- package/json-schema/system/SpanStatus.json +15 -0
- package/json-schema/system/StartupOptions.json +36 -0
- package/json-schema/system/StartupOrchestrationResult.json +104 -0
- package/json-schema/system/StorageAcl.json +18 -0
- package/json-schema/system/StorageClass.json +17 -0
- package/json-schema/system/StorageConnection.json +62 -0
- package/json-schema/system/StorageProvider.json +21 -0
- package/json-schema/system/StorageScope.json +5 -1
- package/json-schema/system/StructuredLogEntry.json +191 -0
- package/json-schema/system/Task.json +145 -0
- package/json-schema/system/TaskExecutionResult.json +85 -0
- package/json-schema/system/TaskPriority.json +16 -0
- package/json-schema/system/TaskRetryPolicy.json +46 -0
- package/json-schema/system/TaskStatus.json +19 -0
- package/json-schema/system/TextCRDTOperation.json +52 -0
- package/json-schema/system/TextCRDTState.json +105 -0
- package/json-schema/system/TimeSeries.json +69 -0
- package/json-schema/system/TimeSeriesDataPoint.json +33 -0
- package/json-schema/system/TopicConfig.json +39 -0
- package/json-schema/system/TraceContext.json +64 -0
- package/json-schema/system/TraceContextPropagation.json +79 -0
- package/json-schema/system/TraceFlags.json +12 -0
- package/json-schema/system/TracePropagationFormat.json +19 -0
- package/json-schema/system/TraceSamplingConfig.json +186 -0
- package/json-schema/system/TraceState.json +23 -0
- package/json-schema/system/TracingConfig.json +536 -0
- package/json-schema/system/UserActivityStatus.json +15 -0
- package/json-schema/system/ValidationError.json +28 -0
- package/json-schema/system/ValidationResult.json +71 -0
- package/json-schema/system/ValidationWarning.json +28 -0
- package/json-schema/system/VectorClock.json +23 -0
- package/json-schema/system/WorkerConfig.json +188 -0
- package/json-schema/system/WorkerStats.json +90 -0
- package/json-schema/ui/ChartConfig.json +74 -0
- package/json-schema/ui/ChartType.json +21 -8
- package/json-schema/ui/Dashboard.json +90 -8
- package/json-schema/ui/DashboardWidget.json +90 -8
- package/json-schema/ui/FieldWidgetProps.json +435 -1
- package/json-schema/ui/Page.json +1 -1
- package/json-schema/ui/PageComponent.json +1 -1
- package/json-schema/ui/PageRegion.json +1 -1
- package/json-schema/ui/Report.json +48 -5
- package/json-schema/ui/ReportChart.json +48 -5
- package/package.json +13 -1
- package/dist/api/protocol.d.ts +0 -65
- package/dist/api/protocol.d.ts.map +0 -1
- package/dist/api/protocol.js +0 -8
- package/dist/automation/connector.zod.d.ts.map +0 -1
- package/dist/system/data-engine.zod.d.ts +0 -59
- package/dist/system/data-engine.zod.d.ts.map +0 -1
- package/dist/system/data-engine.zod.js +0 -38
- package/dist/system/driver/mongo.zod.d.ts +0 -107
- package/dist/system/driver/mongo.zod.d.ts.map +0 -1
- package/dist/system/driver/mongo.zod.js +0 -80
- package/dist/system/driver/postgres.zod.d.ts.map +0 -1
- package/dist/system/driver.zod.d.ts.map +0 -1
- package/dist/system/logger.zod.d.ts +0 -111
- package/dist/system/logger.zod.d.ts.map +0 -1
- package/dist/system/logger.zod.js +0 -75
- package/dist/system/scoped-storage.zod.d.ts +0 -81
- package/dist/system/scoped-storage.zod.d.ts.map +0 -1
- package/dist/system/scoped-storage.zod.js +0 -66
- package/dist/ui/block.zod.d.ts +0 -265
- package/dist/ui/block.zod.d.ts.map +0 -1
- package/dist/ui/block.zod.js +0 -90
- package/json-schema/automation/FieldMapping.json +0 -36
- package/json-schema/system/DataEngineFilter.json +0 -11
- package/json-schema/system/DataEngineQueryOptions.json +0 -48
- package/json-schema/system/DriverCapabilities.json +0 -79
- package/json-schema/system/DriverInterface.json +0 -98
- package/json-schema/system/MongoConfig.json +0 -82
- package/json-schema/system/PostgresConfig.json +0 -98
- package/json-schema/system/ScopedStorageConfig.json +0 -54
- package/json-schema/system/StorageAdapterType.json +0 -17
- /package/dist/{system → data}/driver/postgres.zod.js +0 -0
- /package/json-schema/{system → data}/DriverOptions.json +0 -0
package/dist/ai/nlq.zod.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ export declare const TimeframeSchema: z.ZodObject<{
|
|
|
44
44
|
direction: z.ZodDefault<z.ZodEnum<["past", "future", "current"]>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
value: number;
|
|
47
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
48
47
|
direction: "past" | "future" | "current";
|
|
48
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
49
49
|
}, {
|
|
50
50
|
value: number;
|
|
51
51
|
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
@@ -59,8 +59,8 @@ export declare const TimeframeSchema: z.ZodObject<{
|
|
|
59
59
|
end?: string | undefined;
|
|
60
60
|
relative?: {
|
|
61
61
|
value: number;
|
|
62
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
63
62
|
direction: "past" | "future" | "current";
|
|
63
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
64
64
|
} | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
type: "absolute" | "relative";
|
|
@@ -112,12 +112,12 @@ export declare const QueryContextSchema: z.ZodObject<{
|
|
|
112
112
|
timestamp: z.ZodString;
|
|
113
113
|
intent: z.ZodOptional<z.ZodEnum<["select", "aggregate", "filter", "sort", "compare", "trend", "insight", "create", "update", "delete"]>>;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
timestamp: string;
|
|
116
115
|
query: string;
|
|
116
|
+
timestamp: string;
|
|
117
117
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
118
118
|
}, {
|
|
119
|
-
timestamp: string;
|
|
120
119
|
query: string;
|
|
120
|
+
timestamp: string;
|
|
121
121
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
122
122
|
}>, "many">>;
|
|
123
123
|
/** Preferences */
|
|
@@ -130,8 +130,8 @@ export declare const QueryContextSchema: z.ZodObject<{
|
|
|
130
130
|
defaultLimit: number;
|
|
131
131
|
userId?: string | undefined;
|
|
132
132
|
conversationHistory?: {
|
|
133
|
-
timestamp: string;
|
|
134
133
|
query: string;
|
|
134
|
+
timestamp: string;
|
|
135
135
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
136
136
|
}[] | undefined;
|
|
137
137
|
userRole?: string | undefined;
|
|
@@ -142,8 +142,8 @@ export declare const QueryContextSchema: z.ZodObject<{
|
|
|
142
142
|
timezone?: string | undefined;
|
|
143
143
|
locale?: string | undefined;
|
|
144
144
|
conversationHistory?: {
|
|
145
|
-
timestamp: string;
|
|
146
145
|
query: string;
|
|
146
|
+
timestamp: string;
|
|
147
147
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
148
148
|
}[] | undefined;
|
|
149
149
|
userRole?: string | undefined;
|
|
@@ -212,8 +212,8 @@ export declare const NLQParseResultSchema: z.ZodObject<{
|
|
|
212
212
|
direction: z.ZodDefault<z.ZodEnum<["past", "future", "current"]>>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
214
|
value: number;
|
|
215
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
216
215
|
direction: "past" | "future" | "current";
|
|
216
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
217
217
|
}, {
|
|
218
218
|
value: number;
|
|
219
219
|
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
@@ -227,8 +227,8 @@ export declare const NLQParseResultSchema: z.ZodObject<{
|
|
|
227
227
|
end?: string | undefined;
|
|
228
228
|
relative?: {
|
|
229
229
|
value: number;
|
|
230
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
231
230
|
direction: "past" | "future" | "current";
|
|
231
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
232
232
|
} | undefined;
|
|
233
233
|
}, {
|
|
234
234
|
type: "absolute" | "relative";
|
|
@@ -273,8 +273,8 @@ export declare const NLQParseResultSchema: z.ZodObject<{
|
|
|
273
273
|
ast?: any;
|
|
274
274
|
}>, "many">>;
|
|
275
275
|
}, "strip", z.ZodTypeAny, {
|
|
276
|
-
confidence: number;
|
|
277
276
|
intent: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight";
|
|
277
|
+
confidence: number;
|
|
278
278
|
originalQuery: string;
|
|
279
279
|
intentConfidence: number;
|
|
280
280
|
entities: {
|
|
@@ -291,6 +291,7 @@ export declare const NLQParseResultSchema: z.ZodObject<{
|
|
|
291
291
|
naturalLanguage: string;
|
|
292
292
|
objectField: string;
|
|
293
293
|
}[] | undefined;
|
|
294
|
+
targetObject?: string | undefined;
|
|
294
295
|
timeframe?: {
|
|
295
296
|
type: "absolute" | "relative";
|
|
296
297
|
text: string;
|
|
@@ -298,11 +299,10 @@ export declare const NLQParseResultSchema: z.ZodObject<{
|
|
|
298
299
|
end?: string | undefined;
|
|
299
300
|
relative?: {
|
|
300
301
|
value: number;
|
|
301
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
302
302
|
direction: "past" | "future" | "current";
|
|
303
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
303
304
|
} | undefined;
|
|
304
305
|
} | undefined;
|
|
305
|
-
targetObject?: string | undefined;
|
|
306
306
|
ast?: any;
|
|
307
307
|
ambiguities?: {
|
|
308
308
|
type: string;
|
|
@@ -315,8 +315,8 @@ export declare const NLQParseResultSchema: z.ZodObject<{
|
|
|
315
315
|
ast?: any;
|
|
316
316
|
}[] | undefined;
|
|
317
317
|
}, {
|
|
318
|
-
confidence: number;
|
|
319
318
|
intent: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight";
|
|
319
|
+
confidence: number;
|
|
320
320
|
originalQuery: string;
|
|
321
321
|
intentConfidence: number;
|
|
322
322
|
entities: {
|
|
@@ -333,6 +333,7 @@ export declare const NLQParseResultSchema: z.ZodObject<{
|
|
|
333
333
|
naturalLanguage: string;
|
|
334
334
|
objectField: string;
|
|
335
335
|
}[] | undefined;
|
|
336
|
+
targetObject?: string | undefined;
|
|
336
337
|
timeframe?: {
|
|
337
338
|
type: "absolute" | "relative";
|
|
338
339
|
text: string;
|
|
@@ -344,7 +345,6 @@ export declare const NLQParseResultSchema: z.ZodObject<{
|
|
|
344
345
|
direction?: "past" | "future" | "current" | undefined;
|
|
345
346
|
} | undefined;
|
|
346
347
|
} | undefined;
|
|
347
|
-
targetObject?: string | undefined;
|
|
348
348
|
ast?: any;
|
|
349
349
|
ambiguities?: {
|
|
350
350
|
type: string;
|
|
@@ -377,12 +377,12 @@ export declare const NLQRequestSchema: z.ZodObject<{
|
|
|
377
377
|
timestamp: z.ZodString;
|
|
378
378
|
intent: z.ZodOptional<z.ZodEnum<["select", "aggregate", "filter", "sort", "compare", "trend", "insight", "create", "update", "delete"]>>;
|
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
|
380
|
-
timestamp: string;
|
|
381
380
|
query: string;
|
|
381
|
+
timestamp: string;
|
|
382
382
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
383
383
|
}, {
|
|
384
|
-
timestamp: string;
|
|
385
384
|
query: string;
|
|
385
|
+
timestamp: string;
|
|
386
386
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
387
387
|
}>, "many">>;
|
|
388
388
|
/** Preferences */
|
|
@@ -395,8 +395,8 @@ export declare const NLQRequestSchema: z.ZodObject<{
|
|
|
395
395
|
defaultLimit: number;
|
|
396
396
|
userId?: string | undefined;
|
|
397
397
|
conversationHistory?: {
|
|
398
|
-
timestamp: string;
|
|
399
398
|
query: string;
|
|
399
|
+
timestamp: string;
|
|
400
400
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
401
401
|
}[] | undefined;
|
|
402
402
|
userRole?: string | undefined;
|
|
@@ -407,8 +407,8 @@ export declare const NLQRequestSchema: z.ZodObject<{
|
|
|
407
407
|
timezone?: string | undefined;
|
|
408
408
|
locale?: string | undefined;
|
|
409
409
|
conversationHistory?: {
|
|
410
|
-
timestamp: string;
|
|
411
410
|
query: string;
|
|
411
|
+
timestamp: string;
|
|
412
412
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
413
413
|
}[] | undefined;
|
|
414
414
|
userRole?: string | undefined;
|
|
@@ -425,9 +425,9 @@ export declare const NLQRequestSchema: z.ZodObject<{
|
|
|
425
425
|
maxResults: z.ZodOptional<z.ZodNumber>;
|
|
426
426
|
}, "strip", z.ZodTypeAny, {
|
|
427
427
|
query: string;
|
|
428
|
+
minConfidence: number;
|
|
428
429
|
includeAlternatives: boolean;
|
|
429
430
|
maxAlternatives: number;
|
|
430
|
-
minConfidence: number;
|
|
431
431
|
executeQuery: boolean;
|
|
432
432
|
context?: {
|
|
433
433
|
timezone: string;
|
|
@@ -435,8 +435,8 @@ export declare const NLQRequestSchema: z.ZodObject<{
|
|
|
435
435
|
defaultLimit: number;
|
|
436
436
|
userId?: string | undefined;
|
|
437
437
|
conversationHistory?: {
|
|
438
|
-
timestamp: string;
|
|
439
438
|
query: string;
|
|
439
|
+
timestamp: string;
|
|
440
440
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
441
441
|
}[] | undefined;
|
|
442
442
|
userRole?: string | undefined;
|
|
@@ -451,8 +451,8 @@ export declare const NLQRequestSchema: z.ZodObject<{
|
|
|
451
451
|
timezone?: string | undefined;
|
|
452
452
|
locale?: string | undefined;
|
|
453
453
|
conversationHistory?: {
|
|
454
|
-
timestamp: string;
|
|
455
454
|
query: string;
|
|
455
|
+
timestamp: string;
|
|
456
456
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
457
457
|
}[] | undefined;
|
|
458
458
|
userRole?: string | undefined;
|
|
@@ -460,9 +460,9 @@ export declare const NLQRequestSchema: z.ZodObject<{
|
|
|
460
460
|
currentRecordId?: string | undefined;
|
|
461
461
|
defaultLimit?: number | undefined;
|
|
462
462
|
} | undefined;
|
|
463
|
+
minConfidence?: number | undefined;
|
|
463
464
|
includeAlternatives?: boolean | undefined;
|
|
464
465
|
maxAlternatives?: number | undefined;
|
|
465
|
-
minConfidence?: number | undefined;
|
|
466
466
|
executeQuery?: boolean | undefined;
|
|
467
467
|
maxResults?: number | undefined;
|
|
468
468
|
}>;
|
|
@@ -529,8 +529,8 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
529
529
|
direction: z.ZodDefault<z.ZodEnum<["past", "future", "current"]>>;
|
|
530
530
|
}, "strip", z.ZodTypeAny, {
|
|
531
531
|
value: number;
|
|
532
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
533
532
|
direction: "past" | "future" | "current";
|
|
533
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
534
534
|
}, {
|
|
535
535
|
value: number;
|
|
536
536
|
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
@@ -544,8 +544,8 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
544
544
|
end?: string | undefined;
|
|
545
545
|
relative?: {
|
|
546
546
|
value: number;
|
|
547
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
548
547
|
direction: "past" | "future" | "current";
|
|
548
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
549
549
|
} | undefined;
|
|
550
550
|
}, {
|
|
551
551
|
type: "absolute" | "relative";
|
|
@@ -590,8 +590,8 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
590
590
|
ast?: any;
|
|
591
591
|
}>, "many">>;
|
|
592
592
|
}, "strip", z.ZodTypeAny, {
|
|
593
|
-
confidence: number;
|
|
594
593
|
intent: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight";
|
|
594
|
+
confidence: number;
|
|
595
595
|
originalQuery: string;
|
|
596
596
|
intentConfidence: number;
|
|
597
597
|
entities: {
|
|
@@ -608,6 +608,7 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
608
608
|
naturalLanguage: string;
|
|
609
609
|
objectField: string;
|
|
610
610
|
}[] | undefined;
|
|
611
|
+
targetObject?: string | undefined;
|
|
611
612
|
timeframe?: {
|
|
612
613
|
type: "absolute" | "relative";
|
|
613
614
|
text: string;
|
|
@@ -615,11 +616,10 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
615
616
|
end?: string | undefined;
|
|
616
617
|
relative?: {
|
|
617
618
|
value: number;
|
|
618
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
619
619
|
direction: "past" | "future" | "current";
|
|
620
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
620
621
|
} | undefined;
|
|
621
622
|
} | undefined;
|
|
622
|
-
targetObject?: string | undefined;
|
|
623
623
|
ast?: any;
|
|
624
624
|
ambiguities?: {
|
|
625
625
|
type: string;
|
|
@@ -632,8 +632,8 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
632
632
|
ast?: any;
|
|
633
633
|
}[] | undefined;
|
|
634
634
|
}, {
|
|
635
|
-
confidence: number;
|
|
636
635
|
intent: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight";
|
|
636
|
+
confidence: number;
|
|
637
637
|
originalQuery: string;
|
|
638
638
|
intentConfidence: number;
|
|
639
639
|
entities: {
|
|
@@ -650,6 +650,7 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
650
650
|
naturalLanguage: string;
|
|
651
651
|
objectField: string;
|
|
652
652
|
}[] | undefined;
|
|
653
|
+
targetObject?: string | undefined;
|
|
653
654
|
timeframe?: {
|
|
654
655
|
type: "absolute" | "relative";
|
|
655
656
|
text: string;
|
|
@@ -661,7 +662,6 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
661
662
|
direction?: "past" | "future" | "current" | undefined;
|
|
662
663
|
} | undefined;
|
|
663
664
|
} | undefined;
|
|
664
|
-
targetObject?: string | undefined;
|
|
665
665
|
ast?: any;
|
|
666
666
|
ambiguities?: {
|
|
667
667
|
type: string;
|
|
@@ -680,12 +680,27 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
680
680
|
/** Execution Metadata */
|
|
681
681
|
executionTime: z.ZodOptional<z.ZodNumber>;
|
|
682
682
|
needsClarification: z.ZodBoolean;
|
|
683
|
+
/** Cost Tracking */
|
|
684
|
+
tokens: z.ZodOptional<z.ZodObject<{
|
|
685
|
+
prompt: z.ZodNumber;
|
|
686
|
+
completion: z.ZodNumber;
|
|
687
|
+
total: z.ZodNumber;
|
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
|
689
|
+
total: number;
|
|
690
|
+
prompt: number;
|
|
691
|
+
completion: number;
|
|
692
|
+
}, {
|
|
693
|
+
total: number;
|
|
694
|
+
prompt: number;
|
|
695
|
+
completion: number;
|
|
696
|
+
}>>;
|
|
697
|
+
cost: z.ZodOptional<z.ZodNumber>;
|
|
683
698
|
/** Suggestions */
|
|
684
699
|
suggestions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
685
700
|
}, "strip", z.ZodTypeAny, {
|
|
686
701
|
parseResult: {
|
|
687
|
-
confidence: number;
|
|
688
702
|
intent: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight";
|
|
703
|
+
confidence: number;
|
|
689
704
|
originalQuery: string;
|
|
690
705
|
intentConfidence: number;
|
|
691
706
|
entities: {
|
|
@@ -702,6 +717,7 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
702
717
|
naturalLanguage: string;
|
|
703
718
|
objectField: string;
|
|
704
719
|
}[] | undefined;
|
|
720
|
+
targetObject?: string | undefined;
|
|
705
721
|
timeframe?: {
|
|
706
722
|
type: "absolute" | "relative";
|
|
707
723
|
text: string;
|
|
@@ -709,11 +725,10 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
709
725
|
end?: string | undefined;
|
|
710
726
|
relative?: {
|
|
711
727
|
value: number;
|
|
712
|
-
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
713
728
|
direction: "past" | "future" | "current";
|
|
729
|
+
unit: "day" | "week" | "month" | "quarter" | "year" | "hour";
|
|
714
730
|
} | undefined;
|
|
715
731
|
} | undefined;
|
|
716
|
-
targetObject?: string | undefined;
|
|
717
732
|
ast?: any;
|
|
718
733
|
ambiguities?: {
|
|
719
734
|
type: string;
|
|
@@ -728,13 +743,19 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
728
743
|
};
|
|
729
744
|
needsClarification: boolean;
|
|
730
745
|
results?: Record<string, any>[] | undefined;
|
|
746
|
+
tokens?: {
|
|
747
|
+
total: number;
|
|
748
|
+
prompt: number;
|
|
749
|
+
completion: number;
|
|
750
|
+
} | undefined;
|
|
751
|
+
cost?: number | undefined;
|
|
731
752
|
suggestions?: string[] | undefined;
|
|
732
753
|
totalCount?: number | undefined;
|
|
733
754
|
executionTime?: number | undefined;
|
|
734
755
|
}, {
|
|
735
756
|
parseResult: {
|
|
736
|
-
confidence: number;
|
|
737
757
|
intent: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight";
|
|
758
|
+
confidence: number;
|
|
738
759
|
originalQuery: string;
|
|
739
760
|
intentConfidence: number;
|
|
740
761
|
entities: {
|
|
@@ -751,6 +772,7 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
751
772
|
naturalLanguage: string;
|
|
752
773
|
objectField: string;
|
|
753
774
|
}[] | undefined;
|
|
775
|
+
targetObject?: string | undefined;
|
|
754
776
|
timeframe?: {
|
|
755
777
|
type: "absolute" | "relative";
|
|
756
778
|
text: string;
|
|
@@ -762,7 +784,6 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
762
784
|
direction?: "past" | "future" | "current" | undefined;
|
|
763
785
|
} | undefined;
|
|
764
786
|
} | undefined;
|
|
765
|
-
targetObject?: string | undefined;
|
|
766
787
|
ast?: any;
|
|
767
788
|
ambiguities?: {
|
|
768
789
|
type: string;
|
|
@@ -777,6 +798,12 @@ export declare const NLQResponseSchema: z.ZodObject<{
|
|
|
777
798
|
};
|
|
778
799
|
needsClarification: boolean;
|
|
779
800
|
results?: Record<string, any>[] | undefined;
|
|
801
|
+
tokens?: {
|
|
802
|
+
total: number;
|
|
803
|
+
prompt: number;
|
|
804
|
+
completion: number;
|
|
805
|
+
} | undefined;
|
|
806
|
+
cost?: number | undefined;
|
|
780
807
|
suggestions?: string[] | undefined;
|
|
781
808
|
totalCount?: number | undefined;
|
|
782
809
|
executionTime?: number | undefined;
|
|
@@ -800,12 +827,12 @@ export declare const NLQTrainingExampleSchema: z.ZodObject<{
|
|
|
800
827
|
timestamp: z.ZodString;
|
|
801
828
|
intent: z.ZodOptional<z.ZodEnum<["select", "aggregate", "filter", "sort", "compare", "trend", "insight", "create", "update", "delete"]>>;
|
|
802
829
|
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
timestamp: string;
|
|
804
830
|
query: string;
|
|
831
|
+
timestamp: string;
|
|
805
832
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
806
833
|
}, {
|
|
807
|
-
timestamp: string;
|
|
808
834
|
query: string;
|
|
835
|
+
timestamp: string;
|
|
809
836
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
810
837
|
}>, "many">>;
|
|
811
838
|
/** Preferences */
|
|
@@ -818,8 +845,8 @@ export declare const NLQTrainingExampleSchema: z.ZodObject<{
|
|
|
818
845
|
defaultLimit: number;
|
|
819
846
|
userId?: string | undefined;
|
|
820
847
|
conversationHistory?: {
|
|
821
|
-
timestamp: string;
|
|
822
848
|
query: string;
|
|
849
|
+
timestamp: string;
|
|
823
850
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
824
851
|
}[] | undefined;
|
|
825
852
|
userRole?: string | undefined;
|
|
@@ -830,8 +857,8 @@ export declare const NLQTrainingExampleSchema: z.ZodObject<{
|
|
|
830
857
|
timezone?: string | undefined;
|
|
831
858
|
locale?: string | undefined;
|
|
832
859
|
conversationHistory?: {
|
|
833
|
-
timestamp: string;
|
|
834
860
|
query: string;
|
|
861
|
+
timestamp: string;
|
|
835
862
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
836
863
|
}[] | undefined;
|
|
837
864
|
userRole?: string | undefined;
|
|
@@ -858,8 +885,8 @@ export declare const NLQTrainingExampleSchema: z.ZodObject<{
|
|
|
858
885
|
defaultLimit: number;
|
|
859
886
|
userId?: string | undefined;
|
|
860
887
|
conversationHistory?: {
|
|
861
|
-
timestamp: string;
|
|
862
888
|
query: string;
|
|
889
|
+
timestamp: string;
|
|
863
890
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
864
891
|
}[] | undefined;
|
|
865
892
|
userRole?: string | undefined;
|
|
@@ -879,8 +906,8 @@ export declare const NLQTrainingExampleSchema: z.ZodObject<{
|
|
|
879
906
|
timezone?: string | undefined;
|
|
880
907
|
locale?: string | undefined;
|
|
881
908
|
conversationHistory?: {
|
|
882
|
-
timestamp: string;
|
|
883
909
|
query: string;
|
|
910
|
+
timestamp: string;
|
|
884
911
|
intent?: "sort" | "filter" | "select" | "update" | "delete" | "create" | "aggregate" | "compare" | "trend" | "insight" | undefined;
|
|
885
912
|
}[] | undefined;
|
|
886
913
|
userRole?: string | undefined;
|
|
@@ -982,12 +1009,12 @@ export declare const NLQAnalyticsSchema: z.ZodObject<{
|
|
|
982
1009
|
confidence: z.ZodNumber;
|
|
983
1010
|
timestamp: z.ZodString;
|
|
984
1011
|
}, "strip", z.ZodTypeAny, {
|
|
985
|
-
timestamp: string;
|
|
986
1012
|
query: string;
|
|
1013
|
+
timestamp: string;
|
|
987
1014
|
confidence: number;
|
|
988
1015
|
}, {
|
|
989
|
-
timestamp: string;
|
|
990
1016
|
query: string;
|
|
1017
|
+
timestamp: string;
|
|
991
1018
|
confidence: number;
|
|
992
1019
|
}>, "many">;
|
|
993
1020
|
/** Timeframe */
|
|
@@ -1008,8 +1035,8 @@ export declare const NLQAnalyticsSchema: z.ZodObject<{
|
|
|
1008
1035
|
}[];
|
|
1009
1036
|
averageParseTime: number;
|
|
1010
1037
|
lowConfidenceQueries: {
|
|
1011
|
-
timestamp: string;
|
|
1012
1038
|
query: string;
|
|
1039
|
+
timestamp: string;
|
|
1013
1040
|
confidence: number;
|
|
1014
1041
|
}[];
|
|
1015
1042
|
averageExecutionTime?: number | undefined;
|
|
@@ -1028,8 +1055,8 @@ export declare const NLQAnalyticsSchema: z.ZodObject<{
|
|
|
1028
1055
|
}[];
|
|
1029
1056
|
averageParseTime: number;
|
|
1030
1057
|
lowConfidenceQueries: {
|
|
1031
|
-
timestamp: string;
|
|
1032
1058
|
query: string;
|
|
1059
|
+
timestamp: string;
|
|
1033
1060
|
confidence: number;
|
|
1034
1061
|
}[];
|
|
1035
1062
|
averageExecutionTime?: number | undefined;
|
|
@@ -1082,10 +1109,10 @@ export declare const QueryTemplateSchema: z.ZodObject<{
|
|
|
1082
1109
|
examples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1083
1110
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1084
1111
|
}, "strip", z.ZodTypeAny, {
|
|
1112
|
+
pattern: string;
|
|
1085
1113
|
label: string;
|
|
1086
1114
|
name: string;
|
|
1087
1115
|
id: string;
|
|
1088
|
-
pattern: string;
|
|
1089
1116
|
variables: {
|
|
1090
1117
|
type: "object" | "value" | "field" | "timeframe";
|
|
1091
1118
|
required: boolean;
|
|
@@ -1096,10 +1123,10 @@ export declare const QueryTemplateSchema: z.ZodObject<{
|
|
|
1096
1123
|
examples?: string[] | undefined;
|
|
1097
1124
|
astTemplate?: any;
|
|
1098
1125
|
}, {
|
|
1126
|
+
pattern: string;
|
|
1099
1127
|
label: string;
|
|
1100
1128
|
name: string;
|
|
1101
1129
|
id: string;
|
|
1102
|
-
pattern: string;
|
|
1103
1130
|
variables: {
|
|
1104
1131
|
type: "object" | "value" | "field" | "timeframe";
|
|
1105
1132
|
name: string;
|
package/dist/ai/nlq.zod.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nlq.zod.d.ts","sourceRoot":"","sources":["../../src/ai/nlq.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"nlq.zod.d.ts","sourceRoot":"","sources":["../../src/ai/nlq.zod.ts"],"names":[],"mappings":"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"}
|
package/dist/ai/nlq.zod.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryTemplateSchema = exports.FieldSynonymConfigSchema = exports.NLQAnalyticsSchema = exports.NLQModelConfigSchema = exports.NLQTrainingExampleSchema = exports.NLQResponseSchema = exports.NLQRequestSchema = exports.NLQParseResultSchema = exports.QueryContextSchema = exports.NLQFieldMappingSchema = exports.TimeframeSchema = exports.EntitySchema = exports.QueryIntentSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const cost_zod_1 = require("./cost.zod");
|
|
5
6
|
/**
|
|
6
7
|
* Natural Language Query (NLQ) Protocol
|
|
7
8
|
*
|
|
@@ -139,6 +140,9 @@ exports.NLQResponseSchema = zod_1.z.object({
|
|
|
139
140
|
/** Execution Metadata */
|
|
140
141
|
executionTime: zod_1.z.number().optional().describe('Execution time in milliseconds'),
|
|
141
142
|
needsClarification: zod_1.z.boolean().describe('Whether query needs clarification'),
|
|
143
|
+
/** Cost Tracking */
|
|
144
|
+
tokens: cost_zod_1.TokenUsageSchema.optional().describe('Token usage for this query'),
|
|
145
|
+
cost: zod_1.z.number().nonnegative().optional().describe('Cost for this query in USD'),
|
|
142
146
|
/** Suggestions */
|
|
143
147
|
suggestions: zod_1.z.array(zod_1.z.string()).optional().describe('Query refinement suggestions'),
|
|
144
148
|
});
|