@atlaskit/teams-client 4.17.0 → 4.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/common/utils/ufo/constants.js +1 -1
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/legion-client/index.js +53 -31
- package/dist/cjs/services/main.js +322 -288
- 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 +6 -0
- package/dist/es2019/services/main.js +7 -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 +53 -31
- package/dist/esm/services/main.js +322 -288
- 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 +5 -1
- 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 +8 -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 +5 -1
- 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 +8 -0
- package/package.json +1 -1
|
@@ -1731,6 +1731,40 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1731
1731
|
}
|
|
1732
1732
|
return getTeamSiteAssignmentOrgDetails;
|
|
1733
1733
|
}()
|
|
1734
|
+
/**
|
|
1735
|
+
* Get teams to be cloned to JSM sites
|
|
1736
|
+
*/
|
|
1737
|
+
)
|
|
1738
|
+
}, {
|
|
1739
|
+
key: "getTeamsToBeClonedToJsmSites",
|
|
1740
|
+
value: (function () {
|
|
1741
|
+
var _getTeamsToBeClonedToJsmSites = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() {
|
|
1742
|
+
var _this43 = this;
|
|
1743
|
+
var _len34,
|
|
1744
|
+
args,
|
|
1745
|
+
_key34,
|
|
1746
|
+
_args48 = arguments;
|
|
1747
|
+
return _regenerator.default.wrap(function _callee48$(_context48) {
|
|
1748
|
+
while (1) switch (_context48.prev = _context48.next) {
|
|
1749
|
+
case 0:
|
|
1750
|
+
for (_len34 = _args48.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1751
|
+
args[_key34] = _args48[_key34];
|
|
1752
|
+
}
|
|
1753
|
+
return _context48.abrupt("return", this.measurePerformance('getTeamsToBeClonedToJsmSites', function () {
|
|
1754
|
+
var _this43$_legionClient;
|
|
1755
|
+
return (_this43$_legionClient = _this43._legionClient).getTeamsToBeClonedToJsmSites.apply(_this43$_legionClient, args);
|
|
1756
|
+
}));
|
|
1757
|
+
case 2:
|
|
1758
|
+
case "end":
|
|
1759
|
+
return _context48.stop();
|
|
1760
|
+
}
|
|
1761
|
+
}, _callee48, this);
|
|
1762
|
+
}));
|
|
1763
|
+
function getTeamsToBeClonedToJsmSites() {
|
|
1764
|
+
return _getTeamsToBeClonedToJsmSites.apply(this, arguments);
|
|
1765
|
+
}
|
|
1766
|
+
return getTeamsToBeClonedToJsmSites;
|
|
1767
|
+
}()
|
|
1734
1768
|
/**
|
|
1735
1769
|
* Is the current user a site admin
|
|
1736
1770
|
*/
|
|
@@ -1738,13 +1772,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1738
1772
|
}, {
|
|
1739
1773
|
key: "getIsSiteAdmin",
|
|
1740
1774
|
value: function getIsSiteAdmin() {
|
|
1741
|
-
var
|
|
1742
|
-
for (var
|
|
1743
|
-
args[
|
|
1775
|
+
var _this44 = this;
|
|
1776
|
+
for (var _len35 = arguments.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1777
|
+
args[_key35] = arguments[_key35];
|
|
1744
1778
|
}
|
|
1745
1779
|
return this.measurePerformance('getIsSiteAdmin', function () {
|
|
1746
|
-
var
|
|
1747
|
-
return (
|
|
1780
|
+
var _this44$_permsClient;
|
|
1781
|
+
return (_this44$_permsClient = _this44._permsClient).getIsSiteAdmin.apply(_this44$_permsClient, args);
|
|
1748
1782
|
});
|
|
1749
1783
|
}
|
|
1750
1784
|
|
|
@@ -1754,13 +1788,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1754
1788
|
}, {
|
|
1755
1789
|
key: "addUsersToTeam",
|
|
1756
1790
|
value: function addUsersToTeam() {
|
|
1757
|
-
var
|
|
1758
|
-
for (var
|
|
1759
|
-
args[
|
|
1791
|
+
var _this45 = this;
|
|
1792
|
+
for (var _len36 = arguments.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1793
|
+
args[_key36] = arguments[_key36];
|
|
1760
1794
|
}
|
|
1761
1795
|
return this.measurePerformance('addUsersToTeam', function () {
|
|
1762
|
-
var
|
|
1763
|
-
return (
|
|
1796
|
+
var _this45$_publicApiCli;
|
|
1797
|
+
return (_this45$_publicApiCli = _this45._publicApiClient).addUsersToTeam.apply(_this45$_publicApiCli, args);
|
|
1764
1798
|
});
|
|
1765
1799
|
}
|
|
1766
1800
|
|
|
@@ -1770,13 +1804,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1770
1804
|
}, {
|
|
1771
1805
|
key: "removeTeamMemberships",
|
|
1772
1806
|
value: function removeTeamMemberships() {
|
|
1773
|
-
var
|
|
1774
|
-
for (var
|
|
1775
|
-
args[
|
|
1807
|
+
var _this46 = this;
|
|
1808
|
+
for (var _len37 = arguments.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1809
|
+
args[_key37] = arguments[_key37];
|
|
1776
1810
|
}
|
|
1777
1811
|
return this.measurePerformance('removeTeamMemberships', function () {
|
|
1778
|
-
var
|
|
1779
|
-
return (
|
|
1812
|
+
var _this46$_publicApiCli;
|
|
1813
|
+
return (_this46$_publicApiCli = _this46._publicApiClient).removeTeamMemberships.apply(_this46$_publicApiCli, args);
|
|
1780
1814
|
});
|
|
1781
1815
|
}
|
|
1782
1816
|
|
|
@@ -1786,37 +1820,37 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1786
1820
|
}, {
|
|
1787
1821
|
key: "restoreTeam",
|
|
1788
1822
|
value: function restoreTeam() {
|
|
1789
|
-
var
|
|
1790
|
-
for (var
|
|
1791
|
-
args[
|
|
1823
|
+
var _this47 = this;
|
|
1824
|
+
for (var _len38 = arguments.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1825
|
+
args[_key38] = arguments[_key38];
|
|
1792
1826
|
}
|
|
1793
1827
|
return this.measurePerformance('restoreTeam', function () {
|
|
1794
|
-
var
|
|
1795
|
-
return (
|
|
1828
|
+
var _this47$_publicApiCli;
|
|
1829
|
+
return (_this47$_publicApiCli = _this47._publicApiClient).restoreTeam.apply(_this47$_publicApiCli, args);
|
|
1796
1830
|
});
|
|
1797
1831
|
}
|
|
1798
1832
|
}, {
|
|
1799
1833
|
key: "getRecommendedProducts",
|
|
1800
1834
|
value: function getRecommendedProducts() {
|
|
1801
|
-
var
|
|
1802
|
-
for (var
|
|
1803
|
-
args[
|
|
1835
|
+
var _this48 = this;
|
|
1836
|
+
for (var _len39 = arguments.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1837
|
+
args[_key39] = arguments[_key39];
|
|
1804
1838
|
}
|
|
1805
1839
|
return this.measurePerformance('getRecommendedProducts', function () {
|
|
1806
|
-
var
|
|
1807
|
-
return (
|
|
1840
|
+
var _this48$_invitationsC;
|
|
1841
|
+
return (_this48$_invitationsC = _this48._invitationsClient).getProductRecommendations.apply(_this48$_invitationsC, args);
|
|
1808
1842
|
});
|
|
1809
1843
|
}
|
|
1810
1844
|
}, {
|
|
1811
1845
|
key: "joinOrRequestDefaultAccessToProductsBulk",
|
|
1812
1846
|
value: function joinOrRequestDefaultAccessToProductsBulk() {
|
|
1813
|
-
var
|
|
1814
|
-
for (var
|
|
1815
|
-
args[
|
|
1847
|
+
var _this49 = this;
|
|
1848
|
+
for (var _len40 = arguments.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1849
|
+
args[_key40] = arguments[_key40];
|
|
1816
1850
|
}
|
|
1817
1851
|
return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
|
|
1818
|
-
var
|
|
1819
|
-
return (
|
|
1852
|
+
var _this49$_invitationsC;
|
|
1853
|
+
return (_this49$_invitationsC = _this49._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this49$_invitationsC, args);
|
|
1820
1854
|
});
|
|
1821
1855
|
}
|
|
1822
1856
|
|
|
@@ -1826,19 +1860,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1826
1860
|
}, {
|
|
1827
1861
|
key: "getWriteTeamMediaToken",
|
|
1828
1862
|
value: (function () {
|
|
1829
|
-
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1830
|
-
var
|
|
1831
|
-
return _regenerator.default.wrap(function
|
|
1832
|
-
while (1) switch (
|
|
1863
|
+
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() {
|
|
1864
|
+
var _this50 = this;
|
|
1865
|
+
return _regenerator.default.wrap(function _callee49$(_context49) {
|
|
1866
|
+
while (1) switch (_context49.prev = _context49.next) {
|
|
1833
1867
|
case 0:
|
|
1834
|
-
return
|
|
1835
|
-
return
|
|
1868
|
+
return _context49.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1869
|
+
return _this50._legionClient.getWriteMediaToken();
|
|
1836
1870
|
}));
|
|
1837
1871
|
case 1:
|
|
1838
1872
|
case "end":
|
|
1839
|
-
return
|
|
1873
|
+
return _context49.stop();
|
|
1840
1874
|
}
|
|
1841
|
-
},
|
|
1875
|
+
}, _callee49, this);
|
|
1842
1876
|
}));
|
|
1843
1877
|
function getWriteTeamMediaToken() {
|
|
1844
1878
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1852,27 +1886,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1852
1886
|
}, {
|
|
1853
1887
|
key: "getReadMediaToken",
|
|
1854
1888
|
value: (function () {
|
|
1855
|
-
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1856
|
-
var
|
|
1857
|
-
var
|
|
1889
|
+
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
|
|
1890
|
+
var _this51 = this;
|
|
1891
|
+
var _len41,
|
|
1858
1892
|
args,
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
return _regenerator.default.wrap(function
|
|
1862
|
-
while (1) switch (
|
|
1893
|
+
_key41,
|
|
1894
|
+
_args50 = arguments;
|
|
1895
|
+
return _regenerator.default.wrap(function _callee50$(_context50) {
|
|
1896
|
+
while (1) switch (_context50.prev = _context50.next) {
|
|
1863
1897
|
case 0:
|
|
1864
|
-
for (
|
|
1865
|
-
args[
|
|
1898
|
+
for (_len41 = _args50.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1899
|
+
args[_key41] = _args50[_key41];
|
|
1866
1900
|
}
|
|
1867
|
-
return
|
|
1868
|
-
var
|
|
1869
|
-
return (
|
|
1901
|
+
return _context50.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1902
|
+
var _this51$_userPreferen;
|
|
1903
|
+
return (_this51$_userPreferen = _this51._userPreferencesClient).getReadMediaToken.apply(_this51$_userPreferen, args);
|
|
1870
1904
|
}));
|
|
1871
1905
|
case 2:
|
|
1872
1906
|
case "end":
|
|
1873
|
-
return
|
|
1907
|
+
return _context50.stop();
|
|
1874
1908
|
}
|
|
1875
|
-
},
|
|
1909
|
+
}, _callee50, this);
|
|
1876
1910
|
}));
|
|
1877
1911
|
function getReadMediaToken() {
|
|
1878
1912
|
return _getReadMediaToken.apply(this, arguments);
|
|
@@ -1886,19 +1920,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1886
1920
|
}, {
|
|
1887
1921
|
key: "getWriteUserMediaToken",
|
|
1888
1922
|
value: (function () {
|
|
1889
|
-
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1890
|
-
var
|
|
1891
|
-
return _regenerator.default.wrap(function
|
|
1892
|
-
while (1) switch (
|
|
1923
|
+
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
|
|
1924
|
+
var _this52 = this;
|
|
1925
|
+
return _regenerator.default.wrap(function _callee51$(_context51) {
|
|
1926
|
+
while (1) switch (_context51.prev = _context51.next) {
|
|
1893
1927
|
case 0:
|
|
1894
|
-
return
|
|
1895
|
-
return
|
|
1928
|
+
return _context51.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1929
|
+
return _this52._userPreferencesClient.getWriteMediaToken();
|
|
1896
1930
|
}));
|
|
1897
1931
|
case 1:
|
|
1898
1932
|
case "end":
|
|
1899
|
-
return
|
|
1933
|
+
return _context51.stop();
|
|
1900
1934
|
}
|
|
1901
|
-
},
|
|
1935
|
+
}, _callee51, this);
|
|
1902
1936
|
}));
|
|
1903
1937
|
function getWriteUserMediaToken() {
|
|
1904
1938
|
return _getWriteUserMediaToken.apply(this, arguments);
|
|
@@ -1912,19 +1946,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1912
1946
|
}, {
|
|
1913
1947
|
key: "updateUserHeaderImage",
|
|
1914
1948
|
value: (function () {
|
|
1915
|
-
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1916
|
-
var
|
|
1917
|
-
return _regenerator.default.wrap(function
|
|
1918
|
-
while (1) switch (
|
|
1949
|
+
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52(headerImageId) {
|
|
1950
|
+
var _this53 = this;
|
|
1951
|
+
return _regenerator.default.wrap(function _callee52$(_context52) {
|
|
1952
|
+
while (1) switch (_context52.prev = _context52.next) {
|
|
1919
1953
|
case 0:
|
|
1920
|
-
return
|
|
1921
|
-
return
|
|
1954
|
+
return _context52.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1955
|
+
return _this53._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1922
1956
|
}));
|
|
1923
1957
|
case 1:
|
|
1924
1958
|
case "end":
|
|
1925
|
-
return
|
|
1959
|
+
return _context52.stop();
|
|
1926
1960
|
}
|
|
1927
|
-
},
|
|
1961
|
+
}, _callee52, this);
|
|
1928
1962
|
}));
|
|
1929
1963
|
function updateUserHeaderImage(_x13) {
|
|
1930
1964
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
@@ -1938,41 +1972,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1938
1972
|
}, {
|
|
1939
1973
|
key: "getUserContainers",
|
|
1940
1974
|
value: (function () {
|
|
1941
|
-
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1942
|
-
var _this53 = this;
|
|
1943
|
-
var _len41,
|
|
1944
|
-
args,
|
|
1945
|
-
_key41,
|
|
1946
|
-
_args52 = arguments;
|
|
1947
|
-
return _regenerator.default.wrap(function _callee52$(_context52) {
|
|
1948
|
-
while (1) switch (_context52.prev = _context52.next) {
|
|
1949
|
-
case 0:
|
|
1950
|
-
for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1951
|
-
args[_key41] = _args52[_key41];
|
|
1952
|
-
}
|
|
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
|
-
}));
|
|
1957
|
-
case 2:
|
|
1958
|
-
case "end":
|
|
1959
|
-
return _context52.stop();
|
|
1960
|
-
}
|
|
1961
|
-
}, _callee52, this);
|
|
1962
|
-
}));
|
|
1963
|
-
function getUserContainers() {
|
|
1964
|
-
return _getUserContainers.apply(this, arguments);
|
|
1965
|
-
}
|
|
1966
|
-
return getUserContainers;
|
|
1967
|
-
}()
|
|
1968
|
-
/**
|
|
1969
|
-
* Fetch mutatability of external managed user fields
|
|
1970
|
-
*/
|
|
1971
|
-
)
|
|
1972
|
-
}, {
|
|
1973
|
-
key: "getUserManageConfig",
|
|
1974
|
-
value: (function () {
|
|
1975
|
-
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
|
|
1975
|
+
var _getUserContainers = (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('
|
|
1988
|
-
var _this54$
|
|
1989
|
-
return (_this54$
|
|
1987
|
+
return _context53.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1988
|
+
var _this54$_collaboratio;
|
|
1989
|
+
return (_this54$_collaboratio = _this54._collaborationGraphClient).getUserContainers.apply(_this54$_collaboratio, 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 getUserContainers() {
|
|
1998
|
+
return _getUserContainers.apply(this, arguments);
|
|
1999
1999
|
}
|
|
2000
|
-
return
|
|
2000
|
+
return getUserContainers;
|
|
2001
2001
|
}()
|
|
2002
2002
|
/**
|
|
2003
|
-
* Fetch
|
|
2003
|
+
* Fetch mutatability of external managed user fields
|
|
2004
2004
|
*/
|
|
2005
2005
|
)
|
|
2006
2006
|
}, {
|
|
2007
|
-
key: "
|
|
2007
|
+
key: "getUserManageConfig",
|
|
2008
2008
|
value: (function () {
|
|
2009
|
-
var
|
|
2009
|
+
var _getUserManageConfig = (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('getUserManageConfig', function () {
|
|
2022
2022
|
var _this55$_identityClie;
|
|
2023
|
-
return (_this55$_identityClie = _this55._identityClient).
|
|
2023
|
+
return (_this55$_identityClie = _this55._identityClient).getUserManageConfig.apply(_this55$_identityClie, args);
|
|
2024
2024
|
}));
|
|
2025
2025
|
case 2:
|
|
2026
2026
|
case "end":
|
|
@@ -2028,19 +2028,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2028
2028
|
}
|
|
2029
2029
|
}, _callee54, this);
|
|
2030
2030
|
}));
|
|
2031
|
-
function
|
|
2032
|
-
return
|
|
2031
|
+
function getUserManageConfig() {
|
|
2032
|
+
return _getUserManageConfig.apply(this, arguments);
|
|
2033
2033
|
}
|
|
2034
|
-
return
|
|
2034
|
+
return getUserManageConfig;
|
|
2035
2035
|
}()
|
|
2036
2036
|
/**
|
|
2037
|
-
*
|
|
2037
|
+
* Fetch user avatar uploaded status
|
|
2038
2038
|
*/
|
|
2039
2039
|
)
|
|
2040
2040
|
}, {
|
|
2041
|
-
key: "
|
|
2041
|
+
key: "getMyAvatarUploadedStatus",
|
|
2042
2042
|
value: (function () {
|
|
2043
|
-
var
|
|
2043
|
+
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
|
|
2044
2044
|
var _this56 = this;
|
|
2045
2045
|
var _len44,
|
|
2046
2046
|
args,
|
|
@@ -2052,9 +2052,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2052
2052
|
for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2053
2053
|
args[_key44] = _args55[_key44];
|
|
2054
2054
|
}
|
|
2055
|
-
return _context55.abrupt("return", this.measurePerformance('
|
|
2055
|
+
return _context55.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
2056
2056
|
var _this56$_identityClie;
|
|
2057
|
-
return (_this56$_identityClie = _this56._identityClient).
|
|
2057
|
+
return (_this56$_identityClie = _this56._identityClient).getMyAvatarUploadedStatus.apply(_this56$_identityClie, args);
|
|
2058
2058
|
}));
|
|
2059
2059
|
case 2:
|
|
2060
2060
|
case "end":
|
|
@@ -2062,15 +2062,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2062
2062
|
}
|
|
2063
2063
|
}, _callee55, this);
|
|
2064
2064
|
}));
|
|
2065
|
-
function
|
|
2066
|
-
return
|
|
2065
|
+
function getMyAvatarUploadedStatus() {
|
|
2066
|
+
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
2067
2067
|
}
|
|
2068
|
-
return
|
|
2069
|
-
}()
|
|
2068
|
+
return getMyAvatarUploadedStatus;
|
|
2069
|
+
}()
|
|
2070
|
+
/**
|
|
2071
|
+
* Delete user avatar
|
|
2072
|
+
*/
|
|
2073
|
+
)
|
|
2070
2074
|
}, {
|
|
2071
|
-
key: "
|
|
2072
|
-
value: function () {
|
|
2073
|
-
var
|
|
2075
|
+
key: "deleteAvatar",
|
|
2076
|
+
value: (function () {
|
|
2077
|
+
var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() {
|
|
2074
2078
|
var _this57 = this;
|
|
2075
2079
|
var _len45,
|
|
2076
2080
|
args,
|
|
@@ -2082,9 +2086,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2082
2086
|
for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
|
|
2083
2087
|
args[_key45] = _args56[_key45];
|
|
2084
2088
|
}
|
|
2085
|
-
return _context56.abrupt("return", this.measurePerformance('
|
|
2089
|
+
return _context56.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
2086
2090
|
var _this57$_identityClie;
|
|
2087
|
-
return (_this57$_identityClie = _this57._identityClient).
|
|
2091
|
+
return (_this57$_identityClie = _this57._identityClient).deleteAvatar.apply(_this57$_identityClie, args);
|
|
2088
2092
|
}));
|
|
2089
2093
|
case 2:
|
|
2090
2094
|
case "end":
|
|
@@ -2092,18 +2096,15 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2092
2096
|
}
|
|
2093
2097
|
}, _callee56, this);
|
|
2094
2098
|
}));
|
|
2095
|
-
function
|
|
2096
|
-
return
|
|
2099
|
+
function deleteAvatar() {
|
|
2100
|
+
return _deleteAvatar.apply(this, arguments);
|
|
2097
2101
|
}
|
|
2098
|
-
return
|
|
2099
|
-
}()
|
|
2100
|
-
/**
|
|
2101
|
-
* Fetch Team link icons
|
|
2102
|
-
*/
|
|
2102
|
+
return deleteAvatar;
|
|
2103
|
+
}())
|
|
2103
2104
|
}, {
|
|
2104
|
-
key: "
|
|
2105
|
-
value:
|
|
2106
|
-
var
|
|
2105
|
+
key: "fetchUserAvatarInfo",
|
|
2106
|
+
value: function () {
|
|
2107
|
+
var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() {
|
|
2107
2108
|
var _this58 = this;
|
|
2108
2109
|
var _len46,
|
|
2109
2110
|
args,
|
|
@@ -2115,9 +2116,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2115
2116
|
for (_len46 = _args57.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
|
|
2116
2117
|
args[_key46] = _args57[_key46];
|
|
2117
2118
|
}
|
|
2118
|
-
return _context57.abrupt("return", this.measurePerformance('
|
|
2119
|
-
var _this58$
|
|
2120
|
-
return (_this58$
|
|
2119
|
+
return _context57.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
2120
|
+
var _this58$_identityClie;
|
|
2121
|
+
return (_this58$_identityClie = _this58._identityClient).fetchUserAvatarInfo.apply(_this58$_identityClie, args);
|
|
2121
2122
|
}));
|
|
2122
2123
|
case 2:
|
|
2123
2124
|
case "end":
|
|
@@ -2125,19 +2126,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2125
2126
|
}
|
|
2126
2127
|
}, _callee57, this);
|
|
2127
2128
|
}));
|
|
2128
|
-
function
|
|
2129
|
-
return
|
|
2129
|
+
function fetchUserAvatarInfo() {
|
|
2130
|
+
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
2130
2131
|
}
|
|
2131
|
-
return
|
|
2132
|
+
return fetchUserAvatarInfo;
|
|
2132
2133
|
}()
|
|
2133
2134
|
/**
|
|
2134
|
-
* Fetch
|
|
2135
|
+
* Fetch Team link icons
|
|
2135
2136
|
*/
|
|
2136
|
-
)
|
|
2137
2137
|
}, {
|
|
2138
|
-
key: "
|
|
2138
|
+
key: "getTeamLinkIcons",
|
|
2139
2139
|
value: (function () {
|
|
2140
|
-
var
|
|
2140
|
+
var _getTeamLinkIcons = (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('getTeamLinkIcons', function () {
|
|
2153
2153
|
var _this59$_objectResolv;
|
|
2154
|
-
return (_this59$_objectResolv = _this59._objectResolverClient).
|
|
2154
|
+
return (_this59$_objectResolv = _this59._objectResolverClient).getTeamLinkIcons.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 getTeamLinkIcons() {
|
|
2163
|
+
return _getTeamLinkIcons.apply(this, arguments);
|
|
2164
2164
|
}
|
|
2165
|
-
return
|
|
2165
|
+
return getTeamLinkIcons;
|
|
2166
2166
|
}()
|
|
2167
2167
|
/**
|
|
2168
|
-
* Fetch
|
|
2168
|
+
* Fetch ARI from URL
|
|
2169
2169
|
*/
|
|
2170
2170
|
)
|
|
2171
2171
|
}, {
|
|
2172
|
-
key: "
|
|
2172
|
+
key: "getAriFromUrl",
|
|
2173
2173
|
value: (function () {
|
|
2174
|
-
var
|
|
2174
|
+
var _getAriFromUrl = (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('
|
|
2186
|
+
return _context59.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
|
|
2187
2187
|
var _this60$_objectResolv;
|
|
2188
|
-
return (_this60$_objectResolv = _this60._objectResolverClient).
|
|
2188
|
+
return (_this60$_objectResolv = _this60._objectResolverClient).getAriFromUrl.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 getAriFromUrl() {
|
|
2197
|
+
return _getAriFromUrl.apply(this, arguments);
|
|
2198
2198
|
}
|
|
2199
|
-
return
|
|
2199
|
+
return getAriFromUrl;
|
|
2200
2200
|
}()
|
|
2201
2201
|
/**
|
|
2202
|
-
* Fetch
|
|
2202
|
+
* Fetch web link title
|
|
2203
2203
|
*/
|
|
2204
2204
|
)
|
|
2205
2205
|
}, {
|
|
2206
|
-
key: "
|
|
2206
|
+
key: "getWebLinkTitle",
|
|
2207
2207
|
value: (function () {
|
|
2208
|
-
var
|
|
2208
|
+
var _getWebLinkTitle = (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('
|
|
2221
|
-
var _this61$
|
|
2222
|
-
return (_this61$
|
|
2220
|
+
return _context60.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
|
|
2221
|
+
var _this61$_objectResolv;
|
|
2222
|
+
return (_this61$_objectResolv = _this61._objectResolverClient).getWebLinkTitle.apply(_this61$_objectResolv, 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 getWebLinkTitle() {
|
|
2231
|
+
return _getWebLinkTitle.apply(this, arguments);
|
|
2232
2232
|
}
|
|
2233
|
-
return
|
|
2233
|
+
return getWebLinkTitle;
|
|
2234
2234
|
}()
|
|
2235
2235
|
/**
|
|
2236
|
-
*
|
|
2236
|
+
* Fetch team in slack details
|
|
2237
2237
|
*/
|
|
2238
2238
|
)
|
|
2239
2239
|
}, {
|
|
2240
|
-
key: "
|
|
2240
|
+
key: "getTeamInSlack",
|
|
2241
2241
|
value: (function () {
|
|
2242
|
-
var
|
|
2242
|
+
var _getTeamInSlack = (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('getTeamInSlack', function () {
|
|
2255
2255
|
var _this62$_teamsInSlack;
|
|
2256
|
-
return (_this62$_teamsInSlack = _this62._teamsInSlackClient).
|
|
2256
|
+
return (_this62$_teamsInSlack = _this62._teamsInSlackClient).getTeamInSlack.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 getTeamInSlack() {
|
|
2265
|
+
return _getTeamInSlack.apply(this, arguments);
|
|
2266
2266
|
}
|
|
2267
|
-
return
|
|
2267
|
+
return getTeamInSlack;
|
|
2268
2268
|
}()
|
|
2269
2269
|
/**
|
|
2270
|
-
*
|
|
2270
|
+
* Delete team in slack
|
|
2271
2271
|
*/
|
|
2272
2272
|
)
|
|
2273
2273
|
}, {
|
|
2274
|
-
key: "
|
|
2274
|
+
key: "disconnectTeamInSlack",
|
|
2275
2275
|
value: (function () {
|
|
2276
|
-
var
|
|
2276
|
+
var _disconnectTeamInSlack = (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('
|
|
2288
|
+
return _context62.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
2289
2289
|
var _this63$_teamsInSlack;
|
|
2290
|
-
return (_this63$_teamsInSlack = _this63._teamsInSlackClient).
|
|
2290
|
+
return (_this63$_teamsInSlack = _this63._teamsInSlackClient).disconnectTeamInSlack.apply(_this63$_teamsInSlack, args);
|
|
2291
2291
|
}));
|
|
2292
2292
|
case 2:
|
|
2293
2293
|
case "end":
|
|
@@ -2295,19 +2295,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2295
2295
|
}
|
|
2296
2296
|
}, _callee62, this);
|
|
2297
2297
|
}));
|
|
2298
|
-
function
|
|
2299
|
-
return
|
|
2298
|
+
function disconnectTeamInSlack() {
|
|
2299
|
+
return _disconnectTeamInSlack.apply(this, arguments);
|
|
2300
2300
|
}
|
|
2301
|
-
return
|
|
2301
|
+
return disconnectTeamInSlack;
|
|
2302
2302
|
}()
|
|
2303
2303
|
/**
|
|
2304
|
-
* Update
|
|
2304
|
+
* Update team in slack
|
|
2305
2305
|
*/
|
|
2306
2306
|
)
|
|
2307
2307
|
}, {
|
|
2308
|
-
key: "
|
|
2308
|
+
key: "updateTeamInSlack",
|
|
2309
2309
|
value: (function () {
|
|
2310
|
-
var
|
|
2310
|
+
var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee63() {
|
|
2311
2311
|
var _this64 = this;
|
|
2312
2312
|
var _len52,
|
|
2313
2313
|
args,
|
|
@@ -2319,9 +2319,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2319
2319
|
for (_len52 = _args63.length, args = new Array(_len52), _key52 = 0; _key52 < _len52; _key52++) {
|
|
2320
2320
|
args[_key52] = _args63[_key52];
|
|
2321
2321
|
}
|
|
2322
|
-
return _context63.abrupt("return", this.measurePerformance('
|
|
2323
|
-
var _this64$
|
|
2324
|
-
return (_this64$
|
|
2322
|
+
return _context63.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
2323
|
+
var _this64$_teamsInSlack;
|
|
2324
|
+
return (_this64$_teamsInSlack = _this64._teamsInSlackClient).updateTeamInSlack.apply(_this64$_teamsInSlack, args);
|
|
2325
2325
|
}));
|
|
2326
2326
|
case 2:
|
|
2327
2327
|
case "end":
|
|
@@ -2329,15 +2329,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2329
2329
|
}
|
|
2330
2330
|
}, _callee63, this);
|
|
2331
2331
|
}));
|
|
2332
|
-
function
|
|
2333
|
-
return
|
|
2332
|
+
function updateTeamInSlack() {
|
|
2333
|
+
return _updateTeamInSlack.apply(this, arguments);
|
|
2334
2334
|
}
|
|
2335
|
-
return
|
|
2336
|
-
}()
|
|
2335
|
+
return updateTeamInSlack;
|
|
2336
|
+
}()
|
|
2337
|
+
/**
|
|
2338
|
+
* Update user details
|
|
2339
|
+
*/
|
|
2340
|
+
)
|
|
2337
2341
|
}, {
|
|
2338
|
-
key: "
|
|
2339
|
-
value: function () {
|
|
2340
|
-
var
|
|
2342
|
+
key: "updateUser",
|
|
2343
|
+
value: (function () {
|
|
2344
|
+
var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee64() {
|
|
2341
2345
|
var _this65 = this;
|
|
2342
2346
|
var _len53,
|
|
2343
2347
|
args,
|
|
@@ -2349,9 +2353,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2349
2353
|
for (_len53 = _args64.length, args = new Array(_len53), _key53 = 0; _key53 < _len53; _key53++) {
|
|
2350
2354
|
args[_key53] = _args64[_key53];
|
|
2351
2355
|
}
|
|
2352
|
-
return _context64.abrupt("return", this.measurePerformance('
|
|
2356
|
+
return _context64.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
2353
2357
|
var _this65$_identityClie;
|
|
2354
|
-
return (_this65$_identityClie = _this65._identityClient).
|
|
2358
|
+
return (_this65$_identityClie = _this65._identityClient).updateUser.apply(_this65$_identityClie, args);
|
|
2355
2359
|
}));
|
|
2356
2360
|
case 2:
|
|
2357
2361
|
case "end":
|
|
@@ -2359,6 +2363,36 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2359
2363
|
}
|
|
2360
2364
|
}, _callee64, this);
|
|
2361
2365
|
}));
|
|
2366
|
+
function updateUser() {
|
|
2367
|
+
return _updateUser.apply(this, arguments);
|
|
2368
|
+
}
|
|
2369
|
+
return updateUser;
|
|
2370
|
+
}())
|
|
2371
|
+
}, {
|
|
2372
|
+
key: "updateUserAvatar",
|
|
2373
|
+
value: function () {
|
|
2374
|
+
var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee65() {
|
|
2375
|
+
var _this66 = this;
|
|
2376
|
+
var _len54,
|
|
2377
|
+
args,
|
|
2378
|
+
_key54,
|
|
2379
|
+
_args65 = arguments;
|
|
2380
|
+
return _regenerator.default.wrap(function _callee65$(_context65) {
|
|
2381
|
+
while (1) switch (_context65.prev = _context65.next) {
|
|
2382
|
+
case 0:
|
|
2383
|
+
for (_len54 = _args65.length, args = new Array(_len54), _key54 = 0; _key54 < _len54; _key54++) {
|
|
2384
|
+
args[_key54] = _args65[_key54];
|
|
2385
|
+
}
|
|
2386
|
+
return _context65.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
2387
|
+
var _this66$_identityClie;
|
|
2388
|
+
return (_this66$_identityClie = _this66._identityClient).updateUserAvatar.apply(_this66$_identityClie, args);
|
|
2389
|
+
}));
|
|
2390
|
+
case 2:
|
|
2391
|
+
case "end":
|
|
2392
|
+
return _context65.stop();
|
|
2393
|
+
}
|
|
2394
|
+
}, _callee65, this);
|
|
2395
|
+
}));
|
|
2362
2396
|
function updateUserAvatar() {
|
|
2363
2397
|
return _updateUserAvatar.apply(this, arguments);
|
|
2364
2398
|
}
|
|
@@ -2367,18 +2401,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2367
2401
|
}, {
|
|
2368
2402
|
key: "addTeamWatcher",
|
|
2369
2403
|
value: function () {
|
|
2370
|
-
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2404
|
+
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee66() {
|
|
2371
2405
|
var _this$_teamCentralCli;
|
|
2372
|
-
var
|
|
2373
|
-
return _regenerator.default.wrap(function
|
|
2374
|
-
while (1) switch (
|
|
2406
|
+
var _args66 = arguments;
|
|
2407
|
+
return _regenerator.default.wrap(function _callee66$(_context66) {
|
|
2408
|
+
while (1) switch (_context66.prev = _context66.next) {
|
|
2375
2409
|
case 0:
|
|
2376
|
-
return
|
|
2410
|
+
return _context66.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args66));
|
|
2377
2411
|
case 1:
|
|
2378
2412
|
case "end":
|
|
2379
|
-
return
|
|
2413
|
+
return _context66.stop();
|
|
2380
2414
|
}
|
|
2381
|
-
},
|
|
2415
|
+
}, _callee66, this);
|
|
2382
2416
|
}));
|
|
2383
2417
|
function addTeamWatcher() {
|
|
2384
2418
|
return _addTeamWatcher.apply(this, arguments);
|
|
@@ -2388,18 +2422,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2388
2422
|
}, {
|
|
2389
2423
|
key: "isTeamWatcher",
|
|
2390
2424
|
value: function () {
|
|
2391
|
-
var _isTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2425
|
+
var _isTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee67() {
|
|
2392
2426
|
var _this$_teamCentralCli2;
|
|
2393
|
-
var
|
|
2394
|
-
return _regenerator.default.wrap(function
|
|
2395
|
-
while (1) switch (
|
|
2427
|
+
var _args67 = arguments;
|
|
2428
|
+
return _regenerator.default.wrap(function _callee67$(_context67) {
|
|
2429
|
+
while (1) switch (_context67.prev = _context67.next) {
|
|
2396
2430
|
case 0:
|
|
2397
|
-
return
|
|
2431
|
+
return _context67.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).isTeamWatcher.apply(_this$_teamCentralCli2, _args67));
|
|
2398
2432
|
case 1:
|
|
2399
2433
|
case "end":
|
|
2400
|
-
return
|
|
2434
|
+
return _context67.stop();
|
|
2401
2435
|
}
|
|
2402
|
-
},
|
|
2436
|
+
}, _callee67, this);
|
|
2403
2437
|
}));
|
|
2404
2438
|
function isTeamWatcher() {
|
|
2405
2439
|
return _isTeamWatcher.apply(this, arguments);
|
|
@@ -2409,18 +2443,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2409
2443
|
}, {
|
|
2410
2444
|
key: "removeTeamWatcher",
|
|
2411
2445
|
value: function () {
|
|
2412
|
-
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2446
|
+
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee68() {
|
|
2413
2447
|
var _this$_teamCentralCli3;
|
|
2414
|
-
var
|
|
2415
|
-
return _regenerator.default.wrap(function
|
|
2416
|
-
while (1) switch (
|
|
2448
|
+
var _args68 = arguments;
|
|
2449
|
+
return _regenerator.default.wrap(function _callee68$(_context68) {
|
|
2450
|
+
while (1) switch (_context68.prev = _context68.next) {
|
|
2417
2451
|
case 0:
|
|
2418
|
-
return
|
|
2452
|
+
return _context68.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli3, _args68));
|
|
2419
2453
|
case 1:
|
|
2420
2454
|
case "end":
|
|
2421
|
-
return
|
|
2455
|
+
return _context68.stop();
|
|
2422
2456
|
}
|
|
2423
|
-
},
|
|
2457
|
+
}, _callee68, this);
|
|
2424
2458
|
}));
|
|
2425
2459
|
function removeTeamWatcher() {
|
|
2426
2460
|
return _removeTeamWatcher.apply(this, arguments);
|
|
@@ -2430,18 +2464,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2430
2464
|
}, {
|
|
2431
2465
|
key: "deleteKudos",
|
|
2432
2466
|
value: function () {
|
|
2433
|
-
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2467
|
+
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee69() {
|
|
2434
2468
|
var _this$_teamCentralCli4;
|
|
2435
|
-
var
|
|
2436
|
-
return _regenerator.default.wrap(function
|
|
2437
|
-
while (1) switch (
|
|
2469
|
+
var _args69 = arguments;
|
|
2470
|
+
return _regenerator.default.wrap(function _callee69$(_context69) {
|
|
2471
|
+
while (1) switch (_context69.prev = _context69.next) {
|
|
2438
2472
|
case 0:
|
|
2439
|
-
return
|
|
2473
|
+
return _context69.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli4, _args69));
|
|
2440
2474
|
case 1:
|
|
2441
2475
|
case "end":
|
|
2442
|
-
return
|
|
2476
|
+
return _context69.stop();
|
|
2443
2477
|
}
|
|
2444
|
-
},
|
|
2478
|
+
}, _callee69, this);
|
|
2445
2479
|
}));
|
|
2446
2480
|
function deleteKudos() {
|
|
2447
2481
|
return _deleteKudos.apply(this, arguments);
|
|
@@ -2451,18 +2485,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2451
2485
|
}, {
|
|
2452
2486
|
key: "queryTagList",
|
|
2453
2487
|
value: function () {
|
|
2454
|
-
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2488
|
+
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee70() {
|
|
2455
2489
|
var _this$_teamCentralCli5;
|
|
2456
|
-
var
|
|
2457
|
-
return _regenerator.default.wrap(function
|
|
2458
|
-
while (1) switch (
|
|
2490
|
+
var _args70 = arguments;
|
|
2491
|
+
return _regenerator.default.wrap(function _callee70$(_context70) {
|
|
2492
|
+
while (1) switch (_context70.prev = _context70.next) {
|
|
2459
2493
|
case 0:
|
|
2460
|
-
return
|
|
2494
|
+
return _context70.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli5, _args70));
|
|
2461
2495
|
case 1:
|
|
2462
2496
|
case "end":
|
|
2463
|
-
return
|
|
2497
|
+
return _context70.stop();
|
|
2464
2498
|
}
|
|
2465
|
-
},
|
|
2499
|
+
}, _callee70, this);
|
|
2466
2500
|
}));
|
|
2467
2501
|
function queryTagList() {
|
|
2468
2502
|
return _queryTagList.apply(this, arguments);
|
|
@@ -2472,18 +2506,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2472
2506
|
}, {
|
|
2473
2507
|
key: "createTag",
|
|
2474
2508
|
value: function () {
|
|
2475
|
-
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2509
|
+
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee71() {
|
|
2476
2510
|
var _this$_teamCentralCli6;
|
|
2477
|
-
var
|
|
2478
|
-
return _regenerator.default.wrap(function
|
|
2479
|
-
while (1) switch (
|
|
2511
|
+
var _args71 = arguments;
|
|
2512
|
+
return _regenerator.default.wrap(function _callee71$(_context71) {
|
|
2513
|
+
while (1) switch (_context71.prev = _context71.next) {
|
|
2480
2514
|
case 0:
|
|
2481
|
-
return
|
|
2515
|
+
return _context71.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli6, _args71));
|
|
2482
2516
|
case 1:
|
|
2483
2517
|
case "end":
|
|
2484
|
-
return
|
|
2518
|
+
return _context71.stop();
|
|
2485
2519
|
}
|
|
2486
|
-
},
|
|
2520
|
+
}, _callee71, this);
|
|
2487
2521
|
}));
|
|
2488
2522
|
function createTag() {
|
|
2489
2523
|
return _createTag.apply(this, arguments);
|
|
@@ -2493,18 +2527,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2493
2527
|
}, {
|
|
2494
2528
|
key: "createHelpPointer",
|
|
2495
2529
|
value: function () {
|
|
2496
|
-
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2530
|
+
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee72() {
|
|
2497
2531
|
var _this$_teamCentralCli7;
|
|
2498
|
-
var
|
|
2499
|
-
return _regenerator.default.wrap(function
|
|
2500
|
-
while (1) switch (
|
|
2532
|
+
var _args72 = arguments;
|
|
2533
|
+
return _regenerator.default.wrap(function _callee72$(_context72) {
|
|
2534
|
+
while (1) switch (_context72.prev = _context72.next) {
|
|
2501
2535
|
case 0:
|
|
2502
|
-
return
|
|
2536
|
+
return _context72.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli7, _args72));
|
|
2503
2537
|
case 1:
|
|
2504
2538
|
case "end":
|
|
2505
|
-
return
|
|
2539
|
+
return _context72.stop();
|
|
2506
2540
|
}
|
|
2507
|
-
},
|
|
2541
|
+
}, _callee72, this);
|
|
2508
2542
|
}));
|
|
2509
2543
|
function createHelpPointer() {
|
|
2510
2544
|
return _createHelpPointer.apply(this, arguments);
|
|
@@ -2514,18 +2548,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2514
2548
|
}, {
|
|
2515
2549
|
key: "updateHelpPointer",
|
|
2516
2550
|
value: function () {
|
|
2517
|
-
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2551
|
+
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee73() {
|
|
2518
2552
|
var _this$_teamCentralCli8;
|
|
2519
|
-
var
|
|
2520
|
-
return _regenerator.default.wrap(function
|
|
2521
|
-
while (1) switch (
|
|
2553
|
+
var _args73 = arguments;
|
|
2554
|
+
return _regenerator.default.wrap(function _callee73$(_context73) {
|
|
2555
|
+
while (1) switch (_context73.prev = _context73.next) {
|
|
2522
2556
|
case 0:
|
|
2523
|
-
return
|
|
2557
|
+
return _context73.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli8, _args73));
|
|
2524
2558
|
case 1:
|
|
2525
2559
|
case "end":
|
|
2526
|
-
return
|
|
2560
|
+
return _context73.stop();
|
|
2527
2561
|
}
|
|
2528
|
-
},
|
|
2562
|
+
}, _callee73, this);
|
|
2529
2563
|
}));
|
|
2530
2564
|
function updateHelpPointer() {
|
|
2531
2565
|
return _updateHelpPointer.apply(this, arguments);
|
|
@@ -2535,18 +2569,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2535
2569
|
}, {
|
|
2536
2570
|
key: "deleteHelpPointer",
|
|
2537
2571
|
value: function () {
|
|
2538
|
-
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2572
|
+
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee74() {
|
|
2539
2573
|
var _this$_teamCentralCli9;
|
|
2540
|
-
var
|
|
2541
|
-
return _regenerator.default.wrap(function
|
|
2542
|
-
while (1) switch (
|
|
2574
|
+
var _args74 = arguments;
|
|
2575
|
+
return _regenerator.default.wrap(function _callee74$(_context74) {
|
|
2576
|
+
while (1) switch (_context74.prev = _context74.next) {
|
|
2543
2577
|
case 0:
|
|
2544
|
-
return
|
|
2578
|
+
return _context74.abrupt("return", (_this$_teamCentralCli9 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli9, _args74));
|
|
2545
2579
|
case 1:
|
|
2546
2580
|
case "end":
|
|
2547
|
-
return
|
|
2581
|
+
return _context74.stop();
|
|
2548
2582
|
}
|
|
2549
|
-
},
|
|
2583
|
+
}, _callee74, this);
|
|
2550
2584
|
}));
|
|
2551
2585
|
function deleteHelpPointer() {
|
|
2552
2586
|
return _deleteHelpPointer.apply(this, arguments);
|
|
@@ -2556,27 +2590,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2556
2590
|
}, {
|
|
2557
2591
|
key: "getUserTenure",
|
|
2558
2592
|
value: function () {
|
|
2559
|
-
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2560
|
-
var
|
|
2561
|
-
var
|
|
2593
|
+
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee75() {
|
|
2594
|
+
var _this67 = this;
|
|
2595
|
+
var _len55,
|
|
2562
2596
|
args,
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
return _regenerator.default.wrap(function
|
|
2566
|
-
while (1) switch (
|
|
2597
|
+
_key55,
|
|
2598
|
+
_args75 = arguments;
|
|
2599
|
+
return _regenerator.default.wrap(function _callee75$(_context75) {
|
|
2600
|
+
while (1) switch (_context75.prev = _context75.next) {
|
|
2567
2601
|
case 0:
|
|
2568
|
-
for (
|
|
2569
|
-
args[
|
|
2602
|
+
for (_len55 = _args75.length, args = new Array(_len55), _key55 = 0; _key55 < _len55; _key55++) {
|
|
2603
|
+
args[_key55] = _args75[_key55];
|
|
2570
2604
|
}
|
|
2571
|
-
return
|
|
2572
|
-
var
|
|
2573
|
-
return (
|
|
2605
|
+
return _context75.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2606
|
+
var _this67$_replinesClie;
|
|
2607
|
+
return (_this67$_replinesClie = _this67._replinesClient).getUserTenure.apply(_this67$_replinesClie, args);
|
|
2574
2608
|
}));
|
|
2575
2609
|
case 2:
|
|
2576
2610
|
case "end":
|
|
2577
|
-
return
|
|
2611
|
+
return _context75.stop();
|
|
2578
2612
|
}
|
|
2579
|
-
},
|
|
2613
|
+
}, _callee75, this);
|
|
2580
2614
|
}));
|
|
2581
2615
|
function getUserTenure() {
|
|
2582
2616
|
return _getUserTenure.apply(this, arguments);
|
|
@@ -2586,18 +2620,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2586
2620
|
}, {
|
|
2587
2621
|
key: "checkOrgFullAlignmentStatus",
|
|
2588
2622
|
value: function () {
|
|
2589
|
-
var _checkOrgFullAlignmentStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2623
|
+
var _checkOrgFullAlignmentStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee76() {
|
|
2590
2624
|
var _this$_legionClient;
|
|
2591
|
-
var
|
|
2592
|
-
return _regenerator.default.wrap(function
|
|
2593
|
-
while (1) switch (
|
|
2625
|
+
var _args76 = arguments;
|
|
2626
|
+
return _regenerator.default.wrap(function _callee76$(_context76) {
|
|
2627
|
+
while (1) switch (_context76.prev = _context76.next) {
|
|
2594
2628
|
case 0:
|
|
2595
|
-
return
|
|
2629
|
+
return _context76.abrupt("return", (_this$_legionClient = this._legionClient).checkOrgFullAlignmentStatus.apply(_this$_legionClient, _args76));
|
|
2596
2630
|
case 1:
|
|
2597
2631
|
case "end":
|
|
2598
|
-
return
|
|
2632
|
+
return _context76.stop();
|
|
2599
2633
|
}
|
|
2600
|
-
},
|
|
2634
|
+
}, _callee76, this);
|
|
2601
2635
|
}));
|
|
2602
2636
|
function checkOrgFullAlignmentStatus() {
|
|
2603
2637
|
return _checkOrgFullAlignmentStatus.apply(this, arguments);
|