@datalayer/core 1.1.60 → 1.2.10

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 (496) hide show
  1. package/README.md +41 -18
  2. package/lib/api/DatalayerApi.d.ts +42 -1
  3. package/lib/api/DatalayerApi.js +90 -3
  4. package/lib/api/constants.d.ts +19 -1
  5. package/lib/api/constants.js +19 -1
  6. package/lib/api/contents/attachments.d.ts +9 -0
  7. package/lib/api/contents/attachments.js +39 -0
  8. package/lib/api/contents/bridges.d.ts +22 -0
  9. package/lib/api/contents/bridges.js +79 -0
  10. package/lib/api/contents/capabilities.d.ts +11 -0
  11. package/lib/api/contents/capabilities.js +21 -0
  12. package/lib/api/contents/cloudStorage.d.ts +31 -0
  13. package/lib/api/contents/cloudStorage.js +89 -0
  14. package/lib/api/contents/dataservers.d.ts +37 -0
  15. package/lib/api/contents/dataservers.js +121 -0
  16. package/lib/api/contents/datasets.d.ts +63 -0
  17. package/lib/api/contents/datasets.js +82 -0
  18. package/lib/api/contents/datasources.d.ts +70 -0
  19. package/lib/api/contents/datasources.js +149 -0
  20. package/lib/api/contents/generated.d.ts +1070 -0
  21. package/lib/api/contents/index.d.ts +16 -0
  22. package/lib/api/contents/index.js +20 -0
  23. package/lib/api/contents/mcp.d.ts +46 -0
  24. package/lib/api/contents/mcp.js +157 -0
  25. package/lib/api/contents/objects.d.ts +31 -0
  26. package/lib/api/contents/objects.js +88 -0
  27. package/lib/api/contents/operations.d.ts +3 -0
  28. package/lib/api/contents/operations.js +19 -0
  29. package/lib/api/contents/runtimeMounts.d.ts +40 -0
  30. package/lib/api/contents/runtimeMounts.js +59 -0
  31. package/lib/api/contents/sandboxUid.d.ts +21 -0
  32. package/lib/api/contents/sandboxUid.js +27 -0
  33. package/lib/api/contents/sources.d.ts +19 -0
  34. package/lib/api/contents/sources.js +119 -0
  35. package/lib/api/contents/sync.d.ts +18 -0
  36. package/lib/api/contents/sync.js +69 -0
  37. package/lib/api/contents/transfers.d.ts +38 -0
  38. package/lib/api/contents/transfers.js +123 -0
  39. package/lib/api/evals/client.d.ts +402 -0
  40. package/lib/api/evals/client.js +359 -0
  41. package/lib/api/evals/index.d.ts +10 -0
  42. package/lib/api/evals/index.js +18 -0
  43. package/lib/api/evals/request.d.ts +43 -0
  44. package/lib/api/evals/request.js +67 -0
  45. package/lib/api/evals/status.d.ts +27 -0
  46. package/lib/api/evals/status.js +122 -0
  47. package/lib/api/evals/types.d.ts +1335 -0
  48. package/lib/api/evals/types.js +5 -0
  49. package/lib/api/iam/connectedAgents.d.ts +68 -0
  50. package/lib/api/iam/connectedAgents.js +87 -0
  51. package/lib/api/iam/identityProviders.d.ts +76 -0
  52. package/lib/api/iam/identityProviders.js +187 -0
  53. package/lib/api/iam/index.d.ts +3 -1
  54. package/lib/api/iam/index.js +3 -1
  55. package/lib/api/iam/mcpAlertRules.d.ts +51 -0
  56. package/lib/api/iam/mcpAlertRules.js +198 -0
  57. package/lib/api/iam/mcpAuditSettings.d.ts +46 -0
  58. package/lib/api/iam/mcpAuditSettings.js +120 -0
  59. package/lib/api/iam/mcpPolicy.d.ts +181 -0
  60. package/lib/api/iam/mcpPolicy.js +168 -0
  61. package/lib/api/iam/organizationTeams.d.ts +13 -0
  62. package/lib/api/iam/organizationTeams.js +43 -0
  63. package/lib/api/iam/profile.d.ts +17 -1
  64. package/lib/api/iam/profile.js +27 -0
  65. package/lib/api/iam/scimTokens.d.ts +79 -0
  66. package/lib/api/iam/scimTokens.js +141 -0
  67. package/lib/api/iam/secrets.js +9 -21
  68. package/lib/api/iam/serviceAgents.d.ts +68 -0
  69. package/lib/api/iam/serviceAgents.js +119 -0
  70. package/lib/api/iam/trials.d.ts +38 -0
  71. package/lib/api/iam/trials.js +66 -0
  72. package/lib/api/index.d.ts +8 -1
  73. package/lib/api/index.js +7 -1
  74. package/lib/api/mcp/activity.d.ts +37 -0
  75. package/lib/api/mcp/activity.js +26 -0
  76. package/lib/api/mcp/alerts.d.ts +25 -0
  77. package/lib/api/mcp/alerts.js +51 -0
  78. package/lib/api/mcp/audit.d.ts +29 -0
  79. package/lib/api/mcp/audit.js +55 -0
  80. package/lib/api/mcp/bindings.d.ts +18 -0
  81. package/lib/api/mcp/bindings.js +42 -0
  82. package/lib/api/mcp/forwarding.d.ts +25 -0
  83. package/lib/api/mcp/forwarding.js +46 -0
  84. package/lib/api/mcp/gateway.d.ts +16 -0
  85. package/lib/api/mcp/gateway.js +70 -0
  86. package/lib/api/mcp/generated.d.ts +22 -0
  87. package/lib/api/mcp/generated.js +213 -0
  88. package/lib/api/mcp/index.d.ts +17 -0
  89. package/lib/api/mcp/index.js +25 -0
  90. package/lib/api/mcp/observability.d.ts +141 -0
  91. package/lib/api/mcp/observability.js +267 -0
  92. package/lib/api/mcp/operations.d.ts +83 -0
  93. package/lib/api/mcp/operations.js +50 -0
  94. package/lib/api/mcp/organizations.d.ts +102 -0
  95. package/lib/api/mcp/organizations.js +46 -0
  96. package/lib/api/mcp/policy.d.ts +9 -0
  97. package/lib/api/mcp/policy.js +23 -0
  98. package/lib/api/mcp/tasks.d.ts +49 -0
  99. package/lib/api/mcp/tasks.js +147 -0
  100. package/lib/api/orchestration/client.d.ts +53 -0
  101. package/lib/api/orchestration/client.js +105 -0
  102. package/lib/api/orchestration/events.d.ts +88 -0
  103. package/lib/api/orchestration/events.js +245 -0
  104. package/lib/api/orchestration/generated.d.ts +693 -0
  105. package/lib/api/orchestration/generated.js +687 -0
  106. package/lib/api/orchestration/index.d.ts +30 -0
  107. package/lib/api/orchestration/index.js +34 -0
  108. package/lib/api/orchestration/lifecycle.d.ts +39 -0
  109. package/lib/api/orchestration/lifecycle.js +57 -0
  110. package/lib/api/orchestration/measures.d.ts +55 -0
  111. package/lib/api/orchestration/measures.js +99 -0
  112. package/lib/api/otel/dashboards.d.ts +56 -0
  113. package/lib/api/otel/dashboards.js +50 -0
  114. package/lib/api/otel/index.d.ts +1 -0
  115. package/lib/api/otel/index.js +1 -0
  116. package/lib/api/otel/metrics.d.ts +16 -0
  117. package/lib/api/otel/metrics.js +15 -0
  118. package/lib/api/scheduler/client.d.ts +32 -0
  119. package/lib/api/scheduler/client.js +42 -0
  120. package/lib/api/scheduler/index.d.ts +8 -0
  121. package/lib/api/scheduler/index.js +16 -0
  122. package/lib/api/scheduler/request.d.ts +28 -0
  123. package/lib/api/scheduler/request.js +50 -0
  124. package/lib/api/scheduler/types.d.ts +88 -0
  125. package/lib/api/scheduler/types.js +5 -0
  126. package/lib/api/spacer/comments.d.ts +97 -0
  127. package/lib/api/spacer/comments.js +45 -0
  128. package/lib/api/spacer/index.d.ts +9 -0
  129. package/lib/api/spacer/index.js +17 -0
  130. package/lib/api/spacer/notebooks.d.ts +33 -0
  131. package/lib/api/spacer/notebooks.js +39 -0
  132. package/lib/api/spacer/request.d.ts +25 -0
  133. package/lib/api/spacer/request.js +46 -0
  134. package/lib/api/spacer/spaces.d.ts +68 -0
  135. package/lib/api/spacer/spaces.js +45 -0
  136. package/lib/api/utils/validation.d.ts +4 -4
  137. package/lib/api/utils/validation.js +10 -7
  138. package/lib/client/auth/index.js +0 -5
  139. package/lib/client/auth/storage.js +0 -5
  140. package/lib/client/auth/strategies.js +0 -5
  141. package/lib/client/base.d.ts +6 -0
  142. package/lib/client/base.js +8 -0
  143. package/lib/client/constants.d.ts +1 -0
  144. package/lib/client/constants.js +1 -0
  145. package/lib/client/index.d.ts +0 -10
  146. package/lib/client/index.js +2 -2
  147. package/lib/client/mixins/ContentsMixin.d.ts +71 -0
  148. package/lib/client/mixins/ContentsMixin.js +157 -0
  149. package/lib/client/mixins/IAMMixin.d.ts +0 -31
  150. package/lib/client/mixins/IAMMixin.js +0 -58
  151. package/lib/components/animation/AnimatedText.d.ts +2 -44
  152. package/lib/components/animation/AnimatedText.js +6 -126
  153. package/lib/components/anonymous/AnonymousKeyExpired.d.ts +56 -0
  154. package/lib/components/anonymous/AnonymousKeyExpired.js +96 -0
  155. package/lib/components/anonymous/AnonymousKeyTimer.d.ts +63 -0
  156. package/lib/components/anonymous/AnonymousKeyTimer.js +140 -0
  157. package/lib/components/anonymous/index.d.ts +7 -0
  158. package/lib/components/anonymous/index.js +15 -0
  159. package/lib/components/auth/SigInAPIKey.d.ts +1 -0
  160. package/lib/components/auth/SigInAPIKey.js +0 -6
  161. package/lib/components/auth/SignIn.d.ts +1 -0
  162. package/lib/components/auth/SignIn.js +0 -4
  163. package/lib/components/auth/SignIn.stories.d.ts +2 -2
  164. package/lib/components/avatars/BoringAvatar.d.ts +1 -1
  165. package/lib/components/avatars/BoringAvatar.stories.d.ts +1 -1
  166. package/lib/components/avatars/DLAvatar.d.ts +1 -1
  167. package/lib/components/avatars/DLAvatar.js +0 -4
  168. package/lib/components/avatars/UserAvatar.d.ts +16 -1
  169. package/lib/components/avatars/UserAvatar.js +15 -13
  170. package/lib/components/avatars/UserProfileAvatar.d.ts +1 -1
  171. package/lib/components/banners/NoAutomationBanner.d.ts +1 -1
  172. package/lib/components/billing/BillingEntitySelect.d.ts +16 -0
  173. package/lib/components/billing/BillingEntitySelect.js +49 -27
  174. package/lib/components/billing/eligibility.d.ts +22 -0
  175. package/lib/components/billing/eligibility.js +27 -0
  176. package/lib/components/billing/index.d.ts +1 -0
  177. package/lib/components/billing/index.js +1 -4
  178. package/lib/components/buttons/DownloadCSVButton.d.ts +1 -1
  179. package/lib/components/buttons/DownloadJsonButton.d.ts +1 -1
  180. package/lib/components/buttons/LongActionButton.d.ts +1 -0
  181. package/lib/components/buttons/LongActionButton.js +0 -4
  182. package/lib/components/buttons/UploadButton.d.ts +1 -0
  183. package/lib/components/buttons/UploadButton.js +0 -4
  184. package/lib/components/checkout/StripeCheckout.d.ts +1 -1
  185. package/lib/components/collaboration/LiveEditorCollaborators.d.ts +36 -0
  186. package/lib/components/collaboration/LiveEditorCollaborators.js +88 -53
  187. package/lib/components/collaboration/index.js +0 -4
  188. package/lib/components/confetti/ConfettiSuccess.d.ts +1 -1
  189. package/lib/components/contents/ContentSourceCard.d.ts +8 -0
  190. package/lib/components/contents/ContentSourceCard.js +23 -0
  191. package/lib/components/contents/HomeFolderObjectsBrowser.d.ts +10 -0
  192. package/lib/components/contents/HomeFolderObjectsBrowser.js +148 -0
  193. package/lib/components/contents/index.d.ts +2 -0
  194. package/lib/components/contents/index.js +6 -0
  195. package/lib/components/context/OrganizationSelect.d.ts +1 -1
  196. package/lib/components/display/AvatarSkeleton.d.ts +1 -1
  197. package/lib/components/display/BusyDots.d.ts +1 -1
  198. package/lib/components/display/CenteredSpinner.d.ts +1 -1
  199. package/lib/components/display/CodePreview.d.ts +1 -1
  200. package/lib/components/display/DatalayerBox.d.ts +7 -3
  201. package/lib/components/display/DatalayerBox.js +7 -7
  202. package/lib/components/display/HorizontalCenter.d.ts +1 -1
  203. package/lib/components/display/JupyterDialog.d.ts +1 -0
  204. package/lib/components/display/JupyterDialog.js +1 -7
  205. package/lib/components/display/Markdown.d.ts +1 -0
  206. package/lib/components/display/NavLink.js +3 -2
  207. package/lib/components/display/NotebookSkeleton.d.ts +1 -1
  208. package/lib/components/display/Placeholder.d.ts +1 -1
  209. package/lib/components/display/ToTopBranded.d.ts +1 -1
  210. package/lib/components/echarts/EChartsReact.d.ts +1 -1
  211. package/lib/components/flashes/FlashClosable.d.ts +1 -0
  212. package/lib/components/flashes/FlashClosable.js +0 -4
  213. package/lib/components/flashes/FlashGuest.d.ts +1 -1
  214. package/lib/components/flashes/FlashSurveys.d.ts +1 -1
  215. package/lib/components/flashes/FlashUnauthorized.d.ts +1 -0
  216. package/lib/components/flashes/FlashUnauthorized.js +0 -6
  217. package/lib/components/flashes/surveys/Survey2025_1.d.ts +1 -1
  218. package/lib/components/iam/ExternalTokenSilentLogin.d.ts +1 -1
  219. package/lib/components/index.d.ts +2 -0
  220. package/lib/components/index.js +2 -0
  221. package/lib/components/labels/StatusLabels.d.ts +2 -9
  222. package/lib/components/labels/StatusLabels.js +2 -26
  223. package/lib/components/labels/VisibilityLabel.d.ts +1 -1
  224. package/lib/components/landings/StepBlock.d.ts +1 -1
  225. package/lib/components/mcp/ClientBadge.d.ts +41 -0
  226. package/lib/components/mcp/ClientBadge.js +33 -0
  227. package/lib/components/mcp/McpErrorBlankslate.d.ts +21 -0
  228. package/lib/components/mcp/McpErrorBlankslate.js +17 -0
  229. package/lib/components/mcp/ScopeList.d.ts +28 -0
  230. package/lib/components/mcp/ScopeList.js +14 -0
  231. package/lib/components/mcp/index.d.ts +10 -0
  232. package/lib/components/mcp/index.js +18 -0
  233. package/lib/components/navbar/NavigationVisbilityObserver.d.ts +2 -1
  234. package/lib/components/navbar/SubdomainNavBar.d.ts +10 -5
  235. package/lib/components/navbar/SubdomainNavBar.js +2 -1
  236. package/lib/components/notebooks/JupyterNotebook.d.ts +1 -1
  237. package/lib/components/notebooks/JupyterNotebookToolbar.d.ts +1 -1
  238. package/lib/components/principal/PrincipalAppearance.d.ts +22 -42
  239. package/lib/components/principal/PrincipalAppearance.js +232 -182
  240. package/lib/components/principal/PrincipalAvatar.d.ts +9 -1
  241. package/lib/components/principal/PrincipalAvatar.js +18 -10
  242. package/lib/components/principal/PrincipalBadge.d.ts +1 -1
  243. package/lib/components/principal/PrincipalBanner.d.ts +1 -1
  244. package/lib/components/principal/PrincipalDetailsOverlay.d.ts +38 -1
  245. package/lib/components/principal/PrincipalDetailsOverlay.js +64 -33
  246. package/lib/components/principal/PrincipalHoverCard.d.ts +31 -0
  247. package/lib/components/principal/PrincipalHoverCard.js +52 -0
  248. package/lib/components/principal/PrincipalSwitcherMenu.d.ts +1 -0
  249. package/lib/components/principal/PrincipalSwitcherMenu.js +5 -14
  250. package/lib/components/principal/index.d.ts +2 -1
  251. package/lib/components/principal/index.js +2 -1
  252. package/lib/components/progress/ConsumptionBar.d.ts +1 -0
  253. package/lib/components/progress/ConsumptionBar.js +0 -4
  254. package/lib/components/progress/ProgressRing.d.ts +1 -0
  255. package/lib/components/progress/SpinnerBar.d.ts +1 -1
  256. package/lib/components/progress/Timer.d.ts +1 -0
  257. package/lib/components/progress/Timer.js +0 -4
  258. package/lib/components/screencapture/Screencapture.js +46 -3
  259. package/lib/components/screencapture/ScreencaptureButton.d.ts +1 -1
  260. package/lib/components/sharing/ShareAccessComponent.d.ts +58 -3
  261. package/lib/components/sharing/ShareAccessComponent.js +143 -98
  262. package/lib/components/sharing/SharingEditor.d.ts +21 -0
  263. package/lib/components/sharing/SharingEditor.js +9 -28
  264. package/lib/components/sharing/index.d.ts +1 -0
  265. package/lib/components/sharing/index.js +1 -0
  266. package/lib/components/sharing/sandboxSharing.d.ts +26 -0
  267. package/lib/components/sharing/sandboxSharing.js +41 -0
  268. package/lib/components/spaces/SpaceDetailsOverlay.d.ts +39 -0
  269. package/lib/components/spaces/SpaceDetailsOverlay.js +80 -0
  270. package/lib/components/spaces/SpaceDisplay.d.ts +38 -0
  271. package/lib/components/spaces/SpaceDisplay.js +92 -0
  272. package/lib/components/spaces/index.d.ts +4 -0
  273. package/lib/components/spaces/index.js +7 -0
  274. package/lib/components/spaces/spaceDisplayModel.d.ts +93 -0
  275. package/lib/components/spaces/spaceDisplayModel.js +170 -0
  276. package/lib/components/sparklines/Sparklines.js +3 -4
  277. package/lib/components/sparklines/index.js +0 -4
  278. package/lib/components/storage/ContentsBrowser.d.ts +25 -1
  279. package/lib/components/storage/ContentsBrowser.js +145 -52
  280. package/lib/components/storage/ContentsBrowserMock.d.ts +3 -0
  281. package/lib/components/storage/ContentsBrowserMock.js +75 -0
  282. package/lib/components/storage/ContentsItems.d.ts +2 -1
  283. package/lib/components/storage/ContentsItems.js +0 -4
  284. package/lib/components/storage/ContentsTable.d.ts +50 -0
  285. package/lib/components/storage/ContentsTable.js +134 -0
  286. package/lib/components/storage/HomeFolderDrive.d.ts +71 -0
  287. package/lib/components/storage/HomeFolderDrive.js +248 -0
  288. package/lib/components/storage/index.d.ts +2 -0
  289. package/lib/components/storage/index.js +2 -0
  290. package/lib/components/students/StudentItemStatus.d.ts +1 -1
  291. package/lib/components/students/StudentResultCircle.d.ts +1 -1
  292. package/lib/components/subnav/SubNav.d.ts +5 -5
  293. package/lib/components/subnav/SubNav.js +11 -9
  294. package/lib/components/tables/DataTable.d.ts +1 -1
  295. package/lib/components/text-reveal/TextRevealAnimation.d.ts +2 -2
  296. package/lib/components/text-reveal/useTextRevealAnimationLines.d.ts +1 -1
  297. package/lib/components/time/LiveRelativeTime.d.ts +1 -0
  298. package/lib/components/time/LiveRelativeTime.js +0 -8
  299. package/lib/components/time/index.js +0 -4
  300. package/lib/components/timeline/Timeline.d.ts +1 -1
  301. package/lib/components/timeline/index.js +0 -4
  302. package/lib/components/users/PeerIndicator.d.ts +1 -0
  303. package/lib/components/users/PeerIndicator.js +0 -4
  304. package/lib/config/Configuration.d.ts +15 -17
  305. package/lib/config/Configuration.js +7 -0
  306. package/lib/hooks/cacheConverters.d.ts +0 -7
  307. package/lib/hooks/cacheConverters.js +0 -25
  308. package/lib/hooks/index.d.ts +3 -0
  309. package/lib/hooks/index.js +3 -0
  310. package/lib/hooks/layouts/LayoutBackdrop.d.ts +1 -1
  311. package/lib/hooks/layouts/LayoutScreencapture.d.ts +1 -1
  312. package/lib/hooks/useBackdrop.d.ts +1 -1
  313. package/lib/hooks/useBackdropJupyterLab.d.ts +3 -2
  314. package/lib/hooks/useBackdropJupyterLab.js +0 -4
  315. package/lib/hooks/useBillingEntityStore.js +3 -0
  316. package/lib/hooks/useCache.d.ts +478 -130
  317. package/lib/hooks/useCache.js +1580 -676
  318. package/lib/hooks/useContainsFocus.d.ts +1 -1
  319. package/lib/hooks/useContents.d.ts +334 -0
  320. package/lib/hooks/useContents.js +1033 -0
  321. package/lib/hooks/useFocusTrap.d.ts +4 -4
  322. package/lib/hooks/useFocusTrap.js +1 -1
  323. package/lib/hooks/useMcp.d.ts +315 -0
  324. package/lib/hooks/useMcp.js +891 -0
  325. package/lib/hooks/useMobile.js +0 -5
  326. package/lib/hooks/useNavigate.d.ts +41 -3
  327. package/lib/hooks/useNavigate.js +106 -52
  328. package/lib/hooks/usePrincipalCacheStore.js +3 -0
  329. package/lib/hooks/usePrincipalStore.js +3 -0
  330. package/lib/hooks/useProjectStore.d.ts +3 -3
  331. package/lib/hooks/useProjectStore.js +4 -4
  332. package/lib/hooks/useRef.d.ts +1 -1
  333. package/lib/hooks/useRef.js +3 -0
  334. package/lib/hooks/useScreencapture.d.ts +2 -1
  335. package/lib/hooks/useScreencapture.js +0 -4
  336. package/lib/hooks/useSpaceCacheStore.d.ts +50 -0
  337. package/lib/hooks/useSpaceCacheStore.js +85 -0
  338. package/lib/hooks/useToast.js +0 -4
  339. package/lib/hooks/useVisibilityObserver.d.ts +1 -1
  340. package/lib/index.d.ts +4 -1
  341. package/lib/index.js +3 -1
  342. package/lib/mocks/components/FlashMock.d.ts +1 -1
  343. package/lib/mocks/views/ActionMenuMock.d.ts +1 -1
  344. package/lib/mocks/views/ChartMock.d.ts +1 -1
  345. package/lib/mocks/views/DashboardMock.d.ts +1 -1
  346. package/lib/mocks/views/FormMock.d.ts +1 -1
  347. package/lib/mocks/views/TableMock.d.ts +1 -1
  348. package/lib/mocks/views/WipMock.d.ts +1 -1
  349. package/lib/models/Credits.d.ts +16 -0
  350. package/lib/models/Credits.js +22 -0
  351. package/lib/models/CreditsDTO.d.ts +6 -5
  352. package/lib/models/CreditsDTO.js +7 -5
  353. package/lib/models/McpAuditEvent.d.ts +52 -0
  354. package/lib/models/McpAuditEvent.js +5 -0
  355. package/lib/models/McpBinding.d.ts +57 -0
  356. package/lib/models/McpBinding.js +5 -0
  357. package/lib/models/McpPolicy.d.ts +77 -0
  358. package/lib/models/McpPolicy.js +5 -0
  359. package/lib/models/McpTask.d.ts +94 -0
  360. package/lib/models/McpTask.js +7 -0
  361. package/lib/models/Organization.d.ts +69 -0
  362. package/lib/models/Organization.js +96 -0
  363. package/lib/models/Secret.d.ts +1 -2
  364. package/lib/models/Secret.js +2 -18
  365. package/lib/models/StartedBy.d.ts +91 -0
  366. package/lib/models/StartedBy.js +117 -0
  367. package/lib/models/Team.d.ts +2 -0
  368. package/lib/models/Team.js +2 -0
  369. package/lib/models/User.d.ts +4 -0
  370. package/lib/models/User.js +3 -0
  371. package/lib/models/UserDTO.js +4 -2
  372. package/lib/models/UserSettings.d.ts +13 -0
  373. package/lib/models/UserSettings.js +9 -0
  374. package/lib/models/contents/__fixtures__/solr-codec.json +57 -0
  375. package/lib/models/contents/__fixtures__/v1-contracts.json +194 -0
  376. package/lib/models/contents/fieldCase.d.ts +8 -0
  377. package/lib/models/contents/fieldCase.js +37 -0
  378. package/lib/models/contents/index.d.ts +2 -0
  379. package/lib/models/contents/index.js +6 -0
  380. package/lib/models/contents/permissions.d.ts +16 -0
  381. package/lib/models/contents/permissions.js +34 -0
  382. package/lib/models/index.d.ts +5 -1
  383. package/lib/models/index.js +5 -1
  384. package/lib/navigation/components.js +2 -3
  385. package/lib/routes/publicPaths.js +4 -0
  386. package/lib/state/index.d.ts +1 -0
  387. package/lib/state/index.js +1 -0
  388. package/lib/state/sessionEnd.d.ts +55 -0
  389. package/lib/state/sessionEnd.js +162 -0
  390. package/lib/state/substates/CoreState.d.ts +15 -7
  391. package/lib/state/substates/CoreState.js +21 -17
  392. package/lib/state/substates/IAMState.d.ts +1 -1
  393. package/lib/state/substates/IAMState.js +12 -5
  394. package/lib/state/substates/LayoutState.js +12 -0
  395. package/lib/state/substates/ProfileState.d.ts +1 -0
  396. package/lib/state/substates/ProfileState.js +1 -4
  397. package/lib/state/substates/index.d.ts +0 -1
  398. package/lib/state/substates/index.js +0 -1
  399. package/lib/utils/Jwt.d.ts +26 -0
  400. package/lib/utils/Jwt.js +37 -0
  401. package/lib/utils/Lazy.d.ts +20 -0
  402. package/lib/utils/Lazy.js +32 -6
  403. package/lib/utils/Screencapture.js +3 -0
  404. package/lib/utils/WithSuspense.d.ts +11 -1
  405. package/lib/utils/WithSuspense.js +11 -1
  406. package/lib/views/api-keys/APIKeyEdit.d.ts +1 -1
  407. package/lib/views/api-keys/APIKeyNew.d.ts +1 -1
  408. package/lib/views/api-keys/APIKeys.d.ts +1 -1
  409. package/lib/views/api-keys/APIKeys.js +30 -4
  410. package/lib/views/api-keys/APIKeysStandalone.d.ts +5 -1
  411. package/lib/views/api-keys/APIKeysStandalone.js +2 -2
  412. package/lib/views/datasources/DatasourceDetail.d.ts +12 -5
  413. package/lib/views/datasources/DatasourceDetail.js +80 -110
  414. package/lib/views/datasources/DatasourceNew.d.ts +14 -8
  415. package/lib/views/datasources/DatasourceNew.js +129 -118
  416. package/lib/views/datasources/Datasources.d.ts +39 -7
  417. package/lib/views/datasources/Datasources.js +95 -40
  418. package/lib/views/datasources/DatasourcesMock.d.ts +3 -0
  419. package/lib/views/datasources/DatasourcesMock.js +57 -0
  420. package/lib/views/iam/SignInSimple.d.ts +12 -0
  421. package/lib/views/iam/SignInSimple.js +4 -4
  422. package/lib/views/index.d.ts +1 -0
  423. package/lib/views/index.js +1 -0
  424. package/lib/views/mcp/AdmittedClients.d.ts +44 -0
  425. package/lib/views/mcp/AdmittedClients.js +59 -0
  426. package/lib/views/mcp/AlertDestinations.d.ts +34 -0
  427. package/lib/views/mcp/AlertDestinations.js +75 -0
  428. package/lib/views/mcp/AlertRules.d.ts +32 -0
  429. package/lib/views/mcp/AlertRules.js +245 -0
  430. package/lib/views/mcp/ApprovalQueue.d.ts +66 -0
  431. package/lib/views/mcp/ApprovalQueue.js +95 -0
  432. package/lib/views/mcp/AuditLog.d.ts +42 -0
  433. package/lib/views/mcp/AuditLog.js +144 -0
  434. package/lib/views/mcp/ConnectedAgents.d.ts +34 -0
  435. package/lib/views/mcp/ConnectedAgents.js +135 -0
  436. package/lib/views/mcp/EnterpriseConsole.d.ts +74 -0
  437. package/lib/views/mcp/EnterpriseConsole.js +195 -0
  438. package/lib/views/mcp/IdentityProviders.d.ts +33 -0
  439. package/lib/views/mcp/IdentityProviders.js +299 -0
  440. package/lib/views/mcp/McpDashboard.d.ts +50 -0
  441. package/lib/views/mcp/McpDashboard.js +430 -0
  442. package/lib/views/mcp/McpHome.d.ts +92 -0
  443. package/lib/views/mcp/McpHome.js +153 -0
  444. package/lib/views/mcp/McpObservability.d.ts +79 -0
  445. package/lib/views/mcp/McpObservability.js +236 -0
  446. package/lib/views/mcp/NotebookRuns.d.ts +39 -0
  447. package/lib/views/mcp/NotebookRuns.js +44 -0
  448. package/lib/views/mcp/OrganizationPolicy.d.ts +45 -0
  449. package/lib/views/mcp/OrganizationPolicy.js +108 -0
  450. package/lib/views/mcp/OrganizationUsage.d.ts +69 -0
  451. package/lib/views/mcp/OrganizationUsage.js +113 -0
  452. package/lib/views/mcp/PersonalPolicy.d.ts +54 -0
  453. package/lib/views/mcp/PersonalPolicy.js +126 -0
  454. package/lib/views/mcp/Policies.d.ts +53 -0
  455. package/lib/views/mcp/Policies.js +210 -0
  456. package/lib/views/mcp/PolicyForm.d.ts +83 -0
  457. package/lib/views/mcp/PolicyForm.js +113 -0
  458. package/lib/views/mcp/PolicyHistory.d.ts +58 -0
  459. package/lib/views/mcp/PolicyHistory.js +75 -0
  460. package/lib/views/mcp/RunDetail.d.ts +87 -0
  461. package/lib/views/mcp/RunDetail.js +186 -0
  462. package/lib/views/mcp/ScimProvisioning.d.ts +54 -0
  463. package/lib/views/mcp/ScimProvisioning.js +173 -0
  464. package/lib/views/mcp/ServiceAgents.d.ts +46 -0
  465. package/lib/views/mcp/ServiceAgents.js +194 -0
  466. package/lib/views/mcp/TeamPolicies.d.ts +33 -0
  467. package/lib/views/mcp/TeamPolicies.js +159 -0
  468. package/lib/views/mcp/ToolAccess.d.ts +60 -0
  469. package/lib/views/mcp/ToolAccess.js +101 -0
  470. package/lib/views/mcp/TraceTimeline.d.ts +81 -0
  471. package/lib/views/mcp/TraceTimeline.js +132 -0
  472. package/lib/views/mcp/format.d.ts +25 -0
  473. package/lib/views/mcp/format.js +77 -0
  474. package/lib/views/mcp/index.d.ts +34 -0
  475. package/lib/views/mcp/index.js +42 -0
  476. package/lib/views/mcp/types.d.ts +66 -0
  477. package/lib/views/mcp/types.js +5 -0
  478. package/lib/views/otel/simpleAuthStore.js +3 -0
  479. package/lib/views/secrets/SecretEdit.d.ts +5 -1
  480. package/lib/views/secrets/SecretEdit.js +5 -4
  481. package/lib/views/secrets/SecretNew.d.ts +11 -1
  482. package/lib/views/secrets/SecretNew.js +7 -3
  483. package/lib/views/secrets/Secrets.d.ts +12 -1
  484. package/lib/views/secrets/Secrets.js +2 -2
  485. package/package.json +269 -260
  486. package/scripts/generate-contents-types.py +169 -0
  487. package/scripts/generate-mcp-types.py +233 -0
  488. package/scripts/generate-orchestration-types.py +920 -0
  489. package/lib/api/iam/datasources.d.ts +0 -86
  490. package/lib/api/iam/datasources.js +0 -185
  491. package/lib/components/toolbars/index.d.ts +0 -1
  492. package/lib/models/Datasource.d.ts +0 -181
  493. package/lib/models/Datasource.js +0 -154
  494. package/lib/state/substates/DatasourceState.d.ts +0 -11
  495. package/lib/state/substates/DatasourceState.js +0 -16
  496. /package/lib/{components/toolbars/index.js → api/contents/generated.js} +0 -0
