@atlaskit/teams-client 4.2.0 → 4.3.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 +8 -0
- package/dist/cjs/common/utils/ufo/constants.js +1 -1
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/mocks/endpoints.js +17 -17
- package/dist/cjs/services/legion-client/index.js +215 -196
- package/dist/cjs/services/main.js +644 -577
- package/dist/cjs/services/replines-client/index.js +61 -0
- package/dist/cjs/services/rest-client/index.js +3 -3
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/cjs/services/sentry/utils/sentry-client.js +1 -2
- package/dist/cjs/services/team-central-client/index.js +1 -1
- package/dist/cjs/types/team-container.js +19 -0
- package/dist/cjs/types/tenure.js +1 -0
- package/dist/es2019/common/utils/ufo/constants.js +1 -1
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/legion-client/index.js +5 -0
- package/dist/es2019/services/main.js +13 -0
- package/dist/es2019/services/replines-client/index.js +23 -0
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/types/team-container.js +13 -0
- package/dist/es2019/types/tenure.js +0 -0
- package/dist/esm/common/utils/ufo/constants.js +1 -1
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/mocks/endpoints.js +17 -17
- package/dist/esm/services/legion-client/index.js +215 -196
- package/dist/esm/services/main.js +644 -577
- package/dist/esm/services/replines-client/index.js +54 -0
- package/dist/esm/services/rest-client/index.js +3 -3
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/services/team-central-client/index.js +1 -1
- package/dist/esm/types/team-container.js +13 -0
- package/dist/esm/types/tenure.js +0 -0
- package/dist/types/common/utils/ufo/constants.d.ts +2 -2
- package/dist/types/services/legion-client/index.d.ts +2 -0
- package/dist/types/services/main.d.ts +7 -0
- package/dist/types/services/replines-client/index.d.ts +11 -0
- package/dist/types/services/team-central-client/index.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/team-container.d.ts +38 -0
- package/dist/types/types/tenure.d.ts +5 -0
- package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +4 -2
- package/dist/types-ts4.5/services/legion-client/index.d.ts +2 -0
- package/dist/types-ts4.5/services/main.d.ts +7 -0
- package/dist/types-ts4.5/services/replines-client/index.d.ts +11 -0
- package/dist/types-ts4.5/services/team-central-client/index.d.ts +1 -1
- package/dist/types-ts4.5/types/index.d.ts +1 -0
- package/dist/types-ts4.5/types/team-container.d.ts +38 -0
- package/dist/types-ts4.5/types/tenure.d.ts +5 -0
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ var _mutabilityClient = _interopRequireDefault(require("./mutability-client"));
|
|
|
21
21
|
var _objectResolverClient = _interopRequireDefault(require("./object-resolver-client"));
|
|
22
22
|
var _permsClient = _interopRequireDefault(require("./perms-client"));
|
|
23
23
|
var _publicApiClient = _interopRequireDefault(require("./public-api-client"));
|
|
24
|
+
var _replinesClient = _interopRequireDefault(require("./replines-client"));
|
|
24
25
|
var _teamCentralClient = _interopRequireDefault(require("./team-central-client"));
|
|
25
26
|
var _teamsInSlackClient = _interopRequireDefault(require("./teams-in-slack-client"));
|
|
26
27
|
var _userPreferencesClient = _interopRequireDefault(require("./user-preferences-client"));
|
|
@@ -53,6 +54,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
53
54
|
(0, _defineProperty2.default)(this, "_collaborationGraphClient", _collaborationgraphClient.default);
|
|
54
55
|
(0, _defineProperty2.default)(this, "_identityClient", _identityClient.default);
|
|
55
56
|
(0, _defineProperty2.default)(this, "_teamCentralClient", _teamCentralClient.default);
|
|
57
|
+
(0, _defineProperty2.default)(this, "_replinesClient", _replinesClient.default);
|
|
56
58
|
if (context) {
|
|
57
59
|
this.setContext(context);
|
|
58
60
|
}
|
|
@@ -120,6 +122,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
120
122
|
this._mutabilityClient.setContext(context);
|
|
121
123
|
this._publicApiClient.setContext(context);
|
|
122
124
|
this._invitationsClient.setContext(context);
|
|
125
|
+
this._replinesClient.setContext(context);
|
|
123
126
|
}
|
|
124
127
|
}, {
|
|
125
128
|
key: "setTeamCentralContext",
|
|
@@ -401,27 +404,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
401
404
|
}, {
|
|
402
405
|
key: "updateTeamById",
|
|
403
406
|
value: (function () {
|
|
404
|
-
var _updateTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
407
|
+
var _updateTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee0() {
|
|
405
408
|
var _this7 = this;
|
|
406
409
|
var _len4,
|
|
407
410
|
args,
|
|
408
411
|
_key4,
|
|
409
|
-
|
|
410
|
-
return _regenerator.default.wrap(function
|
|
411
|
-
while (1) switch (
|
|
412
|
+
_args0 = arguments;
|
|
413
|
+
return _regenerator.default.wrap(function _callee0$(_context0) {
|
|
414
|
+
while (1) switch (_context0.prev = _context0.next) {
|
|
412
415
|
case 0:
|
|
413
|
-
for (_len4 =
|
|
414
|
-
args[_key4] =
|
|
416
|
+
for (_len4 = _args0.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
417
|
+
args[_key4] = _args0[_key4];
|
|
415
418
|
}
|
|
416
|
-
return
|
|
419
|
+
return _context0.abrupt("return", this.measurePerformance('updateTeamById', function () {
|
|
417
420
|
var _this7$_legionClient;
|
|
418
421
|
return (_this7$_legionClient = _this7._legionClient).updateTeamById.apply(_this7$_legionClient, args);
|
|
419
422
|
}));
|
|
420
423
|
case 2:
|
|
421
424
|
case "end":
|
|
422
|
-
return
|
|
425
|
+
return _context0.stop();
|
|
423
426
|
}
|
|
424
|
-
},
|
|
427
|
+
}, _callee0, this);
|
|
425
428
|
}));
|
|
426
429
|
function updateTeamById() {
|
|
427
430
|
return _updateTeamById.apply(this, arguments);
|
|
@@ -436,27 +439,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
436
439
|
}, {
|
|
437
440
|
key: "inviteUsersToTeam",
|
|
438
441
|
value: (function () {
|
|
439
|
-
var _inviteUsersToTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
442
|
+
var _inviteUsersToTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee1() {
|
|
440
443
|
var _this8 = this;
|
|
441
444
|
var _len5,
|
|
442
445
|
args,
|
|
443
446
|
_key5,
|
|
444
|
-
|
|
445
|
-
return _regenerator.default.wrap(function
|
|
446
|
-
while (1) switch (
|
|
447
|
+
_args1 = arguments;
|
|
448
|
+
return _regenerator.default.wrap(function _callee1$(_context1) {
|
|
449
|
+
while (1) switch (_context1.prev = _context1.next) {
|
|
447
450
|
case 0:
|
|
448
|
-
for (_len5 =
|
|
449
|
-
args[_key5] =
|
|
451
|
+
for (_len5 = _args1.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
452
|
+
args[_key5] = _args1[_key5];
|
|
450
453
|
}
|
|
451
|
-
return
|
|
454
|
+
return _context1.abrupt("return", this.measurePerformance('inviteUsersToTeam', function () {
|
|
452
455
|
var _this8$_legionClient;
|
|
453
456
|
return (_this8$_legionClient = _this8._legionClient).inviteUsersToTeam.apply(_this8$_legionClient, args);
|
|
454
457
|
}));
|
|
455
458
|
case 2:
|
|
456
459
|
case "end":
|
|
457
|
-
return
|
|
460
|
+
return _context1.stop();
|
|
458
461
|
}
|
|
459
|
-
},
|
|
462
|
+
}, _callee1, this);
|
|
460
463
|
}));
|
|
461
464
|
function inviteUsersToTeam() {
|
|
462
465
|
return _inviteUsersToTeam.apply(this, arguments);
|
|
@@ -470,27 +473,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
470
473
|
}, {
|
|
471
474
|
key: "getMyTeamMembership",
|
|
472
475
|
value: (function () {
|
|
473
|
-
var _getMyTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
476
|
+
var _getMyTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
|
|
474
477
|
var _this9 = this;
|
|
475
478
|
var _len6,
|
|
476
479
|
args,
|
|
477
480
|
_key6,
|
|
478
|
-
|
|
479
|
-
return _regenerator.default.wrap(function
|
|
480
|
-
while (1) switch (
|
|
481
|
+
_args10 = arguments;
|
|
482
|
+
return _regenerator.default.wrap(function _callee10$(_context10) {
|
|
483
|
+
while (1) switch (_context10.prev = _context10.next) {
|
|
481
484
|
case 0:
|
|
482
|
-
for (_len6 =
|
|
483
|
-
args[_key6] =
|
|
485
|
+
for (_len6 = _args10.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
|
|
486
|
+
args[_key6] = _args10[_key6];
|
|
484
487
|
}
|
|
485
|
-
return
|
|
488
|
+
return _context10.abrupt("return", this.measurePerformance('getMyTeamMembership', function () {
|
|
486
489
|
var _this9$_legionClient;
|
|
487
490
|
return (_this9$_legionClient = _this9._legionClient).getMyTeamMembership.apply(_this9$_legionClient, args);
|
|
488
491
|
}));
|
|
489
492
|
case 2:
|
|
490
493
|
case "end":
|
|
491
|
-
return
|
|
494
|
+
return _context10.stop();
|
|
492
495
|
}
|
|
493
|
-
},
|
|
496
|
+
}, _callee10, this);
|
|
494
497
|
}));
|
|
495
498
|
function getMyTeamMembership() {
|
|
496
499
|
return _getMyTeamMembership.apply(this, arguments);
|
|
@@ -504,19 +507,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
504
507
|
}, {
|
|
505
508
|
key: "getTeamLinksByTeamId",
|
|
506
509
|
value: (function () {
|
|
507
|
-
var _getTeamLinksByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
508
|
-
var
|
|
509
|
-
return _regenerator.default.wrap(function
|
|
510
|
-
while (1) switch (
|
|
510
|
+
var _getTeamLinksByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11(teamId) {
|
|
511
|
+
var _this0 = this;
|
|
512
|
+
return _regenerator.default.wrap(function _callee11$(_context11) {
|
|
513
|
+
while (1) switch (_context11.prev = _context11.next) {
|
|
511
514
|
case 0:
|
|
512
|
-
return
|
|
513
|
-
return
|
|
515
|
+
return _context11.abrupt("return", this.measurePerformance('getTeamLinksByTeamId', function () {
|
|
516
|
+
return _this0._legionClient.getTeamLinksByTeamId(teamId);
|
|
514
517
|
}));
|
|
515
518
|
case 1:
|
|
516
519
|
case "end":
|
|
517
|
-
return
|
|
520
|
+
return _context11.stop();
|
|
518
521
|
}
|
|
519
|
-
},
|
|
522
|
+
}, _callee11, this);
|
|
520
523
|
}));
|
|
521
524
|
function getTeamLinksByTeamId(_x8) {
|
|
522
525
|
return _getTeamLinksByTeamId.apply(this, arguments);
|
|
@@ -530,27 +533,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
530
533
|
}, {
|
|
531
534
|
key: "createTeamLink",
|
|
532
535
|
value: (function () {
|
|
533
|
-
var _createTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
534
|
-
var
|
|
536
|
+
var _createTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
|
|
537
|
+
var _this1 = this;
|
|
535
538
|
var _len7,
|
|
536
539
|
args,
|
|
537
540
|
_key7,
|
|
538
|
-
|
|
539
|
-
return _regenerator.default.wrap(function
|
|
540
|
-
while (1) switch (
|
|
541
|
+
_args12 = arguments;
|
|
542
|
+
return _regenerator.default.wrap(function _callee12$(_context12) {
|
|
543
|
+
while (1) switch (_context12.prev = _context12.next) {
|
|
541
544
|
case 0:
|
|
542
|
-
for (_len7 =
|
|
543
|
-
args[_key7] =
|
|
545
|
+
for (_len7 = _args12.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
|
|
546
|
+
args[_key7] = _args12[_key7];
|
|
544
547
|
}
|
|
545
|
-
return
|
|
546
|
-
var
|
|
547
|
-
return (
|
|
548
|
+
return _context12.abrupt("return", this.measurePerformance('createTeamLink', function () {
|
|
549
|
+
var _this1$_legionClient;
|
|
550
|
+
return (_this1$_legionClient = _this1._legionClient).createTeamLink.apply(_this1$_legionClient, args);
|
|
548
551
|
}));
|
|
549
552
|
case 2:
|
|
550
553
|
case "end":
|
|
551
|
-
return
|
|
554
|
+
return _context12.stop();
|
|
552
555
|
}
|
|
553
|
-
},
|
|
556
|
+
}, _callee12, this);
|
|
554
557
|
}));
|
|
555
558
|
function createTeamLink() {
|
|
556
559
|
return _createTeamLink.apply(this, arguments);
|
|
@@ -564,27 +567,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
564
567
|
}, {
|
|
565
568
|
key: "updateTeamLink",
|
|
566
569
|
value: (function () {
|
|
567
|
-
var _updateTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
568
|
-
var
|
|
570
|
+
var _updateTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
|
|
571
|
+
var _this10 = this;
|
|
569
572
|
var _len8,
|
|
570
573
|
args,
|
|
571
574
|
_key8,
|
|
572
|
-
|
|
573
|
-
return _regenerator.default.wrap(function
|
|
574
|
-
while (1) switch (
|
|
575
|
+
_args13 = arguments;
|
|
576
|
+
return _regenerator.default.wrap(function _callee13$(_context13) {
|
|
577
|
+
while (1) switch (_context13.prev = _context13.next) {
|
|
575
578
|
case 0:
|
|
576
|
-
for (_len8 =
|
|
577
|
-
args[_key8] =
|
|
579
|
+
for (_len8 = _args13.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
|
|
580
|
+
args[_key8] = _args13[_key8];
|
|
578
581
|
}
|
|
579
|
-
return
|
|
580
|
-
var
|
|
581
|
-
return (
|
|
582
|
+
return _context13.abrupt("return", this.measurePerformance('updateTeamLink', function () {
|
|
583
|
+
var _this10$_legionClient;
|
|
584
|
+
return (_this10$_legionClient = _this10._legionClient).updateTeamLink.apply(_this10$_legionClient, args);
|
|
582
585
|
}));
|
|
583
586
|
case 2:
|
|
584
587
|
case "end":
|
|
585
|
-
return
|
|
588
|
+
return _context13.stop();
|
|
586
589
|
}
|
|
587
|
-
},
|
|
590
|
+
}, _callee13, this);
|
|
588
591
|
}));
|
|
589
592
|
function updateTeamLink() {
|
|
590
593
|
return _updateTeamLink.apply(this, arguments);
|
|
@@ -598,27 +601,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
598
601
|
}, {
|
|
599
602
|
key: "deleteTeamLink",
|
|
600
603
|
value: (function () {
|
|
601
|
-
var _deleteTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
602
|
-
var
|
|
604
|
+
var _deleteTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14() {
|
|
605
|
+
var _this11 = this;
|
|
603
606
|
var _len9,
|
|
604
607
|
args,
|
|
605
608
|
_key9,
|
|
606
|
-
|
|
607
|
-
return _regenerator.default.wrap(function
|
|
608
|
-
while (1) switch (
|
|
609
|
+
_args14 = arguments;
|
|
610
|
+
return _regenerator.default.wrap(function _callee14$(_context14) {
|
|
611
|
+
while (1) switch (_context14.prev = _context14.next) {
|
|
609
612
|
case 0:
|
|
610
|
-
for (_len9 =
|
|
611
|
-
args[_key9] =
|
|
613
|
+
for (_len9 = _args14.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
|
|
614
|
+
args[_key9] = _args14[_key9];
|
|
612
615
|
}
|
|
613
|
-
return
|
|
614
|
-
var
|
|
615
|
-
return (
|
|
616
|
+
return _context14.abrupt("return", this.measurePerformance('deleteTeamLink', function () {
|
|
617
|
+
var _this11$_legionClient;
|
|
618
|
+
return (_this11$_legionClient = _this11._legionClient).deleteTeamLink.apply(_this11$_legionClient, args);
|
|
616
619
|
}));
|
|
617
620
|
case 2:
|
|
618
621
|
case "end":
|
|
619
|
-
return
|
|
622
|
+
return _context14.stop();
|
|
620
623
|
}
|
|
621
|
-
},
|
|
624
|
+
}, _callee14, this);
|
|
622
625
|
}));
|
|
623
626
|
function deleteTeamLink() {
|
|
624
627
|
return _deleteTeamLink.apply(this, arguments);
|
|
@@ -632,27 +635,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
632
635
|
}, {
|
|
633
636
|
key: "reorderTeamLink",
|
|
634
637
|
value: (function () {
|
|
635
|
-
var _reorderTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
636
|
-
var
|
|
637
|
-
var
|
|
638
|
+
var _reorderTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {
|
|
639
|
+
var _this12 = this;
|
|
640
|
+
var _len0,
|
|
638
641
|
args,
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
return _regenerator.default.wrap(function
|
|
642
|
-
while (1) switch (
|
|
642
|
+
_key0,
|
|
643
|
+
_args15 = arguments;
|
|
644
|
+
return _regenerator.default.wrap(function _callee15$(_context15) {
|
|
645
|
+
while (1) switch (_context15.prev = _context15.next) {
|
|
643
646
|
case 0:
|
|
644
|
-
for (
|
|
645
|
-
args[
|
|
647
|
+
for (_len0 = _args15.length, args = new Array(_len0), _key0 = 0; _key0 < _len0; _key0++) {
|
|
648
|
+
args[_key0] = _args15[_key0];
|
|
646
649
|
}
|
|
647
|
-
return
|
|
648
|
-
var
|
|
649
|
-
return (
|
|
650
|
+
return _context15.abrupt("return", this.measurePerformance('reorderTeamLink', function () {
|
|
651
|
+
var _this12$_legionClient;
|
|
652
|
+
return (_this12$_legionClient = _this12._legionClient).reorderTeamLink.apply(_this12$_legionClient, args);
|
|
650
653
|
}));
|
|
651
654
|
case 2:
|
|
652
655
|
case "end":
|
|
653
|
-
return
|
|
656
|
+
return _context15.stop();
|
|
654
657
|
}
|
|
655
|
-
},
|
|
658
|
+
}, _callee15, this);
|
|
656
659
|
}));
|
|
657
660
|
function reorderTeamLink() {
|
|
658
661
|
return _reorderTeamLink.apply(this, arguments);
|
|
@@ -666,19 +669,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
666
669
|
}, {
|
|
667
670
|
key: "getOrgEligibilityForManagedTeams",
|
|
668
671
|
value: (function () {
|
|
669
|
-
var _getOrgEligibilityForManagedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
670
|
-
var
|
|
671
|
-
return _regenerator.default.wrap(function
|
|
672
|
-
while (1) switch (
|
|
672
|
+
var _getOrgEligibilityForManagedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
|
|
673
|
+
var _this13 = this;
|
|
674
|
+
return _regenerator.default.wrap(function _callee16$(_context16) {
|
|
675
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
673
676
|
case 0:
|
|
674
|
-
return
|
|
675
|
-
return
|
|
677
|
+
return _context16.abrupt("return", this.measurePerformance('getOrgEligibilityForManagedTeams', function () {
|
|
678
|
+
return _this13._legionClient.getOrgEligibilityForManagedTeams();
|
|
676
679
|
}));
|
|
677
680
|
case 1:
|
|
678
681
|
case "end":
|
|
679
|
-
return
|
|
682
|
+
return _context16.stop();
|
|
680
683
|
}
|
|
681
|
-
},
|
|
684
|
+
}, _callee16, this);
|
|
682
685
|
}));
|
|
683
686
|
function getOrgEligibilityForManagedTeams() {
|
|
684
687
|
return _getOrgEligibilityForManagedTeams.apply(this, arguments);
|
|
@@ -693,7 +696,76 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
693
696
|
}, {
|
|
694
697
|
key: "acceptTeamInvitation",
|
|
695
698
|
value: (function () {
|
|
696
|
-
var _acceptTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
699
|
+
var _acceptTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {
|
|
700
|
+
var _this14 = this;
|
|
701
|
+
var _len1,
|
|
702
|
+
args,
|
|
703
|
+
_key1,
|
|
704
|
+
_args17 = arguments;
|
|
705
|
+
return _regenerator.default.wrap(function _callee17$(_context17) {
|
|
706
|
+
while (1) switch (_context17.prev = _context17.next) {
|
|
707
|
+
case 0:
|
|
708
|
+
for (_len1 = _args17.length, args = new Array(_len1), _key1 = 0; _key1 < _len1; _key1++) {
|
|
709
|
+
args[_key1] = _args17[_key1];
|
|
710
|
+
}
|
|
711
|
+
return _context17.abrupt("return", this.measurePerformance('acceptTeamInvitation', function () {
|
|
712
|
+
var _this14$_legionClient;
|
|
713
|
+
return (_this14$_legionClient = _this14._legionClient).acceptTeamInvitation.apply(_this14$_legionClient, args);
|
|
714
|
+
}));
|
|
715
|
+
case 2:
|
|
716
|
+
case "end":
|
|
717
|
+
return _context17.stop();
|
|
718
|
+
}
|
|
719
|
+
}, _callee17, this);
|
|
720
|
+
}));
|
|
721
|
+
function acceptTeamInvitation() {
|
|
722
|
+
return _acceptTeamInvitation.apply(this, arguments);
|
|
723
|
+
}
|
|
724
|
+
return acceptTeamInvitation;
|
|
725
|
+
}()
|
|
726
|
+
/**
|
|
727
|
+
* @deprecated Invitation status no longer exists
|
|
728
|
+
* Decline a team invitation
|
|
729
|
+
*/
|
|
730
|
+
)
|
|
731
|
+
}, {
|
|
732
|
+
key: "declineTeamInvitation",
|
|
733
|
+
value: (function () {
|
|
734
|
+
var _declineTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18() {
|
|
735
|
+
var _this15 = this;
|
|
736
|
+
var _len10,
|
|
737
|
+
args,
|
|
738
|
+
_key10,
|
|
739
|
+
_args18 = arguments;
|
|
740
|
+
return _regenerator.default.wrap(function _callee18$(_context18) {
|
|
741
|
+
while (1) switch (_context18.prev = _context18.next) {
|
|
742
|
+
case 0:
|
|
743
|
+
for (_len10 = _args18.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
|
|
744
|
+
args[_key10] = _args18[_key10];
|
|
745
|
+
}
|
|
746
|
+
return _context18.abrupt("return", this.measurePerformance('declineTeamInvitation', function () {
|
|
747
|
+
var _this15$_legionClient;
|
|
748
|
+
return (_this15$_legionClient = _this15._legionClient).declineTeamInvitation.apply(_this15$_legionClient, args);
|
|
749
|
+
}));
|
|
750
|
+
case 2:
|
|
751
|
+
case "end":
|
|
752
|
+
return _context18.stop();
|
|
753
|
+
}
|
|
754
|
+
}, _callee18, this);
|
|
755
|
+
}));
|
|
756
|
+
function declineTeamInvitation() {
|
|
757
|
+
return _declineTeamInvitation.apply(this, arguments);
|
|
758
|
+
}
|
|
759
|
+
return declineTeamInvitation;
|
|
760
|
+
}()
|
|
761
|
+
/**
|
|
762
|
+
* Add current user to a team
|
|
763
|
+
*/
|
|
764
|
+
)
|
|
765
|
+
}, {
|
|
766
|
+
key: "selfJoinTeam",
|
|
767
|
+
value: (function () {
|
|
768
|
+
var _selfJoinTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() {
|
|
697
769
|
var _this16 = this;
|
|
698
770
|
var _len11,
|
|
699
771
|
args,
|
|
@@ -705,9 +777,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
705
777
|
for (_len11 = _args19.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
|
|
706
778
|
args[_key11] = _args19[_key11];
|
|
707
779
|
}
|
|
708
|
-
return _context19.abrupt("return", this.measurePerformance('
|
|
780
|
+
return _context19.abrupt("return", this.measurePerformance('selfJoinTeam', function () {
|
|
709
781
|
var _this16$_legionClient;
|
|
710
|
-
return (_this16$_legionClient = _this16._legionClient).
|
|
782
|
+
return (_this16$_legionClient = _this16._legionClient).selfJoinTeam.apply(_this16$_legionClient, args);
|
|
711
783
|
}));
|
|
712
784
|
case 2:
|
|
713
785
|
case "end":
|
|
@@ -715,68 +787,59 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
715
787
|
}
|
|
716
788
|
}, _callee19, this);
|
|
717
789
|
}));
|
|
718
|
-
function
|
|
719
|
-
return
|
|
790
|
+
function selfJoinTeam() {
|
|
791
|
+
return _selfJoinTeam.apply(this, arguments);
|
|
720
792
|
}
|
|
721
|
-
return
|
|
793
|
+
return selfJoinTeam;
|
|
722
794
|
}()
|
|
723
795
|
/**
|
|
724
|
-
*
|
|
725
|
-
* Decline a team invitation
|
|
796
|
+
* Cancel a join request to a private team
|
|
726
797
|
*/
|
|
727
798
|
)
|
|
728
799
|
}, {
|
|
729
|
-
key: "
|
|
800
|
+
key: "cancelJoinRequest",
|
|
730
801
|
value: (function () {
|
|
731
|
-
var
|
|
802
|
+
var _cancelJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20(teamId) {
|
|
732
803
|
var _this17 = this;
|
|
733
|
-
var _len12,
|
|
734
|
-
args,
|
|
735
|
-
_key12,
|
|
736
|
-
_args20 = arguments;
|
|
737
804
|
return _regenerator.default.wrap(function _callee20$(_context20) {
|
|
738
805
|
while (1) switch (_context20.prev = _context20.next) {
|
|
739
806
|
case 0:
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
}
|
|
743
|
-
return _context20.abrupt("return", this.measurePerformance('declineTeamInvitation', function () {
|
|
744
|
-
var _this17$_legionClient;
|
|
745
|
-
return (_this17$_legionClient = _this17._legionClient).declineTeamInvitation.apply(_this17$_legionClient, args);
|
|
807
|
+
return _context20.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
|
|
808
|
+
return _this17._legionClient.cancelJoinRequest(teamId);
|
|
746
809
|
}));
|
|
747
|
-
case
|
|
810
|
+
case 1:
|
|
748
811
|
case "end":
|
|
749
812
|
return _context20.stop();
|
|
750
813
|
}
|
|
751
814
|
}, _callee20, this);
|
|
752
815
|
}));
|
|
753
|
-
function
|
|
754
|
-
return
|
|
816
|
+
function cancelJoinRequest(_x9) {
|
|
817
|
+
return _cancelJoinRequest.apply(this, arguments);
|
|
755
818
|
}
|
|
756
|
-
return
|
|
819
|
+
return cancelJoinRequest;
|
|
757
820
|
}()
|
|
758
821
|
/**
|
|
759
|
-
*
|
|
822
|
+
* Accept a join request to a private team
|
|
760
823
|
*/
|
|
761
824
|
)
|
|
762
825
|
}, {
|
|
763
|
-
key: "
|
|
826
|
+
key: "acceptJoinRequest",
|
|
764
827
|
value: (function () {
|
|
765
|
-
var
|
|
828
|
+
var _acceptJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21() {
|
|
766
829
|
var _this18 = this;
|
|
767
|
-
var
|
|
830
|
+
var _len12,
|
|
768
831
|
args,
|
|
769
|
-
|
|
832
|
+
_key12,
|
|
770
833
|
_args21 = arguments;
|
|
771
834
|
return _regenerator.default.wrap(function _callee21$(_context21) {
|
|
772
835
|
while (1) switch (_context21.prev = _context21.next) {
|
|
773
836
|
case 0:
|
|
774
|
-
for (
|
|
775
|
-
args[
|
|
837
|
+
for (_len12 = _args21.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
|
|
838
|
+
args[_key12] = _args21[_key12];
|
|
776
839
|
}
|
|
777
|
-
return _context21.abrupt("return", this.measurePerformance('
|
|
840
|
+
return _context21.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
|
|
778
841
|
var _this18$_legionClient;
|
|
779
|
-
return (_this18$_legionClient = _this18._legionClient).
|
|
842
|
+
return (_this18$_legionClient = _this18._legionClient).acceptJoinRequest.apply(_this18$_legionClient, args);
|
|
780
843
|
}));
|
|
781
844
|
case 2:
|
|
782
845
|
case "end":
|
|
@@ -784,45 +847,53 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
784
847
|
}
|
|
785
848
|
}, _callee21, this);
|
|
786
849
|
}));
|
|
787
|
-
function
|
|
788
|
-
return
|
|
850
|
+
function acceptJoinRequest() {
|
|
851
|
+
return _acceptJoinRequest.apply(this, arguments);
|
|
789
852
|
}
|
|
790
|
-
return
|
|
853
|
+
return acceptJoinRequest;
|
|
791
854
|
}()
|
|
792
855
|
/**
|
|
793
|
-
*
|
|
856
|
+
* Decline a join request to a private team
|
|
794
857
|
*/
|
|
795
858
|
)
|
|
796
859
|
}, {
|
|
797
|
-
key: "
|
|
860
|
+
key: "declineJoinRequest",
|
|
798
861
|
value: (function () {
|
|
799
|
-
var
|
|
862
|
+
var _declineJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22() {
|
|
800
863
|
var _this19 = this;
|
|
864
|
+
var _len13,
|
|
865
|
+
args,
|
|
866
|
+
_key13,
|
|
867
|
+
_args22 = arguments;
|
|
801
868
|
return _regenerator.default.wrap(function _callee22$(_context22) {
|
|
802
869
|
while (1) switch (_context22.prev = _context22.next) {
|
|
803
870
|
case 0:
|
|
804
|
-
|
|
805
|
-
|
|
871
|
+
for (_len13 = _args22.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
|
|
872
|
+
args[_key13] = _args22[_key13];
|
|
873
|
+
}
|
|
874
|
+
return _context22.abrupt("return", this.measurePerformance('declineJoinRequest', function () {
|
|
875
|
+
var _this19$_legionClient;
|
|
876
|
+
return (_this19$_legionClient = _this19._legionClient).declineJoinRequest.apply(_this19$_legionClient, args);
|
|
806
877
|
}));
|
|
807
|
-
case
|
|
878
|
+
case 2:
|
|
808
879
|
case "end":
|
|
809
880
|
return _context22.stop();
|
|
810
881
|
}
|
|
811
882
|
}, _callee22, this);
|
|
812
883
|
}));
|
|
813
|
-
function
|
|
814
|
-
return
|
|
884
|
+
function declineJoinRequest() {
|
|
885
|
+
return _declineJoinRequest.apply(this, arguments);
|
|
815
886
|
}
|
|
816
|
-
return
|
|
887
|
+
return declineJoinRequest;
|
|
817
888
|
}()
|
|
818
889
|
/**
|
|
819
|
-
*
|
|
890
|
+
* @deprecated use removeTeamMemberships instead
|
|
820
891
|
*/
|
|
821
892
|
)
|
|
822
893
|
}, {
|
|
823
|
-
key: "
|
|
894
|
+
key: "deleteTeamMembership",
|
|
824
895
|
value: (function () {
|
|
825
|
-
var
|
|
896
|
+
var _deleteTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() {
|
|
826
897
|
var _this20 = this;
|
|
827
898
|
var _len14,
|
|
828
899
|
args,
|
|
@@ -834,9 +905,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
834
905
|
for (_len14 = _args23.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
|
|
835
906
|
args[_key14] = _args23[_key14];
|
|
836
907
|
}
|
|
837
|
-
return _context23.abrupt("return", this.measurePerformance('
|
|
908
|
+
return _context23.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
|
|
838
909
|
var _this20$_legionClient;
|
|
839
|
-
return (_this20$_legionClient = _this20._legionClient).
|
|
910
|
+
return (_this20$_legionClient = _this20._legionClient).deleteTeamMembership.apply(_this20$_legionClient, args);
|
|
840
911
|
}));
|
|
841
912
|
case 2:
|
|
842
913
|
case "end":
|
|
@@ -844,19 +915,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
844
915
|
}
|
|
845
916
|
}, _callee23, this);
|
|
846
917
|
}));
|
|
847
|
-
function
|
|
848
|
-
return
|
|
918
|
+
function deleteTeamMembership() {
|
|
919
|
+
return _deleteTeamMembership.apply(this, arguments);
|
|
849
920
|
}
|
|
850
|
-
return
|
|
921
|
+
return deleteTeamMembership;
|
|
851
922
|
}()
|
|
852
923
|
/**
|
|
853
|
-
*
|
|
924
|
+
* @deprecated INVITED status has been deprecated
|
|
854
925
|
*/
|
|
855
926
|
)
|
|
856
927
|
}, {
|
|
857
|
-
key: "
|
|
928
|
+
key: "revokeTeamInvite",
|
|
858
929
|
value: (function () {
|
|
859
|
-
var
|
|
930
|
+
var _revokeTeamInvite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
|
|
860
931
|
var _this21 = this;
|
|
861
932
|
var _len15,
|
|
862
933
|
args,
|
|
@@ -868,9 +939,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
868
939
|
for (_len15 = _args24.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
|
|
869
940
|
args[_key15] = _args24[_key15];
|
|
870
941
|
}
|
|
871
|
-
return _context24.abrupt("return", this.measurePerformance('
|
|
942
|
+
return _context24.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
|
|
872
943
|
var _this21$_legionClient;
|
|
873
|
-
return (_this21$_legionClient = _this21._legionClient).
|
|
944
|
+
return (_this21$_legionClient = _this21._legionClient).revokeTeamInvite.apply(_this21$_legionClient, args);
|
|
874
945
|
}));
|
|
875
946
|
case 2:
|
|
876
947
|
case "end":
|
|
@@ -878,137 +949,139 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
878
949
|
}
|
|
879
950
|
}, _callee24, this);
|
|
880
951
|
}));
|
|
881
|
-
function
|
|
882
|
-
return
|
|
952
|
+
function revokeTeamInvite() {
|
|
953
|
+
return _revokeTeamInvite.apply(this, arguments);
|
|
883
954
|
}
|
|
884
|
-
return
|
|
955
|
+
return revokeTeamInvite;
|
|
885
956
|
}()
|
|
886
957
|
/**
|
|
887
|
-
*
|
|
958
|
+
* Delete a team
|
|
888
959
|
*/
|
|
889
960
|
)
|
|
890
961
|
}, {
|
|
891
|
-
key: "
|
|
962
|
+
key: "deleteTeam",
|
|
892
963
|
value: (function () {
|
|
893
|
-
var
|
|
964
|
+
var _deleteTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25(teamId) {
|
|
894
965
|
var _this22 = this;
|
|
895
|
-
var _len16,
|
|
896
|
-
args,
|
|
897
|
-
_key16,
|
|
898
|
-
_args25 = arguments;
|
|
899
966
|
return _regenerator.default.wrap(function _callee25$(_context25) {
|
|
900
967
|
while (1) switch (_context25.prev = _context25.next) {
|
|
901
968
|
case 0:
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
}
|
|
905
|
-
return _context25.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
|
|
906
|
-
var _this22$_legionClient;
|
|
907
|
-
return (_this22$_legionClient = _this22._legionClient).deleteTeamMembership.apply(_this22$_legionClient, args);
|
|
969
|
+
return _context25.abrupt("return", this.measurePerformance('deleteTeam', function () {
|
|
970
|
+
return _this22._legionClient.deleteTeam(teamId);
|
|
908
971
|
}));
|
|
909
|
-
case
|
|
972
|
+
case 1:
|
|
910
973
|
case "end":
|
|
911
974
|
return _context25.stop();
|
|
912
975
|
}
|
|
913
976
|
}, _callee25, this);
|
|
914
977
|
}));
|
|
915
|
-
function
|
|
916
|
-
return
|
|
978
|
+
function deleteTeam(_x0) {
|
|
979
|
+
return _deleteTeam.apply(this, arguments);
|
|
917
980
|
}
|
|
918
|
-
return
|
|
981
|
+
return deleteTeam;
|
|
919
982
|
}()
|
|
920
983
|
/**
|
|
921
|
-
* @
|
|
984
|
+
* @private
|
|
985
|
+
* @deprecated should be other means to solve this issue
|
|
922
986
|
*/
|
|
923
987
|
)
|
|
924
988
|
}, {
|
|
925
|
-
key: "
|
|
989
|
+
key: "isSingleFullMemberTeam",
|
|
926
990
|
value: (function () {
|
|
927
|
-
var
|
|
928
|
-
var _this23 = this;
|
|
929
|
-
var _len17,
|
|
930
|
-
args,
|
|
931
|
-
_key17,
|
|
932
|
-
_args26 = arguments;
|
|
991
|
+
var _isSingleFullMemberTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26(teamId) {
|
|
933
992
|
return _regenerator.default.wrap(function _callee26$(_context26) {
|
|
934
993
|
while (1) switch (_context26.prev = _context26.next) {
|
|
935
994
|
case 0:
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
}
|
|
939
|
-
return _context26.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
|
|
940
|
-
var _this23$_legionClient;
|
|
941
|
-
return (_this23$_legionClient = _this23._legionClient).revokeTeamInvite.apply(_this23$_legionClient, args);
|
|
942
|
-
}));
|
|
943
|
-
case 2:
|
|
995
|
+
return _context26.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
|
|
996
|
+
case 1:
|
|
944
997
|
case "end":
|
|
945
998
|
return _context26.stop();
|
|
946
999
|
}
|
|
947
1000
|
}, _callee26, this);
|
|
948
1001
|
}));
|
|
949
|
-
function
|
|
950
|
-
return
|
|
1002
|
+
function isSingleFullMemberTeam(_x1) {
|
|
1003
|
+
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
951
1004
|
}
|
|
952
|
-
return
|
|
1005
|
+
return isSingleFullMemberTeam;
|
|
953
1006
|
}()
|
|
954
1007
|
/**
|
|
955
|
-
*
|
|
1008
|
+
* Create a team
|
|
956
1009
|
*/
|
|
957
1010
|
)
|
|
958
1011
|
}, {
|
|
959
|
-
key: "
|
|
1012
|
+
key: "createTeam",
|
|
960
1013
|
value: (function () {
|
|
961
|
-
var
|
|
962
|
-
var
|
|
1014
|
+
var _createTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27() {
|
|
1015
|
+
var _this23 = this;
|
|
1016
|
+
var _len16,
|
|
1017
|
+
args,
|
|
1018
|
+
_key16,
|
|
1019
|
+
_args27 = arguments;
|
|
963
1020
|
return _regenerator.default.wrap(function _callee27$(_context27) {
|
|
964
1021
|
while (1) switch (_context27.prev = _context27.next) {
|
|
965
1022
|
case 0:
|
|
966
|
-
|
|
967
|
-
|
|
1023
|
+
for (_len16 = _args27.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
|
|
1024
|
+
args[_key16] = _args27[_key16];
|
|
1025
|
+
}
|
|
1026
|
+
return _context27.abrupt("return", this.measurePerformance('createTeam', function () {
|
|
1027
|
+
var _this23$_legionClient;
|
|
1028
|
+
return (_this23$_legionClient = _this23._legionClient).createTeam.apply(_this23$_legionClient, args);
|
|
968
1029
|
}));
|
|
969
|
-
case
|
|
1030
|
+
case 2:
|
|
970
1031
|
case "end":
|
|
971
1032
|
return _context27.stop();
|
|
972
1033
|
}
|
|
973
1034
|
}, _callee27, this);
|
|
974
1035
|
}));
|
|
975
|
-
function
|
|
976
|
-
return
|
|
1036
|
+
function createTeam() {
|
|
1037
|
+
return _createTeam.apply(this, arguments);
|
|
977
1038
|
}
|
|
978
|
-
return
|
|
1039
|
+
return createTeam;
|
|
979
1040
|
}()
|
|
980
1041
|
/**
|
|
981
|
-
*
|
|
982
|
-
* @deprecated should be other means to solve this issue
|
|
1042
|
+
* Create containers for a team
|
|
983
1043
|
*/
|
|
984
1044
|
)
|
|
985
1045
|
}, {
|
|
986
|
-
key: "
|
|
1046
|
+
key: "createTeamContainers",
|
|
987
1047
|
value: (function () {
|
|
988
|
-
var
|
|
1048
|
+
var _createTeamContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28() {
|
|
1049
|
+
var _this24 = this;
|
|
1050
|
+
var _len17,
|
|
1051
|
+
args,
|
|
1052
|
+
_key17,
|
|
1053
|
+
_args28 = arguments;
|
|
989
1054
|
return _regenerator.default.wrap(function _callee28$(_context28) {
|
|
990
1055
|
while (1) switch (_context28.prev = _context28.next) {
|
|
991
1056
|
case 0:
|
|
992
|
-
|
|
993
|
-
|
|
1057
|
+
for (_len17 = _args28.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
|
|
1058
|
+
args[_key17] = _args28[_key17];
|
|
1059
|
+
}
|
|
1060
|
+
return _context28.abrupt("return", this.measurePerformance('createTeamContainers', function () {
|
|
1061
|
+
var _this24$_legionClient;
|
|
1062
|
+
return (_this24$_legionClient = _this24._legionClient).createTeamContainers.apply(_this24$_legionClient, args);
|
|
1063
|
+
}));
|
|
1064
|
+
case 2:
|
|
994
1065
|
case "end":
|
|
995
1066
|
return _context28.stop();
|
|
996
1067
|
}
|
|
997
1068
|
}, _callee28, this);
|
|
998
1069
|
}));
|
|
999
|
-
function
|
|
1000
|
-
return
|
|
1070
|
+
function createTeamContainers() {
|
|
1071
|
+
return _createTeamContainers.apply(this, arguments);
|
|
1001
1072
|
}
|
|
1002
|
-
return
|
|
1073
|
+
return createTeamContainers;
|
|
1003
1074
|
}()
|
|
1004
1075
|
/**
|
|
1005
|
-
* Create a team
|
|
1076
|
+
* Create a external team
|
|
1077
|
+
* @param {string} groupDescription - The description of the group, which will be used as the team description. The group name will be fetched from the identity service, so it does not need to be provided.
|
|
1078
|
+
* @param {ExternalReference} externalReference
|
|
1006
1079
|
*/
|
|
1007
1080
|
)
|
|
1008
1081
|
}, {
|
|
1009
|
-
key: "
|
|
1082
|
+
key: "createExternalTeam",
|
|
1010
1083
|
value: (function () {
|
|
1011
|
-
var
|
|
1084
|
+
var _createExternalTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29() {
|
|
1012
1085
|
var _this25 = this;
|
|
1013
1086
|
var _len18,
|
|
1014
1087
|
args,
|
|
@@ -1020,9 +1093,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1020
1093
|
for (_len18 = _args29.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
|
|
1021
1094
|
args[_key18] = _args29[_key18];
|
|
1022
1095
|
}
|
|
1023
|
-
return _context29.abrupt("return", this.measurePerformance('
|
|
1096
|
+
return _context29.abrupt("return", this.measurePerformance('createExternalTeam', function () {
|
|
1024
1097
|
var _this25$_legionClient;
|
|
1025
|
-
return (_this25$_legionClient = _this25._legionClient).
|
|
1098
|
+
return (_this25$_legionClient = _this25._legionClient).createExternalTeam.apply(_this25$_legionClient, args);
|
|
1026
1099
|
}));
|
|
1027
1100
|
case 2:
|
|
1028
1101
|
case "end":
|
|
@@ -1030,21 +1103,20 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1030
1103
|
}
|
|
1031
1104
|
}, _callee29, this);
|
|
1032
1105
|
}));
|
|
1033
|
-
function
|
|
1034
|
-
return
|
|
1106
|
+
function createExternalTeam() {
|
|
1107
|
+
return _createExternalTeam.apply(this, arguments);
|
|
1035
1108
|
}
|
|
1036
|
-
return
|
|
1109
|
+
return createExternalTeam;
|
|
1037
1110
|
}()
|
|
1038
1111
|
/**
|
|
1039
|
-
*
|
|
1040
|
-
* @param {string}
|
|
1041
|
-
* @param {ExternalReference} externalReference
|
|
1112
|
+
* Get linked teams for a groups in bulk
|
|
1113
|
+
* @param {string} groupIds - The group ids to fetch linked teams for
|
|
1042
1114
|
*/
|
|
1043
1115
|
)
|
|
1044
1116
|
}, {
|
|
1045
|
-
key: "
|
|
1117
|
+
key: "getLinkedTeamsBulk",
|
|
1046
1118
|
value: (function () {
|
|
1047
|
-
var
|
|
1119
|
+
var _getLinkedTeamsBulk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30() {
|
|
1048
1120
|
var _this26 = this;
|
|
1049
1121
|
var _len19,
|
|
1050
1122
|
args,
|
|
@@ -1056,9 +1128,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1056
1128
|
for (_len19 = _args30.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
|
|
1057
1129
|
args[_key19] = _args30[_key19];
|
|
1058
1130
|
}
|
|
1059
|
-
return _context30.abrupt("return", this.measurePerformance('
|
|
1131
|
+
return _context30.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
|
|
1060
1132
|
var _this26$_legionClient;
|
|
1061
|
-
return (_this26$_legionClient = _this26._legionClient).
|
|
1133
|
+
return (_this26$_legionClient = _this26._legionClient).getLinkedTeamsBulk.apply(_this26$_legionClient, args);
|
|
1062
1134
|
}));
|
|
1063
1135
|
case 2:
|
|
1064
1136
|
case "end":
|
|
@@ -1066,20 +1138,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1066
1138
|
}
|
|
1067
1139
|
}, _callee30, this);
|
|
1068
1140
|
}));
|
|
1069
|
-
function
|
|
1070
|
-
return
|
|
1141
|
+
function getLinkedTeamsBulk() {
|
|
1142
|
+
return _getLinkedTeamsBulk.apply(this, arguments);
|
|
1071
1143
|
}
|
|
1072
|
-
return
|
|
1144
|
+
return getLinkedTeamsBulk;
|
|
1073
1145
|
}()
|
|
1074
1146
|
/**
|
|
1075
|
-
* Get
|
|
1076
|
-
* @param {string} groupIds - The group ids to fetch linked teams for
|
|
1147
|
+
* Get Org scope
|
|
1077
1148
|
*/
|
|
1078
1149
|
)
|
|
1079
1150
|
}, {
|
|
1080
|
-
key: "
|
|
1151
|
+
key: "getOrgScope",
|
|
1081
1152
|
value: (function () {
|
|
1082
|
-
var
|
|
1153
|
+
var _getOrgScope = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31() {
|
|
1083
1154
|
var _this27 = this;
|
|
1084
1155
|
var _len20,
|
|
1085
1156
|
args,
|
|
@@ -1091,9 +1162,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1091
1162
|
for (_len20 = _args31.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
|
|
1092
1163
|
args[_key20] = _args31[_key20];
|
|
1093
1164
|
}
|
|
1094
|
-
return _context31.abrupt("return", this.measurePerformance('
|
|
1165
|
+
return _context31.abrupt("return", this.measurePerformance('getOrgScope', function () {
|
|
1095
1166
|
var _this27$_legionClient;
|
|
1096
|
-
return (_this27$_legionClient = _this27._legionClient).
|
|
1167
|
+
return (_this27$_legionClient = _this27._legionClient).getOrgScope.apply(_this27$_legionClient, args);
|
|
1097
1168
|
}));
|
|
1098
1169
|
case 2:
|
|
1099
1170
|
case "end":
|
|
@@ -1101,19 +1172,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1101
1172
|
}
|
|
1102
1173
|
}, _callee31, this);
|
|
1103
1174
|
}));
|
|
1104
|
-
function
|
|
1105
|
-
return
|
|
1175
|
+
function getOrgScope() {
|
|
1176
|
+
return _getOrgScope.apply(this, arguments);
|
|
1106
1177
|
}
|
|
1107
|
-
return
|
|
1178
|
+
return getOrgScope;
|
|
1108
1179
|
}()
|
|
1109
1180
|
/**
|
|
1110
|
-
*
|
|
1181
|
+
* Restore soft-deleted team and sync to group
|
|
1111
1182
|
*/
|
|
1112
1183
|
)
|
|
1113
1184
|
}, {
|
|
1114
|
-
key: "
|
|
1185
|
+
key: "restoreTeamToSyncedGroup",
|
|
1115
1186
|
value: (function () {
|
|
1116
|
-
var
|
|
1187
|
+
var _restoreTeamToSyncedGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32() {
|
|
1117
1188
|
var _this28 = this;
|
|
1118
1189
|
var _len21,
|
|
1119
1190
|
args,
|
|
@@ -1125,9 +1196,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1125
1196
|
for (_len21 = _args32.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
|
|
1126
1197
|
args[_key21] = _args32[_key21];
|
|
1127
1198
|
}
|
|
1128
|
-
return _context32.abrupt("return", this.measurePerformance('
|
|
1199
|
+
return _context32.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
|
|
1129
1200
|
var _this28$_legionClient;
|
|
1130
|
-
return (_this28$_legionClient = _this28._legionClient).
|
|
1201
|
+
return (_this28$_legionClient = _this28._legionClient).restoreTeamToSyncedGroup.apply(_this28$_legionClient, args);
|
|
1131
1202
|
}));
|
|
1132
1203
|
case 2:
|
|
1133
1204
|
case "end":
|
|
@@ -1135,19 +1206,22 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1135
1206
|
}
|
|
1136
1207
|
}, _callee32, this);
|
|
1137
1208
|
}));
|
|
1138
|
-
function
|
|
1139
|
-
return
|
|
1209
|
+
function restoreTeamToSyncedGroup() {
|
|
1210
|
+
return _restoreTeamToSyncedGroup.apply(this, arguments);
|
|
1140
1211
|
}
|
|
1141
|
-
return
|
|
1212
|
+
return restoreTeamToSyncedGroup;
|
|
1142
1213
|
}()
|
|
1143
1214
|
/**
|
|
1144
|
-
*
|
|
1215
|
+
* Get the difference between a team and a group
|
|
1216
|
+
* @param teamId
|
|
1217
|
+
* @param {ExternalReference} externalReference
|
|
1218
|
+
* @returns {Promise<TeamAndGroupDifference>}
|
|
1145
1219
|
*/
|
|
1146
1220
|
)
|
|
1147
1221
|
}, {
|
|
1148
|
-
key: "
|
|
1222
|
+
key: "getTeamAndGroupDiff",
|
|
1149
1223
|
value: (function () {
|
|
1150
|
-
var
|
|
1224
|
+
var _getTeamAndGroupDiff = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33() {
|
|
1151
1225
|
var _this29 = this;
|
|
1152
1226
|
var _len22,
|
|
1153
1227
|
args,
|
|
@@ -1159,9 +1233,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1159
1233
|
for (_len22 = _args33.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
|
|
1160
1234
|
args[_key22] = _args33[_key22];
|
|
1161
1235
|
}
|
|
1162
|
-
return _context33.abrupt("return", this.measurePerformance('
|
|
1236
|
+
return _context33.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
|
|
1163
1237
|
var _this29$_legionClient;
|
|
1164
|
-
return (_this29$_legionClient = _this29._legionClient).
|
|
1238
|
+
return (_this29$_legionClient = _this29._legionClient).getTeamAndGroupDiff.apply(_this29$_legionClient, args);
|
|
1165
1239
|
}));
|
|
1166
1240
|
case 2:
|
|
1167
1241
|
case "end":
|
|
@@ -1169,22 +1243,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1169
1243
|
}
|
|
1170
1244
|
}, _callee33, this);
|
|
1171
1245
|
}));
|
|
1172
|
-
function
|
|
1173
|
-
return
|
|
1246
|
+
function getTeamAndGroupDiff() {
|
|
1247
|
+
return _getTeamAndGroupDiff.apply(this, arguments);
|
|
1174
1248
|
}
|
|
1175
|
-
return
|
|
1249
|
+
return getTeamAndGroupDiff;
|
|
1176
1250
|
}()
|
|
1177
1251
|
/**
|
|
1178
|
-
*
|
|
1252
|
+
* Link an existing team to a group
|
|
1179
1253
|
* @param teamId
|
|
1180
1254
|
* @param {ExternalReference} externalReference
|
|
1181
|
-
* @returns {Promise<TeamAndGroupDifference>}
|
|
1182
1255
|
*/
|
|
1183
1256
|
)
|
|
1184
1257
|
}, {
|
|
1185
|
-
key: "
|
|
1258
|
+
key: "linkExistingTeamToGroup",
|
|
1186
1259
|
value: (function () {
|
|
1187
|
-
var
|
|
1260
|
+
var _linkExistingTeamToGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34() {
|
|
1188
1261
|
var _this30 = this;
|
|
1189
1262
|
var _len23,
|
|
1190
1263
|
args,
|
|
@@ -1196,9 +1269,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1196
1269
|
for (_len23 = _args34.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
|
|
1197
1270
|
args[_key23] = _args34[_key23];
|
|
1198
1271
|
}
|
|
1199
|
-
return _context34.abrupt("return", this.measurePerformance('
|
|
1272
|
+
return _context34.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
|
|
1200
1273
|
var _this30$_legionClient;
|
|
1201
|
-
return (_this30$_legionClient = _this30._legionClient).
|
|
1274
|
+
return (_this30$_legionClient = _this30._legionClient).linkExistingTeamToGroup.apply(_this30$_legionClient, args);
|
|
1202
1275
|
}));
|
|
1203
1276
|
case 2:
|
|
1204
1277
|
case "end":
|
|
@@ -1206,21 +1279,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1206
1279
|
}
|
|
1207
1280
|
}, _callee34, this);
|
|
1208
1281
|
}));
|
|
1209
|
-
function
|
|
1210
|
-
return
|
|
1282
|
+
function linkExistingTeamToGroup() {
|
|
1283
|
+
return _linkExistingTeamToGroup.apply(this, arguments);
|
|
1211
1284
|
}
|
|
1212
|
-
return
|
|
1285
|
+
return linkExistingTeamToGroup;
|
|
1213
1286
|
}()
|
|
1214
1287
|
/**
|
|
1215
|
-
*
|
|
1288
|
+
*
|
|
1216
1289
|
* @param teamId
|
|
1217
|
-
* @
|
|
1290
|
+
* @returns {Promise<LinkedTeamsProfileDetails>}
|
|
1218
1291
|
*/
|
|
1219
1292
|
)
|
|
1220
1293
|
}, {
|
|
1221
|
-
key: "
|
|
1294
|
+
key: "getTeamProfileDetailsByTeamId",
|
|
1222
1295
|
value: (function () {
|
|
1223
|
-
var
|
|
1296
|
+
var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35() {
|
|
1224
1297
|
var _this31 = this;
|
|
1225
1298
|
var _len24,
|
|
1226
1299
|
args,
|
|
@@ -1232,9 +1305,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1232
1305
|
for (_len24 = _args35.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
|
|
1233
1306
|
args[_key24] = _args35[_key24];
|
|
1234
1307
|
}
|
|
1235
|
-
return _context35.abrupt("return", this.measurePerformance('
|
|
1308
|
+
return _context35.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
|
|
1236
1309
|
var _this31$_legionClient;
|
|
1237
|
-
return (_this31$_legionClient = _this31._legionClient).
|
|
1310
|
+
return (_this31$_legionClient = _this31._legionClient).getTeamProfileDetails.apply(_this31$_legionClient, args);
|
|
1238
1311
|
}));
|
|
1239
1312
|
case 2:
|
|
1240
1313
|
case "end":
|
|
@@ -1242,42 +1315,6 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1242
1315
|
}
|
|
1243
1316
|
}, _callee35, this);
|
|
1244
1317
|
}));
|
|
1245
|
-
function linkExistingTeamToGroup() {
|
|
1246
|
-
return _linkExistingTeamToGroup.apply(this, arguments);
|
|
1247
|
-
}
|
|
1248
|
-
return linkExistingTeamToGroup;
|
|
1249
|
-
}()
|
|
1250
|
-
/**
|
|
1251
|
-
*
|
|
1252
|
-
* @param teamId
|
|
1253
|
-
* @returns {Promise<LinkedTeamsProfileDetails>}
|
|
1254
|
-
*/
|
|
1255
|
-
)
|
|
1256
|
-
}, {
|
|
1257
|
-
key: "getTeamProfileDetailsByTeamId",
|
|
1258
|
-
value: (function () {
|
|
1259
|
-
var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36() {
|
|
1260
|
-
var _this32 = this;
|
|
1261
|
-
var _len25,
|
|
1262
|
-
args,
|
|
1263
|
-
_key25,
|
|
1264
|
-
_args36 = arguments;
|
|
1265
|
-
return _regenerator.default.wrap(function _callee36$(_context36) {
|
|
1266
|
-
while (1) switch (_context36.prev = _context36.next) {
|
|
1267
|
-
case 0:
|
|
1268
|
-
for (_len25 = _args36.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
|
|
1269
|
-
args[_key25] = _args36[_key25];
|
|
1270
|
-
}
|
|
1271
|
-
return _context36.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
|
|
1272
|
-
var _this32$_legionClient;
|
|
1273
|
-
return (_this32$_legionClient = _this32._legionClient).getTeamProfileDetails.apply(_this32$_legionClient, args);
|
|
1274
|
-
}));
|
|
1275
|
-
case 2:
|
|
1276
|
-
case "end":
|
|
1277
|
-
return _context36.stop();
|
|
1278
|
-
}
|
|
1279
|
-
}, _callee36, this);
|
|
1280
|
-
}));
|
|
1281
1318
|
function getTeamProfileDetailsByTeamId() {
|
|
1282
1319
|
return _getTeamProfileDetailsByTeamId.apply(this, arguments);
|
|
1283
1320
|
}
|
|
@@ -1292,21 +1329,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1292
1329
|
}, {
|
|
1293
1330
|
key: "getSoftDeletdTeamById",
|
|
1294
1331
|
value: (function () {
|
|
1295
|
-
var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1296
|
-
var
|
|
1297
|
-
return _regenerator.default.wrap(function
|
|
1298
|
-
while (1) switch (
|
|
1332
|
+
var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36(teamId) {
|
|
1333
|
+
var _this32 = this;
|
|
1334
|
+
return _regenerator.default.wrap(function _callee36$(_context36) {
|
|
1335
|
+
while (1) switch (_context36.prev = _context36.next) {
|
|
1299
1336
|
case 0:
|
|
1300
|
-
return
|
|
1301
|
-
return
|
|
1337
|
+
return _context36.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
|
|
1338
|
+
return _this32._legionClient.getSoftDeletedTeamById(teamId);
|
|
1302
1339
|
}));
|
|
1303
1340
|
case 1:
|
|
1304
1341
|
case "end":
|
|
1305
|
-
return
|
|
1342
|
+
return _context36.stop();
|
|
1306
1343
|
}
|
|
1307
|
-
},
|
|
1344
|
+
}, _callee36, this);
|
|
1308
1345
|
}));
|
|
1309
|
-
function getSoftDeletdTeamById(
|
|
1346
|
+
function getSoftDeletdTeamById(_x10) {
|
|
1310
1347
|
return _getSoftDeletdTeamById.apply(this, arguments);
|
|
1311
1348
|
}
|
|
1312
1349
|
return getSoftDeletdTeamById;
|
|
@@ -1320,21 +1357,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1320
1357
|
}, {
|
|
1321
1358
|
key: "getUserInSiteUserBase",
|
|
1322
1359
|
value: (function () {
|
|
1323
|
-
var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1324
|
-
var
|
|
1325
|
-
return _regenerator.default.wrap(function
|
|
1326
|
-
while (1) switch (
|
|
1360
|
+
var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37(userId) {
|
|
1361
|
+
var _this33 = this;
|
|
1362
|
+
return _regenerator.default.wrap(function _callee37$(_context37) {
|
|
1363
|
+
while (1) switch (_context37.prev = _context37.next) {
|
|
1327
1364
|
case 0:
|
|
1328
|
-
return
|
|
1329
|
-
return
|
|
1365
|
+
return _context37.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
|
|
1366
|
+
return _this33._legionClient.getUserInSiteUserBase(userId);
|
|
1330
1367
|
}));
|
|
1331
1368
|
case 1:
|
|
1332
1369
|
case "end":
|
|
1333
|
-
return
|
|
1370
|
+
return _context37.stop();
|
|
1334
1371
|
}
|
|
1335
|
-
},
|
|
1372
|
+
}, _callee37, this);
|
|
1336
1373
|
}));
|
|
1337
|
-
function getUserInSiteUserBase(
|
|
1374
|
+
function getUserInSiteUserBase(_x11) {
|
|
1338
1375
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
1339
1376
|
}
|
|
1340
1377
|
return getUserInSiteUserBase;
|
|
@@ -1352,27 +1389,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1352
1389
|
}, {
|
|
1353
1390
|
key: "getProfileWithMutability",
|
|
1354
1391
|
value: (function () {
|
|
1355
|
-
var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1356
|
-
var
|
|
1357
|
-
var
|
|
1392
|
+
var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38() {
|
|
1393
|
+
var _this34 = this;
|
|
1394
|
+
var _len25,
|
|
1358
1395
|
args,
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
return _regenerator.default.wrap(function
|
|
1362
|
-
while (1) switch (
|
|
1396
|
+
_key25,
|
|
1397
|
+
_args38 = arguments;
|
|
1398
|
+
return _regenerator.default.wrap(function _callee38$(_context38) {
|
|
1399
|
+
while (1) switch (_context38.prev = _context38.next) {
|
|
1363
1400
|
case 0:
|
|
1364
|
-
for (
|
|
1365
|
-
args[
|
|
1401
|
+
for (_len25 = _args38.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
|
|
1402
|
+
args[_key25] = _args38[_key25];
|
|
1366
1403
|
}
|
|
1367
|
-
return
|
|
1368
|
-
var
|
|
1369
|
-
return (
|
|
1404
|
+
return _context38.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
|
|
1405
|
+
var _this34$_mutabilityCl;
|
|
1406
|
+
return (_this34$_mutabilityCl = _this34._mutabilityClient).getProfileWithMutability.apply(_this34$_mutabilityCl, args);
|
|
1370
1407
|
}));
|
|
1371
1408
|
case 2:
|
|
1372
1409
|
case "end":
|
|
1373
|
-
return
|
|
1410
|
+
return _context38.stop();
|
|
1374
1411
|
}
|
|
1375
|
-
},
|
|
1412
|
+
}, _callee38, this);
|
|
1376
1413
|
}));
|
|
1377
1414
|
function getProfileWithMutability() {
|
|
1378
1415
|
return _getProfileWithMutability.apply(this, arguments);
|
|
@@ -1386,13 +1423,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1386
1423
|
}, {
|
|
1387
1424
|
key: "getIsSiteAdmin",
|
|
1388
1425
|
value: function getIsSiteAdmin() {
|
|
1389
|
-
var
|
|
1390
|
-
for (var
|
|
1391
|
-
args[
|
|
1426
|
+
var _this35 = this;
|
|
1427
|
+
for (var _len26 = arguments.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
|
|
1428
|
+
args[_key26] = arguments[_key26];
|
|
1392
1429
|
}
|
|
1393
1430
|
return this.measurePerformance('getIsSiteAdmin', function () {
|
|
1394
|
-
var
|
|
1395
|
-
return (
|
|
1431
|
+
var _this35$_permsClient;
|
|
1432
|
+
return (_this35$_permsClient = _this35._permsClient).getIsSiteAdmin.apply(_this35$_permsClient, args);
|
|
1396
1433
|
});
|
|
1397
1434
|
}
|
|
1398
1435
|
|
|
@@ -1402,13 +1439,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1402
1439
|
}, {
|
|
1403
1440
|
key: "addUsersToTeam",
|
|
1404
1441
|
value: function addUsersToTeam() {
|
|
1405
|
-
var
|
|
1406
|
-
for (var
|
|
1407
|
-
args[
|
|
1442
|
+
var _this36 = this;
|
|
1443
|
+
for (var _len27 = arguments.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
|
|
1444
|
+
args[_key27] = arguments[_key27];
|
|
1408
1445
|
}
|
|
1409
1446
|
return this.measurePerformance('addUsersToTeam', function () {
|
|
1410
|
-
var
|
|
1411
|
-
return (
|
|
1447
|
+
var _this36$_publicApiCli;
|
|
1448
|
+
return (_this36$_publicApiCli = _this36._publicApiClient).addUsersToTeam.apply(_this36$_publicApiCli, args);
|
|
1412
1449
|
});
|
|
1413
1450
|
}
|
|
1414
1451
|
|
|
@@ -1418,13 +1455,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1418
1455
|
}, {
|
|
1419
1456
|
key: "removeTeamMemberships",
|
|
1420
1457
|
value: function removeTeamMemberships() {
|
|
1421
|
-
var
|
|
1422
|
-
for (var
|
|
1423
|
-
args[
|
|
1458
|
+
var _this37 = this;
|
|
1459
|
+
for (var _len28 = arguments.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
|
|
1460
|
+
args[_key28] = arguments[_key28];
|
|
1424
1461
|
}
|
|
1425
1462
|
return this.measurePerformance('removeTeamMemberships', function () {
|
|
1426
|
-
var
|
|
1427
|
-
return (
|
|
1463
|
+
var _this37$_publicApiCli;
|
|
1464
|
+
return (_this37$_publicApiCli = _this37._publicApiClient).removeTeamMemberships.apply(_this37$_publicApiCli, args);
|
|
1428
1465
|
});
|
|
1429
1466
|
}
|
|
1430
1467
|
|
|
@@ -1434,37 +1471,37 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1434
1471
|
}, {
|
|
1435
1472
|
key: "restoreTeam",
|
|
1436
1473
|
value: function restoreTeam() {
|
|
1437
|
-
var
|
|
1438
|
-
for (var
|
|
1439
|
-
args[
|
|
1474
|
+
var _this38 = this;
|
|
1475
|
+
for (var _len29 = arguments.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
|
|
1476
|
+
args[_key29] = arguments[_key29];
|
|
1440
1477
|
}
|
|
1441
1478
|
return this.measurePerformance('restoreTeam', function () {
|
|
1442
|
-
var
|
|
1443
|
-
return (
|
|
1479
|
+
var _this38$_publicApiCli;
|
|
1480
|
+
return (_this38$_publicApiCli = _this38._publicApiClient).restoreTeam.apply(_this38$_publicApiCli, args);
|
|
1444
1481
|
});
|
|
1445
1482
|
}
|
|
1446
1483
|
}, {
|
|
1447
1484
|
key: "getRecommendedProducts",
|
|
1448
1485
|
value: function getRecommendedProducts() {
|
|
1449
|
-
var
|
|
1450
|
-
for (var
|
|
1451
|
-
args[
|
|
1486
|
+
var _this39 = this;
|
|
1487
|
+
for (var _len30 = arguments.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
|
|
1488
|
+
args[_key30] = arguments[_key30];
|
|
1452
1489
|
}
|
|
1453
1490
|
return this.measurePerformance('getRecommendedProducts', function () {
|
|
1454
|
-
var
|
|
1455
|
-
return (
|
|
1491
|
+
var _this39$_invitationsC;
|
|
1492
|
+
return (_this39$_invitationsC = _this39._invitationsClient).getProductRecommendations.apply(_this39$_invitationsC, args);
|
|
1456
1493
|
});
|
|
1457
1494
|
}
|
|
1458
1495
|
}, {
|
|
1459
1496
|
key: "joinOrRequestDefaultAccessToProductsBulk",
|
|
1460
1497
|
value: function joinOrRequestDefaultAccessToProductsBulk() {
|
|
1461
|
-
var
|
|
1462
|
-
for (var
|
|
1463
|
-
args[
|
|
1498
|
+
var _this40 = this;
|
|
1499
|
+
for (var _len31 = arguments.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
|
|
1500
|
+
args[_key31] = arguments[_key31];
|
|
1464
1501
|
}
|
|
1465
1502
|
return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
|
|
1466
|
-
var
|
|
1467
|
-
return (
|
|
1503
|
+
var _this40$_invitationsC;
|
|
1504
|
+
return (_this40$_invitationsC = _this40._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this40$_invitationsC, args);
|
|
1468
1505
|
});
|
|
1469
1506
|
}
|
|
1470
1507
|
|
|
@@ -1474,19 +1511,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1474
1511
|
}, {
|
|
1475
1512
|
key: "getWriteTeamMediaToken",
|
|
1476
1513
|
value: (function () {
|
|
1477
|
-
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1478
|
-
var
|
|
1479
|
-
return _regenerator.default.wrap(function
|
|
1480
|
-
while (1) switch (
|
|
1514
|
+
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39() {
|
|
1515
|
+
var _this41 = this;
|
|
1516
|
+
return _regenerator.default.wrap(function _callee39$(_context39) {
|
|
1517
|
+
while (1) switch (_context39.prev = _context39.next) {
|
|
1481
1518
|
case 0:
|
|
1482
|
-
return
|
|
1483
|
-
return
|
|
1519
|
+
return _context39.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1520
|
+
return _this41._legionClient.getWriteMediaToken();
|
|
1484
1521
|
}));
|
|
1485
1522
|
case 1:
|
|
1486
1523
|
case "end":
|
|
1487
|
-
return
|
|
1524
|
+
return _context39.stop();
|
|
1488
1525
|
}
|
|
1489
|
-
},
|
|
1526
|
+
}, _callee39, this);
|
|
1490
1527
|
}));
|
|
1491
1528
|
function getWriteTeamMediaToken() {
|
|
1492
1529
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1500,47 +1537,73 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1500
1537
|
}, {
|
|
1501
1538
|
key: "getReadMediaToken",
|
|
1502
1539
|
value: (function () {
|
|
1503
|
-
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1540
|
+
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40() {
|
|
1541
|
+
var _this42 = this;
|
|
1542
|
+
var _len32,
|
|
1543
|
+
args,
|
|
1544
|
+
_key32,
|
|
1545
|
+
_args40 = arguments;
|
|
1546
|
+
return _regenerator.default.wrap(function _callee40$(_context40) {
|
|
1547
|
+
while (1) switch (_context40.prev = _context40.next) {
|
|
1548
|
+
case 0:
|
|
1549
|
+
for (_len32 = _args40.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
|
|
1550
|
+
args[_key32] = _args40[_key32];
|
|
1551
|
+
}
|
|
1552
|
+
return _context40.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1553
|
+
var _this42$_userPreferen;
|
|
1554
|
+
return (_this42$_userPreferen = _this42._userPreferencesClient).getReadMediaToken.apply(_this42$_userPreferen, args);
|
|
1555
|
+
}));
|
|
1556
|
+
case 2:
|
|
1557
|
+
case "end":
|
|
1558
|
+
return _context40.stop();
|
|
1559
|
+
}
|
|
1560
|
+
}, _callee40, this);
|
|
1561
|
+
}));
|
|
1562
|
+
function getReadMediaToken() {
|
|
1563
|
+
return _getReadMediaToken.apply(this, arguments);
|
|
1564
|
+
}
|
|
1565
|
+
return getReadMediaToken;
|
|
1566
|
+
}()
|
|
1567
|
+
/**
|
|
1568
|
+
* Get token to upload media for a user
|
|
1569
|
+
*/
|
|
1570
|
+
)
|
|
1571
|
+
}, {
|
|
1572
|
+
key: "getWriteUserMediaToken",
|
|
1573
|
+
value: (function () {
|
|
1574
|
+
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41() {
|
|
1504
1575
|
var _this43 = this;
|
|
1505
|
-
var _len33,
|
|
1506
|
-
args,
|
|
1507
|
-
_key33,
|
|
1508
|
-
_args41 = arguments;
|
|
1509
1576
|
return _regenerator.default.wrap(function _callee41$(_context41) {
|
|
1510
1577
|
while (1) switch (_context41.prev = _context41.next) {
|
|
1511
1578
|
case 0:
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
}
|
|
1515
|
-
return _context41.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1516
|
-
var _this43$_userPreferen;
|
|
1517
|
-
return (_this43$_userPreferen = _this43._userPreferencesClient).getReadMediaToken.apply(_this43$_userPreferen, args);
|
|
1579
|
+
return _context41.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1580
|
+
return _this43._userPreferencesClient.getWriteMediaToken();
|
|
1518
1581
|
}));
|
|
1519
|
-
case
|
|
1582
|
+
case 1:
|
|
1520
1583
|
case "end":
|
|
1521
1584
|
return _context41.stop();
|
|
1522
1585
|
}
|
|
1523
1586
|
}, _callee41, this);
|
|
1524
1587
|
}));
|
|
1525
|
-
function
|
|
1526
|
-
return
|
|
1588
|
+
function getWriteUserMediaToken() {
|
|
1589
|
+
return _getWriteUserMediaToken.apply(this, arguments);
|
|
1527
1590
|
}
|
|
1528
|
-
return
|
|
1591
|
+
return getWriteUserMediaToken;
|
|
1529
1592
|
}()
|
|
1530
1593
|
/**
|
|
1531
|
-
*
|
|
1594
|
+
* Update header image for a user
|
|
1532
1595
|
*/
|
|
1533
1596
|
)
|
|
1534
1597
|
}, {
|
|
1535
|
-
key: "
|
|
1598
|
+
key: "updateUserHeaderImage",
|
|
1536
1599
|
value: (function () {
|
|
1537
|
-
var
|
|
1600
|
+
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42(headerImageId) {
|
|
1538
1601
|
var _this44 = this;
|
|
1539
1602
|
return _regenerator.default.wrap(function _callee42$(_context42) {
|
|
1540
1603
|
while (1) switch (_context42.prev = _context42.next) {
|
|
1541
1604
|
case 0:
|
|
1542
|
-
return _context42.abrupt("return", this.measurePerformance('
|
|
1543
|
-
return _this44._userPreferencesClient.
|
|
1605
|
+
return _context42.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1606
|
+
return _this44._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1544
1607
|
}));
|
|
1545
1608
|
case 1:
|
|
1546
1609
|
case "end":
|
|
@@ -1548,45 +1611,53 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1548
1611
|
}
|
|
1549
1612
|
}, _callee42, this);
|
|
1550
1613
|
}));
|
|
1551
|
-
function
|
|
1552
|
-
return
|
|
1614
|
+
function updateUserHeaderImage(_x12) {
|
|
1615
|
+
return _updateUserHeaderImage.apply(this, arguments);
|
|
1553
1616
|
}
|
|
1554
|
-
return
|
|
1617
|
+
return updateUserHeaderImage;
|
|
1555
1618
|
}()
|
|
1556
1619
|
/**
|
|
1557
|
-
*
|
|
1620
|
+
* Fetch user containers from collboration graph
|
|
1558
1621
|
*/
|
|
1559
1622
|
)
|
|
1560
1623
|
}, {
|
|
1561
|
-
key: "
|
|
1624
|
+
key: "getUserContainers",
|
|
1562
1625
|
value: (function () {
|
|
1563
|
-
var
|
|
1626
|
+
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43() {
|
|
1564
1627
|
var _this45 = this;
|
|
1628
|
+
var _len33,
|
|
1629
|
+
args,
|
|
1630
|
+
_key33,
|
|
1631
|
+
_args43 = arguments;
|
|
1565
1632
|
return _regenerator.default.wrap(function _callee43$(_context43) {
|
|
1566
1633
|
while (1) switch (_context43.prev = _context43.next) {
|
|
1567
1634
|
case 0:
|
|
1568
|
-
|
|
1569
|
-
|
|
1635
|
+
for (_len33 = _args43.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1636
|
+
args[_key33] = _args43[_key33];
|
|
1637
|
+
}
|
|
1638
|
+
return _context43.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1639
|
+
var _this45$_collaboratio;
|
|
1640
|
+
return (_this45$_collaboratio = _this45._collaborationGraphClient).getUserContainers.apply(_this45$_collaboratio, args);
|
|
1570
1641
|
}));
|
|
1571
|
-
case
|
|
1642
|
+
case 2:
|
|
1572
1643
|
case "end":
|
|
1573
1644
|
return _context43.stop();
|
|
1574
1645
|
}
|
|
1575
1646
|
}, _callee43, this);
|
|
1576
1647
|
}));
|
|
1577
|
-
function
|
|
1578
|
-
return
|
|
1648
|
+
function getUserContainers() {
|
|
1649
|
+
return _getUserContainers.apply(this, arguments);
|
|
1579
1650
|
}
|
|
1580
|
-
return
|
|
1651
|
+
return getUserContainers;
|
|
1581
1652
|
}()
|
|
1582
1653
|
/**
|
|
1583
|
-
* Fetch
|
|
1654
|
+
* Fetch mutatability of external managed user fields
|
|
1584
1655
|
*/
|
|
1585
1656
|
)
|
|
1586
1657
|
}, {
|
|
1587
|
-
key: "
|
|
1658
|
+
key: "getUserManageConfig",
|
|
1588
1659
|
value: (function () {
|
|
1589
|
-
var
|
|
1660
|
+
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44() {
|
|
1590
1661
|
var _this46 = this;
|
|
1591
1662
|
var _len34,
|
|
1592
1663
|
args,
|
|
@@ -1598,9 +1669,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1598
1669
|
for (_len34 = _args44.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1599
1670
|
args[_key34] = _args44[_key34];
|
|
1600
1671
|
}
|
|
1601
|
-
return _context44.abrupt("return", this.measurePerformance('
|
|
1602
|
-
var _this46$
|
|
1603
|
-
return (_this46$
|
|
1672
|
+
return _context44.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1673
|
+
var _this46$_identityClie;
|
|
1674
|
+
return (_this46$_identityClie = _this46._identityClient).getUserManageConfig.apply(_this46$_identityClie, args);
|
|
1604
1675
|
}));
|
|
1605
1676
|
case 2:
|
|
1606
1677
|
case "end":
|
|
@@ -1608,19 +1679,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1608
1679
|
}
|
|
1609
1680
|
}, _callee44, this);
|
|
1610
1681
|
}));
|
|
1611
|
-
function
|
|
1612
|
-
return
|
|
1682
|
+
function getUserManageConfig() {
|
|
1683
|
+
return _getUserManageConfig.apply(this, arguments);
|
|
1613
1684
|
}
|
|
1614
|
-
return
|
|
1685
|
+
return getUserManageConfig;
|
|
1615
1686
|
}()
|
|
1616
1687
|
/**
|
|
1617
|
-
* Fetch
|
|
1688
|
+
* Fetch user avatar uploaded status
|
|
1618
1689
|
*/
|
|
1619
1690
|
)
|
|
1620
1691
|
}, {
|
|
1621
|
-
key: "
|
|
1692
|
+
key: "getMyAvatarUploadedStatus",
|
|
1622
1693
|
value: (function () {
|
|
1623
|
-
var
|
|
1694
|
+
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() {
|
|
1624
1695
|
var _this47 = this;
|
|
1625
1696
|
var _len35,
|
|
1626
1697
|
args,
|
|
@@ -1632,9 +1703,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1632
1703
|
for (_len35 = _args45.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1633
1704
|
args[_key35] = _args45[_key35];
|
|
1634
1705
|
}
|
|
1635
|
-
return _context45.abrupt("return", this.measurePerformance('
|
|
1706
|
+
return _context45.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
1636
1707
|
var _this47$_identityClie;
|
|
1637
|
-
return (_this47$_identityClie = _this47._identityClient).
|
|
1708
|
+
return (_this47$_identityClie = _this47._identityClient).getMyAvatarUploadedStatus.apply(_this47$_identityClie, args);
|
|
1638
1709
|
}));
|
|
1639
1710
|
case 2:
|
|
1640
1711
|
case "end":
|
|
@@ -1642,19 +1713,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1642
1713
|
}
|
|
1643
1714
|
}, _callee45, this);
|
|
1644
1715
|
}));
|
|
1645
|
-
function
|
|
1646
|
-
return
|
|
1716
|
+
function getMyAvatarUploadedStatus() {
|
|
1717
|
+
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
1647
1718
|
}
|
|
1648
|
-
return
|
|
1719
|
+
return getMyAvatarUploadedStatus;
|
|
1649
1720
|
}()
|
|
1650
1721
|
/**
|
|
1651
|
-
*
|
|
1722
|
+
* Delete user avatar
|
|
1652
1723
|
*/
|
|
1653
1724
|
)
|
|
1654
1725
|
}, {
|
|
1655
|
-
key: "
|
|
1726
|
+
key: "deleteAvatar",
|
|
1656
1727
|
value: (function () {
|
|
1657
|
-
var
|
|
1728
|
+
var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
|
|
1658
1729
|
var _this48 = this;
|
|
1659
1730
|
var _len36,
|
|
1660
1731
|
args,
|
|
@@ -1666,9 +1737,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1666
1737
|
for (_len36 = _args46.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1667
1738
|
args[_key36] = _args46[_key36];
|
|
1668
1739
|
}
|
|
1669
|
-
return _context46.abrupt("return", this.measurePerformance('
|
|
1740
|
+
return _context46.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
1670
1741
|
var _this48$_identityClie;
|
|
1671
|
-
return (_this48$_identityClie = _this48._identityClient).
|
|
1742
|
+
return (_this48$_identityClie = _this48._identityClient).deleteAvatar.apply(_this48$_identityClie, args);
|
|
1672
1743
|
}));
|
|
1673
1744
|
case 2:
|
|
1674
1745
|
case "end":
|
|
@@ -1676,19 +1747,15 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1676
1747
|
}
|
|
1677
1748
|
}, _callee46, this);
|
|
1678
1749
|
}));
|
|
1679
|
-
function
|
|
1680
|
-
return
|
|
1750
|
+
function deleteAvatar() {
|
|
1751
|
+
return _deleteAvatar.apply(this, arguments);
|
|
1681
1752
|
}
|
|
1682
|
-
return
|
|
1683
|
-
}()
|
|
1684
|
-
/**
|
|
1685
|
-
* Delete user avatar
|
|
1686
|
-
*/
|
|
1687
|
-
)
|
|
1753
|
+
return deleteAvatar;
|
|
1754
|
+
}())
|
|
1688
1755
|
}, {
|
|
1689
|
-
key: "
|
|
1690
|
-
value:
|
|
1691
|
-
var
|
|
1756
|
+
key: "fetchUserAvatarInfo",
|
|
1757
|
+
value: function () {
|
|
1758
|
+
var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
|
|
1692
1759
|
var _this49 = this;
|
|
1693
1760
|
var _len37,
|
|
1694
1761
|
args,
|
|
@@ -1700,9 +1767,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1700
1767
|
for (_len37 = _args47.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1701
1768
|
args[_key37] = _args47[_key37];
|
|
1702
1769
|
}
|
|
1703
|
-
return _context47.abrupt("return", this.measurePerformance('
|
|
1770
|
+
return _context47.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
1704
1771
|
var _this49$_identityClie;
|
|
1705
|
-
return (_this49$_identityClie = _this49._identityClient).
|
|
1772
|
+
return (_this49$_identityClie = _this49._identityClient).fetchUserAvatarInfo.apply(_this49$_identityClie, args);
|
|
1706
1773
|
}));
|
|
1707
1774
|
case 2:
|
|
1708
1775
|
case "end":
|
|
@@ -1710,15 +1777,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1710
1777
|
}
|
|
1711
1778
|
}, _callee47, this);
|
|
1712
1779
|
}));
|
|
1713
|
-
function
|
|
1714
|
-
return
|
|
1780
|
+
function fetchUserAvatarInfo() {
|
|
1781
|
+
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
1715
1782
|
}
|
|
1716
|
-
return
|
|
1717
|
-
}()
|
|
1783
|
+
return fetchUserAvatarInfo;
|
|
1784
|
+
}()
|
|
1785
|
+
/**
|
|
1786
|
+
* Fetch Team link icons
|
|
1787
|
+
*/
|
|
1718
1788
|
}, {
|
|
1719
|
-
key: "
|
|
1720
|
-
value: function () {
|
|
1721
|
-
var
|
|
1789
|
+
key: "getTeamLinkIcons",
|
|
1790
|
+
value: (function () {
|
|
1791
|
+
var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() {
|
|
1722
1792
|
var _this50 = this;
|
|
1723
1793
|
var _len38,
|
|
1724
1794
|
args,
|
|
@@ -1730,9 +1800,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1730
1800
|
for (_len38 = _args48.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1731
1801
|
args[_key38] = _args48[_key38];
|
|
1732
1802
|
}
|
|
1733
|
-
return _context48.abrupt("return", this.measurePerformance('
|
|
1734
|
-
var _this50$
|
|
1735
|
-
return (_this50$
|
|
1803
|
+
return _context48.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
|
|
1804
|
+
var _this50$_objectResolv;
|
|
1805
|
+
return (_this50$_objectResolv = _this50._objectResolverClient).getTeamLinkIcons.apply(_this50$_objectResolv, args);
|
|
1736
1806
|
}));
|
|
1737
1807
|
case 2:
|
|
1738
1808
|
case "end":
|
|
@@ -1740,18 +1810,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1740
1810
|
}
|
|
1741
1811
|
}, _callee48, this);
|
|
1742
1812
|
}));
|
|
1743
|
-
function
|
|
1744
|
-
return
|
|
1813
|
+
function getTeamLinkIcons() {
|
|
1814
|
+
return _getTeamLinkIcons.apply(this, arguments);
|
|
1745
1815
|
}
|
|
1746
|
-
return
|
|
1816
|
+
return getTeamLinkIcons;
|
|
1747
1817
|
}()
|
|
1748
1818
|
/**
|
|
1749
|
-
* Fetch
|
|
1819
|
+
* Fetch team in slack details
|
|
1750
1820
|
*/
|
|
1821
|
+
)
|
|
1751
1822
|
}, {
|
|
1752
|
-
key: "
|
|
1823
|
+
key: "getTeamInSlack",
|
|
1753
1824
|
value: (function () {
|
|
1754
|
-
var
|
|
1825
|
+
var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() {
|
|
1755
1826
|
var _this51 = this;
|
|
1756
1827
|
var _len39,
|
|
1757
1828
|
args,
|
|
@@ -1763,9 +1834,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1763
1834
|
for (_len39 = _args49.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1764
1835
|
args[_key39] = _args49[_key39];
|
|
1765
1836
|
}
|
|
1766
|
-
return _context49.abrupt("return", this.measurePerformance('
|
|
1767
|
-
var _this51$
|
|
1768
|
-
return (_this51$
|
|
1837
|
+
return _context49.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
|
|
1838
|
+
var _this51$_teamsInSlack;
|
|
1839
|
+
return (_this51$_teamsInSlack = _this51._teamsInSlackClient).getTeamInSlack.apply(_this51$_teamsInSlack, args);
|
|
1769
1840
|
}));
|
|
1770
1841
|
case 2:
|
|
1771
1842
|
case "end":
|
|
@@ -1773,19 +1844,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1773
1844
|
}
|
|
1774
1845
|
}, _callee49, this);
|
|
1775
1846
|
}));
|
|
1776
|
-
function
|
|
1777
|
-
return
|
|
1847
|
+
function getTeamInSlack() {
|
|
1848
|
+
return _getTeamInSlack.apply(this, arguments);
|
|
1778
1849
|
}
|
|
1779
|
-
return
|
|
1850
|
+
return getTeamInSlack;
|
|
1780
1851
|
}()
|
|
1781
1852
|
/**
|
|
1782
|
-
*
|
|
1853
|
+
* Delete team in slack
|
|
1783
1854
|
*/
|
|
1784
1855
|
)
|
|
1785
1856
|
}, {
|
|
1786
|
-
key: "
|
|
1857
|
+
key: "disconnectTeamInSlack",
|
|
1787
1858
|
value: (function () {
|
|
1788
|
-
var
|
|
1859
|
+
var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
|
|
1789
1860
|
var _this52 = this;
|
|
1790
1861
|
var _len40,
|
|
1791
1862
|
args,
|
|
@@ -1797,9 +1868,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1797
1868
|
for (_len40 = _args50.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1798
1869
|
args[_key40] = _args50[_key40];
|
|
1799
1870
|
}
|
|
1800
|
-
return _context50.abrupt("return", this.measurePerformance('
|
|
1871
|
+
return _context50.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
1801
1872
|
var _this52$_teamsInSlack;
|
|
1802
|
-
return (_this52$_teamsInSlack = _this52._teamsInSlackClient).
|
|
1873
|
+
return (_this52$_teamsInSlack = _this52._teamsInSlackClient).disconnectTeamInSlack.apply(_this52$_teamsInSlack, args);
|
|
1803
1874
|
}));
|
|
1804
1875
|
case 2:
|
|
1805
1876
|
case "end":
|
|
@@ -1807,19 +1878,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1807
1878
|
}
|
|
1808
1879
|
}, _callee50, this);
|
|
1809
1880
|
}));
|
|
1810
|
-
function
|
|
1811
|
-
return
|
|
1881
|
+
function disconnectTeamInSlack() {
|
|
1882
|
+
return _disconnectTeamInSlack.apply(this, arguments);
|
|
1812
1883
|
}
|
|
1813
|
-
return
|
|
1884
|
+
return disconnectTeamInSlack;
|
|
1814
1885
|
}()
|
|
1815
1886
|
/**
|
|
1816
|
-
*
|
|
1887
|
+
* Update team in slack
|
|
1817
1888
|
*/
|
|
1818
1889
|
)
|
|
1819
1890
|
}, {
|
|
1820
|
-
key: "
|
|
1891
|
+
key: "updateTeamInSlack",
|
|
1821
1892
|
value: (function () {
|
|
1822
|
-
var
|
|
1893
|
+
var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
|
|
1823
1894
|
var _this53 = this;
|
|
1824
1895
|
var _len41,
|
|
1825
1896
|
args,
|
|
@@ -1831,9 +1902,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1831
1902
|
for (_len41 = _args51.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1832
1903
|
args[_key41] = _args51[_key41];
|
|
1833
1904
|
}
|
|
1834
|
-
return _context51.abrupt("return", this.measurePerformance('
|
|
1905
|
+
return _context51.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
1835
1906
|
var _this53$_teamsInSlack;
|
|
1836
|
-
return (_this53$_teamsInSlack = _this53._teamsInSlackClient).
|
|
1907
|
+
return (_this53$_teamsInSlack = _this53._teamsInSlackClient).updateTeamInSlack.apply(_this53$_teamsInSlack, args);
|
|
1837
1908
|
}));
|
|
1838
1909
|
case 2:
|
|
1839
1910
|
case "end":
|
|
@@ -1841,19 +1912,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1841
1912
|
}
|
|
1842
1913
|
}, _callee51, this);
|
|
1843
1914
|
}));
|
|
1844
|
-
function
|
|
1845
|
-
return
|
|
1915
|
+
function updateTeamInSlack() {
|
|
1916
|
+
return _updateTeamInSlack.apply(this, arguments);
|
|
1846
1917
|
}
|
|
1847
|
-
return
|
|
1918
|
+
return updateTeamInSlack;
|
|
1848
1919
|
}()
|
|
1849
1920
|
/**
|
|
1850
|
-
* Update
|
|
1921
|
+
* Update user details
|
|
1851
1922
|
*/
|
|
1852
1923
|
)
|
|
1853
1924
|
}, {
|
|
1854
|
-
key: "
|
|
1925
|
+
key: "updateUser",
|
|
1855
1926
|
value: (function () {
|
|
1856
|
-
var
|
|
1927
|
+
var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
|
|
1857
1928
|
var _this54 = this;
|
|
1858
1929
|
var _len42,
|
|
1859
1930
|
args,
|
|
@@ -1865,9 +1936,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1865
1936
|
for (_len42 = _args52.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
|
|
1866
1937
|
args[_key42] = _args52[_key42];
|
|
1867
1938
|
}
|
|
1868
|
-
return _context52.abrupt("return", this.measurePerformance('
|
|
1869
|
-
var _this54$
|
|
1870
|
-
return (_this54$
|
|
1939
|
+
return _context52.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
1940
|
+
var _this54$_identityClie;
|
|
1941
|
+
return (_this54$_identityClie = _this54._identityClient).updateUser.apply(_this54$_identityClie, args);
|
|
1871
1942
|
}));
|
|
1872
1943
|
case 2:
|
|
1873
1944
|
case "end":
|
|
@@ -1875,19 +1946,15 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1875
1946
|
}
|
|
1876
1947
|
}, _callee52, this);
|
|
1877
1948
|
}));
|
|
1878
|
-
function
|
|
1879
|
-
return
|
|
1949
|
+
function updateUser() {
|
|
1950
|
+
return _updateUser.apply(this, arguments);
|
|
1880
1951
|
}
|
|
1881
|
-
return
|
|
1882
|
-
}()
|
|
1883
|
-
/**
|
|
1884
|
-
* Update user details
|
|
1885
|
-
*/
|
|
1886
|
-
)
|
|
1952
|
+
return updateUser;
|
|
1953
|
+
}())
|
|
1887
1954
|
}, {
|
|
1888
|
-
key: "
|
|
1889
|
-
value:
|
|
1890
|
-
var
|
|
1955
|
+
key: "updateUserAvatar",
|
|
1956
|
+
value: function () {
|
|
1957
|
+
var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
|
|
1891
1958
|
var _this55 = this;
|
|
1892
1959
|
var _len43,
|
|
1893
1960
|
args,
|
|
@@ -1899,9 +1966,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1899
1966
|
for (_len43 = _args53.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
|
|
1900
1967
|
args[_key43] = _args53[_key43];
|
|
1901
1968
|
}
|
|
1902
|
-
return _context53.abrupt("return", this.measurePerformance('
|
|
1969
|
+
return _context53.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
1903
1970
|
var _this55$_identityClie;
|
|
1904
|
-
return (_this55$_identityClie = _this55._identityClient).
|
|
1971
|
+
return (_this55$_identityClie = _this55._identityClient).updateUserAvatar.apply(_this55$_identityClie, args);
|
|
1905
1972
|
}));
|
|
1906
1973
|
case 2:
|
|
1907
1974
|
case "end":
|
|
@@ -1909,208 +1976,208 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1909
1976
|
}
|
|
1910
1977
|
}, _callee53, this);
|
|
1911
1978
|
}));
|
|
1912
|
-
function
|
|
1913
|
-
return
|
|
1979
|
+
function updateUserAvatar() {
|
|
1980
|
+
return _updateUserAvatar.apply(this, arguments);
|
|
1914
1981
|
}
|
|
1915
|
-
return
|
|
1916
|
-
}()
|
|
1982
|
+
return updateUserAvatar;
|
|
1983
|
+
}()
|
|
1917
1984
|
}, {
|
|
1918
|
-
key: "
|
|
1985
|
+
key: "addTeamWatcher",
|
|
1919
1986
|
value: function () {
|
|
1920
|
-
var
|
|
1921
|
-
var
|
|
1922
|
-
var
|
|
1923
|
-
args,
|
|
1924
|
-
_key44,
|
|
1925
|
-
_args54 = arguments;
|
|
1987
|
+
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
|
|
1988
|
+
var _this$_teamCentralCli;
|
|
1989
|
+
var _args54 = arguments;
|
|
1926
1990
|
return _regenerator.default.wrap(function _callee54$(_context54) {
|
|
1927
1991
|
while (1) switch (_context54.prev = _context54.next) {
|
|
1928
1992
|
case 0:
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
}
|
|
1932
|
-
return _context54.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
1933
|
-
var _this56$_identityClie;
|
|
1934
|
-
return (_this56$_identityClie = _this56._identityClient).updateUserAvatar.apply(_this56$_identityClie, args);
|
|
1935
|
-
}));
|
|
1936
|
-
case 2:
|
|
1993
|
+
return _context54.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args54));
|
|
1994
|
+
case 1:
|
|
1937
1995
|
case "end":
|
|
1938
1996
|
return _context54.stop();
|
|
1939
1997
|
}
|
|
1940
1998
|
}, _callee54, this);
|
|
1941
1999
|
}));
|
|
1942
|
-
function
|
|
1943
|
-
return
|
|
2000
|
+
function addTeamWatcher() {
|
|
2001
|
+
return _addTeamWatcher.apply(this, arguments);
|
|
1944
2002
|
}
|
|
1945
|
-
return
|
|
2003
|
+
return addTeamWatcher;
|
|
1946
2004
|
}()
|
|
1947
2005
|
}, {
|
|
1948
|
-
key: "
|
|
2006
|
+
key: "removeTeamWatcher",
|
|
1949
2007
|
value: function () {
|
|
1950
|
-
var
|
|
1951
|
-
var _this$
|
|
2008
|
+
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
|
|
2009
|
+
var _this$_teamCentralCli2;
|
|
1952
2010
|
var _args55 = arguments;
|
|
1953
2011
|
return _regenerator.default.wrap(function _callee55$(_context55) {
|
|
1954
2012
|
while (1) switch (_context55.prev = _context55.next) {
|
|
1955
2013
|
case 0:
|
|
1956
|
-
return _context55.abrupt("return", (_this$
|
|
2014
|
+
return _context55.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args55));
|
|
1957
2015
|
case 1:
|
|
1958
2016
|
case "end":
|
|
1959
2017
|
return _context55.stop();
|
|
1960
2018
|
}
|
|
1961
2019
|
}, _callee55, this);
|
|
1962
2020
|
}));
|
|
1963
|
-
function
|
|
1964
|
-
return
|
|
2021
|
+
function removeTeamWatcher() {
|
|
2022
|
+
return _removeTeamWatcher.apply(this, arguments);
|
|
1965
2023
|
}
|
|
1966
|
-
return
|
|
2024
|
+
return removeTeamWatcher;
|
|
1967
2025
|
}()
|
|
1968
2026
|
}, {
|
|
1969
|
-
key: "
|
|
2027
|
+
key: "deleteKudos",
|
|
1970
2028
|
value: function () {
|
|
1971
|
-
var
|
|
1972
|
-
var _this$
|
|
2029
|
+
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() {
|
|
2030
|
+
var _this$_teamCentralCli3;
|
|
1973
2031
|
var _args56 = arguments;
|
|
1974
2032
|
return _regenerator.default.wrap(function _callee56$(_context56) {
|
|
1975
2033
|
while (1) switch (_context56.prev = _context56.next) {
|
|
1976
2034
|
case 0:
|
|
1977
|
-
return _context56.abrupt("return", (_this$
|
|
2035
|
+
return _context56.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args56));
|
|
1978
2036
|
case 1:
|
|
1979
2037
|
case "end":
|
|
1980
2038
|
return _context56.stop();
|
|
1981
2039
|
}
|
|
1982
2040
|
}, _callee56, this);
|
|
1983
2041
|
}));
|
|
1984
|
-
function
|
|
1985
|
-
return
|
|
2042
|
+
function deleteKudos() {
|
|
2043
|
+
return _deleteKudos.apply(this, arguments);
|
|
1986
2044
|
}
|
|
1987
|
-
return
|
|
2045
|
+
return deleteKudos;
|
|
1988
2046
|
}()
|
|
1989
2047
|
}, {
|
|
1990
|
-
key: "
|
|
2048
|
+
key: "queryTagList",
|
|
1991
2049
|
value: function () {
|
|
1992
|
-
var
|
|
1993
|
-
var _this$
|
|
2050
|
+
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() {
|
|
2051
|
+
var _this$_teamCentralCli4;
|
|
1994
2052
|
var _args57 = arguments;
|
|
1995
2053
|
return _regenerator.default.wrap(function _callee57$(_context57) {
|
|
1996
2054
|
while (1) switch (_context57.prev = _context57.next) {
|
|
1997
2055
|
case 0:
|
|
1998
|
-
return _context57.abrupt("return", (_this$
|
|
2056
|
+
return _context57.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args57));
|
|
1999
2057
|
case 1:
|
|
2000
2058
|
case "end":
|
|
2001
2059
|
return _context57.stop();
|
|
2002
2060
|
}
|
|
2003
2061
|
}, _callee57, this);
|
|
2004
2062
|
}));
|
|
2005
|
-
function
|
|
2006
|
-
return
|
|
2063
|
+
function queryTagList() {
|
|
2064
|
+
return _queryTagList.apply(this, arguments);
|
|
2007
2065
|
}
|
|
2008
|
-
return
|
|
2066
|
+
return queryTagList;
|
|
2009
2067
|
}()
|
|
2010
2068
|
}, {
|
|
2011
|
-
key: "
|
|
2069
|
+
key: "createTag",
|
|
2012
2070
|
value: function () {
|
|
2013
|
-
var
|
|
2014
|
-
var _this$
|
|
2071
|
+
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58() {
|
|
2072
|
+
var _this$_teamCentralCli5;
|
|
2015
2073
|
var _args58 = arguments;
|
|
2016
2074
|
return _regenerator.default.wrap(function _callee58$(_context58) {
|
|
2017
2075
|
while (1) switch (_context58.prev = _context58.next) {
|
|
2018
2076
|
case 0:
|
|
2019
|
-
return _context58.abrupt("return", (_this$
|
|
2077
|
+
return _context58.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args58));
|
|
2020
2078
|
case 1:
|
|
2021
2079
|
case "end":
|
|
2022
2080
|
return _context58.stop();
|
|
2023
2081
|
}
|
|
2024
2082
|
}, _callee58, this);
|
|
2025
2083
|
}));
|
|
2026
|
-
function
|
|
2027
|
-
return
|
|
2084
|
+
function createTag() {
|
|
2085
|
+
return _createTag.apply(this, arguments);
|
|
2028
2086
|
}
|
|
2029
|
-
return
|
|
2087
|
+
return createTag;
|
|
2030
2088
|
}()
|
|
2031
2089
|
}, {
|
|
2032
|
-
key: "
|
|
2090
|
+
key: "createHelpPointer",
|
|
2033
2091
|
value: function () {
|
|
2034
|
-
var
|
|
2035
|
-
var _this$
|
|
2092
|
+
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59() {
|
|
2093
|
+
var _this$_teamCentralCli6;
|
|
2036
2094
|
var _args59 = arguments;
|
|
2037
2095
|
return _regenerator.default.wrap(function _callee59$(_context59) {
|
|
2038
2096
|
while (1) switch (_context59.prev = _context59.next) {
|
|
2039
2097
|
case 0:
|
|
2040
|
-
return _context59.abrupt("return", (_this$
|
|
2098
|
+
return _context59.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args59));
|
|
2041
2099
|
case 1:
|
|
2042
2100
|
case "end":
|
|
2043
2101
|
return _context59.stop();
|
|
2044
2102
|
}
|
|
2045
2103
|
}, _callee59, this);
|
|
2046
2104
|
}));
|
|
2047
|
-
function
|
|
2048
|
-
return
|
|
2105
|
+
function createHelpPointer() {
|
|
2106
|
+
return _createHelpPointer.apply(this, arguments);
|
|
2049
2107
|
}
|
|
2050
|
-
return
|
|
2108
|
+
return createHelpPointer;
|
|
2051
2109
|
}()
|
|
2052
2110
|
}, {
|
|
2053
|
-
key: "
|
|
2111
|
+
key: "updateHelpPointer",
|
|
2054
2112
|
value: function () {
|
|
2055
|
-
var
|
|
2056
|
-
var _this$
|
|
2113
|
+
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee60() {
|
|
2114
|
+
var _this$_teamCentralCli7;
|
|
2057
2115
|
var _args60 = arguments;
|
|
2058
2116
|
return _regenerator.default.wrap(function _callee60$(_context60) {
|
|
2059
2117
|
while (1) switch (_context60.prev = _context60.next) {
|
|
2060
2118
|
case 0:
|
|
2061
|
-
return _context60.abrupt("return", (_this$
|
|
2119
|
+
return _context60.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args60));
|
|
2062
2120
|
case 1:
|
|
2063
2121
|
case "end":
|
|
2064
2122
|
return _context60.stop();
|
|
2065
2123
|
}
|
|
2066
2124
|
}, _callee60, this);
|
|
2067
2125
|
}));
|
|
2068
|
-
function
|
|
2069
|
-
return
|
|
2126
|
+
function updateHelpPointer() {
|
|
2127
|
+
return _updateHelpPointer.apply(this, arguments);
|
|
2070
2128
|
}
|
|
2071
|
-
return
|
|
2129
|
+
return updateHelpPointer;
|
|
2072
2130
|
}()
|
|
2073
2131
|
}, {
|
|
2074
|
-
key: "
|
|
2132
|
+
key: "deleteHelpPointer",
|
|
2075
2133
|
value: function () {
|
|
2076
|
-
var
|
|
2077
|
-
var _this$
|
|
2134
|
+
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee61() {
|
|
2135
|
+
var _this$_teamCentralCli8;
|
|
2078
2136
|
var _args61 = arguments;
|
|
2079
2137
|
return _regenerator.default.wrap(function _callee61$(_context61) {
|
|
2080
2138
|
while (1) switch (_context61.prev = _context61.next) {
|
|
2081
2139
|
case 0:
|
|
2082
|
-
return _context61.abrupt("return", (_this$
|
|
2140
|
+
return _context61.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args61));
|
|
2083
2141
|
case 1:
|
|
2084
2142
|
case "end":
|
|
2085
2143
|
return _context61.stop();
|
|
2086
2144
|
}
|
|
2087
2145
|
}, _callee61, this);
|
|
2088
2146
|
}));
|
|
2089
|
-
function
|
|
2090
|
-
return
|
|
2147
|
+
function deleteHelpPointer() {
|
|
2148
|
+
return _deleteHelpPointer.apply(this, arguments);
|
|
2091
2149
|
}
|
|
2092
|
-
return
|
|
2150
|
+
return deleteHelpPointer;
|
|
2093
2151
|
}()
|
|
2094
2152
|
}, {
|
|
2095
|
-
key: "
|
|
2153
|
+
key: "getUserTenure",
|
|
2096
2154
|
value: function () {
|
|
2097
|
-
var
|
|
2098
|
-
var
|
|
2099
|
-
var
|
|
2155
|
+
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee62() {
|
|
2156
|
+
var _this56 = this;
|
|
2157
|
+
var _len44,
|
|
2158
|
+
args,
|
|
2159
|
+
_key44,
|
|
2160
|
+
_args62 = arguments;
|
|
2100
2161
|
return _regenerator.default.wrap(function _callee62$(_context62) {
|
|
2101
2162
|
while (1) switch (_context62.prev = _context62.next) {
|
|
2102
2163
|
case 0:
|
|
2103
|
-
|
|
2104
|
-
|
|
2164
|
+
for (_len44 = _args62.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2165
|
+
args[_key44] = _args62[_key44];
|
|
2166
|
+
}
|
|
2167
|
+
return _context62.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2168
|
+
var _this56$_replinesClie;
|
|
2169
|
+
return (_this56$_replinesClie = _this56._replinesClient).getUserTenure.apply(_this56$_replinesClie, args);
|
|
2170
|
+
}));
|
|
2171
|
+
case 2:
|
|
2105
2172
|
case "end":
|
|
2106
2173
|
return _context62.stop();
|
|
2107
2174
|
}
|
|
2108
2175
|
}, _callee62, this);
|
|
2109
2176
|
}));
|
|
2110
|
-
function
|
|
2111
|
-
return
|
|
2177
|
+
function getUserTenure() {
|
|
2178
|
+
return _getUserTenure.apply(this, arguments);
|
|
2112
2179
|
}
|
|
2113
|
-
return
|
|
2180
|
+
return getUserTenure;
|
|
2114
2181
|
}()
|
|
2115
2182
|
}]);
|
|
2116
2183
|
}();
|