@looker/sdk 26.2.0 → 26.4.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 +7 -0
- package/lib/4.0/funcs.d.ts +19 -1
- package/lib/4.0/funcs.js +1072 -853
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +19 -1
- package/lib/4.0/methods.js +749 -566
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +19 -1
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +537 -1
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +19 -1
- package/lib/4.0/streams.js +749 -566
- 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 +1067 -848
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +749 -566
- 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 +749 -566
- 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
|
@@ -5,6 +5,27 @@ export interface IAccessToken {
|
|
|
5
5
|
expires_in?: number;
|
|
6
6
|
refresh_token?: string | null;
|
|
7
7
|
}
|
|
8
|
+
export interface IAgent {
|
|
9
|
+
can?: IDictionary<boolean>;
|
|
10
|
+
id?: string;
|
|
11
|
+
created_by_user_id?: string;
|
|
12
|
+
created_by_name?: string | null;
|
|
13
|
+
created_by_first_name?: string | null;
|
|
14
|
+
created_by_last_name?: string | null;
|
|
15
|
+
created_by_avatar_url?: string | null;
|
|
16
|
+
name?: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
category?: string | null;
|
|
19
|
+
sources?: ISource[];
|
|
20
|
+
has_inaccessible_source?: boolean;
|
|
21
|
+
context?: IContext;
|
|
22
|
+
deleted?: boolean;
|
|
23
|
+
created_at?: Date;
|
|
24
|
+
updated_at?: Date;
|
|
25
|
+
content_metadata_id?: string;
|
|
26
|
+
code_interpreter?: boolean;
|
|
27
|
+
studio_agent_id?: string | null;
|
|
28
|
+
}
|
|
8
29
|
export interface IAlert {
|
|
9
30
|
applied_dashboard_filters?: IAlertAppliedDashboardFilter[] | null;
|
|
10
31
|
comparison_type: ComparisonType;
|
|
@@ -70,6 +91,7 @@ export interface IAlertNotifications {
|
|
|
70
91
|
ran_at?: string;
|
|
71
92
|
alert?: IMobilePayload;
|
|
72
93
|
notification_type?: string | null;
|
|
94
|
+
triggering_field_title?: string | null;
|
|
73
95
|
}
|
|
74
96
|
export interface IAlertPatch {
|
|
75
97
|
owner_id?: string | null;
|
|
@@ -82,6 +104,26 @@ export declare enum Align {
|
|
|
82
104
|
left = "left",
|
|
83
105
|
right = "right"
|
|
84
106
|
}
|
|
107
|
+
export interface IAnalysisEvent {
|
|
108
|
+
plannerReasoning?: string | null;
|
|
109
|
+
coderInstruction?: string | null;
|
|
110
|
+
code?: string | null;
|
|
111
|
+
executionOutput?: string | null;
|
|
112
|
+
executionError?: string | null;
|
|
113
|
+
resultVegaChartJson?: string | null;
|
|
114
|
+
resultNaturalLanguage?: string | null;
|
|
115
|
+
resultCsvData?: string | null;
|
|
116
|
+
resultReferenceData?: string | null;
|
|
117
|
+
error?: string | null;
|
|
118
|
+
}
|
|
119
|
+
export interface IAnalysisMessage {
|
|
120
|
+
query?: IAnalysisQuery;
|
|
121
|
+
progressEvent?: IAnalysisEvent;
|
|
122
|
+
}
|
|
123
|
+
export interface IAnalysisQuery {
|
|
124
|
+
question?: string | null;
|
|
125
|
+
dataResultNames?: string[] | null;
|
|
126
|
+
}
|
|
85
127
|
export interface IApiSession {
|
|
86
128
|
can?: IDictionary<boolean>;
|
|
87
129
|
workspace_id?: string | null;
|
|
@@ -159,6 +201,23 @@ export interface IBackupConfiguration {
|
|
|
159
201
|
custom_s3_secret?: string | null;
|
|
160
202
|
url?: string | null;
|
|
161
203
|
}
|
|
204
|
+
export interface IBigQueryJob {
|
|
205
|
+
projectId?: string;
|
|
206
|
+
jobId?: string;
|
|
207
|
+
location?: string | null;
|
|
208
|
+
destinationTable?: IBigQueryTableReference;
|
|
209
|
+
schema?: IDataSourceSchema;
|
|
210
|
+
}
|
|
211
|
+
export interface IBigQueryTableReference {
|
|
212
|
+
projectId?: string;
|
|
213
|
+
datasetId?: string;
|
|
214
|
+
tableId?: string;
|
|
215
|
+
schema?: IDataSourceSchema;
|
|
216
|
+
}
|
|
217
|
+
export interface IBlob {
|
|
218
|
+
mimeType?: string;
|
|
219
|
+
data?: string;
|
|
220
|
+
}
|
|
162
221
|
export interface IBoard {
|
|
163
222
|
can?: IDictionary<boolean>;
|
|
164
223
|
content_metadata_id?: string | null;
|
|
@@ -232,24 +291,217 @@ export declare enum CertificationStatus {
|
|
|
232
291
|
certified = "certified",
|
|
233
292
|
revoked = "revoked"
|
|
234
293
|
}
|
|
294
|
+
export interface IChartMessage {
|
|
295
|
+
query?: IChartQuery;
|
|
296
|
+
result?: IChartResult;
|
|
297
|
+
}
|
|
298
|
+
export interface IChartQuery {
|
|
299
|
+
instructions?: string | null;
|
|
300
|
+
dataResultName?: string | null;
|
|
301
|
+
}
|
|
302
|
+
export interface IChartResult {
|
|
303
|
+
vegaConfig?: string | null;
|
|
304
|
+
image?: IBlob;
|
|
305
|
+
}
|
|
306
|
+
export interface IChatMessage {
|
|
307
|
+
timestamp?: Date | null;
|
|
308
|
+
userMessage?: IUserMessage;
|
|
309
|
+
systemMessage?: ISystemMessage;
|
|
310
|
+
messageId?: string | null;
|
|
311
|
+
}
|
|
312
|
+
export interface ICIAssertValidatorErrorItem {
|
|
313
|
+
assert_error?: ICIAssertValidatorTestError;
|
|
314
|
+
generic_error?: ICIGenericError;
|
|
315
|
+
}
|
|
316
|
+
export interface ICIAssertValidatorResult {
|
|
317
|
+
name?: string;
|
|
318
|
+
status?: string;
|
|
319
|
+
tested?: ICIAssertValidatorTestedExplore[];
|
|
320
|
+
}
|
|
321
|
+
export interface ICIAssertValidatorTestedExplore {
|
|
322
|
+
model?: string;
|
|
323
|
+
explore?: string;
|
|
324
|
+
status?: string;
|
|
325
|
+
skip_reason?: string | null;
|
|
326
|
+
error_count?: number | null;
|
|
327
|
+
errors?: ICIAssertValidatorErrorItem[];
|
|
328
|
+
success_count?: string;
|
|
329
|
+
successes?: ICIAssertValidatorTestSuccess[];
|
|
330
|
+
}
|
|
331
|
+
export interface ICIAssertValidatorTestError {
|
|
332
|
+
model?: string;
|
|
333
|
+
explore?: string;
|
|
334
|
+
test_name?: string;
|
|
335
|
+
explore_url?: string;
|
|
336
|
+
lookml_url?: string;
|
|
337
|
+
message?: string;
|
|
338
|
+
}
|
|
339
|
+
export interface ICIAssertValidatorTestSuccess {
|
|
340
|
+
model?: string;
|
|
341
|
+
explore?: string;
|
|
342
|
+
test_name?: string;
|
|
343
|
+
explore_url?: string;
|
|
344
|
+
lookml_url?: string;
|
|
345
|
+
}
|
|
235
346
|
export interface ICIChangeRequest {
|
|
236
347
|
change_request_number?: number;
|
|
237
348
|
change_request_url?: string;
|
|
238
349
|
change_request_name?: string;
|
|
239
350
|
change_request_commits_url?: string;
|
|
240
351
|
}
|
|
352
|
+
export interface ICIContentValidatorContentError {
|
|
353
|
+
type?: string;
|
|
354
|
+
title?: string;
|
|
355
|
+
detail?: string;
|
|
356
|
+
status?: string | null;
|
|
357
|
+
instance?: string | null;
|
|
358
|
+
model?: string | null;
|
|
359
|
+
explore?: string | null;
|
|
360
|
+
field_name?: string;
|
|
361
|
+
content_type?: string;
|
|
362
|
+
folder?: string | null;
|
|
363
|
+
url?: string;
|
|
364
|
+
tile_type?: string | null;
|
|
365
|
+
tile_title?: string | null;
|
|
366
|
+
message?: string;
|
|
367
|
+
}
|
|
368
|
+
export interface ICIContentValidatorErrorItem {
|
|
369
|
+
content_error?: ICIContentValidatorContentError;
|
|
370
|
+
generic_error?: ICIGenericError;
|
|
371
|
+
}
|
|
372
|
+
export interface ICIContentValidatorResult {
|
|
373
|
+
name?: string;
|
|
374
|
+
incremental?: boolean;
|
|
375
|
+
status?: string;
|
|
376
|
+
tested?: ICIContentValidatorTestedExplore[];
|
|
377
|
+
}
|
|
378
|
+
export interface ICIContentValidatorTestedExplore {
|
|
379
|
+
model?: string;
|
|
380
|
+
explore?: string;
|
|
381
|
+
status?: string;
|
|
382
|
+
skip_reason?: string | null;
|
|
383
|
+
error_count?: number | null;
|
|
384
|
+
errors?: ICIContentValidatorErrorItem[];
|
|
385
|
+
}
|
|
386
|
+
export interface ICIGenericError {
|
|
387
|
+
type?: string;
|
|
388
|
+
title?: string;
|
|
389
|
+
detail?: string;
|
|
390
|
+
status?: string | null;
|
|
391
|
+
instance?: string | null;
|
|
392
|
+
}
|
|
241
393
|
export interface ICIGitState {
|
|
242
394
|
branch?: string | null;
|
|
243
395
|
repository?: string | null;
|
|
244
396
|
commit_ref?: string | null;
|
|
245
397
|
target?: string | null;
|
|
246
398
|
}
|
|
399
|
+
export interface ICILookMLValidatorError {
|
|
400
|
+
type?: string;
|
|
401
|
+
title?: string;
|
|
402
|
+
detail?: string;
|
|
403
|
+
status?: string | null;
|
|
404
|
+
instance?: string | null;
|
|
405
|
+
model?: string | null;
|
|
406
|
+
explore?: string | null;
|
|
407
|
+
field_name?: string | null;
|
|
408
|
+
message?: string | null;
|
|
409
|
+
severity?: string | null;
|
|
410
|
+
line_number?: string | null;
|
|
411
|
+
lookml_url?: string | null;
|
|
412
|
+
file_path?: string | null;
|
|
413
|
+
}
|
|
414
|
+
export interface ICILookMLValidatorErrorItem {
|
|
415
|
+
lookml_error?: ICILookMLValidatorError;
|
|
416
|
+
generic_error?: ICIGenericError;
|
|
417
|
+
}
|
|
418
|
+
export interface ICILookMLValidatorResult {
|
|
419
|
+
name?: string;
|
|
420
|
+
status?: string;
|
|
421
|
+
error_count?: number | null;
|
|
422
|
+
errors?: ICILookMLValidatorErrorItem[];
|
|
423
|
+
}
|
|
424
|
+
export interface ICIRun {
|
|
425
|
+
can?: IDictionary<boolean>;
|
|
426
|
+
id?: string;
|
|
427
|
+
ci_suite_id?: string;
|
|
428
|
+
project_id?: string | null;
|
|
429
|
+
status?: string;
|
|
430
|
+
title?: string;
|
|
431
|
+
trigger_type?: string;
|
|
432
|
+
user_id?: number | null;
|
|
433
|
+
triggered_by_name?: string | null;
|
|
434
|
+
execution_id?: string | null;
|
|
435
|
+
result?: ICIRunResult;
|
|
436
|
+
change_request_number?: number | null;
|
|
437
|
+
change_request_url?: string | null;
|
|
438
|
+
change_request_name?: string | null;
|
|
439
|
+
change_request_commits_url?: string | null;
|
|
440
|
+
git_service_name?: string | null;
|
|
441
|
+
git_commit_ref?: string | null;
|
|
442
|
+
git_branch_name?: string | null;
|
|
443
|
+
git_repository_name?: string | null;
|
|
444
|
+
git_target_branch_name?: string | null;
|
|
445
|
+
git_status_url?: string | null;
|
|
446
|
+
git_target_url?: string | null;
|
|
447
|
+
created_at?: Date;
|
|
448
|
+
started_at?: Date | null;
|
|
449
|
+
finished_at?: Date | null;
|
|
450
|
+
retries?: number;
|
|
451
|
+
assigned_ci_user_id?: number | null;
|
|
452
|
+
assigned_ci_user_at?: Date | null;
|
|
453
|
+
crashed_check_count?: number;
|
|
454
|
+
run_url?: string;
|
|
455
|
+
}
|
|
456
|
+
export interface ICIRunResult {
|
|
457
|
+
sql_result?: ICISqlValidatorResult;
|
|
458
|
+
sql_error?: ICIGenericError;
|
|
459
|
+
assert_result?: ICIAssertValidatorResult;
|
|
460
|
+
assert_error?: ICIGenericError;
|
|
461
|
+
content_result?: ICIContentValidatorResult;
|
|
462
|
+
content_error?: ICIGenericError;
|
|
463
|
+
lookml_result?: ICILookMLValidatorResult;
|
|
464
|
+
lookml_error?: ICIGenericError;
|
|
465
|
+
generic_error?: ICIGenericError;
|
|
466
|
+
}
|
|
247
467
|
export interface ICIScheduleTrigger {
|
|
248
468
|
enabled?: boolean;
|
|
249
469
|
day?: string | null;
|
|
250
470
|
hour?: string | null;
|
|
251
471
|
frequency?: string;
|
|
252
472
|
}
|
|
473
|
+
export interface ICISqlValidatorError {
|
|
474
|
+
type?: string;
|
|
475
|
+
title?: string;
|
|
476
|
+
detail?: string;
|
|
477
|
+
status?: string | null;
|
|
478
|
+
instance?: string | null;
|
|
479
|
+
model?: string;
|
|
480
|
+
explore?: string;
|
|
481
|
+
message?: string;
|
|
482
|
+
explore_url?: string | null;
|
|
483
|
+
lookml_url?: string | null;
|
|
484
|
+
dimension?: string | null;
|
|
485
|
+
line_number?: string | null;
|
|
486
|
+
}
|
|
487
|
+
export interface ICISqlValidatorErrorItem {
|
|
488
|
+
sql_error?: ICISqlValidatorError;
|
|
489
|
+
generic_error?: ICIGenericError;
|
|
490
|
+
}
|
|
491
|
+
export interface ICISqlValidatorResult {
|
|
492
|
+
name?: string;
|
|
493
|
+
incremental?: boolean;
|
|
494
|
+
status?: string;
|
|
495
|
+
tested?: ICISqlValidatorTestedExplore[];
|
|
496
|
+
}
|
|
497
|
+
export interface ICISqlValidatorTestedExplore {
|
|
498
|
+
model?: string;
|
|
499
|
+
explore?: string;
|
|
500
|
+
status?: string;
|
|
501
|
+
skip_reason?: string | null;
|
|
502
|
+
error_count?: number | null;
|
|
503
|
+
errors?: ICISqlValidatorErrorItem[];
|
|
504
|
+
}
|
|
253
505
|
export interface IColorCollection {
|
|
254
506
|
id?: string;
|
|
255
507
|
label?: string;
|
|
@@ -511,12 +763,42 @@ export interface IContentView {
|
|
|
511
763
|
last_viewed_at?: string | null;
|
|
512
764
|
start_of_week_date?: string | null;
|
|
513
765
|
}
|
|
766
|
+
export interface IContext {
|
|
767
|
+
instructions?: string;
|
|
768
|
+
}
|
|
514
769
|
export interface IContinuousPalette {
|
|
515
770
|
id?: string;
|
|
516
771
|
label?: string | null;
|
|
517
772
|
type?: string;
|
|
518
773
|
stops?: IColorStop[];
|
|
519
774
|
}
|
|
775
|
+
export interface IConversation {
|
|
776
|
+
can?: IDictionary<boolean>;
|
|
777
|
+
id?: string;
|
|
778
|
+
name?: string;
|
|
779
|
+
category?: string | null;
|
|
780
|
+
sources?: ISource[];
|
|
781
|
+
user_id?: string;
|
|
782
|
+
agent_id?: string | null;
|
|
783
|
+
deleted?: boolean;
|
|
784
|
+
created_at?: Date;
|
|
785
|
+
updated_at?: Date;
|
|
786
|
+
messages?: IConversationMessage[] | null;
|
|
787
|
+
conversation_agent?: IAgent;
|
|
788
|
+
missing_agent?: boolean;
|
|
789
|
+
studio_conversation_id?: string | null;
|
|
790
|
+
}
|
|
791
|
+
export interface IConversationalAnalyticsChatRequest {
|
|
792
|
+
conversation_id: string;
|
|
793
|
+
user_message: string;
|
|
794
|
+
}
|
|
795
|
+
export interface IConversationMessage {
|
|
796
|
+
can?: IDictionary<boolean>;
|
|
797
|
+
id?: string;
|
|
798
|
+
message?: IDictionary<any>;
|
|
799
|
+
type?: string;
|
|
800
|
+
order?: number;
|
|
801
|
+
}
|
|
520
802
|
export interface ICostEstimate {
|
|
521
803
|
cost?: number;
|
|
522
804
|
cache_hit?: boolean;
|
|
@@ -532,6 +814,11 @@ export interface ICreateCIRunResponse {
|
|
|
532
814
|
run_id?: string;
|
|
533
815
|
status?: string;
|
|
534
816
|
}
|
|
817
|
+
export interface ICreateContinuousIntegrationRunRequest {
|
|
818
|
+
suite_id?: string;
|
|
819
|
+
branch?: string | null;
|
|
820
|
+
commit?: string | null;
|
|
821
|
+
}
|
|
535
822
|
export interface ICreateCostEstimate {
|
|
536
823
|
sql?: string;
|
|
537
824
|
}
|
|
@@ -926,6 +1213,11 @@ export interface IDataActionUserState {
|
|
|
926
1213
|
data?: string | null;
|
|
927
1214
|
refresh_time?: number | null;
|
|
928
1215
|
}
|
|
1216
|
+
export interface IDataFilter {
|
|
1217
|
+
field?: string | null;
|
|
1218
|
+
value?: string | null;
|
|
1219
|
+
type?: string | null;
|
|
1220
|
+
}
|
|
929
1221
|
export interface IDatagroup {
|
|
930
1222
|
can?: IDictionary<boolean>;
|
|
931
1223
|
created_at?: number | null;
|
|
@@ -938,6 +1230,37 @@ export interface IDatagroup {
|
|
|
938
1230
|
trigger_value?: string | null;
|
|
939
1231
|
triggered_at?: number | null;
|
|
940
1232
|
}
|
|
1233
|
+
export interface IDataMessage {
|
|
1234
|
+
query?: IDataQuery;
|
|
1235
|
+
generatedSql?: string | null;
|
|
1236
|
+
result?: IDataResult;
|
|
1237
|
+
generatedLookerQuery?: IQuery;
|
|
1238
|
+
bigQueryJob?: IBigQueryJob;
|
|
1239
|
+
}
|
|
1240
|
+
export interface IDataQuery {
|
|
1241
|
+
question?: string | null;
|
|
1242
|
+
name?: string | null;
|
|
1243
|
+
datasources?: IDatasource[] | null;
|
|
1244
|
+
looker?: IQuery;
|
|
1245
|
+
}
|
|
1246
|
+
export interface IDataResult {
|
|
1247
|
+
name?: string | null;
|
|
1248
|
+
schema?: IDataSourceSchema;
|
|
1249
|
+
data?: any[] | null;
|
|
1250
|
+
}
|
|
1251
|
+
export interface IDatasource {
|
|
1252
|
+
lookerExploreReference?: ILookerExploreReference;
|
|
1253
|
+
schema?: IDataSourceSchema;
|
|
1254
|
+
structSchema?: IDictionary<any> | null;
|
|
1255
|
+
}
|
|
1256
|
+
export interface IDataSourceSchema {
|
|
1257
|
+
fields?: IField[] | null;
|
|
1258
|
+
description?: string | null;
|
|
1259
|
+
synonyms?: string[] | null;
|
|
1260
|
+
tags?: string[] | null;
|
|
1261
|
+
displayName?: string | null;
|
|
1262
|
+
filters?: IDataFilter[] | null;
|
|
1263
|
+
}
|
|
941
1264
|
export interface IDBConnection {
|
|
942
1265
|
can?: IDictionary<boolean>;
|
|
943
1266
|
name?: string;
|
|
@@ -1003,6 +1326,7 @@ export interface IDBConnection {
|
|
|
1003
1326
|
bq_roles_verified?: boolean | null;
|
|
1004
1327
|
p4sa_name?: string | null;
|
|
1005
1328
|
query_holding_disabled?: boolean;
|
|
1329
|
+
service_name?: string | null;
|
|
1006
1330
|
}
|
|
1007
1331
|
export interface IDBConnectionBase {
|
|
1008
1332
|
can?: IDictionary<boolean>;
|
|
@@ -1034,6 +1358,7 @@ export interface IDBConnectionOverride {
|
|
|
1034
1358
|
pdt_jdbc_additional_params?: string | null;
|
|
1035
1359
|
after_connect_statements?: string | null;
|
|
1036
1360
|
pdt_after_connect_statements?: string | null;
|
|
1361
|
+
pdt_service_name?: string | null;
|
|
1037
1362
|
}
|
|
1038
1363
|
export interface IDBConnectionTestResult {
|
|
1039
1364
|
can?: IDictionary<boolean>;
|
|
@@ -1106,6 +1431,7 @@ export interface IDialectInfoOptions {
|
|
|
1106
1431
|
analytical_view_dataset?: boolean;
|
|
1107
1432
|
auth?: boolean;
|
|
1108
1433
|
cost_estimate?: boolean;
|
|
1434
|
+
disabled?: boolean;
|
|
1109
1435
|
disable_context_comment?: boolean;
|
|
1110
1436
|
host?: boolean;
|
|
1111
1437
|
instance_name?: boolean;
|
|
@@ -1229,6 +1555,16 @@ export interface IError {
|
|
|
1229
1555
|
message: string | null;
|
|
1230
1556
|
documentation_url: string | null;
|
|
1231
1557
|
}
|
|
1558
|
+
export interface IErrorMessage {
|
|
1559
|
+
text?: string;
|
|
1560
|
+
}
|
|
1561
|
+
export interface IExampleQueries {
|
|
1562
|
+
exampleQueries?: IExampleQuery[] | null;
|
|
1563
|
+
}
|
|
1564
|
+
export interface IExampleQuery {
|
|
1565
|
+
naturalLanguageQuestion?: string | null;
|
|
1566
|
+
sqlQuery?: string | null;
|
|
1567
|
+
}
|
|
1232
1568
|
export interface IExternalOauthApplication {
|
|
1233
1569
|
can?: IDictionary<boolean>;
|
|
1234
1570
|
id?: string;
|
|
@@ -1240,6 +1576,18 @@ export interface IExternalOauthApplication {
|
|
|
1240
1576
|
bi_directional_data_access?: boolean | null;
|
|
1241
1577
|
created_at?: Date;
|
|
1242
1578
|
}
|
|
1579
|
+
export interface IField {
|
|
1580
|
+
name?: string | null;
|
|
1581
|
+
type?: string | null;
|
|
1582
|
+
description?: string | null;
|
|
1583
|
+
mode?: string | null;
|
|
1584
|
+
synonyms?: string[] | null;
|
|
1585
|
+
tags?: string[] | null;
|
|
1586
|
+
displayName?: string | null;
|
|
1587
|
+
subfields?: any[] | null;
|
|
1588
|
+
category?: string | null;
|
|
1589
|
+
valueFormat?: string | null;
|
|
1590
|
+
}
|
|
1243
1591
|
export declare enum FillStyle {
|
|
1244
1592
|
enumeration = "enumeration",
|
|
1245
1593
|
range = "range"
|
|
@@ -1721,6 +2069,13 @@ export interface ILookBasic {
|
|
|
1721
2069
|
user_id?: string | null;
|
|
1722
2070
|
certification_metadata?: ICertification;
|
|
1723
2071
|
}
|
|
2072
|
+
export interface ILookerExploreReference {
|
|
2073
|
+
lookerInstanceUri?: string | null;
|
|
2074
|
+
privateLookerInstanceInfo?: IPrivateLookerInstanceInfo;
|
|
2075
|
+
lookmlModel?: string;
|
|
2076
|
+
explore?: string;
|
|
2077
|
+
schema?: IDataSourceSchema;
|
|
2078
|
+
}
|
|
1724
2079
|
export interface ILookmlFieldLink {
|
|
1725
2080
|
label?: string;
|
|
1726
2081
|
url?: string;
|
|
@@ -1752,6 +2107,7 @@ export interface ILookmlModelExplore {
|
|
|
1752
2107
|
can_pivot_in_db?: boolean;
|
|
1753
2108
|
can_subtotal?: boolean;
|
|
1754
2109
|
has_timezone_support?: boolean;
|
|
2110
|
+
self_service_explore_data?: ISelfServiceModelUploadData;
|
|
1755
2111
|
supports_cost_estimate?: boolean;
|
|
1756
2112
|
connection_name?: string | null;
|
|
1757
2113
|
null_sort_treatment?: string | null;
|
|
@@ -2072,6 +2428,48 @@ export interface IMaterializePDT {
|
|
|
2072
2428
|
materialization_id?: string;
|
|
2073
2429
|
resp_text?: string | null;
|
|
2074
2430
|
}
|
|
2431
|
+
export interface IMcpTools {
|
|
2432
|
+
enable_all?: boolean;
|
|
2433
|
+
add_dashboard_element?: IMcpToolSetting;
|
|
2434
|
+
add_dashboard_filter?: IMcpToolSetting;
|
|
2435
|
+
create_project_file?: IMcpToolSetting;
|
|
2436
|
+
delete_project_file?: IMcpToolSetting;
|
|
2437
|
+
dev_mode?: IMcpToolSetting;
|
|
2438
|
+
generate_embed_url?: IMcpToolSetting;
|
|
2439
|
+
get_connection_databases?: IMcpToolSetting;
|
|
2440
|
+
get_connection_schemas?: IMcpToolSetting;
|
|
2441
|
+
get_connection_table_columns?: IMcpToolSetting;
|
|
2442
|
+
get_connection_tables?: IMcpToolSetting;
|
|
2443
|
+
get_connections?: IMcpToolSetting;
|
|
2444
|
+
get_dashboards?: IMcpToolSetting;
|
|
2445
|
+
get_dimensions?: IMcpToolSetting;
|
|
2446
|
+
get_explores?: IMcpToolSetting;
|
|
2447
|
+
get_filters?: IMcpToolSetting;
|
|
2448
|
+
get_looks?: IMcpToolSetting;
|
|
2449
|
+
get_measures?: IMcpToolSetting;
|
|
2450
|
+
get_models?: IMcpToolSetting;
|
|
2451
|
+
get_parameters?: IMcpToolSetting;
|
|
2452
|
+
get_project_file?: IMcpToolSetting;
|
|
2453
|
+
get_project_files?: IMcpToolSetting;
|
|
2454
|
+
get_projects?: IMcpToolSetting;
|
|
2455
|
+
health_analyze?: IMcpToolSetting;
|
|
2456
|
+
health_pulse?: IMcpToolSetting;
|
|
2457
|
+
health_vacuum?: IMcpToolSetting;
|
|
2458
|
+
make_dashboard?: IMcpToolSetting;
|
|
2459
|
+
make_look?: IMcpToolSetting;
|
|
2460
|
+
query?: IMcpToolSetting;
|
|
2461
|
+
query_sql?: IMcpToolSetting;
|
|
2462
|
+
query_url?: IMcpToolSetting;
|
|
2463
|
+
run_dashboard?: IMcpToolSetting;
|
|
2464
|
+
run_look?: IMcpToolSetting;
|
|
2465
|
+
update_project_file?: IMcpToolSetting;
|
|
2466
|
+
}
|
|
2467
|
+
export interface IMcpToolSetting {
|
|
2468
|
+
enabled?: boolean;
|
|
2469
|
+
description?: string | null;
|
|
2470
|
+
category?: string | null;
|
|
2471
|
+
access_level?: string | null;
|
|
2472
|
+
}
|
|
2075
2473
|
export interface IMergeFields {
|
|
2076
2474
|
field_name?: string | null;
|
|
2077
2475
|
source_field_name?: string | null;
|
|
@@ -2104,7 +2502,7 @@ export interface IMobilePayload {
|
|
|
2104
2502
|
alert_id: string;
|
|
2105
2503
|
investigative_content_id?: string | null;
|
|
2106
2504
|
dashboard_name?: string | null;
|
|
2107
|
-
dashboard_id?: string;
|
|
2505
|
+
dashboard_id?: string | null;
|
|
2108
2506
|
query_slug?: string;
|
|
2109
2507
|
}
|
|
2110
2508
|
export interface IMobileSettings {
|
|
@@ -2285,6 +2683,10 @@ export interface IPrivatelabelConfiguration {
|
|
|
2285
2683
|
alerts_links?: boolean;
|
|
2286
2684
|
folders_mentions?: boolean;
|
|
2287
2685
|
}
|
|
2686
|
+
export interface IPrivateLookerInstanceInfo {
|
|
2687
|
+
lookerInstanceId?: string | null;
|
|
2688
|
+
serviceDirectoryName?: string | null;
|
|
2689
|
+
}
|
|
2288
2690
|
export interface IProject {
|
|
2289
2691
|
can?: IDictionary<boolean>;
|
|
2290
2692
|
id?: string;
|
|
@@ -2782,6 +3184,20 @@ export interface IRequestScheduledPlansForLookmlDashboard {
|
|
|
2782
3184
|
fields?: string | null;
|
|
2783
3185
|
all_users?: boolean | null;
|
|
2784
3186
|
}
|
|
3187
|
+
export interface IRequestSearchAgents {
|
|
3188
|
+
id?: string | null;
|
|
3189
|
+
name?: string | null;
|
|
3190
|
+
description?: string | null;
|
|
3191
|
+
created_by_user_id?: string | null;
|
|
3192
|
+
fields?: string | null;
|
|
3193
|
+
limit?: number | null;
|
|
3194
|
+
category?: string | null;
|
|
3195
|
+
offset?: number | null;
|
|
3196
|
+
sorts?: string | null;
|
|
3197
|
+
filter_or?: boolean | null;
|
|
3198
|
+
not_owned_by?: boolean | null;
|
|
3199
|
+
deleted?: boolean | null;
|
|
3200
|
+
}
|
|
2785
3201
|
export interface IRequestSearchAlerts {
|
|
2786
3202
|
limit?: number | null;
|
|
2787
3203
|
offset?: number | null;
|
|
@@ -2860,6 +3276,18 @@ export interface IRequestSearchContentViews {
|
|
|
2860
3276
|
sorts?: string | null;
|
|
2861
3277
|
filter_or?: boolean | null;
|
|
2862
3278
|
}
|
|
3279
|
+
export interface IRequestSearchConversations {
|
|
3280
|
+
id?: string | null;
|
|
3281
|
+
name?: string | null;
|
|
3282
|
+
agent_id?: string | null;
|
|
3283
|
+
fields?: string | null;
|
|
3284
|
+
limit?: number | null;
|
|
3285
|
+
offset?: number | null;
|
|
3286
|
+
sorts?: string | null;
|
|
3287
|
+
filter_or?: boolean | null;
|
|
3288
|
+
category?: string | null;
|
|
3289
|
+
deleted?: boolean | null;
|
|
3290
|
+
}
|
|
2863
3291
|
export interface IRequestSearchCredentialsEmail {
|
|
2864
3292
|
fields?: string | null;
|
|
2865
3293
|
limit?: number | null;
|
|
@@ -2991,6 +3419,7 @@ export interface IRequestSearchModelSets {
|
|
|
2991
3419
|
all_access?: boolean | null;
|
|
2992
3420
|
built_in?: boolean | null;
|
|
2993
3421
|
filter_or?: boolean | null;
|
|
3422
|
+
models?: string | null;
|
|
2994
3423
|
}
|
|
2995
3424
|
export interface IRequestSearchPermissionSets {
|
|
2996
3425
|
fields?: string | null;
|
|
@@ -3002,6 +3431,7 @@ export interface IRequestSearchPermissionSets {
|
|
|
3002
3431
|
all_access?: boolean | null;
|
|
3003
3432
|
built_in?: boolean | null;
|
|
3004
3433
|
filter_or?: boolean | null;
|
|
3434
|
+
permissions?: string | null;
|
|
3005
3435
|
}
|
|
3006
3436
|
export interface IRequestSearchReports {
|
|
3007
3437
|
folder_id?: string | null;
|
|
@@ -3020,6 +3450,8 @@ export interface IRequestSearchRoles {
|
|
|
3020
3450
|
offset?: number | null;
|
|
3021
3451
|
sorts?: string | null;
|
|
3022
3452
|
id?: string | null;
|
|
3453
|
+
model_set_ids?: string | null;
|
|
3454
|
+
permission_set_ids?: string | null;
|
|
3023
3455
|
name?: string | null;
|
|
3024
3456
|
built_in?: boolean | null;
|
|
3025
3457
|
filter_or?: boolean | null;
|
|
@@ -3408,6 +3840,16 @@ export interface ISchemaColumns {
|
|
|
3408
3840
|
schema_name?: string | null;
|
|
3409
3841
|
columns?: ISchemaColumn[];
|
|
3410
3842
|
}
|
|
3843
|
+
export interface ISchemaMessage {
|
|
3844
|
+
query?: ISchemaQuery;
|
|
3845
|
+
result?: ISchemaResult;
|
|
3846
|
+
}
|
|
3847
|
+
export interface ISchemaQuery {
|
|
3848
|
+
question?: string | null;
|
|
3849
|
+
}
|
|
3850
|
+
export interface ISchemaResult {
|
|
3851
|
+
datasources?: IDatasource[] | null;
|
|
3852
|
+
}
|
|
3411
3853
|
export interface ISchemaTable {
|
|
3412
3854
|
name?: string | null;
|
|
3413
3855
|
sql_escaped_name?: string | null;
|
|
@@ -3426,6 +3868,10 @@ export declare enum SecretType {
|
|
|
3426
3868
|
SSO = "SSO",
|
|
3427
3869
|
JWT = "JWT"
|
|
3428
3870
|
}
|
|
3871
|
+
export interface ISelfServiceModelUploadData {
|
|
3872
|
+
upload_type?: string | null;
|
|
3873
|
+
drive_url?: string | null;
|
|
3874
|
+
}
|
|
3429
3875
|
export interface IServiceAccount {
|
|
3430
3876
|
can?: IDictionary<boolean>;
|
|
3431
3877
|
id?: string;
|
|
@@ -3491,6 +3937,8 @@ export interface ISetting {
|
|
|
3491
3937
|
managed_certificate_uri?: string[] | null;
|
|
3492
3938
|
content_certification_documentation_link?: string | null;
|
|
3493
3939
|
revoke_certification_on_edits?: boolean;
|
|
3940
|
+
is_content_certification_enabled?: boolean;
|
|
3941
|
+
mcp_tools?: IMcpTools;
|
|
3494
3942
|
}
|
|
3495
3943
|
export interface ISmtpNodeStatus {
|
|
3496
3944
|
is_valid?: boolean;
|
|
@@ -3522,6 +3970,10 @@ export interface ISnippet {
|
|
|
3522
3970
|
label?: string;
|
|
3523
3971
|
sql?: string;
|
|
3524
3972
|
}
|
|
3973
|
+
export interface ISource {
|
|
3974
|
+
model?: string;
|
|
3975
|
+
explore?: string;
|
|
3976
|
+
}
|
|
3525
3977
|
export interface ISqlInterfaceQuery {
|
|
3526
3978
|
can?: IDictionary<boolean>;
|
|
3527
3979
|
id?: number;
|
|
@@ -3674,6 +4126,20 @@ export declare enum SupportedVisualizationFormattings {
|
|
|
3674
4126
|
apply = "apply",
|
|
3675
4127
|
noapply = "noapply"
|
|
3676
4128
|
}
|
|
4129
|
+
export interface ISystemMessage {
|
|
4130
|
+
text?: ITextMessage;
|
|
4131
|
+
schema?: ISchemaMessage;
|
|
4132
|
+
data?: IDataMessage;
|
|
4133
|
+
analysis?: IAnalysisMessage;
|
|
4134
|
+
chart?: IChartMessage;
|
|
4135
|
+
error?: IErrorMessage;
|
|
4136
|
+
exampleQueries?: IExampleQueries;
|
|
4137
|
+
groupId?: number | null;
|
|
4138
|
+
}
|
|
4139
|
+
export interface ITextMessage {
|
|
4140
|
+
parts?: string[] | null;
|
|
4141
|
+
textType?: string | null;
|
|
4142
|
+
}
|
|
3677
4143
|
export interface ITheme {
|
|
3678
4144
|
can?: IDictionary<boolean>;
|
|
3679
4145
|
begin_at?: Date | null;
|
|
@@ -3848,6 +4314,9 @@ export interface IUserLoginLockout {
|
|
|
3848
4314
|
fail_count?: number | null;
|
|
3849
4315
|
lockout_at?: Date | null;
|
|
3850
4316
|
}
|
|
4317
|
+
export interface IUserMessage {
|
|
4318
|
+
text?: string | null;
|
|
4319
|
+
}
|
|
3851
4320
|
export interface IUserPublic {
|
|
3852
4321
|
can?: IDictionary<boolean>;
|
|
3853
4322
|
id?: string;
|
|
@@ -3905,6 +4374,15 @@ export interface IWorkspace {
|
|
|
3905
4374
|
id?: string;
|
|
3906
4375
|
projects?: IProject[] | null;
|
|
3907
4376
|
}
|
|
4377
|
+
export interface IWriteAgent {
|
|
4378
|
+
name?: string;
|
|
4379
|
+
description?: string;
|
|
4380
|
+
category?: string | null;
|
|
4381
|
+
sources?: ISource[] | null;
|
|
4382
|
+
context?: IContext | null;
|
|
4383
|
+
deleted?: boolean;
|
|
4384
|
+
code_interpreter?: boolean;
|
|
4385
|
+
}
|
|
3908
4386
|
export interface IWriteAlert {
|
|
3909
4387
|
applied_dashboard_filters?: IAlertAppliedDashboardFilter[] | null;
|
|
3910
4388
|
comparison_type: ComparisonType | null;
|
|
@@ -3987,6 +4465,21 @@ export interface IWriteContentFavorite {
|
|
|
3987
4465
|
export interface IWriteContentMeta {
|
|
3988
4466
|
inherits?: boolean;
|
|
3989
4467
|
}
|
|
4468
|
+
export interface IWriteConversation {
|
|
4469
|
+
name?: string;
|
|
4470
|
+
category?: string | null;
|
|
4471
|
+
sources?: ISource[] | null;
|
|
4472
|
+
agent_id?: string | null;
|
|
4473
|
+
deleted?: boolean;
|
|
4474
|
+
conversation_agent?: IWriteAgent | null;
|
|
4475
|
+
}
|
|
4476
|
+
export interface IWriteConversationMessage {
|
|
4477
|
+
message?: IDictionary<any> | null;
|
|
4478
|
+
type?: string;
|
|
4479
|
+
}
|
|
4480
|
+
export interface IWriteConversationMessages {
|
|
4481
|
+
messages?: any[];
|
|
4482
|
+
}
|
|
3990
4483
|
export interface IWriteCreateDashboardFilter {
|
|
3991
4484
|
dashboard_id: string | null;
|
|
3992
4485
|
name: string | null;
|
|
@@ -4165,6 +4658,7 @@ export interface IWriteDBConnection {
|
|
|
4165
4658
|
bq_storage_project_id?: string | null;
|
|
4166
4659
|
bq_roles_verified?: boolean | null;
|
|
4167
4660
|
query_holding_disabled?: boolean;
|
|
4661
|
+
service_name?: string | null;
|
|
4168
4662
|
}
|
|
4169
4663
|
export interface IWriteDBConnectionOverride {
|
|
4170
4664
|
context?: string;
|
|
@@ -4188,6 +4682,7 @@ export interface IWriteDBConnectionOverride {
|
|
|
4188
4682
|
pdt_jdbc_additional_params?: string | null;
|
|
4189
4683
|
after_connect_statements?: string | null;
|
|
4190
4684
|
pdt_after_connect_statements?: string | null;
|
|
4685
|
+
pdt_service_name?: string | null;
|
|
4191
4686
|
}
|
|
4192
4687
|
export interface IWriteEmbedConfig {
|
|
4193
4688
|
domain_allowlist?: string[] | null;
|
|
@@ -4305,6 +4800,45 @@ export interface IWriteLookWithQuery {
|
|
|
4305
4800
|
folder_id?: string | null;
|
|
4306
4801
|
query?: IWriteQuery | null;
|
|
4307
4802
|
}
|
|
4803
|
+
export interface IWriteMcpTools {
|
|
4804
|
+
enable_all?: boolean;
|
|
4805
|
+
add_dashboard_element?: IWriteMcpToolSetting | null;
|
|
4806
|
+
add_dashboard_filter?: IWriteMcpToolSetting | null;
|
|
4807
|
+
create_project_file?: IWriteMcpToolSetting | null;
|
|
4808
|
+
delete_project_file?: IWriteMcpToolSetting | null;
|
|
4809
|
+
dev_mode?: IWriteMcpToolSetting | null;
|
|
4810
|
+
generate_embed_url?: IWriteMcpToolSetting | null;
|
|
4811
|
+
get_connection_databases?: IWriteMcpToolSetting | null;
|
|
4812
|
+
get_connection_schemas?: IWriteMcpToolSetting | null;
|
|
4813
|
+
get_connection_table_columns?: IWriteMcpToolSetting | null;
|
|
4814
|
+
get_connection_tables?: IWriteMcpToolSetting | null;
|
|
4815
|
+
get_connections?: IWriteMcpToolSetting | null;
|
|
4816
|
+
get_dashboards?: IWriteMcpToolSetting | null;
|
|
4817
|
+
get_dimensions?: IWriteMcpToolSetting | null;
|
|
4818
|
+
get_explores?: IWriteMcpToolSetting | null;
|
|
4819
|
+
get_filters?: IWriteMcpToolSetting | null;
|
|
4820
|
+
get_looks?: IWriteMcpToolSetting | null;
|
|
4821
|
+
get_measures?: IWriteMcpToolSetting | null;
|
|
4822
|
+
get_models?: IWriteMcpToolSetting | null;
|
|
4823
|
+
get_parameters?: IWriteMcpToolSetting | null;
|
|
4824
|
+
get_project_file?: IWriteMcpToolSetting | null;
|
|
4825
|
+
get_project_files?: IWriteMcpToolSetting | null;
|
|
4826
|
+
get_projects?: IWriteMcpToolSetting | null;
|
|
4827
|
+
health_analyze?: IWriteMcpToolSetting | null;
|
|
4828
|
+
health_pulse?: IWriteMcpToolSetting | null;
|
|
4829
|
+
health_vacuum?: IWriteMcpToolSetting | null;
|
|
4830
|
+
make_dashboard?: IWriteMcpToolSetting | null;
|
|
4831
|
+
make_look?: IWriteMcpToolSetting | null;
|
|
4832
|
+
query?: IWriteMcpToolSetting | null;
|
|
4833
|
+
query_sql?: IWriteMcpToolSetting | null;
|
|
4834
|
+
query_url?: IWriteMcpToolSetting | null;
|
|
4835
|
+
run_dashboard?: IWriteMcpToolSetting | null;
|
|
4836
|
+
run_look?: IWriteMcpToolSetting | null;
|
|
4837
|
+
update_project_file?: IWriteMcpToolSetting | null;
|
|
4838
|
+
}
|
|
4839
|
+
export interface IWriteMcpToolSetting {
|
|
4840
|
+
enabled?: boolean;
|
|
4841
|
+
}
|
|
4308
4842
|
export interface IWriteMergeQuery {
|
|
4309
4843
|
column_limit?: string | null;
|
|
4310
4844
|
dynamic_fields?: string | null;
|
|
@@ -4540,6 +5074,8 @@ export interface IWriteSetting {
|
|
|
4540
5074
|
managed_certificate_uri?: string[] | null;
|
|
4541
5075
|
content_certification_documentation_link?: string | null;
|
|
4542
5076
|
revoke_certification_on_edits?: boolean;
|
|
5077
|
+
is_content_certification_enabled?: boolean;
|
|
5078
|
+
mcp_tools?: IWriteMcpTools | null;
|
|
4543
5079
|
}
|
|
4544
5080
|
export interface IWriteSqlInterfaceQueryCreate {
|
|
4545
5081
|
sql: string | null;
|