@looker/sdk 23.14.1 → 23.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +1 -3
- package/lib/4.0/funcs.d.ts +6 -3
- package/lib/4.0/funcs.js +922 -891
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +6 -3
- package/lib/4.0/methods.js +612 -590
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +6 -3
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +18 -3
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +6 -3
- package/lib/4.0/streams.js +612 -590
- package/lib/4.0/streams.js.map +1 -1
- package/lib/browserSdk.d.ts +0 -2
- package/lib/browserSdk.js +2 -9
- package/lib/browserSdk.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 +1633 -2046
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +915 -900
- 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 +22 -50
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +915 -900
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/browserSdk.js +8 -23
- package/lib/esm/browserSdk.js.map +1 -1
- package/lib/esm/constants.js +2 -10
- package/lib/esm/constants.js.map +1 -1
- package/lib/esm/extensionSdk.js +5 -12
- package/lib/esm/extensionSdk.js.map +1 -1
- package/lib/esm/index.js +9 -141
- package/lib/esm/index.js.map +1 -1
- package/lib/extensionSdk.js.map +1 -1
- package/lib/index.d.ts +0 -8
- package/lib/index.js +15 -56
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/lib/3.1/funcs.d.ts +0 -358
- package/lib/3.1/funcs.js +0 -4025
- package/lib/3.1/funcs.js.map +0 -1
- package/lib/3.1/methods.d.ts +0 -363
- package/lib/3.1/methods.js +0 -2965
- package/lib/3.1/methods.js.map +0 -1
- package/lib/3.1/methodsInterface.d.ts +0 -359
- package/lib/3.1/methodsInterface.js +0 -2
- package/lib/3.1/methodsInterface.js.map +0 -1
- package/lib/3.1/models.d.ts +0 -3263
- package/lib/3.1/models.js +0 -159
- package/lib/3.1/models.js.map +0 -1
- package/lib/3.1/streams.d.ts +0 -363
- package/lib/3.1/streams.js +0 -2965
- package/lib/3.1/streams.js.map +0 -1
- package/lib/esm/3.1/funcs.js +0 -4025
- package/lib/esm/3.1/funcs.js.map +0 -1
- package/lib/esm/3.1/methods.js +0 -2965
- package/lib/esm/3.1/methods.js.map +0 -1
- package/lib/esm/3.1/methodsInterface.js +0 -2
- package/lib/esm/3.1/methodsInterface.js.map +0 -1
- package/lib/esm/3.1/models.js +0 -159
- package/lib/esm/3.1/models.js.map +0 -1
- package/lib/esm/3.1/streams.js +0 -2965
- package/lib/esm/3.1/streams.js.map +0 -1
package/lib/esm/4.0/streams.js
CHANGED
|
@@ -1,33 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Looker40SDKStream = void 0;
|
|
7
|
-
var _sdkRtl = require("@looker/sdk-rtl");
|
|
8
|
-
var _constants = require("../constants");
|
|
9
1
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
10
2
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
11
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; }
|
|
12
4
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
13
5
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
14
|
-
|
|
6
|
+
import { APIMethods, encodeParam } from '@looker/sdk-rtl';
|
|
7
|
+
import { sdkVersion } from '../constants';
|
|
8
|
+
export class Looker40SDKStream extends APIMethods {
|
|
15
9
|
constructor(authSession) {
|
|
16
|
-
super(authSession,
|
|
10
|
+
super(authSession, sdkVersion);
|
|
17
11
|
this.apiVersion = Looker40SDKStream.ApiVersion;
|
|
18
12
|
this.apiPath = authSession.settings.base_url === '' ? '' : authSession.settings.base_url + '/api/' + this.apiVersion;
|
|
19
13
|
}
|
|
20
14
|
follow_alert(callback, alert_id, options) {
|
|
21
15
|
var _this = this;
|
|
22
16
|
return _asyncToGenerator(function* () {
|
|
23
|
-
alert_id =
|
|
17
|
+
alert_id = encodeParam(alert_id);
|
|
24
18
|
return _this.authStream(callback, 'POST', "/alerts/".concat(alert_id, "/follow"), null, null, options);
|
|
25
19
|
})();
|
|
26
20
|
}
|
|
27
21
|
unfollow_alert(callback, alert_id, options) {
|
|
28
22
|
var _this2 = this;
|
|
29
23
|
return _asyncToGenerator(function* () {
|
|
30
|
-
alert_id =
|
|
24
|
+
alert_id = encodeParam(alert_id);
|
|
31
25
|
return _this2.authStream(callback, 'DELETE', "/alerts/".concat(alert_id, "/follow"), null, null, options);
|
|
32
26
|
})();
|
|
33
27
|
}
|
|
@@ -51,28 +45,28 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
51
45
|
get_alert(callback, alert_id, options) {
|
|
52
46
|
var _this4 = this;
|
|
53
47
|
return _asyncToGenerator(function* () {
|
|
54
|
-
alert_id =
|
|
48
|
+
alert_id = encodeParam(alert_id);
|
|
55
49
|
return _this4.authStream(callback, 'GET', "/alerts/".concat(alert_id), null, null, options);
|
|
56
50
|
})();
|
|
57
51
|
}
|
|
58
52
|
update_alert(callback, alert_id, body, options) {
|
|
59
53
|
var _this5 = this;
|
|
60
54
|
return _asyncToGenerator(function* () {
|
|
61
|
-
alert_id =
|
|
55
|
+
alert_id = encodeParam(alert_id);
|
|
62
56
|
return _this5.authStream(callback, 'PUT', "/alerts/".concat(alert_id), null, body, options);
|
|
63
57
|
})();
|
|
64
58
|
}
|
|
65
59
|
update_alert_field(callback, alert_id, body, options) {
|
|
66
60
|
var _this6 = this;
|
|
67
61
|
return _asyncToGenerator(function* () {
|
|
68
|
-
alert_id =
|
|
62
|
+
alert_id = encodeParam(alert_id);
|
|
69
63
|
return _this6.authStream(callback, 'PATCH', "/alerts/".concat(alert_id), null, body, options);
|
|
70
64
|
})();
|
|
71
65
|
}
|
|
72
66
|
delete_alert(callback, alert_id, options) {
|
|
73
67
|
var _this7 = this;
|
|
74
68
|
return _asyncToGenerator(function* () {
|
|
75
|
-
alert_id =
|
|
69
|
+
alert_id = encodeParam(alert_id);
|
|
76
70
|
return _this7.authStream(callback, 'DELETE', "/alerts/".concat(alert_id), null, null, options);
|
|
77
71
|
})();
|
|
78
72
|
}
|
|
@@ -85,7 +79,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
85
79
|
enqueue_alert(callback, alert_id, force, options) {
|
|
86
80
|
var _this9 = this;
|
|
87
81
|
return _asyncToGenerator(function* () {
|
|
88
|
-
alert_id =
|
|
82
|
+
alert_id = encodeParam(alert_id);
|
|
89
83
|
return _this9.authStream(callback, 'POST', "/alerts/".concat(alert_id, "/enqueue"), {
|
|
90
84
|
force
|
|
91
85
|
}, null, options);
|
|
@@ -103,7 +97,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
103
97
|
read_alert_notification(callback, alert_notification_id, options) {
|
|
104
98
|
var _this11 = this;
|
|
105
99
|
return _asyncToGenerator(function* () {
|
|
106
|
-
alert_notification_id =
|
|
100
|
+
alert_notification_id = encodeParam(alert_notification_id);
|
|
107
101
|
return _this11.authStream(callback, 'PATCH', "/alert_notifications/".concat(alert_notification_id), null, null, options);
|
|
108
102
|
})();
|
|
109
103
|
}
|
|
@@ -119,7 +113,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
119
113
|
login_user(callback, user_id, associative, options) {
|
|
120
114
|
var _this13 = this;
|
|
121
115
|
return _asyncToGenerator(function* () {
|
|
122
|
-
user_id =
|
|
116
|
+
user_id = encodeParam(user_id);
|
|
123
117
|
return _this13.authStream(callback, 'POST', "/login/".concat(user_id), {
|
|
124
118
|
associative
|
|
125
119
|
}, null, options);
|
|
@@ -152,7 +146,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
152
146
|
artifact_value(callback, namespace, key, options) {
|
|
153
147
|
var _this17 = this;
|
|
154
148
|
return _asyncToGenerator(function* () {
|
|
155
|
-
namespace =
|
|
149
|
+
namespace = encodeParam(namespace);
|
|
156
150
|
return _this17.authStream(callback, 'GET', "/artifact/".concat(namespace, "/value"), {
|
|
157
151
|
key
|
|
158
152
|
}, null, options);
|
|
@@ -161,14 +155,14 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
161
155
|
purge_artifacts(callback, namespace, options) {
|
|
162
156
|
var _this18 = this;
|
|
163
157
|
return _asyncToGenerator(function* () {
|
|
164
|
-
namespace =
|
|
158
|
+
namespace = encodeParam(namespace);
|
|
165
159
|
return _this18.authStream(callback, 'DELETE', "/artifact/".concat(namespace, "/purge"), null, null, options);
|
|
166
160
|
})();
|
|
167
161
|
}
|
|
168
162
|
search_artifacts(callback, request, options) {
|
|
169
163
|
var _this19 = this;
|
|
170
164
|
return _asyncToGenerator(function* () {
|
|
171
|
-
request.namespace =
|
|
165
|
+
request.namespace = encodeParam(request.namespace);
|
|
172
166
|
return _this19.authStream(callback, 'GET', "/artifact/".concat(request.namespace, "/search"), {
|
|
173
167
|
fields: request.fields,
|
|
174
168
|
key: request.key,
|
|
@@ -183,7 +177,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
183
177
|
artifact(callback, request, options) {
|
|
184
178
|
var _this20 = this;
|
|
185
179
|
return _asyncToGenerator(function* () {
|
|
186
|
-
request.namespace =
|
|
180
|
+
request.namespace = encodeParam(request.namespace);
|
|
187
181
|
return _this20.authStream(callback, 'GET', "/artifact/".concat(request.namespace), {
|
|
188
182
|
key: request.key,
|
|
189
183
|
fields: request.fields,
|
|
@@ -195,7 +189,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
195
189
|
delete_artifact(callback, namespace, key, options) {
|
|
196
190
|
var _this21 = this;
|
|
197
191
|
return _asyncToGenerator(function* () {
|
|
198
|
-
namespace =
|
|
192
|
+
namespace = encodeParam(namespace);
|
|
199
193
|
return _this21.authStream(callback, 'DELETE', "/artifact/".concat(namespace), {
|
|
200
194
|
key
|
|
201
195
|
}, null, options);
|
|
@@ -204,7 +198,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
204
198
|
update_artifacts(callback, namespace, body, fields, options) {
|
|
205
199
|
var _this22 = this;
|
|
206
200
|
return _asyncToGenerator(function* () {
|
|
207
|
-
namespace =
|
|
201
|
+
namespace = encodeParam(namespace);
|
|
208
202
|
return _this22.authStream(callback, 'PUT', "/artifacts/".concat(namespace), {
|
|
209
203
|
fields
|
|
210
204
|
}, body, options);
|
|
@@ -219,7 +213,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
219
213
|
delete_embed_secret(callback, embed_secret_id, options) {
|
|
220
214
|
var _this24 = this;
|
|
221
215
|
return _asyncToGenerator(function* () {
|
|
222
|
-
embed_secret_id =
|
|
216
|
+
embed_secret_id = encodeParam(embed_secret_id);
|
|
223
217
|
return _this24.authStream(callback, 'DELETE', "/embed_config/secrets/".concat(embed_secret_id), null, null, options);
|
|
224
218
|
})();
|
|
225
219
|
}
|
|
@@ -235,307 +229,315 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
235
229
|
return _this26.authStream(callback, 'POST', '/embed/token_url/me', null, body, options);
|
|
236
230
|
})();
|
|
237
231
|
}
|
|
238
|
-
|
|
232
|
+
validate_embed_url(callback, url, options) {
|
|
239
233
|
var _this27 = this;
|
|
240
234
|
return _asyncToGenerator(function* () {
|
|
241
|
-
return _this27.authStream(callback, '
|
|
235
|
+
return _this27.authStream(callback, 'GET', '/embed/sso/validate', {
|
|
236
|
+
url
|
|
237
|
+
}, null, options);
|
|
242
238
|
})();
|
|
243
239
|
}
|
|
244
|
-
|
|
240
|
+
acquire_embed_cookieless_session(callback, body, options) {
|
|
245
241
|
var _this28 = this;
|
|
246
242
|
return _asyncToGenerator(function* () {
|
|
247
|
-
|
|
248
|
-
return _this28.authStream(callback, 'DELETE', "/embed/cookieless_session/".concat(session_reference_token), null, null, options);
|
|
243
|
+
return _this28.authStream(callback, 'POST', '/embed/cookieless_session/acquire', null, body, options);
|
|
249
244
|
})();
|
|
250
245
|
}
|
|
251
|
-
|
|
246
|
+
delete_embed_cookieless_session(callback, session_reference_token, options) {
|
|
252
247
|
var _this29 = this;
|
|
253
248
|
return _asyncToGenerator(function* () {
|
|
254
|
-
|
|
249
|
+
session_reference_token = encodeParam(session_reference_token);
|
|
250
|
+
return _this29.authStream(callback, 'DELETE', "/embed/cookieless_session/".concat(session_reference_token), null, null, options);
|
|
255
251
|
})();
|
|
256
252
|
}
|
|
257
|
-
|
|
253
|
+
generate_tokens_for_cookieless_session(callback, body, options) {
|
|
258
254
|
var _this30 = this;
|
|
259
255
|
return _asyncToGenerator(function* () {
|
|
260
|
-
return _this30.authStream(callback, '
|
|
256
|
+
return _this30.authStream(callback, 'PUT', '/embed/cookieless_session/generate_tokens', null, body, options);
|
|
261
257
|
})();
|
|
262
258
|
}
|
|
263
|
-
|
|
259
|
+
ldap_config(callback, options) {
|
|
264
260
|
var _this31 = this;
|
|
265
261
|
return _asyncToGenerator(function* () {
|
|
266
|
-
return _this31.authStream(callback, '
|
|
262
|
+
return _this31.authStream(callback, 'GET', '/ldap_config', null, null, options);
|
|
267
263
|
})();
|
|
268
264
|
}
|
|
269
|
-
|
|
265
|
+
update_ldap_config(callback, body, options) {
|
|
270
266
|
var _this32 = this;
|
|
271
267
|
return _asyncToGenerator(function* () {
|
|
272
|
-
return _this32.authStream(callback, '
|
|
268
|
+
return _this32.authStream(callback, 'PATCH', '/ldap_config', null, body, options);
|
|
273
269
|
})();
|
|
274
270
|
}
|
|
275
|
-
|
|
271
|
+
test_ldap_config_connection(callback, body, options) {
|
|
276
272
|
var _this33 = this;
|
|
277
273
|
return _asyncToGenerator(function* () {
|
|
278
|
-
return _this33.authStream(callback, 'PUT', '/ldap_config/
|
|
274
|
+
return _this33.authStream(callback, 'PUT', '/ldap_config/test_connection', null, body, options);
|
|
279
275
|
})();
|
|
280
276
|
}
|
|
281
|
-
|
|
277
|
+
test_ldap_config_auth(callback, body, options) {
|
|
282
278
|
var _this34 = this;
|
|
283
279
|
return _asyncToGenerator(function* () {
|
|
284
|
-
return _this34.authStream(callback, 'PUT', '/ldap_config/
|
|
280
|
+
return _this34.authStream(callback, 'PUT', '/ldap_config/test_auth', null, body, options);
|
|
285
281
|
})();
|
|
286
282
|
}
|
|
287
|
-
|
|
283
|
+
test_ldap_config_user_info(callback, body, options) {
|
|
288
284
|
var _this35 = this;
|
|
289
285
|
return _asyncToGenerator(function* () {
|
|
290
|
-
return _this35.authStream(callback, 'PUT', '/ldap_config/
|
|
286
|
+
return _this35.authStream(callback, 'PUT', '/ldap_config/test_user_info', null, body, options);
|
|
291
287
|
})();
|
|
292
288
|
}
|
|
293
|
-
|
|
289
|
+
test_ldap_config_user_auth(callback, body, options) {
|
|
294
290
|
var _this36 = this;
|
|
295
291
|
return _asyncToGenerator(function* () {
|
|
296
|
-
return _this36.authStream(callback, '
|
|
292
|
+
return _this36.authStream(callback, 'PUT', '/ldap_config/test_user_auth', null, body, options);
|
|
297
293
|
})();
|
|
298
294
|
}
|
|
299
|
-
|
|
295
|
+
register_mobile_device(callback, body, options) {
|
|
300
296
|
var _this37 = this;
|
|
301
297
|
return _asyncToGenerator(function* () {
|
|
302
|
-
|
|
303
|
-
return _this37.authStream(callback, 'PATCH', "/mobile/device/".concat(device_id), null, null, options);
|
|
298
|
+
return _this37.authStream(callback, 'POST', '/mobile/device', null, body, options);
|
|
304
299
|
})();
|
|
305
300
|
}
|
|
306
|
-
|
|
301
|
+
update_mobile_device_registration(callback, device_id, options) {
|
|
307
302
|
var _this38 = this;
|
|
308
303
|
return _asyncToGenerator(function* () {
|
|
309
|
-
device_id =
|
|
310
|
-
return _this38.authStream(callback, '
|
|
304
|
+
device_id = encodeParam(device_id);
|
|
305
|
+
return _this38.authStream(callback, 'PATCH', "/mobile/device/".concat(device_id), null, null, options);
|
|
311
306
|
})();
|
|
312
307
|
}
|
|
313
|
-
|
|
308
|
+
deregister_mobile_device(callback, device_id, options) {
|
|
314
309
|
var _this39 = this;
|
|
315
310
|
return _asyncToGenerator(function* () {
|
|
316
|
-
|
|
311
|
+
device_id = encodeParam(device_id);
|
|
312
|
+
return _this39.authStream(callback, 'DELETE', "/mobile/device/".concat(device_id), null, null, options);
|
|
313
|
+
})();
|
|
314
|
+
}
|
|
315
|
+
all_oauth_client_apps(callback, fields, options) {
|
|
316
|
+
var _this40 = this;
|
|
317
|
+
return _asyncToGenerator(function* () {
|
|
318
|
+
return _this40.authStream(callback, 'GET', '/oauth_client_apps', {
|
|
317
319
|
fields
|
|
318
320
|
}, null, options);
|
|
319
321
|
})();
|
|
320
322
|
}
|
|
321
323
|
oauth_client_app(callback, client_guid, fields, options) {
|
|
322
|
-
var
|
|
324
|
+
var _this41 = this;
|
|
323
325
|
return _asyncToGenerator(function* () {
|
|
324
|
-
client_guid =
|
|
325
|
-
return
|
|
326
|
+
client_guid = encodeParam(client_guid);
|
|
327
|
+
return _this41.authStream(callback, 'GET', "/oauth_client_apps/".concat(client_guid), {
|
|
326
328
|
fields
|
|
327
329
|
}, null, options);
|
|
328
330
|
})();
|
|
329
331
|
}
|
|
330
332
|
register_oauth_client_app(callback, client_guid, body, fields, options) {
|
|
331
|
-
var
|
|
333
|
+
var _this42 = this;
|
|
332
334
|
return _asyncToGenerator(function* () {
|
|
333
|
-
client_guid =
|
|
334
|
-
return
|
|
335
|
+
client_guid = encodeParam(client_guid);
|
|
336
|
+
return _this42.authStream(callback, 'POST', "/oauth_client_apps/".concat(client_guid), {
|
|
335
337
|
fields
|
|
336
338
|
}, body, options);
|
|
337
339
|
})();
|
|
338
340
|
}
|
|
339
341
|
update_oauth_client_app(callback, client_guid, body, fields, options) {
|
|
340
|
-
var
|
|
342
|
+
var _this43 = this;
|
|
341
343
|
return _asyncToGenerator(function* () {
|
|
342
|
-
client_guid =
|
|
343
|
-
return
|
|
344
|
+
client_guid = encodeParam(client_guid);
|
|
345
|
+
return _this43.authStream(callback, 'PATCH', "/oauth_client_apps/".concat(client_guid), {
|
|
344
346
|
fields
|
|
345
347
|
}, body, options);
|
|
346
348
|
})();
|
|
347
349
|
}
|
|
348
350
|
delete_oauth_client_app(callback, client_guid, options) {
|
|
349
|
-
var
|
|
351
|
+
var _this44 = this;
|
|
350
352
|
return _asyncToGenerator(function* () {
|
|
351
|
-
client_guid =
|
|
352
|
-
return
|
|
353
|
+
client_guid = encodeParam(client_guid);
|
|
354
|
+
return _this44.authStream(callback, 'DELETE', "/oauth_client_apps/".concat(client_guid), null, null, options);
|
|
353
355
|
})();
|
|
354
356
|
}
|
|
355
357
|
invalidate_tokens(callback, client_guid, options) {
|
|
356
|
-
var
|
|
358
|
+
var _this45 = this;
|
|
357
359
|
return _asyncToGenerator(function* () {
|
|
358
|
-
client_guid =
|
|
359
|
-
return
|
|
360
|
+
client_guid = encodeParam(client_guid);
|
|
361
|
+
return _this45.authStream(callback, 'DELETE', "/oauth_client_apps/".concat(client_guid, "/tokens"), null, null, options);
|
|
360
362
|
})();
|
|
361
363
|
}
|
|
362
364
|
activate_app_user(callback, client_guid, user_id, fields, options) {
|
|
363
|
-
var
|
|
365
|
+
var _this46 = this;
|
|
364
366
|
return _asyncToGenerator(function* () {
|
|
365
|
-
client_guid =
|
|
366
|
-
user_id =
|
|
367
|
-
return
|
|
367
|
+
client_guid = encodeParam(client_guid);
|
|
368
|
+
user_id = encodeParam(user_id);
|
|
369
|
+
return _this46.authStream(callback, 'POST', "/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
368
370
|
fields
|
|
369
371
|
}, null, options);
|
|
370
372
|
})();
|
|
371
373
|
}
|
|
372
374
|
deactivate_app_user(callback, client_guid, user_id, fields, options) {
|
|
373
|
-
var
|
|
375
|
+
var _this47 = this;
|
|
374
376
|
return _asyncToGenerator(function* () {
|
|
375
|
-
client_guid =
|
|
376
|
-
user_id =
|
|
377
|
-
return
|
|
377
|
+
client_guid = encodeParam(client_guid);
|
|
378
|
+
user_id = encodeParam(user_id);
|
|
379
|
+
return _this47.authStream(callback, 'DELETE', "/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
378
380
|
fields
|
|
379
381
|
}, null, options);
|
|
380
382
|
})();
|
|
381
383
|
}
|
|
382
384
|
oidc_config(callback, options) {
|
|
383
|
-
var
|
|
385
|
+
var _this48 = this;
|
|
384
386
|
return _asyncToGenerator(function* () {
|
|
385
|
-
return
|
|
387
|
+
return _this48.authStream(callback, 'GET', '/oidc_config', null, null, options);
|
|
386
388
|
})();
|
|
387
389
|
}
|
|
388
390
|
update_oidc_config(callback, body, options) {
|
|
389
|
-
var
|
|
391
|
+
var _this49 = this;
|
|
390
392
|
return _asyncToGenerator(function* () {
|
|
391
|
-
return
|
|
393
|
+
return _this49.authStream(callback, 'PATCH', '/oidc_config', null, body, options);
|
|
392
394
|
})();
|
|
393
395
|
}
|
|
394
396
|
oidc_test_config(callback, test_slug, options) {
|
|
395
|
-
var
|
|
397
|
+
var _this50 = this;
|
|
396
398
|
return _asyncToGenerator(function* () {
|
|
397
|
-
test_slug =
|
|
398
|
-
return
|
|
399
|
+
test_slug = encodeParam(test_slug);
|
|
400
|
+
return _this50.authStream(callback, 'GET', "/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
399
401
|
})();
|
|
400
402
|
}
|
|
401
403
|
delete_oidc_test_config(callback, test_slug, options) {
|
|
402
|
-
var
|
|
404
|
+
var _this51 = this;
|
|
403
405
|
return _asyncToGenerator(function* () {
|
|
404
|
-
test_slug =
|
|
405
|
-
return
|
|
406
|
+
test_slug = encodeParam(test_slug);
|
|
407
|
+
return _this51.authStream(callback, 'DELETE', "/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
406
408
|
})();
|
|
407
409
|
}
|
|
408
410
|
create_oidc_test_config(callback, body, options) {
|
|
409
|
-
var
|
|
411
|
+
var _this52 = this;
|
|
410
412
|
return _asyncToGenerator(function* () {
|
|
411
|
-
return
|
|
413
|
+
return _this52.authStream(callback, 'POST', '/oidc_test_configs', null, body, options);
|
|
412
414
|
})();
|
|
413
415
|
}
|
|
414
416
|
password_config(callback, options) {
|
|
415
|
-
var
|
|
417
|
+
var _this53 = this;
|
|
416
418
|
return _asyncToGenerator(function* () {
|
|
417
|
-
return
|
|
419
|
+
return _this53.authStream(callback, 'GET', '/password_config', null, null, options);
|
|
418
420
|
})();
|
|
419
421
|
}
|
|
420
422
|
update_password_config(callback, body, options) {
|
|
421
|
-
var
|
|
423
|
+
var _this54 = this;
|
|
422
424
|
return _asyncToGenerator(function* () {
|
|
423
|
-
return
|
|
425
|
+
return _this54.authStream(callback, 'PATCH', '/password_config', null, body, options);
|
|
424
426
|
})();
|
|
425
427
|
}
|
|
426
428
|
force_password_reset_at_next_login_for_all_users(callback, options) {
|
|
427
|
-
var
|
|
429
|
+
var _this55 = this;
|
|
428
430
|
return _asyncToGenerator(function* () {
|
|
429
|
-
return
|
|
431
|
+
return _this55.authStream(callback, 'PUT', '/password_config/force_password_reset_at_next_login_for_all_users', null, null, options);
|
|
430
432
|
})();
|
|
431
433
|
}
|
|
432
434
|
saml_config(callback, options) {
|
|
433
|
-
var
|
|
435
|
+
var _this56 = this;
|
|
434
436
|
return _asyncToGenerator(function* () {
|
|
435
|
-
return
|
|
437
|
+
return _this56.authStream(callback, 'GET', '/saml_config', null, null, options);
|
|
436
438
|
})();
|
|
437
439
|
}
|
|
438
440
|
update_saml_config(callback, body, options) {
|
|
439
|
-
var
|
|
441
|
+
var _this57 = this;
|
|
440
442
|
return _asyncToGenerator(function* () {
|
|
441
|
-
return
|
|
443
|
+
return _this57.authStream(callback, 'PATCH', '/saml_config', null, body, options);
|
|
442
444
|
})();
|
|
443
445
|
}
|
|
444
446
|
saml_test_config(callback, test_slug, options) {
|
|
445
|
-
var
|
|
447
|
+
var _this58 = this;
|
|
446
448
|
return _asyncToGenerator(function* () {
|
|
447
|
-
test_slug =
|
|
448
|
-
return
|
|
449
|
+
test_slug = encodeParam(test_slug);
|
|
450
|
+
return _this58.authStream(callback, 'GET', "/saml_test_configs/".concat(test_slug), null, null, options);
|
|
449
451
|
})();
|
|
450
452
|
}
|
|
451
453
|
delete_saml_test_config(callback, test_slug, options) {
|
|
452
|
-
var
|
|
454
|
+
var _this59 = this;
|
|
453
455
|
return _asyncToGenerator(function* () {
|
|
454
|
-
test_slug =
|
|
455
|
-
return
|
|
456
|
+
test_slug = encodeParam(test_slug);
|
|
457
|
+
return _this59.authStream(callback, 'DELETE', "/saml_test_configs/".concat(test_slug), null, null, options);
|
|
456
458
|
})();
|
|
457
459
|
}
|
|
458
460
|
create_saml_test_config(callback, body, options) {
|
|
459
|
-
var
|
|
461
|
+
var _this60 = this;
|
|
460
462
|
return _asyncToGenerator(function* () {
|
|
461
|
-
return
|
|
463
|
+
return _this60.authStream(callback, 'POST', '/saml_test_configs', null, body, options);
|
|
462
464
|
})();
|
|
463
465
|
}
|
|
464
466
|
parse_saml_idp_metadata(callback, body, options) {
|
|
465
|
-
var
|
|
467
|
+
var _this61 = this;
|
|
466
468
|
return _asyncToGenerator(function* () {
|
|
467
|
-
return
|
|
469
|
+
return _this61.authStream(callback, 'POST', '/parse_saml_idp_metadata', null, body, options);
|
|
468
470
|
})();
|
|
469
471
|
}
|
|
470
472
|
fetch_and_parse_saml_idp_metadata(callback, body, options) {
|
|
471
|
-
var
|
|
473
|
+
var _this62 = this;
|
|
472
474
|
return _asyncToGenerator(function* () {
|
|
473
|
-
return
|
|
475
|
+
return _this62.authStream(callback, 'POST', '/fetch_and_parse_saml_idp_metadata', null, body, options);
|
|
474
476
|
})();
|
|
475
477
|
}
|
|
476
478
|
session_config(callback, options) {
|
|
477
|
-
var
|
|
479
|
+
var _this63 = this;
|
|
478
480
|
return _asyncToGenerator(function* () {
|
|
479
|
-
return
|
|
481
|
+
return _this63.authStream(callback, 'GET', '/session_config', null, null, options);
|
|
480
482
|
})();
|
|
481
483
|
}
|
|
482
484
|
update_session_config(callback, body, options) {
|
|
483
|
-
var
|
|
485
|
+
var _this64 = this;
|
|
484
486
|
return _asyncToGenerator(function* () {
|
|
485
|
-
return
|
|
487
|
+
return _this64.authStream(callback, 'PATCH', '/session_config', null, body, options);
|
|
486
488
|
})();
|
|
487
489
|
}
|
|
488
490
|
get_support_access_allowlist_entries(callback, fields, options) {
|
|
489
|
-
var
|
|
491
|
+
var _this65 = this;
|
|
490
492
|
return _asyncToGenerator(function* () {
|
|
491
|
-
return
|
|
493
|
+
return _this65.authStream(callback, 'GET', '/support_access/allowlist', {
|
|
492
494
|
fields
|
|
493
495
|
}, null, options);
|
|
494
496
|
})();
|
|
495
497
|
}
|
|
496
498
|
add_support_access_allowlist_entries(callback, body, options) {
|
|
497
|
-
var
|
|
499
|
+
var _this66 = this;
|
|
498
500
|
return _asyncToGenerator(function* () {
|
|
499
|
-
return
|
|
501
|
+
return _this66.authStream(callback, 'POST', '/support_access/allowlist', null, body, options);
|
|
500
502
|
})();
|
|
501
503
|
}
|
|
502
504
|
delete_support_access_allowlist_entry(callback, entry_id, options) {
|
|
503
|
-
var
|
|
505
|
+
var _this67 = this;
|
|
504
506
|
return _asyncToGenerator(function* () {
|
|
505
|
-
entry_id =
|
|
506
|
-
return
|
|
507
|
+
entry_id = encodeParam(entry_id);
|
|
508
|
+
return _this67.authStream(callback, 'DELETE', "/support_access/allowlist/".concat(entry_id), null, null, options);
|
|
507
509
|
})();
|
|
508
510
|
}
|
|
509
511
|
enable_support_access(callback, body, options) {
|
|
510
|
-
var
|
|
512
|
+
var _this68 = this;
|
|
511
513
|
return _asyncToGenerator(function* () {
|
|
512
|
-
return
|
|
514
|
+
return _this68.authStream(callback, 'PUT', '/support_access/enable', null, body, options);
|
|
513
515
|
})();
|
|
514
516
|
}
|
|
515
517
|
disable_support_access(callback, options) {
|
|
516
|
-
var
|
|
518
|
+
var _this69 = this;
|
|
517
519
|
return _asyncToGenerator(function* () {
|
|
518
|
-
return
|
|
520
|
+
return _this69.authStream(callback, 'PUT', '/support_access/disable', null, null, options);
|
|
519
521
|
})();
|
|
520
522
|
}
|
|
521
523
|
support_access_status(callback, options) {
|
|
522
|
-
var
|
|
524
|
+
var _this70 = this;
|
|
523
525
|
return _asyncToGenerator(function* () {
|
|
524
|
-
return
|
|
526
|
+
return _this70.authStream(callback, 'GET', '/support_access/status', null, null, options);
|
|
525
527
|
})();
|
|
526
528
|
}
|
|
527
529
|
all_user_login_lockouts(callback, fields, options) {
|
|
528
|
-
var
|
|
530
|
+
var _this71 = this;
|
|
529
531
|
return _asyncToGenerator(function* () {
|
|
530
|
-
return
|
|
532
|
+
return _this71.authStream(callback, 'GET', '/user_login_lockouts', {
|
|
531
533
|
fields
|
|
532
534
|
}, null, options);
|
|
533
535
|
})();
|
|
534
536
|
}
|
|
535
537
|
search_user_login_lockouts(callback, request, options) {
|
|
536
|
-
var
|
|
538
|
+
var _this72 = this;
|
|
537
539
|
return _asyncToGenerator(function* () {
|
|
538
|
-
return
|
|
540
|
+
return _this72.authStream(callback, 'GET', '/user_login_lockouts/search', {
|
|
539
541
|
fields: request.fields,
|
|
540
542
|
page: request.page,
|
|
541
543
|
per_page: request.per_page,
|
|
@@ -551,32 +553,32 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
551
553
|
})();
|
|
552
554
|
}
|
|
553
555
|
delete_user_login_lockout(callback, key, options) {
|
|
554
|
-
var
|
|
556
|
+
var _this73 = this;
|
|
555
557
|
return _asyncToGenerator(function* () {
|
|
556
|
-
key =
|
|
557
|
-
return
|
|
558
|
+
key = encodeParam(key);
|
|
559
|
+
return _this73.authStream(callback, 'DELETE', "/user_login_lockout/".concat(key), null, null, options);
|
|
558
560
|
})();
|
|
559
561
|
}
|
|
560
562
|
all_boards(callback, fields, options) {
|
|
561
|
-
var
|
|
563
|
+
var _this74 = this;
|
|
562
564
|
return _asyncToGenerator(function* () {
|
|
563
|
-
return
|
|
565
|
+
return _this74.authStream(callback, 'GET', '/boards', {
|
|
564
566
|
fields
|
|
565
567
|
}, null, options);
|
|
566
568
|
})();
|
|
567
569
|
}
|
|
568
570
|
create_board(callback, body, fields, options) {
|
|
569
|
-
var
|
|
571
|
+
var _this75 = this;
|
|
570
572
|
return _asyncToGenerator(function* () {
|
|
571
|
-
return
|
|
573
|
+
return _this75.authStream(callback, 'POST', '/boards', {
|
|
572
574
|
fields
|
|
573
575
|
}, body, options);
|
|
574
576
|
})();
|
|
575
577
|
}
|
|
576
578
|
search_boards(callback, request, options) {
|
|
577
|
-
var
|
|
579
|
+
var _this76 = this;
|
|
578
580
|
return _asyncToGenerator(function* () {
|
|
579
|
-
return
|
|
581
|
+
return _this76.authStream(callback, 'GET', '/boards/search', {
|
|
580
582
|
title: request.title,
|
|
581
583
|
created_at: request.created_at,
|
|
582
584
|
first_name: request.first_name,
|
|
@@ -595,34 +597,34 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
595
597
|
})();
|
|
596
598
|
}
|
|
597
599
|
board(callback, board_id, fields, options) {
|
|
598
|
-
var
|
|
600
|
+
var _this77 = this;
|
|
599
601
|
return _asyncToGenerator(function* () {
|
|
600
|
-
board_id =
|
|
601
|
-
return
|
|
602
|
+
board_id = encodeParam(board_id);
|
|
603
|
+
return _this77.authStream(callback, 'GET', "/boards/".concat(board_id), {
|
|
602
604
|
fields
|
|
603
605
|
}, null, options);
|
|
604
606
|
})();
|
|
605
607
|
}
|
|
606
608
|
update_board(callback, board_id, body, fields, options) {
|
|
607
|
-
var
|
|
609
|
+
var _this78 = this;
|
|
608
610
|
return _asyncToGenerator(function* () {
|
|
609
|
-
board_id =
|
|
610
|
-
return
|
|
611
|
+
board_id = encodeParam(board_id);
|
|
612
|
+
return _this78.authStream(callback, 'PATCH', "/boards/".concat(board_id), {
|
|
611
613
|
fields
|
|
612
614
|
}, body, options);
|
|
613
615
|
})();
|
|
614
616
|
}
|
|
615
617
|
delete_board(callback, board_id, options) {
|
|
616
|
-
var
|
|
618
|
+
var _this79 = this;
|
|
617
619
|
return _asyncToGenerator(function* () {
|
|
618
|
-
board_id =
|
|
619
|
-
return
|
|
620
|
+
board_id = encodeParam(board_id);
|
|
621
|
+
return _this79.authStream(callback, 'DELETE', "/boards/".concat(board_id), null, null, options);
|
|
620
622
|
})();
|
|
621
623
|
}
|
|
622
624
|
all_board_items(callback, request, options) {
|
|
623
|
-
var
|
|
625
|
+
var _this80 = this;
|
|
624
626
|
return _asyncToGenerator(function* () {
|
|
625
|
-
return
|
|
627
|
+
return _this80.authStream(callback, 'GET', '/board_items', {
|
|
626
628
|
fields: request.fields,
|
|
627
629
|
sorts: request.sorts,
|
|
628
630
|
board_section_id: request.board_section_id
|
|
@@ -630,510 +632,510 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
630
632
|
})();
|
|
631
633
|
}
|
|
632
634
|
create_board_item(callback, body, fields, options) {
|
|
633
|
-
var
|
|
635
|
+
var _this81 = this;
|
|
634
636
|
return _asyncToGenerator(function* () {
|
|
635
|
-
return
|
|
637
|
+
return _this81.authStream(callback, 'POST', '/board_items', {
|
|
636
638
|
fields
|
|
637
639
|
}, body, options);
|
|
638
640
|
})();
|
|
639
641
|
}
|
|
640
642
|
board_item(callback, board_item_id, fields, options) {
|
|
641
|
-
var
|
|
643
|
+
var _this82 = this;
|
|
642
644
|
return _asyncToGenerator(function* () {
|
|
643
|
-
board_item_id =
|
|
644
|
-
return
|
|
645
|
+
board_item_id = encodeParam(board_item_id);
|
|
646
|
+
return _this82.authStream(callback, 'GET', "/board_items/".concat(board_item_id), {
|
|
645
647
|
fields
|
|
646
648
|
}, null, options);
|
|
647
649
|
})();
|
|
648
650
|
}
|
|
649
651
|
update_board_item(callback, board_item_id, body, fields, options) {
|
|
650
|
-
var
|
|
652
|
+
var _this83 = this;
|
|
651
653
|
return _asyncToGenerator(function* () {
|
|
652
|
-
board_item_id =
|
|
653
|
-
return
|
|
654
|
+
board_item_id = encodeParam(board_item_id);
|
|
655
|
+
return _this83.authStream(callback, 'PATCH', "/board_items/".concat(board_item_id), {
|
|
654
656
|
fields
|
|
655
657
|
}, body, options);
|
|
656
658
|
})();
|
|
657
659
|
}
|
|
658
660
|
delete_board_item(callback, board_item_id, options) {
|
|
659
|
-
var
|
|
661
|
+
var _this84 = this;
|
|
660
662
|
return _asyncToGenerator(function* () {
|
|
661
|
-
board_item_id =
|
|
662
|
-
return
|
|
663
|
+
board_item_id = encodeParam(board_item_id);
|
|
664
|
+
return _this84.authStream(callback, 'DELETE', "/board_items/".concat(board_item_id), null, null, options);
|
|
663
665
|
})();
|
|
664
666
|
}
|
|
665
667
|
all_board_sections(callback, request, options) {
|
|
666
|
-
var
|
|
668
|
+
var _this85 = this;
|
|
667
669
|
return _asyncToGenerator(function* () {
|
|
668
|
-
return
|
|
670
|
+
return _this85.authStream(callback, 'GET', '/board_sections', {
|
|
669
671
|
fields: request.fields,
|
|
670
672
|
sorts: request.sorts
|
|
671
673
|
}, null, options);
|
|
672
674
|
})();
|
|
673
675
|
}
|
|
674
676
|
create_board_section(callback, body, fields, options) {
|
|
675
|
-
var
|
|
677
|
+
var _this86 = this;
|
|
676
678
|
return _asyncToGenerator(function* () {
|
|
677
|
-
return
|
|
679
|
+
return _this86.authStream(callback, 'POST', '/board_sections', {
|
|
678
680
|
fields
|
|
679
681
|
}, body, options);
|
|
680
682
|
})();
|
|
681
683
|
}
|
|
682
684
|
board_section(callback, board_section_id, fields, options) {
|
|
683
|
-
var
|
|
685
|
+
var _this87 = this;
|
|
684
686
|
return _asyncToGenerator(function* () {
|
|
685
|
-
board_section_id =
|
|
686
|
-
return
|
|
687
|
+
board_section_id = encodeParam(board_section_id);
|
|
688
|
+
return _this87.authStream(callback, 'GET', "/board_sections/".concat(board_section_id), {
|
|
687
689
|
fields
|
|
688
690
|
}, null, options);
|
|
689
691
|
})();
|
|
690
692
|
}
|
|
691
693
|
update_board_section(callback, board_section_id, body, fields, options) {
|
|
692
|
-
var
|
|
694
|
+
var _this88 = this;
|
|
693
695
|
return _asyncToGenerator(function* () {
|
|
694
|
-
board_section_id =
|
|
695
|
-
return
|
|
696
|
+
board_section_id = encodeParam(board_section_id);
|
|
697
|
+
return _this88.authStream(callback, 'PATCH', "/board_sections/".concat(board_section_id), {
|
|
696
698
|
fields
|
|
697
699
|
}, body, options);
|
|
698
700
|
})();
|
|
699
701
|
}
|
|
700
702
|
delete_board_section(callback, board_section_id, options) {
|
|
701
|
-
var
|
|
703
|
+
var _this89 = this;
|
|
702
704
|
return _asyncToGenerator(function* () {
|
|
703
|
-
board_section_id =
|
|
704
|
-
return
|
|
705
|
+
board_section_id = encodeParam(board_section_id);
|
|
706
|
+
return _this89.authStream(callback, 'DELETE', "/board_sections/".concat(board_section_id), null, null, options);
|
|
705
707
|
})();
|
|
706
708
|
}
|
|
707
709
|
all_color_collections(callback, fields, options) {
|
|
708
|
-
var
|
|
710
|
+
var _this90 = this;
|
|
709
711
|
return _asyncToGenerator(function* () {
|
|
710
|
-
return
|
|
712
|
+
return _this90.authStream(callback, 'GET', '/color_collections', {
|
|
711
713
|
fields
|
|
712
714
|
}, null, options);
|
|
713
715
|
})();
|
|
714
716
|
}
|
|
715
717
|
create_color_collection(callback, body, options) {
|
|
716
|
-
var
|
|
718
|
+
var _this91 = this;
|
|
717
719
|
return _asyncToGenerator(function* () {
|
|
718
|
-
return
|
|
720
|
+
return _this91.authStream(callback, 'POST', '/color_collections', null, body, options);
|
|
719
721
|
})();
|
|
720
722
|
}
|
|
721
723
|
color_collections_custom(callback, fields, options) {
|
|
722
|
-
var
|
|
724
|
+
var _this92 = this;
|
|
723
725
|
return _asyncToGenerator(function* () {
|
|
724
|
-
return
|
|
726
|
+
return _this92.authStream(callback, 'GET', '/color_collections/custom', {
|
|
725
727
|
fields
|
|
726
728
|
}, null, options);
|
|
727
729
|
})();
|
|
728
730
|
}
|
|
729
731
|
color_collections_standard(callback, fields, options) {
|
|
730
|
-
var
|
|
732
|
+
var _this93 = this;
|
|
731
733
|
return _asyncToGenerator(function* () {
|
|
732
|
-
return
|
|
734
|
+
return _this93.authStream(callback, 'GET', '/color_collections/standard', {
|
|
733
735
|
fields
|
|
734
736
|
}, null, options);
|
|
735
737
|
})();
|
|
736
738
|
}
|
|
737
739
|
default_color_collection(callback, options) {
|
|
738
|
-
var
|
|
740
|
+
var _this94 = this;
|
|
739
741
|
return _asyncToGenerator(function* () {
|
|
740
|
-
return
|
|
742
|
+
return _this94.authStream(callback, 'GET', '/color_collections/default', null, null, options);
|
|
741
743
|
})();
|
|
742
744
|
}
|
|
743
745
|
set_default_color_collection(callback, collection_id, options) {
|
|
744
|
-
var
|
|
746
|
+
var _this95 = this;
|
|
745
747
|
return _asyncToGenerator(function* () {
|
|
746
|
-
return
|
|
748
|
+
return _this95.authStream(callback, 'PUT', '/color_collections/default', {
|
|
747
749
|
collection_id
|
|
748
750
|
}, null, options);
|
|
749
751
|
})();
|
|
750
752
|
}
|
|
751
753
|
color_collection(callback, collection_id, fields, options) {
|
|
752
|
-
var
|
|
754
|
+
var _this96 = this;
|
|
753
755
|
return _asyncToGenerator(function* () {
|
|
754
|
-
collection_id =
|
|
755
|
-
return
|
|
756
|
+
collection_id = encodeParam(collection_id);
|
|
757
|
+
return _this96.authStream(callback, 'GET', "/color_collections/".concat(collection_id), {
|
|
756
758
|
fields
|
|
757
759
|
}, null, options);
|
|
758
760
|
})();
|
|
759
761
|
}
|
|
760
762
|
update_color_collection(callback, collection_id, body, options) {
|
|
761
|
-
var
|
|
763
|
+
var _this97 = this;
|
|
762
764
|
return _asyncToGenerator(function* () {
|
|
763
|
-
collection_id =
|
|
764
|
-
return
|
|
765
|
+
collection_id = encodeParam(collection_id);
|
|
766
|
+
return _this97.authStream(callback, 'PATCH', "/color_collections/".concat(collection_id), null, body, options);
|
|
765
767
|
})();
|
|
766
768
|
}
|
|
767
769
|
delete_color_collection(callback, collection_id, options) {
|
|
768
|
-
var
|
|
770
|
+
var _this98 = this;
|
|
769
771
|
return _asyncToGenerator(function* () {
|
|
770
|
-
collection_id =
|
|
771
|
-
return
|
|
772
|
+
collection_id = encodeParam(collection_id);
|
|
773
|
+
return _this98.authStream(callback, 'DELETE', "/color_collections/".concat(collection_id), null, null, options);
|
|
772
774
|
})();
|
|
773
775
|
}
|
|
774
776
|
cloud_storage_configuration(callback, options) {
|
|
775
|
-
var
|
|
777
|
+
var _this99 = this;
|
|
776
778
|
return _asyncToGenerator(function* () {
|
|
777
|
-
return
|
|
779
|
+
return _this99.authStream(callback, 'GET', '/cloud_storage', null, null, options);
|
|
778
780
|
})();
|
|
779
781
|
}
|
|
780
782
|
update_cloud_storage_configuration(callback, body, options) {
|
|
781
|
-
var
|
|
783
|
+
var _this100 = this;
|
|
782
784
|
return _asyncToGenerator(function* () {
|
|
783
|
-
return
|
|
785
|
+
return _this100.authStream(callback, 'PATCH', '/cloud_storage', null, body, options);
|
|
784
786
|
})();
|
|
785
787
|
}
|
|
786
788
|
custom_welcome_email(callback, options) {
|
|
787
|
-
var
|
|
789
|
+
var _this101 = this;
|
|
788
790
|
return _asyncToGenerator(function* () {
|
|
789
|
-
return
|
|
791
|
+
return _this101.authStream(callback, 'GET', '/custom_welcome_email', null, null, options);
|
|
790
792
|
})();
|
|
791
793
|
}
|
|
792
794
|
update_custom_welcome_email(callback, body, send_test_welcome_email, options) {
|
|
793
|
-
var
|
|
795
|
+
var _this102 = this;
|
|
794
796
|
return _asyncToGenerator(function* () {
|
|
795
|
-
return
|
|
797
|
+
return _this102.authStream(callback, 'PATCH', '/custom_welcome_email', {
|
|
796
798
|
send_test_welcome_email
|
|
797
799
|
}, body, options);
|
|
798
800
|
})();
|
|
799
801
|
}
|
|
800
802
|
update_custom_welcome_email_test(callback, body, options) {
|
|
801
|
-
var
|
|
803
|
+
var _this103 = this;
|
|
802
804
|
return _asyncToGenerator(function* () {
|
|
803
|
-
return
|
|
805
|
+
return _this103.authStream(callback, 'PUT', '/custom_welcome_email_test', null, body, options);
|
|
804
806
|
})();
|
|
805
807
|
}
|
|
806
808
|
digest_emails_enabled(callback, options) {
|
|
807
|
-
var
|
|
809
|
+
var _this104 = this;
|
|
808
810
|
return _asyncToGenerator(function* () {
|
|
809
|
-
return
|
|
811
|
+
return _this104.authStream(callback, 'GET', '/digest_emails_enabled', null, null, options);
|
|
810
812
|
})();
|
|
811
813
|
}
|
|
812
814
|
update_digest_emails_enabled(callback, body, options) {
|
|
813
|
-
var
|
|
815
|
+
var _this105 = this;
|
|
814
816
|
return _asyncToGenerator(function* () {
|
|
815
|
-
return
|
|
817
|
+
return _this105.authStream(callback, 'PATCH', '/digest_emails_enabled', null, body, options);
|
|
816
818
|
})();
|
|
817
819
|
}
|
|
818
820
|
create_digest_email_send(callback, options) {
|
|
819
|
-
var
|
|
821
|
+
var _this106 = this;
|
|
820
822
|
return _asyncToGenerator(function* () {
|
|
821
|
-
return
|
|
823
|
+
return _this106.authStream(callback, 'POST', '/digest_email_send', null, null, options);
|
|
822
824
|
})();
|
|
823
825
|
}
|
|
824
826
|
public_egress_ip_addresses(callback, options) {
|
|
825
|
-
var
|
|
827
|
+
var _this107 = this;
|
|
826
828
|
return _asyncToGenerator(function* () {
|
|
827
|
-
return
|
|
829
|
+
return _this107.authStream(callback, 'GET', '/public_egress_ip_addresses', null, null, options);
|
|
828
830
|
})();
|
|
829
831
|
}
|
|
830
832
|
internal_help_resources_content(callback, options) {
|
|
831
|
-
var
|
|
833
|
+
var _this108 = this;
|
|
832
834
|
return _asyncToGenerator(function* () {
|
|
833
|
-
return
|
|
835
|
+
return _this108.authStream(callback, 'GET', '/internal_help_resources_content', null, null, options);
|
|
834
836
|
})();
|
|
835
837
|
}
|
|
836
838
|
update_internal_help_resources_content(callback, body, options) {
|
|
837
|
-
var
|
|
839
|
+
var _this109 = this;
|
|
838
840
|
return _asyncToGenerator(function* () {
|
|
839
|
-
return
|
|
841
|
+
return _this109.authStream(callback, 'PATCH', '/internal_help_resources_content', null, body, options);
|
|
840
842
|
})();
|
|
841
843
|
}
|
|
842
844
|
internal_help_resources(callback, options) {
|
|
843
|
-
var
|
|
845
|
+
var _this110 = this;
|
|
844
846
|
return _asyncToGenerator(function* () {
|
|
845
|
-
return
|
|
847
|
+
return _this110.authStream(callback, 'GET', '/internal_help_resources_enabled', null, null, options);
|
|
846
848
|
})();
|
|
847
849
|
}
|
|
848
850
|
update_internal_help_resources(callback, body, options) {
|
|
849
|
-
var
|
|
851
|
+
var _this111 = this;
|
|
850
852
|
return _asyncToGenerator(function* () {
|
|
851
|
-
return
|
|
853
|
+
return _this111.authStream(callback, 'PATCH', '/internal_help_resources', null, body, options);
|
|
852
854
|
})();
|
|
853
855
|
}
|
|
854
856
|
all_legacy_features(callback, options) {
|
|
855
|
-
var
|
|
857
|
+
var _this112 = this;
|
|
856
858
|
return _asyncToGenerator(function* () {
|
|
857
|
-
return
|
|
859
|
+
return _this112.authStream(callback, 'GET', '/legacy_features', null, null, options);
|
|
858
860
|
})();
|
|
859
861
|
}
|
|
860
862
|
legacy_feature(callback, legacy_feature_id, options) {
|
|
861
|
-
var
|
|
863
|
+
var _this113 = this;
|
|
862
864
|
return _asyncToGenerator(function* () {
|
|
863
|
-
legacy_feature_id =
|
|
864
|
-
return
|
|
865
|
+
legacy_feature_id = encodeParam(legacy_feature_id);
|
|
866
|
+
return _this113.authStream(callback, 'GET', "/legacy_features/".concat(legacy_feature_id), null, null, options);
|
|
865
867
|
})();
|
|
866
868
|
}
|
|
867
869
|
update_legacy_feature(callback, legacy_feature_id, body, options) {
|
|
868
|
-
var
|
|
870
|
+
var _this114 = this;
|
|
869
871
|
return _asyncToGenerator(function* () {
|
|
870
|
-
legacy_feature_id =
|
|
871
|
-
return
|
|
872
|
+
legacy_feature_id = encodeParam(legacy_feature_id);
|
|
873
|
+
return _this114.authStream(callback, 'PATCH', "/legacy_features/".concat(legacy_feature_id), null, body, options);
|
|
872
874
|
})();
|
|
873
875
|
}
|
|
874
876
|
all_locales(callback, options) {
|
|
875
|
-
var
|
|
877
|
+
var _this115 = this;
|
|
876
878
|
return _asyncToGenerator(function* () {
|
|
877
|
-
return
|
|
879
|
+
return _this115.authStream(callback, 'GET', '/locales', null, null, options);
|
|
878
880
|
})();
|
|
879
881
|
}
|
|
880
882
|
mobile_settings(callback, options) {
|
|
881
|
-
var
|
|
883
|
+
var _this116 = this;
|
|
882
884
|
return _asyncToGenerator(function* () {
|
|
883
|
-
return
|
|
885
|
+
return _this116.authStream(callback, 'GET', '/mobile/settings', null, null, options);
|
|
884
886
|
})();
|
|
885
887
|
}
|
|
886
888
|
get_setting(callback, fields, options) {
|
|
887
|
-
var
|
|
889
|
+
var _this117 = this;
|
|
888
890
|
return _asyncToGenerator(function* () {
|
|
889
|
-
return
|
|
891
|
+
return _this117.authStream(callback, 'GET', '/setting', {
|
|
890
892
|
fields
|
|
891
893
|
}, null, options);
|
|
892
894
|
})();
|
|
893
895
|
}
|
|
894
896
|
set_setting(callback, body, fields, options) {
|
|
895
|
-
var
|
|
897
|
+
var _this118 = this;
|
|
896
898
|
return _asyncToGenerator(function* () {
|
|
897
|
-
return
|
|
899
|
+
return _this118.authStream(callback, 'PATCH', '/setting', {
|
|
898
900
|
fields
|
|
899
901
|
}, body, options);
|
|
900
902
|
})();
|
|
901
903
|
}
|
|
902
904
|
set_smtp_settings(callback, body, options) {
|
|
903
|
-
var
|
|
905
|
+
var _this119 = this;
|
|
904
906
|
return _asyncToGenerator(function* () {
|
|
905
|
-
return
|
|
907
|
+
return _this119.authStream(callback, 'POST', '/smtp_settings', null, body, options);
|
|
906
908
|
})();
|
|
907
909
|
}
|
|
908
910
|
smtp_status(callback, fields, options) {
|
|
909
|
-
var
|
|
911
|
+
var _this120 = this;
|
|
910
912
|
return _asyncToGenerator(function* () {
|
|
911
|
-
return
|
|
913
|
+
return _this120.authStream(callback, 'GET', '/smtp_status', {
|
|
912
914
|
fields
|
|
913
915
|
}, null, options);
|
|
914
916
|
})();
|
|
915
917
|
}
|
|
916
918
|
all_timezones(callback, options) {
|
|
917
|
-
var
|
|
919
|
+
var _this121 = this;
|
|
918
920
|
return _asyncToGenerator(function* () {
|
|
919
|
-
return
|
|
921
|
+
return _this121.authStream(callback, 'GET', '/timezones', null, null, options);
|
|
920
922
|
})();
|
|
921
923
|
}
|
|
922
924
|
versions(callback, fields, options) {
|
|
923
|
-
var
|
|
925
|
+
var _this122 = this;
|
|
924
926
|
return _asyncToGenerator(function* () {
|
|
925
|
-
return
|
|
927
|
+
return _this122.authStream(callback, 'GET', '/versions', {
|
|
926
928
|
fields
|
|
927
929
|
}, null, options);
|
|
928
930
|
})();
|
|
929
931
|
}
|
|
930
932
|
api_spec(callback, api_version, specification, options) {
|
|
931
|
-
var
|
|
933
|
+
var _this123 = this;
|
|
932
934
|
return _asyncToGenerator(function* () {
|
|
933
|
-
api_version =
|
|
934
|
-
specification =
|
|
935
|
-
return
|
|
935
|
+
api_version = encodeParam(api_version);
|
|
936
|
+
specification = encodeParam(specification);
|
|
937
|
+
return _this123.authStream(callback, 'GET', "/api_spec/".concat(api_version, "/").concat(specification), null, null, options);
|
|
936
938
|
})();
|
|
937
939
|
}
|
|
938
940
|
whitelabel_configuration(callback, fields, options) {
|
|
939
|
-
var
|
|
941
|
+
var _this124 = this;
|
|
940
942
|
return _asyncToGenerator(function* () {
|
|
941
|
-
return
|
|
943
|
+
return _this124.authStream(callback, 'GET', '/whitelabel_configuration', {
|
|
942
944
|
fields
|
|
943
945
|
}, null, options);
|
|
944
946
|
})();
|
|
945
947
|
}
|
|
946
948
|
update_whitelabel_configuration(callback, body, options) {
|
|
947
|
-
var
|
|
949
|
+
var _this125 = this;
|
|
948
950
|
return _asyncToGenerator(function* () {
|
|
949
|
-
return
|
|
951
|
+
return _this125.authStream(callback, 'PUT', '/whitelabel_configuration', null, body, options);
|
|
950
952
|
})();
|
|
951
953
|
}
|
|
952
954
|
all_connections(callback, fields, options) {
|
|
953
|
-
var
|
|
955
|
+
var _this126 = this;
|
|
954
956
|
return _asyncToGenerator(function* () {
|
|
955
|
-
return
|
|
957
|
+
return _this126.authStream(callback, 'GET', '/connections', {
|
|
956
958
|
fields
|
|
957
959
|
}, null, options);
|
|
958
960
|
})();
|
|
959
961
|
}
|
|
960
962
|
create_connection(callback, body, options) {
|
|
961
|
-
var
|
|
963
|
+
var _this127 = this;
|
|
962
964
|
return _asyncToGenerator(function* () {
|
|
963
|
-
return
|
|
965
|
+
return _this127.authStream(callback, 'POST', '/connections', null, body, options);
|
|
964
966
|
})();
|
|
965
967
|
}
|
|
966
968
|
connection(callback, connection_name, fields, options) {
|
|
967
|
-
var
|
|
969
|
+
var _this128 = this;
|
|
968
970
|
return _asyncToGenerator(function* () {
|
|
969
|
-
connection_name =
|
|
970
|
-
return
|
|
971
|
+
connection_name = encodeParam(connection_name);
|
|
972
|
+
return _this128.authStream(callback, 'GET', "/connections/".concat(connection_name), {
|
|
971
973
|
fields
|
|
972
974
|
}, null, options);
|
|
973
975
|
})();
|
|
974
976
|
}
|
|
975
977
|
update_connection(callback, connection_name, body, options) {
|
|
976
|
-
var
|
|
978
|
+
var _this129 = this;
|
|
977
979
|
return _asyncToGenerator(function* () {
|
|
978
|
-
connection_name =
|
|
979
|
-
return
|
|
980
|
+
connection_name = encodeParam(connection_name);
|
|
981
|
+
return _this129.authStream(callback, 'PATCH', "/connections/".concat(connection_name), null, body, options);
|
|
980
982
|
})();
|
|
981
983
|
}
|
|
982
984
|
delete_connection(callback, connection_name, options) {
|
|
983
|
-
var
|
|
985
|
+
var _this130 = this;
|
|
984
986
|
return _asyncToGenerator(function* () {
|
|
985
|
-
connection_name =
|
|
986
|
-
return
|
|
987
|
+
connection_name = encodeParam(connection_name);
|
|
988
|
+
return _this130.authStream(callback, 'DELETE', "/connections/".concat(connection_name), null, null, options);
|
|
987
989
|
})();
|
|
988
990
|
}
|
|
989
991
|
delete_connection_override(callback, connection_name, override_context, options) {
|
|
990
|
-
var
|
|
992
|
+
var _this131 = this;
|
|
991
993
|
return _asyncToGenerator(function* () {
|
|
992
|
-
connection_name =
|
|
993
|
-
override_context =
|
|
994
|
-
return
|
|
994
|
+
connection_name = encodeParam(connection_name);
|
|
995
|
+
override_context = encodeParam(override_context);
|
|
996
|
+
return _this131.authStream(callback, 'DELETE', "/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
|
|
995
997
|
})();
|
|
996
998
|
}
|
|
997
999
|
test_connection(callback, connection_name, tests, options) {
|
|
998
|
-
var
|
|
1000
|
+
var _this132 = this;
|
|
999
1001
|
return _asyncToGenerator(function* () {
|
|
1000
|
-
connection_name =
|
|
1001
|
-
return
|
|
1002
|
+
connection_name = encodeParam(connection_name);
|
|
1003
|
+
return _this132.authStream(callback, 'PUT', "/connections/".concat(connection_name, "/test"), {
|
|
1002
1004
|
tests
|
|
1003
1005
|
}, null, options);
|
|
1004
1006
|
})();
|
|
1005
1007
|
}
|
|
1006
1008
|
test_connection_config(callback, body, tests, options) {
|
|
1007
|
-
var
|
|
1009
|
+
var _this133 = this;
|
|
1008
1010
|
return _asyncToGenerator(function* () {
|
|
1009
|
-
return
|
|
1011
|
+
return _this133.authStream(callback, 'PUT', '/connections/test', {
|
|
1010
1012
|
tests
|
|
1011
1013
|
}, body, options);
|
|
1012
1014
|
})();
|
|
1013
1015
|
}
|
|
1014
1016
|
all_dialect_infos(callback, fields, options) {
|
|
1015
|
-
var
|
|
1017
|
+
var _this134 = this;
|
|
1016
1018
|
return _asyncToGenerator(function* () {
|
|
1017
|
-
return
|
|
1019
|
+
return _this134.authStream(callback, 'GET', '/dialect_info', {
|
|
1018
1020
|
fields
|
|
1019
1021
|
}, null, options);
|
|
1020
1022
|
})();
|
|
1021
1023
|
}
|
|
1022
1024
|
all_external_oauth_applications(callback, request, options) {
|
|
1023
|
-
var
|
|
1025
|
+
var _this135 = this;
|
|
1024
1026
|
return _asyncToGenerator(function* () {
|
|
1025
|
-
return
|
|
1027
|
+
return _this135.authStream(callback, 'GET', '/external_oauth_applications', {
|
|
1026
1028
|
name: request.name,
|
|
1027
1029
|
client_id: request.client_id
|
|
1028
1030
|
}, null, options);
|
|
1029
1031
|
})();
|
|
1030
1032
|
}
|
|
1031
1033
|
create_external_oauth_application(callback, body, options) {
|
|
1032
|
-
var
|
|
1034
|
+
var _this136 = this;
|
|
1033
1035
|
return _asyncToGenerator(function* () {
|
|
1034
|
-
return
|
|
1036
|
+
return _this136.authStream(callback, 'POST', '/external_oauth_applications', null, body, options);
|
|
1035
1037
|
})();
|
|
1036
1038
|
}
|
|
1037
1039
|
create_oauth_application_user_state(callback, body, options) {
|
|
1038
|
-
var
|
|
1040
|
+
var _this137 = this;
|
|
1039
1041
|
return _asyncToGenerator(function* () {
|
|
1040
|
-
return
|
|
1042
|
+
return _this137.authStream(callback, 'POST', '/external_oauth_applications/user_state', null, body, options);
|
|
1041
1043
|
})();
|
|
1042
1044
|
}
|
|
1043
1045
|
all_ssh_servers(callback, fields, options) {
|
|
1044
|
-
var
|
|
1046
|
+
var _this138 = this;
|
|
1045
1047
|
return _asyncToGenerator(function* () {
|
|
1046
|
-
return
|
|
1048
|
+
return _this138.authStream(callback, 'GET', '/ssh_servers', {
|
|
1047
1049
|
fields
|
|
1048
1050
|
}, null, options);
|
|
1049
1051
|
})();
|
|
1050
1052
|
}
|
|
1051
1053
|
create_ssh_server(callback, body, options) {
|
|
1052
|
-
var
|
|
1054
|
+
var _this139 = this;
|
|
1053
1055
|
return _asyncToGenerator(function* () {
|
|
1054
|
-
return
|
|
1056
|
+
return _this139.authStream(callback, 'POST', '/ssh_servers', null, body, options);
|
|
1055
1057
|
})();
|
|
1056
1058
|
}
|
|
1057
1059
|
ssh_server(callback, ssh_server_id, options) {
|
|
1058
|
-
var
|
|
1060
|
+
var _this140 = this;
|
|
1059
1061
|
return _asyncToGenerator(function* () {
|
|
1060
|
-
ssh_server_id =
|
|
1061
|
-
return
|
|
1062
|
+
ssh_server_id = encodeParam(ssh_server_id);
|
|
1063
|
+
return _this140.authStream(callback, 'GET', "/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1062
1064
|
})();
|
|
1063
1065
|
}
|
|
1064
1066
|
update_ssh_server(callback, ssh_server_id, body, options) {
|
|
1065
|
-
var
|
|
1067
|
+
var _this141 = this;
|
|
1066
1068
|
return _asyncToGenerator(function* () {
|
|
1067
|
-
ssh_server_id =
|
|
1068
|
-
return
|
|
1069
|
+
ssh_server_id = encodeParam(ssh_server_id);
|
|
1070
|
+
return _this141.authStream(callback, 'PATCH', "/ssh_server/".concat(ssh_server_id), null, body, options);
|
|
1069
1071
|
})();
|
|
1070
1072
|
}
|
|
1071
1073
|
delete_ssh_server(callback, ssh_server_id, options) {
|
|
1072
|
-
var
|
|
1074
|
+
var _this142 = this;
|
|
1073
1075
|
return _asyncToGenerator(function* () {
|
|
1074
|
-
ssh_server_id =
|
|
1075
|
-
return
|
|
1076
|
+
ssh_server_id = encodeParam(ssh_server_id);
|
|
1077
|
+
return _this142.authStream(callback, 'DELETE', "/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1076
1078
|
})();
|
|
1077
1079
|
}
|
|
1078
1080
|
test_ssh_server(callback, ssh_server_id, options) {
|
|
1079
|
-
var
|
|
1081
|
+
var _this143 = this;
|
|
1080
1082
|
return _asyncToGenerator(function* () {
|
|
1081
|
-
ssh_server_id =
|
|
1082
|
-
return
|
|
1083
|
+
ssh_server_id = encodeParam(ssh_server_id);
|
|
1084
|
+
return _this143.authStream(callback, 'GET', "/ssh_server/".concat(ssh_server_id, "/test"), null, null, options);
|
|
1083
1085
|
})();
|
|
1084
1086
|
}
|
|
1085
1087
|
all_ssh_tunnels(callback, fields, options) {
|
|
1086
|
-
var
|
|
1088
|
+
var _this144 = this;
|
|
1087
1089
|
return _asyncToGenerator(function* () {
|
|
1088
|
-
return
|
|
1090
|
+
return _this144.authStream(callback, 'GET', '/ssh_tunnels', {
|
|
1089
1091
|
fields
|
|
1090
1092
|
}, null, options);
|
|
1091
1093
|
})();
|
|
1092
1094
|
}
|
|
1093
1095
|
create_ssh_tunnel(callback, body, options) {
|
|
1094
|
-
var
|
|
1096
|
+
var _this145 = this;
|
|
1095
1097
|
return _asyncToGenerator(function* () {
|
|
1096
|
-
return
|
|
1098
|
+
return _this145.authStream(callback, 'POST', '/ssh_tunnels', null, body, options);
|
|
1097
1099
|
})();
|
|
1098
1100
|
}
|
|
1099
1101
|
ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1100
|
-
var
|
|
1102
|
+
var _this146 = this;
|
|
1101
1103
|
return _asyncToGenerator(function* () {
|
|
1102
|
-
ssh_tunnel_id =
|
|
1103
|
-
return
|
|
1104
|
+
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1105
|
+
return _this146.authStream(callback, 'GET', "/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1104
1106
|
})();
|
|
1105
1107
|
}
|
|
1106
1108
|
update_ssh_tunnel(callback, ssh_tunnel_id, body, options) {
|
|
1107
|
-
var
|
|
1109
|
+
var _this147 = this;
|
|
1108
1110
|
return _asyncToGenerator(function* () {
|
|
1109
|
-
ssh_tunnel_id =
|
|
1110
|
-
return
|
|
1111
|
+
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1112
|
+
return _this147.authStream(callback, 'PATCH', "/ssh_tunnel/".concat(ssh_tunnel_id), null, body, options);
|
|
1111
1113
|
})();
|
|
1112
1114
|
}
|
|
1113
1115
|
delete_ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1114
|
-
var
|
|
1116
|
+
var _this148 = this;
|
|
1115
1117
|
return _asyncToGenerator(function* () {
|
|
1116
|
-
ssh_tunnel_id =
|
|
1117
|
-
return
|
|
1118
|
+
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1119
|
+
return _this148.authStream(callback, 'DELETE', "/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1118
1120
|
})();
|
|
1119
1121
|
}
|
|
1120
1122
|
test_ssh_tunnel(callback, ssh_tunnel_id, options) {
|
|
1121
|
-
var
|
|
1123
|
+
var _this149 = this;
|
|
1122
1124
|
return _asyncToGenerator(function* () {
|
|
1123
|
-
ssh_tunnel_id =
|
|
1124
|
-
return
|
|
1125
|
+
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1126
|
+
return _this149.authStream(callback, 'GET', "/ssh_tunnel/".concat(ssh_tunnel_id, "/test"), null, null, options);
|
|
1125
1127
|
})();
|
|
1126
1128
|
}
|
|
1127
1129
|
ssh_public_key(callback, options) {
|
|
1128
|
-
var
|
|
1130
|
+
var _this150 = this;
|
|
1129
1131
|
return _asyncToGenerator(function* () {
|
|
1130
|
-
return
|
|
1132
|
+
return _this150.authStream(callback, 'GET', '/ssh_public_key', null, null, options);
|
|
1131
1133
|
})();
|
|
1132
1134
|
}
|
|
1133
1135
|
search_content_favorites(callback, request, options) {
|
|
1134
|
-
var
|
|
1136
|
+
var _this151 = this;
|
|
1135
1137
|
return _asyncToGenerator(function* () {
|
|
1136
|
-
return
|
|
1138
|
+
return _this151.authStream(callback, 'GET', '/content_favorite/search', {
|
|
1137
1139
|
id: request.id,
|
|
1138
1140
|
user_id: request.user_id,
|
|
1139
1141
|
content_metadata_id: request.content_metadata_id,
|
|
@@ -1149,88 +1151,88 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1149
1151
|
})();
|
|
1150
1152
|
}
|
|
1151
1153
|
content_favorite(callback, content_favorite_id, fields, options) {
|
|
1152
|
-
var
|
|
1154
|
+
var _this152 = this;
|
|
1153
1155
|
return _asyncToGenerator(function* () {
|
|
1154
|
-
content_favorite_id =
|
|
1155
|
-
return
|
|
1156
|
+
content_favorite_id = encodeParam(content_favorite_id);
|
|
1157
|
+
return _this152.authStream(callback, 'GET', "/content_favorite/".concat(content_favorite_id), {
|
|
1156
1158
|
fields
|
|
1157
1159
|
}, null, options);
|
|
1158
1160
|
})();
|
|
1159
1161
|
}
|
|
1160
1162
|
delete_content_favorite(callback, content_favorite_id, options) {
|
|
1161
|
-
var
|
|
1163
|
+
var _this153 = this;
|
|
1162
1164
|
return _asyncToGenerator(function* () {
|
|
1163
|
-
content_favorite_id =
|
|
1164
|
-
return
|
|
1165
|
+
content_favorite_id = encodeParam(content_favorite_id);
|
|
1166
|
+
return _this153.authStream(callback, 'DELETE', "/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
1165
1167
|
})();
|
|
1166
1168
|
}
|
|
1167
1169
|
create_content_favorite(callback, body, options) {
|
|
1168
|
-
var
|
|
1170
|
+
var _this154 = this;
|
|
1169
1171
|
return _asyncToGenerator(function* () {
|
|
1170
|
-
return
|
|
1172
|
+
return _this154.authStream(callback, 'POST', '/content_favorite', null, body, options);
|
|
1171
1173
|
})();
|
|
1172
1174
|
}
|
|
1173
1175
|
all_content_metadatas(callback, parent_id, fields, options) {
|
|
1174
|
-
var
|
|
1176
|
+
var _this155 = this;
|
|
1175
1177
|
return _asyncToGenerator(function* () {
|
|
1176
|
-
return
|
|
1178
|
+
return _this155.authStream(callback, 'GET', '/content_metadata', {
|
|
1177
1179
|
parent_id,
|
|
1178
1180
|
fields
|
|
1179
1181
|
}, null, options);
|
|
1180
1182
|
})();
|
|
1181
1183
|
}
|
|
1182
1184
|
content_metadata(callback, content_metadata_id, fields, options) {
|
|
1183
|
-
var
|
|
1185
|
+
var _this156 = this;
|
|
1184
1186
|
return _asyncToGenerator(function* () {
|
|
1185
|
-
content_metadata_id =
|
|
1186
|
-
return
|
|
1187
|
+
content_metadata_id = encodeParam(content_metadata_id);
|
|
1188
|
+
return _this156.authStream(callback, 'GET', "/content_metadata/".concat(content_metadata_id), {
|
|
1187
1189
|
fields
|
|
1188
1190
|
}, null, options);
|
|
1189
1191
|
})();
|
|
1190
1192
|
}
|
|
1191
1193
|
update_content_metadata(callback, content_metadata_id, body, options) {
|
|
1192
|
-
var
|
|
1194
|
+
var _this157 = this;
|
|
1193
1195
|
return _asyncToGenerator(function* () {
|
|
1194
|
-
content_metadata_id =
|
|
1195
|
-
return
|
|
1196
|
+
content_metadata_id = encodeParam(content_metadata_id);
|
|
1197
|
+
return _this157.authStream(callback, 'PATCH', "/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
1196
1198
|
})();
|
|
1197
1199
|
}
|
|
1198
1200
|
all_content_metadata_accesses(callback, content_metadata_id, fields, options) {
|
|
1199
|
-
var
|
|
1201
|
+
var _this158 = this;
|
|
1200
1202
|
return _asyncToGenerator(function* () {
|
|
1201
|
-
return
|
|
1203
|
+
return _this158.authStream(callback, 'GET', '/content_metadata_access', {
|
|
1202
1204
|
content_metadata_id,
|
|
1203
1205
|
fields
|
|
1204
1206
|
}, null, options);
|
|
1205
1207
|
})();
|
|
1206
1208
|
}
|
|
1207
1209
|
create_content_metadata_access(callback, body, send_boards_notification_email, options) {
|
|
1208
|
-
var
|
|
1210
|
+
var _this159 = this;
|
|
1209
1211
|
return _asyncToGenerator(function* () {
|
|
1210
|
-
return
|
|
1212
|
+
return _this159.authStream(callback, 'POST', '/content_metadata_access', {
|
|
1211
1213
|
send_boards_notification_email
|
|
1212
1214
|
}, body, options);
|
|
1213
1215
|
})();
|
|
1214
1216
|
}
|
|
1215
1217
|
update_content_metadata_access(callback, content_metadata_access_id, body, options) {
|
|
1216
|
-
var
|
|
1218
|
+
var _this160 = this;
|
|
1217
1219
|
return _asyncToGenerator(function* () {
|
|
1218
|
-
content_metadata_access_id =
|
|
1219
|
-
return
|
|
1220
|
+
content_metadata_access_id = encodeParam(content_metadata_access_id);
|
|
1221
|
+
return _this160.authStream(callback, 'PUT', "/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
1220
1222
|
})();
|
|
1221
1223
|
}
|
|
1222
1224
|
delete_content_metadata_access(callback, content_metadata_access_id, options) {
|
|
1223
|
-
var
|
|
1225
|
+
var _this161 = this;
|
|
1224
1226
|
return _asyncToGenerator(function* () {
|
|
1225
|
-
content_metadata_access_id =
|
|
1226
|
-
return
|
|
1227
|
+
content_metadata_access_id = encodeParam(content_metadata_access_id);
|
|
1228
|
+
return _this161.authStream(callback, 'DELETE', "/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
1227
1229
|
})();
|
|
1228
1230
|
}
|
|
1229
1231
|
search_content(callback, request, options) {
|
|
1230
|
-
var
|
|
1232
|
+
var _this162 = this;
|
|
1231
1233
|
return _asyncToGenerator(function* () {
|
|
1232
|
-
request.terms =
|
|
1233
|
-
return
|
|
1234
|
+
request.terms = encodeParam(request.terms);
|
|
1235
|
+
return _this162.authStream(callback, 'GET', "/content/".concat(request.terms), {
|
|
1234
1236
|
fields: request.fields,
|
|
1235
1237
|
types: request.types,
|
|
1236
1238
|
limit: request.limit,
|
|
@@ -1241,11 +1243,11 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1241
1243
|
})();
|
|
1242
1244
|
}
|
|
1243
1245
|
content_thumbnail(callback, request, options) {
|
|
1244
|
-
var
|
|
1246
|
+
var _this163 = this;
|
|
1245
1247
|
return _asyncToGenerator(function* () {
|
|
1246
|
-
request.type =
|
|
1247
|
-
request.resource_id =
|
|
1248
|
-
return
|
|
1248
|
+
request.type = encodeParam(request.type);
|
|
1249
|
+
request.resource_id = encodeParam(request.resource_id);
|
|
1250
|
+
return _this163.authStream(callback, 'GET', "/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
1249
1251
|
reload: request.reload,
|
|
1250
1252
|
theme: request.theme,
|
|
1251
1253
|
format: request.format,
|
|
@@ -1255,17 +1257,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1255
1257
|
})();
|
|
1256
1258
|
}
|
|
1257
1259
|
content_validation(callback, fields, options) {
|
|
1258
|
-
var
|
|
1260
|
+
var _this164 = this;
|
|
1259
1261
|
return _asyncToGenerator(function* () {
|
|
1260
|
-
return
|
|
1262
|
+
return _this164.authStream(callback, 'GET', '/content_validation', {
|
|
1261
1263
|
fields
|
|
1262
1264
|
}, null, options);
|
|
1263
1265
|
})();
|
|
1264
1266
|
}
|
|
1265
1267
|
search_content_views(callback, request, options) {
|
|
1266
|
-
var
|
|
1268
|
+
var _this165 = this;
|
|
1267
1269
|
return _asyncToGenerator(function* () {
|
|
1268
|
-
return
|
|
1270
|
+
return _this165.authStream(callback, 'GET', '/content_view/search', {
|
|
1269
1271
|
view_count: request.view_count,
|
|
1270
1272
|
group_id: request.group_id,
|
|
1271
1273
|
look_id: request.look_id,
|
|
@@ -1283,33 +1285,33 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1283
1285
|
})();
|
|
1284
1286
|
}
|
|
1285
1287
|
vector_thumbnail(callback, type, resource_id, reload, options) {
|
|
1286
|
-
var
|
|
1288
|
+
var _this166 = this;
|
|
1287
1289
|
return _asyncToGenerator(function* () {
|
|
1288
|
-
type =
|
|
1289
|
-
resource_id =
|
|
1290
|
-
return
|
|
1290
|
+
type = encodeParam(type);
|
|
1291
|
+
resource_id = encodeParam(resource_id);
|
|
1292
|
+
return _this166.authStream(callback, 'GET', "/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
1291
1293
|
reload
|
|
1292
1294
|
}, null, options);
|
|
1293
1295
|
})();
|
|
1294
1296
|
}
|
|
1295
1297
|
all_dashboards(callback, fields, options) {
|
|
1296
|
-
var
|
|
1298
|
+
var _this167 = this;
|
|
1297
1299
|
return _asyncToGenerator(function* () {
|
|
1298
|
-
return
|
|
1300
|
+
return _this167.authStream(callback, 'GET', '/dashboards', {
|
|
1299
1301
|
fields
|
|
1300
1302
|
}, null, options);
|
|
1301
1303
|
})();
|
|
1302
1304
|
}
|
|
1303
1305
|
create_dashboard(callback, body, options) {
|
|
1304
|
-
var
|
|
1306
|
+
var _this168 = this;
|
|
1305
1307
|
return _asyncToGenerator(function* () {
|
|
1306
|
-
return
|
|
1308
|
+
return _this168.authStream(callback, 'POST', '/dashboards', null, body, options);
|
|
1307
1309
|
})();
|
|
1308
1310
|
}
|
|
1309
1311
|
search_dashboards(callback, request, options) {
|
|
1310
|
-
var
|
|
1312
|
+
var _this169 = this;
|
|
1311
1313
|
return _asyncToGenerator(function* () {
|
|
1312
|
-
return
|
|
1314
|
+
return _this169.authStream(callback, 'GET', '/dashboards/search', {
|
|
1313
1315
|
id: request.id,
|
|
1314
1316
|
slug: request.slug,
|
|
1315
1317
|
title: request.title,
|
|
@@ -1334,95 +1336,95 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1334
1336
|
})();
|
|
1335
1337
|
}
|
|
1336
1338
|
import_lookml_dashboard(callback, lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
1337
|
-
var
|
|
1339
|
+
var _this170 = this;
|
|
1338
1340
|
return _asyncToGenerator(function* () {
|
|
1339
|
-
lookml_dashboard_id =
|
|
1340
|
-
space_id =
|
|
1341
|
-
return
|
|
1341
|
+
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
1342
|
+
space_id = encodeParam(space_id);
|
|
1343
|
+
return _this170.authStream(callback, 'POST', "/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
1342
1344
|
raw_locale
|
|
1343
1345
|
}, body, options);
|
|
1344
1346
|
})();
|
|
1345
1347
|
}
|
|
1346
1348
|
sync_lookml_dashboard(callback, lookml_dashboard_id, body, raw_locale, options) {
|
|
1347
|
-
var
|
|
1349
|
+
var _this171 = this;
|
|
1348
1350
|
return _asyncToGenerator(function* () {
|
|
1349
|
-
lookml_dashboard_id =
|
|
1350
|
-
return
|
|
1351
|
+
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
1352
|
+
return _this171.authStream(callback, 'PATCH', "/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
1351
1353
|
raw_locale
|
|
1352
1354
|
}, body, options);
|
|
1353
1355
|
})();
|
|
1354
1356
|
}
|
|
1355
1357
|
dashboard(callback, dashboard_id, fields, options) {
|
|
1356
|
-
var
|
|
1358
|
+
var _this172 = this;
|
|
1357
1359
|
return _asyncToGenerator(function* () {
|
|
1358
|
-
dashboard_id =
|
|
1359
|
-
return
|
|
1360
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1361
|
+
return _this172.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id), {
|
|
1360
1362
|
fields
|
|
1361
1363
|
}, null, options);
|
|
1362
1364
|
})();
|
|
1363
1365
|
}
|
|
1364
1366
|
update_dashboard(callback, dashboard_id, body, options) {
|
|
1365
|
-
var
|
|
1367
|
+
var _this173 = this;
|
|
1366
1368
|
return _asyncToGenerator(function* () {
|
|
1367
|
-
dashboard_id =
|
|
1368
|
-
return
|
|
1369
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1370
|
+
return _this173.authStream(callback, 'PATCH', "/dashboards/".concat(dashboard_id), null, body, options);
|
|
1369
1371
|
})();
|
|
1370
1372
|
}
|
|
1371
1373
|
delete_dashboard(callback, dashboard_id, options) {
|
|
1372
|
-
var
|
|
1374
|
+
var _this174 = this;
|
|
1373
1375
|
return _asyncToGenerator(function* () {
|
|
1374
|
-
dashboard_id =
|
|
1375
|
-
return
|
|
1376
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1377
|
+
return _this174.authStream(callback, 'DELETE', "/dashboards/".concat(dashboard_id), null, null, options);
|
|
1376
1378
|
})();
|
|
1377
1379
|
}
|
|
1378
1380
|
dashboard_aggregate_table_lookml(callback, dashboard_id, options) {
|
|
1379
|
-
var
|
|
1381
|
+
var _this175 = this;
|
|
1380
1382
|
return _asyncToGenerator(function* () {
|
|
1381
|
-
dashboard_id =
|
|
1382
|
-
return
|
|
1383
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1384
|
+
return _this175.authStream(callback, 'GET', "/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
1383
1385
|
})();
|
|
1384
1386
|
}
|
|
1385
1387
|
dashboard_lookml(callback, dashboard_id, options) {
|
|
1386
|
-
var
|
|
1388
|
+
var _this176 = this;
|
|
1387
1389
|
return _asyncToGenerator(function* () {
|
|
1388
|
-
dashboard_id =
|
|
1389
|
-
return
|
|
1390
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1391
|
+
return _this176.authStream(callback, 'GET', "/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
1390
1392
|
})();
|
|
1391
1393
|
}
|
|
1392
1394
|
move_dashboard(callback, dashboard_id, folder_id, options) {
|
|
1393
|
-
var
|
|
1395
|
+
var _this177 = this;
|
|
1394
1396
|
return _asyncToGenerator(function* () {
|
|
1395
|
-
dashboard_id =
|
|
1396
|
-
return
|
|
1397
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1398
|
+
return _this177.authStream(callback, 'PATCH', "/dashboards/".concat(dashboard_id, "/move"), {
|
|
1397
1399
|
folder_id
|
|
1398
1400
|
}, null, options);
|
|
1399
1401
|
})();
|
|
1400
1402
|
}
|
|
1401
1403
|
import_dashboard_from_lookml(callback, body, options) {
|
|
1402
|
-
var
|
|
1404
|
+
var _this178 = this;
|
|
1403
1405
|
return _asyncToGenerator(function* () {
|
|
1404
|
-
return
|
|
1406
|
+
return _this178.authStream(callback, 'POST', '/dashboards/lookml', null, body, options);
|
|
1405
1407
|
})();
|
|
1406
1408
|
}
|
|
1407
1409
|
create_dashboard_from_lookml(callback, body, options) {
|
|
1408
|
-
var
|
|
1410
|
+
var _this179 = this;
|
|
1409
1411
|
return _asyncToGenerator(function* () {
|
|
1410
|
-
return
|
|
1412
|
+
return _this179.authStream(callback, 'POST', '/dashboards/from_lookml', null, body, options);
|
|
1411
1413
|
})();
|
|
1412
1414
|
}
|
|
1413
1415
|
copy_dashboard(callback, dashboard_id, folder_id, options) {
|
|
1414
|
-
var
|
|
1416
|
+
var _this180 = this;
|
|
1415
1417
|
return _asyncToGenerator(function* () {
|
|
1416
|
-
dashboard_id =
|
|
1417
|
-
return
|
|
1418
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1419
|
+
return _this180.authStream(callback, 'POST', "/dashboards/".concat(dashboard_id, "/copy"), {
|
|
1418
1420
|
folder_id
|
|
1419
1421
|
}, null, options);
|
|
1420
1422
|
})();
|
|
1421
1423
|
}
|
|
1422
1424
|
search_dashboard_elements(callback, request, options) {
|
|
1423
|
-
var
|
|
1425
|
+
var _this181 = this;
|
|
1424
1426
|
return _asyncToGenerator(function* () {
|
|
1425
|
-
return
|
|
1427
|
+
return _this181.authStream(callback, 'GET', '/dashboard_elements/search', {
|
|
1426
1428
|
dashboard_id: request.dashboard_id,
|
|
1427
1429
|
look_id: request.look_id,
|
|
1428
1430
|
title: request.title,
|
|
@@ -1434,217 +1436,217 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1434
1436
|
})();
|
|
1435
1437
|
}
|
|
1436
1438
|
dashboard_element(callback, dashboard_element_id, fields, options) {
|
|
1437
|
-
var
|
|
1439
|
+
var _this182 = this;
|
|
1438
1440
|
return _asyncToGenerator(function* () {
|
|
1439
|
-
dashboard_element_id =
|
|
1440
|
-
return
|
|
1441
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1442
|
+
return _this182.authStream(callback, 'GET', "/dashboard_elements/".concat(dashboard_element_id), {
|
|
1441
1443
|
fields
|
|
1442
1444
|
}, null, options);
|
|
1443
1445
|
})();
|
|
1444
1446
|
}
|
|
1445
1447
|
update_dashboard_element(callback, dashboard_element_id, body, fields, options) {
|
|
1446
|
-
var
|
|
1448
|
+
var _this183 = this;
|
|
1447
1449
|
return _asyncToGenerator(function* () {
|
|
1448
|
-
dashboard_element_id =
|
|
1449
|
-
return
|
|
1450
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1451
|
+
return _this183.authStream(callback, 'PATCH', "/dashboard_elements/".concat(dashboard_element_id), {
|
|
1450
1452
|
fields
|
|
1451
1453
|
}, body, options);
|
|
1452
1454
|
})();
|
|
1453
1455
|
}
|
|
1454
1456
|
delete_dashboard_element(callback, dashboard_element_id, options) {
|
|
1455
|
-
var
|
|
1457
|
+
var _this184 = this;
|
|
1456
1458
|
return _asyncToGenerator(function* () {
|
|
1457
|
-
dashboard_element_id =
|
|
1458
|
-
return
|
|
1459
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1460
|
+
return _this184.authStream(callback, 'DELETE', "/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
1459
1461
|
})();
|
|
1460
1462
|
}
|
|
1461
1463
|
dashboard_dashboard_elements(callback, dashboard_id, fields, options) {
|
|
1462
|
-
var
|
|
1464
|
+
var _this185 = this;
|
|
1463
1465
|
return _asyncToGenerator(function* () {
|
|
1464
|
-
dashboard_id =
|
|
1465
|
-
return
|
|
1466
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1467
|
+
return _this185.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
1466
1468
|
fields
|
|
1467
1469
|
}, null, options);
|
|
1468
1470
|
})();
|
|
1469
1471
|
}
|
|
1470
1472
|
create_dashboard_element(callback, request, options) {
|
|
1471
|
-
var
|
|
1473
|
+
var _this186 = this;
|
|
1472
1474
|
return _asyncToGenerator(function* () {
|
|
1473
|
-
return
|
|
1475
|
+
return _this186.authStream(callback, 'POST', '/dashboard_elements', {
|
|
1474
1476
|
fields: request.fields,
|
|
1475
1477
|
apply_filters: request.apply_filters
|
|
1476
1478
|
}, request.body, options);
|
|
1477
1479
|
})();
|
|
1478
1480
|
}
|
|
1479
1481
|
dashboard_filter(callback, dashboard_filter_id, fields, options) {
|
|
1480
|
-
var
|
|
1482
|
+
var _this187 = this;
|
|
1481
1483
|
return _asyncToGenerator(function* () {
|
|
1482
|
-
dashboard_filter_id =
|
|
1483
|
-
return
|
|
1484
|
+
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1485
|
+
return _this187.authStream(callback, 'GET', "/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1484
1486
|
fields
|
|
1485
1487
|
}, null, options);
|
|
1486
1488
|
})();
|
|
1487
1489
|
}
|
|
1488
1490
|
update_dashboard_filter(callback, dashboard_filter_id, body, fields, options) {
|
|
1489
|
-
var
|
|
1491
|
+
var _this188 = this;
|
|
1490
1492
|
return _asyncToGenerator(function* () {
|
|
1491
|
-
dashboard_filter_id =
|
|
1492
|
-
return
|
|
1493
|
+
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1494
|
+
return _this188.authStream(callback, 'PATCH', "/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1493
1495
|
fields
|
|
1494
1496
|
}, body, options);
|
|
1495
1497
|
})();
|
|
1496
1498
|
}
|
|
1497
1499
|
delete_dashboard_filter(callback, dashboard_filter_id, options) {
|
|
1498
|
-
var
|
|
1500
|
+
var _this189 = this;
|
|
1499
1501
|
return _asyncToGenerator(function* () {
|
|
1500
|
-
dashboard_filter_id =
|
|
1501
|
-
return
|
|
1502
|
+
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1503
|
+
return _this189.authStream(callback, 'DELETE', "/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1502
1504
|
})();
|
|
1503
1505
|
}
|
|
1504
1506
|
dashboard_dashboard_filters(callback, dashboard_id, fields, options) {
|
|
1505
|
-
var
|
|
1507
|
+
var _this190 = this;
|
|
1506
1508
|
return _asyncToGenerator(function* () {
|
|
1507
|
-
dashboard_id =
|
|
1508
|
-
return
|
|
1509
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1510
|
+
return _this190.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1509
1511
|
fields
|
|
1510
1512
|
}, null, options);
|
|
1511
1513
|
})();
|
|
1512
1514
|
}
|
|
1513
1515
|
create_dashboard_filter(callback, body, fields, options) {
|
|
1514
|
-
var
|
|
1516
|
+
var _this191 = this;
|
|
1515
1517
|
return _asyncToGenerator(function* () {
|
|
1516
|
-
return
|
|
1518
|
+
return _this191.authStream(callback, 'POST', '/dashboard_filters', {
|
|
1517
1519
|
fields
|
|
1518
1520
|
}, body, options);
|
|
1519
1521
|
})();
|
|
1520
1522
|
}
|
|
1521
1523
|
dashboard_layout_component(callback, dashboard_layout_component_id, fields, options) {
|
|
1522
|
-
var
|
|
1524
|
+
var _this192 = this;
|
|
1523
1525
|
return _asyncToGenerator(function* () {
|
|
1524
|
-
dashboard_layout_component_id =
|
|
1525
|
-
return
|
|
1526
|
+
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
1527
|
+
return _this192.authStream(callback, 'GET', "/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1526
1528
|
fields
|
|
1527
1529
|
}, null, options);
|
|
1528
1530
|
})();
|
|
1529
1531
|
}
|
|
1530
1532
|
update_dashboard_layout_component(callback, dashboard_layout_component_id, body, fields, options) {
|
|
1531
|
-
var
|
|
1533
|
+
var _this193 = this;
|
|
1532
1534
|
return _asyncToGenerator(function* () {
|
|
1533
|
-
dashboard_layout_component_id =
|
|
1534
|
-
return
|
|
1535
|
+
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
1536
|
+
return _this193.authStream(callback, 'PATCH', "/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1535
1537
|
fields
|
|
1536
1538
|
}, body, options);
|
|
1537
1539
|
})();
|
|
1538
1540
|
}
|
|
1539
1541
|
dashboard_layout_dashboard_layout_components(callback, dashboard_layout_id, fields, options) {
|
|
1540
|
-
var
|
|
1542
|
+
var _this194 = this;
|
|
1541
1543
|
return _asyncToGenerator(function* () {
|
|
1542
|
-
dashboard_layout_id =
|
|
1543
|
-
return
|
|
1544
|
+
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1545
|
+
return _this194.authStream(callback, 'GET', "/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1544
1546
|
fields
|
|
1545
1547
|
}, null, options);
|
|
1546
1548
|
})();
|
|
1547
1549
|
}
|
|
1548
1550
|
dashboard_layout(callback, dashboard_layout_id, fields, options) {
|
|
1549
|
-
var
|
|
1551
|
+
var _this195 = this;
|
|
1550
1552
|
return _asyncToGenerator(function* () {
|
|
1551
|
-
dashboard_layout_id =
|
|
1552
|
-
return
|
|
1553
|
+
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1554
|
+
return _this195.authStream(callback, 'GET', "/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1553
1555
|
fields
|
|
1554
1556
|
}, null, options);
|
|
1555
1557
|
})();
|
|
1556
1558
|
}
|
|
1557
1559
|
update_dashboard_layout(callback, dashboard_layout_id, body, fields, options) {
|
|
1558
|
-
var
|
|
1560
|
+
var _this196 = this;
|
|
1559
1561
|
return _asyncToGenerator(function* () {
|
|
1560
|
-
dashboard_layout_id =
|
|
1561
|
-
return
|
|
1562
|
+
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1563
|
+
return _this196.authStream(callback, 'PATCH', "/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1562
1564
|
fields
|
|
1563
1565
|
}, body, options);
|
|
1564
1566
|
})();
|
|
1565
1567
|
}
|
|
1566
1568
|
delete_dashboard_layout(callback, dashboard_layout_id, options) {
|
|
1567
|
-
var
|
|
1569
|
+
var _this197 = this;
|
|
1568
1570
|
return _asyncToGenerator(function* () {
|
|
1569
|
-
dashboard_layout_id =
|
|
1570
|
-
return
|
|
1571
|
+
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1572
|
+
return _this197.authStream(callback, 'DELETE', "/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1571
1573
|
})();
|
|
1572
1574
|
}
|
|
1573
1575
|
dashboard_dashboard_layouts(callback, dashboard_id, fields, options) {
|
|
1574
|
-
var
|
|
1576
|
+
var _this198 = this;
|
|
1575
1577
|
return _asyncToGenerator(function* () {
|
|
1576
|
-
dashboard_id =
|
|
1577
|
-
return
|
|
1578
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1579
|
+
return _this198.authStream(callback, 'GET', "/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1578
1580
|
fields
|
|
1579
1581
|
}, null, options);
|
|
1580
1582
|
})();
|
|
1581
1583
|
}
|
|
1582
1584
|
create_dashboard_layout(callback, body, fields, options) {
|
|
1583
|
-
var
|
|
1585
|
+
var _this199 = this;
|
|
1584
1586
|
return _asyncToGenerator(function* () {
|
|
1585
|
-
return
|
|
1587
|
+
return _this199.authStream(callback, 'POST', '/dashboard_layouts', {
|
|
1586
1588
|
fields
|
|
1587
1589
|
}, body, options);
|
|
1588
1590
|
})();
|
|
1589
1591
|
}
|
|
1590
1592
|
perform_data_action(callback, body, options) {
|
|
1591
|
-
var
|
|
1593
|
+
var _this200 = this;
|
|
1592
1594
|
return _asyncToGenerator(function* () {
|
|
1593
|
-
return
|
|
1595
|
+
return _this200.authStream(callback, 'POST', '/data_actions', null, body, options);
|
|
1594
1596
|
})();
|
|
1595
1597
|
}
|
|
1596
1598
|
fetch_remote_data_action_form(callback, body, options) {
|
|
1597
|
-
var
|
|
1599
|
+
var _this201 = this;
|
|
1598
1600
|
return _asyncToGenerator(function* () {
|
|
1599
|
-
return
|
|
1601
|
+
return _this201.authStream(callback, 'POST', '/data_actions/form', null, body, options);
|
|
1600
1602
|
})();
|
|
1601
1603
|
}
|
|
1602
1604
|
all_datagroups(callback, options) {
|
|
1603
|
-
var
|
|
1605
|
+
var _this202 = this;
|
|
1604
1606
|
return _asyncToGenerator(function* () {
|
|
1605
|
-
return
|
|
1607
|
+
return _this202.authStream(callback, 'GET', '/datagroups', null, null, options);
|
|
1606
1608
|
})();
|
|
1607
1609
|
}
|
|
1608
1610
|
datagroup(callback, datagroup_id, options) {
|
|
1609
|
-
var
|
|
1611
|
+
var _this203 = this;
|
|
1610
1612
|
return _asyncToGenerator(function* () {
|
|
1611
|
-
datagroup_id =
|
|
1612
|
-
return
|
|
1613
|
+
datagroup_id = encodeParam(datagroup_id);
|
|
1614
|
+
return _this203.authStream(callback, 'GET', "/datagroups/".concat(datagroup_id), null, null, options);
|
|
1613
1615
|
})();
|
|
1614
1616
|
}
|
|
1615
1617
|
update_datagroup(callback, datagroup_id, body, options) {
|
|
1616
|
-
var
|
|
1618
|
+
var _this204 = this;
|
|
1617
1619
|
return _asyncToGenerator(function* () {
|
|
1618
|
-
datagroup_id =
|
|
1619
|
-
return
|
|
1620
|
+
datagroup_id = encodeParam(datagroup_id);
|
|
1621
|
+
return _this204.authStream(callback, 'PATCH', "/datagroups/".concat(datagroup_id), null, body, options);
|
|
1620
1622
|
})();
|
|
1621
1623
|
}
|
|
1622
1624
|
graph_derived_tables_for_model(callback, request, options) {
|
|
1623
|
-
var
|
|
1625
|
+
var _this205 = this;
|
|
1624
1626
|
return _asyncToGenerator(function* () {
|
|
1625
|
-
request.model =
|
|
1626
|
-
return
|
|
1627
|
+
request.model = encodeParam(request.model);
|
|
1628
|
+
return _this205.authStream(callback, 'GET', "/derived_table/graph/model/".concat(request.model), {
|
|
1627
1629
|
format: request.format,
|
|
1628
1630
|
color: request.color
|
|
1629
1631
|
}, null, options);
|
|
1630
1632
|
})();
|
|
1631
1633
|
}
|
|
1632
1634
|
graph_derived_tables_for_view(callback, request, options) {
|
|
1633
|
-
var
|
|
1635
|
+
var _this206 = this;
|
|
1634
1636
|
return _asyncToGenerator(function* () {
|
|
1635
|
-
request.view =
|
|
1636
|
-
return
|
|
1637
|
+
request.view = encodeParam(request.view);
|
|
1638
|
+
return _this206.authStream(callback, 'GET', "/derived_table/graph/view/".concat(request.view), {
|
|
1637
1639
|
models: request.models,
|
|
1638
1640
|
workspace: request.workspace
|
|
1639
1641
|
}, null, options);
|
|
1640
1642
|
})();
|
|
1641
1643
|
}
|
|
1642
1644
|
start_pdt_build(callback, request, options) {
|
|
1643
|
-
var
|
|
1645
|
+
var _this207 = this;
|
|
1644
1646
|
return _asyncToGenerator(function* () {
|
|
1645
|
-
request.model_name =
|
|
1646
|
-
request.view_name =
|
|
1647
|
-
return
|
|
1647
|
+
request.model_name = encodeParam(request.model_name);
|
|
1648
|
+
request.view_name = encodeParam(request.view_name);
|
|
1649
|
+
return _this207.authStream(callback, 'GET', "/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1648
1650
|
force_rebuild: request.force_rebuild,
|
|
1649
1651
|
force_full_incremental: request.force_full_incremental,
|
|
1650
1652
|
workspace: request.workspace,
|
|
@@ -1653,25 +1655,25 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1653
1655
|
})();
|
|
1654
1656
|
}
|
|
1655
1657
|
check_pdt_build(callback, materialization_id, options) {
|
|
1656
|
-
var
|
|
1658
|
+
var _this208 = this;
|
|
1657
1659
|
return _asyncToGenerator(function* () {
|
|
1658
|
-
materialization_id =
|
|
1659
|
-
return
|
|
1660
|
+
materialization_id = encodeParam(materialization_id);
|
|
1661
|
+
return _this208.authStream(callback, 'GET', "/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1660
1662
|
})();
|
|
1661
1663
|
}
|
|
1662
1664
|
stop_pdt_build(callback, materialization_id, source, options) {
|
|
1663
|
-
var
|
|
1665
|
+
var _this209 = this;
|
|
1664
1666
|
return _asyncToGenerator(function* () {
|
|
1665
|
-
materialization_id =
|
|
1666
|
-
return
|
|
1667
|
+
materialization_id = encodeParam(materialization_id);
|
|
1668
|
+
return _this209.authStream(callback, 'GET', "/derived_table/".concat(materialization_id, "/stop"), {
|
|
1667
1669
|
source
|
|
1668
1670
|
}, null, options);
|
|
1669
1671
|
})();
|
|
1670
1672
|
}
|
|
1671
1673
|
search_folders(callback, request, options) {
|
|
1672
|
-
var
|
|
1674
|
+
var _this210 = this;
|
|
1673
1675
|
return _asyncToGenerator(function* () {
|
|
1674
|
-
return
|
|
1676
|
+
return _this210.authStream(callback, 'GET', '/folders/search', {
|
|
1675
1677
|
fields: request.fields,
|
|
1676
1678
|
page: request.page,
|
|
1677
1679
|
per_page: request.per_page,
|
|
@@ -1689,47 +1691,47 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1689
1691
|
})();
|
|
1690
1692
|
}
|
|
1691
1693
|
folder(callback, folder_id, fields, options) {
|
|
1692
|
-
var
|
|
1694
|
+
var _this211 = this;
|
|
1693
1695
|
return _asyncToGenerator(function* () {
|
|
1694
|
-
folder_id =
|
|
1695
|
-
return
|
|
1696
|
+
folder_id = encodeParam(folder_id);
|
|
1697
|
+
return _this211.authStream(callback, 'GET', "/folders/".concat(folder_id), {
|
|
1696
1698
|
fields
|
|
1697
1699
|
}, null, options);
|
|
1698
1700
|
})();
|
|
1699
1701
|
}
|
|
1700
1702
|
update_folder(callback, folder_id, body, options) {
|
|
1701
|
-
var
|
|
1703
|
+
var _this212 = this;
|
|
1702
1704
|
return _asyncToGenerator(function* () {
|
|
1703
|
-
folder_id =
|
|
1704
|
-
return
|
|
1705
|
+
folder_id = encodeParam(folder_id);
|
|
1706
|
+
return _this212.authStream(callback, 'PATCH', "/folders/".concat(folder_id), null, body, options);
|
|
1705
1707
|
})();
|
|
1706
1708
|
}
|
|
1707
1709
|
delete_folder(callback, folder_id, options) {
|
|
1708
|
-
var
|
|
1710
|
+
var _this213 = this;
|
|
1709
1711
|
return _asyncToGenerator(function* () {
|
|
1710
|
-
folder_id =
|
|
1711
|
-
return
|
|
1712
|
+
folder_id = encodeParam(folder_id);
|
|
1713
|
+
return _this213.authStream(callback, 'DELETE', "/folders/".concat(folder_id), null, null, options);
|
|
1712
1714
|
})();
|
|
1713
1715
|
}
|
|
1714
1716
|
all_folders(callback, fields, options) {
|
|
1715
|
-
var
|
|
1717
|
+
var _this214 = this;
|
|
1716
1718
|
return _asyncToGenerator(function* () {
|
|
1717
|
-
return
|
|
1719
|
+
return _this214.authStream(callback, 'GET', '/folders', {
|
|
1718
1720
|
fields
|
|
1719
1721
|
}, null, options);
|
|
1720
1722
|
})();
|
|
1721
1723
|
}
|
|
1722
1724
|
create_folder(callback, body, options) {
|
|
1723
|
-
var
|
|
1725
|
+
var _this215 = this;
|
|
1724
1726
|
return _asyncToGenerator(function* () {
|
|
1725
|
-
return
|
|
1727
|
+
return _this215.authStream(callback, 'POST', '/folders', null, body, options);
|
|
1726
1728
|
})();
|
|
1727
1729
|
}
|
|
1728
1730
|
folder_children(callback, request, options) {
|
|
1729
|
-
var
|
|
1731
|
+
var _this216 = this;
|
|
1730
1732
|
return _asyncToGenerator(function* () {
|
|
1731
|
-
request.folder_id =
|
|
1732
|
-
return
|
|
1733
|
+
request.folder_id = encodeParam(request.folder_id);
|
|
1734
|
+
return _this216.authStream(callback, 'GET', "/folders/".concat(request.folder_id, "/children"), {
|
|
1733
1735
|
fields: request.fields,
|
|
1734
1736
|
page: request.page,
|
|
1735
1737
|
per_page: request.per_page,
|
|
@@ -1740,10 +1742,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1740
1742
|
})();
|
|
1741
1743
|
}
|
|
1742
1744
|
folder_children_search(callback, request, options) {
|
|
1743
|
-
var
|
|
1745
|
+
var _this217 = this;
|
|
1744
1746
|
return _asyncToGenerator(function* () {
|
|
1745
|
-
request.folder_id =
|
|
1746
|
-
return
|
|
1747
|
+
request.folder_id = encodeParam(request.folder_id);
|
|
1748
|
+
return _this217.authStream(callback, 'GET', "/folders/".concat(request.folder_id, "/children/search"), {
|
|
1747
1749
|
fields: request.fields,
|
|
1748
1750
|
sorts: request.sorts,
|
|
1749
1751
|
name: request.name
|
|
@@ -1751,45 +1753,45 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1751
1753
|
})();
|
|
1752
1754
|
}
|
|
1753
1755
|
folder_parent(callback, folder_id, fields, options) {
|
|
1754
|
-
var
|
|
1756
|
+
var _this218 = this;
|
|
1755
1757
|
return _asyncToGenerator(function* () {
|
|
1756
|
-
folder_id =
|
|
1757
|
-
return
|
|
1758
|
+
folder_id = encodeParam(folder_id);
|
|
1759
|
+
return _this218.authStream(callback, 'GET', "/folders/".concat(folder_id, "/parent"), {
|
|
1758
1760
|
fields
|
|
1759
1761
|
}, null, options);
|
|
1760
1762
|
})();
|
|
1761
1763
|
}
|
|
1762
1764
|
folder_ancestors(callback, folder_id, fields, options) {
|
|
1763
|
-
var
|
|
1765
|
+
var _this219 = this;
|
|
1764
1766
|
return _asyncToGenerator(function* () {
|
|
1765
|
-
folder_id =
|
|
1766
|
-
return
|
|
1767
|
+
folder_id = encodeParam(folder_id);
|
|
1768
|
+
return _this219.authStream(callback, 'GET', "/folders/".concat(folder_id, "/ancestors"), {
|
|
1767
1769
|
fields
|
|
1768
1770
|
}, null, options);
|
|
1769
1771
|
})();
|
|
1770
1772
|
}
|
|
1771
1773
|
folder_looks(callback, folder_id, fields, options) {
|
|
1772
|
-
var
|
|
1774
|
+
var _this220 = this;
|
|
1773
1775
|
return _asyncToGenerator(function* () {
|
|
1774
|
-
folder_id =
|
|
1775
|
-
return
|
|
1776
|
+
folder_id = encodeParam(folder_id);
|
|
1777
|
+
return _this220.authStream(callback, 'GET', "/folders/".concat(folder_id, "/looks"), {
|
|
1776
1778
|
fields
|
|
1777
1779
|
}, null, options);
|
|
1778
1780
|
})();
|
|
1779
1781
|
}
|
|
1780
1782
|
folder_dashboards(callback, folder_id, fields, options) {
|
|
1781
|
-
var
|
|
1783
|
+
var _this221 = this;
|
|
1782
1784
|
return _asyncToGenerator(function* () {
|
|
1783
|
-
folder_id =
|
|
1784
|
-
return
|
|
1785
|
+
folder_id = encodeParam(folder_id);
|
|
1786
|
+
return _this221.authStream(callback, 'GET', "/folders/".concat(folder_id, "/dashboards"), {
|
|
1785
1787
|
fields
|
|
1786
1788
|
}, null, options);
|
|
1787
1789
|
})();
|
|
1788
1790
|
}
|
|
1789
1791
|
all_groups(callback, request, options) {
|
|
1790
|
-
var
|
|
1792
|
+
var _this222 = this;
|
|
1791
1793
|
return _asyncToGenerator(function* () {
|
|
1792
|
-
return
|
|
1794
|
+
return _this222.authStream(callback, 'GET', '/groups', {
|
|
1793
1795
|
fields: request.fields,
|
|
1794
1796
|
page: request.page,
|
|
1795
1797
|
per_page: request.per_page,
|
|
@@ -1803,17 +1805,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1803
1805
|
})();
|
|
1804
1806
|
}
|
|
1805
1807
|
create_group(callback, body, fields, options) {
|
|
1806
|
-
var
|
|
1808
|
+
var _this223 = this;
|
|
1807
1809
|
return _asyncToGenerator(function* () {
|
|
1808
|
-
return
|
|
1810
|
+
return _this223.authStream(callback, 'POST', '/groups', {
|
|
1809
1811
|
fields
|
|
1810
1812
|
}, body, options);
|
|
1811
1813
|
})();
|
|
1812
1814
|
}
|
|
1813
1815
|
search_groups(callback, request, options) {
|
|
1814
|
-
var
|
|
1816
|
+
var _this224 = this;
|
|
1815
1817
|
return _asyncToGenerator(function* () {
|
|
1816
|
-
return
|
|
1818
|
+
return _this224.authStream(callback, 'GET', '/groups/search', {
|
|
1817
1819
|
fields: request.fields,
|
|
1818
1820
|
limit: request.limit,
|
|
1819
1821
|
offset: request.offset,
|
|
@@ -1828,9 +1830,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1828
1830
|
})();
|
|
1829
1831
|
}
|
|
1830
1832
|
search_groups_with_roles(callback, request, options) {
|
|
1831
|
-
var
|
|
1833
|
+
var _this225 = this;
|
|
1832
1834
|
return _asyncToGenerator(function* () {
|
|
1833
|
-
return
|
|
1835
|
+
return _this225.authStream(callback, 'GET', '/groups/search/with_roles', {
|
|
1834
1836
|
fields: request.fields,
|
|
1835
1837
|
limit: request.limit,
|
|
1836
1838
|
offset: request.offset,
|
|
@@ -1845,9 +1847,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1845
1847
|
})();
|
|
1846
1848
|
}
|
|
1847
1849
|
search_groups_with_hierarchy(callback, request, options) {
|
|
1848
|
-
var
|
|
1850
|
+
var _this226 = this;
|
|
1849
1851
|
return _asyncToGenerator(function* () {
|
|
1850
|
-
return
|
|
1852
|
+
return _this226.authStream(callback, 'GET', '/groups/search/with_hierarchy', {
|
|
1851
1853
|
fields: request.fields,
|
|
1852
1854
|
limit: request.limit,
|
|
1853
1855
|
offset: request.offset,
|
|
@@ -1862,51 +1864,51 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1862
1864
|
})();
|
|
1863
1865
|
}
|
|
1864
1866
|
group(callback, group_id, fields, options) {
|
|
1865
|
-
var
|
|
1867
|
+
var _this227 = this;
|
|
1866
1868
|
return _asyncToGenerator(function* () {
|
|
1867
|
-
group_id =
|
|
1868
|
-
return
|
|
1869
|
+
group_id = encodeParam(group_id);
|
|
1870
|
+
return _this227.authStream(callback, 'GET', "/groups/".concat(group_id), {
|
|
1869
1871
|
fields
|
|
1870
1872
|
}, null, options);
|
|
1871
1873
|
})();
|
|
1872
1874
|
}
|
|
1873
1875
|
update_group(callback, group_id, body, fields, options) {
|
|
1874
|
-
var
|
|
1876
|
+
var _this228 = this;
|
|
1875
1877
|
return _asyncToGenerator(function* () {
|
|
1876
|
-
group_id =
|
|
1877
|
-
return
|
|
1878
|
+
group_id = encodeParam(group_id);
|
|
1879
|
+
return _this228.authStream(callback, 'PATCH', "/groups/".concat(group_id), {
|
|
1878
1880
|
fields
|
|
1879
1881
|
}, body, options);
|
|
1880
1882
|
})();
|
|
1881
1883
|
}
|
|
1882
1884
|
delete_group(callback, group_id, options) {
|
|
1883
|
-
var
|
|
1885
|
+
var _this229 = this;
|
|
1884
1886
|
return _asyncToGenerator(function* () {
|
|
1885
|
-
group_id =
|
|
1886
|
-
return
|
|
1887
|
+
group_id = encodeParam(group_id);
|
|
1888
|
+
return _this229.authStream(callback, 'DELETE', "/groups/".concat(group_id), null, null, options);
|
|
1887
1889
|
})();
|
|
1888
1890
|
}
|
|
1889
1891
|
all_group_groups(callback, group_id, fields, options) {
|
|
1890
|
-
var
|
|
1892
|
+
var _this230 = this;
|
|
1891
1893
|
return _asyncToGenerator(function* () {
|
|
1892
|
-
group_id =
|
|
1893
|
-
return
|
|
1894
|
+
group_id = encodeParam(group_id);
|
|
1895
|
+
return _this230.authStream(callback, 'GET', "/groups/".concat(group_id, "/groups"), {
|
|
1894
1896
|
fields
|
|
1895
1897
|
}, null, options);
|
|
1896
1898
|
})();
|
|
1897
1899
|
}
|
|
1898
1900
|
add_group_group(callback, group_id, body, options) {
|
|
1899
|
-
var
|
|
1901
|
+
var _this231 = this;
|
|
1900
1902
|
return _asyncToGenerator(function* () {
|
|
1901
|
-
group_id =
|
|
1902
|
-
return
|
|
1903
|
+
group_id = encodeParam(group_id);
|
|
1904
|
+
return _this231.authStream(callback, 'POST', "/groups/".concat(group_id, "/groups"), null, body, options);
|
|
1903
1905
|
})();
|
|
1904
1906
|
}
|
|
1905
1907
|
all_group_users(callback, request, options) {
|
|
1906
|
-
var
|
|
1908
|
+
var _this232 = this;
|
|
1907
1909
|
return _asyncToGenerator(function* () {
|
|
1908
|
-
request.group_id =
|
|
1909
|
-
return
|
|
1910
|
+
request.group_id = encodeParam(request.group_id);
|
|
1911
|
+
return _this232.authStream(callback, 'GET', "/groups/".concat(request.group_id, "/users"), {
|
|
1910
1912
|
fields: request.fields,
|
|
1911
1913
|
page: request.page,
|
|
1912
1914
|
per_page: request.per_page,
|
|
@@ -1917,147 +1919,139 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
1917
1919
|
})();
|
|
1918
1920
|
}
|
|
1919
1921
|
add_group_user(callback, group_id, body, options) {
|
|
1920
|
-
var
|
|
1922
|
+
var _this233 = this;
|
|
1921
1923
|
return _asyncToGenerator(function* () {
|
|
1922
|
-
group_id =
|
|
1923
|
-
return
|
|
1924
|
+
group_id = encodeParam(group_id);
|
|
1925
|
+
return _this233.authStream(callback, 'POST', "/groups/".concat(group_id, "/users"), null, body, options);
|
|
1924
1926
|
})();
|
|
1925
1927
|
}
|
|
1926
1928
|
delete_group_user(callback, group_id, user_id, options) {
|
|
1927
|
-
var
|
|
1929
|
+
var _this234 = this;
|
|
1928
1930
|
return _asyncToGenerator(function* () {
|
|
1929
|
-
group_id =
|
|
1930
|
-
user_id =
|
|
1931
|
-
return
|
|
1931
|
+
group_id = encodeParam(group_id);
|
|
1932
|
+
user_id = encodeParam(user_id);
|
|
1933
|
+
return _this234.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
1932
1934
|
})();
|
|
1933
1935
|
}
|
|
1934
1936
|
delete_group_from_group(callback, group_id, deleting_group_id, options) {
|
|
1935
|
-
var
|
|
1937
|
+
var _this235 = this;
|
|
1936
1938
|
return _asyncToGenerator(function* () {
|
|
1937
|
-
group_id =
|
|
1938
|
-
deleting_group_id =
|
|
1939
|
-
return
|
|
1939
|
+
group_id = encodeParam(group_id);
|
|
1940
|
+
deleting_group_id = encodeParam(deleting_group_id);
|
|
1941
|
+
return _this235.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
1940
1942
|
})();
|
|
1941
1943
|
}
|
|
1942
1944
|
update_user_attribute_group_value(callback, group_id, user_attribute_id, body, options) {
|
|
1943
|
-
var
|
|
1945
|
+
var _this236 = this;
|
|
1944
1946
|
return _asyncToGenerator(function* () {
|
|
1945
|
-
group_id =
|
|
1946
|
-
user_attribute_id =
|
|
1947
|
-
return
|
|
1947
|
+
group_id = encodeParam(group_id);
|
|
1948
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
1949
|
+
return _this236.authStream(callback, 'PATCH', "/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
1948
1950
|
})();
|
|
1949
1951
|
}
|
|
1950
1952
|
delete_user_attribute_group_value(callback, group_id, user_attribute_id, options) {
|
|
1951
|
-
var
|
|
1953
|
+
var _this237 = this;
|
|
1952
1954
|
return _asyncToGenerator(function* () {
|
|
1953
|
-
group_id =
|
|
1954
|
-
user_attribute_id =
|
|
1955
|
-
return
|
|
1955
|
+
group_id = encodeParam(group_id);
|
|
1956
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
1957
|
+
return _this237.authStream(callback, 'DELETE', "/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
1956
1958
|
})();
|
|
1957
1959
|
}
|
|
1958
1960
|
all_primary_homepage_sections(callback, fields, options) {
|
|
1959
|
-
var
|
|
1961
|
+
var _this238 = this;
|
|
1960
1962
|
return _asyncToGenerator(function* () {
|
|
1961
|
-
return
|
|
1963
|
+
return _this238.authStream(callback, 'GET', '/primary_homepage_sections', {
|
|
1962
1964
|
fields
|
|
1963
1965
|
}, null, options);
|
|
1964
1966
|
})();
|
|
1965
1967
|
}
|
|
1966
1968
|
all_integration_hubs(callback, fields, options) {
|
|
1967
|
-
var
|
|
1969
|
+
var _this239 = this;
|
|
1968
1970
|
return _asyncToGenerator(function* () {
|
|
1969
|
-
return
|
|
1971
|
+
return _this239.authStream(callback, 'GET', '/integration_hubs', {
|
|
1970
1972
|
fields
|
|
1971
1973
|
}, null, options);
|
|
1972
1974
|
})();
|
|
1973
1975
|
}
|
|
1974
1976
|
create_integration_hub(callback, body, fields, options) {
|
|
1975
|
-
var
|
|
1977
|
+
var _this240 = this;
|
|
1976
1978
|
return _asyncToGenerator(function* () {
|
|
1977
|
-
return
|
|
1979
|
+
return _this240.authStream(callback, 'POST', '/integration_hubs', {
|
|
1978
1980
|
fields
|
|
1979
1981
|
}, body, options);
|
|
1980
1982
|
})();
|
|
1981
1983
|
}
|
|
1982
1984
|
integration_hub(callback, integration_hub_id, fields, options) {
|
|
1983
|
-
var
|
|
1985
|
+
var _this241 = this;
|
|
1984
1986
|
return _asyncToGenerator(function* () {
|
|
1985
|
-
integration_hub_id =
|
|
1986
|
-
return
|
|
1987
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
1988
|
+
return _this241.authStream(callback, 'GET', "/integration_hubs/".concat(integration_hub_id), {
|
|
1987
1989
|
fields
|
|
1988
1990
|
}, null, options);
|
|
1989
1991
|
})();
|
|
1990
1992
|
}
|
|
1991
1993
|
update_integration_hub(callback, integration_hub_id, body, fields, options) {
|
|
1992
|
-
var
|
|
1994
|
+
var _this242 = this;
|
|
1993
1995
|
return _asyncToGenerator(function* () {
|
|
1994
|
-
integration_hub_id =
|
|
1995
|
-
return
|
|
1996
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
1997
|
+
return _this242.authStream(callback, 'PATCH', "/integration_hubs/".concat(integration_hub_id), {
|
|
1996
1998
|
fields
|
|
1997
1999
|
}, body, options);
|
|
1998
2000
|
})();
|
|
1999
2001
|
}
|
|
2000
2002
|
delete_integration_hub(callback, integration_hub_id, options) {
|
|
2001
|
-
var
|
|
2003
|
+
var _this243 = this;
|
|
2002
2004
|
return _asyncToGenerator(function* () {
|
|
2003
|
-
integration_hub_id =
|
|
2004
|
-
return
|
|
2005
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2006
|
+
return _this243.authStream(callback, 'DELETE', "/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
2005
2007
|
})();
|
|
2006
2008
|
}
|
|
2007
2009
|
accept_integration_hub_legal_agreement(callback, integration_hub_id, options) {
|
|
2008
|
-
var
|
|
2010
|
+
var _this244 = this;
|
|
2009
2011
|
return _asyncToGenerator(function* () {
|
|
2010
|
-
integration_hub_id =
|
|
2011
|
-
return
|
|
2012
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2013
|
+
return _this244.authStream(callback, 'POST', "/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
2012
2014
|
})();
|
|
2013
2015
|
}
|
|
2014
2016
|
all_integrations(callback, request, options) {
|
|
2015
|
-
var
|
|
2017
|
+
var _this245 = this;
|
|
2016
2018
|
return _asyncToGenerator(function* () {
|
|
2017
|
-
return
|
|
2019
|
+
return _this245.authStream(callback, 'GET', '/integrations', {
|
|
2018
2020
|
fields: request.fields,
|
|
2019
2021
|
integration_hub_id: request.integration_hub_id
|
|
2020
2022
|
}, null, options);
|
|
2021
2023
|
})();
|
|
2022
2024
|
}
|
|
2023
2025
|
integration(callback, integration_id, fields, options) {
|
|
2024
|
-
var
|
|
2026
|
+
var _this246 = this;
|
|
2025
2027
|
return _asyncToGenerator(function* () {
|
|
2026
|
-
integration_id =
|
|
2027
|
-
return
|
|
2028
|
+
integration_id = encodeParam(integration_id);
|
|
2029
|
+
return _this246.authStream(callback, 'GET', "/integrations/".concat(integration_id), {
|
|
2028
2030
|
fields
|
|
2029
2031
|
}, null, options);
|
|
2030
2032
|
})();
|
|
2031
2033
|
}
|
|
2032
2034
|
update_integration(callback, integration_id, body, fields, options) {
|
|
2033
|
-
var
|
|
2035
|
+
var _this247 = this;
|
|
2034
2036
|
return _asyncToGenerator(function* () {
|
|
2035
|
-
integration_id =
|
|
2036
|
-
return
|
|
2037
|
+
integration_id = encodeParam(integration_id);
|
|
2038
|
+
return _this247.authStream(callback, 'PATCH', "/integrations/".concat(integration_id), {
|
|
2037
2039
|
fields
|
|
2038
2040
|
}, body, options);
|
|
2039
2041
|
})();
|
|
2040
2042
|
}
|
|
2041
2043
|
fetch_integration_form(callback, integration_id, body, options) {
|
|
2042
|
-
var _this247 = this;
|
|
2043
|
-
return _asyncToGenerator(function* () {
|
|
2044
|
-
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2045
|
-
return _this247.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
2046
|
-
})();
|
|
2047
|
-
}
|
|
2048
|
-
test_integration(callback, integration_id, options) {
|
|
2049
2044
|
var _this248 = this;
|
|
2050
2045
|
return _asyncToGenerator(function* () {
|
|
2051
|
-
integration_id =
|
|
2052
|
-
return _this248.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/
|
|
2046
|
+
integration_id = encodeParam(integration_id);
|
|
2047
|
+
return _this248.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
2053
2048
|
})();
|
|
2054
2049
|
}
|
|
2055
|
-
|
|
2050
|
+
test_integration(callback, integration_id, options) {
|
|
2056
2051
|
var _this249 = this;
|
|
2057
2052
|
return _asyncToGenerator(function* () {
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
}, null, options);
|
|
2053
|
+
integration_id = encodeParam(integration_id);
|
|
2054
|
+
return _this249.authStream(callback, 'POST', "/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2061
2055
|
})();
|
|
2062
2056
|
}
|
|
2063
2057
|
all_looks(callback, fields, options) {
|
|
@@ -2104,7 +2098,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2104
2098
|
look(callback, look_id, fields, options) {
|
|
2105
2099
|
var _this253 = this;
|
|
2106
2100
|
return _asyncToGenerator(function* () {
|
|
2107
|
-
look_id =
|
|
2101
|
+
look_id = encodeParam(look_id);
|
|
2108
2102
|
return _this253.authStream(callback, 'GET', "/looks/".concat(look_id), {
|
|
2109
2103
|
fields
|
|
2110
2104
|
}, null, options);
|
|
@@ -2113,7 +2107,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2113
2107
|
update_look(callback, look_id, body, fields, options) {
|
|
2114
2108
|
var _this254 = this;
|
|
2115
2109
|
return _asyncToGenerator(function* () {
|
|
2116
|
-
look_id =
|
|
2110
|
+
look_id = encodeParam(look_id);
|
|
2117
2111
|
return _this254.authStream(callback, 'PATCH', "/looks/".concat(look_id), {
|
|
2118
2112
|
fields
|
|
2119
2113
|
}, body, options);
|
|
@@ -2122,15 +2116,15 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2122
2116
|
delete_look(callback, look_id, options) {
|
|
2123
2117
|
var _this255 = this;
|
|
2124
2118
|
return _asyncToGenerator(function* () {
|
|
2125
|
-
look_id =
|
|
2119
|
+
look_id = encodeParam(look_id);
|
|
2126
2120
|
return _this255.authStream(callback, 'DELETE', "/looks/".concat(look_id), null, null, options);
|
|
2127
2121
|
})();
|
|
2128
2122
|
}
|
|
2129
2123
|
run_look(callback, request, options) {
|
|
2130
2124
|
var _this256 = this;
|
|
2131
2125
|
return _asyncToGenerator(function* () {
|
|
2132
|
-
request.look_id =
|
|
2133
|
-
request.result_format =
|
|
2126
|
+
request.look_id = encodeParam(request.look_id);
|
|
2127
|
+
request.result_format = encodeParam(request.result_format);
|
|
2134
2128
|
return _this256.authStream(callback, 'GET', "/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2135
2129
|
limit: request.limit,
|
|
2136
2130
|
apply_formatting: request.apply_formatting,
|
|
@@ -2150,7 +2144,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2150
2144
|
copy_look(callback, look_id, folder_id, options) {
|
|
2151
2145
|
var _this257 = this;
|
|
2152
2146
|
return _asyncToGenerator(function* () {
|
|
2153
|
-
look_id =
|
|
2147
|
+
look_id = encodeParam(look_id);
|
|
2154
2148
|
return _this257.authStream(callback, 'POST', "/looks/".concat(look_id, "/copy"), {
|
|
2155
2149
|
folder_id
|
|
2156
2150
|
}, null, options);
|
|
@@ -2159,7 +2153,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2159
2153
|
move_look(callback, look_id, folder_id, options) {
|
|
2160
2154
|
var _this258 = this;
|
|
2161
2155
|
return _asyncToGenerator(function* () {
|
|
2162
|
-
look_id =
|
|
2156
|
+
look_id = encodeParam(look_id);
|
|
2163
2157
|
return _this258.authStream(callback, 'PATCH', "/looks/".concat(look_id, "/move"), {
|
|
2164
2158
|
folder_id
|
|
2165
2159
|
}, null, options);
|
|
@@ -2184,7 +2178,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2184
2178
|
lookml_model(callback, lookml_model_name, fields, options) {
|
|
2185
2179
|
var _this261 = this;
|
|
2186
2180
|
return _asyncToGenerator(function* () {
|
|
2187
|
-
lookml_model_name =
|
|
2181
|
+
lookml_model_name = encodeParam(lookml_model_name);
|
|
2188
2182
|
return _this261.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name), {
|
|
2189
2183
|
fields
|
|
2190
2184
|
}, null, options);
|
|
@@ -2193,22 +2187,22 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2193
2187
|
update_lookml_model(callback, lookml_model_name, body, options) {
|
|
2194
2188
|
var _this262 = this;
|
|
2195
2189
|
return _asyncToGenerator(function* () {
|
|
2196
|
-
lookml_model_name =
|
|
2190
|
+
lookml_model_name = encodeParam(lookml_model_name);
|
|
2197
2191
|
return _this262.authStream(callback, 'PATCH', "/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2198
2192
|
})();
|
|
2199
2193
|
}
|
|
2200
2194
|
delete_lookml_model(callback, lookml_model_name, options) {
|
|
2201
2195
|
var _this263 = this;
|
|
2202
2196
|
return _asyncToGenerator(function* () {
|
|
2203
|
-
lookml_model_name =
|
|
2197
|
+
lookml_model_name = encodeParam(lookml_model_name);
|
|
2204
2198
|
return _this263.authStream(callback, 'DELETE', "/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2205
2199
|
})();
|
|
2206
2200
|
}
|
|
2207
2201
|
lookml_model_explore(callback, lookml_model_name, explore_name, fields, options) {
|
|
2208
2202
|
var _this264 = this;
|
|
2209
2203
|
return _asyncToGenerator(function* () {
|
|
2210
|
-
lookml_model_name =
|
|
2211
|
-
explore_name =
|
|
2204
|
+
lookml_model_name = encodeParam(lookml_model_name);
|
|
2205
|
+
explore_name = encodeParam(explore_name);
|
|
2212
2206
|
return _this264.authStream(callback, 'GET', "/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
2213
2207
|
fields
|
|
2214
2208
|
}, null, options);
|
|
@@ -2217,9 +2211,9 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2217
2211
|
model_fieldname_suggestions(callback, request, options) {
|
|
2218
2212
|
var _this265 = this;
|
|
2219
2213
|
return _asyncToGenerator(function* () {
|
|
2220
|
-
request.model_name =
|
|
2221
|
-
request.view_name =
|
|
2222
|
-
request.field_name =
|
|
2214
|
+
request.model_name = encodeParam(request.model_name);
|
|
2215
|
+
request.view_name = encodeParam(request.view_name);
|
|
2216
|
+
request.field_name = encodeParam(request.field_name);
|
|
2223
2217
|
return _this265.authStream(callback, 'GET', "/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2224
2218
|
term: request.term,
|
|
2225
2219
|
filters: request.filters
|
|
@@ -2229,21 +2223,21 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2229
2223
|
get_model(callback, model_name, options) {
|
|
2230
2224
|
var _this266 = this;
|
|
2231
2225
|
return _asyncToGenerator(function* () {
|
|
2232
|
-
model_name =
|
|
2226
|
+
model_name = encodeParam(model_name);
|
|
2233
2227
|
return _this266.authStream(callback, 'GET', "/models/".concat(model_name), null, null, options);
|
|
2234
2228
|
})();
|
|
2235
2229
|
}
|
|
2236
2230
|
connection_databases(callback, connection_name, options) {
|
|
2237
2231
|
var _this267 = this;
|
|
2238
2232
|
return _asyncToGenerator(function* () {
|
|
2239
|
-
connection_name =
|
|
2233
|
+
connection_name = encodeParam(connection_name);
|
|
2240
2234
|
return _this267.authStream(callback, 'GET', "/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2241
2235
|
})();
|
|
2242
2236
|
}
|
|
2243
2237
|
connection_features(callback, connection_name, fields, options) {
|
|
2244
2238
|
var _this268 = this;
|
|
2245
2239
|
return _asyncToGenerator(function* () {
|
|
2246
|
-
connection_name =
|
|
2240
|
+
connection_name = encodeParam(connection_name);
|
|
2247
2241
|
return _this268.authStream(callback, 'GET', "/connections/".concat(connection_name, "/features"), {
|
|
2248
2242
|
fields
|
|
2249
2243
|
}, null, options);
|
|
@@ -2252,7 +2246,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2252
2246
|
connection_schemas(callback, request, options) {
|
|
2253
2247
|
var _this269 = this;
|
|
2254
2248
|
return _asyncToGenerator(function* () {
|
|
2255
|
-
request.connection_name =
|
|
2249
|
+
request.connection_name = encodeParam(request.connection_name);
|
|
2256
2250
|
return _this269.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/schemas"), {
|
|
2257
2251
|
database: request.database,
|
|
2258
2252
|
cache: request.cache,
|
|
@@ -2263,7 +2257,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2263
2257
|
connection_tables(callback, request, options) {
|
|
2264
2258
|
var _this270 = this;
|
|
2265
2259
|
return _asyncToGenerator(function* () {
|
|
2266
|
-
request.connection_name =
|
|
2260
|
+
request.connection_name = encodeParam(request.connection_name);
|
|
2267
2261
|
return _this270.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/tables"), {
|
|
2268
2262
|
database: request.database,
|
|
2269
2263
|
schema_name: request.schema_name,
|
|
@@ -2277,7 +2271,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2277
2271
|
connection_columns(callback, request, options) {
|
|
2278
2272
|
var _this271 = this;
|
|
2279
2273
|
return _asyncToGenerator(function* () {
|
|
2280
|
-
request.connection_name =
|
|
2274
|
+
request.connection_name = encodeParam(request.connection_name);
|
|
2281
2275
|
return _this271.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/columns"), {
|
|
2282
2276
|
database: request.database,
|
|
2283
2277
|
schema_name: request.schema_name,
|
|
@@ -2291,7 +2285,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2291
2285
|
connection_search_columns(callback, request, options) {
|
|
2292
2286
|
var _this272 = this;
|
|
2293
2287
|
return _asyncToGenerator(function* () {
|
|
2294
|
-
request.connection_name =
|
|
2288
|
+
request.connection_name = encodeParam(request.connection_name);
|
|
2295
2289
|
return _this272.authStream(callback, 'GET', "/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2296
2290
|
column_name: request.column_name,
|
|
2297
2291
|
fields: request.fields
|
|
@@ -2301,7 +2295,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2301
2295
|
connection_cost_estimate(callback, connection_name, body, fields, options) {
|
|
2302
2296
|
var _this273 = this;
|
|
2303
2297
|
return _asyncToGenerator(function* () {
|
|
2304
|
-
connection_name =
|
|
2298
|
+
connection_name = encodeParam(connection_name);
|
|
2305
2299
|
return _this273.authStream(callback, 'POST', "/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2306
2300
|
fields
|
|
2307
2301
|
}, body, options);
|
|
@@ -2310,7 +2304,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2310
2304
|
lock_all(callback, project_id, fields, options) {
|
|
2311
2305
|
var _this274 = this;
|
|
2312
2306
|
return _asyncToGenerator(function* () {
|
|
2313
|
-
project_id =
|
|
2307
|
+
project_id = encodeParam(project_id);
|
|
2314
2308
|
return _this274.authStream(callback, 'POST', "/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2315
2309
|
fields
|
|
2316
2310
|
}, null, options);
|
|
@@ -2319,51 +2313,51 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2319
2313
|
all_git_branches(callback, project_id, options) {
|
|
2320
2314
|
var _this275 = this;
|
|
2321
2315
|
return _asyncToGenerator(function* () {
|
|
2322
|
-
project_id =
|
|
2316
|
+
project_id = encodeParam(project_id);
|
|
2323
2317
|
return _this275.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2324
2318
|
})();
|
|
2325
2319
|
}
|
|
2326
2320
|
git_branch(callback, project_id, options) {
|
|
2327
2321
|
var _this276 = this;
|
|
2328
2322
|
return _asyncToGenerator(function* () {
|
|
2329
|
-
project_id =
|
|
2323
|
+
project_id = encodeParam(project_id);
|
|
2330
2324
|
return _this276.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2331
2325
|
})();
|
|
2332
2326
|
}
|
|
2333
2327
|
update_git_branch(callback, project_id, body, options) {
|
|
2334
2328
|
var _this277 = this;
|
|
2335
2329
|
return _asyncToGenerator(function* () {
|
|
2336
|
-
project_id =
|
|
2330
|
+
project_id = encodeParam(project_id);
|
|
2337
2331
|
return _this277.authStream(callback, 'PUT', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2338
2332
|
})();
|
|
2339
2333
|
}
|
|
2340
2334
|
create_git_branch(callback, project_id, body, options) {
|
|
2341
2335
|
var _this278 = this;
|
|
2342
2336
|
return _asyncToGenerator(function* () {
|
|
2343
|
-
project_id =
|
|
2337
|
+
project_id = encodeParam(project_id);
|
|
2344
2338
|
return _this278.authStream(callback, 'POST', "/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2345
2339
|
})();
|
|
2346
2340
|
}
|
|
2347
2341
|
find_git_branch(callback, project_id, branch_name, options) {
|
|
2348
2342
|
var _this279 = this;
|
|
2349
2343
|
return _asyncToGenerator(function* () {
|
|
2350
|
-
project_id =
|
|
2351
|
-
branch_name =
|
|
2344
|
+
project_id = encodeParam(project_id);
|
|
2345
|
+
branch_name = encodeParam(branch_name);
|
|
2352
2346
|
return _this279.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2353
2347
|
})();
|
|
2354
2348
|
}
|
|
2355
2349
|
delete_git_branch(callback, project_id, branch_name, options) {
|
|
2356
2350
|
var _this280 = this;
|
|
2357
2351
|
return _asyncToGenerator(function* () {
|
|
2358
|
-
project_id =
|
|
2359
|
-
branch_name =
|
|
2352
|
+
project_id = encodeParam(project_id);
|
|
2353
|
+
branch_name = encodeParam(branch_name);
|
|
2360
2354
|
return _this280.authStream(callback, 'DELETE', "/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2361
2355
|
})();
|
|
2362
2356
|
}
|
|
2363
2357
|
deploy_ref_to_production(callback, request, options) {
|
|
2364
2358
|
var _this281 = this;
|
|
2365
2359
|
return _asyncToGenerator(function* () {
|
|
2366
|
-
request.project_id =
|
|
2360
|
+
request.project_id = encodeParam(request.project_id);
|
|
2367
2361
|
return _this281.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2368
2362
|
branch: request.branch,
|
|
2369
2363
|
ref: request.ref
|
|
@@ -2373,21 +2367,21 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2373
2367
|
deploy_to_production(callback, project_id, options) {
|
|
2374
2368
|
var _this282 = this;
|
|
2375
2369
|
return _asyncToGenerator(function* () {
|
|
2376
|
-
project_id =
|
|
2370
|
+
project_id = encodeParam(project_id);
|
|
2377
2371
|
return _this282.authStream(callback, 'POST', "/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2378
2372
|
})();
|
|
2379
2373
|
}
|
|
2380
2374
|
reset_project_to_production(callback, project_id, options) {
|
|
2381
2375
|
var _this283 = this;
|
|
2382
2376
|
return _asyncToGenerator(function* () {
|
|
2383
|
-
project_id =
|
|
2377
|
+
project_id = encodeParam(project_id);
|
|
2384
2378
|
return _this283.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2385
2379
|
})();
|
|
2386
2380
|
}
|
|
2387
2381
|
reset_project_to_remote(callback, project_id, options) {
|
|
2388
2382
|
var _this284 = this;
|
|
2389
2383
|
return _asyncToGenerator(function* () {
|
|
2390
|
-
project_id =
|
|
2384
|
+
project_id = encodeParam(project_id);
|
|
2391
2385
|
return _this284.authStream(callback, 'POST', "/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2392
2386
|
})();
|
|
2393
2387
|
}
|
|
@@ -2408,7 +2402,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2408
2402
|
project(callback, project_id, fields, options) {
|
|
2409
2403
|
var _this287 = this;
|
|
2410
2404
|
return _asyncToGenerator(function* () {
|
|
2411
|
-
project_id =
|
|
2405
|
+
project_id = encodeParam(project_id);
|
|
2412
2406
|
return _this287.authStream(callback, 'GET', "/projects/".concat(project_id), {
|
|
2413
2407
|
fields
|
|
2414
2408
|
}, null, options);
|
|
@@ -2417,7 +2411,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2417
2411
|
update_project(callback, project_id, body, fields, options) {
|
|
2418
2412
|
var _this288 = this;
|
|
2419
2413
|
return _asyncToGenerator(function* () {
|
|
2420
|
-
project_id =
|
|
2414
|
+
project_id = encodeParam(project_id);
|
|
2421
2415
|
return _this288.authStream(callback, 'PATCH', "/projects/".concat(project_id), {
|
|
2422
2416
|
fields
|
|
2423
2417
|
}, body, options);
|
|
@@ -2426,28 +2420,28 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2426
2420
|
manifest(callback, project_id, options) {
|
|
2427
2421
|
var _this289 = this;
|
|
2428
2422
|
return _asyncToGenerator(function* () {
|
|
2429
|
-
project_id =
|
|
2423
|
+
project_id = encodeParam(project_id);
|
|
2430
2424
|
return _this289.authStream(callback, 'GET', "/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2431
2425
|
})();
|
|
2432
2426
|
}
|
|
2433
2427
|
git_deploy_key(callback, project_id, options) {
|
|
2434
2428
|
var _this290 = this;
|
|
2435
2429
|
return _asyncToGenerator(function* () {
|
|
2436
|
-
project_id =
|
|
2430
|
+
project_id = encodeParam(project_id);
|
|
2437
2431
|
return _this290.authStream(callback, 'GET', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2438
2432
|
})();
|
|
2439
2433
|
}
|
|
2440
2434
|
create_git_deploy_key(callback, project_id, options) {
|
|
2441
2435
|
var _this291 = this;
|
|
2442
2436
|
return _asyncToGenerator(function* () {
|
|
2443
|
-
project_id =
|
|
2437
|
+
project_id = encodeParam(project_id);
|
|
2444
2438
|
return _this291.authStream(callback, 'POST', "/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2445
2439
|
})();
|
|
2446
2440
|
}
|
|
2447
2441
|
project_validation_results(callback, project_id, fields, options) {
|
|
2448
2442
|
var _this292 = this;
|
|
2449
2443
|
return _asyncToGenerator(function* () {
|
|
2450
|
-
project_id =
|
|
2444
|
+
project_id = encodeParam(project_id);
|
|
2451
2445
|
return _this292.authStream(callback, 'GET', "/projects/".concat(project_id, "/validate"), {
|
|
2452
2446
|
fields
|
|
2453
2447
|
}, null, options);
|
|
@@ -2456,7 +2450,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2456
2450
|
validate_project(callback, project_id, fields, options) {
|
|
2457
2451
|
var _this293 = this;
|
|
2458
2452
|
return _asyncToGenerator(function* () {
|
|
2459
|
-
project_id =
|
|
2453
|
+
project_id = encodeParam(project_id);
|
|
2460
2454
|
return _this293.authStream(callback, 'POST', "/projects/".concat(project_id, "/validate"), {
|
|
2461
2455
|
fields
|
|
2462
2456
|
}, null, options);
|
|
@@ -2465,7 +2459,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2465
2459
|
project_workspace(callback, project_id, fields, options) {
|
|
2466
2460
|
var _this294 = this;
|
|
2467
2461
|
return _asyncToGenerator(function* () {
|
|
2468
|
-
project_id =
|
|
2462
|
+
project_id = encodeParam(project_id);
|
|
2469
2463
|
return _this294.authStream(callback, 'GET', "/projects/".concat(project_id, "/current_workspace"), {
|
|
2470
2464
|
fields
|
|
2471
2465
|
}, null, options);
|
|
@@ -2474,7 +2468,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2474
2468
|
all_project_files(callback, project_id, fields, options) {
|
|
2475
2469
|
var _this295 = this;
|
|
2476
2470
|
return _asyncToGenerator(function* () {
|
|
2477
|
-
project_id =
|
|
2471
|
+
project_id = encodeParam(project_id);
|
|
2478
2472
|
return _this295.authStream(callback, 'GET', "/projects/".concat(project_id, "/files"), {
|
|
2479
2473
|
fields
|
|
2480
2474
|
}, null, options);
|
|
@@ -2483,7 +2477,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2483
2477
|
project_file(callback, project_id, file_id, fields, options) {
|
|
2484
2478
|
var _this296 = this;
|
|
2485
2479
|
return _asyncToGenerator(function* () {
|
|
2486
|
-
project_id =
|
|
2480
|
+
project_id = encodeParam(project_id);
|
|
2487
2481
|
return _this296.authStream(callback, 'GET', "/projects/".concat(project_id, "/files/file"), {
|
|
2488
2482
|
file_id,
|
|
2489
2483
|
fields
|
|
@@ -2493,7 +2487,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2493
2487
|
all_git_connection_tests(callback, project_id, remote_url, options) {
|
|
2494
2488
|
var _this297 = this;
|
|
2495
2489
|
return _asyncToGenerator(function* () {
|
|
2496
|
-
project_id =
|
|
2490
|
+
project_id = encodeParam(project_id);
|
|
2497
2491
|
return _this297.authStream(callback, 'GET', "/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2498
2492
|
remote_url
|
|
2499
2493
|
}, null, options);
|
|
@@ -2502,8 +2496,8 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2502
2496
|
run_git_connection_test(callback, request, options) {
|
|
2503
2497
|
var _this298 = this;
|
|
2504
2498
|
return _asyncToGenerator(function* () {
|
|
2505
|
-
request.project_id =
|
|
2506
|
-
request.test_id =
|
|
2499
|
+
request.project_id = encodeParam(request.project_id);
|
|
2500
|
+
request.test_id = encodeParam(request.test_id);
|
|
2507
2501
|
return _this298.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2508
2502
|
remote_url: request.remote_url,
|
|
2509
2503
|
use_production: request.use_production
|
|
@@ -2513,7 +2507,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2513
2507
|
all_lookml_tests(callback, project_id, file_id, options) {
|
|
2514
2508
|
var _this299 = this;
|
|
2515
2509
|
return _asyncToGenerator(function* () {
|
|
2516
|
-
project_id =
|
|
2510
|
+
project_id = encodeParam(project_id);
|
|
2517
2511
|
return _this299.authStream(callback, 'GET', "/projects/".concat(project_id, "/lookml_tests"), {
|
|
2518
2512
|
file_id
|
|
2519
2513
|
}, null, options);
|
|
@@ -2522,7 +2516,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2522
2516
|
run_lookml_test(callback, request, options) {
|
|
2523
2517
|
var _this300 = this;
|
|
2524
2518
|
return _asyncToGenerator(function* () {
|
|
2525
|
-
request.project_id =
|
|
2519
|
+
request.project_id = encodeParam(request.project_id);
|
|
2526
2520
|
return _this300.authStream(callback, 'GET', "/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2527
2521
|
file_id: request.file_id,
|
|
2528
2522
|
test: request.test,
|
|
@@ -2533,7 +2527,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2533
2527
|
tag_ref(callback, request, options) {
|
|
2534
2528
|
var _this301 = this;
|
|
2535
2529
|
return _asyncToGenerator(function* () {
|
|
2536
|
-
request.project_id =
|
|
2530
|
+
request.project_id = encodeParam(request.project_id);
|
|
2537
2531
|
return _this301.authStream(callback, 'POST', "/projects/".concat(request.project_id, "/tag"), {
|
|
2538
2532
|
commit_sha: request.commit_sha,
|
|
2539
2533
|
tag_name: request.tag_name,
|
|
@@ -2544,23 +2538,23 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2544
2538
|
update_repository_credential(callback, root_project_id, credential_id, body, options) {
|
|
2545
2539
|
var _this302 = this;
|
|
2546
2540
|
return _asyncToGenerator(function* () {
|
|
2547
|
-
root_project_id =
|
|
2548
|
-
credential_id =
|
|
2541
|
+
root_project_id = encodeParam(root_project_id);
|
|
2542
|
+
credential_id = encodeParam(credential_id);
|
|
2549
2543
|
return _this302.authStream(callback, 'PUT', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2550
2544
|
})();
|
|
2551
2545
|
}
|
|
2552
2546
|
delete_repository_credential(callback, root_project_id, credential_id, options) {
|
|
2553
2547
|
var _this303 = this;
|
|
2554
2548
|
return _asyncToGenerator(function* () {
|
|
2555
|
-
root_project_id =
|
|
2556
|
-
credential_id =
|
|
2549
|
+
root_project_id = encodeParam(root_project_id);
|
|
2550
|
+
credential_id = encodeParam(credential_id);
|
|
2557
2551
|
return _this303.authStream(callback, 'DELETE', "/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2558
2552
|
})();
|
|
2559
2553
|
}
|
|
2560
2554
|
get_all_repository_credentials(callback, root_project_id, options) {
|
|
2561
2555
|
var _this304 = this;
|
|
2562
2556
|
return _asyncToGenerator(function* () {
|
|
2563
|
-
root_project_id =
|
|
2557
|
+
root_project_id = encodeParam(root_project_id);
|
|
2564
2558
|
return _this304.authStream(callback, 'GET', "/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2565
2559
|
})();
|
|
2566
2560
|
}
|
|
@@ -2595,7 +2589,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2595
2589
|
query_task(callback, query_task_id, fields, options) {
|
|
2596
2590
|
var _this307 = this;
|
|
2597
2591
|
return _asyncToGenerator(function* () {
|
|
2598
|
-
query_task_id =
|
|
2592
|
+
query_task_id = encodeParam(query_task_id);
|
|
2599
2593
|
return _this307.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id), {
|
|
2600
2594
|
fields
|
|
2601
2595
|
}, null, options);
|
|
@@ -2604,14 +2598,14 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2604
2598
|
query_task_results(callback, query_task_id, options) {
|
|
2605
2599
|
var _this308 = this;
|
|
2606
2600
|
return _asyncToGenerator(function* () {
|
|
2607
|
-
query_task_id =
|
|
2601
|
+
query_task_id = encodeParam(query_task_id);
|
|
2608
2602
|
return _this308.authStream(callback, 'GET', "/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2609
2603
|
})();
|
|
2610
2604
|
}
|
|
2611
2605
|
query(callback, query_id, fields, options) {
|
|
2612
2606
|
var _this309 = this;
|
|
2613
2607
|
return _asyncToGenerator(function* () {
|
|
2614
|
-
query_id =
|
|
2608
|
+
query_id = encodeParam(query_id);
|
|
2615
2609
|
return _this309.authStream(callback, 'GET', "/queries/".concat(query_id), {
|
|
2616
2610
|
fields
|
|
2617
2611
|
}, null, options);
|
|
@@ -2620,7 +2614,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2620
2614
|
query_for_slug(callback, slug, fields, options) {
|
|
2621
2615
|
var _this310 = this;
|
|
2622
2616
|
return _asyncToGenerator(function* () {
|
|
2623
|
-
slug =
|
|
2617
|
+
slug = encodeParam(slug);
|
|
2624
2618
|
return _this310.authStream(callback, 'GET', "/queries/slug/".concat(slug), {
|
|
2625
2619
|
fields
|
|
2626
2620
|
}, null, options);
|
|
@@ -2637,8 +2631,8 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2637
2631
|
run_query(callback, request, options) {
|
|
2638
2632
|
var _this312 = this;
|
|
2639
2633
|
return _asyncToGenerator(function* () {
|
|
2640
|
-
request.query_id =
|
|
2641
|
-
request.result_format =
|
|
2634
|
+
request.query_id = encodeParam(request.query_id);
|
|
2635
|
+
request.result_format = encodeParam(request.result_format);
|
|
2642
2636
|
return _this312.authStream(callback, 'GET', "/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2643
2637
|
limit: request.limit,
|
|
2644
2638
|
apply_formatting: request.apply_formatting,
|
|
@@ -2659,7 +2653,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2659
2653
|
run_inline_query(callback, request, options) {
|
|
2660
2654
|
var _this313 = this;
|
|
2661
2655
|
return _asyncToGenerator(function* () {
|
|
2662
|
-
request.result_format =
|
|
2656
|
+
request.result_format = encodeParam(request.result_format);
|
|
2663
2657
|
return _this313.authStream(callback, 'POST', "/queries/run/".concat(request.result_format), {
|
|
2664
2658
|
limit: request.limit,
|
|
2665
2659
|
apply_formatting: request.apply_formatting,
|
|
@@ -2679,16 +2673,16 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2679
2673
|
run_url_encoded_query(callback, model_name, view_name, result_format, options) {
|
|
2680
2674
|
var _this314 = this;
|
|
2681
2675
|
return _asyncToGenerator(function* () {
|
|
2682
|
-
model_name =
|
|
2683
|
-
view_name =
|
|
2684
|
-
result_format =
|
|
2676
|
+
model_name = encodeParam(model_name);
|
|
2677
|
+
view_name = encodeParam(view_name);
|
|
2678
|
+
result_format = encodeParam(result_format);
|
|
2685
2679
|
return _this314.authStream(callback, 'GET', "/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2686
2680
|
})();
|
|
2687
2681
|
}
|
|
2688
2682
|
merge_query(callback, merge_query_id, fields, options) {
|
|
2689
2683
|
var _this315 = this;
|
|
2690
2684
|
return _asyncToGenerator(function* () {
|
|
2691
|
-
merge_query_id =
|
|
2685
|
+
merge_query_id = encodeParam(merge_query_id);
|
|
2692
2686
|
return _this315.authStream(callback, 'GET', "/merge_queries/".concat(merge_query_id), {
|
|
2693
2687
|
fields
|
|
2694
2688
|
}, null, options);
|
|
@@ -2711,28 +2705,28 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2711
2705
|
kill_query(callback, query_task_id, options) {
|
|
2712
2706
|
var _this318 = this;
|
|
2713
2707
|
return _asyncToGenerator(function* () {
|
|
2714
|
-
query_task_id =
|
|
2708
|
+
query_task_id = encodeParam(query_task_id);
|
|
2715
2709
|
return _this318.authStream(callback, 'DELETE', "/running_queries/".concat(query_task_id), null, null, options);
|
|
2716
2710
|
})();
|
|
2717
2711
|
}
|
|
2718
|
-
|
|
2712
|
+
create_sql_query(callback, body, options) {
|
|
2719
2713
|
var _this319 = this;
|
|
2720
2714
|
return _asyncToGenerator(function* () {
|
|
2721
|
-
|
|
2722
|
-
return _this319.authStream(callback, 'GET', "/sql_queries/".concat(slug), null, null, options);
|
|
2715
|
+
return _this319.authStream(callback, 'POST', '/sql_queries', null, body, options);
|
|
2723
2716
|
})();
|
|
2724
2717
|
}
|
|
2725
|
-
|
|
2718
|
+
sql_query(callback, slug, options) {
|
|
2726
2719
|
var _this320 = this;
|
|
2727
2720
|
return _asyncToGenerator(function* () {
|
|
2728
|
-
|
|
2721
|
+
slug = encodeParam(slug);
|
|
2722
|
+
return _this320.authStream(callback, 'GET', "/sql_queries/".concat(slug), null, null, options);
|
|
2729
2723
|
})();
|
|
2730
2724
|
}
|
|
2731
2725
|
run_sql_query(callback, slug, result_format, download, options) {
|
|
2732
2726
|
var _this321 = this;
|
|
2733
2727
|
return _asyncToGenerator(function* () {
|
|
2734
|
-
slug =
|
|
2735
|
-
result_format =
|
|
2728
|
+
slug = encodeParam(slug);
|
|
2729
|
+
result_format = encodeParam(result_format);
|
|
2736
2730
|
return _this321.authStream(callback, 'POST', "/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2737
2731
|
download
|
|
2738
2732
|
}, null, options);
|
|
@@ -2741,8 +2735,8 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2741
2735
|
create_look_render_task(callback, look_id, result_format, width, height, fields, options) {
|
|
2742
2736
|
var _this322 = this;
|
|
2743
2737
|
return _asyncToGenerator(function* () {
|
|
2744
|
-
look_id =
|
|
2745
|
-
result_format =
|
|
2738
|
+
look_id = encodeParam(look_id);
|
|
2739
|
+
result_format = encodeParam(result_format);
|
|
2746
2740
|
return _this322.authStream(callback, 'POST', "/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2747
2741
|
width,
|
|
2748
2742
|
height,
|
|
@@ -2753,8 +2747,8 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2753
2747
|
create_query_render_task(callback, query_id, result_format, width, height, fields, options) {
|
|
2754
2748
|
var _this323 = this;
|
|
2755
2749
|
return _asyncToGenerator(function* () {
|
|
2756
|
-
query_id =
|
|
2757
|
-
result_format =
|
|
2750
|
+
query_id = encodeParam(query_id);
|
|
2751
|
+
result_format = encodeParam(result_format);
|
|
2758
2752
|
return _this323.authStream(callback, 'POST', "/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2759
2753
|
width,
|
|
2760
2754
|
height,
|
|
@@ -2765,22 +2759,23 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2765
2759
|
create_dashboard_render_task(callback, request, options) {
|
|
2766
2760
|
var _this324 = this;
|
|
2767
2761
|
return _asyncToGenerator(function* () {
|
|
2768
|
-
request.dashboard_id =
|
|
2769
|
-
request.result_format =
|
|
2762
|
+
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
2763
|
+
request.result_format = encodeParam(request.result_format);
|
|
2770
2764
|
return _this324.authStream(callback, 'POST', "/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2771
2765
|
width: request.width,
|
|
2772
2766
|
height: request.height,
|
|
2773
2767
|
fields: request.fields,
|
|
2774
2768
|
pdf_paper_size: request.pdf_paper_size,
|
|
2775
2769
|
pdf_landscape: request.pdf_landscape,
|
|
2776
|
-
long_tables: request.long_tables
|
|
2770
|
+
long_tables: request.long_tables,
|
|
2771
|
+
theme: request.theme
|
|
2777
2772
|
}, request.body, options);
|
|
2778
2773
|
})();
|
|
2779
2774
|
}
|
|
2780
2775
|
render_task(callback, render_task_id, fields, options) {
|
|
2781
2776
|
var _this325 = this;
|
|
2782
2777
|
return _asyncToGenerator(function* () {
|
|
2783
|
-
render_task_id =
|
|
2778
|
+
render_task_id = encodeParam(render_task_id);
|
|
2784
2779
|
return _this325.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id), {
|
|
2785
2780
|
fields
|
|
2786
2781
|
}, null, options);
|
|
@@ -2789,15 +2784,15 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2789
2784
|
render_task_results(callback, render_task_id, options) {
|
|
2790
2785
|
var _this326 = this;
|
|
2791
2786
|
return _asyncToGenerator(function* () {
|
|
2792
|
-
render_task_id =
|
|
2787
|
+
render_task_id = encodeParam(render_task_id);
|
|
2793
2788
|
return _this326.authStream(callback, 'GET', "/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2794
2789
|
})();
|
|
2795
2790
|
}
|
|
2796
2791
|
create_dashboard_element_render_task(callback, dashboard_element_id, result_format, width, height, fields, options) {
|
|
2797
2792
|
var _this327 = this;
|
|
2798
2793
|
return _asyncToGenerator(function* () {
|
|
2799
|
-
dashboard_element_id =
|
|
2800
|
-
result_format =
|
|
2794
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
2795
|
+
result_format = encodeParam(result_format);
|
|
2801
2796
|
return _this327.authStream(callback, 'POST', "/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
2802
2797
|
width,
|
|
2803
2798
|
height,
|
|
@@ -2824,7 +2819,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2824
2819
|
model_set(callback, model_set_id, fields, options) {
|
|
2825
2820
|
var _this329 = this;
|
|
2826
2821
|
return _asyncToGenerator(function* () {
|
|
2827
|
-
model_set_id =
|
|
2822
|
+
model_set_id = encodeParam(model_set_id);
|
|
2828
2823
|
return _this329.authStream(callback, 'GET', "/model_sets/".concat(model_set_id), {
|
|
2829
2824
|
fields
|
|
2830
2825
|
}, null, options);
|
|
@@ -2833,14 +2828,14 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2833
2828
|
update_model_set(callback, model_set_id, body, options) {
|
|
2834
2829
|
var _this330 = this;
|
|
2835
2830
|
return _asyncToGenerator(function* () {
|
|
2836
|
-
model_set_id =
|
|
2831
|
+
model_set_id = encodeParam(model_set_id);
|
|
2837
2832
|
return _this330.authStream(callback, 'PATCH', "/model_sets/".concat(model_set_id), null, body, options);
|
|
2838
2833
|
})();
|
|
2839
2834
|
}
|
|
2840
2835
|
delete_model_set(callback, model_set_id, options) {
|
|
2841
2836
|
var _this331 = this;
|
|
2842
2837
|
return _asyncToGenerator(function* () {
|
|
2843
|
-
model_set_id =
|
|
2838
|
+
model_set_id = encodeParam(model_set_id);
|
|
2844
2839
|
return _this331.authStream(callback, 'DELETE', "/model_sets/".concat(model_set_id), null, null, options);
|
|
2845
2840
|
})();
|
|
2846
2841
|
}
|
|
@@ -2883,7 +2878,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2883
2878
|
permission_set(callback, permission_set_id, fields, options) {
|
|
2884
2879
|
var _this336 = this;
|
|
2885
2880
|
return _asyncToGenerator(function* () {
|
|
2886
|
-
permission_set_id =
|
|
2881
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
2887
2882
|
return _this336.authStream(callback, 'GET', "/permission_sets/".concat(permission_set_id), {
|
|
2888
2883
|
fields
|
|
2889
2884
|
}, null, options);
|
|
@@ -2892,14 +2887,14 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2892
2887
|
update_permission_set(callback, permission_set_id, body, options) {
|
|
2893
2888
|
var _this337 = this;
|
|
2894
2889
|
return _asyncToGenerator(function* () {
|
|
2895
|
-
permission_set_id =
|
|
2890
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
2896
2891
|
return _this337.authStream(callback, 'PATCH', "/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2897
2892
|
})();
|
|
2898
2893
|
}
|
|
2899
2894
|
delete_permission_set(callback, permission_set_id, options) {
|
|
2900
2895
|
var _this338 = this;
|
|
2901
2896
|
return _asyncToGenerator(function* () {
|
|
2902
|
-
permission_set_id =
|
|
2897
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
2903
2898
|
return _this338.authStream(callback, 'DELETE', "/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2904
2899
|
})();
|
|
2905
2900
|
}
|
|
@@ -2965,28 +2960,28 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2965
2960
|
role(callback, role_id, options) {
|
|
2966
2961
|
var _this345 = this;
|
|
2967
2962
|
return _asyncToGenerator(function* () {
|
|
2968
|
-
role_id =
|
|
2963
|
+
role_id = encodeParam(role_id);
|
|
2969
2964
|
return _this345.authStream(callback, 'GET', "/roles/".concat(role_id), null, null, options);
|
|
2970
2965
|
})();
|
|
2971
2966
|
}
|
|
2972
2967
|
update_role(callback, role_id, body, options) {
|
|
2973
2968
|
var _this346 = this;
|
|
2974
2969
|
return _asyncToGenerator(function* () {
|
|
2975
|
-
role_id =
|
|
2970
|
+
role_id = encodeParam(role_id);
|
|
2976
2971
|
return _this346.authStream(callback, 'PATCH', "/roles/".concat(role_id), null, body, options);
|
|
2977
2972
|
})();
|
|
2978
2973
|
}
|
|
2979
2974
|
delete_role(callback, role_id, options) {
|
|
2980
2975
|
var _this347 = this;
|
|
2981
2976
|
return _asyncToGenerator(function* () {
|
|
2982
|
-
role_id =
|
|
2977
|
+
role_id = encodeParam(role_id);
|
|
2983
2978
|
return _this347.authStream(callback, 'DELETE', "/roles/".concat(role_id), null, null, options);
|
|
2984
2979
|
})();
|
|
2985
2980
|
}
|
|
2986
2981
|
role_groups(callback, role_id, fields, options) {
|
|
2987
2982
|
var _this348 = this;
|
|
2988
2983
|
return _asyncToGenerator(function* () {
|
|
2989
|
-
role_id =
|
|
2984
|
+
role_id = encodeParam(role_id);
|
|
2990
2985
|
return _this348.authStream(callback, 'GET', "/roles/".concat(role_id, "/groups"), {
|
|
2991
2986
|
fields
|
|
2992
2987
|
}, null, options);
|
|
@@ -2995,14 +2990,14 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
2995
2990
|
set_role_groups(callback, role_id, body, options) {
|
|
2996
2991
|
var _this349 = this;
|
|
2997
2992
|
return _asyncToGenerator(function* () {
|
|
2998
|
-
role_id =
|
|
2993
|
+
role_id = encodeParam(role_id);
|
|
2999
2994
|
return _this349.authStream(callback, 'PUT', "/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3000
2995
|
})();
|
|
3001
2996
|
}
|
|
3002
2997
|
role_users(callback, request, options) {
|
|
3003
2998
|
var _this350 = this;
|
|
3004
2999
|
return _asyncToGenerator(function* () {
|
|
3005
|
-
request.role_id =
|
|
3000
|
+
request.role_id = encodeParam(request.role_id);
|
|
3006
3001
|
return _this350.authStream(callback, 'GET', "/roles/".concat(request.role_id, "/users"), {
|
|
3007
3002
|
fields: request.fields,
|
|
3008
3003
|
direct_association_only: request.direct_association_only
|
|
@@ -3012,14 +3007,14 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3012
3007
|
set_role_users(callback, role_id, body, options) {
|
|
3013
3008
|
var _this351 = this;
|
|
3014
3009
|
return _asyncToGenerator(function* () {
|
|
3015
|
-
role_id =
|
|
3010
|
+
role_id = encodeParam(role_id);
|
|
3016
3011
|
return _this351.authStream(callback, 'PUT', "/roles/".concat(role_id, "/users"), null, body, options);
|
|
3017
3012
|
})();
|
|
3018
3013
|
}
|
|
3019
3014
|
scheduled_plans_for_space(callback, space_id, fields, options) {
|
|
3020
3015
|
var _this352 = this;
|
|
3021
3016
|
return _asyncToGenerator(function* () {
|
|
3022
|
-
space_id =
|
|
3017
|
+
space_id = encodeParam(space_id);
|
|
3023
3018
|
return _this352.authStream(callback, 'GET', "/scheduled_plans/space/".concat(space_id), {
|
|
3024
3019
|
fields
|
|
3025
3020
|
}, null, options);
|
|
@@ -3028,7 +3023,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3028
3023
|
scheduled_plan(callback, scheduled_plan_id, fields, options) {
|
|
3029
3024
|
var _this353 = this;
|
|
3030
3025
|
return _asyncToGenerator(function* () {
|
|
3031
|
-
scheduled_plan_id =
|
|
3026
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3032
3027
|
return _this353.authStream(callback, 'GET', "/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3033
3028
|
fields
|
|
3034
3029
|
}, null, options);
|
|
@@ -3037,14 +3032,14 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3037
3032
|
update_scheduled_plan(callback, scheduled_plan_id, body, options) {
|
|
3038
3033
|
var _this354 = this;
|
|
3039
3034
|
return _asyncToGenerator(function* () {
|
|
3040
|
-
scheduled_plan_id =
|
|
3035
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3041
3036
|
return _this354.authStream(callback, 'PATCH', "/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3042
3037
|
})();
|
|
3043
3038
|
}
|
|
3044
3039
|
delete_scheduled_plan(callback, scheduled_plan_id, options) {
|
|
3045
3040
|
var _this355 = this;
|
|
3046
3041
|
return _asyncToGenerator(function* () {
|
|
3047
|
-
scheduled_plan_id =
|
|
3042
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3048
3043
|
return _this355.authStream(callback, 'DELETE', "/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3049
3044
|
})();
|
|
3050
3045
|
}
|
|
@@ -3073,7 +3068,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3073
3068
|
scheduled_plans_for_look(callback, request, options) {
|
|
3074
3069
|
var _this359 = this;
|
|
3075
3070
|
return _asyncToGenerator(function* () {
|
|
3076
|
-
request.look_id =
|
|
3071
|
+
request.look_id = encodeParam(request.look_id);
|
|
3077
3072
|
return _this359.authStream(callback, 'GET', "/scheduled_plans/look/".concat(request.look_id), {
|
|
3078
3073
|
user_id: request.user_id,
|
|
3079
3074
|
fields: request.fields,
|
|
@@ -3084,7 +3079,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3084
3079
|
scheduled_plans_for_dashboard(callback, request, options) {
|
|
3085
3080
|
var _this360 = this;
|
|
3086
3081
|
return _asyncToGenerator(function* () {
|
|
3087
|
-
request.dashboard_id =
|
|
3082
|
+
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
3088
3083
|
return _this360.authStream(callback, 'GET', "/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3089
3084
|
user_id: request.user_id,
|
|
3090
3085
|
all_users: request.all_users,
|
|
@@ -3095,7 +3090,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3095
3090
|
scheduled_plans_for_lookml_dashboard(callback, request, options) {
|
|
3096
3091
|
var _this361 = this;
|
|
3097
3092
|
return _asyncToGenerator(function* () {
|
|
3098
|
-
request.lookml_dashboard_id =
|
|
3093
|
+
request.lookml_dashboard_id = encodeParam(request.lookml_dashboard_id);
|
|
3099
3094
|
return _this361.authStream(callback, 'GET', "/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3100
3095
|
user_id: request.user_id,
|
|
3101
3096
|
fields: request.fields,
|
|
@@ -3106,7 +3101,7 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3106
3101
|
scheduled_plan_run_once_by_id(callback, scheduled_plan_id, body, options) {
|
|
3107
3102
|
var _this362 = this;
|
|
3108
3103
|
return _asyncToGenerator(function* () {
|
|
3109
|
-
scheduled_plan_id =
|
|
3104
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3110
3105
|
return _this362.authStream(callback, 'POST', "/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3111
3106
|
})();
|
|
3112
3107
|
}
|
|
@@ -3122,24 +3117,45 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3122
3117
|
return _this364.authStream(callback, 'PATCH', '/session', null, body, options);
|
|
3123
3118
|
})();
|
|
3124
3119
|
}
|
|
3125
|
-
|
|
3120
|
+
sql_interface_metadata(callback, avatica_request, options) {
|
|
3126
3121
|
var _this365 = this;
|
|
3127
3122
|
return _asyncToGenerator(function* () {
|
|
3128
|
-
return _this365.authStream(callback, 'GET', '/
|
|
3123
|
+
return _this365.authStream(callback, 'GET', '/sql_interface_queries/metadata', {
|
|
3124
|
+
avatica_request
|
|
3125
|
+
}, null, options);
|
|
3126
|
+
})();
|
|
3127
|
+
}
|
|
3128
|
+
run_sql_interface_query(callback, query_id, result_format, options) {
|
|
3129
|
+
var _this366 = this;
|
|
3130
|
+
return _asyncToGenerator(function* () {
|
|
3131
|
+
result_format = encodeParam(result_format);
|
|
3132
|
+
return _this366.authStream(callback, 'GET', "/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3133
|
+
})();
|
|
3134
|
+
}
|
|
3135
|
+
create_sql_interface_query(callback, body, options) {
|
|
3136
|
+
var _this367 = this;
|
|
3137
|
+
return _asyncToGenerator(function* () {
|
|
3138
|
+
return _this367.authStream(callback, 'POST', '/sql_interface_queries', null, body, options);
|
|
3139
|
+
})();
|
|
3140
|
+
}
|
|
3141
|
+
all_themes(callback, fields, options) {
|
|
3142
|
+
var _this368 = this;
|
|
3143
|
+
return _asyncToGenerator(function* () {
|
|
3144
|
+
return _this368.authStream(callback, 'GET', '/themes', {
|
|
3129
3145
|
fields
|
|
3130
3146
|
}, null, options);
|
|
3131
3147
|
})();
|
|
3132
3148
|
}
|
|
3133
3149
|
create_theme(callback, body, options) {
|
|
3134
|
-
var
|
|
3150
|
+
var _this369 = this;
|
|
3135
3151
|
return _asyncToGenerator(function* () {
|
|
3136
|
-
return
|
|
3152
|
+
return _this369.authStream(callback, 'POST', '/themes', null, body, options);
|
|
3137
3153
|
})();
|
|
3138
3154
|
}
|
|
3139
3155
|
search_themes(callback, request, options) {
|
|
3140
|
-
var
|
|
3156
|
+
var _this370 = this;
|
|
3141
3157
|
return _asyncToGenerator(function* () {
|
|
3142
|
-
return
|
|
3158
|
+
return _this370.authStream(callback, 'GET', '/themes/search', {
|
|
3143
3159
|
id: request.id,
|
|
3144
3160
|
name: request.name,
|
|
3145
3161
|
begin_at: request.begin_at,
|
|
@@ -3153,25 +3169,25 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3153
3169
|
})();
|
|
3154
3170
|
}
|
|
3155
3171
|
default_theme(callback, ts, options) {
|
|
3156
|
-
var
|
|
3172
|
+
var _this371 = this;
|
|
3157
3173
|
return _asyncToGenerator(function* () {
|
|
3158
|
-
return
|
|
3174
|
+
return _this371.authStream(callback, 'GET', '/themes/default', {
|
|
3159
3175
|
ts
|
|
3160
3176
|
}, null, options);
|
|
3161
3177
|
})();
|
|
3162
3178
|
}
|
|
3163
3179
|
set_default_theme(callback, name, options) {
|
|
3164
|
-
var
|
|
3180
|
+
var _this372 = this;
|
|
3165
3181
|
return _asyncToGenerator(function* () {
|
|
3166
|
-
return
|
|
3182
|
+
return _this372.authStream(callback, 'PUT', '/themes/default', {
|
|
3167
3183
|
name
|
|
3168
3184
|
}, null, options);
|
|
3169
3185
|
})();
|
|
3170
3186
|
}
|
|
3171
3187
|
active_themes(callback, request, options) {
|
|
3172
|
-
var
|
|
3188
|
+
var _this373 = this;
|
|
3173
3189
|
return _asyncToGenerator(function* () {
|
|
3174
|
-
return
|
|
3190
|
+
return _this373.authStream(callback, 'GET', '/themes/active', {
|
|
3175
3191
|
name: request.name,
|
|
3176
3192
|
ts: request.ts,
|
|
3177
3193
|
fields: request.fields
|
|
@@ -3179,47 +3195,47 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3179
3195
|
})();
|
|
3180
3196
|
}
|
|
3181
3197
|
theme_or_default(callback, name, ts, options) {
|
|
3182
|
-
var
|
|
3198
|
+
var _this374 = this;
|
|
3183
3199
|
return _asyncToGenerator(function* () {
|
|
3184
|
-
return
|
|
3200
|
+
return _this374.authStream(callback, 'GET', '/themes/theme_or_default', {
|
|
3185
3201
|
name,
|
|
3186
3202
|
ts
|
|
3187
3203
|
}, null, options);
|
|
3188
3204
|
})();
|
|
3189
3205
|
}
|
|
3190
3206
|
validate_theme(callback, body, options) {
|
|
3191
|
-
var
|
|
3207
|
+
var _this375 = this;
|
|
3192
3208
|
return _asyncToGenerator(function* () {
|
|
3193
|
-
return
|
|
3209
|
+
return _this375.authStream(callback, 'POST', '/themes/validate', null, body, options);
|
|
3194
3210
|
})();
|
|
3195
3211
|
}
|
|
3196
3212
|
theme(callback, theme_id, fields, options) {
|
|
3197
|
-
var
|
|
3213
|
+
var _this376 = this;
|
|
3198
3214
|
return _asyncToGenerator(function* () {
|
|
3199
|
-
theme_id =
|
|
3200
|
-
return
|
|
3215
|
+
theme_id = encodeParam(theme_id);
|
|
3216
|
+
return _this376.authStream(callback, 'GET', "/themes/".concat(theme_id), {
|
|
3201
3217
|
fields
|
|
3202
3218
|
}, null, options);
|
|
3203
3219
|
})();
|
|
3204
3220
|
}
|
|
3205
3221
|
update_theme(callback, theme_id, body, options) {
|
|
3206
|
-
var
|
|
3222
|
+
var _this377 = this;
|
|
3207
3223
|
return _asyncToGenerator(function* () {
|
|
3208
|
-
theme_id =
|
|
3209
|
-
return
|
|
3224
|
+
theme_id = encodeParam(theme_id);
|
|
3225
|
+
return _this377.authStream(callback, 'PATCH', "/themes/".concat(theme_id), null, body, options);
|
|
3210
3226
|
})();
|
|
3211
3227
|
}
|
|
3212
3228
|
delete_theme(callback, theme_id, options) {
|
|
3213
|
-
var
|
|
3229
|
+
var _this378 = this;
|
|
3214
3230
|
return _asyncToGenerator(function* () {
|
|
3215
|
-
theme_id =
|
|
3216
|
-
return
|
|
3231
|
+
theme_id = encodeParam(theme_id);
|
|
3232
|
+
return _this378.authStream(callback, 'DELETE', "/themes/".concat(theme_id), null, null, options);
|
|
3217
3233
|
})();
|
|
3218
3234
|
}
|
|
3219
3235
|
search_credentials_email(callback, request, options) {
|
|
3220
|
-
var
|
|
3236
|
+
var _this379 = this;
|
|
3221
3237
|
return _asyncToGenerator(function* () {
|
|
3222
|
-
return
|
|
3238
|
+
return _this379.authStream(callback, 'GET', '/credentials_email/search', {
|
|
3223
3239
|
fields: request.fields,
|
|
3224
3240
|
limit: request.limit,
|
|
3225
3241
|
offset: request.offset,
|
|
@@ -3232,17 +3248,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3232
3248
|
})();
|
|
3233
3249
|
}
|
|
3234
3250
|
me(callback, fields, options) {
|
|
3235
|
-
var
|
|
3251
|
+
var _this380 = this;
|
|
3236
3252
|
return _asyncToGenerator(function* () {
|
|
3237
|
-
return
|
|
3253
|
+
return _this380.authStream(callback, 'GET', '/user', {
|
|
3238
3254
|
fields
|
|
3239
3255
|
}, null, options);
|
|
3240
3256
|
})();
|
|
3241
3257
|
}
|
|
3242
3258
|
all_users(callback, request, options) {
|
|
3243
|
-
var
|
|
3259
|
+
var _this381 = this;
|
|
3244
3260
|
return _asyncToGenerator(function* () {
|
|
3245
|
-
return
|
|
3261
|
+
return _this381.authStream(callback, 'GET', '/users', {
|
|
3246
3262
|
fields: request.fields,
|
|
3247
3263
|
page: request.page,
|
|
3248
3264
|
per_page: request.per_page,
|
|
@@ -3254,17 +3270,17 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3254
3270
|
})();
|
|
3255
3271
|
}
|
|
3256
3272
|
create_user(callback, body, fields, options) {
|
|
3257
|
-
var
|
|
3273
|
+
var _this382 = this;
|
|
3258
3274
|
return _asyncToGenerator(function* () {
|
|
3259
|
-
return
|
|
3275
|
+
return _this382.authStream(callback, 'POST', '/users', {
|
|
3260
3276
|
fields
|
|
3261
3277
|
}, body, options);
|
|
3262
3278
|
})();
|
|
3263
3279
|
}
|
|
3264
3280
|
search_users(callback, request, options) {
|
|
3265
|
-
var
|
|
3281
|
+
var _this383 = this;
|
|
3266
3282
|
return _asyncToGenerator(function* () {
|
|
3267
|
-
return
|
|
3283
|
+
return _this383.authStream(callback, 'GET', '/users/search', {
|
|
3268
3284
|
fields: request.fields,
|
|
3269
3285
|
page: request.page,
|
|
3270
3286
|
per_page: request.per_page,
|
|
@@ -3285,10 +3301,10 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3285
3301
|
})();
|
|
3286
3302
|
}
|
|
3287
3303
|
search_users_names(callback, request, options) {
|
|
3288
|
-
var
|
|
3304
|
+
var _this384 = this;
|
|
3289
3305
|
return _asyncToGenerator(function* () {
|
|
3290
|
-
request.pattern =
|
|
3291
|
-
return
|
|
3306
|
+
request.pattern = encodeParam(request.pattern);
|
|
3307
|
+
return _this384.authStream(callback, 'GET', "/users/search/names/".concat(request.pattern), {
|
|
3292
3308
|
fields: request.fields,
|
|
3293
3309
|
page: request.page,
|
|
3294
3310
|
per_page: request.per_page,
|
|
@@ -3305,303 +3321,303 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3305
3321
|
})();
|
|
3306
3322
|
}
|
|
3307
3323
|
user(callback, user_id, fields, options) {
|
|
3308
|
-
var
|
|
3324
|
+
var _this385 = this;
|
|
3309
3325
|
return _asyncToGenerator(function* () {
|
|
3310
|
-
user_id =
|
|
3311
|
-
return
|
|
3326
|
+
user_id = encodeParam(user_id);
|
|
3327
|
+
return _this385.authStream(callback, 'GET', "/users/".concat(user_id), {
|
|
3312
3328
|
fields
|
|
3313
3329
|
}, null, options);
|
|
3314
3330
|
})();
|
|
3315
3331
|
}
|
|
3316
3332
|
update_user(callback, user_id, body, fields, options) {
|
|
3317
|
-
var
|
|
3333
|
+
var _this386 = this;
|
|
3318
3334
|
return _asyncToGenerator(function* () {
|
|
3319
|
-
user_id =
|
|
3320
|
-
return
|
|
3335
|
+
user_id = encodeParam(user_id);
|
|
3336
|
+
return _this386.authStream(callback, 'PATCH', "/users/".concat(user_id), {
|
|
3321
3337
|
fields
|
|
3322
3338
|
}, body, options);
|
|
3323
3339
|
})();
|
|
3324
3340
|
}
|
|
3325
3341
|
delete_user(callback, user_id, options) {
|
|
3326
|
-
var
|
|
3342
|
+
var _this387 = this;
|
|
3327
3343
|
return _asyncToGenerator(function* () {
|
|
3328
|
-
user_id =
|
|
3329
|
-
return
|
|
3344
|
+
user_id = encodeParam(user_id);
|
|
3345
|
+
return _this387.authStream(callback, 'DELETE', "/users/".concat(user_id), null, null, options);
|
|
3330
3346
|
})();
|
|
3331
3347
|
}
|
|
3332
3348
|
user_for_credential(callback, credential_type, credential_id, fields, options) {
|
|
3333
|
-
var
|
|
3349
|
+
var _this388 = this;
|
|
3334
3350
|
return _asyncToGenerator(function* () {
|
|
3335
|
-
credential_type =
|
|
3336
|
-
credential_id =
|
|
3337
|
-
return
|
|
3351
|
+
credential_type = encodeParam(credential_type);
|
|
3352
|
+
credential_id = encodeParam(credential_id);
|
|
3353
|
+
return _this388.authStream(callback, 'GET', "/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3338
3354
|
fields
|
|
3339
3355
|
}, null, options);
|
|
3340
3356
|
})();
|
|
3341
3357
|
}
|
|
3342
3358
|
user_credentials_email(callback, user_id, fields, options) {
|
|
3343
|
-
var
|
|
3359
|
+
var _this389 = this;
|
|
3344
3360
|
return _asyncToGenerator(function* () {
|
|
3345
|
-
user_id =
|
|
3346
|
-
return
|
|
3361
|
+
user_id = encodeParam(user_id);
|
|
3362
|
+
return _this389.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_email"), {
|
|
3347
3363
|
fields
|
|
3348
3364
|
}, null, options);
|
|
3349
3365
|
})();
|
|
3350
3366
|
}
|
|
3351
3367
|
create_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3352
|
-
var
|
|
3368
|
+
var _this390 = this;
|
|
3353
3369
|
return _asyncToGenerator(function* () {
|
|
3354
|
-
user_id =
|
|
3355
|
-
return
|
|
3370
|
+
user_id = encodeParam(user_id);
|
|
3371
|
+
return _this390.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email"), {
|
|
3356
3372
|
fields
|
|
3357
3373
|
}, body, options);
|
|
3358
3374
|
})();
|
|
3359
3375
|
}
|
|
3360
3376
|
update_user_credentials_email(callback, user_id, body, fields, options) {
|
|
3361
|
-
var
|
|
3377
|
+
var _this391 = this;
|
|
3362
3378
|
return _asyncToGenerator(function* () {
|
|
3363
|
-
user_id =
|
|
3364
|
-
return
|
|
3379
|
+
user_id = encodeParam(user_id);
|
|
3380
|
+
return _this391.authStream(callback, 'PATCH', "/users/".concat(user_id, "/credentials_email"), {
|
|
3365
3381
|
fields
|
|
3366
3382
|
}, body, options);
|
|
3367
3383
|
})();
|
|
3368
3384
|
}
|
|
3369
3385
|
delete_user_credentials_email(callback, user_id, options) {
|
|
3370
|
-
var
|
|
3386
|
+
var _this392 = this;
|
|
3371
3387
|
return _asyncToGenerator(function* () {
|
|
3372
|
-
user_id =
|
|
3373
|
-
return
|
|
3388
|
+
user_id = encodeParam(user_id);
|
|
3389
|
+
return _this392.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3374
3390
|
})();
|
|
3375
3391
|
}
|
|
3376
3392
|
user_credentials_totp(callback, user_id, fields, options) {
|
|
3377
|
-
var
|
|
3393
|
+
var _this393 = this;
|
|
3378
3394
|
return _asyncToGenerator(function* () {
|
|
3379
|
-
user_id =
|
|
3380
|
-
return
|
|
3395
|
+
user_id = encodeParam(user_id);
|
|
3396
|
+
return _this393.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3381
3397
|
fields
|
|
3382
3398
|
}, null, options);
|
|
3383
3399
|
})();
|
|
3384
3400
|
}
|
|
3385
3401
|
create_user_credentials_totp(callback, user_id, body, fields, options) {
|
|
3386
|
-
var
|
|
3402
|
+
var _this394 = this;
|
|
3387
3403
|
return _asyncToGenerator(function* () {
|
|
3388
|
-
user_id =
|
|
3389
|
-
return
|
|
3404
|
+
user_id = encodeParam(user_id);
|
|
3405
|
+
return _this394.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_totp"), {
|
|
3390
3406
|
fields
|
|
3391
3407
|
}, body, options);
|
|
3392
3408
|
})();
|
|
3393
3409
|
}
|
|
3394
3410
|
delete_user_credentials_totp(callback, user_id, options) {
|
|
3395
|
-
var
|
|
3411
|
+
var _this395 = this;
|
|
3396
3412
|
return _asyncToGenerator(function* () {
|
|
3397
|
-
user_id =
|
|
3398
|
-
return
|
|
3413
|
+
user_id = encodeParam(user_id);
|
|
3414
|
+
return _this395.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3399
3415
|
})();
|
|
3400
3416
|
}
|
|
3401
3417
|
user_credentials_ldap(callback, user_id, fields, options) {
|
|
3402
|
-
var
|
|
3418
|
+
var _this396 = this;
|
|
3403
3419
|
return _asyncToGenerator(function* () {
|
|
3404
|
-
user_id =
|
|
3405
|
-
return
|
|
3420
|
+
user_id = encodeParam(user_id);
|
|
3421
|
+
return _this396.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_ldap"), {
|
|
3406
3422
|
fields
|
|
3407
3423
|
}, null, options);
|
|
3408
3424
|
})();
|
|
3409
3425
|
}
|
|
3410
3426
|
delete_user_credentials_ldap(callback, user_id, options) {
|
|
3411
|
-
var
|
|
3427
|
+
var _this397 = this;
|
|
3412
3428
|
return _asyncToGenerator(function* () {
|
|
3413
|
-
user_id =
|
|
3414
|
-
return
|
|
3429
|
+
user_id = encodeParam(user_id);
|
|
3430
|
+
return _this397.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3415
3431
|
})();
|
|
3416
3432
|
}
|
|
3417
3433
|
user_credentials_google(callback, user_id, fields, options) {
|
|
3418
|
-
var
|
|
3434
|
+
var _this398 = this;
|
|
3419
3435
|
return _asyncToGenerator(function* () {
|
|
3420
|
-
user_id =
|
|
3421
|
-
return
|
|
3436
|
+
user_id = encodeParam(user_id);
|
|
3437
|
+
return _this398.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_google"), {
|
|
3422
3438
|
fields
|
|
3423
3439
|
}, null, options);
|
|
3424
3440
|
})();
|
|
3425
3441
|
}
|
|
3426
3442
|
delete_user_credentials_google(callback, user_id, options) {
|
|
3427
|
-
var
|
|
3443
|
+
var _this399 = this;
|
|
3428
3444
|
return _asyncToGenerator(function* () {
|
|
3429
|
-
user_id =
|
|
3430
|
-
return
|
|
3445
|
+
user_id = encodeParam(user_id);
|
|
3446
|
+
return _this399.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3431
3447
|
})();
|
|
3432
3448
|
}
|
|
3433
3449
|
user_credentials_saml(callback, user_id, fields, options) {
|
|
3434
|
-
var
|
|
3450
|
+
var _this400 = this;
|
|
3435
3451
|
return _asyncToGenerator(function* () {
|
|
3436
|
-
user_id =
|
|
3437
|
-
return
|
|
3452
|
+
user_id = encodeParam(user_id);
|
|
3453
|
+
return _this400.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_saml"), {
|
|
3438
3454
|
fields
|
|
3439
3455
|
}, null, options);
|
|
3440
3456
|
})();
|
|
3441
3457
|
}
|
|
3442
3458
|
delete_user_credentials_saml(callback, user_id, options) {
|
|
3443
|
-
var
|
|
3459
|
+
var _this401 = this;
|
|
3444
3460
|
return _asyncToGenerator(function* () {
|
|
3445
|
-
user_id =
|
|
3446
|
-
return
|
|
3461
|
+
user_id = encodeParam(user_id);
|
|
3462
|
+
return _this401.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3447
3463
|
})();
|
|
3448
3464
|
}
|
|
3449
3465
|
user_credentials_oidc(callback, user_id, fields, options) {
|
|
3450
|
-
var
|
|
3466
|
+
var _this402 = this;
|
|
3451
3467
|
return _asyncToGenerator(function* () {
|
|
3452
|
-
user_id =
|
|
3453
|
-
return
|
|
3468
|
+
user_id = encodeParam(user_id);
|
|
3469
|
+
return _this402.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_oidc"), {
|
|
3454
3470
|
fields
|
|
3455
3471
|
}, null, options);
|
|
3456
3472
|
})();
|
|
3457
3473
|
}
|
|
3458
3474
|
delete_user_credentials_oidc(callback, user_id, options) {
|
|
3459
|
-
var
|
|
3475
|
+
var _this403 = this;
|
|
3460
3476
|
return _asyncToGenerator(function* () {
|
|
3461
|
-
user_id =
|
|
3462
|
-
return
|
|
3477
|
+
user_id = encodeParam(user_id);
|
|
3478
|
+
return _this403.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3463
3479
|
})();
|
|
3464
3480
|
}
|
|
3465
3481
|
user_credentials_api3(callback, user_id, credentials_api3_id, fields, options) {
|
|
3466
|
-
var
|
|
3482
|
+
var _this404 = this;
|
|
3467
3483
|
return _asyncToGenerator(function* () {
|
|
3468
|
-
user_id =
|
|
3469
|
-
credentials_api3_id =
|
|
3470
|
-
return
|
|
3484
|
+
user_id = encodeParam(user_id);
|
|
3485
|
+
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3486
|
+
return _this404.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3471
3487
|
fields
|
|
3472
3488
|
}, null, options);
|
|
3473
3489
|
})();
|
|
3474
3490
|
}
|
|
3475
3491
|
delete_user_credentials_api3(callback, user_id, credentials_api3_id, options) {
|
|
3476
|
-
var
|
|
3492
|
+
var _this405 = this;
|
|
3477
3493
|
return _asyncToGenerator(function* () {
|
|
3478
|
-
user_id =
|
|
3479
|
-
credentials_api3_id =
|
|
3480
|
-
return
|
|
3494
|
+
user_id = encodeParam(user_id);
|
|
3495
|
+
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3496
|
+
return _this405.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3481
3497
|
})();
|
|
3482
3498
|
}
|
|
3483
3499
|
all_user_credentials_api3s(callback, user_id, fields, options) {
|
|
3484
|
-
var
|
|
3500
|
+
var _this406 = this;
|
|
3485
3501
|
return _asyncToGenerator(function* () {
|
|
3486
|
-
user_id =
|
|
3487
|
-
return
|
|
3502
|
+
user_id = encodeParam(user_id);
|
|
3503
|
+
return _this406.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3488
3504
|
fields
|
|
3489
3505
|
}, null, options);
|
|
3490
3506
|
})();
|
|
3491
3507
|
}
|
|
3492
3508
|
create_user_credentials_api3(callback, user_id, fields, options) {
|
|
3493
|
-
var
|
|
3509
|
+
var _this407 = this;
|
|
3494
3510
|
return _asyncToGenerator(function* () {
|
|
3495
|
-
user_id =
|
|
3496
|
-
return
|
|
3511
|
+
user_id = encodeParam(user_id);
|
|
3512
|
+
return _this407.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_api3"), {
|
|
3497
3513
|
fields
|
|
3498
3514
|
}, null, options);
|
|
3499
3515
|
})();
|
|
3500
3516
|
}
|
|
3501
3517
|
user_credentials_embed(callback, user_id, credentials_embed_id, fields, options) {
|
|
3502
|
-
var
|
|
3518
|
+
var _this408 = this;
|
|
3503
3519
|
return _asyncToGenerator(function* () {
|
|
3504
|
-
user_id =
|
|
3505
|
-
credentials_embed_id =
|
|
3506
|
-
return
|
|
3520
|
+
user_id = encodeParam(user_id);
|
|
3521
|
+
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
3522
|
+
return _this408.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3507
3523
|
fields
|
|
3508
3524
|
}, null, options);
|
|
3509
3525
|
})();
|
|
3510
3526
|
}
|
|
3511
3527
|
delete_user_credentials_embed(callback, user_id, credentials_embed_id, options) {
|
|
3512
|
-
var
|
|
3528
|
+
var _this409 = this;
|
|
3513
3529
|
return _asyncToGenerator(function* () {
|
|
3514
|
-
user_id =
|
|
3515
|
-
credentials_embed_id =
|
|
3516
|
-
return
|
|
3530
|
+
user_id = encodeParam(user_id);
|
|
3531
|
+
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
3532
|
+
return _this409.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3517
3533
|
})();
|
|
3518
3534
|
}
|
|
3519
3535
|
all_user_credentials_embeds(callback, user_id, fields, options) {
|
|
3520
|
-
var
|
|
3536
|
+
var _this410 = this;
|
|
3521
3537
|
return _asyncToGenerator(function* () {
|
|
3522
|
-
user_id =
|
|
3523
|
-
return
|
|
3538
|
+
user_id = encodeParam(user_id);
|
|
3539
|
+
return _this410.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_embed"), {
|
|
3524
3540
|
fields
|
|
3525
3541
|
}, null, options);
|
|
3526
3542
|
})();
|
|
3527
3543
|
}
|
|
3528
3544
|
user_credentials_looker_openid(callback, user_id, fields, options) {
|
|
3529
|
-
var
|
|
3545
|
+
var _this411 = this;
|
|
3530
3546
|
return _asyncToGenerator(function* () {
|
|
3531
|
-
user_id =
|
|
3532
|
-
return
|
|
3547
|
+
user_id = encodeParam(user_id);
|
|
3548
|
+
return _this411.authStream(callback, 'GET', "/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3533
3549
|
fields
|
|
3534
3550
|
}, null, options);
|
|
3535
3551
|
})();
|
|
3536
3552
|
}
|
|
3537
3553
|
delete_user_credentials_looker_openid(callback, user_id, options) {
|
|
3538
|
-
var
|
|
3554
|
+
var _this412 = this;
|
|
3539
3555
|
return _asyncToGenerator(function* () {
|
|
3540
|
-
user_id =
|
|
3541
|
-
return
|
|
3556
|
+
user_id = encodeParam(user_id);
|
|
3557
|
+
return _this412.authStream(callback, 'DELETE', "/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3542
3558
|
})();
|
|
3543
3559
|
}
|
|
3544
3560
|
user_session(callback, user_id, session_id, fields, options) {
|
|
3545
|
-
var
|
|
3561
|
+
var _this413 = this;
|
|
3546
3562
|
return _asyncToGenerator(function* () {
|
|
3547
|
-
user_id =
|
|
3548
|
-
session_id =
|
|
3549
|
-
return
|
|
3563
|
+
user_id = encodeParam(user_id);
|
|
3564
|
+
session_id = encodeParam(session_id);
|
|
3565
|
+
return _this413.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3550
3566
|
fields
|
|
3551
3567
|
}, null, options);
|
|
3552
3568
|
})();
|
|
3553
3569
|
}
|
|
3554
3570
|
delete_user_session(callback, user_id, session_id, options) {
|
|
3555
|
-
var
|
|
3571
|
+
var _this414 = this;
|
|
3556
3572
|
return _asyncToGenerator(function* () {
|
|
3557
|
-
user_id =
|
|
3558
|
-
session_id =
|
|
3559
|
-
return
|
|
3573
|
+
user_id = encodeParam(user_id);
|
|
3574
|
+
session_id = encodeParam(session_id);
|
|
3575
|
+
return _this414.authStream(callback, 'DELETE', "/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3560
3576
|
})();
|
|
3561
3577
|
}
|
|
3562
3578
|
all_user_sessions(callback, user_id, fields, options) {
|
|
3563
|
-
var
|
|
3579
|
+
var _this415 = this;
|
|
3564
3580
|
return _asyncToGenerator(function* () {
|
|
3565
|
-
user_id =
|
|
3566
|
-
return
|
|
3581
|
+
user_id = encodeParam(user_id);
|
|
3582
|
+
return _this415.authStream(callback, 'GET', "/users/".concat(user_id, "/sessions"), {
|
|
3567
3583
|
fields
|
|
3568
3584
|
}, null, options);
|
|
3569
3585
|
})();
|
|
3570
3586
|
}
|
|
3571
3587
|
create_user_credentials_email_password_reset(callback, request, options) {
|
|
3572
|
-
var
|
|
3588
|
+
var _this416 = this;
|
|
3573
3589
|
return _asyncToGenerator(function* () {
|
|
3574
|
-
request.user_id =
|
|
3575
|
-
return
|
|
3590
|
+
request.user_id = encodeParam(request.user_id);
|
|
3591
|
+
return _this416.authStream(callback, 'POST', "/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3576
3592
|
expires: request.expires,
|
|
3577
3593
|
fields: request.fields
|
|
3578
3594
|
}, null, options);
|
|
3579
3595
|
})();
|
|
3580
3596
|
}
|
|
3581
3597
|
user_roles(callback, request, options) {
|
|
3582
|
-
var
|
|
3598
|
+
var _this417 = this;
|
|
3583
3599
|
return _asyncToGenerator(function* () {
|
|
3584
|
-
request.user_id =
|
|
3585
|
-
return
|
|
3600
|
+
request.user_id = encodeParam(request.user_id);
|
|
3601
|
+
return _this417.authStream(callback, 'GET', "/users/".concat(request.user_id, "/roles"), {
|
|
3586
3602
|
fields: request.fields,
|
|
3587
3603
|
direct_association_only: request.direct_association_only
|
|
3588
3604
|
}, null, options);
|
|
3589
3605
|
})();
|
|
3590
3606
|
}
|
|
3591
3607
|
set_user_roles(callback, user_id, body, fields, options) {
|
|
3592
|
-
var
|
|
3608
|
+
var _this418 = this;
|
|
3593
3609
|
return _asyncToGenerator(function* () {
|
|
3594
|
-
user_id =
|
|
3595
|
-
return
|
|
3610
|
+
user_id = encodeParam(user_id);
|
|
3611
|
+
return _this418.authStream(callback, 'PUT', "/users/".concat(user_id, "/roles"), {
|
|
3596
3612
|
fields
|
|
3597
3613
|
}, body, options);
|
|
3598
3614
|
})();
|
|
3599
3615
|
}
|
|
3600
3616
|
user_attribute_user_values(callback, request, options) {
|
|
3601
|
-
var
|
|
3617
|
+
var _this419 = this;
|
|
3602
3618
|
return _asyncToGenerator(function* () {
|
|
3603
|
-
request.user_id =
|
|
3604
|
-
return
|
|
3619
|
+
request.user_id = encodeParam(request.user_id);
|
|
3620
|
+
return _this419.authStream(callback, 'GET', "/users/".concat(request.user_id, "/attribute_values"), {
|
|
3605
3621
|
fields: request.fields,
|
|
3606
3622
|
user_attribute_ids: request.user_attribute_ids,
|
|
3607
3623
|
all_values: request.all_values,
|
|
@@ -3610,117 +3626,116 @@ class Looker40SDKStream extends _sdkRtl.APIMethods {
|
|
|
3610
3626
|
})();
|
|
3611
3627
|
}
|
|
3612
3628
|
set_user_attribute_user_value(callback, user_id, user_attribute_id, body, options) {
|
|
3613
|
-
var
|
|
3629
|
+
var _this420 = this;
|
|
3614
3630
|
return _asyncToGenerator(function* () {
|
|
3615
|
-
user_id =
|
|
3616
|
-
user_attribute_id =
|
|
3617
|
-
return
|
|
3631
|
+
user_id = encodeParam(user_id);
|
|
3632
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3633
|
+
return _this420.authStream(callback, 'PATCH', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3618
3634
|
})();
|
|
3619
3635
|
}
|
|
3620
3636
|
delete_user_attribute_user_value(callback, user_id, user_attribute_id, options) {
|
|
3621
|
-
var
|
|
3637
|
+
var _this421 = this;
|
|
3622
3638
|
return _asyncToGenerator(function* () {
|
|
3623
|
-
user_id =
|
|
3624
|
-
user_attribute_id =
|
|
3625
|
-
return
|
|
3639
|
+
user_id = encodeParam(user_id);
|
|
3640
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3641
|
+
return _this421.authStream(callback, 'DELETE', "/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3626
3642
|
})();
|
|
3627
3643
|
}
|
|
3628
3644
|
send_user_credentials_email_password_reset(callback, user_id, fields, options) {
|
|
3629
|
-
var
|
|
3645
|
+
var _this422 = this;
|
|
3630
3646
|
return _asyncToGenerator(function* () {
|
|
3631
|
-
user_id =
|
|
3632
|
-
return
|
|
3647
|
+
user_id = encodeParam(user_id);
|
|
3648
|
+
return _this422.authStream(callback, 'POST', "/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3633
3649
|
fields
|
|
3634
3650
|
}, null, options);
|
|
3635
3651
|
})();
|
|
3636
3652
|
}
|
|
3637
3653
|
wipeout_user_emails(callback, user_id, body, fields, options) {
|
|
3638
|
-
var
|
|
3654
|
+
var _this423 = this;
|
|
3639
3655
|
return _asyncToGenerator(function* () {
|
|
3640
|
-
user_id =
|
|
3641
|
-
return
|
|
3656
|
+
user_id = encodeParam(user_id);
|
|
3657
|
+
return _this423.authStream(callback, 'POST', "/users/".concat(user_id, "/update_emails"), {
|
|
3642
3658
|
fields
|
|
3643
3659
|
}, body, options);
|
|
3644
3660
|
})();
|
|
3645
3661
|
}
|
|
3646
3662
|
create_embed_user(callback, body, options) {
|
|
3647
|
-
var
|
|
3663
|
+
var _this424 = this;
|
|
3648
3664
|
return _asyncToGenerator(function* () {
|
|
3649
|
-
return
|
|
3665
|
+
return _this424.authStream(callback, 'POST', '/users/embed_user', null, body, options);
|
|
3650
3666
|
})();
|
|
3651
3667
|
}
|
|
3652
3668
|
all_user_attributes(callback, request, options) {
|
|
3653
|
-
var
|
|
3669
|
+
var _this425 = this;
|
|
3654
3670
|
return _asyncToGenerator(function* () {
|
|
3655
|
-
return
|
|
3671
|
+
return _this425.authStream(callback, 'GET', '/user_attributes', {
|
|
3656
3672
|
fields: request.fields,
|
|
3657
3673
|
sorts: request.sorts
|
|
3658
3674
|
}, null, options);
|
|
3659
3675
|
})();
|
|
3660
3676
|
}
|
|
3661
3677
|
create_user_attribute(callback, body, fields, options) {
|
|
3662
|
-
var
|
|
3678
|
+
var _this426 = this;
|
|
3663
3679
|
return _asyncToGenerator(function* () {
|
|
3664
|
-
return
|
|
3680
|
+
return _this426.authStream(callback, 'POST', '/user_attributes', {
|
|
3665
3681
|
fields
|
|
3666
3682
|
}, body, options);
|
|
3667
3683
|
})();
|
|
3668
3684
|
}
|
|
3669
3685
|
user_attribute(callback, user_attribute_id, fields, options) {
|
|
3670
|
-
var
|
|
3686
|
+
var _this427 = this;
|
|
3671
3687
|
return _asyncToGenerator(function* () {
|
|
3672
|
-
user_attribute_id =
|
|
3673
|
-
return
|
|
3688
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3689
|
+
return _this427.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id), {
|
|
3674
3690
|
fields
|
|
3675
3691
|
}, null, options);
|
|
3676
3692
|
})();
|
|
3677
3693
|
}
|
|
3678
3694
|
update_user_attribute(callback, user_attribute_id, body, fields, options) {
|
|
3679
|
-
var
|
|
3695
|
+
var _this428 = this;
|
|
3680
3696
|
return _asyncToGenerator(function* () {
|
|
3681
|
-
user_attribute_id =
|
|
3682
|
-
return
|
|
3697
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3698
|
+
return _this428.authStream(callback, 'PATCH', "/user_attributes/".concat(user_attribute_id), {
|
|
3683
3699
|
fields
|
|
3684
3700
|
}, body, options);
|
|
3685
3701
|
})();
|
|
3686
3702
|
}
|
|
3687
3703
|
delete_user_attribute(callback, user_attribute_id, options) {
|
|
3688
|
-
var
|
|
3704
|
+
var _this429 = this;
|
|
3689
3705
|
return _asyncToGenerator(function* () {
|
|
3690
|
-
user_attribute_id =
|
|
3691
|
-
return
|
|
3706
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3707
|
+
return _this429.authStream(callback, 'DELETE', "/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3692
3708
|
})();
|
|
3693
3709
|
}
|
|
3694
3710
|
all_user_attribute_group_values(callback, user_attribute_id, fields, options) {
|
|
3695
|
-
var
|
|
3711
|
+
var _this430 = this;
|
|
3696
3712
|
return _asyncToGenerator(function* () {
|
|
3697
|
-
user_attribute_id =
|
|
3698
|
-
return
|
|
3713
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3714
|
+
return _this430.authStream(callback, 'GET', "/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3699
3715
|
fields
|
|
3700
3716
|
}, null, options);
|
|
3701
3717
|
})();
|
|
3702
3718
|
}
|
|
3703
3719
|
set_user_attribute_group_values(callback, user_attribute_id, body, options) {
|
|
3704
|
-
var
|
|
3720
|
+
var _this431 = this;
|
|
3705
3721
|
return _asyncToGenerator(function* () {
|
|
3706
|
-
user_attribute_id =
|
|
3707
|
-
return
|
|
3722
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3723
|
+
return _this431.authStream(callback, 'POST', "/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3708
3724
|
})();
|
|
3709
3725
|
}
|
|
3710
3726
|
all_workspaces(callback, options) {
|
|
3711
|
-
var
|
|
3727
|
+
var _this432 = this;
|
|
3712
3728
|
return _asyncToGenerator(function* () {
|
|
3713
|
-
return
|
|
3729
|
+
return _this432.authStream(callback, 'GET', '/workspaces', null, null, options);
|
|
3714
3730
|
})();
|
|
3715
3731
|
}
|
|
3716
3732
|
workspace(callback, workspace_id, options) {
|
|
3717
|
-
var
|
|
3733
|
+
var _this433 = this;
|
|
3718
3734
|
return _asyncToGenerator(function* () {
|
|
3719
|
-
workspace_id =
|
|
3720
|
-
return
|
|
3735
|
+
workspace_id = encodeParam(workspace_id);
|
|
3736
|
+
return _this433.authStream(callback, 'GET', "/workspaces/".concat(workspace_id), null, null, options);
|
|
3721
3737
|
})();
|
|
3722
3738
|
}
|
|
3723
3739
|
}
|
|
3724
|
-
exports.Looker40SDKStream = Looker40SDKStream;
|
|
3725
3740
|
_defineProperty(Looker40SDKStream, "ApiVersion", '4.0');
|
|
3726
3741
|
//# sourceMappingURL=streams.js.map
|