@looker/sdk 25.10.0 → 25.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/lib/4.0/funcs.d.ts +8 -3
- package/lib/4.0/funcs.js +857 -794
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +8 -3
- package/lib/4.0/methods.js +581 -528
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +8 -3
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +94 -25
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +7 -2
- package/lib/4.0/streams.js +581 -528
- package/lib/4.0/streams.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/4.0/funcs.js +853 -790
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +581 -528
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +581 -528
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +2 -2
package/lib/4.0/models.d.ts
CHANGED
|
@@ -232,24 +232,6 @@ export interface ICIGitState {
|
|
|
232
232
|
commit_ref?: string | null;
|
|
233
233
|
target?: string | null;
|
|
234
234
|
}
|
|
235
|
-
export interface ICIRun {
|
|
236
|
-
run_id?: string;
|
|
237
|
-
created_at?: Date;
|
|
238
|
-
started_at?: Date | null;
|
|
239
|
-
finished_at?: Date | null;
|
|
240
|
-
status_url?: string | null;
|
|
241
|
-
status?: string;
|
|
242
|
-
git_service?: string | null;
|
|
243
|
-
git_state?: ICIGitState;
|
|
244
|
-
result?: ICIRunResult;
|
|
245
|
-
schedule?: ICIScheduleTrigger;
|
|
246
|
-
target_branch?: string | null;
|
|
247
|
-
title?: string;
|
|
248
|
-
trigger?: string;
|
|
249
|
-
change_request?: ICIChangeRequest;
|
|
250
|
-
suite_id?: string;
|
|
251
|
-
username?: string | null;
|
|
252
|
-
}
|
|
253
235
|
export interface ICIRunResult {
|
|
254
236
|
sql_result?: ISqlValidatorResult;
|
|
255
237
|
sql_error?: IGenericError;
|
|
@@ -321,6 +303,8 @@ export interface IContentFavorite {
|
|
|
321
303
|
look?: ILookBasic;
|
|
322
304
|
dashboard?: IDashboardBase;
|
|
323
305
|
board_id?: string | null;
|
|
306
|
+
lookml_dashboard_id?: string | null;
|
|
307
|
+
lookml_dashboard?: IDashboardBase;
|
|
324
308
|
}
|
|
325
309
|
export interface IContentMeta {
|
|
326
310
|
can?: IDictionary<boolean>;
|
|
@@ -330,6 +314,8 @@ export interface IContentMeta {
|
|
|
330
314
|
dashboard_id?: string | null;
|
|
331
315
|
look_id?: string | null;
|
|
332
316
|
folder_id?: string | null;
|
|
317
|
+
homepage_id?: string | null;
|
|
318
|
+
agent_id?: string | null;
|
|
333
319
|
content_type?: string | null;
|
|
334
320
|
inherits?: boolean;
|
|
335
321
|
inheriting_id?: string | null;
|
|
@@ -420,6 +406,7 @@ export interface IContentValidationDashboardElement {
|
|
|
420
406
|
type?: string | null;
|
|
421
407
|
rich_content_json?: string | null;
|
|
422
408
|
extension_id?: string | null;
|
|
409
|
+
aria_description?: string | null;
|
|
423
410
|
}
|
|
424
411
|
export interface IContentValidationDashboardFilter {
|
|
425
412
|
id?: string;
|
|
@@ -550,6 +537,7 @@ export interface ICreateCredentialsApi3 {
|
|
|
550
537
|
created_at?: string | null;
|
|
551
538
|
is_disabled?: boolean;
|
|
552
539
|
type?: string | null;
|
|
540
|
+
purpose?: string | null;
|
|
553
541
|
client_secret?: string | null;
|
|
554
542
|
url?: string | null;
|
|
555
543
|
}
|
|
@@ -609,6 +597,7 @@ export interface ICredentialsApi3 {
|
|
|
609
597
|
created_at?: string | null;
|
|
610
598
|
is_disabled?: boolean;
|
|
611
599
|
type?: string | null;
|
|
600
|
+
purpose?: string | null;
|
|
612
601
|
url?: string | null;
|
|
613
602
|
}
|
|
614
603
|
export interface ICredentialsEmail {
|
|
@@ -834,6 +823,7 @@ export interface IDashboardElement {
|
|
|
834
823
|
title_text_as_html?: string | null;
|
|
835
824
|
subtitle_text_as_html?: string | null;
|
|
836
825
|
extension_id?: string | null;
|
|
826
|
+
aria_description?: string | null;
|
|
837
827
|
}
|
|
838
828
|
export interface IDashboardFilter {
|
|
839
829
|
can?: IDictionary<boolean>;
|
|
@@ -864,6 +854,9 @@ export interface IDashboardLayout {
|
|
|
864
854
|
deleted?: boolean;
|
|
865
855
|
dashboard_title?: string | null;
|
|
866
856
|
dashboard_layout_components?: IDashboardLayoutComponent[] | null;
|
|
857
|
+
label?: string | null;
|
|
858
|
+
description?: string | null;
|
|
859
|
+
order?: number | null;
|
|
867
860
|
}
|
|
868
861
|
export interface IDashboardLayoutComponent {
|
|
869
862
|
can?: IDictionary<boolean>;
|
|
@@ -945,6 +938,7 @@ export interface IDBConnection {
|
|
|
945
938
|
uses_oauth?: boolean;
|
|
946
939
|
uses_key_pair_auth?: boolean;
|
|
947
940
|
uses_instance_oauth?: boolean;
|
|
941
|
+
uses_service_auth?: boolean;
|
|
948
942
|
certificate?: string | null;
|
|
949
943
|
file_type?: string | null;
|
|
950
944
|
database?: string | null;
|
|
@@ -1447,6 +1441,10 @@ export interface IIntegrationHub {
|
|
|
1447
1441
|
legal_agreement_required?: boolean;
|
|
1448
1442
|
legal_agreement_text?: string | null;
|
|
1449
1443
|
}
|
|
1444
|
+
export interface IIntegrationHubHealthResult {
|
|
1445
|
+
success?: boolean;
|
|
1446
|
+
message?: string | null;
|
|
1447
|
+
}
|
|
1450
1448
|
export interface IIntegrationParam {
|
|
1451
1449
|
name?: string | null;
|
|
1452
1450
|
label?: string | null;
|
|
@@ -1491,7 +1489,7 @@ export interface IJsonBiBigQueryMetadata {
|
|
|
1491
1489
|
}
|
|
1492
1490
|
export interface IJsonBiField {
|
|
1493
1491
|
sql: string | null;
|
|
1494
|
-
view: string;
|
|
1492
|
+
view: string | null;
|
|
1495
1493
|
dimension_group: string | null;
|
|
1496
1494
|
category: string;
|
|
1497
1495
|
field_group_label: string | null;
|
|
@@ -1833,6 +1831,7 @@ export interface ILookmlModelExploreField {
|
|
|
1833
1831
|
type?: string;
|
|
1834
1832
|
user_attribute_filter_types?: UserAttributeFilterTypes[];
|
|
1835
1833
|
value_format?: string | null;
|
|
1834
|
+
value_format_name?: string | null;
|
|
1836
1835
|
view?: string;
|
|
1837
1836
|
view_label?: string;
|
|
1838
1837
|
dynamic?: boolean;
|
|
@@ -2276,9 +2275,6 @@ export interface IProject {
|
|
|
2276
2275
|
is_example?: boolean;
|
|
2277
2276
|
dependency_status?: string | null;
|
|
2278
2277
|
}
|
|
2279
|
-
export interface IProjectCIRun {
|
|
2280
|
-
run?: ICIRun;
|
|
2281
|
-
}
|
|
2282
2278
|
export interface IProjectError {
|
|
2283
2279
|
code?: string | null;
|
|
2284
2280
|
severity?: string | null;
|
|
@@ -2304,6 +2300,9 @@ export interface IProjectFile {
|
|
|
2304
2300
|
editable?: boolean;
|
|
2305
2301
|
git_status?: IGitStatus;
|
|
2306
2302
|
}
|
|
2303
|
+
export interface IProjectRun {
|
|
2304
|
+
run?: IRun;
|
|
2305
|
+
}
|
|
2307
2306
|
export interface IProjectValidation {
|
|
2308
2307
|
errors?: IProjectError[] | null;
|
|
2309
2308
|
project_digest?: string | null;
|
|
@@ -2492,6 +2491,7 @@ export interface IRequestAllLookmlModels {
|
|
|
2492
2491
|
export interface IRequestAllRoles {
|
|
2493
2492
|
fields?: string | null;
|
|
2494
2493
|
ids?: DelimArray<string> | null;
|
|
2494
|
+
get_all_support_roles?: boolean | null;
|
|
2495
2495
|
}
|
|
2496
2496
|
export interface IRequestAllScheduledPlans {
|
|
2497
2497
|
user_id?: string | null;
|
|
@@ -2800,6 +2800,7 @@ export interface IRequestSearchContentFavorites {
|
|
|
2800
2800
|
dashboard_id?: string | null;
|
|
2801
2801
|
look_id?: string | null;
|
|
2802
2802
|
board_id?: string | null;
|
|
2803
|
+
include_board_items?: boolean | null;
|
|
2803
2804
|
limit?: number | null;
|
|
2804
2805
|
offset?: number | null;
|
|
2805
2806
|
sorts?: string | null;
|
|
@@ -2913,6 +2914,15 @@ export interface IRequestSearchGroupsWithRoles {
|
|
|
2913
2914
|
externally_managed?: boolean | null;
|
|
2914
2915
|
externally_orphaned?: boolean | null;
|
|
2915
2916
|
}
|
|
2917
|
+
export interface IRequestSearchLookmlDashboards {
|
|
2918
|
+
folder_id?: string | null;
|
|
2919
|
+
title?: string | null;
|
|
2920
|
+
content_favorite_id?: string | null;
|
|
2921
|
+
fields?: string | null;
|
|
2922
|
+
limit?: number | null;
|
|
2923
|
+
offset?: number | null;
|
|
2924
|
+
sorts?: string | null;
|
|
2925
|
+
}
|
|
2916
2926
|
export interface IRequestSearchLooks {
|
|
2917
2927
|
id?: string | null;
|
|
2918
2928
|
title?: string | null;
|
|
@@ -2975,7 +2985,6 @@ export interface IRequestSearchRoles {
|
|
|
2975
2985
|
name?: string | null;
|
|
2976
2986
|
built_in?: boolean | null;
|
|
2977
2987
|
filter_or?: boolean | null;
|
|
2978
|
-
is_support_role?: boolean | null;
|
|
2979
2988
|
}
|
|
2980
2989
|
export interface IRequestSearchRolesWithUserCount {
|
|
2981
2990
|
fields?: string | null;
|
|
@@ -3046,6 +3055,8 @@ export interface IRequestSearchUsers {
|
|
|
3046
3055
|
filter_or?: boolean | null;
|
|
3047
3056
|
content_metadata_id?: string | null;
|
|
3048
3057
|
group_id?: string | null;
|
|
3058
|
+
can_manage_api3_creds?: boolean | null;
|
|
3059
|
+
is_service_account?: boolean | null;
|
|
3049
3060
|
}
|
|
3050
3061
|
export interface IRequestSearchUsersNames {
|
|
3051
3062
|
pattern: string;
|
|
@@ -3154,6 +3165,24 @@ export interface IRoleSearch {
|
|
|
3154
3165
|
url?: string | null;
|
|
3155
3166
|
users_url?: string | null;
|
|
3156
3167
|
}
|
|
3168
|
+
export interface IRun {
|
|
3169
|
+
run_id?: string;
|
|
3170
|
+
created_at?: Date;
|
|
3171
|
+
started_at?: Date | null;
|
|
3172
|
+
finished_at?: Date | null;
|
|
3173
|
+
status_url?: string | null;
|
|
3174
|
+
status?: string;
|
|
3175
|
+
git_service?: string | null;
|
|
3176
|
+
git_state?: ICIGitState;
|
|
3177
|
+
result?: ICIRunResult;
|
|
3178
|
+
schedule?: ICIScheduleTrigger;
|
|
3179
|
+
target_branch?: string | null;
|
|
3180
|
+
title?: string;
|
|
3181
|
+
trigger?: string;
|
|
3182
|
+
change_request?: ICIChangeRequest;
|
|
3183
|
+
suite_id?: string;
|
|
3184
|
+
username?: string | null;
|
|
3185
|
+
}
|
|
3157
3186
|
export interface IRunningQueries {
|
|
3158
3187
|
can?: IDictionary<boolean>;
|
|
3159
3188
|
id?: string;
|
|
@@ -3339,6 +3368,18 @@ export declare enum SecretType {
|
|
|
3339
3368
|
SSO = "SSO",
|
|
3340
3369
|
JWT = "JWT"
|
|
3341
3370
|
}
|
|
3371
|
+
export interface IServiceAccount {
|
|
3372
|
+
can?: IDictionary<boolean>;
|
|
3373
|
+
id?: string;
|
|
3374
|
+
service_account_name?: string;
|
|
3375
|
+
is_service_account?: boolean;
|
|
3376
|
+
is_disabled?: boolean;
|
|
3377
|
+
group_ids?: string[] | null;
|
|
3378
|
+
role_ids?: string[] | null;
|
|
3379
|
+
credentials_api3?: ICredentialsApi3[] | null;
|
|
3380
|
+
created_at?: Date | null;
|
|
3381
|
+
url?: string | null;
|
|
3382
|
+
}
|
|
3342
3383
|
export interface ISession {
|
|
3343
3384
|
can?: IDictionary<boolean>;
|
|
3344
3385
|
id?: string;
|
|
@@ -3399,11 +3440,16 @@ export interface ISmtpNodeStatus {
|
|
|
3399
3440
|
export interface ISmtpSettings {
|
|
3400
3441
|
address?: string;
|
|
3401
3442
|
from?: string;
|
|
3402
|
-
user_name?: string;
|
|
3403
|
-
password?: string;
|
|
3443
|
+
user_name?: string | null;
|
|
3444
|
+
password?: string | null;
|
|
3404
3445
|
port?: number;
|
|
3405
3446
|
enable_starttls_auto?: boolean;
|
|
3406
3447
|
ssl_version?: SslVersion | null;
|
|
3448
|
+
auth_type?: string | null;
|
|
3449
|
+
client_id?: string | null;
|
|
3450
|
+
client_secret?: string | null;
|
|
3451
|
+
token_endpoint?: string | null;
|
|
3452
|
+
scopes?: string | null;
|
|
3407
3453
|
default_smtp?: boolean | null;
|
|
3408
3454
|
}
|
|
3409
3455
|
export interface ISmtpStatus {
|
|
@@ -3675,6 +3721,9 @@ export interface IUser {
|
|
|
3675
3721
|
allow_roles_from_normal_groups?: boolean;
|
|
3676
3722
|
embed_group_folder_id?: string | null;
|
|
3677
3723
|
is_iam_admin?: boolean;
|
|
3724
|
+
can_manage_api3_creds?: boolean;
|
|
3725
|
+
is_service_account?: boolean;
|
|
3726
|
+
service_account_name?: string | null;
|
|
3678
3727
|
url?: string | null;
|
|
3679
3728
|
}
|
|
3680
3729
|
export interface IUserAttribute {
|
|
@@ -3869,6 +3918,7 @@ export interface IWriteContentFavorite {
|
|
|
3869
3918
|
content_metadata_id?: string;
|
|
3870
3919
|
look?: IWriteLookBasic | null;
|
|
3871
3920
|
dashboard?: IWriteDashboardBase | null;
|
|
3921
|
+
lookml_dashboard?: IWriteDashboardBase | null;
|
|
3872
3922
|
}
|
|
3873
3923
|
export interface IWriteContentMeta {
|
|
3874
3924
|
inherits?: boolean;
|
|
@@ -3896,6 +3946,9 @@ export interface IWriteCreateQueryTask {
|
|
|
3896
3946
|
look_id?: string | null;
|
|
3897
3947
|
dashboard_id?: string | null;
|
|
3898
3948
|
}
|
|
3949
|
+
export interface IWriteCredentialsApi3 {
|
|
3950
|
+
purpose?: string | null;
|
|
3951
|
+
}
|
|
3899
3952
|
export interface IWriteCredentialsEmail {
|
|
3900
3953
|
email?: string | null;
|
|
3901
3954
|
forced_password_reset_at_next_login?: boolean;
|
|
@@ -3951,6 +4004,7 @@ export interface IWriteDashboardElement {
|
|
|
3951
4004
|
type?: string | null;
|
|
3952
4005
|
rich_content_json?: string | null;
|
|
3953
4006
|
extension_id?: string | null;
|
|
4007
|
+
aria_description?: string | null;
|
|
3954
4008
|
}
|
|
3955
4009
|
export interface IWriteDashboardFilter {
|
|
3956
4010
|
name?: string | null;
|
|
@@ -3972,6 +4026,9 @@ export interface IWriteDashboardLayout {
|
|
|
3972
4026
|
active?: boolean;
|
|
3973
4027
|
column_width?: number | null;
|
|
3974
4028
|
width?: number | null;
|
|
4029
|
+
label?: string | null;
|
|
4030
|
+
description?: string | null;
|
|
4031
|
+
order?: number | null;
|
|
3975
4032
|
}
|
|
3976
4033
|
export interface IWriteDashboardLayoutComponent {
|
|
3977
4034
|
dashboard_layout_id?: string | null;
|
|
@@ -4295,7 +4352,14 @@ export interface IWriteRepositoryCredential {
|
|
|
4295
4352
|
ssh_public_key?: string | null;
|
|
4296
4353
|
}
|
|
4297
4354
|
export interface IWriteResultMakerWithIdVisConfigAndDynamicFields {
|
|
4355
|
+
dynamic_fields?: string | null;
|
|
4356
|
+
filterables?: IResultMakerFilterables[] | null;
|
|
4357
|
+
sorts?: string[] | null;
|
|
4358
|
+
merge_result_id?: string | null;
|
|
4359
|
+
total?: boolean;
|
|
4360
|
+
sql_query_id?: string | null;
|
|
4298
4361
|
query?: IWriteQuery | null;
|
|
4362
|
+
vis_config?: IDictionary<any> | null;
|
|
4299
4363
|
}
|
|
4300
4364
|
export interface IWriteRole {
|
|
4301
4365
|
name?: string | null;
|
|
@@ -4362,6 +4426,10 @@ export interface IWriteScheduledPlan {
|
|
|
4362
4426
|
inline_table_width?: number | null;
|
|
4363
4427
|
query_id?: string | null;
|
|
4364
4428
|
}
|
|
4429
|
+
export interface IWriteServiceAccount {
|
|
4430
|
+
service_account_name?: string;
|
|
4431
|
+
is_disabled?: boolean;
|
|
4432
|
+
}
|
|
4365
4433
|
export interface IWriteSessionConfig {
|
|
4366
4434
|
allow_persistent_sessions?: boolean;
|
|
4367
4435
|
session_minutes?: number | null;
|
|
@@ -4422,6 +4490,7 @@ export interface IWriteUser {
|
|
|
4422
4490
|
locale?: string | null;
|
|
4423
4491
|
models_dir_validated?: boolean | null;
|
|
4424
4492
|
ui_state?: IDictionary<string> | null;
|
|
4493
|
+
can_manage_api3_creds?: boolean;
|
|
4425
4494
|
}
|
|
4426
4495
|
export interface IWriteUserAttribute {
|
|
4427
4496
|
name: string | null;
|