@@ -0,0 +1,1070 @@
1
+ export interface AttachmentCreate {
2
+ cleanupPolicy?: 'revoke' | 'remove-materialization' | 'retain-source';
3
+ delivery?: 'mount' | 'local-bridge' | 'materialize' | 'client' | 'environment';
4
+ mode?: 'ro' | 'rw';
5
+ mountPath?: string | null;
6
+ required?: boolean;
7
+ revisionUid?: string | null;
8
+ sandboxProvider: string;
9
+ sandboxUid: string;
10
+ sourceUid: string;
11
+ }
12
+ export interface AttachmentError {
13
+ code: StableErrorCode;
14
+ message: string;
15
+ retryable: boolean;
16
+ }
17
+ export interface AttachmentLimits {
18
+ bytes?: number | null;
19
+ queries?: number | null;
20
+ rows?: number | null;
21
+ }
22
+ export interface AttachmentList {
23
+ items: Array<ContentAttachment>;
24
+ }
25
+ export interface AttachmentPrepare {
26
+ expiresAt?: string | null;
27
+ tokenAudience?: string | null;
28
+ }
29
+ export type AttachmentStatus = 'requested' | 'preparing' | 'ready' | 'degraded' | 'revoking' | 'revoked' | 'failed';
30
+ export interface AttachmentStatusUpdate {
31
+ capabilities?: Array<Capability>;
32
+ error?: AttachmentError | null;
33
+ providerResourceId?: string | null;
34
+ status: 'ready' | 'degraded' | 'failed' | 'revoked';
35
+ }
36
+ export interface Body_write_part_api_contents_v1_published_tables__relation__parts__part__put {
37
+ file: string;
38
+ }
39
+ export interface BridgeCreate {
40
+ exclusions?: Array<string>;
41
+ localRootFingerprint: string;
42
+ }
43
+ export interface BridgeHeartbeat {
44
+ bridge: BridgeSession;
45
+ clientToken: string;
46
+ }
47
+ export interface BridgeList {
48
+ items: Array<BridgeSession>;
49
+ }
50
+ export interface BridgeMountGrant {
51
+ bridgeUid: string;
52
+ expiresAt: string;
53
+ mode: 'ro' | 'rw';
54
+ mountPath: string;
55
+ mountToken: string;
56
+ relayUrl: string;
57
+ sessionKey: string;
58
+ }
59
+ export interface BridgeOpened {
60
+ bridge: BridgeSession;
61
+ clientToken: string;
62
+ relayUrl: string;
63
+ sessionKey: string;
64
+ }
65
+ export interface BridgeSession {
66
+ attachmentUid: string;
67
+ clientSeenAt?: string | null;
68
+ createdAt: string;
69
+ exclusions?: Array<string>;
70
+ expiresAt: string;
71
+ localRootFingerprint: string;
72
+ mode: 'ro' | 'rw';
73
+ mountPath: string;
74
+ mountSeenAt?: string | null;
75
+ ownerUid: string;
76
+ revokedAt?: string | null;
77
+ sandboxUid: string;
78
+ state: 'pending' | 'connected' | 'reconnecting' | 'disconnected' | 'revoked' | 'expired';
79
+ uid: string;
80
+ updatedAt: string;
81
+ }
82
+ export interface BridgeStateReport {
83
+ role: 'client' | 'mount';
84
+ state: 'connected' | 'reconnecting' | 'disconnected';
85
+ }
86
+ export interface CallerResponse {
87
+ roles?: Array<string>;
88
+ uid?: string | number | null;
89
+ }
90
+ export type Capability = 'browse' | 'transfer' | 'mount' | 'query' | 'materialize' | 'sync' | 'local-bridge-mount';
91
+ export interface CapabilityTicket {
92
+ expiresAt: string;
93
+ flightEndpoint?: string | null;
94
+ httpsFallbackUrl: string;
95
+ ticket: string;
96
+ }
97
+ export interface CapabilityTicketClaims {
98
+ actorUid: string;
99
+ exp: number;
100
+ jti: string;
101
+ limits: QueryLimits;
102
+ operation: 'get';
103
+ policyVersion: string;
104
+ queryUid: string;
105
+ sandboxUid?: string | null;
106
+ sourceUid: string;
107
+ }
108
+ export interface CapabilityTicketMint {
109
+ expiresIn?: number | null;
110
+ queryUid: string;
111
+ sandboxUid: string;
112
+ }
113
+ export interface CapabilityTicketRequest {
114
+ expiresIn?: number | null;
115
+ sandboxUid?: string | null;
116
+ }
117
+ export interface CatalogSource {
118
+ permissions: EffectivePermissions;
119
+ source: ContentSource;
120
+ }
121
+ export interface CertificateAuthorityView {
122
+ caCertificate: string;
123
+ ephemeral: boolean;
124
+ }
125
+ export interface CertificateSigningRequest {
126
+ csr: string;
127
+ }
128
+ export interface CloudObjectList {
129
+ items: Array<CloudObjectView>;
130
+ nextCursor?: string | null;
131
+ }
132
+ export interface CloudObjectView {
133
+ etag?: string | null;
134
+ isDirectory: boolean;
135
+ modifiedAt?: string | null;
136
+ path: string;
137
+ size: number;
138
+ }
139
+ export interface CloudStorageConfiguration {
140
+ accessPreference?: 'automatic' | 'mount' | 'python' | 'object-client';
141
+ bucketOrContainer: string;
142
+ cachePolicy?: string | null;
143
+ credentialUid?: string | null;
144
+ endpoint?: string | null;
145
+ expectedConsistency?: string | null;
146
+ kind: 'cloud-storage';
147
+ mountImplementation?: string | null;
148
+ mountRoleArn?: string | null;
149
+ mountSessionSeconds?: number;
150
+ origin?: 'datalayer-shared' | 'environment' | 'user';
151
+ prefix?: string;
152
+ provider: 's3' | 'gcs' | 'r2' | 'azure-blob' | 's3-compatible' | 'datalayer-shared-fs';
153
+ pythonImplementation?: string | null;
154
+ region?: string | null;
155
+ }
156
+ export interface CompletePublication {
157
+ liveServerUid?: string | null;
158
+ }
159
+ export interface ConflictResolution {
160
+ use: 'local' | 'remote' | 'keep-both';
161
+ }
162
+ export interface ConnectionTest {
163
+ detail: string;
164
+ ok: boolean;
165
+ provider: string;
166
+ }
167
+ export interface ContentAttachment {
168
+ accessMode?: 'mount' | 'python' | 'object-client' | null;
169
+ capabilities?: Array<Capability>;
170
+ cleanupPolicy?: 'revoke' | 'remove-materialization' | 'retain-source';
171
+ createdAt: string;
172
+ delivery: 'mount' | 'local-bridge' | 'materialize' | 'client' | 'environment';
173
+ error?: AttachmentError | null;
174
+ expiresAt?: string | null;
175
+ fallbackReason?: string | null;
176
+ filesystemPrimitives?: Array<'list' | 'stat' | 'read' | 'write' | 'mkdir' | 'remove' | 'upload' | 'download'>;
177
+ lastSeenAt?: string | null;
178
+ limits?: AttachmentLimits;
179
+ mode: 'ro' | 'rw';
180
+ mountPath?: string | null;
181
+ providerResourceId?: string | null;
182
+ readyAt?: string | null;
183
+ required?: boolean;
184
+ revisionUid?: string | null;
185
+ revokedAt?: string | null;
186
+ sandboxProvider: string;
187
+ sandboxUid: string;
188
+ sourcePath?: string | null;
189
+ sourceUid: string;
190
+ status: AttachmentStatus;
191
+ tokenAudience?: string | null;
192
+ uid: string;
193
+ }
194
+ export interface ContentAttachmentManifest {
195
+ attachments: Array<ContentAttachment>;
196
+ contractVersion: 'v1';
197
+ generatedAt: string;
198
+ sandboxProvider: string;
199
+ sandboxUid: string;
200
+ }
201
+ export interface ContentObject {
202
+ checksum?: string | null;
203
+ checksumAlgorithm?: string | null;
204
+ createdAt: string;
205
+ createdByUid: string;
206
+ currentVersionUid?: string | null;
207
+ deleted: boolean;
208
+ kind: 'file' | 'folder';
209
+ mediaType: string;
210
+ path: string;
211
+ size: number;
212
+ sourceUid: string;
213
+ uid: string;
214
+ updatedAt: string;
215
+ }
216
+ export interface ContentObjectVersion {
217
+ checksum?: string | null;
218
+ checksumAlgorithm?: string | null;
219
+ createdAt: string;
220
+ createdByUid: string;
221
+ deleted: boolean;
222
+ mediaType: string;
223
+ objectUid: string;
224
+ path: string;
225
+ provenance: Record<string, unknown>;
226
+ size: number;
227
+ sourceUid: string;
228
+ uid: string;
229
+ }
230
+ export interface ContentSource {
231
+ capabilities?: Array<Capability>;
232
+ configuration: FilesConfiguration | DatasetConfiguration | VolumeConfiguration | CloudStorageConfiguration | DatasourceConfiguration | DataServerConfiguration | McpConfiguration | EnvironmentConfiguration;
233
+ contractVersion: 'v1';
234
+ createdAt: string;
235
+ credentialUid?: string | null;
236
+ description?: string | null;
237
+ kind: 'files' | 'dataset' | 'volume' | 'cloud-storage' | 'datasource' | 'data-server' | 'mcp' | 'environment';
238
+ name: string;
239
+ principalKind: PrincipalKind;
240
+ principalUid: string;
241
+ spaceUid?: string | null;
242
+ status: SourceStatus;
243
+ uid: string;
244
+ updatedAt: string;
245
+ }
246
+ export interface ContentSourceCreate {
247
+ capabilities?: Array<Capability>;
248
+ configuration: FilesConfiguration | DatasetConfiguration | VolumeConfiguration | CloudStorageConfiguration | DatasourceConfiguration | DataServerConfiguration | McpConfiguration | EnvironmentConfiguration;
249
+ credentialUid?: string | null;
250
+ description?: string | null;
251
+ kind: 'files' | 'dataset' | 'volume' | 'cloud-storage' | 'datasource' | 'data-server' | 'mcp' | 'environment';
252
+ name: string;
253
+ principalKind?: PrincipalKind | null;
254
+ principalUid?: string | null;
255
+ spaceUid?: string | null;
256
+ }
257
+ export interface ContentSourceUpdate {
258
+ capabilities?: Array<Capability> | null;
259
+ configuration?: FilesConfiguration | DatasetConfiguration | VolumeConfiguration | CloudStorageConfiguration | DatasourceConfiguration | DataServerConfiguration | McpConfiguration | EnvironmentConfiguration | null;
260
+ credentialUid?: string | null;
261
+ description?: string | null;
262
+ name?: string | null;
263
+ status?: SourceStatus | null;
264
+ }
265
+ export interface ContentsCapabilities {
266
+ countsTruncated: boolean;
267
+ operations: Array<OperationCapability>;
268
+ sourceKinds: Array<SourceKindCapability>;
269
+ }
270
+ export interface CredentialDiagnostics {
271
+ credentialName?: string | null;
272
+ credentialUid: string | null;
273
+ detail: string;
274
+ referenced: boolean;
275
+ resolvable: boolean;
276
+ sourceUid: string;
277
+ }
278
+ export interface CredentialRotation {
279
+ credentialUid: string;
280
+ }
281
+ export interface DataServerConfiguration {
282
+ connectors?: Array<DataServerConnector>;
283
+ identityExpiresAt?: string | null;
284
+ identitySerial?: string | null;
285
+ kind: 'data-server';
286
+ lastHeartbeatAt?: string | null;
287
+ leaseSeconds?: number | null;
288
+ managed?: boolean;
289
+ mtlsIssuer: string;
290
+ policyVersion: string;
291
+ previousIdentitySerial?: string | null;
292
+ registrationIdentity: string;
293
+ state?: 'registering' | 'ready' | 'degraded' | 'unavailable' | 'draining' | 'revoked';
294
+ version?: string | null;
295
+ }
296
+ export interface DataServerConnectivity {
297
+ detail: string;
298
+ flight: FlightConnectivity;
299
+ httpsFallback: HttpsConnectivity;
300
+ ok: boolean;
301
+ }
302
+ export interface DataServerConnector {
303
+ connectorType: 'athena' | 'bigquery' | 'sql' | 'table' | 'live';
304
+ name?: string | null;
305
+ operations?: Array<'select' | 'describe' | 'list'>;
306
+ policyVersion: string;
307
+ }
308
+ export interface DataServerHeartbeat {
309
+ lastHeartbeatAt: string;
310
+ leaseSeconds: number;
311
+ publishedConnectors?: Array<Record<string, unknown>>;
312
+ state: 'registering' | 'ready' | 'degraded' | 'unavailable' | 'draining' | 'revoked';
313
+ }
314
+ export interface DataServerHeartbeatRequest {
315
+ connectors?: Array<DataServerConnector>;
316
+ load?: Record<string, unknown>;
317
+ }
318
+ export interface DataServerJob {
319
+ connector?: string | null;
320
+ connectorType: 'athena' | 'bigquery' | 'sql' | 'table' | 'live';
321
+ credentialRef?: string | null;
322
+ limits: QueryLimits;
323
+ policyVersion: string;
324
+ queryUid: string;
325
+ sql: string;
326
+ }
327
+ export interface DataServerJobFailure {
328
+ code: string;
329
+ message: string;
330
+ }
331
+ export interface DataServerJobs {
332
+ cancel: Array<string>;
333
+ jobs: Array<DataServerJob>;
334
+ }
335
+ export interface DataServerRegister {
336
+ connectors?: Array<DataServerConnector>;
337
+ registrationIdentity: string;
338
+ version: string;
339
+ }
340
+ export interface DataServerRegistered {
341
+ jobsUrl: string;
342
+ registration: DataServerRegistration;
343
+ }
344
+ export interface DataServerRegistration {
345
+ connectors: Array<DataServerConnector>;
346
+ identitySerial?: string | null;
347
+ identitySource: 'certificate' | 'body';
348
+ lastHeartbeatAt?: string | null;
349
+ leaseSeconds: number;
350
+ policyVersion: string;
351
+ registeredAt: string;
352
+ registrationIdentity: string;
353
+ sourceUid: string;
354
+ state: 'registering' | 'ready' | 'degraded' | 'unavailable' | 'draining' | 'revoked';
355
+ uid: string;
356
+ version?: string | null;
357
+ }
358
+ export interface DataServerStatus {
359
+ connectors: Array<DataServerConnector>;
360
+ identityExpiresAt?: string | null;
361
+ identitySerial?: string | null;
362
+ lastHeartbeatAt?: string | null;
363
+ leaseSeconds: number;
364
+ queueDepth: number;
365
+ state: 'registering' | 'ready' | 'degraded' | 'unavailable' | 'draining' | 'revoked';
366
+ }
367
+ export interface DatasetConfiguration {
368
+ currentRevisionUid?: string | null;
369
+ kind: 'dataset';
370
+ license?: string | null;
371
+ publicationEligible?: boolean;
372
+ schemaNotes?: string | null;
373
+ tags?: Array<string>;
374
+ }
375
+ export interface DatasetPublication {
376
+ actorUid: string;
377
+ createdAt: string;
378
+ description?: string | null;
379
+ fileCount: number;
380
+ license?: string | null;
381
+ manifestChecksum: string;
382
+ name: string;
383
+ ownerUid: string;
384
+ revisionUid: string;
385
+ sourceUid: string;
386
+ status: string;
387
+ tags?: Array<string>;
388
+ totalSize: number;
389
+ uid: string;
390
+ unpublishedAt?: string | null;
391
+ unpublishedBy?: string | null;
392
+ }
393
+ export interface DatasetPublicationCreate {
394
+ revisionUid: string;
395
+ }
396
+ export interface DatasetPublicationList {
397
+ items: Array<DatasetPublication>;
398
+ }
399
+ export interface DatasetRevision {
400
+ actorUid: string;
401
+ createdAt: string;
402
+ fileCount: number;
403
+ files?: Array<DatasetRevisionFile>;
404
+ manifestChecksum: string;
405
+ originKind: string;
406
+ sourceUid: string;
407
+ status: string;
408
+ totalSize: number;
409
+ uid: string;
410
+ }
411
+ export interface DatasetRevisionCreate {
412
+ files: Array<DatasetRevisionFileCreate>;
413
+ originKind: 'upload' | 'home-folder' | 'sandbox-result' | 'cloud-storage' | 'volume' | 'acquisition';
414
+ }
415
+ export interface DatasetRevisionFile {
416
+ checksum: string;
417
+ mediaType: string;
418
+ objectUid: string;
419
+ path: string;
420
+ size: number;
421
+ uid: string;
422
+ versionUid: string;
423
+ }
424
+ export interface DatasetRevisionFileCreate {
425
+ objectUid?: string | null;
426
+ path?: string | null;
427
+ sourcePath?: string | null;
428
+ sourceUid?: string | null;
429
+ versionUid?: string | null;
430
+ }
431
+ export interface DatasetRevisionList {
432
+ items: Array<DatasetRevision>;
433
+ }
434
+ export interface DatasourceCapabilities {
435
+ flight: boolean;
436
+ httpsFallback?: true;
437
+ maxBytes: number;
438
+ maxSeconds: number;
439
+ operations: Array<'select' | 'describe' | 'list'>;
440
+ rowLimit: number;
441
+ streaming?: true;
442
+ }
443
+ export interface DatasourceColumn {
444
+ name: string;
445
+ type: string;
446
+ }
447
+ export interface DatasourceConfiguration {
448
+ allowedOperations?: Array<'select' | 'describe' | 'list'>;
449
+ connectorType: 'athena' | 'bigquery' | 'sql' | 'table' | 'live';
450
+ credentialUid?: string | null;
451
+ dataServerUid?: string | null;
452
+ databaseOrProject?: string | null;
453
+ defaultRowLimit?: number;
454
+ endpoint?: string | null;
455
+ kind: 'datasource';
456
+ liveServerUid?: string | null;
457
+ maxBytes?: number;
458
+ maxSeconds?: number;
459
+ networkRoute?: 'direct' | 'dataserver';
460
+ }
461
+ export interface DatasourceQuery {
462
+ actorUid: string;
463
+ answered?: 'live' | 'snapshot' | null;
464
+ answeredReason?: string | null;
465
+ bytes?: number | null;
466
+ createdAt: string;
467
+ dataServerUid?: string | null;
468
+ error?: QueryError | null;
469
+ finishedAt?: string | null;
470
+ maxBytes: number;
471
+ maxSeconds: number;
472
+ operationUid?: string | null;
473
+ policyVersion: string;
474
+ result?: QueryResultReference | null;
475
+ rowLimit: number;
476
+ rows?: number | null;
477
+ sandboxUid?: string | null;
478
+ sourceUid: string;
479
+ sqlHash: string;
480
+ startedAt?: string | null;
481
+ status: 'pending' | 'running' | 'succeeded' | 'failed' | 'cancelled';
482
+ truncated?: string | null;
483
+ uid: string;
484
+ }
485
+ export interface DatasourceQueryCreate {
486
+ maxBytes?: number | null;
487
+ maxSeconds?: number | null;
488
+ rowLimit?: number | null;
489
+ sandboxUid?: string | null;
490
+ sql: string;
491
+ }
492
+ export interface DatasourceQueryList {
493
+ items: Array<DatasourceQuery>;
494
+ nextCursor?: string | null;
495
+ }
496
+ export interface DatasourceSchema {
497
+ discoveredAt: string;
498
+ tables: Array<DatasourceTable>;
499
+ }
500
+ export interface DatasourceTable {
501
+ columns?: Array<DatasourceColumn>;
502
+ name: string;
503
+ }
504
+ export interface DatasourceTest {
505
+ connectorType: string;
506
+ detail: string;
507
+ ok: boolean;
508
+ }
509
+ export interface DeadLetterList {
510
+ items: Array<OperationView>;
511
+ }
512
+ export interface DependencyStatusResponse {
513
+ configured: boolean;
514
+ detail: string;
515
+ name: string;
516
+ ready: boolean;
517
+ required: boolean;
518
+ }
519
+ export interface EffectivePermissions {
520
+ effectiveAccessLevel: 'view' | 'update' | 'execute' | null;
521
+ execute: boolean;
522
+ isOwner: boolean;
523
+ update: boolean;
524
+ view: boolean;
525
+ }
526
+ export interface EnvironmentBuildEntry {
527
+ destinationPath: string;
528
+ sha256: string;
529
+ sizeBytes: number;
530
+ sourceUri: string;
531
+ }
532
+ export interface EnvironmentConfiguration {
533
+ buildEntries?: Array<EnvironmentBuildEntry>;
534
+ buildUid: string;
535
+ environmentUid: string;
536
+ kind: 'environment';
537
+ resolvedProviderPaths?: Record<string, string>;
538
+ runtimeContentUids?: Array<string>;
539
+ }
540
+ export interface FilesConfiguration {
541
+ kind: 'files';
542
+ owningUserUid: string;
543
+ quotaPolicy: string;
544
+ storageBackendId: string;
545
+ versioningPolicy: string;
546
+ }
547
+ export interface FlightConnectivity {
548
+ detail: string;
549
+ endpoint?: string | null;
550
+ reachable: boolean;
551
+ }
552
+ export interface Grant {
553
+ accessLevel: 'view' | 'update' | 'execute';
554
+ principalKind: 'user' | 'team' | 'organization';
555
+ principalUid: string;
556
+ uid?: string | null;
557
+ }
558
+ export interface HTTPValidationError {
559
+ detail?: Array<ValidationError>;
560
+ }
561
+ export interface HealthResponse {
562
+ service?: 'contents';
563
+ status?: 'healthy';
564
+ success?: true;
565
+ }
566
+ export interface HomeFolderFileEntry {
567
+ isDirectory: boolean;
568
+ modifiedAt?: string | null;
569
+ name: string;
570
+ path: string;
571
+ scope?: string | null;
572
+ size: number;
573
+ title?: string | null;
574
+ }
575
+ export interface HomeFolderFileList {
576
+ items: Array<HomeFolderFileEntry>;
577
+ path: string;
578
+ }
579
+ export interface HomeFolderQuota {
580
+ limitBytes: number;
581
+ limitObjects: number;
582
+ reservedBytes: number;
583
+ reservedObjects: number;
584
+ usedBytes: number;
585
+ usedObjects: number;
586
+ }
587
+ export interface HttpsConnectivity {
588
+ detail: string;
589
+ reachable: boolean;
590
+ url?: string | null;
591
+ }
592
+ export interface IssuedIdentity {
593
+ caCertificate: string;
594
+ certificate: string;
595
+ expiresAt: string;
596
+ serial: string;
597
+ }
598
+ export interface ManifestEntry {
599
+ blocks?: Array<string>;
600
+ checksum: string;
601
+ modifiedAt: string;
602
+ path: string;
603
+ size: number;
604
+ }
605
+ export interface ManifestPayload {
606
+ blockSize?: number;
607
+ entries?: Array<ManifestEntry>;
608
+ tombstones?: Record<string, string>;
609
+ }
610
+ export interface McpApproval {
611
+ actorUid: string;
612
+ argumentsHash: string;
613
+ argumentsRedacted: Record<string, unknown>;
614
+ callUid: string;
615
+ createdAt: string;
616
+ decidedAt?: string | null;
617
+ decidedBy?: string | null;
618
+ destinationUri?: string | null;
619
+ expiresAt: string;
620
+ note?: string | null;
621
+ sessionUid: string;
622
+ sourceUid: string;
623
+ status: 'pending' | 'approved' | 'rejected' | 'expired' | 'consumed';
624
+ tool: string;
625
+ uid: string;
626
+ }
627
+ export interface McpApprovalDecision {
628
+ note?: string | null;
629
+ }
630
+ export interface McpApprovalList {
631
+ items: Array<McpApproval>;
632
+ }
633
+ export interface McpArtifactView {
634
+ destinationUri?: string | null;
635
+ mediaType?: string | null;
636
+ name: string;
637
+ objectUid?: string | null;
638
+ operationUid?: string | null;
639
+ size?: number | null;
640
+ sourceUri?: string | null;
641
+ transferUid?: string | null;
642
+ url?: string | null;
643
+ versionUid?: string | null;
644
+ }
645
+ export interface McpCall {
646
+ approvalUid?: string | null;
647
+ argumentsHash: string;
648
+ argumentsRedacted: Record<string, unknown>;
649
+ completedAt?: string | null;
650
+ createdAt: string;
651
+ destinationUri?: string | null;
652
+ error?: McpCallError | null;
653
+ operationUid?: string | null;
654
+ result?: McpCallResult | null;
655
+ sessionUid: string;
656
+ status: 'pending-approval' | 'approved' | 'denied' | 'running' | 'succeeded' | 'failed' | 'refused';
657
+ tool: string;
658
+ uid: string;
659
+ updatedAt: string;
660
+ }
661
+ export interface McpCallCreate {
662
+ arguments?: Record<string, unknown>;
663
+ destinationUri?: string | null;
664
+ tool: string;
665
+ }
666
+ export interface McpCallError {
667
+ code: string;
668
+ message: string;
669
+ }
670
+ export interface McpCallList {
671
+ items: Array<McpCall>;
672
+ }
673
+ export interface McpCallResult {
674
+ artifacts?: Array<McpArtifactView>;
675
+ content?: Array<Record<string, unknown>>;
676
+ }
677
+ export interface McpConfiguration {
678
+ allowedDestinations?: Array<string>;
679
+ allowedDomains?: Array<string>;
680
+ allowedMediaTypes?: Array<string>;
681
+ allowedResources?: Array<string>;
682
+ allowedTools?: Array<string>;
683
+ approvalPolicy: 'explicit' | 'auto-allowlisted' | 'never';
684
+ credentialUid?: string | null;
685
+ destinationPolicy: 'allowlist' | 'home-folder-only' | 'dataset-only';
686
+ endpoint?: string | null;
687
+ kind: 'mcp';
688
+ managedServerUid?: string | null;
689
+ maxResultBytes?: number;
690
+ transport: 'stdio' | 'streamable-http' | 'sse';
691
+ }
692
+ export interface McpHealth {
693
+ detail: string;
694
+ ok: boolean;
695
+ transport: string;
696
+ }
697
+ export interface McpResourceView {
698
+ mediaType?: string | null;
699
+ name?: string | null;
700
+ uri: string;
701
+ }
702
+ export interface McpSession {
703
+ actorUid: string;
704
+ allowedDestinations: Array<string>;
705
+ allowedDomains: Array<string>;
706
+ allowedResources: Array<string>;
707
+ allowedTools: Array<string>;
708
+ approvalPolicy: 'explicit' | 'auto-allowlisted' | 'never';
709
+ createdAt: string;
710
+ destinationPolicy: 'allowlist' | 'home-folder-only' | 'dataset-only';
711
+ expiresAt: string;
712
+ maxResultBytes: number;
713
+ sandboxUid?: string | null;
714
+ sourceUid: string;
715
+ status: 'active' | 'revoked' | 'expired';
716
+ uid: string;
717
+ }
718
+ export interface McpSessionCreate {
719
+ expiresIn?: number | null;
720
+ sandboxUid?: string | null;
721
+ sourceUid: string;
722
+ tools?: Array<string> | null;
723
+ }
724
+ export interface McpSessionList {
725
+ items: Array<McpSession>;
726
+ }
727
+ export interface McpToolManifest {
728
+ discoveredAt: string;
729
+ resources: Array<McpResourceView>;
730
+ tools: Array<McpToolView>;
731
+ }
732
+ export interface McpToolView {
733
+ description?: string | null;
734
+ inputSchema?: Record<string, unknown>;
735
+ name: string;
736
+ }
737
+ export interface MountSession {
738
+ accessKeyId: string;
739
+ endpointUrl?: string;
740
+ expiration: string;
741
+ region?: string;
742
+ secretAccessKey: string;
743
+ sessionToken: string;
744
+ }
745
+ export interface MountSessionAnswer {
746
+ mountSession?: MountSession | null;
747
+ }
748
+ export interface ObjectList {
749
+ items: Array<ContentObject>;
750
+ nextCursor?: string | null;
751
+ }
752
+ export interface OperationCapability {
753
+ available: boolean;
754
+ deployed: boolean;
755
+ documentation?: string | null;
756
+ kind?: 'operation';
757
+ label: string;
758
+ name: string;
759
+ reason?: string | null;
760
+ }
761
+ export interface OperationView {
762
+ attempt: number;
763
+ cancellationRequested: boolean;
764
+ completedAt?: string | null;
765
+ createdAt: string;
766
+ errorCode?: string | null;
767
+ errorMessage?: string | null;
768
+ maxAttempts: number;
769
+ operationKind: string;
770
+ result?: Record<string, unknown> | null;
771
+ sourceUid?: string | null;
772
+ status: 'pending' | 'running' | 'succeeded' | 'failed' | 'cancelling' | 'cancelled';
773
+ uid: string;
774
+ updatedAt: string;
775
+ }
776
+ export interface PartWritten {
777
+ bytesWritten: number;
778
+ part: string;
779
+ }
780
+ export interface PingResponse {
781
+ message?: 'Pong.';
782
+ success?: true;
783
+ version: string;
784
+ }
785
+ export interface PlanAction {
786
+ blocks?: Array<number>;
787
+ kind: 'upload' | 'download' | 'delete_remote' | 'delete_local' | 'conflict';
788
+ objectUid?: string | null;
789
+ path: string;
790
+ reason: string;
791
+ versionUid?: string | null;
792
+ }
793
+ export interface PreparedAttachment {
794
+ accessMode?: 'mount' | 'python' | 'object-client' | null;
795
+ bridge?: BridgeMountGrant | null;
796
+ capabilities?: Array<Capability>;
797
+ cleanupPolicy?: 'revoke' | 'remove-materialization' | 'retain-source';
798
+ createdAt: string;
799
+ delivery: 'mount' | 'local-bridge' | 'materialize' | 'client' | 'environment';
800
+ error?: AttachmentError | null;
801
+ expiresAt?: string | null;
802
+ fallbackReason?: string | null;
803
+ filesystemPrimitives?: Array<'list' | 'stat' | 'read' | 'write' | 'mkdir' | 'remove' | 'upload' | 'download'>;
804
+ lastSeenAt?: string | null;
805
+ limits?: AttachmentLimits;
806
+ mode: 'ro' | 'rw';
807
+ mountPath?: string | null;
808
+ mountSession?: MountSession | null;
809
+ providerResourceId?: string | null;
810
+ readyAt?: string | null;
811
+ required?: boolean;
812
+ revisionUid?: string | null;
813
+ revokedAt?: string | null;
814
+ sandboxProvider: string;
815
+ sandboxUid: string;
816
+ sourcePath?: string | null;
817
+ sourceUid: string;
818
+ status: AttachmentStatus;
819
+ tokenAudience?: string | null;
820
+ uid: string;
821
+ }
822
+ export interface PresignedAccess {
823
+ expiresIn: number;
824
+ operation: 'get' | 'put';
825
+ path: string;
826
+ url: string;
827
+ }
828
+ export type PrincipalKind = 'user' | 'team' | 'organization';
829
+ export interface PublishTableRequest {
830
+ relation: string;
831
+ }
832
+ export interface PublishTableReservation {
833
+ directory: string;
834
+ firstPart: string;
835
+ ownerUid: string;
836
+ relation: string;
837
+ }
838
+ export interface PublishedTableView {
839
+ datasource: Record<string, unknown>;
840
+ datasourceUid: string;
841
+ ownerUid: string;
842
+ parts: number;
843
+ relation: string;
844
+ }
845
+ export interface QuarantineRequest {
846
+ reason: string;
847
+ }
848
+ export interface QueryError {
849
+ code: string;
850
+ message: string;
851
+ }
852
+ export interface QueryLimits {
853
+ bytes: number;
854
+ rows: number;
855
+ seconds: number;
856
+ }
857
+ export interface QueryResultReference {
858
+ checksum: string;
859
+ mediaType?: string;
860
+ objectUid: string;
861
+ versionUid: string;
862
+ }
863
+ export interface QuerySave {
864
+ datasetUid: string;
865
+ path: string;
866
+ }
867
+ export interface ReadinessResponse {
868
+ dependencies: Array<DependencyStatusResponse>;
869
+ service?: 'contents';
870
+ status: 'ready' | 'not-ready';
871
+ success: boolean;
872
+ }
873
+ export interface ReconcileReportView {
874
+ durationSeconds: number;
875
+ error?: string | null;
876
+ ranAt: string;
877
+ report?: Record<string, unknown> | null;
878
+ sample: number;
879
+ verify: boolean;
880
+ }
881
+ export interface RestoreRequest {
882
+ versionUid: string;
883
+ }
884
+ export interface ServiceStatusResponse {
885
+ caller: CallerResponse;
886
+ service?: 'contents';
887
+ success?: true;
888
+ version: string;
889
+ }
890
+ export interface Sharing {
891
+ grants?: Array<Grant>;
892
+ }
893
+ export interface SourceKindCapability {
894
+ available: boolean;
895
+ count: number;
896
+ creatable: boolean;
897
+ deployed: boolean;
898
+ documentation?: string | null;
899
+ kind: string;
900
+ label: string;
901
+ name: string;
902
+ reason?: string | null;
903
+ }
904
+ export interface SourceList {
905
+ items: Array<CatalogSource>;
906
+ nextCursor?: string | null;
907
+ }
908
+ export type SourceStatus = 'pending' | 'ready' | 'degraded' | 'disabled' | 'failed';
909
+ export interface SpaceRelease {
910
+ attachmentsRevoked: number;
911
+ released: Array<string>;
912
+ spaceUid: string;
913
+ }
914
+ export type StableErrorCode = 'UNAUTHENTICATED' | 'FORBIDDEN' | 'NOT_FOUND' | 'CONFLICT' | 'QUOTA_EXCEEDED' | 'CAPABILITY_UNAVAILABLE' | 'CHECKSUM_MISMATCH' | 'PROVIDER_UNAVAILABLE' | 'CAPABILITY_REVOKED' | 'OPERATION_CANCELLED' | 'INTERNAL_ERROR';
915
+ export interface SyncBlockView {
916
+ checksum: string;
917
+ index: number;
918
+ path: string;
919
+ sessionUid: string;
920
+ size: number;
921
+ }
922
+ export interface SyncCompose {
923
+ baseVersionUid: string;
924
+ blocks?: Array<string>;
925
+ checksum: string;
926
+ mediaType?: string;
927
+ path: string;
928
+ size: number;
929
+ }
930
+ export interface SyncConflictList {
931
+ items: Array<SyncConflictView>;
932
+ }
933
+ export interface SyncConflictView {
934
+ createdAt: string;
935
+ localEntry?: ManifestEntry | null;
936
+ path: string;
937
+ reason: string;
938
+ remoteEntry?: ManifestEntry | null;
939
+ resolution?: 'local' | 'remote' | 'keep-both' | null;
940
+ resolvedAt?: string | null;
941
+ sessionUid: string;
942
+ status: 'open' | 'resolved';
943
+ uid: string;
944
+ }
945
+ export interface SyncCreate {
946
+ blockSize?: number;
947
+ conflictPolicy?: 'manual' | 'newest' | 'local' | 'remote';
948
+ delete?: boolean;
949
+ direction?: 'push' | 'pull' | 'bidirectional';
950
+ exclusions?: Array<string>;
951
+ localManifest: ManifestPayload;
952
+ remoteUri: string;
953
+ watch?: boolean;
954
+ }
955
+ export interface SyncPlan {
956
+ actions?: Array<PlanAction>;
957
+ }
958
+ export interface SyncReconcile {
959
+ localManifest: ManifestPayload;
960
+ }
961
+ export interface SyncReport {
962
+ applied?: Array<string>;
963
+ failed?: Record<string, string>;
964
+ transferredBytes?: number;
965
+ }
966
+ export interface SyncSessionList {
967
+ items: Array<SyncSessionView>;
968
+ nextCursor?: string | null;
969
+ }
970
+ export interface SyncSessionView {
971
+ blockSize: number;
972
+ completedAt?: string | null;
973
+ conflictCount: number;
974
+ conflictPolicy: string;
975
+ createdAt: string;
976
+ delete: boolean;
977
+ deletedFiles: number;
978
+ direction: string;
979
+ downloadedFiles: number;
980
+ errorCode?: string | null;
981
+ errorMessage?: string | null;
982
+ exclusions: Array<string>;
983
+ lastHeartbeatAt?: string | null;
984
+ plan?: SyncPlan | null;
985
+ reconciliations: number;
986
+ remoteUri: string;
987
+ sourceUid: string;
988
+ status: string;
989
+ transferredBytes: number;
990
+ uid: string;
991
+ updatedAt: string;
992
+ uploadedFiles: number;
993
+ watch: boolean;
994
+ }
995
+ export interface TicketResult {
996
+ checksum: string;
997
+ size: number;
998
+ storageKey: string;
999
+ }
1000
+ export interface TicketValidation {
1001
+ ticket: string;
1002
+ }
1003
+ export interface TicketValidationResult {
1004
+ claims?: CapabilityTicketClaims | null;
1005
+ reason?: string | null;
1006
+ result?: TicketResult | null;
1007
+ valid: boolean;
1008
+ }
1009
+ export interface TransferCreate {
1010
+ checksum: string;
1011
+ destinationUri: string;
1012
+ direction?: 'upload';
1013
+ mediaType?: string;
1014
+ overwrite?: 'reject' | 'replace' | 'new-version';
1015
+ size: number;
1016
+ }
1017
+ export interface TransferList {
1018
+ items: Array<TransferView>;
1019
+ nextCursor?: string | null;
1020
+ }
1021
+ export interface TransferPart {
1022
+ checksum: string;
1023
+ number: number;
1024
+ size: number;
1025
+ }
1026
+ export interface TransferView {
1027
+ completedAt?: string | null;
1028
+ createdAt: string;
1029
+ destinationUri?: string | null;
1030
+ direction: string;
1031
+ errorCode?: string | null;
1032
+ errorMessage?: string | null;
1033
+ expectedChecksum: string;
1034
+ expectedSize: number;
1035
+ mediaType: string;
1036
+ objectUid?: string | null;
1037
+ overwritePolicy: string;
1038
+ partCount: number;
1039
+ parts?: Array<TransferPart>;
1040
+ path: string;
1041
+ receivedBytes: number;
1042
+ sourceUid: string;
1043
+ sourceUri?: string | null;
1044
+ status: string;
1045
+ uid: string;
1046
+ updatedAt: string;
1047
+ versionUid?: string | null;
1048
+ }
1049
+ export interface ValidationError {
1050
+ ctx?: Record<string, unknown>;
1051
+ input?: unknown;
1052
+ loc: Array<string | number>;
1053
+ msg: string;
1054
+ type: string;
1055
+ }
1056
+ export interface VersionList {
1057
+ items: Array<ContentObjectVersion>;
1058
+ nextCursor?: string | null;
1059
+ }
1060
+ export interface VolumeConfiguration {
1061
+ accessModes: Array<'ro' | 'rw'>;
1062
+ backingResourceId?: string | null;
1063
+ capacityBytes: number;
1064
+ concurrentReaders: boolean;
1065
+ concurrentWriters: boolean;
1066
+ defaultMountPath: string;
1067
+ kind: 'volume';
1068
+ scope: 'user' | 'space';
1069
+ storageClass?: string | null;
1070
+ }