@looker/sdk 24.12.0 → 24.14.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 +14 -0
- package/lib/4.0/funcs.d.ts +1 -0
- package/lib/4.0/funcs.js +902 -893
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +1 -0
- package/lib/4.0/methods.js +601 -594
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +1 -0
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +22 -0
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +1 -0
- package/lib/4.0/streams.js +601 -594
- 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/4.0/funcs.js +900 -891
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +601 -594
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +601 -594
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +2 -2
package/lib/4.0/streams.js
CHANGED
|
@@ -1042,106 +1042,113 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1042
1042
|
return _this136.authStream(callback, 'POST', '/external_oauth_applications', null, body, options);
|
|
1043
1043
|
})();
|
|
1044
1044
|
}
|
|
1045
|
-
|
|
1045
|
+
update_external_oauth_application(callback, client_id, body, options) {
|
|
1046
1046
|
var _this137 = this;
|
|
1047
1047
|
return _asyncToGenerator(function* () {
|
|
1048
|
-
|
|
1048
|
+
client_id = (0, _sdkRtl.encodeParam)(client_id);
|
|
1049
|
+
return _this137.authStream(callback, 'PATCH', "/external_oauth_applications/".concat(client_id), null, body, options);
|
|
1049
1050
|
})();
|
|
1050
1051
|
}
|
|
1051
|
-
|
|
1052
|
+
create_oauth_application_user_state(callback, body, options) {
|
|
1052
1053
|
var _this138 = this;
|
|
1053
1054
|
return _asyncToGenerator(function* () {
|
|
1054
|
-
return _this138.authStream(callback, '
|
|
1055
|
+
return _this138.authStream(callback, 'POST', '/external_oauth_applications/user_state', null, body, options);
|
|
1056
|
+
})();
|
|
1057
|
+
}
|
|
1058
|
+
all_ssh_servers(callback, fields, options) {
|
|
1059
|
+
var _this139 = this;
|
|
1060
|
+
return _asyncToGenerator(function* () {
|
|
1061
|
+
return _this139.authStream(callback, 'GET', '/ssh_servers', {
|
|
1055
1062
|
fields
|
|
1056
1063
|
}, null, options);
|
|
1057
1064
|
})();
|
|
1058
1065
|
}
|
|
1059
1066
|
create_ssh_server(callback, body, options) {
|
|
1060
|
-
var
|
|
1067
|
+
var _this140 = this;
|
|
1061
1068
|
return _asyncToGenerator(function* () {
|
|
1062
|
-
return
|
|
1069
|
+
return _this140.authStream(callback, 'POST', '/ssh_servers', null, body, options);
|
|
1063
1070
|
})();
|
|
1064
1071
|
}
|
|
1065
1072
|
ssh_server(callback, ssh_server_id, options) {
|
|
1066
|
-
var
|
|
1073
|
+
var _this141 = this;
|
|
1067
1074
|
return _asyncToGenerator(function* () {
|
|
1068
1075
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1069
|
-
return
|
|
1076
|
+
return _this141.authStream(callback, 'GET', "/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1070
1077
|
})();
|
|
1071
1078
|
}
|
|
1072
1079
|
update_ssh_server(callback, ssh_server_id, body, options) {
|
|
1073
|
-
var
|
|
1080
|
+
var _this142 = this;
|
|
1074
1081
|
return _asyncToGenerator(function* () {
|
|
1075
1082
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1076
|
-
return
|
|
1083
|
+
return _this142.authStream(callback, 'PATCH', "/ssh_server/".concat(ssh_server_id), null, body, options);
|
|
1077
1084
|
})();
|
|
1078
1085
|
}
|
|
1079
1086
|
delete_ssh_server(callback, ssh_server_id, options) {
|
|
1080
|
-
var
|
|
1087
|
+
var _this143 = this;
|
|
1081
1088
|
return _asyncToGenerator(function* () {
|
|
1082
1089
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1083
|
-
return
|
|
1090
|
+
return _this143.authStream(callback, 'DELETE', "/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1084
1091
|
})();
|
|
1085
1092
|
}
|
|
1086
1093
|
test_ssh_server(callback, ssh_server_id, options) {
|
|
1087
|
-
var
|
|
1094
|
+
var _this144 = this;
|
|
1088
1095
|
return _asyncToGenerator(function* () {
|
|
1089
1096
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1090
|
-
return
|
|
1097
|
+
return _this144.authStream(callback, 'GET', "/ssh_server/".concat(ssh_server_id, "/test"), null, null, options);
|
|
1091
1098
|
})();
|
|
1092
1099
|
}
|
|
1093
1100
|
all_ssh_tunnels(callback, fields, options) {
|
|
1094
|
-
var
|
|
1101
|
+
var _this145 = this;
|
|
1095
1102
|
return _asyncToGenerator(function* () {
|
|
1096
|
-
return
|
|
1103
|
+
return _this145.authStream(callback, 'GET', '/ssh_tunnels', {
|
|
1097
1104
|
fields
|
|
1098
1105
|
}, null, options);
|
|
1099
1106
|
})();
|
|
1100
1107
|
}
|
|
1101
1108
|
create_ssh_tunnel(callback, body, options) {
|
|
1102
|
-
var
|
|
1109
|
+
var _this146 = this;
|
|
1103
1110
|
return _asyncToGenerator(function* () {
|
|
1104
|
-
return
|
|
1111
|
+
return _this146.authStream(callback, 'POST', '/ssh_tunnels', null, body, options);
|
|
1105
1112
|
})();
|
|
1106
1113
|
}
|
|
1107
1114
|
ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1108
|
-
var
|
|
1115
|
+
var _this147 = this;
|
|
1109
1116
|
return _asyncToGenerator(function* () {
|
|
1110
1117
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1111
|
-
return
|
|
1118
|
+
return _this147.authStream(callback, 'GET', "/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1112
1119
|
})();
|
|
1113
1120
|
}
|
|
1114
1121
|
update_ssh_tunnel(callback, ssh_tunnel_id, body, options) {
|
|
1115
|
-
var
|
|
1122
|
+
var _this148 = this;
|
|
1116
1123
|
return _asyncToGenerator(function* () {
|
|
1117
1124
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1118
|
-
return
|
|
1125
|
+
return _this148.authStream(callback, 'PATCH', "/ssh_tunnel/".concat(ssh_tunnel_id), null, body, options);
|
|
1119
1126
|
})();
|
|
1120
1127
|
}
|
|
1121
1128
|
delete_ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1122
|
-
var
|
|
1129
|
+
var _this149 = this;
|
|
1123
1130
|
return _asyncToGenerator(function* () {
|
|
1124
1131
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1125
|
-
return
|
|
1132
|
+
return _this149.authStream(callback, 'DELETE', "/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1126
1133
|
})();
|
|
1127
1134
|
}
|
|
1128
1135
|
test_ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1129
|
-
var
|
|
1136
|
+
var _this150 = this;
|
|
1130
1137
|
return _asyncToGenerator(function* () {
|
|
1131
1138
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1132
|
-
return
|
|
1139
|
+
return _this150.authStream(callback, 'GET', "/ssh_tunnel/".concat(ssh_tunnel_id, "/test"), null, null, options);
|
|
1133
1140
|
})();
|
|
1134
1141
|
}
|
|
1135
1142
|
ssh_public_key(callback, options) {
|
|
1136
|
-
var
|
|
1143
|
+
var _this151 = this;
|
|
1137
1144
|
return _asyncToGenerator(function* () {
|
|
1138
|
-
return
|
|
1145
|
+
return _this151.authStream(callback, 'GET', '/ssh_public_key', null, null, options);
|
|
1139
1146
|
})();
|
|
1140
1147
|
}
|
|
1141
1148
|
search_content_favorites(callback, request, options) {
|
|
1142
|
-
var
|
|
1149
|
+
var _this152 = this;
|
|
1143
1150
|
return _asyncToGenerator(function* () {
|
|
1144
|
-
return
|
|
1151
|
+
return _this152.authStream(callback, 'GET', '/content_favorite/search', {
|
|
1145
1152
|
id: request.id,
|
|
1146
1153
|
user_id: request.user_id,
|
|
1147
1154
|
content_metadata_id: request.content_metadata_id,
|
|
@@ -1157,88 +1164,88 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1157
1164
|
})();
|
|
1158
1165
|
}
|
|
1159
1166
|
content_favorite(callback, content_favorite_id, fields, options) {
|
|
1160
|
-
var
|
|
1167
|
+
var _this153 = this;
|
|
1161
1168
|
return _asyncToGenerator(function* () {
|
|
1162
1169
|
content_favorite_id = (0, _sdkRtl.encodeParam)(content_favorite_id);
|
|
1163
|
-
return
|
|
1170
|
+
return _this153.authStream(callback, 'GET', "/content_favorite/".concat(content_favorite_id), {
|
|
1164
1171
|
fields
|
|
1165
1172
|
}, null, options);
|
|
1166
1173
|
})();
|
|
1167
1174
|
}
|
|
1168
1175
|
delete_content_favorite(callback, content_favorite_id, options) {
|
|
1169
|
-
var
|
|
1176
|
+
var _this154 = this;
|
|
1170
1177
|
return _asyncToGenerator(function* () {
|
|
1171
1178
|
content_favorite_id = (0, _sdkRtl.encodeParam)(content_favorite_id);
|
|
1172
|
-
return
|
|
1179
|
+
return _this154.authStream(callback, 'DELETE', "/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
1173
1180
|
})();
|
|
1174
1181
|
}
|
|
1175
1182
|
create_content_favorite(callback, body, options) {
|
|
1176
|
-
var
|
|
1183
|
+
var _this155 = this;
|
|
1177
1184
|
return _asyncToGenerator(function* () {
|
|
1178
|
-
return
|
|
1185
|
+
return _this155.authStream(callback, 'POST', '/content_favorite', null, body, options);
|
|
1179
1186
|
})();
|
|
1180
1187
|
}
|
|
1181
1188
|
all_content_metadatas(callback, parent_id, fields, options) {
|
|
1182
|
-
var
|
|
1189
|
+
var _this156 = this;
|
|
1183
1190
|
return _asyncToGenerator(function* () {
|
|
1184
|
-
return
|
|
1191
|
+
return _this156.authStream(callback, 'GET', '/content_metadata', {
|
|
1185
1192
|
parent_id,
|
|
1186
1193
|
fields
|
|
1187
1194
|
}, null, options);
|
|
1188
1195
|
})();
|
|
1189
1196
|
}
|
|
1190
1197
|
content_metadata(callback, content_metadata_id, fields, options) {
|
|
1191
|
-
var
|
|
1198
|
+
var _this157 = this;
|
|
1192
1199
|
return _asyncToGenerator(function* () {
|
|
1193
1200
|
content_metadata_id = (0, _sdkRtl.encodeParam)(content_metadata_id);
|
|
1194
|
-
return
|
|
1201
|
+
return _this157.authStream(callback, 'GET', "/content_metadata/".concat(content_metadata_id), {
|
|
1195
1202
|
fields
|
|
1196
1203
|
}, null, options);
|
|
1197
1204
|
})();
|
|
1198
1205
|
}
|
|
1199
1206
|
update_content_metadata(callback, content_metadata_id, body, options) {
|
|
1200
|
-
var
|
|
1207
|
+
var _this158 = this;
|
|
1201
1208
|
return _asyncToGenerator(function* () {
|
|
1202
1209
|
content_metadata_id = (0, _sdkRtl.encodeParam)(content_metadata_id);
|
|
1203
|
-
return
|
|
1210
|
+
return _this158.authStream(callback, 'PATCH', "/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
1204
1211
|
})();
|
|
1205
1212
|
}
|
|
1206
1213
|
all_content_metadata_accesses(callback, content_metadata_id, fields, options) {
|
|
1207
|
-
var
|
|
1214
|
+
var _this159 = this;
|
|
1208
1215
|
return _asyncToGenerator(function* () {
|
|
1209
|
-
return
|
|
1216
|
+
return _this159.authStream(callback, 'GET', '/content_metadata_access', {
|
|
1210
1217
|
content_metadata_id,
|
|
1211
1218
|
fields
|
|
1212
1219
|
}, null, options);
|
|
1213
1220
|
})();
|
|
1214
1221
|
}
|
|
1215
1222
|
create_content_metadata_access(callback, body, send_boards_notification_email, options) {
|
|
1216
|
-
var
|
|
1223
|
+
var _this160 = this;
|
|
1217
1224
|
return _asyncToGenerator(function* () {
|
|
1218
|
-
return
|
|
1225
|
+
return _this160.authStream(callback, 'POST', '/content_metadata_access', {
|
|
1219
1226
|
send_boards_notification_email
|
|
1220
1227
|
}, body, options);
|
|
1221
1228
|
})();
|
|
1222
1229
|
}
|
|
1223
1230
|
update_content_metadata_access(callback, content_metadata_access_id, body, options) {
|
|
1224
|
-
var
|
|
1231
|
+
var _this161 = this;
|
|
1225
1232
|
return _asyncToGenerator(function* () {
|
|
1226
1233
|
content_metadata_access_id = (0, _sdkRtl.encodeParam)(content_metadata_access_id);
|
|
1227
|
-
return
|
|
1234
|
+
return _this161.authStream(callback, 'PUT', "/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
1228
1235
|
})();
|
|
1229
1236
|
}
|
|
1230
1237
|
delete_content_metadata_access(callback, content_metadata_access_id, options) {
|
|
1231
|
-
var
|
|
1238
|
+
var _this162 = this;
|
|
1232
1239
|
return _asyncToGenerator(function* () {
|
|
1233
1240
|
content_metadata_access_id = (0, _sdkRtl.encodeParam)(content_metadata_access_id);
|
|
1234
|
-
return
|
|
1241
|
+
return _this162.authStream(callback, 'DELETE', "/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
1235
1242
|
})();
|
|
1236
1243
|
}
|
|
1237
1244
|
search_content(callback, request, options) {
|
|
1238
|
-
var
|
|
1245
|
+
var _this163 = this;
|
|
1239
1246
|
return _asyncToGenerator(function* () {
|
|
1240
1247
|
request.terms = (0, _sdkRtl.encodeParam)(request.terms);
|
|
1241
|
-
return
|
|
1248
|
+
return _this163.authStream(callback, 'GET', "/content/".concat(request.terms), {
|
|
1242
1249
|
fields: request.fields,
|
|
1243
1250
|
types: request.types,
|
|
1244
1251
|
limit: request.limit,
|
|
@@ -1249,11 +1256,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1249
1256
|
})();
|
|
1250
1257
|
}
|
|
1251
1258
|
content_thumbnail(callback, request, options) {
|
|
1252
|
-
var
|
|
1259
|
+
var _this164 = this;
|
|
1253
1260
|
return _asyncToGenerator(function* () {
|
|
1254
1261
|
request.type = (0, _sdkRtl.encodeParam)(request.type);
|
|
1255
1262
|
request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
|
|
1256
|
-
return
|
|
1263
|
+
return _this164.authStream(callback, 'GET', "/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
1257
1264
|
reload: request.reload,
|
|
1258
1265
|
theme: request.theme,
|
|
1259
1266
|
format: request.format,
|
|
@@ -1263,17 +1270,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1263
1270
|
})();
|
|
1264
1271
|
}
|
|
1265
1272
|
content_validation(callback, fields, options) {
|
|
1266
|
-
var
|
|
1273
|
+
var _this165 = this;
|
|
1267
1274
|
return _asyncToGenerator(function* () {
|
|
1268
|
-
return
|
|
1275
|
+
return _this165.authStream(callback, 'GET', '/content_validation', {
|
|
1269
1276
|
fields
|
|
1270
1277
|
}, null, options);
|
|
1271
1278
|
})();
|
|
1272
1279
|
}
|
|
1273
1280
|
search_content_views(callback, request, options) {
|
|
1274
|
-
var
|
|
1281
|
+
var _this166 = this;
|
|
1275
1282
|
return _asyncToGenerator(function* () {
|
|
1276
|
-
return
|
|
1283
|
+
return _this166.authStream(callback, 'GET', '/content_view/search', {
|
|
1277
1284
|
view_count: request.view_count,
|
|
1278
1285
|
group_id: request.group_id,
|
|
1279
1286
|
look_id: request.look_id,
|
|
@@ -1291,33 +1298,33 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1291
1298
|
})();
|
|
1292
1299
|
}
|
|
1293
1300
|
vector_thumbnail(callback, type, resource_id, reload, options) {
|
|
1294
|
-
var
|
|
1301
|
+
var _this167 = this;
|
|
1295
1302
|
return _asyncToGenerator(function* () {
|
|
1296
1303
|
type = (0, _sdkRtl.encodeParam)(type);
|
|
1297
1304
|
resource_id = (0, _sdkRtl.encodeParam)(resource_id);
|
|
1298
|
-
return
|
|
1305
|
+
return _this167.authStream(callback, 'GET', "/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
1299
1306
|
reload
|
|
1300
1307
|
}, null, options);
|
|
1301
1308
|
})();
|
|
1302
1309
|
}
|
|
1303
1310
|
all_dashboards(callback, fields, options) {
|
|
1304
|
-
var
|
|
1311
|
+
var _this168 = this;
|
|
1305
1312
|
return _asyncToGenerator(function* () {
|
|
1306
|
-
return
|
|
1313
|
+
return _this168.authStream(callback, 'GET', '/dashboards', {
|
|
1307
1314
|
fields
|
|
1308
1315
|
}, null, options);
|
|
1309
1316
|
})();
|
|
1310
1317
|
}
|
|
1311
1318
|
create_dashboard(callback, body, options) {
|
|
1312
|
-
var
|
|
1319
|
+
var _this169 = this;
|
|
1313
1320
|
return _asyncToGenerator(function* () {
|
|
1314
|
-
return
|
|
1321
|
+
return _this169.authStream(callback, 'POST', '/dashboards', null, body, options);
|
|
1315
1322
|
})();
|
|
1316
1323
|
}
|
|
1317
1324
|
search_dashboards(callback, request, options) {
|
|
1318
|
-
var
|
|
1325
|
+
var _this170 = this;
|
|
1319
1326
|
return _asyncToGenerator(function* () {
|
|
1320
|
-
return
|
|
1327
|
+
return _this170.authStream(callback, 'GET', '/dashboards/search', {
|
|
1321
1328
|
id: request.id,
|
|
1322
1329
|
slug: request.slug,
|
|
1323
1330
|
title: request.title,
|
|
@@ -1342,95 +1349,95 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1342
1349
|
})();
|
|
1343
1350
|
}
|
|
1344
1351
|
import_lookml_dashboard(callback, lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
1345
|
-
var
|
|
1352
|
+
var _this171 = this;
|
|
1346
1353
|
return _asyncToGenerator(function* () {
|
|
1347
1354
|
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
1348
1355
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
1349
|
-
return
|
|
1356
|
+
return _this171.authStream(callback, 'POST', "/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
1350
1357
|
raw_locale
|
|
1351
1358
|
}, body, options);
|
|
1352
1359
|
})();
|
|
1353
1360
|
}
|
|
1354
1361
|
sync_lookml_dashboard(callback, lookml_dashboard_id, body, raw_locale, options) {
|
|
1355
|
-
var
|
|
1362
|
+
var _this172 = this;
|
|
1356
1363
|
return _asyncToGenerator(function* () {
|
|
1357
1364
|
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
1358
|
-
return
|
|
1365
|
+
return _this172.authStream(callback, 'PATCH', "/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
1359
1366
|
raw_locale
|
|
1360
1367
|
}, body, options);
|
|
1361
1368
|
})();
|
|
1362
1369
|
}
|
|
1363
1370
|
dashboard(callback, dashboard_id, fields, options) {
|
|
1364
|
-
var
|
|
1371
|
+
var _this173 = this;
|
|
1365
1372
|
return _asyncToGenerator(function* () {
|
|
1366
1373
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1367
|
-
return
|
|
1374
|
+
return _this173.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id), {
|
|
1368
1375
|
fields
|
|
1369
1376
|
}, null, options);
|
|
1370
1377
|
})();
|
|
1371
1378
|
}
|
|
1372
1379
|
update_dashboard(callback, dashboard_id, body, options) {
|
|
1373
|
-
var
|
|
1380
|
+
var _this174 = this;
|
|
1374
1381
|
return _asyncToGenerator(function* () {
|
|
1375
1382
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1376
|
-
return
|
|
1383
|
+
return _this174.authStream(callback, 'PATCH', "/dashboards/".concat(dashboard_id), null, body, options);
|
|
1377
1384
|
})();
|
|
1378
1385
|
}
|
|
1379
1386
|
delete_dashboard(callback, dashboard_id, options) {
|
|
1380
|
-
var
|
|
1387
|
+
var _this175 = this;
|
|
1381
1388
|
return _asyncToGenerator(function* () {
|
|
1382
1389
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1383
|
-
return
|
|
1390
|
+
return _this175.authStream(callback, 'DELETE', "/dashboards/".concat(dashboard_id), null, null, options);
|
|
1384
1391
|
})();
|
|
1385
1392
|
}
|
|
1386
1393
|
dashboard_aggregate_table_lookml(callback, dashboard_id, options) {
|
|
1387
|
-
var
|
|
1394
|
+
var _this176 = this;
|
|
1388
1395
|
return _asyncToGenerator(function* () {
|
|
1389
1396
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1390
|
-
return
|
|
1397
|
+
return _this176.authStream(callback, 'GET', "/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
1391
1398
|
})();
|
|
1392
1399
|
}
|
|
1393
1400
|
dashboard_lookml(callback, dashboard_id, options) {
|
|
1394
|
-
var
|
|
1401
|
+
var _this177 = this;
|
|
1395
1402
|
return _asyncToGenerator(function* () {
|
|
1396
1403
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1397
|
-
return
|
|
1404
|
+
return _this177.authStream(callback, 'GET', "/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
1398
1405
|
})();
|
|
1399
1406
|
}
|
|
1400
1407
|
move_dashboard(callback, dashboard_id, folder_id, options) {
|
|
1401
|
-
var
|
|
1408
|
+
var _this178 = this;
|
|
1402
1409
|
return _asyncToGenerator(function* () {
|
|
1403
1410
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1404
|
-
return
|
|
1411
|
+
return _this178.authStream(callback, 'PATCH', "/dashboards/".concat(dashboard_id, "/move"), {
|
|
1405
1412
|
folder_id
|
|
1406
1413
|
}, null, options);
|
|
1407
1414
|
})();
|
|
1408
1415
|
}
|
|
1409
1416
|
import_dashboard_from_lookml(callback, body, options) {
|
|
1410
|
-
var
|
|
1417
|
+
var _this179 = this;
|
|
1411
1418
|
return _asyncToGenerator(function* () {
|
|
1412
|
-
return
|
|
1419
|
+
return _this179.authStream(callback, 'POST', '/dashboards/lookml', null, body, options);
|
|
1413
1420
|
})();
|
|
1414
1421
|
}
|
|
1415
1422
|
create_dashboard_from_lookml(callback, body, options) {
|
|
1416
|
-
var
|
|
1423
|
+
var _this180 = this;
|
|
1417
1424
|
return _asyncToGenerator(function* () {
|
|
1418
|
-
return
|
|
1425
|
+
return _this180.authStream(callback, 'POST', '/dashboards/from_lookml', null, body, options);
|
|
1419
1426
|
})();
|
|
1420
1427
|
}
|
|
1421
1428
|
copy_dashboard(callback, dashboard_id, folder_id, options) {
|
|
1422
|
-
var
|
|
1429
|
+
var _this181 = this;
|
|
1423
1430
|
return _asyncToGenerator(function* () {
|
|
1424
1431
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1425
|
-
return
|
|
1432
|
+
return _this181.authStream(callback, 'POST', "/dashboards/".concat(dashboard_id, "/copy"), {
|
|
1426
1433
|
folder_id
|
|
1427
1434
|
}, null, options);
|
|
1428
1435
|
})();
|
|
1429
1436
|
}
|
|
1430
1437
|
search_dashboard_elements(callback, request, options) {
|
|
1431
|
-
var
|
|
1438
|
+
var _this182 = this;
|
|
1432
1439
|
return _asyncToGenerator(function* () {
|
|
1433
|
-
return
|
|
1440
|
+
return _this182.authStream(callback, 'GET', '/dashboard_elements/search', {
|
|
1434
1441
|
dashboard_id: request.dashboard_id,
|
|
1435
1442
|
look_id: request.look_id,
|
|
1436
1443
|
title: request.title,
|
|
@@ -1442,217 +1449,217 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1442
1449
|
})();
|
|
1443
1450
|
}
|
|
1444
1451
|
dashboard_element(callback, dashboard_element_id, fields, options) {
|
|
1445
|
-
var
|
|
1452
|
+
var _this183 = this;
|
|
1446
1453
|
return _asyncToGenerator(function* () {
|
|
1447
1454
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1448
|
-
return
|
|
1455
|
+
return _this183.authStream(callback, 'GET', "/dashboard_elements/".concat(dashboard_element_id), {
|
|
1449
1456
|
fields
|
|
1450
1457
|
}, null, options);
|
|
1451
1458
|
})();
|
|
1452
1459
|
}
|
|
1453
1460
|
update_dashboard_element(callback, dashboard_element_id, body, fields, options) {
|
|
1454
|
-
var
|
|
1461
|
+
var _this184 = this;
|
|
1455
1462
|
return _asyncToGenerator(function* () {
|
|
1456
1463
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1457
|
-
return
|
|
1464
|
+
return _this184.authStream(callback, 'PATCH', "/dashboard_elements/".concat(dashboard_element_id), {
|
|
1458
1465
|
fields
|
|
1459
1466
|
}, body, options);
|
|
1460
1467
|
})();
|
|
1461
1468
|
}
|
|
1462
1469
|
delete_dashboard_element(callback, dashboard_element_id, options) {
|
|
1463
|
-
var
|
|
1470
|
+
var _this185 = this;
|
|
1464
1471
|
return _asyncToGenerator(function* () {
|
|
1465
1472
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1466
|
-
return
|
|
1473
|
+
return _this185.authStream(callback, 'DELETE', "/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
1467
1474
|
})();
|
|
1468
1475
|
}
|
|
1469
1476
|
dashboard_dashboard_elements(callback, dashboard_id, fields, options) {
|
|
1470
|
-
var
|
|
1477
|
+
var _this186 = this;
|
|
1471
1478
|
return _asyncToGenerator(function* () {
|
|
1472
1479
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1473
|
-
return
|
|
1480
|
+
return _this186.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
1474
1481
|
fields
|
|
1475
1482
|
}, null, options);
|
|
1476
1483
|
})();
|
|
1477
1484
|
}
|
|
1478
1485
|
create_dashboard_element(callback, request, options) {
|
|
1479
|
-
var
|
|
1486
|
+
var _this187 = this;
|
|
1480
1487
|
return _asyncToGenerator(function* () {
|
|
1481
|
-
return
|
|
1488
|
+
return _this187.authStream(callback, 'POST', '/dashboard_elements', {
|
|
1482
1489
|
fields: request.fields,
|
|
1483
1490
|
apply_filters: request.apply_filters
|
|
1484
1491
|
}, request.body, options);
|
|
1485
1492
|
})();
|
|
1486
1493
|
}
|
|
1487
1494
|
dashboard_filter(callback, dashboard_filter_id, fields, options) {
|
|
1488
|
-
var
|
|
1495
|
+
var _this188 = this;
|
|
1489
1496
|
return _asyncToGenerator(function* () {
|
|
1490
1497
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1491
|
-
return
|
|
1498
|
+
return _this188.authStream(callback, 'GET', "/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1492
1499
|
fields
|
|
1493
1500
|
}, null, options);
|
|
1494
1501
|
})();
|
|
1495
1502
|
}
|
|
1496
1503
|
update_dashboard_filter(callback, dashboard_filter_id, body, fields, options) {
|
|
1497
|
-
var
|
|
1504
|
+
var _this189 = this;
|
|
1498
1505
|
return _asyncToGenerator(function* () {
|
|
1499
1506
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1500
|
-
return
|
|
1507
|
+
return _this189.authStream(callback, 'PATCH', "/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1501
1508
|
fields
|
|
1502
1509
|
}, body, options);
|
|
1503
1510
|
})();
|
|
1504
1511
|
}
|
|
1505
1512
|
delete_dashboard_filter(callback, dashboard_filter_id, options) {
|
|
1506
|
-
var
|
|
1513
|
+
var _this190 = this;
|
|
1507
1514
|
return _asyncToGenerator(function* () {
|
|
1508
1515
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1509
|
-
return
|
|
1516
|
+
return _this190.authStream(callback, 'DELETE', "/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1510
1517
|
})();
|
|
1511
1518
|
}
|
|
1512
1519
|
dashboard_dashboard_filters(callback, dashboard_id, fields, options) {
|
|
1513
|
-
var
|
|
1520
|
+
var _this191 = this;
|
|
1514
1521
|
return _asyncToGenerator(function* () {
|
|
1515
1522
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1516
|
-
return
|
|
1523
|
+
return _this191.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1517
1524
|
fields
|
|
1518
1525
|
}, null, options);
|
|
1519
1526
|
})();
|
|
1520
1527
|
}
|
|
1521
1528
|
create_dashboard_filter(callback, body, fields, options) {
|
|
1522
|
-
var
|
|
1529
|
+
var _this192 = this;
|
|
1523
1530
|
return _asyncToGenerator(function* () {
|
|
1524
|
-
return
|
|
1531
|
+
return _this192.authStream(callback, 'POST', '/dashboard_filters', {
|
|
1525
1532
|
fields
|
|
1526
1533
|
}, body, options);
|
|
1527
1534
|
})();
|
|
1528
1535
|
}
|
|
1529
1536
|
dashboard_layout_component(callback, dashboard_layout_component_id, fields, options) {
|
|
1530
|
-
var
|
|
1537
|
+
var _this193 = this;
|
|
1531
1538
|
return _asyncToGenerator(function* () {
|
|
1532
1539
|
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1533
|
-
return
|
|
1540
|
+
return _this193.authStream(callback, 'GET', "/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1534
1541
|
fields
|
|
1535
1542
|
}, null, options);
|
|
1536
1543
|
})();
|
|
1537
1544
|
}
|
|
1538
1545
|
update_dashboard_layout_component(callback, dashboard_layout_component_id, body, fields, options) {
|
|
1539
|
-
var
|
|
1546
|
+
var _this194 = this;
|
|
1540
1547
|
return _asyncToGenerator(function* () {
|
|
1541
1548
|
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1542
|
-
return
|
|
1549
|
+
return _this194.authStream(callback, 'PATCH', "/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1543
1550
|
fields
|
|
1544
1551
|
}, body, options);
|
|
1545
1552
|
})();
|
|
1546
1553
|
}
|
|
1547
1554
|
dashboard_layout_dashboard_layout_components(callback, dashboard_layout_id, fields, options) {
|
|
1548
|
-
var
|
|
1555
|
+
var _this195 = this;
|
|
1549
1556
|
return _asyncToGenerator(function* () {
|
|
1550
1557
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1551
|
-
return
|
|
1558
|
+
return _this195.authStream(callback, 'GET', "/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1552
1559
|
fields
|
|
1553
1560
|
}, null, options);
|
|
1554
1561
|
})();
|
|
1555
1562
|
}
|
|
1556
1563
|
dashboard_layout(callback, dashboard_layout_id, fields, options) {
|
|
1557
|
-
var
|
|
1564
|
+
var _this196 = this;
|
|
1558
1565
|
return _asyncToGenerator(function* () {
|
|
1559
1566
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1560
|
-
return
|
|
1567
|
+
return _this196.authStream(callback, 'GET', "/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1561
1568
|
fields
|
|
1562
1569
|
}, null, options);
|
|
1563
1570
|
})();
|
|
1564
1571
|
}
|
|
1565
1572
|
update_dashboard_layout(callback, dashboard_layout_id, body, fields, options) {
|
|
1566
|
-
var
|
|
1573
|
+
var _this197 = this;
|
|
1567
1574
|
return _asyncToGenerator(function* () {
|
|
1568
1575
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1569
|
-
return
|
|
1576
|
+
return _this197.authStream(callback, 'PATCH', "/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1570
1577
|
fields
|
|
1571
1578
|
}, body, options);
|
|
1572
1579
|
})();
|
|
1573
1580
|
}
|
|
1574
1581
|
delete_dashboard_layout(callback, dashboard_layout_id, options) {
|
|
1575
|
-
var
|
|
1582
|
+
var _this198 = this;
|
|
1576
1583
|
return _asyncToGenerator(function* () {
|
|
1577
1584
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1578
|
-
return
|
|
1585
|
+
return _this198.authStream(callback, 'DELETE', "/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1579
1586
|
})();
|
|
1580
1587
|
}
|
|
1581
1588
|
dashboard_dashboard_layouts(callback, dashboard_id, fields, options) {
|
|
1582
|
-
var
|
|
1589
|
+
var _this199 = this;
|
|
1583
1590
|
return _asyncToGenerator(function* () {
|
|
1584
1591
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1585
|
-
return
|
|
1592
|
+
return _this199.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1586
1593
|
fields
|
|
1587
1594
|
}, null, options);
|
|
1588
1595
|
})();
|
|
1589
1596
|
}
|
|
1590
1597
|
create_dashboard_layout(callback, body, fields, options) {
|
|
1591
|
-
var
|
|
1598
|
+
var _this200 = this;
|
|
1592
1599
|
return _asyncToGenerator(function* () {
|
|
1593
|
-
return
|
|
1600
|
+
return _this200.authStream(callback, 'POST', '/dashboard_layouts', {
|
|
1594
1601
|
fields
|
|
1595
1602
|
}, body, options);
|
|
1596
1603
|
})();
|
|
1597
1604
|
}
|
|
1598
1605
|
perform_data_action(callback, body, options) {
|
|
1599
|
-
var
|
|
1606
|
+
var _this201 = this;
|
|
1600
1607
|
return _asyncToGenerator(function* () {
|
|
1601
|
-
return
|
|
1608
|
+
return _this201.authStream(callback, 'POST', '/data_actions', null, body, options);
|
|
1602
1609
|
})();
|
|
1603
1610
|
}
|
|
1604
1611
|
fetch_remote_data_action_form(callback, body, options) {
|
|
1605
|
-
var
|
|
1612
|
+
var _this202 = this;
|
|
1606
1613
|
return _asyncToGenerator(function* () {
|
|
1607
|
-
return
|
|
1614
|
+
return _this202.authStream(callback, 'POST', '/data_actions/form', null, body, options);
|
|
1608
1615
|
})();
|
|
1609
1616
|
}
|
|
1610
1617
|
all_datagroups(callback, options) {
|
|
1611
|
-
var
|
|
1618
|
+
var _this203 = this;
|
|
1612
1619
|
return _asyncToGenerator(function* () {
|
|
1613
|
-
return
|
|
1620
|
+
return _this203.authStream(callback, 'GET', '/datagroups', null, null, options);
|
|
1614
1621
|
})();
|
|
1615
1622
|
}
|
|
1616
1623
|
datagroup(callback, datagroup_id, options) {
|
|
1617
|
-
var
|
|
1624
|
+
var _this204 = this;
|
|
1618
1625
|
return _asyncToGenerator(function* () {
|
|
1619
1626
|
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1620
|
-
return
|
|
1627
|
+
return _this204.authStream(callback, 'GET', "/datagroups/".concat(datagroup_id), null, null, options);
|
|
1621
1628
|
})();
|
|
1622
1629
|
}
|
|
1623
1630
|
update_datagroup(callback, datagroup_id, body, options) {
|
|
1624
|
-
var
|
|
1631
|
+
var _this205 = this;
|
|
1625
1632
|
return _asyncToGenerator(function* () {
|
|
1626
1633
|
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1627
|
-
return
|
|
1634
|
+
return _this205.authStream(callback, 'PATCH', "/datagroups/".concat(datagroup_id), null, body, options);
|
|
1628
1635
|
})();
|
|
1629
1636
|
}
|
|
1630
1637
|
graph_derived_tables_for_model(callback, request, options) {
|
|
1631
|
-
var
|
|
1638
|
+
var _this206 = this;
|
|
1632
1639
|
return _asyncToGenerator(function* () {
|
|
1633
1640
|
request.model = (0, _sdkRtl.encodeParam)(request.model);
|
|
1634
|
-
return
|
|
1641
|
+
return _this206.authStream(callback, 'GET', "/derived_table/graph/model/".concat(request.model), {
|
|
1635
1642
|
format: request.format,
|
|
1636
1643
|
color: request.color
|
|
1637
1644
|
}, null, options);
|
|
1638
1645
|
})();
|
|
1639
1646
|
}
|
|
1640
1647
|
graph_derived_tables_for_view(callback, request, options) {
|
|
1641
|
-
var
|
|
1648
|
+
var _this207 = this;
|
|
1642
1649
|
return _asyncToGenerator(function* () {
|
|
1643
1650
|
request.view = (0, _sdkRtl.encodeParam)(request.view);
|
|
1644
|
-
return
|
|
1651
|
+
return _this207.authStream(callback, 'GET', "/derived_table/graph/view/".concat(request.view), {
|
|
1645
1652
|
models: request.models,
|
|
1646
1653
|
workspace: request.workspace
|
|
1647
1654
|
}, null, options);
|
|
1648
1655
|
})();
|
|
1649
1656
|
}
|
|
1650
1657
|
start_pdt_build(callback, request, options) {
|
|
1651
|
-
var
|
|
1658
|
+
var _this208 = this;
|
|
1652
1659
|
return _asyncToGenerator(function* () {
|
|
1653
1660
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
1654
1661
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
1655
|
-
return
|
|
1662
|
+
return _this208.authStream(callback, 'GET', "/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1656
1663
|
force_rebuild: request.force_rebuild,
|
|
1657
1664
|
force_full_incremental: request.force_full_incremental,
|
|
1658
1665
|
workspace: request.workspace,
|
|
@@ -1661,25 +1668,25 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1661
1668
|
})();
|
|
1662
1669
|
}
|
|
1663
1670
|
check_pdt_build(callback, materialization_id, options) {
|
|
1664
|
-
var
|
|
1671
|
+
var _this209 = this;
|
|
1665
1672
|
return _asyncToGenerator(function* () {
|
|
1666
1673
|
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1667
|
-
return
|
|
1674
|
+
return _this209.authStream(callback, 'GET', "/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1668
1675
|
})();
|
|
1669
1676
|
}
|
|
1670
1677
|
stop_pdt_build(callback, materialization_id, source, options) {
|
|
1671
|
-
var
|
|
1678
|
+
var _this210 = this;
|
|
1672
1679
|
return _asyncToGenerator(function* () {
|
|
1673
1680
|
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1674
|
-
return
|
|
1681
|
+
return _this210.authStream(callback, 'GET', "/derived_table/".concat(materialization_id, "/stop"), {
|
|
1675
1682
|
source
|
|
1676
1683
|
}, null, options);
|
|
1677
1684
|
})();
|
|
1678
1685
|
}
|
|
1679
1686
|
search_folders(callback, request, options) {
|
|
1680
|
-
var
|
|
1687
|
+
var _this211 = this;
|
|
1681
1688
|
return _asyncToGenerator(function* () {
|
|
1682
|
-
return
|
|
1689
|
+
return _this211.authStream(callback, 'GET', '/folders/search', {
|
|
1683
1690
|
fields: request.fields,
|
|
1684
1691
|
page: request.page,
|
|
1685
1692
|
per_page: request.per_page,
|
|
@@ -1697,47 +1704,47 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1697
1704
|
})();
|
|
1698
1705
|
}
|
|
1699
1706
|
folder(callback, folder_id, fields, options) {
|
|
1700
|
-
var
|
|
1707
|
+
var _this212 = this;
|
|
1701
1708
|
return _asyncToGenerator(function* () {
|
|
1702
1709
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1703
|
-
return
|
|
1710
|
+
return _this212.authStream(callback, 'GET', "/folders/".concat(folder_id), {
|
|
1704
1711
|
fields
|
|
1705
1712
|
}, null, options);
|
|
1706
1713
|
})();
|
|
1707
1714
|
}
|
|
1708
1715
|
update_folder(callback, folder_id, body, options) {
|
|
1709
|
-
var
|
|
1716
|
+
var _this213 = this;
|
|
1710
1717
|
return _asyncToGenerator(function* () {
|
|
1711
1718
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1712
|
-
return
|
|
1719
|
+
return _this213.authStream(callback, 'PATCH', "/folders/".concat(folder_id), null, body, options);
|
|
1713
1720
|
})();
|
|
1714
1721
|
}
|
|
1715
1722
|
delete_folder(callback, folder_id, options) {
|
|
1716
|
-
var
|
|
1723
|
+
var _this214 = this;
|
|
1717
1724
|
return _asyncToGenerator(function* () {
|
|
1718
1725
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1719
|
-
return
|
|
1726
|
+
return _this214.authStream(callback, 'DELETE', "/folders/".concat(folder_id), null, null, options);
|
|
1720
1727
|
})();
|
|
1721
1728
|
}
|
|
1722
1729
|
all_folders(callback, fields, options) {
|
|
1723
|
-
var
|
|
1730
|
+
var _this215 = this;
|
|
1724
1731
|
return _asyncToGenerator(function* () {
|
|
1725
|
-
return
|
|
1732
|
+
return _this215.authStream(callback, 'GET', '/folders', {
|
|
1726
1733
|
fields
|
|
1727
1734
|
}, null, options);
|
|
1728
1735
|
})();
|
|
1729
1736
|
}
|
|
1730
1737
|
create_folder(callback, body, options) {
|
|
1731
|
-
var
|
|
1738
|
+
var _this216 = this;
|
|
1732
1739
|
return _asyncToGenerator(function* () {
|
|
1733
|
-
return
|
|
1740
|
+
return _this216.authStream(callback, 'POST', '/folders', null, body, options);
|
|
1734
1741
|
})();
|
|
1735
1742
|
}
|
|
1736
1743
|
folder_children(callback, request, options) {
|
|
1737
|
-
var
|
|
1744
|
+
var _this217 = this;
|
|
1738
1745
|
return _asyncToGenerator(function* () {
|
|
1739
1746
|
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1740
|
-
return
|
|
1747
|
+
return _this217.authStream(callback, 'GET', "/folders/".concat(request.folder_id, "/children"), {
|
|
1741
1748
|
fields: request.fields,
|
|
1742
1749
|
page: request.page,
|
|
1743
1750
|
per_page: request.per_page,
|
|
@@ -1748,10 +1755,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1748
1755
|
})();
|
|
1749
1756
|
}
|
|
1750
1757
|
folder_children_search(callback, request, options) {
|
|
1751
|
-
var
|
|
1758
|
+
var _this218 = this;
|
|
1752
1759
|
return _asyncToGenerator(function* () {
|
|
1753
1760
|
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
1754
|
-
return
|
|
1761
|
+
return _this218.authStream(callback, 'GET', "/folders/".concat(request.folder_id, "/children/search"), {
|
|
1755
1762
|
fields: request.fields,
|
|
1756
1763
|
sorts: request.sorts,
|
|
1757
1764
|
name: request.name
|
|
@@ -1759,45 +1766,45 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1759
1766
|
})();
|
|
1760
1767
|
}
|
|
1761
1768
|
folder_parent(callback, folder_id, fields, options) {
|
|
1762
|
-
var
|
|
1769
|
+
var _this219 = this;
|
|
1763
1770
|
return _asyncToGenerator(function* () {
|
|
1764
1771
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1765
|
-
return
|
|
1772
|
+
return _this219.authStream(callback, 'GET', "/folders/".concat(folder_id, "/parent"), {
|
|
1766
1773
|
fields
|
|
1767
1774
|
}, null, options);
|
|
1768
1775
|
})();
|
|
1769
1776
|
}
|
|
1770
1777
|
folder_ancestors(callback, folder_id, fields, options) {
|
|
1771
|
-
var
|
|
1778
|
+
var _this220 = this;
|
|
1772
1779
|
return _asyncToGenerator(function* () {
|
|
1773
1780
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1774
|
-
return
|
|
1781
|
+
return _this220.authStream(callback, 'GET', "/folders/".concat(folder_id, "/ancestors"), {
|
|
1775
1782
|
fields
|
|
1776
1783
|
}, null, options);
|
|
1777
1784
|
})();
|
|
1778
1785
|
}
|
|
1779
1786
|
folder_looks(callback, folder_id, fields, options) {
|
|
1780
|
-
var
|
|
1787
|
+
var _this221 = this;
|
|
1781
1788
|
return _asyncToGenerator(function* () {
|
|
1782
1789
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1783
|
-
return
|
|
1790
|
+
return _this221.authStream(callback, 'GET', "/folders/".concat(folder_id, "/looks"), {
|
|
1784
1791
|
fields
|
|
1785
1792
|
}, null, options);
|
|
1786
1793
|
})();
|
|
1787
1794
|
}
|
|
1788
1795
|
folder_dashboards(callback, folder_id, fields, options) {
|
|
1789
|
-
var
|
|
1796
|
+
var _this222 = this;
|
|
1790
1797
|
return _asyncToGenerator(function* () {
|
|
1791
1798
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1792
|
-
return
|
|
1799
|
+
return _this222.authStream(callback, 'GET', "/folders/".concat(folder_id, "/dashboards"), {
|
|
1793
1800
|
fields
|
|
1794
1801
|
}, null, options);
|
|
1795
1802
|
})();
|
|
1796
1803
|
}
|
|
1797
1804
|
all_groups(callback, request, options) {
|
|
1798
|
-
var
|
|
1805
|
+
var _this223 = this;
|
|
1799
1806
|
return _asyncToGenerator(function* () {
|
|
1800
|
-
return
|
|
1807
|
+
return _this223.authStream(callback, 'GET', '/groups', {
|
|
1801
1808
|
fields: request.fields,
|
|
1802
1809
|
page: request.page,
|
|
1803
1810
|
per_page: request.per_page,
|
|
@@ -1811,17 +1818,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1811
1818
|
})();
|
|
1812
1819
|
}
|
|
1813
1820
|
create_group(callback, body, fields, options) {
|
|
1814
|
-
var
|
|
1821
|
+
var _this224 = this;
|
|
1815
1822
|
return _asyncToGenerator(function* () {
|
|
1816
|
-
return
|
|
1823
|
+
return _this224.authStream(callback, 'POST', '/groups', {
|
|
1817
1824
|
fields
|
|
1818
1825
|
}, body, options);
|
|
1819
1826
|
})();
|
|
1820
1827
|
}
|
|
1821
1828
|
search_groups(callback, request, options) {
|
|
1822
|
-
var
|
|
1829
|
+
var _this225 = this;
|
|
1823
1830
|
return _asyncToGenerator(function* () {
|
|
1824
|
-
return
|
|
1831
|
+
return _this225.authStream(callback, 'GET', '/groups/search', {
|
|
1825
1832
|
fields: request.fields,
|
|
1826
1833
|
limit: request.limit,
|
|
1827
1834
|
offset: request.offset,
|
|
@@ -1836,9 +1843,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1836
1843
|
})();
|
|
1837
1844
|
}
|
|
1838
1845
|
search_groups_with_roles(callback, request, options) {
|
|
1839
|
-
var
|
|
1846
|
+
var _this226 = this;
|
|
1840
1847
|
return _asyncToGenerator(function* () {
|
|
1841
|
-
return
|
|
1848
|
+
return _this226.authStream(callback, 'GET', '/groups/search/with_roles', {
|
|
1842
1849
|
fields: request.fields,
|
|
1843
1850
|
limit: request.limit,
|
|
1844
1851
|
offset: request.offset,
|
|
@@ -1853,9 +1860,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1853
1860
|
})();
|
|
1854
1861
|
}
|
|
1855
1862
|
search_groups_with_hierarchy(callback, request, options) {
|
|
1856
|
-
var
|
|
1863
|
+
var _this227 = this;
|
|
1857
1864
|
return _asyncToGenerator(function* () {
|
|
1858
|
-
return
|
|
1865
|
+
return _this227.authStream(callback, 'GET', '/groups/search/with_hierarchy', {
|
|
1859
1866
|
fields: request.fields,
|
|
1860
1867
|
limit: request.limit,
|
|
1861
1868
|
offset: request.offset,
|
|
@@ -1870,51 +1877,51 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1870
1877
|
})();
|
|
1871
1878
|
}
|
|
1872
1879
|
group(callback, group_id, fields, options) {
|
|
1873
|
-
var
|
|
1880
|
+
var _this228 = this;
|
|
1874
1881
|
return _asyncToGenerator(function* () {
|
|
1875
1882
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1876
|
-
return
|
|
1883
|
+
return _this228.authStream(callback, 'GET', "/groups/".concat(group_id), {
|
|
1877
1884
|
fields
|
|
1878
1885
|
}, null, options);
|
|
1879
1886
|
})();
|
|
1880
1887
|
}
|
|
1881
1888
|
update_group(callback, group_id, body, fields, options) {
|
|
1882
|
-
var
|
|
1889
|
+
var _this229 = this;
|
|
1883
1890
|
return _asyncToGenerator(function* () {
|
|
1884
1891
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1885
|
-
return
|
|
1892
|
+
return _this229.authStream(callback, 'PATCH', "/groups/".concat(group_id), {
|
|
1886
1893
|
fields
|
|
1887
1894
|
}, body, options);
|
|
1888
1895
|
})();
|
|
1889
1896
|
}
|
|
1890
1897
|
delete_group(callback, group_id, options) {
|
|
1891
|
-
var
|
|
1898
|
+
var _this230 = this;
|
|
1892
1899
|
return _asyncToGenerator(function* () {
|
|
1893
1900
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1894
|
-
return
|
|
1901
|
+
return _this230.authStream(callback, 'DELETE', "/groups/".concat(group_id), null, null, options);
|
|
1895
1902
|
})();
|
|
1896
1903
|
}
|
|
1897
1904
|
all_group_groups(callback, group_id, fields, options) {
|
|
1898
|
-
var
|
|
1905
|
+
var _this231 = this;
|
|
1899
1906
|
return _asyncToGenerator(function* () {
|
|
1900
1907
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1901
|
-
return
|
|
1908
|
+
return _this231.authStream(callback, 'GET', "/groups/".concat(group_id, "/groups"), {
|
|
1902
1909
|
fields
|
|
1903
1910
|
}, null, options);
|
|
1904
1911
|
})();
|
|
1905
1912
|
}
|
|
1906
1913
|
add_group_group(callback, group_id, body, options) {
|
|
1907
|
-
var
|
|
1914
|
+
var _this232 = this;
|
|
1908
1915
|
return _asyncToGenerator(function* () {
|
|
1909
1916
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1910
|
-
return
|
|
1917
|
+
return _this232.authStream(callback, 'POST', "/groups/".concat(group_id, "/groups"), null, body, options);
|
|
1911
1918
|
})();
|
|
1912
1919
|
}
|
|
1913
1920
|
all_group_users(callback, request, options) {
|
|
1914
|
-
var
|
|
1921
|
+
var _this233 = this;
|
|
1915
1922
|
return _asyncToGenerator(function* () {
|
|
1916
1923
|
request.group_id = (0, _sdkRtl.encodeParam)(request.group_id);
|
|
1917
|
-
return
|
|
1924
|
+
return _this233.authStream(callback, 'GET', "/groups/".concat(request.group_id, "/users"), {
|
|
1918
1925
|
fields: request.fields,
|
|
1919
1926
|
page: request.page,
|
|
1920
1927
|
per_page: request.per_page,
|
|
@@ -1925,161 +1932,161 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1925
1932
|
})();
|
|
1926
1933
|
}
|
|
1927
1934
|
add_group_user(callback, group_id, body, options) {
|
|
1928
|
-
var
|
|
1935
|
+
var _this234 = this;
|
|
1929
1936
|
return _asyncToGenerator(function* () {
|
|
1930
1937
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1931
|
-
return
|
|
1938
|
+
return _this234.authStream(callback, 'POST', "/groups/".concat(group_id, "/users"), null, body, options);
|
|
1932
1939
|
})();
|
|
1933
1940
|
}
|
|
1934
1941
|
delete_group_user(callback, group_id, user_id, options) {
|
|
1935
|
-
var
|
|
1942
|
+
var _this235 = this;
|
|
1936
1943
|
return _asyncToGenerator(function* () {
|
|
1937
1944
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1938
1945
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
1939
|
-
return
|
|
1946
|
+
return _this235.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
1940
1947
|
})();
|
|
1941
1948
|
}
|
|
1942
1949
|
delete_group_from_group(callback, group_id, deleting_group_id, options) {
|
|
1943
|
-
var
|
|
1950
|
+
var _this236 = this;
|
|
1944
1951
|
return _asyncToGenerator(function* () {
|
|
1945
1952
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1946
1953
|
deleting_group_id = (0, _sdkRtl.encodeParam)(deleting_group_id);
|
|
1947
|
-
return
|
|
1954
|
+
return _this236.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
1948
1955
|
})();
|
|
1949
1956
|
}
|
|
1950
1957
|
update_user_attribute_group_value(callback, group_id, user_attribute_id, body, options) {
|
|
1951
|
-
var
|
|
1958
|
+
var _this237 = this;
|
|
1952
1959
|
return _asyncToGenerator(function* () {
|
|
1953
1960
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1954
1961
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
1955
|
-
return
|
|
1962
|
+
return _this237.authStream(callback, 'PATCH', "/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
1956
1963
|
})();
|
|
1957
1964
|
}
|
|
1958
1965
|
delete_user_attribute_group_value(callback, group_id, user_attribute_id, options) {
|
|
1959
|
-
var
|
|
1966
|
+
var _this238 = this;
|
|
1960
1967
|
return _asyncToGenerator(function* () {
|
|
1961
1968
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
1962
1969
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
1963
|
-
return
|
|
1970
|
+
return _this238.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
1964
1971
|
})();
|
|
1965
1972
|
}
|
|
1966
1973
|
all_primary_homepage_sections(callback, fields, options) {
|
|
1967
|
-
var
|
|
1974
|
+
var _this239 = this;
|
|
1968
1975
|
return _asyncToGenerator(function* () {
|
|
1969
|
-
return
|
|
1976
|
+
return _this239.authStream(callback, 'GET', '/primary_homepage_sections', {
|
|
1970
1977
|
fields
|
|
1971
1978
|
}, null, options);
|
|
1972
1979
|
})();
|
|
1973
1980
|
}
|
|
1974
1981
|
all_integration_hubs(callback, fields, options) {
|
|
1975
|
-
var
|
|
1982
|
+
var _this240 = this;
|
|
1976
1983
|
return _asyncToGenerator(function* () {
|
|
1977
|
-
return
|
|
1984
|
+
return _this240.authStream(callback, 'GET', '/integration_hubs', {
|
|
1978
1985
|
fields
|
|
1979
1986
|
}, null, options);
|
|
1980
1987
|
})();
|
|
1981
1988
|
}
|
|
1982
1989
|
create_integration_hub(callback, body, fields, options) {
|
|
1983
|
-
var
|
|
1990
|
+
var _this241 = this;
|
|
1984
1991
|
return _asyncToGenerator(function* () {
|
|
1985
|
-
return
|
|
1992
|
+
return _this241.authStream(callback, 'POST', '/integration_hubs', {
|
|
1986
1993
|
fields
|
|
1987
1994
|
}, body, options);
|
|
1988
1995
|
})();
|
|
1989
1996
|
}
|
|
1990
1997
|
integration_hub(callback, integration_hub_id, fields, options) {
|
|
1991
|
-
var
|
|
1998
|
+
var _this242 = this;
|
|
1992
1999
|
return _asyncToGenerator(function* () {
|
|
1993
2000
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
1994
|
-
return
|
|
2001
|
+
return _this242.authStream(callback, 'GET', "/integration_hubs/".concat(integration_hub_id), {
|
|
1995
2002
|
fields
|
|
1996
2003
|
}, null, options);
|
|
1997
2004
|
})();
|
|
1998
2005
|
}
|
|
1999
2006
|
update_integration_hub(callback, integration_hub_id, body, fields, options) {
|
|
2000
|
-
var
|
|
2007
|
+
var _this243 = this;
|
|
2001
2008
|
return _asyncToGenerator(function* () {
|
|
2002
2009
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2003
|
-
return
|
|
2010
|
+
return _this243.authStream(callback, 'PATCH', "/integration_hubs/".concat(integration_hub_id), {
|
|
2004
2011
|
fields
|
|
2005
2012
|
}, body, options);
|
|
2006
2013
|
})();
|
|
2007
2014
|
}
|
|
2008
2015
|
delete_integration_hub(callback, integration_hub_id, options) {
|
|
2009
|
-
var
|
|
2016
|
+
var _this244 = this;
|
|
2010
2017
|
return _asyncToGenerator(function* () {
|
|
2011
2018
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2012
|
-
return
|
|
2019
|
+
return _this244.authStream(callback, 'DELETE', "/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
2013
2020
|
})();
|
|
2014
2021
|
}
|
|
2015
2022
|
accept_integration_hub_legal_agreement(callback, integration_hub_id, options) {
|
|
2016
|
-
var
|
|
2023
|
+
var _this245 = this;
|
|
2017
2024
|
return _asyncToGenerator(function* () {
|
|
2018
2025
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2019
|
-
return
|
|
2026
|
+
return _this245.authStream(callback, 'POST', "/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
2020
2027
|
})();
|
|
2021
2028
|
}
|
|
2022
2029
|
all_integrations(callback, request, options) {
|
|
2023
|
-
var
|
|
2030
|
+
var _this246 = this;
|
|
2024
2031
|
return _asyncToGenerator(function* () {
|
|
2025
|
-
return
|
|
2032
|
+
return _this246.authStream(callback, 'GET', '/integrations', {
|
|
2026
2033
|
fields: request.fields,
|
|
2027
2034
|
integration_hub_id: request.integration_hub_id
|
|
2028
2035
|
}, null, options);
|
|
2029
2036
|
})();
|
|
2030
2037
|
}
|
|
2031
2038
|
integration(callback, integration_id, fields, options) {
|
|
2032
|
-
var
|
|
2039
|
+
var _this247 = this;
|
|
2033
2040
|
return _asyncToGenerator(function* () {
|
|
2034
2041
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2035
|
-
return
|
|
2042
|
+
return _this247.authStream(callback, 'GET', "/integrations/".concat(integration_id), {
|
|
2036
2043
|
fields
|
|
2037
2044
|
}, null, options);
|
|
2038
2045
|
})();
|
|
2039
2046
|
}
|
|
2040
2047
|
update_integration(callback, integration_id, body, fields, options) {
|
|
2041
|
-
var
|
|
2048
|
+
var _this248 = this;
|
|
2042
2049
|
return _asyncToGenerator(function* () {
|
|
2043
2050
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2044
|
-
return
|
|
2051
|
+
return _this248.authStream(callback, 'PATCH', "/integrations/".concat(integration_id), {
|
|
2045
2052
|
fields
|
|
2046
2053
|
}, body, options);
|
|
2047
2054
|
})();
|
|
2048
2055
|
}
|
|
2049
2056
|
fetch_integration_form(callback, integration_id, body, options) {
|
|
2050
|
-
var
|
|
2057
|
+
var _this249 = this;
|
|
2051
2058
|
return _asyncToGenerator(function* () {
|
|
2052
2059
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2053
|
-
return
|
|
2060
|
+
return _this249.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
2054
2061
|
})();
|
|
2055
2062
|
}
|
|
2056
2063
|
test_integration(callback, integration_id, options) {
|
|
2057
|
-
var
|
|
2064
|
+
var _this250 = this;
|
|
2058
2065
|
return _asyncToGenerator(function* () {
|
|
2059
2066
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2060
|
-
return
|
|
2067
|
+
return _this250.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2061
2068
|
})();
|
|
2062
2069
|
}
|
|
2063
2070
|
all_looks(callback, fields, options) {
|
|
2064
|
-
var
|
|
2071
|
+
var _this251 = this;
|
|
2065
2072
|
return _asyncToGenerator(function* () {
|
|
2066
|
-
return
|
|
2073
|
+
return _this251.authStream(callback, 'GET', '/looks', {
|
|
2067
2074
|
fields
|
|
2068
2075
|
}, null, options);
|
|
2069
2076
|
})();
|
|
2070
2077
|
}
|
|
2071
2078
|
create_look(callback, body, fields, options) {
|
|
2072
|
-
var
|
|
2079
|
+
var _this252 = this;
|
|
2073
2080
|
return _asyncToGenerator(function* () {
|
|
2074
|
-
return
|
|
2081
|
+
return _this252.authStream(callback, 'POST', '/looks', {
|
|
2075
2082
|
fields
|
|
2076
2083
|
}, body, options);
|
|
2077
2084
|
})();
|
|
2078
2085
|
}
|
|
2079
2086
|
search_looks(callback, request, options) {
|
|
2080
|
-
var
|
|
2087
|
+
var _this253 = this;
|
|
2081
2088
|
return _asyncToGenerator(function* () {
|
|
2082
|
-
return
|
|
2089
|
+
return _this253.authStream(callback, 'GET', '/looks/search', {
|
|
2083
2090
|
id: request.id,
|
|
2084
2091
|
title: request.title,
|
|
2085
2092
|
description: request.description,
|
|
@@ -2102,36 +2109,36 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2102
2109
|
})();
|
|
2103
2110
|
}
|
|
2104
2111
|
look(callback, look_id, fields, options) {
|
|
2105
|
-
var
|
|
2112
|
+
var _this254 = this;
|
|
2106
2113
|
return _asyncToGenerator(function* () {
|
|
2107
2114
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2108
|
-
return
|
|
2115
|
+
return _this254.authStream(callback, 'GET', "/looks/".concat(look_id), {
|
|
2109
2116
|
fields
|
|
2110
2117
|
}, null, options);
|
|
2111
2118
|
})();
|
|
2112
2119
|
}
|
|
2113
2120
|
update_look(callback, look_id, body, fields, options) {
|
|
2114
|
-
var
|
|
2121
|
+
var _this255 = this;
|
|
2115
2122
|
return _asyncToGenerator(function* () {
|
|
2116
2123
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2117
|
-
return
|
|
2124
|
+
return _this255.authStream(callback, 'PATCH', "/looks/".concat(look_id), {
|
|
2118
2125
|
fields
|
|
2119
2126
|
}, body, options);
|
|
2120
2127
|
})();
|
|
2121
2128
|
}
|
|
2122
2129
|
delete_look(callback, look_id, options) {
|
|
2123
|
-
var
|
|
2130
|
+
var _this256 = this;
|
|
2124
2131
|
return _asyncToGenerator(function* () {
|
|
2125
2132
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2126
|
-
return
|
|
2133
|
+
return _this256.authStream(callback, 'DELETE', "/looks/".concat(look_id), null, null, options);
|
|
2127
2134
|
})();
|
|
2128
2135
|
}
|
|
2129
2136
|
run_look(callback, request, options) {
|
|
2130
|
-
var
|
|
2137
|
+
var _this257 = this;
|
|
2131
2138
|
return _asyncToGenerator(function* () {
|
|
2132
2139
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
2133
2140
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2134
|
-
return
|
|
2141
|
+
return _this257.authStream(callback, 'GET', "/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2135
2142
|
limit: request.limit,
|
|
2136
2143
|
apply_formatting: request.apply_formatting,
|
|
2137
2144
|
apply_vis: request.apply_vis,
|
|
@@ -2148,27 +2155,27 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2148
2155
|
})();
|
|
2149
2156
|
}
|
|
2150
2157
|
copy_look(callback, look_id, folder_id, options) {
|
|
2151
|
-
var
|
|
2158
|
+
var _this258 = this;
|
|
2152
2159
|
return _asyncToGenerator(function* () {
|
|
2153
2160
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2154
|
-
return
|
|
2161
|
+
return _this258.authStream(callback, 'POST', "/looks/".concat(look_id, "/copy"), {
|
|
2155
2162
|
folder_id
|
|
2156
2163
|
}, null, options);
|
|
2157
2164
|
})();
|
|
2158
2165
|
}
|
|
2159
2166
|
move_look(callback, look_id, folder_id, options) {
|
|
2160
|
-
var
|
|
2167
|
+
var _this259 = this;
|
|
2161
2168
|
return _asyncToGenerator(function* () {
|
|
2162
2169
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2163
|
-
return
|
|
2170
|
+
return _this259.authStream(callback, 'PATCH', "/looks/".concat(look_id, "/move"), {
|
|
2164
2171
|
folder_id
|
|
2165
2172
|
}, null, options);
|
|
2166
2173
|
})();
|
|
2167
2174
|
}
|
|
2168
2175
|
all_lookml_models(callback, request, options) {
|
|
2169
|
-
var
|
|
2176
|
+
var _this260 = this;
|
|
2170
2177
|
return _asyncToGenerator(function* () {
|
|
2171
|
-
return
|
|
2178
|
+
return _this260.authStream(callback, 'GET', '/lookml_models', {
|
|
2172
2179
|
fields: request.fields,
|
|
2173
2180
|
limit: request.limit,
|
|
2174
2181
|
offset: request.offset
|
|
@@ -2176,85 +2183,85 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2176
2183
|
})();
|
|
2177
2184
|
}
|
|
2178
2185
|
create_lookml_model(callback, body, options) {
|
|
2179
|
-
var
|
|
2186
|
+
var _this261 = this;
|
|
2180
2187
|
return _asyncToGenerator(function* () {
|
|
2181
|
-
return
|
|
2188
|
+
return _this261.authStream(callback, 'POST', '/lookml_models', null, body, options);
|
|
2182
2189
|
})();
|
|
2183
2190
|
}
|
|
2184
2191
|
lookml_model(callback, lookml_model_name, fields, options) {
|
|
2185
|
-
var
|
|
2192
|
+
var _this262 = this;
|
|
2186
2193
|
return _asyncToGenerator(function* () {
|
|
2187
2194
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2188
|
-
return
|
|
2195
|
+
return _this262.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name), {
|
|
2189
2196
|
fields
|
|
2190
2197
|
}, null, options);
|
|
2191
2198
|
})();
|
|
2192
2199
|
}
|
|
2193
2200
|
update_lookml_model(callback, lookml_model_name, body, options) {
|
|
2194
|
-
var
|
|
2201
|
+
var _this263 = this;
|
|
2195
2202
|
return _asyncToGenerator(function* () {
|
|
2196
2203
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2197
|
-
return
|
|
2204
|
+
return _this263.authStream(callback, 'PATCH', "/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2198
2205
|
})();
|
|
2199
2206
|
}
|
|
2200
2207
|
delete_lookml_model(callback, lookml_model_name, options) {
|
|
2201
|
-
var
|
|
2208
|
+
var _this264 = this;
|
|
2202
2209
|
return _asyncToGenerator(function* () {
|
|
2203
2210
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2204
|
-
return
|
|
2211
|
+
return _this264.authStream(callback, 'DELETE', "/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2205
2212
|
})();
|
|
2206
2213
|
}
|
|
2207
2214
|
lookml_model_explore(callback, request, options) {
|
|
2208
|
-
var
|
|
2215
|
+
var _this265 = this;
|
|
2209
2216
|
return _asyncToGenerator(function* () {
|
|
2210
2217
|
request.lookml_model_name = (0, _sdkRtl.encodeParam)(request.lookml_model_name);
|
|
2211
2218
|
request.explore_name = (0, _sdkRtl.encodeParam)(request.explore_name);
|
|
2212
|
-
return
|
|
2219
|
+
return _this265.authStream(callback, 'GET', "/lookml_models/".concat(request.lookml_model_name, "/explores/").concat(request.explore_name), {
|
|
2213
2220
|
fields: request.fields,
|
|
2214
2221
|
add_drills_metadata: request.add_drills_metadata
|
|
2215
2222
|
}, null, options);
|
|
2216
2223
|
})();
|
|
2217
2224
|
}
|
|
2218
2225
|
model_fieldname_suggestions(callback, request, options) {
|
|
2219
|
-
var
|
|
2226
|
+
var _this266 = this;
|
|
2220
2227
|
return _asyncToGenerator(function* () {
|
|
2221
2228
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
2222
2229
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
2223
2230
|
request.field_name = (0, _sdkRtl.encodeParam)(request.field_name);
|
|
2224
|
-
return
|
|
2231
|
+
return _this266.authStream(callback, 'GET', "/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2225
2232
|
term: request.term,
|
|
2226
2233
|
filters: request.filters
|
|
2227
2234
|
}, null, options);
|
|
2228
2235
|
})();
|
|
2229
2236
|
}
|
|
2230
2237
|
get_model(callback, model_name, options) {
|
|
2231
|
-
var
|
|
2238
|
+
var _this267 = this;
|
|
2232
2239
|
return _asyncToGenerator(function* () {
|
|
2233
2240
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2234
|
-
return
|
|
2241
|
+
return _this267.authStream(callback, 'GET', "/models/".concat(model_name), null, null, options);
|
|
2235
2242
|
})();
|
|
2236
2243
|
}
|
|
2237
2244
|
connection_databases(callback, connection_name, options) {
|
|
2238
|
-
var
|
|
2245
|
+
var _this268 = this;
|
|
2239
2246
|
return _asyncToGenerator(function* () {
|
|
2240
2247
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2241
|
-
return
|
|
2248
|
+
return _this268.authStream(callback, 'GET', "/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2242
2249
|
})();
|
|
2243
2250
|
}
|
|
2244
2251
|
connection_features(callback, connection_name, fields, options) {
|
|
2245
|
-
var
|
|
2252
|
+
var _this269 = this;
|
|
2246
2253
|
return _asyncToGenerator(function* () {
|
|
2247
2254
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2248
|
-
return
|
|
2255
|
+
return _this269.authStream(callback, 'GET', "/connections/".concat(connection_name, "/features"), {
|
|
2249
2256
|
fields
|
|
2250
2257
|
}, null, options);
|
|
2251
2258
|
})();
|
|
2252
2259
|
}
|
|
2253
2260
|
connection_schemas(callback, request, options) {
|
|
2254
|
-
var
|
|
2261
|
+
var _this270 = this;
|
|
2255
2262
|
return _asyncToGenerator(function* () {
|
|
2256
2263
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2257
|
-
return
|
|
2264
|
+
return _this270.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/schemas"), {
|
|
2258
2265
|
database: request.database,
|
|
2259
2266
|
cache: request.cache,
|
|
2260
2267
|
fields: request.fields
|
|
@@ -2262,10 +2269,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2262
2269
|
})();
|
|
2263
2270
|
}
|
|
2264
2271
|
connection_tables(callback, request, options) {
|
|
2265
|
-
var
|
|
2272
|
+
var _this271 = this;
|
|
2266
2273
|
return _asyncToGenerator(function* () {
|
|
2267
2274
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2268
|
-
return
|
|
2275
|
+
return _this271.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/tables"), {
|
|
2269
2276
|
database: request.database,
|
|
2270
2277
|
schema_name: request.schema_name,
|
|
2271
2278
|
cache: request.cache,
|
|
@@ -2276,10 +2283,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2276
2283
|
})();
|
|
2277
2284
|
}
|
|
2278
2285
|
connection_columns(callback, request, options) {
|
|
2279
|
-
var
|
|
2286
|
+
var _this272 = this;
|
|
2280
2287
|
return _asyncToGenerator(function* () {
|
|
2281
2288
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2282
|
-
return
|
|
2289
|
+
return _this272.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/columns"), {
|
|
2283
2290
|
database: request.database,
|
|
2284
2291
|
schema_name: request.schema_name,
|
|
2285
2292
|
cache: request.cache,
|
|
@@ -2290,241 +2297,241 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2290
2297
|
})();
|
|
2291
2298
|
}
|
|
2292
2299
|
connection_search_columns(callback, request, options) {
|
|
2293
|
-
var
|
|
2300
|
+
var _this273 = this;
|
|
2294
2301
|
return _asyncToGenerator(function* () {
|
|
2295
2302
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2296
|
-
return
|
|
2303
|
+
return _this273.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2297
2304
|
column_name: request.column_name,
|
|
2298
2305
|
fields: request.fields
|
|
2299
2306
|
}, null, options);
|
|
2300
2307
|
})();
|
|
2301
2308
|
}
|
|
2302
2309
|
connection_cost_estimate(callback, connection_name, body, fields, options) {
|
|
2303
|
-
var
|
|
2310
|
+
var _this274 = this;
|
|
2304
2311
|
return _asyncToGenerator(function* () {
|
|
2305
2312
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2306
|
-
return
|
|
2313
|
+
return _this274.authStream(callback, 'POST', "/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2307
2314
|
fields
|
|
2308
2315
|
}, body, options);
|
|
2309
2316
|
})();
|
|
2310
2317
|
}
|
|
2311
2318
|
lock_all(callback, project_id, fields, options) {
|
|
2312
|
-
var
|
|
2319
|
+
var _this275 = this;
|
|
2313
2320
|
return _asyncToGenerator(function* () {
|
|
2314
2321
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2315
|
-
return
|
|
2322
|
+
return _this275.authStream(callback, 'POST', "/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2316
2323
|
fields
|
|
2317
2324
|
}, null, options);
|
|
2318
2325
|
})();
|
|
2319
2326
|
}
|
|
2320
2327
|
all_git_branches(callback, project_id, options) {
|
|
2321
|
-
var
|
|
2328
|
+
var _this276 = this;
|
|
2322
2329
|
return _asyncToGenerator(function* () {
|
|
2323
2330
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2324
|
-
return
|
|
2331
|
+
return _this276.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2325
2332
|
})();
|
|
2326
2333
|
}
|
|
2327
2334
|
git_branch(callback, project_id, options) {
|
|
2328
|
-
var
|
|
2335
|
+
var _this277 = this;
|
|
2329
2336
|
return _asyncToGenerator(function* () {
|
|
2330
2337
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2331
|
-
return
|
|
2338
|
+
return _this277.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2332
2339
|
})();
|
|
2333
2340
|
}
|
|
2334
2341
|
update_git_branch(callback, project_id, body, options) {
|
|
2335
|
-
var
|
|
2342
|
+
var _this278 = this;
|
|
2336
2343
|
return _asyncToGenerator(function* () {
|
|
2337
2344
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2338
|
-
return
|
|
2345
|
+
return _this278.authStream(callback, 'PUT', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2339
2346
|
})();
|
|
2340
2347
|
}
|
|
2341
2348
|
create_git_branch(callback, project_id, body, options) {
|
|
2342
|
-
var
|
|
2349
|
+
var _this279 = this;
|
|
2343
2350
|
return _asyncToGenerator(function* () {
|
|
2344
2351
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2345
|
-
return
|
|
2352
|
+
return _this279.authStream(callback, 'POST', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2346
2353
|
})();
|
|
2347
2354
|
}
|
|
2348
2355
|
find_git_branch(callback, project_id, branch_name, options) {
|
|
2349
|
-
var
|
|
2356
|
+
var _this280 = this;
|
|
2350
2357
|
return _asyncToGenerator(function* () {
|
|
2351
2358
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2352
2359
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2353
|
-
return
|
|
2360
|
+
return _this280.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2354
2361
|
})();
|
|
2355
2362
|
}
|
|
2356
2363
|
delete_git_branch(callback, project_id, branch_name, options) {
|
|
2357
|
-
var
|
|
2364
|
+
var _this281 = this;
|
|
2358
2365
|
return _asyncToGenerator(function* () {
|
|
2359
2366
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2360
2367
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2361
|
-
return
|
|
2368
|
+
return _this281.authStream(callback, 'DELETE', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2362
2369
|
})();
|
|
2363
2370
|
}
|
|
2364
2371
|
deploy_ref_to_production(callback, request, options) {
|
|
2365
|
-
var
|
|
2372
|
+
var _this282 = this;
|
|
2366
2373
|
return _asyncToGenerator(function* () {
|
|
2367
2374
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2368
|
-
return
|
|
2375
|
+
return _this282.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2369
2376
|
branch: request.branch,
|
|
2370
2377
|
ref: request.ref
|
|
2371
2378
|
}, null, options);
|
|
2372
2379
|
})();
|
|
2373
2380
|
}
|
|
2374
2381
|
deploy_to_production(callback, project_id, options) {
|
|
2375
|
-
var
|
|
2382
|
+
var _this283 = this;
|
|
2376
2383
|
return _asyncToGenerator(function* () {
|
|
2377
2384
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2378
|
-
return
|
|
2385
|
+
return _this283.authStream(callback, 'POST', "/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2379
2386
|
})();
|
|
2380
2387
|
}
|
|
2381
2388
|
reset_project_to_production(callback, project_id, options) {
|
|
2382
|
-
var
|
|
2389
|
+
var _this284 = this;
|
|
2383
2390
|
return _asyncToGenerator(function* () {
|
|
2384
2391
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2385
|
-
return
|
|
2392
|
+
return _this284.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2386
2393
|
})();
|
|
2387
2394
|
}
|
|
2388
2395
|
reset_project_to_remote(callback, project_id, options) {
|
|
2389
|
-
var
|
|
2396
|
+
var _this285 = this;
|
|
2390
2397
|
return _asyncToGenerator(function* () {
|
|
2391
2398
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2392
|
-
return
|
|
2399
|
+
return _this285.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2393
2400
|
})();
|
|
2394
2401
|
}
|
|
2395
2402
|
all_projects(callback, fields, options) {
|
|
2396
|
-
var
|
|
2403
|
+
var _this286 = this;
|
|
2397
2404
|
return _asyncToGenerator(function* () {
|
|
2398
|
-
return
|
|
2405
|
+
return _this286.authStream(callback, 'GET', '/projects', {
|
|
2399
2406
|
fields
|
|
2400
2407
|
}, null, options);
|
|
2401
2408
|
})();
|
|
2402
2409
|
}
|
|
2403
2410
|
create_project(callback, body, options) {
|
|
2404
|
-
var
|
|
2411
|
+
var _this287 = this;
|
|
2405
2412
|
return _asyncToGenerator(function* () {
|
|
2406
|
-
return
|
|
2413
|
+
return _this287.authStream(callback, 'POST', '/projects', null, body, options);
|
|
2407
2414
|
})();
|
|
2408
2415
|
}
|
|
2409
2416
|
project(callback, project_id, fields, options) {
|
|
2410
|
-
var
|
|
2417
|
+
var _this288 = this;
|
|
2411
2418
|
return _asyncToGenerator(function* () {
|
|
2412
2419
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2413
|
-
return
|
|
2420
|
+
return _this288.authStream(callback, 'GET', "/projects/".concat(project_id), {
|
|
2414
2421
|
fields
|
|
2415
2422
|
}, null, options);
|
|
2416
2423
|
})();
|
|
2417
2424
|
}
|
|
2418
2425
|
update_project(callback, project_id, body, fields, options) {
|
|
2419
|
-
var
|
|
2426
|
+
var _this289 = this;
|
|
2420
2427
|
return _asyncToGenerator(function* () {
|
|
2421
2428
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2422
|
-
return
|
|
2429
|
+
return _this289.authStream(callback, 'PATCH', "/projects/".concat(project_id), {
|
|
2423
2430
|
fields
|
|
2424
2431
|
}, body, options);
|
|
2425
2432
|
})();
|
|
2426
2433
|
}
|
|
2427
2434
|
manifest(callback, project_id, options) {
|
|
2428
|
-
var
|
|
2435
|
+
var _this290 = this;
|
|
2429
2436
|
return _asyncToGenerator(function* () {
|
|
2430
2437
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2431
|
-
return
|
|
2438
|
+
return _this290.authStream(callback, 'GET', "/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2432
2439
|
})();
|
|
2433
2440
|
}
|
|
2434
2441
|
git_deploy_key(callback, project_id, options) {
|
|
2435
|
-
var
|
|
2442
|
+
var _this291 = this;
|
|
2436
2443
|
return _asyncToGenerator(function* () {
|
|
2437
2444
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2438
|
-
return
|
|
2445
|
+
return _this291.authStream(callback, 'GET', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2439
2446
|
})();
|
|
2440
2447
|
}
|
|
2441
2448
|
create_git_deploy_key(callback, project_id, options) {
|
|
2442
|
-
var
|
|
2449
|
+
var _this292 = this;
|
|
2443
2450
|
return _asyncToGenerator(function* () {
|
|
2444
2451
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2445
|
-
return
|
|
2452
|
+
return _this292.authStream(callback, 'POST', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2446
2453
|
})();
|
|
2447
2454
|
}
|
|
2448
2455
|
project_validation_results(callback, project_id, fields, options) {
|
|
2449
|
-
var
|
|
2456
|
+
var _this293 = this;
|
|
2450
2457
|
return _asyncToGenerator(function* () {
|
|
2451
2458
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2452
|
-
return
|
|
2459
|
+
return _this293.authStream(callback, 'GET', "/projects/".concat(project_id, "/validate"), {
|
|
2453
2460
|
fields
|
|
2454
2461
|
}, null, options);
|
|
2455
2462
|
})();
|
|
2456
2463
|
}
|
|
2457
2464
|
validate_project(callback, project_id, fields, options) {
|
|
2458
|
-
var
|
|
2465
|
+
var _this294 = this;
|
|
2459
2466
|
return _asyncToGenerator(function* () {
|
|
2460
2467
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2461
|
-
return
|
|
2468
|
+
return _this294.authStream(callback, 'POST', "/projects/".concat(project_id, "/validate"), {
|
|
2462
2469
|
fields
|
|
2463
2470
|
}, null, options);
|
|
2464
2471
|
})();
|
|
2465
2472
|
}
|
|
2466
2473
|
project_workspace(callback, project_id, fields, options) {
|
|
2467
|
-
var
|
|
2474
|
+
var _this295 = this;
|
|
2468
2475
|
return _asyncToGenerator(function* () {
|
|
2469
2476
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2470
|
-
return
|
|
2477
|
+
return _this295.authStream(callback, 'GET', "/projects/".concat(project_id, "/current_workspace"), {
|
|
2471
2478
|
fields
|
|
2472
2479
|
}, null, options);
|
|
2473
2480
|
})();
|
|
2474
2481
|
}
|
|
2475
2482
|
all_project_files(callback, project_id, fields, options) {
|
|
2476
|
-
var
|
|
2483
|
+
var _this296 = this;
|
|
2477
2484
|
return _asyncToGenerator(function* () {
|
|
2478
2485
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2479
|
-
return
|
|
2486
|
+
return _this296.authStream(callback, 'GET', "/projects/".concat(project_id, "/files"), {
|
|
2480
2487
|
fields
|
|
2481
2488
|
}, null, options);
|
|
2482
2489
|
})();
|
|
2483
2490
|
}
|
|
2484
2491
|
project_file(callback, project_id, file_id, fields, options) {
|
|
2485
|
-
var
|
|
2492
|
+
var _this297 = this;
|
|
2486
2493
|
return _asyncToGenerator(function* () {
|
|
2487
2494
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2488
|
-
return
|
|
2495
|
+
return _this297.authStream(callback, 'GET', "/projects/".concat(project_id, "/files/file"), {
|
|
2489
2496
|
file_id,
|
|
2490
2497
|
fields
|
|
2491
2498
|
}, null, options);
|
|
2492
2499
|
})();
|
|
2493
2500
|
}
|
|
2494
2501
|
all_git_connection_tests(callback, project_id, remote_url, options) {
|
|
2495
|
-
var
|
|
2502
|
+
var _this298 = this;
|
|
2496
2503
|
return _asyncToGenerator(function* () {
|
|
2497
2504
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2498
|
-
return
|
|
2505
|
+
return _this298.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2499
2506
|
remote_url
|
|
2500
2507
|
}, null, options);
|
|
2501
2508
|
})();
|
|
2502
2509
|
}
|
|
2503
2510
|
run_git_connection_test(callback, request, options) {
|
|
2504
|
-
var
|
|
2511
|
+
var _this299 = this;
|
|
2505
2512
|
return _asyncToGenerator(function* () {
|
|
2506
2513
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2507
2514
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2508
|
-
return
|
|
2515
|
+
return _this299.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2509
2516
|
remote_url: request.remote_url,
|
|
2510
2517
|
use_production: request.use_production
|
|
2511
2518
|
}, null, options);
|
|
2512
2519
|
})();
|
|
2513
2520
|
}
|
|
2514
2521
|
all_lookml_tests(callback, project_id, file_id, options) {
|
|
2515
|
-
var
|
|
2522
|
+
var _this300 = this;
|
|
2516
2523
|
return _asyncToGenerator(function* () {
|
|
2517
2524
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2518
|
-
return
|
|
2525
|
+
return _this300.authStream(callback, 'GET', "/projects/".concat(project_id, "/lookml_tests"), {
|
|
2519
2526
|
file_id
|
|
2520
2527
|
}, null, options);
|
|
2521
2528
|
})();
|
|
2522
2529
|
}
|
|
2523
2530
|
run_lookml_test(callback, request, options) {
|
|
2524
|
-
var
|
|
2531
|
+
var _this301 = this;
|
|
2525
2532
|
return _asyncToGenerator(function* () {
|
|
2526
2533
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2527
|
-
return
|
|
2534
|
+
return _this301.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2528
2535
|
file_id: request.file_id,
|
|
2529
2536
|
test: request.test,
|
|
2530
2537
|
model: request.model
|
|
@@ -2532,10 +2539,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2532
2539
|
})();
|
|
2533
2540
|
}
|
|
2534
2541
|
tag_ref(callback, request, options) {
|
|
2535
|
-
var
|
|
2542
|
+
var _this302 = this;
|
|
2536
2543
|
return _asyncToGenerator(function* () {
|
|
2537
2544
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2538
|
-
return
|
|
2545
|
+
return _this302.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/tag"), {
|
|
2539
2546
|
commit_sha: request.commit_sha,
|
|
2540
2547
|
tag_name: request.tag_name,
|
|
2541
2548
|
tag_message: request.tag_message
|
|
@@ -2543,32 +2550,32 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2543
2550
|
})();
|
|
2544
2551
|
}
|
|
2545
2552
|
update_repository_credential(callback, root_project_id, credential_id, body, options) {
|
|
2546
|
-
var
|
|
2553
|
+
var _this303 = this;
|
|
2547
2554
|
return _asyncToGenerator(function* () {
|
|
2548
2555
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2549
2556
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2550
|
-
return
|
|
2557
|
+
return _this303.authStream(callback, 'PUT', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2551
2558
|
})();
|
|
2552
2559
|
}
|
|
2553
2560
|
delete_repository_credential(callback, root_project_id, credential_id, options) {
|
|
2554
|
-
var
|
|
2561
|
+
var _this304 = this;
|
|
2555
2562
|
return _asyncToGenerator(function* () {
|
|
2556
2563
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2557
2564
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2558
|
-
return
|
|
2565
|
+
return _this304.authStream(callback, 'DELETE', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2559
2566
|
})();
|
|
2560
2567
|
}
|
|
2561
2568
|
get_all_repository_credentials(callback, root_project_id, options) {
|
|
2562
|
-
var
|
|
2569
|
+
var _this305 = this;
|
|
2563
2570
|
return _asyncToGenerator(function* () {
|
|
2564
2571
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2565
|
-
return
|
|
2572
|
+
return _this305.authStream(callback, 'GET', "/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2566
2573
|
})();
|
|
2567
2574
|
}
|
|
2568
2575
|
create_query_task(callback, request, options) {
|
|
2569
|
-
var
|
|
2576
|
+
var _this306 = this;
|
|
2570
2577
|
return _asyncToGenerator(function* () {
|
|
2571
|
-
return
|
|
2578
|
+
return _this306.authStream(callback, 'POST', '/query_tasks', {
|
|
2572
2579
|
limit: request.limit,
|
|
2573
2580
|
apply_formatting: request.apply_formatting,
|
|
2574
2581
|
apply_vis: request.apply_vis,
|
|
@@ -2584,61 +2591,61 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2584
2591
|
})();
|
|
2585
2592
|
}
|
|
2586
2593
|
query_task_multi_results(callback, query_task_ids, options) {
|
|
2587
|
-
var
|
|
2594
|
+
var _this307 = this;
|
|
2588
2595
|
return _asyncToGenerator(function* () {
|
|
2589
|
-
return
|
|
2596
|
+
return _this307.authStream(callback, 'GET', '/query_tasks/multi_results', {
|
|
2590
2597
|
query_task_ids
|
|
2591
2598
|
}, null, options);
|
|
2592
2599
|
})();
|
|
2593
2600
|
}
|
|
2594
2601
|
query_task(callback, query_task_id, fields, options) {
|
|
2595
|
-
var
|
|
2602
|
+
var _this308 = this;
|
|
2596
2603
|
return _asyncToGenerator(function* () {
|
|
2597
2604
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2598
|
-
return
|
|
2605
|
+
return _this308.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id), {
|
|
2599
2606
|
fields
|
|
2600
2607
|
}, null, options);
|
|
2601
2608
|
})();
|
|
2602
2609
|
}
|
|
2603
2610
|
query_task_results(callback, query_task_id, options) {
|
|
2604
|
-
var
|
|
2611
|
+
var _this309 = this;
|
|
2605
2612
|
return _asyncToGenerator(function* () {
|
|
2606
2613
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2607
|
-
return
|
|
2614
|
+
return _this309.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2608
2615
|
})();
|
|
2609
2616
|
}
|
|
2610
2617
|
query(callback, query_id, fields, options) {
|
|
2611
|
-
var
|
|
2618
|
+
var _this310 = this;
|
|
2612
2619
|
return _asyncToGenerator(function* () {
|
|
2613
2620
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2614
|
-
return
|
|
2621
|
+
return _this310.authStream(callback, 'GET', "/queries/".concat(query_id), {
|
|
2615
2622
|
fields
|
|
2616
2623
|
}, null, options);
|
|
2617
2624
|
})();
|
|
2618
2625
|
}
|
|
2619
2626
|
query_for_slug(callback, slug, fields, options) {
|
|
2620
|
-
var
|
|
2627
|
+
var _this311 = this;
|
|
2621
2628
|
return _asyncToGenerator(function* () {
|
|
2622
2629
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2623
|
-
return
|
|
2630
|
+
return _this311.authStream(callback, 'GET', "/queries/slug/".concat(slug), {
|
|
2624
2631
|
fields
|
|
2625
2632
|
}, null, options);
|
|
2626
2633
|
})();
|
|
2627
2634
|
}
|
|
2628
2635
|
create_query(callback, body, fields, options) {
|
|
2629
|
-
var
|
|
2636
|
+
var _this312 = this;
|
|
2630
2637
|
return _asyncToGenerator(function* () {
|
|
2631
|
-
return
|
|
2638
|
+
return _this312.authStream(callback, 'POST', '/queries', {
|
|
2632
2639
|
fields
|
|
2633
2640
|
}, body, options);
|
|
2634
2641
|
})();
|
|
2635
2642
|
}
|
|
2636
2643
|
run_query(callback, request, options) {
|
|
2637
|
-
var
|
|
2644
|
+
var _this313 = this;
|
|
2638
2645
|
return _asyncToGenerator(function* () {
|
|
2639
2646
|
request.query_id = (0, _sdkRtl.encodeParam)(request.query_id);
|
|
2640
2647
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2641
|
-
return
|
|
2648
|
+
return _this313.authStream(callback, 'GET', "/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2642
2649
|
limit: request.limit,
|
|
2643
2650
|
apply_formatting: request.apply_formatting,
|
|
2644
2651
|
apply_vis: request.apply_vis,
|
|
@@ -2656,10 +2663,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2656
2663
|
})();
|
|
2657
2664
|
}
|
|
2658
2665
|
run_inline_query(callback, request, options) {
|
|
2659
|
-
var
|
|
2666
|
+
var _this314 = this;
|
|
2660
2667
|
return _asyncToGenerator(function* () {
|
|
2661
2668
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2662
|
-
return
|
|
2669
|
+
return _this314.authStream(callback, 'POST', "/queries/run/".concat(request.result_format), {
|
|
2663
2670
|
limit: request.limit,
|
|
2664
2671
|
apply_formatting: request.apply_formatting,
|
|
2665
2672
|
apply_vis: request.apply_vis,
|
|
@@ -2676,73 +2683,73 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2676
2683
|
})();
|
|
2677
2684
|
}
|
|
2678
2685
|
run_url_encoded_query(callback, model_name, view_name, result_format, options) {
|
|
2679
|
-
var
|
|
2686
|
+
var _this315 = this;
|
|
2680
2687
|
return _asyncToGenerator(function* () {
|
|
2681
2688
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2682
2689
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
2683
2690
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2684
|
-
return
|
|
2691
|
+
return _this315.authStream(callback, 'GET', "/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2685
2692
|
})();
|
|
2686
2693
|
}
|
|
2687
2694
|
merge_query(callback, merge_query_id, fields, options) {
|
|
2688
|
-
var
|
|
2695
|
+
var _this316 = this;
|
|
2689
2696
|
return _asyncToGenerator(function* () {
|
|
2690
2697
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2691
|
-
return
|
|
2698
|
+
return _this316.authStream(callback, 'GET', "/merge_queries/".concat(merge_query_id), {
|
|
2692
2699
|
fields
|
|
2693
2700
|
}, null, options);
|
|
2694
2701
|
})();
|
|
2695
2702
|
}
|
|
2696
2703
|
create_merge_query(callback, body, fields, options) {
|
|
2697
|
-
var
|
|
2704
|
+
var _this317 = this;
|
|
2698
2705
|
return _asyncToGenerator(function* () {
|
|
2699
|
-
return
|
|
2706
|
+
return _this317.authStream(callback, 'POST', '/merge_queries', {
|
|
2700
2707
|
fields
|
|
2701
2708
|
}, body, options);
|
|
2702
2709
|
})();
|
|
2703
2710
|
}
|
|
2704
2711
|
all_running_queries(callback, options) {
|
|
2705
|
-
var
|
|
2712
|
+
var _this318 = this;
|
|
2706
2713
|
return _asyncToGenerator(function* () {
|
|
2707
|
-
return
|
|
2714
|
+
return _this318.authStream(callback, 'GET', '/running_queries', null, null, options);
|
|
2708
2715
|
})();
|
|
2709
2716
|
}
|
|
2710
2717
|
kill_query(callback, query_task_id, options) {
|
|
2711
|
-
var
|
|
2718
|
+
var _this319 = this;
|
|
2712
2719
|
return _asyncToGenerator(function* () {
|
|
2713
2720
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2714
|
-
return
|
|
2721
|
+
return _this319.authStream(callback, 'DELETE', "/running_queries/".concat(query_task_id), null, null, options);
|
|
2715
2722
|
})();
|
|
2716
2723
|
}
|
|
2717
2724
|
create_sql_query(callback, body, options) {
|
|
2718
|
-
var
|
|
2725
|
+
var _this320 = this;
|
|
2719
2726
|
return _asyncToGenerator(function* () {
|
|
2720
|
-
return
|
|
2727
|
+
return _this320.authStream(callback, 'POST', '/sql_queries', null, body, options);
|
|
2721
2728
|
})();
|
|
2722
2729
|
}
|
|
2723
2730
|
sql_query(callback, slug, options) {
|
|
2724
|
-
var
|
|
2731
|
+
var _this321 = this;
|
|
2725
2732
|
return _asyncToGenerator(function* () {
|
|
2726
2733
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2727
|
-
return
|
|
2734
|
+
return _this321.authStream(callback, 'GET', "/sql_queries/".concat(slug), null, null, options);
|
|
2728
2735
|
})();
|
|
2729
2736
|
}
|
|
2730
2737
|
run_sql_query(callback, slug, result_format, download, options) {
|
|
2731
|
-
var
|
|
2738
|
+
var _this322 = this;
|
|
2732
2739
|
return _asyncToGenerator(function* () {
|
|
2733
2740
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2734
2741
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2735
|
-
return
|
|
2742
|
+
return _this322.authStream(callback, 'POST', "/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2736
2743
|
download
|
|
2737
2744
|
}, null, options);
|
|
2738
2745
|
})();
|
|
2739
2746
|
}
|
|
2740
2747
|
create_look_render_task(callback, look_id, result_format, width, height, fields, options) {
|
|
2741
|
-
var
|
|
2748
|
+
var _this323 = this;
|
|
2742
2749
|
return _asyncToGenerator(function* () {
|
|
2743
2750
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2744
2751
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2745
|
-
return
|
|
2752
|
+
return _this323.authStream(callback, 'POST', "/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2746
2753
|
width,
|
|
2747
2754
|
height,
|
|
2748
2755
|
fields
|
|
@@ -2750,11 +2757,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2750
2757
|
})();
|
|
2751
2758
|
}
|
|
2752
2759
|
create_query_render_task(callback, query_id, result_format, width, height, fields, options) {
|
|
2753
|
-
var
|
|
2760
|
+
var _this324 = this;
|
|
2754
2761
|
return _asyncToGenerator(function* () {
|
|
2755
2762
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2756
2763
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2757
|
-
return
|
|
2764
|
+
return _this324.authStream(callback, 'POST', "/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2758
2765
|
width,
|
|
2759
2766
|
height,
|
|
2760
2767
|
fields
|
|
@@ -2762,11 +2769,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2762
2769
|
})();
|
|
2763
2770
|
}
|
|
2764
2771
|
create_dashboard_render_task(callback, request, options) {
|
|
2765
|
-
var
|
|
2772
|
+
var _this325 = this;
|
|
2766
2773
|
return _asyncToGenerator(function* () {
|
|
2767
2774
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
2768
2775
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2769
|
-
return
|
|
2776
|
+
return _this325.authStream(callback, 'POST', "/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2770
2777
|
width: request.width,
|
|
2771
2778
|
height: request.height,
|
|
2772
2779
|
fields: request.fields,
|
|
@@ -2778,27 +2785,27 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2778
2785
|
})();
|
|
2779
2786
|
}
|
|
2780
2787
|
render_task(callback, render_task_id, fields, options) {
|
|
2781
|
-
var
|
|
2788
|
+
var _this326 = this;
|
|
2782
2789
|
return _asyncToGenerator(function* () {
|
|
2783
2790
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2784
|
-
return
|
|
2791
|
+
return _this326.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id), {
|
|
2785
2792
|
fields
|
|
2786
2793
|
}, null, options);
|
|
2787
2794
|
})();
|
|
2788
2795
|
}
|
|
2789
2796
|
render_task_results(callback, render_task_id, options) {
|
|
2790
|
-
var
|
|
2797
|
+
var _this327 = this;
|
|
2791
2798
|
return _asyncToGenerator(function* () {
|
|
2792
2799
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2793
|
-
return
|
|
2800
|
+
return _this327.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2794
2801
|
})();
|
|
2795
2802
|
}
|
|
2796
2803
|
create_dashboard_element_render_task(callback, dashboard_element_id, result_format, width, height, fields, options) {
|
|
2797
|
-
var
|
|
2804
|
+
var _this328 = this;
|
|
2798
2805
|
return _asyncToGenerator(function* () {
|
|
2799
2806
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
2800
2807
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2801
|
-
return
|
|
2808
|
+
return _this328.authStream(callback, 'POST', "/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
2802
2809
|
width,
|
|
2803
2810
|
height,
|
|
2804
2811
|
fields
|
|
@@ -2806,9 +2813,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2806
2813
|
})();
|
|
2807
2814
|
}
|
|
2808
2815
|
search_model_sets(callback, request, options) {
|
|
2809
|
-
var
|
|
2816
|
+
var _this329 = this;
|
|
2810
2817
|
return _asyncToGenerator(function* () {
|
|
2811
|
-
return
|
|
2818
|
+
return _this329.authStream(callback, 'GET', '/model_sets/search', {
|
|
2812
2819
|
fields: request.fields,
|
|
2813
2820
|
limit: request.limit,
|
|
2814
2821
|
offset: request.offset,
|
|
@@ -2822,52 +2829,52 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2822
2829
|
})();
|
|
2823
2830
|
}
|
|
2824
2831
|
model_set(callback, model_set_id, fields, options) {
|
|
2825
|
-
var
|
|
2832
|
+
var _this330 = this;
|
|
2826
2833
|
return _asyncToGenerator(function* () {
|
|
2827
2834
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2828
|
-
return
|
|
2835
|
+
return _this330.authStream(callback, 'GET', "/model_sets/".concat(model_set_id), {
|
|
2829
2836
|
fields
|
|
2830
2837
|
}, null, options);
|
|
2831
2838
|
})();
|
|
2832
2839
|
}
|
|
2833
2840
|
update_model_set(callback, model_set_id, body, options) {
|
|
2834
|
-
var
|
|
2841
|
+
var _this331 = this;
|
|
2835
2842
|
return _asyncToGenerator(function* () {
|
|
2836
2843
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2837
|
-
return
|
|
2844
|
+
return _this331.authStream(callback, 'PATCH', "/model_sets/".concat(model_set_id), null, body, options);
|
|
2838
2845
|
})();
|
|
2839
2846
|
}
|
|
2840
2847
|
delete_model_set(callback, model_set_id, options) {
|
|
2841
|
-
var
|
|
2848
|
+
var _this332 = this;
|
|
2842
2849
|
return _asyncToGenerator(function* () {
|
|
2843
2850
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2844
|
-
return
|
|
2851
|
+
return _this332.authStream(callback, 'DELETE', "/model_sets/".concat(model_set_id), null, null, options);
|
|
2845
2852
|
})();
|
|
2846
2853
|
}
|
|
2847
2854
|
all_model_sets(callback, fields, options) {
|
|
2848
|
-
var
|
|
2855
|
+
var _this333 = this;
|
|
2849
2856
|
return _asyncToGenerator(function* () {
|
|
2850
|
-
return
|
|
2857
|
+
return _this333.authStream(callback, 'GET', '/model_sets', {
|
|
2851
2858
|
fields
|
|
2852
2859
|
}, null, options);
|
|
2853
2860
|
})();
|
|
2854
2861
|
}
|
|
2855
2862
|
create_model_set(callback, body, options) {
|
|
2856
|
-
var
|
|
2863
|
+
var _this334 = this;
|
|
2857
2864
|
return _asyncToGenerator(function* () {
|
|
2858
|
-
return
|
|
2865
|
+
return _this334.authStream(callback, 'POST', '/model_sets', null, body, options);
|
|
2859
2866
|
})();
|
|
2860
2867
|
}
|
|
2861
2868
|
all_permissions(callback, options) {
|
|
2862
|
-
var
|
|
2869
|
+
var _this335 = this;
|
|
2863
2870
|
return _asyncToGenerator(function* () {
|
|
2864
|
-
return
|
|
2871
|
+
return _this335.authStream(callback, 'GET', '/permissions', null, null, options);
|
|
2865
2872
|
})();
|
|
2866
2873
|
}
|
|
2867
2874
|
search_permission_sets(callback, request, options) {
|
|
2868
|
-
var
|
|
2875
|
+
var _this336 = this;
|
|
2869
2876
|
return _asyncToGenerator(function* () {
|
|
2870
|
-
return
|
|
2877
|
+
return _this336.authStream(callback, 'GET', '/permission_sets/search', {
|
|
2871
2878
|
fields: request.fields,
|
|
2872
2879
|
limit: request.limit,
|
|
2873
2880
|
offset: request.offset,
|
|
@@ -2881,61 +2888,61 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2881
2888
|
})();
|
|
2882
2889
|
}
|
|
2883
2890
|
permission_set(callback, permission_set_id, fields, options) {
|
|
2884
|
-
var
|
|
2891
|
+
var _this337 = this;
|
|
2885
2892
|
return _asyncToGenerator(function* () {
|
|
2886
2893
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2887
|
-
return
|
|
2894
|
+
return _this337.authStream(callback, 'GET', "/permission_sets/".concat(permission_set_id), {
|
|
2888
2895
|
fields
|
|
2889
2896
|
}, null, options);
|
|
2890
2897
|
})();
|
|
2891
2898
|
}
|
|
2892
2899
|
update_permission_set(callback, permission_set_id, body, options) {
|
|
2893
|
-
var
|
|
2900
|
+
var _this338 = this;
|
|
2894
2901
|
return _asyncToGenerator(function* () {
|
|
2895
2902
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2896
|
-
return
|
|
2903
|
+
return _this338.authStream(callback, 'PATCH', "/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2897
2904
|
})();
|
|
2898
2905
|
}
|
|
2899
2906
|
delete_permission_set(callback, permission_set_id, options) {
|
|
2900
|
-
var
|
|
2907
|
+
var _this339 = this;
|
|
2901
2908
|
return _asyncToGenerator(function* () {
|
|
2902
2909
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2903
|
-
return
|
|
2910
|
+
return _this339.authStream(callback, 'DELETE', "/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2904
2911
|
})();
|
|
2905
2912
|
}
|
|
2906
2913
|
all_permission_sets(callback, fields, options) {
|
|
2907
|
-
var
|
|
2914
|
+
var _this340 = this;
|
|
2908
2915
|
return _asyncToGenerator(function* () {
|
|
2909
|
-
return
|
|
2916
|
+
return _this340.authStream(callback, 'GET', '/permission_sets', {
|
|
2910
2917
|
fields
|
|
2911
2918
|
}, null, options);
|
|
2912
2919
|
})();
|
|
2913
2920
|
}
|
|
2914
2921
|
create_permission_set(callback, body, options) {
|
|
2915
|
-
var
|
|
2922
|
+
var _this341 = this;
|
|
2916
2923
|
return _asyncToGenerator(function* () {
|
|
2917
|
-
return
|
|
2924
|
+
return _this341.authStream(callback, 'POST', '/permission_sets', null, body, options);
|
|
2918
2925
|
})();
|
|
2919
2926
|
}
|
|
2920
2927
|
all_roles(callback, request, options) {
|
|
2921
|
-
var
|
|
2928
|
+
var _this342 = this;
|
|
2922
2929
|
return _asyncToGenerator(function* () {
|
|
2923
|
-
return
|
|
2930
|
+
return _this342.authStream(callback, 'GET', '/roles', {
|
|
2924
2931
|
fields: request.fields,
|
|
2925
2932
|
ids: request.ids
|
|
2926
2933
|
}, null, options);
|
|
2927
2934
|
})();
|
|
2928
2935
|
}
|
|
2929
2936
|
create_role(callback, body, options) {
|
|
2930
|
-
var
|
|
2937
|
+
var _this343 = this;
|
|
2931
2938
|
return _asyncToGenerator(function* () {
|
|
2932
|
-
return
|
|
2939
|
+
return _this343.authStream(callback, 'POST', '/roles', null, body, options);
|
|
2933
2940
|
})();
|
|
2934
2941
|
}
|
|
2935
2942
|
search_roles(callback, request, options) {
|
|
2936
|
-
var
|
|
2943
|
+
var _this344 = this;
|
|
2937
2944
|
return _asyncToGenerator(function* () {
|
|
2938
|
-
return
|
|
2945
|
+
return _this344.authStream(callback, 'GET', '/roles/search', {
|
|
2939
2946
|
fields: request.fields,
|
|
2940
2947
|
limit: request.limit,
|
|
2941
2948
|
offset: request.offset,
|
|
@@ -2948,9 +2955,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2948
2955
|
})();
|
|
2949
2956
|
}
|
|
2950
2957
|
search_roles_with_user_count(callback, request, options) {
|
|
2951
|
-
var
|
|
2958
|
+
var _this345 = this;
|
|
2952
2959
|
return _asyncToGenerator(function* () {
|
|
2953
|
-
return
|
|
2960
|
+
return _this345.authStream(callback, 'GET', '/roles/search/with_user_count', {
|
|
2954
2961
|
fields: request.fields,
|
|
2955
2962
|
limit: request.limit,
|
|
2956
2963
|
offset: request.offset,
|
|
@@ -2963,95 +2970,95 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2963
2970
|
})();
|
|
2964
2971
|
}
|
|
2965
2972
|
role(callback, role_id, options) {
|
|
2966
|
-
var
|
|
2973
|
+
var _this346 = this;
|
|
2967
2974
|
return _asyncToGenerator(function* () {
|
|
2968
2975
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2969
|
-
return
|
|
2976
|
+
return _this346.authStream(callback, 'GET', "/roles/".concat(role_id), null, null, options);
|
|
2970
2977
|
})();
|
|
2971
2978
|
}
|
|
2972
2979
|
update_role(callback, role_id, body, options) {
|
|
2973
|
-
var
|
|
2980
|
+
var _this347 = this;
|
|
2974
2981
|
return _asyncToGenerator(function* () {
|
|
2975
2982
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2976
|
-
return
|
|
2983
|
+
return _this347.authStream(callback, 'PATCH', "/roles/".concat(role_id), null, body, options);
|
|
2977
2984
|
})();
|
|
2978
2985
|
}
|
|
2979
2986
|
delete_role(callback, role_id, options) {
|
|
2980
|
-
var
|
|
2987
|
+
var _this348 = this;
|
|
2981
2988
|
return _asyncToGenerator(function* () {
|
|
2982
2989
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2983
|
-
return
|
|
2990
|
+
return _this348.authStream(callback, 'DELETE', "/roles/".concat(role_id), null, null, options);
|
|
2984
2991
|
})();
|
|
2985
2992
|
}
|
|
2986
2993
|
role_groups(callback, role_id, fields, options) {
|
|
2987
|
-
var
|
|
2994
|
+
var _this349 = this;
|
|
2988
2995
|
return _asyncToGenerator(function* () {
|
|
2989
2996
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2990
|
-
return
|
|
2997
|
+
return _this349.authStream(callback, 'GET', "/roles/".concat(role_id, "/groups"), {
|
|
2991
2998
|
fields
|
|
2992
2999
|
}, null, options);
|
|
2993
3000
|
})();
|
|
2994
3001
|
}
|
|
2995
3002
|
set_role_groups(callback, role_id, body, options) {
|
|
2996
|
-
var
|
|
3003
|
+
var _this350 = this;
|
|
2997
3004
|
return _asyncToGenerator(function* () {
|
|
2998
3005
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
2999
|
-
return
|
|
3006
|
+
return _this350.authStream(callback, 'PUT', "/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3000
3007
|
})();
|
|
3001
3008
|
}
|
|
3002
3009
|
role_users(callback, request, options) {
|
|
3003
|
-
var
|
|
3010
|
+
var _this351 = this;
|
|
3004
3011
|
return _asyncToGenerator(function* () {
|
|
3005
3012
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
3006
|
-
return
|
|
3013
|
+
return _this351.authStream(callback, 'GET', "/roles/".concat(request.role_id, "/users"), {
|
|
3007
3014
|
fields: request.fields,
|
|
3008
3015
|
direct_association_only: request.direct_association_only
|
|
3009
3016
|
}, null, options);
|
|
3010
3017
|
})();
|
|
3011
3018
|
}
|
|
3012
3019
|
set_role_users(callback, role_id, body, options) {
|
|
3013
|
-
var
|
|
3020
|
+
var _this352 = this;
|
|
3014
3021
|
return _asyncToGenerator(function* () {
|
|
3015
3022
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3016
|
-
return
|
|
3023
|
+
return _this352.authStream(callback, 'PUT', "/roles/".concat(role_id, "/users"), null, body, options);
|
|
3017
3024
|
})();
|
|
3018
3025
|
}
|
|
3019
3026
|
scheduled_plans_for_space(callback, space_id, fields, options) {
|
|
3020
|
-
var
|
|
3027
|
+
var _this353 = this;
|
|
3021
3028
|
return _asyncToGenerator(function* () {
|
|
3022
3029
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3023
|
-
return
|
|
3030
|
+
return _this353.authStream(callback, 'GET', "/scheduled_plans/space/".concat(space_id), {
|
|
3024
3031
|
fields
|
|
3025
3032
|
}, null, options);
|
|
3026
3033
|
})();
|
|
3027
3034
|
}
|
|
3028
3035
|
scheduled_plan(callback, scheduled_plan_id, fields, options) {
|
|
3029
|
-
var
|
|
3036
|
+
var _this354 = this;
|
|
3030
3037
|
return _asyncToGenerator(function* () {
|
|
3031
3038
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3032
|
-
return
|
|
3039
|
+
return _this354.authStream(callback, 'GET', "/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3033
3040
|
fields
|
|
3034
3041
|
}, null, options);
|
|
3035
3042
|
})();
|
|
3036
3043
|
}
|
|
3037
3044
|
update_scheduled_plan(callback, scheduled_plan_id, body, options) {
|
|
3038
|
-
var
|
|
3045
|
+
var _this355 = this;
|
|
3039
3046
|
return _asyncToGenerator(function* () {
|
|
3040
3047
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3041
|
-
return
|
|
3048
|
+
return _this355.authStream(callback, 'PATCH', "/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3042
3049
|
})();
|
|
3043
3050
|
}
|
|
3044
3051
|
delete_scheduled_plan(callback, scheduled_plan_id, options) {
|
|
3045
|
-
var
|
|
3052
|
+
var _this356 = this;
|
|
3046
3053
|
return _asyncToGenerator(function* () {
|
|
3047
3054
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3048
|
-
return
|
|
3055
|
+
return _this356.authStream(callback, 'DELETE', "/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3049
3056
|
})();
|
|
3050
3057
|
}
|
|
3051
3058
|
all_scheduled_plans(callback, request, options) {
|
|
3052
|
-
var
|
|
3059
|
+
var _this357 = this;
|
|
3053
3060
|
return _asyncToGenerator(function* () {
|
|
3054
|
-
return
|
|
3061
|
+
return _this357.authStream(callback, 'GET', '/scheduled_plans', {
|
|
3055
3062
|
user_id: request.user_id,
|
|
3056
3063
|
fields: request.fields,
|
|
3057
3064
|
all_users: request.all_users
|
|
@@ -3059,22 +3066,22 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3059
3066
|
})();
|
|
3060
3067
|
}
|
|
3061
3068
|
create_scheduled_plan(callback, body, options) {
|
|
3062
|
-
var
|
|
3069
|
+
var _this358 = this;
|
|
3063
3070
|
return _asyncToGenerator(function* () {
|
|
3064
|
-
return
|
|
3071
|
+
return _this358.authStream(callback, 'POST', '/scheduled_plans', null, body, options);
|
|
3065
3072
|
})();
|
|
3066
3073
|
}
|
|
3067
3074
|
scheduled_plan_run_once(callback, body, options) {
|
|
3068
|
-
var
|
|
3075
|
+
var _this359 = this;
|
|
3069
3076
|
return _asyncToGenerator(function* () {
|
|
3070
|
-
return
|
|
3077
|
+
return _this359.authStream(callback, 'POST', '/scheduled_plans/run_once', null, body, options);
|
|
3071
3078
|
})();
|
|
3072
3079
|
}
|
|
3073
3080
|
scheduled_plans_for_look(callback, request, options) {
|
|
3074
|
-
var
|
|
3081
|
+
var _this360 = this;
|
|
3075
3082
|
return _asyncToGenerator(function* () {
|
|
3076
3083
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3077
|
-
return
|
|
3084
|
+
return _this360.authStream(callback, 'GET', "/scheduled_plans/look/".concat(request.look_id), {
|
|
3078
3085
|
user_id: request.user_id,
|
|
3079
3086
|
fields: request.fields,
|
|
3080
3087
|
all_users: request.all_users
|
|
@@ -3082,10 +3089,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3082
3089
|
})();
|
|
3083
3090
|
}
|
|
3084
3091
|
scheduled_plans_for_dashboard(callback, request, options) {
|
|
3085
|
-
var
|
|
3092
|
+
var _this361 = this;
|
|
3086
3093
|
return _asyncToGenerator(function* () {
|
|
3087
3094
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3088
|
-
return
|
|
3095
|
+
return _this361.authStream(callback, 'GET', "/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3089
3096
|
user_id: request.user_id,
|
|
3090
3097
|
all_users: request.all_users,
|
|
3091
3098
|
fields: request.fields
|
|
@@ -3093,10 +3100,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3093
3100
|
})();
|
|
3094
3101
|
}
|
|
3095
3102
|
scheduled_plans_for_lookml_dashboard(callback, request, options) {
|
|
3096
|
-
var
|
|
3103
|
+
var _this362 = this;
|
|
3097
3104
|
return _asyncToGenerator(function* () {
|
|
3098
3105
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3099
|
-
return
|
|
3106
|
+
return _this362.authStream(callback, 'GET', "/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3100
3107
|
user_id: request.user_id,
|
|
3101
3108
|
fields: request.fields,
|
|
3102
3109
|
all_users: request.all_users
|
|
@@ -3104,63 +3111,63 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3104
3111
|
})();
|
|
3105
3112
|
}
|
|
3106
3113
|
scheduled_plan_run_once_by_id(callback, scheduled_plan_id, body, options) {
|
|
3107
|
-
var
|
|
3114
|
+
var _this363 = this;
|
|
3108
3115
|
return _asyncToGenerator(function* () {
|
|
3109
3116
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3110
|
-
return
|
|
3117
|
+
return _this363.authStream(callback, 'POST', "/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3111
3118
|
})();
|
|
3112
3119
|
}
|
|
3113
3120
|
session(callback, options) {
|
|
3114
|
-
var
|
|
3121
|
+
var _this364 = this;
|
|
3115
3122
|
return _asyncToGenerator(function* () {
|
|
3116
|
-
return
|
|
3123
|
+
return _this364.authStream(callback, 'GET', '/session', null, null, options);
|
|
3117
3124
|
})();
|
|
3118
3125
|
}
|
|
3119
3126
|
update_session(callback, body, options) {
|
|
3120
|
-
var
|
|
3127
|
+
var _this365 = this;
|
|
3121
3128
|
return _asyncToGenerator(function* () {
|
|
3122
|
-
return
|
|
3129
|
+
return _this365.authStream(callback, 'PATCH', '/session', null, body, options);
|
|
3123
3130
|
})();
|
|
3124
3131
|
}
|
|
3125
3132
|
sql_interface_metadata(callback, avatica_request, options) {
|
|
3126
|
-
var
|
|
3133
|
+
var _this366 = this;
|
|
3127
3134
|
return _asyncToGenerator(function* () {
|
|
3128
|
-
return
|
|
3135
|
+
return _this366.authStream(callback, 'GET', '/sql_interface_queries/metadata', {
|
|
3129
3136
|
avatica_request
|
|
3130
3137
|
}, null, options);
|
|
3131
3138
|
})();
|
|
3132
3139
|
}
|
|
3133
3140
|
run_sql_interface_query(callback, query_id, result_format, options) {
|
|
3134
|
-
var
|
|
3141
|
+
var _this367 = this;
|
|
3135
3142
|
return _asyncToGenerator(function* () {
|
|
3136
3143
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3137
|
-
return
|
|
3144
|
+
return _this367.authStream(callback, 'GET', "/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3138
3145
|
})();
|
|
3139
3146
|
}
|
|
3140
3147
|
create_sql_interface_query(callback, body, options) {
|
|
3141
|
-
var
|
|
3148
|
+
var _this368 = this;
|
|
3142
3149
|
return _asyncToGenerator(function* () {
|
|
3143
|
-
return
|
|
3150
|
+
return _this368.authStream(callback, 'POST', '/sql_interface_queries', null, body, options);
|
|
3144
3151
|
})();
|
|
3145
3152
|
}
|
|
3146
3153
|
all_themes(callback, fields, options) {
|
|
3147
|
-
var
|
|
3154
|
+
var _this369 = this;
|
|
3148
3155
|
return _asyncToGenerator(function* () {
|
|
3149
|
-
return
|
|
3156
|
+
return _this369.authStream(callback, 'GET', '/themes', {
|
|
3150
3157
|
fields
|
|
3151
3158
|
}, null, options);
|
|
3152
3159
|
})();
|
|
3153
3160
|
}
|
|
3154
3161
|
create_theme(callback, body, options) {
|
|
3155
|
-
var
|
|
3162
|
+
var _this370 = this;
|
|
3156
3163
|
return _asyncToGenerator(function* () {
|
|
3157
|
-
return
|
|
3164
|
+
return _this370.authStream(callback, 'POST', '/themes', null, body, options);
|
|
3158
3165
|
})();
|
|
3159
3166
|
}
|
|
3160
3167
|
search_themes(callback, request, options) {
|
|
3161
|
-
var
|
|
3168
|
+
var _this371 = this;
|
|
3162
3169
|
return _asyncToGenerator(function* () {
|
|
3163
|
-
return
|
|
3170
|
+
return _this371.authStream(callback, 'GET', '/themes/search', {
|
|
3164
3171
|
id: request.id,
|
|
3165
3172
|
name: request.name,
|
|
3166
3173
|
begin_at: request.begin_at,
|
|
@@ -3174,25 +3181,25 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3174
3181
|
})();
|
|
3175
3182
|
}
|
|
3176
3183
|
default_theme(callback, ts, options) {
|
|
3177
|
-
var
|
|
3184
|
+
var _this372 = this;
|
|
3178
3185
|
return _asyncToGenerator(function* () {
|
|
3179
|
-
return
|
|
3186
|
+
return _this372.authStream(callback, 'GET', '/themes/default', {
|
|
3180
3187
|
ts
|
|
3181
3188
|
}, null, options);
|
|
3182
3189
|
})();
|
|
3183
3190
|
}
|
|
3184
3191
|
set_default_theme(callback, name, options) {
|
|
3185
|
-
var
|
|
3192
|
+
var _this373 = this;
|
|
3186
3193
|
return _asyncToGenerator(function* () {
|
|
3187
|
-
return
|
|
3194
|
+
return _this373.authStream(callback, 'PUT', '/themes/default', {
|
|
3188
3195
|
name
|
|
3189
3196
|
}, null, options);
|
|
3190
3197
|
})();
|
|
3191
3198
|
}
|
|
3192
3199
|
active_themes(callback, request, options) {
|
|
3193
|
-
var
|
|
3200
|
+
var _this374 = this;
|
|
3194
3201
|
return _asyncToGenerator(function* () {
|
|
3195
|
-
return
|
|
3202
|
+
return _this374.authStream(callback, 'GET', '/themes/active', {
|
|
3196
3203
|
name: request.name,
|
|
3197
3204
|
ts: request.ts,
|
|
3198
3205
|
fields: request.fields
|
|
@@ -3200,47 +3207,47 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3200
3207
|
})();
|
|
3201
3208
|
}
|
|
3202
3209
|
theme_or_default(callback, name, ts, options) {
|
|
3203
|
-
var
|
|
3210
|
+
var _this375 = this;
|
|
3204
3211
|
return _asyncToGenerator(function* () {
|
|
3205
|
-
return
|
|
3212
|
+
return _this375.authStream(callback, 'GET', '/themes/theme_or_default', {
|
|
3206
3213
|
name,
|
|
3207
3214
|
ts
|
|
3208
3215
|
}, null, options);
|
|
3209
3216
|
})();
|
|
3210
3217
|
}
|
|
3211
3218
|
validate_theme(callback, body, options) {
|
|
3212
|
-
var
|
|
3219
|
+
var _this376 = this;
|
|
3213
3220
|
return _asyncToGenerator(function* () {
|
|
3214
|
-
return
|
|
3221
|
+
return _this376.authStream(callback, 'POST', '/themes/validate', null, body, options);
|
|
3215
3222
|
})();
|
|
3216
3223
|
}
|
|
3217
3224
|
theme(callback, theme_id, fields, options) {
|
|
3218
|
-
var
|
|
3225
|
+
var _this377 = this;
|
|
3219
3226
|
return _asyncToGenerator(function* () {
|
|
3220
3227
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3221
|
-
return
|
|
3228
|
+
return _this377.authStream(callback, 'GET', "/themes/".concat(theme_id), {
|
|
3222
3229
|
fields
|
|
3223
3230
|
}, null, options);
|
|
3224
3231
|
})();
|
|
3225
3232
|
}
|
|
3226
3233
|
update_theme(callback, theme_id, body, options) {
|
|
3227
|
-
var
|
|
3234
|
+
var _this378 = this;
|
|
3228
3235
|
return _asyncToGenerator(function* () {
|
|
3229
3236
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3230
|
-
return
|
|
3237
|
+
return _this378.authStream(callback, 'PATCH', "/themes/".concat(theme_id), null, body, options);
|
|
3231
3238
|
})();
|
|
3232
3239
|
}
|
|
3233
3240
|
delete_theme(callback, theme_id, options) {
|
|
3234
|
-
var
|
|
3241
|
+
var _this379 = this;
|
|
3235
3242
|
return _asyncToGenerator(function* () {
|
|
3236
3243
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3237
|
-
return
|
|
3244
|
+
return _this379.authStream(callback, 'DELETE', "/themes/".concat(theme_id), null, null, options);
|
|
3238
3245
|
})();
|
|
3239
3246
|
}
|
|
3240
3247
|
search_credentials_email(callback, request, options) {
|
|
3241
|
-
var
|
|
3248
|
+
var _this380 = this;
|
|
3242
3249
|
return _asyncToGenerator(function* () {
|
|
3243
|
-
return
|
|
3250
|
+
return _this380.authStream(callback, 'GET', '/credentials_email/search', {
|
|
3244
3251
|
fields: request.fields,
|
|
3245
3252
|
limit: request.limit,
|
|
3246
3253
|
offset: request.offset,
|
|
@@ -3253,17 +3260,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3253
3260
|
})();
|
|
3254
3261
|
}
|
|
3255
3262
|
me(callback, fields, options) {
|
|
3256
|
-
var
|
|
3263
|
+
var _this381 = this;
|
|
3257
3264
|
return _asyncToGenerator(function* () {
|
|
3258
|
-
return
|
|
3265
|
+
return _this381.authStream(callback, 'GET', '/user', {
|
|
3259
3266
|
fields
|
|
3260
3267
|
}, null, options);
|
|
3261
3268
|
})();
|
|
3262
3269
|
}
|
|
3263
3270
|
all_users(callback, request, options) {
|
|
3264
|
-
var
|
|
3271
|
+
var _this382 = this;
|
|
3265
3272
|
return _asyncToGenerator(function* () {
|
|
3266
|
-
return
|
|
3273
|
+
return _this382.authStream(callback, 'GET', '/users', {
|
|
3267
3274
|
fields: request.fields,
|
|
3268
3275
|
page: request.page,
|
|
3269
3276
|
per_page: request.per_page,
|
|
@@ -3275,17 +3282,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3275
3282
|
})();
|
|
3276
3283
|
}
|
|
3277
3284
|
create_user(callback, body, fields, options) {
|
|
3278
|
-
var
|
|
3285
|
+
var _this383 = this;
|
|
3279
3286
|
return _asyncToGenerator(function* () {
|
|
3280
|
-
return
|
|
3287
|
+
return _this383.authStream(callback, 'POST', '/users', {
|
|
3281
3288
|
fields
|
|
3282
3289
|
}, body, options);
|
|
3283
3290
|
})();
|
|
3284
3291
|
}
|
|
3285
3292
|
search_users(callback, request, options) {
|
|
3286
|
-
var
|
|
3293
|
+
var _this384 = this;
|
|
3287
3294
|
return _asyncToGenerator(function* () {
|
|
3288
|
-
return
|
|
3295
|
+
return _this384.authStream(callback, 'GET', '/users/search', {
|
|
3289
3296
|
fields: request.fields,
|
|
3290
3297
|
page: request.page,
|
|
3291
3298
|
per_page: request.per_page,
|
|
@@ -3306,10 +3313,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3306
3313
|
})();
|
|
3307
3314
|
}
|
|
3308
3315
|
search_users_names(callback, request, options) {
|
|
3309
|
-
var
|
|
3316
|
+
var _this385 = this;
|
|
3310
3317
|
return _asyncToGenerator(function* () {
|
|
3311
3318
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3312
|
-
return
|
|
3319
|
+
return _this385.authStream(callback, 'GET', "/users/search/names/".concat(request.pattern), {
|
|
3313
3320
|
fields: request.fields,
|
|
3314
3321
|
page: request.page,
|
|
3315
3322
|
per_page: request.per_page,
|
|
@@ -3326,303 +3333,303 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3326
3333
|
})();
|
|
3327
3334
|
}
|
|
3328
3335
|
user(callback, user_id, fields, options) {
|
|
3329
|
-
var
|
|
3336
|
+
var _this386 = this;
|
|
3330
3337
|
return _asyncToGenerator(function* () {
|
|
3331
3338
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3332
|
-
return
|
|
3339
|
+
return _this386.authStream(callback, 'GET', "/users/".concat(user_id), {
|
|
3333
3340
|
fields
|
|
3334
3341
|
}, null, options);
|
|
3335
3342
|
})();
|
|
3336
3343
|
}
|
|
3337
3344
|
update_user(callback, user_id, body, fields, options) {
|
|
3338
|
-
var
|
|
3345
|
+
var _this387 = this;
|
|
3339
3346
|
return _asyncToGenerator(function* () {
|
|
3340
3347
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3341
|
-
return
|
|
3348
|
+
return _this387.authStream(callback, 'PATCH', "/users/".concat(user_id), {
|
|
3342
3349
|
fields
|
|
3343
3350
|
}, body, options);
|
|
3344
3351
|
})();
|
|
3345
3352
|
}
|
|
3346
3353
|
delete_user(callback, user_id, options) {
|
|
3347
|
-
var
|
|
3354
|
+
var _this388 = this;
|
|
3348
3355
|
return _asyncToGenerator(function* () {
|
|
3349
3356
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3350
|
-
return
|
|
3357
|
+
return _this388.authStream(callback, 'DELETE', "/users/".concat(user_id), null, null, options);
|
|
3351
3358
|
})();
|
|
3352
3359
|
}
|
|
3353
3360
|
user_for_credential(callback, credential_type, credential_id, fields, options) {
|
|
3354
|
-
var
|
|
3361
|
+
var _this389 = this;
|
|
3355
3362
|
return _asyncToGenerator(function* () {
|
|
3356
3363
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3357
3364
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3358
|
-
return
|
|
3365
|
+
return _this389.authStream(callback, 'GET', "/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3359
3366
|
fields
|
|
3360
3367
|
}, null, options);
|
|
3361
3368
|
})();
|
|
3362
3369
|
}
|
|
3363
3370
|
user_credentials_email(callback, user_id, fields, options) {
|
|
3364
|
-
var
|
|
3371
|
+
var _this390 = this;
|
|
3365
3372
|
return _asyncToGenerator(function* () {
|
|
3366
3373
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3367
|
-
return
|
|
3374
|
+
return _this390.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_email"), {
|
|
3368
3375
|
fields
|
|
3369
3376
|
}, null, options);
|
|
3370
3377
|
})();
|
|
3371
3378
|
}
|
|
3372
3379
|
create_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3373
|
-
var
|
|
3380
|
+
var _this391 = this;
|
|
3374
3381
|
return _asyncToGenerator(function* () {
|
|
3375
3382
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3376
|
-
return
|
|
3383
|
+
return _this391.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email"), {
|
|
3377
3384
|
fields
|
|
3378
3385
|
}, body, options);
|
|
3379
3386
|
})();
|
|
3380
3387
|
}
|
|
3381
3388
|
update_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3382
|
-
var
|
|
3389
|
+
var _this392 = this;
|
|
3383
3390
|
return _asyncToGenerator(function* () {
|
|
3384
3391
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3385
|
-
return
|
|
3392
|
+
return _this392.authStream(callback, 'PATCH', "/users/".concat(user_id, "/credentials_email"), {
|
|
3386
3393
|
fields
|
|
3387
3394
|
}, body, options);
|
|
3388
3395
|
})();
|
|
3389
3396
|
}
|
|
3390
3397
|
delete_user_credentials_email(callback, user_id, options) {
|
|
3391
|
-
var
|
|
3398
|
+
var _this393 = this;
|
|
3392
3399
|
return _asyncToGenerator(function* () {
|
|
3393
3400
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3394
|
-
return
|
|
3401
|
+
return _this393.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3395
3402
|
})();
|
|
3396
3403
|
}
|
|
3397
3404
|
user_credentials_totp(callback, user_id, fields, options) {
|
|
3398
|
-
var
|
|
3405
|
+
var _this394 = this;
|
|
3399
3406
|
return _asyncToGenerator(function* () {
|
|
3400
3407
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3401
|
-
return
|
|
3408
|
+
return _this394.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3402
3409
|
fields
|
|
3403
3410
|
}, null, options);
|
|
3404
3411
|
})();
|
|
3405
3412
|
}
|
|
3406
3413
|
create_user_credentials_totp(callback, user_id, body, fields, options) {
|
|
3407
|
-
var
|
|
3414
|
+
var _this395 = this;
|
|
3408
3415
|
return _asyncToGenerator(function* () {
|
|
3409
3416
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3410
|
-
return
|
|
3417
|
+
return _this395.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3411
3418
|
fields
|
|
3412
3419
|
}, body, options);
|
|
3413
3420
|
})();
|
|
3414
3421
|
}
|
|
3415
3422
|
delete_user_credentials_totp(callback, user_id, options) {
|
|
3416
|
-
var
|
|
3423
|
+
var _this396 = this;
|
|
3417
3424
|
return _asyncToGenerator(function* () {
|
|
3418
3425
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3419
|
-
return
|
|
3426
|
+
return _this396.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3420
3427
|
})();
|
|
3421
3428
|
}
|
|
3422
3429
|
user_credentials_ldap(callback, user_id, fields, options) {
|
|
3423
|
-
var
|
|
3430
|
+
var _this397 = this;
|
|
3424
3431
|
return _asyncToGenerator(function* () {
|
|
3425
3432
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3426
|
-
return
|
|
3433
|
+
return _this397.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_ldap"), {
|
|
3427
3434
|
fields
|
|
3428
3435
|
}, null, options);
|
|
3429
3436
|
})();
|
|
3430
3437
|
}
|
|
3431
3438
|
delete_user_credentials_ldap(callback, user_id, options) {
|
|
3432
|
-
var
|
|
3439
|
+
var _this398 = this;
|
|
3433
3440
|
return _asyncToGenerator(function* () {
|
|
3434
3441
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3435
|
-
return
|
|
3442
|
+
return _this398.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3436
3443
|
})();
|
|
3437
3444
|
}
|
|
3438
3445
|
user_credentials_google(callback, user_id, fields, options) {
|
|
3439
|
-
var
|
|
3446
|
+
var _this399 = this;
|
|
3440
3447
|
return _asyncToGenerator(function* () {
|
|
3441
3448
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3442
|
-
return
|
|
3449
|
+
return _this399.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_google"), {
|
|
3443
3450
|
fields
|
|
3444
3451
|
}, null, options);
|
|
3445
3452
|
})();
|
|
3446
3453
|
}
|
|
3447
3454
|
delete_user_credentials_google(callback, user_id, options) {
|
|
3448
|
-
var
|
|
3455
|
+
var _this400 = this;
|
|
3449
3456
|
return _asyncToGenerator(function* () {
|
|
3450
3457
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3451
|
-
return
|
|
3458
|
+
return _this400.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3452
3459
|
})();
|
|
3453
3460
|
}
|
|
3454
3461
|
user_credentials_saml(callback, user_id, fields, options) {
|
|
3455
|
-
var
|
|
3462
|
+
var _this401 = this;
|
|
3456
3463
|
return _asyncToGenerator(function* () {
|
|
3457
3464
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3458
|
-
return
|
|
3465
|
+
return _this401.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_saml"), {
|
|
3459
3466
|
fields
|
|
3460
3467
|
}, null, options);
|
|
3461
3468
|
})();
|
|
3462
3469
|
}
|
|
3463
3470
|
delete_user_credentials_saml(callback, user_id, options) {
|
|
3464
|
-
var
|
|
3471
|
+
var _this402 = this;
|
|
3465
3472
|
return _asyncToGenerator(function* () {
|
|
3466
3473
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3467
|
-
return
|
|
3474
|
+
return _this402.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3468
3475
|
})();
|
|
3469
3476
|
}
|
|
3470
3477
|
user_credentials_oidc(callback, user_id, fields, options) {
|
|
3471
|
-
var
|
|
3478
|
+
var _this403 = this;
|
|
3472
3479
|
return _asyncToGenerator(function* () {
|
|
3473
3480
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3474
|
-
return
|
|
3481
|
+
return _this403.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_oidc"), {
|
|
3475
3482
|
fields
|
|
3476
3483
|
}, null, options);
|
|
3477
3484
|
})();
|
|
3478
3485
|
}
|
|
3479
3486
|
delete_user_credentials_oidc(callback, user_id, options) {
|
|
3480
|
-
var
|
|
3487
|
+
var _this404 = this;
|
|
3481
3488
|
return _asyncToGenerator(function* () {
|
|
3482
3489
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3483
|
-
return
|
|
3490
|
+
return _this404.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3484
3491
|
})();
|
|
3485
3492
|
}
|
|
3486
3493
|
user_credentials_api3(callback, user_id, credentials_api3_id, fields, options) {
|
|
3487
|
-
var
|
|
3494
|
+
var _this405 = this;
|
|
3488
3495
|
return _asyncToGenerator(function* () {
|
|
3489
3496
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3490
3497
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3491
|
-
return
|
|
3498
|
+
return _this405.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3492
3499
|
fields
|
|
3493
3500
|
}, null, options);
|
|
3494
3501
|
})();
|
|
3495
3502
|
}
|
|
3496
3503
|
delete_user_credentials_api3(callback, user_id, credentials_api3_id, options) {
|
|
3497
|
-
var
|
|
3504
|
+
var _this406 = this;
|
|
3498
3505
|
return _asyncToGenerator(function* () {
|
|
3499
3506
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3500
3507
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3501
|
-
return
|
|
3508
|
+
return _this406.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3502
3509
|
})();
|
|
3503
3510
|
}
|
|
3504
3511
|
all_user_credentials_api3s(callback, user_id, fields, options) {
|
|
3505
|
-
var
|
|
3512
|
+
var _this407 = this;
|
|
3506
3513
|
return _asyncToGenerator(function* () {
|
|
3507
3514
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3508
|
-
return
|
|
3515
|
+
return _this407.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3509
3516
|
fields
|
|
3510
3517
|
}, null, options);
|
|
3511
3518
|
})();
|
|
3512
3519
|
}
|
|
3513
3520
|
create_user_credentials_api3(callback, user_id, fields, options) {
|
|
3514
|
-
var
|
|
3521
|
+
var _this408 = this;
|
|
3515
3522
|
return _asyncToGenerator(function* () {
|
|
3516
3523
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3517
|
-
return
|
|
3524
|
+
return _this408.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3518
3525
|
fields
|
|
3519
3526
|
}, null, options);
|
|
3520
3527
|
})();
|
|
3521
3528
|
}
|
|
3522
3529
|
user_credentials_embed(callback, user_id, credentials_embed_id, fields, options) {
|
|
3523
|
-
var
|
|
3530
|
+
var _this409 = this;
|
|
3524
3531
|
return _asyncToGenerator(function* () {
|
|
3525
3532
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3526
3533
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3527
|
-
return
|
|
3534
|
+
return _this409.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3528
3535
|
fields
|
|
3529
3536
|
}, null, options);
|
|
3530
3537
|
})();
|
|
3531
3538
|
}
|
|
3532
3539
|
delete_user_credentials_embed(callback, user_id, credentials_embed_id, options) {
|
|
3533
|
-
var
|
|
3540
|
+
var _this410 = this;
|
|
3534
3541
|
return _asyncToGenerator(function* () {
|
|
3535
3542
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3536
3543
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3537
|
-
return
|
|
3544
|
+
return _this410.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3538
3545
|
})();
|
|
3539
3546
|
}
|
|
3540
3547
|
all_user_credentials_embeds(callback, user_id, fields, options) {
|
|
3541
|
-
var
|
|
3548
|
+
var _this411 = this;
|
|
3542
3549
|
return _asyncToGenerator(function* () {
|
|
3543
3550
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3544
|
-
return
|
|
3551
|
+
return _this411.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed"), {
|
|
3545
3552
|
fields
|
|
3546
3553
|
}, null, options);
|
|
3547
3554
|
})();
|
|
3548
3555
|
}
|
|
3549
3556
|
user_credentials_looker_openid(callback, user_id, fields, options) {
|
|
3550
|
-
var
|
|
3557
|
+
var _this412 = this;
|
|
3551
3558
|
return _asyncToGenerator(function* () {
|
|
3552
3559
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3553
|
-
return
|
|
3560
|
+
return _this412.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3554
3561
|
fields
|
|
3555
3562
|
}, null, options);
|
|
3556
3563
|
})();
|
|
3557
3564
|
}
|
|
3558
3565
|
delete_user_credentials_looker_openid(callback, user_id, options) {
|
|
3559
|
-
var
|
|
3566
|
+
var _this413 = this;
|
|
3560
3567
|
return _asyncToGenerator(function* () {
|
|
3561
3568
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3562
|
-
return
|
|
3569
|
+
return _this413.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3563
3570
|
})();
|
|
3564
3571
|
}
|
|
3565
3572
|
user_session(callback, user_id, session_id, fields, options) {
|
|
3566
|
-
var
|
|
3573
|
+
var _this414 = this;
|
|
3567
3574
|
return _asyncToGenerator(function* () {
|
|
3568
3575
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3569
3576
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3570
|
-
return
|
|
3577
|
+
return _this414.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3571
3578
|
fields
|
|
3572
3579
|
}, null, options);
|
|
3573
3580
|
})();
|
|
3574
3581
|
}
|
|
3575
3582
|
delete_user_session(callback, user_id, session_id, options) {
|
|
3576
|
-
var
|
|
3583
|
+
var _this415 = this;
|
|
3577
3584
|
return _asyncToGenerator(function* () {
|
|
3578
3585
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3579
3586
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3580
|
-
return
|
|
3587
|
+
return _this415.authStream(callback, 'DELETE', "/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3581
3588
|
})();
|
|
3582
3589
|
}
|
|
3583
3590
|
all_user_sessions(callback, user_id, fields, options) {
|
|
3584
|
-
var
|
|
3591
|
+
var _this416 = this;
|
|
3585
3592
|
return _asyncToGenerator(function* () {
|
|
3586
3593
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3587
|
-
return
|
|
3594
|
+
return _this416.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions"), {
|
|
3588
3595
|
fields
|
|
3589
3596
|
}, null, options);
|
|
3590
3597
|
})();
|
|
3591
3598
|
}
|
|
3592
3599
|
create_user_credentials_email_password_reset(callback, request, options) {
|
|
3593
|
-
var
|
|
3600
|
+
var _this417 = this;
|
|
3594
3601
|
return _asyncToGenerator(function* () {
|
|
3595
3602
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3596
|
-
return
|
|
3603
|
+
return _this417.authStream(callback, 'POST', "/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3597
3604
|
expires: request.expires,
|
|
3598
3605
|
fields: request.fields
|
|
3599
3606
|
}, null, options);
|
|
3600
3607
|
})();
|
|
3601
3608
|
}
|
|
3602
3609
|
user_roles(callback, request, options) {
|
|
3603
|
-
var
|
|
3610
|
+
var _this418 = this;
|
|
3604
3611
|
return _asyncToGenerator(function* () {
|
|
3605
3612
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3606
|
-
return
|
|
3613
|
+
return _this418.authStream(callback, 'GET', "/users/".concat(request.user_id, "/roles"), {
|
|
3607
3614
|
fields: request.fields,
|
|
3608
3615
|
direct_association_only: request.direct_association_only
|
|
3609
3616
|
}, null, options);
|
|
3610
3617
|
})();
|
|
3611
3618
|
}
|
|
3612
3619
|
set_user_roles(callback, user_id, body, fields, options) {
|
|
3613
|
-
var
|
|
3620
|
+
var _this419 = this;
|
|
3614
3621
|
return _asyncToGenerator(function* () {
|
|
3615
3622
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3616
|
-
return
|
|
3623
|
+
return _this419.authStream(callback, 'PUT', "/users/".concat(user_id, "/roles"), {
|
|
3617
3624
|
fields
|
|
3618
3625
|
}, body, options);
|
|
3619
3626
|
})();
|
|
3620
3627
|
}
|
|
3621
3628
|
user_attribute_user_values(callback, request, options) {
|
|
3622
|
-
var
|
|
3629
|
+
var _this420 = this;
|
|
3623
3630
|
return _asyncToGenerator(function* () {
|
|
3624
3631
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3625
|
-
return
|
|
3632
|
+
return _this420.authStream(callback, 'GET', "/users/".concat(request.user_id, "/attribute_values"), {
|
|
3626
3633
|
fields: request.fields,
|
|
3627
3634
|
user_attribute_ids: request.user_attribute_ids,
|
|
3628
3635
|
all_values: request.all_values,
|
|
@@ -3631,114 +3638,114 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3631
3638
|
})();
|
|
3632
3639
|
}
|
|
3633
3640
|
set_user_attribute_user_value(callback, user_id, user_attribute_id, body, options) {
|
|
3634
|
-
var
|
|
3641
|
+
var _this421 = this;
|
|
3635
3642
|
return _asyncToGenerator(function* () {
|
|
3636
3643
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3637
3644
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3638
|
-
return
|
|
3645
|
+
return _this421.authStream(callback, 'PATCH', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3639
3646
|
})();
|
|
3640
3647
|
}
|
|
3641
3648
|
delete_user_attribute_user_value(callback, user_id, user_attribute_id, options) {
|
|
3642
|
-
var
|
|
3649
|
+
var _this422 = this;
|
|
3643
3650
|
return _asyncToGenerator(function* () {
|
|
3644
3651
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3645
3652
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3646
|
-
return
|
|
3653
|
+
return _this422.authStream(callback, 'DELETE', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3647
3654
|
})();
|
|
3648
3655
|
}
|
|
3649
3656
|
send_user_credentials_email_password_reset(callback, user_id, fields, options) {
|
|
3650
|
-
var
|
|
3657
|
+
var _this423 = this;
|
|
3651
3658
|
return _asyncToGenerator(function* () {
|
|
3652
3659
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3653
|
-
return
|
|
3660
|
+
return _this423.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3654
3661
|
fields
|
|
3655
3662
|
}, null, options);
|
|
3656
3663
|
})();
|
|
3657
3664
|
}
|
|
3658
3665
|
wipeout_user_emails(callback, user_id, body, fields, options) {
|
|
3659
|
-
var
|
|
3666
|
+
var _this424 = this;
|
|
3660
3667
|
return _asyncToGenerator(function* () {
|
|
3661
3668
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3662
|
-
return
|
|
3669
|
+
return _this424.authStream(callback, 'POST', "/users/".concat(user_id, "/update_emails"), {
|
|
3663
3670
|
fields
|
|
3664
3671
|
}, body, options);
|
|
3665
3672
|
})();
|
|
3666
3673
|
}
|
|
3667
3674
|
create_embed_user(callback, body, options) {
|
|
3668
|
-
var
|
|
3675
|
+
var _this425 = this;
|
|
3669
3676
|
return _asyncToGenerator(function* () {
|
|
3670
|
-
return
|
|
3677
|
+
return _this425.authStream(callback, 'POST', '/users/embed_user', null, body, options);
|
|
3671
3678
|
})();
|
|
3672
3679
|
}
|
|
3673
3680
|
all_user_attributes(callback, request, options) {
|
|
3674
|
-
var
|
|
3681
|
+
var _this426 = this;
|
|
3675
3682
|
return _asyncToGenerator(function* () {
|
|
3676
|
-
return
|
|
3683
|
+
return _this426.authStream(callback, 'GET', '/user_attributes', {
|
|
3677
3684
|
fields: request.fields,
|
|
3678
3685
|
sorts: request.sorts
|
|
3679
3686
|
}, null, options);
|
|
3680
3687
|
})();
|
|
3681
3688
|
}
|
|
3682
3689
|
create_user_attribute(callback, body, fields, options) {
|
|
3683
|
-
var
|
|
3690
|
+
var _this427 = this;
|
|
3684
3691
|
return _asyncToGenerator(function* () {
|
|
3685
|
-
return
|
|
3692
|
+
return _this427.authStream(callback, 'POST', '/user_attributes', {
|
|
3686
3693
|
fields
|
|
3687
3694
|
}, body, options);
|
|
3688
3695
|
})();
|
|
3689
3696
|
}
|
|
3690
3697
|
user_attribute(callback, user_attribute_id, fields, options) {
|
|
3691
|
-
var
|
|
3698
|
+
var _this428 = this;
|
|
3692
3699
|
return _asyncToGenerator(function* () {
|
|
3693
3700
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3694
|
-
return
|
|
3701
|
+
return _this428.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id), {
|
|
3695
3702
|
fields
|
|
3696
3703
|
}, null, options);
|
|
3697
3704
|
})();
|
|
3698
3705
|
}
|
|
3699
3706
|
update_user_attribute(callback, user_attribute_id, body, fields, options) {
|
|
3700
|
-
var
|
|
3707
|
+
var _this429 = this;
|
|
3701
3708
|
return _asyncToGenerator(function* () {
|
|
3702
3709
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3703
|
-
return
|
|
3710
|
+
return _this429.authStream(callback, 'PATCH', "/user_attributes/".concat(user_attribute_id), {
|
|
3704
3711
|
fields
|
|
3705
3712
|
}, body, options);
|
|
3706
3713
|
})();
|
|
3707
3714
|
}
|
|
3708
3715
|
delete_user_attribute(callback, user_attribute_id, options) {
|
|
3709
|
-
var
|
|
3716
|
+
var _this430 = this;
|
|
3710
3717
|
return _asyncToGenerator(function* () {
|
|
3711
3718
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3712
|
-
return
|
|
3719
|
+
return _this430.authStream(callback, 'DELETE', "/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3713
3720
|
})();
|
|
3714
3721
|
}
|
|
3715
3722
|
all_user_attribute_group_values(callback, user_attribute_id, fields, options) {
|
|
3716
|
-
var
|
|
3723
|
+
var _this431 = this;
|
|
3717
3724
|
return _asyncToGenerator(function* () {
|
|
3718
3725
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3719
|
-
return
|
|
3726
|
+
return _this431.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3720
3727
|
fields
|
|
3721
3728
|
}, null, options);
|
|
3722
3729
|
})();
|
|
3723
3730
|
}
|
|
3724
3731
|
set_user_attribute_group_values(callback, user_attribute_id, body, options) {
|
|
3725
|
-
var
|
|
3732
|
+
var _this432 = this;
|
|
3726
3733
|
return _asyncToGenerator(function* () {
|
|
3727
3734
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3728
|
-
return
|
|
3735
|
+
return _this432.authStream(callback, 'POST', "/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3729
3736
|
})();
|
|
3730
3737
|
}
|
|
3731
3738
|
all_workspaces(callback, options) {
|
|
3732
|
-
var
|
|
3739
|
+
var _this433 = this;
|
|
3733
3740
|
return _asyncToGenerator(function* () {
|
|
3734
|
-
return
|
|
3741
|
+
return _this433.authStream(callback, 'GET', '/workspaces', null, null, options);
|
|
3735
3742
|
})();
|
|
3736
3743
|
}
|
|
3737
3744
|
workspace(callback, workspace_id, options) {
|
|
3738
|
-
var
|
|
3745
|
+
var _this434 = this;
|
|
3739
3746
|
return _asyncToGenerator(function* () {
|
|
3740
3747
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3741
|
-
return
|
|
3748
|
+
return _this434.authStream(callback, 'GET', "/workspaces/".concat(workspace_id), null, null, options);
|
|
3742
3749
|
})();
|
|
3743
3750
|
}
|
|
3744
3751
|
}
|