@objectstack/spec 6.8.1 → 6.9.0

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 (1723) hide show
  1. package/dist/api/index.d.mts +39 -3
  2. package/dist/api/index.d.ts +39 -3
  3. package/dist/api/index.js +55 -1
  4. package/dist/api/index.js.map +1 -1
  5. package/dist/api/index.mjs +55 -1
  6. package/dist/api/index.mjs.map +1 -1
  7. package/dist/cloud/index.d.mts +81 -1
  8. package/dist/cloud/index.d.ts +81 -1
  9. package/dist/cloud/index.js +103 -1
  10. package/dist/cloud/index.js.map +1 -1
  11. package/dist/cloud/index.mjs +103 -1
  12. package/dist/cloud/index.mjs.map +1 -1
  13. package/dist/contracts/index.d.mts +131 -3
  14. package/dist/contracts/index.d.ts +131 -3
  15. package/dist/contracts/index.js +4 -0
  16. package/dist/contracts/index.js.map +1 -1
  17. package/dist/contracts/index.mjs +4 -1
  18. package/dist/contracts/index.mjs.map +1 -1
  19. package/dist/data/index.d.mts +1 -1
  20. package/dist/data/index.d.ts +1 -1
  21. package/dist/data/index.js +53 -1
  22. package/dist/data/index.js.map +1 -1
  23. package/dist/data/index.mjs +53 -1
  24. package/dist/data/index.mjs.map +1 -1
  25. package/dist/{execution-context.zod-D4xMP7B4.d.mts → execution-context.zod-INizjS3v.d.mts} +4 -0
  26. package/dist/{execution-context.zod-D4xMP7B4.d.ts → execution-context.zod-INizjS3v.d.ts} +4 -0
  27. package/dist/index.d.mts +164 -3
  28. package/dist/index.d.ts +164 -3
  29. package/dist/index.js +108 -1
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.mjs +108 -2
  32. package/dist/index.mjs.map +1 -1
  33. package/dist/job.zod-E2vMQKsO.d.mts +206 -0
  34. package/dist/job.zod-E2vMQKsO.d.ts +206 -0
  35. package/dist/kernel/index.d.mts +1 -1
  36. package/dist/kernel/index.d.ts +1 -1
  37. package/dist/kernel/index.js +3 -0
  38. package/dist/kernel/index.js.map +1 -1
  39. package/dist/kernel/index.mjs +3 -0
  40. package/dist/kernel/index.mjs.map +1 -1
  41. package/dist/{object.zod-D4gYbFv4.d.ts → object.zod-B2nzURDy.d.ts} +34 -0
  42. package/dist/{object.zod-C1mmiCDL.d.mts → object.zod-CATh64Wi.d.mts} +34 -0
  43. package/dist/shared/index.d.mts +1 -1
  44. package/dist/shared/index.d.ts +1 -1
  45. package/dist/shared/index.js +2 -0
  46. package/dist/shared/index.js.map +1 -1
  47. package/dist/shared/index.mjs +2 -0
  48. package/dist/shared/index.mjs.map +1 -1
  49. package/dist/{suggestions.zod-BTud5DPE.d.mts → suggestions.zod-XJb0vUxg.d.mts} +1 -1
  50. package/dist/{suggestions.zod-BTud5DPE.d.ts → suggestions.zod-XJb0vUxg.d.ts} +1 -1
  51. package/dist/system/index.d.mts +143 -194
  52. package/dist/system/index.d.ts +143 -194
  53. package/dist/system/index.js +61 -3
  54. package/dist/system/index.js.map +1 -1
  55. package/dist/system/index.mjs +61 -4
  56. package/dist/system/index.mjs.map +1 -1
  57. package/json-schema/ai/AIKnowledge.json +2 -2
  58. package/json-schema/ai/AIModelConfig.json +2 -2
  59. package/json-schema/ai/AITool.json +2 -2
  60. package/json-schema/ai/AIUsageRecord.json +2 -2
  61. package/json-schema/ai/Agent.json +2 -2
  62. package/json-schema/ai/CodeContent.json +2 -2
  63. package/json-schema/ai/ConversationAnalytics.json +2 -2
  64. package/json-schema/ai/ConversationContext.json +2 -2
  65. package/json-schema/ai/ConversationMessage.json +2 -2
  66. package/json-schema/ai/ConversationSession.json +2 -2
  67. package/json-schema/ai/ConversationSummary.json +2 -2
  68. package/json-schema/ai/EmbeddingModel.json +2 -2
  69. package/json-schema/ai/FileContent.json +2 -2
  70. package/json-schema/ai/FileKnowledgeSource.json +2 -2
  71. package/json-schema/ai/FunctionCall.json +2 -2
  72. package/json-schema/ai/HttpKnowledgeSource.json +2 -2
  73. package/json-schema/ai/ImageContent.json +2 -2
  74. package/json-schema/ai/KnowledgeChunk.json +2 -2
  75. package/json-schema/ai/KnowledgeDocument.json +2 -2
  76. package/json-schema/ai/KnowledgeHit.json +2 -2
  77. package/json-schema/ai/KnowledgeRefreshPolicy.json +2 -2
  78. package/json-schema/ai/KnowledgeSource.json +2 -2
  79. package/json-schema/ai/KnowledgeSourceKind.json +2 -2
  80. package/json-schema/ai/MCPApprovalPolicy.json +2 -2
  81. package/json-schema/ai/MCPServerRef.json +2 -2
  82. package/json-schema/ai/MCPToolBinding.json +2 -2
  83. package/json-schema/ai/MCPTransport.json +2 -2
  84. package/json-schema/ai/MessageContent.json +2 -2
  85. package/json-schema/ai/MessageContentType.json +2 -2
  86. package/json-schema/ai/MessagePruningEvent.json +2 -2
  87. package/json-schema/ai/MessageRole.json +2 -2
  88. package/json-schema/ai/ModelCapability.json +2 -2
  89. package/json-schema/ai/ModelConfig.json +2 -2
  90. package/json-schema/ai/ModelLimits.json +2 -2
  91. package/json-schema/ai/ModelPricing.json +2 -2
  92. package/json-schema/ai/ModelProvider.json +2 -2
  93. package/json-schema/ai/ModelRegistryEntry.json +2 -2
  94. package/json-schema/ai/ModelSelectionCriteria.json +2 -2
  95. package/json-schema/ai/ObjectKnowledgeSource.json +2 -2
  96. package/json-schema/ai/PromptVariable.json +2 -2
  97. package/json-schema/ai/Skill.json +2 -2
  98. package/json-schema/ai/SkillTriggerCondition.json +2 -2
  99. package/json-schema/ai/StructuredOutputConfig.json +2 -2
  100. package/json-schema/ai/StructuredOutputFormat.json +2 -2
  101. package/json-schema/ai/TextContent.json +2 -2
  102. package/json-schema/ai/TokenBudgetConfig.json +2 -2
  103. package/json-schema/ai/TokenBudgetStrategy.json +2 -2
  104. package/json-schema/ai/TokenUsage.json +2 -2
  105. package/json-schema/ai/TokenUsageStats.json +2 -2
  106. package/json-schema/ai/Tool.json +2 -2
  107. package/json-schema/ai/ToolCall.json +2 -2
  108. package/json-schema/ai/ToolCategory.json +2 -2
  109. package/json-schema/ai/TransformPipelineStep.json +2 -2
  110. package/json-schema/ai/VectorStore.json +2 -2
  111. package/json-schema/ai/VectorStoreProvider.json +2 -2
  112. package/json-schema/api/AckMessage.json +2 -2
  113. package/json-schema/api/AddReactionRequest.json +2 -2
  114. package/json-schema/api/AddReactionResponse.json +2 -2
  115. package/json-schema/api/AiInsightsRequest.json +2 -2
  116. package/json-schema/api/AiInsightsResponse.json +2 -2
  117. package/json-schema/api/AiNlqRequest.json +2 -2
  118. package/json-schema/api/AiNlqResponse.json +2 -2
  119. package/json-schema/api/AiSuggestRequest.json +2 -2
  120. package/json-schema/api/AiSuggestResponse.json +2 -2
  121. package/json-schema/api/AnalyticsEndpoint.json +2 -2
  122. package/json-schema/api/AnalyticsMetadataResponse.json +2 -2
  123. package/json-schema/api/AnalyticsQueryRequest.json +2 -2
  124. package/json-schema/api/AnalyticsResultResponse.json +2 -2
  125. package/json-schema/api/AnalyticsSqlResponse.json +2 -2
  126. package/json-schema/api/ApiChangelogEntry.json +2 -2
  127. package/json-schema/api/ApiDiscoveryQuery.json +2 -2
  128. package/json-schema/api/ApiDiscoveryResponse.json +2 -2
  129. package/json-schema/api/ApiDocumentationConfig.json +2 -2
  130. package/json-schema/api/ApiEndpoint.json +2 -2
  131. package/json-schema/api/ApiEndpointRegistration.json +2 -2
  132. package/json-schema/api/ApiError.json +2 -2
  133. package/json-schema/api/ApiMapping.json +2 -2
  134. package/json-schema/api/ApiMetadata.json +2 -2
  135. package/json-schema/api/ApiParameter.json +2 -2
  136. package/json-schema/api/ApiProtocolType.json +2 -2
  137. package/json-schema/api/ApiRegistry.json +2 -2
  138. package/json-schema/api/ApiRegistryEntry.json +2 -2
  139. package/json-schema/api/ApiResponse.json +2 -2
  140. package/json-schema/api/ApiRoutes.json +2 -2
  141. package/json-schema/api/ApiTestCollection.json +2 -2
  142. package/json-schema/api/ApiTestRequest.json +2 -2
  143. package/json-schema/api/ApiTestingUiConfig.json +2 -2
  144. package/json-schema/api/ApiTestingUiType.json +2 -2
  145. package/json-schema/api/AuthEndpoint.json +2 -2
  146. package/json-schema/api/AuthFeaturesConfig.json +2 -2
  147. package/json-schema/api/AuthProvider.json +2 -2
  148. package/json-schema/api/AuthProviderInfo.json +2 -2
  149. package/json-schema/api/AutomationApiErrorCode.json +2 -2
  150. package/json-schema/api/AutomationFlowPathParams.json +2 -2
  151. package/json-schema/api/AutomationRunPathParams.json +2 -2
  152. package/json-schema/api/AutomationTriggerRequest.json +2 -2
  153. package/json-schema/api/AutomationTriggerResponse.json +2 -2
  154. package/json-schema/api/BasePresence.json +2 -2
  155. package/json-schema/api/BaseResponse.json +2 -2
  156. package/json-schema/api/BatchConfig.json +2 -2
  157. package/json-schema/api/BatchDataRequest.json +2 -2
  158. package/json-schema/api/BatchDataResponse.json +2 -2
  159. package/json-schema/api/BatchEndpointsConfig.json +2 -2
  160. package/json-schema/api/BatchLoadingStrategy.json +2 -2
  161. package/json-schema/api/BatchOperationResult.json +2 -2
  162. package/json-schema/api/BatchOperationType.json +2 -2
  163. package/json-schema/api/BatchOptions.json +2 -2
  164. package/json-schema/api/BatchRecord.json +2 -2
  165. package/json-schema/api/BatchUpdateRequest.json +2 -2
  166. package/json-schema/api/BatchUpdateResponse.json +2 -2
  167. package/json-schema/api/BulkRequest.json +2 -2
  168. package/json-schema/api/BulkResponse.json +2 -2
  169. package/json-schema/api/CacheControl.json +2 -2
  170. package/json-schema/api/CacheDirective.json +2 -2
  171. package/json-schema/api/CacheInvalidationRequest.json +2 -2
  172. package/json-schema/api/CacheInvalidationResponse.json +2 -2
  173. package/json-schema/api/CacheInvalidationTarget.json +2 -2
  174. package/json-schema/api/Callback.json +2 -2
  175. package/json-schema/api/ChangelogEntry.json +2 -2
  176. package/json-schema/api/CheckPermissionRequest.json +2 -2
  177. package/json-schema/api/CheckPermissionResponse.json +2 -2
  178. package/json-schema/api/CodeGenerationTemplate.json +2 -2
  179. package/json-schema/api/CompleteChunkedUploadRequest.json +2 -2
  180. package/json-schema/api/CompleteChunkedUploadResponse.json +2 -2
  181. package/json-schema/api/CompleteUploadRequest.json +2 -2
  182. package/json-schema/api/ConceptListResponse.json +2 -2
  183. package/json-schema/api/ConflictResolutionStrategy.json +2 -2
  184. package/json-schema/api/CreateDataRequest.json +2 -2
  185. package/json-schema/api/CreateDataResponse.json +2 -2
  186. package/json-schema/api/CreateExportJobRequest.json +2 -2
  187. package/json-schema/api/CreateExportJobResponse.json +2 -2
  188. package/json-schema/api/CreateFeedItemRequest.json +2 -2
  189. package/json-schema/api/CreateFeedItemResponse.json +2 -2
  190. package/json-schema/api/CreateManyDataRequest.json +2 -2
  191. package/json-schema/api/CreateManyDataResponse.json +2 -2
  192. package/json-schema/api/CreateRequest.json +2 -2
  193. package/json-schema/api/CrudEndpointPattern.json +2 -2
  194. package/json-schema/api/CrudEndpointsConfig.json +2 -2
  195. package/json-schema/api/CrudOperation.json +2 -2
  196. package/json-schema/api/CursorMessage.json +2 -2
  197. package/json-schema/api/CursorPosition.json +2 -2
  198. package/json-schema/api/DataEvent.json +2 -2
  199. package/json-schema/api/DataEventType.json +2 -2
  200. package/json-schema/api/DataLoaderConfig.json +2 -2
  201. package/json-schema/api/DeduplicationStrategy.json +2 -2
  202. package/json-schema/api/DeleteDataRequest.json +2 -2
  203. package/json-schema/api/DeleteDataResponse.json +2 -2
  204. package/json-schema/api/DeleteFeedItemRequest.json +2 -2
  205. package/json-schema/api/DeleteFeedItemResponse.json +2 -2
  206. package/json-schema/api/DeleteFlowRequest.json +2 -2
  207. package/json-schema/api/DeleteFlowResponse.json +2 -2
  208. package/json-schema/api/DeleteManyDataRequest.json +2 -2
  209. package/json-schema/api/DeleteManyDataResponse.json +2 -2
  210. package/json-schema/api/DeleteManyRequest.json +2 -2
  211. package/json-schema/api/DeleteMetaItemRequest.json +2 -2
  212. package/json-schema/api/DeleteMetaItemResponse.json +2 -2
  213. package/json-schema/api/DeleteResponse.json +2 -2
  214. package/json-schema/api/DeleteViewRequest.json +2 -2
  215. package/json-schema/api/DeleteViewResponse.json +2 -2
  216. package/json-schema/api/DeviceRequestResponse.json +2 -2
  217. package/json-schema/api/DeviceTokenResponse.json +2 -2
  218. package/json-schema/api/DisablePackageRequest.json +2 -2
  219. package/json-schema/api/DisablePackageResponse.json +2 -2
  220. package/json-schema/api/Discovery.json +2 -2
  221. package/json-schema/api/DispatcherConfig.json +2 -2
  222. package/json-schema/api/DispatcherErrorCode.json +2 -2
  223. package/json-schema/api/DispatcherErrorResponse.json +2 -2
  224. package/json-schema/api/DispatcherRoute.json +2 -2
  225. package/json-schema/api/DocumentState.json +2 -2
  226. package/json-schema/api/ETag.json +2 -2
  227. package/json-schema/api/EditMessage.json +2 -2
  228. package/json-schema/api/EditOperation.json +2 -2
  229. package/json-schema/api/EditOperationType.json +2 -2
  230. package/json-schema/api/EmailPasswordConfigPublic.json +2 -2
  231. package/json-schema/api/EnablePackageRequest.json +2 -2
  232. package/json-schema/api/EnablePackageResponse.json +2 -2
  233. package/json-schema/api/EndpointRegistry.json +2 -2
  234. package/json-schema/api/EnhancedApiError.json +2 -2
  235. package/json-schema/api/ErrorCategory.json +2 -2
  236. package/json-schema/api/ErrorHandlingConfig.json +2 -2
  237. package/json-schema/api/ErrorMessage.json +2 -2
  238. package/json-schema/api/ErrorResponse.json +2 -2
  239. package/json-schema/api/EventFilter.json +2 -2
  240. package/json-schema/api/EventFilterCondition.json +2 -2
  241. package/json-schema/api/EventMessage.json +2 -2
  242. package/json-schema/api/EventPattern.json +2 -2
  243. package/json-schema/api/EventSubscription.json +2 -2
  244. package/json-schema/api/ExportFormat.json +2 -2
  245. package/json-schema/api/ExportImportTemplate.json +2 -2
  246. package/json-schema/api/ExportJobProgress.json +2 -2
  247. package/json-schema/api/ExportJobStatus.json +2 -2
  248. package/json-schema/api/ExportJobSummary.json +2 -2
  249. package/json-schema/api/ExportRequest.json +2 -2
  250. package/json-schema/api/FederationEntity.json +2 -2
  251. package/json-schema/api/FederationEntityKey.json +2 -2
  252. package/json-schema/api/FederationExternalField.json +2 -2
  253. package/json-schema/api/FederationGateway.json +2 -2
  254. package/json-schema/api/FederationProvides.json +2 -2
  255. package/json-schema/api/FederationRequires.json +2 -2
  256. package/json-schema/api/FeedApiErrorCode.json +2 -2
  257. package/json-schema/api/FeedItemPathParams.json +2 -2
  258. package/json-schema/api/FeedListFilterType.json +2 -2
  259. package/json-schema/api/FeedPathParams.json +2 -2
  260. package/json-schema/api/FeedUnsubscribeRequest.json +2 -2
  261. package/json-schema/api/FieldError.json +2 -2
  262. package/json-schema/api/FieldMappingEntry.json +2 -2
  263. package/json-schema/api/FileTypeValidation.json +2 -2
  264. package/json-schema/api/FileUploadResponse.json +2 -2
  265. package/json-schema/api/FilterOperator.json +2 -2
  266. package/json-schema/api/FindDataRequest.json +2 -2
  267. package/json-schema/api/FindDataResponse.json +2 -2
  268. package/json-schema/api/FlowSummary.json +2 -2
  269. package/json-schema/api/GeneratedApiDocumentation.json +2 -2
  270. package/json-schema/api/GeneratedEndpoint.json +2 -2
  271. package/json-schema/api/GetAnalyticsMetaRequest.json +2 -2
  272. package/json-schema/api/GetAuthConfigResponse.json +2 -2
  273. package/json-schema/api/GetChangelogRequest.json +2 -2
  274. package/json-schema/api/GetChangelogResponse.json +2 -2
  275. package/json-schema/api/GetDataRequest.json +2 -2
  276. package/json-schema/api/GetDataResponse.json +2 -2
  277. package/json-schema/api/GetDiscoveryRequest.json +2 -2
  278. package/json-schema/api/GetDiscoveryResponse.json +2 -2
  279. package/json-schema/api/GetEffectivePermissionsRequest.json +2 -2
  280. package/json-schema/api/GetEffectivePermissionsResponse.json +2 -2
  281. package/json-schema/api/GetExportJobDownloadRequest.json +2 -2
  282. package/json-schema/api/GetExportJobDownloadResponse.json +2 -2
  283. package/json-schema/api/GetFeedRequest.json +2 -2
  284. package/json-schema/api/GetFeedResponse.json +2 -2
  285. package/json-schema/api/GetFieldLabelsRequest.json +2 -2
  286. package/json-schema/api/GetFieldLabelsResponse.json +2 -2
  287. package/json-schema/api/GetFlowRequest.json +2 -2
  288. package/json-schema/api/GetInstalledPackageRequest.json +2 -2
  289. package/json-schema/api/GetInstalledPackageResponse.json +2 -2
  290. package/json-schema/api/GetLocalesRequest.json +2 -2
  291. package/json-schema/api/GetLocalesResponse.json +2 -2
  292. package/json-schema/api/GetMetaItemCachedRequest.json +2 -2
  293. package/json-schema/api/GetMetaItemCachedResponse.json +2 -2
  294. package/json-schema/api/GetMetaItemRequest.json +2 -2
  295. package/json-schema/api/GetMetaItemResponse.json +2 -2
  296. package/json-schema/api/GetMetaItemsRequest.json +2 -2
  297. package/json-schema/api/GetMetaItemsResponse.json +2 -2
  298. package/json-schema/api/GetMetaTypesRequest.json +2 -2
  299. package/json-schema/api/GetMetaTypesResponse.json +2 -2
  300. package/json-schema/api/GetNotificationPreferencesRequest.json +2 -2
  301. package/json-schema/api/GetNotificationPreferencesResponse.json +2 -2
  302. package/json-schema/api/GetObjectPermissionsRequest.json +2 -2
  303. package/json-schema/api/GetObjectPermissionsResponse.json +2 -2
  304. package/json-schema/api/GetPackageRequest.json +2 -2
  305. package/json-schema/api/GetPackageResponse.json +2 -2
  306. package/json-schema/api/GetPresenceRequest.json +2 -2
  307. package/json-schema/api/GetPresenceResponse.json +2 -2
  308. package/json-schema/api/GetPresignedUrlRequest.json +2 -2
  309. package/json-schema/api/GetRunRequest.json +2 -2
  310. package/json-schema/api/GetRunResponse.json +2 -2
  311. package/json-schema/api/GetTranslationsRequest.json +2 -2
  312. package/json-schema/api/GetTranslationsResponse.json +2 -2
  313. package/json-schema/api/GetUiViewRequest.json +2 -2
  314. package/json-schema/api/GetViewRequest.json +2 -2
  315. package/json-schema/api/GetWorkflowConfigRequest.json +2 -2
  316. package/json-schema/api/GetWorkflowStateRequest.json +2 -2
  317. package/json-schema/api/GetWorkflowStateResponse.json +2 -2
  318. package/json-schema/api/GraphQLDataLoaderConfig.json +2 -2
  319. package/json-schema/api/GraphQLDirectiveConfig.json +2 -2
  320. package/json-schema/api/GraphQLDirectiveLocation.json +2 -2
  321. package/json-schema/api/GraphQLMutationConfig.json +2 -2
  322. package/json-schema/api/GraphQLPersistedQuery.json +2 -2
  323. package/json-schema/api/GraphQLQueryAdapter.json +2 -2
  324. package/json-schema/api/GraphQLQueryComplexity.json +2 -2
  325. package/json-schema/api/GraphQLQueryDepthLimit.json +2 -2
  326. package/json-schema/api/GraphQLRateLimit.json +2 -2
  327. package/json-schema/api/GraphQLScalarType.json +2 -2
  328. package/json-schema/api/GraphQLSubscriptionConfig.json +2 -2
  329. package/json-schema/api/GraphQLTypeConfig.json +2 -2
  330. package/json-schema/api/HandlerStatus.json +2 -2
  331. package/json-schema/api/HttpFindQueryParams.json +2 -2
  332. package/json-schema/api/HttpMethod.json +2 -2
  333. package/json-schema/api/HttpStatusCode.json +2 -2
  334. package/json-schema/api/IdRequest.json +2 -2
  335. package/json-schema/api/ImportValidationConfig.json +2 -2
  336. package/json-schema/api/ImportValidationMode.json +2 -2
  337. package/json-schema/api/ImportValidationResult.json +2 -2
  338. package/json-schema/api/InitiateChunkedUploadRequest.json +2 -2
  339. package/json-schema/api/InitiateChunkedUploadResponse.json +2 -2
  340. package/json-schema/api/InstallPackageRequest.json +2 -2
  341. package/json-schema/api/InstallPackageResponse.json +2 -2
  342. package/json-schema/api/ListExportJobsRequest.json +2 -2
  343. package/json-schema/api/ListExportJobsResponse.json +2 -2
  344. package/json-schema/api/ListFlowsRequest.json +2 -2
  345. package/json-schema/api/ListFlowsResponse.json +2 -2
  346. package/json-schema/api/ListInstalledPackagesRequest.json +2 -2
  347. package/json-schema/api/ListInstalledPackagesResponse.json +2 -2
  348. package/json-schema/api/ListNotificationsRequest.json +2 -2
  349. package/json-schema/api/ListNotificationsResponse.json +2 -2
  350. package/json-schema/api/ListPackagesRequest.json +2 -2
  351. package/json-schema/api/ListPackagesResponse.json +2 -2
  352. package/json-schema/api/ListRecordResponse.json +2 -2
  353. package/json-schema/api/ListRunsRequest.json +2 -2
  354. package/json-schema/api/ListRunsResponse.json +2 -2
  355. package/json-schema/api/ListViewsRequest.json +2 -2
  356. package/json-schema/api/LoginRequest.json +2 -2
  357. package/json-schema/api/LoginType.json +2 -2
  358. package/json-schema/api/MarkAllNotificationsReadRequest.json +2 -2
  359. package/json-schema/api/MarkAllNotificationsReadResponse.json +2 -2
  360. package/json-schema/api/MarkNotificationsReadRequest.json +2 -2
  361. package/json-schema/api/MarkNotificationsReadResponse.json +2 -2
  362. package/json-schema/api/MetadataBulkRegisterRequest.json +2 -2
  363. package/json-schema/api/MetadataBulkResponse.json +2 -2
  364. package/json-schema/api/MetadataBulkUnregisterRequest.json +2 -2
  365. package/json-schema/api/MetadataCacheRequest.json +2 -2
  366. package/json-schema/api/MetadataCacheResponse.json +2 -2
  367. package/json-schema/api/MetadataDeleteResponse.json +2 -2
  368. package/json-schema/api/MetadataDependenciesResponse.json +2 -2
  369. package/json-schema/api/MetadataDependentsResponse.json +2 -2
  370. package/json-schema/api/MetadataEffectiveResponse.json +2 -2
  371. package/json-schema/api/MetadataEndpointsConfig.json +2 -2
  372. package/json-schema/api/MetadataEvent.json +2 -2
  373. package/json-schema/api/MetadataEventType.json +2 -2
  374. package/json-schema/api/MetadataExistsResponse.json +2 -2
  375. package/json-schema/api/MetadataExportRequest.json +2 -2
  376. package/json-schema/api/MetadataExportResponse.json +2 -2
  377. package/json-schema/api/MetadataImportRequest.json +2 -2
  378. package/json-schema/api/MetadataImportResponse.json +2 -2
  379. package/json-schema/api/MetadataItemResponse.json +2 -2
  380. package/json-schema/api/MetadataListResponse.json +2 -2
  381. package/json-schema/api/MetadataNamesResponse.json +2 -2
  382. package/json-schema/api/MetadataOverlayResponse.json +2 -2
  383. package/json-schema/api/MetadataOverlaySaveRequest.json +2 -2
  384. package/json-schema/api/MetadataQueryRequest.json +3 -2
  385. package/json-schema/api/MetadataQueryResponse.json +2 -2
  386. package/json-schema/api/MetadataRegisterRequest.json +3 -2
  387. package/json-schema/api/MetadataTypeInfoResponse.json +2 -2
  388. package/json-schema/api/MetadataTypesResponse.json +2 -2
  389. package/json-schema/api/MetadataValidateRequest.json +2 -2
  390. package/json-schema/api/MetadataValidateResponse.json +2 -2
  391. package/json-schema/api/ModificationResult.json +2 -2
  392. package/json-schema/api/Notification.json +2 -2
  393. package/json-schema/api/NotificationPreferences.json +2 -2
  394. package/json-schema/api/ODataConfig.json +2 -2
  395. package/json-schema/api/ODataError.json +2 -2
  396. package/json-schema/api/ODataFilterFunction.json +2 -2
  397. package/json-schema/api/ODataFilterOperator.json +2 -2
  398. package/json-schema/api/ODataMetadata.json +2 -2
  399. package/json-schema/api/ODataQuery.json +2 -2
  400. package/json-schema/api/ODataQueryAdapter.json +2 -2
  401. package/json-schema/api/ODataResponse.json +2 -2
  402. package/json-schema/api/ObjectQLReference.json +2 -2
  403. package/json-schema/api/OpenApi31Extensions.json +2 -2
  404. package/json-schema/api/OpenApiGenerationConfig.json +2 -2
  405. package/json-schema/api/OpenApiSecurityScheme.json +2 -2
  406. package/json-schema/api/OpenApiServer.json +2 -2
  407. package/json-schema/api/OpenApiSpec.json +2 -2
  408. package/json-schema/api/OperatorMapping.json +2 -2
  409. package/json-schema/api/PackageApiErrorCode.json +2 -2
  410. package/json-schema/api/PackageInstallRequest.json +2 -2
  411. package/json-schema/api/PackageInstallResponse.json +2 -2
  412. package/json-schema/api/PackagePathParams.json +2 -2
  413. package/json-schema/api/PackageRollbackRequest.json +2 -2
  414. package/json-schema/api/PackageRollbackResponse.json +2 -2
  415. package/json-schema/api/PackageUpgradeRequest.json +2 -2
  416. package/json-schema/api/PackageUpgradeResponse.json +2 -2
  417. package/json-schema/api/PinFeedItemRequest.json +2 -2
  418. package/json-schema/api/PinFeedItemResponse.json +2 -2
  419. package/json-schema/api/PingMessage.json +2 -2
  420. package/json-schema/api/PongMessage.json +2 -2
  421. package/json-schema/api/PresenceMessage.json +2 -2
  422. package/json-schema/api/PresenceState.json +2 -2
  423. package/json-schema/api/PresenceStatus.json +2 -2
  424. package/json-schema/api/PresenceUpdate.json +2 -2
  425. package/json-schema/api/PresignedUrlResponse.json +2 -2
  426. package/json-schema/api/QueryAdapterConfig.json +2 -2
  427. package/json-schema/api/QueryAdapterTarget.json +2 -2
  428. package/json-schema/api/QueryOptimizationConfig.json +2 -2
  429. package/json-schema/api/RealtimeConfig.json +2 -2
  430. package/json-schema/api/RealtimeConnectRequest.json +2 -2
  431. package/json-schema/api/RealtimeConnectResponse.json +2 -2
  432. package/json-schema/api/RealtimeDisconnectRequest.json +2 -2
  433. package/json-schema/api/RealtimeDisconnectResponse.json +2 -2
  434. package/json-schema/api/RealtimeEvent.json +2 -2
  435. package/json-schema/api/RealtimeEventType.json +2 -2
  436. package/json-schema/api/RealtimePresence.json +2 -2
  437. package/json-schema/api/RealtimeRecordAction.json +2 -2
  438. package/json-schema/api/RealtimeSubscribeRequest.json +2 -2
  439. package/json-schema/api/RealtimeSubscribeResponse.json +2 -2
  440. package/json-schema/api/RealtimeUnsubscribeRequest.json +2 -2
  441. package/json-schema/api/RealtimeUnsubscribeResponse.json +2 -2
  442. package/json-schema/api/RecordData.json +2 -2
  443. package/json-schema/api/RefreshTokenRequest.json +2 -2
  444. package/json-schema/api/RegisterDeviceRequest.json +2 -2
  445. package/json-schema/api/RegisterDeviceResponse.json +2 -2
  446. package/json-schema/api/RegisterRequest.json +2 -2
  447. package/json-schema/api/RemoveReactionRequest.json +2 -2
  448. package/json-schema/api/RemoveReactionResponse.json +2 -2
  449. package/json-schema/api/RequestValidationConfig.json +2 -2
  450. package/json-schema/api/ResolveDependenciesRequest.json +2 -2
  451. package/json-schema/api/ResolveDependenciesResponse.json +2 -2
  452. package/json-schema/api/ResponseEnvelopeConfig.json +2 -2
  453. package/json-schema/api/RestApiConfig.json +2 -2
  454. package/json-schema/api/RestApiEndpoint.json +2 -2
  455. package/json-schema/api/RestApiPluginConfig.json +2 -2
  456. package/json-schema/api/RestApiRouteCategory.json +2 -2
  457. package/json-schema/api/RestApiRouteRegistration.json +2 -2
  458. package/json-schema/api/RestQueryAdapter.json +2 -2
  459. package/json-schema/api/RestServerConfig.json +2 -2
  460. package/json-schema/api/RetryStrategy.json +2 -2
  461. package/json-schema/api/RouteCategory.json +2 -2
  462. package/json-schema/api/RouteCoverageEntry.json +2 -2
  463. package/json-schema/api/RouteCoverageReport.json +2 -2
  464. package/json-schema/api/RouteDefinition.json +2 -2
  465. package/json-schema/api/RouteGenerationConfig.json +2 -2
  466. package/json-schema/api/RouteHealthEntry.json +2 -2
  467. package/json-schema/api/RouteHealthReport.json +2 -2
  468. package/json-schema/api/RouterConfig.json +2 -2
  469. package/json-schema/api/SaveMetaItemRequest.json +2 -2
  470. package/json-schema/api/SaveMetaItemResponse.json +2 -2
  471. package/json-schema/api/ScheduleExportResponse.json +2 -2
  472. package/json-schema/api/SchemaDefinition.json +2 -2
  473. package/json-schema/api/SearchFeedRequest.json +2 -2
  474. package/json-schema/api/SearchFeedResponse.json +2 -2
  475. package/json-schema/api/ServiceInfo.json +2 -2
  476. package/json-schema/api/ServiceStatus.json +2 -2
  477. package/json-schema/api/Session.json +2 -2
  478. package/json-schema/api/SessionResponse.json +2 -2
  479. package/json-schema/api/SessionUser.json +2 -2
  480. package/json-schema/api/SetPresenceRequest.json +2 -2
  481. package/json-schema/api/SetPresenceResponse.json +2 -2
  482. package/json-schema/api/SimpleCursorPosition.json +2 -2
  483. package/json-schema/api/SimplePresenceState.json +2 -2
  484. package/json-schema/api/SingleRecordResponse.json +2 -2
  485. package/json-schema/api/StandardErrorCode.json +2 -2
  486. package/json-schema/api/StarFeedItemRequest.json +2 -2
  487. package/json-schema/api/StarFeedItemResponse.json +2 -2
  488. package/json-schema/api/SubgraphConfig.json +2 -2
  489. package/json-schema/api/SubscribeMessage.json +2 -2
  490. package/json-schema/api/SubscribeRequest.json +2 -2
  491. package/json-schema/api/SubscribeResponse.json +2 -2
  492. package/json-schema/api/Subscription.json +2 -2
  493. package/json-schema/api/SubscriptionEvent.json +2 -2
  494. package/json-schema/api/ToggleFlowRequest.json +2 -2
  495. package/json-schema/api/ToggleFlowResponse.json +2 -2
  496. package/json-schema/api/TransportProtocol.json +2 -2
  497. package/json-schema/api/TriggerFlowRequest.json +2 -2
  498. package/json-schema/api/TriggerFlowResponse.json +2 -2
  499. package/json-schema/api/UninstallPackageApiRequest.json +2 -2
  500. package/json-schema/api/UninstallPackageApiResponse.json +2 -2
  501. package/json-schema/api/UninstallPackageRequest.json +2 -2
  502. package/json-schema/api/UninstallPackageResponse.json +2 -2
  503. package/json-schema/api/UnpinFeedItemRequest.json +2 -2
  504. package/json-schema/api/UnpinFeedItemResponse.json +2 -2
  505. package/json-schema/api/UnregisterDeviceRequest.json +2 -2
  506. package/json-schema/api/UnregisterDeviceResponse.json +2 -2
  507. package/json-schema/api/UnstarFeedItemRequest.json +2 -2
  508. package/json-schema/api/UnstarFeedItemResponse.json +2 -2
  509. package/json-schema/api/UnsubscribeMessage.json +2 -2
  510. package/json-schema/api/UnsubscribeRequest.json +2 -2
  511. package/json-schema/api/UnsubscribeResponse.json +2 -2
  512. package/json-schema/api/UpdateDataRequest.json +2 -2
  513. package/json-schema/api/UpdateDataResponse.json +2 -2
  514. package/json-schema/api/UpdateFeedItemRequest.json +2 -2
  515. package/json-schema/api/UpdateFeedItemResponse.json +2 -2
  516. package/json-schema/api/UpdateManyDataRequest.json +2 -2
  517. package/json-schema/api/UpdateManyDataResponse.json +2 -2
  518. package/json-schema/api/UpdateManyRequest.json +2 -2
  519. package/json-schema/api/UpdateNotificationPreferencesRequest.json +2 -2
  520. package/json-schema/api/UpdateNotificationPreferencesResponse.json +2 -2
  521. package/json-schema/api/UpdateRequest.json +2 -2
  522. package/json-schema/api/UploadArtifactRequest.json +2 -2
  523. package/json-schema/api/UploadArtifactResponse.json +2 -2
  524. package/json-schema/api/UploadChunkRequest.json +2 -2
  525. package/json-schema/api/UploadChunkResponse.json +2 -2
  526. package/json-schema/api/UploadProgress.json +2 -2
  527. package/json-schema/api/UserProfileResponse.json +2 -2
  528. package/json-schema/api/ValidationMode.json +2 -2
  529. package/json-schema/api/VersionDefinition.json +2 -2
  530. package/json-schema/api/VersionNegotiationResponse.json +2 -2
  531. package/json-schema/api/VersionStatus.json +2 -2
  532. package/json-schema/api/VersioningConfig.json +2 -2
  533. package/json-schema/api/VersioningStrategy.json +2 -2
  534. package/json-schema/api/WebSocketConfig.json +2 -2
  535. package/json-schema/api/WebSocketEvent.json +2 -2
  536. package/json-schema/api/WebSocketMessage.json +2 -2
  537. package/json-schema/api/WebSocketMessageType.json +2 -2
  538. package/json-schema/api/WebSocketPresenceStatus.json +2 -2
  539. package/json-schema/api/WebSocketServerConfig.json +2 -2
  540. package/json-schema/api/WebhookConfig.json +2 -2
  541. package/json-schema/api/WebhookEvent.json +2 -2
  542. package/json-schema/api/WellKnownCapabilities.json +2 -2
  543. package/json-schema/api/WorkflowApproveRequest.json +2 -2
  544. package/json-schema/api/WorkflowApproveResponse.json +2 -2
  545. package/json-schema/api/WorkflowRejectRequest.json +2 -2
  546. package/json-schema/api/WorkflowRejectResponse.json +2 -2
  547. package/json-schema/api/WorkflowState.json +2 -2
  548. package/json-schema/api/WorkflowTransitionRequest.json +2 -2
  549. package/json-schema/api/WorkflowTransitionResponse.json +2 -2
  550. package/json-schema/automation/ActionRef.json +2 -2
  551. package/json-schema/automation/ApprovalAction.json +2 -2
  552. package/json-schema/automation/ApprovalActionType.json +2 -2
  553. package/json-schema/automation/ApproverType.json +2 -2
  554. package/json-schema/automation/AuthField.json +2 -2
  555. package/json-schema/automation/Authentication.json +2 -2
  556. package/json-schema/automation/AuthenticationType.json +2 -2
  557. package/json-schema/automation/BpmnDiagnostic.json +2 -2
  558. package/json-schema/automation/BpmnElementMapping.json +2 -2
  559. package/json-schema/automation/BpmnExportOptions.json +2 -2
  560. package/json-schema/automation/BpmnImportOptions.json +2 -2
  561. package/json-schema/automation/BpmnInteropResult.json +2 -2
  562. package/json-schema/automation/BpmnUnmappedStrategy.json +2 -2
  563. package/json-schema/automation/BpmnVersion.json +2 -2
  564. package/json-schema/automation/Checkpoint.json +2 -2
  565. package/json-schema/automation/ConcurrencyPolicy.json +2 -2
  566. package/json-schema/automation/ConflictResolution.json +2 -2
  567. package/json-schema/automation/Connector.json +2 -2
  568. package/json-schema/automation/ConnectorActionRef.json +2 -2
  569. package/json-schema/automation/ConnectorCategory.json +2 -2
  570. package/json-schema/automation/ConnectorInstance.json +2 -2
  571. package/json-schema/automation/ConnectorOperation.json +2 -2
  572. package/json-schema/automation/ConnectorTrigger.json +2 -2
  573. package/json-schema/automation/CustomScriptAction.json +2 -2
  574. package/json-schema/automation/DataSourceConfig.json +2 -2
  575. package/json-schema/automation/ETLDestination.json +2 -2
  576. package/json-schema/automation/ETLEndpointType.json +2 -2
  577. package/json-schema/automation/ETLPipelineRun.json +2 -2
  578. package/json-schema/automation/ETLRunStatus.json +2 -2
  579. package/json-schema/automation/ETLSource.json +2 -2
  580. package/json-schema/automation/ETLSyncMode.json +2 -2
  581. package/json-schema/automation/ETLTransformation.json +2 -2
  582. package/json-schema/automation/ETLTransformationType.json +2 -2
  583. package/json-schema/automation/EmailAlertAction.json +2 -2
  584. package/json-schema/automation/Event.json +2 -2
  585. package/json-schema/automation/ExecutionError.json +2 -2
  586. package/json-schema/automation/ExecutionErrorSeverity.json +2 -2
  587. package/json-schema/automation/ExecutionLog.json +2 -2
  588. package/json-schema/automation/ExecutionStatus.json +2 -2
  589. package/json-schema/automation/ExecutionStepLog.json +2 -2
  590. package/json-schema/automation/FieldUpdateAction.json +2 -2
  591. package/json-schema/automation/FlowNode.json +2 -2
  592. package/json-schema/automation/FlowNodeAction.json +2 -2
  593. package/json-schema/automation/FlowVariable.json +2 -2
  594. package/json-schema/automation/GuardRef.json +2 -2
  595. package/json-schema/automation/HttpCallAction.json +2 -2
  596. package/json-schema/automation/NodeExecutorDescriptor.json +2 -2
  597. package/json-schema/automation/OAuth2Config.json +2 -2
  598. package/json-schema/automation/OperationParameter.json +2 -2
  599. package/json-schema/automation/OperationType.json +2 -2
  600. package/json-schema/automation/PushNotificationAction.json +2 -2
  601. package/json-schema/automation/StateMachine.json +2 -2
  602. package/json-schema/automation/StateNode.json +2 -2
  603. package/json-schema/automation/SyncDirection.json +2 -2
  604. package/json-schema/automation/SyncExecutionResult.json +2 -2
  605. package/json-schema/automation/SyncExecutionStatus.json +2 -2
  606. package/json-schema/automation/SyncMode.json +2 -2
  607. package/json-schema/automation/Transition.json +2 -2
  608. package/json-schema/automation/WaitEventType.json +2 -2
  609. package/json-schema/automation/WaitExecutorConfig.json +2 -2
  610. package/json-schema/automation/WaitResumePayload.json +2 -2
  611. package/json-schema/automation/WaitTimeoutBehavior.json +2 -2
  612. package/json-schema/automation/Webhook.json +2 -2
  613. package/json-schema/automation/WebhookReceiver.json +2 -2
  614. package/json-schema/automation/WebhookTriggerType.json +2 -2
  615. package/json-schema/automation/WorkflowTriggerType.json +2 -2
  616. package/json-schema/cloud/AnalyticsTimeRange.json +2 -2
  617. package/json-schema/cloud/AppDiscoveryRequest.json +2 -2
  618. package/json-schema/cloud/AppDiscoveryResponse.json +2 -2
  619. package/json-schema/cloud/AppSubscription.json +2 -2
  620. package/json-schema/cloud/ArtifactDownloadResponse.json +2 -2
  621. package/json-schema/cloud/ArtifactReference.json +2 -2
  622. package/json-schema/cloud/CreateListingRequest.json +2 -2
  623. package/json-schema/cloud/CreatePackageRequest.json +2 -2
  624. package/json-schema/cloud/CreatePackageVersionRequest.json +2 -2
  625. package/json-schema/cloud/CuratedCollection.json +2 -2
  626. package/json-schema/cloud/Environment.json +2 -2
  627. package/json-schema/cloud/EnvironmentCredential.json +2 -2
  628. package/json-schema/cloud/EnvironmentCredentialStatus.json +2 -2
  629. package/json-schema/cloud/EnvironmentDriver.json +2 -2
  630. package/json-schema/cloud/EnvironmentMember.json +2 -2
  631. package/json-schema/cloud/EnvironmentPackageInstallation.json +2 -2
  632. package/json-schema/cloud/EnvironmentPackageStatus.json +2 -2
  633. package/json-schema/cloud/EnvironmentRole.json +2 -2
  634. package/json-schema/cloud/EnvironmentStatus.json +2 -2
  635. package/json-schema/cloud/EnvironmentType.json +2 -2
  636. package/json-schema/cloud/EnvironmentVisibility.json +2 -2
  637. package/json-schema/cloud/FeaturedListing.json +2 -2
  638. package/json-schema/cloud/InstallPackageToEnvironmentRequest.json +2 -2
  639. package/json-schema/cloud/InstalledAppSummary.json +2 -2
  640. package/json-schema/cloud/ListEnvironmentPackagesResponse.json +2 -2
  641. package/json-schema/cloud/ListInstalledAppsRequest.json +2 -2
  642. package/json-schema/cloud/ListInstalledAppsResponse.json +2 -2
  643. package/json-schema/cloud/ListReviewsRequest.json +2 -2
  644. package/json-schema/cloud/ListReviewsResponse.json +2 -2
  645. package/json-schema/cloud/ListingActionRequest.json +2 -2
  646. package/json-schema/cloud/ListingStatus.json +2 -2
  647. package/json-schema/cloud/MarketplaceCategory.json +2 -2
  648. package/json-schema/cloud/MarketplaceHealthMetrics.json +2 -2
  649. package/json-schema/cloud/MarketplaceInstallRequest.json +2 -2
  650. package/json-schema/cloud/MarketplaceInstallResponse.json +2 -2
  651. package/json-schema/cloud/MarketplaceListing.json +2 -2
  652. package/json-schema/cloud/MarketplaceSearchRequest.json +2 -2
  653. package/json-schema/cloud/MarketplaceSearchResponse.json +2 -2
  654. package/json-schema/cloud/Package.json +2 -2
  655. package/json-schema/cloud/PackageCategory.json +2 -2
  656. package/json-schema/cloud/PackageDependency.json +2 -2
  657. package/json-schema/cloud/PackageInstallation.json +2 -2
  658. package/json-schema/cloud/PackageInstallationStatus.json +2 -2
  659. package/json-schema/cloud/PackageLocale.json +2 -2
  660. package/json-schema/cloud/PackageManifest.json +2 -2
  661. package/json-schema/cloud/PackagePublisher.json +2 -2
  662. package/json-schema/cloud/PackageSubmission.json +2 -2
  663. package/json-schema/cloud/PackageTranslation.json +2 -2
  664. package/json-schema/cloud/PackageTranslations.json +2 -2
  665. package/json-schema/cloud/PackageVersion.json +2 -2
  666. package/json-schema/cloud/PackageVersionStatus.json +2 -2
  667. package/json-schema/cloud/PackageVisibility.json +2 -2
  668. package/json-schema/cloud/PolicyAction.json +2 -2
  669. package/json-schema/cloud/PolicyViolationType.json +2 -2
  670. package/json-schema/cloud/PricingModel.json +2 -2
  671. package/json-schema/cloud/ProvisionEnvironmentRequest.json +2 -2
  672. package/json-schema/cloud/ProvisionEnvironmentResponse.json +2 -2
  673. package/json-schema/cloud/ProvisionOrganizationRequest.json +2 -2
  674. package/json-schema/cloud/ProvisionOrganizationResponse.json +2 -2
  675. package/json-schema/cloud/ProvisionTenantRequest.json +2 -2
  676. package/json-schema/cloud/ProvisionTenantResponse.json +2 -2
  677. package/json-schema/cloud/PublishPackageVersionRequest.json +2 -2
  678. package/json-schema/cloud/Publisher.json +2 -2
  679. package/json-schema/cloud/PublisherProfile.json +2 -2
  680. package/json-schema/cloud/PublisherVerification.json +2 -2
  681. package/json-schema/cloud/PublishingAnalyticsRequest.json +2 -2
  682. package/json-schema/cloud/PublishingAnalyticsResponse.json +2 -2
  683. package/json-schema/cloud/RecommendationReason.json +2 -2
  684. package/json-schema/cloud/RecommendedApp.json +2 -2
  685. package/json-schema/cloud/RejectionReason.json +2 -2
  686. package/json-schema/cloud/ReleaseChannel.json +2 -2
  687. package/json-schema/cloud/ReviewCriterion.json +2 -2
  688. package/json-schema/cloud/ReviewDecision.json +2 -2
  689. package/json-schema/cloud/ReviewModerationStatus.json +2 -2
  690. package/json-schema/cloud/RollbackEnvironmentPackageRequest.json +2 -2
  691. package/json-schema/cloud/Sha256Digest.json +2 -2
  692. package/json-schema/cloud/SubmissionReview.json +2 -2
  693. package/json-schema/cloud/SubmitReviewRequest.json +2 -2
  694. package/json-schema/cloud/SubscriptionStatus.json +2 -2
  695. package/json-schema/cloud/TemplateManifest.json +2 -2
  696. package/json-schema/cloud/TenantContext.json +2 -2
  697. package/json-schema/cloud/TenantDatabase.json +2 -2
  698. package/json-schema/cloud/TenantDatabaseStatus.json +2 -2
  699. package/json-schema/cloud/TenantIdentificationSource.json +2 -2
  700. package/json-schema/cloud/TenantPlan.json +2 -2
  701. package/json-schema/cloud/TenantRoutingConfig.json +2 -2
  702. package/json-schema/cloud/TimeSeriesPoint.json +2 -2
  703. package/json-schema/cloud/TrendingListing.json +2 -2
  704. package/json-schema/cloud/UpdateListingRequest.json +2 -2
  705. package/json-schema/cloud/UpdatePackageRequest.json +2 -2
  706. package/json-schema/cloud/UpdatePackageVersionRequest.json +2 -2
  707. package/json-schema/cloud/UpgradeEnvironmentPackageRequest.json +2 -2
  708. package/json-schema/cloud/UserReview.json +2 -2
  709. package/json-schema/cloud/VersionRelease.json +2 -2
  710. package/json-schema/data/Address.json +2 -2
  711. package/json-schema/data/AggregationFunction.json +2 -2
  712. package/json-schema/data/AggregationMetricType.json +2 -2
  713. package/json-schema/data/AggregationNode.json +2 -2
  714. package/json-schema/data/AggregationPipeline.json +2 -2
  715. package/json-schema/data/AggregationStage.json +2 -2
  716. package/json-schema/data/AnalyticsQuery.json +2 -2
  717. package/json-schema/data/ApiMethod.json +2 -2
  718. package/json-schema/data/AsyncValidation.json +2 -2
  719. package/json-schema/data/BaseEngineOptions.json +2 -2
  720. package/json-schema/data/CDCConfig.json +2 -2
  721. package/json-schema/data/ComputedFieldCache.json +2 -2
  722. package/json-schema/data/ConsistencyLevel.json +2 -2
  723. package/json-schema/data/Cube.json +2 -2
  724. package/json-schema/data/CubeJoin.json +2 -2
  725. package/json-schema/data/CurrencyConfig.json +2 -2
  726. package/json-schema/data/CurrencyValue.json +2 -2
  727. package/json-schema/data/CustomValidator.json +2 -2
  728. package/json-schema/data/DataEngineAggregateOptions.json +2 -2
  729. package/json-schema/data/DataEngineAggregateRequest.json +2 -2
  730. package/json-schema/data/DataEngineBatchRequest.json +2 -2
  731. package/json-schema/data/DataEngineCountOptions.json +2 -2
  732. package/json-schema/data/DataEngineCountRequest.json +2 -2
  733. package/json-schema/data/DataEngineDeleteOptions.json +2 -2
  734. package/json-schema/data/DataEngineDeleteRequest.json +2 -2
  735. package/json-schema/data/DataEngineExecuteRequest.json +2 -2
  736. package/json-schema/data/DataEngineFilter.json +2 -2
  737. package/json-schema/data/DataEngineFindOneRequest.json +2 -2
  738. package/json-schema/data/DataEngineFindRequest.json +2 -2
  739. package/json-schema/data/DataEngineInsertOptions.json +2 -2
  740. package/json-schema/data/DataEngineInsertRequest.json +2 -2
  741. package/json-schema/data/DataEngineQueryOptions.json +2 -2
  742. package/json-schema/data/DataEngineRequest.json +2 -2
  743. package/json-schema/data/DataEngineSort.json +2 -2
  744. package/json-schema/data/DataEngineUpdateOptions.json +2 -2
  745. package/json-schema/data/DataEngineUpdateRequest.json +2 -2
  746. package/json-schema/data/DataEngineVectorFindRequest.json +2 -2
  747. package/json-schema/data/DataQualityRules.json +2 -2
  748. package/json-schema/data/DataTypeMapping.json +2 -2
  749. package/json-schema/data/Dataset.json +2 -2
  750. package/json-schema/data/DatasetLoadResult.json +2 -2
  751. package/json-schema/data/DatasetMode.json +2 -2
  752. package/json-schema/data/Datasource.json +2 -2
  753. package/json-schema/data/DatasourceCapabilities.json +2 -2
  754. package/json-schema/data/DateGranularity.json +2 -2
  755. package/json-schema/data/DateMacroPlaceholder.json +2 -2
  756. package/json-schema/data/DateMacroToken.json +2 -2
  757. package/json-schema/data/Dimension.json +2 -2
  758. package/json-schema/data/DimensionType.json +2 -2
  759. package/json-schema/data/Document.json +2 -2
  760. package/json-schema/data/DocumentTemplate.json +2 -2
  761. package/json-schema/data/DocumentValidationSchema.json +2 -2
  762. package/json-schema/data/DocumentVersion.json +2 -2
  763. package/json-schema/data/DriverCapabilities.json +2 -2
  764. package/json-schema/data/DriverConfig.json +2 -2
  765. package/json-schema/data/DriverDefinition.json +2 -2
  766. package/json-schema/data/DriverOptions.json +2 -2
  767. package/json-schema/data/DriverType.json +2 -2
  768. package/json-schema/data/ESignatureConfig.json +2 -2
  769. package/json-schema/data/EngineAggregateOptions.json +2 -2
  770. package/json-schema/data/EngineCountOptions.json +2 -2
  771. package/json-schema/data/EngineDeleteOptions.json +2 -2
  772. package/json-schema/data/EngineQueryOptions.json +2 -2
  773. package/json-schema/data/EngineUpdateOptions.json +2 -2
  774. package/json-schema/data/EqualityOperator.json +2 -2
  775. package/json-schema/data/ExpressionBody.json +2 -2
  776. package/json-schema/data/ExternalDataSource.json +2 -2
  777. package/json-schema/data/FeedActor.json +2 -2
  778. package/json-schema/data/FeedFilterMode.json +2 -2
  779. package/json-schema/data/FeedItem.json +2 -2
  780. package/json-schema/data/FeedItemType.json +2 -2
  781. package/json-schema/data/FeedVisibility.json +2 -2
  782. package/json-schema/data/FieldChangeEntry.json +2 -2
  783. package/json-schema/data/FieldMapping.json +2 -2
  784. package/json-schema/data/FieldNode.json +2 -2
  785. package/json-schema/data/FieldReference.json +2 -2
  786. package/json-schema/data/FieldType.json +2 -2
  787. package/json-schema/data/FileAttachmentConfig.json +2 -2
  788. package/json-schema/data/FilterCondition.json +2 -2
  789. package/json-schema/data/FormatValidation.json +2 -2
  790. package/json-schema/data/FullTextSearch.json +2 -2
  791. package/json-schema/data/GroupByNode.json +2 -2
  792. package/json-schema/data/HookBody.json +2 -2
  793. package/json-schema/data/HookBodyCapability.json +2 -2
  794. package/json-schema/data/HookContext.json +2 -2
  795. package/json-schema/data/HookEvent.json +2 -2
  796. package/json-schema/data/Index.json +2 -2
  797. package/json-schema/data/JSONValidation.json +2 -2
  798. package/json-schema/data/JoinNode.json +2 -2
  799. package/json-schema/data/JoinStrategy.json +2 -2
  800. package/json-schema/data/JoinType.json +2 -2
  801. package/json-schema/data/LocationCoordinates.json +2 -2
  802. package/json-schema/data/Mapping.json +2 -2
  803. package/json-schema/data/Mention.json +2 -2
  804. package/json-schema/data/Metric.json +2 -2
  805. package/json-schema/data/NoSQLDataTypeMapping.json +2 -2
  806. package/json-schema/data/NoSQLDatabaseType.json +2 -2
  807. package/json-schema/data/NoSQLDriverConfig.json +2 -2
  808. package/json-schema/data/NoSQLIndex.json +2 -2
  809. package/json-schema/data/NoSQLIndexType.json +2 -2
  810. package/json-schema/data/NoSQLOperationType.json +2 -2
  811. package/json-schema/data/NoSQLQueryOptions.json +2 -2
  812. package/json-schema/data/NoSQLTransactionOptions.json +2 -2
  813. package/json-schema/data/NotificationChannel.json +2 -2
  814. package/json-schema/data/ObjectCapabilities.json +2 -2
  815. package/json-schema/data/ObjectDependencyGraph.json +2 -2
  816. package/json-schema/data/ObjectDependencyNode.json +2 -2
  817. package/json-schema/data/ObjectOwnershipEnum.json +2 -2
  818. package/json-schema/data/PartitioningConfig.json +2 -2
  819. package/json-schema/data/PoolConfig.json +2 -2
  820. package/json-schema/data/Query.json +2 -2
  821. package/json-schema/data/QueryFilter.json +2 -2
  822. package/json-schema/data/Reaction.json +2 -2
  823. package/json-schema/data/RecordSubscription.json +2 -2
  824. package/json-schema/data/ReferenceResolution.json +2 -2
  825. package/json-schema/data/ReferenceResolutionError.json +2 -2
  826. package/json-schema/data/ReplicationConfig.json +2 -2
  827. package/json-schema/data/SQLDialect.json +2 -2
  828. package/json-schema/data/SQLDriverConfig.json +2 -2
  829. package/json-schema/data/SSLConfig.json +2 -2
  830. package/json-schema/data/ScriptBody.json +2 -2
  831. package/json-schema/data/SearchConfig.json +2 -2
  832. package/json-schema/data/SeedLoaderConfig.json +2 -2
  833. package/json-schema/data/SeedLoaderRequest.json +2 -2
  834. package/json-schema/data/SeedLoaderResult.json +2 -2
  835. package/json-schema/data/SelectOption.json +2 -2
  836. package/json-schema/data/SetOperator.json +2 -2
  837. package/json-schema/data/ShardingConfig.json +2 -2
  838. package/json-schema/data/SoftDeleteConfig.json +2 -2
  839. package/json-schema/data/SortNode.json +2 -2
  840. package/json-schema/data/SpecialOperator.json +2 -2
  841. package/json-schema/data/StateMachineValidation.json +2 -2
  842. package/json-schema/data/StringOperator.json +2 -2
  843. package/json-schema/data/SubscriptionEventType.json +2 -2
  844. package/json-schema/data/TenancyConfig.json +2 -2
  845. package/json-schema/data/TenantDatabaseLifecycle.json +2 -2
  846. package/json-schema/data/TenantResolverStrategy.json +2 -2
  847. package/json-schema/data/TimeUpdateInterval.json +2 -2
  848. package/json-schema/data/TransformType.json +2 -2
  849. package/json-schema/data/TursoGroup.json +2 -2
  850. package/json-schema/data/TursoMultiTenantConfig.json +2 -2
  851. package/json-schema/data/VectorConfig.json +2 -2
  852. package/json-schema/data/VersioningConfig.json +2 -2
  853. package/json-schema/data/WindowFunction.json +2 -2
  854. package/json-schema/data/WindowFunctionNode.json +2 -2
  855. package/json-schema/data/WindowSpec.json +2 -2
  856. package/json-schema/identity/Account.json +2 -2
  857. package/json-schema/identity/ApiKey.json +2 -2
  858. package/json-schema/identity/Invitation.json +2 -2
  859. package/json-schema/identity/InvitationStatus.json +2 -2
  860. package/json-schema/identity/Member.json +2 -2
  861. package/json-schema/identity/Organization.json +2 -2
  862. package/json-schema/identity/Role.json +2 -2
  863. package/json-schema/identity/SCIMAddress.json +2 -2
  864. package/json-schema/identity/SCIMBulkOperation.json +2 -2
  865. package/json-schema/identity/SCIMBulkRequest.json +2 -2
  866. package/json-schema/identity/SCIMBulkResponse.json +2 -2
  867. package/json-schema/identity/SCIMBulkResponseOperation.json +2 -2
  868. package/json-schema/identity/SCIMEmail.json +2 -2
  869. package/json-schema/identity/SCIMEnterpriseUser.json +2 -2
  870. package/json-schema/identity/SCIMError.json +2 -2
  871. package/json-schema/identity/SCIMGroup.json +2 -2
  872. package/json-schema/identity/SCIMGroupReference.json +2 -2
  873. package/json-schema/identity/SCIMListResponse.json +2 -2
  874. package/json-schema/identity/SCIMMemberReference.json +2 -2
  875. package/json-schema/identity/SCIMMeta.json +2 -2
  876. package/json-schema/identity/SCIMName.json +2 -2
  877. package/json-schema/identity/SCIMPatchOperation.json +2 -2
  878. package/json-schema/identity/SCIMPatchRequest.json +2 -2
  879. package/json-schema/identity/SCIMPhoneNumber.json +2 -2
  880. package/json-schema/identity/SCIMUser.json +2 -2
  881. package/json-schema/identity/Session.json +2 -2
  882. package/json-schema/identity/User.json +2 -2
  883. package/json-schema/identity/VerificationToken.json +2 -2
  884. package/json-schema/integration/AckMode.json +2 -2
  885. package/json-schema/integration/ApiVersionConfig.json +2 -2
  886. package/json-schema/integration/BuildConfig.json +2 -2
  887. package/json-schema/integration/CdcConfig.json +2 -2
  888. package/json-schema/integration/CircuitBreakerConfig.json +2 -2
  889. package/json-schema/integration/ConflictResolution.json +2 -2
  890. package/json-schema/integration/ConnectorAction.json +2 -2
  891. package/json-schema/integration/ConnectorHealth.json +2 -2
  892. package/json-schema/integration/ConnectorStatus.json +2 -2
  893. package/json-schema/integration/ConnectorTrigger.json +2 -2
  894. package/json-schema/integration/ConnectorType.json +2 -2
  895. package/json-schema/integration/ConsumerConfig.json +2 -2
  896. package/json-schema/integration/DatabasePoolConfig.json +2 -2
  897. package/json-schema/integration/DatabaseProvider.json +2 -2
  898. package/json-schema/integration/DeliveryGuarantee.json +2 -2
  899. package/json-schema/integration/DeploymentConfig.json +2 -2
  900. package/json-schema/integration/DlqConfig.json +2 -2
  901. package/json-schema/integration/DomainConfig.json +2 -2
  902. package/json-schema/integration/EdgeFunctionConfig.json +2 -2
  903. package/json-schema/integration/EnvironmentVariables.json +2 -2
  904. package/json-schema/integration/ErrorCategory.json +2 -2
  905. package/json-schema/integration/ErrorMappingConfig.json +2 -2
  906. package/json-schema/integration/ErrorMappingRule.json +2 -2
  907. package/json-schema/integration/FileAccessPattern.json +2 -2
  908. package/json-schema/integration/FileFilterConfig.json +2 -2
  909. package/json-schema/integration/FileMetadataConfig.json +2 -2
  910. package/json-schema/integration/FileStorageProvider.json +2 -2
  911. package/json-schema/integration/FileVersioningConfig.json +2 -2
  912. package/json-schema/integration/GitHubActionsWorkflow.json +2 -2
  913. package/json-schema/integration/GitHubCommitConfig.json +2 -2
  914. package/json-schema/integration/GitHubIssueTracking.json +2 -2
  915. package/json-schema/integration/GitHubProvider.json +2 -2
  916. package/json-schema/integration/GitHubReleaseConfig.json +2 -2
  917. package/json-schema/integration/GitHubRepository.json +2 -2
  918. package/json-schema/integration/GitRepositoryConfig.json +2 -2
  919. package/json-schema/integration/HealthCheckConfig.json +2 -2
  920. package/json-schema/integration/MessageFormat.json +2 -2
  921. package/json-schema/integration/MessageQueueProvider.json +2 -2
  922. package/json-schema/integration/MultipartUploadConfig.json +2 -2
  923. package/json-schema/integration/ProducerConfig.json +2 -2
  924. package/json-schema/integration/RateLimitConfig.json +2 -2
  925. package/json-schema/integration/RateLimitStrategy.json +2 -2
  926. package/json-schema/integration/RetryConfig.json +2 -2
  927. package/json-schema/integration/RetryStrategy.json +2 -2
  928. package/json-schema/integration/SaasProvider.json +2 -2
  929. package/json-schema/integration/SslConfig.json +2 -2
  930. package/json-schema/integration/StorageBucket.json +2 -2
  931. package/json-schema/integration/SyncStrategy.json +2 -2
  932. package/json-schema/integration/TopicQueue.json +2 -2
  933. package/json-schema/integration/VercelFramework.json +2 -2
  934. package/json-schema/integration/VercelMonitoring.json +2 -2
  935. package/json-schema/integration/VercelProject.json +2 -2
  936. package/json-schema/integration/VercelProvider.json +2 -2
  937. package/json-schema/integration/VercelTeam.json +2 -2
  938. package/json-schema/integration/WebhookConfig.json +2 -2
  939. package/json-schema/integration/WebhookEvent.json +2 -2
  940. package/json-schema/integration/WebhookSignatureAlgorithm.json +2 -2
  941. package/json-schema/kernel/ActivationEvent.json +2 -2
  942. package/json-schema/kernel/AdvancedPluginLifecycleConfig.json +2 -2
  943. package/json-schema/kernel/ArtifactChecksum.json +2 -2
  944. package/json-schema/kernel/ArtifactFileEntry.json +2 -2
  945. package/json-schema/kernel/ArtifactSignature.json +2 -2
  946. package/json-schema/kernel/BreakingChange.json +2 -2
  947. package/json-schema/kernel/CLICommandContribution.json +2 -2
  948. package/json-schema/kernel/CapabilityConformanceLevel.json +2 -2
  949. package/json-schema/kernel/ClusterCapabilityConfig.json +2 -2
  950. package/json-schema/kernel/ClusterDriver.json +2 -2
  951. package/json-schema/kernel/ClusterTenantIsolation.json +2 -2
  952. package/json-schema/kernel/CompatibilityLevel.json +2 -2
  953. package/json-schema/kernel/CompatibilityMatrixEntry.json +2 -2
  954. package/json-schema/kernel/CustomizationOrigin.json +2 -2
  955. package/json-schema/kernel/CustomizationPolicy.json +2 -2
  956. package/json-schema/kernel/DeadLetterQueueEntry.json +2 -2
  957. package/json-schema/kernel/DependencyConflict.json +2 -2
  958. package/json-schema/kernel/DependencyGraph.json +2 -2
  959. package/json-schema/kernel/DependencyGraphNode.json +2 -2
  960. package/json-schema/kernel/DependencyResolutionResult.json +2 -2
  961. package/json-schema/kernel/DependencyStatusEnum.json +2 -2
  962. package/json-schema/kernel/DeprecationNotice.json +2 -2
  963. package/json-schema/kernel/DevFixtureConfig.json +2 -2
  964. package/json-schema/kernel/DevPluginConfig.json +2 -2
  965. package/json-schema/kernel/DevPluginPreset.json +2 -2
  966. package/json-schema/kernel/DevServiceOverride.json +2 -2
  967. package/json-schema/kernel/DevToolsConfig.json +2 -2
  968. package/json-schema/kernel/DisablePackageRequest.json +2 -2
  969. package/json-schema/kernel/DisablePackageResponse.json +2 -2
  970. package/json-schema/kernel/DistributedStateConfig.json +2 -2
  971. package/json-schema/kernel/DynamicLoadRequest.json +2 -2
  972. package/json-schema/kernel/DynamicLoadingConfig.json +2 -2
  973. package/json-schema/kernel/DynamicPluginOperation.json +2 -2
  974. package/json-schema/kernel/DynamicPluginResult.json +2 -2
  975. package/json-schema/kernel/DynamicUnloadRequest.json +2 -2
  976. package/json-schema/kernel/EnablePackageRequest.json +2 -2
  977. package/json-schema/kernel/EnablePackageResponse.json +2 -2
  978. package/json-schema/kernel/Event.json +2 -2
  979. package/json-schema/kernel/EventBusConfig.json +2 -2
  980. package/json-schema/kernel/EventClusterOptions.json +2 -2
  981. package/json-schema/kernel/EventDeliverySemantics.json +2 -2
  982. package/json-schema/kernel/EventHandler.json +2 -2
  983. package/json-schema/kernel/EventLogEntry.json +2 -2
  984. package/json-schema/kernel/EventMessageQueueConfig.json +2 -2
  985. package/json-schema/kernel/EventMetadata.json +2 -2
  986. package/json-schema/kernel/EventPersistence.json +2 -2
  987. package/json-schema/kernel/EventPhase.json +2 -2
  988. package/json-schema/kernel/EventPriority.json +2 -2
  989. package/json-schema/kernel/EventQueueConfig.json +2 -2
  990. package/json-schema/kernel/EventReplayConfig.json +2 -2
  991. package/json-schema/kernel/EventRoute.json +2 -2
  992. package/json-schema/kernel/EventScope.json +2 -2
  993. package/json-schema/kernel/EventSourcingConfig.json +2 -2
  994. package/json-schema/kernel/EventTypeDefinition.json +2 -2
  995. package/json-schema/kernel/EventWebhookConfig.json +2 -2
  996. package/json-schema/kernel/ExecutionContext.json +2 -2
  997. package/json-schema/kernel/ExtensionPoint.json +2 -2
  998. package/json-schema/kernel/FeatureStrategy.json +2 -2
  999. package/json-schema/kernel/FieldChange.json +2 -2
  1000. package/json-schema/kernel/GetPackageRequest.json +2 -2
  1001. package/json-schema/kernel/GetPackageResponse.json +2 -2
  1002. package/json-schema/kernel/GracefulDegradation.json +2 -2
  1003. package/json-schema/kernel/HealthStatus.json +2 -2
  1004. package/json-schema/kernel/HookRegisteredEvent.json +2 -2
  1005. package/json-schema/kernel/HookTriggeredEvent.json +2 -2
  1006. package/json-schema/kernel/HotReloadConfig.json +2 -2
  1007. package/json-schema/kernel/InstallPackageRequest.json +2 -2
  1008. package/json-schema/kernel/InstallPackageResponse.json +2 -2
  1009. package/json-schema/kernel/InstalledPackage.json +2 -2
  1010. package/json-schema/kernel/KernelContext.json +2 -2
  1011. package/json-schema/kernel/KernelEventBase.json +2 -2
  1012. package/json-schema/kernel/KernelReadyEvent.json +2 -2
  1013. package/json-schema/kernel/KernelSecurityPolicy.json +2 -2
  1014. package/json-schema/kernel/KernelSecurityScanResult.json +2 -2
  1015. package/json-schema/kernel/KernelSecurityVulnerability.json +2 -2
  1016. package/json-schema/kernel/KernelShutdownEvent.json +2 -2
  1017. package/json-schema/kernel/ListPackagesRequest.json +2 -2
  1018. package/json-schema/kernel/ListPackagesResponse.json +2 -2
  1019. package/json-schema/kernel/Manifest.json +2 -2
  1020. package/json-schema/kernel/MergeConflict.json +2 -2
  1021. package/json-schema/kernel/MergeResult.json +2 -2
  1022. package/json-schema/kernel/MergeStrategyConfig.json +2 -2
  1023. package/json-schema/kernel/MetadataBulkRegisterRequest.json +2 -2
  1024. package/json-schema/kernel/MetadataBulkResult.json +2 -2
  1025. package/json-schema/kernel/MetadataCategoryEnum.json +2 -2
  1026. package/json-schema/kernel/MetadataChangeOperation.json +2 -2
  1027. package/json-schema/kernel/MetadataChangeType.json +2 -2
  1028. package/json-schema/kernel/MetadataCollectionInfo.json +2 -2
  1029. package/json-schema/kernel/MetadataDependency.json +2 -2
  1030. package/json-schema/kernel/MetadataDiffItem.json +2 -2
  1031. package/json-schema/kernel/MetadataEvent.json +3 -2
  1032. package/json-schema/kernel/MetadataFallbackStrategy.json +2 -2
  1033. package/json-schema/kernel/MetadataFormat.json +2 -2
  1034. package/json-schema/kernel/MetadataImportOptions.json +2 -2
  1035. package/json-schema/kernel/MetadataLoadResult.json +2 -2
  1036. package/json-schema/kernel/MetadataLoaderContract.json +2 -2
  1037. package/json-schema/kernel/MetadataManagerConfig.json +2 -2
  1038. package/json-schema/kernel/MetadataOverlay.json +2 -2
  1039. package/json-schema/kernel/MetadataPluginConfig.json +2 -2
  1040. package/json-schema/kernel/MetadataPluginManifest.json +2 -2
  1041. package/json-schema/kernel/MetadataQuery.json +3 -2
  1042. package/json-schema/kernel/MetadataQueryResult.json +2 -2
  1043. package/json-schema/kernel/MetadataSaveOptions.json +2 -2
  1044. package/json-schema/kernel/MetadataSaveResult.json +2 -2
  1045. package/json-schema/kernel/MetadataStats.json +2 -2
  1046. package/json-schema/kernel/MetadataType.json +3 -2
  1047. package/json-schema/kernel/MetadataTypeRegistryEntry.json +3 -2
  1048. package/json-schema/kernel/MetadataValidationResult.json +2 -2
  1049. package/json-schema/kernel/MetadataWatchEvent.json +2 -2
  1050. package/json-schema/kernel/NamespaceConflictError.json +2 -2
  1051. package/json-schema/kernel/NamespaceRegistryEntry.json +2 -2
  1052. package/json-schema/kernel/OclifPluginConfig.json +2 -2
  1053. package/json-schema/kernel/OpsDomainModule.json +2 -2
  1054. package/json-schema/kernel/OpsFilePath.json +2 -2
  1055. package/json-schema/kernel/OpsPluginStructure.json +2 -2
  1056. package/json-schema/kernel/PackageArtifact.json +2 -2
  1057. package/json-schema/kernel/PackageDependency.json +2 -2
  1058. package/json-schema/kernel/PackageDependencyConflict.json +2 -2
  1059. package/json-schema/kernel/PackageDependencyResolutionResult.json +2 -2
  1060. package/json-schema/kernel/PackageStatusEnum.json +2 -2
  1061. package/json-schema/kernel/PermissionAction.json +2 -2
  1062. package/json-schema/kernel/PermissionScope.json +2 -2
  1063. package/json-schema/kernel/PluginCaching.json +2 -2
  1064. package/json-schema/kernel/PluginCapability.json +2 -2
  1065. package/json-schema/kernel/PluginCapabilityManifest.json +2 -2
  1066. package/json-schema/kernel/PluginCodeSplitting.json +2 -2
  1067. package/json-schema/kernel/PluginCompatibilityMatrix.json +2 -2
  1068. package/json-schema/kernel/PluginDependency.json +2 -2
  1069. package/json-schema/kernel/PluginDependencyResolution.json +2 -2
  1070. package/json-schema/kernel/PluginDependencyResolutionResult.json +2 -2
  1071. package/json-schema/kernel/PluginDiscoveryConfig.json +2 -2
  1072. package/json-schema/kernel/PluginDiscoverySource.json +2 -2
  1073. package/json-schema/kernel/PluginDynamicImport.json +2 -2
  1074. package/json-schema/kernel/PluginErrorEvent.json +2 -2
  1075. package/json-schema/kernel/PluginEventBase.json +2 -2
  1076. package/json-schema/kernel/PluginHealthCheck.json +2 -2
  1077. package/json-schema/kernel/PluginHealthReport.json +2 -2
  1078. package/json-schema/kernel/PluginHealthStatus.json +2 -2
  1079. package/json-schema/kernel/PluginHotReload.json +2 -2
  1080. package/json-schema/kernel/PluginInitialization.json +2 -2
  1081. package/json-schema/kernel/PluginInstallConfig.json +2 -2
  1082. package/json-schema/kernel/PluginInterface.json +2 -2
  1083. package/json-schema/kernel/PluginLifecycleEventType.json +2 -2
  1084. package/json-schema/kernel/PluginLifecyclePhaseEvent.json +2 -2
  1085. package/json-schema/kernel/PluginLoadingConfig.json +2 -2
  1086. package/json-schema/kernel/PluginLoadingEvent.json +2 -2
  1087. package/json-schema/kernel/PluginLoadingState.json +2 -2
  1088. package/json-schema/kernel/PluginLoadingStrategy.json +2 -2
  1089. package/json-schema/kernel/PluginMetadata.json +2 -2
  1090. package/json-schema/kernel/PluginPerformanceMonitoring.json +2 -2
  1091. package/json-schema/kernel/PluginPreloadConfig.json +2 -2
  1092. package/json-schema/kernel/PluginProvenance.json +2 -2
  1093. package/json-schema/kernel/PluginQualityMetrics.json +2 -2
  1094. package/json-schema/kernel/PluginRegisteredEvent.json +2 -2
  1095. package/json-schema/kernel/PluginRegistryEntry.json +2 -2
  1096. package/json-schema/kernel/PluginSandboxing.json +2 -2
  1097. package/json-schema/kernel/PluginSearchFilters.json +2 -2
  1098. package/json-schema/kernel/PluginSource.json +2 -2
  1099. package/json-schema/kernel/PluginStartupResult.json +2 -2
  1100. package/json-schema/kernel/PluginStateSnapshot.json +2 -2
  1101. package/json-schema/kernel/PluginStatistics.json +2 -2
  1102. package/json-schema/kernel/PluginTrustLevel.json +2 -2
  1103. package/json-schema/kernel/PluginTrustScore.json +2 -2
  1104. package/json-schema/kernel/PluginUpdateStrategy.json +2 -2
  1105. package/json-schema/kernel/PluginVendor.json +2 -2
  1106. package/json-schema/kernel/PluginVersionMetadata.json +2 -2
  1107. package/json-schema/kernel/PreviewModeConfig.json +2 -2
  1108. package/json-schema/kernel/ProtocolFeature.json +2 -2
  1109. package/json-schema/kernel/ProtocolReference.json +2 -2
  1110. package/json-schema/kernel/ProtocolVersion.json +2 -2
  1111. package/json-schema/kernel/RealTimeNotificationConfig.json +2 -2
  1112. package/json-schema/kernel/RequiredAction.json +2 -2
  1113. package/json-schema/kernel/ResolvedDependency.json +2 -2
  1114. package/json-schema/kernel/ResourceType.json +2 -2
  1115. package/json-schema/kernel/RollbackPackageRequest.json +2 -2
  1116. package/json-schema/kernel/RollbackPackageResponse.json +2 -2
  1117. package/json-schema/kernel/RuntimeConfig.json +2 -2
  1118. package/json-schema/kernel/RuntimeMode.json +2 -2
  1119. package/json-schema/kernel/SBOM.json +2 -2
  1120. package/json-schema/kernel/SBOMEntry.json +2 -2
  1121. package/json-schema/kernel/SandboxConfig.json +2 -2
  1122. package/json-schema/kernel/ScopeConfig.json +2 -2
  1123. package/json-schema/kernel/ScopeInfo.json +2 -2
  1124. package/json-schema/kernel/SecurityPolicy.json +2 -2
  1125. package/json-schema/kernel/SecurityScanResult.json +2 -2
  1126. package/json-schema/kernel/SecurityVulnerability.json +2 -2
  1127. package/json-schema/kernel/SemanticVersion.json +2 -2
  1128. package/json-schema/kernel/ServiceClusterAnnotations.json +2 -2
  1129. package/json-schema/kernel/ServiceClusterScope.json +2 -2
  1130. package/json-schema/kernel/ServiceFactoryRegistration.json +2 -2
  1131. package/json-schema/kernel/ServiceLeaderStrategy.json +2 -2
  1132. package/json-schema/kernel/ServiceMetadata.json +2 -2
  1133. package/json-schema/kernel/ServiceRegisteredEvent.json +2 -2
  1134. package/json-schema/kernel/ServiceRegistryConfig.json +2 -2
  1135. package/json-schema/kernel/ServiceScopeType.json +2 -2
  1136. package/json-schema/kernel/ServiceUnregisteredEvent.json +2 -2
  1137. package/json-schema/kernel/StartupOptions.json +2 -2
  1138. package/json-schema/kernel/StartupOrchestrationResult.json +2 -2
  1139. package/json-schema/kernel/TenantRuntimeContext.json +2 -2
  1140. package/json-schema/kernel/UninstallPackageRequest.json +2 -2
  1141. package/json-schema/kernel/UninstallPackageResponse.json +2 -2
  1142. package/json-schema/kernel/UpgradeContext.json +2 -2
  1143. package/json-schema/kernel/UpgradeImpactLevel.json +2 -2
  1144. package/json-schema/kernel/UpgradePackageRequest.json +2 -2
  1145. package/json-schema/kernel/UpgradePackageResponse.json +2 -2
  1146. package/json-schema/kernel/UpgradePhase.json +2 -2
  1147. package/json-schema/kernel/UpgradePlan.json +2 -2
  1148. package/json-schema/kernel/UpgradeSnapshot.json +2 -2
  1149. package/json-schema/kernel/ValidationError.json +2 -2
  1150. package/json-schema/kernel/ValidationResult.json +2 -2
  1151. package/json-schema/kernel/ValidationWarning.json +2 -2
  1152. package/json-schema/kernel/VersionConstraint.json +2 -2
  1153. package/json-schema/kernel/VulnerabilitySeverity.json +2 -2
  1154. package/json-schema/objectstack.json +3327 -3321
  1155. package/json-schema/openapi.json +1 -1
  1156. package/json-schema/qa/TestAction.json +2 -2
  1157. package/json-schema/qa/TestActionType.json +2 -2
  1158. package/json-schema/qa/TestAssertion.json +2 -2
  1159. package/json-schema/qa/TestAssertionType.json +2 -2
  1160. package/json-schema/qa/TestContext.json +2 -2
  1161. package/json-schema/qa/TestScenario.json +2 -2
  1162. package/json-schema/qa/TestStep.json +2 -2
  1163. package/json-schema/qa/TestSuite.json +2 -2
  1164. package/json-schema/security/AuditPolicy.json +2 -2
  1165. package/json-schema/security/FieldPermission.json +2 -2
  1166. package/json-schema/security/NetworkPolicy.json +2 -2
  1167. package/json-schema/security/OWDModel.json +2 -2
  1168. package/json-schema/security/ObjectPermission.json +2 -2
  1169. package/json-schema/security/OwnerSharingRule.json +2 -2
  1170. package/json-schema/security/PasswordPolicy.json +2 -2
  1171. package/json-schema/security/PermissionSet.json +2 -2
  1172. package/json-schema/security/Policy.json +2 -2
  1173. package/json-schema/security/RLSAuditConfig.json +2 -2
  1174. package/json-schema/security/RLSAuditEvent.json +2 -2
  1175. package/json-schema/security/RLSConfig.json +2 -2
  1176. package/json-schema/security/RLSEvaluationResult.json +2 -2
  1177. package/json-schema/security/RLSOperation.json +2 -2
  1178. package/json-schema/security/RLSUserContext.json +2 -2
  1179. package/json-schema/security/RowLevelSecurityPolicy.json +2 -2
  1180. package/json-schema/security/SessionPolicy.json +2 -2
  1181. package/json-schema/security/ShareRecipientType.json +2 -2
  1182. package/json-schema/security/SharingLevel.json +2 -2
  1183. package/json-schema/security/SharingRuleType.json +2 -2
  1184. package/json-schema/security/Territory.json +2 -2
  1185. package/json-schema/security/TerritoryModel.json +2 -2
  1186. package/json-schema/security/TerritoryType.json +2 -2
  1187. package/json-schema/shared/AggregationFunctionEnum.json +2 -2
  1188. package/json-schema/shared/AppName.json +2 -2
  1189. package/json-schema/shared/BaseMetadataRecord.json +2 -2
  1190. package/json-schema/shared/CacheStrategyEnum.json +2 -2
  1191. package/json-schema/shared/CorsConfig.json +2 -2
  1192. package/json-schema/shared/EventName.json +2 -2
  1193. package/json-schema/shared/Expression.json +2 -2
  1194. package/json-schema/shared/ExpressionDialect.json +2 -2
  1195. package/json-schema/shared/ExpressionMeta.json +2 -2
  1196. package/json-schema/shared/FieldName.json +2 -2
  1197. package/json-schema/shared/FlowName.json +2 -2
  1198. package/json-schema/shared/HttpMethod.json +2 -2
  1199. package/json-schema/shared/HttpRequest.json +2 -2
  1200. package/json-schema/shared/IsolationLevelEnum.json +2 -2
  1201. package/json-schema/shared/MetadataFormat.json +2 -2
  1202. package/json-schema/shared/MutationEventEnum.json +2 -2
  1203. package/json-schema/shared/ObjectName.json +2 -2
  1204. package/json-schema/shared/Predicate.json +2 -2
  1205. package/json-schema/shared/RateLimitConfig.json +2 -2
  1206. package/json-schema/shared/RoleName.json +2 -2
  1207. package/json-schema/shared/SnakeCaseIdentifier.json +2 -2
  1208. package/json-schema/shared/SortDirectionEnum.json +2 -2
  1209. package/json-schema/shared/SortItem.json +2 -2
  1210. package/json-schema/shared/StaticMount.json +2 -2
  1211. package/json-schema/shared/SystemIdentifier.json +2 -2
  1212. package/json-schema/shared/ViewName.json +2 -2
  1213. package/json-schema/studio/ActionContribution.json +2 -2
  1214. package/json-schema/studio/ActionLocation.json +2 -2
  1215. package/json-schema/studio/ActivationEvent.json +2 -2
  1216. package/json-schema/studio/CanvasSnapSettings.json +2 -2
  1217. package/json-schema/studio/CanvasZoomSettings.json +2 -2
  1218. package/json-schema/studio/CommandContribution.json +2 -2
  1219. package/json-schema/studio/ERDiagramConfig.json +2 -2
  1220. package/json-schema/studio/ERLayoutAlgorithm.json +2 -2
  1221. package/json-schema/studio/ERNodeDisplay.json +2 -2
  1222. package/json-schema/studio/ElementPaletteItem.json +2 -2
  1223. package/json-schema/studio/FieldEditorConfig.json +2 -2
  1224. package/json-schema/studio/FieldGroup.json +2 -2
  1225. package/json-schema/studio/FieldPropertySection.json +2 -2
  1226. package/json-schema/studio/FlowBuilderConfig.json +2 -2
  1227. package/json-schema/studio/FlowCanvasEdge.json +2 -2
  1228. package/json-schema/studio/FlowCanvasEdgeStyle.json +2 -2
  1229. package/json-schema/studio/FlowCanvasNode.json +2 -2
  1230. package/json-schema/studio/FlowLayoutAlgorithm.json +2 -2
  1231. package/json-schema/studio/FlowLayoutDirection.json +2 -2
  1232. package/json-schema/studio/FlowNodeRenderDescriptor.json +2 -2
  1233. package/json-schema/studio/FlowNodeShape.json +2 -2
  1234. package/json-schema/studio/InterfaceBuilderConfig.json +2 -2
  1235. package/json-schema/studio/MetadataIconContribution.json +2 -2
  1236. package/json-schema/studio/MetadataViewerContribution.json +2 -2
  1237. package/json-schema/studio/ObjectDesignerConfig.json +2 -2
  1238. package/json-schema/studio/ObjectDesignerDefaultView.json +2 -2
  1239. package/json-schema/studio/ObjectFilter.json +2 -2
  1240. package/json-schema/studio/ObjectListDisplayMode.json +2 -2
  1241. package/json-schema/studio/ObjectManagerConfig.json +2 -2
  1242. package/json-schema/studio/ObjectPreviewConfig.json +2 -2
  1243. package/json-schema/studio/ObjectPreviewTab.json +2 -2
  1244. package/json-schema/studio/ObjectSortField.json +2 -2
  1245. package/json-schema/studio/PageBuilderConfig.json +2 -2
  1246. package/json-schema/studio/PanelContribution.json +2 -2
  1247. package/json-schema/studio/PanelLocation.json +2 -2
  1248. package/json-schema/studio/RelationshipDisplay.json +2 -2
  1249. package/json-schema/studio/RelationshipMapperConfig.json +2 -2
  1250. package/json-schema/studio/SidebarGroupContribution.json +2 -2
  1251. package/json-schema/studio/StudioPluginContributions.json +2 -2
  1252. package/json-schema/studio/StudioPluginManifest.json +2 -2
  1253. package/json-schema/studio/ViewMode.json +2 -2
  1254. package/json-schema/system/AccessControlConfig.json +2 -2
  1255. package/json-schema/system/AdvancedAuthConfig.json +2 -2
  1256. package/json-schema/system/AnalyzerConfig.json +2 -2
  1257. package/json-schema/system/AppCompatibilityCheck.json +2 -2
  1258. package/json-schema/system/AppInstallRequest.json +2 -2
  1259. package/json-schema/system/AppInstallResult.json +2 -2
  1260. package/json-schema/system/AppManifest.json +2 -2
  1261. package/json-schema/system/AppTranslationBundle.json +2 -2
  1262. package/json-schema/system/AuditEvent.json +2 -2
  1263. package/json-schema/system/AuditEventActor.json +2 -2
  1264. package/json-schema/system/AuditEventChange.json +2 -2
  1265. package/json-schema/system/AuditEventFilter.json +2 -2
  1266. package/json-schema/system/AuditEventSeverity.json +2 -2
  1267. package/json-schema/system/AuditEventTarget.json +2 -2
  1268. package/json-schema/system/AuditEventType.json +2 -2
  1269. package/json-schema/system/AuditFinding.json +2 -2
  1270. package/json-schema/system/AuditFindingSeverity.json +2 -2
  1271. package/json-schema/system/AuditFindingStatus.json +2 -2
  1272. package/json-schema/system/AuditLogConfig.json +2 -2
  1273. package/json-schema/system/AuditRetentionPolicy.json +2 -2
  1274. package/json-schema/system/AuditSchedule.json +2 -2
  1275. package/json-schema/system/AuditStorageConfig.json +2 -2
  1276. package/json-schema/system/AuthConfig.json +2 -2
  1277. package/json-schema/system/AuthPluginConfig.json +2 -2
  1278. package/json-schema/system/AuthProviderConfig.json +2 -2
  1279. package/json-schema/system/AwarenessEvent.json +2 -2
  1280. package/json-schema/system/AwarenessSession.json +2 -2
  1281. package/json-schema/system/AwarenessUpdate.json +2 -2
  1282. package/json-schema/system/AwarenessUserState.json +2 -2
  1283. package/json-schema/system/BackupRetention.json +2 -2
  1284. package/json-schema/system/BackupStrategy.json +2 -2
  1285. package/json-schema/system/BatchProgress.json +2 -2
  1286. package/json-schema/system/BucketConfig.json +2 -2
  1287. package/json-schema/system/CRDTMergeResult.json +2 -2
  1288. package/json-schema/system/CRDTState.json +2 -2
  1289. package/json-schema/system/CRDTType.json +2 -2
  1290. package/json-schema/system/CacheAvalanchePrevention.json +2 -2
  1291. package/json-schema/system/CacheConfig.json +2 -2
  1292. package/json-schema/system/CacheConsistency.json +2 -2
  1293. package/json-schema/system/CacheInvalidation.json +2 -2
  1294. package/json-schema/system/CacheStrategy.json +2 -2
  1295. package/json-schema/system/CacheTier.json +2 -2
  1296. package/json-schema/system/ChangeImpact.json +2 -2
  1297. package/json-schema/system/ChangePriority.json +2 -2
  1298. package/json-schema/system/ChangeRequest.json +2 -2
  1299. package/json-schema/system/ChangeSchema.json +2 -2
  1300. package/json-schema/system/ChangeStatus.json +2 -2
  1301. package/json-schema/system/ChangeType.json +2 -2
  1302. package/json-schema/system/CollaborationMode.json +2 -2
  1303. package/json-schema/system/CollaborationSession.json +2 -2
  1304. package/json-schema/system/CollaborationSessionConfig.json +2 -2
  1305. package/json-schema/system/CollaborativeCursor.json +2 -2
  1306. package/json-schema/system/ComplianceAuditRequirement.json +2 -2
  1307. package/json-schema/system/ComplianceConfig.json +2 -2
  1308. package/json-schema/system/ComplianceEncryptionRequirement.json +2 -2
  1309. package/json-schema/system/ComplianceFramework.json +2 -2
  1310. package/json-schema/system/ConsoleDestinationConfig.json +2 -2
  1311. package/json-schema/system/ConsumerConfig.json +2 -2
  1312. package/json-schema/system/CoreServiceName.json +2 -2
  1313. package/json-schema/system/CounterOperation.json +2 -2
  1314. package/json-schema/system/CoverageBreakdownEntry.json +2 -2
  1315. package/json-schema/system/CursorColorPreset.json +2 -2
  1316. package/json-schema/system/CursorSelection.json +2 -2
  1317. package/json-schema/system/CursorStyle.json +2 -2
  1318. package/json-schema/system/CursorUpdate.json +2 -2
  1319. package/json-schema/system/DataClassification.json +2 -2
  1320. package/json-schema/system/DataClassificationPolicy.json +2 -2
  1321. package/json-schema/system/DatabaseLevelIsolationStrategy.json +2 -2
  1322. package/json-schema/system/DatabaseProvider.json +2 -2
  1323. package/json-schema/system/DeadLetterQueue.json +2 -2
  1324. package/json-schema/system/DeleteObjectOperation.json +2 -2
  1325. package/json-schema/system/DeployBundle.json +2 -2
  1326. package/json-schema/system/DeployDiff.json +2 -2
  1327. package/json-schema/system/DeployManifest.json +2 -2
  1328. package/json-schema/system/DeployStatusEnum.json +2 -2
  1329. package/json-schema/system/DeployValidationIssue.json +2 -2
  1330. package/json-schema/system/DeployValidationResult.json +2 -2
  1331. package/json-schema/system/EmailAddressConfig.json +2 -2
  1332. package/json-schema/system/EmailAndPasswordConfig.json +2 -2
  1333. package/json-schema/system/EmailProvider.json +2 -2
  1334. package/json-schema/system/EmailServiceConfig.json +2 -2
  1335. package/json-schema/system/EmailTemplateDefinition.json +2 -2
  1336. package/json-schema/system/EmailTemplateDefinitionCategory.json +2 -2
  1337. package/json-schema/system/EmailTemplateDefinitionVariable.json +2 -2
  1338. package/json-schema/system/EmailVerificationConfig.json +2 -2
  1339. package/json-schema/system/EncryptionAlgorithm.json +2 -2
  1340. package/json-schema/system/EncryptionConfig.json +2 -2
  1341. package/json-schema/system/EnvironmentArtifact.json +2 -2
  1342. package/json-schema/system/EnvironmentArtifactChecksum.json +2 -2
  1343. package/json-schema/system/EnvironmentArtifactFunction.json +2 -2
  1344. package/json-schema/system/EnvironmentArtifactFunctionLanguageEnum.json +2 -2
  1345. package/json-schema/system/EnvironmentArtifactHashAlgorithmEnum.json +2 -2
  1346. package/json-schema/system/EnvironmentArtifactManifest.json +2 -2
  1347. package/json-schema/system/EnvironmentArtifactMetadata.json +2 -2
  1348. package/json-schema/system/EnvironmentArtifactPayloadRef.json +2 -2
  1349. package/json-schema/system/EnvironmentArtifactRequirement.json +2 -2
  1350. package/json-schema/system/ExecuteSqlOperation.json +2 -2
  1351. package/json-schema/system/ExtendedLogLevel.json +2 -2
  1352. package/json-schema/system/ExternalServiceDestinationConfig.json +2 -2
  1353. package/json-schema/system/FacetConfig.json +2 -2
  1354. package/json-schema/system/FailoverConfig.json +2 -2
  1355. package/json-schema/system/FailoverMode.json +2 -2
  1356. package/json-schema/system/Feature.json +2 -2
  1357. package/json-schema/system/FieldEncryption.json +2 -2
  1358. package/json-schema/system/FieldTranslation.json +2 -2
  1359. package/json-schema/system/FileDestinationConfig.json +2 -2
  1360. package/json-schema/system/FileMetadata.json +2 -2
  1361. package/json-schema/system/GCounter.json +2 -2
  1362. package/json-schema/system/GDPRConfig.json +2 -2
  1363. package/json-schema/system/HIPAAConfig.json +2 -2
  1364. package/json-schema/system/HistogramBucketConfig.json +2 -2
  1365. package/json-schema/system/HttpDestinationConfig.json +2 -2
  1366. package/json-schema/system/HttpServerConfig.json +2 -2
  1367. package/json-schema/system/Incident.json +2 -2
  1368. package/json-schema/system/IncidentCategory.json +2 -2
  1369. package/json-schema/system/IncidentNotificationMatrix.json +2 -2
  1370. package/json-schema/system/IncidentNotificationRule.json +2 -2
  1371. package/json-schema/system/IncidentResponsePhase.json +2 -2
  1372. package/json-schema/system/IncidentResponsePolicy.json +2 -2
  1373. package/json-schema/system/IncidentSeverity.json +2 -2
  1374. package/json-schema/system/IncidentStatus.json +2 -2
  1375. package/json-schema/system/IntervalSchedule.json +2 -2
  1376. package/json-schema/system/JobExecution.json +2 -2
  1377. package/json-schema/system/JobExecutionStatus.json +2 -2
  1378. package/json-schema/system/KernelServiceMap.json +2 -2
  1379. package/json-schema/system/KeyManagementProvider.json +2 -2
  1380. package/json-schema/system/KeyRotationPolicy.json +2 -2
  1381. package/json-schema/system/LWWRegister.json +2 -2
  1382. package/json-schema/system/LevelIsolationStrategySchema.json +2 -2
  1383. package/json-schema/system/License.json +2 -2
  1384. package/json-schema/system/LicenseMetricType.json +2 -2
  1385. package/json-schema/system/LifecycleAction.json +2 -2
  1386. package/json-schema/system/LifecyclePolicyConfig.json +2 -2
  1387. package/json-schema/system/LifecyclePolicyRule.json +2 -2
  1388. package/json-schema/system/Locale.json +2 -2
  1389. package/json-schema/system/LogDestination.json +2 -2
  1390. package/json-schema/system/LogDestinationType.json +2 -2
  1391. package/json-schema/system/LogEnrichmentConfig.json +2 -2
  1392. package/json-schema/system/LogEntry.json +2 -2
  1393. package/json-schema/system/LogFormat.json +2 -2
  1394. package/json-schema/system/LogLevel.json +2 -2
  1395. package/json-schema/system/LoggerConfig.json +2 -2
  1396. package/json-schema/system/LoggingConfig.json +2 -2
  1397. package/json-schema/system/MaskingConfig.json +2 -2
  1398. package/json-schema/system/MaskingRule.json +2 -2
  1399. package/json-schema/system/MaskingStrategy.json +2 -2
  1400. package/json-schema/system/MaskingVisibilityRule.json +2 -2
  1401. package/json-schema/system/MessageFormat.json +2 -2
  1402. package/json-schema/system/MessageQueueConfig.json +2 -2
  1403. package/json-schema/system/MessageQueueProvider.json +2 -2
  1404. package/json-schema/system/MetadataCollectionInfo.json +2 -2
  1405. package/json-schema/system/MetadataDiffResult.json +2 -2
  1406. package/json-schema/system/MetadataExportOptions.json +2 -2
  1407. package/json-schema/system/MetadataFallbackStrategy.json +2 -2
  1408. package/json-schema/system/MetadataFormat.json +2 -2
  1409. package/json-schema/system/MetadataHistoryQueryOptions.json +2 -2
  1410. package/json-schema/system/MetadataHistoryQueryResult.json +2 -2
  1411. package/json-schema/system/MetadataHistoryRecord.json +2 -2
  1412. package/json-schema/system/MetadataHistoryRetentionPolicy.json +2 -2
  1413. package/json-schema/system/MetadataImportOptions.json +2 -2
  1414. package/json-schema/system/MetadataLoadOptions.json +2 -2
  1415. package/json-schema/system/MetadataLoadResult.json +2 -2
  1416. package/json-schema/system/MetadataLoaderContract.json +2 -2
  1417. package/json-schema/system/MetadataManagerConfig.json +2 -2
  1418. package/json-schema/system/MetadataRecord.json +2 -2
  1419. package/json-schema/system/MetadataSaveOptions.json +2 -2
  1420. package/json-schema/system/MetadataSaveResult.json +2 -2
  1421. package/json-schema/system/MetadataScope.json +2 -2
  1422. package/json-schema/system/MetadataSource.json +2 -2
  1423. package/json-schema/system/MetadataState.json +2 -2
  1424. package/json-schema/system/MetadataStats.json +2 -2
  1425. package/json-schema/system/MetadataWatchEvent.json +2 -2
  1426. package/json-schema/system/MetricAggregationConfig.json +2 -2
  1427. package/json-schema/system/MetricAggregationType.json +2 -2
  1428. package/json-schema/system/MetricDataPoint.json +2 -2
  1429. package/json-schema/system/MetricDefinition.json +2 -2
  1430. package/json-schema/system/MetricExportConfig.json +2 -2
  1431. package/json-schema/system/MetricLabels.json +2 -2
  1432. package/json-schema/system/MetricType.json +2 -2
  1433. package/json-schema/system/MetricUnit.json +2 -2
  1434. package/json-schema/system/MiddlewareConfig.json +2 -2
  1435. package/json-schema/system/MiddlewareType.json +2 -2
  1436. package/json-schema/system/MigrationDependency.json +2 -2
  1437. package/json-schema/system/MigrationPlan.json +2 -2
  1438. package/json-schema/system/MigrationStatement.json +2 -2
  1439. package/json-schema/system/ModifyFieldOperation.json +2 -2
  1440. package/json-schema/system/MultipartUploadConfig.json +2 -2
  1441. package/json-schema/system/MutualTLSConfig.json +2 -2
  1442. package/json-schema/system/NotificationChannel.json +2 -2
  1443. package/json-schema/system/ORSet.json +2 -2
  1444. package/json-schema/system/ORSetElement.json +2 -2
  1445. package/json-schema/system/OTComponent.json +2 -2
  1446. package/json-schema/system/OTOperation.json +2 -2
  1447. package/json-schema/system/OTOperationType.json +2 -2
  1448. package/json-schema/system/OTTransformResult.json +2 -2
  1449. package/json-schema/system/ObjectMetadata.json +2 -2
  1450. package/json-schema/system/ObjectStorageConfig.json +2 -2
  1451. package/json-schema/system/ObjectTranslationData.json +2 -2
  1452. package/json-schema/system/ObjectTranslationNode.json +2 -2
  1453. package/json-schema/system/OidcProviderConfig.json +2 -2
  1454. package/json-schema/system/OidcProvidersConfig.json +2 -2
  1455. package/json-schema/system/OnceSchedule.json +2 -2
  1456. package/json-schema/system/OpenTelemetryCompatibility.json +2 -2
  1457. package/json-schema/system/OtelExporterType.json +2 -2
  1458. package/json-schema/system/PCIDSSConfig.json +2 -2
  1459. package/json-schema/system/PNCounter.json +2 -2
  1460. package/json-schema/system/PackagePublishResult.json +2 -2
  1461. package/json-schema/system/Plan.json +2 -2
  1462. package/json-schema/system/PresignedUrlConfig.json +2 -2
  1463. package/json-schema/system/ProvisioningStep.json +2 -2
  1464. package/json-schema/system/QueueConfig.json +2 -2
  1465. package/json-schema/system/QuotaEnforcementResult.json +2 -2
  1466. package/json-schema/system/RPO.json +2 -2
  1467. package/json-schema/system/RTO.json +2 -2
  1468. package/json-schema/system/RegistryConfig.json +2 -2
  1469. package/json-schema/system/RegistrySyncPolicy.json +2 -2
  1470. package/json-schema/system/RegistryUpstream.json +2 -2
  1471. package/json-schema/system/RemoveFieldOperation.json +2 -2
  1472. package/json-schema/system/RenameObjectOperation.json +2 -2
  1473. package/json-schema/system/ResolvedSettingValue.json +2 -2
  1474. package/json-schema/system/RetryPolicy.json +2 -2
  1475. package/json-schema/system/RollbackPlan.json +2 -2
  1476. package/json-schema/system/RouteHandlerMetadata.json +2 -2
  1477. package/json-schema/system/RowLevelIsolationStrategy.json +2 -2
  1478. package/json-schema/system/SamplingDecision.json +2 -2
  1479. package/json-schema/system/SamplingStrategyType.json +2 -2
  1480. package/json-schema/system/SearchConfig.json +2 -2
  1481. package/json-schema/system/SearchIndexConfig.json +2 -2
  1482. package/json-schema/system/SearchProvider.json +2 -2
  1483. package/json-schema/system/SecurityContextConfig.json +2 -2
  1484. package/json-schema/system/SecurityEventCorrelation.json +2 -2
  1485. package/json-schema/system/ServerCapabilities.json +2 -2
  1486. package/json-schema/system/ServerEvent.json +2 -2
  1487. package/json-schema/system/ServerEventType.json +2 -2
  1488. package/json-schema/system/ServerStatus.json +2 -2
  1489. package/json-schema/system/ServiceConfig.json +2 -2
  1490. package/json-schema/system/ServiceCriticality.json +2 -2
  1491. package/json-schema/system/ServiceLevelObjective.json +2 -2
  1492. package/json-schema/system/ServiceStatus.json +2 -2
  1493. package/json-schema/system/SettingsActionResult.json +2 -2
  1494. package/json-schema/system/SettingsChangeEvent.json +2 -2
  1495. package/json-schema/system/SocialProviderConfig.json +2 -2
  1496. package/json-schema/system/Span.json +2 -2
  1497. package/json-schema/system/SpanAttributeValue.json +2 -2
  1498. package/json-schema/system/SpanAttributes.json +2 -2
  1499. package/json-schema/system/SpanEvent.json +2 -2
  1500. package/json-schema/system/SpanKind.json +2 -2
  1501. package/json-schema/system/SpanLink.json +2 -2
  1502. package/json-schema/system/SpanStatus.json +2 -2
  1503. package/json-schema/system/SpecifierHandler.json +2 -2
  1504. package/json-schema/system/SpecifierOption.json +2 -2
  1505. package/json-schema/system/SpecifierScope.json +2 -2
  1506. package/json-schema/system/SpecifierType.json +2 -2
  1507. package/json-schema/system/StorageAcl.json +2 -2
  1508. package/json-schema/system/StorageClass.json +2 -2
  1509. package/json-schema/system/StorageConnection.json +2 -2
  1510. package/json-schema/system/StorageProvider.json +2 -2
  1511. package/json-schema/system/StorageScope.json +2 -2
  1512. package/json-schema/system/StructuredLogEntry.json +2 -2
  1513. package/json-schema/system/SupplierAssessmentStatus.json +2 -2
  1514. package/json-schema/system/SupplierRiskLevel.json +2 -2
  1515. package/json-schema/system/SupplierSecurityAssessment.json +2 -2
  1516. package/json-schema/system/SupplierSecurityPolicy.json +2 -2
  1517. package/json-schema/system/SupplierSecurityRequirement.json +2 -2
  1518. package/json-schema/system/Task.json +2 -2
  1519. package/json-schema/system/TaskExecutionResult.json +2 -2
  1520. package/json-schema/system/TaskPriority.json +2 -2
  1521. package/json-schema/system/TaskRetryPolicy.json +2 -2
  1522. package/json-schema/system/TaskStatus.json +2 -2
  1523. package/json-schema/system/Tenant.json +2 -2
  1524. package/json-schema/system/TenantConnectionConfig.json +2 -2
  1525. package/json-schema/system/TenantIsolationConfig.json +2 -2
  1526. package/json-schema/system/TenantIsolationLevel.json +2 -2
  1527. package/json-schema/system/TenantPlan.json +2 -2
  1528. package/json-schema/system/TenantProvisioningRequest.json +2 -2
  1529. package/json-schema/system/TenantProvisioningResult.json +2 -2
  1530. package/json-schema/system/TenantProvisioningStatusEnum.json +2 -2
  1531. package/json-schema/system/TenantQuota.json +2 -2
  1532. package/json-schema/system/TenantRegion.json +2 -2
  1533. package/json-schema/system/TenantSecurityPolicy.json +2 -2
  1534. package/json-schema/system/TenantUsage.json +2 -2
  1535. package/json-schema/system/TextCRDTOperation.json +2 -2
  1536. package/json-schema/system/TextCRDTState.json +2 -2
  1537. package/json-schema/system/TimeSeries.json +2 -2
  1538. package/json-schema/system/TimeSeriesDataPoint.json +2 -2
  1539. package/json-schema/system/TopicConfig.json +2 -2
  1540. package/json-schema/system/TraceContext.json +2 -2
  1541. package/json-schema/system/TraceContextPropagation.json +2 -2
  1542. package/json-schema/system/TraceFlags.json +2 -2
  1543. package/json-schema/system/TracePropagationFormat.json +2 -2
  1544. package/json-schema/system/TraceState.json +2 -2
  1545. package/json-schema/system/TrainingCategory.json +2 -2
  1546. package/json-schema/system/TrainingCompletionStatus.json +2 -2
  1547. package/json-schema/system/TrainingCourse.json +2 -2
  1548. package/json-schema/system/TrainingPlan.json +2 -2
  1549. package/json-schema/system/TrainingRecord.json +2 -2
  1550. package/json-schema/system/TranslationBundle.json +2 -2
  1551. package/json-schema/system/TranslationConfig.json +2 -2
  1552. package/json-schema/system/TranslationCoverageResult.json +2 -2
  1553. package/json-schema/system/TranslationData.json +2 -2
  1554. package/json-schema/system/TranslationDiffItem.json +2 -2
  1555. package/json-schema/system/TranslationDiffStatus.json +2 -2
  1556. package/json-schema/system/TranslationFileOrganization.json +2 -2
  1557. package/json-schema/system/UserActivityStatus.json +2 -2
  1558. package/json-schema/system/VectorClock.json +2 -2
  1559. package/json-schema/system/WorkerStats.json +2 -2
  1560. package/json-schema/ui/AIChatWindowProps.json +2 -2
  1561. package/json-schema/ui/ActionParam.json +2 -2
  1562. package/json-schema/ui/ActionType.json +2 -2
  1563. package/json-schema/ui/AddRecordConfig.json +2 -2
  1564. package/json-schema/ui/Animation.json +2 -2
  1565. package/json-schema/ui/AnimationTrigger.json +2 -2
  1566. package/json-schema/ui/AppBranding.json +2 -2
  1567. package/json-schema/ui/AppearanceConfig.json +2 -2
  1568. package/json-schema/ui/AriaProps.json +2 -2
  1569. package/json-schema/ui/BlankPageLayout.json +2 -2
  1570. package/json-schema/ui/BlankPageLayoutItem.json +2 -2
  1571. package/json-schema/ui/BorderRadius.json +2 -2
  1572. package/json-schema/ui/BreakpointColumnMap.json +2 -2
  1573. package/json-schema/ui/BreakpointName.json +2 -2
  1574. package/json-schema/ui/BreakpointOrderMap.json +2 -2
  1575. package/json-schema/ui/Breakpoints.json +2 -2
  1576. package/json-schema/ui/CalendarConfig.json +2 -2
  1577. package/json-schema/ui/ChartAnnotation.json +2 -2
  1578. package/json-schema/ui/ChartAxis.json +2 -2
  1579. package/json-schema/ui/ChartConfig.json +2 -2
  1580. package/json-schema/ui/ChartInteraction.json +2 -2
  1581. package/json-schema/ui/ChartSeries.json +2 -2
  1582. package/json-schema/ui/ChartType.json +2 -2
  1583. package/json-schema/ui/ColorPalette.json +2 -2
  1584. package/json-schema/ui/ColumnSummary.json +2 -2
  1585. package/json-schema/ui/ComponentAnimation.json +2 -2
  1586. package/json-schema/ui/ConflictResolution.json +2 -2
  1587. package/json-schema/ui/Dashboard.json +2 -2
  1588. package/json-schema/ui/DashboardHeader.json +2 -2
  1589. package/json-schema/ui/DashboardHeaderAction.json +2 -2
  1590. package/json-schema/ui/DashboardWidget.json +2 -2
  1591. package/json-schema/ui/DateFormat.json +2 -2
  1592. package/json-schema/ui/DensityMode.json +2 -2
  1593. package/json-schema/ui/DndConfig.json +2 -2
  1594. package/json-schema/ui/DragConstraint.json +2 -2
  1595. package/json-schema/ui/DragHandle.json +2 -2
  1596. package/json-schema/ui/DragItem.json +2 -2
  1597. package/json-schema/ui/DropEffect.json +2 -2
  1598. package/json-schema/ui/DropZone.json +2 -2
  1599. package/json-schema/ui/EasingFunction.json +2 -2
  1600. package/json-schema/ui/ElementButtonProps.json +2 -2
  1601. package/json-schema/ui/ElementDataSource.json +2 -2
  1602. package/json-schema/ui/ElementFilterProps.json +2 -2
  1603. package/json-schema/ui/ElementImageProps.json +2 -2
  1604. package/json-schema/ui/ElementNumberProps.json +2 -2
  1605. package/json-schema/ui/ElementRecordPickerProps.json +2 -2
  1606. package/json-schema/ui/ElementTextProps.json +2 -2
  1607. package/json-schema/ui/EmbedConfig.json +2 -2
  1608. package/json-schema/ui/EvictionPolicy.json +2 -2
  1609. package/json-schema/ui/FocusManagement.json +2 -2
  1610. package/json-schema/ui/FocusTrapConfig.json +2 -2
  1611. package/json-schema/ui/GalleryConfig.json +2 -2
  1612. package/json-schema/ui/GanttConfig.json +2 -2
  1613. package/json-schema/ui/GestureConfig.json +2 -2
  1614. package/json-schema/ui/GestureType.json +2 -2
  1615. package/json-schema/ui/GlobalFilter.json +2 -2
  1616. package/json-schema/ui/GlobalFilterOptionsFrom.json +2 -2
  1617. package/json-schema/ui/GroupingConfig.json +2 -2
  1618. package/json-schema/ui/GroupingField.json +2 -2
  1619. package/json-schema/ui/HttpMethod.json +2 -2
  1620. package/json-schema/ui/HttpRequest.json +2 -2
  1621. package/json-schema/ui/I18nLabel.json +2 -2
  1622. package/json-schema/ui/I18nObject.json +2 -2
  1623. package/json-schema/ui/InterfacePageConfig.json +2 -2
  1624. package/json-schema/ui/JoinedReportBlock.json +2 -2
  1625. package/json-schema/ui/KanbanConfig.json +2 -2
  1626. package/json-schema/ui/KeyboardNavigationConfig.json +2 -2
  1627. package/json-schema/ui/KeyboardShortcut.json +2 -2
  1628. package/json-schema/ui/ListChartConfig.json +2 -2
  1629. package/json-schema/ui/ListColumn.json +2 -2
  1630. package/json-schema/ui/LocaleConfig.json +2 -2
  1631. package/json-schema/ui/LongPressGestureConfig.json +2 -2
  1632. package/json-schema/ui/MotionConfig.json +2 -2
  1633. package/json-schema/ui/NavigationConfig.json +2 -2
  1634. package/json-schema/ui/NavigationMode.json +2 -2
  1635. package/json-schema/ui/Notification.json +2 -2
  1636. package/json-schema/ui/NotificationAction.json +2 -2
  1637. package/json-schema/ui/NotificationConfig.json +2 -2
  1638. package/json-schema/ui/NotificationPosition.json +2 -2
  1639. package/json-schema/ui/NotificationSeverity.json +2 -2
  1640. package/json-schema/ui/NotificationType.json +2 -2
  1641. package/json-schema/ui/NumberFormat.json +2 -2
  1642. package/json-schema/ui/OfflineCacheConfig.json +2 -2
  1643. package/json-schema/ui/OfflineConfig.json +2 -2
  1644. package/json-schema/ui/OfflineStrategy.json +2 -2
  1645. package/json-schema/ui/PageAccordionProps.json +2 -2
  1646. package/json-schema/ui/PageCardProps.json +2 -2
  1647. package/json-schema/ui/PageComponentType.json +2 -2
  1648. package/json-schema/ui/PageHeaderProps.json +2 -2
  1649. package/json-schema/ui/PageTabsProps.json +2 -2
  1650. package/json-schema/ui/PageTransition.json +2 -2
  1651. package/json-schema/ui/PageType.json +2 -2
  1652. package/json-schema/ui/PageVariable.json +2 -2
  1653. package/json-schema/ui/PaginationConfig.json +2 -2
  1654. package/json-schema/ui/PerformanceConfig.json +2 -2
  1655. package/json-schema/ui/PersistStorage.json +2 -2
  1656. package/json-schema/ui/PinchGestureConfig.json +2 -2
  1657. package/json-schema/ui/PluralRule.json +2 -2
  1658. package/json-schema/ui/Portal.json +2 -2
  1659. package/json-schema/ui/PortalActionNavItem.json +2 -2
  1660. package/json-schema/ui/PortalAnonymousEntry.json +2 -2
  1661. package/json-schema/ui/PortalAnonymousRoute.json +2 -2
  1662. package/json-schema/ui/PortalAuthMode.json +2 -2
  1663. package/json-schema/ui/PortalDashboardNavItem.json +2 -2
  1664. package/json-schema/ui/PortalLayout.json +2 -2
  1665. package/json-schema/ui/PortalNavItem.json +2 -2
  1666. package/json-schema/ui/PortalRateLimit.json +2 -2
  1667. package/json-schema/ui/PortalSeo.json +2 -2
  1668. package/json-schema/ui/PortalTheme.json +2 -2
  1669. package/json-schema/ui/PortalUrlNavItem.json +2 -2
  1670. package/json-schema/ui/PortalViewNavItem.json +2 -2
  1671. package/json-schema/ui/RecordActivityProps.json +2 -2
  1672. package/json-schema/ui/RecordChatterProps.json +2 -2
  1673. package/json-schema/ui/RecordDetailsProps.json +2 -2
  1674. package/json-schema/ui/RecordHighlightsField.json +2 -2
  1675. package/json-schema/ui/RecordHighlightsProps.json +2 -2
  1676. package/json-schema/ui/RecordPathProps.json +2 -2
  1677. package/json-schema/ui/RecordRelatedListProps.json +2 -2
  1678. package/json-schema/ui/RecordReviewConfig.json +2 -2
  1679. package/json-schema/ui/Report.json +2 -2
  1680. package/json-schema/ui/ReportChart.json +2 -2
  1681. package/json-schema/ui/ReportColumn.json +2 -2
  1682. package/json-schema/ui/ReportGrouping.json +2 -2
  1683. package/json-schema/ui/ReportType.json +2 -2
  1684. package/json-schema/ui/ResponsiveConfig.json +2 -2
  1685. package/json-schema/ui/RowColorConfig.json +2 -2
  1686. package/json-schema/ui/RowHeight.json +2 -2
  1687. package/json-schema/ui/SelectionConfig.json +2 -2
  1688. package/json-schema/ui/Shadow.json +2 -2
  1689. package/json-schema/ui/SharingConfig.json +2 -2
  1690. package/json-schema/ui/Spacing.json +2 -2
  1691. package/json-schema/ui/SwipeDirection.json +2 -2
  1692. package/json-schema/ui/SwipeGestureConfig.json +2 -2
  1693. package/json-schema/ui/SyncConfig.json +2 -2
  1694. package/json-schema/ui/Theme.json +2 -2
  1695. package/json-schema/ui/ThemeMode.json +2 -2
  1696. package/json-schema/ui/TimelineConfig.json +2 -2
  1697. package/json-schema/ui/TouchInteraction.json +2 -2
  1698. package/json-schema/ui/TouchTargetConfig.json +2 -2
  1699. package/json-schema/ui/TransitionConfig.json +2 -2
  1700. package/json-schema/ui/TransitionPreset.json +2 -2
  1701. package/json-schema/ui/Typography.json +2 -2
  1702. package/json-schema/ui/UserActionsConfig.json +2 -2
  1703. package/json-schema/ui/ViewData.json +2 -2
  1704. package/json-schema/ui/ViewFilterRule.json +2 -2
  1705. package/json-schema/ui/ViewSharing.json +2 -2
  1706. package/json-schema/ui/ViewTab.json +2 -2
  1707. package/json-schema/ui/VisualizationType.json +2 -2
  1708. package/json-schema/ui/WcagContrastLevel.json +2 -2
  1709. package/json-schema/ui/WidgetActionType.json +2 -2
  1710. package/json-schema/ui/WidgetColorVariant.json +2 -2
  1711. package/json-schema/ui/WidgetEvent.json +2 -2
  1712. package/json-schema/ui/WidgetLifecycle.json +2 -2
  1713. package/json-schema/ui/WidgetManifest.json +2 -2
  1714. package/json-schema/ui/WidgetMeasure.json +2 -2
  1715. package/json-schema/ui/WidgetProperty.json +2 -2
  1716. package/json-schema/ui/WidgetSource.json +2 -2
  1717. package/json-schema/ui/ZIndex.json +2 -2
  1718. package/package.json +1 -1
  1719. package/src/data/object.zod.ts +54 -1
  1720. package/src/kernel/metadata-plugin.zod.ts +2 -0
  1721. package/src/shared/metadata-collection.zod.ts +2 -0
  1722. package/src/stack.zod.ts +2 -0
  1723. package/src/system/job.zod.ts +20 -2
