@looker/sdk 25.20.0 → 26.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/lib/4.0/funcs.d.ts +3 -1
- package/lib/4.0/funcs.js +952 -933
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +3 -1
- package/lib/4.0/methods.js +636 -621
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +3 -1
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +33 -0
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +3 -1
- package/lib/4.0/streams.js +636 -621
- package/lib/4.0/streams.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/4.0/funcs.js +948 -929
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +636 -621
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/methodsInterface.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +636 -621
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +2 -2
package/lib/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,27 +2207,27 @@ 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,
|
|
@@ -2231,85 +2239,85 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2231
2239
|
})();
|
|
2232
2240
|
}
|
|
2233
2241
|
create_lookml_model(callback, body, options) {
|
|
2234
|
-
var
|
|
2242
|
+
var _this265 = this;
|
|
2235
2243
|
return _asyncToGenerator(function* () {
|
|
2236
|
-
return
|
|
2244
|
+
return _this265.authStream(callback, 'POST', '/lookml_models', null, body, options);
|
|
2237
2245
|
})();
|
|
2238
2246
|
}
|
|
2239
2247
|
lookml_model(callback, lookml_model_name, fields, options) {
|
|
2240
|
-
var
|
|
2248
|
+
var _this266 = this;
|
|
2241
2249
|
return _asyncToGenerator(function* () {
|
|
2242
2250
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2243
|
-
return
|
|
2251
|
+
return _this266.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name), {
|
|
2244
2252
|
fields
|
|
2245
2253
|
}, null, options);
|
|
2246
2254
|
})();
|
|
2247
2255
|
}
|
|
2248
2256
|
update_lookml_model(callback, lookml_model_name, body, options) {
|
|
2249
|
-
var
|
|
2257
|
+
var _this267 = this;
|
|
2250
2258
|
return _asyncToGenerator(function* () {
|
|
2251
2259
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2252
|
-
return
|
|
2260
|
+
return _this267.authStream(callback, 'PATCH', "/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2253
2261
|
})();
|
|
2254
2262
|
}
|
|
2255
2263
|
delete_lookml_model(callback, lookml_model_name, options) {
|
|
2256
|
-
var
|
|
2264
|
+
var _this268 = this;
|
|
2257
2265
|
return _asyncToGenerator(function* () {
|
|
2258
2266
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2259
|
-
return
|
|
2267
|
+
return _this268.authStream(callback, 'DELETE', "/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2260
2268
|
})();
|
|
2261
2269
|
}
|
|
2262
2270
|
lookml_model_explore(callback, request, options) {
|
|
2263
|
-
var
|
|
2271
|
+
var _this269 = this;
|
|
2264
2272
|
return _asyncToGenerator(function* () {
|
|
2265
2273
|
request.lookml_model_name = (0, _sdkRtl.encodeParam)(request.lookml_model_name);
|
|
2266
2274
|
request.explore_name = (0, _sdkRtl.encodeParam)(request.explore_name);
|
|
2267
|
-
return
|
|
2275
|
+
return _this269.authStream(callback, 'GET', "/lookml_models/".concat(request.lookml_model_name, "/explores/").concat(request.explore_name), {
|
|
2268
2276
|
fields: request.fields,
|
|
2269
2277
|
add_drills_metadata: request.add_drills_metadata
|
|
2270
2278
|
}, null, options);
|
|
2271
2279
|
})();
|
|
2272
2280
|
}
|
|
2273
2281
|
model_fieldname_suggestions(callback, request, options) {
|
|
2274
|
-
var
|
|
2282
|
+
var _this270 = this;
|
|
2275
2283
|
return _asyncToGenerator(function* () {
|
|
2276
2284
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
2277
2285
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
2278
2286
|
request.field_name = (0, _sdkRtl.encodeParam)(request.field_name);
|
|
2279
|
-
return
|
|
2287
|
+
return _this270.authStream(callback, 'GET', "/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2280
2288
|
term: request.term,
|
|
2281
2289
|
filters: request.filters
|
|
2282
2290
|
}, null, options);
|
|
2283
2291
|
})();
|
|
2284
2292
|
}
|
|
2285
2293
|
get_model(callback, model_name, options) {
|
|
2286
|
-
var
|
|
2294
|
+
var _this271 = this;
|
|
2287
2295
|
return _asyncToGenerator(function* () {
|
|
2288
2296
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2289
|
-
return
|
|
2297
|
+
return _this271.authStream(callback, 'GET', "/models/".concat(model_name), null, null, options);
|
|
2290
2298
|
})();
|
|
2291
2299
|
}
|
|
2292
2300
|
connection_databases(callback, connection_name, options) {
|
|
2293
|
-
var
|
|
2301
|
+
var _this272 = this;
|
|
2294
2302
|
return _asyncToGenerator(function* () {
|
|
2295
2303
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2296
|
-
return
|
|
2304
|
+
return _this272.authStream(callback, 'GET', "/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2297
2305
|
})();
|
|
2298
2306
|
}
|
|
2299
2307
|
connection_features(callback, connection_name, fields, options) {
|
|
2300
|
-
var
|
|
2308
|
+
var _this273 = this;
|
|
2301
2309
|
return _asyncToGenerator(function* () {
|
|
2302
2310
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2303
|
-
return
|
|
2311
|
+
return _this273.authStream(callback, 'GET', "/connections/".concat(connection_name, "/features"), {
|
|
2304
2312
|
fields
|
|
2305
2313
|
}, null, options);
|
|
2306
2314
|
})();
|
|
2307
2315
|
}
|
|
2308
2316
|
connection_schemas(callback, request, options) {
|
|
2309
|
-
var
|
|
2317
|
+
var _this274 = this;
|
|
2310
2318
|
return _asyncToGenerator(function* () {
|
|
2311
2319
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2312
|
-
return
|
|
2320
|
+
return _this274.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/schemas"), {
|
|
2313
2321
|
database: request.database,
|
|
2314
2322
|
cache: request.cache,
|
|
2315
2323
|
fields: request.fields
|
|
@@ -2317,10 +2325,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2317
2325
|
})();
|
|
2318
2326
|
}
|
|
2319
2327
|
connection_tables(callback, request, options) {
|
|
2320
|
-
var
|
|
2328
|
+
var _this275 = this;
|
|
2321
2329
|
return _asyncToGenerator(function* () {
|
|
2322
2330
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2323
|
-
return
|
|
2331
|
+
return _this275.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/tables"), {
|
|
2324
2332
|
database: request.database,
|
|
2325
2333
|
schema_name: request.schema_name,
|
|
2326
2334
|
cache: request.cache,
|
|
@@ -2331,10 +2339,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2331
2339
|
})();
|
|
2332
2340
|
}
|
|
2333
2341
|
connection_columns(callback, request, options) {
|
|
2334
|
-
var
|
|
2342
|
+
var _this276 = this;
|
|
2335
2343
|
return _asyncToGenerator(function* () {
|
|
2336
2344
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2337
|
-
return
|
|
2345
|
+
return _this276.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/columns"), {
|
|
2338
2346
|
database: request.database,
|
|
2339
2347
|
schema_name: request.schema_name,
|
|
2340
2348
|
cache: request.cache,
|
|
@@ -2345,260 +2353,260 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2345
2353
|
})();
|
|
2346
2354
|
}
|
|
2347
2355
|
connection_search_columns(callback, request, options) {
|
|
2348
|
-
var
|
|
2356
|
+
var _this277 = this;
|
|
2349
2357
|
return _asyncToGenerator(function* () {
|
|
2350
2358
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2351
|
-
return
|
|
2359
|
+
return _this277.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2352
2360
|
column_name: request.column_name,
|
|
2353
2361
|
fields: request.fields
|
|
2354
2362
|
}, null, options);
|
|
2355
2363
|
})();
|
|
2356
2364
|
}
|
|
2357
2365
|
connection_cost_estimate(callback, connection_name, body, fields, options) {
|
|
2358
|
-
var
|
|
2366
|
+
var _this278 = this;
|
|
2359
2367
|
return _asyncToGenerator(function* () {
|
|
2360
2368
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2361
|
-
return
|
|
2369
|
+
return _this278.authStream(callback, 'POST', "/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2362
2370
|
fields
|
|
2363
2371
|
}, body, options);
|
|
2364
2372
|
})();
|
|
2365
2373
|
}
|
|
2366
2374
|
get_ci_run(callback, project_id, run_id, fields, options) {
|
|
2367
|
-
var
|
|
2375
|
+
var _this279 = this;
|
|
2368
2376
|
return _asyncToGenerator(function* () {
|
|
2369
2377
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2370
2378
|
run_id = (0, _sdkRtl.encodeParam)(run_id);
|
|
2371
|
-
return
|
|
2379
|
+
return _this279.authStream(callback, 'GET', "/projects/".concat(project_id, "/ci/runs/").concat(run_id), {
|
|
2372
2380
|
fields
|
|
2373
2381
|
}, null, options);
|
|
2374
2382
|
})();
|
|
2375
2383
|
}
|
|
2376
2384
|
create_ci_run(callback, project_id, body, fields, options) {
|
|
2377
|
-
var
|
|
2385
|
+
var _this280 = this;
|
|
2378
2386
|
return _asyncToGenerator(function* () {
|
|
2379
2387
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2380
|
-
return
|
|
2388
|
+
return _this280.authStream(callback, 'POST', "/projects/".concat(project_id, "/ci/run"), {
|
|
2381
2389
|
fields
|
|
2382
2390
|
}, body, options);
|
|
2383
2391
|
})();
|
|
2384
2392
|
}
|
|
2385
2393
|
lock_all(callback, project_id, fields, options) {
|
|
2386
|
-
var
|
|
2394
|
+
var _this281 = this;
|
|
2387
2395
|
return _asyncToGenerator(function* () {
|
|
2388
2396
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2389
|
-
return
|
|
2397
|
+
return _this281.authStream(callback, 'POST', "/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2390
2398
|
fields
|
|
2391
2399
|
}, null, options);
|
|
2392
2400
|
})();
|
|
2393
2401
|
}
|
|
2394
2402
|
all_git_branches(callback, project_id, options) {
|
|
2395
|
-
var
|
|
2403
|
+
var _this282 = this;
|
|
2396
2404
|
return _asyncToGenerator(function* () {
|
|
2397
2405
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2398
|
-
return
|
|
2406
|
+
return _this282.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2399
2407
|
})();
|
|
2400
2408
|
}
|
|
2401
2409
|
git_branch(callback, project_id, options) {
|
|
2402
|
-
var
|
|
2410
|
+
var _this283 = this;
|
|
2403
2411
|
return _asyncToGenerator(function* () {
|
|
2404
2412
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2405
|
-
return
|
|
2413
|
+
return _this283.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2406
2414
|
})();
|
|
2407
2415
|
}
|
|
2408
2416
|
update_git_branch(callback, project_id, body, options) {
|
|
2409
|
-
var
|
|
2417
|
+
var _this284 = this;
|
|
2410
2418
|
return _asyncToGenerator(function* () {
|
|
2411
2419
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2412
|
-
return
|
|
2420
|
+
return _this284.authStream(callback, 'PUT', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2413
2421
|
})();
|
|
2414
2422
|
}
|
|
2415
2423
|
create_git_branch(callback, project_id, body, options) {
|
|
2416
|
-
var
|
|
2424
|
+
var _this285 = this;
|
|
2417
2425
|
return _asyncToGenerator(function* () {
|
|
2418
2426
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2419
|
-
return
|
|
2427
|
+
return _this285.authStream(callback, 'POST', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2420
2428
|
})();
|
|
2421
2429
|
}
|
|
2422
2430
|
find_git_branch(callback, project_id, branch_name, options) {
|
|
2423
|
-
var
|
|
2431
|
+
var _this286 = this;
|
|
2424
2432
|
return _asyncToGenerator(function* () {
|
|
2425
2433
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2426
2434
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2427
|
-
return
|
|
2435
|
+
return _this286.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2428
2436
|
})();
|
|
2429
2437
|
}
|
|
2430
2438
|
delete_git_branch(callback, project_id, branch_name, options) {
|
|
2431
|
-
var
|
|
2439
|
+
var _this287 = this;
|
|
2432
2440
|
return _asyncToGenerator(function* () {
|
|
2433
2441
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2434
2442
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2435
|
-
return
|
|
2443
|
+
return _this287.authStream(callback, 'DELETE', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2436
2444
|
})();
|
|
2437
2445
|
}
|
|
2438
2446
|
deploy_ref_to_production(callback, request, options) {
|
|
2439
|
-
var
|
|
2447
|
+
var _this288 = this;
|
|
2440
2448
|
return _asyncToGenerator(function* () {
|
|
2441
2449
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2442
|
-
return
|
|
2450
|
+
return _this288.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2443
2451
|
branch: request.branch,
|
|
2444
2452
|
ref: request.ref
|
|
2445
2453
|
}, null, options);
|
|
2446
2454
|
})();
|
|
2447
2455
|
}
|
|
2448
2456
|
deploy_to_production(callback, project_id, options) {
|
|
2449
|
-
var
|
|
2457
|
+
var _this289 = this;
|
|
2450
2458
|
return _asyncToGenerator(function* () {
|
|
2451
2459
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2452
|
-
return
|
|
2460
|
+
return _this289.authStream(callback, 'POST', "/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2453
2461
|
})();
|
|
2454
2462
|
}
|
|
2455
2463
|
reset_project_to_production(callback, project_id, options) {
|
|
2456
|
-
var
|
|
2464
|
+
var _this290 = this;
|
|
2457
2465
|
return _asyncToGenerator(function* () {
|
|
2458
2466
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2459
|
-
return
|
|
2467
|
+
return _this290.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2460
2468
|
})();
|
|
2461
2469
|
}
|
|
2462
2470
|
reset_project_to_remote(callback, project_id, options) {
|
|
2463
|
-
var
|
|
2471
|
+
var _this291 = this;
|
|
2464
2472
|
return _asyncToGenerator(function* () {
|
|
2465
2473
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2466
|
-
return
|
|
2474
|
+
return _this291.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2467
2475
|
})();
|
|
2468
2476
|
}
|
|
2469
2477
|
all_projects(callback, fields, options) {
|
|
2470
|
-
var
|
|
2478
|
+
var _this292 = this;
|
|
2471
2479
|
return _asyncToGenerator(function* () {
|
|
2472
|
-
return
|
|
2480
|
+
return _this292.authStream(callback, 'GET', '/projects', {
|
|
2473
2481
|
fields
|
|
2474
2482
|
}, null, options);
|
|
2475
2483
|
})();
|
|
2476
2484
|
}
|
|
2477
2485
|
create_project(callback, body, options) {
|
|
2478
|
-
var
|
|
2486
|
+
var _this293 = this;
|
|
2479
2487
|
return _asyncToGenerator(function* () {
|
|
2480
|
-
return
|
|
2488
|
+
return _this293.authStream(callback, 'POST', '/projects', null, body, options);
|
|
2481
2489
|
})();
|
|
2482
2490
|
}
|
|
2483
2491
|
project(callback, project_id, fields, options) {
|
|
2484
|
-
var
|
|
2492
|
+
var _this294 = this;
|
|
2485
2493
|
return _asyncToGenerator(function* () {
|
|
2486
2494
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2487
|
-
return
|
|
2495
|
+
return _this294.authStream(callback, 'GET', "/projects/".concat(project_id), {
|
|
2488
2496
|
fields
|
|
2489
2497
|
}, null, options);
|
|
2490
2498
|
})();
|
|
2491
2499
|
}
|
|
2492
2500
|
update_project(callback, project_id, body, fields, options) {
|
|
2493
|
-
var
|
|
2501
|
+
var _this295 = this;
|
|
2494
2502
|
return _asyncToGenerator(function* () {
|
|
2495
2503
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2496
|
-
return
|
|
2504
|
+
return _this295.authStream(callback, 'PATCH', "/projects/".concat(project_id), {
|
|
2497
2505
|
fields
|
|
2498
2506
|
}, body, options);
|
|
2499
2507
|
})();
|
|
2500
2508
|
}
|
|
2501
2509
|
manifest(callback, project_id, options) {
|
|
2502
|
-
var
|
|
2510
|
+
var _this296 = this;
|
|
2503
2511
|
return _asyncToGenerator(function* () {
|
|
2504
2512
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2505
|
-
return
|
|
2513
|
+
return _this296.authStream(callback, 'GET', "/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2506
2514
|
})();
|
|
2507
2515
|
}
|
|
2508
2516
|
git_deploy_key(callback, project_id, options) {
|
|
2509
|
-
var
|
|
2517
|
+
var _this297 = this;
|
|
2510
2518
|
return _asyncToGenerator(function* () {
|
|
2511
2519
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2512
|
-
return
|
|
2520
|
+
return _this297.authStream(callback, 'GET', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2513
2521
|
})();
|
|
2514
2522
|
}
|
|
2515
2523
|
create_git_deploy_key(callback, project_id, options) {
|
|
2516
|
-
var
|
|
2524
|
+
var _this298 = this;
|
|
2517
2525
|
return _asyncToGenerator(function* () {
|
|
2518
2526
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2519
|
-
return
|
|
2527
|
+
return _this298.authStream(callback, 'POST', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2520
2528
|
})();
|
|
2521
2529
|
}
|
|
2522
2530
|
project_validation_results(callback, project_id, fields, options) {
|
|
2523
|
-
var
|
|
2531
|
+
var _this299 = this;
|
|
2524
2532
|
return _asyncToGenerator(function* () {
|
|
2525
2533
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2526
|
-
return
|
|
2534
|
+
return _this299.authStream(callback, 'GET', "/projects/".concat(project_id, "/validate"), {
|
|
2527
2535
|
fields
|
|
2528
2536
|
}, null, options);
|
|
2529
2537
|
})();
|
|
2530
2538
|
}
|
|
2531
2539
|
validate_project(callback, project_id, fields, options) {
|
|
2532
|
-
var
|
|
2540
|
+
var _this300 = this;
|
|
2533
2541
|
return _asyncToGenerator(function* () {
|
|
2534
2542
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2535
|
-
return
|
|
2543
|
+
return _this300.authStream(callback, 'POST', "/projects/".concat(project_id, "/validate"), {
|
|
2536
2544
|
fields
|
|
2537
2545
|
}, null, options);
|
|
2538
2546
|
})();
|
|
2539
2547
|
}
|
|
2540
2548
|
project_workspace(callback, project_id, fields, options) {
|
|
2541
|
-
var
|
|
2549
|
+
var _this301 = this;
|
|
2542
2550
|
return _asyncToGenerator(function* () {
|
|
2543
2551
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2544
|
-
return
|
|
2552
|
+
return _this301.authStream(callback, 'GET', "/projects/".concat(project_id, "/current_workspace"), {
|
|
2545
2553
|
fields
|
|
2546
2554
|
}, null, options);
|
|
2547
2555
|
})();
|
|
2548
2556
|
}
|
|
2549
2557
|
all_project_files(callback, project_id, fields, options) {
|
|
2550
|
-
var
|
|
2558
|
+
var _this302 = this;
|
|
2551
2559
|
return _asyncToGenerator(function* () {
|
|
2552
2560
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2553
|
-
return
|
|
2561
|
+
return _this302.authStream(callback, 'GET', "/projects/".concat(project_id, "/files"), {
|
|
2554
2562
|
fields
|
|
2555
2563
|
}, null, options);
|
|
2556
2564
|
})();
|
|
2557
2565
|
}
|
|
2558
2566
|
project_file(callback, project_id, file_id, fields, options) {
|
|
2559
|
-
var
|
|
2567
|
+
var _this303 = this;
|
|
2560
2568
|
return _asyncToGenerator(function* () {
|
|
2561
2569
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2562
|
-
return
|
|
2570
|
+
return _this303.authStream(callback, 'GET', "/projects/".concat(project_id, "/files/file"), {
|
|
2563
2571
|
file_id,
|
|
2564
2572
|
fields
|
|
2565
2573
|
}, null, options);
|
|
2566
2574
|
})();
|
|
2567
2575
|
}
|
|
2568
2576
|
all_git_connection_tests(callback, project_id, remote_url, options) {
|
|
2569
|
-
var
|
|
2577
|
+
var _this304 = this;
|
|
2570
2578
|
return _asyncToGenerator(function* () {
|
|
2571
2579
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2572
|
-
return
|
|
2580
|
+
return _this304.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2573
2581
|
remote_url
|
|
2574
2582
|
}, null, options);
|
|
2575
2583
|
})();
|
|
2576
2584
|
}
|
|
2577
2585
|
run_git_connection_test(callback, request, options) {
|
|
2578
|
-
var
|
|
2586
|
+
var _this305 = this;
|
|
2579
2587
|
return _asyncToGenerator(function* () {
|
|
2580
2588
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2581
2589
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2582
|
-
return
|
|
2590
|
+
return _this305.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2583
2591
|
remote_url: request.remote_url,
|
|
2584
2592
|
use_production: request.use_production
|
|
2585
2593
|
}, null, options);
|
|
2586
2594
|
})();
|
|
2587
2595
|
}
|
|
2588
2596
|
all_lookml_tests(callback, project_id, file_id, options) {
|
|
2589
|
-
var
|
|
2597
|
+
var _this306 = this;
|
|
2590
2598
|
return _asyncToGenerator(function* () {
|
|
2591
2599
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2592
|
-
return
|
|
2600
|
+
return _this306.authStream(callback, 'GET', "/projects/".concat(project_id, "/lookml_tests"), {
|
|
2593
2601
|
file_id
|
|
2594
2602
|
}, null, options);
|
|
2595
2603
|
})();
|
|
2596
2604
|
}
|
|
2597
2605
|
run_lookml_test(callback, request, options) {
|
|
2598
|
-
var
|
|
2606
|
+
var _this307 = this;
|
|
2599
2607
|
return _asyncToGenerator(function* () {
|
|
2600
2608
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2601
|
-
return
|
|
2609
|
+
return _this307.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2602
2610
|
file_id: request.file_id,
|
|
2603
2611
|
test: request.test,
|
|
2604
2612
|
model: request.model
|
|
@@ -2606,10 +2614,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2606
2614
|
})();
|
|
2607
2615
|
}
|
|
2608
2616
|
tag_ref(callback, request, options) {
|
|
2609
|
-
var
|
|
2617
|
+
var _this308 = this;
|
|
2610
2618
|
return _asyncToGenerator(function* () {
|
|
2611
2619
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2612
|
-
return
|
|
2620
|
+
return _this308.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/tag"), {
|
|
2613
2621
|
commit_sha: request.commit_sha,
|
|
2614
2622
|
tag_name: request.tag_name,
|
|
2615
2623
|
tag_message: request.tag_message
|
|
@@ -2617,32 +2625,32 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2617
2625
|
})();
|
|
2618
2626
|
}
|
|
2619
2627
|
update_repository_credential(callback, root_project_id, credential_id, body, options) {
|
|
2620
|
-
var
|
|
2628
|
+
var _this309 = this;
|
|
2621
2629
|
return _asyncToGenerator(function* () {
|
|
2622
2630
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2623
2631
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2624
|
-
return
|
|
2632
|
+
return _this309.authStream(callback, 'PUT', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2625
2633
|
})();
|
|
2626
2634
|
}
|
|
2627
2635
|
delete_repository_credential(callback, root_project_id, credential_id, options) {
|
|
2628
|
-
var
|
|
2636
|
+
var _this310 = this;
|
|
2629
2637
|
return _asyncToGenerator(function* () {
|
|
2630
2638
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2631
2639
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
2632
|
-
return
|
|
2640
|
+
return _this310.authStream(callback, 'DELETE', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2633
2641
|
})();
|
|
2634
2642
|
}
|
|
2635
2643
|
get_all_repository_credentials(callback, root_project_id, options) {
|
|
2636
|
-
var
|
|
2644
|
+
var _this311 = this;
|
|
2637
2645
|
return _asyncToGenerator(function* () {
|
|
2638
2646
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
2639
|
-
return
|
|
2647
|
+
return _this311.authStream(callback, 'GET', "/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2640
2648
|
})();
|
|
2641
2649
|
}
|
|
2642
2650
|
create_query_task(callback, request, options) {
|
|
2643
|
-
var
|
|
2651
|
+
var _this312 = this;
|
|
2644
2652
|
return _asyncToGenerator(function* () {
|
|
2645
|
-
return
|
|
2653
|
+
return _this312.authStream(callback, 'POST', '/query_tasks', {
|
|
2646
2654
|
limit: request.limit,
|
|
2647
2655
|
apply_formatting: request.apply_formatting,
|
|
2648
2656
|
apply_vis: request.apply_vis,
|
|
@@ -2658,61 +2666,61 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2658
2666
|
})();
|
|
2659
2667
|
}
|
|
2660
2668
|
query_task_multi_results(callback, query_task_ids, options) {
|
|
2661
|
-
var
|
|
2669
|
+
var _this313 = this;
|
|
2662
2670
|
return _asyncToGenerator(function* () {
|
|
2663
|
-
return
|
|
2671
|
+
return _this313.authStream(callback, 'GET', '/query_tasks/multi_results', {
|
|
2664
2672
|
query_task_ids
|
|
2665
2673
|
}, null, options);
|
|
2666
2674
|
})();
|
|
2667
2675
|
}
|
|
2668
2676
|
query_task(callback, query_task_id, fields, options) {
|
|
2669
|
-
var
|
|
2677
|
+
var _this314 = this;
|
|
2670
2678
|
return _asyncToGenerator(function* () {
|
|
2671
2679
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2672
|
-
return
|
|
2680
|
+
return _this314.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id), {
|
|
2673
2681
|
fields
|
|
2674
2682
|
}, null, options);
|
|
2675
2683
|
})();
|
|
2676
2684
|
}
|
|
2677
2685
|
query_task_results(callback, query_task_id, options) {
|
|
2678
|
-
var
|
|
2686
|
+
var _this315 = this;
|
|
2679
2687
|
return _asyncToGenerator(function* () {
|
|
2680
2688
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2681
|
-
return
|
|
2689
|
+
return _this315.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2682
2690
|
})();
|
|
2683
2691
|
}
|
|
2684
2692
|
query(callback, query_id, fields, options) {
|
|
2685
|
-
var
|
|
2693
|
+
var _this316 = this;
|
|
2686
2694
|
return _asyncToGenerator(function* () {
|
|
2687
2695
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2688
|
-
return
|
|
2696
|
+
return _this316.authStream(callback, 'GET', "/queries/".concat(query_id), {
|
|
2689
2697
|
fields
|
|
2690
2698
|
}, null, options);
|
|
2691
2699
|
})();
|
|
2692
2700
|
}
|
|
2693
2701
|
query_for_slug(callback, slug, fields, options) {
|
|
2694
|
-
var
|
|
2702
|
+
var _this317 = this;
|
|
2695
2703
|
return _asyncToGenerator(function* () {
|
|
2696
2704
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2697
|
-
return
|
|
2705
|
+
return _this317.authStream(callback, 'GET', "/queries/slug/".concat(slug), {
|
|
2698
2706
|
fields
|
|
2699
2707
|
}, null, options);
|
|
2700
2708
|
})();
|
|
2701
2709
|
}
|
|
2702
2710
|
create_query(callback, body, fields, options) {
|
|
2703
|
-
var
|
|
2711
|
+
var _this318 = this;
|
|
2704
2712
|
return _asyncToGenerator(function* () {
|
|
2705
|
-
return
|
|
2713
|
+
return _this318.authStream(callback, 'POST', '/queries', {
|
|
2706
2714
|
fields
|
|
2707
2715
|
}, body, options);
|
|
2708
2716
|
})();
|
|
2709
2717
|
}
|
|
2710
2718
|
run_query(callback, request, options) {
|
|
2711
|
-
var
|
|
2719
|
+
var _this319 = this;
|
|
2712
2720
|
return _asyncToGenerator(function* () {
|
|
2713
2721
|
request.query_id = (0, _sdkRtl.encodeParam)(request.query_id);
|
|
2714
2722
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2715
|
-
return
|
|
2723
|
+
return _this319.authStream(callback, 'GET', "/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2716
2724
|
limit: request.limit,
|
|
2717
2725
|
apply_formatting: request.apply_formatting,
|
|
2718
2726
|
apply_vis: request.apply_vis,
|
|
@@ -2731,10 +2739,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2731
2739
|
})();
|
|
2732
2740
|
}
|
|
2733
2741
|
run_inline_query(callback, request, options) {
|
|
2734
|
-
var
|
|
2742
|
+
var _this320 = this;
|
|
2735
2743
|
return _asyncToGenerator(function* () {
|
|
2736
2744
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2737
|
-
return
|
|
2745
|
+
return _this320.authStream(callback, 'POST', "/queries/run/".concat(request.result_format), {
|
|
2738
2746
|
limit: request.limit,
|
|
2739
2747
|
apply_formatting: request.apply_formatting,
|
|
2740
2748
|
apply_vis: request.apply_vis,
|
|
@@ -2752,73 +2760,73 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2752
2760
|
})();
|
|
2753
2761
|
}
|
|
2754
2762
|
run_url_encoded_query(callback, model_name, view_name, result_format, options) {
|
|
2755
|
-
var
|
|
2763
|
+
var _this321 = this;
|
|
2756
2764
|
return _asyncToGenerator(function* () {
|
|
2757
2765
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2758
2766
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
2759
2767
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2760
|
-
return
|
|
2768
|
+
return _this321.authStream(callback, 'GET', "/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2761
2769
|
})();
|
|
2762
2770
|
}
|
|
2763
2771
|
merge_query(callback, merge_query_id, fields, options) {
|
|
2764
|
-
var
|
|
2772
|
+
var _this322 = this;
|
|
2765
2773
|
return _asyncToGenerator(function* () {
|
|
2766
2774
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
2767
|
-
return
|
|
2775
|
+
return _this322.authStream(callback, 'GET', "/merge_queries/".concat(merge_query_id), {
|
|
2768
2776
|
fields
|
|
2769
2777
|
}, null, options);
|
|
2770
2778
|
})();
|
|
2771
2779
|
}
|
|
2772
2780
|
create_merge_query(callback, body, fields, options) {
|
|
2773
|
-
var
|
|
2781
|
+
var _this323 = this;
|
|
2774
2782
|
return _asyncToGenerator(function* () {
|
|
2775
|
-
return
|
|
2783
|
+
return _this323.authStream(callback, 'POST', '/merge_queries', {
|
|
2776
2784
|
fields
|
|
2777
2785
|
}, body, options);
|
|
2778
2786
|
})();
|
|
2779
2787
|
}
|
|
2780
2788
|
all_running_queries(callback, options) {
|
|
2781
|
-
var
|
|
2789
|
+
var _this324 = this;
|
|
2782
2790
|
return _asyncToGenerator(function* () {
|
|
2783
|
-
return
|
|
2791
|
+
return _this324.authStream(callback, 'GET', '/running_queries', null, null, options);
|
|
2784
2792
|
})();
|
|
2785
2793
|
}
|
|
2786
2794
|
kill_query(callback, query_task_id, options) {
|
|
2787
|
-
var
|
|
2795
|
+
var _this325 = this;
|
|
2788
2796
|
return _asyncToGenerator(function* () {
|
|
2789
2797
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2790
|
-
return
|
|
2798
|
+
return _this325.authStream(callback, 'DELETE', "/running_queries/".concat(query_task_id), null, null, options);
|
|
2791
2799
|
})();
|
|
2792
2800
|
}
|
|
2793
2801
|
create_sql_query(callback, body, options) {
|
|
2794
|
-
var
|
|
2802
|
+
var _this326 = this;
|
|
2795
2803
|
return _asyncToGenerator(function* () {
|
|
2796
|
-
return
|
|
2804
|
+
return _this326.authStream(callback, 'POST', '/sql_queries', null, body, options);
|
|
2797
2805
|
})();
|
|
2798
2806
|
}
|
|
2799
2807
|
sql_query(callback, slug, options) {
|
|
2800
|
-
var
|
|
2808
|
+
var _this327 = this;
|
|
2801
2809
|
return _asyncToGenerator(function* () {
|
|
2802
2810
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2803
|
-
return
|
|
2811
|
+
return _this327.authStream(callback, 'GET', "/sql_queries/".concat(slug), null, null, options);
|
|
2804
2812
|
})();
|
|
2805
2813
|
}
|
|
2806
2814
|
run_sql_query(callback, slug, result_format, download, options) {
|
|
2807
|
-
var
|
|
2815
|
+
var _this328 = this;
|
|
2808
2816
|
return _asyncToGenerator(function* () {
|
|
2809
2817
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
2810
2818
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2811
|
-
return
|
|
2819
|
+
return _this328.authStream(callback, 'POST', "/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2812
2820
|
download
|
|
2813
2821
|
}, null, options);
|
|
2814
2822
|
})();
|
|
2815
2823
|
}
|
|
2816
2824
|
create_look_render_task(callback, look_id, result_format, width, height, fields, options) {
|
|
2817
|
-
var
|
|
2825
|
+
var _this329 = this;
|
|
2818
2826
|
return _asyncToGenerator(function* () {
|
|
2819
2827
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2820
2828
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2821
|
-
return
|
|
2829
|
+
return _this329.authStream(callback, 'POST', "/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2822
2830
|
width,
|
|
2823
2831
|
height,
|
|
2824
2832
|
fields
|
|
@@ -2826,11 +2834,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2826
2834
|
})();
|
|
2827
2835
|
}
|
|
2828
2836
|
create_query_render_task(callback, query_id, result_format, width, height, fields, options) {
|
|
2829
|
-
var
|
|
2837
|
+
var _this330 = this;
|
|
2830
2838
|
return _asyncToGenerator(function* () {
|
|
2831
2839
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
2832
2840
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2833
|
-
return
|
|
2841
|
+
return _this330.authStream(callback, 'POST', "/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2834
2842
|
width,
|
|
2835
2843
|
height,
|
|
2836
2844
|
fields
|
|
@@ -2838,11 +2846,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2838
2846
|
})();
|
|
2839
2847
|
}
|
|
2840
2848
|
create_dashboard_render_task(callback, request, options) {
|
|
2841
|
-
var
|
|
2849
|
+
var _this331 = this;
|
|
2842
2850
|
return _asyncToGenerator(function* () {
|
|
2843
2851
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
2844
2852
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2845
|
-
return
|
|
2853
|
+
return _this331.authStream(callback, 'POST', "/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2846
2854
|
width: request.width,
|
|
2847
2855
|
height: request.height,
|
|
2848
2856
|
fields: request.fields,
|
|
@@ -2854,27 +2862,27 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2854
2862
|
})();
|
|
2855
2863
|
}
|
|
2856
2864
|
render_task(callback, render_task_id, fields, options) {
|
|
2857
|
-
var
|
|
2865
|
+
var _this332 = this;
|
|
2858
2866
|
return _asyncToGenerator(function* () {
|
|
2859
2867
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2860
|
-
return
|
|
2868
|
+
return _this332.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id), {
|
|
2861
2869
|
fields
|
|
2862
2870
|
}, null, options);
|
|
2863
2871
|
})();
|
|
2864
2872
|
}
|
|
2865
2873
|
render_task_results(callback, render_task_id, options) {
|
|
2866
|
-
var
|
|
2874
|
+
var _this333 = this;
|
|
2867
2875
|
return _asyncToGenerator(function* () {
|
|
2868
2876
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
2869
|
-
return
|
|
2877
|
+
return _this333.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2870
2878
|
})();
|
|
2871
2879
|
}
|
|
2872
2880
|
create_dashboard_element_render_task(callback, dashboard_element_id, result_format, width, height, fields, options) {
|
|
2873
|
-
var
|
|
2881
|
+
var _this334 = this;
|
|
2874
2882
|
return _asyncToGenerator(function* () {
|
|
2875
2883
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
2876
2884
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2877
|
-
return
|
|
2885
|
+
return _this334.authStream(callback, 'POST', "/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
2878
2886
|
width,
|
|
2879
2887
|
height,
|
|
2880
2888
|
fields
|
|
@@ -2882,9 +2890,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2882
2890
|
})();
|
|
2883
2891
|
}
|
|
2884
2892
|
search_reports(callback, request, options) {
|
|
2885
|
-
var
|
|
2893
|
+
var _this335 = this;
|
|
2886
2894
|
return _asyncToGenerator(function* () {
|
|
2887
|
-
return
|
|
2895
|
+
return _this335.authStream(callback, 'GET', '/reports/search', {
|
|
2888
2896
|
folder_id: request.folder_id,
|
|
2889
2897
|
favorite: request.favorite,
|
|
2890
2898
|
recent: request.recent,
|
|
@@ -2898,9 +2906,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2898
2906
|
})();
|
|
2899
2907
|
}
|
|
2900
2908
|
search_model_sets(callback, request, options) {
|
|
2901
|
-
var
|
|
2909
|
+
var _this336 = this;
|
|
2902
2910
|
return _asyncToGenerator(function* () {
|
|
2903
|
-
return
|
|
2911
|
+
return _this336.authStream(callback, 'GET', '/model_sets/search', {
|
|
2904
2912
|
fields: request.fields,
|
|
2905
2913
|
limit: request.limit,
|
|
2906
2914
|
offset: request.offset,
|
|
@@ -2914,52 +2922,52 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2914
2922
|
})();
|
|
2915
2923
|
}
|
|
2916
2924
|
model_set(callback, model_set_id, fields, options) {
|
|
2917
|
-
var
|
|
2925
|
+
var _this337 = this;
|
|
2918
2926
|
return _asyncToGenerator(function* () {
|
|
2919
2927
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2920
|
-
return
|
|
2928
|
+
return _this337.authStream(callback, 'GET', "/model_sets/".concat(model_set_id), {
|
|
2921
2929
|
fields
|
|
2922
2930
|
}, null, options);
|
|
2923
2931
|
})();
|
|
2924
2932
|
}
|
|
2925
2933
|
update_model_set(callback, model_set_id, body, options) {
|
|
2926
|
-
var
|
|
2934
|
+
var _this338 = this;
|
|
2927
2935
|
return _asyncToGenerator(function* () {
|
|
2928
2936
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2929
|
-
return
|
|
2937
|
+
return _this338.authStream(callback, 'PATCH', "/model_sets/".concat(model_set_id), null, body, options);
|
|
2930
2938
|
})();
|
|
2931
2939
|
}
|
|
2932
2940
|
delete_model_set(callback, model_set_id, options) {
|
|
2933
|
-
var
|
|
2941
|
+
var _this339 = this;
|
|
2934
2942
|
return _asyncToGenerator(function* () {
|
|
2935
2943
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
2936
|
-
return
|
|
2944
|
+
return _this339.authStream(callback, 'DELETE', "/model_sets/".concat(model_set_id), null, null, options);
|
|
2937
2945
|
})();
|
|
2938
2946
|
}
|
|
2939
2947
|
all_model_sets(callback, fields, options) {
|
|
2940
|
-
var
|
|
2948
|
+
var _this340 = this;
|
|
2941
2949
|
return _asyncToGenerator(function* () {
|
|
2942
|
-
return
|
|
2950
|
+
return _this340.authStream(callback, 'GET', '/model_sets', {
|
|
2943
2951
|
fields
|
|
2944
2952
|
}, null, options);
|
|
2945
2953
|
})();
|
|
2946
2954
|
}
|
|
2947
2955
|
create_model_set(callback, body, options) {
|
|
2948
|
-
var
|
|
2956
|
+
var _this341 = this;
|
|
2949
2957
|
return _asyncToGenerator(function* () {
|
|
2950
|
-
return
|
|
2958
|
+
return _this341.authStream(callback, 'POST', '/model_sets', null, body, options);
|
|
2951
2959
|
})();
|
|
2952
2960
|
}
|
|
2953
2961
|
all_permissions(callback, options) {
|
|
2954
|
-
var
|
|
2962
|
+
var _this342 = this;
|
|
2955
2963
|
return _asyncToGenerator(function* () {
|
|
2956
|
-
return
|
|
2964
|
+
return _this342.authStream(callback, 'GET', '/permissions', null, null, options);
|
|
2957
2965
|
})();
|
|
2958
2966
|
}
|
|
2959
2967
|
search_permission_sets(callback, request, options) {
|
|
2960
|
-
var
|
|
2968
|
+
var _this343 = this;
|
|
2961
2969
|
return _asyncToGenerator(function* () {
|
|
2962
|
-
return
|
|
2970
|
+
return _this343.authStream(callback, 'GET', '/permission_sets/search', {
|
|
2963
2971
|
fields: request.fields,
|
|
2964
2972
|
limit: request.limit,
|
|
2965
2973
|
offset: request.offset,
|
|
@@ -2973,46 +2981,46 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2973
2981
|
})();
|
|
2974
2982
|
}
|
|
2975
2983
|
permission_set(callback, permission_set_id, fields, options) {
|
|
2976
|
-
var
|
|
2984
|
+
var _this344 = this;
|
|
2977
2985
|
return _asyncToGenerator(function* () {
|
|
2978
2986
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2979
|
-
return
|
|
2987
|
+
return _this344.authStream(callback, 'GET', "/permission_sets/".concat(permission_set_id), {
|
|
2980
2988
|
fields
|
|
2981
2989
|
}, null, options);
|
|
2982
2990
|
})();
|
|
2983
2991
|
}
|
|
2984
2992
|
update_permission_set(callback, permission_set_id, body, options) {
|
|
2985
|
-
var
|
|
2993
|
+
var _this345 = this;
|
|
2986
2994
|
return _asyncToGenerator(function* () {
|
|
2987
2995
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2988
|
-
return
|
|
2996
|
+
return _this345.authStream(callback, 'PATCH', "/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2989
2997
|
})();
|
|
2990
2998
|
}
|
|
2991
2999
|
delete_permission_set(callback, permission_set_id, options) {
|
|
2992
|
-
var
|
|
3000
|
+
var _this346 = this;
|
|
2993
3001
|
return _asyncToGenerator(function* () {
|
|
2994
3002
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
2995
|
-
return
|
|
3003
|
+
return _this346.authStream(callback, 'DELETE', "/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2996
3004
|
})();
|
|
2997
3005
|
}
|
|
2998
3006
|
all_permission_sets(callback, fields, options) {
|
|
2999
|
-
var
|
|
3007
|
+
var _this347 = this;
|
|
3000
3008
|
return _asyncToGenerator(function* () {
|
|
3001
|
-
return
|
|
3009
|
+
return _this347.authStream(callback, 'GET', '/permission_sets', {
|
|
3002
3010
|
fields
|
|
3003
3011
|
}, null, options);
|
|
3004
3012
|
})();
|
|
3005
3013
|
}
|
|
3006
3014
|
create_permission_set(callback, body, options) {
|
|
3007
|
-
var
|
|
3015
|
+
var _this348 = this;
|
|
3008
3016
|
return _asyncToGenerator(function* () {
|
|
3009
|
-
return
|
|
3017
|
+
return _this348.authStream(callback, 'POST', '/permission_sets', null, body, options);
|
|
3010
3018
|
})();
|
|
3011
3019
|
}
|
|
3012
3020
|
all_roles(callback, request, options) {
|
|
3013
|
-
var
|
|
3021
|
+
var _this349 = this;
|
|
3014
3022
|
return _asyncToGenerator(function* () {
|
|
3015
|
-
return
|
|
3023
|
+
return _this349.authStream(callback, 'GET', '/roles', {
|
|
3016
3024
|
fields: request.fields,
|
|
3017
3025
|
ids: request.ids,
|
|
3018
3026
|
get_all_support_roles: request.get_all_support_roles
|
|
@@ -3020,15 +3028,15 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3020
3028
|
})();
|
|
3021
3029
|
}
|
|
3022
3030
|
create_role(callback, body, options) {
|
|
3023
|
-
var
|
|
3031
|
+
var _this350 = this;
|
|
3024
3032
|
return _asyncToGenerator(function* () {
|
|
3025
|
-
return
|
|
3033
|
+
return _this350.authStream(callback, 'POST', '/roles', null, body, options);
|
|
3026
3034
|
})();
|
|
3027
3035
|
}
|
|
3028
3036
|
search_roles(callback, request, options) {
|
|
3029
|
-
var
|
|
3037
|
+
var _this351 = this;
|
|
3030
3038
|
return _asyncToGenerator(function* () {
|
|
3031
|
-
return
|
|
3039
|
+
return _this351.authStream(callback, 'GET', '/roles/search', {
|
|
3032
3040
|
fields: request.fields,
|
|
3033
3041
|
limit: request.limit,
|
|
3034
3042
|
offset: request.offset,
|
|
@@ -3041,9 +3049,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3041
3049
|
})();
|
|
3042
3050
|
}
|
|
3043
3051
|
search_roles_with_user_count(callback, request, options) {
|
|
3044
|
-
var
|
|
3052
|
+
var _this352 = this;
|
|
3045
3053
|
return _asyncToGenerator(function* () {
|
|
3046
|
-
return
|
|
3054
|
+
return _this352.authStream(callback, 'GET', '/roles/search/with_user_count', {
|
|
3047
3055
|
fields: request.fields,
|
|
3048
3056
|
limit: request.limit,
|
|
3049
3057
|
offset: request.offset,
|
|
@@ -3056,95 +3064,95 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3056
3064
|
})();
|
|
3057
3065
|
}
|
|
3058
3066
|
role(callback, role_id, options) {
|
|
3059
|
-
var
|
|
3067
|
+
var _this353 = this;
|
|
3060
3068
|
return _asyncToGenerator(function* () {
|
|
3061
3069
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3062
|
-
return
|
|
3070
|
+
return _this353.authStream(callback, 'GET', "/roles/".concat(role_id), null, null, options);
|
|
3063
3071
|
})();
|
|
3064
3072
|
}
|
|
3065
3073
|
update_role(callback, role_id, body, options) {
|
|
3066
|
-
var
|
|
3074
|
+
var _this354 = this;
|
|
3067
3075
|
return _asyncToGenerator(function* () {
|
|
3068
3076
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3069
|
-
return
|
|
3077
|
+
return _this354.authStream(callback, 'PATCH', "/roles/".concat(role_id), null, body, options);
|
|
3070
3078
|
})();
|
|
3071
3079
|
}
|
|
3072
3080
|
delete_role(callback, role_id, options) {
|
|
3073
|
-
var
|
|
3081
|
+
var _this355 = this;
|
|
3074
3082
|
return _asyncToGenerator(function* () {
|
|
3075
3083
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3076
|
-
return
|
|
3084
|
+
return _this355.authStream(callback, 'DELETE', "/roles/".concat(role_id), null, null, options);
|
|
3077
3085
|
})();
|
|
3078
3086
|
}
|
|
3079
3087
|
role_groups(callback, role_id, fields, options) {
|
|
3080
|
-
var
|
|
3088
|
+
var _this356 = this;
|
|
3081
3089
|
return _asyncToGenerator(function* () {
|
|
3082
3090
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3083
|
-
return
|
|
3091
|
+
return _this356.authStream(callback, 'GET', "/roles/".concat(role_id, "/groups"), {
|
|
3084
3092
|
fields
|
|
3085
3093
|
}, null, options);
|
|
3086
3094
|
})();
|
|
3087
3095
|
}
|
|
3088
3096
|
set_role_groups(callback, role_id, body, options) {
|
|
3089
|
-
var
|
|
3097
|
+
var _this357 = this;
|
|
3090
3098
|
return _asyncToGenerator(function* () {
|
|
3091
3099
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3092
|
-
return
|
|
3100
|
+
return _this357.authStream(callback, 'PUT', "/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3093
3101
|
})();
|
|
3094
3102
|
}
|
|
3095
3103
|
role_users(callback, request, options) {
|
|
3096
|
-
var
|
|
3104
|
+
var _this358 = this;
|
|
3097
3105
|
return _asyncToGenerator(function* () {
|
|
3098
3106
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
3099
|
-
return
|
|
3107
|
+
return _this358.authStream(callback, 'GET', "/roles/".concat(request.role_id, "/users"), {
|
|
3100
3108
|
fields: request.fields,
|
|
3101
3109
|
direct_association_only: request.direct_association_only
|
|
3102
3110
|
}, null, options);
|
|
3103
3111
|
})();
|
|
3104
3112
|
}
|
|
3105
3113
|
set_role_users(callback, role_id, body, options) {
|
|
3106
|
-
var
|
|
3114
|
+
var _this359 = this;
|
|
3107
3115
|
return _asyncToGenerator(function* () {
|
|
3108
3116
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3109
|
-
return
|
|
3117
|
+
return _this359.authStream(callback, 'PUT', "/roles/".concat(role_id, "/users"), null, body, options);
|
|
3110
3118
|
})();
|
|
3111
3119
|
}
|
|
3112
3120
|
scheduled_plans_for_space(callback, space_id, fields, options) {
|
|
3113
|
-
var
|
|
3121
|
+
var _this360 = this;
|
|
3114
3122
|
return _asyncToGenerator(function* () {
|
|
3115
3123
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3116
|
-
return
|
|
3124
|
+
return _this360.authStream(callback, 'GET', "/scheduled_plans/space/".concat(space_id), {
|
|
3117
3125
|
fields
|
|
3118
3126
|
}, null, options);
|
|
3119
3127
|
})();
|
|
3120
3128
|
}
|
|
3121
3129
|
scheduled_plan(callback, scheduled_plan_id, fields, options) {
|
|
3122
|
-
var
|
|
3130
|
+
var _this361 = this;
|
|
3123
3131
|
return _asyncToGenerator(function* () {
|
|
3124
3132
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3125
|
-
return
|
|
3133
|
+
return _this361.authStream(callback, 'GET', "/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3126
3134
|
fields
|
|
3127
3135
|
}, null, options);
|
|
3128
3136
|
})();
|
|
3129
3137
|
}
|
|
3130
3138
|
update_scheduled_plan(callback, scheduled_plan_id, body, options) {
|
|
3131
|
-
var
|
|
3139
|
+
var _this362 = this;
|
|
3132
3140
|
return _asyncToGenerator(function* () {
|
|
3133
3141
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3134
|
-
return
|
|
3142
|
+
return _this362.authStream(callback, 'PATCH', "/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3135
3143
|
})();
|
|
3136
3144
|
}
|
|
3137
3145
|
delete_scheduled_plan(callback, scheduled_plan_id, options) {
|
|
3138
|
-
var
|
|
3146
|
+
var _this363 = this;
|
|
3139
3147
|
return _asyncToGenerator(function* () {
|
|
3140
3148
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3141
|
-
return
|
|
3149
|
+
return _this363.authStream(callback, 'DELETE', "/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3142
3150
|
})();
|
|
3143
3151
|
}
|
|
3144
3152
|
all_scheduled_plans(callback, request, options) {
|
|
3145
|
-
var
|
|
3153
|
+
var _this364 = this;
|
|
3146
3154
|
return _asyncToGenerator(function* () {
|
|
3147
|
-
return
|
|
3155
|
+
return _this364.authStream(callback, 'GET', '/scheduled_plans', {
|
|
3148
3156
|
user_id: request.user_id,
|
|
3149
3157
|
fields: request.fields,
|
|
3150
3158
|
all_users: request.all_users
|
|
@@ -3152,21 +3160,21 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3152
3160
|
})();
|
|
3153
3161
|
}
|
|
3154
3162
|
create_scheduled_plan(callback, body, options) {
|
|
3155
|
-
var
|
|
3163
|
+
var _this365 = this;
|
|
3156
3164
|
return _asyncToGenerator(function* () {
|
|
3157
|
-
return
|
|
3165
|
+
return _this365.authStream(callback, 'POST', '/scheduled_plans', null, body, options);
|
|
3158
3166
|
})();
|
|
3159
3167
|
}
|
|
3160
3168
|
scheduled_plan_run_once(callback, body, options) {
|
|
3161
|
-
var
|
|
3169
|
+
var _this366 = this;
|
|
3162
3170
|
return _asyncToGenerator(function* () {
|
|
3163
|
-
return
|
|
3171
|
+
return _this366.authStream(callback, 'POST', '/scheduled_plans/run_once', null, body, options);
|
|
3164
3172
|
})();
|
|
3165
3173
|
}
|
|
3166
3174
|
search_scheduled_plans(callback, request, options) {
|
|
3167
|
-
var
|
|
3175
|
+
var _this367 = this;
|
|
3168
3176
|
return _asyncToGenerator(function* () {
|
|
3169
|
-
return
|
|
3177
|
+
return _this367.authStream(callback, 'GET', '/scheduled_plans/search', {
|
|
3170
3178
|
user_id: request.user_id,
|
|
3171
3179
|
fields: request.fields,
|
|
3172
3180
|
all_users: request.all_users,
|
|
@@ -3187,10 +3195,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3187
3195
|
})();
|
|
3188
3196
|
}
|
|
3189
3197
|
scheduled_plans_for_look(callback, request, options) {
|
|
3190
|
-
var
|
|
3198
|
+
var _this368 = this;
|
|
3191
3199
|
return _asyncToGenerator(function* () {
|
|
3192
3200
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3193
|
-
return
|
|
3201
|
+
return _this368.authStream(callback, 'GET', "/scheduled_plans/look/".concat(request.look_id), {
|
|
3194
3202
|
user_id: request.user_id,
|
|
3195
3203
|
fields: request.fields,
|
|
3196
3204
|
all_users: request.all_users
|
|
@@ -3198,10 +3206,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3198
3206
|
})();
|
|
3199
3207
|
}
|
|
3200
3208
|
scheduled_plans_for_dashboard(callback, request, options) {
|
|
3201
|
-
var
|
|
3209
|
+
var _this369 = this;
|
|
3202
3210
|
return _asyncToGenerator(function* () {
|
|
3203
3211
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3204
|
-
return
|
|
3212
|
+
return _this369.authStream(callback, 'GET', "/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3205
3213
|
user_id: request.user_id,
|
|
3206
3214
|
all_users: request.all_users,
|
|
3207
3215
|
fields: request.fields
|
|
@@ -3209,10 +3217,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3209
3217
|
})();
|
|
3210
3218
|
}
|
|
3211
3219
|
scheduled_plans_for_lookml_dashboard(callback, request, options) {
|
|
3212
|
-
var
|
|
3220
|
+
var _this370 = this;
|
|
3213
3221
|
return _asyncToGenerator(function* () {
|
|
3214
3222
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3215
|
-
return
|
|
3223
|
+
return _this370.authStream(callback, 'GET', "/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3216
3224
|
user_id: request.user_id,
|
|
3217
3225
|
fields: request.fields,
|
|
3218
3226
|
all_users: request.all_users
|
|
@@ -3220,63 +3228,63 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3220
3228
|
})();
|
|
3221
3229
|
}
|
|
3222
3230
|
scheduled_plan_run_once_by_id(callback, scheduled_plan_id, body, options) {
|
|
3223
|
-
var
|
|
3231
|
+
var _this371 = this;
|
|
3224
3232
|
return _asyncToGenerator(function* () {
|
|
3225
3233
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3226
|
-
return
|
|
3234
|
+
return _this371.authStream(callback, 'POST', "/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3227
3235
|
})();
|
|
3228
3236
|
}
|
|
3229
3237
|
session(callback, options) {
|
|
3230
|
-
var
|
|
3238
|
+
var _this372 = this;
|
|
3231
3239
|
return _asyncToGenerator(function* () {
|
|
3232
|
-
return
|
|
3240
|
+
return _this372.authStream(callback, 'GET', '/session', null, null, options);
|
|
3233
3241
|
})();
|
|
3234
3242
|
}
|
|
3235
3243
|
update_session(callback, body, options) {
|
|
3236
|
-
var
|
|
3244
|
+
var _this373 = this;
|
|
3237
3245
|
return _asyncToGenerator(function* () {
|
|
3238
|
-
return
|
|
3246
|
+
return _this373.authStream(callback, 'PATCH', '/session', null, body, options);
|
|
3239
3247
|
})();
|
|
3240
3248
|
}
|
|
3241
3249
|
sql_interface_metadata(callback, avatica_request, options) {
|
|
3242
|
-
var
|
|
3250
|
+
var _this374 = this;
|
|
3243
3251
|
return _asyncToGenerator(function* () {
|
|
3244
|
-
return
|
|
3252
|
+
return _this374.authStream(callback, 'GET', '/sql_interface_queries/metadata', {
|
|
3245
3253
|
avatica_request
|
|
3246
3254
|
}, null, options);
|
|
3247
3255
|
})();
|
|
3248
3256
|
}
|
|
3249
3257
|
run_sql_interface_query(callback, query_id, result_format, options) {
|
|
3250
|
-
var
|
|
3258
|
+
var _this375 = this;
|
|
3251
3259
|
return _asyncToGenerator(function* () {
|
|
3252
3260
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3253
|
-
return
|
|
3261
|
+
return _this375.authStream(callback, 'GET', "/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3254
3262
|
})();
|
|
3255
3263
|
}
|
|
3256
3264
|
create_sql_interface_query(callback, body, options) {
|
|
3257
|
-
var
|
|
3265
|
+
var _this376 = this;
|
|
3258
3266
|
return _asyncToGenerator(function* () {
|
|
3259
|
-
return
|
|
3267
|
+
return _this376.authStream(callback, 'POST', '/sql_interface_queries', null, body, options);
|
|
3260
3268
|
})();
|
|
3261
3269
|
}
|
|
3262
3270
|
all_themes(callback, fields, options) {
|
|
3263
|
-
var
|
|
3271
|
+
var _this377 = this;
|
|
3264
3272
|
return _asyncToGenerator(function* () {
|
|
3265
|
-
return
|
|
3273
|
+
return _this377.authStream(callback, 'GET', '/themes', {
|
|
3266
3274
|
fields
|
|
3267
3275
|
}, null, options);
|
|
3268
3276
|
})();
|
|
3269
3277
|
}
|
|
3270
3278
|
create_theme(callback, body, options) {
|
|
3271
|
-
var
|
|
3279
|
+
var _this378 = this;
|
|
3272
3280
|
return _asyncToGenerator(function* () {
|
|
3273
|
-
return
|
|
3281
|
+
return _this378.authStream(callback, 'POST', '/themes', null, body, options);
|
|
3274
3282
|
})();
|
|
3275
3283
|
}
|
|
3276
3284
|
search_themes(callback, request, options) {
|
|
3277
|
-
var
|
|
3285
|
+
var _this379 = this;
|
|
3278
3286
|
return _asyncToGenerator(function* () {
|
|
3279
|
-
return
|
|
3287
|
+
return _this379.authStream(callback, 'GET', '/themes/search', {
|
|
3280
3288
|
id: request.id,
|
|
3281
3289
|
name: request.name,
|
|
3282
3290
|
begin_at: request.begin_at,
|
|
@@ -3290,25 +3298,25 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3290
3298
|
})();
|
|
3291
3299
|
}
|
|
3292
3300
|
default_theme(callback, ts, options) {
|
|
3293
|
-
var
|
|
3301
|
+
var _this380 = this;
|
|
3294
3302
|
return _asyncToGenerator(function* () {
|
|
3295
|
-
return
|
|
3303
|
+
return _this380.authStream(callback, 'GET', '/themes/default', {
|
|
3296
3304
|
ts
|
|
3297
3305
|
}, null, options);
|
|
3298
3306
|
})();
|
|
3299
3307
|
}
|
|
3300
3308
|
set_default_theme(callback, name, options) {
|
|
3301
|
-
var
|
|
3309
|
+
var _this381 = this;
|
|
3302
3310
|
return _asyncToGenerator(function* () {
|
|
3303
|
-
return
|
|
3311
|
+
return _this381.authStream(callback, 'PUT', '/themes/default', {
|
|
3304
3312
|
name
|
|
3305
3313
|
}, null, options);
|
|
3306
3314
|
})();
|
|
3307
3315
|
}
|
|
3308
3316
|
active_themes(callback, request, options) {
|
|
3309
|
-
var
|
|
3317
|
+
var _this382 = this;
|
|
3310
3318
|
return _asyncToGenerator(function* () {
|
|
3311
|
-
return
|
|
3319
|
+
return _this382.authStream(callback, 'GET', '/themes/active', {
|
|
3312
3320
|
name: request.name,
|
|
3313
3321
|
ts: request.ts,
|
|
3314
3322
|
fields: request.fields
|
|
@@ -3316,47 +3324,47 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3316
3324
|
})();
|
|
3317
3325
|
}
|
|
3318
3326
|
theme_or_default(callback, name, ts, options) {
|
|
3319
|
-
var
|
|
3327
|
+
var _this383 = this;
|
|
3320
3328
|
return _asyncToGenerator(function* () {
|
|
3321
|
-
return
|
|
3329
|
+
return _this383.authStream(callback, 'GET', '/themes/theme_or_default', {
|
|
3322
3330
|
name,
|
|
3323
3331
|
ts
|
|
3324
3332
|
}, null, options);
|
|
3325
3333
|
})();
|
|
3326
3334
|
}
|
|
3327
3335
|
validate_theme(callback, body, options) {
|
|
3328
|
-
var
|
|
3336
|
+
var _this384 = this;
|
|
3329
3337
|
return _asyncToGenerator(function* () {
|
|
3330
|
-
return
|
|
3338
|
+
return _this384.authStream(callback, 'POST', '/themes/validate', null, body, options);
|
|
3331
3339
|
})();
|
|
3332
3340
|
}
|
|
3333
3341
|
theme(callback, theme_id, fields, options) {
|
|
3334
|
-
var
|
|
3342
|
+
var _this385 = this;
|
|
3335
3343
|
return _asyncToGenerator(function* () {
|
|
3336
3344
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3337
|
-
return
|
|
3345
|
+
return _this385.authStream(callback, 'GET', "/themes/".concat(theme_id), {
|
|
3338
3346
|
fields
|
|
3339
3347
|
}, null, options);
|
|
3340
3348
|
})();
|
|
3341
3349
|
}
|
|
3342
3350
|
update_theme(callback, theme_id, body, options) {
|
|
3343
|
-
var
|
|
3351
|
+
var _this386 = this;
|
|
3344
3352
|
return _asyncToGenerator(function* () {
|
|
3345
3353
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3346
|
-
return
|
|
3354
|
+
return _this386.authStream(callback, 'PATCH', "/themes/".concat(theme_id), null, body, options);
|
|
3347
3355
|
})();
|
|
3348
3356
|
}
|
|
3349
3357
|
delete_theme(callback, theme_id, options) {
|
|
3350
|
-
var
|
|
3358
|
+
var _this387 = this;
|
|
3351
3359
|
return _asyncToGenerator(function* () {
|
|
3352
3360
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3353
|
-
return
|
|
3361
|
+
return _this387.authStream(callback, 'DELETE', "/themes/".concat(theme_id), null, null, options);
|
|
3354
3362
|
})();
|
|
3355
3363
|
}
|
|
3356
3364
|
search_credentials_email(callback, request, options) {
|
|
3357
|
-
var
|
|
3365
|
+
var _this388 = this;
|
|
3358
3366
|
return _asyncToGenerator(function* () {
|
|
3359
|
-
return
|
|
3367
|
+
return _this388.authStream(callback, 'GET', '/credentials_email/search', {
|
|
3360
3368
|
fields: request.fields,
|
|
3361
3369
|
limit: request.limit,
|
|
3362
3370
|
offset: request.offset,
|
|
@@ -3369,17 +3377,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3369
3377
|
})();
|
|
3370
3378
|
}
|
|
3371
3379
|
me(callback, fields, options) {
|
|
3372
|
-
var
|
|
3380
|
+
var _this389 = this;
|
|
3373
3381
|
return _asyncToGenerator(function* () {
|
|
3374
|
-
return
|
|
3382
|
+
return _this389.authStream(callback, 'GET', '/user', {
|
|
3375
3383
|
fields
|
|
3376
3384
|
}, null, options);
|
|
3377
3385
|
})();
|
|
3378
3386
|
}
|
|
3379
3387
|
all_users(callback, request, options) {
|
|
3380
|
-
var
|
|
3388
|
+
var _this390 = this;
|
|
3381
3389
|
return _asyncToGenerator(function* () {
|
|
3382
|
-
return
|
|
3390
|
+
return _this390.authStream(callback, 'GET', '/users', {
|
|
3383
3391
|
fields: request.fields,
|
|
3384
3392
|
page: request.page,
|
|
3385
3393
|
per_page: request.per_page,
|
|
@@ -3391,17 +3399,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3391
3399
|
})();
|
|
3392
3400
|
}
|
|
3393
3401
|
create_user(callback, body, fields, options) {
|
|
3394
|
-
var
|
|
3402
|
+
var _this391 = this;
|
|
3395
3403
|
return _asyncToGenerator(function* () {
|
|
3396
|
-
return
|
|
3404
|
+
return _this391.authStream(callback, 'POST', '/users', {
|
|
3397
3405
|
fields
|
|
3398
3406
|
}, body, options);
|
|
3399
3407
|
})();
|
|
3400
3408
|
}
|
|
3401
3409
|
search_users(callback, request, options) {
|
|
3402
|
-
var
|
|
3410
|
+
var _this392 = this;
|
|
3403
3411
|
return _asyncToGenerator(function* () {
|
|
3404
|
-
return
|
|
3412
|
+
return _this392.authStream(callback, 'GET', '/users/search', {
|
|
3405
3413
|
fields: request.fields,
|
|
3406
3414
|
page: request.page,
|
|
3407
3415
|
per_page: request.per_page,
|
|
@@ -3424,10 +3432,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3424
3432
|
})();
|
|
3425
3433
|
}
|
|
3426
3434
|
search_users_names(callback, request, options) {
|
|
3427
|
-
var
|
|
3435
|
+
var _this393 = this;
|
|
3428
3436
|
return _asyncToGenerator(function* () {
|
|
3429
3437
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3430
|
-
return
|
|
3438
|
+
return _this393.authStream(callback, 'GET', "/users/search/names/".concat(request.pattern), {
|
|
3431
3439
|
fields: request.fields,
|
|
3432
3440
|
page: request.page,
|
|
3433
3441
|
per_page: request.per_page,
|
|
@@ -3444,313 +3452,329 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3444
3452
|
})();
|
|
3445
3453
|
}
|
|
3446
3454
|
user(callback, user_id, fields, options) {
|
|
3447
|
-
var
|
|
3455
|
+
var _this394 = this;
|
|
3448
3456
|
return _asyncToGenerator(function* () {
|
|
3449
3457
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3450
|
-
return
|
|
3458
|
+
return _this394.authStream(callback, 'GET', "/users/".concat(user_id), {
|
|
3451
3459
|
fields
|
|
3452
3460
|
}, null, options);
|
|
3453
3461
|
})();
|
|
3454
3462
|
}
|
|
3455
3463
|
update_user(callback, user_id, body, fields, options) {
|
|
3456
|
-
var
|
|
3464
|
+
var _this395 = this;
|
|
3457
3465
|
return _asyncToGenerator(function* () {
|
|
3458
3466
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3459
|
-
return
|
|
3467
|
+
return _this395.authStream(callback, 'PATCH', "/users/".concat(user_id), {
|
|
3460
3468
|
fields
|
|
3461
3469
|
}, body, options);
|
|
3462
3470
|
})();
|
|
3463
3471
|
}
|
|
3464
3472
|
delete_user(callback, user_id, options) {
|
|
3465
|
-
var
|
|
3473
|
+
var _this396 = this;
|
|
3466
3474
|
return _asyncToGenerator(function* () {
|
|
3467
3475
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3468
|
-
return
|
|
3476
|
+
return _this396.authStream(callback, 'DELETE', "/users/".concat(user_id), null, null, options);
|
|
3469
3477
|
})();
|
|
3470
3478
|
}
|
|
3471
3479
|
user_for_credential(callback, credential_type, credential_id, fields, options) {
|
|
3472
|
-
var
|
|
3480
|
+
var _this397 = this;
|
|
3473
3481
|
return _asyncToGenerator(function* () {
|
|
3474
3482
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3475
3483
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3476
|
-
return
|
|
3484
|
+
return _this397.authStream(callback, 'GET', "/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3477
3485
|
fields
|
|
3478
3486
|
}, null, options);
|
|
3479
3487
|
})();
|
|
3480
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
|
+
}
|
|
3481
3505
|
user_credentials_email(callback, user_id, fields, options) {
|
|
3482
|
-
var
|
|
3506
|
+
var _this400 = this;
|
|
3483
3507
|
return _asyncToGenerator(function* () {
|
|
3484
3508
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3485
|
-
return
|
|
3509
|
+
return _this400.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_email"), {
|
|
3486
3510
|
fields
|
|
3487
3511
|
}, null, options);
|
|
3488
3512
|
})();
|
|
3489
3513
|
}
|
|
3490
3514
|
create_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3491
|
-
var
|
|
3515
|
+
var _this401 = this;
|
|
3492
3516
|
return _asyncToGenerator(function* () {
|
|
3493
3517
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3494
|
-
return
|
|
3518
|
+
return _this401.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email"), {
|
|
3495
3519
|
fields
|
|
3496
3520
|
}, body, options);
|
|
3497
3521
|
})();
|
|
3498
3522
|
}
|
|
3499
3523
|
update_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3500
|
-
var
|
|
3524
|
+
var _this402 = this;
|
|
3501
3525
|
return _asyncToGenerator(function* () {
|
|
3502
3526
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3503
|
-
return
|
|
3527
|
+
return _this402.authStream(callback, 'PATCH', "/users/".concat(user_id, "/credentials_email"), {
|
|
3504
3528
|
fields
|
|
3505
3529
|
}, body, options);
|
|
3506
3530
|
})();
|
|
3507
3531
|
}
|
|
3508
3532
|
delete_user_credentials_email(callback, user_id, options) {
|
|
3509
|
-
var
|
|
3533
|
+
var _this403 = this;
|
|
3510
3534
|
return _asyncToGenerator(function* () {
|
|
3511
3535
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3512
|
-
return
|
|
3536
|
+
return _this403.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3513
3537
|
})();
|
|
3514
3538
|
}
|
|
3515
3539
|
user_credentials_totp(callback, user_id, fields, options) {
|
|
3516
|
-
var
|
|
3540
|
+
var _this404 = this;
|
|
3517
3541
|
return _asyncToGenerator(function* () {
|
|
3518
3542
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3519
|
-
return
|
|
3543
|
+
return _this404.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3520
3544
|
fields
|
|
3521
3545
|
}, null, options);
|
|
3522
3546
|
})();
|
|
3523
3547
|
}
|
|
3524
3548
|
create_user_credentials_totp(callback, user_id, body, fields, options) {
|
|
3525
|
-
var
|
|
3549
|
+
var _this405 = this;
|
|
3526
3550
|
return _asyncToGenerator(function* () {
|
|
3527
3551
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3528
|
-
return
|
|
3552
|
+
return _this405.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3529
3553
|
fields
|
|
3530
3554
|
}, body, options);
|
|
3531
3555
|
})();
|
|
3532
3556
|
}
|
|
3533
3557
|
delete_user_credentials_totp(callback, user_id, options) {
|
|
3534
|
-
var
|
|
3558
|
+
var _this406 = this;
|
|
3535
3559
|
return _asyncToGenerator(function* () {
|
|
3536
3560
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3537
|
-
return
|
|
3561
|
+
return _this406.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3538
3562
|
})();
|
|
3539
3563
|
}
|
|
3540
3564
|
user_credentials_ldap(callback, user_id, fields, options) {
|
|
3541
|
-
var
|
|
3565
|
+
var _this407 = this;
|
|
3542
3566
|
return _asyncToGenerator(function* () {
|
|
3543
3567
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3544
|
-
return
|
|
3568
|
+
return _this407.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_ldap"), {
|
|
3545
3569
|
fields
|
|
3546
3570
|
}, null, options);
|
|
3547
3571
|
})();
|
|
3548
3572
|
}
|
|
3549
3573
|
delete_user_credentials_ldap(callback, user_id, options) {
|
|
3550
|
-
var
|
|
3574
|
+
var _this408 = this;
|
|
3551
3575
|
return _asyncToGenerator(function* () {
|
|
3552
3576
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3553
|
-
return
|
|
3577
|
+
return _this408.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3554
3578
|
})();
|
|
3555
3579
|
}
|
|
3556
3580
|
user_credentials_google(callback, user_id, fields, options) {
|
|
3557
|
-
var
|
|
3581
|
+
var _this409 = this;
|
|
3558
3582
|
return _asyncToGenerator(function* () {
|
|
3559
3583
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3560
|
-
return
|
|
3584
|
+
return _this409.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_google"), {
|
|
3561
3585
|
fields
|
|
3562
3586
|
}, null, options);
|
|
3563
3587
|
})();
|
|
3564
3588
|
}
|
|
3565
3589
|
delete_user_credentials_google(callback, user_id, options) {
|
|
3566
|
-
var
|
|
3590
|
+
var _this410 = this;
|
|
3567
3591
|
return _asyncToGenerator(function* () {
|
|
3568
3592
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3569
|
-
return
|
|
3593
|
+
return _this410.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3570
3594
|
})();
|
|
3571
3595
|
}
|
|
3572
3596
|
user_credentials_saml(callback, user_id, fields, options) {
|
|
3573
|
-
var
|
|
3597
|
+
var _this411 = this;
|
|
3574
3598
|
return _asyncToGenerator(function* () {
|
|
3575
3599
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3576
|
-
return
|
|
3600
|
+
return _this411.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_saml"), {
|
|
3577
3601
|
fields
|
|
3578
3602
|
}, null, options);
|
|
3579
3603
|
})();
|
|
3580
3604
|
}
|
|
3581
3605
|
delete_user_credentials_saml(callback, user_id, options) {
|
|
3582
|
-
var
|
|
3606
|
+
var _this412 = this;
|
|
3583
3607
|
return _asyncToGenerator(function* () {
|
|
3584
3608
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3585
|
-
return
|
|
3609
|
+
return _this412.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3586
3610
|
})();
|
|
3587
3611
|
}
|
|
3588
3612
|
user_credentials_oidc(callback, user_id, fields, options) {
|
|
3589
|
-
var
|
|
3613
|
+
var _this413 = this;
|
|
3590
3614
|
return _asyncToGenerator(function* () {
|
|
3591
3615
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3592
|
-
return
|
|
3616
|
+
return _this413.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_oidc"), {
|
|
3593
3617
|
fields
|
|
3594
3618
|
}, null, options);
|
|
3595
3619
|
})();
|
|
3596
3620
|
}
|
|
3597
3621
|
delete_user_credentials_oidc(callback, user_id, options) {
|
|
3598
|
-
var
|
|
3622
|
+
var _this414 = this;
|
|
3599
3623
|
return _asyncToGenerator(function* () {
|
|
3600
3624
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3601
|
-
return
|
|
3625
|
+
return _this414.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3602
3626
|
})();
|
|
3603
3627
|
}
|
|
3604
3628
|
user_credentials_api3(callback, user_id, credentials_api3_id, fields, options) {
|
|
3605
|
-
var
|
|
3629
|
+
var _this415 = this;
|
|
3606
3630
|
return _asyncToGenerator(function* () {
|
|
3607
3631
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3608
3632
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3609
|
-
return
|
|
3633
|
+
return _this415.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3610
3634
|
fields
|
|
3611
3635
|
}, null, options);
|
|
3612
3636
|
})();
|
|
3613
3637
|
}
|
|
3614
3638
|
update_user_credentials_api3(callback, user_id, credentials_api3_id, body, fields, options) {
|
|
3615
|
-
var
|
|
3639
|
+
var _this416 = this;
|
|
3616
3640
|
return _asyncToGenerator(function* () {
|
|
3617
3641
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3618
3642
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3619
|
-
return
|
|
3643
|
+
return _this416.authStream(callback, 'PATCH', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3620
3644
|
fields
|
|
3621
3645
|
}, body, options);
|
|
3622
3646
|
})();
|
|
3623
3647
|
}
|
|
3624
3648
|
delete_user_credentials_api3(callback, user_id, credentials_api3_id, options) {
|
|
3625
|
-
var
|
|
3649
|
+
var _this417 = this;
|
|
3626
3650
|
return _asyncToGenerator(function* () {
|
|
3627
3651
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3628
3652
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
3629
|
-
return
|
|
3653
|
+
return _this417.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3630
3654
|
})();
|
|
3631
3655
|
}
|
|
3632
3656
|
all_user_credentials_api3s(callback, user_id, fields, options) {
|
|
3633
|
-
var
|
|
3657
|
+
var _this418 = this;
|
|
3634
3658
|
return _asyncToGenerator(function* () {
|
|
3635
3659
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3636
|
-
return
|
|
3660
|
+
return _this418.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3637
3661
|
fields
|
|
3638
3662
|
}, null, options);
|
|
3639
3663
|
})();
|
|
3640
3664
|
}
|
|
3641
3665
|
create_user_credentials_api3(callback, user_id, fields, options) {
|
|
3642
|
-
var
|
|
3666
|
+
var _this419 = this;
|
|
3643
3667
|
return _asyncToGenerator(function* () {
|
|
3644
3668
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3645
|
-
return
|
|
3669
|
+
return _this419.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3646
3670
|
fields
|
|
3647
3671
|
}, null, options);
|
|
3648
3672
|
})();
|
|
3649
3673
|
}
|
|
3650
3674
|
user_credentials_embed(callback, user_id, credentials_embed_id, fields, options) {
|
|
3651
|
-
var
|
|
3675
|
+
var _this420 = this;
|
|
3652
3676
|
return _asyncToGenerator(function* () {
|
|
3653
3677
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3654
3678
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3655
|
-
return
|
|
3679
|
+
return _this420.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3656
3680
|
fields
|
|
3657
3681
|
}, null, options);
|
|
3658
3682
|
})();
|
|
3659
3683
|
}
|
|
3660
3684
|
delete_user_credentials_embed(callback, user_id, credentials_embed_id, options) {
|
|
3661
|
-
var
|
|
3685
|
+
var _this421 = this;
|
|
3662
3686
|
return _asyncToGenerator(function* () {
|
|
3663
3687
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3664
3688
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
3665
|
-
return
|
|
3689
|
+
return _this421.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3666
3690
|
})();
|
|
3667
3691
|
}
|
|
3668
3692
|
all_user_credentials_embeds(callback, user_id, fields, options) {
|
|
3669
|
-
var
|
|
3693
|
+
var _this422 = this;
|
|
3670
3694
|
return _asyncToGenerator(function* () {
|
|
3671
3695
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3672
|
-
return
|
|
3696
|
+
return _this422.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed"), {
|
|
3673
3697
|
fields
|
|
3674
3698
|
}, null, options);
|
|
3675
3699
|
})();
|
|
3676
3700
|
}
|
|
3677
3701
|
user_credentials_looker_openid(callback, user_id, fields, options) {
|
|
3678
|
-
var
|
|
3702
|
+
var _this423 = this;
|
|
3679
3703
|
return _asyncToGenerator(function* () {
|
|
3680
3704
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3681
|
-
return
|
|
3705
|
+
return _this423.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3682
3706
|
fields
|
|
3683
3707
|
}, null, options);
|
|
3684
3708
|
})();
|
|
3685
3709
|
}
|
|
3686
3710
|
delete_user_credentials_looker_openid(callback, user_id, options) {
|
|
3687
|
-
var
|
|
3711
|
+
var _this424 = this;
|
|
3688
3712
|
return _asyncToGenerator(function* () {
|
|
3689
3713
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3690
|
-
return
|
|
3714
|
+
return _this424.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3691
3715
|
})();
|
|
3692
3716
|
}
|
|
3693
3717
|
user_session(callback, user_id, session_id, fields, options) {
|
|
3694
|
-
var
|
|
3718
|
+
var _this425 = this;
|
|
3695
3719
|
return _asyncToGenerator(function* () {
|
|
3696
3720
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3697
3721
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3698
|
-
return
|
|
3722
|
+
return _this425.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3699
3723
|
fields
|
|
3700
3724
|
}, null, options);
|
|
3701
3725
|
})();
|
|
3702
3726
|
}
|
|
3703
3727
|
delete_user_session(callback, user_id, session_id, options) {
|
|
3704
|
-
var
|
|
3728
|
+
var _this426 = this;
|
|
3705
3729
|
return _asyncToGenerator(function* () {
|
|
3706
3730
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3707
3731
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
3708
|
-
return
|
|
3732
|
+
return _this426.authStream(callback, 'DELETE', "/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3709
3733
|
})();
|
|
3710
3734
|
}
|
|
3711
3735
|
all_user_sessions(callback, user_id, fields, options) {
|
|
3712
|
-
var
|
|
3736
|
+
var _this427 = this;
|
|
3713
3737
|
return _asyncToGenerator(function* () {
|
|
3714
3738
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3715
|
-
return
|
|
3739
|
+
return _this427.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions"), {
|
|
3716
3740
|
fields
|
|
3717
3741
|
}, null, options);
|
|
3718
3742
|
})();
|
|
3719
3743
|
}
|
|
3720
3744
|
create_user_credentials_email_password_reset(callback, request, options) {
|
|
3721
|
-
var
|
|
3745
|
+
var _this428 = this;
|
|
3722
3746
|
return _asyncToGenerator(function* () {
|
|
3723
3747
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3724
|
-
return
|
|
3748
|
+
return _this428.authStream(callback, 'POST', "/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3725
3749
|
expires: request.expires,
|
|
3726
3750
|
fields: request.fields
|
|
3727
3751
|
}, null, options);
|
|
3728
3752
|
})();
|
|
3729
3753
|
}
|
|
3730
3754
|
user_roles(callback, request, options) {
|
|
3731
|
-
var
|
|
3755
|
+
var _this429 = this;
|
|
3732
3756
|
return _asyncToGenerator(function* () {
|
|
3733
3757
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3734
|
-
return
|
|
3758
|
+
return _this429.authStream(callback, 'GET', "/users/".concat(request.user_id, "/roles"), {
|
|
3735
3759
|
fields: request.fields,
|
|
3736
3760
|
direct_association_only: request.direct_association_only
|
|
3737
3761
|
}, null, options);
|
|
3738
3762
|
})();
|
|
3739
3763
|
}
|
|
3740
3764
|
set_user_roles(callback, user_id, body, fields, options) {
|
|
3741
|
-
var
|
|
3765
|
+
var _this430 = this;
|
|
3742
3766
|
return _asyncToGenerator(function* () {
|
|
3743
3767
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3744
|
-
return
|
|
3768
|
+
return _this430.authStream(callback, 'PUT', "/users/".concat(user_id, "/roles"), {
|
|
3745
3769
|
fields
|
|
3746
3770
|
}, body, options);
|
|
3747
3771
|
})();
|
|
3748
3772
|
}
|
|
3749
3773
|
user_attribute_user_values(callback, request, options) {
|
|
3750
|
-
var
|
|
3774
|
+
var _this431 = this;
|
|
3751
3775
|
return _asyncToGenerator(function* () {
|
|
3752
3776
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
3753
|
-
return
|
|
3777
|
+
return _this431.authStream(callback, 'GET', "/users/".concat(request.user_id, "/attribute_values"), {
|
|
3754
3778
|
fields: request.fields,
|
|
3755
3779
|
user_attribute_ids: request.user_attribute_ids,
|
|
3756
3780
|
all_values: request.all_values,
|
|
@@ -3759,131 +3783,122 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3759
3783
|
})();
|
|
3760
3784
|
}
|
|
3761
3785
|
set_user_attribute_user_value(callback, user_id, user_attribute_id, body, options) {
|
|
3762
|
-
var
|
|
3786
|
+
var _this432 = this;
|
|
3763
3787
|
return _asyncToGenerator(function* () {
|
|
3764
3788
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3765
3789
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3766
|
-
return
|
|
3790
|
+
return _this432.authStream(callback, 'PATCH', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3767
3791
|
})();
|
|
3768
3792
|
}
|
|
3769
3793
|
delete_user_attribute_user_value(callback, user_id, user_attribute_id, options) {
|
|
3770
|
-
var
|
|
3794
|
+
var _this433 = this;
|
|
3771
3795
|
return _asyncToGenerator(function* () {
|
|
3772
3796
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3773
3797
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3774
|
-
return
|
|
3798
|
+
return _this433.authStream(callback, 'DELETE', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3775
3799
|
})();
|
|
3776
3800
|
}
|
|
3777
3801
|
send_user_credentials_email_password_reset(callback, user_id, fields, options) {
|
|
3778
|
-
var
|
|
3802
|
+
var _this434 = this;
|
|
3779
3803
|
return _asyncToGenerator(function* () {
|
|
3780
3804
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3781
|
-
return
|
|
3805
|
+
return _this434.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3782
3806
|
fields
|
|
3783
3807
|
}, null, options);
|
|
3784
3808
|
})();
|
|
3785
3809
|
}
|
|
3786
3810
|
wipeout_user_emails(callback, user_id, body, fields, options) {
|
|
3787
|
-
var
|
|
3811
|
+
var _this435 = this;
|
|
3788
3812
|
return _asyncToGenerator(function* () {
|
|
3789
3813
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3790
|
-
return
|
|
3814
|
+
return _this435.authStream(callback, 'POST', "/users/".concat(user_id, "/update_emails"), {
|
|
3791
3815
|
fields
|
|
3792
3816
|
}, body, options);
|
|
3793
3817
|
})();
|
|
3794
3818
|
}
|
|
3795
3819
|
create_embed_user(callback, body, options) {
|
|
3796
|
-
var
|
|
3820
|
+
var _this436 = this;
|
|
3797
3821
|
return _asyncToGenerator(function* () {
|
|
3798
|
-
return
|
|
3822
|
+
return _this436.authStream(callback, 'POST', '/users/embed_user', null, body, options);
|
|
3799
3823
|
})();
|
|
3800
3824
|
}
|
|
3801
3825
|
create_service_account(callback, body, fields, options) {
|
|
3802
|
-
var
|
|
3803
|
-
return _asyncToGenerator(function* () {
|
|
3804
|
-
return _this434.authStream(callback, 'POST', '/users/service_accounts', {
|
|
3805
|
-
fields
|
|
3806
|
-
}, body, options);
|
|
3807
|
-
})();
|
|
3808
|
-
}
|
|
3809
|
-
update_service_account(callback, user_id, body, fields, options) {
|
|
3810
|
-
var _this435 = this;
|
|
3826
|
+
var _this437 = this;
|
|
3811
3827
|
return _asyncToGenerator(function* () {
|
|
3812
|
-
|
|
3813
|
-
return _this435.authStream(callback, 'PATCH', "/users/service_accounts/".concat(user_id), {
|
|
3828
|
+
return _this437.authStream(callback, 'POST', '/users/service_accounts', {
|
|
3814
3829
|
fields
|
|
3815
3830
|
}, body, options);
|
|
3816
3831
|
})();
|
|
3817
3832
|
}
|
|
3818
3833
|
all_user_attributes(callback, request, options) {
|
|
3819
|
-
var
|
|
3834
|
+
var _this438 = this;
|
|
3820
3835
|
return _asyncToGenerator(function* () {
|
|
3821
|
-
return
|
|
3836
|
+
return _this438.authStream(callback, 'GET', '/user_attributes', {
|
|
3822
3837
|
fields: request.fields,
|
|
3823
3838
|
sorts: request.sorts
|
|
3824
3839
|
}, null, options);
|
|
3825
3840
|
})();
|
|
3826
3841
|
}
|
|
3827
3842
|
create_user_attribute(callback, body, fields, options) {
|
|
3828
|
-
var
|
|
3843
|
+
var _this439 = this;
|
|
3829
3844
|
return _asyncToGenerator(function* () {
|
|
3830
|
-
return
|
|
3845
|
+
return _this439.authStream(callback, 'POST', '/user_attributes', {
|
|
3831
3846
|
fields
|
|
3832
3847
|
}, body, options);
|
|
3833
3848
|
})();
|
|
3834
3849
|
}
|
|
3835
3850
|
user_attribute(callback, user_attribute_id, fields, options) {
|
|
3836
|
-
var
|
|
3851
|
+
var _this440 = this;
|
|
3837
3852
|
return _asyncToGenerator(function* () {
|
|
3838
3853
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3839
|
-
return
|
|
3854
|
+
return _this440.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id), {
|
|
3840
3855
|
fields
|
|
3841
3856
|
}, null, options);
|
|
3842
3857
|
})();
|
|
3843
3858
|
}
|
|
3844
3859
|
update_user_attribute(callback, user_attribute_id, body, fields, options) {
|
|
3845
|
-
var
|
|
3860
|
+
var _this441 = this;
|
|
3846
3861
|
return _asyncToGenerator(function* () {
|
|
3847
3862
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3848
|
-
return
|
|
3863
|
+
return _this441.authStream(callback, 'PATCH', "/user_attributes/".concat(user_attribute_id), {
|
|
3849
3864
|
fields
|
|
3850
3865
|
}, body, options);
|
|
3851
3866
|
})();
|
|
3852
3867
|
}
|
|
3853
3868
|
delete_user_attribute(callback, user_attribute_id, options) {
|
|
3854
|
-
var
|
|
3869
|
+
var _this442 = this;
|
|
3855
3870
|
return _asyncToGenerator(function* () {
|
|
3856
3871
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3857
|
-
return
|
|
3872
|
+
return _this442.authStream(callback, 'DELETE', "/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3858
3873
|
})();
|
|
3859
3874
|
}
|
|
3860
3875
|
all_user_attribute_group_values(callback, user_attribute_id, fields, options) {
|
|
3861
|
-
var
|
|
3876
|
+
var _this443 = this;
|
|
3862
3877
|
return _asyncToGenerator(function* () {
|
|
3863
3878
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3864
|
-
return
|
|
3879
|
+
return _this443.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3865
3880
|
fields
|
|
3866
3881
|
}, null, options);
|
|
3867
3882
|
})();
|
|
3868
3883
|
}
|
|
3869
3884
|
set_user_attribute_group_values(callback, user_attribute_id, body, options) {
|
|
3870
|
-
var
|
|
3885
|
+
var _this444 = this;
|
|
3871
3886
|
return _asyncToGenerator(function* () {
|
|
3872
3887
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
3873
|
-
return
|
|
3888
|
+
return _this444.authStream(callback, 'POST', "/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3874
3889
|
})();
|
|
3875
3890
|
}
|
|
3876
3891
|
all_workspaces(callback, options) {
|
|
3877
|
-
var
|
|
3892
|
+
var _this445 = this;
|
|
3878
3893
|
return _asyncToGenerator(function* () {
|
|
3879
|
-
return
|
|
3894
|
+
return _this445.authStream(callback, 'GET', '/workspaces', null, null, options);
|
|
3880
3895
|
})();
|
|
3881
3896
|
}
|
|
3882
3897
|
workspace(callback, workspace_id, options) {
|
|
3883
|
-
var
|
|
3898
|
+
var _this446 = this;
|
|
3884
3899
|
return _asyncToGenerator(function* () {
|
|
3885
3900
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
3886
|
-
return
|
|
3901
|
+
return _this446.authStream(callback, 'GET', "/workspaces/".concat(workspace_id), null, null, options);
|
|
3887
3902
|
})();
|
|
3888
3903
|
}
|
|
3889
3904
|
}
|