@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/api/index.js CHANGED
@@ -461,8 +461,17 @@ var ServiceInfoSchema = zod.z.object({
461
461
  route: zod.z.string().optional().describe("e.g. /api/v1/analytics"),
462
462
  /** Implementation provider name */
463
463
  provider: zod.z.string().optional().describe('e.g. "objectql", "plugin-redis", "driver-memory"'),
464
+ /** Service version */
465
+ version: zod.z.string().optional().describe('Semantic version of the service implementation (e.g. "3.0.6")'),
464
466
  /** Human-readable reason if unavailable */
465
- message: zod.z.string().optional().describe('e.g. "Install plugin-workflow to enable"')
467
+ message: zod.z.string().optional().describe('e.g. "Install plugin-workflow to enable"'),
468
+ /** Rate limit configuration for this service */
469
+ rateLimit: zod.z.object({
470
+ requestsPerMinute: zod.z.number().int().optional().describe("Maximum requests per minute"),
471
+ requestsPerHour: zod.z.number().int().optional().describe("Maximum requests per hour"),
472
+ burstLimit: zod.z.number().int().optional().describe("Maximum burst request count"),
473
+ retryAfterMs: zod.z.number().int().optional().describe("Suggested retry-after delay in milliseconds when rate-limited")
474
+ }).optional().describe("Rate limit and quota info for this service")
466
475
  });
467
476
  var ApiRoutesSchema = zod.z.object({
468
477
  /** Base URL for Object CRUD (Data Protocol) */
@@ -516,11 +525,46 @@ var DiscoverySchema = zod.z.object({
516
525
  services: zod.z.record(zod.z.string(), ServiceInfoSchema).describe(
517
526
  "Per-service availability map keyed by CoreServiceName"
518
527
  ),
528
+ /**
529
+ * Hierarchical capability descriptors.
530
+ * Declares platform features so clients can adapt UI without probing individual services.
531
+ * Each key is a capability domain (e.g., "comments", "automation", "search"),
532
+ * and its value describes what sub-features are available.
533
+ */
534
+ capabilities: zod.z.record(zod.z.string(), zod.z.object({
535
+ enabled: zod.z.boolean().describe("Whether this capability is available"),
536
+ features: zod.z.record(zod.z.string(), zod.z.boolean()).optional().describe("Sub-feature flags within this capability"),
537
+ description: zod.z.string().optional().describe("Human-readable capability description")
538
+ })).optional().describe("Hierarchical capability descriptors for frontend intelligent adaptation"),
539
+ /**
540
+ * Schema discovery URLs for cross-ecosystem interoperability.
541
+ */
542
+ schemaDiscovery: zod.z.object({
543
+ openapi: zod.z.string().optional().describe('URL to OpenAPI (Swagger) specification (e.g., "/api/v1/openapi.json")'),
544
+ graphql: zod.z.string().optional().describe('URL to GraphQL schema endpoint (e.g., "/graphql")'),
545
+ jsonSchema: zod.z.string().optional().describe("URL to JSON Schema definitions")
546
+ }).optional().describe("Schema discovery endpoints for API toolchain integration"),
519
547
  /**
520
548
  * Custom metadata key-value pairs for extensibility
521
549
  */
522
550
  metadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Custom metadata key-value pairs for extensibility")
523
551
  });
552
+ var WellKnownCapabilitiesSchema = zod.z.object({
553
+ /** Whether the backend supports Feed / Chatter API */
554
+ feed: zod.z.boolean().describe("Whether the backend supports Feed / Chatter API"),
555
+ /** Whether the backend supports comments (a subset of Feed) */
556
+ comments: zod.z.boolean().describe("Whether the backend supports comments (a subset of Feed)"),
557
+ /** Whether the backend supports Automation CRUD (flows, triggers) */
558
+ automation: zod.z.boolean().describe("Whether the backend supports Automation CRUD (flows, triggers)"),
559
+ /** Whether the backend supports cron scheduling */
560
+ cron: zod.z.boolean().describe("Whether the backend supports cron scheduling"),
561
+ /** Whether the backend supports full-text search */
562
+ search: zod.z.boolean().describe("Whether the backend supports full-text search"),
563
+ /** Whether the backend supports async export */
564
+ export: zod.z.boolean().describe("Whether the backend supports async export"),
565
+ /** Whether the backend supports chunked (multipart) uploads */
566
+ chunkedUpload: zod.z.boolean().describe("Whether the backend supports chunked (multipart) uploads")
567
+ }).describe("Well-known capability flags for frontend intelligent adaptation");
524
568
  var PresenceStatus = zod.z.enum([
525
569
  "online",
526
570
  // User is actively connected
@@ -4273,12 +4317,22 @@ zod.z.object({
4273
4317
  register: zod.z.function().describe("Register a driver")
4274
4318
  }).passthrough().describe("Driver Registry")
4275
4319
  });
4320
+ zod.z.object({
4321
+ /** Version before upgrade */
4322
+ previousVersion: zod.z.string().describe("Version before upgrade"),
4323
+ /** Version after upgrade */
4324
+ newVersion: zod.z.string().describe("Version after upgrade"),
4325
+ /** Whether this is a major version bump */
4326
+ isMajorUpgrade: zod.z.boolean().describe("Whether this is a major version bump"),
4327
+ /** Metadata snapshot before upgrade (for migration logic) */
4328
+ previousMetadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Metadata snapshot before upgrade")
4329
+ }).describe("Version migration context for onUpgrade hook");
4276
4330
  var PluginLifecycleSchema = zod.z.object({
4277
4331
  onInstall: zod.z.function().optional().describe("Called when plugin is installed"),
4278
4332
  onEnable: zod.z.function().optional().describe("Called when plugin is enabled"),
4279
4333
  onDisable: zod.z.function().optional().describe("Called when plugin is disabled"),
4280
4334
  onUninstall: zod.z.function().optional().describe("Called when plugin is uninstalled"),
4281
- onUpgrade: zod.z.function().optional().describe("Called when plugin is upgraded")
4335
+ onUpgrade: zod.z.function().optional().describe("Called when plugin is upgraded. Receives UpgradeContext with previousVersion, newVersion, and isMajorUpgrade")
4282
4336
  });
4283
4337
  var CORE_PLUGIN_TYPES = [
4284
4338
  "ui",
@@ -4636,8 +4690,67 @@ var ManifestSchema = zod.z.object({
4636
4690
  * Configures how the plugin is loaded, initialized, and managed at runtime.
4637
4691
  * Includes strategies for lazy loading, code splitting, caching, and hot reload.
4638
4692
  */
4639
- loading: PluginLoadingConfigSchema.optional().describe("Plugin loading and runtime behavior configuration")
4640
- });
4693
+ loading: PluginLoadingConfigSchema.optional().describe("Plugin loading and runtime behavior configuration"),
4694
+ /**
4695
+ * Platform Compatibility Requirements.
4696
+ * Specifies the minimum ObjectStack platform version required to run this package.
4697
+ * Used at install time to prevent incompatible packages from being installed.
4698
+ *
4699
+ * @example
4700
+ * ```yaml
4701
+ * engine:
4702
+ * objectstack: ">=3.0.0"
4703
+ * ```
4704
+ */
4705
+ engine: zod.z.object({
4706
+ /** ObjectStack platform version requirement (SemVer range) */
4707
+ objectstack: zod.z.string().regex(/^[><=~^]*\d+\.\d+\.\d+/).describe('ObjectStack platform version requirement (SemVer range, e.g. ">=3.0.0")')
4708
+ }).optional().describe("Platform compatibility requirements")
4709
+ });
4710
+ var DependencyStatusEnum = zod.z.enum([
4711
+ "satisfied",
4712
+ // Already installed and version compatible
4713
+ "needs_install",
4714
+ // Not installed, needs to be installed
4715
+ "needs_upgrade",
4716
+ // Installed but version incompatible, needs upgrade
4717
+ "conflict"
4718
+ // Conflicts with another package's dependency
4719
+ ]).describe("Resolution status for a dependency");
4720
+ var ResolvedDependencySchema = zod.z.object({
4721
+ /** Package identifier of the dependency */
4722
+ packageId: zod.z.string().describe("Dependency package identifier"),
4723
+ /** SemVer range required by the parent package */
4724
+ requiredRange: zod.z.string().describe('SemVer range required (e.g. "^2.0.0")'),
4725
+ /** Actual version resolved (if available) */
4726
+ resolvedVersion: zod.z.string().optional().describe("Actual version resolved from registry"),
4727
+ /** Currently installed version (if any) */
4728
+ installedVersion: zod.z.string().optional().describe("Currently installed version"),
4729
+ /** Resolution status */
4730
+ status: DependencyStatusEnum.describe("Resolution status"),
4731
+ /** Conflict details (when status is "conflict") */
4732
+ conflictReason: zod.z.string().optional().describe("Explanation of the conflict")
4733
+ }).describe("Resolution result for a single dependency");
4734
+ var RequiredActionSchema = zod.z.object({
4735
+ /** Type of action required */
4736
+ type: zod.z.enum(["install", "upgrade", "confirm_conflict"]).describe("Type of action required"),
4737
+ /** Target package identifier */
4738
+ packageId: zod.z.string().describe("Target package identifier"),
4739
+ /** Human-readable description of the action */
4740
+ description: zod.z.string().describe("Human-readable action description")
4741
+ }).describe("Action required before installation can proceed");
4742
+ var DependencyResolutionResultSchema = zod.z.object({
4743
+ /** All dependencies and their resolution results */
4744
+ dependencies: zod.z.array(ResolvedDependencySchema).describe("Resolution result for each dependency"),
4745
+ /** Whether installation can proceed without conflicts */
4746
+ canProceed: zod.z.boolean().describe("Whether installation can proceed"),
4747
+ /** Actions that require user confirmation or system execution */
4748
+ requiredActions: zod.z.array(RequiredActionSchema).describe("Actions required before proceeding"),
4749
+ /** Topologically sorted package IDs for installation order */
4750
+ installOrder: zod.z.array(zod.z.string()).describe("Topologically sorted package IDs for installation"),
4751
+ /** Detected circular dependency chains */
4752
+ circularDependencies: zod.z.array(zod.z.array(zod.z.string())).optional().describe('Circular dependency chains detected (e.g. [["A", "B", "A"]])')
4753
+ }).describe("Complete dependency resolution result");
4641
4754
 
4642
4755
  // src/kernel/package-registry.zod.ts
4643
4756
  var PackageStatusEnum = zod.z.enum([
@@ -4653,29 +4766,29 @@ var PackageStatusEnum = zod.z.enum([
4653
4766
  // Removal in progress
4654
4767
  "error"
4655
4768
  // Installation or runtime error
4656
- ]);
4769
+ ]).describe("Package installation status");
4657
4770
  var InstalledPackageSchema = zod.z.object({
4658
4771
  /**
4659
4772
  * The full package manifest (source of truth for package definition).
4660
4773
  */
4661
- manifest: ManifestSchema,
4774
+ manifest: ManifestSchema.describe("Full package manifest"),
4662
4775
  /**
4663
4776
  * Current lifecycle status.
4664
4777
  */
4665
- status: PackageStatusEnum.default("installed"),
4778
+ status: PackageStatusEnum.default("installed").describe("Package state: installed, disabled, installing, upgrading, uninstalling, or error"),
4666
4779
  /**
4667
4780
  * Whether the package is currently enabled (active).
4668
4781
  * When disabled, the package's metadata is not loaded into the registry.
4669
4782
  */
4670
- enabled: zod.z.boolean().default(true),
4783
+ enabled: zod.z.boolean().default(true).describe("Whether the package is currently enabled"),
4671
4784
  /**
4672
4785
  * ISO 8601 timestamp of when the package was installed.
4673
4786
  */
4674
- installedAt: zod.z.string().datetime().optional(),
4787
+ installedAt: zod.z.string().datetime().optional().describe("Installation timestamp"),
4675
4788
  /**
4676
4789
  * ISO 8601 timestamp of last update.
4677
4790
  */
4678
- updatedAt: zod.z.string().datetime().optional(),
4791
+ updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
4679
4792
  /**
4680
4793
  * The currently installed version string.
4681
4794
  * Mirrors manifest.version for quick access without parsing the full manifest.
@@ -4689,73 +4802,124 @@ var InstalledPackageSchema = zod.z.object({
4689
4802
  /**
4690
4803
  * ISO 8601 timestamp of when the package was last enabled/disabled.
4691
4804
  */
4692
- statusChangedAt: zod.z.string().datetime().optional(),
4805
+ statusChangedAt: zod.z.string().datetime().optional().describe("Status change timestamp"),
4693
4806
  /**
4694
4807
  * Error message if status is 'error'.
4695
4808
  */
4696
- errorMessage: zod.z.string().optional(),
4809
+ errorMessage: zod.z.string().optional().describe("Error message when status is error"),
4697
4810
  /**
4698
4811
  * Configuration values set by the user for this package.
4699
4812
  * Keys correspond to the package's `configuration.properties`.
4700
4813
  */
4701
- settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional()
4702
- });
4814
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided configuration settings"),
4815
+ /**
4816
+ * Upgrade history for this package.
4817
+ * Records each version migration with status and optional log.
4818
+ */
4819
+ upgradeHistory: zod.z.array(zod.z.object({
4820
+ /** Previous version before upgrade */
4821
+ fromVersion: zod.z.string().describe("Version before upgrade"),
4822
+ /** New version after upgrade */
4823
+ toVersion: zod.z.string().describe("Version after upgrade"),
4824
+ /** Timestamp of the upgrade */
4825
+ upgradedAt: zod.z.string().datetime().describe("Upgrade timestamp"),
4826
+ /** Outcome of the upgrade */
4827
+ status: zod.z.enum(["success", "failed", "rolled_back"]).describe("Upgrade outcome"),
4828
+ /** Migration log entries */
4829
+ migrationLog: zod.z.array(zod.z.string()).optional().describe("Migration step logs")
4830
+ })).optional().describe("Version upgrade history"),
4831
+ /**
4832
+ * Namespaces registered by this package.
4833
+ * Tracks which namespace prefixes are occupied by this package.
4834
+ */
4835
+ registeredNamespaces: zod.z.array(zod.z.string()).optional().describe("Namespace prefixes registered by this package")
4836
+ }).describe("Installed package with runtime lifecycle state");
4837
+ zod.z.object({
4838
+ /** Namespace prefix */
4839
+ namespace: zod.z.string().describe("Namespace prefix"),
4840
+ /** Package that owns this namespace */
4841
+ packageId: zod.z.string().describe("Owning package ID"),
4842
+ /** Registration timestamp */
4843
+ registeredAt: zod.z.string().datetime().describe("Registration timestamp"),
4844
+ /** Namespace status */
4845
+ status: zod.z.enum(["active", "disabled", "reserved"]).describe("Namespace status")
4846
+ }).describe("Namespace ownership entry in the registry");
4847
+ zod.z.object({
4848
+ /** Error type discriminator */
4849
+ type: zod.z.literal("namespace_conflict").describe("Error type"),
4850
+ /** Namespace that was requested */
4851
+ requestedNamespace: zod.z.string().describe("Requested namespace"),
4852
+ /** ID of the package that already owns the namespace */
4853
+ conflictingPackageId: zod.z.string().describe("Conflicting package ID"),
4854
+ /** Name of the conflicting package */
4855
+ conflictingPackageName: zod.z.string().describe("Conflicting package display name"),
4856
+ /** Suggested alternative namespace */
4857
+ suggestion: zod.z.string().optional().describe("Suggested alternative namespace")
4858
+ }).describe("Namespace collision error during installation");
4703
4859
  var ListPackagesRequestSchema = zod.z.object({
4704
4860
  /** Filter by status */
4705
- status: PackageStatusEnum.optional(),
4861
+ status: PackageStatusEnum.optional().describe("Filter by package status"),
4706
4862
  /** Filter by package type */
4707
- type: ManifestSchema.shape.type.optional(),
4863
+ type: ManifestSchema.shape.type.optional().describe("Filter by package type"),
4708
4864
  /** Filter by enabled state */
4709
- enabled: zod.z.boolean().optional()
4710
- });
4865
+ enabled: zod.z.boolean().optional().describe("Filter by enabled state")
4866
+ }).describe("List packages request");
4711
4867
  var ListPackagesResponseSchema = zod.z.object({
4712
- packages: zod.z.array(InstalledPackageSchema),
4713
- total: zod.z.number()
4714
- });
4868
+ packages: zod.z.array(InstalledPackageSchema).describe("List of installed packages"),
4869
+ total: zod.z.number().describe("Total package count")
4870
+ }).describe("List packages response");
4715
4871
  var GetPackageRequestSchema = zod.z.object({
4716
4872
  /** Package ID (reverse domain identifier from manifest) */
4717
- id: zod.z.string()
4718
- });
4873
+ id: zod.z.string().describe("Package identifier")
4874
+ }).describe("Get package request");
4719
4875
  var GetPackageResponseSchema = zod.z.object({
4720
- package: InstalledPackageSchema
4721
- });
4876
+ package: InstalledPackageSchema.describe("Package details")
4877
+ }).describe("Get package response");
4722
4878
  var InstallPackageRequestSchema = zod.z.object({
4723
4879
  /** The package manifest to install */
4724
- manifest: ManifestSchema,
4880
+ manifest: ManifestSchema.describe("Package manifest to install"),
4725
4881
  /** Optional: user-provided settings at install time */
4726
- settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
4882
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
4727
4883
  /** Whether to enable immediately after install (default: true) */
4728
- enableOnInstall: zod.z.boolean().default(true)
4729
- });
4884
+ enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
4885
+ /**
4886
+ * Current platform version for compatibility checking.
4887
+ * When provided, the system compares this against the package's
4888
+ * `engine.objectstack` requirement to verify compatibility.
4889
+ */
4890
+ platformVersion: zod.z.string().optional().describe("Current platform version for compatibility verification")
4891
+ }).describe("Install package request");
4730
4892
  var InstallPackageResponseSchema = zod.z.object({
4731
- package: InstalledPackageSchema,
4732
- message: zod.z.string().optional()
4733
- });
4893
+ package: InstalledPackageSchema.describe("Installed package details"),
4894
+ message: zod.z.string().optional().describe("Installation status message"),
4895
+ /** Dependency resolution result (when dependencies were analyzed) */
4896
+ dependencyResolution: DependencyResolutionResultSchema.optional().describe("Dependency resolution result from install analysis")
4897
+ }).describe("Install package response");
4734
4898
  var UninstallPackageRequestSchema = zod.z.object({
4735
4899
  /** Package ID to uninstall */
4736
- id: zod.z.string()
4737
- });
4900
+ id: zod.z.string().describe("Package ID to uninstall")
4901
+ }).describe("Uninstall package request");
4738
4902
  var UninstallPackageResponseSchema = zod.z.object({
4739
- id: zod.z.string(),
4740
- success: zod.z.boolean(),
4741
- message: zod.z.string().optional()
4742
- });
4903
+ id: zod.z.string().describe("Uninstalled package ID"),
4904
+ success: zod.z.boolean().describe("Whether uninstall succeeded"),
4905
+ message: zod.z.string().optional().describe("Uninstall status message")
4906
+ }).describe("Uninstall package response");
4743
4907
  var EnablePackageRequestSchema = zod.z.object({
4744
4908
  /** Package ID to enable */
4745
- id: zod.z.string()
4746
- });
4909
+ id: zod.z.string().describe("Package ID to enable")
4910
+ }).describe("Enable package request");
4747
4911
  var EnablePackageResponseSchema = zod.z.object({
4748
- package: InstalledPackageSchema,
4749
- message: zod.z.string().optional()
4750
- });
4912
+ package: InstalledPackageSchema.describe("Enabled package details"),
4913
+ message: zod.z.string().optional().describe("Enable status message")
4914
+ }).describe("Enable package response");
4751
4915
  var DisablePackageRequestSchema = zod.z.object({
4752
4916
  /** Package ID to disable */
4753
- id: zod.z.string()
4754
- });
4917
+ id: zod.z.string().describe("Package ID to disable")
4918
+ }).describe("Disable package request");
4755
4919
  var DisablePackageResponseSchema = zod.z.object({
4756
- package: InstalledPackageSchema,
4757
- message: zod.z.string().optional()
4758
- });
4920
+ package: InstalledPackageSchema.describe("Disabled package details"),
4921
+ message: zod.z.string().optional().describe("Disable status message")
4922
+ }).describe("Disable package response");
4759
4923
 
