@looker/sdk 25.16.0 → 25.20.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.
@@ -69,6 +69,7 @@ export interface IAlertNotifications {
69
69
  threshold_value?: number | null;
70
70
  ran_at?: string;
71
71
  alert?: IMobilePayload;
72
+ notification_type?: string | null;
72
73
  }
73
74
  export interface IAlertPatch {
74
75
  owner_id?: string | null;
@@ -220,6 +221,16 @@ export declare enum Category {
220
221
  measure = "measure",
221
222
  dimension = "dimension"
222
223
  }
224
+ export interface ICertification {
225
+ certification_status?: CertificationStatus;
226
+ user_name?: string | null;
227
+ notes?: string | null;
228
+ updated_at?: Date;
229
+ }
230
+ export declare enum CertificationStatus {
231
+ certified = "certified",
232
+ revoked = "revoked"
233
+ }
223
234
  export interface ICIChangeRequest {
224
235
  change_request_number?: number;
225
236
  change_request_url?: string;
@@ -232,17 +243,6 @@ export interface ICIGitState {
232
243
  commit_ref?: string | null;
233
244
  target?: string | null;
234
245
  }
235
- export interface ICIRunResult {
236
- sql_result?: ISqlValidatorResult;
237
- sql_error?: IGenericError;
238
- assert_result?: IAssertValidatorResult;
239
- assert_error?: IGenericError;
240
- content_result?: IContentValidatorResult;
241
- content_error?: IGenericError;
242
- lookml_result?: ILookMLValidatorResult;
243
- lookml_error?: IGenericError;
244
- generic_error?: IGenericError;
245
- }
246
246
  export interface ICIScheduleTrigger {
247
247
  enabled?: boolean;
248
248
  day?: string | null;
@@ -361,6 +361,7 @@ export interface IContentSummary {
361
361
  group_weighted_score?: number | null;
362
362
  suggestion_score?: number | null;
363
363
  preferred_viewer?: string | null;
364
+ certification_metadata?: ICertification;
364
365
  }
365
366
  export interface IContentValidation {
366
367
  content_with_errors?: IContentValidatorError[] | null;
@@ -406,6 +407,7 @@ export interface IContentValidationDashboardElement {
406
407
  type?: string | null;
407
408
  rich_content_json?: string | null;
408
409
  extension_id?: string | null;
410
+ aria_description?: string | null;
409
411
  }
410
412
  export interface IContentValidationDashboardFilter {
411
413
  id?: string;
@@ -726,6 +728,7 @@ export interface IDashboard {
726
728
  user_id?: string | null;
727
729
  slug?: string | null;
728
730
  preferred_viewer?: string | null;
731
+ certification_metadata?: ICertification;
729
732
  alert_sync_with_dashboard_filter_enabled?: boolean;
730
733
  background_color?: string | null;
731
734
  created_at?: Date | null;
@@ -790,12 +793,14 @@ export interface IDashboardBase {
790
793
  user_id?: string | null;
791
794
  slug?: string | null;
792
795
  preferred_viewer?: string | null;
796
+ certification_metadata?: ICertification;
793
797
  }
794
798
  export interface IDashboardElement {
795
799
  can?: IDictionary<boolean>;
796
800
  body_text?: string | null;
797
801
  body_text_as_html?: string | null;
798
802
  dashboard_id?: string | null;
803
+ dashboard_layout_id?: string | null;
799
804
  edit_uri?: string | null;
800
805
  id?: string;
801
806
  look?: ILookWithQuery;
@@ -822,6 +827,7 @@ export interface IDashboardElement {
822
827
  title_text_as_html?: string | null;
823
828
  subtitle_text_as_html?: string | null;
824
829
  extension_id?: string | null;
830
+ aria_description?: string | null;
825
831
  }
826
832
  export interface IDashboardFilter {
827
833
  can?: IDictionary<boolean>;
@@ -852,6 +858,9 @@ export interface IDashboardLayout {
852
858
  deleted?: boolean;
853
859
  dashboard_title?: string | null;
854
860
  dashboard_layout_components?: IDashboardLayoutComponent[] | null;
861
+ label?: string | null;
862
+ description?: string | null;
863
+ order?: number | null;
855
864
  }
856
865
  export interface IDashboardLayoutComponent {
857
866
  can?: IDictionary<boolean>;
@@ -1215,6 +1224,7 @@ export interface IExternalOauthApplication {
1215
1224
  client_secret?: string;
1216
1225
  tenant_id?: string | null;
1217
1226
  dialect_name?: string | null;
1227
+ bi_directional_data_access?: boolean | null;
1218
1228
  created_at?: Date;
1219
1229
  }
1220
1230
  export declare enum FillStyle {
@@ -1436,6 +1446,10 @@ export interface IIntegrationHub {
1436
1446
  legal_agreement_required?: boolean;
1437
1447
  legal_agreement_text?: string | null;
1438
1448
  }
1449
+ export interface IIntegrationHubHealthResult {
1450
+ success?: boolean;
1451
+ message?: string | null;
1452
+ }
1439
1453
  export interface IIntegrationParam {
1440
1454
  name?: string | null;
1441
1455
  label?: string | null;
@@ -1656,6 +1670,7 @@ export interface ILook {
1656
1670
  id?: string;
1657
1671
  title?: string | null;
1658
1672
  user_id?: string | null;
1673
+ certification_metadata?: ICertification;
1659
1674
  content_favorite_id?: string | null;
1660
1675
  created_at?: Date | null;
1661
1676
  deleted?: boolean;
@@ -1689,6 +1704,7 @@ export interface ILookBasic {
1689
1704
  id?: string;
1690
1705
  title?: string | null;
1691
1706
  user_id?: string | null;
1707
+ certification_metadata?: ICertification;
1692
1708
  }
1693
1709
  export interface ILookmlFieldLink {
1694
1710
  label?: string;
@@ -1822,12 +1838,15 @@ export interface ILookmlModelExploreField {
1822
1838
  type?: string;
1823
1839
  user_attribute_filter_types?: UserAttributeFilterTypes[];
1824
1840
  value_format?: string | null;
1841
+ value_format_name?: string | null;
1825
1842
  view?: string;
1826
1843
  view_label?: string;
1827
1844
  dynamic?: boolean;
1828
1845
  week_start_day?: WeekStartDay;
1829
1846
  times_used?: number;
1830
1847
  original_view?: string;
1848
+ datatype?: string | null;
1849
+ convert_tz?: boolean | null;
1831
1850
  }
1832
1851
  export interface ILookmlModelExploreFieldEnumeration {
1833
1852
  label?: string | null;
@@ -1954,6 +1973,7 @@ export interface ILookWithDashboards {
1954
1973
  id?: string;
1955
1974
  title?: string | null;
1956
1975
  user_id?: string | null;
1976
+ certification_metadata?: ICertification;
1957
1977
  content_favorite_id?: string | null;
1958
1978
  created_at?: Date | null;
1959
1979
  deleted?: boolean;
@@ -1988,6 +2008,7 @@ export interface ILookWithQuery {
1988
2008
  id?: string;
1989
2009
  title?: string | null;
1990
2010
  user_id?: string | null;
2011
+ certification_metadata?: ICertification;
1991
2012
  content_favorite_id?: string | null;
1992
2013
  created_at?: Date | null;
1993
2014
  deleted?: boolean;
@@ -2477,10 +2498,12 @@ export interface IRequestAllLookmlModels {
2477
2498
  exclude_empty?: boolean | null;
2478
2499
  exclude_hidden?: boolean | null;
2479
2500
  include_internal?: boolean | null;
2501
+ include_self_service?: boolean | null;
2480
2502
  }
2481
2503
  export interface IRequestAllRoles {
2482
2504
  fields?: string | null;
2483
2505
  ids?: DelimArray<string> | null;
2506
+ get_all_support_roles?: boolean | null;
2484
2507
  }
2485
2508
  export interface IRequestAllScheduledPlans {
2486
2509
  user_id?: string | null;
@@ -2903,6 +2926,15 @@ export interface IRequestSearchGroupsWithRoles {
2903
2926
  externally_managed?: boolean | null;
2904
2927
  externally_orphaned?: boolean | null;
2905
2928
  }
2929
+ export interface IRequestSearchLookmlDashboards {
2930
+ folder_id?: string | null;
2931
+ title?: string | null;
2932
+ content_favorite_id?: string | null;
2933
+ fields?: string | null;
2934
+ limit?: number | null;
2935
+ offset?: number | null;
2936
+ sorts?: string | null;
2937
+ }
2906
2938
  export interface IRequestSearchLooks {
2907
2939
  id?: string | null;
2908
2940
  title?: string | null;
@@ -2965,7 +2997,6 @@ export interface IRequestSearchRoles {
2965
2997
  name?: string | null;
2966
2998
  built_in?: boolean | null;
2967
2999
  filter_or?: boolean | null;
2968
- is_support_role?: boolean | null;
2969
3000
  }
2970
3001
  export interface IRequestSearchRolesWithUserCount {
2971
3002
  fields?: string | null;
@@ -3037,6 +3068,7 @@ export interface IRequestSearchUsers {
3037
3068
  content_metadata_id?: string | null;
3038
3069
  group_id?: string | null;
3039
3070
  can_manage_api3_creds?: boolean | null;
3071
+ is_service_account?: boolean | null;
3040
3072
  }
3041
3073
  export interface IRequestSearchUsersNames {
3042
3074
  pattern: string;
@@ -3154,7 +3186,7 @@ export interface IRun {
3154
3186
  status?: string;
3155
3187
  git_service?: string | null;
3156
3188
  git_state?: ICIGitState;
3157
- result?: ICIRunResult;
3189
+ result?: IRunResult;
3158
3190
  schedule?: ICIScheduleTrigger;
3159
3191
  target_branch?: string | null;
3160
3192
  title?: string;
@@ -3187,6 +3219,17 @@ export interface IRunningQueries {
3187
3219
  sql?: string | null;
3188
3220
  sql_interface_sql?: string | null;
3189
3221
  }
3222
+ export interface IRunResult {
3223
+ sql_result?: ISqlValidatorResult;
3224
+ sql_error?: IGenericError;
3225
+ assert_result?: IAssertValidatorResult;
3226
+ assert_error?: IGenericError;
3227
+ content_result?: IContentValidatorResult;
3228
+ content_error?: IGenericError;
3229
+ lookml_result?: ILookMLValidatorResult;
3230
+ lookml_error?: IGenericError;
3231
+ generic_error?: IGenericError;
3232
+ }
3190
3233
  export interface ISamlConfig {
3191
3234
  can?: IDictionary<boolean>;
3192
3235
  enabled?: boolean;
@@ -3348,6 +3391,18 @@ export declare enum SecretType {
3348
3391
  SSO = "SSO",
3349
3392
  JWT = "JWT"
3350
3393
  }
3394
+ export interface IServiceAccount {
3395
+ can?: IDictionary<boolean>;
3396
+ id?: string;
3397
+ service_account_name?: string;
3398
+ is_service_account?: boolean;
3399
+ is_disabled?: boolean;
3400
+ group_ids?: string[] | null;
3401
+ role_ids?: string[] | null;
3402
+ credentials_api3?: ICredentialsApi3[] | null;
3403
+ created_at?: Date | null;
3404
+ url?: string | null;
3405
+ }
3351
3406
  export interface ISession {
3352
3407
  can?: IDictionary<boolean>;
3353
3408
  id?: string;
@@ -3408,11 +3463,16 @@ export interface ISmtpNodeStatus {
3408
3463
  export interface ISmtpSettings {
3409
3464
  address?: string;
3410
3465
  from?: string;
3411
- user_name?: string;
3412
- password?: string;
3466
+ user_name?: string | null;
3467
+ password?: string | null;
3413
3468
  port?: number;
3414
3469
  enable_starttls_auto?: boolean;
3415
3470
  ssl_version?: SslVersion | null;
3471
+ auth_type?: string | null;
3472
+ client_id?: string | null;
3473
+ client_secret?: string | null;
3474
+ token_endpoint?: string | null;
3475
+ scopes?: string | null;
3416
3476
  default_smtp?: boolean | null;
3417
3477
  }
3418
3478
  export interface ISmtpStatus {
@@ -3685,6 +3745,8 @@ export interface IUser {
3685
3745
  embed_group_folder_id?: string | null;
3686
3746
  is_iam_admin?: boolean;
3687
3747
  can_manage_api3_creds?: boolean;
3748
+ is_service_account?: boolean;
3749
+ service_account_name?: string | null;
3688
3750
  url?: string | null;
3689
3751
  }
3690
3752
  export interface IUserAttribute {
@@ -3868,6 +3930,10 @@ export interface IWriteBoardSection {
3868
3930
  item_order?: string[] | null;
3869
3931
  title?: string | null;
3870
3932
  }
3933
+ export interface IWriteCertification {
3934
+ certification_status?: CertificationStatus | null;
3935
+ notes?: string | null;
3936
+ }
3871
3937
  export interface IWriteColorCollection {
3872
3938
  label?: string;
3873
3939
  categoricalPalettes?: IDiscretePalette[] | null;
@@ -3923,6 +3989,7 @@ export interface IWriteDashboard {
3923
3989
  title?: string | null;
3924
3990
  slug?: string | null;
3925
3991
  preferred_viewer?: string | null;
3992
+ certification_metadata?: IWriteCertification | null;
3926
3993
  alert_sync_with_dashboard_filter_enabled?: boolean;
3927
3994
  background_color?: string | null;
3928
3995
  crossfilter_enabled?: boolean;
@@ -3943,10 +4010,12 @@ export interface IWriteDashboard {
3943
4010
  }
3944
4011
  export interface IWriteDashboardBase {
3945
4012
  folder?: IWriteFolderBase | null;
4013
+ certification_metadata?: IWriteCertification | null;
3946
4014
  }
3947
4015
  export interface IWriteDashboardElement {
3948
4016
  body_text?: string | null;
3949
4017
  dashboard_id?: string | null;
4018
+ dashboard_layout_id?: string | null;
3950
4019
  look?: IWriteLookWithQuery | null;
3951
4020
  look_id?: string | null;
3952
4021
  merge_result_id?: string | null;
@@ -3965,6 +4034,7 @@ export interface IWriteDashboardElement {
3965
4034
  type?: string | null;
3966
4035
  rich_content_json?: string | null;
3967
4036
  extension_id?: string | null;
4037
+ aria_description?: string | null;
3968
4038
  }
3969
4039
  export interface IWriteDashboardFilter {
3970
4040
  name?: string | null;
@@ -3986,6 +4056,9 @@ export interface IWriteDashboardLayout {
3986
4056
  active?: boolean;
3987
4057
  column_width?: number | null;
3988
4058
  width?: number | null;
4059
+ label?: string | null;
4060
+ description?: string | null;
4061
+ order?: number | null;
3989
4062
  }
3990
4063
  export interface IWriteDashboardLayoutComponent {
3991
4064
  dashboard_layout_id?: string | null;
@@ -4098,6 +4171,7 @@ export interface IWriteExternalOauthApplication {
4098
4171
  client_secret?: string;
4099
4172
  tenant_id?: string | null;
4100
4173
  dialect_name?: string | null;
4174
+ bi_directional_data_access?: boolean | null;
4101
4175
  }
4102
4176
  export interface IWriteFolderBase {
4103
4177
  name: string;
@@ -4168,6 +4242,7 @@ export interface IWriteLegacyFeature {
4168
4242
  }
4169
4243
  export interface IWriteLookBasic {
4170
4244
  user_id?: string | null;
4245
+ certification_metadata?: IWriteCertification | null;
4171
4246
  }
4172
4247
  export interface IWriteLookmlModel {
4173
4248
  allowed_db_connection_names?: string[] | null;
@@ -4178,6 +4253,7 @@ export interface IWriteLookmlModel {
4178
4253
  export interface IWriteLookWithQuery {
4179
4254
  title?: string | null;
4180
4255
  user_id?: string | null;
4256
+ certification_metadata?: IWriteCertification | null;
4181
4257
  deleted?: boolean;
4182
4258
  description?: string | null;
4183
4259
  is_run_on_load?: boolean;
@@ -4383,6 +4459,10 @@ export interface IWriteScheduledPlan {
4383
4459
  inline_table_width?: number | null;
4384
4460
  query_id?: string | null;
4385
4461
  }
4462
+ export interface IWriteServiceAccount {
4463
+ service_account_name?: string;
4464
+ is_disabled?: boolean;
4465
+ }
4386
4466
  export interface IWriteSessionConfig {
4387
4467
  allow_persistent_sessions?: boolean;
4388
4468
  session_minutes?: number | null;
package/lib/4.0/models.js CHANGED
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.WeekStartDay = exports.UserAttributeFilterTypes = exports.SupportedVisualizationFormattings = exports.SupportedFormattings = exports.SupportedFormats = exports.SupportedDownloadSettings = exports.SupportedActionTypes = exports.SslVersion = exports.SecretType = exports.ResultFormat = exports.PullRequestMode = exports.PermissionType = exports.Period = exports.Name = exports.Kind = exports.InvestigativeContentType = exports.Format = exports.FillStyle = exports.DeviceType = exports.DestinationType = exports.DependencyStatus = exports.ComparisonType = exports.Category = exports.Align = void 0;
6
+ exports.WeekStartDay = exports.UserAttributeFilterTypes = exports.SupportedVisualizationFormattings = exports.SupportedFormattings = exports.SupportedFormats = exports.SupportedDownloadSettings = exports.SupportedActionTypes = exports.SslVersion = exports.SecretType = exports.ResultFormat = exports.PullRequestMode = exports.PermissionType = exports.Period = exports.Name = exports.Kind = exports.InvestigativeContentType = exports.Format = exports.FillStyle = exports.DeviceType = exports.DestinationType = exports.DependencyStatus = exports.ComparisonType = exports.CertificationStatus = exports.Category = exports.Align = void 0;
7
7
  var Align = exports.Align = function (Align) {
8
8
  Align["left"] = "left";
9
9
  Align["right"] = "right";
@@ -16,6 +16,11 @@ var Category = exports.Category = function (Category) {
16
16
  Category["dimension"] = "dimension";
17
17
  return Category;
18
18
  }({});
19
+ var CertificationStatus = exports.CertificationStatus = function (CertificationStatus) {
20
+ CertificationStatus["certified"] = "certified";
21
+ CertificationStatus["revoked"] = "revoked";
22
+ return CertificationStatus;
23
+ }({});
19
24
  var ComparisonType = exports.ComparisonType = function (ComparisonType) {
20
25
  ComparisonType["EQUAL_TO"] = "EQUAL_TO";
21
26
  ComparisonType["GREATER_THAN"] = "GREATER_THAN";