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