4760
4924
  // src/api/protocol.zod.ts
4761
4925
  var AutomationTriggerRequestSchema = zod.z.object({
@@ -4772,7 +4936,8 @@ var GetDiscoveryResponseSchema = zod.z.object({
4772
4936
  version: zod.z.string().describe('API version (e.g., "v1", "2024-01")'),
4773
4937
  apiName: zod.z.string().describe("API name"),
4774
4938
  routes: ApiRoutesSchema.optional().describe("Available endpoint paths"),
4775
- services: zod.z.record(zod.z.string(), ServiceInfoSchema).optional().describe("Per-service availability map")
4939
+ services: zod.z.record(zod.z.string(), ServiceInfoSchema).optional().describe("Per-service availability map"),
4940
+ capabilities: WellKnownCapabilitiesSchema.optional().describe("Well-known capability flags for frontend adaptation")
4776
4941
  });
4777
4942
  var GetMetaTypesRequestSchema = zod.z.object({});
4778
4943
  var GetMetaTypesResponseSchema = zod.z.object({
@@ -4822,6 +4987,7 @@ var FindDataResponseSchema = zod.z.object({
4822
4987
  object: zod.z.string().describe("The object name for the returned records."),
4823
4988
  records: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The list of matching records."),
4824
4989
  total: zod.z.number().optional().describe("Total number of records matching the filter (if requested)."),
4990
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page of results (cursor-based pagination)."),
4825
4991
  hasMore: zod.z.boolean().optional().describe("True if there are more records available (pagination).")
4826
4992
  });
4827
4993
  var GetDataRequestSchema = zod.z.object({
@@ -5296,7 +5462,22 @@ var ObjectStackProtocolSchema = zod.z.object({
5296
5462
  // i18n Operations
5297
5463
  getLocales: zod.z.function().describe("Get available locales"),
5298
5464
  getTranslations: zod.z.function().describe("Get translations for a locale"),
5299
- getFieldLabels: zod.z.function().describe("Get translated field labels for an object")
5465
+ getFieldLabels: zod.z.function().describe("Get translated field labels for an object"),
5466
+ // Feed Operations
5467
+ listFeed: zod.z.function().describe("List feed items for a record"),
5468
+ createFeedItem: zod.z.function().describe("Create a new feed item"),
5469
+ updateFeedItem: zod.z.function().describe("Update an existing feed item"),
5470
+ deleteFeedItem: zod.z.function().describe("Delete a feed item"),
5471
+ addReaction: zod.z.function().describe("Add an emoji reaction to a feed item"),
5472
+ removeReaction: zod.z.function().describe("Remove an emoji reaction from a feed item"),
5473
+ pinFeedItem: zod.z.function().describe("Pin a feed item"),
5474
+ unpinFeedItem: zod.z.function().describe("Unpin a feed item"),
5475
+ starFeedItem: zod.z.function().describe("Star a feed item"),
5476
+ unstarFeedItem: zod.z.function().describe("Unstar a feed item"),
5477
+ searchFeed: zod.z.function().describe("Search feed items"),
5478
+ getChangelog: zod.z.function().describe("Get field-level changelog for a record"),
5479
+ feedSubscribe: zod.z.function().describe("Subscribe to record notifications"),
5480
+ feedUnsubscribe: zod.z.function().describe("Unsubscribe from record notifications")
5300
5481
  });
5301
5482
  var RestApiConfigSchema = zod.z.object({
5302
5483
  /**
@@ -7054,6 +7235,113 @@ var PresignedUrlResponseSchema = BaseResponseSchema.extend({
7054
7235
  var FileUploadResponseSchema = BaseResponseSchema.extend({
7055
7236
  data: FileMetadataSchema.describe("Uploaded file metadata")
7056
7237
  });
7238
+ var FileTypeValidationSchema = zod.z.object({
7239
+ mode: zod.z.enum(["whitelist", "blacklist"]).describe("whitelist = only allow listed types, blacklist = block listed types"),
7240
+ mimeTypes: zod.z.array(zod.z.string()).min(1).describe('List of MIME types to allow or block (e.g., "image/jpeg", "application/pdf")'),
7241
+ extensions: zod.z.array(zod.z.string()).optional().describe('List of file extensions to allow or block (e.g., ".jpg", ".pdf")'),
7242
+ maxFileSize: zod.z.number().int().min(1).optional().describe("Maximum file size in bytes"),
7243
+ minFileSize: zod.z.number().int().min(0).optional().describe("Minimum file size in bytes (e.g., reject empty files)")
7244
+ });
7245
+ var InitiateChunkedUploadRequestSchema = zod.z.object({
7246
+ filename: zod.z.string().describe("Original filename"),
7247
+ mimeType: zod.z.string().describe("File MIME type"),
7248
+ totalSize: zod.z.number().int().min(1).describe("Total file size in bytes"),
7249
+ chunkSize: zod.z.number().int().min(5242880).default(5242880).describe("Size of each chunk in bytes (minimum 5MB per S3 spec)"),
7250
+ scope: zod.z.string().default("user").describe("Target storage scope"),
7251
+ bucket: zod.z.string().optional().describe("Specific bucket override (admin only)"),
7252
+ metadata: zod.z.record(zod.z.string(), zod.z.string()).optional().describe("Custom metadata key-value pairs")
7253
+ });
7254
+ var InitiateChunkedUploadResponseSchema = BaseResponseSchema.extend({
7255
+ data: zod.z.object({
7256
+ uploadId: zod.z.string().describe("Multipart upload session ID"),
7257
+ resumeToken: zod.z.string().describe("Opaque token for resuming interrupted uploads"),
7258
+ fileId: zod.z.string().describe("Assigned file ID"),
7259
+ totalChunks: zod.z.number().int().min(1).describe("Expected number of chunks"),
7260
+ chunkSize: zod.z.number().int().describe("Chunk size in bytes"),
7261
+ expiresAt: zod.z.string().datetime().describe("Upload session expiration timestamp")
7262
+ })
7263
+ });
7264
+ var UploadChunkRequestSchema = zod.z.object({
7265
+ uploadId: zod.z.string().describe("Multipart upload session ID"),
7266
+ chunkIndex: zod.z.number().int().min(0).describe("Zero-based chunk index"),
7267
+ resumeToken: zod.z.string().describe("Resume token from initiate response")
7268
+ });
7269
+ var UploadChunkResponseSchema = BaseResponseSchema.extend({
7270
+ data: zod.z.object({
7271
+ chunkIndex: zod.z.number().int().describe("Chunk index that was uploaded"),
7272
+ eTag: zod.z.string().describe("Chunk ETag for multipart completion"),
7273
+ bytesReceived: zod.z.number().int().describe("Bytes received for this chunk")
7274
+ })
7275
+ });
7276
+ var CompleteChunkedUploadRequestSchema = zod.z.object({
7277
+ uploadId: zod.z.string().describe("Multipart upload session ID"),
7278
+ parts: zod.z.array(zod.z.object({
7279
+ chunkIndex: zod.z.number().int().describe("Chunk index"),
7280
+ eTag: zod.z.string().describe("ETag returned from chunk upload")
7281
+ })).min(1).describe("Ordered list of uploaded parts for assembly")
7282
+ });
7283
+ var CompleteChunkedUploadResponseSchema = BaseResponseSchema.extend({
7284
+ data: zod.z.object({
7285
+ fileId: zod.z.string().describe("Final file ID"),
7286
+ key: zod.z.string().describe("Storage key/path of the assembled file"),
7287
+ size: zod.z.number().int().describe("Total file size in bytes"),
7288
+ mimeType: zod.z.string().describe("File MIME type"),
7289
+ eTag: zod.z.string().optional().describe("Final ETag of the assembled file"),
7290
+ url: zod.z.string().optional().describe("Download URL for the assembled file")
7291
+ })
7292
+ });
7293
+ var UploadProgressSchema = BaseResponseSchema.extend({
7294
+ data: zod.z.object({
7295
+ uploadId: zod.z.string().describe("Multipart upload session ID"),
7296
+ fileId: zod.z.string().describe("Assigned file ID"),
7297
+ filename: zod.z.string().describe("Original filename"),
7298
+ totalSize: zod.z.number().int().describe("Total file size in bytes"),
7299
+ uploadedSize: zod.z.number().int().describe("Bytes uploaded so far"),
7300
+ totalChunks: zod.z.number().int().describe("Total expected chunks"),
7301
+ uploadedChunks: zod.z.number().int().describe("Number of chunks uploaded"),
7302
+ percentComplete: zod.z.number().min(0).max(100).describe("Upload progress percentage"),
7303
+ status: zod.z.enum(["in_progress", "completing", "completed", "failed", "expired"]).describe("Current upload session status"),
7304
+ startedAt: zod.z.string().datetime().describe("Upload session start timestamp"),
7305
+ expiresAt: zod.z.string().datetime().describe("Session expiration timestamp")
7306
+ })
7307
+ });
7308
+ var StorageApiContracts = {
7309
+ getPresignedUrl: {
7310
+ method: "POST",
7311
+ path: "/api/v1/storage/upload/presigned",
7312
+ input: GetPresignedUrlRequestSchema,
7313
+ output: PresignedUrlResponseSchema
7314
+ },
7315
+ completeUpload: {
7316
+ method: "POST",
7317
+ path: "/api/v1/storage/upload/complete",
7318
+ input: CompleteUploadRequestSchema,
7319
+ output: FileUploadResponseSchema
7320
+ },
7321
+ initiateChunkedUpload: {
7322
+ method: "POST",
7323
+ path: "/api/v1/storage/upload/chunked",
7324
+ input: InitiateChunkedUploadRequestSchema,
7325
+ output: InitiateChunkedUploadResponseSchema
7326
+ },
7327
+ uploadChunk: {
7328
+ method: "PUT",
7329
+ path: "/api/v1/storage/upload/chunked/:uploadId/chunk/:chunkIndex",
7330
+ input: UploadChunkRequestSchema,
7331
+ output: UploadChunkResponseSchema
7332
+ },
7333
+ completeChunkedUpload: {
7334
+ method: "POST",
7335
+ path: "/api/v1/storage/upload/chunked/:uploadId/complete",
7336
+ input: CompleteChunkedUploadRequestSchema,
7337
+ output: CompleteChunkedUploadResponseSchema
7338
+ },
7339
+ getUploadProgress: {
7340
+ method: "GET",
7341
+ path: "/api/v1/storage/upload/chunked/:uploadId/progress",
7342
+ output: UploadProgressSchema
7343
+ }
7344
+ };
7057
7345
  var EncryptionAlgorithmSchema = zod.z.enum([
7058
7346
  "aes-256-gcm",
7059
7347
  "aes-256-cbc",
@@ -10697,6 +10985,12 @@ var FeedItemSchema = zod.z.object({
10697
10985
  /** Reply threading */
10698
10986
  parentId: zod.z.string().optional().describe("Parent feed item ID for threaded replies"),
10699
10987
  replyCount: zod.z.number().int().min(0).default(0).describe("Number of replies"),
10988
+ /** Pin / Star */
10989
+ pinned: zod.z.boolean().default(false).describe("Whether the feed item is pinned to the top of the timeline"),
10990
+ pinnedAt: zod.z.string().datetime().optional().describe("Timestamp when the item was pinned"),
10991
+ pinnedBy: zod.z.string().optional().describe("User ID who pinned the item"),
10992
+ starred: zod.z.boolean().default(false).describe("Whether the feed item is starred/bookmarked by the current user"),
10993
+ starredAt: zod.z.string().datetime().optional().describe("Timestamp when the item was starred"),
10700
10994
  /** Visibility */
10701
10995
  visibility: FeedVisibility.default("public").describe("Visibility: public (all users), internal (team only), private (author + mentioned)"),
10702
10996
  /** Timestamps */
@@ -10808,6 +11102,85 @@ var RemoveReactionResponseSchema = BaseResponseSchema.extend({
10808
11102
  reactions: zod.z.array(ReactionSchema).describe("Updated reaction list for the feed item")
10809
11103
  })
10810
11104
  });
11105
+ var PinFeedItemRequestSchema = FeedItemPathParamsSchema;
11106
+ var PinFeedItemResponseSchema = BaseResponseSchema.extend({
11107
+ data: zod.z.object({
11108
+ feedId: zod.z.string().describe("ID of the pinned feed item"),
11109
+ pinned: zod.z.boolean().describe("Whether the item is now pinned"),
11110
+ pinnedAt: zod.z.string().datetime().describe("Timestamp when pinned")
11111
+ })
11112
+ });
11113
+ var UnpinFeedItemRequestSchema = FeedItemPathParamsSchema;
11114
+ var UnpinFeedItemResponseSchema = BaseResponseSchema.extend({
11115
+ data: zod.z.object({
11116
+ feedId: zod.z.string().describe("ID of the unpinned feed item"),
11117
+ pinned: zod.z.boolean().describe("Whether the item is now pinned (should be false)")
11118
+ })
11119
+ });
11120
+ var StarFeedItemRequestSchema = FeedItemPathParamsSchema;
11121
+ var StarFeedItemResponseSchema = BaseResponseSchema.extend({
11122
+ data: zod.z.object({
11123
+ feedId: zod.z.string().describe("ID of the starred feed item"),
11124
+ starred: zod.z.boolean().describe("Whether the item is now starred"),
11125
+ starredAt: zod.z.string().datetime().describe("Timestamp when starred")
11126
+ })
11127
+ });
11128
+ var UnstarFeedItemRequestSchema = FeedItemPathParamsSchema;
11129
+ var UnstarFeedItemResponseSchema = BaseResponseSchema.extend({
11130
+ data: zod.z.object({
11131
+ feedId: zod.z.string().describe("ID of the unstarred feed item"),
11132
+ starred: zod.z.boolean().describe("Whether the item is now starred (should be false)")
11133
+ })
11134
+ });
11135
+ var SearchFeedRequestSchema = FeedPathParamsSchema.extend({
11136
+ query: zod.z.string().min(1).describe("Full-text search query against feed body content"),
11137
+ type: FeedListFilterType.optional().describe("Filter by feed item category"),
11138
+ actorId: zod.z.string().optional().describe("Filter by actor user ID"),
11139
+ dateFrom: zod.z.string().datetime().optional().describe("Filter feed items created after this timestamp"),
11140
+ dateTo: zod.z.string().datetime().optional().describe("Filter feed items created before this timestamp"),
11141
+ hasAttachments: zod.z.boolean().optional().describe("Filter for items with file attachments"),
11142
+ pinnedOnly: zod.z.boolean().optional().describe("Return only pinned items"),
11143
+ starredOnly: zod.z.boolean().optional().describe("Return only starred items"),
11144
+ limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of items to return"),
11145
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
11146
+ });
11147
+ var SearchFeedResponseSchema = BaseResponseSchema.extend({
11148
+ data: zod.z.object({
11149
+ items: zod.z.array(FeedItemSchema).describe("Matching feed items sorted by relevance"),
11150
+ total: zod.z.number().int().optional().describe("Total matching items"),
11151
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
11152
+ hasMore: zod.z.boolean().describe("Whether more items are available")
11153
+ })
11154
+ });
11155
+ var GetChangelogRequestSchema = FeedPathParamsSchema.extend({
11156
+ field: zod.z.string().optional().describe("Filter changelog to a specific field name"),
11157
+ actorId: zod.z.string().optional().describe("Filter changelog by actor user ID"),
11158
+ dateFrom: zod.z.string().datetime().optional().describe("Filter changes after this timestamp"),
11159
+ dateTo: zod.z.string().datetime().optional().describe("Filter changes before this timestamp"),
11160
+ limit: zod.z.number().int().min(1).max(200).default(50).describe("Maximum number of changelog entries to return"),
11161
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
11162
+ });
11163
+ var ChangelogEntrySchema = zod.z.object({
11164
+ id: zod.z.string().describe("Changelog entry ID"),
11165
+ object: zod.z.string().describe("Object name"),
11166
+ recordId: zod.z.string().describe("Record ID"),
11167
+ actor: zod.z.object({
11168
+ type: zod.z.enum(["user", "system", "service", "automation"]).describe("Actor type"),
11169
+ id: zod.z.string().describe("Actor ID"),
11170
+ name: zod.z.string().optional().describe("Actor display name")
11171
+ }).describe("Who made the change"),
11172
+ changes: zod.z.array(FieldChangeEntrySchema).min(1).describe("Field-level changes"),
11173
+ timestamp: zod.z.string().datetime().describe("When the change occurred"),
11174
+ source: zod.z.string().optional().describe('Change source (e.g., "API", "UI", "automation")')
11175
+ });
11176
+ var GetChangelogResponseSchema = BaseResponseSchema.extend({
11177
+ data: zod.z.object({
11178
+ entries: zod.z.array(ChangelogEntrySchema).describe("Changelog entries in reverse chronological order"),
11179
+ total: zod.z.number().int().optional().describe("Total changelog entries matching filter"),
11180
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
11181
+ hasMore: zod.z.boolean().describe("Whether more entries are available")
11182
+ })
11183
+ });
10811
11184
  var SubscribeRequestSchema = FeedPathParamsSchema.extend({
10812
11185
  events: zod.z.array(SubscriptionEventType).default(["all"]).describe("Event types to subscribe to"),
10813
11186
  channels: zod.z.array(NotificationChannel).default(["in_app"]).describe("Notification delivery channels")
@@ -10832,7 +11205,12 @@ var FeedApiErrorCode = zod.z.enum([
10832
11205
  "reaction_not_found",
10833
11206
  "subscription_already_exists",
10834
11207
  "subscription_not_found",
10835
- "invalid_feed_type"
11208
+ "invalid_feed_type",
11209
+ "feed_already_pinned",
11210
+ "feed_not_pinned",
11211
+ "feed_already_starred",
11212
+ "feed_not_starred",
11213
+ "feed_search_query_too_short"
10836
11214
  ]);
10837
11215
  var FeedApiContracts = {
10838
11216
  listFeed: {
@@ -10871,6 +11249,42 @@ var FeedApiContracts = {
10871
11249
  input: RemoveReactionRequestSchema,
10872
11250
  output: RemoveReactionResponseSchema
10873
11251
  },
11252
+ pinFeedItem: {
11253
+ method: "POST",
11254
+ path: "/api/data/:object/:recordId/feed/:feedId/pin",
11255
+ input: PinFeedItemRequestSchema,
11256
+ output: PinFeedItemResponseSchema
11257
+ },
11258
+ unpinFeedItem: {
11259
+ method: "DELETE",
11260
+ path: "/api/data/:object/:recordId/feed/:feedId/pin",
11261
+ input: UnpinFeedItemRequestSchema,
11262
+ output: UnpinFeedItemResponseSchema
11263
+ },
11264
+ starFeedItem: {
11265
+ method: "POST",
11266
+ path: "/api/data/:object/:recordId/feed/:feedId/star",
11267
+ input: StarFeedItemRequestSchema,
11268
+ output: StarFeedItemResponseSchema
11269
+ },
11270
+ unstarFeedItem: {
11271
+ method: "DELETE",
11272
+ path: "/api/data/:object/:recordId/feed/:feedId/star",
11273
+ input: UnstarFeedItemRequestSchema,
11274
+ output: UnstarFeedItemResponseSchema
11275
+ },
11276
+ searchFeed: {
11277
+ method: "GET",
11278
+ path: "/api/data/:object/:recordId/feed/search",
11279
+ input: SearchFeedRequestSchema,
11280
+ output: SearchFeedResponseSchema
11281
+ },
11282
+ getChangelog: {
11283
+ method: "GET",
11284
+ path: "/api/data/:object/:recordId/changelog",
11285
+ input: GetChangelogRequestSchema,
11286
+ output: GetChangelogResponseSchema
11287
+ },
10874
11288
  subscribe: {
10875
11289
  method: "POST",
10876
11290
  path: "/api/data/:object/:recordId/subscribe",
@@ -10884,6 +11298,1483 @@ var FeedApiContracts = {
10884
11298
  output: UnsubscribeResponseSchema
10885
11299
  }
10886
11300
  };
11301
+ var ExportFormat = zod.z.enum([
11302
+ "csv",
11303
+ "json",
11304
+ "jsonl",
11305
+ "xlsx",
11306
+ "parquet"
11307
+ ]);
11308
+ var ExportJobStatus = zod.z.enum([
11309
+ "pending",
11310
+ "processing",
11311
+ "completed",
11312
+ "failed",
11313
+ "cancelled",
11314
+ "expired"
11315
+ ]);
11316
+ var CreateExportJobRequestSchema = zod.z.object({
11317
+ object: zod.z.string().describe("Object name to export"),
11318
+ format: ExportFormat.default("csv").describe("Export file format"),
11319
+ fields: zod.z.array(zod.z.string()).optional().describe("Specific fields to include (omit for all fields)"),
11320
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Filter criteria for records to export"),
11321
+ sort: zod.z.array(zod.z.object({
11322
+ field: zod.z.string().describe("Field name to sort by"),
11323
+ direction: zod.z.enum(["asc", "desc"]).default("asc").describe("Sort direction")
11324
+ })).optional().describe("Sort order for exported records"),
11325
+ limit: zod.z.number().int().min(1).optional().describe("Maximum number of records to export"),
11326
+ includeHeaders: zod.z.boolean().default(true).describe("Include header row (CSV/XLSX)"),
11327
+ encoding: zod.z.string().default("utf-8").describe("Character encoding for the export file"),
11328
+ templateId: zod.z.string().optional().describe("Export template ID for predefined field mappings")
11329
+ });
11330
+ var CreateExportJobResponseSchema = BaseResponseSchema.extend({
11331
+ data: zod.z.object({
11332
+ jobId: zod.z.string().describe("Export job ID"),
11333
+ status: ExportJobStatus.describe("Initial job status"),
11334
+ estimatedRecords: zod.z.number().int().optional().describe("Estimated total records"),
11335
+ createdAt: zod.z.string().datetime().describe("Job creation timestamp")
11336
+ })
11337
+ });
11338
+ var ExportJobProgressSchema = BaseResponseSchema.extend({
11339
+ data: zod.z.object({
11340
+ jobId: zod.z.string().describe("Export job ID"),
11341
+ status: ExportJobStatus.describe("Current job status"),
11342
+ format: ExportFormat.describe("Export format"),
11343
+ totalRecords: zod.z.number().int().optional().describe("Total records to export"),
11344
+ processedRecords: zod.z.number().int().describe("Records processed so far"),
11345
+ percentComplete: zod.z.number().min(0).max(100).describe("Export progress percentage"),
11346
+ fileSize: zod.z.number().int().optional().describe("Current file size in bytes"),
11347
+ downloadUrl: zod.z.string().optional().describe('Presigned download URL (available when status is "completed")'),
11348
+ downloadExpiresAt: zod.z.string().datetime().optional().describe("Download URL expiration timestamp"),
11349
+ error: zod.z.object({
11350
+ code: zod.z.string().describe("Error code"),
11351
+ message: zod.z.string().describe("Error message")
11352
+ }).optional().describe("Error details if job failed"),
11353
+ startedAt: zod.z.string().datetime().optional().describe("Processing start timestamp"),
11354
+ completedAt: zod.z.string().datetime().optional().describe("Completion timestamp")
11355
+ })
11356
+ });
11357
+ var ImportValidationMode = zod.z.enum([
11358
+ "strict",
11359
+ // Reject entire import on any validation error
11360
+ "lenient",
11361
+ // Skip invalid records, import valid ones
11362
+ "dry_run"
11363
+ // Validate all records without persisting
11364
+ ]);
11365
+ var DeduplicationStrategy = zod.z.enum([
11366
+ "skip",
11367
+ // Skip duplicates (keep existing)
11368
+ "update",
11369
+ // Update existing with import data
11370
+ "create_new",
11371
+ // Create new record even if duplicate
11372
+ "fail"
11373
+ // Fail the import if duplicates found
11374
+ ]);
11375
+ var ImportValidationConfigSchema = zod.z.object({
11376
+ mode: ImportValidationMode.default("strict").describe("Validation mode for the import"),
11377
+ deduplication: zod.z.object({
11378
+ strategy: DeduplicationStrategy.default("skip").describe("How to handle duplicate records"),
11379
+ matchFields: zod.z.array(zod.z.string()).min(1).describe('Fields used to identify duplicates (e.g., "email", "external_id")')
11380
+ }).optional().describe("Deduplication configuration"),
11381
+ maxErrors: zod.z.number().int().min(1).default(100).describe("Maximum validation errors before aborting"),
11382
+ trimWhitespace: zod.z.boolean().default(true).describe("Trim leading/trailing whitespace from string fields"),
11383
+ dateFormat: zod.z.string().optional().describe('Expected date format in import data (e.g., "YYYY-MM-DD")'),
11384
+ nullValues: zod.z.array(zod.z.string()).optional().describe('Strings to treat as null (e.g., ["", "N/A", "null"])')
11385
+ });
11386
+ var ImportValidationResultSchema = BaseResponseSchema.extend({
11387
+ data: zod.z.object({
11388
+ totalRecords: zod.z.number().int().describe("Total records in import file"),
11389
+ validRecords: zod.z.number().int().describe("Records that passed validation"),
11390
+ invalidRecords: zod.z.number().int().describe("Records that failed validation"),
11391
+ duplicateRecords: zod.z.number().int().describe("Duplicate records detected"),
11392
+ errors: zod.z.array(zod.z.object({
11393
+ row: zod.z.number().int().describe("Row number in the import file"),
11394
+ field: zod.z.string().optional().describe("Field that failed validation"),
11395
+ code: zod.z.string().describe("Validation error code"),
11396
+ message: zod.z.string().describe("Validation error message")
11397
+ })).describe("List of validation errors"),
11398
+ preview: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).optional().describe("Preview of first N valid records (for dry_run mode)")
11399
+ })
11400
+ });
11401
+ var FieldMappingEntrySchema = zod.z.object({
11402
+ sourceField: zod.z.string().describe("Field name in the source data (import) or object (export)"),
11403
+ targetField: zod.z.string().describe("Field name in the target object (import) or file column (export)"),
11404
+ targetLabel: zod.z.string().optional().describe("Display label for the target column (export)"),
11405
+ transform: zod.z.enum(["none", "uppercase", "lowercase", "trim", "date_format", "lookup"]).default("none").describe("Transformation to apply during mapping"),
11406
+ defaultValue: zod.z.unknown().optional().describe("Default value if source field is null/empty"),
11407
+ required: zod.z.boolean().default(false).describe("Whether this field is required (import validation)")
11408
+ });
11409
+ var ExportImportTemplateSchema = zod.z.object({
11410
+ id: zod.z.string().optional().describe("Template ID (generated on save)"),
11411
+ name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Template machine name (snake_case)"),
11412
+ label: zod.z.string().describe("Human-readable template label"),
11413
+ description: zod.z.string().optional().describe("Template description"),
11414
+ object: zod.z.string().describe("Target object name"),
11415
+ direction: zod.z.enum(["import", "export", "bidirectional"]).describe("Template direction"),
11416
+ format: ExportFormat.optional().describe("Default file format for this template"),
11417
+ mappings: zod.z.array(FieldMappingEntrySchema).min(1).describe("Field mapping entries"),
11418
+ createdAt: zod.z.string().datetime().optional().describe("Template creation timestamp"),
11419
+ updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
11420
+ createdBy: zod.z.string().optional().describe("User who created the template")
11421
+ });
11422
+ var ScheduledExportSchema = zod.z.object({
11423
+ id: zod.z.string().optional().describe("Scheduled export ID"),
11424
+ name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Schedule name (snake_case)"),
11425
+ label: zod.z.string().optional().describe("Human-readable label"),
11426
+ object: zod.z.string().describe("Object name to export"),
11427
+ format: ExportFormat.default("csv").describe("Export file format"),
11428
+ fields: zod.z.array(zod.z.string()).optional().describe("Fields to include"),
11429
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record filter criteria"),
11430
+ templateId: zod.z.string().optional().describe("Export template ID for field mappings"),
11431
+ schedule: zod.z.object({
11432
+ cronExpression: zod.z.string().describe("Cron expression for schedule"),
11433
+ timezone: zod.z.string().default("UTC").describe("IANA timezone")
11434
+ }).describe("Schedule timing configuration"),
11435
+ delivery: zod.z.object({
11436
+ method: zod.z.enum(["email", "storage", "webhook"]).describe("How to deliver the export file"),
11437
+ recipients: zod.z.array(zod.z.string()).optional().describe("Email recipients (for email delivery)"),
11438
+ storagePath: zod.z.string().optional().describe("Storage path (for storage delivery)"),
11439
+ webhookUrl: zod.z.string().optional().describe("Webhook URL (for webhook delivery)")
11440
+ }).describe("Export delivery configuration"),
11441
+ enabled: zod.z.boolean().default(true).describe("Whether the scheduled export is active"),
11442
+ lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp"),
11443
+ nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution"),
11444
+ createdAt: zod.z.string().datetime().optional().describe("Creation timestamp"),
11445
+ createdBy: zod.z.string().optional().describe("User who created the schedule")
11446
+ });
11447
+ var GetExportJobDownloadRequestSchema = zod.z.object({
11448
+ jobId: zod.z.string().describe("Export job ID")
11449
+ });
11450
+ var GetExportJobDownloadResponseSchema = BaseResponseSchema.extend({
11451
+ data: zod.z.object({
11452
+ jobId: zod.z.string().describe("Export job ID"),
11453
+ downloadUrl: zod.z.string().describe("Presigned download URL"),
11454
+ fileName: zod.z.string().describe("Suggested file name"),
11455
+ fileSize: zod.z.number().int().describe("File size in bytes"),
11456
+ format: ExportFormat.describe("Export file format"),
11457
+ expiresAt: zod.z.string().datetime().describe("Download URL expiration timestamp"),
11458
+ checksum: zod.z.string().optional().describe("File checksum (SHA-256)")
11459
+ })
11460
+ });
11461
+ var ListExportJobsRequestSchema = zod.z.object({
11462
+ object: zod.z.string().optional().describe("Filter by object name"),
11463
+ status: ExportJobStatus.optional().describe("Filter by job status"),
11464
+ limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of jobs to return"),
11465
+ cursor: zod.z.string().optional().describe("Pagination cursor from a previous response")
11466
+ });
11467
+ var ExportJobSummarySchema = zod.z.object({
11468
+ jobId: zod.z.string().describe("Export job ID"),
11469
+ object: zod.z.string().describe("Object name that was exported"),
11470
+ status: ExportJobStatus.describe("Current job status"),
11471
+ format: ExportFormat.describe("Export file format"),
11472
+ totalRecords: zod.z.number().int().optional().describe("Total records exported"),
11473
+ fileSize: zod.z.number().int().optional().describe("File size in bytes"),
11474
+ createdAt: zod.z.string().datetime().describe("Job creation timestamp"),
11475
+ completedAt: zod.z.string().datetime().optional().describe("Completion timestamp"),
11476
+ createdBy: zod.z.string().optional().describe("User who initiated the export")
11477
+ });
11478
+ var ListExportJobsResponseSchema = BaseResponseSchema.extend({
11479
+ data: zod.z.object({
11480
+ jobs: zod.z.array(ExportJobSummarySchema).describe("List of export jobs"),
11481
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
11482
+ hasMore: zod.z.boolean().describe("Whether more jobs are available")
11483
+ })
11484
+ });
11485
+ var ScheduleExportRequestSchema = zod.z.object({
11486
+ name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Schedule name (snake_case)"),
11487
+ label: zod.z.string().optional().describe("Human-readable label"),
11488
+ object: zod.z.string().describe("Object name to export"),
11489
+ format: ExportFormat.default("csv").describe("Export file format"),
11490
+ fields: zod.z.array(zod.z.string()).optional().describe("Fields to include"),
11491
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record filter criteria"),
11492
+ templateId: zod.z.string().optional().describe("Export template ID for field mappings"),
11493
+ schedule: zod.z.object({
11494
+ cronExpression: zod.z.string().describe("Cron expression for schedule"),
11495
+ timezone: zod.z.string().default("UTC").describe("IANA timezone")
11496
+ }).describe("Schedule timing configuration"),
11497
+ delivery: zod.z.object({
11498
+ method: zod.z.enum(["email", "storage", "webhook"]).describe("How to deliver the export file"),
11499
+ recipients: zod.z.array(zod.z.string()).optional().describe("Email recipients (for email delivery)"),
11500
+ storagePath: zod.z.string().optional().describe("Storage path (for storage delivery)"),
11501
+ webhookUrl: zod.z.string().optional().describe("Webhook URL (for webhook delivery)")
11502
+ }).describe("Export delivery configuration")
11503
+ });
11504
+ var ScheduleExportResponseSchema = BaseResponseSchema.extend({
11505
+ data: zod.z.object({
11506
+ id: zod.z.string().describe("Scheduled export ID"),
11507
+ name: zod.z.string().describe("Schedule name"),
11508
+ enabled: zod.z.boolean().describe("Whether the schedule is active"),
11509
+ nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution"),
11510
+ createdAt: zod.z.string().datetime().describe("Creation timestamp")
11511
+ })
11512
+ });
11513
+ var ExportApiContracts = {
11514
+ createExportJob: {
11515
+ method: "POST",
11516
+ path: "/api/v1/data/:object/export",
11517
+ input: CreateExportJobRequestSchema,
11518
+ output: CreateExportJobResponseSchema
11519
+ },
11520
+ getExportJobProgress: {
11521
+ method: "GET",
11522
+ path: "/api/v1/data/export/:jobId",
11523
+ input: zod.z.object({ jobId: zod.z.string() }),
11524
+ output: ExportJobProgressSchema
11525
+ },
11526
+ getExportJobDownload: {
11527
+ method: "GET",
11528
+ path: "/api/v1/data/export/:jobId/download",
11529
+ input: GetExportJobDownloadRequestSchema,
11530
+ output: GetExportJobDownloadResponseSchema
11531
+ },
11532
+ listExportJobs: {
11533
+ method: "GET",
11534
+ path: "/api/v1/data/export",
11535
+ input: ListExportJobsRequestSchema,
11536
+ output: ListExportJobsResponseSchema
11537
+ },
11538
+ scheduleExport: {
11539
+ method: "POST",
11540
+ path: "/api/v1/data/export/schedules",
11541
+ input: ScheduleExportRequestSchema,
11542
+ output: ScheduleExportResponseSchema
11543
+ },
11544
+ cancelExportJob: {
11545
+ method: "POST",
11546
+ path: "/api/v1/data/export/:jobId/cancel",
11547
+ input: zod.z.object({ jobId: zod.z.string() }),
11548
+ output: BaseResponseSchema
11549
+ }
11550
+ };
11551
+ var FlowNodeAction = zod.z.enum([
11552
+ "start",
11553
+ // Trigger
11554
+ "end",
11555
+ // Return/Stop
11556
+ "decision",
11557
+ // If/Else logic
11558
+ "assignment",
11559
+ // Set Variable
11560
+ "loop",
11561
+ // For Each
11562
+ "create_record",
11563
+ // CRUD: Create
11564
+ "update_record",
11565
+ // CRUD: Update
11566
+ "delete_record",
11567
+ // CRUD: Delete
11568
+ "get_record",
11569
+ // CRUD: Get/Query
11570
+ "http_request",
11571
+ // Webhook/API Call
11572
+ "script",
11573
+ // Custom Script (JS/TS)
11574
+ "screen",
11575
+ // Screen / User-Input Element
11576
+ "wait",
11577
+ // Delay/Sleep
11578
+ "subflow",
11579
+ // Call another flow
11580
+ "connector_action",
11581
+ // Zapier-style integration action
11582
+ "parallel_gateway",
11583
+ // BPMN Parallel Gateway — AND-split (all outgoing branches execute concurrently)
11584
+ "join_gateway",
11585
+ // BPMN Join Gateway — AND-join (waits for all incoming branches to complete)
11586
+ "boundary_event"
11587
+ // BPMN Boundary Event — attached to a host node for timer/error/signal interrupts
11588
+ ]);
11589
+ var FlowVariableSchema = zod.z.object({
11590
+ name: zod.z.string().describe("Variable name"),
11591
+ type: zod.z.string().describe("Data type (text, number, boolean, object, list)"),
11592
+ isInput: zod.z.boolean().default(false).describe("Is input parameter"),
11593
+ isOutput: zod.z.boolean().default(false).describe("Is output parameter")
11594
+ });
11595
+ var FlowNodeSchema = zod.z.object({
11596
+ id: zod.z.string().describe("Node unique ID"),
11597
+ type: FlowNodeAction.describe("Action type"),
11598
+ label: zod.z.string().describe("Node label"),
11599
+ /** Node Configuration Options (Specific to type) */
11600
+ config: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Node configuration"),
11601
+ /**
11602
+ * Connector Action Configuration
11603
+ * Used when type is 'connector_action'
11604
+ */
11605
+ connectorConfig: zod.z.object({
11606
+ connectorId: zod.z.string(),
11607
+ actionId: zod.z.string(),
11608
+ input: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Mapped inputs for the action")
11609
+ }).optional(),
11610
+ /** UI Position (for the canvas) */
11611
+ position: zod.z.object({ x: zod.z.number(), y: zod.z.number() }).optional(),
11612
+ /** Node-level execution timeout */
11613
+ timeoutMs: zod.z.number().int().min(0).optional().describe("Maximum execution time for this node in milliseconds"),
11614
+ /** Node input schema declaration for Studio form generation and runtime validation */
11615
+ inputSchema: zod.z.record(zod.z.string(), zod.z.object({
11616
+ type: zod.z.enum(["string", "number", "boolean", "object", "array"]).describe("Parameter type"),
11617
+ required: zod.z.boolean().default(false).describe("Whether the parameter is required"),
11618
+ description: zod.z.string().optional().describe("Parameter description")
11619
+ })).optional().describe("Input parameter schema for this node"),
11620
+ /** Node output schema declaration */
11621
+ outputSchema: zod.z.record(zod.z.string(), zod.z.object({
11622
+ type: zod.z.enum(["string", "number", "boolean", "object", "array"]).describe("Output type"),
11623
+ description: zod.z.string().optional().describe("Output description")
11624
+ })).optional().describe("Output schema declaration for this node"),
11625
+ /**
11626
+ * Wait Event Configuration (for 'wait' nodes)
11627
+ * Defines what external event or condition should resume the paused execution.
11628
+ * Industry alignment: BPMN Intermediate Catch Events, Temporal Signals.
11629
+ */
11630
+ waitEventConfig: zod.z.object({
11631
+ /** Type of event to wait for */
11632
+ eventType: zod.z.enum(["timer", "signal", "webhook", "manual", "condition"]).describe("What kind of event resumes the execution"),
11633
+ /** Duration to wait (ISO 8601 duration or milliseconds) — for timer events */
11634
+ timerDuration: zod.z.string().optional().describe('ISO 8601 duration (e.g., "PT1H") or wait time for timer events'),
11635
+ /** Signal name to listen for — for signal/webhook events */
11636
+ signalName: zod.z.string().optional().describe("Named signal or webhook event to wait for"),
11637
+ /** Timeout before auto-failing or continuing — optional guard */
11638
+ timeoutMs: zod.z.number().int().min(0).optional().describe("Maximum wait time before timeout (ms)"),
11639
+ /** Action to take on timeout */
11640
+ onTimeout: zod.z.enum(["fail", "continue"]).default("fail").describe("Behavior when the wait times out")
11641
+ }).optional().describe("Configuration for wait node event resumption"),
11642
+ /**
11643
+ * Boundary Event Configuration (for 'boundary_event' nodes)
11644
+ * Attaches an event handler to a host activity node (BPMN Boundary Event pattern).
11645
+ * Industry alignment: BPMN Boundary Error/Timer/Signal Events.
11646
+ */
11647
+ boundaryConfig: zod.z.object({
11648
+ /** ID of the host node this boundary event is attached to */
11649
+ attachedToNodeId: zod.z.string().describe("Host node ID this boundary event monitors"),
11650
+ /** Type of boundary event */
11651
+ eventType: zod.z.enum(["error", "timer", "signal", "cancel"]).describe("Boundary event trigger type"),
11652
+ /** Whether the boundary event interrupts the host activity */
11653
+ interrupting: zod.z.boolean().default(true).describe("If true, the host activity is cancelled when this event fires"),
11654
+ /** Error code filter — only for error boundary events */
11655
+ errorCode: zod.z.string().optional().describe("Specific error code to catch (empty = catch all errors)"),
11656
+ /** Timer duration — only for timer boundary events */
11657
+ timerDuration: zod.z.string().optional().describe("ISO 8601 duration for timer boundary events"),
11658
+ /** Signal name — only for signal boundary events */
11659
+ signalName: zod.z.string().optional().describe("Named signal to catch")
11660
+ }).optional().describe("Configuration for boundary events attached to host nodes")
11661
+ });
11662
+ var FlowEdgeSchema = zod.z.object({
11663
+ id: zod.z.string().describe("Edge unique ID"),
11664
+ source: zod.z.string().describe("Source Node ID"),
11665
+ target: zod.z.string().describe("Target Node ID"),
11666
+ /** Condition for this path (only for decision/branch nodes) */
11667
+ condition: zod.z.string().optional().describe("Expression returning boolean used for branching"),
11668
+ type: zod.z.enum(["default", "fault", "conditional"]).default("default").describe("Connection type: default (normal flow), fault (error path), or conditional (expression-guarded)"),
11669
+ label: zod.z.string().optional().describe("Label on the connector"),
11670
+ /**
11671
+ * Default Sequence Flow marker (BPMN Default Flow semantics).
11672
+ * When true, this edge is taken when no sibling conditional edges match.
11673
+ * Only meaningful on outgoing edges of decision/gateway nodes.
11674
+ */
11675
+ isDefault: zod.z.boolean().default(false).describe("Marks this edge as the default path when no other conditions match")
11676
+ });
11677
+ var FlowSchema = zod.z.object({
11678
+ /** Identity */
11679
+ name: zod.z.string().regex(/^[a-z_][a-z0-9_]*$/).describe("Machine name"),
11680
+ label: zod.z.string().describe("Flow label"),
11681
+ description: zod.z.string().optional(),
11682
+ /** Metadata & Versioning */
11683
+ version: zod.z.number().int().default(1).describe("Version number"),
11684
+ status: zod.z.enum(["draft", "active", "obsolete", "invalid"]).default("draft").describe("Deployment status"),
11685
+ template: zod.z.boolean().default(false).describe("Is logic template (Subflow)"),
11686
+ /** Trigger Type */
11687
+ type: zod.z.enum(["autolaunched", "record_change", "schedule", "screen", "api"]).describe("Flow type"),
11688
+ /** Configuration Variables */
11689
+ variables: zod.z.array(FlowVariableSchema).optional().describe("Flow variables"),
11690
+ /** Graph Definition */
11691
+ nodes: zod.z.array(FlowNodeSchema).describe("Flow nodes"),
11692
+ edges: zod.z.array(FlowEdgeSchema).describe("Flow connections"),
11693
+ /** Execution Config */
11694
+ active: zod.z.boolean().default(false).describe("Is active (Deprecated: use status)"),
11695
+ runAs: zod.z.enum(["system", "user"]).default("user").describe("Execution context"),
11696
+ /** Error Handling Strategy */
11697
+ errorHandling: zod.z.object({
11698
+ strategy: zod.z.enum(["fail", "retry", "continue"]).default("fail").describe("How to handle node execution errors"),
11699
+ maxRetries: zod.z.number().int().min(0).max(10).default(0).describe("Number of retry attempts (only for retry strategy)"),
11700
+ retryDelayMs: zod.z.number().int().min(0).default(1e3).describe("Delay between retries in milliseconds"),
11701
+ backoffMultiplier: zod.z.number().min(1).default(1).describe("Multiplier for exponential backoff between retries"),
11702
+ maxRetryDelayMs: zod.z.number().int().min(0).default(3e4).describe("Maximum delay between retries in milliseconds"),
11703
+ jitter: zod.z.boolean().default(false).describe("Add random jitter to retry delay to avoid thundering herd"),
11704
+ fallbackNodeId: zod.z.string().optional().describe("Node ID to jump to on unrecoverable error")
11705
+ }).optional().describe("Flow-level error handling configuration")
11706
+ });
11707
+ zod.z.object({
11708
+ flowName: zod.z.string().describe("Flow machine name"),
11709
+ version: zod.z.number().int().min(1).describe("Version number"),
11710
+ definition: FlowSchema.describe("Complete flow definition snapshot"),
11711
+ createdAt: zod.z.string().datetime().describe("When this version was created"),
11712
+ createdBy: zod.z.string().optional().describe("User who created this version"),
11713
+ changeNote: zod.z.string().optional().describe("Description of what changed in this version")
11714
+ });
11715
+ var ExecutionStatus = zod.z.enum([
11716
+ "pending",
11717
+ // Queued, not yet started
11718
+ "running",
11719
+ // Currently executing
11720
+ "paused",
11721
+ // Paused at a wait/checkpoint node
11722
+ "completed",
11723
+ // Successfully finished
11724
+ "failed",
11725
+ // Terminated with error
11726
+ "cancelled",
11727
+ // Manually cancelled
11728
+ "timed_out",
11729
+ // Exceeded max execution time
11730
+ "retrying"
11731
+ // Failed and retrying
11732
+ ]);
11733
+ var ExecutionStepLogSchema = zod.z.object({
11734
+ nodeId: zod.z.string().describe("Node ID that was executed"),
11735
+ nodeType: zod.z.string().describe('Node action type (e.g., "decision", "http_request")'),
11736
+ nodeLabel: zod.z.string().optional().describe("Human-readable node label"),
11737
+ status: zod.z.enum(["success", "failure", "skipped"]).describe("Step execution result"),
11738
+ startedAt: zod.z.string().datetime().describe("When the step started"),
11739
+ completedAt: zod.z.string().datetime().optional().describe("When the step completed"),
11740
+ durationMs: zod.z.number().int().min(0).optional().describe("Step execution duration in milliseconds"),
11741
+ input: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Input data passed to the node"),
11742
+ output: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Output data produced by the node"),
11743
+ error: zod.z.object({
11744
+ code: zod.z.string().describe("Error code"),
11745
+ message: zod.z.string().describe("Error message"),
11746
+ stack: zod.z.string().optional().describe("Stack trace")
11747
+ }).optional().describe("Error details if step failed"),
11748
+ retryAttempt: zod.z.number().int().min(0).optional().describe("Retry attempt number (0 = first try)")
11749
+ });
11750
+ var ExecutionLogSchema = zod.z.object({
11751
+ /** Unique execution ID */
11752
+ id: zod.z.string().describe("Execution instance ID"),
11753
+ /** Flow reference */
11754
+ flowName: zod.z.string().describe("Machine name of the executed flow"),
11755
+ flowVersion: zod.z.number().int().optional().describe("Version of the flow that was executed"),
11756
+ /** Execution status */
11757
+ status: ExecutionStatus.describe("Current execution status"),
11758
+ /** Trigger context */
11759
+ trigger: zod.z.object({
11760
+ type: zod.z.string().describe('Trigger type (e.g., "record_change", "schedule", "api", "manual")'),
11761
+ recordId: zod.z.string().optional().describe("Triggering record ID"),
11762
+ object: zod.z.string().optional().describe("Triggering object name"),
11763
+ userId: zod.z.string().optional().describe("User who triggered the execution"),
11764
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional trigger context")
11765
+ }).describe("What triggered this execution"),
11766
+ /** Step-by-step execution history */
11767
+ steps: zod.z.array(ExecutionStepLogSchema).describe("Ordered list of executed steps"),
11768
+ /** Execution variables snapshot */
11769
+ variables: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Final state of flow variables"),
11770
+ /** Timing */
11771
+ startedAt: zod.z.string().datetime().describe("Execution start timestamp"),
11772
+ completedAt: zod.z.string().datetime().optional().describe("Execution completion timestamp"),
11773
+ durationMs: zod.z.number().int().min(0).optional().describe("Total execution duration in milliseconds"),
11774
+ /** Context */
11775
+ runAs: zod.z.enum(["system", "user"]).optional().describe("Execution context identity"),
11776
+ tenantId: zod.z.string().optional().describe("Tenant ID for multi-tenant isolation")
11777
+ });
11778
+ var ExecutionErrorSeverity = zod.z.enum([
11779
+ "warning",
11780
+ // Non-fatal issue (e.g., deprecated node type)
11781
+ "error",
11782
+ // Node-level failure (may be retried)
11783
+ "critical"
11784
+ // Flow-level failure (execution terminated)
11785
+ ]);
11786
+ zod.z.object({
11787
+ id: zod.z.string().describe("Error record ID"),
11788
+ executionId: zod.z.string().describe("Parent execution ID"),
11789
+ nodeId: zod.z.string().optional().describe("Node where the error occurred"),
11790
+ severity: ExecutionErrorSeverity.describe("Error severity level"),
11791
+ code: zod.z.string().describe("Machine-readable error code"),
11792
+ message: zod.z.string().describe("Human-readable error message"),
11793
+ stack: zod.z.string().optional().describe("Stack trace for debugging"),
11794
+ context: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional diagnostic context (input data, config snapshot)"),
11795
+ timestamp: zod.z.string().datetime().describe("When the error occurred"),
11796
+ retryable: zod.z.boolean().default(false).describe("Whether this error can be retried"),
11797
+ resolvedAt: zod.z.string().datetime().optional().describe("When the error was resolved (e.g., after successful retry)")
11798
+ });
11799
+ zod.z.object({
11800
+ /** Unique checkpoint ID */
11801
+ id: zod.z.string().describe("Checkpoint ID"),
11802
+ /** Execution reference */
11803
+ executionId: zod.z.string().describe("Parent execution ID"),
11804
+ flowName: zod.z.string().describe("Flow machine name"),
11805
+ /** State snapshot */
11806
+ currentNodeId: zod.z.string().describe("Node ID where execution is paused"),
11807
+ variables: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Flow variable state at checkpoint"),
11808
+ completedNodeIds: zod.z.array(zod.z.string()).describe("List of node IDs already executed"),
11809
+ /** Timing */
11810
+ createdAt: zod.z.string().datetime().describe("Checkpoint creation timestamp"),
11811
+ expiresAt: zod.z.string().datetime().optional().describe("Checkpoint expiration (auto-cleanup)"),
11812
+ /** Reason */
11813
+ reason: zod.z.enum(["wait", "screen_input", "approval", "error", "manual_pause", "parallel_join", "boundary_event"]).describe("Why the execution was checkpointed")
11814
+ });
11815
+ zod.z.object({
11816
+ /** Maximum concurrent executions of this flow */
11817
+ maxConcurrent: zod.z.number().int().min(1).default(1).describe("Maximum number of concurrent executions allowed"),
11818
+ /** What to do when max concurrency is reached */
11819
+ onConflict: zod.z.enum(["queue", "reject", "cancel_existing"]).default("queue").describe("queue = enqueue for later, reject = fail immediately, cancel_existing = stop running instance"),
11820
+ /** Lock scope for concurrency */
11821
+ lockScope: zod.z.enum(["global", "per_record", "per_user"]).default("global").describe("Scope of the concurrency lock"),
11822
+ /** Queue timeout (only when onConflict is "queue") */
11823
+ queueTimeoutMs: zod.z.number().int().min(0).optional().describe("Maximum time to wait in queue before timing out (ms)")
11824
+ });
11825
+ zod.z.object({
11826
+ /** Unique schedule ID */
11827
+ id: zod.z.string().describe("Schedule instance ID"),
11828
+ /** Flow reference */
11829
+ flowName: zod.z.string().describe("Flow machine name"),
11830
+ /** Schedule configuration */
11831
+ cronExpression: zod.z.string().describe('Cron expression (e.g., "0 9 * * MON-FRI")'),
11832
+ timezone: zod.z.string().default("UTC").describe("IANA timezone for cron evaluation"),
11833
+ /** Runtime state */
11834
+ status: zod.z.enum(["active", "paused", "disabled", "expired"]).default("active").describe("Current schedule status"),
11835
+ nextRunAt: zod.z.string().datetime().optional().describe("Next scheduled execution timestamp"),
11836
+ lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp"),
11837
+ lastExecutionId: zod.z.string().optional().describe("Execution ID of the last run"),
11838
+ lastRunStatus: ExecutionStatus.optional().describe("Status of the last run"),
11839
+ /** Execution tracking */
11840
+ totalRuns: zod.z.number().int().min(0).default(0).describe("Total number of executions"),
11841
+ consecutiveFailures: zod.z.number().int().min(0).default(0).describe("Consecutive failed executions"),
11842
+ /** Bounds */
11843
+ startDate: zod.z.string().datetime().optional().describe("Schedule effective start date"),
11844
+ endDate: zod.z.string().datetime().optional().describe("Schedule expiration date"),
11845
+ maxRuns: zod.z.number().int().min(1).optional().describe("Maximum total executions before auto-disable"),
11846
+ /** Metadata */
11847
+ createdAt: zod.z.string().datetime().describe("Schedule creation timestamp"),
11848
+ updatedAt: zod.z.string().datetime().optional().describe("Last update timestamp"),
11849
+ createdBy: zod.z.string().optional().describe("User who created the schedule")
11850
+ });
11851
+
11852
+ // src/api/automation-api.zod.ts
11853
+ var AutomationFlowPathParamsSchema = zod.z.object({
11854
+ name: zod.z.string().describe("Flow machine name (snake_case)")
11855
+ });
11856
+ var AutomationRunPathParamsSchema = AutomationFlowPathParamsSchema.extend({
11857
+ runId: zod.z.string().describe("Execution run ID")
11858
+ });
11859
+ var ListFlowsRequestSchema = zod.z.object({
11860
+ status: zod.z.enum(["draft", "active", "obsolete", "invalid"]).optional().describe("Filter by flow status"),
11861
+ type: zod.z.enum(["autolaunched", "record_change", "schedule", "screen", "api"]).optional().describe("Filter by flow type"),
11862
+ limit: zod.z.number().int().min(1).max(100).default(50).describe("Maximum number of flows to return"),
11863
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
11864
+ });
11865
+ var FlowSummarySchema = zod.z.object({
11866
+ name: zod.z.string().describe("Flow machine name"),
11867
+ label: zod.z.string().describe("Flow display label"),
11868
+ type: zod.z.string().describe("Flow type"),
11869
+ status: zod.z.string().describe("Flow deployment status"),
11870
+ version: zod.z.number().int().describe("Flow version number"),
11871
+ enabled: zod.z.boolean().describe("Whether the flow is enabled for execution"),
11872
+ nodeCount: zod.z.number().int().optional().describe("Number of nodes in the flow"),
11873
+ lastRunAt: zod.z.string().datetime().optional().describe("Last execution timestamp")
11874
+ });
11875
+ var ListFlowsResponseSchema = BaseResponseSchema.extend({
11876
+ data: zod.z.object({
11877
+ flows: zod.z.array(FlowSummarySchema).describe("Flow summaries"),
11878
+ total: zod.z.number().int().optional().describe("Total matching flows"),
11879
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
11880
+ hasMore: zod.z.boolean().describe("Whether more flows are available")
11881
+ })
11882
+ });
11883
+ var GetFlowRequestSchema = AutomationFlowPathParamsSchema;
11884
+ var GetFlowResponseSchema = BaseResponseSchema.extend({
11885
+ data: FlowSchema.describe("Full flow definition")
11886
+ });
11887
+ var CreateFlowRequestSchema = FlowSchema;
11888
+ var CreateFlowResponseSchema = BaseResponseSchema.extend({
11889
+ data: FlowSchema.describe("The created flow definition")
11890
+ });
11891
+ var UpdateFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
11892
+ definition: FlowSchema.partial().describe("Partial flow definition to update")
11893
+ });
11894
+ var UpdateFlowResponseSchema = BaseResponseSchema.extend({
11895
+ data: FlowSchema.describe("The updated flow definition")
11896
+ });
11897
+ var DeleteFlowRequestSchema = AutomationFlowPathParamsSchema;
11898
+ var DeleteFlowResponseSchema = BaseResponseSchema.extend({
11899
+ data: zod.z.object({
11900
+ name: zod.z.string().describe("Name of the deleted flow"),
11901
+ deleted: zod.z.boolean().describe("Whether the flow was deleted")
11902
+ })
11903
+ });
11904
+ var TriggerFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
11905
+ record: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Record that triggered the automation"),
11906
+ object: zod.z.string().optional().describe("Object name the record belongs to"),
11907
+ event: zod.z.string().optional().describe("Trigger event type"),
11908
+ userId: zod.z.string().optional().describe("User who triggered the automation"),
11909
+ params: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("Additional contextual data")
11910
+ });
11911
+ var TriggerFlowResponseSchema = BaseResponseSchema.extend({
11912
+ data: zod.z.object({
11913
+ success: zod.z.boolean().describe("Whether the automation completed successfully"),
11914
+ output: zod.z.unknown().optional().describe("Output data from the automation"),
11915
+ error: zod.z.string().optional().describe("Error message if execution failed"),
11916
+ durationMs: zod.z.number().optional().describe("Execution duration in milliseconds")
11917
+ })
11918
+ });
11919
+ var ToggleFlowRequestSchema = AutomationFlowPathParamsSchema.extend({
11920
+ enabled: zod.z.boolean().describe("Whether to enable (true) or disable (false) the flow")
11921
+ });
11922
+ var ToggleFlowResponseSchema = BaseResponseSchema.extend({
11923
+ data: zod.z.object({
11924
+ name: zod.z.string().describe("Flow name"),
11925
+ enabled: zod.z.boolean().describe("New enabled state")
11926
+ })
11927
+ });
11928
+ var ListRunsRequestSchema = AutomationFlowPathParamsSchema.extend({
11929
+ status: zod.z.enum(["pending", "running", "paused", "completed", "failed", "cancelled", "timed_out", "retrying"]).optional().describe("Filter by execution status"),
11930
+ limit: zod.z.number().int().min(1).max(100).default(20).describe("Maximum number of runs to return"),
11931
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
11932
+ });
11933
+ var ListRunsResponseSchema = BaseResponseSchema.extend({
11934
+ data: zod.z.object({
11935
+ runs: zod.z.array(ExecutionLogSchema).describe("Execution run logs"),
11936
+ total: zod.z.number().int().optional().describe("Total matching runs"),
11937
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
11938
+ hasMore: zod.z.boolean().describe("Whether more runs are available")
11939
+ })
11940
+ });
11941
+ var GetRunRequestSchema = AutomationRunPathParamsSchema;
11942
+ var GetRunResponseSchema = BaseResponseSchema.extend({
11943
+ data: ExecutionLogSchema.describe("Full execution log with step details")
11944
+ });
11945
+ var AutomationApiErrorCode = zod.z.enum([
11946
+ "flow_not_found",
11947
+ "flow_already_exists",
11948
+ "flow_validation_failed",
11949
+ "flow_disabled",
11950
+ "execution_not_found",
11951
+ "execution_failed",
11952
+ "execution_timeout",
11953
+ "node_executor_not_found",
11954
+ "concurrent_execution_limit"
11955
+ ]);
11956
+ var AutomationApiContracts = {
11957
+ listFlows: {
11958
+ method: "GET",
11959
+ path: "/api/automation",
11960
+ input: ListFlowsRequestSchema,
11961
+ output: ListFlowsResponseSchema
11962
+ },
11963
+ getFlow: {
11964
+ method: "GET",
11965
+ path: "/api/automation/:name",
11966
+ input: GetFlowRequestSchema,
11967
+ output: GetFlowResponseSchema
11968
+ },
11969
+ createFlow: {
11970
+ method: "POST",
11971
+ path: "/api/automation",
11972
+ input: CreateFlowRequestSchema,
11973
+ output: CreateFlowResponseSchema
11974
+ },
11975
+ updateFlow: {
11976
+ method: "PUT",
11977
+ path: "/api/automation/:name",
11978
+ input: UpdateFlowRequestSchema,
11979
+ output: UpdateFlowResponseSchema
11980
+ },
11981
+ deleteFlow: {
11982
+ method: "DELETE",
11983
+ path: "/api/automation/:name",
11984
+ input: DeleteFlowRequestSchema,
11985
+ output: DeleteFlowResponseSchema
11986
+ },
11987
+ triggerFlow: {
11988
+ method: "POST",
11989
+ path: "/api/automation/:name/trigger",
11990
+ input: TriggerFlowRequestSchema,
11991
+ output: TriggerFlowResponseSchema
11992
+ },
11993
+ toggleFlow: {
11994
+ method: "POST",
11995
+ path: "/api/automation/:name/toggle",
11996
+ input: ToggleFlowRequestSchema,
11997
+ output: ToggleFlowResponseSchema
11998
+ },
11999
+ listRuns: {
12000
+ method: "GET",
12001
+ path: "/api/automation/:name/runs",
12002
+ input: ListRunsRequestSchema,
12003
+ output: ListRunsResponseSchema
12004
+ },
12005
+ getRun: {
12006
+ method: "GET",
12007
+ path: "/api/automation/:name/runs/:runId",
12008
+ input: GetRunRequestSchema,
12009
+ output: GetRunResponseSchema
12010
+ }
12011
+ };
12012
+ var MetadataChangeTypeSchema = zod.z.enum([
12013
+ "added",
12014
+ // New metadata item added in new version
12015
+ "modified",
12016
+ // Existing metadata item modified
12017
+ "removed",
12018
+ // Metadata item removed in new version
12019
+ "renamed"
12020
+ // Metadata item renamed
12021
+ ]).describe("Type of metadata change between package versions");
12022
+ var MetadataDiffItemSchema = zod.z.object({
12023
+ /** Metadata type (e.g. "object", "view", "flow") */
12024
+ type: zod.z.string().describe("Metadata type"),
12025
+ /** Metadata name */
12026
+ name: zod.z.string().describe("Metadata name"),
12027
+ /** Type of change */
12028
+ changeType: MetadataChangeTypeSchema.describe("Category of metadata modification (added, modified, removed, or renamed)"),
12029
+ /** Whether this change has potential conflicts with customizations */
12030
+ hasConflict: zod.z.boolean().default(false).describe("Whether this change may conflict with customizations"),
12031
+ /** Human-readable summary of the change */
12032
+ summary: zod.z.string().optional().describe("Human-readable change summary"),
12033
+ /** Previous name (for renames) */
12034
+ previousName: zod.z.string().optional().describe("Previous name if renamed")
12035
+ }).describe("Single metadata change between package versions");
12036
+ var UpgradeImpactLevelSchema = zod.z.enum([
12037
+ "none",
12038
+ // No impact, seamless upgrade
12039
+ "low",
12040
+ // Minor changes, no user action needed
12041
+ "medium",
12042
+ // Some changes that may affect workflows
12043
+ "high",
12044
+ // Significant changes, user review recommended
12045
+ "critical"
12046
+ // Breaking changes, manual intervention required
12047
+ ]).describe("Severity of upgrade impact");
12048
+ var UpgradePlanSchema = zod.z.object({
12049
+ /** Package being upgraded */
12050
+ packageId: zod.z.string().describe("Package identifier"),
12051
+ /** Current installed version */
12052
+ fromVersion: zod.z.string().describe("Currently installed version"),
12053
+ /** Target version to upgrade to */
12054
+ toVersion: zod.z.string().describe("Target upgrade version"),
12055
+ /** Overall impact level */
12056
+ impactLevel: UpgradeImpactLevelSchema.describe("Severity assessment from none (seamless) to critical (breaking changes)"),
12057
+ /** List of all metadata changes between versions */
12058
+ changes: zod.z.array(MetadataDiffItemSchema).describe("All metadata changes"),
12059
+ /** Number of customer customizations that may be affected */
12060
+ affectedCustomizations: zod.z.number().int().min(0).default(0).describe("Count of customizations that may be affected"),
12061
+ /** Whether any migration scripts need to run */
12062
+ requiresMigration: zod.z.boolean().default(false).describe("Whether data migration scripts are needed"),
12063
+ /** Migration script paths (relative to package root) */
12064
+ migrationScripts: zod.z.array(zod.z.string()).optional().describe("Paths to migration scripts"),
12065
+ /** Dependencies that also need upgrading */
12066
+ dependencyUpgrades: zod.z.array(zod.z.object({
12067
+ packageId: zod.z.string(),
12068
+ fromVersion: zod.z.string(),
12069
+ toVersion: zod.z.string()
12070
+ })).optional().describe("Dependent packages that also need upgrading"),
12071
+ /** Estimated upgrade duration in seconds */
12072
+ estimatedDuration: zod.z.number().int().min(0).optional().describe("Estimated upgrade duration in seconds"),
12073
+ /** Human-readable summary */
12074
+ summary: zod.z.string().optional().describe("Human-readable upgrade summary")
12075
+ }).describe("Upgrade analysis plan generated before execution");
12076
+ zod.z.object({
12077
+ /** Snapshot ID (UUID) */
12078
+ id: zod.z.string().describe("Snapshot identifier"),
12079
+ /** Package being upgraded */
12080
+ packageId: zod.z.string().describe("Package identifier"),
12081
+ /** Version being upgraded from */
12082
+ fromVersion: zod.z.string().describe("Version before upgrade"),
12083
+ /** Version being upgraded to */
12084
+ toVersion: zod.z.string().describe("Target upgrade version"),
12085
+ /** Tenant ID */
12086
+ tenantId: zod.z.string().optional().describe("Tenant identifier"),
12087
+ /** Complete manifest of the old package version */
12088
+ previousManifest: ManifestSchema.describe("Complete manifest of the previous package version"),
12089
+ /**
12090
+ * Snapshot of all metadata records owned by this package.
12091
+ * Stored as array of { type, name, metadata } tuples.
12092
+ */
12093
+ metadataSnapshot: zod.z.array(zod.z.object({
12094
+ type: zod.z.string(),
12095
+ name: zod.z.string(),
12096
+ metadata: zod.z.record(zod.z.string(), zod.z.unknown())
12097
+ })).describe("Snapshot of all package metadata"),
12098
+ /**
12099
+ * Snapshot of all customer customizations (overlays) for this package's metadata.
12100
+ */
12101
+ customizationSnapshot: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).optional().describe("Snapshot of customer customizations"),
12102
+ /** When the snapshot was created */
12103
+ createdAt: zod.z.string().datetime().describe("Snapshot creation timestamp"),
12104
+ /** Expiry time for snapshot cleanup */
12105
+ expiresAt: zod.z.string().datetime().optional().describe("Snapshot expiry timestamp")
12106
+ }).describe("Pre-upgrade state snapshot for rollback capability");
12107
+ zod.z.object({
12108
+ /** Package ID to upgrade */
12109
+ packageId: zod.z.string().describe("Package ID to upgrade"),
12110
+ /** Target version (if omitted, upgrades to latest) */
12111
+ targetVersion: zod.z.string().optional().describe("Target version (defaults to latest)"),
12112
+ /** New manifest for the target version */
12113
+ manifest: ManifestSchema.optional().describe("New manifest (if installing from local)"),
12114
+ /** Whether to create a pre-upgrade snapshot */
12115
+ createSnapshot: zod.z.boolean().default(true).describe("Whether to create a pre-upgrade backup snapshot"),
12116
+ /** Merge strategy for handling customizations */
12117
+ mergeStrategy: zod.z.enum([
12118
+ "keep-custom",
12119
+ "accept-incoming",
12120
+ "three-way-merge"
12121
+ ]).default("three-way-merge").describe("How to handle customer customizations"),
12122
+ /** Whether to run in dry-run mode (preview only, no changes) */
12123
+ dryRun: zod.z.boolean().default(false).describe("Preview upgrade without making changes"),
12124
+ /** Whether to skip pre-upgrade validation */
12125
+ skipValidation: zod.z.boolean().default(false).describe("Skip pre-upgrade compatibility checks")
12126
+ }).describe("Upgrade package request");
12127
+ var UpgradePhaseSchema = zod.z.enum([
12128
+ "pending",
12129
+ // Upgrade requested but not started
12130
+ "analyzing",
12131
+ // Generating upgrade plan
12132
+ "snapshot",
12133
+ // Creating pre-upgrade snapshot
12134
+ "executing",
12135
+ // Applying metadata changes
12136
+ "migrating",
12137
+ // Running migration scripts
12138
+ "validating",
12139
+ // Post-upgrade validation
12140
+ "completed",
12141
+ // Upgrade completed successfully
12142
+ "failed",
12143
+ // Upgrade failed
12144
+ "rolling-back",
12145
+ // Rollback in progress
12146
+ "rolled-back"
12147
+ // Rollback completed
12148
+ ]).describe("Current phase of the upgrade process");
12149
+ zod.z.object({
12150
+ /** Whether the upgrade was successful */
12151
+ success: zod.z.boolean().describe("Whether the upgrade succeeded"),
12152
+ /** Current upgrade phase */
12153
+ phase: UpgradePhaseSchema.describe("Current upgrade phase"),
12154
+ /** The upgrade plan that was executed */
12155
+ plan: UpgradePlanSchema.optional().describe("Upgrade plan"),
12156
+ /** Snapshot ID for rollback */
12157
+ snapshotId: zod.z.string().optional().describe("Snapshot ID for rollback"),
12158
+ /** Merge conflicts that need manual resolution (if any) */
12159
+ conflicts: zod.z.array(zod.z.object({
12160
+ path: zod.z.string(),
12161
+ baseValue: zod.z.unknown(),
12162
+ incomingValue: zod.z.unknown(),
12163
+ customValue: zod.z.unknown()
12164
+ })).optional().describe("Unresolved merge conflicts"),
12165
+ /** Error message (if failed) */
12166
+ errorMessage: zod.z.string().optional().describe("Error message if upgrade failed"),
12167
+ /** Human-readable summary */
12168
+ message: zod.z.string().optional().describe("Human-readable status message")
12169
+ }).describe("Upgrade package response");
12170
+ zod.z.object({
12171
+ /** Package ID to rollback */
12172
+ packageId: zod.z.string().describe("Package ID to rollback"),
12173
+ /** Snapshot ID to restore from */
12174
+ snapshotId: zod.z.string().describe("Snapshot ID to restore from"),
12175
+ /** Whether to also rollback customizations */
12176
+ rollbackCustomizations: zod.z.boolean().default(true).describe("Whether to restore pre-upgrade customizations")
12177
+ }).describe("Rollback package request");
12178
+ zod.z.object({
12179
+ /** Whether the rollback was successful */
12180
+ success: zod.z.boolean().describe("Whether the rollback succeeded"),
12181
+ /** Restored version */
12182
+ restoredVersion: zod.z.string().optional().describe("Version restored to"),
12183
+ /** Message */
12184
+ message: zod.z.string().optional().describe("Rollback status message")
12185
+ }).describe("Rollback package response");
12186
+ var MetadataCategoryEnum = zod.z.enum([
12187
+ "objects",
12188
+ "views",
12189
+ "pages",
12190
+ "flows",
12191
+ "dashboards",
12192
+ "permissions",
12193
+ "agents",
12194
+ "reports",
12195
+ "actions",
12196
+ "translations",
12197
+ "themes",
12198
+ "datasets",
12199
+ "apis",
12200
+ "triggers",
12201
+ "workflows"
12202
+ ]).describe("Metadata category within the artifact");
12203
+ var ArtifactFileEntrySchema = zod.z.object({
12204
+ /** Relative path within the artifact (e.g. "metadata/objects/account.object.json") */
12205
+ path: zod.z.string().describe("Relative file path within the artifact"),
12206
+ /** File size in bytes */
12207
+ size: zod.z.number().int().nonnegative().describe("File size in bytes"),
12208
+ /** Metadata category (if under metadata/) */
12209
+ category: MetadataCategoryEnum.optional().describe("Metadata category this file belongs to")
12210
+ }).describe("A single file entry within the artifact");
12211
+ var ArtifactChecksumSchema = zod.z.object({
12212
+ /** Hash algorithm used (default: SHA256) */
12213
+ algorithm: zod.z.enum(["sha256", "sha384", "sha512"]).default("sha256").describe("Hash algorithm used for checksums"),
12214
+ /** Map of relative file paths to their hash values */
12215
+ files: zod.z.record(zod.z.string(), zod.z.string().regex(/^[a-f0-9]+$/)).describe("File path to hash value mapping")
12216
+ }).describe("Checksum manifest for artifact integrity verification");
12217
+ var ArtifactSignatureSchema = zod.z.object({
12218
+ /** Signature algorithm */
12219
+ algorithm: zod.z.enum(["RSA-SHA256", "RSA-SHA384", "RSA-SHA512", "ECDSA-SHA256"]).default("RSA-SHA256").describe("Signing algorithm used"),
12220
+ /** Public key reference (URL or fingerprint) for verification */
12221
+ publicKeyRef: zod.z.string().describe("Public key reference (URL or fingerprint) for signature verification"),
12222
+ /** Base64-encoded signature value */
12223
+ signature: zod.z.string().describe("Base64-encoded digital signature"),
12224
+ /** Timestamp of when the artifact was signed */
12225
+ signedAt: zod.z.string().datetime().optional().describe("ISO 8601 timestamp of when the artifact was signed"),
12226
+ /** Signer identity (publisher ID or email) */
12227
+ signedBy: zod.z.string().optional().describe("Identity of the signer (publisher ID or email)")
12228
+ }).describe("Digital signature for artifact authenticity verification");
12229
+ var PackageArtifactSchema = zod.z.object({
12230
+ /** Artifact format version (for forward compatibility) */
12231
+ formatVersion: zod.z.string().regex(/^\d+\.\d+$/).default("1.0").describe('Artifact format version (e.g. "1.0")'),
12232
+ /** Package ID from the manifest */
12233
+ packageId: zod.z.string().describe("Package identifier from manifest"),
12234
+ /** Package version from the manifest */
12235
+ version: zod.z.string().describe("Package version from manifest"),
12236
+ /** Artifact format */
12237
+ format: zod.z.enum(["tgz", "zip"]).default("tgz").describe("Archive format of the artifact"),
12238
+ /** Total artifact size in bytes */
12239
+ size: zod.z.number().int().positive().optional().describe("Total artifact file size in bytes"),
12240
+ /** Build timestamp */
12241
+ builtAt: zod.z.string().datetime().describe("ISO 8601 timestamp of when the artifact was built"),
12242
+ /** Build tool and version that produced this artifact */
12243
+ builtWith: zod.z.string().optional().describe('Build tool identifier (e.g. "os-cli@3.2.0")'),
12244
+ /** File listing within the artifact */
12245
+ files: zod.z.array(ArtifactFileEntrySchema).optional().describe("List of files contained in the artifact"),
12246
+ /** Metadata categories present in the artifact */
12247
+ metadataCategories: zod.z.array(MetadataCategoryEnum).optional().describe("Metadata categories included in this artifact"),
12248
+ /** Integrity checksums for all files */
12249
+ checksums: ArtifactChecksumSchema.optional().describe("SHA256 checksums for artifact integrity verification"),
12250
+ /** Digital signature for authenticity */
12251
+ signature: ArtifactSignatureSchema.optional().describe("Digital signature for artifact authenticity verification")
12252
+ }).describe("Package artifact structure and metadata");
12253
+ var PublisherVerificationSchema = zod.z.enum([
12254
+ "unverified",
12255
+ // Not yet verified
12256
+ "pending",
12257
+ // Verification in progress
12258
+ "verified",
12259
+ // Identity verified by platform
12260
+ "trusted",
12261
+ // Trusted publisher (track record of quality)
12262
+ "partner"
12263
+ // Official platform partner
12264
+ ]).describe("Publisher verification status");
12265
+ zod.z.object({
12266
+ /** Publisher unique identifier */
12267
+ id: zod.z.string().describe("Publisher ID"),
12268
+ /** Display name */
12269
+ name: zod.z.string().describe("Publisher display name"),
12270
+ /** Publisher type */
12271
+ type: zod.z.enum(["individual", "organization"]).describe("Publisher type"),
12272
+ /** Verification status */
12273
+ verification: PublisherVerificationSchema.default("unverified").describe("Publisher verification status"),
12274
+ /** Contact email */
12275
+ email: zod.z.string().email().optional().describe("Contact email"),
12276
+ /** Website URL */
12277
+ website: zod.z.string().url().optional().describe("Publisher website"),
12278
+ /** Organization logo URL */
12279
+ logoUrl: zod.z.string().url().optional().describe("Publisher logo URL"),
12280
+ /** Short description/bio */
12281
+ description: zod.z.string().optional().describe("Publisher description"),
12282
+ /** Registration date */
12283
+ registeredAt: zod.z.string().datetime().optional().describe("Publisher registration timestamp")
12284
+ }).describe("Developer or organization that publishes packages");
12285
+ var ArtifactReferenceSchema = zod.z.object({
12286
+ /** Artifact download URL */
12287
+ url: zod.z.string().url().describe("Artifact download URL"),
12288
+ /** SHA256 integrity checksum */
12289
+ sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).describe("SHA256 checksum"),
12290
+ /** File size in bytes */
12291
+ size: zod.z.number().int().positive().describe("Artifact size in bytes"),
12292
+ /** Artifact format */
12293
+ format: zod.z.enum(["tgz", "zip"]).default("tgz").describe("Artifact format"),
12294
+ /** Upload timestamp */
12295
+ uploadedAt: zod.z.string().datetime().describe("Upload timestamp")
12296
+ }).describe("Reference to a downloadable package artifact");
12297
+ zod.z.object({
12298
+ /** Pre-signed or direct download URL */
12299
+ downloadUrl: zod.z.string().url().describe("Artifact download URL (may be pre-signed)"),
12300
+ /** SHA256 checksum for download verification */
12301
+ sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).describe("SHA256 checksum for verification"),
12302
+ /** File size in bytes */
12303
+ size: zod.z.number().int().positive().describe("Artifact size in bytes"),
12304
+ /** Artifact format */
12305
+ format: zod.z.enum(["tgz", "zip"]).describe("Artifact format"),
12306
+ /** URL expiration time (for pre-signed URLs) */
12307
+ expiresAt: zod.z.string().datetime().optional().describe("URL expiration timestamp for pre-signed URLs")
12308
+ }).describe("Artifact download response with integrity metadata");
12309
+ var MarketplaceCategorySchema = zod.z.enum([
12310
+ "crm",
12311
+ // Customer Relationship Management
12312
+ "erp",
12313
+ // Enterprise Resource Planning
12314
+ "hr",
12315
+ // Human Resources
12316
+ "finance",
12317
+ // Finance & Accounting
12318
+ "project",
12319
+ // Project Management
12320
+ "collaboration",
12321
+ // Collaboration & Communication
12322
+ "analytics",
12323
+ // Analytics & Reporting
12324
+ "integration",
12325
+ // Integrations & Connectors
12326
+ "automation",
12327
+ // Automation & Workflows
12328
+ "ai",
12329
+ // AI & Machine Learning
12330
+ "security",
12331
+ // Security & Compliance
12332
+ "developer-tools",
12333
+ // Developer Tools
12334
+ "ui-theme",
12335
+ // UI Themes & Appearance
12336
+ "storage",
12337
+ // Storage & Drivers
12338
+ "other"
12339
+ // Other / Uncategorized
12340
+ ]).describe("Marketplace package category");
12341
+ var ListingStatusSchema = zod.z.enum([
12342
+ "draft",
12343
+ // Not yet submitted
12344
+ "submitted",
12345
+ // Submitted for review
12346
+ "in-review",
12347
+ // Under review
12348
+ "approved",
12349
+ // Approved, ready to publish
12350
+ "published",
12351
+ // Live on marketplace
12352
+ "rejected",
12353
+ // Review rejected
12354
+ "suspended",
12355
+ // Suspended by platform (policy violation)
12356
+ "deprecated",
12357
+ // Deprecated by publisher
12358
+ "unlisted"
12359
+ // Available by direct link only
12360
+ ]).describe("Marketplace listing status");
12361
+ var PricingModelSchema = zod.z.enum([
12362
+ "free",
12363
+ // Free to install
12364
+ "freemium",
12365
+ // Free with paid premium features
12366
+ "paid",
12367
+ // Requires purchase
12368
+ "subscription",
12369
+ // Recurring subscription
12370
+ "usage-based",
12371
+ // Pay per usage
12372
+ "contact-sales"
12373
+ // Enterprise pricing, contact for quote
12374
+ ]).describe("Package pricing model");
12375
+ var MarketplaceListingSchema = zod.z.object({
12376
+ /** Listing ID (matches package ID) */
12377
+ id: zod.z.string().describe("Listing ID (matches package manifest ID)"),
12378
+ /** Package ID (reverse domain notation) */
12379
+ packageId: zod.z.string().describe("Package identifier"),
12380
+ /** Publisher information */
12381
+ publisherId: zod.z.string().describe("Publisher ID"),
12382
+ /** Current listing status */
12383
+ status: ListingStatusSchema.default("draft").describe("Publication state: draft, published, under-review, suspended, deprecated, or unlisted"),
12384
+ /** Display name */
12385
+ name: zod.z.string().describe("Display name"),
12386
+ /** Tagline (short description for cards/search results) */
12387
+ tagline: zod.z.string().max(120).optional().describe("Short tagline (max 120 chars)"),
12388
+ /** Full description (supports Markdown) */
12389
+ description: zod.z.string().optional().describe("Full description (Markdown)"),
12390
+ /** Category */
12391
+ category: MarketplaceCategorySchema.describe("Package category"),
12392
+ /** Additional tags for search discovery */
12393
+ tags: zod.z.array(zod.z.string()).optional().describe("Search tags"),
12394
+ /** Icon/logo URL */
12395
+ iconUrl: zod.z.string().url().optional().describe("Package icon URL"),
12396
+ /** Screenshot URLs */
12397
+ screenshots: zod.z.array(zod.z.object({
12398
+ url: zod.z.string().url(),
12399
+ caption: zod.z.string().optional()
12400
+ })).optional().describe("Screenshots"),
12401
+ /** Documentation URL */
12402
+ documentationUrl: zod.z.string().url().optional().describe("Documentation URL"),
12403
+ /** Support URL */
12404
+ supportUrl: zod.z.string().url().optional().describe("Support URL"),
12405
+ /** Source repository URL (if open source) */
12406
+ repositoryUrl: zod.z.string().url().optional().describe("Source repository URL"),
12407
+ /** Pricing model */
12408
+ pricing: PricingModelSchema.default("free").describe("Pricing model"),
12409
+ /** Price in cents (if paid) */
12410
+ priceInCents: zod.z.number().int().min(0).optional().describe("Price in cents (e.g. 999 = $9.99)"),
12411
+ /** Latest published version */
12412
+ latestVersion: zod.z.string().describe("Latest published version"),
12413
+ /** Minimum platform version required */
12414
+ minPlatformVersion: zod.z.string().optional().describe("Minimum ObjectStack platform version"),
12415
+ /** Available versions for installation */
12416
+ versions: zod.z.array(zod.z.object({
12417
+ version: zod.z.string().describe("Version string"),
12418
+ releaseDate: zod.z.string().datetime().describe("Release date"),
12419
+ releaseNotes: zod.z.string().optional().describe("Release notes"),
12420
+ minPlatformVersion: zod.z.string().optional().describe("Minimum platform version"),
12421
+ deprecated: zod.z.boolean().default(false).describe("Whether this version is deprecated"),
12422
+ /** Artifact reference for this version */
12423
+ artifact: ArtifactReferenceSchema.optional().describe("Downloadable artifact for this version")
12424
+ })).optional().describe("Published versions"),
12425
+ /** Aggregate statistics */
12426
+ stats: zod.z.object({
12427
+ totalInstalls: zod.z.number().int().min(0).default(0).describe("Total installs"),
12428
+ activeInstalls: zod.z.number().int().min(0).default(0).describe("Active installs"),
12429
+ averageRating: zod.z.number().min(0).max(5).optional().describe("Average user rating (0-5)"),
12430
+ totalRatings: zod.z.number().int().min(0).default(0).describe("Total ratings count"),
12431
+ totalReviews: zod.z.number().int().min(0).default(0).describe("Total reviews count")
12432
+ }).optional().describe("Aggregate marketplace statistics"),
12433
+ /** First published date */
12434
+ publishedAt: zod.z.string().datetime().optional().describe("First published timestamp"),
12435
+ /** Last updated date */
12436
+ updatedAt: zod.z.string().datetime().optional().describe("Last updated timestamp")
12437
+ }).describe("Public-facing package listing on the marketplace");
12438
+ zod.z.object({
12439
+ /** Submission ID */
12440
+ id: zod.z.string().describe("Submission ID"),
12441
+ /** Package ID */
12442
+ packageId: zod.z.string().describe("Package identifier"),
12443
+ /** Version being submitted */
12444
+ version: zod.z.string().describe("Version being submitted"),
12445
+ /** Publisher ID */
12446
+ publisherId: zod.z.string().describe("Publisher submitting"),
12447
+ /** Submission status */
12448
+ status: zod.z.enum([
12449
+ "pending",
12450
+ // Awaiting review
12451
+ "scanning",
12452
+ // Automated scan in progress
12453
+ "in-review",
12454
+ // Under manual review
12455
+ "changes-requested",
12456
+ // Reviewer requests changes
12457
+ "approved",
12458
+ // Approved for publishing
12459
+ "rejected"
12460
+ // Rejected
12461
+ ]).default("pending").describe("Review status"),
12462
+ /**
12463
+ * Package artifact URL or reference.
12464
+ * Points to the built package bundle for review.
12465
+ */
12466
+ artifactUrl: zod.z.string().describe("Package artifact URL for review"),
12467
+ /** Release notes for this version */
12468
+ releaseNotes: zod.z.string().optional().describe("Release notes for this version"),
12469
+ /** Whether this is the first submission (new listing) vs version update */
12470
+ isNewListing: zod.z.boolean().default(false).describe("Whether this is a new listing submission"),
12471
+ /** Automated scan results */
12472
+ scanResults: zod.z.object({
12473
+ /** Whether automated scan passed */
12474
+ passed: zod.z.boolean(),
12475
+ /** Security scan score (0-100) */
12476
+ securityScore: zod.z.number().min(0).max(100).optional(),
12477
+ /** Compatibility check passed */
12478
+ compatibilityCheck: zod.z.boolean().optional(),
12479
+ /** Issues found during scan */
12480
+ issues: zod.z.array(zod.z.object({
12481
+ severity: zod.z.enum(["critical", "high", "medium", "low", "info"]),
12482
+ message: zod.z.string(),
12483
+ file: zod.z.string().optional(),
12484
+ line: zod.z.number().optional()
12485
+ })).optional()
12486
+ }).optional().describe("Automated scan results"),
12487
+ /** Reviewer notes (from platform reviewer) */
12488
+ reviewerNotes: zod.z.string().optional().describe("Notes from the platform reviewer"),
12489
+ /** Submitted timestamp */
12490
+ submittedAt: zod.z.string().datetime().optional().describe("Submission timestamp"),
12491
+ /** Review completed timestamp */
12492
+ reviewedAt: zod.z.string().datetime().optional().describe("Review completion timestamp")
12493
+ }).describe("Developer submission of a package version for review");
12494
+ zod.z.object({
12495
+ /** Search query string */
12496
+ query: zod.z.string().optional().describe("Full-text search query"),
12497
+ /** Filter by category */
12498
+ category: MarketplaceCategorySchema.optional().describe("Filter by category"),
12499
+ /** Filter by tags */
12500
+ tags: zod.z.array(zod.z.string()).optional().describe("Filter by tags"),
12501
+ /** Filter by pricing model */
12502
+ pricing: PricingModelSchema.optional().describe("Filter by pricing model"),
12503
+ /** Filter by publisher verification level */
12504
+ publisherVerification: PublisherVerificationSchema.optional().describe("Filter by publisher verification level"),
12505
+ /** Sort by */
12506
+ sortBy: zod.z.enum([
12507
+ "relevance",
12508
+ // Best match (default for search)
12509
+ "popularity",
12510
+ // Most installs
12511
+ "rating",
12512
+ // Highest rated
12513
+ "newest",
12514
+ // Most recently published
12515
+ "updated",
12516
+ // Most recently updated
12517
+ "name"
12518
+ // Alphabetical
12519
+ ]).default("relevance").describe("Sort field"),
12520
+ /** Sort direction */
12521
+ sortDirection: zod.z.enum(["asc", "desc"]).default("desc").describe("Sort direction"),
12522
+ /** Pagination: page number */
12523
+ page: zod.z.number().int().min(1).default(1).describe("Page number"),
12524
+ /** Pagination: items per page */
12525
+ pageSize: zod.z.number().int().min(1).max(100).default(20).describe("Items per page"),
12526
+ /** Filter by minimum platform version compatibility */
12527
+ platformVersion: zod.z.string().optional().describe("Filter by platform version compatibility")
12528
+ }).describe("Marketplace search request");
12529
+ zod.z.object({
12530
+ /** Search results */
12531
+ items: zod.z.array(MarketplaceListingSchema).describe("Search result listings"),
12532
+ /** Total count (for pagination) */
12533
+ total: zod.z.number().int().min(0).describe("Total matching results"),
12534
+ /** Current page */
12535
+ page: zod.z.number().int().min(1).describe("Current page number"),
12536
+ /** Items per page */
12537
+ pageSize: zod.z.number().int().min(1).describe("Items per page"),
12538
+ /** Facets for filtering */
12539
+ facets: zod.z.object({
12540
+ categories: zod.z.array(zod.z.object({
12541
+ category: MarketplaceCategorySchema,
12542
+ count: zod.z.number().int().min(0)
12543
+ })).optional(),
12544
+ pricing: zod.z.array(zod.z.object({
12545
+ model: PricingModelSchema,
12546
+ count: zod.z.number().int().min(0)
12547
+ })).optional()
12548
+ }).optional().describe("Aggregation facets for refining search")
12549
+ }).describe("Marketplace search response");
12550
+ zod.z.object({
12551
+ /** Listing ID to install */
12552
+ listingId: zod.z.string().describe("Marketplace listing ID"),
12553
+ /** Specific version to install (defaults to latest) */
12554
+ version: zod.z.string().optional().describe("Version to install"),
12555
+ /** License key (for paid packages) */
12556
+ licenseKey: zod.z.string().optional().describe("License key for paid packages"),
12557
+ /** User-provided settings at install time */
12558
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
12559
+ /** Whether to enable immediately after install */
12560
+ enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
12561
+ /** Artifact reference (resolved from listing version, or provided directly) */
12562
+ artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference for direct installation"),
12563
+ /** Tenant ID */
12564
+ tenantId: zod.z.string().optional().describe("Tenant identifier")
12565
+ }).describe("Install from marketplace request");
12566
+ zod.z.object({
12567
+ /** Whether installation was successful */
12568
+ success: zod.z.boolean().describe("Whether installation succeeded"),
12569
+ /** Installed package ID */
12570
+ packageId: zod.z.string().optional().describe("Installed package identifier"),
12571
+ /** Installed version */
12572
+ version: zod.z.string().optional().describe("Installed version"),
12573
+ /** Human-readable message */
12574
+ message: zod.z.string().optional().describe("Installation status message")
12575
+ }).describe("Install from marketplace response");
12576
+
12577
+ // src/api/package-api.zod.ts
12578
+ var PackagePathParamsSchema = zod.z.object({
12579
+ packageId: zod.z.string().describe("Package identifier")
12580
+ });
12581
+ var ListInstalledPackagesRequestSchema = zod.z.object({
12582
+ /** Filter by package status */
12583
+ status: zod.z.enum(["installed", "disabled", "installing", "upgrading", "uninstalling", "error"]).optional().describe("Filter by package status"),
12584
+ /** Filter by enabled state */
12585
+ enabled: zod.z.boolean().optional().describe("Filter by enabled state"),
12586
+ /** Maximum number of packages to return */
12587
+ limit: zod.z.number().int().min(1).max(100).default(50).describe("Maximum number of packages to return"),
12588
+ /** Cursor for pagination */
12589
+ cursor: zod.z.string().optional().describe("Cursor for pagination")
12590
+ }).describe("List installed packages request");
12591
+ var ListInstalledPackagesResponseSchema = BaseResponseSchema.extend({
12592
+ data: zod.z.object({
12593
+ packages: zod.z.array(InstalledPackageSchema).describe("Installed packages"),
12594
+ total: zod.z.number().int().optional().describe("Total matching packages"),
12595
+ nextCursor: zod.z.string().optional().describe("Cursor for the next page"),
12596
+ hasMore: zod.z.boolean().describe("Whether more packages are available")
12597
+ })
12598
+ }).describe("List installed packages response");
12599
+ var GetInstalledPackageRequestSchema = PackagePathParamsSchema;
12600
+ var GetInstalledPackageResponseSchema = BaseResponseSchema.extend({
12601
+ data: InstalledPackageSchema.describe("Installed package details")
12602
+ }).describe("Get installed package response");
12603
+ var PackageInstallRequestSchema = zod.z.object({
12604
+ /** Package manifest to install */
12605
+ manifest: ManifestSchema.describe("Package manifest to install"),
12606
+ /** User-provided settings at install time */
12607
+ settings: zod.z.record(zod.z.string(), zod.z.unknown()).optional().describe("User-provided settings at install time"),
12608
+ /** Whether to enable immediately after install */
12609
+ enableOnInstall: zod.z.boolean().default(true).describe("Whether to enable immediately after install"),
12610
+ /** Current platform version for compatibility verification */
12611
+ platformVersion: zod.z.string().optional().describe("Current platform version for compatibility verification"),
12612
+ /** Artifact reference for the package (if installing from marketplace) */
12613
+ artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference for marketplace installation")
12614
+ }).describe("Install package request");
12615
+ var PackageInstallResponseSchema = BaseResponseSchema.extend({
12616
+ data: zod.z.object({
12617
+ package: InstalledPackageSchema.describe("Installed package details"),
12618
+ dependencyResolution: DependencyResolutionResultSchema.optional().describe("Dependency resolution result"),
12619
+ namespaceConflicts: zod.z.array(zod.z.object({
12620
+ type: zod.z.literal("namespace_conflict").describe("Error type"),
12621
+ requestedNamespace: zod.z.string().describe("Requested namespace"),
12622
+ conflictingPackageId: zod.z.string().describe("Conflicting package ID"),
12623
+ conflictingPackageName: zod.z.string().describe("Conflicting package name"),
12624
+ suggestion: zod.z.string().optional().describe("Suggested alternative")
12625
+ })).optional().describe("Namespace conflicts detected"),
12626
+ message: zod.z.string().optional().describe("Installation status message")
12627
+ })
12628
+ }).describe("Install package response");
12629
+ var PackageUpgradeRequestSchema = zod.z.object({
12630
+ /** Package ID to upgrade */
12631
+ packageId: zod.z.string().describe("Package ID to upgrade"),
12632
+ /** Target version (defaults to latest) */
12633
+ targetVersion: zod.z.string().optional().describe("Target version (defaults to latest)"),
12634
+ /** New manifest for the target version */
12635
+ manifest: ManifestSchema.optional().describe("New manifest for the target version"),
12636
+ /** Whether to create a pre-upgrade snapshot */
12637
+ createSnapshot: zod.z.boolean().default(true).describe("Whether to create a pre-upgrade backup snapshot"),
12638
+ /** Merge strategy for handling customizations */
12639
+ mergeStrategy: zod.z.enum(["keep-custom", "accept-incoming", "three-way-merge"]).default("three-way-merge").describe("How to handle customer customizations"),
12640
+ /** Preview upgrade without making changes */
12641
+ dryRun: zod.z.boolean().default(false).describe("Preview upgrade without making changes"),
12642
+ /** Skip pre-upgrade compatibility checks */
12643
+ skipValidation: zod.z.boolean().default(false).describe("Skip pre-upgrade compatibility checks")
12644
+ }).describe("Upgrade package request");
12645
+ var PackageUpgradeResponseSchema = BaseResponseSchema.extend({
12646
+ data: zod.z.object({
12647
+ success: zod.z.boolean().describe("Whether the upgrade succeeded"),
12648
+ phase: zod.z.string().describe("Current upgrade phase"),
12649
+ plan: UpgradePlanSchema.optional().describe("Upgrade plan that was executed"),
12650
+ snapshotId: zod.z.string().optional().describe("Snapshot ID for rollback"),
12651
+ conflicts: zod.z.array(zod.z.object({
12652
+ path: zod.z.string().describe("Conflict path"),
12653
+ baseValue: zod.z.unknown().describe("Base value"),
12654
+ incomingValue: zod.z.unknown().describe("Incoming value"),
12655
+ customValue: zod.z.unknown().describe("Custom value")
12656
+ })).optional().describe("Unresolved merge conflicts"),
12657
+ errorMessage: zod.z.string().optional().describe("Error message if failed"),
12658
+ message: zod.z.string().optional().describe("Human-readable status message")
12659
+ })
12660
+ }).describe("Upgrade package response");
12661
+ var ResolveDependenciesRequestSchema = zod.z.object({
12662
+ /** Package manifest whose dependencies to resolve */
12663
+ manifest: ManifestSchema.describe("Package manifest to resolve dependencies for"),
12664
+ /** Current platform version for compatibility checking */
12665
+ platformVersion: zod.z.string().optional().describe("Current platform version for compatibility filtering")
12666
+ }).describe("Resolve dependencies request");
12667
+ var ResolveDependenciesResponseSchema = BaseResponseSchema.extend({
12668
+ data: DependencyResolutionResultSchema.describe("Dependency resolution result with topological sort")
12669
+ }).describe("Resolve dependencies response");
12670
+ var UploadArtifactRequestSchema = zod.z.object({
12671
+ /** Artifact metadata */
12672
+ artifact: PackageArtifactSchema.describe("Package artifact metadata"),
12673
+ /** SHA256 checksum of the uploaded file (for verification) */
12674
+ sha256: zod.z.string().regex(/^[a-f0-9]{64}$/).optional().describe("SHA256 checksum of the uploaded file"),
12675
+ /** Publisher authentication token */
12676
+ token: zod.z.string().optional().describe("Publisher authentication token"),
12677
+ /** Release notes for this version */
12678
+ releaseNotes: zod.z.string().optional().describe("Release notes for this version")
12679
+ }).describe("Upload artifact request");
12680
+ var UploadArtifactResponseSchema = BaseResponseSchema.extend({
12681
+ data: zod.z.object({
12682
+ /** Whether the upload succeeded */
12683
+ success: zod.z.boolean().describe("Whether the upload succeeded"),
12684
+ /** Artifact reference for the uploaded package */
12685
+ artifactRef: ArtifactReferenceSchema.optional().describe("Artifact reference in the registry"),
12686
+ /** Submission ID for review tracking */
12687
+ submissionId: zod.z.string().optional().describe("Marketplace submission ID for review tracking"),
12688
+ /** Message */
12689
+ message: zod.z.string().optional().describe("Upload status message")
12690
+ })
12691
+ }).describe("Upload artifact response");
12692
+ var PackageRollbackRequestSchema = PackagePathParamsSchema.extend({
12693
+ /** Snapshot ID to restore from */
12694
+ snapshotId: zod.z.string().describe("Snapshot ID to restore from"),
12695
+ /** Whether to also rollback customizations */
12696
+ rollbackCustomizations: zod.z.boolean().default(true).describe("Whether to restore pre-upgrade customizations")
12697
+ }).describe("Rollback package request");
12698
+ var PackageRollbackResponseSchema = BaseResponseSchema.extend({
12699
+ data: zod.z.object({
12700
+ success: zod.z.boolean().describe("Whether the rollback succeeded"),
12701
+ restoredVersion: zod.z.string().optional().describe("Restored version"),
12702
+ message: zod.z.string().optional().describe("Rollback status message")
12703
+ })
12704
+ }).describe("Rollback package response");
12705
+ var UninstallPackageApiRequestSchema = PackagePathParamsSchema;
12706
+ var UninstallPackageApiResponseSchema = BaseResponseSchema.extend({
12707
+ data: zod.z.object({
12708
+ packageId: zod.z.string().describe("Uninstalled package ID"),
12709
+ success: zod.z.boolean().describe("Whether uninstall succeeded"),
12710
+ message: zod.z.string().optional().describe("Uninstall status message")
12711
+ })
12712
+ }).describe("Uninstall package response");
12713
+ var PackageApiErrorCode = zod.z.enum([
12714
+ "package_not_found",
12715
+ "package_already_installed",
12716
+ "version_not_found",
12717
+ "dependency_conflict",
12718
+ "namespace_conflict",
12719
+ "platform_incompatible",
12720
+ "artifact_invalid",
12721
+ "checksum_mismatch",
12722
+ "signature_invalid",
12723
+ "upgrade_failed",
12724
+ "rollback_failed",
12725
+ "snapshot_not_found",
12726
+ "upload_failed"
12727
+ ]);
12728
+ var PackageApiContracts = {
12729
+ listPackages: {
12730
+ method: "GET",
12731
+ path: "/api/v1/packages",
12732
+ input: ListInstalledPackagesRequestSchema,
12733
+ output: ListInstalledPackagesResponseSchema
12734
+ },
12735
+ getPackage: {
12736
+ method: "GET",
12737
+ path: "/api/v1/packages/:packageId",
12738
+ input: GetInstalledPackageRequestSchema,
12739
+ output: GetInstalledPackageResponseSchema
12740
+ },
12741
+ installPackage: {
12742
+ method: "POST",
12743
+ path: "/api/v1/packages/install",
12744
+ input: PackageInstallRequestSchema,
12745
+ output: PackageInstallResponseSchema
12746
+ },
12747
+ upgradePackage: {
12748
+ method: "POST",
12749
+ path: "/api/v1/packages/upgrade",
12750
+ input: PackageUpgradeRequestSchema,
12751
+ output: PackageUpgradeResponseSchema
12752
+ },
12753
+ resolveDependencies: {
12754
+ method: "POST",
12755
+ path: "/api/v1/packages/resolve-dependencies",
12756
+ input: ResolveDependenciesRequestSchema,
12757
+ output: ResolveDependenciesResponseSchema
12758
+ },
12759
+ uploadArtifact: {
12760
+ method: "POST",
12761
+ path: "/api/v1/packages/upload",
12762
+ input: UploadArtifactRequestSchema,
12763
+ output: UploadArtifactResponseSchema
12764
+ },
12765
+ rollbackPackage: {
12766
+ method: "POST",
12767
+ path: "/api/v1/packages/:packageId/rollback",
12768
+ input: PackageRollbackRequestSchema,
12769
+ output: PackageRollbackResponseSchema
12770
+ },
12771
+ uninstallPackage: {
12772
+ method: "DELETE",
12773
+ path: "/api/v1/packages/:packageId",
12774
+ input: UninstallPackageApiRequestSchema,
12775
+ output: UninstallPackageApiResponseSchema
12776
+ }
12777
+ };
10887
12778
 
10888
12779
  exports.AckMessageSchema = AckMessageSchema;
10889
12780
  exports.AddReactionRequestSchema = AddReactionRequestSchema;
@@ -10931,6 +12822,10 @@ exports.AuthEndpointAliases = AuthEndpointAliases;
10931
12822
  exports.AuthEndpointPaths = AuthEndpointPaths;
10932
12823
  exports.AuthEndpointSchema = AuthEndpointSchema;
10933
12824
  exports.AuthProvider = AuthProvider;
12825
+ exports.AutomationApiContracts = AutomationApiContracts;
12826
+ exports.AutomationApiErrorCode = AutomationApiErrorCode;
12827
+ exports.AutomationFlowPathParamsSchema = AutomationFlowPathParamsSchema;
12828
+ exports.AutomationRunPathParamsSchema = AutomationRunPathParamsSchema;
10934
12829
  exports.AutomationTriggerRequestSchema = AutomationTriggerRequestSchema;
10935
12830
  exports.AutomationTriggerResponseSchema = AutomationTriggerResponseSchema;
10936
12831
  exports.BasePresenceSchema = BasePresenceSchema;
@@ -10955,16 +12850,23 @@ exports.CacheInvalidationRequestSchema = CacheInvalidationRequestSchema;
10955
12850
  exports.CacheInvalidationResponseSchema = CacheInvalidationResponseSchema;
10956
12851
  exports.CacheInvalidationTarget = CacheInvalidationTarget;
10957
12852
  exports.CallbackSchema = CallbackSchema;
12853
+ exports.ChangelogEntrySchema = ChangelogEntrySchema;
10958
12854
  exports.CheckPermissionRequestSchema = CheckPermissionRequestSchema;
10959
12855
  exports.CheckPermissionResponseSchema = CheckPermissionResponseSchema;
10960
12856
  exports.CodeGenerationTemplateSchema = CodeGenerationTemplateSchema;
12857
+ exports.CompleteChunkedUploadRequestSchema = CompleteChunkedUploadRequestSchema;
12858
+ exports.CompleteChunkedUploadResponseSchema = CompleteChunkedUploadResponseSchema;
10961
12859
  exports.CompleteUploadRequestSchema = CompleteUploadRequestSchema;
10962
12860
  exports.ConceptListResponseSchema = ConceptListResponseSchema;
10963
12861
  exports.ConflictResolutionStrategy = ConflictResolutionStrategy;
10964
12862
  exports.CreateDataRequestSchema = CreateDataRequestSchema;
10965
12863
  exports.CreateDataResponseSchema = CreateDataResponseSchema;
12864
+ exports.CreateExportJobRequestSchema = CreateExportJobRequestSchema;
12865
+ exports.CreateExportJobResponseSchema = CreateExportJobResponseSchema;
10966
12866
  exports.CreateFeedItemRequestSchema = CreateFeedItemRequestSchema;
10967
12867
  exports.CreateFeedItemResponseSchema = CreateFeedItemResponseSchema;
12868
+ exports.CreateFlowRequestSchema = CreateFlowRequestSchema;
12869
+ exports.CreateFlowResponseSchema = CreateFlowResponseSchema;
10968
12870
  exports.CreateManyDataRequestSchema = CreateManyDataRequestSchema;
10969
12871
  exports.CreateManyDataResponseSchema = CreateManyDataResponseSchema;
10970
12872
  exports.CreateRequestSchema = CreateRequestSchema;
@@ -10991,10 +12893,13 @@ exports.DEFAULT_VERSIONING_CONFIG = DEFAULT_VERSIONING_CONFIG;
10991
12893
  exports.DEFAULT_VIEW_ROUTES = DEFAULT_VIEW_ROUTES;
10992
12894
  exports.DEFAULT_WORKFLOW_ROUTES = DEFAULT_WORKFLOW_ROUTES;
10993
12895
  exports.DataLoaderConfigSchema = DataLoaderConfigSchema;
12896
+ exports.DeduplicationStrategy = DeduplicationStrategy;
10994
12897
  exports.DeleteDataRequestSchema = DeleteDataRequestSchema;
10995
12898
  exports.DeleteDataResponseSchema = DeleteDataResponseSchema;
10996
12899
  exports.DeleteFeedItemRequestSchema = DeleteFeedItemRequestSchema;
10997
12900
  exports.DeleteFeedItemResponseSchema = DeleteFeedItemResponseSchema;
12901
+ exports.DeleteFlowRequestSchema = DeleteFlowRequestSchema;
12902
+ exports.DeleteFlowResponseSchema = DeleteFlowResponseSchema;
10998
12903
  exports.DeleteManyDataRequestSchema = DeleteManyDataRequestSchema;
10999
12904
  exports.DeleteManyDataResponseSchema = DeleteManyDataResponseSchema;
11000
12905
  exports.DeleteManyRequestSchema = DeleteManyRequestSchema;
@@ -11026,6 +12931,12 @@ exports.EventFilterSchema = EventFilterSchema;
11026
12931
  exports.EventMessageSchema = EventMessageSchema;
11027
12932
  exports.EventPatternSchema = EventPatternSchema;
11028
12933
  exports.EventSubscriptionSchema = EventSubscriptionSchema;
12934
+ exports.ExportApiContracts = ExportApiContracts;
12935
+ exports.ExportFormat = ExportFormat;
12936
+ exports.ExportImportTemplateSchema = ExportImportTemplateSchema;
12937
+ exports.ExportJobProgressSchema = ExportJobProgressSchema;
12938
+ exports.ExportJobStatus = ExportJobStatus;
12939
+ exports.ExportJobSummarySchema = ExportJobSummarySchema;
11029
12940
  exports.ExportRequestSchema = ExportRequestSchema;
11030
12941
  exports.FederationEntityKeySchema = FederationEntityKeySchema;
11031
12942
  exports.FederationEntitySchema = FederationEntitySchema;
@@ -11040,23 +12951,34 @@ exports.FeedListFilterType = FeedListFilterType;
11040
12951
  exports.FeedPathParamsSchema = FeedPathParamsSchema;
11041
12952
  exports.FeedUnsubscribeRequestSchema = FeedUnsubscribeRequestSchema;
11042
12953
  exports.FieldErrorSchema = FieldErrorSchema;
12954
+ exports.FieldMappingEntrySchema = FieldMappingEntrySchema;
12955
+ exports.FileTypeValidationSchema = FileTypeValidationSchema;
11043
12956
  exports.FileUploadResponseSchema = FileUploadResponseSchema;
11044
12957
  exports.FilterOperator = FilterOperator;
11045
12958
  exports.FindDataRequestSchema = FindDataRequestSchema;
11046
12959
  exports.FindDataResponseSchema = FindDataResponseSchema;
12960
+ exports.FlowSummarySchema = FlowSummarySchema;
11047
12961
  exports.GeneratedApiDocumentationSchema = GeneratedApiDocumentationSchema;
11048
12962
  exports.GeneratedEndpointSchema = GeneratedEndpointSchema;
11049
12963
  exports.GetAnalyticsMetaRequestSchema = GetAnalyticsMetaRequestSchema;
12964
+ exports.GetChangelogRequestSchema = GetChangelogRequestSchema;
12965
+ exports.GetChangelogResponseSchema = GetChangelogResponseSchema;
11050
12966
  exports.GetDataRequestSchema = GetDataRequestSchema;
11051
12967
  exports.GetDataResponseSchema = GetDataResponseSchema;
11052
12968
  exports.GetDiscoveryRequestSchema = GetDiscoveryRequestSchema;
11053
12969
  exports.GetDiscoveryResponseSchema = GetDiscoveryResponseSchema;
11054
12970
  exports.GetEffectivePermissionsRequestSchema = GetEffectivePermissionsRequestSchema;
11055
12971
  exports.GetEffectivePermissionsResponseSchema = GetEffectivePermissionsResponseSchema;
12972
+ exports.GetExportJobDownloadRequestSchema = GetExportJobDownloadRequestSchema;
12973
+ exports.GetExportJobDownloadResponseSchema = GetExportJobDownloadResponseSchema;
11056
12974
  exports.GetFeedRequestSchema = GetFeedRequestSchema;
11057
12975
  exports.GetFeedResponseSchema = GetFeedResponseSchema;
11058
12976
  exports.GetFieldLabelsRequestSchema = GetFieldLabelsRequestSchema;
11059
12977
  exports.GetFieldLabelsResponseSchema = GetFieldLabelsResponseSchema;
12978
+ exports.GetFlowRequestSchema = GetFlowRequestSchema;
12979
+ exports.GetFlowResponseSchema = GetFlowResponseSchema;
12980
+ exports.GetInstalledPackageRequestSchema = GetInstalledPackageRequestSchema;
12981
+ exports.GetInstalledPackageResponseSchema = GetInstalledPackageResponseSchema;
11060
12982
  exports.GetLocalesRequestSchema = GetLocalesRequestSchema;
11061
12983
  exports.GetLocalesResponseSchema = GetLocalesResponseSchema;
11062
12984
  exports.GetMetaItemCachedRequestSchema = GetMetaItemCachedRequestSchema;
@@ -11076,6 +12998,8 @@ exports.GetPackageResponseSchema = GetPackageResponseSchema;
11076
12998
  exports.GetPresenceRequestSchema = GetPresenceRequestSchema;
11077
12999
  exports.GetPresenceResponseSchema = GetPresenceResponseSchema;
11078
13000
  exports.GetPresignedUrlRequestSchema = GetPresignedUrlRequestSchema;
13001
+ exports.GetRunRequestSchema = GetRunRequestSchema;
13002
+ exports.GetRunResponseSchema = GetRunResponseSchema;
11079
13003
  exports.GetTranslationsRequestSchema = GetTranslationsRequestSchema;
11080
13004
  exports.GetTranslationsResponseSchema = GetTranslationsResponseSchema;
11081
13005
  exports.GetUiViewRequestSchema = GetUiViewRequestSchema;
@@ -11105,13 +13029,26 @@ exports.GraphQLTypeConfigSchema = GraphQLTypeConfigSchema;
11105
13029
  exports.HttpMethod = HttpMethod;
11106
13030
  exports.HttpStatusCode = HttpStatusCode;
11107
13031
  exports.IdRequestSchema = IdRequestSchema;
13032
+ exports.ImportValidationConfigSchema = ImportValidationConfigSchema;
13033
+ exports.ImportValidationMode = ImportValidationMode;
13034
+ exports.ImportValidationResultSchema = ImportValidationResultSchema;
13035
+ exports.InitiateChunkedUploadRequestSchema = InitiateChunkedUploadRequestSchema;
13036
+ exports.InitiateChunkedUploadResponseSchema = InitiateChunkedUploadResponseSchema;
11108
13037
  exports.InstallPackageRequestSchema = InstallPackageRequestSchema;
11109
13038
  exports.InstallPackageResponseSchema = InstallPackageResponseSchema;
13039
+ exports.ListExportJobsRequestSchema = ListExportJobsRequestSchema;
13040
+ exports.ListExportJobsResponseSchema = ListExportJobsResponseSchema;
13041
+ exports.ListFlowsRequestSchema = ListFlowsRequestSchema;
13042
+ exports.ListFlowsResponseSchema = ListFlowsResponseSchema;
13043
+ exports.ListInstalledPackagesRequestSchema = ListInstalledPackagesRequestSchema;
13044
+ exports.ListInstalledPackagesResponseSchema = ListInstalledPackagesResponseSchema;
11110
13045
  exports.ListNotificationsRequestSchema = ListNotificationsRequestSchema;
11111
13046
  exports.ListNotificationsResponseSchema = ListNotificationsResponseSchema;
11112
13047
  exports.ListPackagesRequestSchema = ListPackagesRequestSchema;
11113
13048
  exports.ListPackagesResponseSchema = ListPackagesResponseSchema;
11114
13049
  exports.ListRecordResponseSchema = ListRecordResponseSchema;
13050
+ exports.ListRunsRequestSchema = ListRunsRequestSchema;
13051
+ exports.ListRunsResponseSchema = ListRunsResponseSchema;
11115
13052
  exports.ListViewsRequestSchema = ListViewsRequestSchema;
11116
13053
  exports.ListViewsResponseSchema = ListViewsResponseSchema;
11117
13054
  exports.LoginRequestSchema = LoginRequestSchema;
@@ -11170,6 +13107,17 @@ exports.OpenApiServerSchema = OpenApiServerSchema;
11170
13107
  exports.OpenApiSpec = OpenApiSpec;
11171
13108
  exports.OpenApiSpecSchema = OpenApiSpecSchema;
11172
13109
  exports.OperatorMappingSchema = OperatorMappingSchema;
13110
+ exports.PackageApiContracts = PackageApiContracts;
13111
+ exports.PackageApiErrorCode = PackageApiErrorCode;
13112
+ exports.PackageInstallRequestSchema = PackageInstallRequestSchema;
13113
+ exports.PackageInstallResponseSchema = PackageInstallResponseSchema;
13114
+ exports.PackagePathParamsSchema = PackagePathParamsSchema;
13115
+ exports.PackageRollbackRequestSchema = PackageRollbackRequestSchema;
13116
+ exports.PackageRollbackResponseSchema = PackageRollbackResponseSchema;
13117
+ exports.PackageUpgradeRequestSchema = PackageUpgradeRequestSchema;
13118
+ exports.PackageUpgradeResponseSchema = PackageUpgradeResponseSchema;
13119
+ exports.PinFeedItemRequestSchema = PinFeedItemRequestSchema;
13120
+ exports.PinFeedItemResponseSchema = PinFeedItemResponseSchema;
11173
13121
  exports.PingMessageSchema = PingMessageSchema;
11174
13122
  exports.PongMessageSchema = PongMessageSchema;
11175
13123
  exports.PresenceMessageSchema = PresenceMessageSchema;
@@ -11201,6 +13149,8 @@ exports.RegisterRequestSchema = RegisterRequestSchema;
11201
13149
  exports.RemoveReactionRequestSchema = RemoveReactionRequestSchema;
11202
13150
  exports.RemoveReactionResponseSchema = RemoveReactionResponseSchema;
11203
13151
  exports.RequestValidationConfigSchema = RequestValidationConfigSchema;
13152
+ exports.ResolveDependenciesRequestSchema = ResolveDependenciesRequestSchema;
13153
+ exports.ResolveDependenciesResponseSchema = ResolveDependenciesResponseSchema;
11204
13154
  exports.ResponseEnvelopeConfigSchema = ResponseEnvelopeConfigSchema;
11205
13155
  exports.RestApiConfig = RestApiConfig;
11206
13156
  exports.RestApiConfigSchema = RestApiConfigSchema;
@@ -11220,7 +13170,12 @@ exports.RouteGenerationConfigSchema = RouteGenerationConfigSchema;
11220
13170
  exports.RouterConfigSchema = RouterConfigSchema;
11221
13171
  exports.SaveMetaItemRequestSchema = SaveMetaItemRequestSchema;
11222
13172
  exports.SaveMetaItemResponseSchema = SaveMetaItemResponseSchema;
13173
+ exports.ScheduleExportRequestSchema = ScheduleExportRequestSchema;
13174
+ exports.ScheduleExportResponseSchema = ScheduleExportResponseSchema;
13175
+ exports.ScheduledExportSchema = ScheduledExportSchema;
11223
13176
  exports.SchemaDefinition = SchemaDefinition;
13177
+ exports.SearchFeedRequestSchema = SearchFeedRequestSchema;
13178
+ exports.SearchFeedResponseSchema = SearchFeedResponseSchema;
11224
13179
  exports.ServiceInfoSchema = ServiceInfoSchema;
11225
13180
  exports.SessionResponseSchema = SessionResponseSchema;
11226
13181
  exports.SessionSchema = SessionSchema;
@@ -11232,17 +13187,30 @@ exports.SimplePresenceStateSchema = SimplePresenceStateSchema;
11232
13187
  exports.SingleRecordResponseSchema = SingleRecordResponseSchema;
11233
13188
  exports.StandardApiContracts = StandardApiContracts;
11234
13189
  exports.StandardErrorCode = StandardErrorCode;
13190
+ exports.StarFeedItemRequestSchema = StarFeedItemRequestSchema;
13191
+ exports.StarFeedItemResponseSchema = StarFeedItemResponseSchema;
13192
+ exports.StorageApiContracts = StorageApiContracts;
11235
13193
  exports.SubgraphConfigSchema = SubgraphConfigSchema;
11236
13194
  exports.SubscribeMessageSchema = SubscribeMessageSchema;
11237
13195
  exports.SubscribeRequestSchema = SubscribeRequestSchema;
11238
13196
  exports.SubscribeResponseSchema = SubscribeResponseSchema;
11239
13197
  exports.SubscriptionEventSchema = SubscriptionEventSchema;
11240
13198
  exports.SubscriptionSchema = SubscriptionSchema;
13199
+ exports.ToggleFlowRequestSchema = ToggleFlowRequestSchema;
13200
+ exports.ToggleFlowResponseSchema = ToggleFlowResponseSchema;
11241
13201
  exports.TransportProtocol = TransportProtocol;
13202
+ exports.TriggerFlowRequestSchema = TriggerFlowRequestSchema;
13203
+ exports.TriggerFlowResponseSchema = TriggerFlowResponseSchema;
13204
+ exports.UninstallPackageApiRequestSchema = UninstallPackageApiRequestSchema;
13205
+ exports.UninstallPackageApiResponseSchema = UninstallPackageApiResponseSchema;
11242
13206
  exports.UninstallPackageRequestSchema = UninstallPackageRequestSchema;
11243
13207
  exports.UninstallPackageResponseSchema = UninstallPackageResponseSchema;
13208
+ exports.UnpinFeedItemRequestSchema = UnpinFeedItemRequestSchema;
13209
+ exports.UnpinFeedItemResponseSchema = UnpinFeedItemResponseSchema;
11244
13210
  exports.UnregisterDeviceRequestSchema = UnregisterDeviceRequestSchema;
11245
13211
  exports.UnregisterDeviceResponseSchema = UnregisterDeviceResponseSchema;
13212
+ exports.UnstarFeedItemRequestSchema = UnstarFeedItemRequestSchema;
13213
+ exports.UnstarFeedItemResponseSchema = UnstarFeedItemResponseSchema;
11246
13214
  exports.UnsubscribeMessageSchema = UnsubscribeMessageSchema;
11247
13215
  exports.UnsubscribeRequestSchema = UnsubscribeRequestSchema;
11248
13216
  exports.UnsubscribeResponseSchema = UnsubscribeResponseSchema;
@@ -11250,6 +13218,8 @@ exports.UpdateDataRequestSchema = UpdateDataRequestSchema;
11250
13218
  exports.UpdateDataResponseSchema = UpdateDataResponseSchema;
11251
13219
  exports.UpdateFeedItemRequestSchema = UpdateFeedItemRequestSchema;
11252
13220
  exports.UpdateFeedItemResponseSchema = UpdateFeedItemResponseSchema;
13221
+ exports.UpdateFlowRequestSchema = UpdateFlowRequestSchema;
13222
+ exports.UpdateFlowResponseSchema = UpdateFlowResponseSchema;
11253
13223
  exports.UpdateManyDataRequestSchema = UpdateManyDataRequestSchema;
11254
13224
  exports.UpdateManyDataResponseSchema = UpdateManyDataResponseSchema;
11255
13225
  exports.UpdateManyRequestSchema = UpdateManyRequestSchema;
@@ -11258,6 +13228,11 @@ exports.UpdateNotificationPreferencesResponseSchema = UpdateNotificationPreferen
11258
13228
  exports.UpdateRequestSchema = UpdateRequestSchema;
11259
13229
  exports.UpdateViewRequestSchema = UpdateViewRequestSchema;
11260
13230
  exports.UpdateViewResponseSchema = UpdateViewResponseSchema;
13231
+ exports.UploadArtifactRequestSchema = UploadArtifactRequestSchema;
13232
+ exports.UploadArtifactResponseSchema = UploadArtifactResponseSchema;
13233
+ exports.UploadChunkRequestSchema = UploadChunkRequestSchema;
13234
+ exports.UploadChunkResponseSchema = UploadChunkResponseSchema;
13235
+ exports.UploadProgressSchema = UploadProgressSchema;
11261
13236
  exports.UserProfileResponseSchema = UserProfileResponseSchema;
11262
13237
  exports.ValidationMode = ValidationMode;
11263
13238
  exports.VersionDefinitionSchema = VersionDefinitionSchema;
@@ -11273,6 +13248,7 @@ exports.WebSocketPresenceStatus = WebSocketPresenceStatus;
11273
13248
  exports.WebSocketServerConfigSchema = WebSocketServerConfigSchema;
11274
13249
  exports.WebhookConfigSchema = WebhookConfigSchema;
11275
13250
  exports.WebhookEventSchema = WebhookEventSchema;
13251
+ exports.WellKnownCapabilitiesSchema = WellKnownCapabilitiesSchema;
11276
13252
  exports.WorkflowApproveRequestSchema = WorkflowApproveRequestSchema;
11277
13253
  exports.WorkflowApproveResponseSchema = WorkflowApproveResponseSchema;
11278
13254
  exports.WorkflowRejectRequestSchema = WorkflowRejectRequestSchema;