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