@@ -1,9 +1,9 @@
1
1
  import { Y as DriverCapabilities$1, a2 as DriverOptions, aa as EngineQueryOptions, v as DataEngineInsertOptions, ac as EngineUpdateOptions, a8 as EngineDeleteOptions, a6 as EngineCountOptions, a4 as EngineAggregateOptions, E as DataEngineRequest, C as Cube, ah as FeedItem, ay as Reaction, aA as RecordSubscription, aG as SQLDialect, aR as SeedLoaderRequest, aU as SeedLoaderResult, as as ObjectDependencyGraph, O as Dataset, aP as SeedLoaderConfigInput } from '../subscription.zod-MSheiEQT.mjs';
2
2
  import { Q as QueryAST } from '../query.zod-C-iygIgx.mjs';
3
3
  import { z } from 'zod';
4
- import { u as ObjectSchema } from '../object.zod-C1mmiCDL.mjs';
4
+ import { u as ObjectSchema } from '../object.zod-CATh64Wi.mjs';
5
5
  import { k as FieldSchema } from '../field.zod-BGr7R7KU.mjs';
6
- import { U as MetadataQuery, V as MetadataQueryResult, w as MetadataBulkResult, O as MetadataOverlay, a0 as MetadataValidationResult, H as MetadataDependency, a2 as ObjectStackManifest, i as DependencyResolutionResult, an as UpgradePlan, aj as UpgradePackageResponse, ad as RollbackPackageResponse, ap as UpgradeSnapshot, a4 as PackageArtifact, E as ExecutionContext } from '../execution-context.zod-D4xMP7B4.mjs';
6
+ import { U as MetadataQuery, V as MetadataQueryResult, w as MetadataBulkResult, O as MetadataOverlay, a0 as MetadataValidationResult, H as MetadataDependency, a2 as ObjectStackManifest, i as DependencyResolutionResult, an as UpgradePlan, aj as UpgradePackageResponse, ad as RollbackPackageResponse, ap as UpgradeSnapshot, a4 as PackageArtifact, E as ExecutionContext } from '../execution-context.zod-INizjS3v.mjs';
7
7
  import { am as PackagePublishResult, J as MetadataHistoryQueryOptions, N as MetadataHistoryQueryResult, z as MetadataDiffResult, h as AppTranslationBundle, aG as TranslationCoverageResult, aK as TranslationDiffItem, au as TenantProvisioningRequest, aw as TenantProvisioningResult, ay as TenantProvisioningStatus, as as TenantPlan, l as DeployDiff, ae as MigrationPlan, p as DeployStatus, D as DeployBundle, t as DeployValidationResult, aA as TenantRegion, f as AppManifest, A as AppCompatibilityCheck, d as AppInstallResult } from '../app-install.zod-FLEuRBBE.mjs';
