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