@cube-dev/platform-client 0.9.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  <!-- Curate public-facing entries here before the next release. -->
11
11
 
12
+ ## [0.11.0] - 2026-09-15
13
+ ### Added
14
+
15
+ - `FolderDto` gained `user` (CUB-4611) — the folder's owner, resolved the same way workbook owners are; `null` on a folder shared from the main workspace, which stays masked. Fixes the embed workspace's Owner column always rendering a dash, including for a folder the caller just created.
16
+ - `GenerateSession` gained `branchName` (CUB-4151) — the deployment branch an embed session queries. Omit it (or pass the deployment's production branch) for the production environment, which stays the default; any other branch of the deployment — one with a staging environment enabled, a shared branch, or a personal dev branch — points every Cube query the embedded dashboards, Creator Mode workspace and chat make at that branch's runtime (`<deploymentUrl>/dev-mode/{branchName}/cubejs-api/v1`) instead. The branch must be served when the session is generated: a name that is not a branch of the deployment returns `404`, and a branch nothing is running returns `400` — a branch without a staging environment is only running while someone has it open in Cube, so enable its staging environment for a branch an embedded app should reach at any time. Content is not branch-scoped: the same dashboards and workbooks are rendered against the chosen branch's data model. The embedded chat and AI widgets follow the session onto the branch as well, so an agent answers from the same data model the dashboards show.
17
+ - New public REST endpoint `POST /api/v1/embed/session/revoke` (`EmbedPublicController.revokeSession`) (CUB-4508) ends a signed embed session from the server side — call it from your application's logout handler with the `sessionId` that `POST /api/v1/embed/generate-session` returned. Works on either state a session can be in: an unexchanged id can no longer be redeemed via `POST /api/v1/embed/session/token`, and a token an already-exchanged id produced is rejected with `401` from that point on. Idempotent — revoking an unknown, expired, or already-revoked id also responds `204`, so the response alone never tells you whether a token was still revocable. That depends on Cube, not on the client library you call from: only tokens Cube issued after this endpoint shipped carry the revocation claim, and an older token keeps working until it expires on its own, within 24 hours. Requires admin access and that embedding be enabled for the account. New schema: `RevokeEmbedSessionInput`.
18
+
19
+ ## [0.10.0] - 2026-09-14
20
+ ### Added
21
+
22
+ - `GET /api/v1/deployments/{deploymentId}/dbt-sync/{syncJobId}/generated-files` (`DbtSyncPublicController.getDbtSyncGeneratedFiles`) returns the cube files a dbt sync generated when it did not commit them, with cursor pagination (CUB-4489). The files are held for one hour after the sync completes and then dropped, so collect them promptly; a sync that committed to a branch instead, or a stale/unknown job, gets a 404. Requires deployment read access. New schemas: `DbtSyncGeneratedFilesListResponse`, `DbtGeneratedFileContent`.
23
+ - `StartDbtSyncInput` gained `output` (CUB-4489): `'branch'` (the default, unchanged) commits the generated cubes to a new Cube branch for review; `'files'` commits nothing and creates no branch, so the files can be read back from the new `generated-files` endpoint and committed through your own CI's review instead.
24
+ - New RBAC action `ChatHistoryRead` (CUB-3277) for scoping read access to chat history independently of `ChatThreadRead`. Assignable wherever a policy action is: `Policy.actions`, `RoleWithAccess.actions`, and the resource/group/user policy DTOs.
25
+ - `PivotItems` / `PivotItemsInput` gained `showAppliedFilters` (CUB-4639): a per-exploration override for whether a report written to a worksheet carries the applied-filter summary, above the existing account- and user-level settings of the same name. Omitting it means the exploration has no opinion — the user's (or account's) setting stands — rather than turning the annotation off.
26
+
12
27
  ## [0.9.0] - 2026-09-12
13
28
 
14
29
  ### Added
