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