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