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