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