@looker/sdk 22.0.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 +7 -0
- 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 +27 -0
- 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 +7 -1
- package/lib/4.0/funcs.js +1036 -953
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +7 -1
- package/lib/4.0/methods.js +691 -632
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +7 -1
- package/lib/4.0/models.d.ts +38 -0
- package/lib/4.0/models.js +10 -1
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +7 -1
- package/lib/4.0/streams.js +691 -632
- 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 +1013 -948
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +691 -632
- 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 +691 -632
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +2 -2
package/lib/3.1/methods.js
CHANGED
|
@@ -515,135 +515,143 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
515
515
|
})();
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
-
|
|
518
|
+
set_smtp_settings(body, options) {
|
|
519
519
|
var _this58 = this;
|
|
520
520
|
|
|
521
521
|
return _asyncToGenerator(function* () {
|
|
522
|
-
return _this58.
|
|
522
|
+
return _this58.post('/smtp_settings', null, body, options);
|
|
523
523
|
})();
|
|
524
524
|
}
|
|
525
525
|
|
|
526
|
-
|
|
526
|
+
all_timezones(options) {
|
|
527
527
|
var _this59 = this;
|
|
528
528
|
|
|
529
529
|
return _asyncToGenerator(function* () {
|
|
530
|
-
return _this59.get('/
|
|
530
|
+
return _this59.get('/timezones', null, null, options);
|
|
531
|
+
})();
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
versions(fields, options) {
|
|
535
|
+
var _this60 = this;
|
|
536
|
+
|
|
537
|
+
return _asyncToGenerator(function* () {
|
|
538
|
+
return _this60.get('/versions', {
|
|
531
539
|
fields
|
|
532
540
|
}, null, options);
|
|
533
541
|
})();
|
|
534
542
|
}
|
|
535
543
|
|
|
536
544
|
whitelabel_configuration(fields, options) {
|
|
537
|
-
var
|
|
545
|
+
var _this61 = this;
|
|
538
546
|
|
|
539
547
|
return _asyncToGenerator(function* () {
|
|
540
|
-
return
|
|
548
|
+
return _this61.get('/whitelabel_configuration', {
|
|
541
549
|
fields
|
|
542
550
|
}, null, options);
|
|
543
551
|
})();
|
|
544
552
|
}
|
|
545
553
|
|
|
546
554
|
update_whitelabel_configuration(body, options) {
|
|
547
|
-
var
|
|
555
|
+
var _this62 = this;
|
|
548
556
|
|
|
549
557
|
return _asyncToGenerator(function* () {
|
|
550
|
-
return
|
|
558
|
+
return _this62.put('/whitelabel_configuration', null, body, options);
|
|
551
559
|
})();
|
|
552
560
|
}
|
|
553
561
|
|
|
554
562
|
all_connections(fields, options) {
|
|
555
|
-
var
|
|
563
|
+
var _this63 = this;
|
|
556
564
|
|
|
557
565
|
return _asyncToGenerator(function* () {
|
|
558
|
-
return
|
|
566
|
+
return _this63.get('/connections', {
|
|
559
567
|
fields
|
|
560
568
|
}, null, options);
|
|
561
569
|
})();
|
|
562
570
|
}
|
|
563
571
|
|
|
564
572
|
create_connection(body, options) {
|
|
565
|
-
var
|
|
573
|
+
var _this64 = this;
|
|
566
574
|
|
|
567
575
|
return _asyncToGenerator(function* () {
|
|
568
|
-
return
|
|
576
|
+
return _this64.post('/connections', null, body, options);
|
|
569
577
|
})();
|
|
570
578
|
}
|
|
571
579
|
|
|
572
580
|
connection(connection_name, fields, options) {
|
|
573
|
-
var
|
|
581
|
+
var _this65 = this;
|
|
574
582
|
|
|
575
583
|
return _asyncToGenerator(function* () {
|
|
576
584
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
577
|
-
return
|
|
585
|
+
return _this65.get("/connections/".concat(connection_name), {
|
|
578
586
|
fields
|
|
579
587
|
}, null, options);
|
|
580
588
|
})();
|
|
581
589
|
}
|
|
582
590
|
|
|
583
591
|
update_connection(connection_name, body, options) {
|
|
584
|
-
var
|
|
592
|
+
var _this66 = this;
|
|
585
593
|
|
|
586
594
|
return _asyncToGenerator(function* () {
|
|
587
595
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
588
|
-
return
|
|
596
|
+
return _this66.patch("/connections/".concat(connection_name), null, body, options);
|
|
589
597
|
})();
|
|
590
598
|
}
|
|
591
599
|
|
|
592
600
|
delete_connection(connection_name, options) {
|
|
593
|
-
var
|
|
601
|
+
var _this67 = this;
|
|
594
602
|
|
|
595
603
|
return _asyncToGenerator(function* () {
|
|
596
604
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
597
|
-
return
|
|
605
|
+
return _this67.delete("/connections/".concat(connection_name), null, null, options);
|
|
598
606
|
})();
|
|
599
607
|
}
|
|
600
608
|
|
|
601
609
|
delete_connection_override(connection_name, override_context, options) {
|
|
602
|
-
var
|
|
610
|
+
var _this68 = this;
|
|
603
611
|
|
|
604
612
|
return _asyncToGenerator(function* () {
|
|
605
613
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
606
614
|
override_context = (0, _sdkRtl.encodeParam)(override_context);
|
|
607
|
-
return
|
|
615
|
+
return _this68.delete("/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
|
|
608
616
|
})();
|
|
609
617
|
}
|
|
610
618
|
|
|
611
619
|
test_connection(connection_name, tests, options) {
|
|
612
|
-
var
|
|
620
|
+
var _this69 = this;
|
|
613
621
|
|
|
614
622
|
return _asyncToGenerator(function* () {
|
|
615
623
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
616
|
-
return
|
|
624
|
+
return _this69.put("/connections/".concat(connection_name, "/test"), {
|
|
617
625
|
tests
|
|
618
626
|
}, null, options);
|
|
619
627
|
})();
|
|
620
628
|
}
|
|
621
629
|
|
|
622
630
|
test_connection_config(body, tests, options) {
|
|
623
|
-
var
|
|
631
|
+
var _this70 = this;
|
|
624
632
|
|
|
625
633
|
return _asyncToGenerator(function* () {
|
|
626
|
-
return
|
|
634
|
+
return _this70.put('/connections/test', {
|
|
627
635
|
tests
|
|
628
636
|
}, body, options);
|
|
629
637
|
})();
|
|
630
638
|
}
|
|
631
639
|
|
|
632
640
|
all_dialect_infos(fields, options) {
|
|
633
|
-
var
|
|
641
|
+
var _this71 = this;
|
|
634
642
|
|
|
635
643
|
return _asyncToGenerator(function* () {
|
|
636
|
-
return
|
|
644
|
+
return _this71.get('/dialect_info', {
|
|
637
645
|
fields
|
|
638
646
|
}, null, options);
|
|
639
647
|
})();
|
|
640
648
|
}
|
|
641
649
|
|
|
642
650
|
search_content_favorites(request, options) {
|
|
643
|
-
var
|
|
651
|
+
var _this72 = this;
|
|
644
652
|
|
|
645
653
|
return _asyncToGenerator(function* () {
|
|
646
|
-
return
|
|
654
|
+
return _this72.get('/content_favorite/search', {
|
|
647
655
|
id: request.id,
|
|
648
656
|
user_id: request.user_id,
|
|
649
657
|
content_metadata_id: request.content_metadata_id,
|
|
@@ -659,36 +667,36 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
659
667
|
}
|
|
660
668
|
|
|
661
669
|
content_favorite(content_favorite_id, fields, options) {
|
|
662
|
-
var
|
|
670
|
+
var _this73 = this;
|
|
663
671
|
|
|
664
672
|
return _asyncToGenerator(function* () {
|
|
665
|
-
return
|
|
673
|
+
return _this73.get("/content_favorite/".concat(content_favorite_id), {
|
|
666
674
|
fields
|
|
667
675
|
}, null, options);
|
|
668
676
|
})();
|
|
669
677
|
}
|
|
670
678
|
|
|
671
679
|
delete_content_favorite(content_favorite_id, options) {
|
|
672
|
-
var
|
|
680
|
+
var _this74 = this;
|
|
673
681
|
|
|
674
682
|
return _asyncToGenerator(function* () {
|
|
675
|
-
return
|
|
683
|
+
return _this74.delete("/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
676
684
|
})();
|
|
677
685
|
}
|
|
678
686
|
|
|
679
687
|
create_content_favorite(body, options) {
|
|
680
|
-
var
|
|
688
|
+
var _this75 = this;
|
|
681
689
|
|
|
682
690
|
return _asyncToGenerator(function* () {
|
|
683
|
-
return
|
|
691
|
+
return _this75.post('/content_favorite', null, body, options);
|
|
684
692
|
})();
|
|
685
693
|
}
|
|
686
694
|
|
|
687
695
|
all_content_metadatas(parent_id, fields, options) {
|
|
688
|
-
var
|
|
696
|
+
var _this76 = this;
|
|
689
697
|
|
|
690
698
|
return _asyncToGenerator(function* () {
|
|
691
|
-
return
|
|
699
|
+
return _this76.get('/content_metadata', {
|
|
692
700
|
parent_id,
|
|
693
701
|
fields
|
|
694
702
|
}, null, options);
|
|
@@ -696,28 +704,28 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
696
704
|
}
|
|
697
705
|
|
|
698
706
|
content_metadata(content_metadata_id, fields, options) {
|
|
699
|
-
var
|
|
707
|
+
var _this77 = this;
|
|
700
708
|
|
|
701
709
|
return _asyncToGenerator(function* () {
|
|
702
|
-
return
|
|
710
|
+
return _this77.get("/content_metadata/".concat(content_metadata_id), {
|
|
703
711
|
fields
|
|
704
712
|
}, null, options);
|
|
705
713
|
})();
|
|
706
714
|
}
|
|
707
715
|
|
|
708
716
|
update_content_metadata(content_metadata_id, body, options) {
|
|
709
|
-
var
|
|
717
|
+
var _this78 = this;
|
|
710
718
|
|
|
711
719
|
return _asyncToGenerator(function* () {
|
|
712
|
-
return
|
|
720
|
+
return _this78.patch("/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
713
721
|
})();
|
|
714
722
|
}
|
|
715
723
|
|
|
716
724
|
all_content_metadata_accesses(content_metadata_id, fields, options) {
|
|
717
|
-
var
|
|
725
|
+
var _this79 = this;
|
|
718
726
|
|
|
719
727
|
return _asyncToGenerator(function* () {
|
|
720
|
-
return
|
|
728
|
+
return _this79.get('/content_metadata_access', {
|
|
721
729
|
content_metadata_id,
|
|
722
730
|
fields
|
|
723
731
|
}, null, options);
|
|
@@ -725,38 +733,38 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
725
733
|
}
|
|
726
734
|
|
|
727
735
|
create_content_metadata_access(body, send_boards_notification_email, options) {
|
|
728
|
-
var
|
|
736
|
+
var _this80 = this;
|
|
729
737
|
|
|
730
738
|
return _asyncToGenerator(function* () {
|
|
731
|
-
return
|
|
739
|
+
return _this80.post('/content_metadata_access', {
|
|
732
740
|
send_boards_notification_email
|
|
733
741
|
}, body, options);
|
|
734
742
|
})();
|
|
735
743
|
}
|
|
736
744
|
|
|
737
745
|
update_content_metadata_access(content_metadata_access_id, body, options) {
|
|
738
|
-
var
|
|
746
|
+
var _this81 = this;
|
|
739
747
|
|
|
740
748
|
return _asyncToGenerator(function* () {
|
|
741
|
-
return
|
|
749
|
+
return _this81.put("/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
742
750
|
})();
|
|
743
751
|
}
|
|
744
752
|
|
|
745
753
|
delete_content_metadata_access(content_metadata_access_id, options) {
|
|
746
|
-
var
|
|
754
|
+
var _this82 = this;
|
|
747
755
|
|
|
748
756
|
return _asyncToGenerator(function* () {
|
|
749
|
-
return
|
|
757
|
+
return _this82.delete("/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
750
758
|
})();
|
|
751
759
|
}
|
|
752
760
|
|
|
753
761
|
content_thumbnail(request, options) {
|
|
754
|
-
var
|
|
762
|
+
var _this83 = this;
|
|
755
763
|
|
|
756
764
|
return _asyncToGenerator(function* () {
|
|
757
765
|
request.type = (0, _sdkRtl.encodeParam)(request.type);
|
|
758
766
|
request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
|
|
759
|
-
return
|
|
767
|
+
return _this83.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
760
768
|
reload: request.reload,
|
|
761
769
|
format: request.format,
|
|
762
770
|
width: request.width,
|
|
@@ -766,20 +774,20 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
766
774
|
}
|
|
767
775
|
|
|
768
776
|
content_validation(fields, options) {
|
|
769
|
-
var
|
|
777
|
+
var _this84 = this;
|
|
770
778
|
|
|
771
779
|
return _asyncToGenerator(function* () {
|
|
772
|
-
return
|
|
780
|
+
return _this84.get('/content_validation', {
|
|
773
781
|
fields
|
|
774
782
|
}, null, options);
|
|
775
783
|
})();
|
|
776
784
|
}
|
|
777
785
|
|
|
778
786
|
search_content_views(request, options) {
|
|
779
|
-
var
|
|
787
|
+
var _this85 = this;
|
|
780
788
|
|
|
781
789
|
return _asyncToGenerator(function* () {
|
|
782
|
-
return
|
|
790
|
+
return _this85.get('/content_view/search', {
|
|
783
791
|
view_count: request.view_count,
|
|
784
792
|
group_id: request.group_id,
|
|
785
793
|
look_id: request.look_id,
|
|
@@ -798,40 +806,40 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
798
806
|
}
|
|
799
807
|
|
|
800
808
|
vector_thumbnail(type, resource_id, reload, options) {
|
|
801
|
-
var
|
|
809
|
+
var _this86 = this;
|
|
802
810
|
|
|
803
811
|
return _asyncToGenerator(function* () {
|
|
804
812
|
type = (0, _sdkRtl.encodeParam)(type);
|
|
805
813
|
resource_id = (0, _sdkRtl.encodeParam)(resource_id);
|
|
806
|
-
return
|
|
814
|
+
return _this86.get("/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
807
815
|
reload
|
|
808
816
|
}, null, options);
|
|
809
817
|
})();
|
|
810
818
|
}
|
|
811
819
|
|
|
812
820
|
all_dashboards(fields, options) {
|
|
813
|
-
var
|
|
821
|
+
var _this87 = this;
|
|
814
822
|
|
|
815
823
|
return _asyncToGenerator(function* () {
|
|
816
|
-
return
|
|
824
|
+
return _this87.get('/dashboards', {
|
|
817
825
|
fields
|
|
818
826
|
}, null, options);
|
|
819
827
|
})();
|
|
820
828
|
}
|
|
821
829
|
|
|
822
830
|
create_dashboard(body, options) {
|
|
823
|
-
var
|
|
831
|
+
var _this88 = this;
|
|
824
832
|
|
|
825
833
|
return _asyncToGenerator(function* () {
|
|
826
|
-
return
|
|
834
|
+
return _this88.post('/dashboards', null, body, options);
|
|
827
835
|
})();
|
|
828
836
|
}
|
|
829
837
|
|
|
830
838
|
search_dashboards(request, options) {
|
|
831
|
-
var
|
|
839
|
+
var _this89 = this;
|
|
832
840
|
|
|
833
841
|
return _asyncToGenerator(function* () {
|
|
834
|
-
return
|
|
842
|
+
return _this89.get('/dashboards/search', {
|
|
835
843
|
id: request.id,
|
|
836
844
|
slug: request.slug,
|
|
837
845
|
title: request.title,
|
|
@@ -856,80 +864,80 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
856
864
|
}
|
|
857
865
|
|
|
858
866
|
import_lookml_dashboard(lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
859
|
-
var
|
|
867
|
+
var _this90 = this;
|
|
860
868
|
|
|
861
869
|
return _asyncToGenerator(function* () {
|
|
862
870
|
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
863
871
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
864
|
-
return
|
|
872
|
+
return _this90.post("/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
865
873
|
raw_locale
|
|
866
874
|
}, body, options);
|
|
867
875
|
})();
|
|
868
876
|
}
|
|
869
877
|
|
|
870
878
|
sync_lookml_dashboard(lookml_dashboard_id, body, raw_locale, options) {
|
|
871
|
-
var
|
|
879
|
+
var _this91 = this;
|
|
872
880
|
|
|
873
881
|
return _asyncToGenerator(function* () {
|
|
874
882
|
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
875
|
-
return
|
|
883
|
+
return _this91.patch("/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
876
884
|
raw_locale
|
|
877
885
|
}, body, options);
|
|
878
886
|
})();
|
|
879
887
|
}
|
|
880
888
|
|
|
881
889
|
dashboard(dashboard_id, fields, options) {
|
|
882
|
-
var
|
|
890
|
+
var _this92 = this;
|
|
883
891
|
|
|
884
892
|
return _asyncToGenerator(function* () {
|
|
885
893
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
886
|
-
return
|
|
894
|
+
return _this92.get("/dashboards/".concat(dashboard_id), {
|
|
887
895
|
fields
|
|
888
896
|
}, null, options);
|
|
889
897
|
})();
|
|
890
898
|
}
|
|
891
899
|
|
|
892
900
|
update_dashboard(dashboard_id, body, options) {
|
|
893
|
-
var
|
|
901
|
+
var _this93 = this;
|
|
894
902
|
|
|
895
903
|
return _asyncToGenerator(function* () {
|
|
896
904
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
897
|
-
return
|
|
905
|
+
return _this93.patch("/dashboards/".concat(dashboard_id), null, body, options);
|
|
898
906
|
})();
|
|
899
907
|
}
|
|
900
908
|
|
|
901
909
|
delete_dashboard(dashboard_id, options) {
|
|
902
|
-
var
|
|
910
|
+
var _this94 = this;
|
|
903
911
|
|
|
904
912
|
return _asyncToGenerator(function* () {
|
|
905
913
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
906
|
-
return
|
|
914
|
+
return _this94.delete("/dashboards/".concat(dashboard_id), null, null, options);
|
|
907
915
|
})();
|
|
908
916
|
}
|
|
909
917
|
|
|
910
918
|
dashboard_aggregate_table_lookml(dashboard_id, options) {
|
|
911
|
-
var
|
|
919
|
+
var _this95 = this;
|
|
912
920
|
|
|
913
921
|
return _asyncToGenerator(function* () {
|
|
914
922
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
915
|
-
return
|
|
923
|
+
return _this95.get("/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
916
924
|
})();
|
|
917
925
|
}
|
|
918
926
|
|
|
919
927
|
dashboard_lookml(dashboard_id, options) {
|
|
920
|
-
var
|
|
928
|
+
var _this96 = this;
|
|
921
929
|
|
|
922
930
|
return _asyncToGenerator(function* () {
|
|
923
931
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
924
|
-
return
|
|
932
|
+
return _this96.get("/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
925
933
|
})();
|
|
926
934
|
}
|
|
927
935
|
|
|
928
936
|
search_dashboard_elements(request, options) {
|
|
929
|
-
var
|
|
937
|
+
var _this97 = this;
|
|
930
938
|
|
|
931
939
|
return _asyncToGenerator(function* () {
|
|
932
|
-
return
|
|
940
|
+
return _this97.get('/dashboard_elements/search', {
|
|
933
941
|
dashboard_id: request.dashboard_id,
|
|
934
942
|
look_id: request.look_id,
|
|
935
943
|
title: request.title,
|
|
@@ -942,242 +950,242 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
942
950
|
}
|
|
943
951
|
|
|
944
952
|
dashboard_element(dashboard_element_id, fields, options) {
|
|
945
|
-
var
|
|
953
|
+
var _this98 = this;
|
|
946
954
|
|
|
947
955
|
return _asyncToGenerator(function* () {
|
|
948
956
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
949
|
-
return
|
|
957
|
+
return _this98.get("/dashboard_elements/".concat(dashboard_element_id), {
|
|
950
958
|
fields
|
|
951
959
|
}, null, options);
|
|
952
960
|
})();
|
|
953
961
|
}
|
|
954
962
|
|
|
955
963
|
update_dashboard_element(dashboard_element_id, body, fields, options) {
|
|
956
|
-
var
|
|
964
|
+
var _this99 = this;
|
|
957
965
|
|
|
958
966
|
return _asyncToGenerator(function* () {
|
|
959
967
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
960
|
-
return
|
|
968
|
+
return _this99.patch("/dashboard_elements/".concat(dashboard_element_id), {
|
|
961
969
|
fields
|
|
962
970
|
}, body, options);
|
|
963
971
|
})();
|
|
964
972
|
}
|
|
965
973
|
|
|
966
974
|
delete_dashboard_element(dashboard_element_id, options) {
|
|
967
|
-
var
|
|
975
|
+
var _this100 = this;
|
|
968
976
|
|
|
969
977
|
return _asyncToGenerator(function* () {
|
|
970
978
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
971
|
-
return
|
|
979
|
+
return _this100.delete("/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
972
980
|
})();
|
|
973
981
|
}
|
|
974
982
|
|
|
975
983
|
dashboard_dashboard_elements(dashboard_id, fields, options) {
|
|
976
|
-
var
|
|
984
|
+
var _this101 = this;
|
|
977
985
|
|
|
978
986
|
return _asyncToGenerator(function* () {
|
|
979
987
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
980
|
-
return
|
|
988
|
+
return _this101.get("/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
981
989
|
fields
|
|
982
990
|
}, null, options);
|
|
983
991
|
})();
|
|
984
992
|
}
|
|
985
993
|
|
|
986
994
|
create_dashboard_element(body, fields, options) {
|
|
987
|
-
var
|
|
995
|
+
var _this102 = this;
|
|
988
996
|
|
|
989
997
|
return _asyncToGenerator(function* () {
|
|
990
|
-
return
|
|
998
|
+
return _this102.post('/dashboard_elements', {
|
|
991
999
|
fields
|
|
992
1000
|
}, body, options);
|
|
993
1001
|
})();
|
|
994
1002
|
}
|
|
995
1003
|
|
|
996
1004
|
dashboard_filter(dashboard_filter_id, fields, options) {
|
|
997
|
-
var
|
|
1005
|
+
var _this103 = this;
|
|
998
1006
|
|
|
999
1007
|
return _asyncToGenerator(function* () {
|
|
1000
1008
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1001
|
-
return
|
|
1009
|
+
return _this103.get("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1002
1010
|
fields
|
|
1003
1011
|
}, null, options);
|
|
1004
1012
|
})();
|
|
1005
1013
|
}
|
|
1006
1014
|
|
|
1007
1015
|
update_dashboard_filter(dashboard_filter_id, body, fields, options) {
|
|
1008
|
-
var
|
|
1016
|
+
var _this104 = this;
|
|
1009
1017
|
|
|
1010
1018
|
return _asyncToGenerator(function* () {
|
|
1011
1019
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1012
|
-
return
|
|
1020
|
+
return _this104.patch("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1013
1021
|
fields
|
|
1014
1022
|
}, body, options);
|
|
1015
1023
|
})();
|
|
1016
1024
|
}
|
|
1017
1025
|
|
|
1018
1026
|
delete_dashboard_filter(dashboard_filter_id, options) {
|
|
1019
|
-
var
|
|
1027
|
+
var _this105 = this;
|
|
1020
1028
|
|
|
1021
1029
|
return _asyncToGenerator(function* () {
|
|
1022
1030
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1023
|
-
return
|
|
1031
|
+
return _this105.delete("/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1024
1032
|
})();
|
|
1025
1033
|
}
|
|
1026
1034
|
|
|
1027
1035
|
dashboard_dashboard_filters(dashboard_id, fields, options) {
|
|
1028
|
-
var
|
|
1036
|
+
var _this106 = this;
|
|
1029
1037
|
|
|
1030
1038
|
return _asyncToGenerator(function* () {
|
|
1031
1039
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1032
|
-
return
|
|
1040
|
+
return _this106.get("/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1033
1041
|
fields
|
|
1034
1042
|
}, null, options);
|
|
1035
1043
|
})();
|
|
1036
1044
|
}
|
|
1037
1045
|
|
|
1038
1046
|
create_dashboard_filter(body, fields, options) {
|
|
1039
|
-
var
|
|
1047
|
+
var _this107 = this;
|
|
1040
1048
|
|
|
1041
1049
|
return _asyncToGenerator(function* () {
|
|
1042
|
-
return
|
|
1050
|
+
return _this107.post('/dashboard_filters', {
|
|
1043
1051
|
fields
|
|
1044
1052
|
}, body, options);
|
|
1045
1053
|
})();
|
|
1046
1054
|
}
|
|
1047
1055
|
|
|
1048
1056
|
dashboard_layout_component(dashboard_layout_component_id, fields, options) {
|
|
1049
|
-
var
|
|
1057
|
+
var _this108 = this;
|
|
1050
1058
|
|
|
1051
1059
|
return _asyncToGenerator(function* () {
|
|
1052
1060
|
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1053
|
-
return
|
|
1061
|
+
return _this108.get("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1054
1062
|
fields
|
|
1055
1063
|
}, null, options);
|
|
1056
1064
|
})();
|
|
1057
1065
|
}
|
|
1058
1066
|
|
|
1059
1067
|
update_dashboard_layout_component(dashboard_layout_component_id, body, fields, options) {
|
|
1060
|
-
var
|
|
1068
|
+
var _this109 = this;
|
|
1061
1069
|
|
|
1062
1070
|
return _asyncToGenerator(function* () {
|
|
1063
1071
|
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1064
|
-
return
|
|
1072
|
+
return _this109.patch("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1065
1073
|
fields
|
|
1066
1074
|
}, body, options);
|
|
1067
1075
|
})();
|
|
1068
1076
|
}
|
|
1069
1077
|
|
|
1070
1078
|
dashboard_layout_dashboard_layout_components(dashboard_layout_id, fields, options) {
|
|
1071
|
-
var
|
|
1079
|
+
var _this110 = this;
|
|
1072
1080
|
|
|
1073
1081
|
return _asyncToGenerator(function* () {
|
|
1074
1082
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1075
|
-
return
|
|
1083
|
+
return _this110.get("/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1076
1084
|
fields
|
|
1077
1085
|
}, null, options);
|
|
1078
1086
|
})();
|
|
1079
1087
|
}
|
|
1080
1088
|
|
|
1081
1089
|
dashboard_layout(dashboard_layout_id, fields, options) {
|
|
1082
|
-
var
|
|
1090
|
+
var _this111 = this;
|
|
1083
1091
|
|
|
1084
1092
|
return _asyncToGenerator(function* () {
|
|
1085
1093
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1086
|
-
return
|
|
1094
|
+
return _this111.get("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1087
1095
|
fields
|
|
1088
1096
|
}, null, options);
|
|
1089
1097
|
})();
|
|
1090
1098
|
}
|
|
1091
1099
|
|
|
1092
1100
|
update_dashboard_layout(dashboard_layout_id, body, fields, options) {
|
|
1093
|
-
var
|
|
1101
|
+
var _this112 = this;
|
|
1094
1102
|
|
|
1095
1103
|
return _asyncToGenerator(function* () {
|
|
1096
1104
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1097
|
-
return
|
|
1105
|
+
return _this112.patch("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1098
1106
|
fields
|
|
1099
1107
|
}, body, options);
|
|
1100
1108
|
})();
|
|
1101
1109
|
}
|
|
1102
1110
|
|
|
1103
1111
|
delete_dashboard_layout(dashboard_layout_id, options) {
|
|
1104
|
-
var
|
|
1112
|
+
var _this113 = this;
|
|
1105
1113
|
|
|
1106
1114
|
return _asyncToGenerator(function* () {
|
|
1107
1115
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1108
|
-
return
|
|
1116
|
+
return _this113.delete("/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1109
1117
|
})();
|
|
1110
1118
|
}
|
|
1111
1119
|
|
|
1112
1120
|
dashboard_dashboard_layouts(dashboard_id, fields, options) {
|
|
1113
|
-
var
|
|
1121
|
+
var _this114 = this;
|
|
1114
1122
|
|
|
1115
1123
|
return _asyncToGenerator(function* () {
|
|
1116
1124
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1117
|
-
return
|
|
1125
|
+
return _this114.get("/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1118
1126
|
fields
|
|
1119
1127
|
}, null, options);
|
|
1120
1128
|
})();
|
|
1121
1129
|
}
|
|
1122
1130
|
|
|
1123
1131
|
create_dashboard_layout(body, fields, options) {
|
|
1124
|
-
var
|
|
1132
|
+
var _this115 = this;
|
|
1125
1133
|
|
|
1126
1134
|
return _asyncToGenerator(function* () {
|
|
1127
|
-
return
|
|
1135
|
+
return _this115.post('/dashboard_layouts', {
|
|
1128
1136
|
fields
|
|
1129
1137
|
}, body, options);
|
|
1130
1138
|
})();
|
|
1131
1139
|
}
|
|
1132
1140
|
|
|
1133
1141
|
perform_data_action(body, options) {
|
|
1134
|
-
var
|
|
1142
|
+
var _this116 = this;
|
|
1135
1143
|
|
|
1136
1144
|
return _asyncToGenerator(function* () {
|
|
1137
|
-
return
|
|
1145
|
+
return _this116.post('/data_actions', null, body, options);
|
|
1138
1146
|
})();
|
|
1139
1147
|
}
|
|
1140
1148
|
|
|
1141
1149
|
fetch_remote_data_action_form(body, options) {
|
|
1142
|
-
var
|
|
1150
|
+
var _this117 = this;
|
|
1143
1151
|
|
|
1144
1152
|
return _asyncToGenerator(function* () {
|
|
1145
|
-
return
|
|
1153
|
+
return _this117.post('/data_actions/form', null, body, options);
|
|
1146
1154
|
})();
|
|
1147
1155
|
}
|
|
1148
1156
|
|
|
1149
1157
|
all_datagroups(options) {
|
|
1150
|
-
var
|
|
1158
|
+
var _this118 = this;
|
|
1151
1159
|
|
|
1152
1160
|
return _asyncToGenerator(function* () {
|
|
1153
|
-
return
|
|
1161
|
+
return _this118.get('/datagroups', null, null, options);
|
|
1154
1162
|
})();
|
|
1155
1163
|
}
|
|
1156
1164
|
|
|
1157
1165
|
datagroup(datagroup_id, options) {
|
|
1158
|
-
var
|
|
1166
|
+
var _this119 = this;
|
|
1159
1167
|
|
|
1160
1168
|
return _asyncToGenerator(function* () {
|
|
1161
1169
|
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1162
|
-
return
|
|
1170
|
+
return _this119.get("/datagroups/".concat(datagroup_id), null, null, options);
|
|
1163
1171
|
})();
|
|
1164
1172
|
}
|
|
1165
1173
|
|
|
1166
1174
|
update_datagroup(datagroup_id, body, options) {
|
|
1167
|
-
var
|
|
1175
|
+
var _this120 = this;
|
|
1168
1176
|
|
|
1169
1177
|
return _asyncToGenerator(function* () {
|
|
1170
1178
|
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1171
|
-
return
|
|
1179
|
+
return _this120.patch("/datagroups/".concat(datagroup_id), null, body, options);
|
|
1172
1180
|
})();
|
|
1173
1181
|
}
|
|
1174
1182
|
|
|
1175
1183
|
graph_derived_tables_for_model(request, options) {
|
|
1176
|
-
var
|
|
1184
|
+
var _this121 = this;
|
|
1177
1185
|
|
|
1178
1186
|
return _asyncToGenerator(function* () {
|
|
1179
1187
|
request.model = (0, _sdkRtl.encodeParam)(request.model);
|
|
1180
|
-
return
|
|
1188
|
+
return _this121.get("/derived_table/graph/model/".concat(request.model), {
|
|
1181
1189
|
format: request.format,
|
|
1182
1190
|
color: request.color
|
|
1183
1191
|
}, null, options);
|
|
@@ -1185,22 +1193,57 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1185
1193
|
}
|
|
1186
1194
|
|
|
1187
1195
|
graph_derived_tables_for_view(request, options) {
|
|
1188
|
-
var
|
|
1196
|
+
var _this122 = this;
|
|
1189
1197
|
|
|
1190
1198
|
return _asyncToGenerator(function* () {
|
|
1191
1199
|
request.view = (0, _sdkRtl.encodeParam)(request.view);
|
|
1192
|
-
return
|
|
1200
|
+
return _this122.get("/derived_table/graph/view/".concat(request.view), {
|
|
1193
1201
|
models: request.models,
|
|
1194
1202
|
workspace: request.workspace
|
|
1195
1203
|
}, null, options);
|
|
1196
1204
|
})();
|
|
1197
1205
|
}
|
|
1198
1206
|
|
|
1207
|
+
start_pdt_build(request, options) {
|
|
1208
|
+
var _this123 = this;
|
|
1209
|
+
|
|
1210
|
+
return _asyncToGenerator(function* () {
|
|
1211
|
+
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
1212
|
+
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
1213
|
+
return _this123.get("/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1214
|
+
force_rebuild: request.force_rebuild,
|
|
1215
|
+
force_full_incremental: request.force_full_incremental,
|
|
1216
|
+
workspace: request.workspace,
|
|
1217
|
+
source: request.source
|
|
1218
|
+
}, null, options);
|
|
1219
|
+
})();
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
check_pdt_build(materialization_id, options) {
|
|
1223
|
+
var _this124 = this;
|
|
1224
|
+
|
|
1225
|
+
return _asyncToGenerator(function* () {
|
|
1226
|
+
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1227
|
+
return _this124.get("/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1228
|
+
})();
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
stop_pdt_build(materialization_id, source, options) {
|
|
1232
|
+
var _this125 = this;
|
|
1233
|
+
|
|
1234
|
+
return _asyncToGenerator(function* () {
|
|
1235
|
+
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1236
|
+
return _this125.get("/derived_table/".concat(materialization_id, "/stop"), {
|
|
1237
|
+
source
|
|
1238
|
+
}, null, options);
|
|
1239
|
+
})();
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1199
1242
|
search_folders(request, options) {
|
|
1200
|
-
var
|
|
1243
|
+
var _this126 = this;
|
|
1201
1244
|
|
|
1202
1245
|
return _asyncToGenerator(function* () {
|
|
1203
|
-
return
|
|
1246
|
+
return _this126.get('/folders/search', {
|
|
1204
1247
|
fields: request.fields,
|
|
1205
1248
|
page: request.page,
|
|
1206
1249
|
per_page: request.per_page,
|
|
@@ -1218,58 +1261,58 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1218
1261
|
}
|
|
1219
1262
|
|
|
1220
1263
|
folder(folder_id, fields, options) {
|
|
1221
|
-
var
|
|
1264
|
+
var _this127 = this;
|
|
1222
1265
|
|
|
1223
1266
|
return _asyncToGenerator(function* () {
|
|
1224
1267
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1225
|
-
return
|
|
1268
|
+
return _this127.get("/folders/".concat(folder_id), {
|
|
1226
1269
|
fields
|
|
1227
1270
|
}, null, options);
|
|
1228
1271
|
})();
|
|
1229
1272
|
}
|
|
1230
1273
|
|
|
1231
1274
|
update_folder(folder_id, body, options) {
|
|
1232
|
-
var
|
|
1275
|
+
var _this128 = this;
|
|
1233
1276
|
|
|
1234
1277
|
return _asyncToGenerator(function* () {
|
|
1235
1278
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1236
|
-
return
|
|
1279
|
+
return _this128.patch("/folders/".concat(folder_id), null, body, options);
|
|
1237
1280
|
})();
|
|
1238
1281
|
}
|
|
1239
1282
|
|
|
1240
1283
|
delete_folder(folder_id, options) {
|
|
1241
|
-
var
|
|
1284
|
+
var _this129 = this;
|
|
1242
1285
|
|
|
1243
1286
|
return _asyncToGenerator(function* () {
|
|
1244
1287
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1245
|
-
return
|
|
1288
|
+
return _this129.delete("/folders/".concat(folder_id), null, null, options);
|
|
1246
1289
|
})();
|
|
1247
1290
|
}
|
|
1248
1291
|
|
|
1249
1292
|
all_folders(fields, options) {
|
|
1250
|
-
var
|
|
1293
|
+
var _this130 = this;
|
|
1251
1294
|
|
|
1252
1295
|
return _asyncToGenerator(function* () {
|
|
1253
|
-
return
|
|
1296
|
+
return _this130.get('/folders', {
|
|
1254
1297
|
fields
|
|
1255
1298
|
}, null, options);
|
|
1256
1299
|
})();
|
|
1257
1300
|
}
|
|
1258
1301
|
|
|
1259
1302
|
create_folder(body, options) {
|
|
1260
|
-
var
|
|
1303
|
+
var _this131 = this;
|
|
1261
1304
|
|
|
1262
1305
|
return _asyncToGenerator(function* () {
|
|
1263
|
-
return
|
|
1306
|
+
return _this131.post('/folders', null, body, options);
|
|
1264
1307
|
})();
|
|
1265
1308
|
}
|
|
1266
1309
|
|
|
1267
1310
|
folder_children(request, options) {
|
|
1268
|
-
var
|
|
1311
|
+
var _this132 = this;
|
|
1269
1312
|
|
|
1270
1313
|
return _asyncToGenerator(function* () {
|
|
1271
1314
|
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1272
|
-
return
|
|
1315
|
+
return _this132.get("/folders/".concat(request.folder_id, "/children"), {
|
|
1273
1316
|
fields: request.fields,
|
|
1274
1317
|
page: request.page,
|
|
1275
1318
|
per_page: request.per_page,
|
|
@@ -1279,11 +1322,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1279
1322
|
}
|
|
1280
1323
|
|
|
1281
1324
|
folder_children_search(request, options) {
|
|
1282
|
-
var
|
|
1325
|
+
var _this133 = this;
|
|
1283
1326
|
|
|
1284
1327
|
return _asyncToGenerator(function* () {
|
|
1285
1328
|
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1286
|
-
return
|
|
1329
|
+
return _this133.get("/folders/".concat(request.folder_id, "/children/search"), {
|
|
1287
1330
|
fields: request.fields,
|
|
1288
1331
|
sorts: request.sorts,
|
|
1289
1332
|
name: request.name
|
|
@@ -1292,54 +1335,54 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1292
1335
|
}
|
|
1293
1336
|
|
|
1294
1337
|
folder_parent(folder_id, fields, options) {
|
|
1295
|
-
var
|
|
1338
|
+
var _this134 = this;
|
|
1296
1339
|
|
|
1297
1340
|
return _asyncToGenerator(function* () {
|
|
1298
1341
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1299
|
-
return
|
|
1342
|
+
return _this134.get("/folders/".concat(folder_id, "/parent"), {
|
|
1300
1343
|
fields
|
|
1301
1344
|
}, null, options);
|
|
1302
1345
|
})();
|
|
1303
1346
|
}
|
|
1304
1347
|
|
|
1305
1348
|
folder_ancestors(folder_id, fields, options) {
|
|
1306
|
-
var
|
|
1349
|
+
var _this135 = this;
|
|
1307
1350
|
|
|
1308
1351
|
return _asyncToGenerator(function* () {
|
|
1309
1352
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1310
|
-
return
|
|
1353
|
+
return _this135.get("/folders/".concat(folder_id, "/ancestors"), {
|
|
1311
1354
|
fields
|
|
1312
1355
|
}, null, options);
|
|
1313
1356
|
})();
|
|
1314
1357
|
}
|
|
1315
1358
|
|
|
1316
1359
|
folder_looks(folder_id, fields, options) {
|
|
1317
|
-
var
|
|
1360
|
+
var _this136 = this;
|
|
1318
1361
|
|
|
1319
1362
|
return _asyncToGenerator(function* () {
|
|
1320
1363
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1321
|
-
return
|
|
1364
|
+
return _this136.get("/folders/".concat(folder_id, "/looks"), {
|
|
1322
1365
|
fields
|
|
1323
1366
|
}, null, options);
|
|
1324
1367
|
})();
|
|
1325
1368
|
}
|
|
1326
1369
|
|
|
1327
1370
|
folder_dashboards(folder_id, fields, options) {
|
|
1328
|
-
var
|
|
1371
|
+
var _this137 = this;
|
|
1329
1372
|
|
|
1330
1373
|
return _asyncToGenerator(function* () {
|
|
1331
1374
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1332
|
-
return
|
|
1375
|
+
return _this137.get("/folders/".concat(folder_id, "/dashboards"), {
|
|
1333
1376
|
fields
|
|
1334
1377
|
}, null, options);
|
|
1335
1378
|
})();
|
|
1336
1379
|
}
|
|
1337
1380
|
|
|
1338
1381
|
all_groups(request, options) {
|
|
1339
|
-
var
|
|
1382
|
+
var _this138 = this;
|
|
1340
1383
|
|
|
1341
1384
|
return _asyncToGenerator(function* () {
|
|
1342
|
-
return
|
|
1385
|
+
return _this138.get('/groups', {
|
|
1343
1386
|
fields: request.fields,
|
|
1344
1387
|
page: request.page,
|
|
1345
1388
|
per_page: request.per_page,
|
|
@@ -1352,20 +1395,20 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1352
1395
|
}
|
|
1353
1396
|
|
|
1354
1397
|
create_group(body, fields, options) {
|
|
1355
|
-
var
|
|
1398
|
+
var _this139 = this;
|
|
1356
1399
|
|
|
1357
1400
|
return _asyncToGenerator(function* () {
|
|
1358
|
-
return
|
|
1401
|
+
return _this139.post('/groups', {
|
|
1359
1402
|
fields
|
|
1360
1403
|
}, body, options);
|
|
1361
1404
|
})();
|
|
1362
1405
|
}
|
|
1363
1406
|
|
|
1364
1407
|
search_groups(request, options) {
|
|
1365
|
-
var
|
|
1408
|
+
var _this140 = this;
|
|
1366
1409
|
|
|
1367
1410
|
return _asyncToGenerator(function* () {
|
|
1368
|
-
return
|
|
1411
|
+
return _this140.get('/groups/search', {
|
|
1369
1412
|
fields: request.fields,
|
|
1370
1413
|
limit: request.limit,
|
|
1371
1414
|
offset: request.offset,
|
|
@@ -1381,56 +1424,56 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1381
1424
|
}
|
|
1382
1425
|
|
|
1383
1426
|
group(group_id, fields, options) {
|
|
1384
|
-
var
|
|
1427
|
+
var _this141 = this;
|
|
1385
1428
|
|
|
1386
1429
|
return _asyncToGenerator(function* () {
|
|
1387
|
-
return
|
|
1430
|
+
return _this141.get("/groups/".concat(group_id), {
|
|
1388
1431
|
fields
|
|
1389
1432
|
}, null, options);
|
|
1390
1433
|
})();
|
|
1391
1434
|
}
|
|
1392
1435
|
|
|
1393
1436
|
update_group(group_id, body, fields, options) {
|
|
1394
|
-
var
|
|
1437
|
+
var _this142 = this;
|
|
1395
1438
|
|
|
1396
1439
|
return _asyncToGenerator(function* () {
|
|
1397
|
-
return
|
|
1440
|
+
return _this142.patch("/groups/".concat(group_id), {
|
|
1398
1441
|
fields
|
|
1399
1442
|
}, body, options);
|
|
1400
1443
|
})();
|
|
1401
1444
|
}
|
|
1402
1445
|
|
|
1403
1446
|
delete_group(group_id, options) {
|
|
1404
|
-
var
|
|
1447
|
+
var _this143 = this;
|
|
1405
1448
|
|
|
1406
1449
|
return _asyncToGenerator(function* () {
|
|
1407
|
-
return
|
|
1450
|
+
return _this143.delete("/groups/".concat(group_id), null, null, options);
|
|
1408
1451
|
})();
|
|
1409
1452
|
}
|
|
1410
1453
|
|
|
1411
1454
|
all_group_groups(group_id, fields, options) {
|
|
1412
|
-
var
|
|
1455
|
+
var _this144 = this;
|
|
1413
1456
|
|
|
1414
1457
|
return _asyncToGenerator(function* () {
|
|
1415
|
-
return
|
|
1458
|
+
return _this144.get("/groups/".concat(group_id, "/groups"), {
|
|
1416
1459
|
fields
|
|
1417
1460
|
}, null, options);
|
|
1418
1461
|
})();
|
|
1419
1462
|
}
|
|
1420
1463
|
|
|
1421
1464
|
add_group_group(group_id, body, options) {
|
|
1422
|
-
var
|
|
1465
|
+
var _this145 = this;
|
|
1423
1466
|
|
|
1424
1467
|
return _asyncToGenerator(function* () {
|
|
1425
|
-
return
|
|
1468
|
+
return _this145.post("/groups/".concat(group_id, "/groups"), null, body, options);
|
|
1426
1469
|
})();
|
|
1427
1470
|
}
|
|
1428
1471
|
|
|
1429
1472
|
all_group_users(request, options) {
|
|
1430
|
-
var
|
|
1473
|
+
var _this146 = this;
|
|
1431
1474
|
|
|
1432
1475
|
return _asyncToGenerator(function* () {
|
|
1433
|
-
return
|
|
1476
|
+
return _this146.get("/groups/".concat(request.group_id, "/users"), {
|
|
1434
1477
|
fields: request.fields,
|
|
1435
1478
|
page: request.page,
|
|
1436
1479
|
per_page: request.per_page,
|
|
@@ -1440,70 +1483,70 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1440
1483
|
}
|
|
1441
1484
|
|
|
1442
1485
|
add_group_user(group_id, body, options) {
|
|
1443
|
-
var
|
|
1486
|
+
var _this147 = this;
|
|
1444
1487
|
|
|
1445
1488
|
return _asyncToGenerator(function* () {
|
|
1446
|
-
return
|
|
1489
|
+
return _this147.post("/groups/".concat(group_id, "/users"), null, body, options);
|
|
1447
1490
|
})();
|
|
1448
1491
|
}
|
|
1449
1492
|
|
|
1450
1493
|
delete_group_user(group_id, user_id, options) {
|
|
1451
|
-
var
|
|
1494
|
+
var _this148 = this;
|
|
1452
1495
|
|
|
1453
1496
|
return _asyncToGenerator(function* () {
|
|
1454
|
-
return
|
|
1497
|
+
return _this148.delete("/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
1455
1498
|
})();
|
|
1456
1499
|
}
|
|
1457
1500
|
|
|
1458
1501
|
delete_group_from_group(group_id, deleting_group_id, options) {
|
|
1459
|
-
var
|
|
1502
|
+
var _this149 = this;
|
|
1460
1503
|
|
|
1461
1504
|
return _asyncToGenerator(function* () {
|
|
1462
|
-
return
|
|
1505
|
+
return _this149.delete("/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
1463
1506
|
})();
|
|
1464
1507
|
}
|
|
1465
1508
|
|
|
1466
1509
|
update_user_attribute_group_value(group_id, user_attribute_id, body, options) {
|
|
1467
|
-
var
|
|
1510
|
+
var _this150 = this;
|
|
1468
1511
|
|
|
1469
1512
|
return _asyncToGenerator(function* () {
|
|
1470
|
-
return
|
|
1513
|
+
return _this150.patch("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
1471
1514
|
})();
|
|
1472
1515
|
}
|
|
1473
1516
|
|
|
1474
1517
|
delete_user_attribute_group_value(group_id, user_attribute_id, options) {
|
|
1475
|
-
var
|
|
1518
|
+
var _this151 = this;
|
|
1476
1519
|
|
|
1477
1520
|
return _asyncToGenerator(function* () {
|
|
1478
|
-
return
|
|
1521
|
+
return _this151.delete("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
1479
1522
|
})();
|
|
1480
1523
|
}
|
|
1481
1524
|
|
|
1482
1525
|
all_homepages(fields, options) {
|
|
1483
|
-
var
|
|
1526
|
+
var _this152 = this;
|
|
1484
1527
|
|
|
1485
1528
|
return _asyncToGenerator(function* () {
|
|
1486
|
-
return
|
|
1529
|
+
return _this152.get('/homepages', {
|
|
1487
1530
|
fields
|
|
1488
1531
|
}, null, options);
|
|
1489
1532
|
})();
|
|
1490
1533
|
}
|
|
1491
1534
|
|
|
1492
1535
|
create_homepage(body, fields, options) {
|
|
1493
|
-
var
|
|
1536
|
+
var _this153 = this;
|
|
1494
1537
|
|
|
1495
1538
|
return _asyncToGenerator(function* () {
|
|
1496
|
-
return
|
|
1539
|
+
return _this153.post('/homepages', {
|
|
1497
1540
|
fields
|
|
1498
1541
|
}, body, options);
|
|
1499
1542
|
})();
|
|
1500
1543
|
}
|
|
1501
1544
|
|
|
1502
1545
|
search_homepages(request, options) {
|
|
1503
|
-
var
|
|
1546
|
+
var _this154 = this;
|
|
1504
1547
|
|
|
1505
1548
|
return _asyncToGenerator(function* () {
|
|
1506
|
-
return
|
|
1549
|
+
return _this154.get('/homepages/search', {
|
|
1507
1550
|
title: request.title,
|
|
1508
1551
|
created_at: request.created_at,
|
|
1509
1552
|
first_name: request.first_name,
|
|
@@ -1522,38 +1565,38 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1522
1565
|
}
|
|
1523
1566
|
|
|
1524
1567
|
homepage(homepage_id, fields, options) {
|
|
1525
|
-
var
|
|
1568
|
+
var _this155 = this;
|
|
1526
1569
|
|
|
1527
1570
|
return _asyncToGenerator(function* () {
|
|
1528
|
-
return
|
|
1571
|
+
return _this155.get("/homepages/".concat(homepage_id), {
|
|
1529
1572
|
fields
|
|
1530
1573
|
}, null, options);
|
|
1531
1574
|
})();
|
|
1532
1575
|
}
|
|
1533
1576
|
|
|
1534
1577
|
update_homepage(homepage_id, body, fields, options) {
|
|
1535
|
-
var
|
|
1578
|
+
var _this156 = this;
|
|
1536
1579
|
|
|
1537
1580
|
return _asyncToGenerator(function* () {
|
|
1538
|
-
return
|
|
1581
|
+
return _this156.patch("/homepages/".concat(homepage_id), {
|
|
1539
1582
|
fields
|
|
1540
1583
|
}, body, options);
|
|
1541
1584
|
})();
|
|
1542
1585
|
}
|
|
1543
1586
|
|
|
1544
1587
|
delete_homepage(homepage_id, options) {
|
|
1545
|
-
var
|
|
1588
|
+
var _this157 = this;
|
|
1546
1589
|
|
|
1547
1590
|
return _asyncToGenerator(function* () {
|
|
1548
|
-
return
|
|
1591
|
+
return _this157.delete("/homepages/".concat(homepage_id), null, null, options);
|
|
1549
1592
|
})();
|
|
1550
1593
|
}
|
|
1551
1594
|
|
|
1552
1595
|
all_homepage_items(request, options) {
|
|
1553
|
-
var
|
|
1596
|
+
var _this158 = this;
|
|
1554
1597
|
|
|
1555
1598
|
return _asyncToGenerator(function* () {
|
|
1556
|
-
return
|
|
1599
|
+
return _this158.get('/homepage_items', {
|
|
1557
1600
|
fields: request.fields,
|
|
1558
1601
|
sorts: request.sorts,
|
|
1559
1602
|
homepage_section_id: request.homepage_section_id
|
|
@@ -1562,48 +1605,48 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1562
1605
|
}
|
|
1563
1606
|
|
|
1564
1607
|
create_homepage_item(body, fields, options) {
|
|
1565
|
-
var
|
|
1608
|
+
var _this159 = this;
|
|
1566
1609
|
|
|
1567
1610
|
return _asyncToGenerator(function* () {
|
|
1568
|
-
return
|
|
1611
|
+
return _this159.post('/homepage_items', {
|
|
1569
1612
|
fields
|
|
1570
1613
|
}, body, options);
|
|
1571
1614
|
})();
|
|
1572
1615
|
}
|
|
1573
1616
|
|
|
1574
1617
|
homepage_item(homepage_item_id, fields, options) {
|
|
1575
|
-
var
|
|
1618
|
+
var _this160 = this;
|
|
1576
1619
|
|
|
1577
1620
|
return _asyncToGenerator(function* () {
|
|
1578
|
-
return
|
|
1621
|
+
return _this160.get("/homepage_items/".concat(homepage_item_id), {
|
|
1579
1622
|
fields
|
|
1580
1623
|
}, null, options);
|
|
1581
1624
|
})();
|
|
1582
1625
|
}
|
|
1583
1626
|
|
|
1584
1627
|
update_homepage_item(homepage_item_id, body, fields, options) {
|
|
1585
|
-
var
|
|
1628
|
+
var _this161 = this;
|
|
1586
1629
|
|
|
1587
1630
|
return _asyncToGenerator(function* () {
|
|
1588
|
-
return
|
|
1631
|
+
return _this161.patch("/homepage_items/".concat(homepage_item_id), {
|
|
1589
1632
|
fields
|
|
1590
1633
|
}, body, options);
|
|
1591
1634
|
})();
|
|
1592
1635
|
}
|
|
1593
1636
|
|
|
1594
1637
|
delete_homepage_item(homepage_item_id, options) {
|
|
1595
|
-
var
|
|
1638
|
+
var _this162 = this;
|
|
1596
1639
|
|
|
1597
1640
|
return _asyncToGenerator(function* () {
|
|
1598
|
-
return
|
|
1641
|
+
return _this162.delete("/homepage_items/".concat(homepage_item_id), null, null, options);
|
|
1599
1642
|
})();
|
|
1600
1643
|
}
|
|
1601
1644
|
|
|
1602
1645
|
all_homepage_sections(request, options) {
|
|
1603
|
-
var
|
|
1646
|
+
var _this163 = this;
|
|
1604
1647
|
|
|
1605
1648
|
return _asyncToGenerator(function* () {
|
|
1606
|
-
return
|
|
1649
|
+
return _this163.get('/homepage_sections', {
|
|
1607
1650
|
fields: request.fields,
|
|
1608
1651
|
sorts: request.sorts
|
|
1609
1652
|
}, null, options);
|
|
@@ -1611,114 +1654,114 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1611
1654
|
}
|
|
1612
1655
|
|
|
1613
1656
|
create_homepage_section(body, fields, options) {
|
|
1614
|
-
var
|
|
1657
|
+
var _this164 = this;
|
|
1615
1658
|
|
|
1616
1659
|
return _asyncToGenerator(function* () {
|
|
1617
|
-
return
|
|
1660
|
+
return _this164.post('/homepage_sections', {
|
|
1618
1661
|
fields
|
|
1619
1662
|
}, body, options);
|
|
1620
1663
|
})();
|
|
1621
1664
|
}
|
|
1622
1665
|
|
|
1623
1666
|
homepage_section(homepage_section_id, fields, options) {
|
|
1624
|
-
var
|
|
1667
|
+
var _this165 = this;
|
|
1625
1668
|
|
|
1626
1669
|
return _asyncToGenerator(function* () {
|
|
1627
|
-
return
|
|
1670
|
+
return _this165.get("/homepage_sections/".concat(homepage_section_id), {
|
|
1628
1671
|
fields
|
|
1629
1672
|
}, null, options);
|
|
1630
1673
|
})();
|
|
1631
1674
|
}
|
|
1632
1675
|
|
|
1633
1676
|
update_homepage_section(homepage_section_id, body, fields, options) {
|
|
1634
|
-
var
|
|
1677
|
+
var _this166 = this;
|
|
1635
1678
|
|
|
1636
1679
|
return _asyncToGenerator(function* () {
|
|
1637
|
-
return
|
|
1680
|
+
return _this166.patch("/homepage_sections/".concat(homepage_section_id), {
|
|
1638
1681
|
fields
|
|
1639
1682
|
}, body, options);
|
|
1640
1683
|
})();
|
|
1641
1684
|
}
|
|
1642
1685
|
|
|
1643
1686
|
delete_homepage_section(homepage_section_id, options) {
|
|
1644
|
-
var
|
|
1687
|
+
var _this167 = this;
|
|
1645
1688
|
|
|
1646
1689
|
return _asyncToGenerator(function* () {
|
|
1647
|
-
return
|
|
1690
|
+
return _this167.delete("/homepage_sections/".concat(homepage_section_id), null, null, options);
|
|
1648
1691
|
})();
|
|
1649
1692
|
}
|
|
1650
1693
|
|
|
1651
1694
|
all_primary_homepage_sections(fields, options) {
|
|
1652
|
-
var
|
|
1695
|
+
var _this168 = this;
|
|
1653
1696
|
|
|
1654
1697
|
return _asyncToGenerator(function* () {
|
|
1655
|
-
return
|
|
1698
|
+
return _this168.get('/primary_homepage_sections', {
|
|
1656
1699
|
fields
|
|
1657
1700
|
}, null, options);
|
|
1658
1701
|
})();
|
|
1659
1702
|
}
|
|
1660
1703
|
|
|
1661
1704
|
all_integration_hubs(fields, options) {
|
|
1662
|
-
var
|
|
1705
|
+
var _this169 = this;
|
|
1663
1706
|
|
|
1664
1707
|
return _asyncToGenerator(function* () {
|
|
1665
|
-
return
|
|
1708
|
+
return _this169.get('/integration_hubs', {
|
|
1666
1709
|
fields
|
|
1667
1710
|
}, null, options);
|
|
1668
1711
|
})();
|
|
1669
1712
|
}
|
|
1670
1713
|
|
|
1671
1714
|
create_integration_hub(body, fields, options) {
|
|
1672
|
-
var
|
|
1715
|
+
var _this170 = this;
|
|
1673
1716
|
|
|
1674
1717
|
return _asyncToGenerator(function* () {
|
|
1675
|
-
return
|
|
1718
|
+
return _this170.post('/integration_hubs', {
|
|
1676
1719
|
fields
|
|
1677
1720
|
}, body, options);
|
|
1678
1721
|
})();
|
|
1679
1722
|
}
|
|
1680
1723
|
|
|
1681
1724
|
integration_hub(integration_hub_id, fields, options) {
|
|
1682
|
-
var
|
|
1725
|
+
var _this171 = this;
|
|
1683
1726
|
|
|
1684
1727
|
return _asyncToGenerator(function* () {
|
|
1685
|
-
return
|
|
1728
|
+
return _this171.get("/integration_hubs/".concat(integration_hub_id), {
|
|
1686
1729
|
fields
|
|
1687
1730
|
}, null, options);
|
|
1688
1731
|
})();
|
|
1689
1732
|
}
|
|
1690
1733
|
|
|
1691
1734
|
update_integration_hub(integration_hub_id, body, fields, options) {
|
|
1692
|
-
var
|
|
1735
|
+
var _this172 = this;
|
|
1693
1736
|
|
|
1694
1737
|
return _asyncToGenerator(function* () {
|
|
1695
|
-
return
|
|
1738
|
+
return _this172.patch("/integration_hubs/".concat(integration_hub_id), {
|
|
1696
1739
|
fields
|
|
1697
1740
|
}, body, options);
|
|
1698
1741
|
})();
|
|
1699
1742
|
}
|
|
1700
1743
|
|
|
1701
1744
|
delete_integration_hub(integration_hub_id, options) {
|
|
1702
|
-
var
|
|
1745
|
+
var _this173 = this;
|
|
1703
1746
|
|
|
1704
1747
|
return _asyncToGenerator(function* () {
|
|
1705
|
-
return
|
|
1748
|
+
return _this173.delete("/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
1706
1749
|
})();
|
|
1707
1750
|
}
|
|
1708
1751
|
|
|
1709
1752
|
accept_integration_hub_legal_agreement(integration_hub_id, options) {
|
|
1710
|
-
var
|
|
1753
|
+
var _this174 = this;
|
|
1711
1754
|
|
|
1712
1755
|
return _asyncToGenerator(function* () {
|
|
1713
|
-
return
|
|
1756
|
+
return _this174.post("/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
1714
1757
|
})();
|
|
1715
1758
|
}
|
|
1716
1759
|
|
|
1717
1760
|
all_integrations(request, options) {
|
|
1718
|
-
var
|
|
1761
|
+
var _this175 = this;
|
|
1719
1762
|
|
|
1720
1763
|
return _asyncToGenerator(function* () {
|
|
1721
|
-
return
|
|
1764
|
+
return _this175.get('/integrations', {
|
|
1722
1765
|
fields: request.fields,
|
|
1723
1766
|
integration_hub_id: request.integration_hub_id
|
|
1724
1767
|
}, null, options);
|
|
@@ -1726,70 +1769,70 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1726
1769
|
}
|
|
1727
1770
|
|
|
1728
1771
|
integration(integration_id, fields, options) {
|
|
1729
|
-
var
|
|
1772
|
+
var _this176 = this;
|
|
1730
1773
|
|
|
1731
1774
|
return _asyncToGenerator(function* () {
|
|
1732
1775
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1733
|
-
return
|
|
1776
|
+
return _this176.get("/integrations/".concat(integration_id), {
|
|
1734
1777
|
fields
|
|
1735
1778
|
}, null, options);
|
|
1736
1779
|
})();
|
|
1737
1780
|
}
|
|
1738
1781
|
|
|
1739
1782
|
update_integration(integration_id, body, fields, options) {
|
|
1740
|
-
var
|
|
1783
|
+
var _this177 = this;
|
|
1741
1784
|
|
|
1742
1785
|
return _asyncToGenerator(function* () {
|
|
1743
1786
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1744
|
-
return
|
|
1787
|
+
return _this177.patch("/integrations/".concat(integration_id), {
|
|
1745
1788
|
fields
|
|
1746
1789
|
}, body, options);
|
|
1747
1790
|
})();
|
|
1748
1791
|
}
|
|
1749
1792
|
|
|
1750
1793
|
fetch_integration_form(integration_id, body, options) {
|
|
1751
|
-
var
|
|
1794
|
+
var _this178 = this;
|
|
1752
1795
|
|
|
1753
1796
|
return _asyncToGenerator(function* () {
|
|
1754
1797
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1755
|
-
return
|
|
1798
|
+
return _this178.post("/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
1756
1799
|
})();
|
|
1757
1800
|
}
|
|
1758
1801
|
|
|
1759
1802
|
test_integration(integration_id, options) {
|
|
1760
|
-
var
|
|
1803
|
+
var _this179 = this;
|
|
1761
1804
|
|
|
1762
1805
|
return _asyncToGenerator(function* () {
|
|
1763
1806
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
1764
|
-
return
|
|
1807
|
+
return _this179.post("/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
1765
1808
|
})();
|
|
1766
1809
|
}
|
|
1767
1810
|
|
|
1768
1811
|
all_looks(fields, options) {
|
|
1769
|
-
var
|
|
1812
|
+
var _this180 = this;
|
|
1770
1813
|
|
|
1771
1814
|
return _asyncToGenerator(function* () {
|
|
1772
|
-
return
|
|
1815
|
+
return _this180.get('/looks', {
|
|
1773
1816
|
fields
|
|
1774
1817
|
}, null, options);
|
|
1775
1818
|
})();
|
|
1776
1819
|
}
|
|
1777
1820
|
|
|
1778
1821
|
create_look(body, fields, options) {
|
|
1779
|
-
var
|
|
1822
|
+
var _this181 = this;
|
|
1780
1823
|
|
|
1781
1824
|
return _asyncToGenerator(function* () {
|
|
1782
|
-
return
|
|
1825
|
+
return _this181.post('/looks', {
|
|
1783
1826
|
fields
|
|
1784
1827
|
}, body, options);
|
|
1785
1828
|
})();
|
|
1786
1829
|
}
|
|
1787
1830
|
|
|
1788
1831
|
search_looks(request, options) {
|
|
1789
|
-
var
|
|
1832
|
+
var _this182 = this;
|
|
1790
1833
|
|
|
1791
1834
|
return _asyncToGenerator(function* () {
|
|
1792
|
-
return
|
|
1835
|
+
return _this182.get('/looks/search', {
|
|
1793
1836
|
id: request.id,
|
|
1794
1837
|
title: request.title,
|
|
1795
1838
|
description: request.description,
|
|
@@ -1812,39 +1855,39 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1812
1855
|
}
|
|
1813
1856
|
|
|
1814
1857
|
look(look_id, fields, options) {
|
|
1815
|
-
var
|
|
1858
|
+
var _this183 = this;
|
|
1816
1859
|
|
|
1817
1860
|
return _asyncToGenerator(function* () {
|
|
1818
|
-
return
|
|
1861
|
+
return _this183.get("/looks/".concat(look_id), {
|
|
1819
1862
|
fields
|
|
1820
1863
|
}, null, options);
|
|
1821
1864
|
})();
|
|
1822
1865
|
}
|
|
1823
1866
|
|
|
1824
1867
|
update_look(look_id, body, fields, options) {
|
|
1825
|
-
var
|
|
1868
|
+
var _this184 = this;
|
|
1826
1869
|
|
|
1827
1870
|
return _asyncToGenerator(function* () {
|
|
1828
|
-
return
|
|
1871
|
+
return _this184.patch("/looks/".concat(look_id), {
|
|
1829
1872
|
fields
|
|
1830
1873
|
}, body, options);
|
|
1831
1874
|
})();
|
|
1832
1875
|
}
|
|
1833
1876
|
|
|
1834
1877
|
delete_look(look_id, options) {
|
|
1835
|
-
var
|
|
1878
|
+
var _this185 = this;
|
|
1836
1879
|
|
|
1837
1880
|
return _asyncToGenerator(function* () {
|
|
1838
|
-
return
|
|
1881
|
+
return _this185.delete("/looks/".concat(look_id), null, null, options);
|
|
1839
1882
|
})();
|
|
1840
1883
|
}
|
|
1841
1884
|
|
|
1842
1885
|
run_look(request, options) {
|
|
1843
|
-
var
|
|
1886
|
+
var _this186 = this;
|
|
1844
1887
|
|
|
1845
1888
|
return _asyncToGenerator(function* () {
|
|
1846
1889
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
1847
|
-
return
|
|
1890
|
+
return _this186.get("/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
1848
1891
|
limit: request.limit,
|
|
1849
1892
|
apply_formatting: request.apply_formatting,
|
|
1850
1893
|
apply_vis: request.apply_vis,
|
|
@@ -1862,126 +1905,126 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1862
1905
|
}
|
|
1863
1906
|
|
|
1864
1907
|
all_lookml_models(fields, options) {
|
|
1865
|
-
var
|
|
1908
|
+
var _this187 = this;
|
|
1866
1909
|
|
|
1867
1910
|
return _asyncToGenerator(function* () {
|
|
1868
|
-
return
|
|
1911
|
+
return _this187.get('/lookml_models', {
|
|
1869
1912
|
fields
|
|
1870
1913
|
}, null, options);
|
|
1871
1914
|
})();
|
|
1872
1915
|
}
|
|
1873
1916
|
|
|
1874
1917
|
create_lookml_model(body, options) {
|
|
1875
|
-
var
|
|
1918
|
+
var _this188 = this;
|
|
1876
1919
|
|
|
1877
1920
|
return _asyncToGenerator(function* () {
|
|
1878
|
-
return
|
|
1921
|
+
return _this188.post('/lookml_models', null, body, options);
|
|
1879
1922
|
})();
|
|
1880
1923
|
}
|
|
1881
1924
|
|
|
1882
1925
|
lookml_model(lookml_model_name, fields, options) {
|
|
1883
|
-
var
|
|
1926
|
+
var _this189 = this;
|
|
1884
1927
|
|
|
1885
1928
|
return _asyncToGenerator(function* () {
|
|
1886
1929
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1887
|
-
return
|
|
1930
|
+
return _this189.get("/lookml_models/".concat(lookml_model_name), {
|
|
1888
1931
|
fields
|
|
1889
1932
|
}, null, options);
|
|
1890
1933
|
})();
|
|
1891
1934
|
}
|
|
1892
1935
|
|
|
1893
1936
|
update_lookml_model(lookml_model_name, body, options) {
|
|
1894
|
-
var
|
|
1937
|
+
var _this190 = this;
|
|
1895
1938
|
|
|
1896
1939
|
return _asyncToGenerator(function* () {
|
|
1897
1940
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1898
|
-
return
|
|
1941
|
+
return _this190.patch("/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
1899
1942
|
})();
|
|
1900
1943
|
}
|
|
1901
1944
|
|
|
1902
1945
|
delete_lookml_model(lookml_model_name, options) {
|
|
1903
|
-
var
|
|
1946
|
+
var _this191 = this;
|
|
1904
1947
|
|
|
1905
1948
|
return _asyncToGenerator(function* () {
|
|
1906
1949
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1907
|
-
return
|
|
1950
|
+
return _this191.delete("/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
1908
1951
|
})();
|
|
1909
1952
|
}
|
|
1910
1953
|
|
|
1911
1954
|
lookml_model_explore(lookml_model_name, explore_name, fields, options) {
|
|
1912
|
-
var
|
|
1955
|
+
var _this192 = this;
|
|
1913
1956
|
|
|
1914
1957
|
return _asyncToGenerator(function* () {
|
|
1915
1958
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
1916
1959
|
explore_name = (0, _sdkRtl.encodeParam)(explore_name);
|
|
1917
|
-
return
|
|
1960
|
+
return _this192.get("/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
1918
1961
|
fields
|
|
1919
1962
|
}, null, options);
|
|
1920
1963
|
})();
|
|
1921
1964
|
}
|
|
1922
1965
|
|
|
1923
1966
|
all_git_branches(project_id, options) {
|
|
1924
|
-
var
|
|
1967
|
+
var _this193 = this;
|
|
1925
1968
|
|
|
1926
1969
|
return _asyncToGenerator(function* () {
|
|
1927
1970
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1928
|
-
return
|
|
1971
|
+
return _this193.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
1929
1972
|
})();
|
|
1930
1973
|
}
|
|
1931
1974
|
|
|
1932
1975
|
git_branch(project_id, options) {
|
|
1933
|
-
var
|
|
1976
|
+
var _this194 = this;
|
|
1934
1977
|
|
|
1935
1978
|
return _asyncToGenerator(function* () {
|
|
1936
1979
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1937
|
-
return
|
|
1980
|
+
return _this194.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
1938
1981
|
})();
|
|
1939
1982
|
}
|
|
1940
1983
|
|
|
1941
1984
|
update_git_branch(project_id, body, options) {
|
|
1942
|
-
var
|
|
1985
|
+
var _this195 = this;
|
|
1943
1986
|
|
|
1944
1987
|
return _asyncToGenerator(function* () {
|
|
1945
1988
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1946
|
-
return
|
|
1989
|
+
return _this195.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
1947
1990
|
})();
|
|
1948
1991
|
}
|
|
1949
1992
|
|
|
1950
1993
|
create_git_branch(project_id, body, options) {
|
|
1951
|
-
var
|
|
1994
|
+
var _this196 = this;
|
|
1952
1995
|
|
|
1953
1996
|
return _asyncToGenerator(function* () {
|
|
1954
1997
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1955
|
-
return
|
|
1998
|
+
return _this196.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
1956
1999
|
})();
|
|
1957
2000
|
}
|
|
1958
2001
|
|
|
1959
2002
|
find_git_branch(project_id, branch_name, options) {
|
|
1960
|
-
var
|
|
2003
|
+
var _this197 = this;
|
|
1961
2004
|
|
|
1962
2005
|
return _asyncToGenerator(function* () {
|
|
1963
2006
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1964
2007
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
1965
|
-
return
|
|
2008
|
+
return _this197.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
1966
2009
|
})();
|
|
1967
2010
|
}
|
|
1968
2011
|
|
|
1969
2012
|
delete_git_branch(project_id, branch_name, options) {
|
|
1970
|
-
var
|
|
2013
|
+
var _this198 = this;
|
|
1971
2014
|
|
|
1972
2015
|
return _asyncToGenerator(function* () {
|
|
1973
2016
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1974
2017
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
1975
|
-
return
|
|
2018
|
+
return _this198.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
1976
2019
|
})();
|
|
1977
2020
|
}
|
|
1978
2021
|
|
|
1979
2022
|
deploy_ref_to_production(request, options) {
|
|
1980
|
-
var
|
|
2023
|
+
var _this199 = this;
|
|
1981
2024
|
|
|
1982
2025
|
return _asyncToGenerator(function* () {
|
|
1983
2026
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
1984
|
-
return
|
|
2027
|
+
return _this199.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
1985
2028
|
branch: request.branch,
|
|
1986
2029
|
ref: request.ref
|
|
1987
2030
|
}, null, options);
|
|
@@ -1989,149 +2032,149 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
1989
2032
|
}
|
|
1990
2033
|
|
|
1991
2034
|
deploy_to_production(project_id, options) {
|
|
1992
|
-
var
|
|
2035
|
+
var _this200 = this;
|
|
1993
2036
|
|
|
1994
2037
|
return _asyncToGenerator(function* () {
|
|
1995
2038
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
1996
|
-
return
|
|
2039
|
+
return _this200.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
1997
2040
|
})();
|
|
1998
2041
|
}
|
|
1999
2042
|
|
|
2000
2043
|
reset_project_to_production(project_id, options) {
|
|
2001
|
-
var
|
|
2044
|
+
var _this201 = this;
|
|
2002
2045
|
|
|
2003
2046
|
return _asyncToGenerator(function* () {
|
|
2004
2047
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2005
|
-
return
|
|
2048
|
+
return _this201.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2006
2049
|
})();
|
|
2007
2050
|
}
|
|
2008
2051
|
|
|
2009
2052
|
reset_project_to_remote(project_id, options) {
|
|
2010
|
-
var
|
|
2053
|
+
var _this202 = this;
|
|
2011
2054
|
|
|
2012
2055
|
return _asyncToGenerator(function* () {
|
|
2013
2056
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2014
|
-
return
|
|
2057
|
+
return _this202.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2015
2058
|
})();
|
|
2016
2059
|
}
|
|
2017
2060
|
|
|
2018
2061
|
all_projects(fields, options) {
|
|
2019
|
-
var
|
|
2062
|
+
var _this203 = this;
|
|
2020
2063
|
|
|
2021
2064
|
return _asyncToGenerator(function* () {
|
|
2022
|
-
return
|
|
2065
|
+
return _this203.get('/projects', {
|
|
2023
2066
|
fields
|
|
2024
2067
|
}, null, options);
|
|
2025
2068
|
})();
|
|
2026
2069
|
}
|
|
2027
2070
|
|
|
2028
2071
|
create_project(body, options) {
|
|
2029
|
-
var
|
|
2072
|
+
var _this204 = this;
|
|
2030
2073
|
|
|
2031
2074
|
return _asyncToGenerator(function* () {
|
|
2032
|
-
return
|
|
2075
|
+
return _this204.post('/projects', null, body, options);
|
|
2033
2076
|
})();
|
|
2034
2077
|
}
|
|
2035
2078
|
|
|
2036
2079
|
project(project_id, fields, options) {
|
|
2037
|
-
var
|
|
2080
|
+
var _this205 = this;
|
|
2038
2081
|
|
|
2039
2082
|
return _asyncToGenerator(function* () {
|
|
2040
2083
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2041
|
-
return
|
|
2084
|
+
return _this205.get("/projects/".concat(project_id), {
|
|
2042
2085
|
fields
|
|
2043
2086
|
}, null, options);
|
|
2044
2087
|
})();
|
|
2045
2088
|
}
|
|
2046
2089
|
|
|
2047
2090
|
update_project(project_id, body, fields, options) {
|
|
2048
|
-
var
|
|
2091
|
+
var _this206 = this;
|
|
2049
2092
|
|
|
2050
2093
|
return _asyncToGenerator(function* () {
|
|
2051
2094
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2052
|
-
return
|
|
2095
|
+
return _this206.patch("/projects/".concat(project_id), {
|
|
2053
2096
|
fields
|
|
2054
2097
|
}, body, options);
|
|
2055
2098
|
})();
|
|
2056
2099
|
}
|
|
2057
2100
|
|
|
2058
2101
|
manifest(project_id, options) {
|
|
2059
|
-
var
|
|
2102
|
+
var _this207 = this;
|
|
2060
2103
|
|
|
2061
2104
|
return _asyncToGenerator(function* () {
|
|
2062
2105
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2063
|
-
return
|
|
2106
|
+
return _this207.get("/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2064
2107
|
})();
|
|
2065
2108
|
}
|
|
2066
2109
|
|
|
2067
2110
|
git_deploy_key(project_id, options) {
|
|
2068
|
-
var
|
|
2111
|
+
var _this208 = this;
|
|
2069
2112
|
|
|
2070
2113
|
return _asyncToGenerator(function* () {
|
|
2071
2114
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2072
|
-
return
|
|
2115
|
+
return _this208.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2073
2116
|
})();
|
|
2074
2117
|
}
|
|
2075
2118
|
|
|
2076
2119
|
create_git_deploy_key(project_id, options) {
|
|
2077
|
-
var
|
|
2120
|
+
var _this209 = this;
|
|
2078
2121
|
|
|
2079
2122
|
return _asyncToGenerator(function* () {
|
|
2080
2123
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2081
|
-
return
|
|
2124
|
+
return _this209.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2082
2125
|
})();
|
|
2083
2126
|
}
|
|
2084
2127
|
|
|
2085
2128
|
project_validation_results(project_id, fields, options) {
|
|
2086
|
-
var
|
|
2129
|
+
var _this210 = this;
|
|
2087
2130
|
|
|
2088
2131
|
return _asyncToGenerator(function* () {
|
|
2089
2132
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2090
|
-
return
|
|
2133
|
+
return _this210.get("/projects/".concat(project_id, "/validate"), {
|
|
2091
2134
|
fields
|
|
2092
2135
|
}, null, options);
|
|
2093
2136
|
})();
|
|
2094
2137
|
}
|
|
2095
2138
|
|
|
2096
2139
|
validate_project(project_id, fields, options) {
|
|
2097
|
-
var
|
|
2140
|
+
var _this211 = this;
|
|
2098
2141
|
|
|
2099
2142
|
return _asyncToGenerator(function* () {
|
|
2100
2143
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2101
|
-
return
|
|
2144
|
+
return _this211.post("/projects/".concat(project_id, "/validate"), {
|
|
2102
2145
|
fields
|
|
2103
2146
|
}, null, options);
|
|
2104
2147
|
})();
|
|
2105
2148
|
}
|
|
2106
2149
|
|
|
2107
2150
|
project_workspace(project_id, fields, options) {
|
|
2108
|
-
var
|
|
2151
|
+
var _this212 = this;
|
|
2109
2152
|
|
|
2110
2153
|
return _asyncToGenerator(function* () {
|
|
2111
2154
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2112
|
-
return
|
|
2155
|
+
return _this212.get("/projects/".concat(project_id, "/current_workspace"), {
|
|
2113
2156
|
fields
|
|
2114
2157
|
}, null, options);
|
|
2115
2158
|
})();
|
|
2116
2159
|
}
|
|
2117
2160
|
|
|
2118
2161
|
all_project_files(project_id, fields, options) {
|
|
2119
|
-
var
|
|
2162
|
+
var _this213 = this;
|
|
2120
2163
|
|
|
2121
2164
|
return _asyncToGenerator(function* () {
|
|
2122
2165
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2123
|
-
return
|
|
2166
|
+
return _this213.get("/projects/".concat(project_id, "/files"), {
|
|
2124
2167
|
fields
|
|
2125
2168
|
}, null, options);
|
|
2126
2169
|
})();
|
|
2127
2170
|
}
|
|
2128
2171
|
|
|
2129
2172
|
project_file(project_id, file_id, fields, options) {
|
|
2130
|
-
var
|
|
2173
|
+
var _this214 = this;
|
|
2131
2174
|
|
|
2132
2175
|
return _asyncToGenerator(function* () {
|
|
2133
2176
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2134
|
-
return
|
|
2177
|
+
return _this214.get("/projects/".concat(project_id, "/files/file"), {
|
|
2135
2178
|
file_id,
|
|
2136
2179
|
fields
|
|
2137
2180
|
}, null, options);
|
|
@@ -2139,23 +2182,23 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2139
2182
|
}
|
|
2140
2183
|
|
|
2141
2184
|
all_git_connection_tests(project_id, remote_url, options) {
|
|
2142
|
-
var
|
|
2185
|
+
var _this215 = this;
|
|
2143
2186
|
|
|
2144
2187
|
return _asyncToGenerator(function* () {
|
|
2145
2188
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2146
|
-
return
|
|
2189
|
+
return _this215.get("/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2147
2190
|
remote_url
|
|
2148
2191
|
}, null, options);
|
|
2149
2192
|
})();
|
|
2150
2193
|
}
|
|
2151
2194
|
|
|
2152
2195
|
run_git_connection_test(request, options) {
|
|
2153
|
-
var
|
|
2196
|
+
var _this216 = this;
|
|
2154
2197
|
|
|
2155
2198
|
return _asyncToGenerator(function* () {
|
|
2156
2199
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2157
2200
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2158
|
-
return
|
|
2201
|
+
return _this216.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2159
2202
|
remote_url: request.remote_url,
|
|
2160
2203
|
use_production: request.use_production
|
|
2161
2204
|
}, null, options);
|
|
@@ -2163,22 +2206,22 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2163
2206
|
}
|
|
2164
2207
|
|
|
2165
2208
|
all_lookml_tests(project_id, file_id, options) {
|
|
2166
|
-
var
|
|
2209
|
+
var _this217 = this;
|
|
2167
2210
|
|
|
2168
2211
|
return _asyncToGenerator(function* () {
|
|
2169
2212
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2170
|
-
return
|
|
2213
|
+
return _this217.get("/projects/".concat(project_id, "/lookml_tests"), {
|
|
2171
2214
|
file_id
|
|
2172
2215
|
}, null, options);
|
|
2173
2216
|
})();
|
|
2174
2217
|
}
|
|
2175
2218
|
|
|
2176
2219
|
run_lookml_test(request, options) {
|
|
2177
|
-
var
|
|
2220
|
+
var _this218 = this;
|
|
2178
2221
|
|
|
2179
2222
|
return _asyncToGenerator(function* () {
|
|
2180
2223
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2181
|
-
return
|
|
2224
|
+
return _this218.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2182
2225
|
file_id: request.file_id,
|
|
2183
2226
|
test: request.test,
|
|
2184
2227
|
model: request.model
|
|
@@ -2187,11 +2230,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2187
2230
|
}
|
|
2188
2231
|
|
|
2189
2232
|
tag_ref(request, options) {
|
|
2190
|
-
var
|
|
2233
|
+
var _this219 = this;
|
|
2191
2234
|
|
|
2192
2235
|
return _asyncToGenerator(function* () {
|
|
2193
2236
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2194
|
-
return
|
|
2237
|
+
return _this219.post("/projects/".concat(request.project_id, "/tag"), {
|
|
2195
2238
|
commit_sha: request.commit_sha,
|
|
2196
2239
|
tag_name: request.tag_name,
|
|
2197
2240
|
tag_message: request.tag_message
|
|
@@ -2200,39 +2243,39 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2200
2243
|
}
|
|
2201
2244
|
|
|
2202
2245
|
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
2203
|
-
var
|
|
2246
|
+
var _this220 = this;
|
|
2204
2247
|
|
|
2205
2248
|
return _asyncToGenerator(function* () {
|
|
2206
2249
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2207
2250
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2208
|
-
return
|
|
2251
|
+
return _this220.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2209
2252
|
})();
|
|
2210
2253
|
}
|
|
2211
2254
|
|
|
2212
2255
|
delete_repository_credential(root_project_id, credential_id, options) {
|
|
2213
|
-
var
|
|
2256
|
+
var _this221 = this;
|
|
2214
2257
|
|
|
2215
2258
|
return _asyncToGenerator(function* () {
|
|
2216
2259
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2217
2260
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2218
|
-
return
|
|
2261
|
+
return _this221.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2219
2262
|
})();
|
|
2220
2263
|
}
|
|
2221
2264
|
|
|
2222
2265
|
get_all_repository_credentials(root_project_id, options) {
|
|
2223
|
-
var
|
|
2266
|
+
var _this222 = this;
|
|
2224
2267
|
|
|
2225
2268
|
return _asyncToGenerator(function* () {
|
|
2226
2269
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2227
|
-
return
|
|
2270
|
+
return _this222.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2228
2271
|
})();
|
|
2229
2272
|
}
|
|
2230
2273
|
|
|
2231
2274
|
create_query_task(request, options) {
|
|
2232
|
-
var
|
|
2275
|
+
var _this223 = this;
|
|
2233
2276
|
|
|
2234
2277
|
return _asyncToGenerator(function* () {
|
|
2235
|
-
return
|
|
2278
|
+
return _this223.post('/query_tasks', {
|
|
2236
2279
|
limit: request.limit,
|
|
2237
2280
|
apply_formatting: request.apply_formatting,
|
|
2238
2281
|
apply_vis: request.apply_vis,
|
|
@@ -2251,72 +2294,72 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2251
2294
|
}
|
|
2252
2295
|
|
|
2253
2296
|
query_task_multi_results(query_task_ids, options) {
|
|
2254
|
-
var
|
|
2297
|
+
var _this224 = this;
|
|
2255
2298
|
|
|
2256
2299
|
return _asyncToGenerator(function* () {
|
|
2257
|
-
return
|
|
2300
|
+
return _this224.get('/query_tasks/multi_results', {
|
|
2258
2301
|
query_task_ids
|
|
2259
2302
|
}, null, options);
|
|
2260
2303
|
})();
|
|
2261
2304
|
}
|
|
2262
2305
|
|
|
2263
2306
|
query_task(query_task_id, fields, options) {
|
|
2264
|
-
var
|
|
2307
|
+
var _this225 = this;
|
|
2265
2308
|
|
|
2266
2309
|
return _asyncToGenerator(function* () {
|
|
2267
2310
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2268
|
-
return
|
|
2311
|
+
return _this225.get("/query_tasks/".concat(query_task_id), {
|
|
2269
2312
|
fields
|
|
2270
2313
|
}, null, options);
|
|
2271
2314
|
})();
|
|
2272
2315
|
}
|
|
2273
2316
|
|
|
2274
2317
|
query_task_results(query_task_id, options) {
|
|
2275
|
-
var
|
|
2318
|
+
var _this226 = this;
|
|
2276
2319
|
|
|
2277
2320
|
return _asyncToGenerator(function* () {
|
|
2278
2321
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2279
|
-
return
|
|
2322
|
+
return _this226.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2280
2323
|
})();
|
|
2281
2324
|
}
|
|
2282
2325
|
|
|
2283
2326
|
query(query_id, fields, options) {
|
|
2284
|
-
var
|
|
2327
|
+
var _this227 = this;
|
|
2285
2328
|
|
|
2286
2329
|
return _asyncToGenerator(function* () {
|
|
2287
|
-
return
|
|
2330
|
+
return _this227.get("/queries/".concat(query_id), {
|
|
2288
2331
|
fields
|
|
2289
2332
|
}, null, options);
|
|
2290
2333
|
})();
|
|
2291
2334
|
}
|
|
2292
2335
|
|
|
2293
2336
|
query_for_slug(slug, fields, options) {
|
|
2294
|
-
var
|
|
2337
|
+
var _this228 = this;
|
|
2295
2338
|
|
|
2296
2339
|
return _asyncToGenerator(function* () {
|
|
2297
2340
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2298
|
-
return
|
|
2341
|
+
return _this228.get("/queries/slug/".concat(slug), {
|
|
2299
2342
|
fields
|
|
2300
2343
|
}, null, options);
|
|
2301
2344
|
})();
|
|
2302
2345
|
}
|
|
2303
2346
|
|
|
2304
2347
|
create_query(body, fields, options) {
|
|
2305
|
-
var
|
|
2348
|
+
var _this229 = this;
|
|
2306
2349
|
|
|
2307
2350
|
return _asyncToGenerator(function* () {
|
|
2308
|
-
return
|
|
2351
|
+
return _this229.post('/queries', {
|
|
2309
2352
|
fields
|
|
2310
2353
|
}, body, options);
|
|
2311
2354
|
})();
|
|
2312
2355
|
}
|
|
2313
2356
|
|
|
2314
2357
|
run_query(request, options) {
|
|
2315
|
-
var
|
|
2358
|
+
var _this230 = this;
|
|
2316
2359
|
|
|
2317
2360
|
return _asyncToGenerator(function* () {
|
|
2318
2361
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2319
|
-
return
|
|
2362
|
+
return _this230.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2320
2363
|
limit: request.limit,
|
|
2321
2364
|
apply_formatting: request.apply_formatting,
|
|
2322
2365
|
apply_vis: request.apply_vis,
|
|
@@ -2334,11 +2377,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2334
2377
|
}
|
|
2335
2378
|
|
|
2336
2379
|
run_inline_query(request, options) {
|
|
2337
|
-
var
|
|
2380
|
+
var _this231 = this;
|
|
2338
2381
|
|
|
2339
2382
|
return _asyncToGenerator(function* () {
|
|
2340
2383
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2341
|
-
return
|
|
2384
|
+
return _this231.post("/queries/run/".concat(request.result_format), {
|
|
2342
2385
|
limit: request.limit,
|
|
2343
2386
|
apply_formatting: request.apply_formatting,
|
|
2344
2387
|
apply_vis: request.apply_vis,
|
|
@@ -2356,90 +2399,90 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2356
2399
|
}
|
|
2357
2400
|
|
|
2358
2401
|
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
2359
|
-
var
|
|
2402
|
+
var _this232 = this;
|
|
2360
2403
|
|
|
2361
2404
|
return _asyncToGenerator(function* () {
|
|
2362
2405
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2363
2406
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
2364
2407
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2365
|
-
return
|
|
2408
|
+
return _this232.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2366
2409
|
})();
|
|
2367
2410
|
}
|
|
2368
2411
|
|
|
2369
2412
|
merge_query(merge_query_id, fields, options) {
|
|
2370
|
-
var
|
|
2413
|
+
var _this233 = this;
|
|
2371
2414
|
|
|
2372
2415
|
return _asyncToGenerator(function* () {
|
|
2373
2416
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2374
|
-
return
|
|
2417
|
+
return _this233.get("/merge_queries/".concat(merge_query_id), {
|
|
2375
2418
|
fields
|
|
2376
2419
|
}, null, options);
|
|
2377
2420
|
})();
|
|
2378
2421
|
}
|
|
2379
2422
|
|
|
2380
2423
|
create_merge_query(body, fields, options) {
|
|
2381
|
-
var
|
|
2424
|
+
var _this234 = this;
|
|
2382
2425
|
|
|
2383
2426
|
return _asyncToGenerator(function* () {
|
|
2384
|
-
return
|
|
2427
|
+
return _this234.post('/merge_queries', {
|
|
2385
2428
|
fields
|
|
2386
2429
|
}, body, options);
|
|
2387
2430
|
})();
|
|
2388
2431
|
}
|
|
2389
2432
|
|
|
2390
2433
|
all_running_queries(options) {
|
|
2391
|
-
var
|
|
2434
|
+
var _this235 = this;
|
|
2392
2435
|
|
|
2393
2436
|
return _asyncToGenerator(function* () {
|
|
2394
|
-
return
|
|
2437
|
+
return _this235.get('/running_queries', null, null, options);
|
|
2395
2438
|
})();
|
|
2396
2439
|
}
|
|
2397
2440
|
|
|
2398
2441
|
kill_query(query_task_id, options) {
|
|
2399
|
-
var
|
|
2442
|
+
var _this236 = this;
|
|
2400
2443
|
|
|
2401
2444
|
return _asyncToGenerator(function* () {
|
|
2402
2445
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2403
|
-
return
|
|
2446
|
+
return _this236.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
2404
2447
|
})();
|
|
2405
2448
|
}
|
|
2406
2449
|
|
|
2407
2450
|
sql_query(slug, options) {
|
|
2408
|
-
var
|
|
2451
|
+
var _this237 = this;
|
|
2409
2452
|
|
|
2410
2453
|
return _asyncToGenerator(function* () {
|
|
2411
2454
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2412
|
-
return
|
|
2455
|
+
return _this237.get("/sql_queries/".concat(slug), null, null, options);
|
|
2413
2456
|
})();
|
|
2414
2457
|
}
|
|
2415
2458
|
|
|
2416
2459
|
create_sql_query(body, options) {
|
|
2417
|
-
var
|
|
2460
|
+
var _this238 = this;
|
|
2418
2461
|
|
|
2419
2462
|
return _asyncToGenerator(function* () {
|
|
2420
|
-
return
|
|
2463
|
+
return _this238.post('/sql_queries', null, body, options);
|
|
2421
2464
|
})();
|
|
2422
2465
|
}
|
|
2423
2466
|
|
|
2424
2467
|
run_sql_query(slug, result_format, download, options) {
|
|
2425
|
-
var
|
|
2468
|
+
var _this239 = this;
|
|
2426
2469
|
|
|
2427
2470
|
return _asyncToGenerator(function* () {
|
|
2428
2471
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2429
2472
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2430
|
-
return
|
|
2473
|
+
return _this239.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2431
2474
|
download
|
|
2432
2475
|
}, null, options);
|
|
2433
2476
|
})();
|
|
2434
2477
|
}
|
|
2435
2478
|
|
|
2436
2479
|
create_lookml_dashboard_render_task(request, options) {
|
|
2437
|
-
var
|
|
2480
|
+
var _this240 = this;
|
|
2438
2481
|
|
|
2439
2482
|
return _asyncToGenerator(function* () {
|
|
2440
2483
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
2441
2484
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2442
|
-
return
|
|
2485
|
+
return _this240.post("/render_tasks/lookml_dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2443
2486
|
width: request.width,
|
|
2444
2487
|
height: request.height,
|
|
2445
2488
|
fields: request.fields,
|
|
@@ -2450,11 +2493,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2450
2493
|
}
|
|
2451
2494
|
|
|
2452
2495
|
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
2453
|
-
var
|
|
2496
|
+
var _this241 = this;
|
|
2454
2497
|
|
|
2455
2498
|
return _asyncToGenerator(function* () {
|
|
2456
2499
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2457
|
-
return
|
|
2500
|
+
return _this241.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2458
2501
|
width,
|
|
2459
2502
|
height,
|
|
2460
2503
|
fields
|
|
@@ -2463,11 +2506,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2463
2506
|
}
|
|
2464
2507
|
|
|
2465
2508
|
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
2466
|
-
var
|
|
2509
|
+
var _this242 = this;
|
|
2467
2510
|
|
|
2468
2511
|
return _asyncToGenerator(function* () {
|
|
2469
2512
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2470
|
-
return
|
|
2513
|
+
return _this242.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2471
2514
|
width,
|
|
2472
2515
|
height,
|
|
2473
2516
|
fields
|
|
@@ -2476,11 +2519,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2476
2519
|
}
|
|
2477
2520
|
|
|
2478
2521
|
create_dashboard_render_task(request, options) {
|
|
2479
|
-
var
|
|
2522
|
+
var _this243 = this;
|
|
2480
2523
|
|
|
2481
2524
|
return _asyncToGenerator(function* () {
|
|
2482
2525
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2483
|
-
return
|
|
2526
|
+
return _this243.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2484
2527
|
width: request.width,
|
|
2485
2528
|
height: request.height,
|
|
2486
2529
|
fields: request.fields,
|
|
@@ -2491,30 +2534,30 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2491
2534
|
}
|
|
2492
2535
|
|
|
2493
2536
|
render_task(render_task_id, fields, options) {
|
|
2494
|
-
var
|
|
2537
|
+
var _this244 = this;
|
|
2495
2538
|
|
|
2496
2539
|
return _asyncToGenerator(function* () {
|
|
2497
2540
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2498
|
-
return
|
|
2541
|
+
return _this244.get("/render_tasks/".concat(render_task_id), {
|
|
2499
2542
|
fields
|
|
2500
2543
|
}, null, options);
|
|
2501
2544
|
})();
|
|
2502
2545
|
}
|
|
2503
2546
|
|
|
2504
2547
|
render_task_results(render_task_id, options) {
|
|
2505
|
-
var
|
|
2548
|
+
var _this245 = this;
|
|
2506
2549
|
|
|
2507
2550
|
return _asyncToGenerator(function* () {
|
|
2508
2551
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2509
|
-
return
|
|
2552
|
+
return _this245.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2510
2553
|
})();
|
|
2511
2554
|
}
|
|
2512
2555
|
|
|
2513
2556
|
search_model_sets(request, options) {
|
|
2514
|
-
var
|
|
2557
|
+
var _this246 = this;
|
|
2515
2558
|
|
|
2516
2559
|
return _asyncToGenerator(function* () {
|
|
2517
|
-
return
|
|
2560
|
+
return _this246.get('/model_sets/search', {
|
|
2518
2561
|
fields: request.fields,
|
|
2519
2562
|
limit: request.limit,
|
|
2520
2563
|
offset: request.offset,
|
|
@@ -2529,62 +2572,62 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2529
2572
|
}
|
|
2530
2573
|
|
|
2531
2574
|
model_set(model_set_id, fields, options) {
|
|
2532
|
-
var
|
|
2575
|
+
var _this247 = this;
|
|
2533
2576
|
|
|
2534
2577
|
return _asyncToGenerator(function* () {
|
|
2535
|
-
return
|
|
2578
|
+
return _this247.get("/model_sets/".concat(model_set_id), {
|
|
2536
2579
|
fields
|
|
2537
2580
|
}, null, options);
|
|
2538
2581
|
})();
|
|
2539
2582
|
}
|
|
2540
2583
|
|
|
2541
2584
|
update_model_set(model_set_id, body, options) {
|
|
2542
|
-
var
|
|
2585
|
+
var _this248 = this;
|
|
2543
2586
|
|
|
2544
2587
|
return _asyncToGenerator(function* () {
|
|
2545
|
-
return
|
|
2588
|
+
return _this248.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
2546
2589
|
})();
|
|
2547
2590
|
}
|
|
2548
2591
|
|
|
2549
2592
|
delete_model_set(model_set_id, options) {
|
|
2550
|
-
var
|
|
2593
|
+
var _this249 = this;
|
|
2551
2594
|
|
|
2552
2595
|
return _asyncToGenerator(function* () {
|
|
2553
|
-
return
|
|
2596
|
+
return _this249.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
2554
2597
|
})();
|
|
2555
2598
|
}
|
|
2556
2599
|
|
|
2557
2600
|
all_model_sets(fields, options) {
|
|
2558
|
-
var
|
|
2601
|
+
var _this250 = this;
|
|
2559
2602
|
|
|
2560
2603
|
return _asyncToGenerator(function* () {
|
|
2561
|
-
return
|
|
2604
|
+
return _this250.get('/model_sets', {
|
|
2562
2605
|
fields
|
|
2563
2606
|
}, null, options);
|
|
2564
2607
|
})();
|
|
2565
2608
|
}
|
|
2566
2609
|
|
|
2567
2610
|
create_model_set(body, options) {
|
|
2568
|
-
var
|
|
2611
|
+
var _this251 = this;
|
|
2569
2612
|
|
|
2570
2613
|
return _asyncToGenerator(function* () {
|
|
2571
|
-
return
|
|
2614
|
+
return _this251.post('/model_sets', null, body, options);
|
|
2572
2615
|
})();
|
|
2573
2616
|
}
|
|
2574
2617
|
|
|
2575
2618
|
all_permissions(options) {
|
|
2576
|
-
var
|
|
2619
|
+
var _this252 = this;
|
|
2577
2620
|
|
|
2578
2621
|
return _asyncToGenerator(function* () {
|
|
2579
|
-
return
|
|
2622
|
+
return _this252.get('/permissions', null, null, options);
|
|
2580
2623
|
})();
|
|
2581
2624
|
}
|
|
2582
2625
|
|
|
2583
2626
|
search_permission_sets(request, options) {
|
|
2584
|
-
var
|
|
2627
|
+
var _this253 = this;
|
|
2585
2628
|
|
|
2586
2629
|
return _asyncToGenerator(function* () {
|
|
2587
|
-
return
|
|
2630
|
+
return _this253.get('/permission_sets/search', {
|
|
2588
2631
|
fields: request.fields,
|
|
2589
2632
|
limit: request.limit,
|
|
2590
2633
|
offset: request.offset,
|
|
@@ -2599,54 +2642,54 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2599
2642
|
}
|
|
2600
2643
|
|
|
2601
2644
|
permission_set(permission_set_id, fields, options) {
|
|
2602
|
-
var
|
|
2645
|
+
var _this254 = this;
|
|
2603
2646
|
|
|
2604
2647
|
return _asyncToGenerator(function* () {
|
|
2605
|
-
return
|
|
2648
|
+
return _this254.get("/permission_sets/".concat(permission_set_id), {
|
|
2606
2649
|
fields
|
|
2607
2650
|
}, null, options);
|
|
2608
2651
|
})();
|
|
2609
2652
|
}
|
|
2610
2653
|
|
|
2611
2654
|
update_permission_set(permission_set_id, body, options) {
|
|
2612
|
-
var
|
|
2655
|
+
var _this255 = this;
|
|
2613
2656
|
|
|
2614
2657
|
return _asyncToGenerator(function* () {
|
|
2615
|
-
return
|
|
2658
|
+
return _this255.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2616
2659
|
})();
|
|
2617
2660
|
}
|
|
2618
2661
|
|
|
2619
2662
|
delete_permission_set(permission_set_id, options) {
|
|
2620
|
-
var
|
|
2663
|
+
var _this256 = this;
|
|
2621
2664
|
|
|
2622
2665
|
return _asyncToGenerator(function* () {
|
|
2623
|
-
return
|
|
2666
|
+
return _this256.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2624
2667
|
})();
|
|
2625
2668
|
}
|
|
2626
2669
|
|
|
2627
2670
|
all_permission_sets(fields, options) {
|
|
2628
|
-
var
|
|
2671
|
+
var _this257 = this;
|
|
2629
2672
|
|
|
2630
2673
|
return _asyncToGenerator(function* () {
|
|
2631
|
-
return
|
|
2674
|
+
return _this257.get('/permission_sets', {
|
|
2632
2675
|
fields
|
|
2633
2676
|
}, null, options);
|
|
2634
2677
|
})();
|
|
2635
2678
|
}
|
|
2636
2679
|
|
|
2637
2680
|
create_permission_set(body, options) {
|
|
2638
|
-
var
|
|
2681
|
+
var _this258 = this;
|
|
2639
2682
|
|
|
2640
2683
|
return _asyncToGenerator(function* () {
|
|
2641
|
-
return
|
|
2684
|
+
return _this258.post('/permission_sets', null, body, options);
|
|
2642
2685
|
})();
|
|
2643
2686
|
}
|
|
2644
2687
|
|
|
2645
2688
|
all_roles(request, options) {
|
|
2646
|
-
var
|
|
2689
|
+
var _this259 = this;
|
|
2647
2690
|
|
|
2648
2691
|
return _asyncToGenerator(function* () {
|
|
2649
|
-
return
|
|
2692
|
+
return _this259.get('/roles', {
|
|
2650
2693
|
fields: request.fields,
|
|
2651
2694
|
ids: request.ids
|
|
2652
2695
|
}, null, options);
|
|
@@ -2654,18 +2697,18 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2654
2697
|
}
|
|
2655
2698
|
|
|
2656
2699
|
create_role(body, options) {
|
|
2657
|
-
var
|
|
2700
|
+
var _this260 = this;
|
|
2658
2701
|
|
|
2659
2702
|
return _asyncToGenerator(function* () {
|
|
2660
|
-
return
|
|
2703
|
+
return _this260.post('/roles', null, body, options);
|
|
2661
2704
|
})();
|
|
2662
2705
|
}
|
|
2663
2706
|
|
|
2664
2707
|
search_roles(request, options) {
|
|
2665
|
-
var
|
|
2708
|
+
var _this261 = this;
|
|
2666
2709
|
|
|
2667
2710
|
return _asyncToGenerator(function* () {
|
|
2668
|
-
return
|
|
2711
|
+
return _this261.get('/roles/search', {
|
|
2669
2712
|
fields: request.fields,
|
|
2670
2713
|
limit: request.limit,
|
|
2671
2714
|
offset: request.offset,
|
|
@@ -2679,52 +2722,52 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2679
2722
|
}
|
|
2680
2723
|
|
|
2681
2724
|
role(role_id, options) {
|
|
2682
|
-
var
|
|
2725
|
+
var _this262 = this;
|
|
2683
2726
|
|
|
2684
2727
|
return _asyncToGenerator(function* () {
|
|
2685
|
-
return
|
|
2728
|
+
return _this262.get("/roles/".concat(role_id), null, null, options);
|
|
2686
2729
|
})();
|
|
2687
2730
|
}
|
|
2688
2731
|
|
|
2689
2732
|
update_role(role_id, body, options) {
|
|
2690
|
-
var
|
|
2733
|
+
var _this263 = this;
|
|
2691
2734
|
|
|
2692
2735
|
return _asyncToGenerator(function* () {
|
|
2693
|
-
return
|
|
2736
|
+
return _this263.patch("/roles/".concat(role_id), null, body, options);
|
|
2694
2737
|
})();
|
|
2695
2738
|
}
|
|
2696
2739
|
|
|
2697
2740
|
delete_role(role_id, options) {
|
|
2698
|
-
var
|
|
2741
|
+
var _this264 = this;
|
|
2699
2742
|
|
|
2700
2743
|
return _asyncToGenerator(function* () {
|
|
2701
|
-
return
|
|
2744
|
+
return _this264.delete("/roles/".concat(role_id), null, null, options);
|
|
2702
2745
|
})();
|
|
2703
2746
|
}
|
|
2704
2747
|
|
|
2705
2748
|
role_groups(role_id, fields, options) {
|
|
2706
|
-
var
|
|
2749
|
+
var _this265 = this;
|
|
2707
2750
|
|
|
2708
2751
|
return _asyncToGenerator(function* () {
|
|
2709
|
-
return
|
|
2752
|
+
return _this265.get("/roles/".concat(role_id, "/groups"), {
|
|
2710
2753
|
fields
|
|
2711
2754
|
}, null, options);
|
|
2712
2755
|
})();
|
|
2713
2756
|
}
|
|
2714
2757
|
|
|
2715
2758
|
set_role_groups(role_id, body, options) {
|
|
2716
|
-
var
|
|
2759
|
+
var _this266 = this;
|
|
2717
2760
|
|
|
2718
2761
|
return _asyncToGenerator(function* () {
|
|
2719
|
-
return
|
|
2762
|
+
return _this266.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
2720
2763
|
})();
|
|
2721
2764
|
}
|
|
2722
2765
|
|
|
2723
2766
|
role_users(request, options) {
|
|
2724
|
-
var
|
|
2767
|
+
var _this267 = this;
|
|
2725
2768
|
|
|
2726
2769
|
return _asyncToGenerator(function* () {
|
|
2727
|
-
return
|
|
2770
|
+
return _this267.get("/roles/".concat(request.role_id, "/users"), {
|
|
2728
2771
|
fields: request.fields,
|
|
2729
2772
|
direct_association_only: request.direct_association_only
|
|
2730
2773
|
}, null, options);
|
|
@@ -2732,54 +2775,54 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2732
2775
|
}
|
|
2733
2776
|
|
|
2734
2777
|
set_role_users(role_id, body, options) {
|
|
2735
|
-
var
|
|
2778
|
+
var _this268 = this;
|
|
2736
2779
|
|
|
2737
2780
|
return _asyncToGenerator(function* () {
|
|
2738
|
-
return
|
|
2781
|
+
return _this268.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
2739
2782
|
})();
|
|
2740
2783
|
}
|
|
2741
2784
|
|
|
2742
2785
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
2743
|
-
var
|
|
2786
|
+
var _this269 = this;
|
|
2744
2787
|
|
|
2745
2788
|
return _asyncToGenerator(function* () {
|
|
2746
|
-
return
|
|
2789
|
+
return _this269.get("/scheduled_plans/space/".concat(space_id), {
|
|
2747
2790
|
fields
|
|
2748
2791
|
}, null, options);
|
|
2749
2792
|
})();
|
|
2750
2793
|
}
|
|
2751
2794
|
|
|
2752
2795
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
2753
|
-
var
|
|
2796
|
+
var _this270 = this;
|
|
2754
2797
|
|
|
2755
2798
|
return _asyncToGenerator(function* () {
|
|
2756
|
-
return
|
|
2799
|
+
return _this270.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
2757
2800
|
fields
|
|
2758
2801
|
}, null, options);
|
|
2759
2802
|
})();
|
|
2760
2803
|
}
|
|
2761
2804
|
|
|
2762
2805
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
2763
|
-
var
|
|
2806
|
+
var _this271 = this;
|
|
2764
2807
|
|
|
2765
2808
|
return _asyncToGenerator(function* () {
|
|
2766
|
-
return
|
|
2809
|
+
return _this271.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
2767
2810
|
})();
|
|
2768
2811
|
}
|
|
2769
2812
|
|
|
2770
2813
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
2771
|
-
var
|
|
2814
|
+
var _this272 = this;
|
|
2772
2815
|
|
|
2773
2816
|
return _asyncToGenerator(function* () {
|
|
2774
|
-
return
|
|
2817
|
+
return _this272.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
2775
2818
|
})();
|
|
2776
2819
|
}
|
|
2777
2820
|
|
|
2778
2821
|
all_scheduled_plans(request, options) {
|
|
2779
|
-
var
|
|
2822
|
+
var _this273 = this;
|
|
2780
2823
|
|
|
2781
2824
|
return _asyncToGenerator(function* () {
|
|
2782
|
-
return
|
|
2825
|
+
return _this273.get('/scheduled_plans', {
|
|
2783
2826
|
user_id: request.user_id,
|
|
2784
2827
|
fields: request.fields,
|
|
2785
2828
|
all_users: request.all_users
|
|
@@ -2788,26 +2831,26 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2788
2831
|
}
|
|
2789
2832
|
|
|
2790
2833
|
create_scheduled_plan(body, options) {
|
|
2791
|
-
var
|
|
2834
|
+
var _this274 = this;
|
|
2792
2835
|
|
|
2793
2836
|
return _asyncToGenerator(function* () {
|
|
2794
|
-
return
|
|
2837
|
+
return _this274.post('/scheduled_plans', null, body, options);
|
|
2795
2838
|
})();
|
|
2796
2839
|
}
|
|
2797
2840
|
|
|
2798
2841
|
scheduled_plan_run_once(body, options) {
|
|
2799
|
-
var
|
|
2842
|
+
var _this275 = this;
|
|
2800
2843
|
|
|
2801
2844
|
return _asyncToGenerator(function* () {
|
|
2802
|
-
return
|
|
2845
|
+
return _this275.post('/scheduled_plans/run_once', null, body, options);
|
|
2803
2846
|
})();
|
|
2804
2847
|
}
|
|
2805
2848
|
|
|
2806
2849
|
scheduled_plans_for_look(request, options) {
|
|
2807
|
-
var
|
|
2850
|
+
var _this276 = this;
|
|
2808
2851
|
|
|
2809
2852
|
return _asyncToGenerator(function* () {
|
|
2810
|
-
return
|
|
2853
|
+
return _this276.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
2811
2854
|
user_id: request.user_id,
|
|
2812
2855
|
fields: request.fields,
|
|
2813
2856
|
all_users: request.all_users
|
|
@@ -2816,10 +2859,10 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2816
2859
|
}
|
|
2817
2860
|
|
|
2818
2861
|
scheduled_plans_for_dashboard(request, options) {
|
|
2819
|
-
var
|
|
2862
|
+
var _this277 = this;
|
|
2820
2863
|
|
|
2821
2864
|
return _asyncToGenerator(function* () {
|
|
2822
|
-
return
|
|
2865
|
+
return _this277.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
2823
2866
|
user_id: request.user_id,
|
|
2824
2867
|
all_users: request.all_users,
|
|
2825
2868
|
fields: request.fields
|
|
@@ -2828,11 +2871,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2828
2871
|
}
|
|
2829
2872
|
|
|
2830
2873
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
2831
|
-
var
|
|
2874
|
+
var _this278 = this;
|
|
2832
2875
|
|
|
2833
2876
|
return _asyncToGenerator(function* () {
|
|
2834
2877
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
2835
|
-
return
|
|
2878
|
+
return _this278.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
2836
2879
|
user_id: request.user_id,
|
|
2837
2880
|
fields: request.fields,
|
|
2838
2881
|
all_users: request.all_users
|
|
@@ -2841,34 +2884,34 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2841
2884
|
}
|
|
2842
2885
|
|
|
2843
2886
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
2844
|
-
var
|
|
2887
|
+
var _this279 = this;
|
|
2845
2888
|
|
|
2846
2889
|
return _asyncToGenerator(function* () {
|
|
2847
|
-
return
|
|
2890
|
+
return _this279.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
2848
2891
|
})();
|
|
2849
2892
|
}
|
|
2850
2893
|
|
|
2851
2894
|
session(options) {
|
|
2852
|
-
var
|
|
2895
|
+
var _this280 = this;
|
|
2853
2896
|
|
|
2854
2897
|
return _asyncToGenerator(function* () {
|
|
2855
|
-
return
|
|
2898
|
+
return _this280.get('/session', null, null, options);
|
|
2856
2899
|
})();
|
|
2857
2900
|
}
|
|
2858
2901
|
|
|
2859
2902
|
update_session(body, options) {
|
|
2860
|
-
var
|
|
2903
|
+
var _this281 = this;
|
|
2861
2904
|
|
|
2862
2905
|
return _asyncToGenerator(function* () {
|
|
2863
|
-
return
|
|
2906
|
+
return _this281.patch('/session', null, body, options);
|
|
2864
2907
|
})();
|
|
2865
2908
|
}
|
|
2866
2909
|
|
|
2867
2910
|
search_spaces(request, options) {
|
|
2868
|
-
var
|
|
2911
|
+
var _this282 = this;
|
|
2869
2912
|
|
|
2870
2913
|
return _asyncToGenerator(function* () {
|
|
2871
|
-
return
|
|
2914
|
+
return _this282.get('/spaces/search', {
|
|
2872
2915
|
fields: request.fields,
|
|
2873
2916
|
page: request.page,
|
|
2874
2917
|
per_page: request.per_page,
|
|
@@ -2886,58 +2929,58 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2886
2929
|
}
|
|
2887
2930
|
|
|
2888
2931
|
space(space_id, fields, options) {
|
|
2889
|
-
var
|
|
2932
|
+
var _this283 = this;
|
|
2890
2933
|
|
|
2891
2934
|
return _asyncToGenerator(function* () {
|
|
2892
2935
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2893
|
-
return
|
|
2936
|
+
return _this283.get("/spaces/".concat(space_id), {
|
|
2894
2937
|
fields
|
|
2895
2938
|
}, null, options);
|
|
2896
2939
|
})();
|
|
2897
2940
|
}
|
|
2898
2941
|
|
|
2899
2942
|
update_space(space_id, body, options) {
|
|
2900
|
-
var
|
|
2943
|
+
var _this284 = this;
|
|
2901
2944
|
|
|
2902
2945
|
return _asyncToGenerator(function* () {
|
|
2903
2946
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2904
|
-
return
|
|
2947
|
+
return _this284.patch("/spaces/".concat(space_id), null, body, options);
|
|
2905
2948
|
})();
|
|
2906
2949
|
}
|
|
2907
2950
|
|
|
2908
2951
|
delete_space(space_id, options) {
|
|
2909
|
-
var
|
|
2952
|
+
var _this285 = this;
|
|
2910
2953
|
|
|
2911
2954
|
return _asyncToGenerator(function* () {
|
|
2912
2955
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2913
|
-
return
|
|
2956
|
+
return _this285.delete("/spaces/".concat(space_id), null, null, options);
|
|
2914
2957
|
})();
|
|
2915
2958
|
}
|
|
2916
2959
|
|
|
2917
2960
|
all_spaces(fields, options) {
|
|
2918
|
-
var
|
|
2961
|
+
var _this286 = this;
|
|
2919
2962
|
|
|
2920
2963
|
return _asyncToGenerator(function* () {
|
|
2921
|
-
return
|
|
2964
|
+
return _this286.get('/spaces', {
|
|
2922
2965
|
fields
|
|
2923
2966
|
}, null, options);
|
|
2924
2967
|
})();
|
|
2925
2968
|
}
|
|
2926
2969
|
|
|
2927
2970
|
create_space(body, options) {
|
|
2928
|
-
var
|
|
2971
|
+
var _this287 = this;
|
|
2929
2972
|
|
|
2930
2973
|
return _asyncToGenerator(function* () {
|
|
2931
|
-
return
|
|
2974
|
+
return _this287.post('/spaces', null, body, options);
|
|
2932
2975
|
})();
|
|
2933
2976
|
}
|
|
2934
2977
|
|
|
2935
2978
|
space_children(request, options) {
|
|
2936
|
-
var
|
|
2979
|
+
var _this288 = this;
|
|
2937
2980
|
|
|
2938
2981
|
return _asyncToGenerator(function* () {
|
|
2939
2982
|
request.space_id = (0, _sdkRtl.encodeParam)(request.space_id);
|
|
2940
|
-
return
|
|
2983
|
+
return _this288.get("/spaces/".concat(request.space_id, "/children"), {
|
|
2941
2984
|
fields: request.fields,
|
|
2942
2985
|
page: request.page,
|
|
2943
2986
|
per_page: request.per_page,
|
|
@@ -2947,11 +2990,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2947
2990
|
}
|
|
2948
2991
|
|
|
2949
2992
|
space_children_search(request, options) {
|
|
2950
|
-
var
|
|
2993
|
+
var _this289 = this;
|
|
2951
2994
|
|
|
2952
2995
|
return _asyncToGenerator(function* () {
|
|
2953
2996
|
request.space_id = (0, _sdkRtl.encodeParam)(request.space_id);
|
|
2954
|
-
return
|
|
2997
|
+
return _this289.get("/spaces/".concat(request.space_id, "/children/search"), {
|
|
2955
2998
|
fields: request.fields,
|
|
2956
2999
|
sorts: request.sorts,
|
|
2957
3000
|
name: request.name
|
|
@@ -2960,72 +3003,72 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
2960
3003
|
}
|
|
2961
3004
|
|
|
2962
3005
|
space_parent(space_id, fields, options) {
|
|
2963
|
-
var
|
|
3006
|
+
var _this290 = this;
|
|
2964
3007
|
|
|
2965
3008
|
return _asyncToGenerator(function* () {
|
|
2966
3009
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2967
|
-
return
|
|
3010
|
+
return _this290.get("/spaces/".concat(space_id, "/parent"), {
|
|
2968
3011
|
fields
|
|
2969
3012
|
}, null, options);
|
|
2970
3013
|
})();
|
|
2971
3014
|
}
|
|
2972
3015
|
|
|
2973
3016
|
space_ancestors(space_id, fields, options) {
|
|
2974
|
-
var
|
|
3017
|
+
var _this291 = this;
|
|
2975
3018
|
|
|
2976
3019
|
return _asyncToGenerator(function* () {
|
|
2977
3020
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2978
|
-
return
|
|
3021
|
+
return _this291.get("/spaces/".concat(space_id, "/ancestors"), {
|
|
2979
3022
|
fields
|
|
2980
3023
|
}, null, options);
|
|
2981
3024
|
})();
|
|
2982
3025
|
}
|
|
2983
3026
|
|
|
2984
3027
|
space_looks(space_id, fields, options) {
|
|
2985
|
-
var
|
|
3028
|
+
var _this292 = this;
|
|
2986
3029
|
|
|
2987
3030
|
return _asyncToGenerator(function* () {
|
|
2988
3031
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
2989
|
-
return
|
|
3032
|
+
return _this292.get("/spaces/".concat(space_id, "/looks"), {
|
|
2990
3033
|
fields
|
|
2991
3034
|
}, null, options);
|
|
2992
3035
|
})();
|
|
2993
3036
|
}
|
|
2994
3037
|
|
|
2995
3038
|
space_dashboards(space_id, fields, options) {
|
|
2996
|
-
var
|
|
3039
|
+
var _this293 = this;
|
|
2997
3040
|
|
|
2998
3041
|
return _asyncToGenerator(function* () {
|
|
2999
3042
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3000
|
-
return
|
|
3043
|
+
return _this293.get("/spaces/".concat(space_id, "/dashboards"), {
|
|
3001
3044
|
fields
|
|
3002
3045
|
}, null, options);
|
|
3003
3046
|
})();
|
|
3004
3047
|
}
|
|
3005
3048
|
|
|
3006
3049
|
all_themes(fields, options) {
|
|
3007
|
-
var
|
|
3050
|
+
var _this294 = this;
|
|
3008
3051
|
|
|
3009
3052
|
return _asyncToGenerator(function* () {
|
|
3010
|
-
return
|
|
3053
|
+
return _this294.get('/themes', {
|
|
3011
3054
|
fields
|
|
3012
3055
|
}, null, options);
|
|
3013
3056
|
})();
|
|
3014
3057
|
}
|
|
3015
3058
|
|
|
3016
3059
|
create_theme(body, options) {
|
|
3017
|
-
var
|
|
3060
|
+
var _this295 = this;
|
|
3018
3061
|
|
|
3019
3062
|
return _asyncToGenerator(function* () {
|
|
3020
|
-
return
|
|
3063
|
+
return _this295.post('/themes', null, body, options);
|
|
3021
3064
|
})();
|
|
3022
3065
|
}
|
|
3023
3066
|
|
|
3024
3067
|
search_themes(request, options) {
|
|
3025
|
-
var
|
|
3068
|
+
var _this296 = this;
|
|
3026
3069
|
|
|
3027
3070
|
return _asyncToGenerator(function* () {
|
|
3028
|
-
return
|
|
3071
|
+
return _this296.get('/themes/search', {
|
|
3029
3072
|
id: request.id,
|
|
3030
3073
|
name: request.name,
|
|
3031
3074
|
begin_at: request.begin_at,
|
|
@@ -3040,30 +3083,30 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3040
3083
|
}
|
|
3041
3084
|
|
|
3042
3085
|
default_theme(ts, options) {
|
|
3043
|
-
var
|
|
3086
|
+
var _this297 = this;
|
|
3044
3087
|
|
|
3045
3088
|
return _asyncToGenerator(function* () {
|
|
3046
|
-
return
|
|
3089
|
+
return _this297.get('/themes/default', {
|
|
3047
3090
|
ts
|
|
3048
3091
|
}, null, options);
|
|
3049
3092
|
})();
|
|
3050
3093
|
}
|
|
3051
3094
|
|
|
3052
3095
|
set_default_theme(name, options) {
|
|
3053
|
-
var
|
|
3096
|
+
var _this298 = this;
|
|
3054
3097
|
|
|
3055
3098
|
return _asyncToGenerator(function* () {
|
|
3056
|
-
return
|
|
3099
|
+
return _this298.put('/themes/default', {
|
|
3057
3100
|
name
|
|
3058
3101
|
}, null, options);
|
|
3059
3102
|
})();
|
|
3060
3103
|
}
|
|
3061
3104
|
|
|
3062
3105
|
active_themes(request, options) {
|
|
3063
|
-
var
|
|
3106
|
+
var _this299 = this;
|
|
3064
3107
|
|
|
3065
3108
|
return _asyncToGenerator(function* () {
|
|
3066
|
-
return
|
|
3109
|
+
return _this299.get('/themes/active', {
|
|
3067
3110
|
name: request.name,
|
|
3068
3111
|
ts: request.ts,
|
|
3069
3112
|
fields: request.fields
|
|
@@ -3072,10 +3115,10 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3072
3115
|
}
|
|
3073
3116
|
|
|
3074
3117
|
theme_or_default(name, ts, options) {
|
|
3075
|
-
var
|
|
3118
|
+
var _this300 = this;
|
|
3076
3119
|
|
|
3077
3120
|
return _asyncToGenerator(function* () {
|
|
3078
|
-
return
|
|
3121
|
+
return _this300.get('/themes/theme_or_default', {
|
|
3079
3122
|
name,
|
|
3080
3123
|
ts
|
|
3081
3124
|
}, null, options);
|
|
@@ -3083,57 +3126,57 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3083
3126
|
}
|
|
3084
3127
|
|
|
3085
3128
|
validate_theme(body, options) {
|
|
3086
|
-
var
|
|
3129
|
+
var _this301 = this;
|
|
3087
3130
|
|
|
3088
3131
|
return _asyncToGenerator(function* () {
|
|
3089
|
-
return
|
|
3132
|
+
return _this301.post('/themes/validate', null, body, options);
|
|
3090
3133
|
})();
|
|
3091
3134
|
}
|
|
3092
3135
|
|
|
3093
3136
|
theme(theme_id, fields, options) {
|
|
3094
|
-
var
|
|
3137
|
+
var _this302 = this;
|
|
3095
3138
|
|
|
3096
3139
|
return _asyncToGenerator(function* () {
|
|
3097
3140
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3098
|
-
return
|
|
3141
|
+
return _this302.get("/themes/".concat(theme_id), {
|
|
3099
3142
|
fields
|
|
3100
3143
|
}, null, options);
|
|
3101
3144
|
})();
|
|
3102
3145
|
}
|
|
3103
3146
|
|
|
3104
3147
|
update_theme(theme_id, body, options) {
|
|
3105
|
-
var
|
|
3148
|
+
var _this303 = this;
|
|
3106
3149
|
|
|
3107
3150
|
return _asyncToGenerator(function* () {
|
|
3108
3151
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3109
|
-
return
|
|
3152
|
+
return _this303.patch("/themes/".concat(theme_id), null, body, options);
|
|
3110
3153
|
})();
|
|
3111
3154
|
}
|
|
3112
3155
|
|
|
3113
3156
|
delete_theme(theme_id, options) {
|
|
3114
|
-
var
|
|
3157
|
+
var _this304 = this;
|
|
3115
3158
|
|
|
3116
3159
|
return _asyncToGenerator(function* () {
|
|
3117
3160
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3118
|
-
return
|
|
3161
|
+
return _this304.delete("/themes/".concat(theme_id), null, null, options);
|
|
3119
3162
|
})();
|
|
3120
3163
|
}
|
|
3121
3164
|
|
|
3122
3165
|
me(fields, options) {
|
|
3123
|
-
var
|
|
3166
|
+
var _this305 = this;
|
|
3124
3167
|
|
|
3125
3168
|
return _asyncToGenerator(function* () {
|
|
3126
|
-
return
|
|
3169
|
+
return _this305.get('/user', {
|
|
3127
3170
|
fields
|
|
3128
3171
|
}, null, options);
|
|
3129
3172
|
})();
|
|
3130
3173
|
}
|
|
3131
3174
|
|
|
3132
3175
|
all_users(request, options) {
|
|
3133
|
-
var
|
|
3176
|
+
var _this306 = this;
|
|
3134
3177
|
|
|
3135
3178
|
return _asyncToGenerator(function* () {
|
|
3136
|
-
return
|
|
3179
|
+
return _this306.get('/users', {
|
|
3137
3180
|
fields: request.fields,
|
|
3138
3181
|
page: request.page,
|
|
3139
3182
|
per_page: request.per_page,
|
|
@@ -3144,20 +3187,20 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3144
3187
|
}
|
|
3145
3188
|
|
|
3146
3189
|
create_user(body, fields, options) {
|
|
3147
|
-
var
|
|
3190
|
+
var _this307 = this;
|
|
3148
3191
|
|
|
3149
3192
|
return _asyncToGenerator(function* () {
|
|
3150
|
-
return
|
|
3193
|
+
return _this307.post('/users', {
|
|
3151
3194
|
fields
|
|
3152
3195
|
}, body, options);
|
|
3153
3196
|
})();
|
|
3154
3197
|
}
|
|
3155
3198
|
|
|
3156
3199
|
search_users(request, options) {
|
|
3157
|
-
var
|
|
3200
|
+
var _this308 = this;
|
|
3158
3201
|
|
|
3159
3202
|
return _asyncToGenerator(function* () {
|
|
3160
|
-
return
|
|
3203
|
+
return _this308.get('/users/search', {
|
|
3161
3204
|
fields: request.fields,
|
|
3162
3205
|
page: request.page,
|
|
3163
3206
|
per_page: request.per_page,
|
|
@@ -3177,11 +3220,11 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3177
3220
|
}
|
|
3178
3221
|
|
|
3179
3222
|
search_users_names(request, options) {
|
|
3180
|
-
var
|
|
3223
|
+
var _this309 = this;
|
|
3181
3224
|
|
|
3182
3225
|
return _asyncToGenerator(function* () {
|
|
3183
3226
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3184
|
-
return
|
|
3227
|
+
return _this309.get("/users/search/names/".concat(request.pattern), {
|
|
3185
3228
|
fields: request.fields,
|
|
3186
3229
|
page: request.page,
|
|
3187
3230
|
per_page: request.per_page,
|
|
@@ -3197,300 +3240,300 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3197
3240
|
}
|
|
3198
3241
|
|
|
3199
3242
|
user(user_id, fields, options) {
|
|
3200
|
-
var
|
|
3243
|
+
var _this310 = this;
|
|
3201
3244
|
|
|
3202
3245
|
return _asyncToGenerator(function* () {
|
|
3203
|
-
return
|
|
3246
|
+
return _this310.get("/users/".concat(user_id), {
|
|
3204
3247
|
fields
|
|
3205
3248
|
}, null, options);
|
|
3206
3249
|
})();
|
|
3207
3250
|
}
|
|
3208
3251
|
|
|
3209
3252
|
update_user(user_id, body, fields, options) {
|
|
3210
|
-
var
|
|
3253
|
+
var _this311 = this;
|
|
3211
3254
|
|
|
3212
3255
|
return _asyncToGenerator(function* () {
|
|
3213
|
-
return
|
|
3256
|
+
return _this311.patch("/users/".concat(user_id), {
|
|
3214
3257
|
fields
|
|
3215
3258
|
}, body, options);
|
|
3216
3259
|
})();
|
|
3217
3260
|
}
|
|
3218
3261
|
|
|
3219
3262
|
delete_user(user_id, options) {
|
|
3220
|
-
var
|
|
3263
|
+
var _this312 = this;
|
|
3221
3264
|
|
|
3222
3265
|
return _asyncToGenerator(function* () {
|
|
3223
|
-
return
|
|
3266
|
+
return _this312.delete("/users/".concat(user_id), null, null, options);
|
|
3224
3267
|
})();
|
|
3225
3268
|
}
|
|
3226
3269
|
|
|
3227
3270
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3228
|
-
var
|
|
3271
|
+
var _this313 = this;
|
|
3229
3272
|
|
|
3230
3273
|
return _asyncToGenerator(function* () {
|
|
3231
3274
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3232
3275
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3233
|
-
return
|
|
3276
|
+
return _this313.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3234
3277
|
fields
|
|
3235
3278
|
}, null, options);
|
|
3236
3279
|
})();
|
|
3237
3280
|
}
|
|
3238
3281
|
|
|
3239
3282
|
user_credentials_email(user_id, fields, options) {
|
|
3240
|
-
var
|
|
3283
|
+
var _this314 = this;
|
|
3241
3284
|
|
|
3242
3285
|
return _asyncToGenerator(function* () {
|
|
3243
|
-
return
|
|
3286
|
+
return _this314.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3244
3287
|
fields
|
|
3245
3288
|
}, null, options);
|
|
3246
3289
|
})();
|
|
3247
3290
|
}
|
|
3248
3291
|
|
|
3249
3292
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3250
|
-
var
|
|
3293
|
+
var _this315 = this;
|
|
3251
3294
|
|
|
3252
3295
|
return _asyncToGenerator(function* () {
|
|
3253
|
-
return
|
|
3296
|
+
return _this315.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3254
3297
|
fields
|
|
3255
3298
|
}, body, options);
|
|
3256
3299
|
})();
|
|
3257
3300
|
}
|
|
3258
3301
|
|
|
3259
3302
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3260
|
-
var
|
|
3303
|
+
var _this316 = this;
|
|
3261
3304
|
|
|
3262
3305
|
return _asyncToGenerator(function* () {
|
|
3263
|
-
return
|
|
3306
|
+
return _this316.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3264
3307
|
fields
|
|
3265
3308
|
}, body, options);
|
|
3266
3309
|
})();
|
|
3267
3310
|
}
|
|
3268
3311
|
|
|
3269
3312
|
delete_user_credentials_email(user_id, options) {
|
|
3270
|
-
var
|
|
3313
|
+
var _this317 = this;
|
|
3271
3314
|
|
|
3272
3315
|
return _asyncToGenerator(function* () {
|
|
3273
|
-
return
|
|
3316
|
+
return _this317.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3274
3317
|
})();
|
|
3275
3318
|
}
|
|
3276
3319
|
|
|
3277
3320
|
user_credentials_totp(user_id, fields, options) {
|
|
3278
|
-
var
|
|
3321
|
+
var _this318 = this;
|
|
3279
3322
|
|
|
3280
3323
|
return _asyncToGenerator(function* () {
|
|
3281
|
-
return
|
|
3324
|
+
return _this318.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3282
3325
|
fields
|
|
3283
3326
|
}, null, options);
|
|
3284
3327
|
})();
|
|
3285
3328
|
}
|
|
3286
3329
|
|
|
3287
3330
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3288
|
-
var
|
|
3331
|
+
var _this319 = this;
|
|
3289
3332
|
|
|
3290
3333
|
return _asyncToGenerator(function* () {
|
|
3291
|
-
return
|
|
3334
|
+
return _this319.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3292
3335
|
fields
|
|
3293
3336
|
}, body, options);
|
|
3294
3337
|
})();
|
|
3295
3338
|
}
|
|
3296
3339
|
|
|
3297
3340
|
delete_user_credentials_totp(user_id, options) {
|
|
3298
|
-
var
|
|
3341
|
+
var _this320 = this;
|
|
3299
3342
|
|
|
3300
3343
|
return _asyncToGenerator(function* () {
|
|
3301
|
-
return
|
|
3344
|
+
return _this320.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3302
3345
|
})();
|
|
3303
3346
|
}
|
|
3304
3347
|
|
|
3305
3348
|
user_credentials_ldap(user_id, fields, options) {
|
|
3306
|
-
var
|
|
3349
|
+
var _this321 = this;
|
|
3307
3350
|
|
|
3308
3351
|
return _asyncToGenerator(function* () {
|
|
3309
|
-
return
|
|
3352
|
+
return _this321.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3310
3353
|
fields
|
|
3311
3354
|
}, null, options);
|
|
3312
3355
|
})();
|
|
3313
3356
|
}
|
|
3314
3357
|
|
|
3315
3358
|
delete_user_credentials_ldap(user_id, options) {
|
|
3316
|
-
var
|
|
3359
|
+
var _this322 = this;
|
|
3317
3360
|
|
|
3318
3361
|
return _asyncToGenerator(function* () {
|
|
3319
|
-
return
|
|
3362
|
+
return _this322.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3320
3363
|
})();
|
|
3321
3364
|
}
|
|
3322
3365
|
|
|
3323
3366
|
user_credentials_google(user_id, fields, options) {
|
|
3324
|
-
var
|
|
3367
|
+
var _this323 = this;
|
|
3325
3368
|
|
|
3326
3369
|
return _asyncToGenerator(function* () {
|
|
3327
|
-
return
|
|
3370
|
+
return _this323.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3328
3371
|
fields
|
|
3329
3372
|
}, null, options);
|
|
3330
3373
|
})();
|
|
3331
3374
|
}
|
|
3332
3375
|
|
|
3333
3376
|
delete_user_credentials_google(user_id, options) {
|
|
3334
|
-
var
|
|
3377
|
+
var _this324 = this;
|
|
3335
3378
|
|
|
3336
3379
|
return _asyncToGenerator(function* () {
|
|
3337
|
-
return
|
|
3380
|
+
return _this324.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3338
3381
|
})();
|
|
3339
3382
|
}
|
|
3340
3383
|
|
|
3341
3384
|
user_credentials_saml(user_id, fields, options) {
|
|
3342
|
-
var
|
|
3385
|
+
var _this325 = this;
|
|
3343
3386
|
|
|
3344
3387
|
return _asyncToGenerator(function* () {
|
|
3345
|
-
return
|
|
3388
|
+
return _this325.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3346
3389
|
fields
|
|
3347
3390
|
}, null, options);
|
|
3348
3391
|
})();
|
|
3349
3392
|
}
|
|
3350
3393
|
|
|
3351
3394
|
delete_user_credentials_saml(user_id, options) {
|
|
3352
|
-
var
|
|
3395
|
+
var _this326 = this;
|
|
3353
3396
|
|
|
3354
3397
|
return _asyncToGenerator(function* () {
|
|
3355
|
-
return
|
|
3398
|
+
return _this326.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3356
3399
|
})();
|
|
3357
3400
|
}
|
|
3358
3401
|
|
|
3359
3402
|
user_credentials_oidc(user_id, fields, options) {
|
|
3360
|
-
var
|
|
3403
|
+
var _this327 = this;
|
|
3361
3404
|
|
|
3362
3405
|
return _asyncToGenerator(function* () {
|
|
3363
|
-
return
|
|
3406
|
+
return _this327.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3364
3407
|
fields
|
|
3365
3408
|
}, null, options);
|
|
3366
3409
|
})();
|
|
3367
3410
|
}
|
|
3368
3411
|
|
|
3369
3412
|
delete_user_credentials_oidc(user_id, options) {
|
|
3370
|
-
var
|
|
3413
|
+
var _this328 = this;
|
|
3371
3414
|
|
|
3372
3415
|
return _asyncToGenerator(function* () {
|
|
3373
|
-
return
|
|
3416
|
+
return _this328.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3374
3417
|
})();
|
|
3375
3418
|
}
|
|
3376
3419
|
|
|
3377
3420
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3378
|
-
var
|
|
3421
|
+
var _this329 = this;
|
|
3379
3422
|
|
|
3380
3423
|
return _asyncToGenerator(function* () {
|
|
3381
|
-
return
|
|
3424
|
+
return _this329.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3382
3425
|
fields
|
|
3383
3426
|
}, null, options);
|
|
3384
3427
|
})();
|
|
3385
3428
|
}
|
|
3386
3429
|
|
|
3387
3430
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3388
|
-
var
|
|
3431
|
+
var _this330 = this;
|
|
3389
3432
|
|
|
3390
3433
|
return _asyncToGenerator(function* () {
|
|
3391
|
-
return
|
|
3434
|
+
return _this330.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3392
3435
|
})();
|
|
3393
3436
|
}
|
|
3394
3437
|
|
|
3395
3438
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3396
|
-
var
|
|
3439
|
+
var _this331 = this;
|
|
3397
3440
|
|
|
3398
3441
|
return _asyncToGenerator(function* () {
|
|
3399
|
-
return
|
|
3442
|
+
return _this331.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3400
3443
|
fields
|
|
3401
3444
|
}, null, options);
|
|
3402
3445
|
})();
|
|
3403
3446
|
}
|
|
3404
3447
|
|
|
3405
3448
|
create_user_credentials_api3(user_id, body, fields, options) {
|
|
3406
|
-
var
|
|
3449
|
+
var _this332 = this;
|
|
3407
3450
|
|
|
3408
3451
|
return _asyncToGenerator(function* () {
|
|
3409
|
-
return
|
|
3452
|
+
return _this332.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3410
3453
|
fields
|
|
3411
3454
|
}, body, options);
|
|
3412
3455
|
})();
|
|
3413
3456
|
}
|
|
3414
3457
|
|
|
3415
3458
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3416
|
-
var
|
|
3459
|
+
var _this333 = this;
|
|
3417
3460
|
|
|
3418
3461
|
return _asyncToGenerator(function* () {
|
|
3419
|
-
return
|
|
3462
|
+
return _this333.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3420
3463
|
fields
|
|
3421
3464
|
}, null, options);
|
|
3422
3465
|
})();
|
|
3423
3466
|
}
|
|
3424
3467
|
|
|
3425
3468
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3426
|
-
var
|
|
3469
|
+
var _this334 = this;
|
|
3427
3470
|
|
|
3428
3471
|
return _asyncToGenerator(function* () {
|
|
3429
|
-
return
|
|
3472
|
+
return _this334.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3430
3473
|
})();
|
|
3431
3474
|
}
|
|
3432
3475
|
|
|
3433
3476
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3434
|
-
var
|
|
3477
|
+
var _this335 = this;
|
|
3435
3478
|
|
|
3436
3479
|
return _asyncToGenerator(function* () {
|
|
3437
|
-
return
|
|
3480
|
+
return _this335.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3438
3481
|
fields
|
|
3439
3482
|
}, null, options);
|
|
3440
3483
|
})();
|
|
3441
3484
|
}
|
|
3442
3485
|
|
|
3443
3486
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3444
|
-
var
|
|
3487
|
+
var _this336 = this;
|
|
3445
3488
|
|
|
3446
3489
|
return _asyncToGenerator(function* () {
|
|
3447
|
-
return
|
|
3490
|
+
return _this336.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3448
3491
|
fields
|
|
3449
3492
|
}, null, options);
|
|
3450
3493
|
})();
|
|
3451
3494
|
}
|
|
3452
3495
|
|
|
3453
3496
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3454
|
-
var
|
|
3497
|
+
var _this337 = this;
|
|
3455
3498
|
|
|
3456
3499
|
return _asyncToGenerator(function* () {
|
|
3457
|
-
return
|
|
3500
|
+
return _this337.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3458
3501
|
})();
|
|
3459
3502
|
}
|
|
3460
3503
|
|
|
3461
3504
|
user_session(user_id, session_id, fields, options) {
|
|
3462
|
-
var
|
|
3505
|
+
var _this338 = this;
|
|
3463
3506
|
|
|
3464
3507
|
return _asyncToGenerator(function* () {
|
|
3465
|
-
return
|
|
3508
|
+
return _this338.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3466
3509
|
fields
|
|
3467
3510
|
}, null, options);
|
|
3468
3511
|
})();
|
|
3469
3512
|
}
|
|
3470
3513
|
|
|
3471
3514
|
delete_user_session(user_id, session_id, options) {
|
|
3472
|
-
var
|
|
3515
|
+
var _this339 = this;
|
|
3473
3516
|
|
|
3474
3517
|
return _asyncToGenerator(function* () {
|
|
3475
|
-
return
|
|
3518
|
+
return _this339.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3476
3519
|
})();
|
|
3477
3520
|
}
|
|
3478
3521
|
|
|
3479
3522
|
all_user_sessions(user_id, fields, options) {
|
|
3480
|
-
var
|
|
3523
|
+
var _this340 = this;
|
|
3481
3524
|
|
|
3482
3525
|
return _asyncToGenerator(function* () {
|
|
3483
|
-
return
|
|
3526
|
+
return _this340.get("/users/".concat(user_id, "/sessions"), {
|
|
3484
3527
|
fields
|
|
3485
3528
|
}, null, options);
|
|
3486
3529
|
})();
|
|
3487
3530
|
}
|
|
3488
3531
|
|
|
3489
3532
|
create_user_credentials_email_password_reset(request, options) {
|
|
3490
|
-
var
|
|
3533
|
+
var _this341 = this;
|
|
3491
3534
|
|
|
3492
3535
|
return _asyncToGenerator(function* () {
|
|
3493
|
-
return
|
|
3536
|
+
return _this341.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3494
3537
|
expires: request.expires,
|
|
3495
3538
|
fields: request.fields
|
|
3496
3539
|
}, null, options);
|
|
@@ -3498,10 +3541,10 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3498
3541
|
}
|
|
3499
3542
|
|
|
3500
3543
|
user_roles(request, options) {
|
|
3501
|
-
var
|
|
3544
|
+
var _this342 = this;
|
|
3502
3545
|
|
|
3503
3546
|
return _asyncToGenerator(function* () {
|
|
3504
|
-
return
|
|
3547
|
+
return _this342.get("/users/".concat(request.user_id, "/roles"), {
|
|
3505
3548
|
fields: request.fields,
|
|
3506
3549
|
direct_association_only: request.direct_association_only
|
|
3507
3550
|
}, null, options);
|
|
@@ -3509,20 +3552,20 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3509
3552
|
}
|
|
3510
3553
|
|
|
3511
3554
|
set_user_roles(user_id, body, fields, options) {
|
|
3512
|
-
var
|
|
3555
|
+
var _this343 = this;
|
|
3513
3556
|
|
|
3514
3557
|
return _asyncToGenerator(function* () {
|
|
3515
|
-
return
|
|
3558
|
+
return _this343.put("/users/".concat(user_id, "/roles"), {
|
|
3516
3559
|
fields
|
|
3517
3560
|
}, body, options);
|
|
3518
3561
|
})();
|
|
3519
3562
|
}
|
|
3520
3563
|
|
|
3521
3564
|
user_attribute_user_values(request, options) {
|
|
3522
|
-
var
|
|
3565
|
+
var _this344 = this;
|
|
3523
3566
|
|
|
3524
3567
|
return _asyncToGenerator(function* () {
|
|
3525
|
-
return
|
|
3568
|
+
return _this344.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3526
3569
|
fields: request.fields,
|
|
3527
3570
|
user_attribute_ids: request.user_attribute_ids,
|
|
3528
3571
|
all_values: request.all_values,
|
|
@@ -3532,26 +3575,26 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3532
3575
|
}
|
|
3533
3576
|
|
|
3534
3577
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3535
|
-
var
|
|
3578
|
+
var _this345 = this;
|
|
3536
3579
|
|
|
3537
3580
|
return _asyncToGenerator(function* () {
|
|
3538
|
-
return
|
|
3581
|
+
return _this345.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3539
3582
|
})();
|
|
3540
3583
|
}
|
|
3541
3584
|
|
|
3542
3585
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3543
|
-
var
|
|
3586
|
+
var _this346 = this;
|
|
3544
3587
|
|
|
3545
3588
|
return _asyncToGenerator(function* () {
|
|
3546
|
-
return
|
|
3589
|
+
return _this346.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3547
3590
|
})();
|
|
3548
3591
|
}
|
|
3549
3592
|
|
|
3550
3593
|
all_user_attributes(request, options) {
|
|
3551
|
-
var
|
|
3594
|
+
var _this347 = this;
|
|
3552
3595
|
|
|
3553
3596
|
return _asyncToGenerator(function* () {
|
|
3554
|
-
return
|
|
3597
|
+
return _this347.get('/user_attributes', {
|
|
3555
3598
|
fields: request.fields,
|
|
3556
3599
|
sorts: request.sorts
|
|
3557
3600
|
}, null, options);
|
|
@@ -3559,75 +3602,75 @@ class Looker31SDK extends _sdkRtl.APIMethods {
|
|
|
3559
3602
|
}
|
|
3560
3603
|
|
|
3561
3604
|
create_user_attribute(body, fields, options) {
|
|
3562
|
-
var
|
|
3605
|
+
var _this348 = this;
|
|
3563
3606
|
|
|
3564
3607
|
return _asyncToGenerator(function* () {
|
|
3565
|
-
return
|
|
3608
|
+
return _this348.post('/user_attributes', {
|
|
3566
3609
|
fields
|
|
3567
3610
|
}, body, options);
|
|
3568
3611
|
})();
|
|
3569
3612
|
}
|
|
3570
3613
|
|
|
3571
3614
|
user_attribute(user_attribute_id, fields, options) {
|
|
3572
|
-
var
|
|
3615
|
+
var _this349 = this;
|
|
3573
3616
|
|
|
3574
3617
|
return _asyncToGenerator(function* () {
|
|
3575
|
-
return
|
|
3618
|
+
return _this349.get("/user_attributes/".concat(user_attribute_id), {
|
|
3576
3619
|
fields
|
|
3577
3620
|
}, null, options);
|
|
3578
3621
|
})();
|
|
3579
3622
|
}
|
|
3580
3623
|
|
|
3581
3624
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3582
|
-
var
|
|
3625
|
+
var _this350 = this;
|
|
3583
3626
|
|
|
3584
3627
|
return _asyncToGenerator(function* () {
|
|
3585
|
-
return
|
|
3628
|
+
return _this350.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3586
3629
|
fields
|
|
3587
3630
|
}, body, options);
|
|
3588
3631
|
})();
|
|
3589
3632
|
}
|
|
3590
3633
|
|
|
3591
3634
|
delete_user_attribute(user_attribute_id, options) {
|
|
3592
|
-
var
|
|
3635
|
+
var _this351 = this;
|
|
3593
3636
|
|
|
3594
3637
|
return _asyncToGenerator(function* () {
|
|
3595
|
-
return
|
|
3638
|
+
return _this351.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3596
3639
|
})();
|
|
3597
3640
|
}
|
|
3598
3641
|
|
|
3599
3642
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3600
|
-
var
|
|
3643
|
+
var _this352 = this;
|
|
3601
3644
|
|
|
3602
3645
|
return _asyncToGenerator(function* () {
|
|
3603
|
-
return
|
|
3646
|
+
return _this352.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3604
3647
|
fields
|
|
3605
3648
|
}, null, options);
|
|
3606
3649
|
})();
|
|
3607
3650
|
}
|
|
3608
3651
|
|
|
3609
3652
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3610
|
-
var
|
|
3653
|
+
var _this353 = this;
|
|
3611
3654
|
|
|
3612
3655
|
return _asyncToGenerator(function* () {
|
|
3613
|
-
return
|
|
3656
|
+
return _this353.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3614
3657
|
})();
|
|
3615
3658
|
}
|
|
3616
3659
|
|
|
3617
3660
|
all_workspaces(options) {
|
|
3618
|
-
var
|
|
3661
|
+
var _this354 = this;
|
|
3619
3662
|
|
|
3620
3663
|
return _asyncToGenerator(function* () {
|
|
3621
|
-
return
|
|
3664
|
+
return _this354.get('/workspaces', null, null, options);
|
|
3622
3665
|
})();
|
|
3623
3666
|
}
|
|
3624
3667
|
|
|
3625
3668
|
workspace(workspace_id, options) {
|
|
3626
|
-
var
|
|
3669
|
+
var _this355 = this;
|
|
3627
3670
|
|
|
3628
3671
|
return _asyncToGenerator(function* () {
|
|
3629
3672
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3630
|
-
return
|
|
3673
|
+
return _this355.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3631
3674
|
})();
|
|
3632
3675
|
}
|
|
3633
3676
|
|