@atlaskit/teams-client 4.10.0 → 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/common/utils/ufo/constants.js +1 -1
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/legion-client/index.js +56 -5
- package/dist/cjs/services/main.js +378 -304
- package/dist/cjs/services/sentry/main.js +2 -0
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/common/utils/ufo/constants.js +1 -1
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/legion-client/index.js +15 -0
- package/dist/es2019/services/main.js +20 -0
- package/dist/es2019/services/rest-client/index.js +2 -0
- package/dist/es2019/services/sentry/main.js +2 -0
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/common/utils/ufo/constants.js +1 -1
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/legion-client/index.js +56 -5
- package/dist/esm/services/main.js +378 -304
- package/dist/esm/services/sentry/main.js +2 -0
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/types/common/utils/ari.d.ts +2 -2
- package/dist/types/common/utils/ufo/constants.d.ts +2 -2
- package/dist/types/services/legion-client/index.d.ts +4 -1
- package/dist/types/services/main.d.ts +14 -0
- package/dist/types/services/sentry/main.d.ts +4 -8
- package/dist/types/services/use-query-light/main.d.ts +1 -1
- package/dist/types/types/team.d.ts +21 -0
- package/dist/types/types/user.d.ts +1 -1
- package/dist/types-ts4.5/common/utils/ari.d.ts +2 -2
- package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +4 -2
- package/dist/types-ts4.5/services/legion-client/index.d.ts +4 -1
- package/dist/types-ts4.5/services/main.d.ts +14 -0
- package/dist/types-ts4.5/services/sentry/main.d.ts +4 -8
- package/dist/types-ts4.5/services/use-query-light/main.d.ts +1 -1
- package/dist/types-ts4.5/types/team.d.ts +21 -0
- package/dist/types-ts4.5/types/user.d.ts +1 -1
- package/package.json +1 -2
|
@@ -1580,6 +1580,80 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1580
1580
|
}
|
|
1581
1581
|
return assignTeamsToSites;
|
|
1582
1582
|
}()
|
|
1583
|
+
/**
|
|
1584
|
+
* Get assigned teams
|
|
1585
|
+
* @param orgId
|
|
1586
|
+
* @param cursor
|
|
1587
|
+
* @param displayNameContains
|
|
1588
|
+
* @param count - number of teams to return
|
|
1589
|
+
*/
|
|
1590
|
+
)
|
|
1591
|
+
}, {
|
|
1592
|
+
key: "getAssignedTeams",
|
|
1593
|
+
value: (function () {
|
|
1594
|
+
var _getAssignedTeams = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee44() {
|
|
1595
|
+
var _this39 = this;
|
|
1596
|
+
var _len30,
|
|
1597
|
+
args,
|
|
1598
|
+
_key30,
|
|
1599
|
+
_args44 = arguments;
|
|
1600
|
+
return _regeneratorRuntime.wrap(function _callee44$(_context44) {
|
|
1601
|
+
while (1) switch (_context44.prev = _context44.next) {
|
|
1602
|
+
case 0:
|
|
1603
|
+
for (_len30 = _args44.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
|
|
1604
|
+
args[_key30] = _args44[_key30];
|
|
1605
|
+
}
|
|
1606
|
+
return _context44.abrupt("return", this.measurePerformance('getAssignedTeams', function () {
|
|
1607
|
+
var _this39$_legionClient;
|
|
1608
|
+
return (_this39$_legionClient = _this39._legionClient).getAssignedTeams.apply(_this39$_legionClient, args);
|
|
1609
|
+
}));
|
|
1610
|
+
case 2:
|
|
1611
|
+
case "end":
|
|
1612
|
+
return _context44.stop();
|
|
1613
|
+
}
|
|
1614
|
+
}, _callee44, this);
|
|
1615
|
+
}));
|
|
1616
|
+
function getAssignedTeams() {
|
|
1617
|
+
return _getAssignedTeams.apply(this, arguments);
|
|
1618
|
+
}
|
|
1619
|
+
return getAssignedTeams;
|
|
1620
|
+
}()
|
|
1621
|
+
/**
|
|
1622
|
+
* Set team site assignment permission
|
|
1623
|
+
* @param orgId
|
|
1624
|
+
* @param alignmentPermission - 'ALL_USERS' | 'ORG_ADMIN'
|
|
1625
|
+
*/
|
|
1626
|
+
)
|
|
1627
|
+
}, {
|
|
1628
|
+
key: "setTeamSiteAssignmentPermission",
|
|
1629
|
+
value: (function () {
|
|
1630
|
+
var _setTeamSiteAssignmentPermission = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee45() {
|
|
1631
|
+
var _this40 = this;
|
|
1632
|
+
var _len31,
|
|
1633
|
+
args,
|
|
1634
|
+
_key31,
|
|
1635
|
+
_args45 = arguments;
|
|
1636
|
+
return _regeneratorRuntime.wrap(function _callee45$(_context45) {
|
|
1637
|
+
while (1) switch (_context45.prev = _context45.next) {
|
|
1638
|
+
case 0:
|
|
1639
|
+
for (_len31 = _args45.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
|
|
1640
|
+
args[_key31] = _args45[_key31];
|
|
1641
|
+
}
|
|
1642
|
+
return _context45.abrupt("return", this.measurePerformance('setTeamSiteAssignmentPermission', function () {
|
|
1643
|
+
var _this40$_legionClient;
|
|
1644
|
+
return (_this40$_legionClient = _this40._legionClient).setTeamSiteAssignmentPermission.apply(_this40$_legionClient, args);
|
|
1645
|
+
}));
|
|
1646
|
+
case 2:
|
|
1647
|
+
case "end":
|
|
1648
|
+
return _context45.stop();
|
|
1649
|
+
}
|
|
1650
|
+
}, _callee45, this);
|
|
1651
|
+
}));
|
|
1652
|
+
function setTeamSiteAssignmentPermission() {
|
|
1653
|
+
return _setTeamSiteAssignmentPermission.apply(this, arguments);
|
|
1654
|
+
}
|
|
1655
|
+
return setTeamSiteAssignmentPermission;
|
|
1656
|
+
}()
|
|
1583
1657
|
/**
|
|
1584
1658
|
* Is the current user a site admin
|
|
1585
1659
|
*/
|
|
@@ -1587,13 +1661,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1587
1661
|
}, {
|
|
1588
1662
|
key: "getIsSiteAdmin",
|
|
1589
1663
|
value: function getIsSiteAdmin() {
|
|
1590
|
-
var
|
|
1591
|
-
for (var
|
|
1592
|
-
args[
|
|
1664
|
+
var _this41 = this;
|
|
1665
|
+
for (var _len32 = arguments.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
|
|
1666
|
+
args[_key32] = arguments[_key32];
|
|
1593
1667
|
}
|
|
1594
1668
|
return this.measurePerformance('getIsSiteAdmin', function () {
|
|
1595
|
-
var
|
|
1596
|
-
return (
|
|
1669
|
+
var _this41$_permsClient;
|
|
1670
|
+
return (_this41$_permsClient = _this41._permsClient).getIsSiteAdmin.apply(_this41$_permsClient, args);
|
|
1597
1671
|
});
|
|
1598
1672
|
}
|
|
1599
1673
|
|
|
@@ -1603,13 +1677,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1603
1677
|
}, {
|
|
1604
1678
|
key: "addUsersToTeam",
|
|
1605
1679
|
value: function addUsersToTeam() {
|
|
1606
|
-
var
|
|
1607
|
-
for (var
|
|
1608
|
-
args[
|
|
1680
|
+
var _this42 = this;
|
|
1681
|
+
for (var _len33 = arguments.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1682
|
+
args[_key33] = arguments[_key33];
|
|
1609
1683
|
}
|
|
1610
1684
|
return this.measurePerformance('addUsersToTeam', function () {
|
|
1611
|
-
var
|
|
1612
|
-
return (
|
|
1685
|
+
var _this42$_publicApiCli;
|
|
1686
|
+
return (_this42$_publicApiCli = _this42._publicApiClient).addUsersToTeam.apply(_this42$_publicApiCli, args);
|
|
1613
1687
|
});
|
|
1614
1688
|
}
|
|
1615
1689
|
|
|
@@ -1619,13 +1693,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1619
1693
|
}, {
|
|
1620
1694
|
key: "removeTeamMemberships",
|
|
1621
1695
|
value: function removeTeamMemberships() {
|
|
1622
|
-
var
|
|
1623
|
-
for (var
|
|
1624
|
-
args[
|
|
1696
|
+
var _this43 = this;
|
|
1697
|
+
for (var _len34 = arguments.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1698
|
+
args[_key34] = arguments[_key34];
|
|
1625
1699
|
}
|
|
1626
1700
|
return this.measurePerformance('removeTeamMemberships', function () {
|
|
1627
|
-
var
|
|
1628
|
-
return (
|
|
1701
|
+
var _this43$_publicApiCli;
|
|
1702
|
+
return (_this43$_publicApiCli = _this43._publicApiClient).removeTeamMemberships.apply(_this43$_publicApiCli, args);
|
|
1629
1703
|
});
|
|
1630
1704
|
}
|
|
1631
1705
|
|
|
@@ -1635,37 +1709,37 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1635
1709
|
}, {
|
|
1636
1710
|
key: "restoreTeam",
|
|
1637
1711
|
value: function restoreTeam() {
|
|
1638
|
-
var
|
|
1639
|
-
for (var
|
|
1640
|
-
args[
|
|
1712
|
+
var _this44 = this;
|
|
1713
|
+
for (var _len35 = arguments.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1714
|
+
args[_key35] = arguments[_key35];
|
|
1641
1715
|
}
|
|
1642
1716
|
return this.measurePerformance('restoreTeam', function () {
|
|
1643
|
-
var
|
|
1644
|
-
return (
|
|
1717
|
+
var _this44$_publicApiCli;
|
|
1718
|
+
return (_this44$_publicApiCli = _this44._publicApiClient).restoreTeam.apply(_this44$_publicApiCli, args);
|
|
1645
1719
|
});
|
|
1646
1720
|
}
|
|
1647
1721
|
}, {
|
|
1648
1722
|
key: "getRecommendedProducts",
|
|
1649
1723
|
value: function getRecommendedProducts() {
|
|
1650
|
-
var
|
|
1651
|
-
for (var
|
|
1652
|
-
args[
|
|
1724
|
+
var _this45 = this;
|
|
1725
|
+
for (var _len36 = arguments.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1726
|
+
args[_key36] = arguments[_key36];
|
|
1653
1727
|
}
|
|
1654
1728
|
return this.measurePerformance('getRecommendedProducts', function () {
|
|
1655
|
-
var
|
|
1656
|
-
return (
|
|
1729
|
+
var _this45$_invitationsC;
|
|
1730
|
+
return (_this45$_invitationsC = _this45._invitationsClient).getProductRecommendations.apply(_this45$_invitationsC, args);
|
|
1657
1731
|
});
|
|
1658
1732
|
}
|
|
1659
1733
|
}, {
|
|
1660
1734
|
key: "joinOrRequestDefaultAccessToProductsBulk",
|
|
1661
1735
|
value: function joinOrRequestDefaultAccessToProductsBulk() {
|
|
1662
|
-
var
|
|
1663
|
-
for (var
|
|
1664
|
-
args[
|
|
1736
|
+
var _this46 = this;
|
|
1737
|
+
for (var _len37 = arguments.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1738
|
+
args[_key37] = arguments[_key37];
|
|
1665
1739
|
}
|
|
1666
1740
|
return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
|
|
1667
|
-
var
|
|
1668
|
-
return (
|
|
1741
|
+
var _this46$_invitationsC;
|
|
1742
|
+
return (_this46$_invitationsC = _this46._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this46$_invitationsC, args);
|
|
1669
1743
|
});
|
|
1670
1744
|
}
|
|
1671
1745
|
|
|
@@ -1675,19 +1749,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1675
1749
|
}, {
|
|
1676
1750
|
key: "getWriteTeamMediaToken",
|
|
1677
1751
|
value: (function () {
|
|
1678
|
-
var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1679
|
-
var
|
|
1680
|
-
return _regeneratorRuntime.wrap(function
|
|
1681
|
-
while (1) switch (
|
|
1752
|
+
var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee46() {
|
|
1753
|
+
var _this47 = this;
|
|
1754
|
+
return _regeneratorRuntime.wrap(function _callee46$(_context46) {
|
|
1755
|
+
while (1) switch (_context46.prev = _context46.next) {
|
|
1682
1756
|
case 0:
|
|
1683
|
-
return
|
|
1684
|
-
return
|
|
1757
|
+
return _context46.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1758
|
+
return _this47._legionClient.getWriteMediaToken();
|
|
1685
1759
|
}));
|
|
1686
1760
|
case 1:
|
|
1687
1761
|
case "end":
|
|
1688
|
-
return
|
|
1762
|
+
return _context46.stop();
|
|
1689
1763
|
}
|
|
1690
|
-
},
|
|
1764
|
+
}, _callee46, this);
|
|
1691
1765
|
}));
|
|
1692
1766
|
function getWriteTeamMediaToken() {
|
|
1693
1767
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1701,27 +1775,27 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1701
1775
|
}, {
|
|
1702
1776
|
key: "getReadMediaToken",
|
|
1703
1777
|
value: (function () {
|
|
1704
|
-
var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1705
|
-
var
|
|
1706
|
-
var
|
|
1778
|
+
var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee47() {
|
|
1779
|
+
var _this48 = this;
|
|
1780
|
+
var _len38,
|
|
1707
1781
|
args,
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
return _regeneratorRuntime.wrap(function
|
|
1711
|
-
while (1) switch (
|
|
1782
|
+
_key38,
|
|
1783
|
+
_args47 = arguments;
|
|
1784
|
+
return _regeneratorRuntime.wrap(function _callee47$(_context47) {
|
|
1785
|
+
while (1) switch (_context47.prev = _context47.next) {
|
|
1712
1786
|
case 0:
|
|
1713
|
-
for (
|
|
1714
|
-
args[
|
|
1787
|
+
for (_len38 = _args47.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1788
|
+
args[_key38] = _args47[_key38];
|
|
1715
1789
|
}
|
|
1716
|
-
return
|
|
1717
|
-
var
|
|
1718
|
-
return (
|
|
1790
|
+
return _context47.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1791
|
+
var _this48$_userPreferen;
|
|
1792
|
+
return (_this48$_userPreferen = _this48._userPreferencesClient).getReadMediaToken.apply(_this48$_userPreferen, args);
|
|
1719
1793
|
}));
|
|
1720
1794
|
case 2:
|
|
1721
1795
|
case "end":
|
|
1722
|
-
return
|
|
1796
|
+
return _context47.stop();
|
|
1723
1797
|
}
|
|
1724
|
-
},
|
|
1798
|
+
}, _callee47, this);
|
|
1725
1799
|
}));
|
|
1726
1800
|
function getReadMediaToken() {
|
|
1727
1801
|
return _getReadMediaToken.apply(this, arguments);
|
|
@@ -1735,19 +1809,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1735
1809
|
}, {
|
|
1736
1810
|
key: "getWriteUserMediaToken",
|
|
1737
1811
|
value: (function () {
|
|
1738
|
-
var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1739
|
-
var
|
|
1740
|
-
return _regeneratorRuntime.wrap(function
|
|
1741
|
-
while (1) switch (
|
|
1812
|
+
var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee48() {
|
|
1813
|
+
var _this49 = this;
|
|
1814
|
+
return _regeneratorRuntime.wrap(function _callee48$(_context48) {
|
|
1815
|
+
while (1) switch (_context48.prev = _context48.next) {
|
|
1742
1816
|
case 0:
|
|
1743
|
-
return
|
|
1744
|
-
return
|
|
1817
|
+
return _context48.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1818
|
+
return _this49._userPreferencesClient.getWriteMediaToken();
|
|
1745
1819
|
}));
|
|
1746
1820
|
case 1:
|
|
1747
1821
|
case "end":
|
|
1748
|
-
return
|
|
1822
|
+
return _context48.stop();
|
|
1749
1823
|
}
|
|
1750
|
-
},
|
|
1824
|
+
}, _callee48, this);
|
|
1751
1825
|
}));
|
|
1752
1826
|
function getWriteUserMediaToken() {
|
|
1753
1827
|
return _getWriteUserMediaToken.apply(this, arguments);
|
|
@@ -1761,19 +1835,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1761
1835
|
}, {
|
|
1762
1836
|
key: "updateUserHeaderImage",
|
|
1763
1837
|
value: (function () {
|
|
1764
|
-
var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1765
|
-
var
|
|
1766
|
-
return _regeneratorRuntime.wrap(function
|
|
1767
|
-
while (1) switch (
|
|
1838
|
+
var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee49(headerImageId) {
|
|
1839
|
+
var _this50 = this;
|
|
1840
|
+
return _regeneratorRuntime.wrap(function _callee49$(_context49) {
|
|
1841
|
+
while (1) switch (_context49.prev = _context49.next) {
|
|
1768
1842
|
case 0:
|
|
1769
|
-
return
|
|
1770
|
-
return
|
|
1843
|
+
return _context49.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1844
|
+
return _this50._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1771
1845
|
}));
|
|
1772
1846
|
case 1:
|
|
1773
1847
|
case "end":
|
|
1774
|
-
return
|
|
1848
|
+
return _context49.stop();
|
|
1775
1849
|
}
|
|
1776
|
-
},
|
|
1850
|
+
}, _callee49, this);
|
|
1777
1851
|
}));
|
|
1778
1852
|
function updateUserHeaderImage(_x13) {
|
|
1779
1853
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
@@ -1787,75 +1861,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1787
1861
|
}, {
|
|
1788
1862
|
key: "getUserContainers",
|
|
1789
1863
|
value: (function () {
|
|
1790
|
-
var _getUserContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1791
|
-
var _this49 = this;
|
|
1792
|
-
var _len37,
|
|
1793
|
-
args,
|
|
1794
|
-
_key37,
|
|
1795
|
-
_args48 = arguments;
|
|
1796
|
-
return _regeneratorRuntime.wrap(function _callee48$(_context48) {
|
|
1797
|
-
while (1) switch (_context48.prev = _context48.next) {
|
|
1798
|
-
case 0:
|
|
1799
|
-
for (_len37 = _args48.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1800
|
-
args[_key37] = _args48[_key37];
|
|
1801
|
-
}
|
|
1802
|
-
return _context48.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1803
|
-
var _this49$_collaboratio;
|
|
1804
|
-
return (_this49$_collaboratio = _this49._collaborationGraphClient).getUserContainers.apply(_this49$_collaboratio, args);
|
|
1805
|
-
}));
|
|
1806
|
-
case 2:
|
|
1807
|
-
case "end":
|
|
1808
|
-
return _context48.stop();
|
|
1809
|
-
}
|
|
1810
|
-
}, _callee48, this);
|
|
1811
|
-
}));
|
|
1812
|
-
function getUserContainers() {
|
|
1813
|
-
return _getUserContainers.apply(this, arguments);
|
|
1814
|
-
}
|
|
1815
|
-
return getUserContainers;
|
|
1816
|
-
}()
|
|
1817
|
-
/**
|
|
1818
|
-
* Fetch mutatability of external managed user fields
|
|
1819
|
-
*/
|
|
1820
|
-
)
|
|
1821
|
-
}, {
|
|
1822
|
-
key: "getUserManageConfig",
|
|
1823
|
-
value: (function () {
|
|
1824
|
-
var _getUserManageConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee49() {
|
|
1825
|
-
var _this50 = this;
|
|
1826
|
-
var _len38,
|
|
1827
|
-
args,
|
|
1828
|
-
_key38,
|
|
1829
|
-
_args49 = arguments;
|
|
1830
|
-
return _regeneratorRuntime.wrap(function _callee49$(_context49) {
|
|
1831
|
-
while (1) switch (_context49.prev = _context49.next) {
|
|
1832
|
-
case 0:
|
|
1833
|
-
for (_len38 = _args49.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1834
|
-
args[_key38] = _args49[_key38];
|
|
1835
|
-
}
|
|
1836
|
-
return _context49.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1837
|
-
var _this50$_identityClie;
|
|
1838
|
-
return (_this50$_identityClie = _this50._identityClient).getUserManageConfig.apply(_this50$_identityClie, args);
|
|
1839
|
-
}));
|
|
1840
|
-
case 2:
|
|
1841
|
-
case "end":
|
|
1842
|
-
return _context49.stop();
|
|
1843
|
-
}
|
|
1844
|
-
}, _callee49, this);
|
|
1845
|
-
}));
|
|
1846
|
-
function getUserManageConfig() {
|
|
1847
|
-
return _getUserManageConfig.apply(this, arguments);
|
|
1848
|
-
}
|
|
1849
|
-
return getUserManageConfig;
|
|
1850
|
-
}()
|
|
1851
|
-
/**
|
|
1852
|
-
* Fetch user avatar uploaded status
|
|
1853
|
-
*/
|
|
1854
|
-
)
|
|
1855
|
-
}, {
|
|
1856
|
-
key: "getMyAvatarUploadedStatus",
|
|
1857
|
-
value: (function () {
|
|
1858
|
-
var _getMyAvatarUploadedStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee50() {
|
|
1864
|
+
var _getUserContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee50() {
|
|
1859
1865
|
var _this51 = this;
|
|
1860
1866
|
var _len39,
|
|
1861
1867
|
args,
|
|
@@ -1867,9 +1873,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1867
1873
|
for (_len39 = _args50.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1868
1874
|
args[_key39] = _args50[_key39];
|
|
1869
1875
|
}
|
|
1870
|
-
return _context50.abrupt("return", this.measurePerformance('
|
|
1871
|
-
var _this51$
|
|
1872
|
-
return (_this51$
|
|
1876
|
+
return _context50.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1877
|
+
var _this51$_collaboratio;
|
|
1878
|
+
return (_this51$_collaboratio = _this51._collaborationGraphClient).getUserContainers.apply(_this51$_collaboratio, args);
|
|
1873
1879
|
}));
|
|
1874
1880
|
case 2:
|
|
1875
1881
|
case "end":
|
|
@@ -1877,19 +1883,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1877
1883
|
}
|
|
1878
1884
|
}, _callee50, this);
|
|
1879
1885
|
}));
|
|
1880
|
-
function
|
|
1881
|
-
return
|
|
1886
|
+
function getUserContainers() {
|
|
1887
|
+
return _getUserContainers.apply(this, arguments);
|
|
1882
1888
|
}
|
|
1883
|
-
return
|
|
1889
|
+
return getUserContainers;
|
|
1884
1890
|
}()
|
|
1885
1891
|
/**
|
|
1886
|
-
*
|
|
1892
|
+
* Fetch mutatability of external managed user fields
|
|
1887
1893
|
*/
|
|
1888
1894
|
)
|
|
1889
1895
|
}, {
|
|
1890
|
-
key: "
|
|
1896
|
+
key: "getUserManageConfig",
|
|
1891
1897
|
value: (function () {
|
|
1892
|
-
var
|
|
1898
|
+
var _getUserManageConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee51() {
|
|
1893
1899
|
var _this52 = this;
|
|
1894
1900
|
var _len40,
|
|
1895
1901
|
args,
|
|
@@ -1901,9 +1907,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1901
1907
|
for (_len40 = _args51.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1902
1908
|
args[_key40] = _args51[_key40];
|
|
1903
1909
|
}
|
|
1904
|
-
return _context51.abrupt("return", this.measurePerformance('
|
|
1910
|
+
return _context51.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1905
1911
|
var _this52$_identityClie;
|
|
1906
|
-
return (_this52$_identityClie = _this52._identityClient).
|
|
1912
|
+
return (_this52$_identityClie = _this52._identityClient).getUserManageConfig.apply(_this52$_identityClie, args);
|
|
1907
1913
|
}));
|
|
1908
1914
|
case 2:
|
|
1909
1915
|
case "end":
|
|
@@ -1911,15 +1917,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1911
1917
|
}
|
|
1912
1918
|
}, _callee51, this);
|
|
1913
1919
|
}));
|
|
1914
|
-
function
|
|
1915
|
-
return
|
|
1920
|
+
function getUserManageConfig() {
|
|
1921
|
+
return _getUserManageConfig.apply(this, arguments);
|
|
1916
1922
|
}
|
|
1917
|
-
return
|
|
1918
|
-
}()
|
|
1923
|
+
return getUserManageConfig;
|
|
1924
|
+
}()
|
|
1925
|
+
/**
|
|
1926
|
+
* Fetch user avatar uploaded status
|
|
1927
|
+
*/
|
|
1928
|
+
)
|
|
1919
1929
|
}, {
|
|
1920
|
-
key: "
|
|
1921
|
-
value: function () {
|
|
1922
|
-
var
|
|
1930
|
+
key: "getMyAvatarUploadedStatus",
|
|
1931
|
+
value: (function () {
|
|
1932
|
+
var _getMyAvatarUploadedStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee52() {
|
|
1923
1933
|
var _this53 = this;
|
|
1924
1934
|
var _len41,
|
|
1925
1935
|
args,
|
|
@@ -1931,9 +1941,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1931
1941
|
for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1932
1942
|
args[_key41] = _args52[_key41];
|
|
1933
1943
|
}
|
|
1934
|
-
return _context52.abrupt("return", this.measurePerformance('
|
|
1944
|
+
return _context52.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
1935
1945
|
var _this53$_identityClie;
|
|
1936
|
-
return (_this53$_identityClie = _this53._identityClient).
|
|
1946
|
+
return (_this53$_identityClie = _this53._identityClient).getMyAvatarUploadedStatus.apply(_this53$_identityClie, args);
|
|
1937
1947
|
}));
|
|
1938
1948
|
case 2:
|
|
1939
1949
|
case "end":
|
|
@@ -1941,18 +1951,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1941
1951
|
}
|
|
1942
1952
|
}, _callee52, this);
|
|
1943
1953
|
}));
|
|
1944
|
-
function
|
|
1945
|
-
return
|
|
1954
|
+
function getMyAvatarUploadedStatus() {
|
|
1955
|
+
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
1946
1956
|
}
|
|
1947
|
-
return
|
|
1957
|
+
return getMyAvatarUploadedStatus;
|
|
1948
1958
|
}()
|
|
1949
1959
|
/**
|
|
1950
|
-
*
|
|
1960
|
+
* Delete user avatar
|
|
1951
1961
|
*/
|
|
1962
|
+
)
|
|
1952
1963
|
}, {
|
|
1953
|
-
key: "
|
|
1964
|
+
key: "deleteAvatar",
|
|
1954
1965
|
value: (function () {
|
|
1955
|
-
var
|
|
1966
|
+
var _deleteAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee53() {
|
|
1956
1967
|
var _this54 = this;
|
|
1957
1968
|
var _len42,
|
|
1958
1969
|
args,
|
|
@@ -1964,9 +1975,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1964
1975
|
for (_len42 = _args53.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
|
|
1965
1976
|
args[_key42] = _args53[_key42];
|
|
1966
1977
|
}
|
|
1967
|
-
return _context53.abrupt("return", this.measurePerformance('
|
|
1968
|
-
var _this54$
|
|
1969
|
-
return (_this54$
|
|
1978
|
+
return _context53.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
1979
|
+
var _this54$_identityClie;
|
|
1980
|
+
return (_this54$_identityClie = _this54._identityClient).deleteAvatar.apply(_this54$_identityClie, args);
|
|
1970
1981
|
}));
|
|
1971
1982
|
case 2:
|
|
1972
1983
|
case "end":
|
|
@@ -1974,19 +1985,15 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1974
1985
|
}
|
|
1975
1986
|
}, _callee53, this);
|
|
1976
1987
|
}));
|
|
1977
|
-
function
|
|
1978
|
-
return
|
|
1988
|
+
function deleteAvatar() {
|
|
1989
|
+
return _deleteAvatar.apply(this, arguments);
|
|
1979
1990
|
}
|
|
1980
|
-
return
|
|
1981
|
-
}()
|
|
1982
|
-
/**
|
|
1983
|
-
* Fetch ARI from URL
|
|
1984
|
-
*/
|
|
1985
|
-
)
|
|
1991
|
+
return deleteAvatar;
|
|
1992
|
+
}())
|
|
1986
1993
|
}, {
|
|
1987
|
-
key: "
|
|
1988
|
-
value:
|
|
1989
|
-
var
|
|
1994
|
+
key: "fetchUserAvatarInfo",
|
|
1995
|
+
value: function () {
|
|
1996
|
+
var _fetchUserAvatarInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee54() {
|
|
1990
1997
|
var _this55 = this;
|
|
1991
1998
|
var _len43,
|
|
1992
1999
|
args,
|
|
@@ -1998,9 +2005,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1998
2005
|
for (_len43 = _args54.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
|
|
1999
2006
|
args[_key43] = _args54[_key43];
|
|
2000
2007
|
}
|
|
2001
|
-
return _context54.abrupt("return", this.measurePerformance('
|
|
2002
|
-
var _this55$
|
|
2003
|
-
return (_this55$
|
|
2008
|
+
return _context54.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
2009
|
+
var _this55$_identityClie;
|
|
2010
|
+
return (_this55$_identityClie = _this55._identityClient).fetchUserAvatarInfo.apply(_this55$_identityClie, args);
|
|
2004
2011
|
}));
|
|
2005
2012
|
case 2:
|
|
2006
2013
|
case "end":
|
|
@@ -2008,19 +2015,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2008
2015
|
}
|
|
2009
2016
|
}, _callee54, this);
|
|
2010
2017
|
}));
|
|
2011
|
-
function
|
|
2012
|
-
return
|
|
2018
|
+
function fetchUserAvatarInfo() {
|
|
2019
|
+
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
2013
2020
|
}
|
|
2014
|
-
return
|
|
2021
|
+
return fetchUserAvatarInfo;
|
|
2015
2022
|
}()
|
|
2016
2023
|
/**
|
|
2017
|
-
* Fetch
|
|
2024
|
+
* Fetch Team link icons
|
|
2018
2025
|
*/
|
|
2019
|
-
)
|
|
2020
2026
|
}, {
|
|
2021
|
-
key: "
|
|
2027
|
+
key: "getTeamLinkIcons",
|
|
2022
2028
|
value: (function () {
|
|
2023
|
-
var
|
|
2029
|
+
var _getTeamLinkIcons = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee55() {
|
|
2024
2030
|
var _this56 = this;
|
|
2025
2031
|
var _len44,
|
|
2026
2032
|
args,
|
|
@@ -2032,9 +2038,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2032
2038
|
for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2033
2039
|
args[_key44] = _args55[_key44];
|
|
2034
2040
|
}
|
|
2035
|
-
return _context55.abrupt("return", this.measurePerformance('
|
|
2041
|
+
return _context55.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
|
|
2036
2042
|
var _this56$_objectResolv;
|
|
2037
|
-
return (_this56$_objectResolv = _this56._objectResolverClient).
|
|
2043
|
+
return (_this56$_objectResolv = _this56._objectResolverClient).getTeamLinkIcons.apply(_this56$_objectResolv, args);
|
|
2038
2044
|
}));
|
|
2039
2045
|
case 2:
|
|
2040
2046
|
case "end":
|
|
@@ -2042,19 +2048,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2042
2048
|
}
|
|
2043
2049
|
}, _callee55, this);
|
|
2044
2050
|
}));
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2051
|
+
function getTeamLinkIcons() {
|
|
2052
|
+
return _getTeamLinkIcons.apply(this, arguments);
|
|
2047
2053
|
}
|
|
2048
|
-
return
|
|
2054
|
+
return getTeamLinkIcons;
|
|
2049
2055
|
}()
|
|
2050
2056
|
/**
|
|
2051
|
-
* Fetch
|
|
2057
|
+
* Fetch ARI from URL
|
|
2052
2058
|
*/
|
|
2053
2059
|
)
|
|
2054
2060
|
}, {
|
|
2055
|
-
key: "
|
|
2061
|
+
key: "getAriFromUrl",
|
|
2056
2062
|
value: (function () {
|
|
2057
|
-
var
|
|
2063
|
+
var _getAriFromUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee56() {
|
|
2058
2064
|
var _this57 = this;
|
|
2059
2065
|
var _len45,
|
|
2060
2066
|
args,
|
|
@@ -2066,9 +2072,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2066
2072
|
for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
|
|
2067
2073
|
args[_key45] = _args56[_key45];
|
|
2068
2074
|
}
|
|
2069
|
-
return _context56.abrupt("return", this.measurePerformance('
|
|
2070
|
-
var _this57$
|
|
2071
|
-
return (_this57$
|
|
2075
|
+
return _context56.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
|
|
2076
|
+
var _this57$_objectResolv;
|
|
2077
|
+
return (_this57$_objectResolv = _this57._objectResolverClient).getAriFromUrl.apply(_this57$_objectResolv, args);
|
|
2072
2078
|
}));
|
|
2073
2079
|
case 2:
|
|
2074
2080
|
case "end":
|
|
@@ -2076,19 +2082,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2076
2082
|
}
|
|
2077
2083
|
}, _callee56, this);
|
|
2078
2084
|
}));
|
|
2079
|
-
function
|
|
2080
|
-
return
|
|
2085
|
+
function getAriFromUrl() {
|
|
2086
|
+
return _getAriFromUrl.apply(this, arguments);
|
|
2081
2087
|
}
|
|
2082
|
-
return
|
|
2088
|
+
return getAriFromUrl;
|
|
2083
2089
|
}()
|
|
2084
2090
|
/**
|
|
2085
|
-
*
|
|
2091
|
+
* Fetch web link title
|
|
2086
2092
|
*/
|
|
2087
2093
|
)
|
|
2088
2094
|
}, {
|
|
2089
|
-
key: "
|
|
2095
|
+
key: "getWebLinkTitle",
|
|
2090
2096
|
value: (function () {
|
|
2091
|
-
var
|
|
2097
|
+
var _getWebLinkTitle = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee57() {
|
|
2092
2098
|
var _this58 = this;
|
|
2093
2099
|
var _len46,
|
|
2094
2100
|
args,
|
|
@@ -2100,9 +2106,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2100
2106
|
for (_len46 = _args57.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
|
|
2101
2107
|
args[_key46] = _args57[_key46];
|
|
2102
2108
|
}
|
|
2103
|
-
return _context57.abrupt("return", this.measurePerformance('
|
|
2104
|
-
var _this58$
|
|
2105
|
-
return (_this58$
|
|
2109
|
+
return _context57.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
|
|
2110
|
+
var _this58$_objectResolv;
|
|
2111
|
+
return (_this58$_objectResolv = _this58._objectResolverClient).getWebLinkTitle.apply(_this58$_objectResolv, args);
|
|
2106
2112
|
}));
|
|
2107
2113
|
case 2:
|
|
2108
2114
|
case "end":
|
|
@@ -2110,19 +2116,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2110
2116
|
}
|
|
2111
2117
|
}, _callee57, this);
|
|
2112
2118
|
}));
|
|
2113
|
-
function
|
|
2114
|
-
return
|
|
2119
|
+
function getWebLinkTitle() {
|
|
2120
|
+
return _getWebLinkTitle.apply(this, arguments);
|
|
2115
2121
|
}
|
|
2116
|
-
return
|
|
2122
|
+
return getWebLinkTitle;
|
|
2117
2123
|
}()
|
|
2118
2124
|
/**
|
|
2119
|
-
*
|
|
2125
|
+
* Fetch team in slack details
|
|
2120
2126
|
*/
|
|
2121
2127
|
)
|
|
2122
2128
|
}, {
|
|
2123
|
-
key: "
|
|
2129
|
+
key: "getTeamInSlack",
|
|
2124
2130
|
value: (function () {
|
|
2125
|
-
var
|
|
2131
|
+
var _getTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58() {
|
|
2126
2132
|
var _this59 = this;
|
|
2127
2133
|
var _len47,
|
|
2128
2134
|
args,
|
|
@@ -2134,9 +2140,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2134
2140
|
for (_len47 = _args58.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
|
|
2135
2141
|
args[_key47] = _args58[_key47];
|
|
2136
2142
|
}
|
|
2137
|
-
return _context58.abrupt("return", this.measurePerformance('
|
|
2143
|
+
return _context58.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
|
|
2138
2144
|
var _this59$_teamsInSlack;
|
|
2139
|
-
return (_this59$_teamsInSlack = _this59._teamsInSlackClient).
|
|
2145
|
+
return (_this59$_teamsInSlack = _this59._teamsInSlackClient).getTeamInSlack.apply(_this59$_teamsInSlack, args);
|
|
2140
2146
|
}));
|
|
2141
2147
|
case 2:
|
|
2142
2148
|
case "end":
|
|
@@ -2144,19 +2150,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2144
2150
|
}
|
|
2145
2151
|
}, _callee58, this);
|
|
2146
2152
|
}));
|
|
2147
|
-
function
|
|
2148
|
-
return
|
|
2153
|
+
function getTeamInSlack() {
|
|
2154
|
+
return _getTeamInSlack.apply(this, arguments);
|
|
2149
2155
|
}
|
|
2150
|
-
return
|
|
2156
|
+
return getTeamInSlack;
|
|
2151
2157
|
}()
|
|
2152
2158
|
/**
|
|
2153
|
-
*
|
|
2159
|
+
* Delete team in slack
|
|
2154
2160
|
*/
|
|
2155
2161
|
)
|
|
2156
2162
|
}, {
|
|
2157
|
-
key: "
|
|
2163
|
+
key: "disconnectTeamInSlack",
|
|
2158
2164
|
value: (function () {
|
|
2159
|
-
var
|
|
2165
|
+
var _disconnectTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee59() {
|
|
2160
2166
|
var _this60 = this;
|
|
2161
2167
|
var _len48,
|
|
2162
2168
|
args,
|
|
@@ -2168,9 +2174,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2168
2174
|
for (_len48 = _args59.length, args = new Array(_len48), _key48 = 0; _key48 < _len48; _key48++) {
|
|
2169
2175
|
args[_key48] = _args59[_key48];
|
|
2170
2176
|
}
|
|
2171
|
-
return _context59.abrupt("return", this.measurePerformance('
|
|
2172
|
-
var _this60$
|
|
2173
|
-
return (_this60$
|
|
2177
|
+
return _context59.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
2178
|
+
var _this60$_teamsInSlack;
|
|
2179
|
+
return (_this60$_teamsInSlack = _this60._teamsInSlackClient).disconnectTeamInSlack.apply(_this60$_teamsInSlack, args);
|
|
2174
2180
|
}));
|
|
2175
2181
|
case 2:
|
|
2176
2182
|
case "end":
|
|
@@ -2178,15 +2184,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2178
2184
|
}
|
|
2179
2185
|
}, _callee59, this);
|
|
2180
2186
|
}));
|
|
2181
|
-
function
|
|
2182
|
-
return
|
|
2187
|
+
function disconnectTeamInSlack() {
|
|
2188
|
+
return _disconnectTeamInSlack.apply(this, arguments);
|
|
2183
2189
|
}
|
|
2184
|
-
return
|
|
2185
|
-
}()
|
|
2190
|
+
return disconnectTeamInSlack;
|
|
2191
|
+
}()
|
|
2192
|
+
/**
|
|
2193
|
+
* Update team in slack
|
|
2194
|
+
*/
|
|
2195
|
+
)
|
|
2186
2196
|
}, {
|
|
2187
|
-
key: "
|
|
2188
|
-
value: function () {
|
|
2189
|
-
var
|
|
2197
|
+
key: "updateTeamInSlack",
|
|
2198
|
+
value: (function () {
|
|
2199
|
+
var _updateTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee60() {
|
|
2190
2200
|
var _this61 = this;
|
|
2191
2201
|
var _len49,
|
|
2192
2202
|
args,
|
|
@@ -2198,9 +2208,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2198
2208
|
for (_len49 = _args60.length, args = new Array(_len49), _key49 = 0; _key49 < _len49; _key49++) {
|
|
2199
2209
|
args[_key49] = _args60[_key49];
|
|
2200
2210
|
}
|
|
2201
|
-
return _context60.abrupt("return", this.measurePerformance('
|
|
2202
|
-
var _this61$
|
|
2203
|
-
return (_this61$
|
|
2211
|
+
return _context60.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
2212
|
+
var _this61$_teamsInSlack;
|
|
2213
|
+
return (_this61$_teamsInSlack = _this61._teamsInSlackClient).updateTeamInSlack.apply(_this61$_teamsInSlack, args);
|
|
2204
2214
|
}));
|
|
2205
2215
|
case 2:
|
|
2206
2216
|
case "end":
|
|
@@ -2208,6 +2218,70 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2208
2218
|
}
|
|
2209
2219
|
}, _callee60, this);
|
|
2210
2220
|
}));
|
|
2221
|
+
function updateTeamInSlack() {
|
|
2222
|
+
return _updateTeamInSlack.apply(this, arguments);
|
|
2223
|
+
}
|
|
2224
|
+
return updateTeamInSlack;
|
|
2225
|
+
}()
|
|
2226
|
+
/**
|
|
2227
|
+
* Update user details
|
|
2228
|
+
*/
|
|
2229
|
+
)
|
|
2230
|
+
}, {
|
|
2231
|
+
key: "updateUser",
|
|
2232
|
+
value: (function () {
|
|
2233
|
+
var _updateUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee61() {
|
|
2234
|
+
var _this62 = this;
|
|
2235
|
+
var _len50,
|
|
2236
|
+
args,
|
|
2237
|
+
_key50,
|
|
2238
|
+
_args61 = arguments;
|
|
2239
|
+
return _regeneratorRuntime.wrap(function _callee61$(_context61) {
|
|
2240
|
+
while (1) switch (_context61.prev = _context61.next) {
|
|
2241
|
+
case 0:
|
|
2242
|
+
for (_len50 = _args61.length, args = new Array(_len50), _key50 = 0; _key50 < _len50; _key50++) {
|
|
2243
|
+
args[_key50] = _args61[_key50];
|
|
2244
|
+
}
|
|
2245
|
+
return _context61.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
2246
|
+
var _this62$_identityClie;
|
|
2247
|
+
return (_this62$_identityClie = _this62._identityClient).updateUser.apply(_this62$_identityClie, args);
|
|
2248
|
+
}));
|
|
2249
|
+
case 2:
|
|
2250
|
+
case "end":
|
|
2251
|
+
return _context61.stop();
|
|
2252
|
+
}
|
|
2253
|
+
}, _callee61, this);
|
|
2254
|
+
}));
|
|
2255
|
+
function updateUser() {
|
|
2256
|
+
return _updateUser.apply(this, arguments);
|
|
2257
|
+
}
|
|
2258
|
+
return updateUser;
|
|
2259
|
+
}())
|
|
2260
|
+
}, {
|
|
2261
|
+
key: "updateUserAvatar",
|
|
2262
|
+
value: function () {
|
|
2263
|
+
var _updateUserAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee62() {
|
|
2264
|
+
var _this63 = this;
|
|
2265
|
+
var _len51,
|
|
2266
|
+
args,
|
|
2267
|
+
_key51,
|
|
2268
|
+
_args62 = arguments;
|
|
2269
|
+
return _regeneratorRuntime.wrap(function _callee62$(_context62) {
|
|
2270
|
+
while (1) switch (_context62.prev = _context62.next) {
|
|
2271
|
+
case 0:
|
|
2272
|
+
for (_len51 = _args62.length, args = new Array(_len51), _key51 = 0; _key51 < _len51; _key51++) {
|
|
2273
|
+
args[_key51] = _args62[_key51];
|
|
2274
|
+
}
|
|
2275
|
+
return _context62.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
2276
|
+
var _this63$_identityClie;
|
|
2277
|
+
return (_this63$_identityClie = _this63._identityClient).updateUserAvatar.apply(_this63$_identityClie, args);
|
|
2278
|
+
}));
|
|
2279
|
+
case 2:
|
|
2280
|
+
case "end":
|
|
2281
|
+
return _context62.stop();
|
|
2282
|
+
}
|
|
2283
|
+
}, _callee62, this);
|
|
2284
|
+
}));
|
|
2211
2285
|
function updateUserAvatar() {
|
|
2212
2286
|
return _updateUserAvatar.apply(this, arguments);
|
|
2213
2287
|
}
|
|
@@ -2216,18 +2290,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2216
2290
|
}, {
|
|
2217
2291
|
key: "addTeamWatcher",
|
|
2218
2292
|
value: function () {
|
|
2219
|
-
var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2293
|
+
var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee63() {
|
|
2220
2294
|
var _this$_teamCentralCli;
|
|
2221
|
-
var
|
|
2222
|
-
return _regeneratorRuntime.wrap(function
|
|
2223
|
-
while (1) switch (
|
|
2295
|
+
var _args63 = arguments;
|
|
2296
|
+
return _regeneratorRuntime.wrap(function _callee63$(_context63) {
|
|
2297
|
+
while (1) switch (_context63.prev = _context63.next) {
|
|
2224
2298
|
case 0:
|
|
2225
|
-
return
|
|
2299
|
+
return _context63.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args63));
|
|
2226
2300
|
case 1:
|
|
2227
2301
|
case "end":
|
|
2228
|
-
return
|
|
2302
|
+
return _context63.stop();
|
|
2229
2303
|
}
|
|
2230
|
-
},
|
|
2304
|
+
}, _callee63, this);
|
|
2231
2305
|
}));
|
|
2232
2306
|
function addTeamWatcher() {
|
|
2233
2307
|
return _addTeamWatcher.apply(this, arguments);
|
|
@@ -2237,18 +2311,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2237
2311
|
}, {
|
|
2238
2312
|
key: "removeTeamWatcher",
|
|
2239
2313
|
value: function () {
|
|
2240
|
-
var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2314
|
+
var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee64() {
|
|
2241
2315
|
var _this$_teamCentralCli2;
|
|
2242
|
-
var
|
|
2243
|
-
return _regeneratorRuntime.wrap(function
|
|
2244
|
-
while (1) switch (
|
|
2316
|
+
var _args64 = arguments;
|
|
2317
|
+
return _regeneratorRuntime.wrap(function _callee64$(_context64) {
|
|
2318
|
+
while (1) switch (_context64.prev = _context64.next) {
|
|
2245
2319
|
case 0:
|
|
2246
|
-
return
|
|
2320
|
+
return _context64.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args64));
|
|
2247
2321
|
case 1:
|
|
2248
2322
|
case "end":
|
|
2249
|
-
return
|
|
2323
|
+
return _context64.stop();
|
|
2250
2324
|
}
|
|
2251
|
-
},
|
|
2325
|
+
}, _callee64, this);
|
|
2252
2326
|
}));
|
|
2253
2327
|
function removeTeamWatcher() {
|
|
2254
2328
|
return _removeTeamWatcher.apply(this, arguments);
|
|
@@ -2258,18 +2332,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2258
2332
|
}, {
|
|
2259
2333
|
key: "deleteKudos",
|
|
2260
2334
|
value: function () {
|
|
2261
|
-
var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2335
|
+
var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee65() {
|
|
2262
2336
|
var _this$_teamCentralCli3;
|
|
2263
|
-
var
|
|
2264
|
-
return _regeneratorRuntime.wrap(function
|
|
2265
|
-
while (1) switch (
|
|
2337
|
+
var _args65 = arguments;
|
|
2338
|
+
return _regeneratorRuntime.wrap(function _callee65$(_context65) {
|
|
2339
|
+
while (1) switch (_context65.prev = _context65.next) {
|
|
2266
2340
|
case 0:
|
|
2267
|
-
return
|
|
2341
|
+
return _context65.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args65));
|
|
2268
2342
|
case 1:
|
|
2269
2343
|
case "end":
|
|
2270
|
-
return
|
|
2344
|
+
return _context65.stop();
|
|
2271
2345
|
}
|
|
2272
|
-
},
|
|
2346
|
+
}, _callee65, this);
|
|
2273
2347
|
}));
|
|
2274
2348
|
function deleteKudos() {
|
|
2275
2349
|
return _deleteKudos.apply(this, arguments);
|
|
@@ -2279,18 +2353,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2279
2353
|
}, {
|
|
2280
2354
|
key: "queryTagList",
|
|
2281
2355
|
value: function () {
|
|
2282
|
-
var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2356
|
+
var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee66() {
|
|
2283
2357
|
var _this$_teamCentralCli4;
|
|
2284
|
-
var
|
|
2285
|
-
return _regeneratorRuntime.wrap(function
|
|
2286
|
-
while (1) switch (
|
|
2358
|
+
var _args66 = arguments;
|
|
2359
|
+
return _regeneratorRuntime.wrap(function _callee66$(_context66) {
|
|
2360
|
+
while (1) switch (_context66.prev = _context66.next) {
|
|
2287
2361
|
case 0:
|
|
2288
|
-
return
|
|
2362
|
+
return _context66.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args66));
|
|
2289
2363
|
case 1:
|
|
2290
2364
|
case "end":
|
|
2291
|
-
return
|
|
2365
|
+
return _context66.stop();
|
|
2292
2366
|
}
|
|
2293
|
-
},
|
|
2367
|
+
}, _callee66, this);
|
|
2294
2368
|
}));
|
|
2295
2369
|
function queryTagList() {
|
|
2296
2370
|
return _queryTagList.apply(this, arguments);
|
|
@@ -2300,18 +2374,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2300
2374
|
}, {
|
|
2301
2375
|
key: "createTag",
|
|
2302
2376
|
value: function () {
|
|
2303
|
-
var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2377
|
+
var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee67() {
|
|
2304
2378
|
var _this$_teamCentralCli5;
|
|
2305
|
-
var
|
|
2306
|
-
return _regeneratorRuntime.wrap(function
|
|
2307
|
-
while (1) switch (
|
|
2379
|
+
var _args67 = arguments;
|
|
2380
|
+
return _regeneratorRuntime.wrap(function _callee67$(_context67) {
|
|
2381
|
+
while (1) switch (_context67.prev = _context67.next) {
|
|
2308
2382
|
case 0:
|
|
2309
|
-
return
|
|
2383
|
+
return _context67.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args67));
|
|
2310
2384
|
case 1:
|
|
2311
2385
|
case "end":
|
|
2312
|
-
return
|
|
2386
|
+
return _context67.stop();
|
|
2313
2387
|
}
|
|
2314
|
-
},
|
|
2388
|
+
}, _callee67, this);
|
|
2315
2389
|
}));
|
|
2316
2390
|
function createTag() {
|
|
2317
2391
|
return _createTag.apply(this, arguments);
|
|
@@ -2321,18 +2395,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2321
2395
|
}, {
|
|
2322
2396
|
key: "createHelpPointer",
|
|
2323
2397
|
value: function () {
|
|
2324
|
-
var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2398
|
+
var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee68() {
|
|
2325
2399
|
var _this$_teamCentralCli6;
|
|
2326
|
-
var
|
|
2327
|
-
return _regeneratorRuntime.wrap(function
|
|
2328
|
-
while (1) switch (
|
|
2400
|
+
var _args68 = arguments;
|
|
2401
|
+
return _regeneratorRuntime.wrap(function _callee68$(_context68) {
|
|
2402
|
+
while (1) switch (_context68.prev = _context68.next) {
|
|
2329
2403
|
case 0:
|
|
2330
|
-
return
|
|
2404
|
+
return _context68.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args68));
|
|
2331
2405
|
case 1:
|
|
2332
2406
|
case "end":
|
|
2333
|
-
return
|
|
2407
|
+
return _context68.stop();
|
|
2334
2408
|
}
|
|
2335
|
-
},
|
|
2409
|
+
}, _callee68, this);
|
|
2336
2410
|
}));
|
|
2337
2411
|
function createHelpPointer() {
|
|
2338
2412
|
return _createHelpPointer.apply(this, arguments);
|
|
@@ -2342,18 +2416,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2342
2416
|
}, {
|
|
2343
2417
|
key: "updateHelpPointer",
|
|
2344
2418
|
value: function () {
|
|
2345
|
-
var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2419
|
+
var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee69() {
|
|
2346
2420
|
var _this$_teamCentralCli7;
|
|
2347
|
-
var
|
|
2348
|
-
return _regeneratorRuntime.wrap(function
|
|
2349
|
-
while (1) switch (
|
|
2421
|
+
var _args69 = arguments;
|
|
2422
|
+
return _regeneratorRuntime.wrap(function _callee69$(_context69) {
|
|
2423
|
+
while (1) switch (_context69.prev = _context69.next) {
|
|
2350
2424
|
case 0:
|
|
2351
|
-
return
|
|
2425
|
+
return _context69.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args69));
|
|
2352
2426
|
case 1:
|
|
2353
2427
|
case "end":
|
|
2354
|
-
return
|
|
2428
|
+
return _context69.stop();
|
|
2355
2429
|
}
|
|
2356
|
-
},
|
|
2430
|
+
}, _callee69, this);
|
|
2357
2431
|
}));
|
|
2358
2432
|
function updateHelpPointer() {
|
|
2359
2433
|
return _updateHelpPointer.apply(this, arguments);
|
|
@@ -2363,18 +2437,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2363
2437
|
}, {
|
|
2364
2438
|
key: "deleteHelpPointer",
|
|
2365
2439
|
value: function () {
|
|
2366
|
-
var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2440
|
+
var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee70() {
|
|
2367
2441
|
var _this$_teamCentralCli8;
|
|
2368
|
-
var
|
|
2369
|
-
return _regeneratorRuntime.wrap(function
|
|
2370
|
-
while (1) switch (
|
|
2442
|
+
var _args70 = arguments;
|
|
2443
|
+
return _regeneratorRuntime.wrap(function _callee70$(_context70) {
|
|
2444
|
+
while (1) switch (_context70.prev = _context70.next) {
|
|
2371
2445
|
case 0:
|
|
2372
|
-
return
|
|
2446
|
+
return _context70.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args70));
|
|
2373
2447
|
case 1:
|
|
2374
2448
|
case "end":
|
|
2375
|
-
return
|
|
2449
|
+
return _context70.stop();
|
|
2376
2450
|
}
|
|
2377
|
-
},
|
|
2451
|
+
}, _callee70, this);
|
|
2378
2452
|
}));
|
|
2379
2453
|
function deleteHelpPointer() {
|
|
2380
2454
|
return _deleteHelpPointer.apply(this, arguments);
|
|
@@ -2384,27 +2458,27 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2384
2458
|
}, {
|
|
2385
2459
|
key: "getUserTenure",
|
|
2386
2460
|
value: function () {
|
|
2387
|
-
var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2388
|
-
var
|
|
2389
|
-
var
|
|
2461
|
+
var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee71() {
|
|
2462
|
+
var _this64 = this;
|
|
2463
|
+
var _len52,
|
|
2390
2464
|
args,
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
return _regeneratorRuntime.wrap(function
|
|
2394
|
-
while (1) switch (
|
|
2465
|
+
_key52,
|
|
2466
|
+
_args71 = arguments;
|
|
2467
|
+
return _regeneratorRuntime.wrap(function _callee71$(_context71) {
|
|
2468
|
+
while (1) switch (_context71.prev = _context71.next) {
|
|
2395
2469
|
case 0:
|
|
2396
|
-
for (
|
|
2397
|
-
args[
|
|
2470
|
+
for (_len52 = _args71.length, args = new Array(_len52), _key52 = 0; _key52 < _len52; _key52++) {
|
|
2471
|
+
args[_key52] = _args71[_key52];
|
|
2398
2472
|
}
|
|
2399
|
-
return
|
|
2400
|
-
var
|
|
2401
|
-
return (
|
|
2473
|
+
return _context71.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2474
|
+
var _this64$_replinesClie;
|
|
2475
|
+
return (_this64$_replinesClie = _this64._replinesClient).getUserTenure.apply(_this64$_replinesClie, args);
|
|
2402
2476
|
}));
|
|
2403
2477
|
case 2:
|
|
2404
2478
|
case "end":
|
|
2405
|
-
return
|
|
2479
|
+
return _context71.stop();
|
|
2406
2480
|
}
|
|
2407
|
-
},
|
|
2481
|
+
}, _callee71, this);
|
|
2408
2482
|
}));
|
|
2409
2483
|
function getUserTenure() {
|
|
2410
2484
|
return _getUserTenure.apply(this, arguments);
|