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