@cube-dev/platform-client 0.15.0 → 0.17.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
@@ -273,6 +273,23 @@ export interface paths {
273
273
  patch?: never;
274
274
  trace?: never;
275
275
  };
276
+ "/api/v1/deployments/{deploymentId}/agent-suggestions": {
277
+ parameters: {
278
+ query?: never;
279
+ header?: never;
280
+ path?: never;
281
+ cookie?: never;
282
+ };
283
+ /** Get agent suggestions */
284
+ get: operations["AgentsPublicController.getAgentSuggestions"];
285
+ put?: never;
286
+ post?: never;
287
+ delete?: never;
288
+ options?: never;
289
+ head?: never;
290
+ patch?: never;
291
+ trace?: never;
292
+ };
276
293
  "/api/v1/deployments/{deploymentId}/agents": {
277
294
  parameters: {
278
295
  query?: never;
@@ -1046,6 +1063,142 @@ export interface paths {
1046
1063
  patch?: never;
1047
1064
  trace?: never;
1048
1065
  };
1066
+ "/api/v1/deployments/{deploymentId}/report-deliveries": {
1067
+ parameters: {
1068
+ query?: never;
1069
+ header?: never;
1070
+ path?: never;
1071
+ cookie?: never;
1072
+ };
1073
+ /**
1074
+ * List report deliveries
1075
+ * @description In preview: ask Cube support to enable it. Newest first. Filter by `reportId`, `ownerUserId`, `spreadsheet` or `status`. Admins see every delivery; others only their own.
1076
+ */
1077
+ get: operations["ReportDeliveriesPublicController.getReportDeliveries"];
1078
+ put?: never;
1079
+ /**
1080
+ * Create a report delivery
1081
+ * @description In preview: ask Cube support to enable it. Writes a report’s results into a Google Sheets tab from `destination.anchorCell`. The caller owns it: their Google account writes, with their data access. Needs read access to the report.
1082
+ */
1083
+ post: operations["ReportDeliveriesPublicController.createReportDelivery"];
1084
+ delete?: never;
1085
+ options?: never;
1086
+ head?: never;
1087
+ patch?: never;
1088
+ trace?: never;
1089
+ };
1090
+ "/api/v1/deployments/{deploymentId}/report-deliveries/{id}": {
1091
+ parameters: {
1092
+ query?: never;
1093
+ header?: never;
1094
+ path?: never;
1095
+ cookie?: never;
1096
+ };
1097
+ /**
1098
+ * Get a report delivery
1099
+ * @description In preview: ask Cube support to enable it. `404` if the caller cannot see it. Admins see every delivery; others only their own.
1100
+ */
1101
+ get: operations["ReportDeliveriesPublicController.getReportDelivery"];
1102
+ /**
1103
+ * Update a report delivery
1104
+ * @description In preview: ask Cube support to enable it. Omitted fields stay unchanged; `destination` and `schedule` are replaced whole, and `schedule: null` removes it. A new `reportId` needs read access to that report; `ownerUserId` transfers the delivery.
1105
+ */
1106
+ put: operations["ReportDeliveriesPublicController.updateReportDelivery"];
1107
+ post?: never;
1108
+ /**
1109
+ * Delete a report delivery
1110
+ * @description In preview: ask Cube support to enable it. Also deletes its run history. Cells it already wrote stay in the spreadsheet.
1111
+ */
1112
+ delete: operations["ReportDeliveriesPublicController.deleteReportDelivery"];
1113
+ options?: never;
1114
+ head?: never;
1115
+ patch?: never;
1116
+ trace?: never;
1117
+ };
1118
+ "/api/v1/deployments/{deploymentId}/report-deliveries/{id}/pause": {
1119
+ parameters: {
1120
+ query?: never;
1121
+ header?: never;
1122
+ path?: never;
1123
+ cookie?: never;
1124
+ };
1125
+ get?: never;
1126
+ put?: never;
1127
+ /**
1128
+ * Pause a report delivery
1129
+ * @description In preview: ask Cube support to enable it. Its schedule stops firing until it is resumed; a run can still be started by hand. Pausing a paused delivery changes nothing.
1130
+ */
1131
+ post: operations["ReportDeliveriesPublicController.pauseReportDelivery"];
1132
+ delete?: never;
1133
+ options?: never;
1134
+ head?: never;
1135
+ patch?: never;
1136
+ trace?: never;
1137
+ };
1138
+ "/api/v1/deployments/{deploymentId}/report-deliveries/{id}/resume": {
1139
+ parameters: {
1140
+ query?: never;
1141
+ header?: never;
1142
+ path?: never;
1143
+ cookie?: never;
1144
+ };
1145
+ get?: never;
1146
+ put?: never;
1147
+ /**
1148
+ * Resume a paused report delivery
1149
+ * @description In preview: ask Cube support to enable it. Its schedule fires again from the next due time; the fires missed while paused are not run.
1150
+ */
1151
+ post: operations["ReportDeliveriesPublicController.resumeReportDelivery"];
1152
+ delete?: never;
1153
+ options?: never;
1154
+ head?: never;
1155
+ patch?: never;
1156
+ trace?: never;
1157
+ };
1158
+ "/api/v1/deployments/{deploymentId}/report-deliveries/{id}/runs": {
1159
+ parameters: {
1160
+ query?: never;
1161
+ header?: never;
1162
+ path?: never;
1163
+ cookie?: never;
1164
+ };
1165
+ /**
1166
+ * List runs of a report delivery
1167
+ * @description In preview: ask Cube support to enable it. Newest first unless `sortDirection` says otherwise, a running one included. `404` if the caller cannot see the delivery. Admins see every delivery; others only their own.
1168
+ */
1169
+ get: operations["ReportDeliveriesPublicController.getReportDeliveryRuns"];
1170
+ put?: never;
1171
+ /**
1172
+ * Run a report delivery now
1173
+ * @description In preview: ask Cube support to enable it. Starts a run in the background and returns its id. The run writes the report’s current results into the destination, whether or not the delivery is paused. `409` while another run of it is still going.
1174
+ */
1175
+ post: operations["ReportDeliveriesPublicController.startReportDeliveryRun"];
1176
+ delete?: never;
1177
+ options?: never;
1178
+ head?: never;
1179
+ patch?: never;
1180
+ trace?: never;
1181
+ };
1182
+ "/api/v1/deployments/{deploymentId}/report-deliveries/{id}/runs/{runId}": {
1183
+ parameters: {
1184
+ query?: never;
1185
+ header?: never;
1186
+ path?: never;
1187
+ cookie?: never;
1188
+ };
1189
+ /**
1190
+ * Get a report delivery run
1191
+ * @description In preview: ask Cube support to enable it. Poll it after starting a run: `status` stays `running` until the run finishes.
1192
+ */
1193
+ get: operations["ReportDeliveriesPublicController.getReportDeliveryRun"];
1194
+ put?: never;
1195
+ post?: never;
1196
+ delete?: never;
1197
+ options?: never;
1198
+ head?: never;
1199
+ patch?: never;
1200
+ trace?: never;
1201
+ };
1049
1202
  "/api/v1/deployments/{deploymentId}/report-folders": {
1050
1203
  parameters: {
1051
1204
  query?: never;
@@ -1215,6 +1368,36 @@ export interface paths {
1215
1368
  patch?: never;
1216
1369
  trace?: never;
1217
1370
  };
1371
+ "/api/v1/deployments/{deploymentId}/reports/{reportId}/file": {
1372
+ parameters: {
1373
+ query?: never;
1374
+ header?: never;
1375
+ path?: never;
1376
+ cookie?: never;
1377
+ };
1378
+ /**
1379
+ * Read a report definition as editable JSON text
1380
+ * @description Returns the report's definition as canonical JSON text (`content`) and its SHA-256 (`hash`): `name` plus the definition fields of `meta` (`sqlQuery`, `chartCategory`, chart specs, `pivotItems`, …). `vegaSpec` appears as a JSON object. Placements and run state are left out.
1381
+ *
1382
+ * Use it with `PATCH /reports/{reportId}/file` to change part of a report without resending it.
1383
+ */
1384
+ get: operations["ReportsPublicController.getReportFile"];
1385
+ put?: never;
1386
+ post?: never;
1387
+ delete?: never;
1388
+ options?: never;
1389
+ head?: never;
1390
+ /**
1391
+ * Replace text in a report definition
1392
+ * @description Changes part of a report by exact-text replacement, so a small change (a column, a filter, one chart property) sends only that change instead of the whole report.
1393
+ *
1394
+ * Read `GET /reports/{reportId}/file` first and copy each `oldText` from its `content`, including whitespace. Without `replaceAll`, `oldText` must occur exactly once. Edits apply in order; if any one fails, nothing is saved. A field removed from the file is cleared; fields outside the file cannot be added.
1395
+ *
1396
+ * Returns the new `content` and `hash`. Pass `expectedHash` to get `409` instead of editing a report that changed since you read it. Requires **edit** access to the report.
1397
+ */
1398
+ patch: operations["ReportsPublicController.replaceReportFileText"];
1399
+ trace?: never;
1400
+ };
1218
1401
  "/api/v1/deployments/{deploymentId}/reports/{reportId}/refresh": {
1219
1402
  parameters: {
1220
1403
  query?: never;
@@ -1247,7 +1430,7 @@ export interface paths {
1247
1430
  put?: never;
1248
1431
  /**
1249
1432
  * Create a scheduled task
1250
- * @description Saves a prompt for the agent to run on `cronExpression` in `timezone`, or only on demand without a cron. Runs act as the caller. A cron fires at most hourly (`400` otherwise), and a user can have 20 active tasks (`409` past that).
1433
+ * @description Saves a prompt the agent runs as the caller on `cronExpression` in `timezone`, or on demand. Needs `ScheduledTasksCreate` (`403` otherwise). A cron fires at most hourly (`400` otherwise), and a user can have 20 active tasks (`409` past that).
1251
1434
  */
1252
1435
  post: operations["ScheduledTasksPublicController.createScheduledTask"];
1253
1436
  delete?: never;
@@ -1365,6 +1548,126 @@ export interface paths {
1365
1548
  patch?: never;
1366
1549
  trace?: never;
1367
1550
  };
1551
+ "/api/v1/deployments/{deploymentId}/snowflake-semantic-view-pulls": {
1552
+ parameters: {
1553
+ query?: never;
1554
+ header?: never;
1555
+ path?: never;
1556
+ cookie?: never;
1557
+ };
1558
+ get?: never;
1559
+ put?: never;
1560
+ /**
1561
+ * Pull Snowflake Semantic Views into Cube
1562
+ * @description Pulls Snowflake Semantic Views into a Cube branch and returns a job ID to poll. Generated files are committed to the branch. Requires an API key or OAuth deployment.write token, SQL runner access, and preview enablement.
1563
+ */
1564
+ post: operations["SnowflakeSemanticViewSyncPublicController.startSnowflakeSemanticViewPull"];
1565
+ delete?: never;
1566
+ options?: never;
1567
+ head?: never;
1568
+ patch?: never;
1569
+ trace?: never;
1570
+ };
1571
+ "/api/v1/deployments/{deploymentId}/snowflake-semantic-view-pulls/{syncJobId}": {
1572
+ parameters: {
1573
+ query?: never;
1574
+ header?: never;
1575
+ path?: never;
1576
+ cookie?: never;
1577
+ };
1578
+ /**
1579
+ * Get Snowflake Semantic View pull status
1580
+ * @description Poll the syncJobId returned by the pull start request. COMPLETED and FAILED are terminal; a 404 means the job is not visible to this deployment.
1581
+ */
1582
+ get: operations["SnowflakeSemanticViewSyncPublicController.getSnowflakeSemanticViewPullStatus"];
1583
+ put?: never;
1584
+ post?: never;
1585
+ delete?: never;
1586
+ options?: never;
1587
+ head?: never;
1588
+ patch?: never;
1589
+ trace?: never;
1590
+ };
1591
+ "/api/v1/deployments/{deploymentId}/snowflake-semantic-view-pulls/{syncJobId}/result": {
1592
+ parameters: {
1593
+ query?: never;
1594
+ header?: never;
1595
+ path?: never;
1596
+ cookie?: never;
1597
+ };
1598
+ /**
1599
+ * Get the result of a completed Snowflake Semantic View pull
1600
+ * @description Returns the generated file paths committed to the Cube branch, view count, and duration. Poll status first; this endpoint returns 404 until the pull completes.
1601
+ */
1602
+ get: operations["SnowflakeSemanticViewSyncPublicController.getSnowflakeSemanticViewPullResult"];
1603
+ put?: never;
1604
+ post?: never;
1605
+ delete?: never;
1606
+ options?: never;
1607
+ head?: never;
1608
+ patch?: never;
1609
+ trace?: never;
1610
+ };
1611
+ "/api/v1/deployments/{deploymentId}/snowflake-semantic-view-syncs": {
1612
+ parameters: {
1613
+ query?: never;
1614
+ header?: never;
1615
+ path?: never;
1616
+ cookie?: never;
1617
+ };
1618
+ get?: never;
1619
+ put?: never;
1620
+ /**
1621
+ * Push Cube views to Snowflake Semantic Views
1622
+ * @description Queues a push of selected Cube views to Snowflake and returns a syncJobId for polling. Requires an API key or OAuth deployment.write token, Semantic View sync, SQL DDL access, and preview enablement.
1623
+ */
1624
+ post: operations["SnowflakeSemanticViewSyncPublicController.startSnowflakeSemanticViewPush"];
1625
+ delete?: never;
1626
+ options?: never;
1627
+ head?: never;
1628
+ patch?: never;
1629
+ trace?: never;
1630
+ };
1631
+ "/api/v1/deployments/{deploymentId}/snowflake-semantic-view-syncs/{syncJobId}": {
1632
+ parameters: {
1633
+ query?: never;
1634
+ header?: never;
1635
+ path?: never;
1636
+ cookie?: never;
1637
+ };
1638
+ /**
1639
+ * Get Snowflake Semantic View push status
1640
+ * @description Poll the syncJobId returned by the push start request. COMPLETED and FAILED are terminal; a 404 means the job is not visible to this deployment.
1641
+ */
1642
+ get: operations["SnowflakeSemanticViewSyncPublicController.getSnowflakeSemanticViewPushStatus"];
1643
+ put?: never;
1644
+ post?: never;
1645
+ delete?: never;
1646
+ options?: never;
1647
+ head?: never;
1648
+ patch?: never;
1649
+ trace?: never;
1650
+ };
1651
+ "/api/v1/deployments/{deploymentId}/snowflake-semantic-view-syncs/{syncJobId}/result": {
1652
+ parameters: {
1653
+ query?: never;
1654
+ header?: never;
1655
+ path?: never;
1656
+ cookie?: never;
1657
+ };
1658
+ /**
1659
+ * Get the result of a completed Snowflake Semantic View push
1660
+ * @description Returns the number of Snowflake Semantic Views published and the duration. Poll status first; this endpoint returns 404 until the push completes.
1661
+ */
1662
+ get: operations["SnowflakeSemanticViewSyncPublicController.getSnowflakeSemanticViewPushResult"];
1663
+ put?: never;
1664
+ post?: never;
1665
+ delete?: never;
1666
+ options?: never;
1667
+ head?: never;
1668
+ patch?: never;
1669
+ trace?: never;
1670
+ };
1368
1671
  "/api/v1/deployments/{deploymentId}/token": {
1369
1672
  parameters: {
1370
1673
  query?: never;
@@ -1512,6 +1815,36 @@ export interface paths {
1512
1815
  patch?: never;
1513
1816
  trace?: never;
1514
1817
  };
1818
+ "/api/v1/deployments/{deploymentId}/workbooks/{workbookId}/dashboard/file": {
1819
+ parameters: {
1820
+ query?: never;
1821
+ header?: never;
1822
+ path?: never;
1823
+ cookie?: never;
1824
+ };
1825
+ /**
1826
+ * Read the dashboard draft as editable JSON text
1827
+ * @description Returns the workbook's classic dashboard draft as canonical JSON text (`content`) and its SHA-256 (`hash`).
1828
+ *
1829
+ * Use it with `PATCH /workbooks/{workbookId}/dashboard/file` to change part of the dashboard without resending the whole configuration. Returns `400` for a workbook whose dashboard is a Dashboard App.
1830
+ */
1831
+ get: operations["WorkbooksPublicController.getWorkbookDashboardFile"];
1832
+ put?: never;
1833
+ post?: never;
1834
+ delete?: never;
1835
+ options?: never;
1836
+ head?: never;
1837
+ /**
1838
+ * Replace text in the dashboard draft
1839
+ * @description Changes part of the classic dashboard draft by exact-text replacement, so a small change sends only that change instead of the whole configuration.
1840
+ *
1841
+ * Read `GET /workbooks/{workbookId}/dashboard/file` first and copy each `oldText` from its `content`, including whitespace. Without `replaceAll`, `oldText` must occur exactly once. Edits apply in order; if any one fails, nothing is saved. The result is validated like `PUT /workbooks/{workbookId}/dashboard`.
1842
+ *
1843
+ * Returns the new `content` and `hash`. Pass `expectedHash` to get `409` instead of editing a draft that changed since you read it. Requires **manage** access to the workbook.
1844
+ */
1845
+ patch: operations["WorkbooksPublicController.replaceWorkbookDashboardFileText"];
1846
+ trace?: never;
1847
+ };
1515
1848
  "/api/v1/deployments/{deploymentId}/workbooks/{workbookId}/duplicate": {
1516
1849
  parameters: {
1517
1850
  query?: never;
@@ -1658,7 +1991,10 @@ export interface paths {
1658
1991
  };
1659
1992
  get?: never;
1660
1993
  put?: never;
1661
- /** Publish dashboard */
1994
+ /**
1995
+ * Publish a dashboard
1996
+ * @description Publishes the saved dashboard draft when config is omitted. Save layout or app changes to the workbook draft before publishing; the request only needs workbookId. An explicit config remains supported for existing clients.
1997
+ */
1662
1998
  post: operations["WorkbooksPublicController.publishDashboard"];
1663
1999
  delete?: never;
1664
2000
  options?: never;
@@ -3426,6 +3762,10 @@ export interface components {
3426
3762
  scopeDeploymentId?: number | null;
3427
3763
  spaceConfigName?: string | null;
3428
3764
  };
3765
+ AgentSuggestionsListResponse: {
3766
+ items: string[];
3767
+ pageInfo?: components["schemas"]["PageInfo"] | null;
3768
+ };
3429
3769
  ApiKeyCreatedResponse: {
3430
3770
  allowedEndpoints?: string[] | null;
3431
3771
  createdAt: string;
@@ -3613,7 +3953,7 @@ export interface components {
3613
3953
  /** @enum {string} */
3614
3954
  BulkUserActionResponseAction: "DEACTIVATE" | "ACTIVATE" | "DELETE";
3615
3955
  ChatThreadPolicy: {
3616
- 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")[];
3956
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
3617
3957
  effect?: components["schemas"]["ChatThreadPolicyEffect"] | null;
3618
3958
  resourceType: components["schemas"]["ChatThreadPolicyResourceType"];
3619
3959
  resources: string[];
@@ -3769,10 +4109,25 @@ export interface components {
3769
4109
  isEnabled?: boolean | null;
3770
4110
  name?: string | null;
3771
4111
  subFormat?: string | null;
4112
+ subjectType?: components["schemas"]["CreateOidcTokenConfigInputSubjectType"] | null;
3772
4113
  targetEnvVar?: string | null;
3773
4114
  };
3774
- CreateReportInput: {
3775
- endResultCell?: string | null;
4115
+ /** @enum {string} */
4116
+ CreateOidcTokenConfigInputSubjectType: "deployment" | "user";
4117
+ CreateReportDeliveryInput: {
4118
+ destination: components["schemas"]["ReportDeliveryDestinationInput"];
4119
+ name: string;
4120
+ notifications?: components["schemas"]["ReportDeliveryNotificationsInput"] | null;
4121
+ /** @description Id of the report whose results are delivered. It must belong to this deployment, and the caller must be able to read it. */
4122
+ reportId: number;
4123
+ schedule?: components["schemas"]["ReportDeliveryScheduleInput"] | null;
4124
+ shape?: components["schemas"]["ReportDeliveryShapeInput"] | null;
4125
+ writeMode?: components["schemas"]["CreateReportDeliveryInputWriteMode"] | null;
4126
+ };
4127
+ /** @enum {string} */
4128
+ CreateReportDeliveryInputWriteMode: "overwrite" | "append" | "new_sheet";
4129
+ CreateReportInput: {
4130
+ endResultCell?: string | null;
3776
4131
  externalWorkbookId?: string | null;
3777
4132
  folderId?: number | null;
3778
4133
  host?: components["schemas"]["CreateReportInputHost"] | null;
@@ -3802,6 +4157,7 @@ export interface components {
3802
4157
  description?: string | null;
3803
4158
  isEnabled?: boolean | null;
3804
4159
  name: string;
4160
+ notificationEnabled?: boolean | null;
3805
4161
  /** @description What the agent is asked on every run, shown as the task's Instructions in Cube. Each run starts a new chat thread with no memory of earlier ones, so write the whole request. */
3806
4162
  prompt: string;
3807
4163
  timezone?: string | null;
@@ -3813,6 +4169,15 @@ export interface components {
3813
4169
  } | null;
3814
4170
  name?: string | null;
3815
4171
  };
4172
+ CreatedDeploymentEnvironmentToken: {
4173
+ created_at: string;
4174
+ expires_at: string;
4175
+ scopes: string[];
4176
+ security_context: {
4177
+ [key: string]: any;
4178
+ };
4179
+ token: string;
4180
+ };
3816
4181
  /** @enum {string} */
3817
4182
  CreationStep: "project" | "upload" | "schema" | "github" | "ssh" | "databases" | "ready" | "demo";
3818
4183
  CreatorMode: {
@@ -4565,7 +4930,7 @@ export interface components {
4565
4930
  token: string;
4566
4931
  };
4567
4932
  DeploymentEnvironmentTokenResponse: {
4568
- data: components["schemas"]["DeploymentEnvironmentToken"];
4933
+ data: components["schemas"]["CreatedDeploymentEnvironmentToken"];
4569
4934
  };
4570
4935
  DeploymentEnvironmentTokensListResponse: {
4571
4936
  /**
@@ -5011,6 +5376,10 @@ export interface components {
5011
5376
  /** @enum {string} */
5012
5377
  GetDeploymentEnvironmentsQueryType: "production" | "staging" | "development";
5013
5378
  /** @enum {string} */
5379
+ GetReportDeliveriesQueryStatus: "active" | "failing" | "needs_reconnect" | "orphaned";
5380
+ /** @enum {string} */
5381
+ GetReportDeliveryRunsQuerySortDirection: "ASC" | "DESC";
5382
+ /** @enum {string} */
5014
5383
  GetReportsQuerySortBy: "name" | "createdAt" | "updatedAt" | "lastViewedAt";
5015
5384
  /** @enum {string} */
5016
5385
  GetReportsQuerySortDirection: "ASC" | "DESC";
@@ -5081,7 +5450,7 @@ export interface components {
5081
5450
  userCount?: number | null;
5082
5451
  };
5083
5452
  /** @enum {string} */
5084
- 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";
5453
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5085
5454
  InheritedUserPolicyDto: {
5086
5455
  action: components["schemas"]["InheritedUserPolicyDtoAction"];
5087
5456
  email?: string | null;
@@ -5091,7 +5460,13 @@ export interface components {
5091
5460
  userId?: number | null;
5092
5461
  };
5093
5462
  /** @enum {string} */
5094
- 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";
5463
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5464
+ JsonConfigFileDto: {
5465
+ /** @description The configuration as canonical JSON text: keys sorted, 2-space indentation, trailing newline. `oldText` in a replacement must match this text exactly. */
5466
+ content: string;
5467
+ /** @description SHA-256 of `content`. Send it back as `expectedHash` to reject the write if the configuration changed since you read it. */
5468
+ hash: string;
5469
+ };
5095
5470
  /** @enum {string} */
5096
5471
  ListDatabricksMetricViewSyncsQueryStatus: "QUEUED" | "RUNNING" | "CANCELLING" | "COMPLETED" | "PARTIAL" | "FAILED" | "CANCELLED";
5097
5472
  LocalEncryptedSecret: {
@@ -5221,9 +5596,12 @@ export interface components {
5221
5596
  isEnabled: boolean;
5222
5597
  name: string;
5223
5598
  subFormat?: string | null;
5599
+ subjectType: components["schemas"]["OidcTokenConfigDTOSubjectType"];
5224
5600
  targetEnvVar?: string | null;
5225
5601
  updatedAt: string;
5226
5602
  };
5603
+ /** @enum {string} */
5604
+ OidcTokenConfigDTOSubjectType: "deployment" | "user";
5227
5605
  PageInfo: {
5228
5606
  endCursor?: string | null;
5229
5607
  hasNextPage: boolean;
@@ -5277,7 +5655,7 @@ export interface components {
5277
5655
  /** @enum {string} */
5278
5656
  PivotItemsMeasuresPosition: "before" | "after";
5279
5657
  Policy: {
5280
- 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")[];
5658
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
5281
5659
  resourceType: components["schemas"]["PolicyResourceType"];
5282
5660
  resources: string[];
5283
5661
  };
@@ -5359,6 +5737,7 @@ export interface components {
5359
5737
  };
5360
5738
  PythonAnalysisFilteredRun: {
5361
5739
  at: string;
5740
+ dataRefreshedAt?: string | null;
5362
5741
  executionError?: string | null;
5363
5742
  inputRowCount: number;
5364
5743
  outputData?: any | null;
@@ -5482,6 +5861,11 @@ export interface components {
5482
5861
  branchName?: string;
5483
5862
  files: components["schemas"]["DataModelFileRename"][];
5484
5863
  };
5864
+ ReplaceJsonConfigTextInput: {
5865
+ /** @description Replacements applied in order, each to the result of the previous one. Either all apply or nothing is saved. */
5866
+ edits: components["schemas"]["TextReplacementInput"][];
5867
+ expectedHash?: string | null;
5868
+ };
5485
5869
  Report: {
5486
5870
  canEdit?: boolean | null;
5487
5871
  canManage?: boolean | null;
@@ -5517,6 +5901,121 @@ export interface components {
5517
5901
  version?: number | null;
5518
5902
  workbookId?: number | null;
5519
5903
  };
5904
+ ReportDeliveriesListResponse: {
5905
+ items: components["schemas"]["ReportDeliveryResponse"][];
5906
+ pageInfo?: components["schemas"]["PageInfo"] | null;
5907
+ };
5908
+ ReportDeliveryColumn: {
5909
+ column?: string | null;
5910
+ header?: string | null;
5911
+ placeholder?: boolean | null;
5912
+ };
5913
+ ReportDeliveryColumnInput: {
5914
+ column?: string | null;
5915
+ header?: string | null;
5916
+ placeholder?: components["schemas"]["ReportDeliveryColumnInputPlaceholder"] | null;
5917
+ };
5918
+ /** @enum {boolean} */
5919
+ ReportDeliveryColumnInputPlaceholder: true;
5920
+ ReportDeliveryDestination: {
5921
+ /** @description Top-left cell of the delivered block, in A1 notation. */
5922
+ anchorCell: string;
5923
+ sheetId?: number | null;
5924
+ sheetName?: string | null;
5925
+ spreadsheetId: string;
5926
+ };
5927
+ ReportDeliveryDestinationInput: {
5928
+ anchorCell?: string | null;
5929
+ sheetId?: number | null;
5930
+ sheetName?: string | null;
5931
+ /** @description The Google Sheets spreadsheet: its URL or its id. */
5932
+ spreadsheet: string;
5933
+ };
5934
+ ReportDeliveryNotificationSettings: {
5935
+ email: boolean;
5936
+ inbox: boolean;
5937
+ slackChannelId?: string | null;
5938
+ slackChannelName?: string | null;
5939
+ };
5940
+ ReportDeliveryNotificationsInput: {
5941
+ /** @description Email the owner's Cube address. */
5942
+ email: boolean;
5943
+ /** @description Notify in the owner's Cube inbox. */
5944
+ inbox: boolean;
5945
+ slackChannelId?: string | null;
5946
+ slackChannelName?: string | null;
5947
+ };
5948
+ ReportDeliveryResponse: {
5949
+ deploymentId: number;
5950
+ destination: components["schemas"]["ReportDeliveryDestination"];
5951
+ id: number;
5952
+ lastRunAt?: string | null;
5953
+ lastSuccessAt?: string | null;
5954
+ name: string;
5955
+ nextRunAt?: any | null;
5956
+ /** @description How the owner hears that the delivery failed or recovered. A delivery that runs more than once a day reports only changes in its status; a daily or rarer one reports every failed run. */
5957
+ notifications: components["schemas"]["ReportDeliveryNotificationSettings"];
5958
+ ownerUserId?: number | null;
5959
+ pausedAt?: any | null;
5960
+ reportId?: number | null;
5961
+ reportName?: string | null;
5962
+ reportPublicId?: string | null;
5963
+ reportWorkbookId?: number | null;
5964
+ runAsUserId?: number | null;
5965
+ runningSince?: string | null;
5966
+ schedule?: components["schemas"]["ReportDeliverySchedule"] | null;
5967
+ shape?: components["schemas"]["ReportDeliveryShape"] | null;
5968
+ sheetTitle?: string | null;
5969
+ spreadsheetTitle?: string | null;
5970
+ status: components["schemas"]["ReportDeliveryResponseStatus"];
5971
+ writeMode: components["schemas"]["ReportDeliveryResponseWriteMode"];
5972
+ };
5973
+ /** @enum {string} */
5974
+ ReportDeliveryResponseStatus: "active" | "failing" | "needs_reconnect" | "orphaned";
5975
+ /** @enum {string} */
5976
+ ReportDeliveryResponseWriteMode: "overwrite" | "append" | "new_sheet";
5977
+ ReportDeliveryRunFailure: {
5978
+ /** @description Why the run failed, e.g. `collision`, `shape-changed`, `query-failed` or `reconnect`. */
5979
+ code: string;
5980
+ /** @description A sentence for a person to read; never raw Google or warehouse output. */
5981
+ text: string;
5982
+ };
5983
+ ReportDeliveryRunResponse: {
5984
+ cellsWritten?: number | null;
5985
+ deliveryId: number;
5986
+ error?: components["schemas"]["ReportDeliveryRunFailure"] | null;
5987
+ finishedAt?: string | null;
5988
+ id: number;
5989
+ rowsWritten?: number | null;
5990
+ /** Format: date-time */
5991
+ startedAt: string;
5992
+ status: components["schemas"]["ReportDeliveryRunResponseStatus"];
5993
+ trigger: components["schemas"]["ReportDeliveryRunResponseTrigger"];
5994
+ };
5995
+ /** @enum {string} */
5996
+ ReportDeliveryRunResponseStatus: "running" | "succeeded" | "unchanged" | "failed" | "skipped" | "missed";
5997
+ /** @enum {string} */
5998
+ ReportDeliveryRunResponseTrigger: "manual" | "schedule";
5999
+ ReportDeliveryRunsListResponse: {
6000
+ items: components["schemas"]["ReportDeliveryRunResponse"][];
6001
+ pageInfo?: components["schemas"]["PageInfo"] | null;
6002
+ };
6003
+ ReportDeliverySchedule: {
6004
+ cronExpressions: string[];
6005
+ timezone: string;
6006
+ };
6007
+ ReportDeliveryScheduleInput: {
6008
+ /** @description Five-field cron expressions; the delivery runs whenever any matches. Runs of one expression must be at least 15 minutes apart: `*\/15 9-17 * * 1-5` is every quarter hour from 09:00 to 17:45 on weekdays. */
6009
+ cronExpressions: string[];
6010
+ timezone?: string | null;
6011
+ };
6012
+ ReportDeliveryShape: {
6013
+ columns: components["schemas"]["ReportDeliveryColumn"][];
6014
+ };
6015
+ ReportDeliveryShapeInput: {
6016
+ /** @description The delivered columns, left to right. A column the query stops returning fails the run rather than shifting the ones after it. */
6017
+ columns: components["schemas"]["ReportDeliveryColumnInput"][];
6018
+ };
5520
6019
  /** @enum {string} */
5521
6020
  ReportDtoSource: "GOOGLE_SHEETS" | "EXCEL" | "PLAYGROUND" | "D3";
5522
6021
  /** @enum {string} */
@@ -5623,7 +6122,7 @@ export interface components {
5623
6122
  userCount?: number | null;
5624
6123
  };
5625
6124
  /** @enum {string} */
5626
- 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";
6125
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5627
6126
  ResourceOwner: {
5628
6127
  email: string;
5629
6128
  firstName?: string | null;
@@ -5644,13 +6143,13 @@ export interface components {
5644
6143
  userId?: number | null;
5645
6144
  };
5646
6145
  /** @enum {string} */
5647
- 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";
6146
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5648
6147
  RevokeEmbedSessionInput: {
5649
6148
  /** @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. */
5650
6149
  sessionId: string;
5651
6150
  };
5652
6151
  RoleWithAccess: {
5653
- 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")[];
6152
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage")[];
5654
6153
  id: number;
5655
6154
  name: string;
5656
6155
  };
@@ -5693,6 +6192,8 @@ export interface components {
5693
6192
  isEnabled: boolean;
5694
6193
  name: string;
5695
6194
  nextRunAt?: string | null;
6195
+ /** @description Whether a finished run notifies the creator in Cube's notification inbox. */
6196
+ notificationEnabled: boolean;
5696
6197
  /** @description What the agent is asked on every run, shown as the task's Instructions in Cube. Each run starts a new chat thread, so the prompt has to stand on its own. */
5697
6198
  prompt: string;
5698
6199
  /** @description IANA time zone the cron is read in, e.g. `America/New_York`. Defaults to `UTC`. */
@@ -5734,6 +6235,41 @@ export interface components {
5734
6235
  showAppliedFilters?: boolean | null;
5735
6236
  suppressDuplicateValues?: boolean | null;
5736
6237
  };
6238
+ SnowflakeSemanticViewGeneratedFileResponse: {
6239
+ hash?: string | null;
6240
+ path: string;
6241
+ };
6242
+ SnowflakeSemanticViewPullResultResponse: {
6243
+ completedAt: string;
6244
+ durationMs: number;
6245
+ generatedFiles: components["schemas"]["SnowflakeSemanticViewGeneratedFileResponse"][];
6246
+ syncJobId: string;
6247
+ viewCount: number;
6248
+ };
6249
+ SnowflakeSemanticViewPushResultResponse: {
6250
+ completedAt: string;
6251
+ durationMs: number;
6252
+ syncJobId: string;
6253
+ viewCount: number;
6254
+ };
6255
+ SnowflakeSemanticViewSyncProgressResponse: {
6256
+ message?: string | null;
6257
+ percentComplete: number;
6258
+ stage: string;
6259
+ };
6260
+ SnowflakeSemanticViewSyncStartResponse: {
6261
+ /** Format: uuid */
6262
+ syncJobId: string;
6263
+ workflowId: string;
6264
+ };
6265
+ SnowflakeSemanticViewSyncStatusResponse: {
6266
+ error?: string | null;
6267
+ progress: components["schemas"]["SnowflakeSemanticViewSyncProgressResponse"];
6268
+ /** @description COMPLETED and FAILED are terminal. Treat other values as in progress. */
6269
+ status: string;
6270
+ syncJobId: string;
6271
+ updatedAt: string;
6272
+ };
5737
6273
  SourceTreeResponse: {
5738
6274
  /**
5739
6275
  * @deprecated
@@ -5784,6 +6320,30 @@ export interface components {
5784
6320
  branchName: string;
5785
6321
  questionFile?: string | null;
5786
6322
  };
6323
+ StartReportDeliveryRunResponse: {
6324
+ /** @description Id of the run, which writes the sheet in the background; poll it for the outcome. */
6325
+ runId: number;
6326
+ };
6327
+ StartSnowflakeSemanticViewPullInput: {
6328
+ branchName?: string | null;
6329
+ commitMessage?: string | null;
6330
+ dataSource?: string | null;
6331
+ idempotencyKey?: string | null;
6332
+ namePrefix?: string | null;
6333
+ outputPath: string;
6334
+ schema: string;
6335
+ titlePrefix?: string | null;
6336
+ viewNames?: string[] | null;
6337
+ };
6338
+ StartSnowflakeSemanticViewSyncInput: {
6339
+ branchName?: string | null;
6340
+ dataSource?: string | null;
6341
+ idempotencyKey?: string | null;
6342
+ prefix: string;
6343
+ schema: string;
6344
+ schemaPath?: string | null;
6345
+ viewNames: string[];
6346
+ };
5787
6347
  StartUploadResponse: {
5788
6348
  deploymentName: string;
5789
6349
  transaction: components["schemas"]["UploadTransaction"];
@@ -5817,6 +6377,13 @@ export interface components {
5817
6377
  configurationVersion: number;
5818
6378
  previewId?: string | null;
5819
6379
  };
6380
+ TextReplacementInput: {
6381
+ /** @description Text to put in place of `oldText`. */
6382
+ newText: string;
6383
+ /** @description Exact text to replace, copied from `content`, including whitespace. Must occur exactly once unless `replaceAll` is set. */
6384
+ oldText: string;
6385
+ replaceAll?: boolean | null;
6386
+ };
5820
6387
  ThemeFont: {
5821
6388
  family?: string | null;
5822
6389
  format: string;
@@ -5937,8 +6504,21 @@ export interface components {
5937
6504
  threadId: string;
5938
6505
  widgetId: string;
5939
6506
  };
6507
+ UpdateReportDeliveryInput: {
6508
+ destination?: components["schemas"]["ReportDeliveryDestinationInput"] | null;
6509
+ name?: string | null;
6510
+ notifications?: components["schemas"]["ReportDeliveryNotificationsInput"] | null;
6511
+ ownerUserId?: number | null;
6512
+ reportId?: number | null;
6513
+ schedule?: components["schemas"]["ReportDeliveryScheduleInput"] | null;
6514
+ shape?: components["schemas"]["ReportDeliveryShapeInput"] | null;
6515
+ writeMode?: components["schemas"]["UpdateReportDeliveryInputWriteMode"] | null;
6516
+ };
6517
+ /** @enum {string} */
6518
+ UpdateReportDeliveryInputWriteMode: "overwrite" | "append" | "new_sheet";
5940
6519
  UpdateReportInput: {
5941
6520
  endResultCell?: string | null;
6521
+ expectedVersion?: number | null;
5942
6522
  externalWorkbookId?: string | null;
5943
6523
  folderId?: number | null;
5944
6524
  host?: components["schemas"]["UpdateReportInputHost"] | null;
@@ -5967,7 +6547,7 @@ export interface components {
5967
6547
  resourceType: components["schemas"]["UpdateResourceGroupPolicyBodyResourceType"];
5968
6548
  };
5969
6549
  /** @enum {string} */
5970
- 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";
6550
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5971
6551
  /** @enum {string} */
5972
6552
  UpdateResourceGroupPolicyBodyResourceType: "Global" | "Deployment" | "Report" | "ReportFolder" | "Agent" | "AgentSpace" | "Workbook" | "Dashboard" | "Folder" | "ChatThread";
5973
6553
  UpdateResourceUserPolicyBody: {
@@ -5977,7 +6557,7 @@ export interface components {
5977
6557
  userId?: number | null;
5978
6558
  };
5979
6559
  /** @enum {string} */
5980
- 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";
6560
+ 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" | "ScheduledTasksCreate" | "OAuthIntegrationsManage" | "OAuthIntegrationsIssueTokens" | "McpToolsManage" | "AIBIDevelop" | "AIBIExplore" | "AIBIView" | "ChartPalettesManage" | "DashboardThemesManage" | "AIBIDeveloper" | "AIBIUser" | "AIBIViewer" | "EmbedDeploymentRead" | "EmbedDashboardRead" | "FolderRead" | "FolderEdit" | "FolderManage";
5981
6561
  /** @enum {string} */
5982
6562
  UpdateResourceUserPolicyBodyResourceType: "Global" | "Deployment" | "Report" | "ReportFolder" | "Agent" | "AgentSpace" | "Workbook" | "Dashboard" | "Folder" | "ChatThread";
5983
6563
  UpdateScheduledTaskInput: {
@@ -5986,6 +6566,7 @@ export interface components {
5986
6566
  description?: string | null;
5987
6567
  isEnabled?: boolean | null;
5988
6568
  name?: string | null;
6569
+ notificationEnabled?: boolean | null;
5989
6570
  prompt?: string | null;
5990
6571
  timezone?: string | null;
5991
6572
  };
@@ -6956,6 +7537,32 @@ export interface operations {
6956
7537
  };
6957
7538
  };
6958
7539
  };
7540
+ "AgentsPublicController.getAgentSuggestions": {
7541
+ parameters: {
7542
+ query?: {
7543
+ agent?: string | null;
7544
+ branchName?: string | null;
7545
+ after?: string;
7546
+ first?: number;
7547
+ };
7548
+ header?: never;
7549
+ path: {
7550
+ deploymentId: number;
7551
+ };
7552
+ cookie?: never;
7553
+ };
7554
+ requestBody?: never;
7555
+ responses: {
7556
+ 200: {
7557
+ headers: {
7558
+ [name: string]: any;
7559
+ };
7560
+ content: {
7561
+ "application/json": components["schemas"]["AgentSuggestionsListResponse"];
7562
+ };
7563
+ };
7564
+ };
7565
+ };
6959
7566
  "AgentsPublicController.getAgents": {
6960
7567
  parameters: {
6961
7568
  query?: {
@@ -8229,14 +8836,19 @@ export interface operations {
8229
8836
  };
8230
8837
  };
8231
8838
  };
8232
- "ReportsPublicController.getReportFolders": {
8839
+ "ReportDeliveriesPublicController.getReportDeliveries": {
8233
8840
  parameters: {
8234
8841
  query?: {
8235
- after?: string | null;
8236
- first?: number | null;
8842
+ reportId?: number | null;
8843
+ ownerUserId?: number | null;
8844
+ spreadsheet?: string | null;
8845
+ status?: components["schemas"]["GetReportDeliveriesQueryStatus"] | null;
8846
+ after?: string;
8847
+ first?: number;
8237
8848
  };
8238
8849
  header?: never;
8239
8850
  path: {
8851
+ /** @description Numeric id of the deployment that owns the delivery. */
8240
8852
  deploymentId: number;
8241
8853
  };
8242
8854
  cookie?: never;
@@ -8248,83 +8860,78 @@ export interface operations {
8248
8860
  [name: string]: any;
8249
8861
  };
8250
8862
  content: {
8251
- "application/json": components["schemas"]["ReportFoldersFindAllResult"];
8863
+ "application/json": components["schemas"]["ReportDeliveriesListResponse"];
8252
8864
  };
8253
8865
  };
8254
8866
  };
8255
8867
  };
8256
- "ReportsPublicController.getReports": {
8868
+ "ReportDeliveriesPublicController.createReportDelivery": {
8257
8869
  parameters: {
8258
- query?: {
8259
- workbookId?: number | null;
8260
- folderId?: number | null;
8261
- externalWorkbookId?: string | null;
8262
- search?: string | null;
8263
- limit?: number | null;
8264
- page?: number | null;
8265
- sortBy?: components["schemas"]["GetReportsQuerySortBy"] | null;
8266
- sortDirection?: components["schemas"]["GetReportsQuerySortDirection"] | null;
8267
- after?: string;
8268
- first?: number;
8269
- };
8870
+ query?: never;
8270
8871
  header?: never;
8271
8872
  path: {
8873
+ /** @description Numeric id of the deployment that owns the delivery. */
8272
8874
  deploymentId: number;
8273
8875
  };
8274
8876
  cookie?: never;
8275
8877
  };
8276
- requestBody?: never;
8878
+ /** @description CreateReportDeliveryInput */
8879
+ requestBody?: {
8880
+ content: {
8881
+ "application/json": components["schemas"]["CreateReportDeliveryInput"];
8882
+ };
8883
+ };
8277
8884
  responses: {
8278
8885
  200: {
8279
8886
  headers: {
8280
8887
  [name: string]: any;
8281
8888
  };
8282
8889
  content: {
8283
- "application/json": components["schemas"]["ReportsListResponse"];
8890
+ "application/json": components["schemas"]["ReportDeliveryResponse"];
8284
8891
  };
8285
8892
  };
8286
8893
  };
8287
8894
  };
8288
- "ReportsPublicController.createReport": {
8895
+ "ReportDeliveriesPublicController.getReportDelivery": {
8289
8896
  parameters: {
8290
8897
  query?: never;
8291
8898
  header?: never;
8292
8899
  path: {
8900
+ /** @description Numeric id of the deployment that owns the delivery. */
8293
8901
  deploymentId: number;
8902
+ /** @description Numeric id of the report delivery. */
8903
+ id: number;
8294
8904
  };
8295
8905
  cookie?: never;
8296
8906
  };
8297
- /** @description CreateReportInput */
8298
- requestBody?: {
8299
- content: {
8300
- "application/json": components["schemas"]["CreateReportInput"];
8301
- };
8302
- };
8907
+ requestBody?: never;
8303
8908
  responses: {
8304
8909
  200: {
8305
8910
  headers: {
8306
8911
  [name: string]: any;
8307
8912
  };
8308
8913
  content: {
8309
- "application/json": components["schemas"]["Report"];
8914
+ "application/json": components["schemas"]["ReportDeliveryResponse"];
8310
8915
  };
8311
8916
  };
8312
8917
  };
8313
8918
  };
8314
- "ReportsPublicController.upsertReportByPublicId": {
8919
+ "ReportDeliveriesPublicController.updateReportDelivery": {
8315
8920
  parameters: {
8316
8921
  query?: never;
8317
8922
  header?: never;
8318
8923
  path: {
8924
+ /** @description Numeric id of the deployment that owns the delivery. */
8319
8925
  deploymentId: number;
8320
- publicId: string;
8926
+ /** @description Numeric id of the report delivery. */
8927
+ id: number;
8321
8928
  };
8322
8929
  cookie?: never;
8323
8930
  };
8324
- /** @description CreateReportInput */
8931
+ /** @description UpdateReportDeliveryInput */
8325
8932
  requestBody?: {
8326
8933
  content: {
8327
- "application/json": components["schemas"]["CreateReportInput"];
8934
+ "application/json": components["schemas"]["UpdateReportDeliveryInput"];
8328
8935
  };
8329
8936
  };
8330
8937
  responses: {
@@ -8333,165 +8940,170 @@ export interface operations {
8333
8940
  [name: string]: any;
8334
8941
  };
8335
8942
  content: {
8336
- "application/json": components["schemas"]["Report"];
8943
+ "application/json": components["schemas"]["ReportDeliveryResponse"];
8337
8944
  };
8338
8945
  };
8339
8946
  };
8340
8947
  };
8341
- "ReportsPublicController.getReport": {
8948
+ "ReportDeliveriesPublicController.deleteReportDelivery": {
8342
8949
  parameters: {
8343
8950
  query?: never;
8344
8951
  header?: never;
8345
8952
  path: {
8953
+ /** @description Numeric id of the deployment that owns the delivery. */
8346
8954
  deploymentId: number;
8347
- reportId: number;
8955
+ /** @description Numeric id of the report delivery. */
8956
+ id: number;
8348
8957
  };
8349
8958
  cookie?: never;
8350
8959
  };
8351
8960
  requestBody?: never;
8352
8961
  responses: {
8962
+ /** @description Successful response */
8353
8963
  200: {
8354
8964
  headers: {
8355
8965
  [name: string]: any;
8356
8966
  };
8357
8967
  content: {
8358
- "application/json": components["schemas"]["Report"];
8968
+ "application/json": any;
8969
+ };
8970
+ };
8971
+ /** @description Report delivery deleted. */
8972
+ 204: {
8973
+ headers: {
8974
+ [name: string]: any;
8359
8975
  };
8976
+ content?: never;
8360
8977
  };
8361
8978
  };
8362
8979
  };
8363
- "ReportsPublicController.updateReport": {
8980
+ "ReportDeliveriesPublicController.pauseReportDelivery": {
8364
8981
  parameters: {
8365
8982
  query?: never;
8366
8983
  header?: never;
8367
8984
  path: {
8368
- deploymentId: string;
8369
- reportId: number;
8985
+ /** @description Numeric id of the deployment that owns the delivery. */
8986
+ deploymentId: number;
8987
+ /** @description Numeric id of the report delivery. */
8988
+ id: number;
8370
8989
  };
8371
8990
  cookie?: never;
8372
8991
  };
8373
- /** @description UpdateReportInput */
8374
- requestBody?: {
8375
- content: {
8376
- "application/json": components["schemas"]["UpdateReportInput"];
8377
- };
8378
- };
8992
+ requestBody?: never;
8379
8993
  responses: {
8380
8994
  200: {
8381
8995
  headers: {
8382
8996
  [name: string]: any;
8383
8997
  };
8384
8998
  content: {
8385
- "application/json": components["schemas"]["Report"];
8999
+ "application/json": components["schemas"]["ReportDeliveryResponse"];
8386
9000
  };
8387
9001
  };
8388
9002
  };
8389
9003
  };
8390
- "ReportsPublicController.deleteReport": {
9004
+ "ReportDeliveriesPublicController.resumeReportDelivery": {
8391
9005
  parameters: {
8392
9006
  query?: never;
8393
9007
  header?: never;
8394
9008
  path: {
9009
+ /** @description Numeric id of the deployment that owns the delivery. */
8395
9010
  deploymentId: number;
8396
- reportId: number;
9011
+ /** @description Numeric id of the report delivery. */
9012
+ id: number;
8397
9013
  };
8398
9014
  cookie?: never;
8399
9015
  };
8400
9016
  requestBody?: never;
8401
9017
  responses: {
8402
- /** @description Successful response */
8403
9018
  200: {
8404
9019
  headers: {
8405
9020
  [name: string]: any;
8406
9021
  };
8407
9022
  content: {
8408
- "application/json": any;
9023
+ "application/json": components["schemas"]["ReportDeliveryResponse"];
8409
9024
  };
8410
9025
  };
8411
9026
  };
8412
9027
  };
8413
- "ReportsPublicController.connectReportToWorkbook": {
9028
+ "ReportDeliveriesPublicController.getReportDeliveryRuns": {
8414
9029
  parameters: {
8415
- query?: never;
9030
+ query?: {
9031
+ sortDirection?: components["schemas"]["GetReportDeliveryRunsQuerySortDirection"] | null;
9032
+ after?: string;
9033
+ first?: number;
9034
+ };
8416
9035
  header?: never;
8417
9036
  path: {
9037
+ /** @description Numeric id of the deployment that owns the delivery. */
8418
9038
  deploymentId: number;
8419
- reportId: number;
9039
+ /** @description Numeric id of the report delivery. */
9040
+ id: number;
8420
9041
  };
8421
9042
  cookie?: never;
8422
9043
  };
8423
- /** @description ConnectReportToWorkbookInput */
8424
- requestBody?: {
8425
- content: {
8426
- "application/json": components["schemas"]["ConnectReportToWorkbookInput"];
8427
- };
8428
- };
9044
+ requestBody?: never;
8429
9045
  responses: {
8430
9046
  200: {
8431
9047
  headers: {
8432
9048
  [name: string]: any;
8433
9049
  };
8434
9050
  content: {
8435
- "application/json": components["schemas"]["Report"];
9051
+ "application/json": components["schemas"]["ReportDeliveryRunsListResponse"];
8436
9052
  };
8437
9053
  };
8438
9054
  };
8439
9055
  };
8440
- "ReportsPublicController.disconnectReportFromWorkbook": {
9056
+ "ReportDeliveriesPublicController.startReportDeliveryRun": {
8441
9057
  parameters: {
8442
9058
  query?: never;
8443
9059
  header?: never;
8444
9060
  path: {
9061
+ /** @description Numeric id of the deployment that owns the delivery. */
8445
9062
  deploymentId: number;
8446
- reportId: number;
9063
+ /** @description Numeric id of the report delivery. */
9064
+ id: number;
8447
9065
  };
8448
9066
  cookie?: never;
8449
9067
  };
8450
- /** @description DisconnectReportFromWorkbookInput */
8451
- requestBody?: {
8452
- content: {
8453
- "application/json": components["schemas"]["DisconnectReportFromWorkbookInput"];
8454
- };
8455
- };
9068
+ requestBody?: never;
8456
9069
  responses: {
8457
- 200: {
9070
+ 202: {
8458
9071
  headers: {
8459
9072
  [name: string]: any;
8460
9073
  };
8461
9074
  content: {
8462
- "application/json": components["schemas"]["Report"];
9075
+ "application/json": components["schemas"]["StartReportDeliveryRunResponse"];
8463
9076
  };
8464
9077
  };
8465
9078
  };
8466
9079
  };
8467
- "ReportsPublicController.refreshReport": {
9080
+ "ReportDeliveriesPublicController.getReportDeliveryRun": {
8468
9081
  parameters: {
8469
9082
  query?: never;
8470
9083
  header?: never;
8471
9084
  path: {
9085
+ /** @description Numeric id of the deployment that owns the delivery. */
8472
9086
  deploymentId: number;
8473
- reportId: number;
9087
+ /** @description Numeric id of the report delivery. */
9088
+ id: number;
9089
+ /** @description Numeric id of the run, as returned when it was started. */
9090
+ runId: number;
8474
9091
  };
8475
9092
  cookie?: never;
8476
9093
  };
8477
- /** @description RefreshReportInput */
8478
- requestBody?: {
8479
- content: {
8480
- "application/json": components["schemas"]["RefreshReportInput"];
8481
- };
8482
- };
9094
+ requestBody?: never;
8483
9095
  responses: {
8484
9096
  200: {
8485
9097
  headers: {
8486
9098
  [name: string]: any;
8487
9099
  };
8488
9100
  content: {
8489
- "application/json": components["schemas"]["Report"];
9101
+ "application/json": components["schemas"]["ReportDeliveryRunResponse"];
8490
9102
  };
8491
9103
  };
8492
9104
  };
8493
9105
  };
8494
- "ScheduledTasksPublicController.listScheduledTasks": {
9106
+ "ReportsPublicController.getReportFolders": {
8495
9107
  parameters: {
8496
9108
  query?: {
8497
9109
  after?: string | null;
@@ -8510,44 +9122,355 @@ export interface operations {
8510
9122
  [name: string]: any;
8511
9123
  };
8512
9124
  content: {
8513
- "application/json": components["schemas"]["ScheduledTaskListResponse"];
9125
+ "application/json": components["schemas"]["ReportFoldersFindAllResult"];
8514
9126
  };
8515
9127
  };
8516
9128
  };
8517
9129
  };
8518
- "ScheduledTasksPublicController.createScheduledTask": {
9130
+ "ReportsPublicController.getReports": {
8519
9131
  parameters: {
8520
- query?: never;
9132
+ query?: {
9133
+ workbookId?: number | null;
9134
+ folderId?: number | null;
9135
+ externalWorkbookId?: string | null;
9136
+ search?: string | null;
9137
+ limit?: number | null;
9138
+ page?: number | null;
9139
+ sortBy?: components["schemas"]["GetReportsQuerySortBy"] | null;
9140
+ sortDirection?: components["schemas"]["GetReportsQuerySortDirection"] | null;
9141
+ after?: string;
9142
+ first?: number;
9143
+ };
8521
9144
  header?: never;
8522
9145
  path: {
8523
9146
  deploymentId: number;
8524
9147
  };
8525
9148
  cookie?: never;
8526
9149
  };
8527
- /** @description CreateScheduledTaskInput */
8528
- requestBody: {
8529
- content: {
8530
- "application/json": components["schemas"]["CreateScheduledTaskInput"];
8531
- };
8532
- };
9150
+ requestBody?: never;
8533
9151
  responses: {
8534
9152
  200: {
8535
9153
  headers: {
8536
9154
  [name: string]: any;
8537
9155
  };
8538
9156
  content: {
8539
- "application/json": components["schemas"]["ScheduledTaskResponse"];
9157
+ "application/json": components["schemas"]["ReportsListResponse"];
8540
9158
  };
8541
9159
  };
8542
9160
  };
8543
9161
  };
8544
- "ScheduledTasksPublicController.getScheduledTask": {
9162
+ "ReportsPublicController.createReport": {
8545
9163
  parameters: {
8546
9164
  query?: never;
8547
9165
  header?: never;
8548
9166
  path: {
8549
9167
  deploymentId: number;
8550
- taskId: number;
9168
+ };
9169
+ cookie?: never;
9170
+ };
9171
+ /** @description CreateReportInput */
9172
+ requestBody?: {
9173
+ content: {
9174
+ "application/json": components["schemas"]["CreateReportInput"];
9175
+ };
9176
+ };
9177
+ responses: {
9178
+ 200: {
9179
+ headers: {
9180
+ [name: string]: any;
9181
+ };
9182
+ content: {
9183
+ "application/json": components["schemas"]["Report"];
9184
+ };
9185
+ };
9186
+ };
9187
+ };
9188
+ "ReportsPublicController.upsertReportByPublicId": {
9189
+ parameters: {
9190
+ query?: never;
9191
+ header?: never;
9192
+ path: {
9193
+ deploymentId: number;
9194
+ publicId: string;
9195
+ };
9196
+ cookie?: never;
9197
+ };
9198
+ /** @description CreateReportInput */
9199
+ requestBody?: {
9200
+ content: {
9201
+ "application/json": components["schemas"]["CreateReportInput"];
9202
+ };
9203
+ };
9204
+ responses: {
9205
+ 200: {
9206
+ headers: {
9207
+ [name: string]: any;
9208
+ };
9209
+ content: {
9210
+ "application/json": components["schemas"]["Report"];
9211
+ };
9212
+ };
9213
+ };
9214
+ };
9215
+ "ReportsPublicController.getReport": {
9216
+ parameters: {
9217
+ query?: never;
9218
+ header?: never;
9219
+ path: {
9220
+ deploymentId: number;
9221
+ reportId: number;
9222
+ };
9223
+ cookie?: never;
9224
+ };
9225
+ requestBody?: never;
9226
+ responses: {
9227
+ 200: {
9228
+ headers: {
9229
+ [name: string]: any;
9230
+ };
9231
+ content: {
9232
+ "application/json": components["schemas"]["Report"];
9233
+ };
9234
+ };
9235
+ };
9236
+ };
9237
+ "ReportsPublicController.updateReport": {
9238
+ parameters: {
9239
+ query?: never;
9240
+ header?: never;
9241
+ path: {
9242
+ deploymentId: string;
9243
+ reportId: number;
9244
+ };
9245
+ cookie?: never;
9246
+ };
9247
+ /** @description UpdateReportInput */
9248
+ requestBody?: {
9249
+ content: {
9250
+ "application/json": components["schemas"]["UpdateReportInput"];
9251
+ };
9252
+ };
9253
+ responses: {
9254
+ 200: {
9255
+ headers: {
9256
+ [name: string]: any;
9257
+ };
9258
+ content: {
9259
+ "application/json": components["schemas"]["Report"];
9260
+ };
9261
+ };
9262
+ };
9263
+ };
9264
+ "ReportsPublicController.deleteReport": {
9265
+ parameters: {
9266
+ query?: never;
9267
+ header?: never;
9268
+ path: {
9269
+ deploymentId: number;
9270
+ reportId: number;
9271
+ };
9272
+ cookie?: never;
9273
+ };
9274
+ requestBody?: never;
9275
+ responses: {
9276
+ /** @description Successful response */
9277
+ 200: {
9278
+ headers: {
9279
+ [name: string]: any;
9280
+ };
9281
+ content: {
9282
+ "application/json": any;
9283
+ };
9284
+ };
9285
+ };
9286
+ };
9287
+ "ReportsPublicController.connectReportToWorkbook": {
9288
+ parameters: {
9289
+ query?: never;
9290
+ header?: never;
9291
+ path: {
9292
+ deploymentId: number;
9293
+ reportId: number;
9294
+ };
9295
+ cookie?: never;
9296
+ };
9297
+ /** @description ConnectReportToWorkbookInput */
9298
+ requestBody?: {
9299
+ content: {
9300
+ "application/json": components["schemas"]["ConnectReportToWorkbookInput"];
9301
+ };
9302
+ };
9303
+ responses: {
9304
+ 200: {
9305
+ headers: {
9306
+ [name: string]: any;
9307
+ };
9308
+ content: {
9309
+ "application/json": components["schemas"]["Report"];
9310
+ };
9311
+ };
9312
+ };
9313
+ };
9314
+ "ReportsPublicController.disconnectReportFromWorkbook": {
9315
+ parameters: {
9316
+ query?: never;
9317
+ header?: never;
9318
+ path: {
9319
+ deploymentId: number;
9320
+ reportId: number;
9321
+ };
9322
+ cookie?: never;
9323
+ };
9324
+ /** @description DisconnectReportFromWorkbookInput */
9325
+ requestBody?: {
9326
+ content: {
9327
+ "application/json": components["schemas"]["DisconnectReportFromWorkbookInput"];
9328
+ };
9329
+ };
9330
+ responses: {
9331
+ 200: {
9332
+ headers: {
9333
+ [name: string]: any;
9334
+ };
9335
+ content: {
9336
+ "application/json": components["schemas"]["Report"];
9337
+ };
9338
+ };
9339
+ };
9340
+ };
9341
+ "ReportsPublicController.getReportFile": {
9342
+ parameters: {
9343
+ query?: never;
9344
+ header?: never;
9345
+ path: {
9346
+ deploymentId: number;
9347
+ reportId: number;
9348
+ };
9349
+ cookie?: never;
9350
+ };
9351
+ requestBody?: never;
9352
+ responses: {
9353
+ 200: {
9354
+ headers: {
9355
+ [name: string]: any;
9356
+ };
9357
+ content: {
9358
+ "application/json": components["schemas"]["JsonConfigFileDto"];
9359
+ };
9360
+ };
9361
+ };
9362
+ };
9363
+ "ReportsPublicController.replaceReportFileText": {
9364
+ parameters: {
9365
+ query?: never;
9366
+ header?: never;
9367
+ path: {
9368
+ deploymentId: number;
9369
+ reportId: number;
9370
+ };
9371
+ cookie?: never;
9372
+ };
9373
+ /** @description ReplaceJsonConfigTextInput */
9374
+ requestBody?: {
9375
+ content: {
9376
+ "application/json": components["schemas"]["ReplaceJsonConfigTextInput"];
9377
+ };
9378
+ };
9379
+ responses: {
9380
+ 200: {
9381
+ headers: {
9382
+ [name: string]: any;
9383
+ };
9384
+ content: {
9385
+ "application/json": components["schemas"]["JsonConfigFileDto"];
9386
+ };
9387
+ };
9388
+ };
9389
+ };
9390
+ "ReportsPublicController.refreshReport": {
9391
+ parameters: {
9392
+ query?: never;
9393
+ header?: never;
9394
+ path: {
9395
+ deploymentId: number;
9396
+ reportId: number;
9397
+ };
9398
+ cookie?: never;
9399
+ };
9400
+ /** @description RefreshReportInput */
9401
+ requestBody?: {
9402
+ content: {
9403
+ "application/json": components["schemas"]["RefreshReportInput"];
9404
+ };
9405
+ };
9406
+ responses: {
9407
+ 200: {
9408
+ headers: {
9409
+ [name: string]: any;
9410
+ };
9411
+ content: {
9412
+ "application/json": components["schemas"]["Report"];
9413
+ };
9414
+ };
9415
+ };
9416
+ };
9417
+ "ScheduledTasksPublicController.listScheduledTasks": {
9418
+ parameters: {
9419
+ query?: {
9420
+ after?: string | null;
9421
+ first?: number | null;
9422
+ };
9423
+ header?: never;
9424
+ path: {
9425
+ deploymentId: number;
9426
+ };
9427
+ cookie?: never;
9428
+ };
9429
+ requestBody?: never;
9430
+ responses: {
9431
+ 200: {
9432
+ headers: {
9433
+ [name: string]: any;
9434
+ };
9435
+ content: {
9436
+ "application/json": components["schemas"]["ScheduledTaskListResponse"];
9437
+ };
9438
+ };
9439
+ };
9440
+ };
9441
+ "ScheduledTasksPublicController.createScheduledTask": {
9442
+ parameters: {
9443
+ query?: never;
9444
+ header?: never;
9445
+ path: {
9446
+ deploymentId: number;
9447
+ };
9448
+ cookie?: never;
9449
+ };
9450
+ /** @description CreateScheduledTaskInput */
9451
+ requestBody: {
9452
+ content: {
9453
+ "application/json": components["schemas"]["CreateScheduledTaskInput"];
9454
+ };
9455
+ };
9456
+ responses: {
9457
+ 200: {
9458
+ headers: {
9459
+ [name: string]: any;
9460
+ };
9461
+ content: {
9462
+ "application/json": components["schemas"]["ScheduledTaskResponse"];
9463
+ };
9464
+ };
9465
+ };
9466
+ };
9467
+ "ScheduledTasksPublicController.getScheduledTask": {
9468
+ parameters: {
9469
+ query?: never;
9470
+ header?: never;
9471
+ path: {
9472
+ deploymentId: number;
9473
+ taskId: number;
8551
9474
  };
8552
9475
  cookie?: never;
8553
9476
  };
@@ -8710,6 +9633,146 @@ export interface operations {
8710
9633
  };
8711
9634
  };
8712
9635
  };
9636
+ "SnowflakeSemanticViewSyncPublicController.startSnowflakeSemanticViewPull": {
9637
+ parameters: {
9638
+ query?: never;
9639
+ header?: never;
9640
+ path: {
9641
+ deploymentId: number;
9642
+ };
9643
+ cookie?: never;
9644
+ };
9645
+ /** @description StartSnowflakeSemanticViewPullInput */
9646
+ requestBody: {
9647
+ content: {
9648
+ "application/json": components["schemas"]["StartSnowflakeSemanticViewPullInput"];
9649
+ };
9650
+ };
9651
+ responses: {
9652
+ 202: {
9653
+ headers: {
9654
+ [name: string]: any;
9655
+ };
9656
+ content: {
9657
+ "application/json": components["schemas"]["SnowflakeSemanticViewSyncStartResponse"];
9658
+ };
9659
+ };
9660
+ };
9661
+ };
9662
+ "SnowflakeSemanticViewSyncPublicController.getSnowflakeSemanticViewPullStatus": {
9663
+ parameters: {
9664
+ query?: never;
9665
+ header?: never;
9666
+ path: {
9667
+ deploymentId: number;
9668
+ syncJobId: string;
9669
+ };
9670
+ cookie?: never;
9671
+ };
9672
+ requestBody?: never;
9673
+ responses: {
9674
+ 200: {
9675
+ headers: {
9676
+ [name: string]: any;
9677
+ };
9678
+ content: {
9679
+ "application/json": components["schemas"]["SnowflakeSemanticViewSyncStatusResponse"];
9680
+ };
9681
+ };
9682
+ };
9683
+ };
9684
+ "SnowflakeSemanticViewSyncPublicController.getSnowflakeSemanticViewPullResult": {
9685
+ parameters: {
9686
+ query?: never;
9687
+ header?: never;
9688
+ path: {
9689
+ deploymentId: number;
9690
+ syncJobId: string;
9691
+ };
9692
+ cookie?: never;
9693
+ };
9694
+ requestBody?: never;
9695
+ responses: {
9696
+ 200: {
9697
+ headers: {
9698
+ [name: string]: any;
9699
+ };
9700
+ content: {
9701
+ "application/json": components["schemas"]["SnowflakeSemanticViewPullResultResponse"];
9702
+ };
9703
+ };
9704
+ };
9705
+ };
9706
+ "SnowflakeSemanticViewSyncPublicController.startSnowflakeSemanticViewPush": {
9707
+ parameters: {
9708
+ query?: never;
9709
+ header?: never;
9710
+ path: {
9711
+ deploymentId: number;
9712
+ };
9713
+ cookie?: never;
9714
+ };
9715
+ /** @description StartSnowflakeSemanticViewSyncInput */
9716
+ requestBody: {
9717
+ content: {
9718
+ "application/json": components["schemas"]["StartSnowflakeSemanticViewSyncInput"];
9719
+ };
9720
+ };
9721
+ responses: {
9722
+ 202: {
9723
+ headers: {
9724
+ [name: string]: any;
9725
+ };
9726
+ content: {
9727
+ "application/json": components["schemas"]["SnowflakeSemanticViewSyncStartResponse"];
9728
+ };
9729
+ };
9730
+ };
9731
+ };
9732
+ "SnowflakeSemanticViewSyncPublicController.getSnowflakeSemanticViewPushStatus": {
9733
+ parameters: {
9734
+ query?: never;
9735
+ header?: never;
9736
+ path: {
9737
+ deploymentId: number;
9738
+ syncJobId: string;
9739
+ };
9740
+ cookie?: never;
9741
+ };
9742
+ requestBody?: never;
9743
+ responses: {
9744
+ 200: {
9745
+ headers: {
9746
+ [name: string]: any;
9747
+ };
9748
+ content: {
9749
+ "application/json": components["schemas"]["SnowflakeSemanticViewSyncStatusResponse"];
9750
+ };
9751
+ };
9752
+ };
9753
+ };
9754
+ "SnowflakeSemanticViewSyncPublicController.getSnowflakeSemanticViewPushResult": {
9755
+ parameters: {
9756
+ query?: never;
9757
+ header?: never;
9758
+ path: {
9759
+ deploymentId: number;
9760
+ syncJobId: string;
9761
+ };
9762
+ cookie?: never;
9763
+ };
9764
+ requestBody?: never;
9765
+ responses: {
9766
+ 200: {
9767
+ headers: {
9768
+ [name: string]: any;
9769
+ };
9770
+ content: {
9771
+ "application/json": components["schemas"]["SnowflakeSemanticViewPushResultResponse"];
9772
+ };
9773
+ };
9774
+ };
9775
+ };
8713
9776
  "DeploymentsPublicController.deploymentToken": {
8714
9777
  parameters: {
8715
9778
  query?: never;
@@ -8965,6 +10028,55 @@ export interface operations {
8965
10028
  };
8966
10029
  };
8967
10030
  };
10031
+ "WorkbooksPublicController.getWorkbookDashboardFile": {
10032
+ parameters: {
10033
+ query?: never;
10034
+ header?: never;
10035
+ path: {
10036
+ deploymentId: number;
10037
+ workbookId: number;
10038
+ };
10039
+ cookie?: never;
10040
+ };
10041
+ requestBody?: never;
10042
+ responses: {
10043
+ 200: {
10044
+ headers: {
10045
+ [name: string]: any;
10046
+ };
10047
+ content: {
10048
+ "application/json": components["schemas"]["JsonConfigFileDto"];
10049
+ };
10050
+ };
10051
+ };
10052
+ };
10053
+ "WorkbooksPublicController.replaceWorkbookDashboardFileText": {
10054
+ parameters: {
10055
+ query?: never;
10056
+ header?: never;
10057
+ path: {
10058
+ deploymentId: number;
10059
+ workbookId: number;
10060
+ };
10061
+ cookie?: never;
10062
+ };
10063
+ /** @description ReplaceJsonConfigTextInput */
10064
+ requestBody?: {
10065
+ content: {
10066
+ "application/json": components["schemas"]["ReplaceJsonConfigTextInput"];
10067
+ };
10068
+ };
10069
+ responses: {
10070
+ 200: {
10071
+ headers: {
10072
+ [name: string]: any;
10073
+ };
10074
+ content: {
10075
+ "application/json": components["schemas"]["JsonConfigFileDto"];
10076
+ };
10077
+ };
10078
+ };
10079
+ };
8968
10080
  "WorkbooksPublicController.duplicateWorkbook": {
8969
10081
  parameters: {
8970
10082
  query?: never;