8
8
  import { h as FlowParsed } from '../flow.zod-LPphSOut.mjs';
9
9
  import { i as ExecutionLog } from '../execution.zod-DGGOFfcb.mjs';
@@ -3863,6 +3863,134 @@ interface IDepartmentGraphService {
3863
3863
  managerOf(userId: string, organizationId?: string): Promise<string | null>;
3864
3864
  }
3865
3865
 
3866
+ /**
3867
+ * @objectstack/spec/contracts/share-link-service
3868
+ *
3869
+ * Capability-token sharing — "anyone with the link" publication of a
3870
+ * single record. Complementary to `ISharingService`, which models
3871
+ * principal-based grants (share with specific users / teams / roles).
3872
+ *
3873
+ * Design notes:
3874
+ *
3875
+ * 1. **Opaque tokens.** A share link is a single random `token`
3876
+ * (>=22 chars from a URL-safe alphabet). Anyone holding the
3877
+ * token can fetch the record subject to `audience` and
3878
+ * `expires_at`. Tokens are *not* derived from the record id;
3879
+ * enumerating record ids reveals nothing.
3880
+ *
3881
+ * 2. **Per-object opt-in.** `createLink` refuses to mint a token
3882
+ * for an object whose schema does not set `publicSharing.enabled`.
3883
+ * The audience / permission requested must also lie within the
3884
+ * object's `allowedAudiences` / `allowedPermissions` whitelist.
3885
+ *
3886
+ * 3. **Field-level redaction.** Each resolved link returns a
3887
+ * `redactFields` set (object-default ∪ per-link). The REST gateway
3888
+ * strips these before serialising to the response — the engine
3889
+ * itself sees the raw row so existing hooks fire normally.
3890
+ *
3891
+ * 4. **No principal expansion.** Holders of a share token are NOT
3892
+ * treated as principals in `sys_record_share`; the token authorises
3893
+ * access only to its single `(object, recordId)` tuple at the
3894
+ * declared `permission` level. This keeps audit trails clean and
3895
+ * prevents lateral movement.
3896
+ */
3897
+ /** Levels selectable when issuing a link. */
3898
+ type ShareLinkPermission = 'view' | 'comment' | 'edit';
3899
+ /** Audience gating. */
3900
+ type ShareLinkAudience = 'public' | 'link_only' | 'signed_in' | 'email';
3901
+ /** Persisted shape — mirrors `sys_share_link` columns 1:1. */
3902
+ interface ShareLink {
3903
+ id: string;
3904
+ /** Opaque URL-safe token. Always present; the only secret. */
3905
+ token: string;
3906
+ object_name: string;
3907
+ record_id: string;
3908
+ permission: ShareLinkPermission;
3909
+ audience: ShareLinkAudience;
3910
+ /** ISO timestamp; null means no expiry. */
3911
+ expires_at?: string | null;
3912
+ /** When `audience='email'`, the allow-listed addresses (lowercased). */
3913
+ email_allowlist?: string[] | null;
3914
+ /** Optional argon2/bcrypt hash; UI prompts for a password when set. */
3915
+ password_hash?: string | null;
3916
+ /** Per-link extra redactions, layered on top of the object-default set. */
3917
+ redact_fields?: string[] | null;
3918
+ /** Free-text shown in the share dialog (e.g. "Q3 contract for ACME"). */
3919
+ label?: string | null;
3920
+ /** When set, the link is revoked and `resolveToken` returns null. */
3921
+ revoked_at?: string | null;
3922
+ created_by?: string | null;
3923
+ created_at?: string;
3924
+ last_used_at?: string | null;
3925
+ use_count?: number;
3926
+ }
3927
+ /** Input for {@link IShareLinkService.createLink}. */
3928
+ interface CreateShareLinkInput {
3929
+ object: string;
3930
+ recordId: string;
3931
+ permission?: ShareLinkPermission;
3932
+ audience?: ShareLinkAudience;
3933
+ /** ISO timestamp or relative duration string ("7d", "24h") — service normalises. */
3934
+ expiresAt?: string | null;
3935
+ emailAllowlist?: string[];
3936
+ /** Plain-text password; service hashes before persisting. */
3937
+ password?: string;
3938
+ /** Per-link redactions in addition to the object default. */
3939
+ redactFields?: string[];
3940
+ label?: string;
3941
+ }
3942
+ /** Filter for {@link IShareLinkService.listLinks}. */
3943
+ interface ListShareLinksFilter {
3944
+ object?: string;
3945
+ recordId?: string;
3946
+ createdBy?: string;
3947
+ includeRevoked?: boolean;
3948
+ }
3949
+ /** Outcome of resolving a token via the public endpoint. */
3950
+ interface ResolveShareLinkResult {
3951
+ link: ShareLink;
3952
+ /** Effective fields removed from the response (object default ∪ per-link). */
3953
+ redactFields: string[];
3954
+ }
3955
+ /** Minimal context interface — kept compatible with `SharingExecutionContext`. */
3956
+ interface ShareLinkExecutionContext {
3957
+ userId?: string;
3958
+ tenantId?: string;
3959
+ isSystem?: boolean;
3960
+ }
3961
+ /**
3962
+ * Default implementation lives in `@objectstack/plugin-sharing`.
3963
+ *
3964
+ * Implementations MUST treat `context.isSystem === true` as a bypass
3965
+ * (skip the per-object opt-in check) so platform bootstrappers can seed
3966
+ * demo links.
3967
+ */
3968
+ interface IShareLinkService {
3969
+ /** Mint a new link. Throws when the object is not opt-in or limits are exceeded. */
3970
+ createLink(input: CreateShareLinkInput, context: ShareLinkExecutionContext): Promise<ShareLink>;
3971
+ /** Mark a link as revoked. No-op when already revoked or not found. */
3972
+ revokeLink(idOrToken: string, context: ShareLinkExecutionContext): Promise<void>;
3973
+ /** List links for a record, an object, or a creator. */
3974
+ listLinks(filter: ListShareLinksFilter, context: ShareLinkExecutionContext): Promise<ShareLink[]>;
3975
+ /**
3976
+ * Resolve a token at request-handling time. Returns null when the
3977
+ * token does not exist, is revoked, expired, or fails the audience
3978
+ * check. Increments `use_count` / `last_used_at` as a side effect.
3979
+ *
3980
+ * @param token raw token from the URL / cookie
3981
+ * @param probe contextual gates the caller has already evaluated
3982
+ * (e.g. signed-in user, recipient email, supplied
3983
+ * password)
3984
+ */
3985
+ resolveToken(token: string, probe?: {
3986
+ signedInUserId?: string;
3987
+ recipientEmail?: string;
3988
+ providedPassword?: string;
3989
+ }): Promise<ResolveShareLinkResult | null>;
3990
+ }
3991
+ /** Service-registry key — keep in sync with the SharingPlugin registration. */
3992
+ declare const SHARE_LINK_SERVICE: "shareLinks";
3993
+
3866
3994
  /**
3867
3995
  * @objectstack/spec/contracts/report-service
3868
3996
  *
@@ -5376,4 +5504,4 @@ interface IClusterService {
5376
5504
  close(): Promise<void>;
5377
5505
  }
5378
5506
 
5379
- export { type AIConversation, type AIMessage, type AIMessageWithTools, type AIObjectResult, type AIRequestOptions, type AIRequestOptionsWithTools, type AIResult, type AIStreamEvent, type AIToolCall, type AIToolDefinition, type AIToolResult, type AdapterContext, type AdapterSearchOptions, type AnalyticsQuery, type AnalyticsResult, type AnalyticsStrategy, type ApprovalActionRow, type ApprovalDecisionInput, type ApprovalDecisionResult, type ApprovalProcessRow, type ApprovalRequestRow, type ApprovalStatus, type AuthResult, type AuthSession, type AuthUser, type AutomationContext, type AutomationResult, type CacheStats, type ChatWithToolsOptions, type CheckNamespaceInput, type CheckNamespaceResult, type ClusterCallContext, type CounterIncrOptions, type CreateExportJobInput, type CreateExportJobResult, type CreateFeedItemInput, type CreateTursoDatabaseOptions, type CryptoContext, type CryptoHandle, type CubeMeta, type DefineApprovalProcessInput, type DefineSharingRuleInput, type DeployExecutionResult, type DriverCapabilities, type DriverInterface, EMBEDDER_SERVICE, type EmailAddress, type EmailAttachment, type EmailDeliveryStatus, type ExecuteUpgradeInput, type ExportJobDownload, type ExportJobListResult, type FeedListResult, type GenerateObjectOptions, type GrantShareInput, type GraphQLRequest, type GraphQLResponse, type HealthStatus, type IAIConversationService, type IAIService, type IAdvancedServiceRegistry, type IAnalyticsService, type IAppLifecycleService, type IApprovalService, type IAuthService, type IAutomationService, type IBasicServiceRegistry, type ICacheService, type IClusterService, type ICounter, type ICryptoProvider, type IDataDriver, type IDataEngine, type IDepartmentGraphService, type IDeployPipelineService, type IEmailService, type IEmailTransport, type IEmbedder, type IExportService, type IFeedService, type IGraphQLService, type IHttpRequest, type IHttpResponse, type IHttpServer, type II18nService, type IJobService, type IKV, type IKnowledgeAdapter, type IKnowledgeService, type ILock, type IMetadataService, type INotificationService, type IPackageService, type IPluginLifecycleEvents, type IPluginValidator, type IProvisioningService, type IPubSub, type IQueueService, type IRealtimeService, type IReportService, type ISchemaDiffService, type ISchemaDriver, type ISearchService, type ISeedLoaderService, type IServiceRegistry, type ISharingRuleService, type ISharingService, type IStartupOrchestrator, type IStorageService, type ITeamGraphService, type ITenantRouter, type ITursoPlatformService, type ITypedEventEmitter, type IUIService, type IWorkflowService, type InstallPackageInput, type InstallPackageResult, type IntrospectedColumn, type IntrospectedIndex, type IntrospectedSchema, type IntrospectedTable, type JobExecution, type JobHandler, type JobSchedule, KNOWLEDGE_SERVICE, type KVEntry, type KVSetOptions, type KnowledgeReindexOptions, type KnowledgeReindexResult, type KnowledgeSearchOptions, type LLMAdapter, type ListExportJobsOptions, type ListFeedOptions, type LockAcquireOptions, type LockHandle, type Logger, type MetadataExportOptions, type MetadataImportOptions, type MetadataImportResult, type MetadataTypeInfo, type MetadataWatchCallback, type MetadataWatchHandle, type Middleware, type MigrationApplyResult, type NormalizedEmailMessage, type NotificationChannel, type NotificationMessage, type NotificationResult, type PendingActionRow, type PendingActionStatus, type PlanUpgradeInput, type Plugin, type PluginStartupResult, type PresignedDownloadDescriptor, type PresignedUploadDescriptor, type ProposePendingActionInput, type PubSubHandler, type PubSubMessage, type PublishOptions, type QueueBackoffPolicy, type QueueHandler, type QueueMessage, type QueueMessageRecord, type QueuePublishOptions, type RealtimeEventHandler, type RealtimeEventPayload, type RealtimeSubscriptionFilter, type RealtimeSubscriptionOptions, type RecordShare, type ReportFormat, type ReportQuery, type ReportRunResult, type ReportSchedule, type ResolveDependenciesInput, type ResolvedTenantContext, type RollbackInput, type RouteHandler, type SaveReportInput, type SavedReport, type ScheduleExportInput, type ScheduleReportInput, type SearchHit, type SearchOptions, type SearchResult, type SendEmailInput, type SendEmailResult, type SendTemplateInput, type ShareAccessLevel, type ShareRecipientType, type ShareSource, type SharingExecutionContext, type SharingRuleEvaluationResult, type SharingRuleRecipientType, type SharingRuleRow, type StartupOptions, type StorageFileInfo, type StorageUploadOptions, type StrategyContext, type SubmitApprovalInput, type SubscribeInput, type SubscribeOptions, type ToolExecutionContext, type TransportSendResult, type TursoDatabaseInfo, type TursoTokenResult, type TursoTokenScope, type Unsubscribe, type UpdateFeedItemInput, type UploadArtifactInput, type UploadArtifactResult, type ValidationResult, type WorkflowStatus, type WorkflowTransition, type WorkflowTransitionResult };
5507
+ export { type AIConversation, type AIMessage, type AIMessageWithTools, type AIObjectResult, type AIRequestOptions, type AIRequestOptionsWithTools, type AIResult, type AIStreamEvent, type AIToolCall, type AIToolDefinition, type AIToolResult, type AdapterContext, type AdapterSearchOptions, type AnalyticsQuery, type AnalyticsResult, type AnalyticsStrategy, type ApprovalActionRow, type ApprovalDecisionInput, type ApprovalDecisionResult, type ApprovalProcessRow, type ApprovalRequestRow, type ApprovalStatus, type AuthResult, type AuthSession, type AuthUser, type AutomationContext, type AutomationResult, type CacheStats, type ChatWithToolsOptions, type CheckNamespaceInput, type CheckNamespaceResult, type ClusterCallContext, type CounterIncrOptions, type CreateExportJobInput, type CreateExportJobResult, type CreateFeedItemInput, type CreateShareLinkInput, type CreateTursoDatabaseOptions, type CryptoContext, type CryptoHandle, type CubeMeta, type DefineApprovalProcessInput, type DefineSharingRuleInput, type DeployExecutionResult, type DriverCapabilities, type DriverInterface, EMBEDDER_SERVICE, type EmailAddress, type EmailAttachment, type EmailDeliveryStatus, type ExecuteUpgradeInput, type ExportJobDownload, type ExportJobListResult, type FeedListResult, type GenerateObjectOptions, type GrantShareInput, type GraphQLRequest, type GraphQLResponse, type HealthStatus, type IAIConversationService, type IAIService, type IAdvancedServiceRegistry, type IAnalyticsService, type IAppLifecycleService, type IApprovalService, type IAuthService, type IAutomationService, type IBasicServiceRegistry, type ICacheService, type IClusterService, type ICounter, type ICryptoProvider, type IDataDriver, type IDataEngine, type IDepartmentGraphService, type IDeployPipelineService, type IEmailService, type IEmailTransport, type IEmbedder, type IExportService, type IFeedService, type IGraphQLService, type IHttpRequest, type IHttpResponse, type IHttpServer, type II18nService, type IJobService, type IKV, type IKnowledgeAdapter, type IKnowledgeService, type ILock, type IMetadataService, type INotificationService, type IPackageService, type IPluginLifecycleEvents, type IPluginValidator, type IProvisioningService, type IPubSub, type IQueueService, type IRealtimeService, type IReportService, type ISchemaDiffService, type ISchemaDriver, type ISearchService, type ISeedLoaderService, type IServiceRegistry, type IShareLinkService, type ISharingRuleService, type ISharingService, type IStartupOrchestrator, type IStorageService, type ITeamGraphService, type ITenantRouter, type ITursoPlatformService, type ITypedEventEmitter, type IUIService, type IWorkflowService, type InstallPackageInput, type InstallPackageResult, type IntrospectedColumn, type IntrospectedIndex, type IntrospectedSchema, type IntrospectedTable, type JobExecution, type JobHandler, type JobSchedule, KNOWLEDGE_SERVICE, type KVEntry, type KVSetOptions, type KnowledgeReindexOptions, type KnowledgeReindexResult, type KnowledgeSearchOptions, type LLMAdapter, type ListExportJobsOptions, type ListFeedOptions, type ListShareLinksFilter, type LockAcquireOptions, type LockHandle, type Logger, type MetadataExportOptions, type MetadataImportOptions, type MetadataImportResult, type MetadataTypeInfo, type MetadataWatchCallback, type MetadataWatchHandle, type Middleware, type MigrationApplyResult, type NormalizedEmailMessage, type NotificationChannel, type NotificationMessage, type NotificationResult, type PendingActionRow, type PendingActionStatus, type PlanUpgradeInput, type Plugin, type PluginStartupResult, type PresignedDownloadDescriptor, type PresignedUploadDescriptor, type ProposePendingActionInput, type PubSubHandler, type PubSubMessage, type PublishOptions, type QueueBackoffPolicy, type QueueHandler, type QueueMessage, type QueueMessageRecord, type QueuePublishOptions, type RealtimeEventHandler, type RealtimeEventPayload, type RealtimeSubscriptionFilter, type RealtimeSubscriptionOptions, type RecordShare, type ReportFormat, type ReportQuery, type ReportRunResult, type ReportSchedule, type ResolveDependenciesInput, type ResolveShareLinkResult, type ResolvedTenantContext, type RollbackInput, type RouteHandler, SHARE_LINK_SERVICE, type SaveReportInput, type SavedReport, type ScheduleExportInput, type ScheduleReportInput, type SearchHit, type SearchOptions, type SearchResult, type SendEmailInput, type SendEmailResult, type SendTemplateInput, type ShareAccessLevel, type ShareLink, type ShareLinkAudience, type ShareLinkExecutionContext, type ShareLinkPermission, type ShareRecipientType, type ShareSource, type SharingExecutionContext, type SharingRuleEvaluationResult, type SharingRuleRecipientType, type SharingRuleRow, type StartupOptions, type StorageFileInfo, type StorageUploadOptions, type StrategyContext, type SubmitApprovalInput, type SubscribeInput, type SubscribeOptions, type ToolExecutionContext, type TransportSendResult, type TursoDatabaseInfo, type TursoTokenResult, type TursoTokenScope, type Unsubscribe, type UpdateFeedItemInput, type UploadArtifactInput, type UploadArtifactResult, type ValidationResult, type WorkflowStatus, type WorkflowTransition, type WorkflowTransitionResult };
@@ -1,9 +1,9 @@
1
1
  import { Y as DriverCapabilities$1, a2 as DriverOptions, aa as EngineQueryOptions, v as DataEngineInsertOptions, ac as EngineUpdateOptions, a8 as EngineDeleteOptions, a6 as EngineCountOptions, a4 as EngineAggregateOptions, E as DataEngineRequest, C as Cube, ah as FeedItem, ay as Reaction, aA as RecordSubscription, aG as SQLDialect, aR as SeedLoaderRequest, aU as SeedLoaderResult, as as ObjectDependencyGraph, O as Dataset, aP as SeedLoaderConfigInput } from '../subscription.zod-CBBzN0Tf.js';
2
2
  import { Q as QueryAST } from '../query.zod-CGnJOIQH.js';
3
3
  import { z } from 'zod';
4
- import { u as ObjectSchema } from '../object.zod-D4gYbFv4.js';
4
+ import { u as ObjectSchema } from '../object.zod-B2nzURDy.js';
5
5
  import { k as FieldSchema } from '../field.zod-BGr7R7KU.js';
6
- import { U as MetadataQuery, V as MetadataQueryResult, w as MetadataBulkResult, O as MetadataOverlay, a0 as MetadataValidationResult, H as MetadataDependency, a2 as ObjectStackManifest, i as DependencyResolutionResult, an as UpgradePlan, aj as UpgradePackageResponse, ad as RollbackPackageResponse, ap as UpgradeSnapshot, a4 as PackageArtifact, E as ExecutionContext } from '../execution-context.zod-D4xMP7B4.js';
6
+ import { U as MetadataQuery, V as MetadataQueryResult, w as MetadataBulkResult, O as MetadataOverlay, a0 as MetadataValidationResult, H as MetadataDependency, a2 as ObjectStackManifest, i as DependencyResolutionResult, an as UpgradePlan, aj as UpgradePackageResponse, ad as RollbackPackageResponse, ap as UpgradeSnapshot, a4 as PackageArtifact, E as ExecutionContext } from '../execution-context.zod-INizjS3v.js';
7
7
  import { am as PackagePublishResult, J as MetadataHistoryQueryOptions, N as MetadataHistoryQueryResult, z as MetadataDiffResult, h as AppTranslationBundle, aG as TranslationCoverageResult, aK as TranslationDiffItem, au as TenantProvisioningRequest, aw as TenantProvisioningResult, ay as TenantProvisioningStatus, as as TenantPlan, l as DeployDiff, ae as MigrationPlan, p as DeployStatus, D as DeployBundle, t as DeployValidationResult, aA as TenantRegion, f as AppManifest, A as AppCompatibilityCheck, d as AppInstallResult } from '../app-install.zod-FLEuRBBE.js';
8
8
  import { h as FlowParsed } from '../flow.zod-LPphSOut.js';
9
9
  import { i as ExecutionLog } from '../execution.zod-DGGOFfcb.js';
@@ -3863,6 +3863,134 @@ interface IDepartmentGraphService {
3863
3863
  managerOf(userId: string, organizationId?: string): Promise<string | null>;
3864
3864
  }
3865
3865
 
3866
+ /**
3867
+ * @objectstack/spec/contracts/share-link-service
3868
+ *
3869
+ * Capability-token sharing — "anyone with the link" publication of a
3870
+ * single record. Complementary to `ISharingService`, which models
3871
+ * principal-based grants (share with specific users / teams / roles).
3872
+ *
3873
+ * Design notes:
3874
+ *
3875
+ * 1. **Opaque tokens.** A share link is a single random `token`
3876
+ * (>=22 chars from a URL-safe alphabet). Anyone holding the
3877
+ * token can fetch the record subject to `audience` and
3878
+ * `expires_at`. Tokens are *not* derived from the record id;
3879
+ * enumerating record ids reveals nothing.
3880
+ *
3881
+ * 2. **Per-object opt-in.** `createLink` refuses to mint a token
3882
+ * for an object whose schema does not set `publicSharing.enabled`.
3883
+ * The audience / permission requested must also lie within the
3884
+ * object's `allowedAudiences` / `allowedPermissions` whitelist.
3885
+ *
3886
+ * 3. **Field-level redaction.** Each resolved link returns a
3887
+ * `redactFields` set (object-default ∪ per-link). The REST gateway
3888
+ * strips these before serialising to the response — the engine
3889
+ * itself sees the raw row so existing hooks fire normally.
3890
+ *
3891
+ * 4. **No principal expansion.** Holders of a share token are NOT
3892
+ * treated as principals in `sys_record_share`; the token authorises
3893
+ * access only to its single `(object, recordId)` tuple at the
3894
+ * declared `permission` level. This keeps audit trails clean and
3895
+ * prevents lateral movement.
3896
+ */
3897
+ /** Levels selectable when issuing a link. */
3898
+ type ShareLinkPermission = 'view' | 'comment' | 'edit';
3899
+ /** Audience gating. */
3900
+ type ShareLinkAudience = 'public' | 'link_only' | 'signed_in' | 'email';
3901
+ /** Persisted shape — mirrors `sys_share_link` columns 1:1. */
3902
+ interface ShareLink {
3903
+ id: string;
3904
+ /** Opaque URL-safe token. Always present; the only secret. */
3905
+ token: string;
3906
+ object_name: string;
3907
+ record_id: string;
3908
+ permission: ShareLinkPermission;
3909
+ audience: ShareLinkAudience;
3910
+ /** ISO timestamp; null means no expiry. */
3911
+ expires_at?: string | null;
3912
+ /** When `audience='email'`, the allow-listed addresses (lowercased). */
3913
+ email_allowlist?: string[] | null;
3914
+ /** Optional argon2/bcrypt hash; UI prompts for a password when set. */
3915
+ password_hash?: string | null;
3916
+ /** Per-link extra redactions, layered on top of the object-default set. */
3917
+ redact_fields?: string[] | null;
3918
+ /** Free-text shown in the share dialog (e.g. "Q3 contract for ACME"). */
3919
+ label?: string | null;
3920
+ /** When set, the link is revoked and `resolveToken` returns null. */
3921
+ revoked_at?: string | null;
3922
+ created_by?: string | null;
3923
+ created_at?: string;
3924
+ last_used_at?: string | null;
3925
+ use_count?: number;
3926
+ }
3927
+ /** Input for {@link IShareLinkService.createLink}. */
3928
+ interface CreateShareLinkInput {
3929
+ object: string;
3930
+ recordId: string;
3931
+ permission?: ShareLinkPermission;
3932
+ audience?: ShareLinkAudience;
3933
+ /** ISO timestamp or relative duration string ("7d", "24h") — service normalises. */
3934
+ expiresAt?: string | null;
3935
+ emailAllowlist?: string[];
3936
+ /** Plain-text password; service hashes before persisting. */
3937
+ password?: string;
3938
+ /** Per-link redactions in addition to the object default. */
3939
+ redactFields?: string[];
3940
+ label?: string;
3941
+ }
3942
+ /** Filter for {@link IShareLinkService.listLinks}. */
3943
+ interface ListShareLinksFilter {
3944
+ object?: string;
3945
+ recordId?: string;
3946
+ createdBy?: string;
3947
+ includeRevoked?: boolean;
3948
+ }
3949
+ /** Outcome of resolving a token via the public endpoint. */
3950
+ interface ResolveShareLinkResult {
3951
+ link: ShareLink;
3952
+ /** Effective fields removed from the response (object default ∪ per-link). */
3953
+ redactFields: string[];
3954
+ }
3955
+ /** Minimal context interface — kept compatible with `SharingExecutionContext`. */
3956
+ interface ShareLinkExecutionContext {
3957
+ userId?: string;
3958
+ tenantId?: string;
3959
+ isSystem?: boolean;
3960
+ }
3961
+ /**
3962
+ * Default implementation lives in `@objectstack/plugin-sharing`.
3963
+ *
3964
+ * Implementations MUST treat `context.isSystem === true` as a bypass
3965
+ * (skip the per-object opt-in check) so platform bootstrappers can seed
3966
+ * demo links.
3967
+ */
3968
+ interface IShareLinkService {
3969
+ /** Mint a new link. Throws when the object is not opt-in or limits are exceeded. */
3970
+ createLink(input: CreateShareLinkInput, context: ShareLinkExecutionContext): Promise<ShareLink>;
3971
+ /** Mark a link as revoked. No-op when already revoked or not found. */
3972
+ revokeLink(idOrToken: string, context: ShareLinkExecutionContext): Promise<void>;
3973
+ /** List links for a record, an object, or a creator. */
3974
+ listLinks(filter: ListShareLinksFilter, context: ShareLinkExecutionContext): Promise<ShareLink[]>;
3975
+ /**
3976
+ * Resolve a token at request-handling time. Returns null when the
3977
+ * token does not exist, is revoked, expired, or fails the audience
3978
+ * check. Increments `use_count` / `last_used_at` as a side effect.
3979
+ *
3980
+ * @param token raw token from the URL / cookie
3981
+ * @param probe contextual gates the caller has already evaluated
3982
+ * (e.g. signed-in user, recipient email, supplied
3983
+ * password)
3984
+ */
3985
+ resolveToken(token: string, probe?: {
3986
+ signedInUserId?: string;
3987
+ recipientEmail?: string;
3988
+ providedPassword?: string;
3989
+ }): Promise<ResolveShareLinkResult | null>;
3990
+ }
3991
+ /** Service-registry key — keep in sync with the SharingPlugin registration. */
3992
+ declare const SHARE_LINK_SERVICE: "shareLinks";
3993
+
3866
3994
  /**
3867
3995
  * @objectstack/spec/contracts/report-service
3868
3996
  *
@@ -5376,4 +5504,4 @@ interface IClusterService {
5376
5504
  close(): Promise<void>;
5377
5505
  }
5378
5506
 
5379
- export { type AIConversation, type AIMessage, type AIMessageWithTools, type AIObjectResult, type AIRequestOptions, type AIRequestOptionsWithTools, type AIResult, type AIStreamEvent, type AIToolCall, type AIToolDefinition, type AIToolResult, type AdapterContext, type AdapterSearchOptions, type AnalyticsQuery, type AnalyticsResult, type AnalyticsStrategy, type ApprovalActionRow, type ApprovalDecisionInput, type ApprovalDecisionResult, type ApprovalProcessRow, type ApprovalRequestRow, type ApprovalStatus, type AuthResult, type AuthSession, type AuthUser, type AutomationContext, type AutomationResult, type CacheStats, type ChatWithToolsOptions, type CheckNamespaceInput, type CheckNamespaceResult, type ClusterCallContext, type CounterIncrOptions, type CreateExportJobInput, type CreateExportJobResult, type CreateFeedItemInput, type CreateTursoDatabaseOptions, type CryptoContext, type CryptoHandle, type CubeMeta, type DefineApprovalProcessInput, type DefineSharingRuleInput, type DeployExecutionResult, type DriverCapabilities, type DriverInterface, EMBEDDER_SERVICE, type EmailAddress, type EmailAttachment, type EmailDeliveryStatus, type ExecuteUpgradeInput, type ExportJobDownload, type ExportJobListResult, type FeedListResult, type GenerateObjectOptions, type GrantShareInput, type GraphQLRequest, type GraphQLResponse, type HealthStatus, type IAIConversationService, type IAIService, type IAdvancedServiceRegistry, type IAnalyticsService, type IAppLifecycleService, type IApprovalService, type IAuthService, type IAutomationService, type IBasicServiceRegistry, type ICacheService, type IClusterService, type ICounter, type ICryptoProvider, type IDataDriver, type IDataEngine, type IDepartmentGraphService, type IDeployPipelineService, type IEmailService, type IEmailTransport, type IEmbedder, type IExportService, type IFeedService, type IGraphQLService, type IHttpRequest, type IHttpResponse, type IHttpServer, type II18nService, type IJobService, type IKV, type IKnowledgeAdapter, type IKnowledgeService, type ILock, type IMetadataService, type INotificationService, type IPackageService, type IPluginLifecycleEvents, type IPluginValidator, type IProvisioningService, type IPubSub, type IQueueService, type IRealtimeService, type IReportService, type ISchemaDiffService, type ISchemaDriver, type ISearchService, type ISeedLoaderService, type IServiceRegistry, type ISharingRuleService, type ISharingService, type IStartupOrchestrator, type IStorageService, type ITeamGraphService, type ITenantRouter, type ITursoPlatformService, type ITypedEventEmitter, type IUIService, type IWorkflowService, type InstallPackageInput, type InstallPackageResult, type IntrospectedColumn, type IntrospectedIndex, type IntrospectedSchema, type IntrospectedTable, type JobExecution, type JobHandler, type JobSchedule, KNOWLEDGE_SERVICE, type KVEntry, type KVSetOptions, type KnowledgeReindexOptions, type KnowledgeReindexResult, type KnowledgeSearchOptions, type LLMAdapter, type ListExportJobsOptions, type ListFeedOptions, type LockAcquireOptions, type LockHandle, type Logger, type MetadataExportOptions, type MetadataImportOptions, type MetadataImportResult, type MetadataTypeInfo, type MetadataWatchCallback, type MetadataWatchHandle, type Middleware, type MigrationApplyResult, type NormalizedEmailMessage, type NotificationChannel, type NotificationMessage, type NotificationResult, type PendingActionRow, type PendingActionStatus, type PlanUpgradeInput, type Plugin, type PluginStartupResult, type PresignedDownloadDescriptor, type PresignedUploadDescriptor, type ProposePendingActionInput, type PubSubHandler, type PubSubMessage, type PublishOptions, type QueueBackoffPolicy, type QueueHandler, type QueueMessage, type QueueMessageRecord, type QueuePublishOptions, type RealtimeEventHandler, type RealtimeEventPayload, type RealtimeSubscriptionFilter, type RealtimeSubscriptionOptions, type RecordShare, type ReportFormat, type ReportQuery, type ReportRunResult, type ReportSchedule, type ResolveDependenciesInput, type ResolvedTenantContext, type RollbackInput, type RouteHandler, type SaveReportInput, type SavedReport, type ScheduleExportInput, type ScheduleReportInput, type SearchHit, type SearchOptions, type SearchResult, type SendEmailInput, type SendEmailResult, type SendTemplateInput, type ShareAccessLevel, type ShareRecipientType, type ShareSource, type SharingExecutionContext, type SharingRuleEvaluationResult, type SharingRuleRecipientType, type SharingRuleRow, type StartupOptions, type StorageFileInfo, type StorageUploadOptions, type StrategyContext, type SubmitApprovalInput, type SubscribeInput, type SubscribeOptions, type ToolExecutionContext, type TransportSendResult, type TursoDatabaseInfo, type TursoTokenResult, type TursoTokenScope, type Unsubscribe, type UpdateFeedItemInput, type UploadArtifactInput, type UploadArtifactResult, type ValidationResult, type WorkflowStatus, type WorkflowTransition, type WorkflowTransitionResult };
5507
+ export { type AIConversation, type AIMessage, type AIMessageWithTools, type AIObjectResult, type AIRequestOptions, type AIRequestOptionsWithTools, type AIResult, type AIStreamEvent, type AIToolCall, type AIToolDefinition, type AIToolResult, type AdapterContext, type AdapterSearchOptions, type AnalyticsQuery, type AnalyticsResult, type AnalyticsStrategy, type ApprovalActionRow, type ApprovalDecisionInput, type ApprovalDecisionResult, type ApprovalProcessRow, type ApprovalRequestRow, type ApprovalStatus, type AuthResult, type AuthSession, type AuthUser, type AutomationContext, type AutomationResult, type CacheStats, type ChatWithToolsOptions, type CheckNamespaceInput, type CheckNamespaceResult, type ClusterCallContext, type CounterIncrOptions, type CreateExportJobInput, type CreateExportJobResult, type CreateFeedItemInput, type CreateShareLinkInput, type CreateTursoDatabaseOptions, type CryptoContext, type CryptoHandle, type CubeMeta, type DefineApprovalProcessInput, type DefineSharingRuleInput, type DeployExecutionResult, type DriverCapabilities, type DriverInterface, EMBEDDER_SERVICE, type EmailAddress, type EmailAttachment, type EmailDeliveryStatus, type ExecuteUpgradeInput, type ExportJobDownload, type ExportJobListResult, type FeedListResult, type GenerateObjectOptions, type GrantShareInput, type GraphQLRequest, type GraphQLResponse, type HealthStatus, type IAIConversationService, type IAIService, type IAdvancedServiceRegistry, type IAnalyticsService, type IAppLifecycleService, type IApprovalService, type IAuthService, type IAutomationService, type IBasicServiceRegistry, type ICacheService, type IClusterService, type ICounter, type ICryptoProvider, type IDataDriver, type IDataEngine, type IDepartmentGraphService, type IDeployPipelineService, type IEmailService, type IEmailTransport, type IEmbedder, type IExportService, type IFeedService, type IGraphQLService, type IHttpRequest, type IHttpResponse, type IHttpServer, type II18nService, type IJobService, type IKV, type IKnowledgeAdapter, type IKnowledgeService, type ILock, type IMetadataService, type INotificationService, type IPackageService, type IPluginLifecycleEvents, type IPluginValidator, type IProvisioningService, type IPubSub, type IQueueService, type IRealtimeService, type IReportService, type ISchemaDiffService, type ISchemaDriver, type ISearchService, type ISeedLoaderService, type IServiceRegistry, type IShareLinkService, type ISharingRuleService, type ISharingService, type IStartupOrchestrator, type IStorageService, type ITeamGraphService, type ITenantRouter, type ITursoPlatformService, type ITypedEventEmitter, type IUIService, type IWorkflowService, type InstallPackageInput, type InstallPackageResult, type IntrospectedColumn, type IntrospectedIndex, type IntrospectedSchema, type IntrospectedTable, type JobExecution, type JobHandler, type JobSchedule, KNOWLEDGE_SERVICE, type KVEntry, type KVSetOptions, type KnowledgeReindexOptions, type KnowledgeReindexResult, type KnowledgeSearchOptions, type LLMAdapter, type ListExportJobsOptions, type ListFeedOptions, type ListShareLinksFilter, type LockAcquireOptions, type LockHandle, type Logger, type MetadataExportOptions, type MetadataImportOptions, type MetadataImportResult, type MetadataTypeInfo, type MetadataWatchCallback, type MetadataWatchHandle, type Middleware, type MigrationApplyResult, type NormalizedEmailMessage, type NotificationChannel, type NotificationMessage, type NotificationResult, type PendingActionRow, type PendingActionStatus, type PlanUpgradeInput, type Plugin, type PluginStartupResult, type PresignedDownloadDescriptor, type PresignedUploadDescriptor, type ProposePendingActionInput, type PubSubHandler, type PubSubMessage, type PublishOptions, type QueueBackoffPolicy, type QueueHandler, type QueueMessage, type QueueMessageRecord, type QueuePublishOptions, type RealtimeEventHandler, type RealtimeEventPayload, type RealtimeSubscriptionFilter, type RealtimeSubscriptionOptions, type RecordShare, type ReportFormat, type ReportQuery, type ReportRunResult, type ReportSchedule, type ResolveDependenciesInput, type ResolveShareLinkResult, type ResolvedTenantContext, type RollbackInput, type RouteHandler, SHARE_LINK_SERVICE, type SaveReportInput, type SavedReport, type ScheduleExportInput, type ScheduleReportInput, type SearchHit, type SearchOptions, type SearchResult, type SendEmailInput, type SendEmailResult, type SendTemplateInput, type ShareAccessLevel, type ShareLink, type ShareLinkAudience, type ShareLinkExecutionContext, type ShareLinkPermission, type ShareRecipientType, type ShareSource, type SharingExecutionContext, type SharingRuleEvaluationResult, type SharingRuleRecipientType, type SharingRuleRow, type StartupOptions, type StorageFileInfo, type StorageUploadOptions, type StrategyContext, type SubmitApprovalInput, type SubscribeInput, type SubscribeOptions, type ToolExecutionContext, type TransportSendResult, type TursoDatabaseInfo, type TursoTokenResult, type TursoTokenScope, type Unsubscribe, type UpdateFeedItemInput, type UploadArtifactInput, type UploadArtifactResult, type ValidationResult, type WorkflowStatus, type WorkflowTransition, type WorkflowTransitionResult };
@@ -1,5 +1,8 @@
1
1
  'use strict';
2
2
 
3
+ // src/contracts/share-link-service.ts
4
+ var SHARE_LINK_SERVICE = "shareLinks";
5
+
3
6
  // src/contracts/knowledge-service.ts
4
7
  var KNOWLEDGE_SERVICE = "knowledge";
5
8
 
@@ -8,5 +11,6 @@ var EMBEDDER_SERVICE = "embedder";
8
11
 
9
12
  exports.EMBEDDER_SERVICE = EMBEDDER_SERVICE;
10
13
  exports.KNOWLEDGE_SERVICE = KNOWLEDGE_SERVICE;
14
+ exports.SHARE_LINK_SERVICE = SHARE_LINK_SERVICE;
11
15
  //# sourceMappingURL=index.js.map
12
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/contracts/knowledge-service.ts","../../src/contracts/embedder.ts"],"names":[],"mappings":";;;AAgHO,IAAM,iBAAA,GAAoB;;;AC1D1B,IAAM,gBAAA,GAAmB","file":"index.js","sourcesContent":["// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.\n\nimport type { ExecutionContext } from '../kernel/execution-context.zod';\nimport type {\n KnowledgeDocument,\n KnowledgeHit,\n} from '../ai/knowledge-document.zod';\nimport type { KnowledgeSource } from '../ai/knowledge-source.zod';\nimport type { IKnowledgeAdapter } from './knowledge-adapter';\n\n/**\n * `IKnowledgeService` — orchestrator contract consumed by REST,\n * `service-ai`, Studio, and custom plugins. Implemented by\n * `@objectstack/service-knowledge`.\n *\n * The service routes requests to one of many `IKnowledgeAdapter`\n * plugins (RAGFlow, LlamaIndex, Dify, …), wraps search results with a\n * permission-aware filter that uses the caller's `ExecutionContext`,\n * and drives event-based sync from ObjectQL.\n *\n * See `content/docs/protocol/knowledge.mdx` for the architecture\n * rationale.\n */\n\n/** Options accepted by `IKnowledgeService.search`. */\nexport interface KnowledgeSearchOptions {\n /**\n * Restrict the search to the given source ids. When omitted, every\n * source the caller is allowed to see is queried.\n */\n sourceIds?: string[];\n /** Max number of hits to return. Adapters may cap further. */\n topK?: number;\n /** Adapter-specific filter (passed opaquely). */\n filter?: Record<string, unknown>;\n /**\n * Execution context of the caller. **Required** for permission-aware\n * retrieval: hits whose `sourceRecordId` would be filtered out by\n * RLS are dropped before being returned. Internal callers may pass\n * an `isSystem: true` context to bypass — same convention as\n * `IDataEngine`.\n */\n executionContext?: ExecutionContext;\n}\n\n/** Options accepted by `IKnowledgeService.reindexSource`. */\nexport interface KnowledgeReindexOptions {\n /** When `true`, walk the source and count but do not call the adapter. */\n dryRun?: boolean;\n /** Cap on number of documents to reindex (mostly for tests / smoke runs). */\n limit?: number;\n}\n\n/** Result of a `reindexSource` call. */\nexport interface KnowledgeReindexResult {\n /** Number of documents pushed to the adapter (0 when dryRun). */\n indexed: number;\n /** Number of documents discovered (always populated). */\n discovered: number;\n /** When applicable, the underlying object's short name. */\n object?: string;\n /** When `false`, an adapter / source check prevented the run. */\n ok: boolean;\n /** Free-form diagnostics. */\n message?: string;\n}\n\n/**\n * Core service contract.\n *\n * Every adapter plugin calls `registerAdapter(id, this)` during its\n * `start()` hook. Sources reference adapters by id; unknown ids cause\n * `search` / `indexDocument` to throw early with a clear error.\n */\nexport interface IKnowledgeService {\n /** Register (or replace) an adapter under the given id. */\n registerAdapter(id: string, adapter: IKnowledgeAdapter): void;\n /** Resolve an adapter by id. Throws when unknown. */\n getAdapter(id: string): IKnowledgeAdapter;\n /** Enumerate registered adapter ids. */\n listAdapters(): string[];\n\n /** Register a logical knowledge source. */\n registerSource(source: KnowledgeSource): void;\n /** Remove a registered source. Does not delete underlying data. */\n unregisterSource(sourceId: string): void;\n /** Snapshot of registered sources (read-only). */\n listSources(): KnowledgeSource[];\n /** Look up a single source. Returns `undefined` when not registered. */\n getSource(sourceId: string): KnowledgeSource | undefined;\n\n /** Index (insert or replace) a document into the source's adapter. */\n indexDocument(sourceId: string, doc: KnowledgeDocument): Promise<void>;\n /** Remove a document from the source's adapter. */\n deleteDocument(sourceId: string, documentId: string): Promise<void>;\n\n /**\n * Bulk reindex a source from its declared origin. Object sources\n * walk the underlying object via `IDataEngine`; file / http sources\n * delegate to the adapter's own ingestion.\n */\n reindexSource(sourceId: string, opts?: KnowledgeReindexOptions): Promise<KnowledgeReindexResult>;\n\n /**\n * Run a search across one or more sources. Results are\n * permission-filtered before being returned (see\n * `KnowledgeSearchOptions.executionContext`).\n */\n search(query: string, opts?: KnowledgeSearchOptions): Promise<KnowledgeHit[]>;\n}\n\n/** Canonical service-registry id used by `IKnowledgeService` consumers. */\nexport const KNOWLEDGE_SERVICE = 'knowledge' as const;\n","// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.\n\n/**\n * `IEmbedder` — protocol-level contract for text → vector providers.\n *\n * Implemented by embedder plugins (`@objectstack/embedder-openai`,\n * `@objectstack/embedder-ollama`, `@objectstack/embedder-transformers-js`,\n * …) and consumed by every knowledge adapter that needs to compute\n * vectors (e.g. `@objectstack/knowledge-turso`,\n * `@objectstack/knowledge-sqlite-vec`).\n *\n * The surface is deliberately minimal so the same protocol covers\n * cloud APIs (OpenAI, 阿里通义, 智谱, 硅基流动, Doubao, …), local\n * Ollama daemons, in-process WASM/ONNX runtimes, and any OpenAI-shape\n * compatible endpoint. Implementations are responsible for batching,\n * retry, and rate-limit handling against their upstream.\n *\n * Conventions:\n * - Output order MUST match input order exactly.\n * - Vectors SHOULD be L2-normalised so downstream cosine == dot.\n * - `dimensions` MUST be stable for the lifetime of the instance —\n * knowledge adapters size their vector columns from this value.\n *\n * See `content/docs/protocol/knowledge.mdx`.\n */\nexport interface IEmbedder {\n /** Stable id for logs and diagnostics (e.g. `'openai'`, `'ollama'`). */\n readonly id: string;\n /**\n * Output vector dimensionality. Knowledge adapters use this to size\n * their fixed-width vector columns / index parameters.\n */\n readonly dimensions: number;\n /**\n * Embed a batch of strings. Output order matches input order.\n * Implementations SHOULD handle empty input by returning `[]`.\n */\n embed(texts: string[]): Promise<number[][]>;\n}\n\n/**\n * DI service token for the kernel-registered `IEmbedder` instance.\n *\n * Plugins that need an embedder (e.g. `@objectstack/knowledge-turso`,\n * `@objectstack/knowledge-sqlite-vec`) SHOULD prefer resolving this\n * service over taking the embedder as a constructor option, so\n * operators can configure the embedder once (in `Settings → AI &\n * Embedder`) and have every knowledge adapter pick it up.\n *\n * Registered by `@objectstack/service-ai` when the operator selects a\n * non-`none` embedder provider in settings. If absent, knowledge\n * adapters fall back to their constructor-supplied embedder (or refuse\n * to start).\n */\nexport const EMBEDDER_SERVICE = 'embedder' as const;\n"]}
1
+ {"version":3,"sources":["../../src/contracts/share-link-service.ts","../../src/contracts/knowledge-service.ts","../../src/contracts/embedder.ts"],"names":[],"mappings":";;;AA+IO,IAAM,kBAAA,GAAqB;;;AC/B3B,IAAM,iBAAA,GAAoB;;;AC1D1B,IAAM,gBAAA,GAAmB","file":"index.js","sourcesContent":["// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.\n\n/**\n * @objectstack/spec/contracts/share-link-service\n *\n * Capability-token sharing — \"anyone with the link\" publication of a\n * single record. Complementary to `ISharingService`, which models\n * principal-based grants (share with specific users / teams / roles).\n *\n * Design notes:\n *\n * 1. **Opaque tokens.** A share link is a single random `token`\n * (>=22 chars from a URL-safe alphabet). Anyone holding the\n * token can fetch the record subject to `audience` and\n * `expires_at`. Tokens are *not* derived from the record id;\n * enumerating record ids reveals nothing.\n *\n * 2. **Per-object opt-in.** `createLink` refuses to mint a token\n * for an object whose schema does not set `publicSharing.enabled`.\n * The audience / permission requested must also lie within the\n * object's `allowedAudiences` / `allowedPermissions` whitelist.\n *\n * 3. **Field-level redaction.** Each resolved link returns a\n * `redactFields` set (object-default ∪ per-link). The REST gateway\n * strips these before serialising to the response — the engine\n * itself sees the raw row so existing hooks fire normally.\n *\n * 4. **No principal expansion.** Holders of a share token are NOT\n * treated as principals in `sys_record_share`; the token authorises\n * access only to its single `(object, recordId)` tuple at the\n * declared `permission` level. This keeps audit trails clean and\n * prevents lateral movement.\n */\n\n/** Levels selectable when issuing a link. */\nexport type ShareLinkPermission = 'view' | 'comment' | 'edit';\n\n/** Audience gating. */\nexport type ShareLinkAudience = 'public' | 'link_only' | 'signed_in' | 'email';\n\n/** Persisted shape — mirrors `sys_share_link` columns 1:1. */\nexport interface ShareLink {\n id: string;\n /** Opaque URL-safe token. Always present; the only secret. */\n token: string;\n object_name: string;\n record_id: string;\n permission: ShareLinkPermission;\n audience: ShareLinkAudience;\n /** ISO timestamp; null means no expiry. */\n expires_at?: string | null;\n /** When `audience='email'`, the allow-listed addresses (lowercased). */\n email_allowlist?: string[] | null;\n /** Optional argon2/bcrypt hash; UI prompts for a password when set. */\n password_hash?: string | null;\n /** Per-link extra redactions, layered on top of the object-default set. */\n redact_fields?: string[] | null;\n /** Free-text shown in the share dialog (e.g. \"Q3 contract for ACME\"). */\n label?: string | null;\n /** When set, the link is revoked and `resolveToken` returns null. */\n revoked_at?: string | null;\n created_by?: string | null;\n created_at?: string;\n last_used_at?: string | null;\n use_count?: number;\n}\n\n/** Input for {@link IShareLinkService.createLink}. */\nexport interface CreateShareLinkInput {\n object: string;\n recordId: string;\n permission?: ShareLinkPermission;\n audience?: ShareLinkAudience;\n /** ISO timestamp or relative duration string (\"7d\", \"24h\") — service normalises. */\n expiresAt?: string | null;\n emailAllowlist?: string[];\n /** Plain-text password; service hashes before persisting. */\n password?: string;\n /** Per-link redactions in addition to the object default. */\n redactFields?: string[];\n label?: string;\n}\n\n/** Filter for {@link IShareLinkService.listLinks}. */\nexport interface ListShareLinksFilter {\n object?: string;\n recordId?: string;\n createdBy?: string;\n includeRevoked?: boolean;\n}\n\n/** Outcome of resolving a token via the public endpoint. */\nexport interface ResolveShareLinkResult {\n link: ShareLink;\n /** Effective fields removed from the response (object default ∪ per-link). */\n redactFields: string[];\n}\n\n/** Minimal context interface — kept compatible with `SharingExecutionContext`. */\nexport interface ShareLinkExecutionContext {\n userId?: string;\n tenantId?: string;\n isSystem?: boolean;\n}\n\n/**\n * Default implementation lives in `@objectstack/plugin-sharing`.\n *\n * Implementations MUST treat `context.isSystem === true` as a bypass\n * (skip the per-object opt-in check) so platform bootstrappers can seed\n * demo links.\n */\nexport interface IShareLinkService {\n /** Mint a new link. Throws when the object is not opt-in or limits are exceeded. */\n createLink(input: CreateShareLinkInput, context: ShareLinkExecutionContext): Promise<ShareLink>;\n\n /** Mark a link as revoked. No-op when already revoked or not found. */\n revokeLink(idOrToken: string, context: ShareLinkExecutionContext): Promise<void>;\n\n /** List links for a record, an object, or a creator. */\n listLinks(filter: ListShareLinksFilter, context: ShareLinkExecutionContext): Promise<ShareLink[]>;\n\n /**\n * Resolve a token at request-handling time. Returns null when the\n * token does not exist, is revoked, expired, or fails the audience\n * check. Increments `use_count` / `last_used_at` as a side effect.\n *\n * @param token raw token from the URL / cookie\n * @param probe contextual gates the caller has already evaluated\n * (e.g. signed-in user, recipient email, supplied\n * password)\n */\n resolveToken(\n token: string,\n probe?: {\n signedInUserId?: string;\n recipientEmail?: string;\n providedPassword?: string;\n },\n ): Promise<ResolveShareLinkResult | null>;\n}\n\n/** Service-registry key — keep in sync with the SharingPlugin registration. */\nexport const SHARE_LINK_SERVICE = 'shareLinks' as const;\n","// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.\n\nimport type { ExecutionContext } from '../kernel/execution-context.zod';\nimport type {\n KnowledgeDocument,\n KnowledgeHit,\n} from '../ai/knowledge-document.zod';\nimport type { KnowledgeSource } from '../ai/knowledge-source.zod';\nimport type { IKnowledgeAdapter } from './knowledge-adapter';\n\n/**\n * `IKnowledgeService` — orchestrator contract consumed by REST,\n * `service-ai`, Studio, and custom plugins. Implemented by\n * `@objectstack/service-knowledge`.\n *\n * The service routes requests to one of many `IKnowledgeAdapter`\n * plugins (RAGFlow, LlamaIndex, Dify, …), wraps search results with a\n * permission-aware filter that uses the caller's `ExecutionContext`,\n * and drives event-based sync from ObjectQL.\n *\n * See `content/docs/protocol/knowledge.mdx` for the architecture\n * rationale.\n */\n\n/** Options accepted by `IKnowledgeService.search`. */\nexport interface KnowledgeSearchOptions {\n /**\n * Restrict the search to the given source ids. When omitted, every\n * source the caller is allowed to see is queried.\n */\n sourceIds?: string[];\n /** Max number of hits to return. Adapters may cap further. */\n topK?: number;\n /** Adapter-specific filter (passed opaquely). */\n filter?: Record<string, unknown>;\n /**\n * Execution context of the caller. **Required** for permission-aware\n * retrieval: hits whose `sourceRecordId` would be filtered out by\n * RLS are dropped before being returned. Internal callers may pass\n * an `isSystem: true` context to bypass — same convention as\n * `IDataEngine`.\n */\n executionContext?: ExecutionContext;\n}\n\n/** Options accepted by `IKnowledgeService.reindexSource`. */\nexport interface KnowledgeReindexOptions {\n /** When `true`, walk the source and count but do not call the adapter. */\n dryRun?: boolean;\n /** Cap on number of documents to reindex (mostly for tests / smoke runs). */\n limit?: number;\n}\n\n/** Result of a `reindexSource` call. */\nexport interface KnowledgeReindexResult {\n /** Number of documents pushed to the adapter (0 when dryRun). */\n indexed: number;\n /** Number of documents discovered (always populated). */\n discovered: number;\n /** When applicable, the underlying object's short name. */\n object?: string;\n /** When `false`, an adapter / source check prevented the run. */\n ok: boolean;\n /** Free-form diagnostics. */\n message?: string;\n}\n\n/**\n * Core service contract.\n *\n * Every adapter plugin calls `registerAdapter(id, this)` during its\n * `start()` hook. Sources reference adapters by id; unknown ids cause\n * `search` / `indexDocument` to throw early with a clear error.\n */\nexport interface IKnowledgeService {\n /** Register (or replace) an adapter under the given id. */\n registerAdapter(id: string, adapter: IKnowledgeAdapter): void;\n /** Resolve an adapter by id. Throws when unknown. */\n getAdapter(id: string): IKnowledgeAdapter;\n /** Enumerate registered adapter ids. */\n listAdapters(): string[];\n\n /** Register a logical knowledge source. */\n registerSource(source: KnowledgeSource): void;\n /** Remove a registered source. Does not delete underlying data. */\n unregisterSource(sourceId: string): void;\n /** Snapshot of registered sources (read-only). */\n listSources(): KnowledgeSource[];\n /** Look up a single source. Returns `undefined` when not registered. */\n getSource(sourceId: string): KnowledgeSource | undefined;\n\n /** Index (insert or replace) a document into the source's adapter. */\n indexDocument(sourceId: string, doc: KnowledgeDocument): Promise<void>;\n /** Remove a document from the source's adapter. */\n deleteDocument(sourceId: string, documentId: string): Promise<void>;\n\n /**\n * Bulk reindex a source from its declared origin. Object sources\n * walk the underlying object via `IDataEngine`; file / http sources\n * delegate to the adapter's own ingestion.\n */\n reindexSource(sourceId: string, opts?: KnowledgeReindexOptions): Promise<KnowledgeReindexResult>;\n\n /**\n * Run a search across one or more sources. Results are\n * permission-filtered before being returned (see\n * `KnowledgeSearchOptions.executionContext`).\n */\n search(query: string, opts?: KnowledgeSearchOptions): Promise<KnowledgeHit[]>;\n}\n\n/** Canonical service-registry id used by `IKnowledgeService` consumers. */\nexport const KNOWLEDGE_SERVICE = 'knowledge' as const;\n","// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.\n\n/**\n * `IEmbedder` — protocol-level contract for text → vector providers.\n *\n * Implemented by embedder plugins (`@objectstack/embedder-openai`,\n * `@objectstack/embedder-ollama`, `@objectstack/embedder-transformers-js`,\n * …) and consumed by every knowledge adapter that needs to compute\n * vectors (e.g. `@objectstack/knowledge-turso`,\n * `@objectstack/knowledge-sqlite-vec`).\n *\n * The surface is deliberately minimal so the same protocol covers\n * cloud APIs (OpenAI, 阿里通义, 智谱, 硅基流动, Doubao, …), local\n * Ollama daemons, in-process WASM/ONNX runtimes, and any OpenAI-shape\n * compatible endpoint. Implementations are responsible for batching,\n * retry, and rate-limit handling against their upstream.\n *\n * Conventions:\n * - Output order MUST match input order exactly.\n * - Vectors SHOULD be L2-normalised so downstream cosine == dot.\n * - `dimensions` MUST be stable for the lifetime of the instance —\n * knowledge adapters size their vector columns from this value.\n *\n * See `content/docs/protocol/knowledge.mdx`.\n */\nexport interface IEmbedder {\n /** Stable id for logs and diagnostics (e.g. `'openai'`, `'ollama'`). */\n readonly id: string;\n /**\n * Output vector dimensionality. Knowledge adapters use this to size\n * their fixed-width vector columns / index parameters.\n */\n readonly dimensions: number;\n /**\n * Embed a batch of strings. Output order matches input order.\n * Implementations SHOULD handle empty input by returning `[]`.\n */\n embed(texts: string[]): Promise<number[][]>;\n}\n\n/**\n * DI service token for the kernel-registered `IEmbedder` instance.\n *\n * Plugins that need an embedder (e.g. `@objectstack/knowledge-turso`,\n * `@objectstack/knowledge-sqlite-vec`) SHOULD prefer resolving this\n * service over taking the embedder as a constructor option, so\n * operators can configure the embedder once (in `Settings → AI &\n * Embedder`) and have every knowledge adapter pick it up.\n *\n * Registered by `@objectstack/service-ai` when the operator selects a\n * non-`none` embedder provider in settings. If absent, knowledge\n * adapters fall back to their constructor-supplied embedder (or refuse\n * to start).\n */\nexport const EMBEDDER_SERVICE = 'embedder' as const;\n"]}
@@ -1,9 +1,12 @@
1
+ // src/contracts/share-link-service.ts
2
+ var SHARE_LINK_SERVICE = "shareLinks";
3
+
1
4
  // src/contracts/knowledge-service.ts
