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