@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
|
@@ -55,15 +55,15 @@ export declare const SmsNotificationActionSchema: z.ZodObject<{
|
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
message: string;
|
|
57
57
|
type: "sms_notification";
|
|
58
|
-
name: string;
|
|
59
58
|
provider: "twilio" | "vonage";
|
|
59
|
+
name: string;
|
|
60
60
|
recipients: string[];
|
|
61
61
|
fromNumber?: string | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
message: string;
|
|
64
64
|
type: "sms_notification";
|
|
65
|
-
name: string;
|
|
66
65
|
provider: "twilio" | "vonage";
|
|
66
|
+
name: string;
|
|
67
67
|
recipients: string[];
|
|
68
68
|
fromNumber?: string | undefined;
|
|
69
69
|
}>;
|
|
@@ -132,10 +132,10 @@ export declare const HttpCallActionSchema: z.ZodObject<{
|
|
|
132
132
|
type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
|
|
133
133
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
type: "none" | "
|
|
135
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
136
136
|
credentials?: Record<string, string> | undefined;
|
|
137
137
|
}, {
|
|
138
|
-
type: "none" | "
|
|
138
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
139
139
|
credentials?: Record<string, string> | undefined;
|
|
140
140
|
}>>;
|
|
141
141
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -143,57 +143,189 @@ export declare const HttpCallActionSchema: z.ZodObject<{
|
|
|
143
143
|
type: "http_call";
|
|
144
144
|
url: string;
|
|
145
145
|
name: string;
|
|
146
|
-
method: "GET" | "POST" | "PUT" | "
|
|
146
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
147
147
|
headers?: Record<string, string> | undefined;
|
|
148
148
|
timeout?: number | undefined;
|
|
149
|
-
body?: any;
|
|
150
149
|
authentication?: {
|
|
151
|
-
type: "none" | "
|
|
150
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
152
151
|
credentials?: Record<string, string> | undefined;
|
|
153
152
|
} | undefined;
|
|
153
|
+
body?: any;
|
|
154
154
|
}, {
|
|
155
155
|
type: "http_call";
|
|
156
156
|
url: string;
|
|
157
157
|
name: string;
|
|
158
|
-
method: "GET" | "POST" | "PUT" | "
|
|
158
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
159
159
|
headers?: Record<string, string> | undefined;
|
|
160
160
|
timeout?: number | undefined;
|
|
161
|
-
body?: any;
|
|
162
161
|
authentication?: {
|
|
163
|
-
type: "none" | "
|
|
162
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
164
163
|
credentials?: Record<string, string> | undefined;
|
|
165
164
|
} | undefined;
|
|
165
|
+
body?: any;
|
|
166
166
|
}>;
|
|
167
167
|
/**
|
|
168
168
|
* Schema for Workflow Webhook Trigger Action
|
|
169
|
+
* References the canonical WebhookSchema from automation/webhook.zod.ts
|
|
169
170
|
*/
|
|
170
171
|
export declare const WebhookTriggerActionSchema: z.ZodObject<{
|
|
171
172
|
name: z.ZodString;
|
|
172
173
|
type: z.ZodLiteral<"webhook_trigger">;
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
174
|
+
config: z.ZodObject<{
|
|
175
|
+
name: z.ZodString;
|
|
176
|
+
label: z.ZodOptional<z.ZodString>;
|
|
177
|
+
object: z.ZodOptional<z.ZodString>;
|
|
178
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
|
|
179
|
+
url: z.ZodString;
|
|
180
|
+
method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
|
|
181
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
182
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
183
|
+
payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
184
|
+
includeSession: z.ZodDefault<z.ZodBoolean>;
|
|
185
|
+
authentication: z.ZodOptional<z.ZodObject<{
|
|
186
|
+
type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
|
|
187
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
190
|
+
credentials?: Record<string, string> | undefined;
|
|
191
|
+
}, {
|
|
192
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
193
|
+
credentials?: Record<string, string> | undefined;
|
|
194
|
+
}>>;
|
|
195
|
+
retryPolicy: z.ZodOptional<z.ZodObject<{
|
|
196
|
+
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
197
|
+
backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
|
|
198
|
+
initialDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
199
|
+
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
|
201
|
+
maxRetries: number;
|
|
202
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
203
|
+
initialDelayMs: number;
|
|
204
|
+
maxDelayMs: number;
|
|
205
|
+
}, {
|
|
206
|
+
maxRetries?: number | undefined;
|
|
207
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
208
|
+
initialDelayMs?: number | undefined;
|
|
209
|
+
maxDelayMs?: number | undefined;
|
|
210
|
+
}>>;
|
|
211
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
212
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
213
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
214
|
+
description: z.ZodOptional<z.ZodString>;
|
|
215
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
216
|
+
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
url: string;
|
|
218
|
+
name: string;
|
|
219
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
220
|
+
timeoutMs: number;
|
|
221
|
+
includeSession: boolean;
|
|
222
|
+
isActive: boolean;
|
|
223
|
+
object?: string | undefined;
|
|
224
|
+
tags?: string[] | undefined;
|
|
225
|
+
label?: string | undefined;
|
|
226
|
+
description?: string | undefined;
|
|
227
|
+
headers?: Record<string, string> | undefined;
|
|
228
|
+
authentication?: {
|
|
229
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
230
|
+
credentials?: Record<string, string> | undefined;
|
|
231
|
+
} | undefined;
|
|
232
|
+
body?: any;
|
|
233
|
+
secret?: string | undefined;
|
|
234
|
+
retryPolicy?: {
|
|
235
|
+
maxRetries: number;
|
|
236
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
237
|
+
initialDelayMs: number;
|
|
238
|
+
maxDelayMs: number;
|
|
239
|
+
} | undefined;
|
|
240
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
241
|
+
payloadFields?: string[] | undefined;
|
|
242
|
+
}, {
|
|
243
|
+
url: string;
|
|
244
|
+
name: string;
|
|
245
|
+
object?: string | undefined;
|
|
246
|
+
tags?: string[] | undefined;
|
|
247
|
+
label?: string | undefined;
|
|
248
|
+
description?: string | undefined;
|
|
249
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
250
|
+
headers?: Record<string, string> | undefined;
|
|
251
|
+
authentication?: {
|
|
252
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
253
|
+
credentials?: Record<string, string> | undefined;
|
|
254
|
+
} | undefined;
|
|
255
|
+
body?: any;
|
|
256
|
+
secret?: string | undefined;
|
|
257
|
+
timeoutMs?: number | undefined;
|
|
258
|
+
retryPolicy?: {
|
|
259
|
+
maxRetries?: number | undefined;
|
|
260
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
261
|
+
initialDelayMs?: number | undefined;
|
|
262
|
+
maxDelayMs?: number | undefined;
|
|
263
|
+
} | undefined;
|
|
264
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
265
|
+
payloadFields?: string[] | undefined;
|
|
266
|
+
includeSession?: boolean | undefined;
|
|
267
|
+
isActive?: boolean | undefined;
|
|
268
|
+
}>;
|
|
179
269
|
}, "strip", z.ZodTypeAny, {
|
|
180
270
|
type: "webhook_trigger";
|
|
181
|
-
url: string;
|
|
182
271
|
name: string;
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
272
|
+
config: {
|
|
273
|
+
url: string;
|
|
274
|
+
name: string;
|
|
275
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
276
|
+
timeoutMs: number;
|
|
277
|
+
includeSession: boolean;
|
|
278
|
+
isActive: boolean;
|
|
279
|
+
object?: string | undefined;
|
|
280
|
+
tags?: string[] | undefined;
|
|
281
|
+
label?: string | undefined;
|
|
282
|
+
description?: string | undefined;
|
|
283
|
+
headers?: Record<string, string> | undefined;
|
|
284
|
+
authentication?: {
|
|
285
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
286
|
+
credentials?: Record<string, string> | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
body?: any;
|
|
289
|
+
secret?: string | undefined;
|
|
290
|
+
retryPolicy?: {
|
|
291
|
+
maxRetries: number;
|
|
292
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
293
|
+
initialDelayMs: number;
|
|
294
|
+
maxDelayMs: number;
|
|
295
|
+
} | undefined;
|
|
296
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
297
|
+
payloadFields?: string[] | undefined;
|
|
298
|
+
};
|
|
188
299
|
}, {
|
|
189
300
|
type: "webhook_trigger";
|
|
190
|
-
url: string;
|
|
191
301
|
name: string;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
302
|
+
config: {
|
|
303
|
+
url: string;
|
|
304
|
+
name: string;
|
|
305
|
+
object?: string | undefined;
|
|
306
|
+
tags?: string[] | undefined;
|
|
307
|
+
label?: string | undefined;
|
|
308
|
+
description?: string | undefined;
|
|
309
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
310
|
+
headers?: Record<string, string> | undefined;
|
|
311
|
+
authentication?: {
|
|
312
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
313
|
+
credentials?: Record<string, string> | undefined;
|
|
314
|
+
} | undefined;
|
|
315
|
+
body?: any;
|
|
316
|
+
secret?: string | undefined;
|
|
317
|
+
timeoutMs?: number | undefined;
|
|
318
|
+
retryPolicy?: {
|
|
319
|
+
maxRetries?: number | undefined;
|
|
320
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
321
|
+
initialDelayMs?: number | undefined;
|
|
322
|
+
maxDelayMs?: number | undefined;
|
|
323
|
+
} | undefined;
|
|
324
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
325
|
+
payloadFields?: string[] | undefined;
|
|
326
|
+
includeSession?: boolean | undefined;
|
|
327
|
+
isActive?: boolean | undefined;
|
|
328
|
+
};
|
|
197
329
|
}>;
|
|
198
330
|
/**
|
|
199
331
|
* Schema for Workflow Task Creation Action
|
|
@@ -212,8 +344,8 @@ export declare const TaskCreationActionSchema: z.ZodObject<{
|
|
|
212
344
|
}, "strip", z.ZodTypeAny, {
|
|
213
345
|
type: "task_creation";
|
|
214
346
|
name: string;
|
|
215
|
-
taskObject: string;
|
|
216
347
|
subject: string;
|
|
348
|
+
taskObject: string;
|
|
217
349
|
description?: string | undefined;
|
|
218
350
|
priority?: string | undefined;
|
|
219
351
|
assignedTo?: string | undefined;
|
|
@@ -223,8 +355,8 @@ export declare const TaskCreationActionSchema: z.ZodObject<{
|
|
|
223
355
|
}, {
|
|
224
356
|
type: "task_creation";
|
|
225
357
|
name: string;
|
|
226
|
-
taskObject: string;
|
|
227
358
|
subject: string;
|
|
359
|
+
taskObject: string;
|
|
228
360
|
description?: string | undefined;
|
|
229
361
|
priority?: string | undefined;
|
|
230
362
|
assignedTo?: string | undefined;
|
|
@@ -248,8 +380,8 @@ export declare const PushNotificationActionSchema: z.ZodObject<{
|
|
|
248
380
|
}, "strip", z.ZodTypeAny, {
|
|
249
381
|
type: "push_notification";
|
|
250
382
|
name: string;
|
|
251
|
-
body: string;
|
|
252
383
|
title: string;
|
|
384
|
+
body: string;
|
|
253
385
|
recipients: string[];
|
|
254
386
|
data?: Record<string, any> | undefined;
|
|
255
387
|
badge?: number | undefined;
|
|
@@ -258,8 +390,8 @@ export declare const PushNotificationActionSchema: z.ZodObject<{
|
|
|
258
390
|
}, {
|
|
259
391
|
type: "push_notification";
|
|
260
392
|
name: string;
|
|
261
|
-
body: string;
|
|
262
393
|
title: string;
|
|
394
|
+
body: string;
|
|
263
395
|
recipients: string[];
|
|
264
396
|
data?: Record<string, any> | undefined;
|
|
265
397
|
badge?: number | undefined;
|
|
@@ -279,8 +411,8 @@ export declare const CustomScriptActionSchema: z.ZodObject<{
|
|
|
279
411
|
}, "strip", z.ZodTypeAny, {
|
|
280
412
|
code: string;
|
|
281
413
|
type: "custom_script";
|
|
282
|
-
name: string;
|
|
283
414
|
language: "javascript" | "typescript" | "python";
|
|
415
|
+
name: string;
|
|
284
416
|
timeout: number;
|
|
285
417
|
context?: Record<string, any> | undefined;
|
|
286
418
|
}, {
|
|
@@ -335,15 +467,15 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
335
467
|
}, "strip", z.ZodTypeAny, {
|
|
336
468
|
message: string;
|
|
337
469
|
type: "sms_notification";
|
|
338
|
-
name: string;
|
|
339
470
|
provider: "twilio" | "vonage";
|
|
471
|
+
name: string;
|
|
340
472
|
recipients: string[];
|
|
341
473
|
fromNumber?: string | undefined;
|
|
342
474
|
}, {
|
|
343
475
|
message: string;
|
|
344
476
|
type: "sms_notification";
|
|
345
|
-
name: string;
|
|
346
477
|
provider: "twilio" | "vonage";
|
|
478
|
+
name: string;
|
|
347
479
|
recipients: string[];
|
|
348
480
|
fromNumber?: string | undefined;
|
|
349
481
|
}>, z.ZodObject<{
|
|
@@ -399,10 +531,10 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
399
531
|
type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
|
|
400
532
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
401
533
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
-
type: "none" | "
|
|
534
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
403
535
|
credentials?: Record<string, string> | undefined;
|
|
404
536
|
}, {
|
|
405
|
-
type: "none" | "
|
|
537
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
406
538
|
credentials?: Record<string, string> | undefined;
|
|
407
539
|
}>>;
|
|
408
540
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -410,53 +542,184 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
410
542
|
type: "http_call";
|
|
411
543
|
url: string;
|
|
412
544
|
name: string;
|
|
413
|
-
method: "GET" | "POST" | "PUT" | "
|
|
545
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
414
546
|
headers?: Record<string, string> | undefined;
|
|
415
547
|
timeout?: number | undefined;
|
|
416
|
-
body?: any;
|
|
417
548
|
authentication?: {
|
|
418
|
-
type: "none" | "
|
|
549
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
419
550
|
credentials?: Record<string, string> | undefined;
|
|
420
551
|
} | undefined;
|
|
552
|
+
body?: any;
|
|
421
553
|
}, {
|
|
422
554
|
type: "http_call";
|
|
423
555
|
url: string;
|
|
424
556
|
name: string;
|
|
425
|
-
method: "GET" | "POST" | "PUT" | "
|
|
557
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
426
558
|
headers?: Record<string, string> | undefined;
|
|
427
559
|
timeout?: number | undefined;
|
|
428
|
-
body?: any;
|
|
429
560
|
authentication?: {
|
|
430
|
-
type: "none" | "
|
|
561
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
431
562
|
credentials?: Record<string, string> | undefined;
|
|
432
563
|
} | undefined;
|
|
564
|
+
body?: any;
|
|
433
565
|
}>, z.ZodObject<{
|
|
434
566
|
name: z.ZodString;
|
|
435
567
|
type: z.ZodLiteral<"webhook_trigger">;
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
568
|
+
config: z.ZodObject<{
|
|
569
|
+
name: z.ZodString;
|
|
570
|
+
label: z.ZodOptional<z.ZodString>;
|
|
571
|
+
object: z.ZodOptional<z.ZodString>;
|
|
572
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
|
|
573
|
+
url: z.ZodString;
|
|
574
|
+
method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
|
|
575
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
576
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
577
|
+
payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
578
|
+
includeSession: z.ZodDefault<z.ZodBoolean>;
|
|
579
|
+
authentication: z.ZodOptional<z.ZodObject<{
|
|
580
|
+
type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
|
|
581
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
582
|
+
}, "strip", z.ZodTypeAny, {
|
|
583
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
584
|
+
credentials?: Record<string, string> | undefined;
|
|
585
|
+
}, {
|
|
586
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
587
|
+
credentials?: Record<string, string> | undefined;
|
|
588
|
+
}>>;
|
|
589
|
+
retryPolicy: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
591
|
+
backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
|
|
592
|
+
initialDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
593
|
+
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
594
|
+
}, "strip", z.ZodTypeAny, {
|
|
595
|
+
maxRetries: number;
|
|
596
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
597
|
+
initialDelayMs: number;
|
|
598
|
+
maxDelayMs: number;
|
|
599
|
+
}, {
|
|
600
|
+
maxRetries?: number | undefined;
|
|
601
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
602
|
+
initialDelayMs?: number | undefined;
|
|
603
|
+
maxDelayMs?: number | undefined;
|
|
604
|
+
}>>;
|
|
605
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
606
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
607
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
608
|
+
description: z.ZodOptional<z.ZodString>;
|
|
609
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
610
|
+
}, "strip", z.ZodTypeAny, {
|
|
611
|
+
url: string;
|
|
612
|
+
name: string;
|
|
613
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
614
|
+
timeoutMs: number;
|
|
615
|
+
includeSession: boolean;
|
|
616
|
+
isActive: boolean;
|
|
617
|
+
object?: string | undefined;
|
|
618
|
+
tags?: string[] | undefined;
|
|
619
|
+
label?: string | undefined;
|
|
620
|
+
description?: string | undefined;
|
|
621
|
+
headers?: Record<string, string> | undefined;
|
|
622
|
+
authentication?: {
|
|
623
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
624
|
+
credentials?: Record<string, string> | undefined;
|
|
625
|
+
} | undefined;
|
|
626
|
+
body?: any;
|
|
627
|
+
secret?: string | undefined;
|
|
628
|
+
retryPolicy?: {
|
|
629
|
+
maxRetries: number;
|
|
630
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
631
|
+
initialDelayMs: number;
|
|
632
|
+
maxDelayMs: number;
|
|
633
|
+
} | undefined;
|
|
634
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
635
|
+
payloadFields?: string[] | undefined;
|
|
636
|
+
}, {
|
|
637
|
+
url: string;
|
|
638
|
+
name: string;
|
|
639
|
+
object?: string | undefined;
|
|
640
|
+
tags?: string[] | undefined;
|
|
641
|
+
label?: string | undefined;
|
|
642
|
+
description?: string | undefined;
|
|
643
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
644
|
+
headers?: Record<string, string> | undefined;
|
|
645
|
+
authentication?: {
|
|
646
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
647
|
+
credentials?: Record<string, string> | undefined;
|
|
648
|
+
} | undefined;
|
|
649
|
+
body?: any;
|
|
650
|
+
secret?: string | undefined;
|
|
651
|
+
timeoutMs?: number | undefined;
|
|
652
|
+
retryPolicy?: {
|
|
653
|
+
maxRetries?: number | undefined;
|
|
654
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
655
|
+
initialDelayMs?: number | undefined;
|
|
656
|
+
maxDelayMs?: number | undefined;
|
|
657
|
+
} | undefined;
|
|
658
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
659
|
+
payloadFields?: string[] | undefined;
|
|
660
|
+
includeSession?: boolean | undefined;
|
|
661
|
+
isActive?: boolean | undefined;
|
|
662
|
+
}>;
|
|
442
663
|
}, "strip", z.ZodTypeAny, {
|
|
443
664
|
type: "webhook_trigger";
|
|
444
|
-
url: string;
|
|
445
665
|
name: string;
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
666
|
+
config: {
|
|
667
|
+
url: string;
|
|
668
|
+
name: string;
|
|
669
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
670
|
+
timeoutMs: number;
|
|
671
|
+
includeSession: boolean;
|
|
672
|
+
isActive: boolean;
|
|
673
|
+
object?: string | undefined;
|
|
674
|
+
tags?: string[] | undefined;
|
|
675
|
+
label?: string | undefined;
|
|
676
|
+
description?: string | undefined;
|
|
677
|
+
headers?: Record<string, string> | undefined;
|
|
678
|
+
authentication?: {
|
|
679
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
680
|
+
credentials?: Record<string, string> | undefined;
|
|
681
|
+
} | undefined;
|
|
682
|
+
body?: any;
|
|
683
|
+
secret?: string | undefined;
|
|
684
|
+
retryPolicy?: {
|
|
685
|
+
maxRetries: number;
|
|
686
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
687
|
+
initialDelayMs: number;
|
|
688
|
+
maxDelayMs: number;
|
|
689
|
+
} | undefined;
|
|
690
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
691
|
+
payloadFields?: string[] | undefined;
|
|
692
|
+
};
|
|
451
693
|
}, {
|
|
452
694
|
type: "webhook_trigger";
|
|
453
|
-
url: string;
|
|
454
695
|
name: string;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
696
|
+
config: {
|
|
697
|
+
url: string;
|
|
698
|
+
name: string;
|
|
699
|
+
object?: string | undefined;
|
|
700
|
+
tags?: string[] | undefined;
|
|
701
|
+
label?: string | undefined;
|
|
702
|
+
description?: string | undefined;
|
|
703
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
704
|
+
headers?: Record<string, string> | undefined;
|
|
705
|
+
authentication?: {
|
|
706
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
707
|
+
credentials?: Record<string, string> | undefined;
|
|
708
|
+
} | undefined;
|
|
709
|
+
body?: any;
|
|
710
|
+
secret?: string | undefined;
|
|
711
|
+
timeoutMs?: number | undefined;
|
|
712
|
+
retryPolicy?: {
|
|
713
|
+
maxRetries?: number | undefined;
|
|
714
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
715
|
+
initialDelayMs?: number | undefined;
|
|
716
|
+
maxDelayMs?: number | undefined;
|
|
717
|
+
} | undefined;
|
|
718
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
719
|
+
payloadFields?: string[] | undefined;
|
|
720
|
+
includeSession?: boolean | undefined;
|
|
721
|
+
isActive?: boolean | undefined;
|
|
722
|
+
};
|
|
460
723
|
}>, z.ZodObject<{
|
|
461
724
|
name: z.ZodString;
|
|
462
725
|
type: z.ZodLiteral<"task_creation">;
|
|
@@ -471,8 +734,8 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
471
734
|
}, "strip", z.ZodTypeAny, {
|
|
472
735
|
type: "task_creation";
|
|
473
736
|
name: string;
|
|
474
|
-
taskObject: string;
|
|
475
737
|
subject: string;
|
|
738
|
+
taskObject: string;
|
|
476
739
|
description?: string | undefined;
|
|
477
740
|
priority?: string | undefined;
|
|
478
741
|
assignedTo?: string | undefined;
|
|
@@ -482,8 +745,8 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
482
745
|
}, {
|
|
483
746
|
type: "task_creation";
|
|
484
747
|
name: string;
|
|
485
|
-
taskObject: string;
|
|
486
748
|
subject: string;
|
|
749
|
+
taskObject: string;
|
|
487
750
|
description?: string | undefined;
|
|
488
751
|
priority?: string | undefined;
|
|
489
752
|
assignedTo?: string | undefined;
|
|
@@ -503,8 +766,8 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
503
766
|
}, "strip", z.ZodTypeAny, {
|
|
504
767
|
type: "push_notification";
|
|
505
768
|
name: string;
|
|
506
|
-
body: string;
|
|
507
769
|
title: string;
|
|
770
|
+
body: string;
|
|
508
771
|
recipients: string[];
|
|
509
772
|
data?: Record<string, any> | undefined;
|
|
510
773
|
badge?: number | undefined;
|
|
@@ -513,8 +776,8 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
513
776
|
}, {
|
|
514
777
|
type: "push_notification";
|
|
515
778
|
name: string;
|
|
516
|
-
body: string;
|
|
517
779
|
title: string;
|
|
780
|
+
body: string;
|
|
518
781
|
recipients: string[];
|
|
519
782
|
data?: Record<string, any> | undefined;
|
|
520
783
|
badge?: number | undefined;
|
|
@@ -530,8 +793,8 @@ export declare const WorkflowActionSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
530
793
|
}, "strip", z.ZodTypeAny, {
|
|
531
794
|
code: string;
|
|
532
795
|
type: "custom_script";
|
|
533
|
-
name: string;
|
|
534
796
|
language: "javascript" | "typescript" | "python";
|
|
797
|
+
name: string;
|
|
535
798
|
timeout: number;
|
|
536
799
|
context?: Record<string, any> | undefined;
|
|
537
800
|
}, {
|
|
@@ -596,15 +859,15 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
596
859
|
}, "strip", z.ZodTypeAny, {
|
|
597
860
|
message: string;
|
|
598
861
|
type: "sms_notification";
|
|
599
|
-
name: string;
|
|
600
862
|
provider: "twilio" | "vonage";
|
|
863
|
+
name: string;
|
|
601
864
|
recipients: string[];
|
|
602
865
|
fromNumber?: string | undefined;
|
|
603
866
|
}, {
|
|
604
867
|
message: string;
|
|
605
868
|
type: "sms_notification";
|
|
606
|
-
name: string;
|
|
607
869
|
provider: "twilio" | "vonage";
|
|
870
|
+
name: string;
|
|
608
871
|
recipients: string[];
|
|
609
872
|
fromNumber?: string | undefined;
|
|
610
873
|
}>, z.ZodObject<{
|
|
@@ -660,10 +923,10 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
660
923
|
type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
|
|
661
924
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
662
925
|
}, "strip", z.ZodTypeAny, {
|
|
663
|
-
type: "none" | "
|
|
926
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
664
927
|
credentials?: Record<string, string> | undefined;
|
|
665
928
|
}, {
|
|
666
|
-
type: "none" | "
|
|
929
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
667
930
|
credentials?: Record<string, string> | undefined;
|
|
668
931
|
}>>;
|
|
669
932
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -671,53 +934,184 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
671
934
|
type: "http_call";
|
|
672
935
|
url: string;
|
|
673
936
|
name: string;
|
|
674
|
-
method: "GET" | "POST" | "PUT" | "
|
|
937
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
675
938
|
headers?: Record<string, string> | undefined;
|
|
676
939
|
timeout?: number | undefined;
|
|
677
|
-
body?: any;
|
|
678
940
|
authentication?: {
|
|
679
|
-
type: "none" | "
|
|
941
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
680
942
|
credentials?: Record<string, string> | undefined;
|
|
681
943
|
} | undefined;
|
|
944
|
+
body?: any;
|
|
682
945
|
}, {
|
|
683
946
|
type: "http_call";
|
|
684
947
|
url: string;
|
|
685
948
|
name: string;
|
|
686
|
-
method: "GET" | "POST" | "PUT" | "
|
|
949
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
687
950
|
headers?: Record<string, string> | undefined;
|
|
688
951
|
timeout?: number | undefined;
|
|
689
|
-
body?: any;
|
|
690
952
|
authentication?: {
|
|
691
|
-
type: "none" | "
|
|
953
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
692
954
|
credentials?: Record<string, string> | undefined;
|
|
693
955
|
} | undefined;
|
|
956
|
+
body?: any;
|
|
694
957
|
}>, z.ZodObject<{
|
|
695
958
|
name: z.ZodString;
|
|
696
959
|
type: z.ZodLiteral<"webhook_trigger">;
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
960
|
+
config: z.ZodObject<{
|
|
961
|
+
name: z.ZodString;
|
|
962
|
+
label: z.ZodOptional<z.ZodString>;
|
|
963
|
+
object: z.ZodOptional<z.ZodString>;
|
|
964
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
|
|
965
|
+
url: z.ZodString;
|
|
966
|
+
method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
|
|
967
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
968
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
969
|
+
payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
970
|
+
includeSession: z.ZodDefault<z.ZodBoolean>;
|
|
971
|
+
authentication: z.ZodOptional<z.ZodObject<{
|
|
972
|
+
type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
|
|
973
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
974
|
+
}, "strip", z.ZodTypeAny, {
|
|
975
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
976
|
+
credentials?: Record<string, string> | undefined;
|
|
977
|
+
}, {
|
|
978
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
979
|
+
credentials?: Record<string, string> | undefined;
|
|
980
|
+
}>>;
|
|
981
|
+
retryPolicy: z.ZodOptional<z.ZodObject<{
|
|
982
|
+
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
983
|
+
backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
|
|
984
|
+
initialDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
985
|
+
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
986
|
+
}, "strip", z.ZodTypeAny, {
|
|
987
|
+
maxRetries: number;
|
|
988
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
989
|
+
initialDelayMs: number;
|
|
990
|
+
maxDelayMs: number;
|
|
991
|
+
}, {
|
|
992
|
+
maxRetries?: number | undefined;
|
|
993
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
994
|
+
initialDelayMs?: number | undefined;
|
|
995
|
+
maxDelayMs?: number | undefined;
|
|
996
|
+
}>>;
|
|
997
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
998
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
999
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1000
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1002
|
+
}, "strip", z.ZodTypeAny, {
|
|
1003
|
+
url: string;
|
|
1004
|
+
name: string;
|
|
1005
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1006
|
+
timeoutMs: number;
|
|
1007
|
+
includeSession: boolean;
|
|
1008
|
+
isActive: boolean;
|
|
1009
|
+
object?: string | undefined;
|
|
1010
|
+
tags?: string[] | undefined;
|
|
1011
|
+
label?: string | undefined;
|
|
1012
|
+
description?: string | undefined;
|
|
1013
|
+
headers?: Record<string, string> | undefined;
|
|
1014
|
+
authentication?: {
|
|
1015
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1016
|
+
credentials?: Record<string, string> | undefined;
|
|
1017
|
+
} | undefined;
|
|
1018
|
+
body?: any;
|
|
1019
|
+
secret?: string | undefined;
|
|
1020
|
+
retryPolicy?: {
|
|
1021
|
+
maxRetries: number;
|
|
1022
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
1023
|
+
initialDelayMs: number;
|
|
1024
|
+
maxDelayMs: number;
|
|
1025
|
+
} | undefined;
|
|
1026
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1027
|
+
payloadFields?: string[] | undefined;
|
|
1028
|
+
}, {
|
|
1029
|
+
url: string;
|
|
1030
|
+
name: string;
|
|
1031
|
+
object?: string | undefined;
|
|
1032
|
+
tags?: string[] | undefined;
|
|
1033
|
+
label?: string | undefined;
|
|
1034
|
+
description?: string | undefined;
|
|
1035
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
1036
|
+
headers?: Record<string, string> | undefined;
|
|
1037
|
+
authentication?: {
|
|
1038
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1039
|
+
credentials?: Record<string, string> | undefined;
|
|
1040
|
+
} | undefined;
|
|
1041
|
+
body?: any;
|
|
1042
|
+
secret?: string | undefined;
|
|
1043
|
+
timeoutMs?: number | undefined;
|
|
1044
|
+
retryPolicy?: {
|
|
1045
|
+
maxRetries?: number | undefined;
|
|
1046
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
1047
|
+
initialDelayMs?: number | undefined;
|
|
1048
|
+
maxDelayMs?: number | undefined;
|
|
1049
|
+
} | undefined;
|
|
1050
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1051
|
+
payloadFields?: string[] | undefined;
|
|
1052
|
+
includeSession?: boolean | undefined;
|
|
1053
|
+
isActive?: boolean | undefined;
|
|
1054
|
+
}>;
|
|
703
1055
|
}, "strip", z.ZodTypeAny, {
|
|
704
1056
|
type: "webhook_trigger";
|
|
705
|
-
url: string;
|
|
706
1057
|
name: string;
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
1058
|
+
config: {
|
|
1059
|
+
url: string;
|
|
1060
|
+
name: string;
|
|
1061
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1062
|
+
timeoutMs: number;
|
|
1063
|
+
includeSession: boolean;
|
|
1064
|
+
isActive: boolean;
|
|
1065
|
+
object?: string | undefined;
|
|
1066
|
+
tags?: string[] | undefined;
|
|
1067
|
+
label?: string | undefined;
|
|
1068
|
+
description?: string | undefined;
|
|
1069
|
+
headers?: Record<string, string> | undefined;
|
|
1070
|
+
authentication?: {
|
|
1071
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1072
|
+
credentials?: Record<string, string> | undefined;
|
|
1073
|
+
} | undefined;
|
|
1074
|
+
body?: any;
|
|
1075
|
+
secret?: string | undefined;
|
|
1076
|
+
retryPolicy?: {
|
|
1077
|
+
maxRetries: number;
|
|
1078
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
1079
|
+
initialDelayMs: number;
|
|
1080
|
+
maxDelayMs: number;
|
|
1081
|
+
} | undefined;
|
|
1082
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1083
|
+
payloadFields?: string[] | undefined;
|
|
1084
|
+
};
|
|
712
1085
|
}, {
|
|
713
1086
|
type: "webhook_trigger";
|
|
714
|
-
url: string;
|
|
715
1087
|
name: string;
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
1088
|
+
config: {
|
|
1089
|
+
url: string;
|
|
1090
|
+
name: string;
|
|
1091
|
+
object?: string | undefined;
|
|
1092
|
+
tags?: string[] | undefined;
|
|
1093
|
+
label?: string | undefined;
|
|
1094
|
+
description?: string | undefined;
|
|
1095
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
1096
|
+
headers?: Record<string, string> | undefined;
|
|
1097
|
+
authentication?: {
|
|
1098
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1099
|
+
credentials?: Record<string, string> | undefined;
|
|
1100
|
+
} | undefined;
|
|
1101
|
+
body?: any;
|
|
1102
|
+
secret?: string | undefined;
|
|
1103
|
+
timeoutMs?: number | undefined;
|
|
1104
|
+
retryPolicy?: {
|
|
1105
|
+
maxRetries?: number | undefined;
|
|
1106
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
1107
|
+
initialDelayMs?: number | undefined;
|
|
1108
|
+
maxDelayMs?: number | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1111
|
+
payloadFields?: string[] | undefined;
|
|
1112
|
+
includeSession?: boolean | undefined;
|
|
1113
|
+
isActive?: boolean | undefined;
|
|
1114
|
+
};
|
|
721
1115
|
}>, z.ZodObject<{
|
|
722
1116
|
name: z.ZodString;
|
|
723
1117
|
type: z.ZodLiteral<"task_creation">;
|
|
@@ -732,8 +1126,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
732
1126
|
}, "strip", z.ZodTypeAny, {
|
|
733
1127
|
type: "task_creation";
|
|
734
1128
|
name: string;
|
|
735
|
-
taskObject: string;
|
|
736
1129
|
subject: string;
|
|
1130
|
+
taskObject: string;
|
|
737
1131
|
description?: string | undefined;
|
|
738
1132
|
priority?: string | undefined;
|
|
739
1133
|
assignedTo?: string | undefined;
|
|
@@ -743,8 +1137,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
743
1137
|
}, {
|
|
744
1138
|
type: "task_creation";
|
|
745
1139
|
name: string;
|
|
746
|
-
taskObject: string;
|
|
747
1140
|
subject: string;
|
|
1141
|
+
taskObject: string;
|
|
748
1142
|
description?: string | undefined;
|
|
749
1143
|
priority?: string | undefined;
|
|
750
1144
|
assignedTo?: string | undefined;
|
|
@@ -764,8 +1158,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
764
1158
|
}, "strip", z.ZodTypeAny, {
|
|
765
1159
|
type: "push_notification";
|
|
766
1160
|
name: string;
|
|
767
|
-
body: string;
|
|
768
1161
|
title: string;
|
|
1162
|
+
body: string;
|
|
769
1163
|
recipients: string[];
|
|
770
1164
|
data?: Record<string, any> | undefined;
|
|
771
1165
|
badge?: number | undefined;
|
|
@@ -774,8 +1168,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
774
1168
|
}, {
|
|
775
1169
|
type: "push_notification";
|
|
776
1170
|
name: string;
|
|
777
|
-
body: string;
|
|
778
1171
|
title: string;
|
|
1172
|
+
body: string;
|
|
779
1173
|
recipients: string[];
|
|
780
1174
|
data?: Record<string, any> | undefined;
|
|
781
1175
|
badge?: number | undefined;
|
|
@@ -791,8 +1185,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
791
1185
|
}, "strip", z.ZodTypeAny, {
|
|
792
1186
|
code: string;
|
|
793
1187
|
type: "custom_script";
|
|
794
|
-
name: string;
|
|
795
1188
|
language: "javascript" | "typescript" | "python";
|
|
1189
|
+
name: string;
|
|
796
1190
|
timeout: number;
|
|
797
1191
|
context?: Record<string, any> | undefined;
|
|
798
1192
|
}, {
|
|
@@ -817,8 +1211,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
817
1211
|
} | {
|
|
818
1212
|
message: string;
|
|
819
1213
|
type: "sms_notification";
|
|
820
|
-
name: string;
|
|
821
1214
|
provider: "twilio" | "vonage";
|
|
1215
|
+
name: string;
|
|
822
1216
|
recipients: string[];
|
|
823
1217
|
fromNumber?: string | undefined;
|
|
824
1218
|
} | {
|
|
@@ -839,28 +1233,49 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
839
1233
|
type: "http_call";
|
|
840
1234
|
url: string;
|
|
841
1235
|
name: string;
|
|
842
|
-
method: "GET" | "POST" | "PUT" | "
|
|
1236
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
843
1237
|
headers?: Record<string, string> | undefined;
|
|
844
1238
|
timeout?: number | undefined;
|
|
845
|
-
body?: any;
|
|
846
1239
|
authentication?: {
|
|
847
|
-
type: "none" | "
|
|
1240
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
848
1241
|
credentials?: Record<string, string> | undefined;
|
|
849
1242
|
} | undefined;
|
|
1243
|
+
body?: any;
|
|
850
1244
|
} | {
|
|
851
1245
|
type: "webhook_trigger";
|
|
852
|
-
url: string;
|
|
853
1246
|
name: string;
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
1247
|
+
config: {
|
|
1248
|
+
url: string;
|
|
1249
|
+
name: string;
|
|
1250
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1251
|
+
timeoutMs: number;
|
|
1252
|
+
includeSession: boolean;
|
|
1253
|
+
isActive: boolean;
|
|
1254
|
+
object?: string | undefined;
|
|
1255
|
+
tags?: string[] | undefined;
|
|
1256
|
+
label?: string | undefined;
|
|
1257
|
+
description?: string | undefined;
|
|
1258
|
+
headers?: Record<string, string> | undefined;
|
|
1259
|
+
authentication?: {
|
|
1260
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1261
|
+
credentials?: Record<string, string> | undefined;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
body?: any;
|
|
1264
|
+
secret?: string | undefined;
|
|
1265
|
+
retryPolicy?: {
|
|
1266
|
+
maxRetries: number;
|
|
1267
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
1268
|
+
initialDelayMs: number;
|
|
1269
|
+
maxDelayMs: number;
|
|
1270
|
+
} | undefined;
|
|
1271
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1272
|
+
payloadFields?: string[] | undefined;
|
|
1273
|
+
};
|
|
859
1274
|
} | {
|
|
860
1275
|
type: "task_creation";
|
|
861
1276
|
name: string;
|
|
862
|
-
taskObject: string;
|
|
863
1277
|
subject: string;
|
|
1278
|
+
taskObject: string;
|
|
864
1279
|
description?: string | undefined;
|
|
865
1280
|
priority?: string | undefined;
|
|
866
1281
|
assignedTo?: string | undefined;
|
|
@@ -870,8 +1285,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
870
1285
|
} | {
|
|
871
1286
|
type: "push_notification";
|
|
872
1287
|
name: string;
|
|
873
|
-
body: string;
|
|
874
1288
|
title: string;
|
|
1289
|
+
body: string;
|
|
875
1290
|
recipients: string[];
|
|
876
1291
|
data?: Record<string, any> | undefined;
|
|
877
1292
|
badge?: number | undefined;
|
|
@@ -880,8 +1295,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
880
1295
|
} | {
|
|
881
1296
|
code: string;
|
|
882
1297
|
type: "custom_script";
|
|
883
|
-
name: string;
|
|
884
1298
|
language: "javascript" | "typescript" | "python";
|
|
1299
|
+
name: string;
|
|
885
1300
|
timeout: number;
|
|
886
1301
|
context?: Record<string, any> | undefined;
|
|
887
1302
|
})[];
|
|
@@ -905,8 +1320,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
905
1320
|
} | {
|
|
906
1321
|
message: string;
|
|
907
1322
|
type: "sms_notification";
|
|
908
|
-
name: string;
|
|
909
1323
|
provider: "twilio" | "vonage";
|
|
1324
|
+
name: string;
|
|
910
1325
|
recipients: string[];
|
|
911
1326
|
fromNumber?: string | undefined;
|
|
912
1327
|
} | {
|
|
@@ -927,28 +1342,49 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
927
1342
|
type: "http_call";
|
|
928
1343
|
url: string;
|
|
929
1344
|
name: string;
|
|
930
|
-
method: "GET" | "POST" | "PUT" | "
|
|
1345
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
931
1346
|
headers?: Record<string, string> | undefined;
|
|
932
1347
|
timeout?: number | undefined;
|
|
933
|
-
body?: any;
|
|
934
1348
|
authentication?: {
|
|
935
|
-
type: "none" | "
|
|
1349
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
936
1350
|
credentials?: Record<string, string> | undefined;
|
|
937
1351
|
} | undefined;
|
|
1352
|
+
body?: any;
|
|
938
1353
|
} | {
|
|
939
1354
|
type: "webhook_trigger";
|
|
940
|
-
url: string;
|
|
941
1355
|
name: string;
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
1356
|
+
config: {
|
|
1357
|
+
url: string;
|
|
1358
|
+
name: string;
|
|
1359
|
+
object?: string | undefined;
|
|
1360
|
+
tags?: string[] | undefined;
|
|
1361
|
+
label?: string | undefined;
|
|
1362
|
+
description?: string | undefined;
|
|
1363
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
1364
|
+
headers?: Record<string, string> | undefined;
|
|
1365
|
+
authentication?: {
|
|
1366
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1367
|
+
credentials?: Record<string, string> | undefined;
|
|
1368
|
+
} | undefined;
|
|
1369
|
+
body?: any;
|
|
1370
|
+
secret?: string | undefined;
|
|
1371
|
+
timeoutMs?: number | undefined;
|
|
1372
|
+
retryPolicy?: {
|
|
1373
|
+
maxRetries?: number | undefined;
|
|
1374
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
1375
|
+
initialDelayMs?: number | undefined;
|
|
1376
|
+
maxDelayMs?: number | undefined;
|
|
1377
|
+
} | undefined;
|
|
1378
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1379
|
+
payloadFields?: string[] | undefined;
|
|
1380
|
+
includeSession?: boolean | undefined;
|
|
1381
|
+
isActive?: boolean | undefined;
|
|
1382
|
+
};
|
|
947
1383
|
} | {
|
|
948
1384
|
type: "task_creation";
|
|
949
1385
|
name: string;
|
|
950
|
-
taskObject: string;
|
|
951
1386
|
subject: string;
|
|
1387
|
+
taskObject: string;
|
|
952
1388
|
description?: string | undefined;
|
|
953
1389
|
priority?: string | undefined;
|
|
954
1390
|
assignedTo?: string | undefined;
|
|
@@ -958,8 +1394,8 @@ export declare const TimeTriggerSchema: z.ZodObject<{
|
|
|
958
1394
|
} | {
|
|
959
1395
|
type: "push_notification";
|
|
960
1396
|
name: string;
|
|
961
|
-
body: string;
|
|
962
1397
|
title: string;
|
|
1398
|
+
body: string;
|
|
963
1399
|
recipients: string[];
|
|
964
1400
|
data?: Record<string, any> | undefined;
|
|
965
1401
|
badge?: number | undefined;
|
|
@@ -1050,15 +1486,15 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1050
1486
|
}, "strip", z.ZodTypeAny, {
|
|
1051
1487
|
message: string;
|
|
1052
1488
|
type: "sms_notification";
|
|
1053
|
-
name: string;
|
|
1054
1489
|
provider: "twilio" | "vonage";
|
|
1490
|
+
name: string;
|
|
1055
1491
|
recipients: string[];
|
|
1056
1492
|
fromNumber?: string | undefined;
|
|
1057
1493
|
}, {
|
|
1058
1494
|
message: string;
|
|
1059
1495
|
type: "sms_notification";
|
|
1060
|
-
name: string;
|
|
1061
1496
|
provider: "twilio" | "vonage";
|
|
1497
|
+
name: string;
|
|
1062
1498
|
recipients: string[];
|
|
1063
1499
|
fromNumber?: string | undefined;
|
|
1064
1500
|
}>, z.ZodObject<{
|
|
@@ -1114,10 +1550,10 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1114
1550
|
type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
|
|
1115
1551
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1116
1552
|
}, "strip", z.ZodTypeAny, {
|
|
1117
|
-
type: "none" | "
|
|
1553
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1118
1554
|
credentials?: Record<string, string> | undefined;
|
|
1119
1555
|
}, {
|
|
1120
|
-
type: "none" | "
|
|
1556
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1121
1557
|
credentials?: Record<string, string> | undefined;
|
|
1122
1558
|
}>>;
|
|
1123
1559
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1125,53 +1561,184 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1125
1561
|
type: "http_call";
|
|
1126
1562
|
url: string;
|
|
1127
1563
|
name: string;
|
|
1128
|
-
method: "GET" | "POST" | "PUT" | "
|
|
1564
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1129
1565
|
headers?: Record<string, string> | undefined;
|
|
1130
1566
|
timeout?: number | undefined;
|
|
1131
|
-
body?: any;
|
|
1132
1567
|
authentication?: {
|
|
1133
|
-
type: "none" | "
|
|
1568
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1134
1569
|
credentials?: Record<string, string> | undefined;
|
|
1135
1570
|
} | undefined;
|
|
1571
|
+
body?: any;
|
|
1136
1572
|
}, {
|
|
1137
1573
|
type: "http_call";
|
|
1138
1574
|
url: string;
|
|
1139
1575
|
name: string;
|
|
1140
|
-
method: "GET" | "POST" | "PUT" | "
|
|
1576
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1141
1577
|
headers?: Record<string, string> | undefined;
|
|
1142
1578
|
timeout?: number | undefined;
|
|
1143
|
-
body?: any;
|
|
1144
1579
|
authentication?: {
|
|
1145
|
-
type: "none" | "
|
|
1580
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1146
1581
|
credentials?: Record<string, string> | undefined;
|
|
1147
1582
|
} | undefined;
|
|
1583
|
+
body?: any;
|
|
1148
1584
|
}>, z.ZodObject<{
|
|
1149
1585
|
name: z.ZodString;
|
|
1150
1586
|
type: z.ZodLiteral<"webhook_trigger">;
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1587
|
+
config: z.ZodObject<{
|
|
1588
|
+
name: z.ZodString;
|
|
1589
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1590
|
+
object: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
|
|
1592
|
+
url: z.ZodString;
|
|
1593
|
+
method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
|
|
1594
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1595
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
1596
|
+
payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1597
|
+
includeSession: z.ZodDefault<z.ZodBoolean>;
|
|
1598
|
+
authentication: z.ZodOptional<z.ZodObject<{
|
|
1599
|
+
type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
|
|
1600
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1601
|
+
}, "strip", z.ZodTypeAny, {
|
|
1602
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1603
|
+
credentials?: Record<string, string> | undefined;
|
|
1604
|
+
}, {
|
|
1605
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1606
|
+
credentials?: Record<string, string> | undefined;
|
|
1607
|
+
}>>;
|
|
1608
|
+
retryPolicy: z.ZodOptional<z.ZodObject<{
|
|
1609
|
+
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
1610
|
+
backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
|
|
1611
|
+
initialDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1612
|
+
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1613
|
+
}, "strip", z.ZodTypeAny, {
|
|
1614
|
+
maxRetries: number;
|
|
1615
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
1616
|
+
initialDelayMs: number;
|
|
1617
|
+
maxDelayMs: number;
|
|
1618
|
+
}, {
|
|
1619
|
+
maxRetries?: number | undefined;
|
|
1620
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
1621
|
+
initialDelayMs?: number | undefined;
|
|
1622
|
+
maxDelayMs?: number | undefined;
|
|
1623
|
+
}>>;
|
|
1624
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1625
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
1626
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
1627
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1628
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1629
|
+
}, "strip", z.ZodTypeAny, {
|
|
1630
|
+
url: string;
|
|
1631
|
+
name: string;
|
|
1632
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1633
|
+
timeoutMs: number;
|
|
1634
|
+
includeSession: boolean;
|
|
1635
|
+
isActive: boolean;
|
|
1636
|
+
object?: string | undefined;
|
|
1637
|
+
tags?: string[] | undefined;
|
|
1638
|
+
label?: string | undefined;
|
|
1639
|
+
description?: string | undefined;
|
|
1640
|
+
headers?: Record<string, string> | undefined;
|
|
1641
|
+
authentication?: {
|
|
1642
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1643
|
+
credentials?: Record<string, string> | undefined;
|
|
1644
|
+
} | undefined;
|
|
1645
|
+
body?: any;
|
|
1646
|
+
secret?: string | undefined;
|
|
1647
|
+
retryPolicy?: {
|
|
1648
|
+
maxRetries: number;
|
|
1649
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
1650
|
+
initialDelayMs: number;
|
|
1651
|
+
maxDelayMs: number;
|
|
1652
|
+
} | undefined;
|
|
1653
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1654
|
+
payloadFields?: string[] | undefined;
|
|
1655
|
+
}, {
|
|
1656
|
+
url: string;
|
|
1657
|
+
name: string;
|
|
1658
|
+
object?: string | undefined;
|
|
1659
|
+
tags?: string[] | undefined;
|
|
1660
|
+
label?: string | undefined;
|
|
1661
|
+
description?: string | undefined;
|
|
1662
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
1663
|
+
headers?: Record<string, string> | undefined;
|
|
1664
|
+
authentication?: {
|
|
1665
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1666
|
+
credentials?: Record<string, string> | undefined;
|
|
1667
|
+
} | undefined;
|
|
1668
|
+
body?: any;
|
|
1669
|
+
secret?: string | undefined;
|
|
1670
|
+
timeoutMs?: number | undefined;
|
|
1671
|
+
retryPolicy?: {
|
|
1672
|
+
maxRetries?: number | undefined;
|
|
1673
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
1674
|
+
initialDelayMs?: number | undefined;
|
|
1675
|
+
maxDelayMs?: number | undefined;
|
|
1676
|
+
} | undefined;
|
|
1677
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1678
|
+
payloadFields?: string[] | undefined;
|
|
1679
|
+
includeSession?: boolean | undefined;
|
|
1680
|
+
isActive?: boolean | undefined;
|
|
1681
|
+
}>;
|
|
1157
1682
|
}, "strip", z.ZodTypeAny, {
|
|
1158
1683
|
type: "webhook_trigger";
|
|
1159
|
-
url: string;
|
|
1160
1684
|
name: string;
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1685
|
+
config: {
|
|
1686
|
+
url: string;
|
|
1687
|
+
name: string;
|
|
1688
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1689
|
+
timeoutMs: number;
|
|
1690
|
+
includeSession: boolean;
|
|
1691
|
+
isActive: boolean;
|
|
1692
|
+
object?: string | undefined;
|
|
1693
|
+
tags?: string[] | undefined;
|
|
1694
|
+
label?: string | undefined;
|
|
1695
|
+
description?: string | undefined;
|
|
1696
|
+
headers?: Record<string, string> | undefined;
|
|
1697
|
+
authentication?: {
|
|
1698
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1699
|
+
credentials?: Record<string, string> | undefined;
|
|
1700
|
+
} | undefined;
|
|
1701
|
+
body?: any;
|
|
1702
|
+
secret?: string | undefined;
|
|
1703
|
+
retryPolicy?: {
|
|
1704
|
+
maxRetries: number;
|
|
1705
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
1706
|
+
initialDelayMs: number;
|
|
1707
|
+
maxDelayMs: number;
|
|
1708
|
+
} | undefined;
|
|
1709
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1710
|
+
payloadFields?: string[] | undefined;
|
|
1711
|
+
};
|
|
1166
1712
|
}, {
|
|
1167
1713
|
type: "webhook_trigger";
|
|
1168
|
-
url: string;
|
|
1169
1714
|
name: string;
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1715
|
+
config: {
|
|
1716
|
+
url: string;
|
|
1717
|
+
name: string;
|
|
1718
|
+
object?: string | undefined;
|
|
1719
|
+
tags?: string[] | undefined;
|
|
1720
|
+
label?: string | undefined;
|
|
1721
|
+
description?: string | undefined;
|
|
1722
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
1723
|
+
headers?: Record<string, string> | undefined;
|
|
1724
|
+
authentication?: {
|
|
1725
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1726
|
+
credentials?: Record<string, string> | undefined;
|
|
1727
|
+
} | undefined;
|
|
1728
|
+
body?: any;
|
|
1729
|
+
secret?: string | undefined;
|
|
1730
|
+
timeoutMs?: number | undefined;
|
|
1731
|
+
retryPolicy?: {
|
|
1732
|
+
maxRetries?: number | undefined;
|
|
1733
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
1734
|
+
initialDelayMs?: number | undefined;
|
|
1735
|
+
maxDelayMs?: number | undefined;
|
|
1736
|
+
} | undefined;
|
|
1737
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
1738
|
+
payloadFields?: string[] | undefined;
|
|
1739
|
+
includeSession?: boolean | undefined;
|
|
1740
|
+
isActive?: boolean | undefined;
|
|
1741
|
+
};
|
|
1175
1742
|
}>, z.ZodObject<{
|
|
1176
1743
|
name: z.ZodString;
|
|
1177
1744
|
type: z.ZodLiteral<"task_creation">;
|
|
@@ -1186,8 +1753,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1186
1753
|
}, "strip", z.ZodTypeAny, {
|
|
1187
1754
|
type: "task_creation";
|
|
1188
1755
|
name: string;
|
|
1189
|
-
taskObject: string;
|
|
1190
1756
|
subject: string;
|
|
1757
|
+
taskObject: string;
|
|
1191
1758
|
description?: string | undefined;
|
|
1192
1759
|
priority?: string | undefined;
|
|
1193
1760
|
assignedTo?: string | undefined;
|
|
@@ -1197,8 +1764,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1197
1764
|
}, {
|
|
1198
1765
|
type: "task_creation";
|
|
1199
1766
|
name: string;
|
|
1200
|
-
taskObject: string;
|
|
1201
1767
|
subject: string;
|
|
1768
|
+
taskObject: string;
|
|
1202
1769
|
description?: string | undefined;
|
|
1203
1770
|
priority?: string | undefined;
|
|
1204
1771
|
assignedTo?: string | undefined;
|
|
@@ -1218,8 +1785,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1218
1785
|
}, "strip", z.ZodTypeAny, {
|
|
1219
1786
|
type: "push_notification";
|
|
1220
1787
|
name: string;
|
|
1221
|
-
body: string;
|
|
1222
1788
|
title: string;
|
|
1789
|
+
body: string;
|
|
1223
1790
|
recipients: string[];
|
|
1224
1791
|
data?: Record<string, any> | undefined;
|
|
1225
1792
|
badge?: number | undefined;
|
|
@@ -1228,8 +1795,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1228
1795
|
}, {
|
|
1229
1796
|
type: "push_notification";
|
|
1230
1797
|
name: string;
|
|
1231
|
-
body: string;
|
|
1232
1798
|
title: string;
|
|
1799
|
+
body: string;
|
|
1233
1800
|
recipients: string[];
|
|
1234
1801
|
data?: Record<string, any> | undefined;
|
|
1235
1802
|
badge?: number | undefined;
|
|
@@ -1245,8 +1812,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1245
1812
|
}, "strip", z.ZodTypeAny, {
|
|
1246
1813
|
code: string;
|
|
1247
1814
|
type: "custom_script";
|
|
1248
|
-
name: string;
|
|
1249
1815
|
language: "javascript" | "typescript" | "python";
|
|
1816
|
+
name: string;
|
|
1250
1817
|
timeout: number;
|
|
1251
1818
|
context?: Record<string, any> | undefined;
|
|
1252
1819
|
}, {
|
|
@@ -1311,15 +1878,15 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1311
1878
|
}, "strip", z.ZodTypeAny, {
|
|
1312
1879
|
message: string;
|
|
1313
1880
|
type: "sms_notification";
|
|
1314
|
-
name: string;
|
|
1315
1881
|
provider: "twilio" | "vonage";
|
|
1882
|
+
name: string;
|
|
1316
1883
|
recipients: string[];
|
|
1317
1884
|
fromNumber?: string | undefined;
|
|
1318
1885
|
}, {
|
|
1319
1886
|
message: string;
|
|
1320
1887
|
type: "sms_notification";
|
|
1321
|
-
name: string;
|
|
1322
1888
|
provider: "twilio" | "vonage";
|
|
1889
|
+
name: string;
|
|
1323
1890
|
recipients: string[];
|
|
1324
1891
|
fromNumber?: string | undefined;
|
|
1325
1892
|
}>, z.ZodObject<{
|
|
@@ -1375,10 +1942,10 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1375
1942
|
type: z.ZodEnum<["none", "basic", "bearer", "api_key", "oauth2"]>;
|
|
1376
1943
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1377
1944
|
}, "strip", z.ZodTypeAny, {
|
|
1378
|
-
type: "none" | "
|
|
1945
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1379
1946
|
credentials?: Record<string, string> | undefined;
|
|
1380
1947
|
}, {
|
|
1381
|
-
type: "none" | "
|
|
1948
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1382
1949
|
credentials?: Record<string, string> | undefined;
|
|
1383
1950
|
}>>;
|
|
1384
1951
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1386,53 +1953,184 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1386
1953
|
type: "http_call";
|
|
1387
1954
|
url: string;
|
|
1388
1955
|
name: string;
|
|
1389
|
-
method: "GET" | "POST" | "PUT" | "
|
|
1956
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1390
1957
|
headers?: Record<string, string> | undefined;
|
|
1391
1958
|
timeout?: number | undefined;
|
|
1392
|
-
body?: any;
|
|
1393
1959
|
authentication?: {
|
|
1394
|
-
type: "none" | "
|
|
1960
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1395
1961
|
credentials?: Record<string, string> | undefined;
|
|
1396
1962
|
} | undefined;
|
|
1963
|
+
body?: any;
|
|
1397
1964
|
}, {
|
|
1398
1965
|
type: "http_call";
|
|
1399
1966
|
url: string;
|
|
1400
1967
|
name: string;
|
|
1401
|
-
method: "GET" | "POST" | "PUT" | "
|
|
1968
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1402
1969
|
headers?: Record<string, string> | undefined;
|
|
1403
1970
|
timeout?: number | undefined;
|
|
1404
|
-
body?: any;
|
|
1405
1971
|
authentication?: {
|
|
1406
|
-
type: "none" | "
|
|
1972
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1407
1973
|
credentials?: Record<string, string> | undefined;
|
|
1408
1974
|
} | undefined;
|
|
1975
|
+
body?: any;
|
|
1409
1976
|
}>, z.ZodObject<{
|
|
1410
1977
|
name: z.ZodString;
|
|
1411
1978
|
type: z.ZodLiteral<"webhook_trigger">;
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1979
|
+
config: z.ZodObject<{
|
|
1980
|
+
name: z.ZodString;
|
|
1981
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1982
|
+
object: z.ZodOptional<z.ZodString>;
|
|
1983
|
+
triggers: z.ZodOptional<z.ZodArray<z.ZodEnum<["create", "update", "delete", "undelete", "api"]>, "many">>;
|
|
1984
|
+
url: z.ZodString;
|
|
1985
|
+
method: z.ZodDefault<z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>>;
|
|
1986
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1987
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
1988
|
+
payloadFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1989
|
+
includeSession: z.ZodDefault<z.ZodBoolean>;
|
|
1990
|
+
authentication: z.ZodOptional<z.ZodObject<{
|
|
1991
|
+
type: z.ZodEnum<["none", "bearer", "basic", "api-key"]>;
|
|
1992
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1993
|
+
}, "strip", z.ZodTypeAny, {
|
|
1994
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1995
|
+
credentials?: Record<string, string> | undefined;
|
|
1996
|
+
}, {
|
|
1997
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
1998
|
+
credentials?: Record<string, string> | undefined;
|
|
1999
|
+
}>>;
|
|
2000
|
+
retryPolicy: z.ZodOptional<z.ZodObject<{
|
|
2001
|
+
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
2002
|
+
backoffStrategy: z.ZodDefault<z.ZodEnum<["exponential", "linear", "fixed"]>>;
|
|
2003
|
+
initialDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
2004
|
+
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
2005
|
+
}, "strip", z.ZodTypeAny, {
|
|
2006
|
+
maxRetries: number;
|
|
2007
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
2008
|
+
initialDelayMs: number;
|
|
2009
|
+
maxDelayMs: number;
|
|
2010
|
+
}, {
|
|
2011
|
+
maxRetries?: number | undefined;
|
|
2012
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
2013
|
+
initialDelayMs?: number | undefined;
|
|
2014
|
+
maxDelayMs?: number | undefined;
|
|
2015
|
+
}>>;
|
|
2016
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
2017
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
2018
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
2019
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2020
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2021
|
+
}, "strip", z.ZodTypeAny, {
|
|
2022
|
+
url: string;
|
|
2023
|
+
name: string;
|
|
2024
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2025
|
+
timeoutMs: number;
|
|
2026
|
+
includeSession: boolean;
|
|
2027
|
+
isActive: boolean;
|
|
2028
|
+
object?: string | undefined;
|
|
2029
|
+
tags?: string[] | undefined;
|
|
2030
|
+
label?: string | undefined;
|
|
2031
|
+
description?: string | undefined;
|
|
2032
|
+
headers?: Record<string, string> | undefined;
|
|
2033
|
+
authentication?: {
|
|
2034
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2035
|
+
credentials?: Record<string, string> | undefined;
|
|
2036
|
+
} | undefined;
|
|
2037
|
+
body?: any;
|
|
2038
|
+
secret?: string | undefined;
|
|
2039
|
+
retryPolicy?: {
|
|
2040
|
+
maxRetries: number;
|
|
2041
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
2042
|
+
initialDelayMs: number;
|
|
2043
|
+
maxDelayMs: number;
|
|
2044
|
+
} | undefined;
|
|
2045
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2046
|
+
payloadFields?: string[] | undefined;
|
|
2047
|
+
}, {
|
|
2048
|
+
url: string;
|
|
2049
|
+
name: string;
|
|
2050
|
+
object?: string | undefined;
|
|
2051
|
+
tags?: string[] | undefined;
|
|
2052
|
+
label?: string | undefined;
|
|
2053
|
+
description?: string | undefined;
|
|
2054
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
2055
|
+
headers?: Record<string, string> | undefined;
|
|
2056
|
+
authentication?: {
|
|
2057
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2058
|
+
credentials?: Record<string, string> | undefined;
|
|
2059
|
+
} | undefined;
|
|
2060
|
+
body?: any;
|
|
2061
|
+
secret?: string | undefined;
|
|
2062
|
+
timeoutMs?: number | undefined;
|
|
2063
|
+
retryPolicy?: {
|
|
2064
|
+
maxRetries?: number | undefined;
|
|
2065
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
2066
|
+
initialDelayMs?: number | undefined;
|
|
2067
|
+
maxDelayMs?: number | undefined;
|
|
2068
|
+
} | undefined;
|
|
2069
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2070
|
+
payloadFields?: string[] | undefined;
|
|
2071
|
+
includeSession?: boolean | undefined;
|
|
2072
|
+
isActive?: boolean | undefined;
|
|
2073
|
+
}>;
|
|
1418
2074
|
}, "strip", z.ZodTypeAny, {
|
|
1419
2075
|
type: "webhook_trigger";
|
|
1420
|
-
url: string;
|
|
1421
2076
|
name: string;
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
2077
|
+
config: {
|
|
2078
|
+
url: string;
|
|
2079
|
+
name: string;
|
|
2080
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2081
|
+
timeoutMs: number;
|
|
2082
|
+
includeSession: boolean;
|
|
2083
|
+
isActive: boolean;
|
|
2084
|
+
object?: string | undefined;
|
|
2085
|
+
tags?: string[] | undefined;
|
|
2086
|
+
label?: string | undefined;
|
|
2087
|
+
description?: string | undefined;
|
|
2088
|
+
headers?: Record<string, string> | undefined;
|
|
2089
|
+
authentication?: {
|
|
2090
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2091
|
+
credentials?: Record<string, string> | undefined;
|
|
2092
|
+
} | undefined;
|
|
2093
|
+
body?: any;
|
|
2094
|
+
secret?: string | undefined;
|
|
2095
|
+
retryPolicy?: {
|
|
2096
|
+
maxRetries: number;
|
|
2097
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
2098
|
+
initialDelayMs: number;
|
|
2099
|
+
maxDelayMs: number;
|
|
2100
|
+
} | undefined;
|
|
2101
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2102
|
+
payloadFields?: string[] | undefined;
|
|
2103
|
+
};
|
|
1427
2104
|
}, {
|
|
1428
2105
|
type: "webhook_trigger";
|
|
1429
|
-
url: string;
|
|
1430
2106
|
name: string;
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
2107
|
+
config: {
|
|
2108
|
+
url: string;
|
|
2109
|
+
name: string;
|
|
2110
|
+
object?: string | undefined;
|
|
2111
|
+
tags?: string[] | undefined;
|
|
2112
|
+
label?: string | undefined;
|
|
2113
|
+
description?: string | undefined;
|
|
2114
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
2115
|
+
headers?: Record<string, string> | undefined;
|
|
2116
|
+
authentication?: {
|
|
2117
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2118
|
+
credentials?: Record<string, string> | undefined;
|
|
2119
|
+
} | undefined;
|
|
2120
|
+
body?: any;
|
|
2121
|
+
secret?: string | undefined;
|
|
2122
|
+
timeoutMs?: number | undefined;
|
|
2123
|
+
retryPolicy?: {
|
|
2124
|
+
maxRetries?: number | undefined;
|
|
2125
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
2126
|
+
initialDelayMs?: number | undefined;
|
|
2127
|
+
maxDelayMs?: number | undefined;
|
|
2128
|
+
} | undefined;
|
|
2129
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2130
|
+
payloadFields?: string[] | undefined;
|
|
2131
|
+
includeSession?: boolean | undefined;
|
|
2132
|
+
isActive?: boolean | undefined;
|
|
2133
|
+
};
|
|
1436
2134
|
}>, z.ZodObject<{
|
|
1437
2135
|
name: z.ZodString;
|
|
1438
2136
|
type: z.ZodLiteral<"task_creation">;
|
|
@@ -1447,8 +2145,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1447
2145
|
}, "strip", z.ZodTypeAny, {
|
|
1448
2146
|
type: "task_creation";
|
|
1449
2147
|
name: string;
|
|
1450
|
-
taskObject: string;
|
|
1451
2148
|
subject: string;
|
|
2149
|
+
taskObject: string;
|
|
1452
2150
|
description?: string | undefined;
|
|
1453
2151
|
priority?: string | undefined;
|
|
1454
2152
|
assignedTo?: string | undefined;
|
|
@@ -1458,8 +2156,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1458
2156
|
}, {
|
|
1459
2157
|
type: "task_creation";
|
|
1460
2158
|
name: string;
|
|
1461
|
-
taskObject: string;
|
|
1462
2159
|
subject: string;
|
|
2160
|
+
taskObject: string;
|
|
1463
2161
|
description?: string | undefined;
|
|
1464
2162
|
priority?: string | undefined;
|
|
1465
2163
|
assignedTo?: string | undefined;
|
|
@@ -1479,8 +2177,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1479
2177
|
}, "strip", z.ZodTypeAny, {
|
|
1480
2178
|
type: "push_notification";
|
|
1481
2179
|
name: string;
|
|
1482
|
-
body: string;
|
|
1483
2180
|
title: string;
|
|
2181
|
+
body: string;
|
|
1484
2182
|
recipients: string[];
|
|
1485
2183
|
data?: Record<string, any> | undefined;
|
|
1486
2184
|
badge?: number | undefined;
|
|
@@ -1489,8 +2187,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1489
2187
|
}, {
|
|
1490
2188
|
type: "push_notification";
|
|
1491
2189
|
name: string;
|
|
1492
|
-
body: string;
|
|
1493
2190
|
title: string;
|
|
2191
|
+
body: string;
|
|
1494
2192
|
recipients: string[];
|
|
1495
2193
|
data?: Record<string, any> | undefined;
|
|
1496
2194
|
badge?: number | undefined;
|
|
@@ -1506,8 +2204,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1506
2204
|
}, "strip", z.ZodTypeAny, {
|
|
1507
2205
|
code: string;
|
|
1508
2206
|
type: "custom_script";
|
|
1509
|
-
name: string;
|
|
1510
2207
|
language: "javascript" | "typescript" | "python";
|
|
2208
|
+
name: string;
|
|
1511
2209
|
timeout: number;
|
|
1512
2210
|
context?: Record<string, any> | undefined;
|
|
1513
2211
|
}, {
|
|
@@ -1532,8 +2230,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1532
2230
|
} | {
|
|
1533
2231
|
message: string;
|
|
1534
2232
|
type: "sms_notification";
|
|
1535
|
-
name: string;
|
|
1536
2233
|
provider: "twilio" | "vonage";
|
|
2234
|
+
name: string;
|
|
1537
2235
|
recipients: string[];
|
|
1538
2236
|
fromNumber?: string | undefined;
|
|
1539
2237
|
} | {
|
|
@@ -1554,28 +2252,49 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1554
2252
|
type: "http_call";
|
|
1555
2253
|
url: string;
|
|
1556
2254
|
name: string;
|
|
1557
|
-
method: "GET" | "POST" | "PUT" | "
|
|
2255
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1558
2256
|
headers?: Record<string, string> | undefined;
|
|
1559
2257
|
timeout?: number | undefined;
|
|
1560
|
-
body?: any;
|
|
1561
2258
|
authentication?: {
|
|
1562
|
-
type: "none" | "
|
|
2259
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1563
2260
|
credentials?: Record<string, string> | undefined;
|
|
1564
2261
|
} | undefined;
|
|
2262
|
+
body?: any;
|
|
1565
2263
|
} | {
|
|
1566
2264
|
type: "webhook_trigger";
|
|
1567
|
-
url: string;
|
|
1568
2265
|
name: string;
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
2266
|
+
config: {
|
|
2267
|
+
url: string;
|
|
2268
|
+
name: string;
|
|
2269
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2270
|
+
timeoutMs: number;
|
|
2271
|
+
includeSession: boolean;
|
|
2272
|
+
isActive: boolean;
|
|
2273
|
+
object?: string | undefined;
|
|
2274
|
+
tags?: string[] | undefined;
|
|
2275
|
+
label?: string | undefined;
|
|
2276
|
+
description?: string | undefined;
|
|
2277
|
+
headers?: Record<string, string> | undefined;
|
|
2278
|
+
authentication?: {
|
|
2279
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2280
|
+
credentials?: Record<string, string> | undefined;
|
|
2281
|
+
} | undefined;
|
|
2282
|
+
body?: any;
|
|
2283
|
+
secret?: string | undefined;
|
|
2284
|
+
retryPolicy?: {
|
|
2285
|
+
maxRetries: number;
|
|
2286
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
2287
|
+
initialDelayMs: number;
|
|
2288
|
+
maxDelayMs: number;
|
|
2289
|
+
} | undefined;
|
|
2290
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2291
|
+
payloadFields?: string[] | undefined;
|
|
2292
|
+
};
|
|
1574
2293
|
} | {
|
|
1575
2294
|
type: "task_creation";
|
|
1576
2295
|
name: string;
|
|
1577
|
-
taskObject: string;
|
|
1578
2296
|
subject: string;
|
|
2297
|
+
taskObject: string;
|
|
1579
2298
|
description?: string | undefined;
|
|
1580
2299
|
priority?: string | undefined;
|
|
1581
2300
|
assignedTo?: string | undefined;
|
|
@@ -1585,8 +2304,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1585
2304
|
} | {
|
|
1586
2305
|
type: "push_notification";
|
|
1587
2306
|
name: string;
|
|
1588
|
-
body: string;
|
|
1589
2307
|
title: string;
|
|
2308
|
+
body: string;
|
|
1590
2309
|
recipients: string[];
|
|
1591
2310
|
data?: Record<string, any> | undefined;
|
|
1592
2311
|
badge?: number | undefined;
|
|
@@ -1595,8 +2314,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1595
2314
|
} | {
|
|
1596
2315
|
code: string;
|
|
1597
2316
|
type: "custom_script";
|
|
1598
|
-
name: string;
|
|
1599
2317
|
language: "javascript" | "typescript" | "python";
|
|
2318
|
+
name: string;
|
|
1600
2319
|
timeout: number;
|
|
1601
2320
|
context?: Record<string, any> | undefined;
|
|
1602
2321
|
})[];
|
|
@@ -1620,8 +2339,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1620
2339
|
} | {
|
|
1621
2340
|
message: string;
|
|
1622
2341
|
type: "sms_notification";
|
|
1623
|
-
name: string;
|
|
1624
2342
|
provider: "twilio" | "vonage";
|
|
2343
|
+
name: string;
|
|
1625
2344
|
recipients: string[];
|
|
1626
2345
|
fromNumber?: string | undefined;
|
|
1627
2346
|
} | {
|
|
@@ -1642,28 +2361,49 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1642
2361
|
type: "http_call";
|
|
1643
2362
|
url: string;
|
|
1644
2363
|
name: string;
|
|
1645
|
-
method: "GET" | "POST" | "PUT" | "
|
|
2364
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1646
2365
|
headers?: Record<string, string> | undefined;
|
|
1647
2366
|
timeout?: number | undefined;
|
|
1648
|
-
body?: any;
|
|
1649
2367
|
authentication?: {
|
|
1650
|
-
type: "none" | "
|
|
2368
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1651
2369
|
credentials?: Record<string, string> | undefined;
|
|
1652
2370
|
} | undefined;
|
|
2371
|
+
body?: any;
|
|
1653
2372
|
} | {
|
|
1654
2373
|
type: "webhook_trigger";
|
|
1655
|
-
url: string;
|
|
1656
2374
|
name: string;
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
2375
|
+
config: {
|
|
2376
|
+
url: string;
|
|
2377
|
+
name: string;
|
|
2378
|
+
object?: string | undefined;
|
|
2379
|
+
tags?: string[] | undefined;
|
|
2380
|
+
label?: string | undefined;
|
|
2381
|
+
description?: string | undefined;
|
|
2382
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
2383
|
+
headers?: Record<string, string> | undefined;
|
|
2384
|
+
authentication?: {
|
|
2385
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2386
|
+
credentials?: Record<string, string> | undefined;
|
|
2387
|
+
} | undefined;
|
|
2388
|
+
body?: any;
|
|
2389
|
+
secret?: string | undefined;
|
|
2390
|
+
timeoutMs?: number | undefined;
|
|
2391
|
+
retryPolicy?: {
|
|
2392
|
+
maxRetries?: number | undefined;
|
|
2393
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
2394
|
+
initialDelayMs?: number | undefined;
|
|
2395
|
+
maxDelayMs?: number | undefined;
|
|
2396
|
+
} | undefined;
|
|
2397
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2398
|
+
payloadFields?: string[] | undefined;
|
|
2399
|
+
includeSession?: boolean | undefined;
|
|
2400
|
+
isActive?: boolean | undefined;
|
|
2401
|
+
};
|
|
1662
2402
|
} | {
|
|
1663
2403
|
type: "task_creation";
|
|
1664
2404
|
name: string;
|
|
1665
|
-
taskObject: string;
|
|
1666
2405
|
subject: string;
|
|
2406
|
+
taskObject: string;
|
|
1667
2407
|
description?: string | undefined;
|
|
1668
2408
|
priority?: string | undefined;
|
|
1669
2409
|
assignedTo?: string | undefined;
|
|
@@ -1673,8 +2413,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1673
2413
|
} | {
|
|
1674
2414
|
type: "push_notification";
|
|
1675
2415
|
name: string;
|
|
1676
|
-
body: string;
|
|
1677
2416
|
title: string;
|
|
2417
|
+
body: string;
|
|
1678
2418
|
recipients: string[];
|
|
1679
2419
|
data?: Record<string, any> | undefined;
|
|
1680
2420
|
badge?: number | undefined;
|
|
@@ -1719,8 +2459,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1719
2459
|
} | {
|
|
1720
2460
|
message: string;
|
|
1721
2461
|
type: "sms_notification";
|
|
1722
|
-
name: string;
|
|
1723
2462
|
provider: "twilio" | "vonage";
|
|
2463
|
+
name: string;
|
|
1724
2464
|
recipients: string[];
|
|
1725
2465
|
fromNumber?: string | undefined;
|
|
1726
2466
|
} | {
|
|
@@ -1741,28 +2481,49 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1741
2481
|
type: "http_call";
|
|
1742
2482
|
url: string;
|
|
1743
2483
|
name: string;
|
|
1744
|
-
method: "GET" | "POST" | "PUT" | "
|
|
2484
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1745
2485
|
headers?: Record<string, string> | undefined;
|
|
1746
2486
|
timeout?: number | undefined;
|
|
1747
|
-
body?: any;
|
|
1748
2487
|
authentication?: {
|
|
1749
|
-
type: "none" | "
|
|
2488
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1750
2489
|
credentials?: Record<string, string> | undefined;
|
|
1751
2490
|
} | undefined;
|
|
2491
|
+
body?: any;
|
|
1752
2492
|
} | {
|
|
1753
2493
|
type: "webhook_trigger";
|
|
1754
|
-
url: string;
|
|
1755
2494
|
name: string;
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
2495
|
+
config: {
|
|
2496
|
+
url: string;
|
|
2497
|
+
name: string;
|
|
2498
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2499
|
+
timeoutMs: number;
|
|
2500
|
+
includeSession: boolean;
|
|
2501
|
+
isActive: boolean;
|
|
2502
|
+
object?: string | undefined;
|
|
2503
|
+
tags?: string[] | undefined;
|
|
2504
|
+
label?: string | undefined;
|
|
2505
|
+
description?: string | undefined;
|
|
2506
|
+
headers?: Record<string, string> | undefined;
|
|
2507
|
+
authentication?: {
|
|
2508
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2509
|
+
credentials?: Record<string, string> | undefined;
|
|
2510
|
+
} | undefined;
|
|
2511
|
+
body?: any;
|
|
2512
|
+
secret?: string | undefined;
|
|
2513
|
+
retryPolicy?: {
|
|
2514
|
+
maxRetries: number;
|
|
2515
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
2516
|
+
initialDelayMs: number;
|
|
2517
|
+
maxDelayMs: number;
|
|
2518
|
+
} | undefined;
|
|
2519
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2520
|
+
payloadFields?: string[] | undefined;
|
|
2521
|
+
};
|
|
1761
2522
|
} | {
|
|
1762
2523
|
type: "task_creation";
|
|
1763
2524
|
name: string;
|
|
1764
|
-
taskObject: string;
|
|
1765
2525
|
subject: string;
|
|
2526
|
+
taskObject: string;
|
|
1766
2527
|
description?: string | undefined;
|
|
1767
2528
|
priority?: string | undefined;
|
|
1768
2529
|
assignedTo?: string | undefined;
|
|
@@ -1772,8 +2533,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1772
2533
|
} | {
|
|
1773
2534
|
type: "push_notification";
|
|
1774
2535
|
name: string;
|
|
1775
|
-
body: string;
|
|
1776
2536
|
title: string;
|
|
2537
|
+
body: string;
|
|
1777
2538
|
recipients: string[];
|
|
1778
2539
|
data?: Record<string, any> | undefined;
|
|
1779
2540
|
badge?: number | undefined;
|
|
@@ -1782,8 +2543,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1782
2543
|
} | {
|
|
1783
2544
|
code: string;
|
|
1784
2545
|
type: "custom_script";
|
|
1785
|
-
name: string;
|
|
1786
2546
|
language: "javascript" | "typescript" | "python";
|
|
2547
|
+
name: string;
|
|
1787
2548
|
timeout: number;
|
|
1788
2549
|
context?: Record<string, any> | undefined;
|
|
1789
2550
|
})[] | undefined;
|
|
@@ -1801,8 +2562,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1801
2562
|
} | {
|
|
1802
2563
|
message: string;
|
|
1803
2564
|
type: "sms_notification";
|
|
1804
|
-
name: string;
|
|
1805
2565
|
provider: "twilio" | "vonage";
|
|
2566
|
+
name: string;
|
|
1806
2567
|
recipients: string[];
|
|
1807
2568
|
fromNumber?: string | undefined;
|
|
1808
2569
|
} | {
|
|
@@ -1823,28 +2584,49 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1823
2584
|
type: "http_call";
|
|
1824
2585
|
url: string;
|
|
1825
2586
|
name: string;
|
|
1826
|
-
method: "GET" | "POST" | "PUT" | "
|
|
2587
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1827
2588
|
headers?: Record<string, string> | undefined;
|
|
1828
2589
|
timeout?: number | undefined;
|
|
1829
|
-
body?: any;
|
|
1830
2590
|
authentication?: {
|
|
1831
|
-
type: "none" | "
|
|
2591
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1832
2592
|
credentials?: Record<string, string> | undefined;
|
|
1833
2593
|
} | undefined;
|
|
2594
|
+
body?: any;
|
|
1834
2595
|
} | {
|
|
1835
2596
|
type: "webhook_trigger";
|
|
1836
|
-
url: string;
|
|
1837
2597
|
name: string;
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
2598
|
+
config: {
|
|
2599
|
+
url: string;
|
|
2600
|
+
name: string;
|
|
2601
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2602
|
+
timeoutMs: number;
|
|
2603
|
+
includeSession: boolean;
|
|
2604
|
+
isActive: boolean;
|
|
2605
|
+
object?: string | undefined;
|
|
2606
|
+
tags?: string[] | undefined;
|
|
2607
|
+
label?: string | undefined;
|
|
2608
|
+
description?: string | undefined;
|
|
2609
|
+
headers?: Record<string, string> | undefined;
|
|
2610
|
+
authentication?: {
|
|
2611
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2612
|
+
credentials?: Record<string, string> | undefined;
|
|
2613
|
+
} | undefined;
|
|
2614
|
+
body?: any;
|
|
2615
|
+
secret?: string | undefined;
|
|
2616
|
+
retryPolicy?: {
|
|
2617
|
+
maxRetries: number;
|
|
2618
|
+
backoffStrategy: "fixed" | "linear" | "exponential";
|
|
2619
|
+
initialDelayMs: number;
|
|
2620
|
+
maxDelayMs: number;
|
|
2621
|
+
} | undefined;
|
|
2622
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2623
|
+
payloadFields?: string[] | undefined;
|
|
2624
|
+
};
|
|
1843
2625
|
} | {
|
|
1844
2626
|
type: "task_creation";
|
|
1845
2627
|
name: string;
|
|
1846
|
-
taskObject: string;
|
|
1847
2628
|
subject: string;
|
|
2629
|
+
taskObject: string;
|
|
1848
2630
|
description?: string | undefined;
|
|
1849
2631
|
priority?: string | undefined;
|
|
1850
2632
|
assignedTo?: string | undefined;
|
|
@@ -1854,8 +2636,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1854
2636
|
} | {
|
|
1855
2637
|
type: "push_notification";
|
|
1856
2638
|
name: string;
|
|
1857
|
-
body: string;
|
|
1858
2639
|
title: string;
|
|
2640
|
+
body: string;
|
|
1859
2641
|
recipients: string[];
|
|
1860
2642
|
data?: Record<string, any> | undefined;
|
|
1861
2643
|
badge?: number | undefined;
|
|
@@ -1864,8 +2646,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1864
2646
|
} | {
|
|
1865
2647
|
code: string;
|
|
1866
2648
|
type: "custom_script";
|
|
1867
|
-
name: string;
|
|
1868
2649
|
language: "javascript" | "typescript" | "python";
|
|
2650
|
+
name: string;
|
|
1869
2651
|
timeout: number;
|
|
1870
2652
|
context?: Record<string, any> | undefined;
|
|
1871
2653
|
})[];
|
|
@@ -1895,8 +2677,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1895
2677
|
} | {
|
|
1896
2678
|
message: string;
|
|
1897
2679
|
type: "sms_notification";
|
|
1898
|
-
name: string;
|
|
1899
2680
|
provider: "twilio" | "vonage";
|
|
2681
|
+
name: string;
|
|
1900
2682
|
recipients: string[];
|
|
1901
2683
|
fromNumber?: string | undefined;
|
|
1902
2684
|
} | {
|
|
@@ -1917,28 +2699,49 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1917
2699
|
type: "http_call";
|
|
1918
2700
|
url: string;
|
|
1919
2701
|
name: string;
|
|
1920
|
-
method: "GET" | "POST" | "PUT" | "
|
|
2702
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1921
2703
|
headers?: Record<string, string> | undefined;
|
|
1922
2704
|
timeout?: number | undefined;
|
|
1923
|
-
body?: any;
|
|
1924
2705
|
authentication?: {
|
|
1925
|
-
type: "none" | "
|
|
2706
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
1926
2707
|
credentials?: Record<string, string> | undefined;
|
|
1927
2708
|
} | undefined;
|
|
2709
|
+
body?: any;
|
|
1928
2710
|
} | {
|
|
1929
2711
|
type: "webhook_trigger";
|
|
1930
|
-
url: string;
|
|
1931
2712
|
name: string;
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
2713
|
+
config: {
|
|
2714
|
+
url: string;
|
|
2715
|
+
name: string;
|
|
2716
|
+
object?: string | undefined;
|
|
2717
|
+
tags?: string[] | undefined;
|
|
2718
|
+
label?: string | undefined;
|
|
2719
|
+
description?: string | undefined;
|
|
2720
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
2721
|
+
headers?: Record<string, string> | undefined;
|
|
2722
|
+
authentication?: {
|
|
2723
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2724
|
+
credentials?: Record<string, string> | undefined;
|
|
2725
|
+
} | undefined;
|
|
2726
|
+
body?: any;
|
|
2727
|
+
secret?: string | undefined;
|
|
2728
|
+
timeoutMs?: number | undefined;
|
|
2729
|
+
retryPolicy?: {
|
|
2730
|
+
maxRetries?: number | undefined;
|
|
2731
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
2732
|
+
initialDelayMs?: number | undefined;
|
|
2733
|
+
maxDelayMs?: number | undefined;
|
|
2734
|
+
} | undefined;
|
|
2735
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2736
|
+
payloadFields?: string[] | undefined;
|
|
2737
|
+
includeSession?: boolean | undefined;
|
|
2738
|
+
isActive?: boolean | undefined;
|
|
2739
|
+
};
|
|
1937
2740
|
} | {
|
|
1938
2741
|
type: "task_creation";
|
|
1939
2742
|
name: string;
|
|
1940
|
-
taskObject: string;
|
|
1941
2743
|
subject: string;
|
|
2744
|
+
taskObject: string;
|
|
1942
2745
|
description?: string | undefined;
|
|
1943
2746
|
priority?: string | undefined;
|
|
1944
2747
|
assignedTo?: string | undefined;
|
|
@@ -1948,8 +2751,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1948
2751
|
} | {
|
|
1949
2752
|
type: "push_notification";
|
|
1950
2753
|
name: string;
|
|
1951
|
-
body: string;
|
|
1952
2754
|
title: string;
|
|
2755
|
+
body: string;
|
|
1953
2756
|
recipients: string[];
|
|
1954
2757
|
data?: Record<string, any> | undefined;
|
|
1955
2758
|
badge?: number | undefined;
|
|
@@ -1977,8 +2780,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1977
2780
|
} | {
|
|
1978
2781
|
message: string;
|
|
1979
2782
|
type: "sms_notification";
|
|
1980
|
-
name: string;
|
|
1981
2783
|
provider: "twilio" | "vonage";
|
|
2784
|
+
name: string;
|
|
1982
2785
|
recipients: string[];
|
|
1983
2786
|
fromNumber?: string | undefined;
|
|
1984
2787
|
} | {
|
|
@@ -1999,28 +2802,49 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
1999
2802
|
type: "http_call";
|
|
2000
2803
|
url: string;
|
|
2001
2804
|
name: string;
|
|
2002
|
-
method: "GET" | "POST" | "PUT" | "
|
|
2805
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2003
2806
|
headers?: Record<string, string> | undefined;
|
|
2004
2807
|
timeout?: number | undefined;
|
|
2005
|
-
body?: any;
|
|
2006
2808
|
authentication?: {
|
|
2007
|
-
type: "none" | "
|
|
2809
|
+
type: "none" | "oauth2" | "basic" | "bearer" | "api_key";
|
|
2008
2810
|
credentials?: Record<string, string> | undefined;
|
|
2009
2811
|
} | undefined;
|
|
2812
|
+
body?: any;
|
|
2010
2813
|
} | {
|
|
2011
2814
|
type: "webhook_trigger";
|
|
2012
|
-
url: string;
|
|
2013
2815
|
name: string;
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2816
|
+
config: {
|
|
2817
|
+
url: string;
|
|
2818
|
+
name: string;
|
|
2819
|
+
object?: string | undefined;
|
|
2820
|
+
tags?: string[] | undefined;
|
|
2821
|
+
label?: string | undefined;
|
|
2822
|
+
description?: string | undefined;
|
|
2823
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH" | undefined;
|
|
2824
|
+
headers?: Record<string, string> | undefined;
|
|
2825
|
+
authentication?: {
|
|
2826
|
+
type: "none" | "api-key" | "basic" | "bearer";
|
|
2827
|
+
credentials?: Record<string, string> | undefined;
|
|
2828
|
+
} | undefined;
|
|
2829
|
+
body?: any;
|
|
2830
|
+
secret?: string | undefined;
|
|
2831
|
+
timeoutMs?: number | undefined;
|
|
2832
|
+
retryPolicy?: {
|
|
2833
|
+
maxRetries?: number | undefined;
|
|
2834
|
+
backoffStrategy?: "fixed" | "linear" | "exponential" | undefined;
|
|
2835
|
+
initialDelayMs?: number | undefined;
|
|
2836
|
+
maxDelayMs?: number | undefined;
|
|
2837
|
+
} | undefined;
|
|
2838
|
+
triggers?: ("update" | "delete" | "create" | "api" | "undelete")[] | undefined;
|
|
2839
|
+
payloadFields?: string[] | undefined;
|
|
2840
|
+
includeSession?: boolean | undefined;
|
|
2841
|
+
isActive?: boolean | undefined;
|
|
2842
|
+
};
|
|
2019
2843
|
} | {
|
|
2020
2844
|
type: "task_creation";
|
|
2021
2845
|
name: string;
|
|
2022
|
-
taskObject: string;
|
|
2023
2846
|
subject: string;
|
|
2847
|
+
taskObject: string;
|
|
2024
2848
|
description?: string | undefined;
|
|
2025
2849
|
priority?: string | undefined;
|
|
2026
2850
|
assignedTo?: string | undefined;
|
|
@@ -2030,8 +2854,8 @@ export declare const WorkflowRuleSchema: z.ZodObject<{
|
|
|
2030
2854
|
} | {
|
|
2031
2855
|
type: "push_notification";
|
|
2032
2856
|
name: string;
|
|
2033
|
-
body: string;
|
|
2034
2857
|
title: string;
|
|
2858
|
+
body: string;
|
|
2035
2859
|
recipients: string[];
|
|
2036
2860
|
data?: Record<string, any> | undefined;
|
|
2037
2861
|
badge?: number | undefined;
|