@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
|
@@ -0,0 +1,1441 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* SaaS Connector Protocol Template
|
|
4
|
+
*
|
|
5
|
+
* Specialized connector for SaaS applications (Salesforce, HubSpot, Stripe, etc.)
|
|
6
|
+
* Extends the base connector with SaaS-specific features like OAuth flows,
|
|
7
|
+
* object type discovery, and API version management.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* SaaS Provider Types
|
|
11
|
+
*/
|
|
12
|
+
export declare const SaasProviderSchema: z.ZodEnum<["salesforce", "hubspot", "stripe", "shopify", "zendesk", "intercom", "mailchimp", "slack", "microsoft_dynamics", "servicenow", "netsuite", "custom"]>;
|
|
13
|
+
export type SaasProvider = z.infer<typeof SaasProviderSchema>;
|
|
14
|
+
/**
|
|
15
|
+
* API Version Configuration
|
|
16
|
+
*/
|
|
17
|
+
export declare const ApiVersionConfigSchema: z.ZodObject<{
|
|
18
|
+
version: z.ZodString;
|
|
19
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
20
|
+
deprecationDate: z.ZodOptional<z.ZodString>;
|
|
21
|
+
sunsetDate: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
version: string;
|
|
24
|
+
isDefault: boolean;
|
|
25
|
+
deprecationDate?: string | undefined;
|
|
26
|
+
sunsetDate?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
version: string;
|
|
29
|
+
isDefault?: boolean | undefined;
|
|
30
|
+
deprecationDate?: string | undefined;
|
|
31
|
+
sunsetDate?: string | undefined;
|
|
32
|
+
}>;
|
|
33
|
+
export type ApiVersionConfig = z.infer<typeof ApiVersionConfigSchema>;
|
|
34
|
+
/**
|
|
35
|
+
* SaaS Object Type Schema
|
|
36
|
+
* Represents a syncable entity in the SaaS system (e.g., Account, Contact, Deal)
|
|
37
|
+
*/
|
|
38
|
+
export declare const SaasObjectTypeSchema: z.ZodObject<{
|
|
39
|
+
name: z.ZodString;
|
|
40
|
+
label: z.ZodString;
|
|
41
|
+
apiName: z.ZodString;
|
|
42
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
43
|
+
supportsCreate: z.ZodDefault<z.ZodBoolean>;
|
|
44
|
+
supportsUpdate: z.ZodDefault<z.ZodBoolean>;
|
|
45
|
+
supportsDelete: z.ZodDefault<z.ZodBoolean>;
|
|
46
|
+
fieldMappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
+
source: z.ZodString;
|
|
48
|
+
target: z.ZodString;
|
|
49
|
+
transform: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
50
|
+
type: z.ZodLiteral<"constant">;
|
|
51
|
+
value: z.ZodAny;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
type: "constant";
|
|
54
|
+
value?: any;
|
|
55
|
+
}, {
|
|
56
|
+
type: "constant";
|
|
57
|
+
value?: any;
|
|
58
|
+
}>, z.ZodObject<{
|
|
59
|
+
type: z.ZodLiteral<"cast">;
|
|
60
|
+
targetType: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
type: "cast";
|
|
63
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
64
|
+
}, {
|
|
65
|
+
type: "cast";
|
|
66
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
67
|
+
}>, z.ZodObject<{
|
|
68
|
+
type: z.ZodLiteral<"lookup">;
|
|
69
|
+
table: z.ZodString;
|
|
70
|
+
keyField: z.ZodString;
|
|
71
|
+
valueField: z.ZodString;
|
|
72
|
+
}, "strip", z.ZodTypeAny, {
|
|
73
|
+
type: "lookup";
|
|
74
|
+
table: string;
|
|
75
|
+
keyField: string;
|
|
76
|
+
valueField: string;
|
|
77
|
+
}, {
|
|
78
|
+
type: "lookup";
|
|
79
|
+
table: string;
|
|
80
|
+
keyField: string;
|
|
81
|
+
valueField: string;
|
|
82
|
+
}>, z.ZodObject<{
|
|
83
|
+
type: z.ZodLiteral<"javascript">;
|
|
84
|
+
expression: z.ZodString;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
type: "javascript";
|
|
87
|
+
expression: string;
|
|
88
|
+
}, {
|
|
89
|
+
type: "javascript";
|
|
90
|
+
expression: string;
|
|
91
|
+
}>, z.ZodObject<{
|
|
92
|
+
type: z.ZodLiteral<"map">;
|
|
93
|
+
mappings: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
type: "map";
|
|
96
|
+
mappings: Record<string, any>;
|
|
97
|
+
}, {
|
|
98
|
+
type: "map";
|
|
99
|
+
mappings: Record<string, any>;
|
|
100
|
+
}>]>>;
|
|
101
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
102
|
+
} & {
|
|
103
|
+
dataType: z.ZodOptional<z.ZodEnum<["string", "number", "boolean", "date", "datetime", "json", "array"]>>;
|
|
104
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
105
|
+
syncMode: z.ZodDefault<z.ZodEnum<["read_only", "write_only", "bidirectional"]>>;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
source: string;
|
|
108
|
+
target: string;
|
|
109
|
+
required: boolean;
|
|
110
|
+
syncMode: "bidirectional" | "read_only" | "write_only";
|
|
111
|
+
transform?: {
|
|
112
|
+
type: "constant";
|
|
113
|
+
value?: any;
|
|
114
|
+
} | {
|
|
115
|
+
type: "cast";
|
|
116
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
117
|
+
} | {
|
|
118
|
+
type: "lookup";
|
|
119
|
+
table: string;
|
|
120
|
+
keyField: string;
|
|
121
|
+
valueField: string;
|
|
122
|
+
} | {
|
|
123
|
+
type: "javascript";
|
|
124
|
+
expression: string;
|
|
125
|
+
} | {
|
|
126
|
+
type: "map";
|
|
127
|
+
mappings: Record<string, any>;
|
|
128
|
+
} | undefined;
|
|
129
|
+
defaultValue?: any;
|
|
130
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
131
|
+
}, {
|
|
132
|
+
source: string;
|
|
133
|
+
target: string;
|
|
134
|
+
transform?: {
|
|
135
|
+
type: "constant";
|
|
136
|
+
value?: any;
|
|
137
|
+
} | {
|
|
138
|
+
type: "cast";
|
|
139
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
140
|
+
} | {
|
|
141
|
+
type: "lookup";
|
|
142
|
+
table: string;
|
|
143
|
+
keyField: string;
|
|
144
|
+
valueField: string;
|
|
145
|
+
} | {
|
|
146
|
+
type: "javascript";
|
|
147
|
+
expression: string;
|
|
148
|
+
} | {
|
|
149
|
+
type: "map";
|
|
150
|
+
mappings: Record<string, any>;
|
|
151
|
+
} | undefined;
|
|
152
|
+
defaultValue?: any;
|
|
153
|
+
required?: boolean | undefined;
|
|
154
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
155
|
+
syncMode?: "bidirectional" | "read_only" | "write_only" | undefined;
|
|
156
|
+
}>, "many">>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
enabled: boolean;
|
|
159
|
+
label: string;
|
|
160
|
+
name: string;
|
|
161
|
+
apiName: string;
|
|
162
|
+
supportsCreate: boolean;
|
|
163
|
+
supportsUpdate: boolean;
|
|
164
|
+
supportsDelete: boolean;
|
|
165
|
+
fieldMappings?: {
|
|
166
|
+
source: string;
|
|
167
|
+
target: string;
|
|
168
|
+
required: boolean;
|
|
169
|
+
syncMode: "bidirectional" | "read_only" | "write_only";
|
|
170
|
+
transform?: {
|
|
171
|
+
type: "constant";
|
|
172
|
+
value?: any;
|
|
173
|
+
} | {
|
|
174
|
+
type: "cast";
|
|
175
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
176
|
+
} | {
|
|
177
|
+
type: "lookup";
|
|
178
|
+
table: string;
|
|
179
|
+
keyField: string;
|
|
180
|
+
valueField: string;
|
|
181
|
+
} | {
|
|
182
|
+
type: "javascript";
|
|
183
|
+
expression: string;
|
|
184
|
+
} | {
|
|
185
|
+
type: "map";
|
|
186
|
+
mappings: Record<string, any>;
|
|
187
|
+
} | undefined;
|
|
188
|
+
defaultValue?: any;
|
|
189
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
190
|
+
}[] | undefined;
|
|
191
|
+
}, {
|
|
192
|
+
label: string;
|
|
193
|
+
name: string;
|
|
194
|
+
apiName: string;
|
|
195
|
+
enabled?: boolean | undefined;
|
|
196
|
+
fieldMappings?: {
|
|
197
|
+
source: string;
|
|
198
|
+
target: string;
|
|
199
|
+
transform?: {
|
|
200
|
+
type: "constant";
|
|
201
|
+
value?: any;
|
|
202
|
+
} | {
|
|
203
|
+
type: "cast";
|
|
204
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
205
|
+
} | {
|
|
206
|
+
type: "lookup";
|
|
207
|
+
table: string;
|
|
208
|
+
keyField: string;
|
|
209
|
+
valueField: string;
|
|
210
|
+
} | {
|
|
211
|
+
type: "javascript";
|
|
212
|
+
expression: string;
|
|
213
|
+
} | {
|
|
214
|
+
type: "map";
|
|
215
|
+
mappings: Record<string, any>;
|
|
216
|
+
} | undefined;
|
|
217
|
+
defaultValue?: any;
|
|
218
|
+
required?: boolean | undefined;
|
|
219
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
220
|
+
syncMode?: "bidirectional" | "read_only" | "write_only" | undefined;
|
|
221
|
+
}[] | undefined;
|
|
222
|
+
supportsCreate?: boolean | undefined;
|
|
223
|
+
supportsUpdate?: boolean | undefined;
|
|
224
|
+
supportsDelete?: boolean | undefined;
|
|
225
|
+
}>;
|
|
226
|
+
export type SaasObjectType = z.infer<typeof SaasObjectTypeSchema>;
|
|
227
|
+
/**
|
|
228
|
+
* SaaS Connector Configuration Schema
|
|
229
|
+
*/
|
|
230
|
+
export declare const SaasConnectorSchema: z.ZodObject<{
|
|
231
|
+
name: z.ZodString;
|
|
232
|
+
label: z.ZodString;
|
|
233
|
+
description: z.ZodOptional<z.ZodString>;
|
|
234
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
235
|
+
authentication: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
236
|
+
type: z.ZodLiteral<"oauth2">;
|
|
237
|
+
authorizationUrl: z.ZodString;
|
|
238
|
+
tokenUrl: z.ZodString;
|
|
239
|
+
clientId: z.ZodString;
|
|
240
|
+
clientSecret: z.ZodString;
|
|
241
|
+
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
242
|
+
redirectUri: z.ZodOptional<z.ZodString>;
|
|
243
|
+
refreshToken: z.ZodOptional<z.ZodString>;
|
|
244
|
+
tokenExpiry: z.ZodOptional<z.ZodNumber>;
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
246
|
+
type: "oauth2";
|
|
247
|
+
authorizationUrl: string;
|
|
248
|
+
tokenUrl: string;
|
|
249
|
+
clientId: string;
|
|
250
|
+
clientSecret: string;
|
|
251
|
+
scopes?: string[] | undefined;
|
|
252
|
+
redirectUri?: string | undefined;
|
|
253
|
+
refreshToken?: string | undefined;
|
|
254
|
+
tokenExpiry?: number | undefined;
|
|
255
|
+
}, {
|
|
256
|
+
type: "oauth2";
|
|
257
|
+
authorizationUrl: string;
|
|
258
|
+
tokenUrl: string;
|
|
259
|
+
clientId: string;
|
|
260
|
+
clientSecret: string;
|
|
261
|
+
scopes?: string[] | undefined;
|
|
262
|
+
redirectUri?: string | undefined;
|
|
263
|
+
refreshToken?: string | undefined;
|
|
264
|
+
tokenExpiry?: number | undefined;
|
|
265
|
+
}>, z.ZodObject<{
|
|
266
|
+
type: z.ZodLiteral<"api-key">;
|
|
267
|
+
key: z.ZodString;
|
|
268
|
+
headerName: z.ZodDefault<z.ZodString>;
|
|
269
|
+
paramName: z.ZodOptional<z.ZodString>;
|
|
270
|
+
}, "strip", z.ZodTypeAny, {
|
|
271
|
+
type: "api-key";
|
|
272
|
+
key: string;
|
|
273
|
+
headerName: string;
|
|
274
|
+
paramName?: string | undefined;
|
|
275
|
+
}, {
|
|
276
|
+
type: "api-key";
|
|
277
|
+
key: string;
|
|
278
|
+
headerName?: string | undefined;
|
|
279
|
+
paramName?: string | undefined;
|
|
280
|
+
}>, z.ZodObject<{
|
|
281
|
+
type: z.ZodLiteral<"basic">;
|
|
282
|
+
username: z.ZodString;
|
|
283
|
+
password: z.ZodString;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
type: "basic";
|
|
286
|
+
password: string;
|
|
287
|
+
username: string;
|
|
288
|
+
}, {
|
|
289
|
+
type: "basic";
|
|
290
|
+
password: string;
|
|
291
|
+
username: string;
|
|
292
|
+
}>, z.ZodObject<{
|
|
293
|
+
type: z.ZodLiteral<"bearer">;
|
|
294
|
+
token: z.ZodString;
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
|
+
type: "bearer";
|
|
297
|
+
token: string;
|
|
298
|
+
}, {
|
|
299
|
+
type: "bearer";
|
|
300
|
+
token: string;
|
|
301
|
+
}>, z.ZodObject<{
|
|
302
|
+
type: z.ZodLiteral<"jwt">;
|
|
303
|
+
token: z.ZodOptional<z.ZodString>;
|
|
304
|
+
secretKey: z.ZodOptional<z.ZodString>;
|
|
305
|
+
algorithm: z.ZodDefault<z.ZodEnum<["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512"]>>;
|
|
306
|
+
issuer: z.ZodOptional<z.ZodString>;
|
|
307
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
308
|
+
subject: z.ZodOptional<z.ZodString>;
|
|
309
|
+
expiresIn: z.ZodDefault<z.ZodNumber>;
|
|
310
|
+
claims: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
311
|
+
}, "strip", z.ZodTypeAny, {
|
|
312
|
+
type: "jwt";
|
|
313
|
+
algorithm: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512";
|
|
314
|
+
expiresIn: number;
|
|
315
|
+
token?: string | undefined;
|
|
316
|
+
subject?: string | undefined;
|
|
317
|
+
secretKey?: string | undefined;
|
|
318
|
+
issuer?: string | undefined;
|
|
319
|
+
audience?: string | undefined;
|
|
320
|
+
claims?: Record<string, any> | undefined;
|
|
321
|
+
}, {
|
|
322
|
+
type: "jwt";
|
|
323
|
+
algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
|
|
324
|
+
token?: string | undefined;
|
|
325
|
+
expiresIn?: number | undefined;
|
|
326
|
+
subject?: string | undefined;
|
|
327
|
+
secretKey?: string | undefined;
|
|
328
|
+
issuer?: string | undefined;
|
|
329
|
+
audience?: string | undefined;
|
|
330
|
+
claims?: Record<string, any> | undefined;
|
|
331
|
+
}>, z.ZodObject<{
|
|
332
|
+
type: z.ZodLiteral<"saml">;
|
|
333
|
+
entryPoint: z.ZodString;
|
|
334
|
+
issuer: z.ZodString;
|
|
335
|
+
certificate: z.ZodString;
|
|
336
|
+
privateKey: z.ZodOptional<z.ZodString>;
|
|
337
|
+
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
338
|
+
signatureAlgorithm: z.ZodDefault<z.ZodEnum<["sha1", "sha256", "sha512"]>>;
|
|
339
|
+
wantAssertionsSigned: z.ZodDefault<z.ZodBoolean>;
|
|
340
|
+
identifierFormat: z.ZodOptional<z.ZodString>;
|
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
|
342
|
+
type: "saml";
|
|
343
|
+
issuer: string;
|
|
344
|
+
entryPoint: string;
|
|
345
|
+
certificate: string;
|
|
346
|
+
signatureAlgorithm: "sha1" | "sha256" | "sha512";
|
|
347
|
+
wantAssertionsSigned: boolean;
|
|
348
|
+
privateKey?: string | undefined;
|
|
349
|
+
callbackUrl?: string | undefined;
|
|
350
|
+
identifierFormat?: string | undefined;
|
|
351
|
+
}, {
|
|
352
|
+
type: "saml";
|
|
353
|
+
issuer: string;
|
|
354
|
+
entryPoint: string;
|
|
355
|
+
certificate: string;
|
|
356
|
+
privateKey?: string | undefined;
|
|
357
|
+
callbackUrl?: string | undefined;
|
|
358
|
+
signatureAlgorithm?: "sha1" | "sha256" | "sha512" | undefined;
|
|
359
|
+
wantAssertionsSigned?: boolean | undefined;
|
|
360
|
+
identifierFormat?: string | undefined;
|
|
361
|
+
}>, z.ZodObject<{
|
|
362
|
+
type: z.ZodLiteral<"none">;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
type: "none";
|
|
365
|
+
}, {
|
|
366
|
+
type: "none";
|
|
367
|
+
}>]>;
|
|
368
|
+
syncConfig: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
strategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["full", "incremental", "upsert", "append_only"]>>>;
|
|
370
|
+
direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["import", "export", "bidirectional"]>>>;
|
|
371
|
+
schedule: z.ZodOptional<z.ZodString>;
|
|
372
|
+
realtimeSync: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
373
|
+
timestampField: z.ZodOptional<z.ZodString>;
|
|
374
|
+
conflictResolution: z.ZodDefault<z.ZodOptional<z.ZodEnum<["source_wins", "target_wins", "latest_wins", "manual"]>>>;
|
|
375
|
+
batchSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
376
|
+
deleteMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["hard_delete", "soft_delete", "ignore"]>>>;
|
|
377
|
+
filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
378
|
+
}, "strip", z.ZodTypeAny, {
|
|
379
|
+
strategy: "full" | "upsert" | "incremental" | "append_only";
|
|
380
|
+
batchSize: number;
|
|
381
|
+
direction: "import" | "export" | "bidirectional";
|
|
382
|
+
conflictResolution: "manual" | "source_wins" | "latest_wins" | "target_wins";
|
|
383
|
+
realtimeSync: boolean;
|
|
384
|
+
deleteMode: "ignore" | "hard_delete" | "soft_delete";
|
|
385
|
+
filters?: Record<string, any> | undefined;
|
|
386
|
+
schedule?: string | undefined;
|
|
387
|
+
timestampField?: string | undefined;
|
|
388
|
+
}, {
|
|
389
|
+
strategy?: "full" | "upsert" | "incremental" | "append_only" | undefined;
|
|
390
|
+
filters?: Record<string, any> | undefined;
|
|
391
|
+
batchSize?: number | undefined;
|
|
392
|
+
schedule?: string | undefined;
|
|
393
|
+
direction?: "import" | "export" | "bidirectional" | undefined;
|
|
394
|
+
conflictResolution?: "manual" | "source_wins" | "latest_wins" | "target_wins" | undefined;
|
|
395
|
+
realtimeSync?: boolean | undefined;
|
|
396
|
+
timestampField?: string | undefined;
|
|
397
|
+
deleteMode?: "ignore" | "hard_delete" | "soft_delete" | undefined;
|
|
398
|
+
}>>;
|
|
399
|
+
fieldMappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
400
|
+
source: z.ZodString;
|
|
401
|
+
target: z.ZodString;
|
|
402
|
+
transform: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
403
|
+
type: z.ZodLiteral<"constant">;
|
|
404
|
+
value: z.ZodAny;
|
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
|
406
|
+
type: "constant";
|
|
407
|
+
value?: any;
|
|
408
|
+
}, {
|
|
409
|
+
type: "constant";
|
|
410
|
+
value?: any;
|
|
411
|
+
}>, z.ZodObject<{
|
|
412
|
+
type: z.ZodLiteral<"cast">;
|
|
413
|
+
targetType: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
414
|
+
}, "strip", z.ZodTypeAny, {
|
|
415
|
+
type: "cast";
|
|
416
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
417
|
+
}, {
|
|
418
|
+
type: "cast";
|
|
419
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
420
|
+
}>, z.ZodObject<{
|
|
421
|
+
type: z.ZodLiteral<"lookup">;
|
|
422
|
+
table: z.ZodString;
|
|
423
|
+
keyField: z.ZodString;
|
|
424
|
+
valueField: z.ZodString;
|
|
425
|
+
}, "strip", z.ZodTypeAny, {
|
|
426
|
+
type: "lookup";
|
|
427
|
+
table: string;
|
|
428
|
+
keyField: string;
|
|
429
|
+
valueField: string;
|
|
430
|
+
}, {
|
|
431
|
+
type: "lookup";
|
|
432
|
+
table: string;
|
|
433
|
+
keyField: string;
|
|
434
|
+
valueField: string;
|
|
435
|
+
}>, z.ZodObject<{
|
|
436
|
+
type: z.ZodLiteral<"javascript">;
|
|
437
|
+
expression: z.ZodString;
|
|
438
|
+
}, "strip", z.ZodTypeAny, {
|
|
439
|
+
type: "javascript";
|
|
440
|
+
expression: string;
|
|
441
|
+
}, {
|
|
442
|
+
type: "javascript";
|
|
443
|
+
expression: string;
|
|
444
|
+
}>, z.ZodObject<{
|
|
445
|
+
type: z.ZodLiteral<"map">;
|
|
446
|
+
mappings: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
type: "map";
|
|
449
|
+
mappings: Record<string, any>;
|
|
450
|
+
}, {
|
|
451
|
+
type: "map";
|
|
452
|
+
mappings: Record<string, any>;
|
|
453
|
+
}>]>>;
|
|
454
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
455
|
+
} & {
|
|
456
|
+
dataType: z.ZodOptional<z.ZodEnum<["string", "number", "boolean", "date", "datetime", "json", "array"]>>;
|
|
457
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
458
|
+
syncMode: z.ZodDefault<z.ZodEnum<["read_only", "write_only", "bidirectional"]>>;
|
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
|
460
|
+
source: string;
|
|
461
|
+
target: string;
|
|
462
|
+
required: boolean;
|
|
463
|
+
syncMode: "bidirectional" | "read_only" | "write_only";
|
|
464
|
+
transform?: {
|
|
465
|
+
type: "constant";
|
|
466
|
+
value?: any;
|
|
467
|
+
} | {
|
|
468
|
+
type: "cast";
|
|
469
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
470
|
+
} | {
|
|
471
|
+
type: "lookup";
|
|
472
|
+
table: string;
|
|
473
|
+
keyField: string;
|
|
474
|
+
valueField: string;
|
|
475
|
+
} | {
|
|
476
|
+
type: "javascript";
|
|
477
|
+
expression: string;
|
|
478
|
+
} | {
|
|
479
|
+
type: "map";
|
|
480
|
+
mappings: Record<string, any>;
|
|
481
|
+
} | undefined;
|
|
482
|
+
defaultValue?: any;
|
|
483
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
484
|
+
}, {
|
|
485
|
+
source: string;
|
|
486
|
+
target: string;
|
|
487
|
+
transform?: {
|
|
488
|
+
type: "constant";
|
|
489
|
+
value?: any;
|
|
490
|
+
} | {
|
|
491
|
+
type: "cast";
|
|
492
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
493
|
+
} | {
|
|
494
|
+
type: "lookup";
|
|
495
|
+
table: string;
|
|
496
|
+
keyField: string;
|
|
497
|
+
valueField: string;
|
|
498
|
+
} | {
|
|
499
|
+
type: "javascript";
|
|
500
|
+
expression: string;
|
|
501
|
+
} | {
|
|
502
|
+
type: "map";
|
|
503
|
+
mappings: Record<string, any>;
|
|
504
|
+
} | undefined;
|
|
505
|
+
defaultValue?: any;
|
|
506
|
+
required?: boolean | undefined;
|
|
507
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
508
|
+
syncMode?: "bidirectional" | "read_only" | "write_only" | undefined;
|
|
509
|
+
}>, "many">>;
|
|
510
|
+
webhooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
511
|
+
name: z.ZodString;
|
|
512
|
+
label: z.ZodOptional<z.ZodString>;
|
|
513
|
+
object: z.ZodOptional<z.ZodString>;
|
|
514
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
|
|
515
|
+
url: z.ZodString;
|
|
516
|
+
method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
|
|
517
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
518
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
519
|
+
payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
520
|
+
includeSession: z.ZodDefault<z.ZodBoolean>;
|
|
521
|
+
authentication: z.ZodOptional<z.ZodObject<{
|
|
522
|
+
type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
|
|
523
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
524
|
+
}, "strip", z.ZodTypeAny, {
|
|
525
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
526
|
+
credentials?: Record<string, string> | undefined;
|
|
527
|
+
}, {
|
|
528
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
529
|
+
credentials?: Record<string, string> | undefined;
|
|
530
|
+
}>>;
|
|
531
|
+
retryPolicy: z.ZodOptional<z.ZodObject<{
|
|
532
|
+
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
533
|
+
backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
|
|
534
|
+
initialDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
535
|
+
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
536
|
+
}, "strip", z.ZodTypeAny, {
|
|
537
|
+
maxRetries: number;
|
|
538
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
539
|
+
initialDelayMs: number;
|
|
540
|
+
maxDelayMs: number;
|
|
541
|
+
}, {
|
|
542
|
+
maxRetries?: number | undefined;
|
|
543
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
544
|
+
initialDelayMs?: number | undefined;
|
|
545
|
+
maxDelayMs?: number | undefined;
|
|
546
|
+
}>>;
|
|
547
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
548
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
549
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
550
|
+
description: z.ZodOptional<z.ZodString>;
|
|
551
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
552
|
+
} & {
|
|
553
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["record.created", "record.updated", "record.deleted", "sync.started", "sync.completed", "sync.failed", "auth.expired", "rate_limit.exceeded"]>, "many">>;
|
|
554
|
+
signatureAlgorithm: z.ZodDefault<z.ZodOptional<z.ZodEnum<["hmac_sha256", "hmac_sha512", "none"]>>>;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
url: string;
|
|
557
|
+
name: string;
|
|
558
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
559
|
+
timeoutMs: number;
|
|
560
|
+
signatureAlgorithm: "none" | "hmac_sha256" | "hmac_sha512";
|
|
561
|
+
includeSession: boolean;
|
|
562
|
+
isActive: boolean;
|
|
563
|
+
object?: string | undefined;
|
|
564
|
+
tags?: string[] | undefined;
|
|
565
|
+
label?: string | undefined;
|
|
566
|
+
description?: string | undefined;
|
|
567
|
+
events?: ("record.created" | "record.updated" | "record.deleted" | "sync.started" | "sync.completed" | "sync.failed" | "auth.expired" | "rate_limit.exceeded")[] | undefined;
|
|
568
|
+
headers?: Record<string, string> | undefined;
|
|
569
|
+
authentication?: {
|
|
570
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
571
|
+
credentials?: Record<string, string> | undefined;
|
|
572
|
+
} | undefined;
|
|
573
|
+
body?: any;
|
|
574
|
+
secret?: string | undefined;
|
|
575
|
+
retryPolicy?: {
|
|
576
|
+
maxRetries: number;
|
|
577
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
578
|
+
initialDelayMs: number;
|
|
579
|
+
maxDelayMs: number;
|
|
580
|
+
} | undefined;
|
|
581
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
582
|
+
payloadFields?: string[] | undefined;
|
|
583
|
+
}, {
|
|
584
|
+
url: string;
|
|
585
|
+
name: string;
|
|
586
|
+
object?: string | undefined;
|
|
587
|
+
tags?: string[] | undefined;
|
|
588
|
+
label?: string | undefined;
|
|
589
|
+
description?: string | undefined;
|
|
590
|
+
events?: ("record.created" | "record.updated" | "record.deleted" | "sync.started" | "sync.completed" | "sync.failed" | "auth.expired" | "rate_limit.exceeded")[] | undefined;
|
|
591
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
592
|
+
headers?: Record<string, string> | undefined;
|
|
593
|
+
authentication?: {
|
|
594
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
595
|
+
credentials?: Record<string, string> | undefined;
|
|
596
|
+
} | undefined;
|
|
597
|
+
body?: any;
|
|
598
|
+
secret?: string | undefined;
|
|
599
|
+
timeoutMs?: number | undefined;
|
|
600
|
+
retryPolicy?: {
|
|
601
|
+
maxRetries?: number | undefined;
|
|
602
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
603
|
+
initialDelayMs?: number | undefined;
|
|
604
|
+
maxDelayMs?: number | undefined;
|
|
605
|
+
} | undefined;
|
|
606
|
+
signatureAlgorithm?: "none" | "hmac_sha256" | "hmac_sha512" | undefined;
|
|
607
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
608
|
+
payloadFields?: string[] | undefined;
|
|
609
|
+
includeSession?: boolean | undefined;
|
|
610
|
+
isActive?: boolean | undefined;
|
|
611
|
+
}>, "many">>;
|
|
612
|
+
rateLimitConfig: z.ZodOptional<z.ZodObject<{
|
|
613
|
+
strategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["fixed_window", "sliding_window", "token_bucket", "leaky_bucket"]>>>;
|
|
614
|
+
maxRequests: z.ZodNumber;
|
|
615
|
+
windowSeconds: z.ZodNumber;
|
|
616
|
+
burstCapacity: z.ZodOptional<z.ZodNumber>;
|
|
617
|
+
respectUpstreamLimits: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
618
|
+
rateLimitHeaders: z.ZodOptional<z.ZodObject<{
|
|
619
|
+
remaining: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
620
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
621
|
+
reset: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
622
|
+
}, "strip", z.ZodTypeAny, {
|
|
623
|
+
limit: string;
|
|
624
|
+
remaining: string;
|
|
625
|
+
reset: string;
|
|
626
|
+
}, {
|
|
627
|
+
limit?: string | undefined;
|
|
628
|
+
remaining?: string | undefined;
|
|
629
|
+
reset?: string | undefined;
|
|
630
|
+
}>>;
|
|
631
|
+
}, "strip", z.ZodTypeAny, {
|
|
632
|
+
maxRequests: number;
|
|
633
|
+
strategy: "sliding_window" | "token_bucket" | "fixed_window" | "leaky_bucket";
|
|
634
|
+
windowSeconds: number;
|
|
635
|
+
respectUpstreamLimits: boolean;
|
|
636
|
+
burstCapacity?: number | undefined;
|
|
637
|
+
rateLimitHeaders?: {
|
|
638
|
+
limit: string;
|
|
639
|
+
remaining: string;
|
|
640
|
+
reset: string;
|
|
641
|
+
} | undefined;
|
|
642
|
+
}, {
|
|
643
|
+
maxRequests: number;
|
|
644
|
+
windowSeconds: number;
|
|
645
|
+
strategy?: "sliding_window" | "token_bucket" | "fixed_window" | "leaky_bucket" | undefined;
|
|
646
|
+
burstCapacity?: number | undefined;
|
|
647
|
+
respectUpstreamLimits?: boolean | undefined;
|
|
648
|
+
rateLimitHeaders?: {
|
|
649
|
+
limit?: string | undefined;
|
|
650
|
+
remaining?: string | undefined;
|
|
651
|
+
reset?: string | undefined;
|
|
652
|
+
} | undefined;
|
|
653
|
+
}>>;
|
|
654
|
+
retryConfig: z.ZodOptional<z.ZodObject<{
|
|
655
|
+
strategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["exponential_backoff", "linear_backoff", "fixed_delay", "no_retry"]>>>;
|
|
656
|
+
maxAttempts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
657
|
+
initialDelayMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
658
|
+
maxDelayMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
659
|
+
backoffMultiplier: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
660
|
+
retryableStatusCodes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
661
|
+
retryOnNetworkError: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
662
|
+
jitter: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
663
|
+
}, "strip", z.ZodTypeAny, {
|
|
664
|
+
strategy: "no_retry" | "exponential_backoff" | "linear_backoff" | "fixed_delay";
|
|
665
|
+
backoffMultiplier: number;
|
|
666
|
+
initialDelayMs: number;
|
|
667
|
+
maxDelayMs: number;
|
|
668
|
+
maxAttempts: number;
|
|
669
|
+
retryableStatusCodes: number[];
|
|
670
|
+
retryOnNetworkError: boolean;
|
|
671
|
+
jitter: boolean;
|
|
672
|
+
}, {
|
|
673
|
+
strategy?: "no_retry" | "exponential_backoff" | "linear_backoff" | "fixed_delay" | undefined;
|
|
674
|
+
backoffMultiplier?: number | undefined;
|
|
675
|
+
initialDelayMs?: number | undefined;
|
|
676
|
+
maxDelayMs?: number | undefined;
|
|
677
|
+
maxAttempts?: number | undefined;
|
|
678
|
+
retryableStatusCodes?: number[] | undefined;
|
|
679
|
+
retryOnNetworkError?: boolean | undefined;
|
|
680
|
+
jitter?: boolean | undefined;
|
|
681
|
+
}>>;
|
|
682
|
+
connectionTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
683
|
+
requestTimeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
684
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodEnum<["active", "inactive", "error", "configuring"]>>>;
|
|
685
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
686
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
687
|
+
} & {
|
|
688
|
+
type: z.ZodLiteral<"saas">;
|
|
689
|
+
provider: z.ZodEnum<["salesforce", "hubspot", "stripe", "shopify", "zendesk", "intercom", "mailchimp", "slack", "microsoft_dynamics", "servicenow", "netsuite", "custom"]>;
|
|
690
|
+
baseUrl: z.ZodString;
|
|
691
|
+
apiVersion: z.ZodOptional<z.ZodObject<{
|
|
692
|
+
version: z.ZodString;
|
|
693
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
694
|
+
deprecationDate: z.ZodOptional<z.ZodString>;
|
|
695
|
+
sunsetDate: z.ZodOptional<z.ZodString>;
|
|
696
|
+
}, "strip", z.ZodTypeAny, {
|
|
697
|
+
version: string;
|
|
698
|
+
isDefault: boolean;
|
|
699
|
+
deprecationDate?: string | undefined;
|
|
700
|
+
sunsetDate?: string | undefined;
|
|
701
|
+
}, {
|
|
702
|
+
version: string;
|
|
703
|
+
isDefault?: boolean | undefined;
|
|
704
|
+
deprecationDate?: string | undefined;
|
|
705
|
+
sunsetDate?: string | undefined;
|
|
706
|
+
}>>;
|
|
707
|
+
objectTypes: z.ZodArray<z.ZodObject<{
|
|
708
|
+
name: z.ZodString;
|
|
709
|
+
label: z.ZodString;
|
|
710
|
+
apiName: z.ZodString;
|
|
711
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
712
|
+
supportsCreate: z.ZodDefault<z.ZodBoolean>;
|
|
713
|
+
supportsUpdate: z.ZodDefault<z.ZodBoolean>;
|
|
714
|
+
supportsDelete: z.ZodDefault<z.ZodBoolean>;
|
|
715
|
+
fieldMappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
716
|
+
source: z.ZodString;
|
|
717
|
+
target: z.ZodString;
|
|
718
|
+
transform: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
719
|
+
type: z.ZodLiteral<"constant">;
|
|
720
|
+
value: z.ZodAny;
|
|
721
|
+
}, "strip", z.ZodTypeAny, {
|
|
722
|
+
type: "constant";
|
|
723
|
+
value?: any;
|
|
724
|
+
}, {
|
|
725
|
+
type: "constant";
|
|
726
|
+
value?: any;
|
|
727
|
+
}>, z.ZodObject<{
|
|
728
|
+
type: z.ZodLiteral<"cast">;
|
|
729
|
+
targetType: z.ZodEnum<["string", "number", "boolean", "date"]>;
|
|
730
|
+
}, "strip", z.ZodTypeAny, {
|
|
731
|
+
type: "cast";
|
|
732
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
733
|
+
}, {
|
|
734
|
+
type: "cast";
|
|
735
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
736
|
+
}>, z.ZodObject<{
|
|
737
|
+
type: z.ZodLiteral<"lookup">;
|
|
738
|
+
table: z.ZodString;
|
|
739
|
+
keyField: z.ZodString;
|
|
740
|
+
valueField: z.ZodString;
|
|
741
|
+
}, "strip", z.ZodTypeAny, {
|
|
742
|
+
type: "lookup";
|
|
743
|
+
table: string;
|
|
744
|
+
keyField: string;
|
|
745
|
+
valueField: string;
|
|
746
|
+
}, {
|
|
747
|
+
type: "lookup";
|
|
748
|
+
table: string;
|
|
749
|
+
keyField: string;
|
|
750
|
+
valueField: string;
|
|
751
|
+
}>, z.ZodObject<{
|
|
752
|
+
type: z.ZodLiteral<"javascript">;
|
|
753
|
+
expression: z.ZodString;
|
|
754
|
+
}, "strip", z.ZodTypeAny, {
|
|
755
|
+
type: "javascript";
|
|
756
|
+
expression: string;
|
|
757
|
+
}, {
|
|
758
|
+
type: "javascript";
|
|
759
|
+
expression: string;
|
|
760
|
+
}>, z.ZodObject<{
|
|
761
|
+
type: z.ZodLiteral<"map">;
|
|
762
|
+
mappings: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
763
|
+
}, "strip", z.ZodTypeAny, {
|
|
764
|
+
type: "map";
|
|
765
|
+
mappings: Record<string, any>;
|
|
766
|
+
}, {
|
|
767
|
+
type: "map";
|
|
768
|
+
mappings: Record<string, any>;
|
|
769
|
+
}>]>>;
|
|
770
|
+
defaultValue: z.ZodOptional<z.ZodAny>;
|
|
771
|
+
} & {
|
|
772
|
+
dataType: z.ZodOptional<z.ZodEnum<["string", "number", "boolean", "date", "datetime", "json", "array"]>>;
|
|
773
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
774
|
+
syncMode: z.ZodDefault<z.ZodEnum<["read_only", "write_only", "bidirectional"]>>;
|
|
775
|
+
}, "strip", z.ZodTypeAny, {
|
|
776
|
+
source: string;
|
|
777
|
+
target: string;
|
|
778
|
+
required: boolean;
|
|
779
|
+
syncMode: "bidirectional" | "read_only" | "write_only";
|
|
780
|
+
transform?: {
|
|
781
|
+
type: "constant";
|
|
782
|
+
value?: any;
|
|
783
|
+
} | {
|
|
784
|
+
type: "cast";
|
|
785
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
786
|
+
} | {
|
|
787
|
+
type: "lookup";
|
|
788
|
+
table: string;
|
|
789
|
+
keyField: string;
|
|
790
|
+
valueField: string;
|
|
791
|
+
} | {
|
|
792
|
+
type: "javascript";
|
|
793
|
+
expression: string;
|
|
794
|
+
} | {
|
|
795
|
+
type: "map";
|
|
796
|
+
mappings: Record<string, any>;
|
|
797
|
+
} | undefined;
|
|
798
|
+
defaultValue?: any;
|
|
799
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
800
|
+
}, {
|
|
801
|
+
source: string;
|
|
802
|
+
target: string;
|
|
803
|
+
transform?: {
|
|
804
|
+
type: "constant";
|
|
805
|
+
value?: any;
|
|
806
|
+
} | {
|
|
807
|
+
type: "cast";
|
|
808
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
809
|
+
} | {
|
|
810
|
+
type: "lookup";
|
|
811
|
+
table: string;
|
|
812
|
+
keyField: string;
|
|
813
|
+
valueField: string;
|
|
814
|
+
} | {
|
|
815
|
+
type: "javascript";
|
|
816
|
+
expression: string;
|
|
817
|
+
} | {
|
|
818
|
+
type: "map";
|
|
819
|
+
mappings: Record<string, any>;
|
|
820
|
+
} | undefined;
|
|
821
|
+
defaultValue?: any;
|
|
822
|
+
required?: boolean | undefined;
|
|
823
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
824
|
+
syncMode?: "bidirectional" | "read_only" | "write_only" | undefined;
|
|
825
|
+
}>, "many">>;
|
|
826
|
+
}, "strip", z.ZodTypeAny, {
|
|
827
|
+
enabled: boolean;
|
|
828
|
+
label: string;
|
|
829
|
+
name: string;
|
|
830
|
+
apiName: string;
|
|
831
|
+
supportsCreate: boolean;
|
|
832
|
+
supportsUpdate: boolean;
|
|
833
|
+
supportsDelete: boolean;
|
|
834
|
+
fieldMappings?: {
|
|
835
|
+
source: string;
|
|
836
|
+
target: string;
|
|
837
|
+
required: boolean;
|
|
838
|
+
syncMode: "bidirectional" | "read_only" | "write_only";
|
|
839
|
+
transform?: {
|
|
840
|
+
type: "constant";
|
|
841
|
+
value?: any;
|
|
842
|
+
} | {
|
|
843
|
+
type: "cast";
|
|
844
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
845
|
+
} | {
|
|
846
|
+
type: "lookup";
|
|
847
|
+
table: string;
|
|
848
|
+
keyField: string;
|
|
849
|
+
valueField: string;
|
|
850
|
+
} | {
|
|
851
|
+
type: "javascript";
|
|
852
|
+
expression: string;
|
|
853
|
+
} | {
|
|
854
|
+
type: "map";
|
|
855
|
+
mappings: Record<string, any>;
|
|
856
|
+
} | undefined;
|
|
857
|
+
defaultValue?: any;
|
|
858
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
859
|
+
}[] | undefined;
|
|
860
|
+
}, {
|
|
861
|
+
label: string;
|
|
862
|
+
name: string;
|
|
863
|
+
apiName: string;
|
|
864
|
+
enabled?: boolean | undefined;
|
|
865
|
+
fieldMappings?: {
|
|
866
|
+
source: string;
|
|
867
|
+
target: string;
|
|
868
|
+
transform?: {
|
|
869
|
+
type: "constant";
|
|
870
|
+
value?: any;
|
|
871
|
+
} | {
|
|
872
|
+
type: "cast";
|
|
873
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
874
|
+
} | {
|
|
875
|
+
type: "lookup";
|
|
876
|
+
table: string;
|
|
877
|
+
keyField: string;
|
|
878
|
+
valueField: string;
|
|
879
|
+
} | {
|
|
880
|
+
type: "javascript";
|
|
881
|
+
expression: string;
|
|
882
|
+
} | {
|
|
883
|
+
type: "map";
|
|
884
|
+
mappings: Record<string, any>;
|
|
885
|
+
} | undefined;
|
|
886
|
+
defaultValue?: any;
|
|
887
|
+
required?: boolean | undefined;
|
|
888
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
889
|
+
syncMode?: "bidirectional" | "read_only" | "write_only" | undefined;
|
|
890
|
+
}[] | undefined;
|
|
891
|
+
supportsCreate?: boolean | undefined;
|
|
892
|
+
supportsUpdate?: boolean | undefined;
|
|
893
|
+
supportsDelete?: boolean | undefined;
|
|
894
|
+
}>, "many">;
|
|
895
|
+
oauthSettings: z.ZodOptional<z.ZodObject<{
|
|
896
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
897
|
+
refreshTokenUrl: z.ZodOptional<z.ZodString>;
|
|
898
|
+
revokeTokenUrl: z.ZodOptional<z.ZodString>;
|
|
899
|
+
autoRefresh: z.ZodDefault<z.ZodBoolean>;
|
|
900
|
+
}, "strip", z.ZodTypeAny, {
|
|
901
|
+
scopes: string[];
|
|
902
|
+
autoRefresh: boolean;
|
|
903
|
+
refreshTokenUrl?: string | undefined;
|
|
904
|
+
revokeTokenUrl?: string | undefined;
|
|
905
|
+
}, {
|
|
906
|
+
scopes: string[];
|
|
907
|
+
refreshTokenUrl?: string | undefined;
|
|
908
|
+
revokeTokenUrl?: string | undefined;
|
|
909
|
+
autoRefresh?: boolean | undefined;
|
|
910
|
+
}>>;
|
|
911
|
+
paginationConfig: z.ZodOptional<z.ZodObject<{
|
|
912
|
+
type: z.ZodDefault<z.ZodEnum<["cursor", "offset", "page"]>>;
|
|
913
|
+
defaultPageSize: z.ZodDefault<z.ZodNumber>;
|
|
914
|
+
maxPageSize: z.ZodDefault<z.ZodNumber>;
|
|
915
|
+
}, "strip", z.ZodTypeAny, {
|
|
916
|
+
type: "offset" | "cursor" | "page";
|
|
917
|
+
defaultPageSize: number;
|
|
918
|
+
maxPageSize: number;
|
|
919
|
+
}, {
|
|
920
|
+
type?: "offset" | "cursor" | "page" | undefined;
|
|
921
|
+
defaultPageSize?: number | undefined;
|
|
922
|
+
maxPageSize?: number | undefined;
|
|
923
|
+
}>>;
|
|
924
|
+
sandboxConfig: z.ZodOptional<z.ZodObject<{
|
|
925
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
926
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
927
|
+
}, "strip", z.ZodTypeAny, {
|
|
928
|
+
enabled: boolean;
|
|
929
|
+
baseUrl?: string | undefined;
|
|
930
|
+
}, {
|
|
931
|
+
enabled?: boolean | undefined;
|
|
932
|
+
baseUrl?: string | undefined;
|
|
933
|
+
}>>;
|
|
934
|
+
customHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
|
+
type: "saas";
|
|
937
|
+
status: "active" | "error" | "inactive" | "configuring";
|
|
938
|
+
enabled: boolean;
|
|
939
|
+
provider: "custom" | "slack" | "salesforce" | "hubspot" | "stripe" | "shopify" | "zendesk" | "intercom" | "mailchimp" | "microsoft_dynamics" | "servicenow" | "netsuite";
|
|
940
|
+
label: string;
|
|
941
|
+
name: string;
|
|
942
|
+
authentication: {
|
|
943
|
+
type: "oauth2";
|
|
944
|
+
authorizationUrl: string;
|
|
945
|
+
tokenUrl: string;
|
|
946
|
+
clientId: string;
|
|
947
|
+
clientSecret: string;
|
|
948
|
+
scopes?: string[] | undefined;
|
|
949
|
+
redirectUri?: string | undefined;
|
|
950
|
+
refreshToken?: string | undefined;
|
|
951
|
+
tokenExpiry?: number | undefined;
|
|
952
|
+
} | {
|
|
953
|
+
type: "api-key";
|
|
954
|
+
key: string;
|
|
955
|
+
headerName: string;
|
|
956
|
+
paramName?: string | undefined;
|
|
957
|
+
} | {
|
|
958
|
+
type: "basic";
|
|
959
|
+
password: string;
|
|
960
|
+
username: string;
|
|
961
|
+
} | {
|
|
962
|
+
type: "bearer";
|
|
963
|
+
token: string;
|
|
964
|
+
} | {
|
|
965
|
+
type: "none";
|
|
966
|
+
} | {
|
|
967
|
+
type: "jwt";
|
|
968
|
+
algorithm: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512";
|
|
969
|
+
expiresIn: number;
|
|
970
|
+
token?: string | undefined;
|
|
971
|
+
subject?: string | undefined;
|
|
972
|
+
secretKey?: string | undefined;
|
|
973
|
+
issuer?: string | undefined;
|
|
974
|
+
audience?: string | undefined;
|
|
975
|
+
claims?: Record<string, any> | undefined;
|
|
976
|
+
} | {
|
|
977
|
+
type: "saml";
|
|
978
|
+
issuer: string;
|
|
979
|
+
entryPoint: string;
|
|
980
|
+
certificate: string;
|
|
981
|
+
signatureAlgorithm: "sha1" | "sha256" | "sha512";
|
|
982
|
+
wantAssertionsSigned: boolean;
|
|
983
|
+
privateKey?: string | undefined;
|
|
984
|
+
callbackUrl?: string | undefined;
|
|
985
|
+
identifierFormat?: string | undefined;
|
|
986
|
+
};
|
|
987
|
+
baseUrl: string;
|
|
988
|
+
connectionTimeoutMs: number;
|
|
989
|
+
requestTimeoutMs: number;
|
|
990
|
+
objectTypes: {
|
|
991
|
+
enabled: boolean;
|
|
992
|
+
label: string;
|
|
993
|
+
name: string;
|
|
994
|
+
apiName: string;
|
|
995
|
+
supportsCreate: boolean;
|
|
996
|
+
supportsUpdate: boolean;
|
|
997
|
+
supportsDelete: boolean;
|
|
998
|
+
fieldMappings?: {
|
|
999
|
+
source: string;
|
|
1000
|
+
target: string;
|
|
1001
|
+
required: boolean;
|
|
1002
|
+
syncMode: "bidirectional" | "read_only" | "write_only";
|
|
1003
|
+
transform?: {
|
|
1004
|
+
type: "constant";
|
|
1005
|
+
value?: any;
|
|
1006
|
+
} | {
|
|
1007
|
+
type: "cast";
|
|
1008
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
1009
|
+
} | {
|
|
1010
|
+
type: "lookup";
|
|
1011
|
+
table: string;
|
|
1012
|
+
keyField: string;
|
|
1013
|
+
valueField: string;
|
|
1014
|
+
} | {
|
|
1015
|
+
type: "javascript";
|
|
1016
|
+
expression: string;
|
|
1017
|
+
} | {
|
|
1018
|
+
type: "map";
|
|
1019
|
+
mappings: Record<string, any>;
|
|
1020
|
+
} | undefined;
|
|
1021
|
+
defaultValue?: any;
|
|
1022
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
1023
|
+
}[] | undefined;
|
|
1024
|
+
}[];
|
|
1025
|
+
description?: string | undefined;
|
|
1026
|
+
icon?: string | undefined;
|
|
1027
|
+
metadata?: Record<string, any> | undefined;
|
|
1028
|
+
fieldMappings?: {
|
|
1029
|
+
source: string;
|
|
1030
|
+
target: string;
|
|
1031
|
+
required: boolean;
|
|
1032
|
+
syncMode: "bidirectional" | "read_only" | "write_only";
|
|
1033
|
+
transform?: {
|
|
1034
|
+
type: "constant";
|
|
1035
|
+
value?: any;
|
|
1036
|
+
} | {
|
|
1037
|
+
type: "cast";
|
|
1038
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
1039
|
+
} | {
|
|
1040
|
+
type: "lookup";
|
|
1041
|
+
table: string;
|
|
1042
|
+
keyField: string;
|
|
1043
|
+
valueField: string;
|
|
1044
|
+
} | {
|
|
1045
|
+
type: "javascript";
|
|
1046
|
+
expression: string;
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "map";
|
|
1049
|
+
mappings: Record<string, any>;
|
|
1050
|
+
} | undefined;
|
|
1051
|
+
defaultValue?: any;
|
|
1052
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
1053
|
+
}[] | undefined;
|
|
1054
|
+
webhooks?: {
|
|
1055
|
+
url: string;
|
|
1056
|
+
name: string;
|
|
1057
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1058
|
+
timeoutMs: number;
|
|
1059
|
+
signatureAlgorithm: "none" | "hmac_sha256" | "hmac_sha512";
|
|
1060
|
+
includeSession: boolean;
|
|
1061
|
+
isActive: boolean;
|
|
1062
|
+
object?: string | undefined;
|
|
1063
|
+
tags?: string[] | undefined;
|
|
1064
|
+
label?: string | undefined;
|
|
1065
|
+
description?: string | undefined;
|
|
1066
|
+
events?: ("record.created" | "record.updated" | "record.deleted" | "sync.started" | "sync.completed" | "sync.failed" | "auth.expired" | "rate_limit.exceeded")[] | undefined;
|
|
1067
|
+
headers?: Record<string, string> | undefined;
|
|
1068
|
+
authentication?: {
|
|
1069
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1070
|
+
credentials?: Record<string, string> | undefined;
|
|
1071
|
+
} | undefined;
|
|
1072
|
+
body?: any;
|
|
1073
|
+
secret?: string | undefined;
|
|
1074
|
+
retryPolicy?: {
|
|
1075
|
+
maxRetries: number;
|
|
1076
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
1077
|
+
initialDelayMs: number;
|
|
1078
|
+
maxDelayMs: number;
|
|
1079
|
+
} | undefined;
|
|
1080
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1081
|
+
payloadFields?: string[] | undefined;
|
|
1082
|
+
}[] | undefined;
|
|
1083
|
+
syncConfig?: {
|
|
1084
|
+
strategy: "full" | "upsert" | "incremental" | "append_only";
|
|
1085
|
+
batchSize: number;
|
|
1086
|
+
direction: "import" | "export" | "bidirectional";
|
|
1087
|
+
conflictResolution: "manual" | "source_wins" | "latest_wins" | "target_wins";
|
|
1088
|
+
realtimeSync: boolean;
|
|
1089
|
+
deleteMode: "ignore" | "hard_delete" | "soft_delete";
|
|
1090
|
+
filters?: Record<string, any> | undefined;
|
|
1091
|
+
schedule?: string | undefined;
|
|
1092
|
+
timestampField?: string | undefined;
|
|
1093
|
+
} | undefined;
|
|
1094
|
+
rateLimitConfig?: {
|
|
1095
|
+
maxRequests: number;
|
|
1096
|
+
strategy: "sliding_window" | "token_bucket" | "fixed_window" | "leaky_bucket";
|
|
1097
|
+
windowSeconds: number;
|
|
1098
|
+
respectUpstreamLimits: boolean;
|
|
1099
|
+
burstCapacity?: number | undefined;
|
|
1100
|
+
rateLimitHeaders?: {
|
|
1101
|
+
limit: string;
|
|
1102
|
+
remaining: string;
|
|
1103
|
+
reset: string;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
} | undefined;
|
|
1106
|
+
retryConfig?: {
|
|
1107
|
+
strategy: "no_retry" | "exponential_backoff" | "linear_backoff" | "fixed_delay";
|
|
1108
|
+
backoffMultiplier: number;
|
|
1109
|
+
initialDelayMs: number;
|
|
1110
|
+
maxDelayMs: number;
|
|
1111
|
+
maxAttempts: number;
|
|
1112
|
+
retryableStatusCodes: number[];
|
|
1113
|
+
retryOnNetworkError: boolean;
|
|
1114
|
+
jitter: boolean;
|
|
1115
|
+
} | undefined;
|
|
1116
|
+
apiVersion?: {
|
|
1117
|
+
version: string;
|
|
1118
|
+
isDefault: boolean;
|
|
1119
|
+
deprecationDate?: string | undefined;
|
|
1120
|
+
sunsetDate?: string | undefined;
|
|
1121
|
+
} | undefined;
|
|
1122
|
+
oauthSettings?: {
|
|
1123
|
+
scopes: string[];
|
|
1124
|
+
autoRefresh: boolean;
|
|
1125
|
+
refreshTokenUrl?: string | undefined;
|
|
1126
|
+
revokeTokenUrl?: string | undefined;
|
|
1127
|
+
} | undefined;
|
|
1128
|
+
paginationConfig?: {
|
|
1129
|
+
type: "offset" | "cursor" | "page";
|
|
1130
|
+
defaultPageSize: number;
|
|
1131
|
+
maxPageSize: number;
|
|
1132
|
+
} | undefined;
|
|
1133
|
+
sandboxConfig?: {
|
|
1134
|
+
enabled: boolean;
|
|
1135
|
+
baseUrl?: string | undefined;
|
|
1136
|
+
} | undefined;
|
|
1137
|
+
customHeaders?: Record<string, string> | undefined;
|
|
1138
|
+
}, {
|
|
1139
|
+
type: "saas";
|
|
1140
|
+
provider: "custom" | "slack" | "salesforce" | "hubspot" | "stripe" | "shopify" | "zendesk" | "intercom" | "mailchimp" | "microsoft_dynamics" | "servicenow" | "netsuite";
|
|
1141
|
+
label: string;
|
|
1142
|
+
name: string;
|
|
1143
|
+
authentication: {
|
|
1144
|
+
type: "oauth2";
|
|
1145
|
+
authorizationUrl: string;
|
|
1146
|
+
tokenUrl: string;
|
|
1147
|
+
clientId: string;
|
|
1148
|
+
clientSecret: string;
|
|
1149
|
+
scopes?: string[] | undefined;
|
|
1150
|
+
redirectUri?: string | undefined;
|
|
1151
|
+
refreshToken?: string | undefined;
|
|
1152
|
+
tokenExpiry?: number | undefined;
|
|
1153
|
+
} | {
|
|
1154
|
+
type: "api-key";
|
|
1155
|
+
key: string;
|
|
1156
|
+
headerName?: string | undefined;
|
|
1157
|
+
paramName?: string | undefined;
|
|
1158
|
+
} | {
|
|
1159
|
+
type: "basic";
|
|
1160
|
+
password: string;
|
|
1161
|
+
username: string;
|
|
1162
|
+
} | {
|
|
1163
|
+
type: "bearer";
|
|
1164
|
+
token: string;
|
|
1165
|
+
} | {
|
|
1166
|
+
type: "none";
|
|
1167
|
+
} | {
|
|
1168
|
+
type: "jwt";
|
|
1169
|
+
algorithm?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
|
|
1170
|
+
token?: string | undefined;
|
|
1171
|
+
expiresIn?: number | undefined;
|
|
1172
|
+
subject?: string | undefined;
|
|
1173
|
+
secretKey?: string | undefined;
|
|
1174
|
+
issuer?: string | undefined;
|
|
1175
|
+
audience?: string | undefined;
|
|
1176
|
+
claims?: Record<string, any> | undefined;
|
|
1177
|
+
} | {
|
|
1178
|
+
type: "saml";
|
|
1179
|
+
issuer: string;
|
|
1180
|
+
entryPoint: string;
|
|
1181
|
+
certificate: string;
|
|
1182
|
+
privateKey?: string | undefined;
|
|
1183
|
+
callbackUrl?: string | undefined;
|
|
1184
|
+
signatureAlgorithm?: "sha1" | "sha256" | "sha512" | undefined;
|
|
1185
|
+
wantAssertionsSigned?: boolean | undefined;
|
|
1186
|
+
identifierFormat?: string | undefined;
|
|
1187
|
+
};
|
|
1188
|
+
baseUrl: string;
|
|
1189
|
+
objectTypes: {
|
|
1190
|
+
label: string;
|
|
1191
|
+
name: string;
|
|
1192
|
+
apiName: string;
|
|
1193
|
+
enabled?: boolean | undefined;
|
|
1194
|
+
fieldMappings?: {
|
|
1195
|
+
source: string;
|
|
1196
|
+
target: string;
|
|
1197
|
+
transform?: {
|
|
1198
|
+
type: "constant";
|
|
1199
|
+
value?: any;
|
|
1200
|
+
} | {
|
|
1201
|
+
type: "cast";
|
|
1202
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
1203
|
+
} | {
|
|
1204
|
+
type: "lookup";
|
|
1205
|
+
table: string;
|
|
1206
|
+
keyField: string;
|
|
1207
|
+
valueField: string;
|
|
1208
|
+
} | {
|
|
1209
|
+
type: "javascript";
|
|
1210
|
+
expression: string;
|
|
1211
|
+
} | {
|
|
1212
|
+
type: "map";
|
|
1213
|
+
mappings: Record<string, any>;
|
|
1214
|
+
} | undefined;
|
|
1215
|
+
defaultValue?: any;
|
|
1216
|
+
required?: boolean | undefined;
|
|
1217
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
1218
|
+
syncMode?: "bidirectional" | "read_only" | "write_only" | undefined;
|
|
1219
|
+
}[] | undefined;
|
|
1220
|
+
supportsCreate?: boolean | undefined;
|
|
1221
|
+
supportsUpdate?: boolean | undefined;
|
|
1222
|
+
supportsDelete?: boolean | undefined;
|
|
1223
|
+
}[];
|
|
1224
|
+
status?: "active" | "error" | "inactive" | "configuring" | undefined;
|
|
1225
|
+
enabled?: boolean | undefined;
|
|
1226
|
+
description?: string | undefined;
|
|
1227
|
+
icon?: string | undefined;
|
|
1228
|
+
metadata?: Record<string, any> | undefined;
|
|
1229
|
+
fieldMappings?: {
|
|
1230
|
+
source: string;
|
|
1231
|
+
target: string;
|
|
1232
|
+
transform?: {
|
|
1233
|
+
type: "constant";
|
|
1234
|
+
value?: any;
|
|
1235
|
+
} | {
|
|
1236
|
+
type: "cast";
|
|
1237
|
+
targetType: "string" | "number" | "boolean" | "date";
|
|
1238
|
+
} | {
|
|
1239
|
+
type: "lookup";
|
|
1240
|
+
table: string;
|
|
1241
|
+
keyField: string;
|
|
1242
|
+
valueField: string;
|
|
1243
|
+
} | {
|
|
1244
|
+
type: "javascript";
|
|
1245
|
+
expression: string;
|
|
1246
|
+
} | {
|
|
1247
|
+
type: "map";
|
|
1248
|
+
mappings: Record<string, any>;
|
|
1249
|
+
} | undefined;
|
|
1250
|
+
defaultValue?: any;
|
|
1251
|
+
required?: boolean | undefined;
|
|
1252
|
+
dataType?: "string" | "number" | "boolean" | "date" | "array" | "datetime" | "json" | undefined;
|
|
1253
|
+
syncMode?: "bidirectional" | "read_only" | "write_only" | undefined;
|
|
1254
|
+
}[] | undefined;
|
|
1255
|
+
webhooks?: {
|
|
1256
|
+
url: string;
|
|
1257
|
+
name: string;
|
|
1258
|
+
object?: string | undefined;
|
|
1259
|
+
tags?: string[] | undefined;
|
|
1260
|
+
label?: string | undefined;
|
|
1261
|
+
description?: string | undefined;
|
|
1262
|
+
events?: ("record.created" | "record.updated" | "record.deleted" | "sync.started" | "sync.completed" | "sync.failed" | "auth.expired" | "rate_limit.exceeded")[] | undefined;
|
|
1263
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
1264
|
+
headers?: Record<string, string> | undefined;
|
|
1265
|
+
authentication?: {
|
|
1266
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1267
|
+
credentials?: Record<string, string> | undefined;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
body?: any;
|
|
1270
|
+
secret?: string | undefined;
|
|
1271
|
+
timeoutMs?: number | undefined;
|
|
1272
|
+
retryPolicy?: {
|
|
1273
|
+
maxRetries?: number | undefined;
|
|
1274
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
1275
|
+
initialDelayMs?: number | undefined;
|
|
1276
|
+
maxDelayMs?: number | undefined;
|
|
1277
|
+
} | undefined;
|
|
1278
|
+
signatureAlgorithm?: "none" | "hmac_sha256" | "hmac_sha512" | undefined;
|
|
1279
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1280
|
+
payloadFields?: string[] | undefined;
|
|
1281
|
+
includeSession?: boolean | undefined;
|
|
1282
|
+
isActive?: boolean | undefined;
|
|
1283
|
+
}[] | undefined;
|
|
1284
|
+
syncConfig?: {
|
|
1285
|
+
strategy?: "full" | "upsert" | "incremental" | "append_only" | undefined;
|
|
1286
|
+
filters?: Record<string, any> | undefined;
|
|
1287
|
+
batchSize?: number | undefined;
|
|
1288
|
+
schedule?: string | undefined;
|
|
1289
|
+
direction?: "import" | "export" | "bidirectional" | undefined;
|
|
1290
|
+
conflictResolution?: "manual" | "source_wins" | "latest_wins" | "target_wins" | undefined;
|
|
1291
|
+
realtimeSync?: boolean | undefined;
|
|
1292
|
+
timestampField?: string | undefined;
|
|
1293
|
+
deleteMode?: "ignore" | "hard_delete" | "soft_delete" | undefined;
|
|
1294
|
+
} | undefined;
|
|
1295
|
+
rateLimitConfig?: {
|
|
1296
|
+
maxRequests: number;
|
|
1297
|
+
windowSeconds: number;
|
|
1298
|
+
strategy?: "sliding_window" | "token_bucket" | "fixed_window" | "leaky_bucket" | undefined;
|
|
1299
|
+
burstCapacity?: number | undefined;
|
|
1300
|
+
respectUpstreamLimits?: boolean | undefined;
|
|
1301
|
+
rateLimitHeaders?: {
|
|
1302
|
+
limit?: string | undefined;
|
|
1303
|
+
remaining?: string | undefined;
|
|
1304
|
+
reset?: string | undefined;
|
|
1305
|
+
} | undefined;
|
|
1306
|
+
} | undefined;
|
|
1307
|
+
retryConfig?: {
|
|
1308
|
+
strategy?: "no_retry" | "exponential_backoff" | "linear_backoff" | "fixed_delay" | undefined;
|
|
1309
|
+
backoffMultiplier?: number | undefined;
|
|
1310
|
+
initialDelayMs?: number | undefined;
|
|
1311
|
+
maxDelayMs?: number | undefined;
|
|
1312
|
+
maxAttempts?: number | undefined;
|
|
1313
|
+
retryableStatusCodes?: number[] | undefined;
|
|
1314
|
+
retryOnNetworkError?: boolean | undefined;
|
|
1315
|
+
jitter?: boolean | undefined;
|
|
1316
|
+
} | undefined;
|
|
1317
|
+
connectionTimeoutMs?: number | undefined;
|
|
1318
|
+
requestTimeoutMs?: number | undefined;
|
|
1319
|
+
apiVersion?: {
|
|
1320
|
+
version: string;
|
|
1321
|
+
isDefault?: boolean | undefined;
|
|
1322
|
+
deprecationDate?: string | undefined;
|
|
1323
|
+
sunsetDate?: string | undefined;
|
|
1324
|
+
} | undefined;
|
|
1325
|
+
oauthSettings?: {
|
|
1326
|
+
scopes: string[];
|
|
1327
|
+
refreshTokenUrl?: string | undefined;
|
|
1328
|
+
revokeTokenUrl?: string | undefined;
|
|
1329
|
+
autoRefresh?: boolean | undefined;
|
|
1330
|
+
} | undefined;
|
|
1331
|
+
paginationConfig?: {
|
|
1332
|
+
type?: "offset" | "cursor" | "page" | undefined;
|
|
1333
|
+
defaultPageSize?: number | undefined;
|
|
1334
|
+
maxPageSize?: number | undefined;
|
|
1335
|
+
} | undefined;
|
|
1336
|
+
sandboxConfig?: {
|
|
1337
|
+
enabled?: boolean | undefined;
|
|
1338
|
+
baseUrl?: string | undefined;
|
|
1339
|
+
} | undefined;
|
|
1340
|
+
customHeaders?: Record<string, string> | undefined;
|
|
1341
|
+
}>;
|
|
1342
|
+
export type SaasConnector = z.infer<typeof SaasConnectorSchema>;
|
|
1343
|
+
export type SaaSConnector = SaasConnector;
|
|
1344
|
+
/**
|
|
1345
|
+
* Example: Salesforce Connector Configuration
|
|
1346
|
+
*/
|
|
1347
|
+
export declare const salesforceConnectorExample: {
|
|
1348
|
+
name: string;
|
|
1349
|
+
label: string;
|
|
1350
|
+
type: string;
|
|
1351
|
+
provider: string;
|
|
1352
|
+
baseUrl: string;
|
|
1353
|
+
apiVersion: {
|
|
1354
|
+
version: string;
|
|
1355
|
+
isDefault: boolean;
|
|
1356
|
+
};
|
|
1357
|
+
authentication: {
|
|
1358
|
+
type: string;
|
|
1359
|
+
clientId: string;
|
|
1360
|
+
clientSecret: string;
|
|
1361
|
+
authorizationUrl: string;
|
|
1362
|
+
tokenUrl: string;
|
|
1363
|
+
grantType: string;
|
|
1364
|
+
scopes: string[];
|
|
1365
|
+
};
|
|
1366
|
+
objectTypes: {
|
|
1367
|
+
name: string;
|
|
1368
|
+
label: string;
|
|
1369
|
+
apiName: string;
|
|
1370
|
+
enabled: boolean;
|
|
1371
|
+
supportsCreate: boolean;
|
|
1372
|
+
supportsUpdate: boolean;
|
|
1373
|
+
supportsDelete: boolean;
|
|
1374
|
+
}[];
|
|
1375
|
+
syncConfig: {
|
|
1376
|
+
strategy: string;
|
|
1377
|
+
direction: string;
|
|
1378
|
+
schedule: string;
|
|
1379
|
+
realtimeSync: boolean;
|
|
1380
|
+
conflictResolution: string;
|
|
1381
|
+
batchSize: number;
|
|
1382
|
+
deleteMode: string;
|
|
1383
|
+
};
|
|
1384
|
+
rateLimitConfig: {
|
|
1385
|
+
strategy: string;
|
|
1386
|
+
maxRequests: number;
|
|
1387
|
+
windowSeconds: number;
|
|
1388
|
+
respectUpstreamLimits: boolean;
|
|
1389
|
+
};
|
|
1390
|
+
retryConfig: {
|
|
1391
|
+
strategy: string;
|
|
1392
|
+
maxAttempts: number;
|
|
1393
|
+
initialDelayMs: number;
|
|
1394
|
+
maxDelayMs: number;
|
|
1395
|
+
backoffMultiplier: number;
|
|
1396
|
+
retryableStatusCodes: number[];
|
|
1397
|
+
retryOnNetworkError: boolean;
|
|
1398
|
+
jitter: boolean;
|
|
1399
|
+
};
|
|
1400
|
+
status: string;
|
|
1401
|
+
enabled: boolean;
|
|
1402
|
+
};
|
|
1403
|
+
/**
|
|
1404
|
+
* Example: HubSpot Connector Configuration
|
|
1405
|
+
*/
|
|
1406
|
+
export declare const hubspotConnectorExample: {
|
|
1407
|
+
name: string;
|
|
1408
|
+
label: string;
|
|
1409
|
+
type: string;
|
|
1410
|
+
provider: string;
|
|
1411
|
+
baseUrl: string;
|
|
1412
|
+
authentication: {
|
|
1413
|
+
type: string;
|
|
1414
|
+
apiKey: string;
|
|
1415
|
+
headerName: string;
|
|
1416
|
+
};
|
|
1417
|
+
objectTypes: {
|
|
1418
|
+
name: string;
|
|
1419
|
+
label: string;
|
|
1420
|
+
apiName: string;
|
|
1421
|
+
enabled: boolean;
|
|
1422
|
+
supportsCreate: boolean;
|
|
1423
|
+
supportsUpdate: boolean;
|
|
1424
|
+
supportsDelete: boolean;
|
|
1425
|
+
}[];
|
|
1426
|
+
syncConfig: {
|
|
1427
|
+
strategy: string;
|
|
1428
|
+
direction: string;
|
|
1429
|
+
schedule: string;
|
|
1430
|
+
conflictResolution: string;
|
|
1431
|
+
batchSize: number;
|
|
1432
|
+
};
|
|
1433
|
+
rateLimitConfig: {
|
|
1434
|
+
strategy: string;
|
|
1435
|
+
maxRequests: number;
|
|
1436
|
+
windowSeconds: number;
|
|
1437
|
+
};
|
|
1438
|
+
status: string;
|
|
1439
|
+
enabled: boolean;
|
|
1440
|
+
};
|
|
1441
|
+
//# sourceMappingURL=saas.zod.d.ts.map
|