@looker/sdk 23.16.0 → 23.20.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 -6
- package/lib/4.0/funcs.js +377 -379
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +6 -6
- package/lib/4.0/methods.js +250 -252
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +6 -6
- package/lib/4.0/methodsInterface.js.map +1 -1
- package/lib/4.0/models.d.ts +55 -5
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +5 -5
- package/lib/4.0/streams.js +250 -252
- 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 +1105 -1551
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +555 -564
- 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 +555 -564
- 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/methods.js
CHANGED
|
@@ -1,33 +1,27 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Looker40SDK = 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 Looker40SDK extends APIMethods {
|
|
15
9
|
constructor(authSession) {
|
|
16
|
-
super(authSession,
|
|
10
|
+
super(authSession, sdkVersion);
|
|
17
11
|
this.apiVersion = Looker40SDK.ApiVersion;
|
|
18
12
|
this.apiPath = authSession.settings.base_url === '' ? '' : authSession.settings.base_url + '/api/' + this.apiVersion;
|
|
19
13
|
}
|
|
20
14
|
follow_alert(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.post("/alerts/".concat(alert_id, "/follow"), null, null, options);
|
|
25
19
|
})();
|
|
26
20
|
}
|
|
27
21
|
unfollow_alert(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.delete("/alerts/".concat(alert_id, "/follow"), null, null, options);
|
|
32
26
|
})();
|
|
33
27
|
}
|
|
@@ -51,28 +45,28 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
51
45
|
get_alert(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.get("/alerts/".concat(alert_id), null, null, options);
|
|
56
50
|
})();
|
|
57
51
|
}
|
|
58
52
|
update_alert(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.put("/alerts/".concat(alert_id), null, body, options);
|
|
63
57
|
})();
|
|
64
58
|
}
|
|
65
59
|
update_alert_field(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.patch("/alerts/".concat(alert_id), null, body, options);
|
|
70
64
|
})();
|
|
71
65
|
}
|
|
72
66
|
delete_alert(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.delete("/alerts/".concat(alert_id), null, null, options);
|
|
77
71
|
})();
|
|
78
72
|
}
|
|
@@ -85,7 +79,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
85
79
|
enqueue_alert(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.post("/alerts/".concat(alert_id, "/enqueue"), {
|
|
90
84
|
force
|
|
91
85
|
}, null, options);
|
|
@@ -103,7 +97,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
103
97
|
read_alert_notification(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.patch("/alert_notifications/".concat(alert_notification_id), null, null, options);
|
|
108
102
|
})();
|
|
109
103
|
}
|
|
@@ -119,7 +113,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
119
113
|
login_user(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.post("/login/".concat(user_id), {
|
|
124
118
|
associative
|
|
125
119
|
}, null, options);
|
|
@@ -152,7 +146,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
152
146
|
artifact_value(namespace, key, options) {
|
|
153
147
|
var _this17 = this;
|
|
154
148
|
return _asyncToGenerator(function* () {
|
|
155
|
-
namespace =
|
|
149
|
+
namespace = encodeParam(namespace);
|
|
156
150
|
return _this17.get("/artifact/".concat(namespace, "/value"), {
|
|
157
151
|
key
|
|
158
152
|
}, null, options);
|
|
@@ -161,14 +155,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
161
155
|
purge_artifacts(namespace, options) {
|
|
162
156
|
var _this18 = this;
|
|
163
157
|
return _asyncToGenerator(function* () {
|
|
164
|
-
namespace =
|
|
158
|
+
namespace = encodeParam(namespace);
|
|
165
159
|
return _this18.delete("/artifact/".concat(namespace, "/purge"), null, null, options);
|
|
166
160
|
})();
|
|
167
161
|
}
|
|
168
162
|
search_artifacts(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.get("/artifact/".concat(request.namespace, "/search"), {
|
|
173
167
|
fields: request.fields,
|
|
174
168
|
key: request.key,
|
|
@@ -183,7 +177,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
183
177
|
artifact(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.get("/artifact/".concat(request.namespace), {
|
|
188
182
|
key: request.key,
|
|
189
183
|
fields: request.fields,
|
|
@@ -195,7 +189,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
195
189
|
delete_artifact(namespace, key, options) {
|
|
196
190
|
var _this21 = this;
|
|
197
191
|
return _asyncToGenerator(function* () {
|
|
198
|
-
namespace =
|
|
192
|
+
namespace = encodeParam(namespace);
|
|
199
193
|
return _this21.delete("/artifact/".concat(namespace), {
|
|
200
194
|
key
|
|
201
195
|
}, null, options);
|
|
@@ -204,7 +198,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
204
198
|
update_artifacts(namespace, body, fields, options) {
|
|
205
199
|
var _this22 = this;
|
|
206
200
|
return _asyncToGenerator(function* () {
|
|
207
|
-
namespace =
|
|
201
|
+
namespace = encodeParam(namespace);
|
|
208
202
|
return _this22.put("/artifacts/".concat(namespace), {
|
|
209
203
|
fields
|
|
210
204
|
}, body, options);
|
|
@@ -219,7 +213,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
219
213
|
delete_embed_secret(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.delete("/embed_config/secrets/".concat(embed_secret_id), null, null, options);
|
|
224
218
|
})();
|
|
225
219
|
}
|
|
@@ -252,7 +246,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
252
246
|
delete_embed_cookieless_session(session_reference_token, options) {
|
|
253
247
|
var _this29 = this;
|
|
254
248
|
return _asyncToGenerator(function* () {
|
|
255
|
-
session_reference_token =
|
|
249
|
+
session_reference_token = encodeParam(session_reference_token);
|
|
256
250
|
return _this29.delete("/embed/cookieless_session/".concat(session_reference_token), null, null, options);
|
|
257
251
|
})();
|
|
258
252
|
}
|
|
@@ -307,14 +301,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
307
301
|
update_mobile_device_registration(device_id, options) {
|
|
308
302
|
var _this38 = this;
|
|
309
303
|
return _asyncToGenerator(function* () {
|
|
310
|
-
device_id =
|
|
304
|
+
device_id = encodeParam(device_id);
|
|
311
305
|
return _this38.patch("/mobile/device/".concat(device_id), null, null, options);
|
|
312
306
|
})();
|
|
313
307
|
}
|
|
314
308
|
deregister_mobile_device(device_id, options) {
|
|
315
309
|
var _this39 = this;
|
|
316
310
|
return _asyncToGenerator(function* () {
|
|
317
|
-
device_id =
|
|
311
|
+
device_id = encodeParam(device_id);
|
|
318
312
|
return _this39.delete("/mobile/device/".concat(device_id), null, null, options);
|
|
319
313
|
})();
|
|
320
314
|
}
|
|
@@ -329,7 +323,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
329
323
|
oauth_client_app(client_guid, fields, options) {
|
|
330
324
|
var _this41 = this;
|
|
331
325
|
return _asyncToGenerator(function* () {
|
|
332
|
-
client_guid =
|
|
326
|
+
client_guid = encodeParam(client_guid);
|
|
333
327
|
return _this41.get("/oauth_client_apps/".concat(client_guid), {
|
|
334
328
|
fields
|
|
335
329
|
}, null, options);
|
|
@@ -338,7 +332,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
338
332
|
register_oauth_client_app(client_guid, body, fields, options) {
|
|
339
333
|
var _this42 = this;
|
|
340
334
|
return _asyncToGenerator(function* () {
|
|
341
|
-
client_guid =
|
|
335
|
+
client_guid = encodeParam(client_guid);
|
|
342
336
|
return _this42.post("/oauth_client_apps/".concat(client_guid), {
|
|
343
337
|
fields
|
|
344
338
|
}, body, options);
|
|
@@ -347,7 +341,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
347
341
|
update_oauth_client_app(client_guid, body, fields, options) {
|
|
348
342
|
var _this43 = this;
|
|
349
343
|
return _asyncToGenerator(function* () {
|
|
350
|
-
client_guid =
|
|
344
|
+
client_guid = encodeParam(client_guid);
|
|
351
345
|
return _this43.patch("/oauth_client_apps/".concat(client_guid), {
|
|
352
346
|
fields
|
|
353
347
|
}, body, options);
|
|
@@ -356,22 +350,22 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
356
350
|
delete_oauth_client_app(client_guid, options) {
|
|
357
351
|
var _this44 = this;
|
|
358
352
|
return _asyncToGenerator(function* () {
|
|
359
|
-
client_guid =
|
|
353
|
+
client_guid = encodeParam(client_guid);
|
|
360
354
|
return _this44.delete("/oauth_client_apps/".concat(client_guid), null, null, options);
|
|
361
355
|
})();
|
|
362
356
|
}
|
|
363
357
|
invalidate_tokens(client_guid, options) {
|
|
364
358
|
var _this45 = this;
|
|
365
359
|
return _asyncToGenerator(function* () {
|
|
366
|
-
client_guid =
|
|
360
|
+
client_guid = encodeParam(client_guid);
|
|
367
361
|
return _this45.delete("/oauth_client_apps/".concat(client_guid, "/tokens"), null, null, options);
|
|
368
362
|
})();
|
|
369
363
|
}
|
|
370
364
|
activate_app_user(client_guid, user_id, fields, options) {
|
|
371
365
|
var _this46 = this;
|
|
372
366
|
return _asyncToGenerator(function* () {
|
|
373
|
-
client_guid =
|
|
374
|
-
user_id =
|
|
367
|
+
client_guid = encodeParam(client_guid);
|
|
368
|
+
user_id = encodeParam(user_id);
|
|
375
369
|
return _this46.post("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
376
370
|
fields
|
|
377
371
|
}, null, options);
|
|
@@ -380,8 +374,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
380
374
|
deactivate_app_user(client_guid, user_id, fields, options) {
|
|
381
375
|
var _this47 = this;
|
|
382
376
|
return _asyncToGenerator(function* () {
|
|
383
|
-
client_guid =
|
|
384
|
-
user_id =
|
|
377
|
+
client_guid = encodeParam(client_guid);
|
|
378
|
+
user_id = encodeParam(user_id);
|
|
385
379
|
return _this47.delete("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
386
380
|
fields
|
|
387
381
|
}, null, options);
|
|
@@ -402,14 +396,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
402
396
|
oidc_test_config(test_slug, options) {
|
|
403
397
|
var _this50 = this;
|
|
404
398
|
return _asyncToGenerator(function* () {
|
|
405
|
-
test_slug =
|
|
399
|
+
test_slug = encodeParam(test_slug);
|
|
406
400
|
return _this50.get("/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
407
401
|
})();
|
|
408
402
|
}
|
|
409
403
|
delete_oidc_test_config(test_slug, options) {
|
|
410
404
|
var _this51 = this;
|
|
411
405
|
return _asyncToGenerator(function* () {
|
|
412
|
-
test_slug =
|
|
406
|
+
test_slug = encodeParam(test_slug);
|
|
413
407
|
return _this51.delete("/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
414
408
|
})();
|
|
415
409
|
}
|
|
@@ -452,14 +446,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
452
446
|
saml_test_config(test_slug, options) {
|
|
453
447
|
var _this58 = this;
|
|
454
448
|
return _asyncToGenerator(function* () {
|
|
455
|
-
test_slug =
|
|
449
|
+
test_slug = encodeParam(test_slug);
|
|
456
450
|
return _this58.get("/saml_test_configs/".concat(test_slug), null, null, options);
|
|
457
451
|
})();
|
|
458
452
|
}
|
|
459
453
|
delete_saml_test_config(test_slug, options) {
|
|
460
454
|
var _this59 = this;
|
|
461
455
|
return _asyncToGenerator(function* () {
|
|
462
|
-
test_slug =
|
|
456
|
+
test_slug = encodeParam(test_slug);
|
|
463
457
|
return _this59.delete("/saml_test_configs/".concat(test_slug), null, null, options);
|
|
464
458
|
})();
|
|
465
459
|
}
|
|
@@ -510,7 +504,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
510
504
|
delete_support_access_allowlist_entry(entry_id, options) {
|
|
511
505
|
var _this67 = this;
|
|
512
506
|
return _asyncToGenerator(function* () {
|
|
513
|
-
entry_id =
|
|
507
|
+
entry_id = encodeParam(entry_id);
|
|
514
508
|
return _this67.delete("/support_access/allowlist/".concat(entry_id), null, null, options);
|
|
515
509
|
})();
|
|
516
510
|
}
|
|
@@ -561,7 +555,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
561
555
|
delete_user_login_lockout(key, options) {
|
|
562
556
|
var _this73 = this;
|
|
563
557
|
return _asyncToGenerator(function* () {
|
|
564
|
-
key =
|
|
558
|
+
key = encodeParam(key);
|
|
565
559
|
return _this73.delete("/user_login_lockout/".concat(key), null, null, options);
|
|
566
560
|
})();
|
|
567
561
|
}
|
|
@@ -605,7 +599,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
605
599
|
board(board_id, fields, options) {
|
|
606
600
|
var _this77 = this;
|
|
607
601
|
return _asyncToGenerator(function* () {
|
|
608
|
-
board_id =
|
|
602
|
+
board_id = encodeParam(board_id);
|
|
609
603
|
return _this77.get("/boards/".concat(board_id), {
|
|
610
604
|
fields
|
|
611
605
|
}, null, options);
|
|
@@ -614,7 +608,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
614
608
|
update_board(board_id, body, fields, options) {
|
|
615
609
|
var _this78 = this;
|
|
616
610
|
return _asyncToGenerator(function* () {
|
|
617
|
-
board_id =
|
|
611
|
+
board_id = encodeParam(board_id);
|
|
618
612
|
return _this78.patch("/boards/".concat(board_id), {
|
|
619
613
|
fields
|
|
620
614
|
}, body, options);
|
|
@@ -623,7 +617,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
623
617
|
delete_board(board_id, options) {
|
|
624
618
|
var _this79 = this;
|
|
625
619
|
return _asyncToGenerator(function* () {
|
|
626
|
-
board_id =
|
|
620
|
+
board_id = encodeParam(board_id);
|
|
627
621
|
return _this79.delete("/boards/".concat(board_id), null, null, options);
|
|
628
622
|
})();
|
|
629
623
|
}
|
|
@@ -648,7 +642,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
648
642
|
board_item(board_item_id, fields, options) {
|
|
649
643
|
var _this82 = this;
|
|
650
644
|
return _asyncToGenerator(function* () {
|
|
651
|
-
board_item_id =
|
|
645
|
+
board_item_id = encodeParam(board_item_id);
|
|
652
646
|
return _this82.get("/board_items/".concat(board_item_id), {
|
|
653
647
|
fields
|
|
654
648
|
}, null, options);
|
|
@@ -657,7 +651,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
657
651
|
update_board_item(board_item_id, body, fields, options) {
|
|
658
652
|
var _this83 = this;
|
|
659
653
|
return _asyncToGenerator(function* () {
|
|
660
|
-
board_item_id =
|
|
654
|
+
board_item_id = encodeParam(board_item_id);
|
|
661
655
|
return _this83.patch("/board_items/".concat(board_item_id), {
|
|
662
656
|
fields
|
|
663
657
|
}, body, options);
|
|
@@ -666,7 +660,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
666
660
|
delete_board_item(board_item_id, options) {
|
|
667
661
|
var _this84 = this;
|
|
668
662
|
return _asyncToGenerator(function* () {
|
|
669
|
-
board_item_id =
|
|
663
|
+
board_item_id = encodeParam(board_item_id);
|
|
670
664
|
return _this84.delete("/board_items/".concat(board_item_id), null, null, options);
|
|
671
665
|
})();
|
|
672
666
|
}
|
|
@@ -690,7 +684,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
690
684
|
board_section(board_section_id, fields, options) {
|
|
691
685
|
var _this87 = this;
|
|
692
686
|
return _asyncToGenerator(function* () {
|
|
693
|
-
board_section_id =
|
|
687
|
+
board_section_id = encodeParam(board_section_id);
|
|
694
688
|
return _this87.get("/board_sections/".concat(board_section_id), {
|
|
695
689
|
fields
|
|
696
690
|
}, null, options);
|
|
@@ -699,7 +693,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
699
693
|
update_board_section(board_section_id, body, fields, options) {
|
|
700
694
|
var _this88 = this;
|
|
701
695
|
return _asyncToGenerator(function* () {
|
|
702
|
-
board_section_id =
|
|
696
|
+
board_section_id = encodeParam(board_section_id);
|
|
703
697
|
return _this88.patch("/board_sections/".concat(board_section_id), {
|
|
704
698
|
fields
|
|
705
699
|
}, body, options);
|
|
@@ -708,7 +702,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
708
702
|
delete_board_section(board_section_id, options) {
|
|
709
703
|
var _this89 = this;
|
|
710
704
|
return _asyncToGenerator(function* () {
|
|
711
|
-
board_section_id =
|
|
705
|
+
board_section_id = encodeParam(board_section_id);
|
|
712
706
|
return _this89.delete("/board_sections/".concat(board_section_id), null, null, options);
|
|
713
707
|
})();
|
|
714
708
|
}
|
|
@@ -759,7 +753,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
759
753
|
color_collection(collection_id, fields, options) {
|
|
760
754
|
var _this96 = this;
|
|
761
755
|
return _asyncToGenerator(function* () {
|
|
762
|
-
collection_id =
|
|
756
|
+
collection_id = encodeParam(collection_id);
|
|
763
757
|
return _this96.get("/color_collections/".concat(collection_id), {
|
|
764
758
|
fields
|
|
765
759
|
}, null, options);
|
|
@@ -768,14 +762,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
768
762
|
update_color_collection(collection_id, body, options) {
|
|
769
763
|
var _this97 = this;
|
|
770
764
|
return _asyncToGenerator(function* () {
|
|
771
|
-
collection_id =
|
|
765
|
+
collection_id = encodeParam(collection_id);
|
|
772
766
|
return _this97.patch("/color_collections/".concat(collection_id), null, body, options);
|
|
773
767
|
})();
|
|
774
768
|
}
|
|
775
769
|
delete_color_collection(collection_id, options) {
|
|
776
770
|
var _this98 = this;
|
|
777
771
|
return _asyncToGenerator(function* () {
|
|
778
|
-
collection_id =
|
|
772
|
+
collection_id = encodeParam(collection_id);
|
|
779
773
|
return _this98.delete("/color_collections/".concat(collection_id), null, null, options);
|
|
780
774
|
})();
|
|
781
775
|
}
|
|
@@ -868,14 +862,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
868
862
|
legacy_feature(legacy_feature_id, options) {
|
|
869
863
|
var _this113 = this;
|
|
870
864
|
return _asyncToGenerator(function* () {
|
|
871
|
-
legacy_feature_id =
|
|
865
|
+
legacy_feature_id = encodeParam(legacy_feature_id);
|
|
872
866
|
return _this113.get("/legacy_features/".concat(legacy_feature_id), null, null, options);
|
|
873
867
|
})();
|
|
874
868
|
}
|
|
875
869
|
update_legacy_feature(legacy_feature_id, body, options) {
|
|
876
870
|
var _this114 = this;
|
|
877
871
|
return _asyncToGenerator(function* () {
|
|
878
|
-
legacy_feature_id =
|
|
872
|
+
legacy_feature_id = encodeParam(legacy_feature_id);
|
|
879
873
|
return _this114.patch("/legacy_features/".concat(legacy_feature_id), null, body, options);
|
|
880
874
|
})();
|
|
881
875
|
}
|
|
@@ -938,8 +932,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
938
932
|
api_spec(api_version, specification, options) {
|
|
939
933
|
var _this123 = this;
|
|
940
934
|
return _asyncToGenerator(function* () {
|
|
941
|
-
api_version =
|
|
942
|
-
specification =
|
|
935
|
+
api_version = encodeParam(api_version);
|
|
936
|
+
specification = encodeParam(specification);
|
|
943
937
|
return _this123.get("/api_spec/".concat(api_version, "/").concat(specification), null, null, options);
|
|
944
938
|
})();
|
|
945
939
|
}
|
|
@@ -974,7 +968,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
974
968
|
connection(connection_name, fields, options) {
|
|
975
969
|
var _this128 = this;
|
|
976
970
|
return _asyncToGenerator(function* () {
|
|
977
|
-
connection_name =
|
|
971
|
+
connection_name = encodeParam(connection_name);
|
|
978
972
|
return _this128.get("/connections/".concat(connection_name), {
|
|
979
973
|
fields
|
|
980
974
|
}, null, options);
|
|
@@ -983,29 +977,29 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
983
977
|
update_connection(connection_name, body, options) {
|
|
984
978
|
var _this129 = this;
|
|
985
979
|
return _asyncToGenerator(function* () {
|
|
986
|
-
connection_name =
|
|
980
|
+
connection_name = encodeParam(connection_name);
|
|
987
981
|
return _this129.patch("/connections/".concat(connection_name), null, body, options);
|
|
988
982
|
})();
|
|
989
983
|
}
|
|
990
984
|
delete_connection(connection_name, options) {
|
|
991
985
|
var _this130 = this;
|
|
992
986
|
return _asyncToGenerator(function* () {
|
|
993
|
-
connection_name =
|
|
987
|
+
connection_name = encodeParam(connection_name);
|
|
994
988
|
return _this130.delete("/connections/".concat(connection_name), null, null, options);
|
|
995
989
|
})();
|
|
996
990
|
}
|
|
997
991
|
delete_connection_override(connection_name, override_context, options) {
|
|
998
992
|
var _this131 = this;
|
|
999
993
|
return _asyncToGenerator(function* () {
|
|
1000
|
-
connection_name =
|
|
1001
|
-
override_context =
|
|
994
|
+
connection_name = encodeParam(connection_name);
|
|
995
|
+
override_context = encodeParam(override_context);
|
|
1002
996
|
return _this131.delete("/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
|
|
1003
997
|
})();
|
|
1004
998
|
}
|
|
1005
999
|
test_connection(connection_name, tests, options) {
|
|
1006
1000
|
var _this132 = this;
|
|
1007
1001
|
return _asyncToGenerator(function* () {
|
|
1008
|
-
connection_name =
|
|
1002
|
+
connection_name = encodeParam(connection_name);
|
|
1009
1003
|
return _this132.put("/connections/".concat(connection_name, "/test"), {
|
|
1010
1004
|
tests
|
|
1011
1005
|
}, null, options);
|
|
@@ -1065,28 +1059,28 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1065
1059
|
ssh_server(ssh_server_id, options) {
|
|
1066
1060
|
var _this140 = this;
|
|
1067
1061
|
return _asyncToGenerator(function* () {
|
|
1068
|
-
ssh_server_id =
|
|
1062
|
+
ssh_server_id = encodeParam(ssh_server_id);
|
|
1069
1063
|
return _this140.get("/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1070
1064
|
})();
|
|
1071
1065
|
}
|
|
1072
1066
|
update_ssh_server(ssh_server_id, body, options) {
|
|
1073
1067
|
var _this141 = this;
|
|
1074
1068
|
return _asyncToGenerator(function* () {
|
|
1075
|
-
ssh_server_id =
|
|
1069
|
+
ssh_server_id = encodeParam(ssh_server_id);
|
|
1076
1070
|
return _this141.patch("/ssh_server/".concat(ssh_server_id), null, body, options);
|
|
1077
1071
|
})();
|
|
1078
1072
|
}
|
|
1079
1073
|
delete_ssh_server(ssh_server_id, options) {
|
|
1080
1074
|
var _this142 = this;
|
|
1081
1075
|
return _asyncToGenerator(function* () {
|
|
1082
|
-
ssh_server_id =
|
|
1076
|
+
ssh_server_id = encodeParam(ssh_server_id);
|
|
1083
1077
|
return _this142.delete("/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1084
1078
|
})();
|
|
1085
1079
|
}
|
|
1086
1080
|
test_ssh_server(ssh_server_id, options) {
|
|
1087
1081
|
var _this143 = this;
|
|
1088
1082
|
return _asyncToGenerator(function* () {
|
|
1089
|
-
ssh_server_id =
|
|
1083
|
+
ssh_server_id = encodeParam(ssh_server_id);
|
|
1090
1084
|
return _this143.get("/ssh_server/".concat(ssh_server_id, "/test"), null, null, options);
|
|
1091
1085
|
})();
|
|
1092
1086
|
}
|
|
@@ -1107,28 +1101,28 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1107
1101
|
ssh_tunnel(ssh_tunnel_id, options) {
|
|
1108
1102
|
var _this146 = this;
|
|
1109
1103
|
return _asyncToGenerator(function* () {
|
|
1110
|
-
ssh_tunnel_id =
|
|
1104
|
+
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1111
1105
|
return _this146.get("/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1112
1106
|
})();
|
|
1113
1107
|
}
|
|
1114
1108
|
update_ssh_tunnel(ssh_tunnel_id, body, options) {
|
|
1115
1109
|
var _this147 = this;
|
|
1116
1110
|
return _asyncToGenerator(function* () {
|
|
1117
|
-
ssh_tunnel_id =
|
|
1111
|
+
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1118
1112
|
return _this147.patch("/ssh_tunnel/".concat(ssh_tunnel_id), null, body, options);
|
|
1119
1113
|
})();
|
|
1120
1114
|
}
|
|
1121
1115
|
delete_ssh_tunnel(ssh_tunnel_id, options) {
|
|
1122
1116
|
var _this148 = this;
|
|
1123
1117
|
return _asyncToGenerator(function* () {
|
|
1124
|
-
ssh_tunnel_id =
|
|
1118
|
+
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1125
1119
|
return _this148.delete("/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1126
1120
|
})();
|
|
1127
1121
|
}
|
|
1128
1122
|
test_ssh_tunnel(ssh_tunnel_id, options) {
|
|
1129
1123
|
var _this149 = this;
|
|
1130
1124
|
return _asyncToGenerator(function* () {
|
|
1131
|
-
ssh_tunnel_id =
|
|
1125
|
+
ssh_tunnel_id = encodeParam(ssh_tunnel_id);
|
|
1132
1126
|
return _this149.get("/ssh_tunnel/".concat(ssh_tunnel_id, "/test"), null, null, options);
|
|
1133
1127
|
})();
|
|
1134
1128
|
}
|
|
@@ -1159,7 +1153,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1159
1153
|
content_favorite(content_favorite_id, fields, options) {
|
|
1160
1154
|
var _this152 = this;
|
|
1161
1155
|
return _asyncToGenerator(function* () {
|
|
1162
|
-
content_favorite_id =
|
|
1156
|
+
content_favorite_id = encodeParam(content_favorite_id);
|
|
1163
1157
|
return _this152.get("/content_favorite/".concat(content_favorite_id), {
|
|
1164
1158
|
fields
|
|
1165
1159
|
}, null, options);
|
|
@@ -1168,7 +1162,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1168
1162
|
delete_content_favorite(content_favorite_id, options) {
|
|
1169
1163
|
var _this153 = this;
|
|
1170
1164
|
return _asyncToGenerator(function* () {
|
|
1171
|
-
content_favorite_id =
|
|
1165
|
+
content_favorite_id = encodeParam(content_favorite_id);
|
|
1172
1166
|
return _this153.delete("/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
1173
1167
|
})();
|
|
1174
1168
|
}
|
|
@@ -1190,7 +1184,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1190
1184
|
content_metadata(content_metadata_id, fields, options) {
|
|
1191
1185
|
var _this156 = this;
|
|
1192
1186
|
return _asyncToGenerator(function* () {
|
|
1193
|
-
content_metadata_id =
|
|
1187
|
+
content_metadata_id = encodeParam(content_metadata_id);
|
|
1194
1188
|
return _this156.get("/content_metadata/".concat(content_metadata_id), {
|
|
1195
1189
|
fields
|
|
1196
1190
|
}, null, options);
|
|
@@ -1199,7 +1193,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1199
1193
|
update_content_metadata(content_metadata_id, body, options) {
|
|
1200
1194
|
var _this157 = this;
|
|
1201
1195
|
return _asyncToGenerator(function* () {
|
|
1202
|
-
content_metadata_id =
|
|
1196
|
+
content_metadata_id = encodeParam(content_metadata_id);
|
|
1203
1197
|
return _this157.patch("/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
1204
1198
|
})();
|
|
1205
1199
|
}
|
|
@@ -1223,21 +1217,21 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1223
1217
|
update_content_metadata_access(content_metadata_access_id, body, options) {
|
|
1224
1218
|
var _this160 = this;
|
|
1225
1219
|
return _asyncToGenerator(function* () {
|
|
1226
|
-
content_metadata_access_id =
|
|
1220
|
+
content_metadata_access_id = encodeParam(content_metadata_access_id);
|
|
1227
1221
|
return _this160.put("/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
1228
1222
|
})();
|
|
1229
1223
|
}
|
|
1230
1224
|
delete_content_metadata_access(content_metadata_access_id, options) {
|
|
1231
1225
|
var _this161 = this;
|
|
1232
1226
|
return _asyncToGenerator(function* () {
|
|
1233
|
-
content_metadata_access_id =
|
|
1227
|
+
content_metadata_access_id = encodeParam(content_metadata_access_id);
|
|
1234
1228
|
return _this161.delete("/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
1235
1229
|
})();
|
|
1236
1230
|
}
|
|
1237
1231
|
search_content(request, options) {
|
|
1238
1232
|
var _this162 = this;
|
|
1239
1233
|
return _asyncToGenerator(function* () {
|
|
1240
|
-
request.terms =
|
|
1234
|
+
request.terms = encodeParam(request.terms);
|
|
1241
1235
|
return _this162.get("/content/".concat(request.terms), {
|
|
1242
1236
|
fields: request.fields,
|
|
1243
1237
|
types: request.types,
|
|
@@ -1251,8 +1245,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1251
1245
|
content_thumbnail(request, options) {
|
|
1252
1246
|
var _this163 = this;
|
|
1253
1247
|
return _asyncToGenerator(function* () {
|
|
1254
|
-
request.type =
|
|
1255
|
-
request.resource_id =
|
|
1248
|
+
request.type = encodeParam(request.type);
|
|
1249
|
+
request.resource_id = encodeParam(request.resource_id);
|
|
1256
1250
|
return _this163.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
1257
1251
|
reload: request.reload,
|
|
1258
1252
|
theme: request.theme,
|
|
@@ -1293,8 +1287,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1293
1287
|
vector_thumbnail(type, resource_id, reload, options) {
|
|
1294
1288
|
var _this166 = this;
|
|
1295
1289
|
return _asyncToGenerator(function* () {
|
|
1296
|
-
type =
|
|
1297
|
-
resource_id =
|
|
1290
|
+
type = encodeParam(type);
|
|
1291
|
+
resource_id = encodeParam(resource_id);
|
|
1298
1292
|
return _this166.get("/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
1299
1293
|
reload
|
|
1300
1294
|
}, null, options);
|
|
@@ -1344,8 +1338,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1344
1338
|
import_lookml_dashboard(lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
1345
1339
|
var _this170 = this;
|
|
1346
1340
|
return _asyncToGenerator(function* () {
|
|
1347
|
-
lookml_dashboard_id =
|
|
1348
|
-
space_id =
|
|
1341
|
+
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
1342
|
+
space_id = encodeParam(space_id);
|
|
1349
1343
|
return _this170.post("/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
1350
1344
|
raw_locale
|
|
1351
1345
|
}, body, options);
|
|
@@ -1354,7 +1348,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1354
1348
|
sync_lookml_dashboard(lookml_dashboard_id, body, raw_locale, options) {
|
|
1355
1349
|
var _this171 = this;
|
|
1356
1350
|
return _asyncToGenerator(function* () {
|
|
1357
|
-
lookml_dashboard_id =
|
|
1351
|
+
lookml_dashboard_id = encodeParam(lookml_dashboard_id);
|
|
1358
1352
|
return _this171.patch("/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
1359
1353
|
raw_locale
|
|
1360
1354
|
}, body, options);
|
|
@@ -1363,7 +1357,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1363
1357
|
dashboard(dashboard_id, fields, options) {
|
|
1364
1358
|
var _this172 = this;
|
|
1365
1359
|
return _asyncToGenerator(function* () {
|
|
1366
|
-
dashboard_id =
|
|
1360
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1367
1361
|
return _this172.get("/dashboards/".concat(dashboard_id), {
|
|
1368
1362
|
fields
|
|
1369
1363
|
}, null, options);
|
|
@@ -1372,35 +1366,35 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1372
1366
|
update_dashboard(dashboard_id, body, options) {
|
|
1373
1367
|
var _this173 = this;
|
|
1374
1368
|
return _asyncToGenerator(function* () {
|
|
1375
|
-
dashboard_id =
|
|
1369
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1376
1370
|
return _this173.patch("/dashboards/".concat(dashboard_id), null, body, options);
|
|
1377
1371
|
})();
|
|
1378
1372
|
}
|
|
1379
1373
|
delete_dashboard(dashboard_id, options) {
|
|
1380
1374
|
var _this174 = this;
|
|
1381
1375
|
return _asyncToGenerator(function* () {
|
|
1382
|
-
dashboard_id =
|
|
1376
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1383
1377
|
return _this174.delete("/dashboards/".concat(dashboard_id), null, null, options);
|
|
1384
1378
|
})();
|
|
1385
1379
|
}
|
|
1386
1380
|
dashboard_aggregate_table_lookml(dashboard_id, options) {
|
|
1387
1381
|
var _this175 = this;
|
|
1388
1382
|
return _asyncToGenerator(function* () {
|
|
1389
|
-
dashboard_id =
|
|
1383
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1390
1384
|
return _this175.get("/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
1391
1385
|
})();
|
|
1392
1386
|
}
|
|
1393
1387
|
dashboard_lookml(dashboard_id, options) {
|
|
1394
1388
|
var _this176 = this;
|
|
1395
1389
|
return _asyncToGenerator(function* () {
|
|
1396
|
-
dashboard_id =
|
|
1390
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1397
1391
|
return _this176.get("/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
1398
1392
|
})();
|
|
1399
1393
|
}
|
|
1400
1394
|
move_dashboard(dashboard_id, folder_id, options) {
|
|
1401
1395
|
var _this177 = this;
|
|
1402
1396
|
return _asyncToGenerator(function* () {
|
|
1403
|
-
dashboard_id =
|
|
1397
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1404
1398
|
return _this177.patch("/dashboards/".concat(dashboard_id, "/move"), {
|
|
1405
1399
|
folder_id
|
|
1406
1400
|
}, null, options);
|
|
@@ -1421,7 +1415,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1421
1415
|
copy_dashboard(dashboard_id, folder_id, options) {
|
|
1422
1416
|
var _this180 = this;
|
|
1423
1417
|
return _asyncToGenerator(function* () {
|
|
1424
|
-
dashboard_id =
|
|
1418
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1425
1419
|
return _this180.post("/dashboards/".concat(dashboard_id, "/copy"), {
|
|
1426
1420
|
folder_id
|
|
1427
1421
|
}, null, options);
|
|
@@ -1444,7 +1438,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1444
1438
|
dashboard_element(dashboard_element_id, fields, options) {
|
|
1445
1439
|
var _this182 = this;
|
|
1446
1440
|
return _asyncToGenerator(function* () {
|
|
1447
|
-
dashboard_element_id =
|
|
1441
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1448
1442
|
return _this182.get("/dashboard_elements/".concat(dashboard_element_id), {
|
|
1449
1443
|
fields
|
|
1450
1444
|
}, null, options);
|
|
@@ -1453,7 +1447,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1453
1447
|
update_dashboard_element(dashboard_element_id, body, fields, options) {
|
|
1454
1448
|
var _this183 = this;
|
|
1455
1449
|
return _asyncToGenerator(function* () {
|
|
1456
|
-
dashboard_element_id =
|
|
1450
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1457
1451
|
return _this183.patch("/dashboard_elements/".concat(dashboard_element_id), {
|
|
1458
1452
|
fields
|
|
1459
1453
|
}, body, options);
|
|
@@ -1462,14 +1456,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1462
1456
|
delete_dashboard_element(dashboard_element_id, options) {
|
|
1463
1457
|
var _this184 = this;
|
|
1464
1458
|
return _asyncToGenerator(function* () {
|
|
1465
|
-
dashboard_element_id =
|
|
1459
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
1466
1460
|
return _this184.delete("/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
1467
1461
|
})();
|
|
1468
1462
|
}
|
|
1469
1463
|
dashboard_dashboard_elements(dashboard_id, fields, options) {
|
|
1470
1464
|
var _this185 = this;
|
|
1471
1465
|
return _asyncToGenerator(function* () {
|
|
1472
|
-
dashboard_id =
|
|
1466
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1473
1467
|
return _this185.get("/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
1474
1468
|
fields
|
|
1475
1469
|
}, null, options);
|
|
@@ -1487,7 +1481,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1487
1481
|
dashboard_filter(dashboard_filter_id, fields, options) {
|
|
1488
1482
|
var _this187 = this;
|
|
1489
1483
|
return _asyncToGenerator(function* () {
|
|
1490
|
-
dashboard_filter_id =
|
|
1484
|
+
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1491
1485
|
return _this187.get("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1492
1486
|
fields
|
|
1493
1487
|
}, null, options);
|
|
@@ -1496,7 +1490,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1496
1490
|
update_dashboard_filter(dashboard_filter_id, body, fields, options) {
|
|
1497
1491
|
var _this188 = this;
|
|
1498
1492
|
return _asyncToGenerator(function* () {
|
|
1499
|
-
dashboard_filter_id =
|
|
1493
|
+
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1500
1494
|
return _this188.patch("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1501
1495
|
fields
|
|
1502
1496
|
}, body, options);
|
|
@@ -1505,14 +1499,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1505
1499
|
delete_dashboard_filter(dashboard_filter_id, options) {
|
|
1506
1500
|
var _this189 = this;
|
|
1507
1501
|
return _asyncToGenerator(function* () {
|
|
1508
|
-
dashboard_filter_id =
|
|
1502
|
+
dashboard_filter_id = encodeParam(dashboard_filter_id);
|
|
1509
1503
|
return _this189.delete("/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1510
1504
|
})();
|
|
1511
1505
|
}
|
|
1512
1506
|
dashboard_dashboard_filters(dashboard_id, fields, options) {
|
|
1513
1507
|
var _this190 = this;
|
|
1514
1508
|
return _asyncToGenerator(function* () {
|
|
1515
|
-
dashboard_id =
|
|
1509
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1516
1510
|
return _this190.get("/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1517
1511
|
fields
|
|
1518
1512
|
}, null, options);
|
|
@@ -1529,7 +1523,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1529
1523
|
dashboard_layout_component(dashboard_layout_component_id, fields, options) {
|
|
1530
1524
|
var _this192 = this;
|
|
1531
1525
|
return _asyncToGenerator(function* () {
|
|
1532
|
-
dashboard_layout_component_id =
|
|
1526
|
+
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
1533
1527
|
return _this192.get("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1534
1528
|
fields
|
|
1535
1529
|
}, null, options);
|
|
@@ -1538,7 +1532,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1538
1532
|
update_dashboard_layout_component(dashboard_layout_component_id, body, fields, options) {
|
|
1539
1533
|
var _this193 = this;
|
|
1540
1534
|
return _asyncToGenerator(function* () {
|
|
1541
|
-
dashboard_layout_component_id =
|
|
1535
|
+
dashboard_layout_component_id = encodeParam(dashboard_layout_component_id);
|
|
1542
1536
|
return _this193.patch("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1543
1537
|
fields
|
|
1544
1538
|
}, body, options);
|
|
@@ -1547,7 +1541,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1547
1541
|
dashboard_layout_dashboard_layout_components(dashboard_layout_id, fields, options) {
|
|
1548
1542
|
var _this194 = this;
|
|
1549
1543
|
return _asyncToGenerator(function* () {
|
|
1550
|
-
dashboard_layout_id =
|
|
1544
|
+
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1551
1545
|
return _this194.get("/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1552
1546
|
fields
|
|
1553
1547
|
}, null, options);
|
|
@@ -1556,7 +1550,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1556
1550
|
dashboard_layout(dashboard_layout_id, fields, options) {
|
|
1557
1551
|
var _this195 = this;
|
|
1558
1552
|
return _asyncToGenerator(function* () {
|
|
1559
|
-
dashboard_layout_id =
|
|
1553
|
+
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1560
1554
|
return _this195.get("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1561
1555
|
fields
|
|
1562
1556
|
}, null, options);
|
|
@@ -1565,7 +1559,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1565
1559
|
update_dashboard_layout(dashboard_layout_id, body, fields, options) {
|
|
1566
1560
|
var _this196 = this;
|
|
1567
1561
|
return _asyncToGenerator(function* () {
|
|
1568
|
-
dashboard_layout_id =
|
|
1562
|
+
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1569
1563
|
return _this196.patch("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1570
1564
|
fields
|
|
1571
1565
|
}, body, options);
|
|
@@ -1574,14 +1568,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1574
1568
|
delete_dashboard_layout(dashboard_layout_id, options) {
|
|
1575
1569
|
var _this197 = this;
|
|
1576
1570
|
return _asyncToGenerator(function* () {
|
|
1577
|
-
dashboard_layout_id =
|
|
1571
|
+
dashboard_layout_id = encodeParam(dashboard_layout_id);
|
|
1578
1572
|
return _this197.delete("/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1579
1573
|
})();
|
|
1580
1574
|
}
|
|
1581
1575
|
dashboard_dashboard_layouts(dashboard_id, fields, options) {
|
|
1582
1576
|
var _this198 = this;
|
|
1583
1577
|
return _asyncToGenerator(function* () {
|
|
1584
|
-
dashboard_id =
|
|
1578
|
+
dashboard_id = encodeParam(dashboard_id);
|
|
1585
1579
|
return _this198.get("/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1586
1580
|
fields
|
|
1587
1581
|
}, null, options);
|
|
@@ -1616,21 +1610,21 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1616
1610
|
datagroup(datagroup_id, options) {
|
|
1617
1611
|
var _this203 = this;
|
|
1618
1612
|
return _asyncToGenerator(function* () {
|
|
1619
|
-
datagroup_id =
|
|
1613
|
+
datagroup_id = encodeParam(datagroup_id);
|
|
1620
1614
|
return _this203.get("/datagroups/".concat(datagroup_id), null, null, options);
|
|
1621
1615
|
})();
|
|
1622
1616
|
}
|
|
1623
1617
|
update_datagroup(datagroup_id, body, options) {
|
|
1624
1618
|
var _this204 = this;
|
|
1625
1619
|
return _asyncToGenerator(function* () {
|
|
1626
|
-
datagroup_id =
|
|
1620
|
+
datagroup_id = encodeParam(datagroup_id);
|
|
1627
1621
|
return _this204.patch("/datagroups/".concat(datagroup_id), null, body, options);
|
|
1628
1622
|
})();
|
|
1629
1623
|
}
|
|
1630
1624
|
graph_derived_tables_for_model(request, options) {
|
|
1631
1625
|
var _this205 = this;
|
|
1632
1626
|
return _asyncToGenerator(function* () {
|
|
1633
|
-
request.model =
|
|
1627
|
+
request.model = encodeParam(request.model);
|
|
1634
1628
|
return _this205.get("/derived_table/graph/model/".concat(request.model), {
|
|
1635
1629
|
format: request.format,
|
|
1636
1630
|
color: request.color
|
|
@@ -1640,7 +1634,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1640
1634
|
graph_derived_tables_for_view(request, options) {
|
|
1641
1635
|
var _this206 = this;
|
|
1642
1636
|
return _asyncToGenerator(function* () {
|
|
1643
|
-
request.view =
|
|
1637
|
+
request.view = encodeParam(request.view);
|
|
1644
1638
|
return _this206.get("/derived_table/graph/view/".concat(request.view), {
|
|
1645
1639
|
models: request.models,
|
|
1646
1640
|
workspace: request.workspace
|
|
@@ -1650,8 +1644,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1650
1644
|
start_pdt_build(request, options) {
|
|
1651
1645
|
var _this207 = this;
|
|
1652
1646
|
return _asyncToGenerator(function* () {
|
|
1653
|
-
request.model_name =
|
|
1654
|
-
request.view_name =
|
|
1647
|
+
request.model_name = encodeParam(request.model_name);
|
|
1648
|
+
request.view_name = encodeParam(request.view_name);
|
|
1655
1649
|
return _this207.get("/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1656
1650
|
force_rebuild: request.force_rebuild,
|
|
1657
1651
|
force_full_incremental: request.force_full_incremental,
|
|
@@ -1663,14 +1657,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1663
1657
|
check_pdt_build(materialization_id, options) {
|
|
1664
1658
|
var _this208 = this;
|
|
1665
1659
|
return _asyncToGenerator(function* () {
|
|
1666
|
-
materialization_id =
|
|
1660
|
+
materialization_id = encodeParam(materialization_id);
|
|
1667
1661
|
return _this208.get("/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1668
1662
|
})();
|
|
1669
1663
|
}
|
|
1670
1664
|
stop_pdt_build(materialization_id, source, options) {
|
|
1671
1665
|
var _this209 = this;
|
|
1672
1666
|
return _asyncToGenerator(function* () {
|
|
1673
|
-
materialization_id =
|
|
1667
|
+
materialization_id = encodeParam(materialization_id);
|
|
1674
1668
|
return _this209.get("/derived_table/".concat(materialization_id, "/stop"), {
|
|
1675
1669
|
source
|
|
1676
1670
|
}, null, options);
|
|
@@ -1699,7 +1693,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1699
1693
|
folder(folder_id, fields, options) {
|
|
1700
1694
|
var _this211 = this;
|
|
1701
1695
|
return _asyncToGenerator(function* () {
|
|
1702
|
-
folder_id =
|
|
1696
|
+
folder_id = encodeParam(folder_id);
|
|
1703
1697
|
return _this211.get("/folders/".concat(folder_id), {
|
|
1704
1698
|
fields
|
|
1705
1699
|
}, null, options);
|
|
@@ -1708,14 +1702,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1708
1702
|
update_folder(folder_id, body, options) {
|
|
1709
1703
|
var _this212 = this;
|
|
1710
1704
|
return _asyncToGenerator(function* () {
|
|
1711
|
-
folder_id =
|
|
1705
|
+
folder_id = encodeParam(folder_id);
|
|
1712
1706
|
return _this212.patch("/folders/".concat(folder_id), null, body, options);
|
|
1713
1707
|
})();
|
|
1714
1708
|
}
|
|
1715
1709
|
delete_folder(folder_id, options) {
|
|
1716
1710
|
var _this213 = this;
|
|
1717
1711
|
return _asyncToGenerator(function* () {
|
|
1718
|
-
folder_id =
|
|
1712
|
+
folder_id = encodeParam(folder_id);
|
|
1719
1713
|
return _this213.delete("/folders/".concat(folder_id), null, null, options);
|
|
1720
1714
|
})();
|
|
1721
1715
|
}
|
|
@@ -1736,7 +1730,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1736
1730
|
folder_children(request, options) {
|
|
1737
1731
|
var _this216 = this;
|
|
1738
1732
|
return _asyncToGenerator(function* () {
|
|
1739
|
-
request.folder_id =
|
|
1733
|
+
request.folder_id = encodeParam(request.folder_id);
|
|
1740
1734
|
return _this216.get("/folders/".concat(request.folder_id, "/children"), {
|
|
1741
1735
|
fields: request.fields,
|
|
1742
1736
|
page: request.page,
|
|
@@ -1750,7 +1744,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1750
1744
|
folder_children_search(request, options) {
|
|
1751
1745
|
var _this217 = this;
|
|
1752
1746
|
return _asyncToGenerator(function* () {
|
|
1753
|
-
request.folder_id =
|
|
1747
|
+
request.folder_id = encodeParam(request.folder_id);
|
|
1754
1748
|
return _this217.get("/folders/".concat(request.folder_id, "/children/search"), {
|
|
1755
1749
|
fields: request.fields,
|
|
1756
1750
|
sorts: request.sorts,
|
|
@@ -1761,7 +1755,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1761
1755
|
folder_parent(folder_id, fields, options) {
|
|
1762
1756
|
var _this218 = this;
|
|
1763
1757
|
return _asyncToGenerator(function* () {
|
|
1764
|
-
folder_id =
|
|
1758
|
+
folder_id = encodeParam(folder_id);
|
|
1765
1759
|
return _this218.get("/folders/".concat(folder_id, "/parent"), {
|
|
1766
1760
|
fields
|
|
1767
1761
|
}, null, options);
|
|
@@ -1770,7 +1764,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1770
1764
|
folder_ancestors(folder_id, fields, options) {
|
|
1771
1765
|
var _this219 = this;
|
|
1772
1766
|
return _asyncToGenerator(function* () {
|
|
1773
|
-
folder_id =
|
|
1767
|
+
folder_id = encodeParam(folder_id);
|
|
1774
1768
|
return _this219.get("/folders/".concat(folder_id, "/ancestors"), {
|
|
1775
1769
|
fields
|
|
1776
1770
|
}, null, options);
|
|
@@ -1779,7 +1773,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1779
1773
|
folder_looks(folder_id, fields, options) {
|
|
1780
1774
|
var _this220 = this;
|
|
1781
1775
|
return _asyncToGenerator(function* () {
|
|
1782
|
-
folder_id =
|
|
1776
|
+
folder_id = encodeParam(folder_id);
|
|
1783
1777
|
return _this220.get("/folders/".concat(folder_id, "/looks"), {
|
|
1784
1778
|
fields
|
|
1785
1779
|
}, null, options);
|
|
@@ -1788,7 +1782,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1788
1782
|
folder_dashboards(folder_id, fields, options) {
|
|
1789
1783
|
var _this221 = this;
|
|
1790
1784
|
return _asyncToGenerator(function* () {
|
|
1791
|
-
folder_id =
|
|
1785
|
+
folder_id = encodeParam(folder_id);
|
|
1792
1786
|
return _this221.get("/folders/".concat(folder_id, "/dashboards"), {
|
|
1793
1787
|
fields
|
|
1794
1788
|
}, null, options);
|
|
@@ -1872,7 +1866,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1872
1866
|
group(group_id, fields, options) {
|
|
1873
1867
|
var _this227 = this;
|
|
1874
1868
|
return _asyncToGenerator(function* () {
|
|
1875
|
-
group_id =
|
|
1869
|
+
group_id = encodeParam(group_id);
|
|
1876
1870
|
return _this227.get("/groups/".concat(group_id), {
|
|
1877
1871
|
fields
|
|
1878
1872
|
}, null, options);
|
|
@@ -1881,7 +1875,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1881
1875
|
update_group(group_id, body, fields, options) {
|
|
1882
1876
|
var _this228 = this;
|
|
1883
1877
|
return _asyncToGenerator(function* () {
|
|
1884
|
-
group_id =
|
|
1878
|
+
group_id = encodeParam(group_id);
|
|
1885
1879
|
return _this228.patch("/groups/".concat(group_id), {
|
|
1886
1880
|
fields
|
|
1887
1881
|
}, body, options);
|
|
@@ -1890,14 +1884,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1890
1884
|
delete_group(group_id, options) {
|
|
1891
1885
|
var _this229 = this;
|
|
1892
1886
|
return _asyncToGenerator(function* () {
|
|
1893
|
-
group_id =
|
|
1887
|
+
group_id = encodeParam(group_id);
|
|
1894
1888
|
return _this229.delete("/groups/".concat(group_id), null, null, options);
|
|
1895
1889
|
})();
|
|
1896
1890
|
}
|
|
1897
1891
|
all_group_groups(group_id, fields, options) {
|
|
1898
1892
|
var _this230 = this;
|
|
1899
1893
|
return _asyncToGenerator(function* () {
|
|
1900
|
-
group_id =
|
|
1894
|
+
group_id = encodeParam(group_id);
|
|
1901
1895
|
return _this230.get("/groups/".concat(group_id, "/groups"), {
|
|
1902
1896
|
fields
|
|
1903
1897
|
}, null, options);
|
|
@@ -1906,14 +1900,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1906
1900
|
add_group_group(group_id, body, options) {
|
|
1907
1901
|
var _this231 = this;
|
|
1908
1902
|
return _asyncToGenerator(function* () {
|
|
1909
|
-
group_id =
|
|
1903
|
+
group_id = encodeParam(group_id);
|
|
1910
1904
|
return _this231.post("/groups/".concat(group_id, "/groups"), null, body, options);
|
|
1911
1905
|
})();
|
|
1912
1906
|
}
|
|
1913
1907
|
all_group_users(request, options) {
|
|
1914
1908
|
var _this232 = this;
|
|
1915
1909
|
return _asyncToGenerator(function* () {
|
|
1916
|
-
request.group_id =
|
|
1910
|
+
request.group_id = encodeParam(request.group_id);
|
|
1917
1911
|
return _this232.get("/groups/".concat(request.group_id, "/users"), {
|
|
1918
1912
|
fields: request.fields,
|
|
1919
1913
|
page: request.page,
|
|
@@ -1927,39 +1921,39 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1927
1921
|
add_group_user(group_id, body, options) {
|
|
1928
1922
|
var _this233 = this;
|
|
1929
1923
|
return _asyncToGenerator(function* () {
|
|
1930
|
-
group_id =
|
|
1924
|
+
group_id = encodeParam(group_id);
|
|
1931
1925
|
return _this233.post("/groups/".concat(group_id, "/users"), null, body, options);
|
|
1932
1926
|
})();
|
|
1933
1927
|
}
|
|
1934
1928
|
delete_group_user(group_id, user_id, options) {
|
|
1935
1929
|
var _this234 = this;
|
|
1936
1930
|
return _asyncToGenerator(function* () {
|
|
1937
|
-
group_id =
|
|
1938
|
-
user_id =
|
|
1931
|
+
group_id = encodeParam(group_id);
|
|
1932
|
+
user_id = encodeParam(user_id);
|
|
1939
1933
|
return _this234.delete("/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
1940
1934
|
})();
|
|
1941
1935
|
}
|
|
1942
1936
|
delete_group_from_group(group_id, deleting_group_id, options) {
|
|
1943
1937
|
var _this235 = this;
|
|
1944
1938
|
return _asyncToGenerator(function* () {
|
|
1945
|
-
group_id =
|
|
1946
|
-
deleting_group_id =
|
|
1939
|
+
group_id = encodeParam(group_id);
|
|
1940
|
+
deleting_group_id = encodeParam(deleting_group_id);
|
|
1947
1941
|
return _this235.delete("/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
1948
1942
|
})();
|
|
1949
1943
|
}
|
|
1950
1944
|
update_user_attribute_group_value(group_id, user_attribute_id, body, options) {
|
|
1951
1945
|
var _this236 = this;
|
|
1952
1946
|
return _asyncToGenerator(function* () {
|
|
1953
|
-
group_id =
|
|
1954
|
-
user_attribute_id =
|
|
1947
|
+
group_id = encodeParam(group_id);
|
|
1948
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
1955
1949
|
return _this236.patch("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
1956
1950
|
})();
|
|
1957
1951
|
}
|
|
1958
1952
|
delete_user_attribute_group_value(group_id, user_attribute_id, options) {
|
|
1959
1953
|
var _this237 = this;
|
|
1960
1954
|
return _asyncToGenerator(function* () {
|
|
1961
|
-
group_id =
|
|
1962
|
-
user_attribute_id =
|
|
1955
|
+
group_id = encodeParam(group_id);
|
|
1956
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
1963
1957
|
return _this237.delete("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
1964
1958
|
})();
|
|
1965
1959
|
}
|
|
@@ -1990,7 +1984,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1990
1984
|
integration_hub(integration_hub_id, fields, options) {
|
|
1991
1985
|
var _this241 = this;
|
|
1992
1986
|
return _asyncToGenerator(function* () {
|
|
1993
|
-
integration_hub_id =
|
|
1987
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
1994
1988
|
return _this241.get("/integration_hubs/".concat(integration_hub_id), {
|
|
1995
1989
|
fields
|
|
1996
1990
|
}, null, options);
|
|
@@ -1999,7 +1993,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1999
1993
|
update_integration_hub(integration_hub_id, body, fields, options) {
|
|
2000
1994
|
var _this242 = this;
|
|
2001
1995
|
return _asyncToGenerator(function* () {
|
|
2002
|
-
integration_hub_id =
|
|
1996
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2003
1997
|
return _this242.patch("/integration_hubs/".concat(integration_hub_id), {
|
|
2004
1998
|
fields
|
|
2005
1999
|
}, body, options);
|
|
@@ -2008,14 +2002,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2008
2002
|
delete_integration_hub(integration_hub_id, options) {
|
|
2009
2003
|
var _this243 = this;
|
|
2010
2004
|
return _asyncToGenerator(function* () {
|
|
2011
|
-
integration_hub_id =
|
|
2005
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2012
2006
|
return _this243.delete("/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
2013
2007
|
})();
|
|
2014
2008
|
}
|
|
2015
2009
|
accept_integration_hub_legal_agreement(integration_hub_id, options) {
|
|
2016
2010
|
var _this244 = this;
|
|
2017
2011
|
return _asyncToGenerator(function* () {
|
|
2018
|
-
integration_hub_id =
|
|
2012
|
+
integration_hub_id = encodeParam(integration_hub_id);
|
|
2019
2013
|
return _this244.post("/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
2020
2014
|
})();
|
|
2021
2015
|
}
|
|
@@ -2031,7 +2025,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2031
2025
|
integration(integration_id, fields, options) {
|
|
2032
2026
|
var _this246 = this;
|
|
2033
2027
|
return _asyncToGenerator(function* () {
|
|
2034
|
-
integration_id =
|
|
2028
|
+
integration_id = encodeParam(integration_id);
|
|
2035
2029
|
return _this246.get("/integrations/".concat(integration_id), {
|
|
2036
2030
|
fields
|
|
2037
2031
|
}, null, options);
|
|
@@ -2040,7 +2034,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2040
2034
|
update_integration(integration_id, body, fields, options) {
|
|
2041
2035
|
var _this247 = this;
|
|
2042
2036
|
return _asyncToGenerator(function* () {
|
|
2043
|
-
integration_id =
|
|
2037
|
+
integration_id = encodeParam(integration_id);
|
|
2044
2038
|
return _this247.patch("/integrations/".concat(integration_id), {
|
|
2045
2039
|
fields
|
|
2046
2040
|
}, body, options);
|
|
@@ -2049,45 +2043,37 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2049
2043
|
fetch_integration_form(integration_id, body, options) {
|
|
2050
2044
|
var _this248 = this;
|
|
2051
2045
|
return _asyncToGenerator(function* () {
|
|
2052
|
-
integration_id =
|
|
2046
|
+
integration_id = encodeParam(integration_id);
|
|
2053
2047
|
return _this248.post("/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
2054
2048
|
})();
|
|
2055
2049
|
}
|
|
2056
2050
|
test_integration(integration_id, options) {
|
|
2057
2051
|
var _this249 = this;
|
|
2058
2052
|
return _asyncToGenerator(function* () {
|
|
2059
|
-
integration_id =
|
|
2053
|
+
integration_id = encodeParam(integration_id);
|
|
2060
2054
|
return _this249.post("/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2061
2055
|
})();
|
|
2062
2056
|
}
|
|
2063
|
-
jdbc_interface(avatica_request, options) {
|
|
2064
|
-
var _this250 = this;
|
|
2065
|
-
return _asyncToGenerator(function* () {
|
|
2066
|
-
return _this250.get('/__jdbc_interface__', {
|
|
2067
|
-
avatica_request
|
|
2068
|
-
}, null, options);
|
|
2069
|
-
})();
|
|
2070
|
-
}
|
|
2071
2057
|
all_looks(fields, options) {
|
|
2072
|
-
var
|
|
2058
|
+
var _this250 = this;
|
|
2073
2059
|
return _asyncToGenerator(function* () {
|
|
2074
|
-
return
|
|
2060
|
+
return _this250.get('/looks', {
|
|
2075
2061
|
fields
|
|
2076
2062
|
}, null, options);
|
|
2077
2063
|
})();
|
|
2078
2064
|
}
|
|
2079
2065
|
create_look(body, fields, options) {
|
|
2080
|
-
var
|
|
2066
|
+
var _this251 = this;
|
|
2081
2067
|
return _asyncToGenerator(function* () {
|
|
2082
|
-
return
|
|
2068
|
+
return _this251.post('/looks', {
|
|
2083
2069
|
fields
|
|
2084
2070
|
}, body, options);
|
|
2085
2071
|
})();
|
|
2086
2072
|
}
|
|
2087
2073
|
search_looks(request, options) {
|
|
2088
|
-
var
|
|
2074
|
+
var _this252 = this;
|
|
2089
2075
|
return _asyncToGenerator(function* () {
|
|
2090
|
-
return
|
|
2076
|
+
return _this252.get('/looks/search', {
|
|
2091
2077
|
id: request.id,
|
|
2092
2078
|
title: request.title,
|
|
2093
2079
|
description: request.description,
|
|
@@ -2110,36 +2096,36 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2110
2096
|
})();
|
|
2111
2097
|
}
|
|
2112
2098
|
look(look_id, fields, options) {
|
|
2113
|
-
var
|
|
2099
|
+
var _this253 = this;
|
|
2114
2100
|
return _asyncToGenerator(function* () {
|
|
2115
|
-
look_id =
|
|
2116
|
-
return
|
|
2101
|
+
look_id = encodeParam(look_id);
|
|
2102
|
+
return _this253.get("/looks/".concat(look_id), {
|
|
2117
2103
|
fields
|
|
2118
2104
|
}, null, options);
|
|
2119
2105
|
})();
|
|
2120
2106
|
}
|
|
2121
2107
|
update_look(look_id, body, fields, options) {
|
|
2122
|
-
var
|
|
2108
|
+
var _this254 = this;
|
|
2123
2109
|
return _asyncToGenerator(function* () {
|
|
2124
|
-
look_id =
|
|
2125
|
-
return
|
|
2110
|
+
look_id = encodeParam(look_id);
|
|
2111
|
+
return _this254.patch("/looks/".concat(look_id), {
|
|
2126
2112
|
fields
|
|
2127
2113
|
}, body, options);
|
|
2128
2114
|
})();
|
|
2129
2115
|
}
|
|
2130
2116
|
delete_look(look_id, options) {
|
|
2131
|
-
var
|
|
2117
|
+
var _this255 = this;
|
|
2132
2118
|
return _asyncToGenerator(function* () {
|
|
2133
|
-
look_id =
|
|
2134
|
-
return
|
|
2119
|
+
look_id = encodeParam(look_id);
|
|
2120
|
+
return _this255.delete("/looks/".concat(look_id), null, null, options);
|
|
2135
2121
|
})();
|
|
2136
2122
|
}
|
|
2137
2123
|
run_look(request, options) {
|
|
2138
|
-
var
|
|
2124
|
+
var _this256 = this;
|
|
2139
2125
|
return _asyncToGenerator(function* () {
|
|
2140
|
-
request.look_id =
|
|
2141
|
-
request.result_format =
|
|
2142
|
-
return
|
|
2126
|
+
request.look_id = encodeParam(request.look_id);
|
|
2127
|
+
request.result_format = encodeParam(request.result_format);
|
|
2128
|
+
return _this256.get("/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2143
2129
|
limit: request.limit,
|
|
2144
2130
|
apply_formatting: request.apply_formatting,
|
|
2145
2131
|
apply_vis: request.apply_vis,
|
|
@@ -2156,27 +2142,27 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2156
2142
|
})();
|
|
2157
2143
|
}
|
|
2158
2144
|
copy_look(look_id, folder_id, options) {
|
|
2159
|
-
var
|
|
2145
|
+
var _this257 = this;
|
|
2160
2146
|
return _asyncToGenerator(function* () {
|
|
2161
|
-
look_id =
|
|
2162
|
-
return
|
|
2147
|
+
look_id = encodeParam(look_id);
|
|
2148
|
+
return _this257.post("/looks/".concat(look_id, "/copy"), {
|
|
2163
2149
|
folder_id
|
|
2164
2150
|
}, null, options);
|
|
2165
2151
|
})();
|
|
2166
2152
|
}
|
|
2167
2153
|
move_look(look_id, folder_id, options) {
|
|
2168
|
-
var
|
|
2154
|
+
var _this258 = this;
|
|
2169
2155
|
return _asyncToGenerator(function* () {
|
|
2170
|
-
look_id =
|
|
2171
|
-
return
|
|
2156
|
+
look_id = encodeParam(look_id);
|
|
2157
|
+
return _this258.patch("/looks/".concat(look_id, "/move"), {
|
|
2172
2158
|
folder_id
|
|
2173
2159
|
}, null, options);
|
|
2174
2160
|
})();
|
|
2175
2161
|
}
|
|
2176
2162
|
all_lookml_models(request, options) {
|
|
2177
|
-
var
|
|
2163
|
+
var _this259 = this;
|
|
2178
2164
|
return _asyncToGenerator(function* () {
|
|
2179
|
-
return
|
|
2165
|
+
return _this259.get('/lookml_models', {
|
|
2180
2166
|
fields: request.fields,
|
|
2181
2167
|
limit: request.limit,
|
|
2182
2168
|
offset: request.offset
|
|
@@ -2184,84 +2170,84 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2184
2170
|
})();
|
|
2185
2171
|
}
|
|
2186
2172
|
create_lookml_model(body, options) {
|
|
2187
|
-
var
|
|
2173
|
+
var _this260 = this;
|
|
2188
2174
|
return _asyncToGenerator(function* () {
|
|
2189
|
-
return
|
|
2175
|
+
return _this260.post('/lookml_models', null, body, options);
|
|
2190
2176
|
})();
|
|
2191
2177
|
}
|
|
2192
2178
|
lookml_model(lookml_model_name, fields, options) {
|
|
2193
|
-
var
|
|
2179
|
+
var _this261 = this;
|
|
2194
2180
|
return _asyncToGenerator(function* () {
|
|
2195
|
-
lookml_model_name =
|
|
2196
|
-
return
|
|
2181
|
+
lookml_model_name = encodeParam(lookml_model_name);
|
|
2182
|
+
return _this261.get("/lookml_models/".concat(lookml_model_name), {
|
|
2197
2183
|
fields
|
|
2198
2184
|
}, null, options);
|
|
2199
2185
|
})();
|
|
2200
2186
|
}
|
|
2201
2187
|
update_lookml_model(lookml_model_name, body, options) {
|
|
2202
|
-
var
|
|
2188
|
+
var _this262 = this;
|
|
2203
2189
|
return _asyncToGenerator(function* () {
|
|
2204
|
-
lookml_model_name =
|
|
2205
|
-
return
|
|
2190
|
+
lookml_model_name = encodeParam(lookml_model_name);
|
|
2191
|
+
return _this262.patch("/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2206
2192
|
})();
|
|
2207
2193
|
}
|
|
2208
2194
|
delete_lookml_model(lookml_model_name, options) {
|
|
2209
|
-
var
|
|
2195
|
+
var _this263 = this;
|
|
2210
2196
|
return _asyncToGenerator(function* () {
|
|
2211
|
-
lookml_model_name =
|
|
2212
|
-
return
|
|
2197
|
+
lookml_model_name = encodeParam(lookml_model_name);
|
|
2198
|
+
return _this263.delete("/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2213
2199
|
})();
|
|
2214
2200
|
}
|
|
2215
2201
|
lookml_model_explore(lookml_model_name, explore_name, fields, options) {
|
|
2216
|
-
var
|
|
2202
|
+
var _this264 = this;
|
|
2217
2203
|
return _asyncToGenerator(function* () {
|
|
2218
|
-
lookml_model_name =
|
|
2219
|
-
explore_name =
|
|
2220
|
-
return
|
|
2204
|
+
lookml_model_name = encodeParam(lookml_model_name);
|
|
2205
|
+
explore_name = encodeParam(explore_name);
|
|
2206
|
+
return _this264.get("/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
2221
2207
|
fields
|
|
2222
2208
|
}, null, options);
|
|
2223
2209
|
})();
|
|
2224
2210
|
}
|
|
2225
2211
|
model_fieldname_suggestions(request, options) {
|
|
2226
|
-
var
|
|
2212
|
+
var _this265 = this;
|
|
2227
2213
|
return _asyncToGenerator(function* () {
|
|
2228
|
-
request.model_name =
|
|
2229
|
-
request.view_name =
|
|
2230
|
-
request.field_name =
|
|
2231
|
-
return
|
|
2214
|
+
request.model_name = encodeParam(request.model_name);
|
|
2215
|
+
request.view_name = encodeParam(request.view_name);
|
|
2216
|
+
request.field_name = encodeParam(request.field_name);
|
|
2217
|
+
return _this265.get("/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2232
2218
|
term: request.term,
|
|
2233
2219
|
filters: request.filters
|
|
2234
2220
|
}, null, options);
|
|
2235
2221
|
})();
|
|
2236
2222
|
}
|
|
2237
2223
|
get_model(model_name, options) {
|
|
2238
|
-
var
|
|
2224
|
+
var _this266 = this;
|
|
2239
2225
|
return _asyncToGenerator(function* () {
|
|
2240
|
-
model_name =
|
|
2241
|
-
return
|
|
2226
|
+
model_name = encodeParam(model_name);
|
|
2227
|
+
return _this266.get("/models/".concat(model_name), null, null, options);
|
|
2242
2228
|
})();
|
|
2243
2229
|
}
|
|
2244
2230
|
connection_databases(connection_name, options) {
|
|
2245
|
-
var
|
|
2231
|
+
var _this267 = this;
|
|
2246
2232
|
return _asyncToGenerator(function* () {
|
|
2247
|
-
connection_name =
|
|
2248
|
-
return
|
|
2233
|
+
connection_name = encodeParam(connection_name);
|
|
2234
|
+
return _this267.get("/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2249
2235
|
})();
|
|
2250
2236
|
}
|
|
2251
2237
|
connection_features(connection_name, fields, options) {
|
|
2252
|
-
var
|
|
2238
|
+
var _this268 = this;
|
|
2253
2239
|
return _asyncToGenerator(function* () {
|
|
2254
|
-
connection_name =
|
|
2255
|
-
return
|
|
2240
|
+
connection_name = encodeParam(connection_name);
|
|
2241
|
+
return _this268.get("/connections/".concat(connection_name, "/features"), {
|
|
2256
2242
|
fields
|
|
2257
2243
|
}, null, options);
|
|
2258
2244
|
})();
|
|
2259
2245
|
}
|
|
2260
2246
|
connection_schemas(request, options) {
|
|
2261
|
-
var
|
|
2247
|
+
var _this269 = this;
|
|
2262
2248
|
return _asyncToGenerator(function* () {
|
|
2263
|
-
request.connection_name =
|
|
2264
|
-
return
|
|
2249
|
+
request.connection_name = encodeParam(request.connection_name);
|
|
2250
|
+
return _this269.get("/connections/".concat(request.connection_name, "/schemas"), {
|
|
2265
2251
|
database: request.database,
|
|
2266
2252
|
cache: request.cache,
|
|
2267
2253
|
fields: request.fields
|
|
@@ -2269,10 +2255,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2269
2255
|
})();
|
|
2270
2256
|
}
|
|
2271
2257
|
connection_tables(request, options) {
|
|
2272
|
-
var
|
|
2258
|
+
var _this270 = this;
|
|
2273
2259
|
return _asyncToGenerator(function* () {
|
|
2274
|
-
request.connection_name =
|
|
2275
|
-
return
|
|
2260
|
+
request.connection_name = encodeParam(request.connection_name);
|
|
2261
|
+
return _this270.get("/connections/".concat(request.connection_name, "/tables"), {
|
|
2276
2262
|
database: request.database,
|
|
2277
2263
|
schema_name: request.schema_name,
|
|
2278
2264
|
cache: request.cache,
|
|
@@ -2283,10 +2269,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2283
2269
|
})();
|
|
2284
2270
|
}
|
|
2285
2271
|
connection_columns(request, options) {
|
|
2286
|
-
var
|
|
2272
|
+
var _this271 = this;
|
|
2287
2273
|
return _asyncToGenerator(function* () {
|
|
2288
|
-
request.connection_name =
|
|
2289
|
-
return
|
|
2274
|
+
request.connection_name = encodeParam(request.connection_name);
|
|
2275
|
+
return _this271.get("/connections/".concat(request.connection_name, "/columns"), {
|
|
2290
2276
|
database: request.database,
|
|
2291
2277
|
schema_name: request.schema_name,
|
|
2292
2278
|
cache: request.cache,
|
|
@@ -2297,241 +2283,241 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2297
2283
|
})();
|
|
2298
2284
|
}
|
|
2299
2285
|
connection_search_columns(request, options) {
|
|
2300
|
-
var
|
|
2286
|
+
var _this272 = this;
|
|
2301
2287
|
return _asyncToGenerator(function* () {
|
|
2302
|
-
request.connection_name =
|
|
2303
|
-
return
|
|
2288
|
+
request.connection_name = encodeParam(request.connection_name);
|
|
2289
|
+
return _this272.get("/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2304
2290
|
column_name: request.column_name,
|
|
2305
2291
|
fields: request.fields
|
|
2306
2292
|
}, null, options);
|
|
2307
2293
|
})();
|
|
2308
2294
|
}
|
|
2309
2295
|
connection_cost_estimate(connection_name, body, fields, options) {
|
|
2310
|
-
var
|
|
2296
|
+
var _this273 = this;
|
|
2311
2297
|
return _asyncToGenerator(function* () {
|
|
2312
|
-
connection_name =
|
|
2313
|
-
return
|
|
2298
|
+
connection_name = encodeParam(connection_name);
|
|
2299
|
+
return _this273.post("/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2314
2300
|
fields
|
|
2315
2301
|
}, body, options);
|
|
2316
2302
|
})();
|
|
2317
2303
|
}
|
|
2318
2304
|
lock_all(project_id, fields, options) {
|
|
2319
|
-
var
|
|
2305
|
+
var _this274 = this;
|
|
2320
2306
|
return _asyncToGenerator(function* () {
|
|
2321
|
-
project_id =
|
|
2322
|
-
return
|
|
2307
|
+
project_id = encodeParam(project_id);
|
|
2308
|
+
return _this274.post("/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2323
2309
|
fields
|
|
2324
2310
|
}, null, options);
|
|
2325
2311
|
})();
|
|
2326
2312
|
}
|
|
2327
2313
|
all_git_branches(project_id, options) {
|
|
2328
|
-
var
|
|
2314
|
+
var _this275 = this;
|
|
2329
2315
|
return _asyncToGenerator(function* () {
|
|
2330
|
-
project_id =
|
|
2331
|
-
return
|
|
2316
|
+
project_id = encodeParam(project_id);
|
|
2317
|
+
return _this275.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2332
2318
|
})();
|
|
2333
2319
|
}
|
|
2334
2320
|
git_branch(project_id, options) {
|
|
2335
|
-
var
|
|
2321
|
+
var _this276 = this;
|
|
2336
2322
|
return _asyncToGenerator(function* () {
|
|
2337
|
-
project_id =
|
|
2338
|
-
return
|
|
2323
|
+
project_id = encodeParam(project_id);
|
|
2324
|
+
return _this276.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2339
2325
|
})();
|
|
2340
2326
|
}
|
|
2341
2327
|
update_git_branch(project_id, body, options) {
|
|
2342
|
-
var
|
|
2328
|
+
var _this277 = this;
|
|
2343
2329
|
return _asyncToGenerator(function* () {
|
|
2344
|
-
project_id =
|
|
2345
|
-
return
|
|
2330
|
+
project_id = encodeParam(project_id);
|
|
2331
|
+
return _this277.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2346
2332
|
})();
|
|
2347
2333
|
}
|
|
2348
2334
|
create_git_branch(project_id, body, options) {
|
|
2349
|
-
var
|
|
2335
|
+
var _this278 = this;
|
|
2350
2336
|
return _asyncToGenerator(function* () {
|
|
2351
|
-
project_id =
|
|
2352
|
-
return
|
|
2337
|
+
project_id = encodeParam(project_id);
|
|
2338
|
+
return _this278.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2353
2339
|
})();
|
|
2354
2340
|
}
|
|
2355
2341
|
find_git_branch(project_id, branch_name, options) {
|
|
2356
|
-
var
|
|
2342
|
+
var _this279 = this;
|
|
2357
2343
|
return _asyncToGenerator(function* () {
|
|
2358
|
-
project_id =
|
|
2359
|
-
branch_name =
|
|
2360
|
-
return
|
|
2344
|
+
project_id = encodeParam(project_id);
|
|
2345
|
+
branch_name = encodeParam(branch_name);
|
|
2346
|
+
return _this279.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2361
2347
|
})();
|
|
2362
2348
|
}
|
|
2363
2349
|
delete_git_branch(project_id, branch_name, options) {
|
|
2364
|
-
var
|
|
2350
|
+
var _this280 = this;
|
|
2365
2351
|
return _asyncToGenerator(function* () {
|
|
2366
|
-
project_id =
|
|
2367
|
-
branch_name =
|
|
2368
|
-
return
|
|
2352
|
+
project_id = encodeParam(project_id);
|
|
2353
|
+
branch_name = encodeParam(branch_name);
|
|
2354
|
+
return _this280.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2369
2355
|
})();
|
|
2370
2356
|
}
|
|
2371
2357
|
deploy_ref_to_production(request, options) {
|
|
2372
|
-
var
|
|
2358
|
+
var _this281 = this;
|
|
2373
2359
|
return _asyncToGenerator(function* () {
|
|
2374
|
-
request.project_id =
|
|
2375
|
-
return
|
|
2360
|
+
request.project_id = encodeParam(request.project_id);
|
|
2361
|
+
return _this281.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2376
2362
|
branch: request.branch,
|
|
2377
2363
|
ref: request.ref
|
|
2378
2364
|
}, null, options);
|
|
2379
2365
|
})();
|
|
2380
2366
|
}
|
|
2381
2367
|
deploy_to_production(project_id, options) {
|
|
2382
|
-
var
|
|
2368
|
+
var _this282 = this;
|
|
2383
2369
|
return _asyncToGenerator(function* () {
|
|
2384
|
-
project_id =
|
|
2385
|
-
return
|
|
2370
|
+
project_id = encodeParam(project_id);
|
|
2371
|
+
return _this282.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2386
2372
|
})();
|
|
2387
2373
|
}
|
|
2388
2374
|
reset_project_to_production(project_id, options) {
|
|
2389
|
-
var
|
|
2375
|
+
var _this283 = this;
|
|
2390
2376
|
return _asyncToGenerator(function* () {
|
|
2391
|
-
project_id =
|
|
2392
|
-
return
|
|
2377
|
+
project_id = encodeParam(project_id);
|
|
2378
|
+
return _this283.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2393
2379
|
})();
|
|
2394
2380
|
}
|
|
2395
2381
|
reset_project_to_remote(project_id, options) {
|
|
2396
|
-
var
|
|
2382
|
+
var _this284 = this;
|
|
2397
2383
|
return _asyncToGenerator(function* () {
|
|
2398
|
-
project_id =
|
|
2399
|
-
return
|
|
2384
|
+
project_id = encodeParam(project_id);
|
|
2385
|
+
return _this284.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2400
2386
|
})();
|
|
2401
2387
|
}
|
|
2402
2388
|
all_projects(fields, options) {
|
|
2403
|
-
var
|
|
2389
|
+
var _this285 = this;
|
|
2404
2390
|
return _asyncToGenerator(function* () {
|
|
2405
|
-
return
|
|
2391
|
+
return _this285.get('/projects', {
|
|
2406
2392
|
fields
|
|
2407
2393
|
}, null, options);
|
|
2408
2394
|
})();
|
|
2409
2395
|
}
|
|
2410
2396
|
create_project(body, options) {
|
|
2411
|
-
var
|
|
2397
|
+
var _this286 = this;
|
|
2412
2398
|
return _asyncToGenerator(function* () {
|
|
2413
|
-
return
|
|
2399
|
+
return _this286.post('/projects', null, body, options);
|
|
2414
2400
|
})();
|
|
2415
2401
|
}
|
|
2416
2402
|
project(project_id, fields, options) {
|
|
2417
|
-
var
|
|
2403
|
+
var _this287 = this;
|
|
2418
2404
|
return _asyncToGenerator(function* () {
|
|
2419
|
-
project_id =
|
|
2420
|
-
return
|
|
2405
|
+
project_id = encodeParam(project_id);
|
|
2406
|
+
return _this287.get("/projects/".concat(project_id), {
|
|
2421
2407
|
fields
|
|
2422
2408
|
}, null, options);
|
|
2423
2409
|
})();
|
|
2424
2410
|
}
|
|
2425
2411
|
update_project(project_id, body, fields, options) {
|
|
2426
|
-
var
|
|
2412
|
+
var _this288 = this;
|
|
2427
2413
|
return _asyncToGenerator(function* () {
|
|
2428
|
-
project_id =
|
|
2429
|
-
return
|
|
2414
|
+
project_id = encodeParam(project_id);
|
|
2415
|
+
return _this288.patch("/projects/".concat(project_id), {
|
|
2430
2416
|
fields
|
|
2431
2417
|
}, body, options);
|
|
2432
2418
|
})();
|
|
2433
2419
|
}
|
|
2434
2420
|
manifest(project_id, options) {
|
|
2435
|
-
var
|
|
2421
|
+
var _this289 = this;
|
|
2436
2422
|
return _asyncToGenerator(function* () {
|
|
2437
|
-
project_id =
|
|
2438
|
-
return
|
|
2423
|
+
project_id = encodeParam(project_id);
|
|
2424
|
+
return _this289.get("/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2439
2425
|
})();
|
|
2440
2426
|
}
|
|
2441
2427
|
git_deploy_key(project_id, options) {
|
|
2442
|
-
var
|
|
2428
|
+
var _this290 = this;
|
|
2443
2429
|
return _asyncToGenerator(function* () {
|
|
2444
|
-
project_id =
|
|
2445
|
-
return
|
|
2430
|
+
project_id = encodeParam(project_id);
|
|
2431
|
+
return _this290.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2446
2432
|
})();
|
|
2447
2433
|
}
|
|
2448
2434
|
create_git_deploy_key(project_id, options) {
|
|
2449
|
-
var
|
|
2435
|
+
var _this291 = this;
|
|
2450
2436
|
return _asyncToGenerator(function* () {
|
|
2451
|
-
project_id =
|
|
2452
|
-
return
|
|
2437
|
+
project_id = encodeParam(project_id);
|
|
2438
|
+
return _this291.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2453
2439
|
})();
|
|
2454
2440
|
}
|
|
2455
2441
|
project_validation_results(project_id, fields, options) {
|
|
2456
|
-
var
|
|
2442
|
+
var _this292 = this;
|
|
2457
2443
|
return _asyncToGenerator(function* () {
|
|
2458
|
-
project_id =
|
|
2459
|
-
return
|
|
2444
|
+
project_id = encodeParam(project_id);
|
|
2445
|
+
return _this292.get("/projects/".concat(project_id, "/validate"), {
|
|
2460
2446
|
fields
|
|
2461
2447
|
}, null, options);
|
|
2462
2448
|
})();
|
|
2463
2449
|
}
|
|
2464
2450
|
validate_project(project_id, fields, options) {
|
|
2465
|
-
var
|
|
2451
|
+
var _this293 = this;
|
|
2466
2452
|
return _asyncToGenerator(function* () {
|
|
2467
|
-
project_id =
|
|
2468
|
-
return
|
|
2453
|
+
project_id = encodeParam(project_id);
|
|
2454
|
+
return _this293.post("/projects/".concat(project_id, "/validate"), {
|
|
2469
2455
|
fields
|
|
2470
2456
|
}, null, options);
|
|
2471
2457
|
})();
|
|
2472
2458
|
}
|
|
2473
2459
|
project_workspace(project_id, fields, options) {
|
|
2474
|
-
var
|
|
2460
|
+
var _this294 = this;
|
|
2475
2461
|
return _asyncToGenerator(function* () {
|
|
2476
|
-
project_id =
|
|
2477
|
-
return
|
|
2462
|
+
project_id = encodeParam(project_id);
|
|
2463
|
+
return _this294.get("/projects/".concat(project_id, "/current_workspace"), {
|
|
2478
2464
|
fields
|
|
2479
2465
|
}, null, options);
|
|
2480
2466
|
})();
|
|
2481
2467
|
}
|
|
2482
2468
|
all_project_files(project_id, fields, options) {
|
|
2483
|
-
var
|
|
2469
|
+
var _this295 = this;
|
|
2484
2470
|
return _asyncToGenerator(function* () {
|
|
2485
|
-
project_id =
|
|
2486
|
-
return
|
|
2471
|
+
project_id = encodeParam(project_id);
|
|
2472
|
+
return _this295.get("/projects/".concat(project_id, "/files"), {
|
|
2487
2473
|
fields
|
|
2488
2474
|
}, null, options);
|
|
2489
2475
|
})();
|
|
2490
2476
|
}
|
|
2491
2477
|
project_file(project_id, file_id, fields, options) {
|
|
2492
|
-
var
|
|
2478
|
+
var _this296 = this;
|
|
2493
2479
|
return _asyncToGenerator(function* () {
|
|
2494
|
-
project_id =
|
|
2495
|
-
return
|
|
2480
|
+
project_id = encodeParam(project_id);
|
|
2481
|
+
return _this296.get("/projects/".concat(project_id, "/files/file"), {
|
|
2496
2482
|
file_id,
|
|
2497
2483
|
fields
|
|
2498
2484
|
}, null, options);
|
|
2499
2485
|
})();
|
|
2500
2486
|
}
|
|
2501
2487
|
all_git_connection_tests(project_id, remote_url, options) {
|
|
2502
|
-
var
|
|
2488
|
+
var _this297 = this;
|
|
2503
2489
|
return _asyncToGenerator(function* () {
|
|
2504
|
-
project_id =
|
|
2505
|
-
return
|
|
2490
|
+
project_id = encodeParam(project_id);
|
|
2491
|
+
return _this297.get("/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2506
2492
|
remote_url
|
|
2507
2493
|
}, null, options);
|
|
2508
2494
|
})();
|
|
2509
2495
|
}
|
|
2510
2496
|
run_git_connection_test(request, options) {
|
|
2511
|
-
var
|
|
2497
|
+
var _this298 = this;
|
|
2512
2498
|
return _asyncToGenerator(function* () {
|
|
2513
|
-
request.project_id =
|
|
2514
|
-
request.test_id =
|
|
2515
|
-
return
|
|
2499
|
+
request.project_id = encodeParam(request.project_id);
|
|
2500
|
+
request.test_id = encodeParam(request.test_id);
|
|
2501
|
+
return _this298.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2516
2502
|
remote_url: request.remote_url,
|
|
2517
2503
|
use_production: request.use_production
|
|
2518
2504
|
}, null, options);
|
|
2519
2505
|
})();
|
|
2520
2506
|
}
|
|
2521
2507
|
all_lookml_tests(project_id, file_id, options) {
|
|
2522
|
-
var
|
|
2508
|
+
var _this299 = this;
|
|
2523
2509
|
return _asyncToGenerator(function* () {
|
|
2524
|
-
project_id =
|
|
2525
|
-
return
|
|
2510
|
+
project_id = encodeParam(project_id);
|
|
2511
|
+
return _this299.get("/projects/".concat(project_id, "/lookml_tests"), {
|
|
2526
2512
|
file_id
|
|
2527
2513
|
}, null, options);
|
|
2528
2514
|
})();
|
|
2529
2515
|
}
|
|
2530
2516
|
run_lookml_test(request, options) {
|
|
2531
|
-
var
|
|
2517
|
+
var _this300 = this;
|
|
2532
2518
|
return _asyncToGenerator(function* () {
|
|
2533
|
-
request.project_id =
|
|
2534
|
-
return
|
|
2519
|
+
request.project_id = encodeParam(request.project_id);
|
|
2520
|
+
return _this300.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2535
2521
|
file_id: request.file_id,
|
|
2536
2522
|
test: request.test,
|
|
2537
2523
|
model: request.model
|
|
@@ -2539,10 +2525,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2539
2525
|
})();
|
|
2540
2526
|
}
|
|
2541
2527
|
tag_ref(request, options) {
|
|
2542
|
-
var
|
|
2528
|
+
var _this301 = this;
|
|
2543
2529
|
return _asyncToGenerator(function* () {
|
|
2544
|
-
request.project_id =
|
|
2545
|
-
return
|
|
2530
|
+
request.project_id = encodeParam(request.project_id);
|
|
2531
|
+
return _this301.post("/projects/".concat(request.project_id, "/tag"), {
|
|
2546
2532
|
commit_sha: request.commit_sha,
|
|
2547
2533
|
tag_name: request.tag_name,
|
|
2548
2534
|
tag_message: request.tag_message
|
|
@@ -2550,32 +2536,32 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2550
2536
|
})();
|
|
2551
2537
|
}
|
|
2552
2538
|
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
2553
|
-
var
|
|
2539
|
+
var _this302 = this;
|
|
2554
2540
|
return _asyncToGenerator(function* () {
|
|
2555
|
-
root_project_id =
|
|
2556
|
-
credential_id =
|
|
2557
|
-
return
|
|
2541
|
+
root_project_id = encodeParam(root_project_id);
|
|
2542
|
+
credential_id = encodeParam(credential_id);
|
|
2543
|
+
return _this302.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
2558
2544
|
})();
|
|
2559
2545
|
}
|
|
2560
2546
|
delete_repository_credential(root_project_id, credential_id, options) {
|
|
2561
|
-
var
|
|
2547
|
+
var _this303 = this;
|
|
2562
2548
|
return _asyncToGenerator(function* () {
|
|
2563
|
-
root_project_id =
|
|
2564
|
-
credential_id =
|
|
2565
|
-
return
|
|
2549
|
+
root_project_id = encodeParam(root_project_id);
|
|
2550
|
+
credential_id = encodeParam(credential_id);
|
|
2551
|
+
return _this303.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
2566
2552
|
})();
|
|
2567
2553
|
}
|
|
2568
2554
|
get_all_repository_credentials(root_project_id, options) {
|
|
2569
|
-
var
|
|
2555
|
+
var _this304 = this;
|
|
2570
2556
|
return _asyncToGenerator(function* () {
|
|
2571
|
-
root_project_id =
|
|
2572
|
-
return
|
|
2557
|
+
root_project_id = encodeParam(root_project_id);
|
|
2558
|
+
return _this304.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
2573
2559
|
})();
|
|
2574
2560
|
}
|
|
2575
2561
|
create_query_task(request, options) {
|
|
2576
|
-
var
|
|
2562
|
+
var _this305 = this;
|
|
2577
2563
|
return _asyncToGenerator(function* () {
|
|
2578
|
-
return
|
|
2564
|
+
return _this305.post('/query_tasks', {
|
|
2579
2565
|
limit: request.limit,
|
|
2580
2566
|
apply_formatting: request.apply_formatting,
|
|
2581
2567
|
apply_vis: request.apply_vis,
|
|
@@ -2586,68 +2572,66 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2586
2572
|
path_prefix: request.path_prefix,
|
|
2587
2573
|
rebuild_pdts: request.rebuild_pdts,
|
|
2588
2574
|
server_table_calcs: request.server_table_calcs,
|
|
2589
|
-
image_width: request.image_width,
|
|
2590
|
-
image_height: request.image_height,
|
|
2591
2575
|
fields: request.fields
|
|
2592
2576
|
}, request.body, options);
|
|
2593
2577
|
})();
|
|
2594
2578
|
}
|
|
2595
2579
|
query_task_multi_results(query_task_ids, options) {
|
|
2596
|
-
var
|
|
2580
|
+
var _this306 = this;
|
|
2597
2581
|
return _asyncToGenerator(function* () {
|
|
2598
|
-
return
|
|
2582
|
+
return _this306.get('/query_tasks/multi_results', {
|
|
2599
2583
|
query_task_ids
|
|
2600
2584
|
}, null, options);
|
|
2601
2585
|
})();
|
|
2602
2586
|
}
|
|
2603
2587
|
query_task(query_task_id, fields, options) {
|
|
2604
|
-
var
|
|
2588
|
+
var _this307 = this;
|
|
2605
2589
|
return _asyncToGenerator(function* () {
|
|
2606
|
-
query_task_id =
|
|
2607
|
-
return
|
|
2590
|
+
query_task_id = encodeParam(query_task_id);
|
|
2591
|
+
return _this307.get("/query_tasks/".concat(query_task_id), {
|
|
2608
2592
|
fields
|
|
2609
2593
|
}, null, options);
|
|
2610
2594
|
})();
|
|
2611
2595
|
}
|
|
2612
2596
|
query_task_results(query_task_id, options) {
|
|
2613
|
-
var
|
|
2597
|
+
var _this308 = this;
|
|
2614
2598
|
return _asyncToGenerator(function* () {
|
|
2615
|
-
query_task_id =
|
|
2616
|
-
return
|
|
2599
|
+
query_task_id = encodeParam(query_task_id);
|
|
2600
|
+
return _this308.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
2617
2601
|
})();
|
|
2618
2602
|
}
|
|
2619
2603
|
query(query_id, fields, options) {
|
|
2620
|
-
var
|
|
2604
|
+
var _this309 = this;
|
|
2621
2605
|
return _asyncToGenerator(function* () {
|
|
2622
|
-
query_id =
|
|
2623
|
-
return
|
|
2606
|
+
query_id = encodeParam(query_id);
|
|
2607
|
+
return _this309.get("/queries/".concat(query_id), {
|
|
2624
2608
|
fields
|
|
2625
2609
|
}, null, options);
|
|
2626
2610
|
})();
|
|
2627
2611
|
}
|
|
2628
2612
|
query_for_slug(slug, fields, options) {
|
|
2629
|
-
var
|
|
2613
|
+
var _this310 = this;
|
|
2630
2614
|
return _asyncToGenerator(function* () {
|
|
2631
|
-
slug =
|
|
2632
|
-
return
|
|
2615
|
+
slug = encodeParam(slug);
|
|
2616
|
+
return _this310.get("/queries/slug/".concat(slug), {
|
|
2633
2617
|
fields
|
|
2634
2618
|
}, null, options);
|
|
2635
2619
|
})();
|
|
2636
2620
|
}
|
|
2637
2621
|
create_query(body, fields, options) {
|
|
2638
|
-
var
|
|
2622
|
+
var _this311 = this;
|
|
2639
2623
|
return _asyncToGenerator(function* () {
|
|
2640
|
-
return
|
|
2624
|
+
return _this311.post('/queries', {
|
|
2641
2625
|
fields
|
|
2642
2626
|
}, body, options);
|
|
2643
2627
|
})();
|
|
2644
2628
|
}
|
|
2645
2629
|
run_query(request, options) {
|
|
2646
|
-
var
|
|
2630
|
+
var _this312 = this;
|
|
2647
2631
|
return _asyncToGenerator(function* () {
|
|
2648
|
-
request.query_id =
|
|
2649
|
-
request.result_format =
|
|
2650
|
-
return
|
|
2632
|
+
request.query_id = encodeParam(request.query_id);
|
|
2633
|
+
request.result_format = encodeParam(request.result_format);
|
|
2634
|
+
return _this312.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
2651
2635
|
limit: request.limit,
|
|
2652
2636
|
apply_formatting: request.apply_formatting,
|
|
2653
2637
|
apply_vis: request.apply_vis,
|
|
@@ -2665,10 +2649,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2665
2649
|
})();
|
|
2666
2650
|
}
|
|
2667
2651
|
run_inline_query(request, options) {
|
|
2668
|
-
var
|
|
2652
|
+
var _this313 = this;
|
|
2669
2653
|
return _asyncToGenerator(function* () {
|
|
2670
|
-
request.result_format =
|
|
2671
|
-
return
|
|
2654
|
+
request.result_format = encodeParam(request.result_format);
|
|
2655
|
+
return _this313.post("/queries/run/".concat(request.result_format), {
|
|
2672
2656
|
limit: request.limit,
|
|
2673
2657
|
apply_formatting: request.apply_formatting,
|
|
2674
2658
|
apply_vis: request.apply_vis,
|
|
@@ -2685,86 +2669,73 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2685
2669
|
})();
|
|
2686
2670
|
}
|
|
2687
2671
|
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
2688
|
-
var
|
|
2672
|
+
var _this314 = this;
|
|
2689
2673
|
return _asyncToGenerator(function* () {
|
|
2690
|
-
model_name =
|
|
2691
|
-
view_name =
|
|
2692
|
-
result_format =
|
|
2693
|
-
return
|
|
2674
|
+
model_name = encodeParam(model_name);
|
|
2675
|
+
view_name = encodeParam(view_name);
|
|
2676
|
+
result_format = encodeParam(result_format);
|
|
2677
|
+
return _this314.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
2694
2678
|
})();
|
|
2695
2679
|
}
|
|
2696
2680
|
merge_query(merge_query_id, fields, options) {
|
|
2697
|
-
var
|
|
2681
|
+
var _this315 = this;
|
|
2698
2682
|
return _asyncToGenerator(function* () {
|
|
2699
|
-
merge_query_id =
|
|
2700
|
-
return
|
|
2683
|
+
merge_query_id = encodeParam(merge_query_id);
|
|
2684
|
+
return _this315.get("/merge_queries/".concat(merge_query_id), {
|
|
2701
2685
|
fields
|
|
2702
2686
|
}, null, options);
|
|
2703
2687
|
})();
|
|
2704
2688
|
}
|
|
2705
2689
|
create_merge_query(body, fields, options) {
|
|
2706
|
-
var
|
|
2690
|
+
var _this316 = this;
|
|
2707
2691
|
return _asyncToGenerator(function* () {
|
|
2708
|
-
return
|
|
2692
|
+
return _this316.post('/merge_queries', {
|
|
2709
2693
|
fields
|
|
2710
2694
|
}, body, options);
|
|
2711
2695
|
})();
|
|
2712
2696
|
}
|
|
2713
2697
|
all_running_queries(options) {
|
|
2714
|
-
var
|
|
2698
|
+
var _this317 = this;
|
|
2715
2699
|
return _asyncToGenerator(function* () {
|
|
2716
|
-
return
|
|
2700
|
+
return _this317.get('/running_queries', null, null, options);
|
|
2717
2701
|
})();
|
|
2718
2702
|
}
|
|
2719
2703
|
kill_query(query_task_id, options) {
|
|
2720
|
-
var
|
|
2721
|
-
return _asyncToGenerator(function* () {
|
|
2722
|
-
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
2723
|
-
return _this319.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
2724
|
-
})();
|
|
2725
|
-
}
|
|
2726
|
-
run_sql_interface_query(query_id, result_format, options) {
|
|
2727
|
-
var _this320 = this;
|
|
2728
|
-
return _asyncToGenerator(function* () {
|
|
2729
|
-
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
2730
|
-
return _this320.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
2731
|
-
})();
|
|
2732
|
-
}
|
|
2733
|
-
create_sql_interface_query(body, options) {
|
|
2734
|
-
var _this321 = this;
|
|
2704
|
+
var _this318 = this;
|
|
2735
2705
|
return _asyncToGenerator(function* () {
|
|
2736
|
-
|
|
2706
|
+
query_task_id = encodeParam(query_task_id);
|
|
2707
|
+
return _this318.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
2737
2708
|
})();
|
|
2738
2709
|
}
|
|
2739
2710
|
create_sql_query(body, options) {
|
|
2740
|
-
var
|
|
2711
|
+
var _this319 = this;
|
|
2741
2712
|
return _asyncToGenerator(function* () {
|
|
2742
|
-
return
|
|
2713
|
+
return _this319.post('/sql_queries', null, body, options);
|
|
2743
2714
|
})();
|
|
2744
2715
|
}
|
|
2745
2716
|
sql_query(slug, options) {
|
|
2746
|
-
var
|
|
2717
|
+
var _this320 = this;
|
|
2747
2718
|
return _asyncToGenerator(function* () {
|
|
2748
|
-
slug =
|
|
2749
|
-
return
|
|
2719
|
+
slug = encodeParam(slug);
|
|
2720
|
+
return _this320.get("/sql_queries/".concat(slug), null, null, options);
|
|
2750
2721
|
})();
|
|
2751
2722
|
}
|
|
2752
2723
|
run_sql_query(slug, result_format, download, options) {
|
|
2753
|
-
var
|
|
2724
|
+
var _this321 = this;
|
|
2754
2725
|
return _asyncToGenerator(function* () {
|
|
2755
|
-
slug =
|
|
2756
|
-
result_format =
|
|
2757
|
-
return
|
|
2726
|
+
slug = encodeParam(slug);
|
|
2727
|
+
result_format = encodeParam(result_format);
|
|
2728
|
+
return _this321.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
2758
2729
|
download
|
|
2759
2730
|
}, null, options);
|
|
2760
2731
|
})();
|
|
2761
2732
|
}
|
|
2762
2733
|
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
2763
|
-
var
|
|
2734
|
+
var _this322 = this;
|
|
2764
2735
|
return _asyncToGenerator(function* () {
|
|
2765
|
-
look_id =
|
|
2766
|
-
result_format =
|
|
2767
|
-
return
|
|
2736
|
+
look_id = encodeParam(look_id);
|
|
2737
|
+
result_format = encodeParam(result_format);
|
|
2738
|
+
return _this322.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
2768
2739
|
width,
|
|
2769
2740
|
height,
|
|
2770
2741
|
fields
|
|
@@ -2772,11 +2743,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2772
2743
|
})();
|
|
2773
2744
|
}
|
|
2774
2745
|
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
2775
|
-
var
|
|
2746
|
+
var _this323 = this;
|
|
2776
2747
|
return _asyncToGenerator(function* () {
|
|
2777
|
-
query_id =
|
|
2778
|
-
result_format =
|
|
2779
|
-
return
|
|
2748
|
+
query_id = encodeParam(query_id);
|
|
2749
|
+
result_format = encodeParam(result_format);
|
|
2750
|
+
return _this323.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
2780
2751
|
width,
|
|
2781
2752
|
height,
|
|
2782
2753
|
fields
|
|
@@ -2784,11 +2755,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2784
2755
|
})();
|
|
2785
2756
|
}
|
|
2786
2757
|
create_dashboard_render_task(request, options) {
|
|
2787
|
-
var
|
|
2758
|
+
var _this324 = this;
|
|
2788
2759
|
return _asyncToGenerator(function* () {
|
|
2789
|
-
request.dashboard_id =
|
|
2790
|
-
request.result_format =
|
|
2791
|
-
return
|
|
2760
|
+
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
2761
|
+
request.result_format = encodeParam(request.result_format);
|
|
2762
|
+
return _this324.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
2792
2763
|
width: request.width,
|
|
2793
2764
|
height: request.height,
|
|
2794
2765
|
fields: request.fields,
|
|
@@ -2800,27 +2771,27 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2800
2771
|
})();
|
|
2801
2772
|
}
|
|
2802
2773
|
render_task(render_task_id, fields, options) {
|
|
2803
|
-
var
|
|
2774
|
+
var _this325 = this;
|
|
2804
2775
|
return _asyncToGenerator(function* () {
|
|
2805
|
-
render_task_id =
|
|
2806
|
-
return
|
|
2776
|
+
render_task_id = encodeParam(render_task_id);
|
|
2777
|
+
return _this325.get("/render_tasks/".concat(render_task_id), {
|
|
2807
2778
|
fields
|
|
2808
2779
|
}, null, options);
|
|
2809
2780
|
})();
|
|
2810
2781
|
}
|
|
2811
2782
|
render_task_results(render_task_id, options) {
|
|
2812
|
-
var
|
|
2783
|
+
var _this326 = this;
|
|
2813
2784
|
return _asyncToGenerator(function* () {
|
|
2814
|
-
render_task_id =
|
|
2815
|
-
return
|
|
2785
|
+
render_task_id = encodeParam(render_task_id);
|
|
2786
|
+
return _this326.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
2816
2787
|
})();
|
|
2817
2788
|
}
|
|
2818
2789
|
create_dashboard_element_render_task(dashboard_element_id, result_format, width, height, fields, options) {
|
|
2819
|
-
var
|
|
2790
|
+
var _this327 = this;
|
|
2820
2791
|
return _asyncToGenerator(function* () {
|
|
2821
|
-
dashboard_element_id =
|
|
2822
|
-
result_format =
|
|
2823
|
-
return
|
|
2792
|
+
dashboard_element_id = encodeParam(dashboard_element_id);
|
|
2793
|
+
result_format = encodeParam(result_format);
|
|
2794
|
+
return _this327.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
2824
2795
|
width,
|
|
2825
2796
|
height,
|
|
2826
2797
|
fields
|
|
@@ -2828,9 +2799,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2828
2799
|
})();
|
|
2829
2800
|
}
|
|
2830
2801
|
search_model_sets(request, options) {
|
|
2831
|
-
var
|
|
2802
|
+
var _this328 = this;
|
|
2832
2803
|
return _asyncToGenerator(function* () {
|
|
2833
|
-
return
|
|
2804
|
+
return _this328.get('/model_sets/search', {
|
|
2834
2805
|
fields: request.fields,
|
|
2835
2806
|
limit: request.limit,
|
|
2836
2807
|
offset: request.offset,
|
|
@@ -2844,52 +2815,52 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2844
2815
|
})();
|
|
2845
2816
|
}
|
|
2846
2817
|
model_set(model_set_id, fields, options) {
|
|
2847
|
-
var
|
|
2818
|
+
var _this329 = this;
|
|
2848
2819
|
return _asyncToGenerator(function* () {
|
|
2849
|
-
model_set_id =
|
|
2850
|
-
return
|
|
2820
|
+
model_set_id = encodeParam(model_set_id);
|
|
2821
|
+
return _this329.get("/model_sets/".concat(model_set_id), {
|
|
2851
2822
|
fields
|
|
2852
2823
|
}, null, options);
|
|
2853
2824
|
})();
|
|
2854
2825
|
}
|
|
2855
2826
|
update_model_set(model_set_id, body, options) {
|
|
2856
|
-
var
|
|
2827
|
+
var _this330 = this;
|
|
2857
2828
|
return _asyncToGenerator(function* () {
|
|
2858
|
-
model_set_id =
|
|
2859
|
-
return
|
|
2829
|
+
model_set_id = encodeParam(model_set_id);
|
|
2830
|
+
return _this330.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
2860
2831
|
})();
|
|
2861
2832
|
}
|
|
2862
2833
|
delete_model_set(model_set_id, options) {
|
|
2863
|
-
var
|
|
2834
|
+
var _this331 = this;
|
|
2864
2835
|
return _asyncToGenerator(function* () {
|
|
2865
|
-
model_set_id =
|
|
2866
|
-
return
|
|
2836
|
+
model_set_id = encodeParam(model_set_id);
|
|
2837
|
+
return _this331.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
2867
2838
|
})();
|
|
2868
2839
|
}
|
|
2869
2840
|
all_model_sets(fields, options) {
|
|
2870
|
-
var
|
|
2841
|
+
var _this332 = this;
|
|
2871
2842
|
return _asyncToGenerator(function* () {
|
|
2872
|
-
return
|
|
2843
|
+
return _this332.get('/model_sets', {
|
|
2873
2844
|
fields
|
|
2874
2845
|
}, null, options);
|
|
2875
2846
|
})();
|
|
2876
2847
|
}
|
|
2877
2848
|
create_model_set(body, options) {
|
|
2878
|
-
var
|
|
2849
|
+
var _this333 = this;
|
|
2879
2850
|
return _asyncToGenerator(function* () {
|
|
2880
|
-
return
|
|
2851
|
+
return _this333.post('/model_sets', null, body, options);
|
|
2881
2852
|
})();
|
|
2882
2853
|
}
|
|
2883
2854
|
all_permissions(options) {
|
|
2884
|
-
var
|
|
2855
|
+
var _this334 = this;
|
|
2885
2856
|
return _asyncToGenerator(function* () {
|
|
2886
|
-
return
|
|
2857
|
+
return _this334.get('/permissions', null, null, options);
|
|
2887
2858
|
})();
|
|
2888
2859
|
}
|
|
2889
2860
|
search_permission_sets(request, options) {
|
|
2890
|
-
var
|
|
2861
|
+
var _this335 = this;
|
|
2891
2862
|
return _asyncToGenerator(function* () {
|
|
2892
|
-
return
|
|
2863
|
+
return _this335.get('/permission_sets/search', {
|
|
2893
2864
|
fields: request.fields,
|
|
2894
2865
|
limit: request.limit,
|
|
2895
2866
|
offset: request.offset,
|
|
@@ -2903,61 +2874,61 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2903
2874
|
})();
|
|
2904
2875
|
}
|
|
2905
2876
|
permission_set(permission_set_id, fields, options) {
|
|
2906
|
-
var
|
|
2877
|
+
var _this336 = this;
|
|
2907
2878
|
return _asyncToGenerator(function* () {
|
|
2908
|
-
permission_set_id =
|
|
2909
|
-
return
|
|
2879
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
2880
|
+
return _this336.get("/permission_sets/".concat(permission_set_id), {
|
|
2910
2881
|
fields
|
|
2911
2882
|
}, null, options);
|
|
2912
2883
|
})();
|
|
2913
2884
|
}
|
|
2914
2885
|
update_permission_set(permission_set_id, body, options) {
|
|
2915
|
-
var
|
|
2886
|
+
var _this337 = this;
|
|
2916
2887
|
return _asyncToGenerator(function* () {
|
|
2917
|
-
permission_set_id =
|
|
2918
|
-
return
|
|
2888
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
2889
|
+
return _this337.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
2919
2890
|
})();
|
|
2920
2891
|
}
|
|
2921
2892
|
delete_permission_set(permission_set_id, options) {
|
|
2922
|
-
var
|
|
2893
|
+
var _this338 = this;
|
|
2923
2894
|
return _asyncToGenerator(function* () {
|
|
2924
|
-
permission_set_id =
|
|
2925
|
-
return
|
|
2895
|
+
permission_set_id = encodeParam(permission_set_id);
|
|
2896
|
+
return _this338.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
2926
2897
|
})();
|
|
2927
2898
|
}
|
|
2928
2899
|
all_permission_sets(fields, options) {
|
|
2929
|
-
var
|
|
2900
|
+
var _this339 = this;
|
|
2930
2901
|
return _asyncToGenerator(function* () {
|
|
2931
|
-
return
|
|
2902
|
+
return _this339.get('/permission_sets', {
|
|
2932
2903
|
fields
|
|
2933
2904
|
}, null, options);
|
|
2934
2905
|
})();
|
|
2935
2906
|
}
|
|
2936
2907
|
create_permission_set(body, options) {
|
|
2937
|
-
var
|
|
2908
|
+
var _this340 = this;
|
|
2938
2909
|
return _asyncToGenerator(function* () {
|
|
2939
|
-
return
|
|
2910
|
+
return _this340.post('/permission_sets', null, body, options);
|
|
2940
2911
|
})();
|
|
2941
2912
|
}
|
|
2942
2913
|
all_roles(request, options) {
|
|
2943
|
-
var
|
|
2914
|
+
var _this341 = this;
|
|
2944
2915
|
return _asyncToGenerator(function* () {
|
|
2945
|
-
return
|
|
2916
|
+
return _this341.get('/roles', {
|
|
2946
2917
|
fields: request.fields,
|
|
2947
2918
|
ids: request.ids
|
|
2948
2919
|
}, null, options);
|
|
2949
2920
|
})();
|
|
2950
2921
|
}
|
|
2951
2922
|
create_role(body, options) {
|
|
2952
|
-
var
|
|
2923
|
+
var _this342 = this;
|
|
2953
2924
|
return _asyncToGenerator(function* () {
|
|
2954
|
-
return
|
|
2925
|
+
return _this342.post('/roles', null, body, options);
|
|
2955
2926
|
})();
|
|
2956
2927
|
}
|
|
2957
2928
|
search_roles(request, options) {
|
|
2958
|
-
var
|
|
2929
|
+
var _this343 = this;
|
|
2959
2930
|
return _asyncToGenerator(function* () {
|
|
2960
|
-
return
|
|
2931
|
+
return _this343.get('/roles/search', {
|
|
2961
2932
|
fields: request.fields,
|
|
2962
2933
|
limit: request.limit,
|
|
2963
2934
|
offset: request.offset,
|
|
@@ -2970,9 +2941,9 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2970
2941
|
})();
|
|
2971
2942
|
}
|
|
2972
2943
|
search_roles_with_user_count(request, options) {
|
|
2973
|
-
var
|
|
2944
|
+
var _this344 = this;
|
|
2974
2945
|
return _asyncToGenerator(function* () {
|
|
2975
|
-
return
|
|
2946
|
+
return _this344.get('/roles/search/with_user_count', {
|
|
2976
2947
|
fields: request.fields,
|
|
2977
2948
|
limit: request.limit,
|
|
2978
2949
|
offset: request.offset,
|
|
@@ -2985,95 +2956,95 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2985
2956
|
})();
|
|
2986
2957
|
}
|
|
2987
2958
|
role(role_id, options) {
|
|
2988
|
-
var
|
|
2959
|
+
var _this345 = this;
|
|
2989
2960
|
return _asyncToGenerator(function* () {
|
|
2990
|
-
role_id =
|
|
2991
|
-
return
|
|
2961
|
+
role_id = encodeParam(role_id);
|
|
2962
|
+
return _this345.get("/roles/".concat(role_id), null, null, options);
|
|
2992
2963
|
})();
|
|
2993
2964
|
}
|
|
2994
2965
|
update_role(role_id, body, options) {
|
|
2995
|
-
var
|
|
2966
|
+
var _this346 = this;
|
|
2996
2967
|
return _asyncToGenerator(function* () {
|
|
2997
|
-
role_id =
|
|
2998
|
-
return
|
|
2968
|
+
role_id = encodeParam(role_id);
|
|
2969
|
+
return _this346.patch("/roles/".concat(role_id), null, body, options);
|
|
2999
2970
|
})();
|
|
3000
2971
|
}
|
|
3001
2972
|
delete_role(role_id, options) {
|
|
3002
|
-
var
|
|
2973
|
+
var _this347 = this;
|
|
3003
2974
|
return _asyncToGenerator(function* () {
|
|
3004
|
-
role_id =
|
|
3005
|
-
return
|
|
2975
|
+
role_id = encodeParam(role_id);
|
|
2976
|
+
return _this347.delete("/roles/".concat(role_id), null, null, options);
|
|
3006
2977
|
})();
|
|
3007
2978
|
}
|
|
3008
2979
|
role_groups(role_id, fields, options) {
|
|
3009
|
-
var
|
|
2980
|
+
var _this348 = this;
|
|
3010
2981
|
return _asyncToGenerator(function* () {
|
|
3011
|
-
role_id =
|
|
3012
|
-
return
|
|
2982
|
+
role_id = encodeParam(role_id);
|
|
2983
|
+
return _this348.get("/roles/".concat(role_id, "/groups"), {
|
|
3013
2984
|
fields
|
|
3014
2985
|
}, null, options);
|
|
3015
2986
|
})();
|
|
3016
2987
|
}
|
|
3017
2988
|
set_role_groups(role_id, body, options) {
|
|
3018
|
-
var
|
|
2989
|
+
var _this349 = this;
|
|
3019
2990
|
return _asyncToGenerator(function* () {
|
|
3020
|
-
role_id =
|
|
3021
|
-
return
|
|
2991
|
+
role_id = encodeParam(role_id);
|
|
2992
|
+
return _this349.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3022
2993
|
})();
|
|
3023
2994
|
}
|
|
3024
2995
|
role_users(request, options) {
|
|
3025
|
-
var
|
|
2996
|
+
var _this350 = this;
|
|
3026
2997
|
return _asyncToGenerator(function* () {
|
|
3027
|
-
request.role_id =
|
|
3028
|
-
return
|
|
2998
|
+
request.role_id = encodeParam(request.role_id);
|
|
2999
|
+
return _this350.get("/roles/".concat(request.role_id, "/users"), {
|
|
3029
3000
|
fields: request.fields,
|
|
3030
3001
|
direct_association_only: request.direct_association_only
|
|
3031
3002
|
}, null, options);
|
|
3032
3003
|
})();
|
|
3033
3004
|
}
|
|
3034
3005
|
set_role_users(role_id, body, options) {
|
|
3035
|
-
var
|
|
3006
|
+
var _this351 = this;
|
|
3036
3007
|
return _asyncToGenerator(function* () {
|
|
3037
|
-
role_id =
|
|
3038
|
-
return
|
|
3008
|
+
role_id = encodeParam(role_id);
|
|
3009
|
+
return _this351.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
3039
3010
|
})();
|
|
3040
3011
|
}
|
|
3041
3012
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
3042
|
-
var
|
|
3013
|
+
var _this352 = this;
|
|
3043
3014
|
return _asyncToGenerator(function* () {
|
|
3044
|
-
space_id =
|
|
3045
|
-
return
|
|
3015
|
+
space_id = encodeParam(space_id);
|
|
3016
|
+
return _this352.get("/scheduled_plans/space/".concat(space_id), {
|
|
3046
3017
|
fields
|
|
3047
3018
|
}, null, options);
|
|
3048
3019
|
})();
|
|
3049
3020
|
}
|
|
3050
3021
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
3051
|
-
var
|
|
3022
|
+
var _this353 = this;
|
|
3052
3023
|
return _asyncToGenerator(function* () {
|
|
3053
|
-
scheduled_plan_id =
|
|
3054
|
-
return
|
|
3024
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3025
|
+
return _this353.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3055
3026
|
fields
|
|
3056
3027
|
}, null, options);
|
|
3057
3028
|
})();
|
|
3058
3029
|
}
|
|
3059
3030
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
3060
|
-
var
|
|
3031
|
+
var _this354 = this;
|
|
3061
3032
|
return _asyncToGenerator(function* () {
|
|
3062
|
-
scheduled_plan_id =
|
|
3063
|
-
return
|
|
3033
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3034
|
+
return _this354.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3064
3035
|
})();
|
|
3065
3036
|
}
|
|
3066
3037
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
3067
|
-
var
|
|
3038
|
+
var _this355 = this;
|
|
3068
3039
|
return _asyncToGenerator(function* () {
|
|
3069
|
-
scheduled_plan_id =
|
|
3070
|
-
return
|
|
3040
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3041
|
+
return _this355.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3071
3042
|
})();
|
|
3072
3043
|
}
|
|
3073
3044
|
all_scheduled_plans(request, options) {
|
|
3074
|
-
var
|
|
3045
|
+
var _this356 = this;
|
|
3075
3046
|
return _asyncToGenerator(function* () {
|
|
3076
|
-
return
|
|
3047
|
+
return _this356.get('/scheduled_plans', {
|
|
3077
3048
|
user_id: request.user_id,
|
|
3078
3049
|
fields: request.fields,
|
|
3079
3050
|
all_users: request.all_users
|
|
@@ -3081,22 +3052,22 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3081
3052
|
})();
|
|
3082
3053
|
}
|
|
3083
3054
|
create_scheduled_plan(body, options) {
|
|
3084
|
-
var
|
|
3055
|
+
var _this357 = this;
|
|
3085
3056
|
return _asyncToGenerator(function* () {
|
|
3086
|
-
return
|
|
3057
|
+
return _this357.post('/scheduled_plans', null, body, options);
|
|
3087
3058
|
})();
|
|
3088
3059
|
}
|
|
3089
3060
|
scheduled_plan_run_once(body, options) {
|
|
3090
|
-
var
|
|
3061
|
+
var _this358 = this;
|
|
3091
3062
|
return _asyncToGenerator(function* () {
|
|
3092
|
-
return
|
|
3063
|
+
return _this358.post('/scheduled_plans/run_once', null, body, options);
|
|
3093
3064
|
})();
|
|
3094
3065
|
}
|
|
3095
3066
|
scheduled_plans_for_look(request, options) {
|
|
3096
|
-
var
|
|
3067
|
+
var _this359 = this;
|
|
3097
3068
|
return _asyncToGenerator(function* () {
|
|
3098
|
-
request.look_id =
|
|
3099
|
-
return
|
|
3069
|
+
request.look_id = encodeParam(request.look_id);
|
|
3070
|
+
return _this359.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3100
3071
|
user_id: request.user_id,
|
|
3101
3072
|
fields: request.fields,
|
|
3102
3073
|
all_users: request.all_users
|
|
@@ -3104,10 +3075,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3104
3075
|
})();
|
|
3105
3076
|
}
|
|
3106
3077
|
scheduled_plans_for_dashboard(request, options) {
|
|
3107
|
-
var
|
|
3078
|
+
var _this360 = this;
|
|
3108
3079
|
return _asyncToGenerator(function* () {
|
|
3109
|
-
request.dashboard_id =
|
|
3110
|
-
return
|
|
3080
|
+
request.dashboard_id = encodeParam(request.dashboard_id);
|
|
3081
|
+
return _this360.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3111
3082
|
user_id: request.user_id,
|
|
3112
3083
|
all_users: request.all_users,
|
|
3113
3084
|
fields: request.fields
|
|
@@ -3115,10 +3086,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3115
3086
|
})();
|
|
3116
3087
|
}
|
|
3117
3088
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3118
|
-
var
|
|
3089
|
+
var _this361 = this;
|
|
3119
3090
|
return _asyncToGenerator(function* () {
|
|
3120
|
-
request.lookml_dashboard_id =
|
|
3121
|
-
return
|
|
3091
|
+
request.lookml_dashboard_id = encodeParam(request.lookml_dashboard_id);
|
|
3092
|
+
return _this361.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3122
3093
|
user_id: request.user_id,
|
|
3123
3094
|
fields: request.fields,
|
|
3124
3095
|
all_users: request.all_users
|
|
@@ -3126,22 +3097,43 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3126
3097
|
})();
|
|
3127
3098
|
}
|
|
3128
3099
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3129
|
-
var
|
|
3100
|
+
var _this362 = this;
|
|
3130
3101
|
return _asyncToGenerator(function* () {
|
|
3131
|
-
scheduled_plan_id =
|
|
3132
|
-
return
|
|
3102
|
+
scheduled_plan_id = encodeParam(scheduled_plan_id);
|
|
3103
|
+
return _this362.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3133
3104
|
})();
|
|
3134
3105
|
}
|
|
3135
3106
|
session(options) {
|
|
3136
|
-
var
|
|
3107
|
+
var _this363 = this;
|
|
3137
3108
|
return _asyncToGenerator(function* () {
|
|
3138
|
-
return
|
|
3109
|
+
return _this363.get('/session', null, null, options);
|
|
3139
3110
|
})();
|
|
3140
3111
|
}
|
|
3141
3112
|
update_session(body, options) {
|
|
3113
|
+
var _this364 = this;
|
|
3114
|
+
return _asyncToGenerator(function* () {
|
|
3115
|
+
return _this364.patch('/session', null, body, options);
|
|
3116
|
+
})();
|
|
3117
|
+
}
|
|
3118
|
+
sql_interface_metadata(avatica_request, options) {
|
|
3119
|
+
var _this365 = this;
|
|
3120
|
+
return _asyncToGenerator(function* () {
|
|
3121
|
+
return _this365.get('/sql_interface_queries/metadata', {
|
|
3122
|
+
avatica_request
|
|
3123
|
+
}, null, options);
|
|
3124
|
+
})();
|
|
3125
|
+
}
|
|
3126
|
+
run_sql_interface_query(query_id, result_format, options) {
|
|
3127
|
+
var _this366 = this;
|
|
3128
|
+
return _asyncToGenerator(function* () {
|
|
3129
|
+
result_format = encodeParam(result_format);
|
|
3130
|
+
return _this366.get("/sql_interface_queries/".concat(query_id, "/run/").concat(result_format), null, null, options);
|
|
3131
|
+
})();
|
|
3132
|
+
}
|
|
3133
|
+
create_sql_interface_query(body, options) {
|
|
3142
3134
|
var _this367 = this;
|
|
3143
3135
|
return _asyncToGenerator(function* () {
|
|
3144
|
-
return _this367.
|
|
3136
|
+
return _this367.post('/sql_interface_queries', null, body, options);
|
|
3145
3137
|
})();
|
|
3146
3138
|
}
|
|
3147
3139
|
all_themes(fields, options) {
|
|
@@ -3218,7 +3210,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3218
3210
|
theme(theme_id, fields, options) {
|
|
3219
3211
|
var _this376 = this;
|
|
3220
3212
|
return _asyncToGenerator(function* () {
|
|
3221
|
-
theme_id =
|
|
3213
|
+
theme_id = encodeParam(theme_id);
|
|
3222
3214
|
return _this376.get("/themes/".concat(theme_id), {
|
|
3223
3215
|
fields
|
|
3224
3216
|
}, null, options);
|
|
@@ -3227,14 +3219,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3227
3219
|
update_theme(theme_id, body, options) {
|
|
3228
3220
|
var _this377 = this;
|
|
3229
3221
|
return _asyncToGenerator(function* () {
|
|
3230
|
-
theme_id =
|
|
3222
|
+
theme_id = encodeParam(theme_id);
|
|
3231
3223
|
return _this377.patch("/themes/".concat(theme_id), null, body, options);
|
|
3232
3224
|
})();
|
|
3233
3225
|
}
|
|
3234
3226
|
delete_theme(theme_id, options) {
|
|
3235
3227
|
var _this378 = this;
|
|
3236
3228
|
return _asyncToGenerator(function* () {
|
|
3237
|
-
theme_id =
|
|
3229
|
+
theme_id = encodeParam(theme_id);
|
|
3238
3230
|
return _this378.delete("/themes/".concat(theme_id), null, null, options);
|
|
3239
3231
|
})();
|
|
3240
3232
|
}
|
|
@@ -3309,7 +3301,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3309
3301
|
search_users_names(request, options) {
|
|
3310
3302
|
var _this384 = this;
|
|
3311
3303
|
return _asyncToGenerator(function* () {
|
|
3312
|
-
request.pattern =
|
|
3304
|
+
request.pattern = encodeParam(request.pattern);
|
|
3313
3305
|
return _this384.get("/users/search/names/".concat(request.pattern), {
|
|
3314
3306
|
fields: request.fields,
|
|
3315
3307
|
page: request.page,
|
|
@@ -3329,7 +3321,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3329
3321
|
user(user_id, fields, options) {
|
|
3330
3322
|
var _this385 = this;
|
|
3331
3323
|
return _asyncToGenerator(function* () {
|
|
3332
|
-
user_id =
|
|
3324
|
+
user_id = encodeParam(user_id);
|
|
3333
3325
|
return _this385.get("/users/".concat(user_id), {
|
|
3334
3326
|
fields
|
|
3335
3327
|
}, null, options);
|
|
@@ -3338,7 +3330,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3338
3330
|
update_user(user_id, body, fields, options) {
|
|
3339
3331
|
var _this386 = this;
|
|
3340
3332
|
return _asyncToGenerator(function* () {
|
|
3341
|
-
user_id =
|
|
3333
|
+
user_id = encodeParam(user_id);
|
|
3342
3334
|
return _this386.patch("/users/".concat(user_id), {
|
|
3343
3335
|
fields
|
|
3344
3336
|
}, body, options);
|
|
@@ -3347,15 +3339,15 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3347
3339
|
delete_user(user_id, options) {
|
|
3348
3340
|
var _this387 = this;
|
|
3349
3341
|
return _asyncToGenerator(function* () {
|
|
3350
|
-
user_id =
|
|
3342
|
+
user_id = encodeParam(user_id);
|
|
3351
3343
|
return _this387.delete("/users/".concat(user_id), null, null, options);
|
|
3352
3344
|
})();
|
|
3353
3345
|
}
|
|
3354
3346
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3355
3347
|
var _this388 = this;
|
|
3356
3348
|
return _asyncToGenerator(function* () {
|
|
3357
|
-
credential_type =
|
|
3358
|
-
credential_id =
|
|
3349
|
+
credential_type = encodeParam(credential_type);
|
|
3350
|
+
credential_id = encodeParam(credential_id);
|
|
3359
3351
|
return _this388.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3360
3352
|
fields
|
|
3361
3353
|
}, null, options);
|
|
@@ -3364,7 +3356,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3364
3356
|
user_credentials_email(user_id, fields, options) {
|
|
3365
3357
|
var _this389 = this;
|
|
3366
3358
|
return _asyncToGenerator(function* () {
|
|
3367
|
-
user_id =
|
|
3359
|
+
user_id = encodeParam(user_id);
|
|
3368
3360
|
return _this389.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3369
3361
|
fields
|
|
3370
3362
|
}, null, options);
|
|
@@ -3373,7 +3365,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3373
3365
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3374
3366
|
var _this390 = this;
|
|
3375
3367
|
return _asyncToGenerator(function* () {
|
|
3376
|
-
user_id =
|
|
3368
|
+
user_id = encodeParam(user_id);
|
|
3377
3369
|
return _this390.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3378
3370
|
fields
|
|
3379
3371
|
}, body, options);
|
|
@@ -3382,7 +3374,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3382
3374
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3383
3375
|
var _this391 = this;
|
|
3384
3376
|
return _asyncToGenerator(function* () {
|
|
3385
|
-
user_id =
|
|
3377
|
+
user_id = encodeParam(user_id);
|
|
3386
3378
|
return _this391.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3387
3379
|
fields
|
|
3388
3380
|
}, body, options);
|
|
@@ -3391,14 +3383,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3391
3383
|
delete_user_credentials_email(user_id, options) {
|
|
3392
3384
|
var _this392 = this;
|
|
3393
3385
|
return _asyncToGenerator(function* () {
|
|
3394
|
-
user_id =
|
|
3386
|
+
user_id = encodeParam(user_id);
|
|
3395
3387
|
return _this392.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
3396
3388
|
})();
|
|
3397
3389
|
}
|
|
3398
3390
|
user_credentials_totp(user_id, fields, options) {
|
|
3399
3391
|
var _this393 = this;
|
|
3400
3392
|
return _asyncToGenerator(function* () {
|
|
3401
|
-
user_id =
|
|
3393
|
+
user_id = encodeParam(user_id);
|
|
3402
3394
|
return _this393.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
3403
3395
|
fields
|
|
3404
3396
|
}, null, options);
|
|
@@ -3407,7 +3399,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3407
3399
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
3408
3400
|
var _this394 = this;
|
|
3409
3401
|
return _asyncToGenerator(function* () {
|
|
3410
|
-
user_id =
|
|
3402
|
+
user_id = encodeParam(user_id);
|
|
3411
3403
|
return _this394.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
3412
3404
|
fields
|
|
3413
3405
|
}, body, options);
|
|
@@ -3416,14 +3408,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3416
3408
|
delete_user_credentials_totp(user_id, options) {
|
|
3417
3409
|
var _this395 = this;
|
|
3418
3410
|
return _asyncToGenerator(function* () {
|
|
3419
|
-
user_id =
|
|
3411
|
+
user_id = encodeParam(user_id);
|
|
3420
3412
|
return _this395.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
3421
3413
|
})();
|
|
3422
3414
|
}
|
|
3423
3415
|
user_credentials_ldap(user_id, fields, options) {
|
|
3424
3416
|
var _this396 = this;
|
|
3425
3417
|
return _asyncToGenerator(function* () {
|
|
3426
|
-
user_id =
|
|
3418
|
+
user_id = encodeParam(user_id);
|
|
3427
3419
|
return _this396.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
3428
3420
|
fields
|
|
3429
3421
|
}, null, options);
|
|
@@ -3432,14 +3424,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3432
3424
|
delete_user_credentials_ldap(user_id, options) {
|
|
3433
3425
|
var _this397 = this;
|
|
3434
3426
|
return _asyncToGenerator(function* () {
|
|
3435
|
-
user_id =
|
|
3427
|
+
user_id = encodeParam(user_id);
|
|
3436
3428
|
return _this397.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
3437
3429
|
})();
|
|
3438
3430
|
}
|
|
3439
3431
|
user_credentials_google(user_id, fields, options) {
|
|
3440
3432
|
var _this398 = this;
|
|
3441
3433
|
return _asyncToGenerator(function* () {
|
|
3442
|
-
user_id =
|
|
3434
|
+
user_id = encodeParam(user_id);
|
|
3443
3435
|
return _this398.get("/users/".concat(user_id, "/credentials_google"), {
|
|
3444
3436
|
fields
|
|
3445
3437
|
}, null, options);
|
|
@@ -3448,14 +3440,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3448
3440
|
delete_user_credentials_google(user_id, options) {
|
|
3449
3441
|
var _this399 = this;
|
|
3450
3442
|
return _asyncToGenerator(function* () {
|
|
3451
|
-
user_id =
|
|
3443
|
+
user_id = encodeParam(user_id);
|
|
3452
3444
|
return _this399.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
3453
3445
|
})();
|
|
3454
3446
|
}
|
|
3455
3447
|
user_credentials_saml(user_id, fields, options) {
|
|
3456
3448
|
var _this400 = this;
|
|
3457
3449
|
return _asyncToGenerator(function* () {
|
|
3458
|
-
user_id =
|
|
3450
|
+
user_id = encodeParam(user_id);
|
|
3459
3451
|
return _this400.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
3460
3452
|
fields
|
|
3461
3453
|
}, null, options);
|
|
@@ -3464,14 +3456,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3464
3456
|
delete_user_credentials_saml(user_id, options) {
|
|
3465
3457
|
var _this401 = this;
|
|
3466
3458
|
return _asyncToGenerator(function* () {
|
|
3467
|
-
user_id =
|
|
3459
|
+
user_id = encodeParam(user_id);
|
|
3468
3460
|
return _this401.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
3469
3461
|
})();
|
|
3470
3462
|
}
|
|
3471
3463
|
user_credentials_oidc(user_id, fields, options) {
|
|
3472
3464
|
var _this402 = this;
|
|
3473
3465
|
return _asyncToGenerator(function* () {
|
|
3474
|
-
user_id =
|
|
3466
|
+
user_id = encodeParam(user_id);
|
|
3475
3467
|
return _this402.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
3476
3468
|
fields
|
|
3477
3469
|
}, null, options);
|
|
@@ -3480,15 +3472,15 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3480
3472
|
delete_user_credentials_oidc(user_id, options) {
|
|
3481
3473
|
var _this403 = this;
|
|
3482
3474
|
return _asyncToGenerator(function* () {
|
|
3483
|
-
user_id =
|
|
3475
|
+
user_id = encodeParam(user_id);
|
|
3484
3476
|
return _this403.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
3485
3477
|
})();
|
|
3486
3478
|
}
|
|
3487
3479
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
3488
3480
|
var _this404 = this;
|
|
3489
3481
|
return _asyncToGenerator(function* () {
|
|
3490
|
-
user_id =
|
|
3491
|
-
credentials_api3_id =
|
|
3482
|
+
user_id = encodeParam(user_id);
|
|
3483
|
+
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3492
3484
|
return _this404.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
3493
3485
|
fields
|
|
3494
3486
|
}, null, options);
|
|
@@ -3497,15 +3489,15 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3497
3489
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
3498
3490
|
var _this405 = this;
|
|
3499
3491
|
return _asyncToGenerator(function* () {
|
|
3500
|
-
user_id =
|
|
3501
|
-
credentials_api3_id =
|
|
3492
|
+
user_id = encodeParam(user_id);
|
|
3493
|
+
credentials_api3_id = encodeParam(credentials_api3_id);
|
|
3502
3494
|
return _this405.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
3503
3495
|
})();
|
|
3504
3496
|
}
|
|
3505
3497
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
3506
3498
|
var _this406 = this;
|
|
3507
3499
|
return _asyncToGenerator(function* () {
|
|
3508
|
-
user_id =
|
|
3500
|
+
user_id = encodeParam(user_id);
|
|
3509
3501
|
return _this406.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
3510
3502
|
fields
|
|
3511
3503
|
}, null, options);
|
|
@@ -3514,7 +3506,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3514
3506
|
create_user_credentials_api3(user_id, fields, options) {
|
|
3515
3507
|
var _this407 = this;
|
|
3516
3508
|
return _asyncToGenerator(function* () {
|
|
3517
|
-
user_id =
|
|
3509
|
+
user_id = encodeParam(user_id);
|
|
3518
3510
|
return _this407.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
3519
3511
|
fields
|
|
3520
3512
|
}, null, options);
|
|
@@ -3523,8 +3515,8 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3523
3515
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
3524
3516
|
var _this408 = this;
|
|
3525
3517
|
return _asyncToGenerator(function* () {
|
|
3526
|
-
user_id =
|
|
3527
|
-
credentials_embed_id =
|
|
3518
|
+
user_id = encodeParam(user_id);
|
|
3519
|
+
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
3528
3520
|
return _this408.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
3529
3521
|
fields
|
|
3530
3522
|
}, null, options);
|
|
@@ -3533,15 +3525,15 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3533
3525
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
3534
3526
|
var _this409 = this;
|
|
3535
3527
|
return _asyncToGenerator(function* () {
|
|
3536
|
-
user_id =
|
|
3537
|
-
credentials_embed_id =
|
|
3528
|
+
user_id = encodeParam(user_id);
|
|
3529
|
+
credentials_embed_id = encodeParam(credentials_embed_id);
|
|
3538
3530
|
return _this409.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
3539
3531
|
})();
|
|
3540
3532
|
}
|
|
3541
3533
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
3542
3534
|
var _this410 = this;
|
|
3543
3535
|
return _asyncToGenerator(function* () {
|
|
3544
|
-
user_id =
|
|
3536
|
+
user_id = encodeParam(user_id);
|
|
3545
3537
|
return _this410.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
3546
3538
|
fields
|
|
3547
3539
|
}, null, options);
|
|
@@ -3550,7 +3542,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3550
3542
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
3551
3543
|
var _this411 = this;
|
|
3552
3544
|
return _asyncToGenerator(function* () {
|
|
3553
|
-
user_id =
|
|
3545
|
+
user_id = encodeParam(user_id);
|
|
3554
3546
|
return _this411.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
3555
3547
|
fields
|
|
3556
3548
|
}, null, options);
|
|
@@ -3559,15 +3551,15 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3559
3551
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
3560
3552
|
var _this412 = this;
|
|
3561
3553
|
return _asyncToGenerator(function* () {
|
|
3562
|
-
user_id =
|
|
3554
|
+
user_id = encodeParam(user_id);
|
|
3563
3555
|
return _this412.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
3564
3556
|
})();
|
|
3565
3557
|
}
|
|
3566
3558
|
user_session(user_id, session_id, fields, options) {
|
|
3567
3559
|
var _this413 = this;
|
|
3568
3560
|
return _asyncToGenerator(function* () {
|
|
3569
|
-
user_id =
|
|
3570
|
-
session_id =
|
|
3561
|
+
user_id = encodeParam(user_id);
|
|
3562
|
+
session_id = encodeParam(session_id);
|
|
3571
3563
|
return _this413.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
3572
3564
|
fields
|
|
3573
3565
|
}, null, options);
|
|
@@ -3576,15 +3568,15 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3576
3568
|
delete_user_session(user_id, session_id, options) {
|
|
3577
3569
|
var _this414 = this;
|
|
3578
3570
|
return _asyncToGenerator(function* () {
|
|
3579
|
-
user_id =
|
|
3580
|
-
session_id =
|
|
3571
|
+
user_id = encodeParam(user_id);
|
|
3572
|
+
session_id = encodeParam(session_id);
|
|
3581
3573
|
return _this414.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
3582
3574
|
})();
|
|
3583
3575
|
}
|
|
3584
3576
|
all_user_sessions(user_id, fields, options) {
|
|
3585
3577
|
var _this415 = this;
|
|
3586
3578
|
return _asyncToGenerator(function* () {
|
|
3587
|
-
user_id =
|
|
3579
|
+
user_id = encodeParam(user_id);
|
|
3588
3580
|
return _this415.get("/users/".concat(user_id, "/sessions"), {
|
|
3589
3581
|
fields
|
|
3590
3582
|
}, null, options);
|
|
@@ -3593,7 +3585,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3593
3585
|
create_user_credentials_email_password_reset(request, options) {
|
|
3594
3586
|
var _this416 = this;
|
|
3595
3587
|
return _asyncToGenerator(function* () {
|
|
3596
|
-
request.user_id =
|
|
3588
|
+
request.user_id = encodeParam(request.user_id);
|
|
3597
3589
|
return _this416.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
3598
3590
|
expires: request.expires,
|
|
3599
3591
|
fields: request.fields
|
|
@@ -3603,7 +3595,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3603
3595
|
user_roles(request, options) {
|
|
3604
3596
|
var _this417 = this;
|
|
3605
3597
|
return _asyncToGenerator(function* () {
|
|
3606
|
-
request.user_id =
|
|
3598
|
+
request.user_id = encodeParam(request.user_id);
|
|
3607
3599
|
return _this417.get("/users/".concat(request.user_id, "/roles"), {
|
|
3608
3600
|
fields: request.fields,
|
|
3609
3601
|
direct_association_only: request.direct_association_only
|
|
@@ -3613,7 +3605,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3613
3605
|
set_user_roles(user_id, body, fields, options) {
|
|
3614
3606
|
var _this418 = this;
|
|
3615
3607
|
return _asyncToGenerator(function* () {
|
|
3616
|
-
user_id =
|
|
3608
|
+
user_id = encodeParam(user_id);
|
|
3617
3609
|
return _this418.put("/users/".concat(user_id, "/roles"), {
|
|
3618
3610
|
fields
|
|
3619
3611
|
}, body, options);
|
|
@@ -3622,7 +3614,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3622
3614
|
user_attribute_user_values(request, options) {
|
|
3623
3615
|
var _this419 = this;
|
|
3624
3616
|
return _asyncToGenerator(function* () {
|
|
3625
|
-
request.user_id =
|
|
3617
|
+
request.user_id = encodeParam(request.user_id);
|
|
3626
3618
|
return _this419.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
3627
3619
|
fields: request.fields,
|
|
3628
3620
|
user_attribute_ids: request.user_attribute_ids,
|
|
@@ -3634,23 +3626,23 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3634
3626
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
3635
3627
|
var _this420 = this;
|
|
3636
3628
|
return _asyncToGenerator(function* () {
|
|
3637
|
-
user_id =
|
|
3638
|
-
user_attribute_id =
|
|
3629
|
+
user_id = encodeParam(user_id);
|
|
3630
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3639
3631
|
return _this420.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
3640
3632
|
})();
|
|
3641
3633
|
}
|
|
3642
3634
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
3643
3635
|
var _this421 = this;
|
|
3644
3636
|
return _asyncToGenerator(function* () {
|
|
3645
|
-
user_id =
|
|
3646
|
-
user_attribute_id =
|
|
3637
|
+
user_id = encodeParam(user_id);
|
|
3638
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3647
3639
|
return _this421.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
3648
3640
|
})();
|
|
3649
3641
|
}
|
|
3650
3642
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
3651
3643
|
var _this422 = this;
|
|
3652
3644
|
return _asyncToGenerator(function* () {
|
|
3653
|
-
user_id =
|
|
3645
|
+
user_id = encodeParam(user_id);
|
|
3654
3646
|
return _this422.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
3655
3647
|
fields
|
|
3656
3648
|
}, null, options);
|
|
@@ -3659,7 +3651,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3659
3651
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
3660
3652
|
var _this423 = this;
|
|
3661
3653
|
return _asyncToGenerator(function* () {
|
|
3662
|
-
user_id =
|
|
3654
|
+
user_id = encodeParam(user_id);
|
|
3663
3655
|
return _this423.post("/users/".concat(user_id, "/update_emails"), {
|
|
3664
3656
|
fields
|
|
3665
3657
|
}, body, options);
|
|
@@ -3691,7 +3683,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3691
3683
|
user_attribute(user_attribute_id, fields, options) {
|
|
3692
3684
|
var _this427 = this;
|
|
3693
3685
|
return _asyncToGenerator(function* () {
|
|
3694
|
-
user_attribute_id =
|
|
3686
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3695
3687
|
return _this427.get("/user_attributes/".concat(user_attribute_id), {
|
|
3696
3688
|
fields
|
|
3697
3689
|
}, null, options);
|
|
@@ -3700,7 +3692,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3700
3692
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
3701
3693
|
var _this428 = this;
|
|
3702
3694
|
return _asyncToGenerator(function* () {
|
|
3703
|
-
user_attribute_id =
|
|
3695
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3704
3696
|
return _this428.patch("/user_attributes/".concat(user_attribute_id), {
|
|
3705
3697
|
fields
|
|
3706
3698
|
}, body, options);
|
|
@@ -3709,14 +3701,14 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3709
3701
|
delete_user_attribute(user_attribute_id, options) {
|
|
3710
3702
|
var _this429 = this;
|
|
3711
3703
|
return _asyncToGenerator(function* () {
|
|
3712
|
-
user_attribute_id =
|
|
3704
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3713
3705
|
return _this429.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
3714
3706
|
})();
|
|
3715
3707
|
}
|
|
3716
3708
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
3717
3709
|
var _this430 = this;
|
|
3718
3710
|
return _asyncToGenerator(function* () {
|
|
3719
|
-
user_attribute_id =
|
|
3711
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3720
3712
|
return _this430.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
3721
3713
|
fields
|
|
3722
3714
|
}, null, options);
|
|
@@ -3725,7 +3717,7 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3725
3717
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
3726
3718
|
var _this431 = this;
|
|
3727
3719
|
return _asyncToGenerator(function* () {
|
|
3728
|
-
user_attribute_id =
|
|
3720
|
+
user_attribute_id = encodeParam(user_attribute_id);
|
|
3729
3721
|
return _this431.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
3730
3722
|
})();
|
|
3731
3723
|
}
|
|
@@ -3738,11 +3730,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3738
3730
|
workspace(workspace_id, options) {
|
|
3739
3731
|
var _this433 = this;
|
|
3740
3732
|
return _asyncToGenerator(function* () {
|
|
3741
|
-
workspace_id =
|
|
3733
|
+
workspace_id = encodeParam(workspace_id);
|
|
3742
3734
|
return _this433.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
3743
3735
|
})();
|
|
3744
3736
|
}
|
|
3745
3737
|
}
|
|
3746
|
-
exports.Looker40SDK = Looker40SDK;
|
|
3747
3738
|
_defineProperty(Looker40SDK, "ApiVersion", '4.0');
|
|
3748
3739
|
//# sourceMappingURL=methods.js.map
|