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