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