@looker/sdk 21.20.1 → 22.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/lib/3.1/funcs.d.ts +9 -5
- package/lib/3.1/funcs.js +948 -892
- package/lib/3.1/funcs.js.map +1 -1
- package/lib/3.1/methods.d.ts +9 -5
- package/lib/3.1/methods.js +635 -595
- package/lib/3.1/methods.js.map +1 -1
- package/lib/3.1/methodsInterface.d.ts +9 -5
- package/lib/3.1/models.d.ts +82 -49
- package/lib/3.1/models.js +11 -1
- package/lib/3.1/models.js.map +1 -1
- package/lib/3.1/streams.d.ts +9 -5
- package/lib/3.1/streams.js +635 -595
- package/lib/3.1/streams.js.map +1 -1
- package/lib/4.0/funcs.d.ts +119 -109
- package/lib/4.0/funcs.js +1395 -1126
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +119 -109
- package/lib/4.0/methods.js +968 -740
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +119 -109
- package/lib/4.0/models.d.ts +367 -262
- package/lib/4.0/models.js +11 -9
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +119 -109
- package/lib/4.0/streams.js +968 -740
- package/lib/4.0/streams.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/3.1/funcs.js +932 -888
- package/lib/esm/3.1/funcs.js.map +1 -1
- package/lib/esm/3.1/methods.js +635 -595
- package/lib/esm/3.1/methods.js.map +1 -1
- package/lib/esm/3.1/models.js +9 -0
- package/lib/esm/3.1/models.js.map +1 -1
- package/lib/esm/3.1/streams.js +635 -595
- package/lib/esm/3.1/streams.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1331 -1093
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +968 -740
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/models.js +9 -7
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +968 -740
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +3 -3
package/lib/esm/4.0/streams.js
CHANGED
|
@@ -36,6 +36,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
36
36
|
var _this2 = this;
|
|
37
37
|
|
|
38
38
|
return _asyncToGenerator(function* () {
|
|
39
|
+
alert_id = encodeParam(alert_id);
|
|
39
40
|
return _this2.authStream(callback, 'GET', "/alerts/".concat(alert_id), null, null, options);
|
|
40
41
|
})();
|
|
41
42
|
}
|
|
@@ -44,6 +45,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
44
45
|
var _this3 = this;
|
|
45
46
|
|
|
46
47
|
return _asyncToGenerator(function* () {
|
|
48
|
+
alert_id = encodeParam(alert_id);
|
|
47
49
|
return _this3.authStream(callback, 'PUT', "/alerts/".concat(alert_id), null, body, options);
|
|
48
50
|
})();
|
|
49
51
|
}
|
|
@@ -52,6 +54,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
52
54
|
var _this4 = this;
|
|
53
55
|
|
|
54
56
|
return _asyncToGenerator(function* () {
|
|
57
|
+
alert_id = encodeParam(alert_id);
|
|
55
58
|
return _this4.authStream(callback, 'PATCH', "/alerts/".concat(alert_id), null, body, options);
|
|
56
59
|
})();
|
|
57
60
|
}
|
|
@@ -60,6 +63,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
60
63
|
var _this5 = this;
|
|
61
64
|
|
|
62
65
|
return _asyncToGenerator(function* () {
|
|
66
|
+
alert_id = encodeParam(alert_id);
|
|
63
67
|
return _this5.authStream(callback, 'DELETE', "/alerts/".concat(alert_id), null, null, options);
|
|
64
68
|
})();
|
|
65
69
|
}
|
|
@@ -76,6 +80,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
76
80
|
var _this7 = this;
|
|
77
81
|
|
|
78
82
|
return _asyncToGenerator(function* () {
|
|
83
|
+
alert_id = encodeParam(alert_id);
|
|
79
84
|
return _this7.authStream(callback, 'POST', "/alerts/".concat(alert_id, "/enqueue"), {
|
|
80
85
|
force
|
|
81
86
|
}, null, options);
|
|
@@ -97,6 +102,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
97
102
|
var _this9 = this;
|
|
98
103
|
|
|
99
104
|
return _asyncToGenerator(function* () {
|
|
105
|
+
user_id = encodeParam(user_id);
|
|
100
106
|
return _this9.authStream(callback, 'POST', "/login/".concat(user_id), {
|
|
101
107
|
associative
|
|
102
108
|
}, null, options);
|
|
@@ -123,6 +129,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
123
129
|
var _this12 = this;
|
|
124
130
|
|
|
125
131
|
return _asyncToGenerator(function* () {
|
|
132
|
+
embed_secret_id = encodeParam(embed_secret_id);
|
|
126
133
|
return _this12.authStream(callback, 'DELETE', "/embed_config/secrets/".concat(embed_secret_id), null, null, options);
|
|
127
134
|
})();
|
|
128
135
|
}
|
|
@@ -257,6 +264,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
257
264
|
|
|
258
265
|
return _asyncToGenerator(function* () {
|
|
259
266
|
client_guid = encodeParam(client_guid);
|
|
267
|
+
user_id = encodeParam(user_id);
|
|
260
268
|
return _this27.authStream(callback, 'POST', "/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
261
269
|
fields
|
|
262
270
|
}, null, options);
|
|
@@ -268,6 +276,7 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
268
276
|
|
|
269
277
|
return _asyncToGenerator(function* () {
|
|
270
278
|
client_guid = encodeParam(client_guid);
|
|
279
|
+
user_id = encodeParam(user_id);
|
|
271
280
|
return _this28.authStream(callback, 'DELETE', "/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
272
281
|
fields
|
|
273
282
|
}, null, options);
|
|
@@ -414,24 +423,77 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
414
423
|
})();
|
|
415
424
|
}
|
|
416
425
|
|
|
417
|
-
|
|
426
|
+
get_support_access_allowlist_entries(callback, fields, options) {
|
|
418
427
|
var _this46 = this;
|
|
419
428
|
|
|
420
429
|
return _asyncToGenerator(function* () {
|
|
421
|
-
return _this46.authStream(callback, 'GET', '/
|
|
430
|
+
return _this46.authStream(callback, 'GET', '/support_access/allowlist', {
|
|
422
431
|
fields
|
|
423
432
|
}, null, options);
|
|
424
433
|
})();
|
|
425
434
|
}
|
|
426
435
|
|
|
427
|
-
|
|
436
|
+
add_support_access_allowlist_entries(callback, body, options) {
|
|
428
437
|
var _this47 = this;
|
|
429
438
|
|
|
430
439
|
return _asyncToGenerator(function* () {
|
|
431
|
-
return _this47.authStream(callback, '
|
|
440
|
+
return _this47.authStream(callback, 'POST', '/support_access/allowlist', null, body, options);
|
|
441
|
+
})();
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
delete_support_access_allowlist_entry(callback, entry_id, options) {
|
|
445
|
+
var _this48 = this;
|
|
446
|
+
|
|
447
|
+
return _asyncToGenerator(function* () {
|
|
448
|
+
entry_id = encodeParam(entry_id);
|
|
449
|
+
return _this48.authStream(callback, 'DELETE', "/support_access/allowlist/".concat(entry_id), null, null, options);
|
|
450
|
+
})();
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
enable_support_access(callback, body, options) {
|
|
454
|
+
var _this49 = this;
|
|
455
|
+
|
|
456
|
+
return _asyncToGenerator(function* () {
|
|
457
|
+
return _this49.authStream(callback, 'PUT', '/support_access/enable', null, body, options);
|
|
458
|
+
})();
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
disable_support_access(callback, options) {
|
|
462
|
+
var _this50 = this;
|
|
463
|
+
|
|
464
|
+
return _asyncToGenerator(function* () {
|
|
465
|
+
return _this50.authStream(callback, 'PUT', '/support_access/disable', null, null, options);
|
|
466
|
+
})();
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
support_access_status(callback, options) {
|
|
470
|
+
var _this51 = this;
|
|
471
|
+
|
|
472
|
+
return _asyncToGenerator(function* () {
|
|
473
|
+
return _this51.authStream(callback, 'GET', '/support_access/status', null, null, options);
|
|
474
|
+
})();
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
all_user_login_lockouts(callback, fields, options) {
|
|
478
|
+
var _this52 = this;
|
|
479
|
+
|
|
480
|
+
return _asyncToGenerator(function* () {
|
|
481
|
+
return _this52.authStream(callback, 'GET', '/user_login_lockouts', {
|
|
482
|
+
fields
|
|
483
|
+
}, null, options);
|
|
484
|
+
})();
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
search_user_login_lockouts(callback, request, options) {
|
|
488
|
+
var _this53 = this;
|
|
489
|
+
|
|
490
|
+
return _asyncToGenerator(function* () {
|
|
491
|
+
return _this53.authStream(callback, 'GET', '/user_login_lockouts/search', {
|
|
432
492
|
fields: request.fields,
|
|
433
493
|
page: request.page,
|
|
434
494
|
per_page: request.per_page,
|
|
495
|
+
limit: request.limit,
|
|
496
|
+
offset: request.offset,
|
|
435
497
|
sorts: request.sorts,
|
|
436
498
|
auth_type: request.auth_type,
|
|
437
499
|
full_name: request.full_name,
|
|
@@ -443,39 +505,39 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
443
505
|
}
|
|
444
506
|
|
|
445
507
|
delete_user_login_lockout(callback, key, options) {
|
|
446
|
-
var
|
|
508
|
+
var _this54 = this;
|
|
447
509
|
|
|
448
510
|
return _asyncToGenerator(function* () {
|
|
449
511
|
key = encodeParam(key);
|
|
450
|
-
return
|
|
512
|
+
return _this54.authStream(callback, 'DELETE', "/user_login_lockout/".concat(key), null, null, options);
|
|
451
513
|
})();
|
|
452
514
|
}
|
|
453
515
|
|
|
454
516
|
all_boards(callback, fields, options) {
|
|
455
|
-
var
|
|
517
|
+
var _this55 = this;
|
|
456
518
|
|
|
457
519
|
return _asyncToGenerator(function* () {
|
|
458
|
-
return
|
|
520
|
+
return _this55.authStream(callback, 'GET', '/boards', {
|
|
459
521
|
fields
|
|
460
522
|
}, null, options);
|
|
461
523
|
})();
|
|
462
524
|
}
|
|
463
525
|
|
|
464
526
|
create_board(callback, body, fields, options) {
|
|
465
|
-
var
|
|
527
|
+
var _this56 = this;
|
|
466
528
|
|
|
467
529
|
return _asyncToGenerator(function* () {
|
|
468
|
-
return
|
|
530
|
+
return _this56.authStream(callback, 'POST', '/boards', {
|
|
469
531
|
fields
|
|
470
532
|
}, body, options);
|
|
471
533
|
})();
|
|
472
534
|
}
|
|
473
535
|
|
|
474
536
|
search_boards(callback, request, options) {
|
|
475
|
-
var
|
|
537
|
+
var _this57 = this;
|
|
476
538
|
|
|
477
539
|
return _asyncToGenerator(function* () {
|
|
478
|
-
return
|
|
540
|
+
return _this57.authStream(callback, 'GET', '/boards/search', {
|
|
479
541
|
title: request.title,
|
|
480
542
|
created_at: request.created_at,
|
|
481
543
|
first_name: request.first_name,
|
|
@@ -494,38 +556,41 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
494
556
|
}
|
|
495
557
|
|
|
496
558
|
board(callback, board_id, fields, options) {
|
|
497
|
-
var
|
|
559
|
+
var _this58 = this;
|
|
498
560
|
|
|
499
561
|
return _asyncToGenerator(function* () {
|
|
500
|
-
|
|
562
|
+
board_id = encodeParam(board_id);
|
|
563
|
+
return _this58.authStream(callback, 'GET', "/boards/".concat(board_id), {
|
|
501
564
|
fields
|
|
502
565
|
}, null, options);
|
|
503
566
|
})();
|
|
504
567
|
}
|
|
505
568
|
|
|
506
569
|
update_board(callback, board_id, body, fields, options) {
|
|
507
|
-
var
|
|
570
|
+
var _this59 = this;
|
|
508
571
|
|
|
509
572
|
return _asyncToGenerator(function* () {
|
|
510
|
-
|
|
573
|
+
board_id = encodeParam(board_id);
|
|
574
|
+
return _this59.authStream(callback, 'PATCH', "/boards/".concat(board_id), {
|
|
511
575
|
fields
|
|
512
576
|
}, body, options);
|
|
513
577
|
})();
|
|
514
578
|
}
|
|
515
579
|
|
|
516
580
|
delete_board(callback, board_id, options) {
|
|
517
|
-
var
|
|
581
|
+
var _this60 = this;
|
|
518
582
|
|
|
519
583
|
return _asyncToGenerator(function* () {
|
|
520
|
-
|
|
584
|
+
board_id = encodeParam(board_id);
|
|
585
|
+
return _this60.authStream(callback, 'DELETE', "/boards/".concat(board_id), null, null, options);
|
|
521
586
|
})();
|
|
522
587
|
}
|
|
523
588
|
|
|
524
589
|
all_board_items(callback, request, options) {
|
|
525
|
-
var
|
|
590
|
+
var _this61 = this;
|
|
526
591
|
|
|
527
592
|
return _asyncToGenerator(function* () {
|
|
528
|
-
return
|
|
593
|
+
return _this61.authStream(callback, 'GET', '/board_items', {
|
|
529
594
|
fields: request.fields,
|
|
530
595
|
sorts: request.sorts,
|
|
531
596
|
board_section_id: request.board_section_id
|
|
@@ -534,48 +599,51 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
534
599
|
}
|
|
535
600
|
|
|
536
601
|
create_board_item(callback, body, fields, options) {
|
|
537
|
-
var
|
|
602
|
+
var _this62 = this;
|
|
538
603
|
|
|
539
604
|
return _asyncToGenerator(function* () {
|
|
540
|
-
return
|
|
605
|
+
return _this62.authStream(callback, 'POST', '/board_items', {
|
|
541
606
|
fields
|
|
542
607
|
}, body, options);
|
|
543
608
|
})();
|
|
544
609
|
}
|
|
545
610
|
|
|
546
611
|
board_item(callback, board_item_id, fields, options) {
|
|
547
|
-
var
|
|
612
|
+
var _this63 = this;
|
|
548
613
|
|
|
549
614
|
return _asyncToGenerator(function* () {
|
|
550
|
-
|
|
615
|
+
board_item_id = encodeParam(board_item_id);
|
|
616
|
+
return _this63.authStream(callback, 'GET', "/board_items/".concat(board_item_id), {
|
|
551
617
|
fields
|
|
552
618
|
}, null, options);
|
|
553
619
|
})();
|
|
554
620
|
}
|
|
555
621
|
|
|
556
622
|
update_board_item(callback, board_item_id, body, fields, options) {
|
|
557
|
-
var
|
|
623
|
+
var _this64 = this;
|
|
558
624
|
|
|
559
625
|
return _asyncToGenerator(function* () {
|
|
560
|
-
|
|
626
|
+
board_item_id = encodeParam(board_item_id);
|
|
627
|
+
return _this64.authStream(callback, 'PATCH', "/board_items/".concat(board_item_id), {
|
|
561
628
|
fields
|
|
562
629
|
}, body, options);
|
|
563
630
|
})();
|
|
564
631
|
}
|
|
565
632
|
|
|
566
633
|
delete_board_item(callback, board_item_id, options) {
|
|
567
|
-
var
|
|
634
|
+
var _this65 = this;
|
|
568
635
|
|
|
569
636
|
return _asyncToGenerator(function* () {
|
|
570
|
-
|
|
637
|
+
board_item_id = encodeParam(board_item_id);
|
|
638
|
+
return _this65.authStream(callback, 'DELETE', "/board_items/".concat(board_item_id), null, null, options);
|
|
571
639
|
})();
|
|
572
640
|
}
|
|
573
641
|
|
|
574
642
|
all_board_sections(callback, request, options) {
|
|
575
|
-
var
|
|
643
|
+
var _this66 = this;
|
|
576
644
|
|
|
577
645
|
return _asyncToGenerator(function* () {
|
|
578
|
-
return
|
|
646
|
+
return _this66.authStream(callback, 'GET', '/board_sections', {
|
|
579
647
|
fields: request.fields,
|
|
580
648
|
sorts: request.sorts
|
|
581
649
|
}, null, options);
|
|
@@ -583,463 +651,456 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
583
651
|
}
|
|
584
652
|
|
|
585
653
|
create_board_section(callback, body, fields, options) {
|
|
586
|
-
var
|
|
654
|
+
var _this67 = this;
|
|
587
655
|
|
|
588
656
|
return _asyncToGenerator(function* () {
|
|
589
|
-
return
|
|
657
|
+
return _this67.authStream(callback, 'POST', '/board_sections', {
|
|
590
658
|
fields
|
|
591
659
|
}, body, options);
|
|
592
660
|
})();
|
|
593
661
|
}
|
|
594
662
|
|
|
595
663
|
board_section(callback, board_section_id, fields, options) {
|
|
596
|
-
var
|
|
664
|
+
var _this68 = this;
|
|
597
665
|
|
|
598
666
|
return _asyncToGenerator(function* () {
|
|
599
|
-
|
|
667
|
+
board_section_id = encodeParam(board_section_id);
|
|
668
|
+
return _this68.authStream(callback, 'GET', "/board_sections/".concat(board_section_id), {
|
|
600
669
|
fields
|
|
601
670
|
}, null, options);
|
|
602
671
|
})();
|
|
603
672
|
}
|
|
604
673
|
|
|
605
674
|
update_board_section(callback, board_section_id, body, fields, options) {
|
|
606
|
-
var
|
|
675
|
+
var _this69 = this;
|
|
607
676
|
|
|
608
677
|
return _asyncToGenerator(function* () {
|
|
609
|
-
|
|
678
|
+
board_section_id = encodeParam(board_section_id);
|
|
679
|
+
return _this69.authStream(callback, 'PATCH', "/board_sections/".concat(board_section_id), {
|
|
610
680
|
fields
|
|
611
681
|
}, body, options);
|
|
612
682
|
})();
|
|
613
683
|
}
|
|
614
684
|
|
|
615
685
|
delete_board_section(callback, board_section_id, options) {
|
|
616
|
-
var
|
|
686
|
+
var _this70 = this;
|
|
617
687
|
|
|
618
688
|
return _asyncToGenerator(function* () {
|
|
619
|
-
|
|
689
|
+
board_section_id = encodeParam(board_section_id);
|
|
690
|
+
return _this70.authStream(callback, 'DELETE', "/board_sections/".concat(board_section_id), null, null, options);
|
|
620
691
|
})();
|
|
621
692
|
}
|
|
622
693
|
|
|
623
694
|
all_color_collections(callback, fields, options) {
|
|
624
|
-
var
|
|
695
|
+
var _this71 = this;
|
|
625
696
|
|
|
626
697
|
return _asyncToGenerator(function* () {
|
|
627
|
-
return
|
|
698
|
+
return _this71.authStream(callback, 'GET', '/color_collections', {
|
|
628
699
|
fields
|
|
629
700
|
}, null, options);
|
|
630
701
|
})();
|
|
631
702
|
}
|
|
632
703
|
|
|
633
704
|
create_color_collection(callback, body, options) {
|
|
634
|
-
var
|
|
705
|
+
var _this72 = this;
|
|
635
706
|
|
|
636
707
|
return _asyncToGenerator(function* () {
|
|
637
|
-
return
|
|
708
|
+
return _this72.authStream(callback, 'POST', '/color_collections', null, body, options);
|
|
638
709
|
})();
|
|
639
710
|
}
|
|
640
711
|
|
|
641
712
|
color_collections_custom(callback, fields, options) {
|
|
642
|
-
var
|
|
713
|
+
var _this73 = this;
|
|
643
714
|
|
|
644
715
|
return _asyncToGenerator(function* () {
|
|
645
|
-
return
|
|
716
|
+
return _this73.authStream(callback, 'GET', '/color_collections/custom', {
|
|
646
717
|
fields
|
|
647
718
|
}, null, options);
|
|
648
719
|
})();
|
|
649
720
|
}
|
|
650
721
|
|
|
651
722
|
color_collections_standard(callback, fields, options) {
|
|
652
|
-
var
|
|
723
|
+
var _this74 = this;
|
|
653
724
|
|
|
654
725
|
return _asyncToGenerator(function* () {
|
|
655
|
-
return
|
|
726
|
+
return _this74.authStream(callback, 'GET', '/color_collections/standard', {
|
|
656
727
|
fields
|
|
657
728
|
}, null, options);
|
|
658
729
|
})();
|
|
659
730
|
}
|
|
660
731
|
|
|
661
732
|
default_color_collection(callback, options) {
|
|
662
|
-
var
|
|
733
|
+
var _this75 = this;
|
|
663
734
|
|
|
664
735
|
return _asyncToGenerator(function* () {
|
|
665
|
-
return
|
|
736
|
+
return _this75.authStream(callback, 'GET', '/color_collections/default', null, null, options);
|
|
666
737
|
})();
|
|
667
738
|
}
|
|
668
739
|
|
|
669
740
|
set_default_color_collection(callback, collection_id, options) {
|
|
670
|
-
var
|
|
741
|
+
var _this76 = this;
|
|
671
742
|
|
|
672
743
|
return _asyncToGenerator(function* () {
|
|
673
|
-
return
|
|
744
|
+
return _this76.authStream(callback, 'PUT', '/color_collections/default', {
|
|
674
745
|
collection_id
|
|
675
746
|
}, null, options);
|
|
676
747
|
})();
|
|
677
748
|
}
|
|
678
749
|
|
|
679
750
|
color_collection(callback, collection_id, fields, options) {
|
|
680
|
-
var
|
|
751
|
+
var _this77 = this;
|
|
681
752
|
|
|
682
753
|
return _asyncToGenerator(function* () {
|
|
683
754
|
collection_id = encodeParam(collection_id);
|
|
684
|
-
return
|
|
755
|
+
return _this77.authStream(callback, 'GET', "/color_collections/".concat(collection_id), {
|
|
685
756
|
fields
|
|
686
757
|
}, null, options);
|
|
687
758
|
})();
|
|
688
759
|
}
|
|
689
760
|
|
|
690
761
|
update_color_collection(callback, collection_id, body, options) {
|
|
691
|
-
var
|
|
762
|
+
var _this78 = this;
|
|
692
763
|
|
|
693
764
|
return _asyncToGenerator(function* () {
|
|
694
765
|
collection_id = encodeParam(collection_id);
|
|
695
|
-
return
|
|
766
|
+
return _this78.authStream(callback, 'PATCH', "/color_collections/".concat(collection_id), null, body, options);
|
|
696
767
|
})();
|
|
697
768
|
}
|
|
698
769
|
|
|
699
770
|
delete_color_collection(callback, collection_id, options) {
|
|
700
|
-
var
|
|
771
|
+
var _this79 = this;
|
|
701
772
|
|
|
702
773
|
return _asyncToGenerator(function* () {
|
|
703
774
|
collection_id = encodeParam(collection_id);
|
|
704
|
-
return
|
|
705
|
-
})();
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
get_all_commands(callback, request, options) {
|
|
709
|
-
var _this74 = this;
|
|
710
|
-
|
|
711
|
-
return _asyncToGenerator(function* () {
|
|
712
|
-
return _this74.authStream(callback, 'GET', '/commands', {
|
|
713
|
-
content_id: request.content_id,
|
|
714
|
-
content_type: request.content_type,
|
|
715
|
-
limit: request.limit
|
|
716
|
-
}, null, options);
|
|
717
|
-
})();
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
create_command(callback, body, options) {
|
|
721
|
-
var _this75 = this;
|
|
722
|
-
|
|
723
|
-
return _asyncToGenerator(function* () {
|
|
724
|
-
return _this75.authStream(callback, 'POST', '/commands', null, body, options);
|
|
725
|
-
})();
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
update_command(callback, command_id, body, options) {
|
|
729
|
-
var _this76 = this;
|
|
730
|
-
|
|
731
|
-
return _asyncToGenerator(function* () {
|
|
732
|
-
return _this76.authStream(callback, 'PATCH', "/commands/".concat(command_id), null, body, options);
|
|
733
|
-
})();
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
delete_command(callback, command_id, options) {
|
|
737
|
-
var _this77 = this;
|
|
738
|
-
|
|
739
|
-
return _asyncToGenerator(function* () {
|
|
740
|
-
return _this77.authStream(callback, 'DELETE', "/commands/".concat(command_id), null, null, options);
|
|
775
|
+
return _this79.authStream(callback, 'DELETE', "/color_collections/".concat(collection_id), null, null, options);
|
|
741
776
|
})();
|
|
742
777
|
}
|
|
743
778
|
|
|
744
779
|
cloud_storage_configuration(callback, options) {
|
|
745
|
-
var
|
|
780
|
+
var _this80 = this;
|
|
746
781
|
|
|
747
782
|
return _asyncToGenerator(function* () {
|
|
748
|
-
return
|
|
783
|
+
return _this80.authStream(callback, 'GET', '/cloud_storage', null, null, options);
|
|
749
784
|
})();
|
|
750
785
|
}
|
|
751
786
|
|
|
752
787
|
update_cloud_storage_configuration(callback, body, options) {
|
|
753
|
-
var
|
|
788
|
+
var _this81 = this;
|
|
754
789
|
|
|
755
790
|
return _asyncToGenerator(function* () {
|
|
756
|
-
return
|
|
791
|
+
return _this81.authStream(callback, 'PATCH', '/cloud_storage', null, body, options);
|
|
757
792
|
})();
|
|
758
793
|
}
|
|
759
794
|
|
|
760
795
|
custom_welcome_email(callback, options) {
|
|
761
|
-
var
|
|
796
|
+
var _this82 = this;
|
|
762
797
|
|
|
763
798
|
return _asyncToGenerator(function* () {
|
|
764
|
-
return
|
|
799
|
+
return _this82.authStream(callback, 'GET', '/custom_welcome_email', null, null, options);
|
|
765
800
|
})();
|
|
766
801
|
}
|
|
767
802
|
|
|
768
803
|
update_custom_welcome_email(callback, body, send_test_welcome_email, options) {
|
|
769
|
-
var
|
|
804
|
+
var _this83 = this;
|
|
770
805
|
|
|
771
806
|
return _asyncToGenerator(function* () {
|
|
772
|
-
return
|
|
807
|
+
return _this83.authStream(callback, 'PATCH', '/custom_welcome_email', {
|
|
773
808
|
send_test_welcome_email
|
|
774
809
|
}, body, options);
|
|
775
810
|
})();
|
|
776
811
|
}
|
|
777
812
|
|
|
778
813
|
update_custom_welcome_email_test(callback, body, options) {
|
|
779
|
-
var
|
|
814
|
+
var _this84 = this;
|
|
780
815
|
|
|
781
816
|
return _asyncToGenerator(function* () {
|
|
782
|
-
return
|
|
817
|
+
return _this84.authStream(callback, 'PUT', '/custom_welcome_email_test', null, body, options);
|
|
783
818
|
})();
|
|
784
819
|
}
|
|
785
820
|
|
|
786
821
|
digest_emails_enabled(callback, options) {
|
|
787
|
-
var
|
|
822
|
+
var _this85 = this;
|
|
788
823
|
|
|
789
824
|
return _asyncToGenerator(function* () {
|
|
790
|
-
return
|
|
825
|
+
return _this85.authStream(callback, 'GET', '/digest_emails_enabled', null, null, options);
|
|
791
826
|
})();
|
|
792
827
|
}
|
|
793
828
|
|
|
794
829
|
update_digest_emails_enabled(callback, body, options) {
|
|
795
|
-
var
|
|
830
|
+
var _this86 = this;
|
|
796
831
|
|
|
797
832
|
return _asyncToGenerator(function* () {
|
|
798
|
-
return
|
|
833
|
+
return _this86.authStream(callback, 'PATCH', '/digest_emails_enabled', null, body, options);
|
|
799
834
|
})();
|
|
800
835
|
}
|
|
801
836
|
|
|
802
837
|
create_digest_email_send(callback, options) {
|
|
803
|
-
var
|
|
838
|
+
var _this87 = this;
|
|
839
|
+
|
|
840
|
+
return _asyncToGenerator(function* () {
|
|
841
|
+
return _this87.authStream(callback, 'POST', '/digest_email_send', null, null, options);
|
|
842
|
+
})();
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
public_egress_ip_addresses(callback, options) {
|
|
846
|
+
var _this88 = this;
|
|
804
847
|
|
|
805
848
|
return _asyncToGenerator(function* () {
|
|
806
|
-
return
|
|
849
|
+
return _this88.authStream(callback, 'GET', '/public_egress_ip_addresses', null, null, options);
|
|
807
850
|
})();
|
|
808
851
|
}
|
|
809
852
|
|
|
810
853
|
internal_help_resources_content(callback, options) {
|
|
811
|
-
var
|
|
854
|
+
var _this89 = this;
|
|
812
855
|
|
|
813
856
|
return _asyncToGenerator(function* () {
|
|
814
|
-
return
|
|
857
|
+
return _this89.authStream(callback, 'GET', '/internal_help_resources_content', null, null, options);
|
|
815
858
|
})();
|
|
816
859
|
}
|
|
817
860
|
|
|
818
861
|
update_internal_help_resources_content(callback, body, options) {
|
|
819
|
-
var
|
|
862
|
+
var _this90 = this;
|
|
820
863
|
|
|
821
864
|
return _asyncToGenerator(function* () {
|
|
822
|
-
return
|
|
865
|
+
return _this90.authStream(callback, 'PATCH', '/internal_help_resources_content', null, body, options);
|
|
823
866
|
})();
|
|
824
867
|
}
|
|
825
868
|
|
|
826
869
|
internal_help_resources(callback, options) {
|
|
827
|
-
var
|
|
870
|
+
var _this91 = this;
|
|
828
871
|
|
|
829
872
|
return _asyncToGenerator(function* () {
|
|
830
|
-
return
|
|
873
|
+
return _this91.authStream(callback, 'GET', '/internal_help_resources_enabled', null, null, options);
|
|
831
874
|
})();
|
|
832
875
|
}
|
|
833
876
|
|
|
834
877
|
update_internal_help_resources(callback, body, options) {
|
|
835
|
-
var
|
|
878
|
+
var _this92 = this;
|
|
836
879
|
|
|
837
880
|
return _asyncToGenerator(function* () {
|
|
838
|
-
return
|
|
881
|
+
return _this92.authStream(callback, 'PATCH', '/internal_help_resources', null, body, options);
|
|
839
882
|
})();
|
|
840
883
|
}
|
|
841
884
|
|
|
842
885
|
all_legacy_features(callback, options) {
|
|
843
|
-
var
|
|
886
|
+
var _this93 = this;
|
|
844
887
|
|
|
845
888
|
return _asyncToGenerator(function* () {
|
|
846
|
-
return
|
|
889
|
+
return _this93.authStream(callback, 'GET', '/legacy_features', null, null, options);
|
|
847
890
|
})();
|
|
848
891
|
}
|
|
849
892
|
|
|
850
893
|
legacy_feature(callback, legacy_feature_id, options) {
|
|
851
|
-
var
|
|
894
|
+
var _this94 = this;
|
|
852
895
|
|
|
853
896
|
return _asyncToGenerator(function* () {
|
|
854
897
|
legacy_feature_id = encodeParam(legacy_feature_id);
|
|
855
|
-
return
|
|
898
|
+
return _this94.authStream(callback, 'GET', "/legacy_features/".concat(legacy_feature_id), null, null, options);
|
|
856
899
|
})();
|
|
857
900
|
}
|
|
858
901
|
|
|
859
902
|
update_legacy_feature(callback, legacy_feature_id, body, options) {
|
|
860
|
-
var
|
|
903
|
+
var _this95 = this;
|
|
861
904
|
|
|
862
905
|
return _asyncToGenerator(function* () {
|
|
863
906
|
legacy_feature_id = encodeParam(legacy_feature_id);
|
|
864
|
-
return
|
|
907
|
+
return _this95.authStream(callback, 'PATCH', "/legacy_features/".concat(legacy_feature_id), null, body, options);
|
|
865
908
|
})();
|
|
866
909
|
}
|
|
867
910
|
|
|
868
911
|
all_locales(callback, options) {
|
|
869
|
-
var
|
|
912
|
+
var _this96 = this;
|
|
870
913
|
|
|
871
914
|
return _asyncToGenerator(function* () {
|
|
872
|
-
return
|
|
915
|
+
return _this96.authStream(callback, 'GET', '/locales', null, null, options);
|
|
873
916
|
})();
|
|
874
917
|
}
|
|
875
918
|
|
|
876
919
|
mobile_settings(callback, options) {
|
|
877
|
-
var
|
|
920
|
+
var _this97 = this;
|
|
878
921
|
|
|
879
922
|
return _asyncToGenerator(function* () {
|
|
880
|
-
return
|
|
923
|
+
return _this97.authStream(callback, 'GET', '/mobile/settings', null, null, options);
|
|
881
924
|
})();
|
|
882
925
|
}
|
|
883
926
|
|
|
884
927
|
get_setting(callback, fields, options) {
|
|
885
|
-
var
|
|
928
|
+
var _this98 = this;
|
|
886
929
|
|
|
887
930
|
return _asyncToGenerator(function* () {
|
|
888
|
-
return
|
|
931
|
+
return _this98.authStream(callback, 'GET', '/setting', {
|
|
889
932
|
fields
|
|
890
933
|
}, null, options);
|
|
891
934
|
})();
|
|
892
935
|
}
|
|
893
936
|
|
|
894
937
|
set_setting(callback, body, fields, options) {
|
|
895
|
-
var
|
|
938
|
+
var _this99 = this;
|
|
896
939
|
|
|
897
940
|
return _asyncToGenerator(function* () {
|
|
898
|
-
return
|
|
941
|
+
return _this99.authStream(callback, 'PATCH', '/setting', {
|
|
899
942
|
fields
|
|
900
943
|
}, body, options);
|
|
901
944
|
})();
|
|
902
945
|
}
|
|
903
946
|
|
|
947
|
+
set_smtp_settings(callback, body, options) {
|
|
948
|
+
var _this100 = this;
|
|
949
|
+
|
|
950
|
+
return _asyncToGenerator(function* () {
|
|
951
|
+
return _this100.authStream(callback, 'POST', '/smtp_settings', null, body, options);
|
|
952
|
+
})();
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
smtp_status(callback, fields, options) {
|
|
956
|
+
var _this101 = this;
|
|
957
|
+
|
|
958
|
+
return _asyncToGenerator(function* () {
|
|
959
|
+
return _this101.authStream(callback, 'GET', '/smtp_status', {
|
|
960
|
+
fields
|
|
961
|
+
}, null, options);
|
|
962
|
+
})();
|
|
963
|
+
}
|
|
964
|
+
|
|
904
965
|
all_timezones(callback, options) {
|
|
905
|
-
var
|
|
966
|
+
var _this102 = this;
|
|
906
967
|
|
|
907
968
|
return _asyncToGenerator(function* () {
|
|
908
|
-
return
|
|
969
|
+
return _this102.authStream(callback, 'GET', '/timezones', null, null, options);
|
|
909
970
|
})();
|
|
910
971
|
}
|
|
911
972
|
|
|
912
973
|
versions(callback, fields, options) {
|
|
913
|
-
var
|
|
974
|
+
var _this103 = this;
|
|
914
975
|
|
|
915
976
|
return _asyncToGenerator(function* () {
|
|
916
|
-
return
|
|
977
|
+
return _this103.authStream(callback, 'GET', '/versions', {
|
|
917
978
|
fields
|
|
918
979
|
}, null, options);
|
|
919
980
|
})();
|
|
920
981
|
}
|
|
921
982
|
|
|
922
983
|
api_spec(callback, api_version, specification, options) {
|
|
923
|
-
var
|
|
984
|
+
var _this104 = this;
|
|
924
985
|
|
|
925
986
|
return _asyncToGenerator(function* () {
|
|
926
987
|
api_version = encodeParam(api_version);
|
|
927
988
|
specification = encodeParam(specification);
|
|
928
|
-
return
|
|
989
|
+
return _this104.authStream(callback, 'GET', "/api_spec/".concat(api_version, "/").concat(specification), null, null, options);
|
|
929
990
|
})();
|
|
930
991
|
}
|
|
931
992
|
|
|
932
993
|
whitelabel_configuration(callback, fields, options) {
|
|
933
|
-
var
|
|
994
|
+
var _this105 = this;
|
|
934
995
|
|
|
935
996
|
return _asyncToGenerator(function* () {
|
|
936
|
-
return
|
|
997
|
+
return _this105.authStream(callback, 'GET', '/whitelabel_configuration', {
|
|
937
998
|
fields
|
|
938
999
|
}, null, options);
|
|
939
1000
|
})();
|
|
940
1001
|
}
|
|
941
1002
|
|
|
942
1003
|
update_whitelabel_configuration(callback, body, options) {
|
|
943
|
-
var
|
|
1004
|
+
var _this106 = this;
|
|
944
1005
|
|
|
945
1006
|
return _asyncToGenerator(function* () {
|
|
946
|
-
return
|
|
1007
|
+
return _this106.authStream(callback, 'PUT', '/whitelabel_configuration', null, body, options);
|
|
947
1008
|
})();
|
|
948
1009
|
}
|
|
949
1010
|
|
|
950
1011
|
all_connections(callback, fields, options) {
|
|
951
|
-
var
|
|
1012
|
+
var _this107 = this;
|
|
952
1013
|
|
|
953
1014
|
return _asyncToGenerator(function* () {
|
|
954
|
-
return
|
|
1015
|
+
return _this107.authStream(callback, 'GET', '/connections', {
|
|
955
1016
|
fields
|
|
956
1017
|
}, null, options);
|
|
957
1018
|
})();
|
|
958
1019
|
}
|
|
959
1020
|
|
|
960
1021
|
create_connection(callback, body, options) {
|
|
961
|
-
var
|
|
1022
|
+
var _this108 = this;
|
|
962
1023
|
|
|
963
1024
|
return _asyncToGenerator(function* () {
|
|
964
|
-
return
|
|
1025
|
+
return _this108.authStream(callback, 'POST', '/connections', null, body, options);
|
|
965
1026
|
})();
|
|
966
1027
|
}
|
|
967
1028
|
|
|
968
1029
|
connection(callback, connection_name, fields, options) {
|
|
969
|
-
var
|
|
1030
|
+
var _this109 = this;
|
|
970
1031
|
|
|
971
1032
|
return _asyncToGenerator(function* () {
|
|
972
1033
|
connection_name = encodeParam(connection_name);
|
|
973
|
-
return
|
|
1034
|
+
return _this109.authStream(callback, 'GET', "/connections/".concat(connection_name), {
|
|
974
1035
|
fields
|
|
975
1036
|
}, null, options);
|
|
976
1037
|
})();
|
|
977
1038
|
}
|
|
978
1039
|
|
|
979
1040
|
update_connection(callback, connection_name, body, options) {
|
|
980
|
-
var
|
|
1041
|
+
var _this110 = this;
|
|
981
1042
|
|
|
982
1043
|
return _asyncToGenerator(function* () {
|
|
983
1044
|
connection_name = encodeParam(connection_name);
|
|
984
|
-
return
|
|
1045
|
+
return _this110.authStream(callback, 'PATCH', "/connections/".concat(connection_name), null, body, options);
|
|
985
1046
|
})();
|
|
986
1047
|
}
|
|
987
1048
|
|
|
988
1049
|
delete_connection(callback, connection_name, options) {
|
|
989
|
-
var
|
|
1050
|
+
var _this111 = this;
|
|
990
1051
|
|
|
991
1052
|
return _asyncToGenerator(function* () {
|
|
992
1053
|
connection_name = encodeParam(connection_name);
|
|
993
|
-
return
|
|
1054
|
+
return _this111.authStream(callback, 'DELETE', "/connections/".concat(connection_name), null, null, options);
|
|
994
1055
|
})();
|
|
995
1056
|
}
|
|
996
1057
|
|
|
997
1058
|
delete_connection_override(callback, connection_name, override_context, options) {
|
|
998
|
-
var
|
|
1059
|
+
var _this112 = this;
|
|
999
1060
|
|
|
1000
1061
|
return _asyncToGenerator(function* () {
|
|
1001
1062
|
connection_name = encodeParam(connection_name);
|
|
1002
1063
|
override_context = encodeParam(override_context);
|
|
1003
|
-
return
|
|
1064
|
+
return _this112.authStream(callback, 'DELETE', "/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
|
|
1004
1065
|
})();
|
|
1005
1066
|
}
|
|
1006
1067
|
|
|
1007
1068
|
test_connection(callback, connection_name, tests, options) {
|
|
1008
|
-
var
|
|
1069
|
+
var _this113 = this;
|
|
1009
1070
|
|
|
1010
1071
|
return _asyncToGenerator(function* () {
|
|
1011
1072
|
connection_name = encodeParam(connection_name);
|
|
1012
|
-
return
|
|
1073
|
+
return _this113.authStream(callback, 'PUT', "/connections/".concat(connection_name, "/test"), {
|
|
1013
1074
|
tests
|
|
1014
1075
|
}, null, options);
|
|
1015
1076
|
})();
|
|
1016
1077
|
}
|
|
1017
1078
|
|
|
1018
1079
|
test_connection_config(callback, body, tests, options) {
|
|
1019
|
-
var
|
|
1080
|
+
var _this114 = this;
|
|
1020
1081
|
|
|
1021
1082
|
return _asyncToGenerator(function* () {
|
|
1022
|
-
return
|
|
1083
|
+
return _this114.authStream(callback, 'PUT', '/connections/test', {
|
|
1023
1084
|
tests
|
|
1024
1085
|
}, body, options);
|
|
1025
1086
|
})();
|
|
1026
1087
|
}
|
|
1027
1088
|
|
|
1028
1089
|
all_dialect_infos(callback, fields, options) {
|
|
1029
|
-
var
|
|
1090
|
+
var _this115 = this;
|
|
1030
1091
|
|
|
1031
1092
|
return _asyncToGenerator(function* () {
|
|
1032
|
-
return
|
|
1093
|
+
return _this115.authStream(callback, 'GET', '/dialect_info', {
|
|
1033
1094
|
fields
|
|
1034
1095
|
}, null, options);
|
|
1035
1096
|
})();
|
|
1036
1097
|
}
|
|
1037
1098
|
|
|
1038
1099
|
all_external_oauth_applications(callback, request, options) {
|
|
1039
|
-
var
|
|
1100
|
+
var _this116 = this;
|
|
1040
1101
|
|
|
1041
1102
|
return _asyncToGenerator(function* () {
|
|
1042
|
-
return
|
|
1103
|
+
return _this116.authStream(callback, 'GET', '/external_oauth_applications', {
|
|
1043
1104
|
name: request.name,
|
|
1044
1105
|
client_id: request.client_id
|
|
1045
1106
|
}, null, options);
|
|
@@ -1047,142 +1108,142 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1047
1108
|
}
|
|
1048
1109
|
|
|
1049
1110
|
create_external_oauth_application(callback, body, options) {
|
|
1050
|
-
var
|
|
1111
|
+
var _this117 = this;
|
|
1051
1112
|
|
|
1052
1113
|
return _asyncToGenerator(function* () {
|
|
1053
|
-
return
|
|
1114
|
+
return _this117.authStream(callback, 'POST', '/external_oauth_applications', null, body, options);
|
|
1054
1115
|
})();
|
|
1055
1116
|
}
|
|
1056
1117
|
|
|
1057
1118
|
create_oauth_application_user_state(callback, body, options) {
|
|
1058
|
-
var
|
|
1119
|
+
var _this118 = this;
|
|
1059
1120
|
|
|
1060
1121
|
return _asyncToGenerator(function* () {
|
|
1061
|
-
return
|
|
1122
|
+
return _this118.authStream(callback, 'POST', '/external_oauth_applications/user_state', null, body, options);
|
|
1062
1123
|
})();
|
|
1063
1124
|
}
|
|
1064
1125
|
|
|
1065
1126
|
all_ssh_servers(callback, fields, options) {
|
|
1066
|
-
var
|
|
1127
|
+
var _this119 = this;
|
|
1067
1128
|
|
|
1068
1129
|
return _asyncToGenerator(function* () {
|
|
1069
|
-
return
|
|
1130
|
+
return _this119.authStream(callback, 'GET', '/ssh_servers', {
|
|
1070
1131
|
fields
|
|
1071
1132
|
}, null, options);
|
|
1072
1133
|
})();
|
|
1073
1134
|
}
|
|
1074
1135
|
|
|
1075
1136
|
create_ssh_server(callback, body, options) {
|
|
1076
|
-
var
|
|
1137
|
+
var _this120 = this;
|
|
1077
1138
|
|
|
1078
1139
|
return _asyncToGenerator(function* () {
|
|
1079
|
-
return
|
|
1140
|
+
return _this120.authStream(callback, 'POST', '/ssh_servers', null, body, options);
|
|
1080
1141
|
})();
|
|
1081
1142
|
}
|
|
1082
1143
|
|
|
1083
1144
|
ssh_server(callback, ssh_server_id, options) {
|
|
1084
|
-
var
|
|
1145
|
+
var _this121 = this;
|
|
1085
1146
|
|
|
1086
1147
|
return _asyncToGenerator(function* () {
|
|
1087
1148
|
ssh_server_id = encodeParam(ssh_server_id);
|
|
1088
|
-
return
|
|
1149
|
+
return _this121.authStream(callback, 'GET', "/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1089
1150
|
})();
|
|
1090
1151
|
}
|
|
1091
1152
|
|
|
1092
1153
|
update_ssh_server(callback, ssh_server_id, body, options) {
|
|
1093
|
-
var
|
|
1154
|
+
var _this122 = this;
|
|
1094
1155
|
|
|
1095
1156
|
return _asyncToGenerator(function* () {
|
|
1096
1157
|
ssh_server_id = encodeParam(ssh_server_id);
|
|
1097
|
-
return
|
|
1158
|
+
return _this122.authStream(callback, 'PATCH', "/ssh_server/".concat(ssh_server_id), null, body, options);
|
|
1098
1159
|
})();
|
|
1099
1160
|
}
|
|
1100
1161
|
|
|
1101
1162
|
delete_ssh_server(callback, ssh_server_id, options) {
|
|
1102
|
-
var
|
|
1163
|
+
var _this123 = this;
|
|
1103
1164
|
|
|
1104
1165
|
return _asyncToGenerator(function* () {
|
|
1105
1166
|
ssh_server_id = encodeParam(ssh_server_id);
|
|
1106
|
-
return
|
|
1167
|
+
return _this123.authStream(callback, 'DELETE', "/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1107
1168
|
})();
|
|
1108
1169
|
}
|
|
1109
1170
|
|
|
1110
1171
|
test_ssh_server(callback, ssh_server_id, options) {
|
|
1111
|
-
var
|
|
1172
|
+
var _this124 = this;
|
|
1112
1173
|
|
|
1113
1174
|
return _asyncToGenerator(function* () {
|
|
1114
1175
|
ssh_server_id = encodeParam(ssh_server_id);
|
|
1115
|
-
return
|
|
1176
|
+
return _this124.authStream(callback, 'GET', "/ssh_server/".concat(ssh_server_id, "/test"), null, null, options);
|
|
1116
1177
|
})();
|
|
1117
1178
|
}
|
|
1118
1179
|
|
|
1119
1180
|
all_ssh_tunnels(callback, fields, options) {
|
|
1120
|
-
var
|
|
1181
|
+
var _this125 = this;
|
|
1121
1182
|
|
|
1122
1183
|
return _asyncToGenerator(function* () {
|
|
1123
|
-
return
|
|
1184
|
+
return _this125.authStream(callback, 'GET', '/ssh_tunnels', {
|
|
1124
1185
|
fields
|
|
1125
1186
|
}, null, options);
|
|
1126
1187
|
})();
|
|
1127
1188
|
}
|
|
1128
1189
|
|
|
1129
1190
|
create_ssh_tunnel(callback, body, options) {
|
|
1130
|
-
var
|
|
1191
|
+
var _this126 = this;
|
|
1131
1192
|
|
|
1132
1193
|
return _asyncToGenerator(function* () {
|
|
1133
|
-
return
|
|
1194
|
+
return _this126.authStream(callback, 'POST', '/ssh_tunnels', null, body, options);
|
|
1134
1195
|
})();
|
|
1135
1196
|
}
|
|
1136
1197
|
|
|
1137
1198
|
ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1138
|
-
var
|
|
1199
|
+
var _this127 = this;
|
|
1139
1200
|
|
|
1140
1201
|
return _asyncToGenerator(function* () {
|
|
1141
1202
|
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1142
|
-
return
|
|
1203
|
+
return _this127.authStream(callback, 'GET', "/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1143
1204
|
})();
|
|
1144
1205
|
}
|
|
1145
1206
|
|
|
1146
1207
|
update_ssh_tunnel(callback, ssh_tunnel_id, body, options) {
|
|
1147
|
-
var
|
|
1208
|
+
var _this128 = this;
|
|
1148
1209
|
|
|
1149
1210
|
return _asyncToGenerator(function* () {
|
|
1150
1211
|
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1151
|
-
return
|
|
1212
|
+
return _this128.authStream(callback, 'PATCH', "/ssh_tunnel/".concat(ssh_tunnel_id), null, body, options);
|
|
1152
1213
|
})();
|
|
1153
1214
|
}
|
|
1154
1215
|
|
|
1155
1216
|
delete_ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1156
|
-
var
|
|
1217
|
+
var _this129 = this;
|
|
1157
1218
|
|
|
1158
1219
|
return _asyncToGenerator(function* () {
|
|
1159
1220
|
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1160
|
-
return
|
|
1221
|
+
return _this129.authStream(callback, 'DELETE', "/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1161
1222
|
})();
|
|
1162
1223
|
}
|
|
1163
1224
|
|
|
1164
1225
|
test_ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1165
|
-
var
|
|
1226
|
+
var _this130 = this;
|
|
1166
1227
|
|
|
1167
1228
|
return _asyncToGenerator(function* () {
|
|
1168
1229
|
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1169
|
-
return
|
|
1230
|
+
return _this130.authStream(callback, 'GET', "/ssh_tunnel/".concat(ssh_tunnel_id, "/test"), null, null, options);
|
|
1170
1231
|
})();
|
|
1171
1232
|
}
|
|
1172
1233
|
|
|
1173
1234
|
ssh_public_key(callback, options) {
|
|
1174
|
-
var
|
|
1235
|
+
var _this131 = this;
|
|
1175
1236
|
|
|
1176
1237
|
return _asyncToGenerator(function* () {
|
|
1177
|
-
return
|
|
1238
|
+
return _this131.authStream(callback, 'GET', '/ssh_public_key', null, null, options);
|
|
1178
1239
|
})();
|
|
1179
1240
|
}
|
|
1180
1241
|
|
|
1181
1242
|
search_content_favorites(callback, request, options) {
|
|
1182
|
-
var
|
|
1243
|
+
var _this132 = this;
|
|
1183
1244
|
|
|
1184
1245
|
return _asyncToGenerator(function* () {
|
|
1185
|
-
return
|
|
1246
|
+
return _this132.authStream(callback, 'GET', '/content_favorite/search', {
|
|
1186
1247
|
id: request.id,
|
|
1187
1248
|
user_id: request.user_id,
|
|
1188
1249
|
content_metadata_id: request.content_metadata_id,
|
|
@@ -1199,36 +1260,38 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1199
1260
|
}
|
|
1200
1261
|
|
|
1201
1262
|
content_favorite(callback, content_favorite_id, fields, options) {
|
|
1202
|
-
var
|
|
1263
|
+
var _this133 = this;
|
|
1203
1264
|
|
|
1204
1265
|
return _asyncToGenerator(function* () {
|
|
1205
|
-
|
|
1266
|
+
content_favorite_id = encodeParam(content_favorite_id);
|
|
1267
|
+
return _this133.authStream(callback, 'GET', "/content_favorite/".concat(content_favorite_id), {
|
|
1206
1268
|
fields
|
|
1207
1269
|
}, null, options);
|
|
1208
1270
|
})();
|
|
1209
1271
|
}
|
|
1210
1272
|
|
|
1211
1273
|
delete_content_favorite(callback, content_favorite_id, options) {
|
|
1212
|
-
var
|
|
1274
|
+
var _this134 = this;
|
|
1213
1275
|
|
|
1214
1276
|
return _asyncToGenerator(function* () {
|
|
1215
|
-
|
|
1277
|
+
content_favorite_id = encodeParam(content_favorite_id);
|
|
1278
|
+
return _this134.authStream(callback, 'DELETE', "/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
1216
1279
|
})();
|
|
1217
1280
|
}
|
|
1218
1281
|
|
|
1219
1282
|
create_content_favorite(callback, body, options) {
|
|
1220
|
-
var
|
|
1283
|
+
var _this135 = this;
|
|
1221
1284
|
|
|
1222
1285
|
return _asyncToGenerator(function* () {
|
|
1223
|
-
return
|
|
1286
|
+
return _this135.authStream(callback, 'POST', '/content_favorite', null, body, options);
|
|
1224
1287
|
})();
|
|
1225
1288
|
}
|
|
1226
1289
|
|
|
1227
1290
|
all_content_metadatas(callback, parent_id, fields, options) {
|
|
1228
|
-
var
|
|
1291
|
+
var _this136 = this;
|
|
1229
1292
|
|
|
1230
1293
|
return _asyncToGenerator(function* () {
|
|
1231
|
-
return
|
|
1294
|
+
return _this136.authStream(callback, 'GET', '/content_metadata', {
|
|
1232
1295
|
parent_id,
|
|
1233
1296
|
fields
|
|
1234
1297
|
}, null, options);
|
|
@@ -1236,28 +1299,30 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1236
1299
|
}
|
|
1237
1300
|
|
|
1238
1301
|
content_metadata(callback, content_metadata_id, fields, options) {
|
|
1239
|
-
var
|
|
1302
|
+
var _this137 = this;
|
|
1240
1303
|
|
|
1241
1304
|
return _asyncToGenerator(function* () {
|
|
1242
|
-
|
|
1305
|
+
content_metadata_id = encodeParam(content_metadata_id);
|
|
1306
|
+
return _this137.authStream(callback, 'GET', "/content_metadata/".concat(content_metadata_id), {
|
|
1243
1307
|
fields
|
|
1244
1308
|
}, null, options);
|
|
1245
1309
|
})();
|
|
1246
1310
|
}
|
|
1247
1311
|
|
|
1248
1312
|
update_content_metadata(callback, content_metadata_id, body, options) {
|
|
1249
|
-
var
|
|
1313
|
+
var _this138 = this;
|
|
1250
1314
|
|
|
1251
1315
|
return _asyncToGenerator(function* () {
|
|
1252
|
-
|
|
1316
|
+
content_metadata_id = encodeParam(content_metadata_id);
|
|
1317
|
+
return _this138.authStream(callback, 'PATCH', "/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
1253
1318
|
})();
|
|
1254
1319
|
}
|
|
1255
1320
|
|
|
1256
1321
|
all_content_metadata_accesses(callback, content_metadata_id, fields, options) {
|
|
1257
|
-
var
|
|
1322
|
+
var _this139 = this;
|
|
1258
1323
|
|
|
1259
1324
|
return _asyncToGenerator(function* () {
|
|
1260
|
-
return
|
|
1325
|
+
return _this139.authStream(callback, 'GET', '/content_metadata_access', {
|
|
1261
1326
|
content_metadata_id,
|
|
1262
1327
|
fields
|
|
1263
1328
|
}, null, options);
|
|
@@ -1265,39 +1330,40 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1265
1330
|
}
|
|
1266
1331
|
|
|
1267
1332
|
create_content_metadata_access(callback, body, send_boards_notification_email, options) {
|
|
1268
|
-
var
|
|
1333
|
+
var _this140 = this;
|
|
1269
1334
|
|
|
1270
1335
|
return _asyncToGenerator(function* () {
|
|
1271
|
-
return
|
|
1336
|
+
return _this140.authStream(callback, 'POST', '/content_metadata_access', {
|
|
1272
1337
|
send_boards_notification_email
|
|
1273
1338
|
}, body, options);
|
|
1274
1339
|
})();
|
|
1275
1340
|
}
|
|
1276
1341
|
|
|
1277
1342
|
update_content_metadata_access(callback, content_metadata_access_id, body, options) {
|
|
1278
|
-
var
|
|
1343
|
+
var _this141 = this;
|
|
1279
1344
|
|
|
1280
1345
|
return _asyncToGenerator(function* () {
|
|
1281
1346
|
content_metadata_access_id = encodeParam(content_metadata_access_id);
|
|
1282
|
-
return
|
|
1347
|
+
return _this141.authStream(callback, 'PUT', "/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
1283
1348
|
})();
|
|
1284
1349
|
}
|
|
1285
1350
|
|
|
1286
1351
|
delete_content_metadata_access(callback, content_metadata_access_id, options) {
|
|
1287
|
-
var
|
|
1352
|
+
var _this142 = this;
|
|
1288
1353
|
|
|
1289
1354
|
return _asyncToGenerator(function* () {
|
|
1290
|
-
|
|
1355
|
+
content_metadata_access_id = encodeParam(content_metadata_access_id);
|
|
1356
|
+
return _this142.authStream(callback, 'DELETE', "/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
1291
1357
|
})();
|
|
1292
1358
|
}
|
|
1293
1359
|
|
|
1294
1360
|
content_thumbnail(callback, request, options) {
|
|
1295
|
-
var
|
|
1361
|
+
var _this143 = this;
|
|
1296
1362
|
|
|
1297
1363
|
return _asyncToGenerator(function* () {
|
|
1298
1364
|
request.type = encodeParam(request.type);
|
|
1299
1365
|
request.resource_id = encodeParam(request.resource_id);
|
|
1300
|
-
return
|
|
1366
|
+
return _this143.authStream(callback, 'GET', "/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
1301
1367
|
reload: request.reload,
|
|
1302
1368
|
format: request.format,
|
|
1303
1369
|
width: request.width,
|
|
@@ -1307,20 +1373,20 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1307
1373
|
}
|
|
1308
1374
|
|
|
1309
1375
|
content_validation(callback, fields, options) {
|
|
1310
|
-
var
|
|
1376
|
+
var _this144 = this;
|
|
1311
1377
|
|
|
1312
1378
|
return _asyncToGenerator(function* () {
|
|
1313
|
-
return
|
|
1379
|
+
return _this144.authStream(callback, 'GET', '/content_validation', {
|
|
1314
1380
|
fields
|
|
1315
1381
|
}, null, options);
|
|
1316
1382
|
})();
|
|
1317
1383
|
}
|
|
1318
1384
|
|
|
1319
1385
|
search_content_views(callback, request, options) {
|
|
1320
|
-
var
|
|
1386
|
+
var _this145 = this;
|
|
1321
1387
|
|
|
1322
1388
|
return _asyncToGenerator(function* () {
|
|
1323
|
-
return
|
|
1389
|
+
return _this145.authStream(callback, 'GET', '/content_view/search', {
|
|
1324
1390
|
view_count: request.view_count,
|
|
1325
1391
|
group_id: request.group_id,
|
|
1326
1392
|
look_id: request.look_id,
|
|
@@ -1339,40 +1405,40 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1339
1405
|
}
|
|
1340
1406
|
|
|
1341
1407
|
vector_thumbnail(callback, type, resource_id, reload, options) {
|
|
1342
|
-
var
|
|
1408
|
+
var _this146 = this;
|
|
1343
1409
|
|
|
1344
1410
|
return _asyncToGenerator(function* () {
|
|
1345
1411
|
type = encodeParam(type);
|
|
1346
1412
|
resource_id = encodeParam(resource_id);
|
|
1347
|
-
return
|
|
1413
|
+
return _this146.authStream(callback, 'GET', "/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
1348
1414
|
reload
|
|
1349
1415
|
}, null, options);
|
|
1350
1416
|
})();
|
|
1351
1417
|
}
|
|
1352
1418
|
|
|
1353
1419
|
all_dashboards(callback, fields, options) {
|
|
1354
|
-
var
|
|
1420
|
+
var _this147 = this;
|
|
1355
1421
|
|
|
1356
1422
|
return _asyncToGenerator(function* () {
|
|
1357
|
-
return
|
|
1423
|
+
return _this147.authStream(callback, 'GET', '/dashboards', {
|
|
1358
1424
|
fields
|
|
1359
1425
|
}, null, options);
|
|
1360
1426
|
})();
|
|
1361
1427
|
}
|
|
1362
1428
|
|
|
1363
1429
|
create_dashboard(callback, body, options) {
|
|
1364
|
-
var
|
|
1430
|
+
var _this148 = this;
|
|
1365
1431
|
|
|
1366
1432
|
return _asyncToGenerator(function* () {
|
|
1367
|
-
return
|
|
1433
|
+
return _this148.authStream(callback, 'POST', '/dashboards', null, body, options);
|
|
1368
1434
|
})();
|
|
1369
1435
|
}
|
|
1370
1436
|
|
|
1371
1437
|
search_dashboards(callback, request, options) {
|
|
1372
|
-
var
|
|
1438
|
+
var _this149 = this;
|
|
1373
1439
|
|
|
1374
1440
|
return _asyncToGenerator(function* () {
|
|
1375
|
-
return
|
|
1441
|
+
return _this149.authStream(callback, 'GET', '/dashboards/search', {
|
|
1376
1442
|
id: request.id,
|
|
1377
1443
|
slug: request.slug,
|
|
1378
1444
|
title: request.title,
|
|
@@ -1397,102 +1463,110 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1397
1463
|
}
|
|
1398
1464
|
|
|
1399
1465
|
import_lookml_dashboard(callback, lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
1400
|
-
var
|
|
1466
|
+
var _this150 = this;
|
|
1401
1467
|
|
|
1402
1468
|
return _asyncToGenerator(function* () {
|
|
1403
1469
|
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
1404
1470
|
space_id = encodeParam(space_id);
|
|
1405
|
-
return
|
|
1471
|
+
return _this150.authStream(callback, 'POST', "/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
1406
1472
|
raw_locale
|
|
1407
1473
|
}, body, options);
|
|
1408
1474
|
})();
|
|
1409
1475
|
}
|
|
1410
1476
|
|
|
1411
1477
|
sync_lookml_dashboard(callback, lookml_dashboard_id, body, raw_locale, options) {
|
|
1412
|
-
var
|
|
1478
|
+
var _this151 = this;
|
|
1413
1479
|
|
|
1414
1480
|
return _asyncToGenerator(function* () {
|
|
1415
1481
|
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
1416
|
-
return
|
|
1482
|
+
return _this151.authStream(callback, 'PATCH', "/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
1417
1483
|
raw_locale
|
|
1418
1484
|
}, body, options);
|
|
1419
1485
|
})();
|
|
1420
1486
|
}
|
|
1421
1487
|
|
|
1422
1488
|
dashboard(callback, dashboard_id, fields, options) {
|
|
1423
|
-
var
|
|
1489
|
+
var _this152 = this;
|
|
1424
1490
|
|
|
1425
1491
|
return _asyncToGenerator(function* () {
|
|
1426
1492
|
dashboard_id = encodeParam(dashboard_id);
|
|
1427
|
-
return
|
|
1493
|
+
return _this152.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id), {
|
|
1428
1494
|
fields
|
|
1429
1495
|
}, null, options);
|
|
1430
1496
|
})();
|
|
1431
1497
|
}
|
|
1432
1498
|
|
|
1433
1499
|
update_dashboard(callback, dashboard_id, body, options) {
|
|
1434
|
-
var
|
|
1500
|
+
var _this153 = this;
|
|
1435
1501
|
|
|
1436
1502
|
return _asyncToGenerator(function* () {
|
|
1437
1503
|
dashboard_id = encodeParam(dashboard_id);
|
|
1438
|
-
return
|
|
1504
|
+
return _this153.authStream(callback, 'PATCH', "/dashboards/".concat(dashboard_id), null, body, options);
|
|
1439
1505
|
})();
|
|
1440
1506
|
}
|
|
1441
1507
|
|
|
1442
1508
|
delete_dashboard(callback, dashboard_id, options) {
|
|
1443
|
-
var
|
|
1509
|
+
var _this154 = this;
|
|
1444
1510
|
|
|
1445
1511
|
return _asyncToGenerator(function* () {
|
|
1446
1512
|
dashboard_id = encodeParam(dashboard_id);
|
|
1447
|
-
return
|
|
1513
|
+
return _this154.authStream(callback, 'DELETE', "/dashboards/".concat(dashboard_id), null, null, options);
|
|
1448
1514
|
})();
|
|
1449
1515
|
}
|
|
1450
1516
|
|
|
1451
1517
|
dashboard_aggregate_table_lookml(callback, dashboard_id, options) {
|
|
1452
|
-
var
|
|
1518
|
+
var _this155 = this;
|
|
1453
1519
|
|
|
1454
1520
|
return _asyncToGenerator(function* () {
|
|
1455
1521
|
dashboard_id = encodeParam(dashboard_id);
|
|
1456
|
-
return
|
|
1522
|
+
return _this155.authStream(callback, 'GET', "/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
1457
1523
|
})();
|
|
1458
1524
|
}
|
|
1459
1525
|
|
|
1460
1526
|
dashboard_lookml(callback, dashboard_id, options) {
|
|
1461
|
-
var
|
|
1527
|
+
var _this156 = this;
|
|
1462
1528
|
|
|
1463
1529
|
return _asyncToGenerator(function* () {
|
|
1464
1530
|
dashboard_id = encodeParam(dashboard_id);
|
|
1465
|
-
return
|
|
1531
|
+
return _this156.authStream(callback, 'GET', "/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
1466
1532
|
})();
|
|
1467
1533
|
}
|
|
1468
1534
|
|
|
1469
1535
|
move_dashboard(callback, dashboard_id, folder_id, options) {
|
|
1470
|
-
var
|
|
1536
|
+
var _this157 = this;
|
|
1471
1537
|
|
|
1472
1538
|
return _asyncToGenerator(function* () {
|
|
1473
1539
|
dashboard_id = encodeParam(dashboard_id);
|
|
1474
|
-
return
|
|
1540
|
+
return _this157.authStream(callback, 'PATCH', "/dashboards/".concat(dashboard_id, "/move"), {
|
|
1475
1541
|
folder_id
|
|
1476
1542
|
}, null, options);
|
|
1477
1543
|
})();
|
|
1478
1544
|
}
|
|
1479
1545
|
|
|
1546
|
+
create_dashboard_from_lookml(callback, body, options) {
|
|
1547
|
+
var _this158 = this;
|
|
1548
|
+
|
|
1549
|
+
return _asyncToGenerator(function* () {
|
|
1550
|
+
return _this158.authStream(callback, 'POST', '/dashboards/from_lookml', null, body, options);
|
|
1551
|
+
})();
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1480
1554
|
copy_dashboard(callback, dashboard_id, folder_id, options) {
|
|
1481
|
-
var
|
|
1555
|
+
var _this159 = this;
|
|
1482
1556
|
|
|
1483
1557
|
return _asyncToGenerator(function* () {
|
|
1484
1558
|
dashboard_id = encodeParam(dashboard_id);
|
|
1485
|
-
return
|
|
1559
|
+
return _this159.authStream(callback, 'POST', "/dashboards/".concat(dashboard_id, "/copy"), {
|
|
1486
1560
|
folder_id
|
|
1487
1561
|
}, null, options);
|
|
1488
1562
|
})();
|
|
1489
1563
|
}
|
|
1490
1564
|
|
|
1491
1565
|
search_dashboard_elements(callback, request, options) {
|
|
1492
|
-
var
|
|
1566
|
+
var _this160 = this;
|
|
1493
1567
|
|
|
1494
1568
|
return _asyncToGenerator(function* () {
|
|
1495
|
-
return
|
|
1569
|
+
return _this160.authStream(callback, 'GET', '/dashboard_elements/search', {
|
|
1496
1570
|
dashboard_id: request.dashboard_id,
|
|
1497
1571
|
look_id: request.look_id,
|
|
1498
1572
|
title: request.title,
|
|
@@ -1505,240 +1579,243 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1505
1579
|
}
|
|
1506
1580
|
|
|
1507
1581
|
dashboard_element(callback, dashboard_element_id, fields, options) {
|
|
1508
|
-
var
|
|
1582
|
+
var _this161 = this;
|
|
1509
1583
|
|
|
1510
1584
|
return _asyncToGenerator(function* () {
|
|
1511
1585
|
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1512
|
-
return
|
|
1586
|
+
return _this161.authStream(callback, 'GET', "/dashboard_elements/".concat(dashboard_element_id), {
|
|
1513
1587
|
fields
|
|
1514
1588
|
}, null, options);
|
|
1515
1589
|
})();
|
|
1516
1590
|
}
|
|
1517
1591
|
|
|
1518
1592
|
update_dashboard_element(callback, dashboard_element_id, body, fields, options) {
|
|
1519
|
-
var
|
|
1593
|
+
var _this162 = this;
|
|
1520
1594
|
|
|
1521
1595
|
return _asyncToGenerator(function* () {
|
|
1522
1596
|
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1523
|
-
return
|
|
1597
|
+
return _this162.authStream(callback, 'PATCH', "/dashboard_elements/".concat(dashboard_element_id), {
|
|
1524
1598
|
fields
|
|
1525
1599
|
}, body, options);
|
|
1526
1600
|
})();
|
|
1527
1601
|
}
|
|
1528
1602
|
|
|
1529
1603
|
delete_dashboard_element(callback, dashboard_element_id, options) {
|
|
1530
|
-
var
|
|
1604
|
+
var _this163 = this;
|
|
1531
1605
|
|
|
1532
1606
|
return _asyncToGenerator(function* () {
|
|
1533
1607
|
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1534
|
-
return
|
|
1608
|
+
return _this163.authStream(callback, 'DELETE', "/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
1535
1609
|
})();
|
|
1536
1610
|
}
|
|
1537
1611
|
|
|
1538
1612
|
dashboard_dashboard_elements(callback, dashboard_id, fields, options) {
|
|
1539
|
-
var
|
|
1613
|
+
var _this164 = this;
|
|
1540
1614
|
|
|
1541
1615
|
return _asyncToGenerator(function* () {
|
|
1542
1616
|
dashboard_id = encodeParam(dashboard_id);
|
|
1543
|
-
return
|
|
1617
|
+
return _this164.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
1544
1618
|
fields
|
|
1545
1619
|
}, null, options);
|
|
1546
1620
|
})();
|
|
1547
1621
|
}
|
|
1548
1622
|
|
|
1549
|
-
create_dashboard_element(callback,
|
|
1550
|
-
var
|
|
1623
|
+
create_dashboard_element(callback, request, options) {
|
|
1624
|
+
var _this165 = this;
|
|
1551
1625
|
|
|
1552
1626
|
return _asyncToGenerator(function* () {
|
|
1553
|
-
return
|
|
1554
|
-
fields
|
|
1555
|
-
|
|
1627
|
+
return _this165.authStream(callback, 'POST', '/dashboard_elements', {
|
|
1628
|
+
fields: request.fields,
|
|
1629
|
+
apply_filters: request.apply_filters
|
|
1630
|
+
}, request.body, options);
|
|
1556
1631
|
})();
|
|
1557
1632
|
}
|
|
1558
1633
|
|
|
1559
1634
|
dashboard_filter(callback, dashboard_filter_id, fields, options) {
|
|
1560
|
-
var
|
|
1635
|
+
var _this166 = this;
|
|
1561
1636
|
|
|
1562
1637
|
return _asyncToGenerator(function* () {
|
|
1563
1638
|
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1564
|
-
return
|
|
1639
|
+
return _this166.authStream(callback, 'GET', "/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1565
1640
|
fields
|
|
1566
1641
|
}, null, options);
|
|
1567
1642
|
})();
|
|
1568
1643
|
}
|
|
1569
1644
|
|
|
1570
1645
|
update_dashboard_filter(callback, dashboard_filter_id, body, fields, options) {
|
|
1571
|
-
var
|
|
1646
|
+
var _this167 = this;
|
|
1572
1647
|
|
|
1573
1648
|
return _asyncToGenerator(function* () {
|
|
1574
1649
|
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1575
|
-
return
|
|
1650
|
+
return _this167.authStream(callback, 'PATCH', "/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1576
1651
|
fields
|
|
1577
1652
|
}, body, options);
|
|
1578
1653
|
})();
|
|
1579
1654
|
}
|
|
1580
1655
|
|
|
1581
1656
|
delete_dashboard_filter(callback, dashboard_filter_id, options) {
|
|
1582
|
-
var
|
|
1657
|
+
var _this168 = this;
|
|
1583
1658
|
|
|
1584
1659
|
return _asyncToGenerator(function* () {
|
|
1585
1660
|
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1586
|
-
return
|
|
1661
|
+
return _this168.authStream(callback, 'DELETE', "/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1587
1662
|
})();
|
|
1588
1663
|
}
|
|
1589
1664
|
|
|
1590
1665
|
dashboard_dashboard_filters(callback, dashboard_id, fields, options) {
|
|
1591
|
-
var
|
|
1666
|
+
var _this169 = this;
|
|
1592
1667
|
|
|
1593
1668
|
return _asyncToGenerator(function* () {
|
|
1594
1669
|
dashboard_id = encodeParam(dashboard_id);
|
|
1595
|
-
return
|
|
1670
|
+
return _this169.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1596
1671
|
fields
|
|
1597
1672
|
}, null, options);
|
|
1598
1673
|
})();
|
|
1599
1674
|
}
|
|
1600
1675
|
|
|
1601
1676
|
create_dashboard_filter(callback, body, fields, options) {
|
|
1602
|
-
var
|
|
1677
|
+
var _this170 = this;
|
|
1603
1678
|
|
|
1604
1679
|
return _asyncToGenerator(function* () {
|
|
1605
|
-
return
|
|
1680
|
+
return _this170.authStream(callback, 'POST', '/dashboard_filters', {
|
|
1606
1681
|
fields
|
|
1607
1682
|
}, body, options);
|
|
1608
1683
|
})();
|
|
1609
1684
|
}
|
|
1610
1685
|
|
|
1611
1686
|
dashboard_layout_component(callback, dashboard_layout_component_id, fields, options) {
|
|
1612
|
-
var
|
|
1687
|
+
var _this171 = this;
|
|
1613
1688
|
|
|
1614
1689
|
return _asyncToGenerator(function* () {
|
|
1615
1690
|
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
1616
|
-
return
|
|
1691
|
+
return _this171.authStream(callback, 'GET', "/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1617
1692
|
fields
|
|
1618
1693
|
}, null, options);
|
|
1619
1694
|
})();
|
|
1620
1695
|
}
|
|
1621
1696
|
|
|
1622
1697
|
update_dashboard_layout_component(callback, dashboard_layout_component_id, body, fields, options) {
|
|
1623
|
-
var
|
|
1698
|
+
var _this172 = this;
|
|
1624
1699
|
|
|
1625
1700
|
return _asyncToGenerator(function* () {
|
|
1626
1701
|
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
1627
|
-
return
|
|
1702
|
+
return _this172.authStream(callback, 'PATCH', "/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1628
1703
|
fields
|
|
1629
1704
|
}, body, options);
|
|
1630
1705
|
})();
|
|
1631
1706
|
}
|
|
1632
1707
|
|
|
1633
1708
|
dashboard_layout_dashboard_layout_components(callback, dashboard_layout_id, fields, options) {
|
|
1634
|
-
var
|
|
1709
|
+
var _this173 = this;
|
|
1635
1710
|
|
|
1636
1711
|
return _asyncToGenerator(function* () {
|
|
1637
1712
|
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1638
|
-
return
|
|
1713
|
+
return _this173.authStream(callback, 'GET', "/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1639
1714
|
fields
|
|
1640
1715
|
}, null, options);
|
|
1641
1716
|
})();
|
|
1642
1717
|
}
|
|
1643
1718
|
|
|
1644
1719
|
dashboard_layout(callback, dashboard_layout_id, fields, options) {
|
|
1645
|
-
var
|
|
1720
|
+
var _this174 = this;
|
|
1646
1721
|
|
|
1647
1722
|
return _asyncToGenerator(function* () {
|
|
1648
1723
|
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1649
|
-
return
|
|
1724
|
+
return _this174.authStream(callback, 'GET', "/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1650
1725
|
fields
|
|
1651
1726
|
}, null, options);
|
|
1652
1727
|
})();
|
|
1653
1728
|
}
|
|
1654
1729
|
|
|
1655
1730
|
update_dashboard_layout(callback, dashboard_layout_id, body, fields, options) {
|
|
1656
|
-
var
|
|
1731
|
+
var _this175 = this;
|
|
1657
1732
|
|
|
1658
1733
|
return _asyncToGenerator(function* () {
|
|
1659
1734
|
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1660
|
-
return
|
|
1735
|
+
return _this175.authStream(callback, 'PATCH', "/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1661
1736
|
fields
|
|
1662
1737
|
}, body, options);
|
|
1663
1738
|
})();
|
|
1664
1739
|
}
|
|
1665
1740
|
|
|
1666
1741
|
delete_dashboard_layout(callback, dashboard_layout_id, options) {
|
|
1667
|
-
var
|
|
1742
|
+
var _this176 = this;
|
|
1668
1743
|
|
|
1669
1744
|
return _asyncToGenerator(function* () {
|
|
1670
1745
|
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1671
|
-
return
|
|
1746
|
+
return _this176.authStream(callback, 'DELETE', "/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1672
1747
|
})();
|
|
1673
1748
|
}
|
|
1674
1749
|
|
|
1675
1750
|
dashboard_dashboard_layouts(callback, dashboard_id, fields, options) {
|
|
1676
|
-
var
|
|
1751
|
+
var _this177 = this;
|
|
1677
1752
|
|
|
1678
1753
|
return _asyncToGenerator(function* () {
|
|
1679
1754
|
dashboard_id = encodeParam(dashboard_id);
|
|
1680
|
-
return
|
|
1755
|
+
return _this177.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1681
1756
|
fields
|
|
1682
1757
|
}, null, options);
|
|
1683
1758
|
})();
|
|
1684
1759
|
}
|
|
1685
1760
|
|
|
1686
1761
|
create_dashboard_layout(callback, body, fields, options) {
|
|
1687
|
-
var
|
|
1762
|
+
var _this178 = this;
|
|
1688
1763
|
|
|
1689
1764
|
return _asyncToGenerator(function* () {
|
|
1690
|
-
return
|
|
1765
|
+
return _this178.authStream(callback, 'POST', '/dashboard_layouts', {
|
|
1691
1766
|
fields
|
|
1692
1767
|
}, body, options);
|
|
1693
1768
|
})();
|
|
1694
1769
|
}
|
|
1695
1770
|
|
|
1696
1771
|
perform_data_action(callback, body, options) {
|
|
1697
|
-
var
|
|
1772
|
+
var _this179 = this;
|
|
1698
1773
|
|
|
1699
1774
|
return _asyncToGenerator(function* () {
|
|
1700
|
-
return
|
|
1775
|
+
return _this179.authStream(callback, 'POST', '/data_actions', null, body, options);
|
|
1701
1776
|
})();
|
|
1702
1777
|
}
|
|
1703
1778
|
|
|
1704
1779
|
fetch_remote_data_action_form(callback, body, options) {
|
|
1705
|
-
var
|
|
1780
|
+
var _this180 = this;
|
|
1706
1781
|
|
|
1707
1782
|
return _asyncToGenerator(function* () {
|
|
1708
|
-
return
|
|
1783
|
+
return _this180.authStream(callback, 'POST', '/data_actions/form', null, body, options);
|
|
1709
1784
|
})();
|
|
1710
1785
|
}
|
|
1711
1786
|
|
|
1712
1787
|
all_datagroups(callback, options) {
|
|
1713
|
-
var
|
|
1788
|
+
var _this181 = this;
|
|
1714
1789
|
|
|
1715
1790
|
return _asyncToGenerator(function* () {
|
|
1716
|
-
return
|
|
1791
|
+
return _this181.authStream(callback, 'GET', '/datagroups', null, null, options);
|
|
1717
1792
|
})();
|
|
1718
1793
|
}
|
|
1719
1794
|
|
|
1720
1795
|
datagroup(callback, datagroup_id, options) {
|
|
1721
|
-
var
|
|
1796
|
+
var _this182 = this;
|
|
1722
1797
|
|
|
1723
1798
|
return _asyncToGenerator(function* () {
|
|
1724
|
-
|
|
1799
|
+
datagroup_id = encodeParam(datagroup_id);
|
|
1800
|
+
return _this182.authStream(callback, 'GET', "/datagroups/".concat(datagroup_id), null, null, options);
|
|
1725
1801
|
})();
|
|
1726
1802
|
}
|
|
1727
1803
|
|
|
1728
1804
|
update_datagroup(callback, datagroup_id, body, options) {
|
|
1729
|
-
var
|
|
1805
|
+
var _this183 = this;
|
|
1730
1806
|
|
|
1731
1807
|
return _asyncToGenerator(function* () {
|
|
1732
|
-
|
|
1808
|
+
datagroup_id = encodeParam(datagroup_id);
|
|
1809
|
+
return _this183.authStream(callback, 'PATCH', "/datagroups/".concat(datagroup_id), null, body, options);
|
|
1733
1810
|
})();
|
|
1734
1811
|
}
|
|
1735
1812
|
|
|
1736
1813
|
graph_derived_tables_for_model(callback, request, options) {
|
|
1737
|
-
var
|
|
1814
|
+
var _this184 = this;
|
|
1738
1815
|
|
|
1739
1816
|
return _asyncToGenerator(function* () {
|
|
1740
1817
|
request.model = encodeParam(request.model);
|
|
1741
|
-
return
|
|
1818
|
+
return _this184.authStream(callback, 'GET', "/derived_table/graph/model/".concat(request.model), {
|
|
1742
1819
|
format: request.format,
|
|
1743
1820
|
color: request.color
|
|
1744
1821
|
}, null, options);
|
|
@@ -1746,22 +1823,57 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1746
1823
|
}
|
|
1747
1824
|
|
|
1748
1825
|
graph_derived_tables_for_view(callback, request, options) {
|
|
1749
|
-
var
|
|
1826
|
+
var _this185 = this;
|
|
1750
1827
|
|
|
1751
1828
|
return _asyncToGenerator(function* () {
|
|
1752
1829
|
request.view = encodeParam(request.view);
|
|
1753
|
-
return
|
|
1830
|
+
return _this185.authStream(callback, 'GET', "/derived_table/graph/view/".concat(request.view), {
|
|
1754
1831
|
models: request.models,
|
|
1755
1832
|
workspace: request.workspace
|
|
1756
1833
|
}, null, options);
|
|
1757
1834
|
})();
|
|
1758
1835
|
}
|
|
1759
1836
|
|
|
1837
|
+
start_pdt_build(callback, request, options) {
|
|
1838
|
+
var _this186 = this;
|
|
1839
|
+
|
|
1840
|
+
return _asyncToGenerator(function* () {
|
|
1841
|
+
request.model_name = encodeParam(request.model_name);
|
|
1842
|
+
request.view_name = encodeParam(request.view_name);
|
|
1843
|
+
return _this186.authStream(callback, 'GET', "/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1844
|
+
force_rebuild: request.force_rebuild,
|
|
1845
|
+
force_full_incremental: request.force_full_incremental,
|
|
1846
|
+
workspace: request.workspace,
|
|
1847
|
+
source: request.source
|
|
1848
|
+
}, null, options);
|
|
1849
|
+
})();
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
check_pdt_build(callback, materialization_id, options) {
|
|
1853
|
+
var _this187 = this;
|
|
1854
|
+
|
|
1855
|
+
return _asyncToGenerator(function* () {
|
|
1856
|
+
materialization_id = encodeParam(materialization_id);
|
|
1857
|
+
return _this187.authStream(callback, 'GET', "/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1858
|
+
})();
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
stop_pdt_build(callback, materialization_id, source, options) {
|
|
1862
|
+
var _this188 = this;
|
|
1863
|
+
|
|
1864
|
+
return _asyncToGenerator(function* () {
|
|
1865
|
+
materialization_id = encodeParam(materialization_id);
|
|
1866
|
+
return _this188.authStream(callback, 'GET', "/derived_table/".concat(materialization_id, "/stop"), {
|
|
1867
|
+
source
|
|
1868
|
+
}, null, options);
|
|
1869
|
+
})();
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1760
1872
|
search_folders(callback, request, options) {
|
|
1761
|
-
var
|
|
1873
|
+
var _this189 = this;
|
|
1762
1874
|
|
|
1763
1875
|
return _asyncToGenerator(function* () {
|
|
1764
|
-
return
|
|
1876
|
+
return _this189.authStream(callback, 'GET', '/folders/search', {
|
|
1765
1877
|
fields: request.fields,
|
|
1766
1878
|
page: request.page,
|
|
1767
1879
|
per_page: request.per_page,
|
|
@@ -1779,58 +1891,58 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1779
1891
|
}
|
|
1780
1892
|
|
|
1781
1893
|
folder(callback, folder_id, fields, options) {
|
|
1782
|
-
var
|
|
1894
|
+
var _this190 = this;
|
|
1783
1895
|
|
|
1784
1896
|
return _asyncToGenerator(function* () {
|
|
1785
1897
|
folder_id = encodeParam(folder_id);
|
|
1786
|
-
return
|
|
1898
|
+
return _this190.authStream(callback, 'GET', "/folders/".concat(folder_id), {
|
|
1787
1899
|
fields
|
|
1788
1900
|
}, null, options);
|
|
1789
1901
|
})();
|
|
1790
1902
|
}
|
|
1791
1903
|
|
|
1792
1904
|
update_folder(callback, folder_id, body, options) {
|
|
1793
|
-
var
|
|
1905
|
+
var _this191 = this;
|
|
1794
1906
|
|
|
1795
1907
|
return _asyncToGenerator(function* () {
|
|
1796
1908
|
folder_id = encodeParam(folder_id);
|
|
1797
|
-
return
|
|
1909
|
+
return _this191.authStream(callback, 'PATCH', "/folders/".concat(folder_id), null, body, options);
|
|
1798
1910
|
})();
|
|
1799
1911
|
}
|
|
1800
1912
|
|
|
1801
1913
|
delete_folder(callback, folder_id, options) {
|
|
1802
|
-
var
|
|
1914
|
+
var _this192 = this;
|
|
1803
1915
|
|
|
1804
1916
|
return _asyncToGenerator(function* () {
|
|
1805
1917
|
folder_id = encodeParam(folder_id);
|
|
1806
|
-
return
|
|
1918
|
+
return _this192.authStream(callback, 'DELETE', "/folders/".concat(folder_id), null, null, options);
|
|
1807
1919
|
})();
|
|
1808
1920
|
}
|
|
1809
1921
|
|
|
1810
1922
|
all_folders(callback, fields, options) {
|
|
1811
|
-
var
|
|
1923
|
+
var _this193 = this;
|
|
1812
1924
|
|
|
1813
1925
|
return _asyncToGenerator(function* () {
|
|
1814
|
-
return
|
|
1926
|
+
return _this193.authStream(callback, 'GET', '/folders', {
|
|
1815
1927
|
fields
|
|
1816
1928
|
}, null, options);
|
|
1817
1929
|
})();
|
|
1818
1930
|
}
|
|
1819
1931
|
|
|
1820
1932
|
create_folder(callback, body, options) {
|
|
1821
|
-
var
|
|
1933
|
+
var _this194 = this;
|
|
1822
1934
|
|
|
1823
1935
|
return _asyncToGenerator(function* () {
|
|
1824
|
-
return
|
|
1936
|
+
return _this194.authStream(callback, 'POST', '/folders', null, body, options);
|
|
1825
1937
|
})();
|
|
1826
1938
|
}
|
|
1827
1939
|
|
|
1828
1940
|
folder_children(callback, request, options) {
|
|
1829
|
-
var
|
|
1941
|
+
var _this195 = this;
|
|
1830
1942
|
|
|
1831
1943
|
return _asyncToGenerator(function* () {
|
|
1832
1944
|
request.folder_id = encodeParam(request.folder_id);
|
|
1833
|
-
return
|
|
1945
|
+
return _this195.authStream(callback, 'GET', "/folders/".concat(request.folder_id, "/children"), {
|
|
1834
1946
|
fields: request.fields,
|
|
1835
1947
|
page: request.page,
|
|
1836
1948
|
per_page: request.per_page,
|
|
@@ -1840,11 +1952,11 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1840
1952
|
}
|
|
1841
1953
|
|
|
1842
1954
|
folder_children_search(callback, request, options) {
|
|
1843
|
-
var
|
|
1955
|
+
var _this196 = this;
|
|
1844
1956
|
|
|
1845
1957
|
return _asyncToGenerator(function* () {
|
|
1846
1958
|
request.folder_id = encodeParam(request.folder_id);
|
|
1847
|
-
return
|
|
1959
|
+
return _this196.authStream(callback, 'GET', "/folders/".concat(request.folder_id, "/children/search"), {
|
|
1848
1960
|
fields: request.fields,
|
|
1849
1961
|
sorts: request.sorts,
|
|
1850
1962
|
name: request.name
|
|
@@ -1853,57 +1965,59 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1853
1965
|
}
|
|
1854
1966
|
|
|
1855
1967
|
folder_parent(callback, folder_id, fields, options) {
|
|
1856
|
-
var
|
|
1968
|
+
var _this197 = this;
|
|
1857
1969
|
|
|
1858
1970
|
return _asyncToGenerator(function* () {
|
|
1859
1971
|
folder_id = encodeParam(folder_id);
|
|
1860
|
-
return
|
|
1972
|
+
return _this197.authStream(callback, 'GET', "/folders/".concat(folder_id, "/parent"), {
|
|
1861
1973
|
fields
|
|
1862
1974
|
}, null, options);
|
|
1863
1975
|
})();
|
|
1864
1976
|
}
|
|
1865
1977
|
|
|
1866
1978
|
folder_ancestors(callback, folder_id, fields, options) {
|
|
1867
|
-
var
|
|
1979
|
+
var _this198 = this;
|
|
1868
1980
|
|
|
1869
1981
|
return _asyncToGenerator(function* () {
|
|
1870
1982
|
folder_id = encodeParam(folder_id);
|
|
1871
|
-
return
|
|
1983
|
+
return _this198.authStream(callback, 'GET', "/folders/".concat(folder_id, "/ancestors"), {
|
|
1872
1984
|
fields
|
|
1873
1985
|
}, null, options);
|
|
1874
1986
|
})();
|
|
1875
1987
|
}
|
|
1876
1988
|
|
|
1877
1989
|
folder_looks(callback, folder_id, fields, options) {
|
|
1878
|
-
var
|
|
1990
|
+
var _this199 = this;
|
|
1879
1991
|
|
|
1880
1992
|
return _asyncToGenerator(function* () {
|
|
1881
1993
|
folder_id = encodeParam(folder_id);
|
|
1882
|
-
return
|
|
1994
|
+
return _this199.authStream(callback, 'GET', "/folders/".concat(folder_id, "/looks"), {
|
|
1883
1995
|
fields
|
|
1884
1996
|
}, null, options);
|
|
1885
1997
|
})();
|
|
1886
1998
|
}
|
|
1887
1999
|
|
|
1888
2000
|
folder_dashboards(callback, folder_id, fields, options) {
|
|
1889
|
-
var
|
|
2001
|
+
var _this200 = this;
|
|
1890
2002
|
|
|
1891
2003
|
return _asyncToGenerator(function* () {
|
|
1892
2004
|
folder_id = encodeParam(folder_id);
|
|
1893
|
-
return
|
|
2005
|
+
return _this200.authStream(callback, 'GET', "/folders/".concat(folder_id, "/dashboards"), {
|
|
1894
2006
|
fields
|
|
1895
2007
|
}, null, options);
|
|
1896
2008
|
})();
|
|
1897
2009
|
}
|
|
1898
2010
|
|
|
1899
2011
|
all_groups(callback, request, options) {
|
|
1900
|
-
var
|
|
2012
|
+
var _this201 = this;
|
|
1901
2013
|
|
|
1902
2014
|
return _asyncToGenerator(function* () {
|
|
1903
|
-
return
|
|
2015
|
+
return _this201.authStream(callback, 'GET', '/groups', {
|
|
1904
2016
|
fields: request.fields,
|
|
1905
2017
|
page: request.page,
|
|
1906
2018
|
per_page: request.per_page,
|
|
2019
|
+
limit: request.limit,
|
|
2020
|
+
offset: request.offset,
|
|
1907
2021
|
sorts: request.sorts,
|
|
1908
2022
|
ids: request.ids,
|
|
1909
2023
|
content_metadata_id: request.content_metadata_id,
|
|
@@ -1913,20 +2027,20 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1913
2027
|
}
|
|
1914
2028
|
|
|
1915
2029
|
create_group(callback, body, fields, options) {
|
|
1916
|
-
var
|
|
2030
|
+
var _this202 = this;
|
|
1917
2031
|
|
|
1918
2032
|
return _asyncToGenerator(function* () {
|
|
1919
|
-
return
|
|
2033
|
+
return _this202.authStream(callback, 'POST', '/groups', {
|
|
1920
2034
|
fields
|
|
1921
2035
|
}, body, options);
|
|
1922
2036
|
})();
|
|
1923
2037
|
}
|
|
1924
2038
|
|
|
1925
2039
|
search_groups(callback, request, options) {
|
|
1926
|
-
var
|
|
2040
|
+
var _this203 = this;
|
|
1927
2041
|
|
|
1928
2042
|
return _asyncToGenerator(function* () {
|
|
1929
|
-
return
|
|
2043
|
+
return _this203.authStream(callback, 'GET', '/groups/search', {
|
|
1930
2044
|
fields: request.fields,
|
|
1931
2045
|
limit: request.limit,
|
|
1932
2046
|
offset: request.offset,
|
|
@@ -1942,10 +2056,10 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1942
2056
|
}
|
|
1943
2057
|
|
|
1944
2058
|
search_groups_with_roles(callback, request, options) {
|
|
1945
|
-
var
|
|
2059
|
+
var _this204 = this;
|
|
1946
2060
|
|
|
1947
2061
|
return _asyncToGenerator(function* () {
|
|
1948
|
-
return
|
|
2062
|
+
return _this204.authStream(callback, 'GET', '/groups/search/with_roles', {
|
|
1949
2063
|
fields: request.fields,
|
|
1950
2064
|
limit: request.limit,
|
|
1951
2065
|
offset: request.offset,
|
|
@@ -1961,10 +2075,10 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1961
2075
|
}
|
|
1962
2076
|
|
|
1963
2077
|
search_groups_with_hierarchy(callback, request, options) {
|
|
1964
|
-
var
|
|
2078
|
+
var _this205 = this;
|
|
1965
2079
|
|
|
1966
2080
|
return _asyncToGenerator(function* () {
|
|
1967
|
-
return
|
|
2081
|
+
return _this205.authStream(callback, 'GET', '/groups/search/with_hierarchy', {
|
|
1968
2082
|
fields: request.fields,
|
|
1969
2083
|
limit: request.limit,
|
|
1970
2084
|
offset: request.offset,
|
|
@@ -1980,175 +2094,196 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
1980
2094
|
}
|
|
1981
2095
|
|
|
1982
2096
|
group(callback, group_id, fields, options) {
|
|
1983
|
-
var
|
|
2097
|
+
var _this206 = this;
|
|
1984
2098
|
|
|
1985
2099
|
return _asyncToGenerator(function* () {
|
|
1986
|
-
|
|
2100
|
+
group_id = encodeParam(group_id);
|
|
2101
|
+
return _this206.authStream(callback, 'GET', "/groups/".concat(group_id), {
|
|
1987
2102
|
fields
|
|
1988
2103
|
}, null, options);
|
|
1989
2104
|
})();
|
|
1990
2105
|
}
|
|
1991
2106
|
|
|
1992
2107
|
update_group(callback, group_id, body, fields, options) {
|
|
1993
|
-
var
|
|
2108
|
+
var _this207 = this;
|
|
1994
2109
|
|
|
1995
2110
|
return _asyncToGenerator(function* () {
|
|
1996
|
-
|
|
2111
|
+
group_id = encodeParam(group_id);
|
|
2112
|
+
return _this207.authStream(callback, 'PATCH', "/groups/".concat(group_id), {
|
|
1997
2113
|
fields
|
|
1998
2114
|
}, body, options);
|
|
1999
2115
|
})();
|
|
2000
2116
|
}
|
|
2001
2117
|
|
|
2002
2118
|
delete_group(callback, group_id, options) {
|
|
2003
|
-
var
|
|
2119
|
+
var _this208 = this;
|
|
2004
2120
|
|
|
2005
2121
|
return _asyncToGenerator(function* () {
|
|
2006
|
-
|
|
2122
|
+
group_id = encodeParam(group_id);
|
|
2123
|
+
return _this208.authStream(callback, 'DELETE', "/groups/".concat(group_id), null, null, options);
|
|
2007
2124
|
})();
|
|
2008
2125
|
}
|
|
2009
2126
|
|
|
2010
2127
|
all_group_groups(callback, group_id, fields, options) {
|
|
2011
|
-
var
|
|
2128
|
+
var _this209 = this;
|
|
2012
2129
|
|
|
2013
2130
|
return _asyncToGenerator(function* () {
|
|
2014
|
-
|
|
2131
|
+
group_id = encodeParam(group_id);
|
|
2132
|
+
return _this209.authStream(callback, 'GET', "/groups/".concat(group_id, "/groups"), {
|
|
2015
2133
|
fields
|
|
2016
2134
|
}, null, options);
|
|
2017
2135
|
})();
|
|
2018
2136
|
}
|
|
2019
2137
|
|
|
2020
2138
|
add_group_group(callback, group_id, body, options) {
|
|
2021
|
-
var
|
|
2139
|
+
var _this210 = this;
|
|
2022
2140
|
|
|
2023
2141
|
return _asyncToGenerator(function* () {
|
|
2024
|
-
|
|
2142
|
+
group_id = encodeParam(group_id);
|
|
2143
|
+
return _this210.authStream(callback, 'POST', "/groups/".concat(group_id, "/groups"), null, body, options);
|
|
2025
2144
|
})();
|
|
2026
2145
|
}
|
|
2027
2146
|
|
|
2028
2147
|
all_group_users(callback, request, options) {
|
|
2029
|
-
var
|
|
2148
|
+
var _this211 = this;
|
|
2030
2149
|
|
|
2031
2150
|
return _asyncToGenerator(function* () {
|
|
2032
|
-
|
|
2151
|
+
request.group_id = encodeParam(request.group_id);
|
|
2152
|
+
return _this211.authStream(callback, 'GET', "/groups/".concat(request.group_id, "/users"), {
|
|
2033
2153
|
fields: request.fields,
|
|
2034
2154
|
page: request.page,
|
|
2035
2155
|
per_page: request.per_page,
|
|
2156
|
+
limit: request.limit,
|
|
2157
|
+
offset: request.offset,
|
|
2036
2158
|
sorts: request.sorts
|
|
2037
2159
|
}, null, options);
|
|
2038
2160
|
})();
|
|
2039
2161
|
}
|
|
2040
2162
|
|
|
2041
2163
|
add_group_user(callback, group_id, body, options) {
|
|
2042
|
-
var
|
|
2164
|
+
var _this212 = this;
|
|
2043
2165
|
|
|
2044
2166
|
return _asyncToGenerator(function* () {
|
|
2045
|
-
|
|
2167
|
+
group_id = encodeParam(group_id);
|
|
2168
|
+
return _this212.authStream(callback, 'POST', "/groups/".concat(group_id, "/users"), null, body, options);
|
|
2046
2169
|
})();
|
|
2047
2170
|
}
|
|
2048
2171
|
|
|
2049
2172
|
delete_group_user(callback, group_id, user_id, options) {
|
|
2050
|
-
var
|
|
2173
|
+
var _this213 = this;
|
|
2051
2174
|
|
|
2052
2175
|
return _asyncToGenerator(function* () {
|
|
2053
|
-
|
|
2176
|
+
group_id = encodeParam(group_id);
|
|
2177
|
+
user_id = encodeParam(user_id);
|
|
2178
|
+
return _this213.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
2054
2179
|
})();
|
|
2055
2180
|
}
|
|
2056
2181
|
|
|
2057
2182
|
delete_group_from_group(callback, group_id, deleting_group_id, options) {
|
|
2058
|
-
var
|
|
2183
|
+
var _this214 = this;
|
|
2059
2184
|
|
|
2060
2185
|
return _asyncToGenerator(function* () {
|
|
2061
|
-
|
|
2186
|
+
group_id = encodeParam(group_id);
|
|
2187
|
+
deleting_group_id = encodeParam(deleting_group_id);
|
|
2188
|
+
return _this214.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
2062
2189
|
})();
|
|
2063
2190
|
}
|
|
2064
2191
|
|
|
2065
2192
|
update_user_attribute_group_value(callback, group_id, user_attribute_id, body, options) {
|
|
2066
|
-
var
|
|
2193
|
+
var _this215 = this;
|
|
2067
2194
|
|
|
2068
2195
|
return _asyncToGenerator(function* () {
|
|
2069
|
-
|
|
2196
|
+
group_id = encodeParam(group_id);
|
|
2197
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
2198
|
+
return _this215.authStream(callback, 'PATCH', "/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
2070
2199
|
})();
|
|
2071
2200
|
}
|
|
2072
2201
|
|
|
2073
2202
|
delete_user_attribute_group_value(callback, group_id, user_attribute_id, options) {
|
|
2074
|
-
var
|
|
2203
|
+
var _this216 = this;
|
|
2075
2204
|
|
|
2076
2205
|
return _asyncToGenerator(function* () {
|
|
2077
|
-
|
|
2206
|
+
group_id = encodeParam(group_id);
|
|
2207
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
2208
|
+
return _this216.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
2078
2209
|
})();
|
|
2079
2210
|
}
|
|
2080
2211
|
|
|
2081
2212
|
all_primary_homepage_sections(callback, fields, options) {
|
|
2082
|
-
var
|
|
2213
|
+
var _this217 = this;
|
|
2083
2214
|
|
|
2084
2215
|
return _asyncToGenerator(function* () {
|
|
2085
|
-
return
|
|
2216
|
+
return _this217.authStream(callback, 'GET', '/primary_homepage_sections', {
|
|
2086
2217
|
fields
|
|
2087
2218
|
}, null, options);
|
|
2088
2219
|
})();
|
|
2089
2220
|
}
|
|
2090
2221
|
|
|
2091
2222
|
all_integration_hubs(callback, fields, options) {
|
|
2092
|
-
var
|
|
2223
|
+
var _this218 = this;
|
|
2093
2224
|
|
|
2094
2225
|
return _asyncToGenerator(function* () {
|
|
2095
|
-
return
|
|
2226
|
+
return _this218.authStream(callback, 'GET', '/integration_hubs', {
|
|
2096
2227
|
fields
|
|
2097
2228
|
}, null, options);
|
|
2098
2229
|
})();
|
|
2099
2230
|
}
|
|
2100
2231
|
|
|
2101
2232
|
create_integration_hub(callback, body, fields, options) {
|
|
2102
|
-
var
|
|
2233
|
+
var _this219 = this;
|
|
2103
2234
|
|
|
2104
2235
|
return _asyncToGenerator(function* () {
|
|
2105
|
-
return
|
|
2236
|
+
return _this219.authStream(callback, 'POST', '/integration_hubs', {
|
|
2106
2237
|
fields
|
|
2107
2238
|
}, body, options);
|
|
2108
2239
|
})();
|
|
2109
2240
|
}
|
|
2110
2241
|
|
|
2111
2242
|
integration_hub(callback, integration_hub_id, fields, options) {
|
|
2112
|
-
var
|
|
2243
|
+
var _this220 = this;
|
|
2113
2244
|
|
|
2114
2245
|
return _asyncToGenerator(function* () {
|
|
2115
|
-
|
|
2246
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2247
|
+
return _this220.authStream(callback, 'GET', "/integration_hubs/".concat(integration_hub_id), {
|
|
2116
2248
|
fields
|
|
2117
2249
|
}, null, options);
|
|
2118
2250
|
})();
|
|
2119
2251
|
}
|
|
2120
2252
|
|
|
2121
2253
|
update_integration_hub(callback, integration_hub_id, body, fields, options) {
|
|
2122
|
-
var
|
|
2254
|
+
var _this221 = this;
|
|
2123
2255
|
|
|
2124
2256
|
return _asyncToGenerator(function* () {
|
|
2125
|
-
|
|
2257
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2258
|
+
return _this221.authStream(callback, 'PATCH', "/integration_hubs/".concat(integration_hub_id), {
|
|
2126
2259
|
fields
|
|
2127
2260
|
}, body, options);
|
|
2128
2261
|
})();
|
|
2129
2262
|
}
|
|
2130
2263
|
|
|
2131
2264
|
delete_integration_hub(callback, integration_hub_id, options) {
|
|
2132
|
-
var
|
|
2265
|
+
var _this222 = this;
|
|
2133
2266
|
|
|
2134
2267
|
return _asyncToGenerator(function* () {
|
|
2135
|
-
|
|
2268
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2269
|
+
return _this222.authStream(callback, 'DELETE', "/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
2136
2270
|
})();
|
|
2137
2271
|
}
|
|
2138
2272
|
|
|
2139
2273
|
accept_integration_hub_legal_agreement(callback, integration_hub_id, options) {
|
|
2140
|
-
var
|
|
2274
|
+
var _this223 = this;
|
|
2141
2275
|
|
|
2142
2276
|
return _asyncToGenerator(function* () {
|
|
2143
|
-
|
|
2277
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2278
|
+
return _this223.authStream(callback, 'POST', "/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
2144
2279
|
})();
|
|
2145
2280
|
}
|
|
2146
2281
|
|
|
2147
2282
|
all_integrations(callback, request, options) {
|
|
2148
|
-
var
|
|
2283
|
+
var _this224 = this;
|
|
2149
2284
|
|
|
2150
2285
|
return _asyncToGenerator(function* () {
|
|
2151
|
-
return
|
|
2286
|
+
return _this224.authStream(callback, 'GET', '/integrations', {
|
|
2152
2287
|
fields: request.fields,
|
|
2153
2288
|
integration_hub_id: request.integration_hub_id
|
|
2154
2289
|
}, null, options);
|
|
@@ -2156,70 +2291,70 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2156
2291
|
}
|
|
2157
2292
|
|
|
2158
2293
|
integration(callback, integration_id, fields, options) {
|
|
2159
|
-
var
|
|
2294
|
+
var _this225 = this;
|
|
2160
2295
|
|
|
2161
2296
|
return _asyncToGenerator(function* () {
|
|
2162
2297
|
integration_id = encodeParam(integration_id);
|
|
2163
|
-
return
|
|
2298
|
+
return _this225.authStream(callback, 'GET', "/integrations/".concat(integration_id), {
|
|
2164
2299
|
fields
|
|
2165
2300
|
}, null, options);
|
|
2166
2301
|
})();
|
|
2167
2302
|
}
|
|
2168
2303
|
|
|
2169
2304
|
update_integration(callback, integration_id, body, fields, options) {
|
|
2170
|
-
var
|
|
2305
|
+
var _this226 = this;
|
|
2171
2306
|
|
|
2172
2307
|
return _asyncToGenerator(function* () {
|
|
2173
2308
|
integration_id = encodeParam(integration_id);
|
|
2174
|
-
return
|
|
2309
|
+
return _this226.authStream(callback, 'PATCH', "/integrations/".concat(integration_id), {
|
|
2175
2310
|
fields
|
|
2176
2311
|
}, body, options);
|
|
2177
2312
|
})();
|
|
2178
2313
|
}
|
|
2179
2314
|
|
|
2180
2315
|
fetch_integration_form(callback, integration_id, body, options) {
|
|
2181
|
-
var
|
|
2316
|
+
var _this227 = this;
|
|
2182
2317
|
|
|
2183
2318
|
return _asyncToGenerator(function* () {
|
|
2184
2319
|
integration_id = encodeParam(integration_id);
|
|
2185
|
-
return
|
|
2320
|
+
return _this227.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
2186
2321
|
})();
|
|
2187
2322
|
}
|
|
2188
2323
|
|
|
2189
2324
|
test_integration(callback, integration_id, options) {
|
|
2190
|
-
var
|
|
2325
|
+
var _this228 = this;
|
|
2191
2326
|
|
|
2192
2327
|
return _asyncToGenerator(function* () {
|
|
2193
2328
|
integration_id = encodeParam(integration_id);
|
|
2194
|
-
return
|
|
2329
|
+
return _this228.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2195
2330
|
})();
|
|
2196
2331
|
}
|
|
2197
2332
|
|
|
2198
2333
|
all_looks(callback, fields, options) {
|
|
2199
|
-
var
|
|
2334
|
+
var _this229 = this;
|
|
2200
2335
|
|
|
2201
2336
|
return _asyncToGenerator(function* () {
|
|
2202
|
-
return
|
|
2337
|
+
return _this229.authStream(callback, 'GET', '/looks', {
|
|
2203
2338
|
fields
|
|
2204
2339
|
}, null, options);
|
|
2205
2340
|
})();
|
|
2206
2341
|
}
|
|
2207
2342
|
|
|
2208
2343
|
create_look(callback, body, fields, options) {
|
|
2209
|
-
var
|
|
2344
|
+
var _this230 = this;
|
|
2210
2345
|
|
|
2211
2346
|
return _asyncToGenerator(function* () {
|
|
2212
|
-
return
|
|
2347
|
+
return _this230.authStream(callback, 'POST', '/looks', {
|
|
2213
2348
|
fields
|
|
2214
2349
|
}, body, options);
|
|
2215
2350
|
})();
|
|
2216
2351
|
}
|
|
2217
2352
|
|
|
2218
2353
|
search_looks(callback, request, options) {
|
|
2219
|
-
var
|
|
2354
|
+
var _this231 = this;
|
|
2220
2355
|
|
|
2221
2356
|
return _asyncToGenerator(function* () {
|
|
2222
|
-
return
|
|
2357
|
+
return _this231.authStream(callback, 'GET', '/looks/search', {
|
|
2223
2358
|
id: request.id,
|
|
2224
2359
|
title: request.title,
|
|
2225
2360
|
description: request.description,
|
|
@@ -2243,43 +2378,43 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2243
2378
|
}
|
|
2244
2379
|
|
|
2245
2380
|
look(callback, look_id, fields, options) {
|
|
2246
|
-
var
|
|
2381
|
+
var _this232 = this;
|
|
2247
2382
|
|
|
2248
2383
|
return _asyncToGenerator(function* () {
|
|
2249
2384
|
look_id = encodeParam(look_id);
|
|
2250
|
-
return
|
|
2385
|
+
return _this232.authStream(callback, 'GET', "/looks/".concat(look_id), {
|
|
2251
2386
|
fields
|
|
2252
2387
|
}, null, options);
|
|
2253
2388
|
})();
|
|
2254
2389
|
}
|
|
2255
2390
|
|
|
2256
2391
|
update_look(callback, look_id, body, fields, options) {
|
|
2257
|
-
var
|
|
2392
|
+
var _this233 = this;
|
|
2258
2393
|
|
|
2259
2394
|
return _asyncToGenerator(function* () {
|
|
2260
2395
|
look_id = encodeParam(look_id);
|
|
2261
|
-
return
|
|
2396
|
+
return _this233.authStream(callback, 'PATCH', "/looks/".concat(look_id), {
|
|
2262
2397
|
fields
|
|
2263
2398
|
}, body, options);
|
|
2264
2399
|
})();
|
|
2265
2400
|
}
|
|
2266
2401
|
|
|
2267
2402
|
delete_look(callback, look_id, options) {
|
|
2268
|
-
var
|
|
2403
|
+
var _this234 = this;
|
|
2269
2404
|
|
|
2270
2405
|
return _asyncToGenerator(function* () {
|
|
2271
2406
|
look_id = encodeParam(look_id);
|
|
2272
|
-
return
|
|
2407
|
+
return _this234.authStream(callback, 'DELETE', "/looks/".concat(look_id), null, null, options);
|
|
2273
2408
|
})();
|
|
2274
2409
|
}
|
|
2275
2410
|
|
|
2276
2411
|
run_look(callback, request, options) {
|
|
2277
|
-
var
|
|
2412
|
+
var _this235 = this;
|
|
2278
2413
|
|
|
2279
2414
|
return _asyncToGenerator(function* () {
|
|
2280
2415
|
request.look_id = encodeParam(request.look_id);
|
|
2281
2416
|
request.result_format = encodeParam(request.result_format);
|
|
2282
|
-
return
|
|
2417
|
+
return _this235.authStream(callback, 'GET', "/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2283
2418
|
limit: request.limit,
|
|
2284
2419
|
apply_formatting: request.apply_formatting,
|
|
2285
2420
|
apply_vis: request.apply_vis,
|
|
@@ -2297,32 +2432,32 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2297
2432
|
}
|
|
2298
2433
|
|
|
2299
2434
|
copy_look(callback, look_id, folder_id, options) {
|
|
2300
|
-
var
|
|
2435
|
+
var _this236 = this;
|
|
2301
2436
|
|
|
2302
2437
|
return _asyncToGenerator(function* () {
|
|
2303
2438
|
look_id = encodeParam(look_id);
|
|
2304
|
-
return
|
|
2439
|
+
return _this236.authStream(callback, 'POST', "/looks/".concat(look_id, "/copy"), {
|
|
2305
2440
|
folder_id
|
|
2306
2441
|
}, null, options);
|
|
2307
2442
|
})();
|
|
2308
2443
|
}
|
|
2309
2444
|
|
|
2310
2445
|
move_look(callback, look_id, folder_id, options) {
|
|
2311
|
-
var
|
|
2446
|
+
var _this237 = this;
|
|
2312
2447
|
|
|
2313
2448
|
return _asyncToGenerator(function* () {
|
|
2314
2449
|
look_id = encodeParam(look_id);
|
|
2315
|
-
return
|
|
2450
|
+
return _this237.authStream(callback, 'PATCH', "/looks/".concat(look_id, "/move"), {
|
|
2316
2451
|
folder_id
|
|
2317
2452
|
}, null, options);
|
|
2318
2453
|
})();
|
|
2319
2454
|
}
|
|
2320
2455
|
|
|
2321
2456
|
all_lookml_models(callback, request, options) {
|
|
2322
|
-
var
|
|
2457
|
+
var _this238 = this;
|
|
2323
2458
|
|
|
2324
2459
|
return _asyncToGenerator(function* () {
|
|
2325
|
-
return
|
|
2460
|
+
return _this238.authStream(callback, 'GET', '/lookml_models', {
|
|
2326
2461
|
fields: request.fields,
|
|
2327
2462
|
limit: request.limit,
|
|
2328
2463
|
offset: request.offset
|
|
@@ -2331,62 +2466,62 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2331
2466
|
}
|
|
2332
2467
|
|
|
2333
2468
|
create_lookml_model(callback, body, options) {
|
|
2334
|
-
var
|
|
2469
|
+
var _this239 = this;
|
|
2335
2470
|
|
|
2336
2471
|
return _asyncToGenerator(function* () {
|
|
2337
|
-
return
|
|
2472
|
+
return _this239.authStream(callback, 'POST', '/lookml_models', null, body, options);
|
|
2338
2473
|
})();
|
|
2339
2474
|
}
|
|
2340
2475
|
|
|
2341
2476
|
lookml_model(callback, lookml_model_name, fields, options) {
|
|
2342
|
-
var
|
|
2477
|
+
var _this240 = this;
|
|
2343
2478
|
|
|
2344
2479
|
return _asyncToGenerator(function* () {
|
|
2345
2480
|
lookml_model_name = encodeParam(lookml_model_name);
|
|
2346
|
-
return
|
|
2481
|
+
return _this240.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name), {
|
|
2347
2482
|
fields
|
|
2348
2483
|
}, null, options);
|
|
2349
2484
|
})();
|
|
2350
2485
|
}
|
|
2351
2486
|
|
|
2352
2487
|
update_lookml_model(callback, lookml_model_name, body, options) {
|
|
2353
|
-
var
|
|
2488
|
+
var _this241 = this;
|
|
2354
2489
|
|
|
2355
2490
|
return _asyncToGenerator(function* () {
|
|
2356
2491
|
lookml_model_name = encodeParam(lookml_model_name);
|
|
2357
|
-
return
|
|
2492
|
+
return _this241.authStream(callback, 'PATCH', "/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2358
2493
|
})();
|
|
2359
2494
|
}
|
|
2360
2495
|
|
|
2361
2496
|
delete_lookml_model(callback, lookml_model_name, options) {
|
|
2362
|
-
var
|
|
2497
|
+
var _this242 = this;
|
|
2363
2498
|
|
|
2364
2499
|
return _asyncToGenerator(function* () {
|
|
2365
2500
|
lookml_model_name = encodeParam(lookml_model_name);
|
|
2366
|
-
return
|
|
2501
|
+
return _this242.authStream(callback, 'DELETE', "/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2367
2502
|
})();
|
|
2368
2503
|
}
|
|
2369
2504
|
|
|
2370
2505
|
lookml_model_explore(callback, lookml_model_name, explore_name, fields, options) {
|
|
2371
|
-
var
|
|
2506
|
+
var _this243 = this;
|
|
2372
2507
|
|
|
2373
2508
|
return _asyncToGenerator(function* () {
|
|
2374
2509
|
lookml_model_name = encodeParam(lookml_model_name);
|
|
2375
2510
|
explore_name = encodeParam(explore_name);
|
|
2376
|
-
return
|
|
2511
|
+
return _this243.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
2377
2512
|
fields
|
|
2378
2513
|
}, null, options);
|
|
2379
2514
|
})();
|
|
2380
2515
|
}
|
|
2381
2516
|
|
|
2382
2517
|
model_fieldname_suggestions(callback, request, options) {
|
|
2383
|
-
var
|
|
2518
|
+
var _this244 = this;
|
|
2384
2519
|
|
|
2385
2520
|
return _asyncToGenerator(function* () {
|
|
2386
2521
|
request.model_name = encodeParam(request.model_name);
|
|
2387
2522
|
request.view_name = encodeParam(request.view_name);
|
|
2388
2523
|
request.field_name = encodeParam(request.field_name);
|
|
2389
|
-
return
|
|
2524
|
+
return _this244.authStream(callback, 'GET', "/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2390
2525
|
term: request.term,
|
|
2391
2526
|
filters: request.filters
|
|
2392
2527
|
}, null, options);
|
|
@@ -2394,40 +2529,40 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2394
2529
|
}
|
|
2395
2530
|
|
|
2396
2531
|
get_model(callback, model_name, options) {
|
|
2397
|
-
var
|
|
2532
|
+
var _this245 = this;
|
|
2398
2533
|
|
|
2399
2534
|
return _asyncToGenerator(function* () {
|
|
2400
2535
|
model_name = encodeParam(model_name);
|
|
2401
|
-
return
|
|
2536
|
+
return _this245.authStream(callback, 'GET', "/models/".concat(model_name), null, null, options);
|
|
2402
2537
|
})();
|
|
2403
2538
|
}
|
|
2404
2539
|
|
|
2405
2540
|
connection_databases(callback, connection_name, options) {
|
|
2406
|
-
var
|
|
2541
|
+
var _this246 = this;
|
|
2407
2542
|
|
|
2408
2543
|
return _asyncToGenerator(function* () {
|
|
2409
2544
|
connection_name = encodeParam(connection_name);
|
|
2410
|
-
return
|
|
2545
|
+
return _this246.authStream(callback, 'GET', "/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2411
2546
|
})();
|
|
2412
2547
|
}
|
|
2413
2548
|
|
|
2414
2549
|
connection_features(callback, connection_name, fields, options) {
|
|
2415
|
-
var
|
|
2550
|
+
var _this247 = this;
|
|
2416
2551
|
|
|
2417
2552
|
return _asyncToGenerator(function* () {
|
|
2418
2553
|
connection_name = encodeParam(connection_name);
|
|
2419
|
-
return
|
|
2554
|
+
return _this247.authStream(callback, 'GET', "/connections/".concat(connection_name, "/features"), {
|
|
2420
2555
|
fields
|
|
2421
2556
|
}, null, options);
|
|
2422
2557
|
})();
|
|
2423
2558
|
}
|
|
2424
2559
|
|
|
2425
2560
|
connection_schemas(callback, request, options) {
|
|
2426
|
-
var
|
|
2561
|
+
var _this248 = this;
|
|
2427
2562
|
|
|
2428
2563
|
return _asyncToGenerator(function* () {
|
|
2429
2564
|
request.connection_name = encodeParam(request.connection_name);
|
|
2430
|
-
return
|
|
2565
|
+
return _this248.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/schemas"), {
|
|
2431
2566
|
database: request.database,
|
|
2432
2567
|
cache: request.cache,
|
|
2433
2568
|
fields: request.fields
|
|
@@ -2436,25 +2571,27 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2436
2571
|
}
|
|
2437
2572
|
|
|
2438
2573
|
connection_tables(callback, request, options) {
|
|
2439
|
-
var
|
|
2574
|
+
var _this249 = this;
|
|
2440
2575
|
|
|
2441
2576
|
return _asyncToGenerator(function* () {
|
|
2442
2577
|
request.connection_name = encodeParam(request.connection_name);
|
|
2443
|
-
return
|
|
2578
|
+
return _this249.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/tables"), {
|
|
2444
2579
|
database: request.database,
|
|
2445
2580
|
schema_name: request.schema_name,
|
|
2446
2581
|
cache: request.cache,
|
|
2447
|
-
fields: request.fields
|
|
2582
|
+
fields: request.fields,
|
|
2583
|
+
table_filter: request.table_filter,
|
|
2584
|
+
table_limit: request.table_limit
|
|
2448
2585
|
}, null, options);
|
|
2449
2586
|
})();
|
|
2450
2587
|
}
|
|
2451
2588
|
|
|
2452
2589
|
connection_columns(callback, request, options) {
|
|
2453
|
-
var
|
|
2590
|
+
var _this250 = this;
|
|
2454
2591
|
|
|
2455
2592
|
return _asyncToGenerator(function* () {
|
|
2456
2593
|
request.connection_name = encodeParam(request.connection_name);
|
|
2457
|
-
return
|
|
2594
|
+
return _this250.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/columns"), {
|
|
2458
2595
|
database: request.database,
|
|
2459
2596
|
schema_name: request.schema_name,
|
|
2460
2597
|
cache: request.cache,
|
|
@@ -2466,11 +2603,11 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2466
2603
|
}
|
|
2467
2604
|
|
|
2468
2605
|
connection_search_columns(callback, request, options) {
|
|
2469
|
-
var
|
|
2606
|
+
var _this251 = this;
|
|
2470
2607
|
|
|
2471
2608
|
return _asyncToGenerator(function* () {
|
|
2472
2609
|
request.connection_name = encodeParam(request.connection_name);
|
|
2473
|
-
return
|
|
2610
|
+
return _this251.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2474
2611
|
column_name: request.column_name,
|
|
2475
2612
|
fields: request.fields
|
|
2476
2613
|
}, null, options);
|
|
@@ -2478,89 +2615,89 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2478
2615
|
}
|
|
2479
2616
|
|
|
2480
2617
|
connection_cost_estimate(callback, connection_name, body, fields, options) {
|
|
2481
|
-
var
|
|
2618
|
+
var _this252 = this;
|
|
2482
2619
|
|
|
2483
2620
|
return _asyncToGenerator(function* () {
|
|
2484
2621
|
connection_name = encodeParam(connection_name);
|
|
2485
|
-
return
|
|
2622
|
+
return _this252.authStream(callback, 'POST', "/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2486
2623
|
fields
|
|
2487
2624
|
}, body, options);
|
|
2488
2625
|
})();
|
|
2489
2626
|
}
|
|
2490
2627
|
|
|
2491
2628
|
lock_all(callback, project_id, fields, options) {
|
|
2492
|
-
var
|
|
2629
|
+
var _this253 = this;
|
|
2493
2630
|
|
|
2494
2631
|
return _asyncToGenerator(function* () {
|
|
2495
2632
|
project_id = encodeParam(project_id);
|
|
2496
|
-
return
|
|
2633
|
+
return _this253.authStream(callback, 'POST', "/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2497
2634
|
fields
|
|
2498
2635
|
}, null, options);
|
|
2499
2636
|
})();
|
|
2500
2637
|
}
|
|
2501
2638
|
|
|
2502
2639
|
all_git_branches(callback, project_id, options) {
|
|
2503
|
-
var
|
|
2640
|
+
var _this254 = this;
|
|
2504
2641
|
|
|
2505
2642
|
return _asyncToGenerator(function* () {
|
|
2506
2643
|
project_id = encodeParam(project_id);
|
|
2507
|
-
return
|
|
2644
|
+
return _this254.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2508
2645
|
})();
|
|
2509
2646
|
}
|
|
2510
2647
|
|
|
2511
2648
|
git_branch(callback, project_id, options) {
|
|
2512
|
-
var
|
|
2649
|
+
var _this255 = this;
|
|
2513
2650
|
|
|
2514
2651
|
return _asyncToGenerator(function* () {
|
|
2515
2652
|
project_id = encodeParam(project_id);
|
|
2516
|
-
return
|
|
2653
|
+
return _this255.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2517
2654
|
})();
|
|
2518
2655
|
}
|
|
2519
2656
|
|
|
2520
2657
|
update_git_branch(callback, project_id, body, options) {
|
|
2521
|
-
var
|
|
2658
|
+
var _this256 = this;
|
|
2522
2659
|
|
|
2523
2660
|
return _asyncToGenerator(function* () {
|
|
2524
2661
|
project_id = encodeParam(project_id);
|
|
2525
|
-
return
|
|
2662
|
+
return _this256.authStream(callback, 'PUT', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2526
2663
|
})();
|
|
2527
2664
|
}
|
|
2528
2665
|
|
|
2529
2666
|
create_git_branch(callback, project_id, body, options) {
|
|
2530
|
-
var
|
|
2667
|
+
var _this257 = this;
|
|
2531
2668
|
|
|
2532
2669
|
return _asyncToGenerator(function* () {
|
|
2533
2670
|
project_id = encodeParam(project_id);
|
|
2534
|
-
return
|
|
2671
|
+
return _this257.authStream(callback, 'POST', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2535
2672
|
})();
|
|
2536
2673
|
}
|
|
2537
2674
|
|
|
2538
2675
|
find_git_branch(callback, project_id, branch_name, options) {
|
|
2539
|
-
var
|
|
2676
|
+
var _this258 = this;
|
|
2540
2677
|
|
|
2541
2678
|
return _asyncToGenerator(function* () {
|
|
2542
2679
|
project_id = encodeParam(project_id);
|
|
2543
2680
|
branch_name = encodeParam(branch_name);
|
|
2544
|
-
return
|
|
2681
|
+
return _this258.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2545
2682
|
})();
|
|
2546
2683
|
}
|
|
2547
2684
|
|
|
2548
2685
|
delete_git_branch(callback, project_id, branch_name, options) {
|
|
2549
|
-
var
|
|
2686
|
+
var _this259 = this;
|
|
2550
2687
|
|
|
2551
2688
|
return _asyncToGenerator(function* () {
|
|
2552
2689
|
project_id = encodeParam(project_id);
|
|
2553
2690
|
branch_name = encodeParam(branch_name);
|
|
2554
|
-
return
|
|
2691
|
+
return _this259.authStream(callback, 'DELETE', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2555
2692
|
})();
|
|
2556
2693
|
}
|
|
2557
2694
|
|
|
2558
2695
|
deploy_ref_to_production(callback, request, options) {
|
|
2559
|
-
var
|
|
2696
|
+
var _this260 = this;
|
|
2560
2697
|
|
|
2561
2698
|
return _asyncToGenerator(function* () {
|
|
2562
2699
|
request.project_id = encodeParam(request.project_id);
|
|
2563
|
-
return
|
|
2700
|
+
return _this260.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2564
2701
|
branch: request.branch,
|
|
2565
2702
|
ref: request.ref
|
|
2566
2703
|
}, null, options);
|
|
@@ -2568,149 +2705,149 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2568
2705
|
}
|
|
2569
2706
|
|
|
2570
2707
|
deploy_to_production(callback, project_id, options) {
|
|
2571
|
-
var
|
|
2708
|
+
var _this261 = this;
|
|
2572
2709
|
|
|
2573
2710
|
return _asyncToGenerator(function* () {
|
|
2574
2711
|
project_id = encodeParam(project_id);
|
|
2575
|
-
return
|
|
2712
|
+
return _this261.authStream(callback, 'POST', "/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2576
2713
|
})();
|
|
2577
2714
|
}
|
|
2578
2715
|
|
|
2579
2716
|
reset_project_to_production(callback, project_id, options) {
|
|
2580
|
-
var
|
|
2717
|
+
var _this262 = this;
|
|
2581
2718
|
|
|
2582
2719
|
return _asyncToGenerator(function* () {
|
|
2583
2720
|
project_id = encodeParam(project_id);
|
|
2584
|
-
return
|
|
2721
|
+
return _this262.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2585
2722
|
})();
|
|
2586
2723
|
}
|
|
2587
2724
|
|
|
2588
2725
|
reset_project_to_remote(callback, project_id, options) {
|
|
2589
|
-
var
|
|
2726
|
+
var _this263 = this;
|
|
2590
2727
|
|
|
2591
2728
|
return _asyncToGenerator(function* () {
|
|
2592
2729
|
project_id = encodeParam(project_id);
|
|
2593
|
-
return
|
|
2730
|
+
return _this263.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2594
2731
|
})();
|
|
2595
2732
|
}
|
|
2596
2733
|
|
|
2597
2734
|
all_projects(callback, fields, options) {
|
|
2598
|
-
var
|
|
2735
|
+
var _this264 = this;
|
|
2599
2736
|
|
|
2600
2737
|
return _asyncToGenerator(function* () {
|
|
2601
|
-
return
|
|
2738
|
+
return _this264.authStream(callback, 'GET', '/projects', {
|
|
2602
2739
|
fields
|
|
2603
2740
|
}, null, options);
|
|
2604
2741
|
})();
|
|
2605
2742
|
}
|
|
2606
2743
|
|
|
2607
2744
|
create_project(callback, body, options) {
|
|
2608
|
-
var
|
|
2745
|
+
var _this265 = this;
|
|
2609
2746
|
|
|
2610
2747
|
return _asyncToGenerator(function* () {
|
|
2611
|
-
return
|
|
2748
|
+
return _this265.authStream(callback, 'POST', '/projects', null, body, options);
|
|
2612
2749
|
})();
|
|
2613
2750
|
}
|
|
2614
2751
|
|
|
2615
2752
|
project(callback, project_id, fields, options) {
|
|
2616
|
-
var
|
|
2753
|
+
var _this266 = this;
|
|
2617
2754
|
|
|
2618
2755
|
return _asyncToGenerator(function* () {
|
|
2619
2756
|
project_id = encodeParam(project_id);
|
|
2620
|
-
return
|
|
2757
|
+
return _this266.authStream(callback, 'GET', "/projects/".concat(project_id), {
|
|
2621
2758
|
fields
|
|
2622
2759
|
}, null, options);
|
|
2623
2760
|
})();
|
|
2624
2761
|
}
|
|
2625
2762
|
|
|
2626
2763
|
update_project(callback, project_id, body, fields, options) {
|
|
2627
|
-
var
|
|
2764
|
+
var _this267 = this;
|
|
2628
2765
|
|
|
2629
2766
|
return _asyncToGenerator(function* () {
|
|
2630
2767
|
project_id = encodeParam(project_id);
|
|
2631
|
-
return
|
|
2768
|
+
return _this267.authStream(callback, 'PATCH', "/projects/".concat(project_id), {
|
|
2632
2769
|
fields
|
|
2633
2770
|
}, body, options);
|
|
2634
2771
|
})();
|
|
2635
2772
|
}
|
|
2636
2773
|
|
|
2637
2774
|
manifest(callback, project_id, options) {
|
|
2638
|
-
var
|
|
2775
|
+
var _this268 = this;
|
|
2639
2776
|
|
|
2640
2777
|
return _asyncToGenerator(function* () {
|
|
2641
2778
|
project_id = encodeParam(project_id);
|
|
2642
|
-
return
|
|
2779
|
+
return _this268.authStream(callback, 'GET', "/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2643
2780
|
})();
|
|
2644
2781
|
}
|
|
2645
2782
|
|
|
2646
2783
|
git_deploy_key(callback, project_id, options) {
|
|
2647
|
-
var
|
|
2784
|
+
var _this269 = this;
|
|
2648
2785
|
|
|
2649
2786
|
return _asyncToGenerator(function* () {
|
|
2650
2787
|
project_id = encodeParam(project_id);
|
|
2651
|
-
return
|
|
2788
|
+
return _this269.authStream(callback, 'GET', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2652
2789
|
})();
|
|
2653
2790
|
}
|
|
2654
2791
|
|
|
2655
2792
|
create_git_deploy_key(callback, project_id, options) {
|
|
2656
|
-
var
|
|
2793
|
+
var _this270 = this;
|
|
2657
2794
|
|
|
2658
2795
|
return _asyncToGenerator(function* () {
|
|
2659
2796
|
project_id = encodeParam(project_id);
|
|
2660
|
-
return
|
|
2797
|
+
return _this270.authStream(callback, 'POST', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2661
2798
|
})();
|
|
2662
2799
|
}
|
|
2663
2800
|
|
|
2664
2801
|
project_validation_results(callback, project_id, fields, options) {
|
|
2665
|
-
var
|
|
2802
|
+
var _this271 = this;
|
|
2666
2803
|
|
|
2667
2804
|
return _asyncToGenerator(function* () {
|
|
2668
2805
|
project_id = encodeParam(project_id);
|
|
2669
|
-
return
|
|
2806
|
+
return _this271.authStream(callback, 'GET', "/projects/".concat(project_id, "/validate"), {
|
|
2670
2807
|
fields
|
|
2671
2808
|
}, null, options);
|
|
2672
2809
|
})();
|
|
2673
2810
|
}
|
|
2674
2811
|
|
|
2675
2812
|
validate_project(callback, project_id, fields, options) {
|
|
2676
|
-
var
|
|
2813
|
+
var _this272 = this;
|
|
2677
2814
|
|
|
2678
2815
|
return _asyncToGenerator(function* () {
|
|
2679
2816
|
project_id = encodeParam(project_id);
|
|
2680
|
-
return
|
|
2817
|
+
return _this272.authStream(callback, 'POST', "/projects/".concat(project_id, "/validate"), {
|
|
2681
2818
|
fields
|
|
2682
2819
|
}, null, options);
|
|
2683
2820
|
})();
|
|
2684
2821
|
}
|
|
2685
2822
|
|
|
2686
2823
|
project_workspace(callback, project_id, fields, options) {
|
|
2687
|
-
var
|
|
2824
|
+
var _this273 = this;
|
|
2688
2825
|
|
|
2689
2826
|
return _asyncToGenerator(function* () {
|
|
2690
2827
|
project_id = encodeParam(project_id);
|
|
2691
|
-
return
|
|
2828
|
+
return _this273.authStream(callback, 'GET', "/projects/".concat(project_id, "/current_workspace"), {
|
|
2692
2829
|
fields
|
|
2693
2830
|
}, null, options);
|
|
2694
2831
|
})();
|
|
2695
2832
|
}
|
|
2696
2833
|
|
|
2697
2834
|
all_project_files(callback, project_id, fields, options) {
|
|
2698
|
-
var
|
|
2835
|
+
var _this274 = this;
|
|
2699
2836
|
|
|
2700
2837
|
return _asyncToGenerator(function* () {
|
|
2701
2838
|
project_id = encodeParam(project_id);
|
|
2702
|
-
return
|
|
2839
|
+
return _this274.authStream(callback, 'GET', "/projects/".concat(project_id, "/files"), {
|
|
2703
2840
|
fields
|
|
2704
2841
|
}, null, options);
|
|
2705
2842
|
})();
|
|
2706
2843
|
}
|
|
2707
2844
|
|
|
2708
2845
|
project_file(callback, project_id, file_id, fields, options) {
|
|
2709
|
-
var
|
|
2846
|
+
var _this275 = this;
|
|
2710
2847
|
|
|
2711
2848
|
return _asyncToGenerator(function* () {
|
|
2712
2849
|
project_id = encodeParam(project_id);
|
|
2713
|
-
return
|
|
2850
|
+
return _this275.authStream(callback, 'GET', "/projects/".concat(project_id, "/files/file"), {
|
|
2714
2851
|
file_id,
|
|
2715
2852
|
fields
|
|
2716
2853
|
}, null, options);
|
|
@@ -2718,23 +2855,23 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2718
2855
|
}
|
|
2719
2856
|
|
|
2720
2857
|
all_git_connection_tests(callback, project_id, remote_url, options) {
|
|
2721
|
-
var
|
|
2858
|
+
var _this276 = this;
|
|
2722
2859
|
|
|
2723
2860
|
return _asyncToGenerator(function* () {
|
|
2724
2861
|
project_id = encodeParam(project_id);
|
|
2725
|
-
return
|
|
2862
|
+
return _this276.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2726
2863
|
remote_url
|
|
2727
2864
|
}, null, options);
|
|
2728
2865
|
})();
|
|
2729
2866
|
}
|
|
2730
2867
|
|
|
2731
2868
|
run_git_connection_test(callback, request, options) {
|
|
2732
|
-
var
|
|
2869
|
+
var _this277 = this;
|
|
2733
2870
|
|
|
2734
2871
|
return _asyncToGenerator(function* () {
|
|
2735
2872
|
request.project_id = encodeParam(request.project_id);
|
|
2736
2873
|
request.test_id = encodeParam(request.test_id);
|
|
2737
|
-
return
|
|
2874
|
+
return _this277.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2738
2875
|
remote_url: request.remote_url,
|
|
2739
2876
|
use_production: request.use_production
|
|
2740
2877
|
}, null, options);
|
|
@@ -2742,22 +2879,22 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2742
2879
|
}
|
|
2743
2880
|
|
|
2744
2881
|
all_lookml_tests(callback, project_id, file_id, options) {
|
|
2745
|
-
var
|
|
2882
|
+
var _this278 = this;
|
|
2746
2883
|
|
|
2747
2884
|
return _asyncToGenerator(function* () {
|
|
2748
2885
|
project_id = encodeParam(project_id);
|
|
2749
|
-
return
|
|
2886
|
+
return _this278.authStream(callback, 'GET', "/projects/".concat(project_id, "/lookml_tests"), {
|
|
2750
2887
|
file_id
|
|
2751
2888
|
}, null, options);
|
|
2752
2889
|
})();
|
|
2753
2890
|
}
|
|
2754
2891
|
|
|
2755
2892
|
run_lookml_test(callback, request, options) {
|
|
2756
|
-
var
|
|
2893
|
+
var _this279 = this;
|
|
2757
2894
|
|
|
2758
2895
|
return _asyncToGenerator(function* () {
|
|
2759
2896
|
request.project_id = encodeParam(request.project_id);
|
|
2760
|
-
return
|
|
2897
|
+
return _this279.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2761
2898
|
file_id: request.file_id,
|
|
2762
2899
|
test: request.test,
|
|
2763
2900
|
model: request.model
|
|
@@ -2766,11 +2903,11 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2766
2903
|
}
|
|
2767
2904
|
|
|
2768
2905
|
tag_ref(callback, request, options) {
|
|
2769
|
-
var
|
|
2906
|
+
var _this280 = this;
|
|
2770
2907
|
|
|
2771
2908
|
return _asyncToGenerator(function* () {
|
|
2772
2909
|
request.project_id = encodeParam(request.project_id);
|
|
2773
|
-
return
|
|
2910
|
+
return _this280.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/tag"), {
|
|
2774
2911
|
commit_sha: request.commit_sha,
|
|
2775
2912
|
tag_name: request.tag_name,
|
|
2776
2913
|
tag_message: request.tag_message
|
|
@@ -2779,39 +2916,39 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2779
2916
|
}
|
|
2780
2917
|
|
|
2781
2918
|
update_repository_credential(callback, root_project_id, credential_id, body, options) {
|
|
2782
|
-
var
|
|
2919
|
+
var _this281 = this;
|
|
2783
2920
|
|
|
2784
2921
|
return _asyncToGenerator(function* () {
|
|
2785
2922
|
root_project_id = encodeParam(root_project_id);
|
|
2786
2923
|
credential_id = encodeParam(credential_id);
|
|
2787
|
-
return
|
|
2924
|
+
return _this281.authStream(callback, 'PUT', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2788
2925
|
})();
|
|
2789
2926
|
}
|
|
2790
2927
|
|
|
2791
2928
|
delete_repository_credential(callback, root_project_id, credential_id, options) {
|
|
2792
|
-
var
|
|
2929
|
+
var _this282 = this;
|
|
2793
2930
|
|
|
2794
2931
|
return _asyncToGenerator(function* () {
|
|
2795
2932
|
root_project_id = encodeParam(root_project_id);
|
|
2796
2933
|
credential_id = encodeParam(credential_id);
|
|
2797
|
-
return
|
|
2934
|
+
return _this282.authStream(callback, 'DELETE', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2798
2935
|
})();
|
|
2799
2936
|
}
|
|
2800
2937
|
|
|
2801
2938
|
get_all_repository_credentials(callback, root_project_id, options) {
|
|
2802
|
-
var
|
|
2939
|
+
var _this283 = this;
|
|
2803
2940
|
|
|
2804
2941
|
return _asyncToGenerator(function* () {
|
|
2805
2942
|
root_project_id = encodeParam(root_project_id);
|
|
2806
|
-
return
|
|
2943
|
+
return _this283.authStream(callback, 'GET', "/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2807
2944
|
})();
|
|
2808
2945
|
}
|
|
2809
2946
|
|
|
2810
2947
|
create_query_task(callback, request, options) {
|
|
2811
|
-
var
|
|
2948
|
+
var _this284 = this;
|
|
2812
2949
|
|
|
2813
2950
|
return _asyncToGenerator(function* () {
|
|
2814
|
-
return
|
|
2951
|
+
return _this284.authStream(callback, 'POST', '/query_tasks', {
|
|
2815
2952
|
limit: request.limit,
|
|
2816
2953
|
apply_formatting: request.apply_formatting,
|
|
2817
2954
|
apply_vis: request.apply_vis,
|
|
@@ -2830,72 +2967,74 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2830
2967
|
}
|
|
2831
2968
|
|
|
2832
2969
|
query_task_multi_results(callback, query_task_ids, options) {
|
|
2833
|
-
var
|
|
2970
|
+
var _this285 = this;
|
|
2834
2971
|
|
|
2835
2972
|
return _asyncToGenerator(function* () {
|
|
2836
|
-
return
|
|
2973
|
+
return _this285.authStream(callback, 'GET', '/query_tasks/multi_results', {
|
|
2837
2974
|
query_task_ids
|
|
2838
2975
|
}, null, options);
|
|
2839
2976
|
})();
|
|
2840
2977
|
}
|
|
2841
2978
|
|
|
2842
2979
|
query_task(callback, query_task_id, fields, options) {
|
|
2843
|
-
var
|
|
2980
|
+
var _this286 = this;
|
|
2844
2981
|
|
|
2845
2982
|
return _asyncToGenerator(function* () {
|
|
2846
2983
|
query_task_id = encodeParam(query_task_id);
|
|
2847
|
-
return
|
|
2984
|
+
return _this286.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id), {
|
|
2848
2985
|
fields
|
|
2849
2986
|
}, null, options);
|
|
2850
2987
|
})();
|
|
2851
2988
|
}
|
|
2852
2989
|
|
|
2853
2990
|
query_task_results(callback, query_task_id, options) {
|
|
2854
|
-
var
|
|
2991
|
+
var _this287 = this;
|
|
2855
2992
|
|
|
2856
2993
|
return _asyncToGenerator(function* () {
|
|
2857
2994
|
query_task_id = encodeParam(query_task_id);
|
|
2858
|
-
return
|
|
2995
|
+
return _this287.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2859
2996
|
})();
|
|
2860
2997
|
}
|
|
2861
2998
|
|
|
2862
2999
|
query(callback, query_id, fields, options) {
|
|
2863
|
-
var
|
|
3000
|
+
var _this288 = this;
|
|
2864
3001
|
|
|
2865
3002
|
return _asyncToGenerator(function* () {
|
|
2866
|
-
|
|
3003
|
+
query_id = encodeParam(query_id);
|
|
3004
|
+
return _this288.authStream(callback, 'GET', "/queries/".concat(query_id), {
|
|
2867
3005
|
fields
|
|
2868
3006
|
}, null, options);
|
|
2869
3007
|
})();
|
|
2870
3008
|
}
|
|
2871
3009
|
|
|
2872
3010
|
query_for_slug(callback, slug, fields, options) {
|
|
2873
|
-
var
|
|
3011
|
+
var _this289 = this;
|
|
2874
3012
|
|
|
2875
3013
|
return _asyncToGenerator(function* () {
|
|
2876
3014
|
slug = encodeParam(slug);
|
|
2877
|
-
return
|
|
3015
|
+
return _this289.authStream(callback, 'GET', "/queries/slug/".concat(slug), {
|
|
2878
3016
|
fields
|
|
2879
3017
|
}, null, options);
|
|
2880
3018
|
})();
|
|
2881
3019
|
}
|
|
2882
3020
|
|
|
2883
3021
|
create_query(callback, body, fields, options) {
|
|
2884
|
-
var
|
|
3022
|
+
var _this290 = this;
|
|
2885
3023
|
|
|
2886
3024
|
return _asyncToGenerator(function* () {
|
|
2887
|
-
return
|
|
3025
|
+
return _this290.authStream(callback, 'POST', '/queries', {
|
|
2888
3026
|
fields
|
|
2889
3027
|
}, body, options);
|
|
2890
3028
|
})();
|
|
2891
3029
|
}
|
|
2892
3030
|
|
|
2893
3031
|
run_query(callback, request, options) {
|
|
2894
|
-
var
|
|
3032
|
+
var _this291 = this;
|
|
2895
3033
|
|
|
2896
3034
|
return _asyncToGenerator(function* () {
|
|
3035
|
+
request.query_id = encodeParam(request.query_id);
|
|
2897
3036
|
request.result_format = encodeParam(request.result_format);
|
|
2898
|
-
return
|
|
3037
|
+
return _this291.authStream(callback, 'GET', "/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2899
3038
|
limit: request.limit,
|
|
2900
3039
|
apply_formatting: request.apply_formatting,
|
|
2901
3040
|
apply_vis: request.apply_vis,
|
|
@@ -2914,11 +3053,11 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2914
3053
|
}
|
|
2915
3054
|
|
|
2916
3055
|
run_inline_query(callback, request, options) {
|
|
2917
|
-
var
|
|
3056
|
+
var _this292 = this;
|
|
2918
3057
|
|
|
2919
3058
|
return _asyncToGenerator(function* () {
|
|
2920
3059
|
request.result_format = encodeParam(request.result_format);
|
|
2921
|
-
return
|
|
3060
|
+
return _this292.authStream(callback, 'POST', "/queries/run/".concat(request.result_format), {
|
|
2922
3061
|
limit: request.limit,
|
|
2923
3062
|
apply_formatting: request.apply_formatting,
|
|
2924
3063
|
apply_vis: request.apply_vis,
|
|
@@ -2936,89 +3075,90 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
2936
3075
|
}
|
|
2937
3076
|
|
|
2938
3077
|
run_url_encoded_query(callback, model_name, view_name, result_format, options) {
|
|
2939
|
-
var
|
|
3078
|
+
var _this293 = this;
|
|
2940
3079
|
|
|
2941
3080
|
return _asyncToGenerator(function* () {
|
|
2942
3081
|
model_name = encodeParam(model_name);
|
|
2943
3082
|
view_name = encodeParam(view_name);
|
|
2944
3083
|
result_format = encodeParam(result_format);
|
|
2945
|
-
return
|
|
3084
|
+
return _this293.authStream(callback, 'GET', "/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2946
3085
|
})();
|
|
2947
3086
|
}
|
|
2948
3087
|
|
|
2949
3088
|
merge_query(callback, merge_query_id, fields, options) {
|
|
2950
|
-
var
|
|
3089
|
+
var _this294 = this;
|
|
2951
3090
|
|
|
2952
3091
|
return _asyncToGenerator(function* () {
|
|
2953
3092
|
merge_query_id = encodeParam(merge_query_id);
|
|
2954
|
-
return
|
|
3093
|
+
return _this294.authStream(callback, 'GET', "/merge_queries/".concat(merge_query_id), {
|
|
2955
3094
|
fields
|
|
2956
3095
|
}, null, options);
|
|
2957
3096
|
})();
|
|
2958
3097
|
}
|
|
2959
3098
|
|
|
2960
3099
|
create_merge_query(callback, body, fields, options) {
|
|
2961
|
-
var
|
|
3100
|
+
var _this295 = this;
|
|
2962
3101
|
|
|
2963
3102
|
return _asyncToGenerator(function* () {
|
|
2964
|
-
return
|
|
3103
|
+
return _this295.authStream(callback, 'POST', '/merge_queries', {
|
|
2965
3104
|
fields
|
|
2966
3105
|
}, body, options);
|
|
2967
3106
|
})();
|
|
2968
3107
|
}
|
|
2969
3108
|
|
|
2970
3109
|
all_running_queries(callback, options) {
|
|
2971
|
-
var
|
|
3110
|
+
var _this296 = this;
|
|
2972
3111
|
|
|
2973
3112
|
return _asyncToGenerator(function* () {
|
|
2974
|
-
return
|
|
3113
|
+
return _this296.authStream(callback, 'GET', '/running_queries', null, null, options);
|
|
2975
3114
|
})();
|
|
2976
3115
|
}
|
|
2977
3116
|
|
|
2978
3117
|
kill_query(callback, query_task_id, options) {
|
|
2979
|
-
var
|
|
3118
|
+
var _this297 = this;
|
|
2980
3119
|
|
|
2981
3120
|
return _asyncToGenerator(function* () {
|
|
2982
3121
|
query_task_id = encodeParam(query_task_id);
|
|
2983
|
-
return
|
|
3122
|
+
return _this297.authStream(callback, 'DELETE', "/running_queries/".concat(query_task_id), null, null, options);
|
|
2984
3123
|
})();
|
|
2985
3124
|
}
|
|
2986
3125
|
|
|
2987
3126
|
sql_query(callback, slug, options) {
|
|
2988
|
-
var
|
|
3127
|
+
var _this298 = this;
|
|
2989
3128
|
|
|
2990
3129
|
return _asyncToGenerator(function* () {
|
|
2991
3130
|
slug = encodeParam(slug);
|
|
2992
|
-
return
|
|
3131
|
+
return _this298.authStream(callback, 'GET', "/sql_queries/".concat(slug), null, null, options);
|
|
2993
3132
|
})();
|
|
2994
3133
|
}
|
|
2995
3134
|
|
|
2996
3135
|
create_sql_query(callback, body, options) {
|
|
2997
|
-
var
|
|
3136
|
+
var _this299 = this;
|
|
2998
3137
|
|
|
2999
3138
|
return _asyncToGenerator(function* () {
|
|
3000
|
-
return
|
|
3139
|
+
return _this299.authStream(callback, 'POST', '/sql_queries', null, body, options);
|
|
3001
3140
|
})();
|
|
3002
3141
|
}
|
|
3003
3142
|
|
|
3004
3143
|
run_sql_query(callback, slug, result_format, download, options) {
|
|
3005
|
-
var
|
|
3144
|
+
var _this300 = this;
|
|
3006
3145
|
|
|
3007
3146
|
return _asyncToGenerator(function* () {
|
|
3008
3147
|
slug = encodeParam(slug);
|
|
3009
3148
|
result_format = encodeParam(result_format);
|
|
3010
|
-
return
|
|
3149
|
+
return _this300.authStream(callback, 'POST', "/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
3011
3150
|
download
|
|
3012
3151
|
}, null, options);
|
|
3013
3152
|
})();
|
|
3014
3153
|
}
|
|
3015
3154
|
|
|
3016
3155
|
create_look_render_task(callback, look_id, result_format, width, height, fields, options) {
|
|
3017
|
-
var
|
|
3156
|
+
var _this301 = this;
|
|
3018
3157
|
|
|
3019
3158
|
return _asyncToGenerator(function* () {
|
|
3159
|
+
look_id = encodeParam(look_id);
|
|
3020
3160
|
result_format = encodeParam(result_format);
|
|
3021
|
-
return
|
|
3161
|
+
return _this301.authStream(callback, 'POST', "/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
3022
3162
|
width,
|
|
3023
3163
|
height,
|
|
3024
3164
|
fields
|
|
@@ -3027,11 +3167,12 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3027
3167
|
}
|
|
3028
3168
|
|
|
3029
3169
|
create_query_render_task(callback, query_id, result_format, width, height, fields, options) {
|
|
3030
|
-
var
|
|
3170
|
+
var _this302 = this;
|
|
3031
3171
|
|
|
3032
3172
|
return _asyncToGenerator(function* () {
|
|
3173
|
+
query_id = encodeParam(query_id);
|
|
3033
3174
|
result_format = encodeParam(result_format);
|
|
3034
|
-
return
|
|
3175
|
+
return _this302.authStream(callback, 'POST', "/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
3035
3176
|
width,
|
|
3036
3177
|
height,
|
|
3037
3178
|
fields
|
|
@@ -3040,12 +3181,12 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3040
3181
|
}
|
|
3041
3182
|
|
|
3042
3183
|
create_dashboard_render_task(callback, request, options) {
|
|
3043
|
-
var
|
|
3184
|
+
var _this303 = this;
|
|
3044
3185
|
|
|
3045
3186
|
return _asyncToGenerator(function* () {
|
|
3046
3187
|
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
3047
3188
|
request.result_format = encodeParam(request.result_format);
|
|
3048
|
-
return
|
|
3189
|
+
return _this303.authStream(callback, 'POST', "/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
3049
3190
|
width: request.width,
|
|
3050
3191
|
height: request.height,
|
|
3051
3192
|
fields: request.fields,
|
|
@@ -3057,30 +3198,44 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3057
3198
|
}
|
|
3058
3199
|
|
|
3059
3200
|
render_task(callback, render_task_id, fields, options) {
|
|
3060
|
-
var
|
|
3201
|
+
var _this304 = this;
|
|
3061
3202
|
|
|
3062
3203
|
return _asyncToGenerator(function* () {
|
|
3063
3204
|
render_task_id = encodeParam(render_task_id);
|
|
3064
|
-
return
|
|
3205
|
+
return _this304.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id), {
|
|
3065
3206
|
fields
|
|
3066
3207
|
}, null, options);
|
|
3067
3208
|
})();
|
|
3068
3209
|
}
|
|
3069
3210
|
|
|
3070
3211
|
render_task_results(callback, render_task_id, options) {
|
|
3071
|
-
var
|
|
3212
|
+
var _this305 = this;
|
|
3072
3213
|
|
|
3073
3214
|
return _asyncToGenerator(function* () {
|
|
3074
3215
|
render_task_id = encodeParam(render_task_id);
|
|
3075
|
-
return
|
|
3216
|
+
return _this305.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
3217
|
+
})();
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
create_dashboard_element_render_task(callback, dashboard_element_id, result_format, width, height, fields, options) {
|
|
3221
|
+
var _this306 = this;
|
|
3222
|
+
|
|
3223
|
+
return _asyncToGenerator(function* () {
|
|
3224
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
3225
|
+
result_format = encodeParam(result_format);
|
|
3226
|
+
return _this306.authStream(callback, 'POST', "/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
3227
|
+
width,
|
|
3228
|
+
height,
|
|
3229
|
+
fields
|
|
3230
|
+
}, null, options);
|
|
3076
3231
|
})();
|
|
3077
3232
|
}
|
|
3078
3233
|
|
|
3079
3234
|
search_model_sets(callback, request, options) {
|
|
3080
|
-
var
|
|
3235
|
+
var _this307 = this;
|
|
3081
3236
|
|
|
3082
3237
|
return _asyncToGenerator(function* () {
|
|
3083
|
-
return
|
|
3238
|
+
return _this307.authStream(callback, 'GET', '/model_sets/search', {
|
|
3084
3239
|
fields: request.fields,
|
|
3085
3240
|
limit: request.limit,
|
|
3086
3241
|
offset: request.offset,
|
|
@@ -3095,62 +3250,65 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3095
3250
|
}
|
|
3096
3251
|
|
|
3097
3252
|
model_set(callback, model_set_id, fields, options) {
|
|
3098
|
-
var
|
|
3253
|
+
var _this308 = this;
|
|
3099
3254
|
|
|
3100
3255
|
return _asyncToGenerator(function* () {
|
|
3101
|
-
|
|
3256
|
+
model_set_id = encodeParam(model_set_id);
|
|
3257
|
+
return _this308.authStream(callback, 'GET', "/model_sets/".concat(model_set_id), {
|
|
3102
3258
|
fields
|
|
3103
3259
|
}, null, options);
|
|
3104
3260
|
})();
|
|
3105
3261
|
}
|
|
3106
3262
|
|
|
3107
3263
|
update_model_set(callback, model_set_id, body, options) {
|
|
3108
|
-
var
|
|
3264
|
+
var _this309 = this;
|
|
3109
3265
|
|
|
3110
3266
|
return _asyncToGenerator(function* () {
|
|
3111
|
-
|
|
3267
|
+
model_set_id = encodeParam(model_set_id);
|
|
3268
|
+
return _this309.authStream(callback, 'PATCH', "/model_sets/".concat(model_set_id), null, body, options);
|
|
3112
3269
|
})();
|
|
3113
3270
|
}
|
|
3114
3271
|
|
|
3115
3272
|
delete_model_set(callback, model_set_id, options) {
|
|
3116
|
-
var
|
|
3273
|
+
var _this310 = this;
|
|
3117
3274
|
|
|
3118
3275
|
return _asyncToGenerator(function* () {
|
|
3119
|
-
|
|
3276
|
+
model_set_id = encodeParam(model_set_id);
|
|
3277
|
+
return _this310.authStream(callback, 'DELETE', "/model_sets/".concat(model_set_id), null, null, options);
|
|
3120
3278
|
})();
|
|
3121
3279
|
}
|
|
3122
3280
|
|
|
3123
3281
|
all_model_sets(callback, fields, options) {
|
|
3124
|
-
var
|
|
3282
|
+
var _this311 = this;
|
|
3125
3283
|
|
|
3126
3284
|
return _asyncToGenerator(function* () {
|
|
3127
|
-
return
|
|
3285
|
+
return _this311.authStream(callback, 'GET', '/model_sets', {
|
|
3128
3286
|
fields
|
|
3129
3287
|
}, null, options);
|
|
3130
3288
|
})();
|
|
3131
3289
|
}
|
|
3132
3290
|
|
|
3133
3291
|
create_model_set(callback, body, options) {
|
|
3134
|
-
var
|
|
3292
|
+
var _this312 = this;
|
|
3135
3293
|
|
|
3136
3294
|
return _asyncToGenerator(function* () {
|
|
3137
|
-
return
|
|
3295
|
+
return _this312.authStream(callback, 'POST', '/model_sets', null, body, options);
|
|
3138
3296
|
})();
|
|
3139
3297
|
}
|
|
3140
3298
|
|
|
3141
3299
|
all_permissions(callback, options) {
|
|
3142
|
-
var
|
|
3300
|
+
var _this313 = this;
|
|
3143
3301
|
|
|
3144
3302
|
return _asyncToGenerator(function* () {
|
|
3145
|
-
return
|
|
3303
|
+
return _this313.authStream(callback, 'GET', '/permissions', null, null, options);
|
|
3146
3304
|
})();
|
|
3147
3305
|
}
|
|
3148
3306
|
|
|
3149
3307
|
search_permission_sets(callback, request, options) {
|
|
3150
|
-
var
|
|
3308
|
+
var _this314 = this;
|
|
3151
3309
|
|
|
3152
3310
|
return _asyncToGenerator(function* () {
|
|
3153
|
-
return
|
|
3311
|
+
return _this314.authStream(callback, 'GET', '/permission_sets/search', {
|
|
3154
3312
|
fields: request.fields,
|
|
3155
3313
|
limit: request.limit,
|
|
3156
3314
|
offset: request.offset,
|
|
@@ -3165,54 +3323,57 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3165
3323
|
}
|
|
3166
3324
|
|
|
3167
3325
|
permission_set(callback, permission_set_id, fields, options) {
|
|
3168
|
-
var
|
|
3326
|
+
var _this315 = this;
|
|
3169
3327
|
|
|
3170
3328
|
return _asyncToGenerator(function* () {
|
|
3171
|
-
|
|
3329
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
3330
|
+
return _this315.authStream(callback, 'GET', "/permission_sets/".concat(permission_set_id), {
|
|
3172
3331
|
fields
|
|
3173
3332
|
}, null, options);
|
|
3174
3333
|
})();
|
|
3175
3334
|
}
|
|
3176
3335
|
|
|
3177
3336
|
update_permission_set(callback, permission_set_id, body, options) {
|
|
3178
|
-
var
|
|
3337
|
+
var _this316 = this;
|
|
3179
3338
|
|
|
3180
3339
|
return _asyncToGenerator(function* () {
|
|
3181
|
-
|
|
3340
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
3341
|
+
return _this316.authStream(callback, 'PATCH', "/permission_sets/".concat(permission_set_id), null, body, options);
|
|
3182
3342
|
})();
|
|
3183
3343
|
}
|
|
3184
3344
|
|
|
3185
3345
|
delete_permission_set(callback, permission_set_id, options) {
|
|
3186
|
-
var
|
|
3346
|
+
var _this317 = this;
|
|
3187
3347
|
|
|
3188
3348
|
return _asyncToGenerator(function* () {
|
|
3189
|
-
|
|
3349
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
3350
|
+
return _this317.authStream(callback, 'DELETE', "/permission_sets/".concat(permission_set_id), null, null, options);
|
|
3190
3351
|
})();
|
|
3191
3352
|
}
|
|
3192
3353
|
|
|
3193
3354
|
all_permission_sets(callback, fields, options) {
|
|
3194
|
-
var
|
|
3355
|
+
var _this318 = this;
|
|
3195
3356
|
|
|
3196
3357
|
return _asyncToGenerator(function* () {
|
|
3197
|
-
return
|
|
3358
|
+
return _this318.authStream(callback, 'GET', '/permission_sets', {
|
|
3198
3359
|
fields
|
|
3199
3360
|
}, null, options);
|
|
3200
3361
|
})();
|
|
3201
3362
|
}
|
|
3202
3363
|
|
|
3203
3364
|
create_permission_set(callback, body, options) {
|
|
3204
|
-
var
|
|
3365
|
+
var _this319 = this;
|
|
3205
3366
|
|
|
3206
3367
|
return _asyncToGenerator(function* () {
|
|
3207
|
-
return
|
|
3368
|
+
return _this319.authStream(callback, 'POST', '/permission_sets', null, body, options);
|
|
3208
3369
|
})();
|
|
3209
3370
|
}
|
|
3210
3371
|
|
|
3211
3372
|
all_roles(callback, request, options) {
|
|
3212
|
-
var
|
|
3373
|
+
var _this320 = this;
|
|
3213
3374
|
|
|
3214
3375
|
return _asyncToGenerator(function* () {
|
|
3215
|
-
return
|
|
3376
|
+
return _this320.authStream(callback, 'GET', '/roles', {
|
|
3216
3377
|
fields: request.fields,
|
|
3217
3378
|
ids: request.ids
|
|
3218
3379
|
}, null, options);
|
|
@@ -3220,18 +3381,18 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3220
3381
|
}
|
|
3221
3382
|
|
|
3222
3383
|
create_role(callback, body, options) {
|
|
3223
|
-
var
|
|
3384
|
+
var _this321 = this;
|
|
3224
3385
|
|
|
3225
3386
|
return _asyncToGenerator(function* () {
|
|
3226
|
-
return
|
|
3387
|
+
return _this321.authStream(callback, 'POST', '/roles', null, body, options);
|
|
3227
3388
|
})();
|
|
3228
3389
|
}
|
|
3229
3390
|
|
|
3230
3391
|
search_roles(callback, request, options) {
|
|
3231
|
-
var
|
|
3392
|
+
var _this322 = this;
|
|
3232
3393
|
|
|
3233
3394
|
return _asyncToGenerator(function* () {
|
|
3234
|
-
return
|
|
3395
|
+
return _this322.authStream(callback, 'GET', '/roles/search', {
|
|
3235
3396
|
fields: request.fields,
|
|
3236
3397
|
limit: request.limit,
|
|
3237
3398
|
offset: request.offset,
|
|
@@ -3245,10 +3406,10 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3245
3406
|
}
|
|
3246
3407
|
|
|
3247
3408
|
search_roles_with_user_count(callback, request, options) {
|
|
3248
|
-
var
|
|
3409
|
+
var _this323 = this;
|
|
3249
3410
|
|
|
3250
3411
|
return _asyncToGenerator(function* () {
|
|
3251
|
-
return
|
|
3412
|
+
return _this323.authStream(callback, 'GET', '/roles/search/with_user_count', {
|
|
3252
3413
|
fields: request.fields,
|
|
3253
3414
|
limit: request.limit,
|
|
3254
3415
|
offset: request.offset,
|
|
@@ -3262,52 +3423,58 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3262
3423
|
}
|
|
3263
3424
|
|
|
3264
3425
|
role(callback, role_id, options) {
|
|
3265
|
-
var
|
|
3426
|
+
var _this324 = this;
|
|
3266
3427
|
|
|
3267
3428
|
return _asyncToGenerator(function* () {
|
|
3268
|
-
|
|
3429
|
+
role_id = encodeParam(role_id);
|
|
3430
|
+
return _this324.authStream(callback, 'GET', "/roles/".concat(role_id), null, null, options);
|
|
3269
3431
|
})();
|
|
3270
3432
|
}
|
|
3271
3433
|
|
|
3272
3434
|
update_role(callback, role_id, body, options) {
|
|
3273
|
-
var
|
|
3435
|
+
var _this325 = this;
|
|
3274
3436
|
|
|
3275
3437
|
return _asyncToGenerator(function* () {
|
|
3276
|
-
|
|
3438
|
+
role_id = encodeParam(role_id);
|
|
3439
|
+
return _this325.authStream(callback, 'PATCH', "/roles/".concat(role_id), null, body, options);
|
|
3277
3440
|
})();
|
|
3278
3441
|
}
|
|
3279
3442
|
|
|
3280
3443
|
delete_role(callback, role_id, options) {
|
|
3281
|
-
var
|
|
3444
|
+
var _this326 = this;
|
|
3282
3445
|
|
|
3283
3446
|
return _asyncToGenerator(function* () {
|
|
3284
|
-
|
|
3447
|
+
role_id = encodeParam(role_id);
|
|
3448
|
+
return _this326.authStream(callback, 'DELETE', "/roles/".concat(role_id), null, null, options);
|
|
3285
3449
|
})();
|
|
3286
3450
|
}
|
|
3287
3451
|
|
|
3288
3452
|
role_groups(callback, role_id, fields, options) {
|
|
3289
|
-
var
|
|
3453
|
+
var _this327 = this;
|
|
3290
3454
|
|
|
3291
3455
|
return _asyncToGenerator(function* () {
|
|
3292
|
-
|
|
3456
|
+
role_id = encodeParam(role_id);
|
|
3457
|
+
return _this327.authStream(callback, 'GET', "/roles/".concat(role_id, "/groups"), {
|
|
3293
3458
|
fields
|
|
3294
3459
|
}, null, options);
|
|
3295
3460
|
})();
|
|
3296
3461
|
}
|
|
3297
3462
|
|
|
3298
3463
|
set_role_groups(callback, role_id, body, options) {
|
|
3299
|
-
var
|
|
3464
|
+
var _this328 = this;
|
|
3300
3465
|
|
|
3301
3466
|
return _asyncToGenerator(function* () {
|
|
3302
|
-
|
|
3467
|
+
role_id = encodeParam(role_id);
|
|
3468
|
+
return _this328.authStream(callback, 'PUT', "/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3303
3469
|
})();
|
|
3304
3470
|
}
|
|
3305
3471
|
|
|
3306
3472
|
role_users(callback, request, options) {
|
|
3307
|
-
var
|
|
3473
|
+
var _this329 = this;
|
|
3308
3474
|
|
|
3309
3475
|
return _asyncToGenerator(function* () {
|
|
3310
|
-
|
|
3476
|
+
request.role_id = encodeParam(request.role_id);
|
|
3477
|
+
return _this329.authStream(callback, 'GET', "/roles/".concat(request.role_id, "/users"), {
|
|
3311
3478
|
fields: request.fields,
|
|
3312
3479
|
direct_association_only: request.direct_association_only
|
|
3313
3480
|
}, null, options);
|
|
@@ -3315,54 +3482,59 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3315
3482
|
}
|
|
3316
3483
|
|
|
3317
3484
|
set_role_users(callback, role_id, body, options) {
|
|
3318
|
-
var
|
|
3485
|
+
var _this330 = this;
|
|
3319
3486
|
|
|
3320
3487
|
return _asyncToGenerator(function* () {
|
|
3321
|
-
|
|
3488
|
+
role_id = encodeParam(role_id);
|
|
3489
|
+
return _this330.authStream(callback, 'PUT', "/roles/".concat(role_id, "/users"), null, body, options);
|
|
3322
3490
|
})();
|
|
3323
3491
|
}
|
|
3324
3492
|
|
|
3325
3493
|
scheduled_plans_for_space(callback, space_id, fields, options) {
|
|
3326
|
-
var
|
|
3494
|
+
var _this331 = this;
|
|
3327
3495
|
|
|
3328
3496
|
return _asyncToGenerator(function* () {
|
|
3329
|
-
|
|
3497
|
+
space_id = encodeParam(space_id);
|
|
3498
|
+
return _this331.authStream(callback, 'GET', "/scheduled_plans/space/".concat(space_id), {
|
|
3330
3499
|
fields
|
|
3331
3500
|
}, null, options);
|
|
3332
3501
|
})();
|
|
3333
3502
|
}
|
|
3334
3503
|
|
|
3335
3504
|
scheduled_plan(callback, scheduled_plan_id, fields, options) {
|
|
3336
|
-
var
|
|
3505
|
+
var _this332 = this;
|
|
3337
3506
|
|
|
3338
3507
|
return _asyncToGenerator(function* () {
|
|
3339
|
-
|
|
3508
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3509
|
+
return _this332.authStream(callback, 'GET', "/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3340
3510
|
fields
|
|
3341
3511
|
}, null, options);
|
|
3342
3512
|
})();
|
|
3343
3513
|
}
|
|
3344
3514
|
|
|
3345
3515
|
update_scheduled_plan(callback, scheduled_plan_id, body, options) {
|
|
3346
|
-
var
|
|
3516
|
+
var _this333 = this;
|
|
3347
3517
|
|
|
3348
3518
|
return _asyncToGenerator(function* () {
|
|
3349
|
-
|
|
3519
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3520
|
+
return _this333.authStream(callback, 'PATCH', "/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3350
3521
|
})();
|
|
3351
3522
|
}
|
|
3352
3523
|
|
|
3353
3524
|
delete_scheduled_plan(callback, scheduled_plan_id, options) {
|
|
3354
|
-
var
|
|
3525
|
+
var _this334 = this;
|
|
3355
3526
|
|
|
3356
3527
|
return _asyncToGenerator(function* () {
|
|
3357
|
-
|
|
3528
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3529
|
+
return _this334.authStream(callback, 'DELETE', "/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3358
3530
|
})();
|
|
3359
3531
|
}
|
|
3360
3532
|
|
|
3361
3533
|
all_scheduled_plans(callback, request, options) {
|
|
3362
|
-
var
|
|
3534
|
+
var _this335 = this;
|
|
3363
3535
|
|
|
3364
3536
|
return _asyncToGenerator(function* () {
|
|
3365
|
-
return
|
|
3537
|
+
return _this335.authStream(callback, 'GET', '/scheduled_plans', {
|
|
3366
3538
|
user_id: request.user_id,
|
|
3367
3539
|
fields: request.fields,
|
|
3368
3540
|
all_users: request.all_users
|
|
@@ -3371,26 +3543,27 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3371
3543
|
}
|
|
3372
3544
|
|
|
3373
3545
|
create_scheduled_plan(callback, body, options) {
|
|
3374
|
-
var
|
|
3546
|
+
var _this336 = this;
|
|
3375
3547
|
|
|
3376
3548
|
return _asyncToGenerator(function* () {
|
|
3377
|
-
return
|
|
3549
|
+
return _this336.authStream(callback, 'POST', '/scheduled_plans', null, body, options);
|
|
3378
3550
|
})();
|
|
3379
3551
|
}
|
|
3380
3552
|
|
|
3381
3553
|
scheduled_plan_run_once(callback, body, options) {
|
|
3382
|
-
var
|
|
3554
|
+
var _this337 = this;
|
|
3383
3555
|
|
|
3384
3556
|
return _asyncToGenerator(function* () {
|
|
3385
|
-
return
|
|
3557
|
+
return _this337.authStream(callback, 'POST', '/scheduled_plans/run_once', null, body, options);
|
|
3386
3558
|
})();
|
|
3387
3559
|
}
|
|
3388
3560
|
|
|
3389
3561
|
scheduled_plans_for_look(callback, request, options) {
|
|
3390
|
-
var
|
|
3562
|
+
var _this338 = this;
|
|
3391
3563
|
|
|
3392
3564
|
return _asyncToGenerator(function* () {
|
|
3393
|
-
|
|
3565
|
+
request.look_id = encodeParam(request.look_id);
|
|
3566
|
+
return _this338.authStream(callback, 'GET', "/scheduled_plans/look/".concat(request.look_id), {
|
|
3394
3567
|
user_id: request.user_id,
|
|
3395
3568
|
fields: request.fields,
|
|
3396
3569
|
all_users: request.all_users
|
|
@@ -3399,10 +3572,11 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3399
3572
|
}
|
|
3400
3573
|
|
|
3401
3574
|
scheduled_plans_for_dashboard(callback, request, options) {
|
|
3402
|
-
var
|
|
3575
|
+
var _this339 = this;
|
|
3403
3576
|
|
|
3404
3577
|
return _asyncToGenerator(function* () {
|
|
3405
|
-
|
|
3578
|
+
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
3579
|
+
return _this339.authStream(callback, 'GET', "/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3406
3580
|
user_id: request.user_id,
|
|
3407
3581
|
all_users: request.all_users,
|
|
3408
3582
|
fields: request.fields
|
|
@@ -3411,11 +3585,11 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3411
3585
|
}
|
|
3412
3586
|
|
|
3413
3587
|
scheduled_plans_for_lookml_dashboard(callback, request, options) {
|
|
3414
|
-
var
|
|
3588
|
+
var _this340 = this;
|
|
3415
3589
|
|
|
3416
3590
|
return _asyncToGenerator(function* () {
|
|
3417
3591
|
request.lookml_dashboard_id = encodeParam(request.lookml_dashboard_id);
|
|
3418
|
-
return
|
|
3592
|
+
return _this340.authStream(callback, 'GET', "/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3419
3593
|
user_id: request.user_id,
|
|
3420
3594
|
fields: request.fields,
|
|
3421
3595
|
all_users: request.all_users
|
|
@@ -3424,52 +3598,53 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3424
3598
|
}
|
|
3425
3599
|
|
|
3426
3600
|
scheduled_plan_run_once_by_id(callback, scheduled_plan_id, body, options) {
|
|
3427
|
-
var
|
|
3601
|
+
var _this341 = this;
|
|
3428
3602
|
|
|
3429
3603
|
return _asyncToGenerator(function* () {
|
|
3430
|
-
|
|
3604
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3605
|
+
return _this341.authStream(callback, 'POST', "/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3431
3606
|
})();
|
|
3432
3607
|
}
|
|
3433
3608
|
|
|
3434
3609
|
session(callback, options) {
|
|
3435
|
-
var
|
|
3610
|
+
var _this342 = this;
|
|
3436
3611
|
|
|
3437
3612
|
return _asyncToGenerator(function* () {
|
|
3438
|
-
return
|
|
3613
|
+
return _this342.authStream(callback, 'GET', '/session', null, null, options);
|
|
3439
3614
|
})();
|
|
3440
3615
|
}
|
|
3441
3616
|
|
|
3442
3617
|
update_session(callback, body, options) {
|
|
3443
|
-
var
|
|
3618
|
+
var _this343 = this;
|
|
3444
3619
|
|
|
3445
3620
|
return _asyncToGenerator(function* () {
|
|
3446
|
-
return
|
|
3621
|
+
return _this343.authStream(callback, 'PATCH', '/session', null, body, options);
|
|
3447
3622
|
})();
|
|
3448
3623
|
}
|
|
3449
3624
|
|
|
3450
3625
|
all_themes(callback, fields, options) {
|
|
3451
|
-
var
|
|
3626
|
+
var _this344 = this;
|
|
3452
3627
|
|
|
3453
3628
|
return _asyncToGenerator(function* () {
|
|
3454
|
-
return
|
|
3629
|
+
return _this344.authStream(callback, 'GET', '/themes', {
|
|
3455
3630
|
fields
|
|
3456
3631
|
}, null, options);
|
|
3457
3632
|
})();
|
|
3458
3633
|
}
|
|
3459
3634
|
|
|
3460
3635
|
create_theme(callback, body, options) {
|
|
3461
|
-
var
|
|
3636
|
+
var _this345 = this;
|
|
3462
3637
|
|
|
3463
3638
|
return _asyncToGenerator(function* () {
|
|
3464
|
-
return
|
|
3639
|
+
return _this345.authStream(callback, 'POST', '/themes', null, body, options);
|
|
3465
3640
|
})();
|
|
3466
3641
|
}
|
|
3467
3642
|
|
|
3468
3643
|
search_themes(callback, request, options) {
|
|
3469
|
-
var
|
|
3644
|
+
var _this346 = this;
|
|
3470
3645
|
|
|
3471
3646
|
return _asyncToGenerator(function* () {
|
|
3472
|
-
return
|
|
3647
|
+
return _this346.authStream(callback, 'GET', '/themes/search', {
|
|
3473
3648
|
id: request.id,
|
|
3474
3649
|
name: request.name,
|
|
3475
3650
|
begin_at: request.begin_at,
|
|
@@ -3484,30 +3659,30 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3484
3659
|
}
|
|
3485
3660
|
|
|
3486
3661
|
default_theme(callback, ts, options) {
|
|
3487
|
-
var
|
|
3662
|
+
var _this347 = this;
|
|
3488
3663
|
|
|
3489
3664
|
return _asyncToGenerator(function* () {
|
|
3490
|
-
return
|
|
3665
|
+
return _this347.authStream(callback, 'GET', '/themes/default', {
|
|
3491
3666
|
ts
|
|
3492
3667
|
}, null, options);
|
|
3493
3668
|
})();
|
|
3494
3669
|
}
|
|
3495
3670
|
|
|
3496
3671
|
set_default_theme(callback, name, options) {
|
|
3497
|
-
var
|
|
3672
|
+
var _this348 = this;
|
|
3498
3673
|
|
|
3499
3674
|
return _asyncToGenerator(function* () {
|
|
3500
|
-
return
|
|
3675
|
+
return _this348.authStream(callback, 'PUT', '/themes/default', {
|
|
3501
3676
|
name
|
|
3502
3677
|
}, null, options);
|
|
3503
3678
|
})();
|
|
3504
3679
|
}
|
|
3505
3680
|
|
|
3506
3681
|
active_themes(callback, request, options) {
|
|
3507
|
-
var
|
|
3682
|
+
var _this349 = this;
|
|
3508
3683
|
|
|
3509
3684
|
return _asyncToGenerator(function* () {
|
|
3510
|
-
return
|
|
3685
|
+
return _this349.authStream(callback, 'GET', '/themes/active', {
|
|
3511
3686
|
name: request.name,
|
|
3512
3687
|
ts: request.ts,
|
|
3513
3688
|
fields: request.fields
|
|
@@ -3516,10 +3691,10 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3516
3691
|
}
|
|
3517
3692
|
|
|
3518
3693
|
theme_or_default(callback, name, ts, options) {
|
|
3519
|
-
var
|
|
3694
|
+
var _this350 = this;
|
|
3520
3695
|
|
|
3521
3696
|
return _asyncToGenerator(function* () {
|
|
3522
|
-
return
|
|
3697
|
+
return _this350.authStream(callback, 'GET', '/themes/theme_or_default', {
|
|
3523
3698
|
name,
|
|
3524
3699
|
ts
|
|
3525
3700
|
}, null, options);
|
|
@@ -3527,45 +3702,47 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3527
3702
|
}
|
|
3528
3703
|
|
|
3529
3704
|
validate_theme(callback, body, options) {
|
|
3530
|
-
var
|
|
3705
|
+
var _this351 = this;
|
|
3531
3706
|
|
|
3532
3707
|
return _asyncToGenerator(function* () {
|
|
3533
|
-
return
|
|
3708
|
+
return _this351.authStream(callback, 'POST', '/themes/validate', null, body, options);
|
|
3534
3709
|
})();
|
|
3535
3710
|
}
|
|
3536
3711
|
|
|
3537
3712
|
theme(callback, theme_id, fields, options) {
|
|
3538
|
-
var
|
|
3713
|
+
var _this352 = this;
|
|
3539
3714
|
|
|
3540
3715
|
return _asyncToGenerator(function* () {
|
|
3541
|
-
|
|
3716
|
+
theme_id = encodeParam(theme_id);
|
|
3717
|
+
return _this352.authStream(callback, 'GET', "/themes/".concat(theme_id), {
|
|
3542
3718
|
fields
|
|
3543
3719
|
}, null, options);
|
|
3544
3720
|
})();
|
|
3545
3721
|
}
|
|
3546
3722
|
|
|
3547
3723
|
update_theme(callback, theme_id, body, options) {
|
|
3548
|
-
var
|
|
3724
|
+
var _this353 = this;
|
|
3549
3725
|
|
|
3550
3726
|
return _asyncToGenerator(function* () {
|
|
3551
|
-
|
|
3727
|
+
theme_id = encodeParam(theme_id);
|
|
3728
|
+
return _this353.authStream(callback, 'PATCH', "/themes/".concat(theme_id), null, body, options);
|
|
3552
3729
|
})();
|
|
3553
3730
|
}
|
|
3554
3731
|
|
|
3555
3732
|
delete_theme(callback, theme_id, options) {
|
|
3556
|
-
var
|
|
3733
|
+
var _this354 = this;
|
|
3557
3734
|
|
|
3558
3735
|
return _asyncToGenerator(function* () {
|
|
3559
3736
|
theme_id = encodeParam(theme_id);
|
|
3560
|
-
return
|
|
3737
|
+
return _this354.authStream(callback, 'DELETE', "/themes/".concat(theme_id), null, null, options);
|
|
3561
3738
|
})();
|
|
3562
3739
|
}
|
|
3563
3740
|
|
|
3564
3741
|
search_credentials_email(callback, request, options) {
|
|
3565
|
-
var
|
|
3742
|
+
var _this355 = this;
|
|
3566
3743
|
|
|
3567
3744
|
return _asyncToGenerator(function* () {
|
|
3568
|
-
return
|
|
3745
|
+
return _this355.authStream(callback, 'GET', '/credentials_email/search', {
|
|
3569
3746
|
fields: request.fields,
|
|
3570
3747
|
limit: request.limit,
|
|
3571
3748
|
offset: request.offset,
|
|
@@ -3579,20 +3756,20 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3579
3756
|
}
|
|
3580
3757
|
|
|
3581
3758
|
me(callback, fields, options) {
|
|
3582
|
-
var
|
|
3759
|
+
var _this356 = this;
|
|
3583
3760
|
|
|
3584
3761
|
return _asyncToGenerator(function* () {
|
|
3585
|
-
return
|
|
3762
|
+
return _this356.authStream(callback, 'GET', '/user', {
|
|
3586
3763
|
fields
|
|
3587
3764
|
}, null, options);
|
|
3588
3765
|
})();
|
|
3589
3766
|
}
|
|
3590
3767
|
|
|
3591
3768
|
all_users(callback, request, options) {
|
|
3592
|
-
var
|
|
3769
|
+
var _this357 = this;
|
|
3593
3770
|
|
|
3594
3771
|
return _asyncToGenerator(function* () {
|
|
3595
|
-
return
|
|
3772
|
+
return _this357.authStream(callback, 'GET', '/users', {
|
|
3596
3773
|
fields: request.fields,
|
|
3597
3774
|
page: request.page,
|
|
3598
3775
|
per_page: request.per_page,
|
|
@@ -3605,20 +3782,20 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3605
3782
|
}
|
|
3606
3783
|
|
|
3607
3784
|
create_user(callback, body, fields, options) {
|
|
3608
|
-
var
|
|
3785
|
+
var _this358 = this;
|
|
3609
3786
|
|
|
3610
3787
|
return _asyncToGenerator(function* () {
|
|
3611
|
-
return
|
|
3788
|
+
return _this358.authStream(callback, 'POST', '/users', {
|
|
3612
3789
|
fields
|
|
3613
3790
|
}, body, options);
|
|
3614
3791
|
})();
|
|
3615
3792
|
}
|
|
3616
3793
|
|
|
3617
3794
|
search_users(callback, request, options) {
|
|
3618
|
-
var
|
|
3795
|
+
var _this359 = this;
|
|
3619
3796
|
|
|
3620
3797
|
return _asyncToGenerator(function* () {
|
|
3621
|
-
return
|
|
3798
|
+
return _this359.authStream(callback, 'GET', '/users/search', {
|
|
3622
3799
|
fields: request.fields,
|
|
3623
3800
|
page: request.page,
|
|
3624
3801
|
per_page: request.per_page,
|
|
@@ -3640,11 +3817,11 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3640
3817
|
}
|
|
3641
3818
|
|
|
3642
3819
|
search_users_names(callback, request, options) {
|
|
3643
|
-
var
|
|
3820
|
+
var _this360 = this;
|
|
3644
3821
|
|
|
3645
3822
|
return _asyncToGenerator(function* () {
|
|
3646
3823
|
request.pattern = encodeParam(request.pattern);
|
|
3647
|
-
return
|
|
3824
|
+
return _this360.authStream(callback, 'GET', "/users/search/names/".concat(request.pattern), {
|
|
3648
3825
|
fields: request.fields,
|
|
3649
3826
|
page: request.page,
|
|
3650
3827
|
per_page: request.per_page,
|
|
@@ -3662,300 +3839,337 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3662
3839
|
}
|
|
3663
3840
|
|
|
3664
3841
|
user(callback, user_id, fields, options) {
|
|
3665
|
-
var
|
|
3842
|
+
var _this361 = this;
|
|
3666
3843
|
|
|
3667
3844
|
return _asyncToGenerator(function* () {
|
|
3668
|
-
|
|
3845
|
+
user_id = encodeParam(user_id);
|
|
3846
|
+
return _this361.authStream(callback, 'GET', "/users/".concat(user_id), {
|
|
3669
3847
|
fields
|
|
3670
3848
|
}, null, options);
|
|
3671
3849
|
})();
|
|
3672
3850
|
}
|
|
3673
3851
|
|
|
3674
3852
|
update_user(callback, user_id, body, fields, options) {
|
|
3675
|
-
var
|
|
3853
|
+
var _this362 = this;
|
|
3676
3854
|
|
|
3677
3855
|
return _asyncToGenerator(function* () {
|
|
3678
|
-
|
|
3856
|
+
user_id = encodeParam(user_id);
|
|
3857
|
+
return _this362.authStream(callback, 'PATCH', "/users/".concat(user_id), {
|
|
3679
3858
|
fields
|
|
3680
3859
|
}, body, options);
|
|
3681
3860
|
})();
|
|
3682
3861
|
}
|
|
3683
3862
|
|
|
3684
3863
|
delete_user(callback, user_id, options) {
|
|
3685
|
-
var
|
|
3864
|
+
var _this363 = this;
|
|
3686
3865
|
|
|
3687
3866
|
return _asyncToGenerator(function* () {
|
|
3688
|
-
|
|
3867
|
+
user_id = encodeParam(user_id);
|
|
3868
|
+
return _this363.authStream(callback, 'DELETE', "/users/".concat(user_id), null, null, options);
|
|
3689
3869
|
})();
|
|
3690
3870
|
}
|
|
3691
3871
|
|
|
3692
3872
|
user_for_credential(callback, credential_type, credential_id, fields, options) {
|
|
3693
|
-
var
|
|
3873
|
+
var _this364 = this;
|
|
3694
3874
|
|
|
3695
3875
|
return _asyncToGenerator(function* () {
|
|
3696
3876
|
credential_type = encodeParam(credential_type);
|
|
3697
3877
|
credential_id = encodeParam(credential_id);
|
|
3698
|
-
return
|
|
3878
|
+
return _this364.authStream(callback, 'GET', "/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3699
3879
|
fields
|
|
3700
3880
|
}, null, options);
|
|
3701
3881
|
})();
|
|
3702
3882
|
}
|
|
3703
3883
|
|
|
3704
3884
|
user_credentials_email(callback, user_id, fields, options) {
|
|
3705
|
-
var
|
|
3885
|
+
var _this365 = this;
|
|
3706
3886
|
|
|
3707
3887
|
return _asyncToGenerator(function* () {
|
|
3708
|
-
|
|
3888
|
+
user_id = encodeParam(user_id);
|
|
3889
|
+
return _this365.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_email"), {
|
|
3709
3890
|
fields
|
|
3710
3891
|
}, null, options);
|
|
3711
3892
|
})();
|
|
3712
3893
|
}
|
|
3713
3894
|
|
|
3714
3895
|
create_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3715
|
-
var
|
|
3896
|
+
var _this366 = this;
|
|
3716
3897
|
|
|
3717
3898
|
return _asyncToGenerator(function* () {
|
|
3718
|
-
|
|
3899
|
+
user_id = encodeParam(user_id);
|
|
3900
|
+
return _this366.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email"), {
|
|
3719
3901
|
fields
|
|
3720
3902
|
}, body, options);
|
|
3721
3903
|
})();
|
|
3722
3904
|
}
|
|
3723
3905
|
|
|
3724
3906
|
update_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3725
|
-
var
|
|
3907
|
+
var _this367 = this;
|
|
3726
3908
|
|
|
3727
3909
|
return _asyncToGenerator(function* () {
|
|
3728
|
-
|
|
3910
|
+
user_id = encodeParam(user_id);
|
|
3911
|
+
return _this367.authStream(callback, 'PATCH', "/users/".concat(user_id, "/credentials_email"), {
|
|
3729
3912
|
fields
|
|
3730
3913
|
}, body, options);
|
|
3731
3914
|
})();
|
|
3732
3915
|
}
|
|
3733
3916
|
|
|
3734
3917
|
delete_user_credentials_email(callback, user_id, options) {
|
|
3735
|
-
var
|
|
3918
|
+
var _this368 = this;
|
|
3736
3919
|
|
|
3737
3920
|
return _asyncToGenerator(function* () {
|
|
3738
|
-
|
|
3921
|
+
user_id = encodeParam(user_id);
|
|
3922
|
+
return _this368.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3739
3923
|
})();
|
|
3740
3924
|
}
|
|
3741
3925
|
|
|
3742
3926
|
user_credentials_totp(callback, user_id, fields, options) {
|
|
3743
|
-
var
|
|
3927
|
+
var _this369 = this;
|
|
3744
3928
|
|
|
3745
3929
|
return _asyncToGenerator(function* () {
|
|
3746
|
-
|
|
3930
|
+
user_id = encodeParam(user_id);
|
|
3931
|
+
return _this369.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3747
3932
|
fields
|
|
3748
3933
|
}, null, options);
|
|
3749
3934
|
})();
|
|
3750
3935
|
}
|
|
3751
3936
|
|
|
3752
3937
|
create_user_credentials_totp(callback, user_id, body, fields, options) {
|
|
3753
|
-
var
|
|
3938
|
+
var _this370 = this;
|
|
3754
3939
|
|
|
3755
3940
|
return _asyncToGenerator(function* () {
|
|
3756
|
-
|
|
3941
|
+
user_id = encodeParam(user_id);
|
|
3942
|
+
return _this370.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3757
3943
|
fields
|
|
3758
3944
|
}, body, options);
|
|
3759
3945
|
})();
|
|
3760
3946
|
}
|
|
3761
3947
|
|
|
3762
3948
|
delete_user_credentials_totp(callback, user_id, options) {
|
|
3763
|
-
var
|
|
3949
|
+
var _this371 = this;
|
|
3764
3950
|
|
|
3765
3951
|
return _asyncToGenerator(function* () {
|
|
3766
|
-
|
|
3952
|
+
user_id = encodeParam(user_id);
|
|
3953
|
+
return _this371.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3767
3954
|
})();
|
|
3768
3955
|
}
|
|
3769
3956
|
|
|
3770
3957
|
user_credentials_ldap(callback, user_id, fields, options) {
|
|
3771
|
-
var
|
|
3958
|
+
var _this372 = this;
|
|
3772
3959
|
|
|
3773
3960
|
return _asyncToGenerator(function* () {
|
|
3774
|
-
|
|
3961
|
+
user_id = encodeParam(user_id);
|
|
3962
|
+
return _this372.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_ldap"), {
|
|
3775
3963
|
fields
|
|
3776
3964
|
}, null, options);
|
|
3777
3965
|
})();
|
|
3778
3966
|
}
|
|
3779
3967
|
|
|
3780
3968
|
delete_user_credentials_ldap(callback, user_id, options) {
|
|
3781
|
-
var
|
|
3969
|
+
var _this373 = this;
|
|
3782
3970
|
|
|
3783
3971
|
return _asyncToGenerator(function* () {
|
|
3784
|
-
|
|
3972
|
+
user_id = encodeParam(user_id);
|
|
3973
|
+
return _this373.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3785
3974
|
})();
|
|
3786
3975
|
}
|
|
3787
3976
|
|
|
3788
3977
|
user_credentials_google(callback, user_id, fields, options) {
|
|
3789
|
-
var
|
|
3978
|
+
var _this374 = this;
|
|
3790
3979
|
|
|
3791
3980
|
return _asyncToGenerator(function* () {
|
|
3792
|
-
|
|
3981
|
+
user_id = encodeParam(user_id);
|
|
3982
|
+
return _this374.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_google"), {
|
|
3793
3983
|
fields
|
|
3794
3984
|
}, null, options);
|
|
3795
3985
|
})();
|
|
3796
3986
|
}
|
|
3797
3987
|
|
|
3798
3988
|
delete_user_credentials_google(callback, user_id, options) {
|
|
3799
|
-
var
|
|
3989
|
+
var _this375 = this;
|
|
3800
3990
|
|
|
3801
3991
|
return _asyncToGenerator(function* () {
|
|
3802
|
-
|
|
3992
|
+
user_id = encodeParam(user_id);
|
|
3993
|
+
return _this375.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3803
3994
|
})();
|
|
3804
3995
|
}
|
|
3805
3996
|
|
|
3806
3997
|
user_credentials_saml(callback, user_id, fields, options) {
|
|
3807
|
-
var
|
|
3998
|
+
var _this376 = this;
|
|
3808
3999
|
|
|
3809
4000
|
return _asyncToGenerator(function* () {
|
|
3810
|
-
|
|
4001
|
+
user_id = encodeParam(user_id);
|
|
4002
|
+
return _this376.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_saml"), {
|
|
3811
4003
|
fields
|
|
3812
4004
|
}, null, options);
|
|
3813
4005
|
})();
|
|
3814
4006
|
}
|
|
3815
4007
|
|
|
3816
4008
|
delete_user_credentials_saml(callback, user_id, options) {
|
|
3817
|
-
var
|
|
4009
|
+
var _this377 = this;
|
|
3818
4010
|
|
|
3819
4011
|
return _asyncToGenerator(function* () {
|
|
3820
|
-
|
|
4012
|
+
user_id = encodeParam(user_id);
|
|
4013
|
+
return _this377.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3821
4014
|
})();
|
|
3822
4015
|
}
|
|
3823
4016
|
|
|
3824
4017
|
user_credentials_oidc(callback, user_id, fields, options) {
|
|
3825
|
-
var
|
|
4018
|
+
var _this378 = this;
|
|
3826
4019
|
|
|
3827
4020
|
return _asyncToGenerator(function* () {
|
|
3828
|
-
|
|
4021
|
+
user_id = encodeParam(user_id);
|
|
4022
|
+
return _this378.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_oidc"), {
|
|
3829
4023
|
fields
|
|
3830
4024
|
}, null, options);
|
|
3831
4025
|
})();
|
|
3832
4026
|
}
|
|
3833
4027
|
|
|
3834
4028
|
delete_user_credentials_oidc(callback, user_id, options) {
|
|
3835
|
-
var
|
|
4029
|
+
var _this379 = this;
|
|
3836
4030
|
|
|
3837
4031
|
return _asyncToGenerator(function* () {
|
|
3838
|
-
|
|
4032
|
+
user_id = encodeParam(user_id);
|
|
4033
|
+
return _this379.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3839
4034
|
})();
|
|
3840
4035
|
}
|
|
3841
4036
|
|
|
3842
4037
|
user_credentials_api3(callback, user_id, credentials_api3_id, fields, options) {
|
|
3843
|
-
var
|
|
4038
|
+
var _this380 = this;
|
|
3844
4039
|
|
|
3845
4040
|
return _asyncToGenerator(function* () {
|
|
3846
|
-
|
|
4041
|
+
user_id = encodeParam(user_id);
|
|
4042
|
+
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
4043
|
+
return _this380.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3847
4044
|
fields
|
|
3848
4045
|
}, null, options);
|
|
3849
4046
|
})();
|
|
3850
4047
|
}
|
|
3851
4048
|
|
|
3852
4049
|
delete_user_credentials_api3(callback, user_id, credentials_api3_id, options) {
|
|
3853
|
-
var
|
|
4050
|
+
var _this381 = this;
|
|
3854
4051
|
|
|
3855
4052
|
return _asyncToGenerator(function* () {
|
|
3856
|
-
|
|
4053
|
+
user_id = encodeParam(user_id);
|
|
4054
|
+
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
4055
|
+
return _this381.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3857
4056
|
})();
|
|
3858
4057
|
}
|
|
3859
4058
|
|
|
3860
4059
|
all_user_credentials_api3s(callback, user_id, fields, options) {
|
|
3861
|
-
var
|
|
4060
|
+
var _this382 = this;
|
|
3862
4061
|
|
|
3863
4062
|
return _asyncToGenerator(function* () {
|
|
3864
|
-
|
|
4063
|
+
user_id = encodeParam(user_id);
|
|
4064
|
+
return _this382.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3865
4065
|
fields
|
|
3866
4066
|
}, null, options);
|
|
3867
4067
|
})();
|
|
3868
4068
|
}
|
|
3869
4069
|
|
|
3870
4070
|
create_user_credentials_api3(callback, user_id, fields, options) {
|
|
3871
|
-
var
|
|
4071
|
+
var _this383 = this;
|
|
3872
4072
|
|
|
3873
4073
|
return _asyncToGenerator(function* () {
|
|
3874
|
-
|
|
4074
|
+
user_id = encodeParam(user_id);
|
|
4075
|
+
return _this383.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3875
4076
|
fields
|
|
3876
4077
|
}, null, options);
|
|
3877
4078
|
})();
|
|
3878
4079
|
}
|
|
3879
4080
|
|
|
3880
4081
|
user_credentials_embed(callback, user_id, credentials_embed_id, fields, options) {
|
|
3881
|
-
var
|
|
4082
|
+
var _this384 = this;
|
|
3882
4083
|
|
|
3883
4084
|
return _asyncToGenerator(function* () {
|
|
3884
|
-
|
|
4085
|
+
user_id = encodeParam(user_id);
|
|
4086
|
+
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
4087
|
+
return _this384.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3885
4088
|
fields
|
|
3886
4089
|
}, null, options);
|
|
3887
4090
|
})();
|
|
3888
4091
|
}
|
|
3889
4092
|
|
|
3890
4093
|
delete_user_credentials_embed(callback, user_id, credentials_embed_id, options) {
|
|
3891
|
-
var
|
|
4094
|
+
var _this385 = this;
|
|
3892
4095
|
|
|
3893
4096
|
return _asyncToGenerator(function* () {
|
|
3894
|
-
|
|
4097
|
+
user_id = encodeParam(user_id);
|
|
4098
|
+
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
4099
|
+
return _this385.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3895
4100
|
})();
|
|
3896
4101
|
}
|
|
3897
4102
|
|
|
3898
4103
|
all_user_credentials_embeds(callback, user_id, fields, options) {
|
|
3899
|
-
var
|
|
4104
|
+
var _this386 = this;
|
|
3900
4105
|
|
|
3901
4106
|
return _asyncToGenerator(function* () {
|
|
3902
|
-
|
|
4107
|
+
user_id = encodeParam(user_id);
|
|
4108
|
+
return _this386.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed"), {
|
|
3903
4109
|
fields
|
|
3904
4110
|
}, null, options);
|
|
3905
4111
|
})();
|
|
3906
4112
|
}
|
|
3907
4113
|
|
|
3908
4114
|
user_credentials_looker_openid(callback, user_id, fields, options) {
|
|
3909
|
-
var
|
|
4115
|
+
var _this387 = this;
|
|
3910
4116
|
|
|
3911
4117
|
return _asyncToGenerator(function* () {
|
|
3912
|
-
|
|
4118
|
+
user_id = encodeParam(user_id);
|
|
4119
|
+
return _this387.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3913
4120
|
fields
|
|
3914
4121
|
}, null, options);
|
|
3915
4122
|
})();
|
|
3916
4123
|
}
|
|
3917
4124
|
|
|
3918
4125
|
delete_user_credentials_looker_openid(callback, user_id, options) {
|
|
3919
|
-
var
|
|
4126
|
+
var _this388 = this;
|
|
3920
4127
|
|
|
3921
4128
|
return _asyncToGenerator(function* () {
|
|
3922
|
-
|
|
4129
|
+
user_id = encodeParam(user_id);
|
|
4130
|
+
return _this388.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3923
4131
|
})();
|
|
3924
4132
|
}
|
|
3925
4133
|
|
|
3926
4134
|
user_session(callback, user_id, session_id, fields, options) {
|
|
3927
|
-
var
|
|
4135
|
+
var _this389 = this;
|
|
3928
4136
|
|
|
3929
4137
|
return _asyncToGenerator(function* () {
|
|
3930
|
-
|
|
4138
|
+
user_id = encodeParam(user_id);
|
|
4139
|
+
session_id = encodeParam(session_id);
|
|
4140
|
+
return _this389.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3931
4141
|
fields
|
|
3932
4142
|
}, null, options);
|
|
3933
4143
|
})();
|
|
3934
4144
|
}
|
|
3935
4145
|
|
|
3936
4146
|
delete_user_session(callback, user_id, session_id, options) {
|
|
3937
|
-
var
|
|
4147
|
+
var _this390 = this;
|
|
3938
4148
|
|
|
3939
4149
|
return _asyncToGenerator(function* () {
|
|
3940
|
-
|
|
4150
|
+
user_id = encodeParam(user_id);
|
|
4151
|
+
session_id = encodeParam(session_id);
|
|
4152
|
+
return _this390.authStream(callback, 'DELETE', "/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3941
4153
|
})();
|
|
3942
4154
|
}
|
|
3943
4155
|
|
|
3944
4156
|
all_user_sessions(callback, user_id, fields, options) {
|
|
3945
|
-
var
|
|
4157
|
+
var _this391 = this;
|
|
3946
4158
|
|
|
3947
4159
|
return _asyncToGenerator(function* () {
|
|
3948
|
-
|
|
4160
|
+
user_id = encodeParam(user_id);
|
|
4161
|
+
return _this391.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions"), {
|
|
3949
4162
|
fields
|
|
3950
4163
|
}, null, options);
|
|
3951
4164
|
})();
|
|
3952
4165
|
}
|
|
3953
4166
|
|
|
3954
4167
|
create_user_credentials_email_password_reset(callback, request, options) {
|
|
3955
|
-
var
|
|
4168
|
+
var _this392 = this;
|
|
3956
4169
|
|
|
3957
4170
|
return _asyncToGenerator(function* () {
|
|
3958
|
-
|
|
4171
|
+
request.user_id = encodeParam(request.user_id);
|
|
4172
|
+
return _this392.authStream(callback, 'POST', "/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3959
4173
|
expires: request.expires,
|
|
3960
4174
|
fields: request.fields
|
|
3961
4175
|
}, null, options);
|
|
@@ -3963,10 +4177,11 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3963
4177
|
}
|
|
3964
4178
|
|
|
3965
4179
|
user_roles(callback, request, options) {
|
|
3966
|
-
var
|
|
4180
|
+
var _this393 = this;
|
|
3967
4181
|
|
|
3968
4182
|
return _asyncToGenerator(function* () {
|
|
3969
|
-
|
|
4183
|
+
request.user_id = encodeParam(request.user_id);
|
|
4184
|
+
return _this393.authStream(callback, 'GET', "/users/".concat(request.user_id, "/roles"), {
|
|
3970
4185
|
fields: request.fields,
|
|
3971
4186
|
direct_association_only: request.direct_association_only
|
|
3972
4187
|
}, null, options);
|
|
@@ -3974,20 +4189,22 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3974
4189
|
}
|
|
3975
4190
|
|
|
3976
4191
|
set_user_roles(callback, user_id, body, fields, options) {
|
|
3977
|
-
var
|
|
4192
|
+
var _this394 = this;
|
|
3978
4193
|
|
|
3979
4194
|
return _asyncToGenerator(function* () {
|
|
3980
|
-
|
|
4195
|
+
user_id = encodeParam(user_id);
|
|
4196
|
+
return _this394.authStream(callback, 'PUT', "/users/".concat(user_id, "/roles"), {
|
|
3981
4197
|
fields
|
|
3982
4198
|
}, body, options);
|
|
3983
4199
|
})();
|
|
3984
4200
|
}
|
|
3985
4201
|
|
|
3986
4202
|
user_attribute_user_values(callback, request, options) {
|
|
3987
|
-
var
|
|
4203
|
+
var _this395 = this;
|
|
3988
4204
|
|
|
3989
4205
|
return _asyncToGenerator(function* () {
|
|
3990
|
-
|
|
4206
|
+
request.user_id = encodeParam(request.user_id);
|
|
4207
|
+
return _this395.authStream(callback, 'GET', "/users/".concat(request.user_id, "/attribute_values"), {
|
|
3991
4208
|
fields: request.fields,
|
|
3992
4209
|
user_attribute_ids: request.user_attribute_ids,
|
|
3993
4210
|
all_values: request.all_values,
|
|
@@ -3997,54 +4214,60 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
3997
4214
|
}
|
|
3998
4215
|
|
|
3999
4216
|
set_user_attribute_user_value(callback, user_id, user_attribute_id, body, options) {
|
|
4000
|
-
var
|
|
4217
|
+
var _this396 = this;
|
|
4001
4218
|
|
|
4002
4219
|
return _asyncToGenerator(function* () {
|
|
4003
|
-
|
|
4220
|
+
user_id = encodeParam(user_id);
|
|
4221
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
4222
|
+
return _this396.authStream(callback, 'PATCH', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
4004
4223
|
})();
|
|
4005
4224
|
}
|
|
4006
4225
|
|
|
4007
4226
|
delete_user_attribute_user_value(callback, user_id, user_attribute_id, options) {
|
|
4008
|
-
var
|
|
4227
|
+
var _this397 = this;
|
|
4009
4228
|
|
|
4010
4229
|
return _asyncToGenerator(function* () {
|
|
4011
|
-
|
|
4230
|
+
user_id = encodeParam(user_id);
|
|
4231
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
4232
|
+
return _this397.authStream(callback, 'DELETE', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
4012
4233
|
})();
|
|
4013
4234
|
}
|
|
4014
4235
|
|
|
4015
4236
|
send_user_credentials_email_password_reset(callback, user_id, fields, options) {
|
|
4016
|
-
var
|
|
4237
|
+
var _this398 = this;
|
|
4017
4238
|
|
|
4018
4239
|
return _asyncToGenerator(function* () {
|
|
4019
|
-
|
|
4240
|
+
user_id = encodeParam(user_id);
|
|
4241
|
+
return _this398.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
4020
4242
|
fields
|
|
4021
4243
|
}, null, options);
|
|
4022
4244
|
})();
|
|
4023
4245
|
}
|
|
4024
4246
|
|
|
4025
4247
|
wipeout_user_emails(callback, user_id, body, fields, options) {
|
|
4026
|
-
var
|
|
4248
|
+
var _this399 = this;
|
|
4027
4249
|
|
|
4028
4250
|
return _asyncToGenerator(function* () {
|
|
4029
|
-
|
|
4251
|
+
user_id = encodeParam(user_id);
|
|
4252
|
+
return _this399.authStream(callback, 'POST', "/users/".concat(user_id, "/update_emails"), {
|
|
4030
4253
|
fields
|
|
4031
4254
|
}, body, options);
|
|
4032
4255
|
})();
|
|
4033
4256
|
}
|
|
4034
4257
|
|
|
4035
4258
|
create_embed_user(callback, body, options) {
|
|
4036
|
-
var
|
|
4259
|
+
var _this400 = this;
|
|
4037
4260
|
|
|
4038
4261
|
return _asyncToGenerator(function* () {
|
|
4039
|
-
return
|
|
4262
|
+
return _this400.authStream(callback, 'POST', '/users/embed_user', null, body, options);
|
|
4040
4263
|
})();
|
|
4041
4264
|
}
|
|
4042
4265
|
|
|
4043
4266
|
all_user_attributes(callback, request, options) {
|
|
4044
|
-
var
|
|
4267
|
+
var _this401 = this;
|
|
4045
4268
|
|
|
4046
4269
|
return _asyncToGenerator(function* () {
|
|
4047
|
-
return
|
|
4270
|
+
return _this401.authStream(callback, 'GET', '/user_attributes', {
|
|
4048
4271
|
fields: request.fields,
|
|
4049
4272
|
sorts: request.sorts
|
|
4050
4273
|
}, null, options);
|
|
@@ -4052,75 +4275,80 @@ export class Looker40SDKStream extends APIMethods {
|
|
|
4052
4275
|
}
|
|
4053
4276
|
|
|
4054
4277
|
create_user_attribute(callback, body, fields, options) {
|
|
4055
|
-
var
|
|
4278
|
+
var _this402 = this;
|
|
4056
4279
|
|
|
4057
4280
|
return _asyncToGenerator(function* () {
|
|
4058
|
-
return
|
|
4281
|
+
return _this402.authStream(callback, 'POST', '/user_attributes', {
|
|
4059
4282
|
fields
|
|
4060
4283
|
}, body, options);
|
|
4061
4284
|
})();
|
|
4062
4285
|
}
|
|
4063
4286
|
|
|
4064
4287
|
user_attribute(callback, user_attribute_id, fields, options) {
|
|
4065
|
-
var
|
|
4288
|
+
var _this403 = this;
|
|
4066
4289
|
|
|
4067
4290
|
return _asyncToGenerator(function* () {
|
|
4068
|
-
|
|
4291
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
4292
|
+
return _this403.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id), {
|
|
4069
4293
|
fields
|
|
4070
4294
|
}, null, options);
|
|
4071
4295
|
})();
|
|
4072
4296
|
}
|
|
4073
4297
|
|
|
4074
4298
|
update_user_attribute(callback, user_attribute_id, body, fields, options) {
|
|
4075
|
-
var
|
|
4299
|
+
var _this404 = this;
|
|
4076
4300
|
|
|
4077
4301
|
return _asyncToGenerator(function* () {
|
|
4078
|
-
|
|
4302
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
4303
|
+
return _this404.authStream(callback, 'PATCH', "/user_attributes/".concat(user_attribute_id), {
|
|
4079
4304
|
fields
|
|
4080
4305
|
}, body, options);
|
|
4081
4306
|
})();
|
|
4082
4307
|
}
|
|
4083
4308
|
|
|
4084
4309
|
delete_user_attribute(callback, user_attribute_id, options) {
|
|
4085
|
-
var
|
|
4310
|
+
var _this405 = this;
|
|
4086
4311
|
|
|
4087
4312
|
return _asyncToGenerator(function* () {
|
|
4088
|
-
|
|
4313
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
4314
|
+
return _this405.authStream(callback, 'DELETE', "/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
4089
4315
|
})();
|
|
4090
4316
|
}
|
|
4091
4317
|
|
|
4092
4318
|
all_user_attribute_group_values(callback, user_attribute_id, fields, options) {
|
|
4093
|
-
var
|
|
4319
|
+
var _this406 = this;
|
|
4094
4320
|
|
|
4095
4321
|
return _asyncToGenerator(function* () {
|
|
4096
|
-
|
|
4322
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
4323
|
+
return _this406.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
4097
4324
|
fields
|
|
4098
4325
|
}, null, options);
|
|
4099
4326
|
})();
|
|
4100
4327
|
}
|
|
4101
4328
|
|
|
4102
4329
|
set_user_attribute_group_values(callback, user_attribute_id, body, options) {
|
|
4103
|
-
var
|
|
4330
|
+
var _this407 = this;
|
|
4104
4331
|
|
|
4105
4332
|
return _asyncToGenerator(function* () {
|
|
4106
|
-
|
|
4333
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
4334
|
+
return _this407.authStream(callback, 'POST', "/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
4107
4335
|
})();
|
|
4108
4336
|
}
|
|
4109
4337
|
|
|
4110
4338
|
all_workspaces(callback, options) {
|
|
4111
|
-
var
|
|
4339
|
+
var _this408 = this;
|
|
4112
4340
|
|
|
4113
4341
|
return _asyncToGenerator(function* () {
|
|
4114
|
-
return
|
|
4342
|
+
return _this408.authStream(callback, 'GET', '/workspaces', null, null, options);
|
|
4115
4343
|
})();
|
|
4116
4344
|
}
|
|
4117
4345
|
|
|
4118
4346
|
workspace(callback, workspace_id, options) {
|
|
4119
|
-
var
|
|
4347
|
+
var _this409 = this;
|
|
4120
4348
|
|
|
4121
4349
|
return _asyncToGenerator(function* () {
|
|
4122
4350
|
workspace_id = encodeParam(workspace_id);
|
|
4123
|
-
return
|
|
4351
|
+
return _this409.authStream(callback, 'GET', "/workspaces/".concat(workspace_id), null, null, options);
|
|
4124
4352
|
})();
|
|
4125
4353
|
}
|
|
4126
4354
|
|