@cube-dev/platform-client 0.4.0 → 0.6.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 +32 -1
- package/dist/schema.d.ts +236 -4
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,37 @@ 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.6.0] - 2026-09-02
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `User` (`GET /api/v1/users/me`, `UsersPublicController.getMe`) gained `userPolicies` — the caller's effective resource policies: direct grants, organization-wide grants and grants inherited from their groups. This is the set the console has always read over GraphQL; on REST it lets an embedded Creator Mode session resolve a workbook another embed user shared with it, which previously granted nothing beyond viewing. New schemas: `Policy`, `PolicyResourceType`.
|
|
16
|
+
- Re-added `POST /api/v1/deployments/{deploymentId}/workbooks/{workbookId}/dashboard/ai-widget-thread` (`WorkbooksPublicController.updatePublishedDashboardAiWidgetThread`) and its `UpdatePublishedAiWidgetThreadInput` schema (`widgetId`, `threadId`, optional `checksum`) — reverting the `0.4.0` removal. Regenerating an AI-analysis widget on a **published** dashboard persists the new thread id (+ checksum) back to the published config so an immediate reload shows the fresh result instead of the stale one. It stores **only** the thread id and checksum — never summary text (CUB-4031).
|
|
17
|
+
- `PATCH /api/v1/users/me/settings` (`UsersPublicController.updateMySettings`) — merge a partial patch into your own settings; omitted fields are left as they are, and `sheets` merges field-by-field (an explicit `null` clears it). `UserSettingsInput` gained `sheets`. New schema: `SheetsUserSettingsInput` (`autoRunQueryOnChange`, `openExplorationFromSheet`, `revealSheetOnOpen`, `showAppliedFilters`, `suppressDuplicateValues`).
|
|
18
|
+
- `POST /api/v1/deployments/{id}/token` (`DeploymentsPublicController.deploymentToken`) now accepts an optional body to request a shorter token lifetime than the 24-hour default. New schema: `CreateDeploymentTokenInput` (`expiresIn`, 60–86400 seconds) — recommended for tokens held outside a browser session (scripts, BI tools, scheduled jobs).
|
|
19
|
+
- `AppTheme` / `AppThemeResponse` (`GET /api/v1/app-theme`, `GET /api/v1/app-config`) gained `palette` and `logoUrl` — the new theme model: base/accent color seeds, contrast level, a pastel toggle, surface mode, and per-semantic color overrides (danger/warning/success/note/code). New schemas: `AppThemePalette`, `AppThemePaletteSeed`, `AppThemePaletteThemes`, `AppThemeCodePalette`, `AppThemeSurfaceMode`.
|
|
20
|
+
- `DashboardWidgetDtoType` / `DashboardWidgetInputType` gained a new `"FIELD"` enum value, for the Field switcher dashboard control.
|
|
21
|
+
- `ReportPlacement` gained `queryChecksum` and `syncStatus` (new schema `ReportPlacementSyncStatus`: `"UP_TO_DATE"` | `"CHANGED"` | `"UNKNOWN"`), and `Report` gained `currentQueryChecksum` — together they let a client tell whether the cells at a placement still reflect the exploration as it stands now.
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- `POST /api/v1/usage-analytics/token` — corrected docs: tokens expire after 1 hour, not ~24 hours as previously stated. `expiresAt` on the response has always reflected the real value.
|
|
26
|
+
|
|
27
|
+
### Deprecated
|
|
28
|
+
|
|
29
|
+
- `AppTheme.light` / `AppTheme.dark` — use `palette` and `logoUrl` instead.
|
|
30
|
+
- `UserSettingsInput.lastSeenChangelogId` — ignored; the changelog now arrives in the notification inbox, which carries its own read state. Accepted for backward compatibility but never read or written.
|
|
31
|
+
|
|
32
|
+
## [0.5.0] - 2026-08-30
|
|
33
|
+
|
|
34
|
+
### Added
|
|
35
|
+
|
|
36
|
+
- `POST /api/v1/usage-analytics/token` (`UsageAnalyticsPublicController.createToken`) — issues a short-lived Cube API token scoped to your account, for querying your own Usage Analytics (usage/billing) data programmatically instead of only through the embedded Admin page. New schema: `UsageAnalyticsTokenResponse`. Admin-only.
|
|
37
|
+
- `CreateNotificationInput` / `UpdateNotificationInput` gained `notificationAiSummary` — include an AI-generated "what changed" summary in the notification body. Read back as `notificationAiSummary` on the corresponding notification response schema.
|
|
38
|
+
- `EmbedSettings` gained `enableDashboardComments` — controls whether embedded published dashboards allow comments.
|
|
39
|
+
- `UserSettingsInput` gained `defaultDeploymentId` — a personal override for the deployment a user lands on when opening the workspace without one specified in the URL; `null`/unset inherits the account-wide default. It is readable via the existing `settings` object on the `User` schema.
|
|
40
|
+
- `UserCreateInput` gained `settings` — seed a new user's personal settings (the `UserSettingsInput` fields, e.g. `locale`, `theme`, `defaultDeploymentId`) at creation time instead of a follow-up update. Typed as a free-form object in the spec.
|
|
41
|
+
- `ReportSnapshotDtoKind` gained a new `"sankey"` enum value.
|
|
42
|
+
|
|
12
43
|
## [0.4.0] - 2026-08-27
|
|
13
44
|
|
|
14
45
|
### Added
|
|
@@ -64,7 +95,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
64
95
|
|
|
65
96
|
### Removed
|
|
66
97
|
|
|
67
|
-
- **BREAKING:** `POST /api/v1/deployments/{deploymentId}/workbooks/{workbookId}/dashboard/ai-widget-thread` (`WorkbooksPublicController.updatePublishedDashboardAiWidgetThread`) and its `UpdatePublishedAiWidgetThreadInput` schema (added in `0.2.0`). It persisted an AI-analysis thread id + checksum into the published dashboard config — the mechanism that caused read-only/anonymous viewers to hit `WorkbookEdit`/403s and let one viewer's filter state clobber the shared config (CUB-3898). AI-analysis results are
|
|
98
|
+
- **BREAKING:** `POST /api/v1/deployments/{deploymentId}/workbooks/{workbookId}/dashboard/ai-widget-thread` (`WorkbooksPublicController.updatePublishedDashboardAiWidgetThread`) and its `UpdatePublishedAiWidgetThreadInput` schema (added in `0.2.0`). It persisted an AI-analysis thread id + checksum into the published dashboard config — the mechanism that caused read-only/anonymous viewers to hit `WorkbookEdit`/403s and let one viewer's filter state clobber the shared config (CUB-3898). AI-analysis results are recovered by replaying the chat thread whose id the dashboard config stores, so no client-facing endpoint replaces it (CUB-4031). This is a deliberate breaking removal; SDK consumers referencing the operation or schema should drop those references.
|
|
68
99
|
|
|
69
100
|
## [0.3.0] - 2026-07-30
|
|
70
101
|
|
package/dist/schema.d.ts
CHANGED
|
@@ -1037,6 +1037,23 @@ export interface paths {
|
|
|
1037
1037
|
patch?: never;
|
|
1038
1038
|
trace?: never;
|
|
1039
1039
|
};
|
|
1040
|
+
"/api/v1/deployments/{deploymentId}/workbooks/{workbookId}/dashboard/ai-widget-thread": {
|
|
1041
|
+
parameters: {
|
|
1042
|
+
query?: never;
|
|
1043
|
+
header?: never;
|
|
1044
|
+
path?: never;
|
|
1045
|
+
cookie?: never;
|
|
1046
|
+
};
|
|
1047
|
+
get?: never;
|
|
1048
|
+
put?: never;
|
|
1049
|
+
/** Update published dashboard ai widget thread */
|
|
1050
|
+
post: operations["WorkbooksPublicController.updatePublishedDashboardAiWidgetThread"];
|
|
1051
|
+
delete?: never;
|
|
1052
|
+
options?: never;
|
|
1053
|
+
head?: never;
|
|
1054
|
+
patch?: never;
|
|
1055
|
+
trace?: never;
|
|
1056
|
+
};
|
|
1040
1057
|
"/api/v1/deployments/{deploymentId}/workbooks/{workbookId}/duplicate": {
|
|
1041
1058
|
parameters: {
|
|
1042
1059
|
query?: never;
|
|
@@ -2022,6 +2039,34 @@ export interface paths {
|
|
|
2022
2039
|
patch?: never;
|
|
2023
2040
|
trace?: never;
|
|
2024
2041
|
};
|
|
2042
|
+
"/api/v1/usage-analytics/token": {
|
|
2043
|
+
parameters: {
|
|
2044
|
+
query?: never;
|
|
2045
|
+
header?: never;
|
|
2046
|
+
path?: never;
|
|
2047
|
+
cookie?: never;
|
|
2048
|
+
};
|
|
2049
|
+
get?: never;
|
|
2050
|
+
put?: never;
|
|
2051
|
+
/**
|
|
2052
|
+
* Issue a Cube API token for Usage Analytics
|
|
2053
|
+
* @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.
|
|
2054
|
+
*
|
|
2055
|
+
* Issues a short-lived Cube API token for Cube's internal **Usage Analytics** deployment — the data shown on **Admin → Usage Analytics** — so you can query your own usage and billing data programmatically (REST API, BI tools, scripts) instead of only through the embedded page.
|
|
2056
|
+
*
|
|
2057
|
+
* The token is scoped to your account: it carries the same server-resolved security context as the embedded Usage Analytics page, so queries only ever see your own data. Send it as `Authorization: Bearer <token>` on requests to the returned `apiUrl` (the deployment's [Cube REST API](https://cube.dev/docs/product/apis-integrations/rest-api)).
|
|
2058
|
+
*
|
|
2059
|
+
* Tokens expire after 1 hour (see `expiresAt`). Issue a fresh one per session or scheduled refresh — issuing is idempotent and cheap.
|
|
2060
|
+
*
|
|
2061
|
+
* Requires Usage Analytics to be enabled for the account, otherwise `404` is returned.
|
|
2062
|
+
*/
|
|
2063
|
+
post: operations["UsageAnalyticsPublicController.createToken"];
|
|
2064
|
+
delete?: never;
|
|
2065
|
+
options?: never;
|
|
2066
|
+
head?: never;
|
|
2067
|
+
patch?: never;
|
|
2068
|
+
trace?: never;
|
|
2069
|
+
};
|
|
2025
2070
|
"/api/v1/user-attribute-values/": {
|
|
2026
2071
|
parameters: {
|
|
2027
2072
|
query?: never;
|
|
@@ -2260,6 +2305,26 @@ export interface paths {
|
|
|
2260
2305
|
patch?: never;
|
|
2261
2306
|
trace?: never;
|
|
2262
2307
|
};
|
|
2308
|
+
"/api/v1/users/me/settings": {
|
|
2309
|
+
parameters: {
|
|
2310
|
+
query?: never;
|
|
2311
|
+
header?: never;
|
|
2312
|
+
path?: never;
|
|
2313
|
+
cookie?: never;
|
|
2314
|
+
};
|
|
2315
|
+
get?: never;
|
|
2316
|
+
put?: never;
|
|
2317
|
+
post?: never;
|
|
2318
|
+
delete?: never;
|
|
2319
|
+
options?: never;
|
|
2320
|
+
head?: never;
|
|
2321
|
+
/**
|
|
2322
|
+
* Update my settings
|
|
2323
|
+
* @description Merge a partial patch into the authenticated user's own settings. Omitted fields are left as they are; `sheets` merges field-by-field, and an explicit `null` clears it.
|
|
2324
|
+
*/
|
|
2325
|
+
patch: operations["UsersPublicController.updateMySettings"];
|
|
2326
|
+
trace?: never;
|
|
2327
|
+
};
|
|
2263
2328
|
"/api/v1/users/{id}": {
|
|
2264
2329
|
parameters: {
|
|
2265
2330
|
query?: never;
|
|
@@ -2681,18 +2746,61 @@ export interface components {
|
|
|
2681
2746
|
timezoneSettings?: components["schemas"]["TimezoneSettings"] | null;
|
|
2682
2747
|
};
|
|
2683
2748
|
AppTheme: {
|
|
2749
|
+
/**
|
|
2750
|
+
* @deprecated
|
|
2751
|
+
* @description Deprecated: use palette and logoUrl instead.
|
|
2752
|
+
*/
|
|
2684
2753
|
dark: components["schemas"]["AppThemeScheme"];
|
|
2754
|
+
/**
|
|
2755
|
+
* @deprecated
|
|
2756
|
+
* @description Deprecated: use palette and logoUrl instead.
|
|
2757
|
+
*/
|
|
2685
2758
|
light: components["schemas"]["AppThemeScheme"];
|
|
2759
|
+
logoUrl: string;
|
|
2760
|
+
palette: components["schemas"]["AppThemePalette"];
|
|
2686
2761
|
typography?: components["schemas"]["AppThemeTypography"] | null;
|
|
2687
2762
|
};
|
|
2763
|
+
AppThemeCodePalette: {
|
|
2764
|
+
saturation?: number | null;
|
|
2765
|
+
};
|
|
2688
2766
|
AppThemeFontRef: {
|
|
2689
2767
|
fontRef: string;
|
|
2690
2768
|
fontWeight: number;
|
|
2691
2769
|
};
|
|
2770
|
+
AppThemePalette: {
|
|
2771
|
+
accent?: components["schemas"]["AppThemePaletteSeed"] | null;
|
|
2772
|
+
base?: components["schemas"]["AppThemePaletteSeed"] | null;
|
|
2773
|
+
contrastLevel?: number | null;
|
|
2774
|
+
pastel?: boolean | null;
|
|
2775
|
+
surfaceMode?: components["schemas"]["AppThemeSurfaceMode"] | null;
|
|
2776
|
+
themes?: components["schemas"]["AppThemePaletteThemes"] | null;
|
|
2777
|
+
};
|
|
2778
|
+
AppThemePaletteSeed: {
|
|
2779
|
+
color?: string | null;
|
|
2780
|
+
hue?: number | null;
|
|
2781
|
+
saturation?: number | null;
|
|
2782
|
+
};
|
|
2783
|
+
AppThemePaletteThemes: {
|
|
2784
|
+
code?: components["schemas"]["AppThemeCodePalette"] | null;
|
|
2785
|
+
danger?: components["schemas"]["AppThemePaletteSeed"] | null;
|
|
2786
|
+
note?: components["schemas"]["AppThemePaletteSeed"] | null;
|
|
2787
|
+
success?: components["schemas"]["AppThemePaletteSeed"] | null;
|
|
2788
|
+
warning?: components["schemas"]["AppThemePaletteSeed"] | null;
|
|
2789
|
+
};
|
|
2692
2790
|
AppThemeResponse: {
|
|
2693
2791
|
applyThemeGlobally: boolean;
|
|
2792
|
+
/**
|
|
2793
|
+
* @deprecated
|
|
2794
|
+
* @description Deprecated: use palette and logoUrl instead.
|
|
2795
|
+
*/
|
|
2694
2796
|
dark: components["schemas"]["AppThemeScheme"];
|
|
2797
|
+
/**
|
|
2798
|
+
* @deprecated
|
|
2799
|
+
* @description Deprecated: use palette and logoUrl instead.
|
|
2800
|
+
*/
|
|
2695
2801
|
light: components["schemas"]["AppThemeScheme"];
|
|
2802
|
+
logoUrl: string;
|
|
2803
|
+
palette: components["schemas"]["AppThemePalette"];
|
|
2696
2804
|
typography?: components["schemas"]["AppThemeTypography"];
|
|
2697
2805
|
};
|
|
2698
2806
|
AppThemeScheme: {
|
|
@@ -2702,6 +2810,8 @@ export interface components {
|
|
|
2702
2810
|
foregroundColor: string;
|
|
2703
2811
|
logoUrl: string;
|
|
2704
2812
|
};
|
|
2813
|
+
/** @enum {string} */
|
|
2814
|
+
AppThemeSurfaceMode: "neutral" | "tinted";
|
|
2705
2815
|
AppThemeTypography: {
|
|
2706
2816
|
body: components["schemas"]["AppThemeFontRef"];
|
|
2707
2817
|
fonts: components["schemas"]["ThemeFont"][];
|
|
@@ -2859,6 +2969,9 @@ export interface components {
|
|
|
2859
2969
|
CreateDeploymentInputCreationMethod: "upload" | "cubecloud" | "github" | "ssh";
|
|
2860
2970
|
/** @enum {string} */
|
|
2861
2971
|
CreateDeploymentInputDeployMode: "git" | "cli";
|
|
2972
|
+
CreateDeploymentTokenInput: {
|
|
2973
|
+
expiresIn?: number | null;
|
|
2974
|
+
};
|
|
2862
2975
|
CreateEmbedGroupInput: {
|
|
2863
2976
|
description?: string | null;
|
|
2864
2977
|
/** @description Group name, unique within the embed tenant. The `system:` prefix is reserved and rejected. */
|
|
@@ -2878,6 +2991,7 @@ export interface components {
|
|
|
2878
2991
|
filters?: components["schemas"]["DashboardFilterInput"][] | null;
|
|
2879
2992
|
hour?: number | null;
|
|
2880
2993
|
minute?: number | null;
|
|
2994
|
+
notificationAiSummary?: boolean | null;
|
|
2881
2995
|
notificationEnabled?: boolean | null;
|
|
2882
2996
|
notificationFormat?: components["schemas"]["CreateNotificationInputNotificationFormat"] | null;
|
|
2883
2997
|
scheduleType: components["schemas"]["CreateNotificationInputScheduleType"];
|
|
@@ -3182,7 +3296,7 @@ export interface components {
|
|
|
3182
3296
|
type: components["schemas"]["DashboardWidgetDtoType"];
|
|
3183
3297
|
};
|
|
3184
3298
|
/** @enum {string} */
|
|
3185
|
-
DashboardWidgetDtoType: "CHART" | "TEXT" | "FILTER" | "AI" | "TIME_GRAIN" | "PARENT" | "SPACER" | "DIVIDER" | "CONTAINER";
|
|
3299
|
+
DashboardWidgetDtoType: "CHART" | "TEXT" | "FILTER" | "AI" | "TIME_GRAIN" | "FIELD" | "PARENT" | "SPACER" | "DIVIDER" | "CONTAINER";
|
|
3186
3300
|
DashboardWidgetInput: {
|
|
3187
3301
|
config?: {
|
|
3188
3302
|
[key: string]: any;
|
|
@@ -3196,7 +3310,7 @@ export interface components {
|
|
|
3196
3310
|
type: components["schemas"]["DashboardWidgetInputType"];
|
|
3197
3311
|
};
|
|
3198
3312
|
/** @enum {string} */
|
|
3199
|
-
DashboardWidgetInputType: "CHART" | "TEXT" | "FILTER" | "AI" | "TIME_GRAIN" | "PARENT" | "SPACER" | "DIVIDER" | "CONTAINER";
|
|
3313
|
+
DashboardWidgetInputType: "CHART" | "TEXT" | "FILTER" | "AI" | "TIME_GRAIN" | "FIELD" | "PARENT" | "SPACER" | "DIVIDER" | "CONTAINER";
|
|
3200
3314
|
DashboardWidgetPosition: {
|
|
3201
3315
|
h: number;
|
|
3202
3316
|
w: number;
|
|
@@ -3573,6 +3687,7 @@ export interface components {
|
|
|
3573
3687
|
showDashboardChat?: boolean | null;
|
|
3574
3688
|
};
|
|
3575
3689
|
EmbedSettings: {
|
|
3690
|
+
enableDashboardComments?: boolean | null;
|
|
3576
3691
|
locale?: string | null;
|
|
3577
3692
|
showDashboardChat?: boolean | null;
|
|
3578
3693
|
timezone?: string | null;
|
|
@@ -3857,6 +3972,8 @@ export interface components {
|
|
|
3857
3972
|
humanReadableSchedule: string;
|
|
3858
3973
|
id: number;
|
|
3859
3974
|
isEnabled: boolean;
|
|
3975
|
+
/** @description Whether this notification carries an AI-generated "what changed" summary in its body. */
|
|
3976
|
+
notificationAiSummary: boolean;
|
|
3860
3977
|
notificationEnabled: boolean;
|
|
3861
3978
|
notificationFormat: string;
|
|
3862
3979
|
timeGrains?: components["schemas"]["DashboardTimeGrain"][] | null;
|
|
@@ -3977,6 +4094,13 @@ export interface components {
|
|
|
3977
4094
|
PivotItemsMeasuresAxis: "columns" | "rows";
|
|
3978
4095
|
/** @enum {string} */
|
|
3979
4096
|
PivotItemsMeasuresPosition: "before" | "after";
|
|
4097
|
+
Policy: {
|
|
4098
|
+
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")[];
|
|
4099
|
+
resourceType: components["schemas"]["PolicyResourceType"];
|
|
4100
|
+
resources: string[];
|
|
4101
|
+
};
|
|
4102
|
+
/** @enum {string} */
|
|
4103
|
+
PolicyResourceType: "Global" | "Deployment" | "Report" | "ReportFolder" | "Agent" | "AgentSpace" | "Workbook" | "Dashboard" | "Folder" | "ChatThread";
|
|
3980
4104
|
PostTokenBySessionIdInput: {
|
|
3981
4105
|
sessionId: string;
|
|
3982
4106
|
};
|
|
@@ -4160,6 +4284,7 @@ export interface components {
|
|
|
4160
4284
|
canManage?: boolean | null;
|
|
4161
4285
|
createdAt: string;
|
|
4162
4286
|
createdBy?: number;
|
|
4287
|
+
currentQueryChecksum?: string | null;
|
|
4163
4288
|
deploymentId: number;
|
|
4164
4289
|
description?: string | null;
|
|
4165
4290
|
endResultCell?: string | null;
|
|
@@ -4216,16 +4341,20 @@ export interface components {
|
|
|
4216
4341
|
id?: string | null;
|
|
4217
4342
|
placedAt?: string | null;
|
|
4218
4343
|
placedByUserId?: number | null;
|
|
4344
|
+
queryChecksum?: string | null;
|
|
4219
4345
|
refreshedAt?: string | null;
|
|
4220
4346
|
refreshedByUserId?: number | null;
|
|
4221
4347
|
resultLocation: string;
|
|
4222
4348
|
sheetId?: string | null;
|
|
4223
4349
|
sheetName?: string | null;
|
|
4350
|
+
syncStatus?: components["schemas"]["ReportPlacementSyncStatus"] | null;
|
|
4224
4351
|
workbookId: string;
|
|
4225
4352
|
workbookName?: string | null;
|
|
4226
4353
|
};
|
|
4227
4354
|
/** @enum {string} */
|
|
4228
4355
|
ReportPlacementHost: "GOOGLE_SHEETS" | "EXCEL";
|
|
4356
|
+
/** @enum {string} */
|
|
4357
|
+
ReportPlacementSyncStatus: "UP_TO_DATE" | "CHANGED" | "UNKNOWN";
|
|
4229
4358
|
ReportSnapshot: {
|
|
4230
4359
|
description?: string | null;
|
|
4231
4360
|
fillMissingRows?: components["schemas"]["FillMissingRows"] | null;
|
|
@@ -4246,7 +4375,7 @@ export interface components {
|
|
|
4246
4375
|
versionNumber: number;
|
|
4247
4376
|
};
|
|
4248
4377
|
/** @enum {string} */
|
|
4249
|
-
ReportSnapshotDtoKind: "vega" | "table" | "kpi" | "html" | "map";
|
|
4378
|
+
ReportSnapshotDtoKind: "vega" | "table" | "kpi" | "html" | "map" | "sankey";
|
|
4250
4379
|
ReportSnapshotPreferences: {
|
|
4251
4380
|
columnFormats?: {
|
|
4252
4381
|
[key: string]: components["schemas"]["ColumnFormatOverride"];
|
|
@@ -4310,6 +4439,13 @@ export interface components {
|
|
|
4310
4439
|
SheetsUiSettings: {
|
|
4311
4440
|
showAppliedFilters?: boolean | null;
|
|
4312
4441
|
};
|
|
4442
|
+
SheetsUserSettingsInput: {
|
|
4443
|
+
autoRunQueryOnChange?: boolean | null;
|
|
4444
|
+
openExplorationFromSheet?: boolean | null;
|
|
4445
|
+
revealSheetOnOpen?: boolean | null;
|
|
4446
|
+
showAppliedFilters?: boolean | null;
|
|
4447
|
+
suppressDuplicateValues?: boolean | null;
|
|
4448
|
+
};
|
|
4313
4449
|
SourceTreeResponse: {
|
|
4314
4450
|
/**
|
|
4315
4451
|
* @deprecated
|
|
@@ -4430,6 +4566,7 @@ export interface components {
|
|
|
4430
4566
|
hour?: number | null;
|
|
4431
4567
|
isEnabled?: boolean | null;
|
|
4432
4568
|
minute?: number | null;
|
|
4569
|
+
notificationAiSummary?: boolean | null;
|
|
4433
4570
|
notificationEnabled?: boolean | null;
|
|
4434
4571
|
notificationFormat?: components["schemas"]["UpdateNotificationInputNotificationFormat"] | null;
|
|
4435
4572
|
scheduleType?: components["schemas"]["UpdateNotificationInputScheduleType"] | null;
|
|
@@ -4464,6 +4601,11 @@ export interface components {
|
|
|
4464
4601
|
subFormat?: string | null;
|
|
4465
4602
|
targetEnvVar?: string | null;
|
|
4466
4603
|
};
|
|
4604
|
+
UpdatePublishedAiWidgetThreadInput: {
|
|
4605
|
+
checksum?: string | null;
|
|
4606
|
+
threadId: string;
|
|
4607
|
+
widgetId: string;
|
|
4608
|
+
};
|
|
4467
4609
|
UpdateReportInput: {
|
|
4468
4610
|
endResultCell?: string | null;
|
|
4469
4611
|
externalWorkbookId?: string | null;
|
|
@@ -4522,6 +4664,15 @@ export interface components {
|
|
|
4522
4664
|
UploadTransaction: {
|
|
4523
4665
|
id: string;
|
|
4524
4666
|
};
|
|
4667
|
+
UsageAnalyticsTokenResponse: {
|
|
4668
|
+
/** @description Base URL of the Usage Analytics deployment’s Cube REST API (e.g. `https://<host>/cubejs-api/v1`). Query it with the returned token. */
|
|
4669
|
+
apiUrl: string;
|
|
4670
|
+
/** @description Id of the Usage Analytics deployment the token was issued for. */
|
|
4671
|
+
deploymentId: number;
|
|
4672
|
+
expiresAt?: string | null;
|
|
4673
|
+
/** @description A short-lived JWT for the Usage Analytics deployment, carrying this tenant’s security context. Send it as `Authorization: Bearer <token>` on requests to `apiUrl`. */
|
|
4674
|
+
token: string;
|
|
4675
|
+
};
|
|
4525
4676
|
User: {
|
|
4526
4677
|
activeRoleId?: number | null;
|
|
4527
4678
|
aliases?: components["schemas"]["UserAlias"][] | null;
|
|
@@ -4545,6 +4696,7 @@ export interface components {
|
|
|
4545
4696
|
title?: string | null;
|
|
4546
4697
|
tosAccepted?: Record<string, never> | null;
|
|
4547
4698
|
updatedAt?: (string) | null;
|
|
4699
|
+
userPolicies?: components["schemas"]["Policy"][] | null;
|
|
4548
4700
|
username: string;
|
|
4549
4701
|
};
|
|
4550
4702
|
UserAlias: {
|
|
@@ -4634,6 +4786,9 @@ export interface components {
|
|
|
4634
4786
|
isExternal?: any | null;
|
|
4635
4787
|
password?: string | null;
|
|
4636
4788
|
picture?: any | null;
|
|
4789
|
+
settings?: {
|
|
4790
|
+
[key: string]: any;
|
|
4791
|
+
} | null;
|
|
4637
4792
|
username: string;
|
|
4638
4793
|
};
|
|
4639
4794
|
UserGroupDTO: {
|
|
@@ -4664,8 +4819,10 @@ export interface components {
|
|
|
4664
4819
|
};
|
|
4665
4820
|
UserSettingsInput: {
|
|
4666
4821
|
alternatingRowColors?: boolean | null;
|
|
4822
|
+
defaultDeploymentId?: number | null;
|
|
4667
4823
|
lastSeenChangelogId?: number | null;
|
|
4668
4824
|
locale?: string | null;
|
|
4825
|
+
sheets?: components["schemas"]["SheetsUserSettingsInput"] | null;
|
|
4669
4826
|
theme?: string | null;
|
|
4670
4827
|
timezone?: string | null;
|
|
4671
4828
|
};
|
|
@@ -6445,7 +6602,12 @@ export interface operations {
|
|
|
6445
6602
|
};
|
|
6446
6603
|
cookie?: never;
|
|
6447
6604
|
};
|
|
6448
|
-
|
|
6605
|
+
/** @description CreateDeploymentTokenInput */
|
|
6606
|
+
requestBody?: {
|
|
6607
|
+
content: {
|
|
6608
|
+
"application/json": components["schemas"]["CreateDeploymentTokenInput"];
|
|
6609
|
+
};
|
|
6610
|
+
};
|
|
6449
6611
|
responses: {
|
|
6450
6612
|
200: {
|
|
6451
6613
|
headers: {
|
|
@@ -6659,6 +6821,33 @@ export interface operations {
|
|
|
6659
6821
|
};
|
|
6660
6822
|
};
|
|
6661
6823
|
};
|
|
6824
|
+
"WorkbooksPublicController.updatePublishedDashboardAiWidgetThread": {
|
|
6825
|
+
parameters: {
|
|
6826
|
+
query?: never;
|
|
6827
|
+
header?: never;
|
|
6828
|
+
path: {
|
|
6829
|
+
deploymentId: number;
|
|
6830
|
+
workbookId: number;
|
|
6831
|
+
};
|
|
6832
|
+
cookie?: never;
|
|
6833
|
+
};
|
|
6834
|
+
/** @description UpdatePublishedAiWidgetThreadInput */
|
|
6835
|
+
requestBody?: {
|
|
6836
|
+
content: {
|
|
6837
|
+
"application/json": components["schemas"]["UpdatePublishedAiWidgetThreadInput"];
|
|
6838
|
+
};
|
|
6839
|
+
};
|
|
6840
|
+
responses: {
|
|
6841
|
+
200: {
|
|
6842
|
+
headers: {
|
|
6843
|
+
[name: string]: any;
|
|
6844
|
+
};
|
|
6845
|
+
content: {
|
|
6846
|
+
"application/json": components["schemas"]["Dashboard"];
|
|
6847
|
+
};
|
|
6848
|
+
};
|
|
6849
|
+
};
|
|
6850
|
+
};
|
|
6662
6851
|
"WorkbooksPublicController.duplicateWorkbook": {
|
|
6663
6852
|
parameters: {
|
|
6664
6853
|
query?: never;
|
|
@@ -8158,6 +8347,25 @@ export interface operations {
|
|
|
8158
8347
|
};
|
|
8159
8348
|
};
|
|
8160
8349
|
};
|
|
8350
|
+
"UsageAnalyticsPublicController.createToken": {
|
|
8351
|
+
parameters: {
|
|
8352
|
+
query?: never;
|
|
8353
|
+
header?: never;
|
|
8354
|
+
path?: never;
|
|
8355
|
+
cookie?: never;
|
|
8356
|
+
};
|
|
8357
|
+
requestBody?: never;
|
|
8358
|
+
responses: {
|
|
8359
|
+
200: {
|
|
8360
|
+
headers: {
|
|
8361
|
+
[name: string]: any;
|
|
8362
|
+
};
|
|
8363
|
+
content: {
|
|
8364
|
+
"application/json": components["schemas"]["UsageAnalyticsTokenResponse"];
|
|
8365
|
+
};
|
|
8366
|
+
};
|
|
8367
|
+
};
|
|
8368
|
+
};
|
|
8161
8369
|
"UserAttributeValuesPublicController.upsertUserAttributeValue": {
|
|
8162
8370
|
parameters: {
|
|
8163
8371
|
query?: never;
|
|
@@ -8517,6 +8725,30 @@ export interface operations {
|
|
|
8517
8725
|
};
|
|
8518
8726
|
};
|
|
8519
8727
|
};
|
|
8728
|
+
"UsersPublicController.updateMySettings": {
|
|
8729
|
+
parameters: {
|
|
8730
|
+
query?: never;
|
|
8731
|
+
header?: never;
|
|
8732
|
+
path?: never;
|
|
8733
|
+
cookie?: never;
|
|
8734
|
+
};
|
|
8735
|
+
/** @description UserSettings */
|
|
8736
|
+
requestBody?: {
|
|
8737
|
+
content: {
|
|
8738
|
+
"application/json": components["schemas"]["UserSettingsInput"];
|
|
8739
|
+
};
|
|
8740
|
+
};
|
|
8741
|
+
responses: {
|
|
8742
|
+
200: {
|
|
8743
|
+
headers: {
|
|
8744
|
+
[name: string]: any;
|
|
8745
|
+
};
|
|
8746
|
+
content: {
|
|
8747
|
+
"application/json": components["schemas"]["User"];
|
|
8748
|
+
};
|
|
8749
|
+
};
|
|
8750
|
+
};
|
|
8751
|
+
};
|
|
8520
8752
|
"UsersAdminPublicController.updateUser": {
|
|
8521
8753
|
parameters: {
|
|
8522
8754
|
query?: never;
|