2
5
  var KNOWLEDGE_SERVICE = "knowledge";
3
6
 
4
7
  // src/contracts/embedder.ts
5
8
  var EMBEDDER_SERVICE = "embedder";
6
9
 
7
- export { EMBEDDER_SERVICE, KNOWLEDGE_SERVICE };
10
+ export { EMBEDDER_SERVICE, KNOWLEDGE_SERVICE, SHARE_LINK_SERVICE };
8
11
  //# sourceMappingURL=index.mjs.map
9
12
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/contracts/knowledge-service.ts","../../src/contracts/embedder.ts"],"names":[],"mappings":";AAgHO,IAAM,iBAAA,GAAoB;;;AC1D1B,IAAM,gBAAA,GAAmB","file":"index.mjs","sourcesContent":["// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.\n\nimport type { ExecutionContext } from '../kernel/execution-context.zod';\nimport type {\n KnowledgeDocument,\n KnowledgeHit,\n} from '../ai/knowledge-document.zod';\nimport type { KnowledgeSource } from '../ai/knowledge-source.zod';\nimport type { IKnowledgeAdapter } from './knowledge-adapter';\n\n/**\n * `IKnowledgeService` — orchestrator contract consumed by REST,\n * `service-ai`, Studio, and custom plugins. Implemented by\n * `@objectstack/service-knowledge`.\n *\n * The service routes requests to one of many `IKnowledgeAdapter`\n * plugins (RAGFlow, LlamaIndex, Dify, …), wraps search results with a\n * permission-aware filter that uses the caller's `ExecutionContext`,\n * and drives event-based sync from ObjectQL.\n *\n * See `content/docs/protocol/knowledge.mdx` for the architecture\n * rationale.\n */\n\n/** Options accepted by `IKnowledgeService.search`. */\nexport interface KnowledgeSearchOptions {\n /**\n * Restrict the search to the given source ids. When omitted, every\n * source the caller is allowed to see is queried.\n */\n sourceIds?: string[];\n /** Max number of hits to return. Adapters may cap further. */\n topK?: number;\n /** Adapter-specific filter (passed opaquely). */\n filter?: Record<string, unknown>;\n /**\n * Execution context of the caller. **Required** for permission-aware\n * retrieval: hits whose `sourceRecordId` would be filtered out by\n * RLS are dropped before being returned. Internal callers may pass\n * an `isSystem: true` context to bypass — same convention as\n * `IDataEngine`.\n */\n executionContext?: ExecutionContext;\n}\n\n/** Options accepted by `IKnowledgeService.reindexSource`. */\nexport interface KnowledgeReindexOptions {\n /** When `true`, walk the source and count but do not call the adapter. */\n dryRun?: boolean;\n /** Cap on number of documents to reindex (mostly for tests / smoke runs). */\n limit?: number;\n}\n\n/** Result of a `reindexSource` call. */\nexport interface KnowledgeReindexResult {\n /** Number of documents pushed to the adapter (0 when dryRun). */\n indexed: number;\n /** Number of documents discovered (always populated). */\n discovered: number;\n /** When applicable, the underlying object's short name. */\n object?: string;\n /** When `false`, an adapter / source check prevented the run. */\n ok: boolean;\n /** Free-form diagnostics. */\n message?: string;\n}\n\n/**\n * Core service contract.\n *\n * Every adapter plugin calls `registerAdapter(id, this)` during its\n * `start()` hook. Sources reference adapters by id; unknown ids cause\n * `search` / `indexDocument` to throw early with a clear error.\n */\nexport interface IKnowledgeService {\n /** Register (or replace) an adapter under the given id. */\n registerAdapter(id: string, adapter: IKnowledgeAdapter): void;\n /** Resolve an adapter by id. Throws when unknown. */\n getAdapter(id: string): IKnowledgeAdapter;\n /** Enumerate registered adapter ids. */\n listAdapters(): string[];\n\n /** Register a logical knowledge source. */\n registerSource(source: KnowledgeSource): void;\n /** Remove a registered source. Does not delete underlying data. */\n unregisterSource(sourceId: string): void;\n /** Snapshot of registered sources (read-only). */\n listSources(): KnowledgeSource[];\n /** Look up a single source. Returns `undefined` when not registered. */\n getSource(sourceId: string): KnowledgeSource | undefined;\n\n /** Index (insert or replace) a document into the source's adapter. */\n indexDocument(sourceId: string, doc: KnowledgeDocument): Promise<void>;\n /** Remove a document from the source's adapter. */\n deleteDocument(sourceId: string, documentId: string): Promise<void>;\n\n /**\n * Bulk reindex a source from its declared origin. Object sources\n * walk the underlying object via `IDataEngine`; file / http sources\n * delegate to the adapter's own ingestion.\n */\n reindexSource(sourceId: string, opts?: KnowledgeReindexOptions): Promise<KnowledgeReindexResult>;\n\n /**\n * Run a search across one or more sources. Results are\n * permission-filtered before being returned (see\n * `KnowledgeSearchOptions.executionContext`).\n */\n search(query: string, opts?: KnowledgeSearchOptions): Promise<KnowledgeHit[]>;\n}\n\n/** Canonical service-registry id used by `IKnowledgeService` consumers. */\nexport const KNOWLEDGE_SERVICE = 'knowledge' as const;\n","// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.\n\n/**\n * `IEmbedder` — protocol-level contract for text → vector providers.\n *\n * Implemented by embedder plugins (`@objectstack/embedder-openai`,\n * `@objectstack/embedder-ollama`, `@objectstack/embedder-transformers-js`,\n * …) and consumed by every knowledge adapter that needs to compute\n * vectors (e.g. `@objectstack/knowledge-turso`,\n * `@objectstack/knowledge-sqlite-vec`).\n *\n * The surface is deliberately minimal so the same protocol covers\n * cloud APIs (OpenAI, 阿里通义, 智谱, 硅基流动, Doubao, …), local\n * Ollama daemons, in-process WASM/ONNX runtimes, and any OpenAI-shape\n * compatible endpoint. Implementations are responsible for batching,\n * retry, and rate-limit handling against their upstream.\n *\n * Conventions:\n * - Output order MUST match input order exactly.\n * - Vectors SHOULD be L2-normalised so downstream cosine == dot.\n * - `dimensions` MUST be stable for the lifetime of the instance —\n * knowledge adapters size their vector columns from this value.\n *\n * See `content/docs/protocol/knowledge.mdx`.\n */\nexport interface IEmbedder {\n /** Stable id for logs and diagnostics (e.g. `'openai'`, `'ollama'`). */\n readonly id: string;\n /**\n * Output vector dimensionality. Knowledge adapters use this to size\n * their fixed-width vector columns / index parameters.\n */\n readonly dimensions: number;\n /**\n * Embed a batch of strings. Output order matches input order.\n * Implementations SHOULD handle empty input by returning `[]`.\n */\n embed(texts: string[]): Promise<number[][]>;\n}\n\n/**\n * DI service token for the kernel-registered `IEmbedder` instance.\n *\n * Plugins that need an embedder (e.g. `@objectstack/knowledge-turso`,\n * `@objectstack/knowledge-sqlite-vec`) SHOULD prefer resolving this\n * service over taking the embedder as a constructor option, so\n * operators can configure the embedder once (in `Settings → AI &\n * Embedder`) and have every knowledge adapter pick it up.\n *\n * Registered by `@objectstack/service-ai` when the operator selects a\n * non-`none` embedder provider in settings. If absent, knowledge\n * adapters fall back to their constructor-supplied embedder (or refuse\n * to start).\n */\nexport const EMBEDDER_SERVICE = 'embedder' as const;\n"]}
1
+ {"version":3,"sources":["../../src/contracts/share-link-service.ts","../../src/contracts/knowledge-service.ts","../../src/contracts/embedder.ts"],"names":[],"mappings":";AA+IO,IAAM,kBAAA,GAAqB;;;AC/B3B,IAAM,iBAAA,GAAoB;;;AC1D1B,IAAM,gBAAA,GAAmB","file":"index.mjs","sourcesContent":["// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.\n\n/**\n * @objectstack/spec/contracts/share-link-service\n *\n * Capability-token sharing — \"anyone with the link\" publication of a\n * single record. Complementary to `ISharingService`, which models\n * principal-based grants (share with specific users / teams / roles).\n *\n * Design notes:\n *\n * 1. **Opaque tokens.** A share link is a single random `token`\n * (>=22 chars from a URL-safe alphabet). Anyone holding the\n * token can fetch the record subject to `audience` and\n * `expires_at`. Tokens are *not* derived from the record id;\n * enumerating record ids reveals nothing.\n *\n * 2. **Per-object opt-in.** `createLink` refuses to mint a token\n * for an object whose schema does not set `publicSharing.enabled`.\n * The audience / permission requested must also lie within the\n * object's `allowedAudiences` / `allowedPermissions` whitelist.\n *\n * 3. **Field-level redaction.** Each resolved link returns a\n * `redactFields` set (object-default ∪ per-link). The REST gateway\n * strips these before serialising to the response — the engine\n * itself sees the raw row so existing hooks fire normally.\n *\n * 4. **No principal expansion.** Holders of a share token are NOT\n * treated as principals in `sys_record_share`; the token authorises\n * access only to its single `(object, recordId)` tuple at the\n * declared `permission` level. This keeps audit trails clean and\n * prevents lateral movement.\n */\n\n/** Levels selectable when issuing a link. */\nexport type ShareLinkPermission = 'view' | 'comment' | 'edit';\n\n/** Audience gating. */\nexport type ShareLinkAudience = 'public' | 'link_only' | 'signed_in' | 'email';\n\n/** Persisted shape — mirrors `sys_share_link` columns 1:1. */\nexport interface ShareLink {\n id: string;\n /** Opaque URL-safe token. Always present; the only secret. */\n token: string;\n object_name: string;\n record_id: string;\n permission: ShareLinkPermission;\n audience: ShareLinkAudience;\n /** ISO timestamp; null means no expiry. */\n expires_at?: string | null;\n /** When `audience='email'`, the allow-listed addresses (lowercased). */\n email_allowlist?: string[] | null;\n /** Optional argon2/bcrypt hash; UI prompts for a password when set. */\n password_hash?: string | null;\n /** Per-link extra redactions, layered on top of the object-default set. */\n redact_fields?: string[] | null;\n /** Free-text shown in the share dialog (e.g. \"Q3 contract for ACME\"). */\n label?: string | null;\n /** When set, the link is revoked and `resolveToken` returns null. */\n revoked_at?: string | null;\n created_by?: string | null;\n created_at?: string;\n last_used_at?: string | null;\n use_count?: number;\n}\n\n/** Input for {@link IShareLinkService.createLink}. */\nexport interface CreateShareLinkInput {\n object: string;\n recordId: string;\n permission?: ShareLinkPermission;\n audience?: ShareLinkAudience;\n /** ISO timestamp or relative duration string (\"7d\", \"24h\") — service normalises. */\n expiresAt?: string | null;\n emailAllowlist?: string[];\n /** Plain-text password; service hashes before persisting. */\n password?: string;\n /** Per-link redactions in addition to the object default. */\n redactFields?: string[];\n label?: string;\n}\n\n/** Filter for {@link IShareLinkService.listLinks}. */\nexport interface ListShareLinksFilter {\n object?: string;\n recordId?: string;\n createdBy?: string;\n includeRevoked?: boolean;\n}\n\n/** Outcome of resolving a token via the public endpoint. */\nexport interface ResolveShareLinkResult {\n link: ShareLink;\n /** Effective fields removed from the response (object default ∪ per-link). */\n redactFields: string[];\n}\n\n/** Minimal context interface — kept compatible with `SharingExecutionContext`. */\nexport interface ShareLinkExecutionContext {\n userId?: string;\n tenantId?: string;\n isSystem?: boolean;\n}\n\n/**\n * Default implementation lives in `@objectstack/plugin-sharing`.\n *\n * Implementations MUST treat `context.isSystem === true` as a bypass\n * (skip the per-object opt-in check) so platform bootstrappers can seed\n * demo links.\n */\nexport interface IShareLinkService {\n /** Mint a new link. Throws when the object is not opt-in or limits are exceeded. */\n createLink(input: CreateShareLinkInput, context: ShareLinkExecutionContext): Promise<ShareLink>;\n\n /** Mark a link as revoked. No-op when already revoked or not found. */\n revokeLink(idOrToken: string, context: ShareLinkExecutionContext): Promise<void>;\n\n /** List links for a record, an object, or a creator. */\n listLinks(filter: ListShareLinksFilter, context: ShareLinkExecutionContext): Promise<ShareLink[]>;\n\n /**\n * Resolve a token at request-handling time. Returns null when the\n * token does not exist, is revoked, expired, or fails the audience\n * check. Increments `use_count` / `last_used_at` as a side effect.\n *\n * @param token raw token from the URL / cookie\n * @param probe contextual gates the caller has already evaluated\n * (e.g. signed-in user, recipient email, supplied\n * password)\n */\n resolveToken(\n token: string,\n probe?: {\n signedInUserId?: string;\n recipientEmail?: string;\n providedPassword?: string;\n },\n ): Promise<ResolveShareLinkResult | null>;\n}\n\n/** Service-registry key — keep in sync with the SharingPlugin registration. */\nexport const SHARE_LINK_SERVICE = 'shareLinks' as const;\n","// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.\n\nimport type { ExecutionContext } from '../kernel/execution-context.zod';\nimport type {\n KnowledgeDocument,\n KnowledgeHit,\n} from '../ai/knowledge-document.zod';\nimport type { KnowledgeSource } from '../ai/knowledge-source.zod';\nimport type { IKnowledgeAdapter } from './knowledge-adapter';\n\n/**\n * `IKnowledgeService` — orchestrator contract consumed by REST,\n * `service-ai`, Studio, and custom plugins. Implemented by\n * `@objectstack/service-knowledge`.\n *\n * The service routes requests to one of many `IKnowledgeAdapter`\n * plugins (RAGFlow, LlamaIndex, Dify, …), wraps search results with a\n * permission-aware filter that uses the caller's `ExecutionContext`,\n * and drives event-based sync from ObjectQL.\n *\n * See `content/docs/protocol/knowledge.mdx` for the architecture\n * rationale.\n */\n\n/** Options accepted by `IKnowledgeService.search`. */\nexport interface KnowledgeSearchOptions {\n /**\n * Restrict the search to the given source ids. When omitted, every\n * source the caller is allowed to see is queried.\n */\n sourceIds?: string[];\n /** Max number of hits to return. Adapters may cap further. */\n topK?: number;\n /** Adapter-specific filter (passed opaquely). */\n filter?: Record<string, unknown>;\n /**\n * Execution context of the caller. **Required** for permission-aware\n * retrieval: hits whose `sourceRecordId` would be filtered out by\n * RLS are dropped before being returned. Internal callers may pass\n * an `isSystem: true` context to bypass — same convention as\n * `IDataEngine`.\n */\n executionContext?: ExecutionContext;\n}\n\n/** Options accepted by `IKnowledgeService.reindexSource`. */\nexport interface KnowledgeReindexOptions {\n /** When `true`, walk the source and count but do not call the adapter. */\n dryRun?: boolean;\n /** Cap on number of documents to reindex (mostly for tests / smoke runs). */\n limit?: number;\n}\n\n/** Result of a `reindexSource` call. */\nexport interface KnowledgeReindexResult {\n /** Number of documents pushed to the adapter (0 when dryRun). */\n indexed: number;\n /** Number of documents discovered (always populated). */\n discovered: number;\n /** When applicable, the underlying object's short name. */\n object?: string;\n /** When `false`, an adapter / source check prevented the run. */\n ok: boolean;\n /** Free-form diagnostics. */\n message?: string;\n}\n\n/**\n * Core service contract.\n *\n * Every adapter plugin calls `registerAdapter(id, this)` during its\n * `start()` hook. Sources reference adapters by id; unknown ids cause\n * `search` / `indexDocument` to throw early with a clear error.\n */\nexport interface IKnowledgeService {\n /** Register (or replace) an adapter under the given id. */\n registerAdapter(id: string, adapter: IKnowledgeAdapter): void;\n /** Resolve an adapter by id. Throws when unknown. */\n getAdapter(id: string): IKnowledgeAdapter;\n /** Enumerate registered adapter ids. */\n listAdapters(): string[];\n\n /** Register a logical knowledge source. */\n registerSource(source: KnowledgeSource): void;\n /** Remove a registered source. Does not delete underlying data. */\n unregisterSource(sourceId: string): void;\n /** Snapshot of registered sources (read-only). */\n listSources(): KnowledgeSource[];\n /** Look up a single source. Returns `undefined` when not registered. */\n getSource(sourceId: string): KnowledgeSource | undefined;\n\n /** Index (insert or replace) a document into the source's adapter. */\n indexDocument(sourceId: string, doc: KnowledgeDocument): Promise<void>;\n /** Remove a document from the source's adapter. */\n deleteDocument(sourceId: string, documentId: string): Promise<void>;\n\n /**\n * Bulk reindex a source from its declared origin. Object sources\n * walk the underlying object via `IDataEngine`; file / http sources\n * delegate to the adapter's own ingestion.\n */\n reindexSource(sourceId: string, opts?: KnowledgeReindexOptions): Promise<KnowledgeReindexResult>;\n\n /**\n * Run a search across one or more sources. Results are\n * permission-filtered before being returned (see\n * `KnowledgeSearchOptions.executionContext`).\n */\n search(query: string, opts?: KnowledgeSearchOptions): Promise<KnowledgeHit[]>;\n}\n\n/** Canonical service-registry id used by `IKnowledgeService` consumers. */\nexport const KNOWLEDGE_SERVICE = 'knowledge' as const;\n","// Copyright (c) 2026 ObjectStack. Licensed under the Apache-2.0 license.\n\n/**\n * `IEmbedder` — protocol-level contract for text → vector providers.\n *\n * Implemented by embedder plugins (`@objectstack/embedder-openai`,\n * `@objectstack/embedder-ollama`, `@objectstack/embedder-transformers-js`,\n * …) and consumed by every knowledge adapter that needs to compute\n * vectors (e.g. `@objectstack/knowledge-turso`,\n * `@objectstack/knowledge-sqlite-vec`).\n *\n * The surface is deliberately minimal so the same protocol covers\n * cloud APIs (OpenAI, 阿里通义, 智谱, 硅基流动, Doubao, …), local\n * Ollama daemons, in-process WASM/ONNX runtimes, and any OpenAI-shape\n * compatible endpoint. Implementations are responsible for batching,\n * retry, and rate-limit handling against their upstream.\n *\n * Conventions:\n * - Output order MUST match input order exactly.\n * - Vectors SHOULD be L2-normalised so downstream cosine == dot.\n * - `dimensions` MUST be stable for the lifetime of the instance —\n * knowledge adapters size their vector columns from this value.\n *\n * See `content/docs/protocol/knowledge.mdx`.\n */\nexport interface IEmbedder {\n /** Stable id for logs and diagnostics (e.g. `'openai'`, `'ollama'`). */\n readonly id: string;\n /**\n * Output vector dimensionality. Knowledge adapters use this to size\n * their fixed-width vector columns / index parameters.\n */\n readonly dimensions: number;\n /**\n * Embed a batch of strings. Output order matches input order.\n * Implementations SHOULD handle empty input by returning `[]`.\n */\n embed(texts: string[]): Promise<number[][]>;\n}\n\n/**\n * DI service token for the kernel-registered `IEmbedder` instance.\n *\n * Plugins that need an embedder (e.g. `@objectstack/knowledge-turso`,\n * `@objectstack/knowledge-sqlite-vec`) SHOULD prefer resolving this\n * service over taking the embedder as a constructor option, so\n * operators can configure the embedder once (in `Settings → AI &\n * Embedder`) and have every knowledge adapter pick it up.\n *\n * Registered by `@objectstack/service-ai` when the operator selects a\n * non-`none` embedder provider in settings. If absent, knowledge\n * adapters fall back to their constructor-supplied embedder (or refuse\n * to start).\n */\nexport const EMBEDDER_SERVICE = 'embedder' as const;\n"]}
@@ -2,7 +2,7 @@ import { Q as QueryAST } from '../query.zod-C-iygIgx.mjs';
2
2
  export { A as AggregationFunction, a as AggregationNode, b as AggregationNodeSchema, D as DateGranularity, c as DateGranularityValue, F as FieldNodeSchema, d as FullTextSearch, e as FullTextSearchSchema, G as GroupByNode, f as GroupByNodeSchema, J as JoinNode, g as JoinNodeSchema, h as JoinStrategy, i as JoinType, j as QueryInput, k as QuerySchema, S as SortNode, l as SortNodeSchema, W as WindowFunction, m as WindowFunctionNode, n as WindowFunctionNodeSchema, o as WindowSpec, p as WindowSpecSchema } from '../query.zod-C-iygIgx.mjs';
