@looker/sdk 25.18.0 → 26.0.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;
@@ -340,6 +340,8 @@ export interface IContentSearch {
340
340
  view_count?: number | null;
341
341
  preferred_viewer?: string | null;
342
342
  model?: string | null;
343
+ created_by_id?: number | null;
344
+ certification_status?: string | null;
343
345
  }
344
346
  export interface IContentSummary {
345
347
  can?: IDictionary<boolean>;
@@ -361,6 +363,7 @@ export interface IContentSummary {
361
363
  group_weighted_score?: number | null;
362
364
  suggestion_score?: number | null;
363
365
  preferred_viewer?: string | null;
366
+ certification_metadata?: ICertification;
364
367
  }
365
368
  export interface IContentValidation {
366
369
  content_with_errors?: IContentValidatorError[] | null;
@@ -727,6 +730,7 @@ export interface IDashboard {
727
730
  user_id?: string | null;
728
731
  slug?: string | null;
729
732
  preferred_viewer?: string | null;
733
+ certification_metadata?: ICertification;
730
734
  alert_sync_with_dashboard_filter_enabled?: boolean;
731
735
  background_color?: string | null;
732
736
  created_at?: Date | null;
@@ -760,6 +764,7 @@ export interface IDashboard {
760
764
  view_count?: number | null;
761
765
  appearance?: IDashboardAppearance;
762
766
  url?: string | null;
767
+ layout_granularity?: string | null;
763
768
  }
764
769
  export interface IDashboardAggregateTableLookml {
765
770
  dashboard_id?: string | null;
@@ -791,12 +796,14 @@ export interface IDashboardBase {
791
796
  user_id?: string | null;
792
797
  slug?: string | null;
793
798
  preferred_viewer?: string | null;
799
+ certification_metadata?: ICertification;
794
800
  }
795
801
  export interface IDashboardElement {
796
802
  can?: IDictionary<boolean>;
797
803
  body_text?: string | null;
798
804
  body_text_as_html?: string | null;
799
805
  dashboard_id?: string | null;
806
+ dashboard_layout_id?: string | null;
800
807
  edit_uri?: string | null;
801
808
  id?: string;
802
809
  look?: ILookWithQuery;
@@ -871,6 +878,10 @@ export interface IDashboardLayoutComponent {
871
878
  element_title?: string | null;
872
879
  element_title_hidden?: boolean;
873
880
  vis_type?: string | null;
881
+ granular_row?: number | null;
882
+ granular_column?: number | null;
883
+ granular_width?: number | null;
884
+ granular_height?: number | null;
874
885
  }
875
886
  export interface IDashboardLookml {
876
887
  dashboard_id?: string | null;
@@ -935,6 +946,7 @@ export interface IDBConnection {
935
946
  port?: string | null;
936
947
  username?: string | null;
937
948
  password?: string | null;
949
+ has_password?: boolean;
938
950
  uses_oauth?: boolean;
939
951
  uses_key_pair_auth?: boolean;
940
952
  uses_instance_oauth?: boolean;
@@ -1093,6 +1105,7 @@ export interface IDialectInfoOptions {
1093
1105
  disable_context_comment?: boolean;
1094
1106
  host?: boolean;
1095
1107
  instance_name?: boolean;
1108
+ key_pair_authentication?: boolean;
1096
1109
  max_billing_gigabytes?: boolean;
1097
1110
  oauth_credentials?: boolean;
1098
1111
  pdts_for_oauth?: boolean;
@@ -1220,6 +1233,7 @@ export interface IExternalOauthApplication {
1220
1233
  client_secret?: string;
1221
1234
  tenant_id?: string | null;
1222
1235
  dialect_name?: string | null;
1236
+ bi_directional_data_access?: boolean | null;
1223
1237
  created_at?: Date;
1224
1238
  }
1225
1239
  export declare enum FillStyle {
@@ -1665,6 +1679,7 @@ export interface ILook {
1665
1679
  id?: string;
1666
1680
  title?: string | null;
1667
1681
  user_id?: string | null;
1682
+ certification_metadata?: ICertification;
1668
1683
  content_favorite_id?: string | null;
1669
1684
  created_at?: Date | null;
1670
1685
  deleted?: boolean;
@@ -1698,6 +1713,7 @@ export interface ILookBasic {
1698
1713
  id?: string;
1699
1714
  title?: string | null;
1700
1715
  user_id?: string | null;
1716
+ certification_metadata?: ICertification;
1701
1717
  }
1702
1718
  export interface ILookmlFieldLink {
1703
1719
  label?: string;
@@ -1838,6 +1854,8 @@ export interface ILookmlModelExploreField {
1838
1854
  week_start_day?: WeekStartDay;
1839
1855
  times_used?: number;
1840
1856
  original_view?: string;
1857
+ datatype?: string | null;
1858
+ convert_tz?: boolean | null;
1841
1859
  }
1842
1860
  export interface ILookmlModelExploreFieldEnumeration {
1843
1861
  label?: string | null;
@@ -1964,6 +1982,7 @@ export interface ILookWithDashboards {
1964
1982
  id?: string;
1965
1983
  title?: string | null;
1966
1984
  user_id?: string | null;
1985
+ certification_metadata?: ICertification;
1967
1986
  content_favorite_id?: string | null;
1968
1987
  created_at?: Date | null;
1969
1988
  deleted?: boolean;
@@ -1998,6 +2017,7 @@ export interface ILookWithQuery {
1998
2017
  id?: string;
1999
2018
  title?: string | null;
2000
2019
  user_id?: string | null;
2020
+ certification_metadata?: ICertification;
2001
2021
  content_favorite_id?: string | null;
2002
2022
  created_at?: Date | null;
2003
2023
  deleted?: boolean;
@@ -2205,6 +2225,9 @@ export interface IPasswordConfig {
2205
2225
  require_numeric?: boolean;
2206
2226
  require_upperlower?: boolean;
2207
2227
  require_special?: boolean;
2228
+ expiration_enabled?: boolean;
2229
+ expiration_duration_days?: number | null;
2230
+ policy_enabled_at?: Date | null;
2208
2231
  }
2209
2232
  export declare enum Period {
2210
2233
  year = "year",
@@ -2273,6 +2296,7 @@ export interface IProject {
2273
2296
  git_release_mgmt_enabled?: boolean;
2274
2297
  allow_warnings?: boolean;
2275
2298
  is_example?: boolean;
2299
+ has_production_counterpart?: boolean;
2276
2300
  dependency_status?: string | null;
2277
2301
  }
2278
2302
  export interface IProjectError {
@@ -2487,6 +2511,7 @@ export interface IRequestAllLookmlModels {
2487
2511
  exclude_empty?: boolean | null;
2488
2512
  exclude_hidden?: boolean | null;
2489
2513
  include_internal?: boolean | null;
2514
+ include_self_service?: boolean | null;
2490
2515
  }
2491
2516
  export interface IRequestAllRoles {
2492
2517
  fields?: string | null;
@@ -2800,6 +2825,7 @@ export interface IRequestSearchContentFavorites {
2800
2825
  dashboard_id?: string | null;
2801
2826
  look_id?: string | null;
2802
2827
  board_id?: string | null;
2828
+ lookml_dashboard_id?: string | null;
2803
2829
  include_board_items?: boolean | null;
2804
2830
  limit?: number | null;
2805
2831
  offset?: number | null;
@@ -3150,6 +3176,7 @@ export interface IRole {
3150
3176
  permission_set_id?: string | null;
3151
3177
  model_set?: IModelSet;
3152
3178
  model_set_id?: string | null;
3179
+ internal?: boolean;
3153
3180
  url?: string | null;
3154
3181
  users_url?: string | null;
3155
3182
  }
@@ -3161,6 +3188,7 @@ export interface IRoleSearch {
3161
3188
  permission_set_id?: string | null;
3162
3189
  model_set?: IModelSet;
3163
3190
  model_set_id?: string | null;
3191
+ internal?: boolean;
3164
3192
  user_count?: number | null;
3165
3193
  url?: string | null;
3166
3194
  users_url?: string | null;
@@ -3174,7 +3202,7 @@ export interface IRun {
3174
3202
  status?: string;
3175
3203
  git_service?: string | null;
3176
3204
  git_state?: ICIGitState;
3177
- result?: ICIRunResult;
3205
+ result?: IRunResult;
3178
3206
  schedule?: ICIScheduleTrigger;
3179
3207
  target_branch?: string | null;
3180
3208
  title?: string;
@@ -3207,10 +3235,23 @@ export interface IRunningQueries {
3207
3235
  sql?: string | null;
3208
3236
  sql_interface_sql?: string | null;
3209
3237
  }
3238
+ export interface IRunResult {
3239
+ sql_result?: ISqlValidatorResult;
3240
+ sql_error?: IGenericError;
3241
+ assert_result?: IAssertValidatorResult;
3242
+ assert_error?: IGenericError;
3243
+ content_result?: IContentValidatorResult;
3244
+ content_error?: IGenericError;
3245
+ lookml_result?: ILookMLValidatorResult;
3246
+ lookml_error?: IGenericError;
3247
+ generic_error?: IGenericError;
3248
+ }
3210
3249
  export interface ISamlConfig {
3211
3250
  can?: IDictionary<boolean>;
3212
3251
  enabled?: boolean;
3213
3252
  idp_cert?: string | null;
3253
+ idp_cert_multi?: ISamlIdpCertMulti;
3254
+ multi_certs_supported?: boolean | null;
3214
3255
  idp_url?: string | null;
3215
3256
  idp_issuer?: string | null;
3216
3257
  idp_audience?: string | null;
@@ -3258,11 +3299,15 @@ export interface ISamlGroupWrite {
3258
3299
  role_ids?: string[] | null;
3259
3300
  url?: string | null;
3260
3301
  }
3302
+ export interface ISamlIdpCertMulti {
3303
+ signing?: string[] | null;
3304
+ }
3261
3305
  export interface ISamlMetadataParseResult {
3262
3306
  can?: IDictionary<boolean>;
3263
3307
  idp_issuer?: string | null;
3264
3308
  idp_url?: string | null;
3265
3309
  idp_cert?: string | null;
3310
+ idp_cert_multi?: ISamlIdpCertMulti;
3266
3311
  }
3267
3312
  export interface ISamlUserAttributeRead {
3268
3313
  name?: string | null;
@@ -3431,6 +3476,7 @@ export interface ISetting {
3431
3476
  dashboard_auto_refresh_restriction?: boolean;
3432
3477
  dashboard_auto_refresh_minimum_interval?: string | null;
3433
3478
  managed_certificate_uri?: string[] | null;
3479
+ content_certification_documentation_link?: string | null;
3434
3480
  }
3435
3481
  export interface ISmtpNodeStatus {
3436
3482
  is_valid?: boolean;
@@ -3907,6 +3953,10 @@ export interface IWriteBoardSection {
3907
3953
  item_order?: string[] | null;
3908
3954
  title?: string | null;
3909
3955
  }
3956
+ export interface IWriteCertification {
3957
+ certification_status?: CertificationStatus | null;
3958
+ notes?: string | null;
3959
+ }
3910
3960
  export interface IWriteColorCollection {
3911
3961
  label?: string;
3912
3962
  categoricalPalettes?: IDiscretePalette[] | null;
@@ -3962,6 +4012,7 @@ export interface IWriteDashboard {
3962
4012
  title?: string | null;
3963
4013
  slug?: string | null;
3964
4014
  preferred_viewer?: string | null;
4015
+ certification_metadata?: IWriteCertification | null;
3965
4016
  alert_sync_with_dashboard_filter_enabled?: boolean;
3966
4017
  background_color?: string | null;
3967
4018
  crossfilter_enabled?: boolean;
@@ -3979,13 +4030,16 @@ export interface IWriteDashboard {
3979
4030
  tile_text_color?: string | null;
3980
4031
  title_color?: string | null;
3981
4032
  appearance?: IDashboardAppearance | null;
4033
+ layout_granularity?: string | null;
3982
4034
  }
3983
4035
  export interface IWriteDashboardBase {
3984
4036
  folder?: IWriteFolderBase | null;
4037
+ certification_metadata?: IWriteCertification | null;
3985
4038
  }
3986
4039
  export interface IWriteDashboardElement {
3987
4040
  body_text?: string | null;
3988
4041
  dashboard_id?: string | null;
4042
+ dashboard_layout_id?: string | null;
3989
4043
  look?: IWriteLookWithQuery | null;
3990
4044
  look_id?: string | null;
3991
4045
  merge_result_id?: string | null;
@@ -4037,6 +4091,10 @@ export interface IWriteDashboardLayoutComponent {
4037
4091
  column?: number | null;
4038
4092
  width?: number | null;
4039
4093
  height?: number | null;
4094
+ granular_row?: number | null;
4095
+ granular_column?: number | null;
4096
+ granular_width?: number | null;
4097
+ granular_height?: number | null;
4040
4098
  }
4041
4099
  export interface IWriteDashboardLookml {
4042
4100
  folder_id?: string | null;
@@ -4141,6 +4199,7 @@ export interface IWriteExternalOauthApplication {
4141
4199
  client_secret?: string;
4142
4200
  tenant_id?: string | null;
4143
4201
  dialect_name?: string | null;
4202
+ bi_directional_data_access?: boolean | null;
4144
4203
  }
4145
4204
  export interface IWriteFolderBase {
4146
4205
  name: string;
@@ -4211,6 +4270,7 @@ export interface IWriteLegacyFeature {
4211
4270
  }
4212
4271
  export interface IWriteLookBasic {
4213
4272
  user_id?: string | null;
4273
+ certification_metadata?: IWriteCertification | null;
4214
4274
  }
4215
4275
  export interface IWriteLookmlModel {
4216
4276
  allowed_db_connection_names?: string[] | null;
@@ -4221,6 +4281,7 @@ export interface IWriteLookmlModel {
4221
4281
  export interface IWriteLookWithQuery {
4222
4282
  title?: string | null;
4223
4283
  user_id?: string | null;
4284
+ certification_metadata?: IWriteCertification | null;
4224
4285
  deleted?: boolean;
4225
4286
  description?: string | null;
4226
4287
  is_run_on_load?: boolean;
@@ -4285,6 +4346,8 @@ export interface IWritePasswordConfig {
4285
4346
  require_numeric?: boolean;
4286
4347
  require_upperlower?: boolean;
4287
4348
  require_special?: boolean;
4349
+ expiration_enabled?: boolean;
4350
+ expiration_duration_days?: number | null;
4288
4351
  }
4289
4352
  export interface IWritePermissionSet {
4290
4353
  name?: string | null;
@@ -4371,6 +4434,8 @@ export interface IWriteRole {
4371
4434
  export interface IWriteSamlConfig {
4372
4435
  enabled?: boolean;
4373
4436
  idp_cert?: string | null;
4437
+ idp_cert_multi?: ISamlIdpCertMulti | null;
4438
+ multi_certs_supported?: boolean | null;
4374
4439
  idp_url?: string | null;
4375
4440
  idp_issuer?: string | null;
4376
4441
  idp_audience?: string | null;
@@ -4458,6 +4523,7 @@ export interface IWriteSetting {
4458
4523
  dashboard_auto_refresh_restriction?: boolean;
4459
4524
  dashboard_auto_refresh_minimum_interval?: string | null;
4460
4525
  managed_certificate_uri?: string[] | null;
4526
+ content_certification_documentation_link?: string | null;
4461
4527
  }
4462
4528
  export interface IWriteSqlInterfaceQueryCreate {
4463
4529
  sql: string | 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";