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