3
3
  export { A as ALL_OPERATORS, C as ComparisonOperatorSchema, E as EqualityOperatorSchema, F as FILTER_OPERATORS, a as FieldOperators, b as FieldOperatorsSchema, c as FieldReference, d as FieldReferenceSchema, e as Filter, f as FilterCondition, g as FilterConditionSchema, h as FilterOperatorKey, L as LOGICAL_OPERATORS, i as LogicalOperatorKey, N as NormalizedFilter, j as NormalizedFilterSchema, O as OperatorKey, Q as QueryFilter, k as QueryFilterSchema, R as RangeOperatorSchema, S as Scalar, l as SetOperatorSchema, m as SpecialOperatorSchema, n as StringOperatorSchema, V as VALID_AST_OPERATORS, o as isFilterAST, p as parseFilterAST } from '../filter.zod-DG_Mf2_S.mjs';
4
4
  import { z } from 'zod';
5
- export { A as ApiMethod, a as AsyncValidation, b as AsyncValidationSchema, B as BaseValidationRuleShape, C as CDCConfig, c as CDCConfigSchema, d as ConditionalValidation, e as ConditionalValidationSchema, f as CrossFieldValidation, g as CrossFieldValidationSchema, h as CrudAffordances, i as CustomValidation, j as CustomValidatorSchema, F as FormatValidation, k as FormatValidationSchema, I as IndexSchema, J as JSONValidation, l as JSONValidationSchema, O as ObjectCapabilities, m as ObjectExtension, n as ObjectExtensionSchema, o as ObjectFieldGroup, p as ObjectFieldGroupInput, q as ObjectFieldGroupSchema, r as ObjectIndex, s as ObjectOwnership, t as ObjectOwnershipEnum, u as ObjectSchema, P as PartitioningConfig, v as PartitioningConfigSchema, S as ScriptValidation, w as ScriptValidationSchema, x as SearchConfigSchema, y as ServiceObject, z as ServiceObjectInput, D as SoftDeleteConfig, E as SoftDeleteConfigSchema, G as StateMachineValidation, H as StateMachineValidationSchema, T as TenancyConfig, K as TenancyConfigSchema, U as UniquenessValidation, L as UniquenessValidationSchema, V as ValidationRule, M as ValidationRuleSchema, N as VersioningConfig, Q as VersioningConfigSchema, R as resolveCrudAffordances } from '../object.zod-C1mmiCDL.mjs';
5
+ export { A as ApiMethod, a as AsyncValidation, b as AsyncValidationSchema, B as BaseValidationRuleShape, C as CDCConfig, c as CDCConfigSchema, d as ConditionalValidation, e as ConditionalValidationSchema, f as CrossFieldValidation, g as CrossFieldValidationSchema, h as CrudAffordances, i as CustomValidation, j as CustomValidatorSchema, F as FormatValidation, k as FormatValidationSchema, I as IndexSchema, J as JSONValidation, l as JSONValidationSchema, O as ObjectCapabilities, m as ObjectExtension, n as ObjectExtensionSchema, o as ObjectFieldGroup, p as ObjectFieldGroupInput, q as ObjectFieldGroupSchema, r as ObjectIndex, s as ObjectOwnership, t as ObjectOwnershipEnum, u as ObjectSchema, P as PartitioningConfig, v as PartitioningConfigSchema, S as ScriptValidation, w as ScriptValidationSchema, x as SearchConfigSchema, y as ServiceObject, z as ServiceObjectInput, D as SoftDeleteConfig, E as SoftDeleteConfigSchema, G as StateMachineValidation, H as StateMachineValidationSchema, T as TenancyConfig, K as TenancyConfigSchema, U as UniquenessValidation, L as UniquenessValidationSchema, V as ValidationRule, M as ValidationRuleSchema, N as VersioningConfig, Q as VersioningConfigSchema, R as resolveCrudAffordances } from '../object.zod-CATh64Wi.mjs';
6
6
  export { A as Address, a as AddressSchema, C as ComputedFieldCache, b as ComputedFieldCacheSchema, c as CurrencyConfig, d as CurrencyConfigInput, e as CurrencyConfigSchema, f as CurrencyValue, g as CurrencyValueSchema, D as DataQualityRules, h as DataQualityRulesInput, i as DataQualityRulesSchema, F as Field, j as FieldInput, k as FieldSchema, l as FieldType, m as FileAttachmentConfig, n as FileAttachmentConfigInput, o as FileAttachmentConfigSchema, L as LocationCoordinates, p as LocationCoordinatesSchema, S as SelectOption, q as SelectOptionSchema, V as VectorConfig, r as VectorConfigInput, s as VectorConfigSchema } from '../field.zod-BGr7R7KU.mjs';
