@objectstack/spec 3.0.4 → 3.0.6

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 (1570) hide show
  1. package/dist/ai/index.js +8 -8
  2. package/dist/ai/index.js.map +1 -1
  3. package/dist/ai/index.mjs +8 -8
  4. package/dist/ai/index.mjs.map +1 -1
  5. package/dist/api/index.d.mts +2 -1
  6. package/dist/api/index.d.ts +2 -1
  7. package/dist/api/index.js +8 -8
  8. package/dist/api/index.js.map +1 -1
  9. package/dist/api/index.mjs +8 -8
  10. package/dist/api/index.mjs.map +1 -1
  11. package/dist/cloud/index.d.mts +2 -0
  12. package/dist/cloud/index.d.ts +2 -0
  13. package/dist/cloud/index.js +966 -0
  14. package/dist/cloud/index.js.map +1 -0
  15. package/dist/cloud/index.mjs +920 -0
  16. package/dist/cloud/index.mjs.map +1 -0
  17. package/dist/contracts/index.d.mts +2 -2
  18. package/dist/contracts/index.d.ts +2 -2
  19. package/dist/data/index.js +8 -8
  20. package/dist/data/index.js.map +1 -1
  21. package/dist/data/index.mjs +8 -8
  22. package/dist/data/index.mjs.map +1 -1
  23. package/dist/http.zod-zoVvPkD-.d.mts +97 -0
  24. package/dist/http.zod-zoVvPkD-.d.ts +97 -0
  25. package/dist/identity/index.d.mts +2 -0
  26. package/dist/identity/index.d.ts +2 -0
  27. package/dist/identity/index.js +989 -0
  28. package/dist/identity/index.js.map +1 -0
  29. package/dist/identity/index.mjs +956 -0
  30. package/dist/identity/index.mjs.map +1 -0
  31. package/dist/{index-BngR5-rO.d.ts → index-4NcJ3Ha4.d.ts} +1 -1
  32. package/dist/index-Be8CI66r.d.ts +715 -0
  33. package/dist/index-BsBoFep8.d.mts +1101 -0
  34. package/dist/index-BsBoFep8.d.ts +1101 -0
  35. package/dist/{index-Dj-Ilwtp.d.mts → index-C3uKcXsS.d.mts} +1 -1
  36. package/dist/index-C4vzygev.d.mts +715 -0
  37. package/dist/index-CSNXEPgT.d.mts +876 -0
  38. package/dist/index-CSNXEPgT.d.ts +876 -0
  39. package/dist/index-DE9Tb8px.d.mts +374 -0
  40. package/dist/index-DE9Tb8px.d.ts +374 -0
  41. package/dist/index-DPHfwGua.d.mts +1529 -0
  42. package/dist/index-DPHfwGua.d.ts +1529 -0
  43. package/dist/{index-DMVJlx3O.d.ts → index-DPm-ZIer.d.ts} +6 -99
  44. package/dist/{index-CgqOHtHF.d.mts → index-DvpuLlpC.d.mts} +6 -99
  45. package/dist/{index-DqAoreZC.d.mts → index-OQl7qIFh.d.mts} +1 -1
  46. package/dist/{index-DwefKBPG.d.ts → index-kAJ_i2Il.d.ts} +1 -1
  47. package/dist/index.d.mts +62 -3569
  48. package/dist/index.d.ts +62 -3569
  49. package/dist/index.js +458 -10
  50. package/dist/index.js.map +1 -1
  51. package/dist/index.mjs +454 -11
  52. package/dist/index.mjs.map +1 -1
  53. package/dist/kernel/index.d.mts +2 -2
  54. package/dist/kernel/index.d.ts +2 -2
  55. package/dist/qa/index.d.mts +2 -0
  56. package/dist/qa/index.d.ts +2 -0
  57. package/dist/qa/index.js +79 -0
  58. package/dist/qa/index.js.map +1 -0
  59. package/dist/qa/index.mjs +70 -0
  60. package/dist/qa/index.mjs.map +1 -0
  61. package/dist/shared/index.d.mts +3 -0
  62. package/dist/shared/index.d.ts +3 -0
  63. package/dist/shared/index.js +856 -0
  64. package/dist/shared/index.js.map +1 -0
  65. package/dist/shared/index.mjs +820 -0
  66. package/dist/shared/index.mjs.map +1 -0
  67. package/dist/studio/index.d.mts +1 -1
  68. package/dist/studio/index.d.ts +1 -1
  69. package/dist/studio/index.js +355 -0
  70. package/dist/studio/index.js.map +1 -1
  71. package/dist/studio/index.mjs +339 -1
  72. package/dist/studio/index.mjs.map +1 -1
  73. package/dist/system/index.js +8 -8
  74. package/dist/system/index.js.map +1 -1
  75. package/dist/system/index.mjs +8 -8
  76. package/dist/system/index.mjs.map +1 -1
  77. package/dist/ui/index.js +3 -3
  78. package/dist/ui/index.js.map +1 -1
  79. package/dist/ui/index.mjs +3 -3
  80. package/dist/ui/index.mjs.map +1 -1
  81. package/json-schema/ai/AICodeReviewResult.json +2 -2
  82. package/json-schema/ai/AIKnowledge.json +2 -2
  83. package/json-schema/ai/AIModelConfig.json +2 -2
  84. package/json-schema/ai/AIOperationCost.json +2 -2
  85. package/json-schema/ai/AIOpsAgentConfig.json +2 -2
  86. package/json-schema/ai/AIOrchestration.json +2 -2
  87. package/json-schema/ai/AIOrchestrationExecutionResult.json +2 -2
  88. package/json-schema/ai/AIOrchestrationTrigger.json +2 -2
  89. package/json-schema/ai/AITask.json +2 -2
  90. package/json-schema/ai/AITaskType.json +2 -2
  91. package/json-schema/ai/AITool.json +2 -2
  92. package/json-schema/ai/Agent.json +2 -2
  93. package/json-schema/ai/AgentAction.json +2 -2
  94. package/json-schema/ai/AgentActionResult.json +2 -2
  95. package/json-schema/ai/AgentActionSequence.json +2 -2
  96. package/json-schema/ai/AgentActionSequenceResult.json +2 -2
  97. package/json-schema/ai/AgentCommunicationProtocol.json +2 -2
  98. package/json-schema/ai/AgentGroupMember.json +2 -2
  99. package/json-schema/ai/AgentGroupRole.json +2 -2
  100. package/json-schema/ai/AnomalyDetectionConfig.json +2 -2
  101. package/json-schema/ai/AutoScalingPolicy.json +2 -2
  102. package/json-schema/ai/BatchAIOrchestrationExecution.json +2 -2
  103. package/json-schema/ai/BillingPeriod.json +2 -2
  104. package/json-schema/ai/BudgetLimit.json +2 -2
  105. package/json-schema/ai/BudgetStatus.json +2 -2
  106. package/json-schema/ai/BudgetType.json +2 -2
  107. package/json-schema/ai/CICDPipelineConfig.json +2 -2
  108. package/json-schema/ai/ChunkingStrategy.json +2 -2
  109. package/json-schema/ai/CodeContent.json +2 -2
  110. package/json-schema/ai/CodeGenerationConfig.json +2 -2
  111. package/json-schema/ai/CodeGenerationRequest.json +2 -2
  112. package/json-schema/ai/CodeGenerationTarget.json +2 -2
  113. package/json-schema/ai/ComponentActionParams.json +2 -2
  114. package/json-schema/ai/ComponentActionType.json +2 -2
  115. package/json-schema/ai/ComponentAgentAction.json +2 -2
  116. package/json-schema/ai/ConversationAnalytics.json +2 -2
  117. package/json-schema/ai/ConversationContext.json +2 -2
  118. package/json-schema/ai/ConversationMessage.json +2 -2
  119. package/json-schema/ai/ConversationSession.json +2 -2
  120. package/json-schema/ai/ConversationSummary.json +2 -2
  121. package/json-schema/ai/CostAlert.json +2 -2
  122. package/json-schema/ai/CostAlertType.json +2 -2
  123. package/json-schema/ai/CostAnalytics.json +2 -2
  124. package/json-schema/ai/CostBreakdownDimension.json +2 -2
  125. package/json-schema/ai/CostBreakdownEntry.json +2 -2
  126. package/json-schema/ai/CostEntry.json +2 -2
  127. package/json-schema/ai/CostMetricType.json +2 -2
  128. package/json-schema/ai/CostOptimizationRecommendation.json +2 -2
  129. package/json-schema/ai/CostQueryFilters.json +2 -2
  130. package/json-schema/ai/CostReport.json +2 -2
  131. package/json-schema/ai/DataActionParams.json +2 -2
  132. package/json-schema/ai/DataActionType.json +2 -2
  133. package/json-schema/ai/DataAgentAction.json +2 -2
  134. package/json-schema/ai/DeploymentStrategy.json +2 -2
  135. package/json-schema/ai/DevOpsAgent.json +2 -2
  136. package/json-schema/ai/DevOpsTool.json +2 -2
  137. package/json-schema/ai/DevelopmentConfig.json +2 -2
  138. package/json-schema/ai/DocumentChunk.json +2 -2
  139. package/json-schema/ai/DocumentLoaderConfig.json +2 -2
  140. package/json-schema/ai/DocumentMetadata.json +2 -2
  141. package/json-schema/ai/EmbeddingModel.json +2 -2
  142. package/json-schema/ai/Entity.json +2 -2
  143. package/json-schema/ai/EvaluationMetrics.json +2 -2
  144. package/json-schema/ai/FeedbackLoop.json +26 -14
  145. package/json-schema/ai/FieldSynonymConfig.json +2 -2
  146. package/json-schema/ai/FileContent.json +2 -2
  147. package/json-schema/ai/FilterExpression.json +2 -2
  148. package/json-schema/ai/FilterGroup.json +2 -2
  149. package/json-schema/ai/FormActionParams.json +2 -2
  150. package/json-schema/ai/FormActionType.json +2 -2
  151. package/json-schema/ai/FormAgentAction.json +2 -2
  152. package/json-schema/ai/FunctionCall.json +2 -2
  153. package/json-schema/ai/GeneratedCode.json +2 -2
  154. package/json-schema/ai/GitHubIntegration.json +2 -2
  155. package/json-schema/ai/Hyperparameters.json +2 -2
  156. package/json-schema/ai/ImageContent.json +2 -2
  157. package/json-schema/ai/IntegrationConfig.json +2 -2
  158. package/json-schema/ai/IntentActionMapping.json +2 -2
  159. package/json-schema/ai/Issue.json +2 -2
  160. package/json-schema/ai/MCPCapability.json +2 -2
  161. package/json-schema/ai/MCPClientConfig.json +2 -2
  162. package/json-schema/ai/MCPPrompt.json +2 -2
  163. package/json-schema/ai/MCPPromptArgument.json +2 -2
  164. package/json-schema/ai/MCPPromptMessage.json +2 -2
  165. package/json-schema/ai/MCPPromptRequest.json +2 -2
  166. package/json-schema/ai/MCPPromptResponse.json +2 -2
  167. package/json-schema/ai/MCPResource.json +2 -2
  168. package/json-schema/ai/MCPResourceRequest.json +2 -2
  169. package/json-schema/ai/MCPResourceResponse.json +2 -2
  170. package/json-schema/ai/MCPResourceTemplate.json +2 -2
  171. package/json-schema/ai/MCPResourceType.json +2 -2
  172. package/json-schema/ai/MCPRootEntry.json +2 -2
  173. package/json-schema/ai/MCPRootsConfig.json +2 -2
  174. package/json-schema/ai/MCPSamplingConfig.json +2 -2
  175. package/json-schema/ai/MCPServerConfig.json +2 -2
  176. package/json-schema/ai/MCPServerInfo.json +2 -2
  177. package/json-schema/ai/MCPStreamingConfig.json +2 -2
  178. package/json-schema/ai/MCPTool.json +2 -2
  179. package/json-schema/ai/MCPToolApproval.json +2 -2
  180. package/json-schema/ai/MCPToolCallRequest.json +2 -2
  181. package/json-schema/ai/MCPToolCallResponse.json +2 -2
  182. package/json-schema/ai/MCPToolParameter.json +2 -2
  183. package/json-schema/ai/MCPTransportConfig.json +2 -2
  184. package/json-schema/ai/MCPTransportType.json +2 -2
  185. package/json-schema/ai/MessageContent.json +2 -2
  186. package/json-schema/ai/MessageContentType.json +2 -2
  187. package/json-schema/ai/MessagePruningEvent.json +2 -2
  188. package/json-schema/ai/MessageRole.json +2 -2
  189. package/json-schema/ai/MetadataFilter.json +2 -2
  190. package/json-schema/ai/MetadataSource.json +2 -2
  191. package/json-schema/ai/ModelCapability.json +2 -2
  192. package/json-schema/ai/ModelConfig.json +2 -2
  193. package/json-schema/ai/ModelDrift.json +2 -2
  194. package/json-schema/ai/ModelFeature.json +2 -2
  195. package/json-schema/ai/ModelLimits.json +2 -2
  196. package/json-schema/ai/ModelPricing.json +2 -2
  197. package/json-schema/ai/ModelProvider.json +2 -2
  198. package/json-schema/ai/ModelRegistry.json +2 -2
  199. package/json-schema/ai/ModelRegistryEntry.json +2 -2
  200. package/json-schema/ai/ModelSelectionCriteria.json +2 -2
  201. package/json-schema/ai/MonitoringConfig.json +2 -2
  202. package/json-schema/ai/MultiAgentGroup.json +2 -2
  203. package/json-schema/ai/NLQAnalytics.json +2 -2
  204. package/json-schema/ai/NLQFieldMapping.json +2 -2
  205. package/json-schema/ai/NLQModelConfig.json +2 -2
  206. package/json-schema/ai/NLQParseResult.json +2 -2
  207. package/json-schema/ai/NLQRequest.json +2 -2
  208. package/json-schema/ai/NLQResponse.json +2 -2
  209. package/json-schema/ai/NLQTrainingExample.json +2 -2
  210. package/json-schema/ai/NavigationActionParams.json +2 -2
  211. package/json-schema/ai/NavigationActionType.json +2 -2
  212. package/json-schema/ai/NavigationAgentAction.json +2 -2
  213. package/json-schema/ai/PerformanceOptimization.json +2 -2
  214. package/json-schema/ai/PipelineStage.json +2 -2
  215. package/json-schema/ai/PluginCompositionRequest.json +2 -2
  216. package/json-schema/ai/PluginCompositionResult.json +2 -2
  217. package/json-schema/ai/PluginRecommendation.json +2 -2
  218. package/json-schema/ai/PluginRecommendationRequest.json +2 -2
  219. package/json-schema/ai/PluginScaffoldingTemplate.json +2 -2
  220. package/json-schema/ai/PostProcessingAction.json +2 -2
  221. package/json-schema/ai/PredictionRequest.json +2 -2
  222. package/json-schema/ai/PredictionResult.json +2 -2
  223. package/json-schema/ai/PredictiveModel.json +2 -2
  224. package/json-schema/ai/PredictiveModelType.json +2 -2
  225. package/json-schema/ai/PromptTemplate.json +2 -2
  226. package/json-schema/ai/PromptVariable.json +2 -2
  227. package/json-schema/ai/QueryContext.json +2 -2
  228. package/json-schema/ai/QueryIntent.json +2 -2
  229. package/json-schema/ai/QueryTemplate.json +2 -2
  230. package/json-schema/ai/RAGPipelineConfig.json +2 -2
  231. package/json-schema/ai/RAGPipelineStatus.json +2 -2
  232. package/json-schema/ai/RAGQueryRequest.json +2 -2
  233. package/json-schema/ai/RAGQueryResponse.json +2 -2
  234. package/json-schema/ai/RerankingConfig.json +2 -2
  235. package/json-schema/ai/Resolution.json +26 -14
  236. package/json-schema/ai/RetrievalStrategy.json +2 -2
  237. package/json-schema/ai/RootCauseAnalysisRequest.json +2 -2
  238. package/json-schema/ai/RootCauseAnalysisResult.json +2 -2
  239. package/json-schema/ai/SelfHealingAction.json +2 -2
  240. package/json-schema/ai/SelfHealingConfig.json +2 -2
  241. package/json-schema/ai/StructuredOutputConfig.json +2 -2
  242. package/json-schema/ai/StructuredOutputFormat.json +2 -2
  243. package/json-schema/ai/TestingConfig.json +2 -2
  244. package/json-schema/ai/TextContent.json +2 -2
  245. package/json-schema/ai/Timeframe.json +2 -2
  246. package/json-schema/ai/TokenBudgetConfig.json +2 -2
  247. package/json-schema/ai/TokenBudgetStrategy.json +2 -2
  248. package/json-schema/ai/TokenUsage.json +2 -2
  249. package/json-schema/ai/TokenUsageStats.json +2 -2
  250. package/json-schema/ai/ToolCall.json +2 -2
  251. package/json-schema/ai/TrainingConfig.json +2 -2
  252. package/json-schema/ai/TransformPipelineStep.json +2 -2
  253. package/json-schema/ai/TypedAgentAction.json +2 -2
  254. package/json-schema/ai/UIActionType.json +2 -2
  255. package/json-schema/ai/VectorStoreConfig.json +2 -2
  256. package/json-schema/ai/VectorStoreProvider.json +2 -2
  257. package/json-schema/ai/VercelIntegration.json +2 -2
  258. package/json-schema/ai/VersionManagement.json +2 -2
  259. package/json-schema/ai/ViewActionParams.json +2 -2
  260. package/json-schema/ai/ViewActionType.json +2 -2
  261. package/json-schema/ai/ViewAgentAction.json +2 -2
  262. package/json-schema/ai/WorkflowActionParams.json +2 -2
  263. package/json-schema/ai/WorkflowActionType.json +2 -2
  264. package/json-schema/ai/WorkflowAgentAction.json +2 -2
  265. package/json-schema/ai/WorkflowFieldCondition.json +2 -2
  266. package/json-schema/ai/WorkflowSchedule.json +2 -2
  267. package/json-schema/api/AckMessage.json +2 -2
  268. package/json-schema/api/AiChatRequest.json +2 -2
  269. package/json-schema/api/AiChatResponse.json +2 -2
  270. package/json-schema/api/AiInsightsRequest.json +2 -2
  271. package/json-schema/api/AiInsightsResponse.json +2 -2
  272. package/json-schema/api/AiNlqRequest.json +2 -2
  273. package/json-schema/api/AiNlqResponse.json +2 -2
  274. package/json-schema/api/AiSuggestRequest.json +2 -2
  275. package/json-schema/api/AiSuggestResponse.json +2 -2
  276. package/json-schema/api/AnalyticsEndpoint.json +2 -2
  277. package/json-schema/api/AnalyticsMetadataResponse.json +2 -2
  278. package/json-schema/api/AnalyticsQueryRequest.json +2 -2
  279. package/json-schema/api/AnalyticsResultResponse.json +2 -2
  280. package/json-schema/api/AnalyticsSqlResponse.json +2 -2
  281. package/json-schema/api/ApiChangelogEntry.json +2 -2
  282. package/json-schema/api/ApiDiscoveryQuery.json +2 -2
  283. package/json-schema/api/ApiDiscoveryResponse.json +2 -2
  284. package/json-schema/api/ApiDocumentationConfig.json +2 -2
  285. package/json-schema/api/ApiEndpoint.json +2 -2
  286. package/json-schema/api/ApiEndpointRegistration.json +2 -2
  287. package/json-schema/api/ApiError.json +2 -2
  288. package/json-schema/api/ApiMapping.json +2 -2
  289. package/json-schema/api/ApiMetadata.json +2 -2
  290. package/json-schema/api/ApiParameter.json +2 -2
  291. package/json-schema/api/ApiProtocolType.json +2 -2
  292. package/json-schema/api/ApiRegistry.json +2 -2
  293. package/json-schema/api/ApiRegistryEntry.json +2 -2
  294. package/json-schema/api/ApiResponse.json +2 -2
  295. package/json-schema/api/ApiRoutes.json +2 -2
  296. package/json-schema/api/ApiTestCollection.json +2 -2
  297. package/json-schema/api/ApiTestRequest.json +2 -2
  298. package/json-schema/api/ApiTestingUiConfig.json +2 -2
  299. package/json-schema/api/ApiTestingUiType.json +2 -2
  300. package/json-schema/api/AppDefinitionResponse.json +2 -2
  301. package/json-schema/api/AuthEndpoint.json +2 -2
  302. package/json-schema/api/AuthProvider.json +2 -2
  303. package/json-schema/api/AutomationTriggerRequest.json +2 -2
  304. package/json-schema/api/AutomationTriggerResponse.json +2 -2
  305. package/json-schema/api/BasePresence.json +2 -2
  306. package/json-schema/api/BaseResponse.json +2 -2
  307. package/json-schema/api/BatchConfig.json +2 -2
  308. package/json-schema/api/BatchDataRequest.json +2 -2
  309. package/json-schema/api/BatchDataResponse.json +2 -2
  310. package/json-schema/api/BatchEndpointsConfig.json +2 -2
  311. package/json-schema/api/BatchLoadingStrategy.json +2 -2
  312. package/json-schema/api/BatchOperationResult.json +2 -2
  313. package/json-schema/api/BatchOperationType.json +2 -2
  314. package/json-schema/api/BatchOptions.json +2 -2
  315. package/json-schema/api/BatchRecord.json +2 -2
  316. package/json-schema/api/BatchUpdateRequest.json +2 -2
  317. package/json-schema/api/BatchUpdateResponse.json +2 -2
  318. package/json-schema/api/BulkRequest.json +2 -2
  319. package/json-schema/api/BulkResponse.json +2 -2
  320. package/json-schema/api/CacheControl.json +2 -2
  321. package/json-schema/api/CacheDirective.json +2 -2
  322. package/json-schema/api/CacheInvalidationRequest.json +2 -2
  323. package/json-schema/api/CacheInvalidationResponse.json +2 -2
  324. package/json-schema/api/CacheInvalidationTarget.json +2 -2
  325. package/json-schema/api/Callback.json +2 -2
  326. package/json-schema/api/CheckPermissionRequest.json +2 -2
  327. package/json-schema/api/CheckPermissionResponse.json +2 -2
  328. package/json-schema/api/CodeGenerationTemplate.json +2 -2
  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/CreateManyDataRequest.json +2 -2
  335. package/json-schema/api/CreateManyDataResponse.json +2 -2
  336. package/json-schema/api/CreateRequest.json +2 -2
  337. package/json-schema/api/CrudEndpointPattern.json +2 -2
  338. package/json-schema/api/CrudEndpointsConfig.json +2 -2
  339. package/json-schema/api/CrudOperation.json +2 -2
  340. package/json-schema/api/CursorMessage.json +2 -2
  341. package/json-schema/api/CursorPosition.json +2 -2
  342. package/json-schema/api/DataLoaderConfig.json +2 -2
  343. package/json-schema/api/DeleteDataRequest.json +2 -2
  344. package/json-schema/api/DeleteDataResponse.json +2 -2
  345. package/json-schema/api/DeleteManyDataRequest.json +2 -2
  346. package/json-schema/api/DeleteManyDataResponse.json +2 -2
  347. package/json-schema/api/DeleteManyRequest.json +2 -2
  348. package/json-schema/api/DeleteResponse.json +2 -2
  349. package/json-schema/api/DeleteViewRequest.json +2 -2
  350. package/json-schema/api/DeleteViewResponse.json +2 -2
  351. package/json-schema/api/DisablePackageRequest.json +2 -2
  352. package/json-schema/api/DisablePackageResponse.json +2 -2
  353. package/json-schema/api/Discovery.json +2 -2
  354. package/json-schema/api/DispatcherConfig.json +2 -2
  355. package/json-schema/api/DispatcherRoute.json +2 -2
  356. package/json-schema/api/DocumentState.json +2 -2
  357. package/json-schema/api/ETag.json +2 -2
  358. package/json-schema/api/EditMessage.json +2 -2
  359. package/json-schema/api/EditOperation.json +2 -2
  360. package/json-schema/api/EditOperationType.json +2 -2
  361. package/json-schema/api/EnablePackageRequest.json +2 -2
  362. package/json-schema/api/EnablePackageResponse.json +2 -2
  363. package/json-schema/api/EndpointRegistry.json +2 -2
  364. package/json-schema/api/EnhancedApiError.json +2 -2
  365. package/json-schema/api/ErrorCategory.json +2 -2
  366. package/json-schema/api/ErrorHandlingConfig.json +2 -2
  367. package/json-schema/api/ErrorMessage.json +2 -2
  368. package/json-schema/api/ErrorResponse.json +2 -2
  369. package/json-schema/api/EventFilter.json +2 -2
  370. package/json-schema/api/EventFilterCondition.json +2 -2
  371. package/json-schema/api/EventMessage.json +2 -2
  372. package/json-schema/api/EventPattern.json +2 -2
  373. package/json-schema/api/EventSubscription.json +2 -2
  374. package/json-schema/api/ExportRequest.json +2 -2
  375. package/json-schema/api/FederationEntity.json +2 -2
  376. package/json-schema/api/FederationEntityKey.json +2 -2
  377. package/json-schema/api/FederationExternalField.json +2 -2
  378. package/json-schema/api/FederationGateway.json +2 -2
  379. package/json-schema/api/FederationProvides.json +2 -2
  380. package/json-schema/api/FederationRequires.json +2 -2
  381. package/json-schema/api/FieldError.json +2 -2
  382. package/json-schema/api/FileUploadResponse.json +2 -2
  383. package/json-schema/api/FilterOperator.json +2 -2
  384. package/json-schema/api/FindDataRequest.json +2 -2
  385. package/json-schema/api/FindDataResponse.json +2 -2
  386. package/json-schema/api/GeneratedApiDocumentation.json +2 -2
  387. package/json-schema/api/GeneratedEndpoint.json +2 -2
  388. package/json-schema/api/GetAnalyticsMetaRequest.json +2 -2
  389. package/json-schema/api/GetDataRequest.json +2 -2
  390. package/json-schema/api/GetDataResponse.json +2 -2
  391. package/json-schema/api/GetDiscoveryRequest.json +2 -2
  392. package/json-schema/api/GetDiscoveryResponse.json +2 -2
  393. package/json-schema/api/GetEffectivePermissionsRequest.json +2 -2
  394. package/json-schema/api/GetEffectivePermissionsResponse.json +2 -2
  395. package/json-schema/api/GetFieldLabelsRequest.json +2 -2
  396. package/json-schema/api/GetFieldLabelsResponse.json +2 -2
  397. package/json-schema/api/GetLocalesRequest.json +2 -2
  398. package/json-schema/api/GetLocalesResponse.json +2 -2
  399. package/json-schema/api/GetMetaItemCachedRequest.json +2 -2
  400. package/json-schema/api/GetMetaItemCachedResponse.json +2 -2
  401. package/json-schema/api/GetMetaItemRequest.json +2 -2
  402. package/json-schema/api/GetMetaItemResponse.json +2 -2
  403. package/json-schema/api/GetMetaItemsRequest.json +2 -2
  404. package/json-schema/api/GetMetaItemsResponse.json +2 -2
  405. package/json-schema/api/GetMetaTypesRequest.json +2 -2
  406. package/json-schema/api/GetMetaTypesResponse.json +2 -2
  407. package/json-schema/api/GetNotificationPreferencesRequest.json +2 -2
  408. package/json-schema/api/GetNotificationPreferencesResponse.json +2 -2
  409. package/json-schema/api/GetObjectPermissionsRequest.json +2 -2
  410. package/json-schema/api/GetObjectPermissionsResponse.json +2 -2
  411. package/json-schema/api/GetPackageRequest.json +2 -2
  412. package/json-schema/api/GetPackageResponse.json +2 -2
  413. package/json-schema/api/GetPresenceRequest.json +2 -2
  414. package/json-schema/api/GetPresenceResponse.json +2 -2
  415. package/json-schema/api/GetPresignedUrlRequest.json +2 -2
  416. package/json-schema/api/GetTranslationsRequest.json +2 -2
  417. package/json-schema/api/GetTranslationsResponse.json +2 -2
  418. package/json-schema/api/GetUiViewRequest.json +2 -2
  419. package/json-schema/api/GetViewRequest.json +2 -2
  420. package/json-schema/api/GetWorkflowConfigRequest.json +2 -2
  421. package/json-schema/api/GetWorkflowConfigResponse.json +2 -2
  422. package/json-schema/api/GetWorkflowStateRequest.json +2 -2
  423. package/json-schema/api/GetWorkflowStateResponse.json +2 -2
  424. package/json-schema/api/GraphQLConfig.json +2 -2
  425. package/json-schema/api/GraphQLDataLoaderConfig.json +2 -2
  426. package/json-schema/api/GraphQLDirectiveConfig.json +2 -2
  427. package/json-schema/api/GraphQLDirectiveLocation.json +2 -2
  428. package/json-schema/api/GraphQLMutationConfig.json +2 -2
  429. package/json-schema/api/GraphQLPersistedQuery.json +2 -2
  430. package/json-schema/api/GraphQLQueryAdapter.json +2 -2
  431. package/json-schema/api/GraphQLQueryComplexity.json +2 -2
  432. package/json-schema/api/GraphQLQueryConfig.json +2 -2
  433. package/json-schema/api/GraphQLQueryDepthLimit.json +2 -2
  434. package/json-schema/api/GraphQLRateLimit.json +2 -2
  435. package/json-schema/api/GraphQLResolverConfig.json +2 -2
  436. package/json-schema/api/GraphQLScalarType.json +2 -2
  437. package/json-schema/api/GraphQLSubscriptionConfig.json +2 -2
  438. package/json-schema/api/GraphQLTypeConfig.json +2 -2
  439. package/json-schema/api/HttpMethod.json +2 -2
  440. package/json-schema/api/HttpStatusCode.json +2 -2
  441. package/json-schema/api/IdRequest.json +2 -2
  442. package/json-schema/api/InstallPackageRequest.json +2 -2
  443. package/json-schema/api/InstallPackageResponse.json +2 -2
  444. package/json-schema/api/ListNotificationsRequest.json +2 -2
  445. package/json-schema/api/ListNotificationsResponse.json +2 -2
  446. package/json-schema/api/ListPackagesRequest.json +2 -2
  447. package/json-schema/api/ListPackagesResponse.json +2 -2
  448. package/json-schema/api/ListRecordResponse.json +2 -2
  449. package/json-schema/api/ListViewsRequest.json +2 -2
  450. package/json-schema/api/LoginRequest.json +2 -2
  451. package/json-schema/api/LoginType.json +2 -2
  452. package/json-schema/api/MarkAllNotificationsReadRequest.json +2 -2
  453. package/json-schema/api/MarkAllNotificationsReadResponse.json +2 -2
  454. package/json-schema/api/MarkNotificationsReadRequest.json +2 -2
  455. package/json-schema/api/MarkNotificationsReadResponse.json +2 -2
  456. package/json-schema/api/MetadataBulkRegisterRequest.json +2 -2
  457. package/json-schema/api/MetadataBulkResponse.json +2 -2
  458. package/json-schema/api/MetadataBulkUnregisterRequest.json +2 -2
  459. package/json-schema/api/MetadataCacheRequest.json +2 -2
  460. package/json-schema/api/MetadataCacheResponse.json +2 -2
  461. package/json-schema/api/MetadataDeleteResponse.json +2 -2
  462. package/json-schema/api/MetadataDependenciesResponse.json +2 -2
  463. package/json-schema/api/MetadataDependentsResponse.json +2 -2
  464. package/json-schema/api/MetadataEffectiveResponse.json +2 -2
  465. package/json-schema/api/MetadataEndpointsConfig.json +2 -2
  466. package/json-schema/api/MetadataExistsResponse.json +2 -2
  467. package/json-schema/api/MetadataExportRequest.json +2 -2
  468. package/json-schema/api/MetadataExportResponse.json +2 -2
  469. package/json-schema/api/MetadataImportRequest.json +2 -2
  470. package/json-schema/api/MetadataImportResponse.json +2 -2
  471. package/json-schema/api/MetadataItemResponse.json +2 -2
  472. package/json-schema/api/MetadataListResponse.json +2 -2
  473. package/json-schema/api/MetadataNamesResponse.json +2 -2
  474. package/json-schema/api/MetadataOverlayResponse.json +2 -2
  475. package/json-schema/api/MetadataOverlaySaveRequest.json +2 -2
  476. package/json-schema/api/MetadataQueryRequest.json +2 -2
  477. package/json-schema/api/MetadataQueryResponse.json +2 -2
  478. package/json-schema/api/MetadataRegisterRequest.json +2 -2
  479. package/json-schema/api/MetadataTypeInfoResponse.json +2 -2
  480. package/json-schema/api/MetadataTypesResponse.json +2 -2
  481. package/json-schema/api/MetadataValidateRequest.json +2 -2
  482. package/json-schema/api/MetadataValidateResponse.json +2 -2
  483. package/json-schema/api/ModificationResult.json +2 -2
  484. package/json-schema/api/Notification.json +2 -2
  485. package/json-schema/api/NotificationPreferences.json +2 -2
  486. package/json-schema/api/ODataConfig.json +2 -2
  487. package/json-schema/api/ODataError.json +2 -2
  488. package/json-schema/api/ODataFilterFunction.json +2 -2
  489. package/json-schema/api/ODataFilterOperator.json +2 -2
  490. package/json-schema/api/ODataMetadata.json +2 -2
  491. package/json-schema/api/ODataQuery.json +2 -2
  492. package/json-schema/api/ODataQueryAdapter.json +2 -2
  493. package/json-schema/api/ODataResponse.json +2 -2
  494. package/json-schema/api/ObjectDefinitionResponse.json +8 -5
  495. package/json-schema/api/ObjectQLReference.json +2 -2
  496. package/json-schema/api/OpenApi31Extensions.json +2 -2
  497. package/json-schema/api/OpenApiGenerationConfig.json +2 -2
  498. package/json-schema/api/OpenApiSecurityScheme.json +2 -2
  499. package/json-schema/api/OpenApiServer.json +2 -2
  500. package/json-schema/api/OpenApiSpec.json +2 -2
  501. package/json-schema/api/OperatorMapping.json +2 -2
  502. package/json-schema/api/PingMessage.json +2 -2
  503. package/json-schema/api/PongMessage.json +2 -2
  504. package/json-schema/api/PresenceMessage.json +2 -2
  505. package/json-schema/api/PresenceState.json +2 -2
  506. package/json-schema/api/PresenceStatus.json +2 -2
  507. package/json-schema/api/PresenceUpdate.json +2 -2
  508. package/json-schema/api/PresignedUrlResponse.json +2 -2
  509. package/json-schema/api/QueryAdapterConfig.json +2 -2
  510. package/json-schema/api/QueryAdapterTarget.json +2 -2
  511. package/json-schema/api/QueryOptimizationConfig.json +2 -2
  512. package/json-schema/api/RealtimeConfig.json +2 -2
  513. package/json-schema/api/RealtimeConnectRequest.json +2 -2
  514. package/json-schema/api/RealtimeConnectResponse.json +2 -2
  515. package/json-schema/api/RealtimeDisconnectRequest.json +2 -2
  516. package/json-schema/api/RealtimeDisconnectResponse.json +2 -2
  517. package/json-schema/api/RealtimeEvent.json +2 -2
  518. package/json-schema/api/RealtimeEventType.json +2 -2
  519. package/json-schema/api/RealtimePresence.json +2 -2
  520. package/json-schema/api/RealtimeRecordAction.json +2 -2
  521. package/json-schema/api/RealtimeSubscribeRequest.json +2 -2
  522. package/json-schema/api/RealtimeSubscribeResponse.json +2 -2
  523. package/json-schema/api/RealtimeUnsubscribeRequest.json +2 -2
  524. package/json-schema/api/RealtimeUnsubscribeResponse.json +2 -2
  525. package/json-schema/api/RecordData.json +2 -2
  526. package/json-schema/api/RefreshTokenRequest.json +2 -2
  527. package/json-schema/api/RegisterDeviceRequest.json +2 -2
  528. package/json-schema/api/RegisterDeviceResponse.json +2 -2
  529. package/json-schema/api/RegisterRequest.json +2 -2
  530. package/json-schema/api/RequestValidationConfig.json +2 -2
  531. package/json-schema/api/ResponseEnvelopeConfig.json +2 -2
  532. package/json-schema/api/RestApiConfig.json +2 -2
  533. package/json-schema/api/RestApiEndpoint.json +2 -2
  534. package/json-schema/api/RestApiPluginConfig.json +2 -2
  535. package/json-schema/api/RestApiRouteCategory.json +2 -2
  536. package/json-schema/api/RestApiRouteRegistration.json +2 -2
  537. package/json-schema/api/RestQueryAdapter.json +2 -2
  538. package/json-schema/api/RestServerConfig.json +2 -2
  539. package/json-schema/api/RetryStrategy.json +2 -2
  540. package/json-schema/api/RouteCategory.json +2 -2
  541. package/json-schema/api/RouteDefinition.json +2 -2
  542. package/json-schema/api/RouteGenerationConfig.json +2 -2
  543. package/json-schema/api/RouterConfig.json +2 -2
  544. package/json-schema/api/SaveMetaItemRequest.json +2 -2
  545. package/json-schema/api/SaveMetaItemResponse.json +2 -2
  546. package/json-schema/api/SchemaDefinition.json +2 -2
  547. package/json-schema/api/ServiceInfo.json +2 -2
  548. package/json-schema/api/Session.json +2 -2
  549. package/json-schema/api/SessionResponse.json +2 -2
  550. package/json-schema/api/SessionUser.json +2 -2
  551. package/json-schema/api/SetPresenceRequest.json +2 -2
  552. package/json-schema/api/SetPresenceResponse.json +2 -2
  553. package/json-schema/api/SimpleCursorPosition.json +2 -2
  554. package/json-schema/api/SimplePresenceState.json +2 -2
  555. package/json-schema/api/SingleRecordResponse.json +2 -2
  556. package/json-schema/api/StandardErrorCode.json +2 -2
  557. package/json-schema/api/SubgraphConfig.json +2 -2
  558. package/json-schema/api/SubscribeMessage.json +2 -2
  559. package/json-schema/api/Subscription.json +2 -2
  560. package/json-schema/api/SubscriptionEvent.json +2 -2
  561. package/json-schema/api/TransportProtocol.json +2 -2
  562. package/json-schema/api/UninstallPackageRequest.json +2 -2
  563. package/json-schema/api/UninstallPackageResponse.json +2 -2
  564. package/json-schema/api/UnregisterDeviceRequest.json +2 -2
  565. package/json-schema/api/UnregisterDeviceResponse.json +2 -2
  566. package/json-schema/api/UnsubscribeMessage.json +2 -2
  567. package/json-schema/api/UnsubscribeRequest.json +2 -2
  568. package/json-schema/api/UpdateDataRequest.json +2 -2
  569. package/json-schema/api/UpdateDataResponse.json +2 -2
  570. package/json-schema/api/UpdateManyDataRequest.json +2 -2
  571. package/json-schema/api/UpdateManyDataResponse.json +2 -2
  572. package/json-schema/api/UpdateManyRequest.json +2 -2
  573. package/json-schema/api/UpdateNotificationPreferencesRequest.json +2 -2
  574. package/json-schema/api/UpdateNotificationPreferencesResponse.json +2 -2
  575. package/json-schema/api/UpdateRequest.json +2 -2
  576. package/json-schema/api/UserProfileResponse.json +2 -2
  577. package/json-schema/api/ValidationMode.json +2 -2
  578. package/json-schema/api/VersionDefinition.json +2 -2
  579. package/json-schema/api/VersionNegotiationResponse.json +2 -2
  580. package/json-schema/api/VersionStatus.json +2 -2
  581. package/json-schema/api/VersioningConfig.json +2 -2
  582. package/json-schema/api/VersioningStrategy.json +2 -2
  583. package/json-schema/api/WebSocketConfig.json +2 -2
  584. package/json-schema/api/WebSocketEvent.json +2 -2
  585. package/json-schema/api/WebSocketMessage.json +2 -2
  586. package/json-schema/api/WebSocketMessageType.json +2 -2
  587. package/json-schema/api/WebSocketPresenceStatus.json +2 -2
  588. package/json-schema/api/WebSocketServerConfig.json +2 -2
  589. package/json-schema/api/WebhookConfig.json +2 -2
  590. package/json-schema/api/WebhookEvent.json +2 -2
  591. package/json-schema/api/WorkflowApproveRequest.json +2 -2
  592. package/json-schema/api/WorkflowApproveResponse.json +2 -2
  593. package/json-schema/api/WorkflowRejectRequest.json +2 -2
  594. package/json-schema/api/WorkflowRejectResponse.json +2 -2
  595. package/json-schema/api/WorkflowState.json +2 -2
  596. package/json-schema/api/WorkflowTransitionRequest.json +2 -2
  597. package/json-schema/api/WorkflowTransitionResponse.json +2 -2
  598. package/json-schema/automation/ActionRef.json +2 -2
  599. package/json-schema/automation/ApprovalAction.json +2 -2
  600. package/json-schema/automation/ApprovalActionType.json +2 -2
  601. package/json-schema/automation/ApprovalProcess.json +2 -2
  602. package/json-schema/automation/ApprovalStep.json +2 -2
  603. package/json-schema/automation/ApproverType.json +2 -2
  604. package/json-schema/automation/AuthField.json +2 -2
  605. package/json-schema/automation/Authentication.json +2 -2
  606. package/json-schema/automation/AuthenticationType.json +2 -2
  607. package/json-schema/automation/ConflictResolution.json +2 -2
  608. package/json-schema/automation/Connector.json +2 -2
  609. package/json-schema/automation/ConnectorActionRef.json +2 -2
  610. package/json-schema/automation/ConnectorCategory.json +2 -2
  611. package/json-schema/automation/ConnectorInstance.json +2 -2
  612. package/json-schema/automation/ConnectorOperation.json +2 -2
  613. package/json-schema/automation/ConnectorTrigger.json +2 -2
  614. package/json-schema/automation/CustomScriptAction.json +2 -2
  615. package/json-schema/automation/DataDestinationConfig.json +2 -2
  616. package/json-schema/automation/DataSourceConfig.json +2 -2
  617. package/json-schema/automation/DataSyncConfig.json +2 -2
  618. package/json-schema/automation/ETLDestination.json +2 -2
  619. package/json-schema/automation/ETLEndpointType.json +2 -2
  620. package/json-schema/automation/ETLPipeline.json +2 -2
  621. package/json-schema/automation/ETLPipelineRun.json +2 -2
  622. package/json-schema/automation/ETLRunStatus.json +2 -2
  623. package/json-schema/automation/ETLSource.json +2 -2
  624. package/json-schema/automation/ETLSyncMode.json +2 -2
  625. package/json-schema/automation/ETLTransformation.json +2 -2
  626. package/json-schema/automation/ETLTransformationType.json +2 -2
  627. package/json-schema/automation/EmailAlertAction.json +2 -2
  628. package/json-schema/automation/Event.json +2 -2
  629. package/json-schema/automation/FieldUpdateAction.json +2 -2
  630. package/json-schema/automation/Flow.json +2 -2
  631. package/json-schema/automation/FlowEdge.json +2 -2
  632. package/json-schema/automation/FlowNode.json +2 -2
  633. package/json-schema/automation/FlowNodeAction.json +2 -2
  634. package/json-schema/automation/FlowVariable.json +2 -2
  635. package/json-schema/automation/GuardRef.json +2 -2
  636. package/json-schema/automation/HttpCallAction.json +2 -2
  637. package/json-schema/automation/OAuth2Config.json +2 -2
  638. package/json-schema/automation/OperationParameter.json +2 -2
  639. package/json-schema/automation/OperationType.json +2 -2
  640. package/json-schema/automation/PushNotificationAction.json +2 -2
  641. package/json-schema/automation/StateMachine.json +2 -2
  642. package/json-schema/automation/StateNode.json +2 -2
  643. package/json-schema/automation/SyncDirection.json +2 -2
  644. package/json-schema/automation/SyncExecutionResult.json +2 -2
  645. package/json-schema/automation/SyncExecutionStatus.json +2 -2
  646. package/json-schema/automation/SyncMode.json +2 -2
  647. package/json-schema/automation/TaskCreationAction.json +2 -2
  648. package/json-schema/automation/TimeTrigger.json +2 -2
  649. package/json-schema/automation/Transition.json +2 -2
  650. package/json-schema/automation/Webhook.json +2 -2
  651. package/json-schema/automation/WebhookReceiver.json +2 -2
  652. package/json-schema/automation/WebhookTriggerType.json +2 -2
  653. package/json-schema/automation/WorkflowAction.json +2 -2
  654. package/json-schema/automation/WorkflowRule.json +2 -2
  655. package/json-schema/automation/WorkflowTriggerType.json +2 -2
  656. package/json-schema/cloud/AnalyticsTimeRange.json +2 -2
  657. package/json-schema/cloud/AppDiscoveryRequest.json +2 -2
  658. package/json-schema/cloud/AppDiscoveryResponse.json +2 -2
  659. package/json-schema/cloud/AppSubscription.json +2 -2
  660. package/json-schema/cloud/CreateListingRequest.json +2 -2
  661. package/json-schema/cloud/CuratedCollection.json +2 -2
  662. package/json-schema/cloud/FeaturedListing.json +2 -2
  663. package/json-schema/cloud/InstalledAppSummary.json +2 -2
  664. package/json-schema/cloud/ListInstalledAppsRequest.json +2 -2
  665. package/json-schema/cloud/ListInstalledAppsResponse.json +2 -2
  666. package/json-schema/cloud/ListReviewsRequest.json +2 -2
  667. package/json-schema/cloud/ListReviewsResponse.json +2 -2
  668. package/json-schema/cloud/ListingActionRequest.json +2 -2
  669. package/json-schema/cloud/ListingStatus.json +2 -2
  670. package/json-schema/cloud/MarketplaceCategory.json +2 -2
  671. package/json-schema/cloud/MarketplaceHealthMetrics.json +2 -2
  672. package/json-schema/cloud/MarketplaceInstallRequest.json +2 -2
  673. package/json-schema/cloud/MarketplaceInstallResponse.json +2 -2
  674. package/json-schema/cloud/MarketplaceListing.json +2 -2
  675. package/json-schema/cloud/MarketplaceSearchRequest.json +2 -2
  676. package/json-schema/cloud/MarketplaceSearchResponse.json +2 -2
  677. package/json-schema/cloud/PackageSubmission.json +2 -2
  678. package/json-schema/cloud/PolicyAction.json +2 -2
  679. package/json-schema/cloud/PolicyViolationType.json +2 -2
  680. package/json-schema/cloud/PricingModel.json +2 -2
  681. package/json-schema/cloud/Publisher.json +2 -2
  682. package/json-schema/cloud/PublisherProfile.json +2 -2
  683. package/json-schema/cloud/PublisherVerification.json +2 -2
  684. package/json-schema/cloud/PublishingAnalyticsRequest.json +2 -2
  685. package/json-schema/cloud/PublishingAnalyticsResponse.json +2 -2
  686. package/json-schema/cloud/RecommendationReason.json +2 -2
  687. package/json-schema/cloud/RecommendedApp.json +2 -2
  688. package/json-schema/cloud/RejectionReason.json +2 -2
  689. package/json-schema/cloud/ReleaseChannel.json +2 -2
  690. package/json-schema/cloud/ReviewCriterion.json +2 -2
  691. package/json-schema/cloud/ReviewDecision.json +2 -2
  692. package/json-schema/cloud/ReviewModerationStatus.json +2 -2
  693. package/json-schema/cloud/SubmissionReview.json +2 -2
  694. package/json-schema/cloud/SubmitReviewRequest.json +2 -2
  695. package/json-schema/cloud/SubscriptionStatus.json +2 -2
  696. package/json-schema/cloud/TimeSeriesPoint.json +2 -2
  697. package/json-schema/cloud/TrendingListing.json +2 -2
  698. package/json-schema/cloud/UpdateListingRequest.json +2 -2
  699. package/json-schema/cloud/UserReview.json +2 -2
  700. package/json-schema/cloud/VersionRelease.json +2 -2
  701. package/json-schema/data/Address.json +2 -2
  702. package/json-schema/data/AggregationFunction.json +2 -2
  703. package/json-schema/data/AggregationMetricType.json +2 -2
  704. package/json-schema/data/AggregationNode.json +2 -2
  705. package/json-schema/data/AggregationPipeline.json +2 -2
  706. package/json-schema/data/AggregationStage.json +2 -2
  707. package/json-schema/data/AnalyticsQuery.json +2 -2
  708. package/json-schema/data/ApiMethod.json +2 -2
  709. package/json-schema/data/AsyncValidation.json +2 -2
  710. package/json-schema/data/BaseEngineOptions.json +2 -2
  711. package/json-schema/data/CDCConfig.json +2 -2
  712. package/json-schema/data/ComputedFieldCache.json +2 -2
  713. package/json-schema/data/ConditionalValidation.json +2 -2
  714. package/json-schema/data/ConsistencyLevel.json +2 -2
  715. package/json-schema/data/CrossFieldValidation.json +2 -2
  716. package/json-schema/data/Cube.json +2 -2
  717. package/json-schema/data/CubeJoin.json +2 -2
  718. package/json-schema/data/CurrencyConfig.json +2 -2
  719. package/json-schema/data/CurrencyValue.json +2 -2
  720. package/json-schema/data/CustomValidator.json +2 -2
  721. package/json-schema/data/DataEngineAggregateOptions.json +2 -2
  722. package/json-schema/data/DataEngineAggregateRequest.json +2 -2
  723. package/json-schema/data/DataEngineBatchRequest.json +2 -2
  724. package/json-schema/data/DataEngineCountOptions.json +2 -2
  725. package/json-schema/data/DataEngineCountRequest.json +2 -2
  726. package/json-schema/data/DataEngineDeleteOptions.json +2 -2
  727. package/json-schema/data/DataEngineDeleteRequest.json +2 -2
  728. package/json-schema/data/DataEngineExecuteRequest.json +2 -2
  729. package/json-schema/data/DataEngineFilter.json +2 -2
  730. package/json-schema/data/DataEngineFindOneRequest.json +2 -2
  731. package/json-schema/data/DataEngineFindRequest.json +2 -2
  732. package/json-schema/data/DataEngineInsertOptions.json +2 -2
  733. package/json-schema/data/DataEngineInsertRequest.json +2 -2
  734. package/json-schema/data/DataEngineQueryOptions.json +2 -2
  735. package/json-schema/data/DataEngineRequest.json +2 -2
  736. package/json-schema/data/DataEngineSort.json +2 -2
  737. package/json-schema/data/DataEngineUpdateOptions.json +2 -2
  738. package/json-schema/data/DataEngineUpdateRequest.json +2 -2
  739. package/json-schema/data/DataEngineVectorFindRequest.json +2 -2
  740. package/json-schema/data/DataQualityRules.json +2 -2
  741. package/json-schema/data/DataTypeMapping.json +2 -2
  742. package/json-schema/data/Dataset.json +2 -2
  743. package/json-schema/data/DatasetMode.json +2 -2
  744. package/json-schema/data/Datasource.json +2 -2
  745. package/json-schema/data/DatasourceCapabilities.json +2 -2
  746. package/json-schema/data/Dimension.json +2 -2
  747. package/json-schema/data/DimensionType.json +2 -2
  748. package/json-schema/data/Document.json +2 -2
  749. package/json-schema/data/DocumentTemplate.json +2 -2
  750. package/json-schema/data/DocumentValidationSchema.json +2 -2
  751. package/json-schema/data/DocumentVersion.json +2 -2
  752. package/json-schema/data/DriverCapabilities.json +2 -2
  753. package/json-schema/data/DriverConfig.json +2 -2
  754. package/json-schema/data/DriverDefinition.json +2 -2
  755. package/json-schema/data/DriverOptions.json +2 -2
  756. package/json-schema/data/DriverType.json +2 -2
  757. package/json-schema/data/ESignatureConfig.json +2 -2
  758. package/json-schema/data/EqualityOperator.json +2 -2
  759. package/json-schema/data/ExternalDataSource.json +2 -2
  760. package/json-schema/data/ExternalFieldMapping.json +2 -2
  761. package/json-schema/data/ExternalLookup.json +2 -2
  762. package/json-schema/data/Field.json +8 -5
  763. package/json-schema/data/FieldMapping.json +2 -2
  764. package/json-schema/data/FieldNode.json +2 -2
  765. package/json-schema/data/FieldReference.json +2 -2
  766. package/json-schema/data/FieldType.json +2 -2
  767. package/json-schema/data/FileAttachmentConfig.json +2 -2
  768. package/json-schema/data/FilterCondition.json +2 -2
  769. package/json-schema/data/FormatValidation.json +2 -2
  770. package/json-schema/data/FullTextSearch.json +2 -2
  771. package/json-schema/data/HookContext.json +2 -2
  772. package/json-schema/data/HookEvent.json +2 -2
  773. package/json-schema/data/Index.json +2 -2
  774. package/json-schema/data/JSONValidation.json +2 -2
  775. package/json-schema/data/JoinNode.json +2 -2
  776. package/json-schema/data/JoinStrategy.json +2 -2
  777. package/json-schema/data/JoinType.json +2 -2
  778. package/json-schema/data/LocationCoordinates.json +2 -2
  779. package/json-schema/data/Mapping.json +2 -2
  780. package/json-schema/data/Metric.json +2 -2
  781. package/json-schema/data/NoSQLDataTypeMapping.json +2 -2
  782. package/json-schema/data/NoSQLDatabaseType.json +2 -2
  783. package/json-schema/data/NoSQLDriverConfig.json +2 -2
  784. package/json-schema/data/NoSQLIndex.json +2 -2
  785. package/json-schema/data/NoSQLIndexType.json +2 -2
  786. package/json-schema/data/NoSQLOperationType.json +2 -2
  787. package/json-schema/data/NoSQLQueryOptions.json +2 -2
  788. package/json-schema/data/NoSQLTransactionOptions.json +2 -2
  789. package/json-schema/data/Object.json +8 -5
  790. package/json-schema/data/ObjectCapabilities.json +2 -2
  791. package/json-schema/data/ObjectExtension.json +13 -5
  792. package/json-schema/data/ObjectOwnershipEnum.json +2 -2
  793. package/json-schema/data/PartitioningConfig.json +2 -2
  794. package/json-schema/data/PoolConfig.json +2 -2
  795. package/json-schema/data/Query.json +2 -2
  796. package/json-schema/data/QueryFilter.json +2 -2
  797. package/json-schema/data/ReplicationConfig.json +2 -2
  798. package/json-schema/data/SQLDialect.json +2 -2
  799. package/json-schema/data/SQLDriverConfig.json +2 -2
  800. package/json-schema/data/SSLConfig.json +2 -2
  801. package/json-schema/data/ScriptValidation.json +2 -2
  802. package/json-schema/data/SearchConfig.json +2 -2
  803. package/json-schema/data/SelectOption.json +2 -2
  804. package/json-schema/data/SetOperator.json +2 -2
  805. package/json-schema/data/ShardingConfig.json +2 -2
  806. package/json-schema/data/SoftDeleteConfig.json +2 -2
  807. package/json-schema/data/SortNode.json +2 -2
  808. package/json-schema/data/SpecialOperator.json +2 -2
  809. package/json-schema/data/StateMachineValidation.json +2 -2
  810. package/json-schema/data/StringOperator.json +2 -2
  811. package/json-schema/data/TenancyConfig.json +2 -2
  812. package/json-schema/data/TimeUpdateInterval.json +2 -2
  813. package/json-schema/data/TransformType.json +2 -2
  814. package/json-schema/data/UniquenessValidation.json +2 -2
  815. package/json-schema/data/ValidationRule.json +2 -2
  816. package/json-schema/data/VectorConfig.json +2 -2
  817. package/json-schema/data/VersioningConfig.json +2 -2
  818. package/json-schema/data/WindowFunction.json +2 -2
  819. package/json-schema/data/WindowFunctionNode.json +2 -2
  820. package/json-schema/data/WindowSpec.json +2 -2
  821. package/json-schema/identity/Account.json +2 -2
  822. package/json-schema/identity/ApiKey.json +2 -2
  823. package/json-schema/identity/Invitation.json +2 -2
  824. package/json-schema/identity/InvitationStatus.json +2 -2
  825. package/json-schema/identity/Member.json +2 -2
  826. package/json-schema/identity/Organization.json +2 -2
  827. package/json-schema/identity/Role.json +2 -2
  828. package/json-schema/identity/SCIMAddress.json +2 -2
  829. package/json-schema/identity/SCIMBulkOperation.json +2 -2
  830. package/json-schema/identity/SCIMBulkRequest.json +2 -2
  831. package/json-schema/identity/SCIMBulkResponse.json +2 -2
  832. package/json-schema/identity/SCIMBulkResponseOperation.json +2 -2
  833. package/json-schema/identity/SCIMEmail.json +2 -2
  834. package/json-schema/identity/SCIMEnterpriseUser.json +2 -2
  835. package/json-schema/identity/SCIMError.json +2 -2
  836. package/json-schema/identity/SCIMGroup.json +2 -2
  837. package/json-schema/identity/SCIMGroupReference.json +2 -2
  838. package/json-schema/identity/SCIMListResponse.json +2 -2
  839. package/json-schema/identity/SCIMMemberReference.json +2 -2
  840. package/json-schema/identity/SCIMMeta.json +2 -2
  841. package/json-schema/identity/SCIMName.json +2 -2
  842. package/json-schema/identity/SCIMPatchOperation.json +2 -2
  843. package/json-schema/identity/SCIMPatchRequest.json +2 -2
  844. package/json-schema/identity/SCIMPhoneNumber.json +2 -2
  845. package/json-schema/identity/SCIMUser.json +2 -2
  846. package/json-schema/identity/Session.json +2 -2
  847. package/json-schema/identity/User.json +2 -2
  848. package/json-schema/identity/VerificationToken.json +2 -2
  849. package/json-schema/integration/AckMode.json +2 -2
  850. package/json-schema/integration/ApiVersionConfig.json +2 -2
  851. package/json-schema/integration/BuildConfig.json +2 -2
  852. package/json-schema/integration/CdcConfig.json +2 -2
  853. package/json-schema/integration/CircuitBreakerConfig.json +2 -2
  854. package/json-schema/integration/ConflictResolution.json +2 -2
  855. package/json-schema/integration/Connector.json +2 -2
  856. package/json-schema/integration/ConnectorAction.json +2 -2
  857. package/json-schema/integration/ConnectorHealth.json +2 -2
  858. package/json-schema/integration/ConnectorStatus.json +2 -2
  859. package/json-schema/integration/ConnectorTrigger.json +2 -2
  860. package/json-schema/integration/ConnectorType.json +2 -2
  861. package/json-schema/integration/ConsumerConfig.json +2 -2
  862. package/json-schema/integration/DataSyncConfig.json +2 -2
  863. package/json-schema/integration/DatabaseConnector.json +2 -2
  864. package/json-schema/integration/DatabasePoolConfig.json +2 -2
  865. package/json-schema/integration/DatabaseProvider.json +2 -2
  866. package/json-schema/integration/DatabaseTable.json +2 -2
  867. package/json-schema/integration/DeliveryGuarantee.json +2 -2
  868. package/json-schema/integration/DeploymentConfig.json +2 -2
  869. package/json-schema/integration/DlqConfig.json +2 -2
  870. package/json-schema/integration/DomainConfig.json +2 -2
  871. package/json-schema/integration/EdgeFunctionConfig.json +2 -2
  872. package/json-schema/integration/EnvironmentVariables.json +2 -2
  873. package/json-schema/integration/ErrorCategory.json +2 -2
  874. package/json-schema/integration/ErrorMappingConfig.json +2 -2
  875. package/json-schema/integration/ErrorMappingRule.json +2 -2
  876. package/json-schema/integration/FieldMapping.json +2 -2
  877. package/json-schema/integration/FileAccessPattern.json +2 -2
  878. package/json-schema/integration/FileFilterConfig.json +2 -2
  879. package/json-schema/integration/FileMetadataConfig.json +2 -2
  880. package/json-schema/integration/FileStorageConnector.json +2 -2
  881. package/json-schema/integration/FileStorageProvider.json +2 -2
  882. package/json-schema/integration/FileVersioningConfig.json +2 -2
  883. package/json-schema/integration/GitHubActionsWorkflow.json +2 -2
  884. package/json-schema/integration/GitHubCommitConfig.json +2 -2
  885. package/json-schema/integration/GitHubConnector.json +2 -2
  886. package/json-schema/integration/GitHubIssueTracking.json +2 -2
  887. package/json-schema/integration/GitHubProvider.json +2 -2
  888. package/json-schema/integration/GitHubPullRequestConfig.json +2 -2
  889. package/json-schema/integration/GitHubReleaseConfig.json +2 -2
  890. package/json-schema/integration/GitHubRepository.json +2 -2
  891. package/json-schema/integration/GitRepositoryConfig.json +2 -2
  892. package/json-schema/integration/HealthCheckConfig.json +2 -2
  893. package/json-schema/integration/MessageFormat.json +2 -2
  894. package/json-schema/integration/MessageQueueConnector.json +2 -2
  895. package/json-schema/integration/MessageQueueProvider.json +2 -2
  896. package/json-schema/integration/MultipartUploadConfig.json +2 -2
  897. package/json-schema/integration/ProducerConfig.json +2 -2
  898. package/json-schema/integration/RateLimitConfig.json +2 -2
  899. package/json-schema/integration/RateLimitStrategy.json +2 -2
  900. package/json-schema/integration/RetryConfig.json +2 -2
  901. package/json-schema/integration/RetryStrategy.json +2 -2
  902. package/json-schema/integration/SaasConnector.json +2 -2
  903. package/json-schema/integration/SaasObjectType.json +2 -2
  904. package/json-schema/integration/SaasProvider.json +2 -2
  905. package/json-schema/integration/SslConfig.json +2 -2
  906. package/json-schema/integration/StorageBucket.json +2 -2
  907. package/json-schema/integration/SyncStrategy.json +2 -2
  908. package/json-schema/integration/TopicQueue.json +2 -2
  909. package/json-schema/integration/VercelConnector.json +2 -2
  910. package/json-schema/integration/VercelFramework.json +2 -2
  911. package/json-schema/integration/VercelMonitoring.json +2 -2
  912. package/json-schema/integration/VercelProject.json +2 -2
  913. package/json-schema/integration/VercelProvider.json +2 -2
  914. package/json-schema/integration/VercelTeam.json +2 -2
  915. package/json-schema/integration/WebhookConfig.json +2 -2
  916. package/json-schema/integration/WebhookEvent.json +2 -2
  917. package/json-schema/integration/WebhookSignatureAlgorithm.json +2 -2
  918. package/json-schema/kernel/ActivationEvent.json +2 -2
  919. package/json-schema/kernel/AdvancedPluginLifecycleConfig.json +2 -2
  920. package/json-schema/kernel/BreakingChange.json +2 -2
  921. package/json-schema/kernel/CLICommandContribution.json +2 -2
  922. package/json-schema/kernel/CLIExtensionExport.json +2 -2
  923. package/json-schema/kernel/CapabilityConformanceLevel.json +2 -2
  924. package/json-schema/kernel/CompatibilityLevel.json +2 -2
  925. package/json-schema/kernel/CompatibilityMatrixEntry.json +2 -2
  926. package/json-schema/kernel/CustomizationOrigin.json +2 -2
  927. package/json-schema/kernel/CustomizationPolicy.json +2 -2
  928. package/json-schema/kernel/DeadLetterQueueEntry.json +2 -2
  929. package/json-schema/kernel/DependencyConflict.json +2 -2
  930. package/json-schema/kernel/DependencyGraph.json +2 -2
  931. package/json-schema/kernel/DependencyGraphNode.json +2 -2
  932. package/json-schema/kernel/DependencyResolutionResult.json +2 -2
  933. package/json-schema/kernel/DeprecationNotice.json +2 -2
  934. package/json-schema/kernel/DevFixtureConfig.json +2 -2
  935. package/json-schema/kernel/DevPluginConfig.json +2 -2
  936. package/json-schema/kernel/DevPluginPreset.json +2 -2
  937. package/json-schema/kernel/DevServiceOverride.json +2 -2
  938. package/json-schema/kernel/DevToolsConfig.json +2 -2
  939. package/json-schema/kernel/DisablePackageRequest.json +2 -2
  940. package/json-schema/kernel/DisablePackageResponse.json +2 -2
  941. package/json-schema/kernel/DistributedStateConfig.json +2 -2
  942. package/json-schema/kernel/DynamicLoadRequest.json +2 -2
  943. package/json-schema/kernel/DynamicLoadingConfig.json +2 -2
  944. package/json-schema/kernel/DynamicPluginOperation.json +2 -2
  945. package/json-schema/kernel/DynamicPluginResult.json +2 -2
  946. package/json-schema/kernel/DynamicUnloadRequest.json +2 -2
  947. package/json-schema/kernel/EnablePackageRequest.json +2 -2
  948. package/json-schema/kernel/EnablePackageResponse.json +2 -2
  949. package/json-schema/kernel/Event.json +2 -2
  950. package/json-schema/kernel/EventBusConfig.json +2 -2
  951. package/json-schema/kernel/EventHandler.json +2 -2
  952. package/json-schema/kernel/EventLogEntry.json +2 -2
  953. package/json-schema/kernel/EventMessageQueueConfig.json +2 -2
  954. package/json-schema/kernel/EventMetadata.json +2 -2
  955. package/json-schema/kernel/EventPersistence.json +2 -2
  956. package/json-schema/kernel/EventPhase.json +2 -2
  957. package/json-schema/kernel/EventPriority.json +2 -2
  958. package/json-schema/kernel/EventQueueConfig.json +2 -2
  959. package/json-schema/kernel/EventReplayConfig.json +2 -2
  960. package/json-schema/kernel/EventRoute.json +2 -2
  961. package/json-schema/kernel/EventSourcingConfig.json +2 -2
  962. package/json-schema/kernel/EventTypeDefinition.json +2 -2
  963. package/json-schema/kernel/EventWebhookConfig.json +2 -2
  964. package/json-schema/kernel/ExecutionContext.json +2 -2
  965. package/json-schema/kernel/ExtensionPoint.json +2 -2
  966. package/json-schema/kernel/FeatureFlag.json +2 -2
  967. package/json-schema/kernel/FeatureStrategy.json +2 -2
  968. package/json-schema/kernel/FieldChange.json +2 -2
  969. package/json-schema/kernel/GetPackageRequest.json +2 -2
  970. package/json-schema/kernel/GetPackageResponse.json +2 -2
  971. package/json-schema/kernel/GracefulDegradation.json +2 -2
  972. package/json-schema/kernel/HealthStatus.json +2 -2
  973. package/json-schema/kernel/HookRegisteredEvent.json +2 -2
  974. package/json-schema/kernel/HookTriggeredEvent.json +2 -2
  975. package/json-schema/kernel/HotReloadConfig.json +2 -2
  976. package/json-schema/kernel/InstallPackageRequest.json +2 -2
  977. package/json-schema/kernel/InstallPackageResponse.json +2 -2
  978. package/json-schema/kernel/InstalledPackage.json +2 -2
  979. package/json-schema/kernel/KernelContext.json +2 -2
  980. package/json-schema/kernel/KernelEventBase.json +2 -2
  981. package/json-schema/kernel/KernelReadyEvent.json +2 -2
  982. package/json-schema/kernel/KernelSecurityPolicy.json +2 -2
  983. package/json-schema/kernel/KernelSecurityScanResult.json +2 -2
  984. package/json-schema/kernel/KernelSecurityVulnerability.json +2 -2
  985. package/json-schema/kernel/KernelShutdownEvent.json +2 -2
  986. package/json-schema/kernel/ListPackagesRequest.json +2 -2
  987. package/json-schema/kernel/ListPackagesResponse.json +2 -2
  988. package/json-schema/kernel/Manifest.json +2 -2
  989. package/json-schema/kernel/MergeConflict.json +2 -2
  990. package/json-schema/kernel/MergeResult.json +2 -2
  991. package/json-schema/kernel/MergeStrategyConfig.json +2 -2
  992. package/json-schema/kernel/MetadataBulkRegisterRequest.json +2 -2
  993. package/json-schema/kernel/MetadataBulkResult.json +2 -2
  994. package/json-schema/kernel/MetadataChangeType.json +2 -2
  995. package/json-schema/kernel/MetadataCollectionInfo.json +2 -2
  996. package/json-schema/kernel/MetadataDependency.json +2 -2
  997. package/json-schema/kernel/MetadataDiffItem.json +2 -2
  998. package/json-schema/kernel/MetadataEvent.json +2 -2
  999. package/json-schema/kernel/MetadataExportOptions.json +2 -2
  1000. package/json-schema/kernel/MetadataFallbackStrategy.json +2 -2
  1001. package/json-schema/kernel/MetadataFormat.json +2 -2
  1002. package/json-schema/kernel/MetadataImportOptions.json +2 -2
  1003. package/json-schema/kernel/MetadataLoadOptions.json +2 -2
  1004. package/json-schema/kernel/MetadataLoadResult.json +2 -2
  1005. package/json-schema/kernel/MetadataLoaderContract.json +2 -2
  1006. package/json-schema/kernel/MetadataManagerConfig.json +2 -2
  1007. package/json-schema/kernel/MetadataOverlay.json +2 -2
  1008. package/json-schema/kernel/MetadataPluginConfig.json +2 -2
  1009. package/json-schema/kernel/MetadataPluginManifest.json +2 -2
  1010. package/json-schema/kernel/MetadataQuery.json +2 -2
  1011. package/json-schema/kernel/MetadataQueryResult.json +2 -2
  1012. package/json-schema/kernel/MetadataSaveOptions.json +2 -2
  1013. package/json-schema/kernel/MetadataSaveResult.json +2 -2
  1014. package/json-schema/kernel/MetadataStats.json +2 -2
  1015. package/json-schema/kernel/MetadataType.json +2 -2
  1016. package/json-schema/kernel/MetadataTypeRegistryEntry.json +2 -2
  1017. package/json-schema/kernel/MetadataValidationResult.json +2 -2
  1018. package/json-schema/kernel/MetadataWatchEvent.json +2 -2
  1019. package/json-schema/kernel/MultiVersionSupport.json +2 -2
  1020. package/json-schema/kernel/OpsDomainModule.json +2 -2
  1021. package/json-schema/kernel/OpsFilePath.json +2 -2
  1022. package/json-schema/kernel/OpsPluginStructure.json +2 -2
  1023. package/json-schema/kernel/PackageDependency.json +2 -2
  1024. package/json-schema/kernel/PackageDependencyConflict.json +2 -2
  1025. package/json-schema/kernel/PackageDependencyResolutionResult.json +2 -2
  1026. package/json-schema/kernel/PackageStatusEnum.json +2 -2
  1027. package/json-schema/kernel/Permission.json +2 -2
  1028. package/json-schema/kernel/PermissionAction.json +2 -2
  1029. package/json-schema/kernel/PermissionScope.json +2 -2
  1030. package/json-schema/kernel/PermissionSet.json +2 -2
  1031. package/json-schema/kernel/PluginCaching.json +2 -2
  1032. package/json-schema/kernel/PluginCapability.json +2 -2
  1033. package/json-schema/kernel/PluginCapabilityManifest.json +2 -2
  1034. package/json-schema/kernel/PluginCodeSplitting.json +2 -2
  1035. package/json-schema/kernel/PluginCompatibilityMatrix.json +2 -2
  1036. package/json-schema/kernel/PluginDependency.json +2 -2
  1037. package/json-schema/kernel/PluginDependencyResolution.json +2 -2
  1038. package/json-schema/kernel/PluginDiscoveryConfig.json +2 -2
  1039. package/json-schema/kernel/PluginDiscoverySource.json +2 -2
  1040. package/json-schema/kernel/PluginDynamicImport.json +2 -2
  1041. package/json-schema/kernel/PluginErrorEvent.json +2 -2
  1042. package/json-schema/kernel/PluginEventBase.json +2 -2
  1043. package/json-schema/kernel/PluginHealthCheck.json +2 -2
  1044. package/json-schema/kernel/PluginHealthReport.json +2 -2
  1045. package/json-schema/kernel/PluginHealthStatus.json +2 -2
  1046. package/json-schema/kernel/PluginHotReload.json +2 -2
  1047. package/json-schema/kernel/PluginInitialization.json +2 -2
  1048. package/json-schema/kernel/PluginInstallConfig.json +2 -2
  1049. package/json-schema/kernel/PluginInterface.json +2 -2
  1050. package/json-schema/kernel/PluginLifecycleEventType.json +2 -2
  1051. package/json-schema/kernel/PluginLifecyclePhaseEvent.json +2 -2
  1052. package/json-schema/kernel/PluginLoadingConfig.json +2 -2
  1053. package/json-schema/kernel/PluginLoadingEvent.json +2 -2
  1054. package/json-schema/kernel/PluginLoadingState.json +2 -2
  1055. package/json-schema/kernel/PluginLoadingStrategy.json +2 -2
  1056. package/json-schema/kernel/PluginMetadata.json +2 -2
  1057. package/json-schema/kernel/PluginPerformanceMonitoring.json +2 -2
  1058. package/json-schema/kernel/PluginPreloadConfig.json +2 -2
  1059. package/json-schema/kernel/PluginProvenance.json +2 -2
  1060. package/json-schema/kernel/PluginQualityMetrics.json +2 -2
  1061. package/json-schema/kernel/PluginRegisteredEvent.json +2 -2
  1062. package/json-schema/kernel/PluginRegistryEntry.json +2 -2
  1063. package/json-schema/kernel/PluginSandboxing.json +2 -2
  1064. package/json-schema/kernel/PluginSearchFilters.json +2 -2
  1065. package/json-schema/kernel/PluginSecurityManifest.json +2 -2
  1066. package/json-schema/kernel/PluginSource.json +2 -2
  1067. package/json-schema/kernel/PluginStartupResult.json +2 -2
  1068. package/json-schema/kernel/PluginStateSnapshot.json +2 -2
  1069. package/json-schema/kernel/PluginStatistics.json +2 -2
  1070. package/json-schema/kernel/PluginTrustLevel.json +2 -2
  1071. package/json-schema/kernel/PluginTrustScore.json +2 -2
  1072. package/json-schema/kernel/PluginUpdateStrategy.json +2 -2
  1073. package/json-schema/kernel/PluginVendor.json +2 -2
  1074. package/json-schema/kernel/PluginVersionMetadata.json +2 -2
  1075. package/json-schema/kernel/PreviewModeConfig.json +2 -2
  1076. package/json-schema/kernel/ProtocolFeature.json +2 -2
  1077. package/json-schema/kernel/ProtocolReference.json +2 -2
  1078. package/json-schema/kernel/ProtocolVersion.json +2 -2
  1079. package/json-schema/kernel/RealTimeNotificationConfig.json +2 -2
  1080. package/json-schema/kernel/ResourceType.json +2 -2
  1081. package/json-schema/kernel/RollbackPackageRequest.json +2 -2
  1082. package/json-schema/kernel/RollbackPackageResponse.json +2 -2
  1083. package/json-schema/kernel/RuntimeConfig.json +2 -2
  1084. package/json-schema/kernel/RuntimeMode.json +2 -2
  1085. package/json-schema/kernel/SBOM.json +2 -2
  1086. package/json-schema/kernel/SBOMEntry.json +2 -2
  1087. package/json-schema/kernel/SandboxConfig.json +2 -2
  1088. package/json-schema/kernel/ScopeConfig.json +2 -2
  1089. package/json-schema/kernel/ScopeInfo.json +2 -2
  1090. package/json-schema/kernel/SecurityPolicy.json +2 -2
  1091. package/json-schema/kernel/SecurityScanResult.json +2 -2
  1092. package/json-schema/kernel/SecurityVulnerability.json +2 -2
  1093. package/json-schema/kernel/SemanticVersion.json +2 -2
  1094. package/json-schema/kernel/ServiceFactoryRegistration.json +2 -2
  1095. package/json-schema/kernel/ServiceMetadata.json +2 -2
  1096. package/json-schema/kernel/ServiceRegisteredEvent.json +2 -2
  1097. package/json-schema/kernel/ServiceRegistryConfig.json +2 -2
  1098. package/json-schema/kernel/ServiceScopeType.json +2 -2
  1099. package/json-schema/kernel/ServiceUnregisteredEvent.json +2 -2
  1100. package/json-schema/kernel/StartupOptions.json +2 -2
  1101. package/json-schema/kernel/StartupOrchestrationResult.json +2 -2
  1102. package/json-schema/kernel/UninstallPackageRequest.json +2 -2
  1103. package/json-schema/kernel/UninstallPackageResponse.json +2 -2
  1104. package/json-schema/kernel/UpgradeImpactLevel.json +2 -2
  1105. package/json-schema/kernel/UpgradePackageRequest.json +2 -2
  1106. package/json-schema/kernel/UpgradePackageResponse.json +2 -2
  1107. package/json-schema/kernel/UpgradePhase.json +2 -2
  1108. package/json-schema/kernel/UpgradePlan.json +2 -2
  1109. package/json-schema/kernel/UpgradeSnapshot.json +2 -2
  1110. package/json-schema/kernel/ValidationError.json +2 -2
  1111. package/json-schema/kernel/ValidationResult.json +2 -2
  1112. package/json-schema/kernel/ValidationWarning.json +2 -2
  1113. package/json-schema/kernel/VersionConstraint.json +2 -2
  1114. package/json-schema/kernel/VulnerabilitySeverity.json +2 -2
  1115. package/json-schema/objectstack.json +4978 -2998
  1116. package/json-schema/openapi.json +1 -1
  1117. package/json-schema/qa/TestAction.json +2 -2
  1118. package/json-schema/qa/TestActionType.json +2 -2
  1119. package/json-schema/qa/TestAssertion.json +2 -2
  1120. package/json-schema/qa/TestAssertionType.json +2 -2
  1121. package/json-schema/qa/TestContext.json +2 -2
  1122. package/json-schema/qa/TestScenario.json +2 -2
  1123. package/json-schema/qa/TestStep.json +2 -2
  1124. package/json-schema/qa/TestSuite.json +2 -2
  1125. package/json-schema/security/AuditPolicy.json +2 -2
  1126. package/json-schema/security/CriteriaSharingRule.json +2 -2
  1127. package/json-schema/security/FieldPermission.json +2 -2
  1128. package/json-schema/security/NetworkPolicy.json +2 -2
  1129. package/json-schema/security/OWDModel.json +2 -2
  1130. package/json-schema/security/ObjectPermission.json +2 -2
  1131. package/json-schema/security/OwnerSharingRule.json +2 -2
  1132. package/json-schema/security/PasswordPolicy.json +2 -2
  1133. package/json-schema/security/PermissionSet.json +2 -2
  1134. package/json-schema/security/Policy.json +2 -2
  1135. package/json-schema/security/RLSAuditConfig.json +2 -2
  1136. package/json-schema/security/RLSAuditEvent.json +2 -2
  1137. package/json-schema/security/RLSConfig.json +2 -2
  1138. package/json-schema/security/RLSEvaluationResult.json +2 -2
  1139. package/json-schema/security/RLSOperation.json +2 -2
  1140. package/json-schema/security/RLSUserContext.json +2 -2
  1141. package/json-schema/security/RowLevelSecurityPolicy.json +2 -2
  1142. package/json-schema/security/SessionPolicy.json +2 -2
  1143. package/json-schema/security/ShareRecipientType.json +2 -2
  1144. package/json-schema/security/SharingLevel.json +2 -2
  1145. package/json-schema/security/SharingRule.json +2 -2
  1146. package/json-schema/security/SharingRuleType.json +2 -2
  1147. package/json-schema/security/Territory.json +2 -2
  1148. package/json-schema/security/TerritoryModel.json +2 -2
  1149. package/json-schema/security/TerritoryType.json +2 -2
  1150. package/json-schema/shared/AggregationFunctionEnum.json +2 -2
  1151. package/json-schema/shared/AppName.json +2 -2
  1152. package/json-schema/shared/BaseMetadataRecord.json +2 -2
  1153. package/json-schema/shared/CacheStrategyEnum.json +2 -2
  1154. package/json-schema/shared/CorsConfig.json +2 -2
  1155. package/json-schema/shared/EventName.json +2 -2
  1156. package/json-schema/shared/FieldMapping.json +2 -2
  1157. package/json-schema/shared/FieldName.json +2 -2
  1158. package/json-schema/shared/FlowName.json +2 -2
  1159. package/json-schema/shared/HttpMethod.json +2 -2
  1160. package/json-schema/shared/IsolationLevelEnum.json +2 -2
  1161. package/json-schema/shared/MetadataFormat.json +2 -2
  1162. package/json-schema/shared/MutationEventEnum.json +2 -2
  1163. package/json-schema/shared/ObjectName.json +2 -2
  1164. package/json-schema/shared/RateLimitConfig.json +2 -2
  1165. package/json-schema/shared/RoleName.json +2 -2
  1166. package/json-schema/shared/SnakeCaseIdentifier.json +2 -2
  1167. package/json-schema/shared/SortDirectionEnum.json +2 -2
  1168. package/json-schema/shared/StaticMount.json +2 -2
  1169. package/json-schema/shared/SystemIdentifier.json +2 -2
  1170. package/json-schema/shared/TransformType.json +2 -2
  1171. package/json-schema/shared/ViewName.json +2 -2
  1172. package/json-schema/studio/ActionContribution.json +2 -2
  1173. package/json-schema/studio/ActionLocation.json +2 -2
  1174. package/json-schema/studio/ActivationEvent.json +2 -2
  1175. package/json-schema/studio/CommandContribution.json +2 -2
  1176. package/json-schema/studio/ERDiagramConfig.json +167 -0
  1177. package/json-schema/studio/ERLayoutAlgorithm.json +13 -0
  1178. package/json-schema/studio/ERNodeDisplay.json +53 -0
  1179. package/json-schema/studio/FieldEditorConfig.json +170 -0
  1180. package/json-schema/studio/FieldGroup.json +37 -0
  1181. package/json-schema/studio/FieldPropertySection.json +37 -0
  1182. package/json-schema/studio/MetadataIconContribution.json +2 -2
  1183. package/json-schema/studio/MetadataViewerContribution.json +2 -2
  1184. package/json-schema/studio/ObjectDesignerConfig.json +902 -0
  1185. package/json-schema/studio/ObjectDesignerDefaultView.json +13 -0
  1186. package/json-schema/studio/ObjectFilter.json +46 -0
  1187. package/json-schema/studio/ObjectListDisplayMode.json +12 -0
  1188. package/json-schema/studio/ObjectManagerConfig.json +135 -0
  1189. package/json-schema/studio/ObjectPreviewConfig.json +126 -0
  1190. package/json-schema/studio/ObjectPreviewTab.json +37 -0
  1191. package/json-schema/studio/ObjectSortField.json +13 -0
  1192. package/json-schema/studio/PanelContribution.json +2 -2
  1193. package/json-schema/studio/PanelLocation.json +2 -2
  1194. package/json-schema/studio/RelationshipDisplay.json +50 -0
  1195. package/json-schema/studio/RelationshipMapperConfig.json +104 -0
  1196. package/json-schema/studio/SidebarGroupContribution.json +2 -2
  1197. package/json-schema/studio/StudioPluginContributions.json +2 -2
  1198. package/json-schema/studio/StudioPluginManifest.json +2 -2
  1199. package/json-schema/studio/ViewMode.json +2 -2
  1200. package/json-schema/system/AccessControlConfig.json +2 -2
  1201. package/json-schema/system/AddFieldOperation.json +8 -5
  1202. package/json-schema/system/AnalyzerConfig.json +2 -2
  1203. package/json-schema/system/AuditConfig.json +2 -2
  1204. package/json-schema/system/AuditEvent.json +2 -2
  1205. package/json-schema/system/AuditEventActor.json +2 -2
  1206. package/json-schema/system/AuditEventChange.json +2 -2
  1207. package/json-schema/system/AuditEventFilter.json +2 -2
  1208. package/json-schema/system/AuditEventSeverity.json +2 -2
  1209. package/json-schema/system/AuditEventTarget.json +2 -2
  1210. package/json-schema/system/AuditEventType.json +2 -2
  1211. package/json-schema/system/AuditLogConfig.json +2 -2
  1212. package/json-schema/system/AuditRetentionPolicy.json +2 -2
  1213. package/json-schema/system/AuditStorageConfig.json +2 -2
  1214. package/json-schema/system/AuthConfig.json +2 -2
  1215. package/json-schema/system/AuthPluginConfig.json +2 -2
  1216. package/json-schema/system/AuthProviderConfig.json +2 -2
  1217. package/json-schema/system/AwarenessEvent.json +2 -2
  1218. package/json-schema/system/AwarenessSession.json +2 -2
  1219. package/json-schema/system/AwarenessUpdate.json +2 -2
  1220. package/json-schema/system/AwarenessUserState.json +2 -2
  1221. package/json-schema/system/BackupConfig.json +2 -2
  1222. package/json-schema/system/BackupRetention.json +2 -2
  1223. package/json-schema/system/BackupStrategy.json +2 -2
  1224. package/json-schema/system/BatchProgress.json +2 -2
  1225. package/json-schema/system/BucketConfig.json +2 -2
  1226. package/json-schema/system/CRDTMergeResult.json +2 -2
  1227. package/json-schema/system/CRDTState.json +2 -2
  1228. package/json-schema/system/CRDTType.json +2 -2
  1229. package/json-schema/system/CacheAvalanchePrevention.json +2 -2
  1230. package/json-schema/system/CacheConfig.json +2 -2
  1231. package/json-schema/system/CacheConsistency.json +2 -2
  1232. package/json-schema/system/CacheInvalidation.json +2 -2
  1233. package/json-schema/system/CacheStrategy.json +2 -2
  1234. package/json-schema/system/CacheTier.json +2 -2
  1235. package/json-schema/system/CacheWarmup.json +2 -2
  1236. package/json-schema/system/ChangeImpact.json +2 -2
  1237. package/json-schema/system/ChangePriority.json +2 -2
  1238. package/json-schema/system/ChangeRequest.json +2 -2
  1239. package/json-schema/system/ChangeSet.json +26 -14
  1240. package/json-schema/system/ChangeStatus.json +2 -2
  1241. package/json-schema/system/ChangeType.json +2 -2
  1242. package/json-schema/system/CollaborationMode.json +2 -2
  1243. package/json-schema/system/CollaborationSession.json +2 -2
  1244. package/json-schema/system/CollaborationSessionConfig.json +2 -2
  1245. package/json-schema/system/CollaborativeCursor.json +2 -2
  1246. package/json-schema/system/ComplianceAuditRequirement.json +2 -2
  1247. package/json-schema/system/ComplianceConfig.json +2 -2
  1248. package/json-schema/system/ComplianceEncryptionRequirement.json +2 -2
  1249. package/json-schema/system/ConsoleDestinationConfig.json +2 -2
  1250. package/json-schema/system/ConsumerConfig.json +2 -2
  1251. package/json-schema/system/CoreServiceName.json +2 -2
  1252. package/json-schema/system/CounterOperation.json +2 -2
  1253. package/json-schema/system/CreateObjectOperation.json +8 -5
  1254. package/json-schema/system/CronSchedule.json +2 -2
  1255. package/json-schema/system/CursorColorPreset.json +2 -2
  1256. package/json-schema/system/CursorSelection.json +2 -2
  1257. package/json-schema/system/CursorStyle.json +2 -2
  1258. package/json-schema/system/CursorUpdate.json +2 -2
  1259. package/json-schema/system/DataClassificationPolicy.json +2 -2
  1260. package/json-schema/system/DatabaseLevelIsolationStrategy.json +2 -2
  1261. package/json-schema/system/DeadLetterQueue.json +2 -2
  1262. package/json-schema/system/DeleteObjectOperation.json +2 -2
  1263. package/json-schema/system/DisasterRecoveryPlan.json +2 -2
  1264. package/json-schema/system/DistributedCacheConfig.json +2 -2
  1265. package/json-schema/system/EmailTemplate.json +2 -2
  1266. package/json-schema/system/EncryptionAlgorithm.json +2 -2
  1267. package/json-schema/system/EncryptionConfig.json +2 -2
  1268. package/json-schema/system/ExecuteSqlOperation.json +2 -2
  1269. package/json-schema/system/ExtendedLogLevel.json +2 -2
  1270. package/json-schema/system/ExternalServiceDestinationConfig.json +2 -2
  1271. package/json-schema/system/FacetConfig.json +2 -2
  1272. package/json-schema/system/FailoverConfig.json +2 -2
  1273. package/json-schema/system/FailoverMode.json +2 -2
  1274. package/json-schema/system/Feature.json +2 -2
  1275. package/json-schema/system/FieldEncryption.json +2 -2
  1276. package/json-schema/system/FieldTranslation.json +2 -2
  1277. package/json-schema/system/FileDestinationConfig.json +2 -2
  1278. package/json-schema/system/FileMetadata.json +2 -2
  1279. package/json-schema/system/GCounter.json +2 -2
  1280. package/json-schema/system/GDPRConfig.json +2 -2
  1281. package/json-schema/system/HIPAAConfig.json +2 -2
  1282. package/json-schema/system/HistogramBucketConfig.json +2 -2
  1283. package/json-schema/system/HttpDestinationConfig.json +2 -2
  1284. package/json-schema/system/HttpServerConfig.json +2 -2
  1285. package/json-schema/system/InAppNotification.json +2 -2
  1286. package/json-schema/system/IntervalSchedule.json +2 -2
  1287. package/json-schema/system/Job.json +2 -2
  1288. package/json-schema/system/JobExecution.json +2 -2
  1289. package/json-schema/system/JobExecutionStatus.json +2 -2
  1290. package/json-schema/system/KernelServiceMap.json +2 -2
  1291. package/json-schema/system/KeyManagementProvider.json +2 -2
  1292. package/json-schema/system/KeyRotationPolicy.json +2 -2
  1293. package/json-schema/system/LWWRegister.json +2 -2
  1294. package/json-schema/system/LevelIsolationStrategySchema.json +2 -2
  1295. package/json-schema/system/License.json +2 -2
  1296. package/json-schema/system/LicenseMetricType.json +2 -2
  1297. package/json-schema/system/LifecycleAction.json +2 -2
  1298. package/json-schema/system/LifecyclePolicyConfig.json +2 -2
  1299. package/json-schema/system/LifecyclePolicyRule.json +2 -2
  1300. package/json-schema/system/Locale.json +2 -2
  1301. package/json-schema/system/LogDestination.json +2 -2
  1302. package/json-schema/system/LogDestinationType.json +2 -2
  1303. package/json-schema/system/LogEnrichmentConfig.json +2 -2
  1304. package/json-schema/system/LogEntry.json +2 -2
  1305. package/json-schema/system/LogFormat.json +2 -2
  1306. package/json-schema/system/LogLevel.json +2 -2
  1307. package/json-schema/system/LoggerConfig.json +2 -2
  1308. package/json-schema/system/LoggingConfig.json +2 -2
  1309. package/json-schema/system/MaskingConfig.json +2 -2
  1310. package/json-schema/system/MaskingRule.json +2 -2
  1311. package/json-schema/system/MaskingStrategy.json +2 -2
  1312. package/json-schema/system/MaskingVisibilityRule.json +2 -2
  1313. package/json-schema/system/MessageQueueConfig.json +2 -2
  1314. package/json-schema/system/MessageQueueProvider.json +2 -2
  1315. package/json-schema/system/MetadataCollectionInfo.json +2 -2
  1316. package/json-schema/system/MetadataExportOptions.json +2 -2
  1317. package/json-schema/system/MetadataFallbackStrategy.json +2 -2
  1318. package/json-schema/system/MetadataFormat.json +2 -2
  1319. package/json-schema/system/MetadataImportOptions.json +2 -2
  1320. package/json-schema/system/MetadataLoadOptions.json +2 -2
  1321. package/json-schema/system/MetadataLoadResult.json +2 -2
  1322. package/json-schema/system/MetadataLoaderContract.json +2 -2
  1323. package/json-schema/system/MetadataManagerConfig.json +2 -2
  1324. package/json-schema/system/MetadataRecord.json +2 -2
  1325. package/json-schema/system/MetadataSaveOptions.json +2 -2
  1326. package/json-schema/system/MetadataSaveResult.json +2 -2
  1327. package/json-schema/system/MetadataScope.json +2 -2
  1328. package/json-schema/system/MetadataSource.json +2 -2
  1329. package/json-schema/system/MetadataState.json +2 -2
  1330. package/json-schema/system/MetadataStats.json +2 -2
  1331. package/json-schema/system/MetadataWatchEvent.json +2 -2
  1332. package/json-schema/system/MetricAggregationConfig.json +2 -2
  1333. package/json-schema/system/MetricAggregationType.json +2 -2
  1334. package/json-schema/system/MetricDataPoint.json +2 -2
  1335. package/json-schema/system/MetricDefinition.json +2 -2
  1336. package/json-schema/system/MetricExportConfig.json +2 -2
  1337. package/json-schema/system/MetricLabels.json +2 -2
  1338. package/json-schema/system/MetricType.json +2 -2
  1339. package/json-schema/system/MetricUnit.json +2 -2
  1340. package/json-schema/system/MetricsConfig.json +2 -2
  1341. package/json-schema/system/MiddlewareConfig.json +2 -2
  1342. package/json-schema/system/MiddlewareType.json +2 -2
  1343. package/json-schema/system/MigrationDependency.json +2 -2
  1344. package/json-schema/system/MigrationOperation.json +14 -8
  1345. package/json-schema/system/ModifyFieldOperation.json +2 -2
  1346. package/json-schema/system/MultipartUploadConfig.json +2 -2
  1347. package/json-schema/system/MutualTLSConfig.json +2 -2
  1348. package/json-schema/system/NotificationChannel.json +2 -2
  1349. package/json-schema/system/NotificationConfig.json +2 -2
  1350. package/json-schema/system/ORSet.json +2 -2
  1351. package/json-schema/system/ORSetElement.json +2 -2
  1352. package/json-schema/system/OTComponent.json +2 -2
  1353. package/json-schema/system/OTOperation.json +2 -2
  1354. package/json-schema/system/OTOperationType.json +2 -2
  1355. package/json-schema/system/OTTransformResult.json +2 -2
  1356. package/json-schema/system/ObjectMetadata.json +2 -2
  1357. package/json-schema/system/ObjectStorageConfig.json +2 -2
  1358. package/json-schema/system/ObjectTranslationData.json +2 -2
  1359. package/json-schema/system/OnceSchedule.json +2 -2
  1360. package/json-schema/system/OpenTelemetryCompatibility.json +2 -2
  1361. package/json-schema/system/OtelExporterType.json +2 -2
  1362. package/json-schema/system/PCIDSSConfig.json +2 -2
  1363. package/json-schema/system/PNCounter.json +2 -2
  1364. package/json-schema/system/Plan.json +2 -2
  1365. package/json-schema/system/PresignedUrlConfig.json +2 -2
  1366. package/json-schema/system/PushNotification.json +2 -2
  1367. package/json-schema/system/QueueConfig.json +2 -2
  1368. package/json-schema/system/RPO.json +2 -2
  1369. package/json-schema/system/RTO.json +2 -2
  1370. package/json-schema/system/RegistryConfig.json +2 -2
  1371. package/json-schema/system/RegistrySyncPolicy.json +2 -2
  1372. package/json-schema/system/RegistryUpstream.json +2 -2
  1373. package/json-schema/system/RemoveFieldOperation.json +2 -2
  1374. package/json-schema/system/RenameObjectOperation.json +2 -2
  1375. package/json-schema/system/RetryPolicy.json +2 -2
  1376. package/json-schema/system/RollbackPlan.json +2 -2
  1377. package/json-schema/system/RouteHandlerMetadata.json +2 -2
  1378. package/json-schema/system/RowLevelIsolationStrategy.json +2 -2
  1379. package/json-schema/system/SMSTemplate.json +2 -2
  1380. package/json-schema/system/SamplingDecision.json +2 -2
  1381. package/json-schema/system/SamplingStrategyType.json +2 -2
  1382. package/json-schema/system/Schedule.json +2 -2
  1383. package/json-schema/system/SearchConfig.json +2 -2
  1384. package/json-schema/system/SearchIndexConfig.json +2 -2
  1385. package/json-schema/system/SearchProvider.json +2 -2
  1386. package/json-schema/system/SecurityContextConfig.json +2 -2
  1387. package/json-schema/system/SecurityEventCorrelation.json +2 -2
  1388. package/json-schema/system/ServerCapabilities.json +2 -2
  1389. package/json-schema/system/ServerEvent.json +2 -2
  1390. package/json-schema/system/ServerEventType.json +2 -2
  1391. package/json-schema/system/ServerStatus.json +2 -2
  1392. package/json-schema/system/ServiceConfig.json +2 -2
  1393. package/json-schema/system/ServiceCriticality.json +2 -2
  1394. package/json-schema/system/ServiceLevelIndicator.json +2 -2
  1395. package/json-schema/system/ServiceLevelObjective.json +2 -2
  1396. package/json-schema/system/ServiceStatus.json +2 -2
  1397. package/json-schema/system/Span.json +2 -2
  1398. package/json-schema/system/SpanAttributeValue.json +2 -2
  1399. package/json-schema/system/SpanAttributes.json +2 -2
  1400. package/json-schema/system/SpanEvent.json +2 -2
  1401. package/json-schema/system/SpanKind.json +2 -2
  1402. package/json-schema/system/SpanLink.json +2 -2
  1403. package/json-schema/system/SpanStatus.json +2 -2
  1404. package/json-schema/system/StorageAcl.json +2 -2
  1405. package/json-schema/system/StorageClass.json +2 -2
  1406. package/json-schema/system/StorageConnection.json +2 -2
  1407. package/json-schema/system/StorageProvider.json +2 -2
  1408. package/json-schema/system/StorageScope.json +2 -2
  1409. package/json-schema/system/StructuredLogEntry.json +2 -2
  1410. package/json-schema/system/SuspiciousActivityRule.json +2 -2
  1411. package/json-schema/system/Task.json +2 -2
  1412. package/json-schema/system/TaskExecutionResult.json +2 -2
  1413. package/json-schema/system/TaskPriority.json +2 -2
  1414. package/json-schema/system/TaskRetryPolicy.json +2 -2
  1415. package/json-schema/system/TaskStatus.json +2 -2
  1416. package/json-schema/system/Tenant.json +2 -2
  1417. package/json-schema/system/TenantIsolationConfig.json +2 -2
  1418. package/json-schema/system/TenantIsolationLevel.json +2 -2
  1419. package/json-schema/system/TenantQuota.json +2 -2
  1420. package/json-schema/system/TenantSecurityPolicy.json +2 -2
  1421. package/json-schema/system/TextCRDTOperation.json +2 -2
  1422. package/json-schema/system/TextCRDTState.json +2 -2
  1423. package/json-schema/system/TimeSeries.json +2 -2
  1424. package/json-schema/system/TimeSeriesDataPoint.json +2 -2
  1425. package/json-schema/system/TopicConfig.json +2 -2
  1426. package/json-schema/system/TraceContext.json +2 -2
  1427. package/json-schema/system/TraceContextPropagation.json +2 -2
  1428. package/json-schema/system/TraceFlags.json +2 -2
  1429. package/json-schema/system/TracePropagationFormat.json +2 -2
  1430. package/json-schema/system/TraceSamplingConfig.json +2 -2
  1431. package/json-schema/system/TraceState.json +2 -2
  1432. package/json-schema/system/TracingConfig.json +2 -2
  1433. package/json-schema/system/TranslationBundle.json +2 -2
  1434. package/json-schema/system/TranslationConfig.json +2 -2
  1435. package/json-schema/system/TranslationData.json +2 -2
  1436. package/json-schema/system/TranslationFileOrganization.json +2 -2
  1437. package/json-schema/system/UserActivityStatus.json +2 -2
  1438. package/json-schema/system/VectorClock.json +2 -2
  1439. package/json-schema/system/WorkerStats.json +2 -2
  1440. package/json-schema/ui/AIChatWindowProps.json +2 -2
  1441. package/json-schema/ui/Action.json +2 -2
  1442. package/json-schema/ui/ActionParam.json +2 -2
  1443. package/json-schema/ui/Animation.json +2 -2
  1444. package/json-schema/ui/AnimationTrigger.json +2 -2
  1445. package/json-schema/ui/App.json +2 -2
  1446. package/json-schema/ui/AppBranding.json +2 -2
  1447. package/json-schema/ui/AriaProps.json +2 -2
  1448. package/json-schema/ui/BorderRadius.json +2 -2
  1449. package/json-schema/ui/BreakpointColumnMap.json +2 -2
  1450. package/json-schema/ui/BreakpointName.json +2 -2
  1451. package/json-schema/ui/BreakpointOrderMap.json +2 -2
  1452. package/json-schema/ui/Breakpoints.json +2 -2
  1453. package/json-schema/ui/CalendarConfig.json +2 -2
  1454. package/json-schema/ui/ChartAnnotation.json +2 -2
  1455. package/json-schema/ui/ChartAxis.json +2 -2
  1456. package/json-schema/ui/ChartConfig.json +2 -2
  1457. package/json-schema/ui/ChartInteraction.json +2 -2
  1458. package/json-schema/ui/ChartSeries.json +2 -2
  1459. package/json-schema/ui/ChartType.json +2 -2
  1460. package/json-schema/ui/ColorPalette.json +2 -2
  1461. package/json-schema/ui/ColumnSummary.json +2 -2
  1462. package/json-schema/ui/ComponentAnimation.json +2 -2
  1463. package/json-schema/ui/ConflictResolution.json +2 -2
  1464. package/json-schema/ui/Dashboard.json +2 -2
  1465. package/json-schema/ui/DashboardNavItem.json +2 -2
  1466. package/json-schema/ui/DashboardWidget.json +2 -2
  1467. package/json-schema/ui/DateFormat.json +2 -2
  1468. package/json-schema/ui/DensityMode.json +2 -2
  1469. package/json-schema/ui/DndConfig.json +2 -2
  1470. package/json-schema/ui/DragConstraint.json +2 -2
  1471. package/json-schema/ui/DragHandle.json +2 -2
  1472. package/json-schema/ui/DragItem.json +2 -2
  1473. package/json-schema/ui/DropEffect.json +2 -2
  1474. package/json-schema/ui/DropZone.json +2 -2
  1475. package/json-schema/ui/EasingFunction.json +2 -2
  1476. package/json-schema/ui/EvictionPolicy.json +2 -2
  1477. package/json-schema/ui/FocusManagement.json +2 -2
  1478. package/json-schema/ui/FocusTrapConfig.json +2 -2
  1479. package/json-schema/ui/FormField.json +2 -2
  1480. package/json-schema/ui/GalleryConfig.json +2 -2
  1481. package/json-schema/ui/GanttConfig.json +2 -2
  1482. package/json-schema/ui/GestureConfig.json +2 -2
  1483. package/json-schema/ui/GestureType.json +2 -2
  1484. package/json-schema/ui/GroupNavItem.json +2 -2
  1485. package/json-schema/ui/GroupingConfig.json +2 -2
  1486. package/json-schema/ui/GroupingField.json +2 -2
  1487. package/json-schema/ui/HttpMethod.json +2 -2
  1488. package/json-schema/ui/HttpRequest.json +2 -2
  1489. package/json-schema/ui/I18nLabel.json +2 -2
  1490. package/json-schema/ui/I18nObject.json +2 -2
  1491. package/json-schema/ui/KanbanConfig.json +2 -2
  1492. package/json-schema/ui/KeyboardNavigationConfig.json +2 -2
  1493. package/json-schema/ui/KeyboardShortcut.json +2 -2
  1494. package/json-schema/ui/ListColumn.json +2 -2
  1495. package/json-schema/ui/ListView.json +2 -2
  1496. package/json-schema/ui/LocaleConfig.json +2 -2
  1497. package/json-schema/ui/LongPressGestureConfig.json +2 -2
  1498. package/json-schema/ui/MotionConfig.json +2 -2
  1499. package/json-schema/ui/NavigationConfig.json +2 -2
  1500. package/json-schema/ui/NavigationItem.json +2 -2
  1501. package/json-schema/ui/NavigationMode.json +2 -2
  1502. package/json-schema/ui/Notification.json +2 -2
  1503. package/json-schema/ui/NotificationAction.json +2 -2
  1504. package/json-schema/ui/NotificationConfig.json +2 -2
  1505. package/json-schema/ui/NotificationPosition.json +2 -2
  1506. package/json-schema/ui/NotificationSeverity.json +2 -2
  1507. package/json-schema/ui/NotificationType.json +2 -2
  1508. package/json-schema/ui/NumberFormat.json +2 -2
  1509. package/json-schema/ui/ObjectNavItem.json +2 -2
  1510. package/json-schema/ui/OfflineCacheConfig.json +2 -2
  1511. package/json-schema/ui/OfflineConfig.json +2 -2
  1512. package/json-schema/ui/OfflineStrategy.json +2 -2
  1513. package/json-schema/ui/Page.json +2 -2
  1514. package/json-schema/ui/PageAccordionProps.json +2 -2
  1515. package/json-schema/ui/PageCardProps.json +2 -2
  1516. package/json-schema/ui/PageComponent.json +2 -2
  1517. package/json-schema/ui/PageComponentType.json +2 -2
  1518. package/json-schema/ui/PageHeaderProps.json +2 -2
  1519. package/json-schema/ui/PageNavItem.json +2 -2
  1520. package/json-schema/ui/PageRegion.json +2 -2
  1521. package/json-schema/ui/PageTabsProps.json +2 -2
  1522. package/json-schema/ui/PageTransition.json +2 -2
  1523. package/json-schema/ui/PageVariable.json +2 -2
  1524. package/json-schema/ui/PaginationConfig.json +2 -2
  1525. package/json-schema/ui/PerformanceConfig.json +2 -2
  1526. package/json-schema/ui/PersistStorage.json +2 -2
  1527. package/json-schema/ui/PinchGestureConfig.json +2 -2
  1528. package/json-schema/ui/PluralRule.json +2 -2
  1529. package/json-schema/ui/RecordActivityProps.json +2 -2
  1530. package/json-schema/ui/RecordDetailsProps.json +2 -2
  1531. package/json-schema/ui/RecordHighlightsProps.json +2 -2
  1532. package/json-schema/ui/RecordPathProps.json +2 -2
  1533. package/json-schema/ui/RecordRelatedListProps.json +2 -2
  1534. package/json-schema/ui/Report.json +2 -2
  1535. package/json-schema/ui/ReportChart.json +2 -2
  1536. package/json-schema/ui/ReportColumn.json +2 -2
  1537. package/json-schema/ui/ReportGrouping.json +2 -2
  1538. package/json-schema/ui/ReportType.json +2 -2
  1539. package/json-schema/ui/ResponsiveConfig.json +2 -2
  1540. package/json-schema/ui/RowColorConfig.json +2 -2
  1541. package/json-schema/ui/RowHeight.json +2 -2
  1542. package/json-schema/ui/SelectionConfig.json +2 -2
  1543. package/json-schema/ui/Shadow.json +2 -2
  1544. package/json-schema/ui/Spacing.json +2 -2
  1545. package/json-schema/ui/SwipeDirection.json +2 -2
  1546. package/json-schema/ui/SwipeGestureConfig.json +2 -2
  1547. package/json-schema/ui/SyncConfig.json +2 -2
  1548. package/json-schema/ui/Theme.json +2 -2
  1549. package/json-schema/ui/ThemeMode.json +2 -2
  1550. package/json-schema/ui/TimelineConfig.json +2 -2
  1551. package/json-schema/ui/TouchInteraction.json +2 -2
  1552. package/json-schema/ui/TouchTargetConfig.json +2 -2
  1553. package/json-schema/ui/TransitionConfig.json +2 -2
  1554. package/json-schema/ui/TransitionPreset.json +2 -2
  1555. package/json-schema/ui/Typography.json +2 -2
  1556. package/json-schema/ui/UrlNavItem.json +2 -2
  1557. package/json-schema/ui/ViewData.json +2 -2
  1558. package/json-schema/ui/ViewSharing.json +2 -2
  1559. package/json-schema/ui/WcagContrastLevel.json +2 -2
  1560. package/json-schema/ui/WidgetEvent.json +2 -2
  1561. package/json-schema/ui/WidgetLifecycle.json +2 -2
  1562. package/json-schema/ui/WidgetManifest.json +2 -2
  1563. package/json-schema/ui/WidgetProperty.json +2 -2
  1564. package/json-schema/ui/WidgetSource.json +2 -2
  1565. package/json-schema/ui/ZIndex.json +2 -2
  1566. package/package.json +21 -1
  1567. package/dist/index-cnIz7iRP.d.mts +0 -352
  1568. package/dist/index-cnIz7iRP.d.ts +0 -352
  1569. package/dist/{metadata-plugin.zod-TsdAQIxf.d.mts → metadata-plugin.zod-BhhsdezT.d.mts} +1 -1
  1570. package/dist/{metadata-plugin.zod-TsdAQIxf.d.ts → metadata-plugin.zod-BhhsdezT.d.ts} +1 -1
