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