7
7
  export { A as AggregationMetricType, a as AnalyticsQuery, b as AnalyticsQuerySchema, B as BaseEngineOptions, c as BaseEngineOptionsSchema, C as Cube, d as CubeJoin, e as CubeJoinSchema, f as CubeSchema, D as DataEngineAggregateOptions, g as DataEngineAggregateOptionsSchema, h as DataEngineAggregateRequestSchema, i as DataEngineBatchRequestSchema, j as DataEngineContractSchema, k as DataEngineCountOptions, l as DataEngineCountOptionsSchema, m as DataEngineCountRequestSchema, n as DataEngineDeleteOptions, o as DataEngineDeleteOptionsSchema, p as DataEngineDeleteRequestSchema, q as DataEngineExecuteRequestSchema, r as DataEngineFilter, s as DataEngineFilterSchema, t as DataEngineFindOneRequestSchema, u as DataEngineFindRequestSchema, v as DataEngineInsertOptions, w as DataEngineInsertOptionsSchema, x as DataEngineInsertRequestSchema, y as DataEngineQueryOptions, z as DataEngineQueryOptionsSchema, E as DataEngineRequest, F as DataEngineRequestSchema, G as DataEngineSort, H as DataEngineSortSchema, I as DataEngineUpdateOptions, J as DataEngineUpdateOptionsSchema, K as DataEngineUpdateRequestSchema, L as DataEngineVectorFindRequestSchema, M as DataTypeMapping, N as DataTypeMappingSchema, O as Dataset, P as DatasetImportMode, Q as DatasetInput, R as DatasetLoadResult, S as DatasetLoadResultSchema, T as DatasetMode, U as DatasetSchema, V as Dimension, W as DimensionSchema, X as DimensionType, Y as DriverCapabilities, Z as DriverCapabilitiesSchema, _ as DriverConfig, $ as DriverConfigSchema, a0 as DriverInterface, a1 as DriverInterfaceSchema, a2 as DriverOptions, a3 as DriverOptionsSchema, a4 as EngineAggregateOptions, a5 as EngineAggregateOptionsSchema, a6 as EngineCountOptions, a7 as EngineCountOptionsSchema, a8 as EngineDeleteOptions, a9 as EngineDeleteOptionsSchema, aa as EngineQueryOptions, ab as EngineQueryOptionsSchema, ac as EngineUpdateOptions, ad as EngineUpdateOptionsSchema, ae as FeedActor, af as FeedActorSchema, ag as FeedFilterMode, ah as FeedItem, ai as FeedItemSchema, aj as FeedItemType, ak as FeedVisibility, al as FieldChangeEntry, am as FieldChangeEntrySchema, an as Mention, ao as MentionSchema, ap as Metric, aq as MetricSchema, ar as NotificationChannel, as as ObjectDependencyGraph, at as ObjectDependencyGraphSchema, au as ObjectDependencyNode, av as ObjectDependencyNodeSchema, aw as PoolConfig, ax as PoolConfigSchema, ay as Reaction, az as ReactionSchema, aA as RecordSubscription, aB as RecordSubscriptionSchema, aC as ReferenceResolution, aD as ReferenceResolutionError, aE as ReferenceResolutionErrorSchema, aF as ReferenceResolutionSchema, aG as SQLDialect, aH as SQLDialectSchema, aI as SQLDriverConfig, aJ as SQLDriverConfigSchema, aK as SQLiteAlterTableLimitations, aL as SQLiteDataTypeMappingDefaults, aM as SSLConfig, aN as SSLConfigSchema, aO as SeedLoaderConfig, aP as SeedLoaderConfigInput, aQ as SeedLoaderConfigSchema, aR as SeedLoaderRequest, aS as SeedLoaderRequestInput, aT as SeedLoaderRequestSchema, aU as SeedLoaderResult, aV as SeedLoaderResultSchema, aW as SubscriptionEventType, aX as TimeUpdateInterval, aY as defineDataset } from '../subscription.zod-MSheiEQT.mjs';
