@datalayer/core 1.1.59 → 1.1.66
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.
- package/README.md +2 -2
- package/lib/api/DatalayerApi.d.ts +42 -1
- package/lib/api/DatalayerApi.js +90 -3
- package/lib/api/constants.d.ts +18 -0
- package/lib/api/constants.js +18 -0
- package/lib/api/contents/attachments.d.ts +9 -0
- package/lib/api/contents/attachments.js +43 -0
- package/lib/api/contents/bridges.d.ts +22 -0
- package/lib/api/contents/bridges.js +79 -0
- package/lib/api/contents/capabilities.d.ts +11 -0
- package/lib/api/contents/capabilities.js +21 -0
- package/lib/api/contents/cloudStorage.d.ts +31 -0
- package/lib/api/contents/cloudStorage.js +89 -0
- package/lib/api/contents/dataservers.d.ts +37 -0
- package/lib/api/contents/dataservers.js +121 -0
- package/lib/api/contents/datasets.d.ts +15 -0
- package/lib/api/contents/datasets.js +45 -0
- package/lib/api/contents/datasources.d.ts +70 -0
- package/lib/api/contents/datasources.js +149 -0
- package/lib/api/contents/generated.d.ts +1070 -0
- package/lib/api/contents/index.d.ts +16 -0
- package/lib/api/contents/index.js +20 -0
- package/lib/api/contents/mcp.d.ts +46 -0
- package/lib/api/contents/mcp.js +157 -0
- package/lib/api/contents/objects.d.ts +31 -0
- package/lib/api/contents/objects.js +88 -0
- package/lib/api/contents/operations.d.ts +3 -0
- package/lib/api/contents/operations.js +19 -0
- package/lib/api/contents/runtimeMounts.d.ts +40 -0
- package/lib/api/contents/runtimeMounts.js +59 -0
- package/lib/api/contents/sandboxUid.d.ts +53 -0
- package/lib/api/contents/sandboxUid.js +78 -0
- package/lib/api/contents/sources.d.ts +19 -0
- package/lib/api/contents/sources.js +119 -0
- package/lib/api/contents/sync.d.ts +18 -0
- package/lib/api/contents/sync.js +69 -0
- package/lib/api/contents/transfers.d.ts +38 -0
- package/lib/api/contents/transfers.js +123 -0
- package/lib/api/iam/connectedAgents.d.ts +39 -0
- package/lib/api/iam/connectedAgents.js +52 -0
- package/lib/api/iam/index.d.ts +2 -1
- package/lib/api/iam/index.js +2 -1
- package/lib/api/iam/mcpAlertRules.d.ts +51 -0
- package/lib/api/iam/mcpAlertRules.js +198 -0
- package/lib/api/iam/mcpAuditSettings.d.ts +46 -0
- package/lib/api/iam/mcpAuditSettings.js +120 -0
- package/lib/api/iam/mcpPolicy.d.ts +80 -0
- package/lib/api/iam/mcpPolicy.js +132 -0
- package/lib/api/iam/organizationTeams.d.ts +13 -0
- package/lib/api/iam/organizationTeams.js +43 -0
- package/lib/api/iam/serviceAgents.d.ts +68 -0
- package/lib/api/iam/serviceAgents.js +119 -0
- package/lib/api/index.d.ts +4 -1
- package/lib/api/index.js +3 -1
- package/lib/api/mcp/activity.d.ts +37 -0
- package/lib/api/mcp/activity.js +26 -0
- package/lib/api/mcp/alerts.d.ts +25 -0
- package/lib/api/mcp/alerts.js +51 -0
- package/lib/api/mcp/audit.d.ts +29 -0
- package/lib/api/mcp/audit.js +55 -0
- package/lib/api/mcp/bindings.d.ts +18 -0
- package/lib/api/mcp/bindings.js +42 -0
- package/lib/api/mcp/forwarding.d.ts +25 -0
- package/lib/api/mcp/forwarding.js +46 -0
- package/lib/api/mcp/gateway.d.ts +16 -0
- package/lib/api/mcp/gateway.js +70 -0
- package/lib/api/mcp/generated.d.ts +22 -0
- package/lib/api/mcp/generated.js +213 -0
- package/lib/api/mcp/index.d.ts +17 -0
- package/lib/api/mcp/index.js +25 -0
- package/lib/api/mcp/observability.d.ts +125 -0
- package/lib/api/mcp/observability.js +254 -0
- package/lib/api/mcp/operations.d.ts +83 -0
- package/lib/api/mcp/operations.js +50 -0
- package/lib/api/mcp/organizations.d.ts +102 -0
- package/lib/api/mcp/organizations.js +46 -0
- package/lib/api/mcp/policy.d.ts +9 -0
- package/lib/api/mcp/policy.js +23 -0
- package/lib/api/mcp/tasks.d.ts +49 -0
- package/lib/api/mcp/tasks.js +147 -0
- package/lib/api/utils/validation.d.ts +1 -1
- package/lib/api/utils/validation.js +1 -1
- package/lib/client/auth/index.js +0 -5
- package/lib/client/auth/storage.js +0 -5
- package/lib/client/auth/strategies.js +0 -5
- package/lib/client/base.d.ts +6 -0
- package/lib/client/base.js +8 -0
- package/lib/client/index.d.ts +0 -10
- package/lib/client/index.js +2 -2
- package/lib/client/mixins/ContentsMixin.d.ts +71 -0
- package/lib/client/mixins/ContentsMixin.js +157 -0
- package/lib/client/mixins/IAMMixin.d.ts +0 -31
- package/lib/client/mixins/IAMMixin.js +0 -58
- package/lib/components/animation/AnimatedText.d.ts +1 -0
- package/lib/components/animation/AnimatedText.js +0 -4
- package/lib/components/auth/SigInAPIKey.d.ts +1 -0
- package/lib/components/auth/SigInAPIKey.js +0 -6
- package/lib/components/auth/SignIn.d.ts +1 -0
- package/lib/components/auth/SignIn.js +0 -4
- package/lib/components/auth/SignIn.stories.d.ts +2 -2
- package/lib/components/avatars/BoringAvatar.d.ts +1 -1
- package/lib/components/avatars/BoringAvatar.stories.d.ts +1 -1
- package/lib/components/avatars/DLAvatar.d.ts +1 -1
- package/lib/components/avatars/DLAvatar.js +0 -4
- package/lib/components/avatars/UserAvatar.d.ts +18 -1
- package/lib/components/avatars/UserAvatar.js +14 -14
- package/lib/components/avatars/UserProfileAvatar.d.ts +1 -1
- package/lib/components/banners/NoAutomationBanner.d.ts +1 -1
- package/lib/components/billing/BillingEntitySelect.d.ts +10 -0
- package/lib/components/billing/BillingEntitySelect.js +0 -17
- package/lib/components/billing/index.js +0 -4
- package/lib/components/buttons/DownloadCSVButton.d.ts +1 -1
- package/lib/components/buttons/DownloadJsonButton.d.ts +1 -1
- package/lib/components/buttons/LongActionButton.d.ts +1 -0
- package/lib/components/buttons/LongActionButton.js +0 -4
- package/lib/components/buttons/UploadButton.d.ts +1 -0
- package/lib/components/buttons/UploadButton.js +0 -4
- package/lib/components/checkout/StripeCheckout.d.ts +1 -1
- package/lib/components/collaboration/LiveEditorCollaborators.d.ts +31 -0
- package/lib/components/collaboration/LiveEditorCollaborators.js +98 -53
- package/lib/components/collaboration/index.js +0 -4
- package/lib/components/confetti/ConfettiSuccess.d.ts +1 -1
- package/lib/components/contents/ContentSourceCard.d.ts +8 -0
- package/lib/components/contents/ContentSourceCard.js +23 -0
- package/lib/components/contents/HomeFolderObjectsBrowser.d.ts +10 -0
- package/lib/components/contents/HomeFolderObjectsBrowser.js +148 -0
- package/lib/components/contents/index.d.ts +2 -0
- package/lib/components/contents/index.js +6 -0
- package/lib/components/context/OrganizationSelect.d.ts +1 -1
- package/lib/components/display/AvatarSkeleton.d.ts +1 -1
- package/lib/components/display/BusyDots.d.ts +1 -1
- package/lib/components/display/CenteredSpinner.d.ts +1 -1
- package/lib/components/display/CodePreview.d.ts +1 -1
- package/lib/components/display/DatalayerBox.d.ts +7 -2
- package/lib/components/display/DatalayerBox.js +6 -6
- package/lib/components/display/HorizontalCenter.d.ts +1 -1
- package/lib/components/display/JupyterDialog.d.ts +1 -0
- package/lib/components/display/JupyterDialog.js +1 -7
- package/lib/components/display/Markdown.d.ts +1 -0
- package/lib/components/display/NotebookSkeleton.d.ts +1 -1
- package/lib/components/display/Placeholder.d.ts +1 -1
- package/lib/components/display/ToTopBranded.d.ts +1 -1
- package/lib/components/echarts/EChartsReact.d.ts +1 -1
- package/lib/components/flashes/FlashClosable.d.ts +1 -0
- package/lib/components/flashes/FlashClosable.js +0 -4
- package/lib/components/flashes/FlashGuest.d.ts +1 -1
- package/lib/components/flashes/FlashSurveys.d.ts +1 -1
- package/lib/components/flashes/FlashUnauthorized.d.ts +1 -0
- package/lib/components/flashes/FlashUnauthorized.js +0 -6
- package/lib/components/flashes/surveys/Survey2025_1.d.ts +1 -1
- package/lib/components/iam/ExternalTokenSilentLogin.d.ts +1 -1
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +2 -0
- package/lib/components/labels/StatusLabels.d.ts +10 -0
- package/lib/components/labels/StatusLabels.js +30 -1
- package/lib/components/labels/VisibilityLabel.d.ts +1 -1
- package/lib/components/landings/StepBlock.d.ts +1 -1
- package/lib/components/mcp/ClientBadge.d.ts +41 -0
- package/lib/components/mcp/ClientBadge.js +33 -0
- package/lib/components/mcp/McpErrorBlankslate.d.ts +21 -0
- package/lib/components/mcp/McpErrorBlankslate.js +17 -0
- package/lib/components/mcp/ScopeList.d.ts +28 -0
- package/lib/components/mcp/ScopeList.js +14 -0
- package/lib/components/mcp/index.d.ts +10 -0
- package/lib/components/mcp/index.js +18 -0
- package/lib/components/navbar/NavigationVisbilityObserver.d.ts +2 -1
- package/lib/components/navbar/SubdomainNavBar.d.ts +10 -5
- package/lib/components/navbar/SubdomainNavBar.js +2 -1
- package/lib/components/notebooks/JupyterNotebook.d.ts +1 -1
- package/lib/components/notebooks/JupyterNotebookToolbar.d.ts +1 -1
- package/lib/components/principal/PrincipalAppearance.d.ts +1 -0
- package/lib/components/principal/PrincipalAppearance.js +0 -8
- package/lib/components/principal/PrincipalAvatar.d.ts +9 -1
- package/lib/components/principal/PrincipalAvatar.js +25 -10
- package/lib/components/principal/PrincipalBadge.d.ts +1 -1
- package/lib/components/principal/PrincipalBanner.d.ts +1 -1
- package/lib/components/principal/PrincipalDetailsOverlay.d.ts +31 -1
- package/lib/components/principal/PrincipalDetailsOverlay.js +64 -33
- package/lib/components/principal/PrincipalHoverCard.d.ts +31 -0
- package/lib/components/principal/PrincipalHoverCard.js +52 -0
- package/lib/components/principal/PrincipalSwitcherMenu.d.ts +1 -0
- package/lib/components/principal/PrincipalSwitcherMenu.js +7 -15
- package/lib/components/principal/index.d.ts +2 -1
- package/lib/components/principal/index.js +2 -1
- package/lib/components/progress/ConsumptionBar.d.ts +1 -0
- package/lib/components/progress/ConsumptionBar.js +0 -4
- package/lib/components/progress/ProgressRing.d.ts +1 -0
- package/lib/components/progress/SpinnerBar.d.ts +1 -1
- package/lib/components/progress/Timer.d.ts +1 -0
- package/lib/components/progress/Timer.js +0 -4
- package/lib/components/screencapture/ScreencaptureButton.d.ts +1 -1
- package/lib/components/sharing/ShareAccessComponent.d.ts +15 -1
- package/lib/components/sharing/ShareAccessComponent.js +36 -23
- package/lib/components/sharing/SharingEditor.d.ts +17 -0
- package/lib/components/sharing/SharingEditor.js +0 -24
- package/lib/components/sparklines/Sparklines.js +3 -4
- package/lib/components/sparklines/index.js +0 -4
- package/lib/components/storage/ContentsBrowser.d.ts +25 -1
- package/lib/components/storage/ContentsBrowser.js +145 -52
- package/lib/components/storage/ContentsBrowserMock.d.ts +3 -0
- package/lib/components/storage/ContentsBrowserMock.js +75 -0
- package/lib/components/storage/ContentsItems.d.ts +2 -1
- package/lib/components/storage/ContentsItems.js +0 -4
- package/lib/components/storage/ContentsTable.d.ts +50 -0
- package/lib/components/storage/ContentsTable.js +134 -0
- package/lib/components/storage/HomeFolderDrive.d.ts +71 -0
- package/lib/components/storage/HomeFolderDrive.js +248 -0
- package/lib/components/storage/index.d.ts +2 -0
- package/lib/components/storage/index.js +2 -0
- package/lib/components/students/StudentItemStatus.d.ts +1 -1
- package/lib/components/students/StudentResultCircle.d.ts +1 -1
- package/lib/components/subnav/SubNav.d.ts +5 -5
- package/lib/components/subnav/SubNav.js +11 -9
- package/lib/components/tables/DataTable.d.ts +1 -1
- package/lib/components/text-reveal/TextRevealAnimation.d.ts +2 -2
- package/lib/components/text-reveal/useTextRevealAnimationLines.d.ts +1 -1
- package/lib/components/time/LiveRelativeTime.d.ts +1 -0
- package/lib/components/time/LiveRelativeTime.js +0 -8
- package/lib/components/time/index.js +0 -4
- package/lib/components/timeline/Timeline.d.ts +1 -1
- package/lib/components/timeline/index.js +0 -4
- package/lib/components/users/PeerIndicator.d.ts +1 -0
- package/lib/components/users/PeerIndicator.js +0 -4
- package/lib/config/Configuration.d.ts +15 -17
- package/lib/config/Configuration.js +7 -0
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/layouts/LayoutBackdrop.d.ts +1 -1
- package/lib/hooks/layouts/LayoutScreencapture.d.ts +1 -1
- package/lib/hooks/useBackdrop.d.ts +1 -1
- package/lib/hooks/useBackdropJupyterLab.d.ts +3 -2
- package/lib/hooks/useBackdropJupyterLab.js +0 -4
- package/lib/hooks/useCache.d.ts +310 -105
- package/lib/hooks/useCache.js +142 -355
- package/lib/hooks/useContainsFocus.d.ts +1 -1
- package/lib/hooks/useContents.d.ts +313 -0
- package/lib/hooks/useContents.js +964 -0
- package/lib/hooks/useFocusTrap.d.ts +4 -4
- package/lib/hooks/useFocusTrap.js +1 -1
- package/lib/hooks/useMcp.d.ts +229 -0
- package/lib/hooks/useMcp.js +656 -0
- package/lib/hooks/useMobile.js +0 -5
- package/lib/hooks/useProjectStore.d.ts +3 -3
- package/lib/hooks/useProjectStore.js +4 -4
- package/lib/hooks/useRef.d.ts +1 -1
- package/lib/hooks/useRef.js +3 -0
- package/lib/hooks/useScreencapture.d.ts +2 -1
- package/lib/hooks/useScreencapture.js +0 -4
- package/lib/hooks/useToast.js +0 -4
- package/lib/hooks/useUser.js +42 -0
- package/lib/hooks/useVisibilityObserver.d.ts +1 -1
- package/lib/index.d.ts +4 -1
- package/lib/index.js +3 -1
- package/lib/mocks/components/FlashMock.d.ts +1 -1
- package/lib/mocks/views/ActionMenuMock.d.ts +1 -1
- package/lib/mocks/views/ChartMock.d.ts +1 -1
- package/lib/mocks/views/DashboardMock.d.ts +1 -1
- package/lib/mocks/views/FormMock.d.ts +1 -1
- package/lib/mocks/views/TableMock.d.ts +1 -1
- package/lib/mocks/views/WipMock.d.ts +1 -1
- package/lib/models/Credits.d.ts +16 -0
- package/lib/models/Credits.js +22 -0
- package/lib/models/McpAuditEvent.d.ts +52 -0
- package/lib/models/McpAuditEvent.js +5 -0
- package/lib/models/McpBinding.d.ts +51 -0
- package/lib/models/McpBinding.js +5 -0
- package/lib/models/McpPolicy.d.ts +77 -0
- package/lib/models/McpPolicy.js +5 -0
- package/lib/models/McpTask.d.ts +94 -0
- package/lib/models/McpTask.js +7 -0
- package/lib/models/StartedBy.d.ts +57 -0
- package/lib/models/StartedBy.js +81 -0
- package/lib/models/UserDTO.js +4 -2
- package/lib/models/contents/__fixtures__/solr-codec.json +57 -0
- package/lib/models/contents/__fixtures__/v1-contracts.json +66 -0
- package/lib/models/contents/fieldCase.d.ts +8 -0
- package/lib/models/contents/fieldCase.js +37 -0
- package/lib/models/contents/index.d.ts +2 -0
- package/lib/models/contents/index.js +6 -0
- package/lib/models/contents/permissions.d.ts +16 -0
- package/lib/models/contents/permissions.js +34 -0
- package/lib/models/index.d.ts +5 -1
- package/lib/models/index.js +5 -1
- package/lib/state/substates/CoreState.d.ts +15 -7
- package/lib/state/substates/CoreState.js +18 -14
- package/lib/state/substates/IAMState.d.ts +1 -1
- package/lib/state/substates/IAMState.js +5 -5
- package/lib/state/substates/ProfileState.js +0 -4
- package/lib/state/substates/index.d.ts +0 -1
- package/lib/state/substates/index.js +0 -1
- package/lib/utils/Jwt.d.ts +26 -0
- package/lib/utils/Jwt.js +37 -0
- package/lib/utils/WithSuspense.d.ts +1 -1
- package/lib/views/api-keys/APIKeyEdit.d.ts +1 -1
- package/lib/views/api-keys/APIKeyNew.d.ts +1 -1
- package/lib/views/api-keys/APIKeys.d.ts +1 -1
- package/lib/views/api-keys/APIKeys.js +30 -4
- package/lib/views/api-keys/APIKeysStandalone.d.ts +5 -1
- package/lib/views/api-keys/APIKeysStandalone.js +2 -2
- package/lib/views/datasources/DatasourceDetail.d.ts +12 -5
- package/lib/views/datasources/DatasourceDetail.js +80 -110
- package/lib/views/datasources/DatasourceNew.d.ts +14 -8
- package/lib/views/datasources/DatasourceNew.js +129 -118
- package/lib/views/datasources/Datasources.d.ts +39 -7
- package/lib/views/datasources/Datasources.js +95 -40
- package/lib/views/datasources/DatasourcesMock.d.ts +3 -0
- package/lib/views/datasources/DatasourcesMock.js +57 -0
- package/lib/views/iam/SignInSimple.d.ts +12 -0
- package/lib/views/iam/SignInSimple.js +4 -4
- package/lib/views/index.d.ts +1 -0
- package/lib/views/index.js +1 -0
- package/lib/views/mcp/AlertDestinations.d.ts +34 -0
- package/lib/views/mcp/AlertDestinations.js +75 -0
- package/lib/views/mcp/AlertRules.d.ts +32 -0
- package/lib/views/mcp/AlertRules.js +245 -0
- package/lib/views/mcp/AuditLog.d.ts +42 -0
- package/lib/views/mcp/AuditLog.js +144 -0
- package/lib/views/mcp/ConnectedAgents.d.ts +34 -0
- package/lib/views/mcp/ConnectedAgents.js +100 -0
- package/lib/views/mcp/EnterpriseConsole.d.ts +74 -0
- package/lib/views/mcp/EnterpriseConsole.js +173 -0
- package/lib/views/mcp/McpDashboard.d.ts +50 -0
- package/lib/views/mcp/McpDashboard.js +347 -0
- package/lib/views/mcp/McpHome.d.ts +92 -0
- package/lib/views/mcp/McpHome.js +153 -0
- package/lib/views/mcp/McpObservability.d.ts +50 -0
- package/lib/views/mcp/McpObservability.js +150 -0
- package/lib/views/mcp/OrganizationPolicy.d.ts +45 -0
- package/lib/views/mcp/OrganizationPolicy.js +107 -0
- package/lib/views/mcp/OrganizationUsage.d.ts +69 -0
- package/lib/views/mcp/OrganizationUsage.js +113 -0
- package/lib/views/mcp/PersonalPolicy.d.ts +54 -0
- package/lib/views/mcp/PersonalPolicy.js +125 -0
- package/lib/views/mcp/Policies.d.ts +53 -0
- package/lib/views/mcp/Policies.js +210 -0
- package/lib/views/mcp/PolicyForm.d.ts +67 -0
- package/lib/views/mcp/PolicyForm.js +91 -0
- package/lib/views/mcp/PolicyHistory.d.ts +45 -0
- package/lib/views/mcp/PolicyHistory.js +62 -0
- package/lib/views/mcp/ServiceAgents.d.ts +46 -0
- package/lib/views/mcp/ServiceAgents.js +194 -0
- package/lib/views/mcp/TeamPolicies.d.ts +33 -0
- package/lib/views/mcp/TeamPolicies.js +98 -0
- package/lib/views/mcp/format.d.ts +25 -0
- package/lib/views/mcp/format.js +77 -0
- package/lib/views/mcp/index.d.ts +29 -0
- package/lib/views/mcp/index.js +37 -0
- package/lib/views/mcp/types.d.ts +66 -0
- package/lib/views/mcp/types.js +5 -0
- package/lib/views/secrets/SecretEdit.d.ts +5 -1
- package/lib/views/secrets/SecretEdit.js +2 -2
- package/lib/views/secrets/SecretNew.d.ts +11 -1
- package/lib/views/secrets/SecretNew.js +2 -2
- package/lib/views/secrets/Secrets.d.ts +12 -1
- package/lib/views/secrets/Secrets.js +2 -2
- package/package.json +28 -24
- package/scripts/generate-contents-types.py +169 -0
- package/scripts/generate-mcp-types.py +233 -0
- package/lib/api/iam/datasources.d.ts +0 -86
- package/lib/api/iam/datasources.js +0 -185
- package/lib/components/toolbars/index.d.ts +0 -1
- package/lib/models/Datasource.d.ts +0 -181
- package/lib/models/Datasource.js +0 -154
- package/lib/state/substates/DatasourceState.d.ts +0 -11
- package/lib/state/substates/DatasourceState.js +0 -16
- /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
|
+
}
|