@objectstack/spec 3.0.8 → 3.0.9
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/api/index.d.mts +3 -2
- package/dist/api/index.d.ts +3 -2
- package/dist/api/index.js +2027 -51
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +1943 -52
- package/dist/api/index.mjs.map +1 -1
- package/dist/automation/index.d.mts +2 -1
- package/dist/automation/index.d.ts +2 -1
- package/dist/automation/index.js +408 -4
- package/dist/automation/index.js.map +1 -1
- package/dist/automation/index.mjs +386 -5
- package/dist/automation/index.mjs.map +1 -1
- package/dist/cloud/index.d.mts +1 -1
- package/dist/cloud/index.d.ts +1 -1
- package/dist/cloud/index.js +87 -57
- package/dist/cloud/index.js.map +1 -1
- package/dist/cloud/index.mjs +86 -58
- package/dist/cloud/index.mjs.map +1 -1
- package/dist/contracts/index.d.mts +6 -3
- package/dist/contracts/index.d.ts +6 -3
- package/dist/data/index.d.mts +2 -2
- package/dist/data/index.d.ts +2 -2
- package/dist/data/index.js +6 -0
- package/dist/data/index.js.map +1 -1
- package/dist/data/index.mjs +6 -0
- package/dist/data/index.mjs.map +1 -1
- package/dist/execution.zod-CNIVLUlM.d.mts +753 -0
- package/dist/execution.zod-CNIVLUlM.d.ts +753 -0
- package/dist/export.zod-JY1n479p.d.mts +868 -0
- package/dist/export.zod-JY1n479p.d.ts +868 -0
- package/dist/{index-D2Ax_A0R.d.mts → index-BPPEvklW.d.mts} +17177 -6700
- package/dist/{index-BROcs0kJ.d.mts → index-Bkf-4Hgd.d.mts} +1 -1
- package/dist/{index-Clv7cLYS.d.ts → index-C6lkTV3q.d.ts} +281 -237
- package/dist/{index-B1AZWWcE.d.ts → index-CEqhxDGw.d.ts} +625 -1930
- package/dist/{index-C7sOJ4RJ.d.mts → index-CsQmxhEF.d.mts} +246 -2
- package/dist/{index-C7sOJ4RJ.d.ts → index-CsQmxhEF.d.ts} +246 -2
- package/dist/{index-Bh-dF2Ju.d.ts → index-D0K6e9cT.d.ts} +1 -1
- package/dist/{index-Ci0RXmHz.d.mts → index-D7IVfhww.d.mts} +625 -1930
- package/dist/{index-DYNhHUVz.d.mts → index-DXGnzTsY.d.mts} +484 -4
- package/dist/{index-JCZedZdf.d.mts → index-DcxXBkSo.d.mts} +70 -2
- package/dist/{index-JCZedZdf.d.ts → index-DcxXBkSo.d.ts} +70 -2
- package/dist/{index-BRuf4O2a.d.ts → index-KZbFyT_N.d.ts} +484 -4
- package/dist/{index-DIaB52-2.d.mts → index-RL3hxi-b.d.mts} +281 -237
- package/dist/{index-CzktECeu.d.ts → index-zkXIOLcm.d.ts} +17177 -6700
- package/dist/index.d.mts +142 -10
- package/dist/index.d.ts +142 -10
- package/dist/index.js +2150 -197
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2150 -197
- package/dist/index.mjs.map +1 -1
- package/dist/kernel/index.d.mts +3 -3
- package/dist/kernel/index.d.ts +3 -3
- package/dist/kernel/index.js +421 -65
- package/dist/kernel/index.js.map +1 -1
- package/dist/kernel/index.mjs +402 -66
- package/dist/kernel/index.mjs.map +1 -1
- package/dist/{package-registry.zod-CO7_ejFC.d.mts → package-registry.zod-DeXhB8jL.d.mts} +149 -1
- package/dist/{package-registry.zod-CO7_ejFC.d.ts → package-registry.zod-DeXhB8jL.d.ts} +149 -1
- package/dist/package-upgrade.zod-CDgftw9z.d.mts +2686 -0
- package/dist/package-upgrade.zod-CDgftw9z.d.ts +2686 -0
- package/dist/studio/index.d.mts +1 -1
- package/dist/studio/index.d.ts +1 -1
- package/dist/studio/index.js +173 -0
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/index.mjs +164 -1
- package/dist/studio/index.mjs.map +1 -1
- package/dist/{subscription.zod-DCztHI1t.d.ts → subscription.zod-CJ4JWmNt.d.ts} +5 -0
- package/dist/{subscription.zod-DwAnxzbq.d.mts → subscription.zod-D5j365Fg.d.mts} +5 -0
- package/dist/ui/index.js +6 -0
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +6 -0
- package/dist/ui/index.mjs.map +1 -1
- package/json-schema/ai/AICodeReviewResult.json +2 -2
- package/json-schema/ai/AIKnowledge.json +2 -2
- package/json-schema/ai/AIModelConfig.json +2 -2
- package/json-schema/ai/AIOperationCost.json +2 -2
- package/json-schema/ai/AIOpsAgentConfig.json +2 -2
- package/json-schema/ai/AIOrchestration.json +2 -2
- package/json-schema/ai/AIOrchestrationExecutionResult.json +2 -2
- package/json-schema/ai/AIOrchestrationTrigger.json +2 -2
- package/json-schema/ai/AITask.json +2 -2
- package/json-schema/ai/AITaskType.json +2 -2
- package/json-schema/ai/AITool.json +2 -2
- package/json-schema/ai/Agent.json +2 -2
- package/json-schema/ai/AgentAction.json +2 -2
- package/json-schema/ai/AgentActionResult.json +2 -2
- package/json-schema/ai/AgentActionSequence.json +2 -2
- package/json-schema/ai/AgentActionSequenceResult.json +2 -2
- package/json-schema/ai/AgentCommunicationProtocol.json +2 -2
- package/json-schema/ai/AgentGroupMember.json +2 -2
- package/json-schema/ai/AgentGroupRole.json +2 -2
- package/json-schema/ai/AnomalyDetectionConfig.json +2 -2
- package/json-schema/ai/AutoScalingPolicy.json +2 -2
- package/json-schema/ai/BatchAIOrchestrationExecution.json +2 -2
- package/json-schema/ai/BillingPeriod.json +2 -2
- package/json-schema/ai/BudgetLimit.json +2 -2
- package/json-schema/ai/BudgetStatus.json +2 -2
- package/json-schema/ai/BudgetType.json +2 -2
- package/json-schema/ai/CICDPipelineConfig.json +2 -2
- package/json-schema/ai/ChunkingStrategy.json +2 -2
- package/json-schema/ai/CodeContent.json +2 -2
- package/json-schema/ai/CodeGenerationConfig.json +2 -2
- package/json-schema/ai/CodeGenerationRequest.json +2 -2
- package/json-schema/ai/CodeGenerationTarget.json +2 -2
- package/json-schema/ai/ComponentActionParams.json +2 -2
- package/json-schema/ai/ComponentActionType.json +2 -2
- package/json-schema/ai/ComponentAgentAction.json +2 -2
- package/json-schema/ai/ConversationAnalytics.json +2 -2
- package/json-schema/ai/ConversationContext.json +2 -2
- package/json-schema/ai/ConversationMessage.json +2 -2
- package/json-schema/ai/ConversationSession.json +2 -2
- package/json-schema/ai/ConversationSummary.json +2 -2
- package/json-schema/ai/CostAlert.json +2 -2
- package/json-schema/ai/CostAlertType.json +2 -2
- package/json-schema/ai/CostAnalytics.json +2 -2
- package/json-schema/ai/CostBreakdownDimension.json +2 -2
- package/json-schema/ai/CostBreakdownEntry.json +2 -2
- package/json-schema/ai/CostEntry.json +2 -2
- package/json-schema/ai/CostMetricType.json +2 -2
- package/json-schema/ai/CostOptimizationRecommendation.json +2 -2
- package/json-schema/ai/CostQueryFilters.json +2 -2
- package/json-schema/ai/CostReport.json +2 -2
- package/json-schema/ai/DataActionParams.json +2 -2
- package/json-schema/ai/DataActionType.json +2 -2
- package/json-schema/ai/DataAgentAction.json +2 -2
- package/json-schema/ai/DeploymentStrategy.json +2 -2
- package/json-schema/ai/DevOpsAgent.json +2 -2
- package/json-schema/ai/DevOpsTool.json +2 -2
- package/json-schema/ai/DevelopmentConfig.json +2 -2
- package/json-schema/ai/DocumentChunk.json +2 -2
- package/json-schema/ai/DocumentLoaderConfig.json +2 -2
- package/json-schema/ai/DocumentMetadata.json +2 -2
- package/json-schema/ai/EmbeddingModel.json +2 -2
- package/json-schema/ai/Entity.json +2 -2
- package/json-schema/ai/EvaluationMetrics.json +2 -2
- package/json-schema/ai/FeedbackLoop.json +2 -2
- package/json-schema/ai/FieldSynonymConfig.json +2 -2
- package/json-schema/ai/FileContent.json +2 -2
- package/json-schema/ai/FilterExpression.json +2 -2
- package/json-schema/ai/FilterGroup.json +2 -2
- package/json-schema/ai/FormActionParams.json +2 -2
- package/json-schema/ai/FormActionType.json +2 -2
- package/json-schema/ai/FormAgentAction.json +2 -2
- package/json-schema/ai/FunctionCall.json +2 -2
- package/json-schema/ai/GeneratedCode.json +2 -2
- package/json-schema/ai/GitHubIntegration.json +2 -2
- package/json-schema/ai/Hyperparameters.json +2 -2
- package/json-schema/ai/ImageContent.json +2 -2
- package/json-schema/ai/IntegrationConfig.json +2 -2
- package/json-schema/ai/IntentActionMapping.json +2 -2
- package/json-schema/ai/Issue.json +2 -2
- package/json-schema/ai/MCPCapability.json +2 -2
- package/json-schema/ai/MCPClientConfig.json +2 -2
- package/json-schema/ai/MCPPrompt.json +2 -2
- package/json-schema/ai/MCPPromptArgument.json +2 -2
- package/json-schema/ai/MCPPromptMessage.json +2 -2
- package/json-schema/ai/MCPPromptRequest.json +2 -2
- package/json-schema/ai/MCPPromptResponse.json +2 -2
- package/json-schema/ai/MCPResource.json +2 -2
- package/json-schema/ai/MCPResourceRequest.json +2 -2
- package/json-schema/ai/MCPResourceResponse.json +2 -2
- package/json-schema/ai/MCPResourceTemplate.json +2 -2
- package/json-schema/ai/MCPResourceType.json +2 -2
- package/json-schema/ai/MCPRootEntry.json +2 -2
- package/json-schema/ai/MCPRootsConfig.json +2 -2
- package/json-schema/ai/MCPSamplingConfig.json +2 -2
- package/json-schema/ai/MCPServerConfig.json +2 -2
- package/json-schema/ai/MCPServerInfo.json +2 -2
- package/json-schema/ai/MCPStreamingConfig.json +2 -2
- package/json-schema/ai/MCPTool.json +2 -2
- package/json-schema/ai/MCPToolApproval.json +2 -2
- package/json-schema/ai/MCPToolCallRequest.json +2 -2
- package/json-schema/ai/MCPToolCallResponse.json +2 -2
- package/json-schema/ai/MCPToolParameter.json +2 -2
- package/json-schema/ai/MCPTransportConfig.json +2 -2
- package/json-schema/ai/MCPTransportType.json +2 -2
- package/json-schema/ai/MessageContent.json +2 -2
- package/json-schema/ai/MessageContentType.json +2 -2
- package/json-schema/ai/MessagePruningEvent.json +2 -2
- package/json-schema/ai/MessageRole.json +2 -2
- package/json-schema/ai/MetadataFilter.json +2 -2
- package/json-schema/ai/MetadataSource.json +2 -2
- package/json-schema/ai/ModelCapability.json +2 -2
- package/json-schema/ai/ModelConfig.json +2 -2
- package/json-schema/ai/ModelDrift.json +2 -2
- package/json-schema/ai/ModelFeature.json +2 -2
- package/json-schema/ai/ModelLimits.json +2 -2
- package/json-schema/ai/ModelPricing.json +2 -2
- package/json-schema/ai/ModelProvider.json +2 -2
- package/json-schema/ai/ModelRegistry.json +2 -2
- package/json-schema/ai/ModelRegistryEntry.json +2 -2
- package/json-schema/ai/ModelSelectionCriteria.json +2 -2
- package/json-schema/ai/MonitoringConfig.json +2 -2
- package/json-schema/ai/MultiAgentGroup.json +2 -2
- package/json-schema/ai/NLQAnalytics.json +2 -2
- package/json-schema/ai/NLQFieldMapping.json +2 -2
- package/json-schema/ai/NLQModelConfig.json +2 -2
- package/json-schema/ai/NLQParseResult.json +2 -2
- package/json-schema/ai/NLQRequest.json +2 -2
- package/json-schema/ai/NLQResponse.json +2 -2
- package/json-schema/ai/NLQTrainingExample.json +2 -2
- package/json-schema/ai/NavigationActionParams.json +2 -2
- package/json-schema/ai/NavigationActionType.json +2 -2
- package/json-schema/ai/NavigationAgentAction.json +2 -2
- package/json-schema/ai/PerformanceOptimization.json +2 -2
- package/json-schema/ai/PipelineStage.json +2 -2
- package/json-schema/ai/PluginCompositionRequest.json +2 -2
- package/json-schema/ai/PluginCompositionResult.json +2 -2
- package/json-schema/ai/PluginRecommendation.json +2 -2
- package/json-schema/ai/PluginRecommendationRequest.json +2 -2
- package/json-schema/ai/PluginScaffoldingTemplate.json +2 -2
- package/json-schema/ai/PostProcessingAction.json +2 -2
- package/json-schema/ai/PredictionRequest.json +2 -2
- package/json-schema/ai/PredictionResult.json +2 -2
- package/json-schema/ai/PredictiveModel.json +2 -2
- package/json-schema/ai/PredictiveModelType.json +2 -2
- package/json-schema/ai/PromptTemplate.json +2 -2
- package/json-schema/ai/PromptVariable.json +2 -2
- package/json-schema/ai/QueryContext.json +2 -2
- package/json-schema/ai/QueryIntent.json +2 -2
- package/json-schema/ai/QueryTemplate.json +2 -2
- package/json-schema/ai/RAGPipelineConfig.json +2 -2
- package/json-schema/ai/RAGPipelineStatus.json +2 -2
- package/json-schema/ai/RAGQueryRequest.json +2 -2
- package/json-schema/ai/RAGQueryResponse.json +2 -2
- package/json-schema/ai/RerankingConfig.json +2 -2
- package/json-schema/ai/Resolution.json +2 -2
- package/json-schema/ai/RetrievalStrategy.json +2 -2
- package/json-schema/ai/RootCauseAnalysisRequest.json +2 -2
- package/json-schema/ai/RootCauseAnalysisResult.json +2 -2
- package/json-schema/ai/SelfHealingAction.json +2 -2
- package/json-schema/ai/SelfHealingConfig.json +2 -2
- package/json-schema/ai/StructuredOutputConfig.json +2 -2
- package/json-schema/ai/StructuredOutputFormat.json +2 -2
- package/json-schema/ai/TestingConfig.json +2 -2
- package/json-schema/ai/TextContent.json +2 -2
- package/json-schema/ai/Timeframe.json +2 -2
- package/json-schema/ai/TokenBudgetConfig.json +2 -2
- package/json-schema/ai/TokenBudgetStrategy.json +2 -2
- package/json-schema/ai/TokenUsage.json +2 -2
- package/json-schema/ai/TokenUsageStats.json +2 -2
- package/json-schema/ai/ToolCall.json +2 -2
- package/json-schema/ai/TrainingConfig.json +2 -2
- package/json-schema/ai/TransformPipelineStep.json +2 -2
- package/json-schema/ai/TypedAgentAction.json +2 -2
- package/json-schema/ai/UIActionType.json +2 -2
- package/json-schema/ai/VectorStoreConfig.json +2 -2
- package/json-schema/ai/VectorStoreProvider.json +2 -2
- package/json-schema/ai/VercelIntegration.json +2 -2
- package/json-schema/ai/VersionManagement.json +2 -2
- package/json-schema/ai/ViewActionParams.json +2 -2
- package/json-schema/ai/ViewActionType.json +2 -2
- package/json-schema/ai/ViewAgentAction.json +2 -2
- package/json-schema/ai/WorkflowActionParams.json +2 -2
- package/json-schema/ai/WorkflowActionType.json +2 -2
- package/json-schema/ai/WorkflowAgentAction.json +2 -2
- package/json-schema/ai/WorkflowFieldCondition.json +2 -2
- package/json-schema/ai/WorkflowSchedule.json +2 -2
- package/json-schema/api/AckMessage.json +2 -2
- package/json-schema/api/AddReactionRequest.json +2 -2
- package/json-schema/api/AddReactionResponse.json +2 -2
- package/json-schema/api/AiChatRequest.json +2 -2
- package/json-schema/api/AiChatResponse.json +2 -2
- package/json-schema/api/AiInsightsRequest.json +2 -2
- package/json-schema/api/AiInsightsResponse.json +2 -2
- package/json-schema/api/AiNlqRequest.json +2 -2
- package/json-schema/api/AiNlqResponse.json +2 -2
- package/json-schema/api/AiSuggestRequest.json +2 -2
- package/json-schema/api/AiSuggestResponse.json +2 -2
- package/json-schema/api/AnalyticsEndpoint.json +2 -2
- package/json-schema/api/AnalyticsMetadataResponse.json +2 -2
- package/json-schema/api/AnalyticsQueryRequest.json +2 -2
- package/json-schema/api/AnalyticsResultResponse.json +2 -2
- package/json-schema/api/AnalyticsSqlResponse.json +2 -2
- package/json-schema/api/ApiChangelogEntry.json +2 -2
- package/json-schema/api/ApiDiscoveryQuery.json +2 -2
- package/json-schema/api/ApiDiscoveryResponse.json +2 -2
- package/json-schema/api/ApiDocumentationConfig.json +2 -2
- package/json-schema/api/ApiEndpoint.json +2 -2
- package/json-schema/api/ApiEndpointRegistration.json +2 -2
- package/json-schema/api/ApiError.json +2 -2
- package/json-schema/api/ApiMapping.json +2 -2
- package/json-schema/api/ApiMetadata.json +2 -2
- package/json-schema/api/ApiParameter.json +2 -2
- package/json-schema/api/ApiProtocolType.json +2 -2
- package/json-schema/api/ApiRegistry.json +2 -2
- package/json-schema/api/ApiRegistryEntry.json +2 -2
- package/json-schema/api/ApiResponse.json +2 -2
- package/json-schema/api/ApiRoutes.json +2 -2
- package/json-schema/api/ApiTestCollection.json +2 -2
- package/json-schema/api/ApiTestRequest.json +2 -2
- package/json-schema/api/ApiTestingUiConfig.json +2 -2
- package/json-schema/api/ApiTestingUiType.json +2 -2
- package/json-schema/api/AppDefinitionResponse.json +2 -2
- package/json-schema/api/AuthEndpoint.json +2 -2
- package/json-schema/api/AuthProvider.json +2 -2
- package/json-schema/api/AutomationApiErrorCode.json +17 -0
- package/json-schema/api/AutomationFlowPathParams.json +16 -0
- package/json-schema/api/AutomationRunPathParams.json +21 -0
- package/json-schema/api/AutomationTriggerRequest.json +2 -2
- package/json-schema/api/AutomationTriggerResponse.json +2 -2
- package/json-schema/api/BasePresence.json +2 -2
- package/json-schema/api/BaseResponse.json +2 -2
- package/json-schema/api/BatchConfig.json +2 -2
- package/json-schema/api/BatchDataRequest.json +2 -2
- package/json-schema/api/BatchDataResponse.json +2 -2
- package/json-schema/api/BatchEndpointsConfig.json +2 -2
- package/json-schema/api/BatchLoadingStrategy.json +2 -2
- package/json-schema/api/BatchOperationResult.json +2 -2
- package/json-schema/api/BatchOperationType.json +2 -2
- package/json-schema/api/BatchOptions.json +2 -2
- package/json-schema/api/BatchRecord.json +2 -2
- package/json-schema/api/BatchUpdateRequest.json +2 -2
- package/json-schema/api/BatchUpdateResponse.json +2 -2
- package/json-schema/api/BulkRequest.json +2 -2
- package/json-schema/api/BulkResponse.json +2 -2
- package/json-schema/api/CacheControl.json +2 -2
- package/json-schema/api/CacheDirective.json +2 -2
- package/json-schema/api/CacheInvalidationRequest.json +2 -2
- package/json-schema/api/CacheInvalidationResponse.json +2 -2
- package/json-schema/api/CacheInvalidationTarget.json +2 -2
- package/json-schema/api/Callback.json +2 -2
- package/json-schema/api/ChangelogEntry.json +104 -0
- package/json-schema/api/CheckPermissionRequest.json +2 -2
- package/json-schema/api/CheckPermissionResponse.json +2 -2
- package/json-schema/api/CodeGenerationTemplate.json +2 -2
- package/json-schema/api/CompleteChunkedUploadRequest.json +42 -0
- package/json-schema/api/CompleteChunkedUploadResponse.json +107 -0
- package/json-schema/api/CompleteUploadRequest.json +2 -2
- package/json-schema/api/ConceptListResponse.json +2 -2
- package/json-schema/api/ConflictResolutionStrategy.json +2 -2
- package/json-schema/api/CreateDataRequest.json +2 -2
- package/json-schema/api/CreateDataResponse.json +2 -2
- package/json-schema/api/CreateExportJobRequest.json +93 -0
- package/json-schema/api/CreateExportJobResponse.json +108 -0
- package/json-schema/api/CreateFeedItemRequest.json +2 -2
- package/json-schema/api/CreateFeedItemResponse.json +30 -2
- package/json-schema/api/CreateFlowRequest.json +486 -0
- package/json-schema/api/CreateFlowResponse.json +553 -0
- package/json-schema/api/CreateManyDataRequest.json +2 -2
- package/json-schema/api/CreateManyDataResponse.json +2 -2
- package/json-schema/api/CreateRequest.json +2 -2
- package/json-schema/api/CrudEndpointPattern.json +2 -2
- package/json-schema/api/CrudEndpointsConfig.json +2 -2
- package/json-schema/api/CrudOperation.json +2 -2
- package/json-schema/api/CursorMessage.json +2 -2
- package/json-schema/api/CursorPosition.json +2 -2
- package/json-schema/api/DataLoaderConfig.json +2 -2
- package/json-schema/api/DeduplicationStrategy.json +12 -0
- package/json-schema/api/DeleteDataRequest.json +2 -2
- package/json-schema/api/DeleteDataResponse.json +2 -2
- package/json-schema/api/DeleteFeedItemRequest.json +2 -2
- package/json-schema/api/DeleteFeedItemResponse.json +2 -2
- package/json-schema/api/DeleteFlowRequest.json +16 -0
- package/json-schema/api/DeleteFlowResponse.json +87 -0
- package/json-schema/api/DeleteManyDataRequest.json +2 -2
- package/json-schema/api/DeleteManyDataResponse.json +2 -2
- package/json-schema/api/DeleteManyRequest.json +2 -2
- package/json-schema/api/DeleteResponse.json +2 -2
- package/json-schema/api/DeleteViewRequest.json +2 -2
- package/json-schema/api/DeleteViewResponse.json +2 -2
- package/json-schema/api/DisablePackageRequest.json +5 -3
- package/json-schema/api/DisablePackageResponse.json +83 -4
- package/json-schema/api/Discovery.json +90 -2
- package/json-schema/api/DispatcherConfig.json +2 -2
- package/json-schema/api/DispatcherRoute.json +2 -2
- package/json-schema/api/DocumentState.json +2 -2
- package/json-schema/api/ETag.json +2 -2
- package/json-schema/api/EditMessage.json +2 -2
- package/json-schema/api/EditOperation.json +2 -2
- package/json-schema/api/EditOperationType.json +2 -2
- package/json-schema/api/EnablePackageRequest.json +5 -3
- package/json-schema/api/EnablePackageResponse.json +83 -4
- package/json-schema/api/EndpointRegistry.json +2 -2
- package/json-schema/api/EnhancedApiError.json +2 -2
- package/json-schema/api/ErrorCategory.json +2 -2
- package/json-schema/api/ErrorHandlingConfig.json +2 -2
- package/json-schema/api/ErrorMessage.json +2 -2
- package/json-schema/api/ErrorResponse.json +2 -2
- package/json-schema/api/EventFilter.json +2 -2
- package/json-schema/api/EventFilterCondition.json +2 -2
- package/json-schema/api/EventMessage.json +2 -2
- package/json-schema/api/EventPattern.json +2 -2
- package/json-schema/api/EventSubscription.json +2 -2
- package/json-schema/api/ExportFormat.json +13 -0
- package/json-schema/api/ExportImportTemplate.json +123 -0
- package/json-schema/api/ExportJobProgress.json +174 -0
- package/json-schema/api/ExportJobStatus.json +14 -0
- package/json-schema/api/ExportJobSummary.json +75 -0
- package/json-schema/api/ExportRequest.json +2 -2
- package/json-schema/api/FederationEntity.json +2 -2
- package/json-schema/api/FederationEntityKey.json +2 -2
- package/json-schema/api/FederationExternalField.json +2 -2
- package/json-schema/api/FederationGateway.json +2 -2
- package/json-schema/api/FederationProvides.json +2 -2
- package/json-schema/api/FederationRequires.json +2 -2
- package/json-schema/api/FeedApiErrorCode.json +8 -3
- package/json-schema/api/FeedItemPathParams.json +2 -2
- package/json-schema/api/FeedListFilterType.json +2 -2
- package/json-schema/api/FeedPathParams.json +2 -2
- package/json-schema/api/FeedUnsubscribeRequest.json +2 -2
- package/json-schema/api/FieldError.json +2 -2
- package/json-schema/api/FieldMappingEntry.json +48 -0
- package/json-schema/api/FileTypeValidation.json +48 -0
- package/json-schema/api/FileUploadResponse.json +2 -2
- package/json-schema/api/FilterOperator.json +2 -2
- package/json-schema/api/FindDataRequest.json +2 -2
- package/json-schema/api/FindDataResponse.json +6 -2
- package/json-schema/api/FlowSummary.json +55 -0
- package/json-schema/api/GeneratedApiDocumentation.json +2 -2
- package/json-schema/api/GeneratedEndpoint.json +2 -2
- package/json-schema/api/GetAnalyticsMetaRequest.json +2 -2
- package/json-schema/api/GetChangelogRequest.json +53 -0
- package/json-schema/api/GetChangelogResponse.json +198 -0
- package/json-schema/api/GetDataRequest.json +2 -2
- package/json-schema/api/GetDataResponse.json +2 -2
- package/json-schema/api/GetDiscoveryRequest.json +2 -2
- package/json-schema/api/GetDiscoveryResponse.json +81 -2
- package/json-schema/api/GetEffectivePermissionsRequest.json +2 -2
- package/json-schema/api/GetEffectivePermissionsResponse.json +2 -2
- package/json-schema/api/GetExportJobDownloadRequest.json +16 -0
- package/json-schema/api/GetExportJobDownloadResponse.json +122 -0
- package/json-schema/api/GetFeedRequest.json +2 -2
- package/json-schema/api/GetFeedResponse.json +30 -2
- package/json-schema/api/GetFieldLabelsRequest.json +2 -2
- package/json-schema/api/GetFieldLabelsResponse.json +2 -2
- package/json-schema/api/GetFlowRequest.json +16 -0
- package/json-schema/api/GetFlowResponse.json +553 -0
- package/json-schema/api/GetInstalledPackageRequest.json +16 -0
- package/json-schema/api/GetInstalledPackageResponse.json +1992 -0
- package/json-schema/api/GetLocalesRequest.json +2 -2
- package/json-schema/api/GetLocalesResponse.json +2 -2
- package/json-schema/api/GetMetaItemCachedRequest.json +2 -2
- package/json-schema/api/GetMetaItemCachedResponse.json +2 -2
- package/json-schema/api/GetMetaItemRequest.json +2 -2
- package/json-schema/api/GetMetaItemResponse.json +2 -2
- package/json-schema/api/GetMetaItemsRequest.json +2 -2
- package/json-schema/api/GetMetaItemsResponse.json +2 -2
- package/json-schema/api/GetMetaTypesRequest.json +2 -2
- package/json-schema/api/GetMetaTypesResponse.json +2 -2
- package/json-schema/api/GetNotificationPreferencesRequest.json +2 -2
- package/json-schema/api/GetNotificationPreferencesResponse.json +2 -2
- package/json-schema/api/GetObjectPermissionsRequest.json +2 -2
- package/json-schema/api/GetObjectPermissionsResponse.json +2 -2
- package/json-schema/api/GetPackageRequest.json +5 -3
- package/json-schema/api/GetPackageResponse.json +82 -4
- package/json-schema/api/GetPresenceRequest.json +2 -2
- package/json-schema/api/GetPresenceResponse.json +2 -2
- package/json-schema/api/GetPresignedUrlRequest.json +2 -2
- package/json-schema/api/GetRunRequest.json +21 -0
- package/json-schema/api/GetRunResponse.json +284 -0
- package/json-schema/api/GetTranslationsRequest.json +2 -2
- package/json-schema/api/GetTranslationsResponse.json +2 -2
- package/json-schema/api/GetUiViewRequest.json +2 -2
- package/json-schema/api/GetViewRequest.json +2 -2
- package/json-schema/api/GetWorkflowConfigRequest.json +2 -2
- package/json-schema/api/GetWorkflowConfigResponse.json +2 -2
- package/json-schema/api/GetWorkflowStateRequest.json +2 -2
- package/json-schema/api/GetWorkflowStateResponse.json +2 -2
- package/json-schema/api/GraphQLConfig.json +2 -2
- package/json-schema/api/GraphQLDataLoaderConfig.json +2 -2
- package/json-schema/api/GraphQLDirectiveConfig.json +2 -2
- package/json-schema/api/GraphQLDirectiveLocation.json +2 -2
- package/json-schema/api/GraphQLMutationConfig.json +2 -2
- package/json-schema/api/GraphQLPersistedQuery.json +2 -2
- package/json-schema/api/GraphQLQueryAdapter.json +2 -2
- package/json-schema/api/GraphQLQueryComplexity.json +2 -2
- package/json-schema/api/GraphQLQueryConfig.json +2 -2
- package/json-schema/api/GraphQLQueryDepthLimit.json +2 -2
- package/json-schema/api/GraphQLRateLimit.json +2 -2
- package/json-schema/api/GraphQLResolverConfig.json +2 -2
- package/json-schema/api/GraphQLScalarType.json +2 -2
- package/json-schema/api/GraphQLSubscriptionConfig.json +2 -2
- package/json-schema/api/GraphQLTypeConfig.json +2 -2
- package/json-schema/api/HttpMethod.json +2 -2
- package/json-schema/api/HttpStatusCode.json +2 -2
- package/json-schema/api/IdRequest.json +2 -2
- package/json-schema/api/ImportValidationConfig.json +77 -0
- package/json-schema/api/ImportValidationMode.json +11 -0
- package/json-schema/api/ImportValidationResult.json +150 -0
- package/json-schema/api/InitiateChunkedUploadRequest.json +56 -0
- package/json-schema/api/InitiateChunkedUploadResponse.json +113 -0
- package/json-schema/api/InstallPackageRequest.json +26 -3
- package/json-schema/api/InstallPackageResponse.json +196 -4
- package/json-schema/api/ListExportJobsRequest.json +39 -0
- package/json-schema/api/ListExportJobsResponse.json +163 -0
- package/json-schema/api/ListFlowsRequest.json +44 -0
- package/json-schema/api/ListFlowsResponse.json +149 -0
- package/json-schema/api/ListInstalledPackagesRequest.json +40 -0
- package/json-schema/api/ListInstalledPackagesResponse.json +2020 -0
- package/json-schema/api/ListNotificationsRequest.json +2 -2
- package/json-schema/api/ListNotificationsResponse.json +2 -2
- package/json-schema/api/ListPackagesRequest.json +7 -4
- package/json-schema/api/ListPackagesResponse.json +86 -6
- package/json-schema/api/ListRecordResponse.json +2 -2
- package/json-schema/api/ListRunsRequest.json +42 -0
- package/json-schema/api/ListRunsResponse.json +311 -0
- package/json-schema/api/ListViewsRequest.json +2 -2
- package/json-schema/api/LoginRequest.json +2 -2
- package/json-schema/api/LoginType.json +2 -2
- package/json-schema/api/MarkAllNotificationsReadRequest.json +2 -2
- package/json-schema/api/MarkAllNotificationsReadResponse.json +2 -2
- package/json-schema/api/MarkNotificationsReadRequest.json +2 -2
- package/json-schema/api/MarkNotificationsReadResponse.json +2 -2
- package/json-schema/api/MetadataBulkRegisterRequest.json +2 -2
- package/json-schema/api/MetadataBulkResponse.json +2 -2
- package/json-schema/api/MetadataBulkUnregisterRequest.json +2 -2
- package/json-schema/api/MetadataCacheRequest.json +2 -2
- package/json-schema/api/MetadataCacheResponse.json +2 -2
- package/json-schema/api/MetadataDeleteResponse.json +2 -2
- package/json-schema/api/MetadataDependenciesResponse.json +2 -2
- package/json-schema/api/MetadataDependentsResponse.json +2 -2
- package/json-schema/api/MetadataEffectiveResponse.json +2 -2
- package/json-schema/api/MetadataEndpointsConfig.json +2 -2
- package/json-schema/api/MetadataExistsResponse.json +2 -2
- package/json-schema/api/MetadataExportRequest.json +2 -2
- package/json-schema/api/MetadataExportResponse.json +2 -2
- package/json-schema/api/MetadataImportRequest.json +2 -2
- package/json-schema/api/MetadataImportResponse.json +2 -2
- package/json-schema/api/MetadataItemResponse.json +2 -2
- package/json-schema/api/MetadataListResponse.json +2 -2
- package/json-schema/api/MetadataNamesResponse.json +2 -2
- package/json-schema/api/MetadataOverlayResponse.json +2 -2
- package/json-schema/api/MetadataOverlaySaveRequest.json +2 -2
- package/json-schema/api/MetadataQueryRequest.json +2 -2
- package/json-schema/api/MetadataQueryResponse.json +2 -2
- package/json-schema/api/MetadataRegisterRequest.json +2 -2
- package/json-schema/api/MetadataTypeInfoResponse.json +2 -2
- package/json-schema/api/MetadataTypesResponse.json +2 -2
- package/json-schema/api/MetadataValidateRequest.json +2 -2
- package/json-schema/api/MetadataValidateResponse.json +2 -2
- package/json-schema/api/ModificationResult.json +2 -2
- package/json-schema/api/Notification.json +2 -2
- package/json-schema/api/NotificationPreferences.json +2 -2
- package/json-schema/api/ODataConfig.json +2 -2
- package/json-schema/api/ODataError.json +2 -2
- package/json-schema/api/ODataFilterFunction.json +2 -2
- package/json-schema/api/ODataFilterOperator.json +2 -2
- package/json-schema/api/ODataMetadata.json +2 -2
- package/json-schema/api/ODataQuery.json +2 -2
- package/json-schema/api/ODataQueryAdapter.json +2 -2
- package/json-schema/api/ODataResponse.json +2 -2
- package/json-schema/api/ObjectDefinitionResponse.json +2 -2
- package/json-schema/api/ObjectQLReference.json +2 -2
- package/json-schema/api/OpenApi31Extensions.json +2 -2
- package/json-schema/api/OpenApiGenerationConfig.json +2 -2
- package/json-schema/api/OpenApiSecurityScheme.json +2 -2
- package/json-schema/api/OpenApiServer.json +2 -2
- package/json-schema/api/OpenApiSpec.json +2 -2
- package/json-schema/api/OperatorMapping.json +2 -2
- package/json-schema/api/PackageApiErrorCode.json +21 -0
- package/json-schema/api/PackageInstallRequest.json +1877 -0
- package/json-schema/api/PackageInstallResponse.json +2155 -0
- package/json-schema/api/PackagePathParams.json +16 -0
- package/json-schema/api/PackageRollbackRequest.json +28 -0
- package/json-schema/api/PackageRollbackResponse.json +91 -0
- package/json-schema/api/PackageUpgradeRequest.json +1851 -0
- package/json-schema/api/PackageUpgradeResponse.json +269 -0
- package/json-schema/api/PinFeedItemRequest.json +26 -0
- package/json-schema/api/PinFeedItemResponse.json +94 -0
- package/json-schema/api/PingMessage.json +2 -2
- package/json-schema/api/PongMessage.json +2 -2
- package/json-schema/api/PresenceMessage.json +2 -2
- package/json-schema/api/PresenceState.json +2 -2
- package/json-schema/api/PresenceStatus.json +2 -2
- package/json-schema/api/PresenceUpdate.json +2 -2
- package/json-schema/api/PresignedUrlResponse.json +2 -2
- package/json-schema/api/QueryAdapterConfig.json +2 -2
- package/json-schema/api/QueryAdapterTarget.json +2 -2
- package/json-schema/api/QueryOptimizationConfig.json +2 -2
- package/json-schema/api/RealtimeConfig.json +2 -2
- package/json-schema/api/RealtimeConnectRequest.json +2 -2
- package/json-schema/api/RealtimeConnectResponse.json +2 -2
- package/json-schema/api/RealtimeDisconnectRequest.json +2 -2
- package/json-schema/api/RealtimeDisconnectResponse.json +2 -2
- package/json-schema/api/RealtimeEvent.json +2 -2
- package/json-schema/api/RealtimeEventType.json +2 -2
- package/json-schema/api/RealtimePresence.json +2 -2
- package/json-schema/api/RealtimeRecordAction.json +2 -2
- package/json-schema/api/RealtimeSubscribeRequest.json +2 -2
- package/json-schema/api/RealtimeSubscribeResponse.json +2 -2
- package/json-schema/api/RealtimeUnsubscribeRequest.json +2 -2
- package/json-schema/api/RealtimeUnsubscribeResponse.json +2 -2
- package/json-schema/api/RecordData.json +2 -2
- package/json-schema/api/RefreshTokenRequest.json +2 -2
- package/json-schema/api/RegisterDeviceRequest.json +2 -2
- package/json-schema/api/RegisterDeviceResponse.json +2 -2
- package/json-schema/api/RegisterRequest.json +2 -2
- package/json-schema/api/RemoveReactionRequest.json +2 -2
- package/json-schema/api/RemoveReactionResponse.json +2 -2
- package/json-schema/api/RequestValidationConfig.json +2 -2
- package/json-schema/api/ResolveDependenciesRequest.json +1818 -0
- package/json-schema/api/ResolveDependenciesResponse.json +183 -0
- package/json-schema/api/ResponseEnvelopeConfig.json +2 -2
- package/json-schema/api/RestApiConfig.json +2 -2
- package/json-schema/api/RestApiEndpoint.json +2 -2
- package/json-schema/api/RestApiPluginConfig.json +2 -2
- package/json-schema/api/RestApiRouteCategory.json +2 -2
- package/json-schema/api/RestApiRouteRegistration.json +2 -2
- package/json-schema/api/RestQueryAdapter.json +2 -2
- package/json-schema/api/RestServerConfig.json +2 -2
- package/json-schema/api/RetryStrategy.json +2 -2
- package/json-schema/api/RouteCategory.json +2 -2
- package/json-schema/api/RouteDefinition.json +2 -2
- package/json-schema/api/RouteGenerationConfig.json +2 -2
- package/json-schema/api/RouterConfig.json +2 -2
- package/json-schema/api/SaveMetaItemRequest.json +2 -2
- package/json-schema/api/SaveMetaItemResponse.json +2 -2
- package/json-schema/api/ScheduleExportRequest.json +114 -0
- package/json-schema/api/ScheduleExportResponse.json +105 -0
- package/json-schema/api/ScheduledExport.json +146 -0
- package/json-schema/api/SchemaDefinition.json +2 -2
- package/json-schema/api/SearchFeedRequest.json +77 -0
- package/json-schema/api/SearchFeedResponse.json +372 -0
- package/json-schema/api/ServiceInfo.json +37 -2
- package/json-schema/api/Session.json +2 -2
- package/json-schema/api/SessionResponse.json +2 -2
- package/json-schema/api/SessionUser.json +2 -2
- package/json-schema/api/SetPresenceRequest.json +2 -2
- package/json-schema/api/SetPresenceResponse.json +2 -2
- package/json-schema/api/SimpleCursorPosition.json +2 -2
- package/json-schema/api/SimplePresenceState.json +2 -2
- package/json-schema/api/SingleRecordResponse.json +2 -2
- package/json-schema/api/StandardErrorCode.json +2 -2
- package/json-schema/api/StarFeedItemRequest.json +26 -0
- package/json-schema/api/StarFeedItemResponse.json +94 -0
- package/json-schema/api/SubgraphConfig.json +2 -2
- package/json-schema/api/SubscribeMessage.json +2 -2
- package/json-schema/api/SubscribeRequest.json +2 -2
- package/json-schema/api/SubscribeResponse.json +2 -2
- package/json-schema/api/Subscription.json +2 -2
- package/json-schema/api/SubscriptionEvent.json +2 -2
- package/json-schema/api/ToggleFlowRequest.json +21 -0
- package/json-schema/api/ToggleFlowResponse.json +87 -0
- package/json-schema/api/TransportProtocol.json +2 -2
- package/json-schema/api/TriggerFlowRequest.json +44 -0
- package/json-schema/api/TriggerFlowResponse.json +93 -0
- package/json-schema/api/UninstallPackageApiRequest.json +16 -0
- package/json-schema/api/UninstallPackageApiResponse.json +92 -0
- package/json-schema/api/UninstallPackageRequest.json +5 -3
- package/json-schema/api/UninstallPackageResponse.json +8 -4
- package/json-schema/api/UnpinFeedItemRequest.json +26 -0
- package/json-schema/api/UnpinFeedItemResponse.json +87 -0
- package/json-schema/api/UnregisterDeviceRequest.json +2 -2
- package/json-schema/api/UnregisterDeviceResponse.json +2 -2
- package/json-schema/api/UnstarFeedItemRequest.json +26 -0
- package/json-schema/api/UnstarFeedItemResponse.json +87 -0
- package/json-schema/api/UnsubscribeMessage.json +2 -2
- package/json-schema/api/UnsubscribeRequest.json +2 -2
- package/json-schema/api/UnsubscribeResponse.json +2 -2
- package/json-schema/api/UpdateDataRequest.json +2 -2
- package/json-schema/api/UpdateDataResponse.json +2 -2
- package/json-schema/api/UpdateFeedItemRequest.json +2 -2
- package/json-schema/api/UpdateFeedItemResponse.json +30 -2
- package/json-schema/api/UpdateFlowRequest.json +489 -0
- package/json-schema/api/UpdateFlowResponse.json +553 -0
- package/json-schema/api/UpdateManyDataRequest.json +2 -2
- package/json-schema/api/UpdateManyDataResponse.json +2 -2
- package/json-schema/api/UpdateManyRequest.json +2 -2
- package/json-schema/api/UpdateNotificationPreferencesRequest.json +2 -2
- package/json-schema/api/UpdateNotificationPreferencesResponse.json +2 -2
- package/json-schema/api/UpdateRequest.json +2 -2
- package/json-schema/api/UploadArtifactRequest.json +223 -0
- package/json-schema/api/UploadArtifactResponse.json +136 -0
- package/json-schema/api/UploadChunkRequest.json +28 -0
- package/json-schema/api/UploadChunkResponse.json +96 -0
- package/json-schema/api/UploadProgress.json +153 -0
- package/json-schema/api/UserProfileResponse.json +2 -2
- package/json-schema/api/ValidationMode.json +2 -2
- package/json-schema/api/VersionDefinition.json +2 -2
- package/json-schema/api/VersionNegotiationResponse.json +2 -2
- package/json-schema/api/VersionStatus.json +2 -2
- package/json-schema/api/VersioningConfig.json +2 -2
- package/json-schema/api/VersioningStrategy.json +2 -2
- package/json-schema/api/WebSocketConfig.json +2 -2
- package/json-schema/api/WebSocketEvent.json +2 -2
- package/json-schema/api/WebSocketMessage.json +2 -2
- package/json-schema/api/WebSocketMessageType.json +2 -2
- package/json-schema/api/WebSocketPresenceStatus.json +2 -2
- package/json-schema/api/WebSocketServerConfig.json +2 -2
- package/json-schema/api/WebhookConfig.json +2 -2
- package/json-schema/api/WebhookEvent.json +2 -2
- package/json-schema/api/WellKnownCapabilities.json +47 -0
- package/json-schema/api/WorkflowApproveRequest.json +2 -2
- package/json-schema/api/WorkflowApproveResponse.json +2 -2
- package/json-schema/api/WorkflowRejectRequest.json +2 -2
- package/json-schema/api/WorkflowRejectResponse.json +2 -2
- package/json-schema/api/WorkflowState.json +2 -2
- package/json-schema/api/WorkflowTransitionRequest.json +2 -2
- package/json-schema/api/WorkflowTransitionResponse.json +2 -2
- package/json-schema/automation/ActionRef.json +2 -2
- package/json-schema/automation/ApprovalAction.json +2 -2
- package/json-schema/automation/ApprovalActionType.json +2 -2
- package/json-schema/automation/ApprovalProcess.json +2 -2
- package/json-schema/automation/ApprovalStep.json +2 -2
- package/json-schema/automation/ApproverType.json +2 -2
- package/json-schema/automation/AuthField.json +2 -2
- package/json-schema/automation/Authentication.json +2 -2
- package/json-schema/automation/AuthenticationType.json +2 -2
- package/json-schema/automation/BpmnDiagnostic.json +35 -0
- package/json-schema/automation/BpmnElementMapping.json +32 -0
- package/json-schema/automation/BpmnExportOptions.json +79 -0
- package/json-schema/automation/BpmnImportOptions.json +79 -0
- package/json-schema/automation/BpmnInteropResult.json +71 -0
- package/json-schema/automation/BpmnUnmappedStrategy.json +13 -0
- package/json-schema/automation/BpmnVersion.json +11 -0
- package/json-schema/automation/Checkpoint.json +75 -0
- package/json-schema/automation/ConcurrencyPolicy.json +47 -0
- package/json-schema/automation/ConflictResolution.json +2 -2
- package/json-schema/automation/Connector.json +2 -2
- package/json-schema/automation/ConnectorActionRef.json +2 -2
- package/json-schema/automation/ConnectorCategory.json +2 -2
- package/json-schema/automation/ConnectorInstance.json +2 -2
- package/json-schema/automation/ConnectorOperation.json +2 -2
- package/json-schema/automation/ConnectorTrigger.json +2 -2
- package/json-schema/automation/CustomScriptAction.json +2 -2
- package/json-schema/automation/DataDestinationConfig.json +2 -2
- package/json-schema/automation/DataSourceConfig.json +2 -2
- package/json-schema/automation/DataSyncConfig.json +2 -2
- package/json-schema/automation/ETLDestination.json +2 -2
- package/json-schema/automation/ETLEndpointType.json +2 -2
- package/json-schema/automation/ETLPipeline.json +2 -2
- package/json-schema/automation/ETLPipelineRun.json +2 -2
- package/json-schema/automation/ETLRunStatus.json +2 -2
- package/json-schema/automation/ETLSource.json +2 -2
- package/json-schema/automation/ETLSyncMode.json +2 -2
- package/json-schema/automation/ETLTransformation.json +2 -2
- package/json-schema/automation/ETLTransformationType.json +2 -2
- package/json-schema/automation/EmailAlertAction.json +2 -2
- package/json-schema/automation/Event.json +2 -2
- package/json-schema/automation/ExecutionError.json +76 -0
- package/json-schema/automation/ExecutionErrorSeverity.json +11 -0
- package/json-schema/automation/ExecutionLog.json +217 -0
- package/json-schema/automation/ExecutionStatus.json +16 -0
- package/json-schema/automation/ExecutionStepLog.json +99 -0
- package/json-schema/automation/FieldUpdateAction.json +2 -2
- package/json-schema/automation/Flow.json +200 -7
- package/json-schema/automation/FlowEdge.json +12 -5
- package/json-schema/automation/FlowNode.json +168 -3
- package/json-schema/automation/FlowNodeAction.json +6 -3
- package/json-schema/automation/FlowVariable.json +2 -2
- package/json-schema/automation/FlowVersionHistory.json +523 -0
- package/json-schema/automation/GuardRef.json +2 -2
- package/json-schema/automation/HttpCallAction.json +2 -2
- package/json-schema/automation/NodeExecutorDescriptor.json +62 -0
- package/json-schema/automation/OAuth2Config.json +2 -2
- package/json-schema/automation/OperationParameter.json +2 -2
- package/json-schema/automation/OperationType.json +2 -2
- package/json-schema/automation/PushNotificationAction.json +2 -2
- package/json-schema/automation/ScheduleState.json +125 -0
- package/json-schema/automation/StateMachine.json +2 -2
- package/json-schema/automation/StateNode.json +2 -2
- package/json-schema/automation/SyncDirection.json +2 -2
- package/json-schema/automation/SyncExecutionResult.json +2 -2
- package/json-schema/automation/SyncExecutionStatus.json +2 -2
- package/json-schema/automation/SyncMode.json +2 -2
- package/json-schema/automation/TaskCreationAction.json +2 -2
- package/json-schema/automation/TimeTrigger.json +2 -2
- package/json-schema/automation/Transition.json +2 -2
- package/json-schema/automation/WaitEventType.json +14 -0
- package/json-schema/automation/WaitExecutorConfig.json +67 -0
- package/json-schema/automation/WaitResumePayload.json +70 -0
- package/json-schema/automation/WaitTimeoutBehavior.json +12 -0
- package/json-schema/automation/Webhook.json +2 -2
- package/json-schema/automation/WebhookReceiver.json +2 -2
- package/json-schema/automation/WebhookTriggerType.json +2 -2
- package/json-schema/automation/WorkflowAction.json +2 -2
- package/json-schema/automation/WorkflowRule.json +2 -2
- package/json-schema/automation/WorkflowTriggerType.json +2 -2
- package/json-schema/cloud/AnalyticsTimeRange.json +2 -2
- package/json-schema/cloud/AppDiscoveryRequest.json +4 -3
- package/json-schema/cloud/AppDiscoveryResponse.json +22 -12
- package/json-schema/cloud/AppSubscription.json +2 -2
- package/json-schema/cloud/ArtifactDownloadResponse.json +46 -0
- package/json-schema/cloud/ArtifactReference.json +48 -0
- package/json-schema/cloud/CreateListingRequest.json +2 -2
- package/json-schema/cloud/CuratedCollection.json +2 -2
- package/json-schema/cloud/FeaturedListing.json +2 -2
- package/json-schema/cloud/InstalledAppSummary.json +2 -2
- package/json-schema/cloud/ListInstalledAppsRequest.json +2 -2
- package/json-schema/cloud/ListInstalledAppsResponse.json +2 -2
- package/json-schema/cloud/ListReviewsRequest.json +2 -2
- package/json-schema/cloud/ListReviewsResponse.json +2 -2
- package/json-schema/cloud/ListingActionRequest.json +2 -2
- package/json-schema/cloud/ListingStatus.json +3 -2
- package/json-schema/cloud/MarketplaceCategory.json +3 -2
- package/json-schema/cloud/MarketplaceHealthMetrics.json +2 -2
- package/json-schema/cloud/MarketplaceInstallRequest.json +51 -2
- package/json-schema/cloud/MarketplaceInstallResponse.json +8 -3
- package/json-schema/cloud/MarketplaceListing.json +69 -5
- package/json-schema/cloud/MarketplaceSearchRequest.json +11 -2
- package/json-schema/cloud/MarketplaceSearchResponse.json +84 -12
- package/json-schema/cloud/PackageSubmission.json +9 -2
- package/json-schema/cloud/PolicyAction.json +2 -2
- package/json-schema/cloud/PolicyViolationType.json +2 -2
- package/json-schema/cloud/PricingModel.json +3 -2
- package/json-schema/cloud/Publisher.json +5 -2
- package/json-schema/cloud/PublisherProfile.json +4 -3
- package/json-schema/cloud/PublisherVerification.json +3 -2
- package/json-schema/cloud/PublishingAnalyticsRequest.json +2 -2
- package/json-schema/cloud/PublishingAnalyticsResponse.json +2 -2
- package/json-schema/cloud/RecommendationReason.json +2 -2
- package/json-schema/cloud/RecommendedApp.json +6 -4
- package/json-schema/cloud/RejectionReason.json +2 -2
- package/json-schema/cloud/ReleaseChannel.json +2 -2
- package/json-schema/cloud/ReviewCriterion.json +2 -2
- package/json-schema/cloud/ReviewDecision.json +2 -2
- package/json-schema/cloud/ReviewModerationStatus.json +2 -2
- package/json-schema/cloud/SubmissionReview.json +2 -2
- package/json-schema/cloud/SubmitReviewRequest.json +2 -2
- package/json-schema/cloud/SubscriptionStatus.json +2 -2
- package/json-schema/cloud/TimeSeriesPoint.json +2 -2
- package/json-schema/cloud/TrendingListing.json +2 -2
- package/json-schema/cloud/UpdateListingRequest.json +2 -2
- package/json-schema/cloud/UserReview.json +2 -2
- package/json-schema/cloud/VersionRelease.json +2 -2
- package/json-schema/data/Address.json +2 -2
- package/json-schema/data/AggregationFunction.json +2 -2
- package/json-schema/data/AggregationMetricType.json +2 -2
- package/json-schema/data/AggregationNode.json +2 -2
- package/json-schema/data/AggregationPipeline.json +2 -2
- package/json-schema/data/AggregationStage.json +2 -2
- package/json-schema/data/AnalyticsQuery.json +2 -2
- package/json-schema/data/ApiMethod.json +2 -2
- package/json-schema/data/AsyncValidation.json +2 -2
- package/json-schema/data/BaseEngineOptions.json +2 -2
- package/json-schema/data/CDCConfig.json +2 -2
- package/json-schema/data/ComputedFieldCache.json +2 -2
- package/json-schema/data/ConditionalValidation.json +2 -2
- package/json-schema/data/ConsistencyLevel.json +2 -2
- package/json-schema/data/CrossFieldValidation.json +2 -2
- package/json-schema/data/Cube.json +2 -2
- package/json-schema/data/CubeJoin.json +2 -2
- package/json-schema/data/CurrencyConfig.json +2 -2
- package/json-schema/data/CurrencyValue.json +2 -2
- package/json-schema/data/CustomValidator.json +2 -2
- package/json-schema/data/DataEngineAggregateOptions.json +2 -2
- package/json-schema/data/DataEngineAggregateRequest.json +2 -2
- package/json-schema/data/DataEngineBatchRequest.json +2 -2
- package/json-schema/data/DataEngineCountOptions.json +2 -2
- package/json-schema/data/DataEngineCountRequest.json +2 -2
- package/json-schema/data/DataEngineDeleteOptions.json +2 -2
- package/json-schema/data/DataEngineDeleteRequest.json +2 -2
- package/json-schema/data/DataEngineExecuteRequest.json +2 -2
- package/json-schema/data/DataEngineFilter.json +2 -2
- package/json-schema/data/DataEngineFindOneRequest.json +2 -2
- package/json-schema/data/DataEngineFindRequest.json +2 -2
- package/json-schema/data/DataEngineInsertOptions.json +2 -2
- package/json-schema/data/DataEngineInsertRequest.json +2 -2
- package/json-schema/data/DataEngineQueryOptions.json +2 -2
- package/json-schema/data/DataEngineRequest.json +2 -2
- package/json-schema/data/DataEngineSort.json +2 -2
- package/json-schema/data/DataEngineUpdateOptions.json +2 -2
- package/json-schema/data/DataEngineUpdateRequest.json +2 -2
- package/json-schema/data/DataEngineVectorFindRequest.json +2 -2
- package/json-schema/data/DataQualityRules.json +2 -2
- package/json-schema/data/DataTypeMapping.json +2 -2
- package/json-schema/data/Dataset.json +2 -2
- package/json-schema/data/DatasetMode.json +2 -2
- package/json-schema/data/Datasource.json +2 -2
- package/json-schema/data/DatasourceCapabilities.json +2 -2
- package/json-schema/data/Dimension.json +2 -2
- package/json-schema/data/DimensionType.json +2 -2
- package/json-schema/data/Document.json +2 -2
- package/json-schema/data/DocumentTemplate.json +2 -2
- package/json-schema/data/DocumentValidationSchema.json +2 -2
- package/json-schema/data/DocumentVersion.json +2 -2
- package/json-schema/data/DriverCapabilities.json +2 -2
- package/json-schema/data/DriverConfig.json +2 -2
- package/json-schema/data/DriverDefinition.json +2 -2
- package/json-schema/data/DriverOptions.json +2 -2
- package/json-schema/data/DriverType.json +2 -2
- package/json-schema/data/ESignatureConfig.json +2 -2
- package/json-schema/data/EqualityOperator.json +2 -2
- package/json-schema/data/ExternalDataSource.json +2 -2
- package/json-schema/data/ExternalFieldMapping.json +2 -2
- package/json-schema/data/ExternalLookup.json +2 -2
- package/json-schema/data/FeedActor.json +2 -2
- package/json-schema/data/FeedFilterMode.json +2 -2
- package/json-schema/data/FeedItem.json +30 -2
- package/json-schema/data/FeedItemType.json +2 -2
- package/json-schema/data/FeedVisibility.json +2 -2
- package/json-schema/data/Field.json +2 -2
- package/json-schema/data/FieldChangeEntry.json +2 -2
- package/json-schema/data/FieldMapping.json +2 -2
- package/json-schema/data/FieldNode.json +2 -2
- package/json-schema/data/FieldReference.json +2 -2
- package/json-schema/data/FieldType.json +2 -2
- package/json-schema/data/FileAttachmentConfig.json +2 -2
- package/json-schema/data/FilterCondition.json +2 -2
- package/json-schema/data/FormatValidation.json +2 -2
- package/json-schema/data/FullTextSearch.json +2 -2
- package/json-schema/data/HookContext.json +2 -2
- package/json-schema/data/HookEvent.json +2 -2
- package/json-schema/data/Index.json +2 -2
- package/json-schema/data/JSONValidation.json +2 -2
- package/json-schema/data/JoinNode.json +2 -2
- package/json-schema/data/JoinStrategy.json +2 -2
- package/json-schema/data/JoinType.json +2 -2
- package/json-schema/data/LocationCoordinates.json +2 -2
- package/json-schema/data/Mapping.json +2 -2
- package/json-schema/data/Mention.json +2 -2
- package/json-schema/data/Metric.json +2 -2
- package/json-schema/data/NoSQLDataTypeMapping.json +2 -2
- package/json-schema/data/NoSQLDatabaseType.json +2 -2
- package/json-schema/data/NoSQLDriverConfig.json +2 -2
- package/json-schema/data/NoSQLIndex.json +2 -2
- package/json-schema/data/NoSQLIndexType.json +2 -2
- package/json-schema/data/NoSQLOperationType.json +2 -2
- package/json-schema/data/NoSQLQueryOptions.json +2 -2
- package/json-schema/data/NoSQLTransactionOptions.json +2 -2
- package/json-schema/data/NotificationChannel.json +2 -2
- package/json-schema/data/Object.json +2 -2
- package/json-schema/data/ObjectCapabilities.json +2 -2
- package/json-schema/data/ObjectExtension.json +2 -2
- package/json-schema/data/ObjectOwnershipEnum.json +2 -2
- package/json-schema/data/PartitioningConfig.json +2 -2
- package/json-schema/data/PoolConfig.json +2 -2
- package/json-schema/data/Query.json +2 -2
- package/json-schema/data/QueryFilter.json +2 -2
- package/json-schema/data/Reaction.json +2 -2
- package/json-schema/data/RecordSubscription.json +2 -2
- package/json-schema/data/ReplicationConfig.json +2 -2
- package/json-schema/data/SQLDialect.json +2 -2
- package/json-schema/data/SQLDriverConfig.json +2 -2
- package/json-schema/data/SSLConfig.json +2 -2
- package/json-schema/data/ScriptValidation.json +2 -2
- package/json-schema/data/SearchConfig.json +2 -2
- package/json-schema/data/SelectOption.json +2 -2
- package/json-schema/data/SetOperator.json +2 -2
- package/json-schema/data/ShardingConfig.json +2 -2
- package/json-schema/data/SoftDeleteConfig.json +2 -2
- package/json-schema/data/SortNode.json +2 -2
- package/json-schema/data/SpecialOperator.json +2 -2
- package/json-schema/data/StateMachineValidation.json +2 -2
- package/json-schema/data/StringOperator.json +2 -2
- package/json-schema/data/SubscriptionEventType.json +2 -2
- package/json-schema/data/TenancyConfig.json +2 -2
- package/json-schema/data/TimeUpdateInterval.json +2 -2
- package/json-schema/data/TransformType.json +2 -2
- package/json-schema/data/UniquenessValidation.json +2 -2
- package/json-schema/data/ValidationRule.json +2 -2
- package/json-schema/data/VectorConfig.json +2 -2
- package/json-schema/data/VersioningConfig.json +2 -2
- package/json-schema/data/WindowFunction.json +2 -2
- package/json-schema/data/WindowFunctionNode.json +2 -2
- package/json-schema/data/WindowSpec.json +2 -2
- package/json-schema/identity/Account.json +2 -2
- package/json-schema/identity/ApiKey.json +2 -2
- package/json-schema/identity/Invitation.json +2 -2
- package/json-schema/identity/InvitationStatus.json +2 -2
- package/json-schema/identity/Member.json +2 -2
- package/json-schema/identity/Organization.json +2 -2
- package/json-schema/identity/Role.json +2 -2
- package/json-schema/identity/SCIMAddress.json +2 -2
- package/json-schema/identity/SCIMBulkOperation.json +2 -2
- package/json-schema/identity/SCIMBulkRequest.json +2 -2
- package/json-schema/identity/SCIMBulkResponse.json +2 -2
- package/json-schema/identity/SCIMBulkResponseOperation.json +2 -2
- package/json-schema/identity/SCIMEmail.json +2 -2
- package/json-schema/identity/SCIMEnterpriseUser.json +2 -2
- package/json-schema/identity/SCIMError.json +2 -2
- package/json-schema/identity/SCIMGroup.json +2 -2
- package/json-schema/identity/SCIMGroupReference.json +2 -2
- package/json-schema/identity/SCIMListResponse.json +2 -2
- package/json-schema/identity/SCIMMemberReference.json +2 -2
- package/json-schema/identity/SCIMMeta.json +2 -2
- package/json-schema/identity/SCIMName.json +2 -2
- package/json-schema/identity/SCIMPatchOperation.json +2 -2
- package/json-schema/identity/SCIMPatchRequest.json +2 -2
- package/json-schema/identity/SCIMPhoneNumber.json +2 -2
- package/json-schema/identity/SCIMUser.json +2 -2
- package/json-schema/identity/Session.json +2 -2
- package/json-schema/identity/User.json +2 -2
- package/json-schema/identity/VerificationToken.json +2 -2
- package/json-schema/integration/AckMode.json +2 -2
- package/json-schema/integration/ApiVersionConfig.json +2 -2
- package/json-schema/integration/BuildConfig.json +2 -2
- package/json-schema/integration/CdcConfig.json +2 -2
- package/json-schema/integration/CircuitBreakerConfig.json +2 -2
- package/json-schema/integration/ConflictResolution.json +2 -2
- package/json-schema/integration/Connector.json +2 -2
- package/json-schema/integration/ConnectorAction.json +2 -2
- package/json-schema/integration/ConnectorHealth.json +2 -2
- package/json-schema/integration/ConnectorStatus.json +2 -2
- package/json-schema/integration/ConnectorTrigger.json +2 -2
- package/json-schema/integration/ConnectorType.json +2 -2
- package/json-schema/integration/ConsumerConfig.json +2 -2
- package/json-schema/integration/DataSyncConfig.json +2 -2
- package/json-schema/integration/DatabaseConnector.json +2 -2
- package/json-schema/integration/DatabasePoolConfig.json +2 -2
- package/json-schema/integration/DatabaseProvider.json +2 -2
- package/json-schema/integration/DatabaseTable.json +2 -2
- package/json-schema/integration/DeliveryGuarantee.json +2 -2
- package/json-schema/integration/DeploymentConfig.json +2 -2
- package/json-schema/integration/DlqConfig.json +2 -2
- package/json-schema/integration/DomainConfig.json +2 -2
- package/json-schema/integration/EdgeFunctionConfig.json +2 -2
- package/json-schema/integration/EnvironmentVariables.json +2 -2
- package/json-schema/integration/ErrorCategory.json +2 -2
- package/json-schema/integration/ErrorMappingConfig.json +2 -2
- package/json-schema/integration/ErrorMappingRule.json +2 -2
- package/json-schema/integration/FieldMapping.json +2 -2
- package/json-schema/integration/FileAccessPattern.json +2 -2
- package/json-schema/integration/FileFilterConfig.json +2 -2
- package/json-schema/integration/FileMetadataConfig.json +2 -2
- package/json-schema/integration/FileStorageConnector.json +2 -2
- package/json-schema/integration/FileStorageProvider.json +2 -2
- package/json-schema/integration/FileVersioningConfig.json +2 -2
- package/json-schema/integration/GitHubActionsWorkflow.json +2 -2
- package/json-schema/integration/GitHubCommitConfig.json +2 -2
- package/json-schema/integration/GitHubConnector.json +2 -2
- package/json-schema/integration/GitHubIssueTracking.json +2 -2
- package/json-schema/integration/GitHubProvider.json +2 -2
- package/json-schema/integration/GitHubPullRequestConfig.json +2 -2
- package/json-schema/integration/GitHubReleaseConfig.json +2 -2
- package/json-schema/integration/GitHubRepository.json +2 -2
- package/json-schema/integration/GitRepositoryConfig.json +2 -2
- package/json-schema/integration/HealthCheckConfig.json +2 -2
- package/json-schema/integration/MessageFormat.json +2 -2
- package/json-schema/integration/MessageQueueConnector.json +2 -2
- package/json-schema/integration/MessageQueueProvider.json +2 -2
- package/json-schema/integration/MultipartUploadConfig.json +2 -2
- package/json-schema/integration/ProducerConfig.json +2 -2
- package/json-schema/integration/RateLimitConfig.json +2 -2
- package/json-schema/integration/RateLimitStrategy.json +2 -2
- package/json-schema/integration/RetryConfig.json +2 -2
- package/json-schema/integration/RetryStrategy.json +2 -2
- package/json-schema/integration/SaasConnector.json +2 -2
- package/json-schema/integration/SaasObjectType.json +2 -2
- package/json-schema/integration/SaasProvider.json +2 -2
- package/json-schema/integration/SslConfig.json +2 -2
- package/json-schema/integration/StorageBucket.json +2 -2
- package/json-schema/integration/SyncStrategy.json +2 -2
- package/json-schema/integration/TopicQueue.json +2 -2
- package/json-schema/integration/VercelConnector.json +2 -2
- package/json-schema/integration/VercelFramework.json +2 -2
- package/json-schema/integration/VercelMonitoring.json +2 -2
- package/json-schema/integration/VercelProject.json +2 -2
- package/json-schema/integration/VercelProvider.json +2 -2
- package/json-schema/integration/VercelTeam.json +2 -2
- package/json-schema/integration/WebhookConfig.json +2 -2
- package/json-schema/integration/WebhookEvent.json +2 -2
- package/json-schema/integration/WebhookSignatureAlgorithm.json +2 -2
- package/json-schema/kernel/ActivationEvent.json +2 -2
- package/json-schema/kernel/AdvancedPluginLifecycleConfig.json +2 -2
- package/json-schema/kernel/ArtifactChecksum.json +35 -0
- package/json-schema/kernel/ArtifactFileEntry.json +45 -0
- package/json-schema/kernel/ArtifactSignature.json +44 -0
- package/json-schema/kernel/BreakingChange.json +2 -2
- package/json-schema/kernel/CLICommandContribution.json +2 -2
- package/json-schema/kernel/CapabilityConformanceLevel.json +2 -2
- package/json-schema/kernel/CompatibilityLevel.json +2 -2
- package/json-schema/kernel/CompatibilityMatrixEntry.json +2 -2
- package/json-schema/kernel/CustomizationOrigin.json +2 -2
- package/json-schema/kernel/CustomizationPolicy.json +2 -2
- package/json-schema/kernel/DeadLetterQueueEntry.json +2 -2
- package/json-schema/kernel/DependencyConflict.json +2 -2
- package/json-schema/kernel/DependencyGraph.json +2 -2
- package/json-schema/kernel/DependencyGraphNode.json +2 -2
- package/json-schema/kernel/DependencyResolutionResult.json +64 -112
- package/json-schema/kernel/DependencyStatusEnum.json +13 -0
- package/json-schema/kernel/DeprecationNotice.json +2 -2
- package/json-schema/kernel/DevFixtureConfig.json +2 -2
- package/json-schema/kernel/DevPluginConfig.json +2 -2
- package/json-schema/kernel/DevPluginPreset.json +2 -2
- package/json-schema/kernel/DevServiceOverride.json +2 -2
- package/json-schema/kernel/DevToolsConfig.json +2 -2
- package/json-schema/kernel/DisablePackageRequest.json +5 -3
- package/json-schema/kernel/DisablePackageResponse.json +83 -4
- package/json-schema/kernel/DistributedStateConfig.json +2 -2
- package/json-schema/kernel/DynamicLoadRequest.json +2 -2
- package/json-schema/kernel/DynamicLoadingConfig.json +2 -2
- package/json-schema/kernel/DynamicPluginOperation.json +2 -2
- package/json-schema/kernel/DynamicPluginResult.json +2 -2
- package/json-schema/kernel/DynamicUnloadRequest.json +2 -2
- package/json-schema/kernel/EnablePackageRequest.json +5 -3
- package/json-schema/kernel/EnablePackageResponse.json +83 -4
- package/json-schema/kernel/Event.json +2 -2
- package/json-schema/kernel/EventBusConfig.json +2 -2
- package/json-schema/kernel/EventHandler.json +2 -2
- package/json-schema/kernel/EventLogEntry.json +2 -2
- package/json-schema/kernel/EventMessageQueueConfig.json +2 -2
- package/json-schema/kernel/EventMetadata.json +2 -2
- package/json-schema/kernel/EventPersistence.json +2 -2
- package/json-schema/kernel/EventPhase.json +2 -2
- package/json-schema/kernel/EventPriority.json +2 -2
- package/json-schema/kernel/EventQueueConfig.json +2 -2
- package/json-schema/kernel/EventReplayConfig.json +2 -2
- package/json-schema/kernel/EventRoute.json +2 -2
- package/json-schema/kernel/EventSourcingConfig.json +2 -2
- package/json-schema/kernel/EventTypeDefinition.json +2 -2
- package/json-schema/kernel/EventWebhookConfig.json +2 -2
- package/json-schema/kernel/ExecutionContext.json +2 -2
- package/json-schema/kernel/ExtensionPoint.json +2 -2
- package/json-schema/kernel/FeatureFlag.json +2 -2
- package/json-schema/kernel/FeatureStrategy.json +2 -2
- package/json-schema/kernel/FieldChange.json +2 -2
- package/json-schema/kernel/GetPackageRequest.json +5 -3
- package/json-schema/kernel/GetPackageResponse.json +82 -4
- package/json-schema/kernel/GracefulDegradation.json +2 -2
- package/json-schema/kernel/HealthStatus.json +2 -2
- package/json-schema/kernel/HookRegisteredEvent.json +2 -2
- package/json-schema/kernel/HookTriggeredEvent.json +2 -2
- package/json-schema/kernel/HotReloadConfig.json +2 -2
- package/json-schema/kernel/InstallPackageRequest.json +26 -3
- package/json-schema/kernel/InstallPackageResponse.json +196 -4
- package/json-schema/kernel/InstalledPackage.json +80 -3
- package/json-schema/kernel/KernelContext.json +2 -2
- package/json-schema/kernel/KernelEventBase.json +2 -2
- package/json-schema/kernel/KernelReadyEvent.json +2 -2
- package/json-schema/kernel/KernelSecurityPolicy.json +2 -2
- package/json-schema/kernel/KernelSecurityScanResult.json +2 -2
- package/json-schema/kernel/KernelSecurityVulnerability.json +2 -2
- package/json-schema/kernel/KernelShutdownEvent.json +2 -2
- package/json-schema/kernel/ListPackagesRequest.json +7 -4
- package/json-schema/kernel/ListPackagesResponse.json +86 -6
- package/json-schema/kernel/Manifest.json +17 -2
- package/json-schema/kernel/MergeConflict.json +2 -2
- package/json-schema/kernel/MergeResult.json +2 -2
- package/json-schema/kernel/MergeStrategyConfig.json +2 -2
- package/json-schema/kernel/MetadataBulkRegisterRequest.json +2 -2
- package/json-schema/kernel/MetadataBulkResult.json +2 -2
- package/json-schema/kernel/MetadataCategoryEnum.json +24 -0
- package/json-schema/kernel/MetadataChangeType.json +3 -2
- package/json-schema/kernel/MetadataCollectionInfo.json +2 -2
- package/json-schema/kernel/MetadataDependency.json +2 -2
- package/json-schema/kernel/MetadataDiffItem.json +5 -3
- package/json-schema/kernel/MetadataEvent.json +2 -2
- package/json-schema/kernel/MetadataExportOptions.json +2 -2
- package/json-schema/kernel/MetadataFallbackStrategy.json +2 -2
- package/json-schema/kernel/MetadataFormat.json +2 -2
- package/json-schema/kernel/MetadataImportOptions.json +2 -2
- package/json-schema/kernel/MetadataLoadOptions.json +2 -2
- package/json-schema/kernel/MetadataLoadResult.json +2 -2
- package/json-schema/kernel/MetadataLoaderContract.json +2 -2
- package/json-schema/kernel/MetadataManagerConfig.json +2 -2
- package/json-schema/kernel/MetadataOverlay.json +2 -2
- package/json-schema/kernel/MetadataPluginConfig.json +2 -2
- package/json-schema/kernel/MetadataPluginManifest.json +2 -2
- package/json-schema/kernel/MetadataQuery.json +2 -2
- package/json-schema/kernel/MetadataQueryResult.json +2 -2
- package/json-schema/kernel/MetadataSaveOptions.json +2 -2
- package/json-schema/kernel/MetadataSaveResult.json +2 -2
- package/json-schema/kernel/MetadataStats.json +2 -2
- package/json-schema/kernel/MetadataType.json +2 -2
- package/json-schema/kernel/MetadataTypeRegistryEntry.json +2 -2
- package/json-schema/kernel/MetadataValidationResult.json +2 -2
- package/json-schema/kernel/MetadataWatchEvent.json +2 -2
- package/json-schema/kernel/MultiVersionSupport.json +2 -2
- package/json-schema/kernel/NamespaceConflictError.json +37 -0
- package/json-schema/kernel/NamespaceRegistryEntry.json +39 -0
- package/json-schema/kernel/OclifPluginConfig.json +2 -2
- package/json-schema/kernel/OpsDomainModule.json +2 -2
- package/json-schema/kernel/OpsFilePath.json +2 -2
- package/json-schema/kernel/OpsPluginStructure.json +2 -2
- package/json-schema/kernel/PackageArtifact.json +200 -0
- package/json-schema/kernel/PackageDependency.json +2 -2
- package/json-schema/kernel/PackageDependencyConflict.json +2 -2
- package/json-schema/kernel/PackageDependencyResolutionResult.json +2 -2
- package/json-schema/kernel/PackageStatusEnum.json +3 -2
- package/json-schema/kernel/Permission.json +2 -2
- package/json-schema/kernel/PermissionAction.json +2 -2
- package/json-schema/kernel/PermissionScope.json +2 -2
- package/json-schema/kernel/PermissionSet.json +2 -2
- package/json-schema/kernel/PluginBuildOptions.json +73 -0
- package/json-schema/kernel/PluginBuildResult.json +245 -0
- package/json-schema/kernel/PluginCaching.json +2 -2
- package/json-schema/kernel/PluginCapability.json +2 -2
- package/json-schema/kernel/PluginCapabilityManifest.json +2 -2
- package/json-schema/kernel/PluginCodeSplitting.json +2 -2
- package/json-schema/kernel/PluginCompatibilityMatrix.json +2 -2
- package/json-schema/kernel/PluginDependency.json +2 -2
- package/json-schema/kernel/PluginDependencyResolution.json +2 -2
- package/json-schema/kernel/PluginDependencyResolutionResult.json +164 -0
- package/json-schema/kernel/PluginDiscoveryConfig.json +2 -2
- package/json-schema/kernel/PluginDiscoverySource.json +2 -2
- package/json-schema/kernel/PluginDynamicImport.json +2 -2
- package/json-schema/kernel/PluginErrorEvent.json +2 -2
- package/json-schema/kernel/PluginEventBase.json +2 -2
- package/json-schema/kernel/PluginHealthCheck.json +2 -2
- package/json-schema/kernel/PluginHealthReport.json +2 -2
- package/json-schema/kernel/PluginHealthStatus.json +2 -2
- package/json-schema/kernel/PluginHotReload.json +2 -2
- package/json-schema/kernel/PluginInitialization.json +2 -2
- package/json-schema/kernel/PluginInstallConfig.json +2 -2
- package/json-schema/kernel/PluginInterface.json +2 -2
- package/json-schema/kernel/PluginLifecycleEventType.json +2 -2
- package/json-schema/kernel/PluginLifecyclePhaseEvent.json +2 -2
- package/json-schema/kernel/PluginLoadingConfig.json +2 -2
- package/json-schema/kernel/PluginLoadingEvent.json +2 -2
- package/json-schema/kernel/PluginLoadingState.json +2 -2
- package/json-schema/kernel/PluginLoadingStrategy.json +2 -2
- package/json-schema/kernel/PluginMetadata.json +2 -2
- package/json-schema/kernel/PluginPerformanceMonitoring.json +2 -2
- package/json-schema/kernel/PluginPreloadConfig.json +2 -2
- package/json-schema/kernel/PluginProvenance.json +2 -2
- package/json-schema/kernel/PluginPublishOptions.json +59 -0
- package/json-schema/kernel/PluginPublishResult.json +46 -0
- package/json-schema/kernel/PluginQualityMetrics.json +2 -2
- package/json-schema/kernel/PluginRegisteredEvent.json +2 -2
- package/json-schema/kernel/PluginRegistryEntry.json +2 -2
- package/json-schema/kernel/PluginSandboxing.json +2 -2
- package/json-schema/kernel/PluginSearchFilters.json +2 -2
- package/json-schema/kernel/PluginSecurityManifest.json +2 -2
- package/json-schema/kernel/PluginSource.json +2 -2
- package/json-schema/kernel/PluginStartupResult.json +2 -2
- package/json-schema/kernel/PluginStateSnapshot.json +2 -2
- package/json-schema/kernel/PluginStatistics.json +2 -2
- package/json-schema/kernel/PluginTrustLevel.json +2 -2
- package/json-schema/kernel/PluginTrustScore.json +2 -2
- package/json-schema/kernel/PluginUpdateStrategy.json +2 -2
- package/json-schema/kernel/PluginValidateOptions.json +43 -0
- package/json-schema/kernel/PluginValidateResult.json +416 -0
- package/json-schema/kernel/PluginVendor.json +2 -2
- package/json-schema/kernel/PluginVersionMetadata.json +2 -2
- package/json-schema/kernel/PreviewModeConfig.json +2 -2
- package/json-schema/kernel/ProtocolFeature.json +2 -2
- package/json-schema/kernel/ProtocolReference.json +2 -2
- package/json-schema/kernel/ProtocolVersion.json +2 -2
- package/json-schema/kernel/RealTimeNotificationConfig.json +2 -2
- package/json-schema/kernel/RequiredAction.json +32 -0
- package/json-schema/kernel/ResolvedDependency.json +45 -0
- package/json-schema/kernel/ResourceType.json +2 -2
- package/json-schema/kernel/RollbackPackageRequest.json +3 -2
- package/json-schema/kernel/RollbackPackageResponse.json +6 -3
- package/json-schema/kernel/RuntimeConfig.json +2 -2
- package/json-schema/kernel/RuntimeMode.json +2 -2
- package/json-schema/kernel/SBOM.json +2 -2
- package/json-schema/kernel/SBOMEntry.json +2 -2
- package/json-schema/kernel/SandboxConfig.json +2 -2
- package/json-schema/kernel/ScopeConfig.json +2 -2
- package/json-schema/kernel/ScopeInfo.json +2 -2
- package/json-schema/kernel/SecurityPolicy.json +2 -2
- package/json-schema/kernel/SecurityScanResult.json +2 -2
- package/json-schema/kernel/SecurityVulnerability.json +2 -2
- package/json-schema/kernel/SemanticVersion.json +2 -2
- package/json-schema/kernel/ServiceFactoryRegistration.json +2 -2
- package/json-schema/kernel/ServiceMetadata.json +2 -2
- package/json-schema/kernel/ServiceRegisteredEvent.json +2 -2
- package/json-schema/kernel/ServiceRegistryConfig.json +2 -2
- package/json-schema/kernel/ServiceScopeType.json +2 -2
- package/json-schema/kernel/ServiceUnregisteredEvent.json +2 -2
- package/json-schema/kernel/StartupOptions.json +2 -2
- package/json-schema/kernel/StartupOrchestrationResult.json +2 -2
- package/json-schema/kernel/UninstallPackageRequest.json +5 -3
- package/json-schema/kernel/UninstallPackageResponse.json +8 -4
- package/json-schema/kernel/UpgradeContext.json +35 -0
- package/json-schema/kernel/UpgradeImpactLevel.json +3 -2
- package/json-schema/kernel/UpgradePackageRequest.json +18 -2
- package/json-schema/kernel/UpgradePackageResponse.json +13 -6
- package/json-schema/kernel/UpgradePhase.json +3 -2
- package/json-schema/kernel/UpgradePlan.json +9 -5
- package/json-schema/kernel/UpgradeSnapshot.json +20 -3
- package/json-schema/kernel/ValidationError.json +2 -2
- package/json-schema/kernel/ValidationFinding.json +36 -0
- package/json-schema/kernel/ValidationResult.json +2 -2
- package/json-schema/kernel/ValidationSeverityEnum.json +12 -0
- package/json-schema/kernel/ValidationWarning.json +2 -2
- package/json-schema/kernel/VersionConstraint.json +2 -2
- package/json-schema/kernel/VulnerabilitySeverity.json +2 -2
- package/json-schema/objectstack.json +48338 -21882
- package/json-schema/openapi.json +1 -1
- package/json-schema/qa/TestAction.json +2 -2
- package/json-schema/qa/TestActionType.json +2 -2
- package/json-schema/qa/TestAssertion.json +2 -2
- package/json-schema/qa/TestAssertionType.json +2 -2
- package/json-schema/qa/TestContext.json +2 -2
- package/json-schema/qa/TestScenario.json +2 -2
- package/json-schema/qa/TestStep.json +2 -2
- package/json-schema/qa/TestSuite.json +2 -2
- package/json-schema/security/AuditPolicy.json +2 -2
- package/json-schema/security/CriteriaSharingRule.json +2 -2
- package/json-schema/security/FieldPermission.json +2 -2
- package/json-schema/security/NetworkPolicy.json +2 -2
- package/json-schema/security/OWDModel.json +2 -2
- package/json-schema/security/ObjectPermission.json +2 -2
- package/json-schema/security/OwnerSharingRule.json +2 -2
- package/json-schema/security/PasswordPolicy.json +2 -2
- package/json-schema/security/PermissionSet.json +2 -2
- package/json-schema/security/Policy.json +2 -2
- package/json-schema/security/RLSAuditConfig.json +2 -2
- package/json-schema/security/RLSAuditEvent.json +2 -2
- package/json-schema/security/RLSConfig.json +2 -2
- package/json-schema/security/RLSEvaluationResult.json +2 -2
- package/json-schema/security/RLSOperation.json +2 -2
- package/json-schema/security/RLSUserContext.json +2 -2
- package/json-schema/security/RowLevelSecurityPolicy.json +2 -2
- package/json-schema/security/SessionPolicy.json +2 -2
- package/json-schema/security/ShareRecipientType.json +2 -2
- package/json-schema/security/SharingLevel.json +2 -2
- package/json-schema/security/SharingRule.json +2 -2
- package/json-schema/security/SharingRuleType.json +2 -2
- package/json-schema/security/Territory.json +2 -2
- package/json-schema/security/TerritoryModel.json +2 -2
- package/json-schema/security/TerritoryType.json +2 -2
- package/json-schema/shared/AggregationFunctionEnum.json +2 -2
- package/json-schema/shared/AppName.json +2 -2
- package/json-schema/shared/BaseMetadataRecord.json +2 -2
- package/json-schema/shared/CacheStrategyEnum.json +2 -2
- package/json-schema/shared/CorsConfig.json +2 -2
- package/json-schema/shared/EventName.json +2 -2
- package/json-schema/shared/FieldMapping.json +2 -2
- package/json-schema/shared/FieldName.json +2 -2
- package/json-schema/shared/FlowName.json +2 -2
- package/json-schema/shared/HttpMethod.json +2 -2
- package/json-schema/shared/IsolationLevelEnum.json +2 -2
- package/json-schema/shared/MetadataFormat.json +2 -2
- package/json-schema/shared/MutationEventEnum.json +2 -2
- package/json-schema/shared/ObjectName.json +2 -2
- package/json-schema/shared/RateLimitConfig.json +2 -2
- package/json-schema/shared/RoleName.json +2 -2
- package/json-schema/shared/SnakeCaseIdentifier.json +2 -2
- package/json-schema/shared/SortDirectionEnum.json +2 -2
- package/json-schema/shared/SortItem.json +2 -2
- package/json-schema/shared/StaticMount.json +2 -2
- package/json-schema/shared/SystemIdentifier.json +2 -2
- package/json-schema/shared/TransformType.json +2 -2
- package/json-schema/shared/ViewName.json +2 -2
- package/json-schema/studio/ActionContribution.json +2 -2
- package/json-schema/studio/ActionLocation.json +2 -2
- package/json-schema/studio/ActivationEvent.json +2 -2
- package/json-schema/studio/CanvasSnapSettings.json +2 -2
- package/json-schema/studio/CanvasZoomSettings.json +2 -2
- package/json-schema/studio/CommandContribution.json +2 -2
- package/json-schema/studio/ERDiagramConfig.json +2 -2
- package/json-schema/studio/ERLayoutAlgorithm.json +2 -2
- package/json-schema/studio/ERNodeDisplay.json +2 -2
- package/json-schema/studio/ElementPaletteItem.json +2 -2
- package/json-schema/studio/FieldEditorConfig.json +2 -2
- package/json-schema/studio/FieldGroup.json +2 -2
- package/json-schema/studio/FieldPropertySection.json +2 -2
- package/json-schema/studio/FlowBuilderConfig.json +240 -0
- package/json-schema/studio/FlowCanvasEdge.json +71 -0
- package/json-schema/studio/FlowCanvasEdgeStyle.json +13 -0
- package/json-schema/studio/FlowCanvasNode.json +57 -0
- package/json-schema/studio/FlowLayoutAlgorithm.json +13 -0
- package/json-schema/studio/FlowLayoutDirection.json +13 -0
- package/json-schema/studio/FlowNodeRenderDescriptor.json +88 -0
- package/json-schema/studio/FlowNodeShape.json +17 -0
- package/json-schema/studio/InterfaceBuilderConfig.json +2 -2
- package/json-schema/studio/MetadataIconContribution.json +2 -2
- package/json-schema/studio/MetadataViewerContribution.json +2 -2
- package/json-schema/studio/ObjectDesignerConfig.json +2 -2
- package/json-schema/studio/ObjectDesignerDefaultView.json +2 -2
- package/json-schema/studio/ObjectFilter.json +2 -2
- package/json-schema/studio/ObjectListDisplayMode.json +2 -2
- package/json-schema/studio/ObjectManagerConfig.json +2 -2
- package/json-schema/studio/ObjectPreviewConfig.json +2 -2
- package/json-schema/studio/ObjectPreviewTab.json +2 -2
- package/json-schema/studio/ObjectSortField.json +2 -2
- package/json-schema/studio/PageBuilderConfig.json +2 -2
- package/json-schema/studio/PanelContribution.json +2 -2
- package/json-schema/studio/PanelLocation.json +2 -2
- package/json-schema/studio/RelationshipDisplay.json +2 -2
- package/json-schema/studio/RelationshipMapperConfig.json +2 -2
- package/json-schema/studio/SidebarGroupContribution.json +2 -2
- package/json-schema/studio/StudioPluginContributions.json +2 -2
- package/json-schema/studio/StudioPluginManifest.json +2 -2
- package/json-schema/studio/ViewMode.json +2 -2
- package/json-schema/system/AccessControlConfig.json +2 -2
- package/json-schema/system/AddFieldOperation.json +2 -2
- package/json-schema/system/AnalyzerConfig.json +2 -2
- package/json-schema/system/AuditConfig.json +2 -2
- package/json-schema/system/AuditEvent.json +2 -2
- package/json-schema/system/AuditEventActor.json +2 -2
- package/json-schema/system/AuditEventChange.json +2 -2
- package/json-schema/system/AuditEventFilter.json +2 -2
- package/json-schema/system/AuditEventSeverity.json +2 -2
- package/json-schema/system/AuditEventTarget.json +2 -2
- package/json-schema/system/AuditEventType.json +2 -2
- package/json-schema/system/AuditLogConfig.json +2 -2
- package/json-schema/system/AuditRetentionPolicy.json +2 -2
- package/json-schema/system/AuditStorageConfig.json +2 -2
- package/json-schema/system/AuthConfig.json +2 -2
- package/json-schema/system/AuthPluginConfig.json +2 -2
- package/json-schema/system/AuthProviderConfig.json +2 -2
- package/json-schema/system/AwarenessEvent.json +2 -2
- package/json-schema/system/AwarenessSession.json +2 -2
- package/json-schema/system/AwarenessUpdate.json +2 -2
- package/json-schema/system/AwarenessUserState.json +2 -2
- package/json-schema/system/BackupConfig.json +2 -2
- package/json-schema/system/BackupRetention.json +2 -2
- package/json-schema/system/BackupStrategy.json +2 -2
- package/json-schema/system/BatchProgress.json +2 -2
- package/json-schema/system/BucketConfig.json +2 -2
- package/json-schema/system/CRDTMergeResult.json +2 -2
- package/json-schema/system/CRDTState.json +2 -2
- package/json-schema/system/CRDTType.json +2 -2
- package/json-schema/system/CacheAvalanchePrevention.json +2 -2
- package/json-schema/system/CacheConfig.json +2 -2
- package/json-schema/system/CacheConsistency.json +2 -2
- package/json-schema/system/CacheInvalidation.json +2 -2
- package/json-schema/system/CacheStrategy.json +2 -2
- package/json-schema/system/CacheTier.json +2 -2
- package/json-schema/system/CacheWarmup.json +2 -2
- package/json-schema/system/ChangeImpact.json +2 -2
- package/json-schema/system/ChangePriority.json +2 -2
- package/json-schema/system/ChangeRequest.json +2 -2
- package/json-schema/system/ChangeSet.json +2 -2
- package/json-schema/system/ChangeStatus.json +2 -2
- package/json-schema/system/ChangeType.json +2 -2
- package/json-schema/system/CollaborationMode.json +2 -2
- package/json-schema/system/CollaborationSession.json +2 -2
- package/json-schema/system/CollaborationSessionConfig.json +2 -2
- package/json-schema/system/CollaborativeCursor.json +2 -2
- package/json-schema/system/ComplianceAuditRequirement.json +2 -2
- package/json-schema/system/ComplianceConfig.json +2 -2
- package/json-schema/system/ComplianceEncryptionRequirement.json +2 -2
- package/json-schema/system/ConsoleDestinationConfig.json +2 -2
- package/json-schema/system/ConsumerConfig.json +2 -2
- package/json-schema/system/CoreServiceName.json +2 -2
- package/json-schema/system/CounterOperation.json +2 -2
- package/json-schema/system/CreateObjectOperation.json +2 -2
- package/json-schema/system/CronSchedule.json +2 -2
- package/json-schema/system/CursorColorPreset.json +2 -2
- package/json-schema/system/CursorSelection.json +2 -2
- package/json-schema/system/CursorStyle.json +2 -2
- package/json-schema/system/CursorUpdate.json +2 -2
- package/json-schema/system/DataClassificationPolicy.json +2 -2
- package/json-schema/system/DatabaseLevelIsolationStrategy.json +2 -2
- package/json-schema/system/DeadLetterQueue.json +2 -2
- package/json-schema/system/DeleteObjectOperation.json +2 -2
- package/json-schema/system/DisasterRecoveryPlan.json +2 -2
- package/json-schema/system/DistributedCacheConfig.json +2 -2
- package/json-schema/system/EmailTemplate.json +2 -2
- package/json-schema/system/EncryptionAlgorithm.json +2 -2
- package/json-schema/system/EncryptionConfig.json +2 -2
- package/json-schema/system/ExecuteSqlOperation.json +2 -2
- package/json-schema/system/ExtendedLogLevel.json +2 -2
- package/json-schema/system/ExternalServiceDestinationConfig.json +2 -2
- package/json-schema/system/FacetConfig.json +2 -2
- package/json-schema/system/FailoverConfig.json +2 -2
- package/json-schema/system/FailoverMode.json +2 -2
- package/json-schema/system/Feature.json +2 -2
- package/json-schema/system/FieldEncryption.json +2 -2
- package/json-schema/system/FieldTranslation.json +2 -2
- package/json-schema/system/FileDestinationConfig.json +2 -2
- package/json-schema/system/FileMetadata.json +2 -2
- package/json-schema/system/GCounter.json +2 -2
- package/json-schema/system/GDPRConfig.json +2 -2
- package/json-schema/system/HIPAAConfig.json +2 -2
- package/json-schema/system/HistogramBucketConfig.json +2 -2
- package/json-schema/system/HttpDestinationConfig.json +2 -2
- package/json-schema/system/HttpServerConfig.json +2 -2
- package/json-schema/system/InAppNotification.json +2 -2
- package/json-schema/system/IntervalSchedule.json +2 -2
- package/json-schema/system/Job.json +2 -2
- package/json-schema/system/JobExecution.json +2 -2
- package/json-schema/system/JobExecutionStatus.json +2 -2
- package/json-schema/system/KernelServiceMap.json +2 -2
- package/json-schema/system/KeyManagementProvider.json +2 -2
- package/json-schema/system/KeyRotationPolicy.json +2 -2
- package/json-schema/system/LWWRegister.json +2 -2
- package/json-schema/system/LevelIsolationStrategySchema.json +2 -2
- package/json-schema/system/License.json +2 -2
- package/json-schema/system/LicenseMetricType.json +2 -2
- package/json-schema/system/LifecycleAction.json +2 -2
- package/json-schema/system/LifecyclePolicyConfig.json +2 -2
- package/json-schema/system/LifecyclePolicyRule.json +2 -2
- package/json-schema/system/Locale.json +2 -2
- package/json-schema/system/LogDestination.json +2 -2
- package/json-schema/system/LogDestinationType.json +2 -2
- package/json-schema/system/LogEnrichmentConfig.json +2 -2
- package/json-schema/system/LogEntry.json +2 -2
- package/json-schema/system/LogFormat.json +2 -2
- package/json-schema/system/LogLevel.json +2 -2
- package/json-schema/system/LoggerConfig.json +2 -2
- package/json-schema/system/LoggingConfig.json +2 -2
- package/json-schema/system/MaskingConfig.json +2 -2
- package/json-schema/system/MaskingRule.json +2 -2
- package/json-schema/system/MaskingStrategy.json +2 -2
- package/json-schema/system/MaskingVisibilityRule.json +2 -2
- package/json-schema/system/MessageQueueConfig.json +2 -2
- package/json-schema/system/MessageQueueProvider.json +2 -2
- package/json-schema/system/MetadataCollectionInfo.json +2 -2
- package/json-schema/system/MetadataExportOptions.json +2 -2
- package/json-schema/system/MetadataFallbackStrategy.json +2 -2
- package/json-schema/system/MetadataFormat.json +2 -2
- package/json-schema/system/MetadataImportOptions.json +2 -2
- package/json-schema/system/MetadataLoadOptions.json +2 -2
- package/json-schema/system/MetadataLoadResult.json +2 -2
- package/json-schema/system/MetadataLoaderContract.json +2 -2
- package/json-schema/system/MetadataManagerConfig.json +2 -2
- package/json-schema/system/MetadataRecord.json +2 -2
- package/json-schema/system/MetadataSaveOptions.json +2 -2
- package/json-schema/system/MetadataSaveResult.json +2 -2
- package/json-schema/system/MetadataScope.json +2 -2
- package/json-schema/system/MetadataSource.json +2 -2
- package/json-schema/system/MetadataState.json +2 -2
- package/json-schema/system/MetadataStats.json +2 -2
- package/json-schema/system/MetadataWatchEvent.json +2 -2
- package/json-schema/system/MetricAggregationConfig.json +2 -2
- package/json-schema/system/MetricAggregationType.json +2 -2
- package/json-schema/system/MetricDataPoint.json +2 -2
- package/json-schema/system/MetricDefinition.json +2 -2
- package/json-schema/system/MetricExportConfig.json +2 -2
- package/json-schema/system/MetricLabels.json +2 -2
- package/json-schema/system/MetricType.json +2 -2
- package/json-schema/system/MetricUnit.json +2 -2
- package/json-schema/system/MetricsConfig.json +2 -2
- package/json-schema/system/MiddlewareConfig.json +2 -2
- package/json-schema/system/MiddlewareType.json +2 -2
- package/json-schema/system/MigrationDependency.json +2 -2
- package/json-schema/system/MigrationOperation.json +2 -2
- package/json-schema/system/ModifyFieldOperation.json +2 -2
- package/json-schema/system/MultipartUploadConfig.json +2 -2
- package/json-schema/system/MutualTLSConfig.json +2 -2
- package/json-schema/system/NotificationChannel.json +2 -2
- package/json-schema/system/NotificationConfig.json +2 -2
- package/json-schema/system/ORSet.json +2 -2
- package/json-schema/system/ORSetElement.json +2 -2
- package/json-schema/system/OTComponent.json +2 -2
- package/json-schema/system/OTOperation.json +2 -2
- package/json-schema/system/OTOperationType.json +2 -2
- package/json-schema/system/OTTransformResult.json +2 -2
- package/json-schema/system/ObjectMetadata.json +2 -2
- package/json-schema/system/ObjectStorageConfig.json +2 -2
- package/json-schema/system/ObjectTranslationData.json +2 -2
- package/json-schema/system/OnceSchedule.json +2 -2
- package/json-schema/system/OpenTelemetryCompatibility.json +2 -2
- package/json-schema/system/OtelExporterType.json +2 -2
- package/json-schema/system/PCIDSSConfig.json +2 -2
- package/json-schema/system/PNCounter.json +2 -2
- package/json-schema/system/Plan.json +2 -2
- package/json-schema/system/PresignedUrlConfig.json +2 -2
- package/json-schema/system/PushNotification.json +2 -2
- package/json-schema/system/QueueConfig.json +2 -2
- package/json-schema/system/RPO.json +2 -2
- package/json-schema/system/RTO.json +2 -2
- package/json-schema/system/RegistryConfig.json +2 -2
- package/json-schema/system/RegistrySyncPolicy.json +2 -2
- package/json-schema/system/RegistryUpstream.json +2 -2
- package/json-schema/system/RemoveFieldOperation.json +2 -2
- package/json-schema/system/RenameObjectOperation.json +2 -2
- package/json-schema/system/RetryPolicy.json +2 -2
- package/json-schema/system/RollbackPlan.json +2 -2
- package/json-schema/system/RouteHandlerMetadata.json +2 -2
- package/json-schema/system/RowLevelIsolationStrategy.json +2 -2
- package/json-schema/system/SMSTemplate.json +2 -2
- package/json-schema/system/SamplingDecision.json +2 -2
- package/json-schema/system/SamplingStrategyType.json +2 -2
- package/json-schema/system/Schedule.json +2 -2
- package/json-schema/system/SearchConfig.json +2 -2
- package/json-schema/system/SearchIndexConfig.json +2 -2
- package/json-schema/system/SearchProvider.json +2 -2
- package/json-schema/system/SecurityContextConfig.json +2 -2
- package/json-schema/system/SecurityEventCorrelation.json +2 -2
- package/json-schema/system/ServerCapabilities.json +2 -2
- package/json-schema/system/ServerEvent.json +2 -2
- package/json-schema/system/ServerEventType.json +2 -2
- package/json-schema/system/ServerStatus.json +2 -2
- package/json-schema/system/ServiceConfig.json +2 -2
- package/json-schema/system/ServiceCriticality.json +2 -2
- package/json-schema/system/ServiceLevelIndicator.json +2 -2
- package/json-schema/system/ServiceLevelObjective.json +2 -2
- package/json-schema/system/ServiceStatus.json +2 -2
- package/json-schema/system/Span.json +2 -2
- package/json-schema/system/SpanAttributeValue.json +2 -2
- package/json-schema/system/SpanAttributes.json +2 -2
- package/json-schema/system/SpanEvent.json +2 -2
- package/json-schema/system/SpanKind.json +2 -2
- package/json-schema/system/SpanLink.json +2 -2
- package/json-schema/system/SpanStatus.json +2 -2
- package/json-schema/system/StorageAcl.json +2 -2
- package/json-schema/system/StorageClass.json +2 -2
- package/json-schema/system/StorageConnection.json +2 -2
- package/json-schema/system/StorageProvider.json +2 -2
- package/json-schema/system/StorageScope.json +2 -2
- package/json-schema/system/StructuredLogEntry.json +2 -2
- package/json-schema/system/SuspiciousActivityRule.json +2 -2
- package/json-schema/system/Task.json +2 -2
- package/json-schema/system/TaskExecutionResult.json +2 -2
- package/json-schema/system/TaskPriority.json +2 -2
- package/json-schema/system/TaskRetryPolicy.json +2 -2
- package/json-schema/system/TaskStatus.json +2 -2
- package/json-schema/system/Tenant.json +2 -2
- package/json-schema/system/TenantIsolationConfig.json +2 -2
- package/json-schema/system/TenantIsolationLevel.json +2 -2
- package/json-schema/system/TenantQuota.json +2 -2
- package/json-schema/system/TenantSecurityPolicy.json +2 -2
- package/json-schema/system/TextCRDTOperation.json +2 -2
- package/json-schema/system/TextCRDTState.json +2 -2
- package/json-schema/system/TimeSeries.json +2 -2
- package/json-schema/system/TimeSeriesDataPoint.json +2 -2
- package/json-schema/system/TopicConfig.json +2 -2
- package/json-schema/system/TraceContext.json +2 -2
- package/json-schema/system/TraceContextPropagation.json +2 -2
- package/json-schema/system/TraceFlags.json +2 -2
- package/json-schema/system/TracePropagationFormat.json +2 -2
- package/json-schema/system/TraceSamplingConfig.json +2 -2
- package/json-schema/system/TraceState.json +2 -2
- package/json-schema/system/TracingConfig.json +2 -2
- package/json-schema/system/TranslationBundle.json +2 -2
- package/json-schema/system/TranslationConfig.json +2 -2
- package/json-schema/system/TranslationData.json +2 -2
- package/json-schema/system/TranslationFileOrganization.json +2 -2
- package/json-schema/system/UserActivityStatus.json +2 -2
- package/json-schema/system/VectorClock.json +2 -2
- package/json-schema/system/WorkerStats.json +2 -2
- package/json-schema/ui/AIChatWindowProps.json +2 -2
- package/json-schema/ui/Action.json +2 -2
- package/json-schema/ui/ActionNavItem.json +2 -2
- package/json-schema/ui/ActionParam.json +2 -2
- package/json-schema/ui/AddRecordConfig.json +2 -2
- package/json-schema/ui/Animation.json +2 -2
- package/json-schema/ui/AnimationTrigger.json +2 -2
- package/json-schema/ui/App.json +2 -2
- package/json-schema/ui/AppBranding.json +2 -2
- package/json-schema/ui/AppearanceConfig.json +2 -2
- package/json-schema/ui/AriaProps.json +2 -2
- package/json-schema/ui/BlankPageLayout.json +2 -2
- package/json-schema/ui/BlankPageLayoutItem.json +2 -2
- package/json-schema/ui/BorderRadius.json +2 -2
- package/json-schema/ui/BreakpointColumnMap.json +2 -2
- package/json-schema/ui/BreakpointName.json +2 -2
- package/json-schema/ui/BreakpointOrderMap.json +2 -2
- package/json-schema/ui/Breakpoints.json +2 -2
- package/json-schema/ui/CalendarConfig.json +2 -2
- package/json-schema/ui/ChartAnnotation.json +2 -2
- package/json-schema/ui/ChartAxis.json +2 -2
- package/json-schema/ui/ChartConfig.json +2 -2
- package/json-schema/ui/ChartInteraction.json +2 -2
- package/json-schema/ui/ChartSeries.json +2 -2
- package/json-schema/ui/ChartType.json +2 -2
- package/json-schema/ui/ColorPalette.json +2 -2
- package/json-schema/ui/ColumnSummary.json +2 -2
- package/json-schema/ui/ComponentAnimation.json +2 -2
- package/json-schema/ui/ConflictResolution.json +2 -2
- package/json-schema/ui/Dashboard.json +2 -2
- package/json-schema/ui/DashboardHeader.json +2 -2
- package/json-schema/ui/DashboardHeaderAction.json +2 -2
- package/json-schema/ui/DashboardNavItem.json +2 -2
- package/json-schema/ui/DashboardWidget.json +2 -2
- package/json-schema/ui/DateFormat.json +2 -2
- package/json-schema/ui/DensityMode.json +2 -2
- package/json-schema/ui/DndConfig.json +2 -2
- package/json-schema/ui/DragConstraint.json +2 -2
- package/json-schema/ui/DragHandle.json +2 -2
- package/json-schema/ui/DragItem.json +2 -2
- package/json-schema/ui/DropEffect.json +2 -2
- package/json-schema/ui/DropZone.json +2 -2
- package/json-schema/ui/EasingFunction.json +2 -2
- package/json-schema/ui/ElementButtonProps.json +2 -2
- package/json-schema/ui/ElementDataSource.json +2 -2
- package/json-schema/ui/ElementFilterProps.json +2 -2
- package/json-schema/ui/ElementFormProps.json +2 -2
- package/json-schema/ui/ElementImageProps.json +2 -2
- package/json-schema/ui/ElementNumberProps.json +2 -2
- package/json-schema/ui/ElementRecordPickerProps.json +2 -2
- package/json-schema/ui/ElementTextProps.json +2 -2
- package/json-schema/ui/EmbedConfig.json +2 -2
- package/json-schema/ui/EvictionPolicy.json +2 -2
- package/json-schema/ui/FocusManagement.json +2 -2
- package/json-schema/ui/FocusTrapConfig.json +2 -2
- package/json-schema/ui/FormField.json +2 -2
- package/json-schema/ui/GalleryConfig.json +2 -2
- package/json-schema/ui/GanttConfig.json +2 -2
- package/json-schema/ui/GestureConfig.json +2 -2
- package/json-schema/ui/GestureType.json +2 -2
- package/json-schema/ui/GlobalFilter.json +2 -2
- package/json-schema/ui/GlobalFilterOptionsFrom.json +2 -2
- package/json-schema/ui/GroupNavItem.json +2 -2
- package/json-schema/ui/GroupingConfig.json +2 -2
- package/json-schema/ui/GroupingField.json +2 -2
- package/json-schema/ui/HttpMethod.json +2 -2
- package/json-schema/ui/HttpRequest.json +2 -2
- package/json-schema/ui/I18nLabel.json +2 -2
- package/json-schema/ui/I18nObject.json +2 -2
- package/json-schema/ui/InterfacePageConfig.json +2 -2
- package/json-schema/ui/KanbanConfig.json +2 -2
- package/json-schema/ui/KeyboardNavigationConfig.json +2 -2
- package/json-schema/ui/KeyboardShortcut.json +2 -2
- package/json-schema/ui/ListColumn.json +2 -2
- package/json-schema/ui/ListView.json +2 -2
- package/json-schema/ui/LocaleConfig.json +2 -2
- package/json-schema/ui/LongPressGestureConfig.json +2 -2
- package/json-schema/ui/MotionConfig.json +2 -2
- package/json-schema/ui/NavigationArea.json +2 -2
- package/json-schema/ui/NavigationConfig.json +2 -2
- package/json-schema/ui/NavigationItem.json +2 -2
- package/json-schema/ui/NavigationMode.json +2 -2
- package/json-schema/ui/Notification.json +2 -2
- package/json-schema/ui/NotificationAction.json +2 -2
- package/json-schema/ui/NotificationConfig.json +2 -2
- package/json-schema/ui/NotificationPosition.json +2 -2
- package/json-schema/ui/NotificationSeverity.json +2 -2
- package/json-schema/ui/NotificationType.json +2 -2
- package/json-schema/ui/NumberFormat.json +2 -2
- package/json-schema/ui/ObjectNavItem.json +2 -2
- package/json-schema/ui/OfflineCacheConfig.json +2 -2
- package/json-schema/ui/OfflineConfig.json +2 -2
- package/json-schema/ui/OfflineStrategy.json +2 -2
- package/json-schema/ui/Page.json +2 -2
- package/json-schema/ui/PageAccordionProps.json +2 -2
- package/json-schema/ui/PageCardProps.json +2 -2
- package/json-schema/ui/PageComponent.json +2 -2
- package/json-schema/ui/PageComponentType.json +2 -2
- package/json-schema/ui/PageHeaderProps.json +2 -2
- package/json-schema/ui/PageNavItem.json +2 -2
- package/json-schema/ui/PageRegion.json +2 -2
- package/json-schema/ui/PageTabsProps.json +2 -2
- package/json-schema/ui/PageTransition.json +2 -2
- package/json-schema/ui/PageType.json +2 -2
- package/json-schema/ui/PageVariable.json +2 -2
- package/json-schema/ui/PaginationConfig.json +2 -2
- package/json-schema/ui/PerformanceConfig.json +2 -2
- package/json-schema/ui/PersistStorage.json +2 -2
- package/json-schema/ui/PinchGestureConfig.json +2 -2
- package/json-schema/ui/PluralRule.json +2 -2
- package/json-schema/ui/RecordActivityProps.json +2 -2
- package/json-schema/ui/RecordChatterProps.json +2 -2
- package/json-schema/ui/RecordDetailsProps.json +2 -2
- package/json-schema/ui/RecordHighlightsProps.json +2 -2
- package/json-schema/ui/RecordPathProps.json +2 -2
- package/json-schema/ui/RecordRelatedListProps.json +2 -2
- package/json-schema/ui/RecordReviewConfig.json +2 -2
- package/json-schema/ui/Report.json +2 -2
- package/json-schema/ui/ReportChart.json +2 -2
- package/json-schema/ui/ReportColumn.json +2 -2
- package/json-schema/ui/ReportGrouping.json +2 -2
- package/json-schema/ui/ReportNavItem.json +2 -2
- package/json-schema/ui/ReportType.json +2 -2
- package/json-schema/ui/ResponsiveConfig.json +2 -2
- package/json-schema/ui/RowColorConfig.json +2 -2
- package/json-schema/ui/RowHeight.json +2 -2
- package/json-schema/ui/SelectionConfig.json +2 -2
- package/json-schema/ui/Shadow.json +2 -2
- package/json-schema/ui/SharingConfig.json +2 -2
- package/json-schema/ui/Spacing.json +2 -2
- package/json-schema/ui/SwipeDirection.json +2 -2
- package/json-schema/ui/SwipeGestureConfig.json +2 -2
- package/json-schema/ui/SyncConfig.json +2 -2
- package/json-schema/ui/Theme.json +2 -2
- package/json-schema/ui/ThemeMode.json +2 -2
- package/json-schema/ui/TimelineConfig.json +2 -2
- package/json-schema/ui/TouchInteraction.json +2 -2
- package/json-schema/ui/TouchTargetConfig.json +2 -2
- package/json-schema/ui/TransitionConfig.json +2 -2
- package/json-schema/ui/TransitionPreset.json +2 -2
- package/json-schema/ui/Typography.json +2 -2
- package/json-schema/ui/UrlNavItem.json +2 -2
- package/json-schema/ui/UserActionsConfig.json +2 -2
- package/json-schema/ui/ViewData.json +2 -2
- package/json-schema/ui/ViewSharing.json +2 -2
- package/json-schema/ui/ViewTab.json +2 -2
- package/json-schema/ui/VisualizationType.json +2 -2
- package/json-schema/ui/WcagContrastLevel.json +2 -2
- package/json-schema/ui/WidgetActionType.json +2 -2
- package/json-schema/ui/WidgetColorVariant.json +2 -2
- package/json-schema/ui/WidgetEvent.json +2 -2
- package/json-schema/ui/WidgetLifecycle.json +2 -2
- package/json-schema/ui/WidgetManifest.json +2 -2
- package/json-schema/ui/WidgetMeasure.json +2 -2
- package/json-schema/ui/WidgetProperty.json +2 -2
- package/json-schema/ui/WidgetSource.json +2 -2
- package/json-schema/ui/ZIndex.json +2 -2
- package/package.json +1 -1
- package/dist/metadata-plugin.zod-Cjm0qlEF.d.mts +0 -703
- package/dist/metadata-plugin.zod-Cjm0qlEF.d.ts +0 -703
package/dist/api/index.js
CHANGED
|
@@ -461,8 +461,17 @@ var ServiceInfoSchema = zod.z.object({
|
|
|
461
461
|
route: zod.z.string().optional().describe("e.g. /api/v1/analytics"),
|
|
462
462
|
/** Implementation provider name */
|
|
463
463
|
provider: zod.z.string().optional().describe('e.g. "objectql", "plugin-redis", "driver-memory"'),
|
|
464
|
+
/** Service version */
|
|
465
|
+
version: zod.z.string().optional().describe('Semantic version of the service implementation (e.g. "3.0.6")'),
|
|
464
466
|
/** Human-readable reason if unavailable */
|
|
465
|
-
message: zod.z.string().optional().describe('e.g. "Install plugin-workflow to enable"')
|
|
467
|
+
message: zod.z.string().optional().describe('e.g. "Install plugin-workflow to enable"'),
|
|
468
|
+
/** Rate limit configuration for this service */
|
|
469
|
+
rateLimit: zod.z.object({
|
|
470
|
+
requestsPerMinute: zod.z.number().int().optional().describe("Maximum requests per minute"),
|
|
471
|
+
requestsPerHour: zod.z.number().int().optional().describe("Maximum requests per hour"),
|
|
472
|
+
burstLimit: zod.z.number().int().optional().describe("Maximum burst request count"),
|
|
473
|
+
retryAfterMs: zod.z.number().int().optional().describe("Suggested retry-after delay in milliseconds when rate-limited")
|
|
474
|
+
}).optional().describe("Rate limit and quota info for this service")
|
|
466
475
|
});
|
|
467
476
|
var ApiRoutesSchema = zod.z.object({
|
|
468
477
|
/** Base URL for Object CRUD (Data Protocol) */
|
|
@@ -516,11 +525,46 @@ var DiscoverySchema = zod.z.object({
|
|
|
516
525
|
services: zod.z.record(zod.z.string(), ServiceInfoSchema).describe(
|
|
517
526
|
"Per-service availability map keyed by CoreServiceName"
|
|
518
527
|
),
|
|
528
|
+
/**
|
|
529
|
+
* Hierarchical capability descriptors.
|
|
530
|
+
* Declares platform features so clients can adapt UI without probing individual services.
|
|
531
|
+
* Each key is a capability domain (e.g., "comments", "automation", "search"),
|
|
532
|
+
* and its value describes what sub-features are available.
|
|
533
|
+
*/
|
|
534
|
+
capabilities: zod.z.record(zod.z.string(), zod.z.object({
|
|
535
|
+
enabled: zod.z.boolean().describe("Whether this capability is available"),
|
|
536
|
+
features: zod.z.record(zod.z.string(), zod.z.boolean()).optional().describe("Sub-feature flags within this capability"),
|
|
537
|
+
description: zod.z.string().optional().describe("Human-readable capability description")
|
|
538
|
+
})).optional().describe("Hierarchical capability descriptors for frontend intelligent adaptation"),
|
|
539
|
+
/**
|
|
540
|
+
* Schema discovery URLs for cross-ecosystem interoperability.
|
|
541
|
+
*/
|
|
542
|
+
schemaDiscovery: zod.z.object({
|
|
543
|
+
openapi: zod.z.string().optional().describe('URL to OpenAPI (Swagger) specification (e.g., "/api/v1/openapi.json")'),
|
|
544
|
+
graphql: zod.z.string().optional().describe('URL to GraphQL schema endpoint (e.g., "/graphql")'),
|
|
545
|
+
jsonSchema: zod.z.string().optional().describe("URL to JSON Schema definitions")
|
|
546
|
+
}).optional().describe("Schema discovery endpoints for API toolchain integration"),
|
|
519
547
|
/**
|
|
520
548
|
* Custom metadata key-value pairs for extensibility
|
|
521
549
|
*/
|
|
522
550
|
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Custom metadata key-value pairs for extensibility")
|
|
523
551
|
});
|
|
552
|
+
var WellKnownCapabilitiesSchema = zod.z.object({
|
|
553
|
+
/** Whether the backend supports Feed / Chatter API */
|
|
554
|
+
feed: zod.z.boolean().describe("Whether the backend supports Feed / Chatter API"),
|
|
555
|
+
/** Whether the backend supports comments (a subset of Feed) */
|
|
556
|
+
comments: zod.z.boolean().describe("Whether the backend supports comments (a subset of Feed)"),
|
|
557
|
+
/** Whether the backend supports Automation CRUD (flows, triggers) */
|
|
558
|
+
automation: zod.z.boolean().describe("Whether the backend supports Automation CRUD (flows, triggers)"),
|
|
559
|
+
/** Whether the backend supports cron scheduling */
|
|
560
|
+
cron: zod.z.boolean().describe("Whether the backend supports cron scheduling"),
|
|
561
|
+
/** Whether the backend supports full-text search */
|
|
562
|
+
search: zod.z.boolean().describe("Whether the backend supports full-text search"),
|
|
563
|
+
/** Whether the backend supports async export */
|
|
564
|
+
export: zod.z.boolean().describe("Whether the backend supports async export"),
|
|
565
|
+
/** Whether the backend supports chunked (multipart) uploads */
|
|
566
|
+
chunkedUpload: zod.z.boolean().describe("Whether the backend supports chunked (multipart) uploads")
|
|
567
|
+
}).describe("Well-known capability flags for frontend intelligent adaptation");
|
|
524
568
|
var PresenceStatus = zod.z.enum([
|
|
525
569
|
"online",
|
|
526
570
|
// User is actively connected
|
|
@@ -4273,12 +4317,22 @@ zod.z.object({
|
|
|
4273
4317
|
register: zod.z.function().describe("Register a driver")
|
|
4274
4318
|
}).passthrough().describe("Driver Registry")
|
|
4275
4319
|
});
|
|
4320
|
+
zod.z.object({
|
|
4321
|
+
/** Version before upgrade */
|
|
4322
|
+
previousVersion: zod.z.string().describe("Version before upgrade"),
|
|
4323
|
+
/** Version after upgrade */
|
|
4324
|
+
newVersion: zod.z.string().describe("Version after upgrade"),
|
|
4325
|
+
/** Whether this is a major version bump */
|
|
4326
|
+
isMajorUpgrade: zod.z.boolean().describe("Whether this is a major version bump"),
|
|
4327
|
+
/** Metadata snapshot before upgrade (for migration logic) */
|
|
4328
|
+
previousMetadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Metadata snapshot before upgrade")
|
|
4329
|
+
}).describe("Version migration context for onUpgrade hook");
|
|
4276
4330
|
var PluginLifecycleSchema = zod.z.object({
|
|
4277
4331
|
onInstall: zod.z.function().optional().describe("Called when plugin is installed"),
|
|
4278
4332
|
onEnable: zod.z.function().optional().describe("Called when plugin is enabled"),
|
|
4279
4333
|
onDisable: zod.z.function().optional().describe("Called when plugin is disabled"),
|
|
4280
4334
|
onUninstall: zod.z.function().optional().describe("Called when plugin is uninstalled"),
|
|
4281
|
-
onUpgrade: zod.z.function().optional().describe("Called when plugin is upgraded")
|
|
4335
|
+
onUpgrade: zod.z.function().optional().describe("Called when plugin is upgraded. Receives UpgradeContext with previousVersion, newVersion, and isMajorUpgrade")
|
|
4282
4336
|
});
|
|
4283
4337
|
var CORE_PLUGIN_TYPES = [
|
|
4284
4338
|
"ui",
|
|
@@ -4636,8 +4690,67 @@ var ManifestSchema = zod.z.object({
|
|
|
4636
4690
|
* Configures how the plugin is loaded, initialized, and managed at runtime.
|
|
4637
4691
|
* Includes strategies for lazy loading, code splitting, caching, and hot reload.
|
|
4638
4692
|
*/
|
|
4639
|
-
loading: PluginLoadingConfigSchema.optional().describe("Plugin loading and runtime behavior configuration")
|
|
4640
|
-
|
|
4693
|
+
loading: PluginLoadingConfigSchema.optional().describe("Plugin loading and runtime behavior configuration"),
|
|
4694
|
+
/**
|
|
4695
|
+
* Platform Compatibility Requirements.
|
|
4696
|
+
* Specifies the minimum ObjectStack platform version required to run this package.
|
|
4697
|
+
* Used at install time to prevent incompatible packages from being installed.
|
|
4698
|
+
*
|
|
4699
|
+
* @example
|
|
4700
|
+
* ```yaml
|
|
4701
|
+
* engine:
|
|
4702
|
+
* objectstack: ">=3.0.0"
|
|
4703
|
+
* ```
|
|
4704
|
+
*/
|
|
4705
|
+
engine: zod.z.object({
|
|
4706
|
+
/** ObjectStack platform version requirement (SemVer range) */
|
|
4707
|
+
objectstack: zod.z.string().regex(/^[><=~^]*\d+\.\d+\.\d+/).describe('ObjectStack platform version requirement (SemVer range, e.g. ">=3.0.0")')
|
|
4708
|
+
}).optional().describe("Platform compatibility requirements")
|
|
4709
|
+
});
|
|
4710
|
+
var DependencyStatusEnum = zod.z.enum([
|
|
4711
|
+
"satisfied",
|
|
4712
|
+
// Already installed and version compatible
|
|
4713
|
+
"needs_install",
|
|
4714
|
+
// Not installed, needs to be installed
|
|
4715
|
+
"needs_upgrade",
|
|
4716
|
+
// Installed but version incompatible, needs upgrade
|
|
4717
|
+
"conflict"
|
|
4718
|
+
// Conflicts with another package's dependency
|
|
4719
|
+
]).describe("Resolution status for a dependency");
|
|
4720
|
+
var ResolvedDependencySchema = zod.z.object({
|
|
4721
|
+
/** Package identifier of the dependency */
|
|
4722
|
+
packageId: zod.z.string().describe("Dependency package identifier"),
|
|
4723
|
+
/** SemVer range required by the parent package */
|
|
4724
|
+
requiredRange: zod.z.string().describe('SemVer range required (e.g. "^2.0.0")'),
|
|
4725
|
+
/** Actual version resolved (if available) */
|
|
4726
|
+
resolvedVersion: zod.z.string().optional().describe("Actual version resolved from registry"),
|
|
4727
|
+
/** Currently installed version (if any) */
|
|
4728
|
+
installedVersion: zod.z.string().optional().describe("Currently installed version"),
|
|
4729
|
+
/** Resolution status */
|
|
4730
|
+
status: DependencyStatusEnum.describe("Resolution status"),
|
|
4731
|
+
/** Conflict details (when status is "conflict") */
|
|
4732
|
+
conflictReason: zod.z.string().optional().describe("Explanation of the conflict")
|
|
4733
|
+
}).describe("Resolution result for a single dependency");
|
|
4734
|
+
var RequiredActionSchema = zod.z.object({
|
|
4735
|
+
/** Type of action required */
|
|
4736
|
+
type: zod.z.enum(["install", "upgrade", "confirm_conflict"]).describe("Type of action required"),
|
|
4737
|
+
/** Target package identifier */
|
|
4738
|
+
packageId: zod.z.string().describe("Target package identifier"),
|
|
4739
|
+
/** Human-readable description of the action */
|
|
4740
|
+
description: zod.z.string().describe("Human-readable action description")
|
|
4741
|
+
}).describe("Action required before installation can proceed");
|
|
4742
|
+
var DependencyResolutionResultSchema = zod.z.object({
|
|
4743
|
+
/** All dependencies and their resolution results */
|
|
4744
|
+
dependencies: zod.z.array(ResolvedDependencySchema).describe("Resolution result for each dependency"),
|
|
4745
|
+
/** Whether installation can proceed without conflicts */
|
|
4746
|
+
canProceed: zod.z.boolean().describe("Whether installation can proceed"),
|
|
4747
|
+
/** Actions that require user confirmation or system execution */
|
|
4748
|
+
requiredActions: zod.z.array(RequiredActionSchema).describe("Actions required before proceeding"),
|
|
4749
|
+
/** Topologically sorted package IDs for installation order */
|
|
4750
|
+
installOrder: zod.z.array(zod.z.string()).describe("Topologically sorted package IDs for installation"),
|
|
4751
|
+
/** Detected circular dependency chains */
|
|
4752
|
+
circularDependencies: zod.z.array(zod.z.array(zod.z.string())).optional().describe('Circular dependency chains detected (e.g. [["A", "B", "A"]])')
|
|
4753
|
+
}).describe("Complete dependency resolution result");
|
|
4641
4754
|
|
|
4642
4755
|
// src/kernel/package-registry.zod.ts
|
|
4643
4756
|
var PackageStatusEnum = zod.z.enum([
|
|
@@ -4653,29 +4766,29 @@ var PackageStatusEnum = zod.z.enum([
|
|
|
4653
4766
|
// Removal in progress
|
|
4654
4767
|
"error"
|
|
4655
4768
|
// Installation or runtime error
|
|
4656
|
-
]);
|
|
4769
|
+
]).describe("Package installation status");
|
|
4657
4770
|
var InstalledPackageSchema = zod.z.object({
|
|
4658
4771
|
/**
|
|
4659
4772
|
* The full package manifest (source of truth for package definition).
|
|
4660
4773
|
*/
|
|
4661
|
-
manifest: ManifestSchema,
|
|
4774
|
+
manifest: ManifestSchema.describe("Full package manifest"),
|
|
4662
4775
|
/**
|
|
4663
4776
|
* Current lifecycle status.
|
|
4664
4777
|
*/
|
|
4665
|
-
status: PackageStatusEnum.default("installed"),
|
|
4778
|
+
status: PackageStatusEnum.default("installed").describe("Package state: installed, disabled, installing, upgrading, uninstalling, or error"),
|
|
4666
4779
|
/**
|
|
4667
4780
|
* Whether the package is currently enabled (active).
|
|
4668
4781
|
* When disabled, the package's metadata is not loaded into the registry.
|
|
4669
4782
|
*/
|
|
4670
|
-
enabled: zod.z.boolean().default(true),
|
|
4783
|
+
enabled: zod.z.boolean().default(true).describe("Whether the package is currently enabled"),
|
|
4671
4784
|
/**
|
|
4672
4785
|
* ISO 8601 timestamp of when the package was installed.
|
|
4673
4786
|
*/
|
|
4674
|
-
installedAt: zod.z.string().datetime().optional(),
|
|
4787
|
+
installedAt: zod.z.string().datetime().optional().describe("Installation timestamp"),
|
|
4675
4788
|
/**
|
|
4676
4789
|
* ISO 8601 timestamp of last update.
|
|
4677
4790
|
*/
|
|
4678
|
-
updatedAt: zod.z.string().datetime().optional(),
|
|
4791
|
+
updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
|
|
4679
4792
|
/**
|
|
4680
4793
|
* The currently installed version string.
|
|
4681
4794
|
* Mirrors manifest.version for quick access without parsing the full manifest.
|
|
@@ -4689,73 +4802,124 @@ var InstalledPackageSchema = zod.z.object({
|
|
|
4689
4802
|
/**
|
|
4690
4803
|
* ISO 8601 timestamp of when the package was last enabled/disabled.
|
|
4691
4804
|
*/
|
|
4692
|
-
statusChangedAt: zod.z.string().datetime().optional(),
|
|
4805
|
+
statusChangedAt: zod.z.string().datetime().optional().describe("Status change timestamp"),
|
|
4693
4806
|
/**
|
|
4694
4807
|
* Error message if status is 'error'.
|
|
4695
4808
|
*/
|
|
4696
|
-
errorMessage: zod.z.string().optional(),
|
|
4809
|
+
errorMessage: zod.z.string().optional().describe("Error message when status is error"),
|
|
4697
4810
|
/**
|
|
4698
4811
|
* Configuration values set by the user for this package.
|
|
4699
4812
|
* Keys correspond to the package's `configuration.properties`.
|
|
4700
4813
|
*/
|
|
4701
|
-
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
|
|
4702
|
-
|
|
4814
|
+
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided configuration settings"),
|
|
4815
|
+
/**
|
|
4816
|
+
* Upgrade history for this package.
|
|
4817
|
+
* Records each version migration with status and optional log.
|
|
4818
|
+
*/
|
|
4819
|
+
upgradeHistory: zod.z.array(zod.z.object({
|
|
4820
|
+
/** Previous version before upgrade */
|
|
4821
|
+
fromVersion: zod.z.string().describe("Version before upgrade"),
|
|
4822
|
+
/** New version after upgrade */
|
|
4823
|
+
toVersion: zod.z.string().describe("Version after upgrade"),
|
|
4824
|
+
/** Timestamp of the upgrade */
|
|
4825
|
+
upgradedAt: zod.z.string().datetime().describe("Upgrade timestamp"),
|
|
4826
|
+
/** Outcome of the upgrade */
|
|
4827
|
+
status: zod.z.enum(["success", "failed", "rolled_back"]).describe("Upgrade outcome"),
|
|
4828
|
+
/** Migration log entries */
|
|
4829
|
+
migrationLog: zod.z.array(zod.z.string()).optional().describe("Migration step logs")
|
|
4830
|
+
})).optional().describe("Version upgrade history"),
|
|
4831
|
+
/**
|
|
4832
|
+
* Namespaces registered by this package.
|
|
4833
|
+
* Tracks which namespace prefixes are occupied by this package.
|
|
4834
|
+
*/
|
|
4835
|
+
registeredNamespaces: zod.z.array(zod.z.string()).optional().describe("Namespace prefixes registered by this package")
|
|
4836
|
+
}).describe("Installed package with runtime lifecycle state");
|
|
4837
|
+
zod.z.object({
|
|
4838
|
+
/** Namespace prefix */
|
|
4839
|
+
namespace: zod.z.string().describe("Namespace prefix"),
|
|
4840
|
+
/** Package that owns this namespace */
|
|
4841
|
+
packageId: zod.z.string().describe("Owning package ID"),
|
|
4842
|
+
/** Registration timestamp */
|
|
4843
|
+
registeredAt: zod.z.string().datetime().describe("Registration timestamp"),
|
|
4844
|
+
/** Namespace status */
|
|
4845
|
+
status: zod.z.enum(["active", "disabled", "reserved"]).describe("Namespace status")
|
|
4846
|
+
}).describe("Namespace ownership entry in the registry");
|
|
4847
|
+
zod.z.object({
|
|
4848
|
+
/** Error type discriminator */
|
|
4849
|
+
type: zod.z.literal("namespace_conflict").describe("Error type"),
|
|
4850
|
+
/** Namespace that was requested */
|
|
4851
|
+
requestedNamespace: zod.z.string().describe("Requested namespace"),
|
|
4852
|
+
/** ID of the package that already owns the namespace */
|
|
4853
|
+
conflictingPackageId: zod.z.string().describe("Conflicting package ID"),
|
|
4854
|
+
/** Name of the conflicting package */
|
|
4855
|
+
conflictingPackageName: zod.z.string().describe("Conflicting package display name"),
|
|
4856
|
+
/** Suggested alternative namespace */
|
|
4857
|
+
suggestion: zod.z.string().optional().describe("Suggested alternative namespace")
|
|
4858
|
+
}).describe("Namespace collision error during installation");
|
|
4703
4859
|
var ListPackagesRequestSchema = zod.z.object({
|
|
4704
4860
|
/** Filter by status */
|
|
4705
|
-
status: PackageStatusEnum.optional(),
|
|
4861
|
+
status: PackageStatusEnum.optional().describe("Filter by package status"),
|
|
4706
4862
|
/** Filter by package type */
|
|
4707
|
-
type: ManifestSchema.shape.type.optional(),
|
|
4863
|
+
type: ManifestSchema.shape.type.optional().describe("Filter by package type"),
|
|
4708
4864
|
/** Filter by enabled state */
|
|
4709
|
-
enabled: zod.z.boolean().optional()
|
|
4710
|
-
});
|
|
4865
|
+
enabled: zod.z.boolean().optional().describe("Filter by enabled state")
|
|
4866
|
+
}).describe("List packages request");
|
|
4711
4867
|
var ListPackagesResponseSchema = zod.z.object({
|
|
4712
|
-
packages: zod.z.array(InstalledPackageSchema),
|
|
4713
|
-
total: zod.z.number()
|
|
4714
|
-
});
|
|
4868
|
+
packages: zod.z.array(InstalledPackageSchema).describe("List of installed packages"),
|
|
4869
|
+
total: zod.z.number().describe("Total package count")
|
|
4870
|
+
}).describe("List packages response");
|
|
4715
4871
|
var GetPackageRequestSchema = zod.z.object({
|
|
4716
4872
|
/** Package ID (reverse domain identifier from manifest) */
|
|
4717
|
-
id: zod.z.string()
|
|
4718
|
-
});
|
|
4873
|
+
id: zod.z.string().describe("Package identifier")
|
|
4874
|
+
}).describe("Get package request");
|
|
4719
4875
|
var GetPackageResponseSchema = zod.z.object({
|
|
4720
|
-
package: InstalledPackageSchema
|
|
4721
|
-
});
|
|
4876
|
+
package: InstalledPackageSchema.describe("Package details")
|
|
4877
|
+
}).describe("Get package response");
|
|
4722
4878
|
var InstallPackageRequestSchema = zod.z.object({
|
|
4723
4879
|
/** The package manifest to install */
|
|
4724
|
-
manifest: ManifestSchema,
|
|
4880
|
+
manifest: ManifestSchema.describe("Package manifest to install"),
|
|
4725
4881
|
/** Optional: user-provided settings at install time */
|
|
4726
|
-
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
4882
|
+
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
|
|
4727
4883
|
/** Whether to enable immediately after install (default: true) */
|
|
4728
|
-
enableOnInstall: zod.z.boolean().default(true)
|
|
4729
|
-
|
|
4884
|
+
enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
|
|
4885
|
+
/**
|
|
4886
|
+
* Current platform version for compatibility checking.
|
|
4887
|
+
* When provided, the system compares this against the package's
|
|
4888
|
+
* `engine.objectstack` requirement to verify compatibility.
|
|
4889
|
+
*/
|
|
4890
|
+
platformVersion: zod.z.string().optional().describe("Current platform version for compatibility verification")
|
|
4891
|
+
}).describe("Install package request");
|
|
4730
4892
|
var InstallPackageResponseSchema = zod.z.object({
|
|
4731
|
-
package: InstalledPackageSchema,
|
|
4732
|
-
message: zod.z.string().optional()
|
|
4733
|
-
|
|
4893
|
+
package: InstalledPackageSchema.describe("Installed package details"),
|
|
4894
|
+
message: zod.z.string().optional().describe("Installation status message"),
|
|
4895
|
+
/** Dependency resolution result (when dependencies were analyzed) */
|
|
4896
|
+
dependencyResolution: DependencyResolutionResultSchema.optional().describe("Dependency resolution result from install analysis")
|
|
4897
|
+
}).describe("Install package response");
|
|
4734
4898
|
var UninstallPackageRequestSchema = zod.z.object({
|
|
4735
4899
|
/** Package ID to uninstall */
|
|
4736
|
-
id: zod.z.string()
|
|
4737
|
-
});
|
|
4900
|
+
id: zod.z.string().describe("Package ID to uninstall")
|
|
4901
|
+
}).describe("Uninstall package request");
|
|
4738
4902
|
var UninstallPackageResponseSchema = zod.z.object({
|
|
4739
|
-
id: zod.z.string(),
|
|
4740
|
-
success: zod.z.boolean(),
|
|
4741
|
-
message: zod.z.string().optional()
|
|
4742
|
-
});
|
|
4903
|
+
id: zod.z.string().describe("Uninstalled package ID"),
|
|
4904
|
+
success: zod.z.boolean().describe("Whether uninstall succeeded"),
|
|
4905
|
+
message: zod.z.string().optional().describe("Uninstall status message")
|
|
4906
|
+
}).describe("Uninstall package response");
|
|
4743
4907
|
var EnablePackageRequestSchema = zod.z.object({
|
|
4744
4908
|
/** Package ID to enable */
|
|
4745
|
-
id: zod.z.string()
|
|
4746
|
-
});
|
|
4909
|
+
id: zod.z.string().describe("Package ID to enable")
|
|
4910
|
+
}).describe("Enable package request");
|
|
4747
4911
|
var EnablePackageResponseSchema = zod.z.object({
|
|
4748
|
-
package: InstalledPackageSchema,
|
|
4749
|
-
message: zod.z.string().optional()
|
|
4750
|
-
});
|
|
4912
|
+
package: InstalledPackageSchema.describe("Enabled package details"),
|
|
4913
|
+
message: zod.z.string().optional().describe("Enable status message")
|
|
4914
|
+
}).describe("Enable package response");
|
|
4751
4915
|
var DisablePackageRequestSchema = zod.z.object({
|
|
4752
4916
|
/** Package ID to disable */
|
|
4753
|
-
id: zod.z.string()
|
|
4754
|
-
});
|
|
4917
|
+
id: zod.z.string().describe("Package ID to disable")
|
|
4918
|
+
}).describe("Disable package request");
|
|
4755
4919
|
var DisablePackageResponseSchema = zod.z.object({
|
|
4756
|
-
package: InstalledPackageSchema,
|
|
4757
|
-
message: zod.z.string().optional()
|
|
4758
|
-
});
|
|
4920
|
+
package: InstalledPackageSchema.describe("Disabled package details"),
|
|
4921
|
+
message: zod.z.string().optional().describe("Disable status message")
|
|
4922
|
+
}).describe("Disable package response");
|
|
4759
4923
|
|
|
4760
4924
|
// src/api/protocol.zod.ts
|
|
4761
4925
|
var AutomationTriggerRequestSchema = zod.z.object({
|
|
@@ -4772,7 +4936,8 @@ var GetDiscoveryResponseSchema = zod.z.object({
|
|
|
4772
4936
|
version: zod.z.string().describe('API version (e.g., "v1", "2024-01")'),
|
|
4773
4937
|
apiName: zod.z.string().describe("API name"),
|
|
4774
4938
|
routes: ApiRoutesSchema.optional().describe("Available endpoint paths"),
|
|
4775
|
-
services: zod.z.record(zod.z.string(), ServiceInfoSchema).optional().describe("Per-service availability map")
|
|
4939
|
+
services: zod.z.record(zod.z.string(), ServiceInfoSchema).optional().describe("Per-service availability map"),
|
|
4940
|
+
capabilities: WellKnownCapabilitiesSchema.optional().describe("Well-known capability flags for frontend adaptation")
|
|
4776
4941
|
});
|
|
4777
4942
|
var GetMetaTypesRequestSchema = zod.z.object({});
|
|
4778
4943
|
var GetMetaTypesResponseSchema = zod.z.object({
|
|
@@ -4822,6 +4987,7 @@ var FindDataResponseSchema = zod.z.object({
|
|
|
4822
4987
|
object: zod.z.string().describe("The object name for the returned records."),
|
|
4823
4988
|
records: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The list of matching records."),
|
|
4824
4989
|
total: zod.z.number().optional().describe("Total number of records matching the filter (if requested)."),
|
|
4990
|
+
nextCursor: zod.z.string().optional().describe("Cursor for the next page of results (cursor-based pagination)."),
|
|
4825
4991
|
hasMore: zod.z.boolean().optional().describe("True if there are more records available (pagination).")
|
|
4826
4992
|
});
|
|
4827
4993
|
var GetDataRequestSchema = zod.z.object({
|
|
@@ -5296,7 +5462,22 @@ var ObjectStackProtocolSchema = zod.z.object({
|
|
|
5296
5462
|
// i18n Operations
|
|
5297
5463
|
getLocales: zod.z.function().describe("Get available locales"),
|
|
5298
5464
|
getTranslations: zod.z.function().describe("Get translations for a locale"),
|
|
5299
|
-
getFieldLabels: zod.z.function().describe("Get translated field labels for an object")
|
|
5465
|
+
getFieldLabels: zod.z.function().describe("Get translated field labels for an object"),
|
|
5466
|
+
// Feed Operations
|
|
5467
|
+
listFeed: zod.z.function().describe("List feed items for a record"),
|
|
5468
|
+
createFeedItem: zod.z.function().describe("Create a new feed item"),
|
|
5469
|
+
updateFeedItem: zod.z.function().describe("Update an existing feed item"),
|
|
5470
|
+
deleteFeedItem: zod.z.function().describe("Delete a feed item"),
|
|
5471
|
+
addReaction: zod.z.function().describe("Add an emoji reaction to a feed item"),
|
|
5472
|
+
removeReaction: zod.z.function().describe("Remove an emoji reaction from a feed item"),
|
|
5473
|
+
pinFeedItem: zod.z.function().describe("Pin a feed item"),
|
|
5474
|
+
unpinFeedItem: zod.z.function().describe("Unpin a feed item"),
|
|
5475
|
+
starFeedItem: zod.z.function().describe("Star a feed item"),
|
|
5476
|
+
unstarFeedItem: zod.z.function().describe("Unstar a feed item"),
|
|
5477
|
+
searchFeed: zod.z.function().describe("Search feed items"),
|
|
5478
|
+
getChangelog: zod.z.function().describe("Get field-level changelog for a record"),
|
|
5479
|
+
feedSubscribe: zod.z.function().describe("Subscribe to record notifications"),
|
|
5480
|
+
feedUnsubscribe: zod.z.function().describe("Unsubscribe from record notifications")
|
|
5300
5481
|
});
|
|
5301
5482
|
var RestApiConfigSchema = zod.z.object({
|
|
5302
5483
|
/**
|
|
@@ -7054,6 +7235,113 @@ var PresignedUrlResponseSchema = BaseResponseSchema.extend({
|
|
|
7054
7235
|
var FileUploadResponseSchema = BaseResponseSchema.extend({
|
|
7055
7236
|
data: FileMetadataSchema.describe("Uploaded file metadata")
|
|
7056
7237
|
});
|
|
7238
|
+
var FileTypeValidationSchema = zod.z.object({
|
|
7239
|
+
mode: zod.z.enum(["whitelist", "blacklist"]).describe("whitelist = only allow listed types, blacklist = block listed types"),
|
|
7240
|
+
mimeTypes: zod.z.array(zod.z.string()).min(1).describe('List of MIME types to allow or block (e.g., "image/jpeg", "application/pdf")'),
|
|
7241
|
+
extensions: zod.z.array(zod.z.string()).optional().describe('List of file extensions to allow or block (e.g., ".jpg", ".pdf")'),
|
|
7242
|
+
maxFileSize: zod.z.number().int().min(1).optional().describe("Maximum file size in bytes"),
|
|
7243
|
+
minFileSize: zod.z.number().int().min(0).optional().describe("Minimum file size in bytes (e.g., reject empty files)")
|
|
7244
|
+
});
|
|
7245
|
+
var InitiateChunkedUploadRequestSchema = zod.z.object({
|
|
7246
|
+
filename: zod.z.string().describe("Original filename"),
|
|
7247
|
+
mimeType: zod.z.string().describe("File MIME type"),
|
|
7248
|
+
totalSize: zod.z.number().int().min(1).describe("Total file size in bytes"),
|
|
7249
|
+
chunkSize: zod.z.number().int().min(5242880).default(5242880).describe("Size of each chunk in bytes (minimum 5MB per S3 spec)"),
|
|
7250
|
+
scope: zod.z.string().default("user").describe("Target storage scope"),
|
|
7251
|
+
bucket: zod.z.string().optional().describe("Specific bucket override (admin only)"),
|
|
7252
|
+
metadata: zod.z.record(zod.z.string(), zod.z.string()).optional().describe("Custom metadata key-value pairs")
|
|
7253
|
+
});
|
|
7254
|
+
var InitiateChunkedUploadResponseSchema = BaseResponseSchema.extend({
|
|
7255
|
+
data: zod.z.object({
|
|
7256
|
+
uploadId: zod.z.string().describe("Multipart upload session ID"),
|
|
7257
|
+
resumeToken: zod.z.string().describe("Opaque token for resuming interrupted uploads"),
|
|
7258
|
+
fileId: zod.z.string().describe("Assigned file ID"),
|
|
7259
|
+
totalChunks: zod.z.number().int().min(1).describe("Expected number of chunks"),
|
|
7260
|
+
chunkSize: zod.z.number().int().describe("Chunk size in bytes"),
|
|
7261
|
+
expiresAt: zod.z.string().datetime().describe("Upload session expiration timestamp")
|
|
7262
|
+
})
|
|
7263
|
+
});
|
|
7264
|
+
var UploadChunkRequestSchema = zod.z.object({
|
|
7265
|
+
uploadId: zod.z.string().describe("Multipart upload session ID"),
|
|
7266
|
+
chunkIndex: zod.z.number().int().min(0).describe("Zero-based chunk index"),
|
|
7267
|
+
resumeToken: zod.z.string().describe("Resume token from initiate response")
|
|
7268
|
+
});
|
|
7269
|
+
var UploadChunkResponseSchema = BaseResponseSchema.extend({
|
|
7270
|
+
data: zod.z.object({
|
|
7271
|
+
chunkIndex: zod.z.number().int().describe("Chunk index that was uploaded"),
|
|
7272
|
+
eTag: zod.z.string().describe("Chunk ETag for multipart completion"),
|
|
7273
|
+
bytesReceived: zod.z.number().int().describe("Bytes received for this chunk")
|
|
7274
|
+
})
|
|
7275
|
+
});
|
|
7276
|
+
var CompleteChunkedUploadRequestSchema = zod.z.object({
|
|
7277
|
+
uploadId: zod.z.string().describe("Multipart upload session ID"),
|
|
7278
|
+
parts: zod.z.array(zod.z.object({
|
|
7279
|
+
chunkIndex: zod.z.number().int().describe("Chunk index"),
|
|
7280
|
+
eTag: zod.z.string().describe("ETag returned from chunk upload")
|
|
7281
|
+
})).min(1).describe("Ordered list of uploaded parts for assembly")
|
|
7282
|
+
});
|
|
7283
|
+
var CompleteChunkedUploadResponseSchema = BaseResponseSchema.extend({
|
|
7284
|
+
data: zod.z.object({
|
|
7285
|
+
fileId: zod.z.string().describe("Final file ID"),
|
|
7286
|
+
key: zod.z.string().describe("Storage key/path of the assembled file"),
|
|
7287
|
+
size: zod.z.number().int().describe("Total file size in bytes"),
|
|
7288
|
+
mimeType: zod.z.string().describe("File MIME type"),
|
|
7289
|
+
eTag: zod.z.string().optional().describe("Final ETag of the assembled file"),
|
|
7290
|
+
url: zod.z.string().optional().describe("Download URL for the assembled file")
|
|
7291
|
+
})
|
|
7292
|
+
});
|
|
7293
|
+
var UploadProgressSchema = BaseResponseSchema.extend({
|
|
7294
|
+
data: zod.z.object({
|
|
7295
|
+
uploadId: zod.z.string().describe("Multipart upload session ID"),
|
|
7296
|
+
fileId: zod.z.string().describe("Assigned file ID"),
|
|
7297
|
+
filename: zod.z.string().describe("Original filename"),
|
|
7298
|
+
totalSize: zod.z.number().int().describe("Total file size in bytes"),
|
|
7299
|
+
uploadedSize: zod.z.number().int().describe("Bytes uploaded so far"),
|
|
7300
|
+
totalChunks: zod.z.number().int().describe("Total expected chunks"),
|
|
7301
|
+
uploadedChunks: zod.z.number().int().describe("Number of chunks uploaded"),
|
|
7302
|
+
percentComplete: zod.z.number().min(0).max(100).describe("Upload progress percentage"),
|
|
7303
|
+
status: zod.z.enum(["in_progress", "completing", "completed", "failed", "expired"]).describe("Current upload session status"),
|
|
7304
|
+
startedAt: zod.z.string().datetime().describe("Upload session start timestamp"),
|
|
7305
|
+
expiresAt: zod.z.string().datetime().describe("Session expiration timestamp")
|
|
7306
|
+
})
|
|
7307
|
+
});
|
|
7308
|
+
var StorageApiContracts = {
|
|
7309
|
+
getPresignedUrl: {
|
|
7310
|
+
method: "POST",
|
|
7311
|
+
path: "/api/v1/storage/upload/presigned",
|
|
7312
|
+
input: GetPresignedUrlRequestSchema,
|
|
7313
|
+
output: PresignedUrlResponseSchema
|
|
7314
|
+
},
|
|
7315
|
+
completeUpload: {
|
|
7316
|
+
method: "POST",
|
|
7317
|
+
path: "/api/v1/storage/upload/complete",
|
|
7318
|
+
input: CompleteUploadRequestSchema,
|
|
7319
|
+
output: FileUploadResponseSchema
|
|
7320
|
+
},
|
|
7321
|
+
initiateChunkedUpload: {
|
|
7322
|
+
method: "POST",
|
|
7323
|
+
path: "/api/v1/storage/upload/chunked",
|
|
7324
|
+
input: InitiateChunkedUploadRequestSchema,
|
|
7325
|
+
output: InitiateChunkedUploadResponseSchema
|
|
7326
|
+
},
|
|
7327
|
+
uploadChunk: {
|
|
7328
|
+
method: "PUT",
|
|
7329
|
+
path: "/api/v1/storage/upload/chunked/:uploadId/chunk/:chunkIndex",
|
|
7330
|
+
input: UploadChunkRequestSchema,
|
|
7331
|
+
output: UploadChunkResponseSchema
|
|
7332
|
+
},
|
|
7333
|
+
completeChunkedUpload: {
|
|
7334
|
+
method: "POST",
|
|
7335
|
+
path: "/api/v1/storage/upload/chunked/:uploadId/complete",
|
|
7336
|
+
input: CompleteChunkedUploadRequestSchema,
|
|
7337
|
+
output: CompleteChunkedUploadResponseSchema
|
|
7338
|
+
},
|
|
7339
|
+
getUploadProgress: {
|
|
7340
|
+
method: "GET",
|
|
7341
|
+
path: "/api/v1/storage/upload/chunked/:uploadId/progress",
|
|
7342
|
+
output: UploadProgressSchema
|
|
7343
|
+
}
|
|
7344
|
+
};
|
|
7057
7345
|
var EncryptionAlgorithmSchema = zod.z.enum([
|
|
7058
7346
|
"aes-256-gcm",
|
|
7059
7347
|
"aes-256-cbc",
|
|
@@ -10697,6 +10985,12 @@ var FeedItemSchema = zod.z.object({
|
|
|
10697
10985
|
/** Reply threading */
|
|
10698
10986
|
parentId: zod.z.string().optional().describe("Parent feed item ID for threaded replies"),
|
|
10699
10987
|
replyCount: zod.z.number().int().min(0).default(0).describe("Number of replies"),
|
|
10988
|
+
/** Pin / Star */
|
|
10989
|
+
pinned: zod.z.boolean().default(false).describe("Whether the feed item is pinned to the top of the timeline"),
|
|
10990
|
+
pinnedAt: zod.z.string().datetime().optional().describe("Timestamp when the item was pinned"),
|
|
10991
|
+
pinnedBy: zod.z.string().optional().describe("User ID who pinned the item"),
|
|
10992
|
+
starred: zod.z.boolean().default(false).describe("Whether the feed item is starred/bookmarked by the current user"),
|
|
10993
|
+
starredAt: zod.z.string().datetime().optional().describe("Timestamp when the item was starred"),
|
|
10700
10994
|
/** Visibility */
|
|
10701
10995
|
visibility: FeedVisibility.default("public").describe("Visibility: public (all users), internal (team only), private (author + mentioned)"),
|
|
10702
10996
|
/** Timestamps */
|
|
@@ -10808,6 +11102,85 @@ var RemoveReactionResponseSchema = BaseResponseSchema.extend({
|
|
|
10808
11102
|
reactions: zod.z.array(ReactionSchema).describe("Updated reaction list for the feed item")
|
|
10809
11103
|
})
|
|
10810
11104
|
});
|
|
11105
|
+
var PinFeedItemRequestSchema = FeedItemPathParamsSchema;
|
|
11106
|
+
var PinFeedItemResponseSchema = BaseResponseSchema.extend({
|
|
11107
|
+
data: zod.z.object({
|
|
11108
|
+
feedId: zod.z.string().describe("ID of the pinned feed item"),
|
|
11109
|
+
pinned: zod.z.boolean().describe("Whether the item is now pinned"),
|
|
11110
|
+
pinnedAt: zod.z.string().datetime().describe("Timestamp when pinned")
|
|
11111
|
+
})
|
|
11112
|
+
});
|
|
11113
|
+
var UnpinFeedItemRequestSchema = FeedItemPathParamsSchema;
|
|
11114
|
+
var UnpinFeedItemResponseSchema = BaseResponseSchema.extend({
|
|
11115
|
+
data: zod.z.object({
|
|
11116
|
+
feedId: zod.z.string().describe("ID of the unpinned feed item"),
|
|
11117
|
+
pinned: zod.z.boolean().describe("Whether the item is now pinned (should be false)")
|
|
11118
|
+
})
|
|
11119
|
+
});
|
|
11120
|
+
var StarFeedItemRequestSchema = FeedItemPathParamsSchema;
|
|
11121
|
+
var StarFeedItemResponseSchema = BaseResponseSchema.extend({
|
|
11122
|
+
data: zod.z.object({
|
|
11123
|
+
feedId: zod.z.string().describe("ID of the starred feed item"),
|
|
11124
|
+
starred: zod.z.boolean().describe("Whether the item is now starred"),
|
|
11125
|
+
starredAt: zod.z.string().datetime().describe("Timestamp when starred")
|
|
11126
|
+
})
|
|
11127
|
+
});
|
|
11128
|
+
var UnstarFeedItemRequestSchema = FeedItemPathParamsSchema;
|
|
11129
|
+
var UnstarFeedItemResponseSchema = BaseResponseSchema.extend({
|
|
11130
|
+
data: zod.z.object({
|
|
11131
|
+
feedId: zod.z.string().describe("ID of the unstarred feed item"),
|
|
11132
|
+
starred: zod.z.boolean().describe("Whether the item is now starred (should be false)")
|
|
11133
|
+
})
|
|
11134
|
+
});
|
|
11135
|
+
var SearchFeedRequestSchema = FeedPathParamsSchema.extend({
|
|
11136
|
+
query: zod.z.string().min(1).describe("Full-text search query against feed body content"),
|
|
11137
|
+
type: FeedListFilterType.optional().describe("Filter by feed item category"),
|
|
11138
|
+
actorId: zod.z.string().optional().describe("Filter by actor user ID"),
|
|
11139
|
+
dateFrom: zod.z.string().datetime().optional().describe("Filter feed items created after this timestamp"),
|
|
11140
|
+
dateTo: zod.z.string().datetime().optional().describe("Filter feed items created before this timestamp"),
|
|
11141
|
+
hasAttachments: zod.z.boolean().optional().describe("Filter for items with file attachments"),
|
|
11142
|
+
pinnedOnly: zod.z.boolean().optional().describe("Return only pinned items"),
|
|
11143
|
+
starredOnly: zod.z.boolean().optional().describe("Return only starred items"),
|
|
11144
|
+
limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of items to return"),
|
|
11145
|
+
cursor: zod.z.string().optional().describe("Cursor for pagination")
|
|
11146
|
+
});
|
|
11147
|
+
var SearchFeedResponseSchema = BaseResponseSchema.extend({
|
|
11148
|
+
data: zod.z.object({
|
|
11149
|
+
items: zod.z.array(FeedItemSchema).describe("Matching feed items sorted by relevance"),
|
|
11150
|
+
total: zod.z.number().int().optional().describe("Total matching items"),
|
|
11151
|
+
nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
|
|
11152
|
+
hasMore: zod.z.boolean().describe("Whether more items are available")
|
|
11153
|
+
})
|
|
11154
|
+
});
|
|
11155
|
+
var GetChangelogRequestSchema = FeedPathParamsSchema.extend({
|
|
11156
|
+
field: zod.z.string().optional().describe("Filter changelog to a specific field name"),
|
|
11157
|
+
actorId: zod.z.string().optional().describe("Filter changelog by actor user ID"),
|
|
11158
|
+
dateFrom: zod.z.string().datetime().optional().describe("Filter changes after this timestamp"),
|
|
11159
|
+
dateTo: zod.z.string().datetime().optional().describe("Filter changes before this timestamp"),
|
|
11160
|
+
limit: zod.z.number().int().min(1).max(200).default(50).describe("Maximum number of changelog entries to return"),
|
|
11161
|
+
cursor: zod.z.string().optional().describe("Cursor for pagination")
|
|
11162
|
+
});
|
|
11163
|
+
var ChangelogEntrySchema = zod.z.object({
|
|
11164
|
+
id: zod.z.string().describe("Changelog entry ID"),
|
|
11165
|
+
object: zod.z.string().describe("Object name"),
|
|
11166
|
+
recordId: zod.z.string().describe("Record ID"),
|
|
11167
|
+
actor: zod.z.object({
|
|
11168
|
+
type: zod.z.enum(["user", "system", "service", "automation"]).describe("Actor type"),
|
|
11169
|
+
id: zod.z.string().describe("Actor ID"),
|
|
11170
|
+
name: zod.z.string().optional().describe("Actor display name")
|
|
11171
|
+
}).describe("Who made the change"),
|
|
11172
|
+
changes: zod.z.array(FieldChangeEntrySchema).min(1).describe("Field-level changes"),
|
|
11173
|
+
timestamp: zod.z.string().datetime().describe("When the change occurred"),
|
|
11174
|
+
source: zod.z.string().optional().describe('Change source (e.g., "API", "UI", "automation")')
|
|
11175
|
+
});
|
|
11176
|
+
var GetChangelogResponseSchema = BaseResponseSchema.extend({
|
|
11177
|
+
data: zod.z.object({
|
|
11178
|
+
entries: zod.z.array(ChangelogEntrySchema).describe("Changelog entries in reverse chronological order"),
|
|
11179
|
+
total: zod.z.number().int().optional().describe("Total changelog entries matching filter"),
|
|
11180
|
+
nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
|
|
11181
|
+
hasMore: zod.z.boolean().describe("Whether more entries are available")
|
|
11182
|
+
})
|
|
11183
|
+
});
|
|
10811
11184
|
var SubscribeRequestSchema = FeedPathParamsSchema.extend({
|
|
10812
11185
|
events: zod.z.array(SubscriptionEventType).default(["all"]).describe("Event types to subscribe to"),
|
|
10813
11186
|
channels: zod.z.array(NotificationChannel).default(["in_app"]).describe("Notification delivery channels")
|
|
@@ -10832,7 +11205,12 @@ var FeedApiErrorCode = zod.z.enum([
|
|
|
10832
11205
|
"reaction_not_found",
|
|
10833
11206
|
"subscription_already_exists",
|
|
10834
11207
|
"subscription_not_found",
|
|
10835
|
-
"invalid_feed_type"
|
|
11208
|
+
"invalid_feed_type",
|
|
11209
|
+
"feed_already_pinned",
|
|
11210
|
+
"feed_not_pinned",
|
|
11211
|
+
"feed_already_starred",
|
|
11212
|
+
"feed_not_starred",
|
|
11213
|
+
"feed_search_query_too_short"
|
|
10836
11214
|
]);
|
|
10837
11215
|
var FeedApiContracts = {
|
|
10838
11216
|
listFeed: {
|
|
@@ -10871,6 +11249,42 @@ var FeedApiContracts = {
|
|
|
10871
11249
|
input: RemoveReactionRequestSchema,
|
|
10872
11250
|
output: RemoveReactionResponseSchema
|
|
10873
11251
|
},
|
|
11252
|
+
pinFeedItem: {
|
|
11253
|
+
method: "POST",
|
|
11254
|
+
path: "/api/data/:object/:recordId/feed/:feedId/pin",
|
|
11255
|
+
input: PinFeedItemRequestSchema,
|
|
11256
|
+
output: PinFeedItemResponseSchema
|
|
11257
|
+
},
|
|
11258
|
+
unpinFeedItem: {
|
|
11259
|
+
method: "DELETE",
|
|
11260
|
+
path: "/api/data/:object/:recordId/feed/:feedId/pin",
|
|
11261
|
+
input: UnpinFeedItemRequestSchema,
|
|
11262
|
+
output: UnpinFeedItemResponseSchema
|
|
11263
|
+
},
|
|
11264
|
+
starFeedItem: {
|
|
11265
|
+
method: "POST",
|
|
11266
|
+
path: "/api/data/:object/:recordId/feed/:feedId/star",
|
|
11267
|
+
input: StarFeedItemRequestSchema,
|
|
11268
|
+
output: StarFeedItemResponseSchema
|
|
11269
|
+
},
|
|
11270
|
+
unstarFeedItem: {
|
|
11271
|
+
method: "DELETE",
|
|
11272
|
+
path: "/api/data/:object/:recordId/feed/:feedId/star",
|
|
11273
|
+
input: UnstarFeedItemRequestSchema,
|
|
11274
|
+
output: UnstarFeedItemResponseSchema
|
|
11275
|
+
},
|
|
11276
|
+
searchFeed: {
|
|
11277
|
+
method: "GET",
|
|
11278
|
+
path: "/api/data/:object/:recordId/feed/search",
|
|
11279
|
+
input: SearchFeedRequestSchema,
|
|
11280
|
+
output: SearchFeedResponseSchema
|
|
11281
|
+
},
|
|
11282
|
+
getChangelog: {
|
|
11283
|
+
method: "GET",
|
|
11284
|
+
path: "/api/data/:object/:recordId/changelog",
|
|
11285
|
+
input: GetChangelogRequestSchema,
|
|
11286
|
+
output: GetChangelogResponseSchema
|
|
11287
|
+
},
|
|
10874
11288
|
subscribe: {
|
|
10875
11289
|
method: "POST",
|
|
10876
11290
|
path: "/api/data/:object/:recordId/subscribe",
|
|
@@ -10884,6 +11298,1483 @@ var FeedApiContracts = {
|
|
|
10884
11298
|
output: UnsubscribeResponseSchema
|
|
10885
11299
|
}
|
|
10886
11300
|
};
|
|
11301
|
+
var ExportFormat = zod.z.enum([
|
|
11302
|
+
"csv",
|
|
11303
|
+
"json",
|
|
11304
|
+
"jsonl",
|
|
11305
|
+
"xlsx",
|
|
11306
|
+
"parquet"
|
|
11307
|
+
]);
|
|
11308
|
+
var ExportJobStatus = zod.z.enum([
|
|
11309
|
+
"pending",
|
|
11310
|
+
"processing",
|
|
11311
|
+
"completed",
|
|
11312
|
+
"failed",
|
|
11313
|
+
"cancelled",
|
|
11314
|
+
"expired"
|
|
11315
|
+
]);
|
|
11316
|
+
var CreateExportJobRequestSchema = zod.z.object({
|
|
11317
|
+
object: zod.z.string().describe("Object name to export"),
|
|
11318
|
+
format: ExportFormat.default("csv").describe("Export file format"),
|
|
11319
|
+
fields: zod.z.array(zod.z.string()).optional().describe("Specific fields to include (omit for all fields)"),
|
|
11320
|
+
filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Filter criteria for records to export"),
|
|
11321
|
+
sort: zod.z.array(zod.z.object({
|
|
11322
|
+
field: zod.z.string().describe("Field name to sort by"),
|
|
11323
|
+
direction: zod.z.enum(["asc", "desc"]).default("asc").describe("Sort direction")
|
|
11324
|
+
})).optional().describe("Sort order for exported records"),
|
|
11325
|
+
limit: zod.z.number().int().min(1).optional().describe("Maximum number of records to export"),
|
|
11326
|
+
includeHeaders: zod.z.boolean().default(true).describe("Include header row (CSV/XLSX)"),
|
|
11327
|
+
encoding: zod.z.string().default("utf-8").describe("Character encoding for the export file"),
|
|
11328
|
+
templateId: zod.z.string().optional().describe("Export template ID for predefined field mappings")
|
|
11329
|
+
});
|
|
11330
|
+
var CreateExportJobResponseSchema = BaseResponseSchema.extend({
|
|
11331
|
+
data: zod.z.object({
|
|
11332
|
+
jobId: zod.z.string().describe("Export job ID"),
|
|
11333
|
+
status: ExportJobStatus.describe("Initial job status"),
|
|
11334
|
+
estimatedRecords: zod.z.number().int().optional().describe("Estimated total records"),
|
|
11335
|
+
createdAt: zod.z.string().datetime().describe("Job creation timestamp")
|
|
11336
|
+
})
|
|
11337
|
+
});
|
|
11338
|
+
var ExportJobProgressSchema = BaseResponseSchema.extend({
|
|
11339
|
+
data: zod.z.object({
|
|
11340
|
+
jobId: zod.z.string().describe("Export job ID"),
|
|
11341
|
+
status: ExportJobStatus.describe("Current job status"),
|
|
11342
|
+
format: ExportFormat.describe("Export format"),
|
|
11343
|
+
totalRecords: zod.z.number().int().optional().describe("Total records to export"),
|
|
11344
|
+
processedRecords: zod.z.number().int().describe("Records processed so far"),
|
|
11345
|
+
percentComplete: zod.z.number().min(0).max(100).describe("Export progress percentage"),
|
|
11346
|
+
fileSize: zod.z.number().int().optional().describe("Current file size in bytes"),
|
|
11347
|
+
downloadUrl: zod.z.string().optional().describe('Presigned download URL (available when status is "completed")'),
|
|
11348
|
+
downloadExpiresAt: zod.z.string().datetime().optional().describe("Download URL expiration timestamp"),
|
|
11349
|
+
error: zod.z.object({
|
|
11350
|
+
code: zod.z.string().describe("Error code"),
|
|
11351
|
+
message: zod.z.string().describe("Error message")
|
|
11352
|
+
}).optional().describe("Error details if job failed"),
|
|
11353
|
+
startedAt: zod.z.string().datetime().optional().describe("Processing start timestamp"),
|
|
11354
|
+
completedAt: zod.z.string().datetime().optional().describe("Completion timestamp")
|
|
11355
|
+
})
|
|
11356
|
+
});
|
|
11357
|
+
var ImportValidationMode = zod.z.enum([
|
|
11358
|
+
"strict",
|
|
11359
|
+
// Reject entire import on any validation error
|
|
11360
|
+
"lenient",
|
|
11361
|
+
// Skip invalid records, import valid ones
|
|
11362
|
+
"dry_run"
|
|
11363
|
+
// Validate all records without persisting
|
|
11364
|
+
]);
|
|
11365
|
+
var DeduplicationStrategy = zod.z.enum([
|
|
11366
|
+
"skip",
|
|
11367
|
+
// Skip duplicates (keep existing)
|
|
11368
|
+
"update",
|
|
11369
|
+
// Update existing with import data
|
|
11370
|
+
"create_new",
|
|
11371
|
+
// Create new record even if duplicate
|
|
11372
|
+
"fail"
|
|
11373
|
+
// Fail the import if duplicates found
|
|
11374
|
+
]);
|
|
11375
|
+
var ImportValidationConfigSchema = zod.z.object({
|
|
11376
|
+
mode: ImportValidationMode.default("strict").describe("Validation mode for the import"),
|
|
11377
|
+
deduplication: zod.z.object({
|
|
11378
|
+
strategy: DeduplicationStrategy.default("skip").describe("How to handle duplicate records"),
|
|
11379
|
+
matchFields: zod.z.array(zod.z.string()).min(1).describe('Fields used to identify duplicates (e.g., "email", "external_id")')
|
|
11380
|
+
}).optional().describe("Deduplication configuration"),
|
|
11381
|
+
maxErrors: zod.z.number().int().min(1).default(100).describe("Maximum validation errors before aborting"),
|
|
11382
|
+
trimWhitespace: zod.z.boolean().default(true).describe("Trim leading/trailing whitespace from string fields"),
|
|
11383
|
+
dateFormat: zod.z.string().optional().describe('Expected date format in import data (e.g., "YYYY-MM-DD")'),
|
|
11384
|
+
nullValues: zod.z.array(zod.z.string()).optional().describe('Strings to treat as null (e.g., ["", "N/A", "null"])')
|
|
11385
|
+
});
|
|
11386
|
+
var ImportValidationResultSchema = BaseResponseSchema.extend({
|
|
11387
|
+
data: zod.z.object({
|
|
11388
|
+
totalRecords: zod.z.number().int().describe("Total records in import file"),
|
|
11389
|
+
validRecords: zod.z.number().int().describe("Records that passed validation"),
|
|
11390
|
+
invalidRecords: zod.z.number().int().describe("Records that failed validation"),
|
|
11391
|
+
duplicateRecords: zod.z.number().int().describe("Duplicate records detected"),
|
|
11392
|
+
errors: zod.z.array(zod.z.object({
|
|
11393
|
+
row: zod.z.number().int().describe("Row number in the import file"),
|
|
11394
|
+
field: zod.z.string().optional().describe("Field that failed validation"),
|
|
11395
|
+
code: zod.z.string().describe("Validation error code"),
|
|
11396
|
+
message: zod.z.string().describe("Validation error message")
|
|
11397
|
+
})).describe("List of validation errors"),
|
|
11398
|
+
preview: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).optional().describe("Preview of first N valid records (for dry_run mode)")
|
|
11399
|
+
})
|
|
11400
|
+
});
|
|
11401
|
+
var FieldMappingEntrySchema = zod.z.object({
|
|
11402
|
+
sourceField: zod.z.string().describe("Field name in the source data (import) or object (export)"),
|
|
11403
|
+
targetField: zod.z.string().describe("Field name in the target object (import) or file column (export)"),
|
|
11404
|
+
targetLabel: zod.z.string().optional().describe("Display label for the target column (export)"),
|
|
11405
|
+
transform: zod.z.enum(["none", "uppercase", "lowercase", "trim", "date_format", "lookup"]).default("none").describe("Transformation to apply during mapping"),
|
|
11406
|
+
defaultValue: zod.z.unknown().optional().describe("Default value if source field is null/empty"),
|
|
11407
|
+
required: zod.z.boolean().default(false).describe("Whether this field is required (import validation)")
|
|
11408
|
+
});
|
|
11409
|
+
var ExportImportTemplateSchema = zod.z.object({
|
|
11410
|
+
id: zod.z.string().optional().describe("Template ID (generated on save)"),
|
|
11411
|
+
name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Template machine name (snake_case)"),
|
|
11412
|
+
label: zod.z.string().describe("Human-readable template label"),
|
|
11413
|
+
description: zod.z.string().optional().describe("Template description"),
|
|
11414
|
+
object: zod.z.string().describe("Target object name"),
|
|
11415
|
+
direction: zod.z.enum(["import", "export", "bidirectional"]).describe("Template direction"),
|
|
11416
|
+
format: ExportFormat.optional().describe("Default file format for this template"),
|
|
11417
|
+
mappings: zod.z.array(FieldMappingEntrySchema).min(1).describe("Field mapping entries"),
|
|
11418
|
+
createdAt: zod.z.string().datetime().optional().describe("Template creation timestamp"),
|
|
11419
|
+
updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
|
|
11420
|
+
createdBy: zod.z.string().optional().describe("User who created the template")
|
|
11421
|
+
});
|
|
11422
|
+
var ScheduledExportSchema = zod.z.object({
|
|
11423
|
+
id: zod.z.string().optional().describe("Scheduled export ID"),
|
|
11424
|
+
name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Schedule name (snake_case)"),
|
|
11425
|
+
label: zod.z.string().optional().describe("Human-readable label"),
|
|
11426
|
+
object: zod.z.string().describe("Object name to export"),
|
|
11427
|
+
format: ExportFormat.default("csv").describe("Export file format"),
|
|
11428
|
+
fields: zod.z.array(zod.z.string()).optional().describe("Fields to include"),
|
|
11429
|
+
filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record filter criteria"),
|
|
11430
|
+
templateId: zod.z.string().optional().describe("Export template ID for field mappings"),
|
|
11431
|
+
schedule: zod.z.object({
|
|
11432
|
+
cronExpression: zod.z.string().describe("Cron expression for schedule"),
|
|
11433
|
+
timezone: zod.z.string().default("UTC").describe("IANA timezone")
|
|
11434
|
+
}).describe("Schedule timing configuration"),
|
|
11435
|
+
delivery: zod.z.object({
|
|
11436
|
+
method: zod.z.enum(["email", "storage", "webhook"]).describe("How to deliver the export file"),
|
|
11437
|
+
recipients: zod.z.array(zod.z.string()).optional().describe("Email recipients (for email delivery)"),
|
|
11438
|
+
storagePath: zod.z.string().optional().describe("Storage path (for storage delivery)"),
|
|
11439
|
+
webhookUrl: zod.z.string().optional().describe("Webhook URL (for webhook delivery)")
|
|
11440
|
+
}).describe("Export delivery configuration"),
|
|
11441
|
+
enabled: zod.z.boolean().default(true).describe("Whether the scheduled export is active"),
|
|
11442
|
+
lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp"),
|
|
11443
|
+
nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution"),
|
|
11444
|
+
createdAt: zod.z.string().datetime().optional().describe("Creation timestamp"),
|
|
11445
|
+
createdBy: zod.z.string().optional().describe("User who created the schedule")
|
|
11446
|
+
});
|
|
11447
|
+
var GetExportJobDownloadRequestSchema = zod.z.object({
|
|
11448
|
+
jobId: zod.z.string().describe("Export job ID")
|
|
11449
|
+
});
|
|
11450
|
+
var GetExportJobDownloadResponseSchema = BaseResponseSchema.extend({
|
|
11451
|
+
data: zod.z.object({
|
|
11452
|
+
jobId: zod.z.string().describe("Export job ID"),
|
|
11453
|
+
downloadUrl: zod.z.string().describe("Presigned download URL"),
|
|
11454
|
+
fileName: zod.z.string().describe("Suggested file name"),
|
|
11455
|
+
fileSize: zod.z.number().int().describe("File size in bytes"),
|
|
11456
|
+
format: ExportFormat.describe("Export file format"),
|
|
11457
|
+
expiresAt: zod.z.string().datetime().describe("Download URL expiration timestamp"),
|
|
11458
|
+
checksum: zod.z.string().optional().describe("File checksum (SHA-256)")
|
|
11459
|
+
})
|
|
11460
|
+
});
|
|
11461
|
+
var ListExportJobsRequestSchema = zod.z.object({
|
|
11462
|
+
object: zod.z.string().optional().describe("Filter by object name"),
|
|
11463
|
+
status: ExportJobStatus.optional().describe("Filter by job status"),
|
|
11464
|
+
limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of jobs to return"),
|
|
11465
|
+
cursor: zod.z.string().optional().describe("Pagination cursor from a previous response")
|
|
11466
|
+
});
|
|
11467
|
+
var ExportJobSummarySchema = zod.z.object({
|
|
11468
|
+
jobId: zod.z.string().describe("Export job ID"),
|
|
11469
|
+
object: zod.z.string().describe("Object name that was exported"),
|
|
11470
|
+
status: ExportJobStatus.describe("Current job status"),
|
|
11471
|
+
format: ExportFormat.describe("Export file format"),
|
|
11472
|
+
totalRecords: zod.z.number().int().optional().describe("Total records exported"),
|
|
11473
|
+
fileSize: zod.z.number().int().optional().describe("File size in bytes"),
|
|
11474
|
+
createdAt: zod.z.string().datetime().describe("Job creation timestamp"),
|
|
11475
|
+
completedAt: zod.z.string().datetime().optional().describe("Completion timestamp"),
|
|
11476
|
+
createdBy: zod.z.string().optional().describe("User who initiated the export")
|
|
11477
|
+
});
|
|
11478
|
+
var ListExportJobsResponseSchema = BaseResponseSchema.extend({
|
|
11479
|
+
data: zod.z.object({
|
|
11480
|
+
jobs: zod.z.array(ExportJobSummarySchema).describe("List of export jobs"),
|
|
11481
|
+
nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
|
|
11482
|
+
hasMore: zod.z.boolean().describe("Whether more jobs are available")
|
|
11483
|
+
})
|
|
11484
|
+
});
|
|
11485
|
+
var ScheduleExportRequestSchema = zod.z.object({
|
|
11486
|
+
name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Schedule name (snake_case)"),
|
|
11487
|
+
label: zod.z.string().optional().describe("Human-readable label"),
|
|
11488
|
+
object: zod.z.string().describe("Object name to export"),
|
|
11489
|
+
format: ExportFormat.default("csv").describe("Export file format"),
|
|
11490
|
+
fields: zod.z.array(zod.z.string()).optional().describe("Fields to include"),
|
|
11491
|
+
filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record filter criteria"),
|
|
11492
|
+
templateId: zod.z.string().optional().describe("Export template ID for field mappings"),
|
|
11493
|
+
schedule: zod.z.object({
|
|
11494
|
+
cronExpression: zod.z.string().describe("Cron expression for schedule"),
|
|
11495
|
+
timezone: zod.z.string().default("UTC").describe("IANA timezone")
|
|
11496
|
+
}).describe("Schedule timing configuration"),
|
|
11497
|
+
delivery: zod.z.object({
|
|
11498
|
+
method: zod.z.enum(["email", "storage", "webhook"]).describe("How to deliver the export file"),
|
|
11499
|
+
recipients: zod.z.array(zod.z.string()).optional().describe("Email recipients (for email delivery)"),
|
|
11500
|
+
storagePath: zod.z.string().optional().describe("Storage path (for storage delivery)"),
|
|
11501
|
+
webhookUrl: zod.z.string().optional().describe("Webhook URL (for webhook delivery)")
|
|
11502
|
+
}).describe("Export delivery configuration")
|
|
11503
|
+
});
|
|
11504
|
+
var ScheduleExportResponseSchema = BaseResponseSchema.extend({
|
|
11505
|
+
data: zod.z.object({
|
|
11506
|
+
id: zod.z.string().describe("Scheduled export ID"),
|
|
11507
|
+
name: zod.z.string().describe("Schedule name"),
|
|
11508
|
+
enabled: zod.z.boolean().describe("Whether the schedule is active"),
|
|
11509
|
+
nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution"),
|
|
11510
|
+
createdAt: zod.z.string().datetime().describe("Creation timestamp")
|
|
11511
|
+
})
|
|
11512
|
+
});
|
|
11513
|
+
var ExportApiContracts = {
|
|
11514
|
+
createExportJob: {
|
|
11515
|
+
method: "POST",
|
|
11516
|
+
path: "/api/v1/data/:object/export",
|
|
11517
|
+
input: CreateExportJobRequestSchema,
|
|
11518
|
+
output: CreateExportJobResponseSchema
|
|
11519
|
+
},
|
|
11520
|
+
getExportJobProgress: {
|
|
11521
|
+
method: "GET",
|
|
11522
|
+
path: "/api/v1/data/export/:jobId",
|
|
11523
|
+
input: zod.z.object({ jobId: zod.z.string() }),
|
|
11524
|
+
output: ExportJobProgressSchema
|
|
11525
|
+
},
|
|
11526
|
+
getExportJobDownload: {
|
|
11527
|
+
method: "GET",
|
|
11528
|
+
path: "/api/v1/data/export/:jobId/download",
|
|
11529
|
+
input: GetExportJobDownloadRequestSchema,
|
|
11530
|
+
output: GetExportJobDownloadResponseSchema
|
|
11531
|
+
},
|
|
11532
|
+
listExportJobs: {
|
|
11533
|
+
method: "GET",
|
|
11534
|
+
path: "/api/v1/data/export",
|
|
11535
|
+
input: ListExportJobsRequestSchema,
|
|
11536
|
+
output: ListExportJobsResponseSchema
|
|
11537
|
+
},
|
|
11538
|
+
scheduleExport: {
|
|
11539
|
+
method: "POST",
|
|
11540
|
+
path: "/api/v1/data/export/schedules",
|
|
11541
|
+
input: ScheduleExportRequestSchema,
|
|
11542
|
+
output: ScheduleExportResponseSchema
|
|
11543
|
+
},
|
|
11544
|
+
cancelExportJob: {
|
|
11545
|
+
method: "POST",
|
|
11546
|
+
path: "/api/v1/data/export/:jobId/cancel",
|
|
11547
|
+
input: zod.z.object({ jobId: zod.z.string() }),
|
|
11548
|
+
output: BaseResponseSchema
|
|
11549
|
+
}
|
|
11550
|
+
};
|
|
11551
|
+
var FlowNodeAction = zod.z.enum([
|
|
11552
|
+
"start",
|
|
11553
|
+
// Trigger
|
|
11554
|
+
"end",
|
|
11555
|
+
// Return/Stop
|
|
11556
|
+
"decision",
|
|
11557
|
+
// If/Else logic
|
|
11558
|
+
"assignment",
|
|
11559
|
+
// Set Variable
|
|
11560
|
+
"loop",
|
|
11561
|
+
// For Each
|
|
11562
|
+
"create_record",
|
|
11563
|
+
// CRUD: Create
|
|
11564
|
+
"update_record",
|
|
11565
|
+
// CRUD: Update
|
|
11566
|
+
"delete_record",
|
|
11567
|
+
// CRUD: Delete
|
|
11568
|
+
"get_record",
|
|
11569
|
+
// CRUD: Get/Query
|
|
11570
|
+
"http_request",
|
|
11571
|
+
// Webhook/API Call
|
|
11572
|
+
"script",
|
|
11573
|
+
// Custom Script (JS/TS)
|
|
11574
|
+
"screen",
|
|
11575
|
+
// Screen / User-Input Element
|
|
11576
|
+
"wait",
|
|
11577
|
+
// Delay/Sleep
|
|
11578
|
+
"subflow",
|
|
11579
|
+
// Call another flow
|
|
11580
|
+
"connector_action",
|
|
11581
|
+
// Zapier-style integration action
|
|
11582
|
+
"parallel_gateway",
|
|
11583
|
+
// BPMN Parallel Gateway — AND-split (all outgoing branches execute concurrently)
|
|
11584
|
+
"join_gateway",
|
|
11585
|
+
// BPMN Join Gateway — AND-join (waits for all incoming branches to complete)
|
|
11586
|
+
"boundary_event"
|
|
11587
|
+
// BPMN Boundary Event — attached to a host node for timer/error/signal interrupts
|
|
11588
|
+
]);
|
|
11589
|
+
var FlowVariableSchema = zod.z.object({
|
|
11590
|
+
name: zod.z.string().describe("Variable name"),
|
|
11591
|
+
type: zod.z.string().describe("Data type (text, number, boolean, object, list)"),
|
|
11592
|
+
isInput: zod.z.boolean().default(false).describe("Is input parameter"),
|
|
11593
|
+
isOutput: zod.z.boolean().default(false).describe("Is output parameter")
|
|
11594
|
+
});
|
|
11595
|
+
var FlowNodeSchema = zod.z.object({
|
|
11596
|
+
id: zod.z.string().describe("Node unique ID"),
|
|
11597
|
+
type: FlowNodeAction.describe("Action type"),
|
|
11598
|
+
label: zod.z.string().describe("Node label"),
|
|
11599
|
+
/** Node Configuration Options (Specific to type) */
|
|
11600
|
+
config: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Node configuration"),
|
|
11601
|
+
/**
|
|
11602
|
+
* Connector Action Configuration
|
|
11603
|
+
* Used when type is 'connector_action'
|
|
11604
|
+
*/
|
|
11605
|
+
connectorConfig: zod.z.object({
|
|
11606
|
+
connectorId: zod.z.string(),
|
|
11607
|
+
actionId: zod.z.string(),
|
|
11608
|
+
input: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mapped inputs for the action")
|
|
11609
|
+
}).optional(),
|
|
11610
|
+
/** UI Position (for the canvas) */
|
|
11611
|
+
position: zod.z.object({ x: zod.z.number(), y: zod.z.number() }).optional(),
|
|
11612
|
+
/** Node-level execution timeout */
|
|
11613
|
+
timeoutMs: zod.z.number().int().min(0).optional().describe("Maximum execution time for this node in milliseconds"),
|
|
11614
|
+
/** Node input schema declaration for Studio form generation and runtime validation */
|
|
11615
|
+
inputSchema: zod.z.record(zod.z.string(), zod.z.object({
|
|
11616
|
+
type: zod.z.enum(["string", "number", "boolean", "object", "array"]).describe("Parameter type"),
|
|
11617
|
+
required: zod.z.boolean().default(false).describe("Whether the parameter is required"),
|
|
11618
|
+
description: zod.z.string().optional().describe("Parameter description")
|
|
11619
|
+
})).optional().describe("Input parameter schema for this node"),
|
|
11620
|
+
/** Node output schema declaration */
|
|
11621
|
+
outputSchema: zod.z.record(zod.z.string(), zod.z.object({
|
|
11622
|
+
type: zod.z.enum(["string", "number", "boolean", "object", "array"]).describe("Output type"),
|
|
11623
|
+
description: zod.z.string().optional().describe("Output description")
|
|
11624
|
+
})).optional().describe("Output schema declaration for this node"),
|
|
11625
|
+
/**
|
|
11626
|
+
* Wait Event Configuration (for 'wait' nodes)
|
|
11627
|
+
* Defines what external event or condition should resume the paused execution.
|
|
11628
|
+
* Industry alignment: BPMN Intermediate Catch Events, Temporal Signals.
|
|
11629
|
+
*/
|
|
11630
|
+
waitEventConfig: zod.z.object({
|
|
11631
|
+
/** Type of event to wait for */
|
|
11632
|
+
eventType: zod.z.enum(["timer", "signal", "webhook", "manual", "condition"]).describe("What kind of event resumes the execution"),
|
|
11633
|
+
/** Duration to wait (ISO 8601 duration or milliseconds) — for timer events */
|
|
11634
|
+
timerDuration: zod.z.string().optional().describe('ISO 8601 duration (e.g., "PT1H") or wait time for timer events'),
|
|
11635
|
+
/** Signal name to listen for — for signal/webhook events */
|
|
11636
|
+
signalName: zod.z.string().optional().describe("Named signal or webhook event to wait for"),
|
|
11637
|
+
/** Timeout before auto-failing or continuing — optional guard */
|
|
11638
|
+
timeoutMs: zod.z.number().int().min(0).optional().describe("Maximum wait time before timeout (ms)"),
|
|
11639
|
+
/** Action to take on timeout */
|
|
11640
|
+
onTimeout: zod.z.enum(["fail", "continue"]).default("fail").describe("Behavior when the wait times out")
|
|
11641
|
+
}).optional().describe("Configuration for wait node event resumption"),
|
|
11642
|
+
/**
|
|
11643
|
+
* Boundary Event Configuration (for 'boundary_event' nodes)
|
|
11644
|
+
* Attaches an event handler to a host activity node (BPMN Boundary Event pattern).
|
|
11645
|
+
* Industry alignment: BPMN Boundary Error/Timer/Signal Events.
|
|
11646
|
+
*/
|
|
11647
|
+
boundaryConfig: zod.z.object({
|
|
11648
|
+
/** ID of the host node this boundary event is attached to */
|
|
11649
|
+
attachedToNodeId: zod.z.string().describe("Host node ID this boundary event monitors"),
|
|
11650
|
+
/** Type of boundary event */
|
|
11651
|
+
eventType: zod.z.enum(["error", "timer", "signal", "cancel"]).describe("Boundary event trigger type"),
|
|
11652
|
+
/** Whether the boundary event interrupts the host activity */
|
|
11653
|
+
interrupting: zod.z.boolean().default(true).describe("If true, the host activity is cancelled when this event fires"),
|
|
11654
|
+
/** Error code filter — only for error boundary events */
|
|
11655
|
+
errorCode: zod.z.string().optional().describe("Specific error code to catch (empty = catch all errors)"),
|
|
11656
|
+
/** Timer duration — only for timer boundary events */
|
|
11657
|
+
timerDuration: zod.z.string().optional().describe("ISO 8601 duration for timer boundary events"),
|
|
11658
|
+
/** Signal name — only for signal boundary events */
|
|
11659
|
+
signalName: zod.z.string().optional().describe("Named signal to catch")
|
|
11660
|
+
}).optional().describe("Configuration for boundary events attached to host nodes")
|
|
11661
|
+
});
|
|
11662
|
+
var FlowEdgeSchema = zod.z.object({
|
|
11663
|
+
id: zod.z.string().describe("Edge unique ID"),
|
|
11664
|
+
source: zod.z.string().describe("Source Node ID"),
|
|
11665
|
+
target: zod.z.string().describe("Target Node ID"),
|
|
11666
|
+
/** Condition for this path (only for decision/branch nodes) */
|
|
11667
|
+
condition: zod.z.string().optional().describe("Expression returning boolean used for branching"),
|
|
11668
|
+
type: zod.z.enum(["default", "fault", "conditional"]).default("default").describe("Connection type: default (normal flow), fault (error path), or conditional (expression-guarded)"),
|
|
11669
|
+
label: zod.z.string().optional().describe("Label on the connector"),
|
|
11670
|
+
/**
|
|
11671
|
+
* Default Sequence Flow marker (BPMN Default Flow semantics).
|
|
11672
|
+
* When true, this edge is taken when no sibling conditional edges match.
|
|
11673
|
+
* Only meaningful on outgoing edges of decision/gateway nodes.
|
|
11674
|
+
*/
|
|
11675
|
+
isDefault: zod.z.boolean().default(false).describe("Marks this edge as the default path when no other conditions match")
|
|
11676
|
+
});
|
|
11677
|
+
var FlowSchema = zod.z.object({
|
|
11678
|
+
/** Identity */
|
|
11679
|
+
name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Machine name"),
|
|
11680
|
+
label: zod.z.string().describe("Flow label"),
|
|
11681
|
+
description: zod.z.string().optional(),
|
|
11682
|
+
/** Metadata & Versioning */
|
|
11683
|
+
version: zod.z.number().int().default(1).describe("Version number"),
|
|
11684
|
+
status: zod.z.enum(["draft", "active", "obsolete", "invalid"]).default("draft").describe("Deployment status"),
|
|
11685
|
+
template: zod.z.boolean().default(false).describe("Is logic template (Subflow)"),
|
|
11686
|
+
/** Trigger Type */
|
|
11687
|
+
type: zod.z.enum(["autolaunched", "record_change", "schedule", "screen", "api"]).describe("Flow type"),
|
|
11688
|
+
/** Configuration Variables */
|
|
11689
|
+
variables: zod.z.array(FlowVariableSchema).optional().describe("Flow variables"),
|
|
11690
|
+
/** Graph Definition */
|
|
11691
|
+
nodes: zod.z.array(FlowNodeSchema).describe("Flow nodes"),
|
|
11692
|
+
edges: zod.z.array(FlowEdgeSchema).describe("Flow connections"),
|
|
11693
|
+
/** Execution Config */
|
|
11694
|
+
active: zod.z.boolean().default(false).describe("Is active (Deprecated: use status)"),
|
|
11695
|
+
runAs: zod.z.enum(["system", "user"]).default("user").describe("Execution context"),
|
|
11696
|
+
/** Error Handling Strategy */
|
|
11697
|
+
errorHandling: zod.z.object({
|
|
11698
|
+
strategy: zod.z.enum(["fail", "retry", "continue"]).default("fail").describe("How to handle node execution errors"),
|
|
11699
|
+
maxRetries: zod.z.number().int().min(0).max(10).default(0).describe("Number of retry attempts (only for retry strategy)"),
|
|
11700
|
+
retryDelayMs: zod.z.number().int().min(0).default(1e3).describe("Delay between retries in milliseconds"),
|
|
11701
|
+
backoffMultiplier: zod.z.number().min(1).default(1).describe("Multiplier for exponential backoff between retries"),
|
|
11702
|
+
maxRetryDelayMs: zod.z.number().int().min(0).default(3e4).describe("Maximum delay between retries in milliseconds"),
|
|
11703
|
+
jitter: zod.z.boolean().default(false).describe("Add random jitter to retry delay to avoid thundering herd"),
|
|
11704
|
+
fallbackNodeId: zod.z.string().optional().describe("Node ID to jump to on unrecoverable error")
|
|
11705
|
+
}).optional().describe("Flow-level error handling configuration")
|
|
11706
|
+
});
|
|
11707
|
+
zod.z.object({
|
|
11708
|
+
flowName: zod.z.string().describe("Flow machine name"),
|
|
11709
|
+
version: zod.z.number().int().min(1).describe("Version number"),
|
|
11710
|
+
definition: FlowSchema.describe("Complete flow definition snapshot"),
|
|
11711
|
+
createdAt: zod.z.string().datetime().describe("When this version was created"),
|
|
11712
|
+
createdBy: zod.z.string().optional().describe("User who created this version"),
|
|
11713
|
+
changeNote: zod.z.string().optional().describe("Description of what changed in this version")
|
|
11714
|
+
});
|
|
11715
|
+
var ExecutionStatus = zod.z.enum([
|
|
11716
|
+
"pending",
|
|
11717
|
+
// Queued, not yet started
|
|
11718
|
+
"running",
|
|
11719
|
+
// Currently executing
|
|
11720
|
+
"paused",
|
|
11721
|
+
// Paused at a wait/checkpoint node
|
|
11722
|
+
"completed",
|
|
11723
|
+
// Successfully finished
|
|
11724
|
+
"failed",
|
|
11725
|
+
// Terminated with error
|
|
11726
|
+
"cancelled",
|
|
11727
|
+
// Manually cancelled
|
|
11728
|
+
"timed_out",
|
|
11729
|
+
// Exceeded max execution time
|
|
11730
|
+
"retrying"
|
|
11731
|
+
// Failed and retrying
|
|
11732
|
+
]);
|
|
11733
|
+
var ExecutionStepLogSchema = zod.z.object({
|
|
11734
|
+
nodeId: zod.z.string().describe("Node ID that was executed"),
|
|
11735
|
+
nodeType: zod.z.string().describe('Node action type (e.g., "decision", "http_request")'),
|
|
11736
|
+
nodeLabel: zod.z.string().optional().describe("Human-readable node label"),
|
|
11737
|
+
status: zod.z.enum(["success", "failure", "skipped"]).describe("Step execution result"),
|
|
11738
|
+
startedAt: zod.z.string().datetime().describe("When the step started"),
|
|
11739
|
+
completedAt: zod.z.string().datetime().optional().describe("When the step completed"),
|
|
11740
|
+
durationMs: zod.z.number().int().min(0).optional().describe("Step execution duration in milliseconds"),
|
|
11741
|
+
input: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Input data passed to the node"),
|
|
11742
|
+
output: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Output data produced by the node"),
|
|
11743
|
+
error: zod.z.object({
|
|
11744
|
+
code: zod.z.string().describe("Error code"),
|
|
11745
|
+
message: zod.z.string().describe("Error message"),
|
|
11746
|
+
stack: zod.z.string().optional().describe("Stack trace")
|
|
11747
|
+
}).optional().describe("Error details if step failed"),
|
|
11748
|
+
retryAttempt: zod.z.number().int().min(0).optional().describe("Retry attempt number (0 = first try)")
|
|
11749
|
+
});
|
|
11750
|
+
var ExecutionLogSchema = zod.z.object({
|
|
11751
|
+
/** Unique execution ID */
|
|
11752
|
+
id: zod.z.string().describe("Execution instance ID"),
|
|
11753
|
+
/** Flow reference */
|
|
11754
|
+
flowName: zod.z.string().describe("Machine name of the executed flow"),
|
|
11755
|
+
flowVersion: zod.z.number().int().optional().describe("Version of the flow that was executed"),
|
|
11756
|
+
/** Execution status */
|
|
11757
|
+
status: ExecutionStatus.describe("Current execution status"),
|
|
11758
|
+
/** Trigger context */
|
|
11759
|
+
trigger: zod.z.object({
|
|
11760
|
+
type: zod.z.string().describe('Trigger type (e.g., "record_change", "schedule", "api", "manual")'),
|
|
11761
|
+
recordId: zod.z.string().optional().describe("Triggering record ID"),
|
|
11762
|
+
object: zod.z.string().optional().describe("Triggering object name"),
|
|
11763
|
+
userId: zod.z.string().optional().describe("User who triggered the execution"),
|
|
11764
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional trigger context")
|
|
11765
|
+
}).describe("What triggered this execution"),
|
|
11766
|
+
/** Step-by-step execution history */
|
|
11767
|
+
steps: zod.z.array(ExecutionStepLogSchema).describe("Ordered list of executed steps"),
|
|
11768
|
+
/** Execution variables snapshot */
|
|
11769
|
+
variables: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Final state of flow variables"),
|
|
11770
|
+
/** Timing */
|
|
11771
|
+
startedAt: zod.z.string().datetime().describe("Execution start timestamp"),
|
|
11772
|
+
completedAt: zod.z.string().datetime().optional().describe("Execution completion timestamp"),
|
|
11773
|
+
durationMs: zod.z.number().int().min(0).optional().describe("Total execution duration in milliseconds"),
|
|
11774
|
+
/** Context */
|
|
11775
|
+
runAs: zod.z.enum(["system", "user"]).optional().describe("Execution context identity"),
|
|
11776
|
+
tenantId: zod.z.string().optional().describe("Tenant ID for multi-tenant isolation")
|
|
11777
|
+
});
|
|
11778
|
+
var ExecutionErrorSeverity = zod.z.enum([
|
|
11779
|
+
"warning",
|
|
11780
|
+
// Non-fatal issue (e.g., deprecated node type)
|
|
11781
|
+
"error",
|
|
11782
|
+
// Node-level failure (may be retried)
|
|
11783
|
+
"critical"
|
|
11784
|
+
// Flow-level failure (execution terminated)
|
|
11785
|
+
]);
|
|
11786
|
+
zod.z.object({
|
|
11787
|
+
id: zod.z.string().describe("Error record ID"),
|
|
11788
|
+
executionId: zod.z.string().describe("Parent execution ID"),
|
|
11789
|
+
nodeId: zod.z.string().optional().describe("Node where the error occurred"),
|
|
11790
|
+
severity: ExecutionErrorSeverity.describe("Error severity level"),
|
|
11791
|
+
code: zod.z.string().describe("Machine-readable error code"),
|
|
11792
|
+
message: zod.z.string().describe("Human-readable error message"),
|
|
11793
|
+
stack: zod.z.string().optional().describe("Stack trace for debugging"),
|
|
11794
|
+
context: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional diagnostic context (input data, config snapshot)"),
|
|
11795
|
+
timestamp: zod.z.string().datetime().describe("When the error occurred"),
|
|
11796
|
+
retryable: zod.z.boolean().default(false).describe("Whether this error can be retried"),
|
|
11797
|
+
resolvedAt: zod.z.string().datetime().optional().describe("When the error was resolved (e.g., after successful retry)")
|
|
11798
|
+
});
|
|
11799
|
+
zod.z.object({
|
|
11800
|
+
/** Unique checkpoint ID */
|
|
11801
|
+
id: zod.z.string().describe("Checkpoint ID"),
|
|
11802
|
+
/** Execution reference */
|
|
11803
|
+
executionId: zod.z.string().describe("Parent execution ID"),
|
|
11804
|
+
flowName: zod.z.string().describe("Flow machine name"),
|
|
11805
|
+
/** State snapshot */
|
|
11806
|
+
currentNodeId: zod.z.string().describe("Node ID where execution is paused"),
|
|
11807
|
+
variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Flow variable state at checkpoint"),
|
|
11808
|
+
completedNodeIds: zod.z.array(zod.z.string()).describe("List of node IDs already executed"),
|
|
11809
|
+
/** Timing */
|
|
11810
|
+
createdAt: zod.z.string().datetime().describe("Checkpoint creation timestamp"),
|
|
11811
|
+
expiresAt: zod.z.string().datetime().optional().describe("Checkpoint expiration (auto-cleanup)"),
|
|
11812
|
+
/** Reason */
|
|
11813
|
+
reason: zod.z.enum(["wait", "screen_input", "approval", "error", "manual_pause", "parallel_join", "boundary_event"]).describe("Why the execution was checkpointed")
|
|
11814
|
+
});
|
|
11815
|
+
zod.z.object({
|
|
11816
|
+
/** Maximum concurrent executions of this flow */
|
|
11817
|
+
maxConcurrent: zod.z.number().int().min(1).default(1).describe("Maximum number of concurrent executions allowed"),
|
|
11818
|
+
/** What to do when max concurrency is reached */
|
|
11819
|
+
onConflict: zod.z.enum(["queue", "reject", "cancel_existing"]).default("queue").describe("queue = enqueue for later, reject = fail immediately, cancel_existing = stop running instance"),
|
|
11820
|
+
/** Lock scope for concurrency */
|
|
11821
|
+
lockScope: zod.z.enum(["global", "per_record", "per_user"]).default("global").describe("Scope of the concurrency lock"),
|
|
11822
|
+
/** Queue timeout (only when onConflict is "queue") */
|
|
11823
|
+
queueTimeoutMs: zod.z.number().int().min(0).optional().describe("Maximum time to wait in queue before timing out (ms)")
|
|
11824
|
+
});
|
|
11825
|
+
zod.z.object({
|
|
11826
|
+
/** Unique schedule ID */
|
|
11827
|
+
id: zod.z.string().describe("Schedule instance ID"),
|
|
11828
|
+
/** Flow reference */
|
|
11829
|
+
flowName: zod.z.string().describe("Flow machine name"),
|
|
11830
|
+
/** Schedule configuration */
|
|
11831
|
+
cronExpression: zod.z.string().describe('Cron expression (e.g., "0 9 * * MON-FRI")'),
|
|
11832
|
+
timezone: zod.z.string().default("UTC").describe("IANA timezone for cron evaluation"),
|
|
11833
|
+
/** Runtime state */
|
|
11834
|
+
status: zod.z.enum(["active", "paused", "disabled", "expired"]).default("active").describe("Current schedule status"),
|
|
11835
|
+
nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution timestamp"),
|
|
11836
|
+
lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp"),
|
|
11837
|
+
lastExecutionId: zod.z.string().optional().describe("Execution ID of the last run"),
|
|
11838
|
+
lastRunStatus: ExecutionStatus.optional().describe("Status of the last run"),
|
|
11839
|
+
/** Execution tracking */
|
|
11840
|
+
totalRuns: zod.z.number().int().min(0).default(0).describe("Total number of executions"),
|
|
11841
|
+
consecutiveFailures: zod.z.number().int().min(0).default(0).describe("Consecutive failed executions"),
|
|
11842
|
+
/** Bounds */
|
|
11843
|
+
startDate: zod.z.string().datetime().optional().describe("Schedule effective start date"),
|
|
11844
|
+
endDate: zod.z.string().datetime().optional().describe("Schedule expiration date"),
|
|
11845
|
+
maxRuns: zod.z.number().int().min(1).optional().describe("Maximum total executions before auto-disable"),
|
|
11846
|
+
/** Metadata */
|
|
11847
|
+
createdAt: zod.z.string().datetime().describe("Schedule creation timestamp"),
|
|
11848
|
+
updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
|
|
11849
|
+
createdBy: zod.z.string().optional().describe("User who created the schedule")
|
|
11850
|
+
});
|
|
11851
|
+
|
|
11852
|
+
// src/api/automation-api.zod.ts
|
|
11853
|
+
var AutomationFlowPathParamsSchema = zod.z.object({
|
|
11854
|
+
name: zod.z.string().describe("Flow machine name (snake_case)")
|
|
11855
|
+
});
|
|
11856
|
+
var AutomationRunPathParamsSchema = AutomationFlowPathParamsSchema.extend({
|
|
11857
|
+
runId: zod.z.string().describe("Execution run ID")
|
|
11858
|
+
});
|
|
11859
|
+
var ListFlowsRequestSchema = zod.z.object({
|
|
11860
|
+
status: zod.z.enum(["draft", "active", "obsolete", "invalid"]).optional().describe("Filter by flow status"),
|
|
11861
|
+
type: zod.z.enum(["autolaunched", "record_change", "schedule", "screen", "api"]).optional().describe("Filter by flow type"),
|
|
11862
|
+
limit: zod.z.number().int().min(1).max(100).default(50).describe("Maximum number of flows to return"),
|
|
11863
|
+
cursor: zod.z.string().optional().describe("Cursor for pagination")
|
|
11864
|
+
});
|
|
11865
|
+
var FlowSummarySchema = zod.z.object({
|
|
11866
|
+
name: zod.z.string().describe("Flow machine name"),
|
|
11867
|
+
label: zod.z.string().describe("Flow display label"),
|
|
11868
|
+
type: zod.z.string().describe("Flow type"),
|
|
11869
|
+
status: zod.z.string().describe("Flow deployment status"),
|
|
11870
|
+
version: zod.z.number().int().describe("Flow version number"),
|
|
11871
|
+
enabled: zod.z.boolean().describe("Whether the flow is enabled for execution"),
|
|
11872
|
+
nodeCount: zod.z.number().int().optional().describe("Number of nodes in the flow"),
|
|
11873
|
+
lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp")
|
|
11874
|
+
});
|
|
11875
|
+
var ListFlowsResponseSchema = BaseResponseSchema.extend({
|
|
11876
|
+
data: zod.z.object({
|
|
11877
|
+
flows: zod.z.array(FlowSummarySchema).describe("Flow summaries"),
|
|
11878
|
+
total: zod.z.number().int().optional().describe("Total matching flows"),
|
|
11879
|
+
nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
|
|
11880
|
+
hasMore: zod.z.boolean().describe("Whether more flows are available")
|
|
11881
|
+
})
|
|
11882
|
+
});
|
|
11883
|
+
var GetFlowRequestSchema = AutomationFlowPathParamsSchema;
|
|
11884
|
+
var GetFlowResponseSchema = BaseResponseSchema.extend({
|
|
11885
|
+
data: FlowSchema.describe("Full flow definition")
|
|
11886
|
+
});
|
|
11887
|
+
var CreateFlowRequestSchema = FlowSchema;
|
|
11888
|
+
var CreateFlowResponseSchema = BaseResponseSchema.extend({
|
|
11889
|
+
data: FlowSchema.describe("The created flow definition")
|
|
11890
|
+
});
|
|
11891
|
+
var UpdateFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
|
|
11892
|
+
definition: FlowSchema.partial().describe("Partial flow definition to update")
|
|
11893
|
+
});
|
|
11894
|
+
var UpdateFlowResponseSchema = BaseResponseSchema.extend({
|
|
11895
|
+
data: FlowSchema.describe("The updated flow definition")
|
|
11896
|
+
});
|
|
11897
|
+
var DeleteFlowRequestSchema = AutomationFlowPathParamsSchema;
|
|
11898
|
+
var DeleteFlowResponseSchema = BaseResponseSchema.extend({
|
|
11899
|
+
data: zod.z.object({
|
|
11900
|
+
name: zod.z.string().describe("Name of the deleted flow"),
|
|
11901
|
+
deleted: zod.z.boolean().describe("Whether the flow was deleted")
|
|
11902
|
+
})
|
|
11903
|
+
});
|
|
11904
|
+
var TriggerFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
|
|
11905
|
+
record: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record that triggered the automation"),
|
|
11906
|
+
object: zod.z.string().optional().describe("Object name the record belongs to"),
|
|
11907
|
+
event: zod.z.string().optional().describe("Trigger event type"),
|
|
11908
|
+
userId: zod.z.string().optional().describe("User who triggered the automation"),
|
|
11909
|
+
params: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional contextual data")
|
|
11910
|
+
});
|
|
11911
|
+
var TriggerFlowResponseSchema = BaseResponseSchema.extend({
|
|
11912
|
+
data: zod.z.object({
|
|
11913
|
+
success: zod.z.boolean().describe("Whether the automation completed successfully"),
|
|
11914
|
+
output: zod.z.unknown().optional().describe("Output data from the automation"),
|
|
11915
|
+
error: zod.z.string().optional().describe("Error message if execution failed"),
|
|
11916
|
+
durationMs: zod.z.number().optional().describe("Execution duration in milliseconds")
|
|
11917
|
+
})
|
|
11918
|
+
});
|
|
11919
|
+
var ToggleFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
|
|
11920
|
+
enabled: zod.z.boolean().describe("Whether to enable (true) or disable (false) the flow")
|
|
11921
|
+
});
|
|
11922
|
+
var ToggleFlowResponseSchema = BaseResponseSchema.extend({
|
|
11923
|
+
data: zod.z.object({
|
|
11924
|
+
name: zod.z.string().describe("Flow name"),
|
|
11925
|
+
enabled: zod.z.boolean().describe("New enabled state")
|
|
11926
|
+
})
|
|
11927
|
+
});
|
|
11928
|
+
var ListRunsRequestSchema = AutomationFlowPathParamsSchema.extend({
|
|
11929
|
+
status: zod.z.enum(["pending", "running", "paused", "completed", "failed", "cancelled", "timed_out", "retrying"]).optional().describe("Filter by execution status"),
|
|
11930
|
+
limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of runs to return"),
|
|
11931
|
+
cursor: zod.z.string().optional().describe("Cursor for pagination")
|
|
11932
|
+
});
|
|
11933
|
+
var ListRunsResponseSchema = BaseResponseSchema.extend({
|
|
11934
|
+
data: zod.z.object({
|
|
11935
|
+
runs: zod.z.array(ExecutionLogSchema).describe("Execution run logs"),
|
|
11936
|
+
total: zod.z.number().int().optional().describe("Total matching runs"),
|
|
11937
|
+
nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
|
|
11938
|
+
hasMore: zod.z.boolean().describe("Whether more runs are available")
|
|
11939
|
+
})
|
|
11940
|
+
});
|
|
11941
|
+
var GetRunRequestSchema = AutomationRunPathParamsSchema;
|
|
11942
|
+
var GetRunResponseSchema = BaseResponseSchema.extend({
|
|
11943
|
+
data: ExecutionLogSchema.describe("Full execution log with step details")
|
|
11944
|
+
});
|
|
11945
|
+
var AutomationApiErrorCode = zod.z.enum([
|
|
11946
|
+
"flow_not_found",
|
|
11947
|
+
"flow_already_exists",
|
|
11948
|
+
"flow_validation_failed",
|
|
11949
|
+
"flow_disabled",
|
|
11950
|
+
"execution_not_found",
|
|
11951
|
+
"execution_failed",
|
|
11952
|
+
"execution_timeout",
|
|
11953
|
+
"node_executor_not_found",
|
|
11954
|
+
"concurrent_execution_limit"
|
|
11955
|
+
]);
|
|
11956
|
+
var AutomationApiContracts = {
|
|
11957
|
+
listFlows: {
|
|
11958
|
+
method: "GET",
|
|
11959
|
+
path: "/api/automation",
|
|
11960
|
+
input: ListFlowsRequestSchema,
|
|
11961
|
+
output: ListFlowsResponseSchema
|
|
11962
|
+
},
|
|
11963
|
+
getFlow: {
|
|
11964
|
+
method: "GET",
|
|
11965
|
+
path: "/api/automation/:name",
|
|
11966
|
+
input: GetFlowRequestSchema,
|
|
11967
|
+
output: GetFlowResponseSchema
|
|
11968
|
+
},
|
|
11969
|
+
createFlow: {
|
|
11970
|
+
method: "POST",
|
|
11971
|
+
path: "/api/automation",
|
|
11972
|
+
input: CreateFlowRequestSchema,
|
|
11973
|
+
output: CreateFlowResponseSchema
|
|
11974
|
+
},
|
|
11975
|
+
updateFlow: {
|
|
11976
|
+
method: "PUT",
|
|
11977
|
+
path: "/api/automation/:name",
|
|
11978
|
+
input: UpdateFlowRequestSchema,
|
|
11979
|
+
output: UpdateFlowResponseSchema
|
|
11980
|
+
},
|
|
11981
|
+
deleteFlow: {
|
|
11982
|
+
method: "DELETE",
|
|
11983
|
+
path: "/api/automation/:name",
|
|
11984
|
+
input: DeleteFlowRequestSchema,
|
|
11985
|
+
output: DeleteFlowResponseSchema
|
|
11986
|
+
},
|
|
11987
|
+
triggerFlow: {
|
|
11988
|
+
method: "POST",
|
|
11989
|
+
path: "/api/automation/:name/trigger",
|
|
11990
|
+
input: TriggerFlowRequestSchema,
|
|
11991
|
+
output: TriggerFlowResponseSchema
|
|
11992
|
+
},
|
|
11993
|
+
toggleFlow: {
|
|
11994
|
+
method: "POST",
|
|
11995
|
+
path: "/api/automation/:name/toggle",
|
|
11996
|
+
input: ToggleFlowRequestSchema,
|
|
11997
|
+
output: ToggleFlowResponseSchema
|
|
11998
|
+
},
|
|
11999
|
+
listRuns: {
|
|
12000
|
+
method: "GET",
|
|
12001
|
+
path: "/api/automation/:name/runs",
|
|
12002
|
+
input: ListRunsRequestSchema,
|
|
12003
|
+
output: ListRunsResponseSchema
|
|
12004
|
+
},
|
|
12005
|
+
getRun: {
|
|
12006
|
+
method: "GET",
|
|
12007
|
+
path: "/api/automation/:name/runs/:runId",
|
|
12008
|
+
input: GetRunRequestSchema,
|
|
12009
|
+
output: GetRunResponseSchema
|
|
12010
|
+
}
|
|
12011
|
+
};
|
|
12012
|
+
var MetadataChangeTypeSchema = zod.z.enum([
|
|
12013
|
+
"added",
|
|
12014
|
+
// New metadata item added in new version
|
|
12015
|
+
"modified",
|
|
12016
|
+
// Existing metadata item modified
|
|
12017
|
+
"removed",
|
|
12018
|
+
// Metadata item removed in new version
|
|
12019
|
+
"renamed"
|
|
12020
|
+
// Metadata item renamed
|
|
12021
|
+
]).describe("Type of metadata change between package versions");
|
|
12022
|
+
var MetadataDiffItemSchema = zod.z.object({
|
|
12023
|
+
/** Metadata type (e.g. "object", "view", "flow") */
|
|
12024
|
+
type: zod.z.string().describe("Metadata type"),
|
|
12025
|
+
/** Metadata name */
|
|
12026
|
+
name: zod.z.string().describe("Metadata name"),
|
|
12027
|
+
/** Type of change */
|
|
12028
|
+
changeType: MetadataChangeTypeSchema.describe("Category of metadata modification (added, modified, removed, or renamed)"),
|
|
12029
|
+
/** Whether this change has potential conflicts with customizations */
|
|
12030
|
+
hasConflict: zod.z.boolean().default(false).describe("Whether this change may conflict with customizations"),
|
|
12031
|
+
/** Human-readable summary of the change */
|
|
12032
|
+
summary: zod.z.string().optional().describe("Human-readable change summary"),
|
|
12033
|
+
/** Previous name (for renames) */
|
|
12034
|
+
previousName: zod.z.string().optional().describe("Previous name if renamed")
|
|
12035
|
+
}).describe("Single metadata change between package versions");
|
|
12036
|
+
var UpgradeImpactLevelSchema = zod.z.enum([
|
|
12037
|
+
"none",
|
|
12038
|
+
// No impact, seamless upgrade
|
|
12039
|
+
"low",
|
|
12040
|
+
// Minor changes, no user action needed
|
|
12041
|
+
"medium",
|
|
12042
|
+
// Some changes that may affect workflows
|
|
12043
|
+
"high",
|
|
12044
|
+
// Significant changes, user review recommended
|
|
12045
|
+
"critical"
|
|
12046
|
+
// Breaking changes, manual intervention required
|
|
12047
|
+
]).describe("Severity of upgrade impact");
|
|
12048
|
+
var UpgradePlanSchema = zod.z.object({
|
|
12049
|
+
/** Package being upgraded */
|
|
12050
|
+
packageId: zod.z.string().describe("Package identifier"),
|
|
12051
|
+
/** Current installed version */
|
|
12052
|
+
fromVersion: zod.z.string().describe("Currently installed version"),
|
|
12053
|
+
/** Target version to upgrade to */
|
|
12054
|
+
toVersion: zod.z.string().describe("Target upgrade version"),
|
|
12055
|
+
/** Overall impact level */
|
|
12056
|
+
impactLevel: UpgradeImpactLevelSchema.describe("Severity assessment from none (seamless) to critical (breaking changes)"),
|
|
12057
|
+
/** List of all metadata changes between versions */
|
|
12058
|
+
changes: zod.z.array(MetadataDiffItemSchema).describe("All metadata changes"),
|
|
12059
|
+
/** Number of customer customizations that may be affected */
|
|
12060
|
+
affectedCustomizations: zod.z.number().int().min(0).default(0).describe("Count of customizations that may be affected"),
|
|
12061
|
+
/** Whether any migration scripts need to run */
|
|
12062
|
+
requiresMigration: zod.z.boolean().default(false).describe("Whether data migration scripts are needed"),
|
|
12063
|
+
/** Migration script paths (relative to package root) */
|
|
12064
|
+
migrationScripts: zod.z.array(zod.z.string()).optional().describe("Paths to migration scripts"),
|
|
12065
|
+
/** Dependencies that also need upgrading */
|
|
12066
|
+
dependencyUpgrades: zod.z.array(zod.z.object({
|
|
12067
|
+
packageId: zod.z.string(),
|
|
12068
|
+
fromVersion: zod.z.string(),
|
|
12069
|
+
toVersion: zod.z.string()
|
|
12070
|
+
})).optional().describe("Dependent packages that also need upgrading"),
|
|
12071
|
+
/** Estimated upgrade duration in seconds */
|
|
12072
|
+
estimatedDuration: zod.z.number().int().min(0).optional().describe("Estimated upgrade duration in seconds"),
|
|
12073
|
+
/** Human-readable summary */
|
|
12074
|
+
summary: zod.z.string().optional().describe("Human-readable upgrade summary")
|
|
12075
|
+
}).describe("Upgrade analysis plan generated before execution");
|
|
12076
|
+
zod.z.object({
|
|
12077
|
+
/** Snapshot ID (UUID) */
|
|
12078
|
+
id: zod.z.string().describe("Snapshot identifier"),
|
|
12079
|
+
/** Package being upgraded */
|
|
12080
|
+
packageId: zod.z.string().describe("Package identifier"),
|
|
12081
|
+
/** Version being upgraded from */
|
|
12082
|
+
fromVersion: zod.z.string().describe("Version before upgrade"),
|
|
12083
|
+
/** Version being upgraded to */
|
|
12084
|
+
toVersion: zod.z.string().describe("Target upgrade version"),
|
|
12085
|
+
/** Tenant ID */
|
|
12086
|
+
tenantId: zod.z.string().optional().describe("Tenant identifier"),
|
|
12087
|
+
/** Complete manifest of the old package version */
|
|
12088
|
+
previousManifest: ManifestSchema.describe("Complete manifest of the previous package version"),
|
|
12089
|
+
/**
|
|
12090
|
+
* Snapshot of all metadata records owned by this package.
|
|
12091
|
+
* Stored as array of { type, name, metadata } tuples.
|
|
12092
|
+
*/
|
|
12093
|
+
metadataSnapshot: zod.z.array(zod.z.object({
|
|
12094
|
+
type: zod.z.string(),
|
|
12095
|
+
name: zod.z.string(),
|
|
12096
|
+
metadata: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
12097
|
+
})).describe("Snapshot of all package metadata"),
|
|
12098
|
+
/**
|
|
12099
|
+
* Snapshot of all customer customizations (overlays) for this package's metadata.
|
|
12100
|
+
*/
|
|
12101
|
+
customizationSnapshot: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).optional().describe("Snapshot of customer customizations"),
|
|
12102
|
+
/** When the snapshot was created */
|
|
12103
|
+
createdAt: zod.z.string().datetime().describe("Snapshot creation timestamp"),
|
|
12104
|
+
/** Expiry time for snapshot cleanup */
|
|
12105
|
+
expiresAt: zod.z.string().datetime().optional().describe("Snapshot expiry timestamp")
|
|
12106
|
+
}).describe("Pre-upgrade state snapshot for rollback capability");
|
|
12107
|
+
zod.z.object({
|
|
12108
|
+
/** Package ID to upgrade */
|
|
12109
|
+
packageId: zod.z.string().describe("Package ID to upgrade"),
|
|
12110
|
+
/** Target version (if omitted, upgrades to latest) */
|
|
12111
|
+
targetVersion: zod.z.string().optional().describe("Target version (defaults to latest)"),
|
|
12112
|
+
/** New manifest for the target version */
|
|
12113
|
+
manifest: ManifestSchema.optional().describe("New manifest (if installing from local)"),
|
|
12114
|
+
/** Whether to create a pre-upgrade snapshot */
|
|
12115
|
+
createSnapshot: zod.z.boolean().default(true).describe("Whether to create a pre-upgrade backup snapshot"),
|
|
12116
|
+
/** Merge strategy for handling customizations */
|
|
12117
|
+
mergeStrategy: zod.z.enum([
|
|
12118
|
+
"keep-custom",
|
|
12119
|
+
"accept-incoming",
|
|
12120
|
+
"three-way-merge"
|
|
12121
|
+
]).default("three-way-merge").describe("How to handle customer customizations"),
|
|
12122
|
+
/** Whether to run in dry-run mode (preview only, no changes) */
|
|
12123
|
+
dryRun: zod.z.boolean().default(false).describe("Preview upgrade without making changes"),
|
|
12124
|
+
/** Whether to skip pre-upgrade validation */
|
|
12125
|
+
skipValidation: zod.z.boolean().default(false).describe("Skip pre-upgrade compatibility checks")
|
|
12126
|
+
}).describe("Upgrade package request");
|
|
12127
|
+
var UpgradePhaseSchema = zod.z.enum([
|
|
12128
|
+
"pending",
|
|
12129
|
+
// Upgrade requested but not started
|
|
12130
|
+
"analyzing",
|
|
12131
|
+
// Generating upgrade plan
|
|
12132
|
+
"snapshot",
|
|
12133
|
+
// Creating pre-upgrade snapshot
|
|
12134
|
+
"executing",
|
|
12135
|
+
// Applying metadata changes
|
|
12136
|
+
"migrating",
|
|
12137
|
+
// Running migration scripts
|
|
12138
|
+
"validating",
|
|
12139
|
+
// Post-upgrade validation
|
|
12140
|
+
"completed",
|
|
12141
|
+
// Upgrade completed successfully
|
|
12142
|
+
"failed",
|
|
12143
|
+
// Upgrade failed
|
|
12144
|
+
"rolling-back",
|
|
12145
|
+
// Rollback in progress
|
|
12146
|
+
"rolled-back"
|
|
12147
|
+
// Rollback completed
|
|
12148
|
+
]).describe("Current phase of the upgrade process");
|
|
12149
|
+
zod.z.object({
|
|
12150
|
+
/** Whether the upgrade was successful */
|
|
12151
|
+
success: zod.z.boolean().describe("Whether the upgrade succeeded"),
|
|
12152
|
+
/** Current upgrade phase */
|
|
12153
|
+
phase: UpgradePhaseSchema.describe("Current upgrade phase"),
|
|
12154
|
+
/** The upgrade plan that was executed */
|
|
12155
|
+
plan: UpgradePlanSchema.optional().describe("Upgrade plan"),
|
|
12156
|
+
/** Snapshot ID for rollback */
|
|
12157
|
+
snapshotId: zod.z.string().optional().describe("Snapshot ID for rollback"),
|
|
12158
|
+
/** Merge conflicts that need manual resolution (if any) */
|
|
12159
|
+
conflicts: zod.z.array(zod.z.object({
|
|
12160
|
+
path: zod.z.string(),
|
|
12161
|
+
baseValue: zod.z.unknown(),
|
|
12162
|
+
incomingValue: zod.z.unknown(),
|
|
12163
|
+
customValue: zod.z.unknown()
|
|
12164
|
+
})).optional().describe("Unresolved merge conflicts"),
|
|
12165
|
+
/** Error message (if failed) */
|
|
12166
|
+
errorMessage: zod.z.string().optional().describe("Error message if upgrade failed"),
|
|
12167
|
+
/** Human-readable summary */
|
|
12168
|
+
message: zod.z.string().optional().describe("Human-readable status message")
|
|
12169
|
+
}).describe("Upgrade package response");
|
|
12170
|
+
zod.z.object({
|
|
12171
|
+
/** Package ID to rollback */
|
|
12172
|
+
packageId: zod.z.string().describe("Package ID to rollback"),
|
|
12173
|
+
/** Snapshot ID to restore from */
|
|
12174
|
+
snapshotId: zod.z.string().describe("Snapshot ID to restore from"),
|
|
12175
|
+
/** Whether to also rollback customizations */
|
|
12176
|
+
rollbackCustomizations: zod.z.boolean().default(true).describe("Whether to restore pre-upgrade customizations")
|
|
12177
|
+
}).describe("Rollback package request");
|
|
12178
|
+
zod.z.object({
|
|
12179
|
+
/** Whether the rollback was successful */
|
|
12180
|
+
success: zod.z.boolean().describe("Whether the rollback succeeded"),
|
|
12181
|
+
/** Restored version */
|
|
12182
|
+
restoredVersion: zod.z.string().optional().describe("Version restored to"),
|
|
12183
|
+
/** Message */
|
|
12184
|
+
message: zod.z.string().optional().describe("Rollback status message")
|
|
12185
|
+
}).describe("Rollback package response");
|
|
12186
|
+
var MetadataCategoryEnum = zod.z.enum([
|
|
12187
|
+
"objects",
|
|
12188
|
+
"views",
|
|
12189
|
+
"pages",
|
|
12190
|
+
"flows",
|
|
12191
|
+
"dashboards",
|
|
12192
|
+
"permissions",
|
|
12193
|
+
"agents",
|
|
12194
|
+
"reports",
|
|
12195
|
+
"actions",
|
|
12196
|
+
"translations",
|
|
12197
|
+
"themes",
|
|
12198
|
+
"datasets",
|
|
12199
|
+
"apis",
|
|
12200
|
+
"triggers",
|
|
12201
|
+
"workflows"
|
|
12202
|
+
]).describe("Metadata category within the artifact");
|
|
12203
|
+
var ArtifactFileEntrySchema = zod.z.object({
|
|
12204
|
+
/** Relative path within the artifact (e.g. "metadata/objects/account.object.json") */
|
|
12205
|
+
path: zod.z.string().describe("Relative file path within the artifact"),
|
|
12206
|
+
/** File size in bytes */
|
|
12207
|
+
size: zod.z.number().int().nonnegative().describe("File size in bytes"),
|
|
12208
|
+
/** Metadata category (if under metadata/) */
|
|
12209
|
+
category: MetadataCategoryEnum.optional().describe("Metadata category this file belongs to")
|
|
12210
|
+
}).describe("A single file entry within the artifact");
|
|
12211
|
+
var ArtifactChecksumSchema = zod.z.object({
|
|
12212
|
+
/** Hash algorithm used (default: SHA256) */
|
|
12213
|
+
algorithm: zod.z.enum(["sha256", "sha384", "sha512"]).default("sha256").describe("Hash algorithm used for checksums"),
|
|
12214
|
+
/** Map of relative file paths to their hash values */
|
|
12215
|
+
files: zod.z.record(zod.z.string(), zod.z.string().regex(/^[a-f0-9]+$/)).describe("File path to hash value mapping")
|
|
12216
|
+
}).describe("Checksum manifest for artifact integrity verification");
|
|
12217
|
+
var ArtifactSignatureSchema = zod.z.object({
|
|
12218
|
+
/** Signature algorithm */
|
|
12219
|
+
algorithm: zod.z.enum(["RSA-SHA256", "RSA-SHA384", "RSA-SHA512", "ECDSA-SHA256"]).default("RSA-SHA256").describe("Signing algorithm used"),
|
|
12220
|
+
/** Public key reference (URL or fingerprint) for verification */
|
|
12221
|
+
publicKeyRef: zod.z.string().describe("Public key reference (URL or fingerprint) for signature verification"),
|
|
12222
|
+
/** Base64-encoded signature value */
|
|
12223
|
+
signature: zod.z.string().describe("Base64-encoded digital signature"),
|
|
12224
|
+
/** Timestamp of when the artifact was signed */
|
|
12225
|
+
signedAt: zod.z.string().datetime().optional().describe("ISO 8601 timestamp of when the artifact was signed"),
|
|
12226
|
+
/** Signer identity (publisher ID or email) */
|
|
12227
|
+
signedBy: zod.z.string().optional().describe("Identity of the signer (publisher ID or email)")
|
|
12228
|
+
}).describe("Digital signature for artifact authenticity verification");
|
|
12229
|
+
var PackageArtifactSchema = zod.z.object({
|
|
12230
|
+
/** Artifact format version (for forward compatibility) */
|
|
12231
|
+
formatVersion: zod.z.string().regex(/^\d+\.\d+$/).default("1.0").describe('Artifact format version (e.g. "1.0")'),
|
|
12232
|
+
/** Package ID from the manifest */
|
|
12233
|
+
packageId: zod.z.string().describe("Package identifier from manifest"),
|
|
12234
|
+
/** Package version from the manifest */
|
|
12235
|
+
version: zod.z.string().describe("Package version from manifest"),
|
|
12236
|
+
/** Artifact format */
|
|
12237
|
+
format: zod.z.enum(["tgz", "zip"]).default("tgz").describe("Archive format of the artifact"),
|
|
12238
|
+
/** Total artifact size in bytes */
|
|
12239
|
+
size: zod.z.number().int().positive().optional().describe("Total artifact file size in bytes"),
|
|
12240
|
+
/** Build timestamp */
|
|
12241
|
+
builtAt: zod.z.string().datetime().describe("ISO 8601 timestamp of when the artifact was built"),
|
|
12242
|
+
/** Build tool and version that produced this artifact */
|
|
12243
|
+
builtWith: zod.z.string().optional().describe('Build tool identifier (e.g. "os-cli@3.2.0")'),
|
|
12244
|
+
/** File listing within the artifact */
|
|
12245
|
+
files: zod.z.array(ArtifactFileEntrySchema).optional().describe("List of files contained in the artifact"),
|
|
12246
|
+
/** Metadata categories present in the artifact */
|
|
12247
|
+
metadataCategories: zod.z.array(MetadataCategoryEnum).optional().describe("Metadata categories included in this artifact"),
|
|
12248
|
+
/** Integrity checksums for all files */
|
|
12249
|
+
checksums: ArtifactChecksumSchema.optional().describe("SHA256 checksums for artifact integrity verification"),
|
|
12250
|
+
/** Digital signature for authenticity */
|
|
12251
|
+
signature: ArtifactSignatureSchema.optional().describe("Digital signature for artifact authenticity verification")
|
|
12252
|
+
}).describe("Package artifact structure and metadata");
|
|
12253
|
+
var PublisherVerificationSchema = zod.z.enum([
|
|
12254
|
+
"unverified",
|
|
12255
|
+
// Not yet verified
|
|
12256
|
+
"pending",
|
|
12257
|
+
// Verification in progress
|
|
12258
|
+
"verified",
|
|
12259
|
+
// Identity verified by platform
|
|
12260
|
+
"trusted",
|
|
12261
|
+
// Trusted publisher (track record of quality)
|
|
12262
|
+
"partner"
|
|
12263
|
+
// Official platform partner
|
|
12264
|
+
]).describe("Publisher verification status");
|
|
12265
|
+
zod.z.object({
|
|
12266
|
+
/** Publisher unique identifier */
|
|
12267
|
+
id: zod.z.string().describe("Publisher ID"),
|
|
12268
|
+
/** Display name */
|
|
12269
|
+
name: zod.z.string().describe("Publisher display name"),
|
|
12270
|
+
/** Publisher type */
|
|
12271
|
+
type: zod.z.enum(["individual", "organization"]).describe("Publisher type"),
|
|
12272
|
+
/** Verification status */
|
|
12273
|
+
verification: PublisherVerificationSchema.default("unverified").describe("Publisher verification status"),
|
|
12274
|
+
/** Contact email */
|
|
12275
|
+
email: zod.z.string().email().optional().describe("Contact email"),
|
|
12276
|
+
/** Website URL */
|
|
12277
|
+
website: zod.z.string().url().optional().describe("Publisher website"),
|
|
12278
|
+
/** Organization logo URL */
|
|
12279
|
+
logoUrl: zod.z.string().url().optional().describe("Publisher logo URL"),
|
|
12280
|
+
/** Short description/bio */
|
|
12281
|
+
description: zod.z.string().optional().describe("Publisher description"),
|
|
12282
|
+
/** Registration date */
|
|
12283
|
+
registeredAt: zod.z.string().datetime().optional().describe("Publisher registration timestamp")
|
|
12284
|
+
}).describe("Developer or organization that publishes packages");
|
|
12285
|
+
var ArtifactReferenceSchema = zod.z.object({
|
|
12286
|
+
/** Artifact download URL */
|
|
12287
|
+
url: zod.z.string().url().describe("Artifact download URL"),
|
|
12288
|
+
/** SHA256 integrity checksum */
|
|
12289
|
+
sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).describe("SHA256 checksum"),
|
|
12290
|
+
/** File size in bytes */
|
|
12291
|
+
size: zod.z.number().int().positive().describe("Artifact size in bytes"),
|
|
12292
|
+
/** Artifact format */
|
|
12293
|
+
format: zod.z.enum(["tgz", "zip"]).default("tgz").describe("Artifact format"),
|
|
12294
|
+
/** Upload timestamp */
|
|
12295
|
+
uploadedAt: zod.z.string().datetime().describe("Upload timestamp")
|
|
12296
|
+
}).describe("Reference to a downloadable package artifact");
|
|
12297
|
+
zod.z.object({
|
|
12298
|
+
/** Pre-signed or direct download URL */
|
|
12299
|
+
downloadUrl: zod.z.string().url().describe("Artifact download URL (may be pre-signed)"),
|
|
12300
|
+
/** SHA256 checksum for download verification */
|
|
12301
|
+
sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).describe("SHA256 checksum for verification"),
|
|
12302
|
+
/** File size in bytes */
|
|
12303
|
+
size: zod.z.number().int().positive().describe("Artifact size in bytes"),
|
|
12304
|
+
/** Artifact format */
|
|
12305
|
+
format: zod.z.enum(["tgz", "zip"]).describe("Artifact format"),
|
|
12306
|
+
/** URL expiration time (for pre-signed URLs) */
|
|
12307
|
+
expiresAt: zod.z.string().datetime().optional().describe("URL expiration timestamp for pre-signed URLs")
|
|
12308
|
+
}).describe("Artifact download response with integrity metadata");
|
|
12309
|
+
var MarketplaceCategorySchema = zod.z.enum([
|
|
12310
|
+
"crm",
|
|
12311
|
+
// Customer Relationship Management
|
|
12312
|
+
"erp",
|
|
12313
|
+
// Enterprise Resource Planning
|
|
12314
|
+
"hr",
|
|
12315
|
+
// Human Resources
|
|
12316
|
+
"finance",
|
|
12317
|
+
// Finance & Accounting
|
|
12318
|
+
"project",
|
|
12319
|
+
// Project Management
|
|
12320
|
+
"collaboration",
|
|
12321
|
+
// Collaboration & Communication
|
|
12322
|
+
"analytics",
|
|
12323
|
+
// Analytics & Reporting
|
|
12324
|
+
"integration",
|
|
12325
|
+
// Integrations & Connectors
|
|
12326
|
+
"automation",
|
|
12327
|
+
// Automation & Workflows
|
|
12328
|
+
"ai",
|
|
12329
|
+
// AI & Machine Learning
|
|
12330
|
+
"security",
|
|
12331
|
+
// Security & Compliance
|
|
12332
|
+
"developer-tools",
|
|
12333
|
+
// Developer Tools
|
|
12334
|
+
"ui-theme",
|
|
12335
|
+
// UI Themes & Appearance
|
|
12336
|
+
"storage",
|
|
12337
|
+
// Storage & Drivers
|
|
12338
|
+
"other"
|
|
12339
|
+
// Other / Uncategorized
|
|
12340
|
+
]).describe("Marketplace package category");
|
|
12341
|
+
var ListingStatusSchema = zod.z.enum([
|
|
12342
|
+
"draft",
|
|
12343
|
+
// Not yet submitted
|
|
12344
|
+
"submitted",
|
|
12345
|
+
// Submitted for review
|
|
12346
|
+
"in-review",
|
|
12347
|
+
// Under review
|
|
12348
|
+
"approved",
|
|
12349
|
+
// Approved, ready to publish
|
|
12350
|
+
"published",
|
|
12351
|
+
// Live on marketplace
|
|
12352
|
+
"rejected",
|
|
12353
|
+
// Review rejected
|
|
12354
|
+
"suspended",
|
|
12355
|
+
// Suspended by platform (policy violation)
|
|
12356
|
+
"deprecated",
|
|
12357
|
+
// Deprecated by publisher
|
|
12358
|
+
"unlisted"
|
|
12359
|
+
// Available by direct link only
|
|
12360
|
+
]).describe("Marketplace listing status");
|
|
12361
|
+
var PricingModelSchema = zod.z.enum([
|
|
12362
|
+
"free",
|
|
12363
|
+
// Free to install
|
|
12364
|
+
"freemium",
|
|
12365
|
+
// Free with paid premium features
|
|
12366
|
+
"paid",
|
|
12367
|
+
// Requires purchase
|
|
12368
|
+
"subscription",
|
|
12369
|
+
// Recurring subscription
|
|
12370
|
+
"usage-based",
|
|
12371
|
+
// Pay per usage
|
|
12372
|
+
"contact-sales"
|
|
12373
|
+
// Enterprise pricing, contact for quote
|
|
12374
|
+
]).describe("Package pricing model");
|
|
12375
|
+
var MarketplaceListingSchema = zod.z.object({
|
|
12376
|
+
/** Listing ID (matches package ID) */
|
|
12377
|
+
id: zod.z.string().describe("Listing ID (matches package manifest ID)"),
|
|
12378
|
+
/** Package ID (reverse domain notation) */
|
|
12379
|
+
packageId: zod.z.string().describe("Package identifier"),
|
|
12380
|
+
/** Publisher information */
|
|
12381
|
+
publisherId: zod.z.string().describe("Publisher ID"),
|
|
12382
|
+
/** Current listing status */
|
|
12383
|
+
status: ListingStatusSchema.default("draft").describe("Publication state: draft, published, under-review, suspended, deprecated, or unlisted"),
|
|
12384
|
+
/** Display name */
|
|
12385
|
+
name: zod.z.string().describe("Display name"),
|
|
12386
|
+
/** Tagline (short description for cards/search results) */
|
|
12387
|
+
tagline: zod.z.string().max(120).optional().describe("Short tagline (max 120 chars)"),
|
|
12388
|
+
/** Full description (supports Markdown) */
|
|
12389
|
+
description: zod.z.string().optional().describe("Full description (Markdown)"),
|
|
12390
|
+
/** Category */
|
|
12391
|
+
category: MarketplaceCategorySchema.describe("Package category"),
|
|
12392
|
+
/** Additional tags for search discovery */
|
|
12393
|
+
tags: zod.z.array(zod.z.string()).optional().describe("Search tags"),
|
|
12394
|
+
/** Icon/logo URL */
|
|
12395
|
+
iconUrl: zod.z.string().url().optional().describe("Package icon URL"),
|
|
12396
|
+
/** Screenshot URLs */
|
|
12397
|
+
screenshots: zod.z.array(zod.z.object({
|
|
12398
|
+
url: zod.z.string().url(),
|
|
12399
|
+
caption: zod.z.string().optional()
|
|
12400
|
+
})).optional().describe("Screenshots"),
|
|
12401
|
+
/** Documentation URL */
|
|
12402
|
+
documentationUrl: zod.z.string().url().optional().describe("Documentation URL"),
|
|
12403
|
+
/** Support URL */
|
|
12404
|
+
supportUrl: zod.z.string().url().optional().describe("Support URL"),
|
|
12405
|
+
/** Source repository URL (if open source) */
|
|
12406
|
+
repositoryUrl: zod.z.string().url().optional().describe("Source repository URL"),
|
|
12407
|
+
/** Pricing model */
|
|
12408
|
+
pricing: PricingModelSchema.default("free").describe("Pricing model"),
|
|
12409
|
+
/** Price in cents (if paid) */
|
|
12410
|
+
priceInCents: zod.z.number().int().min(0).optional().describe("Price in cents (e.g. 999 = $9.99)"),
|
|
12411
|
+
/** Latest published version */
|
|
12412
|
+
latestVersion: zod.z.string().describe("Latest published version"),
|
|
12413
|
+
/** Minimum platform version required */
|
|
12414
|
+
minPlatformVersion: zod.z.string().optional().describe("Minimum ObjectStack platform version"),
|
|
12415
|
+
/** Available versions for installation */
|
|
12416
|
+
versions: zod.z.array(zod.z.object({
|
|
12417
|
+
version: zod.z.string().describe("Version string"),
|
|
12418
|
+
releaseDate: zod.z.string().datetime().describe("Release date"),
|
|
12419
|
+
releaseNotes: zod.z.string().optional().describe("Release notes"),
|
|
12420
|
+
minPlatformVersion: zod.z.string().optional().describe("Minimum platform version"),
|
|
12421
|
+
deprecated: zod.z.boolean().default(false).describe("Whether this version is deprecated"),
|
|
12422
|
+
/** Artifact reference for this version */
|
|
12423
|
+
artifact: ArtifactReferenceSchema.optional().describe("Downloadable artifact for this version")
|
|
12424
|
+
})).optional().describe("Published versions"),
|
|
12425
|
+
/** Aggregate statistics */
|
|
12426
|
+
stats: zod.z.object({
|
|
12427
|
+
totalInstalls: zod.z.number().int().min(0).default(0).describe("Total installs"),
|
|
12428
|
+
activeInstalls: zod.z.number().int().min(0).default(0).describe("Active installs"),
|
|
12429
|
+
averageRating: zod.z.number().min(0).max(5).optional().describe("Average user rating (0-5)"),
|
|
12430
|
+
totalRatings: zod.z.number().int().min(0).default(0).describe("Total ratings count"),
|
|
12431
|
+
totalReviews: zod.z.number().int().min(0).default(0).describe("Total reviews count")
|
|
12432
|
+
}).optional().describe("Aggregate marketplace statistics"),
|
|
12433
|
+
/** First published date */
|
|
12434
|
+
publishedAt: zod.z.string().datetime().optional().describe("First published timestamp"),
|
|
12435
|
+
/** Last updated date */
|
|
12436
|
+
updatedAt: zod.z.string().datetime().optional().describe("Last updated timestamp")
|
|
12437
|
+
}).describe("Public-facing package listing on the marketplace");
|
|
12438
|
+
zod.z.object({
|
|
12439
|
+
/** Submission ID */
|
|
12440
|
+
id: zod.z.string().describe("Submission ID"),
|
|
12441
|
+
/** Package ID */
|
|
12442
|
+
packageId: zod.z.string().describe("Package identifier"),
|
|
12443
|
+
/** Version being submitted */
|
|
12444
|
+
version: zod.z.string().describe("Version being submitted"),
|
|
12445
|
+
/** Publisher ID */
|
|
12446
|
+
publisherId: zod.z.string().describe("Publisher submitting"),
|
|
12447
|
+
/** Submission status */
|
|
12448
|
+
status: zod.z.enum([
|
|
12449
|
+
"pending",
|
|
12450
|
+
// Awaiting review
|
|
12451
|
+
"scanning",
|
|
12452
|
+
// Automated scan in progress
|
|
12453
|
+
"in-review",
|
|
12454
|
+
// Under manual review
|
|
12455
|
+
"changes-requested",
|
|
12456
|
+
// Reviewer requests changes
|
|
12457
|
+
"approved",
|
|
12458
|
+
// Approved for publishing
|
|
12459
|
+
"rejected"
|
|
12460
|
+
// Rejected
|
|
12461
|
+
]).default("pending").describe("Review status"),
|
|
12462
|
+
/**
|
|
12463
|
+
* Package artifact URL or reference.
|
|
12464
|
+
* Points to the built package bundle for review.
|
|
12465
|
+
*/
|
|
12466
|
+
artifactUrl: zod.z.string().describe("Package artifact URL for review"),
|
|
12467
|
+
/** Release notes for this version */
|
|
12468
|
+
releaseNotes: zod.z.string().optional().describe("Release notes for this version"),
|
|
12469
|
+
/** Whether this is the first submission (new listing) vs version update */
|
|
12470
|
+
isNewListing: zod.z.boolean().default(false).describe("Whether this is a new listing submission"),
|
|
12471
|
+
/** Automated scan results */
|
|
12472
|
+
scanResults: zod.z.object({
|
|
12473
|
+
/** Whether automated scan passed */
|
|
12474
|
+
passed: zod.z.boolean(),
|
|
12475
|
+
/** Security scan score (0-100) */
|
|
12476
|
+
securityScore: zod.z.number().min(0).max(100).optional(),
|
|
12477
|
+
/** Compatibility check passed */
|
|
12478
|
+
compatibilityCheck: zod.z.boolean().optional(),
|
|
12479
|
+
/** Issues found during scan */
|
|
12480
|
+
issues: zod.z.array(zod.z.object({
|
|
12481
|
+
severity: zod.z.enum(["critical", "high", "medium", "low", "info"]),
|
|
12482
|
+
message: zod.z.string(),
|
|
12483
|
+
file: zod.z.string().optional(),
|
|
12484
|
+
line: zod.z.number().optional()
|
|
12485
|
+
})).optional()
|
|
12486
|
+
}).optional().describe("Automated scan results"),
|
|
12487
|
+
/** Reviewer notes (from platform reviewer) */
|
|
12488
|
+
reviewerNotes: zod.z.string().optional().describe("Notes from the platform reviewer"),
|
|
12489
|
+
/** Submitted timestamp */
|
|
12490
|
+
submittedAt: zod.z.string().datetime().optional().describe("Submission timestamp"),
|
|
12491
|
+
/** Review completed timestamp */
|
|
12492
|
+
reviewedAt: zod.z.string().datetime().optional().describe("Review completion timestamp")
|
|
12493
|
+
}).describe("Developer submission of a package version for review");
|
|
12494
|
+
zod.z.object({
|
|
12495
|
+
/** Search query string */
|
|
12496
|
+
query: zod.z.string().optional().describe("Full-text search query"),
|
|
12497
|
+
/** Filter by category */
|
|
12498
|
+
category: MarketplaceCategorySchema.optional().describe("Filter by category"),
|
|
12499
|
+
/** Filter by tags */
|
|
12500
|
+
tags: zod.z.array(zod.z.string()).optional().describe("Filter by tags"),
|
|
12501
|
+
/** Filter by pricing model */
|
|
12502
|
+
pricing: PricingModelSchema.optional().describe("Filter by pricing model"),
|
|
12503
|
+
/** Filter by publisher verification level */
|
|
12504
|
+
publisherVerification: PublisherVerificationSchema.optional().describe("Filter by publisher verification level"),
|
|
12505
|
+
/** Sort by */
|
|
12506
|
+
sortBy: zod.z.enum([
|
|
12507
|
+
"relevance",
|
|
12508
|
+
// Best match (default for search)
|
|
12509
|
+
"popularity",
|
|
12510
|
+
// Most installs
|
|
12511
|
+
"rating",
|
|
12512
|
+
// Highest rated
|
|
12513
|
+
"newest",
|
|
12514
|
+
// Most recently published
|
|
12515
|
+
"updated",
|
|
12516
|
+
// Most recently updated
|
|
12517
|
+
"name"
|
|
12518
|
+
// Alphabetical
|
|
12519
|
+
]).default("relevance").describe("Sort field"),
|
|
12520
|
+
/** Sort direction */
|
|
12521
|
+
sortDirection: zod.z.enum(["asc", "desc"]).default("desc").describe("Sort direction"),
|
|
12522
|
+
/** Pagination: page number */
|
|
12523
|
+
page: zod.z.number().int().min(1).default(1).describe("Page number"),
|
|
12524
|
+
/** Pagination: items per page */
|
|
12525
|
+
pageSize: zod.z.number().int().min(1).max(100).default(20).describe("Items per page"),
|
|
12526
|
+
/** Filter by minimum platform version compatibility */
|
|
12527
|
+
platformVersion: zod.z.string().optional().describe("Filter by platform version compatibility")
|
|
12528
|
+
}).describe("Marketplace search request");
|
|
12529
|
+
zod.z.object({
|
|
12530
|
+
/** Search results */
|
|
12531
|
+
items: zod.z.array(MarketplaceListingSchema).describe("Search result listings"),
|
|
12532
|
+
/** Total count (for pagination) */
|
|
12533
|
+
total: zod.z.number().int().min(0).describe("Total matching results"),
|
|
12534
|
+
/** Current page */
|
|
12535
|
+
page: zod.z.number().int().min(1).describe("Current page number"),
|
|
12536
|
+
/** Items per page */
|
|
12537
|
+
pageSize: zod.z.number().int().min(1).describe("Items per page"),
|
|
12538
|
+
/** Facets for filtering */
|
|
12539
|
+
facets: zod.z.object({
|
|
12540
|
+
categories: zod.z.array(zod.z.object({
|
|
12541
|
+
category: MarketplaceCategorySchema,
|
|
12542
|
+
count: zod.z.number().int().min(0)
|
|
12543
|
+
})).optional(),
|
|
12544
|
+
pricing: zod.z.array(zod.z.object({
|
|
12545
|
+
model: PricingModelSchema,
|
|
12546
|
+
count: zod.z.number().int().min(0)
|
|
12547
|
+
})).optional()
|
|
12548
|
+
}).optional().describe("Aggregation facets for refining search")
|
|
12549
|
+
}).describe("Marketplace search response");
|
|
12550
|
+
zod.z.object({
|
|
12551
|
+
/** Listing ID to install */
|
|
12552
|
+
listingId: zod.z.string().describe("Marketplace listing ID"),
|
|
12553
|
+
/** Specific version to install (defaults to latest) */
|
|
12554
|
+
version: zod.z.string().optional().describe("Version to install"),
|
|
12555
|
+
/** License key (for paid packages) */
|
|
12556
|
+
licenseKey: zod.z.string().optional().describe("License key for paid packages"),
|
|
12557
|
+
/** User-provided settings at install time */
|
|
12558
|
+
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
|
|
12559
|
+
/** Whether to enable immediately after install */
|
|
12560
|
+
enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
|
|
12561
|
+
/** Artifact reference (resolved from listing version, or provided directly) */
|
|
12562
|
+
artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference for direct installation"),
|
|
12563
|
+
/** Tenant ID */
|
|
12564
|
+
tenantId: zod.z.string().optional().describe("Tenant identifier")
|
|
12565
|
+
}).describe("Install from marketplace request");
|
|
12566
|
+
zod.z.object({
|
|
12567
|
+
/** Whether installation was successful */
|
|
12568
|
+
success: zod.z.boolean().describe("Whether installation succeeded"),
|
|
12569
|
+
/** Installed package ID */
|
|
12570
|
+
packageId: zod.z.string().optional().describe("Installed package identifier"),
|
|
12571
|
+
/** Installed version */
|
|
12572
|
+
version: zod.z.string().optional().describe("Installed version"),
|
|
12573
|
+
/** Human-readable message */
|
|
12574
|
+
message: zod.z.string().optional().describe("Installation status message")
|
|
12575
|
+
}).describe("Install from marketplace response");
|
|
12576
|
+
|
|
12577
|
+
// src/api/package-api.zod.ts
|
|
12578
|
+
var PackagePathParamsSchema = zod.z.object({
|
|
12579
|
+
packageId: zod.z.string().describe("Package identifier")
|
|
12580
|
+
});
|
|
12581
|
+
var ListInstalledPackagesRequestSchema = zod.z.object({
|
|
12582
|
+
/** Filter by package status */
|
|
12583
|
+
status: zod.z.enum(["installed", "disabled", "installing", "upgrading", "uninstalling", "error"]).optional().describe("Filter by package status"),
|
|
12584
|
+
/** Filter by enabled state */
|
|
12585
|
+
enabled: zod.z.boolean().optional().describe("Filter by enabled state"),
|
|
12586
|
+
/** Maximum number of packages to return */
|
|
12587
|
+
limit: zod.z.number().int().min(1).max(100).default(50).describe("Maximum number of packages to return"),
|
|
12588
|
+
/** Cursor for pagination */
|
|
12589
|
+
cursor: zod.z.string().optional().describe("Cursor for pagination")
|
|
12590
|
+
}).describe("List installed packages request");
|
|
12591
|
+
var ListInstalledPackagesResponseSchema = BaseResponseSchema.extend({
|
|
12592
|
+
data: zod.z.object({
|
|
12593
|
+
packages: zod.z.array(InstalledPackageSchema).describe("Installed packages"),
|
|
12594
|
+
total: zod.z.number().int().optional().describe("Total matching packages"),
|
|
12595
|
+
nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
|
|
12596
|
+
hasMore: zod.z.boolean().describe("Whether more packages are available")
|
|
12597
|
+
})
|
|
12598
|
+
}).describe("List installed packages response");
|
|
12599
|
+
var GetInstalledPackageRequestSchema = PackagePathParamsSchema;
|
|
12600
|
+
var GetInstalledPackageResponseSchema = BaseResponseSchema.extend({
|
|
12601
|
+
data: InstalledPackageSchema.describe("Installed package details")
|
|
12602
|
+
}).describe("Get installed package response");
|
|
12603
|
+
var PackageInstallRequestSchema = zod.z.object({
|
|
12604
|
+
/** Package manifest to install */
|
|
12605
|
+
manifest: ManifestSchema.describe("Package manifest to install"),
|
|
12606
|
+
/** User-provided settings at install time */
|
|
12607
|
+
settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
|
|
12608
|
+
/** Whether to enable immediately after install */
|
|
12609
|
+
enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
|
|
12610
|
+
/** Current platform version for compatibility verification */
|
|
12611
|
+
platformVersion: zod.z.string().optional().describe("Current platform version for compatibility verification"),
|
|
12612
|
+
/** Artifact reference for the package (if installing from marketplace) */
|
|
12613
|
+
artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference for marketplace installation")
|
|
12614
|
+
}).describe("Install package request");
|
|
12615
|
+
var PackageInstallResponseSchema = BaseResponseSchema.extend({
|
|
12616
|
+
data: zod.z.object({
|
|
12617
|
+
package: InstalledPackageSchema.describe("Installed package details"),
|
|
12618
|
+
dependencyResolution: DependencyResolutionResultSchema.optional().describe("Dependency resolution result"),
|
|
12619
|
+
namespaceConflicts: zod.z.array(zod.z.object({
|
|
12620
|
+
type: zod.z.literal("namespace_conflict").describe("Error type"),
|
|
12621
|
+
requestedNamespace: zod.z.string().describe("Requested namespace"),
|
|
12622
|
+
conflictingPackageId: zod.z.string().describe("Conflicting package ID"),
|
|
12623
|
+
conflictingPackageName: zod.z.string().describe("Conflicting package name"),
|
|
12624
|
+
suggestion: zod.z.string().optional().describe("Suggested alternative")
|
|
12625
|
+
})).optional().describe("Namespace conflicts detected"),
|
|
12626
|
+
message: zod.z.string().optional().describe("Installation status message")
|
|
12627
|
+
})
|
|
12628
|
+
}).describe("Install package response");
|
|
12629
|
+
var PackageUpgradeRequestSchema = zod.z.object({
|
|
12630
|
+
/** Package ID to upgrade */
|
|
12631
|
+
packageId: zod.z.string().describe("Package ID to upgrade"),
|
|
12632
|
+
/** Target version (defaults to latest) */
|
|
12633
|
+
targetVersion: zod.z.string().optional().describe("Target version (defaults to latest)"),
|
|
12634
|
+
/** New manifest for the target version */
|
|
12635
|
+
manifest: ManifestSchema.optional().describe("New manifest for the target version"),
|
|
12636
|
+
/** Whether to create a pre-upgrade snapshot */
|
|
12637
|
+
createSnapshot: zod.z.boolean().default(true).describe("Whether to create a pre-upgrade backup snapshot"),
|
|
12638
|
+
/** Merge strategy for handling customizations */
|
|
12639
|
+
mergeStrategy: zod.z.enum(["keep-custom", "accept-incoming", "three-way-merge"]).default("three-way-merge").describe("How to handle customer customizations"),
|
|
12640
|
+
/** Preview upgrade without making changes */
|
|
12641
|
+
dryRun: zod.z.boolean().default(false).describe("Preview upgrade without making changes"),
|
|
12642
|
+
/** Skip pre-upgrade compatibility checks */
|
|
12643
|
+
skipValidation: zod.z.boolean().default(false).describe("Skip pre-upgrade compatibility checks")
|
|
12644
|
+
}).describe("Upgrade package request");
|
|
12645
|
+
var PackageUpgradeResponseSchema = BaseResponseSchema.extend({
|
|
12646
|
+
data: zod.z.object({
|
|
12647
|
+
success: zod.z.boolean().describe("Whether the upgrade succeeded"),
|
|
12648
|
+
phase: zod.z.string().describe("Current upgrade phase"),
|
|
12649
|
+
plan: UpgradePlanSchema.optional().describe("Upgrade plan that was executed"),
|
|
12650
|
+
snapshotId: zod.z.string().optional().describe("Snapshot ID for rollback"),
|
|
12651
|
+
conflicts: zod.z.array(zod.z.object({
|
|
12652
|
+
path: zod.z.string().describe("Conflict path"),
|
|
12653
|
+
baseValue: zod.z.unknown().describe("Base value"),
|
|
12654
|
+
incomingValue: zod.z.unknown().describe("Incoming value"),
|
|
12655
|
+
customValue: zod.z.unknown().describe("Custom value")
|
|
12656
|
+
})).optional().describe("Unresolved merge conflicts"),
|
|
12657
|
+
errorMessage: zod.z.string().optional().describe("Error message if failed"),
|
|
12658
|
+
message: zod.z.string().optional().describe("Human-readable status message")
|
|
12659
|
+
})
|
|
12660
|
+
}).describe("Upgrade package response");
|
|
12661
|
+
var ResolveDependenciesRequestSchema = zod.z.object({
|
|
12662
|
+
/** Package manifest whose dependencies to resolve */
|
|
12663
|
+
manifest: ManifestSchema.describe("Package manifest to resolve dependencies for"),
|
|
12664
|
+
/** Current platform version for compatibility checking */
|
|
12665
|
+
platformVersion: zod.z.string().optional().describe("Current platform version for compatibility filtering")
|
|
12666
|
+
}).describe("Resolve dependencies request");
|
|
12667
|
+
var ResolveDependenciesResponseSchema = BaseResponseSchema.extend({
|
|
12668
|
+
data: DependencyResolutionResultSchema.describe("Dependency resolution result with topological sort")
|
|
12669
|
+
}).describe("Resolve dependencies response");
|
|
12670
|
+
var UploadArtifactRequestSchema = zod.z.object({
|
|
12671
|
+
/** Artifact metadata */
|
|
12672
|
+
artifact: PackageArtifactSchema.describe("Package artifact metadata"),
|
|
12673
|
+
/** SHA256 checksum of the uploaded file (for verification) */
|
|
12674
|
+
sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).optional().describe("SHA256 checksum of the uploaded file"),
|
|
12675
|
+
/** Publisher authentication token */
|
|
12676
|
+
token: zod.z.string().optional().describe("Publisher authentication token"),
|
|
12677
|
+
/** Release notes for this version */
|
|
12678
|
+
releaseNotes: zod.z.string().optional().describe("Release notes for this version")
|
|
12679
|
+
}).describe("Upload artifact request");
|
|
12680
|
+
var UploadArtifactResponseSchema = BaseResponseSchema.extend({
|
|
12681
|
+
data: zod.z.object({
|
|
12682
|
+
/** Whether the upload succeeded */
|
|
12683
|
+
success: zod.z.boolean().describe("Whether the upload succeeded"),
|
|
12684
|
+
/** Artifact reference for the uploaded package */
|
|
12685
|
+
artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference in the registry"),
|
|
12686
|
+
/** Submission ID for review tracking */
|
|
12687
|
+
submissionId: zod.z.string().optional().describe("Marketplace submission ID for review tracking"),
|
|
12688
|
+
/** Message */
|
|
12689
|
+
message: zod.z.string().optional().describe("Upload status message")
|
|
12690
|
+
})
|
|
12691
|
+
}).describe("Upload artifact response");
|
|
12692
|
+
var PackageRollbackRequestSchema = PackagePathParamsSchema.extend({
|
|
12693
|
+
/** Snapshot ID to restore from */
|
|
12694
|
+
snapshotId: zod.z.string().describe("Snapshot ID to restore from"),
|
|
12695
|
+
/** Whether to also rollback customizations */
|
|
12696
|
+
rollbackCustomizations: zod.z.boolean().default(true).describe("Whether to restore pre-upgrade customizations")
|
|
12697
|
+
}).describe("Rollback package request");
|
|
12698
|
+
var PackageRollbackResponseSchema = BaseResponseSchema.extend({
|
|
12699
|
+
data: zod.z.object({
|
|
12700
|
+
success: zod.z.boolean().describe("Whether the rollback succeeded"),
|
|
12701
|
+
restoredVersion: zod.z.string().optional().describe("Restored version"),
|
|
12702
|
+
message: zod.z.string().optional().describe("Rollback status message")
|
|
12703
|
+
})
|
|
12704
|
+
}).describe("Rollback package response");
|
|
12705
|
+
var UninstallPackageApiRequestSchema = PackagePathParamsSchema;
|
|
12706
|
+
var UninstallPackageApiResponseSchema = BaseResponseSchema.extend({
|
|
12707
|
+
data: zod.z.object({
|
|
12708
|
+
packageId: zod.z.string().describe("Uninstalled package ID"),
|
|
12709
|
+
success: zod.z.boolean().describe("Whether uninstall succeeded"),
|
|
12710
|
+
message: zod.z.string().optional().describe("Uninstall status message")
|
|
12711
|
+
})
|
|
12712
|
+
}).describe("Uninstall package response");
|
|
12713
|
+
var PackageApiErrorCode = zod.z.enum([
|
|
12714
|
+
"package_not_found",
|
|
12715
|
+
"package_already_installed",
|
|
12716
|
+
"version_not_found",
|
|
12717
|
+
"dependency_conflict",
|
|
12718
|
+
"namespace_conflict",
|
|
12719
|
+
"platform_incompatible",
|
|
12720
|
+
"artifact_invalid",
|
|
12721
|
+
"checksum_mismatch",
|
|
12722
|
+
"signature_invalid",
|
|
12723
|
+
"upgrade_failed",
|
|
12724
|
+
"rollback_failed",
|
|
12725
|
+
"snapshot_not_found",
|
|
12726
|
+
"upload_failed"
|
|
12727
|
+
]);
|
|
12728
|
+
var PackageApiContracts = {
|
|
12729
|
+
listPackages: {
|
|
12730
|
+
method: "GET",
|
|
12731
|
+
path: "/api/v1/packages",
|
|
12732
|
+
input: ListInstalledPackagesRequestSchema,
|
|
12733
|
+
output: ListInstalledPackagesResponseSchema
|
|
12734
|
+
},
|
|
12735
|
+
getPackage: {
|
|
12736
|
+
method: "GET",
|
|
12737
|
+
path: "/api/v1/packages/:packageId",
|
|
12738
|
+
input: GetInstalledPackageRequestSchema,
|
|
12739
|
+
output: GetInstalledPackageResponseSchema
|
|
12740
|
+
},
|
|
12741
|
+
installPackage: {
|
|
12742
|
+
method: "POST",
|
|
12743
|
+
path: "/api/v1/packages/install",
|
|
12744
|
+
input: PackageInstallRequestSchema,
|
|
12745
|
+
output: PackageInstallResponseSchema
|
|
12746
|
+
},
|
|
12747
|
+
upgradePackage: {
|
|
12748
|
+
method: "POST",
|
|
12749
|
+
path: "/api/v1/packages/upgrade",
|
|
12750
|
+
input: PackageUpgradeRequestSchema,
|
|
12751
|
+
output: PackageUpgradeResponseSchema
|
|
12752
|
+
},
|
|
12753
|
+
resolveDependencies: {
|
|
12754
|
+
method: "POST",
|
|
12755
|
+
path: "/api/v1/packages/resolve-dependencies",
|
|
12756
|
+
input: ResolveDependenciesRequestSchema,
|
|
12757
|
+
output: ResolveDependenciesResponseSchema
|
|
12758
|
+
},
|
|
12759
|
+
uploadArtifact: {
|
|
12760
|
+
method: "POST",
|
|
12761
|
+
path: "/api/v1/packages/upload",
|
|
12762
|
+
input: UploadArtifactRequestSchema,
|
|
12763
|
+
output: UploadArtifactResponseSchema
|
|
12764
|
+
},
|
|
12765
|
+
rollbackPackage: {
|
|
12766
|
+
method: "POST",
|
|
12767
|
+
path: "/api/v1/packages/:packageId/rollback",
|
|
12768
|
+
input: PackageRollbackRequestSchema,
|
|
12769
|
+
output: PackageRollbackResponseSchema
|
|
12770
|
+
},
|
|
12771
|
+
uninstallPackage: {
|
|
12772
|
+
method: "DELETE",
|
|
12773
|
+
path: "/api/v1/packages/:packageId",
|
|
12774
|
+
input: UninstallPackageApiRequestSchema,
|
|
12775
|
+
output: UninstallPackageApiResponseSchema
|
|
12776
|
+
}
|
|
12777
|
+
};
|
|
10887
12778
|
|
|
10888
12779
|
exports.AckMessageSchema = AckMessageSchema;
|
|
10889
12780
|
exports.AddReactionRequestSchema = AddReactionRequestSchema;
|
|
@@ -10931,6 +12822,10 @@ exports.AuthEndpointAliases = AuthEndpointAliases;
|
|
|
10931
12822
|
exports.AuthEndpointPaths = AuthEndpointPaths;
|
|
10932
12823
|
exports.AuthEndpointSchema = AuthEndpointSchema;
|
|
10933
12824
|
exports.AuthProvider = AuthProvider;
|
|
12825
|
+
exports.AutomationApiContracts = AutomationApiContracts;
|
|
12826
|
+
exports.AutomationApiErrorCode = AutomationApiErrorCode;
|
|
12827
|
+
exports.AutomationFlowPathParamsSchema = AutomationFlowPathParamsSchema;
|
|
12828
|
+
exports.AutomationRunPathParamsSchema = AutomationRunPathParamsSchema;
|
|
10934
12829
|
exports.AutomationTriggerRequestSchema = AutomationTriggerRequestSchema;
|
|
10935
12830
|
exports.AutomationTriggerResponseSchema = AutomationTriggerResponseSchema;
|
|
10936
12831
|
exports.BasePresenceSchema = BasePresenceSchema;
|
|
@@ -10955,16 +12850,23 @@ exports.CacheInvalidationRequestSchema = CacheInvalidationRequestSchema;
|
|
|
10955
12850
|
exports.CacheInvalidationResponseSchema = CacheInvalidationResponseSchema;
|
|
10956
12851
|
exports.CacheInvalidationTarget = CacheInvalidationTarget;
|
|
10957
12852
|
exports.CallbackSchema = CallbackSchema;
|
|
12853
|
+
exports.ChangelogEntrySchema = ChangelogEntrySchema;
|
|
10958
12854
|
exports.CheckPermissionRequestSchema = CheckPermissionRequestSchema;
|
|
10959
12855
|
exports.CheckPermissionResponseSchema = CheckPermissionResponseSchema;
|
|
10960
12856
|
exports.CodeGenerationTemplateSchema = CodeGenerationTemplateSchema;
|
|
12857
|
+
exports.CompleteChunkedUploadRequestSchema = CompleteChunkedUploadRequestSchema;
|
|
12858
|
+
exports.CompleteChunkedUploadResponseSchema = CompleteChunkedUploadResponseSchema;
|
|
10961
12859
|
exports.CompleteUploadRequestSchema = CompleteUploadRequestSchema;
|
|
10962
12860
|
exports.ConceptListResponseSchema = ConceptListResponseSchema;
|
|
10963
12861
|
exports.ConflictResolutionStrategy = ConflictResolutionStrategy;
|
|
10964
12862
|
exports.CreateDataRequestSchema = CreateDataRequestSchema;
|
|
10965
12863
|
exports.CreateDataResponseSchema = CreateDataResponseSchema;
|
|
12864
|
+
exports.CreateExportJobRequestSchema = CreateExportJobRequestSchema;
|
|
12865
|
+
exports.CreateExportJobResponseSchema = CreateExportJobResponseSchema;
|
|
10966
12866
|
exports.CreateFeedItemRequestSchema = CreateFeedItemRequestSchema;
|
|
10967
12867
|
exports.CreateFeedItemResponseSchema = CreateFeedItemResponseSchema;
|
|
12868
|
+
exports.CreateFlowRequestSchema = CreateFlowRequestSchema;
|
|
12869
|
+
exports.CreateFlowResponseSchema = CreateFlowResponseSchema;
|
|
10968
12870
|
exports.CreateManyDataRequestSchema = CreateManyDataRequestSchema;
|
|
10969
12871
|
exports.CreateManyDataResponseSchema = CreateManyDataResponseSchema;
|
|
10970
12872
|
exports.CreateRequestSchema = CreateRequestSchema;
|
|
@@ -10991,10 +12893,13 @@ exports.DEFAULT_VERSIONING_CONFIG = DEFAULT_VERSIONING_CONFIG;
|
|
|
10991
12893
|
exports.DEFAULT_VIEW_ROUTES = DEFAULT_VIEW_ROUTES;
|
|
10992
12894
|
exports.DEFAULT_WORKFLOW_ROUTES = DEFAULT_WORKFLOW_ROUTES;
|
|
10993
12895
|
exports.DataLoaderConfigSchema = DataLoaderConfigSchema;
|
|
12896
|
+
exports.DeduplicationStrategy = DeduplicationStrategy;
|
|
10994
12897
|
exports.DeleteDataRequestSchema = DeleteDataRequestSchema;
|
|
10995
12898
|
exports.DeleteDataResponseSchema = DeleteDataResponseSchema;
|
|
10996
12899
|
exports.DeleteFeedItemRequestSchema = DeleteFeedItemRequestSchema;
|
|
10997
12900
|
exports.DeleteFeedItemResponseSchema = DeleteFeedItemResponseSchema;
|
|
12901
|
+
exports.DeleteFlowRequestSchema = DeleteFlowRequestSchema;
|
|
12902
|
+
exports.DeleteFlowResponseSchema = DeleteFlowResponseSchema;
|
|
10998
12903
|
exports.DeleteManyDataRequestSchema = DeleteManyDataRequestSchema;
|
|
10999
12904
|
exports.DeleteManyDataResponseSchema = DeleteManyDataResponseSchema;
|
|
11000
12905
|
exports.DeleteManyRequestSchema = DeleteManyRequestSchema;
|
|
@@ -11026,6 +12931,12 @@ exports.EventFilterSchema = EventFilterSchema;
|
|
|
11026
12931
|
exports.EventMessageSchema = EventMessageSchema;
|
|
11027
12932
|
exports.EventPatternSchema = EventPatternSchema;
|
|
11028
12933
|
exports.EventSubscriptionSchema = EventSubscriptionSchema;
|
|
12934
|
+
exports.ExportApiContracts = ExportApiContracts;
|
|
12935
|
+
exports.ExportFormat = ExportFormat;
|
|
12936
|
+
exports.ExportImportTemplateSchema = ExportImportTemplateSchema;
|
|
12937
|
+
exports.ExportJobProgressSchema = ExportJobProgressSchema;
|
|
12938
|
+
exports.ExportJobStatus = ExportJobStatus;
|
|
12939
|
+
exports.ExportJobSummarySchema = ExportJobSummarySchema;
|
|
11029
12940
|
exports.ExportRequestSchema = ExportRequestSchema;
|
|
11030
12941
|
exports.FederationEntityKeySchema = FederationEntityKeySchema;
|
|
11031
12942
|
exports.FederationEntitySchema = FederationEntitySchema;
|
|
@@ -11040,23 +12951,34 @@ exports.FeedListFilterType = FeedListFilterType;
|
|
|
11040
12951
|
exports.FeedPathParamsSchema = FeedPathParamsSchema;
|
|
11041
12952
|
exports.FeedUnsubscribeRequestSchema = FeedUnsubscribeRequestSchema;
|
|
11042
12953
|
exports.FieldErrorSchema = FieldErrorSchema;
|
|
12954
|
+
exports.FieldMappingEntrySchema = FieldMappingEntrySchema;
|
|
12955
|
+
exports.FileTypeValidationSchema = FileTypeValidationSchema;
|
|
11043
12956
|
exports.FileUploadResponseSchema = FileUploadResponseSchema;
|
|
11044
12957
|
exports.FilterOperator = FilterOperator;
|
|
11045
12958
|
exports.FindDataRequestSchema = FindDataRequestSchema;
|
|
11046
12959
|
exports.FindDataResponseSchema = FindDataResponseSchema;
|
|
12960
|
+
exports.FlowSummarySchema = FlowSummarySchema;
|
|
11047
12961
|
exports.GeneratedApiDocumentationSchema = GeneratedApiDocumentationSchema;
|
|
11048
12962
|
exports.GeneratedEndpointSchema = GeneratedEndpointSchema;
|
|
11049
12963
|
exports.GetAnalyticsMetaRequestSchema = GetAnalyticsMetaRequestSchema;
|
|
12964
|
+
exports.GetChangelogRequestSchema = GetChangelogRequestSchema;
|
|
12965
|
+
exports.GetChangelogResponseSchema = GetChangelogResponseSchema;
|
|
11050
12966
|
exports.GetDataRequestSchema = GetDataRequestSchema;
|
|
11051
12967
|
exports.GetDataResponseSchema = GetDataResponseSchema;
|
|
11052
12968
|
exports.GetDiscoveryRequestSchema = GetDiscoveryRequestSchema;
|
|
11053
12969
|
exports.GetDiscoveryResponseSchema = GetDiscoveryResponseSchema;
|
|
11054
12970
|
exports.GetEffectivePermissionsRequestSchema = GetEffectivePermissionsRequestSchema;
|
|
11055
12971
|
exports.GetEffectivePermissionsResponseSchema = GetEffectivePermissionsResponseSchema;
|
|
12972
|
+
exports.GetExportJobDownloadRequestSchema = GetExportJobDownloadRequestSchema;
|
|
12973
|
+
exports.GetExportJobDownloadResponseSchema = GetExportJobDownloadResponseSchema;
|
|
11056
12974
|
exports.GetFeedRequestSchema = GetFeedRequestSchema;
|
|
11057
12975
|
exports.GetFeedResponseSchema = GetFeedResponseSchema;
|
|
11058
12976
|
exports.GetFieldLabelsRequestSchema = GetFieldLabelsRequestSchema;
|
|
11059
12977
|
exports.GetFieldLabelsResponseSchema = GetFieldLabelsResponseSchema;
|
|
12978
|
+
exports.GetFlowRequestSchema = GetFlowRequestSchema;
|
|
12979
|
+
exports.GetFlowResponseSchema = GetFlowResponseSchema;
|
|
12980
|
+
exports.GetInstalledPackageRequestSchema = GetInstalledPackageRequestSchema;
|
|
12981
|
+
exports.GetInstalledPackageResponseSchema = GetInstalledPackageResponseSchema;
|
|
11060
12982
|
exports.GetLocalesRequestSchema = GetLocalesRequestSchema;
|
|
11061
12983
|
exports.GetLocalesResponseSchema = GetLocalesResponseSchema;
|
|
11062
12984
|
exports.GetMetaItemCachedRequestSchema = GetMetaItemCachedRequestSchema;
|
|
@@ -11076,6 +12998,8 @@ exports.GetPackageResponseSchema = GetPackageResponseSchema;
|
|
|
11076
12998
|
exports.GetPresenceRequestSchema = GetPresenceRequestSchema;
|
|
11077
12999
|
exports.GetPresenceResponseSchema = GetPresenceResponseSchema;
|
|
11078
13000
|
exports.GetPresignedUrlRequestSchema = GetPresignedUrlRequestSchema;
|
|
13001
|
+
exports.GetRunRequestSchema = GetRunRequestSchema;
|
|
13002
|
+
exports.GetRunResponseSchema = GetRunResponseSchema;
|
|
11079
13003
|
exports.GetTranslationsRequestSchema = GetTranslationsRequestSchema;
|
|
11080
13004
|
exports.GetTranslationsResponseSchema = GetTranslationsResponseSchema;
|
|
11081
13005
|
exports.GetUiViewRequestSchema = GetUiViewRequestSchema;
|
|
@@ -11105,13 +13029,26 @@ exports.GraphQLTypeConfigSchema = GraphQLTypeConfigSchema;
|
|
|
11105
13029
|
exports.HttpMethod = HttpMethod;
|
|
11106
13030
|
exports.HttpStatusCode = HttpStatusCode;
|
|
11107
13031
|
exports.IdRequestSchema = IdRequestSchema;
|
|
13032
|
+
exports.ImportValidationConfigSchema = ImportValidationConfigSchema;
|
|
13033
|
+
exports.ImportValidationMode = ImportValidationMode;
|
|
13034
|
+
exports.ImportValidationResultSchema = ImportValidationResultSchema;
|
|
13035
|
+
exports.InitiateChunkedUploadRequestSchema = InitiateChunkedUploadRequestSchema;
|
|
13036
|
+
exports.InitiateChunkedUploadResponseSchema = InitiateChunkedUploadResponseSchema;
|
|
11108
13037
|
exports.InstallPackageRequestSchema = InstallPackageRequestSchema;
|
|
11109
13038
|
exports.InstallPackageResponseSchema = InstallPackageResponseSchema;
|
|
13039
|
+
exports.ListExportJobsRequestSchema = ListExportJobsRequestSchema;
|
|
13040
|
+
exports.ListExportJobsResponseSchema = ListExportJobsResponseSchema;
|
|
13041
|
+
exports.ListFlowsRequestSchema = ListFlowsRequestSchema;
|
|
13042
|
+
exports.ListFlowsResponseSchema = ListFlowsResponseSchema;
|
|
13043
|
+
exports.ListInstalledPackagesRequestSchema = ListInstalledPackagesRequestSchema;
|
|
13044
|
+
exports.ListInstalledPackagesResponseSchema = ListInstalledPackagesResponseSchema;
|
|
11110
13045
|
exports.ListNotificationsRequestSchema = ListNotificationsRequestSchema;
|
|
11111
13046
|
exports.ListNotificationsResponseSchema = ListNotificationsResponseSchema;
|
|
11112
13047
|
exports.ListPackagesRequestSchema = ListPackagesRequestSchema;
|
|
11113
13048
|
exports.ListPackagesResponseSchema = ListPackagesResponseSchema;
|
|
11114
13049
|
exports.ListRecordResponseSchema = ListRecordResponseSchema;
|
|
13050
|
+
exports.ListRunsRequestSchema = ListRunsRequestSchema;
|
|
13051
|
+
exports.ListRunsResponseSchema = ListRunsResponseSchema;
|
|
11115
13052
|
exports.ListViewsRequestSchema = ListViewsRequestSchema;
|
|
11116
13053
|
exports.ListViewsResponseSchema = ListViewsResponseSchema;
|
|
11117
13054
|
exports.LoginRequestSchema = LoginRequestSchema;
|
|
@@ -11170,6 +13107,17 @@ exports.OpenApiServerSchema = OpenApiServerSchema;
|
|
|
11170
13107
|
exports.OpenApiSpec = OpenApiSpec;
|
|
11171
13108
|
exports.OpenApiSpecSchema = OpenApiSpecSchema;
|
|
11172
13109
|
exports.OperatorMappingSchema = OperatorMappingSchema;
|
|
13110
|
+
exports.PackageApiContracts = PackageApiContracts;
|
|
13111
|
+
exports.PackageApiErrorCode = PackageApiErrorCode;
|
|
13112
|
+
exports.PackageInstallRequestSchema = PackageInstallRequestSchema;
|
|
13113
|
+
exports.PackageInstallResponseSchema = PackageInstallResponseSchema;
|
|
13114
|
+
exports.PackagePathParamsSchema = PackagePathParamsSchema;
|
|
13115
|
+
exports.PackageRollbackRequestSchema = PackageRollbackRequestSchema;
|
|
13116
|
+
exports.PackageRollbackResponseSchema = PackageRollbackResponseSchema;
|
|
13117
|
+
exports.PackageUpgradeRequestSchema = PackageUpgradeRequestSchema;
|
|
13118
|
+
exports.PackageUpgradeResponseSchema = PackageUpgradeResponseSchema;
|
|
13119
|
+
exports.PinFeedItemRequestSchema = PinFeedItemRequestSchema;
|
|
13120
|
+
exports.PinFeedItemResponseSchema = PinFeedItemResponseSchema;
|
|
11173
13121
|
exports.PingMessageSchema = PingMessageSchema;
|
|
11174
13122
|
exports.PongMessageSchema = PongMessageSchema;
|
|
11175
13123
|
exports.PresenceMessageSchema = PresenceMessageSchema;
|
|
@@ -11201,6 +13149,8 @@ exports.RegisterRequestSchema = RegisterRequestSchema;
|
|
|
11201
13149
|
exports.RemoveReactionRequestSchema = RemoveReactionRequestSchema;
|
|
11202
13150
|
exports.RemoveReactionResponseSchema = RemoveReactionResponseSchema;
|
|
11203
13151
|
exports.RequestValidationConfigSchema = RequestValidationConfigSchema;
|
|
13152
|
+
exports.ResolveDependenciesRequestSchema = ResolveDependenciesRequestSchema;
|
|
13153
|
+
exports.ResolveDependenciesResponseSchema = ResolveDependenciesResponseSchema;
|
|
11204
13154
|
exports.ResponseEnvelopeConfigSchema = ResponseEnvelopeConfigSchema;
|
|
11205
13155
|
exports.RestApiConfig = RestApiConfig;
|
|
11206
13156
|
exports.RestApiConfigSchema = RestApiConfigSchema;
|
|
@@ -11220,7 +13170,12 @@ exports.RouteGenerationConfigSchema = RouteGenerationConfigSchema;
|
|
|
11220
13170
|
exports.RouterConfigSchema = RouterConfigSchema;
|
|
11221
13171
|
exports.SaveMetaItemRequestSchema = SaveMetaItemRequestSchema;
|
|
11222
13172
|
exports.SaveMetaItemResponseSchema = SaveMetaItemResponseSchema;
|
|
13173
|
+
exports.ScheduleExportRequestSchema = ScheduleExportRequestSchema;
|
|
13174
|
+
exports.ScheduleExportResponseSchema = ScheduleExportResponseSchema;
|
|
13175
|
+
exports.ScheduledExportSchema = ScheduledExportSchema;
|
|
11223
13176
|
exports.SchemaDefinition = SchemaDefinition;
|
|
13177
|
+
exports.SearchFeedRequestSchema = SearchFeedRequestSchema;
|
|
13178
|
+
exports.SearchFeedResponseSchema = SearchFeedResponseSchema;
|
|
11224
13179
|
exports.ServiceInfoSchema = ServiceInfoSchema;
|
|
11225
13180
|
exports.SessionResponseSchema = SessionResponseSchema;
|
|
11226
13181
|
exports.SessionSchema = SessionSchema;
|
|
@@ -11232,17 +13187,30 @@ exports.SimplePresenceStateSchema = SimplePresenceStateSchema;
|
|
|
11232
13187
|
exports.SingleRecordResponseSchema = SingleRecordResponseSchema;
|
|
11233
13188
|
exports.StandardApiContracts = StandardApiContracts;
|
|
11234
13189
|
exports.StandardErrorCode = StandardErrorCode;
|
|
13190
|
+
exports.StarFeedItemRequestSchema = StarFeedItemRequestSchema;
|
|
13191
|
+
exports.StarFeedItemResponseSchema = StarFeedItemResponseSchema;
|
|
13192
|
+
exports.StorageApiContracts = StorageApiContracts;
|
|
11235
13193
|
exports.SubgraphConfigSchema = SubgraphConfigSchema;
|
|
11236
13194
|
exports.SubscribeMessageSchema = SubscribeMessageSchema;
|
|
11237
13195
|
exports.SubscribeRequestSchema = SubscribeRequestSchema;
|
|
11238
13196
|
exports.SubscribeResponseSchema = SubscribeResponseSchema;
|
|
11239
13197
|
exports.SubscriptionEventSchema = SubscriptionEventSchema;
|
|
11240
13198
|
exports.SubscriptionSchema = SubscriptionSchema;
|
|
13199
|
+
exports.ToggleFlowRequestSchema = ToggleFlowRequestSchema;
|
|
13200
|
+
exports.ToggleFlowResponseSchema = ToggleFlowResponseSchema;
|
|
11241
13201
|
exports.TransportProtocol = TransportProtocol;
|
|
13202
|
+
exports.TriggerFlowRequestSchema = TriggerFlowRequestSchema;
|
|
13203
|
+
exports.TriggerFlowResponseSchema = TriggerFlowResponseSchema;
|
|
13204
|
+
exports.UninstallPackageApiRequestSchema = UninstallPackageApiRequestSchema;
|
|
13205
|
+
exports.UninstallPackageApiResponseSchema = UninstallPackageApiResponseSchema;
|
|
11242
13206
|
exports.UninstallPackageRequestSchema = UninstallPackageRequestSchema;
|
|
11243
13207
|
exports.UninstallPackageResponseSchema = UninstallPackageResponseSchema;
|
|
13208
|
+
exports.UnpinFeedItemRequestSchema = UnpinFeedItemRequestSchema;
|
|
13209
|
+
exports.UnpinFeedItemResponseSchema = UnpinFeedItemResponseSchema;
|
|
11244
13210
|
exports.UnregisterDeviceRequestSchema = UnregisterDeviceRequestSchema;
|
|
11245
13211
|
exports.UnregisterDeviceResponseSchema = UnregisterDeviceResponseSchema;
|
|
13212
|
+
exports.UnstarFeedItemRequestSchema = UnstarFeedItemRequestSchema;
|
|
13213
|
+
exports.UnstarFeedItemResponseSchema = UnstarFeedItemResponseSchema;
|
|
11246
13214
|
exports.UnsubscribeMessageSchema = UnsubscribeMessageSchema;
|
|
11247
13215
|
exports.UnsubscribeRequestSchema = UnsubscribeRequestSchema;
|
|
11248
13216
|
exports.UnsubscribeResponseSchema = UnsubscribeResponseSchema;
|
|
@@ -11250,6 +13218,8 @@ exports.UpdateDataRequestSchema = UpdateDataRequestSchema;
|
|
|
11250
13218
|
exports.UpdateDataResponseSchema = UpdateDataResponseSchema;
|
|
11251
13219
|
exports.UpdateFeedItemRequestSchema = UpdateFeedItemRequestSchema;
|
|
11252
13220
|
exports.UpdateFeedItemResponseSchema = UpdateFeedItemResponseSchema;
|
|
13221
|
+
exports.UpdateFlowRequestSchema = UpdateFlowRequestSchema;
|
|
13222
|
+
exports.UpdateFlowResponseSchema = UpdateFlowResponseSchema;
|
|
11253
13223
|
exports.UpdateManyDataRequestSchema = UpdateManyDataRequestSchema;
|
|
11254
13224
|
exports.UpdateManyDataResponseSchema = UpdateManyDataResponseSchema;
|
|
11255
13225
|
exports.UpdateManyRequestSchema = UpdateManyRequestSchema;
|
|
@@ -11258,6 +13228,11 @@ exports.UpdateNotificationPreferencesResponseSchema = UpdateNotificationPreferen
|
|
|
11258
13228
|
exports.UpdateRequestSchema = UpdateRequestSchema;
|
|
11259
13229
|
exports.UpdateViewRequestSchema = UpdateViewRequestSchema;
|
|
11260
13230
|
exports.UpdateViewResponseSchema = UpdateViewResponseSchema;
|
|
13231
|
+
exports.UploadArtifactRequestSchema = UploadArtifactRequestSchema;
|
|
13232
|
+
exports.UploadArtifactResponseSchema = UploadArtifactResponseSchema;
|
|
13233
|
+
exports.UploadChunkRequestSchema = UploadChunkRequestSchema;
|
|
13234
|
+
exports.UploadChunkResponseSchema = UploadChunkResponseSchema;
|
|
13235
|
+
exports.UploadProgressSchema = UploadProgressSchema;
|
|
11261
13236
|
exports.UserProfileResponseSchema = UserProfileResponseSchema;
|
|
11262
13237
|
exports.ValidationMode = ValidationMode;
|
|
11263
13238
|
exports.VersionDefinitionSchema = VersionDefinitionSchema;
|
|
@@ -11273,6 +13248,7 @@ exports.WebSocketPresenceStatus = WebSocketPresenceStatus;
|
|
|
11273
13248
|
exports.WebSocketServerConfigSchema = WebSocketServerConfigSchema;
|
|
11274
13249
|
exports.WebhookConfigSchema = WebhookConfigSchema;
|
|
11275
13250
|
exports.WebhookEventSchema = WebhookEventSchema;
|
|
13251
|
+
exports.WellKnownCapabilitiesSchema = WellKnownCapabilitiesSchema;
|
|
11276
13252
|
exports.WorkflowApproveRequestSchema = WorkflowApproveRequestSchema;
|
|
11277
13253
|
exports.WorkflowApproveResponseSchema = WorkflowApproveResponseSchema;
|
|
11278
13254
|
exports.WorkflowRejectRequestSchema = WorkflowRejectRequestSchema;
|