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