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