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