@atlaskit/teams-client 4.6.3 → 4.7.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 +16 -0
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/agg-client/index.js +51 -0
- package/dist/cjs/services/agg-client/utils/queries/team-has-agents-query.js +12 -0
- package/dist/cjs/services/main.js +515 -490
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/cjs/types/association.js +5 -0
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/agg-client/index.js +29 -1
- package/dist/es2019/services/agg-client/utils/queries/team-has-agents-query.js +24 -0
- package/dist/es2019/services/main.js +9 -0
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/types/association.js +1 -0
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/agg-client/index.js +52 -1
- package/dist/esm/services/agg-client/utils/queries/team-has-agents-query.js +5 -0
- package/dist/esm/services/main.js +515 -490
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/types/association.js +1 -0
- package/dist/types/services/agg-client/index.d.ts +3 -1
- package/dist/types/services/agg-client/utils/queries/team-has-agents-query.d.ts +15 -0
- package/dist/types/services/main.d.ts +6 -0
- package/dist/types/types/association.d.ts +8 -0
- package/dist/types/types/index.d.ts +2 -1
- package/dist/types-ts4.5/services/agg-client/index.d.ts +3 -1
- package/dist/types-ts4.5/services/agg-client/utils/queries/team-has-agents-query.d.ts +15 -0
- package/dist/types-ts4.5/services/main.d.ts +6 -0
- package/dist/types-ts4.5/types/association.d.ts +8 -0
- package/dist/types-ts4.5/types/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -312,6 +312,31 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
312
312
|
}
|
|
313
313
|
return queryAGGUser;
|
|
314
314
|
}()
|
|
315
|
+
/**
|
|
316
|
+
* Get the agents associated with the team
|
|
317
|
+
* @param {string} userId
|
|
318
|
+
* @returns {Promise}
|
|
319
|
+
*/
|
|
320
|
+
)
|
|
321
|
+
}, {
|
|
322
|
+
key: "queryTeamHasAgents",
|
|
323
|
+
value: (function () {
|
|
324
|
+
var _queryTeamHasAgents = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(teamId) {
|
|
325
|
+
return _regenerator.default.wrap(function _callee8$(_context8) {
|
|
326
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
327
|
+
case 0:
|
|
328
|
+
return _context8.abrupt("return", this._aggClient.queryTeamHasAgents(teamId));
|
|
329
|
+
case 1:
|
|
330
|
+
case "end":
|
|
331
|
+
return _context8.stop();
|
|
332
|
+
}
|
|
333
|
+
}, _callee8, this);
|
|
334
|
+
}));
|
|
335
|
+
function queryTeamHasAgents(_x7) {
|
|
336
|
+
return _queryTeamHasAgents.apply(this, arguments);
|
|
337
|
+
}
|
|
338
|
+
return queryTeamHasAgents;
|
|
339
|
+
}()
|
|
315
340
|
/**
|
|
316
341
|
* Get user information of a member of a team
|
|
317
342
|
* @param {string} userId
|
|
@@ -344,21 +369,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
344
369
|
}, {
|
|
345
370
|
key: "getTeamById",
|
|
346
371
|
value: (function () {
|
|
347
|
-
var _getTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
372
|
+
var _getTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9(teamId) {
|
|
348
373
|
var _this5 = this;
|
|
349
|
-
return _regenerator.default.wrap(function
|
|
350
|
-
while (1) switch (
|
|
374
|
+
return _regenerator.default.wrap(function _callee9$(_context9) {
|
|
375
|
+
while (1) switch (_context9.prev = _context9.next) {
|
|
351
376
|
case 0:
|
|
352
|
-
return
|
|
377
|
+
return _context9.abrupt("return", this.measurePerformance('getTeamById', function () {
|
|
353
378
|
return _this5._legionClient.getTeamById(teamId);
|
|
354
379
|
}));
|
|
355
380
|
case 1:
|
|
356
381
|
case "end":
|
|
357
|
-
return
|
|
382
|
+
return _context9.stop();
|
|
358
383
|
}
|
|
359
|
-
},
|
|
384
|
+
}, _callee9, this);
|
|
360
385
|
}));
|
|
361
|
-
function getTeamById(
|
|
386
|
+
function getTeamById(_x8) {
|
|
362
387
|
return _getTeamById.apply(this, arguments);
|
|
363
388
|
}
|
|
364
389
|
return getTeamById;
|
|
@@ -370,27 +395,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
370
395
|
}, {
|
|
371
396
|
key: "getAllTeams",
|
|
372
397
|
value: (function () {
|
|
373
|
-
var _getAllTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
398
|
+
var _getAllTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee0() {
|
|
374
399
|
var _this6 = this;
|
|
375
400
|
var _len3,
|
|
376
401
|
args,
|
|
377
402
|
_key3,
|
|
378
|
-
|
|
379
|
-
return _regenerator.default.wrap(function
|
|
380
|
-
while (1) switch (
|
|
403
|
+
_args0 = arguments;
|
|
404
|
+
return _regenerator.default.wrap(function _callee0$(_context0) {
|
|
405
|
+
while (1) switch (_context0.prev = _context0.next) {
|
|
381
406
|
case 0:
|
|
382
|
-
for (_len3 =
|
|
383
|
-
args[_key3] =
|
|
407
|
+
for (_len3 = _args0.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
408
|
+
args[_key3] = _args0[_key3];
|
|
384
409
|
}
|
|
385
|
-
return
|
|
410
|
+
return _context0.abrupt("return", this.measurePerformance('getAllTeams', function () {
|
|
386
411
|
var _this6$_legionClient;
|
|
387
412
|
return (_this6$_legionClient = _this6._legionClient).getAllTeams.apply(_this6$_legionClient, args);
|
|
388
413
|
}));
|
|
389
414
|
case 2:
|
|
390
415
|
case "end":
|
|
391
|
-
return
|
|
416
|
+
return _context0.stop();
|
|
392
417
|
}
|
|
393
|
-
},
|
|
418
|
+
}, _callee0, this);
|
|
394
419
|
}));
|
|
395
420
|
function getAllTeams() {
|
|
396
421
|
return _getAllTeams.apply(this, arguments);
|
|
@@ -404,27 +429,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
404
429
|
}, {
|
|
405
430
|
key: "updateTeamById",
|
|
406
431
|
value: (function () {
|
|
407
|
-
var _updateTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
432
|
+
var _updateTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee1() {
|
|
408
433
|
var _this7 = this;
|
|
409
434
|
var _len4,
|
|
410
435
|
args,
|
|
411
436
|
_key4,
|
|
412
|
-
|
|
413
|
-
return _regenerator.default.wrap(function
|
|
414
|
-
while (1) switch (
|
|
437
|
+
_args1 = arguments;
|
|
438
|
+
return _regenerator.default.wrap(function _callee1$(_context1) {
|
|
439
|
+
while (1) switch (_context1.prev = _context1.next) {
|
|
415
440
|
case 0:
|
|
416
|
-
for (_len4 =
|
|
417
|
-
args[_key4] =
|
|
441
|
+
for (_len4 = _args1.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
442
|
+
args[_key4] = _args1[_key4];
|
|
418
443
|
}
|
|
419
|
-
return
|
|
444
|
+
return _context1.abrupt("return", this.measurePerformance('updateTeamById', function () {
|
|
420
445
|
var _this7$_legionClient;
|
|
421
446
|
return (_this7$_legionClient = _this7._legionClient).updateTeamById.apply(_this7$_legionClient, args);
|
|
422
447
|
}));
|
|
423
448
|
case 2:
|
|
424
449
|
case "end":
|
|
425
|
-
return
|
|
450
|
+
return _context1.stop();
|
|
426
451
|
}
|
|
427
|
-
},
|
|
452
|
+
}, _callee1, this);
|
|
428
453
|
}));
|
|
429
454
|
function updateTeamById() {
|
|
430
455
|
return _updateTeamById.apply(this, arguments);
|
|
@@ -439,27 +464,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
439
464
|
}, {
|
|
440
465
|
key: "inviteUsersToTeam",
|
|
441
466
|
value: (function () {
|
|
442
|
-
var _inviteUsersToTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
467
|
+
var _inviteUsersToTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
|
|
443
468
|
var _this8 = this;
|
|
444
469
|
var _len5,
|
|
445
470
|
args,
|
|
446
471
|
_key5,
|
|
447
|
-
|
|
448
|
-
return _regenerator.default.wrap(function
|
|
449
|
-
while (1) switch (
|
|
472
|
+
_args10 = arguments;
|
|
473
|
+
return _regenerator.default.wrap(function _callee10$(_context10) {
|
|
474
|
+
while (1) switch (_context10.prev = _context10.next) {
|
|
450
475
|
case 0:
|
|
451
|
-
for (_len5 =
|
|
452
|
-
args[_key5] =
|
|
476
|
+
for (_len5 = _args10.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
477
|
+
args[_key5] = _args10[_key5];
|
|
453
478
|
}
|
|
454
|
-
return
|
|
479
|
+
return _context10.abrupt("return", this.measurePerformance('inviteUsersToTeam', function () {
|
|
455
480
|
var _this8$_legionClient;
|
|
456
481
|
return (_this8$_legionClient = _this8._legionClient).inviteUsersToTeam.apply(_this8$_legionClient, args);
|
|
457
482
|
}));
|
|
458
483
|
case 2:
|
|
459
484
|
case "end":
|
|
460
|
-
return
|
|
485
|
+
return _context10.stop();
|
|
461
486
|
}
|
|
462
|
-
},
|
|
487
|
+
}, _callee10, this);
|
|
463
488
|
}));
|
|
464
489
|
function inviteUsersToTeam() {
|
|
465
490
|
return _inviteUsersToTeam.apply(this, arguments);
|
|
@@ -473,27 +498,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
473
498
|
}, {
|
|
474
499
|
key: "getMyTeamMembership",
|
|
475
500
|
value: (function () {
|
|
476
|
-
var _getMyTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
501
|
+
var _getMyTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {
|
|
477
502
|
var _this9 = this;
|
|
478
503
|
var _len6,
|
|
479
504
|
args,
|
|
480
505
|
_key6,
|
|
481
|
-
|
|
482
|
-
return _regenerator.default.wrap(function
|
|
483
|
-
while (1) switch (
|
|
506
|
+
_args11 = arguments;
|
|
507
|
+
return _regenerator.default.wrap(function _callee11$(_context11) {
|
|
508
|
+
while (1) switch (_context11.prev = _context11.next) {
|
|
484
509
|
case 0:
|
|
485
|
-
for (_len6 =
|
|
486
|
-
args[_key6] =
|
|
510
|
+
for (_len6 = _args11.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
|
|
511
|
+
args[_key6] = _args11[_key6];
|
|
487
512
|
}
|
|
488
|
-
return
|
|
513
|
+
return _context11.abrupt("return", this.measurePerformance('getMyTeamMembership', function () {
|
|
489
514
|
var _this9$_legionClient;
|
|
490
515
|
return (_this9$_legionClient = _this9._legionClient).getMyTeamMembership.apply(_this9$_legionClient, args);
|
|
491
516
|
}));
|
|
492
517
|
case 2:
|
|
493
518
|
case "end":
|
|
494
|
-
return
|
|
519
|
+
return _context11.stop();
|
|
495
520
|
}
|
|
496
|
-
},
|
|
521
|
+
}, _callee11, this);
|
|
497
522
|
}));
|
|
498
523
|
function getMyTeamMembership() {
|
|
499
524
|
return _getMyTeamMembership.apply(this, arguments);
|
|
@@ -507,21 +532,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
507
532
|
}, {
|
|
508
533
|
key: "getTeamLinksByTeamId",
|
|
509
534
|
value: (function () {
|
|
510
|
-
var _getTeamLinksByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
535
|
+
var _getTeamLinksByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12(teamId) {
|
|
511
536
|
var _this0 = this;
|
|
512
|
-
return _regenerator.default.wrap(function
|
|
513
|
-
while (1) switch (
|
|
537
|
+
return _regenerator.default.wrap(function _callee12$(_context12) {
|
|
538
|
+
while (1) switch (_context12.prev = _context12.next) {
|
|
514
539
|
case 0:
|
|
515
|
-
return
|
|
540
|
+
return _context12.abrupt("return", this.measurePerformance('getTeamLinksByTeamId', function () {
|
|
516
541
|
return _this0._legionClient.getTeamLinksByTeamId(teamId);
|
|
517
542
|
}));
|
|
518
543
|
case 1:
|
|
519
544
|
case "end":
|
|
520
|
-
return
|
|
545
|
+
return _context12.stop();
|
|
521
546
|
}
|
|
522
|
-
},
|
|
547
|
+
}, _callee12, this);
|
|
523
548
|
}));
|
|
524
|
-
function getTeamLinksByTeamId(
|
|
549
|
+
function getTeamLinksByTeamId(_x9) {
|
|
525
550
|
return _getTeamLinksByTeamId.apply(this, arguments);
|
|
526
551
|
}
|
|
527
552
|
return getTeamLinksByTeamId;
|
|
@@ -533,27 +558,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
533
558
|
}, {
|
|
534
559
|
key: "createTeamLink",
|
|
535
560
|
value: (function () {
|
|
536
|
-
var _createTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
561
|
+
var _createTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
|
|
537
562
|
var _this1 = this;
|
|
538
563
|
var _len7,
|
|
539
564
|
args,
|
|
540
565
|
_key7,
|
|
541
|
-
|
|
542
|
-
return _regenerator.default.wrap(function
|
|
543
|
-
while (1) switch (
|
|
566
|
+
_args13 = arguments;
|
|
567
|
+
return _regenerator.default.wrap(function _callee13$(_context13) {
|
|
568
|
+
while (1) switch (_context13.prev = _context13.next) {
|
|
544
569
|
case 0:
|
|
545
|
-
for (_len7 =
|
|
546
|
-
args[_key7] =
|
|
570
|
+
for (_len7 = _args13.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
|
|
571
|
+
args[_key7] = _args13[_key7];
|
|
547
572
|
}
|
|
548
|
-
return
|
|
573
|
+
return _context13.abrupt("return", this.measurePerformance('createTeamLink', function () {
|
|
549
574
|
var _this1$_legionClient;
|
|
550
575
|
return (_this1$_legionClient = _this1._legionClient).createTeamLink.apply(_this1$_legionClient, args);
|
|
551
576
|
}));
|
|
552
577
|
case 2:
|
|
553
578
|
case "end":
|
|
554
|
-
return
|
|
579
|
+
return _context13.stop();
|
|
555
580
|
}
|
|
556
|
-
},
|
|
581
|
+
}, _callee13, this);
|
|
557
582
|
}));
|
|
558
583
|
function createTeamLink() {
|
|
559
584
|
return _createTeamLink.apply(this, arguments);
|
|
@@ -567,27 +592,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
567
592
|
}, {
|
|
568
593
|
key: "updateTeamLink",
|
|
569
594
|
value: (function () {
|
|
570
|
-
var _updateTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
595
|
+
var _updateTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14() {
|
|
571
596
|
var _this10 = this;
|
|
572
597
|
var _len8,
|
|
573
598
|
args,
|
|
574
599
|
_key8,
|
|
575
|
-
|
|
576
|
-
return _regenerator.default.wrap(function
|
|
577
|
-
while (1) switch (
|
|
600
|
+
_args14 = arguments;
|
|
601
|
+
return _regenerator.default.wrap(function _callee14$(_context14) {
|
|
602
|
+
while (1) switch (_context14.prev = _context14.next) {
|
|
578
603
|
case 0:
|
|
579
|
-
for (_len8 =
|
|
580
|
-
args[_key8] =
|
|
604
|
+
for (_len8 = _args14.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
|
|
605
|
+
args[_key8] = _args14[_key8];
|
|
581
606
|
}
|
|
582
|
-
return
|
|
607
|
+
return _context14.abrupt("return", this.measurePerformance('updateTeamLink', function () {
|
|
583
608
|
var _this10$_legionClient;
|
|
584
609
|
return (_this10$_legionClient = _this10._legionClient).updateTeamLink.apply(_this10$_legionClient, args);
|
|
585
610
|
}));
|
|
586
611
|
case 2:
|
|
587
612
|
case "end":
|
|
588
|
-
return
|
|
613
|
+
return _context14.stop();
|
|
589
614
|
}
|
|
590
|
-
},
|
|
615
|
+
}, _callee14, this);
|
|
591
616
|
}));
|
|
592
617
|
function updateTeamLink() {
|
|
593
618
|
return _updateTeamLink.apply(this, arguments);
|
|
@@ -601,27 +626,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
601
626
|
}, {
|
|
602
627
|
key: "deleteTeamLink",
|
|
603
628
|
value: (function () {
|
|
604
|
-
var _deleteTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
629
|
+
var _deleteTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {
|
|
605
630
|
var _this11 = this;
|
|
606
631
|
var _len9,
|
|
607
632
|
args,
|
|
608
633
|
_key9,
|
|
609
|
-
|
|
610
|
-
return _regenerator.default.wrap(function
|
|
611
|
-
while (1) switch (
|
|
634
|
+
_args15 = arguments;
|
|
635
|
+
return _regenerator.default.wrap(function _callee15$(_context15) {
|
|
636
|
+
while (1) switch (_context15.prev = _context15.next) {
|
|
612
637
|
case 0:
|
|
613
|
-
for (_len9 =
|
|
614
|
-
args[_key9] =
|
|
638
|
+
for (_len9 = _args15.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
|
|
639
|
+
args[_key9] = _args15[_key9];
|
|
615
640
|
}
|
|
616
|
-
return
|
|
641
|
+
return _context15.abrupt("return", this.measurePerformance('deleteTeamLink', function () {
|
|
617
642
|
var _this11$_legionClient;
|
|
618
643
|
return (_this11$_legionClient = _this11._legionClient).deleteTeamLink.apply(_this11$_legionClient, args);
|
|
619
644
|
}));
|
|
620
645
|
case 2:
|
|
621
646
|
case "end":
|
|
622
|
-
return
|
|
647
|
+
return _context15.stop();
|
|
623
648
|
}
|
|
624
|
-
},
|
|
649
|
+
}, _callee15, this);
|
|
625
650
|
}));
|
|
626
651
|
function deleteTeamLink() {
|
|
627
652
|
return _deleteTeamLink.apply(this, arguments);
|
|
@@ -635,27 +660,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
635
660
|
}, {
|
|
636
661
|
key: "reorderTeamLink",
|
|
637
662
|
value: (function () {
|
|
638
|
-
var _reorderTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
663
|
+
var _reorderTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
|
|
639
664
|
var _this12 = this;
|
|
640
665
|
var _len0,
|
|
641
666
|
args,
|
|
642
667
|
_key0,
|
|
643
|
-
|
|
644
|
-
return _regenerator.default.wrap(function
|
|
645
|
-
while (1) switch (
|
|
668
|
+
_args16 = arguments;
|
|
669
|
+
return _regenerator.default.wrap(function _callee16$(_context16) {
|
|
670
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
646
671
|
case 0:
|
|
647
|
-
for (_len0 =
|
|
648
|
-
args[_key0] =
|
|
672
|
+
for (_len0 = _args16.length, args = new Array(_len0), _key0 = 0; _key0 < _len0; _key0++) {
|
|
673
|
+
args[_key0] = _args16[_key0];
|
|
649
674
|
}
|
|
650
|
-
return
|
|
675
|
+
return _context16.abrupt("return", this.measurePerformance('reorderTeamLink', function () {
|
|
651
676
|
var _this12$_legionClient;
|
|
652
677
|
return (_this12$_legionClient = _this12._legionClient).reorderTeamLink.apply(_this12$_legionClient, args);
|
|
653
678
|
}));
|
|
654
679
|
case 2:
|
|
655
680
|
case "end":
|
|
656
|
-
return
|
|
681
|
+
return _context16.stop();
|
|
657
682
|
}
|
|
658
|
-
},
|
|
683
|
+
}, _callee16, this);
|
|
659
684
|
}));
|
|
660
685
|
function reorderTeamLink() {
|
|
661
686
|
return _reorderTeamLink.apply(this, arguments);
|
|
@@ -669,19 +694,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
669
694
|
}, {
|
|
670
695
|
key: "getOrgEligibilityForManagedTeams",
|
|
671
696
|
value: (function () {
|
|
672
|
-
var _getOrgEligibilityForManagedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
697
|
+
var _getOrgEligibilityForManagedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {
|
|
673
698
|
var _this13 = this;
|
|
674
|
-
return _regenerator.default.wrap(function
|
|
675
|
-
while (1) switch (
|
|
699
|
+
return _regenerator.default.wrap(function _callee17$(_context17) {
|
|
700
|
+
while (1) switch (_context17.prev = _context17.next) {
|
|
676
701
|
case 0:
|
|
677
|
-
return
|
|
702
|
+
return _context17.abrupt("return", this.measurePerformance('getOrgEligibilityForManagedTeams', function () {
|
|
678
703
|
return _this13._legionClient.getOrgEligibilityForManagedTeams();
|
|
679
704
|
}));
|
|
680
705
|
case 1:
|
|
681
706
|
case "end":
|
|
682
|
-
return
|
|
707
|
+
return _context17.stop();
|
|
683
708
|
}
|
|
684
|
-
},
|
|
709
|
+
}, _callee17, this);
|
|
685
710
|
}));
|
|
686
711
|
function getOrgEligibilityForManagedTeams() {
|
|
687
712
|
return _getOrgEligibilityForManagedTeams.apply(this, arguments);
|
|
@@ -696,27 +721,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
696
721
|
}, {
|
|
697
722
|
key: "acceptTeamInvitation",
|
|
698
723
|
value: (function () {
|
|
699
|
-
var _acceptTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
724
|
+
var _acceptTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18() {
|
|
700
725
|
var _this14 = this;
|
|
701
726
|
var _len1,
|
|
702
727
|
args,
|
|
703
728
|
_key1,
|
|
704
|
-
|
|
705
|
-
return _regenerator.default.wrap(function
|
|
706
|
-
while (1) switch (
|
|
729
|
+
_args18 = arguments;
|
|
730
|
+
return _regenerator.default.wrap(function _callee18$(_context18) {
|
|
731
|
+
while (1) switch (_context18.prev = _context18.next) {
|
|
707
732
|
case 0:
|
|
708
|
-
for (_len1 =
|
|
709
|
-
args[_key1] =
|
|
733
|
+
for (_len1 = _args18.length, args = new Array(_len1), _key1 = 0; _key1 < _len1; _key1++) {
|
|
734
|
+
args[_key1] = _args18[_key1];
|
|
710
735
|
}
|
|
711
|
-
return
|
|
736
|
+
return _context18.abrupt("return", this.measurePerformance('acceptTeamInvitation', function () {
|
|
712
737
|
var _this14$_legionClient;
|
|
713
738
|
return (_this14$_legionClient = _this14._legionClient).acceptTeamInvitation.apply(_this14$_legionClient, args);
|
|
714
739
|
}));
|
|
715
740
|
case 2:
|
|
716
741
|
case "end":
|
|
717
|
-
return
|
|
742
|
+
return _context18.stop();
|
|
718
743
|
}
|
|
719
|
-
},
|
|
744
|
+
}, _callee18, this);
|
|
720
745
|
}));
|
|
721
746
|
function acceptTeamInvitation() {
|
|
722
747
|
return _acceptTeamInvitation.apply(this, arguments);
|
|
@@ -731,27 +756,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
731
756
|
}, {
|
|
732
757
|
key: "declineTeamInvitation",
|
|
733
758
|
value: (function () {
|
|
734
|
-
var _declineTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
759
|
+
var _declineTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() {
|
|
735
760
|
var _this15 = this;
|
|
736
761
|
var _len10,
|
|
737
762
|
args,
|
|
738
763
|
_key10,
|
|
739
|
-
|
|
740
|
-
return _regenerator.default.wrap(function
|
|
741
|
-
while (1) switch (
|
|
764
|
+
_args19 = arguments;
|
|
765
|
+
return _regenerator.default.wrap(function _callee19$(_context19) {
|
|
766
|
+
while (1) switch (_context19.prev = _context19.next) {
|
|
742
767
|
case 0:
|
|
743
|
-
for (_len10 =
|
|
744
|
-
args[_key10] =
|
|
768
|
+
for (_len10 = _args19.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
|
|
769
|
+
args[_key10] = _args19[_key10];
|
|
745
770
|
}
|
|
746
|
-
return
|
|
771
|
+
return _context19.abrupt("return", this.measurePerformance('declineTeamInvitation', function () {
|
|
747
772
|
var _this15$_legionClient;
|
|
748
773
|
return (_this15$_legionClient = _this15._legionClient).declineTeamInvitation.apply(_this15$_legionClient, args);
|
|
749
774
|
}));
|
|
750
775
|
case 2:
|
|
751
776
|
case "end":
|
|
752
|
-
return
|
|
777
|
+
return _context19.stop();
|
|
753
778
|
}
|
|
754
|
-
},
|
|
779
|
+
}, _callee19, this);
|
|
755
780
|
}));
|
|
756
781
|
function declineTeamInvitation() {
|
|
757
782
|
return _declineTeamInvitation.apply(this, arguments);
|
|
@@ -765,27 +790,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
765
790
|
}, {
|
|
766
791
|
key: "selfJoinTeam",
|
|
767
792
|
value: (function () {
|
|
768
|
-
var _selfJoinTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
793
|
+
var _selfJoinTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20() {
|
|
769
794
|
var _this16 = this;
|
|
770
795
|
var _len11,
|
|
771
796
|
args,
|
|
772
797
|
_key11,
|
|
773
|
-
|
|
774
|
-
return _regenerator.default.wrap(function
|
|
775
|
-
while (1) switch (
|
|
798
|
+
_args20 = arguments;
|
|
799
|
+
return _regenerator.default.wrap(function _callee20$(_context20) {
|
|
800
|
+
while (1) switch (_context20.prev = _context20.next) {
|
|
776
801
|
case 0:
|
|
777
|
-
for (_len11 =
|
|
778
|
-
args[_key11] =
|
|
802
|
+
for (_len11 = _args20.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
|
|
803
|
+
args[_key11] = _args20[_key11];
|
|
779
804
|
}
|
|
780
|
-
return
|
|
805
|
+
return _context20.abrupt("return", this.measurePerformance('selfJoinTeam', function () {
|
|
781
806
|
var _this16$_legionClient;
|
|
782
807
|
return (_this16$_legionClient = _this16._legionClient).selfJoinTeam.apply(_this16$_legionClient, args);
|
|
783
808
|
}));
|
|
784
809
|
case 2:
|
|
785
810
|
case "end":
|
|
786
|
-
return
|
|
811
|
+
return _context20.stop();
|
|
787
812
|
}
|
|
788
|
-
},
|
|
813
|
+
}, _callee20, this);
|
|
789
814
|
}));
|
|
790
815
|
function selfJoinTeam() {
|
|
791
816
|
return _selfJoinTeam.apply(this, arguments);
|
|
@@ -799,21 +824,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
799
824
|
}, {
|
|
800
825
|
key: "cancelJoinRequest",
|
|
801
826
|
value: (function () {
|
|
802
|
-
var _cancelJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
827
|
+
var _cancelJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21(teamId) {
|
|
803
828
|
var _this17 = this;
|
|
804
|
-
return _regenerator.default.wrap(function
|
|
805
|
-
while (1) switch (
|
|
829
|
+
return _regenerator.default.wrap(function _callee21$(_context21) {
|
|
830
|
+
while (1) switch (_context21.prev = _context21.next) {
|
|
806
831
|
case 0:
|
|
807
|
-
return
|
|
832
|
+
return _context21.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
|
|
808
833
|
return _this17._legionClient.cancelJoinRequest(teamId);
|
|
809
834
|
}));
|
|
810
835
|
case 1:
|
|
811
836
|
case "end":
|
|
812
|
-
return
|
|
837
|
+
return _context21.stop();
|
|
813
838
|
}
|
|
814
|
-
},
|
|
839
|
+
}, _callee21, this);
|
|
815
840
|
}));
|
|
816
|
-
function cancelJoinRequest(
|
|
841
|
+
function cancelJoinRequest(_x0) {
|
|
817
842
|
return _cancelJoinRequest.apply(this, arguments);
|
|
818
843
|
}
|
|
819
844
|
return cancelJoinRequest;
|
|
@@ -825,27 +850,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
825
850
|
}, {
|
|
826
851
|
key: "acceptJoinRequest",
|
|
827
852
|
value: (function () {
|
|
828
|
-
var _acceptJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
853
|
+
var _acceptJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22() {
|
|
829
854
|
var _this18 = this;
|
|
830
855
|
var _len12,
|
|
831
856
|
args,
|
|
832
857
|
_key12,
|
|
833
|
-
|
|
834
|
-
return _regenerator.default.wrap(function
|
|
835
|
-
while (1) switch (
|
|
858
|
+
_args22 = arguments;
|
|
859
|
+
return _regenerator.default.wrap(function _callee22$(_context22) {
|
|
860
|
+
while (1) switch (_context22.prev = _context22.next) {
|
|
836
861
|
case 0:
|
|
837
|
-
for (_len12 =
|
|
838
|
-
args[_key12] =
|
|
862
|
+
for (_len12 = _args22.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
|
|
863
|
+
args[_key12] = _args22[_key12];
|
|
839
864
|
}
|
|
840
|
-
return
|
|
865
|
+
return _context22.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
|
|
841
866
|
var _this18$_legionClient;
|
|
842
867
|
return (_this18$_legionClient = _this18._legionClient).acceptJoinRequest.apply(_this18$_legionClient, args);
|
|
843
868
|
}));
|
|
844
869
|
case 2:
|
|
845
870
|
case "end":
|
|
846
|
-
return
|
|
871
|
+
return _context22.stop();
|
|
847
872
|
}
|
|
848
|
-
},
|
|
873
|
+
}, _callee22, this);
|
|
849
874
|
}));
|
|
850
875
|
function acceptJoinRequest() {
|
|
851
876
|
return _acceptJoinRequest.apply(this, arguments);
|
|
@@ -859,27 +884,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
859
884
|
}, {
|
|
860
885
|
key: "declineJoinRequest",
|
|
861
886
|
value: (function () {
|
|
862
|
-
var _declineJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
887
|
+
var _declineJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() {
|
|
863
888
|
var _this19 = this;
|
|
864
889
|
var _len13,
|
|
865
890
|
args,
|
|
866
891
|
_key13,
|
|
867
|
-
|
|
868
|
-
return _regenerator.default.wrap(function
|
|
869
|
-
while (1) switch (
|
|
892
|
+
_args23 = arguments;
|
|
893
|
+
return _regenerator.default.wrap(function _callee23$(_context23) {
|
|
894
|
+
while (1) switch (_context23.prev = _context23.next) {
|
|
870
895
|
case 0:
|
|
871
|
-
for (_len13 =
|
|
872
|
-
args[_key13] =
|
|
896
|
+
for (_len13 = _args23.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
|
|
897
|
+
args[_key13] = _args23[_key13];
|
|
873
898
|
}
|
|
874
|
-
return
|
|
899
|
+
return _context23.abrupt("return", this.measurePerformance('declineJoinRequest', function () {
|
|
875
900
|
var _this19$_legionClient;
|
|
876
901
|
return (_this19$_legionClient = _this19._legionClient).declineJoinRequest.apply(_this19$_legionClient, args);
|
|
877
902
|
}));
|
|
878
903
|
case 2:
|
|
879
904
|
case "end":
|
|
880
|
-
return
|
|
905
|
+
return _context23.stop();
|
|
881
906
|
}
|
|
882
|
-
},
|
|
907
|
+
}, _callee23, this);
|
|
883
908
|
}));
|
|
884
909
|
function declineJoinRequest() {
|
|
885
910
|
return _declineJoinRequest.apply(this, arguments);
|
|
@@ -893,27 +918,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
893
918
|
}, {
|
|
894
919
|
key: "deleteTeamMembership",
|
|
895
920
|
value: (function () {
|
|
896
|
-
var _deleteTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
921
|
+
var _deleteTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
|
|
897
922
|
var _this20 = this;
|
|
898
923
|
var _len14,
|
|
899
924
|
args,
|
|
900
925
|
_key14,
|
|
901
|
-
|
|
902
|
-
return _regenerator.default.wrap(function
|
|
903
|
-
while (1) switch (
|
|
926
|
+
_args24 = arguments;
|
|
927
|
+
return _regenerator.default.wrap(function _callee24$(_context24) {
|
|
928
|
+
while (1) switch (_context24.prev = _context24.next) {
|
|
904
929
|
case 0:
|
|
905
|
-
for (_len14 =
|
|
906
|
-
args[_key14] =
|
|
930
|
+
for (_len14 = _args24.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
|
|
931
|
+
args[_key14] = _args24[_key14];
|
|
907
932
|
}
|
|
908
|
-
return
|
|
933
|
+
return _context24.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
|
|
909
934
|
var _this20$_legionClient;
|
|
910
935
|
return (_this20$_legionClient = _this20._legionClient).deleteTeamMembership.apply(_this20$_legionClient, args);
|
|
911
936
|
}));
|
|
912
937
|
case 2:
|
|
913
938
|
case "end":
|
|
914
|
-
return
|
|
939
|
+
return _context24.stop();
|
|
915
940
|
}
|
|
916
|
-
},
|
|
941
|
+
}, _callee24, this);
|
|
917
942
|
}));
|
|
918
943
|
function deleteTeamMembership() {
|
|
919
944
|
return _deleteTeamMembership.apply(this, arguments);
|
|
@@ -927,27 +952,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
927
952
|
}, {
|
|
928
953
|
key: "revokeTeamInvite",
|
|
929
954
|
value: (function () {
|
|
930
|
-
var _revokeTeamInvite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
955
|
+
var _revokeTeamInvite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25() {
|
|
931
956
|
var _this21 = this;
|
|
932
957
|
var _len15,
|
|
933
958
|
args,
|
|
934
959
|
_key15,
|
|
935
|
-
|
|
936
|
-
return _regenerator.default.wrap(function
|
|
937
|
-
while (1) switch (
|
|
960
|
+
_args25 = arguments;
|
|
961
|
+
return _regenerator.default.wrap(function _callee25$(_context25) {
|
|
962
|
+
while (1) switch (_context25.prev = _context25.next) {
|
|
938
963
|
case 0:
|
|
939
|
-
for (_len15 =
|
|
940
|
-
args[_key15] =
|
|
964
|
+
for (_len15 = _args25.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
|
|
965
|
+
args[_key15] = _args25[_key15];
|
|
941
966
|
}
|
|
942
|
-
return
|
|
967
|
+
return _context25.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
|
|
943
968
|
var _this21$_legionClient;
|
|
944
969
|
return (_this21$_legionClient = _this21._legionClient).revokeTeamInvite.apply(_this21$_legionClient, args);
|
|
945
970
|
}));
|
|
946
971
|
case 2:
|
|
947
972
|
case "end":
|
|
948
|
-
return
|
|
973
|
+
return _context25.stop();
|
|
949
974
|
}
|
|
950
|
-
},
|
|
975
|
+
}, _callee25, this);
|
|
951
976
|
}));
|
|
952
977
|
function revokeTeamInvite() {
|
|
953
978
|
return _revokeTeamInvite.apply(this, arguments);
|
|
@@ -961,21 +986,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
961
986
|
}, {
|
|
962
987
|
key: "deleteTeam",
|
|
963
988
|
value: (function () {
|
|
964
|
-
var _deleteTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
989
|
+
var _deleteTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26(teamId) {
|
|
965
990
|
var _this22 = this;
|
|
966
|
-
return _regenerator.default.wrap(function
|
|
967
|
-
while (1) switch (
|
|
991
|
+
return _regenerator.default.wrap(function _callee26$(_context26) {
|
|
992
|
+
while (1) switch (_context26.prev = _context26.next) {
|
|
968
993
|
case 0:
|
|
969
|
-
return
|
|
994
|
+
return _context26.abrupt("return", this.measurePerformance('deleteTeam', function () {
|
|
970
995
|
return _this22._legionClient.deleteTeam(teamId);
|
|
971
996
|
}));
|
|
972
997
|
case 1:
|
|
973
998
|
case "end":
|
|
974
|
-
return
|
|
999
|
+
return _context26.stop();
|
|
975
1000
|
}
|
|
976
|
-
},
|
|
1001
|
+
}, _callee26, this);
|
|
977
1002
|
}));
|
|
978
|
-
function deleteTeam(
|
|
1003
|
+
function deleteTeam(_x1) {
|
|
979
1004
|
return _deleteTeam.apply(this, arguments);
|
|
980
1005
|
}
|
|
981
1006
|
return deleteTeam;
|
|
@@ -988,18 +1013,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
988
1013
|
}, {
|
|
989
1014
|
key: "isSingleFullMemberTeam",
|
|
990
1015
|
value: (function () {
|
|
991
|
-
var _isSingleFullMemberTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
992
|
-
return _regenerator.default.wrap(function
|
|
993
|
-
while (1) switch (
|
|
1016
|
+
var _isSingleFullMemberTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27(teamId) {
|
|
1017
|
+
return _regenerator.default.wrap(function _callee27$(_context27) {
|
|
1018
|
+
while (1) switch (_context27.prev = _context27.next) {
|
|
994
1019
|
case 0:
|
|
995
|
-
return
|
|
1020
|
+
return _context27.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
|
|
996
1021
|
case 1:
|
|
997
1022
|
case "end":
|
|
998
|
-
return
|
|
1023
|
+
return _context27.stop();
|
|
999
1024
|
}
|
|
1000
|
-
},
|
|
1025
|
+
}, _callee27, this);
|
|
1001
1026
|
}));
|
|
1002
|
-
function isSingleFullMemberTeam(
|
|
1027
|
+
function isSingleFullMemberTeam(_x10) {
|
|
1003
1028
|
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
1004
1029
|
}
|
|
1005
1030
|
return isSingleFullMemberTeam;
|
|
@@ -1011,27 +1036,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1011
1036
|
}, {
|
|
1012
1037
|
key: "createTeam",
|
|
1013
1038
|
value: (function () {
|
|
1014
|
-
var _createTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1039
|
+
var _createTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28() {
|
|
1015
1040
|
var _this23 = this;
|
|
1016
1041
|
var _len16,
|
|
1017
1042
|
args,
|
|
1018
1043
|
_key16,
|
|
1019
|
-
|
|
1020
|
-
return _regenerator.default.wrap(function
|
|
1021
|
-
while (1) switch (
|
|
1044
|
+
_args28 = arguments;
|
|
1045
|
+
return _regenerator.default.wrap(function _callee28$(_context28) {
|
|
1046
|
+
while (1) switch (_context28.prev = _context28.next) {
|
|
1022
1047
|
case 0:
|
|
1023
|
-
for (_len16 =
|
|
1024
|
-
args[_key16] =
|
|
1048
|
+
for (_len16 = _args28.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
|
|
1049
|
+
args[_key16] = _args28[_key16];
|
|
1025
1050
|
}
|
|
1026
|
-
return
|
|
1051
|
+
return _context28.abrupt("return", this.measurePerformance('createTeam', function () {
|
|
1027
1052
|
var _this23$_legionClient;
|
|
1028
1053
|
return (_this23$_legionClient = _this23._legionClient).createTeam.apply(_this23$_legionClient, args);
|
|
1029
1054
|
}));
|
|
1030
1055
|
case 2:
|
|
1031
1056
|
case "end":
|
|
1032
|
-
return
|
|
1057
|
+
return _context28.stop();
|
|
1033
1058
|
}
|
|
1034
|
-
},
|
|
1059
|
+
}, _callee28, this);
|
|
1035
1060
|
}));
|
|
1036
1061
|
function createTeam() {
|
|
1037
1062
|
return _createTeam.apply(this, arguments);
|
|
@@ -1045,27 +1070,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1045
1070
|
}, {
|
|
1046
1071
|
key: "createTeamContainers",
|
|
1047
1072
|
value: (function () {
|
|
1048
|
-
var _createTeamContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1073
|
+
var _createTeamContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29() {
|
|
1049
1074
|
var _this24 = this;
|
|
1050
1075
|
var _len17,
|
|
1051
1076
|
args,
|
|
1052
1077
|
_key17,
|
|
1053
|
-
|
|
1054
|
-
return _regenerator.default.wrap(function
|
|
1055
|
-
while (1) switch (
|
|
1078
|
+
_args29 = arguments;
|
|
1079
|
+
return _regenerator.default.wrap(function _callee29$(_context29) {
|
|
1080
|
+
while (1) switch (_context29.prev = _context29.next) {
|
|
1056
1081
|
case 0:
|
|
1057
|
-
for (_len17 =
|
|
1058
|
-
args[_key17] =
|
|
1082
|
+
for (_len17 = _args29.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
|
|
1083
|
+
args[_key17] = _args29[_key17];
|
|
1059
1084
|
}
|
|
1060
|
-
return
|
|
1085
|
+
return _context29.abrupt("return", this.measurePerformance('createTeamContainers', function () {
|
|
1061
1086
|
var _this24$_legionClient;
|
|
1062
1087
|
return (_this24$_legionClient = _this24._legionClient).createTeamContainers.apply(_this24$_legionClient, args);
|
|
1063
1088
|
}));
|
|
1064
1089
|
case 2:
|
|
1065
1090
|
case "end":
|
|
1066
|
-
return
|
|
1091
|
+
return _context29.stop();
|
|
1067
1092
|
}
|
|
1068
|
-
},
|
|
1093
|
+
}, _callee29, this);
|
|
1069
1094
|
}));
|
|
1070
1095
|
function createTeamContainers() {
|
|
1071
1096
|
return _createTeamContainers.apply(this, arguments);
|
|
@@ -1081,27 +1106,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1081
1106
|
}, {
|
|
1082
1107
|
key: "createExternalTeam",
|
|
1083
1108
|
value: (function () {
|
|
1084
|
-
var _createExternalTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1109
|
+
var _createExternalTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30() {
|
|
1085
1110
|
var _this25 = this;
|
|
1086
1111
|
var _len18,
|
|
1087
1112
|
args,
|
|
1088
1113
|
_key18,
|
|
1089
|
-
|
|
1090
|
-
return _regenerator.default.wrap(function
|
|
1091
|
-
while (1) switch (
|
|
1114
|
+
_args30 = arguments;
|
|
1115
|
+
return _regenerator.default.wrap(function _callee30$(_context30) {
|
|
1116
|
+
while (1) switch (_context30.prev = _context30.next) {
|
|
1092
1117
|
case 0:
|
|
1093
|
-
for (_len18 =
|
|
1094
|
-
args[_key18] =
|
|
1118
|
+
for (_len18 = _args30.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
|
|
1119
|
+
args[_key18] = _args30[_key18];
|
|
1095
1120
|
}
|
|
1096
|
-
return
|
|
1121
|
+
return _context30.abrupt("return", this.measurePerformance('createExternalTeam', function () {
|
|
1097
1122
|
var _this25$_legionClient;
|
|
1098
1123
|
return (_this25$_legionClient = _this25._legionClient).createExternalTeam.apply(_this25$_legionClient, args);
|
|
1099
1124
|
}));
|
|
1100
1125
|
case 2:
|
|
1101
1126
|
case "end":
|
|
1102
|
-
return
|
|
1127
|
+
return _context30.stop();
|
|
1103
1128
|
}
|
|
1104
|
-
},
|
|
1129
|
+
}, _callee30, this);
|
|
1105
1130
|
}));
|
|
1106
1131
|
function createExternalTeam() {
|
|
1107
1132
|
return _createExternalTeam.apply(this, arguments);
|
|
@@ -1116,27 +1141,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1116
1141
|
}, {
|
|
1117
1142
|
key: "getLinkedTeamsBulk",
|
|
1118
1143
|
value: (function () {
|
|
1119
|
-
var _getLinkedTeamsBulk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1144
|
+
var _getLinkedTeamsBulk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31() {
|
|
1120
1145
|
var _this26 = this;
|
|
1121
1146
|
var _len19,
|
|
1122
1147
|
args,
|
|
1123
1148
|
_key19,
|
|
1124
|
-
|
|
1125
|
-
return _regenerator.default.wrap(function
|
|
1126
|
-
while (1) switch (
|
|
1149
|
+
_args31 = arguments;
|
|
1150
|
+
return _regenerator.default.wrap(function _callee31$(_context31) {
|
|
1151
|
+
while (1) switch (_context31.prev = _context31.next) {
|
|
1127
1152
|
case 0:
|
|
1128
|
-
for (_len19 =
|
|
1129
|
-
args[_key19] =
|
|
1153
|
+
for (_len19 = _args31.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
|
|
1154
|
+
args[_key19] = _args31[_key19];
|
|
1130
1155
|
}
|
|
1131
|
-
return
|
|
1156
|
+
return _context31.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
|
|
1132
1157
|
var _this26$_legionClient;
|
|
1133
1158
|
return (_this26$_legionClient = _this26._legionClient).getLinkedTeamsBulk.apply(_this26$_legionClient, args);
|
|
1134
1159
|
}));
|
|
1135
1160
|
case 2:
|
|
1136
1161
|
case "end":
|
|
1137
|
-
return
|
|
1162
|
+
return _context31.stop();
|
|
1138
1163
|
}
|
|
1139
|
-
},
|
|
1164
|
+
}, _callee31, this);
|
|
1140
1165
|
}));
|
|
1141
1166
|
function getLinkedTeamsBulk() {
|
|
1142
1167
|
return _getLinkedTeamsBulk.apply(this, arguments);
|
|
@@ -1150,27 +1175,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1150
1175
|
}, {
|
|
1151
1176
|
key: "getOrgScope",
|
|
1152
1177
|
value: (function () {
|
|
1153
|
-
var _getOrgScope = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1178
|
+
var _getOrgScope = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32() {
|
|
1154
1179
|
var _this27 = this;
|
|
1155
1180
|
var _len20,
|
|
1156
1181
|
args,
|
|
1157
1182
|
_key20,
|
|
1158
|
-
|
|
1159
|
-
return _regenerator.default.wrap(function
|
|
1160
|
-
while (1) switch (
|
|
1183
|
+
_args32 = arguments;
|
|
1184
|
+
return _regenerator.default.wrap(function _callee32$(_context32) {
|
|
1185
|
+
while (1) switch (_context32.prev = _context32.next) {
|
|
1161
1186
|
case 0:
|
|
1162
|
-
for (_len20 =
|
|
1163
|
-
args[_key20] =
|
|
1187
|
+
for (_len20 = _args32.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
|
|
1188
|
+
args[_key20] = _args32[_key20];
|
|
1164
1189
|
}
|
|
1165
|
-
return
|
|
1190
|
+
return _context32.abrupt("return", this.measurePerformance('getOrgScope', function () {
|
|
1166
1191
|
var _this27$_legionClient;
|
|
1167
1192
|
return (_this27$_legionClient = _this27._legionClient).getOrgScope.apply(_this27$_legionClient, args);
|
|
1168
1193
|
}));
|
|
1169
1194
|
case 2:
|
|
1170
1195
|
case "end":
|
|
1171
|
-
return
|
|
1196
|
+
return _context32.stop();
|
|
1172
1197
|
}
|
|
1173
|
-
},
|
|
1198
|
+
}, _callee32, this);
|
|
1174
1199
|
}));
|
|
1175
1200
|
function getOrgScope() {
|
|
1176
1201
|
return _getOrgScope.apply(this, arguments);
|
|
@@ -1184,27 +1209,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1184
1209
|
}, {
|
|
1185
1210
|
key: "restoreTeamToSyncedGroup",
|
|
1186
1211
|
value: (function () {
|
|
1187
|
-
var _restoreTeamToSyncedGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1212
|
+
var _restoreTeamToSyncedGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33() {
|
|
1188
1213
|
var _this28 = this;
|
|
1189
1214
|
var _len21,
|
|
1190
1215
|
args,
|
|
1191
1216
|
_key21,
|
|
1192
|
-
|
|
1193
|
-
return _regenerator.default.wrap(function
|
|
1194
|
-
while (1) switch (
|
|
1217
|
+
_args33 = arguments;
|
|
1218
|
+
return _regenerator.default.wrap(function _callee33$(_context33) {
|
|
1219
|
+
while (1) switch (_context33.prev = _context33.next) {
|
|
1195
1220
|
case 0:
|
|
1196
|
-
for (_len21 =
|
|
1197
|
-
args[_key21] =
|
|
1221
|
+
for (_len21 = _args33.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
|
|
1222
|
+
args[_key21] = _args33[_key21];
|
|
1198
1223
|
}
|
|
1199
|
-
return
|
|
1224
|
+
return _context33.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
|
|
1200
1225
|
var _this28$_legionClient;
|
|
1201
1226
|
return (_this28$_legionClient = _this28._legionClient).restoreTeamToSyncedGroup.apply(_this28$_legionClient, args);
|
|
1202
1227
|
}));
|
|
1203
1228
|
case 2:
|
|
1204
1229
|
case "end":
|
|
1205
|
-
return
|
|
1230
|
+
return _context33.stop();
|
|
1206
1231
|
}
|
|
1207
|
-
},
|
|
1232
|
+
}, _callee33, this);
|
|
1208
1233
|
}));
|
|
1209
1234
|
function restoreTeamToSyncedGroup() {
|
|
1210
1235
|
return _restoreTeamToSyncedGroup.apply(this, arguments);
|
|
@@ -1221,27 +1246,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1221
1246
|
}, {
|
|
1222
1247
|
key: "getTeamAndGroupDiff",
|
|
1223
1248
|
value: (function () {
|
|
1224
|
-
var _getTeamAndGroupDiff = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1249
|
+
var _getTeamAndGroupDiff = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34() {
|
|
1225
1250
|
var _this29 = this;
|
|
1226
1251
|
var _len22,
|
|
1227
1252
|
args,
|
|
1228
1253
|
_key22,
|
|
1229
|
-
|
|
1230
|
-
return _regenerator.default.wrap(function
|
|
1231
|
-
while (1) switch (
|
|
1254
|
+
_args34 = arguments;
|
|
1255
|
+
return _regenerator.default.wrap(function _callee34$(_context34) {
|
|
1256
|
+
while (1) switch (_context34.prev = _context34.next) {
|
|
1232
1257
|
case 0:
|
|
1233
|
-
for (_len22 =
|
|
1234
|
-
args[_key22] =
|
|
1258
|
+
for (_len22 = _args34.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
|
|
1259
|
+
args[_key22] = _args34[_key22];
|
|
1235
1260
|
}
|
|
1236
|
-
return
|
|
1261
|
+
return _context34.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
|
|
1237
1262
|
var _this29$_legionClient;
|
|
1238
1263
|
return (_this29$_legionClient = _this29._legionClient).getTeamAndGroupDiff.apply(_this29$_legionClient, args);
|
|
1239
1264
|
}));
|
|
1240
1265
|
case 2:
|
|
1241
1266
|
case "end":
|
|
1242
|
-
return
|
|
1267
|
+
return _context34.stop();
|
|
1243
1268
|
}
|
|
1244
|
-
},
|
|
1269
|
+
}, _callee34, this);
|
|
1245
1270
|
}));
|
|
1246
1271
|
function getTeamAndGroupDiff() {
|
|
1247
1272
|
return _getTeamAndGroupDiff.apply(this, arguments);
|
|
@@ -1257,27 +1282,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1257
1282
|
}, {
|
|
1258
1283
|
key: "linkExistingTeamToGroup",
|
|
1259
1284
|
value: (function () {
|
|
1260
|
-
var _linkExistingTeamToGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1285
|
+
var _linkExistingTeamToGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35() {
|
|
1261
1286
|
var _this30 = this;
|
|
1262
1287
|
var _len23,
|
|
1263
1288
|
args,
|
|
1264
1289
|
_key23,
|
|
1265
|
-
|
|
1266
|
-
return _regenerator.default.wrap(function
|
|
1267
|
-
while (1) switch (
|
|
1290
|
+
_args35 = arguments;
|
|
1291
|
+
return _regenerator.default.wrap(function _callee35$(_context35) {
|
|
1292
|
+
while (1) switch (_context35.prev = _context35.next) {
|
|
1268
1293
|
case 0:
|
|
1269
|
-
for (_len23 =
|
|
1270
|
-
args[_key23] =
|
|
1294
|
+
for (_len23 = _args35.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
|
|
1295
|
+
args[_key23] = _args35[_key23];
|
|
1271
1296
|
}
|
|
1272
|
-
return
|
|
1297
|
+
return _context35.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
|
|
1273
1298
|
var _this30$_legionClient;
|
|
1274
1299
|
return (_this30$_legionClient = _this30._legionClient).linkExistingTeamToGroup.apply(_this30$_legionClient, args);
|
|
1275
1300
|
}));
|
|
1276
1301
|
case 2:
|
|
1277
1302
|
case "end":
|
|
1278
|
-
return
|
|
1303
|
+
return _context35.stop();
|
|
1279
1304
|
}
|
|
1280
|
-
},
|
|
1305
|
+
}, _callee35, this);
|
|
1281
1306
|
}));
|
|
1282
1307
|
function linkExistingTeamToGroup() {
|
|
1283
1308
|
return _linkExistingTeamToGroup.apply(this, arguments);
|
|
@@ -1293,27 +1318,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1293
1318
|
}, {
|
|
1294
1319
|
key: "getTeamProfileDetailsByTeamId",
|
|
1295
1320
|
value: (function () {
|
|
1296
|
-
var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1321
|
+
var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36() {
|
|
1297
1322
|
var _this31 = this;
|
|
1298
1323
|
var _len24,
|
|
1299
1324
|
args,
|
|
1300
1325
|
_key24,
|
|
1301
|
-
|
|
1302
|
-
return _regenerator.default.wrap(function
|
|
1303
|
-
while (1) switch (
|
|
1326
|
+
_args36 = arguments;
|
|
1327
|
+
return _regenerator.default.wrap(function _callee36$(_context36) {
|
|
1328
|
+
while (1) switch (_context36.prev = _context36.next) {
|
|
1304
1329
|
case 0:
|
|
1305
|
-
for (_len24 =
|
|
1306
|
-
args[_key24] =
|
|
1330
|
+
for (_len24 = _args36.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
|
|
1331
|
+
args[_key24] = _args36[_key24];
|
|
1307
1332
|
}
|
|
1308
|
-
return
|
|
1333
|
+
return _context36.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
|
|
1309
1334
|
var _this31$_legionClient;
|
|
1310
1335
|
return (_this31$_legionClient = _this31._legionClient).getTeamProfileDetails.apply(_this31$_legionClient, args);
|
|
1311
1336
|
}));
|
|
1312
1337
|
case 2:
|
|
1313
1338
|
case "end":
|
|
1314
|
-
return
|
|
1339
|
+
return _context36.stop();
|
|
1315
1340
|
}
|
|
1316
|
-
},
|
|
1341
|
+
}, _callee36, this);
|
|
1317
1342
|
}));
|
|
1318
1343
|
function getTeamProfileDetailsByTeamId() {
|
|
1319
1344
|
return _getTeamProfileDetailsByTeamId.apply(this, arguments);
|
|
@@ -1329,21 +1354,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1329
1354
|
}, {
|
|
1330
1355
|
key: "getSoftDeletdTeamById",
|
|
1331
1356
|
value: (function () {
|
|
1332
|
-
var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1357
|
+
var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37(teamId) {
|
|
1333
1358
|
var _this32 = this;
|
|
1334
|
-
return _regenerator.default.wrap(function
|
|
1335
|
-
while (1) switch (
|
|
1359
|
+
return _regenerator.default.wrap(function _callee37$(_context37) {
|
|
1360
|
+
while (1) switch (_context37.prev = _context37.next) {
|
|
1336
1361
|
case 0:
|
|
1337
|
-
return
|
|
1362
|
+
return _context37.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
|
|
1338
1363
|
return _this32._legionClient.getSoftDeletedTeamById(teamId);
|
|
1339
1364
|
}));
|
|
1340
1365
|
case 1:
|
|
1341
1366
|
case "end":
|
|
1342
|
-
return
|
|
1367
|
+
return _context37.stop();
|
|
1343
1368
|
}
|
|
1344
|
-
},
|
|
1369
|
+
}, _callee37, this);
|
|
1345
1370
|
}));
|
|
1346
|
-
function getSoftDeletdTeamById(
|
|
1371
|
+
function getSoftDeletdTeamById(_x11) {
|
|
1347
1372
|
return _getSoftDeletdTeamById.apply(this, arguments);
|
|
1348
1373
|
}
|
|
1349
1374
|
return getSoftDeletdTeamById;
|
|
@@ -1357,21 +1382,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1357
1382
|
}, {
|
|
1358
1383
|
key: "getUserInSiteUserBase",
|
|
1359
1384
|
value: (function () {
|
|
1360
|
-
var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1385
|
+
var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38(userId) {
|
|
1361
1386
|
var _this33 = this;
|
|
1362
|
-
return _regenerator.default.wrap(function
|
|
1363
|
-
while (1) switch (
|
|
1387
|
+
return _regenerator.default.wrap(function _callee38$(_context38) {
|
|
1388
|
+
while (1) switch (_context38.prev = _context38.next) {
|
|
1364
1389
|
case 0:
|
|
1365
|
-
return
|
|
1390
|
+
return _context38.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
|
|
1366
1391
|
return _this33._legionClient.getUserInSiteUserBase(userId);
|
|
1367
1392
|
}));
|
|
1368
1393
|
case 1:
|
|
1369
1394
|
case "end":
|
|
1370
|
-
return
|
|
1395
|
+
return _context38.stop();
|
|
1371
1396
|
}
|
|
1372
|
-
},
|
|
1397
|
+
}, _callee38, this);
|
|
1373
1398
|
}));
|
|
1374
|
-
function getUserInSiteUserBase(
|
|
1399
|
+
function getUserInSiteUserBase(_x12) {
|
|
1375
1400
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
1376
1401
|
}
|
|
1377
1402
|
return getUserInSiteUserBase;
|
|
@@ -1389,27 +1414,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1389
1414
|
}, {
|
|
1390
1415
|
key: "getProfileWithMutability",
|
|
1391
1416
|
value: (function () {
|
|
1392
|
-
var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1417
|
+
var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39() {
|
|
1393
1418
|
var _this34 = this;
|
|
1394
1419
|
var _len25,
|
|
1395
1420
|
args,
|
|
1396
1421
|
_key25,
|
|
1397
|
-
|
|
1398
|
-
return _regenerator.default.wrap(function
|
|
1399
|
-
while (1) switch (
|
|
1422
|
+
_args39 = arguments;
|
|
1423
|
+
return _regenerator.default.wrap(function _callee39$(_context39) {
|
|
1424
|
+
while (1) switch (_context39.prev = _context39.next) {
|
|
1400
1425
|
case 0:
|
|
1401
|
-
for (_len25 =
|
|
1402
|
-
args[_key25] =
|
|
1426
|
+
for (_len25 = _args39.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
|
|
1427
|
+
args[_key25] = _args39[_key25];
|
|
1403
1428
|
}
|
|
1404
|
-
return
|
|
1429
|
+
return _context39.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
|
|
1405
1430
|
var _this34$_mutabilityCl;
|
|
1406
1431
|
return (_this34$_mutabilityCl = _this34._mutabilityClient).getProfileWithMutability.apply(_this34$_mutabilityCl, args);
|
|
1407
1432
|
}));
|
|
1408
1433
|
case 2:
|
|
1409
1434
|
case "end":
|
|
1410
|
-
return
|
|
1435
|
+
return _context39.stop();
|
|
1411
1436
|
}
|
|
1412
|
-
},
|
|
1437
|
+
}, _callee39, this);
|
|
1413
1438
|
}));
|
|
1414
1439
|
function getProfileWithMutability() {
|
|
1415
1440
|
return _getProfileWithMutability.apply(this, arguments);
|
|
@@ -1511,19 +1536,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1511
1536
|
}, {
|
|
1512
1537
|
key: "getWriteTeamMediaToken",
|
|
1513
1538
|
value: (function () {
|
|
1514
|
-
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1539
|
+
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40() {
|
|
1515
1540
|
var _this41 = this;
|
|
1516
|
-
return _regenerator.default.wrap(function
|
|
1517
|
-
while (1) switch (
|
|
1541
|
+
return _regenerator.default.wrap(function _callee40$(_context40) {
|
|
1542
|
+
while (1) switch (_context40.prev = _context40.next) {
|
|
1518
1543
|
case 0:
|
|
1519
|
-
return
|
|
1544
|
+
return _context40.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1520
1545
|
return _this41._legionClient.getWriteMediaToken();
|
|
1521
1546
|
}));
|
|
1522
1547
|
case 1:
|
|
1523
1548
|
case "end":
|
|
1524
|
-
return
|
|
1549
|
+
return _context40.stop();
|
|
1525
1550
|
}
|
|
1526
|
-
},
|
|
1551
|
+
}, _callee40, this);
|
|
1527
1552
|
}));
|
|
1528
1553
|
function getWriteTeamMediaToken() {
|
|
1529
1554
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1537,27 +1562,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1537
1562
|
}, {
|
|
1538
1563
|
key: "getReadMediaToken",
|
|
1539
1564
|
value: (function () {
|
|
1540
|
-
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1565
|
+
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41() {
|
|
1541
1566
|
var _this42 = this;
|
|
1542
1567
|
var _len32,
|
|
1543
1568
|
args,
|
|
1544
1569
|
_key32,
|
|
1545
|
-
|
|
1546
|
-
return _regenerator.default.wrap(function
|
|
1547
|
-
while (1) switch (
|
|
1570
|
+
_args41 = arguments;
|
|
1571
|
+
return _regenerator.default.wrap(function _callee41$(_context41) {
|
|
1572
|
+
while (1) switch (_context41.prev = _context41.next) {
|
|
1548
1573
|
case 0:
|
|
1549
|
-
for (_len32 =
|
|
1550
|
-
args[_key32] =
|
|
1574
|
+
for (_len32 = _args41.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
|
|
1575
|
+
args[_key32] = _args41[_key32];
|
|
1551
1576
|
}
|
|
1552
|
-
return
|
|
1577
|
+
return _context41.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1553
1578
|
var _this42$_userPreferen;
|
|
1554
1579
|
return (_this42$_userPreferen = _this42._userPreferencesClient).getReadMediaToken.apply(_this42$_userPreferen, args);
|
|
1555
1580
|
}));
|
|
1556
1581
|
case 2:
|
|
1557
1582
|
case "end":
|
|
1558
|
-
return
|
|
1583
|
+
return _context41.stop();
|
|
1559
1584
|
}
|
|
1560
|
-
},
|
|
1585
|
+
}, _callee41, this);
|
|
1561
1586
|
}));
|
|
1562
1587
|
function getReadMediaToken() {
|
|
1563
1588
|
return _getReadMediaToken.apply(this, arguments);
|
|
@@ -1571,19 +1596,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1571
1596
|
}, {
|
|
1572
1597
|
key: "getWriteUserMediaToken",
|
|
1573
1598
|
value: (function () {
|
|
1574
|
-
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1599
|
+
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42() {
|
|
1575
1600
|
var _this43 = this;
|
|
1576
|
-
return _regenerator.default.wrap(function
|
|
1577
|
-
while (1) switch (
|
|
1601
|
+
return _regenerator.default.wrap(function _callee42$(_context42) {
|
|
1602
|
+
while (1) switch (_context42.prev = _context42.next) {
|
|
1578
1603
|
case 0:
|
|
1579
|
-
return
|
|
1604
|
+
return _context42.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1580
1605
|
return _this43._userPreferencesClient.getWriteMediaToken();
|
|
1581
1606
|
}));
|
|
1582
1607
|
case 1:
|
|
1583
1608
|
case "end":
|
|
1584
|
-
return
|
|
1609
|
+
return _context42.stop();
|
|
1585
1610
|
}
|
|
1586
|
-
},
|
|
1611
|
+
}, _callee42, this);
|
|
1587
1612
|
}));
|
|
1588
1613
|
function getWriteUserMediaToken() {
|
|
1589
1614
|
return _getWriteUserMediaToken.apply(this, arguments);
|
|
@@ -1597,21 +1622,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1597
1622
|
}, {
|
|
1598
1623
|
key: "updateUserHeaderImage",
|
|
1599
1624
|
value: (function () {
|
|
1600
|
-
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1625
|
+
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43(headerImageId) {
|
|
1601
1626
|
var _this44 = this;
|
|
1602
|
-
return _regenerator.default.wrap(function
|
|
1603
|
-
while (1) switch (
|
|
1627
|
+
return _regenerator.default.wrap(function _callee43$(_context43) {
|
|
1628
|
+
while (1) switch (_context43.prev = _context43.next) {
|
|
1604
1629
|
case 0:
|
|
1605
|
-
return
|
|
1630
|
+
return _context43.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1606
1631
|
return _this44._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1607
1632
|
}));
|
|
1608
1633
|
case 1:
|
|
1609
1634
|
case "end":
|
|
1610
|
-
return
|
|
1635
|
+
return _context43.stop();
|
|
1611
1636
|
}
|
|
1612
|
-
},
|
|
1637
|
+
}, _callee43, this);
|
|
1613
1638
|
}));
|
|
1614
|
-
function updateUserHeaderImage(
|
|
1639
|
+
function updateUserHeaderImage(_x13) {
|
|
1615
1640
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
1616
1641
|
}
|
|
1617
1642
|
return updateUserHeaderImage;
|
|
@@ -1623,27 +1648,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1623
1648
|
}, {
|
|
1624
1649
|
key: "getUserContainers",
|
|
1625
1650
|
value: (function () {
|
|
1626
|
-
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1651
|
+
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44() {
|
|
1627
1652
|
var _this45 = this;
|
|
1628
1653
|
var _len33,
|
|
1629
1654
|
args,
|
|
1630
1655
|
_key33,
|
|
1631
|
-
|
|
1632
|
-
return _regenerator.default.wrap(function
|
|
1633
|
-
while (1) switch (
|
|
1656
|
+
_args44 = arguments;
|
|
1657
|
+
return _regenerator.default.wrap(function _callee44$(_context44) {
|
|
1658
|
+
while (1) switch (_context44.prev = _context44.next) {
|
|
1634
1659
|
case 0:
|
|
1635
|
-
for (_len33 =
|
|
1636
|
-
args[_key33] =
|
|
1660
|
+
for (_len33 = _args44.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1661
|
+
args[_key33] = _args44[_key33];
|
|
1637
1662
|
}
|
|
1638
|
-
return
|
|
1663
|
+
return _context44.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1639
1664
|
var _this45$_collaboratio;
|
|
1640
1665
|
return (_this45$_collaboratio = _this45._collaborationGraphClient).getUserContainers.apply(_this45$_collaboratio, args);
|
|
1641
1666
|
}));
|
|
1642
1667
|
case 2:
|
|
1643
1668
|
case "end":
|
|
1644
|
-
return
|
|
1669
|
+
return _context44.stop();
|
|
1645
1670
|
}
|
|
1646
|
-
},
|
|
1671
|
+
}, _callee44, this);
|
|
1647
1672
|
}));
|
|
1648
1673
|
function getUserContainers() {
|
|
1649
1674
|
return _getUserContainers.apply(this, arguments);
|
|
@@ -1657,27 +1682,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1657
1682
|
}, {
|
|
1658
1683
|
key: "getUserManageConfig",
|
|
1659
1684
|
value: (function () {
|
|
1660
|
-
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1685
|
+
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() {
|
|
1661
1686
|
var _this46 = this;
|
|
1662
1687
|
var _len34,
|
|
1663
1688
|
args,
|
|
1664
1689
|
_key34,
|
|
1665
|
-
|
|
1666
|
-
return _regenerator.default.wrap(function
|
|
1667
|
-
while (1) switch (
|
|
1690
|
+
_args45 = arguments;
|
|
1691
|
+
return _regenerator.default.wrap(function _callee45$(_context45) {
|
|
1692
|
+
while (1) switch (_context45.prev = _context45.next) {
|
|
1668
1693
|
case 0:
|
|
1669
|
-
for (_len34 =
|
|
1670
|
-
args[_key34] =
|
|
1694
|
+
for (_len34 = _args45.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1695
|
+
args[_key34] = _args45[_key34];
|
|
1671
1696
|
}
|
|
1672
|
-
return
|
|
1697
|
+
return _context45.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1673
1698
|
var _this46$_identityClie;
|
|
1674
1699
|
return (_this46$_identityClie = _this46._identityClient).getUserManageConfig.apply(_this46$_identityClie, args);
|
|
1675
1700
|
}));
|
|
1676
1701
|
case 2:
|
|
1677
1702
|
case "end":
|
|
1678
|
-
return
|
|
1703
|
+
return _context45.stop();
|
|
1679
1704
|
}
|
|
1680
|
-
},
|
|
1705
|
+
}, _callee45, this);
|
|
1681
1706
|
}));
|
|
1682
1707
|
function getUserManageConfig() {
|
|
1683
1708
|
return _getUserManageConfig.apply(this, arguments);
|
|
@@ -1691,27 +1716,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1691
1716
|
}, {
|
|
1692
1717
|
key: "getMyAvatarUploadedStatus",
|
|
1693
1718
|
value: (function () {
|
|
1694
|
-
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1719
|
+
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
|
|
1695
1720
|
var _this47 = this;
|
|
1696
1721
|
var _len35,
|
|
1697
1722
|
args,
|
|
1698
1723
|
_key35,
|
|
1699
|
-
|
|
1700
|
-
return _regenerator.default.wrap(function
|
|
1701
|
-
while (1) switch (
|
|
1724
|
+
_args46 = arguments;
|
|
1725
|
+
return _regenerator.default.wrap(function _callee46$(_context46) {
|
|
1726
|
+
while (1) switch (_context46.prev = _context46.next) {
|
|
1702
1727
|
case 0:
|
|
1703
|
-
for (_len35 =
|
|
1704
|
-
args[_key35] =
|
|
1728
|
+
for (_len35 = _args46.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1729
|
+
args[_key35] = _args46[_key35];
|
|
1705
1730
|
}
|
|
1706
|
-
return
|
|
1731
|
+
return _context46.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
1707
1732
|
var _this47$_identityClie;
|
|
1708
1733
|
return (_this47$_identityClie = _this47._identityClient).getMyAvatarUploadedStatus.apply(_this47$_identityClie, args);
|
|
1709
1734
|
}));
|
|
1710
1735
|
case 2:
|
|
1711
1736
|
case "end":
|
|
1712
|
-
return
|
|
1737
|
+
return _context46.stop();
|
|
1713
1738
|
}
|
|
1714
|
-
},
|
|
1739
|
+
}, _callee46, this);
|
|
1715
1740
|
}));
|
|
1716
1741
|
function getMyAvatarUploadedStatus() {
|
|
1717
1742
|
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
@@ -1725,27 +1750,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1725
1750
|
}, {
|
|
1726
1751
|
key: "deleteAvatar",
|
|
1727
1752
|
value: (function () {
|
|
1728
|
-
var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1753
|
+
var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
|
|
1729
1754
|
var _this48 = this;
|
|
1730
1755
|
var _len36,
|
|
1731
1756
|
args,
|
|
1732
1757
|
_key36,
|
|
1733
|
-
|
|
1734
|
-
return _regenerator.default.wrap(function
|
|
1735
|
-
while (1) switch (
|
|
1758
|
+
_args47 = arguments;
|
|
1759
|
+
return _regenerator.default.wrap(function _callee47$(_context47) {
|
|
1760
|
+
while (1) switch (_context47.prev = _context47.next) {
|
|
1736
1761
|
case 0:
|
|
1737
|
-
for (_len36 =
|
|
1738
|
-
args[_key36] =
|
|
1762
|
+
for (_len36 = _args47.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1763
|
+
args[_key36] = _args47[_key36];
|
|
1739
1764
|
}
|
|
1740
|
-
return
|
|
1765
|
+
return _context47.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
1741
1766
|
var _this48$_identityClie;
|
|
1742
1767
|
return (_this48$_identityClie = _this48._identityClient).deleteAvatar.apply(_this48$_identityClie, args);
|
|
1743
1768
|
}));
|
|
1744
1769
|
case 2:
|
|
1745
1770
|
case "end":
|
|
1746
|
-
return
|
|
1771
|
+
return _context47.stop();
|
|
1747
1772
|
}
|
|
1748
|
-
},
|
|
1773
|
+
}, _callee47, this);
|
|
1749
1774
|
}));
|
|
1750
1775
|
function deleteAvatar() {
|
|
1751
1776
|
return _deleteAvatar.apply(this, arguments);
|
|
@@ -1755,27 +1780,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1755
1780
|
}, {
|
|
1756
1781
|
key: "fetchUserAvatarInfo",
|
|
1757
1782
|
value: function () {
|
|
1758
|
-
var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1783
|
+
var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() {
|
|
1759
1784
|
var _this49 = this;
|
|
1760
1785
|
var _len37,
|
|
1761
1786
|
args,
|
|
1762
1787
|
_key37,
|
|
1763
|
-
|
|
1764
|
-
return _regenerator.default.wrap(function
|
|
1765
|
-
while (1) switch (
|
|
1788
|
+
_args48 = arguments;
|
|
1789
|
+
return _regenerator.default.wrap(function _callee48$(_context48) {
|
|
1790
|
+
while (1) switch (_context48.prev = _context48.next) {
|
|
1766
1791
|
case 0:
|
|
1767
|
-
for (_len37 =
|
|
1768
|
-
args[_key37] =
|
|
1792
|
+
for (_len37 = _args48.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1793
|
+
args[_key37] = _args48[_key37];
|
|
1769
1794
|
}
|
|
1770
|
-
return
|
|
1795
|
+
return _context48.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
1771
1796
|
var _this49$_identityClie;
|
|
1772
1797
|
return (_this49$_identityClie = _this49._identityClient).fetchUserAvatarInfo.apply(_this49$_identityClie, args);
|
|
1773
1798
|
}));
|
|
1774
1799
|
case 2:
|
|
1775
1800
|
case "end":
|
|
1776
|
-
return
|
|
1801
|
+
return _context48.stop();
|
|
1777
1802
|
}
|
|
1778
|
-
},
|
|
1803
|
+
}, _callee48, this);
|
|
1779
1804
|
}));
|
|
1780
1805
|
function fetchUserAvatarInfo() {
|
|
1781
1806
|
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
@@ -1788,27 +1813,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1788
1813
|
}, {
|
|
1789
1814
|
key: "getTeamLinkIcons",
|
|
1790
1815
|
value: (function () {
|
|
1791
|
-
var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1816
|
+
var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() {
|
|
1792
1817
|
var _this50 = this;
|
|
1793
1818
|
var _len38,
|
|
1794
1819
|
args,
|
|
1795
1820
|
_key38,
|
|
1796
|
-
|
|
1797
|
-
return _regenerator.default.wrap(function
|
|
1798
|
-
while (1) switch (
|
|
1821
|
+
_args49 = arguments;
|
|
1822
|
+
return _regenerator.default.wrap(function _callee49$(_context49) {
|
|
1823
|
+
while (1) switch (_context49.prev = _context49.next) {
|
|
1799
1824
|
case 0:
|
|
1800
|
-
for (_len38 =
|
|
1801
|
-
args[_key38] =
|
|
1825
|
+
for (_len38 = _args49.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1826
|
+
args[_key38] = _args49[_key38];
|
|
1802
1827
|
}
|
|
1803
|
-
return
|
|
1828
|
+
return _context49.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
|
|
1804
1829
|
var _this50$_objectResolv;
|
|
1805
1830
|
return (_this50$_objectResolv = _this50._objectResolverClient).getTeamLinkIcons.apply(_this50$_objectResolv, args);
|
|
1806
1831
|
}));
|
|
1807
1832
|
case 2:
|
|
1808
1833
|
case "end":
|
|
1809
|
-
return
|
|
1834
|
+
return _context49.stop();
|
|
1810
1835
|
}
|
|
1811
|
-
},
|
|
1836
|
+
}, _callee49, this);
|
|
1812
1837
|
}));
|
|
1813
1838
|
function getTeamLinkIcons() {
|
|
1814
1839
|
return _getTeamLinkIcons.apply(this, arguments);
|
|
@@ -1822,27 +1847,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1822
1847
|
}, {
|
|
1823
1848
|
key: "getAriFromUrl",
|
|
1824
1849
|
value: (function () {
|
|
1825
|
-
var _getAriFromUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1850
|
+
var _getAriFromUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
|
|
1826
1851
|
var _this51 = this;
|
|
1827
1852
|
var _len39,
|
|
1828
1853
|
args,
|
|
1829
1854
|
_key39,
|
|
1830
|
-
|
|
1831
|
-
return _regenerator.default.wrap(function
|
|
1832
|
-
while (1) switch (
|
|
1855
|
+
_args50 = arguments;
|
|
1856
|
+
return _regenerator.default.wrap(function _callee50$(_context50) {
|
|
1857
|
+
while (1) switch (_context50.prev = _context50.next) {
|
|
1833
1858
|
case 0:
|
|
1834
|
-
for (_len39 =
|
|
1835
|
-
args[_key39] =
|
|
1859
|
+
for (_len39 = _args50.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1860
|
+
args[_key39] = _args50[_key39];
|
|
1836
1861
|
}
|
|
1837
|
-
return
|
|
1862
|
+
return _context50.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
|
|
1838
1863
|
var _this51$_objectResolv;
|
|
1839
1864
|
return (_this51$_objectResolv = _this51._objectResolverClient).getAriFromUrl.apply(_this51$_objectResolv, args);
|
|
1840
1865
|
}));
|
|
1841
1866
|
case 2:
|
|
1842
1867
|
case "end":
|
|
1843
|
-
return
|
|
1868
|
+
return _context50.stop();
|
|
1844
1869
|
}
|
|
1845
|
-
},
|
|
1870
|
+
}, _callee50, this);
|
|
1846
1871
|
}));
|
|
1847
1872
|
function getAriFromUrl() {
|
|
1848
1873
|
return _getAriFromUrl.apply(this, arguments);
|
|
@@ -1856,27 +1881,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1856
1881
|
}, {
|
|
1857
1882
|
key: "getWebLinkTitle",
|
|
1858
1883
|
value: (function () {
|
|
1859
|
-
var _getWebLinkTitle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1884
|
+
var _getWebLinkTitle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
|
|
1860
1885
|
var _this52 = this;
|
|
1861
1886
|
var _len40,
|
|
1862
1887
|
args,
|
|
1863
1888
|
_key40,
|
|
1864
|
-
|
|
1865
|
-
return _regenerator.default.wrap(function
|
|
1866
|
-
while (1) switch (
|
|
1889
|
+
_args51 = arguments;
|
|
1890
|
+
return _regenerator.default.wrap(function _callee51$(_context51) {
|
|
1891
|
+
while (1) switch (_context51.prev = _context51.next) {
|
|
1867
1892
|
case 0:
|
|
1868
|
-
for (_len40 =
|
|
1869
|
-
args[_key40] =
|
|
1893
|
+
for (_len40 = _args51.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1894
|
+
args[_key40] = _args51[_key40];
|
|
1870
1895
|
}
|
|
1871
|
-
return
|
|
1896
|
+
return _context51.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
|
|
1872
1897
|
var _this52$_objectResolv;
|
|
1873
1898
|
return (_this52$_objectResolv = _this52._objectResolverClient).getWebLinkTitle.apply(_this52$_objectResolv, args);
|
|
1874
1899
|
}));
|
|
1875
1900
|
case 2:
|
|
1876
1901
|
case "end":
|
|
1877
|
-
return
|
|
1902
|
+
return _context51.stop();
|
|
1878
1903
|
}
|
|
1879
|
-
},
|
|
1904
|
+
}, _callee51, this);
|
|
1880
1905
|
}));
|
|
1881
1906
|
function getWebLinkTitle() {
|
|
1882
1907
|
return _getWebLinkTitle.apply(this, arguments);
|
|
@@ -1890,27 +1915,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1890
1915
|
}, {
|
|
1891
1916
|
key: "getTeamInSlack",
|
|
1892
1917
|
value: (function () {
|
|
1893
|
-
var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1918
|
+
var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
|
|
1894
1919
|
var _this53 = this;
|
|
1895
1920
|
var _len41,
|
|
1896
1921
|
args,
|
|
1897
1922
|
_key41,
|
|
1898
|
-
|
|
1899
|
-
return _regenerator.default.wrap(function
|
|
1900
|
-
while (1) switch (
|
|
1923
|
+
_args52 = arguments;
|
|
1924
|
+
return _regenerator.default.wrap(function _callee52$(_context52) {
|
|
1925
|
+
while (1) switch (_context52.prev = _context52.next) {
|
|
1901
1926
|
case 0:
|
|
1902
|
-
for (_len41 =
|
|
1903
|
-
args[_key41] =
|
|
1927
|
+
for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1928
|
+
args[_key41] = _args52[_key41];
|
|
1904
1929
|
}
|
|
1905
|
-
return
|
|
1930
|
+
return _context52.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
|
|
1906
1931
|
var _this53$_teamsInSlack;
|
|
1907
1932
|
return (_this53$_teamsInSlack = _this53._teamsInSlackClient).getTeamInSlack.apply(_this53$_teamsInSlack, args);
|
|
1908
1933
|
}));
|
|
1909
1934
|
case 2:
|
|
1910
1935
|
case "end":
|
|
1911
|
-
return
|
|
1936
|
+
return _context52.stop();
|
|
1912
1937
|
}
|
|
1913
|
-
},
|
|
1938
|
+
}, _callee52, this);
|
|
1914
1939
|
}));
|
|
1915
1940
|
function getTeamInSlack() {
|
|
1916
1941
|
return _getTeamInSlack.apply(this, arguments);
|
|
@@ -1924,27 +1949,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1924
1949
|
}, {
|
|
1925
1950
|
key: "disconnectTeamInSlack",
|
|
1926
1951
|
value: (function () {
|
|
1927
|
-
var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1952
|
+
var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
|
|
1928
1953
|
var _this54 = this;
|
|
1929
1954
|
var _len42,
|
|
1930
1955
|
args,
|
|
1931
1956
|
_key42,
|
|
1932
|
-
|
|
1933
|
-
return _regenerator.default.wrap(function
|
|
1934
|
-
while (1) switch (
|
|
1957
|
+
_args53 = arguments;
|
|
1958
|
+
return _regenerator.default.wrap(function _callee53$(_context53) {
|
|
1959
|
+
while (1) switch (_context53.prev = _context53.next) {
|
|
1935
1960
|
case 0:
|
|
1936
|
-
for (_len42 =
|
|
1937
|
-
args[_key42] =
|
|
1961
|
+
for (_len42 = _args53.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
|
|
1962
|
+
args[_key42] = _args53[_key42];
|
|
1938
1963
|
}
|
|
1939
|
-
return
|
|
1964
|
+
return _context53.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
1940
1965
|
var _this54$_teamsInSlack;
|
|
1941
1966
|
return (_this54$_teamsInSlack = _this54._teamsInSlackClient).disconnectTeamInSlack.apply(_this54$_teamsInSlack, args);
|
|
1942
1967
|
}));
|
|
1943
1968
|
case 2:
|
|
1944
1969
|
case "end":
|
|
1945
|
-
return
|
|
1970
|
+
return _context53.stop();
|
|
1946
1971
|
}
|
|
1947
|
-
},
|
|
1972
|
+
}, _callee53, this);
|
|
1948
1973
|
}));
|
|
1949
1974
|
function disconnectTeamInSlack() {
|
|
1950
1975
|
return _disconnectTeamInSlack.apply(this, arguments);
|
|
@@ -1958,27 +1983,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1958
1983
|
}, {
|
|
1959
1984
|
key: "updateTeamInSlack",
|
|
1960
1985
|
value: (function () {
|
|
1961
|
-
var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1986
|
+
var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
|
|
1962
1987
|
var _this55 = this;
|
|
1963
1988
|
var _len43,
|
|
1964
1989
|
args,
|
|
1965
1990
|
_key43,
|
|
1966
|
-
|
|
1967
|
-
return _regenerator.default.wrap(function
|
|
1968
|
-
while (1) switch (
|
|
1991
|
+
_args54 = arguments;
|
|
1992
|
+
return _regenerator.default.wrap(function _callee54$(_context54) {
|
|
1993
|
+
while (1) switch (_context54.prev = _context54.next) {
|
|
1969
1994
|
case 0:
|
|
1970
|
-
for (_len43 =
|
|
1971
|
-
args[_key43] =
|
|
1995
|
+
for (_len43 = _args54.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
|
|
1996
|
+
args[_key43] = _args54[_key43];
|
|
1972
1997
|
}
|
|
1973
|
-
return
|
|
1998
|
+
return _context54.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
1974
1999
|
var _this55$_teamsInSlack;
|
|
1975
2000
|
return (_this55$_teamsInSlack = _this55._teamsInSlackClient).updateTeamInSlack.apply(_this55$_teamsInSlack, args);
|
|
1976
2001
|
}));
|
|
1977
2002
|
case 2:
|
|
1978
2003
|
case "end":
|
|
1979
|
-
return
|
|
2004
|
+
return _context54.stop();
|
|
1980
2005
|
}
|
|
1981
|
-
},
|
|
2006
|
+
}, _callee54, this);
|
|
1982
2007
|
}));
|
|
1983
2008
|
function updateTeamInSlack() {
|
|
1984
2009
|
return _updateTeamInSlack.apply(this, arguments);
|
|
@@ -1992,27 +2017,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1992
2017
|
}, {
|
|
1993
2018
|
key: "updateUser",
|
|
1994
2019
|
value: (function () {
|
|
1995
|
-
var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2020
|
+
var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
|
|
1996
2021
|
var _this56 = this;
|
|
1997
2022
|
var _len44,
|
|
1998
2023
|
args,
|
|
1999
2024
|
_key44,
|
|
2000
|
-
|
|
2001
|
-
return _regenerator.default.wrap(function
|
|
2002
|
-
while (1) switch (
|
|
2025
|
+
_args55 = arguments;
|
|
2026
|
+
return _regenerator.default.wrap(function _callee55$(_context55) {
|
|
2027
|
+
while (1) switch (_context55.prev = _context55.next) {
|
|
2003
2028
|
case 0:
|
|
2004
|
-
for (_len44 =
|
|
2005
|
-
args[_key44] =
|
|
2029
|
+
for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2030
|
+
args[_key44] = _args55[_key44];
|
|
2006
2031
|
}
|
|
2007
|
-
return
|
|
2032
|
+
return _context55.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
2008
2033
|
var _this56$_identityClie;
|
|
2009
2034
|
return (_this56$_identityClie = _this56._identityClient).updateUser.apply(_this56$_identityClie, args);
|
|
2010
2035
|
}));
|
|
2011
2036
|
case 2:
|
|
2012
2037
|
case "end":
|
|
2013
|
-
return
|
|
2038
|
+
return _context55.stop();
|
|
2014
2039
|
}
|
|
2015
|
-
},
|
|
2040
|
+
}, _callee55, this);
|
|
2016
2041
|
}));
|
|
2017
2042
|
function updateUser() {
|
|
2018
2043
|
return _updateUser.apply(this, arguments);
|
|
@@ -2022,27 +2047,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2022
2047
|
}, {
|
|
2023
2048
|
key: "updateUserAvatar",
|
|
2024
2049
|
value: function () {
|
|
2025
|
-
var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2050
|
+
var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() {
|
|
2026
2051
|
var _this57 = this;
|
|
2027
2052
|
var _len45,
|
|
2028
2053
|
args,
|
|
2029
2054
|
_key45,
|
|
2030
|
-
|
|
2031
|
-
return _regenerator.default.wrap(function
|
|
2032
|
-
while (1) switch (
|
|
2055
|
+
_args56 = arguments;
|
|
2056
|
+
return _regenerator.default.wrap(function _callee56$(_context56) {
|
|
2057
|
+
while (1) switch (_context56.prev = _context56.next) {
|
|
2033
2058
|
case 0:
|
|
2034
|
-
for (_len45 =
|
|
2035
|
-
args[_key45] =
|
|
2059
|
+
for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
|
|
2060
|
+
args[_key45] = _args56[_key45];
|
|
2036
2061
|
}
|
|
2037
|
-
return
|
|
2062
|
+
return _context56.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
2038
2063
|
var _this57$_identityClie;
|
|
2039
2064
|
return (_this57$_identityClie = _this57._identityClient).updateUserAvatar.apply(_this57$_identityClie, args);
|
|
2040
2065
|
}));
|
|
2041
2066
|
case 2:
|
|
2042
2067
|
case "end":
|
|
2043
|
-
return
|
|
2068
|
+
return _context56.stop();
|
|
2044
2069
|
}
|
|
2045
|
-
},
|
|
2070
|
+
}, _callee56, this);
|
|
2046
2071
|
}));
|
|
2047
2072
|
function updateUserAvatar() {
|
|
2048
2073
|
return _updateUserAvatar.apply(this, arguments);
|
|
@@ -2052,18 +2077,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2052
2077
|
}, {
|
|
2053
2078
|
key: "addTeamWatcher",
|
|
2054
2079
|
value: function () {
|
|
2055
|
-
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2080
|
+
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() {
|
|
2056
2081
|
var _this$_teamCentralCli;
|
|
2057
|
-
var
|
|
2058
|
-
return _regenerator.default.wrap(function
|
|
2059
|
-
while (1) switch (
|
|
2082
|
+
var _args57 = arguments;
|
|
2083
|
+
return _regenerator.default.wrap(function _callee57$(_context57) {
|
|
2084
|
+
while (1) switch (_context57.prev = _context57.next) {
|
|
2060
2085
|
case 0:
|
|
2061
|
-
return
|
|
2086
|
+
return _context57.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args57));
|
|
2062
2087
|
case 1:
|
|
2063
2088
|
case "end":
|
|
2064
|
-
return
|
|
2089
|
+
return _context57.stop();
|
|
2065
2090
|
}
|
|
2066
|
-
},
|
|
2091
|
+
}, _callee57, this);
|
|
2067
2092
|
}));
|
|
2068
2093
|
function addTeamWatcher() {
|
|
2069
2094
|
return _addTeamWatcher.apply(this, arguments);
|
|
@@ -2073,18 +2098,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2073
2098
|
}, {
|
|
2074
2099
|
key: "removeTeamWatcher",
|
|
2075
2100
|
value: function () {
|
|
2076
|
-
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2101
|
+
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58() {
|
|
2077
2102
|
var _this$_teamCentralCli2;
|
|
2078
|
-
var
|
|
2079
|
-
return _regenerator.default.wrap(function
|
|
2080
|
-
while (1) switch (
|
|
2103
|
+
var _args58 = arguments;
|
|
2104
|
+
return _regenerator.default.wrap(function _callee58$(_context58) {
|
|
2105
|
+
while (1) switch (_context58.prev = _context58.next) {
|
|
2081
2106
|
case 0:
|
|
2082
|
-
return
|
|
2107
|
+
return _context58.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args58));
|
|
2083
2108
|
case 1:
|
|
2084
2109
|
case "end":
|
|
2085
|
-
return
|
|
2110
|
+
return _context58.stop();
|
|
2086
2111
|
}
|
|
2087
|
-
},
|
|
2112
|
+
}, _callee58, this);
|
|
2088
2113
|
}));
|
|
2089
2114
|
function removeTeamWatcher() {
|
|
2090
2115
|
return _removeTeamWatcher.apply(this, arguments);
|
|
@@ -2094,18 +2119,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2094
2119
|
}, {
|
|
2095
2120
|
key: "deleteKudos",
|
|
2096
2121
|
value: function () {
|
|
2097
|
-
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2122
|
+
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59() {
|
|
2098
2123
|
var _this$_teamCentralCli3;
|
|
2099
|
-
var
|
|
2100
|
-
return _regenerator.default.wrap(function
|
|
2101
|
-
while (1) switch (
|
|
2124
|
+
var _args59 = arguments;
|
|
2125
|
+
return _regenerator.default.wrap(function _callee59$(_context59) {
|
|
2126
|
+
while (1) switch (_context59.prev = _context59.next) {
|
|
2102
2127
|
case 0:
|
|
2103
|
-
return
|
|
2128
|
+
return _context59.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args59));
|
|
2104
2129
|
case 1:
|
|
2105
2130
|
case "end":
|
|
2106
|
-
return
|
|
2131
|
+
return _context59.stop();
|
|
2107
2132
|
}
|
|
2108
|
-
},
|
|
2133
|
+
}, _callee59, this);
|
|
2109
2134
|
}));
|
|
2110
2135
|
function deleteKudos() {
|
|
2111
2136
|
return _deleteKudos.apply(this, arguments);
|
|
@@ -2115,18 +2140,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2115
2140
|
}, {
|
|
2116
2141
|
key: "queryTagList",
|
|
2117
2142
|
value: function () {
|
|
2118
|
-
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2143
|
+
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee60() {
|
|
2119
2144
|
var _this$_teamCentralCli4;
|
|
2120
|
-
var
|
|
2121
|
-
return _regenerator.default.wrap(function
|
|
2122
|
-
while (1) switch (
|
|
2145
|
+
var _args60 = arguments;
|
|
2146
|
+
return _regenerator.default.wrap(function _callee60$(_context60) {
|
|
2147
|
+
while (1) switch (_context60.prev = _context60.next) {
|
|
2123
2148
|
case 0:
|
|
2124
|
-
return
|
|
2149
|
+
return _context60.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args60));
|
|
2125
2150
|
case 1:
|
|
2126
2151
|
case "end":
|
|
2127
|
-
return
|
|
2152
|
+
return _context60.stop();
|
|
2128
2153
|
}
|
|
2129
|
-
},
|
|
2154
|
+
}, _callee60, this);
|
|
2130
2155
|
}));
|
|
2131
2156
|
function queryTagList() {
|
|
2132
2157
|
return _queryTagList.apply(this, arguments);
|
|
@@ -2136,18 +2161,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2136
2161
|
}, {
|
|
2137
2162
|
key: "createTag",
|
|
2138
2163
|
value: function () {
|
|
2139
|
-
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2164
|
+
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee61() {
|
|
2140
2165
|
var _this$_teamCentralCli5;
|
|
2141
|
-
var
|
|
2142
|
-
return _regenerator.default.wrap(function
|
|
2143
|
-
while (1) switch (
|
|
2166
|
+
var _args61 = arguments;
|
|
2167
|
+
return _regenerator.default.wrap(function _callee61$(_context61) {
|
|
2168
|
+
while (1) switch (_context61.prev = _context61.next) {
|
|
2144
2169
|
case 0:
|
|
2145
|
-
return
|
|
2170
|
+
return _context61.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args61));
|
|
2146
2171
|
case 1:
|
|
2147
2172
|
case "end":
|
|
2148
|
-
return
|
|
2173
|
+
return _context61.stop();
|
|
2149
2174
|
}
|
|
2150
|
-
},
|
|
2175
|
+
}, _callee61, this);
|
|
2151
2176
|
}));
|
|
2152
2177
|
function createTag() {
|
|
2153
2178
|
return _createTag.apply(this, arguments);
|
|
@@ -2157,18 +2182,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2157
2182
|
}, {
|
|
2158
2183
|
key: "createHelpPointer",
|
|
2159
2184
|
value: function () {
|
|
2160
|
-
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2185
|
+
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee62() {
|
|
2161
2186
|
var _this$_teamCentralCli6;
|
|
2162
|
-
var
|
|
2163
|
-
return _regenerator.default.wrap(function
|
|
2164
|
-
while (1) switch (
|
|
2187
|
+
var _args62 = arguments;
|
|
2188
|
+
return _regenerator.default.wrap(function _callee62$(_context62) {
|
|
2189
|
+
while (1) switch (_context62.prev = _context62.next) {
|
|
2165
2190
|
case 0:
|
|
2166
|
-
return
|
|
2191
|
+
return _context62.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args62));
|
|
2167
2192
|
case 1:
|
|
2168
2193
|
case "end":
|
|
2169
|
-
return
|
|
2194
|
+
return _context62.stop();
|
|
2170
2195
|
}
|
|
2171
|
-
},
|
|
2196
|
+
}, _callee62, this);
|
|
2172
2197
|
}));
|
|
2173
2198
|
function createHelpPointer() {
|
|
2174
2199
|
return _createHelpPointer.apply(this, arguments);
|
|
@@ -2178,18 +2203,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2178
2203
|
}, {
|
|
2179
2204
|
key: "updateHelpPointer",
|
|
2180
2205
|
value: function () {
|
|
2181
|
-
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2206
|
+
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee63() {
|
|
2182
2207
|
var _this$_teamCentralCli7;
|
|
2183
|
-
var
|
|
2184
|
-
return _regenerator.default.wrap(function
|
|
2185
|
-
while (1) switch (
|
|
2208
|
+
var _args63 = arguments;
|
|
2209
|
+
return _regenerator.default.wrap(function _callee63$(_context63) {
|
|
2210
|
+
while (1) switch (_context63.prev = _context63.next) {
|
|
2186
2211
|
case 0:
|
|
2187
|
-
return
|
|
2212
|
+
return _context63.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args63));
|
|
2188
2213
|
case 1:
|
|
2189
2214
|
case "end":
|
|
2190
|
-
return
|
|
2215
|
+
return _context63.stop();
|
|
2191
2216
|
}
|
|
2192
|
-
},
|
|
2217
|
+
}, _callee63, this);
|
|
2193
2218
|
}));
|
|
2194
2219
|
function updateHelpPointer() {
|
|
2195
2220
|
return _updateHelpPointer.apply(this, arguments);
|
|
@@ -2199,18 +2224,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2199
2224
|
}, {
|
|
2200
2225
|
key: "deleteHelpPointer",
|
|
2201
2226
|
value: function () {
|
|
2202
|
-
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2227
|
+
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee64() {
|
|
2203
2228
|
var _this$_teamCentralCli8;
|
|
2204
|
-
var
|
|
2205
|
-
return _regenerator.default.wrap(function
|
|
2206
|
-
while (1) switch (
|
|
2229
|
+
var _args64 = arguments;
|
|
2230
|
+
return _regenerator.default.wrap(function _callee64$(_context64) {
|
|
2231
|
+
while (1) switch (_context64.prev = _context64.next) {
|
|
2207
2232
|
case 0:
|
|
2208
|
-
return
|
|
2233
|
+
return _context64.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args64));
|
|
2209
2234
|
case 1:
|
|
2210
2235
|
case "end":
|
|
2211
|
-
return
|
|
2236
|
+
return _context64.stop();
|
|
2212
2237
|
}
|
|
2213
|
-
},
|
|
2238
|
+
}, _callee64, this);
|
|
2214
2239
|
}));
|
|
2215
2240
|
function deleteHelpPointer() {
|
|
2216
2241
|
return _deleteHelpPointer.apply(this, arguments);
|
|
@@ -2220,27 +2245,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2220
2245
|
}, {
|
|
2221
2246
|
key: "getUserTenure",
|
|
2222
2247
|
value: function () {
|
|
2223
|
-
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2248
|
+
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee65() {
|
|
2224
2249
|
var _this58 = this;
|
|
2225
2250
|
var _len46,
|
|
2226
2251
|
args,
|
|
2227
2252
|
_key46,
|
|
2228
|
-
|
|
2229
|
-
return _regenerator.default.wrap(function
|
|
2230
|
-
while (1) switch (
|
|
2253
|
+
_args65 = arguments;
|
|
2254
|
+
return _regenerator.default.wrap(function _callee65$(_context65) {
|
|
2255
|
+
while (1) switch (_context65.prev = _context65.next) {
|
|
2231
2256
|
case 0:
|
|
2232
|
-
for (_len46 =
|
|
2233
|
-
args[_key46] =
|
|
2257
|
+
for (_len46 = _args65.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
|
|
2258
|
+
args[_key46] = _args65[_key46];
|
|
2234
2259
|
}
|
|
2235
|
-
return
|
|
2260
|
+
return _context65.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2236
2261
|
var _this58$_replinesClie;
|
|
2237
2262
|
return (_this58$_replinesClie = _this58._replinesClient).getUserTenure.apply(_this58$_replinesClie, args);
|
|
2238
2263
|
}));
|
|
2239
2264
|
case 2:
|
|
2240
2265
|
case "end":
|
|
2241
|
-
return
|
|
2266
|
+
return _context65.stop();
|
|
2242
2267
|
}
|
|
2243
|
-
},
|
|
2268
|
+
}, _callee65, this);
|
|
2244
2269
|
}));
|
|
2245
2270
|
function getUserTenure() {
|
|
2246
2271
|
return _getUserTenure.apply(this, arguments);
|