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