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