@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync.zod.d.ts","sourceRoot":"","sources":["../../src/automation/sync.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"sync.zod.d.ts","sourceRoot":"","sources":["../../src/automation/sync.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB,8CAI9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,cAAc,gDAIzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CA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AEG;kCACkB;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,KAAG,cAAc;IAkBlB;;OAEG;qCACqB;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,gBAAgB,EAAE,MAAM,CAAC;QACzB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,KAAG,cAAc;IAmBlB;;OAEG;yCACyB;QAC1B,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,mBAAmB,EAAE,MAAM,CAAC;QAC5B,gBAAgB,EAAE,MAAM,CAAC;QACzB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,KAAG,cAAc;CAkBV,CAAC"}
|
|
@@ -1,16 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Sync = exports.SyncExecutionResultSchema = exports.SyncExecutionStatusSchema = exports.DataSyncConfigSchema = exports.DataDestinationConfigSchema = exports.DataSourceConfigSchema = exports.
|
|
3
|
+
exports.Sync = exports.SyncExecutionResultSchema = exports.SyncExecutionStatusSchema = exports.DataSyncConfigSchema = exports.DataDestinationConfigSchema = exports.DataSourceConfigSchema = exports.ConflictResolutionSchema = exports.SyncModeSchema = exports.SyncDirectionSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const mapping_zod_1 = require("../shared/mapping.zod");
|
|
5
6
|
/**
|
|
6
|
-
* Data Sync Protocol
|
|
7
|
+
* Data Sync Protocol - LEVEL 1: Simple Synchronization
|
|
7
8
|
*
|
|
8
9
|
* Inspired by Salesforce Connect, Segment Sync, and Census Reverse ETL.
|
|
9
10
|
*
|
|
11
|
+
* **Positioning in 3-Layer Architecture:**
|
|
12
|
+
* - **L1: Simple Sync** (THIS FILE) - Business users - Sync Salesforce to Sheets
|
|
13
|
+
* - **L2: ETL Pipeline** (automation/etl.zod.ts) - Data engineers - Aggregate 10 sources to warehouse
|
|
14
|
+
* - **L3: Enterprise Connector** (integration/connector.zod.ts) - System integrators - Full SAP integration
|
|
15
|
+
*
|
|
10
16
|
* Data sync provides bidirectional or unidirectional data synchronization
|
|
11
17
|
* between ObjectStack and external systems, maintaining data consistency
|
|
12
18
|
* across platforms.
|
|
13
19
|
*
|
|
20
|
+
* **SCOPE: Simple field mappings only. NO complex transformations.**
|
|
21
|
+
* For complex transformations (joins, aggregates, custom SQL), use ETL Pipeline (Level 2).
|
|
22
|
+
*
|
|
23
|
+
* ## When to Use This Layer
|
|
24
|
+
*
|
|
25
|
+
* **Use Simple Sync when:**
|
|
26
|
+
* - Syncing 1:1 fields between two systems
|
|
27
|
+
* - Simple field transformations (uppercase, cast, etc.)
|
|
28
|
+
* - No complex logic required
|
|
29
|
+
* - Business users need to configure integrations
|
|
30
|
+
*
|
|
31
|
+
* **Examples:**
|
|
32
|
+
* - Salesforce Contact ↔ Google Sheets
|
|
33
|
+
* - HubSpot Company ↔ CRM Account
|
|
34
|
+
* - Shopify Orders → Accounting System
|
|
35
|
+
*
|
|
36
|
+
* **When to upgrade:**
|
|
37
|
+
* - Need multi-source joins → Use {@link file://./etl.zod.ts | ETL Pipeline}
|
|
38
|
+
* - Need complex authentication/webhooks → Use {@link file://../integration/connector.zod.ts | Enterprise Connector}
|
|
39
|
+
* - Need aggregations or data warehousing → Use {@link file://./etl.zod.ts | ETL Pipeline}
|
|
40
|
+
*
|
|
41
|
+
* @see {@link file://./etl.zod.ts} for Level 2 (data engineering)
|
|
42
|
+
* @see {@link file://../integration/connector.zod.ts} for Level 3 (enterprise integration)
|
|
43
|
+
*
|
|
14
44
|
* ## Use Cases
|
|
15
45
|
*
|
|
16
46
|
* 1. **CRM Integration**
|
|
@@ -82,36 +112,13 @@ exports.ConflictResolutionSchema = zod_1.z.enum([
|
|
|
82
112
|
'merge', // Smart merge (custom logic)
|
|
83
113
|
]);
|
|
84
114
|
/**
|
|
85
|
-
* Field Mapping
|
|
115
|
+
* Field Mapping for Data Sync
|
|
116
|
+
*
|
|
117
|
+
* Uses the canonical field mapping protocol from shared/mapping.zod.ts
|
|
118
|
+
* for simple 1:1 field transformations.
|
|
86
119
|
*
|
|
87
|
-
*
|
|
120
|
+
* @see {@link FieldMappingSchema} for the base field mapping schema
|
|
88
121
|
*/
|
|
89
|
-
exports.FieldMappingSchema = zod_1.z.object({
|
|
90
|
-
/**
|
|
91
|
-
* Source field name
|
|
92
|
-
*/
|
|
93
|
-
sourceField: zod_1.z.string().describe('Source field name'),
|
|
94
|
-
/**
|
|
95
|
-
* Destination field name
|
|
96
|
-
*/
|
|
97
|
-
destinationField: zod_1.z.string().describe('Destination field name'),
|
|
98
|
-
/**
|
|
99
|
-
* Transformation formula
|
|
100
|
-
* JavaScript expression to transform the value
|
|
101
|
-
*
|
|
102
|
-
* @example "value.toUpperCase()"
|
|
103
|
-
* @example "new Date(value).toISOString()"
|
|
104
|
-
*/
|
|
105
|
-
transform: zod_1.z.string().optional().describe('Transformation formula'),
|
|
106
|
-
/**
|
|
107
|
-
* Default value if source is null/undefined
|
|
108
|
-
*/
|
|
109
|
-
default: zod_1.z.any().optional().describe('Default value'),
|
|
110
|
-
/**
|
|
111
|
-
* Whether to sync null values
|
|
112
|
-
*/
|
|
113
|
-
syncNull: zod_1.z.boolean().default(false).describe('Sync null values'),
|
|
114
|
-
});
|
|
115
122
|
/**
|
|
116
123
|
* Data Source Configuration
|
|
117
124
|
*/
|
|
@@ -172,7 +179,7 @@ exports.DataDestinationConfigSchema = zod_1.z.object({
|
|
|
172
179
|
*/
|
|
173
180
|
mapping: zod_1.z.union([
|
|
174
181
|
zod_1.z.record(zod_1.z.string()), // Simple mapping: { sourceField: 'destField' }
|
|
175
|
-
zod_1.z.array(
|
|
182
|
+
zod_1.z.array(mapping_zod_1.FieldMappingSchema), // Advanced mapping with transformations
|
|
176
183
|
]).optional().describe('Field mappings'),
|
|
177
184
|
/**
|
|
178
185
|
* External resource identifier
|
|
@@ -1,44 +1,59 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Trigger Registry Protocol
|
|
4
4
|
*
|
|
5
|
+
* Lightweight automation triggers for simple integrations.
|
|
5
6
|
* Inspired by Zapier, n8n, and Workato connector architectures.
|
|
6
7
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
8
|
+
* ## When to use Trigger Registry vs. Integration Connector?
|
|
9
|
+
*
|
|
10
|
+
* **Use `automation/trigger-registry.zod.ts` when:**
|
|
11
|
+
* - Building simple automation triggers (e.g., "when Slack message received, create task")
|
|
12
|
+
* - No complex authentication needed (simple API keys, basic auth)
|
|
13
|
+
* - Lightweight, single-purpose integrations
|
|
14
|
+
* - Quick setup with minimal configuration
|
|
15
|
+
* - Webhook-based or polling triggers for automation workflows
|
|
16
|
+
*
|
|
17
|
+
* **Use `integration/connector.zod.ts` when:**
|
|
18
|
+
* - Building enterprise-grade connectors (e.g., Salesforce, SAP, Oracle)
|
|
19
|
+
* - Complex OAuth2/SAML authentication required
|
|
20
|
+
* - Bidirectional sync with field mapping and transformations
|
|
21
|
+
* - Webhook management and rate limiting required
|
|
22
|
+
* - Full CRUD operations and data synchronization
|
|
9
23
|
*
|
|
10
24
|
* ## Use Cases
|
|
11
25
|
*
|
|
12
|
-
* 1. **
|
|
13
|
-
* -
|
|
14
|
-
* -
|
|
15
|
-
* -
|
|
26
|
+
* 1. **Simple Automation Triggers**
|
|
27
|
+
* - Slack notifications on record updates
|
|
28
|
+
* - Twilio SMS on workflow events
|
|
29
|
+
* - SendGrid email templates
|
|
16
30
|
*
|
|
17
|
-
* 2. **
|
|
18
|
-
* -
|
|
19
|
-
* -
|
|
20
|
-
* -
|
|
31
|
+
* 2. **Lightweight Operations**
|
|
32
|
+
* - Single-action integrations (send, notify, log)
|
|
33
|
+
* - No bidirectional sync required
|
|
34
|
+
* - Webhook receivers for incoming events
|
|
21
35
|
*
|
|
22
|
-
* 3. **
|
|
23
|
-
* - Payment
|
|
24
|
-
* - Communication (Twilio, SendGrid, Slack)
|
|
25
|
-
* -
|
|
36
|
+
* 3. **Quick Integrations**
|
|
37
|
+
* - Payment webhooks (Stripe, PayPal)
|
|
38
|
+
* - Communication triggers (Twilio, SendGrid, Slack)
|
|
39
|
+
* - Simple API calls to third-party services
|
|
26
40
|
*
|
|
27
41
|
* @see https://zapier.com/developer/documentation/v2/
|
|
28
42
|
* @see https://docs.n8n.io/integrations/creating-nodes/
|
|
43
|
+
* @see ../../integration/connector.zod.ts for enterprise connectors
|
|
29
44
|
*
|
|
30
45
|
* @example
|
|
31
46
|
* ```typescript
|
|
32
|
-
* const
|
|
33
|
-
* id: '
|
|
34
|
-
* name: '
|
|
35
|
-
* category: '
|
|
47
|
+
* const slackNotifier: Connector = {
|
|
48
|
+
* id: 'slack_notify',
|
|
49
|
+
* name: 'Slack Notification',
|
|
50
|
+
* category: 'communication',
|
|
36
51
|
* authentication: {
|
|
37
52
|
* type: 'apiKey',
|
|
38
|
-
* fields: [{ name: '
|
|
53
|
+
* fields: [{ name: 'webhook_url', label: 'Webhook URL', type: 'url' }]
|
|
39
54
|
* },
|
|
40
55
|
* operations: [
|
|
41
|
-
* { id: '
|
|
56
|
+
* { id: 'send_message', name: 'Send Message', type: 'action' }
|
|
42
57
|
* ]
|
|
43
58
|
* }
|
|
44
59
|
* ```
|
|
@@ -292,7 +307,7 @@ export declare const AuthenticationSchema: z.ZodObject<{
|
|
|
292
307
|
method?: "GET" | "POST" | "PUT" | "DELETE" | undefined;
|
|
293
308
|
}>>;
|
|
294
309
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
-
type: "custom" | "none" | "
|
|
310
|
+
type: "custom" | "none" | "oauth2" | "basic" | "apiKey" | "bearer" | "oauth1";
|
|
296
311
|
fields?: {
|
|
297
312
|
type: "text" | "url" | "password" | "select";
|
|
298
313
|
required: boolean;
|
|
@@ -318,7 +333,7 @@ export declare const AuthenticationSchema: z.ZodObject<{
|
|
|
318
333
|
scopes?: string[] | undefined;
|
|
319
334
|
} | undefined;
|
|
320
335
|
}, {
|
|
321
|
-
type: "custom" | "none" | "
|
|
336
|
+
type: "custom" | "none" | "oauth2" | "basic" | "apiKey" | "bearer" | "oauth1";
|
|
322
337
|
fields?: {
|
|
323
338
|
label: string;
|
|
324
339
|
name: string;
|
|
@@ -498,7 +513,7 @@ export declare const ConnectorOperationSchema: z.ZodObject<{
|
|
|
498
513
|
*/
|
|
499
514
|
supportsFiltering: z.ZodDefault<z.ZodBoolean>;
|
|
500
515
|
}, "strip", z.ZodTypeAny, {
|
|
501
|
-
type: "
|
|
516
|
+
type: "search" | "delete" | "read" | "write" | "action" | "trigger";
|
|
502
517
|
name: string;
|
|
503
518
|
id: string;
|
|
504
519
|
supportsPagination: boolean;
|
|
@@ -517,7 +532,7 @@ export declare const ConnectorOperationSchema: z.ZodObject<{
|
|
|
517
532
|
outputSchema?: Record<string, any> | undefined;
|
|
518
533
|
sampleOutput?: any;
|
|
519
534
|
}, {
|
|
520
|
-
type: "
|
|
535
|
+
type: "search" | "delete" | "read" | "write" | "action" | "trigger";
|
|
521
536
|
name: string;
|
|
522
537
|
id: string;
|
|
523
538
|
description?: string | undefined;
|
|
@@ -573,7 +588,7 @@ export declare const ConnectorTriggerSchema: z.ZodObject<{
|
|
|
573
588
|
*/
|
|
574
589
|
pollingIntervalMs: z.ZodOptional<z.ZodNumber>;
|
|
575
590
|
}, "strip", z.ZodTypeAny, {
|
|
576
|
-
type: "webhook" | "
|
|
591
|
+
type: "webhook" | "stream" | "polling";
|
|
577
592
|
name: string;
|
|
578
593
|
id: string;
|
|
579
594
|
description?: string | undefined;
|
|
@@ -581,7 +596,7 @@ export declare const ConnectorTriggerSchema: z.ZodObject<{
|
|
|
581
596
|
outputSchema?: Record<string, any> | undefined;
|
|
582
597
|
pollingIntervalMs?: number | undefined;
|
|
583
598
|
}, {
|
|
584
|
-
type: "webhook" | "
|
|
599
|
+
type: "webhook" | "stream" | "polling";
|
|
585
600
|
name: string;
|
|
586
601
|
id: string;
|
|
587
602
|
description?: string | undefined;
|
|
@@ -755,7 +770,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
755
770
|
method?: "GET" | "POST" | "PUT" | "DELETE" | undefined;
|
|
756
771
|
}>>;
|
|
757
772
|
}, "strip", z.ZodTypeAny, {
|
|
758
|
-
type: "custom" | "none" | "
|
|
773
|
+
type: "custom" | "none" | "oauth2" | "basic" | "apiKey" | "bearer" | "oauth1";
|
|
759
774
|
fields?: {
|
|
760
775
|
type: "text" | "url" | "password" | "select";
|
|
761
776
|
required: boolean;
|
|
@@ -781,7 +796,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
781
796
|
scopes?: string[] | undefined;
|
|
782
797
|
} | undefined;
|
|
783
798
|
}, {
|
|
784
|
-
type: "custom" | "none" | "
|
|
799
|
+
type: "custom" | "none" | "oauth2" | "basic" | "apiKey" | "bearer" | "oauth1";
|
|
785
800
|
fields?: {
|
|
786
801
|
label: string;
|
|
787
802
|
name: string;
|
|
@@ -899,7 +914,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
899
914
|
*/
|
|
900
915
|
supportsFiltering: z.ZodDefault<z.ZodBoolean>;
|
|
901
916
|
}, "strip", z.ZodTypeAny, {
|
|
902
|
-
type: "
|
|
917
|
+
type: "search" | "delete" | "read" | "write" | "action" | "trigger";
|
|
903
918
|
name: string;
|
|
904
919
|
id: string;
|
|
905
920
|
supportsPagination: boolean;
|
|
@@ -918,7 +933,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
918
933
|
outputSchema?: Record<string, any> | undefined;
|
|
919
934
|
sampleOutput?: any;
|
|
920
935
|
}, {
|
|
921
|
-
type: "
|
|
936
|
+
type: "search" | "delete" | "read" | "write" | "action" | "trigger";
|
|
922
937
|
name: string;
|
|
923
938
|
id: string;
|
|
924
939
|
description?: string | undefined;
|
|
@@ -971,7 +986,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
971
986
|
*/
|
|
972
987
|
pollingIntervalMs: z.ZodOptional<z.ZodNumber>;
|
|
973
988
|
}, "strip", z.ZodTypeAny, {
|
|
974
|
-
type: "webhook" | "
|
|
989
|
+
type: "webhook" | "stream" | "polling";
|
|
975
990
|
name: string;
|
|
976
991
|
id: string;
|
|
977
992
|
description?: string | undefined;
|
|
@@ -979,7 +994,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
979
994
|
outputSchema?: Record<string, any> | undefined;
|
|
980
995
|
pollingIntervalMs?: number | undefined;
|
|
981
996
|
}, {
|
|
982
|
-
type: "webhook" | "
|
|
997
|
+
type: "webhook" | "stream" | "polling";
|
|
983
998
|
name: string;
|
|
984
999
|
id: string;
|
|
985
1000
|
description?: string | undefined;
|
|
@@ -995,12 +1010,12 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
995
1010
|
requestsPerMinute: z.ZodOptional<z.ZodNumber>;
|
|
996
1011
|
requestsPerHour: z.ZodOptional<z.ZodNumber>;
|
|
997
1012
|
}, "strip", z.ZodTypeAny, {
|
|
998
|
-
requestsPerMinute?: number | undefined;
|
|
999
1013
|
requestsPerSecond?: number | undefined;
|
|
1014
|
+
requestsPerMinute?: number | undefined;
|
|
1000
1015
|
requestsPerHour?: number | undefined;
|
|
1001
1016
|
}, {
|
|
1002
|
-
requestsPerMinute?: number | undefined;
|
|
1003
1017
|
requestsPerSecond?: number | undefined;
|
|
1018
|
+
requestsPerMinute?: number | undefined;
|
|
1004
1019
|
requestsPerHour?: number | undefined;
|
|
1005
1020
|
}>>;
|
|
1006
1021
|
/**
|
|
@@ -1035,9 +1050,8 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
1035
1050
|
name: string;
|
|
1036
1051
|
id: string;
|
|
1037
1052
|
category: "database" | "storage" | "other" | "analytics" | "crm" | "payment" | "communication" | "marketing" | "accounting" | "hr" | "productivity" | "ecommerce" | "support" | "devtools" | "social";
|
|
1038
|
-
verified: boolean;
|
|
1039
1053
|
authentication: {
|
|
1040
|
-
type: "custom" | "none" | "
|
|
1054
|
+
type: "custom" | "none" | "oauth2" | "basic" | "apiKey" | "bearer" | "oauth1";
|
|
1041
1055
|
fields?: {
|
|
1042
1056
|
type: "text" | "url" | "password" | "select";
|
|
1043
1057
|
required: boolean;
|
|
@@ -1063,23 +1077,22 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
1063
1077
|
scopes?: string[] | undefined;
|
|
1064
1078
|
} | undefined;
|
|
1065
1079
|
};
|
|
1080
|
+
verified: boolean;
|
|
1066
1081
|
tags?: string[] | undefined;
|
|
1067
1082
|
description?: string | undefined;
|
|
1068
|
-
icon?: string | undefined;
|
|
1069
1083
|
version?: string | undefined;
|
|
1070
|
-
|
|
1071
|
-
documentation?: string | undefined;
|
|
1072
|
-
license?: string | undefined;
|
|
1084
|
+
icon?: string | undefined;
|
|
1073
1085
|
metadata?: Record<string, any> | undefined;
|
|
1074
|
-
homepage?: string | undefined;
|
|
1075
|
-
baseUrl?: string | undefined;
|
|
1076
1086
|
rateLimit?: {
|
|
1077
|
-
requestsPerMinute?: number | undefined;
|
|
1078
1087
|
requestsPerSecond?: number | undefined;
|
|
1088
|
+
requestsPerMinute?: number | undefined;
|
|
1079
1089
|
requestsPerHour?: number | undefined;
|
|
1080
1090
|
} | undefined;
|
|
1091
|
+
author?: string | undefined;
|
|
1092
|
+
documentation?: string | undefined;
|
|
1093
|
+
license?: string | undefined;
|
|
1081
1094
|
operations?: {
|
|
1082
|
-
type: "
|
|
1095
|
+
type: "search" | "delete" | "read" | "write" | "action" | "trigger";
|
|
1083
1096
|
name: string;
|
|
1084
1097
|
id: string;
|
|
1085
1098
|
supportsPagination: boolean;
|
|
@@ -1098,8 +1111,10 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
1098
1111
|
outputSchema?: Record<string, any> | undefined;
|
|
1099
1112
|
sampleOutput?: any;
|
|
1100
1113
|
}[] | undefined;
|
|
1114
|
+
homepage?: string | undefined;
|
|
1115
|
+
baseUrl?: string | undefined;
|
|
1101
1116
|
triggers?: {
|
|
1102
|
-
type: "webhook" | "
|
|
1117
|
+
type: "webhook" | "stream" | "polling";
|
|
1103
1118
|
name: string;
|
|
1104
1119
|
id: string;
|
|
1105
1120
|
description?: string | undefined;
|
|
@@ -1112,7 +1127,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
1112
1127
|
id: string;
|
|
1113
1128
|
category: "database" | "storage" | "other" | "analytics" | "crm" | "payment" | "communication" | "marketing" | "accounting" | "hr" | "productivity" | "ecommerce" | "support" | "devtools" | "social";
|
|
1114
1129
|
authentication: {
|
|
1115
|
-
type: "custom" | "none" | "
|
|
1130
|
+
type: "custom" | "none" | "oauth2" | "basic" | "apiKey" | "bearer" | "oauth1";
|
|
1116
1131
|
fields?: {
|
|
1117
1132
|
label: string;
|
|
1118
1133
|
name: string;
|
|
@@ -1140,22 +1155,19 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
1140
1155
|
};
|
|
1141
1156
|
tags?: string[] | undefined;
|
|
1142
1157
|
description?: string | undefined;
|
|
1143
|
-
icon?: string | undefined;
|
|
1144
1158
|
version?: string | undefined;
|
|
1145
|
-
|
|
1146
|
-
documentation?: string | undefined;
|
|
1147
|
-
license?: string | undefined;
|
|
1159
|
+
icon?: string | undefined;
|
|
1148
1160
|
metadata?: Record<string, any> | undefined;
|
|
1149
|
-
homepage?: string | undefined;
|
|
1150
|
-
baseUrl?: string | undefined;
|
|
1151
1161
|
rateLimit?: {
|
|
1152
|
-
requestsPerMinute?: number | undefined;
|
|
1153
1162
|
requestsPerSecond?: number | undefined;
|
|
1163
|
+
requestsPerMinute?: number | undefined;
|
|
1154
1164
|
requestsPerHour?: number | undefined;
|
|
1155
1165
|
} | undefined;
|
|
1156
|
-
|
|
1166
|
+
author?: string | undefined;
|
|
1167
|
+
documentation?: string | undefined;
|
|
1168
|
+
license?: string | undefined;
|
|
1157
1169
|
operations?: {
|
|
1158
|
-
type: "
|
|
1170
|
+
type: "search" | "delete" | "read" | "write" | "action" | "trigger";
|
|
1159
1171
|
name: string;
|
|
1160
1172
|
id: string;
|
|
1161
1173
|
description?: string | undefined;
|
|
@@ -1174,8 +1186,11 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
1174
1186
|
supportsPagination?: boolean | undefined;
|
|
1175
1187
|
supportsFiltering?: boolean | undefined;
|
|
1176
1188
|
}[] | undefined;
|
|
1189
|
+
homepage?: string | undefined;
|
|
1190
|
+
baseUrl?: string | undefined;
|
|
1191
|
+
verified?: boolean | undefined;
|
|
1177
1192
|
triggers?: {
|
|
1178
|
-
type: "webhook" | "
|
|
1193
|
+
type: "webhook" | "stream" | "polling";
|
|
1179
1194
|
name: string;
|
|
1180
1195
|
id: string;
|
|
1181
1196
|
description?: string | undefined;
|
|
@@ -1232,25 +1247,25 @@ export declare const ConnectorInstanceSchema: z.ZodObject<{
|
|
|
1232
1247
|
*/
|
|
1233
1248
|
testStatus: z.ZodDefault<z.ZodEnum<["unknown", "success", "failed"]>>;
|
|
1234
1249
|
}, "strip", z.ZodTypeAny, {
|
|
1250
|
+
credentials: Record<string, any>;
|
|
1235
1251
|
name: string;
|
|
1236
1252
|
active: boolean;
|
|
1237
1253
|
id: string;
|
|
1238
|
-
credentials: Record<string, any>;
|
|
1239
1254
|
connectorId: string;
|
|
1240
1255
|
testStatus: "unknown" | "success" | "failed";
|
|
1241
1256
|
description?: string | undefined;
|
|
1242
|
-
config?: Record<string, any> | undefined;
|
|
1243
1257
|
createdAt?: string | undefined;
|
|
1258
|
+
config?: Record<string, any> | undefined;
|
|
1244
1259
|
lastTestedAt?: string | undefined;
|
|
1245
1260
|
}, {
|
|
1261
|
+
credentials: Record<string, any>;
|
|
1246
1262
|
name: string;
|
|
1247
1263
|
id: string;
|
|
1248
|
-
credentials: Record<string, any>;
|
|
1249
1264
|
connectorId: string;
|
|
1250
1265
|
description?: string | undefined;
|
|
1251
1266
|
active?: boolean | undefined;
|
|
1252
|
-
config?: Record<string, any> | undefined;
|
|
1253
1267
|
createdAt?: string | undefined;
|
|
1268
|
+
config?: Record<string, any> | undefined;
|
|
1254
1269
|
lastTestedAt?: string | undefined;
|
|
1255
1270
|
testStatus?: "unknown" | "success" | "failed" | undefined;
|
|
1256
1271
|
}>;
|
|
@@ -1281,4 +1296,4 @@ export declare const Connector: {
|
|
|
1281
1296
|
scopes?: string[];
|
|
1282
1297
|
}) => Connector;
|
|
1283
1298
|
};
|
|
1284
|
-
//# sourceMappingURL=
|
|
1299
|
+
//# sourceMappingURL=trigger-registry.zod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger-registry.zod.d.ts","sourceRoot":"","sources":["../../src/automation/trigger-registry.zod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;AAEH;;GAEG;AACH,eAAO,MAAM,uBAAuB,4LAgBlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,wBAAwB,gFAQnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B;;OAEG;;I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;;;;;;;;;;;;EAIH,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,SAAS;IACpB;;OAEG;8BACc;QACf,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,iBAAiB,CAAC;QAC5B,OAAO,EAAE,MAAM,CAAC;KACjB,KAAG,SAAS;IAmBb;;OAEG;8BACc;QACf,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,iBAAiB,CAAC;QAC5B,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;KACnB,KAAG,SAAS;CAiBL,CAAC"}
|
|
@@ -3,45 +3,60 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Connector = exports.ConnectorInstanceSchema = exports.ConnectorSchema = exports.ConnectorTriggerSchema = exports.ConnectorOperationSchema = exports.OperationParameterSchema = exports.OperationTypeSchema = exports.AuthenticationSchema = exports.OAuth2ConfigSchema = exports.AuthFieldSchema = exports.AuthenticationTypeSchema = exports.ConnectorCategorySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Trigger Registry Protocol
|
|
7
7
|
*
|
|
8
|
+
* Lightweight automation triggers for simple integrations.
|
|
8
9
|
* Inspired by Zapier, n8n, and Workato connector architectures.
|
|
9
10
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
11
|
+
* ## When to use Trigger Registry vs. Integration Connector?
|
|
12
|
+
*
|
|
13
|
+
* **Use `automation/trigger-registry.zod.ts` when:**
|
|
14
|
+
* - Building simple automation triggers (e.g., "when Slack message received, create task")
|
|
15
|
+
* - No complex authentication needed (simple API keys, basic auth)
|
|
16
|
+
* - Lightweight, single-purpose integrations
|
|
17
|
+
* - Quick setup with minimal configuration
|
|
18
|
+
* - Webhook-based or polling triggers for automation workflows
|
|
19
|
+
*
|
|
20
|
+
* **Use `integration/connector.zod.ts` when:**
|
|
21
|
+
* - Building enterprise-grade connectors (e.g., Salesforce, SAP, Oracle)
|
|
22
|
+
* - Complex OAuth2/SAML authentication required
|
|
23
|
+
* - Bidirectional sync with field mapping and transformations
|
|
24
|
+
* - Webhook management and rate limiting required
|
|
25
|
+
* - Full CRUD operations and data synchronization
|
|
12
26
|
*
|
|
13
27
|
* ## Use Cases
|
|
14
28
|
*
|
|
15
|
-
* 1. **
|
|
16
|
-
* -
|
|
17
|
-
* -
|
|
18
|
-
* -
|
|
29
|
+
* 1. **Simple Automation Triggers**
|
|
30
|
+
* - Slack notifications on record updates
|
|
31
|
+
* - Twilio SMS on workflow events
|
|
32
|
+
* - SendGrid email templates
|
|
19
33
|
*
|
|
20
|
-
* 2. **
|
|
21
|
-
* -
|
|
22
|
-
* -
|
|
23
|
-
* -
|
|
34
|
+
* 2. **Lightweight Operations**
|
|
35
|
+
* - Single-action integrations (send, notify, log)
|
|
36
|
+
* - No bidirectional sync required
|
|
37
|
+
* - Webhook receivers for incoming events
|
|
24
38
|
*
|
|
25
|
-
* 3. **
|
|
26
|
-
* - Payment
|
|
27
|
-
* - Communication (Twilio, SendGrid, Slack)
|
|
28
|
-
* -
|
|
39
|
+
* 3. **Quick Integrations**
|
|
40
|
+
* - Payment webhooks (Stripe, PayPal)
|
|
41
|
+
* - Communication triggers (Twilio, SendGrid, Slack)
|
|
42
|
+
* - Simple API calls to third-party services
|
|
29
43
|
*
|
|
30
44
|
* @see https://zapier.com/developer/documentation/v2/
|
|
31
45
|
* @see https://docs.n8n.io/integrations/creating-nodes/
|
|
46
|
+
* @see ../../integration/connector.zod.ts for enterprise connectors
|
|
32
47
|
*
|
|
33
48
|
* @example
|
|
34
49
|
* ```typescript
|
|
35
|
-
* const
|
|
36
|
-
* id: '
|
|
37
|
-
* name: '
|
|
38
|
-
* category: '
|
|
50
|
+
* const slackNotifier: Connector = {
|
|
51
|
+
* id: 'slack_notify',
|
|
52
|
+
* name: 'Slack Notification',
|
|
53
|
+
* category: 'communication',
|
|
39
54
|
* authentication: {
|
|
40
55
|
* type: 'apiKey',
|
|
41
|
-
* fields: [{ name: '
|
|
56
|
+
* fields: [{ name: 'webhook_url', label: 'Webhook URL', type: 'url' }]
|
|
42
57
|
* },
|
|
43
58
|
* operations: [
|
|
44
|
-
* { id: '
|
|
59
|
+
* { id: 'send_message', name: 'Send Message', type: 'action' }
|
|
45
60
|
* ]
|
|
46
61
|
* }
|
|
47
62
|
* ```
|