@looker/sdk 21.16.0 → 21.20.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +63 -1
  2. package/lib/3.1/funcs.d.ts +3 -2
  3. package/lib/3.1/funcs.js +725 -709
  4. package/lib/3.1/funcs.js.map +1 -1
  5. package/lib/3.1/methods.d.ts +3 -2
  6. package/lib/3.1/methods.js +484 -472
  7. package/lib/3.1/methods.js.map +1 -1
  8. package/lib/3.1/methodsInterface.d.ts +3 -2
  9. package/lib/3.1/models.d.ts +1666 -1656
  10. package/lib/3.1/models.js.map +1 -1
  11. package/lib/3.1/streams.d.ts +3 -2
  12. package/lib/3.1/streams.js +484 -472
  13. package/lib/3.1/streams.js.map +1 -1
  14. package/lib/4.0/funcs.d.ts +12 -9
  15. package/lib/4.0/funcs.js +1231 -1184
  16. package/lib/4.0/funcs.js.map +1 -1
  17. package/lib/4.0/methods.d.ts +12 -9
  18. package/lib/4.0/methods.js +820 -785
  19. package/lib/4.0/methods.js.map +1 -1
  20. package/lib/4.0/methodsInterface.d.ts +12 -9
  21. package/lib/4.0/models.d.ts +1866 -1824
  22. package/lib/4.0/models.js.map +1 -1
  23. package/lib/4.0/streams.d.ts +12 -9
  24. package/lib/4.0/streams.js +820 -785
  25. package/lib/4.0/streams.js.map +1 -1
  26. package/lib/constants.d.ts +1 -1
  27. package/lib/constants.js +1 -1
  28. package/lib/constants.js.map +1 -1
  29. package/lib/esm/3.1/funcs.js +716 -703
  30. package/lib/esm/3.1/funcs.js.map +1 -1
  31. package/lib/esm/3.1/methods.js +484 -472
  32. package/lib/esm/3.1/methods.js.map +1 -1
  33. package/lib/esm/3.1/models.js.map +1 -1
  34. package/lib/esm/3.1/streams.js +484 -472
  35. package/lib/esm/3.1/streams.js.map +1 -1
  36. package/lib/esm/4.0/funcs.js +1208 -1170
  37. package/lib/esm/4.0/funcs.js.map +1 -1
  38. package/lib/esm/4.0/methods.js +820 -785
  39. package/lib/esm/4.0/methods.js.map +1 -1
  40. package/lib/esm/4.0/models.js.map +1 -1
  41. package/lib/esm/4.0/streams.js +820 -785
  42. package/lib/esm/4.0/streams.js.map +1 -1
  43. package/lib/esm/constants.js +1 -1
  44. package/lib/esm/constants.js.map +1 -1
  45. package/package.json +4 -4
@@ -3,57 +3,65 @@ export interface IAccessToken {
3
3
  access_token?: string;
4
4
  token_type?: string;
5
5
  expires_in?: number;
6
- refresh_token?: string;
6
+ refresh_token?: string | null;
7
7
  }
8
8
  export interface IAlert {
9
- applied_dashboard_filters?: IAlertAppliedDashboardFilter[];
10
- comparison_type?: ComparisonType;
11
- cron?: string;
12
- custom_title?: string;
13
- dashboard_element_id?: number;
14
- description?: string;
15
- destinations?: IAlertDestination[];
16
- field?: IAlertField;
9
+ applied_dashboard_filters?: IAlertAppliedDashboardFilter[] | null;
10
+ comparison_type: ComparisonType;
11
+ cron: string;
12
+ custom_title?: string | null;
13
+ dashboard_element_id?: number | null;
14
+ description?: string | null;
15
+ destinations: IAlertDestination[] | null;
16
+ field: IAlertField;
17
17
  followed?: boolean;
18
18
  followable?: boolean;
19
19
  id?: number;
20
20
  is_disabled?: boolean;
21
+ disabled_reason?: string | null;
21
22
  is_public?: boolean;
22
- investigative_content_type?: InvestigativeContentType;
23
- investigative_content_id?: string;
24
- investigative_content_title?: string;
25
- lookml_dashboard_id?: string;
26
- lookml_link_id?: string;
27
- owner_id?: number;
28
- owner_display_name?: string;
29
- threshold?: number;
23
+ investigative_content_type?: InvestigativeContentType | null;
24
+ investigative_content_id?: string | null;
25
+ investigative_content_title?: string | null;
26
+ lookml_dashboard_id?: string | null;
27
+ lookml_link_id?: string | null;
28
+ owner_id: number;
29
+ owner_display_name?: string | null;
30
+ threshold: number;
30
31
  time_series_condition_state?: IAlertConditionState;
31
32
  }
32
33
  export interface IAlertAppliedDashboardFilter {
33
- filter_title?: string;
34
- field_name?: string;
35
- filter_value?: string;
36
- filter_description?: string;
34
+ filter_title: string | null;
35
+ field_name: string;
36
+ filter_value: string;
37
+ filter_description?: string | null;
37
38
  }
38
39
  export interface IAlertConditionState {
39
- previous_time_series_id?: string;
40
- latest_time_series_id?: string;
40
+ previous_time_series_id?: string | null;
41
+ latest_time_series_id?: string | null;
41
42
  }
42
43
  export interface IAlertDestination {
43
44
  destination_type: DestinationType;
44
- email_address?: string;
45
- action_hub_integration_id?: string;
46
- action_hub_form_params_json?: string;
45
+ email_address?: string | null;
46
+ action_hub_integration_id?: string | null;
47
+ action_hub_form_params_json?: string | null;
47
48
  }
48
49
  export interface IAlertField {
49
- title?: string;
50
- name?: string;
51
- filter?: IAlertFieldFilter[];
50
+ title: string;
51
+ name: string;
52
+ filter?: IAlertFieldFilter[] | null;
52
53
  }
53
54
  export interface IAlertFieldFilter {
54
- field_name?: string;
55
- field_value?: any;
56
- filter_value?: string;
55
+ field_name: string;
56
+ field_value: any;
57
+ filter_value?: string | null;
58
+ }
59
+ export interface IAlertPatch {
60
+ owner_id?: number | null;
61
+ is_disabled?: boolean | null;
62
+ disabled_reason?: string | null;
63
+ is_public?: boolean | null;
64
+ threshold?: number | null;
57
65
  }
