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