@looker/sdk 26.6.1 → 26.10.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.
@@ -18,6 +18,8 @@ export interface IAgent {
18
18
  category?: string | null;
19
19
  sources?: ISource[];
20
20
  has_inaccessible_source?: boolean;
21
+ golden_queries?: IGoldenQuery[] | null;
22
+ golden_query_ids?: number[] | null;
21
23
  context?: IContext;
22
24
  deleted?: boolean;
23
25
  created_at?: Date;
@@ -25,11 +27,13 @@ export interface IAgent {
25
27
  content_metadata_id?: string;
26
28
  code_interpreter?: boolean;
27
29
  studio_agent_id?: string | null;
30
+ workflow_params?: IWorkflowParams;
28
31
  }
29
32
  export interface IAlert {
30
33
  applied_dashboard_filters?: IAlertAppliedDashboardFilter[] | null;
31
34
  comparison_type: ComparisonType;
32
35
  cron: string;
36
+ query_id?: string | null;
33
37
  custom_url_base?: string | null;
34
38
  custom_url_params?: string | null;
35
39
  custom_url_label?: string | null;
@@ -194,6 +198,9 @@ export interface IAssertValidatorTestSuccess {
194
198
  explore_url?: string;
195
199
  lookml_url?: string;
196
200
  }
201
+ export interface IAsyncDeployResponse {
202
+ status?: string;
203
+ }
197
204
  export interface IBackupConfiguration {
198
205
  can?: IDictionary<boolean>;
199
206
  type?: string | null;
@@ -454,6 +461,7 @@ export interface ICIRun {
454
461
  assigned_ci_user_at?: Date | null;
455
462
  crashed_check_count?: number;
456
463
  run_url?: string;
464
+ user_attributes?: ICIRunUserAttribute[] | null;
457
465
  }
458
466
  export interface ICIRunResult {
459
467
  sql_result?: ICISqlValidatorResult;
@@ -466,6 +474,11 @@ export interface ICIRunResult {
466
474
  lookml_error?: ICIGenericError;
467
475
  generic_error?: ICIGenericError;
468
476
  }
477
+ export interface ICIRunUserAttribute {
478
+ id?: number;
479
+ name?: string;
480
+ value?: string | null;
481
+ }
469
482
  export interface ICIScheduleTrigger {
470
483
  enabled?: boolean;
471
484
  day?: string | null;
@@ -658,6 +671,7 @@ export interface IContentValidationDashboardElement {
658
671
  note_text?: string | null;
659
672
  note_text_as_html?: string | null;
660
673
  query_id?: string | null;
674
+ filter_id?: string | null;
661
675
  subtitle_text?: string | null;
662
676
  title?: string | null;
663
677
  title_hidden?: boolean;
@@ -820,6 +834,7 @@ export interface ICreateContinuousIntegrationRunRequest {
820
834
  suite_id?: string;
821
835
  branch?: string | null;
822
836
  commit?: string | null;
837
+ user_attributes?: IUserAttributeOverride[] | null;
823
838
  }
824
839
  export interface ICreateCostEstimate {
825
840
  sql?: string;
@@ -855,6 +870,7 @@ export interface ICreateDashboardFilter {
855
870
  export interface ICreateDashboardRenderTask {
856
871
  dashboard_filters?: string | null;
857
872
  dashboard_style?: string | null;
873
+ tab_ids?: string[] | null;
858
874
  }
859
875
  export interface ICreateEmbedUserRequest {
860
876
  external_user_id: string;
@@ -998,6 +1014,16 @@ export interface ICredentialsTotp {
998
1014
  verified?: boolean;
999
1015
  url?: string | null;
1000
1016
  }
1017
+ export interface ICredentialsWorkforce {
1018
+ can?: IDictionary<boolean>;
1019
+ created_at?: string | null;
1020
+ email?: string | null;
1021
+ is_disabled?: boolean;
1022
+ logged_in_at?: string | null;
1023
+ workforce_user_id?: string | null;
1024
+ type?: string | null;
1025
+ url?: string | null;
1026
+ }
1001
1027
  export interface ICustomWelcomeEmail {
1002
1028
  enabled?: boolean;
1003
1029
  content?: string | null;
@@ -1023,6 +1049,7 @@ export interface IDashboard {
1023
1049
  preferred_viewer?: string | null;
1024
1050
  certification_metadata?: ICertification;
1025
1051
  alert_sync_with_dashboard_filter_enabled?: boolean;
1052
+ chat_enabled?: boolean;
1026
1053
  background_color?: string | null;
1027
1054
  created_at?: Date | null;
1028
1055
  crossfilter_enabled?: boolean;
@@ -1057,6 +1084,8 @@ export interface IDashboard {
1057
1084
  usage_count?: number | null;
1058
1085
  is_owner_disabled?: boolean;
1059
1086
  url?: string | null;
1087
+ preserve_desktop_layout?: boolean;
1088
+ download_settings?: IDashboardDownloadSettings;
1060
1089
  }
1061
1090
  export interface IDashboardAggregateTableLookml {
1062
1091
  dashboard_id?: string | null;
@@ -1070,6 +1099,7 @@ export interface IDashboardAppearance {
1070
1099
  tile_background_color?: string | null;
1071
1100
  tile_shadow?: boolean | null;
1072
1101
  key_color?: string | null;
1102
+ modern_vis2026?: boolean | null;
1073
1103
  }
1074
1104
  export interface IDashboardBase {
1075
1105
  can?: IDictionary<boolean>;
@@ -1090,6 +1120,14 @@ export interface IDashboardBase {
1090
1120
  preferred_viewer?: string | null;
1091
1121
  certification_metadata?: ICertification;
1092
1122
  }
1123
+ export interface IDashboardDownloadSettings {
1124
+ format_option?: string | null;
1125
+ value_options?: string | null;
1126
+ result_options?: string | null;
1127
+ limit_options?: string | null;
1128
+ rows_limit?: number | null;
1129
+ columns_limit?: number | null;
1130
+ }
1093
1131
  export interface IDashboardElement {
1094
1132
  can?: IDictionary<boolean>;
1095
1133
  body_text?: string | null;
@@ -1108,6 +1146,7 @@ export interface IDashboardElement {
1108
1146
  note_text_as_html?: string | null;
1109
1147
  query?: IQuery;
1110
1148
  query_id?: string | null;
1149
+ filter_id?: string | null;
1111
1150
  refresh_interval?: string | null;
1112
1151
  refresh_interval_to_i?: number | null;
1113
1152
  result_maker?: IResultMakerWithIdVisConfigAndDynamicFields;
@@ -1157,6 +1196,7 @@ export interface IDashboardLayout {
1157
1196
  label?: string | null;
1158
1197
  description?: string | null;
1159
1198
  order?: number | null;
1199
+ lookml_link_id?: string | null;
1160
1200
  }
1161
1201
  export interface IDashboardLayoutComponent {
1162
1202
  can?: IDictionary<boolean>;
@@ -1384,6 +1424,11 @@ export declare enum DependencyStatus {
1384
1424
  lock_error = "lock_error",
1385
1425
  install_none = "install_none"
1386
1426
  }
1427
+ export interface IDeployStatusResponse {
1428
+ status?: string;
1429
+ error?: string | null;
1430
+ commit_sha?: string | null;
1431
+ }
1387
1432
  export declare enum DestinationType {
1388
1433
  EMAIL = "EMAIL",
1389
1434
  ACTION_HUB = "ACTION_HUB"
@@ -1480,6 +1525,7 @@ export interface IEmbedConfig {
1480
1525
  strict_sameorigin_for_login?: boolean;
1481
1526
  look_filters?: boolean;
1482
1527
  hide_look_navigation?: boolean;
1528
+ permissions?: IDictionary<any> | null;
1483
1529
  embed_enabled?: boolean;
1484
1530
  }
1485
1531
  export interface IEmbedCookielessSessionAcquire {
@@ -1683,6 +1729,18 @@ export interface IGitStatus {
1683
1729
  revertable?: boolean;
1684
1730
  text?: string | null;
1685
1731
  }
1732
+ export interface IGoldenQuery {
1733
+ can?: IDictionary<boolean>;
1734
+ id?: number;
1735
+ query_id?: number | null;
1736
+ questions?: string[];
1737
+ answer?: string;
1738
+ is_active?: boolean;
1739
+ created_by_user_id?: number | null;
1740
+ last_updated_by_user_id?: number | null;
1741
+ created_at?: Date;
1742
+ last_updated_at?: Date | null;
1743
+ }
1686
1744
  export interface IGroup {
1687
1745
  can?: IDictionary<boolean>;
1688
1746
  can_add_to_content_metadata?: boolean;
@@ -2134,6 +2192,7 @@ export interface ILookmlModelExplore {
2134
2192
  self_service_explore_data?: ISelfServiceModelUploadData;
2135
2193
  supports_cost_estimate?: boolean;
2136
2194
  connection_name?: string | null;
2195
+ dialect_name?: string | null;
2137
2196
  null_sort_treatment?: string | null;
2138
2197
  files?: string[] | null;
2139
2198
  source_file?: string | null;
@@ -2181,6 +2240,7 @@ export interface ILookmlModelExploreError {
2181
2240
  }
2182
2241
  export interface ILookmlModelExploreField {
2183
2242
  align?: Align;
2243
+ available_custom_timeframes?: string[] | null;
2184
2244
  can_filter?: boolean;
2185
2245
  category?: Category | null;
2186
2246
  default_filter_value?: string | null;
@@ -2535,6 +2595,7 @@ export interface IMobilePayload {
2535
2595
  dashboard_name?: string | null;
2536
2596
  dashboard_id?: string | null;
2537
2597
  query_slug?: string;
2598
+ query_id?: string | null;
2538
2599
  }
2539
2600
  export interface IMobileSettings {
2540
2601
  mobile_force_authentication?: boolean;
@@ -2994,6 +3055,11 @@ export interface IRequestArtifactNamespaces {
2994
3055
  limit?: number | null;
2995
3056
  offset?: number | null;
2996
3057
  }
3058
+ export interface IRequestAsyncDeployRefToProduction {
3059
+ project_id: string;
3060
+ branch?: string | null;
3061
+ ref?: string | null;
3062
+ }
2997
3063
  export interface IRequestConnectionColumns {
2998
3064
  connection_name: string;
2999
3065
  database?: string | null;
@@ -3155,7 +3221,6 @@ export interface IRequestRunInlineQuery {
3155
3221
  path_prefix?: string | null;
3156
3222
  rebuild_pdts?: boolean | null;
3157
3223
  server_table_calcs?: boolean | null;
3158
- enable_oauth_error_response?: boolean | null;
3159
3224
  }
3160
3225
  export interface IRequestRunLook {
3161
3226
  look_id: string;
@@ -3194,8 +3259,6 @@ export interface IRequestRunQuery {
3194
3259
  path_prefix?: string | null;
3195
3260
  rebuild_pdts?: boolean | null;
3196
3261
  server_table_calcs?: boolean | null;
3197
- source?: string | null;
3198
- enable_oauth_error_response?: boolean | null;
3199
3262
  }
3200
3263
  export interface IRequestScheduledPlansForDashboard {
3201
3264
  dashboard_id: string;
@@ -3228,6 +3291,7 @@ export interface IRequestSearchAgents {
3228
3291
  filter_or?: boolean | null;
3229
3292
  not_owned_by?: boolean | null;
3230
3293
  deleted?: boolean | null;
3294
+ primary_agent_id?: string | null;
3231
3295
  }
3232
3296
  export interface IRequestSearchAlerts {
3233
3297
  limit?: number | null;
@@ -3525,6 +3589,7 @@ export interface IRequestSearchThemes {
3525
3589
  sorts?: string | null;
3526
3590
  fields?: string | null;
3527
3591
  filter_or?: boolean | null;
3592
+ theme_type?: string | null;
3528
3593
  }
3529
3594
  export interface IRequestSearchUserLoginLockouts {
3530
3595
  fields?: string | null;
@@ -3826,6 +3891,8 @@ export interface IScheduledPlan {
3826
3891
  embed?: boolean;
3827
3892
  color_theme?: string | null;
3828
3893
  long_tables?: boolean;
3894
+ pdf_page_breaks?: boolean;
3895
+ tab_ids?: string[] | null;
3829
3896
  inline_table_width?: number | null;
3830
3897
  query_id?: string | null;
3831
3898
  id?: string;
@@ -3971,6 +4038,7 @@ export interface ISetting {
3971
4038
  revoke_certification_on_edits?: boolean;
3972
4039
  is_content_certification_enabled?: boolean;
3973
4040
  auto_certify_lookml_content?: boolean;
4041
+ ca_agent_observability?: boolean;
3974
4042
  mcp_tools?: IMcpTools;
3975
4043
  }
3976
4044
  export interface ISmtpNodeStatus {
@@ -4256,6 +4324,7 @@ export interface IUser {
4256
4324
  credentials_oidc?: ICredentialsOIDC;
4257
4325
  credentials_saml?: ICredentialsSaml;
4258
4326
  credentials_totp?: ICredentialsTotp;
4327
+ credentials_workforce?: ICredentialsWorkforce;
4259
4328
  display_name?: string | null;
4260
4329
  email?: string | null;
4261
4330
  embed_group_space_id?: string | null;
@@ -4298,6 +4367,8 @@ export interface IUserAttribute {
4298
4367
  user_can_view?: boolean;
4299
4368
  user_can_edit?: boolean;
4300
4369
  hidden_value_domain_whitelist?: string | null;
4370
+ needed_for_ci_run?: boolean;
4371
+ value_for_ci_run?: string | null;
4301
4372
  }
4302
4373
  export declare enum UserAttributeFilterTypes {
4303
4374
  advanced_filter_string = "advanced_filter_string",
@@ -4319,6 +4390,10 @@ export interface IUserAttributeGroupValue {
4319
4390
  rank?: number | null;
4320
4391
  value?: string | null;
4321
4392
  }
4393
+ export interface IUserAttributeOverride {
4394
+ name?: string;
4395
+ value?: string;
4396
+ }
4322
4397
  export interface IUserAttributeWithValue {
4323
4398
  can?: IDictionary<boolean>;
4324
4399
  name?: string | null;
@@ -4402,24 +4477,37 @@ export interface IWhitelabelConfiguration {
4402
4477
  alerts_links?: boolean;
4403
4478
  folders_mentions?: boolean;
4404
4479
  }
4480
+ export interface IWorkflowDestination {
4481
+ type?: string;
4482
+ parameters?: string;
4483
+ }
4484
+ export interface IWorkflowParams {
4485
+ primary_agent?: string | null;
4486
+ polling_frequency_cron?: string;
4487
+ destination?: IWorkflowDestination;
4488
+ }
4405
4489
  export interface IWorkspace {
4406
4490
  can?: IDictionary<boolean>;
4407
4491
  id?: string;
4408
4492
  projects?: IProject[] | null;
4409
4493
  }
4410
4494
  export interface IWriteAgent {
4495
+ created_by_user_id?: string;
4411
4496
  name?: string;
4412
4497
  description?: string;
4413
4498
  category?: string | null;
4414
4499
  sources?: ISource[] | null;
4500
+ golden_query_ids?: number[] | null;
4415
4501
  context?: IContext | null;
4416
4502
  deleted?: boolean;
4417
4503
  code_interpreter?: boolean;
4504
+ workflow_params?: IWorkflowParams | null;
4418
4505
  }
4419
4506
  export interface IWriteAlert {
4420
4507
  applied_dashboard_filters?: IAlertAppliedDashboardFilter[] | null;
4421
4508
  comparison_type: ComparisonType | null;
4422
4509
  cron: string;
4510
+ query_id?: string | null;
4423
4511
  custom_url_base?: string | null;
4424
4512
  custom_url_params?: string | null;
4425
4513
  custom_url_label?: string | null;
@@ -4456,6 +4544,7 @@ export interface IWriteBoard {
4456
4544
  description?: string | null;
4457
4545
  section_order?: string[] | null;
4458
4546
  title?: string | null;
4547
+ user_id?: string | null;
4459
4548
  }
4460
4549
  export interface IWriteBoardItem {
4461
4550
  custom_description?: string | null;
@@ -4551,10 +4640,12 @@ export interface IWriteDashboard {
4551
4640
  refresh_interval?: string | null;
4552
4641
  folder?: IWriteFolderBase | null;
4553
4642
  title?: string | null;
4643
+ user_id?: string | null;
4554
4644
  slug?: string | null;
4555
4645
  preferred_viewer?: string | null;
4556
4646
  certification_metadata?: IWriteCertification | null;
4557
4647
  alert_sync_with_dashboard_filter_enabled?: boolean;
4648
+ chat_enabled?: boolean;
4558
4649
  background_color?: string | null;
4559
4650
  crossfilter_enabled?: boolean;
4560
4651
  deleted?: boolean;
@@ -4571,6 +4662,8 @@ export interface IWriteDashboard {
4571
4662
  tile_text_color?: string | null;
4572
4663
  title_color?: string | null;
4573
4664
  appearance?: IDashboardAppearance | null;
4665
+ preserve_desktop_layout?: boolean;
4666
+ download_settings?: IDashboardDownloadSettings | null;
4574
4667
  }
4575
4668
  export interface IWriteDashboardBase {
4576
4669
  folder?: IWriteFolderBase | null;
@@ -4588,6 +4681,7 @@ export interface IWriteDashboardElement {
4588
4681
  note_text?: string | null;
4589
4682
  query?: IWriteQuery | null;
4590
4683
  query_id?: string | null;
4684
+ filter_id?: string | null;
4591
4685
  refresh_interval?: string | null;
4592
4686
  result_maker?: IWriteResultMakerWithIdVisConfigAndDynamicFields | null;
4593
4687
  result_maker_id?: string | null;
@@ -4624,6 +4718,7 @@ export interface IWriteDashboardLayout {
4624
4718
  label?: string | null;
4625
4719
  description?: string | null;
4626
4720
  order?: number | null;
4721
+ lookml_link_id?: string | null;
4627
4722
  }
4628
4723
  export interface IWriteDashboardLayoutComponent {
4629
4724
  dashboard_layout_id?: string | null;
@@ -4632,6 +4727,7 @@ export interface IWriteDashboardLayoutComponent {
4632
4727
  column?: number | null;
4633
4728
  width?: number | null;
4634
4729
  height?: number | null;
4730
+ deleted?: boolean;
4635
4731
  granular_row?: number | null;
4636
4732
  granular_column?: number | null;
4637
4733
  granular_width?: number | null;
@@ -4752,6 +4848,11 @@ export interface IWriteGitBranch {
4752
4848
  name?: string | null;
4753
4849
  ref?: string | null;
4754
4850
  }
4851
+ export interface IWriteGoldenQuery {
4852
+ questions?: string[] | null;
4853
+ answer?: string;
4854
+ is_active?: boolean;
4855
+ }
4755
4856
  export interface IWriteGroup {
4756
4857
  can_add_to_content_metadata?: boolean;
4757
4858
  name?: string | null;
@@ -5078,6 +5179,8 @@ export interface IWriteScheduledPlan {
5078
5179
  embed?: boolean;
5079
5180
  color_theme?: string | null;
5080
5181
  long_tables?: boolean;
5182
+ pdf_page_breaks?: boolean;
5183
+ tab_ids?: string[] | null;
5081
5184
  inline_table_width?: number | null;
5082
5185
  query_id?: string | null;
5083
5186
  }
@@ -5117,6 +5220,7 @@ export interface IWriteSetting {
5117
5220
  revoke_certification_on_edits?: boolean;
5118
5221
  is_content_certification_enabled?: boolean;
5119
5222
  auto_certify_lookml_content?: boolean;
5223
+ ca_agent_observability?: boolean;
5120
5224
  mcp_tools?: IWriteMcpTools | null;
5121
5225
  }
5122
5226
  export interface IWriteSqlInterfaceQueryCreate {
@@ -5161,6 +5265,8 @@ export interface IWriteUserAttribute {
5161
5265
  user_can_view?: boolean;
5162
5266
  user_can_edit?: boolean;
5163
5267
  hidden_value_domain_whitelist?: string | null;
5268
+ needed_for_ci_run?: boolean;
5269
+ value_for_ci_run?: string | null;
5164
5270
  }
5165
5271
  export interface IWriteUserAttributeWithValue {
5166
5272
  value?: string | null;