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