package/dist/index.d.ts CHANGED
@@ -1,3570 +1,29 @@
1
- import { z } from 'zod';
2
- import { C as CorsConfig, a as CorsConfigSchema, H as HttpMethod, R as RateLimitConfig, b as RateLimitConfigSchema, S as StaticMount, c as StaticMountSchema } from './index-DMVJlx3O.js';
3
- export { i as API } from './index-DMVJlx3O.js';
4
- export { i as Data } from './index-BqzRvWzp.js';
5
- export { i as Security } from './index-BfEDC8Lv.js';
6
- export { i as UI, a as defineApp, d as defineView } from './index-BIVsi6pD.js';
7
- export { i as System } from './index-DekIwhKw.js';
8
- export { i as Kernel, P as PluginContext } from './index-DwefKBPG.js';
9
- import { F as FilterGroup } from './index-QoFYi7l6.js';
10
- export { i as AI, d as defineAgent } from './index-QoFYi7l6.js';
11
- export { i as Automation, d as defineFlow } from './index-BX1zurbZ.js';
12
- export { i as Integration } from './index-CGz6eD3q.js';
13
- export { i as Contracts } from './index-BngR5-rO.js';
14
- export { i as Studio } from './index-cnIz7iRP.js';
15
- import { B as BaseValidationRuleShape, S as ServiceObject } from './object.zod-CxpSoqwV.js';
16
- import { S as StateNodeConfig } from './state-machine.zod-DoC0JvQb.js';
17
- import { Q as QueryAST } from './field.zod-D1NCePFb.js';
18
- import { F as FilterCondition } from './filter.zod-CtZ3VJ3e.js';
19
- import './package-registry.zod-rdVhQ23C.js';
20
- import './driver.zod-BOIvRcxq.js';
21
- import './metadata-plugin.zod-TsdAQIxf.js';
22
-
23
- /**
24
- * System Identifier Schema
25
- *
26
- * Universal naming convention for all machine identifiers (API Names) in ObjectStack.
27
- * Enforces lowercase with underscores or dots to ensure:
28
- * - Cross-platform compatibility (case-insensitive filesystems)
29
- * - URL-friendliness (no encoding needed)
30
- * - Database consistency (no collation issues)
31
- * - Security (no case-sensitivity bugs in permission checks)
32
- *
33
- * **Applies to all metadata that acts as a machine identifier:**
34
- * - Object names (tables/collections)
35
- * - Field names
36
- * - Role names
37
- * - Permission set names
38
- * - Action/trigger names
39
- * - Event keys
40
- * - App IDs
41
- * - Menu/page IDs
42
- * - Select option values
43
- * - Workflow names
44
- * - Webhook names
45
- *
46
- * **Naming Convention Summary:**
47
- * | Type | Pattern | Example |
48
- * |------|---------|---------|
49
- * | Machine ID | snake_case | `crm_account`, `btn_submit`, `role_admin` |
50
- * | Event keys | dot.notation | `user.login`, `order.created` |
51
- * | Labels | Any case | `Client Account`, `Submit Form` |
52
- *
53
- * @example Valid identifiers
54
- * - 'account'
55
- * - 'crm_account'
56
- * - 'user_profile'
57
- * - 'order.created' (for events)
58
- * - 'api_v2_endpoint'
59
- *
60
- * @example Invalid identifiers (will be rejected)
61
- * - 'Account' (uppercase)
62
- * - 'CrmAccount' (camelCase)
63
- * - 'crm-account' (kebab-case - use underscore instead)
64
- * - 'user profile' (spaces)
65
- */
66
- declare const SystemIdentifierSchema: z.ZodString;
67
- /**
68
- * Strict Snake Case Identifier
69
- *
70
- * More restrictive than SystemIdentifierSchema - only allows underscores (no dots).
71
- * Use this for identifiers that should NOT contain dots (e.g., database table/column names).
72
- *
73
- * @example Valid
74
- * - 'account'
75
- * - 'crm_account'
76
- * - 'user_profile'
77
- *
78
- * @example Invalid
79
- * - 'user.profile' (dots not allowed)
80
- * - 'UserProfile' (uppercase)
81
- */
82
- declare const SnakeCaseIdentifierSchema: z.ZodString;
83
- /**
84
- * Event Name Identifier
85
- *
86
- * Specialized identifier for event names that encourages dot notation.
87
- * Used in event-driven systems, message queues, and webhooks.
88
- *
89
- * Pattern: `namespace.action` or `entity.event_type`
90
- *
91
- * @example Valid
92
- * - 'user.created'
93
- * - 'order.paid'
94
- * - 'user.login_success'
95
- * - 'alarm.high_cpu'
96
- *
97
- * @example Invalid
98
- * - 'UserCreated' (camelCase)
99
- * - 'user_created' (should use dots for namespacing)
100
- */
101
- declare const EventNameSchema: z.ZodString;
102
- /**
103
- * Type Exports
104
- */
105
- type SystemIdentifier = z.infer<typeof SystemIdentifierSchema>;
106
- type SnakeCaseIdentifier = z.infer<typeof SnakeCaseIdentifierSchema>;
107
- type EventName = z.infer<typeof EventNameSchema>;
108
-
109
- /**
110
- * Base Field Mapping Protocol
111
- *
112
- * Shared by: ETL, Sync, Connector, External Lookup
113
- *
114
- * This module provides the canonical field mapping schema used across
115
- * ObjectStack for data transformation and synchronization.
116
- *
117
- * **Use Cases:**
118
- * - ETL pipelines (data/mapping.zod.ts)
119
- * - Data synchronization (automation/sync.zod.ts)
120
- * - Integration connectors (integration/connector.zod.ts)
121
- * - External lookups (data/external-lookup.zod.ts)
122
- *
123
- * @example Basic field mapping
124
- * ```typescript
125
- * const mapping: FieldMapping = {
126
- * source: 'external_user_id',
127
- * target: 'user_id',
128
- * };
129
- * ```
130
- *
131
- * @example With transformation
132
- * ```typescript
133
- * const mapping: FieldMapping = {
134
- * source: 'user_name',
135
- * target: 'name',
136
- * transform: { type: 'cast', targetType: 'string' },
137
- * defaultValue: 'Unknown'
138
- * };
139
- * ```
140
- */
141
- /**
142
- * Transform Type Schema
143
- *
144
- * Defines the type of transformation to apply to a field value.
145
- * Implementations can extend this for domain-specific transforms.
146
- */
147
- declare const TransformTypeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
148
- type: z.ZodLiteral<"constant">;
149
- value: z.ZodUnknown;
150
- }, z.core.$strip>, z.ZodObject<{
151
- type: z.ZodLiteral<"cast">;
152
- targetType: z.ZodEnum<{
153
- string: "string";
154
- number: "number";
155
- boolean: "boolean";
156
- date: "date";
157
- }>;
158
- }, z.core.$strip>, z.ZodObject<{
159
- type: z.ZodLiteral<"lookup">;
160
- table: z.ZodString;
161
- keyField: z.ZodString;
162
- valueField: z.ZodString;
163
- }, z.core.$strip>, z.ZodObject<{
164
- type: z.ZodLiteral<"javascript">;
165
- expression: z.ZodString;
166
- }, z.core.$strip>, z.ZodObject<{
167
- type: z.ZodLiteral<"map">;
168
- mappings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
169
- }, z.core.$strip>], "type">;
170
- type TransformType = z.infer<typeof TransformTypeSchema>;
171
- /**
172
- * Field Mapping Schema
173
- *
174
- * Base schema for mapping fields between source and target systems.
175
- *
176
- * **NAMING CONVENTION:**
177
- * - source: Field name in the source system
178
- * - target: Field name in the target system (should be snake_case for ObjectStack)
179
- *
180
- * @example
181
- * ```typescript
182
- * {
183
- * source: 'FirstName',
184
- * target: 'first_name',
185
- * transform: { type: 'cast', targetType: 'string' },
186
- * defaultValue: ''
187
- * }
188
- * ```
189
- */
190
- declare const FieldMappingSchema: z.ZodObject<{
191
- source: z.ZodString;
192
- target: z.ZodString;
193
- transform: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
194
- type: z.ZodLiteral<"constant">;
195
- value: z.ZodUnknown;
196
- }, z.core.$strip>, z.ZodObject<{
197
- type: z.ZodLiteral<"cast">;
198
- targetType: z.ZodEnum<{
199
- string: "string";
200
- number: "number";
201
- boolean: "boolean";
202
- date: "date";
203
- }>;
204
- }, z.core.$strip>, z.ZodObject<{
205
- type: z.ZodLiteral<"lookup">;
206
- table: z.ZodString;
207
- keyField: z.ZodString;
208
- valueField: z.ZodString;
209
- }, z.core.$strip>, z.ZodObject<{
210
- type: z.ZodLiteral<"javascript">;
211
- expression: z.ZodString;
212
- }, z.core.$strip>, z.ZodObject<{
213
- type: z.ZodLiteral<"map">;
214
- mappings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
215
- }, z.core.$strip>], "type">>;
216
- defaultValue: z.ZodOptional<z.ZodUnknown>;
217
- }, z.core.$strip>;
218
- type FieldMapping = z.infer<typeof FieldMappingSchema>;
219
-
220
- /** Aggregation functions used across query, data-engine, analytics, field */
221
- declare const AggregationFunctionEnum: z.ZodEnum<{
222
- count: "count";
223
- sum: "sum";
224
- avg: "avg";
225
- min: "min";
226
- max: "max";
227
- count_distinct: "count_distinct";
228
- percentile: "percentile";
229
- median: "median";
230
- stddev: "stddev";
231
- variance: "variance";
232
- }>;
233
- type AggregationFunction = z.infer<typeof AggregationFunctionEnum>;
234
- /** Sort direction used across query, data-engine, analytics */
235
- declare const SortDirectionEnum: z.ZodEnum<{
236
- asc: "asc";
237
- desc: "desc";
238
- }>;
239
- type SortDirection = z.infer<typeof SortDirectionEnum>;
240
- /** CRUD mutation events used across hook, validation, object CDC */
241
- declare const MutationEventEnum: z.ZodEnum<{
242
- insert: "insert";
243
- update: "update";
244
- delete: "delete";
245
- upsert: "upsert";
246
- }>;
247
- type MutationEvent = z.infer<typeof MutationEventEnum>;
248
- /** Database isolation levels — unified format */
249
- declare const IsolationLevelEnum: z.ZodEnum<{
250
- read_uncommitted: "read_uncommitted";
251
- read_committed: "read_committed";
252
- repeatable_read: "repeatable_read";
253
- serializable: "serializable";
254
- snapshot: "snapshot";
255
- }>;
256
- type IsolationLevel = z.infer<typeof IsolationLevelEnum>;
257
- /** Cache eviction strategies */
258
- declare const CacheStrategyEnum: z.ZodEnum<{
259
- lru: "lru";
260
- lfu: "lfu";
261
- ttl: "ttl";
262
- fifo: "fifo";
263
- }>;
264
- type CacheStrategy = z.infer<typeof CacheStrategyEnum>;
265
-
266
- /** Supported metadata file formats */
267
- declare const MetadataFormatSchema: z.ZodEnum<{
268
- javascript: "javascript";
269
- yaml: "yaml";
270
- json: "json";
271
- typescript: "typescript";
272
- }>;
273
- type MetadataFormat = z.infer<typeof MetadataFormatSchema>;
274
- /** Base metadata record fields shared across kernel and system layers */
275
- declare const BaseMetadataRecordSchema: z.ZodObject<{
276
- id: z.ZodString;
277
- type: z.ZodString;
278
- name: z.ZodString;
279
- format: z.ZodOptional<z.ZodEnum<{
280
- javascript: "javascript";
281
- yaml: "yaml";
282
- json: "json";
283
- typescript: "typescript";
284
- }>>;
285
- }, z.core.$strip>;
286
- type BaseMetadataRecord = z.infer<typeof BaseMetadataRecordSchema>;
287
-
288
- /**
289
- * Branded Types for ObjectStack Identifiers
290
- *
291
- * Branded types provide compile-time safety by preventing accidental mixing
292
- * of different identifier kinds. For example, you cannot pass an ObjectName
293
- * where a FieldName is expected, even though both are strings at runtime.
294
- *
295
- * @example
296
- * ```ts
297
- * import { ObjectNameSchema, FieldNameSchema } from '@objectstack/spec';
298
- *
299
- * const objName = ObjectNameSchema.parse('project_task'); // ObjectName
300
- * const fieldName = FieldNameSchema.parse('task_name'); // FieldName
301
- *
302
- * // TypeScript will catch this at compile time:
303
- * // const fn: FieldName = objName; // Error!
304
- * ```
305
- */
306
- /**
307
- * ObjectName — Branded type for business object names.
308
- *
309
- * Must be snake_case (no dots). Used for table/collection names.
310
- *
311
- * @example 'project_task', 'crm_account', 'user_profile'
312
- */
313
- declare const ObjectNameSchema: z.core.$ZodBranded<z.ZodString, "ObjectName", "out">;
314
- type ObjectName = z.infer<typeof ObjectNameSchema>;
315
- /**
316
- * FieldName — Branded type for field (column) names.
317
- *
318
- * Must be snake_case (no dots). Used for column/property names within objects.
319
- *
320
- * @example 'first_name', 'created_at', 'total_amount'
321
- */
322
- declare const FieldNameSchema: z.core.$ZodBranded<z.ZodString, "FieldName", "out">;
323
- type FieldName = z.infer<typeof FieldNameSchema>;
324
- /**
325
- * ViewName — Branded type for view identifiers.
326
- *
327
- * Must be a valid system identifier (lowercase, may contain dots for namespacing).
328
- *
329
- * @example 'all_tasks', 'my_open_deals', 'contact.recent'
330
- */
331
- declare const ViewNameSchema: z.core.$ZodBranded<z.ZodString, "ViewName", "out">;
332
- type ViewName = z.infer<typeof ViewNameSchema>;
333
- /**
334
- * AppName — Branded type for application identifiers.
335
- *
336
- * Must be a valid system identifier.
337
- *
338
- * @example 'crm', 'helpdesk', 'project_management'
339
- */
340
- declare const AppNameSchema: z.core.$ZodBranded<z.ZodString, "AppName", "out">;
341
- type AppName = z.infer<typeof AppNameSchema>;
342
- /**
343
- * FlowName — Branded type for flow identifiers.
344
- *
345
- * Must be a valid system identifier.
346
- *
347
- * @example 'approval_flow', 'onboarding_wizard', 'lead_qualification'
348
- */
349
- declare const FlowNameSchema: z.core.$ZodBranded<z.ZodString, "FlowName", "out">;
350
- type FlowName = z.infer<typeof FlowNameSchema>;
351
- /**
352
- * RoleName — Branded type for role identifiers.
353
- *
354
- * Must be a valid system identifier.
355
- *
356
- * @example 'admin', 'sales_manager', 'read_only'
357
- */
358
- declare const RoleNameSchema: z.core.$ZodBranded<z.ZodString, "RoleName", "out">;
359
- type RoleName = z.infer<typeof RoleNameSchema>;
360
-
361
- /**
362
- * "Did you mean?" Suggestion Utilities
363
- *
364
- * Provides fuzzy matching for common ObjectStack identifiers.
365
- * Used by the custom error map to suggest corrections for typos.
366
- *
367
- * @example
368
- * ```ts
369
- * suggestFieldType('text_area'); // ['textarea']
370
- * suggestFieldType('String'); // ['text']
371
- * suggestFieldType('int'); // ['number']
372
- * ```
373
- */
374
- /**
375
- * Compute Levenshtein edit distance between two strings.
376
- * Uses space-optimized two-row approach (O(min(m,n)) space).
377
- */
378
- declare function levenshteinDistance(a: string, b: string): number;
379
- /**
380
- * Find the closest matches from a list of candidates.
381
- *
382
- * @param input - The user-provided (possibly invalid) value
383
- * @param candidates - Array of valid values to compare against
384
- * @param maxDistance - Maximum edit distance to consider (default: 3)
385
- * @param maxResults - Maximum number of suggestions to return (default: 3)
386
- * @returns Array of suggested values, sorted by similarity
387
- */
388
- declare function findClosestMatches(input: string, candidates: readonly string[], maxDistance?: number, maxResults?: number): string[];
389
- /**
390
- * Suggest valid FieldType values for an invalid input.
391
- *
392
- * First checks known aliases, then falls back to fuzzy matching.
393
- *
394
- * @param input - Invalid field type string
395
- * @returns Array of suggested valid FieldType values
396
- *
397
- * @example
398
- * ```ts
399
- * suggestFieldType('text_area'); // ['textarea']
400
- * suggestFieldType('String'); // ['text']
401
- * suggestFieldType('int'); // ['number']
402
- * suggestFieldType('dropdown'); // ['select']
403
- * ```
404
- */
405
- declare function suggestFieldType(input: string): string[];
406
- /**
407
- * Format a "Did you mean?" message for display.
408
- *
409
- * @param suggestions - Array of suggested values
410
- * @returns Formatted string or empty string if no suggestions
411
- */
412
- declare function formatSuggestion(suggestions: string[]): string;
413
-
414
- /**
415
- * Zod v4 raw issue type used by the error map.
416
- */
417
- type ObjectStackRawIssue = z.core.$ZodRawIssue;
418
- /**
419
- * ObjectStack Custom Zod Error Map
420
- *
421
- * Provides contextual, actionable error messages for ObjectStack schema validation.
422
- * Instead of generic Zod messages like "Invalid option", this error map returns
423
- * messages that explain the ObjectStack context and suggest fixes.
424
- *
425
- * In Zod v4, the error map is a function `(issue) => { message: string } | string | null`.
426
- * Pass it via the `error` option on `.safeParse()` / `.parse()`.
427
- *
428
- * @example
429
- * ```ts
430
- * import { objectStackErrorMap } from '@objectstack/spec';
431
- *
432
- * // Per-parse usage
433
- * SomeSchema.safeParse(data, { error: objectStackErrorMap });
434
- * ```
435
- */
436
- declare const objectStackErrorMap: (issue: ObjectStackRawIssue) => {
437
- message: string;
438
- } | null;
439
- /**
440
- * Zod Issue interface (subset needed for formatting).
441
- */
442
- interface ZodIssueMinimal {
443
- path: PropertyKey[];
444
- message: string;
445
- code?: string;
446
- }
447
- /**
448
- * Format a single Zod issue into a human-readable line.
449
- *
450
- * @param issue - A single Zod issue
451
- * @returns Formatted string with path and message
452
- */
453
- declare function formatZodIssue(issue: ZodIssueMinimal): string;
454
- /**
455
- * Pretty-print Zod validation errors for CLI output.
456
- *
457
- * Formats a ZodError into a readable block suitable for terminal display.
458
- * Groups errors by path depth and includes a summary count.
459
- *
460
- * @param error - A ZodError to format
461
- * @param label - Optional label for the error block (e.g., 'Stack validation failed')
462
- * @returns Formatted multi-line string
463
- *
464
- * @example
465
- * ```ts
466
- * import { formatZodError, ObjectStackDefinitionSchema } from '@objectstack/spec';
467
- *
468
- * const result = ObjectStackDefinitionSchema.safeParse(data);
469
- * if (!result.success) {
470
- * console.error(formatZodError(result.error, 'Stack validation failed'));
471
- * }
472
- * ```
473
- *
474
- * Output:
475
- * ```
476
- * Stack validation failed (3 issues):
477
- *
478
- * ✗ manifest.name: Required property 'name' is missing.
479
- * ✗ objects[0].fields.status.type: Invalid field type 'dropdown'. Did you mean 'select'?
480
- * ✗ views[0].object: Invalid identifier 'MyTasks'. Must be lowercase snake_case.
481
- * ```
482
- */
483
- declare function formatZodError(error: z.ZodError, label?: string): string;
484
- /**
485
- * Parse with the ObjectStack error map and return formatted errors.
486
- *
487
- * A convenience function that combines parsing with the custom error map
488
- * and pretty-print formatting. Returns a discriminated union result.
489
- *
490
- * @param schema - Any Zod schema to parse with
491
- * @param data - Data to validate
492
- * @param label - Optional label for error formatting
493
- * @returns Object with `success`, `data`, and optional `formatted` error string
494
- *
495
- * @example
496
- * ```ts
497
- * const result = safeParsePretty(ObjectStackDefinitionSchema, config, 'objectstack.config.ts');
498
- * if (!result.success) {
499
- * console.error(result.formatted);
500
- * process.exit(1);
501
- * }
502
- * ```
503
- */
504
- declare function safeParsePretty<T extends z.ZodTypeAny>(schema: T, data: unknown, label?: string): {
505
- success: true;
506
- data: z.infer<T>;
507
- } | {
508
- success: false;
509
- error: z.ZodError;
510
- formatted: string;
511
- };
512
-
513
- /**
514
- * Shared Schemas and Utilities
515
- * Common schemas used across multiple modules
516
- */
517
-
518
- type index$3_AggregationFunction = AggregationFunction;
519
- declare const index$3_AggregationFunctionEnum: typeof AggregationFunctionEnum;
520
- type index$3_AppName = AppName;
521
- declare const index$3_AppNameSchema: typeof AppNameSchema;
522
- type index$3_BaseMetadataRecord = BaseMetadataRecord;
523
- declare const index$3_BaseMetadataRecordSchema: typeof BaseMetadataRecordSchema;
524
- type index$3_CacheStrategy = CacheStrategy;
525
- declare const index$3_CacheStrategyEnum: typeof CacheStrategyEnum;
526
- declare const index$3_CorsConfig: typeof CorsConfig;
527
- declare const index$3_CorsConfigSchema: typeof CorsConfigSchema;
528
- type index$3_EventName = EventName;
529
- declare const index$3_EventNameSchema: typeof EventNameSchema;
530
- type index$3_FieldMapping = FieldMapping;
531
- declare const index$3_FieldMappingSchema: typeof FieldMappingSchema;
532
- type index$3_FieldName = FieldName;
533
- declare const index$3_FieldNameSchema: typeof FieldNameSchema;
534
- type index$3_FlowName = FlowName;
535
- declare const index$3_FlowNameSchema: typeof FlowNameSchema;
536
- declare const index$3_HttpMethod: typeof HttpMethod;
537
- type index$3_IsolationLevel = IsolationLevel;
538
- declare const index$3_IsolationLevelEnum: typeof IsolationLevelEnum;
539
- type index$3_MetadataFormat = MetadataFormat;
540
- declare const index$3_MetadataFormatSchema: typeof MetadataFormatSchema;
541
- type index$3_MutationEvent = MutationEvent;
542
- declare const index$3_MutationEventEnum: typeof MutationEventEnum;
543
- type index$3_ObjectName = ObjectName;
544
- declare const index$3_ObjectNameSchema: typeof ObjectNameSchema;
545
- type index$3_ObjectStackRawIssue = ObjectStackRawIssue;
546
- declare const index$3_RateLimitConfig: typeof RateLimitConfig;
547
- declare const index$3_RateLimitConfigSchema: typeof RateLimitConfigSchema;
548
- type index$3_RoleName = RoleName;
549
- declare const index$3_RoleNameSchema: typeof RoleNameSchema;
550
- type index$3_SnakeCaseIdentifier = SnakeCaseIdentifier;
551
- declare const index$3_SnakeCaseIdentifierSchema: typeof SnakeCaseIdentifierSchema;
552
- type index$3_SortDirection = SortDirection;
553
- declare const index$3_SortDirectionEnum: typeof SortDirectionEnum;
554
- declare const index$3_StaticMount: typeof StaticMount;
555
- declare const index$3_StaticMountSchema: typeof StaticMountSchema;
556
- type index$3_SystemIdentifier = SystemIdentifier;
557
- declare const index$3_SystemIdentifierSchema: typeof SystemIdentifierSchema;
558
- type index$3_TransformType = TransformType;
559
- declare const index$3_TransformTypeSchema: typeof TransformTypeSchema;
560
- type index$3_ViewName = ViewName;
561
- declare const index$3_ViewNameSchema: typeof ViewNameSchema;
562
- declare const index$3_findClosestMatches: typeof findClosestMatches;
563
- declare const index$3_formatSuggestion: typeof formatSuggestion;
564
- declare const index$3_formatZodError: typeof formatZodError;
565
- declare const index$3_formatZodIssue: typeof formatZodIssue;
566
- declare const index$3_levenshteinDistance: typeof levenshteinDistance;
567
- declare const index$3_objectStackErrorMap: typeof objectStackErrorMap;
568
- declare const index$3_safeParsePretty: typeof safeParsePretty;
569
- declare const index$3_suggestFieldType: typeof suggestFieldType;
570
- declare namespace index$3 {
571
- export { type index$3_AggregationFunction as AggregationFunction, index$3_AggregationFunctionEnum as AggregationFunctionEnum, type index$3_AppName as AppName, index$3_AppNameSchema as AppNameSchema, type index$3_BaseMetadataRecord as BaseMetadataRecord, index$3_BaseMetadataRecordSchema as BaseMetadataRecordSchema, type index$3_CacheStrategy as CacheStrategy, index$3_CacheStrategyEnum as CacheStrategyEnum, index$3_CorsConfig as CorsConfig, index$3_CorsConfigSchema as CorsConfigSchema, type index$3_EventName as EventName, index$3_EventNameSchema as EventNameSchema, type index$3_FieldMapping as FieldMapping, index$3_FieldMappingSchema as FieldMappingSchema, type index$3_FieldName as FieldName, index$3_FieldNameSchema as FieldNameSchema, type index$3_FlowName as FlowName, index$3_FlowNameSchema as FlowNameSchema, index$3_HttpMethod as HttpMethod, type index$3_IsolationLevel as IsolationLevel, index$3_IsolationLevelEnum as IsolationLevelEnum, type index$3_MetadataFormat as MetadataFormat, index$3_MetadataFormatSchema as MetadataFormatSchema, type index$3_MutationEvent as MutationEvent, index$3_MutationEventEnum as MutationEventEnum, type index$3_ObjectName as ObjectName, index$3_ObjectNameSchema as ObjectNameSchema, type index$3_ObjectStackRawIssue as ObjectStackRawIssue, index$3_RateLimitConfig as RateLimitConfig, index$3_RateLimitConfigSchema as RateLimitConfigSchema, type index$3_RoleName as RoleName, index$3_RoleNameSchema as RoleNameSchema, type index$3_SnakeCaseIdentifier as SnakeCaseIdentifier, index$3_SnakeCaseIdentifierSchema as SnakeCaseIdentifierSchema, type index$3_SortDirection as SortDirection, index$3_SortDirectionEnum as SortDirectionEnum, index$3_StaticMount as StaticMount, index$3_StaticMountSchema as StaticMountSchema, type index$3_SystemIdentifier as SystemIdentifier, index$3_SystemIdentifierSchema as SystemIdentifierSchema, type index$3_TransformType as TransformType, index$3_TransformTypeSchema as TransformTypeSchema, type index$3_ViewName as ViewName, index$3_ViewNameSchema as ViewNameSchema, index$3_findClosestMatches as findClosestMatches, index$3_formatSuggestion as formatSuggestion, index$3_formatZodError as formatZodError, index$3_formatZodIssue as formatZodIssue, index$3_levenshteinDistance as levenshteinDistance, index$3_objectStackErrorMap as objectStackErrorMap, index$3_safeParsePretty as safeParsePretty, index$3_suggestFieldType as suggestFieldType };
572
- }
573
-
574
- /**
575
- * # Marketplace Protocol
576
- *
577
- * Defines the core schemas for the plugin marketplace ecosystem, covering:
578
- * - **Developer Side**: Package publishing, submission, and version releases
579
- * - **Platform Side**: Marketplace listing, review, approval, and discovery
580
- *
581
- * This protocol defines the contract between plugin developers, the marketplace
582
- * platform, and customers who install plugins.
583
- *
584
- * ## Architecture Alignment
585
- * - **Salesforce AppExchange**: Security review, managed packages, listing profiles
586
- * - **VS Code Marketplace**: Extension publishing, ratings, verified publishers
587
- * - **npm Registry**: Package publishing, versioning, scoped packages
588
- * - **Shopify App Store**: App review process, billing integration, merchant installs
589
- *
590
- * ## Developer Publishing Flow
591
- * ```
592
- * 1. Develop → Build plugin locally using ObjectStack CLI
593
- * 2. Validate → Run `os plugin validate` (schema + security checks)
594
- * 3. Build → Run `os plugin build` (bundle + sign)
595
- * 4. Submit → Run `os plugin publish` (submit to marketplace)
596
- * 5. Review → Platform conducts automated + manual review
597
- * 6. Publish → Approved listing goes live on marketplace
598
- * ```
599
- *
600
- * ## Platform Management Flow
601
- * ```
602
- * 1. Receive → Accept submissions from verified publishers
603
- * 2. Scan → Automated security scan and compatibility check
604
- * 3. Review → Human review for quality and policy compliance
605
- * 4. Catalog → Index in marketplace search catalog
606
- * 5. Monitor → Track installs, ratings, issues, and enforce SLAs
607
- * ```
608
- */
609
- /**
610
- * Publisher Verification Status
611
- */
612
- declare const PublisherVerificationSchema: z.ZodEnum<{
613
- pending: "pending";
614
- verified: "verified";
615
- trusted: "trusted";
616
- unverified: "unverified";
617
- partner: "partner";
618
- }>;
619
- /**
620
- * Publisher Schema
621
- * Represents a developer or organization that publishes packages.
622
- */
623
- declare const PublisherSchema: z.ZodObject<{
624
- id: z.ZodString;
625
- name: z.ZodString;
626
- type: z.ZodEnum<{
627
- organization: "organization";
628
- individual: "individual";
629
- }>;
630
- verification: z.ZodDefault<z.ZodEnum<{
631
- pending: "pending";
632
- verified: "verified";
633
- trusted: "trusted";
634
- unverified: "unverified";
635
- partner: "partner";
636
- }>>;
637
- email: z.ZodOptional<z.ZodString>;
638
- website: z.ZodOptional<z.ZodString>;
639
- logoUrl: z.ZodOptional<z.ZodString>;
640
- description: z.ZodOptional<z.ZodString>;
641
- registeredAt: z.ZodOptional<z.ZodString>;
642
- }, z.core.$strip>;
643
- /**
644
- * Marketplace Category
645
- */
646
- declare const MarketplaceCategorySchema: z.ZodEnum<{
647
- other: "other";
648
- security: "security";
649
- integration: "integration";
650
- storage: "storage";
651
- automation: "automation";
652
- analytics: "analytics";
653
- ai: "ai";
654
- crm: "crm";
655
- erp: "erp";
656
- hr: "hr";
657
- finance: "finance";
658
- project: "project";
659
- collaboration: "collaboration";
660
- "developer-tools": "developer-tools";
661
- "ui-theme": "ui-theme";
662
- }>;
663
- /**
664
- * Listing Status
665
- */
666
- declare const ListingStatusSchema: z.ZodEnum<{
667
- deprecated: "deprecated";
668
- draft: "draft";
669
- submitted: "submitted";
670
- "in-review": "in-review";
671
- approved: "approved";
672
- suspended: "suspended";
673
- published: "published";
674
- rejected: "rejected";
675
- unlisted: "unlisted";
676
- }>;
677
- /**
678
- * Pricing Model
679
- */
680
- declare const PricingModelSchema: z.ZodEnum<{
681
- free: "free";
682
- freemium: "freemium";
683
- paid: "paid";
684
- subscription: "subscription";
685
- "usage-based": "usage-based";
686
- "contact-sales": "contact-sales";
687
- }>;
688
- /**
689
- * Marketplace Listing Schema
690
- *
691
- * The public-facing profile of a package on the marketplace.
692
- * Contains marketing information, pricing, and installation metadata.
693
- */
694
- declare const MarketplaceListingSchema: z.ZodObject<{
695
- id: z.ZodString;
696
- packageId: z.ZodString;
697
- publisherId: z.ZodString;
698
- status: z.ZodDefault<z.ZodEnum<{
699
- deprecated: "deprecated";
700
- draft: "draft";
701
- submitted: "submitted";
702
- "in-review": "in-review";
703
- approved: "approved";
704
- suspended: "suspended";
705
- published: "published";
706
- rejected: "rejected";
707
- unlisted: "unlisted";
708
- }>>;
709
- name: z.ZodString;
710
- tagline: z.ZodOptional<z.ZodString>;
711
- description: z.ZodOptional<z.ZodString>;
712
- category: z.ZodEnum<{
713
- other: "other";
714
- security: "security";
715
- integration: "integration";
716
- storage: "storage";
717
- automation: "automation";
718
- analytics: "analytics";
719
- ai: "ai";
720
- crm: "crm";
721
- erp: "erp";
722
- hr: "hr";
723
- finance: "finance";
724
- project: "project";
725
- collaboration: "collaboration";
726
- "developer-tools": "developer-tools";
727
- "ui-theme": "ui-theme";
728
- }>;
729
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
730
- iconUrl: z.ZodOptional<z.ZodString>;
731
- screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
732
- url: z.ZodString;
733
- caption: z.ZodOptional<z.ZodString>;
734
- }, z.core.$strip>>>;
735
- documentationUrl: z.ZodOptional<z.ZodString>;
736
- supportUrl: z.ZodOptional<z.ZodString>;
737
- repositoryUrl: z.ZodOptional<z.ZodString>;
738
- pricing: z.ZodDefault<z.ZodEnum<{
739
- free: "free";
740
- freemium: "freemium";
741
- paid: "paid";
742
- subscription: "subscription";
743
- "usage-based": "usage-based";
744
- "contact-sales": "contact-sales";
745
- }>>;
746
- priceInCents: z.ZodOptional<z.ZodNumber>;
747
- latestVersion: z.ZodString;
748
- minPlatformVersion: z.ZodOptional<z.ZodString>;
749
- versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
750
- version: z.ZodString;
751
- releaseDate: z.ZodString;
752
- releaseNotes: z.ZodOptional<z.ZodString>;
753
- minPlatformVersion: z.ZodOptional<z.ZodString>;
754
- deprecated: z.ZodDefault<z.ZodBoolean>;
755
- }, z.core.$strip>>>;
756
- stats: z.ZodOptional<z.ZodObject<{
757
- totalInstalls: z.ZodDefault<z.ZodNumber>;
758
- activeInstalls: z.ZodDefault<z.ZodNumber>;
759
- averageRating: z.ZodOptional<z.ZodNumber>;
760
- totalRatings: z.ZodDefault<z.ZodNumber>;
761
- totalReviews: z.ZodDefault<z.ZodNumber>;
762
- }, z.core.$strip>>;
763
- publishedAt: z.ZodOptional<z.ZodString>;
764
- updatedAt: z.ZodOptional<z.ZodString>;
765
- }, z.core.$strip>;
766
- /**
767
- * Package Submission Schema
768
- * A developer's submission of a package version for marketplace review.
769
- */
770
- declare const PackageSubmissionSchema: z.ZodObject<{
771
- id: z.ZodString;
772
- packageId: z.ZodString;
773
- version: z.ZodString;
774
- publisherId: z.ZodString;
775
- status: z.ZodDefault<z.ZodEnum<{
776
- "in-review": "in-review";
777
- approved: "approved";
778
- pending: "pending";
779
- rejected: "rejected";
780
- scanning: "scanning";
781
- "changes-requested": "changes-requested";
782
- }>>;
783
- artifactUrl: z.ZodString;
784
- releaseNotes: z.ZodOptional<z.ZodString>;
785
- isNewListing: z.ZodDefault<z.ZodBoolean>;
786
- scanResults: z.ZodOptional<z.ZodObject<{
787
- passed: z.ZodBoolean;
788
- securityScore: z.ZodOptional<z.ZodNumber>;
789
- compatibilityCheck: z.ZodOptional<z.ZodBoolean>;
790
- issues: z.ZodOptional<z.ZodArray<z.ZodObject<{
791
- severity: z.ZodEnum<{
792
- info: "info";
793
- medium: "medium";
794
- critical: "critical";
795
- high: "high";
796
- low: "low";
797
- }>;
798
- message: z.ZodString;
799
- file: z.ZodOptional<z.ZodString>;
800
- line: z.ZodOptional<z.ZodNumber>;
801
- }, z.core.$strip>>>;
802
- }, z.core.$strip>>;
803
- reviewerNotes: z.ZodOptional<z.ZodString>;
804
- submittedAt: z.ZodOptional<z.ZodString>;
805
- reviewedAt: z.ZodOptional<z.ZodString>;
806
- }, z.core.$strip>;
807
- /**
808
- * Marketplace Search Request
809
- */
810
- declare const MarketplaceSearchRequestSchema: z.ZodObject<{
811
- query: z.ZodOptional<z.ZodString>;
812
- category: z.ZodOptional<z.ZodEnum<{
813
- other: "other";
814
- security: "security";
815
- integration: "integration";
816
- storage: "storage";
817
- automation: "automation";
818
- analytics: "analytics";
819
- ai: "ai";
820
- crm: "crm";
821
- erp: "erp";
822
- hr: "hr";
823
- finance: "finance";
824
- project: "project";
825
- collaboration: "collaboration";
826
- "developer-tools": "developer-tools";
827
- "ui-theme": "ui-theme";
828
- }>>;
829
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
830
- pricing: z.ZodOptional<z.ZodEnum<{
831
- free: "free";
832
- freemium: "freemium";
833
- paid: "paid";
834
- subscription: "subscription";
835
- "usage-based": "usage-based";
836
- "contact-sales": "contact-sales";
837
- }>>;
838
- publisherVerification: z.ZodOptional<z.ZodEnum<{
839
- pending: "pending";
840
- verified: "verified";
841
- trusted: "trusted";
842
- unverified: "unverified";
843
- partner: "partner";
844
- }>>;
845
- sortBy: z.ZodDefault<z.ZodEnum<{
846
- name: "name";
847
- rating: "rating";
848
- relevance: "relevance";
849
- updated: "updated";
850
- popularity: "popularity";
851
- newest: "newest";
852
- }>>;
853
- sortDirection: z.ZodDefault<z.ZodEnum<{
854
- asc: "asc";
855
- desc: "desc";
856
- }>>;
857
- page: z.ZodDefault<z.ZodNumber>;
858
- pageSize: z.ZodDefault<z.ZodNumber>;
859
- platformVersion: z.ZodOptional<z.ZodString>;
860
- }, z.core.$strip>;
861
- /**
862
- * Marketplace Search Response
863
- */
864
- declare const MarketplaceSearchResponseSchema: z.ZodObject<{
865
- items: z.ZodArray<z.ZodObject<{
866
- id: z.ZodString;
867
- packageId: z.ZodString;
868
- publisherId: z.ZodString;
869
- status: z.ZodDefault<z.ZodEnum<{
870
- deprecated: "deprecated";
871
- draft: "draft";
872
- submitted: "submitted";
873
- "in-review": "in-review";
874
- approved: "approved";
875
- suspended: "suspended";
876
- published: "published";
877
- rejected: "rejected";
878
- unlisted: "unlisted";
879
- }>>;
880
- name: z.ZodString;
881
- tagline: z.ZodOptional<z.ZodString>;
882
- description: z.ZodOptional<z.ZodString>;
883
- category: z.ZodEnum<{
884
- other: "other";
885
- security: "security";
886
- integration: "integration";
887
- storage: "storage";
888
- automation: "automation";
889
- analytics: "analytics";
890
- ai: "ai";
891
- crm: "crm";
892
- erp: "erp";
893
- hr: "hr";
894
- finance: "finance";
895
- project: "project";
896
- collaboration: "collaboration";
897
- "developer-tools": "developer-tools";
898
- "ui-theme": "ui-theme";
899
- }>;
900
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
901
- iconUrl: z.ZodOptional<z.ZodString>;
902
- screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
903
- url: z.ZodString;
904
- caption: z.ZodOptional<z.ZodString>;
905
- }, z.core.$strip>>>;
906
- documentationUrl: z.ZodOptional<z.ZodString>;
907
- supportUrl: z.ZodOptional<z.ZodString>;
908
- repositoryUrl: z.ZodOptional<z.ZodString>;
909
- pricing: z.ZodDefault<z.ZodEnum<{
910
- free: "free";
911
- freemium: "freemium";
912
- paid: "paid";
913
- subscription: "subscription";
914
- "usage-based": "usage-based";
915
- "contact-sales": "contact-sales";
916
- }>>;
917
- priceInCents: z.ZodOptional<z.ZodNumber>;
918
- latestVersion: z.ZodString;
919
- minPlatformVersion: z.ZodOptional<z.ZodString>;
920
- versions: z.ZodOptional<z.ZodArray<z.ZodObject<{
921
- version: z.ZodString;
922
- releaseDate: z.ZodString;
923
- releaseNotes: z.ZodOptional<z.ZodString>;
924
- minPlatformVersion: z.ZodOptional<z.ZodString>;
925
- deprecated: z.ZodDefault<z.ZodBoolean>;
926
- }, z.core.$strip>>>;
927
- stats: z.ZodOptional<z.ZodObject<{
928
- totalInstalls: z.ZodDefault<z.ZodNumber>;
929
- activeInstalls: z.ZodDefault<z.ZodNumber>;
930
- averageRating: z.ZodOptional<z.ZodNumber>;
931
- totalRatings: z.ZodDefault<z.ZodNumber>;
932
- totalReviews: z.ZodDefault<z.ZodNumber>;
933
- }, z.core.$strip>>;
934
- publishedAt: z.ZodOptional<z.ZodString>;
935
- updatedAt: z.ZodOptional<z.ZodString>;
936
- }, z.core.$strip>>;
937
- total: z.ZodNumber;
938
- page: z.ZodNumber;
939
- pageSize: z.ZodNumber;
940
- facets: z.ZodOptional<z.ZodObject<{
941
- categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
942
- category: z.ZodEnum<{
943
- other: "other";
944
- security: "security";
945
- integration: "integration";
946
- storage: "storage";
947
- automation: "automation";
948
- analytics: "analytics";
949
- ai: "ai";
950
- crm: "crm";
951
- erp: "erp";
952
- hr: "hr";
953
- finance: "finance";
954
- project: "project";
955
- collaboration: "collaboration";
956
- "developer-tools": "developer-tools";
957
- "ui-theme": "ui-theme";
958
- }>;
959
- count: z.ZodNumber;
960
- }, z.core.$strip>>>;
961
- pricing: z.ZodOptional<z.ZodArray<z.ZodObject<{
962
- model: z.ZodEnum<{
963
- free: "free";
964
- freemium: "freemium";
965
- paid: "paid";
966
- subscription: "subscription";
967
- "usage-based": "usage-based";
968
- "contact-sales": "contact-sales";
969
- }>;
970
- count: z.ZodNumber;
971
- }, z.core.$strip>>>;
972
- }, z.core.$strip>>;
973
- }, z.core.$strip>;
974
- /**
975
- * Install from Marketplace Request
976
- * Extends the basic package install with marketplace-specific fields.
977
- */
978
- declare const MarketplaceInstallRequestSchema: z.ZodObject<{
979
- listingId: z.ZodString;
980
- version: z.ZodOptional<z.ZodString>;
981
- licenseKey: z.ZodOptional<z.ZodString>;
982
- settings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
983
- enableOnInstall: z.ZodDefault<z.ZodBoolean>;
984
- tenantId: z.ZodOptional<z.ZodString>;
985
- }, z.core.$strip>;
986
- /**
987
- * Install from Marketplace Response
988
- */
989
- declare const MarketplaceInstallResponseSchema: z.ZodObject<{
990
- success: z.ZodBoolean;
991
- packageId: z.ZodOptional<z.ZodString>;
992
- version: z.ZodOptional<z.ZodString>;
993
- message: z.ZodOptional<z.ZodString>;
994
- }, z.core.$strip>;
995
- type PublisherVerification = z.infer<typeof PublisherVerificationSchema>;
996
- type Publisher = z.infer<typeof PublisherSchema>;
997
- type MarketplaceCategory = z.infer<typeof MarketplaceCategorySchema>;
998
- type ListingStatus = z.infer<typeof ListingStatusSchema>;
999
- type PricingModel = z.infer<typeof PricingModelSchema>;
1000
- type MarketplaceListing = z.infer<typeof MarketplaceListingSchema>;
1001
- type PackageSubmission = z.infer<typeof PackageSubmissionSchema>;
1002
- type MarketplaceSearchRequest = z.infer<typeof MarketplaceSearchRequestSchema>;
1003
- type MarketplaceSearchResponse = z.infer<typeof MarketplaceSearchResponseSchema>;
1004
- type MarketplaceInstallRequest = z.infer<typeof MarketplaceInstallRequestSchema>;
1005
- type MarketplaceInstallResponse = z.infer<typeof MarketplaceInstallResponseSchema>;
1006
-
1007
- /**
1008
- * # Developer Portal Protocol
1009
- *
1010
- * Defines schemas for the developer-facing side of the marketplace ecosystem.
1011
- * Covers the complete developer journey:
1012
- *
1013
- * ```
1014
- * Register → Create App → Develop → Validate → Build → Submit → Monitor → Iterate
1015
- * ```
1016
- *
1017
- * ## Architecture Alignment
1018
- * - **Salesforce Partner Portal**: ISV registration, AppExchange publishing, Trialforce
1019
- * - **Shopify Partner Dashboard**: App management, analytics, billing
1020
- * - **VS Code Marketplace Management**: Extension publishing, statistics, tokens
1021
- *
1022
- * ## Identity Integration (better-auth)
1023
- * Authentication, organization management, and API keys are handled by the
1024
- * Identity module (`@objectstack/spec` Identity namespace), which follows the
1025
- * better-auth specification. This module only defines marketplace-specific
1026
- * extensions on top of the shared identity layer:
1027
- *
1028
- * - **User & Session** → `Identity.UserSchema`, `Identity.SessionSchema`
1029
- * - **Organization & Members** → `Identity.OrganizationSchema`, `Identity.MemberSchema`
1030
- * - **API Keys** → `Identity.ApiKeySchema` (with marketplace scopes)
1031
- *
1032
- * ## Key Concepts
1033
- * - **Publisher Profile**: Links an Identity Organization to a marketplace publisher
1034
- * - **App Listing Management**: CRUD for marketplace listings (draft → published)
1035
- * - **Version Channels**: alpha / beta / rc / stable release channels
1036
- * - **Publishing Analytics**: Install trends, revenue, ratings over time
1037
- */
1038
- /**
1039
- * Publisher Profile Schema
1040
- *
1041
- * Links an Identity Organization to a marketplace publisher identity.
1042
- * The organization itself (name, slug, logo, members) is managed via
1043
- * Identity.OrganizationSchema and Identity.MemberSchema (better-auth aligned).
1044
- *
1045
- * This schema only holds marketplace-specific publisher metadata.
1046
- */
1047
- declare const PublisherProfileSchema: z.ZodObject<{
1048
- organizationId: z.ZodString;
1049
- publisherId: z.ZodString;
1050
- verification: z.ZodDefault<z.ZodEnum<{
1051
- pending: "pending";
1052
- verified: "verified";
1053
- trusted: "trusted";
1054
- unverified: "unverified";
1055
- partner: "partner";
1056
- }>>;
1057
- agreementVersion: z.ZodOptional<z.ZodString>;
1058
- website: z.ZodOptional<z.ZodString>;
1059
- supportEmail: z.ZodOptional<z.ZodString>;
1060
- registeredAt: z.ZodString;
1061
- }, z.core.$strip>;
1062
- /**
1063
- * Release Channel — allows pre-release distribution
1064
- */
1065
- declare const ReleaseChannelSchema: z.ZodEnum<{
1066
- alpha: "alpha";
1067
- stable: "stable";
1068
- beta: "beta";
1069
- rc: "rc";
1070
- }>;
1071
- /**
1072
- * Version Release Schema
1073
- *
1074
- * A single version release of a package with channel assignment.
1075
- */
1076
- declare const VersionReleaseSchema: z.ZodObject<{
1077
- version: z.ZodString;
1078
- channel: z.ZodDefault<z.ZodEnum<{
1079
- alpha: "alpha";
1080
- stable: "stable";
1081
- beta: "beta";
1082
- rc: "rc";
1083
- }>>;
1084
- releaseNotes: z.ZodOptional<z.ZodString>;
1085
- changelog: z.ZodOptional<z.ZodArray<z.ZodObject<{
1086
- type: z.ZodEnum<{
1087
- fixed: "fixed";
1088
- deprecated: "deprecated";
1089
- security: "security";
1090
- removed: "removed";
1091
- added: "added";
1092
- changed: "changed";
1093
- }>;
1094
- description: z.ZodString;
1095
- }, z.core.$strip>>>;
1096
- minPlatformVersion: z.ZodOptional<z.ZodString>;
1097
- artifactUrl: z.ZodOptional<z.ZodString>;
1098
- artifactChecksum: z.ZodOptional<z.ZodString>;
1099
- deprecated: z.ZodDefault<z.ZodBoolean>;
1100
- deprecationMessage: z.ZodOptional<z.ZodString>;
1101
- releasedAt: z.ZodOptional<z.ZodString>;
1102
- }, z.core.$strip>;
1103
- /**
1104
- * Create Listing Request — developer creates a new marketplace listing
1105
- */
1106
- declare const CreateListingRequestSchema: z.ZodObject<{
1107
- packageId: z.ZodString;
1108
- name: z.ZodString;
1109
- tagline: z.ZodOptional<z.ZodString>;
1110
- description: z.ZodOptional<z.ZodString>;
1111
- category: z.ZodString;
1112
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1113
- iconUrl: z.ZodOptional<z.ZodString>;
1114
- screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
1115
- url: z.ZodString;
1116
- caption: z.ZodOptional<z.ZodString>;
1117
- }, z.core.$strip>>>;
1118
- documentationUrl: z.ZodOptional<z.ZodString>;
1119
- supportUrl: z.ZodOptional<z.ZodString>;
1120
- repositoryUrl: z.ZodOptional<z.ZodString>;
1121
- pricing: z.ZodDefault<z.ZodEnum<{
1122
- free: "free";
1123
- freemium: "freemium";
1124
- paid: "paid";
1125
- subscription: "subscription";
1126
- "usage-based": "usage-based";
1127
- "contact-sales": "contact-sales";
1128
- }>>;
1129
- priceInCents: z.ZodOptional<z.ZodNumber>;
1130
- }, z.core.$strip>;
1131
- /**
1132
- * Update Listing Request — developer updates listing metadata
1133
- */
1134
- declare const UpdateListingRequestSchema: z.ZodObject<{
1135
- listingId: z.ZodString;
1136
- name: z.ZodOptional<z.ZodString>;
1137
- tagline: z.ZodOptional<z.ZodString>;
1138
- description: z.ZodOptional<z.ZodString>;
1139
- category: z.ZodOptional<z.ZodString>;
1140
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
1141
- iconUrl: z.ZodOptional<z.ZodString>;
1142
- screenshots: z.ZodOptional<z.ZodArray<z.ZodObject<{
1143
- url: z.ZodString;
1144
- caption: z.ZodOptional<z.ZodString>;
1145
- }, z.core.$strip>>>;
1146
- documentationUrl: z.ZodOptional<z.ZodString>;
1147
- supportUrl: z.ZodOptional<z.ZodString>;
1148
- repositoryUrl: z.ZodOptional<z.ZodString>;
1149
- pricing: z.ZodOptional<z.ZodEnum<{
1150
- free: "free";
1151
- freemium: "freemium";
1152
- paid: "paid";
1153
- subscription: "subscription";
1154
- "usage-based": "usage-based";
1155
- "contact-sales": "contact-sales";
1156
- }>>;
1157
- priceInCents: z.ZodOptional<z.ZodNumber>;
1158
- }, z.core.$strip>;
1159
- /**
1160
- * Listing Action Request — lifecycle actions on a listing
1161
- */
1162
- declare const ListingActionRequestSchema: z.ZodObject<{
1163
- listingId: z.ZodString;
1164
- action: z.ZodEnum<{
1165
- submit: "submit";
1166
- unlist: "unlist";
1167
- deprecate: "deprecate";
1168
- reactivate: "reactivate";
1169
- }>;
1170
- reason: z.ZodOptional<z.ZodString>;
1171
- }, z.core.$strip>;
1172
- /**
1173
- * Analytics Time Range
1174
- */
1175
- declare const AnalyticsTimeRangeSchema: z.ZodEnum<{
1176
- last_7d: "last_7d";
1177
- last_30d: "last_30d";
1178
- last_90d: "last_90d";
1179
- last_365d: "last_365d";
1180
- all_time: "all_time";
1181
- }>;
1182
- /**
1183
- * Publishing Analytics Request
1184
- */
1185
- declare const PublishingAnalyticsRequestSchema: z.ZodObject<{
1186
- listingId: z.ZodString;
1187
- timeRange: z.ZodDefault<z.ZodEnum<{
1188
- last_7d: "last_7d";
1189
- last_30d: "last_30d";
1190
- last_90d: "last_90d";
1191
- last_365d: "last_365d";
1192
- all_time: "all_time";
1193
- }>>;
1194
- metrics: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1195
- ratings: "ratings";
1196
- installs: "installs";
1197
- uninstalls: "uninstalls";
1198
- active_installs: "active_installs";
1199
- revenue: "revenue";
1200
- page_views: "page_views";
1201
- }>>>;
1202
- }, z.core.$strip>;
1203
- /**
1204
- * Time Series Data Point
1205
- */
1206
- declare const TimeSeriesPointSchema: z.ZodObject<{
1207
- date: z.ZodString;
1208
- value: z.ZodNumber;
1209
- }, z.core.$strip>;
1210
- /**
1211
- * Publishing Analytics Response
1212
- */
1213
- declare const PublishingAnalyticsResponseSchema: z.ZodObject<{
1214
- listingId: z.ZodString;
1215
- timeRange: z.ZodEnum<{
1216
- last_7d: "last_7d";
1217
- last_30d: "last_30d";
1218
- last_90d: "last_90d";
1219
- last_365d: "last_365d";
1220
- all_time: "all_time";
1221
- }>;
1222
- summary: z.ZodObject<{
1223
- totalInstalls: z.ZodNumber;
1224
- activeInstalls: z.ZodNumber;
1225
- totalUninstalls: z.ZodNumber;
1226
- averageRating: z.ZodOptional<z.ZodNumber>;
1227
- totalRatings: z.ZodNumber;
1228
- totalRevenue: z.ZodOptional<z.ZodNumber>;
1229
- pageViews: z.ZodNumber;
1230
- }, z.core.$strip>;
1231
- timeSeries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1232
- date: z.ZodString;
1233
- value: z.ZodNumber;
1234
- }, z.core.$strip>>>>;
1235
- ratingDistribution: z.ZodOptional<z.ZodObject<{
1236
- 1: z.ZodDefault<z.ZodNumber>;
1237
- 2: z.ZodDefault<z.ZodNumber>;
1238
- 3: z.ZodDefault<z.ZodNumber>;
1239
- 4: z.ZodDefault<z.ZodNumber>;
1240
- 5: z.ZodDefault<z.ZodNumber>;
1241
- }, z.core.$strip>>;
1242
- }, z.core.$strip>;
1243
- type PublisherProfile = z.infer<typeof PublisherProfileSchema>;
1244
- type ReleaseChannel = z.infer<typeof ReleaseChannelSchema>;
1245
- type VersionRelease = z.infer<typeof VersionReleaseSchema>;
1246
- type CreateListingRequest = z.infer<typeof CreateListingRequestSchema>;
1247
- type UpdateListingRequest = z.infer<typeof UpdateListingRequestSchema>;
1248
- type ListingActionRequest = z.infer<typeof ListingActionRequestSchema>;
1249
- type AnalyticsTimeRange = z.infer<typeof AnalyticsTimeRangeSchema>;
1250
- type PublishingAnalyticsRequest = z.infer<typeof PublishingAnalyticsRequestSchema>;
1251
- type TimeSeriesPoint = z.infer<typeof TimeSeriesPointSchema>;
1252
- type PublishingAnalyticsResponse = z.infer<typeof PublishingAnalyticsResponseSchema>;
1253
-
1254
- /**
1255
- * # Marketplace Administration Protocol
1256
- *
1257
- * Defines schemas for the platform (Cloud) side of marketplace operations.
1258
- * Covers the administrative workflows for managing and governing the marketplace.
1259
- *
1260
- * ## Architecture Alignment
1261
- * - **Salesforce AppExchange Admin**: Security review, ISV monitoring, partner management
1262
- * - **Apple App Store Connect Review**: Human review process, guidelines, rejection reasons
1263
- * - **Google Play Console**: Policy enforcement, quality gates, content moderation
1264
- *
1265
- * ## Key Concepts
1266
- * - **Review Process**: Structured workflow for submission review (automated + manual)
1267
- * - **Curation**: Featured apps, curated collections, editorial picks
1268
- * - **Governance**: Policy enforcement, takedown, compliance
1269
- * - **Platform Analytics**: Marketplace health, trending, abuse detection
1270
- */
1271
- /**
1272
- * Review Criteria — checklist items for human reviewers
1273
- */
1274
- declare const ReviewCriterionSchema: z.ZodObject<{
1275
- id: z.ZodString;
1276
- category: z.ZodEnum<{
1277
- performance: "performance";
1278
- documentation: "documentation";
1279
- security: "security";
1280
- policy: "policy";
1281
- compatibility: "compatibility";
1282
- quality: "quality";
1283
- ux: "ux";
1284
- }>;
1285
- description: z.ZodString;
1286
- required: z.ZodDefault<z.ZodBoolean>;
1287
- passed: z.ZodOptional<z.ZodBoolean>;
1288
- notes: z.ZodOptional<z.ZodString>;
1289
- }, z.core.$strip>;
1290
- /**
1291
- * Review Decision
1292
- */
1293
- declare const ReviewDecisionSchema: z.ZodEnum<{
1294
- approved: "approved";
1295
- rejected: "rejected";
1296
- "changes-requested": "changes-requested";
1297
- }>;
1298
- /**
1299
- * Rejection Reason Category
1300
- */
1301
- declare const RejectionReasonSchema: z.ZodEnum<{
1302
- other: "other";
1303
- incompatible: "incompatible";
1304
- "security-vulnerability": "security-vulnerability";
1305
- "policy-violation": "policy-violation";
1306
- "quality-below-standard": "quality-below-standard";
1307
- "misleading-metadata": "misleading-metadata";
1308
- duplicate: "duplicate";
1309
- "insufficient-documentation": "insufficient-documentation";
1310
- }>;
1311
- /**
1312
- * Submission Review Schema
1313
- *
1314
- * The review record attached to a package submission.
1315
- */
1316
- declare const SubmissionReviewSchema: z.ZodObject<{
1317
- id: z.ZodString;
1318
- submissionId: z.ZodString;
1319
- reviewerId: z.ZodString;
1320
- decision: z.ZodOptional<z.ZodEnum<{
1321
- approved: "approved";
1322
- rejected: "rejected";
1323
- "changes-requested": "changes-requested";
1324
- }>>;
1325
- criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
1326
- id: z.ZodString;
1327
- category: z.ZodEnum<{
1328
- performance: "performance";
1329
- documentation: "documentation";
1330
- security: "security";
1331
- policy: "policy";
1332
- compatibility: "compatibility";
1333
- quality: "quality";
1334
- ux: "ux";
1335
- }>;
1336
- description: z.ZodString;
1337
- required: z.ZodDefault<z.ZodBoolean>;
1338
- passed: z.ZodOptional<z.ZodBoolean>;
1339
- notes: z.ZodOptional<z.ZodString>;
1340
- }, z.core.$strip>>>;
1341
- rejectionReasons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1342
- other: "other";
1343
- incompatible: "incompatible";
1344
- "security-vulnerability": "security-vulnerability";
1345
- "policy-violation": "policy-violation";
1346
- "quality-below-standard": "quality-below-standard";
1347
- "misleading-metadata": "misleading-metadata";
1348
- duplicate: "duplicate";
1349
- "insufficient-documentation": "insufficient-documentation";
1350
- }>>>;
1351
- feedback: z.ZodOptional<z.ZodString>;
1352
- internalNotes: z.ZodOptional<z.ZodString>;
1353
- startedAt: z.ZodOptional<z.ZodString>;
1354
- completedAt: z.ZodOptional<z.ZodString>;
1355
- }, z.core.$strip>;
1356
- /**
1357
- * Featured Listing — promoted on marketplace homepage
1358
- */
1359
- declare const FeaturedListingSchema: z.ZodObject<{
1360
- listingId: z.ZodString;
1361
- priority: z.ZodDefault<z.ZodNumber>;
1362
- bannerUrl: z.ZodOptional<z.ZodString>;
1363
- editorialNote: z.ZodOptional<z.ZodString>;
1364
- startDate: z.ZodString;
1365
- endDate: z.ZodOptional<z.ZodString>;
1366
- active: z.ZodDefault<z.ZodBoolean>;
1367
- }, z.core.$strip>;
1368
- /**
1369
- * Curated Collection — a themed group of listings
1370
- */
1371
- declare const CuratedCollectionSchema: z.ZodObject<{
1372
- id: z.ZodString;
1373
- name: z.ZodString;
1374
- description: z.ZodOptional<z.ZodString>;
1375
- coverImageUrl: z.ZodOptional<z.ZodString>;
1376
- listingIds: z.ZodArray<z.ZodString>;
1377
- published: z.ZodDefault<z.ZodBoolean>;
1378
- sortOrder: z.ZodDefault<z.ZodNumber>;
1379
- createdBy: z.ZodOptional<z.ZodString>;
1380
- createdAt: z.ZodOptional<z.ZodString>;
1381
- updatedAt: z.ZodOptional<z.ZodString>;
1382
- }, z.core.$strip>;
1383
- /**
1384
- * Policy Violation Type
1385
- */
1386
- declare const PolicyViolationTypeSchema: z.ZodEnum<{
1387
- malware: "malware";
1388
- "data-harvesting": "data-harvesting";
1389
- spam: "spam";
1390
- copyright: "copyright";
1391
- "inappropriate-content": "inappropriate-content";
1392
- "terms-of-service": "terms-of-service";
1393
- "security-risk": "security-risk";
1394
- abandoned: "abandoned";
1395
- }>;
1396
- /**
1397
- * Policy Action — enforcement action on a listing
1398
- */
1399
- declare const PolicyActionSchema: z.ZodObject<{
1400
- id: z.ZodString;
1401
- listingId: z.ZodString;
1402
- violationType: z.ZodEnum<{
1403
- malware: "malware";
1404
- "data-harvesting": "data-harvesting";
1405
- spam: "spam";
1406
- copyright: "copyright";
1407
- "inappropriate-content": "inappropriate-content";
1408
- "terms-of-service": "terms-of-service";
1409
- "security-risk": "security-risk";
1410
- abandoned: "abandoned";
1411
- }>;
1412
- action: z.ZodEnum<{
1413
- restrict: "restrict";
1414
- warning: "warning";
1415
- suspend: "suspend";
1416
- takedown: "takedown";
1417
- }>;
1418
- reason: z.ZodString;
1419
- actionBy: z.ZodString;
1420
- actionAt: z.ZodString;
1421
- resolution: z.ZodOptional<z.ZodString>;
1422
- resolved: z.ZodDefault<z.ZodBoolean>;
1423
- }, z.core.$strip>;
1424
- /**
1425
- * Marketplace Health Metrics — overall platform statistics
1426
- */
1427
- declare const MarketplaceHealthMetricsSchema: z.ZodObject<{
1428
- totalListings: z.ZodNumber;
1429
- listingsByStatus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1430
- listingsByCategory: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1431
- totalPublishers: z.ZodNumber;
1432
- verifiedPublishers: z.ZodNumber;
1433
- totalInstalls: z.ZodNumber;
1434
- averageReviewTime: z.ZodOptional<z.ZodNumber>;
1435
- pendingReviews: z.ZodNumber;
1436
- listingsByPricing: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1437
- snapshotAt: z.ZodString;
1438
- }, z.core.$strip>;
1439
- /**
1440
- * Trending Listing — computed from recent activity
1441
- */
1442
- declare const TrendingListingSchema: z.ZodObject<{
1443
- listingId: z.ZodString;
1444
- rank: z.ZodNumber;
1445
- trendScore: z.ZodNumber;
1446
- installVelocity: z.ZodNumber;
1447
- period: z.ZodString;
1448
- }, z.core.$strip>;
1449
- type ReviewCriterion = z.infer<typeof ReviewCriterionSchema>;
1450
- type ReviewDecision = z.infer<typeof ReviewDecisionSchema>;
1451
- type RejectionReason = z.infer<typeof RejectionReasonSchema>;
1452
- type SubmissionReview = z.infer<typeof SubmissionReviewSchema>;
1453
- type FeaturedListing = z.infer<typeof FeaturedListingSchema>;
1454
- type CuratedCollection = z.infer<typeof CuratedCollectionSchema>;
1455
- type PolicyViolationType = z.infer<typeof PolicyViolationTypeSchema>;
1456
- type PolicyAction = z.infer<typeof PolicyActionSchema>;
1457
- type MarketplaceHealthMetrics = z.infer<typeof MarketplaceHealthMetricsSchema>;
1458
- type TrendingListing = z.infer<typeof TrendingListingSchema>;
1459
-
1460
- /**
1461
- * # App Store Protocol (Customer Experience)
1462
- *
1463
- * Defines schemas for the end-customer experience when browsing, evaluating,
1464
- * installing, and managing marketplace apps from within ObjectOS.
1465
- *
1466
- * ## Architecture Alignment
1467
- * - **Salesforce AppExchange (Customer)**: Browse apps, read reviews, 1-click install
1468
- * - **Shopify App Store (Merchant)**: App evaluation, trial, install, manage subscriptions
1469
- * - **Apple App Store (User)**: Ratings, reviews, featured collections, personalized recs
1470
- *
1471
- * ## Customer Journey
1472
- * ```
1473
- * Discover → Evaluate → Install → Configure → Use → Rate/Review → Manage
1474
- * ```
1475
- *
1476
- * ## Key Concepts
1477
- * - **Reviews & Ratings**: User-submitted ratings and reviews with moderation
1478
- * - **Collections & Recommendations**: Personalized discovery and curated picks
1479
- * - **Subscription Management**: Manage licenses, billing, and renewals
1480
- * - **Installed App Management**: Enable, disable, configure, upgrade, uninstall
1481
- */
1482
- /**
1483
- * Review Moderation Status
1484
- */
1485
- declare const ReviewModerationStatusSchema: z.ZodEnum<{
1486
- approved: "approved";
1487
- pending: "pending";
1488
- rejected: "rejected";
1489
- flagged: "flagged";
1490
- }>;
1491
- /**
1492
- * User Review Schema — a customer's review of an installed app
1493
- */
1494
- declare const UserReviewSchema: z.ZodObject<{
1495
- id: z.ZodString;
1496
- listingId: z.ZodString;
1497
- userId: z.ZodString;
1498
- displayName: z.ZodOptional<z.ZodString>;
1499
- rating: z.ZodNumber;
1500
- title: z.ZodOptional<z.ZodString>;
1501
- body: z.ZodOptional<z.ZodString>;
1502
- appVersion: z.ZodOptional<z.ZodString>;
1503
- moderationStatus: z.ZodDefault<z.ZodEnum<{
1504
- approved: "approved";
1505
- pending: "pending";
1506
- rejected: "rejected";
1507
- flagged: "flagged";
1508
- }>>;
1509
- helpfulCount: z.ZodDefault<z.ZodNumber>;
1510
- publisherResponse: z.ZodOptional<z.ZodObject<{
1511
- body: z.ZodString;
1512
- respondedAt: z.ZodString;
1513
- }, z.core.$strip>>;
1514
- submittedAt: z.ZodString;
1515
- updatedAt: z.ZodOptional<z.ZodString>;
1516
- }, z.core.$strip>;
1517
- /**
1518
- * Submit Review Request
1519
- */
1520
- declare const SubmitReviewRequestSchema: z.ZodObject<{
1521
- listingId: z.ZodString;
1522
- rating: z.ZodNumber;
1523
- title: z.ZodOptional<z.ZodString>;
1524
- body: z.ZodOptional<z.ZodString>;
1525
- }, z.core.$strip>;
1526
- /**
1527
- * List Reviews Request — customer browsing reviews
1528
- */
1529
- declare const ListReviewsRequestSchema: z.ZodObject<{
1530
- listingId: z.ZodString;
1531
- sortBy: z.ZodDefault<z.ZodEnum<{
1532
- oldest: "oldest";
1533
- newest: "newest";
1534
- highest: "highest";
1535
- lowest: "lowest";
1536
- "most-helpful": "most-helpful";
1537
- }>>;
1538
- rating: z.ZodOptional<z.ZodNumber>;
1539
- page: z.ZodDefault<z.ZodNumber>;
1540
- pageSize: z.ZodDefault<z.ZodNumber>;
1541
- }, z.core.$strip>;
1542
- /**
1543
- * List Reviews Response
1544
- */
1545
- declare const ListReviewsResponseSchema: z.ZodObject<{
1546
- items: z.ZodArray<z.ZodObject<{
1547
- id: z.ZodString;
1548
- listingId: z.ZodString;
1549
- userId: z.ZodString;
1550
- displayName: z.ZodOptional<z.ZodString>;
1551
- rating: z.ZodNumber;
1552
- title: z.ZodOptional<z.ZodString>;
1553
- body: z.ZodOptional<z.ZodString>;
1554
- appVersion: z.ZodOptional<z.ZodString>;
1555
- moderationStatus: z.ZodDefault<z.ZodEnum<{
1556
- approved: "approved";
1557
- pending: "pending";
1558
- rejected: "rejected";
1559
- flagged: "flagged";
1560
- }>>;
1561
- helpfulCount: z.ZodDefault<z.ZodNumber>;
1562
- publisherResponse: z.ZodOptional<z.ZodObject<{
1563
- body: z.ZodString;
1564
- respondedAt: z.ZodString;
1565
- }, z.core.$strip>>;
1566
- submittedAt: z.ZodString;
1567
- updatedAt: z.ZodOptional<z.ZodString>;
1568
- }, z.core.$strip>>;
1569
- total: z.ZodNumber;
1570
- page: z.ZodNumber;
1571
- pageSize: z.ZodNumber;
1572
- ratingSummary: z.ZodOptional<z.ZodObject<{
1573
- averageRating: z.ZodNumber;
1574
- totalRatings: z.ZodNumber;
1575
- distribution: z.ZodObject<{
1576
- 1: z.ZodDefault<z.ZodNumber>;
1577
- 2: z.ZodDefault<z.ZodNumber>;
1578
- 3: z.ZodDefault<z.ZodNumber>;
1579
- 4: z.ZodDefault<z.ZodNumber>;
1580
- 5: z.ZodDefault<z.ZodNumber>;
1581
- }, z.core.$strip>;
1582
- }, z.core.$strip>>;
1583
- }, z.core.$strip>;
1584
- /**
1585
- * App Recommendation Reason
1586
- */
1587
- declare const RecommendationReasonSchema: z.ZodEnum<{
1588
- "popular-in-category": "popular-in-category";
1589
- "similar-users": "similar-users";
1590
- "complements-installed": "complements-installed";
1591
- trending: "trending";
1592
- "new-release": "new-release";
1593
- "editor-pick": "editor-pick";
1594
- }>;
1595
- /**
1596
- * Recommended App
1597
- */
1598
- declare const RecommendedAppSchema: z.ZodObject<{
1599
- listingId: z.ZodString;
1600
- name: z.ZodString;
1601
- tagline: z.ZodOptional<z.ZodString>;
1602
- iconUrl: z.ZodOptional<z.ZodString>;
1603
- category: z.ZodEnum<{
1604
- other: "other";
1605
- security: "security";
1606
- integration: "integration";
1607
- storage: "storage";
1608
- automation: "automation";
1609
- analytics: "analytics";
1610
- ai: "ai";
1611
- crm: "crm";
1612
- erp: "erp";
1613
- hr: "hr";
1614
- finance: "finance";
1615
- project: "project";
1616
- collaboration: "collaboration";
1617
- "developer-tools": "developer-tools";
1618
- "ui-theme": "ui-theme";
1619
- }>;
1620
- pricing: z.ZodEnum<{
1621
- free: "free";
1622
- freemium: "freemium";
1623
- paid: "paid";
1624
- subscription: "subscription";
1625
- "usage-based": "usage-based";
1626
- "contact-sales": "contact-sales";
1627
- }>;
1628
- averageRating: z.ZodOptional<z.ZodNumber>;
1629
- activeInstalls: z.ZodOptional<z.ZodNumber>;
1630
- reason: z.ZodEnum<{
1631
- "popular-in-category": "popular-in-category";
1632
- "similar-users": "similar-users";
1633
- "complements-installed": "complements-installed";
1634
- trending: "trending";
1635
- "new-release": "new-release";
1636
- "editor-pick": "editor-pick";
1637
- }>;
1638
- }, z.core.$strip>;
1639
- /**
1640
- * App Discovery Request — personalized browse/home page
1641
- */
1642
- declare const AppDiscoveryRequestSchema: z.ZodObject<{
1643
- tenantId: z.ZodOptional<z.ZodString>;
1644
- categories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1645
- other: "other";
1646
- security: "security";
1647
- integration: "integration";
1648
- storage: "storage";
1649
- automation: "automation";
1650
- analytics: "analytics";
1651
- ai: "ai";
1652
- crm: "crm";
1653
- erp: "erp";
1654
- hr: "hr";
1655
- finance: "finance";
1656
- project: "project";
1657
- collaboration: "collaboration";
1658
- "developer-tools": "developer-tools";
1659
- "ui-theme": "ui-theme";
1660
- }>>>;
1661
- platformVersion: z.ZodOptional<z.ZodString>;
1662
- limit: z.ZodDefault<z.ZodNumber>;
1663
- }, z.core.$strip>;
1664
- /**
1665
- * App Discovery Response — structured content for the storefront
1666
- */
1667
- declare const AppDiscoveryResponseSchema: z.ZodObject<{
1668
- featured: z.ZodOptional<z.ZodArray<z.ZodObject<{
1669
- listingId: z.ZodString;
1670
- name: z.ZodString;
1671
- tagline: z.ZodOptional<z.ZodString>;
1672
- iconUrl: z.ZodOptional<z.ZodString>;
1673
- category: z.ZodEnum<{
1674
- other: "other";
1675
- security: "security";
1676
- integration: "integration";
1677
- storage: "storage";
1678
- automation: "automation";
1679
- analytics: "analytics";
1680
- ai: "ai";
1681
- crm: "crm";
1682
- erp: "erp";
1683
- hr: "hr";
1684
- finance: "finance";
1685
- project: "project";
1686
- collaboration: "collaboration";
1687
- "developer-tools": "developer-tools";
1688
- "ui-theme": "ui-theme";
1689
- }>;
1690
- pricing: z.ZodEnum<{
1691
- free: "free";
1692
- freemium: "freemium";
1693
- paid: "paid";
1694
- subscription: "subscription";
1695
- "usage-based": "usage-based";
1696
- "contact-sales": "contact-sales";
1697
- }>;
1698
- averageRating: z.ZodOptional<z.ZodNumber>;
1699
- activeInstalls: z.ZodOptional<z.ZodNumber>;
1700
- reason: z.ZodEnum<{
1701
- "popular-in-category": "popular-in-category";
1702
- "similar-users": "similar-users";
1703
- "complements-installed": "complements-installed";
1704
- trending: "trending";
1705
- "new-release": "new-release";
1706
- "editor-pick": "editor-pick";
1707
- }>;
1708
- }, z.core.$strip>>>;
1709
- recommended: z.ZodOptional<z.ZodArray<z.ZodObject<{
1710
- listingId: z.ZodString;
1711
- name: z.ZodString;
1712
- tagline: z.ZodOptional<z.ZodString>;
1713
- iconUrl: z.ZodOptional<z.ZodString>;
1714
- category: z.ZodEnum<{
1715
- other: "other";
1716
- security: "security";
1717
- integration: "integration";
1718
- storage: "storage";
1719
- automation: "automation";
1720
- analytics: "analytics";
1721
- ai: "ai";
1722
- crm: "crm";
1723
- erp: "erp";
1724
- hr: "hr";
1725
- finance: "finance";
1726
- project: "project";
1727
- collaboration: "collaboration";
1728
- "developer-tools": "developer-tools";
1729
- "ui-theme": "ui-theme";
1730
- }>;
1731
- pricing: z.ZodEnum<{
1732
- free: "free";
1733
- freemium: "freemium";
1734
- paid: "paid";
1735
- subscription: "subscription";
1736
- "usage-based": "usage-based";
1737
- "contact-sales": "contact-sales";
1738
- }>;
1739
- averageRating: z.ZodOptional<z.ZodNumber>;
1740
- activeInstalls: z.ZodOptional<z.ZodNumber>;
1741
- reason: z.ZodEnum<{
1742
- "popular-in-category": "popular-in-category";
1743
- "similar-users": "similar-users";
1744
- "complements-installed": "complements-installed";
1745
- trending: "trending";
1746
- "new-release": "new-release";
1747
- "editor-pick": "editor-pick";
1748
- }>;
1749
- }, z.core.$strip>>>;
1750
- trending: z.ZodOptional<z.ZodArray<z.ZodObject<{
1751
- listingId: z.ZodString;
1752
- name: z.ZodString;
1753
- tagline: z.ZodOptional<z.ZodString>;
1754
- iconUrl: z.ZodOptional<z.ZodString>;
1755
- category: z.ZodEnum<{
1756
- other: "other";
1757
- security: "security";
1758
- integration: "integration";
1759
- storage: "storage";
1760
- automation: "automation";
1761
- analytics: "analytics";
1762
- ai: "ai";
1763
- crm: "crm";
1764
- erp: "erp";
1765
- hr: "hr";
1766
- finance: "finance";
1767
- project: "project";
1768
- collaboration: "collaboration";
1769
- "developer-tools": "developer-tools";
1770
- "ui-theme": "ui-theme";
1771
- }>;
1772
- pricing: z.ZodEnum<{
1773
- free: "free";
1774
- freemium: "freemium";
1775
- paid: "paid";
1776
- subscription: "subscription";
1777
- "usage-based": "usage-based";
1778
- "contact-sales": "contact-sales";
1779
- }>;
1780
- averageRating: z.ZodOptional<z.ZodNumber>;
1781
- activeInstalls: z.ZodOptional<z.ZodNumber>;
1782
- reason: z.ZodEnum<{
1783
- "popular-in-category": "popular-in-category";
1784
- "similar-users": "similar-users";
1785
- "complements-installed": "complements-installed";
1786
- trending: "trending";
1787
- "new-release": "new-release";
1788
- "editor-pick": "editor-pick";
1789
- }>;
1790
- }, z.core.$strip>>>;
1791
- newArrivals: z.ZodOptional<z.ZodArray<z.ZodObject<{
1792
- listingId: z.ZodString;
1793
- name: z.ZodString;
1794
- tagline: z.ZodOptional<z.ZodString>;
1795
- iconUrl: z.ZodOptional<z.ZodString>;
1796
- category: z.ZodEnum<{
1797
- other: "other";
1798
- security: "security";
1799
- integration: "integration";
1800
- storage: "storage";
1801
- automation: "automation";
1802
- analytics: "analytics";
1803
- ai: "ai";
1804
- crm: "crm";
1805
- erp: "erp";
1806
- hr: "hr";
1807
- finance: "finance";
1808
- project: "project";
1809
- collaboration: "collaboration";
1810
- "developer-tools": "developer-tools";
1811
- "ui-theme": "ui-theme";
1812
- }>;
1813
- pricing: z.ZodEnum<{
1814
- free: "free";
1815
- freemium: "freemium";
1816
- paid: "paid";
1817
- subscription: "subscription";
1818
- "usage-based": "usage-based";
1819
- "contact-sales": "contact-sales";
1820
- }>;
1821
- averageRating: z.ZodOptional<z.ZodNumber>;
1822
- activeInstalls: z.ZodOptional<z.ZodNumber>;
1823
- reason: z.ZodEnum<{
1824
- "popular-in-category": "popular-in-category";
1825
- "similar-users": "similar-users";
1826
- "complements-installed": "complements-installed";
1827
- trending: "trending";
1828
- "new-release": "new-release";
1829
- "editor-pick": "editor-pick";
1830
- }>;
1831
- }, z.core.$strip>>>;
1832
- collections: z.ZodOptional<z.ZodArray<z.ZodObject<{
1833
- id: z.ZodString;
1834
- name: z.ZodString;
1835
- description: z.ZodOptional<z.ZodString>;
1836
- coverImageUrl: z.ZodOptional<z.ZodString>;
1837
- apps: z.ZodArray<z.ZodObject<{
1838
- listingId: z.ZodString;
1839
- name: z.ZodString;
1840
- tagline: z.ZodOptional<z.ZodString>;
1841
- iconUrl: z.ZodOptional<z.ZodString>;
1842
- category: z.ZodEnum<{
1843
- other: "other";
1844
- security: "security";
1845
- integration: "integration";
1846
- storage: "storage";
1847
- automation: "automation";
1848
- analytics: "analytics";
1849
- ai: "ai";
1850
- crm: "crm";
1851
- erp: "erp";
1852
- hr: "hr";
1853
- finance: "finance";
1854
- project: "project";
1855
- collaboration: "collaboration";
1856
- "developer-tools": "developer-tools";
1857
- "ui-theme": "ui-theme";
1858
- }>;
1859
- pricing: z.ZodEnum<{
1860
- free: "free";
1861
- freemium: "freemium";
1862
- paid: "paid";
1863
- subscription: "subscription";
1864
- "usage-based": "usage-based";
1865
- "contact-sales": "contact-sales";
1866
- }>;
1867
- averageRating: z.ZodOptional<z.ZodNumber>;
1868
- activeInstalls: z.ZodOptional<z.ZodNumber>;
1869
- reason: z.ZodEnum<{
1870
- "popular-in-category": "popular-in-category";
1871
- "similar-users": "similar-users";
1872
- "complements-installed": "complements-installed";
1873
- trending: "trending";
1874
- "new-release": "new-release";
1875
- "editor-pick": "editor-pick";
1876
- }>;
1877
- }, z.core.$strip>>;
1878
- }, z.core.$strip>>>;
1879
- }, z.core.$strip>;
1880
- /**
1881
- * Subscription Status
1882
- */
1883
- declare const SubscriptionStatusSchema: z.ZodEnum<{
1884
- active: "active";
1885
- cancelled: "cancelled";
1886
- expired: "expired";
1887
- trialing: "trialing";
1888
- "past-due": "past-due";
1889
- }>;
1890
- /**
1891
- * App Subscription Schema — customer's license/subscription for an app
1892
- */
1893
- declare const AppSubscriptionSchema: z.ZodObject<{
1894
- id: z.ZodString;
1895
- listingId: z.ZodString;
1896
- tenantId: z.ZodString;
1897
- status: z.ZodEnum<{
1898
- active: "active";
1899
- cancelled: "cancelled";
1900
- expired: "expired";
1901
- trialing: "trialing";
1902
- "past-due": "past-due";
1903
- }>;
1904
- licenseKey: z.ZodOptional<z.ZodString>;
1905
- plan: z.ZodOptional<z.ZodString>;
1906
- billingCycle: z.ZodOptional<z.ZodEnum<{
1907
- monthly: "monthly";
1908
- annual: "annual";
1909
- }>>;
1910
- priceInCents: z.ZodOptional<z.ZodNumber>;
1911
- currentPeriodStart: z.ZodOptional<z.ZodString>;
1912
- currentPeriodEnd: z.ZodOptional<z.ZodString>;
1913
- trialEndDate: z.ZodOptional<z.ZodString>;
1914
- autoRenew: z.ZodDefault<z.ZodBoolean>;
1915
- createdAt: z.ZodString;
1916
- }, z.core.$strip>;
1917
- /**
1918
- * Installed App Summary — what the customer sees in their "My Apps" dashboard
1919
- */
1920
- declare const InstalledAppSummarySchema: z.ZodObject<{
1921
- listingId: z.ZodString;
1922
- packageId: z.ZodString;
1923
- name: z.ZodString;
1924
- iconUrl: z.ZodOptional<z.ZodString>;
1925
- installedVersion: z.ZodString;
1926
- latestVersion: z.ZodOptional<z.ZodString>;
1927
- updateAvailable: z.ZodDefault<z.ZodBoolean>;
1928
- enabled: z.ZodDefault<z.ZodBoolean>;
1929
- subscriptionStatus: z.ZodOptional<z.ZodEnum<{
1930
- active: "active";
1931
- cancelled: "cancelled";
1932
- expired: "expired";
1933
- trialing: "trialing";
1934
- "past-due": "past-due";
1935
- }>>;
1936
- installedAt: z.ZodString;
1937
- }, z.core.$strip>;
1938
- /**
1939
- * List Installed Apps Request
1940
- */
1941
- declare const ListInstalledAppsRequestSchema: z.ZodObject<{
1942
- tenantId: z.ZodOptional<z.ZodString>;
1943
- enabled: z.ZodOptional<z.ZodBoolean>;
1944
- updateAvailable: z.ZodOptional<z.ZodBoolean>;
1945
- sortBy: z.ZodDefault<z.ZodEnum<{
1946
- name: "name";
1947
- "installed-date": "installed-date";
1948
- "updated-date": "updated-date";
1949
- }>>;
1950
- page: z.ZodDefault<z.ZodNumber>;
1951
- pageSize: z.ZodDefault<z.ZodNumber>;
1952
- }, z.core.$strip>;
1953
- /**
1954
- * List Installed Apps Response
1955
- */
1956
- declare const ListInstalledAppsResponseSchema: z.ZodObject<{
1957
- items: z.ZodArray<z.ZodObject<{
1958
- listingId: z.ZodString;
1959
- packageId: z.ZodString;
1960
- name: z.ZodString;
1961
- iconUrl: z.ZodOptional<z.ZodString>;
1962
- installedVersion: z.ZodString;
1963
- latestVersion: z.ZodOptional<z.ZodString>;
1964
- updateAvailable: z.ZodDefault<z.ZodBoolean>;
1965
- enabled: z.ZodDefault<z.ZodBoolean>;
1966
- subscriptionStatus: z.ZodOptional<z.ZodEnum<{
1967
- active: "active";
1968
- cancelled: "cancelled";
1969
- expired: "expired";
1970
- trialing: "trialing";
1971
- "past-due": "past-due";
1972
- }>>;
1973
- installedAt: z.ZodString;
1974
- }, z.core.$strip>>;
1975
- total: z.ZodNumber;
1976
- page: z.ZodNumber;
1977
- pageSize: z.ZodNumber;
1978
- }, z.core.$strip>;
1979
- type ReviewModerationStatus = z.infer<typeof ReviewModerationStatusSchema>;
1980
- type UserReview = z.infer<typeof UserReviewSchema>;
1981
- type SubmitReviewRequest = z.infer<typeof SubmitReviewRequestSchema>;
1982
- type ListReviewsRequest = z.infer<typeof ListReviewsRequestSchema>;
1983
- type ListReviewsResponse = z.infer<typeof ListReviewsResponseSchema>;
1984
- type RecommendationReason = z.infer<typeof RecommendationReasonSchema>;
1985
- type RecommendedApp = z.infer<typeof RecommendedAppSchema>;
1986
- type AppDiscoveryRequest = z.infer<typeof AppDiscoveryRequestSchema>;
1987
- type AppDiscoveryResponse = z.infer<typeof AppDiscoveryResponseSchema>;
1988
- type SubscriptionStatus = z.infer<typeof SubscriptionStatusSchema>;
1989
- type AppSubscription = z.infer<typeof AppSubscriptionSchema>;
1990
- type InstalledAppSummary = z.infer<typeof InstalledAppSummarySchema>;
1991
- type ListInstalledAppsRequest = z.infer<typeof ListInstalledAppsRequestSchema>;
1992
- type ListInstalledAppsResponse = z.infer<typeof ListInstalledAppsResponseSchema>;
1993
-
1994
- /**
1995
- * Cloud Protocol
1996
- *
1997
- * Cloud-specific protocols for the ObjectStack SaaS platform.
1998
- * These schemas define the contract for cloud services like:
1999
- * - Marketplace (listing, publishing, review, search, install)
2000
- * - Developer Portal (developer registration, API keys, publishing analytics)
2001
- * - Marketplace Administration (review workflow, curation, governance)
2002
- * - App Store (customer experience: reviews, recommendations, subscriptions)
2003
- * - Future: Composer, Space, Hub Federation
2004
- */
2005
-
2006
- type index$2_AnalyticsTimeRange = AnalyticsTimeRange;
2007
- declare const index$2_AnalyticsTimeRangeSchema: typeof AnalyticsTimeRangeSchema;
2008
- type index$2_AppDiscoveryRequest = AppDiscoveryRequest;
2009
- declare const index$2_AppDiscoveryRequestSchema: typeof AppDiscoveryRequestSchema;
2010
- type index$2_AppDiscoveryResponse = AppDiscoveryResponse;
2011
- declare const index$2_AppDiscoveryResponseSchema: typeof AppDiscoveryResponseSchema;
2012
- type index$2_AppSubscription = AppSubscription;
2013
- declare const index$2_AppSubscriptionSchema: typeof AppSubscriptionSchema;
2014
- type index$2_CreateListingRequest = CreateListingRequest;
2015
- declare const index$2_CreateListingRequestSchema: typeof CreateListingRequestSchema;
2016
- type index$2_CuratedCollection = CuratedCollection;
2017
- declare const index$2_CuratedCollectionSchema: typeof CuratedCollectionSchema;
2018
- type index$2_FeaturedListing = FeaturedListing;
2019
- declare const index$2_FeaturedListingSchema: typeof FeaturedListingSchema;
2020
- type index$2_InstalledAppSummary = InstalledAppSummary;
2021
- declare const index$2_InstalledAppSummarySchema: typeof InstalledAppSummarySchema;
2022
- type index$2_ListInstalledAppsRequest = ListInstalledAppsRequest;
2023
- declare const index$2_ListInstalledAppsRequestSchema: typeof ListInstalledAppsRequestSchema;
2024
- type index$2_ListInstalledAppsResponse = ListInstalledAppsResponse;
2025
- declare const index$2_ListInstalledAppsResponseSchema: typeof ListInstalledAppsResponseSchema;
2026
- type index$2_ListReviewsRequest = ListReviewsRequest;
2027
- declare const index$2_ListReviewsRequestSchema: typeof ListReviewsRequestSchema;
2028
- type index$2_ListReviewsResponse = ListReviewsResponse;
2029
- declare const index$2_ListReviewsResponseSchema: typeof ListReviewsResponseSchema;
2030
- type index$2_ListingActionRequest = ListingActionRequest;
2031
- declare const index$2_ListingActionRequestSchema: typeof ListingActionRequestSchema;
2032
- type index$2_ListingStatus = ListingStatus;
2033
- declare const index$2_ListingStatusSchema: typeof ListingStatusSchema;
2034
- type index$2_MarketplaceCategory = MarketplaceCategory;
2035
- declare const index$2_MarketplaceCategorySchema: typeof MarketplaceCategorySchema;
2036
- type index$2_MarketplaceHealthMetrics = MarketplaceHealthMetrics;
2037
- declare const index$2_MarketplaceHealthMetricsSchema: typeof MarketplaceHealthMetricsSchema;
2038
- type index$2_MarketplaceInstallRequest = MarketplaceInstallRequest;
2039
- declare const index$2_MarketplaceInstallRequestSchema: typeof MarketplaceInstallRequestSchema;
2040
- type index$2_MarketplaceInstallResponse = MarketplaceInstallResponse;
2041
- declare const index$2_MarketplaceInstallResponseSchema: typeof MarketplaceInstallResponseSchema;
2042
- type index$2_MarketplaceListing = MarketplaceListing;
2043
- declare const index$2_MarketplaceListingSchema: typeof MarketplaceListingSchema;
2044
- type index$2_MarketplaceSearchRequest = MarketplaceSearchRequest;
2045
- declare const index$2_MarketplaceSearchRequestSchema: typeof MarketplaceSearchRequestSchema;
2046
- type index$2_MarketplaceSearchResponse = MarketplaceSearchResponse;
2047
- declare const index$2_MarketplaceSearchResponseSchema: typeof MarketplaceSearchResponseSchema;
2048
- type index$2_PackageSubmission = PackageSubmission;
2049
- declare const index$2_PackageSubmissionSchema: typeof PackageSubmissionSchema;
2050
- type index$2_PolicyAction = PolicyAction;
2051
- declare const index$2_PolicyActionSchema: typeof PolicyActionSchema;
2052
- type index$2_PolicyViolationType = PolicyViolationType;
2053
- declare const index$2_PolicyViolationTypeSchema: typeof PolicyViolationTypeSchema;
2054
- type index$2_PricingModel = PricingModel;
2055
- declare const index$2_PricingModelSchema: typeof PricingModelSchema;
2056
- type index$2_Publisher = Publisher;
2057
- type index$2_PublisherProfile = PublisherProfile;
2058
- declare const index$2_PublisherProfileSchema: typeof PublisherProfileSchema;
2059
- declare const index$2_PublisherSchema: typeof PublisherSchema;
2060
- type index$2_PublisherVerification = PublisherVerification;
2061
- declare const index$2_PublisherVerificationSchema: typeof PublisherVerificationSchema;
2062
- type index$2_PublishingAnalyticsRequest = PublishingAnalyticsRequest;
2063
- declare const index$2_PublishingAnalyticsRequestSchema: typeof PublishingAnalyticsRequestSchema;
2064
- type index$2_PublishingAnalyticsResponse = PublishingAnalyticsResponse;
2065
- declare const index$2_PublishingAnalyticsResponseSchema: typeof PublishingAnalyticsResponseSchema;
2066
- type index$2_RecommendationReason = RecommendationReason;
2067
- declare const index$2_RecommendationReasonSchema: typeof RecommendationReasonSchema;
2068
- type index$2_RecommendedApp = RecommendedApp;
2069
- declare const index$2_RecommendedAppSchema: typeof RecommendedAppSchema;
2070
- type index$2_RejectionReason = RejectionReason;
2071
- declare const index$2_RejectionReasonSchema: typeof RejectionReasonSchema;
2072
- type index$2_ReleaseChannel = ReleaseChannel;
2073
- declare const index$2_ReleaseChannelSchema: typeof ReleaseChannelSchema;
2074
- type index$2_ReviewCriterion = ReviewCriterion;
2075
- declare const index$2_ReviewCriterionSchema: typeof ReviewCriterionSchema;
2076
- type index$2_ReviewDecision = ReviewDecision;
2077
- declare const index$2_ReviewDecisionSchema: typeof ReviewDecisionSchema;
2078
- type index$2_ReviewModerationStatus = ReviewModerationStatus;
2079
- declare const index$2_ReviewModerationStatusSchema: typeof ReviewModerationStatusSchema;
2080
- type index$2_SubmissionReview = SubmissionReview;
2081
- declare const index$2_SubmissionReviewSchema: typeof SubmissionReviewSchema;
2082
- type index$2_SubmitReviewRequest = SubmitReviewRequest;
2083
- declare const index$2_SubmitReviewRequestSchema: typeof SubmitReviewRequestSchema;
2084
- type index$2_SubscriptionStatus = SubscriptionStatus;
2085
- declare const index$2_SubscriptionStatusSchema: typeof SubscriptionStatusSchema;
2086
- type index$2_TimeSeriesPoint = TimeSeriesPoint;
2087
- declare const index$2_TimeSeriesPointSchema: typeof TimeSeriesPointSchema;
2088
- type index$2_TrendingListing = TrendingListing;
2089
- declare const index$2_TrendingListingSchema: typeof TrendingListingSchema;
2090
- type index$2_UpdateListingRequest = UpdateListingRequest;
2091
- declare const index$2_UpdateListingRequestSchema: typeof UpdateListingRequestSchema;
2092
- type index$2_UserReview = UserReview;
2093
- declare const index$2_UserReviewSchema: typeof UserReviewSchema;
2094
- type index$2_VersionRelease = VersionRelease;
2095
- declare const index$2_VersionReleaseSchema: typeof VersionReleaseSchema;
2096
- declare namespace index$2 {
2097
- export { type index$2_AnalyticsTimeRange as AnalyticsTimeRange, index$2_AnalyticsTimeRangeSchema as AnalyticsTimeRangeSchema, type index$2_AppDiscoveryRequest as AppDiscoveryRequest, index$2_AppDiscoveryRequestSchema as AppDiscoveryRequestSchema, type index$2_AppDiscoveryResponse as AppDiscoveryResponse, index$2_AppDiscoveryResponseSchema as AppDiscoveryResponseSchema, type index$2_AppSubscription as AppSubscription, index$2_AppSubscriptionSchema as AppSubscriptionSchema, type index$2_CreateListingRequest as CreateListingRequest, index$2_CreateListingRequestSchema as CreateListingRequestSchema, type index$2_CuratedCollection as CuratedCollection, index$2_CuratedCollectionSchema as CuratedCollectionSchema, type index$2_FeaturedListing as FeaturedListing, index$2_FeaturedListingSchema as FeaturedListingSchema, type index$2_InstalledAppSummary as InstalledAppSummary, index$2_InstalledAppSummarySchema as InstalledAppSummarySchema, type index$2_ListInstalledAppsRequest as ListInstalledAppsRequest, index$2_ListInstalledAppsRequestSchema as ListInstalledAppsRequestSchema, type index$2_ListInstalledAppsResponse as ListInstalledAppsResponse, index$2_ListInstalledAppsResponseSchema as ListInstalledAppsResponseSchema, type index$2_ListReviewsRequest as ListReviewsRequest, index$2_ListReviewsRequestSchema as ListReviewsRequestSchema, type index$2_ListReviewsResponse as ListReviewsResponse, index$2_ListReviewsResponseSchema as ListReviewsResponseSchema, type index$2_ListingActionRequest as ListingActionRequest, index$2_ListingActionRequestSchema as ListingActionRequestSchema, type index$2_ListingStatus as ListingStatus, index$2_ListingStatusSchema as ListingStatusSchema, type index$2_MarketplaceCategory as MarketplaceCategory, index$2_MarketplaceCategorySchema as MarketplaceCategorySchema, type index$2_MarketplaceHealthMetrics as MarketplaceHealthMetrics, index$2_MarketplaceHealthMetricsSchema as MarketplaceHealthMetricsSchema, type index$2_MarketplaceInstallRequest as MarketplaceInstallRequest, index$2_MarketplaceInstallRequestSchema as MarketplaceInstallRequestSchema, type index$2_MarketplaceInstallResponse as MarketplaceInstallResponse, index$2_MarketplaceInstallResponseSchema as MarketplaceInstallResponseSchema, type index$2_MarketplaceListing as MarketplaceListing, index$2_MarketplaceListingSchema as MarketplaceListingSchema, type index$2_MarketplaceSearchRequest as MarketplaceSearchRequest, index$2_MarketplaceSearchRequestSchema as MarketplaceSearchRequestSchema, type index$2_MarketplaceSearchResponse as MarketplaceSearchResponse, index$2_MarketplaceSearchResponseSchema as MarketplaceSearchResponseSchema, type index$2_PackageSubmission as PackageSubmission, index$2_PackageSubmissionSchema as PackageSubmissionSchema, type index$2_PolicyAction as PolicyAction, index$2_PolicyActionSchema as PolicyActionSchema, type index$2_PolicyViolationType as PolicyViolationType, index$2_PolicyViolationTypeSchema as PolicyViolationTypeSchema, type index$2_PricingModel as PricingModel, index$2_PricingModelSchema as PricingModelSchema, type index$2_Publisher as Publisher, type index$2_PublisherProfile as PublisherProfile, index$2_PublisherProfileSchema as PublisherProfileSchema, index$2_PublisherSchema as PublisherSchema, type index$2_PublisherVerification as PublisherVerification, index$2_PublisherVerificationSchema as PublisherVerificationSchema, type index$2_PublishingAnalyticsRequest as PublishingAnalyticsRequest, index$2_PublishingAnalyticsRequestSchema as PublishingAnalyticsRequestSchema, type index$2_PublishingAnalyticsResponse as PublishingAnalyticsResponse, index$2_PublishingAnalyticsResponseSchema as PublishingAnalyticsResponseSchema, type index$2_RecommendationReason as RecommendationReason, index$2_RecommendationReasonSchema as RecommendationReasonSchema, type index$2_RecommendedApp as RecommendedApp, index$2_RecommendedAppSchema as RecommendedAppSchema, type index$2_RejectionReason as RejectionReason, index$2_RejectionReasonSchema as RejectionReasonSchema, type index$2_ReleaseChannel as ReleaseChannel, index$2_ReleaseChannelSchema as ReleaseChannelSchema, type index$2_ReviewCriterion as ReviewCriterion, index$2_ReviewCriterionSchema as ReviewCriterionSchema, type index$2_ReviewDecision as ReviewDecision, index$2_ReviewDecisionSchema as ReviewDecisionSchema, type index$2_ReviewModerationStatus as ReviewModerationStatus, index$2_ReviewModerationStatusSchema as ReviewModerationStatusSchema, type index$2_SubmissionReview as SubmissionReview, index$2_SubmissionReviewSchema as SubmissionReviewSchema, type index$2_SubmitReviewRequest as SubmitReviewRequest, index$2_SubmitReviewRequestSchema as SubmitReviewRequestSchema, type index$2_SubscriptionStatus as SubscriptionStatus, index$2_SubscriptionStatusSchema as SubscriptionStatusSchema, type index$2_TimeSeriesPoint as TimeSeriesPoint, index$2_TimeSeriesPointSchema as TimeSeriesPointSchema, type index$2_TrendingListing as TrendingListing, index$2_TrendingListingSchema as TrendingListingSchema, type index$2_UpdateListingRequest as UpdateListingRequest, index$2_UpdateListingRequestSchema as UpdateListingRequestSchema, type index$2_UserReview as UserReview, index$2_UserReviewSchema as UserReviewSchema, type index$2_VersionRelease as VersionRelease, index$2_VersionReleaseSchema as VersionReleaseSchema };
2098
- }
2099
-
2100
- declare const TestContextSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2101
- declare const TestActionTypeSchema: z.ZodEnum<{
2102
- create_record: "create_record";
2103
- update_record: "update_record";
2104
- delete_record: "delete_record";
2105
- read_record: "read_record";
2106
- query_records: "query_records";
2107
- api_call: "api_call";
2108
- run_script: "run_script";
2109
- wait: "wait";
2110
- }>;
2111
- declare const TestActionSchema: z.ZodObject<{
2112
- type: z.ZodEnum<{
2113
- create_record: "create_record";
2114
- update_record: "update_record";
2115
- delete_record: "delete_record";
2116
- read_record: "read_record";
2117
- query_records: "query_records";
2118
- api_call: "api_call";
2119
- run_script: "run_script";
2120
- wait: "wait";
2121
- }>;
2122
- target: z.ZodString;
2123
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2124
- user: z.ZodOptional<z.ZodString>;
2125
- }, z.core.$strip>;
2126
- declare const TestAssertionTypeSchema: z.ZodEnum<{
2127
- error: "error";
2128
- equals: "equals";
2129
- contains: "contains";
2130
- gt: "gt";
2131
- gte: "gte";
2132
- lt: "lt";
2133
- lte: "lte";
2134
- not_equals: "not_equals";
2135
- is_null: "is_null";
2136
- not_contains: "not_contains";
2137
- not_null: "not_null";
2138
- }>;
2139
- declare const TestAssertionSchema: z.ZodObject<{
2140
- field: z.ZodString;
2141
- operator: z.ZodEnum<{
2142
- error: "error";
2143
- equals: "equals";
2144
- contains: "contains";
2145
- gt: "gt";
2146
- gte: "gte";
2147
- lt: "lt";
2148
- lte: "lte";
2149
- not_equals: "not_equals";
2150
- is_null: "is_null";
2151
- not_contains: "not_contains";
2152
- not_null: "not_null";
2153
- }>;
2154
- expectedValue: z.ZodUnknown;
2155
- }, z.core.$strip>;
2156
- declare const TestStepSchema: z.ZodObject<{
2157
- name: z.ZodString;
2158
- description: z.ZodOptional<z.ZodString>;
2159
- action: z.ZodObject<{
2160
- type: z.ZodEnum<{
2161
- create_record: "create_record";
2162
- update_record: "update_record";
2163
- delete_record: "delete_record";
2164
- read_record: "read_record";
2165
- query_records: "query_records";
2166
- api_call: "api_call";
2167
- run_script: "run_script";
2168
- wait: "wait";
2169
- }>;
2170
- target: z.ZodString;
2171
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2172
- user: z.ZodOptional<z.ZodString>;
2173
- }, z.core.$strip>;
2174
- assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2175
- field: z.ZodString;
2176
- operator: z.ZodEnum<{
2177
- error: "error";
2178
- equals: "equals";
2179
- contains: "contains";
2180
- gt: "gt";
2181
- gte: "gte";
2182
- lt: "lt";
2183
- lte: "lte";
2184
- not_equals: "not_equals";
2185
- is_null: "is_null";
2186
- not_contains: "not_contains";
2187
- not_null: "not_null";
2188
- }>;
2189
- expectedValue: z.ZodUnknown;
2190
- }, z.core.$strip>>>;
2191
- capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2192
- }, z.core.$strip>;
2193
- declare const TestScenarioSchema: z.ZodObject<{
2194
- id: z.ZodString;
2195
- name: z.ZodString;
2196
- description: z.ZodOptional<z.ZodString>;
2197
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2198
- setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
2199
- name: z.ZodString;
2200
- description: z.ZodOptional<z.ZodString>;
2201
- action: z.ZodObject<{
2202
- type: z.ZodEnum<{
2203
- create_record: "create_record";
2204
- update_record: "update_record";
2205
- delete_record: "delete_record";
2206
- read_record: "read_record";
2207
- query_records: "query_records";
2208
- api_call: "api_call";
2209
- run_script: "run_script";
2210
- wait: "wait";
2211
- }>;
2212
- target: z.ZodString;
2213
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2214
- user: z.ZodOptional<z.ZodString>;
2215
- }, z.core.$strip>;
2216
- assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2217
- field: z.ZodString;
2218
- operator: z.ZodEnum<{
2219
- error: "error";
2220
- equals: "equals";
2221
- contains: "contains";
2222
- gt: "gt";
2223
- gte: "gte";
2224
- lt: "lt";
2225
- lte: "lte";
2226
- not_equals: "not_equals";
2227
- is_null: "is_null";
2228
- not_contains: "not_contains";
2229
- not_null: "not_null";
2230
- }>;
2231
- expectedValue: z.ZodUnknown;
2232
- }, z.core.$strip>>>;
2233
- capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2234
- }, z.core.$strip>>>;
2235
- steps: z.ZodArray<z.ZodObject<{
2236
- name: z.ZodString;
2237
- description: z.ZodOptional<z.ZodString>;
2238
- action: z.ZodObject<{
2239
- type: z.ZodEnum<{
2240
- create_record: "create_record";
2241
- update_record: "update_record";
2242
- delete_record: "delete_record";
2243
- read_record: "read_record";
2244
- query_records: "query_records";
2245
- api_call: "api_call";
2246
- run_script: "run_script";
2247
- wait: "wait";
2248
- }>;
2249
- target: z.ZodString;
2250
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2251
- user: z.ZodOptional<z.ZodString>;
2252
- }, z.core.$strip>;
2253
- assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2254
- field: z.ZodString;
2255
- operator: z.ZodEnum<{
2256
- error: "error";
2257
- equals: "equals";
2258
- contains: "contains";
2259
- gt: "gt";
2260
- gte: "gte";
2261
- lt: "lt";
2262
- lte: "lte";
2263
- not_equals: "not_equals";
2264
- is_null: "is_null";
2265
- not_contains: "not_contains";
2266
- not_null: "not_null";
2267
- }>;
2268
- expectedValue: z.ZodUnknown;
2269
- }, z.core.$strip>>>;
2270
- capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2271
- }, z.core.$strip>>;
2272
- teardown: z.ZodOptional<z.ZodArray<z.ZodObject<{
2273
- name: z.ZodString;
2274
- description: z.ZodOptional<z.ZodString>;
2275
- action: z.ZodObject<{
2276
- type: z.ZodEnum<{
2277
- create_record: "create_record";
2278
- update_record: "update_record";
2279
- delete_record: "delete_record";
2280
- read_record: "read_record";
2281
- query_records: "query_records";
2282
- api_call: "api_call";
2283
- run_script: "run_script";
2284
- wait: "wait";
2285
- }>;
2286
- target: z.ZodString;
2287
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2288
- user: z.ZodOptional<z.ZodString>;
2289
- }, z.core.$strip>;
2290
- assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2291
- field: z.ZodString;
2292
- operator: z.ZodEnum<{
2293
- error: "error";
2294
- equals: "equals";
2295
- contains: "contains";
2296
- gt: "gt";
2297
- gte: "gte";
2298
- lt: "lt";
2299
- lte: "lte";
2300
- not_equals: "not_equals";
2301
- is_null: "is_null";
2302
- not_contains: "not_contains";
2303
- not_null: "not_null";
2304
- }>;
2305
- expectedValue: z.ZodUnknown;
2306
- }, z.core.$strip>>>;
2307
- capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2308
- }, z.core.$strip>>>;
2309
- requires: z.ZodOptional<z.ZodObject<{
2310
- params: z.ZodOptional<z.ZodArray<z.ZodString>>;
2311
- plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
2312
- }, z.core.$strip>>;
2313
- }, z.core.$strip>;
2314
- declare const TestSuiteSchema: z.ZodObject<{
2315
- name: z.ZodString;
2316
- scenarios: z.ZodArray<z.ZodObject<{
2317
- id: z.ZodString;
2318
- name: z.ZodString;
2319
- description: z.ZodOptional<z.ZodString>;
2320
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
2321
- setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
2322
- name: z.ZodString;
2323
- description: z.ZodOptional<z.ZodString>;
2324
- action: z.ZodObject<{
2325
- type: z.ZodEnum<{
2326
- create_record: "create_record";
2327
- update_record: "update_record";
2328
- delete_record: "delete_record";
2329
- read_record: "read_record";
2330
- query_records: "query_records";
2331
- api_call: "api_call";
2332
- run_script: "run_script";
2333
- wait: "wait";
2334
- }>;
2335
- target: z.ZodString;
2336
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2337
- user: z.ZodOptional<z.ZodString>;
2338
- }, z.core.$strip>;
2339
- assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2340
- field: z.ZodString;
2341
- operator: z.ZodEnum<{
2342
- error: "error";
2343
- equals: "equals";
2344
- contains: "contains";
2345
- gt: "gt";
2346
- gte: "gte";
2347
- lt: "lt";
2348
- lte: "lte";
2349
- not_equals: "not_equals";
2350
- is_null: "is_null";
2351
- not_contains: "not_contains";
2352
- not_null: "not_null";
2353
- }>;
2354
- expectedValue: z.ZodUnknown;
2355
- }, z.core.$strip>>>;
2356
- capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2357
- }, z.core.$strip>>>;
2358
- steps: z.ZodArray<z.ZodObject<{
2359
- name: z.ZodString;
2360
- description: z.ZodOptional<z.ZodString>;
2361
- action: z.ZodObject<{
2362
- type: z.ZodEnum<{
2363
- create_record: "create_record";
2364
- update_record: "update_record";
2365
- delete_record: "delete_record";
2366
- read_record: "read_record";
2367
- query_records: "query_records";
2368
- api_call: "api_call";
2369
- run_script: "run_script";
2370
- wait: "wait";
2371
- }>;
2372
- target: z.ZodString;
2373
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2374
- user: z.ZodOptional<z.ZodString>;
2375
- }, z.core.$strip>;
2376
- assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2377
- field: z.ZodString;
2378
- operator: z.ZodEnum<{
2379
- error: "error";
2380
- equals: "equals";
2381
- contains: "contains";
2382
- gt: "gt";
2383
- gte: "gte";
2384
- lt: "lt";
2385
- lte: "lte";
2386
- not_equals: "not_equals";
2387
- is_null: "is_null";
2388
- not_contains: "not_contains";
2389
- not_null: "not_null";
2390
- }>;
2391
- expectedValue: z.ZodUnknown;
2392
- }, z.core.$strip>>>;
2393
- capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2394
- }, z.core.$strip>>;
2395
- teardown: z.ZodOptional<z.ZodArray<z.ZodObject<{
2396
- name: z.ZodString;
2397
- description: z.ZodOptional<z.ZodString>;
2398
- action: z.ZodObject<{
2399
- type: z.ZodEnum<{
2400
- create_record: "create_record";
2401
- update_record: "update_record";
2402
- delete_record: "delete_record";
2403
- read_record: "read_record";
2404
- query_records: "query_records";
2405
- api_call: "api_call";
2406
- run_script: "run_script";
2407
- wait: "wait";
2408
- }>;
2409
- target: z.ZodString;
2410
- payload: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2411
- user: z.ZodOptional<z.ZodString>;
2412
- }, z.core.$strip>;
2413
- assertions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2414
- field: z.ZodString;
2415
- operator: z.ZodEnum<{
2416
- error: "error";
2417
- equals: "equals";
2418
- contains: "contains";
2419
- gt: "gt";
2420
- gte: "gte";
2421
- lt: "lt";
2422
- lte: "lte";
2423
- not_equals: "not_equals";
2424
- is_null: "is_null";
2425
- not_contains: "not_contains";
2426
- not_null: "not_null";
2427
- }>;
2428
- expectedValue: z.ZodUnknown;
2429
- }, z.core.$strip>>>;
2430
- capture: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2431
- }, z.core.$strip>>>;
2432
- requires: z.ZodOptional<z.ZodObject<{
2433
- params: z.ZodOptional<z.ZodArray<z.ZodString>>;
2434
- plugins: z.ZodOptional<z.ZodArray<z.ZodString>>;
2435
- }, z.core.$strip>>;
2436
- }, z.core.$strip>>;
2437
- }, z.core.$strip>;
2438
- type TestSuite = z.infer<typeof TestSuiteSchema>;
2439
- type TestScenario = z.infer<typeof TestScenarioSchema>;
2440
- type TestStep = z.infer<typeof TestStepSchema>;
2441
- type TestAction = z.infer<typeof TestActionSchema>;
2442
- type TestAssertion = z.infer<typeof TestAssertionSchema>;
2443
-
2444
- /**
2445
- * Quality Assurance (QA) Protocol
2446
- *
2447
- * Defines how business logic and metadata are tested.
2448
- * Includes:
2449
- * - Test Scenarios
2450
- * - Test Cases
2451
- * - Expected Outcomes
2452
- */
2453
-
2454
- type index$1_TestAction = TestAction;
2455
- declare const index$1_TestActionSchema: typeof TestActionSchema;
2456
- declare const index$1_TestActionTypeSchema: typeof TestActionTypeSchema;
2457
- type index$1_TestAssertion = TestAssertion;
2458
- declare const index$1_TestAssertionSchema: typeof TestAssertionSchema;
2459
- declare const index$1_TestAssertionTypeSchema: typeof TestAssertionTypeSchema;
2460
- declare const index$1_TestContextSchema: typeof TestContextSchema;
2461
- type index$1_TestScenario = TestScenario;
2462
- declare const index$1_TestScenarioSchema: typeof TestScenarioSchema;
2463
- type index$1_TestStep = TestStep;
2464
- declare const index$1_TestStepSchema: typeof TestStepSchema;
2465
- type index$1_TestSuite = TestSuite;
2466
- declare const index$1_TestSuiteSchema: typeof TestSuiteSchema;
2467
- declare namespace index$1 {
2468
- export { type index$1_TestAction as TestAction, index$1_TestActionSchema as TestActionSchema, index$1_TestActionTypeSchema as TestActionTypeSchema, type index$1_TestAssertion as TestAssertion, index$1_TestAssertionSchema as TestAssertionSchema, index$1_TestAssertionTypeSchema as TestAssertionTypeSchema, index$1_TestContextSchema as TestContextSchema, type index$1_TestScenario as TestScenario, index$1_TestScenarioSchema as TestScenarioSchema, type index$1_TestStep as TestStep, index$1_TestStepSchema as TestStepSchema, type index$1_TestSuite as TestSuite, index$1_TestSuiteSchema as TestSuiteSchema };
2469
- }
2470
-
2471
- /**
2472
- * Identity & User Model Specification
2473
- *
2474
- * Defines the standard user, account, and session data models for ObjectStack.
2475
- * These schemas represent "who is logged in" and their associated data.
2476
- *
2477
- * This is separate from authentication configuration (auth.zod.ts) which
2478
- * defines "how to login".
2479
- */
2480
- /**
2481
- * User Schema
2482
- * Core user identity data model
2483
- */
2484
- declare const UserSchema: z.ZodObject<{
2485
- id: z.ZodString;
2486
- email: z.ZodString;
2487
- emailVerified: z.ZodDefault<z.ZodBoolean>;
2488
- name: z.ZodOptional<z.ZodString>;
2489
- image: z.ZodOptional<z.ZodString>;
2490
- createdAt: z.ZodString;
2491
- updatedAt: z.ZodString;
2492
- }, z.core.$strip>;
2493
- type User = z.infer<typeof UserSchema>;
2494
- /**
2495
- * Account Schema
2496
- * Links external OAuth/OIDC/SAML accounts to a user
2497
- */
2498
- declare const AccountSchema: z.ZodObject<{
2499
- id: z.ZodString;
2500
- userId: z.ZodString;
2501
- type: z.ZodEnum<{
2502
- credentials: "credentials";
2503
- email: "email";
2504
- oauth: "oauth";
2505
- oidc: "oidc";
2506
- saml: "saml";
2507
- ldap: "ldap";
2508
- }>;
2509
- provider: z.ZodString;
2510
- providerAccountId: z.ZodString;
2511
- refreshToken: z.ZodOptional<z.ZodString>;
2512
- accessToken: z.ZodOptional<z.ZodString>;
2513
- expiresAt: z.ZodOptional<z.ZodNumber>;
2514
- tokenType: z.ZodOptional<z.ZodString>;
2515
- scope: z.ZodOptional<z.ZodString>;
2516
- idToken: z.ZodOptional<z.ZodString>;
2517
- sessionState: z.ZodOptional<z.ZodString>;
2518
- createdAt: z.ZodString;
2519
- updatedAt: z.ZodString;
2520
- }, z.core.$strip>;
2521
- type Account = z.infer<typeof AccountSchema>;
2522
- /**
2523
- * Session Schema
2524
- * User session data model
2525
- */
2526
- declare const SessionSchema: z.ZodObject<{
2527
- id: z.ZodString;
2528
- sessionToken: z.ZodString;
2529
- userId: z.ZodString;
2530
- activeOrganizationId: z.ZodOptional<z.ZodString>;
2531
- expires: z.ZodString;
2532
- createdAt: z.ZodString;
2533
- updatedAt: z.ZodString;
2534
- ipAddress: z.ZodOptional<z.ZodString>;
2535
- userAgent: z.ZodOptional<z.ZodString>;
2536
- fingerprint: z.ZodOptional<z.ZodString>;
2537
- }, z.core.$strip>;
2538
- type Session = z.infer<typeof SessionSchema>;
2539
- /**
2540
- * Verification Token Schema
2541
- * Email verification and password reset tokens
2542
- */
2543
- declare const VerificationTokenSchema: z.ZodObject<{
2544
- identifier: z.ZodString;
2545
- token: z.ZodString;
2546
- expires: z.ZodString;
2547
- createdAt: z.ZodString;
2548
- }, z.core.$strip>;
2549
- type VerificationToken = z.infer<typeof VerificationTokenSchema>;
2550
- /**
2551
- * API Key Schema
2552
- *
2553
- * Aligns with better-auth's API key plugin capabilities.
2554
- * Provides programmatic access to ObjectStack APIs (CI/CD, service-to-service, CLI).
2555
- *
2556
- * @see https://www.better-auth.com/docs/plugins/api-key
2557
- */
2558
- declare const ApiKeySchema: z.ZodObject<{
2559
- id: z.ZodString;
2560
- name: z.ZodString;
2561
- start: z.ZodOptional<z.ZodString>;
2562
- prefix: z.ZodOptional<z.ZodString>;
2563
- userId: z.ZodString;
2564
- organizationId: z.ZodOptional<z.ZodString>;
2565
- expiresAt: z.ZodOptional<z.ZodString>;
2566
- createdAt: z.ZodString;
2567
- updatedAt: z.ZodString;
2568
- lastUsedAt: z.ZodOptional<z.ZodString>;
2569
- lastRefetchAt: z.ZodOptional<z.ZodString>;
2570
- enabled: z.ZodDefault<z.ZodBoolean>;
2571
- rateLimitEnabled: z.ZodOptional<z.ZodBoolean>;
2572
- rateLimitTimeWindow: z.ZodOptional<z.ZodNumber>;
2573
- rateLimitMax: z.ZodOptional<z.ZodNumber>;
2574
- remaining: z.ZodOptional<z.ZodNumber>;
2575
- permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
2576
- scopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
2577
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2578
- }, z.core.$strip>;
2579
- type ApiKey = z.infer<typeof ApiKeySchema>;
2580
-
2581
- /**
2582
- * Authentication Wire Protocol & Constants
2583
- *
2584
- * Defines the API contract and constants for authentication communication.
2585
- * These constants ensure consistent behavior across all ObjectStack implementations.
2586
- */
2587
- /**
2588
- * Authentication Constants
2589
- * Standard headers, prefixes, and identifiers for auth communication
2590
- */
2591
- declare const AUTH_CONSTANTS: {
2592
- /**
2593
- * HTTP header key for authentication tokens
2594
- */
2595
- readonly HEADER_KEY: "Authorization";
2596
- /**
2597
- * Token prefix for Bearer authentication
2598
- */
2599
- readonly TOKEN_PREFIX: "Bearer ";
2600
- /**
2601
- * Cookie prefix for ObjectStack auth cookies
2602
- */
2603
- readonly COOKIE_PREFIX: "os_";
2604
- /**
2605
- * CSRF token header name
2606
- */
2607
- readonly CSRF_HEADER: "x-os-csrf-token";
2608
- /**
2609
- * Default session cookie name
2610
- */
2611
- readonly SESSION_COOKIE: "os_session_token";
2612
- /**
2613
- * Default CSRF cookie name
2614
- */
2615
- readonly CSRF_COOKIE: "os_csrf_token";
2616
- /**
2617
- * Refresh token cookie name
2618
- */
2619
- readonly REFRESH_TOKEN_COOKIE: "os_refresh_token";
2620
- };
2621
- /**
2622
- * Authentication Headers Interface
2623
- * Standard headers used in authenticated requests
2624
- */
2625
- interface AuthHeaders {
2626
- /**
2627
- * Authorization header with Bearer token
2628
- * @example "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
2629
- */
2630
- Authorization?: string;
2631
- /**
2632
- * CSRF token header
2633
- * @example "x-os-csrf-token: abc123def456..."
2634
- */
2635
- 'x-os-csrf-token'?: string;
2636
- /**
2637
- * Session ID header (alternative to cookie)
2638
- * @example "x-os-session-id: session_abc123..."
2639
- */
2640
- 'x-os-session-id'?: string;
2641
- /**
2642
- * API key header (for service-to-service auth)
2643
- * @example "x-os-api-key: sk_live_abc123..."
2644
- */
2645
- 'x-os-api-key'?: string;
2646
- }
2647
- /**
2648
- * Authentication Response Interface
2649
- * Standard response format for authentication operations
2650
- */
2651
- interface AuthResponse {
2652
- /**
2653
- * Access token (JWT or opaque token)
2654
- */
2655
- accessToken: string;
2656
- /**
2657
- * Refresh token (for token renewal)
2658
- */
2659
- refreshToken?: string;
2660
- /**
2661
- * Token type (usually "Bearer")
2662
- */
2663
- tokenType: string;
2664
- /**
2665
- * Token expiry in seconds
2666
- */
2667
- expiresIn: number;
2668
- /**
2669
- * User information
2670
- */
2671
- user: {
2672
- id: string;
2673
- email: string;
2674
- name?: string;
2675
- image?: string;
2676
- };
2677
- /**
2678
- * Session ID
2679
- */
2680
- sessionId?: string;
2681
- }
2682
- /**
2683
- * Authentication Error Codes
2684
- * Standard error codes for authentication failures
2685
- */
2686
- declare const AUTH_ERROR_CODES: {
2687
- readonly INVALID_CREDENTIALS: "invalid_credentials";
2688
- readonly INVALID_TOKEN: "invalid_token";
2689
- readonly TOKEN_EXPIRED: "token_expired";
2690
- readonly INSUFFICIENT_PERMISSIONS: "insufficient_permissions";
2691
- readonly ACCOUNT_LOCKED: "account_locked";
2692
- readonly ACCOUNT_NOT_VERIFIED: "account_not_verified";
2693
- readonly TOO_MANY_REQUESTS: "too_many_requests";
2694
- readonly INVALID_CSRF_TOKEN: "invalid_csrf_token";
2695
- readonly SESSION_EXPIRED: "session_expired";
2696
- readonly OAUTH_ERROR: "oauth_error";
2697
- readonly PROVIDER_ERROR: "provider_error";
2698
- };
2699
- /**
2700
- * Authentication Error Interface
2701
- * Standard error response format
2702
- */
2703
- interface AuthError {
2704
- /**
2705
- * Error code from AUTH_ERROR_CODES
2706
- */
2707
- code: typeof AUTH_ERROR_CODES[keyof typeof AUTH_ERROR_CODES];
2708
- /**
2709
- * Human-readable error message
2710
- */
2711
- message: string;
2712
- /**
2713
- * Additional error details
2714
- */
2715
- details?: Record<string, any>;
2716
- }
2717
- /**
2718
- * Token Payload Interface
2719
- * Standard JWT payload structure
2720
- */
2721
- interface TokenPayload {
2722
- /**
2723
- * Subject (user ID)
2724
- */
2725
- sub: string;
2726
- /**
2727
- * Issued at timestamp
2728
- */
2729
- iat: number;
2730
- /**
2731
- * Expiration timestamp
2732
- */
2733
- exp: number;
2734
- /**
2735
- * Session ID
2736
- */
2737
- sid?: string;
2738
- /**
2739
- * User email
2740
- */
2741
- email?: string;
2742
- /**
2743
- * User roles
2744
- */
2745
- roles?: string[];
2746
- /**
2747
- * User permissions
2748
- */
2749
- permissions?: string[];
2750
- /**
2751
- * Additional custom claims
2752
- */
2753
- [key: string]: any;
2754
- }
2755
-
2756
- /**
2757
- * Role Schema (aka Business Unit / Org Unit)
2758
- * Defines the organizational hierarchy (Reporting Structure).
2759
- *
2760
- * COMPARISON:
2761
- * - Salesforce: "Role" (Hierarchy for visibility rollup)
2762
- * - Microsoft: "Business Unit" (Structural container for data)
2763
- * - Kubernetes/AWS: "Role" usually refers to Permissions (we use PermissionSet for that)
2764
- *
2765
- * ROLES IN OBJECTSTACK:
2766
- * Used primarily for "Reporting Structure" - Managers see subordinates' data.
2767
- *
2768
- * **NAMING CONVENTION:**
2769
- * Role names MUST be lowercase snake_case to prevent security issues.
2770
- *
2771
- * @example Good role names
2772
- * - 'sales_manager'
2773
- * - 'ceo'
2774
- * - 'region_east_vp'
2775
- * - 'engineering_lead'
2776
- *
2777
- * @example Bad role names (will be rejected)
2778
- * - 'SalesManager' (camelCase)
2779
- * - 'CEO' (uppercase)
2780
- * - 'Region East VP' (spaces and uppercase)
2781
- */
2782
- declare const RoleSchema: z.ZodObject<{
2783
- name: z.ZodString;
2784
- label: z.ZodString;
2785
- parent: z.ZodOptional<z.ZodString>;
2786
- description: z.ZodOptional<z.ZodString>;
2787
- }, z.core.$strip>;
2788
- type Role = z.infer<typeof RoleSchema>;
2789
-
2790
- /**
2791
- * Organization Schema (Multi-Tenant Architecture)
2792
- *
2793
- * Defines the standard organization/workspace model for ObjectStack.
2794
- * Supports B2B SaaS scenarios where users belong to multiple teams/workspaces.
2795
- *
2796
- * This aligns with better-auth's organization plugin capabilities.
2797
- */
2798
- /**
2799
- * Organization Schema
2800
- * Represents a team, workspace, or tenant in a multi-tenant application
2801
- */
2802
- declare const OrganizationSchema: z.ZodObject<{
2803
- id: z.ZodString;
2804
- name: z.ZodString;
2805
- slug: z.ZodString;
2806
- logo: z.ZodOptional<z.ZodString>;
2807
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2808
- createdAt: z.ZodString;
2809
- updatedAt: z.ZodString;
2810
- }, z.core.$strip>;
2811
- type Organization = z.infer<typeof OrganizationSchema>;
2812
- /**
2813
- * Organization Member Schema
2814
- * Links users to organizations with specific roles
2815
- */
2816
- declare const MemberSchema: z.ZodObject<{
2817
- id: z.ZodString;
2818
- organizationId: z.ZodString;
2819
- userId: z.ZodString;
2820
- role: z.ZodString;
2821
- createdAt: z.ZodString;
2822
- updatedAt: z.ZodString;
2823
- }, z.core.$strip>;
2824
- type Member = z.infer<typeof MemberSchema>;
2825
- /**
2826
- * Invitation Status Enum
2827
- */
2828
- declare const InvitationStatus: z.ZodEnum<{
2829
- pending: "pending";
2830
- expired: "expired";
2831
- rejected: "rejected";
2832
- accepted: "accepted";
2833
- }>;
2834
- type InvitationStatus = z.infer<typeof InvitationStatus>;
2835
- /**
2836
- * Organization Invitation Schema
2837
- * Represents an invitation to join an organization
2838
- */
2839
- declare const InvitationSchema: z.ZodObject<{
2840
- id: z.ZodString;
2841
- organizationId: z.ZodString;
2842
- email: z.ZodString;
2843
- role: z.ZodString;
2844
- status: z.ZodDefault<z.ZodEnum<{
2845
- pending: "pending";
2846
- expired: "expired";
2847
- rejected: "rejected";
2848
- accepted: "accepted";
2849
- }>>;
2850
- expiresAt: z.ZodString;
2851
- inviterId: z.ZodString;
2852
- createdAt: z.ZodString;
2853
- updatedAt: z.ZodString;
2854
- }, z.core.$strip>;
2855
- type Invitation = z.infer<typeof InvitationSchema>;
2856
-
2857
- /**
2858
- * # SCIM 2.0 Protocol Implementation
2859
- *
2860
- * System for Cross-domain Identity Management (SCIM) 2.0 specification
2861
- * implementation for ObjectStack.
2862
- *
2863
- * ## Overview
2864
- *
2865
- * SCIM 2.0 is an HTTP-based protocol for managing user and group identities
2866
- * across domains. It provides a standardized REST API for user provisioning,
2867
- * de-provisioning, and synchronization.
2868
- *
2869
- * ## Use Cases
2870
- *
2871
- * 1. **Enterprise SSO Integration**
2872
- * - Integrate with Okta, Azure AD, OneLogin
2873
- * - Automatic user provisioning from corporate directory
2874
- * - Just-in-Time (JIT) user creation on first login
2875
- *
2876
- * 2. **User Lifecycle Management**
2877
- * - Automatically create users when they join organization
2878
- * - Update user attributes when they change roles
2879
- * - Deactivate users when they leave organization
2880
- *
2881
- * 3. **Group/Department Synchronization**
2882
- * - Sync organizational structure from AD/LDAP
2883
- * - Maintain group memberships automatically
2884
- * - Map corporate roles to application permissions
2885
- *
2886
- * 4. **Compliance & Audit**
2887
- * - Maintain accurate user directory
2888
- * - Track all identity changes
2889
- * - Meet SOX/HIPAA requirements for user management
2890
- *
2891
- * ## Specification References
2892
- *
2893
- * - **RFC 7643**: SCIM Core Schema
2894
- * - **RFC 7644**: SCIM Protocol
2895
- * - **RFC 7642**: SCIM Requirements
2896
- *
2897
- * ## Industry Implementations
2898
- *
2899
- * - **Okta**: Leading SCIM provider
2900
- * - **Azure AD**: Microsoft's identity platform
2901
- * - **OneLogin**: Enterprise SSO provider
2902
- * - **Google Workspace**: Google's identity management
2903
- *
2904
- * @see https://datatracker.ietf.org/doc/html/rfc7643
2905
- * @see https://datatracker.ietf.org/doc/html/rfc7644
2906
- */
2907
- /**
2908
- * SCIM Schema URIs
2909
- * Standard schema identifiers defined in RFC 7643
2910
- */
2911
- declare const SCIM_SCHEMAS: {
2912
- readonly USER: "urn:ietf:params:scim:schemas:core:2.0:User";
2913
- readonly GROUP: "urn:ietf:params:scim:schemas:core:2.0:Group";
2914
- readonly ENTERPRISE_USER: "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User";
2915
- readonly RESOURCE_TYPE: "urn:ietf:params:scim:schemas:core:2.0:ResourceType";
2916
- readonly SERVICE_PROVIDER_CONFIG: "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig";
2917
- readonly SCHEMA: "urn:ietf:params:scim:schemas:core:2.0:Schema";
2918
- readonly LIST_RESPONSE: "urn:ietf:params:scim:api:messages:2.0:ListResponse";
2919
- readonly PATCH_OP: "urn:ietf:params:scim:api:messages:2.0:PatchOp";
2920
- readonly BULK_REQUEST: "urn:ietf:params:scim:api:messages:2.0:BulkRequest";
2921
- readonly BULK_RESPONSE: "urn:ietf:params:scim:api:messages:2.0:BulkResponse";
2922
- readonly ERROR: "urn:ietf:params:scim:api:messages:2.0:Error";
2923
- };
2924
- /**
2925
- * SCIM Meta Schema
2926
- * Common metadata for all SCIM resources
2927
- */
2928
- declare const SCIMMetaSchema: z.ZodObject<{
2929
- resourceType: z.ZodOptional<z.ZodString>;
2930
- created: z.ZodOptional<z.ZodString>;
2931
- lastModified: z.ZodOptional<z.ZodString>;
2932
- location: z.ZodOptional<z.ZodString>;
2933
- version: z.ZodOptional<z.ZodString>;
2934
- }, z.core.$strip>;
2935
- type SCIMMeta = z.infer<typeof SCIMMetaSchema>;
2936
- /**
2937
- * SCIM Name Schema
2938
- * Structured name components
2939
- */
2940
- declare const SCIMNameSchema: z.ZodObject<{
2941
- formatted: z.ZodOptional<z.ZodString>;
2942
- familyName: z.ZodOptional<z.ZodString>;
2943
- givenName: z.ZodOptional<z.ZodString>;
2944
- middleName: z.ZodOptional<z.ZodString>;
2945
- honorificPrefix: z.ZodOptional<z.ZodString>;
2946
- honorificSuffix: z.ZodOptional<z.ZodString>;
2947
- }, z.core.$strip>;
2948
- type SCIMName = z.infer<typeof SCIMNameSchema>;
2949
- /**
2950
- * SCIM Email Schema
2951
- * Multi-valued email address
2952
- */
2953
- declare const SCIMEmailSchema: z.ZodObject<{
2954
- value: z.ZodString;
2955
- type: z.ZodOptional<z.ZodEnum<{
2956
- other: "other";
2957
- home: "home";
2958
- work: "work";
2959
- }>>;
2960
- display: z.ZodOptional<z.ZodString>;
2961
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2962
- }, z.core.$strip>;
2963
- type SCIMEmail = z.infer<typeof SCIMEmailSchema>;
2964
- /**
2965
- * SCIM Phone Number Schema
2966
- * Multi-valued phone number
2967
- */
2968
- declare const SCIMPhoneNumberSchema: z.ZodObject<{
2969
- value: z.ZodString;
2970
- type: z.ZodOptional<z.ZodEnum<{
2971
- other: "other";
2972
- home: "home";
2973
- mobile: "mobile";
2974
- work: "work";
2975
- fax: "fax";
2976
- pager: "pager";
2977
- }>>;
2978
- display: z.ZodOptional<z.ZodString>;
2979
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2980
- }, z.core.$strip>;
2981
- type SCIMPhoneNumber = z.infer<typeof SCIMPhoneNumberSchema>;
2982
- /**
2983
- * SCIM Address Schema
2984
- * Multi-valued physical mailing address
2985
- */
2986
- declare const SCIMAddressSchema: z.ZodObject<{
2987
- formatted: z.ZodOptional<z.ZodString>;
2988
- streetAddress: z.ZodOptional<z.ZodString>;
2989
- locality: z.ZodOptional<z.ZodString>;
2990
- region: z.ZodOptional<z.ZodString>;
2991
- postalCode: z.ZodOptional<z.ZodString>;
2992
- country: z.ZodOptional<z.ZodString>;
2993
- type: z.ZodOptional<z.ZodEnum<{
2994
- other: "other";
2995
- home: "home";
2996
- work: "work";
2997
- }>>;
2998
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2999
- }, z.core.$strip>;
3000
- type SCIMAddress = z.infer<typeof SCIMAddressSchema>;
3001
- /**
3002
- * SCIM Group Reference
3003
- * Reference to a group the user belongs to
3004
- */
3005
- declare const SCIMGroupReferenceSchema: z.ZodObject<{
3006
- value: z.ZodString;
3007
- $ref: z.ZodOptional<z.ZodString>;
3008
- display: z.ZodOptional<z.ZodString>;
3009
- type: z.ZodOptional<z.ZodEnum<{
3010
- direct: "direct";
3011
- indirect: "indirect";
3012
- }>>;
3013
- }, z.core.$strip>;
3014
- type SCIMGroupReference = z.infer<typeof SCIMGroupReferenceSchema>;
3015
- /**
3016
- * SCIM Enterprise User Extension
3017
- * Enterprise-specific user attributes
3018
- */
3019
- declare const SCIMEnterpriseUserSchema: z.ZodObject<{
3020
- employeeNumber: z.ZodOptional<z.ZodString>;
3021
- costCenter: z.ZodOptional<z.ZodString>;
3022
- organization: z.ZodOptional<z.ZodString>;
3023
- division: z.ZodOptional<z.ZodString>;
3024
- department: z.ZodOptional<z.ZodString>;
3025
- manager: z.ZodOptional<z.ZodObject<{
3026
- value: z.ZodString;
3027
- $ref: z.ZodOptional<z.ZodString>;
3028
- displayName: z.ZodOptional<z.ZodString>;
3029
- }, z.core.$strip>>;
3030
- }, z.core.$strip>;
3031
- type SCIMEnterpriseUser = z.infer<typeof SCIMEnterpriseUserSchema>;
3032
- /**
3033
- * SCIM User Schema (Core)
3034
- * Complete SCIM 2.0 User resource
3035
- */
3036
- declare const SCIMUserSchema: z.ZodObject<{
3037
- schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
3038
- id: z.ZodOptional<z.ZodString>;
3039
- externalId: z.ZodOptional<z.ZodString>;
3040
- userName: z.ZodString;
3041
- name: z.ZodOptional<z.ZodObject<{
3042
- formatted: z.ZodOptional<z.ZodString>;
3043
- familyName: z.ZodOptional<z.ZodString>;
3044
- givenName: z.ZodOptional<z.ZodString>;
3045
- middleName: z.ZodOptional<z.ZodString>;
3046
- honorificPrefix: z.ZodOptional<z.ZodString>;
3047
- honorificSuffix: z.ZodOptional<z.ZodString>;
3048
- }, z.core.$strip>>;
3049
- displayName: z.ZodOptional<z.ZodString>;
3050
- nickName: z.ZodOptional<z.ZodString>;
3051
- profileUrl: z.ZodOptional<z.ZodString>;
3052
- title: z.ZodOptional<z.ZodString>;
3053
- userType: z.ZodOptional<z.ZodString>;
3054
- preferredLanguage: z.ZodOptional<z.ZodString>;
3055
- locale: z.ZodOptional<z.ZodString>;
3056
- timezone: z.ZodOptional<z.ZodString>;
3057
- active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3058
- password: z.ZodOptional<z.ZodString>;
3059
- emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
3060
- value: z.ZodString;
3061
- type: z.ZodOptional<z.ZodEnum<{
3062
- other: "other";
3063
- home: "home";
3064
- work: "work";
3065
- }>>;
3066
- display: z.ZodOptional<z.ZodString>;
3067
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3068
- }, z.core.$strip>>>;
3069
- phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3070
- value: z.ZodString;
3071
- type: z.ZodOptional<z.ZodEnum<{
3072
- other: "other";
3073
- home: "home";
3074
- mobile: "mobile";
3075
- work: "work";
3076
- fax: "fax";
3077
- pager: "pager";
3078
- }>>;
3079
- display: z.ZodOptional<z.ZodString>;
3080
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3081
- }, z.core.$strip>>>;
3082
- ims: z.ZodOptional<z.ZodArray<z.ZodObject<{
3083
- value: z.ZodString;
3084
- type: z.ZodOptional<z.ZodString>;
3085
- primary: z.ZodOptional<z.ZodBoolean>;
3086
- }, z.core.$strip>>>;
3087
- photos: z.ZodOptional<z.ZodArray<z.ZodObject<{
3088
- value: z.ZodString;
3089
- type: z.ZodOptional<z.ZodEnum<{
3090
- photo: "photo";
3091
- thumbnail: "thumbnail";
3092
- }>>;
3093
- primary: z.ZodOptional<z.ZodBoolean>;
3094
- }, z.core.$strip>>>;
3095
- addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
3096
- formatted: z.ZodOptional<z.ZodString>;
3097
- streetAddress: z.ZodOptional<z.ZodString>;
3098
- locality: z.ZodOptional<z.ZodString>;
3099
- region: z.ZodOptional<z.ZodString>;
3100
- postalCode: z.ZodOptional<z.ZodString>;
3101
- country: z.ZodOptional<z.ZodString>;
3102
- type: z.ZodOptional<z.ZodEnum<{
3103
- other: "other";
3104
- home: "home";
3105
- work: "work";
3106
- }>>;
3107
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3108
- }, z.core.$strip>>>;
3109
- groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
3110
- value: z.ZodString;
3111
- $ref: z.ZodOptional<z.ZodString>;
3112
- display: z.ZodOptional<z.ZodString>;
3113
- type: z.ZodOptional<z.ZodEnum<{
3114
- direct: "direct";
3115
- indirect: "indirect";
3116
- }>>;
3117
- }, z.core.$strip>>>;
3118
- entitlements: z.ZodOptional<z.ZodArray<z.ZodObject<{
3119
- value: z.ZodString;
3120
- type: z.ZodOptional<z.ZodString>;
3121
- primary: z.ZodOptional<z.ZodBoolean>;
3122
- }, z.core.$strip>>>;
3123
- roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
3124
- value: z.ZodString;
3125
- type: z.ZodOptional<z.ZodString>;
3126
- primary: z.ZodOptional<z.ZodBoolean>;
3127
- }, z.core.$strip>>>;
3128
- x509Certificates: z.ZodOptional<z.ZodArray<z.ZodObject<{
3129
- value: z.ZodString;
3130
- type: z.ZodOptional<z.ZodString>;
3131
- primary: z.ZodOptional<z.ZodBoolean>;
3132
- }, z.core.$strip>>>;
3133
- meta: z.ZodOptional<z.ZodObject<{
3134
- resourceType: z.ZodOptional<z.ZodString>;
3135
- created: z.ZodOptional<z.ZodString>;
3136
- lastModified: z.ZodOptional<z.ZodString>;
3137
- location: z.ZodOptional<z.ZodString>;
3138
- version: z.ZodOptional<z.ZodString>;
3139
- }, z.core.$strip>>;
3140
- "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": z.ZodOptional<z.ZodObject<{
3141
- employeeNumber: z.ZodOptional<z.ZodString>;
3142
- costCenter: z.ZodOptional<z.ZodString>;
3143
- organization: z.ZodOptional<z.ZodString>;
3144
- division: z.ZodOptional<z.ZodString>;
3145
- department: z.ZodOptional<z.ZodString>;
3146
- manager: z.ZodOptional<z.ZodObject<{
3147
- value: z.ZodString;
3148
- $ref: z.ZodOptional<z.ZodString>;
3149
- displayName: z.ZodOptional<z.ZodString>;
3150
- }, z.core.$strip>>;
3151
- }, z.core.$strip>>;
3152
- }, z.core.$strip>;
3153
- type SCIMUser = z.infer<typeof SCIMUserSchema>;
3154
- /**
3155
- * SCIM Member Reference
3156
- * Reference to a member in a group
3157
- */
3158
- declare const SCIMMemberReferenceSchema: z.ZodObject<{
3159
- value: z.ZodString;
3160
- $ref: z.ZodOptional<z.ZodString>;
3161
- type: z.ZodOptional<z.ZodEnum<{
3162
- User: "User";
3163
- Group: "Group";
3164
- }>>;
3165
- display: z.ZodOptional<z.ZodString>;
3166
- }, z.core.$strip>;
3167
- type SCIMMemberReference = z.infer<typeof SCIMMemberReferenceSchema>;
3168
- /**
3169
- * SCIM Group Schema
3170
- * Complete SCIM 2.0 Group resource
3171
- */
3172
- declare const SCIMGroupSchema: z.ZodObject<{
3173
- schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
3174
- id: z.ZodOptional<z.ZodString>;
3175
- externalId: z.ZodOptional<z.ZodString>;
3176
- displayName: z.ZodString;
3177
- members: z.ZodOptional<z.ZodArray<z.ZodObject<{
3178
- value: z.ZodString;
3179
- $ref: z.ZodOptional<z.ZodString>;
3180
- type: z.ZodOptional<z.ZodEnum<{
3181
- User: "User";
3182
- Group: "Group";
3183
- }>>;
3184
- display: z.ZodOptional<z.ZodString>;
3185
- }, z.core.$strip>>>;
3186
- meta: z.ZodOptional<z.ZodObject<{
3187
- resourceType: z.ZodOptional<z.ZodString>;
3188
- created: z.ZodOptional<z.ZodString>;
3189
- lastModified: z.ZodOptional<z.ZodString>;
3190
- location: z.ZodOptional<z.ZodString>;
3191
- version: z.ZodOptional<z.ZodString>;
3192
- }, z.core.$strip>>;
3193
- }, z.core.$strip>;
3194
- type SCIMGroup = z.infer<typeof SCIMGroupSchema>;
3195
- /**
3196
- * SCIM Resource Union Type
3197
- * Known SCIM resource types for type-safe list responses
3198
- */
3199
- type SCIMResource = SCIMUser | SCIMGroup;
3200
- /**
3201
- * SCIM List Response
3202
- * Paginated list of resources
3203
- *
3204
- * Generic type T allows for type-safe responses when the resource type is known.
3205
- * For mixed resource types, use SCIMResource union.
3206
- */
3207
- declare const SCIMListResponseSchema: z.ZodObject<{
3208
- schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
3209
- totalResults: z.ZodNumber;
3210
- Resources: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3211
- schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
3212
- id: z.ZodOptional<z.ZodString>;
3213
- externalId: z.ZodOptional<z.ZodString>;
3214
- userName: z.ZodString;
3215
- name: z.ZodOptional<z.ZodObject<{
3216
- formatted: z.ZodOptional<z.ZodString>;
3217
- familyName: z.ZodOptional<z.ZodString>;
3218
- givenName: z.ZodOptional<z.ZodString>;
3219
- middleName: z.ZodOptional<z.ZodString>;
3220
- honorificPrefix: z.ZodOptional<z.ZodString>;
3221
- honorificSuffix: z.ZodOptional<z.ZodString>;
3222
- }, z.core.$strip>>;
3223
- displayName: z.ZodOptional<z.ZodString>;
3224
- nickName: z.ZodOptional<z.ZodString>;
3225
- profileUrl: z.ZodOptional<z.ZodString>;
3226
- title: z.ZodOptional<z.ZodString>;
3227
- userType: z.ZodOptional<z.ZodString>;
3228
- preferredLanguage: z.ZodOptional<z.ZodString>;
3229
- locale: z.ZodOptional<z.ZodString>;
3230
- timezone: z.ZodOptional<z.ZodString>;
3231
- active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3232
- password: z.ZodOptional<z.ZodString>;
3233
- emails: z.ZodOptional<z.ZodArray<z.ZodObject<{
3234
- value: z.ZodString;
3235
- type: z.ZodOptional<z.ZodEnum<{
3236
- other: "other";
3237
- home: "home";
3238
- work: "work";
3239
- }>>;
3240
- display: z.ZodOptional<z.ZodString>;
3241
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3242
- }, z.core.$strip>>>;
3243
- phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3244
- value: z.ZodString;
3245
- type: z.ZodOptional<z.ZodEnum<{
3246
- other: "other";
3247
- home: "home";
3248
- mobile: "mobile";
3249
- work: "work";
3250
- fax: "fax";
3251
- pager: "pager";
3252
- }>>;
3253
- display: z.ZodOptional<z.ZodString>;
3254
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3255
- }, z.core.$strip>>>;
3256
- ims: z.ZodOptional<z.ZodArray<z.ZodObject<{
3257
- value: z.ZodString;
3258
- type: z.ZodOptional<z.ZodString>;
3259
- primary: z.ZodOptional<z.ZodBoolean>;
3260
- }, z.core.$strip>>>;
3261
- photos: z.ZodOptional<z.ZodArray<z.ZodObject<{
3262
- value: z.ZodString;
3263
- type: z.ZodOptional<z.ZodEnum<{
3264
- photo: "photo";
3265
- thumbnail: "thumbnail";
3266
- }>>;
3267
- primary: z.ZodOptional<z.ZodBoolean>;
3268
- }, z.core.$strip>>>;
3269
- addresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
3270
- formatted: z.ZodOptional<z.ZodString>;
3271
- streetAddress: z.ZodOptional<z.ZodString>;
3272
- locality: z.ZodOptional<z.ZodString>;
3273
- region: z.ZodOptional<z.ZodString>;
3274
- postalCode: z.ZodOptional<z.ZodString>;
3275
- country: z.ZodOptional<z.ZodString>;
3276
- type: z.ZodOptional<z.ZodEnum<{
3277
- other: "other";
3278
- home: "home";
3279
- work: "work";
3280
- }>>;
3281
- primary: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3282
- }, z.core.$strip>>>;
3283
- groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
3284
- value: z.ZodString;
3285
- $ref: z.ZodOptional<z.ZodString>;
3286
- display: z.ZodOptional<z.ZodString>;
3287
- type: z.ZodOptional<z.ZodEnum<{
3288
- direct: "direct";
3289
- indirect: "indirect";
3290
- }>>;
3291
- }, z.core.$strip>>>;
3292
- entitlements: z.ZodOptional<z.ZodArray<z.ZodObject<{
3293
- value: z.ZodString;
3294
- type: z.ZodOptional<z.ZodString>;
3295
- primary: z.ZodOptional<z.ZodBoolean>;
3296
- }, z.core.$strip>>>;
3297
- roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
3298
- value: z.ZodString;
3299
- type: z.ZodOptional<z.ZodString>;
3300
- primary: z.ZodOptional<z.ZodBoolean>;
3301
- }, z.core.$strip>>>;
3302
- x509Certificates: z.ZodOptional<z.ZodArray<z.ZodObject<{
3303
- value: z.ZodString;
3304
- type: z.ZodOptional<z.ZodString>;
3305
- primary: z.ZodOptional<z.ZodBoolean>;
3306
- }, z.core.$strip>>>;
3307
- meta: z.ZodOptional<z.ZodObject<{
3308
- resourceType: z.ZodOptional<z.ZodString>;
3309
- created: z.ZodOptional<z.ZodString>;
3310
- lastModified: z.ZodOptional<z.ZodString>;
3311
- location: z.ZodOptional<z.ZodString>;
3312
- version: z.ZodOptional<z.ZodString>;
3313
- }, z.core.$strip>>;
3314
- "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": z.ZodOptional<z.ZodObject<{
3315
- employeeNumber: z.ZodOptional<z.ZodString>;
3316
- costCenter: z.ZodOptional<z.ZodString>;
3317
- organization: z.ZodOptional<z.ZodString>;
3318
- division: z.ZodOptional<z.ZodString>;
3319
- department: z.ZodOptional<z.ZodString>;
3320
- manager: z.ZodOptional<z.ZodObject<{
3321
- value: z.ZodString;
3322
- $ref: z.ZodOptional<z.ZodString>;
3323
- displayName: z.ZodOptional<z.ZodString>;
3324
- }, z.core.$strip>>;
3325
- }, z.core.$strip>>;
3326
- }, z.core.$strip>, z.ZodObject<{
3327
- schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
3328
- id: z.ZodOptional<z.ZodString>;
3329
- externalId: z.ZodOptional<z.ZodString>;
3330
- displayName: z.ZodString;
3331
- members: z.ZodOptional<z.ZodArray<z.ZodObject<{
3332
- value: z.ZodString;
3333
- $ref: z.ZodOptional<z.ZodString>;
3334
- type: z.ZodOptional<z.ZodEnum<{
3335
- User: "User";
3336
- Group: "Group";
3337
- }>>;
3338
- display: z.ZodOptional<z.ZodString>;
3339
- }, z.core.$strip>>>;
3340
- meta: z.ZodOptional<z.ZodObject<{
3341
- resourceType: z.ZodOptional<z.ZodString>;
3342
- created: z.ZodOptional<z.ZodString>;
3343
- lastModified: z.ZodOptional<z.ZodString>;
3344
- location: z.ZodOptional<z.ZodString>;
3345
- version: z.ZodOptional<z.ZodString>;
3346
- }, z.core.$strip>>;
3347
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
3348
- startIndex: z.ZodOptional<z.ZodNumber>;
3349
- itemsPerPage: z.ZodOptional<z.ZodNumber>;
3350
- }, z.core.$strip>;
3351
- type SCIMListResponse = z.infer<typeof SCIMListResponseSchema>;
3352
- /**
3353
- * SCIM Error Response
3354
- * Error response format
3355
- */
3356
- declare const SCIMErrorSchema: z.ZodObject<{
3357
- schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
3358
- status: z.ZodNumber;
3359
- scimType: z.ZodOptional<z.ZodEnum<{
3360
- uniqueness: "uniqueness";
3361
- invalidFilter: "invalidFilter";
3362
- tooMany: "tooMany";
3363
- mutability: "mutability";
3364
- invalidSyntax: "invalidSyntax";
3365
- invalidPath: "invalidPath";
3366
- noTarget: "noTarget";
3367
- invalidValue: "invalidValue";
3368
- invalidVers: "invalidVers";
3369
- sensitive: "sensitive";
3370
- }>>;
3371
- detail: z.ZodOptional<z.ZodString>;
3372
- }, z.core.$strip>;
3373
- type SCIMError = z.infer<typeof SCIMErrorSchema>;
3374
- /**
3375
- * SCIM Patch Operation
3376
- * For PATCH requests
3377
- */
3378
- declare const SCIMPatchOperationSchema: z.ZodObject<{
3379
- op: z.ZodEnum<{
3380
- replace: "replace";
3381
- add: "add";
3382
- remove: "remove";
3383
- }>;
3384
- path: z.ZodOptional<z.ZodString>;
3385
- value: z.ZodOptional<z.ZodUnknown>;
3386
- }, z.core.$strip>;
3387
- type SCIMPatchOperation = z.infer<typeof SCIMPatchOperationSchema>;
3388
- /**
3389
- * SCIM Patch Request
3390
- */
3391
- declare const SCIMPatchRequestSchema: z.ZodObject<{
3392
- schemas: z.ZodDefault<z.ZodArray<z.ZodString>>;
3393
- Operations: z.ZodArray<z.ZodObject<{
3394
- op: z.ZodEnum<{
3395
- replace: "replace";
3396
- add: "add";
3397
- remove: "remove";
3398
- }>;
3399
- path: z.ZodOptional<z.ZodString>;
3400
- value: z.ZodOptional<z.ZodUnknown>;
3401
- }, z.core.$strip>>;
3402
- }, z.core.$strip>;
3403
- type SCIMPatchRequest = z.infer<typeof SCIMPatchRequestSchema>;
3404
- /**
3405
- * Helper factory for creating SCIM resources
3406
- */
3407
- declare const SCIM: {
3408
- /**
3409
- * Create a basic SCIM user
3410
- */
3411
- readonly user: (userName: string, email: string, givenName?: string, familyName?: string) => SCIMUser;
3412
- /**
3413
- * Create a SCIM group
3414
- */
3415
- readonly group: (displayName: string, members?: SCIMMemberReference[]) => SCIMGroup;
3416
- /**
3417
- * Create a list response
3418
- */
3419
- readonly listResponse: <T>(resources: T[], totalResults?: number) => SCIMListResponse;
3420
- /**
3421
- * Create an error response
3422
- */
3423
- readonly error: (status: number, detail: string, scimType?: "invalidFilter" | "tooMany" | "uniqueness" | "mutability" | "invalidSyntax" | "invalidPath" | "noTarget" | "invalidValue" | "invalidVers" | "sensitive") => SCIMError;
3424
- };
3425
- /**
3426
- * SCIM Bulk Operation Schema
3427
- * A single operation within a bulk request
3428
- */
3429
- declare const SCIMBulkOperationSchema: z.ZodObject<{
3430
- method: z.ZodEnum<{
3431
- POST: "POST";
3432
- PUT: "PUT";
3433
- DELETE: "DELETE";
3434
- PATCH: "PATCH";
3435
- }>;
3436
- path: z.ZodString;
3437
- bulkId: z.ZodOptional<z.ZodString>;
3438
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3439
- version: z.ZodOptional<z.ZodString>;
3440
- }, z.core.$strip>;
3441
- type SCIMBulkOperation = z.infer<typeof SCIMBulkOperationSchema>;
3442
- /**
3443
- * SCIM Bulk Request Schema
3444
- * Batch multiple SCIM operations into a single HTTP request
3445
- */
3446
- declare const SCIMBulkRequestSchema: z.ZodObject<{
3447
- schemas: z.ZodDefault<z.ZodArray<z.ZodLiteral<"urn:ietf:params:scim:api:messages:2.0:BulkRequest">>>;
3448
- operations: z.ZodArray<z.ZodObject<{
3449
- method: z.ZodEnum<{
3450
- POST: "POST";
3451
- PUT: "PUT";
3452
- DELETE: "DELETE";
3453
- PATCH: "PATCH";
3454
- }>;
3455
- path: z.ZodString;
3456
- bulkId: z.ZodOptional<z.ZodString>;
3457
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3458
- version: z.ZodOptional<z.ZodString>;
3459
- }, z.core.$strip>>;
3460
- failOnErrors: z.ZodOptional<z.ZodNumber>;
3461
- }, z.core.$strip>;
3462
- type SCIMBulkRequest = z.infer<typeof SCIMBulkRequestSchema>;
3463
- /**
3464
- * SCIM Bulk Response Operation Schema
3465
- * Result of a single operation within a bulk response
3466
- */
3467
- declare const SCIMBulkResponseOperationSchema: z.ZodObject<{
3468
- method: z.ZodEnum<{
3469
- POST: "POST";
3470
- PUT: "PUT";
3471
- DELETE: "DELETE";
3472
- PATCH: "PATCH";
3473
- }>;
3474
- bulkId: z.ZodOptional<z.ZodString>;
3475
- location: z.ZodOptional<z.ZodString>;
3476
- status: z.ZodString;
3477
- response: z.ZodOptional<z.ZodUnknown>;
3478
- }, z.core.$strip>;
3479
- type SCIMBulkResponseOperation = z.infer<typeof SCIMBulkResponseOperationSchema>;
3480
- /**
3481
- * SCIM Bulk Response Schema
3482
- * Response to a bulk request containing results for each operation
3483
- */
3484
- declare const SCIMBulkResponseSchema: z.ZodObject<{
3485
- schemas: z.ZodDefault<z.ZodArray<z.ZodLiteral<"urn:ietf:params:scim:api:messages:2.0:BulkResponse">>>;
3486
- operations: z.ZodArray<z.ZodObject<{
3487
- method: z.ZodEnum<{
3488
- POST: "POST";
3489
- PUT: "PUT";
3490
- DELETE: "DELETE";
3491
- PATCH: "PATCH";
3492
- }>;
3493
- bulkId: z.ZodOptional<z.ZodString>;
3494
- location: z.ZodOptional<z.ZodString>;
3495
- status: z.ZodString;
3496
- response: z.ZodOptional<z.ZodUnknown>;
3497
- }, z.core.$strip>>;
3498
- }, z.core.$strip>;
3499
- type SCIMBulkResponse = z.infer<typeof SCIMBulkResponseSchema>;
3500
-
3501
- declare const index_AUTH_CONSTANTS: typeof AUTH_CONSTANTS;
3502
- declare const index_AUTH_ERROR_CODES: typeof AUTH_ERROR_CODES;
3503
- type index_Account = Account;
3504
- declare const index_AccountSchema: typeof AccountSchema;
3505
- type index_ApiKey = ApiKey;
3506
- declare const index_ApiKeySchema: typeof ApiKeySchema;
3507
- type index_AuthError = AuthError;
3508
- type index_AuthHeaders = AuthHeaders;
3509
- type index_AuthResponse = AuthResponse;
3510
- type index_Invitation = Invitation;
3511
- declare const index_InvitationSchema: typeof InvitationSchema;
3512
- type index_InvitationStatus = InvitationStatus;
3513
- type index_Member = Member;
3514
- declare const index_MemberSchema: typeof MemberSchema;
3515
- type index_Organization = Organization;
3516
- declare const index_OrganizationSchema: typeof OrganizationSchema;
3517
- type index_Role = Role;
3518
- declare const index_RoleSchema: typeof RoleSchema;
3519
- declare const index_SCIM: typeof SCIM;
3520
- type index_SCIMAddress = SCIMAddress;
3521
- declare const index_SCIMAddressSchema: typeof SCIMAddressSchema;
3522
- type index_SCIMBulkOperation = SCIMBulkOperation;
3523
- declare const index_SCIMBulkOperationSchema: typeof SCIMBulkOperationSchema;
3524
- type index_SCIMBulkRequest = SCIMBulkRequest;
3525
- declare const index_SCIMBulkRequestSchema: typeof SCIMBulkRequestSchema;
3526
- type index_SCIMBulkResponse = SCIMBulkResponse;
3527
- type index_SCIMBulkResponseOperation = SCIMBulkResponseOperation;
3528
- declare const index_SCIMBulkResponseOperationSchema: typeof SCIMBulkResponseOperationSchema;
3529
- declare const index_SCIMBulkResponseSchema: typeof SCIMBulkResponseSchema;
3530
- type index_SCIMEmail = SCIMEmail;
3531
- declare const index_SCIMEmailSchema: typeof SCIMEmailSchema;
3532
- type index_SCIMEnterpriseUser = SCIMEnterpriseUser;
3533
- declare const index_SCIMEnterpriseUserSchema: typeof SCIMEnterpriseUserSchema;
3534
- type index_SCIMError = SCIMError;
3535
- declare const index_SCIMErrorSchema: typeof SCIMErrorSchema;
3536
- type index_SCIMGroup = SCIMGroup;
3537
- type index_SCIMGroupReference = SCIMGroupReference;
3538
- declare const index_SCIMGroupReferenceSchema: typeof SCIMGroupReferenceSchema;
3539
- declare const index_SCIMGroupSchema: typeof SCIMGroupSchema;
3540
- type index_SCIMListResponse = SCIMListResponse;
3541
- declare const index_SCIMListResponseSchema: typeof SCIMListResponseSchema;
3542
- type index_SCIMMemberReference = SCIMMemberReference;
3543
- declare const index_SCIMMemberReferenceSchema: typeof SCIMMemberReferenceSchema;
3544
- type index_SCIMMeta = SCIMMeta;
3545
- declare const index_SCIMMetaSchema: typeof SCIMMetaSchema;
3546
- type index_SCIMName = SCIMName;
3547
- declare const index_SCIMNameSchema: typeof SCIMNameSchema;
3548
- type index_SCIMPatchOperation = SCIMPatchOperation;
3549
- declare const index_SCIMPatchOperationSchema: typeof SCIMPatchOperationSchema;
3550
- type index_SCIMPatchRequest = SCIMPatchRequest;
3551
- declare const index_SCIMPatchRequestSchema: typeof SCIMPatchRequestSchema;
3552
- type index_SCIMPhoneNumber = SCIMPhoneNumber;
3553
- declare const index_SCIMPhoneNumberSchema: typeof SCIMPhoneNumberSchema;
3554
- type index_SCIMResource = SCIMResource;
3555
- type index_SCIMUser = SCIMUser;
3556
- declare const index_SCIMUserSchema: typeof SCIMUserSchema;
3557
- declare const index_SCIM_SCHEMAS: typeof SCIM_SCHEMAS;
3558
- type index_Session = Session;
3559
- declare const index_SessionSchema: typeof SessionSchema;
3560
- type index_TokenPayload = TokenPayload;
3561
- type index_User = User;
3562
- declare const index_UserSchema: typeof UserSchema;
3563
- type index_VerificationToken = VerificationToken;
3564
- declare const index_VerificationTokenSchema: typeof VerificationTokenSchema;
3565
- declare namespace index {
3566
- export { index_AUTH_CONSTANTS as AUTH_CONSTANTS, index_AUTH_ERROR_CODES as AUTH_ERROR_CODES, type index_Account as Account, index_AccountSchema as AccountSchema, type index_ApiKey as ApiKey, index_ApiKeySchema as ApiKeySchema, type index_AuthError as AuthError, type index_AuthHeaders as AuthHeaders, type index_AuthResponse as AuthResponse, type index_Invitation as Invitation, index_InvitationSchema as InvitationSchema, type index_InvitationStatus as InvitationStatus, type index_Member as Member, index_MemberSchema as MemberSchema, type index_Organization as Organization, index_OrganizationSchema as OrganizationSchema, type index_Role as Role, index_RoleSchema as RoleSchema, index_SCIM as SCIM, type index_SCIMAddress as SCIMAddress, index_SCIMAddressSchema as SCIMAddressSchema, type index_SCIMBulkOperation as SCIMBulkOperation, index_SCIMBulkOperationSchema as SCIMBulkOperationSchema, type index_SCIMBulkRequest as SCIMBulkRequest, index_SCIMBulkRequestSchema as SCIMBulkRequestSchema, type index_SCIMBulkResponse as SCIMBulkResponse, type index_SCIMBulkResponseOperation as SCIMBulkResponseOperation, index_SCIMBulkResponseOperationSchema as SCIMBulkResponseOperationSchema, index_SCIMBulkResponseSchema as SCIMBulkResponseSchema, type index_SCIMEmail as SCIMEmail, index_SCIMEmailSchema as SCIMEmailSchema, type index_SCIMEnterpriseUser as SCIMEnterpriseUser, index_SCIMEnterpriseUserSchema as SCIMEnterpriseUserSchema, type index_SCIMError as SCIMError, index_SCIMErrorSchema as SCIMErrorSchema, type index_SCIMGroup as SCIMGroup, type index_SCIMGroupReference as SCIMGroupReference, index_SCIMGroupReferenceSchema as SCIMGroupReferenceSchema, index_SCIMGroupSchema as SCIMGroupSchema, type index_SCIMListResponse as SCIMListResponse, index_SCIMListResponseSchema as SCIMListResponseSchema, type index_SCIMMemberReference as SCIMMemberReference, index_SCIMMemberReferenceSchema as SCIMMemberReferenceSchema, type index_SCIMMeta as SCIMMeta, index_SCIMMetaSchema as SCIMMetaSchema, type index_SCIMName as SCIMName, index_SCIMNameSchema as SCIMNameSchema, type index_SCIMPatchOperation as SCIMPatchOperation, index_SCIMPatchOperationSchema as SCIMPatchOperationSchema, type index_SCIMPatchRequest as SCIMPatchRequest, index_SCIMPatchRequestSchema as SCIMPatchRequestSchema, type index_SCIMPhoneNumber as SCIMPhoneNumber, index_SCIMPhoneNumberSchema as SCIMPhoneNumberSchema, type index_SCIMResource as SCIMResource, type index_SCIMUser as SCIMUser, index_SCIMUserSchema as SCIMUserSchema, index_SCIM_SCHEMAS as SCIM_SCHEMAS, type index_Session as Session, index_SessionSchema as SessionSchema, type index_TokenPayload as TokenPayload, type index_User as User, index_UserSchema as UserSchema, type index_VerificationToken as VerificationToken, index_VerificationTokenSchema as VerificationTokenSchema };
3567
- }
1
+ import { M as MapSupportedField, a as MetadataCollectionInput } from './index-Be8CI66r.js';
2
+ export { j as MAP_SUPPORTED_FIELDS, k as METADATA_ALIASES, i as Shared, d as findClosestMatches, e as formatSuggestion, f as formatZodError, b as formatZodIssue, n as normalizeMetadataCollection, h as normalizePluginMetadata, g as normalizeStackInput, o as objectStackErrorMap, s as safeParsePretty, c as suggestFieldType } from './index-Be8CI66r.js';
3
+ export { i as Data } from './index-BqzRvWzp.js';
4
+ export { i as Security } from './index-BfEDC8Lv.js';
5
+ export { i as UI, a as defineApp, d as defineView } from './index-BIVsi6pD.js';
6
+ export { i as System } from './index-DekIwhKw.js';
7
+ export { i as Kernel, P as PluginContext } from './index-kAJ_i2Il.js';
8
+ export { i as Cloud } from './index-DPHfwGua.js';
9
+ export { i as QA } from './index-DE9Tb8px.js';
10
+ export { i as Identity } from './index-BsBoFep8.js';
11
+ import { F as FilterGroup } from './index-QoFYi7l6.js';
12
+ export { i as AI, d as defineAgent } from './index-QoFYi7l6.js';
13
+ export { i as API } from './index-DPm-ZIer.js';
14
+ export { i as Automation, d as defineFlow } from './index-BX1zurbZ.js';
15
+ export { i as Integration } from './index-CGz6eD3q.js';
16
+ export { i as Contracts } from './index-4NcJ3Ha4.js';
17
+ export { i as Studio } from './index-CSNXEPgT.js';
18
+ import { B as BaseValidationRuleShape, S as ServiceObject } from './object.zod-CxpSoqwV.js';
19
+ import { z } from 'zod';
20
+ import { S as StateNodeConfig } from './state-machine.zod-DoC0JvQb.js';
21
+ import { Q as QueryAST } from './field.zod-D1NCePFb.js';
22
+ import { F as FilterCondition } from './filter.zod-CtZ3VJ3e.js';
23
+ import './http.zod-zoVvPkD-.js';
24
+ import './driver.zod-BOIvRcxq.js';
25
+ import './metadata-plugin.zod-BhhsdezT.js';
26
+ import './package-registry.zod-rdVhQ23C.js';
3568
27
 
