@cube-dev/platform-client 0.10.0 → 0.12.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 +12 -0
- package/dist/schema.d.ts +302 -3
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,18 @@ 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.12.0] - 2026-09-20
|
|
13
|
+
### Deprecated
|
|
14
|
+
|
|
15
|
+
- The agent Jira/Atlassian integration is gone (CUB-4773). `Agent.integrations` (`AgentIntegrationsDto`, `AgentIntegrationsJiraDto`), `UpdateAgentInput.integrations`, the `atlassianConfig` / `jiraProjects` / `jiraIssueTypes` queries and `useD3AiJiraIntegration` are **deprecated, not removed** — they remain in the schema returning null/false so existing clients keep working, and are deleted in a later release (CUB-4781). Nothing reads or writes them: the OAuth callback, credential storage and token refresh behind them are gone.
|
|
16
|
+
|
|
17
|
+
## [0.11.0] - 2026-09-15
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- `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.
|
|
21
|
+
- `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.
|
|
22
|
+
- 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`.
|
|
23
|
+
|
|
12
24
|
## [0.10.0] - 2026-09-14
|
|
13
25
|
### Added
|
|
14
26
|
|
package/dist/schema.d.ts
CHANGED
|
@@ -425,6 +425,54 @@ export interface paths {
|
|
|
425
425
|
patch?: never;
|
|
426
426
|
trace?: never;
|
|
427
427
|
};
|
|
428
|
+
"/api/v1/deployments/{deploymentId}/databricks-metric-view-integrations/{dataSourceName}/syncs": {
|
|
429
|
+
parameters: {
|
|
430
|
+
query?: never;
|
|
431
|
+
header?: never;
|
|
432
|
+
path?: never;
|
|
433
|
+
cookie?: never;
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* List Databricks Metric View publication runs
|
|
437
|
+
* @description Durable run history for this datasource, newest first. It remains available after a run finishes. Requires a Databricks datasource. This is currently in preview — reach out to the Cube support team to activate it for your account.
|
|
438
|
+
*/
|
|
439
|
+
get: operations["DatabricksMetricViewIntegrationPublicController.listSyncs"];
|
|
440
|
+
put?: never;
|
|
441
|
+
/**
|
|
442
|
+
* Start a Databricks Metric View publication run
|
|
443
|
+
* @description Converts the configured Cube views from the deployment's latest successful build and creates or replaces each one's managed Databricks Metric View. Views publish independently: one that is incompatible, fails Databricks validation, or whose destination belongs to another integration keeps its last good definition and does not stop the others, and a view whose definition is unchanged is skipped without a Databricks write. One run per integration at a time; a second start while one is active returns 409. Requires a Databricks datasource, enabled publication settings, and SchemaUpdate access. This is currently in preview — reach out to the Cube support team to activate it for your account.
|
|
444
|
+
*/
|
|
445
|
+
post: operations["DatabricksMetricViewIntegrationPublicController.startSync"];
|
|
446
|
+
delete?: never;
|
|
447
|
+
options?: never;
|
|
448
|
+
head?: never;
|
|
449
|
+
patch?: never;
|
|
450
|
+
trace?: never;
|
|
451
|
+
};
|
|
452
|
+
"/api/v1/deployments/{deploymentId}/databricks-metric-view-integrations/{dataSourceName}/syncs/{runId}": {
|
|
453
|
+
parameters: {
|
|
454
|
+
query?: never;
|
|
455
|
+
header?: never;
|
|
456
|
+
path?: never;
|
|
457
|
+
cookie?: never;
|
|
458
|
+
};
|
|
459
|
+
/**
|
|
460
|
+
* Get a Databricks Metric View publication run
|
|
461
|
+
* @description Returns the run with its per-view outcomes, plus live stage and published counts while it is still active.
|
|
462
|
+
*/
|
|
463
|
+
get: operations["DatabricksMetricViewIntegrationPublicController.syncRun"];
|
|
464
|
+
put?: never;
|
|
465
|
+
post?: never;
|
|
466
|
+
/**
|
|
467
|
+
* Cancel a Databricks Metric View publication run
|
|
468
|
+
* @description Requests cancellation of an active run and returns its state. Metric Views already written in the run are not rolled back. Requires SchemaUpdate access.
|
|
469
|
+
*/
|
|
470
|
+
delete: operations["DatabricksMetricViewIntegrationPublicController.cancelSync"];
|
|
471
|
+
options?: never;
|
|
472
|
+
head?: never;
|
|
473
|
+
patch?: never;
|
|
474
|
+
trace?: never;
|
|
475
|
+
};
|
|
428
476
|
"/api/v1/deployments/{deploymentId}/databricks-metric-view-previews": {
|
|
429
477
|
parameters: {
|
|
430
478
|
query?: never;
|
|
@@ -1877,6 +1925,34 @@ export interface paths {
|
|
|
1877
1925
|
patch?: never;
|
|
1878
1926
|
trace?: never;
|
|
1879
1927
|
};
|
|
1928
|
+
"/api/v1/embed/session/revoke": {
|
|
1929
|
+
parameters: {
|
|
1930
|
+
query?: never;
|
|
1931
|
+
header?: never;
|
|
1932
|
+
path?: never;
|
|
1933
|
+
cookie?: never;
|
|
1934
|
+
};
|
|
1935
|
+
get?: never;
|
|
1936
|
+
put?: never;
|
|
1937
|
+
/**
|
|
1938
|
+
* Revoke an embed session
|
|
1939
|
+
* @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.
|
|
1940
|
+
*
|
|
1941
|
+
* 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.
|
|
1942
|
+
*
|
|
1943
|
+
* 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.
|
|
1944
|
+
*
|
|
1945
|
+
* 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.
|
|
1946
|
+
*
|
|
1947
|
+
* Embedding must be enabled for the account, otherwise `403` is returned.
|
|
1948
|
+
*/
|
|
1949
|
+
post: operations["EmbedPublicController.revokeSession"];
|
|
1950
|
+
delete?: never;
|
|
1951
|
+
options?: never;
|
|
1952
|
+
head?: never;
|
|
1953
|
+
patch?: never;
|
|
1954
|
+
trace?: never;
|
|
1955
|
+
};
|
|
1880
1956
|
"/api/v1/embed/session/token": {
|
|
1881
1957
|
parameters: {
|
|
1882
1958
|
query?: never;
|
|
@@ -3044,14 +3120,17 @@ export interface components {
|
|
|
3044
3120
|
updatedAt?: (string) | null;
|
|
3045
3121
|
userId?: number | null;
|
|
3046
3122
|
};
|
|
3047
|
-
|
|
3123
|
+
AgentSkill: {
|
|
3048
3124
|
description: string;
|
|
3049
3125
|
input?: string | null;
|
|
3050
3126
|
name: string;
|
|
3127
|
+
source?: components["schemas"]["AgentSkillSource"] | null;
|
|
3051
3128
|
title: string;
|
|
3052
3129
|
};
|
|
3130
|
+
/** @enum {string} */
|
|
3131
|
+
AgentSkillSource: "deployment" | "system";
|
|
3053
3132
|
AgentSkillsResponse: {
|
|
3054
|
-
skills: components["schemas"]["
|
|
3133
|
+
skills: components["schemas"]["AgentSkill"][];
|
|
3055
3134
|
};
|
|
3056
3135
|
AgentSpace: {
|
|
3057
3136
|
config?: components["schemas"]["AgentSpaceConfigDto"] | null;
|
|
@@ -3072,7 +3151,9 @@ export interface components {
|
|
|
3072
3151
|
appTheme?: components["schemas"]["AppTheme"] | null;
|
|
3073
3152
|
applyThemeGlobally: boolean;
|
|
3074
3153
|
creatorMode?: components["schemas"]["CreatorMode"] | null;
|
|
3154
|
+
dashboardAppsEnabled: boolean;
|
|
3075
3155
|
embedding?: components["schemas"]["EmbedSettings"] | null;
|
|
3156
|
+
restrictDataDownload: boolean;
|
|
3076
3157
|
sheetsAgentChatEnabled: boolean;
|
|
3077
3158
|
sheetsUi?: components["schemas"]["SheetsUiSettings"] | null;
|
|
3078
3159
|
timezoneSettings?: components["schemas"]["TimezoneSettings"] | null;
|
|
@@ -3917,9 +3998,75 @@ export interface components {
|
|
|
3917
3998
|
metricViewYaml?: string | null;
|
|
3918
3999
|
outcome: components["schemas"]["DatabricksMetricViewPublicationViewResultOutcome"];
|
|
3919
4000
|
source?: string | null;
|
|
4001
|
+
/** @description Measures this view could not publish, each named with the cube it comes from. A view with entries here is queryable but incomplete. */
|
|
4002
|
+
withheldMembers: components["schemas"]["DatabricksMetricViewPublicationWithheldMember"][];
|
|
4003
|
+
};
|
|
4004
|
+
/** @enum {string} */
|
|
4005
|
+
DatabricksMetricViewPublicationViewResultOutcome: "success" | "partial" | "failed";
|
|
4006
|
+
DatabricksMetricViewPublicationWithheldMember: {
|
|
4007
|
+
/** @description Why it could not be published, as a stable code. */
|
|
4008
|
+
code: string;
|
|
4009
|
+
cube: string;
|
|
4010
|
+
member: string;
|
|
4011
|
+
};
|
|
4012
|
+
DatabricksMetricViewSyncProgressResponse: {
|
|
4013
|
+
published: number;
|
|
4014
|
+
stage: string;
|
|
4015
|
+
total: number;
|
|
4016
|
+
};
|
|
4017
|
+
DatabricksMetricViewSyncRunListResponse: {
|
|
4018
|
+
items: components["schemas"]["DatabricksMetricViewSyncRunResponse"][];
|
|
4019
|
+
pageInfo: components["schemas"]["PageInfo"];
|
|
4020
|
+
};
|
|
4021
|
+
DatabricksMetricViewSyncRunResponse: {
|
|
4022
|
+
buildJobId?: number | null;
|
|
4023
|
+
cancelRequestedAt?: string | null;
|
|
4024
|
+
commit?: string | null;
|
|
4025
|
+
completedAt?: string | null;
|
|
4026
|
+
configurationVersion?: number | null;
|
|
4027
|
+
createdAt: string;
|
|
4028
|
+
dataSourceName: string;
|
|
4029
|
+
deletionPolicy?: string | null;
|
|
4030
|
+
deploymentId: number;
|
|
4031
|
+
durationMs?: number | null;
|
|
4032
|
+
integrationPublicId: string;
|
|
4033
|
+
progress?: components["schemas"]["DatabricksMetricViewSyncProgressResponse"] | null;
|
|
4034
|
+
runId: string;
|
|
4035
|
+
stage?: string | null;
|
|
4036
|
+
startedAt?: string | null;
|
|
4037
|
+
status: components["schemas"]["DatabricksMetricViewSyncRunResponseStatus"];
|
|
4038
|
+
targetCatalog?: string | null;
|
|
4039
|
+
targetSchema?: string | null;
|
|
4040
|
+
trigger: components["schemas"]["DatabricksMetricViewSyncRunResponseTrigger"];
|
|
4041
|
+
/** @description The Cube views this run was planned against. */
|
|
4042
|
+
viewNames: string[];
|
|
4043
|
+
views: components["schemas"]["DatabricksMetricViewSyncViewOutcomeResponse"][];
|
|
4044
|
+
};
|
|
4045
|
+
/** @enum {string} */
|
|
4046
|
+
DatabricksMetricViewSyncRunResponseStatus: "QUEUED" | "RUNNING" | "CANCELLING" | "COMPLETED" | "PARTIAL" | "FAILED" | "CANCELLED";
|
|
4047
|
+
/** @enum {string} */
|
|
4048
|
+
DatabricksMetricViewSyncRunResponseTrigger: "MANUAL";
|
|
4049
|
+
DatabricksMetricViewSyncStartResponse: {
|
|
4050
|
+
/** @description The build whose deployed model this run publishes. */
|
|
4051
|
+
buildJobId: number;
|
|
4052
|
+
commit?: string | null;
|
|
4053
|
+
dataSourceName: string;
|
|
4054
|
+
deploymentId: number;
|
|
4055
|
+
integrationPublicId: string;
|
|
4056
|
+
/** @description True when an idempotent retry returned an existing run. */
|
|
4057
|
+
reused: boolean;
|
|
4058
|
+
runId: string;
|
|
4059
|
+
statusUrl: string;
|
|
4060
|
+
};
|
|
4061
|
+
DatabricksMetricViewSyncViewOutcomeResponse: {
|
|
4062
|
+
cubeViewName: string;
|
|
4063
|
+
detail?: string | null;
|
|
4064
|
+
outcome: components["schemas"]["DatabricksMetricViewSyncViewOutcomeResponseOutcome"];
|
|
4065
|
+
/** @description Measures this view published without, as 'cube.member'. Non-empty means the Metric View is queryable but incomplete. */
|
|
4066
|
+
withheldMembers: string[];
|
|
3920
4067
|
};
|
|
3921
4068
|
/** @enum {string} */
|
|
3922
|
-
|
|
4069
|
+
DatabricksMetricViewSyncViewOutcomeResponseOutcome: "unchanged" | "created" | "updated" | "blocked" | "validation_failed" | "publish_failed" | "retained_obsolete" | "deleted_obsolete";
|
|
3923
4070
|
DbtGeneratedFileContent: {
|
|
3924
4071
|
/** @description The generated YAML. */
|
|
3925
4072
|
content: string;
|
|
@@ -4428,6 +4575,7 @@ export interface components {
|
|
|
4428
4575
|
type: components["schemas"]["FolderDtoType"];
|
|
4429
4576
|
updatedAt: string;
|
|
4430
4577
|
updatedBy?: number | null;
|
|
4578
|
+
user?: components["schemas"]["ResourceOwner"] | null;
|
|
4431
4579
|
};
|
|
4432
4580
|
/** @enum {string} */
|
|
4433
4581
|
FolderDtoType: "FOLDER" | "WORKBOOK" | "REPORT";
|
|
@@ -4445,6 +4593,7 @@ export interface components {
|
|
|
4445
4593
|
token: string;
|
|
4446
4594
|
};
|
|
4447
4595
|
GenerateSession: {
|
|
4596
|
+
branchName?: string | null;
|
|
4448
4597
|
creatorMode?: boolean | null;
|
|
4449
4598
|
deploymentId: number;
|
|
4450
4599
|
email?: string | null;
|
|
@@ -4571,6 +4720,8 @@ export interface components {
|
|
|
4571
4720
|
host: string;
|
|
4572
4721
|
id: string;
|
|
4573
4722
|
};
|
|
4723
|
+
/** @enum {string} */
|
|
4724
|
+
ListDatabricksMetricViewSyncsQueryStatus: "QUEUED" | "RUNNING" | "CANCELLING" | "COMPLETED" | "PARTIAL" | "FAILED" | "CANCELLED";
|
|
4574
4725
|
LocalEncryptedSecret: {
|
|
4575
4726
|
authTagBase64: string;
|
|
4576
4727
|
ciphertext: string;
|
|
@@ -4727,6 +4878,7 @@ export interface components {
|
|
|
4727
4878
|
rows: string[];
|
|
4728
4879
|
showAppliedFilters?: boolean | null;
|
|
4729
4880
|
showColumnTotals?: boolean | null;
|
|
4881
|
+
showRowTotals?: boolean | null;
|
|
4730
4882
|
};
|
|
4731
4883
|
/** @enum {string} */
|
|
4732
4884
|
PivotItemsDisplayScale: "model" | "absolute" | "thousands" | "millions" | "billions";
|
|
@@ -4740,6 +4892,7 @@ export interface components {
|
|
|
4740
4892
|
rows: string[];
|
|
4741
4893
|
showAppliedFilters?: boolean | null;
|
|
4742
4894
|
showColumnTotals?: boolean | null;
|
|
4895
|
+
showRowTotals?: boolean | null;
|
|
4743
4896
|
};
|
|
4744
4897
|
/** @enum {string} */
|
|
4745
4898
|
PivotItemsInputDisplayScale: "model" | "absolute" | "thousands" | "millions" | "billions";
|
|
@@ -5044,6 +5197,7 @@ export interface components {
|
|
|
5044
5197
|
name?: string | null;
|
|
5045
5198
|
periodComparisons?: components["schemas"]["PeriodComparison"][] | null;
|
|
5046
5199
|
preferences?: components["schemas"]["ReportSnapshotPreferences"] | null;
|
|
5200
|
+
publicId?: string | null;
|
|
5047
5201
|
pythonCode?: string | null;
|
|
5048
5202
|
reportId: number;
|
|
5049
5203
|
spec?: (string | Record<string, never>) | null;
|
|
@@ -5097,6 +5251,10 @@ export interface components {
|
|
|
5097
5251
|
};
|
|
5098
5252
|
/** @enum {string} */
|
|
5099
5253
|
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";
|
|
5254
|
+
RevokeEmbedSessionInput: {
|
|
5255
|
+
/** @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. */
|
|
5256
|
+
sessionId: string;
|
|
5257
|
+
};
|
|
5100
5258
|
RoleWithAccess: {
|
|
5101
5259
|
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")[];
|
|
5102
5260
|
id: number;
|
|
@@ -5172,6 +5330,11 @@ export interface components {
|
|
|
5172
5330
|
};
|
|
5173
5331
|
/** @enum {string} */
|
|
5174
5332
|
StartDashboardExportInputFormat: "png" | "pdf";
|
|
5333
|
+
StartDatabricksMetricViewSyncInput: {
|
|
5334
|
+
/** @description The configurationVersion returned by GET. A run is refused when settings changed after they were loaded, so a publish always uses the configuration the caller saw. */
|
|
5335
|
+
configurationVersion: number;
|
|
5336
|
+
idempotencyKey?: string | null;
|
|
5337
|
+
};
|
|
5175
5338
|
StartDbtSyncInput: {
|
|
5176
5339
|
branchName?: string | null;
|
|
5177
5340
|
manifest?: {
|
|
@@ -5193,6 +5356,9 @@ export interface components {
|
|
|
5193
5356
|
transaction: components["schemas"]["UploadTransaction"];
|
|
5194
5357
|
};
|
|
5195
5358
|
TenantSettings: {
|
|
5359
|
+
aiTokensAutoPurchaseAmount: number;
|
|
5360
|
+
aiTokensAutoPurchaseEnabled: boolean;
|
|
5361
|
+
aiTokensAutoPurchaseThreshold: number;
|
|
5196
5362
|
auditLogEnabled: boolean;
|
|
5197
5363
|
auditLogEnabledCurrent: boolean;
|
|
5198
5364
|
auditLogEnabledTimestamp: number;
|
|
@@ -5204,6 +5370,8 @@ export interface components {
|
|
|
5204
5370
|
useAIBIUserInterface: boolean;
|
|
5205
5371
|
};
|
|
5206
5372
|
TenantSettingsInput: {
|
|
5373
|
+
aiTokensAutoPurchaseAmount?: number | null;
|
|
5374
|
+
aiTokensAutoPurchaseEnabled?: boolean | null;
|
|
5207
5375
|
auditLogEnabled?: boolean | null;
|
|
5208
5376
|
hasSupportAccess?: boolean | null;
|
|
5209
5377
|
maintenanceWindowDay?: string | null;
|
|
@@ -6460,6 +6628,105 @@ export interface operations {
|
|
|
6460
6628
|
};
|
|
6461
6629
|
};
|
|
6462
6630
|
};
|
|
6631
|
+
"DatabricksMetricViewIntegrationPublicController.listSyncs": {
|
|
6632
|
+
parameters: {
|
|
6633
|
+
query?: {
|
|
6634
|
+
status?: components["schemas"]["ListDatabricksMetricViewSyncsQueryStatus"] | null;
|
|
6635
|
+
after?: string;
|
|
6636
|
+
first?: number;
|
|
6637
|
+
};
|
|
6638
|
+
header?: never;
|
|
6639
|
+
path: {
|
|
6640
|
+
deploymentId: number;
|
|
6641
|
+
dataSourceName: string;
|
|
6642
|
+
};
|
|
6643
|
+
cookie?: never;
|
|
6644
|
+
};
|
|
6645
|
+
requestBody?: never;
|
|
6646
|
+
responses: {
|
|
6647
|
+
200: {
|
|
6648
|
+
headers: {
|
|
6649
|
+
[name: string]: any;
|
|
6650
|
+
};
|
|
6651
|
+
content: {
|
|
6652
|
+
"application/json": components["schemas"]["DatabricksMetricViewSyncRunListResponse"];
|
|
6653
|
+
};
|
|
6654
|
+
};
|
|
6655
|
+
};
|
|
6656
|
+
};
|
|
6657
|
+
"DatabricksMetricViewIntegrationPublicController.startSync": {
|
|
6658
|
+
parameters: {
|
|
6659
|
+
query?: never;
|
|
6660
|
+
header?: never;
|
|
6661
|
+
path: {
|
|
6662
|
+
deploymentId: number;
|
|
6663
|
+
dataSourceName: string;
|
|
6664
|
+
};
|
|
6665
|
+
cookie?: never;
|
|
6666
|
+
};
|
|
6667
|
+
/** @description StartDatabricksMetricViewSyncInput */
|
|
6668
|
+
requestBody: {
|
|
6669
|
+
content: {
|
|
6670
|
+
"application/json": components["schemas"]["StartDatabricksMetricViewSyncInput"];
|
|
6671
|
+
};
|
|
6672
|
+
};
|
|
6673
|
+
responses: {
|
|
6674
|
+
202: {
|
|
6675
|
+
headers: {
|
|
6676
|
+
[name: string]: any;
|
|
6677
|
+
};
|
|
6678
|
+
content: {
|
|
6679
|
+
"application/json": components["schemas"]["DatabricksMetricViewSyncStartResponse"];
|
|
6680
|
+
};
|
|
6681
|
+
};
|
|
6682
|
+
};
|
|
6683
|
+
};
|
|
6684
|
+
"DatabricksMetricViewIntegrationPublicController.syncRun": {
|
|
6685
|
+
parameters: {
|
|
6686
|
+
query?: never;
|
|
6687
|
+
header?: never;
|
|
6688
|
+
path: {
|
|
6689
|
+
deploymentId: number;
|
|
6690
|
+
dataSourceName: string;
|
|
6691
|
+
runId: string;
|
|
6692
|
+
};
|
|
6693
|
+
cookie?: never;
|
|
6694
|
+
};
|
|
6695
|
+
requestBody?: never;
|
|
6696
|
+
responses: {
|
|
6697
|
+
200: {
|
|
6698
|
+
headers: {
|
|
6699
|
+
[name: string]: any;
|
|
6700
|
+
};
|
|
6701
|
+
content: {
|
|
6702
|
+
"application/json": components["schemas"]["DatabricksMetricViewSyncRunResponse"];
|
|
6703
|
+
};
|
|
6704
|
+
};
|
|
6705
|
+
};
|
|
6706
|
+
};
|
|
6707
|
+
"DatabricksMetricViewIntegrationPublicController.cancelSync": {
|
|
6708
|
+
parameters: {
|
|
6709
|
+
query?: never;
|
|
6710
|
+
header?: never;
|
|
6711
|
+
path: {
|
|
6712
|
+
deploymentId: number;
|
|
6713
|
+
dataSourceName: string;
|
|
6714
|
+
runId: string;
|
|
6715
|
+
};
|
|
6716
|
+
cookie?: never;
|
|
6717
|
+
};
|
|
6718
|
+
requestBody?: never;
|
|
6719
|
+
responses: {
|
|
6720
|
+
200: {
|
|
6721
|
+
headers: {
|
|
6722
|
+
[name: string]: any;
|
|
6723
|
+
};
|
|
6724
|
+
content: {
|
|
6725
|
+
"application/json": components["schemas"]["DatabricksMetricViewSyncRunResponse"];
|
|
6726
|
+
};
|
|
6727
|
+
};
|
|
6728
|
+
};
|
|
6729
|
+
};
|
|
6463
6730
|
"DatabricksMetricViewPublicationPublicController.startPreview": {
|
|
6464
6731
|
parameters: {
|
|
6465
6732
|
query?: never;
|
|
@@ -8703,6 +8970,38 @@ export interface operations {
|
|
|
8703
8970
|
};
|
|
8704
8971
|
};
|
|
8705
8972
|
};
|
|
8973
|
+
"EmbedPublicController.revokeSession": {
|
|
8974
|
+
parameters: {
|
|
8975
|
+
query?: never;
|
|
8976
|
+
header?: never;
|
|
8977
|
+
path?: never;
|
|
8978
|
+
cookie?: never;
|
|
8979
|
+
};
|
|
8980
|
+
/** @description RevokeEmbedSessionInput */
|
|
8981
|
+
requestBody?: {
|
|
8982
|
+
content: {
|
|
8983
|
+
"application/json": components["schemas"]["RevokeEmbedSessionInput"];
|
|
8984
|
+
};
|
|
8985
|
+
};
|
|
8986
|
+
responses: {
|
|
8987
|
+
/** @description Successful response */
|
|
8988
|
+
200: {
|
|
8989
|
+
headers: {
|
|
8990
|
+
[name: string]: any;
|
|
8991
|
+
};
|
|
8992
|
+
content: {
|
|
8993
|
+
"application/json": any;
|
|
8994
|
+
};
|
|
8995
|
+
};
|
|
8996
|
+
/** @description Session revoked, or did not exist. */
|
|
8997
|
+
204: {
|
|
8998
|
+
headers: {
|
|
8999
|
+
[name: string]: any;
|
|
9000
|
+
};
|
|
9001
|
+
content?: never;
|
|
9002
|
+
};
|
|
9003
|
+
};
|
|
9004
|
+
};
|
|
8706
9005
|
"EmbedPublicController.postTokenBySessionId": {
|
|
8707
9006
|
parameters: {
|
|
8708
9007
|
query?: never;
|