@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.
Files changed (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/common/utils/permissions/constants.js +5 -1
  3. package/dist/cjs/common/utils/ufo/constants.js +1 -1
  4. package/dist/cjs/common/utils/ufo/index.js +2 -2
  5. package/dist/cjs/services/legion-client/index.js +29 -0
  6. package/dist/cjs/services/main.js +332 -277
  7. package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
  8. package/dist/cjs/services/team-central-client/index.js +99 -66
  9. package/dist/cjs/services/team-central-client/queries/is-team-watcher.graphql.js +12 -0
  10. package/dist/es2019/common/utils/permissions/constants.js +4 -1
  11. package/dist/es2019/common/utils/ufo/constants.js +1 -1
  12. package/dist/es2019/common/utils/ufo/index.js +2 -2
  13. package/dist/es2019/services/legion-client/index.js +9 -0
  14. package/dist/es2019/services/main.js +10 -0
  15. package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
  16. package/dist/es2019/services/team-central-client/index.js +13 -0
  17. package/dist/es2019/services/team-central-client/queries/is-team-watcher.graphql.js +9 -0
  18. package/dist/esm/common/utils/permissions/constants.js +5 -1
  19. package/dist/esm/common/utils/ufo/constants.js +1 -1
  20. package/dist/esm/common/utils/ufo/index.js +2 -2
  21. package/dist/esm/services/legion-client/index.js +29 -0
  22. package/dist/esm/services/main.js +332 -277
  23. package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
  24. package/dist/esm/services/team-central-client/index.js +99 -66
  25. package/dist/esm/services/team-central-client/queries/is-team-watcher.graphql.js +5 -0
  26. package/dist/types/common/utils/ufo/constants.d.ts +2 -2
  27. package/dist/types/services/legion-client/index.d.ts +2 -2
  28. package/dist/types/services/main.d.ts +5 -0
  29. package/dist/types/services/team-central-client/index.d.ts +2 -0
  30. package/dist/types/services/team-central-client/queries/is-team-watcher.graphql.d.ts +8 -0
  31. package/dist/types/types/index.d.ts +1 -1
  32. package/dist/types/types/team.d.ts +5 -0
  33. package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +3 -2
  34. package/dist/types-ts4.5/services/legion-client/index.d.ts +2 -2
  35. package/dist/types-ts4.5/services/main.d.ts +5 -0
  36. package/dist/types-ts4.5/services/team-central-client/index.d.ts +2 -0
  37. package/dist/types-ts4.5/services/team-central-client/queries/is-team-watcher.graphql.d.ts +8 -0
  38. package/dist/types-ts4.5/types/index.d.ts +1 -1
  39. package/dist/types-ts4.5/types/team.d.ts +5 -0
  40. package/package.json +5 -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 _this42 = this;
1703
- for (var _len33 = arguments.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
1704
- args[_key33] = arguments[_key33];
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 _this42$_permsClient;
1708
- return (_this42$_permsClient = _this42._permsClient).getIsSiteAdmin.apply(_this42$_permsClient, args);
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 _this43 = this;
1719
- for (var _len34 = arguments.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
1720
- args[_key34] = arguments[_key34];
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 _this43$_publicApiCli;
1724
- return (_this43$_publicApiCli = _this43._publicApiClient).addUsersToTeam.apply(_this43$_publicApiCli, args);
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 _this44 = this;
1735
- for (var _len35 = arguments.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
1736
- args[_key35] = arguments[_key35];
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 _this44$_publicApiCli;
1740
- return (_this44$_publicApiCli = _this44._publicApiClient).removeTeamMemberships.apply(_this44$_publicApiCli, args);
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 _this45 = this;
1751
- for (var _len36 = arguments.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
1752
- args[_key36] = arguments[_key36];
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 _this45$_publicApiCli;
1756
- return (_this45$_publicApiCli = _this45._publicApiClient).restoreTeam.apply(_this45$_publicApiCli, args);
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 _this46 = this;
1763
- for (var _len37 = arguments.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
1764
- args[_key37] = arguments[_key37];
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 _this46$_invitationsC;
1768
- return (_this46$_invitationsC = _this46._invitationsClient).getProductRecommendations.apply(_this46$_invitationsC, args);
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 _this47 = this;
1775
- for (var _len38 = arguments.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
1776
- args[_key38] = arguments[_key38];
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 _this47$_invitationsC;
1780
- return (_this47$_invitationsC = _this47._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this47$_invitationsC, args);
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 _callee47() {
1791
- var _this48 = this;
1792
- return _regeneratorRuntime.wrap(function _callee47$(_context47) {
1793
- while (1) switch (_context47.prev = _context47.next) {
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 _context47.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
1796
- return _this48._legionClient.getWriteMediaToken();
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 _context47.stop();
1834
+ return _context48.stop();
1801
1835
  }
1802
- }, _callee47, this);
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 _callee48() {
1817
- var _this49 = this;
1818
- var _len39,
1850
+ var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee49() {
1851
+ var _this50 = this;
1852
+ var _len40,
1819
1853
  args,
1820
- _key39,
1821
- _args48 = arguments;
1822
- return _regeneratorRuntime.wrap(function _callee48$(_context48) {
1823
- while (1) switch (_context48.prev = _context48.next) {
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 (_len39 = _args48.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
1826
- args[_key39] = _args48[_key39];
1859
+ for (_len40 = _args49.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
1860
+ args[_key40] = _args49[_key40];
1827
1861
  }
1828
- return _context48.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
1829
- var _this49$_userPreferen;
1830
- return (_this49$_userPreferen = _this49._userPreferencesClient).getReadMediaToken.apply(_this49$_userPreferen, args);
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 _context48.stop();
1868
+ return _context49.stop();
1835
1869
  }
1836
- }, _callee48, this);
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 _callee49() {
1851
- var _this50 = this;
1852
- return _regeneratorRuntime.wrap(function _callee49$(_context49) {
1853
- while (1) switch (_context49.prev = _context49.next) {
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 _context49.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
1856
- return _this50._userPreferencesClient.getWriteMediaToken();
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 _context49.stop();
1894
+ return _context50.stop();
1861
1895
  }
1862
- }, _callee49, this);
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 _callee50(headerImageId) {
1877
- var _this51 = this;
1878
- return _regeneratorRuntime.wrap(function _callee50$(_context50) {
1879
- while (1) switch (_context50.prev = _context50.next) {
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 _context50.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
1882
- return _this51._userPreferencesClient.updateUserHeaderImage(headerImageId);
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 _context50.stop();
1920
+ return _context51.stop();
1887
1921
  }
1888
- }, _callee50, this);
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 _callee51() {
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('getUserManageConfig', function () {
1949
- var _this53$_identityClie;
1950
- return (_this53$_identityClie = _this53._identityClient).getUserManageConfig.apply(_this53$_identityClie, args);
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 getUserManageConfig() {
1959
- return _getUserManageConfig.apply(this, arguments);
1958
+ function getUserContainers() {
1959
+ return _getUserContainers.apply(this, arguments);
1960
1960
  }
1961
- return getUserManageConfig;
1961
+ return getUserContainers;
1962
1962
  }()
1963
1963
  /**
1964
- * Fetch user avatar uploaded status
1964
+ * Fetch mutatability of external managed user fields
1965
1965
  */
1966
1966
  )
1967
1967
  }, {
1968
- key: "getMyAvatarUploadedStatus",
1968
+ key: "getUserManageConfig",
1969
1969
  value: (function () {
1970
- var _getMyAvatarUploadedStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee53() {
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('getMyAvatarUploadedStatus', function () {
1982
+ return _context53.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
1983
1983
  var _this54$_identityClie;
1984
- return (_this54$_identityClie = _this54._identityClient).getMyAvatarUploadedStatus.apply(_this54$_identityClie, args);
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 getMyAvatarUploadedStatus() {
1993
- return _getMyAvatarUploadedStatus.apply(this, arguments);
1992
+ function getUserManageConfig() {
1993
+ return _getUserManageConfig.apply(this, arguments);
1994
1994
  }
1995
- return getMyAvatarUploadedStatus;
1995
+ return getUserManageConfig;
1996
1996
  }()
1997
1997
  /**
1998
- * Delete user avatar
1998
+ * Fetch user avatar uploaded status
1999
1999
  */
2000
2000
  )
2001
2001
  }, {
2002
- key: "deleteAvatar",
2002
+ key: "getMyAvatarUploadedStatus",
2003
2003
  value: (function () {
2004
- var _deleteAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee54() {
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('deleteUserAvatar', function () {
2016
+ return _context54.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
2017
2017
  var _this55$_identityClie;
2018
- return (_this55$_identityClie = _this55._identityClient).deleteAvatar.apply(_this55$_identityClie, args);
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 deleteAvatar() {
2027
- return _deleteAvatar.apply(this, arguments);
2026
+ function getMyAvatarUploadedStatus() {
2027
+ return _getMyAvatarUploadedStatus.apply(this, arguments);
2028
2028
  }
2029
- return deleteAvatar;
2030
- }())
2029
+ return getMyAvatarUploadedStatus;
2030
+ }()
2031
+ /**
2032
+ * Delete user avatar
2033
+ */
2034
+ )
2031
2035
  }, {
2032
- key: "fetchUserAvatarInfo",
2033
- value: function () {
2034
- var _fetchUserAvatarInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee55() {
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('fetchUserAvatarInfo', function () {
2050
+ return _context55.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
2047
2051
  var _this56$_identityClie;
2048
- return (_this56$_identityClie = _this56._identityClient).fetchUserAvatarInfo.apply(_this56$_identityClie, args);
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 fetchUserAvatarInfo() {
2057
- return _fetchUserAvatarInfo.apply(this, arguments);
2060
+ function deleteAvatar() {
2061
+ return _deleteAvatar.apply(this, arguments);
2058
2062
  }
2059
- return fetchUserAvatarInfo;
2060
- }()
2061
- /**
2062
- * Fetch Team link icons
2063
- */
2063
+ return deleteAvatar;
2064
+ }())
2064
2065
  }, {
2065
- key: "getTeamLinkIcons",
2066
- value: (function () {
2067
- var _getTeamLinkIcons = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee56() {
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('getTeamLinkIcons', function () {
2080
- var _this57$_objectResolv;
2081
- return (_this57$_objectResolv = _this57._objectResolverClient).getTeamLinkIcons.apply(_this57$_objectResolv, args);
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 getTeamLinkIcons() {
2090
- return _getTeamLinkIcons.apply(this, arguments);
2090
+ function fetchUserAvatarInfo() {
2091
+ return _fetchUserAvatarInfo.apply(this, arguments);
2091
2092
  }
2092
- return getTeamLinkIcons;
2093
+ return fetchUserAvatarInfo;
2093
2094
  }()
2094
2095
  /**
2095
- * Fetch ARI from URL
2096
+ * Fetch Team link icons
2096
2097
  */
2097
- )
2098
2098
  }, {
2099
- key: "getAriFromUrl",
2099
+ key: "getTeamLinkIcons",
2100
2100
  value: (function () {
2101
- var _getAriFromUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee57() {
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('getAriFromUrl', function () {
2113
+ return _context57.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
2114
2114
  var _this58$_objectResolv;
2115
- return (_this58$_objectResolv = _this58._objectResolverClient).getAriFromUrl.apply(_this58$_objectResolv, args);
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 getAriFromUrl() {
2124
- return _getAriFromUrl.apply(this, arguments);
2123
+ function getTeamLinkIcons() {
2124
+ return _getTeamLinkIcons.apply(this, arguments);
2125
2125
  }
2126
- return getAriFromUrl;
2126
+ return getTeamLinkIcons;
2127
2127
  }()
2128
2128
  /**
2129
- * Fetch web link title
2129
+ * Fetch ARI from URL
2130
2130
  */
2131
2131
  )
2132
2132
  }, {
2133
- key: "getWebLinkTitle",
2133
+ key: "getAriFromUrl",
2134
2134
  value: (function () {
2135
- var _getWebLinkTitle = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58() {
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('getWebLinkTitle', function () {
2147
+ return _context58.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
2148
2148
  var _this59$_objectResolv;
2149
- return (_this59$_objectResolv = _this59._objectResolverClient).getWebLinkTitle.apply(_this59$_objectResolv, args);
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 getWebLinkTitle() {
2158
- return _getWebLinkTitle.apply(this, arguments);
2157
+ function getAriFromUrl() {
2158
+ return _getAriFromUrl.apply(this, arguments);
2159
2159
  }
2160
- return getWebLinkTitle;
2160
+ return getAriFromUrl;
2161
2161
  }()
2162
2162
  /**
2163
- * Fetch team in slack details
2163
+ * Fetch web link title
2164
2164
  */
2165
2165
  )
2166
2166
  }, {
2167
- key: "getTeamInSlack",
2167
+ key: "getWebLinkTitle",
2168
2168
  value: (function () {
2169
- var _getTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee59() {
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('getTeamInSlack', function () {
2182
- var _this60$_teamsInSlack;
2183
- return (_this60$_teamsInSlack = _this60._teamsInSlackClient).getTeamInSlack.apply(_this60$_teamsInSlack, args);
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 getTeamInSlack() {
2192
- return _getTeamInSlack.apply(this, arguments);
2191
+ function getWebLinkTitle() {
2192
+ return _getWebLinkTitle.apply(this, arguments);
2193
2193
  }
2194
- return getTeamInSlack;
2194
+ return getWebLinkTitle;
2195
2195
  }()
2196
2196
  /**
2197
- * Delete team in slack
2197
+ * Fetch team in slack details
2198
2198
  */
2199
2199
  )
2200
2200
  }, {
2201
- key: "disconnectTeamInSlack",
2201
+ key: "getTeamInSlack",
2202
2202
  value: (function () {
2203
- var _disconnectTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee60() {
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('disconnectTeamInSlack', function () {
2215
+ return _context60.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
2216
2216
  var _this61$_teamsInSlack;
2217
- return (_this61$_teamsInSlack = _this61._teamsInSlackClient).disconnectTeamInSlack.apply(_this61$_teamsInSlack, args);
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 disconnectTeamInSlack() {
2226
- return _disconnectTeamInSlack.apply(this, arguments);
2225
+ function getTeamInSlack() {
2226
+ return _getTeamInSlack.apply(this, arguments);
2227
2227
  }
2228
- return disconnectTeamInSlack;
2228
+ return getTeamInSlack;
2229
2229
  }()
2230
2230
  /**
2231
- * Update team in slack
2231
+ * Delete team in slack
2232
2232
  */
2233
2233
  )
2234
2234
  }, {
2235
- key: "updateTeamInSlack",
2235
+ key: "disconnectTeamInSlack",
2236
2236
  value: (function () {
2237
- var _updateTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee61() {
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('updateTeamInSlack', function () {
2249
+ return _context61.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
2250
2250
  var _this62$_teamsInSlack;
2251
- return (_this62$_teamsInSlack = _this62._teamsInSlackClient).updateTeamInSlack.apply(_this62$_teamsInSlack, args);
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 updateTeamInSlack() {
2260
- return _updateTeamInSlack.apply(this, arguments);
2259
+ function disconnectTeamInSlack() {
2260
+ return _disconnectTeamInSlack.apply(this, arguments);
2261
2261
  }
2262
- return updateTeamInSlack;
2262
+ return disconnectTeamInSlack;
2263
2263
  }()
2264
2264
  /**
2265
- * Update user details
2265
+ * Update team in slack
2266
2266
  */
2267
2267
  )
2268
2268
  }, {
2269
- key: "updateUser",
2269
+ key: "updateTeamInSlack",
2270
2270
  value: (function () {
2271
- var _updateUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee62() {
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('updateUser', function () {
2284
- var _this63$_identityClie;
2285
- return (_this63$_identityClie = _this63._identityClient).updateUser.apply(_this63$_identityClie, args);
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 updateUser() {
2294
- return _updateUser.apply(this, arguments);
2293
+ function updateTeamInSlack() {
2294
+ return _updateTeamInSlack.apply(this, arguments);
2295
2295
  }
2296
- return updateUser;
2297
- }())
2296
+ return updateTeamInSlack;
2297
+ }()
2298
+ /**
2299
+ * Update user details
2300
+ */
2301
+ )
2298
2302
  }, {
2299
- key: "updateUserAvatar",
2300
- value: function () {
2301
- var _updateUserAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee63() {
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('updateUserAvatar', function () {
2317
+ return _context63.abrupt("return", this.measurePerformance('updateUser', function () {
2314
2318
  var _this64$_identityClie;
2315
- return (_this64$_identityClie = _this64._identityClient).updateUserAvatar.apply(_this64$_identityClie, args);
2319
+ return (_this64$_identityClie = _this64._identityClient).updateUser.apply(_this64$_identityClie, args);
2316
2320
  }));
2317
2321
  case 2:
2318
2322
  case "end":
@@ -2320,174 +2324,225 @@ export var TeamsClient = /*#__PURE__*/function () {
2320
2324
  }
2321
2325
  }, _callee63, this);
2322
2326
  }));
2323
- function updateUserAvatar() {
2324
- return _updateUserAvatar.apply(this, arguments);
2327
+ function updateUser() {
2328
+ return _updateUser.apply(this, arguments);
2325
2329
  }
2326
- return updateUserAvatar;
2327
- }()
2330
+ return updateUser;
2331
+ }())
2328
2332
  }, {
2329
- key: "addTeamWatcher",
2333
+ key: "updateUserAvatar",
2330
2334
  value: function () {
2331
- var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee64() {
2332
- var _this$_teamCentralCli;
2333
- var _args64 = arguments;
2335
+ var _updateUserAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee64() {
2336
+ var _this65 = this;
2337
+ var _len53,
2338
+ args,
2339
+ _key53,
2340
+ _args64 = arguments;
2334
2341
  return _regeneratorRuntime.wrap(function _callee64$(_context64) {
2335
2342
  while (1) switch (_context64.prev = _context64.next) {
2336
2343
  case 0:
2337
- return _context64.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args64));
2338
- case 1:
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:
2339
2352
  case "end":
2340
2353
  return _context64.stop();
2341
2354
  }
2342
2355
  }, _callee64, this);
2343
2356
  }));
2344
- function addTeamWatcher() {
2345
- return _addTeamWatcher.apply(this, arguments);
2357
+ function updateUserAvatar() {
2358
+ return _updateUserAvatar.apply(this, arguments);
2346
2359
  }
2347
- return addTeamWatcher;
2360
+ return updateUserAvatar;
2348
2361
  }()
2349
2362
  }, {
2350
- key: "removeTeamWatcher",
2363
+ key: "addTeamWatcher",
2351
2364
  value: function () {
2352
- var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee65() {
2353
- var _this$_teamCentralCli2;
2365
+ var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee65() {
2366
+ var _this$_teamCentralCli;
2354
2367
  var _args65 = arguments;
2355
2368
  return _regeneratorRuntime.wrap(function _callee65$(_context65) {
2356
2369
  while (1) switch (_context65.prev = _context65.next) {
2357
2370
  case 0:
2358
- return _context65.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args65));
2371
+ return _context65.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args65));
2359
2372
  case 1:
2360
2373
  case "end":
2361
2374
  return _context65.stop();
2362
2375
  }
2363
2376
  }, _callee65, this);
2364
2377
  }));
2365
- function removeTeamWatcher() {
2366
- return _removeTeamWatcher.apply(this, arguments);
2378
+ function addTeamWatcher() {
2379
+ return _addTeamWatcher.apply(this, arguments);
2367
2380
  }
2368
- return removeTeamWatcher;
2381
+ return addTeamWatcher;
2369
2382
  }()
2370
2383
  }, {
2371
- key: "deleteKudos",
2384
+ key: "isTeamWatcher",
2372
2385
  value: function () {
2373
- var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee66() {
2374
- var _this$_teamCentralCli3;
2386
+ var _isTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee66() {
2387
+ var _this$_teamCentralCli2;
2375
2388
  var _args66 = arguments;
2376
2389
  return _regeneratorRuntime.wrap(function _callee66$(_context66) {
2377
2390
  while (1) switch (_context66.prev = _context66.next) {
2378
2391
  case 0:
2379
- return _context66.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args66));
2392
+ return _context66.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).isTeamWatcher.apply(_this$_teamCentralCli2, _args66));
2380
2393
  case 1:
2381
2394
  case "end":
2382
2395
  return _context66.stop();
2383
2396
  }
2384
2397
  }, _callee66, this);
2385
2398
  }));
2386
- function deleteKudos() {
2387
- return _deleteKudos.apply(this, arguments);
2399
+ function isTeamWatcher() {
2400
+ return _isTeamWatcher.apply(this, arguments);
2388
2401
  }
2389
- return deleteKudos;
2402
+ return isTeamWatcher;
2390
2403
  }()
2391
2404
  }, {
2392
- key: "queryTagList",
2405
+ key: "removeTeamWatcher",
2393
2406
  value: function () {
2394
- var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee67() {
2395
- var _this$_teamCentralCli4;
2407
+ var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee67() {
2408
+ var _this$_teamCentralCli3;
2396
2409
  var _args67 = arguments;
2397
2410
  return _regeneratorRuntime.wrap(function _callee67$(_context67) {
2398
2411
  while (1) switch (_context67.prev = _context67.next) {
2399
2412
  case 0:
2400
- return _context67.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args67));
2413
+ return _context67.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli3, _args67));
2401
2414
  case 1:
2402
2415
  case "end":
2403
2416
  return _context67.stop();
2404
2417
  }
2405
2418
  }, _callee67, this);
2406
2419
  }));
2407
- function queryTagList() {
2408
- return _queryTagList.apply(this, arguments);
2420
+ function removeTeamWatcher() {
2421
+ return _removeTeamWatcher.apply(this, arguments);
2409
2422
  }
2410
- return queryTagList;
2423
+ return removeTeamWatcher;
2411
2424
  }()
2412
2425
  }, {
2413
- key: "createTag",
2426
+ key: "deleteKudos",
2414
2427
  value: function () {
2415
- var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee68() {
2416
- var _this$_teamCentralCli5;
2428
+ var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee68() {
2429
+ var _this$_teamCentralCli4;
2417
2430
  var _args68 = arguments;
2418
2431
  return _regeneratorRuntime.wrap(function _callee68$(_context68) {
2419
2432
  while (1) switch (_context68.prev = _context68.next) {
2420
2433
  case 0:
2421
- return _context68.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args68));
2434
+ return _context68.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli4, _args68));
2422
2435
  case 1:
2423
2436
  case "end":
2424
2437
  return _context68.stop();
2425
2438
  }
2426
2439
  }, _callee68, this);
2427
2440
  }));
2428
- function createTag() {
2429
- return _createTag.apply(this, arguments);
2441
+ function deleteKudos() {
2442
+ return _deleteKudos.apply(this, arguments);
2430
2443
  }
2431
- return createTag;
2444
+ return deleteKudos;
2432
2445
  }()
2433
2446
  }, {
2434
- key: "createHelpPointer",
2447
+ key: "queryTagList",
2435
2448
  value: function () {
2436
- var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee69() {
2437
- var _this$_teamCentralCli6;
2449
+ var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee69() {
2450
+ var _this$_teamCentralCli5;
2438
2451
  var _args69 = arguments;
2439
2452
  return _regeneratorRuntime.wrap(function _callee69$(_context69) {
2440
2453
  while (1) switch (_context69.prev = _context69.next) {
2441
2454
  case 0:
2442
- return _context69.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args69));
2455
+ return _context69.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli5, _args69));
2443
2456
  case 1:
2444
2457
  case "end":
2445
2458
  return _context69.stop();
2446
2459
  }
2447
2460
  }, _callee69, this);
2448
2461
  }));
2449
- function createHelpPointer() {
2450
- return _createHelpPointer.apply(this, arguments);
2462
+ function queryTagList() {
2463
+ return _queryTagList.apply(this, arguments);
2451
2464
  }
2452
- return createHelpPointer;
2465
+ return queryTagList;
2453
2466
  }()
2454
2467
  }, {
2455
- key: "updateHelpPointer",
2468
+ key: "createTag",
2456
2469
  value: function () {
2457
- var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee70() {
2458
- var _this$_teamCentralCli7;
2470
+ var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee70() {
2471
+ var _this$_teamCentralCli6;
2459
2472
  var _args70 = arguments;
2460
2473
  return _regeneratorRuntime.wrap(function _callee70$(_context70) {
2461
2474
  while (1) switch (_context70.prev = _context70.next) {
2462
2475
  case 0:
2463
- return _context70.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args70));
2476
+ return _context70.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli6, _args70));
2464
2477
  case 1:
2465
2478
  case "end":
2466
2479
  return _context70.stop();
2467
2480
  }
2468
2481
  }, _callee70, this);
2469
2482
  }));
2470
- function updateHelpPointer() {
2471
- return _updateHelpPointer.apply(this, arguments);
2483
+ function createTag() {
2484
+ return _createTag.apply(this, arguments);
2472
2485
  }
2473
- return updateHelpPointer;
2486
+ return createTag;
2474
2487
  }()
2475
2488
  }, {
2476
- key: "deleteHelpPointer",
2489
+ key: "createHelpPointer",
2477
2490
  value: function () {
2478
- var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee71() {
2479
- var _this$_teamCentralCli8;
2491
+ var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee71() {
2492
+ var _this$_teamCentralCli7;
2480
2493
  var _args71 = arguments;
2481
2494
  return _regeneratorRuntime.wrap(function _callee71$(_context71) {
2482
2495
  while (1) switch (_context71.prev = _context71.next) {
2483
2496
  case 0:
2484
- return _context71.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args71));
2497
+ return _context71.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli7, _args71));
2485
2498
  case 1:
2486
2499
  case "end":
2487
2500
  return _context71.stop();
2488
2501
  }
2489
2502
  }, _callee71, this);
2490
2503
  }));
2504
+ function createHelpPointer() {
2505
+ return _createHelpPointer.apply(this, arguments);
2506
+ }
2507
+ return createHelpPointer;
2508
+ }()
2509
+ }, {
2510
+ key: "updateHelpPointer",
2511
+ value: function () {
2512
+ var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee72() {
2513
+ var _this$_teamCentralCli8;
2514
+ var _args72 = arguments;
2515
+ return _regeneratorRuntime.wrap(function _callee72$(_context72) {
2516
+ while (1) switch (_context72.prev = _context72.next) {
2517
+ case 0:
2518
+ return _context72.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli8, _args72));
2519
+ case 1:
2520
+ case "end":
2521
+ return _context72.stop();
2522
+ }
2523
+ }, _callee72, this);
2524
+ }));
2525
+ function updateHelpPointer() {
2526
+ return _updateHelpPointer.apply(this, arguments);
2527
+ }
2528
+ return updateHelpPointer;
2529
+ }()
2530
+ }, {
2531
+ key: "deleteHelpPointer",
2532
+ value: function () {
2533
+ var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee73() {
2534
+ var _this$_teamCentralCli9;
2535
+ var _args73 = arguments;
2536
+ return _regeneratorRuntime.wrap(function _callee73$(_context73) {
2537
+ while (1) switch (_context73.prev = _context73.next) {
2538
+ case 0:
2539
+ return _context73.abrupt("return", (_this$_teamCentralCli9 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli9, _args73));
2540
+ case 1:
2541
+ case "end":
2542
+ return _context73.stop();
2543
+ }
2544
+ }, _callee73, this);
2545
+ }));
2491
2546
  function deleteHelpPointer() {
2492
2547
  return _deleteHelpPointer.apply(this, arguments);
2493
2548
  }
@@ -2496,27 +2551,27 @@ export var TeamsClient = /*#__PURE__*/function () {
2496
2551
  }, {
2497
2552
  key: "getUserTenure",
2498
2553
  value: function () {
2499
- var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee72() {
2500
- var _this65 = this;
2501
- var _len53,
2554
+ var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee74() {
2555
+ var _this66 = this;
2556
+ var _len54,
2502
2557
  args,
2503
- _key53,
2504
- _args72 = arguments;
2505
- return _regeneratorRuntime.wrap(function _callee72$(_context72) {
2506
- while (1) switch (_context72.prev = _context72.next) {
2558
+ _key54,
2559
+ _args74 = arguments;
2560
+ return _regeneratorRuntime.wrap(function _callee74$(_context74) {
2561
+ while (1) switch (_context74.prev = _context74.next) {
2507
2562
  case 0:
2508
- for (_len53 = _args72.length, args = new Array(_len53), _key53 = 0; _key53 < _len53; _key53++) {
2509
- args[_key53] = _args72[_key53];
2563
+ for (_len54 = _args74.length, args = new Array(_len54), _key54 = 0; _key54 < _len54; _key54++) {
2564
+ args[_key54] = _args74[_key54];
2510
2565
  }
2511
- return _context72.abrupt("return", this.measurePerformance('getUserTenure', function () {
2512
- var _this65$_replinesClie;
2513
- return (_this65$_replinesClie = _this65._replinesClient).getUserTenure.apply(_this65$_replinesClie, args);
2566
+ return _context74.abrupt("return", this.measurePerformance('getUserTenure', function () {
2567
+ var _this66$_replinesClie;
2568
+ return (_this66$_replinesClie = _this66._replinesClient).getUserTenure.apply(_this66$_replinesClie, args);
2514
2569
  }));
2515
2570
  case 2:
2516
2571
  case "end":
2517
- return _context72.stop();
2572
+ return _context74.stop();
2518
2573
  }
2519
- }, _callee72, this);
2574
+ }, _callee74, this);
2520
2575
  }));
2521
2576
  function getUserTenure() {
2522
2577
  return _getUserTenure.apply(this, arguments);