@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.
Files changed (1760) hide show
  1. package/dist/api/index.d.mts +3 -2
  2. package/dist/api/index.d.ts +3 -2
  3. package/dist/api/index.js +2027 -51
  4. package/dist/api/index.js.map +1 -1
  5. package/dist/api/index.mjs +1943 -52
  6. package/dist/api/index.mjs.map +1 -1
  7. package/dist/automation/index.d.mts +2 -1
  8. package/dist/automation/index.d.ts +2 -1
  9. package/dist/automation/index.js +408 -4
  10. package/dist/automation/index.js.map +1 -1
  11. package/dist/automation/index.mjs +386 -5
  12. package/dist/automation/index.mjs.map +1 -1
  13. package/dist/cloud/index.d.mts +1 -1
  14. package/dist/cloud/index.d.ts +1 -1
  15. package/dist/cloud/index.js +87 -57
  16. package/dist/cloud/index.js.map +1 -1
  17. package/dist/cloud/index.mjs +86 -58
  18. package/dist/cloud/index.mjs.map +1 -1
  19. package/dist/contracts/index.d.mts +6 -3
  20. package/dist/contracts/index.d.ts +6 -3
  21. package/dist/data/index.d.mts +2 -2
  22. package/dist/data/index.d.ts +2 -2
  23. package/dist/data/index.js +6 -0
  24. package/dist/data/index.js.map +1 -1
  25. package/dist/data/index.mjs +6 -0
  26. package/dist/data/index.mjs.map +1 -1
  27. package/dist/execution.zod-CNIVLUlM.d.mts +753 -0
  28. package/dist/execution.zod-CNIVLUlM.d.ts +753 -0
  29. package/dist/export.zod-JY1n479p.d.mts +868 -0
  30. package/dist/export.zod-JY1n479p.d.ts +868 -0
  31. package/dist/{index-D2Ax_A0R.d.mts → index-BPPEvklW.d.mts} +17177 -6700
  32. package/dist/{index-BROcs0kJ.d.mts → index-Bkf-4Hgd.d.mts} +1 -1
  33. package/dist/{index-Clv7cLYS.d.ts → index-C6lkTV3q.d.ts} +281 -237
  34. package/dist/{index-B1AZWWcE.d.ts → index-CEqhxDGw.d.ts} +625 -1930
  35. package/dist/{index-C7sOJ4RJ.d.mts → index-CsQmxhEF.d.mts} +246 -2
  36. package/dist/{index-C7sOJ4RJ.d.ts → index-CsQmxhEF.d.ts} +246 -2
  37. package/dist/{index-Bh-dF2Ju.d.ts → index-D0K6e9cT.d.ts} +1 -1
  38. package/dist/{index-Ci0RXmHz.d.mts → index-D7IVfhww.d.mts} +625 -1930
  39. package/dist/{index-DYNhHUVz.d.mts → index-DXGnzTsY.d.mts} +484 -4
  40. package/dist/{index-JCZedZdf.d.mts → index-DcxXBkSo.d.mts} +70 -2
  41. package/dist/{index-JCZedZdf.d.ts → index-DcxXBkSo.d.ts} +70 -2
  42. package/dist/{index-BRuf4O2a.d.ts → index-KZbFyT_N.d.ts} +484 -4
  43. package/dist/{index-DIaB52-2.d.mts → index-RL3hxi-b.d.mts} +281 -237
  44. package/dist/{index-CzktECeu.d.ts → index-zkXIOLcm.d.ts} +17177 -6700
  45. package/dist/index.d.mts +142 -10
  46. package/dist/index.d.ts +142 -10
  47. package/dist/index.js +2150 -197
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +2150 -197
  50. package/dist/index.mjs.map +1 -1
  51. package/dist/kernel/index.d.mts +3 -3
  52. package/dist/kernel/index.d.ts +3 -3
  53. package/dist/kernel/index.js +421 -65
  54. package/dist/kernel/index.js.map +1 -1
  55. package/dist/kernel/index.mjs +402 -66
  56. package/dist/kernel/index.mjs.map +1 -1
  57. package/dist/{package-registry.zod-CO7_ejFC.d.mts → package-registry.zod-DeXhB8jL.d.mts} +149 -1
  58. package/dist/{package-registry.zod-CO7_ejFC.d.ts → package-registry.zod-DeXhB8jL.d.ts} +149 -1
  59. package/dist/package-upgrade.zod-CDgftw9z.d.mts +2686 -0
  60. package/dist/package-upgrade.zod-CDgftw9z.d.ts +2686 -0
  61. package/dist/studio/index.d.mts +1 -1
  62. package/dist/studio/index.d.ts +1 -1
  63. package/dist/studio/index.js +173 -0
  64. package/dist/studio/index.js.map +1 -1
  65. package/dist/studio/index.mjs +164 -1
  66. package/dist/studio/index.mjs.map +1 -1
  67. package/dist/{subscription.zod-DCztHI1t.d.ts → subscription.zod-CJ4JWmNt.d.ts} +5 -0
  68. package/dist/{subscription.zod-DwAnxzbq.d.mts → subscription.zod-D5j365Fg.d.mts} +5 -0
  69. package/dist/ui/index.js +6 -0
  70. package/dist/ui/index.js.map +1 -1
  71. package/dist/ui/index.mjs +6 -0
  72. package/dist/ui/index.mjs.map +1 -1
  73. package/json-schema/ai/AICodeReviewResult.json +2 -2
  74. package/json-schema/ai/AIKnowledge.json +2 -2
  75. package/json-schema/ai/AIModelConfig.json +2 -2
  76. package/json-schema/ai/AIOperationCost.json +2 -2
  77. package/json-schema/ai/AIOpsAgentConfig.json +2 -2
  78. package/json-schema/ai/AIOrchestration.json +2 -2
  79. package/json-schema/ai/AIOrchestrationExecutionResult.json +2 -2
  80. package/json-schema/ai/AIOrchestrationTrigger.json +2 -2
  81. package/json-schema/ai/AITask.json +2 -2
  82. package/json-schema/ai/AITaskType.json +2 -2
  83. package/json-schema/ai/AITool.json +2 -2
  84. package/json-schema/ai/Agent.json +2 -2
  85. package/json-schema/ai/AgentAction.json +2 -2
  86. package/json-schema/ai/AgentActionResult.json +2 -2
  87. package/json-schema/ai/AgentActionSequence.json +2 -2
  88. package/json-schema/ai/AgentActionSequenceResult.json +2 -2
  89. package/json-schema/ai/AgentCommunicationProtocol.json +2 -2
  90. package/json-schema/ai/AgentGroupMember.json +2 -2
  91. package/json-schema/ai/AgentGroupRole.json +2 -2
  92. package/json-schema/ai/AnomalyDetectionConfig.json +2 -2
  93. package/json-schema/ai/AutoScalingPolicy.json +2 -2
  94. package/json-schema/ai/BatchAIOrchestrationExecution.json +2 -2
  95. package/json-schema/ai/BillingPeriod.json +2 -2
  96. package/json-schema/ai/BudgetLimit.json +2 -2
  97. package/json-schema/ai/BudgetStatus.json +2 -2
  98. package/json-schema/ai/BudgetType.json +2 -2
  99. package/json-schema/ai/CICDPipelineConfig.json +2 -2
  100. package/json-schema/ai/ChunkingStrategy.json +2 -2
  101. package/json-schema/ai/CodeContent.json +2 -2
  102. package/json-schema/ai/CodeGenerationConfig.json +2 -2
  103. package/json-schema/ai/CodeGenerationRequest.json +2 -2
  104. package/json-schema/ai/CodeGenerationTarget.json +2 -2
  105. package/json-schema/ai/ComponentActionParams.json +2 -2
  106. package/json-schema/ai/ComponentActionType.json +2 -2
  107. package/json-schema/ai/ComponentAgentAction.json +2 -2
  108. package/json-schema/ai/ConversationAnalytics.json +2 -2
  109. package/json-schema/ai/ConversationContext.json +2 -2
  110. package/json-schema/ai/ConversationMessage.json +2 -2
  111. package/json-schema/ai/ConversationSession.json +2 -2
  112. package/json-schema/ai/ConversationSummary.json +2 -2
  113. package/json-schema/ai/CostAlert.json +2 -2
  114. package/json-schema/ai/CostAlertType.json +2 -2
  115. package/json-schema/ai/CostAnalytics.json +2 -2
  116. package/json-schema/ai/CostBreakdownDimension.json +2 -2
  117. package/json-schema/ai/CostBreakdownEntry.json +2 -2
  118. package/json-schema/ai/CostEntry.json +2 -2
  119. package/json-schema/ai/CostMetricType.json +2 -2
  120. package/json-schema/ai/CostOptimizationRecommendation.json +2 -2
  121. package/json-schema/ai/CostQueryFilters.json +2 -2
  122. package/json-schema/ai/CostReport.json +2 -2
  123. package/json-schema/ai/DataActionParams.json +2 -2
  124. package/json-schema/ai/DataActionType.json +2 -2
  125. package/json-schema/ai/DataAgentAction.json +2 -2
  126. package/json-schema/ai/DeploymentStrategy.json +2 -2
  127. package/json-schema/ai/DevOpsAgent.json +2 -2
  128. package/json-schema/ai/DevOpsTool.json +2 -2
  129. package/json-schema/ai/DevelopmentConfig.json +2 -2
  130. package/json-schema/ai/DocumentChunk.json +2 -2
  131. package/json-schema/ai/DocumentLoaderConfig.json +2 -2
  132. package/json-schema/ai/DocumentMetadata.json +2 -2
  133. package/json-schema/ai/EmbeddingModel.json +2 -2
  134. package/json-schema/ai/Entity.json +2 -2
  135. package/json-schema/ai/EvaluationMetrics.json +2 -2
  136. package/json-schema/ai/FeedbackLoop.json +2 -2
  137. package/json-schema/ai/FieldSynonymConfig.json +2 -2
  138. package/json-schema/ai/FileContent.json +2 -2
  139. package/json-schema/ai/FilterExpression.json +2 -2
  140. package/json-schema/ai/FilterGroup.json +2 -2
  141. package/json-schema/ai/FormActionParams.json +2 -2
  142. package/json-schema/ai/FormActionType.json +2 -2
  143. package/json-schema/ai/FormAgentAction.json +2 -2
  144. package/json-schema/ai/FunctionCall.json +2 -2
  145. package/json-schema/ai/GeneratedCode.json +2 -2
  146. package/json-schema/ai/GitHubIntegration.json +2 -2
  147. package/json-schema/ai/Hyperparameters.json +2 -2
  148. package/json-schema/ai/ImageContent.json +2 -2
  149. package/json-schema/ai/IntegrationConfig.json +2 -2
  150. package/json-schema/ai/IntentActionMapping.json +2 -2
  151. package/json-schema/ai/Issue.json +2 -2
  152. package/json-schema/ai/MCPCapability.json +2 -2
  153. package/json-schema/ai/MCPClientConfig.json +2 -2
  154. package/json-schema/ai/MCPPrompt.json +2 -2
  155. package/json-schema/ai/MCPPromptArgument.json +2 -2
  156. package/json-schema/ai/MCPPromptMessage.json +2 -2
  157. package/json-schema/ai/MCPPromptRequest.json +2 -2
  158. package/json-schema/ai/MCPPromptResponse.json +2 -2
  159. package/json-schema/ai/MCPResource.json +2 -2
  160. package/json-schema/ai/MCPResourceRequest.json +2 -2
  161. package/json-schema/ai/MCPResourceResponse.json +2 -2
  162. package/json-schema/ai/MCPResourceTemplate.json +2 -2
  163. package/json-schema/ai/MCPResourceType.json +2 -2
  164. package/json-schema/ai/MCPRootEntry.json +2 -2
  165. package/json-schema/ai/MCPRootsConfig.json +2 -2
  166. package/json-schema/ai/MCPSamplingConfig.json +2 -2
  167. package/json-schema/ai/MCPServerConfig.json +2 -2
  168. package/json-schema/ai/MCPServerInfo.json +2 -2
  169. package/json-schema/ai/MCPStreamingConfig.json +2 -2
  170. package/json-schema/ai/MCPTool.json +2 -2
  171. package/json-schema/ai/MCPToolApproval.json +2 -2
  172. package/json-schema/ai/MCPToolCallRequest.json +2 -2
  173. package/json-schema/ai/MCPToolCallResponse.json +2 -2
  174. package/json-schema/ai/MCPToolParameter.json +2 -2
  175. package/json-schema/ai/MCPTransportConfig.json +2 -2
  176. package/json-schema/ai/MCPTransportType.json +2 -2
  177. package/json-schema/ai/MessageContent.json +2 -2
  178. package/json-schema/ai/MessageContentType.json +2 -2
  179. package/json-schema/ai/MessagePruningEvent.json +2 -2
  180. package/json-schema/ai/MessageRole.json +2 -2
  181. package/json-schema/ai/MetadataFilter.json +2 -2
  182. package/json-schema/ai/MetadataSource.json +2 -2
  183. package/json-schema/ai/ModelCapability.json +2 -2
  184. package/json-schema/ai/ModelConfig.json +2 -2
  185. package/json-schema/ai/ModelDrift.json +2 -2
  186. package/json-schema/ai/ModelFeature.json +2 -2
  187. package/json-schema/ai/ModelLimits.json +2 -2
  188. package/json-schema/ai/ModelPricing.json +2 -2
  189. package/json-schema/ai/ModelProvider.json +2 -2
  190. package/json-schema/ai/ModelRegistry.json +2 -2
  191. package/json-schema/ai/ModelRegistryEntry.json +2 -2
  192. package/json-schema/ai/ModelSelectionCriteria.json +2 -2
  193. package/json-schema/ai/MonitoringConfig.json +2 -2
  194. package/json-schema/ai/MultiAgentGroup.json +2 -2
  195. package/json-schema/ai/NLQAnalytics.json +2 -2
  196. package/json-schema/ai/NLQFieldMapping.json +2 -2
  197. package/json-schema/ai/NLQModelConfig.json +2 -2
  198. package/json-schema/ai/NLQParseResult.json +2 -2
  199. package/json-schema/ai/NLQRequest.json +2 -2
  200. package/json-schema/ai/NLQResponse.json +2 -2
  201. package/json-schema/ai/NLQTrainingExample.json +2 -2
  202. package/json-schema/ai/NavigationActionParams.json +2 -2
  203. package/json-schema/ai/NavigationActionType.json +2 -2
  204. package/json-schema/ai/NavigationAgentAction.json +2 -2
  205. package/json-schema/ai/PerformanceOptimization.json +2 -2
  206. package/json-schema/ai/PipelineStage.json +2 -2
  207. package/json-schema/ai/PluginCompositionRequest.json +2 -2
  208. package/json-schema/ai/PluginCompositionResult.json +2 -2
  209. package/json-schema/ai/PluginRecommendation.json +2 -2
  210. package/json-schema/ai/PluginRecommendationRequest.json +2 -2
  211. package/json-schema/ai/PluginScaffoldingTemplate.json +2 -2
  212. package/json-schema/ai/PostProcessingAction.json +2 -2
  213. package/json-schema/ai/PredictionRequest.json +2 -2
  214. package/json-schema/ai/PredictionResult.json +2 -2
  215. package/json-schema/ai/PredictiveModel.json +2 -2
  216. package/json-schema/ai/PredictiveModelType.json +2 -2
  217. package/json-schema/ai/PromptTemplate.json +2 -2
  218. package/json-schema/ai/PromptVariable.json +2 -2
  219. package/json-schema/ai/QueryContext.json +2 -2
  220. package/json-schema/ai/QueryIntent.json +2 -2
  221. package/json-schema/ai/QueryTemplate.json +2 -2
  222. package/json-schema/ai/RAGPipelineConfig.json +2 -2
  223. package/json-schema/ai/RAGPipelineStatus.json +2 -2
  224. package/json-schema/ai/RAGQueryRequest.json +2 -2
  225. package/json-schema/ai/RAGQueryResponse.json +2 -2
  226. package/json-schema/ai/RerankingConfig.json +2 -2
  227. package/json-schema/ai/Resolution.json +2 -2
  228. package/json-schema/ai/RetrievalStrategy.json +2 -2
  229. package/json-schema/ai/RootCauseAnalysisRequest.json +2 -2
  230. package/json-schema/ai/RootCauseAnalysisResult.json +2 -2
  231. package/json-schema/ai/SelfHealingAction.json +2 -2
  232. package/json-schema/ai/SelfHealingConfig.json +2 -2
  233. package/json-schema/ai/StructuredOutputConfig.json +2 -2
  234. package/json-schema/ai/StructuredOutputFormat.json +2 -2
  235. package/json-schema/ai/TestingConfig.json +2 -2
  236. package/json-schema/ai/TextContent.json +2 -2
  237. package/json-schema/ai/Timeframe.json +2 -2
  238. package/json-schema/ai/TokenBudgetConfig.json +2 -2
  239. package/json-schema/ai/TokenBudgetStrategy.json +2 -2
  240. package/json-schema/ai/TokenUsage.json +2 -2
  241. package/json-schema/ai/TokenUsageStats.json +2 -2
  242. package/json-schema/ai/ToolCall.json +2 -2
  243. package/json-schema/ai/TrainingConfig.json +2 -2
  244. package/json-schema/ai/TransformPipelineStep.json +2 -2
  245. package/json-schema/ai/TypedAgentAction.json +2 -2
  246. package/json-schema/ai/UIActionType.json +2 -2
  247. package/json-schema/ai/VectorStoreConfig.json +2 -2
  248. package/json-schema/ai/VectorStoreProvider.json +2 -2
  249. package/json-schema/ai/VercelIntegration.json +2 -2
  250. package/json-schema/ai/VersionManagement.json +2 -2
  251. package/json-schema/ai/ViewActionParams.json +2 -2
  252. package/json-schema/ai/ViewActionType.json +2 -2
  253. package/json-schema/ai/ViewAgentAction.json +2 -2
  254. package/json-schema/ai/WorkflowActionParams.json +2 -2
  255. package/json-schema/ai/WorkflowActionType.json +2 -2
  256. package/json-schema/ai/WorkflowAgentAction.json +2 -2
  257. package/json-schema/ai/WorkflowFieldCondition.json +2 -2
  258. package/json-schema/ai/WorkflowSchedule.json +2 -2
  259. package/json-schema/api/AckMessage.json +2 -2
  260. package/json-schema/api/AddReactionRequest.json +2 -2
  261. package/json-schema/api/AddReactionResponse.json +2 -2
  262. package/json-schema/api/AiChatRequest.json +2 -2
  263. package/json-schema/api/AiChatResponse.json +2 -2
  264. package/json-schema/api/AiInsightsRequest.json +2 -2
  265. package/json-schema/api/AiInsightsResponse.json +2 -2
  266. package/json-schema/api/AiNlqRequest.json +2 -2
  267. package/json-schema/api/AiNlqResponse.json +2 -2
  268. package/json-schema/api/AiSuggestRequest.json +2 -2
  269. package/json-schema/api/AiSuggestResponse.json +2 -2
  270. package/json-schema/api/AnalyticsEndpoint.json +2 -2
  271. package/json-schema/api/AnalyticsMetadataResponse.json +2 -2
  272. package/json-schema/api/AnalyticsQueryRequest.json +2 -2
  273. package/json-schema/api/AnalyticsResultResponse.json +2 -2
  274. package/json-schema/api/AnalyticsSqlResponse.json +2 -2
  275. package/json-schema/api/ApiChangelogEntry.json +2 -2
  276. package/json-schema/api/ApiDiscoveryQuery.json +2 -2
  277. package/json-schema/api/ApiDiscoveryResponse.json +2 -2
  278. package/json-schema/api/ApiDocumentationConfig.json +2 -2
  279. package/json-schema/api/ApiEndpoint.json +2 -2
  280. package/json-schema/api/ApiEndpointRegistration.json +2 -2
  281. package/json-schema/api/ApiError.json +2 -2
  282. package/json-schema/api/ApiMapping.json +2 -2
  283. package/json-schema/api/ApiMetadata.json +2 -2
  284. package/json-schema/api/ApiParameter.json +2 -2
  285. package/json-schema/api/ApiProtocolType.json +2 -2
  286. package/json-schema/api/ApiRegistry.json +2 -2
  287. package/json-schema/api/ApiRegistryEntry.json +2 -2
  288. package/json-schema/api/ApiResponse.json +2 -2
  289. package/json-schema/api/ApiRoutes.json +2 -2
  290. package/json-schema/api/ApiTestCollection.json +2 -2
  291. package/json-schema/api/ApiTestRequest.json +2 -2
  292. package/json-schema/api/ApiTestingUiConfig.json +2 -2
  293. package/json-schema/api/ApiTestingUiType.json +2 -2
  294. package/json-schema/api/AppDefinitionResponse.json +2 -2
  295. package/json-schema/api/AuthEndpoint.json +2 -2
  296. package/json-schema/api/AuthProvider.json +2 -2
  297. package/json-schema/api/AutomationApiErrorCode.json +17 -0
  298. package/json-schema/api/AutomationFlowPathParams.json +16 -0
  299. package/json-schema/api/AutomationRunPathParams.json +21 -0
  300. package/json-schema/api/AutomationTriggerRequest.json +2 -2
  301. package/json-schema/api/AutomationTriggerResponse.json +2 -2
  302. package/json-schema/api/BasePresence.json +2 -2
  303. package/json-schema/api/BaseResponse.json +2 -2
  304. package/json-schema/api/BatchConfig.json +2 -2
  305. package/json-schema/api/BatchDataRequest.json +2 -2
  306. package/json-schema/api/BatchDataResponse.json +2 -2
  307. package/json-schema/api/BatchEndpointsConfig.json +2 -2
  308. package/json-schema/api/BatchLoadingStrategy.json +2 -2
  309. package/json-schema/api/BatchOperationResult.json +2 -2
  310. package/json-schema/api/BatchOperationType.json +2 -2
  311. package/json-schema/api/BatchOptions.json +2 -2
  312. package/json-schema/api/BatchRecord.json +2 -2
  313. package/json-schema/api/BatchUpdateRequest.json +2 -2
  314. package/json-schema/api/BatchUpdateResponse.json +2 -2
  315. package/json-schema/api/BulkRequest.json +2 -2
  316. package/json-schema/api/BulkResponse.json +2 -2
  317. package/json-schema/api/CacheControl.json +2 -2
  318. package/json-schema/api/CacheDirective.json +2 -2
  319. package/json-schema/api/CacheInvalidationRequest.json +2 -2
  320. package/json-schema/api/CacheInvalidationResponse.json +2 -2
  321. package/json-schema/api/CacheInvalidationTarget.json +2 -2
  322. package/json-schema/api/Callback.json +2 -2
  323. package/json-schema/api/ChangelogEntry.json +104 -0
  324. package/json-schema/api/CheckPermissionRequest.json +2 -2
  325. package/json-schema/api/CheckPermissionResponse.json +2 -2
  326. package/json-schema/api/CodeGenerationTemplate.json +2 -2
  327. package/json-schema/api/CompleteChunkedUploadRequest.json +42 -0
  328. package/json-schema/api/CompleteChunkedUploadResponse.json +107 -0
  329. package/json-schema/api/CompleteUploadRequest.json +2 -2
  330. package/json-schema/api/ConceptListResponse.json +2 -2
  331. package/json-schema/api/ConflictResolutionStrategy.json +2 -2
  332. package/json-schema/api/CreateDataRequest.json +2 -2
  333. package/json-schema/api/CreateDataResponse.json +2 -2
  334. package/json-schema/api/CreateExportJobRequest.json +93 -0
  335. package/json-schema/api/CreateExportJobResponse.json +108 -0
  336. package/json-schema/api/CreateFeedItemRequest.json +2 -2
  337. package/json-schema/api/CreateFeedItemResponse.json +30 -2
  338. package/json-schema/api/CreateFlowRequest.json +486 -0
  339. package/json-schema/api/CreateFlowResponse.json +553 -0
  340. package/json-schema/api/CreateManyDataRequest.json +2 -2
  341. package/json-schema/api/CreateManyDataResponse.json +2 -2
  342. package/json-schema/api/CreateRequest.json +2 -2
  343. package/json-schema/api/CrudEndpointPattern.json +2 -2
  344. package/json-schema/api/CrudEndpointsConfig.json +2 -2
  345. package/json-schema/api/CrudOperation.json +2 -2
  346. package/json-schema/api/CursorMessage.json +2 -2
  347. package/json-schema/api/CursorPosition.json +2 -2
  348. package/json-schema/api/DataLoaderConfig.json +2 -2
  349. package/json-schema/api/DeduplicationStrategy.json +12 -0
  350. package/json-schema/api/DeleteDataRequest.json +2 -2
  351. package/json-schema/api/DeleteDataResponse.json +2 -2
  352. package/json-schema/api/DeleteFeedItemRequest.json +2 -2
  353. package/json-schema/api/DeleteFeedItemResponse.json +2 -2
  354. package/json-schema/api/DeleteFlowRequest.json +16 -0
  355. package/json-schema/api/DeleteFlowResponse.json +87 -0
  356. package/json-schema/api/DeleteManyDataRequest.json +2 -2
  357. package/json-schema/api/DeleteManyDataResponse.json +2 -2
  358. package/json-schema/api/DeleteManyRequest.json +2 -2
  359. package/json-schema/api/DeleteResponse.json +2 -2
  360. package/json-schema/api/DeleteViewRequest.json +2 -2
  361. package/json-schema/api/DeleteViewResponse.json +2 -2
  362. package/json-schema/api/DisablePackageRequest.json +5 -3
  363. package/json-schema/api/DisablePackageResponse.json +83 -4
  364. package/json-schema/api/Discovery.json +90 -2
  365. package/json-schema/api/DispatcherConfig.json +2 -2
  366. package/json-schema/api/DispatcherRoute.json +2 -2
  367. package/json-schema/api/DocumentState.json +2 -2
  368. package/json-schema/api/ETag.json +2 -2
  369. package/json-schema/api/EditMessage.json +2 -2
  370. package/json-schema/api/EditOperation.json +2 -2
  371. package/json-schema/api/EditOperationType.json +2 -2
  372. package/json-schema/api/EnablePackageRequest.json +5 -3
  373. package/json-schema/api/EnablePackageResponse.json +83 -4
  374. package/json-schema/api/EndpointRegistry.json +2 -2
  375. package/json-schema/api/EnhancedApiError.json +2 -2
  376. package/json-schema/api/ErrorCategory.json +2 -2
  377. package/json-schema/api/ErrorHandlingConfig.json +2 -2
  378. package/json-schema/api/ErrorMessage.json +2 -2
  379. package/json-schema/api/ErrorResponse.json +2 -2
  380. package/json-schema/api/EventFilter.json +2 -2
  381. package/json-schema/api/EventFilterCondition.json +2 -2
  382. package/json-schema/api/EventMessage.json +2 -2
  383. package/json-schema/api/EventPattern.json +2 -2
  384. package/json-schema/api/EventSubscription.json +2 -2
  385. package/json-schema/api/ExportFormat.json +13 -0
  386. package/json-schema/api/ExportImportTemplate.json +123 -0
  387. package/json-schema/api/ExportJobProgress.json +174 -0
  388. package/json-schema/api/ExportJobStatus.json +14 -0
  389. package/json-schema/api/ExportJobSummary.json +75 -0
  390. package/json-schema/api/ExportRequest.json +2 -2
  391. package/json-schema/api/FederationEntity.json +2 -2
  392. package/json-schema/api/FederationEntityKey.json +2 -2
  393. package/json-schema/api/FederationExternalField.json +2 -2
  394. package/json-schema/api/FederationGateway.json +2 -2
  395. package/json-schema/api/FederationProvides.json +2 -2
  396. package/json-schema/api/FederationRequires.json +2 -2
  397. package/json-schema/api/FeedApiErrorCode.json +8 -3
  398. package/json-schema/api/FeedItemPathParams.json +2 -2
  399. package/json-schema/api/FeedListFilterType.json +2 -2
  400. package/json-schema/api/FeedPathParams.json +2 -2
  401. package/json-schema/api/FeedUnsubscribeRequest.json +2 -2
  402. package/json-schema/api/FieldError.json +2 -2
  403. package/json-schema/api/FieldMappingEntry.json +48 -0
  404. package/json-schema/api/FileTypeValidation.json +48 -0
  405. package/json-schema/api/FileUploadResponse.json +2 -2
  406. package/json-schema/api/FilterOperator.json +2 -2
  407. package/json-schema/api/FindDataRequest.json +2 -2
  408. package/json-schema/api/FindDataResponse.json +6 -2
  409. package/json-schema/api/FlowSummary.json +55 -0
  410. package/json-schema/api/GeneratedApiDocumentation.json +2 -2
  411. package/json-schema/api/GeneratedEndpoint.json +2 -2
  412. package/json-schema/api/GetAnalyticsMetaRequest.json +2 -2
  413. package/json-schema/api/GetChangelogRequest.json +53 -0
  414. package/json-schema/api/GetChangelogResponse.json +198 -0
  415. package/json-schema/api/GetDataRequest.json +2 -2
  416. package/json-schema/api/GetDataResponse.json +2 -2
  417. package/json-schema/api/GetDiscoveryRequest.json +2 -2
  418. package/json-schema/api/GetDiscoveryResponse.json +81 -2
  419. package/json-schema/api/GetEffectivePermissionsRequest.json +2 -2
  420. package/json-schema/api/GetEffectivePermissionsResponse.json +2 -2
  421. package/json-schema/api/GetExportJobDownloadRequest.json +16 -0
  422. package/json-schema/api/GetExportJobDownloadResponse.json +122 -0
  423. package/json-schema/api/GetFeedRequest.json +2 -2
  424. package/json-schema/api/GetFeedResponse.json +30 -2
  425. package/json-schema/api/GetFieldLabelsRequest.json +2 -2
  426. package/json-schema/api/GetFieldLabelsResponse.json +2 -2
  427. package/json-schema/api/GetFlowRequest.json +16 -0
  428. package/json-schema/api/GetFlowResponse.json +553 -0
  429. package/json-schema/api/GetInstalledPackageRequest.json +16 -0
  430. package/json-schema/api/GetInstalledPackageResponse.json +1992 -0
  431. package/json-schema/api/GetLocalesRequest.json +2 -2
  432. package/json-schema/api/GetLocalesResponse.json +2 -2
  433. package/json-schema/api/GetMetaItemCachedRequest.json +2 -2
  434. package/json-schema/api/GetMetaItemCachedResponse.json +2 -2
  435. package/json-schema/api/GetMetaItemRequest.json +2 -2
  436. package/json-schema/api/GetMetaItemResponse.json +2 -2
  437. package/json-schema/api/GetMetaItemsRequest.json +2 -2
  438. package/json-schema/api/GetMetaItemsResponse.json +2 -2
  439. package/json-schema/api/GetMetaTypesRequest.json +2 -2
  440. package/json-schema/api/GetMetaTypesResponse.json +2 -2
  441. package/json-schema/api/GetNotificationPreferencesRequest.json +2 -2
  442. package/json-schema/api/GetNotificationPreferencesResponse.json +2 -2
  443. package/json-schema/api/GetObjectPermissionsRequest.json +2 -2
  444. package/json-schema/api/GetObjectPermissionsResponse.json +2 -2
  445. package/json-schema/api/GetPackageRequest.json +5 -3
  446. package/json-schema/api/GetPackageResponse.json +82 -4
  447. package/json-schema/api/GetPresenceRequest.json +2 -2
  448. package/json-schema/api/GetPresenceResponse.json +2 -2
  449. package/json-schema/api/GetPresignedUrlRequest.json +2 -2
  450. package/json-schema/api/GetRunRequest.json +21 -0
  451. package/json-schema/api/GetRunResponse.json +284 -0
  452. package/json-schema/api/GetTranslationsRequest.json +2 -2
  453. package/json-schema/api/GetTranslationsResponse.json +2 -2
  454. package/json-schema/api/GetUiViewRequest.json +2 -2
  455. package/json-schema/api/GetViewRequest.json +2 -2
  456. package/json-schema/api/GetWorkflowConfigRequest.json +2 -2
  457. package/json-schema/api/GetWorkflowConfigResponse.json +2 -2
  458. package/json-schema/api/GetWorkflowStateRequest.json +2 -2
  459. package/json-schema/api/GetWorkflowStateResponse.json +2 -2
  460. package/json-schema/api/GraphQLConfig.json +2 -2
  461. package/json-schema/api/GraphQLDataLoaderConfig.json +2 -2
  462. package/json-schema/api/GraphQLDirectiveConfig.json +2 -2
  463. package/json-schema/api/GraphQLDirectiveLocation.json +2 -2
  464. package/json-schema/api/GraphQLMutationConfig.json +2 -2
  465. package/json-schema/api/GraphQLPersistedQuery.json +2 -2
  466. package/json-schema/api/GraphQLQueryAdapter.json +2 -2
  467. package/json-schema/api/GraphQLQueryComplexity.json +2 -2
  468. package/json-schema/api/GraphQLQueryConfig.json +2 -2
  469. package/json-schema/api/GraphQLQueryDepthLimit.json +2 -2
  470. package/json-schema/api/GraphQLRateLimit.json +2 -2
  471. package/json-schema/api/GraphQLResolverConfig.json +2 -2
  472. package/json-schema/api/GraphQLScalarType.json +2 -2
  473. package/json-schema/api/GraphQLSubscriptionConfig.json +2 -2
  474. package/json-schema/api/GraphQLTypeConfig.json +2 -2
  475. package/json-schema/api/HttpMethod.json +2 -2
  476. package/json-schema/api/HttpStatusCode.json +2 -2
  477. package/json-schema/api/IdRequest.json +2 -2
  478. package/json-schema/api/ImportValidationConfig.json +77 -0
  479. package/json-schema/api/ImportValidationMode.json +11 -0
  480. package/json-schema/api/ImportValidationResult.json +150 -0
  481. package/json-schema/api/InitiateChunkedUploadRequest.json +56 -0
  482. package/json-schema/api/InitiateChunkedUploadResponse.json +113 -0
  483. package/json-schema/api/InstallPackageRequest.json +26 -3
  484. package/json-schema/api/InstallPackageResponse.json +196 -4
  485. package/json-schema/api/ListExportJobsRequest.json +39 -0
  486. package/json-schema/api/ListExportJobsResponse.json +163 -0
  487. package/json-schema/api/ListFlowsRequest.json +44 -0
  488. package/json-schema/api/ListFlowsResponse.json +149 -0
  489. package/json-schema/api/ListInstalledPackagesRequest.json +40 -0
  490. package/json-schema/api/ListInstalledPackagesResponse.json +2020 -0
  491. package/json-schema/api/ListNotificationsRequest.json +2 -2
  492. package/json-schema/api/ListNotificationsResponse.json +2 -2
  493. package/json-schema/api/ListPackagesRequest.json +7 -4
  494. package/json-schema/api/ListPackagesResponse.json +86 -6
  495. package/json-schema/api/ListRecordResponse.json +2 -2
  496. package/json-schema/api/ListRunsRequest.json +42 -0
  497. package/json-schema/api/ListRunsResponse.json +311 -0
  498. package/json-schema/api/ListViewsRequest.json +2 -2
  499. package/json-schema/api/LoginRequest.json +2 -2
  500. package/json-schema/api/LoginType.json +2 -2
  501. package/json-schema/api/MarkAllNotificationsReadRequest.json +2 -2
  502. package/json-schema/api/MarkAllNotificationsReadResponse.json +2 -2
  503. package/json-schema/api/MarkNotificationsReadRequest.json +2 -2
  504. package/json-schema/api/MarkNotificationsReadResponse.json +2 -2
  505. package/json-schema/api/MetadataBulkRegisterRequest.json +2 -2
  506. package/json-schema/api/MetadataBulkResponse.json +2 -2
  507. package/json-schema/api/MetadataBulkUnregisterRequest.json +2 -2
  508. package/json-schema/api/MetadataCacheRequest.json +2 -2
  509. package/json-schema/api/MetadataCacheResponse.json +2 -2
  510. package/json-schema/api/MetadataDeleteResponse.json +2 -2
  511. package/json-schema/api/MetadataDependenciesResponse.json +2 -2
  512. package/json-schema/api/MetadataDependentsResponse.json +2 -2
  513. package/json-schema/api/MetadataEffectiveResponse.json +2 -2
  514. package/json-schema/api/MetadataEndpointsConfig.json +2 -2
  515. package/json-schema/api/MetadataExistsResponse.json +2 -2
  516. package/json-schema/api/MetadataExportRequest.json +2 -2
  517. package/json-schema/api/MetadataExportResponse.json +2 -2
  518. package/json-schema/api/MetadataImportRequest.json +2 -2
  519. package/json-schema/api/MetadataImportResponse.json +2 -2
  520. package/json-schema/api/MetadataItemResponse.json +2 -2
  521. package/json-schema/api/MetadataListResponse.json +2 -2
  522. package/json-schema/api/MetadataNamesResponse.json +2 -2
  523. package/json-schema/api/MetadataOverlayResponse.json +2 -2
  524. package/json-schema/api/MetadataOverlaySaveRequest.json +2 -2
  525. package/json-schema/api/MetadataQueryRequest.json +2 -2
  526. package/json-schema/api/MetadataQueryResponse.json +2 -2
  527. package/json-schema/api/MetadataRegisterRequest.json +2 -2
  528. package/json-schema/api/MetadataTypeInfoResponse.json +2 -2
  529. package/json-schema/api/MetadataTypesResponse.json +2 -2
  530. package/json-schema/api/MetadataValidateRequest.json +2 -2
  531. package/json-schema/api/MetadataValidateResponse.json +2 -2
  532. package/json-schema/api/ModificationResult.json +2 -2
  533. package/json-schema/api/Notification.json +2 -2
  534. package/json-schema/api/NotificationPreferences.json +2 -2
  535. package/json-schema/api/ODataConfig.json +2 -2
  536. package/json-schema/api/ODataError.json +2 -2
  537. package/json-schema/api/ODataFilterFunction.json +2 -2
  538. package/json-schema/api/ODataFilterOperator.json +2 -2
  539. package/json-schema/api/ODataMetadata.json +2 -2
  540. package/json-schema/api/ODataQuery.json +2 -2
  541. package/json-schema/api/ODataQueryAdapter.json +2 -2
  542. package/json-schema/api/ODataResponse.json +2 -2
  543. package/json-schema/api/ObjectDefinitionResponse.json +2 -2
  544. package/json-schema/api/ObjectQLReference.json +2 -2
  545. package/json-schema/api/OpenApi31Extensions.json +2 -2
  546. package/json-schema/api/OpenApiGenerationConfig.json +2 -2
  547. package/json-schema/api/OpenApiSecurityScheme.json +2 -2
  548. package/json-schema/api/OpenApiServer.json +2 -2
  549. package/json-schema/api/OpenApiSpec.json +2 -2
  550. package/json-schema/api/OperatorMapping.json +2 -2
  551. package/json-schema/api/PackageApiErrorCode.json +21 -0
  552. package/json-schema/api/PackageInstallRequest.json +1877 -0
  553. package/json-schema/api/PackageInstallResponse.json +2155 -0
  554. package/json-schema/api/PackagePathParams.json +16 -0
  555. package/json-schema/api/PackageRollbackRequest.json +28 -0
  556. package/json-schema/api/PackageRollbackResponse.json +91 -0
  557. package/json-schema/api/PackageUpgradeRequest.json +1851 -0
  558. package/json-schema/api/PackageUpgradeResponse.json +269 -0
  559. package/json-schema/api/PinFeedItemRequest.json +26 -0
  560. package/json-schema/api/PinFeedItemResponse.json +94 -0
  561. package/json-schema/api/PingMessage.json +2 -2
  562. package/json-schema/api/PongMessage.json +2 -2
  563. package/json-schema/api/PresenceMessage.json +2 -2
  564. package/json-schema/api/PresenceState.json +2 -2
  565. package/json-schema/api/PresenceStatus.json +2 -2
  566. package/json-schema/api/PresenceUpdate.json +2 -2
  567. package/json-schema/api/PresignedUrlResponse.json +2 -2
  568. package/json-schema/api/QueryAdapterConfig.json +2 -2
  569. package/json-schema/api/QueryAdapterTarget.json +2 -2
  570. package/json-schema/api/QueryOptimizationConfig.json +2 -2
  571. package/json-schema/api/RealtimeConfig.json +2 -2
  572. package/json-schema/api/RealtimeConnectRequest.json +2 -2
  573. package/json-schema/api/RealtimeConnectResponse.json +2 -2
  574. package/json-schema/api/RealtimeDisconnectRequest.json +2 -2
  575. package/json-schema/api/RealtimeDisconnectResponse.json +2 -2
  576. package/json-schema/api/RealtimeEvent.json +2 -2
  577. package/json-schema/api/RealtimeEventType.json +2 -2
  578. package/json-schema/api/RealtimePresence.json +2 -2
  579. package/json-schema/api/RealtimeRecordAction.json +2 -2
  580. package/json-schema/api/RealtimeSubscribeRequest.json +2 -2
  581. package/json-schema/api/RealtimeSubscribeResponse.json +2 -2
  582. package/json-schema/api/RealtimeUnsubscribeRequest.json +2 -2
  583. package/json-schema/api/RealtimeUnsubscribeResponse.json +2 -2
  584. package/json-schema/api/RecordData.json +2 -2
  585. package/json-schema/api/RefreshTokenRequest.json +2 -2
  586. package/json-schema/api/RegisterDeviceRequest.json +2 -2
  587. package/json-schema/api/RegisterDeviceResponse.json +2 -2
  588. package/json-schema/api/RegisterRequest.json +2 -2
  589. package/json-schema/api/RemoveReactionRequest.json +2 -2
  590. package/json-schema/api/RemoveReactionResponse.json +2 -2
  591. package/json-schema/api/RequestValidationConfig.json +2 -2
  592. package/json-schema/api/ResolveDependenciesRequest.json +1818 -0
  593. package/json-schema/api/ResolveDependenciesResponse.json +183 -0
  594. package/json-schema/api/ResponseEnvelopeConfig.json +2 -2
  595. package/json-schema/api/RestApiConfig.json +2 -2
  596. package/json-schema/api/RestApiEndpoint.json +2 -2
  597. package/json-schema/api/RestApiPluginConfig.json +2 -2
  598. package/json-schema/api/RestApiRouteCategory.json +2 -2
  599. package/json-schema/api/RestApiRouteRegistration.json +2 -2
  600. package/json-schema/api/RestQueryAdapter.json +2 -2
  601. package/json-schema/api/RestServerConfig.json +2 -2
  602. package/json-schema/api/RetryStrategy.json +2 -2
  603. package/json-schema/api/RouteCategory.json +2 -2
  604. package/json-schema/api/RouteDefinition.json +2 -2
  605. package/json-schema/api/RouteGenerationConfig.json +2 -2
  606. package/json-schema/api/RouterConfig.json +2 -2
  607. package/json-schema/api/SaveMetaItemRequest.json +2 -2
  608. package/json-schema/api/SaveMetaItemResponse.json +2 -2
  609. package/json-schema/api/ScheduleExportRequest.json +114 -0
  610. package/json-schema/api/ScheduleExportResponse.json +105 -0
  611. package/json-schema/api/ScheduledExport.json +146 -0
  612. package/json-schema/api/SchemaDefinition.json +2 -2
  613. package/json-schema/api/SearchFeedRequest.json +77 -0
  614. package/json-schema/api/SearchFeedResponse.json +372 -0
  615. package/json-schema/api/ServiceInfo.json +37 -2
  616. package/json-schema/api/Session.json +2 -2
  617. package/json-schema/api/SessionResponse.json +2 -2
  618. package/json-schema/api/SessionUser.json +2 -2
  619. package/json-schema/api/SetPresenceRequest.json +2 -2
  620. package/json-schema/api/SetPresenceResponse.json +2 -2
  621. package/json-schema/api/SimpleCursorPosition.json +2 -2
  622. package/json-schema/api/SimplePresenceState.json +2 -2
  623. package/json-schema/api/SingleRecordResponse.json +2 -2
  624. package/json-schema/api/StandardErrorCode.json +2 -2
  625. package/json-schema/api/StarFeedItemRequest.json +26 -0
  626. package/json-schema/api/StarFeedItemResponse.json +94 -0
  627. package/json-schema/api/SubgraphConfig.json +2 -2
  628. package/json-schema/api/SubscribeMessage.json +2 -2
  629. package/json-schema/api/SubscribeRequest.json +2 -2
  630. package/json-schema/api/SubscribeResponse.json +2 -2
  631. package/json-schema/api/Subscription.json +2 -2
  632. package/json-schema/api/SubscriptionEvent.json +2 -2
  633. package/json-schema/api/ToggleFlowRequest.json +21 -0
  634. package/json-schema/api/ToggleFlowResponse.json +87 -0
  635. package/json-schema/api/TransportProtocol.json +2 -2
  636. package/json-schema/api/TriggerFlowRequest.json +44 -0
  637. package/json-schema/api/TriggerFlowResponse.json +93 -0
  638. package/json-schema/api/UninstallPackageApiRequest.json +16 -0
  639. package/json-schema/api/UninstallPackageApiResponse.json +92 -0
  640. package/json-schema/api/UninstallPackageRequest.json +5 -3
  641. package/json-schema/api/UninstallPackageResponse.json +8 -4
  642. package/json-schema/api/UnpinFeedItemRequest.json +26 -0
  643. package/json-schema/api/UnpinFeedItemResponse.json +87 -0
  644. package/json-schema/api/UnregisterDeviceRequest.json +2 -2
  645. package/json-schema/api/UnregisterDeviceResponse.json +2 -2
  646. package/json-schema/api/UnstarFeedItemRequest.json +26 -0
  647. package/json-schema/api/UnstarFeedItemResponse.json +87 -0
  648. package/json-schema/api/UnsubscribeMessage.json +2 -2
  649. package/json-schema/api/UnsubscribeRequest.json +2 -2
  650. package/json-schema/api/UnsubscribeResponse.json +2 -2
  651. package/json-schema/api/UpdateDataRequest.json +2 -2
  652. package/json-schema/api/UpdateDataResponse.json +2 -2
  653. package/json-schema/api/UpdateFeedItemRequest.json +2 -2
  654. package/json-schema/api/UpdateFeedItemResponse.json +30 -2
  655. package/json-schema/api/UpdateFlowRequest.json +489 -0
  656. package/json-schema/api/UpdateFlowResponse.json +553 -0
  657. package/json-schema/api/UpdateManyDataRequest.json +2 -2
  658. package/json-schema/api/UpdateManyDataResponse.json +2 -2
  659. package/json-schema/api/UpdateManyRequest.json +2 -2
  660. package/json-schema/api/UpdateNotificationPreferencesRequest.json +2 -2
  661. package/json-schema/api/UpdateNotificationPreferencesResponse.json +2 -2
  662. package/json-schema/api/UpdateRequest.json +2 -2
  663. package/json-schema/api/UploadArtifactRequest.json +223 -0
  664. package/json-schema/api/UploadArtifactResponse.json +136 -0
  665. package/json-schema/api/UploadChunkRequest.json +28 -0
  666. package/json-schema/api/UploadChunkResponse.json +96 -0
  667. package/json-schema/api/UploadProgress.json +153 -0
  668. package/json-schema/api/UserProfileResponse.json +2 -2
  669. package/json-schema/api/ValidationMode.json +2 -2
  670. package/json-schema/api/VersionDefinition.json +2 -2
  671. package/json-schema/api/VersionNegotiationResponse.json +2 -2
  672. package/json-schema/api/VersionStatus.json +2 -2
  673. package/json-schema/api/VersioningConfig.json +2 -2
  674. package/json-schema/api/VersioningStrategy.json +2 -2
  675. package/json-schema/api/WebSocketConfig.json +2 -2
  676. package/json-schema/api/WebSocketEvent.json +2 -2
  677. package/json-schema/api/WebSocketMessage.json +2 -2
  678. package/json-schema/api/WebSocketMessageType.json +2 -2
  679. package/json-schema/api/WebSocketPresenceStatus.json +2 -2
  680. package/json-schema/api/WebSocketServerConfig.json +2 -2
  681. package/json-schema/api/WebhookConfig.json +2 -2
  682. package/json-schema/api/WebhookEvent.json +2 -2
  683. package/json-schema/api/WellKnownCapabilities.json +47 -0
  684. package/json-schema/api/WorkflowApproveRequest.json +2 -2
  685. package/json-schema/api/WorkflowApproveResponse.json +2 -2
  686. package/json-schema/api/WorkflowRejectRequest.json +2 -2
  687. package/json-schema/api/WorkflowRejectResponse.json +2 -2
  688. package/json-schema/api/WorkflowState.json +2 -2
  689. package/json-schema/api/WorkflowTransitionRequest.json +2 -2
  690. package/json-schema/api/WorkflowTransitionResponse.json +2 -2
  691. package/json-schema/automation/ActionRef.json +2 -2
  692. package/json-schema/automation/ApprovalAction.json +2 -2
  693. package/json-schema/automation/ApprovalActionType.json +2 -2
  694. package/json-schema/automation/ApprovalProcess.json +2 -2
  695. package/json-schema/automation/ApprovalStep.json +2 -2
  696. package/json-schema/automation/ApproverType.json +2 -2
  697. package/json-schema/automation/AuthField.json +2 -2
  698. package/json-schema/automation/Authentication.json +2 -2
  699. package/json-schema/automation/AuthenticationType.json +2 -2
  700. package/json-schema/automation/BpmnDiagnostic.json +35 -0
  701. package/json-schema/automation/BpmnElementMapping.json +32 -0
  702. package/json-schema/automation/BpmnExportOptions.json +79 -0
  703. package/json-schema/automation/BpmnImportOptions.json +79 -0
  704. package/json-schema/automation/BpmnInteropResult.json +71 -0
  705. package/json-schema/automation/BpmnUnmappedStrategy.json +13 -0
  706. package/json-schema/automation/BpmnVersion.json +11 -0
  707. package/json-schema/automation/Checkpoint.json +75 -0
  708. package/json-schema/automation/ConcurrencyPolicy.json +47 -0
  709. package/json-schema/automation/ConflictResolution.json +2 -2
  710. package/json-schema/automation/Connector.json +2 -2
  711. package/json-schema/automation/ConnectorActionRef.json +2 -2
  712. package/json-schema/automation/ConnectorCategory.json +2 -2
  713. package/json-schema/automation/ConnectorInstance.json +2 -2
  714. package/json-schema/automation/ConnectorOperation.json +2 -2
  715. package/json-schema/automation/ConnectorTrigger.json +2 -2
  716. package/json-schema/automation/CustomScriptAction.json +2 -2
  717. package/json-schema/automation/DataDestinationConfig.json +2 -2
  718. package/json-schema/automation/DataSourceConfig.json +2 -2
  719. package/json-schema/automation/DataSyncConfig.json +2 -2
  720. package/json-schema/automation/ETLDestination.json +2 -2
  721. package/json-schema/automation/ETLEndpointType.json +2 -2
  722. package/json-schema/automation/ETLPipeline.json +2 -2
  723. package/json-schema/automation/ETLPipelineRun.json +2 -2
  724. package/json-schema/automation/ETLRunStatus.json +2 -2
  725. package/json-schema/automation/ETLSource.json +2 -2
  726. package/json-schema/automation/ETLSyncMode.json +2 -2
  727. package/json-schema/automation/ETLTransformation.json +2 -2
  728. package/json-schema/automation/ETLTransformationType.json +2 -2
  729. package/json-schema/automation/EmailAlertAction.json +2 -2
  730. package/json-schema/automation/Event.json +2 -2
  731. package/json-schema/automation/ExecutionError.json +76 -0
  732. package/json-schema/automation/ExecutionErrorSeverity.json +11 -0
  733. package/json-schema/automation/ExecutionLog.json +217 -0
  734. package/json-schema/automation/ExecutionStatus.json +16 -0
  735. package/json-schema/automation/ExecutionStepLog.json +99 -0
  736. package/json-schema/automation/FieldUpdateAction.json +2 -2
  737. package/json-schema/automation/Flow.json +200 -7
  738. package/json-schema/automation/FlowEdge.json +12 -5
  739. package/json-schema/automation/FlowNode.json +168 -3
  740. package/json-schema/automation/FlowNodeAction.json +6 -3
  741. package/json-schema/automation/FlowVariable.json +2 -2
  742. package/json-schema/automation/FlowVersionHistory.json +523 -0
  743. package/json-schema/automation/GuardRef.json +2 -2
  744. package/json-schema/automation/HttpCallAction.json +2 -2
  745. package/json-schema/automation/NodeExecutorDescriptor.json +62 -0
  746. package/json-schema/automation/OAuth2Config.json +2 -2
  747. package/json-schema/automation/OperationParameter.json +2 -2
  748. package/json-schema/automation/OperationType.json +2 -2
  749. package/json-schema/automation/PushNotificationAction.json +2 -2
  750. package/json-schema/automation/ScheduleState.json +125 -0
  751. package/json-schema/automation/StateMachine.json +2 -2
  752. package/json-schema/automation/StateNode.json +2 -2
  753. package/json-schema/automation/SyncDirection.json +2 -2
  754. package/json-schema/automation/SyncExecutionResult.json +2 -2
  755. package/json-schema/automation/SyncExecutionStatus.json +2 -2
  756. package/json-schema/automation/SyncMode.json +2 -2
  757. package/json-schema/automation/TaskCreationAction.json +2 -2
  758. package/json-schema/automation/TimeTrigger.json +2 -2
  759. package/json-schema/automation/Transition.json +2 -2
  760. package/json-schema/automation/WaitEventType.json +14 -0
  761. package/json-schema/automation/WaitExecutorConfig.json +67 -0
  762. package/json-schema/automation/WaitResumePayload.json +70 -0
  763. package/json-schema/automation/WaitTimeoutBehavior.json +12 -0
  764. package/json-schema/automation/Webhook.json +2 -2
  765. package/json-schema/automation/WebhookReceiver.json +2 -2
  766. package/json-schema/automation/WebhookTriggerType.json +2 -2
  767. package/json-schema/automation/WorkflowAction.json +2 -2
  768. package/json-schema/automation/WorkflowRule.json +2 -2
  769. package/json-schema/automation/WorkflowTriggerType.json +2 -2
  770. package/json-schema/cloud/AnalyticsTimeRange.json +2 -2
  771. package/json-schema/cloud/AppDiscoveryRequest.json +4 -3
  772. package/json-schema/cloud/AppDiscoveryResponse.json +22 -12
  773. package/json-schema/cloud/AppSubscription.json +2 -2
  774. package/json-schema/cloud/ArtifactDownloadResponse.json +46 -0
  775. package/json-schema/cloud/ArtifactReference.json +48 -0
  776. package/json-schema/cloud/CreateListingRequest.json +2 -2
  777. package/json-schema/cloud/CuratedCollection.json +2 -2
  778. package/json-schema/cloud/FeaturedListing.json +2 -2
  779. package/json-schema/cloud/InstalledAppSummary.json +2 -2
  780. package/json-schema/cloud/ListInstalledAppsRequest.json +2 -2
  781. package/json-schema/cloud/ListInstalledAppsResponse.json +2 -2
  782. package/json-schema/cloud/ListReviewsRequest.json +2 -2
  783. package/json-schema/cloud/ListReviewsResponse.json +2 -2
  784. package/json-schema/cloud/ListingActionRequest.json +2 -2
  785. package/json-schema/cloud/ListingStatus.json +3 -2
  786. package/json-schema/cloud/MarketplaceCategory.json +3 -2
  787. package/json-schema/cloud/MarketplaceHealthMetrics.json +2 -2
  788. package/json-schema/cloud/MarketplaceInstallRequest.json +51 -2
  789. package/json-schema/cloud/MarketplaceInstallResponse.json +8 -3
  790. package/json-schema/cloud/MarketplaceListing.json +69 -5
  791. package/json-schema/cloud/MarketplaceSearchRequest.json +11 -2
  792. package/json-schema/cloud/MarketplaceSearchResponse.json +84 -12
  793. package/json-schema/cloud/PackageSubmission.json +9 -2
  794. package/json-schema/cloud/PolicyAction.json +2 -2
  795. package/json-schema/cloud/PolicyViolationType.json +2 -2
  796. package/json-schema/cloud/PricingModel.json +3 -2
  797. package/json-schema/cloud/Publisher.json +5 -2
  798. package/json-schema/cloud/PublisherProfile.json +4 -3
  799. package/json-schema/cloud/PublisherVerification.json +3 -2
  800. package/json-schema/cloud/PublishingAnalyticsRequest.json +2 -2
  801. package/json-schema/cloud/PublishingAnalyticsResponse.json +2 -2
  802. package/json-schema/cloud/RecommendationReason.json +2 -2
  803. package/json-schema/cloud/RecommendedApp.json +6 -4
  804. package/json-schema/cloud/RejectionReason.json +2 -2
  805. package/json-schema/cloud/ReleaseChannel.json +2 -2
  806. package/json-schema/cloud/ReviewCriterion.json +2 -2
  807. package/json-schema/cloud/ReviewDecision.json +2 -2
  808. package/json-schema/cloud/ReviewModerationStatus.json +2 -2
  809. package/json-schema/cloud/SubmissionReview.json +2 -2
  810. package/json-schema/cloud/SubmitReviewRequest.json +2 -2
  811. package/json-schema/cloud/SubscriptionStatus.json +2 -2
  812. package/json-schema/cloud/TimeSeriesPoint.json +2 -2
  813. package/json-schema/cloud/TrendingListing.json +2 -2
  814. package/json-schema/cloud/UpdateListingRequest.json +2 -2
  815. package/json-schema/cloud/UserReview.json +2 -2
  816. package/json-schema/cloud/VersionRelease.json +2 -2
  817. package/json-schema/data/Address.json +2 -2
  818. package/json-schema/data/AggregationFunction.json +2 -2
  819. package/json-schema/data/AggregationMetricType.json +2 -2
  820. package/json-schema/data/AggregationNode.json +2 -2
  821. package/json-schema/data/AggregationPipeline.json +2 -2
  822. package/json-schema/data/AggregationStage.json +2 -2
  823. package/json-schema/data/AnalyticsQuery.json +2 -2
  824. package/json-schema/data/ApiMethod.json +2 -2
  825. package/json-schema/data/AsyncValidation.json +2 -2
  826. package/json-schema/data/BaseEngineOptions.json +2 -2
  827. package/json-schema/data/CDCConfig.json +2 -2
  828. package/json-schema/data/ComputedFieldCache.json +2 -2
  829. package/json-schema/data/ConditionalValidation.json +2 -2
  830. package/json-schema/data/ConsistencyLevel.json +2 -2
  831. package/json-schema/data/CrossFieldValidation.json +2 -2
  832. package/json-schema/data/Cube.json +2 -2
  833. package/json-schema/data/CubeJoin.json +2 -2
  834. package/json-schema/data/CurrencyConfig.json +2 -2
  835. package/json-schema/data/CurrencyValue.json +2 -2
  836. package/json-schema/data/CustomValidator.json +2 -2
  837. package/json-schema/data/DataEngineAggregateOptions.json +2 -2
  838. package/json-schema/data/DataEngineAggregateRequest.json +2 -2
  839. package/json-schema/data/DataEngineBatchRequest.json +2 -2
  840. package/json-schema/data/DataEngineCountOptions.json +2 -2
  841. package/json-schema/data/DataEngineCountRequest.json +2 -2
  842. package/json-schema/data/DataEngineDeleteOptions.json +2 -2
  843. package/json-schema/data/DataEngineDeleteRequest.json +2 -2
  844. package/json-schema/data/DataEngineExecuteRequest.json +2 -2
  845. package/json-schema/data/DataEngineFilter.json +2 -2
  846. package/json-schema/data/DataEngineFindOneRequest.json +2 -2
  847. package/json-schema/data/DataEngineFindRequest.json +2 -2
  848. package/json-schema/data/DataEngineInsertOptions.json +2 -2
  849. package/json-schema/data/DataEngineInsertRequest.json +2 -2
  850. package/json-schema/data/DataEngineQueryOptions.json +2 -2
  851. package/json-schema/data/DataEngineRequest.json +2 -2
  852. package/json-schema/data/DataEngineSort.json +2 -2
  853. package/json-schema/data/DataEngineUpdateOptions.json +2 -2
  854. package/json-schema/data/DataEngineUpdateRequest.json +2 -2
  855. package/json-schema/data/DataEngineVectorFindRequest.json +2 -2
  856. package/json-schema/data/DataQualityRules.json +2 -2
  857. package/json-schema/data/DataTypeMapping.json +2 -2
  858. package/json-schema/data/Dataset.json +2 -2
  859. package/json-schema/data/DatasetMode.json +2 -2
  860. package/json-schema/data/Datasource.json +2 -2
  861. package/json-schema/data/DatasourceCapabilities.json +2 -2
  862. package/json-schema/data/Dimension.json +2 -2
  863. package/json-schema/data/DimensionType.json +2 -2
  864. package/json-schema/data/Document.json +2 -2
  865. package/json-schema/data/DocumentTemplate.json +2 -2
  866. package/json-schema/data/DocumentValidationSchema.json +2 -2
  867. package/json-schema/data/DocumentVersion.json +2 -2
  868. package/json-schema/data/DriverCapabilities.json +2 -2
  869. package/json-schema/data/DriverConfig.json +2 -2
  870. package/json-schema/data/DriverDefinition.json +2 -2
  871. package/json-schema/data/DriverOptions.json +2 -2
  872. package/json-schema/data/DriverType.json +2 -2
  873. package/json-schema/data/ESignatureConfig.json +2 -2
  874. package/json-schema/data/EqualityOperator.json +2 -2
  875. package/json-schema/data/ExternalDataSource.json +2 -2
  876. package/json-schema/data/ExternalFieldMapping.json +2 -2
  877. package/json-schema/data/ExternalLookup.json +2 -2
  878. package/json-schema/data/FeedActor.json +2 -2
  879. package/json-schema/data/FeedFilterMode.json +2 -2
  880. package/json-schema/data/FeedItem.json +30 -2
  881. package/json-schema/data/FeedItemType.json +2 -2
  882. package/json-schema/data/FeedVisibility.json +2 -2
  883. package/json-schema/data/Field.json +2 -2
  884. package/json-schema/data/FieldChangeEntry.json +2 -2
  885. package/json-schema/data/FieldMapping.json +2 -2
  886. package/json-schema/data/FieldNode.json +2 -2
  887. package/json-schema/data/FieldReference.json +2 -2
  888. package/json-schema/data/FieldType.json +2 -2
  889. package/json-schema/data/FileAttachmentConfig.json +2 -2
  890. package/json-schema/data/FilterCondition.json +2 -2
  891. package/json-schema/data/FormatValidation.json +2 -2
  892. package/json-schema/data/FullTextSearch.json +2 -2
  893. package/json-schema/data/HookContext.json +2 -2
  894. package/json-schema/data/HookEvent.json +2 -2
  895. package/json-schema/data/Index.json +2 -2
  896. package/json-schema/data/JSONValidation.json +2 -2
  897. package/json-schema/data/JoinNode.json +2 -2
  898. package/json-schema/data/JoinStrategy.json +2 -2
  899. package/json-schema/data/JoinType.json +2 -2
  900. package/json-schema/data/LocationCoordinates.json +2 -2
  901. package/json-schema/data/Mapping.json +2 -2
  902. package/json-schema/data/Mention.json +2 -2
  903. package/json-schema/data/Metric.json +2 -2
  904. package/json-schema/data/NoSQLDataTypeMapping.json +2 -2
  905. package/json-schema/data/NoSQLDatabaseType.json +2 -2
  906. package/json-schema/data/NoSQLDriverConfig.json +2 -2
  907. package/json-schema/data/NoSQLIndex.json +2 -2
  908. package/json-schema/data/NoSQLIndexType.json +2 -2
  909. package/json-schema/data/NoSQLOperationType.json +2 -2
  910. package/json-schema/data/NoSQLQueryOptions.json +2 -2
  911. package/json-schema/data/NoSQLTransactionOptions.json +2 -2
  912. package/json-schema/data/NotificationChannel.json +2 -2
  913. package/json-schema/data/Object.json +2 -2
  914. package/json-schema/data/ObjectCapabilities.json +2 -2
  915. package/json-schema/data/ObjectExtension.json +2 -2
  916. package/json-schema/data/ObjectOwnershipEnum.json +2 -2
  917. package/json-schema/data/PartitioningConfig.json +2 -2
  918. package/json-schema/data/PoolConfig.json +2 -2
  919. package/json-schema/data/Query.json +2 -2
  920. package/json-schema/data/QueryFilter.json +2 -2
  921. package/json-schema/data/Reaction.json +2 -2
  922. package/json-schema/data/RecordSubscription.json +2 -2
  923. package/json-schema/data/ReplicationConfig.json +2 -2
  924. package/json-schema/data/SQLDialect.json +2 -2
  925. package/json-schema/data/SQLDriverConfig.json +2 -2
  926. package/json-schema/data/SSLConfig.json +2 -2
  927. package/json-schema/data/ScriptValidation.json +2 -2
  928. package/json-schema/data/SearchConfig.json +2 -2
  929. package/json-schema/data/SelectOption.json +2 -2
  930. package/json-schema/data/SetOperator.json +2 -2
  931. package/json-schema/data/ShardingConfig.json +2 -2
  932. package/json-schema/data/SoftDeleteConfig.json +2 -2
  933. package/json-schema/data/SortNode.json +2 -2
  934. package/json-schema/data/SpecialOperator.json +2 -2
  935. package/json-schema/data/StateMachineValidation.json +2 -2
  936. package/json-schema/data/StringOperator.json +2 -2
  937. package/json-schema/data/SubscriptionEventType.json +2 -2
  938. package/json-schema/data/TenancyConfig.json +2 -2
  939. package/json-schema/data/TimeUpdateInterval.json +2 -2
  940. package/json-schema/data/TransformType.json +2 -2
  941. package/json-schema/data/UniquenessValidation.json +2 -2
  942. package/json-schema/data/ValidationRule.json +2 -2
  943. package/json-schema/data/VectorConfig.json +2 -2
  944. package/json-schema/data/VersioningConfig.json +2 -2
  945. package/json-schema/data/WindowFunction.json +2 -2
  946. package/json-schema/data/WindowFunctionNode.json +2 -2
  947. package/json-schema/data/WindowSpec.json +2 -2
  948. package/json-schema/identity/Account.json +2 -2
  949. package/json-schema/identity/ApiKey.json +2 -2
  950. package/json-schema/identity/Invitation.json +2 -2
  951. package/json-schema/identity/InvitationStatus.json +2 -2
  952. package/json-schema/identity/Member.json +2 -2
  953. package/json-schema/identity/Organization.json +2 -2
  954. package/json-schema/identity/Role.json +2 -2
  955. package/json-schema/identity/SCIMAddress.json +2 -2
  956. package/json-schema/identity/SCIMBulkOperation.json +2 -2
  957. package/json-schema/identity/SCIMBulkRequest.json +2 -2
  958. package/json-schema/identity/SCIMBulkResponse.json +2 -2
  959. package/json-schema/identity/SCIMBulkResponseOperation.json +2 -2
  960. package/json-schema/identity/SCIMEmail.json +2 -2
  961. package/json-schema/identity/SCIMEnterpriseUser.json +2 -2
  962. package/json-schema/identity/SCIMError.json +2 -2
  963. package/json-schema/identity/SCIMGroup.json +2 -2
  964. package/json-schema/identity/SCIMGroupReference.json +2 -2
  965. package/json-schema/identity/SCIMListResponse.json +2 -2
  966. package/json-schema/identity/SCIMMemberReference.json +2 -2
  967. package/json-schema/identity/SCIMMeta.json +2 -2
  968. package/json-schema/identity/SCIMName.json +2 -2
  969. package/json-schema/identity/SCIMPatchOperation.json +2 -2
  970. package/json-schema/identity/SCIMPatchRequest.json +2 -2
  971. package/json-schema/identity/SCIMPhoneNumber.json +2 -2
  972. package/json-schema/identity/SCIMUser.json +2 -2
  973. package/json-schema/identity/Session.json +2 -2
  974. package/json-schema/identity/User.json +2 -2
  975. package/json-schema/identity/VerificationToken.json +2 -2
  976. package/json-schema/integration/AckMode.json +2 -2
  977. package/json-schema/integration/ApiVersionConfig.json +2 -2
  978. package/json-schema/integration/BuildConfig.json +2 -2
  979. package/json-schema/integration/CdcConfig.json +2 -2
  980. package/json-schema/integration/CircuitBreakerConfig.json +2 -2
  981. package/json-schema/integration/ConflictResolution.json +2 -2
  982. package/json-schema/integration/Connector.json +2 -2
  983. package/json-schema/integration/ConnectorAction.json +2 -2
  984. package/json-schema/integration/ConnectorHealth.json +2 -2
  985. package/json-schema/integration/ConnectorStatus.json +2 -2
  986. package/json-schema/integration/ConnectorTrigger.json +2 -2
  987. package/json-schema/integration/ConnectorType.json +2 -2
  988. package/json-schema/integration/ConsumerConfig.json +2 -2
  989. package/json-schema/integration/DataSyncConfig.json +2 -2
  990. package/json-schema/integration/DatabaseConnector.json +2 -2
  991. package/json-schema/integration/DatabasePoolConfig.json +2 -2
  992. package/json-schema/integration/DatabaseProvider.json +2 -2
  993. package/json-schema/integration/DatabaseTable.json +2 -2
  994. package/json-schema/integration/DeliveryGuarantee.json +2 -2
  995. package/json-schema/integration/DeploymentConfig.json +2 -2
  996. package/json-schema/integration/DlqConfig.json +2 -2
  997. package/json-schema/integration/DomainConfig.json +2 -2
  998. package/json-schema/integration/EdgeFunctionConfig.json +2 -2
  999. package/json-schema/integration/EnvironmentVariables.json +2 -2
  1000. package/json-schema/integration/ErrorCategory.json +2 -2
  1001. package/json-schema/integration/ErrorMappingConfig.json +2 -2
  1002. package/json-schema/integration/ErrorMappingRule.json +2 -2
  1003. package/json-schema/integration/FieldMapping.json +2 -2
  1004. package/json-schema/integration/FileAccessPattern.json +2 -2
  1005. package/json-schema/integration/FileFilterConfig.json +2 -2
  1006. package/json-schema/integration/FileMetadataConfig.json +2 -2
  1007. package/json-schema/integration/FileStorageConnector.json +2 -2
  1008. package/json-schema/integration/FileStorageProvider.json +2 -2
  1009. package/json-schema/integration/FileVersioningConfig.json +2 -2
  1010. package/json-schema/integration/GitHubActionsWorkflow.json +2 -2
  1011. package/json-schema/integration/GitHubCommitConfig.json +2 -2
  1012. package/json-schema/integration/GitHubConnector.json +2 -2
  1013. package/json-schema/integration/GitHubIssueTracking.json +2 -2
  1014. package/json-schema/integration/GitHubProvider.json +2 -2
  1015. package/json-schema/integration/GitHubPullRequestConfig.json +2 -2
  1016. package/json-schema/integration/GitHubReleaseConfig.json +2 -2
  1017. package/json-schema/integration/GitHubRepository.json +2 -2
  1018. package/json-schema/integration/GitRepositoryConfig.json +2 -2
  1019. package/json-schema/integration/HealthCheckConfig.json +2 -2
  1020. package/json-schema/integration/MessageFormat.json +2 -2
  1021. package/json-schema/integration/MessageQueueConnector.json +2 -2
  1022. package/json-schema/integration/MessageQueueProvider.json +2 -2
  1023. package/json-schema/integration/MultipartUploadConfig.json +2 -2
  1024. package/json-schema/integration/ProducerConfig.json +2 -2
  1025. package/json-schema/integration/RateLimitConfig.json +2 -2
  1026. package/json-schema/integration/RateLimitStrategy.json +2 -2
  1027. package/json-schema/integration/RetryConfig.json +2 -2
  1028. package/json-schema/integration/RetryStrategy.json +2 -2
  1029. package/json-schema/integration/SaasConnector.json +2 -2
  1030. package/json-schema/integration/SaasObjectType.json +2 -2
  1031. package/json-schema/integration/SaasProvider.json +2 -2
  1032. package/json-schema/integration/SslConfig.json +2 -2
  1033. package/json-schema/integration/StorageBucket.json +2 -2
  1034. package/json-schema/integration/SyncStrategy.json +2 -2
  1035. package/json-schema/integration/TopicQueue.json +2 -2
  1036. package/json-schema/integration/VercelConnector.json +2 -2
  1037. package/json-schema/integration/VercelFramework.json +2 -2
  1038. package/json-schema/integration/VercelMonitoring.json +2 -2
  1039. package/json-schema/integration/VercelProject.json +2 -2
  1040. package/json-schema/integration/VercelProvider.json +2 -2
  1041. package/json-schema/integration/VercelTeam.json +2 -2
  1042. package/json-schema/integration/WebhookConfig.json +2 -2
  1043. package/json-schema/integration/WebhookEvent.json +2 -2
  1044. package/json-schema/integration/WebhookSignatureAlgorithm.json +2 -2
  1045. package/json-schema/kernel/ActivationEvent.json +2 -2
  1046. package/json-schema/kernel/AdvancedPluginLifecycleConfig.json +2 -2
  1047. package/json-schema/kernel/ArtifactChecksum.json +35 -0
  1048. package/json-schema/kernel/ArtifactFileEntry.json +45 -0
  1049. package/json-schema/kernel/ArtifactSignature.json +44 -0
  1050. package/json-schema/kernel/BreakingChange.json +2 -2
  1051. package/json-schema/kernel/CLICommandContribution.json +2 -2
  1052. package/json-schema/kernel/CapabilityConformanceLevel.json +2 -2
  1053. package/json-schema/kernel/CompatibilityLevel.json +2 -2
  1054. package/json-schema/kernel/CompatibilityMatrixEntry.json +2 -2
  1055. package/json-schema/kernel/CustomizationOrigin.json +2 -2
  1056. package/json-schema/kernel/CustomizationPolicy.json +2 -2
  1057. package/json-schema/kernel/DeadLetterQueueEntry.json +2 -2
  1058. package/json-schema/kernel/DependencyConflict.json +2 -2
  1059. package/json-schema/kernel/DependencyGraph.json +2 -2
  1060. package/json-schema/kernel/DependencyGraphNode.json +2 -2
  1061. package/json-schema/kernel/DependencyResolutionResult.json +64 -112
  1062. package/json-schema/kernel/DependencyStatusEnum.json +13 -0
  1063. package/json-schema/kernel/DeprecationNotice.json +2 -2
  1064. package/json-schema/kernel/DevFixtureConfig.json +2 -2
  1065. package/json-schema/kernel/DevPluginConfig.json +2 -2
  1066. package/json-schema/kernel/DevPluginPreset.json +2 -2
  1067. package/json-schema/kernel/DevServiceOverride.json +2 -2
  1068. package/json-schema/kernel/DevToolsConfig.json +2 -2
  1069. package/json-schema/kernel/DisablePackageRequest.json +5 -3
  1070. package/json-schema/kernel/DisablePackageResponse.json +83 -4
  1071. package/json-schema/kernel/DistributedStateConfig.json +2 -2
  1072. package/json-schema/kernel/DynamicLoadRequest.json +2 -2
  1073. package/json-schema/kernel/DynamicLoadingConfig.json +2 -2
  1074. package/json-schema/kernel/DynamicPluginOperation.json +2 -2
  1075. package/json-schema/kernel/DynamicPluginResult.json +2 -2
  1076. package/json-schema/kernel/DynamicUnloadRequest.json +2 -2
  1077. package/json-schema/kernel/EnablePackageRequest.json +5 -3
  1078. package/json-schema/kernel/EnablePackageResponse.json +83 -4
  1079. package/json-schema/kernel/Event.json +2 -2
  1080. package/json-schema/kernel/EventBusConfig.json +2 -2
  1081. package/json-schema/kernel/EventHandler.json +2 -2
  1082. package/json-schema/kernel/EventLogEntry.json +2 -2
  1083. package/json-schema/kernel/EventMessageQueueConfig.json +2 -2
  1084. package/json-schema/kernel/EventMetadata.json +2 -2
  1085. package/json-schema/kernel/EventPersistence.json +2 -2
  1086. package/json-schema/kernel/EventPhase.json +2 -2
  1087. package/json-schema/kernel/EventPriority.json +2 -2
  1088. package/json-schema/kernel/EventQueueConfig.json +2 -2
  1089. package/json-schema/kernel/EventReplayConfig.json +2 -2
  1090. package/json-schema/kernel/EventRoute.json +2 -2
  1091. package/json-schema/kernel/EventSourcingConfig.json +2 -2
  1092. package/json-schema/kernel/EventTypeDefinition.json +2 -2
  1093. package/json-schema/kernel/EventWebhookConfig.json +2 -2
  1094. package/json-schema/kernel/ExecutionContext.json +2 -2
  1095. package/json-schema/kernel/ExtensionPoint.json +2 -2
  1096. package/json-schema/kernel/FeatureFlag.json +2 -2
  1097. package/json-schema/kernel/FeatureStrategy.json +2 -2
  1098. package/json-schema/kernel/FieldChange.json +2 -2
  1099. package/json-schema/kernel/GetPackageRequest.json +5 -3
  1100. package/json-schema/kernel/GetPackageResponse.json +82 -4
  1101. package/json-schema/kernel/GracefulDegradation.json +2 -2
  1102. package/json-schema/kernel/HealthStatus.json +2 -2
  1103. package/json-schema/kernel/HookRegisteredEvent.json +2 -2
  1104. package/json-schema/kernel/HookTriggeredEvent.json +2 -2
  1105. package/json-schema/kernel/HotReloadConfig.json +2 -2
  1106. package/json-schema/kernel/InstallPackageRequest.json +26 -3
  1107. package/json-schema/kernel/InstallPackageResponse.json +196 -4
  1108. package/json-schema/kernel/InstalledPackage.json +80 -3
  1109. package/json-schema/kernel/KernelContext.json +2 -2
  1110. package/json-schema/kernel/KernelEventBase.json +2 -2
  1111. package/json-schema/kernel/KernelReadyEvent.json +2 -2
  1112. package/json-schema/kernel/KernelSecurityPolicy.json +2 -2
  1113. package/json-schema/kernel/KernelSecurityScanResult.json +2 -2
  1114. package/json-schema/kernel/KernelSecurityVulnerability.json +2 -2
  1115. package/json-schema/kernel/KernelShutdownEvent.json +2 -2
  1116. package/json-schema/kernel/ListPackagesRequest.json +7 -4
  1117. package/json-schema/kernel/ListPackagesResponse.json +86 -6
  1118. package/json-schema/kernel/Manifest.json +17 -2
  1119. package/json-schema/kernel/MergeConflict.json +2 -2
  1120. package/json-schema/kernel/MergeResult.json +2 -2
  1121. package/json-schema/kernel/MergeStrategyConfig.json +2 -2
  1122. package/json-schema/kernel/MetadataBulkRegisterRequest.json +2 -2
  1123. package/json-schema/kernel/MetadataBulkResult.json +2 -2
  1124. package/json-schema/kernel/MetadataCategoryEnum.json +24 -0
  1125. package/json-schema/kernel/MetadataChangeType.json +3 -2
  1126. package/json-schema/kernel/MetadataCollectionInfo.json +2 -2
  1127. package/json-schema/kernel/MetadataDependency.json +2 -2
  1128. package/json-schema/kernel/MetadataDiffItem.json +5 -3
  1129. package/json-schema/kernel/MetadataEvent.json +2 -2
  1130. package/json-schema/kernel/MetadataExportOptions.json +2 -2
  1131. package/json-schema/kernel/MetadataFallbackStrategy.json +2 -2
  1132. package/json-schema/kernel/MetadataFormat.json +2 -2
  1133. package/json-schema/kernel/MetadataImportOptions.json +2 -2
  1134. package/json-schema/kernel/MetadataLoadOptions.json +2 -2
  1135. package/json-schema/kernel/MetadataLoadResult.json +2 -2
  1136. package/json-schema/kernel/MetadataLoaderContract.json +2 -2
  1137. package/json-schema/kernel/MetadataManagerConfig.json +2 -2
  1138. package/json-schema/kernel/MetadataOverlay.json +2 -2
  1139. package/json-schema/kernel/MetadataPluginConfig.json +2 -2
  1140. package/json-schema/kernel/MetadataPluginManifest.json +2 -2
  1141. package/json-schema/kernel/MetadataQuery.json +2 -2
  1142. package/json-schema/kernel/MetadataQueryResult.json +2 -2
  1143. package/json-schema/kernel/MetadataSaveOptions.json +2 -2
  1144. package/json-schema/kernel/MetadataSaveResult.json +2 -2
  1145. package/json-schema/kernel/MetadataStats.json +2 -2
  1146. package/json-schema/kernel/MetadataType.json +2 -2
  1147. package/json-schema/kernel/MetadataTypeRegistryEntry.json +2 -2
  1148. package/json-schema/kernel/MetadataValidationResult.json +2 -2
  1149. package/json-schema/kernel/MetadataWatchEvent.json +2 -2
  1150. package/json-schema/kernel/MultiVersionSupport.json +2 -2
  1151. package/json-schema/kernel/NamespaceConflictError.json +37 -0
  1152. package/json-schema/kernel/NamespaceRegistryEntry.json +39 -0
  1153. package/json-schema/kernel/OclifPluginConfig.json +2 -2
  1154. package/json-schema/kernel/OpsDomainModule.json +2 -2
  1155. package/json-schema/kernel/OpsFilePath.json +2 -2
  1156. package/json-schema/kernel/OpsPluginStructure.json +2 -2
  1157. package/json-schema/kernel/PackageArtifact.json +200 -0
  1158. package/json-schema/kernel/PackageDependency.json +2 -2
  1159. package/json-schema/kernel/PackageDependencyConflict.json +2 -2
  1160. package/json-schema/kernel/PackageDependencyResolutionResult.json +2 -2
  1161. package/json-schema/kernel/PackageStatusEnum.json +3 -2
  1162. package/json-schema/kernel/Permission.json +2 -2
  1163. package/json-schema/kernel/PermissionAction.json +2 -2
  1164. package/json-schema/kernel/PermissionScope.json +2 -2
  1165. package/json-schema/kernel/PermissionSet.json +2 -2
  1166. package/json-schema/kernel/PluginBuildOptions.json +73 -0
  1167. package/json-schema/kernel/PluginBuildResult.json +245 -0
  1168. package/json-schema/kernel/PluginCaching.json +2 -2
  1169. package/json-schema/kernel/PluginCapability.json +2 -2
  1170. package/json-schema/kernel/PluginCapabilityManifest.json +2 -2
  1171. package/json-schema/kernel/PluginCodeSplitting.json +2 -2
  1172. package/json-schema/kernel/PluginCompatibilityMatrix.json +2 -2
  1173. package/json-schema/kernel/PluginDependency.json +2 -2
  1174. package/json-schema/kernel/PluginDependencyResolution.json +2 -2
  1175. package/json-schema/kernel/PluginDependencyResolutionResult.json +164 -0
  1176. package/json-schema/kernel/PluginDiscoveryConfig.json +2 -2
  1177. package/json-schema/kernel/PluginDiscoverySource.json +2 -2
  1178. package/json-schema/kernel/PluginDynamicImport.json +2 -2
  1179. package/json-schema/kernel/PluginErrorEvent.json +2 -2
  1180. package/json-schema/kernel/PluginEventBase.json +2 -2
  1181. package/json-schema/kernel/PluginHealthCheck.json +2 -2
  1182. package/json-schema/kernel/PluginHealthReport.json +2 -2
  1183. package/json-schema/kernel/PluginHealthStatus.json +2 -2
  1184. package/json-schema/kernel/PluginHotReload.json +2 -2
  1185. package/json-schema/kernel/PluginInitialization.json +2 -2
  1186. package/json-schema/kernel/PluginInstallConfig.json +2 -2
  1187. package/json-schema/kernel/PluginInterface.json +2 -2
  1188. package/json-schema/kernel/PluginLifecycleEventType.json +2 -2
  1189. package/json-schema/kernel/PluginLifecyclePhaseEvent.json +2 -2
  1190. package/json-schema/kernel/PluginLoadingConfig.json +2 -2
  1191. package/json-schema/kernel/PluginLoadingEvent.json +2 -2
  1192. package/json-schema/kernel/PluginLoadingState.json +2 -2
  1193. package/json-schema/kernel/PluginLoadingStrategy.json +2 -2
  1194. package/json-schema/kernel/PluginMetadata.json +2 -2
  1195. package/json-schema/kernel/PluginPerformanceMonitoring.json +2 -2
  1196. package/json-schema/kernel/PluginPreloadConfig.json +2 -2
  1197. package/json-schema/kernel/PluginProvenance.json +2 -2
  1198. package/json-schema/kernel/PluginPublishOptions.json +59 -0
  1199. package/json-schema/kernel/PluginPublishResult.json +46 -0
  1200. package/json-schema/kernel/PluginQualityMetrics.json +2 -2
  1201. package/json-schema/kernel/PluginRegisteredEvent.json +2 -2
  1202. package/json-schema/kernel/PluginRegistryEntry.json +2 -2
  1203. package/json-schema/kernel/PluginSandboxing.json +2 -2
  1204. package/json-schema/kernel/PluginSearchFilters.json +2 -2
  1205. package/json-schema/kernel/PluginSecurityManifest.json +2 -2
  1206. package/json-schema/kernel/PluginSource.json +2 -2
  1207. package/json-schema/kernel/PluginStartupResult.json +2 -2
  1208. package/json-schema/kernel/PluginStateSnapshot.json +2 -2
  1209. package/json-schema/kernel/PluginStatistics.json +2 -2
  1210. package/json-schema/kernel/PluginTrustLevel.json +2 -2
  1211. package/json-schema/kernel/PluginTrustScore.json +2 -2
  1212. package/json-schema/kernel/PluginUpdateStrategy.json +2 -2
  1213. package/json-schema/kernel/PluginValidateOptions.json +43 -0
  1214. package/json-schema/kernel/PluginValidateResult.json +416 -0
  1215. package/json-schema/kernel/PluginVendor.json +2 -2
  1216. package/json-schema/kernel/PluginVersionMetadata.json +2 -2
  1217. package/json-schema/kernel/PreviewModeConfig.json +2 -2
  1218. package/json-schema/kernel/ProtocolFeature.json +2 -2
  1219. package/json-schema/kernel/ProtocolReference.json +2 -2
  1220. package/json-schema/kernel/ProtocolVersion.json +2 -2
  1221. package/json-schema/kernel/RealTimeNotificationConfig.json +2 -2
  1222. package/json-schema/kernel/RequiredAction.json +32 -0
  1223. package/json-schema/kernel/ResolvedDependency.json +45 -0
  1224. package/json-schema/kernel/ResourceType.json +2 -2
  1225. package/json-schema/kernel/RollbackPackageRequest.json +3 -2
  1226. package/json-schema/kernel/RollbackPackageResponse.json +6 -3
  1227. package/json-schema/kernel/RuntimeConfig.json +2 -2
  1228. package/json-schema/kernel/RuntimeMode.json +2 -2
  1229. package/json-schema/kernel/SBOM.json +2 -2
  1230. package/json-schema/kernel/SBOMEntry.json +2 -2
  1231. package/json-schema/kernel/SandboxConfig.json +2 -2
  1232. package/json-schema/kernel/ScopeConfig.json +2 -2
  1233. package/json-schema/kernel/ScopeInfo.json +2 -2
  1234. package/json-schema/kernel/SecurityPolicy.json +2 -2
  1235. package/json-schema/kernel/SecurityScanResult.json +2 -2
  1236. package/json-schema/kernel/SecurityVulnerability.json +2 -2
  1237. package/json-schema/kernel/SemanticVersion.json +2 -2
  1238. package/json-schema/kernel/ServiceFactoryRegistration.json +2 -2
  1239. package/json-schema/kernel/ServiceMetadata.json +2 -2
  1240. package/json-schema/kernel/ServiceRegisteredEvent.json +2 -2
  1241. package/json-schema/kernel/ServiceRegistryConfig.json +2 -2
  1242. package/json-schema/kernel/ServiceScopeType.json +2 -2
  1243. package/json-schema/kernel/ServiceUnregisteredEvent.json +2 -2
  1244. package/json-schema/kernel/StartupOptions.json +2 -2
  1245. package/json-schema/kernel/StartupOrchestrationResult.json +2 -2
  1246. package/json-schema/kernel/UninstallPackageRequest.json +5 -3
  1247. package/json-schema/kernel/UninstallPackageResponse.json +8 -4
  1248. package/json-schema/kernel/UpgradeContext.json +35 -0
  1249. package/json-schema/kernel/UpgradeImpactLevel.json +3 -2
  1250. package/json-schema/kernel/UpgradePackageRequest.json +18 -2
  1251. package/json-schema/kernel/UpgradePackageResponse.json +13 -6
  1252. package/json-schema/kernel/UpgradePhase.json +3 -2
  1253. package/json-schema/kernel/UpgradePlan.json +9 -5
  1254. package/json-schema/kernel/UpgradeSnapshot.json +20 -3
  1255. package/json-schema/kernel/ValidationError.json +2 -2
  1256. package/json-schema/kernel/ValidationFinding.json +36 -0
  1257. package/json-schema/kernel/ValidationResult.json +2 -2
  1258. package/json-schema/kernel/ValidationSeverityEnum.json +12 -0
  1259. package/json-schema/kernel/ValidationWarning.json +2 -2
  1260. package/json-schema/kernel/VersionConstraint.json +2 -2
  1261. package/json-schema/kernel/VulnerabilitySeverity.json +2 -2
  1262. package/json-schema/objectstack.json +48338 -21882
  1263. package/json-schema/openapi.json +1 -1
  1264. package/json-schema/qa/TestAction.json +2 -2
  1265. package/json-schema/qa/TestActionType.json +2 -2
  1266. package/json-schema/qa/TestAssertion.json +2 -2
  1267. package/json-schema/qa/TestAssertionType.json +2 -2
  1268. package/json-schema/qa/TestContext.json +2 -2
  1269. package/json-schema/qa/TestScenario.json +2 -2
  1270. package/json-schema/qa/TestStep.json +2 -2
  1271. package/json-schema/qa/TestSuite.json +2 -2
  1272. package/json-schema/security/AuditPolicy.json +2 -2
  1273. package/json-schema/security/CriteriaSharingRule.json +2 -2
  1274. package/json-schema/security/FieldPermission.json +2 -2
  1275. package/json-schema/security/NetworkPolicy.json +2 -2
  1276. package/json-schema/security/OWDModel.json +2 -2
  1277. package/json-schema/security/ObjectPermission.json +2 -2
  1278. package/json-schema/security/OwnerSharingRule.json +2 -2
  1279. package/json-schema/security/PasswordPolicy.json +2 -2
  1280. package/json-schema/security/PermissionSet.json +2 -2
  1281. package/json-schema/security/Policy.json +2 -2
  1282. package/json-schema/security/RLSAuditConfig.json +2 -2
  1283. package/json-schema/security/RLSAuditEvent.json +2 -2
  1284. package/json-schema/security/RLSConfig.json +2 -2
  1285. package/json-schema/security/RLSEvaluationResult.json +2 -2
  1286. package/json-schema/security/RLSOperation.json +2 -2
  1287. package/json-schema/security/RLSUserContext.json +2 -2
  1288. package/json-schema/security/RowLevelSecurityPolicy.json +2 -2
  1289. package/json-schema/security/SessionPolicy.json +2 -2
  1290. package/json-schema/security/ShareRecipientType.json +2 -2
  1291. package/json-schema/security/SharingLevel.json +2 -2
  1292. package/json-schema/security/SharingRule.json +2 -2
  1293. package/json-schema/security/SharingRuleType.json +2 -2
  1294. package/json-schema/security/Territory.json +2 -2
  1295. package/json-schema/security/TerritoryModel.json +2 -2
  1296. package/json-schema/security/TerritoryType.json +2 -2
  1297. package/json-schema/shared/AggregationFunctionEnum.json +2 -2
  1298. package/json-schema/shared/AppName.json +2 -2
  1299. package/json-schema/shared/BaseMetadataRecord.json +2 -2
  1300. package/json-schema/shared/CacheStrategyEnum.json +2 -2
  1301. package/json-schema/shared/CorsConfig.json +2 -2
  1302. package/json-schema/shared/EventName.json +2 -2
  1303. package/json-schema/shared/FieldMapping.json +2 -2
  1304. package/json-schema/shared/FieldName.json +2 -2
  1305. package/json-schema/shared/FlowName.json +2 -2
  1306. package/json-schema/shared/HttpMethod.json +2 -2
  1307. package/json-schema/shared/IsolationLevelEnum.json +2 -2
  1308. package/json-schema/shared/MetadataFormat.json +2 -2
  1309. package/json-schema/shared/MutationEventEnum.json +2 -2
  1310. package/json-schema/shared/ObjectName.json +2 -2
  1311. package/json-schema/shared/RateLimitConfig.json +2 -2
  1312. package/json-schema/shared/RoleName.json +2 -2
  1313. package/json-schema/shared/SnakeCaseIdentifier.json +2 -2
  1314. package/json-schema/shared/SortDirectionEnum.json +2 -2
  1315. package/json-schema/shared/SortItem.json +2 -2
  1316. package/json-schema/shared/StaticMount.json +2 -2
  1317. package/json-schema/shared/SystemIdentifier.json +2 -2
  1318. package/json-schema/shared/TransformType.json +2 -2
  1319. package/json-schema/shared/ViewName.json +2 -2
  1320. package/json-schema/studio/ActionContribution.json +2 -2
  1321. package/json-schema/studio/ActionLocation.json +2 -2
  1322. package/json-schema/studio/ActivationEvent.json +2 -2
  1323. package/json-schema/studio/CanvasSnapSettings.json +2 -2
  1324. package/json-schema/studio/CanvasZoomSettings.json +2 -2
  1325. package/json-schema/studio/CommandContribution.json +2 -2
  1326. package/json-schema/studio/ERDiagramConfig.json +2 -2
  1327. package/json-schema/studio/ERLayoutAlgorithm.json +2 -2
  1328. package/json-schema/studio/ERNodeDisplay.json +2 -2
  1329. package/json-schema/studio/ElementPaletteItem.json +2 -2
  1330. package/json-schema/studio/FieldEditorConfig.json +2 -2
  1331. package/json-schema/studio/FieldGroup.json +2 -2
  1332. package/json-schema/studio/FieldPropertySection.json +2 -2
  1333. package/json-schema/studio/FlowBuilderConfig.json +240 -0
  1334. package/json-schema/studio/FlowCanvasEdge.json +71 -0
  1335. package/json-schema/studio/FlowCanvasEdgeStyle.json +13 -0
  1336. package/json-schema/studio/FlowCanvasNode.json +57 -0
  1337. package/json-schema/studio/FlowLayoutAlgorithm.json +13 -0
  1338. package/json-schema/studio/FlowLayoutDirection.json +13 -0
  1339. package/json-schema/studio/FlowNodeRenderDescriptor.json +88 -0
  1340. package/json-schema/studio/FlowNodeShape.json +17 -0
  1341. package/json-schema/studio/InterfaceBuilderConfig.json +2 -2
  1342. package/json-schema/studio/MetadataIconContribution.json +2 -2
  1343. package/json-schema/studio/MetadataViewerContribution.json +2 -2
  1344. package/json-schema/studio/ObjectDesignerConfig.json +2 -2
  1345. package/json-schema/studio/ObjectDesignerDefaultView.json +2 -2
  1346. package/json-schema/studio/ObjectFilter.json +2 -2
  1347. package/json-schema/studio/ObjectListDisplayMode.json +2 -2
  1348. package/json-schema/studio/ObjectManagerConfig.json +2 -2
  1349. package/json-schema/studio/ObjectPreviewConfig.json +2 -2
  1350. package/json-schema/studio/ObjectPreviewTab.json +2 -2
  1351. package/json-schema/studio/ObjectSortField.json +2 -2
  1352. package/json-schema/studio/PageBuilderConfig.json +2 -2
  1353. package/json-schema/studio/PanelContribution.json +2 -2
  1354. package/json-schema/studio/PanelLocation.json +2 -2
  1355. package/json-schema/studio/RelationshipDisplay.json +2 -2
  1356. package/json-schema/studio/RelationshipMapperConfig.json +2 -2
  1357. package/json-schema/studio/SidebarGroupContribution.json +2 -2
  1358. package/json-schema/studio/StudioPluginContributions.json +2 -2
  1359. package/json-schema/studio/StudioPluginManifest.json +2 -2
  1360. package/json-schema/studio/ViewMode.json +2 -2
  1361. package/json-schema/system/AccessControlConfig.json +2 -2
  1362. package/json-schema/system/AddFieldOperation.json +2 -2
  1363. package/json-schema/system/AnalyzerConfig.json +2 -2
  1364. package/json-schema/system/AuditConfig.json +2 -2
  1365. package/json-schema/system/AuditEvent.json +2 -2
  1366. package/json-schema/system/AuditEventActor.json +2 -2
  1367. package/json-schema/system/AuditEventChange.json +2 -2
  1368. package/json-schema/system/AuditEventFilter.json +2 -2
  1369. package/json-schema/system/AuditEventSeverity.json +2 -2
  1370. package/json-schema/system/AuditEventTarget.json +2 -2
  1371. package/json-schema/system/AuditEventType.json +2 -2
  1372. package/json-schema/system/AuditLogConfig.json +2 -2
  1373. package/json-schema/system/AuditRetentionPolicy.json +2 -2
  1374. package/json-schema/system/AuditStorageConfig.json +2 -2
  1375. package/json-schema/system/AuthConfig.json +2 -2
  1376. package/json-schema/system/AuthPluginConfig.json +2 -2
  1377. package/json-schema/system/AuthProviderConfig.json +2 -2
  1378. package/json-schema/system/AwarenessEvent.json +2 -2
  1379. package/json-schema/system/AwarenessSession.json +2 -2
  1380. package/json-schema/system/AwarenessUpdate.json +2 -2
  1381. package/json-schema/system/AwarenessUserState.json +2 -2
  1382. package/json-schema/system/BackupConfig.json +2 -2
  1383. package/json-schema/system/BackupRetention.json +2 -2
  1384. package/json-schema/system/BackupStrategy.json +2 -2
  1385. package/json-schema/system/BatchProgress.json +2 -2
  1386. package/json-schema/system/BucketConfig.json +2 -2
  1387. package/json-schema/system/CRDTMergeResult.json +2 -2
  1388. package/json-schema/system/CRDTState.json +2 -2
  1389. package/json-schema/system/CRDTType.json +2 -2
  1390. package/json-schema/system/CacheAvalanchePrevention.json +2 -2
  1391. package/json-schema/system/CacheConfig.json +2 -2
  1392. package/json-schema/system/CacheConsistency.json +2 -2
  1393. package/json-schema/system/CacheInvalidation.json +2 -2
  1394. package/json-schema/system/CacheStrategy.json +2 -2
  1395. package/json-schema/system/CacheTier.json +2 -2
  1396. package/json-schema/system/CacheWarmup.json +2 -2
  1397. package/json-schema/system/ChangeImpact.json +2 -2
  1398. package/json-schema/system/ChangePriority.json +2 -2
  1399. package/json-schema/system/ChangeRequest.json +2 -2
  1400. package/json-schema/system/ChangeSet.json +2 -2
  1401. package/json-schema/system/ChangeStatus.json +2 -2
  1402. package/json-schema/system/ChangeType.json +2 -2
  1403. package/json-schema/system/CollaborationMode.json +2 -2
  1404. package/json-schema/system/CollaborationSession.json +2 -2
  1405. package/json-schema/system/CollaborationSessionConfig.json +2 -2
  1406. package/json-schema/system/CollaborativeCursor.json +2 -2
  1407. package/json-schema/system/ComplianceAuditRequirement.json +2 -2
  1408. package/json-schema/system/ComplianceConfig.json +2 -2
  1409. package/json-schema/system/ComplianceEncryptionRequirement.json +2 -2
  1410. package/json-schema/system/ConsoleDestinationConfig.json +2 -2
  1411. package/json-schema/system/ConsumerConfig.json +2 -2
  1412. package/json-schema/system/CoreServiceName.json +2 -2
  1413. package/json-schema/system/CounterOperation.json +2 -2
  1414. package/json-schema/system/CreateObjectOperation.json +2 -2
  1415. package/json-schema/system/CronSchedule.json +2 -2
  1416. package/json-schema/system/CursorColorPreset.json +2 -2
  1417. package/json-schema/system/CursorSelection.json +2 -2
  1418. package/json-schema/system/CursorStyle.json +2 -2
  1419. package/json-schema/system/CursorUpdate.json +2 -2
  1420. package/json-schema/system/DataClassificationPolicy.json +2 -2
  1421. package/json-schema/system/DatabaseLevelIsolationStrategy.json +2 -2
  1422. package/json-schema/system/DeadLetterQueue.json +2 -2
  1423. package/json-schema/system/DeleteObjectOperation.json +2 -2
  1424. package/json-schema/system/DisasterRecoveryPlan.json +2 -2
  1425. package/json-schema/system/DistributedCacheConfig.json +2 -2
  1426. package/json-schema/system/EmailTemplate.json +2 -2
  1427. package/json-schema/system/EncryptionAlgorithm.json +2 -2
  1428. package/json-schema/system/EncryptionConfig.json +2 -2
  1429. package/json-schema/system/ExecuteSqlOperation.json +2 -2
  1430. package/json-schema/system/ExtendedLogLevel.json +2 -2
  1431. package/json-schema/system/ExternalServiceDestinationConfig.json +2 -2
  1432. package/json-schema/system/FacetConfig.json +2 -2
  1433. package/json-schema/system/FailoverConfig.json +2 -2
  1434. package/json-schema/system/FailoverMode.json +2 -2
  1435. package/json-schema/system/Feature.json +2 -2
  1436. package/json-schema/system/FieldEncryption.json +2 -2
  1437. package/json-schema/system/FieldTranslation.json +2 -2
  1438. package/json-schema/system/FileDestinationConfig.json +2 -2
  1439. package/json-schema/system/FileMetadata.json +2 -2
  1440. package/json-schema/system/GCounter.json +2 -2
  1441. package/json-schema/system/GDPRConfig.json +2 -2
  1442. package/json-schema/system/HIPAAConfig.json +2 -2
  1443. package/json-schema/system/HistogramBucketConfig.json +2 -2
  1444. package/json-schema/system/HttpDestinationConfig.json +2 -2
  1445. package/json-schema/system/HttpServerConfig.json +2 -2
  1446. package/json-schema/system/InAppNotification.json +2 -2
  1447. package/json-schema/system/IntervalSchedule.json +2 -2
  1448. package/json-schema/system/Job.json +2 -2
  1449. package/json-schema/system/JobExecution.json +2 -2
  1450. package/json-schema/system/JobExecutionStatus.json +2 -2
  1451. package/json-schema/system/KernelServiceMap.json +2 -2
  1452. package/json-schema/system/KeyManagementProvider.json +2 -2
  1453. package/json-schema/system/KeyRotationPolicy.json +2 -2
  1454. package/json-schema/system/LWWRegister.json +2 -2
  1455. package/json-schema/system/LevelIsolationStrategySchema.json +2 -2
  1456. package/json-schema/system/License.json +2 -2
  1457. package/json-schema/system/LicenseMetricType.json +2 -2
  1458. package/json-schema/system/LifecycleAction.json +2 -2
  1459. package/json-schema/system/LifecyclePolicyConfig.json +2 -2
  1460. package/json-schema/system/LifecyclePolicyRule.json +2 -2
  1461. package/json-schema/system/Locale.json +2 -2
  1462. package/json-schema/system/LogDestination.json +2 -2
  1463. package/json-schema/system/LogDestinationType.json +2 -2
  1464. package/json-schema/system/LogEnrichmentConfig.json +2 -2
  1465. package/json-schema/system/LogEntry.json +2 -2
  1466. package/json-schema/system/LogFormat.json +2 -2
  1467. package/json-schema/system/LogLevel.json +2 -2
  1468. package/json-schema/system/LoggerConfig.json +2 -2
  1469. package/json-schema/system/LoggingConfig.json +2 -2
  1470. package/json-schema/system/MaskingConfig.json +2 -2
  1471. package/json-schema/system/MaskingRule.json +2 -2
  1472. package/json-schema/system/MaskingStrategy.json +2 -2
  1473. package/json-schema/system/MaskingVisibilityRule.json +2 -2
  1474. package/json-schema/system/MessageQueueConfig.json +2 -2
  1475. package/json-schema/system/MessageQueueProvider.json +2 -2
  1476. package/json-schema/system/MetadataCollectionInfo.json +2 -2
  1477. package/json-schema/system/MetadataExportOptions.json +2 -2
  1478. package/json-schema/system/MetadataFallbackStrategy.json +2 -2
  1479. package/json-schema/system/MetadataFormat.json +2 -2
  1480. package/json-schema/system/MetadataImportOptions.json +2 -2
  1481. package/json-schema/system/MetadataLoadOptions.json +2 -2
  1482. package/json-schema/system/MetadataLoadResult.json +2 -2
  1483. package/json-schema/system/MetadataLoaderContract.json +2 -2
  1484. package/json-schema/system/MetadataManagerConfig.json +2 -2
  1485. package/json-schema/system/MetadataRecord.json +2 -2
  1486. package/json-schema/system/MetadataSaveOptions.json +2 -2
  1487. package/json-schema/system/MetadataSaveResult.json +2 -2
  1488. package/json-schema/system/MetadataScope.json +2 -2
  1489. package/json-schema/system/MetadataSource.json +2 -2
  1490. package/json-schema/system/MetadataState.json +2 -2
  1491. package/json-schema/system/MetadataStats.json +2 -2
  1492. package/json-schema/system/MetadataWatchEvent.json +2 -2
  1493. package/json-schema/system/MetricAggregationConfig.json +2 -2
  1494. package/json-schema/system/MetricAggregationType.json +2 -2
  1495. package/json-schema/system/MetricDataPoint.json +2 -2
  1496. package/json-schema/system/MetricDefinition.json +2 -2
  1497. package/json-schema/system/MetricExportConfig.json +2 -2
  1498. package/json-schema/system/MetricLabels.json +2 -2
  1499. package/json-schema/system/MetricType.json +2 -2
  1500. package/json-schema/system/MetricUnit.json +2 -2
  1501. package/json-schema/system/MetricsConfig.json +2 -2
  1502. package/json-schema/system/MiddlewareConfig.json +2 -2
  1503. package/json-schema/system/MiddlewareType.json +2 -2
  1504. package/json-schema/system/MigrationDependency.json +2 -2
  1505. package/json-schema/system/MigrationOperation.json +2 -2
  1506. package/json-schema/system/ModifyFieldOperation.json +2 -2
  1507. package/json-schema/system/MultipartUploadConfig.json +2 -2
  1508. package/json-schema/system/MutualTLSConfig.json +2 -2
  1509. package/json-schema/system/NotificationChannel.json +2 -2
  1510. package/json-schema/system/NotificationConfig.json +2 -2
  1511. package/json-schema/system/ORSet.json +2 -2
  1512. package/json-schema/system/ORSetElement.json +2 -2
  1513. package/json-schema/system/OTComponent.json +2 -2
  1514. package/json-schema/system/OTOperation.json +2 -2
  1515. package/json-schema/system/OTOperationType.json +2 -2
  1516. package/json-schema/system/OTTransformResult.json +2 -2
  1517. package/json-schema/system/ObjectMetadata.json +2 -2
  1518. package/json-schema/system/ObjectStorageConfig.json +2 -2
  1519. package/json-schema/system/ObjectTranslationData.json +2 -2
  1520. package/json-schema/system/OnceSchedule.json +2 -2
  1521. package/json-schema/system/OpenTelemetryCompatibility.json +2 -2
  1522. package/json-schema/system/OtelExporterType.json +2 -2
  1523. package/json-schema/system/PCIDSSConfig.json +2 -2
  1524. package/json-schema/system/PNCounter.json +2 -2
  1525. package/json-schema/system/Plan.json +2 -2
  1526. package/json-schema/system/PresignedUrlConfig.json +2 -2
  1527. package/json-schema/system/PushNotification.json +2 -2
  1528. package/json-schema/system/QueueConfig.json +2 -2
  1529. package/json-schema/system/RPO.json +2 -2
  1530. package/json-schema/system/RTO.json +2 -2
  1531. package/json-schema/system/RegistryConfig.json +2 -2
  1532. package/json-schema/system/RegistrySyncPolicy.json +2 -2
  1533. package/json-schema/system/RegistryUpstream.json +2 -2
  1534. package/json-schema/system/RemoveFieldOperation.json +2 -2
  1535. package/json-schema/system/RenameObjectOperation.json +2 -2
  1536. package/json-schema/system/RetryPolicy.json +2 -2
  1537. package/json-schema/system/RollbackPlan.json +2 -2
  1538. package/json-schema/system/RouteHandlerMetadata.json +2 -2
  1539. package/json-schema/system/RowLevelIsolationStrategy.json +2 -2
  1540. package/json-schema/system/SMSTemplate.json +2 -2
  1541. package/json-schema/system/SamplingDecision.json +2 -2
  1542. package/json-schema/system/SamplingStrategyType.json +2 -2
  1543. package/json-schema/system/Schedule.json +2 -2
  1544. package/json-schema/system/SearchConfig.json +2 -2
  1545. package/json-schema/system/SearchIndexConfig.json +2 -2
  1546. package/json-schema/system/SearchProvider.json +2 -2
  1547. package/json-schema/system/SecurityContextConfig.json +2 -2
  1548. package/json-schema/system/SecurityEventCorrelation.json +2 -2
  1549. package/json-schema/system/ServerCapabilities.json +2 -2
  1550. package/json-schema/system/ServerEvent.json +2 -2
  1551. package/json-schema/system/ServerEventType.json +2 -2
  1552. package/json-schema/system/ServerStatus.json +2 -2
  1553. package/json-schema/system/ServiceConfig.json +2 -2
  1554. package/json-schema/system/ServiceCriticality.json +2 -2
  1555. package/json-schema/system/ServiceLevelIndicator.json +2 -2
  1556. package/json-schema/system/ServiceLevelObjective.json +2 -2
  1557. package/json-schema/system/ServiceStatus.json +2 -2
  1558. package/json-schema/system/Span.json +2 -2
  1559. package/json-schema/system/SpanAttributeValue.json +2 -2
  1560. package/json-schema/system/SpanAttributes.json +2 -2
  1561. package/json-schema/system/SpanEvent.json +2 -2
  1562. package/json-schema/system/SpanKind.json +2 -2
  1563. package/json-schema/system/SpanLink.json +2 -2
  1564. package/json-schema/system/SpanStatus.json +2 -2
  1565. package/json-schema/system/StorageAcl.json +2 -2
  1566. package/json-schema/system/StorageClass.json +2 -2
  1567. package/json-schema/system/StorageConnection.json +2 -2
  1568. package/json-schema/system/StorageProvider.json +2 -2
  1569. package/json-schema/system/StorageScope.json +2 -2
  1570. package/json-schema/system/StructuredLogEntry.json +2 -2
  1571. package/json-schema/system/SuspiciousActivityRule.json +2 -2
  1572. package/json-schema/system/Task.json +2 -2
  1573. package/json-schema/system/TaskExecutionResult.json +2 -2
  1574. package/json-schema/system/TaskPriority.json +2 -2
  1575. package/json-schema/system/TaskRetryPolicy.json +2 -2
  1576. package/json-schema/system/TaskStatus.json +2 -2
  1577. package/json-schema/system/Tenant.json +2 -2
  1578. package/json-schema/system/TenantIsolationConfig.json +2 -2
  1579. package/json-schema/system/TenantIsolationLevel.json +2 -2
  1580. package/json-schema/system/TenantQuota.json +2 -2
  1581. package/json-schema/system/TenantSecurityPolicy.json +2 -2
  1582. package/json-schema/system/TextCRDTOperation.json +2 -2
  1583. package/json-schema/system/TextCRDTState.json +2 -2
  1584. package/json-schema/system/TimeSeries.json +2 -2
  1585. package/json-schema/system/TimeSeriesDataPoint.json +2 -2
  1586. package/json-schema/system/TopicConfig.json +2 -2
  1587. package/json-schema/system/TraceContext.json +2 -2
  1588. package/json-schema/system/TraceContextPropagation.json +2 -2
  1589. package/json-schema/system/TraceFlags.json +2 -2
  1590. package/json-schema/system/TracePropagationFormat.json +2 -2
  1591. package/json-schema/system/TraceSamplingConfig.json +2 -2
  1592. package/json-schema/system/TraceState.json +2 -2
  1593. package/json-schema/system/TracingConfig.json +2 -2
  1594. package/json-schema/system/TranslationBundle.json +2 -2
  1595. package/json-schema/system/TranslationConfig.json +2 -2
  1596. package/json-schema/system/TranslationData.json +2 -2
  1597. package/json-schema/system/TranslationFileOrganization.json +2 -2
  1598. package/json-schema/system/UserActivityStatus.json +2 -2
  1599. package/json-schema/system/VectorClock.json +2 -2
  1600. package/json-schema/system/WorkerStats.json +2 -2
  1601. package/json-schema/ui/AIChatWindowProps.json +2 -2
  1602. package/json-schema/ui/Action.json +2 -2
  1603. package/json-schema/ui/ActionNavItem.json +2 -2
  1604. package/json-schema/ui/ActionParam.json +2 -2
  1605. package/json-schema/ui/AddRecordConfig.json +2 -2
  1606. package/json-schema/ui/Animation.json +2 -2
  1607. package/json-schema/ui/AnimationTrigger.json +2 -2
  1608. package/json-schema/ui/App.json +2 -2
  1609. package/json-schema/ui/AppBranding.json +2 -2
  1610. package/json-schema/ui/AppearanceConfig.json +2 -2
  1611. package/json-schema/ui/AriaProps.json +2 -2
  1612. package/json-schema/ui/BlankPageLayout.json +2 -2
  1613. package/json-schema/ui/BlankPageLayoutItem.json +2 -2
  1614. package/json-schema/ui/BorderRadius.json +2 -2
  1615. package/json-schema/ui/BreakpointColumnMap.json +2 -2
  1616. package/json-schema/ui/BreakpointName.json +2 -2
  1617. package/json-schema/ui/BreakpointOrderMap.json +2 -2
  1618. package/json-schema/ui/Breakpoints.json +2 -2
  1619. package/json-schema/ui/CalendarConfig.json +2 -2
  1620. package/json-schema/ui/ChartAnnotation.json +2 -2
  1621. package/json-schema/ui/ChartAxis.json +2 -2
  1622. package/json-schema/ui/ChartConfig.json +2 -2
  1623. package/json-schema/ui/ChartInteraction.json +2 -2
  1624. package/json-schema/ui/ChartSeries.json +2 -2
  1625. package/json-schema/ui/ChartType.json +2 -2
  1626. package/json-schema/ui/ColorPalette.json +2 -2
  1627. package/json-schema/ui/ColumnSummary.json +2 -2
  1628. package/json-schema/ui/ComponentAnimation.json +2 -2
  1629. package/json-schema/ui/ConflictResolution.json +2 -2
  1630. package/json-schema/ui/Dashboard.json +2 -2
  1631. package/json-schema/ui/DashboardHeader.json +2 -2
  1632. package/json-schema/ui/DashboardHeaderAction.json +2 -2
  1633. package/json-schema/ui/DashboardNavItem.json +2 -2
  1634. package/json-schema/ui/DashboardWidget.json +2 -2
  1635. package/json-schema/ui/DateFormat.json +2 -2
  1636. package/json-schema/ui/DensityMode.json +2 -2
  1637. package/json-schema/ui/DndConfig.json +2 -2
  1638. package/json-schema/ui/DragConstraint.json +2 -2
  1639. package/json-schema/ui/DragHandle.json +2 -2
  1640. package/json-schema/ui/DragItem.json +2 -2
  1641. package/json-schema/ui/DropEffect.json +2 -2
  1642. package/json-schema/ui/DropZone.json +2 -2
  1643. package/json-schema/ui/EasingFunction.json +2 -2
  1644. package/json-schema/ui/ElementButtonProps.json +2 -2
  1645. package/json-schema/ui/ElementDataSource.json +2 -2
  1646. package/json-schema/ui/ElementFilterProps.json +2 -2
  1647. package/json-schema/ui/ElementFormProps.json +2 -2
  1648. package/json-schema/ui/ElementImageProps.json +2 -2
  1649. package/json-schema/ui/ElementNumberProps.json +2 -2
  1650. package/json-schema/ui/ElementRecordPickerProps.json +2 -2
  1651. package/json-schema/ui/ElementTextProps.json +2 -2
  1652. package/json-schema/ui/EmbedConfig.json +2 -2
  1653. package/json-schema/ui/EvictionPolicy.json +2 -2
  1654. package/json-schema/ui/FocusManagement.json +2 -2
  1655. package/json-schema/ui/FocusTrapConfig.json +2 -2
  1656. package/json-schema/ui/FormField.json +2 -2
  1657. package/json-schema/ui/GalleryConfig.json +2 -2
  1658. package/json-schema/ui/GanttConfig.json +2 -2
  1659. package/json-schema/ui/GestureConfig.json +2 -2
  1660. package/json-schema/ui/GestureType.json +2 -2
  1661. package/json-schema/ui/GlobalFilter.json +2 -2
  1662. package/json-schema/ui/GlobalFilterOptionsFrom.json +2 -2
  1663. package/json-schema/ui/GroupNavItem.json +2 -2
  1664. package/json-schema/ui/GroupingConfig.json +2 -2
  1665. package/json-schema/ui/GroupingField.json +2 -2
  1666. package/json-schema/ui/HttpMethod.json +2 -2
  1667. package/json-schema/ui/HttpRequest.json +2 -2
  1668. package/json-schema/ui/I18nLabel.json +2 -2
  1669. package/json-schema/ui/I18nObject.json +2 -2
  1670. package/json-schema/ui/InterfacePageConfig.json +2 -2
  1671. package/json-schema/ui/KanbanConfig.json +2 -2
  1672. package/json-schema/ui/KeyboardNavigationConfig.json +2 -2
  1673. package/json-schema/ui/KeyboardShortcut.json +2 -2
  1674. package/json-schema/ui/ListColumn.json +2 -2
  1675. package/json-schema/ui/ListView.json +2 -2
  1676. package/json-schema/ui/LocaleConfig.json +2 -2
  1677. package/json-schema/ui/LongPressGestureConfig.json +2 -2
  1678. package/json-schema/ui/MotionConfig.json +2 -2
  1679. package/json-schema/ui/NavigationArea.json +2 -2
  1680. package/json-schema/ui/NavigationConfig.json +2 -2
  1681. package/json-schema/ui/NavigationItem.json +2 -2
  1682. package/json-schema/ui/NavigationMode.json +2 -2
  1683. package/json-schema/ui/Notification.json +2 -2
  1684. package/json-schema/ui/NotificationAction.json +2 -2
  1685. package/json-schema/ui/NotificationConfig.json +2 -2
  1686. package/json-schema/ui/NotificationPosition.json +2 -2
  1687. package/json-schema/ui/NotificationSeverity.json +2 -2
  1688. package/json-schema/ui/NotificationType.json +2 -2
  1689. package/json-schema/ui/NumberFormat.json +2 -2
  1690. package/json-schema/ui/ObjectNavItem.json +2 -2
  1691. package/json-schema/ui/OfflineCacheConfig.json +2 -2
  1692. package/json-schema/ui/OfflineConfig.json +2 -2
  1693. package/json-schema/ui/OfflineStrategy.json +2 -2
  1694. package/json-schema/ui/Page.json +2 -2
  1695. package/json-schema/ui/PageAccordionProps.json +2 -2
  1696. package/json-schema/ui/PageCardProps.json +2 -2
  1697. package/json-schema/ui/PageComponent.json +2 -2
  1698. package/json-schema/ui/PageComponentType.json +2 -2
  1699. package/json-schema/ui/PageHeaderProps.json +2 -2
  1700. package/json-schema/ui/PageNavItem.json +2 -2
  1701. package/json-schema/ui/PageRegion.json +2 -2
  1702. package/json-schema/ui/PageTabsProps.json +2 -2
  1703. package/json-schema/ui/PageTransition.json +2 -2
  1704. package/json-schema/ui/PageType.json +2 -2
  1705. package/json-schema/ui/PageVariable.json +2 -2
  1706. package/json-schema/ui/PaginationConfig.json +2 -2
  1707. package/json-schema/ui/PerformanceConfig.json +2 -2
  1708. package/json-schema/ui/PersistStorage.json +2 -2
  1709. package/json-schema/ui/PinchGestureConfig.json +2 -2
  1710. package/json-schema/ui/PluralRule.json +2 -2
  1711. package/json-schema/ui/RecordActivityProps.json +2 -2
  1712. package/json-schema/ui/RecordChatterProps.json +2 -2
  1713. package/json-schema/ui/RecordDetailsProps.json +2 -2
  1714. package/json-schema/ui/RecordHighlightsProps.json +2 -2
  1715. package/json-schema/ui/RecordPathProps.json +2 -2
  1716. package/json-schema/ui/RecordRelatedListProps.json +2 -2
  1717. package/json-schema/ui/RecordReviewConfig.json +2 -2
  1718. package/json-schema/ui/Report.json +2 -2
  1719. package/json-schema/ui/ReportChart.json +2 -2
  1720. package/json-schema/ui/ReportColumn.json +2 -2
  1721. package/json-schema/ui/ReportGrouping.json +2 -2
  1722. package/json-schema/ui/ReportNavItem.json +2 -2
  1723. package/json-schema/ui/ReportType.json +2 -2
  1724. package/json-schema/ui/ResponsiveConfig.json +2 -2
  1725. package/json-schema/ui/RowColorConfig.json +2 -2
  1726. package/json-schema/ui/RowHeight.json +2 -2
  1727. package/json-schema/ui/SelectionConfig.json +2 -2
  1728. package/json-schema/ui/Shadow.json +2 -2
  1729. package/json-schema/ui/SharingConfig.json +2 -2
  1730. package/json-schema/ui/Spacing.json +2 -2
  1731. package/json-schema/ui/SwipeDirection.json +2 -2
  1732. package/json-schema/ui/SwipeGestureConfig.json +2 -2
  1733. package/json-schema/ui/SyncConfig.json +2 -2
  1734. package/json-schema/ui/Theme.json +2 -2
  1735. package/json-schema/ui/ThemeMode.json +2 -2
  1736. package/json-schema/ui/TimelineConfig.json +2 -2
  1737. package/json-schema/ui/TouchInteraction.json +2 -2
  1738. package/json-schema/ui/TouchTargetConfig.json +2 -2
  1739. package/json-schema/ui/TransitionConfig.json +2 -2
  1740. package/json-schema/ui/TransitionPreset.json +2 -2
  1741. package/json-schema/ui/Typography.json +2 -2
  1742. package/json-schema/ui/UrlNavItem.json +2 -2
  1743. package/json-schema/ui/UserActionsConfig.json +2 -2
  1744. package/json-schema/ui/ViewData.json +2 -2
  1745. package/json-schema/ui/ViewSharing.json +2 -2
  1746. package/json-schema/ui/ViewTab.json +2 -2
  1747. package/json-schema/ui/VisualizationType.json +2 -2
  1748. package/json-schema/ui/WcagContrastLevel.json +2 -2
  1749. package/json-schema/ui/WidgetActionType.json +2 -2
  1750. package/json-schema/ui/WidgetColorVariant.json +2 -2
  1751. package/json-schema/ui/WidgetEvent.json +2 -2
  1752. package/json-schema/ui/WidgetLifecycle.json +2 -2
  1753. package/json-schema/ui/WidgetManifest.json +2 -2
  1754. package/json-schema/ui/WidgetMeasure.json +2 -2
  1755. package/json-schema/ui/WidgetProperty.json +2 -2
  1756. package/json-schema/ui/WidgetSource.json +2 -2
  1757. package/json-schema/ui/ZIndex.json +2 -2
  1758. package/package.json +1 -1
  1759. package/dist/metadata-plugin.zod-Cjm0qlEF.d.mts +0 -703
  1760. package/dist/metadata-plugin.zod-Cjm0qlEF.d.ts +0 -703
package/dist/index.js CHANGED
@@ -3647,6 +3647,12 @@ var FeedItemSchema = zod.z.object({
3647
3647
  /** Reply threading */
3648
3648
  parentId: zod.z.string().optional().describe("Parent feed item ID for threaded replies"),
3649
3649
  replyCount: zod.z.number().int().min(0).default(0).describe("Number of replies"),
3650
+ /** Pin / Star */
3651
+ pinned: zod.z.boolean().default(false).describe("Whether the feed item is pinned to the top of the timeline"),
3652
+ pinnedAt: zod.z.string().datetime().optional().describe("Timestamp when the item was pinned"),
3653
+ pinnedBy: zod.z.string().optional().describe("User ID who pinned the item"),
3654
+ starred: zod.z.boolean().default(false).describe("Whether the feed item is starred/bookmarked by the current user"),
3655
+ starredAt: zod.z.string().datetime().optional().describe("Timestamp when the item was starred"),
3650
3656
  /** Visibility */
3651
3657
  visibility: FeedVisibility.default("public").describe("Visibility: public (all users), internal (team only), private (author + mentioned)"),
3652
3658
  /** Timestamps */
@@ -12373,6 +12379,9 @@ var kernel_exports = {};
12373
12379
  __export(kernel_exports, {
12374
12380
  ActivationEventSchema: () => ActivationEventSchema,
12375
12381
  AdvancedPluginLifecycleConfigSchema: () => AdvancedPluginLifecycleConfigSchema,
12382
+ ArtifactChecksumSchema: () => ArtifactChecksumSchema,
12383
+ ArtifactFileEntrySchema: () => ArtifactFileEntrySchema,
12384
+ ArtifactSignatureSchema: () => ArtifactSignatureSchema,
12376
12385
  BreakingChangeSchema: () => BreakingChangeSchema,
12377
12386
  CLICommandContributionSchema: () => CLICommandContributionSchema,
12378
12387
  CORE_PLUGIN_TYPES: () => CORE_PLUGIN_TYPES,
@@ -12387,6 +12396,7 @@ __export(kernel_exports, {
12387
12396
  DependencyGraphNodeSchema: () => DependencyGraphNodeSchema,
12388
12397
  DependencyGraphSchema: () => DependencyGraphSchema,
12389
12398
  DependencyResolutionResultSchema: () => DependencyResolutionResultSchema,
12399
+ DependencyStatusEnum: () => DependencyStatusEnum,
12390
12400
  DeprecationNoticeSchema: () => DeprecationNoticeSchema,
12391
12401
  DevFixtureConfigSchema: () => DevFixtureConfigSchema,
12392
12402
  DevPluginConfigSchema: () => DevPluginConfigSchema,
@@ -12450,6 +12460,7 @@ __export(kernel_exports, {
12450
12460
  MergeStrategyConfigSchema: () => MergeStrategyConfigSchema,
12451
12461
  MetadataBulkRegisterRequestSchema: () => MetadataBulkRegisterRequestSchema,
12452
12462
  MetadataBulkResultSchema: () => MetadataBulkResultSchema,
12463
+ MetadataCategoryEnum: () => MetadataCategoryEnum,
12453
12464
  MetadataChangeTypeSchema: () => MetadataChangeTypeSchema,
12454
12465
  MetadataCollectionInfoSchema: () => MetadataCollectionInfoSchema2,
12455
12466
  MetadataDependencySchema: () => MetadataDependencySchema,
@@ -12476,10 +12487,13 @@ __export(kernel_exports, {
12476
12487
  MetadataValidationResultSchema: () => MetadataValidationResultSchema,
12477
12488
  MetadataWatchEventSchema: () => MetadataWatchEventSchema2,
12478
12489
  MultiVersionSupportSchema: () => MultiVersionSupportSchema,
12490
+ NamespaceConflictErrorSchema: () => NamespaceConflictErrorSchema,
12491
+ NamespaceRegistryEntrySchema: () => NamespaceRegistryEntrySchema,
12479
12492
  OclifPluginConfigSchema: () => OclifPluginConfigSchema,
12480
12493
  OpsDomainModuleSchema: () => OpsDomainModuleSchema,
12481
12494
  OpsFilePathSchema: () => OpsFilePathSchema,
12482
12495
  OpsPluginStructureSchema: () => OpsPluginStructureSchema,
12496
+ PackageArtifactSchema: () => PackageArtifactSchema,
12483
12497
  PackageDependencyConflictSchema: () => PackageDependencyConflictSchema,
12484
12498
  PackageDependencyResolutionResultSchema: () => PackageDependencyResolutionResultSchema,
12485
12499
  PackageDependencySchema: () => PackageDependencySchema,
@@ -12488,12 +12502,15 @@ __export(kernel_exports, {
12488
12502
  PermissionSchema: () => PermissionSchema,
12489
12503
  PermissionScopeSchema: () => PermissionScopeSchema,
12490
12504
  PermissionSetSchema: () => PermissionSetSchema2,
12505
+ PluginBuildOptionsSchema: () => PluginBuildOptionsSchema,
12506
+ PluginBuildResultSchema: () => PluginBuildResultSchema,
12491
12507
  PluginCachingSchema: () => PluginCachingSchema,
12492
12508
  PluginCapabilityManifestSchema: () => PluginCapabilityManifestSchema,
12493
12509
  PluginCapabilitySchema: () => PluginCapabilitySchema,
12494
12510
  PluginCodeSplittingSchema: () => PluginCodeSplittingSchema,
12495
12511
  PluginCompatibilityMatrixSchema: () => PluginCompatibilityMatrixSchema,
12496
12512
  PluginContextSchema: () => PluginContextSchema,
12513
+ PluginDependencyResolutionResultSchema: () => PluginDependencyResolutionResultSchema,
12497
12514
  PluginDependencyResolutionSchema: () => PluginDependencyResolutionSchema,
12498
12515
  PluginDependencySchema: () => PluginDependencySchema,
12499
12516
  PluginDiscoveryConfigSchema: () => PluginDiscoveryConfigSchema,
@@ -12519,6 +12536,8 @@ __export(kernel_exports, {
12519
12536
  PluginPerformanceMonitoringSchema: () => PluginPerformanceMonitoringSchema,
12520
12537
  PluginPreloadConfigSchema: () => PluginPreloadConfigSchema,
12521
12538
  PluginProvenanceSchema: () => PluginProvenanceSchema,
12539
+ PluginPublishOptionsSchema: () => PluginPublishOptionsSchema,
12540
+ PluginPublishResultSchema: () => PluginPublishResultSchema,
12522
12541
  PluginQualityMetricsSchema: () => PluginQualityMetricsSchema,
12523
12542
  PluginRegisteredEventSchema: () => PluginRegisteredEventSchema,
12524
12543
  PluginRegistryEntrySchema: () => PluginRegistryEntrySchema,
@@ -12534,6 +12553,8 @@ __export(kernel_exports, {
12534
12553
  PluginTrustLevelSchema: () => PluginTrustLevelSchema,
12535
12554
  PluginTrustScoreSchema: () => PluginTrustScoreSchema,
12536
12555
  PluginUpdateStrategySchema: () => PluginUpdateStrategySchema,
12556
+ PluginValidateOptionsSchema: () => PluginValidateOptionsSchema,
12557
+ PluginValidateResultSchema: () => PluginValidateResultSchema,
12537
12558
  PluginVendorSchema: () => PluginVendorSchema,
12538
12559
  PluginVersionMetadataSchema: () => PluginVersionMetadataSchema,
12539
12560
  PreviewModeConfigSchema: () => PreviewModeConfigSchema,
@@ -12541,6 +12562,8 @@ __export(kernel_exports, {
12541
12562
  ProtocolReferenceSchema: () => ProtocolReferenceSchema,
12542
12563
  ProtocolVersionSchema: () => ProtocolVersionSchema,
12543
12564
  RealTimeNotificationConfigSchema: () => RealTimeNotificationConfigSchema,
12565
+ RequiredActionSchema: () => RequiredActionSchema,
12566
+ ResolvedDependencySchema: () => ResolvedDependencySchema,
12544
12567
  ResourceTypeSchema: () => ResourceTypeSchema,
12545
12568
  RollbackPackageRequestSchema: () => RollbackPackageRequestSchema,
12546
12569
  RollbackPackageResponseSchema: () => RollbackPackageResponseSchema,
@@ -12565,6 +12588,7 @@ __export(kernel_exports, {
12565
12588
  StartupOrchestrationResultSchema: () => StartupOrchestrationResultSchema,
12566
12589
  UninstallPackageRequestSchema: () => UninstallPackageRequestSchema,
12567
12590
  UninstallPackageResponseSchema: () => UninstallPackageResponseSchema,
12591
+ UpgradeContextSchema: () => UpgradeContextSchema,
12568
12592
  UpgradeImpactLevelSchema: () => UpgradeImpactLevelSchema,
12569
12593
  UpgradePackageRequestSchema: () => UpgradePackageRequestSchema,
12570
12594
  UpgradePackageResponseSchema: () => UpgradePackageResponseSchema,
@@ -12572,7 +12596,9 @@ __export(kernel_exports, {
12572
12596
  UpgradePlanSchema: () => UpgradePlanSchema,
12573
12597
  UpgradeSnapshotSchema: () => UpgradeSnapshotSchema,
12574
12598
  ValidationErrorSchema: () => ValidationErrorSchema,
12599
+ ValidationFindingSchema: () => ValidationFindingSchema,
12575
12600
  ValidationResultSchema: () => ValidationResultSchema,
12601
+ ValidationSeverityEnum: () => ValidationSeverityEnum,
12576
12602
  ValidationWarningSchema: () => ValidationWarningSchema,
12577
12603
  VersionConstraintSchema: () => VersionConstraintSchema,
12578
12604
  VulnerabilitySeverity: () => VulnerabilitySeverity
@@ -12613,6 +12639,222 @@ var OclifPluginConfigSchema = zod.z.object({
12613
12639
  /** Topic separator character (default: space) */
12614
12640
  topicSeparator: zod.z.string().optional().describe("Character separating topic and command names")
12615
12641
  }).describe("oclif plugin configuration section");
12642
+ var MetadataCategoryEnum = zod.z.enum([
12643
+ "objects",
12644
+ "views",
12645
+ "pages",
12646
+ "flows",
12647
+ "dashboards",
12648
+ "permissions",
12649
+ "agents",
12650
+ "reports",
12651
+ "actions",
12652
+ "translations",
12653
+ "themes",
12654
+ "datasets",
12655
+ "apis",
12656
+ "triggers",
12657
+ "workflows"
12658
+ ]).describe("Metadata category within the artifact");
12659
+ var ArtifactFileEntrySchema = zod.z.object({
12660
+ /** Relative path within the artifact (e.g. "metadata/objects/account.object.json") */
12661
+ path: zod.z.string().describe("Relative file path within the artifact"),
12662
+ /** File size in bytes */
12663
+ size: zod.z.number().int().nonnegative().describe("File size in bytes"),
12664
+ /** Metadata category (if under metadata/) */
12665
+ category: MetadataCategoryEnum.optional().describe("Metadata category this file belongs to")
12666
+ }).describe("A single file entry within the artifact");
12667
+ var ArtifactChecksumSchema = zod.z.object({
12668
+ /** Hash algorithm used (default: SHA256) */
12669
+ algorithm: zod.z.enum(["sha256", "sha384", "sha512"]).default("sha256").describe("Hash algorithm used for checksums"),
12670
+ /** Map of relative file paths to their hash values */
12671
+ files: zod.z.record(zod.z.string(), zod.z.string().regex(/^[a-f0-9]+$/)).describe("File path to hash value mapping")
12672
+ }).describe("Checksum manifest for artifact integrity verification");
12673
+ var ArtifactSignatureSchema = zod.z.object({
12674
+ /** Signature algorithm */
12675
+ algorithm: zod.z.enum(["RSA-SHA256", "RSA-SHA384", "RSA-SHA512", "ECDSA-SHA256"]).default("RSA-SHA256").describe("Signing algorithm used"),
12676
+ /** Public key reference (URL or fingerprint) for verification */
12677
+ publicKeyRef: zod.z.string().describe("Public key reference (URL or fingerprint) for signature verification"),
12678
+ /** Base64-encoded signature value */
12679
+ signature: zod.z.string().describe("Base64-encoded digital signature"),
12680
+ /** Timestamp of when the artifact was signed */
12681
+ signedAt: zod.z.string().datetime().optional().describe("ISO 8601 timestamp of when the artifact was signed"),
12682
+ /** Signer identity (publisher ID or email) */
12683
+ signedBy: zod.z.string().optional().describe("Identity of the signer (publisher ID or email)")
12684
+ }).describe("Digital signature for artifact authenticity verification");
12685
+ var PackageArtifactSchema = zod.z.object({
12686
+ /** Artifact format version (for forward compatibility) */
12687
+ formatVersion: zod.z.string().regex(/^\d+\.\d+$/).default("1.0").describe('Artifact format version (e.g. "1.0")'),
12688
+ /** Package ID from the manifest */
12689
+ packageId: zod.z.string().describe("Package identifier from manifest"),
12690
+ /** Package version from the manifest */
12691
+ version: zod.z.string().describe("Package version from manifest"),
12692
+ /** Artifact format */
12693
+ format: zod.z.enum(["tgz", "zip"]).default("tgz").describe("Archive format of the artifact"),
12694
+ /** Total artifact size in bytes */
12695
+ size: zod.z.number().int().positive().optional().describe("Total artifact file size in bytes"),
12696
+ /** Build timestamp */
12697
+ builtAt: zod.z.string().datetime().describe("ISO 8601 timestamp of when the artifact was built"),
12698
+ /** Build tool and version that produced this artifact */
12699
+ builtWith: zod.z.string().optional().describe('Build tool identifier (e.g. "os-cli@3.2.0")'),
12700
+ /** File listing within the artifact */
12701
+ files: zod.z.array(ArtifactFileEntrySchema).optional().describe("List of files contained in the artifact"),
12702
+ /** Metadata categories present in the artifact */
12703
+ metadataCategories: zod.z.array(MetadataCategoryEnum).optional().describe("Metadata categories included in this artifact"),
12704
+ /** Integrity checksums for all files */
12705
+ checksums: ArtifactChecksumSchema.optional().describe("SHA256 checksums for artifact integrity verification"),
12706
+ /** Digital signature for authenticity */
12707
+ signature: ArtifactSignatureSchema.optional().describe("Digital signature for artifact authenticity verification")
12708
+ }).describe("Package artifact structure and metadata");
12709
+
12710
+ // src/kernel/cli-plugin-commands.zod.ts
12711
+ var PluginBuildOptionsSchema = zod.z.object({
12712
+ /** Project root directory (defaults to cwd) */
12713
+ directory: zod.z.string().optional().describe("Project root directory (defaults to current working directory)"),
12714
+ /** Output directory for the built artifact */
12715
+ outDir: zod.z.string().optional().describe("Output directory for the built artifact (defaults to ./dist)"),
12716
+ /** Archive format */
12717
+ format: zod.z.enum(["tgz", "zip"]).default("tgz").describe("Archive format for the artifact"),
12718
+ /** Whether to sign the artifact */
12719
+ sign: zod.z.boolean().default(false).describe("Whether to digitally sign the artifact"),
12720
+ /** Path to the private key for signing */
12721
+ privateKeyPath: zod.z.string().optional().describe("Path to RSA/ECDSA private key file for signing"),
12722
+ /** Signing algorithm */
12723
+ signAlgorithm: zod.z.enum(["RSA-SHA256", "RSA-SHA384", "RSA-SHA512", "ECDSA-SHA256"]).optional().describe("Signing algorithm to use"),
12724
+ /** Checksum algorithm */
12725
+ checksumAlgorithm: zod.z.enum(["sha256", "sha384", "sha512"]).default("sha256").describe("Hash algorithm for file checksums"),
12726
+ /** Whether to include seed data */
12727
+ includeData: zod.z.boolean().default(true).describe("Whether to include seed data in the artifact"),
12728
+ /** Whether to include locale/translation files */
12729
+ includeLocales: zod.z.boolean().default(true).describe("Whether to include locale/translation files")
12730
+ }).describe("Options for the os plugin build command");
12731
+ var PluginBuildResultSchema = zod.z.object({
12732
+ /** Whether the build succeeded */
12733
+ success: zod.z.boolean().describe("Whether the build succeeded"),
12734
+ /** Path to the generated artifact file */
12735
+ artifactPath: zod.z.string().optional().describe("Absolute path to the generated artifact file"),
12736
+ /** Artifact metadata (validated against PackageArtifactSchema) */
12737
+ artifact: PackageArtifactSchema.optional().describe("Artifact metadata"),
12738
+ /** Total file count in the artifact */
12739
+ fileCount: zod.z.number().int().min(0).optional().describe("Total number of files in the artifact"),
12740
+ /** Total artifact size in bytes */
12741
+ size: zod.z.number().int().min(0).optional().describe("Total artifact size in bytes"),
12742
+ /** Build duration in milliseconds */
12743
+ durationMs: zod.z.number().optional().describe("Build duration in milliseconds"),
12744
+ /** Error message if build failed */
12745
+ errorMessage: zod.z.string().optional().describe("Error message if build failed"),
12746
+ /** Warnings emitted during build */
12747
+ warnings: zod.z.array(zod.z.string()).optional().describe("Warnings emitted during build")
12748
+ }).describe("Result of the os plugin build command");
12749
+ var ValidationSeverityEnum = zod.z.enum([
12750
+ "error",
12751
+ // Must fix — artifact is invalid
12752
+ "warning",
12753
+ // Should fix — may cause issues
12754
+ "info"
12755
+ // Informational — suggestion
12756
+ ]).describe("Validation issue severity");
12757
+ var ValidationFindingSchema = zod.z.object({
12758
+ /** Finding severity */
12759
+ severity: ValidationSeverityEnum.describe("Issue severity level"),
12760
+ /** Rule or check that produced this finding */
12761
+ rule: zod.z.string().describe("Validation rule identifier"),
12762
+ /** Human-readable message */
12763
+ message: zod.z.string().describe("Human-readable finding description"),
12764
+ /** File path within the artifact (if applicable) */
12765
+ path: zod.z.string().optional().describe("Relative file path within the artifact")
12766
+ }).describe("A single validation finding");
12767
+ var PluginValidateOptionsSchema = zod.z.object({
12768
+ /** Path to the .tgz artifact file to validate */
12769
+ artifactPath: zod.z.string().describe("Path to the artifact file to validate"),
12770
+ /** Whether to verify the digital signature */
12771
+ verifySignature: zod.z.boolean().default(true).describe("Whether to verify the digital signature"),
12772
+ /** Path to the public key for signature verification */
12773
+ publicKeyPath: zod.z.string().optional().describe("Path to the public key for signature verification"),
12774
+ /** Whether to verify SHA256 checksums of all files */
12775
+ verifyChecksums: zod.z.boolean().default(true).describe("Whether to verify checksums of all files"),
12776
+ /** Whether to validate metadata schema compliance */
12777
+ validateMetadata: zod.z.boolean().default(true).describe("Whether to validate metadata against schemas"),
12778
+ /** Target platform version for compatibility check */
12779
+ platformVersion: zod.z.string().optional().describe("Platform version for compatibility verification")
12780
+ }).describe("Options for the os plugin validate command");
12781
+ var PluginValidateResultSchema = zod.z.object({
12782
+ /** Whether the artifact is valid (no error-level findings) */
12783
+ valid: zod.z.boolean().describe("Whether the artifact passed validation"),
12784
+ /** Artifact metadata extracted from the archive */
12785
+ artifact: PackageArtifactSchema.optional().describe("Extracted artifact metadata"),
12786
+ /** Checksum verification result */
12787
+ checksumVerification: zod.z.object({
12788
+ /** Whether all checksums match */
12789
+ passed: zod.z.boolean().describe("Whether all checksums match"),
12790
+ /** Checksum details */
12791
+ checksums: ArtifactChecksumSchema.optional().describe("Verified checksums"),
12792
+ /** Files with mismatched checksums */
12793
+ mismatches: zod.z.array(zod.z.string()).optional().describe("Files with checksum mismatches")
12794
+ }).optional().describe("Checksum verification result"),
12795
+ /** Signature verification result */
12796
+ signatureVerification: zod.z.object({
12797
+ /** Whether the signature is valid */
12798
+ passed: zod.z.boolean().describe("Whether the signature is valid"),
12799
+ /** Signature details */
12800
+ signature: ArtifactSignatureSchema.optional().describe("Signature details"),
12801
+ /** Reason for failure */
12802
+ failureReason: zod.z.string().optional().describe("Signature verification failure reason")
12803
+ }).optional().describe("Signature verification result"),
12804
+ /** Platform compatibility result */
12805
+ platformCompatibility: zod.z.object({
12806
+ /** Whether the artifact is compatible with the target platform */
12807
+ compatible: zod.z.boolean().describe("Whether artifact is compatible"),
12808
+ /** Required platform version range */
12809
+ requiredRange: zod.z.string().optional().describe("Required platform version range"),
12810
+ /** Target platform version checked against */
12811
+ targetVersion: zod.z.string().optional().describe("Target platform version")
12812
+ }).optional().describe("Platform compatibility check result"),
12813
+ /** All validation findings */
12814
+ findings: zod.z.array(ValidationFindingSchema).describe("All validation findings"),
12815
+ /** Counts by severity */
12816
+ summary: zod.z.object({
12817
+ errors: zod.z.number().int().min(0).describe("Error count"),
12818
+ warnings: zod.z.number().int().min(0).describe("Warning count"),
12819
+ infos: zod.z.number().int().min(0).describe("Info count")
12820
+ }).optional().describe("Finding counts by severity")
12821
+ }).describe("Result of the os plugin validate command");
12822
+ var PluginPublishOptionsSchema = zod.z.object({
12823
+ /** Path to the .tgz artifact file to publish */
12824
+ artifactPath: zod.z.string().describe("Path to the artifact file to publish"),
12825
+ /** Marketplace API base URL */
12826
+ registryUrl: zod.z.string().url().optional().describe("Marketplace API base URL"),
12827
+ /** Authentication token for the marketplace API */
12828
+ token: zod.z.string().optional().describe("Authentication token for marketplace API"),
12829
+ /** Release notes for this version */
12830
+ releaseNotes: zod.z.string().optional().describe("Release notes for this version"),
12831
+ /** Whether this is a pre-release */
12832
+ preRelease: zod.z.boolean().default(false).describe("Whether this is a pre-release version"),
12833
+ /** Whether to skip validation before publishing */
12834
+ skipValidation: zod.z.boolean().default(false).describe("Whether to skip local validation before publish"),
12835
+ /** Access level for the published package */
12836
+ access: zod.z.enum(["public", "restricted"]).default("public").describe("Package access level on the marketplace"),
12837
+ /** Tags for categorization */
12838
+ tags: zod.z.array(zod.z.string()).optional().describe("Tags for marketplace categorization")
12839
+ }).describe("Options for the os plugin publish command");
12840
+ var PluginPublishResultSchema = zod.z.object({
12841
+ /** Whether the publish succeeded */
12842
+ success: zod.z.boolean().describe("Whether the publish succeeded"),
12843
+ /** Package ID that was published */
12844
+ packageId: zod.z.string().optional().describe("Published package identifier"),
12845
+ /** Version that was published */
12846
+ version: zod.z.string().optional().describe("Published version string"),
12847
+ /** Artifact reference in the marketplace */
12848
+ artifactUrl: zod.z.string().url().optional().describe("URL of the published artifact in the marketplace"),
12849
+ /** SHA256 checksum of the uploaded artifact */
12850
+ sha256: zod.z.string().optional().describe("SHA256 checksum of the uploaded artifact"),
12851
+ /** Submission ID for tracking the review process */
12852
+ submissionId: zod.z.string().optional().describe("Marketplace submission ID for review tracking"),
12853
+ /** Error message if publish failed */
12854
+ errorMessage: zod.z.string().optional().describe("Error message if publish failed"),
12855
+ /** Human-readable status message */
12856
+ message: zod.z.string().optional().describe("Human-readable status message")
12857
+ }).describe("Result of the os plugin publish command");
12616
12858
  var RuntimeMode = zod.z.enum([
12617
12859
  "development",
12618
12860
  // Hot-reload, verbose logging
@@ -12687,6 +12929,50 @@ var KernelContextSchema = zod.z.object({
12687
12929
  */
12688
12930
  previewMode: PreviewModeConfigSchema.optional().describe('Preview/demo mode configuration (used when mode is "preview")')
12689
12931
  });
12932
+ var DependencyStatusEnum = zod.z.enum([
12933
+ "satisfied",
12934
+ // Already installed and version compatible
12935
+ "needs_install",
12936
+ // Not installed, needs to be installed
12937
+ "needs_upgrade",
12938
+ // Installed but version incompatible, needs upgrade
12939
+ "conflict"
12940
+ // Conflicts with another package's dependency
12941
+ ]).describe("Resolution status for a dependency");
12942
+ var ResolvedDependencySchema = zod.z.object({
12943
+ /** Package identifier of the dependency */
12944
+ packageId: zod.z.string().describe("Dependency package identifier"),
12945
+ /** SemVer range required by the parent package */
12946
+ requiredRange: zod.z.string().describe('SemVer range required (e.g. "^2.0.0")'),
12947
+ /** Actual version resolved (if available) */
12948
+ resolvedVersion: zod.z.string().optional().describe("Actual version resolved from registry"),
12949
+ /** Currently installed version (if any) */
12950
+ installedVersion: zod.z.string().optional().describe("Currently installed version"),
12951
+ /** Resolution status */
12952
+ status: DependencyStatusEnum.describe("Resolution status"),
12953
+ /** Conflict details (when status is "conflict") */
12954
+ conflictReason: zod.z.string().optional().describe("Explanation of the conflict")
12955
+ }).describe("Resolution result for a single dependency");
12956
+ var RequiredActionSchema = zod.z.object({
12957
+ /** Type of action required */
12958
+ type: zod.z.enum(["install", "upgrade", "confirm_conflict"]).describe("Type of action required"),
12959
+ /** Target package identifier */
12960
+ packageId: zod.z.string().describe("Target package identifier"),
12961
+ /** Human-readable description of the action */
12962
+ description: zod.z.string().describe("Human-readable action description")
12963
+ }).describe("Action required before installation can proceed");
12964
+ var DependencyResolutionResultSchema = zod.z.object({
12965
+ /** All dependencies and their resolution results */
12966
+ dependencies: zod.z.array(ResolvedDependencySchema).describe("Resolution result for each dependency"),
12967
+ /** Whether installation can proceed without conflicts */
12968
+ canProceed: zod.z.boolean().describe("Whether installation can proceed"),
12969
+ /** Actions that require user confirmation or system execution */
12970
+ requiredActions: zod.z.array(RequiredActionSchema).describe("Actions required before proceeding"),
12971
+ /** Topologically sorted package IDs for installation order */
12972
+ installOrder: zod.z.array(zod.z.string()).describe("Topologically sorted package IDs for installation"),
12973
+ /** Detected circular dependency chains */
12974
+ circularDependencies: zod.z.array(zod.z.array(zod.z.string())).optional().describe('Circular dependency chains detected (e.g. [["A", "B", "A"]])')
12975
+ }).describe("Complete dependency resolution result");
12690
12976
  var DevServiceOverrideSchema = zod.z.object({
12691
12977
  /** Service identifier (e.g. 'auth', 'eventBus', 'fileStorage') */
12692
12978
  service: zod.z.string().min(1).describe("Target service identifier"),
@@ -14176,12 +14462,22 @@ var PluginContextSchema = zod.z.object({
14176
14462
  register: zod.z.function().describe("Register a driver")
14177
14463
  }).passthrough().describe("Driver Registry")
14178
14464
  });
14465
+ var UpgradeContextSchema = zod.z.object({
14466
+ /** Version before upgrade */
14467
+ previousVersion: zod.z.string().describe("Version before upgrade"),
14468
+ /** Version after upgrade */
14469
+ newVersion: zod.z.string().describe("Version after upgrade"),
14470
+ /** Whether this is a major version bump */
14471
+ isMajorUpgrade: zod.z.boolean().describe("Whether this is a major version bump"),
14472
+ /** Metadata snapshot before upgrade (for migration logic) */
14473
+ previousMetadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Metadata snapshot before upgrade")
14474
+ }).describe("Version migration context for onUpgrade hook");
14179
14475
  var PluginLifecycleSchema = zod.z.object({
14180
14476
  onInstall: zod.z.function().optional().describe("Called when plugin is installed"),
14181
14477
  onEnable: zod.z.function().optional().describe("Called when plugin is enabled"),
14182
14478
  onDisable: zod.z.function().optional().describe("Called when plugin is disabled"),
14183
14479
  onUninstall: zod.z.function().optional().describe("Called when plugin is uninstalled"),
14184
- onUpgrade: zod.z.function().optional().describe("Called when plugin is upgraded")
14480
+ onUpgrade: zod.z.function().optional().describe("Called when plugin is upgraded. Receives UpgradeContext with previousVersion, newVersion, and isMajorUpgrade")
14185
14481
  });
14186
14482
  var CORE_PLUGIN_TYPES = [
14187
14483
  "ui",
@@ -14497,7 +14793,22 @@ var ManifestSchema = zod.z.object({
14497
14793
  * Configures how the plugin is loaded, initialized, and managed at runtime.
14498
14794
  * Includes strategies for lazy loading, code splitting, caching, and hot reload.
14499
14795
  */
14500
- loading: PluginLoadingConfigSchema.optional().describe("Plugin loading and runtime behavior configuration")
14796
+ loading: PluginLoadingConfigSchema.optional().describe("Plugin loading and runtime behavior configuration"),
14797
+ /**
14798
+ * Platform Compatibility Requirements.
14799
+ * Specifies the minimum ObjectStack platform version required to run this package.
14800
+ * Used at install time to prevent incompatible packages from being installed.
14801
+ *
14802
+ * @example
14803
+ * ```yaml
14804
+ * engine:
14805
+ * objectstack: ">=3.0.0"
14806
+ * ```
14807
+ */
14808
+ engine: zod.z.object({
14809
+ /** ObjectStack platform version requirement (SemVer range) */
14810
+ objectstack: zod.z.string().regex(/^[><=~^]*\d+\.\d+\.\d+/).describe('ObjectStack platform version requirement (SemVer range, e.g. ">=3.0.0")')
14811
+ }).optional().describe("Platform compatibility requirements")
14501
14812
  });
14502
14813
  var CustomizationOriginSchema = zod.z.enum([
14503
14814
  "package",
@@ -15350,29 +15661,29 @@ var PackageStatusEnum = zod.z.enum([
15350
15661
  // Removal in progress
15351
15662
  "error"
15352
15663
  // Installation or runtime error
15353
- ]);
15664
+ ]).describe("Package installation status");
15354
15665
  var InstalledPackageSchema = zod.z.object({
15355
15666
  /**
15356
15667
  * The full package manifest (source of truth for package definition).
15357
15668
  */
15358
- manifest: ManifestSchema,
15669
+ manifest: ManifestSchema.describe("Full package manifest"),
15359
15670
  /**
15360
15671
  * Current lifecycle status.
15361
15672
  */
15362
- status: PackageStatusEnum.default("installed"),
15673
+ status: PackageStatusEnum.default("installed").describe("Package state: installed, disabled, installing, upgrading, uninstalling, or error"),
15363
15674
  /**
15364
15675
  * Whether the package is currently enabled (active).
15365
15676
  * When disabled, the package's metadata is not loaded into the registry.
15366
15677
  */
15367
- enabled: zod.z.boolean().default(true),
15678
+ enabled: zod.z.boolean().default(true).describe("Whether the package is currently enabled"),
15368
15679
  /**
15369
15680
  * ISO 8601 timestamp of when the package was installed.
15370
15681
  */
15371
- installedAt: zod.z.string().datetime().optional(),
15682
+ installedAt: zod.z.string().datetime().optional().describe("Installation timestamp"),
15372
15683
  /**
15373
15684
  * ISO 8601 timestamp of last update.
15374
15685
  */
15375
- updatedAt: zod.z.string().datetime().optional(),
15686
+ updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
15376
15687
  /**
15377
15688
  * The currently installed version string.
15378
15689
  * Mirrors manifest.version for quick access without parsing the full manifest.
@@ -15386,73 +15697,124 @@ var InstalledPackageSchema = zod.z.object({
15386
15697
  /**
15387
15698
  * ISO 8601 timestamp of when the package was last enabled/disabled.
15388
15699
  */
15389
- statusChangedAt: zod.z.string().datetime().optional(),
15700
+ statusChangedAt: zod.z.string().datetime().optional().describe("Status change timestamp"),
15390
15701
  /**
15391
15702
  * Error message if status is 'error'.
15392
15703
  */
15393
- errorMessage: zod.z.string().optional(),
15704
+ errorMessage: zod.z.string().optional().describe("Error message when status is error"),
15394
15705
  /**
15395
15706
  * Configuration values set by the user for this package.
15396
15707
  * Keys correspond to the package's `configuration.properties`.
15397
15708
  */
15398
- settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
15399
- });
15709
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided configuration settings"),
15710
+ /**
15711
+ * Upgrade history for this package.
15712
+ * Records each version migration with status and optional log.
15713
+ */
15714
+ upgradeHistory: zod.z.array(zod.z.object({
15715
+ /** Previous version before upgrade */
15716
+ fromVersion: zod.z.string().describe("Version before upgrade"),
15717
+ /** New version after upgrade */
15718
+ toVersion: zod.z.string().describe("Version after upgrade"),
15719
+ /** Timestamp of the upgrade */
15720
+ upgradedAt: zod.z.string().datetime().describe("Upgrade timestamp"),
15721
+ /** Outcome of the upgrade */
15722
+ status: zod.z.enum(["success", "failed", "rolled_back"]).describe("Upgrade outcome"),
15723
+ /** Migration log entries */
15724
+ migrationLog: zod.z.array(zod.z.string()).optional().describe("Migration step logs")
15725
+ })).optional().describe("Version upgrade history"),
15726
+ /**
15727
+ * Namespaces registered by this package.
15728
+ * Tracks which namespace prefixes are occupied by this package.
15729
+ */
15730
+ registeredNamespaces: zod.z.array(zod.z.string()).optional().describe("Namespace prefixes registered by this package")
15731
+ }).describe("Installed package with runtime lifecycle state");
15732
+ var NamespaceRegistryEntrySchema = zod.z.object({
15733
+ /** Namespace prefix */
15734
+ namespace: zod.z.string().describe("Namespace prefix"),
15735
+ /** Package that owns this namespace */
15736
+ packageId: zod.z.string().describe("Owning package ID"),
15737
+ /** Registration timestamp */
15738
+ registeredAt: zod.z.string().datetime().describe("Registration timestamp"),
15739
+ /** Namespace status */
15740
+ status: zod.z.enum(["active", "disabled", "reserved"]).describe("Namespace status")
15741
+ }).describe("Namespace ownership entry in the registry");
15742
+ var NamespaceConflictErrorSchema = zod.z.object({
15743
+ /** Error type discriminator */
15744
+ type: zod.z.literal("namespace_conflict").describe("Error type"),
15745
+ /** Namespace that was requested */
15746
+ requestedNamespace: zod.z.string().describe("Requested namespace"),
15747
+ /** ID of the package that already owns the namespace */
15748
+ conflictingPackageId: zod.z.string().describe("Conflicting package ID"),
15749
+ /** Name of the conflicting package */
15750
+ conflictingPackageName: zod.z.string().describe("Conflicting package display name"),
15751
+ /** Suggested alternative namespace */
15752
+ suggestion: zod.z.string().optional().describe("Suggested alternative namespace")
15753
+ }).describe("Namespace collision error during installation");
15400
15754
  var ListPackagesRequestSchema = zod.z.object({
15401
15755
  /** Filter by status */
15402
- status: PackageStatusEnum.optional(),
15756
+ status: PackageStatusEnum.optional().describe("Filter by package status"),
15403
15757
  /** Filter by package type */
15404
- type: ManifestSchema.shape.type.optional(),
15758
+ type: ManifestSchema.shape.type.optional().describe("Filter by package type"),
15405
15759
  /** Filter by enabled state */
15406
- enabled: zod.z.boolean().optional()
15407
- });
15760
+ enabled: zod.z.boolean().optional().describe("Filter by enabled state")
15761
+ }).describe("List packages request");
15408
15762
  var ListPackagesResponseSchema = zod.z.object({
15409
- packages: zod.z.array(InstalledPackageSchema),
15410
- total: zod.z.number()
15411
- });
15763
+ packages: zod.z.array(InstalledPackageSchema).describe("List of installed packages"),
15764
+ total: zod.z.number().describe("Total package count")
15765
+ }).describe("List packages response");
15412
15766
  var GetPackageRequestSchema = zod.z.object({
15413
15767
  /** Package ID (reverse domain identifier from manifest) */
15414
- id: zod.z.string()
15415
- });
15768
+ id: zod.z.string().describe("Package identifier")
15769
+ }).describe("Get package request");
15416
15770
  var GetPackageResponseSchema = zod.z.object({
15417
- package: InstalledPackageSchema
15418
- });
15771
+ package: InstalledPackageSchema.describe("Package details")
15772
+ }).describe("Get package response");
15419
15773
  var InstallPackageRequestSchema = zod.z.object({
15420
15774
  /** The package manifest to install */
15421
- manifest: ManifestSchema,
15775
+ manifest: ManifestSchema.describe("Package manifest to install"),
15422
15776
  /** Optional: user-provided settings at install time */
15423
- settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
15777
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
15424
15778
  /** Whether to enable immediately after install (default: true) */
15425
- enableOnInstall: zod.z.boolean().default(true)
15426
- });
15779
+ enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
15780
+ /**
15781
+ * Current platform version for compatibility checking.
15782
+ * When provided, the system compares this against the package's
15783
+ * `engine.objectstack` requirement to verify compatibility.
15784
+ */
15785
+ platformVersion: zod.z.string().optional().describe("Current platform version for compatibility verification")
15786
+ }).describe("Install package request");
15427
15787
  var InstallPackageResponseSchema = zod.z.object({
15428
- package: InstalledPackageSchema,
15429
- message: zod.z.string().optional()
15430
- });
15788
+ package: InstalledPackageSchema.describe("Installed package details"),
15789
+ message: zod.z.string().optional().describe("Installation status message"),
15790
+ /** Dependency resolution result (when dependencies were analyzed) */
15791
+ dependencyResolution: DependencyResolutionResultSchema.optional().describe("Dependency resolution result from install analysis")
15792
+ }).describe("Install package response");
15431
15793
  var UninstallPackageRequestSchema = zod.z.object({
15432
15794
  /** Package ID to uninstall */
15433
- id: zod.z.string()
15434
- });
15795
+ id: zod.z.string().describe("Package ID to uninstall")
15796
+ }).describe("Uninstall package request");
15435
15797
  var UninstallPackageResponseSchema = zod.z.object({
15436
- id: zod.z.string(),
15437
- success: zod.z.boolean(),
15438
- message: zod.z.string().optional()
15439
- });
15798
+ id: zod.z.string().describe("Uninstalled package ID"),
15799
+ success: zod.z.boolean().describe("Whether uninstall succeeded"),
15800
+ message: zod.z.string().optional().describe("Uninstall status message")
15801
+ }).describe("Uninstall package response");
15440
15802
  var EnablePackageRequestSchema = zod.z.object({
15441
15803
  /** Package ID to enable */
15442
- id: zod.z.string()
15443
- });
15804
+ id: zod.z.string().describe("Package ID to enable")
15805
+ }).describe("Enable package request");
15444
15806
  var EnablePackageResponseSchema = zod.z.object({
15445
- package: InstalledPackageSchema,
15446
- message: zod.z.string().optional()
15447
- });
15807
+ package: InstalledPackageSchema.describe("Enabled package details"),
15808
+ message: zod.z.string().optional().describe("Enable status message")
15809
+ }).describe("Enable package response");
15448
15810
  var DisablePackageRequestSchema = zod.z.object({
15449
15811
  /** Package ID to disable */
15450
- id: zod.z.string()
15451
- });
15812
+ id: zod.z.string().describe("Package ID to disable")
15813
+ }).describe("Disable package request");
15452
15814
  var DisablePackageResponseSchema = zod.z.object({
15453
- package: InstalledPackageSchema,
15454
- message: zod.z.string().optional()
15455
- });
15815
+ package: InstalledPackageSchema.describe("Disabled package details"),
15816
+ message: zod.z.string().optional().describe("Disable status message")
15817
+ }).describe("Disable package response");
15456
15818
  var MetadataChangeTypeSchema = zod.z.enum([
15457
15819
  "added",
15458
15820
  // New metadata item added in new version
@@ -15462,21 +15824,21 @@ var MetadataChangeTypeSchema = zod.z.enum([
15462
15824
  // Metadata item removed in new version
15463
15825
  "renamed"
15464
15826
  // Metadata item renamed
15465
- ]);
15827
+ ]).describe("Type of metadata change between package versions");
15466
15828
  var MetadataDiffItemSchema = zod.z.object({
15467
15829
  /** Metadata type (e.g. "object", "view", "flow") */
15468
15830
  type: zod.z.string().describe("Metadata type"),
15469
15831
  /** Metadata name */
15470
15832
  name: zod.z.string().describe("Metadata name"),
15471
15833
  /** Type of change */
15472
- changeType: MetadataChangeTypeSchema,
15834
+ changeType: MetadataChangeTypeSchema.describe("Category of metadata modification (added, modified, removed, or renamed)"),
15473
15835
  /** Whether this change has potential conflicts with customizations */
15474
15836
  hasConflict: zod.z.boolean().default(false).describe("Whether this change may conflict with customizations"),
15475
15837
  /** Human-readable summary of the change */
15476
15838
  summary: zod.z.string().optional().describe("Human-readable change summary"),
15477
15839
  /** Previous name (for renames) */
15478
15840
  previousName: zod.z.string().optional().describe("Previous name if renamed")
15479
- });
15841
+ }).describe("Single metadata change between package versions");
15480
15842
  var UpgradeImpactLevelSchema = zod.z.enum([
15481
15843
  "none",
15482
15844
  // No impact, seamless upgrade
@@ -15488,7 +15850,7 @@ var UpgradeImpactLevelSchema = zod.z.enum([
15488
15850
  // Significant changes, user review recommended
15489
15851
  "critical"
15490
15852
  // Breaking changes, manual intervention required
15491
- ]);
15853
+ ]).describe("Severity of upgrade impact");
15492
15854
  var UpgradePlanSchema = zod.z.object({
15493
15855
  /** Package being upgraded */
15494
15856
  packageId: zod.z.string().describe("Package identifier"),
@@ -15497,7 +15859,7 @@ var UpgradePlanSchema = zod.z.object({
15497
15859
  /** Target version to upgrade to */
15498
15860
  toVersion: zod.z.string().describe("Target upgrade version"),
15499
15861
  /** Overall impact level */
15500
- impactLevel: UpgradeImpactLevelSchema,
15862
+ impactLevel: UpgradeImpactLevelSchema.describe("Severity assessment from none (seamless) to critical (breaking changes)"),
15501
15863
  /** List of all metadata changes between versions */
15502
15864
  changes: zod.z.array(MetadataDiffItemSchema).describe("All metadata changes"),
15503
15865
  /** Number of customer customizations that may be affected */
@@ -15516,7 +15878,7 @@ var UpgradePlanSchema = zod.z.object({
15516
15878
  estimatedDuration: zod.z.number().int().min(0).optional().describe("Estimated upgrade duration in seconds"),
15517
15879
  /** Human-readable summary */
15518
15880
  summary: zod.z.string().optional().describe("Human-readable upgrade summary")
15519
- });
15881
+ }).describe("Upgrade analysis plan generated before execution");
15520
15882
  var UpgradeSnapshotSchema = zod.z.object({
15521
15883
  /** Snapshot ID (UUID) */
15522
15884
  id: zod.z.string().describe("Snapshot identifier"),
@@ -15529,7 +15891,7 @@ var UpgradeSnapshotSchema = zod.z.object({
15529
15891
  /** Tenant ID */
15530
15892
  tenantId: zod.z.string().optional().describe("Tenant identifier"),
15531
15893
  /** Complete manifest of the old package version */
15532
- previousManifest: ManifestSchema,
15894
+ previousManifest: ManifestSchema.describe("Complete manifest of the previous package version"),
15533
15895
  /**
15534
15896
  * Snapshot of all metadata records owned by this package.
15535
15897
  * Stored as array of { type, name, metadata } tuples.
@@ -15547,7 +15909,7 @@ var UpgradeSnapshotSchema = zod.z.object({
15547
15909
  createdAt: zod.z.string().datetime().describe("Snapshot creation timestamp"),
15548
15910
  /** Expiry time for snapshot cleanup */
15549
15911
  expiresAt: zod.z.string().datetime().optional().describe("Snapshot expiry timestamp")
15550
- });
15912
+ }).describe("Pre-upgrade state snapshot for rollback capability");
15551
15913
  var UpgradePackageRequestSchema = zod.z.object({
15552
15914
  /** Package ID to upgrade */
15553
15915
  packageId: zod.z.string().describe("Package ID to upgrade"),
@@ -15567,7 +15929,7 @@ var UpgradePackageRequestSchema = zod.z.object({
15567
15929
  dryRun: zod.z.boolean().default(false).describe("Preview upgrade without making changes"),
15568
15930
  /** Whether to skip pre-upgrade validation */
15569
15931
  skipValidation: zod.z.boolean().default(false).describe("Skip pre-upgrade compatibility checks")
15570
- });
15932
+ }).describe("Upgrade package request");
15571
15933
  var UpgradePhaseSchema = zod.z.enum([
15572
15934
  "pending",
15573
15935
  // Upgrade requested but not started
@@ -15589,12 +15951,12 @@ var UpgradePhaseSchema = zod.z.enum([
15589
15951
  // Rollback in progress
15590
15952
  "rolled-back"
15591
15953
  // Rollback completed
15592
- ]);
15954
+ ]).describe("Current phase of the upgrade process");
15593
15955
  var UpgradePackageResponseSchema = zod.z.object({
15594
15956
  /** Whether the upgrade was successful */
15595
15957
  success: zod.z.boolean().describe("Whether the upgrade succeeded"),
15596
15958
  /** Current upgrade phase */
15597
- phase: UpgradePhaseSchema,
15959
+ phase: UpgradePhaseSchema.describe("Current upgrade phase"),
15598
15960
  /** The upgrade plan that was executed */
15599
15961
  plan: UpgradePlanSchema.optional().describe("Upgrade plan"),
15600
15962
  /** Snapshot ID for rollback */
@@ -15607,10 +15969,10 @@ var UpgradePackageResponseSchema = zod.z.object({
15607
15969
  customValue: zod.z.unknown()
15608
15970
  })).optional().describe("Unresolved merge conflicts"),
15609
15971
  /** Error message (if failed) */
15610
- errorMessage: zod.z.string().optional(),
15972
+ errorMessage: zod.z.string().optional().describe("Error message if upgrade failed"),
15611
15973
  /** Human-readable summary */
15612
- message: zod.z.string().optional()
15613
- });
15974
+ message: zod.z.string().optional().describe("Human-readable status message")
15975
+ }).describe("Upgrade package response");
15614
15976
  var RollbackPackageRequestSchema = zod.z.object({
15615
15977
  /** Package ID to rollback */
15616
15978
  packageId: zod.z.string().describe("Package ID to rollback"),
@@ -15618,15 +15980,15 @@ var RollbackPackageRequestSchema = zod.z.object({
15618
15980
  snapshotId: zod.z.string().describe("Snapshot ID to restore from"),
15619
15981
  /** Whether to also rollback customizations */
15620
15982
  rollbackCustomizations: zod.z.boolean().default(true).describe("Whether to restore pre-upgrade customizations")
15621
- });
15983
+ }).describe("Rollback package request");
15622
15984
  var RollbackPackageResponseSchema = zod.z.object({
15623
15985
  /** Whether the rollback was successful */
15624
- success: zod.z.boolean(),
15986
+ success: zod.z.boolean().describe("Whether the rollback succeeded"),
15625
15987
  /** Restored version */
15626
15988
  restoredVersion: zod.z.string().optional().describe("Version restored to"),
15627
15989
  /** Message */
15628
- message: zod.z.string().optional()
15629
- });
15990
+ message: zod.z.string().optional().describe("Rollback status message")
15991
+ }).describe("Rollback package response");
15630
15992
  var PluginHealthStatusSchema = zod.z.enum([
15631
15993
  "healthy",
15632
15994
  // Plugin is operating normally
@@ -17301,7 +17663,7 @@ var DependencyConflictSchema = zod.z.object({
17301
17663
  */
17302
17664
  severity: zod.z.enum(["critical", "error", "warning", "info"])
17303
17665
  });
17304
- var DependencyResolutionResultSchema = zod.z.object({
17666
+ var PluginDependencyResolutionResultSchema = zod.z.object({
17305
17667
  /**
17306
17668
  * Resolution successful
17307
17669
  */
@@ -18540,6 +18902,8 @@ __export(cloud_exports, {
18540
18902
  AppDiscoveryRequestSchema: () => AppDiscoveryRequestSchema,
18541
18903
  AppDiscoveryResponseSchema: () => AppDiscoveryResponseSchema,
18542
18904
  AppSubscriptionSchema: () => AppSubscriptionSchema,
18905
+ ArtifactDownloadResponseSchema: () => ArtifactDownloadResponseSchema,
18906
+ ArtifactReferenceSchema: () => ArtifactReferenceSchema,
18543
18907
  CreateListingRequestSchema: () => CreateListingRequestSchema,
18544
18908
  CuratedCollectionSchema: () => CuratedCollectionSchema,
18545
18909
  FeaturedListingSchema: () => FeaturedListingSchema,
@@ -18593,7 +18957,7 @@ var PublisherVerificationSchema = zod.z.enum([
18593
18957
  // Trusted publisher (track record of quality)
18594
18958
  "partner"
18595
18959
  // Official platform partner
18596
- ]);
18960
+ ]).describe("Publisher verification status");
18597
18961
  var PublisherSchema = zod.z.object({
18598
18962
  /** Publisher unique identifier */
18599
18963
  id: zod.z.string().describe("Publisher ID"),
@@ -18602,7 +18966,7 @@ var PublisherSchema = zod.z.object({
18602
18966
  /** Publisher type */
18603
18967
  type: zod.z.enum(["individual", "organization"]).describe("Publisher type"),
18604
18968
  /** Verification status */
18605
- verification: PublisherVerificationSchema.default("unverified"),
18969
+ verification: PublisherVerificationSchema.default("unverified").describe("Publisher verification status"),
18606
18970
  /** Contact email */
18607
18971
  email: zod.z.string().email().optional().describe("Contact email"),
18608
18972
  /** Website URL */
@@ -18612,8 +18976,32 @@ var PublisherSchema = zod.z.object({
18612
18976
  /** Short description/bio */
18613
18977
  description: zod.z.string().optional().describe("Publisher description"),
18614
18978
  /** Registration date */
18615
- registeredAt: zod.z.string().datetime().optional()
18616
- });
18979
+ registeredAt: zod.z.string().datetime().optional().describe("Publisher registration timestamp")
18980
+ }).describe("Developer or organization that publishes packages");
18981
+ var ArtifactReferenceSchema = zod.z.object({
18982
+ /** Artifact download URL */
18983
+ url: zod.z.string().url().describe("Artifact download URL"),
18984
+ /** SHA256 integrity checksum */
18985
+ sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).describe("SHA256 checksum"),
18986
+ /** File size in bytes */
18987
+ size: zod.z.number().int().positive().describe("Artifact size in bytes"),
18988
+ /** Artifact format */
18989
+ format: zod.z.enum(["tgz", "zip"]).default("tgz").describe("Artifact format"),
18990
+ /** Upload timestamp */
18991
+ uploadedAt: zod.z.string().datetime().describe("Upload timestamp")
18992
+ }).describe("Reference to a downloadable package artifact");
18993
+ var ArtifactDownloadResponseSchema = zod.z.object({
18994
+ /** Pre-signed or direct download URL */
18995
+ downloadUrl: zod.z.string().url().describe("Artifact download URL (may be pre-signed)"),
18996
+ /** SHA256 checksum for download verification */
18997
+ sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).describe("SHA256 checksum for verification"),
18998
+ /** File size in bytes */
18999
+ size: zod.z.number().int().positive().describe("Artifact size in bytes"),
19000
+ /** Artifact format */
19001
+ format: zod.z.enum(["tgz", "zip"]).describe("Artifact format"),
19002
+ /** URL expiration time (for pre-signed URLs) */
19003
+ expiresAt: zod.z.string().datetime().optional().describe("URL expiration timestamp for pre-signed URLs")
19004
+ }).describe("Artifact download response with integrity metadata");
18617
19005
  var MarketplaceCategorySchema = zod.z.enum([
18618
19006
  "crm",
18619
19007
  // Customer Relationship Management
@@ -18645,7 +19033,7 @@ var MarketplaceCategorySchema = zod.z.enum([
18645
19033
  // Storage & Drivers
18646
19034
  "other"
18647
19035
  // Other / Uncategorized
18648
- ]);
19036
+ ]).describe("Marketplace package category");
18649
19037
  var ListingStatusSchema = zod.z.enum([
18650
19038
  "draft",
18651
19039
  // Not yet submitted
@@ -18665,7 +19053,7 @@ var ListingStatusSchema = zod.z.enum([
18665
19053
  // Deprecated by publisher
18666
19054
  "unlisted"
18667
19055
  // Available by direct link only
18668
- ]);
19056
+ ]).describe("Marketplace listing status");
18669
19057
  var PricingModelSchema = zod.z.enum([
18670
19058
  "free",
18671
19059
  // Free to install
@@ -18679,7 +19067,7 @@ var PricingModelSchema = zod.z.enum([
18679
19067
  // Pay per usage
18680
19068
  "contact-sales"
18681
19069
  // Enterprise pricing, contact for quote
18682
- ]);
19070
+ ]).describe("Package pricing model");
18683
19071
  var MarketplaceListingSchema = zod.z.object({
18684
19072
  /** Listing ID (matches package ID) */
18685
19073
  id: zod.z.string().describe("Listing ID (matches package manifest ID)"),
@@ -18688,7 +19076,7 @@ var MarketplaceListingSchema = zod.z.object({
18688
19076
  /** Publisher information */
18689
19077
  publisherId: zod.z.string().describe("Publisher ID"),
18690
19078
  /** Current listing status */
18691
- status: ListingStatusSchema.default("draft"),
19079
+ status: ListingStatusSchema.default("draft").describe("Publication state: draft, published, under-review, suspended, deprecated, or unlisted"),
18692
19080
  /** Display name */
18693
19081
  name: zod.z.string().describe("Display name"),
18694
19082
  /** Tagline (short description for cards/search results) */
@@ -18696,7 +19084,7 @@ var MarketplaceListingSchema = zod.z.object({
18696
19084
  /** Full description (supports Markdown) */
18697
19085
  description: zod.z.string().optional().describe("Full description (Markdown)"),
18698
19086
  /** Category */
18699
- category: MarketplaceCategorySchema,
19087
+ category: MarketplaceCategorySchema.describe("Package category"),
18700
19088
  /** Additional tags for search discovery */
18701
19089
  tags: zod.z.array(zod.z.string()).optional().describe("Search tags"),
18702
19090
  /** Icon/logo URL */
@@ -18707,13 +19095,13 @@ var MarketplaceListingSchema = zod.z.object({
18707
19095
  caption: zod.z.string().optional()
18708
19096
  })).optional().describe("Screenshots"),
18709
19097
  /** Documentation URL */
18710
- documentationUrl: zod.z.string().url().optional(),
19098
+ documentationUrl: zod.z.string().url().optional().describe("Documentation URL"),
18711
19099
  /** Support URL */
18712
- supportUrl: zod.z.string().url().optional(),
19100
+ supportUrl: zod.z.string().url().optional().describe("Support URL"),
18713
19101
  /** Source repository URL (if open source) */
18714
- repositoryUrl: zod.z.string().url().optional(),
19102
+ repositoryUrl: zod.z.string().url().optional().describe("Source repository URL"),
18715
19103
  /** Pricing model */
18716
- pricing: PricingModelSchema.default("free"),
19104
+ pricing: PricingModelSchema.default("free").describe("Pricing model"),
18717
19105
  /** Price in cents (if paid) */
18718
19106
  priceInCents: zod.z.number().int().min(0).optional().describe("Price in cents (e.g. 999 = $9.99)"),
18719
19107
  /** Latest published version */
@@ -18722,25 +19110,27 @@ var MarketplaceListingSchema = zod.z.object({
18722
19110
  minPlatformVersion: zod.z.string().optional().describe("Minimum ObjectStack platform version"),
18723
19111
  /** Available versions for installation */
18724
19112
  versions: zod.z.array(zod.z.object({
18725
- version: zod.z.string(),
18726
- releaseDate: zod.z.string().datetime(),
18727
- releaseNotes: zod.z.string().optional(),
18728
- minPlatformVersion: zod.z.string().optional(),
18729
- deprecated: zod.z.boolean().default(false)
19113
+ version: zod.z.string().describe("Version string"),
19114
+ releaseDate: zod.z.string().datetime().describe("Release date"),
19115
+ releaseNotes: zod.z.string().optional().describe("Release notes"),
19116
+ minPlatformVersion: zod.z.string().optional().describe("Minimum platform version"),
19117
+ deprecated: zod.z.boolean().default(false).describe("Whether this version is deprecated"),
19118
+ /** Artifact reference for this version */
19119
+ artifact: ArtifactReferenceSchema.optional().describe("Downloadable artifact for this version")
18730
19120
  })).optional().describe("Published versions"),
18731
19121
  /** Aggregate statistics */
18732
19122
  stats: zod.z.object({
18733
- totalInstalls: zod.z.number().int().min(0).default(0),
18734
- activeInstalls: zod.z.number().int().min(0).default(0),
18735
- averageRating: zod.z.number().min(0).max(5).optional(),
18736
- totalRatings: zod.z.number().int().min(0).default(0),
18737
- totalReviews: zod.z.number().int().min(0).default(0)
19123
+ totalInstalls: zod.z.number().int().min(0).default(0).describe("Total installs"),
19124
+ activeInstalls: zod.z.number().int().min(0).default(0).describe("Active installs"),
19125
+ averageRating: zod.z.number().min(0).max(5).optional().describe("Average user rating (0-5)"),
19126
+ totalRatings: zod.z.number().int().min(0).default(0).describe("Total ratings count"),
19127
+ totalReviews: zod.z.number().int().min(0).default(0).describe("Total reviews count")
18738
19128
  }).optional().describe("Aggregate marketplace statistics"),
18739
19129
  /** First published date */
18740
- publishedAt: zod.z.string().datetime().optional(),
19130
+ publishedAt: zod.z.string().datetime().optional().describe("First published timestamp"),
18741
19131
  /** Last updated date */
18742
- updatedAt: zod.z.string().datetime().optional()
18743
- });
19132
+ updatedAt: zod.z.string().datetime().optional().describe("Last updated timestamp")
19133
+ }).describe("Public-facing package listing on the marketplace");
18744
19134
  var PackageSubmissionSchema = zod.z.object({
18745
19135
  /** Submission ID */
18746
19136
  id: zod.z.string().describe("Submission ID"),
@@ -18764,16 +19154,16 @@ var PackageSubmissionSchema = zod.z.object({
18764
19154
  // Approved for publishing
18765
19155
  "rejected"
18766
19156
  // Rejected
18767
- ]).default("pending"),
19157
+ ]).default("pending").describe("Review status"),
18768
19158
  /**
18769
19159
  * Package artifact URL or reference.
18770
19160
  * Points to the built package bundle for review.
18771
19161
  */
18772
19162
  artifactUrl: zod.z.string().describe("Package artifact URL for review"),
18773
19163
  /** Release notes for this version */
18774
- releaseNotes: zod.z.string().optional(),
19164
+ releaseNotes: zod.z.string().optional().describe("Release notes for this version"),
18775
19165
  /** Whether this is the first submission (new listing) vs version update */
18776
- isNewListing: zod.z.boolean().default(false),
19166
+ isNewListing: zod.z.boolean().default(false).describe("Whether this is a new listing submission"),
18777
19167
  /** Automated scan results */
18778
19168
  scanResults: zod.z.object({
18779
19169
  /** Whether automated scan passed */
@@ -18791,23 +19181,23 @@ var PackageSubmissionSchema = zod.z.object({
18791
19181
  })).optional()
18792
19182
  }).optional().describe("Automated scan results"),
18793
19183
  /** Reviewer notes (from platform reviewer) */
18794
- reviewerNotes: zod.z.string().optional(),
19184
+ reviewerNotes: zod.z.string().optional().describe("Notes from the platform reviewer"),
18795
19185
  /** Submitted timestamp */
18796
- submittedAt: zod.z.string().datetime().optional(),
19186
+ submittedAt: zod.z.string().datetime().optional().describe("Submission timestamp"),
18797
19187
  /** Review completed timestamp */
18798
- reviewedAt: zod.z.string().datetime().optional()
18799
- });
19188
+ reviewedAt: zod.z.string().datetime().optional().describe("Review completion timestamp")
19189
+ }).describe("Developer submission of a package version for review");
18800
19190
  var MarketplaceSearchRequestSchema = zod.z.object({
18801
19191
  /** Search query string */
18802
19192
  query: zod.z.string().optional().describe("Full-text search query"),
18803
19193
  /** Filter by category */
18804
- category: MarketplaceCategorySchema.optional(),
19194
+ category: MarketplaceCategorySchema.optional().describe("Filter by category"),
18805
19195
  /** Filter by tags */
18806
- tags: zod.z.array(zod.z.string()).optional(),
19196
+ tags: zod.z.array(zod.z.string()).optional().describe("Filter by tags"),
18807
19197
  /** Filter by pricing model */
18808
- pricing: PricingModelSchema.optional(),
19198
+ pricing: PricingModelSchema.optional().describe("Filter by pricing model"),
18809
19199
  /** Filter by publisher verification level */
18810
- publisherVerification: PublisherVerificationSchema.optional(),
19200
+ publisherVerification: PublisherVerificationSchema.optional().describe("Filter by publisher verification level"),
18811
19201
  /** Sort by */
18812
19202
  sortBy: zod.z.enum([
18813
19203
  "relevance",
@@ -18822,25 +19212,25 @@ var MarketplaceSearchRequestSchema = zod.z.object({
18822
19212
  // Most recently updated
18823
19213
  "name"
18824
19214
  // Alphabetical
18825
- ]).default("relevance"),
19215
+ ]).default("relevance").describe("Sort field"),
18826
19216
  /** Sort direction */
18827
- sortDirection: zod.z.enum(["asc", "desc"]).default("desc"),
19217
+ sortDirection: zod.z.enum(["asc", "desc"]).default("desc").describe("Sort direction"),
18828
19218
  /** Pagination: page number */
18829
- page: zod.z.number().int().min(1).default(1),
19219
+ page: zod.z.number().int().min(1).default(1).describe("Page number"),
18830
19220
  /** Pagination: items per page */
18831
- pageSize: zod.z.number().int().min(1).max(100).default(20),
19221
+ pageSize: zod.z.number().int().min(1).max(100).default(20).describe("Items per page"),
18832
19222
  /** Filter by minimum platform version compatibility */
18833
19223
  platformVersion: zod.z.string().optional().describe("Filter by platform version compatibility")
18834
- });
19224
+ }).describe("Marketplace search request");
18835
19225
  var MarketplaceSearchResponseSchema = zod.z.object({
18836
19226
  /** Search results */
18837
- items: zod.z.array(MarketplaceListingSchema),
19227
+ items: zod.z.array(MarketplaceListingSchema).describe("Search result listings"),
18838
19228
  /** Total count (for pagination) */
18839
- total: zod.z.number().int().min(0),
19229
+ total: zod.z.number().int().min(0).describe("Total matching results"),
18840
19230
  /** Current page */
18841
- page: zod.z.number().int().min(1),
19231
+ page: zod.z.number().int().min(1).describe("Current page number"),
18842
19232
  /** Items per page */
18843
- pageSize: zod.z.number().int().min(1),
19233
+ pageSize: zod.z.number().int().min(1).describe("Items per page"),
18844
19234
  /** Facets for filtering */
18845
19235
  facets: zod.z.object({
18846
19236
  categories: zod.z.array(zod.z.object({
@@ -18851,8 +19241,8 @@ var MarketplaceSearchResponseSchema = zod.z.object({
18851
19241
  model: PricingModelSchema,
18852
19242
  count: zod.z.number().int().min(0)
18853
19243
  })).optional()
18854
- }).optional()
18855
- });
19244
+ }).optional().describe("Aggregation facets for refining search")
19245
+ }).describe("Marketplace search response");
18856
19246
  var MarketplaceInstallRequestSchema = zod.z.object({
18857
19247
  /** Listing ID to install */
18858
19248
  listingId: zod.z.string().describe("Marketplace listing ID"),
@@ -18861,22 +19251,24 @@ var MarketplaceInstallRequestSchema = zod.z.object({
18861
19251
  /** License key (for paid packages) */
18862
19252
  licenseKey: zod.z.string().optional().describe("License key for paid packages"),
18863
19253
  /** User-provided settings at install time */
18864
- settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
19254
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
18865
19255
  /** Whether to enable immediately after install */
18866
- enableOnInstall: zod.z.boolean().default(true),
19256
+ enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
19257
+ /** Artifact reference (resolved from listing version, or provided directly) */
19258
+ artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference for direct installation"),
18867
19259
  /** Tenant ID */
18868
- tenantId: zod.z.string().optional()
18869
- });
19260
+ tenantId: zod.z.string().optional().describe("Tenant identifier")
19261
+ }).describe("Install from marketplace request");
18870
19262
  var MarketplaceInstallResponseSchema = zod.z.object({
18871
19263
  /** Whether installation was successful */
18872
- success: zod.z.boolean(),
19264
+ success: zod.z.boolean().describe("Whether installation succeeded"),
18873
19265
  /** Installed package ID */
18874
- packageId: zod.z.string().optional(),
19266
+ packageId: zod.z.string().optional().describe("Installed package identifier"),
18875
19267
  /** Installed version */
18876
- version: zod.z.string().optional(),
19268
+ version: zod.z.string().optional().describe("Installed version"),
18877
19269
  /** Human-readable message */
18878
- message: zod.z.string().optional()
18879
- });
19270
+ message: zod.z.string().optional().describe("Installation status message")
19271
+ }).describe("Install from marketplace response");
18880
19272
  var PublisherProfileSchema = zod.z.object({
18881
19273
  /** Organization ID (references Identity.Organization.id) */
18882
19274
  organizationId: zod.z.string().describe("Identity Organization ID"),
@@ -24920,6 +25312,10 @@ __export(api_exports, {
24920
25312
  AuthEndpointPaths: () => AuthEndpointPaths,
24921
25313
  AuthEndpointSchema: () => AuthEndpointSchema,
24922
25314
  AuthProvider: () => AuthProvider,
25315
+ AutomationApiContracts: () => AutomationApiContracts,
25316
+ AutomationApiErrorCode: () => AutomationApiErrorCode,
25317
+ AutomationFlowPathParamsSchema: () => AutomationFlowPathParamsSchema,
25318
+ AutomationRunPathParamsSchema: () => AutomationRunPathParamsSchema,
24923
25319
  AutomationTriggerRequestSchema: () => AutomationTriggerRequestSchema,
24924
25320
  AutomationTriggerResponseSchema: () => AutomationTriggerResponseSchema,
24925
25321
  BasePresenceSchema: () => BasePresenceSchema,
@@ -24944,16 +25340,23 @@ __export(api_exports, {
24944
25340
  CacheInvalidationResponseSchema: () => CacheInvalidationResponseSchema,
24945
25341
  CacheInvalidationTarget: () => CacheInvalidationTarget,
24946
25342
  CallbackSchema: () => CallbackSchema,
25343
+ ChangelogEntrySchema: () => ChangelogEntrySchema,
24947
25344
  CheckPermissionRequestSchema: () => CheckPermissionRequestSchema,
24948
25345
  CheckPermissionResponseSchema: () => CheckPermissionResponseSchema,
24949
25346
  CodeGenerationTemplateSchema: () => CodeGenerationTemplateSchema,
25347
+ CompleteChunkedUploadRequestSchema: () => CompleteChunkedUploadRequestSchema,
25348
+ CompleteChunkedUploadResponseSchema: () => CompleteChunkedUploadResponseSchema,
24950
25349
  CompleteUploadRequestSchema: () => CompleteUploadRequestSchema,
24951
25350
  ConceptListResponseSchema: () => ConceptListResponseSchema,
24952
25351
  ConflictResolutionStrategy: () => ConflictResolutionStrategy,
24953
25352
  CreateDataRequestSchema: () => CreateDataRequestSchema,
24954
25353
  CreateDataResponseSchema: () => CreateDataResponseSchema,
25354
+ CreateExportJobRequestSchema: () => CreateExportJobRequestSchema,
25355
+ CreateExportJobResponseSchema: () => CreateExportJobResponseSchema,
24955
25356
  CreateFeedItemRequestSchema: () => CreateFeedItemRequestSchema,
24956
25357
  CreateFeedItemResponseSchema: () => CreateFeedItemResponseSchema,
25358
+ CreateFlowRequestSchema: () => CreateFlowRequestSchema,
25359
+ CreateFlowResponseSchema: () => CreateFlowResponseSchema,
24957
25360
  CreateManyDataRequestSchema: () => CreateManyDataRequestSchema,
24958
25361
  CreateManyDataResponseSchema: () => CreateManyDataResponseSchema,
24959
25362
  CreateRequestSchema: () => CreateRequestSchema,
@@ -24980,10 +25383,13 @@ __export(api_exports, {
24980
25383
  DEFAULT_VIEW_ROUTES: () => DEFAULT_VIEW_ROUTES,
24981
25384
  DEFAULT_WORKFLOW_ROUTES: () => DEFAULT_WORKFLOW_ROUTES,
24982
25385
  DataLoaderConfigSchema: () => DataLoaderConfigSchema,
25386
+ DeduplicationStrategy: () => DeduplicationStrategy,
24983
25387
  DeleteDataRequestSchema: () => DeleteDataRequestSchema,
24984
25388
  DeleteDataResponseSchema: () => DeleteDataResponseSchema,
24985
25389
  DeleteFeedItemRequestSchema: () => DeleteFeedItemRequestSchema,
24986
25390
  DeleteFeedItemResponseSchema: () => DeleteFeedItemResponseSchema,
25391
+ DeleteFlowRequestSchema: () => DeleteFlowRequestSchema,
25392
+ DeleteFlowResponseSchema: () => DeleteFlowResponseSchema,
24987
25393
  DeleteManyDataRequestSchema: () => DeleteManyDataRequestSchema,
24988
25394
  DeleteManyDataResponseSchema: () => DeleteManyDataResponseSchema,
24989
25395
  DeleteManyRequestSchema: () => DeleteManyRequestSchema,
@@ -25015,6 +25421,12 @@ __export(api_exports, {
25015
25421
  EventMessageSchema: () => EventMessageSchema,
25016
25422
  EventPatternSchema: () => EventPatternSchema,
25017
25423
  EventSubscriptionSchema: () => EventSubscriptionSchema,
25424
+ ExportApiContracts: () => ExportApiContracts,
25425
+ ExportFormat: () => ExportFormat,
25426
+ ExportImportTemplateSchema: () => ExportImportTemplateSchema,
25427
+ ExportJobProgressSchema: () => ExportJobProgressSchema,
25428
+ ExportJobStatus: () => ExportJobStatus,
25429
+ ExportJobSummarySchema: () => ExportJobSummarySchema,
25018
25430
  ExportRequestSchema: () => ExportRequestSchema,
25019
25431
  FederationEntityKeySchema: () => FederationEntityKeySchema,
25020
25432
  FederationEntitySchema: () => FederationEntitySchema,
@@ -25029,23 +25441,34 @@ __export(api_exports, {
25029
25441
  FeedPathParamsSchema: () => FeedPathParamsSchema,
25030
25442
  FeedUnsubscribeRequestSchema: () => FeedUnsubscribeRequestSchema,
25031
25443
  FieldErrorSchema: () => FieldErrorSchema,
25444
+ FieldMappingEntrySchema: () => FieldMappingEntrySchema,
25445
+ FileTypeValidationSchema: () => FileTypeValidationSchema,
25032
25446
  FileUploadResponseSchema: () => FileUploadResponseSchema,
25033
25447
  FilterOperator: () => FilterOperator,
25034
25448
  FindDataRequestSchema: () => FindDataRequestSchema,
25035
25449
  FindDataResponseSchema: () => FindDataResponseSchema,
25450
+ FlowSummarySchema: () => FlowSummarySchema,
25036
25451
  GeneratedApiDocumentationSchema: () => GeneratedApiDocumentationSchema,
25037
25452
  GeneratedEndpointSchema: () => GeneratedEndpointSchema,
25038
25453
  GetAnalyticsMetaRequestSchema: () => GetAnalyticsMetaRequestSchema,
25454
+ GetChangelogRequestSchema: () => GetChangelogRequestSchema,
25455
+ GetChangelogResponseSchema: () => GetChangelogResponseSchema,
25039
25456
  GetDataRequestSchema: () => GetDataRequestSchema,
25040
25457
  GetDataResponseSchema: () => GetDataResponseSchema,
25041
25458
  GetDiscoveryRequestSchema: () => GetDiscoveryRequestSchema,
25042
25459
  GetDiscoveryResponseSchema: () => GetDiscoveryResponseSchema,
25043
25460
  GetEffectivePermissionsRequestSchema: () => GetEffectivePermissionsRequestSchema,
25044
25461
  GetEffectivePermissionsResponseSchema: () => GetEffectivePermissionsResponseSchema,
25462
+ GetExportJobDownloadRequestSchema: () => GetExportJobDownloadRequestSchema,
25463
+ GetExportJobDownloadResponseSchema: () => GetExportJobDownloadResponseSchema,
25045
25464
  GetFeedRequestSchema: () => GetFeedRequestSchema,
25046
25465
  GetFeedResponseSchema: () => GetFeedResponseSchema,
25047
25466
  GetFieldLabelsRequestSchema: () => GetFieldLabelsRequestSchema,
25048
25467
  GetFieldLabelsResponseSchema: () => GetFieldLabelsResponseSchema,
25468
+ GetFlowRequestSchema: () => GetFlowRequestSchema,
25469
+ GetFlowResponseSchema: () => GetFlowResponseSchema,
25470
+ GetInstalledPackageRequestSchema: () => GetInstalledPackageRequestSchema,
25471
+ GetInstalledPackageResponseSchema: () => GetInstalledPackageResponseSchema,
25049
25472
  GetLocalesRequestSchema: () => GetLocalesRequestSchema,
25050
25473
  GetLocalesResponseSchema: () => GetLocalesResponseSchema,
25051
25474
  GetMetaItemCachedRequestSchema: () => GetMetaItemCachedRequestSchema,
@@ -25065,6 +25488,8 @@ __export(api_exports, {
25065
25488
  GetPresenceRequestSchema: () => GetPresenceRequestSchema,
25066
25489
  GetPresenceResponseSchema: () => GetPresenceResponseSchema,
25067
25490
  GetPresignedUrlRequestSchema: () => GetPresignedUrlRequestSchema,
25491
+ GetRunRequestSchema: () => GetRunRequestSchema,
25492
+ GetRunResponseSchema: () => GetRunResponseSchema,
25068
25493
  GetTranslationsRequestSchema: () => GetTranslationsRequestSchema,
25069
25494
  GetTranslationsResponseSchema: () => GetTranslationsResponseSchema,
25070
25495
  GetUiViewRequestSchema: () => GetUiViewRequestSchema,
@@ -25094,13 +25519,26 @@ __export(api_exports, {
25094
25519
  HttpMethod: () => HttpMethod,
25095
25520
  HttpStatusCode: () => HttpStatusCode,
25096
25521
  IdRequestSchema: () => IdRequestSchema,
25522
+ ImportValidationConfigSchema: () => ImportValidationConfigSchema,
25523
+ ImportValidationMode: () => ImportValidationMode,
25524
+ ImportValidationResultSchema: () => ImportValidationResultSchema,
25525
+ InitiateChunkedUploadRequestSchema: () => InitiateChunkedUploadRequestSchema,
25526
+ InitiateChunkedUploadResponseSchema: () => InitiateChunkedUploadResponseSchema,
25097
25527
  InstallPackageRequestSchema: () => InstallPackageRequestSchema,
25098
25528
  InstallPackageResponseSchema: () => InstallPackageResponseSchema,
25529
+ ListExportJobsRequestSchema: () => ListExportJobsRequestSchema,
25530
+ ListExportJobsResponseSchema: () => ListExportJobsResponseSchema,
25531
+ ListFlowsRequestSchema: () => ListFlowsRequestSchema,
25532
+ ListFlowsResponseSchema: () => ListFlowsResponseSchema,
25533
+ ListInstalledPackagesRequestSchema: () => ListInstalledPackagesRequestSchema,
25534
+ ListInstalledPackagesResponseSchema: () => ListInstalledPackagesResponseSchema,
25099
25535
  ListNotificationsRequestSchema: () => ListNotificationsRequestSchema,
25100
25536
  ListNotificationsResponseSchema: () => ListNotificationsResponseSchema,
25101
25537
  ListPackagesRequestSchema: () => ListPackagesRequestSchema,
25102
25538
  ListPackagesResponseSchema: () => ListPackagesResponseSchema,
25103
25539
  ListRecordResponseSchema: () => ListRecordResponseSchema,
25540
+ ListRunsRequestSchema: () => ListRunsRequestSchema,
25541
+ ListRunsResponseSchema: () => ListRunsResponseSchema,
25104
25542
  ListViewsRequestSchema: () => ListViewsRequestSchema,
25105
25543
  ListViewsResponseSchema: () => ListViewsResponseSchema,
25106
25544
  LoginRequestSchema: () => LoginRequestSchema,
@@ -25159,6 +25597,17 @@ __export(api_exports, {
25159
25597
  OpenApiSpec: () => OpenApiSpec,
25160
25598
  OpenApiSpecSchema: () => OpenApiSpecSchema,
25161
25599
  OperatorMappingSchema: () => OperatorMappingSchema,
25600
+ PackageApiContracts: () => PackageApiContracts,
25601
+ PackageApiErrorCode: () => PackageApiErrorCode,
25602
+ PackageInstallRequestSchema: () => PackageInstallRequestSchema,
25603
+ PackageInstallResponseSchema: () => PackageInstallResponseSchema,
25604
+ PackagePathParamsSchema: () => PackagePathParamsSchema,
25605
+ PackageRollbackRequestSchema: () => PackageRollbackRequestSchema,
25606
+ PackageRollbackResponseSchema: () => PackageRollbackResponseSchema,
25607
+ PackageUpgradeRequestSchema: () => PackageUpgradeRequestSchema,
25608
+ PackageUpgradeResponseSchema: () => PackageUpgradeResponseSchema,
25609
+ PinFeedItemRequestSchema: () => PinFeedItemRequestSchema,
25610
+ PinFeedItemResponseSchema: () => PinFeedItemResponseSchema,
25162
25611
  PingMessageSchema: () => PingMessageSchema,
25163
25612
  PongMessageSchema: () => PongMessageSchema,
25164
25613
  PresenceMessageSchema: () => PresenceMessageSchema,
@@ -25190,6 +25639,8 @@ __export(api_exports, {
25190
25639
  RemoveReactionRequestSchema: () => RemoveReactionRequestSchema,
25191
25640
  RemoveReactionResponseSchema: () => RemoveReactionResponseSchema,
25192
25641
  RequestValidationConfigSchema: () => RequestValidationConfigSchema,
25642
+ ResolveDependenciesRequestSchema: () => ResolveDependenciesRequestSchema,
25643
+ ResolveDependenciesResponseSchema: () => ResolveDependenciesResponseSchema,
25193
25644
  ResponseEnvelopeConfigSchema: () => ResponseEnvelopeConfigSchema,
25194
25645
  RestApiConfig: () => RestApiConfig,
25195
25646
  RestApiConfigSchema: () => RestApiConfigSchema,
@@ -25209,7 +25660,12 @@ __export(api_exports, {
25209
25660
  RouterConfigSchema: () => RouterConfigSchema,
25210
25661
  SaveMetaItemRequestSchema: () => SaveMetaItemRequestSchema,
25211
25662
  SaveMetaItemResponseSchema: () => SaveMetaItemResponseSchema,
25663
+ ScheduleExportRequestSchema: () => ScheduleExportRequestSchema,
25664
+ ScheduleExportResponseSchema: () => ScheduleExportResponseSchema,
25665
+ ScheduledExportSchema: () => ScheduledExportSchema,
25212
25666
  SchemaDefinition: () => SchemaDefinition,
25667
+ SearchFeedRequestSchema: () => SearchFeedRequestSchema,
25668
+ SearchFeedResponseSchema: () => SearchFeedResponseSchema,
25213
25669
  ServiceInfoSchema: () => ServiceInfoSchema,
25214
25670
  SessionResponseSchema: () => SessionResponseSchema,
25215
25671
  SessionSchema: () => SessionSchema2,
@@ -25221,17 +25677,30 @@ __export(api_exports, {
25221
25677
  SingleRecordResponseSchema: () => SingleRecordResponseSchema,
25222
25678
  StandardApiContracts: () => StandardApiContracts,
25223
25679
  StandardErrorCode: () => StandardErrorCode,
25680
+ StarFeedItemRequestSchema: () => StarFeedItemRequestSchema,
25681
+ StarFeedItemResponseSchema: () => StarFeedItemResponseSchema,
25682
+ StorageApiContracts: () => StorageApiContracts,
25224
25683
  SubgraphConfigSchema: () => SubgraphConfigSchema,
25225
25684
  SubscribeMessageSchema: () => SubscribeMessageSchema,
25226
25685
  SubscribeRequestSchema: () => SubscribeRequestSchema,
25227
25686
  SubscribeResponseSchema: () => SubscribeResponseSchema,
25228
25687
  SubscriptionEventSchema: () => SubscriptionEventSchema,
25229
25688
  SubscriptionSchema: () => SubscriptionSchema,
25689
+ ToggleFlowRequestSchema: () => ToggleFlowRequestSchema,
25690
+ ToggleFlowResponseSchema: () => ToggleFlowResponseSchema,
25230
25691
  TransportProtocol: () => TransportProtocol,
25692
+ TriggerFlowRequestSchema: () => TriggerFlowRequestSchema,
25693
+ TriggerFlowResponseSchema: () => TriggerFlowResponseSchema,
25694
+ UninstallPackageApiRequestSchema: () => UninstallPackageApiRequestSchema,
25695
+ UninstallPackageApiResponseSchema: () => UninstallPackageApiResponseSchema,
25231
25696
  UninstallPackageRequestSchema: () => UninstallPackageRequestSchema,
25232
25697
  UninstallPackageResponseSchema: () => UninstallPackageResponseSchema,
25698
+ UnpinFeedItemRequestSchema: () => UnpinFeedItemRequestSchema,
25699
+ UnpinFeedItemResponseSchema: () => UnpinFeedItemResponseSchema,
25233
25700
  UnregisterDeviceRequestSchema: () => UnregisterDeviceRequestSchema,
25234
25701
  UnregisterDeviceResponseSchema: () => UnregisterDeviceResponseSchema,
25702
+ UnstarFeedItemRequestSchema: () => UnstarFeedItemRequestSchema,
25703
+ UnstarFeedItemResponseSchema: () => UnstarFeedItemResponseSchema,
25235
25704
  UnsubscribeMessageSchema: () => UnsubscribeMessageSchema,
25236
25705
  UnsubscribeRequestSchema: () => UnsubscribeRequestSchema,
25237
25706
  UnsubscribeResponseSchema: () => UnsubscribeResponseSchema,
@@ -25239,6 +25708,8 @@ __export(api_exports, {
25239
25708
  UpdateDataResponseSchema: () => UpdateDataResponseSchema,
25240
25709
  UpdateFeedItemRequestSchema: () => UpdateFeedItemRequestSchema,
25241
25710
  UpdateFeedItemResponseSchema: () => UpdateFeedItemResponseSchema,
25711
+ UpdateFlowRequestSchema: () => UpdateFlowRequestSchema,
25712
+ UpdateFlowResponseSchema: () => UpdateFlowResponseSchema,
25242
25713
  UpdateManyDataRequestSchema: () => UpdateManyDataRequestSchema,
25243
25714
  UpdateManyDataResponseSchema: () => UpdateManyDataResponseSchema,
25244
25715
  UpdateManyRequestSchema: () => UpdateManyRequestSchema,
@@ -25247,6 +25718,11 @@ __export(api_exports, {
25247
25718
  UpdateRequestSchema: () => UpdateRequestSchema,
25248
25719
  UpdateViewRequestSchema: () => UpdateViewRequestSchema,
25249
25720
  UpdateViewResponseSchema: () => UpdateViewResponseSchema,
25721
+ UploadArtifactRequestSchema: () => UploadArtifactRequestSchema,
25722
+ UploadArtifactResponseSchema: () => UploadArtifactResponseSchema,
25723
+ UploadChunkRequestSchema: () => UploadChunkRequestSchema,
25724
+ UploadChunkResponseSchema: () => UploadChunkResponseSchema,
25725
+ UploadProgressSchema: () => UploadProgressSchema,
25250
25726
  UserProfileResponseSchema: () => UserProfileResponseSchema,
25251
25727
  ValidationMode: () => ValidationMode,
25252
25728
  VersionDefinitionSchema: () => VersionDefinitionSchema,
@@ -25262,6 +25738,7 @@ __export(api_exports, {
25262
25738
  WebSocketServerConfigSchema: () => WebSocketServerConfigSchema,
25263
25739
  WebhookConfigSchema: () => WebhookConfigSchema,
25264
25740
  WebhookEventSchema: () => WebhookEventSchema,
25741
+ WellKnownCapabilitiesSchema: () => WellKnownCapabilitiesSchema,
25265
25742
  WorkflowApproveRequestSchema: () => WorkflowApproveRequestSchema,
25266
25743
  WorkflowApproveResponseSchema: () => WorkflowApproveResponseSchema,
25267
25744
  WorkflowRejectRequestSchema: () => WorkflowRejectRequestSchema,
@@ -25441,8 +25918,17 @@ var ServiceInfoSchema = zod.z.object({
25441
25918
  route: zod.z.string().optional().describe("e.g. /api/v1/analytics"),
25442
25919
  /** Implementation provider name */
25443
25920
  provider: zod.z.string().optional().describe('e.g. "objectql", "plugin-redis", "driver-memory"'),
25921
+ /** Service version */
25922
+ version: zod.z.string().optional().describe('Semantic version of the service implementation (e.g. "3.0.6")'),
25444
25923
  /** Human-readable reason if unavailable */
25445
- message: zod.z.string().optional().describe('e.g. "Install plugin-workflow to enable"')
25924
+ message: zod.z.string().optional().describe('e.g. "Install plugin-workflow to enable"'),
25925
+ /** Rate limit configuration for this service */
25926
+ rateLimit: zod.z.object({
25927
+ requestsPerMinute: zod.z.number().int().optional().describe("Maximum requests per minute"),
25928
+ requestsPerHour: zod.z.number().int().optional().describe("Maximum requests per hour"),
25929
+ burstLimit: zod.z.number().int().optional().describe("Maximum burst request count"),
25930
+ retryAfterMs: zod.z.number().int().optional().describe("Suggested retry-after delay in milliseconds when rate-limited")
25931
+ }).optional().describe("Rate limit and quota info for this service")
25446
25932
  });
25447
25933
  var ApiRoutesSchema = zod.z.object({
25448
25934
  /** Base URL for Object CRUD (Data Protocol) */
@@ -25496,11 +25982,46 @@ var DiscoverySchema = zod.z.object({
25496
25982
  services: zod.z.record(zod.z.string(), ServiceInfoSchema).describe(
25497
25983
  "Per-service availability map keyed by CoreServiceName"
25498
25984
  ),
25985
+ /**
25986
+ * Hierarchical capability descriptors.
25987
+ * Declares platform features so clients can adapt UI without probing individual services.
25988
+ * Each key is a capability domain (e.g., "comments", "automation", "search"),
25989
+ * and its value describes what sub-features are available.
25990
+ */
25991
+ capabilities: zod.z.record(zod.z.string(), zod.z.object({
25992
+ enabled: zod.z.boolean().describe("Whether this capability is available"),
25993
+ features: zod.z.record(zod.z.string(), zod.z.boolean()).optional().describe("Sub-feature flags within this capability"),
25994
+ description: zod.z.string().optional().describe("Human-readable capability description")
25995
+ })).optional().describe("Hierarchical capability descriptors for frontend intelligent adaptation"),
25996
+ /**
25997
+ * Schema discovery URLs for cross-ecosystem interoperability.
25998
+ */
25999
+ schemaDiscovery: zod.z.object({
26000
+ openapi: zod.z.string().optional().describe('URL to OpenAPI (Swagger) specification (e.g., "/api/v1/openapi.json")'),
26001
+ graphql: zod.z.string().optional().describe('URL to GraphQL schema endpoint (e.g., "/graphql")'),
26002
+ jsonSchema: zod.z.string().optional().describe("URL to JSON Schema definitions")
26003
+ }).optional().describe("Schema discovery endpoints for API toolchain integration"),
25499
26004
  /**
25500
26005
  * Custom metadata key-value pairs for extensibility
25501
26006
  */
25502
26007
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Custom metadata key-value pairs for extensibility")
25503
26008
  });
26009
+ var WellKnownCapabilitiesSchema = zod.z.object({
26010
+ /** Whether the backend supports Feed / Chatter API */
26011
+ feed: zod.z.boolean().describe("Whether the backend supports Feed / Chatter API"),
26012
+ /** Whether the backend supports comments (a subset of Feed) */
26013
+ comments: zod.z.boolean().describe("Whether the backend supports comments (a subset of Feed)"),
26014
+ /** Whether the backend supports Automation CRUD (flows, triggers) */
26015
+ automation: zod.z.boolean().describe("Whether the backend supports Automation CRUD (flows, triggers)"),
26016
+ /** Whether the backend supports cron scheduling */
26017
+ cron: zod.z.boolean().describe("Whether the backend supports cron scheduling"),
26018
+ /** Whether the backend supports full-text search */
26019
+ search: zod.z.boolean().describe("Whether the backend supports full-text search"),
26020
+ /** Whether the backend supports async export */
26021
+ export: zod.z.boolean().describe("Whether the backend supports async export"),
26022
+ /** Whether the backend supports chunked (multipart) uploads */
26023
+ chunkedUpload: zod.z.boolean().describe("Whether the backend supports chunked (multipart) uploads")
26024
+ }).describe("Well-known capability flags for frontend intelligent adaptation");
25504
26025
  var PresenceStatus = zod.z.enum([
25505
26026
  "online",
25506
26027
  // User is actively connected
@@ -27396,7 +27917,8 @@ var GetDiscoveryResponseSchema = zod.z.object({
27396
27917
  version: zod.z.string().describe('API version (e.g., "v1", "2024-01")'),
27397
27918
  apiName: zod.z.string().describe("API name"),
27398
27919
  routes: ApiRoutesSchema.optional().describe("Available endpoint paths"),
27399
- services: zod.z.record(zod.z.string(), ServiceInfoSchema).optional().describe("Per-service availability map")
27920
+ services: zod.z.record(zod.z.string(), ServiceInfoSchema).optional().describe("Per-service availability map"),
27921
+ capabilities: WellKnownCapabilitiesSchema.optional().describe("Well-known capability flags for frontend adaptation")
27400
27922
  });
27401
27923
  var GetMetaTypesRequestSchema = zod.z.object({});
27402
27924
  var GetMetaTypesResponseSchema = zod.z.object({
@@ -27446,6 +27968,7 @@ var FindDataResponseSchema = zod.z.object({
27446
27968
  object: zod.z.string().describe("The object name for the returned records."),
27447
27969
  records: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The list of matching records."),
27448
27970
  total: zod.z.number().optional().describe("Total number of records matching the filter (if requested)."),
27971
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page of results (cursor-based pagination)."),
27449
27972
  hasMore: zod.z.boolean().optional().describe("True if there are more records available (pagination).")
27450
27973
  });
27451
27974
  var GetDataRequestSchema = zod.z.object({
@@ -27920,7 +28443,22 @@ var ObjectStackProtocolSchema = zod.z.object({
27920
28443
  // i18n Operations
27921
28444
  getLocales: zod.z.function().describe("Get available locales"),
27922
28445
  getTranslations: zod.z.function().describe("Get translations for a locale"),
27923
- getFieldLabels: zod.z.function().describe("Get translated field labels for an object")
28446
+ getFieldLabels: zod.z.function().describe("Get translated field labels for an object"),
28447
+ // Feed Operations
28448
+ listFeed: zod.z.function().describe("List feed items for a record"),
28449
+ createFeedItem: zod.z.function().describe("Create a new feed item"),
28450
+ updateFeedItem: zod.z.function().describe("Update an existing feed item"),
28451
+ deleteFeedItem: zod.z.function().describe("Delete a feed item"),
28452
+ addReaction: zod.z.function().describe("Add an emoji reaction to a feed item"),
28453
+ removeReaction: zod.z.function().describe("Remove an emoji reaction from a feed item"),
28454
+ pinFeedItem: zod.z.function().describe("Pin a feed item"),
28455
+ unpinFeedItem: zod.z.function().describe("Unpin a feed item"),
28456
+ starFeedItem: zod.z.function().describe("Star a feed item"),
28457
+ unstarFeedItem: zod.z.function().describe("Unstar a feed item"),
28458
+ searchFeed: zod.z.function().describe("Search feed items"),
28459
+ getChangelog: zod.z.function().describe("Get field-level changelog for a record"),
28460
+ feedSubscribe: zod.z.function().describe("Subscribe to record notifications"),
28461
+ feedUnsubscribe: zod.z.function().describe("Unsubscribe from record notifications")
27924
28462
  });
27925
28463
  var RestApiConfigSchema = zod.z.object({
27926
28464
  /**
@@ -29210,6 +29748,113 @@ var PresignedUrlResponseSchema = BaseResponseSchema.extend({
29210
29748
  var FileUploadResponseSchema = BaseResponseSchema.extend({
29211
29749
  data: FileMetadataSchema.describe("Uploaded file metadata")
29212
29750
  });
29751
+ var FileTypeValidationSchema = zod.z.object({
29752
+ mode: zod.z.enum(["whitelist", "blacklist"]).describe("whitelist = only allow listed types, blacklist = block listed types"),
29753
+ mimeTypes: zod.z.array(zod.z.string()).min(1).describe('List of MIME types to allow or block (e.g., "image/jpeg", "application/pdf")'),
29754
+ extensions: zod.z.array(zod.z.string()).optional().describe('List of file extensions to allow or block (e.g., ".jpg", ".pdf")'),
29755
+ maxFileSize: zod.z.number().int().min(1).optional().describe("Maximum file size in bytes"),
29756
+ minFileSize: zod.z.number().int().min(0).optional().describe("Minimum file size in bytes (e.g., reject empty files)")
29757
+ });
29758
+ var InitiateChunkedUploadRequestSchema = zod.z.object({
29759
+ filename: zod.z.string().describe("Original filename"),
29760
+ mimeType: zod.z.string().describe("File MIME type"),
29761
+ totalSize: zod.z.number().int().min(1).describe("Total file size in bytes"),
29762
+ chunkSize: zod.z.number().int().min(5242880).default(5242880).describe("Size of each chunk in bytes (minimum 5MB per S3 spec)"),
29763
+ scope: zod.z.string().default("user").describe("Target storage scope"),
29764
+ bucket: zod.z.string().optional().describe("Specific bucket override (admin only)"),
29765
+ metadata: zod.z.record(zod.z.string(), zod.z.string()).optional().describe("Custom metadata key-value pairs")
29766
+ });
29767
+ var InitiateChunkedUploadResponseSchema = BaseResponseSchema.extend({
29768
+ data: zod.z.object({
29769
+ uploadId: zod.z.string().describe("Multipart upload session ID"),
29770
+ resumeToken: zod.z.string().describe("Opaque token for resuming interrupted uploads"),
29771
+ fileId: zod.z.string().describe("Assigned file ID"),
29772
+ totalChunks: zod.z.number().int().min(1).describe("Expected number of chunks"),
29773
+ chunkSize: zod.z.number().int().describe("Chunk size in bytes"),
29774
+ expiresAt: zod.z.string().datetime().describe("Upload session expiration timestamp")
29775
+ })
29776
+ });
29777
+ var UploadChunkRequestSchema = zod.z.object({
29778
+ uploadId: zod.z.string().describe("Multipart upload session ID"),
29779
+ chunkIndex: zod.z.number().int().min(0).describe("Zero-based chunk index"),
29780
+ resumeToken: zod.z.string().describe("Resume token from initiate response")
29781
+ });
29782
+ var UploadChunkResponseSchema = BaseResponseSchema.extend({
29783
+ data: zod.z.object({
29784
+ chunkIndex: zod.z.number().int().describe("Chunk index that was uploaded"),
29785
+ eTag: zod.z.string().describe("Chunk ETag for multipart completion"),
29786
+ bytesReceived: zod.z.number().int().describe("Bytes received for this chunk")
29787
+ })
29788
+ });
29789
+ var CompleteChunkedUploadRequestSchema = zod.z.object({
29790
+ uploadId: zod.z.string().describe("Multipart upload session ID"),
29791
+ parts: zod.z.array(zod.z.object({
29792
+ chunkIndex: zod.z.number().int().describe("Chunk index"),
29793
+ eTag: zod.z.string().describe("ETag returned from chunk upload")
29794
+ })).min(1).describe("Ordered list of uploaded parts for assembly")
29795
+ });
29796
+ var CompleteChunkedUploadResponseSchema = BaseResponseSchema.extend({
29797
+ data: zod.z.object({
29798
+ fileId: zod.z.string().describe("Final file ID"),
29799
+ key: zod.z.string().describe("Storage key/path of the assembled file"),
29800
+ size: zod.z.number().int().describe("Total file size in bytes"),
29801
+ mimeType: zod.z.string().describe("File MIME type"),
29802
+ eTag: zod.z.string().optional().describe("Final ETag of the assembled file"),
29803
+ url: zod.z.string().optional().describe("Download URL for the assembled file")
29804
+ })
29805
+ });
29806
+ var UploadProgressSchema = BaseResponseSchema.extend({
29807
+ data: zod.z.object({
29808
+ uploadId: zod.z.string().describe("Multipart upload session ID"),
29809
+ fileId: zod.z.string().describe("Assigned file ID"),
29810
+ filename: zod.z.string().describe("Original filename"),
29811
+ totalSize: zod.z.number().int().describe("Total file size in bytes"),
29812
+ uploadedSize: zod.z.number().int().describe("Bytes uploaded so far"),
29813
+ totalChunks: zod.z.number().int().describe("Total expected chunks"),
29814
+ uploadedChunks: zod.z.number().int().describe("Number of chunks uploaded"),
29815
+ percentComplete: zod.z.number().min(0).max(100).describe("Upload progress percentage"),
29816
+ status: zod.z.enum(["in_progress", "completing", "completed", "failed", "expired"]).describe("Current upload session status"),
29817
+ startedAt: zod.z.string().datetime().describe("Upload session start timestamp"),
29818
+ expiresAt: zod.z.string().datetime().describe("Session expiration timestamp")
29819
+ })
29820
+ });
29821
+ var StorageApiContracts = {
29822
+ getPresignedUrl: {
29823
+ method: "POST",
29824
+ path: "/api/v1/storage/upload/presigned",
29825
+ input: GetPresignedUrlRequestSchema,
29826
+ output: PresignedUrlResponseSchema
29827
+ },
29828
+ completeUpload: {
29829
+ method: "POST",
29830
+ path: "/api/v1/storage/upload/complete",
29831
+ input: CompleteUploadRequestSchema,
29832
+ output: FileUploadResponseSchema
29833
+ },
29834
+ initiateChunkedUpload: {
29835
+ method: "POST",
29836
+ path: "/api/v1/storage/upload/chunked",
29837
+ input: InitiateChunkedUploadRequestSchema,
29838
+ output: InitiateChunkedUploadResponseSchema
29839
+ },
29840
+ uploadChunk: {
29841
+ method: "PUT",
29842
+ path: "/api/v1/storage/upload/chunked/:uploadId/chunk/:chunkIndex",
29843
+ input: UploadChunkRequestSchema,
29844
+ output: UploadChunkResponseSchema
29845
+ },
29846
+ completeChunkedUpload: {
29847
+ method: "POST",
29848
+ path: "/api/v1/storage/upload/chunked/:uploadId/complete",
29849
+ input: CompleteChunkedUploadRequestSchema,
29850
+ output: CompleteChunkedUploadResponseSchema
29851
+ },
29852
+ getUploadProgress: {
29853
+ method: "GET",
29854
+ path: "/api/v1/storage/upload/chunked/:uploadId/progress",
29855
+ output: UploadProgressSchema
29856
+ }
29857
+ };
29213
29858
  var ObjectDefinitionResponseSchema = BaseResponseSchema.extend({
29214
29859
  data: ObjectSchema.describe("Full Object Schema")
29215
29860
  });
@@ -30851,6 +31496,85 @@ var RemoveReactionResponseSchema = BaseResponseSchema.extend({
30851
31496
  reactions: zod.z.array(ReactionSchema).describe("Updated reaction list for the feed item")
30852
31497
  })
30853
31498
  });
31499
+ var PinFeedItemRequestSchema = FeedItemPathParamsSchema;
31500
+ var PinFeedItemResponseSchema = BaseResponseSchema.extend({
31501
+ data: zod.z.object({
31502
+ feedId: zod.z.string().describe("ID of the pinned feed item"),
31503
+ pinned: zod.z.boolean().describe("Whether the item is now pinned"),
31504
+ pinnedAt: zod.z.string().datetime().describe("Timestamp when pinned")
31505
+ })
31506
+ });
31507
+ var UnpinFeedItemRequestSchema = FeedItemPathParamsSchema;
31508
+ var UnpinFeedItemResponseSchema = BaseResponseSchema.extend({
31509
+ data: zod.z.object({
31510
+ feedId: zod.z.string().describe("ID of the unpinned feed item"),
31511
+ pinned: zod.z.boolean().describe("Whether the item is now pinned (should be false)")
31512
+ })
31513
+ });
31514
+ var StarFeedItemRequestSchema = FeedItemPathParamsSchema;
31515
+ var StarFeedItemResponseSchema = BaseResponseSchema.extend({
31516
+ data: zod.z.object({
31517
+ feedId: zod.z.string().describe("ID of the starred feed item"),
31518
+ starred: zod.z.boolean().describe("Whether the item is now starred"),
31519
+ starredAt: zod.z.string().datetime().describe("Timestamp when starred")
31520
+ })
31521
+ });
31522
+ var UnstarFeedItemRequestSchema = FeedItemPathParamsSchema;
31523
+ var UnstarFeedItemResponseSchema = BaseResponseSchema.extend({
31524
+ data: zod.z.object({
31525
+ feedId: zod.z.string().describe("ID of the unstarred feed item"),
31526
+ starred: zod.z.boolean().describe("Whether the item is now starred (should be false)")
31527
+ })
31528
+ });
31529
+ var SearchFeedRequestSchema = FeedPathParamsSchema.extend({
31530
+ query: zod.z.string().min(1).describe("Full-text search query against feed body content"),
31531
+ type: FeedListFilterType.optional().describe("Filter by feed item category"),
31532
+ actorId: zod.z.string().optional().describe("Filter by actor user ID"),
31533
+ dateFrom: zod.z.string().datetime().optional().describe("Filter feed items created after this timestamp"),
31534
+ dateTo: zod.z.string().datetime().optional().describe("Filter feed items created before this timestamp"),
31535
+ hasAttachments: zod.z.boolean().optional().describe("Filter for items with file attachments"),
31536
+ pinnedOnly: zod.z.boolean().optional().describe("Return only pinned items"),
31537
+ starredOnly: zod.z.boolean().optional().describe("Return only starred items"),
31538
+ limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of items to return"),
31539
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
31540
+ });
31541
+ var SearchFeedResponseSchema = BaseResponseSchema.extend({
31542
+ data: zod.z.object({
31543
+ items: zod.z.array(FeedItemSchema).describe("Matching feed items sorted by relevance"),
31544
+ total: zod.z.number().int().optional().describe("Total matching items"),
31545
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
31546
+ hasMore: zod.z.boolean().describe("Whether more items are available")
31547
+ })
31548
+ });
31549
+ var GetChangelogRequestSchema = FeedPathParamsSchema.extend({
31550
+ field: zod.z.string().optional().describe("Filter changelog to a specific field name"),
31551
+ actorId: zod.z.string().optional().describe("Filter changelog by actor user ID"),
31552
+ dateFrom: zod.z.string().datetime().optional().describe("Filter changes after this timestamp"),
31553
+ dateTo: zod.z.string().datetime().optional().describe("Filter changes before this timestamp"),
31554
+ limit: zod.z.number().int().min(1).max(200).default(50).describe("Maximum number of changelog entries to return"),
31555
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
31556
+ });
31557
+ var ChangelogEntrySchema = zod.z.object({
31558
+ id: zod.z.string().describe("Changelog entry ID"),
31559
+ object: zod.z.string().describe("Object name"),
31560
+ recordId: zod.z.string().describe("Record ID"),
31561
+ actor: zod.z.object({
31562
+ type: zod.z.enum(["user", "system", "service", "automation"]).describe("Actor type"),
31563
+ id: zod.z.string().describe("Actor ID"),
31564
+ name: zod.z.string().optional().describe("Actor display name")
31565
+ }).describe("Who made the change"),
31566
+ changes: zod.z.array(FieldChangeEntrySchema).min(1).describe("Field-level changes"),
31567
+ timestamp: zod.z.string().datetime().describe("When the change occurred"),
31568
+ source: zod.z.string().optional().describe('Change source (e.g., "API", "UI", "automation")')
31569
+ });
31570
+ var GetChangelogResponseSchema = BaseResponseSchema.extend({
31571
+ data: zod.z.object({
31572
+ entries: zod.z.array(ChangelogEntrySchema).describe("Changelog entries in reverse chronological order"),
31573
+ total: zod.z.number().int().optional().describe("Total changelog entries matching filter"),
31574
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
31575
+ hasMore: zod.z.boolean().describe("Whether more entries are available")
31576
+ })
31577
+ });
30854
31578
  var SubscribeRequestSchema = FeedPathParamsSchema.extend({
30855
31579
  events: zod.z.array(SubscriptionEventType).default(["all"]).describe("Event types to subscribe to"),
30856
31580
  channels: zod.z.array(NotificationChannel).default(["in_app"]).describe("Notification delivery channels")
@@ -30875,7 +31599,12 @@ var FeedApiErrorCode = zod.z.enum([
30875
31599
  "reaction_not_found",
30876
31600
  "subscription_already_exists",
30877
31601
  "subscription_not_found",
30878
- "invalid_feed_type"
31602
+ "invalid_feed_type",
31603
+ "feed_already_pinned",
31604
+ "feed_not_pinned",
31605
+ "feed_already_starred",
31606
+ "feed_not_starred",
31607
+ "feed_search_query_too_short"
30879
31608
  ]);
30880
31609
  var FeedApiContracts = {
30881
31610
  listFeed: {
@@ -30914,6 +31643,42 @@ var FeedApiContracts = {
30914
31643
  input: RemoveReactionRequestSchema,
30915
31644
  output: RemoveReactionResponseSchema
30916
31645
  },
31646
+ pinFeedItem: {
31647
+ method: "POST",
31648
+ path: "/api/data/:object/:recordId/feed/:feedId/pin",
31649
+ input: PinFeedItemRequestSchema,
31650
+ output: PinFeedItemResponseSchema
31651
+ },
31652
+ unpinFeedItem: {
31653
+ method: "DELETE",
31654
+ path: "/api/data/:object/:recordId/feed/:feedId/pin",
31655
+ input: UnpinFeedItemRequestSchema,
31656
+ output: UnpinFeedItemResponseSchema
31657
+ },
31658
+ starFeedItem: {
31659
+ method: "POST",
31660
+ path: "/api/data/:object/:recordId/feed/:feedId/star",
31661
+ input: StarFeedItemRequestSchema,
31662
+ output: StarFeedItemResponseSchema
31663
+ },
31664
+ unstarFeedItem: {
31665
+ method: "DELETE",
31666
+ path: "/api/data/:object/:recordId/feed/:feedId/star",
31667
+ input: UnstarFeedItemRequestSchema,
31668
+ output: UnstarFeedItemResponseSchema
31669
+ },
31670
+ searchFeed: {
31671
+ method: "GET",
31672
+ path: "/api/data/:object/:recordId/feed/search",
31673
+ input: SearchFeedRequestSchema,
31674
+ output: SearchFeedResponseSchema
31675
+ },
31676
+ getChangelog: {
31677
+ method: "GET",
31678
+ path: "/api/data/:object/:recordId/changelog",
31679
+ input: GetChangelogRequestSchema,
31680
+ output: GetChangelogResponseSchema
31681
+ },
30917
31682
  subscribe: {
30918
31683
  method: "POST",
30919
31684
  path: "/api/data/:object/:recordId/subscribe",
@@ -30927,74 +31692,256 @@ var FeedApiContracts = {
30927
31692
  output: UnsubscribeResponseSchema
30928
31693
  }
30929
31694
  };
30930
-
30931
- // src/automation/index.ts
30932
- var automation_exports = {};
30933
- __export(automation_exports, {
30934
- ActionRefSchema: () => ActionRefSchema,
30935
- ApprovalActionSchema: () => ApprovalActionSchema,
30936
- ApprovalActionType: () => ApprovalActionType,
30937
- ApprovalProcess: () => ApprovalProcess,
30938
- ApprovalProcessSchema: () => ApprovalProcessSchema,
30939
- ApprovalStepSchema: () => ApprovalStepSchema,
30940
- ApproverType: () => ApproverType,
30941
- AuthFieldSchema: () => AuthFieldSchema,
30942
- AuthenticationSchema: () => AuthenticationSchema,
30943
- AuthenticationTypeSchema: () => AuthenticationTypeSchema,
30944
- ConflictResolutionSchema: () => ConflictResolutionSchema2,
30945
- Connector: () => Connector,
30946
- ConnectorActionRefSchema: () => ConnectorActionRefSchema,
30947
- ConnectorCategorySchema: () => ConnectorCategorySchema,
30948
- ConnectorInstanceSchema: () => ConnectorInstanceSchema,
30949
- ConnectorOperationSchema: () => ConnectorOperationSchema,
30950
- ConnectorSchema: () => ConnectorSchema,
30951
- ConnectorTriggerSchema: () => ConnectorTriggerSchema,
30952
- CustomScriptActionSchema: () => CustomScriptActionSchema,
30953
- DataDestinationConfigSchema: () => DataDestinationConfigSchema,
30954
- DataSourceConfigSchema: () => DataSourceConfigSchema,
30955
- DataSyncConfigSchema: () => DataSyncConfigSchema,
30956
- ETL: () => ETL,
30957
- ETLDestinationSchema: () => ETLDestinationSchema,
30958
- ETLEndpointTypeSchema: () => ETLEndpointTypeSchema,
30959
- ETLPipelineRunSchema: () => ETLPipelineRunSchema,
30960
- ETLPipelineSchema: () => ETLPipelineSchema,
30961
- ETLRunStatusSchema: () => ETLRunStatusSchema,
30962
- ETLSourceSchema: () => ETLSourceSchema,
30963
- ETLSyncModeSchema: () => ETLSyncModeSchema,
30964
- ETLTransformationSchema: () => ETLTransformationSchema,
30965
- ETLTransformationTypeSchema: () => ETLTransformationTypeSchema,
30966
- EmailAlertActionSchema: () => EmailAlertActionSchema,
30967
- EventSchema: () => EventSchema,
30968
- FieldUpdateActionSchema: () => FieldUpdateActionSchema,
30969
- FlowEdgeSchema: () => FlowEdgeSchema,
30970
- FlowNodeAction: () => FlowNodeAction,
30971
- FlowNodeSchema: () => FlowNodeSchema,
30972
- FlowSchema: () => FlowSchema,
30973
- FlowVariableSchema: () => FlowVariableSchema,
30974
- GuardRefSchema: () => GuardRefSchema,
30975
- HttpCallActionSchema: () => HttpCallActionSchema,
30976
- OAuth2ConfigSchema: () => OAuth2ConfigSchema,
30977
- OperationParameterSchema: () => OperationParameterSchema,
30978
- OperationTypeSchema: () => OperationTypeSchema,
30979
- PushNotificationActionSchema: () => PushNotificationActionSchema,
30980
- StateMachineSchema: () => StateMachineSchema,
30981
- StateNodeSchema: () => StateNodeSchema,
30982
- Sync: () => Sync,
30983
- SyncDirectionSchema: () => SyncDirectionSchema,
30984
- SyncExecutionResultSchema: () => SyncExecutionResultSchema,
30985
- SyncExecutionStatusSchema: () => SyncExecutionStatusSchema,
30986
- SyncModeSchema: () => SyncModeSchema,
30987
- TaskCreationActionSchema: () => TaskCreationActionSchema,
30988
- TimeTriggerSchema: () => TimeTriggerSchema,
30989
- TransitionSchema: () => TransitionSchema,
30990
- WebhookReceiverSchema: () => WebhookReceiverSchema,
30991
- WebhookSchema: () => WebhookSchema,
30992
- WebhookTriggerType: () => WebhookTriggerType,
30993
- WorkflowActionSchema: () => WorkflowActionSchema,
30994
- WorkflowRuleSchema: () => WorkflowRuleSchema,
30995
- WorkflowTriggerType: () => WorkflowTriggerType,
30996
- defineFlow: () => defineFlow
31695
+ var ExportFormat = zod.z.enum([
31696
+ "csv",
31697
+ "json",
31698
+ "jsonl",
31699
+ "xlsx",
31700
+ "parquet"
31701
+ ]);
31702
+ var ExportJobStatus = zod.z.enum([
31703
+ "pending",
31704
+ "processing",
31705
+ "completed",
31706
+ "failed",
31707
+ "cancelled",
31708
+ "expired"
31709
+ ]);
31710
+ var CreateExportJobRequestSchema = zod.z.object({
31711
+ object: zod.z.string().describe("Object name to export"),
31712
+ format: ExportFormat.default("csv").describe("Export file format"),
31713
+ fields: zod.z.array(zod.z.string()).optional().describe("Specific fields to include (omit for all fields)"),
31714
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Filter criteria for records to export"),
31715
+ sort: zod.z.array(zod.z.object({
31716
+ field: zod.z.string().describe("Field name to sort by"),
31717
+ direction: zod.z.enum(["asc", "desc"]).default("asc").describe("Sort direction")
31718
+ })).optional().describe("Sort order for exported records"),
31719
+ limit: zod.z.number().int().min(1).optional().describe("Maximum number of records to export"),
31720
+ includeHeaders: zod.z.boolean().default(true).describe("Include header row (CSV/XLSX)"),
31721
+ encoding: zod.z.string().default("utf-8").describe("Character encoding for the export file"),
31722
+ templateId: zod.z.string().optional().describe("Export template ID for predefined field mappings")
31723
+ });
31724
+ var CreateExportJobResponseSchema = BaseResponseSchema.extend({
31725
+ data: zod.z.object({
31726
+ jobId: zod.z.string().describe("Export job ID"),
31727
+ status: ExportJobStatus.describe("Initial job status"),
31728
+ estimatedRecords: zod.z.number().int().optional().describe("Estimated total records"),
31729
+ createdAt: zod.z.string().datetime().describe("Job creation timestamp")
31730
+ })
31731
+ });
31732
+ var ExportJobProgressSchema = BaseResponseSchema.extend({
31733
+ data: zod.z.object({
31734
+ jobId: zod.z.string().describe("Export job ID"),
31735
+ status: ExportJobStatus.describe("Current job status"),
31736
+ format: ExportFormat.describe("Export format"),
31737
+ totalRecords: zod.z.number().int().optional().describe("Total records to export"),
31738
+ processedRecords: zod.z.number().int().describe("Records processed so far"),
31739
+ percentComplete: zod.z.number().min(0).max(100).describe("Export progress percentage"),
31740
+ fileSize: zod.z.number().int().optional().describe("Current file size in bytes"),
31741
+ downloadUrl: zod.z.string().optional().describe('Presigned download URL (available when status is "completed")'),
31742
+ downloadExpiresAt: zod.z.string().datetime().optional().describe("Download URL expiration timestamp"),
31743
+ error: zod.z.object({
31744
+ code: zod.z.string().describe("Error code"),
31745
+ message: zod.z.string().describe("Error message")
31746
+ }).optional().describe("Error details if job failed"),
31747
+ startedAt: zod.z.string().datetime().optional().describe("Processing start timestamp"),
31748
+ completedAt: zod.z.string().datetime().optional().describe("Completion timestamp")
31749
+ })
31750
+ });
31751
+ var ImportValidationMode = zod.z.enum([
31752
+ "strict",
31753
+ // Reject entire import on any validation error
31754
+ "lenient",
31755
+ // Skip invalid records, import valid ones
31756
+ "dry_run"
31757
+ // Validate all records without persisting
31758
+ ]);
31759
+ var DeduplicationStrategy = zod.z.enum([
31760
+ "skip",
31761
+ // Skip duplicates (keep existing)
31762
+ "update",
31763
+ // Update existing with import data
31764
+ "create_new",
31765
+ // Create new record even if duplicate
31766
+ "fail"
31767
+ // Fail the import if duplicates found
31768
+ ]);
31769
+ var ImportValidationConfigSchema = zod.z.object({
31770
+ mode: ImportValidationMode.default("strict").describe("Validation mode for the import"),
31771
+ deduplication: zod.z.object({
31772
+ strategy: DeduplicationStrategy.default("skip").describe("How to handle duplicate records"),
31773
+ matchFields: zod.z.array(zod.z.string()).min(1).describe('Fields used to identify duplicates (e.g., "email", "external_id")')
31774
+ }).optional().describe("Deduplication configuration"),
31775
+ maxErrors: zod.z.number().int().min(1).default(100).describe("Maximum validation errors before aborting"),
31776
+ trimWhitespace: zod.z.boolean().default(true).describe("Trim leading/trailing whitespace from string fields"),
31777
+ dateFormat: zod.z.string().optional().describe('Expected date format in import data (e.g., "YYYY-MM-DD")'),
31778
+ nullValues: zod.z.array(zod.z.string()).optional().describe('Strings to treat as null (e.g., ["", "N/A", "null"])')
31779
+ });
31780
+ var ImportValidationResultSchema = BaseResponseSchema.extend({
31781
+ data: zod.z.object({
31782
+ totalRecords: zod.z.number().int().describe("Total records in import file"),
31783
+ validRecords: zod.z.number().int().describe("Records that passed validation"),
31784
+ invalidRecords: zod.z.number().int().describe("Records that failed validation"),
31785
+ duplicateRecords: zod.z.number().int().describe("Duplicate records detected"),
31786
+ errors: zod.z.array(zod.z.object({
31787
+ row: zod.z.number().int().describe("Row number in the import file"),
31788
+ field: zod.z.string().optional().describe("Field that failed validation"),
31789
+ code: zod.z.string().describe("Validation error code"),
31790
+ message: zod.z.string().describe("Validation error message")
31791
+ })).describe("List of validation errors"),
31792
+ 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)")
31793
+ })
31794
+ });
31795
+ var FieldMappingEntrySchema = zod.z.object({
31796
+ sourceField: zod.z.string().describe("Field name in the source data (import) or object (export)"),
31797
+ targetField: zod.z.string().describe("Field name in the target object (import) or file column (export)"),
31798
+ targetLabel: zod.z.string().optional().describe("Display label for the target column (export)"),
31799
+ transform: zod.z.enum(["none", "uppercase", "lowercase", "trim", "date_format", "lookup"]).default("none").describe("Transformation to apply during mapping"),
31800
+ defaultValue: zod.z.unknown().optional().describe("Default value if source field is null/empty"),
31801
+ required: zod.z.boolean().default(false).describe("Whether this field is required (import validation)")
31802
+ });
31803
+ var ExportImportTemplateSchema = zod.z.object({
31804
+ id: zod.z.string().optional().describe("Template ID (generated on save)"),
31805
+ name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Template machine name (snake_case)"),
31806
+ label: zod.z.string().describe("Human-readable template label"),
31807
+ description: zod.z.string().optional().describe("Template description"),
31808
+ object: zod.z.string().describe("Target object name"),
31809
+ direction: zod.z.enum(["import", "export", "bidirectional"]).describe("Template direction"),
31810
+ format: ExportFormat.optional().describe("Default file format for this template"),
31811
+ mappings: zod.z.array(FieldMappingEntrySchema).min(1).describe("Field mapping entries"),
31812
+ createdAt: zod.z.string().datetime().optional().describe("Template creation timestamp"),
31813
+ updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
31814
+ createdBy: zod.z.string().optional().describe("User who created the template")
31815
+ });
31816
+ var ScheduledExportSchema = zod.z.object({
31817
+ id: zod.z.string().optional().describe("Scheduled export ID"),
31818
+ name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Schedule name (snake_case)"),
31819
+ label: zod.z.string().optional().describe("Human-readable label"),
31820
+ object: zod.z.string().describe("Object name to export"),
31821
+ format: ExportFormat.default("csv").describe("Export file format"),
31822
+ fields: zod.z.array(zod.z.string()).optional().describe("Fields to include"),
31823
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record filter criteria"),
31824
+ templateId: zod.z.string().optional().describe("Export template ID for field mappings"),
31825
+ schedule: zod.z.object({
31826
+ cronExpression: zod.z.string().describe("Cron expression for schedule"),
31827
+ timezone: zod.z.string().default("UTC").describe("IANA timezone")
31828
+ }).describe("Schedule timing configuration"),
31829
+ delivery: zod.z.object({
31830
+ method: zod.z.enum(["email", "storage", "webhook"]).describe("How to deliver the export file"),
31831
+ recipients: zod.z.array(zod.z.string()).optional().describe("Email recipients (for email delivery)"),
31832
+ storagePath: zod.z.string().optional().describe("Storage path (for storage delivery)"),
31833
+ webhookUrl: zod.z.string().optional().describe("Webhook URL (for webhook delivery)")
31834
+ }).describe("Export delivery configuration"),
31835
+ enabled: zod.z.boolean().default(true).describe("Whether the scheduled export is active"),
31836
+ lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp"),
31837
+ nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution"),
31838
+ createdAt: zod.z.string().datetime().optional().describe("Creation timestamp"),
31839
+ createdBy: zod.z.string().optional().describe("User who created the schedule")
31840
+ });
31841
+ var GetExportJobDownloadRequestSchema = zod.z.object({
31842
+ jobId: zod.z.string().describe("Export job ID")
31843
+ });
31844
+ var GetExportJobDownloadResponseSchema = BaseResponseSchema.extend({
31845
+ data: zod.z.object({
31846
+ jobId: zod.z.string().describe("Export job ID"),
31847
+ downloadUrl: zod.z.string().describe("Presigned download URL"),
31848
+ fileName: zod.z.string().describe("Suggested file name"),
31849
+ fileSize: zod.z.number().int().describe("File size in bytes"),
31850
+ format: ExportFormat.describe("Export file format"),
31851
+ expiresAt: zod.z.string().datetime().describe("Download URL expiration timestamp"),
31852
+ checksum: zod.z.string().optional().describe("File checksum (SHA-256)")
31853
+ })
31854
+ });
31855
+ var ListExportJobsRequestSchema = zod.z.object({
31856
+ object: zod.z.string().optional().describe("Filter by object name"),
31857
+ status: ExportJobStatus.optional().describe("Filter by job status"),
31858
+ limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of jobs to return"),
31859
+ cursor: zod.z.string().optional().describe("Pagination cursor from a previous response")
31860
+ });
31861
+ var ExportJobSummarySchema = zod.z.object({
31862
+ jobId: zod.z.string().describe("Export job ID"),
31863
+ object: zod.z.string().describe("Object name that was exported"),
31864
+ status: ExportJobStatus.describe("Current job status"),
31865
+ format: ExportFormat.describe("Export file format"),
31866
+ totalRecords: zod.z.number().int().optional().describe("Total records exported"),
31867
+ fileSize: zod.z.number().int().optional().describe("File size in bytes"),
31868
+ createdAt: zod.z.string().datetime().describe("Job creation timestamp"),
31869
+ completedAt: zod.z.string().datetime().optional().describe("Completion timestamp"),
31870
+ createdBy: zod.z.string().optional().describe("User who initiated the export")
31871
+ });
31872
+ var ListExportJobsResponseSchema = BaseResponseSchema.extend({
31873
+ data: zod.z.object({
31874
+ jobs: zod.z.array(ExportJobSummarySchema).describe("List of export jobs"),
31875
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
31876
+ hasMore: zod.z.boolean().describe("Whether more jobs are available")
31877
+ })
30997
31878
  });
31879
+ var ScheduleExportRequestSchema = zod.z.object({
31880
+ name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Schedule name (snake_case)"),
31881
+ label: zod.z.string().optional().describe("Human-readable label"),
31882
+ object: zod.z.string().describe("Object name to export"),
31883
+ format: ExportFormat.default("csv").describe("Export file format"),
31884
+ fields: zod.z.array(zod.z.string()).optional().describe("Fields to include"),
31885
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record filter criteria"),
31886
+ templateId: zod.z.string().optional().describe("Export template ID for field mappings"),
31887
+ schedule: zod.z.object({
31888
+ cronExpression: zod.z.string().describe("Cron expression for schedule"),
31889
+ timezone: zod.z.string().default("UTC").describe("IANA timezone")
31890
+ }).describe("Schedule timing configuration"),
31891
+ delivery: zod.z.object({
31892
+ method: zod.z.enum(["email", "storage", "webhook"]).describe("How to deliver the export file"),
31893
+ recipients: zod.z.array(zod.z.string()).optional().describe("Email recipients (for email delivery)"),
31894
+ storagePath: zod.z.string().optional().describe("Storage path (for storage delivery)"),
31895
+ webhookUrl: zod.z.string().optional().describe("Webhook URL (for webhook delivery)")
31896
+ }).describe("Export delivery configuration")
31897
+ });
31898
+ var ScheduleExportResponseSchema = BaseResponseSchema.extend({
31899
+ data: zod.z.object({
31900
+ id: zod.z.string().describe("Scheduled export ID"),
31901
+ name: zod.z.string().describe("Schedule name"),
31902
+ enabled: zod.z.boolean().describe("Whether the schedule is active"),
31903
+ nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution"),
31904
+ createdAt: zod.z.string().datetime().describe("Creation timestamp")
31905
+ })
31906
+ });
31907
+ var ExportApiContracts = {
31908
+ createExportJob: {
31909
+ method: "POST",
31910
+ path: "/api/v1/data/:object/export",
31911
+ input: CreateExportJobRequestSchema,
31912
+ output: CreateExportJobResponseSchema
31913
+ },
31914
+ getExportJobProgress: {
31915
+ method: "GET",
31916
+ path: "/api/v1/data/export/:jobId",
31917
+ input: zod.z.object({ jobId: zod.z.string() }),
31918
+ output: ExportJobProgressSchema
31919
+ },
31920
+ getExportJobDownload: {
31921
+ method: "GET",
31922
+ path: "/api/v1/data/export/:jobId/download",
31923
+ input: GetExportJobDownloadRequestSchema,
31924
+ output: GetExportJobDownloadResponseSchema
31925
+ },
31926
+ listExportJobs: {
31927
+ method: "GET",
31928
+ path: "/api/v1/data/export",
31929
+ input: ListExportJobsRequestSchema,
31930
+ output: ListExportJobsResponseSchema
31931
+ },
31932
+ scheduleExport: {
31933
+ method: "POST",
31934
+ path: "/api/v1/data/export/schedules",
31935
+ input: ScheduleExportRequestSchema,
31936
+ output: ScheduleExportResponseSchema
31937
+ },
31938
+ cancelExportJob: {
31939
+ method: "POST",
31940
+ path: "/api/v1/data/export/:jobId/cancel",
31941
+ input: zod.z.object({ jobId: zod.z.string() }),
31942
+ output: BaseResponseSchema
31943
+ }
31944
+ };
30998
31945
  var FlowNodeAction = zod.z.enum([
30999
31946
  "start",
31000
31947
  // Trigger
@@ -31024,8 +31971,14 @@ var FlowNodeAction = zod.z.enum([
31024
31971
  // Delay/Sleep
31025
31972
  "subflow",
31026
31973
  // Call another flow
31027
- "connector_action"
31974
+ "connector_action",
31028
31975
  // Zapier-style integration action
31976
+ "parallel_gateway",
31977
+ // BPMN Parallel Gateway — AND-split (all outgoing branches execute concurrently)
31978
+ "join_gateway",
31979
+ // BPMN Join Gateway — AND-join (waits for all incoming branches to complete)
31980
+ "boundary_event"
31981
+ // BPMN Boundary Event — attached to a host node for timer/error/signal interrupts
31029
31982
  ]);
31030
31983
  var FlowVariableSchema = zod.z.object({
31031
31984
  name: zod.z.string().describe("Variable name"),
@@ -31049,7 +32002,56 @@ var FlowNodeSchema = zod.z.object({
31049
32002
  input: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mapped inputs for the action")
31050
32003
  }).optional(),
31051
32004
  /** UI Position (for the canvas) */
31052
- position: zod.z.object({ x: zod.z.number(), y: zod.z.number() }).optional()
32005
+ position: zod.z.object({ x: zod.z.number(), y: zod.z.number() }).optional(),
32006
+ /** Node-level execution timeout */
32007
+ timeoutMs: zod.z.number().int().min(0).optional().describe("Maximum execution time for this node in milliseconds"),
32008
+ /** Node input schema declaration for Studio form generation and runtime validation */
32009
+ inputSchema: zod.z.record(zod.z.string(), zod.z.object({
32010
+ type: zod.z.enum(["string", "number", "boolean", "object", "array"]).describe("Parameter type"),
32011
+ required: zod.z.boolean().default(false).describe("Whether the parameter is required"),
32012
+ description: zod.z.string().optional().describe("Parameter description")
32013
+ })).optional().describe("Input parameter schema for this node"),
32014
+ /** Node output schema declaration */
32015
+ outputSchema: zod.z.record(zod.z.string(), zod.z.object({
32016
+ type: zod.z.enum(["string", "number", "boolean", "object", "array"]).describe("Output type"),
32017
+ description: zod.z.string().optional().describe("Output description")
32018
+ })).optional().describe("Output schema declaration for this node"),
32019
+ /**
32020
+ * Wait Event Configuration (for 'wait' nodes)
32021
+ * Defines what external event or condition should resume the paused execution.
32022
+ * Industry alignment: BPMN Intermediate Catch Events, Temporal Signals.
32023
+ */
32024
+ waitEventConfig: zod.z.object({
32025
+ /** Type of event to wait for */
32026
+ eventType: zod.z.enum(["timer", "signal", "webhook", "manual", "condition"]).describe("What kind of event resumes the execution"),
32027
+ /** Duration to wait (ISO 8601 duration or milliseconds) — for timer events */
32028
+ timerDuration: zod.z.string().optional().describe('ISO 8601 duration (e.g., "PT1H") or wait time for timer events'),
32029
+ /** Signal name to listen for — for signal/webhook events */
32030
+ signalName: zod.z.string().optional().describe("Named signal or webhook event to wait for"),
32031
+ /** Timeout before auto-failing or continuing — optional guard */
32032
+ timeoutMs: zod.z.number().int().min(0).optional().describe("Maximum wait time before timeout (ms)"),
32033
+ /** Action to take on timeout */
32034
+ onTimeout: zod.z.enum(["fail", "continue"]).default("fail").describe("Behavior when the wait times out")
32035
+ }).optional().describe("Configuration for wait node event resumption"),
32036
+ /**
32037
+ * Boundary Event Configuration (for 'boundary_event' nodes)
32038
+ * Attaches an event handler to a host activity node (BPMN Boundary Event pattern).
32039
+ * Industry alignment: BPMN Boundary Error/Timer/Signal Events.
32040
+ */
32041
+ boundaryConfig: zod.z.object({
32042
+ /** ID of the host node this boundary event is attached to */
32043
+ attachedToNodeId: zod.z.string().describe("Host node ID this boundary event monitors"),
32044
+ /** Type of boundary event */
32045
+ eventType: zod.z.enum(["error", "timer", "signal", "cancel"]).describe("Boundary event trigger type"),
32046
+ /** Whether the boundary event interrupts the host activity */
32047
+ interrupting: zod.z.boolean().default(true).describe("If true, the host activity is cancelled when this event fires"),
32048
+ /** Error code filter — only for error boundary events */
32049
+ errorCode: zod.z.string().optional().describe("Specific error code to catch (empty = catch all errors)"),
32050
+ /** Timer duration — only for timer boundary events */
32051
+ timerDuration: zod.z.string().optional().describe("ISO 8601 duration for timer boundary events"),
32052
+ /** Signal name — only for signal boundary events */
32053
+ signalName: zod.z.string().optional().describe("Named signal to catch")
32054
+ }).optional().describe("Configuration for boundary events attached to host nodes")
31053
32055
  });
31054
32056
  var FlowEdgeSchema = zod.z.object({
31055
32057
  id: zod.z.string().describe("Edge unique ID"),
@@ -31057,8 +32059,14 @@ var FlowEdgeSchema = zod.z.object({
31057
32059
  target: zod.z.string().describe("Target Node ID"),
31058
32060
  /** Condition for this path (only for decision/branch nodes) */
31059
32061
  condition: zod.z.string().optional().describe("Expression returning boolean used for branching"),
31060
- type: zod.z.enum(["default", "fault"]).default("default").describe("Connection type: Standard (Success) or Fault (Error) path"),
31061
- label: zod.z.string().optional().describe("Label on the connector")
32062
+ type: zod.z.enum(["default", "fault", "conditional"]).default("default").describe("Connection type: default (normal flow), fault (error path), or conditional (expression-guarded)"),
32063
+ label: zod.z.string().optional().describe("Label on the connector"),
32064
+ /**
32065
+ * Default Sequence Flow marker (BPMN Default Flow semantics).
32066
+ * When true, this edge is taken when no sibling conditional edges match.
32067
+ * Only meaningful on outgoing edges of decision/gateway nodes.
32068
+ */
32069
+ isDefault: zod.z.boolean().default(false).describe("Marks this edge as the default path when no other conditions match")
31062
32070
  });
31063
32071
  var FlowSchema = zod.z.object({
31064
32072
  /** Identity */
@@ -31084,12 +32092,611 @@ var FlowSchema = zod.z.object({
31084
32092
  strategy: zod.z.enum(["fail", "retry", "continue"]).default("fail").describe("How to handle node execution errors"),
31085
32093
  maxRetries: zod.z.number().int().min(0).max(10).default(0).describe("Number of retry attempts (only for retry strategy)"),
31086
32094
  retryDelayMs: zod.z.number().int().min(0).default(1e3).describe("Delay between retries in milliseconds"),
32095
+ backoffMultiplier: zod.z.number().min(1).default(1).describe("Multiplier for exponential backoff between retries"),
32096
+ maxRetryDelayMs: zod.z.number().int().min(0).default(3e4).describe("Maximum delay between retries in milliseconds"),
32097
+ jitter: zod.z.boolean().default(false).describe("Add random jitter to retry delay to avoid thundering herd"),
31087
32098
  fallbackNodeId: zod.z.string().optional().describe("Node ID to jump to on unrecoverable error")
31088
32099
  }).optional().describe("Flow-level error handling configuration")
31089
32100
  });
31090
32101
  function defineFlow(config) {
31091
32102
  return FlowSchema.parse(config);
31092
32103
  }
32104
+ var FlowVersionHistorySchema = zod.z.object({
32105
+ flowName: zod.z.string().describe("Flow machine name"),
32106
+ version: zod.z.number().int().min(1).describe("Version number"),
32107
+ definition: FlowSchema.describe("Complete flow definition snapshot"),
32108
+ createdAt: zod.z.string().datetime().describe("When this version was created"),
32109
+ createdBy: zod.z.string().optional().describe("User who created this version"),
32110
+ changeNote: zod.z.string().optional().describe("Description of what changed in this version")
32111
+ });
32112
+ var ExecutionStatus = zod.z.enum([
32113
+ "pending",
32114
+ // Queued, not yet started
32115
+ "running",
32116
+ // Currently executing
32117
+ "paused",
32118
+ // Paused at a wait/checkpoint node
32119
+ "completed",
32120
+ // Successfully finished
32121
+ "failed",
32122
+ // Terminated with error
32123
+ "cancelled",
32124
+ // Manually cancelled
32125
+ "timed_out",
32126
+ // Exceeded max execution time
32127
+ "retrying"
32128
+ // Failed and retrying
32129
+ ]);
32130
+ var ExecutionStepLogSchema = zod.z.object({
32131
+ nodeId: zod.z.string().describe("Node ID that was executed"),
32132
+ nodeType: zod.z.string().describe('Node action type (e.g., "decision", "http_request")'),
32133
+ nodeLabel: zod.z.string().optional().describe("Human-readable node label"),
32134
+ status: zod.z.enum(["success", "failure", "skipped"]).describe("Step execution result"),
32135
+ startedAt: zod.z.string().datetime().describe("When the step started"),
32136
+ completedAt: zod.z.string().datetime().optional().describe("When the step completed"),
32137
+ durationMs: zod.z.number().int().min(0).optional().describe("Step execution duration in milliseconds"),
32138
+ input: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Input data passed to the node"),
32139
+ output: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Output data produced by the node"),
32140
+ error: zod.z.object({
32141
+ code: zod.z.string().describe("Error code"),
32142
+ message: zod.z.string().describe("Error message"),
32143
+ stack: zod.z.string().optional().describe("Stack trace")
32144
+ }).optional().describe("Error details if step failed"),
32145
+ retryAttempt: zod.z.number().int().min(0).optional().describe("Retry attempt number (0 = first try)")
32146
+ });
32147
+ var ExecutionLogSchema = zod.z.object({
32148
+ /** Unique execution ID */
32149
+ id: zod.z.string().describe("Execution instance ID"),
32150
+ /** Flow reference */
32151
+ flowName: zod.z.string().describe("Machine name of the executed flow"),
32152
+ flowVersion: zod.z.number().int().optional().describe("Version of the flow that was executed"),
32153
+ /** Execution status */
32154
+ status: ExecutionStatus.describe("Current execution status"),
32155
+ /** Trigger context */
32156
+ trigger: zod.z.object({
32157
+ type: zod.z.string().describe('Trigger type (e.g., "record_change", "schedule", "api", "manual")'),
32158
+ recordId: zod.z.string().optional().describe("Triggering record ID"),
32159
+ object: zod.z.string().optional().describe("Triggering object name"),
32160
+ userId: zod.z.string().optional().describe("User who triggered the execution"),
32161
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional trigger context")
32162
+ }).describe("What triggered this execution"),
32163
+ /** Step-by-step execution history */
32164
+ steps: zod.z.array(ExecutionStepLogSchema).describe("Ordered list of executed steps"),
32165
+ /** Execution variables snapshot */
32166
+ variables: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Final state of flow variables"),
32167
+ /** Timing */
32168
+ startedAt: zod.z.string().datetime().describe("Execution start timestamp"),
32169
+ completedAt: zod.z.string().datetime().optional().describe("Execution completion timestamp"),
32170
+ durationMs: zod.z.number().int().min(0).optional().describe("Total execution duration in milliseconds"),
32171
+ /** Context */
32172
+ runAs: zod.z.enum(["system", "user"]).optional().describe("Execution context identity"),
32173
+ tenantId: zod.z.string().optional().describe("Tenant ID for multi-tenant isolation")
32174
+ });
32175
+ var ExecutionErrorSeverity = zod.z.enum([
32176
+ "warning",
32177
+ // Non-fatal issue (e.g., deprecated node type)
32178
+ "error",
32179
+ // Node-level failure (may be retried)
32180
+ "critical"
32181
+ // Flow-level failure (execution terminated)
32182
+ ]);
32183
+ var ExecutionErrorSchema = zod.z.object({
32184
+ id: zod.z.string().describe("Error record ID"),
32185
+ executionId: zod.z.string().describe("Parent execution ID"),
32186
+ nodeId: zod.z.string().optional().describe("Node where the error occurred"),
32187
+ severity: ExecutionErrorSeverity.describe("Error severity level"),
32188
+ code: zod.z.string().describe("Machine-readable error code"),
32189
+ message: zod.z.string().describe("Human-readable error message"),
32190
+ stack: zod.z.string().optional().describe("Stack trace for debugging"),
32191
+ context: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional diagnostic context (input data, config snapshot)"),
32192
+ timestamp: zod.z.string().datetime().describe("When the error occurred"),
32193
+ retryable: zod.z.boolean().default(false).describe("Whether this error can be retried"),
32194
+ resolvedAt: zod.z.string().datetime().optional().describe("When the error was resolved (e.g., after successful retry)")
32195
+ });
32196
+ var CheckpointSchema = zod.z.object({
32197
+ /** Unique checkpoint ID */
32198
+ id: zod.z.string().describe("Checkpoint ID"),
32199
+ /** Execution reference */
32200
+ executionId: zod.z.string().describe("Parent execution ID"),
32201
+ flowName: zod.z.string().describe("Flow machine name"),
32202
+ /** State snapshot */
32203
+ currentNodeId: zod.z.string().describe("Node ID where execution is paused"),
32204
+ variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Flow variable state at checkpoint"),
32205
+ completedNodeIds: zod.z.array(zod.z.string()).describe("List of node IDs already executed"),
32206
+ /** Timing */
32207
+ createdAt: zod.z.string().datetime().describe("Checkpoint creation timestamp"),
32208
+ expiresAt: zod.z.string().datetime().optional().describe("Checkpoint expiration (auto-cleanup)"),
32209
+ /** Reason */
32210
+ reason: zod.z.enum(["wait", "screen_input", "approval", "error", "manual_pause", "parallel_join", "boundary_event"]).describe("Why the execution was checkpointed")
32211
+ });
32212
+ var ConcurrencyPolicySchema = zod.z.object({
32213
+ /** Maximum concurrent executions of this flow */
32214
+ maxConcurrent: zod.z.number().int().min(1).default(1).describe("Maximum number of concurrent executions allowed"),
32215
+ /** What to do when max concurrency is reached */
32216
+ onConflict: zod.z.enum(["queue", "reject", "cancel_existing"]).default("queue").describe("queue = enqueue for later, reject = fail immediately, cancel_existing = stop running instance"),
32217
+ /** Lock scope for concurrency */
32218
+ lockScope: zod.z.enum(["global", "per_record", "per_user"]).default("global").describe("Scope of the concurrency lock"),
32219
+ /** Queue timeout (only when onConflict is "queue") */
32220
+ queueTimeoutMs: zod.z.number().int().min(0).optional().describe("Maximum time to wait in queue before timing out (ms)")
32221
+ });
32222
+ var ScheduleStateSchema = zod.z.object({
32223
+ /** Unique schedule ID */
32224
+ id: zod.z.string().describe("Schedule instance ID"),
32225
+ /** Flow reference */
32226
+ flowName: zod.z.string().describe("Flow machine name"),
32227
+ /** Schedule configuration */
32228
+ cronExpression: zod.z.string().describe('Cron expression (e.g., "0 9 * * MON-FRI")'),
32229
+ timezone: zod.z.string().default("UTC").describe("IANA timezone for cron evaluation"),
32230
+ /** Runtime state */
32231
+ status: zod.z.enum(["active", "paused", "disabled", "expired"]).default("active").describe("Current schedule status"),
32232
+ nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution timestamp"),
32233
+ lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp"),
32234
+ lastExecutionId: zod.z.string().optional().describe("Execution ID of the last run"),
32235
+ lastRunStatus: ExecutionStatus.optional().describe("Status of the last run"),
32236
+ /** Execution tracking */
32237
+ totalRuns: zod.z.number().int().min(0).default(0).describe("Total number of executions"),
32238
+ consecutiveFailures: zod.z.number().int().min(0).default(0).describe("Consecutive failed executions"),
32239
+ /** Bounds */
32240
+ startDate: zod.z.string().datetime().optional().describe("Schedule effective start date"),
32241
+ endDate: zod.z.string().datetime().optional().describe("Schedule expiration date"),
32242
+ maxRuns: zod.z.number().int().min(1).optional().describe("Maximum total executions before auto-disable"),
32243
+ /** Metadata */
32244
+ createdAt: zod.z.string().datetime().describe("Schedule creation timestamp"),
32245
+ updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
32246
+ createdBy: zod.z.string().optional().describe("User who created the schedule")
32247
+ });
32248
+
32249
+ // src/api/automation-api.zod.ts
32250
+ var AutomationFlowPathParamsSchema = zod.z.object({
32251
+ name: zod.z.string().describe("Flow machine name (snake_case)")
32252
+ });
32253
+ var AutomationRunPathParamsSchema = AutomationFlowPathParamsSchema.extend({
32254
+ runId: zod.z.string().describe("Execution run ID")
32255
+ });
32256
+ var ListFlowsRequestSchema = zod.z.object({
32257
+ status: zod.z.enum(["draft", "active", "obsolete", "invalid"]).optional().describe("Filter by flow status"),
32258
+ type: zod.z.enum(["autolaunched", "record_change", "schedule", "screen", "api"]).optional().describe("Filter by flow type"),
32259
+ limit: zod.z.number().int().min(1).max(100).default(50).describe("Maximum number of flows to return"),
32260
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
32261
+ });
32262
+ var FlowSummarySchema = zod.z.object({
32263
+ name: zod.z.string().describe("Flow machine name"),
32264
+ label: zod.z.string().describe("Flow display label"),
32265
+ type: zod.z.string().describe("Flow type"),
32266
+ status: zod.z.string().describe("Flow deployment status"),
32267
+ version: zod.z.number().int().describe("Flow version number"),
32268
+ enabled: zod.z.boolean().describe("Whether the flow is enabled for execution"),
32269
+ nodeCount: zod.z.number().int().optional().describe("Number of nodes in the flow"),
32270
+ lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp")
32271
+ });
32272
+ var ListFlowsResponseSchema = BaseResponseSchema.extend({
32273
+ data: zod.z.object({
32274
+ flows: zod.z.array(FlowSummarySchema).describe("Flow summaries"),
32275
+ total: zod.z.number().int().optional().describe("Total matching flows"),
32276
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
32277
+ hasMore: zod.z.boolean().describe("Whether more flows are available")
32278
+ })
32279
+ });
32280
+ var GetFlowRequestSchema = AutomationFlowPathParamsSchema;
32281
+ var GetFlowResponseSchema = BaseResponseSchema.extend({
32282
+ data: FlowSchema.describe("Full flow definition")
32283
+ });
32284
+ var CreateFlowRequestSchema = FlowSchema;
32285
+ var CreateFlowResponseSchema = BaseResponseSchema.extend({
32286
+ data: FlowSchema.describe("The created flow definition")
32287
+ });
32288
+ var UpdateFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
32289
+ definition: FlowSchema.partial().describe("Partial flow definition to update")
32290
+ });
32291
+ var UpdateFlowResponseSchema = BaseResponseSchema.extend({
32292
+ data: FlowSchema.describe("The updated flow definition")
32293
+ });
32294
+ var DeleteFlowRequestSchema = AutomationFlowPathParamsSchema;
32295
+ var DeleteFlowResponseSchema = BaseResponseSchema.extend({
32296
+ data: zod.z.object({
32297
+ name: zod.z.string().describe("Name of the deleted flow"),
32298
+ deleted: zod.z.boolean().describe("Whether the flow was deleted")
32299
+ })
32300
+ });
32301
+ var TriggerFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
32302
+ record: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record that triggered the automation"),
32303
+ object: zod.z.string().optional().describe("Object name the record belongs to"),
32304
+ event: zod.z.string().optional().describe("Trigger event type"),
32305
+ userId: zod.z.string().optional().describe("User who triggered the automation"),
32306
+ params: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional contextual data")
32307
+ });
32308
+ var TriggerFlowResponseSchema = BaseResponseSchema.extend({
32309
+ data: zod.z.object({
32310
+ success: zod.z.boolean().describe("Whether the automation completed successfully"),
32311
+ output: zod.z.unknown().optional().describe("Output data from the automation"),
32312
+ error: zod.z.string().optional().describe("Error message if execution failed"),
32313
+ durationMs: zod.z.number().optional().describe("Execution duration in milliseconds")
32314
+ })
32315
+ });
32316
+ var ToggleFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
32317
+ enabled: zod.z.boolean().describe("Whether to enable (true) or disable (false) the flow")
32318
+ });
32319
+ var ToggleFlowResponseSchema = BaseResponseSchema.extend({
32320
+ data: zod.z.object({
32321
+ name: zod.z.string().describe("Flow name"),
32322
+ enabled: zod.z.boolean().describe("New enabled state")
32323
+ })
32324
+ });
32325
+ var ListRunsRequestSchema = AutomationFlowPathParamsSchema.extend({
32326
+ status: zod.z.enum(["pending", "running", "paused", "completed", "failed", "cancelled", "timed_out", "retrying"]).optional().describe("Filter by execution status"),
32327
+ limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of runs to return"),
32328
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
32329
+ });
32330
+ var ListRunsResponseSchema = BaseResponseSchema.extend({
32331
+ data: zod.z.object({
32332
+ runs: zod.z.array(ExecutionLogSchema).describe("Execution run logs"),
32333
+ total: zod.z.number().int().optional().describe("Total matching runs"),
32334
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
32335
+ hasMore: zod.z.boolean().describe("Whether more runs are available")
32336
+ })
32337
+ });
32338
+ var GetRunRequestSchema = AutomationRunPathParamsSchema;
32339
+ var GetRunResponseSchema = BaseResponseSchema.extend({
32340
+ data: ExecutionLogSchema.describe("Full execution log with step details")
32341
+ });
32342
+ var AutomationApiErrorCode = zod.z.enum([
32343
+ "flow_not_found",
32344
+ "flow_already_exists",
32345
+ "flow_validation_failed",
32346
+ "flow_disabled",
32347
+ "execution_not_found",
32348
+ "execution_failed",
32349
+ "execution_timeout",
32350
+ "node_executor_not_found",
32351
+ "concurrent_execution_limit"
32352
+ ]);
32353
+ var AutomationApiContracts = {
32354
+ listFlows: {
32355
+ method: "GET",
32356
+ path: "/api/automation",
32357
+ input: ListFlowsRequestSchema,
32358
+ output: ListFlowsResponseSchema
32359
+ },
32360
+ getFlow: {
32361
+ method: "GET",
32362
+ path: "/api/automation/:name",
32363
+ input: GetFlowRequestSchema,
32364
+ output: GetFlowResponseSchema
32365
+ },
32366
+ createFlow: {
32367
+ method: "POST",
32368
+ path: "/api/automation",
32369
+ input: CreateFlowRequestSchema,
32370
+ output: CreateFlowResponseSchema
32371
+ },
32372
+ updateFlow: {
32373
+ method: "PUT",
32374
+ path: "/api/automation/:name",
32375
+ input: UpdateFlowRequestSchema,
32376
+ output: UpdateFlowResponseSchema
32377
+ },
32378
+ deleteFlow: {
32379
+ method: "DELETE",
32380
+ path: "/api/automation/:name",
32381
+ input: DeleteFlowRequestSchema,
32382
+ output: DeleteFlowResponseSchema
32383
+ },
32384
+ triggerFlow: {
32385
+ method: "POST",
32386
+ path: "/api/automation/:name/trigger",
32387
+ input: TriggerFlowRequestSchema,
32388
+ output: TriggerFlowResponseSchema
32389
+ },
32390
+ toggleFlow: {
32391
+ method: "POST",
32392
+ path: "/api/automation/:name/toggle",
32393
+ input: ToggleFlowRequestSchema,
32394
+ output: ToggleFlowResponseSchema
32395
+ },
32396
+ listRuns: {
32397
+ method: "GET",
32398
+ path: "/api/automation/:name/runs",
32399
+ input: ListRunsRequestSchema,
32400
+ output: ListRunsResponseSchema
32401
+ },
32402
+ getRun: {
32403
+ method: "GET",
32404
+ path: "/api/automation/:name/runs/:runId",
32405
+ input: GetRunRequestSchema,
32406
+ output: GetRunResponseSchema
32407
+ }
32408
+ };
32409
+ var PackagePathParamsSchema = zod.z.object({
32410
+ packageId: zod.z.string().describe("Package identifier")
32411
+ });
32412
+ var ListInstalledPackagesRequestSchema = zod.z.object({
32413
+ /** Filter by package status */
32414
+ status: zod.z.enum(["installed", "disabled", "installing", "upgrading", "uninstalling", "error"]).optional().describe("Filter by package status"),
32415
+ /** Filter by enabled state */
32416
+ enabled: zod.z.boolean().optional().describe("Filter by enabled state"),
32417
+ /** Maximum number of packages to return */
32418
+ limit: zod.z.number().int().min(1).max(100).default(50).describe("Maximum number of packages to return"),
32419
+ /** Cursor for pagination */
32420
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
32421
+ }).describe("List installed packages request");
32422
+ var ListInstalledPackagesResponseSchema = BaseResponseSchema.extend({
32423
+ data: zod.z.object({
32424
+ packages: zod.z.array(InstalledPackageSchema).describe("Installed packages"),
32425
+ total: zod.z.number().int().optional().describe("Total matching packages"),
32426
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
32427
+ hasMore: zod.z.boolean().describe("Whether more packages are available")
32428
+ })
32429
+ }).describe("List installed packages response");
32430
+ var GetInstalledPackageRequestSchema = PackagePathParamsSchema;
32431
+ var GetInstalledPackageResponseSchema = BaseResponseSchema.extend({
32432
+ data: InstalledPackageSchema.describe("Installed package details")
32433
+ }).describe("Get installed package response");
32434
+ var PackageInstallRequestSchema = zod.z.object({
32435
+ /** Package manifest to install */
32436
+ manifest: ManifestSchema.describe("Package manifest to install"),
32437
+ /** User-provided settings at install time */
32438
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
32439
+ /** Whether to enable immediately after install */
32440
+ enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
32441
+ /** Current platform version for compatibility verification */
32442
+ platformVersion: zod.z.string().optional().describe("Current platform version for compatibility verification"),
32443
+ /** Artifact reference for the package (if installing from marketplace) */
32444
+ artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference for marketplace installation")
32445
+ }).describe("Install package request");
32446
+ var PackageInstallResponseSchema = BaseResponseSchema.extend({
32447
+ data: zod.z.object({
32448
+ package: InstalledPackageSchema.describe("Installed package details"),
32449
+ dependencyResolution: DependencyResolutionResultSchema.optional().describe("Dependency resolution result"),
32450
+ namespaceConflicts: zod.z.array(zod.z.object({
32451
+ type: zod.z.literal("namespace_conflict").describe("Error type"),
32452
+ requestedNamespace: zod.z.string().describe("Requested namespace"),
32453
+ conflictingPackageId: zod.z.string().describe("Conflicting package ID"),
32454
+ conflictingPackageName: zod.z.string().describe("Conflicting package name"),
32455
+ suggestion: zod.z.string().optional().describe("Suggested alternative")
32456
+ })).optional().describe("Namespace conflicts detected"),
32457
+ message: zod.z.string().optional().describe("Installation status message")
32458
+ })
32459
+ }).describe("Install package response");
32460
+ var PackageUpgradeRequestSchema = zod.z.object({
32461
+ /** Package ID to upgrade */
32462
+ packageId: zod.z.string().describe("Package ID to upgrade"),
32463
+ /** Target version (defaults to latest) */
32464
+ targetVersion: zod.z.string().optional().describe("Target version (defaults to latest)"),
32465
+ /** New manifest for the target version */
32466
+ manifest: ManifestSchema.optional().describe("New manifest for the target version"),
32467
+ /** Whether to create a pre-upgrade snapshot */
32468
+ createSnapshot: zod.z.boolean().default(true).describe("Whether to create a pre-upgrade backup snapshot"),
32469
+ /** Merge strategy for handling customizations */
32470
+ mergeStrategy: zod.z.enum(["keep-custom", "accept-incoming", "three-way-merge"]).default("three-way-merge").describe("How to handle customer customizations"),
32471
+ /** Preview upgrade without making changes */
32472
+ dryRun: zod.z.boolean().default(false).describe("Preview upgrade without making changes"),
32473
+ /** Skip pre-upgrade compatibility checks */
32474
+ skipValidation: zod.z.boolean().default(false).describe("Skip pre-upgrade compatibility checks")
32475
+ }).describe("Upgrade package request");
32476
+ var PackageUpgradeResponseSchema = BaseResponseSchema.extend({
32477
+ data: zod.z.object({
32478
+ success: zod.z.boolean().describe("Whether the upgrade succeeded"),
32479
+ phase: zod.z.string().describe("Current upgrade phase"),
32480
+ plan: UpgradePlanSchema.optional().describe("Upgrade plan that was executed"),
32481
+ snapshotId: zod.z.string().optional().describe("Snapshot ID for rollback"),
32482
+ conflicts: zod.z.array(zod.z.object({
32483
+ path: zod.z.string().describe("Conflict path"),
32484
+ baseValue: zod.z.unknown().describe("Base value"),
32485
+ incomingValue: zod.z.unknown().describe("Incoming value"),
32486
+ customValue: zod.z.unknown().describe("Custom value")
32487
+ })).optional().describe("Unresolved merge conflicts"),
32488
+ errorMessage: zod.z.string().optional().describe("Error message if failed"),
32489
+ message: zod.z.string().optional().describe("Human-readable status message")
32490
+ })
32491
+ }).describe("Upgrade package response");
32492
+ var ResolveDependenciesRequestSchema = zod.z.object({
32493
+ /** Package manifest whose dependencies to resolve */
32494
+ manifest: ManifestSchema.describe("Package manifest to resolve dependencies for"),
32495
+ /** Current platform version for compatibility checking */
32496
+ platformVersion: zod.z.string().optional().describe("Current platform version for compatibility filtering")
32497
+ }).describe("Resolve dependencies request");
32498
+ var ResolveDependenciesResponseSchema = BaseResponseSchema.extend({
32499
+ data: DependencyResolutionResultSchema.describe("Dependency resolution result with topological sort")
32500
+ }).describe("Resolve dependencies response");
32501
+ var UploadArtifactRequestSchema = zod.z.object({
32502
+ /** Artifact metadata */
32503
+ artifact: PackageArtifactSchema.describe("Package artifact metadata"),
32504
+ /** SHA256 checksum of the uploaded file (for verification) */
32505
+ sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).optional().describe("SHA256 checksum of the uploaded file"),
32506
+ /** Publisher authentication token */
32507
+ token: zod.z.string().optional().describe("Publisher authentication token"),
32508
+ /** Release notes for this version */
32509
+ releaseNotes: zod.z.string().optional().describe("Release notes for this version")
32510
+ }).describe("Upload artifact request");
32511
+ var UploadArtifactResponseSchema = BaseResponseSchema.extend({
32512
+ data: zod.z.object({
32513
+ /** Whether the upload succeeded */
32514
+ success: zod.z.boolean().describe("Whether the upload succeeded"),
32515
+ /** Artifact reference for the uploaded package */
32516
+ artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference in the registry"),
32517
+ /** Submission ID for review tracking */
32518
+ submissionId: zod.z.string().optional().describe("Marketplace submission ID for review tracking"),
32519
+ /** Message */
32520
+ message: zod.z.string().optional().describe("Upload status message")
32521
+ })
32522
+ }).describe("Upload artifact response");
32523
+ var PackageRollbackRequestSchema = PackagePathParamsSchema.extend({
32524
+ /** Snapshot ID to restore from */
32525
+ snapshotId: zod.z.string().describe("Snapshot ID to restore from"),
32526
+ /** Whether to also rollback customizations */
32527
+ rollbackCustomizations: zod.z.boolean().default(true).describe("Whether to restore pre-upgrade customizations")
32528
+ }).describe("Rollback package request");
32529
+ var PackageRollbackResponseSchema = BaseResponseSchema.extend({
32530
+ data: zod.z.object({
32531
+ success: zod.z.boolean().describe("Whether the rollback succeeded"),
32532
+ restoredVersion: zod.z.string().optional().describe("Restored version"),
32533
+ message: zod.z.string().optional().describe("Rollback status message")
32534
+ })
32535
+ }).describe("Rollback package response");
32536
+ var UninstallPackageApiRequestSchema = PackagePathParamsSchema;
32537
+ var UninstallPackageApiResponseSchema = BaseResponseSchema.extend({
32538
+ data: zod.z.object({
32539
+ packageId: zod.z.string().describe("Uninstalled package ID"),
32540
+ success: zod.z.boolean().describe("Whether uninstall succeeded"),
32541
+ message: zod.z.string().optional().describe("Uninstall status message")
32542
+ })
32543
+ }).describe("Uninstall package response");
32544
+ var PackageApiErrorCode = zod.z.enum([
32545
+ "package_not_found",
32546
+ "package_already_installed",
32547
+ "version_not_found",
32548
+ "dependency_conflict",
32549
+ "namespace_conflict",
32550
+ "platform_incompatible",
32551
+ "artifact_invalid",
32552
+ "checksum_mismatch",
32553
+ "signature_invalid",
32554
+ "upgrade_failed",
32555
+ "rollback_failed",
32556
+ "snapshot_not_found",
32557
+ "upload_failed"
32558
+ ]);
32559
+ var PackageApiContracts = {
32560
+ listPackages: {
32561
+ method: "GET",
32562
+ path: "/api/v1/packages",
32563
+ input: ListInstalledPackagesRequestSchema,
32564
+ output: ListInstalledPackagesResponseSchema
32565
+ },
32566
+ getPackage: {
32567
+ method: "GET",
32568
+ path: "/api/v1/packages/:packageId",
32569
+ input: GetInstalledPackageRequestSchema,
32570
+ output: GetInstalledPackageResponseSchema
32571
+ },
32572
+ installPackage: {
32573
+ method: "POST",
32574
+ path: "/api/v1/packages/install",
32575
+ input: PackageInstallRequestSchema,
32576
+ output: PackageInstallResponseSchema
32577
+ },
32578
+ upgradePackage: {
32579
+ method: "POST",
32580
+ path: "/api/v1/packages/upgrade",
32581
+ input: PackageUpgradeRequestSchema,
32582
+ output: PackageUpgradeResponseSchema
32583
+ },
32584
+ resolveDependencies: {
32585
+ method: "POST",
32586
+ path: "/api/v1/packages/resolve-dependencies",
32587
+ input: ResolveDependenciesRequestSchema,
32588
+ output: ResolveDependenciesResponseSchema
32589
+ },
32590
+ uploadArtifact: {
32591
+ method: "POST",
32592
+ path: "/api/v1/packages/upload",
32593
+ input: UploadArtifactRequestSchema,
32594
+ output: UploadArtifactResponseSchema
32595
+ },
32596
+ rollbackPackage: {
32597
+ method: "POST",
32598
+ path: "/api/v1/packages/:packageId/rollback",
32599
+ input: PackageRollbackRequestSchema,
32600
+ output: PackageRollbackResponseSchema
32601
+ },
32602
+ uninstallPackage: {
32603
+ method: "DELETE",
32604
+ path: "/api/v1/packages/:packageId",
32605
+ input: UninstallPackageApiRequestSchema,
32606
+ output: UninstallPackageApiResponseSchema
32607
+ }
32608
+ };
32609
+
32610
+ // src/automation/index.ts
32611
+ var automation_exports = {};
32612
+ __export(automation_exports, {
32613
+ ActionRefSchema: () => ActionRefSchema,
32614
+ ApprovalActionSchema: () => ApprovalActionSchema,
32615
+ ApprovalActionType: () => ApprovalActionType,
32616
+ ApprovalProcess: () => ApprovalProcess,
32617
+ ApprovalProcessSchema: () => ApprovalProcessSchema,
32618
+ ApprovalStepSchema: () => ApprovalStepSchema,
32619
+ ApproverType: () => ApproverType,
32620
+ AuthFieldSchema: () => AuthFieldSchema,
32621
+ AuthenticationSchema: () => AuthenticationSchema,
32622
+ AuthenticationTypeSchema: () => AuthenticationTypeSchema,
32623
+ BUILT_IN_BPMN_MAPPINGS: () => BUILT_IN_BPMN_MAPPINGS,
32624
+ BpmnDiagnosticSchema: () => BpmnDiagnosticSchema,
32625
+ BpmnElementMappingSchema: () => BpmnElementMappingSchema,
32626
+ BpmnExportOptionsSchema: () => BpmnExportOptionsSchema,
32627
+ BpmnImportOptionsSchema: () => BpmnImportOptionsSchema,
32628
+ BpmnInteropResultSchema: () => BpmnInteropResultSchema,
32629
+ BpmnUnmappedStrategySchema: () => BpmnUnmappedStrategySchema,
32630
+ BpmnVersionSchema: () => BpmnVersionSchema,
32631
+ CheckpointSchema: () => CheckpointSchema,
32632
+ ConcurrencyPolicySchema: () => ConcurrencyPolicySchema,
32633
+ ConflictResolutionSchema: () => ConflictResolutionSchema2,
32634
+ Connector: () => Connector,
32635
+ ConnectorActionRefSchema: () => ConnectorActionRefSchema,
32636
+ ConnectorCategorySchema: () => ConnectorCategorySchema,
32637
+ ConnectorInstanceSchema: () => ConnectorInstanceSchema,
32638
+ ConnectorOperationSchema: () => ConnectorOperationSchema,
32639
+ ConnectorSchema: () => ConnectorSchema,
32640
+ ConnectorTriggerSchema: () => ConnectorTriggerSchema,
32641
+ CustomScriptActionSchema: () => CustomScriptActionSchema,
32642
+ DataDestinationConfigSchema: () => DataDestinationConfigSchema,
32643
+ DataSourceConfigSchema: () => DataSourceConfigSchema,
32644
+ DataSyncConfigSchema: () => DataSyncConfigSchema,
32645
+ ETL: () => ETL,
32646
+ ETLDestinationSchema: () => ETLDestinationSchema,
32647
+ ETLEndpointTypeSchema: () => ETLEndpointTypeSchema,
32648
+ ETLPipelineRunSchema: () => ETLPipelineRunSchema,
32649
+ ETLPipelineSchema: () => ETLPipelineSchema,
32650
+ ETLRunStatusSchema: () => ETLRunStatusSchema,
32651
+ ETLSourceSchema: () => ETLSourceSchema,
32652
+ ETLSyncModeSchema: () => ETLSyncModeSchema,
32653
+ ETLTransformationSchema: () => ETLTransformationSchema,
32654
+ ETLTransformationTypeSchema: () => ETLTransformationTypeSchema,
32655
+ EmailAlertActionSchema: () => EmailAlertActionSchema,
32656
+ EventSchema: () => EventSchema,
32657
+ ExecutionErrorSchema: () => ExecutionErrorSchema,
32658
+ ExecutionErrorSeverity: () => ExecutionErrorSeverity,
32659
+ ExecutionLogSchema: () => ExecutionLogSchema,
32660
+ ExecutionStatus: () => ExecutionStatus,
32661
+ ExecutionStepLogSchema: () => ExecutionStepLogSchema,
32662
+ FieldUpdateActionSchema: () => FieldUpdateActionSchema,
32663
+ FlowEdgeSchema: () => FlowEdgeSchema,
32664
+ FlowNodeAction: () => FlowNodeAction,
32665
+ FlowNodeSchema: () => FlowNodeSchema,
32666
+ FlowSchema: () => FlowSchema,
32667
+ FlowVariableSchema: () => FlowVariableSchema,
32668
+ FlowVersionHistorySchema: () => FlowVersionHistorySchema,
32669
+ GuardRefSchema: () => GuardRefSchema,
32670
+ HttpCallActionSchema: () => HttpCallActionSchema,
32671
+ NodeExecutorDescriptorSchema: () => NodeExecutorDescriptorSchema,
32672
+ OAuth2ConfigSchema: () => OAuth2ConfigSchema,
32673
+ OperationParameterSchema: () => OperationParameterSchema,
32674
+ OperationTypeSchema: () => OperationTypeSchema,
32675
+ PushNotificationActionSchema: () => PushNotificationActionSchema,
32676
+ ScheduleStateSchema: () => ScheduleStateSchema,
32677
+ StateMachineSchema: () => StateMachineSchema,
32678
+ StateNodeSchema: () => StateNodeSchema,
32679
+ Sync: () => Sync,
32680
+ SyncDirectionSchema: () => SyncDirectionSchema,
32681
+ SyncExecutionResultSchema: () => SyncExecutionResultSchema,
32682
+ SyncExecutionStatusSchema: () => SyncExecutionStatusSchema,
32683
+ SyncModeSchema: () => SyncModeSchema,
32684
+ TaskCreationActionSchema: () => TaskCreationActionSchema,
32685
+ TimeTriggerSchema: () => TimeTriggerSchema,
32686
+ TransitionSchema: () => TransitionSchema,
32687
+ WAIT_EXECUTOR_DESCRIPTOR: () => WAIT_EXECUTOR_DESCRIPTOR,
32688
+ WaitEventTypeSchema: () => WaitEventTypeSchema,
32689
+ WaitExecutorConfigSchema: () => WaitExecutorConfigSchema,
32690
+ WaitResumePayloadSchema: () => WaitResumePayloadSchema,
32691
+ WaitTimeoutBehaviorSchema: () => WaitTimeoutBehaviorSchema,
32692
+ WebhookReceiverSchema: () => WebhookReceiverSchema,
32693
+ WebhookSchema: () => WebhookSchema,
32694
+ WebhookTriggerType: () => WebhookTriggerType,
32695
+ WorkflowActionSchema: () => WorkflowActionSchema,
32696
+ WorkflowRuleSchema: () => WorkflowRuleSchema,
32697
+ WorkflowTriggerType: () => WorkflowTriggerType,
32698
+ defineFlow: () => defineFlow
32699
+ });
31093
32700
  var WebhookTriggerType = zod.z.enum([
31094
32701
  "create",
31095
32702
  "update",
@@ -32274,6 +33881,179 @@ var Sync = {
32274
33881
  enabled: true
32275
33882
  })
32276
33883
  };
33884
+ var WaitEventTypeSchema = zod.z.enum([
33885
+ "timer",
33886
+ // Resume after duration/datetime
33887
+ "signal",
33888
+ // Resume on named signal dispatch
33889
+ "webhook",
33890
+ // Resume on incoming webhook call
33891
+ "manual",
33892
+ // Resume by manual operator action
33893
+ "condition"
33894
+ // Resume when a data condition is met (polling)
33895
+ ]).describe("Wait event type determining how a paused flow is resumed");
33896
+ var WaitResumePayloadSchema = zod.z.object({
33897
+ /** The execution id of the paused flow */
33898
+ executionId: zod.z.string().describe("Execution ID of the paused flow"),
33899
+ /** The checkpoint id being resumed */
33900
+ checkpointId: zod.z.string().describe("Checkpoint ID to resume from"),
33901
+ /** The node id of the wait node being resumed */
33902
+ nodeId: zod.z.string().describe("Wait node ID being resumed"),
33903
+ /** The event type that triggered the resume */
33904
+ eventType: WaitEventTypeSchema.describe("Event type that triggered resume"),
33905
+ /** Signal name (for signal events) */
33906
+ signalName: zod.z.string().optional().describe("Signal name (when eventType is signal)"),
33907
+ /** Webhook payload data (for webhook events) */
33908
+ webhookPayload: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Webhook request payload (when eventType is webhook)"),
33909
+ /** Who/what triggered the resume */
33910
+ resumedBy: zod.z.string().optional().describe("User ID or system identifier that triggered resume"),
33911
+ /** Timestamp of the resume event */
33912
+ resumedAt: zod.z.string().datetime().describe("ISO 8601 timestamp of the resume event"),
33913
+ /** Additional variables to merge into flow context on resume */
33914
+ variables: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Variables to merge into flow context upon resume")
33915
+ }).describe("Payload for resuming a paused wait node");
33916
+ var WaitTimeoutBehaviorSchema = zod.z.enum([
33917
+ "fail",
33918
+ // Mark execution as failed
33919
+ "continue",
33920
+ // Continue to next node (skip wait)
33921
+ "fallback"
33922
+ // Execute a fallback edge
33923
+ ]).describe("Behavior when a wait node exceeds its timeout");
33924
+ var WaitExecutorConfigSchema = zod.z.object({
33925
+ /** Default timeout for wait nodes without explicit timeout (ms) */
33926
+ defaultTimeoutMs: zod.z.number().int().min(0).default(864e5).describe("Default timeout in ms (default: 24 hours)"),
33927
+ /** Default timeout behavior */
33928
+ defaultTimeoutBehavior: WaitTimeoutBehaviorSchema.default("fail").describe("Default behavior when wait timeout is exceeded"),
33929
+ /** Polling interval for condition-based waits (ms) */
33930
+ conditionPollIntervalMs: zod.z.number().int().min(1e3).default(3e4).describe("Polling interval for condition waits in ms (default: 30s)"),
33931
+ /** Maximum polling attempts for condition waits (0 = unlimited until timeout) */
33932
+ conditionMaxPolls: zod.z.number().int().min(0).default(0).describe("Max polling attempts for condition waits (0 = unlimited)"),
33933
+ /** Webhook endpoint URL pattern (runtime fills in execution/node ids) */
33934
+ webhookUrlPattern: zod.z.string().default("/api/v1/automation/resume/{executionId}/{nodeId}").describe("URL pattern for webhook resume endpoints"),
33935
+ /** Whether to persist checkpoints to durable storage */
33936
+ persistCheckpoints: zod.z.boolean().default(true).describe("Persist wait checkpoints to durable storage"),
33937
+ /** Maximum concurrent paused executions (0 = unlimited) */
33938
+ maxPausedExecutions: zod.z.number().int().min(0).default(0).describe("Max concurrent paused executions (0 = unlimited)")
33939
+ }).describe("Wait node executor plugin configuration");
33940
+ var NodeExecutorDescriptorSchema = zod.z.object({
33941
+ /** Unique executor identifier */
33942
+ id: zod.z.string().describe("Unique executor plugin identifier"),
33943
+ /** Human-readable name */
33944
+ name: zod.z.string().describe("Display name"),
33945
+ /** The FlowNodeAction types this executor handles */
33946
+ nodeTypes: zod.z.array(zod.z.string()).min(1).describe("FlowNodeAction types this executor handles"),
33947
+ /** Executor plugin version (semver) */
33948
+ version: zod.z.string().describe("Plugin version (semver)"),
33949
+ /** Description of the executor */
33950
+ description: zod.z.string().optional().describe("Executor description"),
33951
+ /** Whether this executor supports async pause/resume */
33952
+ supportsPause: zod.z.boolean().default(false).describe("Whether the executor supports async pause/resume"),
33953
+ /** Whether this executor supports cancellation mid-execution */
33954
+ supportsCancellation: zod.z.boolean().default(false).describe("Whether the executor supports mid-execution cancellation"),
33955
+ /** Whether this executor supports retry on failure */
33956
+ supportsRetry: zod.z.boolean().default(true).describe("Whether the executor supports retry on failure"),
33957
+ /** Executor-specific configuration schema (JSON Schema reference) */
33958
+ configSchemaRef: zod.z.string().optional().describe("JSON Schema $ref for executor-specific config")
33959
+ }).describe("Node executor plugin descriptor");
33960
+ var WAIT_EXECUTOR_DESCRIPTOR = {
33961
+ id: "objectstack:wait-executor",
33962
+ name: "Wait Node Executor",
33963
+ nodeTypes: ["wait"],
33964
+ version: "1.0.0",
33965
+ description: "Pauses flow execution and resumes on timer, signal, webhook, manual action, or condition events.",
33966
+ supportsPause: true,
33967
+ supportsCancellation: true,
33968
+ supportsRetry: true
33969
+ };
33970
+ var BpmnElementMappingSchema = zod.z.object({
33971
+ /** BPMN XML element type (e.g., "bpmn:parallelGateway", "bpmn:serviceTask") */
33972
+ bpmnType: zod.z.string().describe('BPMN XML element type (e.g., "bpmn:parallelGateway")'),
33973
+ /** Corresponding ObjectStack FlowNodeAction */
33974
+ flowNodeAction: zod.z.string().describe("ObjectStack FlowNodeAction value"),
33975
+ /** Whether this mapping is bidirectional (supports both import and export) */
33976
+ bidirectional: zod.z.boolean().default(true).describe("Whether the mapping supports both import and export"),
33977
+ /** Notes about mapping limitations or special handling */
33978
+ notes: zod.z.string().optional().describe("Notes about mapping limitations")
33979
+ }).describe("Mapping between BPMN XML element and ObjectStack FlowNodeAction");
33980
+ var BpmnUnmappedStrategySchema = zod.z.enum([
33981
+ "skip",
33982
+ // Skip unmapped elements silently
33983
+ "warn",
33984
+ // Import with warnings
33985
+ "error",
33986
+ // Fail on unmapped elements
33987
+ "comment"
33988
+ // Import as annotation/comment nodes
33989
+ ]).describe("Strategy for unmapped BPMN elements during import");
33990
+ var BpmnImportOptionsSchema = zod.z.object({
33991
+ /** Strategy for unmapped BPMN elements */
33992
+ unmappedStrategy: BpmnUnmappedStrategySchema.default("warn").describe("How to handle unmapped BPMN elements"),
33993
+ /** Custom element mappings (override or extend built-in mappings) */
33994
+ customMappings: zod.z.array(BpmnElementMappingSchema).optional().describe("Custom element mappings to override or extend defaults"),
33995
+ /** Whether to import BPMN DI (diagram interchange) layout positions */
33996
+ importLayout: zod.z.boolean().default(true).describe("Import BPMN DI layout positions into canvas node coordinates"),
33997
+ /** Whether to import BPMN documentation as node descriptions */
33998
+ importDocumentation: zod.z.boolean().default(true).describe("Import BPMN documentation elements as node descriptions"),
33999
+ /** Target flow name (if not derived from BPMN process name) */
34000
+ flowName: zod.z.string().optional().describe("Override flow name (defaults to BPMN process name)"),
34001
+ /** Whether to validate the imported flow against ObjectStack schema */
34002
+ validateAfterImport: zod.z.boolean().default(true).describe("Validate imported flow against FlowSchema after import")
34003
+ }).describe("Options for importing BPMN 2.0 XML into an ObjectStack flow");
34004
+ var BpmnVersionSchema = zod.z.enum([
34005
+ "2.0",
34006
+ // BPMN 2.0 (most common, default)
34007
+ "2.0.2"
34008
+ // BPMN 2.0.2 (latest revision)
34009
+ ]).describe("BPMN specification version for export");
34010
+ var BpmnExportOptionsSchema = zod.z.object({
34011
+ /** Target BPMN version */
34012
+ version: BpmnVersionSchema.default("2.0").describe("Target BPMN specification version"),
34013
+ /** Whether to include BPMN DI (diagram interchange) layout data */
34014
+ includeLayout: zod.z.boolean().default(true).describe("Include BPMN DI layout data from canvas positions"),
34015
+ /** Whether to include ObjectStack-specific extensions as BPMN extension elements */
34016
+ includeExtensions: zod.z.boolean().default(false).describe("Include ObjectStack extensions in BPMN extensionElements"),
34017
+ /** Custom element mappings (override built-in for export) */
34018
+ customMappings: zod.z.array(BpmnElementMappingSchema).optional().describe("Custom element mappings for export"),
34019
+ /** Whether to pretty-print the XML output */
34020
+ prettyPrint: zod.z.boolean().default(true).describe("Pretty-print XML output with indentation"),
34021
+ /** XML namespace prefix for BPMN elements */
34022
+ namespacePrefix: zod.z.string().default("bpmn").describe("XML namespace prefix for BPMN elements")
34023
+ }).describe("Options for exporting an ObjectStack flow as BPMN 2.0 XML");
34024
+ var BpmnDiagnosticSchema = zod.z.object({
34025
+ /** Severity level */
34026
+ severity: zod.z.enum(["info", "warning", "error"]).describe("Diagnostic severity"),
34027
+ /** Human-readable message */
34028
+ message: zod.z.string().describe("Diagnostic message"),
34029
+ /** BPMN element ID (if applicable) */
34030
+ bpmnElementId: zod.z.string().optional().describe("BPMN element ID related to this diagnostic"),
34031
+ /** ObjectStack node ID (if applicable) */
34032
+ nodeId: zod.z.string().optional().describe("ObjectStack node ID related to this diagnostic")
34033
+ }).describe("Diagnostic message from BPMN import/export");
34034
+ var BpmnInteropResultSchema = zod.z.object({
34035
+ /** Whether the operation completed successfully */
34036
+ success: zod.z.boolean().describe("Whether the operation completed successfully"),
34037
+ /** Diagnostic messages (warnings, errors, info) */
34038
+ diagnostics: zod.z.array(BpmnDiagnosticSchema).default([]).describe("Diagnostic messages from the operation"),
34039
+ /** Number of elements successfully mapped */
34040
+ mappedCount: zod.z.number().int().min(0).default(0).describe("Number of elements successfully mapped"),
34041
+ /** Number of elements skipped or unmapped */
34042
+ unmappedCount: zod.z.number().int().min(0).default(0).describe("Number of elements that could not be mapped")
34043
+ }).describe("Result of a BPMN import/export operation");
34044
+ var BUILT_IN_BPMN_MAPPINGS = [
34045
+ { bpmnType: "bpmn:startEvent", flowNodeAction: "start", bidirectional: true },
34046
+ { bpmnType: "bpmn:endEvent", flowNodeAction: "end", bidirectional: true },
34047
+ { bpmnType: "bpmn:exclusiveGateway", flowNodeAction: "decision", bidirectional: true },
34048
+ { bpmnType: "bpmn:parallelGateway", flowNodeAction: "parallel_gateway", bidirectional: true },
34049
+ { bpmnType: "bpmn:serviceTask", flowNodeAction: "http_request", bidirectional: true, notes: "Maps HTTP/connector tasks" },
34050
+ { bpmnType: "bpmn:scriptTask", flowNodeAction: "script", bidirectional: true },
34051
+ { bpmnType: "bpmn:userTask", flowNodeAction: "screen", bidirectional: true },
34052
+ { bpmnType: "bpmn:callActivity", flowNodeAction: "subflow", bidirectional: true },
34053
+ { bpmnType: "bpmn:intermediateCatchEvent", flowNodeAction: "wait", bidirectional: true, notes: "Timer/signal/message catch events" },
34054
+ { bpmnType: "bpmn:boundaryEvent", flowNodeAction: "boundary_event", bidirectional: true },
34055
+ { bpmnType: "bpmn:task", flowNodeAction: "assignment", bidirectional: true, notes: "Generic BPMN task maps to assignment" }
34056
+ ];
32277
34057
 
32278
34058
  // src/integration/index.ts
32279
34059
  var integration_exports = {};
@@ -34776,6 +36556,7 @@ __export(studio_exports, {
34776
36556
  ActionContributionSchema: () => ActionContributionSchema,
34777
36557
  ActionLocationSchema: () => ActionLocationSchema,
34778
36558
  ActivationEventSchema: () => ActivationEventSchema2,
36559
+ BUILT_IN_NODE_DESCRIPTORS: () => BUILT_IN_NODE_DESCRIPTORS,
34779
36560
  CanvasSnapSettingsSchema: () => CanvasSnapSettingsSchema,
34780
36561
  CanvasZoomSettingsSchema: () => CanvasZoomSettingsSchema,
34781
36562
  CommandContributionSchema: () => CommandContributionSchema,
@@ -34786,6 +36567,14 @@ __export(studio_exports, {
34786
36567
  FieldEditorConfigSchema: () => FieldEditorConfigSchema,
34787
36568
  FieldGroupSchema: () => FieldGroupSchema,
34788
36569
  FieldPropertySectionSchema: () => FieldPropertySectionSchema,
36570
+ FlowBuilderConfigSchema: () => FlowBuilderConfigSchema,
36571
+ FlowCanvasEdgeSchema: () => FlowCanvasEdgeSchema,
36572
+ FlowCanvasEdgeStyleSchema: () => FlowCanvasEdgeStyleSchema,
36573
+ FlowCanvasNodeSchema: () => FlowCanvasNodeSchema,
36574
+ FlowLayoutAlgorithmSchema: () => FlowLayoutAlgorithmSchema,
36575
+ FlowLayoutDirectionSchema: () => FlowLayoutDirectionSchema,
36576
+ FlowNodeRenderDescriptorSchema: () => FlowNodeRenderDescriptorSchema,
36577
+ FlowNodeShapeSchema: () => FlowNodeShapeSchema,
34789
36578
  InterfaceBuilderConfigSchema: () => InterfaceBuilderConfigSchema,
34790
36579
  MetadataIconContributionSchema: () => MetadataIconContributionSchema,
34791
36580
  MetadataViewerContributionSchema: () => MetadataViewerContributionSchema,
@@ -34806,6 +36595,7 @@ __export(studio_exports, {
34806
36595
  StudioPluginContributionsSchema: () => StudioPluginContributionsSchema,
34807
36596
  StudioPluginManifestSchema: () => StudioPluginManifestSchema,
34808
36597
  ViewModeSchema: () => ViewModeSchema,
36598
+ defineFlowBuilderConfig: () => defineFlowBuilderConfig,
34809
36599
  defineObjectDesignerConfig: () => defineObjectDesignerConfig,
34810
36600
  defineStudioPlugin: () => defineStudioPlugin
34811
36601
  });
@@ -35290,6 +37080,169 @@ var PageBuilderConfigSchema = zod.z.object({
35290
37080
  undoLimit: zod.z.number().int().min(1).default(50).describe("Maximum undo history steps")
35291
37081
  });
35292
37082
  var InterfaceBuilderConfigSchema = PageBuilderConfigSchema;
37083
+ var FlowNodeShapeSchema = zod.z.enum([
37084
+ "rounded_rect",
37085
+ // Default activity shape (assignments, CRUD, HTTP, script, subflow)
37086
+ "circle",
37087
+ // Start / End events
37088
+ "diamond",
37089
+ // Decision (XOR gateway)
37090
+ "parallelogram",
37091
+ // Loop / iteration
37092
+ "hexagon",
37093
+ // Wait / timer event
37094
+ "diamond_thick",
37095
+ // Parallel gateway (AND-split) & Join gateway (AND-join)
37096
+ "attached_circle",
37097
+ // Boundary event (attached to host node)
37098
+ "screen_rect"
37099
+ // Screen / user-interaction node
37100
+ ]).describe("Visual shape for rendering a flow node on the canvas");
37101
+ var FlowNodeRenderDescriptorSchema = zod.z.object({
37102
+ /** The node action type this descriptor applies to */
37103
+ action: zod.z.string().describe('FlowNodeAction value (e.g., "parallel_gateway")'),
37104
+ /** Visual shape on the canvas */
37105
+ shape: FlowNodeShapeSchema.describe("Shape to render"),
37106
+ /** Lucide icon name displayed inside the node */
37107
+ icon: zod.z.string().describe("Lucide icon name"),
37108
+ /** Default label shown on the node when no user label is set */
37109
+ defaultLabel: zod.z.string().describe("Default display label"),
37110
+ /** Default width in canvas pixels */
37111
+ defaultWidth: zod.z.number().int().min(20).default(120).describe("Default width in pixels"),
37112
+ /** Default height in canvas pixels */
37113
+ defaultHeight: zod.z.number().int().min(20).default(60).describe("Default height in pixels"),
37114
+ /** CSS color for the node fill */
37115
+ fillColor: zod.z.string().default("#ffffff").describe("Node fill color (CSS value)"),
37116
+ /** CSS color for the node border */
37117
+ borderColor: zod.z.string().default("#94a3b8").describe("Node border color (CSS value)"),
37118
+ /** Whether this node type can have boundary events attached */
37119
+ allowBoundaryEvents: zod.z.boolean().default(false).describe("Whether boundary events can be attached to this node type"),
37120
+ /** Category for palette grouping */
37121
+ paletteCategory: zod.z.enum(["event", "gateway", "activity", "data", "subflow"]).describe("Palette category for grouping")
37122
+ }).describe("Visual render descriptor for a flow node type");
37123
+ var FlowCanvasNodeSchema = zod.z.object({
37124
+ /** Reference to the flow node id */
37125
+ nodeId: zod.z.string().describe("Corresponding FlowNode.id"),
37126
+ /** X position on the canvas (pixels) */
37127
+ x: zod.z.number().describe("X position on canvas"),
37128
+ /** Y position on the canvas (pixels) */
37129
+ y: zod.z.number().describe("Y position on canvas"),
37130
+ /** Width override (pixels, optional — uses descriptor default) */
37131
+ width: zod.z.number().int().min(20).optional().describe("Width override in pixels"),
37132
+ /** Height override (pixels, optional — uses descriptor default) */
37133
+ height: zod.z.number().int().min(20).optional().describe("Height override in pixels"),
37134
+ /** Whether the node is collapsed (hides internal details) */
37135
+ collapsed: zod.z.boolean().default(false).describe("Whether the node is collapsed"),
37136
+ /** Custom fill color override */
37137
+ fillColor: zod.z.string().optional().describe("Fill color override"),
37138
+ /** Custom border color override */
37139
+ borderColor: zod.z.string().optional().describe("Border color override"),
37140
+ /** User-defined comment/annotation visible on canvas */
37141
+ annotation: zod.z.string().optional().describe("User annotation displayed near the node")
37142
+ }).describe("Canvas layout data for a flow node");
37143
+ var FlowCanvasEdgeStyleSchema = zod.z.enum([
37144
+ "solid",
37145
+ // Normal sequence flow
37146
+ "dashed",
37147
+ // Default sequence flow (isDefault: true)
37148
+ "dotted",
37149
+ // Conditional edge
37150
+ "bold"
37151
+ // Fault / error edge
37152
+ ]).describe("Edge line style");
37153
+ var FlowCanvasEdgeSchema = zod.z.object({
37154
+ /** Reference to the flow edge id */
37155
+ edgeId: zod.z.string().describe("Corresponding FlowEdge.id"),
37156
+ /** Line style */
37157
+ style: FlowCanvasEdgeStyleSchema.default("solid").describe("Line style"),
37158
+ /** Line color (CSS value) */
37159
+ color: zod.z.string().default("#94a3b8").describe("Edge line color"),
37160
+ /** Label position along the edge (0–1, 0.5 = midpoint) */
37161
+ labelPosition: zod.z.number().min(0).max(1).default(0.5).describe("Position of the condition label along the edge"),
37162
+ /** Optional waypoints for routing the edge around nodes */
37163
+ waypoints: zod.z.array(zod.z.object({
37164
+ x: zod.z.number().describe("Waypoint X"),
37165
+ y: zod.z.number().describe("Waypoint Y")
37166
+ })).optional().describe("Manual waypoints for edge routing"),
37167
+ /** Whether to show an animated flow indicator */
37168
+ animated: zod.z.boolean().default(false).describe("Show animated flow indicator")
37169
+ }).describe("Canvas layout and visual data for a flow edge");
37170
+ var FlowLayoutAlgorithmSchema = zod.z.enum([
37171
+ "dagre",
37172
+ // Directed acyclic graph layout (top-down or left-right)
37173
+ "elk",
37174
+ // Eclipse Layout Kernel (advanced hierarchical)
37175
+ "force",
37176
+ // Force-directed graph
37177
+ "manual"
37178
+ // User-positioned (no auto-layout)
37179
+ ]).describe("Auto-layout algorithm for the flow canvas");
37180
+ var FlowLayoutDirectionSchema = zod.z.enum([
37181
+ "TB",
37182
+ // Top to bottom
37183
+ "BT",
37184
+ // Bottom to top
37185
+ "LR",
37186
+ // Left to right
37187
+ "RL"
37188
+ // Right to left
37189
+ ]).describe("Auto-layout direction");
37190
+ var FlowBuilderConfigSchema = zod.z.object({
37191
+ /** Canvas snap settings */
37192
+ snap: zod.z.object({
37193
+ enabled: zod.z.boolean().default(true).describe("Enable snap-to-grid"),
37194
+ gridSize: zod.z.number().int().min(1).default(16).describe("Snap grid size in pixels"),
37195
+ showGrid: zod.z.boolean().default(true).describe("Show grid overlay")
37196
+ }).default({ enabled: true, gridSize: 16, showGrid: true }).describe("Canvas snap-to-grid settings"),
37197
+ /** Canvas zoom settings */
37198
+ zoom: zod.z.object({
37199
+ min: zod.z.number().min(0.1).default(0.25).describe("Minimum zoom level"),
37200
+ max: zod.z.number().max(10).default(3).describe("Maximum zoom level"),
37201
+ default: zod.z.number().default(1).describe("Default zoom level"),
37202
+ step: zod.z.number().default(0.1).describe("Zoom step")
37203
+ }).default({ min: 0.25, max: 3, default: 1, step: 0.1 }).describe("Canvas zoom settings"),
37204
+ /** Auto-layout algorithm */
37205
+ layoutAlgorithm: FlowLayoutAlgorithmSchema.default("dagre").describe("Default auto-layout algorithm"),
37206
+ /** Auto-layout direction */
37207
+ layoutDirection: FlowLayoutDirectionSchema.default("TB").describe("Default auto-layout direction"),
37208
+ /** Node render descriptors (override defaults per node type) */
37209
+ nodeDescriptors: zod.z.array(FlowNodeRenderDescriptorSchema).optional().describe("Custom node render descriptors (merged with built-in defaults)"),
37210
+ /** Show minimap for navigation */
37211
+ showMinimap: zod.z.boolean().default(true).describe("Show minimap panel"),
37212
+ /** Show the node property panel */
37213
+ showPropertyPanel: zod.z.boolean().default(true).describe("Show property panel"),
37214
+ /** Show the node palette sidebar */
37215
+ showPalette: zod.z.boolean().default(true).describe("Show node palette sidebar"),
37216
+ /** Maximum undo history steps */
37217
+ undoLimit: zod.z.number().int().min(1).default(50).describe("Maximum undo history steps"),
37218
+ /** Enable edge animation during execution preview */
37219
+ animateExecution: zod.z.boolean().default(true).describe("Animate edges during execution preview"),
37220
+ /** Connection validation — prevent invalid edges (e.g., duplicate, self-loop) */
37221
+ connectionValidation: zod.z.boolean().default(true).describe("Validate connections before creating edges")
37222
+ }).describe("Studio Flow Builder configuration");
37223
+ var BUILT_IN_NODE_DESCRIPTORS = [
37224
+ { action: "start", shape: "circle", icon: "play", defaultLabel: "Start", defaultWidth: 60, defaultHeight: 60, fillColor: "#dcfce7", borderColor: "#16a34a", allowBoundaryEvents: false, paletteCategory: "event" },
37225
+ { action: "end", shape: "circle", icon: "square", defaultLabel: "End", defaultWidth: 60, defaultHeight: 60, fillColor: "#fee2e2", borderColor: "#dc2626", allowBoundaryEvents: false, paletteCategory: "event" },
37226
+ { action: "decision", shape: "diamond", icon: "git-branch", defaultLabel: "Decision", defaultWidth: 80, defaultHeight: 80, fillColor: "#fef9c3", borderColor: "#ca8a04", allowBoundaryEvents: false, paletteCategory: "gateway" },
37227
+ { action: "parallel_gateway", shape: "diamond_thick", icon: "git-fork", defaultLabel: "Parallel Gateway", defaultWidth: 80, defaultHeight: 80, fillColor: "#dbeafe", borderColor: "#2563eb", allowBoundaryEvents: false, paletteCategory: "gateway" },
37228
+ { action: "join_gateway", shape: "diamond_thick", icon: "git-merge", defaultLabel: "Join Gateway", defaultWidth: 80, defaultHeight: 80, fillColor: "#dbeafe", borderColor: "#2563eb", allowBoundaryEvents: false, paletteCategory: "gateway" },
37229
+ { action: "wait", shape: "hexagon", icon: "clock", defaultLabel: "Wait", defaultWidth: 100, defaultHeight: 60, fillColor: "#f3e8ff", borderColor: "#7c3aed", allowBoundaryEvents: true, paletteCategory: "event" },
37230
+ { action: "boundary_event", shape: "attached_circle", icon: "alert-circle", defaultLabel: "Boundary Event", defaultWidth: 40, defaultHeight: 40, fillColor: "#fff7ed", borderColor: "#ea580c", allowBoundaryEvents: false, paletteCategory: "event" },
37231
+ { action: "assignment", shape: "rounded_rect", icon: "pen-line", defaultLabel: "Assignment", defaultWidth: 120, defaultHeight: 60, fillColor: "#ffffff", borderColor: "#94a3b8", allowBoundaryEvents: true, paletteCategory: "activity" },
37232
+ { action: "create_record", shape: "rounded_rect", icon: "plus-circle", defaultLabel: "Create Record", defaultWidth: 120, defaultHeight: 60, fillColor: "#ffffff", borderColor: "#94a3b8", allowBoundaryEvents: true, paletteCategory: "data" },
37233
+ { action: "update_record", shape: "rounded_rect", icon: "edit", defaultLabel: "Update Record", defaultWidth: 120, defaultHeight: 60, fillColor: "#ffffff", borderColor: "#94a3b8", allowBoundaryEvents: true, paletteCategory: "data" },
37234
+ { action: "delete_record", shape: "rounded_rect", icon: "trash-2", defaultLabel: "Delete Record", defaultWidth: 120, defaultHeight: 60, fillColor: "#ffffff", borderColor: "#94a3b8", allowBoundaryEvents: true, paletteCategory: "data" },
37235
+ { action: "get_record", shape: "rounded_rect", icon: "search", defaultLabel: "Get Record", defaultWidth: 120, defaultHeight: 60, fillColor: "#ffffff", borderColor: "#94a3b8", allowBoundaryEvents: true, paletteCategory: "data" },
37236
+ { action: "http_request", shape: "rounded_rect", icon: "globe", defaultLabel: "HTTP Request", defaultWidth: 120, defaultHeight: 60, fillColor: "#ffffff", borderColor: "#94a3b8", allowBoundaryEvents: true, paletteCategory: "activity" },
37237
+ { action: "script", shape: "rounded_rect", icon: "code", defaultLabel: "Script", defaultWidth: 120, defaultHeight: 60, fillColor: "#ffffff", borderColor: "#94a3b8", allowBoundaryEvents: true, paletteCategory: "activity" },
37238
+ { action: "screen", shape: "screen_rect", icon: "monitor", defaultLabel: "Screen", defaultWidth: 140, defaultHeight: 80, fillColor: "#f0f9ff", borderColor: "#0284c7", allowBoundaryEvents: false, paletteCategory: "activity" },
37239
+ { action: "loop", shape: "parallelogram", icon: "repeat", defaultLabel: "Loop", defaultWidth: 120, defaultHeight: 60, fillColor: "#fef3c7", borderColor: "#d97706", allowBoundaryEvents: true, paletteCategory: "activity" },
37240
+ { action: "subflow", shape: "rounded_rect", icon: "layers", defaultLabel: "Subflow", defaultWidth: 140, defaultHeight: 70, fillColor: "#ede9fe", borderColor: "#7c3aed", allowBoundaryEvents: true, paletteCategory: "subflow" },
37241
+ { action: "connector_action", shape: "rounded_rect", icon: "plug", defaultLabel: "Connector", defaultWidth: 120, defaultHeight: 60, fillColor: "#ffffff", borderColor: "#94a3b8", allowBoundaryEvents: true, paletteCategory: "activity" }
37242
+ ];
37243
+ function defineFlowBuilderConfig(input) {
37244
+ return FlowBuilderConfigSchema.parse(input);
37245
+ }
35293
37246
  var ObjectStackDefinitionSchema = zod.z.object({
35294
37247
  /** System Configuration */
35295
37248
  manifest: ManifestSchema.optional().describe("Project Package Configuration"),