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