@atlaskit/teams-client 4.10.0 → 4.11.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 +7 -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 +56 -5
- package/dist/cjs/services/main.js +378 -304
- package/dist/cjs/services/sentry/main.js +2 -0
- 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 +15 -0
- package/dist/es2019/services/main.js +20 -0
- package/dist/es2019/services/rest-client/index.js +2 -0
- package/dist/es2019/services/sentry/main.js +2 -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 +56 -5
- package/dist/esm/services/main.js +378 -304
- package/dist/esm/services/sentry/main.js +2 -0
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/types/common/utils/ari.d.ts +2 -2
- package/dist/types/common/utils/ufo/constants.d.ts +2 -2
- package/dist/types/services/legion-client/index.d.ts +4 -1
- package/dist/types/services/main.d.ts +14 -0
- package/dist/types/services/sentry/main.d.ts +4 -8
- package/dist/types/services/use-query-light/main.d.ts +1 -1
- package/dist/types/types/team.d.ts +21 -0
- package/dist/types/types/user.d.ts +1 -1
- package/dist/types-ts4.5/common/utils/ari.d.ts +2 -2
- package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +4 -2
- package/dist/types-ts4.5/services/legion-client/index.d.ts +4 -1
- package/dist/types-ts4.5/services/main.d.ts +14 -0
- package/dist/types-ts4.5/services/sentry/main.d.ts +4 -8
- package/dist/types-ts4.5/services/use-query-light/main.d.ts +1 -1
- package/dist/types-ts4.5/types/team.d.ts +21 -0
- package/dist/types-ts4.5/types/user.d.ts +1 -1
- package/package.json +1 -2
|
@@ -1585,6 +1585,80 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
return assignTeamsToSites;
|
|
1587
1587
|
}()
|
|
1588
|
+
/**
|
|
1589
|
+
* Get assigned teams
|
|
1590
|
+
* @param orgId
|
|
1591
|
+
* @param cursor
|
|
1592
|
+
* @param displayNameContains
|
|
1593
|
+
* @param count - number of teams to return
|
|
1594
|
+
*/
|
|
1595
|
+
)
|
|
1596
|
+
}, {
|
|
1597
|
+
key: "getAssignedTeams",
|
|
1598
|
+
value: (function () {
|
|
1599
|
+
var _getAssignedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44() {
|
|
1600
|
+
var _this39 = this;
|
|
1601
|
+
var _len30,
|
|
1602
|
+
args,
|
|
1603
|
+
_key30,
|
|
1604
|
+
_args44 = arguments;
|
|
1605
|
+
return _regenerator.default.wrap(function _callee44$(_context44) {
|
|
1606
|
+
while (1) switch (_context44.prev = _context44.next) {
|
|
1607
|
+
case 0:
|
|
1608
|
+
for (_len30 = _args44.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
|
|
1609
|
+
args[_key30] = _args44[_key30];
|
|
1610
|
+
}
|
|
1611
|
+
return _context44.abrupt("return", this.measurePerformance('getAssignedTeams', function () {
|
|
1612
|
+
var _this39$_legionClient;
|
|
1613
|
+
return (_this39$_legionClient = _this39._legionClient).getAssignedTeams.apply(_this39$_legionClient, args);
|
|
1614
|
+
}));
|
|
1615
|
+
case 2:
|
|
1616
|
+
case "end":
|
|
1617
|
+
return _context44.stop();
|
|
1618
|
+
}
|
|
1619
|
+
}, _callee44, this);
|
|
1620
|
+
}));
|
|
1621
|
+
function getAssignedTeams() {
|
|
1622
|
+
return _getAssignedTeams.apply(this, arguments);
|
|
1623
|
+
}
|
|
1624
|
+
return getAssignedTeams;
|
|
1625
|
+
}()
|
|
1626
|
+
/**
|
|
1627
|
+
* Set team site assignment permission
|
|
1628
|
+
* @param orgId
|
|
1629
|
+
* @param alignmentPermission - 'ALL_USERS' | 'ORG_ADMIN'
|
|
1630
|
+
*/
|
|
1631
|
+
)
|
|
1632
|
+
}, {
|
|
1633
|
+
key: "setTeamSiteAssignmentPermission",
|
|
1634
|
+
value: (function () {
|
|
1635
|
+
var _setTeamSiteAssignmentPermission = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() {
|
|
1636
|
+
var _this40 = this;
|
|
1637
|
+
var _len31,
|
|
1638
|
+
args,
|
|
1639
|
+
_key31,
|
|
1640
|
+
_args45 = arguments;
|
|
1641
|
+
return _regenerator.default.wrap(function _callee45$(_context45) {
|
|
1642
|
+
while (1) switch (_context45.prev = _context45.next) {
|
|
1643
|
+
case 0:
|
|
1644
|
+
for (_len31 = _args45.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
|
|
1645
|
+
args[_key31] = _args45[_key31];
|
|
1646
|
+
}
|
|
1647
|
+
return _context45.abrupt("return", this.measurePerformance('setTeamSiteAssignmentPermission', function () {
|
|
1648
|
+
var _this40$_legionClient;
|
|
1649
|
+
return (_this40$_legionClient = _this40._legionClient).setTeamSiteAssignmentPermission.apply(_this40$_legionClient, args);
|
|
1650
|
+
}));
|
|
1651
|
+
case 2:
|
|
1652
|
+
case "end":
|
|
1653
|
+
return _context45.stop();
|
|
1654
|
+
}
|
|
1655
|
+
}, _callee45, this);
|
|
1656
|
+
}));
|
|
1657
|
+
function setTeamSiteAssignmentPermission() {
|
|
1658
|
+
return _setTeamSiteAssignmentPermission.apply(this, arguments);
|
|
1659
|
+
}
|
|
1660
|
+
return setTeamSiteAssignmentPermission;
|
|
1661
|
+
}()
|
|
1588
1662
|
/**
|
|
1589
1663
|
* Is the current user a site admin
|
|
1590
1664
|
*/
|
|
@@ -1592,13 +1666,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1592
1666
|
}, {
|
|
1593
1667
|
key: "getIsSiteAdmin",
|
|
1594
1668
|
value: function getIsSiteAdmin() {
|
|
1595
|
-
var
|
|
1596
|
-
for (var
|
|
1597
|
-
args[
|
|
1669
|
+
var _this41 = this;
|
|
1670
|
+
for (var _len32 = arguments.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
|
|
1671
|
+
args[_key32] = arguments[_key32];
|
|
1598
1672
|
}
|
|
1599
1673
|
return this.measurePerformance('getIsSiteAdmin', function () {
|
|
1600
|
-
var
|
|
1601
|
-
return (
|
|
1674
|
+
var _this41$_permsClient;
|
|
1675
|
+
return (_this41$_permsClient = _this41._permsClient).getIsSiteAdmin.apply(_this41$_permsClient, args);
|
|
1602
1676
|
});
|
|
1603
1677
|
}
|
|
1604
1678
|
|
|
@@ -1608,13 +1682,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1608
1682
|
}, {
|
|
1609
1683
|
key: "addUsersToTeam",
|
|
1610
1684
|
value: function addUsersToTeam() {
|
|
1611
|
-
var
|
|
1612
|
-
for (var
|
|
1613
|
-
args[
|
|
1685
|
+
var _this42 = this;
|
|
1686
|
+
for (var _len33 = arguments.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1687
|
+
args[_key33] = arguments[_key33];
|
|
1614
1688
|
}
|
|
1615
1689
|
return this.measurePerformance('addUsersToTeam', function () {
|
|
1616
|
-
var
|
|
1617
|
-
return (
|
|
1690
|
+
var _this42$_publicApiCli;
|
|
1691
|
+
return (_this42$_publicApiCli = _this42._publicApiClient).addUsersToTeam.apply(_this42$_publicApiCli, args);
|
|
1618
1692
|
});
|
|
1619
1693
|
}
|
|
1620
1694
|
|
|
@@ -1624,13 +1698,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1624
1698
|
}, {
|
|
1625
1699
|
key: "removeTeamMemberships",
|
|
1626
1700
|
value: function removeTeamMemberships() {
|
|
1627
|
-
var
|
|
1628
|
-
for (var
|
|
1629
|
-
args[
|
|
1701
|
+
var _this43 = this;
|
|
1702
|
+
for (var _len34 = arguments.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1703
|
+
args[_key34] = arguments[_key34];
|
|
1630
1704
|
}
|
|
1631
1705
|
return this.measurePerformance('removeTeamMemberships', function () {
|
|
1632
|
-
var
|
|
1633
|
-
return (
|
|
1706
|
+
var _this43$_publicApiCli;
|
|
1707
|
+
return (_this43$_publicApiCli = _this43._publicApiClient).removeTeamMemberships.apply(_this43$_publicApiCli, args);
|
|
1634
1708
|
});
|
|
1635
1709
|
}
|
|
1636
1710
|
|
|
@@ -1640,37 +1714,37 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1640
1714
|
}, {
|
|
1641
1715
|
key: "restoreTeam",
|
|
1642
1716
|
value: function restoreTeam() {
|
|
1643
|
-
var
|
|
1644
|
-
for (var
|
|
1645
|
-
args[
|
|
1717
|
+
var _this44 = this;
|
|
1718
|
+
for (var _len35 = arguments.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1719
|
+
args[_key35] = arguments[_key35];
|
|
1646
1720
|
}
|
|
1647
1721
|
return this.measurePerformance('restoreTeam', function () {
|
|
1648
|
-
var
|
|
1649
|
-
return (
|
|
1722
|
+
var _this44$_publicApiCli;
|
|
1723
|
+
return (_this44$_publicApiCli = _this44._publicApiClient).restoreTeam.apply(_this44$_publicApiCli, args);
|
|
1650
1724
|
});
|
|
1651
1725
|
}
|
|
1652
1726
|
}, {
|
|
1653
1727
|
key: "getRecommendedProducts",
|
|
1654
1728
|
value: function getRecommendedProducts() {
|
|
1655
|
-
var
|
|
1656
|
-
for (var
|
|
1657
|
-
args[
|
|
1729
|
+
var _this45 = this;
|
|
1730
|
+
for (var _len36 = arguments.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1731
|
+
args[_key36] = arguments[_key36];
|
|
1658
1732
|
}
|
|
1659
1733
|
return this.measurePerformance('getRecommendedProducts', function () {
|
|
1660
|
-
var
|
|
1661
|
-
return (
|
|
1734
|
+
var _this45$_invitationsC;
|
|
1735
|
+
return (_this45$_invitationsC = _this45._invitationsClient).getProductRecommendations.apply(_this45$_invitationsC, args);
|
|
1662
1736
|
});
|
|
1663
1737
|
}
|
|
1664
1738
|
}, {
|
|
1665
1739
|
key: "joinOrRequestDefaultAccessToProductsBulk",
|
|
1666
1740
|
value: function joinOrRequestDefaultAccessToProductsBulk() {
|
|
1667
|
-
var
|
|
1668
|
-
for (var
|
|
1669
|
-
args[
|
|
1741
|
+
var _this46 = this;
|
|
1742
|
+
for (var _len37 = arguments.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1743
|
+
args[_key37] = arguments[_key37];
|
|
1670
1744
|
}
|
|
1671
1745
|
return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
|
|
1672
|
-
var
|
|
1673
|
-
return (
|
|
1746
|
+
var _this46$_invitationsC;
|
|
1747
|
+
return (_this46$_invitationsC = _this46._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this46$_invitationsC, args);
|
|
1674
1748
|
});
|
|
1675
1749
|
}
|
|
1676
1750
|
|
|
@@ -1680,19 +1754,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1680
1754
|
}, {
|
|
1681
1755
|
key: "getWriteTeamMediaToken",
|
|
1682
1756
|
value: (function () {
|
|
1683
|
-
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1684
|
-
var
|
|
1685
|
-
return _regenerator.default.wrap(function
|
|
1686
|
-
while (1) switch (
|
|
1757
|
+
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
|
|
1758
|
+
var _this47 = this;
|
|
1759
|
+
return _regenerator.default.wrap(function _callee46$(_context46) {
|
|
1760
|
+
while (1) switch (_context46.prev = _context46.next) {
|
|
1687
1761
|
case 0:
|
|
1688
|
-
return
|
|
1689
|
-
return
|
|
1762
|
+
return _context46.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1763
|
+
return _this47._legionClient.getWriteMediaToken();
|
|
1690
1764
|
}));
|
|
1691
1765
|
case 1:
|
|
1692
1766
|
case "end":
|
|
1693
|
-
return
|
|
1767
|
+
return _context46.stop();
|
|
1694
1768
|
}
|
|
1695
|
-
},
|
|
1769
|
+
}, _callee46, this);
|
|
1696
1770
|
}));
|
|
1697
1771
|
function getWriteTeamMediaToken() {
|
|
1698
1772
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1706,27 +1780,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1706
1780
|
}, {
|
|
1707
1781
|
key: "getReadMediaToken",
|
|
1708
1782
|
value: (function () {
|
|
1709
|
-
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1710
|
-
var
|
|
1711
|
-
var
|
|
1783
|
+
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
|
|
1784
|
+
var _this48 = this;
|
|
1785
|
+
var _len38,
|
|
1712
1786
|
args,
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
return _regenerator.default.wrap(function
|
|
1716
|
-
while (1) switch (
|
|
1787
|
+
_key38,
|
|
1788
|
+
_args47 = arguments;
|
|
1789
|
+
return _regenerator.default.wrap(function _callee47$(_context47) {
|
|
1790
|
+
while (1) switch (_context47.prev = _context47.next) {
|
|
1717
1791
|
case 0:
|
|
1718
|
-
for (
|
|
1719
|
-
args[
|
|
1792
|
+
for (_len38 = _args47.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1793
|
+
args[_key38] = _args47[_key38];
|
|
1720
1794
|
}
|
|
1721
|
-
return
|
|
1722
|
-
var
|
|
1723
|
-
return (
|
|
1795
|
+
return _context47.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1796
|
+
var _this48$_userPreferen;
|
|
1797
|
+
return (_this48$_userPreferen = _this48._userPreferencesClient).getReadMediaToken.apply(_this48$_userPreferen, args);
|
|
1724
1798
|
}));
|
|
1725
1799
|
case 2:
|
|
1726
1800
|
case "end":
|
|
1727
|
-
return
|
|
1801
|
+
return _context47.stop();
|
|
1728
1802
|
}
|
|
1729
|
-
},
|
|
1803
|
+
}, _callee47, this);
|
|
1730
1804
|
}));
|
|
1731
1805
|
function getReadMediaToken() {
|
|
1732
1806
|
return _getReadMediaToken.apply(this, arguments);
|
|
@@ -1740,19 +1814,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1740
1814
|
}, {
|
|
1741
1815
|
key: "getWriteUserMediaToken",
|
|
1742
1816
|
value: (function () {
|
|
1743
|
-
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1744
|
-
var
|
|
1745
|
-
return _regenerator.default.wrap(function
|
|
1746
|
-
while (1) switch (
|
|
1817
|
+
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() {
|
|
1818
|
+
var _this49 = this;
|
|
1819
|
+
return _regenerator.default.wrap(function _callee48$(_context48) {
|
|
1820
|
+
while (1) switch (_context48.prev = _context48.next) {
|
|
1747
1821
|
case 0:
|
|
1748
|
-
return
|
|
1749
|
-
return
|
|
1822
|
+
return _context48.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1823
|
+
return _this49._userPreferencesClient.getWriteMediaToken();
|
|
1750
1824
|
}));
|
|
1751
1825
|
case 1:
|
|
1752
1826
|
case "end":
|
|
1753
|
-
return
|
|
1827
|
+
return _context48.stop();
|
|
1754
1828
|
}
|
|
1755
|
-
},
|
|
1829
|
+
}, _callee48, this);
|
|
1756
1830
|
}));
|
|
1757
1831
|
function getWriteUserMediaToken() {
|
|
1758
1832
|
return _getWriteUserMediaToken.apply(this, arguments);
|
|
@@ -1766,19 +1840,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1766
1840
|
}, {
|
|
1767
1841
|
key: "updateUserHeaderImage",
|
|
1768
1842
|
value: (function () {
|
|
1769
|
-
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1770
|
-
var
|
|
1771
|
-
return _regenerator.default.wrap(function
|
|
1772
|
-
while (1) switch (
|
|
1843
|
+
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49(headerImageId) {
|
|
1844
|
+
var _this50 = this;
|
|
1845
|
+
return _regenerator.default.wrap(function _callee49$(_context49) {
|
|
1846
|
+
while (1) switch (_context49.prev = _context49.next) {
|
|
1773
1847
|
case 0:
|
|
1774
|
-
return
|
|
1775
|
-
return
|
|
1848
|
+
return _context49.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1849
|
+
return _this50._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1776
1850
|
}));
|
|
1777
1851
|
case 1:
|
|
1778
1852
|
case "end":
|
|
1779
|
-
return
|
|
1853
|
+
return _context49.stop();
|
|
1780
1854
|
}
|
|
1781
|
-
},
|
|
1855
|
+
}, _callee49, this);
|
|
1782
1856
|
}));
|
|
1783
1857
|
function updateUserHeaderImage(_x13) {
|
|
1784
1858
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
@@ -1792,75 +1866,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1792
1866
|
}, {
|
|
1793
1867
|
key: "getUserContainers",
|
|
1794
1868
|
value: (function () {
|
|
1795
|
-
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1796
|
-
var _this49 = this;
|
|
1797
|
-
var _len37,
|
|
1798
|
-
args,
|
|
1799
|
-
_key37,
|
|
1800
|
-
_args48 = arguments;
|
|
1801
|
-
return _regenerator.default.wrap(function _callee48$(_context48) {
|
|
1802
|
-
while (1) switch (_context48.prev = _context48.next) {
|
|
1803
|
-
case 0:
|
|
1804
|
-
for (_len37 = _args48.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1805
|
-
args[_key37] = _args48[_key37];
|
|
1806
|
-
}
|
|
1807
|
-
return _context48.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1808
|
-
var _this49$_collaboratio;
|
|
1809
|
-
return (_this49$_collaboratio = _this49._collaborationGraphClient).getUserContainers.apply(_this49$_collaboratio, args);
|
|
1810
|
-
}));
|
|
1811
|
-
case 2:
|
|
1812
|
-
case "end":
|
|
1813
|
-
return _context48.stop();
|
|
1814
|
-
}
|
|
1815
|
-
}, _callee48, this);
|
|
1816
|
-
}));
|
|
1817
|
-
function getUserContainers() {
|
|
1818
|
-
return _getUserContainers.apply(this, arguments);
|
|
1819
|
-
}
|
|
1820
|
-
return getUserContainers;
|
|
1821
|
-
}()
|
|
1822
|
-
/**
|
|
1823
|
-
* Fetch mutatability of external managed user fields
|
|
1824
|
-
*/
|
|
1825
|
-
)
|
|
1826
|
-
}, {
|
|
1827
|
-
key: "getUserManageConfig",
|
|
1828
|
-
value: (function () {
|
|
1829
|
-
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() {
|
|
1830
|
-
var _this50 = this;
|
|
1831
|
-
var _len38,
|
|
1832
|
-
args,
|
|
1833
|
-
_key38,
|
|
1834
|
-
_args49 = arguments;
|
|
1835
|
-
return _regenerator.default.wrap(function _callee49$(_context49) {
|
|
1836
|
-
while (1) switch (_context49.prev = _context49.next) {
|
|
1837
|
-
case 0:
|
|
1838
|
-
for (_len38 = _args49.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1839
|
-
args[_key38] = _args49[_key38];
|
|
1840
|
-
}
|
|
1841
|
-
return _context49.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1842
|
-
var _this50$_identityClie;
|
|
1843
|
-
return (_this50$_identityClie = _this50._identityClient).getUserManageConfig.apply(_this50$_identityClie, args);
|
|
1844
|
-
}));
|
|
1845
|
-
case 2:
|
|
1846
|
-
case "end":
|
|
1847
|
-
return _context49.stop();
|
|
1848
|
-
}
|
|
1849
|
-
}, _callee49, this);
|
|
1850
|
-
}));
|
|
1851
|
-
function getUserManageConfig() {
|
|
1852
|
-
return _getUserManageConfig.apply(this, arguments);
|
|
1853
|
-
}
|
|
1854
|
-
return getUserManageConfig;
|
|
1855
|
-
}()
|
|
1856
|
-
/**
|
|
1857
|
-
* Fetch user avatar uploaded status
|
|
1858
|
-
*/
|
|
1859
|
-
)
|
|
1860
|
-
}, {
|
|
1861
|
-
key: "getMyAvatarUploadedStatus",
|
|
1862
|
-
value: (function () {
|
|
1863
|
-
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
|
|
1869
|
+
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
|
|
1864
1870
|
var _this51 = this;
|
|
1865
1871
|
var _len39,
|
|
1866
1872
|
args,
|
|
@@ -1872,9 +1878,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1872
1878
|
for (_len39 = _args50.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1873
1879
|
args[_key39] = _args50[_key39];
|
|
1874
1880
|
}
|
|
1875
|
-
return _context50.abrupt("return", this.measurePerformance('
|
|
1876
|
-
var _this51$
|
|
1877
|
-
return (_this51$
|
|
1881
|
+
return _context50.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1882
|
+
var _this51$_collaboratio;
|
|
1883
|
+
return (_this51$_collaboratio = _this51._collaborationGraphClient).getUserContainers.apply(_this51$_collaboratio, args);
|
|
1878
1884
|
}));
|
|
1879
1885
|
case 2:
|
|
1880
1886
|
case "end":
|
|
@@ -1882,19 +1888,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1882
1888
|
}
|
|
1883
1889
|
}, _callee50, this);
|
|
1884
1890
|
}));
|
|
1885
|
-
function
|
|
1886
|
-
return
|
|
1891
|
+
function getUserContainers() {
|
|
1892
|
+
return _getUserContainers.apply(this, arguments);
|
|
1887
1893
|
}
|
|
1888
|
-
return
|
|
1894
|
+
return getUserContainers;
|
|
1889
1895
|
}()
|
|
1890
1896
|
/**
|
|
1891
|
-
*
|
|
1897
|
+
* Fetch mutatability of external managed user fields
|
|
1892
1898
|
*/
|
|
1893
1899
|
)
|
|
1894
1900
|
}, {
|
|
1895
|
-
key: "
|
|
1901
|
+
key: "getUserManageConfig",
|
|
1896
1902
|
value: (function () {
|
|
1897
|
-
var
|
|
1903
|
+
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
|
|
1898
1904
|
var _this52 = this;
|
|
1899
1905
|
var _len40,
|
|
1900
1906
|
args,
|
|
@@ -1906,9 +1912,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1906
1912
|
for (_len40 = _args51.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1907
1913
|
args[_key40] = _args51[_key40];
|
|
1908
1914
|
}
|
|
1909
|
-
return _context51.abrupt("return", this.measurePerformance('
|
|
1915
|
+
return _context51.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1910
1916
|
var _this52$_identityClie;
|
|
1911
|
-
return (_this52$_identityClie = _this52._identityClient).
|
|
1917
|
+
return (_this52$_identityClie = _this52._identityClient).getUserManageConfig.apply(_this52$_identityClie, args);
|
|
1912
1918
|
}));
|
|
1913
1919
|
case 2:
|
|
1914
1920
|
case "end":
|
|
@@ -1916,15 +1922,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1916
1922
|
}
|
|
1917
1923
|
}, _callee51, this);
|
|
1918
1924
|
}));
|
|
1919
|
-
function
|
|
1920
|
-
return
|
|
1925
|
+
function getUserManageConfig() {
|
|
1926
|
+
return _getUserManageConfig.apply(this, arguments);
|
|
1921
1927
|
}
|
|
1922
|
-
return
|
|
1923
|
-
}()
|
|
1928
|
+
return getUserManageConfig;
|
|
1929
|
+
}()
|
|
1930
|
+
/**
|
|
1931
|
+
* Fetch user avatar uploaded status
|
|
1932
|
+
*/
|
|
1933
|
+
)
|
|
1924
1934
|
}, {
|
|
1925
|
-
key: "
|
|
1926
|
-
value: function () {
|
|
1927
|
-
var
|
|
1935
|
+
key: "getMyAvatarUploadedStatus",
|
|
1936
|
+
value: (function () {
|
|
1937
|
+
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
|
|
1928
1938
|
var _this53 = this;
|
|
1929
1939
|
var _len41,
|
|
1930
1940
|
args,
|
|
@@ -1936,9 +1946,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1936
1946
|
for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1937
1947
|
args[_key41] = _args52[_key41];
|
|
1938
1948
|
}
|
|
1939
|
-
return _context52.abrupt("return", this.measurePerformance('
|
|
1949
|
+
return _context52.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
1940
1950
|
var _this53$_identityClie;
|
|
1941
|
-
return (_this53$_identityClie = _this53._identityClient).
|
|
1951
|
+
return (_this53$_identityClie = _this53._identityClient).getMyAvatarUploadedStatus.apply(_this53$_identityClie, args);
|
|
1942
1952
|
}));
|
|
1943
1953
|
case 2:
|
|
1944
1954
|
case "end":
|
|
@@ -1946,18 +1956,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1946
1956
|
}
|
|
1947
1957
|
}, _callee52, this);
|
|
1948
1958
|
}));
|
|
1949
|
-
function
|
|
1950
|
-
return
|
|
1959
|
+
function getMyAvatarUploadedStatus() {
|
|
1960
|
+
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
1951
1961
|
}
|
|
1952
|
-
return
|
|
1962
|
+
return getMyAvatarUploadedStatus;
|
|
1953
1963
|
}()
|
|
1954
1964
|
/**
|
|
1955
|
-
*
|
|
1965
|
+
* Delete user avatar
|
|
1956
1966
|
*/
|
|
1967
|
+
)
|
|
1957
1968
|
}, {
|
|
1958
|
-
key: "
|
|
1969
|
+
key: "deleteAvatar",
|
|
1959
1970
|
value: (function () {
|
|
1960
|
-
var
|
|
1971
|
+
var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
|
|
1961
1972
|
var _this54 = this;
|
|
1962
1973
|
var _len42,
|
|
1963
1974
|
args,
|
|
@@ -1969,9 +1980,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1969
1980
|
for (_len42 = _args53.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
|
|
1970
1981
|
args[_key42] = _args53[_key42];
|
|
1971
1982
|
}
|
|
1972
|
-
return _context53.abrupt("return", this.measurePerformance('
|
|
1973
|
-
var _this54$
|
|
1974
|
-
return (_this54$
|
|
1983
|
+
return _context53.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
1984
|
+
var _this54$_identityClie;
|
|
1985
|
+
return (_this54$_identityClie = _this54._identityClient).deleteAvatar.apply(_this54$_identityClie, args);
|
|
1975
1986
|
}));
|
|
1976
1987
|
case 2:
|
|
1977
1988
|
case "end":
|
|
@@ -1979,19 +1990,15 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1979
1990
|
}
|
|
1980
1991
|
}, _callee53, this);
|
|
1981
1992
|
}));
|
|
1982
|
-
function
|
|
1983
|
-
return
|
|
1993
|
+
function deleteAvatar() {
|
|
1994
|
+
return _deleteAvatar.apply(this, arguments);
|
|
1984
1995
|
}
|
|
1985
|
-
return
|
|
1986
|
-
}()
|
|
1987
|
-
/**
|
|
1988
|
-
* Fetch ARI from URL
|
|
1989
|
-
*/
|
|
1990
|
-
)
|
|
1996
|
+
return deleteAvatar;
|
|
1997
|
+
}())
|
|
1991
1998
|
}, {
|
|
1992
|
-
key: "
|
|
1993
|
-
value:
|
|
1994
|
-
var
|
|
1999
|
+
key: "fetchUserAvatarInfo",
|
|
2000
|
+
value: function () {
|
|
2001
|
+
var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
|
|
1995
2002
|
var _this55 = this;
|
|
1996
2003
|
var _len43,
|
|
1997
2004
|
args,
|
|
@@ -2003,9 +2010,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2003
2010
|
for (_len43 = _args54.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
|
|
2004
2011
|
args[_key43] = _args54[_key43];
|
|
2005
2012
|
}
|
|
2006
|
-
return _context54.abrupt("return", this.measurePerformance('
|
|
2007
|
-
var _this55$
|
|
2008
|
-
return (_this55$
|
|
2013
|
+
return _context54.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
2014
|
+
var _this55$_identityClie;
|
|
2015
|
+
return (_this55$_identityClie = _this55._identityClient).fetchUserAvatarInfo.apply(_this55$_identityClie, args);
|
|
2009
2016
|
}));
|
|
2010
2017
|
case 2:
|
|
2011
2018
|
case "end":
|
|
@@ -2013,19 +2020,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2013
2020
|
}
|
|
2014
2021
|
}, _callee54, this);
|
|
2015
2022
|
}));
|
|
2016
|
-
function
|
|
2017
|
-
return
|
|
2023
|
+
function fetchUserAvatarInfo() {
|
|
2024
|
+
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
2018
2025
|
}
|
|
2019
|
-
return
|
|
2026
|
+
return fetchUserAvatarInfo;
|
|
2020
2027
|
}()
|
|
2021
2028
|
/**
|
|
2022
|
-
* Fetch
|
|
2029
|
+
* Fetch Team link icons
|
|
2023
2030
|
*/
|
|
2024
|
-
)
|
|
2025
2031
|
}, {
|
|
2026
|
-
key: "
|
|
2032
|
+
key: "getTeamLinkIcons",
|
|
2027
2033
|
value: (function () {
|
|
2028
|
-
var
|
|
2034
|
+
var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
|
|
2029
2035
|
var _this56 = this;
|
|
2030
2036
|
var _len44,
|
|
2031
2037
|
args,
|
|
@@ -2037,9 +2043,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2037
2043
|
for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2038
2044
|
args[_key44] = _args55[_key44];
|
|
2039
2045
|
}
|
|
2040
|
-
return _context55.abrupt("return", this.measurePerformance('
|
|
2046
|
+
return _context55.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
|
|
2041
2047
|
var _this56$_objectResolv;
|
|
2042
|
-
return (_this56$_objectResolv = _this56._objectResolverClient).
|
|
2048
|
+
return (_this56$_objectResolv = _this56._objectResolverClient).getTeamLinkIcons.apply(_this56$_objectResolv, args);
|
|
2043
2049
|
}));
|
|
2044
2050
|
case 2:
|
|
2045
2051
|
case "end":
|
|
@@ -2047,19 +2053,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2047
2053
|
}
|
|
2048
2054
|
}, _callee55, this);
|
|
2049
2055
|
}));
|
|
2050
|
-
function
|
|
2051
|
-
return
|
|
2056
|
+
function getTeamLinkIcons() {
|
|
2057
|
+
return _getTeamLinkIcons.apply(this, arguments);
|
|
2052
2058
|
}
|
|
2053
|
-
return
|
|
2059
|
+
return getTeamLinkIcons;
|
|
2054
2060
|
}()
|
|
2055
2061
|
/**
|
|
2056
|
-
* Fetch
|
|
2062
|
+
* Fetch ARI from URL
|
|
2057
2063
|
*/
|
|
2058
2064
|
)
|
|
2059
2065
|
}, {
|
|
2060
|
-
key: "
|
|
2066
|
+
key: "getAriFromUrl",
|
|
2061
2067
|
value: (function () {
|
|
2062
|
-
var
|
|
2068
|
+
var _getAriFromUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() {
|
|
2063
2069
|
var _this57 = this;
|
|
2064
2070
|
var _len45,
|
|
2065
2071
|
args,
|
|
@@ -2071,9 +2077,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2071
2077
|
for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
|
|
2072
2078
|
args[_key45] = _args56[_key45];
|
|
2073
2079
|
}
|
|
2074
|
-
return _context56.abrupt("return", this.measurePerformance('
|
|
2075
|
-
var _this57$
|
|
2076
|
-
return (_this57$
|
|
2080
|
+
return _context56.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
|
|
2081
|
+
var _this57$_objectResolv;
|
|
2082
|
+
return (_this57$_objectResolv = _this57._objectResolverClient).getAriFromUrl.apply(_this57$_objectResolv, args);
|
|
2077
2083
|
}));
|
|
2078
2084
|
case 2:
|
|
2079
2085
|
case "end":
|
|
@@ -2081,19 +2087,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2081
2087
|
}
|
|
2082
2088
|
}, _callee56, this);
|
|
2083
2089
|
}));
|
|
2084
|
-
function
|
|
2085
|
-
return
|
|
2090
|
+
function getAriFromUrl() {
|
|
2091
|
+
return _getAriFromUrl.apply(this, arguments);
|
|
2086
2092
|
}
|
|
2087
|
-
return
|
|
2093
|
+
return getAriFromUrl;
|
|
2088
2094
|
}()
|
|
2089
2095
|
/**
|
|
2090
|
-
*
|
|
2096
|
+
* Fetch web link title
|
|
2091
2097
|
*/
|
|
2092
2098
|
)
|
|
2093
2099
|
}, {
|
|
2094
|
-
key: "
|
|
2100
|
+
key: "getWebLinkTitle",
|
|
2095
2101
|
value: (function () {
|
|
2096
|
-
var
|
|
2102
|
+
var _getWebLinkTitle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() {
|
|
2097
2103
|
var _this58 = this;
|
|
2098
2104
|
var _len46,
|
|
2099
2105
|
args,
|
|
@@ -2105,9 +2111,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2105
2111
|
for (_len46 = _args57.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
|
|
2106
2112
|
args[_key46] = _args57[_key46];
|
|
2107
2113
|
}
|
|
2108
|
-
return _context57.abrupt("return", this.measurePerformance('
|
|
2109
|
-
var _this58$
|
|
2110
|
-
return (_this58$
|
|
2114
|
+
return _context57.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
|
|
2115
|
+
var _this58$_objectResolv;
|
|
2116
|
+
return (_this58$_objectResolv = _this58._objectResolverClient).getWebLinkTitle.apply(_this58$_objectResolv, args);
|
|
2111
2117
|
}));
|
|
2112
2118
|
case 2:
|
|
2113
2119
|
case "end":
|
|
@@ -2115,19 +2121,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2115
2121
|
}
|
|
2116
2122
|
}, _callee57, this);
|
|
2117
2123
|
}));
|
|
2118
|
-
function
|
|
2119
|
-
return
|
|
2124
|
+
function getWebLinkTitle() {
|
|
2125
|
+
return _getWebLinkTitle.apply(this, arguments);
|
|
2120
2126
|
}
|
|
2121
|
-
return
|
|
2127
|
+
return getWebLinkTitle;
|
|
2122
2128
|
}()
|
|
2123
2129
|
/**
|
|
2124
|
-
*
|
|
2130
|
+
* Fetch team in slack details
|
|
2125
2131
|
*/
|
|
2126
2132
|
)
|
|
2127
2133
|
}, {
|
|
2128
|
-
key: "
|
|
2134
|
+
key: "getTeamInSlack",
|
|
2129
2135
|
value: (function () {
|
|
2130
|
-
var
|
|
2136
|
+
var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58() {
|
|
2131
2137
|
var _this59 = this;
|
|
2132
2138
|
var _len47,
|
|
2133
2139
|
args,
|
|
@@ -2139,9 +2145,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2139
2145
|
for (_len47 = _args58.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
|
|
2140
2146
|
args[_key47] = _args58[_key47];
|
|
2141
2147
|
}
|
|
2142
|
-
return _context58.abrupt("return", this.measurePerformance('
|
|
2148
|
+
return _context58.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
|
|
2143
2149
|
var _this59$_teamsInSlack;
|
|
2144
|
-
return (_this59$_teamsInSlack = _this59._teamsInSlackClient).
|
|
2150
|
+
return (_this59$_teamsInSlack = _this59._teamsInSlackClient).getTeamInSlack.apply(_this59$_teamsInSlack, args);
|
|
2145
2151
|
}));
|
|
2146
2152
|
case 2:
|
|
2147
2153
|
case "end":
|
|
@@ -2149,19 +2155,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2149
2155
|
}
|
|
2150
2156
|
}, _callee58, this);
|
|
2151
2157
|
}));
|
|
2152
|
-
function
|
|
2153
|
-
return
|
|
2158
|
+
function getTeamInSlack() {
|
|
2159
|
+
return _getTeamInSlack.apply(this, arguments);
|
|
2154
2160
|
}
|
|
2155
|
-
return
|
|
2161
|
+
return getTeamInSlack;
|
|
2156
2162
|
}()
|
|
2157
2163
|
/**
|
|
2158
|
-
*
|
|
2164
|
+
* Delete team in slack
|
|
2159
2165
|
*/
|
|
2160
2166
|
)
|
|
2161
2167
|
}, {
|
|
2162
|
-
key: "
|
|
2168
|
+
key: "disconnectTeamInSlack",
|
|
2163
2169
|
value: (function () {
|
|
2164
|
-
var
|
|
2170
|
+
var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59() {
|
|
2165
2171
|
var _this60 = this;
|
|
2166
2172
|
var _len48,
|
|
2167
2173
|
args,
|
|
@@ -2173,9 +2179,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2173
2179
|
for (_len48 = _args59.length, args = new Array(_len48), _key48 = 0; _key48 < _len48; _key48++) {
|
|
2174
2180
|
args[_key48] = _args59[_key48];
|
|
2175
2181
|
}
|
|
2176
|
-
return _context59.abrupt("return", this.measurePerformance('
|
|
2177
|
-
var _this60$
|
|
2178
|
-
return (_this60$
|
|
2182
|
+
return _context59.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
2183
|
+
var _this60$_teamsInSlack;
|
|
2184
|
+
return (_this60$_teamsInSlack = _this60._teamsInSlackClient).disconnectTeamInSlack.apply(_this60$_teamsInSlack, args);
|
|
2179
2185
|
}));
|
|
2180
2186
|
case 2:
|
|
2181
2187
|
case "end":
|
|
@@ -2183,15 +2189,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2183
2189
|
}
|
|
2184
2190
|
}, _callee59, this);
|
|
2185
2191
|
}));
|
|
2186
|
-
function
|
|
2187
|
-
return
|
|
2192
|
+
function disconnectTeamInSlack() {
|
|
2193
|
+
return _disconnectTeamInSlack.apply(this, arguments);
|
|
2188
2194
|
}
|
|
2189
|
-
return
|
|
2190
|
-
}()
|
|
2195
|
+
return disconnectTeamInSlack;
|
|
2196
|
+
}()
|
|
2197
|
+
/**
|
|
2198
|
+
* Update team in slack
|
|
2199
|
+
*/
|
|
2200
|
+
)
|
|
2191
2201
|
}, {
|
|
2192
|
-
key: "
|
|
2193
|
-
value: function () {
|
|
2194
|
-
var
|
|
2202
|
+
key: "updateTeamInSlack",
|
|
2203
|
+
value: (function () {
|
|
2204
|
+
var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee60() {
|
|
2195
2205
|
var _this61 = this;
|
|
2196
2206
|
var _len49,
|
|
2197
2207
|
args,
|
|
@@ -2203,9 +2213,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2203
2213
|
for (_len49 = _args60.length, args = new Array(_len49), _key49 = 0; _key49 < _len49; _key49++) {
|
|
2204
2214
|
args[_key49] = _args60[_key49];
|
|
2205
2215
|
}
|
|
2206
|
-
return _context60.abrupt("return", this.measurePerformance('
|
|
2207
|
-
var _this61$
|
|
2208
|
-
return (_this61$
|
|
2216
|
+
return _context60.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
2217
|
+
var _this61$_teamsInSlack;
|
|
2218
|
+
return (_this61$_teamsInSlack = _this61._teamsInSlackClient).updateTeamInSlack.apply(_this61$_teamsInSlack, args);
|
|
2209
2219
|
}));
|
|
2210
2220
|
case 2:
|
|
2211
2221
|
case "end":
|
|
@@ -2213,6 +2223,70 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2213
2223
|
}
|
|
2214
2224
|
}, _callee60, this);
|
|
2215
2225
|
}));
|
|
2226
|
+
function updateTeamInSlack() {
|
|
2227
|
+
return _updateTeamInSlack.apply(this, arguments);
|
|
2228
|
+
}
|
|
2229
|
+
return updateTeamInSlack;
|
|
2230
|
+
}()
|
|
2231
|
+
/**
|
|
2232
|
+
* Update user details
|
|
2233
|
+
*/
|
|
2234
|
+
)
|
|
2235
|
+
}, {
|
|
2236
|
+
key: "updateUser",
|
|
2237
|
+
value: (function () {
|
|
2238
|
+
var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee61() {
|
|
2239
|
+
var _this62 = this;
|
|
2240
|
+
var _len50,
|
|
2241
|
+
args,
|
|
2242
|
+
_key50,
|
|
2243
|
+
_args61 = arguments;
|
|
2244
|
+
return _regenerator.default.wrap(function _callee61$(_context61) {
|
|
2245
|
+
while (1) switch (_context61.prev = _context61.next) {
|
|
2246
|
+
case 0:
|
|
2247
|
+
for (_len50 = _args61.length, args = new Array(_len50), _key50 = 0; _key50 < _len50; _key50++) {
|
|
2248
|
+
args[_key50] = _args61[_key50];
|
|
2249
|
+
}
|
|
2250
|
+
return _context61.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
2251
|
+
var _this62$_identityClie;
|
|
2252
|
+
return (_this62$_identityClie = _this62._identityClient).updateUser.apply(_this62$_identityClie, args);
|
|
2253
|
+
}));
|
|
2254
|
+
case 2:
|
|
2255
|
+
case "end":
|
|
2256
|
+
return _context61.stop();
|
|
2257
|
+
}
|
|
2258
|
+
}, _callee61, this);
|
|
2259
|
+
}));
|
|
2260
|
+
function updateUser() {
|
|
2261
|
+
return _updateUser.apply(this, arguments);
|
|
2262
|
+
}
|
|
2263
|
+
return updateUser;
|
|
2264
|
+
}())
|
|
2265
|
+
}, {
|
|
2266
|
+
key: "updateUserAvatar",
|
|
2267
|
+
value: function () {
|
|
2268
|
+
var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee62() {
|
|
2269
|
+
var _this63 = this;
|
|
2270
|
+
var _len51,
|
|
2271
|
+
args,
|
|
2272
|
+
_key51,
|
|
2273
|
+
_args62 = arguments;
|
|
2274
|
+
return _regenerator.default.wrap(function _callee62$(_context62) {
|
|
2275
|
+
while (1) switch (_context62.prev = _context62.next) {
|
|
2276
|
+
case 0:
|
|
2277
|
+
for (_len51 = _args62.length, args = new Array(_len51), _key51 = 0; _key51 < _len51; _key51++) {
|
|
2278
|
+
args[_key51] = _args62[_key51];
|
|
2279
|
+
}
|
|
2280
|
+
return _context62.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
2281
|
+
var _this63$_identityClie;
|
|
2282
|
+
return (_this63$_identityClie = _this63._identityClient).updateUserAvatar.apply(_this63$_identityClie, args);
|
|
2283
|
+
}));
|
|
2284
|
+
case 2:
|
|
2285
|
+
case "end":
|
|
2286
|
+
return _context62.stop();
|
|
2287
|
+
}
|
|
2288
|
+
}, _callee62, this);
|
|
2289
|
+
}));
|
|
2216
2290
|
function updateUserAvatar() {
|
|
2217
2291
|
return _updateUserAvatar.apply(this, arguments);
|
|
2218
2292
|
}
|
|
@@ -2221,18 +2295,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2221
2295
|
}, {
|
|
2222
2296
|
key: "addTeamWatcher",
|
|
2223
2297
|
value: function () {
|
|
2224
|
-
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2298
|
+
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee63() {
|
|
2225
2299
|
var _this$_teamCentralCli;
|
|
2226
|
-
var
|
|
2227
|
-
return _regenerator.default.wrap(function
|
|
2228
|
-
while (1) switch (
|
|
2300
|
+
var _args63 = arguments;
|
|
2301
|
+
return _regenerator.default.wrap(function _callee63$(_context63) {
|
|
2302
|
+
while (1) switch (_context63.prev = _context63.next) {
|
|
2229
2303
|
case 0:
|
|
2230
|
-
return
|
|
2304
|
+
return _context63.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args63));
|
|
2231
2305
|
case 1:
|
|
2232
2306
|
case "end":
|
|
2233
|
-
return
|
|
2307
|
+
return _context63.stop();
|
|
2234
2308
|
}
|
|
2235
|
-
},
|
|
2309
|
+
}, _callee63, this);
|
|
2236
2310
|
}));
|
|
2237
2311
|
function addTeamWatcher() {
|
|
2238
2312
|
return _addTeamWatcher.apply(this, arguments);
|
|
@@ -2242,18 +2316,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2242
2316
|
}, {
|
|
2243
2317
|
key: "removeTeamWatcher",
|
|
2244
2318
|
value: function () {
|
|
2245
|
-
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2319
|
+
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee64() {
|
|
2246
2320
|
var _this$_teamCentralCli2;
|
|
2247
|
-
var
|
|
2248
|
-
return _regenerator.default.wrap(function
|
|
2249
|
-
while (1) switch (
|
|
2321
|
+
var _args64 = arguments;
|
|
2322
|
+
return _regenerator.default.wrap(function _callee64$(_context64) {
|
|
2323
|
+
while (1) switch (_context64.prev = _context64.next) {
|
|
2250
2324
|
case 0:
|
|
2251
|
-
return
|
|
2325
|
+
return _context64.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args64));
|
|
2252
2326
|
case 1:
|
|
2253
2327
|
case "end":
|
|
2254
|
-
return
|
|
2328
|
+
return _context64.stop();
|
|
2255
2329
|
}
|
|
2256
|
-
},
|
|
2330
|
+
}, _callee64, this);
|
|
2257
2331
|
}));
|
|
2258
2332
|
function removeTeamWatcher() {
|
|
2259
2333
|
return _removeTeamWatcher.apply(this, arguments);
|
|
@@ -2263,18 +2337,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2263
2337
|
}, {
|
|
2264
2338
|
key: "deleteKudos",
|
|
2265
2339
|
value: function () {
|
|
2266
|
-
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2340
|
+
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee65() {
|
|
2267
2341
|
var _this$_teamCentralCli3;
|
|
2268
|
-
var
|
|
2269
|
-
return _regenerator.default.wrap(function
|
|
2270
|
-
while (1) switch (
|
|
2342
|
+
var _args65 = arguments;
|
|
2343
|
+
return _regenerator.default.wrap(function _callee65$(_context65) {
|
|
2344
|
+
while (1) switch (_context65.prev = _context65.next) {
|
|
2271
2345
|
case 0:
|
|
2272
|
-
return
|
|
2346
|
+
return _context65.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args65));
|
|
2273
2347
|
case 1:
|
|
2274
2348
|
case "end":
|
|
2275
|
-
return
|
|
2349
|
+
return _context65.stop();
|
|
2276
2350
|
}
|
|
2277
|
-
},
|
|
2351
|
+
}, _callee65, this);
|
|
2278
2352
|
}));
|
|
2279
2353
|
function deleteKudos() {
|
|
2280
2354
|
return _deleteKudos.apply(this, arguments);
|
|
@@ -2284,18 +2358,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2284
2358
|
}, {
|
|
2285
2359
|
key: "queryTagList",
|
|
2286
2360
|
value: function () {
|
|
2287
|
-
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2361
|
+
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee66() {
|
|
2288
2362
|
var _this$_teamCentralCli4;
|
|
2289
|
-
var
|
|
2290
|
-
return _regenerator.default.wrap(function
|
|
2291
|
-
while (1) switch (
|
|
2363
|
+
var _args66 = arguments;
|
|
2364
|
+
return _regenerator.default.wrap(function _callee66$(_context66) {
|
|
2365
|
+
while (1) switch (_context66.prev = _context66.next) {
|
|
2292
2366
|
case 0:
|
|
2293
|
-
return
|
|
2367
|
+
return _context66.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args66));
|
|
2294
2368
|
case 1:
|
|
2295
2369
|
case "end":
|
|
2296
|
-
return
|
|
2370
|
+
return _context66.stop();
|
|
2297
2371
|
}
|
|
2298
|
-
},
|
|
2372
|
+
}, _callee66, this);
|
|
2299
2373
|
}));
|
|
2300
2374
|
function queryTagList() {
|
|
2301
2375
|
return _queryTagList.apply(this, arguments);
|
|
@@ -2305,18 +2379,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2305
2379
|
}, {
|
|
2306
2380
|
key: "createTag",
|
|
2307
2381
|
value: function () {
|
|
2308
|
-
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2382
|
+
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee67() {
|
|
2309
2383
|
var _this$_teamCentralCli5;
|
|
2310
|
-
var
|
|
2311
|
-
return _regenerator.default.wrap(function
|
|
2312
|
-
while (1) switch (
|
|
2384
|
+
var _args67 = arguments;
|
|
2385
|
+
return _regenerator.default.wrap(function _callee67$(_context67) {
|
|
2386
|
+
while (1) switch (_context67.prev = _context67.next) {
|
|
2313
2387
|
case 0:
|
|
2314
|
-
return
|
|
2388
|
+
return _context67.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args67));
|
|
2315
2389
|
case 1:
|
|
2316
2390
|
case "end":
|
|
2317
|
-
return
|
|
2391
|
+
return _context67.stop();
|
|
2318
2392
|
}
|
|
2319
|
-
},
|
|
2393
|
+
}, _callee67, this);
|
|
2320
2394
|
}));
|
|
2321
2395
|
function createTag() {
|
|
2322
2396
|
return _createTag.apply(this, arguments);
|
|
@@ -2326,18 +2400,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2326
2400
|
}, {
|
|
2327
2401
|
key: "createHelpPointer",
|
|
2328
2402
|
value: function () {
|
|
2329
|
-
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2403
|
+
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee68() {
|
|
2330
2404
|
var _this$_teamCentralCli6;
|
|
2331
|
-
var
|
|
2332
|
-
return _regenerator.default.wrap(function
|
|
2333
|
-
while (1) switch (
|
|
2405
|
+
var _args68 = arguments;
|
|
2406
|
+
return _regenerator.default.wrap(function _callee68$(_context68) {
|
|
2407
|
+
while (1) switch (_context68.prev = _context68.next) {
|
|
2334
2408
|
case 0:
|
|
2335
|
-
return
|
|
2409
|
+
return _context68.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args68));
|
|
2336
2410
|
case 1:
|
|
2337
2411
|
case "end":
|
|
2338
|
-
return
|
|
2412
|
+
return _context68.stop();
|
|
2339
2413
|
}
|
|
2340
|
-
},
|
|
2414
|
+
}, _callee68, this);
|
|
2341
2415
|
}));
|
|
2342
2416
|
function createHelpPointer() {
|
|
2343
2417
|
return _createHelpPointer.apply(this, arguments);
|
|
@@ -2347,18 +2421,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2347
2421
|
}, {
|
|
2348
2422
|
key: "updateHelpPointer",
|
|
2349
2423
|
value: function () {
|
|
2350
|
-
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2424
|
+
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee69() {
|
|
2351
2425
|
var _this$_teamCentralCli7;
|
|
2352
|
-
var
|
|
2353
|
-
return _regenerator.default.wrap(function
|
|
2354
|
-
while (1) switch (
|
|
2426
|
+
var _args69 = arguments;
|
|
2427
|
+
return _regenerator.default.wrap(function _callee69$(_context69) {
|
|
2428
|
+
while (1) switch (_context69.prev = _context69.next) {
|
|
2355
2429
|
case 0:
|
|
2356
|
-
return
|
|
2430
|
+
return _context69.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args69));
|
|
2357
2431
|
case 1:
|
|
2358
2432
|
case "end":
|
|
2359
|
-
return
|
|
2433
|
+
return _context69.stop();
|
|
2360
2434
|
}
|
|
2361
|
-
},
|
|
2435
|
+
}, _callee69, this);
|
|
2362
2436
|
}));
|
|
2363
2437
|
function updateHelpPointer() {
|
|
2364
2438
|
return _updateHelpPointer.apply(this, arguments);
|
|
@@ -2368,18 +2442,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2368
2442
|
}, {
|
|
2369
2443
|
key: "deleteHelpPointer",
|
|
2370
2444
|
value: function () {
|
|
2371
|
-
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2445
|
+
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee70() {
|
|
2372
2446
|
var _this$_teamCentralCli8;
|
|
2373
|
-
var
|
|
2374
|
-
return _regenerator.default.wrap(function
|
|
2375
|
-
while (1) switch (
|
|
2447
|
+
var _args70 = arguments;
|
|
2448
|
+
return _regenerator.default.wrap(function _callee70$(_context70) {
|
|
2449
|
+
while (1) switch (_context70.prev = _context70.next) {
|
|
2376
2450
|
case 0:
|
|
2377
|
-
return
|
|
2451
|
+
return _context70.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args70));
|
|
2378
2452
|
case 1:
|
|
2379
2453
|
case "end":
|
|
2380
|
-
return
|
|
2454
|
+
return _context70.stop();
|
|
2381
2455
|
}
|
|
2382
|
-
},
|
|
2456
|
+
}, _callee70, this);
|
|
2383
2457
|
}));
|
|
2384
2458
|
function deleteHelpPointer() {
|
|
2385
2459
|
return _deleteHelpPointer.apply(this, arguments);
|
|
@@ -2389,27 +2463,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2389
2463
|
}, {
|
|
2390
2464
|
key: "getUserTenure",
|
|
2391
2465
|
value: function () {
|
|
2392
|
-
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2393
|
-
var
|
|
2394
|
-
var
|
|
2466
|
+
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee71() {
|
|
2467
|
+
var _this64 = this;
|
|
2468
|
+
var _len52,
|
|
2395
2469
|
args,
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
return _regenerator.default.wrap(function
|
|
2399
|
-
while (1) switch (
|
|
2470
|
+
_key52,
|
|
2471
|
+
_args71 = arguments;
|
|
2472
|
+
return _regenerator.default.wrap(function _callee71$(_context71) {
|
|
2473
|
+
while (1) switch (_context71.prev = _context71.next) {
|
|
2400
2474
|
case 0:
|
|
2401
|
-
for (
|
|
2402
|
-
args[
|
|
2475
|
+
for (_len52 = _args71.length, args = new Array(_len52), _key52 = 0; _key52 < _len52; _key52++) {
|
|
2476
|
+
args[_key52] = _args71[_key52];
|
|
2403
2477
|
}
|
|
2404
|
-
return
|
|
2405
|
-
var
|
|
2406
|
-
return (
|
|
2478
|
+
return _context71.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2479
|
+
var _this64$_replinesClie;
|
|
2480
|
+
return (_this64$_replinesClie = _this64._replinesClient).getUserTenure.apply(_this64$_replinesClie, args);
|
|
2407
2481
|
}));
|
|
2408
2482
|
case 2:
|
|
2409
2483
|
case "end":
|
|
2410
|
-
return
|
|
2484
|
+
return _context71.stop();
|
|
2411
2485
|
}
|
|
2412
|
-
},
|
|
2486
|
+
}, _callee71, this);
|
|
2413
2487
|
}));
|
|
2414
2488
|
function getUserTenure() {
|
|
2415
2489
|
return _getUserTenure.apply(this, arguments);
|