@atlaskit/teams-client 4.13.1 → 4.15.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 +14 -0
- package/dist/cjs/common/utils/permissions/constants.js +5 -1
- package/dist/cjs/common/utils/ufo/constants.js +1 -1
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/legion-client/index.js +29 -0
- package/dist/cjs/services/main.js +332 -277
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/cjs/services/team-central-client/index.js +99 -66
- package/dist/cjs/services/team-central-client/queries/is-team-watcher.graphql.js +12 -0
- package/dist/es2019/common/utils/permissions/constants.js +4 -1
- package/dist/es2019/common/utils/ufo/constants.js +1 -1
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/legion-client/index.js +9 -0
- package/dist/es2019/services/main.js +10 -0
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/services/team-central-client/index.js +13 -0
- package/dist/es2019/services/team-central-client/queries/is-team-watcher.graphql.js +9 -0
- package/dist/esm/common/utils/permissions/constants.js +5 -1
- package/dist/esm/common/utils/ufo/constants.js +1 -1
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/legion-client/index.js +29 -0
- package/dist/esm/services/main.js +332 -277
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/services/team-central-client/index.js +99 -66
- package/dist/esm/services/team-central-client/queries/is-team-watcher.graphql.js +5 -0
- 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 +5 -0
- package/dist/types/services/team-central-client/index.d.ts +2 -0
- package/dist/types/services/team-central-client/queries/is-team-watcher.graphql.d.ts +8 -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 +5 -0
- package/dist/types-ts4.5/services/team-central-client/index.d.ts +2 -0
- package/dist/types-ts4.5/services/team-central-client/queries/is-team-watcher.graphql.d.ts +8 -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 +5 -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,174 +2329,225 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2325
2329
|
}
|
|
2326
2330
|
}, _callee63, this);
|
|
2327
2331
|
}));
|
|
2328
|
-
function
|
|
2329
|
-
return
|
|
2332
|
+
function updateUser() {
|
|
2333
|
+
return _updateUser.apply(this, arguments);
|
|
2330
2334
|
}
|
|
2331
|
-
return
|
|
2332
|
-
}()
|
|
2335
|
+
return updateUser;
|
|
2336
|
+
}())
|
|
2333
2337
|
}, {
|
|
2334
|
-
key: "
|
|
2338
|
+
key: "updateUserAvatar",
|
|
2335
2339
|
value: function () {
|
|
2336
|
-
var
|
|
2337
|
-
var
|
|
2338
|
-
var
|
|
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;
|
|
2339
2346
|
return _regenerator.default.wrap(function _callee64$(_context64) {
|
|
2340
2347
|
while (1) switch (_context64.prev = _context64.next) {
|
|
2341
2348
|
case 0:
|
|
2342
|
-
|
|
2343
|
-
|
|
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:
|
|
2344
2357
|
case "end":
|
|
2345
2358
|
return _context64.stop();
|
|
2346
2359
|
}
|
|
2347
2360
|
}, _callee64, this);
|
|
2348
2361
|
}));
|
|
2349
|
-
function
|
|
2350
|
-
return
|
|
2362
|
+
function updateUserAvatar() {
|
|
2363
|
+
return _updateUserAvatar.apply(this, arguments);
|
|
2351
2364
|
}
|
|
2352
|
-
return
|
|
2365
|
+
return updateUserAvatar;
|
|
2353
2366
|
}()
|
|
2354
2367
|
}, {
|
|
2355
|
-
key: "
|
|
2368
|
+
key: "addTeamWatcher",
|
|
2356
2369
|
value: function () {
|
|
2357
|
-
var
|
|
2358
|
-
var _this$
|
|
2370
|
+
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee65() {
|
|
2371
|
+
var _this$_teamCentralCli;
|
|
2359
2372
|
var _args65 = arguments;
|
|
2360
2373
|
return _regenerator.default.wrap(function _callee65$(_context65) {
|
|
2361
2374
|
while (1) switch (_context65.prev = _context65.next) {
|
|
2362
2375
|
case 0:
|
|
2363
|
-
return _context65.abrupt("return", (_this$
|
|
2376
|
+
return _context65.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args65));
|
|
2364
2377
|
case 1:
|
|
2365
2378
|
case "end":
|
|
2366
2379
|
return _context65.stop();
|
|
2367
2380
|
}
|
|
2368
2381
|
}, _callee65, this);
|
|
2369
2382
|
}));
|
|
2370
|
-
function
|
|
2371
|
-
return
|
|
2383
|
+
function addTeamWatcher() {
|
|
2384
|
+
return _addTeamWatcher.apply(this, arguments);
|
|
2372
2385
|
}
|
|
2373
|
-
return
|
|
2386
|
+
return addTeamWatcher;
|
|
2374
2387
|
}()
|
|
2375
2388
|
}, {
|
|
2376
|
-
key: "
|
|
2389
|
+
key: "isTeamWatcher",
|
|
2377
2390
|
value: function () {
|
|
2378
|
-
var
|
|
2379
|
-
var _this$
|
|
2391
|
+
var _isTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee66() {
|
|
2392
|
+
var _this$_teamCentralCli2;
|
|
2380
2393
|
var _args66 = arguments;
|
|
2381
2394
|
return _regenerator.default.wrap(function _callee66$(_context66) {
|
|
2382
2395
|
while (1) switch (_context66.prev = _context66.next) {
|
|
2383
2396
|
case 0:
|
|
2384
|
-
return _context66.abrupt("return", (_this$
|
|
2397
|
+
return _context66.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).isTeamWatcher.apply(_this$_teamCentralCli2, _args66));
|
|
2385
2398
|
case 1:
|
|
2386
2399
|
case "end":
|
|
2387
2400
|
return _context66.stop();
|
|
2388
2401
|
}
|
|
2389
2402
|
}, _callee66, this);
|
|
2390
2403
|
}));
|
|
2391
|
-
function
|
|
2392
|
-
return
|
|
2404
|
+
function isTeamWatcher() {
|
|
2405
|
+
return _isTeamWatcher.apply(this, arguments);
|
|
2393
2406
|
}
|
|
2394
|
-
return
|
|
2407
|
+
return isTeamWatcher;
|
|
2395
2408
|
}()
|
|
2396
2409
|
}, {
|
|
2397
|
-
key: "
|
|
2410
|
+
key: "removeTeamWatcher",
|
|
2398
2411
|
value: function () {
|
|
2399
|
-
var
|
|
2400
|
-
var _this$
|
|
2412
|
+
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee67() {
|
|
2413
|
+
var _this$_teamCentralCli3;
|
|
2401
2414
|
var _args67 = arguments;
|
|
2402
2415
|
return _regenerator.default.wrap(function _callee67$(_context67) {
|
|
2403
2416
|
while (1) switch (_context67.prev = _context67.next) {
|
|
2404
2417
|
case 0:
|
|
2405
|
-
return _context67.abrupt("return", (_this$
|
|
2418
|
+
return _context67.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli3, _args67));
|
|
2406
2419
|
case 1:
|
|
2407
2420
|
case "end":
|
|
2408
2421
|
return _context67.stop();
|
|
2409
2422
|
}
|
|
2410
2423
|
}, _callee67, this);
|
|
2411
2424
|
}));
|
|
2412
|
-
function
|
|
2413
|
-
return
|
|
2425
|
+
function removeTeamWatcher() {
|
|
2426
|
+
return _removeTeamWatcher.apply(this, arguments);
|
|
2414
2427
|
}
|
|
2415
|
-
return
|
|
2428
|
+
return removeTeamWatcher;
|
|
2416
2429
|
}()
|
|
2417
2430
|
}, {
|
|
2418
|
-
key: "
|
|
2431
|
+
key: "deleteKudos",
|
|
2419
2432
|
value: function () {
|
|
2420
|
-
var
|
|
2421
|
-
var _this$
|
|
2433
|
+
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee68() {
|
|
2434
|
+
var _this$_teamCentralCli4;
|
|
2422
2435
|
var _args68 = arguments;
|
|
2423
2436
|
return _regenerator.default.wrap(function _callee68$(_context68) {
|
|
2424
2437
|
while (1) switch (_context68.prev = _context68.next) {
|
|
2425
2438
|
case 0:
|
|
2426
|
-
return _context68.abrupt("return", (_this$
|
|
2439
|
+
return _context68.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli4, _args68));
|
|
2427
2440
|
case 1:
|
|
2428
2441
|
case "end":
|
|
2429
2442
|
return _context68.stop();
|
|
2430
2443
|
}
|
|
2431
2444
|
}, _callee68, this);
|
|
2432
2445
|
}));
|
|
2433
|
-
function
|
|
2434
|
-
return
|
|
2446
|
+
function deleteKudos() {
|
|
2447
|
+
return _deleteKudos.apply(this, arguments);
|
|
2435
2448
|
}
|
|
2436
|
-
return
|
|
2449
|
+
return deleteKudos;
|
|
2437
2450
|
}()
|
|
2438
2451
|
}, {
|
|
2439
|
-
key: "
|
|
2452
|
+
key: "queryTagList",
|
|
2440
2453
|
value: function () {
|
|
2441
|
-
var
|
|
2442
|
-
var _this$
|
|
2454
|
+
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee69() {
|
|
2455
|
+
var _this$_teamCentralCli5;
|
|
2443
2456
|
var _args69 = arguments;
|
|
2444
2457
|
return _regenerator.default.wrap(function _callee69$(_context69) {
|
|
2445
2458
|
while (1) switch (_context69.prev = _context69.next) {
|
|
2446
2459
|
case 0:
|
|
2447
|
-
return _context69.abrupt("return", (_this$
|
|
2460
|
+
return _context69.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli5, _args69));
|
|
2448
2461
|
case 1:
|
|
2449
2462
|
case "end":
|
|
2450
2463
|
return _context69.stop();
|
|
2451
2464
|
}
|
|
2452
2465
|
}, _callee69, this);
|
|
2453
2466
|
}));
|
|
2454
|
-
function
|
|
2455
|
-
return
|
|
2467
|
+
function queryTagList() {
|
|
2468
|
+
return _queryTagList.apply(this, arguments);
|
|
2456
2469
|
}
|
|
2457
|
-
return
|
|
2470
|
+
return queryTagList;
|
|
2458
2471
|
}()
|
|
2459
2472
|
}, {
|
|
2460
|
-
key: "
|
|
2473
|
+
key: "createTag",
|
|
2461
2474
|
value: function () {
|
|
2462
|
-
var
|
|
2463
|
-
var _this$
|
|
2475
|
+
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee70() {
|
|
2476
|
+
var _this$_teamCentralCli6;
|
|
2464
2477
|
var _args70 = arguments;
|
|
2465
2478
|
return _regenerator.default.wrap(function _callee70$(_context70) {
|
|
2466
2479
|
while (1) switch (_context70.prev = _context70.next) {
|
|
2467
2480
|
case 0:
|
|
2468
|
-
return _context70.abrupt("return", (_this$
|
|
2481
|
+
return _context70.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli6, _args70));
|
|
2469
2482
|
case 1:
|
|
2470
2483
|
case "end":
|
|
2471
2484
|
return _context70.stop();
|
|
2472
2485
|
}
|
|
2473
2486
|
}, _callee70, this);
|
|
2474
2487
|
}));
|
|
2475
|
-
function
|
|
2476
|
-
return
|
|
2488
|
+
function createTag() {
|
|
2489
|
+
return _createTag.apply(this, arguments);
|
|
2477
2490
|
}
|
|
2478
|
-
return
|
|
2491
|
+
return createTag;
|
|
2479
2492
|
}()
|
|
2480
2493
|
}, {
|
|
2481
|
-
key: "
|
|
2494
|
+
key: "createHelpPointer",
|
|
2482
2495
|
value: function () {
|
|
2483
|
-
var
|
|
2484
|
-
var _this$
|
|
2496
|
+
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee71() {
|
|
2497
|
+
var _this$_teamCentralCli7;
|
|
2485
2498
|
var _args71 = arguments;
|
|
2486
2499
|
return _regenerator.default.wrap(function _callee71$(_context71) {
|
|
2487
2500
|
while (1) switch (_context71.prev = _context71.next) {
|
|
2488
2501
|
case 0:
|
|
2489
|
-
return _context71.abrupt("return", (_this$
|
|
2502
|
+
return _context71.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli7, _args71));
|
|
2490
2503
|
case 1:
|
|
2491
2504
|
case "end":
|
|
2492
2505
|
return _context71.stop();
|
|
2493
2506
|
}
|
|
2494
2507
|
}, _callee71, this);
|
|
2495
2508
|
}));
|
|
2509
|
+
function createHelpPointer() {
|
|
2510
|
+
return _createHelpPointer.apply(this, arguments);
|
|
2511
|
+
}
|
|
2512
|
+
return createHelpPointer;
|
|
2513
|
+
}()
|
|
2514
|
+
}, {
|
|
2515
|
+
key: "updateHelpPointer",
|
|
2516
|
+
value: function () {
|
|
2517
|
+
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee72() {
|
|
2518
|
+
var _this$_teamCentralCli8;
|
|
2519
|
+
var _args72 = arguments;
|
|
2520
|
+
return _regenerator.default.wrap(function _callee72$(_context72) {
|
|
2521
|
+
while (1) switch (_context72.prev = _context72.next) {
|
|
2522
|
+
case 0:
|
|
2523
|
+
return _context72.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli8, _args72));
|
|
2524
|
+
case 1:
|
|
2525
|
+
case "end":
|
|
2526
|
+
return _context72.stop();
|
|
2527
|
+
}
|
|
2528
|
+
}, _callee72, this);
|
|
2529
|
+
}));
|
|
2530
|
+
function updateHelpPointer() {
|
|
2531
|
+
return _updateHelpPointer.apply(this, arguments);
|
|
2532
|
+
}
|
|
2533
|
+
return updateHelpPointer;
|
|
2534
|
+
}()
|
|
2535
|
+
}, {
|
|
2536
|
+
key: "deleteHelpPointer",
|
|
2537
|
+
value: function () {
|
|
2538
|
+
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee73() {
|
|
2539
|
+
var _this$_teamCentralCli9;
|
|
2540
|
+
var _args73 = arguments;
|
|
2541
|
+
return _regenerator.default.wrap(function _callee73$(_context73) {
|
|
2542
|
+
while (1) switch (_context73.prev = _context73.next) {
|
|
2543
|
+
case 0:
|
|
2544
|
+
return _context73.abrupt("return", (_this$_teamCentralCli9 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli9, _args73));
|
|
2545
|
+
case 1:
|
|
2546
|
+
case "end":
|
|
2547
|
+
return _context73.stop();
|
|
2548
|
+
}
|
|
2549
|
+
}, _callee73, this);
|
|
2550
|
+
}));
|
|
2496
2551
|
function deleteHelpPointer() {
|
|
2497
2552
|
return _deleteHelpPointer.apply(this, arguments);
|
|
2498
2553
|
}
|
|
@@ -2501,27 +2556,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2501
2556
|
}, {
|
|
2502
2557
|
key: "getUserTenure",
|
|
2503
2558
|
value: function () {
|
|
2504
|
-
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2505
|
-
var
|
|
2506
|
-
var
|
|
2559
|
+
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee74() {
|
|
2560
|
+
var _this66 = this;
|
|
2561
|
+
var _len54,
|
|
2507
2562
|
args,
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
return _regenerator.default.wrap(function
|
|
2511
|
-
while (1) switch (
|
|
2563
|
+
_key54,
|
|
2564
|
+
_args74 = arguments;
|
|
2565
|
+
return _regenerator.default.wrap(function _callee74$(_context74) {
|
|
2566
|
+
while (1) switch (_context74.prev = _context74.next) {
|
|
2512
2567
|
case 0:
|
|
2513
|
-
for (
|
|
2514
|
-
args[
|
|
2568
|
+
for (_len54 = _args74.length, args = new Array(_len54), _key54 = 0; _key54 < _len54; _key54++) {
|
|
2569
|
+
args[_key54] = _args74[_key54];
|
|
2515
2570
|
}
|
|
2516
|
-
return
|
|
2517
|
-
var
|
|
2518
|
-
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);
|
|
2519
2574
|
}));
|
|
2520
2575
|
case 2:
|
|
2521
2576
|
case "end":
|
|
2522
|
-
return
|
|
2577
|
+
return _context74.stop();
|
|
2523
2578
|
}
|
|
2524
|
-
},
|
|
2579
|
+
}, _callee74, this);
|
|
2525
2580
|
}));
|
|
2526
2581
|
function getUserTenure() {
|
|
2527
2582
|
return _getUserTenure.apply(this, arguments);
|