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