8
8
  import '../state-machine.zod-BNanU03M.mjs';
@@ -2,7 +2,7 @@ import { Q as QueryAST } from '../query.zod-CGnJOIQH.js';
2
2
  export { A as AggregationFunction, a as AggregationNode, b as AggregationNodeSchema, D as DateGranularity, c as DateGranularityValue, F as FieldNodeSchema, d as FullTextSearch, e as FullTextSearchSchema, G as GroupByNode, f as GroupByNodeSchema, J as JoinNode, g as JoinNodeSchema, h as JoinStrategy, i as JoinType, j as QueryInput, k as QuerySchema, S as SortNode, l as SortNodeSchema, W as WindowFunction, m as WindowFunctionNode, n as WindowFunctionNodeSchema, o as WindowSpec, p as WindowSpecSchema } from '../query.zod-CGnJOIQH.js';
3
3
  export { A as ALL_OPERATORS, C as ComparisonOperatorSchema, E as EqualityOperatorSchema, F as FILTER_OPERATORS, a as FieldOperators, b as FieldOperatorsSchema, c as FieldReference, d as FieldReferenceSchema, e as Filter, f as FilterCondition, g as FilterConditionSchema, h as FilterOperatorKey, L as LOGICAL_OPERATORS, i as LogicalOperatorKey, N as NormalizedFilter, j as NormalizedFilterSchema, O as OperatorKey, Q as QueryFilter, k as QueryFilterSchema, R as RangeOperatorSchema, S as Scalar, l as SetOperatorSchema, m as SpecialOperatorSchema, n as StringOperatorSchema, V as VALID_AST_OPERATORS, o as isFilterAST, p as parseFilterAST } from '../filter.zod-DG_Mf2_S.js';
