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