@looker/sdk 22.14.0 → 22.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/lib/3.1/models.d.ts +1 -0
- package/lib/3.1/models.js.map +1 -1
- package/lib/4.0/funcs.d.ts +4 -1
- package/lib/4.0/funcs.js +1239 -1202
- package/lib/4.0/funcs.js.map +1 -1
- package/lib/4.0/methods.d.ts +4 -1
- package/lib/4.0/methods.js +823 -798
- package/lib/4.0/methods.js.map +1 -1
- package/lib/4.0/methodsInterface.d.ts +4 -1
- package/lib/4.0/models.d.ts +42 -0
- package/lib/4.0/models.js.map +1 -1
- package/lib/4.0/streams.d.ts +4 -1
- package/lib/4.0/streams.js +823 -798
- package/lib/4.0/streams.js.map +1 -1
- package/lib/constants.d.ts +1 -1
- package/lib/constants.js +1 -1
- package/lib/constants.js.map +1 -1
- package/lib/esm/3.1/models.js.map +1 -1
- package/lib/esm/4.0/funcs.js +1225 -1197
- package/lib/esm/4.0/funcs.js.map +1 -1
- package/lib/esm/4.0/methods.js +823 -798
- package/lib/esm/4.0/methods.js.map +1 -1
- package/lib/esm/4.0/models.js.map +1 -1
- package/lib/esm/4.0/streams.js +823 -798
- package/lib/esm/4.0/streams.js.map +1 -1
- package/lib/esm/constants.js +1 -1
- package/lib/esm/constants.js.map +1 -1
- package/package.json +2 -2
package/lib/4.0/methods.js
CHANGED
|
@@ -197,371 +197,396 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
197
197
|
})();
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
|
|
200
|
+
acquire_embed_cookieless_session(body, options) {
|
|
201
201
|
var _this19 = this;
|
|
202
202
|
|
|
203
203
|
return _asyncToGenerator(function* () {
|
|
204
|
-
return _this19.
|
|
204
|
+
return _this19.post('/embed/cookieless_session/acquire', null, body, options);
|
|
205
205
|
})();
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
delete_embed_cookieless_session(session_reference_token, options) {
|
|
209
209
|
var _this20 = this;
|
|
210
210
|
|
|
211
211
|
return _asyncToGenerator(function* () {
|
|
212
|
-
|
|
212
|
+
session_reference_token = (0, _sdkRtl.encodeParam)(session_reference_token);
|
|
213
|
+
return _this20.delete("/embed/cookieless_session/".concat(session_reference_token), null, null, options);
|
|
213
214
|
})();
|
|
214
215
|
}
|
|
215
216
|
|
|
216
|
-
|
|
217
|
+
generate_tokens_for_cookieless_session(body, options) {
|
|
217
218
|
var _this21 = this;
|
|
218
219
|
|
|
219
220
|
return _asyncToGenerator(function* () {
|
|
220
|
-
return _this21.put('/
|
|
221
|
+
return _this21.put('/embed/cookieless_session/generate_tokens', null, body, options);
|
|
221
222
|
})();
|
|
222
223
|
}
|
|
223
224
|
|
|
224
|
-
|
|
225
|
+
ldap_config(options) {
|
|
225
226
|
var _this22 = this;
|
|
226
227
|
|
|
227
228
|
return _asyncToGenerator(function* () {
|
|
228
|
-
return _this22.
|
|
229
|
+
return _this22.get('/ldap_config', null, null, options);
|
|
229
230
|
})();
|
|
230
231
|
}
|
|
231
232
|
|
|
232
|
-
|
|
233
|
+
update_ldap_config(body, options) {
|
|
233
234
|
var _this23 = this;
|
|
234
235
|
|
|
235
236
|
return _asyncToGenerator(function* () {
|
|
236
|
-
return _this23.
|
|
237
|
+
return _this23.patch('/ldap_config', null, body, options);
|
|
237
238
|
})();
|
|
238
239
|
}
|
|
239
240
|
|
|
240
|
-
|
|
241
|
+
test_ldap_config_connection(body, options) {
|
|
241
242
|
var _this24 = this;
|
|
242
243
|
|
|
243
244
|
return _asyncToGenerator(function* () {
|
|
244
|
-
return _this24.put('/ldap_config/
|
|
245
|
+
return _this24.put('/ldap_config/test_connection', null, body, options);
|
|
245
246
|
})();
|
|
246
247
|
}
|
|
247
248
|
|
|
248
|
-
|
|
249
|
+
test_ldap_config_auth(body, options) {
|
|
249
250
|
var _this25 = this;
|
|
250
251
|
|
|
251
252
|
return _asyncToGenerator(function* () {
|
|
252
|
-
return _this25.
|
|
253
|
+
return _this25.put('/ldap_config/test_auth', null, body, options);
|
|
253
254
|
})();
|
|
254
255
|
}
|
|
255
256
|
|
|
256
|
-
|
|
257
|
+
test_ldap_config_user_info(body, options) {
|
|
257
258
|
var _this26 = this;
|
|
258
259
|
|
|
260
|
+
return _asyncToGenerator(function* () {
|
|
261
|
+
return _this26.put('/ldap_config/test_user_info', null, body, options);
|
|
262
|
+
})();
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
test_ldap_config_user_auth(body, options) {
|
|
266
|
+
var _this27 = this;
|
|
267
|
+
|
|
268
|
+
return _asyncToGenerator(function* () {
|
|
269
|
+
return _this27.put('/ldap_config/test_user_auth', null, body, options);
|
|
270
|
+
})();
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
register_mobile_device(body, options) {
|
|
274
|
+
var _this28 = this;
|
|
275
|
+
|
|
276
|
+
return _asyncToGenerator(function* () {
|
|
277
|
+
return _this28.post('/mobile/device', null, body, options);
|
|
278
|
+
})();
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
update_mobile_device_registration(device_id, options) {
|
|
282
|
+
var _this29 = this;
|
|
283
|
+
|
|
259
284
|
return _asyncToGenerator(function* () {
|
|
260
285
|
device_id = (0, _sdkRtl.encodeParam)(device_id);
|
|
261
|
-
return
|
|
286
|
+
return _this29.patch("/mobile/device/".concat(device_id), null, null, options);
|
|
262
287
|
})();
|
|
263
288
|
}
|
|
264
289
|
|
|
265
290
|
deregister_mobile_device(device_id, options) {
|
|
266
|
-
var
|
|
291
|
+
var _this30 = this;
|
|
267
292
|
|
|
268
293
|
return _asyncToGenerator(function* () {
|
|
269
294
|
device_id = (0, _sdkRtl.encodeParam)(device_id);
|
|
270
|
-
return
|
|
295
|
+
return _this30.delete("/mobile/device/".concat(device_id), null, null, options);
|
|
271
296
|
})();
|
|
272
297
|
}
|
|
273
298
|
|
|
274
299
|
all_oauth_client_apps(fields, options) {
|
|
275
|
-
var
|
|
300
|
+
var _this31 = this;
|
|
276
301
|
|
|
277
302
|
return _asyncToGenerator(function* () {
|
|
278
|
-
return
|
|
303
|
+
return _this31.get('/oauth_client_apps', {
|
|
279
304
|
fields
|
|
280
305
|
}, null, options);
|
|
281
306
|
})();
|
|
282
307
|
}
|
|
283
308
|
|
|
284
309
|
oauth_client_app(client_guid, fields, options) {
|
|
285
|
-
var
|
|
310
|
+
var _this32 = this;
|
|
286
311
|
|
|
287
312
|
return _asyncToGenerator(function* () {
|
|
288
313
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
289
|
-
return
|
|
314
|
+
return _this32.get("/oauth_client_apps/".concat(client_guid), {
|
|
290
315
|
fields
|
|
291
316
|
}, null, options);
|
|
292
317
|
})();
|
|
293
318
|
}
|
|
294
319
|
|
|
295
320
|
register_oauth_client_app(client_guid, body, fields, options) {
|
|
296
|
-
var
|
|
321
|
+
var _this33 = this;
|
|
297
322
|
|
|
298
323
|
return _asyncToGenerator(function* () {
|
|
299
324
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
300
|
-
return
|
|
325
|
+
return _this33.post("/oauth_client_apps/".concat(client_guid), {
|
|
301
326
|
fields
|
|
302
327
|
}, body, options);
|
|
303
328
|
})();
|
|
304
329
|
}
|
|
305
330
|
|
|
306
331
|
update_oauth_client_app(client_guid, body, fields, options) {
|
|
307
|
-
var
|
|
332
|
+
var _this34 = this;
|
|
308
333
|
|
|
309
334
|
return _asyncToGenerator(function* () {
|
|
310
335
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
311
|
-
return
|
|
336
|
+
return _this34.patch("/oauth_client_apps/".concat(client_guid), {
|
|
312
337
|
fields
|
|
313
338
|
}, body, options);
|
|
314
339
|
})();
|
|
315
340
|
}
|
|
316
341
|
|
|
317
342
|
delete_oauth_client_app(client_guid, options) {
|
|
318
|
-
var
|
|
343
|
+
var _this35 = this;
|
|
319
344
|
|
|
320
345
|
return _asyncToGenerator(function* () {
|
|
321
346
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
322
|
-
return
|
|
347
|
+
return _this35.delete("/oauth_client_apps/".concat(client_guid), null, null, options);
|
|
323
348
|
})();
|
|
324
349
|
}
|
|
325
350
|
|
|
326
351
|
invalidate_tokens(client_guid, options) {
|
|
327
|
-
var
|
|
352
|
+
var _this36 = this;
|
|
328
353
|
|
|
329
354
|
return _asyncToGenerator(function* () {
|
|
330
355
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
331
|
-
return
|
|
356
|
+
return _this36.delete("/oauth_client_apps/".concat(client_guid, "/tokens"), null, null, options);
|
|
332
357
|
})();
|
|
333
358
|
}
|
|
334
359
|
|
|
335
360
|
activate_app_user(client_guid, user_id, fields, options) {
|
|
336
|
-
var
|
|
361
|
+
var _this37 = this;
|
|
337
362
|
|
|
338
363
|
return _asyncToGenerator(function* () {
|
|
339
364
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
340
365
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
341
|
-
return
|
|
366
|
+
return _this37.post("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
342
367
|
fields
|
|
343
368
|
}, null, options);
|
|
344
369
|
})();
|
|
345
370
|
}
|
|
346
371
|
|
|
347
372
|
deactivate_app_user(client_guid, user_id, fields, options) {
|
|
348
|
-
var
|
|
373
|
+
var _this38 = this;
|
|
349
374
|
|
|
350
375
|
return _asyncToGenerator(function* () {
|
|
351
376
|
client_guid = (0, _sdkRtl.encodeParam)(client_guid);
|
|
352
377
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
353
|
-
return
|
|
378
|
+
return _this38.delete("/oauth_client_apps/".concat(client_guid, "/users/").concat(user_id), {
|
|
354
379
|
fields
|
|
355
380
|
}, null, options);
|
|
356
381
|
})();
|
|
357
382
|
}
|
|
358
383
|
|
|
359
384
|
oidc_config(options) {
|
|
360
|
-
var
|
|
385
|
+
var _this39 = this;
|
|
361
386
|
|
|
362
387
|
return _asyncToGenerator(function* () {
|
|
363
|
-
return
|
|
388
|
+
return _this39.get('/oidc_config', null, null, options);
|
|
364
389
|
})();
|
|
365
390
|
}
|
|
366
391
|
|
|
367
392
|
update_oidc_config(body, options) {
|
|
368
|
-
var
|
|
393
|
+
var _this40 = this;
|
|
369
394
|
|
|
370
395
|
return _asyncToGenerator(function* () {
|
|
371
|
-
return
|
|
396
|
+
return _this40.patch('/oidc_config', null, body, options);
|
|
372
397
|
})();
|
|
373
398
|
}
|
|
374
399
|
|
|
375
400
|
oidc_test_config(test_slug, options) {
|
|
376
|
-
var
|
|
401
|
+
var _this41 = this;
|
|
377
402
|
|
|
378
403
|
return _asyncToGenerator(function* () {
|
|
379
404
|
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
380
|
-
return
|
|
405
|
+
return _this41.get("/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
381
406
|
})();
|
|
382
407
|
}
|
|
383
408
|
|
|
384
409
|
delete_oidc_test_config(test_slug, options) {
|
|
385
|
-
var
|
|
410
|
+
var _this42 = this;
|
|
386
411
|
|
|
387
412
|
return _asyncToGenerator(function* () {
|
|
388
413
|
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
389
|
-
return
|
|
414
|
+
return _this42.delete("/oidc_test_configs/".concat(test_slug), null, null, options);
|
|
390
415
|
})();
|
|
391
416
|
}
|
|
392
417
|
|
|
393
418
|
create_oidc_test_config(body, options) {
|
|
394
|
-
var
|
|
419
|
+
var _this43 = this;
|
|
395
420
|
|
|
396
421
|
return _asyncToGenerator(function* () {
|
|
397
|
-
return
|
|
422
|
+
return _this43.post('/oidc_test_configs', null, body, options);
|
|
398
423
|
})();
|
|
399
424
|
}
|
|
400
425
|
|
|
401
426
|
password_config(options) {
|
|
402
|
-
var
|
|
427
|
+
var _this44 = this;
|
|
403
428
|
|
|
404
429
|
return _asyncToGenerator(function* () {
|
|
405
|
-
return
|
|
430
|
+
return _this44.get('/password_config', null, null, options);
|
|
406
431
|
})();
|
|
407
432
|
}
|
|
408
433
|
|
|
409
434
|
update_password_config(body, options) {
|
|
410
|
-
var
|
|
435
|
+
var _this45 = this;
|
|
411
436
|
|
|
412
437
|
return _asyncToGenerator(function* () {
|
|
413
|
-
return
|
|
438
|
+
return _this45.patch('/password_config', null, body, options);
|
|
414
439
|
})();
|
|
415
440
|
}
|
|
416
441
|
|
|
417
442
|
force_password_reset_at_next_login_for_all_users(options) {
|
|
418
|
-
var
|
|
443
|
+
var _this46 = this;
|
|
419
444
|
|
|
420
445
|
return _asyncToGenerator(function* () {
|
|
421
|
-
return
|
|
446
|
+
return _this46.put('/password_config/force_password_reset_at_next_login_for_all_users', null, null, options);
|
|
422
447
|
})();
|
|
423
448
|
}
|
|
424
449
|
|
|
425
450
|
saml_config(options) {
|
|
426
|
-
var
|
|
451
|
+
var _this47 = this;
|
|
427
452
|
|
|
428
453
|
return _asyncToGenerator(function* () {
|
|
429
|
-
return
|
|
454
|
+
return _this47.get('/saml_config', null, null, options);
|
|
430
455
|
})();
|
|
431
456
|
}
|
|
432
457
|
|
|
433
458
|
update_saml_config(body, options) {
|
|
434
|
-
var
|
|
459
|
+
var _this48 = this;
|
|
435
460
|
|
|
436
461
|
return _asyncToGenerator(function* () {
|
|
437
|
-
return
|
|
462
|
+
return _this48.patch('/saml_config', null, body, options);
|
|
438
463
|
})();
|
|
439
464
|
}
|
|
440
465
|
|
|
441
466
|
saml_test_config(test_slug, options) {
|
|
442
|
-
var
|
|
467
|
+
var _this49 = this;
|
|
443
468
|
|
|
444
469
|
return _asyncToGenerator(function* () {
|
|
445
470
|
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
446
|
-
return
|
|
471
|
+
return _this49.get("/saml_test_configs/".concat(test_slug), null, null, options);
|
|
447
472
|
})();
|
|
448
473
|
}
|
|
449
474
|
|
|
450
475
|
delete_saml_test_config(test_slug, options) {
|
|
451
|
-
var
|
|
476
|
+
var _this50 = this;
|
|
452
477
|
|
|
453
478
|
return _asyncToGenerator(function* () {
|
|
454
479
|
test_slug = (0, _sdkRtl.encodeParam)(test_slug);
|
|
455
|
-
return
|
|
480
|
+
return _this50.delete("/saml_test_configs/".concat(test_slug), null, null, options);
|
|
456
481
|
})();
|
|
457
482
|
}
|
|
458
483
|
|
|
459
484
|
create_saml_test_config(body, options) {
|
|
460
|
-
var
|
|
485
|
+
var _this51 = this;
|
|
461
486
|
|
|
462
487
|
return _asyncToGenerator(function* () {
|
|
463
|
-
return
|
|
488
|
+
return _this51.post('/saml_test_configs', null, body, options);
|
|
464
489
|
})();
|
|
465
490
|
}
|
|
466
491
|
|
|
467
492
|
parse_saml_idp_metadata(body, options) {
|
|
468
|
-
var
|
|
493
|
+
var _this52 = this;
|
|
469
494
|
|
|
470
495
|
return _asyncToGenerator(function* () {
|
|
471
|
-
return
|
|
496
|
+
return _this52.post('/parse_saml_idp_metadata', null, body, options);
|
|
472
497
|
})();
|
|
473
498
|
}
|
|
474
499
|
|
|
475
500
|
fetch_and_parse_saml_idp_metadata(body, options) {
|
|
476
|
-
var
|
|
501
|
+
var _this53 = this;
|
|
477
502
|
|
|
478
503
|
return _asyncToGenerator(function* () {
|
|
479
|
-
return
|
|
504
|
+
return _this53.post('/fetch_and_parse_saml_idp_metadata', null, body, options);
|
|
480
505
|
})();
|
|
481
506
|
}
|
|
482
507
|
|
|
483
508
|
session_config(options) {
|
|
484
|
-
var
|
|
509
|
+
var _this54 = this;
|
|
485
510
|
|
|
486
511
|
return _asyncToGenerator(function* () {
|
|
487
|
-
return
|
|
512
|
+
return _this54.get('/session_config', null, null, options);
|
|
488
513
|
})();
|
|
489
514
|
}
|
|
490
515
|
|
|
491
516
|
update_session_config(body, options) {
|
|
492
|
-
var
|
|
517
|
+
var _this55 = this;
|
|
493
518
|
|
|
494
519
|
return _asyncToGenerator(function* () {
|
|
495
|
-
return
|
|
520
|
+
return _this55.patch('/session_config', null, body, options);
|
|
496
521
|
})();
|
|
497
522
|
}
|
|
498
523
|
|
|
499
524
|
get_support_access_allowlist_entries(fields, options) {
|
|
500
|
-
var
|
|
525
|
+
var _this56 = this;
|
|
501
526
|
|
|
502
527
|
return _asyncToGenerator(function* () {
|
|
503
|
-
return
|
|
528
|
+
return _this56.get('/support_access/allowlist', {
|
|
504
529
|
fields
|
|
505
530
|
}, null, options);
|
|
506
531
|
})();
|
|
507
532
|
}
|
|
508
533
|
|
|
509
534
|
add_support_access_allowlist_entries(body, options) {
|
|
510
|
-
var
|
|
535
|
+
var _this57 = this;
|
|
511
536
|
|
|
512
537
|
return _asyncToGenerator(function* () {
|
|
513
|
-
return
|
|
538
|
+
return _this57.post('/support_access/allowlist', null, body, options);
|
|
514
539
|
})();
|
|
515
540
|
}
|
|
516
541
|
|
|
517
542
|
delete_support_access_allowlist_entry(entry_id, options) {
|
|
518
|
-
var
|
|
543
|
+
var _this58 = this;
|
|
519
544
|
|
|
520
545
|
return _asyncToGenerator(function* () {
|
|
521
546
|
entry_id = (0, _sdkRtl.encodeParam)(entry_id);
|
|
522
|
-
return
|
|
547
|
+
return _this58.delete("/support_access/allowlist/".concat(entry_id), null, null, options);
|
|
523
548
|
})();
|
|
524
549
|
}
|
|
525
550
|
|
|
526
551
|
enable_support_access(body, options) {
|
|
527
|
-
var
|
|
552
|
+
var _this59 = this;
|
|
528
553
|
|
|
529
554
|
return _asyncToGenerator(function* () {
|
|
530
|
-
return
|
|
555
|
+
return _this59.put('/support_access/enable', null, body, options);
|
|
531
556
|
})();
|
|
532
557
|
}
|
|
533
558
|
|
|
534
559
|
disable_support_access(options) {
|
|
535
|
-
var
|
|
560
|
+
var _this60 = this;
|
|
536
561
|
|
|
537
562
|
return _asyncToGenerator(function* () {
|
|
538
|
-
return
|
|
563
|
+
return _this60.put('/support_access/disable', null, null, options);
|
|
539
564
|
})();
|
|
540
565
|
}
|
|
541
566
|
|
|
542
567
|
support_access_status(options) {
|
|
543
|
-
var
|
|
568
|
+
var _this61 = this;
|
|
544
569
|
|
|
545
570
|
return _asyncToGenerator(function* () {
|
|
546
|
-
return
|
|
571
|
+
return _this61.get('/support_access/status', null, null, options);
|
|
547
572
|
})();
|
|
548
573
|
}
|
|
549
574
|
|
|
550
575
|
all_user_login_lockouts(fields, options) {
|
|
551
|
-
var
|
|
576
|
+
var _this62 = this;
|
|
552
577
|
|
|
553
578
|
return _asyncToGenerator(function* () {
|
|
554
|
-
return
|
|
579
|
+
return _this62.get('/user_login_lockouts', {
|
|
555
580
|
fields
|
|
556
581
|
}, null, options);
|
|
557
582
|
})();
|
|
558
583
|
}
|
|
559
584
|
|
|
560
585
|
search_user_login_lockouts(request, options) {
|
|
561
|
-
var
|
|
586
|
+
var _this63 = this;
|
|
562
587
|
|
|
563
588
|
return _asyncToGenerator(function* () {
|
|
564
|
-
return
|
|
589
|
+
return _this63.get('/user_login_lockouts/search', {
|
|
565
590
|
fields: request.fields,
|
|
566
591
|
page: request.page,
|
|
567
592
|
per_page: request.per_page,
|
|
@@ -578,39 +603,39 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
578
603
|
}
|
|
579
604
|
|
|
580
605
|
delete_user_login_lockout(key, options) {
|
|
581
|
-
var
|
|
606
|
+
var _this64 = this;
|
|
582
607
|
|
|
583
608
|
return _asyncToGenerator(function* () {
|
|
584
609
|
key = (0, _sdkRtl.encodeParam)(key);
|
|
585
|
-
return
|
|
610
|
+
return _this64.delete("/user_login_lockout/".concat(key), null, null, options);
|
|
586
611
|
})();
|
|
587
612
|
}
|
|
588
613
|
|
|
589
614
|
all_boards(fields, options) {
|
|
590
|
-
var
|
|
615
|
+
var _this65 = this;
|
|
591
616
|
|
|
592
617
|
return _asyncToGenerator(function* () {
|
|
593
|
-
return
|
|
618
|
+
return _this65.get('/boards', {
|
|
594
619
|
fields
|
|
595
620
|
}, null, options);
|
|
596
621
|
})();
|
|
597
622
|
}
|
|
598
623
|
|
|
599
624
|
create_board(body, fields, options) {
|
|
600
|
-
var
|
|
625
|
+
var _this66 = this;
|
|
601
626
|
|
|
602
627
|
return _asyncToGenerator(function* () {
|
|
603
|
-
return
|
|
628
|
+
return _this66.post('/boards', {
|
|
604
629
|
fields
|
|
605
630
|
}, body, options);
|
|
606
631
|
})();
|
|
607
632
|
}
|
|
608
633
|
|
|
609
634
|
search_boards(request, options) {
|
|
610
|
-
var
|
|
635
|
+
var _this67 = this;
|
|
611
636
|
|
|
612
637
|
return _asyncToGenerator(function* () {
|
|
613
|
-
return
|
|
638
|
+
return _this67.get('/boards/search', {
|
|
614
639
|
title: request.title,
|
|
615
640
|
created_at: request.created_at,
|
|
616
641
|
first_name: request.first_name,
|
|
@@ -630,41 +655,41 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
630
655
|
}
|
|
631
656
|
|
|
632
657
|
board(board_id, fields, options) {
|
|
633
|
-
var
|
|
658
|
+
var _this68 = this;
|
|
634
659
|
|
|
635
660
|
return _asyncToGenerator(function* () {
|
|
636
661
|
board_id = (0, _sdkRtl.encodeParam)(board_id);
|
|
637
|
-
return
|
|
662
|
+
return _this68.get("/boards/".concat(board_id), {
|
|
638
663
|
fields
|
|
639
664
|
}, null, options);
|
|
640
665
|
})();
|
|
641
666
|
}
|
|
642
667
|
|
|
643
668
|
update_board(board_id, body, fields, options) {
|
|
644
|
-
var
|
|
669
|
+
var _this69 = this;
|
|
645
670
|
|
|
646
671
|
return _asyncToGenerator(function* () {
|
|
647
672
|
board_id = (0, _sdkRtl.encodeParam)(board_id);
|
|
648
|
-
return
|
|
673
|
+
return _this69.patch("/boards/".concat(board_id), {
|
|
649
674
|
fields
|
|
650
675
|
}, body, options);
|
|
651
676
|
})();
|
|
652
677
|
}
|
|
653
678
|
|
|
654
679
|
delete_board(board_id, options) {
|
|
655
|
-
var
|
|
680
|
+
var _this70 = this;
|
|
656
681
|
|
|
657
682
|
return _asyncToGenerator(function* () {
|
|
658
683
|
board_id = (0, _sdkRtl.encodeParam)(board_id);
|
|
659
|
-
return
|
|
684
|
+
return _this70.delete("/boards/".concat(board_id), null, null, options);
|
|
660
685
|
})();
|
|
661
686
|
}
|
|
662
687
|
|
|
663
688
|
all_board_items(request, options) {
|
|
664
|
-
var
|
|
689
|
+
var _this71 = this;
|
|
665
690
|
|
|
666
691
|
return _asyncToGenerator(function* () {
|
|
667
|
-
return
|
|
692
|
+
return _this71.get('/board_items', {
|
|
668
693
|
fields: request.fields,
|
|
669
694
|
sorts: request.sorts,
|
|
670
695
|
board_section_id: request.board_section_id
|
|
@@ -673,51 +698,51 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
673
698
|
}
|
|
674
699
|
|
|
675
700
|
create_board_item(body, fields, options) {
|
|
676
|
-
var
|
|
701
|
+
var _this72 = this;
|
|
677
702
|
|
|
678
703
|
return _asyncToGenerator(function* () {
|
|
679
|
-
return
|
|
704
|
+
return _this72.post('/board_items', {
|
|
680
705
|
fields
|
|
681
706
|
}, body, options);
|
|
682
707
|
})();
|
|
683
708
|
}
|
|
684
709
|
|
|
685
710
|
board_item(board_item_id, fields, options) {
|
|
686
|
-
var
|
|
711
|
+
var _this73 = this;
|
|
687
712
|
|
|
688
713
|
return _asyncToGenerator(function* () {
|
|
689
714
|
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
|
|
690
|
-
return
|
|
715
|
+
return _this73.get("/board_items/".concat(board_item_id), {
|
|
691
716
|
fields
|
|
692
717
|
}, null, options);
|
|
693
718
|
})();
|
|
694
719
|
}
|
|
695
720
|
|
|
696
721
|
update_board_item(board_item_id, body, fields, options) {
|
|
697
|
-
var
|
|
722
|
+
var _this74 = this;
|
|
698
723
|
|
|
699
724
|
return _asyncToGenerator(function* () {
|
|
700
725
|
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
|
|
701
|
-
return
|
|
726
|
+
return _this74.patch("/board_items/".concat(board_item_id), {
|
|
702
727
|
fields
|
|
703
728
|
}, body, options);
|
|
704
729
|
})();
|
|
705
730
|
}
|
|
706
731
|
|
|
707
732
|
delete_board_item(board_item_id, options) {
|
|
708
|
-
var
|
|
733
|
+
var _this75 = this;
|
|
709
734
|
|
|
710
735
|
return _asyncToGenerator(function* () {
|
|
711
736
|
board_item_id = (0, _sdkRtl.encodeParam)(board_item_id);
|
|
712
|
-
return
|
|
737
|
+
return _this75.delete("/board_items/".concat(board_item_id), null, null, options);
|
|
713
738
|
})();
|
|
714
739
|
}
|
|
715
740
|
|
|
716
741
|
all_board_sections(request, options) {
|
|
717
|
-
var
|
|
742
|
+
var _this76 = this;
|
|
718
743
|
|
|
719
744
|
return _asyncToGenerator(function* () {
|
|
720
|
-
return
|
|
745
|
+
return _this76.get('/board_sections', {
|
|
721
746
|
fields: request.fields,
|
|
722
747
|
sorts: request.sorts
|
|
723
748
|
}, null, options);
|
|
@@ -725,456 +750,456 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
725
750
|
}
|
|
726
751
|
|
|
727
752
|
create_board_section(body, fields, options) {
|
|
728
|
-
var
|
|
753
|
+
var _this77 = this;
|
|
729
754
|
|
|
730
755
|
return _asyncToGenerator(function* () {
|
|
731
|
-
return
|
|
756
|
+
return _this77.post('/board_sections', {
|
|
732
757
|
fields
|
|
733
758
|
}, body, options);
|
|
734
759
|
})();
|
|
735
760
|
}
|
|
736
761
|
|
|
737
762
|
board_section(board_section_id, fields, options) {
|
|
738
|
-
var
|
|
763
|
+
var _this78 = this;
|
|
739
764
|
|
|
740
765
|
return _asyncToGenerator(function* () {
|
|
741
766
|
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
|
|
742
|
-
return
|
|
767
|
+
return _this78.get("/board_sections/".concat(board_section_id), {
|
|
743
768
|
fields
|
|
744
769
|
}, null, options);
|
|
745
770
|
})();
|
|
746
771
|
}
|
|
747
772
|
|
|
748
773
|
update_board_section(board_section_id, body, fields, options) {
|
|
749
|
-
var
|
|
774
|
+
var _this79 = this;
|
|
750
775
|
|
|
751
776
|
return _asyncToGenerator(function* () {
|
|
752
777
|
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
|
|
753
|
-
return
|
|
778
|
+
return _this79.patch("/board_sections/".concat(board_section_id), {
|
|
754
779
|
fields
|
|
755
780
|
}, body, options);
|
|
756
781
|
})();
|
|
757
782
|
}
|
|
758
783
|
|
|
759
784
|
delete_board_section(board_section_id, options) {
|
|
760
|
-
var
|
|
785
|
+
var _this80 = this;
|
|
761
786
|
|
|
762
787
|
return _asyncToGenerator(function* () {
|
|
763
788
|
board_section_id = (0, _sdkRtl.encodeParam)(board_section_id);
|
|
764
|
-
return
|
|
789
|
+
return _this80.delete("/board_sections/".concat(board_section_id), null, null, options);
|
|
765
790
|
})();
|
|
766
791
|
}
|
|
767
792
|
|
|
768
793
|
all_color_collections(fields, options) {
|
|
769
|
-
var
|
|
794
|
+
var _this81 = this;
|
|
770
795
|
|
|
771
796
|
return _asyncToGenerator(function* () {
|
|
772
|
-
return
|
|
797
|
+
return _this81.get('/color_collections', {
|
|
773
798
|
fields
|
|
774
799
|
}, null, options);
|
|
775
800
|
})();
|
|
776
801
|
}
|
|
777
802
|
|
|
778
803
|
create_color_collection(body, options) {
|
|
779
|
-
var
|
|
804
|
+
var _this82 = this;
|
|
780
805
|
|
|
781
806
|
return _asyncToGenerator(function* () {
|
|
782
|
-
return
|
|
807
|
+
return _this82.post('/color_collections', null, body, options);
|
|
783
808
|
})();
|
|
784
809
|
}
|
|
785
810
|
|
|
786
811
|
color_collections_custom(fields, options) {
|
|
787
|
-
var
|
|
812
|
+
var _this83 = this;
|
|
788
813
|
|
|
789
814
|
return _asyncToGenerator(function* () {
|
|
790
|
-
return
|
|
815
|
+
return _this83.get('/color_collections/custom', {
|
|
791
816
|
fields
|
|
792
817
|
}, null, options);
|
|
793
818
|
})();
|
|
794
819
|
}
|
|
795
820
|
|
|
796
821
|
color_collections_standard(fields, options) {
|
|
797
|
-
var
|
|
822
|
+
var _this84 = this;
|
|
798
823
|
|
|
799
824
|
return _asyncToGenerator(function* () {
|
|
800
|
-
return
|
|
825
|
+
return _this84.get('/color_collections/standard', {
|
|
801
826
|
fields
|
|
802
827
|
}, null, options);
|
|
803
828
|
})();
|
|
804
829
|
}
|
|
805
830
|
|
|
806
831
|
default_color_collection(options) {
|
|
807
|
-
var
|
|
832
|
+
var _this85 = this;
|
|
808
833
|
|
|
809
834
|
return _asyncToGenerator(function* () {
|
|
810
|
-
return
|
|
835
|
+
return _this85.get('/color_collections/default', null, null, options);
|
|
811
836
|
})();
|
|
812
837
|
}
|
|
813
838
|
|
|
814
839
|
set_default_color_collection(collection_id, options) {
|
|
815
|
-
var
|
|
840
|
+
var _this86 = this;
|
|
816
841
|
|
|
817
842
|
return _asyncToGenerator(function* () {
|
|
818
|
-
return
|
|
843
|
+
return _this86.put('/color_collections/default', {
|
|
819
844
|
collection_id
|
|
820
845
|
}, null, options);
|
|
821
846
|
})();
|
|
822
847
|
}
|
|
823
848
|
|
|
824
849
|
color_collection(collection_id, fields, options) {
|
|
825
|
-
var
|
|
850
|
+
var _this87 = this;
|
|
826
851
|
|
|
827
852
|
return _asyncToGenerator(function* () {
|
|
828
853
|
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
829
|
-
return
|
|
854
|
+
return _this87.get("/color_collections/".concat(collection_id), {
|
|
830
855
|
fields
|
|
831
856
|
}, null, options);
|
|
832
857
|
})();
|
|
833
858
|
}
|
|
834
859
|
|
|
835
860
|
update_color_collection(collection_id, body, options) {
|
|
836
|
-
var
|
|
861
|
+
var _this88 = this;
|
|
837
862
|
|
|
838
863
|
return _asyncToGenerator(function* () {
|
|
839
864
|
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
840
|
-
return
|
|
865
|
+
return _this88.patch("/color_collections/".concat(collection_id), null, body, options);
|
|
841
866
|
})();
|
|
842
867
|
}
|
|
843
868
|
|
|
844
869
|
delete_color_collection(collection_id, options) {
|
|
845
|
-
var
|
|
870
|
+
var _this89 = this;
|
|
846
871
|
|
|
847
872
|
return _asyncToGenerator(function* () {
|
|
848
873
|
collection_id = (0, _sdkRtl.encodeParam)(collection_id);
|
|
849
|
-
return
|
|
874
|
+
return _this89.delete("/color_collections/".concat(collection_id), null, null, options);
|
|
850
875
|
})();
|
|
851
876
|
}
|
|
852
877
|
|
|
853
878
|
cloud_storage_configuration(options) {
|
|
854
|
-
var
|
|
879
|
+
var _this90 = this;
|
|
855
880
|
|
|
856
881
|
return _asyncToGenerator(function* () {
|
|
857
|
-
return
|
|
882
|
+
return _this90.get('/cloud_storage', null, null, options);
|
|
858
883
|
})();
|
|
859
884
|
}
|
|
860
885
|
|
|
861
886
|
update_cloud_storage_configuration(body, options) {
|
|
862
|
-
var
|
|
887
|
+
var _this91 = this;
|
|
863
888
|
|
|
864
889
|
return _asyncToGenerator(function* () {
|
|
865
|
-
return
|
|
890
|
+
return _this91.patch('/cloud_storage', null, body, options);
|
|
866
891
|
})();
|
|
867
892
|
}
|
|
868
893
|
|
|
869
894
|
custom_welcome_email(options) {
|
|
870
|
-
var
|
|
895
|
+
var _this92 = this;
|
|
871
896
|
|
|
872
897
|
return _asyncToGenerator(function* () {
|
|
873
|
-
return
|
|
898
|
+
return _this92.get('/custom_welcome_email', null, null, options);
|
|
874
899
|
})();
|
|
875
900
|
}
|
|
876
901
|
|
|
877
902
|
update_custom_welcome_email(body, send_test_welcome_email, options) {
|
|
878
|
-
var
|
|
903
|
+
var _this93 = this;
|
|
879
904
|
|
|
880
905
|
return _asyncToGenerator(function* () {
|
|
881
|
-
return
|
|
906
|
+
return _this93.patch('/custom_welcome_email', {
|
|
882
907
|
send_test_welcome_email
|
|
883
908
|
}, body, options);
|
|
884
909
|
})();
|
|
885
910
|
}
|
|
886
911
|
|
|
887
912
|
update_custom_welcome_email_test(body, options) {
|
|
888
|
-
var
|
|
913
|
+
var _this94 = this;
|
|
889
914
|
|
|
890
915
|
return _asyncToGenerator(function* () {
|
|
891
|
-
return
|
|
916
|
+
return _this94.put('/custom_welcome_email_test', null, body, options);
|
|
892
917
|
})();
|
|
893
918
|
}
|
|
894
919
|
|
|
895
920
|
digest_emails_enabled(options) {
|
|
896
|
-
var
|
|
921
|
+
var _this95 = this;
|
|
897
922
|
|
|
898
923
|
return _asyncToGenerator(function* () {
|
|
899
|
-
return
|
|
924
|
+
return _this95.get('/digest_emails_enabled', null, null, options);
|
|
900
925
|
})();
|
|
901
926
|
}
|
|
902
927
|
|
|
903
928
|
update_digest_emails_enabled(body, options) {
|
|
904
|
-
var
|
|
929
|
+
var _this96 = this;
|
|
905
930
|
|
|
906
931
|
return _asyncToGenerator(function* () {
|
|
907
|
-
return
|
|
932
|
+
return _this96.patch('/digest_emails_enabled', null, body, options);
|
|
908
933
|
})();
|
|
909
934
|
}
|
|
910
935
|
|
|
911
936
|
create_digest_email_send(options) {
|
|
912
|
-
var
|
|
937
|
+
var _this97 = this;
|
|
913
938
|
|
|
914
939
|
return _asyncToGenerator(function* () {
|
|
915
|
-
return
|
|
940
|
+
return _this97.post('/digest_email_send', null, null, options);
|
|
916
941
|
})();
|
|
917
942
|
}
|
|
918
943
|
|
|
919
944
|
public_egress_ip_addresses(options) {
|
|
920
|
-
var
|
|
945
|
+
var _this98 = this;
|
|
921
946
|
|
|
922
947
|
return _asyncToGenerator(function* () {
|
|
923
|
-
return
|
|
948
|
+
return _this98.get('/public_egress_ip_addresses', null, null, options);
|
|
924
949
|
})();
|
|
925
950
|
}
|
|
926
951
|
|
|
927
952
|
internal_help_resources_content(options) {
|
|
928
|
-
var
|
|
953
|
+
var _this99 = this;
|
|
929
954
|
|
|
930
955
|
return _asyncToGenerator(function* () {
|
|
931
|
-
return
|
|
956
|
+
return _this99.get('/internal_help_resources_content', null, null, options);
|
|
932
957
|
})();
|
|
933
958
|
}
|
|
934
959
|
|
|
935
960
|
update_internal_help_resources_content(body, options) {
|
|
936
|
-
var
|
|
961
|
+
var _this100 = this;
|
|
937
962
|
|
|
938
963
|
return _asyncToGenerator(function* () {
|
|
939
|
-
return
|
|
964
|
+
return _this100.patch('/internal_help_resources_content', null, body, options);
|
|
940
965
|
})();
|
|
941
966
|
}
|
|
942
967
|
|
|
943
968
|
internal_help_resources(options) {
|
|
944
|
-
var
|
|
969
|
+
var _this101 = this;
|
|
945
970
|
|
|
946
971
|
return _asyncToGenerator(function* () {
|
|
947
|
-
return
|
|
972
|
+
return _this101.get('/internal_help_resources_enabled', null, null, options);
|
|
948
973
|
})();
|
|
949
974
|
}
|
|
950
975
|
|
|
951
976
|
update_internal_help_resources(body, options) {
|
|
952
|
-
var
|
|
977
|
+
var _this102 = this;
|
|
953
978
|
|
|
954
979
|
return _asyncToGenerator(function* () {
|
|
955
|
-
return
|
|
980
|
+
return _this102.patch('/internal_help_resources', null, body, options);
|
|
956
981
|
})();
|
|
957
982
|
}
|
|
958
983
|
|
|
959
984
|
all_legacy_features(options) {
|
|
960
|
-
var
|
|
985
|
+
var _this103 = this;
|
|
961
986
|
|
|
962
987
|
return _asyncToGenerator(function* () {
|
|
963
|
-
return
|
|
988
|
+
return _this103.get('/legacy_features', null, null, options);
|
|
964
989
|
})();
|
|
965
990
|
}
|
|
966
991
|
|
|
967
992
|
legacy_feature(legacy_feature_id, options) {
|
|
968
|
-
var
|
|
993
|
+
var _this104 = this;
|
|
969
994
|
|
|
970
995
|
return _asyncToGenerator(function* () {
|
|
971
996
|
legacy_feature_id = (0, _sdkRtl.encodeParam)(legacy_feature_id);
|
|
972
|
-
return
|
|
997
|
+
return _this104.get("/legacy_features/".concat(legacy_feature_id), null, null, options);
|
|
973
998
|
})();
|
|
974
999
|
}
|
|
975
1000
|
|
|
976
1001
|
update_legacy_feature(legacy_feature_id, body, options) {
|
|
977
|
-
var
|
|
1002
|
+
var _this105 = this;
|
|
978
1003
|
|
|
979
1004
|
return _asyncToGenerator(function* () {
|
|
980
1005
|
legacy_feature_id = (0, _sdkRtl.encodeParam)(legacy_feature_id);
|
|
981
|
-
return
|
|
1006
|
+
return _this105.patch("/legacy_features/".concat(legacy_feature_id), null, body, options);
|
|
982
1007
|
})();
|
|
983
1008
|
}
|
|
984
1009
|
|
|
985
1010
|
all_locales(options) {
|
|
986
|
-
var
|
|
1011
|
+
var _this106 = this;
|
|
987
1012
|
|
|
988
1013
|
return _asyncToGenerator(function* () {
|
|
989
|
-
return
|
|
1014
|
+
return _this106.get('/locales', null, null, options);
|
|
990
1015
|
})();
|
|
991
1016
|
}
|
|
992
1017
|
|
|
993
1018
|
mobile_settings(options) {
|
|
994
|
-
var
|
|
1019
|
+
var _this107 = this;
|
|
995
1020
|
|
|
996
1021
|
return _asyncToGenerator(function* () {
|
|
997
|
-
return
|
|
1022
|
+
return _this107.get('/mobile/settings', null, null, options);
|
|
998
1023
|
})();
|
|
999
1024
|
}
|
|
1000
1025
|
|
|
1001
1026
|
get_setting(fields, options) {
|
|
1002
|
-
var
|
|
1027
|
+
var _this108 = this;
|
|
1003
1028
|
|
|
1004
1029
|
return _asyncToGenerator(function* () {
|
|
1005
|
-
return
|
|
1030
|
+
return _this108.get('/setting', {
|
|
1006
1031
|
fields
|
|
1007
1032
|
}, null, options);
|
|
1008
1033
|
})();
|
|
1009
1034
|
}
|
|
1010
1035
|
|
|
1011
1036
|
set_setting(body, fields, options) {
|
|
1012
|
-
var
|
|
1037
|
+
var _this109 = this;
|
|
1013
1038
|
|
|
1014
1039
|
return _asyncToGenerator(function* () {
|
|
1015
|
-
return
|
|
1040
|
+
return _this109.patch('/setting', {
|
|
1016
1041
|
fields
|
|
1017
1042
|
}, body, options);
|
|
1018
1043
|
})();
|
|
1019
1044
|
}
|
|
1020
1045
|
|
|
1021
1046
|
set_smtp_settings(body, options) {
|
|
1022
|
-
var
|
|
1047
|
+
var _this110 = this;
|
|
1023
1048
|
|
|
1024
1049
|
return _asyncToGenerator(function* () {
|
|
1025
|
-
return
|
|
1050
|
+
return _this110.post('/smtp_settings', null, body, options);
|
|
1026
1051
|
})();
|
|
1027
1052
|
}
|
|
1028
1053
|
|
|
1029
1054
|
smtp_status(fields, options) {
|
|
1030
|
-
var
|
|
1055
|
+
var _this111 = this;
|
|
1031
1056
|
|
|
1032
1057
|
return _asyncToGenerator(function* () {
|
|
1033
|
-
return
|
|
1058
|
+
return _this111.get('/smtp_status', {
|
|
1034
1059
|
fields
|
|
1035
1060
|
}, null, options);
|
|
1036
1061
|
})();
|
|
1037
1062
|
}
|
|
1038
1063
|
|
|
1039
1064
|
all_timezones(options) {
|
|
1040
|
-
var
|
|
1065
|
+
var _this112 = this;
|
|
1041
1066
|
|
|
1042
1067
|
return _asyncToGenerator(function* () {
|
|
1043
|
-
return
|
|
1068
|
+
return _this112.get('/timezones', null, null, options);
|
|
1044
1069
|
})();
|
|
1045
1070
|
}
|
|
1046
1071
|
|
|
1047
1072
|
versions(fields, options) {
|
|
1048
|
-
var
|
|
1073
|
+
var _this113 = this;
|
|
1049
1074
|
|
|
1050
1075
|
return _asyncToGenerator(function* () {
|
|
1051
|
-
return
|
|
1076
|
+
return _this113.get('/versions', {
|
|
1052
1077
|
fields
|
|
1053
1078
|
}, null, options);
|
|
1054
1079
|
})();
|
|
1055
1080
|
}
|
|
1056
1081
|
|
|
1057
1082
|
api_spec(api_version, specification, options) {
|
|
1058
|
-
var
|
|
1083
|
+
var _this114 = this;
|
|
1059
1084
|
|
|
1060
1085
|
return _asyncToGenerator(function* () {
|
|
1061
1086
|
api_version = (0, _sdkRtl.encodeParam)(api_version);
|
|
1062
1087
|
specification = (0, _sdkRtl.encodeParam)(specification);
|
|
1063
|
-
return
|
|
1088
|
+
return _this114.get("/api_spec/".concat(api_version, "/").concat(specification), null, null, options);
|
|
1064
1089
|
})();
|
|
1065
1090
|
}
|
|
1066
1091
|
|
|
1067
1092
|
whitelabel_configuration(fields, options) {
|
|
1068
|
-
var
|
|
1093
|
+
var _this115 = this;
|
|
1069
1094
|
|
|
1070
1095
|
return _asyncToGenerator(function* () {
|
|
1071
|
-
return
|
|
1096
|
+
return _this115.get('/whitelabel_configuration', {
|
|
1072
1097
|
fields
|
|
1073
1098
|
}, null, options);
|
|
1074
1099
|
})();
|
|
1075
1100
|
}
|
|
1076
1101
|
|
|
1077
1102
|
update_whitelabel_configuration(body, options) {
|
|
1078
|
-
var
|
|
1103
|
+
var _this116 = this;
|
|
1079
1104
|
|
|
1080
1105
|
return _asyncToGenerator(function* () {
|
|
1081
|
-
return
|
|
1106
|
+
return _this116.put('/whitelabel_configuration', null, body, options);
|
|
1082
1107
|
})();
|
|
1083
1108
|
}
|
|
1084
1109
|
|
|
1085
1110
|
all_connections(fields, options) {
|
|
1086
|
-
var
|
|
1111
|
+
var _this117 = this;
|
|
1087
1112
|
|
|
1088
1113
|
return _asyncToGenerator(function* () {
|
|
1089
|
-
return
|
|
1114
|
+
return _this117.get('/connections', {
|
|
1090
1115
|
fields
|
|
1091
1116
|
}, null, options);
|
|
1092
1117
|
})();
|
|
1093
1118
|
}
|
|
1094
1119
|
|
|
1095
1120
|
create_connection(body, options) {
|
|
1096
|
-
var
|
|
1121
|
+
var _this118 = this;
|
|
1097
1122
|
|
|
1098
1123
|
return _asyncToGenerator(function* () {
|
|
1099
|
-
return
|
|
1124
|
+
return _this118.post('/connections', null, body, options);
|
|
1100
1125
|
})();
|
|
1101
1126
|
}
|
|
1102
1127
|
|
|
1103
1128
|
connection(connection_name, fields, options) {
|
|
1104
|
-
var
|
|
1129
|
+
var _this119 = this;
|
|
1105
1130
|
|
|
1106
1131
|
return _asyncToGenerator(function* () {
|
|
1107
1132
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
1108
|
-
return
|
|
1133
|
+
return _this119.get("/connections/".concat(connection_name), {
|
|
1109
1134
|
fields
|
|
1110
1135
|
}, null, options);
|
|
1111
1136
|
})();
|
|
1112
1137
|
}
|
|
1113
1138
|
|
|
1114
1139
|
update_connection(connection_name, body, options) {
|
|
1115
|
-
var
|
|
1140
|
+
var _this120 = this;
|
|
1116
1141
|
|
|
1117
1142
|
return _asyncToGenerator(function* () {
|
|
1118
1143
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
1119
|
-
return
|
|
1144
|
+
return _this120.patch("/connections/".concat(connection_name), null, body, options);
|
|
1120
1145
|
})();
|
|
1121
1146
|
}
|
|
1122
1147
|
|
|
1123
1148
|
delete_connection(connection_name, options) {
|
|
1124
|
-
var
|
|
1149
|
+
var _this121 = this;
|
|
1125
1150
|
|
|
1126
1151
|
return _asyncToGenerator(function* () {
|
|
1127
1152
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
1128
|
-
return
|
|
1153
|
+
return _this121.delete("/connections/".concat(connection_name), null, null, options);
|
|
1129
1154
|
})();
|
|
1130
1155
|
}
|
|
1131
1156
|
|
|
1132
1157
|
delete_connection_override(connection_name, override_context, options) {
|
|
1133
|
-
var
|
|
1158
|
+
var _this122 = this;
|
|
1134
1159
|
|
|
1135
1160
|
return _asyncToGenerator(function* () {
|
|
1136
1161
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
1137
1162
|
override_context = (0, _sdkRtl.encodeParam)(override_context);
|
|
1138
|
-
return
|
|
1163
|
+
return _this122.delete("/connections/".concat(connection_name, "/connection_override/").concat(override_context), null, null, options);
|
|
1139
1164
|
})();
|
|
1140
1165
|
}
|
|
1141
1166
|
|
|
1142
1167
|
test_connection(connection_name, tests, options) {
|
|
1143
|
-
var
|
|
1168
|
+
var _this123 = this;
|
|
1144
1169
|
|
|
1145
1170
|
return _asyncToGenerator(function* () {
|
|
1146
1171
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
1147
|
-
return
|
|
1172
|
+
return _this123.put("/connections/".concat(connection_name, "/test"), {
|
|
1148
1173
|
tests
|
|
1149
1174
|
}, null, options);
|
|
1150
1175
|
})();
|
|
1151
1176
|
}
|
|
1152
1177
|
|
|
1153
1178
|
test_connection_config(body, tests, options) {
|
|
1154
|
-
var
|
|
1179
|
+
var _this124 = this;
|
|
1155
1180
|
|
|
1156
1181
|
return _asyncToGenerator(function* () {
|
|
1157
|
-
return
|
|
1182
|
+
return _this124.put('/connections/test', {
|
|
1158
1183
|
tests
|
|
1159
1184
|
}, body, options);
|
|
1160
1185
|
})();
|
|
1161
1186
|
}
|
|
1162
1187
|
|
|
1163
1188
|
all_dialect_infos(fields, options) {
|
|
1164
|
-
var
|
|
1189
|
+
var _this125 = this;
|
|
1165
1190
|
|
|
1166
1191
|
return _asyncToGenerator(function* () {
|
|
1167
|
-
return
|
|
1192
|
+
return _this125.get('/dialect_info', {
|
|
1168
1193
|
fields
|
|
1169
1194
|
}, null, options);
|
|
1170
1195
|
})();
|
|
1171
1196
|
}
|
|
1172
1197
|
|
|
1173
1198
|
all_external_oauth_applications(request, options) {
|
|
1174
|
-
var
|
|
1199
|
+
var _this126 = this;
|
|
1175
1200
|
|
|
1176
1201
|
return _asyncToGenerator(function* () {
|
|
1177
|
-
return
|
|
1202
|
+
return _this126.get('/external_oauth_applications', {
|
|
1178
1203
|
name: request.name,
|
|
1179
1204
|
client_id: request.client_id
|
|
1180
1205
|
}, null, options);
|
|
@@ -1182,142 +1207,142 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1182
1207
|
}
|
|
1183
1208
|
|
|
1184
1209
|
create_external_oauth_application(body, options) {
|
|
1185
|
-
var
|
|
1210
|
+
var _this127 = this;
|
|
1186
1211
|
|
|
1187
1212
|
return _asyncToGenerator(function* () {
|
|
1188
|
-
return
|
|
1213
|
+
return _this127.post('/external_oauth_applications', null, body, options);
|
|
1189
1214
|
})();
|
|
1190
1215
|
}
|
|
1191
1216
|
|
|
1192
1217
|
create_oauth_application_user_state(body, options) {
|
|
1193
|
-
var
|
|
1218
|
+
var _this128 = this;
|
|
1194
1219
|
|
|
1195
1220
|
return _asyncToGenerator(function* () {
|
|
1196
|
-
return
|
|
1221
|
+
return _this128.post('/external_oauth_applications/user_state', null, body, options);
|
|
1197
1222
|
})();
|
|
1198
1223
|
}
|
|
1199
1224
|
|
|
1200
1225
|
all_ssh_servers(fields, options) {
|
|
1201
|
-
var
|
|
1226
|
+
var _this129 = this;
|
|
1202
1227
|
|
|
1203
1228
|
return _asyncToGenerator(function* () {
|
|
1204
|
-
return
|
|
1229
|
+
return _this129.get('/ssh_servers', {
|
|
1205
1230
|
fields
|
|
1206
1231
|
}, null, options);
|
|
1207
1232
|
})();
|
|
1208
1233
|
}
|
|
1209
1234
|
|
|
1210
1235
|
create_ssh_server(body, options) {
|
|
1211
|
-
var
|
|
1236
|
+
var _this130 = this;
|
|
1212
1237
|
|
|
1213
1238
|
return _asyncToGenerator(function* () {
|
|
1214
|
-
return
|
|
1239
|
+
return _this130.post('/ssh_servers', null, body, options);
|
|
1215
1240
|
})();
|
|
1216
1241
|
}
|
|
1217
1242
|
|
|
1218
1243
|
ssh_server(ssh_server_id, options) {
|
|
1219
|
-
var
|
|
1244
|
+
var _this131 = this;
|
|
1220
1245
|
|
|
1221
1246
|
return _asyncToGenerator(function* () {
|
|
1222
1247
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1223
|
-
return
|
|
1248
|
+
return _this131.get("/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1224
1249
|
})();
|
|
1225
1250
|
}
|
|
1226
1251
|
|
|
1227
1252
|
update_ssh_server(ssh_server_id, body, options) {
|
|
1228
|
-
var
|
|
1253
|
+
var _this132 = this;
|
|
1229
1254
|
|
|
1230
1255
|
return _asyncToGenerator(function* () {
|
|
1231
1256
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1232
|
-
return
|
|
1257
|
+
return _this132.patch("/ssh_server/".concat(ssh_server_id), null, body, options);
|
|
1233
1258
|
})();
|
|
1234
1259
|
}
|
|
1235
1260
|
|
|
1236
1261
|
delete_ssh_server(ssh_server_id, options) {
|
|
1237
|
-
var
|
|
1262
|
+
var _this133 = this;
|
|
1238
1263
|
|
|
1239
1264
|
return _asyncToGenerator(function* () {
|
|
1240
1265
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1241
|
-
return
|
|
1266
|
+
return _this133.delete("/ssh_server/".concat(ssh_server_id), null, null, options);
|
|
1242
1267
|
})();
|
|
1243
1268
|
}
|
|
1244
1269
|
|
|
1245
1270
|
test_ssh_server(ssh_server_id, options) {
|
|
1246
|
-
var
|
|
1271
|
+
var _this134 = this;
|
|
1247
1272
|
|
|
1248
1273
|
return _asyncToGenerator(function* () {
|
|
1249
1274
|
ssh_server_id = (0, _sdkRtl.encodeParam)(ssh_server_id);
|
|
1250
|
-
return
|
|
1275
|
+
return _this134.get("/ssh_server/".concat(ssh_server_id, "/test"), null, null, options);
|
|
1251
1276
|
})();
|
|
1252
1277
|
}
|
|
1253
1278
|
|
|
1254
1279
|
all_ssh_tunnels(fields, options) {
|
|
1255
|
-
var
|
|
1280
|
+
var _this135 = this;
|
|
1256
1281
|
|
|
1257
1282
|
return _asyncToGenerator(function* () {
|
|
1258
|
-
return
|
|
1283
|
+
return _this135.get('/ssh_tunnels', {
|
|
1259
1284
|
fields
|
|
1260
1285
|
}, null, options);
|
|
1261
1286
|
})();
|
|
1262
1287
|
}
|
|
1263
1288
|
|
|
1264
1289
|
create_ssh_tunnel(body, options) {
|
|
1265
|
-
var
|
|
1290
|
+
var _this136 = this;
|
|
1266
1291
|
|
|
1267
1292
|
return _asyncToGenerator(function* () {
|
|
1268
|
-
return
|
|
1293
|
+
return _this136.post('/ssh_tunnels', null, body, options);
|
|
1269
1294
|
})();
|
|
1270
1295
|
}
|
|
1271
1296
|
|
|
1272
1297
|
ssh_tunnel(ssh_tunnel_id, options) {
|
|
1273
|
-
var
|
|
1298
|
+
var _this137 = this;
|
|
1274
1299
|
|
|
1275
1300
|
return _asyncToGenerator(function* () {
|
|
1276
1301
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1277
|
-
return
|
|
1302
|
+
return _this137.get("/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1278
1303
|
})();
|
|
1279
1304
|
}
|
|
1280
1305
|
|
|
1281
1306
|
update_ssh_tunnel(ssh_tunnel_id, body, options) {
|
|
1282
|
-
var
|
|
1307
|
+
var _this138 = this;
|
|
1283
1308
|
|
|
1284
1309
|
return _asyncToGenerator(function* () {
|
|
1285
1310
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1286
|
-
return
|
|
1311
|
+
return _this138.patch("/ssh_tunnel/".concat(ssh_tunnel_id), null, body, options);
|
|
1287
1312
|
})();
|
|
1288
1313
|
}
|
|
1289
1314
|
|
|
1290
1315
|
delete_ssh_tunnel(ssh_tunnel_id, options) {
|
|
1291
|
-
var
|
|
1316
|
+
var _this139 = this;
|
|
1292
1317
|
|
|
1293
1318
|
return _asyncToGenerator(function* () {
|
|
1294
1319
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1295
|
-
return
|
|
1320
|
+
return _this139.delete("/ssh_tunnel/".concat(ssh_tunnel_id), null, null, options);
|
|
1296
1321
|
})();
|
|
1297
1322
|
}
|
|
1298
1323
|
|
|
1299
1324
|
test_ssh_tunnel(ssh_tunnel_id, options) {
|
|
1300
|
-
var
|
|
1325
|
+
var _this140 = this;
|
|
1301
1326
|
|
|
1302
1327
|
return _asyncToGenerator(function* () {
|
|
1303
1328
|
ssh_tunnel_id = (0, _sdkRtl.encodeParam)(ssh_tunnel_id);
|
|
1304
|
-
return
|
|
1329
|
+
return _this140.get("/ssh_tunnel/".concat(ssh_tunnel_id, "/test"), null, null, options);
|
|
1305
1330
|
})();
|
|
1306
1331
|
}
|
|
1307
1332
|
|
|
1308
1333
|
ssh_public_key(options) {
|
|
1309
|
-
var
|
|
1334
|
+
var _this141 = this;
|
|
1310
1335
|
|
|
1311
1336
|
return _asyncToGenerator(function* () {
|
|
1312
|
-
return
|
|
1337
|
+
return _this141.get('/ssh_public_key', null, null, options);
|
|
1313
1338
|
})();
|
|
1314
1339
|
}
|
|
1315
1340
|
|
|
1316
1341
|
search_content_favorites(request, options) {
|
|
1317
|
-
var
|
|
1342
|
+
var _this142 = this;
|
|
1318
1343
|
|
|
1319
1344
|
return _asyncToGenerator(function* () {
|
|
1320
|
-
return
|
|
1345
|
+
return _this142.get('/content_favorite/search', {
|
|
1321
1346
|
id: request.id,
|
|
1322
1347
|
user_id: request.user_id,
|
|
1323
1348
|
content_metadata_id: request.content_metadata_id,
|
|
@@ -1334,38 +1359,38 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1334
1359
|
}
|
|
1335
1360
|
|
|
1336
1361
|
content_favorite(content_favorite_id, fields, options) {
|
|
1337
|
-
var
|
|
1362
|
+
var _this143 = this;
|
|
1338
1363
|
|
|
1339
1364
|
return _asyncToGenerator(function* () {
|
|
1340
1365
|
content_favorite_id = (0, _sdkRtl.encodeParam)(content_favorite_id);
|
|
1341
|
-
return
|
|
1366
|
+
return _this143.get("/content_favorite/".concat(content_favorite_id), {
|
|
1342
1367
|
fields
|
|
1343
1368
|
}, null, options);
|
|
1344
1369
|
})();
|
|
1345
1370
|
}
|
|
1346
1371
|
|
|
1347
1372
|
delete_content_favorite(content_favorite_id, options) {
|
|
1348
|
-
var
|
|
1373
|
+
var _this144 = this;
|
|
1349
1374
|
|
|
1350
1375
|
return _asyncToGenerator(function* () {
|
|
1351
1376
|
content_favorite_id = (0, _sdkRtl.encodeParam)(content_favorite_id);
|
|
1352
|
-
return
|
|
1377
|
+
return _this144.delete("/content_favorite/".concat(content_favorite_id), null, null, options);
|
|
1353
1378
|
})();
|
|
1354
1379
|
}
|
|
1355
1380
|
|
|
1356
1381
|
create_content_favorite(body, options) {
|
|
1357
|
-
var
|
|
1382
|
+
var _this145 = this;
|
|
1358
1383
|
|
|
1359
1384
|
return _asyncToGenerator(function* () {
|
|
1360
|
-
return
|
|
1385
|
+
return _this145.post('/content_favorite', null, body, options);
|
|
1361
1386
|
})();
|
|
1362
1387
|
}
|
|
1363
1388
|
|
|
1364
1389
|
all_content_metadatas(parent_id, fields, options) {
|
|
1365
|
-
var
|
|
1390
|
+
var _this146 = this;
|
|
1366
1391
|
|
|
1367
1392
|
return _asyncToGenerator(function* () {
|
|
1368
|
-
return
|
|
1393
|
+
return _this146.get('/content_metadata', {
|
|
1369
1394
|
parent_id,
|
|
1370
1395
|
fields
|
|
1371
1396
|
}, null, options);
|
|
@@ -1373,30 +1398,30 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1373
1398
|
}
|
|
1374
1399
|
|
|
1375
1400
|
content_metadata(content_metadata_id, fields, options) {
|
|
1376
|
-
var
|
|
1401
|
+
var _this147 = this;
|
|
1377
1402
|
|
|
1378
1403
|
return _asyncToGenerator(function* () {
|
|
1379
1404
|
content_metadata_id = (0, _sdkRtl.encodeParam)(content_metadata_id);
|
|
1380
|
-
return
|
|
1405
|
+
return _this147.get("/content_metadata/".concat(content_metadata_id), {
|
|
1381
1406
|
fields
|
|
1382
1407
|
}, null, options);
|
|
1383
1408
|
})();
|
|
1384
1409
|
}
|
|
1385
1410
|
|
|
1386
1411
|
update_content_metadata(content_metadata_id, body, options) {
|
|
1387
|
-
var
|
|
1412
|
+
var _this148 = this;
|
|
1388
1413
|
|
|
1389
1414
|
return _asyncToGenerator(function* () {
|
|
1390
1415
|
content_metadata_id = (0, _sdkRtl.encodeParam)(content_metadata_id);
|
|
1391
|
-
return
|
|
1416
|
+
return _this148.patch("/content_metadata/".concat(content_metadata_id), null, body, options);
|
|
1392
1417
|
})();
|
|
1393
1418
|
}
|
|
1394
1419
|
|
|
1395
1420
|
all_content_metadata_accesses(content_metadata_id, fields, options) {
|
|
1396
|
-
var
|
|
1421
|
+
var _this149 = this;
|
|
1397
1422
|
|
|
1398
1423
|
return _asyncToGenerator(function* () {
|
|
1399
|
-
return
|
|
1424
|
+
return _this149.get('/content_metadata_access', {
|
|
1400
1425
|
content_metadata_id,
|
|
1401
1426
|
fields
|
|
1402
1427
|
}, null, options);
|
|
@@ -1404,40 +1429,40 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1404
1429
|
}
|
|
1405
1430
|
|
|
1406
1431
|
create_content_metadata_access(body, send_boards_notification_email, options) {
|
|
1407
|
-
var
|
|
1432
|
+
var _this150 = this;
|
|
1408
1433
|
|
|
1409
1434
|
return _asyncToGenerator(function* () {
|
|
1410
|
-
return
|
|
1435
|
+
return _this150.post('/content_metadata_access', {
|
|
1411
1436
|
send_boards_notification_email
|
|
1412
1437
|
}, body, options);
|
|
1413
1438
|
})();
|
|
1414
1439
|
}
|
|
1415
1440
|
|
|
1416
1441
|
update_content_metadata_access(content_metadata_access_id, body, options) {
|
|
1417
|
-
var
|
|
1442
|
+
var _this151 = this;
|
|
1418
1443
|
|
|
1419
1444
|
return _asyncToGenerator(function* () {
|
|
1420
1445
|
content_metadata_access_id = (0, _sdkRtl.encodeParam)(content_metadata_access_id);
|
|
1421
|
-
return
|
|
1446
|
+
return _this151.put("/content_metadata_access/".concat(content_metadata_access_id), null, body, options);
|
|
1422
1447
|
})();
|
|
1423
1448
|
}
|
|
1424
1449
|
|
|
1425
1450
|
delete_content_metadata_access(content_metadata_access_id, options) {
|
|
1426
|
-
var
|
|
1451
|
+
var _this152 = this;
|
|
1427
1452
|
|
|
1428
1453
|
return _asyncToGenerator(function* () {
|
|
1429
1454
|
content_metadata_access_id = (0, _sdkRtl.encodeParam)(content_metadata_access_id);
|
|
1430
|
-
return
|
|
1455
|
+
return _this152.delete("/content_metadata_access/".concat(content_metadata_access_id), null, null, options);
|
|
1431
1456
|
})();
|
|
1432
1457
|
}
|
|
1433
1458
|
|
|
1434
1459
|
content_thumbnail(request, options) {
|
|
1435
|
-
var
|
|
1460
|
+
var _this153 = this;
|
|
1436
1461
|
|
|
1437
1462
|
return _asyncToGenerator(function* () {
|
|
1438
1463
|
request.type = (0, _sdkRtl.encodeParam)(request.type);
|
|
1439
1464
|
request.resource_id = (0, _sdkRtl.encodeParam)(request.resource_id);
|
|
1440
|
-
return
|
|
1465
|
+
return _this153.get("/content_thumbnail/".concat(request.type, "/").concat(request.resource_id), {
|
|
1441
1466
|
reload: request.reload,
|
|
1442
1467
|
format: request.format,
|
|
1443
1468
|
width: request.width,
|
|
@@ -1447,20 +1472,20 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1447
1472
|
}
|
|
1448
1473
|
|
|
1449
1474
|
content_validation(fields, options) {
|
|
1450
|
-
var
|
|
1475
|
+
var _this154 = this;
|
|
1451
1476
|
|
|
1452
1477
|
return _asyncToGenerator(function* () {
|
|
1453
|
-
return
|
|
1478
|
+
return _this154.get('/content_validation', {
|
|
1454
1479
|
fields
|
|
1455
1480
|
}, null, options);
|
|
1456
1481
|
})();
|
|
1457
1482
|
}
|
|
1458
1483
|
|
|
1459
1484
|
search_content_views(request, options) {
|
|
1460
|
-
var
|
|
1485
|
+
var _this155 = this;
|
|
1461
1486
|
|
|
1462
1487
|
return _asyncToGenerator(function* () {
|
|
1463
|
-
return
|
|
1488
|
+
return _this155.get('/content_view/search', {
|
|
1464
1489
|
view_count: request.view_count,
|
|
1465
1490
|
group_id: request.group_id,
|
|
1466
1491
|
look_id: request.look_id,
|
|
@@ -1479,40 +1504,40 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1479
1504
|
}
|
|
1480
1505
|
|
|
1481
1506
|
vector_thumbnail(type, resource_id, reload, options) {
|
|
1482
|
-
var
|
|
1507
|
+
var _this156 = this;
|
|
1483
1508
|
|
|
1484
1509
|
return _asyncToGenerator(function* () {
|
|
1485
1510
|
type = (0, _sdkRtl.encodeParam)(type);
|
|
1486
1511
|
resource_id = (0, _sdkRtl.encodeParam)(resource_id);
|
|
1487
|
-
return
|
|
1512
|
+
return _this156.get("/vector_thumbnail/".concat(type, "/").concat(resource_id), {
|
|
1488
1513
|
reload
|
|
1489
1514
|
}, null, options);
|
|
1490
1515
|
})();
|
|
1491
1516
|
}
|
|
1492
1517
|
|
|
1493
1518
|
all_dashboards(fields, options) {
|
|
1494
|
-
var
|
|
1519
|
+
var _this157 = this;
|
|
1495
1520
|
|
|
1496
1521
|
return _asyncToGenerator(function* () {
|
|
1497
|
-
return
|
|
1522
|
+
return _this157.get('/dashboards', {
|
|
1498
1523
|
fields
|
|
1499
1524
|
}, null, options);
|
|
1500
1525
|
})();
|
|
1501
1526
|
}
|
|
1502
1527
|
|
|
1503
1528
|
create_dashboard(body, options) {
|
|
1504
|
-
var
|
|
1529
|
+
var _this158 = this;
|
|
1505
1530
|
|
|
1506
1531
|
return _asyncToGenerator(function* () {
|
|
1507
|
-
return
|
|
1532
|
+
return _this158.post('/dashboards', null, body, options);
|
|
1508
1533
|
})();
|
|
1509
1534
|
}
|
|
1510
1535
|
|
|
1511
1536
|
search_dashboards(request, options) {
|
|
1512
|
-
var
|
|
1537
|
+
var _this159 = this;
|
|
1513
1538
|
|
|
1514
1539
|
return _asyncToGenerator(function* () {
|
|
1515
|
-
return
|
|
1540
|
+
return _this159.get('/dashboards/search', {
|
|
1516
1541
|
id: request.id,
|
|
1517
1542
|
slug: request.slug,
|
|
1518
1543
|
title: request.title,
|
|
@@ -1537,118 +1562,118 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1537
1562
|
}
|
|
1538
1563
|
|
|
1539
1564
|
import_lookml_dashboard(lookml_dashboard_id, space_id, body, raw_locale, options) {
|
|
1540
|
-
var
|
|
1565
|
+
var _this160 = this;
|
|
1541
1566
|
|
|
1542
1567
|
return _asyncToGenerator(function* () {
|
|
1543
1568
|
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
1544
1569
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
1545
|
-
return
|
|
1570
|
+
return _this160.post("/dashboards/".concat(lookml_dashboard_id, "/import/").concat(space_id), {
|
|
1546
1571
|
raw_locale
|
|
1547
1572
|
}, body, options);
|
|
1548
1573
|
})();
|
|
1549
1574
|
}
|
|
1550
1575
|
|
|
1551
1576
|
sync_lookml_dashboard(lookml_dashboard_id, body, raw_locale, options) {
|
|
1552
|
-
var
|
|
1577
|
+
var _this161 = this;
|
|
1553
1578
|
|
|
1554
1579
|
return _asyncToGenerator(function* () {
|
|
1555
1580
|
lookml_dashboard_id = (0, _sdkRtl.encodeParam)(lookml_dashboard_id);
|
|
1556
|
-
return
|
|
1581
|
+
return _this161.patch("/dashboards/".concat(lookml_dashboard_id, "/sync"), {
|
|
1557
1582
|
raw_locale
|
|
1558
1583
|
}, body, options);
|
|
1559
1584
|
})();
|
|
1560
1585
|
}
|
|
1561
1586
|
|
|
1562
1587
|
dashboard(dashboard_id, fields, options) {
|
|
1563
|
-
var
|
|
1588
|
+
var _this162 = this;
|
|
1564
1589
|
|
|
1565
1590
|
return _asyncToGenerator(function* () {
|
|
1566
1591
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1567
|
-
return
|
|
1592
|
+
return _this162.get("/dashboards/".concat(dashboard_id), {
|
|
1568
1593
|
fields
|
|
1569
1594
|
}, null, options);
|
|
1570
1595
|
})();
|
|
1571
1596
|
}
|
|
1572
1597
|
|
|
1573
1598
|
update_dashboard(dashboard_id, body, options) {
|
|
1574
|
-
var
|
|
1599
|
+
var _this163 = this;
|
|
1575
1600
|
|
|
1576
1601
|
return _asyncToGenerator(function* () {
|
|
1577
1602
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1578
|
-
return
|
|
1603
|
+
return _this163.patch("/dashboards/".concat(dashboard_id), null, body, options);
|
|
1579
1604
|
})();
|
|
1580
1605
|
}
|
|
1581
1606
|
|
|
1582
1607
|
delete_dashboard(dashboard_id, options) {
|
|
1583
|
-
var
|
|
1608
|
+
var _this164 = this;
|
|
1584
1609
|
|
|
1585
1610
|
return _asyncToGenerator(function* () {
|
|
1586
1611
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1587
|
-
return
|
|
1612
|
+
return _this164.delete("/dashboards/".concat(dashboard_id), null, null, options);
|
|
1588
1613
|
})();
|
|
1589
1614
|
}
|
|
1590
1615
|
|
|
1591
1616
|
dashboard_aggregate_table_lookml(dashboard_id, options) {
|
|
1592
|
-
var
|
|
1617
|
+
var _this165 = this;
|
|
1593
1618
|
|
|
1594
1619
|
return _asyncToGenerator(function* () {
|
|
1595
1620
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1596
|
-
return
|
|
1621
|
+
return _this165.get("/dashboards/aggregate_table_lookml/".concat(dashboard_id), null, null, options);
|
|
1597
1622
|
})();
|
|
1598
1623
|
}
|
|
1599
1624
|
|
|
1600
1625
|
dashboard_lookml(dashboard_id, options) {
|
|
1601
|
-
var
|
|
1626
|
+
var _this166 = this;
|
|
1602
1627
|
|
|
1603
1628
|
return _asyncToGenerator(function* () {
|
|
1604
1629
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1605
|
-
return
|
|
1630
|
+
return _this166.get("/dashboards/lookml/".concat(dashboard_id), null, null, options);
|
|
1606
1631
|
})();
|
|
1607
1632
|
}
|
|
1608
1633
|
|
|
1609
1634
|
move_dashboard(dashboard_id, folder_id, options) {
|
|
1610
|
-
var
|
|
1635
|
+
var _this167 = this;
|
|
1611
1636
|
|
|
1612
1637
|
return _asyncToGenerator(function* () {
|
|
1613
1638
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1614
|
-
return
|
|
1639
|
+
return _this167.patch("/dashboards/".concat(dashboard_id, "/move"), {
|
|
1615
1640
|
folder_id
|
|
1616
1641
|
}, null, options);
|
|
1617
1642
|
})();
|
|
1618
1643
|
}
|
|
1619
1644
|
|
|
1620
1645
|
import_dashboard_from_lookml(body, options) {
|
|
1621
|
-
var
|
|
1646
|
+
var _this168 = this;
|
|
1622
1647
|
|
|
1623
1648
|
return _asyncToGenerator(function* () {
|
|
1624
|
-
return
|
|
1649
|
+
return _this168.post('/dashboards/lookml', null, body, options);
|
|
1625
1650
|
})();
|
|
1626
1651
|
}
|
|
1627
1652
|
|
|
1628
1653
|
create_dashboard_from_lookml(body, options) {
|
|
1629
|
-
var
|
|
1654
|
+
var _this169 = this;
|
|
1630
1655
|
|
|
1631
1656
|
return _asyncToGenerator(function* () {
|
|
1632
|
-
return
|
|
1657
|
+
return _this169.post('/dashboards/from_lookml', null, body, options);
|
|
1633
1658
|
})();
|
|
1634
1659
|
}
|
|
1635
1660
|
|
|
1636
1661
|
copy_dashboard(dashboard_id, folder_id, options) {
|
|
1637
|
-
var
|
|
1662
|
+
var _this170 = this;
|
|
1638
1663
|
|
|
1639
1664
|
return _asyncToGenerator(function* () {
|
|
1640
1665
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1641
|
-
return
|
|
1666
|
+
return _this170.post("/dashboards/".concat(dashboard_id, "/copy"), {
|
|
1642
1667
|
folder_id
|
|
1643
1668
|
}, null, options);
|
|
1644
1669
|
})();
|
|
1645
1670
|
}
|
|
1646
1671
|
|
|
1647
1672
|
search_dashboard_elements(request, options) {
|
|
1648
|
-
var
|
|
1673
|
+
var _this171 = this;
|
|
1649
1674
|
|
|
1650
1675
|
return _asyncToGenerator(function* () {
|
|
1651
|
-
return
|
|
1676
|
+
return _this171.get('/dashboard_elements/search', {
|
|
1652
1677
|
dashboard_id: request.dashboard_id,
|
|
1653
1678
|
look_id: request.look_id,
|
|
1654
1679
|
title: request.title,
|
|
@@ -1661,52 +1686,52 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1661
1686
|
}
|
|
1662
1687
|
|
|
1663
1688
|
dashboard_element(dashboard_element_id, fields, options) {
|
|
1664
|
-
var
|
|
1689
|
+
var _this172 = this;
|
|
1665
1690
|
|
|
1666
1691
|
return _asyncToGenerator(function* () {
|
|
1667
1692
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1668
|
-
return
|
|
1693
|
+
return _this172.get("/dashboard_elements/".concat(dashboard_element_id), {
|
|
1669
1694
|
fields
|
|
1670
1695
|
}, null, options);
|
|
1671
1696
|
})();
|
|
1672
1697
|
}
|
|
1673
1698
|
|
|
1674
1699
|
update_dashboard_element(dashboard_element_id, body, fields, options) {
|
|
1675
|
-
var
|
|
1700
|
+
var _this173 = this;
|
|
1676
1701
|
|
|
1677
1702
|
return _asyncToGenerator(function* () {
|
|
1678
1703
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1679
|
-
return
|
|
1704
|
+
return _this173.patch("/dashboard_elements/".concat(dashboard_element_id), {
|
|
1680
1705
|
fields
|
|
1681
1706
|
}, body, options);
|
|
1682
1707
|
})();
|
|
1683
1708
|
}
|
|
1684
1709
|
|
|
1685
1710
|
delete_dashboard_element(dashboard_element_id, options) {
|
|
1686
|
-
var
|
|
1711
|
+
var _this174 = this;
|
|
1687
1712
|
|
|
1688
1713
|
return _asyncToGenerator(function* () {
|
|
1689
1714
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
1690
|
-
return
|
|
1715
|
+
return _this174.delete("/dashboard_elements/".concat(dashboard_element_id), null, null, options);
|
|
1691
1716
|
})();
|
|
1692
1717
|
}
|
|
1693
1718
|
|
|
1694
1719
|
dashboard_dashboard_elements(dashboard_id, fields, options) {
|
|
1695
|
-
var
|
|
1720
|
+
var _this175 = this;
|
|
1696
1721
|
|
|
1697
1722
|
return _asyncToGenerator(function* () {
|
|
1698
1723
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1699
|
-
return
|
|
1724
|
+
return _this175.get("/dashboards/".concat(dashboard_id, "/dashboard_elements"), {
|
|
1700
1725
|
fields
|
|
1701
1726
|
}, null, options);
|
|
1702
1727
|
})();
|
|
1703
1728
|
}
|
|
1704
1729
|
|
|
1705
1730
|
create_dashboard_element(request, options) {
|
|
1706
|
-
var
|
|
1731
|
+
var _this176 = this;
|
|
1707
1732
|
|
|
1708
1733
|
return _asyncToGenerator(function* () {
|
|
1709
|
-
return
|
|
1734
|
+
return _this176.post('/dashboard_elements', {
|
|
1710
1735
|
fields: request.fields,
|
|
1711
1736
|
apply_filters: request.apply_filters
|
|
1712
1737
|
}, request.body, options);
|
|
@@ -1714,190 +1739,190 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1714
1739
|
}
|
|
1715
1740
|
|
|
1716
1741
|
dashboard_filter(dashboard_filter_id, fields, options) {
|
|
1717
|
-
var
|
|
1742
|
+
var _this177 = this;
|
|
1718
1743
|
|
|
1719
1744
|
return _asyncToGenerator(function* () {
|
|
1720
1745
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1721
|
-
return
|
|
1746
|
+
return _this177.get("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1722
1747
|
fields
|
|
1723
1748
|
}, null, options);
|
|
1724
1749
|
})();
|
|
1725
1750
|
}
|
|
1726
1751
|
|
|
1727
1752
|
update_dashboard_filter(dashboard_filter_id, body, fields, options) {
|
|
1728
|
-
var
|
|
1753
|
+
var _this178 = this;
|
|
1729
1754
|
|
|
1730
1755
|
return _asyncToGenerator(function* () {
|
|
1731
1756
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1732
|
-
return
|
|
1757
|
+
return _this178.patch("/dashboard_filters/".concat(dashboard_filter_id), {
|
|
1733
1758
|
fields
|
|
1734
1759
|
}, body, options);
|
|
1735
1760
|
})();
|
|
1736
1761
|
}
|
|
1737
1762
|
|
|
1738
1763
|
delete_dashboard_filter(dashboard_filter_id, options) {
|
|
1739
|
-
var
|
|
1764
|
+
var _this179 = this;
|
|
1740
1765
|
|
|
1741
1766
|
return _asyncToGenerator(function* () {
|
|
1742
1767
|
dashboard_filter_id = (0, _sdkRtl.encodeParam)(dashboard_filter_id);
|
|
1743
|
-
return
|
|
1768
|
+
return _this179.delete("/dashboard_filters/".concat(dashboard_filter_id), null, null, options);
|
|
1744
1769
|
})();
|
|
1745
1770
|
}
|
|
1746
1771
|
|
|
1747
1772
|
dashboard_dashboard_filters(dashboard_id, fields, options) {
|
|
1748
|
-
var
|
|
1773
|
+
var _this180 = this;
|
|
1749
1774
|
|
|
1750
1775
|
return _asyncToGenerator(function* () {
|
|
1751
1776
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1752
|
-
return
|
|
1777
|
+
return _this180.get("/dashboards/".concat(dashboard_id, "/dashboard_filters"), {
|
|
1753
1778
|
fields
|
|
1754
1779
|
}, null, options);
|
|
1755
1780
|
})();
|
|
1756
1781
|
}
|
|
1757
1782
|
|
|
1758
1783
|
create_dashboard_filter(body, fields, options) {
|
|
1759
|
-
var
|
|
1784
|
+
var _this181 = this;
|
|
1760
1785
|
|
|
1761
1786
|
return _asyncToGenerator(function* () {
|
|
1762
|
-
return
|
|
1787
|
+
return _this181.post('/dashboard_filters', {
|
|
1763
1788
|
fields
|
|
1764
1789
|
}, body, options);
|
|
1765
1790
|
})();
|
|
1766
1791
|
}
|
|
1767
1792
|
|
|
1768
1793
|
dashboard_layout_component(dashboard_layout_component_id, fields, options) {
|
|
1769
|
-
var
|
|
1794
|
+
var _this182 = this;
|
|
1770
1795
|
|
|
1771
1796
|
return _asyncToGenerator(function* () {
|
|
1772
1797
|
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1773
|
-
return
|
|
1798
|
+
return _this182.get("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1774
1799
|
fields
|
|
1775
1800
|
}, null, options);
|
|
1776
1801
|
})();
|
|
1777
1802
|
}
|
|
1778
1803
|
|
|
1779
1804
|
update_dashboard_layout_component(dashboard_layout_component_id, body, fields, options) {
|
|
1780
|
-
var
|
|
1805
|
+
var _this183 = this;
|
|
1781
1806
|
|
|
1782
1807
|
return _asyncToGenerator(function* () {
|
|
1783
1808
|
dashboard_layout_component_id = (0, _sdkRtl.encodeParam)(dashboard_layout_component_id);
|
|
1784
|
-
return
|
|
1809
|
+
return _this183.patch("/dashboard_layout_components/".concat(dashboard_layout_component_id), {
|
|
1785
1810
|
fields
|
|
1786
1811
|
}, body, options);
|
|
1787
1812
|
})();
|
|
1788
1813
|
}
|
|
1789
1814
|
|
|
1790
1815
|
dashboard_layout_dashboard_layout_components(dashboard_layout_id, fields, options) {
|
|
1791
|
-
var
|
|
1816
|
+
var _this184 = this;
|
|
1792
1817
|
|
|
1793
1818
|
return _asyncToGenerator(function* () {
|
|
1794
1819
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1795
|
-
return
|
|
1820
|
+
return _this184.get("/dashboard_layouts/".concat(dashboard_layout_id, "/dashboard_layout_components"), {
|
|
1796
1821
|
fields
|
|
1797
1822
|
}, null, options);
|
|
1798
1823
|
})();
|
|
1799
1824
|
}
|
|
1800
1825
|
|
|
1801
1826
|
dashboard_layout(dashboard_layout_id, fields, options) {
|
|
1802
|
-
var
|
|
1827
|
+
var _this185 = this;
|
|
1803
1828
|
|
|
1804
1829
|
return _asyncToGenerator(function* () {
|
|
1805
1830
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1806
|
-
return
|
|
1831
|
+
return _this185.get("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1807
1832
|
fields
|
|
1808
1833
|
}, null, options);
|
|
1809
1834
|
})();
|
|
1810
1835
|
}
|
|
1811
1836
|
|
|
1812
1837
|
update_dashboard_layout(dashboard_layout_id, body, fields, options) {
|
|
1813
|
-
var
|
|
1838
|
+
var _this186 = this;
|
|
1814
1839
|
|
|
1815
1840
|
return _asyncToGenerator(function* () {
|
|
1816
1841
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1817
|
-
return
|
|
1842
|
+
return _this186.patch("/dashboard_layouts/".concat(dashboard_layout_id), {
|
|
1818
1843
|
fields
|
|
1819
1844
|
}, body, options);
|
|
1820
1845
|
})();
|
|
1821
1846
|
}
|
|
1822
1847
|
|
|
1823
1848
|
delete_dashboard_layout(dashboard_layout_id, options) {
|
|
1824
|
-
var
|
|
1849
|
+
var _this187 = this;
|
|
1825
1850
|
|
|
1826
1851
|
return _asyncToGenerator(function* () {
|
|
1827
1852
|
dashboard_layout_id = (0, _sdkRtl.encodeParam)(dashboard_layout_id);
|
|
1828
|
-
return
|
|
1853
|
+
return _this187.delete("/dashboard_layouts/".concat(dashboard_layout_id), null, null, options);
|
|
1829
1854
|
})();
|
|
1830
1855
|
}
|
|
1831
1856
|
|
|
1832
1857
|
dashboard_dashboard_layouts(dashboard_id, fields, options) {
|
|
1833
|
-
var
|
|
1858
|
+
var _this188 = this;
|
|
1834
1859
|
|
|
1835
1860
|
return _asyncToGenerator(function* () {
|
|
1836
1861
|
dashboard_id = (0, _sdkRtl.encodeParam)(dashboard_id);
|
|
1837
|
-
return
|
|
1862
|
+
return _this188.get("/dashboards/".concat(dashboard_id, "/dashboard_layouts"), {
|
|
1838
1863
|
fields
|
|
1839
1864
|
}, null, options);
|
|
1840
1865
|
})();
|
|
1841
1866
|
}
|
|
1842
1867
|
|
|
1843
1868
|
create_dashboard_layout(body, fields, options) {
|
|
1844
|
-
var
|
|
1869
|
+
var _this189 = this;
|
|
1845
1870
|
|
|
1846
1871
|
return _asyncToGenerator(function* () {
|
|
1847
|
-
return
|
|
1872
|
+
return _this189.post('/dashboard_layouts', {
|
|
1848
1873
|
fields
|
|
1849
1874
|
}, body, options);
|
|
1850
1875
|
})();
|
|
1851
1876
|
}
|
|
1852
1877
|
|
|
1853
1878
|
perform_data_action(body, options) {
|
|
1854
|
-
var
|
|
1879
|
+
var _this190 = this;
|
|
1855
1880
|
|
|
1856
1881
|
return _asyncToGenerator(function* () {
|
|
1857
|
-
return
|
|
1882
|
+
return _this190.post('/data_actions', null, body, options);
|
|
1858
1883
|
})();
|
|
1859
1884
|
}
|
|
1860
1885
|
|
|
1861
1886
|
fetch_remote_data_action_form(body, options) {
|
|
1862
|
-
var
|
|
1887
|
+
var _this191 = this;
|
|
1863
1888
|
|
|
1864
1889
|
return _asyncToGenerator(function* () {
|
|
1865
|
-
return
|
|
1890
|
+
return _this191.post('/data_actions/form', null, body, options);
|
|
1866
1891
|
})();
|
|
1867
1892
|
}
|
|
1868
1893
|
|
|
1869
1894
|
all_datagroups(options) {
|
|
1870
|
-
var
|
|
1895
|
+
var _this192 = this;
|
|
1871
1896
|
|
|
1872
1897
|
return _asyncToGenerator(function* () {
|
|
1873
|
-
return
|
|
1898
|
+
return _this192.get('/datagroups', null, null, options);
|
|
1874
1899
|
})();
|
|
1875
1900
|
}
|
|
1876
1901
|
|
|
1877
1902
|
datagroup(datagroup_id, options) {
|
|
1878
|
-
var
|
|
1903
|
+
var _this193 = this;
|
|
1879
1904
|
|
|
1880
1905
|
return _asyncToGenerator(function* () {
|
|
1881
1906
|
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1882
|
-
return
|
|
1907
|
+
return _this193.get("/datagroups/".concat(datagroup_id), null, null, options);
|
|
1883
1908
|
})();
|
|
1884
1909
|
}
|
|
1885
1910
|
|
|
1886
1911
|
update_datagroup(datagroup_id, body, options) {
|
|
1887
|
-
var
|
|
1912
|
+
var _this194 = this;
|
|
1888
1913
|
|
|
1889
1914
|
return _asyncToGenerator(function* () {
|
|
1890
1915
|
datagroup_id = (0, _sdkRtl.encodeParam)(datagroup_id);
|
|
1891
|
-
return
|
|
1916
|
+
return _this194.patch("/datagroups/".concat(datagroup_id), null, body, options);
|
|
1892
1917
|
})();
|
|
1893
1918
|
}
|
|
1894
1919
|
|
|
1895
1920
|
graph_derived_tables_for_model(request, options) {
|
|
1896
|
-
var
|
|
1921
|
+
var _this195 = this;
|
|
1897
1922
|
|
|
1898
1923
|
return _asyncToGenerator(function* () {
|
|
1899
1924
|
request.model = (0, _sdkRtl.encodeParam)(request.model);
|
|
1900
|
-
return
|
|
1925
|
+
return _this195.get("/derived_table/graph/model/".concat(request.model), {
|
|
1901
1926
|
format: request.format,
|
|
1902
1927
|
color: request.color
|
|
1903
1928
|
}, null, options);
|
|
@@ -1905,11 +1930,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1905
1930
|
}
|
|
1906
1931
|
|
|
1907
1932
|
graph_derived_tables_for_view(request, options) {
|
|
1908
|
-
var
|
|
1933
|
+
var _this196 = this;
|
|
1909
1934
|
|
|
1910
1935
|
return _asyncToGenerator(function* () {
|
|
1911
1936
|
request.view = (0, _sdkRtl.encodeParam)(request.view);
|
|
1912
|
-
return
|
|
1937
|
+
return _this196.get("/derived_table/graph/view/".concat(request.view), {
|
|
1913
1938
|
models: request.models,
|
|
1914
1939
|
workspace: request.workspace
|
|
1915
1940
|
}, null, options);
|
|
@@ -1917,12 +1942,12 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1917
1942
|
}
|
|
1918
1943
|
|
|
1919
1944
|
start_pdt_build(request, options) {
|
|
1920
|
-
var
|
|
1945
|
+
var _this197 = this;
|
|
1921
1946
|
|
|
1922
1947
|
return _asyncToGenerator(function* () {
|
|
1923
1948
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
1924
1949
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
1925
|
-
return
|
|
1950
|
+
return _this197.get("/derived_table/".concat(request.model_name, "/").concat(request.view_name, "/start"), {
|
|
1926
1951
|
force_rebuild: request.force_rebuild,
|
|
1927
1952
|
force_full_incremental: request.force_full_incremental,
|
|
1928
1953
|
workspace: request.workspace,
|
|
@@ -1932,30 +1957,30 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1932
1957
|
}
|
|
1933
1958
|
|
|
1934
1959
|
check_pdt_build(materialization_id, options) {
|
|
1935
|
-
var
|
|
1960
|
+
var _this198 = this;
|
|
1936
1961
|
|
|
1937
1962
|
return _asyncToGenerator(function* () {
|
|
1938
1963
|
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1939
|
-
return
|
|
1964
|
+
return _this198.get("/derived_table/".concat(materialization_id, "/status"), null, null, options);
|
|
1940
1965
|
})();
|
|
1941
1966
|
}
|
|
1942
1967
|
|
|
1943
1968
|
stop_pdt_build(materialization_id, source, options) {
|
|
1944
|
-
var
|
|
1969
|
+
var _this199 = this;
|
|
1945
1970
|
|
|
1946
1971
|
return _asyncToGenerator(function* () {
|
|
1947
1972
|
materialization_id = (0, _sdkRtl.encodeParam)(materialization_id);
|
|
1948
|
-
return
|
|
1973
|
+
return _this199.get("/derived_table/".concat(materialization_id, "/stop"), {
|
|
1949
1974
|
source
|
|
1950
1975
|
}, null, options);
|
|
1951
1976
|
})();
|
|
1952
1977
|
}
|
|
1953
1978
|
|
|
1954
1979
|
search_folders(request, options) {
|
|
1955
|
-
var
|
|
1980
|
+
var _this200 = this;
|
|
1956
1981
|
|
|
1957
1982
|
return _asyncToGenerator(function* () {
|
|
1958
|
-
return
|
|
1983
|
+
return _this200.get('/folders/search', {
|
|
1959
1984
|
fields: request.fields,
|
|
1960
1985
|
page: request.page,
|
|
1961
1986
|
per_page: request.per_page,
|
|
@@ -1973,58 +1998,58 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
1973
1998
|
}
|
|
1974
1999
|
|
|
1975
2000
|
folder(folder_id, fields, options) {
|
|
1976
|
-
var
|
|
2001
|
+
var _this201 = this;
|
|
1977
2002
|
|
|
1978
2003
|
return _asyncToGenerator(function* () {
|
|
1979
2004
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1980
|
-
return
|
|
2005
|
+
return _this201.get("/folders/".concat(folder_id), {
|
|
1981
2006
|
fields
|
|
1982
2007
|
}, null, options);
|
|
1983
2008
|
})();
|
|
1984
2009
|
}
|
|
1985
2010
|
|
|
1986
2011
|
update_folder(folder_id, body, options) {
|
|
1987
|
-
var
|
|
2012
|
+
var _this202 = this;
|
|
1988
2013
|
|
|
1989
2014
|
return _asyncToGenerator(function* () {
|
|
1990
2015
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
1991
|
-
return
|
|
2016
|
+
return _this202.patch("/folders/".concat(folder_id), null, body, options);
|
|
1992
2017
|
})();
|
|
1993
2018
|
}
|
|
1994
2019
|
|
|
1995
2020
|
delete_folder(folder_id, options) {
|
|
1996
|
-
var
|
|
2021
|
+
var _this203 = this;
|
|
1997
2022
|
|
|
1998
2023
|
return _asyncToGenerator(function* () {
|
|
1999
2024
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
2000
|
-
return
|
|
2025
|
+
return _this203.delete("/folders/".concat(folder_id), null, null, options);
|
|
2001
2026
|
})();
|
|
2002
2027
|
}
|
|
2003
2028
|
|
|
2004
2029
|
all_folders(fields, options) {
|
|
2005
|
-
var
|
|
2030
|
+
var _this204 = this;
|
|
2006
2031
|
|
|
2007
2032
|
return _asyncToGenerator(function* () {
|
|
2008
|
-
return
|
|
2033
|
+
return _this204.get('/folders', {
|
|
2009
2034
|
fields
|
|
2010
2035
|
}, null, options);
|
|
2011
2036
|
})();
|
|
2012
2037
|
}
|
|
2013
2038
|
|
|
2014
2039
|
create_folder(body, options) {
|
|
2015
|
-
var
|
|
2040
|
+
var _this205 = this;
|
|
2016
2041
|
|
|
2017
2042
|
return _asyncToGenerator(function* () {
|
|
2018
|
-
return
|
|
2043
|
+
return _this205.post('/folders', null, body, options);
|
|
2019
2044
|
})();
|
|
2020
2045
|
}
|
|
2021
2046
|
|
|
2022
2047
|
folder_children(request, options) {
|
|
2023
|
-
var
|
|
2048
|
+
var _this206 = this;
|
|
2024
2049
|
|
|
2025
2050
|
return _asyncToGenerator(function* () {
|
|
2026
2051
|
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
2027
|
-
return
|
|
2052
|
+
return _this206.get("/folders/".concat(request.folder_id, "/children"), {
|
|
2028
2053
|
fields: request.fields,
|
|
2029
2054
|
page: request.page,
|
|
2030
2055
|
per_page: request.per_page,
|
|
@@ -2036,11 +2061,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2036
2061
|
}
|
|
2037
2062
|
|
|
2038
2063
|
folder_children_search(request, options) {
|
|
2039
|
-
var
|
|
2064
|
+
var _this207 = this;
|
|
2040
2065
|
|
|
2041
2066
|
return _asyncToGenerator(function* () {
|
|
2042
2067
|
request.folder_id = (0, _sdkRtl.encodeParam)(request.folder_id);
|
|
2043
|
-
return
|
|
2068
|
+
return _this207.get("/folders/".concat(request.folder_id, "/children/search"), {
|
|
2044
2069
|
fields: request.fields,
|
|
2045
2070
|
sorts: request.sorts,
|
|
2046
2071
|
name: request.name
|
|
@@ -2049,54 +2074,54 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2049
2074
|
}
|
|
2050
2075
|
|
|
2051
2076
|
folder_parent(folder_id, fields, options) {
|
|
2052
|
-
var
|
|
2077
|
+
var _this208 = this;
|
|
2053
2078
|
|
|
2054
2079
|
return _asyncToGenerator(function* () {
|
|
2055
2080
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
2056
|
-
return
|
|
2081
|
+
return _this208.get("/folders/".concat(folder_id, "/parent"), {
|
|
2057
2082
|
fields
|
|
2058
2083
|
}, null, options);
|
|
2059
2084
|
})();
|
|
2060
2085
|
}
|
|
2061
2086
|
|
|
2062
2087
|
folder_ancestors(folder_id, fields, options) {
|
|
2063
|
-
var
|
|
2088
|
+
var _this209 = this;
|
|
2064
2089
|
|
|
2065
2090
|
return _asyncToGenerator(function* () {
|
|
2066
2091
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
2067
|
-
return
|
|
2092
|
+
return _this209.get("/folders/".concat(folder_id, "/ancestors"), {
|
|
2068
2093
|
fields
|
|
2069
2094
|
}, null, options);
|
|
2070
2095
|
})();
|
|
2071
2096
|
}
|
|
2072
2097
|
|
|
2073
2098
|
folder_looks(folder_id, fields, options) {
|
|
2074
|
-
var
|
|
2099
|
+
var _this210 = this;
|
|
2075
2100
|
|
|
2076
2101
|
return _asyncToGenerator(function* () {
|
|
2077
2102
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
2078
|
-
return
|
|
2103
|
+
return _this210.get("/folders/".concat(folder_id, "/looks"), {
|
|
2079
2104
|
fields
|
|
2080
2105
|
}, null, options);
|
|
2081
2106
|
})();
|
|
2082
2107
|
}
|
|
2083
2108
|
|
|
2084
2109
|
folder_dashboards(folder_id, fields, options) {
|
|
2085
|
-
var
|
|
2110
|
+
var _this211 = this;
|
|
2086
2111
|
|
|
2087
2112
|
return _asyncToGenerator(function* () {
|
|
2088
2113
|
folder_id = (0, _sdkRtl.encodeParam)(folder_id);
|
|
2089
|
-
return
|
|
2114
|
+
return _this211.get("/folders/".concat(folder_id, "/dashboards"), {
|
|
2090
2115
|
fields
|
|
2091
2116
|
}, null, options);
|
|
2092
2117
|
})();
|
|
2093
2118
|
}
|
|
2094
2119
|
|
|
2095
2120
|
all_groups(request, options) {
|
|
2096
|
-
var
|
|
2121
|
+
var _this212 = this;
|
|
2097
2122
|
|
|
2098
2123
|
return _asyncToGenerator(function* () {
|
|
2099
|
-
return
|
|
2124
|
+
return _this212.get('/groups', {
|
|
2100
2125
|
fields: request.fields,
|
|
2101
2126
|
page: request.page,
|
|
2102
2127
|
per_page: request.per_page,
|
|
@@ -2111,20 +2136,20 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2111
2136
|
}
|
|
2112
2137
|
|
|
2113
2138
|
create_group(body, fields, options) {
|
|
2114
|
-
var
|
|
2139
|
+
var _this213 = this;
|
|
2115
2140
|
|
|
2116
2141
|
return _asyncToGenerator(function* () {
|
|
2117
|
-
return
|
|
2142
|
+
return _this213.post('/groups', {
|
|
2118
2143
|
fields
|
|
2119
2144
|
}, body, options);
|
|
2120
2145
|
})();
|
|
2121
2146
|
}
|
|
2122
2147
|
|
|
2123
2148
|
search_groups(request, options) {
|
|
2124
|
-
var
|
|
2149
|
+
var _this214 = this;
|
|
2125
2150
|
|
|
2126
2151
|
return _asyncToGenerator(function* () {
|
|
2127
|
-
return
|
|
2152
|
+
return _this214.get('/groups/search', {
|
|
2128
2153
|
fields: request.fields,
|
|
2129
2154
|
limit: request.limit,
|
|
2130
2155
|
offset: request.offset,
|
|
@@ -2140,10 +2165,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2140
2165
|
}
|
|
2141
2166
|
|
|
2142
2167
|
search_groups_with_roles(request, options) {
|
|
2143
|
-
var
|
|
2168
|
+
var _this215 = this;
|
|
2144
2169
|
|
|
2145
2170
|
return _asyncToGenerator(function* () {
|
|
2146
|
-
return
|
|
2171
|
+
return _this215.get('/groups/search/with_roles', {
|
|
2147
2172
|
fields: request.fields,
|
|
2148
2173
|
limit: request.limit,
|
|
2149
2174
|
offset: request.offset,
|
|
@@ -2159,10 +2184,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2159
2184
|
}
|
|
2160
2185
|
|
|
2161
2186
|
search_groups_with_hierarchy(request, options) {
|
|
2162
|
-
var
|
|
2187
|
+
var _this216 = this;
|
|
2163
2188
|
|
|
2164
2189
|
return _asyncToGenerator(function* () {
|
|
2165
|
-
return
|
|
2190
|
+
return _this216.get('/groups/search/with_hierarchy', {
|
|
2166
2191
|
fields: request.fields,
|
|
2167
2192
|
limit: request.limit,
|
|
2168
2193
|
offset: request.offset,
|
|
@@ -2178,62 +2203,62 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2178
2203
|
}
|
|
2179
2204
|
|
|
2180
2205
|
group(group_id, fields, options) {
|
|
2181
|
-
var
|
|
2206
|
+
var _this217 = this;
|
|
2182
2207
|
|
|
2183
2208
|
return _asyncToGenerator(function* () {
|
|
2184
2209
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2185
|
-
return
|
|
2210
|
+
return _this217.get("/groups/".concat(group_id), {
|
|
2186
2211
|
fields
|
|
2187
2212
|
}, null, options);
|
|
2188
2213
|
})();
|
|
2189
2214
|
}
|
|
2190
2215
|
|
|
2191
2216
|
update_group(group_id, body, fields, options) {
|
|
2192
|
-
var
|
|
2217
|
+
var _this218 = this;
|
|
2193
2218
|
|
|
2194
2219
|
return _asyncToGenerator(function* () {
|
|
2195
2220
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2196
|
-
return
|
|
2221
|
+
return _this218.patch("/groups/".concat(group_id), {
|
|
2197
2222
|
fields
|
|
2198
2223
|
}, body, options);
|
|
2199
2224
|
})();
|
|
2200
2225
|
}
|
|
2201
2226
|
|
|
2202
2227
|
delete_group(group_id, options) {
|
|
2203
|
-
var
|
|
2228
|
+
var _this219 = this;
|
|
2204
2229
|
|
|
2205
2230
|
return _asyncToGenerator(function* () {
|
|
2206
2231
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2207
|
-
return
|
|
2232
|
+
return _this219.delete("/groups/".concat(group_id), null, null, options);
|
|
2208
2233
|
})();
|
|
2209
2234
|
}
|
|
2210
2235
|
|
|
2211
2236
|
all_group_groups(group_id, fields, options) {
|
|
2212
|
-
var
|
|
2237
|
+
var _this220 = this;
|
|
2213
2238
|
|
|
2214
2239
|
return _asyncToGenerator(function* () {
|
|
2215
2240
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2216
|
-
return
|
|
2241
|
+
return _this220.get("/groups/".concat(group_id, "/groups"), {
|
|
2217
2242
|
fields
|
|
2218
2243
|
}, null, options);
|
|
2219
2244
|
})();
|
|
2220
2245
|
}
|
|
2221
2246
|
|
|
2222
2247
|
add_group_group(group_id, body, options) {
|
|
2223
|
-
var
|
|
2248
|
+
var _this221 = this;
|
|
2224
2249
|
|
|
2225
2250
|
return _asyncToGenerator(function* () {
|
|
2226
2251
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2227
|
-
return
|
|
2252
|
+
return _this221.post("/groups/".concat(group_id, "/groups"), null, body, options);
|
|
2228
2253
|
})();
|
|
2229
2254
|
}
|
|
2230
2255
|
|
|
2231
2256
|
all_group_users(request, options) {
|
|
2232
|
-
var
|
|
2257
|
+
var _this222 = this;
|
|
2233
2258
|
|
|
2234
2259
|
return _asyncToGenerator(function* () {
|
|
2235
2260
|
request.group_id = (0, _sdkRtl.encodeParam)(request.group_id);
|
|
2236
|
-
return
|
|
2261
|
+
return _this222.get("/groups/".concat(request.group_id, "/users"), {
|
|
2237
2262
|
fields: request.fields,
|
|
2238
2263
|
page: request.page,
|
|
2239
2264
|
per_page: request.per_page,
|
|
@@ -2245,129 +2270,129 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2245
2270
|
}
|
|
2246
2271
|
|
|
2247
2272
|
add_group_user(group_id, body, options) {
|
|
2248
|
-
var
|
|
2273
|
+
var _this223 = this;
|
|
2249
2274
|
|
|
2250
2275
|
return _asyncToGenerator(function* () {
|
|
2251
2276
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2252
|
-
return
|
|
2277
|
+
return _this223.post("/groups/".concat(group_id, "/users"), null, body, options);
|
|
2253
2278
|
})();
|
|
2254
2279
|
}
|
|
2255
2280
|
|
|
2256
2281
|
delete_group_user(group_id, user_id, options) {
|
|
2257
|
-
var
|
|
2282
|
+
var _this224 = this;
|
|
2258
2283
|
|
|
2259
2284
|
return _asyncToGenerator(function* () {
|
|
2260
2285
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2261
2286
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
2262
|
-
return
|
|
2287
|
+
return _this224.delete("/groups/".concat(group_id, "/users/").concat(user_id), null, null, options);
|
|
2263
2288
|
})();
|
|
2264
2289
|
}
|
|
2265
2290
|
|
|
2266
2291
|
delete_group_from_group(group_id, deleting_group_id, options) {
|
|
2267
|
-
var
|
|
2292
|
+
var _this225 = this;
|
|
2268
2293
|
|
|
2269
2294
|
return _asyncToGenerator(function* () {
|
|
2270
2295
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2271
2296
|
deleting_group_id = (0, _sdkRtl.encodeParam)(deleting_group_id);
|
|
2272
|
-
return
|
|
2297
|
+
return _this225.delete("/groups/".concat(group_id, "/groups/").concat(deleting_group_id), null, null, options);
|
|
2273
2298
|
})();
|
|
2274
2299
|
}
|
|
2275
2300
|
|
|
2276
2301
|
update_user_attribute_group_value(group_id, user_attribute_id, body, options) {
|
|
2277
|
-
var
|
|
2302
|
+
var _this226 = this;
|
|
2278
2303
|
|
|
2279
2304
|
return _asyncToGenerator(function* () {
|
|
2280
2305
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2281
2306
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
2282
|
-
return
|
|
2307
|
+
return _this226.patch("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
2283
2308
|
})();
|
|
2284
2309
|
}
|
|
2285
2310
|
|
|
2286
2311
|
delete_user_attribute_group_value(group_id, user_attribute_id, options) {
|
|
2287
|
-
var
|
|
2312
|
+
var _this227 = this;
|
|
2288
2313
|
|
|
2289
2314
|
return _asyncToGenerator(function* () {
|
|
2290
2315
|
group_id = (0, _sdkRtl.encodeParam)(group_id);
|
|
2291
2316
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
2292
|
-
return
|
|
2317
|
+
return _this227.delete("/groups/".concat(group_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
2293
2318
|
})();
|
|
2294
2319
|
}
|
|
2295
2320
|
|
|
2296
2321
|
all_primary_homepage_sections(fields, options) {
|
|
2297
|
-
var
|
|
2322
|
+
var _this228 = this;
|
|
2298
2323
|
|
|
2299
2324
|
return _asyncToGenerator(function* () {
|
|
2300
|
-
return
|
|
2325
|
+
return _this228.get('/primary_homepage_sections', {
|
|
2301
2326
|
fields
|
|
2302
2327
|
}, null, options);
|
|
2303
2328
|
})();
|
|
2304
2329
|
}
|
|
2305
2330
|
|
|
2306
2331
|
all_integration_hubs(fields, options) {
|
|
2307
|
-
var
|
|
2332
|
+
var _this229 = this;
|
|
2308
2333
|
|
|
2309
2334
|
return _asyncToGenerator(function* () {
|
|
2310
|
-
return
|
|
2335
|
+
return _this229.get('/integration_hubs', {
|
|
2311
2336
|
fields
|
|
2312
2337
|
}, null, options);
|
|
2313
2338
|
})();
|
|
2314
2339
|
}
|
|
2315
2340
|
|
|
2316
2341
|
create_integration_hub(body, fields, options) {
|
|
2317
|
-
var
|
|
2342
|
+
var _this230 = this;
|
|
2318
2343
|
|
|
2319
2344
|
return _asyncToGenerator(function* () {
|
|
2320
|
-
return
|
|
2345
|
+
return _this230.post('/integration_hubs', {
|
|
2321
2346
|
fields
|
|
2322
2347
|
}, body, options);
|
|
2323
2348
|
})();
|
|
2324
2349
|
}
|
|
2325
2350
|
|
|
2326
2351
|
integration_hub(integration_hub_id, fields, options) {
|
|
2327
|
-
var
|
|
2352
|
+
var _this231 = this;
|
|
2328
2353
|
|
|
2329
2354
|
return _asyncToGenerator(function* () {
|
|
2330
2355
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2331
|
-
return
|
|
2356
|
+
return _this231.get("/integration_hubs/".concat(integration_hub_id), {
|
|
2332
2357
|
fields
|
|
2333
2358
|
}, null, options);
|
|
2334
2359
|
})();
|
|
2335
2360
|
}
|
|
2336
2361
|
|
|
2337
2362
|
update_integration_hub(integration_hub_id, body, fields, options) {
|
|
2338
|
-
var
|
|
2363
|
+
var _this232 = this;
|
|
2339
2364
|
|
|
2340
2365
|
return _asyncToGenerator(function* () {
|
|
2341
2366
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2342
|
-
return
|
|
2367
|
+
return _this232.patch("/integration_hubs/".concat(integration_hub_id), {
|
|
2343
2368
|
fields
|
|
2344
2369
|
}, body, options);
|
|
2345
2370
|
})();
|
|
2346
2371
|
}
|
|
2347
2372
|
|
|
2348
2373
|
delete_integration_hub(integration_hub_id, options) {
|
|
2349
|
-
var
|
|
2374
|
+
var _this233 = this;
|
|
2350
2375
|
|
|
2351
2376
|
return _asyncToGenerator(function* () {
|
|
2352
2377
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2353
|
-
return
|
|
2378
|
+
return _this233.delete("/integration_hubs/".concat(integration_hub_id), null, null, options);
|
|
2354
2379
|
})();
|
|
2355
2380
|
}
|
|
2356
2381
|
|
|
2357
2382
|
accept_integration_hub_legal_agreement(integration_hub_id, options) {
|
|
2358
|
-
var
|
|
2383
|
+
var _this234 = this;
|
|
2359
2384
|
|
|
2360
2385
|
return _asyncToGenerator(function* () {
|
|
2361
2386
|
integration_hub_id = (0, _sdkRtl.encodeParam)(integration_hub_id);
|
|
2362
|
-
return
|
|
2387
|
+
return _this234.post("/integration_hubs/".concat(integration_hub_id, "/accept_legal_agreement"), null, null, options);
|
|
2363
2388
|
})();
|
|
2364
2389
|
}
|
|
2365
2390
|
|
|
2366
2391
|
all_integrations(request, options) {
|
|
2367
|
-
var
|
|
2392
|
+
var _this235 = this;
|
|
2368
2393
|
|
|
2369
2394
|
return _asyncToGenerator(function* () {
|
|
2370
|
-
return
|
|
2395
|
+
return _this235.get('/integrations', {
|
|
2371
2396
|
fields: request.fields,
|
|
2372
2397
|
integration_hub_id: request.integration_hub_id
|
|
2373
2398
|
}, null, options);
|
|
@@ -2375,70 +2400,70 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2375
2400
|
}
|
|
2376
2401
|
|
|
2377
2402
|
integration(integration_id, fields, options) {
|
|
2378
|
-
var
|
|
2403
|
+
var _this236 = this;
|
|
2379
2404
|
|
|
2380
2405
|
return _asyncToGenerator(function* () {
|
|
2381
2406
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2382
|
-
return
|
|
2407
|
+
return _this236.get("/integrations/".concat(integration_id), {
|
|
2383
2408
|
fields
|
|
2384
2409
|
}, null, options);
|
|
2385
2410
|
})();
|
|
2386
2411
|
}
|
|
2387
2412
|
|
|
2388
2413
|
update_integration(integration_id, body, fields, options) {
|
|
2389
|
-
var
|
|
2414
|
+
var _this237 = this;
|
|
2390
2415
|
|
|
2391
2416
|
return _asyncToGenerator(function* () {
|
|
2392
2417
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2393
|
-
return
|
|
2418
|
+
return _this237.patch("/integrations/".concat(integration_id), {
|
|
2394
2419
|
fields
|
|
2395
2420
|
}, body, options);
|
|
2396
2421
|
})();
|
|
2397
2422
|
}
|
|
2398
2423
|
|
|
2399
2424
|
fetch_integration_form(integration_id, body, options) {
|
|
2400
|
-
var
|
|
2425
|
+
var _this238 = this;
|
|
2401
2426
|
|
|
2402
2427
|
return _asyncToGenerator(function* () {
|
|
2403
2428
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2404
|
-
return
|
|
2429
|
+
return _this238.post("/integrations/".concat(integration_id, "/form"), null, body, options);
|
|
2405
2430
|
})();
|
|
2406
2431
|
}
|
|
2407
2432
|
|
|
2408
2433
|
test_integration(integration_id, options) {
|
|
2409
|
-
var
|
|
2434
|
+
var _this239 = this;
|
|
2410
2435
|
|
|
2411
2436
|
return _asyncToGenerator(function* () {
|
|
2412
2437
|
integration_id = (0, _sdkRtl.encodeParam)(integration_id);
|
|
2413
|
-
return
|
|
2438
|
+
return _this239.post("/integrations/".concat(integration_id, "/test"), null, null, options);
|
|
2414
2439
|
})();
|
|
2415
2440
|
}
|
|
2416
2441
|
|
|
2417
2442
|
all_looks(fields, options) {
|
|
2418
|
-
var
|
|
2443
|
+
var _this240 = this;
|
|
2419
2444
|
|
|
2420
2445
|
return _asyncToGenerator(function* () {
|
|
2421
|
-
return
|
|
2446
|
+
return _this240.get('/looks', {
|
|
2422
2447
|
fields
|
|
2423
2448
|
}, null, options);
|
|
2424
2449
|
})();
|
|
2425
2450
|
}
|
|
2426
2451
|
|
|
2427
2452
|
create_look(body, fields, options) {
|
|
2428
|
-
var
|
|
2453
|
+
var _this241 = this;
|
|
2429
2454
|
|
|
2430
2455
|
return _asyncToGenerator(function* () {
|
|
2431
|
-
return
|
|
2456
|
+
return _this241.post('/looks', {
|
|
2432
2457
|
fields
|
|
2433
2458
|
}, body, options);
|
|
2434
2459
|
})();
|
|
2435
2460
|
}
|
|
2436
2461
|
|
|
2437
2462
|
search_looks(request, options) {
|
|
2438
|
-
var
|
|
2463
|
+
var _this242 = this;
|
|
2439
2464
|
|
|
2440
2465
|
return _asyncToGenerator(function* () {
|
|
2441
|
-
return
|
|
2466
|
+
return _this242.get('/looks/search', {
|
|
2442
2467
|
id: request.id,
|
|
2443
2468
|
title: request.title,
|
|
2444
2469
|
description: request.description,
|
|
@@ -2462,43 +2487,43 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2462
2487
|
}
|
|
2463
2488
|
|
|
2464
2489
|
look(look_id, fields, options) {
|
|
2465
|
-
var
|
|
2490
|
+
var _this243 = this;
|
|
2466
2491
|
|
|
2467
2492
|
return _asyncToGenerator(function* () {
|
|
2468
2493
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2469
|
-
return
|
|
2494
|
+
return _this243.get("/looks/".concat(look_id), {
|
|
2470
2495
|
fields
|
|
2471
2496
|
}, null, options);
|
|
2472
2497
|
})();
|
|
2473
2498
|
}
|
|
2474
2499
|
|
|
2475
2500
|
update_look(look_id, body, fields, options) {
|
|
2476
|
-
var
|
|
2501
|
+
var _this244 = this;
|
|
2477
2502
|
|
|
2478
2503
|
return _asyncToGenerator(function* () {
|
|
2479
2504
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2480
|
-
return
|
|
2505
|
+
return _this244.patch("/looks/".concat(look_id), {
|
|
2481
2506
|
fields
|
|
2482
2507
|
}, body, options);
|
|
2483
2508
|
})();
|
|
2484
2509
|
}
|
|
2485
2510
|
|
|
2486
2511
|
delete_look(look_id, options) {
|
|
2487
|
-
var
|
|
2512
|
+
var _this245 = this;
|
|
2488
2513
|
|
|
2489
2514
|
return _asyncToGenerator(function* () {
|
|
2490
2515
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2491
|
-
return
|
|
2516
|
+
return _this245.delete("/looks/".concat(look_id), null, null, options);
|
|
2492
2517
|
})();
|
|
2493
2518
|
}
|
|
2494
2519
|
|
|
2495
2520
|
run_look(request, options) {
|
|
2496
|
-
var
|
|
2521
|
+
var _this246 = this;
|
|
2497
2522
|
|
|
2498
2523
|
return _asyncToGenerator(function* () {
|
|
2499
2524
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
2500
2525
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
2501
|
-
return
|
|
2526
|
+
return _this246.get("/looks/".concat(request.look_id, "/run/").concat(request.result_format), {
|
|
2502
2527
|
limit: request.limit,
|
|
2503
2528
|
apply_formatting: request.apply_formatting,
|
|
2504
2529
|
apply_vis: request.apply_vis,
|
|
@@ -2516,32 +2541,32 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2516
2541
|
}
|
|
2517
2542
|
|
|
2518
2543
|
copy_look(look_id, folder_id, options) {
|
|
2519
|
-
var
|
|
2544
|
+
var _this247 = this;
|
|
2520
2545
|
|
|
2521
2546
|
return _asyncToGenerator(function* () {
|
|
2522
2547
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2523
|
-
return
|
|
2548
|
+
return _this247.post("/looks/".concat(look_id, "/copy"), {
|
|
2524
2549
|
folder_id
|
|
2525
2550
|
}, null, options);
|
|
2526
2551
|
})();
|
|
2527
2552
|
}
|
|
2528
2553
|
|
|
2529
2554
|
move_look(look_id, folder_id, options) {
|
|
2530
|
-
var
|
|
2555
|
+
var _this248 = this;
|
|
2531
2556
|
|
|
2532
2557
|
return _asyncToGenerator(function* () {
|
|
2533
2558
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
2534
|
-
return
|
|
2559
|
+
return _this248.patch("/looks/".concat(look_id, "/move"), {
|
|
2535
2560
|
folder_id
|
|
2536
2561
|
}, null, options);
|
|
2537
2562
|
})();
|
|
2538
2563
|
}
|
|
2539
2564
|
|
|
2540
2565
|
all_lookml_models(request, options) {
|
|
2541
|
-
var
|
|
2566
|
+
var _this249 = this;
|
|
2542
2567
|
|
|
2543
2568
|
return _asyncToGenerator(function* () {
|
|
2544
|
-
return
|
|
2569
|
+
return _this249.get('/lookml_models', {
|
|
2545
2570
|
fields: request.fields,
|
|
2546
2571
|
limit: request.limit,
|
|
2547
2572
|
offset: request.offset
|
|
@@ -2550,62 +2575,62 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2550
2575
|
}
|
|
2551
2576
|
|
|
2552
2577
|
create_lookml_model(body, options) {
|
|
2553
|
-
var
|
|
2578
|
+
var _this250 = this;
|
|
2554
2579
|
|
|
2555
2580
|
return _asyncToGenerator(function* () {
|
|
2556
|
-
return
|
|
2581
|
+
return _this250.post('/lookml_models', null, body, options);
|
|
2557
2582
|
})();
|
|
2558
2583
|
}
|
|
2559
2584
|
|
|
2560
2585
|
lookml_model(lookml_model_name, fields, options) {
|
|
2561
|
-
var
|
|
2586
|
+
var _this251 = this;
|
|
2562
2587
|
|
|
2563
2588
|
return _asyncToGenerator(function* () {
|
|
2564
2589
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2565
|
-
return
|
|
2590
|
+
return _this251.get("/lookml_models/".concat(lookml_model_name), {
|
|
2566
2591
|
fields
|
|
2567
2592
|
}, null, options);
|
|
2568
2593
|
})();
|
|
2569
2594
|
}
|
|
2570
2595
|
|
|
2571
2596
|
update_lookml_model(lookml_model_name, body, options) {
|
|
2572
|
-
var
|
|
2597
|
+
var _this252 = this;
|
|
2573
2598
|
|
|
2574
2599
|
return _asyncToGenerator(function* () {
|
|
2575
2600
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2576
|
-
return
|
|
2601
|
+
return _this252.patch("/lookml_models/".concat(lookml_model_name), null, body, options);
|
|
2577
2602
|
})();
|
|
2578
2603
|
}
|
|
2579
2604
|
|
|
2580
2605
|
delete_lookml_model(lookml_model_name, options) {
|
|
2581
|
-
var
|
|
2606
|
+
var _this253 = this;
|
|
2582
2607
|
|
|
2583
2608
|
return _asyncToGenerator(function* () {
|
|
2584
2609
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2585
|
-
return
|
|
2610
|
+
return _this253.delete("/lookml_models/".concat(lookml_model_name), null, null, options);
|
|
2586
2611
|
})();
|
|
2587
2612
|
}
|
|
2588
2613
|
|
|
2589
2614
|
lookml_model_explore(lookml_model_name, explore_name, fields, options) {
|
|
2590
|
-
var
|
|
2615
|
+
var _this254 = this;
|
|
2591
2616
|
|
|
2592
2617
|
return _asyncToGenerator(function* () {
|
|
2593
2618
|
lookml_model_name = (0, _sdkRtl.encodeParam)(lookml_model_name);
|
|
2594
2619
|
explore_name = (0, _sdkRtl.encodeParam)(explore_name);
|
|
2595
|
-
return
|
|
2620
|
+
return _this254.get("/lookml_models/".concat(lookml_model_name, "/explores/").concat(explore_name), {
|
|
2596
2621
|
fields
|
|
2597
2622
|
}, null, options);
|
|
2598
2623
|
})();
|
|
2599
2624
|
}
|
|
2600
2625
|
|
|
2601
2626
|
model_fieldname_suggestions(request, options) {
|
|
2602
|
-
var
|
|
2627
|
+
var _this255 = this;
|
|
2603
2628
|
|
|
2604
2629
|
return _asyncToGenerator(function* () {
|
|
2605
2630
|
request.model_name = (0, _sdkRtl.encodeParam)(request.model_name);
|
|
2606
2631
|
request.view_name = (0, _sdkRtl.encodeParam)(request.view_name);
|
|
2607
2632
|
request.field_name = (0, _sdkRtl.encodeParam)(request.field_name);
|
|
2608
|
-
return
|
|
2633
|
+
return _this255.get("/models/".concat(request.model_name, "/views/").concat(request.view_name, "/fields/").concat(request.field_name, "/suggestions"), {
|
|
2609
2634
|
term: request.term,
|
|
2610
2635
|
filters: request.filters
|
|
2611
2636
|
}, null, options);
|
|
@@ -2613,40 +2638,40 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2613
2638
|
}
|
|
2614
2639
|
|
|
2615
2640
|
get_model(model_name, options) {
|
|
2616
|
-
var
|
|
2641
|
+
var _this256 = this;
|
|
2617
2642
|
|
|
2618
2643
|
return _asyncToGenerator(function* () {
|
|
2619
2644
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
2620
|
-
return
|
|
2645
|
+
return _this256.get("/models/".concat(model_name), null, null, options);
|
|
2621
2646
|
})();
|
|
2622
2647
|
}
|
|
2623
2648
|
|
|
2624
2649
|
connection_databases(connection_name, options) {
|
|
2625
|
-
var
|
|
2650
|
+
var _this257 = this;
|
|
2626
2651
|
|
|
2627
2652
|
return _asyncToGenerator(function* () {
|
|
2628
2653
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2629
|
-
return
|
|
2654
|
+
return _this257.get("/connections/".concat(connection_name, "/databases"), null, null, options);
|
|
2630
2655
|
})();
|
|
2631
2656
|
}
|
|
2632
2657
|
|
|
2633
2658
|
connection_features(connection_name, fields, options) {
|
|
2634
|
-
var
|
|
2659
|
+
var _this258 = this;
|
|
2635
2660
|
|
|
2636
2661
|
return _asyncToGenerator(function* () {
|
|
2637
2662
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2638
|
-
return
|
|
2663
|
+
return _this258.get("/connections/".concat(connection_name, "/features"), {
|
|
2639
2664
|
fields
|
|
2640
2665
|
}, null, options);
|
|
2641
2666
|
})();
|
|
2642
2667
|
}
|
|
2643
2668
|
|
|
2644
2669
|
connection_schemas(request, options) {
|
|
2645
|
-
var
|
|
2670
|
+
var _this259 = this;
|
|
2646
2671
|
|
|
2647
2672
|
return _asyncToGenerator(function* () {
|
|
2648
2673
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2649
|
-
return
|
|
2674
|
+
return _this259.get("/connections/".concat(request.connection_name, "/schemas"), {
|
|
2650
2675
|
database: request.database,
|
|
2651
2676
|
cache: request.cache,
|
|
2652
2677
|
fields: request.fields
|
|
@@ -2655,11 +2680,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2655
2680
|
}
|
|
2656
2681
|
|
|
2657
2682
|
connection_tables(request, options) {
|
|
2658
|
-
var
|
|
2683
|
+
var _this260 = this;
|
|
2659
2684
|
|
|
2660
2685
|
return _asyncToGenerator(function* () {
|
|
2661
2686
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2662
|
-
return
|
|
2687
|
+
return _this260.get("/connections/".concat(request.connection_name, "/tables"), {
|
|
2663
2688
|
database: request.database,
|
|
2664
2689
|
schema_name: request.schema_name,
|
|
2665
2690
|
cache: request.cache,
|
|
@@ -2671,11 +2696,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2671
2696
|
}
|
|
2672
2697
|
|
|
2673
2698
|
connection_columns(request, options) {
|
|
2674
|
-
var
|
|
2699
|
+
var _this261 = this;
|
|
2675
2700
|
|
|
2676
2701
|
return _asyncToGenerator(function* () {
|
|
2677
2702
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2678
|
-
return
|
|
2703
|
+
return _this261.get("/connections/".concat(request.connection_name, "/columns"), {
|
|
2679
2704
|
database: request.database,
|
|
2680
2705
|
schema_name: request.schema_name,
|
|
2681
2706
|
cache: request.cache,
|
|
@@ -2687,11 +2712,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2687
2712
|
}
|
|
2688
2713
|
|
|
2689
2714
|
connection_search_columns(request, options) {
|
|
2690
|
-
var
|
|
2715
|
+
var _this262 = this;
|
|
2691
2716
|
|
|
2692
2717
|
return _asyncToGenerator(function* () {
|
|
2693
2718
|
request.connection_name = (0, _sdkRtl.encodeParam)(request.connection_name);
|
|
2694
|
-
return
|
|
2719
|
+
return _this262.get("/connections/".concat(request.connection_name, "/search_columns"), {
|
|
2695
2720
|
column_name: request.column_name,
|
|
2696
2721
|
fields: request.fields
|
|
2697
2722
|
}, null, options);
|
|
@@ -2699,89 +2724,89 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2699
2724
|
}
|
|
2700
2725
|
|
|
2701
2726
|
connection_cost_estimate(connection_name, body, fields, options) {
|
|
2702
|
-
var
|
|
2727
|
+
var _this263 = this;
|
|
2703
2728
|
|
|
2704
2729
|
return _asyncToGenerator(function* () {
|
|
2705
2730
|
connection_name = (0, _sdkRtl.encodeParam)(connection_name);
|
|
2706
|
-
return
|
|
2731
|
+
return _this263.post("/connections/".concat(connection_name, "/cost_estimate"), {
|
|
2707
2732
|
fields
|
|
2708
2733
|
}, body, options);
|
|
2709
2734
|
})();
|
|
2710
2735
|
}
|
|
2711
2736
|
|
|
2712
2737
|
lock_all(project_id, fields, options) {
|
|
2713
|
-
var
|
|
2738
|
+
var _this264 = this;
|
|
2714
2739
|
|
|
2715
2740
|
return _asyncToGenerator(function* () {
|
|
2716
2741
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2717
|
-
return
|
|
2742
|
+
return _this264.post("/projects/".concat(project_id, "/manifest/lock_all"), {
|
|
2718
2743
|
fields
|
|
2719
2744
|
}, null, options);
|
|
2720
2745
|
})();
|
|
2721
2746
|
}
|
|
2722
2747
|
|
|
2723
2748
|
all_git_branches(project_id, options) {
|
|
2724
|
-
var
|
|
2749
|
+
var _this265 = this;
|
|
2725
2750
|
|
|
2726
2751
|
return _asyncToGenerator(function* () {
|
|
2727
2752
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2728
|
-
return
|
|
2753
|
+
return _this265.get("/projects/".concat(project_id, "/git_branches"), null, null, options);
|
|
2729
2754
|
})();
|
|
2730
2755
|
}
|
|
2731
2756
|
|
|
2732
2757
|
git_branch(project_id, options) {
|
|
2733
|
-
var
|
|
2758
|
+
var _this266 = this;
|
|
2734
2759
|
|
|
2735
2760
|
return _asyncToGenerator(function* () {
|
|
2736
2761
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2737
|
-
return
|
|
2762
|
+
return _this266.get("/projects/".concat(project_id, "/git_branch"), null, null, options);
|
|
2738
2763
|
})();
|
|
2739
2764
|
}
|
|
2740
2765
|
|
|
2741
2766
|
update_git_branch(project_id, body, options) {
|
|
2742
|
-
var
|
|
2767
|
+
var _this267 = this;
|
|
2743
2768
|
|
|
2744
2769
|
return _asyncToGenerator(function* () {
|
|
2745
2770
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2746
|
-
return
|
|
2771
|
+
return _this267.put("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2747
2772
|
})();
|
|
2748
2773
|
}
|
|
2749
2774
|
|
|
2750
2775
|
create_git_branch(project_id, body, options) {
|
|
2751
|
-
var
|
|
2776
|
+
var _this268 = this;
|
|
2752
2777
|
|
|
2753
2778
|
return _asyncToGenerator(function* () {
|
|
2754
2779
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2755
|
-
return
|
|
2780
|
+
return _this268.post("/projects/".concat(project_id, "/git_branch"), null, body, options);
|
|
2756
2781
|
})();
|
|
2757
2782
|
}
|
|
2758
2783
|
|
|
2759
2784
|
find_git_branch(project_id, branch_name, options) {
|
|
2760
|
-
var
|
|
2785
|
+
var _this269 = this;
|
|
2761
2786
|
|
|
2762
2787
|
return _asyncToGenerator(function* () {
|
|
2763
2788
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2764
2789
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2765
|
-
return
|
|
2790
|
+
return _this269.get("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2766
2791
|
})();
|
|
2767
2792
|
}
|
|
2768
2793
|
|
|
2769
2794
|
delete_git_branch(project_id, branch_name, options) {
|
|
2770
|
-
var
|
|
2795
|
+
var _this270 = this;
|
|
2771
2796
|
|
|
2772
2797
|
return _asyncToGenerator(function* () {
|
|
2773
2798
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2774
2799
|
branch_name = (0, _sdkRtl.encodeParam)(branch_name);
|
|
2775
|
-
return
|
|
2800
|
+
return _this270.delete("/projects/".concat(project_id, "/git_branch/").concat(branch_name), null, null, options);
|
|
2776
2801
|
})();
|
|
2777
2802
|
}
|
|
2778
2803
|
|
|
2779
2804
|
deploy_ref_to_production(request, options) {
|
|
2780
|
-
var
|
|
2805
|
+
var _this271 = this;
|
|
2781
2806
|
|
|
2782
2807
|
return _asyncToGenerator(function* () {
|
|
2783
2808
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2784
|
-
return
|
|
2809
|
+
return _this271.post("/projects/".concat(request.project_id, "/deploy_ref_to_production"), {
|
|
2785
2810
|
branch: request.branch,
|
|
2786
2811
|
ref: request.ref
|
|
2787
2812
|
}, null, options);
|
|
@@ -2789,149 +2814,149 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2789
2814
|
}
|
|
2790
2815
|
|
|
2791
2816
|
deploy_to_production(project_id, options) {
|
|
2792
|
-
var
|
|
2817
|
+
var _this272 = this;
|
|
2793
2818
|
|
|
2794
2819
|
return _asyncToGenerator(function* () {
|
|
2795
2820
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2796
|
-
return
|
|
2821
|
+
return _this272.post("/projects/".concat(project_id, "/deploy_to_production"), null, null, options);
|
|
2797
2822
|
})();
|
|
2798
2823
|
}
|
|
2799
2824
|
|
|
2800
2825
|
reset_project_to_production(project_id, options) {
|
|
2801
|
-
var
|
|
2826
|
+
var _this273 = this;
|
|
2802
2827
|
|
|
2803
2828
|
return _asyncToGenerator(function* () {
|
|
2804
2829
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2805
|
-
return
|
|
2830
|
+
return _this273.post("/projects/".concat(project_id, "/reset_to_production"), null, null, options);
|
|
2806
2831
|
})();
|
|
2807
2832
|
}
|
|
2808
2833
|
|
|
2809
2834
|
reset_project_to_remote(project_id, options) {
|
|
2810
|
-
var
|
|
2835
|
+
var _this274 = this;
|
|
2811
2836
|
|
|
2812
2837
|
return _asyncToGenerator(function* () {
|
|
2813
2838
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2814
|
-
return
|
|
2839
|
+
return _this274.post("/projects/".concat(project_id, "/reset_to_remote"), null, null, options);
|
|
2815
2840
|
})();
|
|
2816
2841
|
}
|
|
2817
2842
|
|
|
2818
2843
|
all_projects(fields, options) {
|
|
2819
|
-
var
|
|
2844
|
+
var _this275 = this;
|
|
2820
2845
|
|
|
2821
2846
|
return _asyncToGenerator(function* () {
|
|
2822
|
-
return
|
|
2847
|
+
return _this275.get('/projects', {
|
|
2823
2848
|
fields
|
|
2824
2849
|
}, null, options);
|
|
2825
2850
|
})();
|
|
2826
2851
|
}
|
|
2827
2852
|
|
|
2828
2853
|
create_project(body, options) {
|
|
2829
|
-
var
|
|
2854
|
+
var _this276 = this;
|
|
2830
2855
|
|
|
2831
2856
|
return _asyncToGenerator(function* () {
|
|
2832
|
-
return
|
|
2857
|
+
return _this276.post('/projects', null, body, options);
|
|
2833
2858
|
})();
|
|
2834
2859
|
}
|
|
2835
2860
|
|
|
2836
2861
|
project(project_id, fields, options) {
|
|
2837
|
-
var
|
|
2862
|
+
var _this277 = this;
|
|
2838
2863
|
|
|
2839
2864
|
return _asyncToGenerator(function* () {
|
|
2840
2865
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2841
|
-
return
|
|
2866
|
+
return _this277.get("/projects/".concat(project_id), {
|
|
2842
2867
|
fields
|
|
2843
2868
|
}, null, options);
|
|
2844
2869
|
})();
|
|
2845
2870
|
}
|
|
2846
2871
|
|
|
2847
2872
|
update_project(project_id, body, fields, options) {
|
|
2848
|
-
var
|
|
2873
|
+
var _this278 = this;
|
|
2849
2874
|
|
|
2850
2875
|
return _asyncToGenerator(function* () {
|
|
2851
2876
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2852
|
-
return
|
|
2877
|
+
return _this278.patch("/projects/".concat(project_id), {
|
|
2853
2878
|
fields
|
|
2854
2879
|
}, body, options);
|
|
2855
2880
|
})();
|
|
2856
2881
|
}
|
|
2857
2882
|
|
|
2858
2883
|
manifest(project_id, options) {
|
|
2859
|
-
var
|
|
2884
|
+
var _this279 = this;
|
|
2860
2885
|
|
|
2861
2886
|
return _asyncToGenerator(function* () {
|
|
2862
2887
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2863
|
-
return
|
|
2888
|
+
return _this279.get("/projects/".concat(project_id, "/manifest"), null, null, options);
|
|
2864
2889
|
})();
|
|
2865
2890
|
}
|
|
2866
2891
|
|
|
2867
2892
|
git_deploy_key(project_id, options) {
|
|
2868
|
-
var
|
|
2893
|
+
var _this280 = this;
|
|
2869
2894
|
|
|
2870
2895
|
return _asyncToGenerator(function* () {
|
|
2871
2896
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2872
|
-
return
|
|
2897
|
+
return _this280.get("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2873
2898
|
})();
|
|
2874
2899
|
}
|
|
2875
2900
|
|
|
2876
2901
|
create_git_deploy_key(project_id, options) {
|
|
2877
|
-
var
|
|
2902
|
+
var _this281 = this;
|
|
2878
2903
|
|
|
2879
2904
|
return _asyncToGenerator(function* () {
|
|
2880
2905
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2881
|
-
return
|
|
2906
|
+
return _this281.post("/projects/".concat(project_id, "/git/deploy_key"), null, null, options);
|
|
2882
2907
|
})();
|
|
2883
2908
|
}
|
|
2884
2909
|
|
|
2885
2910
|
project_validation_results(project_id, fields, options) {
|
|
2886
|
-
var
|
|
2911
|
+
var _this282 = this;
|
|
2887
2912
|
|
|
2888
2913
|
return _asyncToGenerator(function* () {
|
|
2889
2914
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2890
|
-
return
|
|
2915
|
+
return _this282.get("/projects/".concat(project_id, "/validate"), {
|
|
2891
2916
|
fields
|
|
2892
2917
|
}, null, options);
|
|
2893
2918
|
})();
|
|
2894
2919
|
}
|
|
2895
2920
|
|
|
2896
2921
|
validate_project(project_id, fields, options) {
|
|
2897
|
-
var
|
|
2922
|
+
var _this283 = this;
|
|
2898
2923
|
|
|
2899
2924
|
return _asyncToGenerator(function* () {
|
|
2900
2925
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2901
|
-
return
|
|
2926
|
+
return _this283.post("/projects/".concat(project_id, "/validate"), {
|
|
2902
2927
|
fields
|
|
2903
2928
|
}, null, options);
|
|
2904
2929
|
})();
|
|
2905
2930
|
}
|
|
2906
2931
|
|
|
2907
2932
|
project_workspace(project_id, fields, options) {
|
|
2908
|
-
var
|
|
2933
|
+
var _this284 = this;
|
|
2909
2934
|
|
|
2910
2935
|
return _asyncToGenerator(function* () {
|
|
2911
2936
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2912
|
-
return
|
|
2937
|
+
return _this284.get("/projects/".concat(project_id, "/current_workspace"), {
|
|
2913
2938
|
fields
|
|
2914
2939
|
}, null, options);
|
|
2915
2940
|
})();
|
|
2916
2941
|
}
|
|
2917
2942
|
|
|
2918
2943
|
all_project_files(project_id, fields, options) {
|
|
2919
|
-
var
|
|
2944
|
+
var _this285 = this;
|
|
2920
2945
|
|
|
2921
2946
|
return _asyncToGenerator(function* () {
|
|
2922
2947
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2923
|
-
return
|
|
2948
|
+
return _this285.get("/projects/".concat(project_id, "/files"), {
|
|
2924
2949
|
fields
|
|
2925
2950
|
}, null, options);
|
|
2926
2951
|
})();
|
|
2927
2952
|
}
|
|
2928
2953
|
|
|
2929
2954
|
project_file(project_id, file_id, fields, options) {
|
|
2930
|
-
var
|
|
2955
|
+
var _this286 = this;
|
|
2931
2956
|
|
|
2932
2957
|
return _asyncToGenerator(function* () {
|
|
2933
2958
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2934
|
-
return
|
|
2959
|
+
return _this286.get("/projects/".concat(project_id, "/files/file"), {
|
|
2935
2960
|
file_id,
|
|
2936
2961
|
fields
|
|
2937
2962
|
}, null, options);
|
|
@@ -2939,23 +2964,23 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2939
2964
|
}
|
|
2940
2965
|
|
|
2941
2966
|
all_git_connection_tests(project_id, remote_url, options) {
|
|
2942
|
-
var
|
|
2967
|
+
var _this287 = this;
|
|
2943
2968
|
|
|
2944
2969
|
return _asyncToGenerator(function* () {
|
|
2945
2970
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2946
|
-
return
|
|
2971
|
+
return _this287.get("/projects/".concat(project_id, "/git_connection_tests"), {
|
|
2947
2972
|
remote_url
|
|
2948
2973
|
}, null, options);
|
|
2949
2974
|
})();
|
|
2950
2975
|
}
|
|
2951
2976
|
|
|
2952
2977
|
run_git_connection_test(request, options) {
|
|
2953
|
-
var
|
|
2978
|
+
var _this288 = this;
|
|
2954
2979
|
|
|
2955
2980
|
return _asyncToGenerator(function* () {
|
|
2956
2981
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2957
2982
|
request.test_id = (0, _sdkRtl.encodeParam)(request.test_id);
|
|
2958
|
-
return
|
|
2983
|
+
return _this288.get("/projects/".concat(request.project_id, "/git_connection_tests/").concat(request.test_id), {
|
|
2959
2984
|
remote_url: request.remote_url,
|
|
2960
2985
|
use_production: request.use_production
|
|
2961
2986
|
}, null, options);
|
|
@@ -2963,22 +2988,22 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2963
2988
|
}
|
|
2964
2989
|
|
|
2965
2990
|
all_lookml_tests(project_id, file_id, options) {
|
|
2966
|
-
var
|
|
2991
|
+
var _this289 = this;
|
|
2967
2992
|
|
|
2968
2993
|
return _asyncToGenerator(function* () {
|
|
2969
2994
|
project_id = (0, _sdkRtl.encodeParam)(project_id);
|
|
2970
|
-
return
|
|
2995
|
+
return _this289.get("/projects/".concat(project_id, "/lookml_tests"), {
|
|
2971
2996
|
file_id
|
|
2972
2997
|
}, null, options);
|
|
2973
2998
|
})();
|
|
2974
2999
|
}
|
|
2975
3000
|
|
|
2976
3001
|
run_lookml_test(request, options) {
|
|
2977
|
-
var
|
|
3002
|
+
var _this290 = this;
|
|
2978
3003
|
|
|
2979
3004
|
return _asyncToGenerator(function* () {
|
|
2980
3005
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2981
|
-
return
|
|
3006
|
+
return _this290.get("/projects/".concat(request.project_id, "/lookml_tests/run"), {
|
|
2982
3007
|
file_id: request.file_id,
|
|
2983
3008
|
test: request.test,
|
|
2984
3009
|
model: request.model
|
|
@@ -2987,11 +3012,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
2987
3012
|
}
|
|
2988
3013
|
|
|
2989
3014
|
tag_ref(request, options) {
|
|
2990
|
-
var
|
|
3015
|
+
var _this291 = this;
|
|
2991
3016
|
|
|
2992
3017
|
return _asyncToGenerator(function* () {
|
|
2993
3018
|
request.project_id = (0, _sdkRtl.encodeParam)(request.project_id);
|
|
2994
|
-
return
|
|
3019
|
+
return _this291.post("/projects/".concat(request.project_id, "/tag"), {
|
|
2995
3020
|
commit_sha: request.commit_sha,
|
|
2996
3021
|
tag_name: request.tag_name,
|
|
2997
3022
|
tag_message: request.tag_message
|
|
@@ -3000,39 +3025,39 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3000
3025
|
}
|
|
3001
3026
|
|
|
3002
3027
|
update_repository_credential(root_project_id, credential_id, body, options) {
|
|
3003
|
-
var
|
|
3028
|
+
var _this292 = this;
|
|
3004
3029
|
|
|
3005
3030
|
return _asyncToGenerator(function* () {
|
|
3006
3031
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
3007
3032
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3008
|
-
return
|
|
3033
|
+
return _this292.put("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, body, options);
|
|
3009
3034
|
})();
|
|
3010
3035
|
}
|
|
3011
3036
|
|
|
3012
3037
|
delete_repository_credential(root_project_id, credential_id, options) {
|
|
3013
|
-
var
|
|
3038
|
+
var _this293 = this;
|
|
3014
3039
|
|
|
3015
3040
|
return _asyncToGenerator(function* () {
|
|
3016
3041
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
3017
3042
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3018
|
-
return
|
|
3043
|
+
return _this293.delete("/projects/".concat(root_project_id, "/credential/").concat(credential_id), null, null, options);
|
|
3019
3044
|
})();
|
|
3020
3045
|
}
|
|
3021
3046
|
|
|
3022
3047
|
get_all_repository_credentials(root_project_id, options) {
|
|
3023
|
-
var
|
|
3048
|
+
var _this294 = this;
|
|
3024
3049
|
|
|
3025
3050
|
return _asyncToGenerator(function* () {
|
|
3026
3051
|
root_project_id = (0, _sdkRtl.encodeParam)(root_project_id);
|
|
3027
|
-
return
|
|
3052
|
+
return _this294.get("/projects/".concat(root_project_id, "/credentials"), null, null, options);
|
|
3028
3053
|
})();
|
|
3029
3054
|
}
|
|
3030
3055
|
|
|
3031
3056
|
create_query_task(request, options) {
|
|
3032
|
-
var
|
|
3057
|
+
var _this295 = this;
|
|
3033
3058
|
|
|
3034
3059
|
return _asyncToGenerator(function* () {
|
|
3035
|
-
return
|
|
3060
|
+
return _this295.post('/query_tasks', {
|
|
3036
3061
|
limit: request.limit,
|
|
3037
3062
|
apply_formatting: request.apply_formatting,
|
|
3038
3063
|
apply_vis: request.apply_vis,
|
|
@@ -3051,74 +3076,74 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3051
3076
|
}
|
|
3052
3077
|
|
|
3053
3078
|
query_task_multi_results(query_task_ids, options) {
|
|
3054
|
-
var
|
|
3079
|
+
var _this296 = this;
|
|
3055
3080
|
|
|
3056
3081
|
return _asyncToGenerator(function* () {
|
|
3057
|
-
return
|
|
3082
|
+
return _this296.get('/query_tasks/multi_results', {
|
|
3058
3083
|
query_task_ids
|
|
3059
3084
|
}, null, options);
|
|
3060
3085
|
})();
|
|
3061
3086
|
}
|
|
3062
3087
|
|
|
3063
3088
|
query_task(query_task_id, fields, options) {
|
|
3064
|
-
var
|
|
3089
|
+
var _this297 = this;
|
|
3065
3090
|
|
|
3066
3091
|
return _asyncToGenerator(function* () {
|
|
3067
3092
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
3068
|
-
return
|
|
3093
|
+
return _this297.get("/query_tasks/".concat(query_task_id), {
|
|
3069
3094
|
fields
|
|
3070
3095
|
}, null, options);
|
|
3071
3096
|
})();
|
|
3072
3097
|
}
|
|
3073
3098
|
|
|
3074
3099
|
query_task_results(query_task_id, options) {
|
|
3075
|
-
var
|
|
3100
|
+
var _this298 = this;
|
|
3076
3101
|
|
|
3077
3102
|
return _asyncToGenerator(function* () {
|
|
3078
3103
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
3079
|
-
return
|
|
3104
|
+
return _this298.get("/query_tasks/".concat(query_task_id, "/results"), null, null, options);
|
|
3080
3105
|
})();
|
|
3081
3106
|
}
|
|
3082
3107
|
|
|
3083
3108
|
query(query_id, fields, options) {
|
|
3084
|
-
var
|
|
3109
|
+
var _this299 = this;
|
|
3085
3110
|
|
|
3086
3111
|
return _asyncToGenerator(function* () {
|
|
3087
3112
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
3088
|
-
return
|
|
3113
|
+
return _this299.get("/queries/".concat(query_id), {
|
|
3089
3114
|
fields
|
|
3090
3115
|
}, null, options);
|
|
3091
3116
|
})();
|
|
3092
3117
|
}
|
|
3093
3118
|
|
|
3094
3119
|
query_for_slug(slug, fields, options) {
|
|
3095
|
-
var
|
|
3120
|
+
var _this300 = this;
|
|
3096
3121
|
|
|
3097
3122
|
return _asyncToGenerator(function* () {
|
|
3098
3123
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
3099
|
-
return
|
|
3124
|
+
return _this300.get("/queries/slug/".concat(slug), {
|
|
3100
3125
|
fields
|
|
3101
3126
|
}, null, options);
|
|
3102
3127
|
})();
|
|
3103
3128
|
}
|
|
3104
3129
|
|
|
3105
3130
|
create_query(body, fields, options) {
|
|
3106
|
-
var
|
|
3131
|
+
var _this301 = this;
|
|
3107
3132
|
|
|
3108
3133
|
return _asyncToGenerator(function* () {
|
|
3109
|
-
return
|
|
3134
|
+
return _this301.post('/queries', {
|
|
3110
3135
|
fields
|
|
3111
3136
|
}, body, options);
|
|
3112
3137
|
})();
|
|
3113
3138
|
}
|
|
3114
3139
|
|
|
3115
3140
|
run_query(request, options) {
|
|
3116
|
-
var
|
|
3141
|
+
var _this302 = this;
|
|
3117
3142
|
|
|
3118
3143
|
return _asyncToGenerator(function* () {
|
|
3119
3144
|
request.query_id = (0, _sdkRtl.encodeParam)(request.query_id);
|
|
3120
3145
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
3121
|
-
return
|
|
3146
|
+
return _this302.get("/queries/".concat(request.query_id, "/run/").concat(request.result_format), {
|
|
3122
3147
|
limit: request.limit,
|
|
3123
3148
|
apply_formatting: request.apply_formatting,
|
|
3124
3149
|
apply_vis: request.apply_vis,
|
|
@@ -3137,11 +3162,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3137
3162
|
}
|
|
3138
3163
|
|
|
3139
3164
|
run_inline_query(request, options) {
|
|
3140
|
-
var
|
|
3165
|
+
var _this303 = this;
|
|
3141
3166
|
|
|
3142
3167
|
return _asyncToGenerator(function* () {
|
|
3143
3168
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
3144
|
-
return
|
|
3169
|
+
return _this303.post("/queries/run/".concat(request.result_format), {
|
|
3145
3170
|
limit: request.limit,
|
|
3146
3171
|
apply_formatting: request.apply_formatting,
|
|
3147
3172
|
apply_vis: request.apply_vis,
|
|
@@ -3159,90 +3184,90 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3159
3184
|
}
|
|
3160
3185
|
|
|
3161
3186
|
run_url_encoded_query(model_name, view_name, result_format, options) {
|
|
3162
|
-
var
|
|
3187
|
+
var _this304 = this;
|
|
3163
3188
|
|
|
3164
3189
|
return _asyncToGenerator(function* () {
|
|
3165
3190
|
model_name = (0, _sdkRtl.encodeParam)(model_name);
|
|
3166
3191
|
view_name = (0, _sdkRtl.encodeParam)(view_name);
|
|
3167
3192
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3168
|
-
return
|
|
3193
|
+
return _this304.get("/queries/models/".concat(model_name, "/views/").concat(view_name, "/run/").concat(result_format), null, null, options);
|
|
3169
3194
|
})();
|
|
3170
3195
|
}
|
|
3171
3196
|
|
|
3172
3197
|
merge_query(merge_query_id, fields, options) {
|
|
3173
|
-
var
|
|
3198
|
+
var _this305 = this;
|
|
3174
3199
|
|
|
3175
3200
|
return _asyncToGenerator(function* () {
|
|
3176
3201
|
merge_query_id = (0, _sdkRtl.encodeParam)(merge_query_id);
|
|
3177
|
-
return
|
|
3202
|
+
return _this305.get("/merge_queries/".concat(merge_query_id), {
|
|
3178
3203
|
fields
|
|
3179
3204
|
}, null, options);
|
|
3180
3205
|
})();
|
|
3181
3206
|
}
|
|
3182
3207
|
|
|
3183
3208
|
create_merge_query(body, fields, options) {
|
|
3184
|
-
var
|
|
3209
|
+
var _this306 = this;
|
|
3185
3210
|
|
|
3186
3211
|
return _asyncToGenerator(function* () {
|
|
3187
|
-
return
|
|
3212
|
+
return _this306.post('/merge_queries', {
|
|
3188
3213
|
fields
|
|
3189
3214
|
}, body, options);
|
|
3190
3215
|
})();
|
|
3191
3216
|
}
|
|
3192
3217
|
|
|
3193
3218
|
all_running_queries(options) {
|
|
3194
|
-
var
|
|
3219
|
+
var _this307 = this;
|
|
3195
3220
|
|
|
3196
3221
|
return _asyncToGenerator(function* () {
|
|
3197
|
-
return
|
|
3222
|
+
return _this307.get('/running_queries', null, null, options);
|
|
3198
3223
|
})();
|
|
3199
3224
|
}
|
|
3200
3225
|
|
|
3201
3226
|
kill_query(query_task_id, options) {
|
|
3202
|
-
var
|
|
3227
|
+
var _this308 = this;
|
|
3203
3228
|
|
|
3204
3229
|
return _asyncToGenerator(function* () {
|
|
3205
3230
|
query_task_id = (0, _sdkRtl.encodeParam)(query_task_id);
|
|
3206
|
-
return
|
|
3231
|
+
return _this308.delete("/running_queries/".concat(query_task_id), null, null, options);
|
|
3207
3232
|
})();
|
|
3208
3233
|
}
|
|
3209
3234
|
|
|
3210
3235
|
sql_query(slug, options) {
|
|
3211
|
-
var
|
|
3236
|
+
var _this309 = this;
|
|
3212
3237
|
|
|
3213
3238
|
return _asyncToGenerator(function* () {
|
|
3214
3239
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
3215
|
-
return
|
|
3240
|
+
return _this309.get("/sql_queries/".concat(slug), null, null, options);
|
|
3216
3241
|
})();
|
|
3217
3242
|
}
|
|
3218
3243
|
|
|
3219
3244
|
create_sql_query(body, options) {
|
|
3220
|
-
var
|
|
3245
|
+
var _this310 = this;
|
|
3221
3246
|
|
|
3222
3247
|
return _asyncToGenerator(function* () {
|
|
3223
|
-
return
|
|
3248
|
+
return _this310.post('/sql_queries', null, body, options);
|
|
3224
3249
|
})();
|
|
3225
3250
|
}
|
|
3226
3251
|
|
|
3227
3252
|
run_sql_query(slug, result_format, download, options) {
|
|
3228
|
-
var
|
|
3253
|
+
var _this311 = this;
|
|
3229
3254
|
|
|
3230
3255
|
return _asyncToGenerator(function* () {
|
|
3231
3256
|
slug = (0, _sdkRtl.encodeParam)(slug);
|
|
3232
3257
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3233
|
-
return
|
|
3258
|
+
return _this311.post("/sql_queries/".concat(slug, "/run/").concat(result_format), {
|
|
3234
3259
|
download
|
|
3235
3260
|
}, null, options);
|
|
3236
3261
|
})();
|
|
3237
3262
|
}
|
|
3238
3263
|
|
|
3239
3264
|
create_look_render_task(look_id, result_format, width, height, fields, options) {
|
|
3240
|
-
var
|
|
3265
|
+
var _this312 = this;
|
|
3241
3266
|
|
|
3242
3267
|
return _asyncToGenerator(function* () {
|
|
3243
3268
|
look_id = (0, _sdkRtl.encodeParam)(look_id);
|
|
3244
3269
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3245
|
-
return
|
|
3270
|
+
return _this312.post("/render_tasks/looks/".concat(look_id, "/").concat(result_format), {
|
|
3246
3271
|
width,
|
|
3247
3272
|
height,
|
|
3248
3273
|
fields
|
|
@@ -3251,12 +3276,12 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3251
3276
|
}
|
|
3252
3277
|
|
|
3253
3278
|
create_query_render_task(query_id, result_format, width, height, fields, options) {
|
|
3254
|
-
var
|
|
3279
|
+
var _this313 = this;
|
|
3255
3280
|
|
|
3256
3281
|
return _asyncToGenerator(function* () {
|
|
3257
3282
|
query_id = (0, _sdkRtl.encodeParam)(query_id);
|
|
3258
3283
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3259
|
-
return
|
|
3284
|
+
return _this313.post("/render_tasks/queries/".concat(query_id, "/").concat(result_format), {
|
|
3260
3285
|
width,
|
|
3261
3286
|
height,
|
|
3262
3287
|
fields
|
|
@@ -3265,12 +3290,12 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3265
3290
|
}
|
|
3266
3291
|
|
|
3267
3292
|
create_dashboard_render_task(request, options) {
|
|
3268
|
-
var
|
|
3293
|
+
var _this314 = this;
|
|
3269
3294
|
|
|
3270
3295
|
return _asyncToGenerator(function* () {
|
|
3271
3296
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3272
3297
|
request.result_format = (0, _sdkRtl.encodeParam)(request.result_format);
|
|
3273
|
-
return
|
|
3298
|
+
return _this314.post("/render_tasks/dashboards/".concat(request.dashboard_id, "/").concat(request.result_format), {
|
|
3274
3299
|
width: request.width,
|
|
3275
3300
|
height: request.height,
|
|
3276
3301
|
fields: request.fields,
|
|
@@ -3282,32 +3307,32 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3282
3307
|
}
|
|
3283
3308
|
|
|
3284
3309
|
render_task(render_task_id, fields, options) {
|
|
3285
|
-
var
|
|
3310
|
+
var _this315 = this;
|
|
3286
3311
|
|
|
3287
3312
|
return _asyncToGenerator(function* () {
|
|
3288
3313
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
3289
|
-
return
|
|
3314
|
+
return _this315.get("/render_tasks/".concat(render_task_id), {
|
|
3290
3315
|
fields
|
|
3291
3316
|
}, null, options);
|
|
3292
3317
|
})();
|
|
3293
3318
|
}
|
|
3294
3319
|
|
|
3295
3320
|
render_task_results(render_task_id, options) {
|
|
3296
|
-
var
|
|
3321
|
+
var _this316 = this;
|
|
3297
3322
|
|
|
3298
3323
|
return _asyncToGenerator(function* () {
|
|
3299
3324
|
render_task_id = (0, _sdkRtl.encodeParam)(render_task_id);
|
|
3300
|
-
return
|
|
3325
|
+
return _this316.get("/render_tasks/".concat(render_task_id, "/results"), null, null, options);
|
|
3301
3326
|
})();
|
|
3302
3327
|
}
|
|
3303
3328
|
|
|
3304
3329
|
create_dashboard_element_render_task(dashboard_element_id, result_format, width, height, fields, options) {
|
|
3305
|
-
var
|
|
3330
|
+
var _this317 = this;
|
|
3306
3331
|
|
|
3307
3332
|
return _asyncToGenerator(function* () {
|
|
3308
3333
|
dashboard_element_id = (0, _sdkRtl.encodeParam)(dashboard_element_id);
|
|
3309
3334
|
result_format = (0, _sdkRtl.encodeParam)(result_format);
|
|
3310
|
-
return
|
|
3335
|
+
return _this317.post("/render_tasks/dashboard_elements/".concat(dashboard_element_id, "/").concat(result_format), {
|
|
3311
3336
|
width,
|
|
3312
3337
|
height,
|
|
3313
3338
|
fields
|
|
@@ -3316,10 +3341,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3316
3341
|
}
|
|
3317
3342
|
|
|
3318
3343
|
search_model_sets(request, options) {
|
|
3319
|
-
var
|
|
3344
|
+
var _this318 = this;
|
|
3320
3345
|
|
|
3321
3346
|
return _asyncToGenerator(function* () {
|
|
3322
|
-
return
|
|
3347
|
+
return _this318.get('/model_sets/search', {
|
|
3323
3348
|
fields: request.fields,
|
|
3324
3349
|
limit: request.limit,
|
|
3325
3350
|
offset: request.offset,
|
|
@@ -3334,65 +3359,65 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3334
3359
|
}
|
|
3335
3360
|
|
|
3336
3361
|
model_set(model_set_id, fields, options) {
|
|
3337
|
-
var
|
|
3362
|
+
var _this319 = this;
|
|
3338
3363
|
|
|
3339
3364
|
return _asyncToGenerator(function* () {
|
|
3340
3365
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3341
|
-
return
|
|
3366
|
+
return _this319.get("/model_sets/".concat(model_set_id), {
|
|
3342
3367
|
fields
|
|
3343
3368
|
}, null, options);
|
|
3344
3369
|
})();
|
|
3345
3370
|
}
|
|
3346
3371
|
|
|
3347
3372
|
update_model_set(model_set_id, body, options) {
|
|
3348
|
-
var
|
|
3373
|
+
var _this320 = this;
|
|
3349
3374
|
|
|
3350
3375
|
return _asyncToGenerator(function* () {
|
|
3351
3376
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3352
|
-
return
|
|
3377
|
+
return _this320.patch("/model_sets/".concat(model_set_id), null, body, options);
|
|
3353
3378
|
})();
|
|
3354
3379
|
}
|
|
3355
3380
|
|
|
3356
3381
|
delete_model_set(model_set_id, options) {
|
|
3357
|
-
var
|
|
3382
|
+
var _this321 = this;
|
|
3358
3383
|
|
|
3359
3384
|
return _asyncToGenerator(function* () {
|
|
3360
3385
|
model_set_id = (0, _sdkRtl.encodeParam)(model_set_id);
|
|
3361
|
-
return
|
|
3386
|
+
return _this321.delete("/model_sets/".concat(model_set_id), null, null, options);
|
|
3362
3387
|
})();
|
|
3363
3388
|
}
|
|
3364
3389
|
|
|
3365
3390
|
all_model_sets(fields, options) {
|
|
3366
|
-
var
|
|
3391
|
+
var _this322 = this;
|
|
3367
3392
|
|
|
3368
3393
|
return _asyncToGenerator(function* () {
|
|
3369
|
-
return
|
|
3394
|
+
return _this322.get('/model_sets', {
|
|
3370
3395
|
fields
|
|
3371
3396
|
}, null, options);
|
|
3372
3397
|
})();
|
|
3373
3398
|
}
|
|
3374
3399
|
|
|
3375
3400
|
create_model_set(body, options) {
|
|
3376
|
-
var
|
|
3401
|
+
var _this323 = this;
|
|
3377
3402
|
|
|
3378
3403
|
return _asyncToGenerator(function* () {
|
|
3379
|
-
return
|
|
3404
|
+
return _this323.post('/model_sets', null, body, options);
|
|
3380
3405
|
})();
|
|
3381
3406
|
}
|
|
3382
3407
|
|
|
3383
3408
|
all_permissions(options) {
|
|
3384
|
-
var
|
|
3409
|
+
var _this324 = this;
|
|
3385
3410
|
|
|
3386
3411
|
return _asyncToGenerator(function* () {
|
|
3387
|
-
return
|
|
3412
|
+
return _this324.get('/permissions', null, null, options);
|
|
3388
3413
|
})();
|
|
3389
3414
|
}
|
|
3390
3415
|
|
|
3391
3416
|
search_permission_sets(request, options) {
|
|
3392
|
-
var
|
|
3417
|
+
var _this325 = this;
|
|
3393
3418
|
|
|
3394
3419
|
return _asyncToGenerator(function* () {
|
|
3395
|
-
return
|
|
3420
|
+
return _this325.get('/permission_sets/search', {
|
|
3396
3421
|
fields: request.fields,
|
|
3397
3422
|
limit: request.limit,
|
|
3398
3423
|
offset: request.offset,
|
|
@@ -3407,57 +3432,57 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3407
3432
|
}
|
|
3408
3433
|
|
|
3409
3434
|
permission_set(permission_set_id, fields, options) {
|
|
3410
|
-
var
|
|
3435
|
+
var _this326 = this;
|
|
3411
3436
|
|
|
3412
3437
|
return _asyncToGenerator(function* () {
|
|
3413
3438
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3414
|
-
return
|
|
3439
|
+
return _this326.get("/permission_sets/".concat(permission_set_id), {
|
|
3415
3440
|
fields
|
|
3416
3441
|
}, null, options);
|
|
3417
3442
|
})();
|
|
3418
3443
|
}
|
|
3419
3444
|
|
|
3420
3445
|
update_permission_set(permission_set_id, body, options) {
|
|
3421
|
-
var
|
|
3446
|
+
var _this327 = this;
|
|
3422
3447
|
|
|
3423
3448
|
return _asyncToGenerator(function* () {
|
|
3424
3449
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3425
|
-
return
|
|
3450
|
+
return _this327.patch("/permission_sets/".concat(permission_set_id), null, body, options);
|
|
3426
3451
|
})();
|
|
3427
3452
|
}
|
|
3428
3453
|
|
|
3429
3454
|
delete_permission_set(permission_set_id, options) {
|
|
3430
|
-
var
|
|
3455
|
+
var _this328 = this;
|
|
3431
3456
|
|
|
3432
3457
|
return _asyncToGenerator(function* () {
|
|
3433
3458
|
permission_set_id = (0, _sdkRtl.encodeParam)(permission_set_id);
|
|
3434
|
-
return
|
|
3459
|
+
return _this328.delete("/permission_sets/".concat(permission_set_id), null, null, options);
|
|
3435
3460
|
})();
|
|
3436
3461
|
}
|
|
3437
3462
|
|
|
3438
3463
|
all_permission_sets(fields, options) {
|
|
3439
|
-
var
|
|
3464
|
+
var _this329 = this;
|
|
3440
3465
|
|
|
3441
3466
|
return _asyncToGenerator(function* () {
|
|
3442
|
-
return
|
|
3467
|
+
return _this329.get('/permission_sets', {
|
|
3443
3468
|
fields
|
|
3444
3469
|
}, null, options);
|
|
3445
3470
|
})();
|
|
3446
3471
|
}
|
|
3447
3472
|
|
|
3448
3473
|
create_permission_set(body, options) {
|
|
3449
|
-
var
|
|
3474
|
+
var _this330 = this;
|
|
3450
3475
|
|
|
3451
3476
|
return _asyncToGenerator(function* () {
|
|
3452
|
-
return
|
|
3477
|
+
return _this330.post('/permission_sets', null, body, options);
|
|
3453
3478
|
})();
|
|
3454
3479
|
}
|
|
3455
3480
|
|
|
3456
3481
|
all_roles(request, options) {
|
|
3457
|
-
var
|
|
3482
|
+
var _this331 = this;
|
|
3458
3483
|
|
|
3459
3484
|
return _asyncToGenerator(function* () {
|
|
3460
|
-
return
|
|
3485
|
+
return _this331.get('/roles', {
|
|
3461
3486
|
fields: request.fields,
|
|
3462
3487
|
ids: request.ids
|
|
3463
3488
|
}, null, options);
|
|
@@ -3465,18 +3490,18 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3465
3490
|
}
|
|
3466
3491
|
|
|
3467
3492
|
create_role(body, options) {
|
|
3468
|
-
var
|
|
3493
|
+
var _this332 = this;
|
|
3469
3494
|
|
|
3470
3495
|
return _asyncToGenerator(function* () {
|
|
3471
|
-
return
|
|
3496
|
+
return _this332.post('/roles', null, body, options);
|
|
3472
3497
|
})();
|
|
3473
3498
|
}
|
|
3474
3499
|
|
|
3475
3500
|
search_roles(request, options) {
|
|
3476
|
-
var
|
|
3501
|
+
var _this333 = this;
|
|
3477
3502
|
|
|
3478
3503
|
return _asyncToGenerator(function* () {
|
|
3479
|
-
return
|
|
3504
|
+
return _this333.get('/roles/search', {
|
|
3480
3505
|
fields: request.fields,
|
|
3481
3506
|
limit: request.limit,
|
|
3482
3507
|
offset: request.offset,
|
|
@@ -3490,10 +3515,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3490
3515
|
}
|
|
3491
3516
|
|
|
3492
3517
|
search_roles_with_user_count(request, options) {
|
|
3493
|
-
var
|
|
3518
|
+
var _this334 = this;
|
|
3494
3519
|
|
|
3495
3520
|
return _asyncToGenerator(function* () {
|
|
3496
|
-
return
|
|
3521
|
+
return _this334.get('/roles/search/with_user_count', {
|
|
3497
3522
|
fields: request.fields,
|
|
3498
3523
|
limit: request.limit,
|
|
3499
3524
|
offset: request.offset,
|
|
@@ -3507,58 +3532,58 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3507
3532
|
}
|
|
3508
3533
|
|
|
3509
3534
|
role(role_id, options) {
|
|
3510
|
-
var
|
|
3535
|
+
var _this335 = this;
|
|
3511
3536
|
|
|
3512
3537
|
return _asyncToGenerator(function* () {
|
|
3513
3538
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3514
|
-
return
|
|
3539
|
+
return _this335.get("/roles/".concat(role_id), null, null, options);
|
|
3515
3540
|
})();
|
|
3516
3541
|
}
|
|
3517
3542
|
|
|
3518
3543
|
update_role(role_id, body, options) {
|
|
3519
|
-
var
|
|
3544
|
+
var _this336 = this;
|
|
3520
3545
|
|
|
3521
3546
|
return _asyncToGenerator(function* () {
|
|
3522
3547
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3523
|
-
return
|
|
3548
|
+
return _this336.patch("/roles/".concat(role_id), null, body, options);
|
|
3524
3549
|
})();
|
|
3525
3550
|
}
|
|
3526
3551
|
|
|
3527
3552
|
delete_role(role_id, options) {
|
|
3528
|
-
var
|
|
3553
|
+
var _this337 = this;
|
|
3529
3554
|
|
|
3530
3555
|
return _asyncToGenerator(function* () {
|
|
3531
3556
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3532
|
-
return
|
|
3557
|
+
return _this337.delete("/roles/".concat(role_id), null, null, options);
|
|
3533
3558
|
})();
|
|
3534
3559
|
}
|
|
3535
3560
|
|
|
3536
3561
|
role_groups(role_id, fields, options) {
|
|
3537
|
-
var
|
|
3562
|
+
var _this338 = this;
|
|
3538
3563
|
|
|
3539
3564
|
return _asyncToGenerator(function* () {
|
|
3540
3565
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3541
|
-
return
|
|
3566
|
+
return _this338.get("/roles/".concat(role_id, "/groups"), {
|
|
3542
3567
|
fields
|
|
3543
3568
|
}, null, options);
|
|
3544
3569
|
})();
|
|
3545
3570
|
}
|
|
3546
3571
|
|
|
3547
3572
|
set_role_groups(role_id, body, options) {
|
|
3548
|
-
var
|
|
3573
|
+
var _this339 = this;
|
|
3549
3574
|
|
|
3550
3575
|
return _asyncToGenerator(function* () {
|
|
3551
3576
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3552
|
-
return
|
|
3577
|
+
return _this339.put("/roles/".concat(role_id, "/groups"), null, body, options);
|
|
3553
3578
|
})();
|
|
3554
3579
|
}
|
|
3555
3580
|
|
|
3556
3581
|
role_users(request, options) {
|
|
3557
|
-
var
|
|
3582
|
+
var _this340 = this;
|
|
3558
3583
|
|
|
3559
3584
|
return _asyncToGenerator(function* () {
|
|
3560
3585
|
request.role_id = (0, _sdkRtl.encodeParam)(request.role_id);
|
|
3561
|
-
return
|
|
3586
|
+
return _this340.get("/roles/".concat(request.role_id, "/users"), {
|
|
3562
3587
|
fields: request.fields,
|
|
3563
3588
|
direct_association_only: request.direct_association_only
|
|
3564
3589
|
}, null, options);
|
|
@@ -3566,59 +3591,59 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3566
3591
|
}
|
|
3567
3592
|
|
|
3568
3593
|
set_role_users(role_id, body, options) {
|
|
3569
|
-
var
|
|
3594
|
+
var _this341 = this;
|
|
3570
3595
|
|
|
3571
3596
|
return _asyncToGenerator(function* () {
|
|
3572
3597
|
role_id = (0, _sdkRtl.encodeParam)(role_id);
|
|
3573
|
-
return
|
|
3598
|
+
return _this341.put("/roles/".concat(role_id, "/users"), null, body, options);
|
|
3574
3599
|
})();
|
|
3575
3600
|
}
|
|
3576
3601
|
|
|
3577
3602
|
scheduled_plans_for_space(space_id, fields, options) {
|
|
3578
|
-
var
|
|
3603
|
+
var _this342 = this;
|
|
3579
3604
|
|
|
3580
3605
|
return _asyncToGenerator(function* () {
|
|
3581
3606
|
space_id = (0, _sdkRtl.encodeParam)(space_id);
|
|
3582
|
-
return
|
|
3607
|
+
return _this342.get("/scheduled_plans/space/".concat(space_id), {
|
|
3583
3608
|
fields
|
|
3584
3609
|
}, null, options);
|
|
3585
3610
|
})();
|
|
3586
3611
|
}
|
|
3587
3612
|
|
|
3588
3613
|
scheduled_plan(scheduled_plan_id, fields, options) {
|
|
3589
|
-
var
|
|
3614
|
+
var _this343 = this;
|
|
3590
3615
|
|
|
3591
3616
|
return _asyncToGenerator(function* () {
|
|
3592
3617
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3593
|
-
return
|
|
3618
|
+
return _this343.get("/scheduled_plans/".concat(scheduled_plan_id), {
|
|
3594
3619
|
fields
|
|
3595
3620
|
}, null, options);
|
|
3596
3621
|
})();
|
|
3597
3622
|
}
|
|
3598
3623
|
|
|
3599
3624
|
update_scheduled_plan(scheduled_plan_id, body, options) {
|
|
3600
|
-
var
|
|
3625
|
+
var _this344 = this;
|
|
3601
3626
|
|
|
3602
3627
|
return _asyncToGenerator(function* () {
|
|
3603
3628
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3604
|
-
return
|
|
3629
|
+
return _this344.patch("/scheduled_plans/".concat(scheduled_plan_id), null, body, options);
|
|
3605
3630
|
})();
|
|
3606
3631
|
}
|
|
3607
3632
|
|
|
3608
3633
|
delete_scheduled_plan(scheduled_plan_id, options) {
|
|
3609
|
-
var
|
|
3634
|
+
var _this345 = this;
|
|
3610
3635
|
|
|
3611
3636
|
return _asyncToGenerator(function* () {
|
|
3612
3637
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3613
|
-
return
|
|
3638
|
+
return _this345.delete("/scheduled_plans/".concat(scheduled_plan_id), null, null, options);
|
|
3614
3639
|
})();
|
|
3615
3640
|
}
|
|
3616
3641
|
|
|
3617
3642
|
all_scheduled_plans(request, options) {
|
|
3618
|
-
var
|
|
3643
|
+
var _this346 = this;
|
|
3619
3644
|
|
|
3620
3645
|
return _asyncToGenerator(function* () {
|
|
3621
|
-
return
|
|
3646
|
+
return _this346.get('/scheduled_plans', {
|
|
3622
3647
|
user_id: request.user_id,
|
|
3623
3648
|
fields: request.fields,
|
|
3624
3649
|
all_users: request.all_users
|
|
@@ -3627,27 +3652,27 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3627
3652
|
}
|
|
3628
3653
|
|
|
3629
3654
|
create_scheduled_plan(body, options) {
|
|
3630
|
-
var
|
|
3655
|
+
var _this347 = this;
|
|
3631
3656
|
|
|
3632
3657
|
return _asyncToGenerator(function* () {
|
|
3633
|
-
return
|
|
3658
|
+
return _this347.post('/scheduled_plans', null, body, options);
|
|
3634
3659
|
})();
|
|
3635
3660
|
}
|
|
3636
3661
|
|
|
3637
3662
|
scheduled_plan_run_once(body, options) {
|
|
3638
|
-
var
|
|
3663
|
+
var _this348 = this;
|
|
3639
3664
|
|
|
3640
3665
|
return _asyncToGenerator(function* () {
|
|
3641
|
-
return
|
|
3666
|
+
return _this348.post('/scheduled_plans/run_once', null, body, options);
|
|
3642
3667
|
})();
|
|
3643
3668
|
}
|
|
3644
3669
|
|
|
3645
3670
|
scheduled_plans_for_look(request, options) {
|
|
3646
|
-
var
|
|
3671
|
+
var _this349 = this;
|
|
3647
3672
|
|
|
3648
3673
|
return _asyncToGenerator(function* () {
|
|
3649
3674
|
request.look_id = (0, _sdkRtl.encodeParam)(request.look_id);
|
|
3650
|
-
return
|
|
3675
|
+
return _this349.get("/scheduled_plans/look/".concat(request.look_id), {
|
|
3651
3676
|
user_id: request.user_id,
|
|
3652
3677
|
fields: request.fields,
|
|
3653
3678
|
all_users: request.all_users
|
|
@@ -3656,11 +3681,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3656
3681
|
}
|
|
3657
3682
|
|
|
3658
3683
|
scheduled_plans_for_dashboard(request, options) {
|
|
3659
|
-
var
|
|
3684
|
+
var _this350 = this;
|
|
3660
3685
|
|
|
3661
3686
|
return _asyncToGenerator(function* () {
|
|
3662
3687
|
request.dashboard_id = (0, _sdkRtl.encodeParam)(request.dashboard_id);
|
|
3663
|
-
return
|
|
3688
|
+
return _this350.get("/scheduled_plans/dashboard/".concat(request.dashboard_id), {
|
|
3664
3689
|
user_id: request.user_id,
|
|
3665
3690
|
all_users: request.all_users,
|
|
3666
3691
|
fields: request.fields
|
|
@@ -3669,11 +3694,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3669
3694
|
}
|
|
3670
3695
|
|
|
3671
3696
|
scheduled_plans_for_lookml_dashboard(request, options) {
|
|
3672
|
-
var
|
|
3697
|
+
var _this351 = this;
|
|
3673
3698
|
|
|
3674
3699
|
return _asyncToGenerator(function* () {
|
|
3675
3700
|
request.lookml_dashboard_id = (0, _sdkRtl.encodeParam)(request.lookml_dashboard_id);
|
|
3676
|
-
return
|
|
3701
|
+
return _this351.get("/scheduled_plans/lookml_dashboard/".concat(request.lookml_dashboard_id), {
|
|
3677
3702
|
user_id: request.user_id,
|
|
3678
3703
|
fields: request.fields,
|
|
3679
3704
|
all_users: request.all_users
|
|
@@ -3682,53 +3707,53 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3682
3707
|
}
|
|
3683
3708
|
|
|
3684
3709
|
scheduled_plan_run_once_by_id(scheduled_plan_id, body, options) {
|
|
3685
|
-
var
|
|
3710
|
+
var _this352 = this;
|
|
3686
3711
|
|
|
3687
3712
|
return _asyncToGenerator(function* () {
|
|
3688
3713
|
scheduled_plan_id = (0, _sdkRtl.encodeParam)(scheduled_plan_id);
|
|
3689
|
-
return
|
|
3714
|
+
return _this352.post("/scheduled_plans/".concat(scheduled_plan_id, "/run_once"), null, body, options);
|
|
3690
3715
|
})();
|
|
3691
3716
|
}
|
|
3692
3717
|
|
|
3693
3718
|
session(options) {
|
|
3694
|
-
var
|
|
3719
|
+
var _this353 = this;
|
|
3695
3720
|
|
|
3696
3721
|
return _asyncToGenerator(function* () {
|
|
3697
|
-
return
|
|
3722
|
+
return _this353.get('/session', null, null, options);
|
|
3698
3723
|
})();
|
|
3699
3724
|
}
|
|
3700
3725
|
|
|
3701
3726
|
update_session(body, options) {
|
|
3702
|
-
var
|
|
3727
|
+
var _this354 = this;
|
|
3703
3728
|
|
|
3704
3729
|
return _asyncToGenerator(function* () {
|
|
3705
|
-
return
|
|
3730
|
+
return _this354.patch('/session', null, body, options);
|
|
3706
3731
|
})();
|
|
3707
3732
|
}
|
|
3708
3733
|
|
|
3709
3734
|
all_themes(fields, options) {
|
|
3710
|
-
var
|
|
3735
|
+
var _this355 = this;
|
|
3711
3736
|
|
|
3712
3737
|
return _asyncToGenerator(function* () {
|
|
3713
|
-
return
|
|
3738
|
+
return _this355.get('/themes', {
|
|
3714
3739
|
fields
|
|
3715
3740
|
}, null, options);
|
|
3716
3741
|
})();
|
|
3717
3742
|
}
|
|
3718
3743
|
|
|
3719
3744
|
create_theme(body, options) {
|
|
3720
|
-
var
|
|
3745
|
+
var _this356 = this;
|
|
3721
3746
|
|
|
3722
3747
|
return _asyncToGenerator(function* () {
|
|
3723
|
-
return
|
|
3748
|
+
return _this356.post('/themes', null, body, options);
|
|
3724
3749
|
})();
|
|
3725
3750
|
}
|
|
3726
3751
|
|
|
3727
3752
|
search_themes(request, options) {
|
|
3728
|
-
var
|
|
3753
|
+
var _this357 = this;
|
|
3729
3754
|
|
|
3730
3755
|
return _asyncToGenerator(function* () {
|
|
3731
|
-
return
|
|
3756
|
+
return _this357.get('/themes/search', {
|
|
3732
3757
|
id: request.id,
|
|
3733
3758
|
name: request.name,
|
|
3734
3759
|
begin_at: request.begin_at,
|
|
@@ -3743,30 +3768,30 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3743
3768
|
}
|
|
3744
3769
|
|
|
3745
3770
|
default_theme(ts, options) {
|
|
3746
|
-
var
|
|
3771
|
+
var _this358 = this;
|
|
3747
3772
|
|
|
3748
3773
|
return _asyncToGenerator(function* () {
|
|
3749
|
-
return
|
|
3774
|
+
return _this358.get('/themes/default', {
|
|
3750
3775
|
ts
|
|
3751
3776
|
}, null, options);
|
|
3752
3777
|
})();
|
|
3753
3778
|
}
|
|
3754
3779
|
|
|
3755
3780
|
set_default_theme(name, options) {
|
|
3756
|
-
var
|
|
3781
|
+
var _this359 = this;
|
|
3757
3782
|
|
|
3758
3783
|
return _asyncToGenerator(function* () {
|
|
3759
|
-
return
|
|
3784
|
+
return _this359.put('/themes/default', {
|
|
3760
3785
|
name
|
|
3761
3786
|
}, null, options);
|
|
3762
3787
|
})();
|
|
3763
3788
|
}
|
|
3764
3789
|
|
|
3765
3790
|
active_themes(request, options) {
|
|
3766
|
-
var
|
|
3791
|
+
var _this360 = this;
|
|
3767
3792
|
|
|
3768
3793
|
return _asyncToGenerator(function* () {
|
|
3769
|
-
return
|
|
3794
|
+
return _this360.get('/themes/active', {
|
|
3770
3795
|
name: request.name,
|
|
3771
3796
|
ts: request.ts,
|
|
3772
3797
|
fields: request.fields
|
|
@@ -3775,10 +3800,10 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3775
3800
|
}
|
|
3776
3801
|
|
|
3777
3802
|
theme_or_default(name, ts, options) {
|
|
3778
|
-
var
|
|
3803
|
+
var _this361 = this;
|
|
3779
3804
|
|
|
3780
3805
|
return _asyncToGenerator(function* () {
|
|
3781
|
-
return
|
|
3806
|
+
return _this361.get('/themes/theme_or_default', {
|
|
3782
3807
|
name,
|
|
3783
3808
|
ts
|
|
3784
3809
|
}, null, options);
|
|
@@ -3786,47 +3811,47 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3786
3811
|
}
|
|
3787
3812
|
|
|
3788
3813
|
validate_theme(body, options) {
|
|
3789
|
-
var
|
|
3814
|
+
var _this362 = this;
|
|
3790
3815
|
|
|
3791
3816
|
return _asyncToGenerator(function* () {
|
|
3792
|
-
return
|
|
3817
|
+
return _this362.post('/themes/validate', null, body, options);
|
|
3793
3818
|
})();
|
|
3794
3819
|
}
|
|
3795
3820
|
|
|
3796
3821
|
theme(theme_id, fields, options) {
|
|
3797
|
-
var
|
|
3822
|
+
var _this363 = this;
|
|
3798
3823
|
|
|
3799
3824
|
return _asyncToGenerator(function* () {
|
|
3800
3825
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3801
|
-
return
|
|
3826
|
+
return _this363.get("/themes/".concat(theme_id), {
|
|
3802
3827
|
fields
|
|
3803
3828
|
}, null, options);
|
|
3804
3829
|
})();
|
|
3805
3830
|
}
|
|
3806
3831
|
|
|
3807
3832
|
update_theme(theme_id, body, options) {
|
|
3808
|
-
var
|
|
3833
|
+
var _this364 = this;
|
|
3809
3834
|
|
|
3810
3835
|
return _asyncToGenerator(function* () {
|
|
3811
3836
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3812
|
-
return
|
|
3837
|
+
return _this364.patch("/themes/".concat(theme_id), null, body, options);
|
|
3813
3838
|
})();
|
|
3814
3839
|
}
|
|
3815
3840
|
|
|
3816
3841
|
delete_theme(theme_id, options) {
|
|
3817
|
-
var
|
|
3842
|
+
var _this365 = this;
|
|
3818
3843
|
|
|
3819
3844
|
return _asyncToGenerator(function* () {
|
|
3820
3845
|
theme_id = (0, _sdkRtl.encodeParam)(theme_id);
|
|
3821
|
-
return
|
|
3846
|
+
return _this365.delete("/themes/".concat(theme_id), null, null, options);
|
|
3822
3847
|
})();
|
|
3823
3848
|
}
|
|
3824
3849
|
|
|
3825
3850
|
search_credentials_email(request, options) {
|
|
3826
|
-
var
|
|
3851
|
+
var _this366 = this;
|
|
3827
3852
|
|
|
3828
3853
|
return _asyncToGenerator(function* () {
|
|
3829
|
-
return
|
|
3854
|
+
return _this366.get('/credentials_email/search', {
|
|
3830
3855
|
fields: request.fields,
|
|
3831
3856
|
limit: request.limit,
|
|
3832
3857
|
offset: request.offset,
|
|
@@ -3840,20 +3865,20 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3840
3865
|
}
|
|
3841
3866
|
|
|
3842
3867
|
me(fields, options) {
|
|
3843
|
-
var
|
|
3868
|
+
var _this367 = this;
|
|
3844
3869
|
|
|
3845
3870
|
return _asyncToGenerator(function* () {
|
|
3846
|
-
return
|
|
3871
|
+
return _this367.get('/user', {
|
|
3847
3872
|
fields
|
|
3848
3873
|
}, null, options);
|
|
3849
3874
|
})();
|
|
3850
3875
|
}
|
|
3851
3876
|
|
|
3852
3877
|
all_users(request, options) {
|
|
3853
|
-
var
|
|
3878
|
+
var _this368 = this;
|
|
3854
3879
|
|
|
3855
3880
|
return _asyncToGenerator(function* () {
|
|
3856
|
-
return
|
|
3881
|
+
return _this368.get('/users', {
|
|
3857
3882
|
fields: request.fields,
|
|
3858
3883
|
page: request.page,
|
|
3859
3884
|
per_page: request.per_page,
|
|
@@ -3866,20 +3891,20 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3866
3891
|
}
|
|
3867
3892
|
|
|
3868
3893
|
create_user(body, fields, options) {
|
|
3869
|
-
var
|
|
3894
|
+
var _this369 = this;
|
|
3870
3895
|
|
|
3871
3896
|
return _asyncToGenerator(function* () {
|
|
3872
|
-
return
|
|
3897
|
+
return _this369.post('/users', {
|
|
3873
3898
|
fields
|
|
3874
3899
|
}, body, options);
|
|
3875
3900
|
})();
|
|
3876
3901
|
}
|
|
3877
3902
|
|
|
3878
3903
|
search_users(request, options) {
|
|
3879
|
-
var
|
|
3904
|
+
var _this370 = this;
|
|
3880
3905
|
|
|
3881
3906
|
return _asyncToGenerator(function* () {
|
|
3882
|
-
return
|
|
3907
|
+
return _this370.get('/users/search', {
|
|
3883
3908
|
fields: request.fields,
|
|
3884
3909
|
page: request.page,
|
|
3885
3910
|
per_page: request.per_page,
|
|
@@ -3901,11 +3926,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3901
3926
|
}
|
|
3902
3927
|
|
|
3903
3928
|
search_users_names(request, options) {
|
|
3904
|
-
var
|
|
3929
|
+
var _this371 = this;
|
|
3905
3930
|
|
|
3906
3931
|
return _asyncToGenerator(function* () {
|
|
3907
3932
|
request.pattern = (0, _sdkRtl.encodeParam)(request.pattern);
|
|
3908
|
-
return
|
|
3933
|
+
return _this371.get("/users/search/names/".concat(request.pattern), {
|
|
3909
3934
|
fields: request.fields,
|
|
3910
3935
|
page: request.page,
|
|
3911
3936
|
per_page: request.per_page,
|
|
@@ -3923,337 +3948,337 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
3923
3948
|
}
|
|
3924
3949
|
|
|
3925
3950
|
user(user_id, fields, options) {
|
|
3926
|
-
var
|
|
3951
|
+
var _this372 = this;
|
|
3927
3952
|
|
|
3928
3953
|
return _asyncToGenerator(function* () {
|
|
3929
3954
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3930
|
-
return
|
|
3955
|
+
return _this372.get("/users/".concat(user_id), {
|
|
3931
3956
|
fields
|
|
3932
3957
|
}, null, options);
|
|
3933
3958
|
})();
|
|
3934
3959
|
}
|
|
3935
3960
|
|
|
3936
3961
|
update_user(user_id, body, fields, options) {
|
|
3937
|
-
var
|
|
3962
|
+
var _this373 = this;
|
|
3938
3963
|
|
|
3939
3964
|
return _asyncToGenerator(function* () {
|
|
3940
3965
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3941
|
-
return
|
|
3966
|
+
return _this373.patch("/users/".concat(user_id), {
|
|
3942
3967
|
fields
|
|
3943
3968
|
}, body, options);
|
|
3944
3969
|
})();
|
|
3945
3970
|
}
|
|
3946
3971
|
|
|
3947
3972
|
delete_user(user_id, options) {
|
|
3948
|
-
var
|
|
3973
|
+
var _this374 = this;
|
|
3949
3974
|
|
|
3950
3975
|
return _asyncToGenerator(function* () {
|
|
3951
3976
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3952
|
-
return
|
|
3977
|
+
return _this374.delete("/users/".concat(user_id), null, null, options);
|
|
3953
3978
|
})();
|
|
3954
3979
|
}
|
|
3955
3980
|
|
|
3956
3981
|
user_for_credential(credential_type, credential_id, fields, options) {
|
|
3957
|
-
var
|
|
3982
|
+
var _this375 = this;
|
|
3958
3983
|
|
|
3959
3984
|
return _asyncToGenerator(function* () {
|
|
3960
3985
|
credential_type = (0, _sdkRtl.encodeParam)(credential_type);
|
|
3961
3986
|
credential_id = (0, _sdkRtl.encodeParam)(credential_id);
|
|
3962
|
-
return
|
|
3987
|
+
return _this375.get("/users/credential/".concat(credential_type, "/").concat(credential_id), {
|
|
3963
3988
|
fields
|
|
3964
3989
|
}, null, options);
|
|
3965
3990
|
})();
|
|
3966
3991
|
}
|
|
3967
3992
|
|
|
3968
3993
|
user_credentials_email(user_id, fields, options) {
|
|
3969
|
-
var
|
|
3994
|
+
var _this376 = this;
|
|
3970
3995
|
|
|
3971
3996
|
return _asyncToGenerator(function* () {
|
|
3972
3997
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3973
|
-
return
|
|
3998
|
+
return _this376.get("/users/".concat(user_id, "/credentials_email"), {
|
|
3974
3999
|
fields
|
|
3975
4000
|
}, null, options);
|
|
3976
4001
|
})();
|
|
3977
4002
|
}
|
|
3978
4003
|
|
|
3979
4004
|
create_user_credentials_email(user_id, body, fields, options) {
|
|
3980
|
-
var
|
|
4005
|
+
var _this377 = this;
|
|
3981
4006
|
|
|
3982
4007
|
return _asyncToGenerator(function* () {
|
|
3983
4008
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3984
|
-
return
|
|
4009
|
+
return _this377.post("/users/".concat(user_id, "/credentials_email"), {
|
|
3985
4010
|
fields
|
|
3986
4011
|
}, body, options);
|
|
3987
4012
|
})();
|
|
3988
4013
|
}
|
|
3989
4014
|
|
|
3990
4015
|
update_user_credentials_email(user_id, body, fields, options) {
|
|
3991
|
-
var
|
|
4016
|
+
var _this378 = this;
|
|
3992
4017
|
|
|
3993
4018
|
return _asyncToGenerator(function* () {
|
|
3994
4019
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
3995
|
-
return
|
|
4020
|
+
return _this378.patch("/users/".concat(user_id, "/credentials_email"), {
|
|
3996
4021
|
fields
|
|
3997
4022
|
}, body, options);
|
|
3998
4023
|
})();
|
|
3999
4024
|
}
|
|
4000
4025
|
|
|
4001
4026
|
delete_user_credentials_email(user_id, options) {
|
|
4002
|
-
var
|
|
4027
|
+
var _this379 = this;
|
|
4003
4028
|
|
|
4004
4029
|
return _asyncToGenerator(function* () {
|
|
4005
4030
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4006
|
-
return
|
|
4031
|
+
return _this379.delete("/users/".concat(user_id, "/credentials_email"), null, null, options);
|
|
4007
4032
|
})();
|
|
4008
4033
|
}
|
|
4009
4034
|
|
|
4010
4035
|
user_credentials_totp(user_id, fields, options) {
|
|
4011
|
-
var
|
|
4036
|
+
var _this380 = this;
|
|
4012
4037
|
|
|
4013
4038
|
return _asyncToGenerator(function* () {
|
|
4014
4039
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4015
|
-
return
|
|
4040
|
+
return _this380.get("/users/".concat(user_id, "/credentials_totp"), {
|
|
4016
4041
|
fields
|
|
4017
4042
|
}, null, options);
|
|
4018
4043
|
})();
|
|
4019
4044
|
}
|
|
4020
4045
|
|
|
4021
4046
|
create_user_credentials_totp(user_id, body, fields, options) {
|
|
4022
|
-
var
|
|
4047
|
+
var _this381 = this;
|
|
4023
4048
|
|
|
4024
4049
|
return _asyncToGenerator(function* () {
|
|
4025
4050
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4026
|
-
return
|
|
4051
|
+
return _this381.post("/users/".concat(user_id, "/credentials_totp"), {
|
|
4027
4052
|
fields
|
|
4028
4053
|
}, body, options);
|
|
4029
4054
|
})();
|
|
4030
4055
|
}
|
|
4031
4056
|
|
|
4032
4057
|
delete_user_credentials_totp(user_id, options) {
|
|
4033
|
-
var
|
|
4058
|
+
var _this382 = this;
|
|
4034
4059
|
|
|
4035
4060
|
return _asyncToGenerator(function* () {
|
|
4036
4061
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4037
|
-
return
|
|
4062
|
+
return _this382.delete("/users/".concat(user_id, "/credentials_totp"), null, null, options);
|
|
4038
4063
|
})();
|
|
4039
4064
|
}
|
|
4040
4065
|
|
|
4041
4066
|
user_credentials_ldap(user_id, fields, options) {
|
|
4042
|
-
var
|
|
4067
|
+
var _this383 = this;
|
|
4043
4068
|
|
|
4044
4069
|
return _asyncToGenerator(function* () {
|
|
4045
4070
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4046
|
-
return
|
|
4071
|
+
return _this383.get("/users/".concat(user_id, "/credentials_ldap"), {
|
|
4047
4072
|
fields
|
|
4048
4073
|
}, null, options);
|
|
4049
4074
|
})();
|
|
4050
4075
|
}
|
|
4051
4076
|
|
|
4052
4077
|
delete_user_credentials_ldap(user_id, options) {
|
|
4053
|
-
var
|
|
4078
|
+
var _this384 = this;
|
|
4054
4079
|
|
|
4055
4080
|
return _asyncToGenerator(function* () {
|
|
4056
4081
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4057
|
-
return
|
|
4082
|
+
return _this384.delete("/users/".concat(user_id, "/credentials_ldap"), null, null, options);
|
|
4058
4083
|
})();
|
|
4059
4084
|
}
|
|
4060
4085
|
|
|
4061
4086
|
user_credentials_google(user_id, fields, options) {
|
|
4062
|
-
var
|
|
4087
|
+
var _this385 = this;
|
|
4063
4088
|
|
|
4064
4089
|
return _asyncToGenerator(function* () {
|
|
4065
4090
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4066
|
-
return
|
|
4091
|
+
return _this385.get("/users/".concat(user_id, "/credentials_google"), {
|
|
4067
4092
|
fields
|
|
4068
4093
|
}, null, options);
|
|
4069
4094
|
})();
|
|
4070
4095
|
}
|
|
4071
4096
|
|
|
4072
4097
|
delete_user_credentials_google(user_id, options) {
|
|
4073
|
-
var
|
|
4098
|
+
var _this386 = this;
|
|
4074
4099
|
|
|
4075
4100
|
return _asyncToGenerator(function* () {
|
|
4076
4101
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4077
|
-
return
|
|
4102
|
+
return _this386.delete("/users/".concat(user_id, "/credentials_google"), null, null, options);
|
|
4078
4103
|
})();
|
|
4079
4104
|
}
|
|
4080
4105
|
|
|
4081
4106
|
user_credentials_saml(user_id, fields, options) {
|
|
4082
|
-
var
|
|
4107
|
+
var _this387 = this;
|
|
4083
4108
|
|
|
4084
4109
|
return _asyncToGenerator(function* () {
|
|
4085
4110
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4086
|
-
return
|
|
4111
|
+
return _this387.get("/users/".concat(user_id, "/credentials_saml"), {
|
|
4087
4112
|
fields
|
|
4088
4113
|
}, null, options);
|
|
4089
4114
|
})();
|
|
4090
4115
|
}
|
|
4091
4116
|
|
|
4092
4117
|
delete_user_credentials_saml(user_id, options) {
|
|
4093
|
-
var
|
|
4118
|
+
var _this388 = this;
|
|
4094
4119
|
|
|
4095
4120
|
return _asyncToGenerator(function* () {
|
|
4096
4121
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4097
|
-
return
|
|
4122
|
+
return _this388.delete("/users/".concat(user_id, "/credentials_saml"), null, null, options);
|
|
4098
4123
|
})();
|
|
4099
4124
|
}
|
|
4100
4125
|
|
|
4101
4126
|
user_credentials_oidc(user_id, fields, options) {
|
|
4102
|
-
var
|
|
4127
|
+
var _this389 = this;
|
|
4103
4128
|
|
|
4104
4129
|
return _asyncToGenerator(function* () {
|
|
4105
4130
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4106
|
-
return
|
|
4131
|
+
return _this389.get("/users/".concat(user_id, "/credentials_oidc"), {
|
|
4107
4132
|
fields
|
|
4108
4133
|
}, null, options);
|
|
4109
4134
|
})();
|
|
4110
4135
|
}
|
|
4111
4136
|
|
|
4112
4137
|
delete_user_credentials_oidc(user_id, options) {
|
|
4113
|
-
var
|
|
4138
|
+
var _this390 = this;
|
|
4114
4139
|
|
|
4115
4140
|
return _asyncToGenerator(function* () {
|
|
4116
4141
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4117
|
-
return
|
|
4142
|
+
return _this390.delete("/users/".concat(user_id, "/credentials_oidc"), null, null, options);
|
|
4118
4143
|
})();
|
|
4119
4144
|
}
|
|
4120
4145
|
|
|
4121
4146
|
user_credentials_api3(user_id, credentials_api3_id, fields, options) {
|
|
4122
|
-
var
|
|
4147
|
+
var _this391 = this;
|
|
4123
4148
|
|
|
4124
4149
|
return _asyncToGenerator(function* () {
|
|
4125
4150
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4126
4151
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
4127
|
-
return
|
|
4152
|
+
return _this391.get("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), {
|
|
4128
4153
|
fields
|
|
4129
4154
|
}, null, options);
|
|
4130
4155
|
})();
|
|
4131
4156
|
}
|
|
4132
4157
|
|
|
4133
4158
|
delete_user_credentials_api3(user_id, credentials_api3_id, options) {
|
|
4134
|
-
var
|
|
4159
|
+
var _this392 = this;
|
|
4135
4160
|
|
|
4136
4161
|
return _asyncToGenerator(function* () {
|
|
4137
4162
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4138
4163
|
credentials_api3_id = (0, _sdkRtl.encodeParam)(credentials_api3_id);
|
|
4139
|
-
return
|
|
4164
|
+
return _this392.delete("/users/".concat(user_id, "/credentials_api3/").concat(credentials_api3_id), null, null, options);
|
|
4140
4165
|
})();
|
|
4141
4166
|
}
|
|
4142
4167
|
|
|
4143
4168
|
all_user_credentials_api3s(user_id, fields, options) {
|
|
4144
|
-
var
|
|
4169
|
+
var _this393 = this;
|
|
4145
4170
|
|
|
4146
4171
|
return _asyncToGenerator(function* () {
|
|
4147
4172
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4148
|
-
return
|
|
4173
|
+
return _this393.get("/users/".concat(user_id, "/credentials_api3"), {
|
|
4149
4174
|
fields
|
|
4150
4175
|
}, null, options);
|
|
4151
4176
|
})();
|
|
4152
4177
|
}
|
|
4153
4178
|
|
|
4154
4179
|
create_user_credentials_api3(user_id, fields, options) {
|
|
4155
|
-
var
|
|
4180
|
+
var _this394 = this;
|
|
4156
4181
|
|
|
4157
4182
|
return _asyncToGenerator(function* () {
|
|
4158
4183
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4159
|
-
return
|
|
4184
|
+
return _this394.post("/users/".concat(user_id, "/credentials_api3"), {
|
|
4160
4185
|
fields
|
|
4161
4186
|
}, null, options);
|
|
4162
4187
|
})();
|
|
4163
4188
|
}
|
|
4164
4189
|
|
|
4165
4190
|
user_credentials_embed(user_id, credentials_embed_id, fields, options) {
|
|
4166
|
-
var
|
|
4191
|
+
var _this395 = this;
|
|
4167
4192
|
|
|
4168
4193
|
return _asyncToGenerator(function* () {
|
|
4169
4194
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4170
4195
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
4171
|
-
return
|
|
4196
|
+
return _this395.get("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), {
|
|
4172
4197
|
fields
|
|
4173
4198
|
}, null, options);
|
|
4174
4199
|
})();
|
|
4175
4200
|
}
|
|
4176
4201
|
|
|
4177
4202
|
delete_user_credentials_embed(user_id, credentials_embed_id, options) {
|
|
4178
|
-
var
|
|
4203
|
+
var _this396 = this;
|
|
4179
4204
|
|
|
4180
4205
|
return _asyncToGenerator(function* () {
|
|
4181
4206
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4182
4207
|
credentials_embed_id = (0, _sdkRtl.encodeParam)(credentials_embed_id);
|
|
4183
|
-
return
|
|
4208
|
+
return _this396.delete("/users/".concat(user_id, "/credentials_embed/").concat(credentials_embed_id), null, null, options);
|
|
4184
4209
|
})();
|
|
4185
4210
|
}
|
|
4186
4211
|
|
|
4187
4212
|
all_user_credentials_embeds(user_id, fields, options) {
|
|
4188
|
-
var
|
|
4213
|
+
var _this397 = this;
|
|
4189
4214
|
|
|
4190
4215
|
return _asyncToGenerator(function* () {
|
|
4191
4216
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4192
|
-
return
|
|
4217
|
+
return _this397.get("/users/".concat(user_id, "/credentials_embed"), {
|
|
4193
4218
|
fields
|
|
4194
4219
|
}, null, options);
|
|
4195
4220
|
})();
|
|
4196
4221
|
}
|
|
4197
4222
|
|
|
4198
4223
|
user_credentials_looker_openid(user_id, fields, options) {
|
|
4199
|
-
var
|
|
4224
|
+
var _this398 = this;
|
|
4200
4225
|
|
|
4201
4226
|
return _asyncToGenerator(function* () {
|
|
4202
4227
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4203
|
-
return
|
|
4228
|
+
return _this398.get("/users/".concat(user_id, "/credentials_looker_openid"), {
|
|
4204
4229
|
fields
|
|
4205
4230
|
}, null, options);
|
|
4206
4231
|
})();
|
|
4207
4232
|
}
|
|
4208
4233
|
|
|
4209
4234
|
delete_user_credentials_looker_openid(user_id, options) {
|
|
4210
|
-
var
|
|
4235
|
+
var _this399 = this;
|
|
4211
4236
|
|
|
4212
4237
|
return _asyncToGenerator(function* () {
|
|
4213
4238
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4214
|
-
return
|
|
4239
|
+
return _this399.delete("/users/".concat(user_id, "/credentials_looker_openid"), null, null, options);
|
|
4215
4240
|
})();
|
|
4216
4241
|
}
|
|
4217
4242
|
|
|
4218
4243
|
user_session(user_id, session_id, fields, options) {
|
|
4219
|
-
var
|
|
4244
|
+
var _this400 = this;
|
|
4220
4245
|
|
|
4221
4246
|
return _asyncToGenerator(function* () {
|
|
4222
4247
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4223
4248
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
4224
|
-
return
|
|
4249
|
+
return _this400.get("/users/".concat(user_id, "/sessions/").concat(session_id), {
|
|
4225
4250
|
fields
|
|
4226
4251
|
}, null, options);
|
|
4227
4252
|
})();
|
|
4228
4253
|
}
|
|
4229
4254
|
|
|
4230
4255
|
delete_user_session(user_id, session_id, options) {
|
|
4231
|
-
var
|
|
4256
|
+
var _this401 = this;
|
|
4232
4257
|
|
|
4233
4258
|
return _asyncToGenerator(function* () {
|
|
4234
4259
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4235
4260
|
session_id = (0, _sdkRtl.encodeParam)(session_id);
|
|
4236
|
-
return
|
|
4261
|
+
return _this401.delete("/users/".concat(user_id, "/sessions/").concat(session_id), null, null, options);
|
|
4237
4262
|
})();
|
|
4238
4263
|
}
|
|
4239
4264
|
|
|
4240
4265
|
all_user_sessions(user_id, fields, options) {
|
|
4241
|
-
var
|
|
4266
|
+
var _this402 = this;
|
|
4242
4267
|
|
|
4243
4268
|
return _asyncToGenerator(function* () {
|
|
4244
4269
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4245
|
-
return
|
|
4270
|
+
return _this402.get("/users/".concat(user_id, "/sessions"), {
|
|
4246
4271
|
fields
|
|
4247
4272
|
}, null, options);
|
|
4248
4273
|
})();
|
|
4249
4274
|
}
|
|
4250
4275
|
|
|
4251
4276
|
create_user_credentials_email_password_reset(request, options) {
|
|
4252
|
-
var
|
|
4277
|
+
var _this403 = this;
|
|
4253
4278
|
|
|
4254
4279
|
return _asyncToGenerator(function* () {
|
|
4255
4280
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
4256
|
-
return
|
|
4281
|
+
return _this403.post("/users/".concat(request.user_id, "/credentials_email/password_reset"), {
|
|
4257
4282
|
expires: request.expires,
|
|
4258
4283
|
fields: request.fields
|
|
4259
4284
|
}, null, options);
|
|
@@ -4261,11 +4286,11 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
4261
4286
|
}
|
|
4262
4287
|
|
|
4263
4288
|
user_roles(request, options) {
|
|
4264
|
-
var
|
|
4289
|
+
var _this404 = this;
|
|
4265
4290
|
|
|
4266
4291
|
return _asyncToGenerator(function* () {
|
|
4267
4292
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
4268
|
-
return
|
|
4293
|
+
return _this404.get("/users/".concat(request.user_id, "/roles"), {
|
|
4269
4294
|
fields: request.fields,
|
|
4270
4295
|
direct_association_only: request.direct_association_only
|
|
4271
4296
|
}, null, options);
|
|
@@ -4273,22 +4298,22 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
4273
4298
|
}
|
|
4274
4299
|
|
|
4275
4300
|
set_user_roles(user_id, body, fields, options) {
|
|
4276
|
-
var
|
|
4301
|
+
var _this405 = this;
|
|
4277
4302
|
|
|
4278
4303
|
return _asyncToGenerator(function* () {
|
|
4279
4304
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4280
|
-
return
|
|
4305
|
+
return _this405.put("/users/".concat(user_id, "/roles"), {
|
|
4281
4306
|
fields
|
|
4282
4307
|
}, body, options);
|
|
4283
4308
|
})();
|
|
4284
4309
|
}
|
|
4285
4310
|
|
|
4286
4311
|
user_attribute_user_values(request, options) {
|
|
4287
|
-
var
|
|
4312
|
+
var _this406 = this;
|
|
4288
4313
|
|
|
4289
4314
|
return _asyncToGenerator(function* () {
|
|
4290
4315
|
request.user_id = (0, _sdkRtl.encodeParam)(request.user_id);
|
|
4291
|
-
return
|
|
4316
|
+
return _this406.get("/users/".concat(request.user_id, "/attribute_values"), {
|
|
4292
4317
|
fields: request.fields,
|
|
4293
4318
|
user_attribute_ids: request.user_attribute_ids,
|
|
4294
4319
|
all_values: request.all_values,
|
|
@@ -4298,60 +4323,60 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
4298
4323
|
}
|
|
4299
4324
|
|
|
4300
4325
|
set_user_attribute_user_value(user_id, user_attribute_id, body, options) {
|
|
4301
|
-
var
|
|
4326
|
+
var _this407 = this;
|
|
4302
4327
|
|
|
4303
4328
|
return _asyncToGenerator(function* () {
|
|
4304
4329
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4305
4330
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4306
|
-
return
|
|
4331
|
+
return _this407.patch("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, body, options);
|
|
4307
4332
|
})();
|
|
4308
4333
|
}
|
|
4309
4334
|
|
|
4310
4335
|
delete_user_attribute_user_value(user_id, user_attribute_id, options) {
|
|
4311
|
-
var
|
|
4336
|
+
var _this408 = this;
|
|
4312
4337
|
|
|
4313
4338
|
return _asyncToGenerator(function* () {
|
|
4314
4339
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4315
4340
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4316
|
-
return
|
|
4341
|
+
return _this408.delete("/users/".concat(user_id, "/attribute_values/").concat(user_attribute_id), null, null, options);
|
|
4317
4342
|
})();
|
|
4318
4343
|
}
|
|
4319
4344
|
|
|
4320
4345
|
send_user_credentials_email_password_reset(user_id, fields, options) {
|
|
4321
|
-
var
|
|
4346
|
+
var _this409 = this;
|
|
4322
4347
|
|
|
4323
4348
|
return _asyncToGenerator(function* () {
|
|
4324
4349
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4325
|
-
return
|
|
4350
|
+
return _this409.post("/users/".concat(user_id, "/credentials_email/send_password_reset"), {
|
|
4326
4351
|
fields
|
|
4327
4352
|
}, null, options);
|
|
4328
4353
|
})();
|
|
4329
4354
|
}
|
|
4330
4355
|
|
|
4331
4356
|
wipeout_user_emails(user_id, body, fields, options) {
|
|
4332
|
-
var
|
|
4357
|
+
var _this410 = this;
|
|
4333
4358
|
|
|
4334
4359
|
return _asyncToGenerator(function* () {
|
|
4335
4360
|
user_id = (0, _sdkRtl.encodeParam)(user_id);
|
|
4336
|
-
return
|
|
4361
|
+
return _this410.post("/users/".concat(user_id, "/update_emails"), {
|
|
4337
4362
|
fields
|
|
4338
4363
|
}, body, options);
|
|
4339
4364
|
})();
|
|
4340
4365
|
}
|
|
4341
4366
|
|
|
4342
4367
|
create_embed_user(body, options) {
|
|
4343
|
-
var
|
|
4368
|
+
var _this411 = this;
|
|
4344
4369
|
|
|
4345
4370
|
return _asyncToGenerator(function* () {
|
|
4346
|
-
return
|
|
4371
|
+
return _this411.post('/users/embed_user', null, body, options);
|
|
4347
4372
|
})();
|
|
4348
4373
|
}
|
|
4349
4374
|
|
|
4350
4375
|
all_user_attributes(request, options) {
|
|
4351
|
-
var
|
|
4376
|
+
var _this412 = this;
|
|
4352
4377
|
|
|
4353
4378
|
return _asyncToGenerator(function* () {
|
|
4354
|
-
return
|
|
4379
|
+
return _this412.get('/user_attributes', {
|
|
4355
4380
|
fields: request.fields,
|
|
4356
4381
|
sorts: request.sorts
|
|
4357
4382
|
}, null, options);
|
|
@@ -4359,80 +4384,80 @@ class Looker40SDK extends _sdkRtl.APIMethods {
|
|
|
4359
4384
|
}
|
|
4360
4385
|
|
|
4361
4386
|
create_user_attribute(body, fields, options) {
|
|
4362
|
-
var
|
|
4387
|
+
var _this413 = this;
|
|
4363
4388
|
|
|
4364
4389
|
return _asyncToGenerator(function* () {
|
|
4365
|
-
return
|
|
4390
|
+
return _this413.post('/user_attributes', {
|
|
4366
4391
|
fields
|
|
4367
4392
|
}, body, options);
|
|
4368
4393
|
})();
|
|
4369
4394
|
}
|
|
4370
4395
|
|
|
4371
4396
|
user_attribute(user_attribute_id, fields, options) {
|
|
4372
|
-
var
|
|
4397
|
+
var _this414 = this;
|
|
4373
4398
|
|
|
4374
4399
|
return _asyncToGenerator(function* () {
|
|
4375
4400
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4376
|
-
return
|
|
4401
|
+
return _this414.get("/user_attributes/".concat(user_attribute_id), {
|
|
4377
4402
|
fields
|
|
4378
4403
|
}, null, options);
|
|
4379
4404
|
})();
|
|
4380
4405
|
}
|
|
4381
4406
|
|
|
4382
4407
|
update_user_attribute(user_attribute_id, body, fields, options) {
|
|
4383
|
-
var
|
|
4408
|
+
var _this415 = this;
|
|
4384
4409
|
|
|
4385
4410
|
return _asyncToGenerator(function* () {
|
|
4386
4411
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4387
|
-
return
|
|
4412
|
+
return _this415.patch("/user_attributes/".concat(user_attribute_id), {
|
|
4388
4413
|
fields
|
|
4389
4414
|
}, body, options);
|
|
4390
4415
|
})();
|
|
4391
4416
|
}
|
|
4392
4417
|
|
|
4393
4418
|
delete_user_attribute(user_attribute_id, options) {
|
|
4394
|
-
var
|
|
4419
|
+
var _this416 = this;
|
|
4395
4420
|
|
|
4396
4421
|
return _asyncToGenerator(function* () {
|
|
4397
4422
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4398
|
-
return
|
|
4423
|
+
return _this416.delete("/user_attributes/".concat(user_attribute_id), null, null, options);
|
|
4399
4424
|
})();
|
|
4400
4425
|
}
|
|
4401
4426
|
|
|
4402
4427
|
all_user_attribute_group_values(user_attribute_id, fields, options) {
|
|
4403
|
-
var
|
|
4428
|
+
var _this417 = this;
|
|
4404
4429
|
|
|
4405
4430
|
return _asyncToGenerator(function* () {
|
|
4406
4431
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4407
|
-
return
|
|
4432
|
+
return _this417.get("/user_attributes/".concat(user_attribute_id, "/group_values"), {
|
|
4408
4433
|
fields
|
|
4409
4434
|
}, null, options);
|
|
4410
4435
|
})();
|
|
4411
4436
|
}
|
|
4412
4437
|
|
|
4413
4438
|
set_user_attribute_group_values(user_attribute_id, body, options) {
|
|
4414
|
-
var
|
|
4439
|
+
var _this418 = this;
|
|
4415
4440
|
|
|
4416
4441
|
return _asyncToGenerator(function* () {
|
|
4417
4442
|
user_attribute_id = (0, _sdkRtl.encodeParam)(user_attribute_id);
|
|
4418
|
-
return
|
|
4443
|
+
return _this418.post("/user_attributes/".concat(user_attribute_id, "/group_values"), null, body, options);
|
|
4419
4444
|
})();
|
|
4420
4445
|
}
|
|
4421
4446
|
|
|
4422
4447
|
all_workspaces(options) {
|
|
4423
|
-
var
|
|
4448
|
+
var _this419 = this;
|
|
4424
4449
|
|
|
4425
4450
|
return _asyncToGenerator(function* () {
|
|
4426
|
-
return
|
|
4451
|
+
return _this419.get('/workspaces', null, null, options);
|
|
4427
4452
|
})();
|
|
4428
4453
|
}
|
|
4429
4454
|
|
|
4430
4455
|
workspace(workspace_id, options) {
|
|
4431
|
-
var
|
|
4456
|
+
var _this420 = this;
|
|
4432
4457
|
|
|
4433
4458
|
return _asyncToGenerator(function* () {
|
|
4434
4459
|
workspace_id = (0, _sdkRtl.encodeParam)(workspace_id);
|
|
4435
|
-
return
|
|
4460
|
+
return _this420.get("/workspaces/".concat(workspace_id), null, null, options);
|
|
4436
4461
|
})();
|
|
4437
4462
|
}
|
|
4438
4463
|
|