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