@atlaskit/teams-client 4.9.1 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/common/utils/ufo/constants.js +1 -1
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/legion-client/index.js +51 -0
- package/dist/cjs/services/main.js +374 -304
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/common/utils/ufo/constants.js +1 -1
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/legion-client/index.js +11 -0
- package/dist/es2019/services/main.js +16 -0
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/common/utils/ufo/constants.js +1 -1
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/legion-client/index.js +51 -0
- package/dist/esm/services/main.js +374 -304
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/types/common/utils/ufo/constants.d.ts +2 -2
- package/dist/types/services/legion-client/index.d.ts +6 -1
- package/dist/types/services/main.d.ts +10 -0
- package/dist/types/types/team.d.ts +18 -0
- package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +3 -1
- package/dist/types-ts4.5/services/legion-client/index.d.ts +6 -1
- package/dist/types-ts4.5/services/main.d.ts +10 -0
- package/dist/types-ts4.5/types/team.d.ts +18 -0
- package/package.json +2 -1
|
@@ -1510,6 +1510,76 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1510
1510
|
}
|
|
1511
1511
|
return getProfileWithMutability;
|
|
1512
1512
|
}()
|
|
1513
|
+
/**
|
|
1514
|
+
* Get enabled sites for a team
|
|
1515
|
+
*/
|
|
1516
|
+
)
|
|
1517
|
+
}, {
|
|
1518
|
+
key: "getTeamEnabledSites",
|
|
1519
|
+
value: (function () {
|
|
1520
|
+
var _getTeamEnabledSites = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee42() {
|
|
1521
|
+
var _this37 = this;
|
|
1522
|
+
var _len28,
|
|
1523
|
+
args,
|
|
1524
|
+
_key28,
|
|
1525
|
+
_args42 = arguments;
|
|
1526
|
+
return _regeneratorRuntime.wrap(function _callee42$(_context42) {
|
|
1527
|
+
while (1) switch (_context42.prev = _context42.next) {
|
|
1528
|
+
case 0:
|
|
1529
|
+
for (_len28 = _args42.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
|
|
1530
|
+
args[_key28] = _args42[_key28];
|
|
1531
|
+
}
|
|
1532
|
+
return _context42.abrupt("return", this.measurePerformance('getTeamEnabledSites', function () {
|
|
1533
|
+
var _this37$_legionClient;
|
|
1534
|
+
return (_this37$_legionClient = _this37._legionClient).getTeamEnabledSites.apply(_this37$_legionClient, args);
|
|
1535
|
+
}));
|
|
1536
|
+
case 2:
|
|
1537
|
+
case "end":
|
|
1538
|
+
return _context42.stop();
|
|
1539
|
+
}
|
|
1540
|
+
}, _callee42, this);
|
|
1541
|
+
}));
|
|
1542
|
+
function getTeamEnabledSites() {
|
|
1543
|
+
return _getTeamEnabledSites.apply(this, arguments);
|
|
1544
|
+
}
|
|
1545
|
+
return getTeamEnabledSites;
|
|
1546
|
+
}()
|
|
1547
|
+
/**
|
|
1548
|
+
* Assign teams to sites
|
|
1549
|
+
* @param migrations
|
|
1550
|
+
* @returns {Promise<AssignTeamsToSitesResponse>}
|
|
1551
|
+
*/
|
|
1552
|
+
)
|
|
1553
|
+
}, {
|
|
1554
|
+
key: "assignTeamsToSites",
|
|
1555
|
+
value: (function () {
|
|
1556
|
+
var _assignTeamsToSites = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee43() {
|
|
1557
|
+
var _this38 = this;
|
|
1558
|
+
var _len29,
|
|
1559
|
+
args,
|
|
1560
|
+
_key29,
|
|
1561
|
+
_args43 = arguments;
|
|
1562
|
+
return _regeneratorRuntime.wrap(function _callee43$(_context43) {
|
|
1563
|
+
while (1) switch (_context43.prev = _context43.next) {
|
|
1564
|
+
case 0:
|
|
1565
|
+
for (_len29 = _args43.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
|
|
1566
|
+
args[_key29] = _args43[_key29];
|
|
1567
|
+
}
|
|
1568
|
+
return _context43.abrupt("return", this.measurePerformance('assignTeamsToSites', function () {
|
|
1569
|
+
var _this38$_legionClient;
|
|
1570
|
+
return (_this38$_legionClient = _this38._legionClient).assignTeamsToSites.apply(_this38$_legionClient, args);
|
|
1571
|
+
}));
|
|
1572
|
+
case 2:
|
|
1573
|
+
case "end":
|
|
1574
|
+
return _context43.stop();
|
|
1575
|
+
}
|
|
1576
|
+
}, _callee43, this);
|
|
1577
|
+
}));
|
|
1578
|
+
function assignTeamsToSites() {
|
|
1579
|
+
return _assignTeamsToSites.apply(this, arguments);
|
|
1580
|
+
}
|
|
1581
|
+
return assignTeamsToSites;
|
|
1582
|
+
}()
|
|
1513
1583
|
/**
|
|
1514
1584
|
* Is the current user a site admin
|
|
1515
1585
|
*/
|
|
@@ -1517,13 +1587,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1517
1587
|
}, {
|
|
1518
1588
|
key: "getIsSiteAdmin",
|
|
1519
1589
|
value: function getIsSiteAdmin() {
|
|
1520
|
-
var
|
|
1521
|
-
for (var
|
|
1522
|
-
args[
|
|
1590
|
+
var _this39 = this;
|
|
1591
|
+
for (var _len30 = arguments.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
|
|
1592
|
+
args[_key30] = arguments[_key30];
|
|
1523
1593
|
}
|
|
1524
1594
|
return this.measurePerformance('getIsSiteAdmin', function () {
|
|
1525
|
-
var
|
|
1526
|
-
return (
|
|
1595
|
+
var _this39$_permsClient;
|
|
1596
|
+
return (_this39$_permsClient = _this39._permsClient).getIsSiteAdmin.apply(_this39$_permsClient, args);
|
|
1527
1597
|
});
|
|
1528
1598
|
}
|
|
1529
1599
|
|
|
@@ -1533,13 +1603,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1533
1603
|
}, {
|
|
1534
1604
|
key: "addUsersToTeam",
|
|
1535
1605
|
value: function addUsersToTeam() {
|
|
1536
|
-
var
|
|
1537
|
-
for (var
|
|
1538
|
-
args[
|
|
1606
|
+
var _this40 = this;
|
|
1607
|
+
for (var _len31 = arguments.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
|
|
1608
|
+
args[_key31] = arguments[_key31];
|
|
1539
1609
|
}
|
|
1540
1610
|
return this.measurePerformance('addUsersToTeam', function () {
|
|
1541
|
-
var
|
|
1542
|
-
return (
|
|
1611
|
+
var _this40$_publicApiCli;
|
|
1612
|
+
return (_this40$_publicApiCli = _this40._publicApiClient).addUsersToTeam.apply(_this40$_publicApiCli, args);
|
|
1543
1613
|
});
|
|
1544
1614
|
}
|
|
1545
1615
|
|
|
@@ -1549,13 +1619,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1549
1619
|
}, {
|
|
1550
1620
|
key: "removeTeamMemberships",
|
|
1551
1621
|
value: function removeTeamMemberships() {
|
|
1552
|
-
var
|
|
1553
|
-
for (var
|
|
1554
|
-
args[
|
|
1622
|
+
var _this41 = this;
|
|
1623
|
+
for (var _len32 = arguments.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
|
|
1624
|
+
args[_key32] = arguments[_key32];
|
|
1555
1625
|
}
|
|
1556
1626
|
return this.measurePerformance('removeTeamMemberships', function () {
|
|
1557
|
-
var
|
|
1558
|
-
return (
|
|
1627
|
+
var _this41$_publicApiCli;
|
|
1628
|
+
return (_this41$_publicApiCli = _this41._publicApiClient).removeTeamMemberships.apply(_this41$_publicApiCli, args);
|
|
1559
1629
|
});
|
|
1560
1630
|
}
|
|
1561
1631
|
|
|
@@ -1565,37 +1635,37 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1565
1635
|
}, {
|
|
1566
1636
|
key: "restoreTeam",
|
|
1567
1637
|
value: function restoreTeam() {
|
|
1568
|
-
var
|
|
1569
|
-
for (var
|
|
1570
|
-
args[
|
|
1638
|
+
var _this42 = this;
|
|
1639
|
+
for (var _len33 = arguments.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1640
|
+
args[_key33] = arguments[_key33];
|
|
1571
1641
|
}
|
|
1572
1642
|
return this.measurePerformance('restoreTeam', function () {
|
|
1573
|
-
var
|
|
1574
|
-
return (
|
|
1643
|
+
var _this42$_publicApiCli;
|
|
1644
|
+
return (_this42$_publicApiCli = _this42._publicApiClient).restoreTeam.apply(_this42$_publicApiCli, args);
|
|
1575
1645
|
});
|
|
1576
1646
|
}
|
|
1577
1647
|
}, {
|
|
1578
1648
|
key: "getRecommendedProducts",
|
|
1579
1649
|
value: function getRecommendedProducts() {
|
|
1580
|
-
var
|
|
1581
|
-
for (var
|
|
1582
|
-
args[
|
|
1650
|
+
var _this43 = this;
|
|
1651
|
+
for (var _len34 = arguments.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1652
|
+
args[_key34] = arguments[_key34];
|
|
1583
1653
|
}
|
|
1584
1654
|
return this.measurePerformance('getRecommendedProducts', function () {
|
|
1585
|
-
var
|
|
1586
|
-
return (
|
|
1655
|
+
var _this43$_invitationsC;
|
|
1656
|
+
return (_this43$_invitationsC = _this43._invitationsClient).getProductRecommendations.apply(_this43$_invitationsC, args);
|
|
1587
1657
|
});
|
|
1588
1658
|
}
|
|
1589
1659
|
}, {
|
|
1590
1660
|
key: "joinOrRequestDefaultAccessToProductsBulk",
|
|
1591
1661
|
value: function joinOrRequestDefaultAccessToProductsBulk() {
|
|
1592
|
-
var
|
|
1593
|
-
for (var
|
|
1594
|
-
args[
|
|
1662
|
+
var _this44 = this;
|
|
1663
|
+
for (var _len35 = arguments.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1664
|
+
args[_key35] = arguments[_key35];
|
|
1595
1665
|
}
|
|
1596
1666
|
return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
|
|
1597
|
-
var
|
|
1598
|
-
return (
|
|
1667
|
+
var _this44$_invitationsC;
|
|
1668
|
+
return (_this44$_invitationsC = _this44._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this44$_invitationsC, args);
|
|
1599
1669
|
});
|
|
1600
1670
|
}
|
|
1601
1671
|
|
|
@@ -1605,19 +1675,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1605
1675
|
}, {
|
|
1606
1676
|
key: "getWriteTeamMediaToken",
|
|
1607
1677
|
value: (function () {
|
|
1608
|
-
var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1609
|
-
var
|
|
1610
|
-
return _regeneratorRuntime.wrap(function
|
|
1611
|
-
while (1) switch (
|
|
1678
|
+
var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee44() {
|
|
1679
|
+
var _this45 = this;
|
|
1680
|
+
return _regeneratorRuntime.wrap(function _callee44$(_context44) {
|
|
1681
|
+
while (1) switch (_context44.prev = _context44.next) {
|
|
1612
1682
|
case 0:
|
|
1613
|
-
return
|
|
1614
|
-
return
|
|
1683
|
+
return _context44.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1684
|
+
return _this45._legionClient.getWriteMediaToken();
|
|
1615
1685
|
}));
|
|
1616
1686
|
case 1:
|
|
1617
1687
|
case "end":
|
|
1618
|
-
return
|
|
1688
|
+
return _context44.stop();
|
|
1619
1689
|
}
|
|
1620
|
-
},
|
|
1690
|
+
}, _callee44, this);
|
|
1621
1691
|
}));
|
|
1622
1692
|
function getWriteTeamMediaToken() {
|
|
1623
1693
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1631,27 +1701,27 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1631
1701
|
}, {
|
|
1632
1702
|
key: "getReadMediaToken",
|
|
1633
1703
|
value: (function () {
|
|
1634
|
-
var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1635
|
-
var
|
|
1636
|
-
var
|
|
1704
|
+
var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee45() {
|
|
1705
|
+
var _this46 = this;
|
|
1706
|
+
var _len36,
|
|
1637
1707
|
args,
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
return _regeneratorRuntime.wrap(function
|
|
1641
|
-
while (1) switch (
|
|
1708
|
+
_key36,
|
|
1709
|
+
_args45 = arguments;
|
|
1710
|
+
return _regeneratorRuntime.wrap(function _callee45$(_context45) {
|
|
1711
|
+
while (1) switch (_context45.prev = _context45.next) {
|
|
1642
1712
|
case 0:
|
|
1643
|
-
for (
|
|
1644
|
-
args[
|
|
1713
|
+
for (_len36 = _args45.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1714
|
+
args[_key36] = _args45[_key36];
|
|
1645
1715
|
}
|
|
1646
|
-
return
|
|
1647
|
-
var
|
|
1648
|
-
return (
|
|
1716
|
+
return _context45.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1717
|
+
var _this46$_userPreferen;
|
|
1718
|
+
return (_this46$_userPreferen = _this46._userPreferencesClient).getReadMediaToken.apply(_this46$_userPreferen, args);
|
|
1649
1719
|
}));
|
|
1650
1720
|
case 2:
|
|
1651
1721
|
case "end":
|
|
1652
|
-
return
|
|
1722
|
+
return _context45.stop();
|
|
1653
1723
|
}
|
|
1654
|
-
},
|
|
1724
|
+
}, _callee45, this);
|
|
1655
1725
|
}));
|
|
1656
1726
|
function getReadMediaToken() {
|
|
1657
1727
|
return _getReadMediaToken.apply(this, arguments);
|
|
@@ -1665,19 +1735,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1665
1735
|
}, {
|
|
1666
1736
|
key: "getWriteUserMediaToken",
|
|
1667
1737
|
value: (function () {
|
|
1668
|
-
var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1669
|
-
var
|
|
1670
|
-
return _regeneratorRuntime.wrap(function
|
|
1671
|
-
while (1) switch (
|
|
1738
|
+
var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee46() {
|
|
1739
|
+
var _this47 = this;
|
|
1740
|
+
return _regeneratorRuntime.wrap(function _callee46$(_context46) {
|
|
1741
|
+
while (1) switch (_context46.prev = _context46.next) {
|
|
1672
1742
|
case 0:
|
|
1673
|
-
return
|
|
1674
|
-
return
|
|
1743
|
+
return _context46.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1744
|
+
return _this47._userPreferencesClient.getWriteMediaToken();
|
|
1675
1745
|
}));
|
|
1676
1746
|
case 1:
|
|
1677
1747
|
case "end":
|
|
1678
|
-
return
|
|
1748
|
+
return _context46.stop();
|
|
1679
1749
|
}
|
|
1680
|
-
},
|
|
1750
|
+
}, _callee46, this);
|
|
1681
1751
|
}));
|
|
1682
1752
|
function getWriteUserMediaToken() {
|
|
1683
1753
|
return _getWriteUserMediaToken.apply(this, arguments);
|
|
@@ -1691,19 +1761,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1691
1761
|
}, {
|
|
1692
1762
|
key: "updateUserHeaderImage",
|
|
1693
1763
|
value: (function () {
|
|
1694
|
-
var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1695
|
-
var
|
|
1696
|
-
return _regeneratorRuntime.wrap(function
|
|
1697
|
-
while (1) switch (
|
|
1764
|
+
var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee47(headerImageId) {
|
|
1765
|
+
var _this48 = this;
|
|
1766
|
+
return _regeneratorRuntime.wrap(function _callee47$(_context47) {
|
|
1767
|
+
while (1) switch (_context47.prev = _context47.next) {
|
|
1698
1768
|
case 0:
|
|
1699
|
-
return
|
|
1700
|
-
return
|
|
1769
|
+
return _context47.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1770
|
+
return _this48._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1701
1771
|
}));
|
|
1702
1772
|
case 1:
|
|
1703
1773
|
case "end":
|
|
1704
|
-
return
|
|
1774
|
+
return _context47.stop();
|
|
1705
1775
|
}
|
|
1706
|
-
},
|
|
1776
|
+
}, _callee47, this);
|
|
1707
1777
|
}));
|
|
1708
1778
|
function updateUserHeaderImage(_x13) {
|
|
1709
1779
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
@@ -1717,75 +1787,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1717
1787
|
}, {
|
|
1718
1788
|
key: "getUserContainers",
|
|
1719
1789
|
value: (function () {
|
|
1720
|
-
var _getUserContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1721
|
-
var _this47 = this;
|
|
1722
|
-
var _len35,
|
|
1723
|
-
args,
|
|
1724
|
-
_key35,
|
|
1725
|
-
_args46 = arguments;
|
|
1726
|
-
return _regeneratorRuntime.wrap(function _callee46$(_context46) {
|
|
1727
|
-
while (1) switch (_context46.prev = _context46.next) {
|
|
1728
|
-
case 0:
|
|
1729
|
-
for (_len35 = _args46.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1730
|
-
args[_key35] = _args46[_key35];
|
|
1731
|
-
}
|
|
1732
|
-
return _context46.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1733
|
-
var _this47$_collaboratio;
|
|
1734
|
-
return (_this47$_collaboratio = _this47._collaborationGraphClient).getUserContainers.apply(_this47$_collaboratio, args);
|
|
1735
|
-
}));
|
|
1736
|
-
case 2:
|
|
1737
|
-
case "end":
|
|
1738
|
-
return _context46.stop();
|
|
1739
|
-
}
|
|
1740
|
-
}, _callee46, this);
|
|
1741
|
-
}));
|
|
1742
|
-
function getUserContainers() {
|
|
1743
|
-
return _getUserContainers.apply(this, arguments);
|
|
1744
|
-
}
|
|
1745
|
-
return getUserContainers;
|
|
1746
|
-
}()
|
|
1747
|
-
/**
|
|
1748
|
-
* Fetch mutatability of external managed user fields
|
|
1749
|
-
*/
|
|
1750
|
-
)
|
|
1751
|
-
}, {
|
|
1752
|
-
key: "getUserManageConfig",
|
|
1753
|
-
value: (function () {
|
|
1754
|
-
var _getUserManageConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee47() {
|
|
1755
|
-
var _this48 = this;
|
|
1756
|
-
var _len36,
|
|
1757
|
-
args,
|
|
1758
|
-
_key36,
|
|
1759
|
-
_args47 = arguments;
|
|
1760
|
-
return _regeneratorRuntime.wrap(function _callee47$(_context47) {
|
|
1761
|
-
while (1) switch (_context47.prev = _context47.next) {
|
|
1762
|
-
case 0:
|
|
1763
|
-
for (_len36 = _args47.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1764
|
-
args[_key36] = _args47[_key36];
|
|
1765
|
-
}
|
|
1766
|
-
return _context47.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1767
|
-
var _this48$_identityClie;
|
|
1768
|
-
return (_this48$_identityClie = _this48._identityClient).getUserManageConfig.apply(_this48$_identityClie, args);
|
|
1769
|
-
}));
|
|
1770
|
-
case 2:
|
|
1771
|
-
case "end":
|
|
1772
|
-
return _context47.stop();
|
|
1773
|
-
}
|
|
1774
|
-
}, _callee47, this);
|
|
1775
|
-
}));
|
|
1776
|
-
function getUserManageConfig() {
|
|
1777
|
-
return _getUserManageConfig.apply(this, arguments);
|
|
1778
|
-
}
|
|
1779
|
-
return getUserManageConfig;
|
|
1780
|
-
}()
|
|
1781
|
-
/**
|
|
1782
|
-
* Fetch user avatar uploaded status
|
|
1783
|
-
*/
|
|
1784
|
-
)
|
|
1785
|
-
}, {
|
|
1786
|
-
key: "getMyAvatarUploadedStatus",
|
|
1787
|
-
value: (function () {
|
|
1788
|
-
var _getMyAvatarUploadedStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee48() {
|
|
1790
|
+
var _getUserContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee48() {
|
|
1789
1791
|
var _this49 = this;
|
|
1790
1792
|
var _len37,
|
|
1791
1793
|
args,
|
|
@@ -1797,9 +1799,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1797
1799
|
for (_len37 = _args48.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1798
1800
|
args[_key37] = _args48[_key37];
|
|
1799
1801
|
}
|
|
1800
|
-
return _context48.abrupt("return", this.measurePerformance('
|
|
1801
|
-
var _this49$
|
|
1802
|
-
return (_this49$
|
|
1802
|
+
return _context48.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1803
|
+
var _this49$_collaboratio;
|
|
1804
|
+
return (_this49$_collaboratio = _this49._collaborationGraphClient).getUserContainers.apply(_this49$_collaboratio, args);
|
|
1803
1805
|
}));
|
|
1804
1806
|
case 2:
|
|
1805
1807
|
case "end":
|
|
@@ -1807,19 +1809,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1807
1809
|
}
|
|
1808
1810
|
}, _callee48, this);
|
|
1809
1811
|
}));
|
|
1810
|
-
function
|
|
1811
|
-
return
|
|
1812
|
+
function getUserContainers() {
|
|
1813
|
+
return _getUserContainers.apply(this, arguments);
|
|
1812
1814
|
}
|
|
1813
|
-
return
|
|
1815
|
+
return getUserContainers;
|
|
1814
1816
|
}()
|
|
1815
1817
|
/**
|
|
1816
|
-
*
|
|
1818
|
+
* Fetch mutatability of external managed user fields
|
|
1817
1819
|
*/
|
|
1818
1820
|
)
|
|
1819
1821
|
}, {
|
|
1820
|
-
key: "
|
|
1822
|
+
key: "getUserManageConfig",
|
|
1821
1823
|
value: (function () {
|
|
1822
|
-
var
|
|
1824
|
+
var _getUserManageConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee49() {
|
|
1823
1825
|
var _this50 = this;
|
|
1824
1826
|
var _len38,
|
|
1825
1827
|
args,
|
|
@@ -1831,9 +1833,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1831
1833
|
for (_len38 = _args49.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1832
1834
|
args[_key38] = _args49[_key38];
|
|
1833
1835
|
}
|
|
1834
|
-
return _context49.abrupt("return", this.measurePerformance('
|
|
1836
|
+
return _context49.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1835
1837
|
var _this50$_identityClie;
|
|
1836
|
-
return (_this50$_identityClie = _this50._identityClient).
|
|
1838
|
+
return (_this50$_identityClie = _this50._identityClient).getUserManageConfig.apply(_this50$_identityClie, args);
|
|
1837
1839
|
}));
|
|
1838
1840
|
case 2:
|
|
1839
1841
|
case "end":
|
|
@@ -1841,15 +1843,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1841
1843
|
}
|
|
1842
1844
|
}, _callee49, this);
|
|
1843
1845
|
}));
|
|
1844
|
-
function
|
|
1845
|
-
return
|
|
1846
|
+
function getUserManageConfig() {
|
|
1847
|
+
return _getUserManageConfig.apply(this, arguments);
|
|
1846
1848
|
}
|
|
1847
|
-
return
|
|
1848
|
-
}()
|
|
1849
|
+
return getUserManageConfig;
|
|
1850
|
+
}()
|
|
1851
|
+
/**
|
|
1852
|
+
* Fetch user avatar uploaded status
|
|
1853
|
+
*/
|
|
1854
|
+
)
|
|
1849
1855
|
}, {
|
|
1850
|
-
key: "
|
|
1851
|
-
value: function () {
|
|
1852
|
-
var
|
|
1856
|
+
key: "getMyAvatarUploadedStatus",
|
|
1857
|
+
value: (function () {
|
|
1858
|
+
var _getMyAvatarUploadedStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee50() {
|
|
1853
1859
|
var _this51 = this;
|
|
1854
1860
|
var _len39,
|
|
1855
1861
|
args,
|
|
@@ -1861,9 +1867,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1861
1867
|
for (_len39 = _args50.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1862
1868
|
args[_key39] = _args50[_key39];
|
|
1863
1869
|
}
|
|
1864
|
-
return _context50.abrupt("return", this.measurePerformance('
|
|
1870
|
+
return _context50.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
1865
1871
|
var _this51$_identityClie;
|
|
1866
|
-
return (_this51$_identityClie = _this51._identityClient).
|
|
1872
|
+
return (_this51$_identityClie = _this51._identityClient).getMyAvatarUploadedStatus.apply(_this51$_identityClie, args);
|
|
1867
1873
|
}));
|
|
1868
1874
|
case 2:
|
|
1869
1875
|
case "end":
|
|
@@ -1871,18 +1877,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1871
1877
|
}
|
|
1872
1878
|
}, _callee50, this);
|
|
1873
1879
|
}));
|
|
1874
|
-
function
|
|
1875
|
-
return
|
|
1880
|
+
function getMyAvatarUploadedStatus() {
|
|
1881
|
+
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
1876
1882
|
}
|
|
1877
|
-
return
|
|
1883
|
+
return getMyAvatarUploadedStatus;
|
|
1878
1884
|
}()
|
|
1879
1885
|
/**
|
|
1880
|
-
*
|
|
1886
|
+
* Delete user avatar
|
|
1881
1887
|
*/
|
|
1888
|
+
)
|
|
1882
1889
|
}, {
|
|
1883
|
-
key: "
|
|
1890
|
+
key: "deleteAvatar",
|
|
1884
1891
|
value: (function () {
|
|
1885
|
-
var
|
|
1892
|
+
var _deleteAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee51() {
|
|
1886
1893
|
var _this52 = this;
|
|
1887
1894
|
var _len40,
|
|
1888
1895
|
args,
|
|
@@ -1894,9 +1901,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1894
1901
|
for (_len40 = _args51.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1895
1902
|
args[_key40] = _args51[_key40];
|
|
1896
1903
|
}
|
|
1897
|
-
return _context51.abrupt("return", this.measurePerformance('
|
|
1898
|
-
var _this52$
|
|
1899
|
-
return (_this52$
|
|
1904
|
+
return _context51.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
1905
|
+
var _this52$_identityClie;
|
|
1906
|
+
return (_this52$_identityClie = _this52._identityClient).deleteAvatar.apply(_this52$_identityClie, args);
|
|
1900
1907
|
}));
|
|
1901
1908
|
case 2:
|
|
1902
1909
|
case "end":
|
|
@@ -1904,19 +1911,15 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1904
1911
|
}
|
|
1905
1912
|
}, _callee51, this);
|
|
1906
1913
|
}));
|
|
1907
|
-
function
|
|
1908
|
-
return
|
|
1914
|
+
function deleteAvatar() {
|
|
1915
|
+
return _deleteAvatar.apply(this, arguments);
|
|
1909
1916
|
}
|
|
1910
|
-
return
|
|
1911
|
-
}()
|
|
1912
|
-
/**
|
|
1913
|
-
* Fetch ARI from URL
|
|
1914
|
-
*/
|
|
1915
|
-
)
|
|
1917
|
+
return deleteAvatar;
|
|
1918
|
+
}())
|
|
1916
1919
|
}, {
|
|
1917
|
-
key: "
|
|
1918
|
-
value:
|
|
1919
|
-
var
|
|
1920
|
+
key: "fetchUserAvatarInfo",
|
|
1921
|
+
value: function () {
|
|
1922
|
+
var _fetchUserAvatarInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee52() {
|
|
1920
1923
|
var _this53 = this;
|
|
1921
1924
|
var _len41,
|
|
1922
1925
|
args,
|
|
@@ -1928,9 +1931,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1928
1931
|
for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1929
1932
|
args[_key41] = _args52[_key41];
|
|
1930
1933
|
}
|
|
1931
|
-
return _context52.abrupt("return", this.measurePerformance('
|
|
1932
|
-
var _this53$
|
|
1933
|
-
return (_this53$
|
|
1934
|
+
return _context52.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
1935
|
+
var _this53$_identityClie;
|
|
1936
|
+
return (_this53$_identityClie = _this53._identityClient).fetchUserAvatarInfo.apply(_this53$_identityClie, args);
|
|
1934
1937
|
}));
|
|
1935
1938
|
case 2:
|
|
1936
1939
|
case "end":
|
|
@@ -1938,19 +1941,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1938
1941
|
}
|
|
1939
1942
|
}, _callee52, this);
|
|
1940
1943
|
}));
|
|
1941
|
-
function
|
|
1942
|
-
return
|
|
1944
|
+
function fetchUserAvatarInfo() {
|
|
1945
|
+
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
1943
1946
|
}
|
|
1944
|
-
return
|
|
1947
|
+
return fetchUserAvatarInfo;
|
|
1945
1948
|
}()
|
|
1946
1949
|
/**
|
|
1947
|
-
* Fetch
|
|
1950
|
+
* Fetch Team link icons
|
|
1948
1951
|
*/
|
|
1949
|
-
)
|
|
1950
1952
|
}, {
|
|
1951
|
-
key: "
|
|
1953
|
+
key: "getTeamLinkIcons",
|
|
1952
1954
|
value: (function () {
|
|
1953
|
-
var
|
|
1955
|
+
var _getTeamLinkIcons = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee53() {
|
|
1954
1956
|
var _this54 = this;
|
|
1955
1957
|
var _len42,
|
|
1956
1958
|
args,
|
|
@@ -1962,9 +1964,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1962
1964
|
for (_len42 = _args53.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
|
|
1963
1965
|
args[_key42] = _args53[_key42];
|
|
1964
1966
|
}
|
|
1965
|
-
return _context53.abrupt("return", this.measurePerformance('
|
|
1967
|
+
return _context53.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
|
|
1966
1968
|
var _this54$_objectResolv;
|
|
1967
|
-
return (_this54$_objectResolv = _this54._objectResolverClient).
|
|
1969
|
+
return (_this54$_objectResolv = _this54._objectResolverClient).getTeamLinkIcons.apply(_this54$_objectResolv, args);
|
|
1968
1970
|
}));
|
|
1969
1971
|
case 2:
|
|
1970
1972
|
case "end":
|
|
@@ -1972,19 +1974,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1972
1974
|
}
|
|
1973
1975
|
}, _callee53, this);
|
|
1974
1976
|
}));
|
|
1975
|
-
function
|
|
1976
|
-
return
|
|
1977
|
+
function getTeamLinkIcons() {
|
|
1978
|
+
return _getTeamLinkIcons.apply(this, arguments);
|
|
1977
1979
|
}
|
|
1978
|
-
return
|
|
1980
|
+
return getTeamLinkIcons;
|
|
1979
1981
|
}()
|
|
1980
1982
|
/**
|
|
1981
|
-
* Fetch
|
|
1983
|
+
* Fetch ARI from URL
|
|
1982
1984
|
*/
|
|
1983
1985
|
)
|
|
1984
1986
|
}, {
|
|
1985
|
-
key: "
|
|
1987
|
+
key: "getAriFromUrl",
|
|
1986
1988
|
value: (function () {
|
|
1987
|
-
var
|
|
1989
|
+
var _getAriFromUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee54() {
|
|
1988
1990
|
var _this55 = this;
|
|
1989
1991
|
var _len43,
|
|
1990
1992
|
args,
|
|
@@ -1996,9 +1998,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1996
1998
|
for (_len43 = _args54.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
|
|
1997
1999
|
args[_key43] = _args54[_key43];
|
|
1998
2000
|
}
|
|
1999
|
-
return _context54.abrupt("return", this.measurePerformance('
|
|
2000
|
-
var _this55$
|
|
2001
|
-
return (_this55$
|
|
2001
|
+
return _context54.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
|
|
2002
|
+
var _this55$_objectResolv;
|
|
2003
|
+
return (_this55$_objectResolv = _this55._objectResolverClient).getAriFromUrl.apply(_this55$_objectResolv, args);
|
|
2002
2004
|
}));
|
|
2003
2005
|
case 2:
|
|
2004
2006
|
case "end":
|
|
@@ -2006,19 +2008,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2006
2008
|
}
|
|
2007
2009
|
}, _callee54, this);
|
|
2008
2010
|
}));
|
|
2009
|
-
function
|
|
2010
|
-
return
|
|
2011
|
+
function getAriFromUrl() {
|
|
2012
|
+
return _getAriFromUrl.apply(this, arguments);
|
|
2011
2013
|
}
|
|
2012
|
-
return
|
|
2014
|
+
return getAriFromUrl;
|
|
2013
2015
|
}()
|
|
2014
2016
|
/**
|
|
2015
|
-
*
|
|
2017
|
+
* Fetch web link title
|
|
2016
2018
|
*/
|
|
2017
2019
|
)
|
|
2018
2020
|
}, {
|
|
2019
|
-
key: "
|
|
2021
|
+
key: "getWebLinkTitle",
|
|
2020
2022
|
value: (function () {
|
|
2021
|
-
var
|
|
2023
|
+
var _getWebLinkTitle = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee55() {
|
|
2022
2024
|
var _this56 = this;
|
|
2023
2025
|
var _len44,
|
|
2024
2026
|
args,
|
|
@@ -2030,9 +2032,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2030
2032
|
for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2031
2033
|
args[_key44] = _args55[_key44];
|
|
2032
2034
|
}
|
|
2033
|
-
return _context55.abrupt("return", this.measurePerformance('
|
|
2034
|
-
var _this56$
|
|
2035
|
-
return (_this56$
|
|
2035
|
+
return _context55.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
|
|
2036
|
+
var _this56$_objectResolv;
|
|
2037
|
+
return (_this56$_objectResolv = _this56._objectResolverClient).getWebLinkTitle.apply(_this56$_objectResolv, args);
|
|
2036
2038
|
}));
|
|
2037
2039
|
case 2:
|
|
2038
2040
|
case "end":
|
|
@@ -2040,19 +2042,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2040
2042
|
}
|
|
2041
2043
|
}, _callee55, this);
|
|
2042
2044
|
}));
|
|
2043
|
-
function
|
|
2044
|
-
return
|
|
2045
|
+
function getWebLinkTitle() {
|
|
2046
|
+
return _getWebLinkTitle.apply(this, arguments);
|
|
2045
2047
|
}
|
|
2046
|
-
return
|
|
2048
|
+
return getWebLinkTitle;
|
|
2047
2049
|
}()
|
|
2048
2050
|
/**
|
|
2049
|
-
*
|
|
2051
|
+
* Fetch team in slack details
|
|
2050
2052
|
*/
|
|
2051
2053
|
)
|
|
2052
2054
|
}, {
|
|
2053
|
-
key: "
|
|
2055
|
+
key: "getTeamInSlack",
|
|
2054
2056
|
value: (function () {
|
|
2055
|
-
var
|
|
2057
|
+
var _getTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee56() {
|
|
2056
2058
|
var _this57 = this;
|
|
2057
2059
|
var _len45,
|
|
2058
2060
|
args,
|
|
@@ -2064,9 +2066,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2064
2066
|
for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
|
|
2065
2067
|
args[_key45] = _args56[_key45];
|
|
2066
2068
|
}
|
|
2067
|
-
return _context56.abrupt("return", this.measurePerformance('
|
|
2069
|
+
return _context56.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
|
|
2068
2070
|
var _this57$_teamsInSlack;
|
|
2069
|
-
return (_this57$_teamsInSlack = _this57._teamsInSlackClient).
|
|
2071
|
+
return (_this57$_teamsInSlack = _this57._teamsInSlackClient).getTeamInSlack.apply(_this57$_teamsInSlack, args);
|
|
2070
2072
|
}));
|
|
2071
2073
|
case 2:
|
|
2072
2074
|
case "end":
|
|
@@ -2074,19 +2076,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2074
2076
|
}
|
|
2075
2077
|
}, _callee56, this);
|
|
2076
2078
|
}));
|
|
2077
|
-
function
|
|
2078
|
-
return
|
|
2079
|
+
function getTeamInSlack() {
|
|
2080
|
+
return _getTeamInSlack.apply(this, arguments);
|
|
2079
2081
|
}
|
|
2080
|
-
return
|
|
2082
|
+
return getTeamInSlack;
|
|
2081
2083
|
}()
|
|
2082
2084
|
/**
|
|
2083
|
-
*
|
|
2085
|
+
* Delete team in slack
|
|
2084
2086
|
*/
|
|
2085
2087
|
)
|
|
2086
2088
|
}, {
|
|
2087
|
-
key: "
|
|
2089
|
+
key: "disconnectTeamInSlack",
|
|
2088
2090
|
value: (function () {
|
|
2089
|
-
var
|
|
2091
|
+
var _disconnectTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee57() {
|
|
2090
2092
|
var _this58 = this;
|
|
2091
2093
|
var _len46,
|
|
2092
2094
|
args,
|
|
@@ -2098,9 +2100,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2098
2100
|
for (_len46 = _args57.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
|
|
2099
2101
|
args[_key46] = _args57[_key46];
|
|
2100
2102
|
}
|
|
2101
|
-
return _context57.abrupt("return", this.measurePerformance('
|
|
2102
|
-
var _this58$
|
|
2103
|
-
return (_this58$
|
|
2103
|
+
return _context57.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
2104
|
+
var _this58$_teamsInSlack;
|
|
2105
|
+
return (_this58$_teamsInSlack = _this58._teamsInSlackClient).disconnectTeamInSlack.apply(_this58$_teamsInSlack, args);
|
|
2104
2106
|
}));
|
|
2105
2107
|
case 2:
|
|
2106
2108
|
case "end":
|
|
@@ -2108,15 +2110,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2108
2110
|
}
|
|
2109
2111
|
}, _callee57, this);
|
|
2110
2112
|
}));
|
|
2111
|
-
function
|
|
2112
|
-
return
|
|
2113
|
+
function disconnectTeamInSlack() {
|
|
2114
|
+
return _disconnectTeamInSlack.apply(this, arguments);
|
|
2113
2115
|
}
|
|
2114
|
-
return
|
|
2115
|
-
}()
|
|
2116
|
+
return disconnectTeamInSlack;
|
|
2117
|
+
}()
|
|
2118
|
+
/**
|
|
2119
|
+
* Update team in slack
|
|
2120
|
+
*/
|
|
2121
|
+
)
|
|
2116
2122
|
}, {
|
|
2117
|
-
key: "
|
|
2118
|
-
value: function () {
|
|
2119
|
-
var
|
|
2123
|
+
key: "updateTeamInSlack",
|
|
2124
|
+
value: (function () {
|
|
2125
|
+
var _updateTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58() {
|
|
2120
2126
|
var _this59 = this;
|
|
2121
2127
|
var _len47,
|
|
2122
2128
|
args,
|
|
@@ -2128,9 +2134,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2128
2134
|
for (_len47 = _args58.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
|
|
2129
2135
|
args[_key47] = _args58[_key47];
|
|
2130
2136
|
}
|
|
2131
|
-
return _context58.abrupt("return", this.measurePerformance('
|
|
2132
|
-
var _this59$
|
|
2133
|
-
return (_this59$
|
|
2137
|
+
return _context58.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
2138
|
+
var _this59$_teamsInSlack;
|
|
2139
|
+
return (_this59$_teamsInSlack = _this59._teamsInSlackClient).updateTeamInSlack.apply(_this59$_teamsInSlack, args);
|
|
2134
2140
|
}));
|
|
2135
2141
|
case 2:
|
|
2136
2142
|
case "end":
|
|
@@ -2138,6 +2144,70 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2138
2144
|
}
|
|
2139
2145
|
}, _callee58, this);
|
|
2140
2146
|
}));
|
|
2147
|
+
function updateTeamInSlack() {
|
|
2148
|
+
return _updateTeamInSlack.apply(this, arguments);
|
|
2149
|
+
}
|
|
2150
|
+
return updateTeamInSlack;
|
|
2151
|
+
}()
|
|
2152
|
+
/**
|
|
2153
|
+
* Update user details
|
|
2154
|
+
*/
|
|
2155
|
+
)
|
|
2156
|
+
}, {
|
|
2157
|
+
key: "updateUser",
|
|
2158
|
+
value: (function () {
|
|
2159
|
+
var _updateUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee59() {
|
|
2160
|
+
var _this60 = this;
|
|
2161
|
+
var _len48,
|
|
2162
|
+
args,
|
|
2163
|
+
_key48,
|
|
2164
|
+
_args59 = arguments;
|
|
2165
|
+
return _regeneratorRuntime.wrap(function _callee59$(_context59) {
|
|
2166
|
+
while (1) switch (_context59.prev = _context59.next) {
|
|
2167
|
+
case 0:
|
|
2168
|
+
for (_len48 = _args59.length, args = new Array(_len48), _key48 = 0; _key48 < _len48; _key48++) {
|
|
2169
|
+
args[_key48] = _args59[_key48];
|
|
2170
|
+
}
|
|
2171
|
+
return _context59.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
2172
|
+
var _this60$_identityClie;
|
|
2173
|
+
return (_this60$_identityClie = _this60._identityClient).updateUser.apply(_this60$_identityClie, args);
|
|
2174
|
+
}));
|
|
2175
|
+
case 2:
|
|
2176
|
+
case "end":
|
|
2177
|
+
return _context59.stop();
|
|
2178
|
+
}
|
|
2179
|
+
}, _callee59, this);
|
|
2180
|
+
}));
|
|
2181
|
+
function updateUser() {
|
|
2182
|
+
return _updateUser.apply(this, arguments);
|
|
2183
|
+
}
|
|
2184
|
+
return updateUser;
|
|
2185
|
+
}())
|
|
2186
|
+
}, {
|
|
2187
|
+
key: "updateUserAvatar",
|
|
2188
|
+
value: function () {
|
|
2189
|
+
var _updateUserAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee60() {
|
|
2190
|
+
var _this61 = this;
|
|
2191
|
+
var _len49,
|
|
2192
|
+
args,
|
|
2193
|
+
_key49,
|
|
2194
|
+
_args60 = arguments;
|
|
2195
|
+
return _regeneratorRuntime.wrap(function _callee60$(_context60) {
|
|
2196
|
+
while (1) switch (_context60.prev = _context60.next) {
|
|
2197
|
+
case 0:
|
|
2198
|
+
for (_len49 = _args60.length, args = new Array(_len49), _key49 = 0; _key49 < _len49; _key49++) {
|
|
2199
|
+
args[_key49] = _args60[_key49];
|
|
2200
|
+
}
|
|
2201
|
+
return _context60.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
2202
|
+
var _this61$_identityClie;
|
|
2203
|
+
return (_this61$_identityClie = _this61._identityClient).updateUserAvatar.apply(_this61$_identityClie, args);
|
|
2204
|
+
}));
|
|
2205
|
+
case 2:
|
|
2206
|
+
case "end":
|
|
2207
|
+
return _context60.stop();
|
|
2208
|
+
}
|
|
2209
|
+
}, _callee60, this);
|
|
2210
|
+
}));
|
|
2141
2211
|
function updateUserAvatar() {
|
|
2142
2212
|
return _updateUserAvatar.apply(this, arguments);
|
|
2143
2213
|
}
|
|
@@ -2146,18 +2216,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2146
2216
|
}, {
|
|
2147
2217
|
key: "addTeamWatcher",
|
|
2148
2218
|
value: function () {
|
|
2149
|
-
var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2219
|
+
var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee61() {
|
|
2150
2220
|
var _this$_teamCentralCli;
|
|
2151
|
-
var
|
|
2152
|
-
return _regeneratorRuntime.wrap(function
|
|
2153
|
-
while (1) switch (
|
|
2221
|
+
var _args61 = arguments;
|
|
2222
|
+
return _regeneratorRuntime.wrap(function _callee61$(_context61) {
|
|
2223
|
+
while (1) switch (_context61.prev = _context61.next) {
|
|
2154
2224
|
case 0:
|
|
2155
|
-
return
|
|
2225
|
+
return _context61.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args61));
|
|
2156
2226
|
case 1:
|
|
2157
2227
|
case "end":
|
|
2158
|
-
return
|
|
2228
|
+
return _context61.stop();
|
|
2159
2229
|
}
|
|
2160
|
-
},
|
|
2230
|
+
}, _callee61, this);
|
|
2161
2231
|
}));
|
|
2162
2232
|
function addTeamWatcher() {
|
|
2163
2233
|
return _addTeamWatcher.apply(this, arguments);
|
|
@@ -2167,18 +2237,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2167
2237
|
}, {
|
|
2168
2238
|
key: "removeTeamWatcher",
|
|
2169
2239
|
value: function () {
|
|
2170
|
-
var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2240
|
+
var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee62() {
|
|
2171
2241
|
var _this$_teamCentralCli2;
|
|
2172
|
-
var
|
|
2173
|
-
return _regeneratorRuntime.wrap(function
|
|
2174
|
-
while (1) switch (
|
|
2242
|
+
var _args62 = arguments;
|
|
2243
|
+
return _regeneratorRuntime.wrap(function _callee62$(_context62) {
|
|
2244
|
+
while (1) switch (_context62.prev = _context62.next) {
|
|
2175
2245
|
case 0:
|
|
2176
|
-
return
|
|
2246
|
+
return _context62.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args62));
|
|
2177
2247
|
case 1:
|
|
2178
2248
|
case "end":
|
|
2179
|
-
return
|
|
2249
|
+
return _context62.stop();
|
|
2180
2250
|
}
|
|
2181
|
-
},
|
|
2251
|
+
}, _callee62, this);
|
|
2182
2252
|
}));
|
|
2183
2253
|
function removeTeamWatcher() {
|
|
2184
2254
|
return _removeTeamWatcher.apply(this, arguments);
|
|
@@ -2188,18 +2258,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2188
2258
|
}, {
|
|
2189
2259
|
key: "deleteKudos",
|
|
2190
2260
|
value: function () {
|
|
2191
|
-
var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2261
|
+
var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee63() {
|
|
2192
2262
|
var _this$_teamCentralCli3;
|
|
2193
|
-
var
|
|
2194
|
-
return _regeneratorRuntime.wrap(function
|
|
2195
|
-
while (1) switch (
|
|
2263
|
+
var _args63 = arguments;
|
|
2264
|
+
return _regeneratorRuntime.wrap(function _callee63$(_context63) {
|
|
2265
|
+
while (1) switch (_context63.prev = _context63.next) {
|
|
2196
2266
|
case 0:
|
|
2197
|
-
return
|
|
2267
|
+
return _context63.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args63));
|
|
2198
2268
|
case 1:
|
|
2199
2269
|
case "end":
|
|
2200
|
-
return
|
|
2270
|
+
return _context63.stop();
|
|
2201
2271
|
}
|
|
2202
|
-
},
|
|
2272
|
+
}, _callee63, this);
|
|
2203
2273
|
}));
|
|
2204
2274
|
function deleteKudos() {
|
|
2205
2275
|
return _deleteKudos.apply(this, arguments);
|
|
@@ -2209,18 +2279,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2209
2279
|
}, {
|
|
2210
2280
|
key: "queryTagList",
|
|
2211
2281
|
value: function () {
|
|
2212
|
-
var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2282
|
+
var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee64() {
|
|
2213
2283
|
var _this$_teamCentralCli4;
|
|
2214
|
-
var
|
|
2215
|
-
return _regeneratorRuntime.wrap(function
|
|
2216
|
-
while (1) switch (
|
|
2284
|
+
var _args64 = arguments;
|
|
2285
|
+
return _regeneratorRuntime.wrap(function _callee64$(_context64) {
|
|
2286
|
+
while (1) switch (_context64.prev = _context64.next) {
|
|
2217
2287
|
case 0:
|
|
2218
|
-
return
|
|
2288
|
+
return _context64.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args64));
|
|
2219
2289
|
case 1:
|
|
2220
2290
|
case "end":
|
|
2221
|
-
return
|
|
2291
|
+
return _context64.stop();
|
|
2222
2292
|
}
|
|
2223
|
-
},
|
|
2293
|
+
}, _callee64, this);
|
|
2224
2294
|
}));
|
|
2225
2295
|
function queryTagList() {
|
|
2226
2296
|
return _queryTagList.apply(this, arguments);
|
|
@@ -2230,18 +2300,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2230
2300
|
}, {
|
|
2231
2301
|
key: "createTag",
|
|
2232
2302
|
value: function () {
|
|
2233
|
-
var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2303
|
+
var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee65() {
|
|
2234
2304
|
var _this$_teamCentralCli5;
|
|
2235
|
-
var
|
|
2236
|
-
return _regeneratorRuntime.wrap(function
|
|
2237
|
-
while (1) switch (
|
|
2305
|
+
var _args65 = arguments;
|
|
2306
|
+
return _regeneratorRuntime.wrap(function _callee65$(_context65) {
|
|
2307
|
+
while (1) switch (_context65.prev = _context65.next) {
|
|
2238
2308
|
case 0:
|
|
2239
|
-
return
|
|
2309
|
+
return _context65.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args65));
|
|
2240
2310
|
case 1:
|
|
2241
2311
|
case "end":
|
|
2242
|
-
return
|
|
2312
|
+
return _context65.stop();
|
|
2243
2313
|
}
|
|
2244
|
-
},
|
|
2314
|
+
}, _callee65, this);
|
|
2245
2315
|
}));
|
|
2246
2316
|
function createTag() {
|
|
2247
2317
|
return _createTag.apply(this, arguments);
|
|
@@ -2251,18 +2321,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2251
2321
|
}, {
|
|
2252
2322
|
key: "createHelpPointer",
|
|
2253
2323
|
value: function () {
|
|
2254
|
-
var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2324
|
+
var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee66() {
|
|
2255
2325
|
var _this$_teamCentralCli6;
|
|
2256
|
-
var
|
|
2257
|
-
return _regeneratorRuntime.wrap(function
|
|
2258
|
-
while (1) switch (
|
|
2326
|
+
var _args66 = arguments;
|
|
2327
|
+
return _regeneratorRuntime.wrap(function _callee66$(_context66) {
|
|
2328
|
+
while (1) switch (_context66.prev = _context66.next) {
|
|
2259
2329
|
case 0:
|
|
2260
|
-
return
|
|
2330
|
+
return _context66.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args66));
|
|
2261
2331
|
case 1:
|
|
2262
2332
|
case "end":
|
|
2263
|
-
return
|
|
2333
|
+
return _context66.stop();
|
|
2264
2334
|
}
|
|
2265
|
-
},
|
|
2335
|
+
}, _callee66, this);
|
|
2266
2336
|
}));
|
|
2267
2337
|
function createHelpPointer() {
|
|
2268
2338
|
return _createHelpPointer.apply(this, arguments);
|
|
@@ -2272,18 +2342,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2272
2342
|
}, {
|
|
2273
2343
|
key: "updateHelpPointer",
|
|
2274
2344
|
value: function () {
|
|
2275
|
-
var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2345
|
+
var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee67() {
|
|
2276
2346
|
var _this$_teamCentralCli7;
|
|
2277
|
-
var
|
|
2278
|
-
return _regeneratorRuntime.wrap(function
|
|
2279
|
-
while (1) switch (
|
|
2347
|
+
var _args67 = arguments;
|
|
2348
|
+
return _regeneratorRuntime.wrap(function _callee67$(_context67) {
|
|
2349
|
+
while (1) switch (_context67.prev = _context67.next) {
|
|
2280
2350
|
case 0:
|
|
2281
|
-
return
|
|
2351
|
+
return _context67.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args67));
|
|
2282
2352
|
case 1:
|
|
2283
2353
|
case "end":
|
|
2284
|
-
return
|
|
2354
|
+
return _context67.stop();
|
|
2285
2355
|
}
|
|
2286
|
-
},
|
|
2356
|
+
}, _callee67, this);
|
|
2287
2357
|
}));
|
|
2288
2358
|
function updateHelpPointer() {
|
|
2289
2359
|
return _updateHelpPointer.apply(this, arguments);
|
|
@@ -2293,18 +2363,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2293
2363
|
}, {
|
|
2294
2364
|
key: "deleteHelpPointer",
|
|
2295
2365
|
value: function () {
|
|
2296
|
-
var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2366
|
+
var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee68() {
|
|
2297
2367
|
var _this$_teamCentralCli8;
|
|
2298
|
-
var
|
|
2299
|
-
return _regeneratorRuntime.wrap(function
|
|
2300
|
-
while (1) switch (
|
|
2368
|
+
var _args68 = arguments;
|
|
2369
|
+
return _regeneratorRuntime.wrap(function _callee68$(_context68) {
|
|
2370
|
+
while (1) switch (_context68.prev = _context68.next) {
|
|
2301
2371
|
case 0:
|
|
2302
|
-
return
|
|
2372
|
+
return _context68.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args68));
|
|
2303
2373
|
case 1:
|
|
2304
2374
|
case "end":
|
|
2305
|
-
return
|
|
2375
|
+
return _context68.stop();
|
|
2306
2376
|
}
|
|
2307
|
-
},
|
|
2377
|
+
}, _callee68, this);
|
|
2308
2378
|
}));
|
|
2309
2379
|
function deleteHelpPointer() {
|
|
2310
2380
|
return _deleteHelpPointer.apply(this, arguments);
|
|
@@ -2314,27 +2384,27 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2314
2384
|
}, {
|
|
2315
2385
|
key: "getUserTenure",
|
|
2316
2386
|
value: function () {
|
|
2317
|
-
var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2318
|
-
var
|
|
2319
|
-
var
|
|
2387
|
+
var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee69() {
|
|
2388
|
+
var _this62 = this;
|
|
2389
|
+
var _len50,
|
|
2320
2390
|
args,
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
return _regeneratorRuntime.wrap(function
|
|
2324
|
-
while (1) switch (
|
|
2391
|
+
_key50,
|
|
2392
|
+
_args69 = arguments;
|
|
2393
|
+
return _regeneratorRuntime.wrap(function _callee69$(_context69) {
|
|
2394
|
+
while (1) switch (_context69.prev = _context69.next) {
|
|
2325
2395
|
case 0:
|
|
2326
|
-
for (
|
|
2327
|
-
args[
|
|
2396
|
+
for (_len50 = _args69.length, args = new Array(_len50), _key50 = 0; _key50 < _len50; _key50++) {
|
|
2397
|
+
args[_key50] = _args69[_key50];
|
|
2328
2398
|
}
|
|
2329
|
-
return
|
|
2330
|
-
var
|
|
2331
|
-
return (
|
|
2399
|
+
return _context69.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2400
|
+
var _this62$_replinesClie;
|
|
2401
|
+
return (_this62$_replinesClie = _this62._replinesClient).getUserTenure.apply(_this62$_replinesClie, args);
|
|
2332
2402
|
}));
|
|
2333
2403
|
case 2:
|
|
2334
2404
|
case "end":
|
|
2335
|
-
return
|
|
2405
|
+
return _context69.stop();
|
|
2336
2406
|
}
|
|
2337
|
-
},
|
|
2407
|
+
}, _callee69, this);
|
|
2338
2408
|
}));
|
|
2339
2409
|
function getUserTenure() {
|
|
2340
2410
|
return _getUserTenure.apply(this, arguments);
|