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