58
66
  export declare enum Align {
59
67
  left = "left",
@@ -61,8 +69,8 @@ export declare enum Align {
61
69
  }
62
70
  export interface IApiSession {
63
71
  can?: IDictionary<boolean>;
64
- workspace_id?: string;
65
- sudo_user_id?: number;
72
+ workspace_id?: string | null;
73
+ sudo_user_id?: number | null;
66
74
  }
67
75
  export interface IApiVersion {
68
76
  looker_release_version?: string;
@@ -72,69 +80,69 @@ export interface IApiVersion {
72
80
  web_server_url?: string;
73
81
  }
74
82
  export interface IApiVersionElement {
75
- version?: string;
76
- full_version?: string;
77
- status?: string;
78
- swagger_url?: string;
83
+ version?: string | null;
84
+ full_version?: string | null;
85
+ status?: string | null;
86
+ swagger_url?: string | null;
79
87
  }
80
88
  export interface IBackupConfiguration {
81
89
  can?: IDictionary<boolean>;
82
- type?: string;
83
- custom_s3_bucket?: string;
84
- custom_s3_bucket_region?: string;
85
- custom_s3_key?: string;
86
- custom_s3_secret?: string;
87
- url?: string;
90
+ type?: string | null;
91
+ custom_s3_bucket?: string | null;
92
+ custom_s3_bucket_region?: string | null;
93
+ custom_s3_key?: string | null;
94
+ custom_s3_secret?: string | null;
95
+ url?: string | null;
88
96
  }
89
97
  export interface IBoard {
90
98
  can?: IDictionary<boolean>;
91
- content_metadata_id?: number;
92
- created_at?: Date;
93
- deleted_at?: Date;
94
- description?: string;
95
- board_sections?: IBoardSection[];
99
+ content_metadata_id?: number | null;
100
+ created_at?: Date | null;
101
+ deleted_at?: Date | null;
102
+ description?: string | null;
103
+ board_sections?: IBoardSection[] | null;
96
104
  id?: number;
97
- section_order?: number[];
98
- title?: string;
99
- updated_at?: Date;
100
- user_id?: number;
105
+ section_order?: number[] | null;
106
+ title?: string | null;
107
+ updated_at?: Date | null;
108
+ user_id?: number | null;
101
109
  primary_homepage?: boolean;
102
110
  }
103
111
  export interface IBoardItem {
104
112
  can?: IDictionary<boolean>;
105
- content_created_by?: string;
106
- content_favorite_id?: number;
107
- content_metadata_id?: number;
108
- content_updated_at?: string;
109
- custom_description?: string;
110
- custom_title?: string;
111
- custom_url?: string;
112
- dashboard_id?: number;
113
- description?: string;
114
- favorite_count?: number;
115
- board_section_id?: number;
113
+ content_created_by?: string | null;
114
+ content_favorite_id?: number | null;
115
+ content_metadata_id?: number | null;
116
+ content_updated_at?: string | null;
117
+ custom_description?: string | null;
118
+ custom_title?: string | null;
119
+ custom_url?: string | null;
120
+ dashboard_id?: number | null;
121
+ description?: string | null;
122
+ favorite_count?: number | null;
123
+ board_section_id?: number | null;
116
124
  id?: number;
117
- image_url?: string;
118
- location?: string;
119
- look_id?: number;
120
- lookml_dashboard_id?: string;
121
- order?: number;
122
- title?: string;
125
+ image_url?: string | null;
126
+ location?: string | null;
127
+ look_id?: string | null;
128
+ lookml_dashboard_id?: string | null;
129
+ order?: number | null;
130
+ title?: string | null;
123
131
  url?: string;
124
- view_count?: number;
132
+ view_count?: number | null;
125
133
  }
126
134
  export interface IBoardSection {
127
135
  can?: IDictionary<boolean>;
128
- created_at?: Date;
129
- deleted_at?: Date;
130
- description?: string;
131
- board_id?: number;
132
- board_items?: IBoardItem[];
136
+ created_at?: Date | null;
137
+ deleted_at?: Date | null;
138
+ description?: string | null;
139
+ board_id?: number | null;
140
+ board_items?: IBoardItem[] | null;
133
141
  id?: number;
134
- item_order?: number[];
135
- visible_item_order?: number[];
136
- title?: string;
137
- updated_at?: Date;
142
+ item_order?: number[] | null;
143
+ visible_item_order?: number[] | null;
144
+ title?: string | null;
145
+ updated_at?: Date | null;
138
146
  }
139
147
  export declare enum Category {
140
148
  parameter = "parameter",
@@ -154,16 +162,16 @@ export interface IColorStop {
154
162
  offset?: number;
155
163
  }
156
164
  export interface IColumnSearch {
157
- schema_name?: string;
158
- table_name?: string;
159
- column_name?: string;
160
- data_type?: string;
165
+ schema_name?: string | null;
166
+ table_name?: string | null;
167
+ column_name?: string | null;
168
+ data_type?: string | null;
161
169
  }
162
170
  export interface ICommand {
163
171
  id?: number;
164
172
  author_id?: number;
165
173
  name?: string;
166
- description?: string;
174
+ description?: string | null;
167
175
  linked_content_id?: string;
168
176
  linked_content_type?: LinkedContentType;
169
177
  }
@@ -199,88 +207,88 @@ export interface IContentFavorite {
199
207
  id?: number;
200
208
  user_id?: number;
201
209
  content_metadata_id?: number;
202
- look_id?: number;
203
- dashboard_id?: number;
210
+ look_id?: string | null;
211
+ dashboard_id?: number | null;
204
212
  look?: ILookBasic;
205
213
  dashboard?: IDashboardBase;
206
- board_id?: number;
214
+ board_id?: number | null;
207
215
  }
208
216
  export interface IContentMeta {
209
217
  can?: IDictionary<boolean>;
210
218
  id?: number;
211
- name?: string;
212
- parent_id?: number;
213
- dashboard_id?: string;
214
- look_id?: number;
215
- folder_id?: string;
216
- content_type?: string;
219
+ name?: string | null;
220
+ parent_id?: number | null;
221
+ dashboard_id?: string | null;
222
+ look_id?: string | null;
223
+ folder_id?: string | null;
224
+ content_type?: string | null;
217
225
  inherits?: boolean;
218
- inheriting_id?: number;
219
- slug?: string;
226
+ inheriting_id?: number | null;
227
+ slug?: string | null;
220
228
  }
221
229
  export interface IContentMetaGroupUser {
222
230
  can?: IDictionary<boolean>;
223
231
  id?: string;
224
- content_metadata_id?: string;
225
- permission_type?: PermissionType;
226
- group_id?: number;
227
- user_id?: number;
232
+ content_metadata_id?: string | null;
233
+ permission_type?: PermissionType | null;
234
+ group_id?: number | null;
235
+ user_id?: number | null;
228
236
  }
229
237
  export interface IContentValidation {
230
- content_with_errors?: IContentValidatorError[];
231
- computation_time?: number;
232
- total_looks_validated?: number;
233
- total_dashboard_elements_validated?: number;
234
- total_dashboard_filters_validated?: number;
235
- total_scheduled_plans_validated?: number;
236
- total_alerts_validated?: number;
237
- total_explores_validated?: number;
238
+ content_with_errors?: IContentValidatorError[] | null;
239
+ computation_time?: number | null;
240
+ total_looks_validated?: number | null;
241
+ total_dashboard_elements_validated?: number | null;
242
+ total_dashboard_filters_validated?: number | null;
243
+ total_scheduled_plans_validated?: number | null;
244
+ total_alerts_validated?: number | null;
245
+ total_explores_validated?: number | null;
238
246
  }
239
247
  export interface IContentValidationAlert {
240
248
  id?: number;
241
- lookml_dashboard_id?: string;
242
- lookml_link_id?: string;
243
- custom_title?: string;
249
+ lookml_dashboard_id?: string | null;
250
+ lookml_link_id?: string | null;
251
+ custom_title?: string | null;
244
252
  }
245
253
  export interface IContentValidationDashboard {
246
- description?: string;
254
+ description?: string | null;
247
255
  id?: string;
248
256
  folder?: IContentValidationFolder;
249
- title?: string;
250
- url?: string;
257
+ title?: string | null;
258
+ url?: string | null;
251
259
  }
252
260
  export interface IContentValidationDashboardElement {
253
- body_text?: string;
254
- dashboard_id?: string;
261
+ body_text?: string | null;
262
+ dashboard_id?: string | null;
255
263
  id?: string;
256
- look_id?: string;
257
- note_display?: string;
258
- note_state?: string;
259
- note_text?: string;
260
- note_text_as_html?: string;
261
- query_id?: number;
262
- subtitle_text?: string;
263
- title?: string;
264
+ look_id?: string | null;
265
+ note_display?: string | null;
266
+ note_state?: string | null;
267
+ note_text?: string | null;
268
+ note_text_as_html?: string | null;
269
+ query_id?: number | null;
270
+ subtitle_text?: string | null;
271
+ title?: string | null;
264
272
  title_hidden?: boolean;
265
- title_text?: string;
266
- type?: string;
273
+ title_text?: string | null;
274
+ type?: string | null;
267
275
  }
268
276
  export interface IContentValidationDashboardFilter {
269
277
  id?: string;
270
- dashboard_id?: string;
271
- name?: string;
272
- title?: string;
273
- type?: string;
274
- default_value?: string;
275
- model?: string;
276
- explore?: string;
277
- dimension?: string;
278
+ dashboard_id?: string | null;
279
+ name?: string | null;
280
+ title?: string | null;
281
+ type?: string | null;
282
+ default_value?: string | null;
283
+ model?: string | null;
284
+ explore?: string | null;
285
+ dimension?: string | null;
278
286
  }
279
287
  export interface IContentValidationError {
280
- message?: string;
281
- field_name?: string;
282
- model_name?: string;
283
- explore_name?: string;
288
+ message?: string | null;
289
+ field_name?: string | null;
290
+ model_name?: string | null;
291
+ explore_name?: string | null;
284
292
  removable?: boolean;
285
293
  }
286
294
  export interface IContentValidationFolder {
@@ -288,23 +296,23 @@ export interface IContentValidationFolder {
288
296
  id?: string;
289
297
  }
290
298
  export interface IContentValidationLook {
291
- id?: number;
292
- title?: string;
293
- short_url?: string;
299
+ id?: string;
300
+ title?: string | null;
301
+ short_url?: string | null;
294
302
  folder?: IContentValidationFolder;
295
303
  }
296
304
  export interface IContentValidationLookMLDashboard {
297
305
  id?: string;
298
- title?: string;
299
- space_id?: string;
306
+ title?: string | null;
307
+ space_id?: string | null;
300
308
  }
301
309
  export interface IContentValidationLookMLDashboardElement {
302
- lookml_link_id?: string;
303
- title?: string;
310
+ lookml_link_id?: string | null;
311
+ title?: string | null;
304
312
  }
305
313
  export interface IContentValidationScheduledPlan {
306
- name?: string;
307
- look_id?: number;
314
+ name?: string | null;
315
+ look_id?: string | null;
308
316
  id?: number;
309
317
  }
310
318
  export interface IContentValidatorError {
@@ -316,26 +324,26 @@ export interface IContentValidatorError {
316
324
  alert?: IContentValidationAlert;
317
325
  lookml_dashboard?: IContentValidationLookMLDashboard;
318
326
  lookml_dashboard_element?: IContentValidationLookMLDashboardElement;
319
- errors?: IContentValidationError[];
327
+ errors?: IContentValidationError[] | null;
320
328
  id?: string;
321
329
  }
322
330
  export interface IContentView {
323
331
  can?: IDictionary<boolean>;
324
332
  id?: number;
325
- look_id?: number;
326
- dashboard_id?: number;
327
- title?: string;
328
- content_metadata_id?: number;
329
- user_id?: number;
330
- group_id?: number;
331
- view_count?: number;
332
- favorite_count?: number;
333
- last_viewed_at?: string;
334
- start_of_week_date?: string;
333
+ look_id?: string | null;
334
+ dashboard_id?: number | null;
335
+ title?: string | null;
336
+ content_metadata_id?: number | null;
337
+ user_id?: number | null;
338
+ group_id?: number | null;
339
+ view_count?: number | null;
340
+ favorite_count?: number | null;
341
+ last_viewed_at?: string | null;
342
+ start_of_week_date?: string | null;
335
343
  }
336
344
  export interface IContinuousPalette {
337
345
  id?: string;
338
- label?: string;
346
+ label?: string | null;
339
347
  type?: string;
340
348
  stops?: IColorStop[];
341
349
  }
@@ -348,26 +356,36 @@ export interface ICostEstimate {
348
356
  export interface ICreateCostEstimate {
349
357
  sql?: string;
350
358
  }
359
+ export interface ICreateCredentialsApi3 {
360
+ can?: IDictionary<boolean>;
361
+ id?: number;
362
+ client_id?: string | null;
363
+ created_at?: string | null;
364
+ is_disabled?: boolean;
365
+ type?: string | null;
366
+ client_secret?: string | null;
367
+ url?: string | null;
368
+ }
351
369
  export interface ICreateDashboardFilter {
352
370
  id?: string;
353
- dashboard_id: string;
354
- name: string;
355
- title: string;
356
- type: string;
357
- default_value?: string;
358
- model?: string;
359
- explore?: string;
360
- dimension?: string;
361
- field?: IDictionary<any>;
362
- row?: number;
363
- listens_to_filters?: string[];
371
+ dashboard_id: string | null;
372
+ name: string | null;
373
+ title: string | null;
374
+ type: string | null;
375
+ default_value?: string | null;
376
+ model?: string | null;
377
+ explore?: string | null;
378
+ dimension?: string | null;
379
+ field?: IDictionary<any> | null;
380
+ row?: number | null;
381
+ listens_to_filters?: string[] | null;
364
382
  allow_multiple_values?: boolean;
365
383
  required?: boolean;
366
- ui_config?: IDictionary<any>;
384
+ ui_config?: IDictionary<any> | null;
367
385
  }
368
386
  export interface ICreateDashboardRenderTask {
369
- dashboard_filters?: string;
370
- dashboard_style?: string;
387
+ dashboard_filters?: string | null;
388
+ dashboard_style?: string | null;
371
389
  }
372
390
  export interface ICreateEmbedUserRequest {
373
391
  external_user_id: string;
@@ -381,8 +399,8 @@ export interface ICreateOAuthApplicationUserStateRequest {
381
399
  oauth_application_id: string;
382
400
  access_token: string;
383
401
  access_token_expires_at: Date;
384
- refresh_token?: string;
385
- refresh_token_expires_at?: Date;
402
+ refresh_token?: string | null;
403
+ refresh_token_expires_at?: Date | null;
386
404
  }
387
405
  export interface ICreateOAuthApplicationUserStateResponse {
388
406
  user_id: number;
@@ -390,323 +408,327 @@ export interface ICreateOAuthApplicationUserStateResponse {
390
408
  }
391
409
  export interface ICreateQueryTask {
392
410
  can?: IDictionary<boolean>;
393
- query_id: number;
394
- result_format: ResultFormat;
395
- source?: string;
411
+ query_id: number | null;
412
+ result_format: ResultFormat | null;
413
+ source?: string | null;
396
414
  deferred?: boolean;
397
- look_id?: number;
398
- dashboard_id?: string;
415
+ look_id?: string | null;
416
+ dashboard_id?: string | null;
399
417
  }
400
418
  export interface ICredentialsApi3 {
401
419
  can?: IDictionary<boolean>;
402
420
  id?: number;
403
- client_id?: string;
404
- created_at?: string;
421
+ client_id?: string | null;
422
+ created_at?: string | null;
405
423
  is_disabled?: boolean;
406
- type?: string;
407
- url?: string;
424
+ type?: string | null;
425
+ url?: string | null;
408
426
  }
409
427
  export interface ICredentialsEmail {
410
428
  can?: IDictionary<boolean>;
411
- created_at?: string;
412
- email?: string;
429
+ created_at?: string | null;
430
+ email?: string | null;
413
431
  forced_password_reset_at_next_login?: boolean;
414
432
  is_disabled?: boolean;
415
- logged_in_at?: string;
416
- password_reset_url?: string;
417
- type?: string;
418
- url?: string;
419
- user_url?: string;
433
+ logged_in_at?: string | null;
434
+ password_reset_url?: string | null;
435
+ type?: string | null;
436
+ url?: string | null;
437
+ user_url?: string | null;
420
438
  }
421
439
  export interface ICredentialsEmailSearch {
422
440
  can?: IDictionary<boolean>;
423
- created_at?: string;
424
- email?: string;
441
+ created_at?: string | null;
442
+ email?: string | null;
425
443
  forced_password_reset_at_next_login?: boolean;
426
444
  is_disabled?: boolean;
427
- logged_in_at?: string;
428
- password_reset_url?: string;
429
- type?: string;
430
- url?: string;
431
- user_url?: string;
445
+ logged_in_at?: string | null;
446
+ password_reset_url?: string | null;
447
+ type?: string | null;
448
+ url?: string | null;
449
+ user_url?: string | null;
432
450
  }
433
451
  export interface ICredentialsEmbed {
434
452
  can?: IDictionary<boolean>;
435
- created_at?: string;
436
- external_group_id?: string;
437
- external_user_id?: string;
453
+ created_at?: string | null;
454
+ external_group_id?: string | null;
455
+ external_user_id?: string | null;
438
456
  id?: number;
439
457
  is_disabled?: boolean;
440
- logged_in_at?: string;
441
- type?: string;
442
- url?: string;
458
+ logged_in_at?: string | null;
459
+ type?: string | null;
460
+ url?: string | null;
443
461
  }
444
462
  export interface ICredentialsGoogle {
445
463
  can?: IDictionary<boolean>;
446
- created_at?: string;
447
- domain?: string;
448
- email?: string;
449
- google_user_id?: string;
464
+ created_at?: string | null;
465
+ domain?: string | null;
466
+ email?: string | null;
467
+ google_user_id?: string | null;
450
468
  is_disabled?: boolean;
451
- logged_in_at?: string;
452
- type?: string;
453
- url?: string;
469
+ logged_in_at?: string | null;
470
+ type?: string | null;
471
+ url?: string | null;
454
472
  }
455
473
  export interface ICredentialsLDAP {
456
474
  can?: IDictionary<boolean>;
457
- created_at?: string;
458
- email?: string;
475
+ created_at?: string | null;
476
+ email?: string | null;
459
477
  is_disabled?: boolean;
460
- ldap_dn?: string;
461
- ldap_id?: string;
462
- logged_in_at?: string;
463
- type?: string;
464
- url?: string;
478
+ ldap_dn?: string | null;
479
+ ldap_id?: string | null;
480
+ logged_in_at?: string | null;
481
+ type?: string | null;
482
+ url?: string | null;
465
483
  }
466
484
  export interface ICredentialsLookerOpenid {
467
485
  can?: IDictionary<boolean>;
468
- created_at?: string;
469
- email?: string;
486
+ created_at?: string | null;
487
+ email?: string | null;
470
488
  is_disabled?: boolean;
471
- logged_in_at?: string;
472
- logged_in_ip?: string;
473
- type?: string;
474
- url?: string;
475
- user_url?: string;
489
+ logged_in_at?: string | null;
490
+ logged_in_ip?: string | null;
491
+ type?: string | null;
492
+ url?: string | null;
493
+ user_url?: string | null;
476
494
  }
477
495
  export interface ICredentialsOIDC {
478
496
  can?: IDictionary<boolean>;
479
- created_at?: string;
480
- email?: string;
497
+ created_at?: string | null;
498
+ email?: string | null;
481
499
  is_disabled?: boolean;
482
- logged_in_at?: string;
483
- oidc_user_id?: string;
484
- type?: string;
485
- url?: string;
500
+ logged_in_at?: string | null;
501
+ oidc_user_id?: string | null;
502
+ type?: string | null;
503
+ url?: string | null;
486
504
  }
487
505
  export interface ICredentialsSaml {
488
506
  can?: IDictionary<boolean>;
489
- created_at?: string;
490
- email?: string;
507
+ created_at?: string | null;
508
+ email?: string | null;
491
509
  is_disabled?: boolean;
492
- logged_in_at?: string;
493
- saml_user_id?: string;
494
- type?: string;
495
- url?: string;
510
+ logged_in_at?: string | null;
511
+ saml_user_id?: string | null;
512
+ type?: string | null;
513
+ url?: string | null;
496
514
  }
497
515
  export interface ICredentialsTotp {
498
516
  can?: IDictionary<boolean>;
499
- created_at?: string;
517
+ created_at?: string | null;
500
518
  is_disabled?: boolean;
501
- type?: string;
519
+ type?: string | null;
502
520
  verified?: boolean;
503
- url?: string;
521
+ url?: string | null;
504
522
  }
505
523
  export interface ICustomWelcomeEmail {
506
524
  enabled?: boolean;
507
- content?: string;
508
- subject?: string;
509
- header?: string;
525
+ content?: string | null;
526
+ subject?: string | null;
527
+ header?: string | null;
510
528
  }
511
529
  export interface IDashboard {
512
530
  can?: IDictionary<boolean>;
513
- content_favorite_id?: number;
514
- content_metadata_id?: number;
515
- description?: string;
531
+ content_favorite_id?: number | null;
532
+ content_metadata_id?: number | null;
533
+ description?: string | null;
516
534
  hidden?: boolean;
517
535
  id?: string;
518
536
  model?: ILookModel;
519
- query_timezone?: string;
537
+ query_timezone?: string | null;
520
538
  readonly?: boolean;
521
- refresh_interval?: string;
522
- refresh_interval_to_i?: number;
539
+ refresh_interval?: string | null;
540
+ refresh_interval_to_i?: number | null;
523
541
  folder?: IFolderBase;
524
- title?: string;
525
- user_id?: number;
526
- slug?: string;
527
- preferred_viewer?: string;
542
+ title?: string | null;
543
+ user_id?: number | null;
544
+ slug?: string | null;
545
+ preferred_viewer?: string | null;
528
546
  alert_sync_with_dashboard_filter_enabled?: boolean;
529
- background_color?: string;
530
- created_at?: Date;
547
+ background_color?: string | null;
548
+ created_at?: Date | null;
531
549
  crossfilter_enabled?: boolean;
532
- dashboard_elements?: IDashboardElement[];
533
- dashboard_filters?: IDashboardFilter[];
534
- dashboard_layouts?: IDashboardLayout[];
550
+ dashboard_elements?: IDashboardElement[] | null;
551
+ dashboard_filters?: IDashboardFilter[] | null;
552
+ dashboard_layouts?: IDashboardLayout[] | null;
535
553
  deleted?: boolean;
536
- deleted_at?: Date;
537
- deleter_id?: number;
538
- edit_uri?: string;
539
- favorite_count?: number;
554
+ deleted_at?: Date | null;
555
+ deleter_id?: number | null;
556
+ edit_uri?: string | null;
557
+ favorite_count?: number | null;
540
558
  filters_bar_collapsed?: boolean;
541
- last_accessed_at?: Date;
542
- last_viewed_at?: Date;
543
- load_configuration?: string;
544
- lookml_link_id?: string;
559
+ last_accessed_at?: Date | null;
560
+ last_viewed_at?: Date | null;
561
+ updated_at?: Date | null;
562
+ last_updater_id?: number | null;
563
+ last_updater_name?: string | null;
564
+ user_name?: string | null;
565
+ load_configuration?: string | null;
566
+ lookml_link_id?: string | null;
545
567
  show_filters_bar?: boolean;
546
568
  show_title?: boolean;
547
- folder_id?: string;
548
- text_tile_text_color?: string;
549
- tile_background_color?: string;
550
- tile_text_color?: string;
551
- title_color?: string;
552
- view_count?: number;
569
+ folder_id?: string | null;
570
+ text_tile_text_color?: string | null;
571
+ tile_background_color?: string | null;
572
+ tile_text_color?: string | null;
573
+ title_color?: string | null;
574
+ view_count?: number | null;
553
575
  appearance?: IDashboardAppearance;
554
- url?: string;
576
+ url?: string | null;
555
577
  }
556
578
  export interface IDashboardAggregateTableLookml {
557
- dashboard_id?: string;
558
- aggregate_table_lookml?: string;
579
+ dashboard_id?: string | null;
580
+ aggregate_table_lookml?: string | null;
559
581
  }
560
582
  export interface IDashboardAppearance {
561
- page_side_margins?: number;
562
- page_background_color?: string;
563
- tile_title_alignment?: string;
564
- tile_space_between?: number;
565
- tile_background_color?: string;
566
- tile_shadow?: boolean;
567
- key_color?: string;
583
+ page_side_margins?: number | null;
584
+ page_background_color?: string | null;
585
+ tile_title_alignment?: string | null;
586
+ tile_space_between?: number | null;
587
+ tile_background_color?: string | null;
588
+ tile_shadow?: boolean | null;
589
+ key_color?: string | null;
568
590
  }
569
591
  export interface IDashboardBase {
570
592
  can?: IDictionary<boolean>;
571
- content_favorite_id?: number;
572
- content_metadata_id?: number;
573
- description?: string;
593
+ content_favorite_id?: number | null;
594
+ content_metadata_id?: number | null;
595
+ description?: string | null;
574
596
  hidden?: boolean;
575
597
  id?: string;
576
598
  model?: ILookModel;
577
- query_timezone?: string;
599
+ query_timezone?: string | null;
578
600
  readonly?: boolean;
579
- refresh_interval?: string;
580
- refresh_interval_to_i?: number;
601
+ refresh_interval?: string | null;
602
+ refresh_interval_to_i?: number | null;
581
603
  folder?: IFolderBase;
582
- title?: string;
583
- user_id?: number;
584
- slug?: string;
585
- preferred_viewer?: string;
604
+ title?: string | null;
605
+ user_id?: number | null;
606
+ slug?: string | null;
607
+ preferred_viewer?: string | null;
586
608
  }
587
609
  export interface IDashboardElement {
588
610
  can?: IDictionary<boolean>;
589
- body_text?: string;
590
- body_text_as_html?: string;
591
- dashboard_id?: string;
592
- edit_uri?: string;
611
+ body_text?: string | null;
612
+ body_text_as_html?: string | null;
613
+ dashboard_id?: string | null;
614
+ edit_uri?: string | null;
593
615
  id?: string;
594
616
  look?: ILookWithQuery;
595
- look_id?: string;
596
- lookml_link_id?: string;
597
- merge_result_id?: string;
598
- note_display?: string;
599
- note_state?: string;
600
- note_text?: string;
601
- note_text_as_html?: string;
617
+ look_id?: string | null;
618
+ lookml_link_id?: string | null;
619
+ merge_result_id?: string | null;
620
+ note_display?: string | null;
621
+ note_state?: string | null;
622
+ note_text?: string | null;
623
+ note_text_as_html?: string | null;
602
624
  query?: IQuery;
603
- query_id?: number;
604
- refresh_interval?: string;
605
- refresh_interval_to_i?: number;
625
+ query_id?: number | null;
626
+ refresh_interval?: string | null;
627
+ refresh_interval_to_i?: number | null;
606
628
  result_maker?: IResultMakerWithIdVisConfigAndDynamicFields;
607
- result_maker_id?: number;
608
- subtitle_text?: string;
609
- title?: string;
629
+ result_maker_id?: number | null;
630
+ subtitle_text?: string | null;
631
+ title?: string | null;
610
632
  title_hidden?: boolean;
611
- title_text?: string;
612
- type?: string;
613
- alert_count?: number;
614
- title_text_as_html?: string;
615
- subtitle_text_as_html?: string;
633
+ title_text?: string | null;
634
+ type?: string | null;
635
+ alert_count?: number | null;
636
+ title_text_as_html?: string | null;
637
+ subtitle_text_as_html?: string | null;
616
638
  }
617
639
  export interface IDashboardFilter {
618
640
  can?: IDictionary<boolean>;
619
641
  id?: string;
620
- dashboard_id?: string;
621
- name?: string;
622
- title?: string;
623
- type?: string;
624
- default_value?: string;
625
- model?: string;
626
- explore?: string;
627
- dimension?: string;
628
- field?: IDictionary<any>;
629
- row?: number;
630
- listens_to_filters?: string[];
642
+ dashboard_id?: string | null;
643
+ name?: string | null;
644
+ title?: string | null;
645
+ type?: string | null;
646
+ default_value?: string | null;
647
+ model?: string | null;
648
+ explore?: string | null;
649
+ dimension?: string | null;
650
+ field?: IDictionary<any> | null;
651
+ row?: number | null;
652
+ listens_to_filters?: string[] | null;
631
653
  allow_multiple_values?: boolean;
632
654
  required?: boolean;
633
- ui_config?: IDictionary<any>;
655
+ ui_config?: IDictionary<any> | null;
634
656
  }
635
657
  export interface IDashboardLayout {
636
658
  can?: IDictionary<boolean>;
637
659
  id?: string;
638
- dashboard_id?: string;
639
- type?: string;
660
+ dashboard_id?: string | null;
661
+ type?: string | null;
640
662
  active?: boolean;
641
- column_width?: number;
642
- width?: number;
663
+ column_width?: number | null;
664
+ width?: number | null;
643
665
  deleted?: boolean;
644
- dashboard_title?: string;
645
- dashboard_layout_components?: IDashboardLayoutComponent[];
666
+ dashboard_title?: string | null;
667
+ dashboard_layout_components?: IDashboardLayoutComponent[] | null;
646
668
  }
647
669
  export interface IDashboardLayoutComponent {
648
670
  can?: IDictionary<boolean>;
649
671
  id?: string;
650
- dashboard_layout_id?: string;
651
- dashboard_element_id?: string;
652
- row?: number;
653
- column?: number;
654
- width?: number;
655
- height?: number;
672
+ dashboard_layout_id?: string | null;
673
+ dashboard_element_id?: string | null;
674
+ row?: number | null;
675
+ column?: number | null;
676
+ width?: number | null;
677
+ height?: number | null;
656
678
  deleted?: boolean;
657
- element_title?: string;
679
+ element_title?: string | null;
658
680
  element_title_hidden?: boolean;
659
- vis_type?: string;
681
+ vis_type?: string | null;
660
682
  }
661
683
  export interface IDashboardLookml {
662
- dashboard_id?: string;
663
- lookml?: string;
684
+ dashboard_id?: string | null;
685
+ lookml?: string | null;
664
686
  }
665
687
  export interface IDataActionForm {
666
688
  state?: IDataActionUserState;
667
- fields?: IDataActionFormField[];
689
+ fields?: IDataActionFormField[] | null;
668
690
  }
669
691
  export interface IDataActionFormField {
670
- name?: string;
671
- label?: string;
672
- description?: string;
673
- type?: string;
674
- default?: string;
675
- oauth_url?: string;
692
+ name?: string | null;
693
+ label?: string | null;
694
+ description?: string | null;
695
+ type?: string | null;
696
+ default?: string | null;
697
+ oauth_url?: string | null;
676
698
  interactive?: boolean;
677
699
  required?: boolean;
678
- options?: IDataActionFormSelectOption[];
700
+ options?: IDataActionFormSelectOption[] | null;
679
701
  }
680
702
  export interface IDataActionFormSelectOption {
681
- name?: string;
682
- label?: string;
703
+ name?: string | null;
704
+ label?: string | null;
683
705
  }
684
706
  export interface IDataActionRequest {
685
- action?: IDictionary<any>;
686
- form_values?: IDictionary<string>;
707
+ action?: IDictionary<any> | null;
708
+ form_values?: IDictionary<string> | null;
687
709
  }
688
710
  export interface IDataActionResponse {
689
- webhook_id?: string;
711
+ webhook_id?: string | null;
690
712
  success?: boolean;
691
713
  refresh_query?: boolean;
692
714
  validation_errors?: IValidationError;
693
- message?: string;
715
+ message?: string | null;
694
716
  }
695
717
  export interface IDataActionUserState {
696
- data?: string;
697
- refresh_time?: number;
718
+ data?: string | null;
719
+ refresh_time?: number | null;
698
720
  }
699
721
  export interface IDatagroup {
700
722
  can?: IDictionary<boolean>;
701
- created_at?: number;
723
+ created_at?: number | null;
702
724
  id?: number;
703
- model_name?: string;
704
- name?: string;
705
- stale_before?: number;
706
- trigger_check_at?: number;
707
- trigger_error?: string;
708
- trigger_value?: string;
709
- triggered_at?: number;
725
+ model_name?: string | null;
726
+ name?: string | null;
727
+ stale_before?: number | null;
728
+ trigger_check_at?: number | null;
729
+ trigger_error?: string | null;
730
+ trigger_value?: string | null;
731
+ triggered_at?: number | null;
710
732
  }
711
733
  export interface IDBConnection {
712
734
  can?: IDictionary<boolean>;
@@ -714,43 +736,43 @@ export interface IDBConnection {
714
736
  dialect?: IDialect;
715
737
  snippets?: ISnippet[];
716
738
  pdts_enabled?: boolean;
717
- host?: string;
718
- port?: number;
719
- username?: string;
720
- password?: string;
739
+ host?: string | null;
740
+ port?: string | null;
741
+ username?: string | null;
742
+ password?: string | null;
721
743
  uses_oauth?: boolean;
722
- certificate?: string;
723
- file_type?: string;
724
- database?: string;
725
- db_timezone?: string;
726
- query_timezone?: string;
727
- schema?: string;
728
- max_connections?: number;
729
- max_billing_gigabytes?: string;
744
+ certificate?: string | null;
745
+ file_type?: string | null;
746
+ database?: string | null;
747
+ db_timezone?: string | null;
748
+ query_timezone?: string | null;
749
+ schema?: string | null;
750
+ max_connections?: number | null;
751
+ max_billing_gigabytes?: string | null;
730
752
  ssl?: boolean;
731
753
  verify_ssl?: boolean;
732
- tmp_db_name?: string;
733
- jdbc_additional_params?: string;
734
- pool_timeout?: number;
735
- dialect_name?: string;
736
- created_at?: string;
737
- user_id?: string;
754
+ tmp_db_name?: string | null;
755
+ jdbc_additional_params?: string | null;
756
+ pool_timeout?: number | null;
757
+ dialect_name?: string | null;
758
+ created_at?: string | null;
759
+ user_id?: string | null;
738
760
  example?: boolean;
739
- user_db_credentials?: boolean;
740
- user_attribute_fields?: string[];
741
- maintenance_cron?: string;
742
- last_regen_at?: string;
743
- last_reap_at?: string;
761
+ user_db_credentials?: boolean | null;
762
+ user_attribute_fields?: string[] | null;
763
+ maintenance_cron?: string | null;
764
+ last_regen_at?: string | null;
765
+ last_reap_at?: string | null;
744
766
  sql_runner_precache_tables?: boolean;
745
767
  sql_writing_with_info_schema?: boolean;
746
- after_connect_statements?: string;
768
+ after_connect_statements?: string | null;
747
769
  pdt_context_override?: IDBConnectionOverride;
748
770
  managed?: boolean;
749
- tunnel_id?: string;
750
- pdt_concurrency?: number;
751
- disable_context_comment?: boolean;
752
- oauth_application_id?: number;
753
- always_retry_failed_builds?: boolean;
771
+ tunnel_id?: string | null;
772
+ pdt_concurrency?: number | null;
773
+ disable_context_comment?: boolean | null;
774
+ oauth_application_id?: number | null;
775
+ always_retry_failed_builds?: boolean | null;
754
776
  }
755
777
  export interface IDBConnectionBase {
756
778
  can?: IDictionary<boolean>;
@@ -761,24 +783,24 @@ export interface IDBConnectionBase {
761
783
  }
762
784
  export interface IDBConnectionOverride {
763
785
  context?: string;
764
- host?: string;
765
- port?: string;
766
- username?: string;
767
- password?: string;
786
+ host?: string | null;
787
+ port?: string | null;
788
+ username?: string | null;
789
+ password?: string | null;
768
790
  has_password?: boolean;
769
- certificate?: string;
770
- file_type?: string;
771
- database?: string;
772
- schema?: string;
773
- jdbc_additional_params?: string;
774
- after_connect_statements?: string;
791
+ certificate?: string | null;
792
+ file_type?: string | null;
793
+ database?: string | null;
794
+ schema?: string | null;
795
+ jdbc_additional_params?: string | null;
796
+ after_connect_statements?: string | null;
775
797
  }
776
798
  export interface IDBConnectionTestResult {
777
799
  can?: IDictionary<boolean>;
778
- connection_string?: string;
779
- message?: string;
780
- name?: string;
781
- status?: string;
800
+ connection_string?: string | null;
801
+ message?: string | null;
802
+ name?: string | null;
803
+ status?: string | null;
782
804
  }
783
805
  export interface IDelegateOauthTest {
784
806
  name?: string;
@@ -816,12 +838,12 @@ export interface IDialect {
816
838
  }
817
839
  export interface IDialectInfo {
818
840
  can?: IDictionary<boolean>;
819
- default_max_connections?: string;
820
- default_port?: string;
841
+ default_max_connections?: string | null;
842
+ default_port?: string | null;
821
843
  installed?: boolean;
822
- label?: string;
823
- label_for_database_equivalent?: string;
824
- name?: string;
844
+ label?: string | null;
845
+ label_for_database_equivalent?: string | null;
846
+ name?: string | null;
825
847
  supported_options?: IDialectInfoOptions;
826
848
  }
827
849
  export interface IDialectInfoOptions {
@@ -844,36 +866,44 @@ export interface IDigestEmailSend {
844
866
  }
845
867
  export interface IDiscretePalette {
846
868
  id?: string;
847
- label?: string;
869
+ label?: string | null;
848
870
  type?: string;
849
871
  colors?: string[];
850
872
  }
851
873
  export interface IEmbedParams {
852
874
  target_url: string;
853
- session_length?: number;
875
+ session_length?: number | null;
854
876
  force_logout_login?: boolean;
855
877
  }
878
+ export interface IEmbedSecret {
879
+ algorithm?: string | null;
880
+ created_at?: string | null;
881
+ enabled?: boolean;
882
+ id?: number;
883
+ secret?: string | null;
884
+ user_id?: number | null;
885
+ }
856
886
  export interface IEmbedSsoParams {
857
887
  target_url: string;
858
- session_length?: number;
888
+ session_length?: number | null;
859
889
  force_logout_login?: boolean;
860
- external_user_id?: string;
861
- first_name?: string;
862
- last_name?: string;
863
- user_timezone?: string;
864
- permissions?: string[];
865
- models?: string[];
866
- group_ids?: number[];
867
- external_group_id?: string;
868
- user_attributes?: IDictionary<any>;
869
- secret_id?: number;
890
+ external_user_id?: string | null;
891
+ first_name?: string | null;
892
+ last_name?: string | null;
893
+ user_timezone?: string | null;
894
+ permissions?: string[] | null;
895
+ models?: string[] | null;
896
+ group_ids?: number[] | null;
897
+ external_group_id?: string | null;
898
+ user_attributes?: IDictionary<any> | null;
899
+ secret_id?: number | null;
870
900
  }
871
901
  export interface IEmbedUrlResponse {
872
902
  url?: string;
873
903
  }
874
904
  export interface IError {
875
- message: string;
876
- documentation_url: string;
905
+ message: string | null;
906
+ documentation_url: string | null;
877
907
  }
878
908
  export interface IExternalOauthApplication {
879
909
  can?: IDictionary<boolean>;
@@ -881,7 +911,7 @@ export interface IExternalOauthApplication {
881
911
  name?: string;
882
912
  client_id?: string;
883
913
  client_secret?: string;
884
- dialect_name?: string;
914
+ dialect_name?: string | null;
885
915
  created_at?: Date;
886
916
  }
887
917
  export declare enum FillStyle {
@@ -890,13 +920,13 @@ export declare enum FillStyle {
890
920
  }
891
921
  export interface IFolder {
892
922
  name: string;
893
- parent_id?: string;
923
+ parent_id?: string | null;
894
924
  id?: string;
895
- content_metadata_id?: number;
896
- created_at?: Date;
897
- creator_id?: number;
898
- child_count?: number;
899
- external_id?: string;
925
+ content_metadata_id?: number | null;
926
+ created_at?: Date | null;
927
+ creator_id?: number | null;
928
+ child_count?: number | null;
929
+ external_id?: string | null;
900
930
  is_embed?: boolean;
901
931
  is_embed_shared_root?: boolean;
902
932
  is_embed_users_root?: boolean;
@@ -905,18 +935,18 @@ export interface IFolder {
905
935
  is_shared_root?: boolean;
906
936
  is_users_root?: boolean;
907
937
  can?: IDictionary<boolean>;
908
- dashboards?: IDashboardBase[];
909
- looks?: ILookWithDashboards[];
938
+ dashboards?: IDashboardBase[] | null;
939
+ looks?: ILookWithDashboards[] | null;
910
940
  }
911
941
  export interface IFolderBase {
912
942
  name: string;
913
- parent_id?: string;
943
+ parent_id?: string | null;
914
944
  id?: string;
915
- content_metadata_id?: number;
916
- created_at?: Date;
917
- creator_id?: number;
918
- child_count?: number;
919
- external_id?: string;
945
+ content_metadata_id?: number | null;
946
+ created_at?: Date | null;
947
+ creator_id?: number | null;
948
+ child_count?: number | null;
949
+ external_id?: string | null;
920
950
  is_embed?: boolean;
921
951
  is_embed_shared_root?: boolean;
922
952
  is_embed_users_root?: boolean;
@@ -932,131 +962,131 @@ export declare enum Format {
932
962
  }
933
963
  export interface IGitBranch {
934
964
  can?: IDictionary<boolean>;
935
- name?: string;
936
- remote?: string;
937
- remote_name?: string;
938
- error?: string;
939
- message?: string;
940
- owner_name?: string;
965
+ name?: string | null;
966
+ remote?: string | null;
967
+ remote_name?: string | null;
968
+ error?: string | null;
969
+ message?: string | null;
970
+ owner_name?: string | null;
941
971
  readonly?: boolean;
942
972
  personal?: boolean;
943
973
  is_local?: boolean;
944
974
  is_remote?: boolean;
945
975
  is_production?: boolean;
946
- ahead_count?: number;
947
- behind_count?: number;
948
- commit_at?: number;
949
- ref?: string;
950
- remote_ref?: string;
976
+ ahead_count?: number | null;
977
+ behind_count?: number | null;
978
+ commit_at?: number | null;
979
+ ref?: string | null;
980
+ remote_ref?: string | null;
951
981
  }
952
982
  export interface IGitConnectionTest {
953
983
  can?: IDictionary<boolean>;
954
- description?: string;
984
+ description?: string | null;
955
985
  id?: string;
956
986
  }
957
987
  export interface IGitConnectionTestResult {
958
988
  can?: IDictionary<boolean>;
959
989
  id?: string;
960
- message?: string;
961
- status?: string;
990
+ message?: string | null;
991
+ status?: string | null;
962
992
  }
963
993
  export interface IGitStatus {
964
- action?: string;
994
+ action?: string | null;
965
995
  conflict?: boolean;
966
996
  revertable?: boolean;
967
- text?: string;
997
+ text?: string | null;
968
998
  }
969
999
  export interface IGroup {
970
1000
  can?: IDictionary<boolean>;
971
1001
  can_add_to_content_metadata?: boolean;
972
1002
  contains_current_user?: boolean;
973
- external_group_id?: string;
1003
+ external_group_id?: string | null;
974
1004
  externally_managed?: boolean;
975
1005
  id?: number;
976
1006
  include_by_default?: boolean;
977
- name?: string;
978
- user_count?: number;
1007
+ name?: string | null;
1008
+ user_count?: number | null;
979
1009
  }
980
1010
  export interface IGroupHierarchy {
981
1011
  can?: IDictionary<boolean>;
982
1012
  can_add_to_content_metadata?: boolean;
983
1013
  contains_current_user?: boolean;
984
- external_group_id?: string;
1014
+ external_group_id?: string | null;
985
1015
  externally_managed?: boolean;
986
1016
  id?: number;
987
1017
  include_by_default?: boolean;
988
- name?: string;
989
- user_count?: number;
990
- parent_group_ids?: number[];
991
- role_ids?: number[];
1018
+ name?: string | null;
1019
+ user_count?: number | null;
1020
+ parent_group_ids?: number[] | null;
1021
+ role_ids?: number[] | null;
992
1022
  }
993
1023
  export interface IGroupIdForGroupInclusion {
994
- group_id?: number;
1024
+ group_id?: number | null;
995
1025
  }
996
1026
  export interface IGroupIdForGroupUserInclusion {
997
- user_id?: number;
1027
+ user_id?: number | null;
998
1028
  }
999
1029
  export interface IGroupSearch {
1000
1030
  can?: IDictionary<boolean>;
1001
1031
  can_add_to_content_metadata?: boolean;
1002
1032
  contains_current_user?: boolean;
1003
- external_group_id?: string;
1033
+ external_group_id?: string | null;
1004
1034
  externally_managed?: boolean;
1005
1035
  id?: number;
1006
1036
  include_by_default?: boolean;
1007
- name?: string;
1008
- user_count?: number;
1009
- roles?: IRole[];
1037
+ name?: string | null;
1038
+ user_count?: number | null;
1039
+ roles?: IRole[] | null;
1010
1040
  }
1011
1041
  export interface IHomepageItem {
1012
1042
  can?: IDictionary<boolean>;
1013
- content_created_by?: string;
1014
- content_favorite_id?: number;
1015
- content_metadata_id?: number;
1016
- content_updated_at?: string;
1017
- custom_description?: string;
1018
- custom_image_data_base64?: string;
1019
- custom_image_url?: string;
1020
- custom_title?: string;
1021
- custom_url?: string;
1022
- dashboard_id?: number;
1023
- description?: string;
1024
- favorite_count?: number;
1025
- homepage_section_id?: number;
1043
+ content_created_by?: string | null;
1044
+ content_favorite_id?: number | null;
1045
+ content_metadata_id?: number | null;
1046
+ content_updated_at?: string | null;
1047
+ custom_description?: string | null;
1048
+ custom_image_data_base64?: string | null;
1049
+ custom_image_url?: string | null;
1050
+ custom_title?: string | null;
1051
+ custom_url?: string | null;
1052
+ dashboard_id?: number | null;
1053
+ description?: string | null;
1054
+ favorite_count?: number | null;
1055
+ homepage_section_id?: number | null;
1026
1056
  id?: number;
1027
- image_url?: string;
1028
- location?: string;
1029
- look_id?: number;
1030
- lookml_dashboard_id?: string;
1031
- order?: number;
1032
- section_fetch_time?: number;
1033
- title?: string;
1034
- url?: string;
1057
+ image_url?: string | null;
1058
+ location?: string | null;
1059
+ look_id?: string | null;
1060
+ lookml_dashboard_id?: string | null;
1061
+ order?: number | null;
1062
+ section_fetch_time?: number | null;
1063
+ title?: string | null;
1064
+ url?: string | null;
1035
1065
  use_custom_description?: boolean;
1036
1066
  use_custom_image?: boolean;
1037
1067
  use_custom_title?: boolean;
1038
1068
  use_custom_url?: boolean;
1039
- view_count?: number;
1069
+ view_count?: number | null;
1040
1070
  }
1041
1071
  export interface IHomepageSection {
1042
1072
  can?: IDictionary<boolean>;
1043
- created_at?: Date;
1044
- deleted_at?: Date;
1045
- detail_url?: string;
1046
- homepage_id?: number;
1047
- homepage_items?: IHomepageItem[];
1073
+ created_at?: Date | null;
1074
+ deleted_at?: Date | null;
1075
+ detail_url?: string | null;
1076
+ homepage_id?: number | null;
1077
+ homepage_items?: IHomepageItem[] | null;
1048
1078
  id?: number;
1049
1079
  is_header?: boolean;
1050
- item_order?: number[];
1051
- title?: string;
1052
- updated_at?: Date;
1053
- description?: string;
1054
- visible_item_order?: number[];
1080
+ item_order?: number[] | null;
1081
+ title?: string | null;
1082
+ updated_at?: Date | null;
1083
+ description?: string | null;
1084
+ visible_item_order?: number[] | null;
1055
1085
  }
1056
1086
  export interface IImportedProject {
1057
- name?: string;
1058
- url?: string;
1059
- ref?: string;
1087
+ name?: string | null;
1088
+ url?: string | null;
1089
+ ref?: string | null;
1060
1090
  is_remote?: boolean;
1061
1091
  }
1062
1092
  export interface IIntegration {
@@ -1064,7 +1094,7 @@ export interface IIntegration {
1064
1094
  id?: string;
1065
1095
  integration_hub_id?: number;
1066
1096
  label?: string;
1067
- description?: string;
1097
+ description?: string | null;
1068
1098
  enabled?: boolean;
1069
1099
  params?: IIntegrationParam[];
1070
1100
  supported_formats?: SupportedFormats[];
@@ -1072,10 +1102,10 @@ export interface IIntegration {
1072
1102
  supported_formattings?: SupportedFormattings[];
1073
1103
  supported_visualization_formattings?: SupportedVisualizationFormattings[];
1074
1104
  supported_download_settings?: SupportedDownloadSettings[];
1075
- icon_url?: string;
1076
- uses_oauth?: boolean;
1105
+ icon_url?: string | null;
1106
+ uses_oauth?: boolean | null;
1077
1107
  required_fields?: IIntegrationRequiredField[];
1078
- delegate_oauth?: boolean;
1108
+ delegate_oauth?: boolean | null;
1079
1109
  installed_delegate_oauth_targets?: number[];
1080
1110
  }
1081
1111
  export interface IIntegrationHub {
@@ -1084,34 +1114,34 @@ export interface IIntegrationHub {
1084
1114
  url?: string;
1085
1115
  label?: string;
1086
1116
  official?: boolean;
1087
- fetch_error_message?: string;
1088
- authorization_token?: string;
1117
+ fetch_error_message?: string | null;
1118
+ authorization_token?: string | null;
1089
1119
  has_authorization_token?: boolean;
1090
1120
  legal_agreement_signed?: boolean;
1091
1121
  legal_agreement_required?: boolean;
1092
- legal_agreement_text?: string;
1122
+ legal_agreement_text?: string | null;
1093
1123
  }
1094
1124
  export interface IIntegrationParam {
1095
- name?: string;
1096
- label?: string;
1097
- description?: string;
1125
+ name?: string | null;
1126
+ label?: string | null;
1127
+ description?: string | null;
1098
1128
  required?: boolean;
1099
1129
  has_value?: boolean;
1100
- value?: string;
1101
- user_attribute_name?: string;
1102
- sensitive?: boolean;
1130
+ value?: string | null;
1131
+ user_attribute_name?: string | null;
1132
+ sensitive?: boolean | null;
1103
1133
  per_user?: boolean;
1104
- delegate_oauth_url?: string;
1134
+ delegate_oauth_url?: string | null;
1105
1135
  }
1106
1136
  export interface IIntegrationRequiredField {
1107
- tag?: string;
1108
- any_tag?: string[];
1109
- all_tags?: string[];
1137
+ tag?: string | null;
1138
+ any_tag?: string[] | null;
1139
+ all_tags?: string[] | null;
1110
1140
  }
1111
1141
  export interface IIntegrationTestResult {
1112
1142
  success?: boolean;
1113
- message?: string;
1114
- delegate_oauth_result?: IDelegateOauthTest[];
1143
+ message?: string | null;
1144
+ delegate_oauth_result?: IDelegateOauthTest[] | null;
1115
1145
  }
1116
1146
  export interface IInternalHelpResources {
1117
1147
  can?: IDictionary<boolean>;
@@ -1119,8 +1149,8 @@ export interface IInternalHelpResources {
1119
1149
  }
1120
1150
  export interface IInternalHelpResourcesContent {
1121
1151
  can?: IDictionary<boolean>;
1122
- organization_name?: string;
1123
- markdown_content?: string;
1152
+ organization_name?: string | null;
1153
+ markdown_content?: string | null;
1124
1154
  }
1125
1155
  export declare enum InvestigativeContentType {
1126
1156
  dashboard = "dashboard"
@@ -1128,114 +1158,114 @@ export declare enum InvestigativeContentType {
1128
1158
  export interface ILDAPConfig {
1129
1159
  can?: IDictionary<boolean>;
1130
1160
  alternate_email_login_allowed?: boolean;
1131
- auth_password?: string;
1161
+ auth_password?: string | null;
1132
1162
  auth_requires_role?: boolean;
1133
- auth_username?: string;
1134
- connection_host?: string;
1135
- connection_port?: string;
1163
+ auth_username?: string | null;
1164
+ connection_host?: string | null;
1165
+ connection_port?: string | null;
1136
1166
  connection_tls?: boolean;
1137
1167
  connection_tls_no_verify?: boolean;
1138
- default_new_user_group_ids?: number[];
1139
- default_new_user_groups?: IGroup[];
1140
- default_new_user_role_ids?: number[];
1141
- default_new_user_roles?: IRole[];
1168
+ default_new_user_group_ids?: number[] | null;
1169
+ default_new_user_groups?: IGroup[] | null;
1170
+ default_new_user_role_ids?: number[] | null;
1171
+ default_new_user_roles?: IRole[] | null;
1142
1172
  enabled?: boolean;
1143
1173
  force_no_page?: boolean;
1144
- groups?: ILDAPGroupRead[];
1145
- groups_base_dn?: string;
1146
- groups_finder_type?: string;
1147
- groups_member_attribute?: string;
1148
- groups_objectclasses?: string;
1149
- groups_user_attribute?: string;
1150
- groups_with_role_ids?: ILDAPGroupWrite[];
1174
+ groups?: ILDAPGroupRead[] | null;
1175
+ groups_base_dn?: string | null;
1176
+ groups_finder_type?: string | null;
1177
+ groups_member_attribute?: string | null;
1178
+ groups_objectclasses?: string | null;
1179
+ groups_user_attribute?: string | null;
1180
+ groups_with_role_ids?: ILDAPGroupWrite[] | null;
1151
1181
  has_auth_password?: boolean;
1152
1182
  merge_new_users_by_email?: boolean;
1153
- modified_at?: string;
1154
- modified_by?: string;
1183
+ modified_at?: string | null;
1184
+ modified_by?: string | null;
1155
1185
  set_roles_from_groups?: boolean;
1156
- test_ldap_password?: string;
1157
- test_ldap_user?: string;
1158
- user_attribute_map_email?: string;
1159
- user_attribute_map_first_name?: string;
1160
- user_attribute_map_last_name?: string;
1161
- user_attribute_map_ldap_id?: string;
1162
- user_attributes?: ILDAPUserAttributeRead[];
1163
- user_attributes_with_ids?: ILDAPUserAttributeWrite[];
1164
- user_bind_base_dn?: string;
1165
- user_custom_filter?: string;
1166
- user_id_attribute_names?: string;
1167
- user_objectclass?: string;
1186
+ test_ldap_password?: string | null;
1187
+ test_ldap_user?: string | null;
1188
+ user_attribute_map_email?: string | null;
1189
+ user_attribute_map_first_name?: string | null;
1190
+ user_attribute_map_last_name?: string | null;
1191
+ user_attribute_map_ldap_id?: string | null;
1192
+ user_attributes?: ILDAPUserAttributeRead[] | null;
1193
+ user_attributes_with_ids?: ILDAPUserAttributeWrite[] | null;
1194
+ user_bind_base_dn?: string | null;
1195
+ user_custom_filter?: string | null;
1196
+ user_id_attribute_names?: string | null;
1197
+ user_objectclass?: string | null;
1168
1198
  allow_normal_group_membership?: boolean;
1169
1199
  allow_roles_from_normal_groups?: boolean;
1170
1200
  allow_direct_roles?: boolean;
1171
- url?: string;
1201
+ url?: string | null;
1172
1202
  }
1173
1203
  export interface ILDAPConfigTestIssue {
1174
- severity?: string;
1175
- message?: string;
1204
+ severity?: string | null;
1205
+ message?: string | null;
1176
1206
  }
1177
1207
  export interface ILDAPConfigTestResult {
1178
- details?: string;
1179
- issues?: ILDAPConfigTestIssue[];
1180
- message?: string;
1181
- status?: string;
1182
- trace?: string;
1208
+ details?: string | null;
1209
+ issues?: ILDAPConfigTestIssue[] | null;
1210
+ message?: string | null;
1211
+ status?: string | null;
1212
+ trace?: string | null;
1183
1213
  user?: ILDAPUser;
1184
- url?: string;
1214
+ url?: string | null;
1185
1215
  }
1186
1216
  export interface ILDAPGroupRead {
1187
1217
  id?: number;
1188
- looker_group_id?: number;
1189
- looker_group_name?: string;
1190
- name?: string;
1191
- roles?: IRole[];
1192
- url?: string;
1218
+ looker_group_id?: number | null;
1219
+ looker_group_name?: string | null;
1220
+ name?: string | null;
1221
+ roles?: IRole[] | null;
1222
+ url?: string | null;
1193
1223
  }
1194
1224
  export interface ILDAPGroupWrite {
1195
- id?: number;
1196
- looker_group_id?: number;
1197
- looker_group_name?: string;
1198
- name?: string;
1199
- role_ids?: number[];
1200
- url?: string;
1225
+ id?: number | null;
1226
+ looker_group_id?: number | null;
1227
+ looker_group_name?: string | null;
1228
+ name?: string | null;
1229
+ role_ids?: number[] | null;
1230
+ url?: string | null;
1201
1231
  }
1202
1232
  export interface ILDAPUser {
1203
- all_emails?: string[];
1204
- attributes?: IDictionary<string>;
1205
- email?: string;
1206
- first_name?: string;
1207
- groups?: string[];
1208
- last_name?: string;
1209
- ldap_dn?: string;
1210
- ldap_id?: string;
1211
- roles?: string[];
1212
- url?: string;
1233
+ all_emails?: string[] | null;
1234
+ attributes?: IDictionary<string> | null;
1235
+ email?: string | null;
1236
+ first_name?: string | null;
1237
+ groups?: string[] | null;
1238
+ last_name?: string | null;
1239
+ ldap_dn?: string | null;
1240
+ ldap_id?: string | null;
1241
+ roles?: string[] | null;
1242
+ url?: string | null;
1213
1243
  }
1214
1244
  export interface ILDAPUserAttributeRead {
1215
- name?: string;
1245
+ name?: string | null;
1216
1246
  required?: boolean;
1217
- user_attributes?: IUserAttribute[];
1218
- url?: string;
1247
+ user_attributes?: IUserAttribute[] | null;
1248
+ url?: string | null;
1219
1249
  }
1220
1250
  export interface ILDAPUserAttributeWrite {
1221
- name?: string;
1251
+ name?: string | null;
1222
1252
  required?: boolean;
1223
- user_attribute_ids?: number[];
1224
- url?: string;
1253
+ user_attribute_ids?: number[] | null;
1254
+ url?: string | null;
1225
1255
  }
1226
1256
  export interface ILegacyFeature {
1227
1257
  can?: IDictionary<boolean>;
1228
1258
  id?: string;
1229
- name?: string;
1230
- description?: string;
1259
+ name?: string | null;
1260
+ description?: string | null;
1231
1261
  enabled_locally?: boolean;
1232
1262
  enabled?: boolean;
1233
- disallowed_as_of_version?: string;
1234
- disable_on_upgrade_to_version?: string;
1235
- end_of_life_version?: string;
1236
- documentation_url?: string;
1237
- approximate_disable_date?: Date;
1238
- approximate_end_of_life_date?: Date;
1263
+ disallowed_as_of_version?: string | null;
1264
+ disable_on_upgrade_to_version?: string | null;
1265
+ end_of_life_version?: string | null;
1266
+ documentation_url?: string | null;
1267
+ approximate_disable_date?: Date | null;
1268
+ approximate_end_of_life_date?: Date | null;
1239
1269
  has_disabled_on_upgrade?: boolean;
1240
1270
  }
1241
1271
  export declare enum LinkedContentType {
@@ -1243,137 +1273,137 @@ export declare enum LinkedContentType {
1243
1273
  lookml_dashboard = "lookml_dashboard"
1244
1274
  }
1245
1275
  export interface ILocale {
1246
- code?: string;
1247
- native_name?: string;
1248
- english_name?: string;
1276
+ code?: string | null;
1277
+ native_name?: string | null;
1278
+ english_name?: string | null;
1249
1279
  }
1250
1280
  export interface ILocalizationSettings {
1251
- default_locale?: string;
1252
- localization_level?: string;
1281
+ default_locale?: string | null;
1282
+ localization_level?: string | null;
1253
1283
  }
1254
1284
  export interface ILook {
1255
1285
  can?: IDictionary<boolean>;
1256
- content_metadata_id?: number;
1257
- id?: number;
1258
- title?: string;
1259
- user_id?: number;
1260
- content_favorite_id?: number;
1261
- created_at?: Date;
1286
+ content_metadata_id?: number | null;
1287
+ id?: string;
1288
+ title?: string | null;
1289
+ user_id?: number | null;
1290
+ content_favorite_id?: number | null;
1291
+ created_at?: Date | null;
1262
1292
  deleted?: boolean;
1263
- deleted_at?: Date;
1264
- deleter_id?: number;
1265
- description?: string;
1266
- embed_url?: string;
1267
- excel_file_url?: string;
1268
- favorite_count?: number;
1269
- google_spreadsheet_formula?: string;
1270
- image_embed_url?: string;
1293
+ deleted_at?: Date | null;
1294
+ deleter_id?: number | null;
1295
+ description?: string | null;
1296
+ embed_url?: string | null;
1297
+ excel_file_url?: string | null;
1298
+ favorite_count?: number | null;
1299
+ google_spreadsheet_formula?: string | null;
1300
+ image_embed_url?: string | null;
1271
1301
  is_run_on_load?: boolean;
1272
- last_accessed_at?: Date;
1273
- last_updater_id?: number;
1274
- last_viewed_at?: Date;
1302
+ last_accessed_at?: Date | null;
1303
+ last_updater_id?: number | null;
1304
+ last_viewed_at?: Date | null;
1275
1305
  model?: ILookModel;
1276
1306
  public?: boolean;
1277
- public_slug?: string;
1278
- public_url?: string;
1279
- query_id?: number;
1280
- short_url?: string;
1307
+ public_slug?: string | null;
1308
+ public_url?: string | null;
1309
+ query_id?: number | null;
1310
+ short_url?: string | null;
1281
1311
  folder?: IFolderBase;
1282
- folder_id?: string;
1283
- updated_at?: Date;
1284
- view_count?: number;
1312
+ folder_id?: string | null;
1313
+ updated_at?: Date | null;
1314
+ view_count?: number | null;
1285
1315
  }
1286
1316
  export interface ILookBasic {
1287
1317
  can?: IDictionary<boolean>;
1288
- content_metadata_id?: number;
1318
+ content_metadata_id?: number | null;
1289
1319
  id?: number;
1290
- title?: string;
1291
- user_id?: number;
1320
+ title?: string | null;
1321
+ user_id?: number | null;
1292
1322
  }
1293
1323
  export interface ILookmlModel {
1294
1324
  can?: IDictionary<boolean>;
1295
- allowed_db_connection_names?: string[];
1296
- explores?: ILookmlModelNavExplore[];
1325
+ allowed_db_connection_names?: string[] | null;
1326
+ explores?: ILookmlModelNavExplore[] | null;
1297
1327
  has_content?: boolean;
1298
- label?: string;
1299
- name?: string;
1300
- project_name?: string;
1328
+ label?: string | null;
1329
+ name?: string | null;
1330
+ project_name?: string | null;
1301
1331
  unlimited_db_connections?: boolean;
1302
1332
  }
1303
1333
  export interface ILookmlModelExplore {
1304
1334
  id?: string;
1305
- name?: string;
1306
- description?: string;
1307
- label?: string;
1308
- title?: string;
1309
- scopes?: string[];
1335
+ name?: string | null;
1336
+ description?: string | null;
1337
+ label?: string | null;
1338
+ title?: string | null;
1339
+ scopes?: string[] | null;
1310
1340
  can_total?: boolean;
1311
1341
  can_develop?: boolean;
1312
1342
  can_see_lookml?: boolean;
1313
- lookml_link?: string;
1343
+ lookml_link?: string | null;
1314
1344
  can_save?: boolean;
1315
1345
  can_explain?: boolean;
1316
1346
  can_pivot_in_db?: boolean;
1317
1347
  can_subtotal?: boolean;
1318
1348
  has_timezone_support?: boolean;
1319
1349
  supports_cost_estimate?: boolean;
1320
- connection_name?: string;
1321
- null_sort_treatment?: string;
1322
- files?: string[];
1323
- source_file?: string;
1324
- project_name?: string;
1325
- model_name?: string;
1326
- view_name?: string;
1350
+ connection_name?: string | null;
1351
+ null_sort_treatment?: string | null;
1352
+ files?: string[] | null;
1353
+ source_file?: string | null;
1354
+ project_name?: string | null;
1355
+ model_name?: string | null;
1356
+ view_name?: string | null;
1327
1357
  hidden?: boolean;
1328
- sql_table_name?: string;
1329
- access_filter_fields?: string[];
1330
- access_filters?: ILookmlModelExploreAccessFilter[];
1331
- aliases?: ILookmlModelExploreAlias[];
1332
- always_filter?: ILookmlModelExploreAlwaysFilter[];
1333
- conditionally_filter?: ILookmlModelExploreConditionallyFilter[];
1334
- index_fields?: string[];
1335
- sets?: ILookmlModelExploreSet[];
1336
- tags?: string[];
1337
- errors?: ILookmlModelExploreError[];
1358
+ sql_table_name?: string | null;
1359
+ access_filter_fields?: string[] | null;
1360
+ access_filters?: ILookmlModelExploreAccessFilter[] | null;
1361
+ aliases?: ILookmlModelExploreAlias[] | null;
1362
+ always_filter?: ILookmlModelExploreAlwaysFilter[] | null;
1363
+ conditionally_filter?: ILookmlModelExploreConditionallyFilter[] | null;
1364
+ index_fields?: string[] | null;
1365
+ sets?: ILookmlModelExploreSet[] | null;
1366
+ tags?: string[] | null;
1367
+ errors?: ILookmlModelExploreError[] | null;
1338
1368
  fields?: ILookmlModelExploreFieldset;
1339
- joins?: ILookmlModelExploreJoins[];
1340
- group_label?: string;
1369
+ joins?: ILookmlModelExploreJoins[] | null;
1370
+ group_label?: string | null;
1341
1371
  supported_measure_types?: ILookmlModelExploreSupportedMeasureType[];
1342
1372
  }
1343
1373
  export interface ILookmlModelExploreAccessFilter {
1344
- field?: string;
1345
- user_attribute?: string;
1374
+ field?: string | null;
1375
+ user_attribute?: string | null;
1346
1376
  }
1347
1377
  export interface ILookmlModelExploreAlias {
1348
- name?: string;
1349
- value?: string;
1378
+ name?: string | null;
1379
+ value?: string | null;
1350
1380
  }
1351
1381
  export interface ILookmlModelExploreAlwaysFilter {
1352
- name?: string;
1353
- value?: string;
1382
+ name?: string | null;
1383
+ value?: string | null;
1354
1384
  }
1355
1385
  export interface ILookmlModelExploreConditionallyFilter {
1356
- name?: string;
1357
- value?: string;
1386
+ name?: string | null;
1387
+ value?: string | null;
1358
1388
  }
1359
1389
  export interface ILookmlModelExploreError {
1360
- message?: string;
1361
- details?: any;
1362
- error_pos?: string;
1390
+ message?: string | null;
1391
+ details?: any | null;
1392
+ error_pos?: string | null;
1363
1393
  field_error?: boolean;
1364
1394
  }
1365
1395
  export interface ILookmlModelExploreField {
1366
1396
  align?: Align;
1367
1397
  can_filter?: boolean;
1368
- category?: Category;
1369
- default_filter_value?: string;
1370
- description?: string;
1371
- dimension_group?: string;
1372
- enumerations?: ILookmlModelExploreFieldEnumeration[];
1373
- error?: string;
1374
- field_group_label?: string;
1375
- field_group_variant?: string;
1376
- fill_style?: FillStyle;
1398
+ category?: Category | null;
1399
+ default_filter_value?: string | null;
1400
+ description?: string | null;
1401
+ dimension_group?: string | null;
1402
+ enumerations?: ILookmlModelExploreFieldEnumeration[] | null;
1403
+ error?: string | null;
1404
+ field_group_label?: string | null;
1405
+ field_group_variant?: string | null;
1406
+ fill_style?: FillStyle | null;
1377
1407
  fiscal_month_offset?: number;
1378
1408
  has_allowed_values?: boolean;
1379
1409
  hidden?: boolean;
@@ -1384,33 +1414,33 @@ export interface ILookmlModelExploreField {
1384
1414
  can_time_filter?: boolean;
1385
1415
  time_interval?: ILookmlModelExploreFieldTimeInterval;
1386
1416
  label?: string;
1387
- label_from_parameter?: string;
1417
+ label_from_parameter?: string | null;
1388
1418
  label_short?: string;
1389
- lookml_link?: string;
1419
+ lookml_link?: string | null;
1390
1420
  map_layer?: ILookmlModelExploreFieldMapLayer;
1391
1421
  measure?: boolean;
1392
1422
  name?: string;
1393
1423
  strict_value_format?: boolean;
1394
1424
  parameter?: boolean;
1395
- permanent?: boolean;
1425
+ permanent?: boolean | null;
1396
1426
  primary_key?: boolean;
1397
- project_name?: string;
1427
+ project_name?: string | null;
1398
1428
  requires_refresh_on_sort?: boolean;
1399
1429
  scope?: string;
1400
1430
  sortable?: boolean;
1401
1431
  source_file?: string;
1402
1432
  source_file_path?: string;
1403
- sql?: string;
1404
- sql_case?: ILookmlModelExploreFieldSqlCase[];
1405
- filters?: ILookmlModelExploreFieldMeasureFilters[];
1433
+ sql?: string | null;
1434
+ sql_case?: ILookmlModelExploreFieldSqlCase[] | null;
1435
+ filters?: ILookmlModelExploreFieldMeasureFilters[] | null;
1406
1436
  suggest_dimension?: string;
1407
1437
  suggest_explore?: string;
1408
1438
  suggestable?: boolean;
1409
- suggestions?: string[];
1439
+ suggestions?: string[] | null;
1410
1440
  tags?: string[];
1411
1441
  type?: string;
1412
1442
  user_attribute_filter_types?: UserAttributeFilterTypes[];
1413
- value_format?: string;
1443
+ value_format?: string | null;
1414
1444
  view?: string;
1415
1445
  view_label?: string;
1416
1446
  dynamic?: boolean;
@@ -1419,68 +1449,68 @@ export interface ILookmlModelExploreField {
1419
1449
  original_view?: string;
1420
1450
  }
1421
1451
  export interface ILookmlModelExploreFieldEnumeration {
1422
- label?: string;
1423
- value?: any;
1452
+ label?: string | null;
1453
+ value?: any | null;
1424
1454
  }
1425
1455
  export interface ILookmlModelExploreFieldMapLayer {
1426
1456
  url?: string;
1427
1457
  name?: string;
1428
- feature_key?: string;
1429
- property_key?: string;
1430
- property_label_key?: string;
1431
- projection?: string;
1458
+ feature_key?: string | null;
1459
+ property_key?: string | null;
1460
+ property_label_key?: string | null;
1461
+ projection?: string | null;
1432
1462
  format?: Format;
1433
- extents_json_url?: string;
1434
- max_zoom_level?: number;
1435
- min_zoom_level?: number;
1463
+ extents_json_url?: string | null;
1464
+ max_zoom_level?: number | null;
1465
+ min_zoom_level?: number | null;
1436
1466
  }
1437
1467
  export interface ILookmlModelExploreFieldMeasureFilters {
1438
- field?: string;
1439
- condition?: string;
1468
+ field?: string | null;
1469
+ condition?: string | null;
1440
1470
  }
1441
1471
  export interface ILookmlModelExploreFieldset {
1442
- dimensions?: ILookmlModelExploreField[];
1443
- measures?: ILookmlModelExploreField[];
1444
- filters?: ILookmlModelExploreField[];
1445
- parameters?: ILookmlModelExploreField[];
1472
+ dimensions?: ILookmlModelExploreField[] | null;
1473
+ measures?: ILookmlModelExploreField[] | null;
1474
+ filters?: ILookmlModelExploreField[] | null;
1475
+ parameters?: ILookmlModelExploreField[] | null;
1446
1476
  }
1447
1477
  export interface ILookmlModelExploreFieldSqlCase {
1448
- value?: string;
1449
- condition?: string;
1478
+ value?: string | null;
1479
+ condition?: string | null;
1450
1480
  }
1451
1481
  export interface ILookmlModelExploreFieldTimeInterval {
1452
1482
  name?: Name;
1453
1483
  count?: number;
1454
1484
  }
1455
1485
  export interface ILookmlModelExploreJoins {
1456
- name?: string;
1457
- dependent_fields?: string[];
1458
- fields?: string[];
1459
- foreign_key?: string;
1460
- from?: string;
1461
- outer_only?: boolean;
1462
- relationship?: string;
1463
- required_joins?: string[];
1464
- sql_foreign_key?: string;
1465
- sql_on?: string;
1466
- sql_table_name?: string;
1467
- type?: string;
1468
- view_label?: string;
1486
+ name?: string | null;
1487
+ dependent_fields?: string[] | null;
1488
+ fields?: string[] | null;
1489
+ foreign_key?: string | null;
1490
+ from?: string | null;
1491
+ outer_only?: boolean | null;
1492
+ relationship?: string | null;
1493
+ required_joins?: string[] | null;
1494
+ sql_foreign_key?: string | null;
1495
+ sql_on?: string | null;
1496
+ sql_table_name?: string | null;
1497
+ type?: string | null;
1498
+ view_label?: string | null;
1469
1499
  }
1470
1500
  export interface ILookmlModelExploreSet {
1471
- name?: string;
1472
- value?: string[];
1501
+ name?: string | null;
1502
+ value?: string[] | null;
1473
1503
  }
1474
1504
  export interface ILookmlModelExploreSupportedMeasureType {
1475
- dimension_type?: string;
1476
- measure_types?: string[];
1505
+ dimension_type?: string | null;
1506
+ measure_types?: string[] | null;
1477
1507
  }
1478
1508
  export interface ILookmlModelNavExplore {
1479
- name?: string;
1480
- description?: string;
1481
- label?: string;
1509
+ name?: string | null;
1510
+ description?: string | null;
1511
+ label?: string | null;
1482
1512
  hidden?: boolean;
1483
- group_label?: string;
1513
+ group_label?: string | null;
1484
1514
  }
1485
1515
  export interface ILookmlTest {
1486
1516
  can?: IDictionary<boolean>;
@@ -1489,7 +1519,7 @@ export interface ILookmlTest {
1489
1519
  explore_name?: string;
1490
1520
  query_url_params?: string;
1491
1521
  file?: string;
1492
- line?: number;
1522
+ line?: number | null;
1493
1523
  }
1494
1524
  export interface ILookmlTestResult {
1495
1525
  can?: IDictionary<boolean>;
@@ -1497,120 +1527,120 @@ export interface ILookmlTestResult {
1497
1527
  test_name?: string;
1498
1528
  assertions_count?: number;
1499
1529
  assertions_failed?: number;
1500
- errors?: IProjectError[];
1501
- warnings?: IProjectError[];
1530
+ errors?: IProjectError[] | null;
1531
+ warnings?: IProjectError[] | null;
1502
1532
  success?: boolean;
1503
1533
  }
1504
1534
  export interface ILookModel {
1505
1535
  id?: string;
1506
- label?: string;
1536
+ label?: string | null;
1507
1537
  }
1508
1538
  export interface ILookWithDashboards {
1509
1539
  can?: IDictionary<boolean>;
1510
- content_metadata_id?: number;
1511
- id?: number;
1512
- title?: string;
1513
- user_id?: number;
1514
- content_favorite_id?: number;
1515
- created_at?: Date;
1540
+ content_metadata_id?: number | null;
1541
+ id?: string;
1542
+ title?: string | null;
1543
+ user_id?: number | null;
1544
+ content_favorite_id?: number | null;
1545
+ created_at?: Date | null;
1516
1546
  deleted?: boolean;
1517
- deleted_at?: Date;
1518
- deleter_id?: number;
1519
- description?: string;
1520
- embed_url?: string;
1521
- excel_file_url?: string;
1522
- favorite_count?: number;
1523
- google_spreadsheet_formula?: string;
1524
- image_embed_url?: string;
1547
+ deleted_at?: Date | null;
1548
+ deleter_id?: number | null;
1549
+ description?: string | null;
1550
+ embed_url?: string | null;
1551
+ excel_file_url?: string | null;
1552
+ favorite_count?: number | null;
1553
+ google_spreadsheet_formula?: string | null;
1554
+ image_embed_url?: string | null;
1525
1555
  is_run_on_load?: boolean;
1526
- last_accessed_at?: Date;
1527
- last_updater_id?: number;
1528
- last_viewed_at?: Date;
1556
+ last_accessed_at?: Date | null;
1557
+ last_updater_id?: number | null;
1558
+ last_viewed_at?: Date | null;
1529
1559
  model?: ILookModel;
1530
1560
  public?: boolean;
1531
- public_slug?: string;
1532
- public_url?: string;
1533
- query_id?: number;
1534
- short_url?: string;
1561
+ public_slug?: string | null;
1562
+ public_url?: string | null;
1563
+ query_id?: number | null;
1564
+ short_url?: string | null;
1535
1565
  folder?: IFolderBase;
1536
- folder_id?: string;
1537
- updated_at?: Date;
1538
- view_count?: number;
1539
- dashboards?: IDashboardBase[];
1566
+ folder_id?: string | null;
1567
+ updated_at?: Date | null;
1568
+ view_count?: number | null;
1569
+ dashboards?: IDashboardBase[] | null;
1540
1570
  }
1541
1571
  export interface ILookWithQuery {
1542
1572
  can?: IDictionary<boolean>;
1543
- content_metadata_id?: number;
1544
- id?: number;
1545
- title?: string;
1546
- user_id?: number;
1547
- content_favorite_id?: number;
1548
- created_at?: Date;
1573
+ content_metadata_id?: number | null;
1574
+ id?: string;
1575
+ title?: string | null;
1576
+ user_id?: number | null;
1577
+ content_favorite_id?: number | null;
1578
+ created_at?: Date | null;
1549
1579
  deleted?: boolean;
1550
- deleted_at?: Date;
1551
- deleter_id?: number;
1552
- description?: string;
1553
- embed_url?: string;
1554
- excel_file_url?: string;
1555
- favorite_count?: number;
1556
- google_spreadsheet_formula?: string;
1557
- image_embed_url?: string;
1580
+ deleted_at?: Date | null;
1581
+ deleter_id?: number | null;
1582
+ description?: string | null;
1583
+ embed_url?: string | null;
1584
+ excel_file_url?: string | null;
1585
+ favorite_count?: number | null;
1586
+ google_spreadsheet_formula?: string | null;
1587
+ image_embed_url?: string | null;
1558
1588
  is_run_on_load?: boolean;
1559
- last_accessed_at?: Date;
1560
- last_updater_id?: number;
1561
- last_viewed_at?: Date;
1589
+ last_accessed_at?: Date | null;
1590
+ last_updater_id?: number | null;
1591
+ last_viewed_at?: Date | null;
1562
1592
  model?: ILookModel;
1563
1593
  public?: boolean;
1564
- public_slug?: string;
1565
- public_url?: string;
1566
- query_id?: number;
1567
- short_url?: string;
1594
+ public_slug?: string | null;
1595
+ public_url?: string | null;
1596
+ query_id?: number | null;
1597
+ short_url?: string | null;
1568
1598
  folder?: IFolderBase;
1569
- folder_id?: string;
1570
- updated_at?: Date;
1571
- view_count?: number;
1599
+ folder_id?: string | null;
1600
+ updated_at?: Date | null;
1601
+ view_count?: number | null;
1572
1602
  query?: IQuery;
1573
- url?: string;
1603
+ url?: string | null;
1574
1604
  }
1575
1605
  export interface IManifest {
1576
1606
  can?: IDictionary<boolean>;
1577
- name?: string;
1578
- imports?: IImportedProject[];
1607
+ name?: string | null;
1608
+ imports?: IImportedProject[] | null;
1579
1609
  localization_settings?: ILocalizationSettings;
1580
1610
  }
1581
1611
  export interface IMergeFields {
1582
- field_name?: string;
1583
- source_field_name?: string;
1612
+ field_name?: string | null;
1613
+ source_field_name?: string | null;
1584
1614
  }
1585
1615
  export interface IMergeQuery {
1586
1616
  can?: IDictionary<boolean>;
1587
- column_limit?: string;
1588
- dynamic_fields?: string;
1617
+ column_limit?: string | null;
1618
+ dynamic_fields?: string | null;
1589
1619
  id?: string;
1590
- pivots?: string[];
1591
- result_maker_id?: number;
1592
- sorts?: string[];
1593
- source_queries?: IMergeQuerySourceQuery[];
1620
+ pivots?: string[] | null;
1621
+ result_maker_id?: number | null;
1622
+ sorts?: string[] | null;
1623
+ source_queries?: IMergeQuerySourceQuery[] | null;
1594
1624
  total?: boolean;
1595
- vis_config?: IDictionary<string>;
1625
+ vis_config?: IDictionary<string> | null;
1596
1626
  }
1597
1627
  export interface IMergeQuerySourceQuery {
1598
- merge_fields?: IMergeFields[];
1599
- name?: string;
1600
- query_id?: number;
1628
+ merge_fields?: IMergeFields[] | null;
1629
+ name?: string | null;
1630
+ query_id?: number | null;
1601
1631
  }
1602
1632
  export interface IMobileSettings {
1603
1633
  mobile_force_authentication?: boolean;
1604
1634
  mobile_app_integration?: boolean;
1605
1635
  }
1606
1636
  export interface IModel {
1607
- connection?: string;
1637
+ connection?: string | null;
1608
1638
  name?: string;
1609
- value_formats?: IModelNamedValueFormats[];
1639
+ value_formats?: IModelNamedValueFormats[] | null;
1610
1640
  }
1611
1641
  export interface IModelFieldSuggestions {
1612
1642
  suggestions?: string[];
1613
- error?: string;
1643
+ error?: string | null;
1614
1644
  from_cache?: boolean;
1615
1645
  hit_limit?: boolean;
1616
1646
  used_calcite_materialization?: boolean;
@@ -1626,13 +1656,13 @@ export interface IModelSet {
1626
1656
  all_access?: boolean;
1627
1657
  built_in?: boolean;
1628
1658
  id?: number;
1629
- models?: string[];
1630
- name?: string;
1631
- url?: string;
1659
+ models?: string[] | null;
1660
+ name?: string | null;
1661
+ url?: string | null;
1632
1662
  }
1633
1663
  export interface IModelsNotValidated {
1634
- name?: string;
1635
- project_file_id?: string;
1664
+ name?: string | null;
1665
+ project_file_id?: string | null;
1636
1666
  }
1637
1667
  export declare enum Name {
1638
1668
  day = "day",
@@ -1653,90 +1683,90 @@ export interface IOauthClientApp {
1653
1683
  display_name?: string;
1654
1684
  description?: string;
1655
1685
  enabled?: boolean;
1656
- group_id?: number;
1686
+ group_id?: number | null;
1657
1687
  tokens_invalid_before?: Date;
1658
1688
  activated_users?: IUserPublic[];
1659
1689
  }
1660
1690
  export interface IOIDCConfig {
1661
1691
  can?: IDictionary<boolean>;
1662
1692
  alternate_email_login_allowed?: boolean;
1663
- audience?: string;
1693
+ audience?: string | null;
1664
1694
  auth_requires_role?: boolean;
1665
- authorization_endpoint?: string;
1666
- default_new_user_group_ids?: number[];
1667
- default_new_user_groups?: IGroup[];
1668
- default_new_user_role_ids?: number[];
1669
- default_new_user_roles?: IRole[];
1695
+ authorization_endpoint?: string | null;
1696
+ default_new_user_group_ids?: number[] | null;
1697
+ default_new_user_groups?: IGroup[] | null;
1698
+ default_new_user_role_ids?: number[] | null;
1699
+ default_new_user_roles?: IRole[] | null;
1670
1700
  enabled?: boolean;
1671
- groups?: IOIDCGroupRead[];
1672
- groups_attribute?: string;
1673
- groups_with_role_ids?: IOIDCGroupWrite[];
1674
- identifier?: string;
1675
- issuer?: string;
1676
- modified_at?: Date;
1677
- modified_by?: number;
1678
- new_user_migration_types?: string;
1679
- scopes?: string[];
1680
- secret?: string;
1701
+ groups?: IOIDCGroupRead[] | null;
1702
+ groups_attribute?: string | null;
1703
+ groups_with_role_ids?: IOIDCGroupWrite[] | null;
1704
+ identifier?: string | null;
1705
+ issuer?: string | null;
1706
+ modified_at?: Date | null;
1707
+ modified_by?: number | null;
1708
+ new_user_migration_types?: string | null;
1709
+ scopes?: string[] | null;
1710
+ secret?: string | null;
1681
1711
  set_roles_from_groups?: boolean;
1682
- test_slug?: string;
1683
- token_endpoint?: string;
1684
- user_attribute_map_email?: string;
1685
- user_attribute_map_first_name?: string;
1686
- user_attribute_map_last_name?: string;
1687
- user_attributes?: IOIDCUserAttributeRead[];
1688
- user_attributes_with_ids?: IOIDCUserAttributeWrite[];
1689
- userinfo_endpoint?: string;
1712
+ test_slug?: string | null;
1713
+ token_endpoint?: string | null;
1714
+ user_attribute_map_email?: string | null;
1715
+ user_attribute_map_first_name?: string | null;
1716
+ user_attribute_map_last_name?: string | null;
1717
+ user_attributes?: IOIDCUserAttributeRead[] | null;
1718
+ user_attributes_with_ids?: IOIDCUserAttributeWrite[] | null;
1719
+ userinfo_endpoint?: string | null;
1690
1720
  allow_normal_group_membership?: boolean;
1691
1721
  allow_roles_from_normal_groups?: boolean;
1692
1722
  allow_direct_roles?: boolean;
1693
- url?: string;
1723
+ url?: string | null;
1694
1724
  }
1695
1725
  export interface IOIDCGroupRead {
1696
1726
  id?: number;
1697
- looker_group_id?: number;
1698
- looker_group_name?: string;
1699
- name?: string;
1700
- roles?: IRole[];
1727
+ looker_group_id?: number | null;
1728
+ looker_group_name?: string | null;
1729
+ name?: string | null;
1730
+ roles?: IRole[] | null;
1701
1731
  }
1702
1732
  export interface IOIDCGroupWrite {
1703
- id?: number;
1704
- looker_group_id?: number;
1705
- looker_group_name?: string;
1706
- name?: string;
1707
- role_ids?: number[];
1733
+ id?: number | null;
1734
+ looker_group_id?: number | null;
1735
+ looker_group_name?: string | null;
1736
+ name?: string | null;
1737
+ role_ids?: number[] | null;
1708
1738
  }
1709
1739
  export interface IOIDCUserAttributeRead {
1710
- name?: string;
1740
+ name?: string | null;
1711
1741
  required?: boolean;
1712
- user_attributes?: IUserAttribute[];
1742
+ user_attributes?: IUserAttribute[] | null;
1713
1743
  }
1714
1744
  export interface IOIDCUserAttributeWrite {
1715
- name?: string;
1745
+ name?: string | null;
1716
1746
  required?: boolean;
1717
- user_attribute_ids?: number[];
1747
+ user_attribute_ids?: number[] | null;
1718
1748
  }
1719
1749
  export interface IPasswordConfig {
1720
1750
  can?: IDictionary<boolean>;
1721
- min_length?: number;
1751
+ min_length?: number | null;
1722
1752
  require_numeric?: boolean;
1723
1753
  require_upperlower?: boolean;
1724
1754
  require_special?: boolean;
1725
1755
  }
1726
1756
  export interface IPermission {
1727
1757
  can?: IDictionary<boolean>;
1728
- permission?: string;
1729
- parent?: string;
1730
- description?: string;
1758
+ permission?: string | null;
1759
+ parent?: string | null;
1760
+ description?: string | null;
1731
1761
  }
1732
1762
  export interface IPermissionSet {
1733
1763
  can?: IDictionary<boolean>;
1734
1764
  all_access?: boolean;
1735
1765
  built_in?: boolean;
1736
1766
  id?: number;
1737
- name?: string;
1738
- permissions?: string[];
1739
- url?: string;
1767
+ name?: string | null;
1768
+ permissions?: string[] | null;
1769
+ url?: string | null;
1740
1770
  }
1741
1771
  export declare enum PermissionType {
1742
1772
  view = "view",
@@ -1747,72 +1777,72 @@ export interface IProject {
1747
1777
  id?: string;
1748
1778
  name?: string;
1749
1779
  uses_git?: boolean;
1750
- git_remote_url?: string;
1751
- git_username?: string;
1752
- git_password?: string;
1780
+ git_remote_url?: string | null;
1781
+ git_username?: string | null;
1782
+ git_password?: string | null;
1753
1783
  git_production_branch_name?: string;
1754
1784
  use_git_cookie_auth?: boolean;
1755
- git_username_user_attribute?: string;
1756
- git_password_user_attribute?: string;
1757
- git_service_name?: string;
1758
- git_application_server_http_port?: number;
1759
- git_application_server_http_scheme?: string;
1760
- deploy_secret?: string;
1785
+ git_username_user_attribute?: string | null;
1786
+ git_password_user_attribute?: string | null;
1787
+ git_service_name?: string | null;
1788
+ git_application_server_http_port?: number | null;
1789
+ git_application_server_http_scheme?: string | null;
1790
+ deploy_secret?: string | null;
1761
1791
  unset_deploy_secret?: boolean;
1762
1792
  pull_request_mode?: PullRequestMode;
1763
1793
  validation_required?: boolean;
1764
1794
  git_release_mgmt_enabled?: boolean;
1765
1795
  allow_warnings?: boolean;
1766
1796
  is_example?: boolean;
1767
- dependency_status?: string;
1797
+ dependency_status?: string | null;
1768
1798
  }
1769
1799
  export interface IProjectError {
1770
- code?: string;
1771
- severity?: string;
1772
- kind?: string;
1773
- message?: string;
1774
- field_name?: string;
1775
- file_path?: string;
1776
- line_number?: number;
1777
- model_id?: string;
1778
- explore?: string;
1779
- help_url?: string;
1780
- params?: IDictionary<any>;
1781
- sanitized_message?: string;
1800
+ code?: string | null;
1801
+ severity?: string | null;
1802
+ kind?: string | null;
1803
+ message?: string | null;
1804
+ field_name?: string | null;
1805
+ file_path?: string | null;
1806
+ line_number?: number | null;
1807
+ model_id?: string | null;
1808
+ explore?: string | null;
1809
+ help_url?: string | null;
1810
+ params?: IDictionary<any> | null;
1811
+ sanitized_message?: string | null;
1782
1812
  }
1783
1813
  export interface IProjectFile {
1784
1814
  can?: IDictionary<boolean>;
1785
1815
  id?: string;
1786
- path?: string;
1787
- title?: string;
1788
- type?: string;
1789
- extension?: string;
1790
- mime_type?: string;
1816
+ path?: string | null;
1817
+ title?: string | null;
1818
+ type?: string | null;
1819
+ extension?: string | null;
1820
+ mime_type?: string | null;
1791
1821
  editable?: boolean;
1792
1822
  git_status?: IGitStatus;
1793
1823
  }
1794
1824
  export interface IProjectValidation {
1795
- errors?: IProjectError[];
1796
- project_digest?: string;
1797
- models_not_validated?: IModelsNotValidated[];
1798
- computation_time?: number;
1825
+ errors?: IProjectError[] | null;
1826
+ project_digest?: string | null;
1827
+ models_not_validated?: IModelsNotValidated[] | null;
1828
+ computation_time?: number | null;
1799
1829
  }
1800
1830
  export interface IProjectValidationCache {
1801
- errors?: IProjectError[];
1802
- project_digest?: string;
1803
- models_not_validated?: IModelsNotValidated[];
1804
- computation_time?: number;
1831
+ errors?: IProjectError[] | null;
1832
+ project_digest?: string | null;
1833
+ models_not_validated?: IModelsNotValidated[] | null;
1834
+ computation_time?: number | null;
1805
1835
  stale?: boolean;
1806
1836
  }
1807
1837
  export interface IProjectWorkspace {
1808
1838
  can?: IDictionary<boolean>;
1809
- project_id?: string;
1810
- workspace_id?: string;
1811
- git_status?: string;
1812
- git_head?: string;
1813
- dependency_status?: DependencyStatus;
1839
+ project_id?: string | null;
1840
+ workspace_id?: string | null;
1841
+ git_status?: string | null;
1842
+ git_head?: string | null;
1843
+ dependency_status?: DependencyStatus | null;
1814
1844
  git_branch?: IGitBranch;
1815
- lookml_type?: string;
1845
+ lookml_type?: string | null;
1816
1846
  }
1817
1847
  export declare enum PullRequestMode {
1818
1848
  off = "off",
@@ -1825,176 +1855,177 @@ export interface IQuery {
1825
1855
  id?: number;
1826
1856
  model: string;
1827
1857
  view: string;
1828
- fields?: string[];
1829
- pivots?: string[];
1830
- fill_fields?: string[];
1831
- filters?: IDictionary<string>;
1832
- filter_expression?: string;
1833
- sorts?: string[];
1834
- limit?: string;
1835
- column_limit?: string;
1836
- total?: boolean;
1837
- row_total?: string;
1838
- subtotals?: string[];
1839
- vis_config?: IDictionary<any>;
1840
- filter_config?: IDictionary<any>;
1841
- visible_ui_sections?: string;
1842
- slug?: string;
1843
- dynamic_fields?: string;
1844
- client_id?: string;
1845
- share_url?: string;
1846
- expanded_share_url?: string;
1847
- url?: string;
1848
- query_timezone?: string;
1858
+ fields?: string[] | null;
1859
+ pivots?: string[] | null;
1860
+ fill_fields?: string[] | null;
1861
+ filters?: IDictionary<string> | null;
1862
+ filter_expression?: string | null;
1863
+ sorts?: string[] | null;
1864
+ limit?: string | null;
1865
+ column_limit?: string | null;
1866
+ total?: boolean | null;
1867
+ row_total?: string | null;
1868
+ subtotals?: string[] | null;
1869
+ vis_config?: IDictionary<any> | null;
1870
+ filter_config?: IDictionary<any> | null;
1871
+ visible_ui_sections?: string | null;
1872
+ slug?: string | null;
1873
+ dynamic_fields?: string | null;
1874
+ client_id?: string | null;
1875
+ share_url?: string | null;
1876
+ expanded_share_url?: string | null;
1877
+ url?: string | null;
1878
+ query_timezone?: string | null;
1849
1879
  has_table_calculations?: boolean;
1850
1880
  }
1851
1881
  export interface IQueryTask {
1852
1882
  can?: IDictionary<boolean>;
1853
1883
  id?: string;
1854
- query_id?: number;
1884
+ query_id?: number | null;
1855
1885
  query?: IQuery;
1856
1886
  generate_links?: boolean;
1857
1887
  force_production?: boolean;
1858
- path_prefix?: string;
1888
+ path_prefix?: string | null;
1859
1889
  cache?: boolean;
1860
1890
  server_table_calcs?: boolean;
1861
1891
  cache_only?: boolean;
1862
- cache_key?: string;
1863
- status?: string;
1864
- source?: string;
1865
- runtime?: number;
1892
+ cache_key?: string | null;
1893
+ status?: string | null;
1894
+ source?: string | null;
1895
+ runtime?: number | null;
1866
1896
  rebuild_pdts?: boolean;
1867
- result_source?: string;
1868
- look_id?: number;
1869
- dashboard_id?: string;
1870
- result_format?: string;
1897
+ result_source?: string | null;
1898
+ look_id?: string | null;
1899
+ dashboard_id?: string | null;
1900
+ result_format?: string | null;
1871
1901
  }
1872
1902
  export interface IRenderTask {
1873
1903
  can?: IDictionary<boolean>;
1874
- created_at?: string;
1875
- dashboard_filters?: string;
1876
- dashboard_id?: number;
1877
- dashboard_style?: string;
1878
- finalized_at?: string;
1879
- height?: number;
1904
+ created_at?: string | null;
1905
+ dashboard_filters?: string | null;
1906
+ dashboard_id?: number | null;
1907
+ dashboard_style?: string | null;
1908
+ finalized_at?: string | null;
1909
+ height?: number | null;
1880
1910
  id?: string;
1881
- look_id?: number;
1882
- lookml_dashboard_id?: string;
1883
- query_id?: number;
1884
- query_runtime?: number;
1885
- render_runtime?: number;
1886
- result_format?: string;
1887
- runtime?: number;
1888
- status?: string;
1889
- status_detail?: string;
1890
- user_id?: number;
1891
- width?: number;
1911
+ look_id?: string | null;
1912
+ lookml_dashboard_id?: string | null;
1913
+ query_id?: number | null;
1914
+ dashboard_element_id?: string | null;
1915
+ query_runtime?: number | null;
1916
+ render_runtime?: number | null;
1917
+ result_format?: string | null;
1918
+ runtime?: number | null;
1919
+ status?: string | null;
1920
+ status_detail?: string | null;
1921
+ user_id?: number | null;
1922
+ width?: number | null;
1892
1923
  }
1893
1924
  export interface IRepositoryCredential {
1894
1925
  can?: IDictionary<boolean>;
1895
1926
  id?: string;
1896
1927
  root_project_id?: string;
1897
1928
  remote_url?: string;
1898
- git_username?: string;
1899
- git_password?: string;
1900
- ssh_public_key?: string;
1929
+ git_username?: string | null;
1930
+ git_password?: string | null;
1931
+ ssh_public_key?: string | null;
1901
1932
  is_configured?: boolean;
1902
1933
  }
1903
1934
  export interface IRequestActiveThemes {
1904
- name?: string;
1905
- ts?: Date;
1906
- fields?: string;
1935
+ name?: string | null;
1936
+ ts?: Date | null;
1937
+ fields?: string | null;
1907
1938
  }
1908
1939
  export interface IRequestAllBoardItems {
1909
- fields?: string;
1910
- sorts?: string;
1911
- board_section_id?: string;
1940
+ fields?: string | null;
1941
+ sorts?: string | null;
1942
+ board_section_id?: string | null;
1912
1943
  }
1913
1944
  export interface IRequestAllBoardSections {
1914
- fields?: string;
1915
- sorts?: string;
1945
+ fields?: string | null;
1946
+ sorts?: string | null;
1916
1947
  }
1917
1948
  export interface IRequestAllExternalOauthApplications {
1918
- name?: string;
1919
- client_id?: string;
1949
+ name?: string | null;
1950
+ client_id?: string | null;
1920
1951
  }
1921
1952
  export interface IRequestAllGroups {
1922
- fields?: string;
1923
- page?: number;
1924
- per_page?: number;
1925
- sorts?: string;
1926
- ids?: DelimArray<number>;
1927
- content_metadata_id?: number;
1928
- can_add_to_content_metadata?: boolean;
1953
+ fields?: string | null;
1954
+ page?: number | null;
1955
+ per_page?: number | null;
1956
+ sorts?: string | null;
1957
+ ids?: DelimArray<number> | null;
1958
+ content_metadata_id?: number | null;
1959
+ can_add_to_content_metadata?: boolean | null;
1929
1960
  }
1930
1961
  export interface IRequestAllGroupUsers {
1931
1962
  group_id: number;
1932
- fields?: string;
1933
- page?: number;
1934
- per_page?: number;
1935
- sorts?: string;
1963
+ fields?: string | null;
1964
+ page?: number | null;
1965
+ per_page?: number | null;
1966
+ sorts?: string | null;
1936
1967
  }
1937
1968
  export interface IRequestAllIntegrations {
1938
- fields?: string;
1939
- integration_hub_id?: string;
1969
+ fields?: string | null;
1970
+ integration_hub_id?: string | null;
1940
1971
  }
1941
1972
  export interface IRequestAllLookmlModels {
1942
- fields?: string;
1943
- limit?: number;
1944
- offset?: number;
1973
+ fields?: string | null;
1974
+ limit?: number | null;
1975
+ offset?: number | null;
1945
1976
  }
1946
1977
  export interface IRequestAllRoles {
1947
- fields?: string;
1948
- ids?: DelimArray<number>;
1978
+ fields?: string | null;
1979
+ ids?: DelimArray<number> | null;
1949
1980
  }
1950
1981
  export interface IRequestAllScheduledPlans {
1951
- user_id?: number;
1952
- fields?: string;
1953
- all_users?: boolean;
1982
+ user_id?: number | null;
1983
+ fields?: string | null;
1984
+ all_users?: boolean | null;
1954
1985
  }
1955
1986
  export interface IRequestAllUsers {
1956
- fields?: string;
1957
- page?: number;
1958
- per_page?: number;
1959
- limit?: number;
1960
- offset?: number;
1961
- sorts?: string;
1962
- ids?: DelimArray<number>;
1987
+ fields?: string | null;
1988
+ page?: number | null;
1989
+ per_page?: number | null;
1990
+ limit?: number | null;
1991
+ offset?: number | null;
1992
+ sorts?: string | null;
1993
+ ids?: DelimArray<number> | null;
1963
1994
  }
1964
1995
  export interface IRequestConnectionColumns {
1965
1996
  connection_name: string;
1966
- database?: string;
1967
- schema_name?: string;
1968
- cache?: boolean;
1969
- table_limit?: number;
1970
- table_names?: string;
1971
- fields?: string;
1997
+ database?: string | null;
1998
+ schema_name?: string | null;
1999
+ cache?: boolean | null;
2000
+ table_limit?: number | null;
2001
+ table_names?: string | null;
2002
+ fields?: string | null;
1972
2003
  }
1973
2004
  export interface IRequestConnectionSchemas {
1974
2005
  connection_name: string;
1975
- database?: string;
1976
- cache?: boolean;
1977
- fields?: string;
2006
+ database?: string | null;
2007
+ cache?: boolean | null;
2008
+ fields?: string | null;
1978
2009
  }
1979
2010
  export interface IRequestConnectionSearchColumns {
1980
2011
  connection_name: string;
1981
- column_name?: string;
1982
- fields?: string;
2012
+ column_name?: string | null;
2013
+ fields?: string | null;
1983
2014
  }
1984
2015
  export interface IRequestConnectionTables {
1985
2016
  connection_name: string;
1986
- database?: string;
1987
- schema_name?: string;
1988
- cache?: boolean;
1989
- fields?: string;
2017
+ database?: string | null;
2018
+ schema_name?: string | null;
2019
+ cache?: boolean | null;
2020
+ fields?: string | null;
1990
2021
  }
1991
2022
  export interface IRequestContentThumbnail {
1992
2023
  type: string;
1993
2024
  resource_id: string;
1994
- reload?: string;
1995
- format?: string;
1996
- width?: number;
1997
- height?: number;
2025
+ reload?: string | null;
2026
+ format?: string | null;
2027
+ width?: number | null;
2028
+ height?: number | null;
1998
2029
  }
1999
2030
  export interface IRequestCreateDashboardRenderTask {
2000
2031
  dashboard_id: string;
@@ -2002,389 +2033,395 @@ export interface IRequestCreateDashboardRenderTask {
2002
2033
  body: ICreateDashboardRenderTask;
2003
2034
  width: number;
2004
2035
  height: number;
2005
- fields?: string;
2006
- pdf_paper_size?: string;
2007
- pdf_landscape?: boolean;
2008
- long_tables?: boolean;
2036
+ fields?: string | null;
2037
+ pdf_paper_size?: string | null;
2038
+ pdf_landscape?: boolean | null;
2039
+ long_tables?: boolean | null;
2009
2040
  }
2010
2041
  export interface IRequestCreateQueryTask {
2011
2042
  body: IWriteCreateQueryTask;
2012
- limit?: number;
2013
- apply_formatting?: boolean;
2014
- apply_vis?: boolean;
2015
- cache?: boolean;
2016
- image_width?: number;
2017
- image_height?: number;
2018
- generate_drill_links?: boolean;
2019
- force_production?: boolean;
2020
- cache_only?: boolean;
2021
- path_prefix?: string;
2022
- rebuild_pdts?: boolean;
2023
- server_table_calcs?: boolean;
2024
- fields?: string;
2043
+ limit?: number | null;
2044
+ apply_formatting?: boolean | null;
2045
+ apply_vis?: boolean | null;
2046
+ cache?: boolean | null;
2047
+ image_width?: number | null;
2048
+ image_height?: number | null;
2049
+ generate_drill_links?: boolean | null;
2050
+ force_production?: boolean | null;
2051
+ cache_only?: boolean | null;
2052
+ path_prefix?: string | null;
2053
+ rebuild_pdts?: boolean | null;
2054
+ server_table_calcs?: boolean | null;
2055
+ fields?: string | null;
2025
2056
  }
2026
2057
  export interface IRequestCreateUserCredentialsEmailPasswordReset {
2027
2058
  user_id: number;
2028
- expires?: boolean;
2029
- fields?: string;
2059
+ expires?: boolean | null;
2060
+ fields?: string | null;
2030
2061
  }
2031
2062
  export interface IRequestDeployRefToProduction {
2032
2063
  project_id: string;
2033
- branch?: string;
2034
- ref?: string;
2064
+ branch?: string | null;
2065
+ ref?: string | null;
2035
2066
  }
2036
2067
  export interface IRequestFolderChildren {
2037
2068
  folder_id: string;
2038
- fields?: string;
2039
- page?: number;
2040
- per_page?: number;
2041
- sorts?: string;
2069
+ fields?: string | null;
2070
+ page?: number | null;
2071
+ per_page?: number | null;
2072
+ sorts?: string | null;
2042
2073
  }
2043
2074
  export interface IRequestFolderChildrenSearch {
2044
2075
  folder_id: string;
2045
- fields?: string;
2046
- sorts?: string;
2047
- name?: string;
2076
+ fields?: string | null;
2077
+ sorts?: string | null;
2078
+ name?: string | null;
2048
2079
  }
2049
2080
  export interface IRequestGetAllCommands {
2050
- content_id?: string;
2051
- content_type?: string;
2052
- limit?: number;
2081
+ content_id?: string | null;
2082
+ content_type?: string | null;
2083
+ limit?: number | null;
2053
2084
  }
2054
2085
  export interface IRequestGraphDerivedTablesForModel {
2055
2086
  model: string;
2056
- format?: string;
2057
- color?: string;
2087
+ format?: string | null;
2088
+ color?: string | null;
2089
+ }
2090
+ export interface IRequestGraphDerivedTablesForView {
2091
+ view: string;
2092
+ models?: string | null;
2093
+ workspace?: string | null;
2058
2094
  }
2059
2095
  export interface IRequestLogin {
2060
- client_id?: string;
2061
- client_secret?: string;
2096
+ client_id?: string | null;
2097
+ client_secret?: string | null;
2062
2098
  }
2063
2099
  export interface IRequestModelFieldnameSuggestions {
2064
2100
  model_name: string;
2065
2101
  view_name: string;
2066
2102
  field_name: string;
2067
- term?: string;
2068
- filters?: string;
2103
+ term?: string | null;
2104
+ filters?: string | null;
2069
2105
  }
2070
2106
  export interface IRequestRoleUsers {
2071
2107
  role_id: number;
2072
- fields?: string;
2073
- direct_association_only?: boolean;
2108
+ fields?: string | null;
2109
+ direct_association_only?: boolean | null;
2074
2110
  }
2075
2111
  export interface IRequestRunGitConnectionTest {
2076
2112
  project_id: string;
2077
2113
  test_id: string;
2078
- remote_url?: string;
2079
- use_production?: string;
2114
+ remote_url?: string | null;
2115
+ use_production?: string | null;
2080
2116
  }
2081
2117
  export interface IRequestRunInlineQuery {
2082
2118
  result_format: string;
2083
2119
  body: IWriteQuery;
2084
- limit?: number;
2085
- apply_formatting?: boolean;
2086
- apply_vis?: boolean;
2087
- cache?: boolean;
2088
- image_width?: number;
2089
- image_height?: number;
2090
- generate_drill_links?: boolean;
2091
- force_production?: boolean;
2092
- cache_only?: boolean;
2093
- path_prefix?: string;
2094
- rebuild_pdts?: boolean;
2095
- server_table_calcs?: boolean;
2120
+ limit?: number | null;
2121
+ apply_formatting?: boolean | null;
2122
+ apply_vis?: boolean | null;
2123
+ cache?: boolean | null;
2124
+ image_width?: number | null;
2125
+ image_height?: number | null;
2126
+ generate_drill_links?: boolean | null;
2127
+ force_production?: boolean | null;
2128
+ cache_only?: boolean | null;
2129
+ path_prefix?: string | null;
2130
+ rebuild_pdts?: boolean | null;
2131
+ server_table_calcs?: boolean | null;
2096
2132
  }
2097
2133
  export interface IRequestRunLook {
2098
- look_id: number;
2134
+ look_id: string;
2099
2135
  result_format: string;
2100
- limit?: number;
2101
- apply_formatting?: boolean;
2102
- apply_vis?: boolean;
2103
- cache?: boolean;
2104
- image_width?: number;
2105
- image_height?: number;
2106
- generate_drill_links?: boolean;
2107
- force_production?: boolean;
2108
- cache_only?: boolean;
2109
- path_prefix?: string;
2110
- rebuild_pdts?: boolean;
2111
- server_table_calcs?: boolean;
2136
+ limit?: number | null;
2137
+ apply_formatting?: boolean | null;
2138
+ apply_vis?: boolean | null;
2139
+ cache?: boolean | null;
2140
+ image_width?: number | null;
2141
+ image_height?: number | null;
2142
+ generate_drill_links?: boolean | null;
2143
+ force_production?: boolean | null;
2144
+ cache_only?: boolean | null;
2145
+ path_prefix?: string | null;
2146
+ rebuild_pdts?: boolean | null;
2147
+ server_table_calcs?: boolean | null;
2112
2148
  }
2113
2149
  export interface IRequestRunLookmlTest {
2114
2150
  project_id: string;
2115
- file_id?: string;
2116
- test?: string;
2117
- model?: string;
2151
+ file_id?: string | null;
2152
+ test?: string | null;
2153
+ model?: string | null;
2118
2154
  }
2119
2155
  export interface IRequestRunQuery {
2120
2156
  query_id: number;
2121
2157
  result_format: string;
2122
- limit?: number;
2123
- apply_formatting?: boolean;
2124
- apply_vis?: boolean;
2125
- cache?: boolean;
2126
- image_width?: number;
2127
- image_height?: number;
2128
- generate_drill_links?: boolean;
2129
- force_production?: boolean;
2130
- cache_only?: boolean;
2131
- path_prefix?: string;
2132
- rebuild_pdts?: boolean;
2133
- server_table_calcs?: boolean;
2158
+ limit?: number | null;
2159
+ apply_formatting?: boolean | null;
2160
+ apply_vis?: boolean | null;
2161
+ cache?: boolean | null;
2162
+ image_width?: number | null;
2163
+ image_height?: number | null;
2164
+ generate_drill_links?: boolean | null;
2165
+ force_production?: boolean | null;
2166
+ cache_only?: boolean | null;
2167
+ path_prefix?: string | null;
2168
+ rebuild_pdts?: boolean | null;
2169
+ server_table_calcs?: boolean | null;
2170
+ source?: string | null;
2134
2171
  }
2135
2172
  export interface IRequestScheduledPlansForDashboard {
2136
2173
  dashboard_id: number;
2137
- user_id?: number;
2138
- all_users?: boolean;
2139
- fields?: string;
2174
+ user_id?: number | null;
2175
+ all_users?: boolean | null;
2176
+ fields?: string | null;
2140
2177
  }
2141
2178
  export interface IRequestScheduledPlansForLook {
2142
2179
  look_id: number;
2143
- user_id?: number;
2144
- fields?: string;
2145
- all_users?: boolean;
2180
+ user_id?: number | null;
2181
+ fields?: string | null;
2182
+ all_users?: boolean | null;
2146
2183
  }
2147
2184
  export interface IRequestScheduledPlansForLookmlDashboard {
2148
2185
  lookml_dashboard_id: string;
2149
- user_id?: number;
2150
- fields?: string;
2151
- all_users?: boolean;
2186
+ user_id?: number | null;
2187
+ fields?: string | null;
2188
+ all_users?: boolean | null;
2152
2189
  }
2153
2190
  export interface IRequestSearchAlerts {
2154
- limit?: number;
2155
- offset?: number;
2156
- group_by?: string;
2157
- fields?: string;
2158
- disabled?: boolean;
2159
- frequency?: string;
2160
- condition_met?: boolean;
2161
- last_run_start?: string;
2162
- last_run_end?: string;
2163
- all_owners?: boolean;
2191
+ limit?: number | null;
2192
+ offset?: number | null;
2193
+ group_by?: string | null;
2194
+ fields?: string | null;
2195
+ disabled?: boolean | null;
2196
+ frequency?: string | null;
2197
+ condition_met?: boolean | null;
2198
+ last_run_start?: string | null;
2199
+ last_run_end?: string | null;
2200
+ all_owners?: boolean | null;
2164
2201
  }
2165
2202
  export interface IRequestSearchBoards {
2166
- title?: string;
2167
- created_at?: string;
2168
- first_name?: string;
2169
- last_name?: string;
2170
- fields?: string;
2171
- favorited?: boolean;
2172
- creator_id?: string;
2173
- sorts?: string;
2174
- page?: number;
2175
- per_page?: number;
2176
- offset?: number;
2177
- limit?: number;
2178
- filter_or?: boolean;
2203
+ title?: string | null;
2204
+ created_at?: string | null;
2205
+ first_name?: string | null;
2206
+ last_name?: string | null;
2207
+ fields?: string | null;
2208
+ favorited?: boolean | null;
2209
+ creator_id?: string | null;
2210
+ sorts?: string | null;
2211
+ page?: number | null;
2212
+ per_page?: number | null;
2213
+ offset?: number | null;
2214
+ limit?: number | null;
2215
+ filter_or?: boolean | null;
2179
2216
  }
2180
2217
  export interface IRequestSearchContentFavorites {
2181
- id?: number;
2182
- user_id?: string;
2183
- content_metadata_id?: string;
2184
- dashboard_id?: string;
2185
- look_id?: string;
2186
- board_id?: string;
2187
- limit?: number;
2188
- offset?: number;
2189
- sorts?: string;
2190
- fields?: string;
2191
- filter_or?: boolean;
2218
+ id?: number | null;
2219
+ user_id?: string | null;
2220
+ content_metadata_id?: string | null;
2221
+ dashboard_id?: string | null;
2222
+ look_id?: string | null;
2223
+ board_id?: string | null;
2224
+ limit?: number | null;
2225
+ offset?: number | null;
2226
+ sorts?: string | null;
2227
+ fields?: string | null;
2228
+ filter_or?: boolean | null;
2192
2229
  }
2193
2230
  export interface IRequestSearchContentViews {
2194
- view_count?: string;
2195
- group_id?: string;
2196
- look_id?: string;
2197
- dashboard_id?: string;
2198
- content_metadata_id?: string;
2199
- start_of_week_date?: string;
2200
- all_time?: boolean;
2201
- user_id?: string;
2202
- fields?: string;
2203
- limit?: number;
2204
- offset?: number;
2205
- sorts?: string;
2206
- filter_or?: boolean;
2231
+ view_count?: string | null;
2232
+ group_id?: string | null;
2233
+ look_id?: string | null;
2234
+ dashboard_id?: string | null;
2235
+ content_metadata_id?: string | null;
2236
+ start_of_week_date?: string | null;
2237
+ all_time?: boolean | null;
2238
+ user_id?: string | null;
2239
+ fields?: string | null;
2240
+ limit?: number | null;
2241
+ offset?: number | null;
2242
+ sorts?: string | null;
2243
+ filter_or?: boolean | null;
2207
2244
  }
2208
2245
  export interface IRequestSearchCredentialsEmail {
2209
- fields?: string;
2210
- limit?: number;
2211
- offset?: number;
2212
- sorts?: string;
2213
- id?: number;
2214
- email?: string;
2215
- emails?: string;
2216
- filter_or?: boolean;
2246
+ fields?: string | null;
2247
+ limit?: number | null;
2248
+ offset?: number | null;
2249
+ sorts?: string | null;
2250
+ id?: number | null;
2251
+ email?: string | null;
2252
+ emails?: string | null;
2253
+ filter_or?: boolean | null;
2217
2254
  }
2218
2255
  export interface IRequestSearchDashboardElements {
2219
- dashboard_id?: number;
2220
- look_id?: number;
2221
- title?: string;
2222
- deleted?: boolean;
2223
- fields?: string;
2224
- filter_or?: boolean;
2225
- sorts?: string;
2256
+ dashboard_id?: number | null;
2257
+ look_id?: number | null;
2258
+ title?: string | null;
2259
+ deleted?: boolean | null;
2260
+ fields?: string | null;
2261
+ filter_or?: boolean | null;
2262
+ sorts?: string | null;
2226
2263
  }
2227
2264
  export interface IRequestSearchDashboards {
2228
- id?: string;
2229
- slug?: string;
2230
- title?: string;
2231
- description?: string;
2232
- content_favorite_id?: string;
2233
- folder_id?: string;
2234
- deleted?: string;
2235
- user_id?: string;
2236
- view_count?: string;
2237
- content_metadata_id?: string;
2238
- curate?: boolean;
2239
- last_viewed_at?: string;
2240
- fields?: string;
2241
- page?: number;
2242
- per_page?: number;
2243
- limit?: number;
2244
- offset?: number;
2245
- sorts?: string;
2246
- filter_or?: boolean;
2265
+ id?: string | null;
2266
+ slug?: string | null;
2267
+ title?: string | null;
2268
+ description?: string | null;
2269
+ content_favorite_id?: string | null;
2270
+ folder_id?: string | null;
2271
+ deleted?: string | null;
2272
+ user_id?: string | null;
2273
+ view_count?: string | null;
2274
+ content_metadata_id?: string | null;
2275
+ curate?: boolean | null;
2276
+ last_viewed_at?: string | null;
2277
+ fields?: string | null;
2278
+ page?: number | null;
2279
+ per_page?: number | null;
2280
+ limit?: number | null;
2281
+ offset?: number | null;
2282
+ sorts?: string | null;
2283
+ filter_or?: boolean | null;
2247
2284
  }
2248
2285
  export interface IRequestSearchFolders {
2249
- fields?: string;
2250
- page?: number;
2251
- per_page?: number;
2252
- limit?: number;
2253
- offset?: number;
2254
- sorts?: string;
2255
- name?: string;
2256
- id?: number;
2257
- parent_id?: string;
2258
- creator_id?: string;
2259
- filter_or?: boolean;
2260
- is_shared_root?: boolean;
2286
+ fields?: string | null;
2287
+ page?: number | null;
2288
+ per_page?: number | null;
2289
+ limit?: number | null;
2290
+ offset?: number | null;
2291
+ sorts?: string | null;
2292
+ name?: string | null;
2293
+ id?: number | null;
2294
+ parent_id?: string | null;
2295
+ creator_id?: string | null;
2296
+ filter_or?: boolean | null;
2297
+ is_shared_root?: boolean | null;
2261
2298
  }
2262
2299
  export interface IRequestSearchGroups {
2263
- fields?: string;
2264
- limit?: number;
2265
- offset?: number;
2266
- sorts?: string;
2267
- filter_or?: boolean;
2268
- id?: number;
2269
- name?: string;
2270
- external_group_id?: string;
2271
- externally_managed?: boolean;
2272
- externally_orphaned?: boolean;
2300
+ fields?: string | null;
2301
+ limit?: number | null;
2302
+ offset?: number | null;
2303
+ sorts?: string | null;
2304
+ filter_or?: boolean | null;
2305
+ id?: number | null;
2306
+ name?: string | null;
2307
+ external_group_id?: string | null;
2308
+ externally_managed?: boolean | null;
2309
+ externally_orphaned?: boolean | null;
2273
2310
  }
2274
2311
  export interface IRequestSearchLooks {
2275
- id?: string;
2276
- title?: string;
2277
- description?: string;
2278
- content_favorite_id?: string;
2279
- folder_id?: string;
2280
- user_id?: string;
2281
- view_count?: string;
2282
- deleted?: boolean;
2283
- query_id?: number;
2284
- curate?: boolean;
2285
- last_viewed_at?: string;
2286
- fields?: string;
2287
- page?: number;
2288
- per_page?: number;
2289
- limit?: number;
2290
- offset?: number;
2291
- sorts?: string;
2292
- filter_or?: boolean;
2312
+ id?: string | null;
2313
+ title?: string | null;
2314
+ description?: string | null;
2315
+ content_favorite_id?: string | null;
2316
+ folder_id?: string | null;
2317
+ user_id?: string | null;
2318
+ view_count?: string | null;
2319
+ deleted?: boolean | null;
2320
+ query_id?: number | null;
2321
+ curate?: boolean | null;
2322
+ last_viewed_at?: string | null;
2323
+ fields?: string | null;
2324
+ page?: number | null;
2325
+ per_page?: number | null;
2326
+ limit?: number | null;
2327
+ offset?: number | null;
2328
+ sorts?: string | null;
2329
+ filter_or?: boolean | null;
2293
2330
  }
2294
2331
  export interface IRequestSearchModelSets {
2295
- fields?: string;
2296
- limit?: number;
2297
- offset?: number;
2298
- sorts?: string;
2299
- id?: number;
2300
- name?: string;
2301
- all_access?: boolean;
2302
- built_in?: boolean;
2303
- filter_or?: boolean;
2332
+ fields?: string | null;
2333
+ limit?: number | null;
2334
+ offset?: number | null;
2335
+ sorts?: string | null;
2336
+ id?: number | null;
2337
+ name?: string | null;
2338
+ all_access?: boolean | null;
2339
+ built_in?: boolean | null;
2340
+ filter_or?: boolean | null;
2304
2341
  }
2305
2342
  export interface IRequestSearchRoles {
2306
- fields?: string;
2307
- limit?: number;
2308
- offset?: number;
2309
- sorts?: string;
2310
- id?: number;
2311
- name?: string;
2312
- built_in?: boolean;
2313
- filter_or?: boolean;
2343
+ fields?: string | null;
2344
+ limit?: number | null;
2345
+ offset?: number | null;
2346
+ sorts?: string | null;
2347
+ id?: number | null;
2348
+ name?: string | null;
2349
+ built_in?: boolean | null;
2350
+ filter_or?: boolean | null;
2314
2351
  }
2315
2352
  export interface IRequestSearchThemes {
2316
- id?: number;
2317
- name?: string;
2318
- begin_at?: Date;
2319
- end_at?: Date;
2320
- limit?: number;
2321
- offset?: number;
2322
- sorts?: string;
2323
- fields?: string;
2324
- filter_or?: boolean;
2353
+ id?: number | null;
2354
+ name?: string | null;
2355
+ begin_at?: Date | null;
2356
+ end_at?: Date | null;
2357
+ limit?: number | null;
2358
+ offset?: number | null;
2359
+ sorts?: string | null;
2360
+ fields?: string | null;
2361
+ filter_or?: boolean | null;
2325
2362
  }
2326
2363
  export interface IRequestSearchUserLoginLockouts {
2327
- fields?: string;
2328
- page?: number;
2329
- per_page?: number;
2330
- sorts?: string;
2331
- auth_type?: string;
2332
- full_name?: string;
2333
- email?: string;
2334
- remote_id?: string;
2335
- filter_or?: boolean;
2364
+ fields?: string | null;
2365
+ page?: number | null;
2366
+ per_page?: number | null;
2367
+ sorts?: string | null;
2368
+ auth_type?: string | null;
2369
+ full_name?: string | null;
2370
+ email?: string | null;
2371
+ remote_id?: string | null;
2372
+ filter_or?: boolean | null;
2336
2373
  }
2337
2374
  export interface IRequestSearchUsers {
2338
- fields?: string;
2339
- page?: number;
2340
- per_page?: number;
2341
- limit?: number;
2342
- offset?: number;
2343
- sorts?: string;
2344
- id?: string;
2345
- first_name?: string;
2346
- last_name?: string;
2347
- verified_looker_employee?: boolean;
2348
- embed_user?: boolean;
2349
- email?: string;
2350
- is_disabled?: boolean;
2351
- filter_or?: boolean;
2352
- content_metadata_id?: string;
2353
- group_id?: string;
2375
+ fields?: string | null;
2376
+ page?: number | null;
2377
+ per_page?: number | null;
2378
+ limit?: number | null;
2379
+ offset?: number | null;
2380
+ sorts?: string | null;
2381
+ id?: string | null;
2382
+ first_name?: string | null;
2383
+ last_name?: string | null;
2384
+ verified_looker_employee?: boolean | null;
2385
+ embed_user?: boolean | null;
2386
+ email?: string | null;
2387
+ is_disabled?: boolean | null;
2388
+ filter_or?: boolean | null;
2389
+ content_metadata_id?: string | null;
2390
+ group_id?: string | null;
2354
2391
  }
2355
2392
  export interface IRequestSearchUsersNames {
2356
2393
  pattern: string;
2357
- fields?: string;
2358
- page?: number;
2359
- per_page?: number;
2360
- limit?: number;
2361
- offset?: number;
2362
- sorts?: string;
2363
- id?: number;
2364
- first_name?: string;
2365
- last_name?: string;
2366
- verified_looker_employee?: boolean;
2367
- email?: string;
2368
- is_disabled?: boolean;
2394
+ fields?: string | null;
2395
+ page?: number | null;
2396
+ per_page?: number | null;
2397
+ limit?: number | null;
2398
+ offset?: number | null;
2399
+ sorts?: string | null;
2400
+ id?: number | null;
2401
+ first_name?: string | null;
2402
+ last_name?: string | null;
2403
+ verified_looker_employee?: boolean | null;
2404
+ email?: string | null;
2405
+ is_disabled?: boolean | null;
2369
2406
  }
2370
2407
  export interface IRequestTagRef {
2371
2408
  project_id: string;
2372
2409
  body: IWriteProject;
2373
- commit_sha?: string;
2374
- tag_name?: string;
2375
- tag_message?: string;
2410
+ commit_sha?: string | null;
2411
+ tag_name?: string | null;
2412
+ tag_message?: string | null;
2376
2413
  }
2377
2414
  export interface IRequestUserAttributeUserValues {
2378
2415
  user_id: number;
2379
- fields?: string;
2380
- user_attribute_ids?: DelimArray<number>;
2381
- all_values?: boolean;
2382
- include_unset?: boolean;
2416
+ fields?: string | null;
2417
+ user_attribute_ids?: DelimArray<number> | null;
2418
+ all_values?: boolean | null;
2419
+ include_unset?: boolean | null;
2383
2420
  }
2384
2421
  export interface IRequestUserRoles {
2385
2422
  user_id: number;
2386
- fields?: string;
2387
- direct_association_only?: boolean;
2423
+ fields?: string | null;
2424
+ direct_association_only?: boolean | null;
2388
2425
  }
2389
2426
  export declare enum ResultFormat {
2390
2427
  inline_json = "inline_json",
@@ -2399,49 +2436,49 @@ export declare enum ResultFormat {
2399
2436
  gsxml = "gsxml"
2400
2437
  }
2401
2438
  export interface IResultMakerFilterables {
2402
- model?: string;
2403
- view?: string;
2404
- name?: string;
2405
- listen?: IResultMakerFilterablesListen[];
2439
+ model?: string | null;
2440
+ view?: string | null;
2441
+ name?: string | null;
2442
+ listen?: IResultMakerFilterablesListen[] | null;
2406
2443
  }
2407
2444
  export interface IResultMakerFilterablesListen {
2408
- dashboard_filter_name?: string;
2409
- field?: string;
2445
+ dashboard_filter_name?: string | null;
2446
+ field?: string | null;
2410
2447
  }
2411
2448
  export interface IResultMakerWithIdVisConfigAndDynamicFields {
2412
2449
  id?: number;
2413
- dynamic_fields?: string;
2414
- filterables?: IResultMakerFilterables[];
2415
- sorts?: string[];
2416
- merge_result_id?: string;
2450
+ dynamic_fields?: string | null;
2451
+ filterables?: IResultMakerFilterables[] | null;
2452
+ sorts?: string[] | null;
2453
+ merge_result_id?: string | null;
2417
2454
  total?: boolean;
2418
- query_id?: number;
2419
- sql_query_id?: string;
2455
+ query_id?: number | null;
2456
+ sql_query_id?: string | null;
2420
2457
  query?: IQuery;
2421
- vis_config?: IDictionary<any>;
2458
+ vis_config?: IDictionary<any> | null;
2422
2459
  }
2423
2460
  export interface IRole {
2424
2461
  can?: IDictionary<boolean>;
2425
2462
  id?: number;
2426
- name?: string;
2463
+ name?: string | null;
2427
2464
  permission_set?: IPermissionSet;
2428
- permission_set_id?: number;
2465
+ permission_set_id?: number | null;
2429
2466
  model_set?: IModelSet;
2430
- model_set_id?: number;
2431
- url?: string;
2432
- users_url?: string;
2467
+ model_set_id?: number | null;
2468
+ url?: string | null;
2469
+ users_url?: string | null;
2433
2470
  }
2434
2471
  export interface IRoleSearch {
2435
2472
  can?: IDictionary<boolean>;
2436
2473
  id?: number;
2437
- name?: string;
2474
+ name?: string | null;
2438
2475
  permission_set?: IPermissionSet;
2439
- permission_set_id?: number;
2476
+ permission_set_id?: number | null;
2440
2477
  model_set?: IModelSet;
2441
- model_set_id?: number;
2442
- user_count?: number;
2443
- url?: string;
2444
- users_url?: string;
2478
+ model_set_id?: number | null;
2479
+ user_count?: number | null;
2480
+ url?: string | null;
2481
+ users_url?: string | null;
2445
2482
  }
2446
2483
  export interface IRunningQueries {
2447
2484
  can?: IDictionary<boolean>;
@@ -2450,167 +2487,167 @@ export interface IRunningQueries {
2450
2487
  query?: IQuery;
2451
2488
  sql_query?: ISqlQuery;
2452
2489
  look?: ILookBasic;
2453
- created_at?: string;
2454
- completed_at?: string;
2455
- query_id?: string;
2456
- source?: string;
2457
- node_id?: string;
2458
- slug?: string;
2459
- query_task_id?: string;
2460
- cache_key?: string;
2461
- connection_name?: string;
2462
- dialect?: string;
2463
- connection_id?: string;
2464
- message?: string;
2465
- status?: string;
2466
- runtime?: number;
2467
- sql?: string;
2490
+ created_at?: string | null;
2491
+ completed_at?: string | null;
2492
+ query_id?: string | null;
2493
+ source?: string | null;
2494
+ node_id?: string | null;
2495
+ slug?: string | null;
2496
+ query_task_id?: string | null;
2497
+ cache_key?: string | null;
2498
+ connection_name?: string | null;
2499
+ dialect?: string | null;
2500
+ connection_id?: string | null;
2501
+ message?: string | null;
2502
+ status?: string | null;
2503
+ runtime?: number | null;
2504
+ sql?: string | null;
2468
2505
  }
2469
2506
  export interface ISamlConfig {
2470
2507
  can?: IDictionary<boolean>;
2471
2508
  enabled?: boolean;
2472
- idp_cert?: string;
2473
- idp_url?: string;
2474
- idp_issuer?: string;
2475
- idp_audience?: string;
2476
- allowed_clock_drift?: number;
2477
- user_attribute_map_email?: string;
2478
- user_attribute_map_first_name?: string;
2479
- user_attribute_map_last_name?: string;
2480
- new_user_migration_types?: string;
2509
+ idp_cert?: string | null;
2510
+ idp_url?: string | null;
2511
+ idp_issuer?: string | null;
2512
+ idp_audience?: string | null;
2513
+ allowed_clock_drift?: number | null;
2514
+ user_attribute_map_email?: string | null;
2515
+ user_attribute_map_first_name?: string | null;
2516
+ user_attribute_map_last_name?: string | null;
2517
+ new_user_migration_types?: string | null;
2481
2518
  alternate_email_login_allowed?: boolean;
2482
- test_slug?: string;
2483
- modified_at?: string;
2484
- modified_by?: string;
2485
- default_new_user_roles?: IRole[];
2486
- default_new_user_groups?: IGroup[];
2487
- default_new_user_role_ids?: number[];
2488
- default_new_user_group_ids?: number[];
2519
+ test_slug?: string | null;
2520
+ modified_at?: string | null;
2521
+ modified_by?: string | null;
2522
+ default_new_user_roles?: IRole[] | null;
2523
+ default_new_user_groups?: IGroup[] | null;
2524
+ default_new_user_role_ids?: number[] | null;
2525
+ default_new_user_group_ids?: number[] | null;
2489
2526
  set_roles_from_groups?: boolean;
2490
- groups_attribute?: string;
2491
- groups?: ISamlGroupRead[];
2492
- groups_with_role_ids?: ISamlGroupWrite[];
2527
+ groups_attribute?: string | null;
2528
+ groups?: ISamlGroupRead[] | null;
2529
+ groups_with_role_ids?: ISamlGroupWrite[] | null;
2493
2530
  auth_requires_role?: boolean;
2494
- user_attributes?: ISamlUserAttributeRead[];
2495
- user_attributes_with_ids?: ISamlUserAttributeWrite[];
2496
- groups_finder_type?: string;
2497
- groups_member_value?: string;
2531
+ user_attributes?: ISamlUserAttributeRead[] | null;
2532
+ user_attributes_with_ids?: ISamlUserAttributeWrite[] | null;
2533
+ groups_finder_type?: string | null;
2534
+ groups_member_value?: string | null;
2498
2535
  bypass_login_page?: boolean;
2499
2536
  allow_normal_group_membership?: boolean;
2500
2537
  allow_roles_from_normal_groups?: boolean;
2501
2538
  allow_direct_roles?: boolean;
2502
- url?: string;
2539
+ url?: string | null;
2503
2540
  }
2504
2541
  export interface ISamlGroupRead {
2505
2542
  id?: number;
2506
- looker_group_id?: number;
2507
- looker_group_name?: string;
2508
- name?: string;
2509
- roles?: IRole[];
2510
- url?: string;
2543
+ looker_group_id?: number | null;
2544
+ looker_group_name?: string | null;
2545
+ name?: string | null;
2546
+ roles?: IRole[] | null;
2547
+ url?: string | null;
2511
2548
  }
2512
2549
  export interface ISamlGroupWrite {
2513
- id?: number;
2514
- looker_group_id?: number;
2515
- looker_group_name?: string;
2516
- name?: string;
2517
- role_ids?: number[];
2518
- url?: string;
2550
+ id?: number | null;
2551
+ looker_group_id?: number | null;
2552
+ looker_group_name?: string | null;
2553
+ name?: string | null;
2554
+ role_ids?: number[] | null;
2555
+ url?: string | null;
2519
2556
  }
2520
2557
  export interface ISamlMetadataParseResult {
2521
2558
  can?: IDictionary<boolean>;
2522
- idp_issuer?: string;
2523
- idp_url?: string;
2524
- idp_cert?: string;
2559
+ idp_issuer?: string | null;
2560
+ idp_url?: string | null;
2561
+ idp_cert?: string | null;
2525
2562
  }
2526
2563
  export interface ISamlUserAttributeRead {
2527
- name?: string;
2564
+ name?: string | null;
2528
2565
  required?: boolean;
2529
- user_attributes?: IUserAttribute[];
2530
- url?: string;
2566
+ user_attributes?: IUserAttribute[] | null;
2567
+ url?: string | null;
2531
2568
  }
2532
2569
  export interface ISamlUserAttributeWrite {
2533
- name?: string;
2570
+ name?: string | null;
2534
2571
  required?: boolean;
2535
- user_attribute_ids?: number[];
2536
- url?: string;
2572
+ user_attribute_ids?: number[] | null;
2573
+ url?: string | null;
2537
2574
  }
2538
2575
  export interface IScheduledPlan {
2539
- name?: string;
2540
- user_id?: number;
2576
+ name?: string | null;
2577
+ user_id?: number | null;
2541
2578
  run_as_recipient?: boolean;
2542
2579
  enabled?: boolean;
2543
- look_id?: number;
2544
- dashboard_id?: number;
2545
- lookml_dashboard_id?: string;
2546
- filters_string?: string;
2547
- dashboard_filters?: string;
2580
+ look_id?: string | null;
2581
+ dashboard_id?: number | null;
2582
+ lookml_dashboard_id?: string | null;
2583
+ filters_string?: string | null;
2584
+ dashboard_filters?: string | null;
2548
2585
  require_results?: boolean;
2549
2586
  require_no_results?: boolean;
2550
2587
  require_change?: boolean;
2551
2588
  send_all_results?: boolean;
2552
- crontab?: string;
2553
- datagroup?: string;
2554
- timezone?: string;
2555
- query_id?: string;
2556
- scheduled_plan_destination?: IScheduledPlanDestination[];
2589
+ crontab?: string | null;
2590
+ datagroup?: string | null;
2591
+ timezone?: string | null;
2592
+ query_id?: string | null;
2593
+ scheduled_plan_destination?: IScheduledPlanDestination[] | null;
2557
2594
  run_once?: boolean;
2558
2595
  include_links?: boolean;
2559
- pdf_paper_size?: string;
2596
+ pdf_paper_size?: string | null;
2560
2597
  pdf_landscape?: boolean;
2561
2598
  embed?: boolean;
2562
- color_theme?: string;
2599
+ color_theme?: string | null;
2563
2600
  long_tables?: boolean;
2564
- inline_table_width?: number;
2601
+ inline_table_width?: number | null;
2565
2602
  id?: number;
2566
- created_at?: Date;
2567
- updated_at?: Date;
2568
- title?: string;
2603
+ created_at?: Date | null;
2604
+ updated_at?: Date | null;
2605
+ title?: string | null;
2569
2606
  user?: IUserPublic;
2570
- next_run_at?: Date;
2571
- last_run_at?: Date;
2607
+ next_run_at?: Date | null;
2608
+ last_run_at?: Date | null;
2572
2609
  can?: IDictionary<boolean>;
2573
2610
  }
2574
2611
  export interface IScheduledPlanDestination {
2575
2612
  id?: number;
2576
- scheduled_plan_id?: number;
2577
- format?: string;
2613
+ scheduled_plan_id?: number | null;
2614
+ format?: string | null;
2578
2615
  apply_formatting?: boolean;
2579
2616
  apply_vis?: boolean;
2580
- address?: string;
2617
+ address?: string | null;
2581
2618
  looker_recipient?: boolean;
2582
- type?: string;
2583
- parameters?: string;
2584
- secret_parameters?: string;
2585
- message?: string;
2619
+ type?: string | null;
2620
+ parameters?: string | null;
2621
+ secret_parameters?: string | null;
2622
+ message?: string | null;
2586
2623
  }
2587
2624
  export interface ISchema {
2588
2625
  name?: string;
2589
2626
  is_default?: boolean;
2590
2627
  }
2591
2628
  export interface ISchemaColumn {
2592
- name?: string;
2593
- sql_escaped_name?: string;
2594
- schema_name?: string;
2629
+ name?: string | null;
2630
+ sql_escaped_name?: string | null;
2631
+ schema_name?: string | null;
2595
2632
  data_type_database?: string;
2596
2633
  data_type?: string;
2597
2634
  data_type_looker?: string;
2598
- description?: string;
2599
- column_size?: number;
2635
+ description?: string | null;
2636
+ column_size?: number | null;
2600
2637
  snippets?: ISnippet[];
2601
2638
  }
2602
2639
  export interface ISchemaColumns {
2603
- name?: string;
2604
- sql_escaped_name?: string;
2605
- schema_name?: string;
2640
+ name?: string | null;
2641
+ sql_escaped_name?: string | null;
2642
+ schema_name?: string | null;
2606
2643
  columns?: ISchemaColumn[];
2607
2644
  }
2608
2645
  export interface ISchemaTable {
2609
- name?: string;
2610
- sql_escaped_name?: string;
2611
- schema_name?: string;
2612
- rows?: number;
2613
- external?: string;
2646
+ name?: string | null;
2647
+ sql_escaped_name?: string | null;
2648
+ schema_name?: string | null;
2649
+ rows?: number | null;
2650
+ external?: string | null;
2614
2651
  snippets?: ISnippet[];
2615
2652
  }
2616
2653
  export interface ISchemaTables {
@@ -2621,24 +2658,24 @@ export interface ISchemaTables {
2621
2658
  export interface ISession {
2622
2659
  can?: IDictionary<boolean>;
2623
2660
  id?: number;
2624
- ip_address?: string;
2625
- browser?: string;
2626
- operating_system?: string;
2627
- city?: string;
2628
- state?: string;
2629
- country?: string;
2630
- credentials_type?: string;
2631
- extended_at?: string;
2632
- extended_count?: number;
2633
- sudo_user_id?: number;
2634
- created_at?: string;
2635
- expires_at?: string;
2636
- url?: string;
2661
+ ip_address?: string | null;
2662
+ browser?: string | null;
2663
+ operating_system?: string | null;
2664
+ city?: string | null;
2665
+ state?: string | null;
2666
+ country?: string | null;
2667
+ credentials_type?: string | null;
2668
+ extended_at?: string | null;
2669
+ extended_count?: number | null;
2670
+ sudo_user_id?: number | null;
2671
+ created_at?: string | null;
2672
+ expires_at?: string | null;
2673
+ url?: string | null;
2637
2674
  }
2638
2675
  export interface ISessionConfig {
2639
2676
  can?: IDictionary<boolean>;
2640
2677
  allow_persistent_sessions?: boolean;
2641
- session_minutes?: number;
2678
+ session_minutes?: number | null;
2642
2679
  unlimited_sessions_per_user?: boolean;
2643
2680
  use_inactivity_based_logout?: boolean;
2644
2681
  track_session_location?: boolean;
@@ -2658,25 +2695,25 @@ export interface ISnippet {
2658
2695
  export interface ISqlQuery {
2659
2696
  can?: IDictionary<boolean>;
2660
2697
  slug?: string;
2661
- last_runtime?: number;
2698
+ last_runtime?: number | null;
2662
2699
  run_count?: number;
2663
2700
  browser_limit?: number;
2664
2701
  sql?: string;
2665
- last_run_at?: string;
2702
+ last_run_at?: string | null;
2666
2703
  connection?: IDBConnectionBase;
2667
- model_name?: string;
2704
+ model_name?: string | null;
2668
2705
  creator?: IUserPublic;
2669
- explore_url?: string;
2706
+ explore_url?: string | null;
2670
2707
  plaintext?: boolean;
2671
- vis_config?: IDictionary<any>;
2672
- result_maker_id?: number;
2708
+ vis_config?: IDictionary<any> | null;
2709
+ result_maker_id?: number | null;
2673
2710
  }
2674
2711
  export interface ISqlQueryCreate {
2675
- connection_name?: string;
2676
- connection_id?: string;
2677
- model_name?: string;
2678
- sql?: string;
2679
- vis_config?: IDictionary<any>;
2712
+ connection_name?: string | null;
2713
+ connection_id?: string | null;
2714
+ model_name?: string | null;
2715
+ sql?: string | null;
2716
+ vis_config?: IDictionary<any> | null;
2680
2717
  }
2681
2718
  export interface ISshPublicKey {
2682
2719
  public_key?: string;
@@ -2739,19 +2776,19 @@ export declare enum SupportedVisualizationFormattings {
2739
2776
  }
2740
2777
  export interface ITheme {
2741
2778
  can?: IDictionary<boolean>;
2742
- begin_at?: Date;
2743
- end_at?: Date;
2779
+ begin_at?: Date | null;
2780
+ end_at?: Date | null;
2744
2781
  id?: number;
2745
2782
  name?: string;
2746
2783
  settings?: IThemeSettings;
2747
2784
  }
2748
2785
  export interface IThemeSettings {
2749
2786
  background_color?: string;
2750
- base_font_size?: string;
2787
+ base_font_size?: string | null;
2751
2788
  color_collection_id?: string;
2752
- font_color?: string;
2789
+ font_color?: string | null;
2753
2790
  font_family?: string;
2754
- font_source?: string;
2791
+ font_source?: string | null;
2755
2792
  info_button_color?: string;
2756
2793
  primary_button_color?: string;
2757
2794
  show_filters_bar?: boolean;
@@ -2765,13 +2802,13 @@ export interface IThemeSettings {
2765
2802
  tile_shadow?: boolean;
2766
2803
  }
2767
2804
  export interface ITimezone {
2768
- value?: string;
2769
- label?: string;
2770
- group?: string;
2805
+ value?: string | null;
2806
+ label?: string | null;
2807
+ group?: string | null;
2771
2808
  }
2772
2809
  export interface IUpdateCommand {
2773
- name?: string;
2774
- description?: string;
2810
+ name?: string | null;
2811
+ description?: string | null;
2775
2812
  }
2776
2813
  export interface IUpdateFolder {
2777
2814
  name?: string;
@@ -2779,54 +2816,54 @@ export interface IUpdateFolder {
2779
2816
  }
2780
2817
  export interface IUser {
2781
2818
  can?: IDictionary<boolean>;
2782
- avatar_url?: string;
2783
- avatar_url_without_sizing?: string;
2784
- credentials_api3?: ICredentialsApi3[];
2819
+ avatar_url?: string | null;
2820
+ avatar_url_without_sizing?: string | null;
2821
+ credentials_api3?: ICredentialsApi3[] | null;
2785
2822
  credentials_email?: ICredentialsEmail;
2786
- credentials_embed?: ICredentialsEmbed[];
2823
+ credentials_embed?: ICredentialsEmbed[] | null;
2787
2824
  credentials_google?: ICredentialsGoogle;
2788
2825
  credentials_ldap?: ICredentialsLDAP;
2789
2826
  credentials_looker_openid?: ICredentialsLookerOpenid;
2790
2827
  credentials_oidc?: ICredentialsOIDC;
2791
2828
  credentials_saml?: ICredentialsSaml;
2792
2829
  credentials_totp?: ICredentialsTotp;
2793
- display_name?: string;
2794
- email?: string;
2795
- embed_group_space_id?: number;
2796
- first_name?: string;
2797
- group_ids?: number[];
2798
- home_folder_id?: string;
2830
+ display_name?: string | null;
2831
+ email?: string | null;
2832
+ embed_group_space_id?: number | null;
2833
+ first_name?: string | null;
2834
+ group_ids?: number[] | null;
2835
+ home_folder_id?: string | null;
2799
2836
  id?: number;
2800
2837
  is_disabled?: boolean;
2801
- last_name?: string;
2802
- locale?: string;
2803
- looker_versions?: string[];
2804
- models_dir_validated?: boolean;
2805
- personal_folder_id?: number;
2838
+ last_name?: string | null;
2839
+ locale?: string | null;
2840
+ looker_versions?: string[] | null;
2841
+ models_dir_validated?: boolean | null;
2842
+ personal_folder_id?: number | null;
2806
2843
  presumed_looker_employee?: boolean;
2807
- role_ids?: number[];
2808
- sessions?: ISession[];
2809
- ui_state?: IDictionary<string>;
2844
+ role_ids?: number[] | null;
2845
+ sessions?: ISession[] | null;
2846
+ ui_state?: IDictionary<string> | null;
2810
2847
  verified_looker_employee?: boolean;
2811
2848
  roles_externally_managed?: boolean;
2812
2849
  allow_direct_roles?: boolean;
2813
2850
  allow_normal_group_membership?: boolean;
2814
2851
  allow_roles_from_normal_groups?: boolean;
2815
- url?: string;
2852
+ url?: string | null;
2816
2853
  }
2817
2854
  export interface IUserAttribute {
2818
2855
  can?: IDictionary<boolean>;
2819
2856
  id?: number;
2820
- name: string;
2821
- label: string;
2822
- type: string;
2823
- default_value?: string;
2857
+ name: string | null;
2858
+ label: string | null;
2859
+ type: string | null;
2860
+ default_value?: string | null;
2824
2861
  is_system?: boolean;
2825
2862
  is_permanent?: boolean;
2826
2863
  value_is_hidden?: boolean;
2827
2864
  user_can_view?: boolean;
2828
2865
  user_can_edit?: boolean;
2829
- hidden_value_domain_whitelist?: string;
2866
+ hidden_value_domain_whitelist?: string | null;
2830
2867
  }
2831
2868
  export declare enum UserAttributeFilterTypes {
2832
2869
  advanced_filter_string = "advanced_filter_string",
@@ -2842,59 +2879,59 @@ export declare enum UserAttributeFilterTypes {
2842
2879
  export interface IUserAttributeGroupValue {
2843
2880
  can?: IDictionary<boolean>;
2844
2881
  id?: number;
2845
- group_id?: number;
2846
- user_attribute_id?: number;
2882
+ group_id?: number | null;
2883
+ user_attribute_id?: number | null;
2847
2884
  value_is_hidden?: boolean;
2848
- rank?: number;
2849
- value?: string;
2885
+ rank?: number | null;
2886
+ value?: string | null;
2850
2887
  }
2851
2888
  export interface IUserAttributeWithValue {
2852
2889
  can?: IDictionary<boolean>;
2853
- name?: string;
2854
- label?: string;
2855
- rank?: number;
2856
- value?: string;
2857
- user_id?: number;
2890
+ name?: string | null;
2891
+ label?: string | null;
2892
+ rank?: number | null;
2893
+ value?: string | null;
2894
+ user_id?: number | null;
2858
2895
  user_can_edit?: boolean;
2859
2896
  value_is_hidden?: boolean;
2860
- user_attribute_id?: number;
2861
- source?: string;
2862
- hidden_value_domain_whitelist?: string;
2897
+ user_attribute_id?: number | null;
2898
+ source?: string | null;
2899
+ hidden_value_domain_whitelist?: string | null;
2863
2900
  }
2864
2901
  export interface IUserEmailOnly {
2865
2902
  email: string;
2866
2903
  }
2867
2904
  export interface IUserLoginLockout {
2868
2905
  can?: IDictionary<boolean>;
2869
- key?: string;
2870
- auth_type?: string;
2871
- ip?: string;
2872
- user_id?: number;
2873
- remote_id?: string;
2874
- full_name?: string;
2875
- email?: string;
2876
- fail_count?: number;
2877
- lockout_at?: Date;
2906
+ key?: string | null;
2907
+ auth_type?: string | null;
2908
+ ip?: string | null;
2909
+ user_id?: number | null;
2910
+ remote_id?: string | null;
2911
+ full_name?: string | null;
2912
+ email?: string | null;
2913
+ fail_count?: number | null;
2914
+ lockout_at?: Date | null;
2878
2915
  }
2879
2916
  export interface IUserPublic {
2880
2917
  can?: IDictionary<boolean>;
2881
2918
  id?: number;
2882
2919
  first_name?: string;
2883
2920
  last_name?: string;
2884
- display_name?: string;
2921
+ display_name?: string | null;
2885
2922
  avatar_url?: string;
2886
- url?: string;
2923
+ url?: string | null;
2887
2924
  }
2888
2925
  export interface IValidationError {
2889
- message: string;
2890
- errors?: IValidationErrorDetail[];
2891
- documentation_url: string;
2926
+ message: string | null;
2927
+ errors?: IValidationErrorDetail[] | null;
2928
+ documentation_url: string | null;
2892
2929
  }
2893
2930
  export interface IValidationErrorDetail {
2894
- field?: string;
2895
- code?: string;
2896
- message?: string;
2897
- documentation_url: string;
2931
+ field?: string | null;
2932
+ code?: string | null;
2933
+ message?: string | null;
2934
+ documentation_url: string | null;
2898
2935
  }
2899
2936
  export declare enum WeekStartDay {
2900
2937
  monday = "monday",
@@ -2906,17 +2943,17 @@ export declare enum WeekStartDay {
2906
2943
  sunday = "sunday"
2907
2944
  }
2908
2945
  export interface IWelcomeEmailTest {
2909
- content?: string;
2910
- subject?: string;
2911
- header?: string;
2946
+ content?: string | null;
2947
+ subject?: string | null;
2948
+ header?: string | null;
2912
2949
  }
2913
2950
  export interface IWhitelabelConfiguration {
2914
2951
  id?: number;
2915
- logo_file?: string;
2916
- logo_url?: string;
2917
- favicon_file?: string;
2918
- favicon_url?: string;
2919
- default_title?: string;
2952
+ logo_file?: string | null;
2953
+ logo_url?: string | null;
2954
+ favicon_file?: string | null;
2955
+ favicon_url?: string | null;
2956
+ default_title?: string | null;
2920
2957
  show_help_menu?: boolean;
2921
2958
  show_docs?: boolean;
2922
2959
  show_email_sub_options?: boolean;
@@ -2931,301 +2968,306 @@ export interface IWhitelabelConfiguration {
2931
2968
  export interface IWorkspace {
2932
2969
  can?: IDictionary<boolean>;
2933
2970
  id?: string;
2934
- projects?: IProject[];
2971
+ projects?: IProject[] | null;
2935
2972
  }
2936
2973
  export interface IWriteAlert {
2937
- applied_dashboard_filters?: IAlertAppliedDashboardFilter[];
2938
- comparison_type?: ComparisonType;
2939
- cron?: string;
2940
- custom_title?: string;
2941
- dashboard_element_id?: number;
2942
- description?: string;
2943
- destinations?: IAlertDestination[];
2944
- field?: IAlertField;
2974
+ applied_dashboard_filters?: IAlertAppliedDashboardFilter[] | null;
2975
+ comparison_type: ComparisonType | null;
2976
+ cron: string;
2977
+ custom_title?: string | null;
2978
+ dashboard_element_id?: number | null;
2979
+ description?: string | null;
2980
+ destinations: IAlertDestination[] | null;
2981
+ field: IAlertField | null;
2945
2982
  is_disabled?: boolean;
2983
+ disabled_reason?: string | null;
2946
2984
  is_public?: boolean;
2947
- investigative_content_type?: InvestigativeContentType;
2948
- investigative_content_id?: string;
2949
- lookml_dashboard_id?: string;
2950
- lookml_link_id?: string;
2951
- owner_id?: number;
2952
- threshold?: number;
2953
- time_series_condition_state?: IAlertConditionState;
2985
+ investigative_content_type?: InvestigativeContentType | null;
2986
+ investigative_content_id?: string | null;
2987
+ lookml_dashboard_id?: string | null;
2988
+ lookml_link_id?: string | null;
2989
+ owner_id: number;
2990
+ threshold: number;
2991
+ time_series_condition_state?: IAlertConditionState | null;
2954
2992
  }
2955
2993
  export interface IWriteApiSession {
2956
- workspace_id?: string;
2994
+ workspace_id?: string | null;
2957
2995
  }
2958
2996
  export interface IWriteBackupConfiguration {
2959
- type?: string;
2960
- custom_s3_bucket?: string;
2961
- custom_s3_bucket_region?: string;
2962
- custom_s3_key?: string;
2963
- custom_s3_secret?: string;
2997
+ type?: string | null;
2998
+ custom_s3_bucket?: string | null;
2999
+ custom_s3_bucket_region?: string | null;
3000
+ custom_s3_key?: string | null;
3001
+ custom_s3_secret?: string | null;
2964
3002
  }
2965
3003
  export interface IWriteBoard {
2966
- deleted_at?: Date;
2967
- description?: string;
2968
- section_order?: number[];
2969
- title?: string;
3004
+ deleted_at?: Date | null;
3005
+ description?: string | null;
3006
+ section_order?: number[] | null;
3007
+ title?: string | null;
2970
3008
  }
2971
3009
  export interface IWriteBoardItem {
2972
- custom_description?: string;
2973
- custom_title?: string;
2974
- custom_url?: string;
2975
- dashboard_id?: number;
2976
- board_section_id?: number;
2977
- look_id?: number;
2978
- lookml_dashboard_id?: string;
2979
- order?: number;
3010
+ custom_description?: string | null;
3011
+ custom_title?: string | null;
3012
+ custom_url?: string | null;
3013
+ dashboard_id?: number | null;
3014
+ board_section_id?: number | null;
3015
+ look_id?: string | null;
3016
+ lookml_dashboard_id?: string | null;
3017
+ order?: number | null;
2980
3018
  }
2981
3019
  export interface IWriteBoardSection {
2982
- deleted_at?: Date;
2983
- description?: string;
2984
- board_id?: number;
2985
- item_order?: number[];
2986
- title?: string;
3020
+ deleted_at?: Date | null;
3021
+ description?: string | null;
3022
+ board_id?: number | null;
3023
+ item_order?: number[] | null;
3024
+ title?: string | null;
2987
3025
  }
2988
3026
  export interface IWriteColorCollection {
2989
3027
  label?: string;
2990
- categoricalPalettes?: IDiscretePalette[];
2991
- sequentialPalettes?: IContinuousPalette[];
2992
- divergingPalettes?: IContinuousPalette[];
3028
+ categoricalPalettes?: IDiscretePalette[] | null;
3029
+ sequentialPalettes?: IContinuousPalette[] | null;
3030
+ divergingPalettes?: IContinuousPalette[] | null;
2993
3031
  }
2994
3032
  export interface IWriteCommand {
2995
3033
  name?: string;
2996
- description?: string;
3034
+ description?: string | null;
2997
3035
  linked_content_id?: string;
2998
- linked_content_type?: LinkedContentType;
3036
+ linked_content_type?: LinkedContentType | null;
2999
3037
  }
3000
3038
  export interface IWriteContentFavorite {
3001
3039
  user_id?: number;
3002
3040
  content_metadata_id?: number;
3003
- look?: IWriteLookBasic;
3004
- dashboard?: IWriteDashboardBase;
3041
+ look?: IWriteLookBasic | null;
3042
+ dashboard?: IWriteDashboardBase | null;
3005
3043
  }
3006
3044
  export interface IWriteContentMeta {
3007
3045
  inherits?: boolean;
3008
3046
  }
3009
3047
  export interface IWriteCreateDashboardFilter {
3010
- dashboard_id: string;
3011
- name: string;
3012
- title: string;
3013
- type: string;
3014
- default_value?: string;
3015
- model?: string;
3016
- explore?: string;
3017
- dimension?: string;
3018
- row?: number;
3019
- listens_to_filters?: string[];
3048
+ dashboard_id: string | null;
3049
+ name: string | null;
3050
+ title: string | null;
3051
+ type: string | null;
3052
+ default_value?: string | null;
3053
+ model?: string | null;
3054
+ explore?: string | null;
3055
+ dimension?: string | null;
3056
+ row?: number | null;
3057
+ listens_to_filters?: string[] | null;
3020
3058
  allow_multiple_values?: boolean;
3021
3059
  required?: boolean;
3022
- ui_config?: IDictionary<any>;
3060
+ ui_config?: IDictionary<any> | null;
3023
3061
  }
3024
3062
  export interface IWriteCreateQueryTask {
3025
- query_id: number;
3026
- result_format: ResultFormat;
3027
- source?: string;
3063
+ query_id: number | null;
3064
+ result_format: ResultFormat | null;
3065
+ source?: string | null;
3028
3066
  deferred?: boolean;
3029
- look_id?: number;
3030
- dashboard_id?: string;
3067
+ look_id?: string | null;
3068
+ dashboard_id?: string | null;
3031
3069
  }
3032
3070
  export interface IWriteCredentialsEmail {
3033
- email?: string;
3071
+ email?: string | null;
3034
3072
  forced_password_reset_at_next_login?: boolean;
3035
3073
  }
3036
3074
  export interface IWriteDashboard {
3037
- description?: string;
3075
+ description?: string | null;
3038
3076
  hidden?: boolean;
3039
- query_timezone?: string;
3040
- refresh_interval?: string;
3041
- folder?: IWriteFolderBase;
3042
- title?: string;
3043
- slug?: string;
3044
- preferred_viewer?: string;
3077
+ query_timezone?: string | null;
3078
+ refresh_interval?: string | null;
3079
+ folder?: IWriteFolderBase | null;
3080
+ title?: string | null;
3081
+ slug?: string | null;
3082
+ preferred_viewer?: string | null;
3045
3083
  alert_sync_with_dashboard_filter_enabled?: boolean;
3046
- background_color?: string;
3084
+ background_color?: string | null;
3047
3085
  crossfilter_enabled?: boolean;
3048
3086
  deleted?: boolean;
3049
3087
  filters_bar_collapsed?: boolean;
3050
- load_configuration?: string;
3051
- lookml_link_id?: string;
3088
+ load_configuration?: string | null;
3089
+ lookml_link_id?: string | null;
3052
3090
  show_filters_bar?: boolean;
3053
3091
  show_title?: boolean;
3054
- folder_id?: string;
3055
- text_tile_text_color?: string;
3056
- tile_background_color?: string;
3057
- tile_text_color?: string;
3058
- title_color?: string;
3059
- appearance?: IDashboardAppearance;
3092
+ folder_id?: string | null;
3093
+ text_tile_text_color?: string | null;
3094
+ tile_background_color?: string | null;
3095
+ tile_text_color?: string | null;
3096
+ title_color?: string | null;
3097
+ appearance?: IDashboardAppearance | null;
3060
3098
  }
3061
3099
  export interface IWriteDashboardBase {
3062
- folder?: IWriteFolderBase;
3100
+ folder?: IWriteFolderBase | null;
3063
3101
  }
3064
3102
  export interface IWriteDashboardElement {
3065
- body_text?: string;
3066
- dashboard_id?: string;
3067
- look?: IWriteLookWithQuery;
3068
- look_id?: string;
3069
- merge_result_id?: string;
3070
- note_display?: string;
3071
- note_state?: string;
3072
- note_text?: string;
3073
- query?: IWriteQuery;
3074
- query_id?: number;
3075
- refresh_interval?: string;
3076
- result_maker?: IWriteResultMakerWithIdVisConfigAndDynamicFields;
3077
- result_maker_id?: number;
3078
- subtitle_text?: string;
3079
- title?: string;
3103
+ body_text?: string | null;
3104
+ dashboard_id?: string | null;
3105
+ look?: IWriteLookWithQuery | null;
3106
+ look_id?: string | null;
3107
+ merge_result_id?: string | null;
3108
+ note_display?: string | null;
3109
+ note_state?: string | null;
3110
+ note_text?: string | null;
3111
+ query?: IWriteQuery | null;
3112
+ query_id?: number | null;
3113
+ refresh_interval?: string | null;
3114
+ result_maker?: IWriteResultMakerWithIdVisConfigAndDynamicFields | null;
3115
+ result_maker_id?: number | null;
3116
+ subtitle_text?: string | null;
3117
+ title?: string | null;
3080
3118
  title_hidden?: boolean;
3081
- title_text?: string;
3082
- type?: string;
3119
+ title_text?: string | null;
3120
+ type?: string | null;
3083
3121
  }
3084
3122
  export interface IWriteDashboardFilter {
3085
- name?: string;
3086
- title?: string;
3087
- type?: string;
3088
- default_value?: string;
3089
- model?: string;
3090
- explore?: string;
3091
- dimension?: string;
3092
- row?: number;
3093
- listens_to_filters?: string[];
3123
+ name?: string | null;
3124
+ title?: string | null;
3125
+ type?: string | null;
3126
+ default_value?: string | null;
3127
+ model?: string | null;
3128
+ explore?: string | null;
3129
+ dimension?: string | null;
3130
+ row?: number | null;
3131
+ listens_to_filters?: string[] | null;
3094
3132
  allow_multiple_values?: boolean;
3095
3133
  required?: boolean;
3096
- ui_config?: IDictionary<any>;
3134
+ ui_config?: IDictionary<any> | null;
3097
3135
  }
3098
3136
  export interface IWriteDashboardLayout {
3099
- dashboard_id?: string;
3100
- type?: string;
3137
+ dashboard_id?: string | null;
3138
+ type?: string | null;
3101
3139
  active?: boolean;
3102
- column_width?: number;
3103
- width?: number;
3140
+ column_width?: number | null;
3141
+ width?: number | null;
3104
3142
  }
3105
3143
  export interface IWriteDashboardLayoutComponent {
3106
- dashboard_layout_id?: string;
3107
- dashboard_element_id?: string;
3108
- row?: number;
3109
- column?: number;
3110
- width?: number;
3111
- height?: number;
3144
+ dashboard_layout_id?: string | null;
3145
+ dashboard_element_id?: string | null;
3146
+ row?: number | null;
3147
+ column?: number | null;
3148
+ width?: number | null;
3149
+ height?: number | null;
3112
3150
  }
3113
3151
  export interface IWriteDatagroup {
3114
- stale_before?: number;
3115
- triggered_at?: number;
3152
+ stale_before?: number | null;
3153
+ triggered_at?: number | null;
3116
3154
  }
3117
3155
  export interface IWriteDBConnection {
3118
3156
  name?: string;
3119
- host?: string;
3120
- port?: number;
3121
- username?: string;
3122
- password?: string;
3123
- certificate?: string;
3124
- file_type?: string;
3125
- database?: string;
3126
- db_timezone?: string;
3127
- query_timezone?: string;
3128
- schema?: string;
3129
- max_connections?: number;
3130
- max_billing_gigabytes?: string;
3157
+ host?: string | null;
3158
+ port?: string | null;
3159
+ username?: string | null;
3160
+ password?: string | null;
3161
+ certificate?: string | null;
3162
+ file_type?: string | null;
3163
+ database?: string | null;
3164
+ db_timezone?: string | null;
3165
+ query_timezone?: string | null;
3166
+ schema?: string | null;
3167
+ max_connections?: number | null;
3168
+ max_billing_gigabytes?: string | null;
3131
3169
  ssl?: boolean;
3132
3170
  verify_ssl?: boolean;
3133
- tmp_db_name?: string;
3134
- jdbc_additional_params?: string;
3135
- pool_timeout?: number;
3136
- dialect_name?: string;
3137
- user_db_credentials?: boolean;
3138
- user_attribute_fields?: string[];
3139
- maintenance_cron?: string;
3171
+ tmp_db_name?: string | null;
3172
+ jdbc_additional_params?: string | null;
3173
+ pool_timeout?: number | null;
3174
+ dialect_name?: string | null;
3175
+ user_db_credentials?: boolean | null;
3176
+ user_attribute_fields?: string[] | null;
3177
+ maintenance_cron?: string | null;
3140
3178
  sql_runner_precache_tables?: boolean;
3141
3179
  sql_writing_with_info_schema?: boolean;
3142
- after_connect_statements?: string;
3143
- pdt_context_override?: IWriteDBConnectionOverride;
3144
- tunnel_id?: string;
3145
- pdt_concurrency?: number;
3146
- disable_context_comment?: boolean;
3147
- oauth_application_id?: number;
3148
- always_retry_failed_builds?: boolean;
3180
+ after_connect_statements?: string | null;
3181
+ pdt_context_override?: IWriteDBConnectionOverride | null;
3182
+ tunnel_id?: string | null;
3183
+ pdt_concurrency?: number | null;
3184
+ disable_context_comment?: boolean | null;
3185
+ oauth_application_id?: number | null;
3186
+ always_retry_failed_builds?: boolean | null;
3149
3187
  }
3150
3188
  export interface IWriteDBConnectionOverride {
3151
3189
  context?: string;
3152
- host?: string;
3153
- port?: string;
3154
- username?: string;
3155
- password?: string;
3156
- certificate?: string;
3157
- file_type?: string;
3158
- database?: string;
3159
- schema?: string;
3160
- jdbc_additional_params?: string;
3161
- after_connect_statements?: string;
3190
+ host?: string | null;
3191
+ port?: string | null;
3192
+ username?: string | null;
3193
+ password?: string | null;
3194
+ certificate?: string | null;
3195
+ file_type?: string | null;
3196
+ database?: string | null;
3197
+ schema?: string | null;
3198
+ jdbc_additional_params?: string | null;
3199
+ after_connect_statements?: string | null;
3200
+ }
3201
+ export interface IWriteEmbedSecret {
3202
+ algorithm?: string | null;
3203
+ enabled?: boolean;
3162
3204
  }
3163
3205
  export interface IWriteExternalOauthApplication {
3164
3206
  name?: string;
3165
3207
  client_id?: string;
3166
3208
  client_secret?: string;
3167
- dialect_name?: string;
3209
+ dialect_name?: string | null;
3168
3210
  }
3169
3211
  export interface IWriteFolderBase {
3170
3212
  name: string;
3171
- parent_id?: string;
3213
+ parent_id?: string | null;
3172
3214
  }
3173
3215
  export interface IWriteGitBranch {
3174
- name?: string;
3175
- ref?: string;
3216
+ name?: string | null;
3217
+ ref?: string | null;
3176
3218
  }
3177
3219
  export interface IWriteGroup {
3178
3220
  can_add_to_content_metadata?: boolean;
3179
- name?: string;
3221
+ name?: string | null;
3180
3222
  }
3181
3223
  export interface IWriteIntegration {
3182
3224
  enabled?: boolean;
3183
- params?: IIntegrationParam[];
3184
- installed_delegate_oauth_targets?: number[];
3225
+ params?: IIntegrationParam[] | null;
3226
+ installed_delegate_oauth_targets?: number[] | null;
3185
3227
  }
3186
3228
  export interface IWriteIntegrationHub {
3187
3229
  url?: string;
3188
- authorization_token?: string;
3230
+ authorization_token?: string | null;
3189
3231
  }
3190
3232
  export interface IWriteInternalHelpResources {
3191
3233
  enabled?: boolean;
3192
3234
  }
3193
3235
  export interface IWriteInternalHelpResourcesContent {
3194
- organization_name?: string;
3195
- markdown_content?: string;
3236
+ organization_name?: string | null;
3237
+ markdown_content?: string | null;
3196
3238
  }
3197
3239
  export interface IWriteLDAPConfig {
3198
3240
  alternate_email_login_allowed?: boolean;
3199
- auth_password?: string;
3241
+ auth_password?: string | null;
3200
3242
  auth_requires_role?: boolean;
3201
- auth_username?: string;
3202
- connection_host?: string;
3203
- connection_port?: string;
3243
+ auth_username?: string | null;
3244
+ connection_host?: string | null;
3245
+ connection_port?: string | null;
3204
3246
  connection_tls?: boolean;
3205
3247
  connection_tls_no_verify?: boolean;
3206
- default_new_user_group_ids?: number[];
3207
- default_new_user_role_ids?: number[];
3248
+ default_new_user_group_ids?: number[] | null;
3249
+ default_new_user_role_ids?: number[] | null;
3208
3250
  enabled?: boolean;
3209
3251
  force_no_page?: boolean;
3210
- groups_base_dn?: string;
3211
- groups_finder_type?: string;
3212
- groups_member_attribute?: string;
3213
- groups_objectclasses?: string;
3214
- groups_user_attribute?: string;
3215
- groups_with_role_ids?: ILDAPGroupWrite[];
3252
+ groups_base_dn?: string | null;
3253
+ groups_finder_type?: string | null;
3254
+ groups_member_attribute?: string | null;
3255
+ groups_objectclasses?: string | null;
3256
+ groups_user_attribute?: string | null;
3257
+ groups_with_role_ids?: ILDAPGroupWrite[] | null;
3216
3258
  merge_new_users_by_email?: boolean;
3217
3259
  set_roles_from_groups?: boolean;
3218
- test_ldap_password?: string;
3219
- test_ldap_user?: string;
3220
- user_attribute_map_email?: string;
3221
- user_attribute_map_first_name?: string;
3222
- user_attribute_map_last_name?: string;
3223
- user_attribute_map_ldap_id?: string;
3224
- user_attributes_with_ids?: ILDAPUserAttributeWrite[];
3225
- user_bind_base_dn?: string;
3226
- user_custom_filter?: string;
3227
- user_id_attribute_names?: string;
3228
- user_objectclass?: string;
3260
+ test_ldap_password?: string | null;
3261
+ test_ldap_user?: string | null;
3262
+ user_attribute_map_email?: string | null;
3263
+ user_attribute_map_first_name?: string | null;
3264
+ user_attribute_map_last_name?: string | null;
3265
+ user_attribute_map_ldap_id?: string | null;
3266
+ user_attributes_with_ids?: ILDAPUserAttributeWrite[] | null;
3267
+ user_bind_base_dn?: string | null;
3268
+ user_custom_filter?: string | null;
3269
+ user_id_attribute_names?: string | null;
3270
+ user_objectclass?: string | null;
3229
3271
  allow_normal_group_membership?: boolean;
3230
3272
  allow_roles_from_normal_groups?: boolean;
3231
3273
  allow_direct_roles?: boolean;
@@ -3234,195 +3276,195 @@ export interface IWriteLegacyFeature {
3234
3276
  enabled_locally?: boolean;
3235
3277
  }
3236
3278
  export interface IWriteLookBasic {
3237
- user_id?: number;
3279
+ user_id?: number | null;
3238
3280
  }
3239
3281
  export interface IWriteLookmlModel {
3240
- allowed_db_connection_names?: string[];
3241
- name?: string;
3242
- project_name?: string;
3282
+ allowed_db_connection_names?: string[] | null;
3283
+ name?: string | null;
3284
+ project_name?: string | null;
3243
3285
  unlimited_db_connections?: boolean;
3244
3286
  }
3245
3287
  export interface IWriteLookWithQuery {
3246
- title?: string;
3247
- user_id?: number;
3288
+ title?: string | null;
3289
+ user_id?: number | null;
3248
3290
  deleted?: boolean;
3249
- description?: string;
3291
+ description?: string | null;
3250
3292
  is_run_on_load?: boolean;
3251
3293
  public?: boolean;
3252
- query_id?: number;
3253
- folder?: IWriteFolderBase;
3254
- folder_id?: string;
3255
- query?: IWriteQuery;
3294
+ query_id?: number | null;
3295
+ folder?: IWriteFolderBase | null;
3296
+ folder_id?: string | null;
3297
+ query?: IWriteQuery | null;
3256
3298
  }
3257
3299
  export interface IWriteMergeQuery {
3258
- column_limit?: string;
3259
- dynamic_fields?: string;
3260
- pivots?: string[];
3261
- sorts?: string[];
3262
- source_queries?: IMergeQuerySourceQuery[];
3300
+ column_limit?: string | null;
3301
+ dynamic_fields?: string | null;
3302
+ pivots?: string[] | null;
3303
+ sorts?: string[] | null;
3304
+ source_queries?: IMergeQuerySourceQuery[] | null;
3263
3305
  total?: boolean;
3264
- vis_config?: IDictionary<string>;
3306
+ vis_config?: IDictionary<string> | null;
3265
3307
  }
3266
3308
  export interface IWriteModelSet {
3267
- models?: string[];
3268
- name?: string;
3309
+ models?: string[] | null;
3310
+ name?: string | null;
3269
3311
  }
3270
3312
  export interface IWriteOauthClientApp {
3271
3313
  redirect_uri?: string;
3272
3314
  display_name?: string;
3273
3315
  description?: string;
3274
3316
  enabled?: boolean;
3275
- group_id?: number;
3317
+ group_id?: number | null;
3276
3318
  }
3277
3319
  export interface IWriteOIDCConfig {
3278
3320
  alternate_email_login_allowed?: boolean;
3279
- audience?: string;
3321
+ audience?: string | null;
3280
3322
  auth_requires_role?: boolean;
3281
- authorization_endpoint?: string;
3282
- default_new_user_group_ids?: number[];
3283
- default_new_user_role_ids?: number[];
3323
+ authorization_endpoint?: string | null;
3324
+ default_new_user_group_ids?: number[] | null;
3325
+ default_new_user_role_ids?: number[] | null;
3284
3326
  enabled?: boolean;
3285
- groups_attribute?: string;
3286
- groups_with_role_ids?: IOIDCGroupWrite[];
3287
- identifier?: string;
3288
- issuer?: string;
3289
- new_user_migration_types?: string;
3290
- scopes?: string[];
3291
- secret?: string;
3327
+ groups_attribute?: string | null;
3328
+ groups_with_role_ids?: IOIDCGroupWrite[] | null;
3329
+ identifier?: string | null;
3330
+ issuer?: string | null;
3331
+ new_user_migration_types?: string | null;
3332
+ scopes?: string[] | null;
3333
+ secret?: string | null;
3292
3334
  set_roles_from_groups?: boolean;
3293
- token_endpoint?: string;
3294
- user_attribute_map_email?: string;
3295
- user_attribute_map_first_name?: string;
3296
- user_attribute_map_last_name?: string;
3297
- user_attributes_with_ids?: IOIDCUserAttributeWrite[];
3298
- userinfo_endpoint?: string;
3335
+ token_endpoint?: string | null;
3336
+ user_attribute_map_email?: string | null;
3337
+ user_attribute_map_first_name?: string | null;
3338
+ user_attribute_map_last_name?: string | null;
3339
+ user_attributes_with_ids?: IOIDCUserAttributeWrite[] | null;
3340
+ userinfo_endpoint?: string | null;
3299
3341
  allow_normal_group_membership?: boolean;
3300
3342
  allow_roles_from_normal_groups?: boolean;
3301
3343
  allow_direct_roles?: boolean;
3302
3344
  }
3303
3345
  export interface IWritePasswordConfig {
3304
- min_length?: number;
3346
+ min_length?: number | null;
3305
3347
  require_numeric?: boolean;
3306
3348
  require_upperlower?: boolean;
3307
3349
  require_special?: boolean;
3308
3350
  }
3309
3351
  export interface IWritePermissionSet {
3310
- name?: string;
3311
- permissions?: string[];
3352
+ name?: string | null;
3353
+ permissions?: string[] | null;
3312
3354
  }
3313
3355
  export interface IWriteProject {
3314
3356
  name?: string;
3315
- git_remote_url?: string;
3316
- git_username?: string;
3317
- git_password?: string;
3357
+ git_remote_url?: string | null;
3358
+ git_username?: string | null;
3359
+ git_password?: string | null;
3318
3360
  git_production_branch_name?: string;
3319
3361
  use_git_cookie_auth?: boolean;
3320
- git_username_user_attribute?: string;
3321
- git_password_user_attribute?: string;
3322
- git_service_name?: string;
3323
- git_application_server_http_port?: number;
3324
- git_application_server_http_scheme?: string;
3325
- deploy_secret?: string;
3362
+ git_username_user_attribute?: string | null;
3363
+ git_password_user_attribute?: string | null;
3364
+ git_service_name?: string | null;
3365
+ git_application_server_http_port?: number | null;
3366
+ git_application_server_http_scheme?: string | null;
3367
+ deploy_secret?: string | null;
3326
3368
  unset_deploy_secret?: boolean;
3327
- pull_request_mode?: PullRequestMode;
3369
+ pull_request_mode?: PullRequestMode | null;
3328
3370
  validation_required?: boolean;
3329
3371
  git_release_mgmt_enabled?: boolean;
3330
3372
  allow_warnings?: boolean;
3331
- dependency_status?: string;
3373
+ dependency_status?: string | null;
3332
3374
  }
3333
3375
  export interface IWriteQuery {
3334
3376
  model: string;
3335
3377
  view: string;
3336
- fields?: string[];
3337
- pivots?: string[];
3338
- fill_fields?: string[];
3339
- filters?: IDictionary<string>;
3340
- filter_expression?: string;
3341
- sorts?: string[];
3342
- limit?: string;
3343
- column_limit?: string;
3344
- total?: boolean;
3345
- row_total?: string;
3346
- subtotals?: string[];
3347
- vis_config?: IDictionary<any>;
3348
- filter_config?: IDictionary<any>;
3349
- visible_ui_sections?: string;
3350
- dynamic_fields?: string;
3351
- client_id?: string;
3352
- query_timezone?: string;
3378
+ fields?: string[] | null;
3379
+ pivots?: string[] | null;
3380
+ fill_fields?: string[] | null;
3381
+ filters?: IDictionary<string> | null;
3382
+ filter_expression?: string | null;
3383
+ sorts?: string[] | null;
3384
+ limit?: string | null;
3385
+ column_limit?: string | null;
3386
+ total?: boolean | null;
3387
+ row_total?: string | null;
3388
+ subtotals?: string[] | null;
3389
+ vis_config?: IDictionary<any> | null;
3390
+ filter_config?: IDictionary<any> | null;
3391
+ visible_ui_sections?: string | null;
3392
+ dynamic_fields?: string | null;
3393
+ client_id?: string | null;
3394
+ query_timezone?: string | null;
3353
3395
  }
3354
3396
  export interface IWriteRepositoryCredential {
3355
- git_username?: string;
3356
- git_password?: string;
3357
- ssh_public_key?: string;
3397
+ git_username?: string | null;
3398
+ git_password?: string | null;
3399
+ ssh_public_key?: string | null;
3358
3400
  }
3359
3401
  export interface IWriteResultMakerWithIdVisConfigAndDynamicFields {
3360
- query?: IWriteQuery;
3402
+ query?: IWriteQuery | null;
3361
3403
  }
3362
3404
  export interface IWriteRole {
3363
- name?: string;
3364
- permission_set?: IWritePermissionSet;
3365
- permission_set_id?: number;
3366
- model_set?: IWriteModelSet;
3367
- model_set_id?: number;
3405
+ name?: string | null;
3406
+ permission_set?: IWritePermissionSet | null;
3407
+ permission_set_id?: number | null;
3408
+ model_set?: IWriteModelSet | null;
3409
+ model_set_id?: number | null;
3368
3410
  }
3369
3411
  export interface IWriteSamlConfig {
3370
3412
  enabled?: boolean;
3371
- idp_cert?: string;
3372
- idp_url?: string;
3373
- idp_issuer?: string;
3374
- idp_audience?: string;
3375
- allowed_clock_drift?: number;
3376
- user_attribute_map_email?: string;
3377
- user_attribute_map_first_name?: string;
3378
- user_attribute_map_last_name?: string;
3379
- new_user_migration_types?: string;
3413
+ idp_cert?: string | null;
3414
+ idp_url?: string | null;
3415
+ idp_issuer?: string | null;
3416
+ idp_audience?: string | null;
3417
+ allowed_clock_drift?: number | null;
3418
+ user_attribute_map_email?: string | null;
3419
+ user_attribute_map_first_name?: string | null;
3420
+ user_attribute_map_last_name?: string | null;
3421
+ new_user_migration_types?: string | null;
3380
3422
  alternate_email_login_allowed?: boolean;
3381
- default_new_user_role_ids?: number[];
3382
- default_new_user_group_ids?: number[];
3423
+ default_new_user_role_ids?: number[] | null;
3424
+ default_new_user_group_ids?: number[] | null;
3383
3425
  set_roles_from_groups?: boolean;
3384
- groups_attribute?: string;
3385
- groups_with_role_ids?: ISamlGroupWrite[];
3426
+ groups_attribute?: string | null;
3427
+ groups_with_role_ids?: ISamlGroupWrite[] | null;
3386
3428
  auth_requires_role?: boolean;
3387
- user_attributes_with_ids?: ISamlUserAttributeWrite[];
3388
- groups_finder_type?: string;
3389
- groups_member_value?: string;
3429
+ user_attributes_with_ids?: ISamlUserAttributeWrite[] | null;
3430
+ groups_finder_type?: string | null;
3431
+ groups_member_value?: string | null;
3390
3432
  bypass_login_page?: boolean;
3391
3433
  allow_normal_group_membership?: boolean;
3392
3434
  allow_roles_from_normal_groups?: boolean;
3393
3435
  allow_direct_roles?: boolean;
3394
3436
  }
3395
3437
  export interface IWriteScheduledPlan {
3396
- name?: string;
3397
- user_id?: number;
3438
+ name?: string | null;
3439
+ user_id?: number | null;
3398
3440
  run_as_recipient?: boolean;
3399
3441
  enabled?: boolean;
3400
- look_id?: number;
3401
- dashboard_id?: number;
3402
- lookml_dashboard_id?: string;
3403
- filters_string?: string;
3404
- dashboard_filters?: string;
3442
+ look_id?: string | null;
3443
+ dashboard_id?: number | null;
3444
+ lookml_dashboard_id?: string | null;
3445
+ filters_string?: string | null;
3446
+ dashboard_filters?: string | null;
3405
3447
  require_results?: boolean;
3406
3448
  require_no_results?: boolean;
3407
3449
  require_change?: boolean;
3408
3450
  send_all_results?: boolean;
3409
- crontab?: string;
3410
- datagroup?: string;
3411
- timezone?: string;
3412
- query_id?: string;
3413
- scheduled_plan_destination?: IScheduledPlanDestination[];
3451
+ crontab?: string | null;
3452
+ datagroup?: string | null;
3453
+ timezone?: string | null;
3454
+ query_id?: string | null;
3455
+ scheduled_plan_destination?: IScheduledPlanDestination[] | null;
3414
3456
  run_once?: boolean;
3415
3457
  include_links?: boolean;
3416
- pdf_paper_size?: string;
3458
+ pdf_paper_size?: string | null;
3417
3459
  pdf_landscape?: boolean;
3418
3460
  embed?: boolean;
3419
- color_theme?: string;
3461
+ color_theme?: string | null;
3420
3462
  long_tables?: boolean;
3421
- inline_table_width?: number;
3463
+ inline_table_width?: number | null;
3422
3464
  }
3423
3465
  export interface IWriteSessionConfig {
3424
3466
  allow_persistent_sessions?: boolean;
3425
- session_minutes?: number;
3467
+ session_minutes?: number | null;
3426
3468
  unlimited_sessions_per_user?: boolean;
3427
3469
  use_inactivity_based_logout?: boolean;
3428
3470
  track_session_location?: boolean;
@@ -3431,8 +3473,8 @@ export interface IWriteSetting {
3431
3473
  extension_framework_enabled?: boolean;
3432
3474
  marketplace_auto_install_enabled?: boolean;
3433
3475
  marketplace_enabled?: boolean;
3434
- whitelabel_configuration?: IWriteWhitelabelConfiguration;
3435
- custom_welcome_email?: ICustomWelcomeEmail;
3476
+ whitelabel_configuration?: IWriteWhitelabelConfiguration | null;
3477
+ custom_welcome_email?: ICustomWelcomeEmail | null;
3436
3478
  }
3437
3479
  export interface IWriteSshServer {
3438
3480
  ssh_server_name?: string;
@@ -3446,38 +3488,38 @@ export interface IWriteSshTunnel {
3446
3488
  database_port?: number;
3447
3489
  }
3448
3490
  export interface IWriteTheme {
3449
- begin_at?: Date;
3450
- end_at?: Date;
3491
+ begin_at?: Date | null;
3492
+ end_at?: Date | null;
3451
3493
  name?: string;
3452
- settings?: IThemeSettings;
3494
+ settings?: IThemeSettings | null;
3453
3495
  }
3454
3496
  export interface IWriteUser {
3455
- credentials_email?: IWriteCredentialsEmail;
3456
- first_name?: string;
3457
- home_folder_id?: string;
3497
+ credentials_email?: IWriteCredentialsEmail | null;
3498
+ first_name?: string | null;
3499
+ home_folder_id?: string | null;
3458
3500
  is_disabled?: boolean;
3459
- last_name?: string;
3460
- locale?: string;
3461
- models_dir_validated?: boolean;
3462
- ui_state?: IDictionary<string>;
3501
+ last_name?: string | null;
3502
+ locale?: string | null;
3503
+ models_dir_validated?: boolean | null;
3504
+ ui_state?: IDictionary<string> | null;
3463
3505
  }
3464
3506
  export interface IWriteUserAttribute {
3465
- name: string;
3466
- label: string;
3467
- type: string;
3468
- default_value?: string;
3507
+ name: string | null;
3508
+ label: string | null;
3509
+ type: string | null;
3510
+ default_value?: string | null;
3469
3511
  value_is_hidden?: boolean;
3470
3512
  user_can_view?: boolean;
3471
3513
  user_can_edit?: boolean;
3472
- hidden_value_domain_whitelist?: string;
3514
+ hidden_value_domain_whitelist?: string | null;
3473
3515
  }
3474
3516
  export interface IWriteUserAttributeWithValue {
3475
- value?: string;
3517
+ value?: string | null;
3476
3518
  }
3477
3519
  export interface IWriteWhitelabelConfiguration {
3478
- logo_file?: string;
3479
- favicon_file?: string;
3480
- default_title?: string;
3520
+ logo_file?: string | null;
3521
+ favicon_file?: string | null;
3522
+ default_title?: string | null;
3481
3523
  show_help_menu?: boolean;
3482
3524
  show_docs?: boolean;
3483
3525
  show_email_sub_options?: boolean;