@looker/sdk 24.12.1 → 24.16.1
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 +40 -0
- package/README.md +66 -17
- package/lib/4.0/funcs.d.ts +5 -3
- package/lib/4.0/funcs.js +921 -896
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +5 -3
- package/lib/4.0/methods.js +615 -594
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +5 -3
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +54 -3
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +437 -436
- package/lib/4.0/streams.js +616 -594
- 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 +916 -891
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +615 -594
- 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 +617 -595
- 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/lib/esm/extensionSdk.js +4 -3
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/extensionSdk.d.ts +3 -2
- package/lib/extensionSdk.js +4 -3
- package/lib/extensionSdk.js.map +1 -1
- package/package.json +3 -11
package/lib/4.0/models.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IDictionary, DelimArray } from '@looker/sdk-rtl';
|
|
2
2
|
export interface IAccessToken {
|
|
3
3
|
access_token?: string;
|
|
4
4
|
token_type?: string;
|
|
@@ -277,6 +277,26 @@ export interface IContentSearch {
|
|
|
277
277
|
view_count?: number | null;
|
|
278
278
|
preferred_viewer?: string | null;
|
|
279
279
|
}
|
|
280
|
+
export interface IContentSummary {
|
|
281
|
+
can?: IDictionary<boolean>;
|
|
282
|
+
id?: string;
|
|
283
|
+
content_type?: string | null;
|
|
284
|
+
content_id?: string | null;
|
|
285
|
+
content_slug?: string | null;
|
|
286
|
+
title?: string | null;
|
|
287
|
+
description?: string | null;
|
|
288
|
+
last_viewed_at?: Date | null;
|
|
289
|
+
user_id?: string | null;
|
|
290
|
+
user_full_name?: string | null;
|
|
291
|
+
is_scheduled?: boolean;
|
|
292
|
+
favorite_count?: number | null;
|
|
293
|
+
view_count?: number | null;
|
|
294
|
+
favorite_id?: string | null;
|
|
295
|
+
weighted_score?: number | null;
|
|
296
|
+
group_weighted_score?: number | null;
|
|
297
|
+
suggestion_score?: number | null;
|
|
298
|
+
preferred_viewer?: string | null;
|
|
299
|
+
}
|
|
280
300
|
export interface IContentValidation {
|
|
281
301
|
content_with_errors?: IContentValidatorError[] | null;
|
|
282
302
|
computation_time?: number | null;
|
|
@@ -483,6 +503,8 @@ export interface ICredentialsEmail {
|
|
|
483
503
|
logged_in_at?: string | null;
|
|
484
504
|
password_reset_url?: string | null;
|
|
485
505
|
account_setup_url?: string | null;
|
|
506
|
+
password_reset_url_expired?: boolean;
|
|
507
|
+
account_setup_url_expired?: boolean;
|
|
486
508
|
type?: string | null;
|
|
487
509
|
url?: string | null;
|
|
488
510
|
user_url?: string | null;
|
|
@@ -497,6 +519,8 @@ export interface ICredentialsEmailSearch {
|
|
|
497
519
|
logged_in_at?: string | null;
|
|
498
520
|
password_reset_url?: string | null;
|
|
499
521
|
account_setup_url?: string | null;
|
|
522
|
+
password_reset_url_expired?: boolean;
|
|
523
|
+
account_setup_url_expired?: boolean;
|
|
500
524
|
type?: string | null;
|
|
501
525
|
url?: string | null;
|
|
502
526
|
user_url?: string | null;
|
|
@@ -799,6 +823,7 @@ export interface IDBConnection {
|
|
|
799
823
|
username?: string | null;
|
|
800
824
|
password?: string | null;
|
|
801
825
|
uses_oauth?: boolean;
|
|
826
|
+
uses_instance_oauth?: boolean;
|
|
802
827
|
certificate?: string | null;
|
|
803
828
|
file_type?: string | null;
|
|
804
829
|
database?: string | null;
|
|
@@ -806,6 +831,8 @@ export interface IDBConnection {
|
|
|
806
831
|
query_timezone?: string | null;
|
|
807
832
|
schema?: string | null;
|
|
808
833
|
max_connections?: number | null;
|
|
834
|
+
max_queries?: number | null;
|
|
835
|
+
max_queries_per_user?: number | null;
|
|
809
836
|
max_billing_gigabytes?: string | null;
|
|
810
837
|
ssl?: boolean;
|
|
811
838
|
verify_ssl?: boolean;
|
|
@@ -834,9 +861,14 @@ export interface IDBConnection {
|
|
|
834
861
|
disable_context_comment?: boolean | null;
|
|
835
862
|
oauth_application_id?: string | null;
|
|
836
863
|
always_retry_failed_builds?: boolean | null;
|
|
864
|
+
uses_application_default_credentials?: boolean | null;
|
|
865
|
+
impersonated_service_account?: string | null;
|
|
837
866
|
cost_estimate_enabled?: boolean | null;
|
|
838
867
|
pdt_api_control_enabled?: boolean | null;
|
|
839
868
|
connection_pooling?: boolean;
|
|
869
|
+
default_bq_connection?: boolean;
|
|
870
|
+
bq_storage_project_id?: string | null;
|
|
871
|
+
bq_roles_verified?: boolean | null;
|
|
840
872
|
}
|
|
841
873
|
export interface IDBConnectionBase {
|
|
842
874
|
can?: IDictionary<boolean>;
|
|
@@ -2303,6 +2335,15 @@ export interface IRequestConnectionTables {
|
|
|
2303
2335
|
table_filter?: string | null;
|
|
2304
2336
|
table_limit?: number | null;
|
|
2305
2337
|
}
|
|
2338
|
+
export interface IRequestContentSummary {
|
|
2339
|
+
fields?: string | null;
|
|
2340
|
+
limit?: number | null;
|
|
2341
|
+
offset?: number | null;
|
|
2342
|
+
target_group_id?: string | null;
|
|
2343
|
+
target_user_id?: string | null;
|
|
2344
|
+
target_content_type?: string | null;
|
|
2345
|
+
sorts?: string | null;
|
|
2346
|
+
}
|
|
2306
2347
|
export interface IRequestContentThumbnail {
|
|
2307
2348
|
type: string;
|
|
2308
2349
|
resource_id: string;
|
|
@@ -2873,6 +2914,7 @@ export interface IRunningQueries {
|
|
|
2873
2914
|
status?: string | null;
|
|
2874
2915
|
runtime?: number | null;
|
|
2875
2916
|
sql?: string | null;
|
|
2917
|
+
sql_interface_sql?: string | null;
|
|
2876
2918
|
}
|
|
2877
2919
|
export interface ISamlConfig {
|
|
2878
2920
|
can?: IDictionary<boolean>;
|
|
@@ -2960,7 +3002,6 @@ export interface IScheduledPlan {
|
|
|
2960
3002
|
crontab?: string | null;
|
|
2961
3003
|
datagroup?: string | null;
|
|
2962
3004
|
timezone?: string | null;
|
|
2963
|
-
query_id?: string | null;
|
|
2964
3005
|
scheduled_plan_destination?: IScheduledPlanDestination[] | null;
|
|
2965
3006
|
run_once?: boolean;
|
|
2966
3007
|
include_links?: boolean;
|
|
@@ -2974,6 +3015,7 @@ export interface IScheduledPlan {
|
|
|
2974
3015
|
color_theme?: string | null;
|
|
2975
3016
|
long_tables?: boolean;
|
|
2976
3017
|
inline_table_width?: number | null;
|
|
3018
|
+
query_id?: string | null;
|
|
2977
3019
|
id?: string;
|
|
2978
3020
|
created_at?: Date | null;
|
|
2979
3021
|
updated_at?: Date | null;
|
|
@@ -3083,6 +3125,8 @@ export interface ISetting {
|
|
|
3083
3125
|
embed_config?: IEmbedConfig;
|
|
3084
3126
|
login_notification_enabled?: boolean;
|
|
3085
3127
|
login_notification_text?: string | null;
|
|
3128
|
+
dashboard_auto_refresh_restriction?: boolean;
|
|
3129
|
+
dashboard_auto_refresh_minimum_interval?: string | null;
|
|
3086
3130
|
}
|
|
3087
3131
|
export interface ISmtpNodeStatus {
|
|
3088
3132
|
is_valid?: boolean;
|
|
@@ -3663,6 +3707,8 @@ export interface IWriteDBConnection {
|
|
|
3663
3707
|
query_timezone?: string | null;
|
|
3664
3708
|
schema?: string | null;
|
|
3665
3709
|
max_connections?: number | null;
|
|
3710
|
+
max_queries?: number | null;
|
|
3711
|
+
max_queries_per_user?: number | null;
|
|
3666
3712
|
max_billing_gigabytes?: string | null;
|
|
3667
3713
|
ssl?: boolean;
|
|
3668
3714
|
verify_ssl?: boolean;
|
|
@@ -3684,9 +3730,12 @@ export interface IWriteDBConnection {
|
|
|
3684
3730
|
disable_context_comment?: boolean | null;
|
|
3685
3731
|
oauth_application_id?: string | null;
|
|
3686
3732
|
always_retry_failed_builds?: boolean | null;
|
|
3733
|
+
uses_application_default_credentials?: boolean | null;
|
|
3734
|
+
impersonated_service_account?: string | null;
|
|
3687
3735
|
cost_estimate_enabled?: boolean | null;
|
|
3688
3736
|
pdt_api_control_enabled?: boolean | null;
|
|
3689
3737
|
connection_pooling?: boolean;
|
|
3738
|
+
bq_storage_project_id?: string | null;
|
|
3690
3739
|
}
|
|
3691
3740
|
export interface IWriteDBConnectionOverride {
|
|
3692
3741
|
context?: string;
|
|
@@ -3975,7 +4024,6 @@ export interface IWriteScheduledPlan {
|
|
|
3975
4024
|
crontab?: string | null;
|
|
3976
4025
|
datagroup?: string | null;
|
|
3977
4026
|
timezone?: string | null;
|
|
3978
|
-
query_id?: string | null;
|
|
3979
4027
|
scheduled_plan_destination?: IScheduledPlanDestination[] | null;
|
|
3980
4028
|
run_once?: boolean;
|
|
3981
4029
|
include_links?: boolean;
|
|
@@ -3989,6 +4037,7 @@ export interface IWriteScheduledPlan {
|
|
|
3989
4037
|
color_theme?: string | null;
|
|
3990
4038
|
long_tables?: boolean;
|
|
3991
4039
|
inline_table_width?: number | null;
|
|
4040
|
+
query_id?: string | null;
|
|
3992
4041
|
}
|
|
3993
4042
|
export interface IWriteSessionConfig {
|
|
3994
4043
|
allow_persistent_sessions?: boolean;
|
|
@@ -4015,6 +4064,8 @@ export interface IWriteSetting {
|
|
|
4015
4064
|
email_domain_allowlist?: string[] | null;
|
|
4016
4065
|
embed_cookieless_v2?: boolean;
|
|
4017
4066
|
embed_config?: IEmbedConfig | null;
|
|
4067
|
+
dashboard_auto_refresh_restriction?: boolean;
|
|
4068
|
+
dashboard_auto_refresh_minimum_interval?: string | null;
|
|
4018
4069
|
}
|
|
4019
4070
|
export interface IWriteSqlInterfaceQueryCreate {
|
|
4020
4071
|
sql: string | null;
|