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