4
4
  import { z } from 'zod';
5
- export { A as ApiMethod, a as AsyncValidation, b as AsyncValidationSchema, B as BaseValidationRuleShape, C as CDCConfig, c as CDCConfigSchema, d as ConditionalValidation, e as ConditionalValidationSchema, f as CrossFieldValidation, g as CrossFieldValidationSchema, h as CrudAffordances, i as CustomValidation, j as CustomValidatorSchema, F as FormatValidation, k as FormatValidationSchema, I as IndexSchema, J as JSONValidation, l as JSONValidationSchema, O as ObjectCapabilities, m as ObjectExtension, n as ObjectExtensionSchema, o as ObjectFieldGroup, p as ObjectFieldGroupInput, q as ObjectFieldGroupSchema, r as ObjectIndex, s as ObjectOwnership, t as ObjectOwnershipEnum, u as ObjectSchema, P as PartitioningConfig, v as PartitioningConfigSchema, S as ScriptValidation, w as ScriptValidationSchema, x as SearchConfigSchema, y as ServiceObject, z as ServiceObjectInput, D as SoftDeleteConfig, E as SoftDeleteConfigSchema, G as StateMachineValidation, H as StateMachineValidationSchema, T as TenancyConfig, K as TenancyConfigSchema, U as UniquenessValidation, L as UniquenessValidationSchema, V as ValidationRule, M as ValidationRuleSchema, N as VersioningConfig, Q as VersioningConfigSchema, R as resolveCrudAffordances } from '../object.zod-D4gYbFv4.js';
5
+ export { A as ApiMethod, a as AsyncValidation, b as AsyncValidationSchema, B as BaseValidationRuleShape, C as CDCConfig, c as CDCConfigSchema, d as ConditionalValidation, e as ConditionalValidationSchema, f as CrossFieldValidation, g as CrossFieldValidationSchema, h as CrudAffordances, i as CustomValidation, j as CustomValidatorSchema, F as FormatValidation, k as FormatValidationSchema, I as IndexSchema, J as JSONValidation, l as JSONValidationSchema, O as ObjectCapabilities, m as ObjectExtension, n as ObjectExtensionSchema, o as ObjectFieldGroup, p as ObjectFieldGroupInput, q as ObjectFieldGroupSchema, r as ObjectIndex, s as ObjectOwnership, t as ObjectOwnershipEnum, u as ObjectSchema, P as PartitioningConfig, v as PartitioningConfigSchema, S as ScriptValidation, w as ScriptValidationSchema, x as SearchConfigSchema, y as ServiceObject, z as ServiceObjectInput, D as SoftDeleteConfig, E as SoftDeleteConfigSchema, G as StateMachineValidation, H as StateMachineValidationSchema, T as TenancyConfig, K as TenancyConfigSchema, U as UniquenessValidation, L as UniquenessValidationSchema, V as ValidationRule, M as ValidationRuleSchema, N as VersioningConfig, Q as VersioningConfigSchema, R as resolveCrudAffordances } from '../object.zod-B2nzURDy.js';
6
6
  export { A as Address, a as AddressSchema, C as ComputedFieldCache, b as ComputedFieldCacheSchema, c as CurrencyConfig, d as CurrencyConfigInput, e as CurrencyConfigSchema, f as CurrencyValue, g as CurrencyValueSchema, D as DataQualityRules, h as DataQualityRulesInput, i as DataQualityRulesSchema, F as Field, j as FieldInput, k as FieldSchema, l as FieldType, m as FileAttachmentConfig, n as FileAttachmentConfigInput, o as FileAttachmentConfigSchema, L as LocationCoordinates, p as LocationCoordinatesSchema, S as SelectOption, q as SelectOptionSchema, V as VectorConfig, r as VectorConfigInput, s as VectorConfigSchema } from '../field.zod-BGr7R7KU.js';
7
7
  export { A as AggregationMetricType, a as AnalyticsQuery, b as AnalyticsQuerySchema, B as BaseEngineOptions, c as BaseEngineOptionsSchema, C as Cube, d as CubeJoin, e as CubeJoinSchema, f as CubeSchema, D as DataEngineAggregateOptions, g as DataEngineAggregateOptionsSchema, h as DataEngineAggregateRequestSchema, i as DataEngineBatchRequestSchema, j as DataEngineContractSchema, k as DataEngineCountOptions, l as DataEngineCountOptionsSchema, m as DataEngineCountRequestSchema, n as DataEngineDeleteOptions, o as DataEngineDeleteOptionsSchema, p as DataEngineDeleteRequestSchema, q as DataEngineExecuteRequestSchema, r as DataEngineFilter, s as DataEngineFilterSchema, t as DataEngineFindOneRequestSchema, u as DataEngineFindRequestSchema, v as DataEngineInsertOptions, w as DataEngineInsertOptionsSchema, x as DataEngineInsertRequestSchema, y as DataEngineQueryOptions, z as DataEngineQueryOptionsSchema, E as DataEngineRequest, F as DataEngineRequestSchema, G as DataEngineSort, H as DataEngineSortSchema, I as DataEngineUpdateOptions, J as DataEngineUpdateOptionsSchema, K as DataEngineUpdateRequestSchema, L as DataEngineVectorFindRequestSchema, M as DataTypeMapping, N as DataTypeMappingSchema, O as Dataset, P as DatasetImportMode, Q as DatasetInput, R as DatasetLoadResult, S as DatasetLoadResultSchema, T as DatasetMode, U as DatasetSchema, V as Dimension, W as DimensionSchema, X as DimensionType, Y as DriverCapabilities, Z as DriverCapabilitiesSchema, _ as DriverConfig, $ as DriverConfigSchema, a0 as DriverInterface, a1 as DriverInterfaceSchema, a2 as DriverOptions, a3 as DriverOptionsSchema, a4 as EngineAggregateOptions, a5 as EngineAggregateOptionsSchema, a6 as EngineCountOptions, a7 as EngineCountOptionsSchema, a8 as EngineDeleteOptions, a9 as EngineDeleteOptionsSchema, aa as EngineQueryOptions, ab as EngineQueryOptionsSchema, ac as EngineUpdateOptions, ad as EngineUpdateOptionsSchema, ae as FeedActor, af as FeedActorSchema, ag as FeedFilterMode, ah as FeedItem, ai as FeedItemSchema, aj as FeedItemType, ak as FeedVisibility, al as FieldChangeEntry, am as FieldChangeEntrySchema, an as Mention, ao as MentionSchema, ap as Metric, aq as MetricSchema, ar as NotificationChannel, as as ObjectDependencyGraph, at as ObjectDependencyGraphSchema, au as ObjectDependencyNode, av as ObjectDependencyNodeSchema, aw as PoolConfig, ax as PoolConfigSchema, ay as Reaction, az as ReactionSchema, aA as RecordSubscription, aB as RecordSubscriptionSchema, aC as ReferenceResolution, aD as ReferenceResolutionError, aE as ReferenceResolutionErrorSchema, aF as ReferenceResolutionSchema, aG as SQLDialect, aH as SQLDialectSchema, aI as SQLDriverConfig, aJ as SQLDriverConfigSchema, aK as SQLiteAlterTableLimitations, aL as SQLiteDataTypeMappingDefaults, aM as SSLConfig, aN as SSLConfigSchema, aO as SeedLoaderConfig, aP as SeedLoaderConfigInput, aQ as SeedLoaderConfigSchema, aR as SeedLoaderRequest, aS as SeedLoaderRequestInput, aT as SeedLoaderRequestSchema, aU as SeedLoaderResult, aV as SeedLoaderResultSchema, aW as SubscriptionEventType, aX as TimeUpdateInterval, aY as defineDataset } from '../subscription.zod-CBBzN0Tf.js';
8
8
  import '../state-machine.zod-BNanU03M.js';
@@ -2313,7 +2313,8 @@ var ObjectSchemaBase = zod.z.object({
2313
2313
  * declare them per-object (Salesforce-style). Currently injected:
2314
2314
  *
2315
2315
  * - `organization_id` — `lookup → sys_organization`. Injected only when
2316
- * the kernel runs in multi-tenant mode (`OS_MULTI_TENANT !== 'false'`).
2316
+ * the kernel runs in multi-tenant mode (`OS_MULTI_TENANT === 'true'`;
2317
+ * default is off — single-tenant).
2317
2318
  * Required for the default `tenant_isolation` RLS policy and the
2318
2319
  * SecurityPlugin's auto-fill on insert to take effect.
2319
2320
  *
@@ -2449,6 +2450,57 @@ var ObjectSchemaBase = zod.z.object({
2449
2450
  recordTypes: zod.z.array(zod.z.string()).optional().describe("Record type names for this object"),
2450
2451
  /** Sharing Model */
2451
2452
  sharingModel: zod.z.enum(["private", "read", "read_write", "full"]).optional().describe("Default sharing model"),
2453
+ /**
2454
+ * Public Share-Link Policy
2455
+ *
2456
+ * Opt-in declaration that records of this object MAY be published via
2457
+ * an opaque capability token (Notion / Google Docs / Figma "anyone with
2458
+ * the link" style). When omitted or `enabled:false`, the platform
2459
+ * refuses to create share-link rows for this object — independent of
2460
+ * any permission the caller holds.
2461
+ *
2462
+ * Distinct from {@link sharingModel}, which governs *principal-based*
2463
+ * sharing (share with specific users / teams / roles). A single object
2464
+ * can opt into both: principals get full edit, link recipients get
2465
+ * read-only with redaction.
2466
+ *
2467
+ * Defaults are conservative: when `enabled:true` and no other field is
2468
+ * provided, the plugin allows `link_only` audience + `view` permission
2469
+ * (the safest combination — caller still needs the URL to access).
2470
+ *
2471
+ * @see packages/plugins/plugin-sharing/src/share-link-service.ts
2472
+ */
2473
+ publicSharing: zod.z.object({
2474
+ /** Master switch. When false (default), no share links can be issued for this object. */
2475
+ enabled: zod.z.boolean().default(false).describe("Allow records of this object to be published via share link"),
2476
+ /**
2477
+ * Audiences the platform will accept when issuing a link.
2478
+ * - `public` — search engines may index; no token check (rare)
2479
+ * - `link_only` — anyone holding the token (default)
2480
+ * - `signed_in` — token + an authenticated session of any tenant user
2481
+ * - `email` — token + recipient's email matches an allowlist
2482
+ */
2483
+ allowedAudiences: zod.z.array(zod.z.enum(["public", "link_only", "signed_in", "email"])).optional().describe("Audiences callers may select when creating a link"),
2484
+ /** Permission levels callers may grant via a link. Defaults to `['view']`. */
2485
+ allowedPermissions: zod.z.array(zod.z.enum(["view", "comment", "edit"])).optional().describe("Permission levels selectable on the share dialog"),
2486
+ /** Hard cap on requested expiry, in days. Links with `expires_at` further out are rejected. */
2487
+ maxExpiryDays: zod.z.number().int().positive().optional().describe("Reject links with expiry beyond this many days"),
2488
+ /**
2489
+ * Fields stripped from every response served via a share token,
2490
+ * regardless of audience. Use for prompts, raw model output,
2491
+ * internal metadata, PII, etc. The owner's normal API access is
2492
+ * unaffected — redaction is applied only when the request principal
2493
+ * is `kind:'share-link'`.
2494
+ */
2495
+ redactFields: zod.z.array(zod.z.string()).optional().describe("Field names removed from records served via a share token"),
2496
+ /**
2497
+ * Optional CEL/JSONLogic predicate evaluated against the candidate
2498
+ * record when a link is created. When the predicate returns false,
2499
+ * the create call fails with 422 (e.g. "draft records cannot be
2500
+ * shared"). Evaluator is the same one used by sharing rules.
2501
+ */
2502
+ eligibility: zod.z.string().optional().describe("CEL expression that must evaluate to true on the target record")
2503
+ }).optional().describe("Public share-link policy (Notion/Figma-style link sharing)"),
2452
2504
  /** Key Prefix */
2453
2505
  keyPrefix: zod.z.string().max(5).optional().describe('Short prefix for record IDs (e.g., "001" for Account)'),
2454
2506
  /**