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