package/dist/schema.d.ts CHANGED
@@ -405,6 +405,26 @@ export interface paths {
405
405
  patch?: never;
406
406
  trace?: never;
407
407
  };
408
+ "/api/v1/deployments/{deploymentId}/databricks-metric-view-integrations/{dataSourceName}/access-test": {
409
+ parameters: {
410
+ query?: never;
411
+ header?: never;
412
+ path?: never;
413
+ cookie?: never;
414
+ };
415
+ get?: never;
416
+ put?: never;
417
+ /**
418
+ * Test Databricks Metric View publication access
419
+ * @description Runs a bounded server-side access test with the selected datasource credentials. It verifies the regional conversion runner, SQL warehouse, target schema, source relations from an optional completed preview, and create/replace/drop privileges using a uniquely named temporary view. It never changes a final Metric View. Requires useDatabricksMetricViewsPush and SchemaUpdate access.
420
+ */
421
+ post: operations["DatabricksMetricViewIntegrationPublicController.testAccess"];
422
+ delete?: never;
423
+ options?: never;
424
+ head?: never;
425
+ patch?: never;
426
+ trace?: never;
427
+ };
408
428
  "/api/v1/deployments/{deploymentId}/databricks-metric-view-previews": {
409
429
  parameters: {
410
430
  query?: never;
@@ -499,6 +519,23 @@ export interface paths {
499
519
  patch?: never;
500
520
  trace?: never;
501
521
  };
522
+ "/api/v1/deployments/{deploymentId}/dbt-sync/{syncJobId}/generated-files": {
523
+ parameters: {
524
+ query?: never;
525
+ header?: never;
526
+ path?: never;
527
+ cookie?: never;
528
+ };
529
+ /** Get the files generated by a dbt sync that did not commit them */
530
+ get: operations["DbtSyncPublicController.getDbtSyncGeneratedFiles"];
531
+ put?: never;
532
+ post?: never;
533
+ delete?: never;
534
+ options?: never;
535
+ head?: never;
536
+ patch?: never;
537
+ trace?: never;
538
+ };
502
539
  "/api/v1/deployments/{deploymentId}/dbt-sync/{syncJobId}/logs": {
503
540
  parameters: {
504
541
  query?: never;
@@ -1840,6 +1877,34 @@ export interface paths {
1840
1877
  patch?: never;
1841
1878
  trace?: never;
1842
1879
  };
1880
+ "/api/v1/embed/session/revoke": {
1881
+ parameters: {
1882
+ query?: never;
1883
+ header?: never;
1884
+ path?: never;
1885
+ cookie?: never;
1886
+ };
1887
+ get?: never;
1888
+ put?: never;
1889
+ /**
1890
+ * Revoke an embed session
1891
+ * @description **🔒 Admin only.** Requires administrator privileges — the authenticated principal (API key, embed JWT, or any bearer token) must belong to a user with the admin role.
1892
+ *
1893
+ * Ends an embed session from the server side — call it from your application's logout handler. Pass the `sessionId` that `POST /api/v1/embed/generate-session` returned.
1894
+ *
1895
+ * Works in either state the session can be in: an id that has not been exchanged yet can no longer be redeemed via `POST /api/v1/embed/session/token`, and the token an already-exchanged id produced is rejected with `401` from this moment on. The embedded iframe does not tear itself down — remove it on logout as before.
1896
+ *
1897
+ * Idempotent: revoking an unknown, expired or already-revoked id also responds `204` — so the response alone never tells you whether a token was still revocable. That depends on Cube, not on the client library you call from: only tokens Cube issued after this endpoint shipped carry the claim revocation is checked against, and an older token keeps working until it expires on its own, within 24 hours. A Cube API token the embed obtained from `POST /api/v1/deployments/{deploymentId}/token` is a separate credential and is not affected.
1898
+ *
1899
+ * Embedding must be enabled for the account, otherwise `403` is returned.
1900
+ */
1901
+ post: operations["EmbedPublicController.revokeSession"];
1902
+ delete?: never;
1903
+ options?: never;
1904
+ head?: never;
1905
+ patch?: never;
1906
+ trace?: never;
1907
+ };
1843
1908
  "/api/v1/embed/session/token": {
1844
1909
  parameters: {
1845
1910
  query?: never;
@@ -3177,7 +3242,7 @@ export interface components {
3177
3242
  /** @enum {string} */
3178
3243
  BulkUserActionResponseAction: "DEACTIVATE" | "ACTIVATE" | "DELETE";
3179
3244
  ChatThreadPolicy: {
3180
- actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
3245
+ actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
3181
3246
  effect?: components["schemas"]["ChatThreadPolicyEffect"] | null;
3182
3247
  resourceType: components["schemas"]["ChatThreadPolicyResourceType"];
3183
3248
  resources: string[];
@@ -3709,6 +3774,33 @@ export interface components {
3709
3774
  DataModelWriteResponse: {
3710
3775
  success: boolean;
3711
3776
  };
3777
+ DatabricksMetricViewAccessCheckResponse: {
3778
+ code: components["schemas"]["DatabricksMetricViewAccessCheckResponseCode"];
3779
+ failureCode?: components["schemas"]["DatabricksMetricViewAccessCheckResponseFailureCode"] | null;
3780
+ message: string;
3781
+ statementId?: string | null;
3782
+ status: components["schemas"]["DatabricksMetricViewAccessCheckResponseStatus"];
3783
+ subject?: string | null;
3784
+ };
3785
+ /** @enum {string} */
3786
+ DatabricksMetricViewAccessCheckResponseCode: "sandbox-runner" | "connection" | "target-schema" | "source-read" | "create-view" | "replace-view" | "cleanup";
3787
+ /** @enum {string} */
3788
+ DatabricksMetricViewAccessCheckResponseFailureCode: "AUTHENTICATION_FAILED" | "WAREHOUSE_UNAVAILABLE" | "PERMISSION_DENIED" | "NOT_FOUND" | "TIMEOUT" | "CANCELLED" | "INVALID_CONFIGURATION" | "ACCESS_TEST_UNAVAILABLE" | "SANDBOX_UNAVAILABLE" | "SANDBOX_STATE_UNKNOWN" | "STATEMENT_FAILED";
3789
+ /** @enum {string} */
3790
+ DatabricksMetricViewAccessCheckResponseStatus: "passed" | "failed" | "skipped";
3791
+ DatabricksMetricViewAccessTestResponse: {
3792
+ checks: components["schemas"]["DatabricksMetricViewAccessCheckResponse"][];
3793
+ configurationVersion: number;
3794
+ durationMs: number;
3795
+ outcome: components["schemas"]["DatabricksMetricViewAccessTestResponseOutcome"];
3796
+ previewId?: string | null;
3797
+ testedAt: string;
3798
+ version: components["schemas"]["DatabricksMetricViewAccessTestResponseVersion"];
3799
+ };
3800
+ /** @enum {string} */
3801
+ DatabricksMetricViewAccessTestResponseOutcome: "passed" | "failed";
3802
+ /** @enum {number} */
3803
+ DatabricksMetricViewAccessTestResponseVersion: 1;
3712
3804
  DatabricksMetricViewIntegrationConfigurationResponse: {
3713
3805
  deletionPolicy: components["schemas"]["DatabricksMetricViewIntegrationConfigurationResponseDeletionPolicy"];
3714
3806
  enabled: boolean;
@@ -3856,6 +3948,12 @@ export interface components {
3856
3948
  };
3857
3949
  /** @enum {string} */
3858
3950
  DatabricksMetricViewPublicationViewResultOutcome: "success" | "failed";
3951
+ DbtGeneratedFileContent: {
3952
+ /** @description The generated YAML. */
3953
+ content: string;
3954
+ /** @description Path of the generated file within the data model project. */
3955
+ path: string;
3956
+ };
3859
3957
  DbtSyncCancelResponse: {
3860
3958
  message: string;
3861
3959
  };
@@ -3863,6 +3961,11 @@ export interface components {
3863
3961
  /** @description Path of the generated file within the data model project. */
3864
3962
  path: string;
3865
3963
  };
3964
+ DbtSyncGeneratedFilesListResponse: {
3965
+ /** @description The generated cube files, ready to write into your repository. */
3966
+ items: components["schemas"]["DbtGeneratedFileContent"][];
3967
+ pageInfo: components["schemas"]["PageInfo"];
3968
+ };
3866
3969
  DbtSyncLogEntriesListResponse: {
3867
3970
  items: components["schemas"]["DbtSyncLogEntry"][];
3868
3971
  pageInfo: components["schemas"]["PageInfo"];
@@ -4353,6 +4456,7 @@ export interface components {
4353
4456
  type: components["schemas"]["FolderDtoType"];
4354
4457
  updatedAt: string;
4355
4458
  updatedBy?: number | null;
4459
+ user?: components["schemas"]["ResourceOwner"] | null;
4356
4460
  };
4357
4461
  /** @enum {string} */
4358
4462
  FolderDtoType: "FOLDER" | "WORKBOOK" | "REPORT";
@@ -4370,6 +4474,7 @@ export interface components {
4370
4474
  token: string;
4371
4475
  };
4372
4476
  GenerateSession: {
4477
+ branchName?: string | null;
4373
4478
  creatorMode?: boolean | null;
4374
4479
  deploymentId: number;
4375
4480
  email?: string | null;
@@ -4469,7 +4574,7 @@ export interface components {
4469
4574
  userCount?: number | null;
4470
4575
  };
4471
4576
  /** @enum {string} */
4472
- InheritedGroupPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
4577
+ InheritedGroupPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
4473
4578
  InheritedUserPolicyDto: {
4474
4579
  action: components["schemas"]["InheritedUserPolicyDtoAction"];
4475
4580
  email?: string | null;
@@ -4479,7 +4584,7 @@ export interface components {
4479
4584
  userId?: number | null;
4480
4585
  };
4481
4586
  /** @enum {string} */
4482
- InheritedUserPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
4587
+ InheritedUserPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
4483
4588
  JiraIssueType: {
4484
4589
  description?: string | null;
4485
4590
  iconUrl?: string | null;
@@ -4650,6 +4755,7 @@ export interface components {
4650
4755
  measuresAxis?: components["schemas"]["PivotItemsMeasuresAxis"] | null;
4651
4756
  measuresPosition?: components["schemas"]["PivotItemsMeasuresPosition"] | null;
4652
4757
  rows: string[];
4758
+ showAppliedFilters?: boolean | null;
4653
4759
  showColumnTotals?: boolean | null;
4654
4760
  };
4655
4761
  /** @enum {string} */
@@ -4662,6 +4768,7 @@ export interface components {
4662
4768
  measuresAxis?: components["schemas"]["PivotItemsInputMeasuresAxis"] | null;
4663
4769
  measuresPosition?: components["schemas"]["PivotItemsInputMeasuresPosition"] | null;
4664
4770
  rows: string[];
4771
+ showAppliedFilters?: boolean | null;
4665
4772
  showColumnTotals?: boolean | null;
4666
4773
  };
4667
4774
  /** @enum {string} */
@@ -4675,7 +4782,7 @@ export interface components {
4675
4782
  /** @enum {string} */
4676
4783
  PivotItemsMeasuresPosition: "before" | "after";
4677
4784
  Policy: {
4678
- actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
4785
+ actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
4679
4786
  resourceType: components["schemas"]["PolicyResourceType"];
4680
4787
  resources: string[];
4681
4788
  };
@@ -4998,7 +5105,7 @@ export interface components {
4998
5105
  userCount?: number | null;
4999
5106
  };
5000
5107
  /** @enum {string} */
5001
- ResourceGroupPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5108
+ ResourceGroupPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5002
5109
  ResourceOwner: {
5003
5110
  email: string;
5004
5111
  firstName?: string | null;
@@ -5019,9 +5126,13 @@ export interface components {
5019
5126
  userId?: number | null;
5020
5127
  };
5021
5128
  /** @enum {string} */
5022
- ResourceUserPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5129
+ ResourceUserPolicyDtoAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5130
+ RevokeEmbedSessionInput: {
5131
+ /** @description The session id returned by `POST /api/v1/embed/generate-session`. Works whether or not the session has already been exchanged for a token. */
5132
+ sessionId: string;
5133
+ };
5023
5134
  RoleWithAccess: {
5024
- actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
5135
+ actions: ("All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
5025
5136
  id: number;
5026
5137
  name: string;
5027
5138
  };
@@ -5100,10 +5211,13 @@ export interface components {
5100
5211
  manifest?: {
5101
5212
  [key: string]: any;
5102
5213
  } | null;
5214
+ output?: components["schemas"]["StartDbtSyncInputOutput"] | null;
5103
5215
  ref?: string | null;
5104
5216
  source?: components["schemas"]["StartDbtSyncInputSource"] | null;
5105
5217
  };
5106
5218
  /** @enum {string} */
5219
+ StartDbtSyncInputOutput: "branch" | "files";
5220
+ /** @enum {string} */
5107
5221
  StartDbtSyncInputSource: "git" | "manifest";
5108
5222
  StartDevModeRequest: {
5109
5223
  branchName?: string | null;
@@ -5132,6 +5246,10 @@ export interface components {
5132
5246
  oidcEnabled?: boolean | null;
5133
5247
  useAIBIUserInterface?: boolean | null;
5134
5248
  };
5249
+ TestDatabricksMetricViewAccessInput: {
5250
+ configurationVersion: number;
5251
+ previewId?: string | null;
5252
+ };
5135
5253
  ThemeFont: {
5136
5254
  family?: string | null;
5137
5255
  format: string;
@@ -5282,7 +5400,7 @@ export interface components {
5282
5400
  resourceType: components["schemas"]["UpdateResourceGroupPolicyBodyResourceType"];
5283
5401
  };
5284
5402
  /** @enum {string} */
5285
- UpdateResourceGroupPolicyBodyAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5403
+ UpdateResourceGroupPolicyBodyAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5286
5404
  /** @enum {string} */
5287
5405
  UpdateResourceGroupPolicyBodyResourceType: "Global" | "Deployment" | "Report" | "ReportFolder" | "Agent" | "AgentSpace" | "Workbook" | "Dashboard" | "Folder" | "ChatThread";
5288
5406
  UpdateResourceUserPolicyBody: {
@@ -5292,7 +5410,7 @@ export interface components {
5292
5410
  userId?: number | null;
5293
5411
  };
5294
5412
  /** @enum {string} */
5295
- UpdateResourceUserPolicyBodyAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5413
+ UpdateResourceUserPolicyBodyAction: "All" | "DeploymentsManage" | "DeploymentCreate" | "DeploymentRead" | "DeploymentUpdate" | "DeploymentDelete" | "SecretsManage" | "DownloadData" | "PlaygroundRead" | "SchemaRead" | "SchemaUpdate" | "SchemaUpdateDevBranches" | "APMRead" | "ChatHistoryRead" | "PreAggregationBuild" | "AlertsCreate" | "AlertsRead" | "AlertsUpdate" | "AlertsDelete" | "AuditLogManage" | "BillingRead" | "SqlRunnerRead" | "DataAssetsRead" | "DataAssetsManage" | "CubeNetworkConnect" | "ReportRead" | "ReportEdit" | "ReportManage" | "WorkbookManage" | "WorkbookRead" | "WorkbookEdit" | "ChatThreadRead" | "AgentManage" | "AgentRead" | "AgentSpaceManage" | "AgentAdmin" | "DeploymentAgentRead" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5296
5414
  /** @enum {string} */
5297
5415
  UpdateResourceUserPolicyBodyResourceType: "Global" | "Deployment" | "Report" | "ReportFolder" | "Agent" | "AgentSpace" | "Workbook" | "Dashboard" | "Folder" | "ChatThread";
5298
5416
  UpdateWorkbookInput: {
@@ -6349,6 +6467,33 @@ export interface operations {
6349
6467
  };
6350
6468
  };
6351
6469
  };
6470
+ "DatabricksMetricViewIntegrationPublicController.testAccess": {
6471
+ parameters: {
6472
+ query?: never;
6473
+ header?: never;
6474
+ path: {
6475
+ deploymentId: number;
6476
+ dataSourceName: string;
6477
+ };
6478
+ cookie?: never;
6479
+ };
6480
+ /** @description TestDatabricksMetricViewAccessInput */
6481
+ requestBody: {
6482
+ content: {
6483
+ "application/json": components["schemas"]["TestDatabricksMetricViewAccessInput"];
6484
+ };
6485
+ };
6486
+ responses: {
6487
+ 200: {
6488
+ headers: {
6489
+ [name: string]: any;
6490
+ };
6491
+ content: {
6492
+ "application/json": components["schemas"]["DatabricksMetricViewAccessTestResponse"];
6493
+ };
6494
+ };
6495
+ };
6496
+ };
6352
6497
  "DatabricksMetricViewPublicationPublicController.startPreview": {
6353
6498
  parameters: {
6354
6499
  query?: never;
@@ -6538,6 +6683,31 @@ export interface operations {
6538
6683
  };
6539
6684
  };
6540
6685
  };
6686
+ "DbtSyncPublicController.getDbtSyncGeneratedFiles": {
6687
+ parameters: {
6688
+ query?: {
6689
+ after?: string | null;
6690
+ first?: number | null;
6691
+ };
6692
+ header?: never;
6693
+ path: {
6694
+ deploymentId: number;
6695
+ syncJobId: string;
6696
+ };
6697
+ cookie?: never;
6698
+ };
6699
+ requestBody?: never;
6700
+ responses: {
6701
+ 200: {
6702
+ headers: {
6703
+ [name: string]: any;
6704
+ };
6705
+ content: {
6706
+ "application/json": components["schemas"]["DbtSyncGeneratedFilesListResponse"];
6707
+ };
6708
+ };
6709
+ };
6710
+ };
6541
6711
  "DbtSyncPublicController.getDbtSyncLogs": {
6542
6712
  parameters: {
6543
6713
  query?: never;
@@ -8567,6 +8737,38 @@ export interface operations {
8567
8737
  };
8568
8738
  };
8569
8739
  };
8740
+ "EmbedPublicController.revokeSession": {
8741
+ parameters: {
8742
+ query?: never;
8743
+ header?: never;
8744
+ path?: never;
8745
+ cookie?: never;
8746
+ };
8747
+ /** @description RevokeEmbedSessionInput */
8748
+ requestBody?: {
8749
+ content: {
8750
+ "application/json": components["schemas"]["RevokeEmbedSessionInput"];
8751
+ };
8752
+ };
8753
+ responses: {
8754
+ /** @description Successful response */
8755
+ 200: {
8756
+ headers: {
8757
+ [name: string]: any;
8758
+ };
8759
+ content: {
8760
+ "application/json": any;
8761
+ };
8762
+ };
8763
+ /** @description Session revoked, or did not exist. */
8764
+ 204: {
8765
+ headers: {
8766
+ [name: string]: any;
8767
+ };
8768
+ content?: never;
8769
+ };
8770
+ };
8771
+ };
8570
8772
  "EmbedPublicController.postTokenBySessionId": {
8571
8773
  parameters: {
8572
8774
  query?: never;