@cube-dev/platform-client 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/schema.d.ts CHANGED
@@ -381,6 +381,88 @@ export interface paths {
381
381
  patch?: never;
382
382
  trace?: never;
383
383
  };
384
+ "/api/v1/deployments/{deploymentId}/databricks-metric-view-integrations/{dataSourceName}": {
385
+ parameters: {
386
+ query?: never;
387
+ header?: never;
388
+ path?: never;
389
+ cookie?: never;
390
+ };
391
+ /**
392
+ * Get Databricks Metric View publication settings
393
+ * @description Requires a Databricks datasource. This is currently in preview — reach out to the Cube support team to activate it for your account.
394
+ */
395
+ get: operations["DatabricksMetricViewIntegrationPublicController.getIntegration"];
396
+ /**
397
+ * Create or update Databricks Metric View publication settings
398
+ * @description Uses optimistic configuration versioning. Pass `expectedConfigurationVersion` 0 to create. Requires a Databricks datasource. This is currently in preview — reach out to the Cube support team to activate it for your account.
399
+ */
400
+ put: operations["DatabricksMetricViewIntegrationPublicController.saveIntegration"];
401
+ post?: never;
402
+ delete?: never;
403
+ options?: never;
404
+ head?: never;
405
+ patch?: never;
406
+ trace?: never;
407
+ };
408
+ "/api/v1/deployments/{deploymentId}/databricks-metric-view-previews": {
409
+ parameters: {
410
+ query?: never;
411
+ header?: never;
412
+ path?: never;
413
+ cookie?: never;
414
+ };
415
+ get?: never;
416
+ put?: never;
417
+ /**
418
+ * Start a Databricks Metric View publication preview
419
+ * @description Queues an offline conversion of static YAML from the deployment's latest successful build and returns polling URLs immediately. Exact retries while the same content-addressed preview is running reuse that work; a later submission starts a fresh execution. Preview payloads and results are retained for at most seven days. The conversion supports scalar dimensions, common and calculated measures, and acyclic many-to-one equi-joins from one Databricks datasource. Access policies, templating, extends, unsafe fanout, unsupported expressions, multiple datasources, and converter loss are blocked per view. Two-part schema.table sources are qualified with `CUBEJS_DB_DATABRICKS_CATALOG` for the selected datasource; without that setting they fail closed with an actionable issue. Requires `SchemaRead` or `SchemaUpdate` access. This is currently in preview — reach out to the Cube support team to activate it for your account.
420
+ */
421
+ post: operations["DatabricksMetricViewPublicationPublicController.startPreview"];
422
+ delete?: never;
423
+ options?: never;
424
+ head?: never;
425
+ patch?: never;
426
+ trace?: never;
427
+ };
428
+ "/api/v1/deployments/{deploymentId}/databricks-metric-view-previews/{previewId}": {
429
+ parameters: {
430
+ query?: never;
431
+ header?: never;
432
+ path?: never;
433
+ cookie?: never;
434
+ };
435
+ /** Get Databricks Metric View preview status */
436
+ get: operations["DatabricksMetricViewPublicationPublicController.previewStatus"];
437
+ put?: never;
438
+ post?: never;
439
+ /** Cancel a Databricks Metric View preview */
440
+ delete: operations["DatabricksMetricViewPublicationPublicController.cancelPreview"];
441
+ options?: never;
442
+ head?: never;
443
+ patch?: never;
444
+ trace?: never;
445
+ };
446
+ "/api/v1/deployments/{deploymentId}/databricks-metric-view-previews/{previewId}/result": {
447
+ parameters: {
448
+ query?: never;
449
+ header?: never;
450
+ path?: never;
451
+ cookie?: never;
452
+ };
453
+ /**
454
+ * Get a completed Databricks Metric View preview result
455
+ * @description Returns 409 while the preview is still running or if it ended without a conversion result.
456
+ */
457
+ get: operations["DatabricksMetricViewPublicationPublicController.previewResult"];
458
+ put?: never;
459
+ post?: never;
460
+ delete?: never;
461
+ options?: never;
462
+ head?: never;
463
+ patch?: never;
464
+ trace?: never;
465
+ };
384
466
  "/api/v1/deployments/{deploymentId}/dbt-sync": {
385
467
  parameters: {
386
468
  query?: never;
@@ -451,6 +533,36 @@ export interface paths {
451
533
  patch?: never;
452
534
  trace?: never;
453
535
  };
536
+ "/api/v1/deployments/{deploymentId}/embed-tenants/{embedTenantName}/workbooks": {
537
+ parameters: {
538
+ query?: never;
539
+ header?: never;
540
+ path?: never;
541
+ cookie?: never;
542
+ };
543
+ /**
544
+ * List workbooks accessible to an embed tenant
545
+ * @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.
546
+ *
547
+ * Return every workbook the named embed tenant can access in this deployment. Effective access includes workbooks shared directly with the tenant, workbooks shared with all embed users, and workbooks inherited from shared folders. Supports `first`/`after` cursor pagination.
548
+ *
549
+ * Filter workbooks by how access is granted:
550
+ *
551
+ * - `tenant`: the workbook itself is explicitly shared with the named embed tenant. Excludes workbooks available only through the all-embed-users group or a shared folder.
552
+ * - `allEmbedUsers`: the workbook itself is explicitly shared with the built-in all-embed-users group, making it available to every embed tenant. Excludes tenant-specific direct shares and folder-inherited access.
553
+ * - `folder`: access is inherited because the workbook is inside a shared folder or any of its descendant folders. The folder may be shared specifically with the named tenant or with all embed users.
554
+ *
555
+ * Omit this parameter to return the union of all three access sources. A workbook can match more than one source.
556
+ */
557
+ get: operations["DashboardEmbedAccessPublicController.listEmbedTenantWorkbooks"];
558
+ put?: never;
559
+ post?: never;
560
+ delete?: never;
561
+ options?: never;
562
+ head?: never;
563
+ patch?: never;
564
+ trace?: never;
565
+ };
454
566
  "/api/v1/deployments/{deploymentId}/env-vars": {
455
567
  parameters: {
456
568
  query?: never;
@@ -1565,6 +1677,112 @@ export interface paths {
1565
1677
  patch: operations["EmbedPublicController.updateDashboardEmbedding"];
1566
1678
  trace?: never;
1567
1679
  };
1680
+ "/api/v1/embed/dashboard/{publicId}/comments": {
1681
+ parameters: {
1682
+ query?: never;
1683
+ header?: never;
1684
+ path?: never;
1685
+ cookie?: never;
1686
+ };
1687
+ /**
1688
+ * List comment threads on an embeddable dashboard
1689
+ * @description Returns one page of comment threads — each a root comment plus its replies, oldest first — for the dashboard identified by its `publicId`, scoped to the caller's embed tenant.
1690
+ *
1691
+ * Threads are ordered newest-first by when they started, so a thread holds its place while it is being replied to. Open threads are returned by default; pass `includeResolved` to widen the page to resolved ones too, or `resolvedOnly` to replace the set with just those.
1692
+ *
1693
+ * A comment whose author deleted it is returned with an empty `body` and `removedAt` set, so a thread keeps its shape and the surviving replies stay readable.
1694
+ *
1695
+ * Requires a signed embed session scoped to an embed tenant. Every comment endpoint does: a conversation lives inside one embed tenant's partition, so a credential that names no tenant — an API key, a console session — has no conversation to be served and receives `403`.
1696
+ */
1697
+ get: operations["EmbedPublicController.listDashboardComments"];
1698
+ put?: never;
1699
+ /**
1700
+ * Post a comment on an embeddable dashboard
1701
+ * @description Starts a thread, or replies to one when `parentId` names a thread root.
1702
+ *
1703
+ * The comment is attributed to the calling embed user — the author is taken from the signed session, never from the request body. Nesting is one level deep: replying to a reply returns `400`, and `404` covers a `parentId` that names a comment on another dashboard, a deleted thread, or nothing at all.
1704
+ */
1705
+ post: operations["EmbedPublicController.createDashboardComment"];
1706
+ delete?: never;
1707
+ options?: never;
1708
+ head?: never;
1709
+ patch?: never;
1710
+ trace?: never;
1711
+ };
1712
+ "/api/v1/embed/dashboard/{publicId}/comments/mentionable-users": {
1713
+ parameters: {
1714
+ query?: never;
1715
+ header?: never;
1716
+ path?: never;
1717
+ cookie?: never;
1718
+ };
1719
+ /**
1720
+ * List embed users mentionable in a dashboard comment
1721
+ * @description Returns one page of the caller's fellow embed users, for a mention autocomplete, ordered by username.
1722
+ *
1723
+ * Scoped to the caller's own embed tenant and to embed users only — console users of the host tenant are never returned. Pass `search` to filter by username or email. `email` may be `null`: `username` is the only identity field an embed user is guaranteed to have.
1724
+ */
1725
+ get: operations["EmbedPublicController.listMentionableEmbedUsers"];
1726
+ put?: never;
1727
+ post?: never;
1728
+ delete?: never;
1729
+ options?: never;
1730
+ head?: never;
1731
+ patch?: never;
1732
+ trace?: never;
1733
+ };
1734
+ "/api/v1/embed/dashboard/{publicId}/comments/{commentId}": {
1735
+ parameters: {
1736
+ query?: never;
1737
+ header?: never;
1738
+ path?: never;
1739
+ cookie?: never;
1740
+ };
1741
+ get?: never;
1742
+ put?: never;
1743
+ post?: never;
1744
+ /**
1745
+ * Delete a comment on an embeddable dashboard
1746
+ * @description Soft-deletes a comment. Author only.
1747
+ *
1748
+ * Deleting a thread root takes its replies with it, so a deleted thread leaves nothing behind. Deleting a reply re-derives its thread's last-activity marker, so the thread does not keep its position on the strength of a message that is gone.
1749
+ */
1750
+ delete: operations["EmbedPublicController.removeDashboardComment"];
1751
+ options?: never;
1752
+ head?: never;
1753
+ /**
1754
+ * Edit a comment on an embeddable dashboard
1755
+ * @description Replaces a comment's body and stamps `editedAt`.
1756
+ *
1757
+ * Author only: another embed user's comment returns `403`, and a comment that is not on this dashboard returns `404` rather than revealing that it exists elsewhere.
1758
+ */
1759
+ patch: operations["EmbedPublicController.updateDashboardComment"];
1760
+ trace?: never;
1761
+ };
1762
+ "/api/v1/embed/dashboard/{publicId}/comments/{commentId}/resolve": {
1763
+ parameters: {
1764
+ query?: never;
1765
+ header?: never;
1766
+ path?: never;
1767
+ cookie?: never;
1768
+ };
1769
+ get?: never;
1770
+ put?: never;
1771
+ /**
1772
+ * Resolve or re-open a comment thread
1773
+ * @description Marks a thread resolved, or re-opens it. Author only — the embed user who started the thread.
1774
+ *
1775
+ * The console surface is wider: there, a workbook editor may also resolve someone else's thread. That branch has no analogue here, because an embed viewer holds no workbook rights at all, so authorship is the whole rule.
1776
+ *
1777
+ * Threads only — a reply has no resolve state of its own, and one carrying it would put two answers on the same thread, so `400` is returned for a reply's id. A thread whose root was deleted while replies survive is still resolvable, or it would sit in the unresolved list forever.
1778
+ */
1779
+ post: operations["EmbedPublicController.setDashboardCommentResolved"];
1780
+ delete?: never;
1781
+ options?: never;
1782
+ head?: never;
1783
+ patch?: never;
1784
+ trace?: never;
1785
+ };
1568
1786
  "/api/v1/embed/dashboard/{publicId}/python-run": {
1569
1787
  parameters: {
1570
1788
  query?: never;
@@ -2818,6 +3036,7 @@ export interface components {
2818
3036
  applyThemeGlobally: boolean;
2819
3037
  creatorMode?: components["schemas"]["CreatorMode"] | null;
2820
3038
  embedding?: components["schemas"]["EmbedSettings"] | null;
3039
+ sheetsAgentChatEnabled: boolean;
2821
3040
  sheetsUi?: components["schemas"]["SheetsUiSettings"] | null;
2822
3041
  timezoneSettings?: components["schemas"]["TimezoneSettings"] | null;
2823
3042
  };
@@ -3050,6 +3269,10 @@ export interface components {
3050
3269
  CreateDeploymentTokenInput: {
3051
3270
  expiresIn?: number | null;
3052
3271
  };
3272
+ CreateEmbedDashboardCommentBody: {
3273
+ body: string;
3274
+ parentId?: number | null;
3275
+ };
3053
3276
  CreateEmbedGroupInput: {
3054
3277
  description?: string | null;
3055
3278
  /** @description Group name, unique within the embed tenant. The `system:` prefix is reserved and rejected. */
@@ -3486,6 +3709,153 @@ export interface components {
3486
3709
  DataModelWriteResponse: {
3487
3710
  success: boolean;
3488
3711
  };
3712
+ DatabricksMetricViewIntegrationConfigurationResponse: {
3713
+ deletionPolicy: components["schemas"]["DatabricksMetricViewIntegrationConfigurationResponseDeletionPolicy"];
3714
+ enabled: boolean;
3715
+ selectionMode: components["schemas"]["DatabricksMetricViewIntegrationConfigurationResponseSelectionMode"];
3716
+ sourceOverrides?: {
3717
+ [key: string]: string;
3718
+ } | null;
3719
+ targetCatalog: string;
3720
+ targetNamePrefix?: string | null;
3721
+ targetNames?: {
3722
+ [key: string]: string;
3723
+ } | null;
3724
+ targetSchema: string;
3725
+ version: components["schemas"]["DatabricksMetricViewIntegrationConfigurationResponseVersion"];
3726
+ viewNameRegex?: string | null;
3727
+ viewNames?: string[] | null;
3728
+ };
3729
+ /** @enum {string} */
3730
+ DatabricksMetricViewIntegrationConfigurationResponseDeletionPolicy: "retain" | "delete-managed";
3731
+ /** @enum {string} */
3732
+ DatabricksMetricViewIntegrationConfigurationResponseSelectionMode: "all" | "selected" | "pattern";
3733
+ /** @enum {number} */
3734
+ DatabricksMetricViewIntegrationConfigurationResponseVersion: 1;
3735
+ DatabricksMetricViewIntegrationResponse: {
3736
+ accessTest?: Record<string, never> | null;
3737
+ configuration: components["schemas"]["DatabricksMetricViewIntegrationConfigurationResponse"];
3738
+ configurationVersion: number;
3739
+ createdAt: string;
3740
+ dataSourceName: string;
3741
+ deploymentId: number;
3742
+ publicId: string;
3743
+ updatedAt: string;
3744
+ };
3745
+ DatabricksMetricViewPublicationCounts: {
3746
+ dimensions: number;
3747
+ errors: number;
3748
+ joins: number;
3749
+ measures: number;
3750
+ warnings: number;
3751
+ };
3752
+ DatabricksMetricViewPublicationDatasetSource: {
3753
+ dataSource: string;
3754
+ dataset: string;
3755
+ originalSource: string;
3756
+ resolvedSource: string;
3757
+ };
3758
+ DatabricksMetricViewPublicationIssue: {
3759
+ code: string;
3760
+ element?: string | null;
3761
+ message: string;
3762
+ severity: components["schemas"]["DatabricksMetricViewPublicationIssueSeverity"];
3763
+ stage: components["schemas"]["DatabricksMetricViewPublicationIssueStage"];
3764
+ };
3765
+ /** @enum {string} */
3766
+ DatabricksMetricViewPublicationIssueSeverity: "ERROR" | "WARNING";
3767
+ /** @enum {string} */
3768
+ DatabricksMetricViewPublicationIssueStage: "INPUT" | "VIEW_PROJECTION" | "OSSIE_VALIDATION" | "OSSIE_TO_DATABRICKS" | "OUTPUT_VALIDATION" | "EXECUTION";
3769
+ DatabricksMetricViewPublicationPreviewInput: {
3770
+ dataSourceName: string;
3771
+ selectionMode: components["schemas"]["DatabricksMetricViewPublicationPreviewInputSelectionMode"];
3772
+ sourceOverrides?: {
3773
+ [key: string]: string;
3774
+ } | null;
3775
+ targetNames?: {
3776
+ [key: string]: string;
3777
+ } | null;
3778
+ viewNameRegex?: string | null;
3779
+ viewNames?: string[] | null;
3780
+ };
3781
+ /** @enum {string} */
3782
+ DatabricksMetricViewPublicationPreviewInputSelectionMode: "all" | "selected" | "pattern";
3783
+ DatabricksMetricViewPublicationPreviewResultResponse: {
3784
+ buildJobId: number;
3785
+ commit?: string | null;
3786
+ completedAt: string;
3787
+ dataSourceName: string;
3788
+ deploymentId: number;
3789
+ durationMs: number;
3790
+ outcome: components["schemas"]["DatabricksMetricViewPublicationPreviewResultResponseOutcome"];
3791
+ previewId: string;
3792
+ runtime: components["schemas"]["DatabricksMetricViewPublicationRuntime"];
3793
+ sourceSha256: string;
3794
+ version: components["schemas"]["DatabricksMetricViewPublicationPreviewResultResponseVersion"];
3795
+ views: components["schemas"]["DatabricksMetricViewPublicationViewResult"][];
3796
+ };
3797
+ /** @enum {string} */
3798
+ DatabricksMetricViewPublicationPreviewResultResponseOutcome: "success" | "partial" | "failed";
3799
+ /** @enum {integer} */
3800
+ DatabricksMetricViewPublicationPreviewResultResponseVersion: 2;
3801
+ DatabricksMetricViewPublicationPreviewStartResponse: {
3802
+ buildJobId: number;
3803
+ commit?: string | null;
3804
+ dataSourceName: string;
3805
+ deploymentId: number;
3806
+ previewId: string;
3807
+ resultUrl: string;
3808
+ reused: boolean;
3809
+ status: components["schemas"]["DatabricksMetricViewPublicationPreviewStartResponseStatus"];
3810
+ statusUrl: string;
3811
+ };
3812
+ /** @enum {string} */
3813
+ DatabricksMetricViewPublicationPreviewStartResponseStatus: "QUEUED";
3814
+ DatabricksMetricViewPublicationPreviewStatusResponse: {
3815
+ dataSourceName: string;
3816
+ deploymentId: number;
3817
+ error?: string | null;
3818
+ previewId: string;
3819
+ progress: components["schemas"]["DatabricksMetricViewPublicationProgress"];
3820
+ resultAvailable: boolean;
3821
+ startedAt: string;
3822
+ status: components["schemas"]["DatabricksMetricViewPublicationPreviewStatusResponseStatus"];
3823
+ updatedAt: string;
3824
+ };
3825
+ /** @enum {string} */
3826
+ DatabricksMetricViewPublicationPreviewStatusResponseStatus: "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED";
3827
+ DatabricksMetricViewPublicationProgress: {
3828
+ message: string;
3829
+ percentComplete: number;
3830
+ stage: components["schemas"]["DatabricksMetricViewPublicationProgressStage"];
3831
+ };
3832
+ /** @enum {string} */
3833
+ DatabricksMetricViewPublicationProgressStage: "QUEUED" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED";
3834
+ DatabricksMetricViewPublicationRuntime: {
3835
+ bridgeCommit: string;
3836
+ bridgeVersion: string;
3837
+ cubeConverterVersion: string;
3838
+ databricksConverterVersion: string;
3839
+ ossieCommit: string;
3840
+ ossieCoreVersion: string;
3841
+ policyVersion: number;
3842
+ runnerVersion: string;
3843
+ templateName: string;
3844
+ };
3845
+ DatabricksMetricViewPublicationViewResult: {
3846
+ counts: components["schemas"]["DatabricksMetricViewPublicationCounts"];
3847
+ cubeViewName: string;
3848
+ datasetSources: components["schemas"]["DatabricksMetricViewPublicationDatasetSource"][];
3849
+ eligibleForPublication: boolean;
3850
+ issues: components["schemas"]["DatabricksMetricViewPublicationIssue"][];
3851
+ metricViewName: string;
3852
+ metricViewSha256?: string | null;
3853
+ metricViewYaml?: string | null;
3854
+ outcome: components["schemas"]["DatabricksMetricViewPublicationViewResultOutcome"];
3855
+ source?: string | null;
3856
+ };
3857
+ /** @enum {string} */
3858
+ DatabricksMetricViewPublicationViewResultOutcome: "success" | "failed";
3489
3859
  DbtSyncCancelResponse: {
3490
3860
  message: string;
3491
3861
  };
@@ -3548,6 +3918,8 @@ export interface components {
3548
3918
  gitRef?: string | null;
3549
3919
  lastStage?: string | null;
3550
3920
  phases?: components["schemas"]["DbtSyncRunPhase"][] | null;
3921
+ /** @description Where this sync got its dbt metadata: `git` (Cube cloned the dbt repository and ran dbt) or `manifest` (the caller uploaded a `manifest.json` and no repository was accessed). Runs predating the manifest source report `git`. */
3922
+ source: string;
3551
3923
  /** @description When the sync started, as an ISO 8601 timestamp. See completedAt before comparing the two. */
3552
3924
  startedAt: string;
3553
3925
  stats?: components["schemas"]["DbtSyncRunStats"] | null;
@@ -3575,8 +3947,10 @@ export interface components {
3575
3947
  };
3576
3948
  DbtSyncRunStats: {
3577
3949
  cubeCount?: number | null;
3950
+ dbtVersion?: string | null;
3578
3951
  generatedFileCount?: number | null;
3579
3952
  macros?: number | null;
3953
+ manifestGeneratedAt?: string | null;
3580
3954
  models?: number | null;
3581
3955
  sources?: number | null;
3582
3956
  };
@@ -3800,6 +4174,26 @@ export interface components {
3800
4174
  };
3801
4175
  /** @enum {string} */
3802
4176
  EmbedAccessTenantEntryAction: "read" | "none";
4177
+ EmbedDashboardCommentDto: {
4178
+ body: string;
4179
+ createdAt: string;
4180
+ dashboardId: string;
4181
+ editedAt?: (string) | null;
4182
+ id: number;
4183
+ isOwn: boolean;
4184
+ removedAt?: (string) | null;
4185
+ userId?: number | null;
4186
+ };
4187
+ EmbedDashboardCommentThreadDto: {
4188
+ replies: components["schemas"]["EmbedDashboardCommentDto"][];
4189
+ resolvedAt?: (string) | null;
4190
+ resolvedBy?: number | null;
4191
+ root: components["schemas"]["EmbedDashboardCommentDto"];
4192
+ };
4193
+ EmbedDashboardCommentThreadsListResponse: {
4194
+ items: components["schemas"]["EmbedDashboardCommentThreadDto"][];
4195
+ pageInfo: components["schemas"]["PageInfo"];
4196
+ };
3803
4197
  EmbedGroupMemberInput: {
3804
4198
  embedUserId?: number | null;
3805
4199
  externalId?: string | null;
@@ -3812,19 +4206,41 @@ export interface components {
3812
4206
  addedMembers: components["schemas"]["EmbedUser"][];
3813
4207
  unchangedMembers: components["schemas"]["EmbedUser"][];
3814
4208
  };
4209
+ EmbedMentionableUserDto: {
4210
+ email?: string | null;
4211
+ firstName?: string | null;
4212
+ id: number;
4213
+ username: string;
4214
+ };
4215
+ EmbedMentionableUsersListResponse: {
4216
+ items: components["schemas"]["EmbedMentionableUserDto"][];
4217
+ pageInfo: components["schemas"]["PageInfo"];
4218
+ };
3815
4219
  EmbedPythonFilteredRunInput: {
3816
4220
  reportId: number;
3817
4221
  reportVersionId: number;
3818
4222
  sqlQuery: string;
3819
4223
  };
3820
4224
  EmbedSessionSettings: {
4225
+ allowAi?: boolean | null;
3821
4226
  allowChatWorkspaceAuthoring?: boolean | null;
4227
+ locale?: string | null;
4228
+ showAiWidgets?: boolean | null;
3822
4229
  showDashboardChat?: boolean | null;
4230
+ showDashboardSettings?: boolean | null;
4231
+ showGroupByCube?: boolean | null;
4232
+ showMemberNames?: boolean | null;
4233
+ showWorkbookChat?: boolean | null;
4234
+ showWorkbookShare?: boolean | null;
4235
+ timezone?: string | null;
3823
4236
  };
3824
4237
  EmbedSettings: {
4238
+ allowAi?: boolean | null;
3825
4239
  enableDashboardComments?: boolean | null;
3826
4240
  locale?: string | null;
4241
+ showAiWidgets?: boolean | null;
3827
4242
  showDashboardChat?: boolean | null;
4243
+ showWorkbookChat?: boolean | null;
3828
4244
  timezone?: string | null;
3829
4245
  };
3830
4246
  EmbedTenant: {
@@ -3837,6 +4253,12 @@ export interface components {
3837
4253
  EmbedTenantProfile: {
3838
4254
  displayName?: string | null;
3839
4255
  };
4256
+ /** @enum {string} */
4257
+ EmbedTenantWorkbooksListQueryAccessSource: "tenant" | "allEmbedUsers" | "folder";
4258
+ EmbedTenantWorkbooksListResponse: {
4259
+ items: components["schemas"]["Workbook"][];
4260
+ pageInfo: components["schemas"]["PageInfo"];
4261
+ };
3840
4262
  EmbedTenantsPublicResponse: {
3841
4263
  items: components["schemas"]["EmbedTenant"][];
3842
4264
  pageInfo: components["schemas"]["PageInfo"];
@@ -4603,6 +5025,28 @@ export interface components {
4603
5025
  id: number;
4604
5026
  name: string;
4605
5027
  };
5028
+ SaveDatabricksMetricViewIntegrationInput: {
5029
+ deletionPolicy?: components["schemas"]["SaveDatabricksMetricViewIntegrationInputDeletionPolicy"];
5030
+ enabled: boolean;
5031
+ /** @description Use 0 to create; otherwise pass the configurationVersion returned by GET. */
5032
+ expectedConfigurationVersion: number;
5033
+ selectionMode: components["schemas"]["SaveDatabricksMetricViewIntegrationInputSelectionMode"];
5034
+ sourceOverrides?: {
5035
+ [key: string]: string;
5036
+ };
5037
+ targetCatalog: string;
5038
+ targetNamePrefix?: string;
5039
+ targetNames?: {
5040
+ [key: string]: string;
5041
+ };
5042
+ targetSchema: string;
5043
+ viewNameRegex?: string;
5044
+ viewNames?: string[];
5045
+ };
5046
+ /** @enum {string} */
5047
+ SaveDatabricksMetricViewIntegrationInputDeletionPolicy: "retain" | "delete-managed";
5048
+ /** @enum {string} */
5049
+ SaveDatabricksMetricViewIntegrationInputSelectionMode: "all" | "selected" | "pattern";
4606
5050
  SetBranchStagingEnvironmentRequest: {
4607
5051
  branchId?: number | null;
4608
5052
  branchName?: string | null;
@@ -4611,6 +5055,9 @@ export interface components {
4611
5055
  SetBranchStagingEnvironmentResponse: {
4612
5056
  data: components["schemas"]["BranchResponse"];
4613
5057
  };
5058
+ SetEmbedDashboardCommentResolvedBody: {
5059
+ resolved: boolean;
5060
+ };
4614
5061
  SetEnvVariablesInput: {
4615
5062
  env_variables: components["schemas"]["EnvVariableItem"][];
4616
5063
  };
@@ -4650,8 +5097,14 @@ export interface components {
4650
5097
  StartDashboardExportInputFormat: "png" | "pdf";
4651
5098
  StartDbtSyncInput: {
4652
5099
  branchName?: string | null;
5100
+ manifest?: {
5101
+ [key: string]: any;
5102
+ } | null;
4653
5103
  ref?: string | null;
5104
+ source?: components["schemas"]["StartDbtSyncInputSource"] | null;
4654
5105
  };
5106
+ /** @enum {string} */
5107
+ StartDbtSyncInputSource: "git" | "manifest";
4655
5108
  StartDevModeRequest: {
4656
5109
  branchName?: string | null;
4657
5110
  };
@@ -4740,6 +5193,9 @@ export interface components {
4740
5193
  };
4741
5194
  /** @enum {string} */
4742
5195
  UpdateEmbedAccessInputAction: "read" | "none";
5196
+ UpdateEmbedDashboardCommentBody: {
5197
+ body: string;
5198
+ };
4743
5199
  UpdateEmbedGroupInput: {
4744
5200
  description?: string | null;
4745
5201
  };
@@ -5844,17 +6300,13 @@ export interface operations {
5844
6300
  };
5845
6301
  };
5846
6302
  };
5847
- "DbtSyncPublicController.listDbtSyncs": {
6303
+ "DatabricksMetricViewIntegrationPublicController.getIntegration": {
5848
6304
  parameters: {
5849
- query?: {
5850
- status?: components["schemas"]["DbtSyncRunsQueryStatus"] | null;
5851
- trigger?: components["schemas"]["DbtSyncRunsQueryTrigger"] | null;
5852
- after?: string;
5853
- first?: number;
5854
- };
6305
+ query?: never;
5855
6306
  header?: never;
5856
6307
  path: {
5857
6308
  deploymentId: number;
6309
+ dataSourceName: string;
5858
6310
  };
5859
6311
  cookie?: never;
5860
6312
  };
@@ -5865,24 +6317,25 @@ export interface operations {
5865
6317
  [name: string]: any;
5866
6318
  };
5867
6319
  content: {
5868
- "application/json": components["schemas"]["DbtSyncRunListResponse"];
6320
+ "application/json": components["schemas"]["DatabricksMetricViewIntegrationResponse"];
5869
6321
  };
5870
6322
  };
5871
6323
  };
5872
6324
  };
5873
- "DbtSyncPublicController.startDbtSync": {
6325
+ "DatabricksMetricViewIntegrationPublicController.saveIntegration": {
5874
6326
  parameters: {
5875
6327
  query?: never;
5876
6328
  header?: never;
5877
6329
  path: {
5878
6330
  deploymentId: number;
6331
+ dataSourceName: string;
5879
6332
  };
5880
6333
  cookie?: never;
5881
6334
  };
5882
- /** @description StartDbtSyncInput */
6335
+ /** @description SaveDatabricksMetricViewIntegrationInput */
5883
6336
  requestBody?: {
5884
6337
  content: {
5885
- "application/json": components["schemas"]["StartDbtSyncInput"];
6338
+ "application/json": components["schemas"]["SaveDatabricksMetricViewIntegrationInput"];
5886
6339
  };
5887
6340
  };
5888
6341
  responses: {
@@ -5891,23 +6344,168 @@ export interface operations {
5891
6344
  [name: string]: any;
5892
6345
  };
5893
6346
  content: {
5894
- "application/json": components["schemas"]["DbtSyncResponse"];
6347
+ "application/json": components["schemas"]["DatabricksMetricViewIntegrationResponse"];
5895
6348
  };
5896
6349
  };
5897
6350
  };
5898
6351
  };
5899
- "DbtSyncPublicController.getDbtSyncStatus": {
6352
+ "DatabricksMetricViewPublicationPublicController.startPreview": {
5900
6353
  parameters: {
5901
6354
  query?: never;
5902
6355
  header?: never;
5903
6356
  path: {
5904
6357
  deploymentId: number;
5905
- syncJobId: string;
5906
6358
  };
5907
6359
  cookie?: never;
5908
6360
  };
5909
- requestBody?: never;
5910
- responses: {
6361
+ /** @description DatabricksMetricViewPublicationPreviewInput */
6362
+ requestBody: {
6363
+ content: {
6364
+ "application/json": components["schemas"]["DatabricksMetricViewPublicationPreviewInput"];
6365
+ };
6366
+ };
6367
+ responses: {
6368
+ 202: {
6369
+ headers: {
6370
+ [name: string]: any;
6371
+ };
6372
+ content: {
6373
+ "application/json": components["schemas"]["DatabricksMetricViewPublicationPreviewStartResponse"];
6374
+ };
6375
+ };
6376
+ };
6377
+ };
6378
+ "DatabricksMetricViewPublicationPublicController.previewStatus": {
6379
+ parameters: {
6380
+ query?: never;
6381
+ header?: never;
6382
+ path: {
6383
+ deploymentId: number;
6384
+ previewId: string;
6385
+ };
6386
+ cookie?: never;
6387
+ };
6388
+ requestBody?: never;
6389
+ responses: {
6390
+ 200: {
6391
+ headers: {
6392
+ [name: string]: any;
6393
+ };
6394
+ content: {
6395
+ "application/json": components["schemas"]["DatabricksMetricViewPublicationPreviewStatusResponse"];
6396
+ };
6397
+ };
6398
+ };
6399
+ };
6400
+ "DatabricksMetricViewPublicationPublicController.cancelPreview": {
6401
+ parameters: {
6402
+ query?: never;
6403
+ header?: never;
6404
+ path: {
6405
+ deploymentId: number;
6406
+ previewId: string;
6407
+ };
6408
+ cookie?: never;
6409
+ };
6410
+ requestBody?: never;
6411
+ responses: {
6412
+ /** @description Successful response */
6413
+ 200: {
6414
+ headers: {
6415
+ [name: string]: any;
6416
+ };
6417
+ content: {
6418
+ "application/json": any;
6419
+ };
6420
+ };
6421
+ };
6422
+ };
6423
+ "DatabricksMetricViewPublicationPublicController.previewResult": {
6424
+ parameters: {
6425
+ query?: never;
6426
+ header?: never;
6427
+ path: {
6428
+ deploymentId: number;
6429
+ previewId: string;
6430
+ };
6431
+ cookie?: never;
6432
+ };
6433
+ requestBody?: never;
6434
+ responses: {
6435
+ 200: {
6436
+ headers: {
6437
+ [name: string]: any;
6438
+ };
6439
+ content: {
6440
+ "application/json": components["schemas"]["DatabricksMetricViewPublicationPreviewResultResponse"];
6441
+ };
6442
+ };
6443
+ };
6444
+ };
6445
+ "DbtSyncPublicController.listDbtSyncs": {
6446
+ parameters: {
6447
+ query?: {
6448
+ status?: components["schemas"]["DbtSyncRunsQueryStatus"] | null;
6449
+ trigger?: components["schemas"]["DbtSyncRunsQueryTrigger"] | null;
6450
+ after?: string;
6451
+ first?: number;
6452
+ };
6453
+ header?: never;
6454
+ path: {
6455
+ deploymentId: number;
6456
+ };
6457
+ cookie?: never;
6458
+ };
6459
+ requestBody?: never;
6460
+ responses: {
6461
+ 200: {
6462
+ headers: {
6463
+ [name: string]: any;
6464
+ };
6465
+ content: {
6466
+ "application/json": components["schemas"]["DbtSyncRunListResponse"];
6467
+ };
6468
+ };
6469
+ };
6470
+ };
6471
+ "DbtSyncPublicController.startDbtSync": {
6472
+ parameters: {
6473
+ query?: never;
6474
+ header?: never;
6475
+ path: {
6476
+ deploymentId: number;
6477
+ };
6478
+ cookie?: never;
6479
+ };
6480
+ /** @description StartDbtSyncInput */
6481
+ requestBody?: {
6482
+ content: {
6483
+ "application/json": components["schemas"]["StartDbtSyncInput"];
6484
+ };
6485
+ };
6486
+ responses: {
6487
+ 200: {
6488
+ headers: {
6489
+ [name: string]: any;
6490
+ };
6491
+ content: {
6492
+ "application/json": components["schemas"]["DbtSyncResponse"];
6493
+ };
6494
+ };
6495
+ };
6496
+ };
6497
+ "DbtSyncPublicController.getDbtSyncStatus": {
6498
+ parameters: {
6499
+ query?: never;
6500
+ header?: never;
6501
+ path: {
6502
+ deploymentId: number;
6503
+ syncJobId: string;
6504
+ };
6505
+ cookie?: never;
6506
+ };
6507
+ requestBody?: never;
6508
+ responses: {
5911
6509
  200: {
5912
6510
  headers: {
5913
6511
  [name: string]: any;
@@ -5984,6 +6582,32 @@ export interface operations {
5984
6582
  };
5985
6583
  };
5986
6584
  };
6585
+ "DashboardEmbedAccessPublicController.listEmbedTenantWorkbooks": {
6586
+ parameters: {
6587
+ query?: {
6588
+ accessSource?: components["schemas"]["EmbedTenantWorkbooksListQueryAccessSource"] | null;
6589
+ after?: string;
6590
+ first?: number;
6591
+ };
6592
+ header?: never;
6593
+ path: {
6594
+ deploymentId: number;
6595
+ embedTenantName: string;
6596
+ };
6597
+ cookie?: never;
6598
+ };
6599
+ requestBody?: never;
6600
+ responses: {
6601
+ 200: {
6602
+ headers: {
6603
+ [name: string]: any;
6604
+ };
6605
+ content: {
6606
+ "application/json": components["schemas"]["EmbedTenantWorkbooksListResponse"];
6607
+ };
6608
+ };
6609
+ };
6610
+ };
5987
6611
  "EnvVariablesPublicController.getEnvVariables": {
5988
6612
  parameters: {
5989
6613
  query?: {
@@ -7739,6 +8363,160 @@ export interface operations {
7739
8363
  };
7740
8364
  };
7741
8365
  };
8366
+ "EmbedPublicController.listDashboardComments": {
8367
+ parameters: {
8368
+ query?: {
8369
+ includeResolved?: boolean | null;
8370
+ resolvedOnly?: boolean | null;
8371
+ after?: string;
8372
+ first?: number;
8373
+ };
8374
+ header?: never;
8375
+ path: {
8376
+ publicId: string;
8377
+ };
8378
+ cookie?: never;
8379
+ };
8380
+ requestBody?: never;
8381
+ responses: {
8382
+ 200: {
8383
+ headers: {
8384
+ [name: string]: any;
8385
+ };
8386
+ content: {
8387
+ "application/json": components["schemas"]["EmbedDashboardCommentThreadsListResponse"];
8388
+ };
8389
+ };
8390
+ };
8391
+ };
8392
+ "EmbedPublicController.createDashboardComment": {
8393
+ parameters: {
8394
+ query?: never;
8395
+ header?: never;
8396
+ path: {
8397
+ publicId: string;
8398
+ };
8399
+ cookie?: never;
8400
+ };
8401
+ /** @description CreateEmbedDashboardCommentBody */
8402
+ requestBody?: {
8403
+ content: {
8404
+ "application/json": components["schemas"]["CreateEmbedDashboardCommentBody"];
8405
+ };
8406
+ };
8407
+ responses: {
8408
+ 200: {
8409
+ headers: {
8410
+ [name: string]: any;
8411
+ };
8412
+ content: {
8413
+ "application/json": components["schemas"]["EmbedDashboardCommentDto"];
8414
+ };
8415
+ };
8416
+ };
8417
+ };
8418
+ "EmbedPublicController.listMentionableEmbedUsers": {
8419
+ parameters: {
8420
+ query?: {
8421
+ search?: string | null;
8422
+ after?: string;
8423
+ first?: number;
8424
+ };
8425
+ header?: never;
8426
+ path: {
8427
+ publicId: string;
8428
+ };
8429
+ cookie?: never;
8430
+ };
8431
+ requestBody?: never;
8432
+ responses: {
8433
+ 200: {
8434
+ headers: {
8435
+ [name: string]: any;
8436
+ };
8437
+ content: {
8438
+ "application/json": components["schemas"]["EmbedMentionableUsersListResponse"];
8439
+ };
8440
+ };
8441
+ };
8442
+ };
8443
+ "EmbedPublicController.removeDashboardComment": {
8444
+ parameters: {
8445
+ query?: never;
8446
+ header?: never;
8447
+ path: {
8448
+ publicId: string;
8449
+ commentId: number;
8450
+ };
8451
+ cookie?: never;
8452
+ };
8453
+ requestBody?: never;
8454
+ responses: {
8455
+ /** @description Successful response */
8456
+ 200: {
8457
+ headers: {
8458
+ [name: string]: any;
8459
+ };
8460
+ content: {
8461
+ "application/json": any;
8462
+ };
8463
+ };
8464
+ };
8465
+ };
8466
+ "EmbedPublicController.updateDashboardComment": {
8467
+ parameters: {
8468
+ query?: never;
8469
+ header?: never;
8470
+ path: {
8471
+ publicId: string;
8472
+ commentId: number;
8473
+ };
8474
+ cookie?: never;
8475
+ };
8476
+ /** @description UpdateEmbedDashboardCommentBody */
8477
+ requestBody?: {
8478
+ content: {
8479
+ "application/json": components["schemas"]["UpdateEmbedDashboardCommentBody"];
8480
+ };
8481
+ };
8482
+ responses: {
8483
+ 200: {
8484
+ headers: {
8485
+ [name: string]: any;
8486
+ };
8487
+ content: {
8488
+ "application/json": components["schemas"]["EmbedDashboardCommentDto"];
8489
+ };
8490
+ };
8491
+ };
8492
+ };
8493
+ "EmbedPublicController.setDashboardCommentResolved": {
8494
+ parameters: {
8495
+ query?: never;
8496
+ header?: never;
8497
+ path: {
8498
+ publicId: string;
8499
+ commentId: number;
8500
+ };
8501
+ cookie?: never;
8502
+ };
8503
+ /** @description SetEmbedDashboardCommentResolvedBody */
8504
+ requestBody?: {
8505
+ content: {
8506
+ "application/json": components["schemas"]["SetEmbedDashboardCommentResolvedBody"];
8507
+ };
8508
+ };
8509
+ responses: {
8510
+ 200: {
8511
+ headers: {
8512
+ [name: string]: any;
8513
+ };
8514
+ content: {
8515
+ "application/json": components["schemas"]["EmbedDashboardCommentThreadDto"];
8516
+ };
8517
+ };
8518
+ };
8519
+ };
7742
8520
  "EmbedPublicController.postDashboardPythonRun": {
7743
8521
  parameters: {
7744
8522
  query?: never;