@looker/sdk 25.2.0 → 25.6.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 +21 -0
- package/lib/4.0/funcs.d.ts +4 -1
- package/lib/4.0/funcs.js +449 -406
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +4 -1
- package/lib/4.0/methods.js +305 -268
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +4 -1
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +123 -4
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +4 -1
- package/lib/4.0/streams.js +305 -268
- 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 +444 -401
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +305 -268
- 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 +305 -268
- 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 +3 -3
package/lib/4.0/models.d.ts
CHANGED
|
@@ -190,6 +190,46 @@ export declare enum Category {
|
|
|
190
190
|
measure = "measure",
|
|
191
191
|
dimension = "dimension"
|
|
192
192
|
}
|
|
193
|
+
export interface ICIChangeRequest {
|
|
194
|
+
change_request_number?: number | null;
|
|
195
|
+
change_request_url?: string | null;
|
|
196
|
+
change_request_name?: string | null;
|
|
197
|
+
change_request_commits_url?: string | null;
|
|
198
|
+
}
|
|
199
|
+
export interface ICIGitState {
|
|
200
|
+
branch?: string | null;
|
|
201
|
+
repository?: string | null;
|
|
202
|
+
commit_ref?: string | null;
|
|
203
|
+
target?: string | null;
|
|
204
|
+
}
|
|
205
|
+
export interface ICIRun {
|
|
206
|
+
run_id?: string;
|
|
207
|
+
created_at?: Date;
|
|
208
|
+
started_at?: Date | null;
|
|
209
|
+
finished_at?: Date | null;
|
|
210
|
+
status_url?: string;
|
|
211
|
+
status?: string | null;
|
|
212
|
+
git_service?: string | null;
|
|
213
|
+
git_state?: ICIGitState;
|
|
214
|
+
result?: ICIRunResult[] | null;
|
|
215
|
+
schedule?: ICIScheduleTrigger;
|
|
216
|
+
target_branch?: string | null;
|
|
217
|
+
title?: string | null;
|
|
218
|
+
trigger?: string | null;
|
|
219
|
+
change_request?: ICIChangeRequest;
|
|
220
|
+
suite_id?: string;
|
|
221
|
+
username?: string | null;
|
|
222
|
+
}
|
|
223
|
+
export interface ICIRunResult {
|
|
224
|
+
status?: string;
|
|
225
|
+
validator?: string;
|
|
226
|
+
}
|
|
227
|
+
export interface ICIScheduleTrigger {
|
|
228
|
+
enabled?: boolean;
|
|
229
|
+
day?: string;
|
|
230
|
+
hour?: string;
|
|
231
|
+
frequency?: string | null;
|
|
232
|
+
}
|
|
193
233
|
export interface IColorCollection {
|
|
194
234
|
id?: string;
|
|
195
235
|
label?: string;
|
|
@@ -424,6 +464,18 @@ export interface ICostEstimate {
|
|
|
424
464
|
cost_unit?: string;
|
|
425
465
|
message?: string;
|
|
426
466
|
}
|
|
467
|
+
export interface ICreateCIRunRequest {
|
|
468
|
+
suite_id?: string;
|
|
469
|
+
branch?: string | null;
|
|
470
|
+
target?: string;
|
|
471
|
+
commit?: string | null;
|
|
472
|
+
user_attributes?: string[] | null;
|
|
473
|
+
webhooks?: string[] | null;
|
|
474
|
+
}
|
|
475
|
+
export interface ICreateCIRunResponse {
|
|
476
|
+
run_id?: string;
|
|
477
|
+
status?: string;
|
|
478
|
+
}
|
|
427
479
|
export interface ICreateCostEstimate {
|
|
428
480
|
sql?: string;
|
|
429
481
|
}
|
|
@@ -820,12 +872,14 @@ export interface IDBConnection {
|
|
|
820
872
|
dialect?: IDialect;
|
|
821
873
|
snippets?: ISnippet[];
|
|
822
874
|
pdts_enabled?: boolean;
|
|
823
|
-
|
|
875
|
+
named_driver_version_requested?: string | null;
|
|
876
|
+
named_driver_version_actual?: string | null;
|
|
824
877
|
host?: string | null;
|
|
825
878
|
port?: string | null;
|
|
826
879
|
username?: string | null;
|
|
827
880
|
password?: string | null;
|
|
828
881
|
uses_oauth?: boolean;
|
|
882
|
+
uses_key_pair_auth?: boolean;
|
|
829
883
|
uses_instance_oauth?: boolean;
|
|
830
884
|
certificate?: string | null;
|
|
831
885
|
file_type?: string | null;
|
|
@@ -886,16 +940,26 @@ export interface IDBConnectionBase {
|
|
|
886
940
|
export interface IDBConnectionOverride {
|
|
887
941
|
context?: string;
|
|
888
942
|
host?: string | null;
|
|
943
|
+
pdt_host?: string | null;
|
|
889
944
|
port?: string | null;
|
|
945
|
+
pdt_port?: string | null;
|
|
890
946
|
username?: string | null;
|
|
947
|
+
pdt_username?: string | null;
|
|
891
948
|
password?: string | null;
|
|
949
|
+
pdt_password?: string | null;
|
|
892
950
|
has_password?: boolean;
|
|
893
951
|
certificate?: string | null;
|
|
952
|
+
pdt_certificate?: string | null;
|
|
894
953
|
file_type?: string | null;
|
|
954
|
+
pdt_file_type?: string | null;
|
|
895
955
|
database?: string | null;
|
|
956
|
+
pdt_database?: string | null;
|
|
896
957
|
schema?: string | null;
|
|
958
|
+
pdt_schema?: string | null;
|
|
897
959
|
jdbc_additional_params?: string | null;
|
|
960
|
+
pdt_jdbc_additional_params?: string | null;
|
|
898
961
|
after_connect_statements?: string | null;
|
|
962
|
+
pdt_after_connect_statements?: string | null;
|
|
899
963
|
}
|
|
900
964
|
export interface IDBConnectionTestResult {
|
|
901
965
|
can?: IDictionary<boolean>;
|
|
@@ -943,6 +1007,10 @@ export interface IDialect {
|
|
|
943
1007
|
supports_persistent_derived_tables?: boolean;
|
|
944
1008
|
has_ssl_support?: boolean;
|
|
945
1009
|
}
|
|
1010
|
+
export interface IDialectDriverVersion {
|
|
1011
|
+
name?: string | null;
|
|
1012
|
+
display_name?: string | null;
|
|
1013
|
+
}
|
|
946
1014
|
export interface IDialectInfo {
|
|
947
1015
|
can?: IDictionary<boolean>;
|
|
948
1016
|
default_max_connections?: string | null;
|
|
@@ -952,6 +1020,8 @@ export interface IDialectInfo {
|
|
|
952
1020
|
label_for_database_equivalent?: string | null;
|
|
953
1021
|
label_for_schema_equivalent?: string | null;
|
|
954
1022
|
name?: string | null;
|
|
1023
|
+
supported_driver_name?: string | null;
|
|
1024
|
+
supported_driver_versions?: IDialectDriverVersion[] | null;
|
|
955
1025
|
supported_options?: IDialectInfoOptions;
|
|
956
1026
|
}
|
|
957
1027
|
export interface IDialectInfoOptions {
|
|
@@ -2085,6 +2155,9 @@ export interface IProject {
|
|
|
2085
2155
|
is_example?: boolean;
|
|
2086
2156
|
dependency_status?: string | null;
|
|
2087
2157
|
}
|
|
2158
|
+
export interface IProjectCIRun {
|
|
2159
|
+
run?: ICIRun;
|
|
2160
|
+
}
|
|
2088
2161
|
export interface IProjectError {
|
|
2089
2162
|
code?: string | null;
|
|
2090
2163
|
severity?: string | null;
|
|
@@ -2210,6 +2283,27 @@ export interface IRenderTask {
|
|
|
2210
2283
|
user_id?: string | null;
|
|
2211
2284
|
width?: number | null;
|
|
2212
2285
|
}
|
|
2286
|
+
export interface IReport {
|
|
2287
|
+
can?: IDictionary<boolean>;
|
|
2288
|
+
id?: string;
|
|
2289
|
+
title?: string | null;
|
|
2290
|
+
user_id?: string | null;
|
|
2291
|
+
created_at?: Date | null;
|
|
2292
|
+
updated_at?: Date | null;
|
|
2293
|
+
last_viewed_at?: Date | null;
|
|
2294
|
+
favorite?: boolean;
|
|
2295
|
+
favorite_count?: number | null;
|
|
2296
|
+
view_count?: number | null;
|
|
2297
|
+
folder?: IFolderBase;
|
|
2298
|
+
folder_id?: string | null;
|
|
2299
|
+
url?: string | null;
|
|
2300
|
+
user_name?: string | null;
|
|
2301
|
+
deleted_at?: Date | null;
|
|
2302
|
+
last_accessed_at?: Date | null;
|
|
2303
|
+
deleter_user_id?: string | null;
|
|
2304
|
+
deleter_user_name?: string | null;
|
|
2305
|
+
schedule_count?: number | null;
|
|
2306
|
+
}
|
|
2213
2307
|
export interface IRepositoryCredential {
|
|
2214
2308
|
can?: IDictionary<boolean>;
|
|
2215
2309
|
id?: string;
|
|
@@ -2302,6 +2396,7 @@ export interface IRequestArtifact {
|
|
|
2302
2396
|
fields?: string | null;
|
|
2303
2397
|
limit?: number | null;
|
|
2304
2398
|
offset?: number | null;
|
|
2399
|
+
tally?: boolean | null;
|
|
2305
2400
|
}
|
|
2306
2401
|
export interface IRequestArtifactNamespaces {
|
|
2307
2402
|
fields?: string | null;
|
|
@@ -2550,6 +2645,7 @@ export interface IRequestSearchArtifacts {
|
|
|
2550
2645
|
max_size?: number | null;
|
|
2551
2646
|
limit?: number | null;
|
|
2552
2647
|
offset?: number | null;
|
|
2648
|
+
tally?: boolean | null;
|
|
2553
2649
|
}
|
|
2554
2650
|
export interface IRequestSearchBoards {
|
|
2555
2651
|
title?: string | null;
|
|
@@ -2738,6 +2834,17 @@ export interface IRequestSearchPermissionSets {
|
|
|
2738
2834
|
built_in?: boolean | null;
|
|
2739
2835
|
filter_or?: boolean | null;
|
|
2740
2836
|
}
|
|
2837
|
+
export interface IRequestSearchReports {
|
|
2838
|
+
folder_id?: string | null;
|
|
2839
|
+
favorite?: boolean | null;
|
|
2840
|
+
recent?: boolean | null;
|
|
2841
|
+
id?: string | null;
|
|
2842
|
+
title?: string | null;
|
|
2843
|
+
sorts?: string | null;
|
|
2844
|
+
limit?: number | null;
|
|
2845
|
+
fields?: string | null;
|
|
2846
|
+
next_page_token?: string | null;
|
|
2847
|
+
}
|
|
2741
2848
|
export interface IRequestSearchRoles {
|
|
2742
2849
|
fields?: string | null;
|
|
2743
2850
|
limit?: number | null;
|
|
@@ -3156,7 +3263,7 @@ export interface ISetting {
|
|
|
3156
3263
|
login_notification_text?: string | null;
|
|
3157
3264
|
dashboard_auto_refresh_restriction?: boolean;
|
|
3158
3265
|
dashboard_auto_refresh_minimum_interval?: string | null;
|
|
3159
|
-
managed_certificate_uri?: string | null;
|
|
3266
|
+
managed_certificate_uri?: string[] | null;
|
|
3160
3267
|
}
|
|
3161
3268
|
export interface ISmtpNodeStatus {
|
|
3162
3269
|
is_valid?: boolean;
|
|
@@ -3409,6 +3516,7 @@ export interface IUser {
|
|
|
3409
3516
|
allow_normal_group_membership?: boolean;
|
|
3410
3517
|
allow_roles_from_normal_groups?: boolean;
|
|
3411
3518
|
embed_group_folder_id?: string | null;
|
|
3519
|
+
is_iam_admin?: boolean;
|
|
3412
3520
|
url?: string | null;
|
|
3413
3521
|
}
|
|
3414
3522
|
export interface IUserAttribute {
|
|
@@ -3725,11 +3833,12 @@ export interface IWriteDatagroup {
|
|
|
3725
3833
|
}
|
|
3726
3834
|
export interface IWriteDBConnection {
|
|
3727
3835
|
name?: string;
|
|
3728
|
-
|
|
3836
|
+
named_driver_version_requested?: string | null;
|
|
3729
3837
|
host?: string | null;
|
|
3730
3838
|
port?: string | null;
|
|
3731
3839
|
username?: string | null;
|
|
3732
3840
|
password?: string | null;
|
|
3841
|
+
uses_key_pair_auth?: boolean;
|
|
3733
3842
|
certificate?: string | null;
|
|
3734
3843
|
file_type?: string | null;
|
|
3735
3844
|
database?: string | null;
|
|
@@ -3773,15 +3882,25 @@ export interface IWriteDBConnection {
|
|
|
3773
3882
|
export interface IWriteDBConnectionOverride {
|
|
3774
3883
|
context?: string;
|
|
3775
3884
|
host?: string | null;
|
|
3885
|
+
pdt_host?: string | null;
|
|
3776
3886
|
port?: string | null;
|
|
3887
|
+
pdt_port?: string | null;
|
|
3777
3888
|
username?: string | null;
|
|
3889
|
+
pdt_username?: string | null;
|
|
3778
3890
|
password?: string | null;
|
|
3891
|
+
pdt_password?: string | null;
|
|
3779
3892
|
certificate?: string | null;
|
|
3893
|
+
pdt_certificate?: string | null;
|
|
3780
3894
|
file_type?: string | null;
|
|
3895
|
+
pdt_file_type?: string | null;
|
|
3781
3896
|
database?: string | null;
|
|
3897
|
+
pdt_database?: string | null;
|
|
3782
3898
|
schema?: string | null;
|
|
3899
|
+
pdt_schema?: string | null;
|
|
3783
3900
|
jdbc_additional_params?: string | null;
|
|
3901
|
+
pdt_jdbc_additional_params?: string | null;
|
|
3784
3902
|
after_connect_statements?: string | null;
|
|
3903
|
+
pdt_after_connect_statements?: string | null;
|
|
3785
3904
|
}
|
|
3786
3905
|
export interface IWriteEmbedConfig {
|
|
3787
3906
|
domain_allowlist?: string[] | null;
|
|
@@ -4112,7 +4231,7 @@ export interface IWriteSetting {
|
|
|
4112
4231
|
embed_config?: IWriteEmbedConfig | null;
|
|
4113
4232
|
dashboard_auto_refresh_restriction?: boolean;
|
|
4114
4233
|
dashboard_auto_refresh_minimum_interval?: string | null;
|
|
4115
|
-
managed_certificate_uri?: string | null;
|
|
4234
|
+
managed_certificate_uri?: string[] | null;
|
|
4116
4235
|
}
|
|
4117
4236
|
export interface IWriteSqlInterfaceQueryCreate {
|
|
4118
4237
|
sql: string | null;
|