3569
28
  /**
3570
29
  * ObjectStack Ecosystem Definition
@@ -9037,6 +5496,29 @@ declare const ObjectStackDefinitionSchema: z.ZodObject<{
9037
5496
  }, z.core.$strip>, z.ZodString]>>>;
9038
5497
  }, z.core.$strip>;
9039
5498
  type ObjectStackDefinition = z.infer<typeof ObjectStackDefinitionSchema>;
5499
+ /**
5500
+ * Extract the element type from an array type.
5501
+ * @internal
5502
+ */
5503
+ type ExtractArrayItem<T> = T extends (infer Item)[] ? Item : never;
5504
+ /**
5505
+ * Input type for `defineStack()` that accepts both array and map format
5506
+ * for all named metadata collections.
5507
+ *
5508
+ * Map format allows defining metadata using the key as the `name` field:
5509
+ * ```ts
5510
+ * // Array format (traditional)
5511
+ * objects: [{ name: 'task', fields: { ... } }]
5512
+ *
5513
+ * // Map format (key becomes name)
5514
+ * objects: { task: { fields: { ... } } }
5515
+ * ```
5516
+ *
5517
+ * The output type is always arrays (`ObjectStackDefinition`).
5518
+ */
5519
+ type ObjectStackDefinitionInput = Omit<z.input<typeof ObjectStackDefinitionSchema>, MapSupportedField> & {
5520
+ [K in MapSupportedField]?: MetadataCollectionInput<ExtractArrayItem<NonNullable<z.input<typeof ObjectStackDefinitionSchema>[K]>>>;
5521
+ };
9040
5522
  declare const ObjectStackSchema: z.ZodObject<{
9041
5523
  manifest: z.ZodOptional<z.ZodObject<{
9042
5524
  id: z.ZodString;
@@ -14524,11 +11006,22 @@ interface DefineStackOptions {
14524
11006
  * // Basic usage (pass-through, backward compatible)
14525
11007
  * const stack = defineStack({ manifest: { ... }, objects: [...] });
14526
11008
  *
11009
+ * // Map format — key becomes `name` field
11010
+ * const stack = defineStack({
11011
+ * objects: {
11012
+ * task: { fields: { title: { type: 'text' } } },
11013
+ * project: { fields: { name: { type: 'text' } } },
11014
+ * },
11015
+ * apps: {
11016
+ * project_manager: { label: 'Project Manager', objects: ['task', 'project'] },
11017
+ * },
11018
+ * });
11019
+ *
14527
11020
  * // Strict mode — validates that views/workflows reference defined objects
14528
11021
  * const stack = defineStack({ manifest: { ... }, objects: [...], views: [...] }, { strict: true });
14529
11022
  * ```
14530
11023
  */
14531
- declare function defineStack(config: z.input<typeof ObjectStackDefinitionSchema>, options?: DefineStackOptions): ObjectStackDefinition;
11024
+ declare function defineStack(config: ObjectStackDefinitionInput, options?: DefineStackOptions): ObjectStackDefinition;
14532
11025
  /**
14533
11026
  * 2. RUNTIME CAPABILITIES PROTOCOL (Dynamic)
14534
11027
  * ----------------------------------------------------------------------
@@ -14905,4 +11398,4 @@ type ObjectUICapabilities = z.infer<typeof ObjectUICapabilitiesSchema>;
14905
11398
  type ObjectOSCapabilities = z.infer<typeof ObjectOSCapabilitiesSchema>;
14906
11399
  type ObjectStackCapabilities = z.infer<typeof ObjectStackCapabilitiesSchema>;
14907
11400
 
14908
- export { index$2 as Cloud, type DefineStackOptions, index as Identity, type ObjectOSCapabilities, ObjectOSCapabilitiesSchema, type ObjectQLCapabilities, ObjectQLCapabilitiesSchema, type ObjectStack, type ObjectStackCapabilities, ObjectStackCapabilitiesSchema, type ObjectStackDefinition, ObjectStackDefinitionSchema, ObjectStackSchema, type ObjectUICapabilities, ObjectUICapabilitiesSchema, index$1 as QA, index$3 as Shared, defineStack, findClosestMatches, formatSuggestion, formatZodError, formatZodIssue, objectStackErrorMap, safeParsePretty, suggestFieldType };
11401
+ export { type DefineStackOptions, MapSupportedField, MetadataCollectionInput, type ObjectOSCapabilities, ObjectOSCapabilitiesSchema, type ObjectQLCapabilities, ObjectQLCapabilitiesSchema, type ObjectStack, type ObjectStackCapabilities, ObjectStackCapabilitiesSchema, type ObjectStackDefinition, type ObjectStackDefinitionInput, ObjectStackDefinitionSchema, ObjectStackSchema, type ObjectUICapabilities, ObjectUICapabilitiesSchema, defineStack };