@atlaskit/teams-client 4.25.0 → 4.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/cjs/services/legion-client/index.js +45 -45
- package/dist/cjs/services/main.js +13 -13
- package/dist/es2019/services/legion-client/index.js +2 -2
- package/dist/es2019/services/main.js +2 -2
- package/dist/esm/services/legion-client/index.js +45 -45
- package/dist/esm/services/main.js +13 -13
- package/dist/types/services/main.d.ts +1 -1
- package/dist/types-ts4.5/services/main.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/teams-client
|
|
2
2
|
|
|
3
|
+
## 4.26.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`8b220c96bc0d3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8b220c96bc0d3) -
|
|
8
|
+
Added optional cloudId param to getTeamById in legion client
|
|
9
|
+
|
|
3
10
|
## 4.25.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -82,12 +82,12 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
82
82
|
}, {
|
|
83
83
|
key: "getTeamById",
|
|
84
84
|
value: function () {
|
|
85
|
-
var _getTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(teamId) {
|
|
85
|
+
var _getTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(teamId, cloudId) {
|
|
86
86
|
var siteId, teamResponse;
|
|
87
87
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
88
88
|
while (1) switch (_context.prev = _context.next) {
|
|
89
89
|
case 0:
|
|
90
|
-
siteId = this.getCloudId();
|
|
90
|
+
siteId = this.getCloudId(cloudId);
|
|
91
91
|
_context.next = 3;
|
|
92
92
|
return this.getResource("".concat(v4UrlPath, "/").concat(this.trimTeamARI(teamId), "?siteId=").concat(siteId));
|
|
93
93
|
case 3:
|
|
@@ -99,7 +99,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
99
99
|
}
|
|
100
100
|
}, _callee, this);
|
|
101
101
|
}));
|
|
102
|
-
function getTeamById(_x) {
|
|
102
|
+
function getTeamById(_x, _x2) {
|
|
103
103
|
return _getTeamById.apply(this, arguments);
|
|
104
104
|
}
|
|
105
105
|
return getTeamById;
|
|
@@ -158,7 +158,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
158
158
|
}
|
|
159
159
|
}, _callee2, this, [[0, 12]]);
|
|
160
160
|
}));
|
|
161
|
-
function getAllTeams(
|
|
161
|
+
function getAllTeams(_x3) {
|
|
162
162
|
return _getAllTeams.apply(this, arguments);
|
|
163
163
|
}
|
|
164
164
|
return getAllTeams;
|
|
@@ -182,7 +182,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
182
182
|
}
|
|
183
183
|
}, _callee3, this);
|
|
184
184
|
}));
|
|
185
|
-
function updateTeamById(
|
|
185
|
+
function updateTeamById(_x4, _x5) {
|
|
186
186
|
return _updateTeamById.apply(this, arguments);
|
|
187
187
|
}
|
|
188
188
|
return updateTeamById;
|
|
@@ -225,7 +225,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
225
225
|
}
|
|
226
226
|
}, _callee4, this);
|
|
227
227
|
}));
|
|
228
|
-
function inviteUsersToTeam(
|
|
228
|
+
function inviteUsersToTeam(_x6, _x7, _x8) {
|
|
229
229
|
return _inviteUsersToTeam.apply(this, arguments);
|
|
230
230
|
}
|
|
231
231
|
return inviteUsersToTeam;
|
|
@@ -248,7 +248,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
248
248
|
}
|
|
249
249
|
}, _callee5, this);
|
|
250
250
|
}));
|
|
251
|
-
function getMyTeamMembership(
|
|
251
|
+
function getMyTeamMembership(_x9) {
|
|
252
252
|
return _getMyTeamMembership.apply(this, arguments);
|
|
253
253
|
}
|
|
254
254
|
return getMyTeamMembership;
|
|
@@ -273,7 +273,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
273
273
|
}
|
|
274
274
|
}, _callee6, this);
|
|
275
275
|
}));
|
|
276
|
-
function getTeamLinksByTeamId(
|
|
276
|
+
function getTeamLinksByTeamId(_x0) {
|
|
277
277
|
return _getTeamLinksByTeamId.apply(this, arguments);
|
|
278
278
|
}
|
|
279
279
|
return getTeamLinksByTeamId;
|
|
@@ -306,7 +306,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
306
306
|
}
|
|
307
307
|
}, _callee7, this);
|
|
308
308
|
}));
|
|
309
|
-
function createTeamLink(
|
|
309
|
+
function createTeamLink(_x1, _x10) {
|
|
310
310
|
return _createTeamLink.apply(this, arguments);
|
|
311
311
|
}
|
|
312
312
|
return createTeamLink;
|
|
@@ -333,7 +333,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
333
333
|
}
|
|
334
334
|
}, _callee8, this);
|
|
335
335
|
}));
|
|
336
|
-
function updateTeamLink(
|
|
336
|
+
function updateTeamLink(_x11, _x12, _x13) {
|
|
337
337
|
return _updateTeamLink.apply(this, arguments);
|
|
338
338
|
}
|
|
339
339
|
return updateTeamLink;
|
|
@@ -352,7 +352,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
352
352
|
}
|
|
353
353
|
}, _callee9, this);
|
|
354
354
|
}));
|
|
355
|
-
function deleteTeamLink(
|
|
355
|
+
function deleteTeamLink(_x14, _x15) {
|
|
356
356
|
return _deleteTeamLink.apply(this, arguments);
|
|
357
357
|
}
|
|
358
358
|
return deleteTeamLink;
|
|
@@ -373,7 +373,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
373
373
|
}
|
|
374
374
|
}, _callee0, this);
|
|
375
375
|
}));
|
|
376
|
-
function reorderTeamLink(
|
|
376
|
+
function reorderTeamLink(_x16, _x17, _x18) {
|
|
377
377
|
return _reorderTeamLink.apply(this, arguments);
|
|
378
378
|
}
|
|
379
379
|
return reorderTeamLink;
|
|
@@ -425,7 +425,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
425
425
|
}
|
|
426
426
|
}, _callee10, this);
|
|
427
427
|
}));
|
|
428
|
-
function acceptTeamInvitation(
|
|
428
|
+
function acceptTeamInvitation(_x19) {
|
|
429
429
|
return _acceptTeamInvitation.apply(this, arguments);
|
|
430
430
|
}
|
|
431
431
|
return acceptTeamInvitation;
|
|
@@ -449,7 +449,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
449
449
|
}
|
|
450
450
|
}, _callee11, this);
|
|
451
451
|
}));
|
|
452
|
-
function declineTeamInvitation(
|
|
452
|
+
function declineTeamInvitation(_x20) {
|
|
453
453
|
return _declineTeamInvitation.apply(this, arguments);
|
|
454
454
|
}
|
|
455
455
|
return declineTeamInvitation;
|
|
@@ -472,7 +472,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
472
472
|
}
|
|
473
473
|
}, _callee12, this);
|
|
474
474
|
}));
|
|
475
|
-
function selfJoinTeam(
|
|
475
|
+
function selfJoinTeam(_x21, _x22) {
|
|
476
476
|
return _selfJoinTeam.apply(this, arguments);
|
|
477
477
|
}
|
|
478
478
|
return selfJoinTeam;
|
|
@@ -509,7 +509,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
509
509
|
}
|
|
510
510
|
}, _callee13, this, [[4, 9]]);
|
|
511
511
|
}));
|
|
512
|
-
function addAgentsToTeam(
|
|
512
|
+
function addAgentsToTeam(_x23, _x24) {
|
|
513
513
|
return _addAgentsToTeam.apply(this, arguments);
|
|
514
514
|
}
|
|
515
515
|
return addAgentsToTeam;
|
|
@@ -536,7 +536,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
536
536
|
}
|
|
537
537
|
}, _callee14, this, [[0, 5]]);
|
|
538
538
|
}));
|
|
539
|
-
function removeAgentTeamAssociation(
|
|
539
|
+
function removeAgentTeamAssociation(_x25, _x26) {
|
|
540
540
|
return _removeAgentTeamAssociation.apply(this, arguments);
|
|
541
541
|
}
|
|
542
542
|
return removeAgentTeamAssociation;
|
|
@@ -555,7 +555,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
555
555
|
}
|
|
556
556
|
}, _callee15, this);
|
|
557
557
|
}));
|
|
558
|
-
function cancelJoinRequest(
|
|
558
|
+
function cancelJoinRequest(_x27) {
|
|
559
559
|
return _cancelJoinRequest.apply(this, arguments);
|
|
560
560
|
}
|
|
561
561
|
return cancelJoinRequest;
|
|
@@ -574,7 +574,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
574
574
|
}
|
|
575
575
|
}, _callee16, this);
|
|
576
576
|
}));
|
|
577
|
-
function acceptJoinRequest(
|
|
577
|
+
function acceptJoinRequest(_x28, _x29) {
|
|
578
578
|
return _acceptJoinRequest.apply(this, arguments);
|
|
579
579
|
}
|
|
580
580
|
return acceptJoinRequest;
|
|
@@ -593,7 +593,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
593
593
|
}
|
|
594
594
|
}, _callee17, this);
|
|
595
595
|
}));
|
|
596
|
-
function declineJoinRequest(
|
|
596
|
+
function declineJoinRequest(_x30, _x31) {
|
|
597
597
|
return _declineJoinRequest.apply(this, arguments);
|
|
598
598
|
}
|
|
599
599
|
return declineJoinRequest;
|
|
@@ -616,7 +616,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
616
616
|
}
|
|
617
617
|
}, _callee18, this);
|
|
618
618
|
}));
|
|
619
|
-
function deleteTeamMembership(
|
|
619
|
+
function deleteTeamMembership(_x32, _x33) {
|
|
620
620
|
return _deleteTeamMembership.apply(this, arguments);
|
|
621
621
|
}
|
|
622
622
|
return deleteTeamMembership;
|
|
@@ -640,7 +640,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
640
640
|
}
|
|
641
641
|
}, _callee19, this);
|
|
642
642
|
}));
|
|
643
|
-
function revokeTeamInvite(
|
|
643
|
+
function revokeTeamInvite(_x34, _x35) {
|
|
644
644
|
return _revokeTeamInvite.apply(this, arguments);
|
|
645
645
|
}
|
|
646
646
|
return revokeTeamInvite;
|
|
@@ -659,7 +659,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
659
659
|
}
|
|
660
660
|
}, _callee20, this);
|
|
661
661
|
}));
|
|
662
|
-
function deleteTeam(
|
|
662
|
+
function deleteTeam(_x36) {
|
|
663
663
|
return _deleteTeam.apply(this, arguments);
|
|
664
664
|
}
|
|
665
665
|
return deleteTeam;
|
|
@@ -680,7 +680,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
680
680
|
}
|
|
681
681
|
}, _callee21, this);
|
|
682
682
|
}));
|
|
683
|
-
function archiveTeam(
|
|
683
|
+
function archiveTeam(_x37) {
|
|
684
684
|
return _archiveTeam.apply(this, arguments);
|
|
685
685
|
}
|
|
686
686
|
return archiveTeam;
|
|
@@ -701,7 +701,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
701
701
|
}
|
|
702
702
|
}, _callee22, this);
|
|
703
703
|
}));
|
|
704
|
-
function unArchiveTeam(
|
|
704
|
+
function unArchiveTeam(_x38) {
|
|
705
705
|
return _unArchiveTeam.apply(this, arguments);
|
|
706
706
|
}
|
|
707
707
|
return unArchiveTeam;
|
|
@@ -722,7 +722,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
722
722
|
}
|
|
723
723
|
}, _callee23, this);
|
|
724
724
|
}));
|
|
725
|
-
function unlinkTeamFromGroup(
|
|
725
|
+
function unlinkTeamFromGroup(_x39, _x40) {
|
|
726
726
|
return _unlinkTeamFromGroup.apply(this, arguments);
|
|
727
727
|
}
|
|
728
728
|
return unlinkTeamFromGroup;
|
|
@@ -750,7 +750,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
750
750
|
}
|
|
751
751
|
}, _callee24, this);
|
|
752
752
|
}));
|
|
753
|
-
function isSingleFullMemberTeam(
|
|
753
|
+
function isSingleFullMemberTeam(_x41) {
|
|
754
754
|
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
755
755
|
}
|
|
756
756
|
return isSingleFullMemberTeam;
|
|
@@ -800,7 +800,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
800
800
|
}
|
|
801
801
|
}, _callee25, this);
|
|
802
802
|
}));
|
|
803
|
-
function createTeam(
|
|
803
|
+
function createTeam(_x42, _x43, _x44) {
|
|
804
804
|
return _createTeam.apply(this, arguments);
|
|
805
805
|
}
|
|
806
806
|
return createTeam;
|
|
@@ -841,7 +841,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
841
841
|
}
|
|
842
842
|
}, _callee26, this);
|
|
843
843
|
}));
|
|
844
|
-
function createExternalTeam(
|
|
844
|
+
function createExternalTeam(_x45, _x46, _x47, _x48) {
|
|
845
845
|
return _createExternalTeam.apply(this, arguments);
|
|
846
846
|
}
|
|
847
847
|
return createExternalTeam;
|
|
@@ -865,7 +865,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
865
865
|
}
|
|
866
866
|
}, _callee27, this);
|
|
867
867
|
}));
|
|
868
|
-
function getTeamAndGroupDiff(
|
|
868
|
+
function getTeamAndGroupDiff(_x49, _x50) {
|
|
869
869
|
return _getTeamAndGroupDiff.apply(this, arguments);
|
|
870
870
|
}
|
|
871
871
|
return getTeamAndGroupDiff;
|
|
@@ -889,7 +889,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
889
889
|
}
|
|
890
890
|
}, _callee28, this);
|
|
891
891
|
}));
|
|
892
|
-
function linkExistingTeamToGroup(
|
|
892
|
+
function linkExistingTeamToGroup(_x51, _x52) {
|
|
893
893
|
return _linkExistingTeamToGroup.apply(this, arguments);
|
|
894
894
|
}
|
|
895
895
|
return linkExistingTeamToGroup;
|
|
@@ -939,7 +939,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
939
939
|
}
|
|
940
940
|
}, _callee30, this);
|
|
941
941
|
}));
|
|
942
|
-
function getSoftDeletedTeamById(
|
|
942
|
+
function getSoftDeletedTeamById(_x53) {
|
|
943
943
|
return _getSoftDeletedTeamById.apply(this, arguments);
|
|
944
944
|
}
|
|
945
945
|
return getSoftDeletedTeamById;
|
|
@@ -968,7 +968,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
968
968
|
}
|
|
969
969
|
}, _callee31, this);
|
|
970
970
|
}));
|
|
971
|
-
function getUserInSiteUserBase(
|
|
971
|
+
function getUserInSiteUserBase(_x54) {
|
|
972
972
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
973
973
|
}
|
|
974
974
|
return getUserInSiteUserBase;
|
|
@@ -991,7 +991,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
991
991
|
}
|
|
992
992
|
}, _callee32, this);
|
|
993
993
|
}));
|
|
994
|
-
function retrieveBrowseUserPermission(
|
|
994
|
+
function retrieveBrowseUserPermission(_x55) {
|
|
995
995
|
return _retrieveBrowseUserPermission.apply(this, arguments);
|
|
996
996
|
}
|
|
997
997
|
return retrieveBrowseUserPermission;
|
|
@@ -1058,7 +1058,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1058
1058
|
}
|
|
1059
1059
|
}, _callee34, this);
|
|
1060
1060
|
}));
|
|
1061
|
-
function getLinkedTeamsBulk(
|
|
1061
|
+
function getLinkedTeamsBulk(_x56) {
|
|
1062
1062
|
return _getLinkedTeamsBulk.apply(this, arguments);
|
|
1063
1063
|
}
|
|
1064
1064
|
return getLinkedTeamsBulk;
|
|
@@ -1091,7 +1091,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
}, _callee35, this);
|
|
1093
1093
|
}));
|
|
1094
|
-
function getTeamProfileDetails(
|
|
1094
|
+
function getTeamProfileDetails(_x57, _x58) {
|
|
1095
1095
|
return _getTeamProfileDetails.apply(this, arguments);
|
|
1096
1096
|
}
|
|
1097
1097
|
return getTeamProfileDetails;
|
|
@@ -1151,7 +1151,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
}, _callee37, this);
|
|
1153
1153
|
}));
|
|
1154
|
-
function restoreTeamToSyncedGroup(
|
|
1154
|
+
function restoreTeamToSyncedGroup(_x59, _x60) {
|
|
1155
1155
|
return _restoreTeamToSyncedGroup.apply(this, arguments);
|
|
1156
1156
|
}
|
|
1157
1157
|
return restoreTeamToSyncedGroup;
|
|
@@ -1170,7 +1170,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
}, _callee38, this);
|
|
1172
1172
|
}));
|
|
1173
|
-
function createTeamContainers(
|
|
1173
|
+
function createTeamContainers(_x61) {
|
|
1174
1174
|
return _createTeamContainers.apply(this, arguments);
|
|
1175
1175
|
}
|
|
1176
1176
|
return createTeamContainers;
|
|
@@ -1194,7 +1194,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1194
1194
|
}
|
|
1195
1195
|
}, _callee39, this);
|
|
1196
1196
|
}));
|
|
1197
|
-
function getTeamEnabledSites(
|
|
1197
|
+
function getTeamEnabledSites(_x62) {
|
|
1198
1198
|
return _getTeamEnabledSites.apply(this, arguments);
|
|
1199
1199
|
}
|
|
1200
1200
|
return getTeamEnabledSites;
|
|
@@ -1221,7 +1221,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
}, _callee40, this);
|
|
1223
1223
|
}));
|
|
1224
|
-
function assignTeamsToSites(
|
|
1224
|
+
function assignTeamsToSites(_x63) {
|
|
1225
1225
|
return _assignTeamsToSites.apply(this, arguments);
|
|
1226
1226
|
}
|
|
1227
1227
|
return assignTeamsToSites;
|
|
@@ -1243,7 +1243,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
}, _callee41, this);
|
|
1245
1245
|
}));
|
|
1246
|
-
function getTeamsToBeClonedToJsmSites(
|
|
1246
|
+
function getTeamsToBeClonedToJsmSites(_x64) {
|
|
1247
1247
|
return _getTeamsToBeClonedToJsmSites.apply(this, arguments);
|
|
1248
1248
|
}
|
|
1249
1249
|
return getTeamsToBeClonedToJsmSites;
|
|
@@ -1265,7 +1265,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
}, _callee42, this);
|
|
1267
1267
|
}));
|
|
1268
|
-
function setTeamSiteAssignmentPermission(
|
|
1268
|
+
function setTeamSiteAssignmentPermission(_x65, _x66) {
|
|
1269
1269
|
return _setTeamSiteAssignmentPermission.apply(this, arguments);
|
|
1270
1270
|
}
|
|
1271
1271
|
return setTeamSiteAssignmentPermission;
|
|
@@ -1294,7 +1294,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
}, _callee43, this);
|
|
1296
1296
|
}));
|
|
1297
|
-
function getAssignedTeams(
|
|
1297
|
+
function getAssignedTeams(_x67, _x68, _x69, _x70) {
|
|
1298
1298
|
return _getAssignedTeams.apply(this, arguments);
|
|
1299
1299
|
}
|
|
1300
1300
|
return getAssignedTeams;
|
|
@@ -1323,7 +1323,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
}, _callee44, this);
|
|
1325
1325
|
}));
|
|
1326
|
-
function getUnassignedTeams(
|
|
1326
|
+
function getUnassignedTeams(_x71, _x72, _x73, _x74) {
|
|
1327
1327
|
return _getUnassignedTeams.apply(this, arguments);
|
|
1328
1328
|
}
|
|
1329
1329
|
return getUnassignedTeams;
|
|
@@ -1524,7 +1524,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1524
1524
|
}
|
|
1525
1525
|
}, _callee46, this, [[0, 4]]);
|
|
1526
1526
|
}));
|
|
1527
|
-
function getTeamStatesInBulk(
|
|
1527
|
+
function getTeamStatesInBulk(_x75, _x76) {
|
|
1528
1528
|
return _getTeamStatesInBulk.apply(this, arguments);
|
|
1529
1529
|
}
|
|
1530
1530
|
return getTeamStatesInBulk;
|
|
@@ -382,13 +382,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
382
382
|
}, {
|
|
383
383
|
key: "getTeamById",
|
|
384
384
|
value: (function () {
|
|
385
|
-
var _getTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9(teamId) {
|
|
385
|
+
var _getTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9(teamId, cloudId) {
|
|
386
386
|
var _this5 = this;
|
|
387
387
|
return _regenerator.default.wrap(function _callee9$(_context9) {
|
|
388
388
|
while (1) switch (_context9.prev = _context9.next) {
|
|
389
389
|
case 0:
|
|
390
390
|
return _context9.abrupt("return", this.measurePerformance('getTeamById', function () {
|
|
391
|
-
return _this5._legionClient.getTeamById(teamId);
|
|
391
|
+
return _this5._legionClient.getTeamById(teamId, cloudId);
|
|
392
392
|
}));
|
|
393
393
|
case 1:
|
|
394
394
|
case "end":
|
|
@@ -396,7 +396,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
396
396
|
}
|
|
397
397
|
}, _callee9, this);
|
|
398
398
|
}));
|
|
399
|
-
function getTeamById(_x8) {
|
|
399
|
+
function getTeamById(_x8, _x9) {
|
|
400
400
|
return _getTeamById.apply(this, arguments);
|
|
401
401
|
}
|
|
402
402
|
return getTeamById;
|
|
@@ -559,7 +559,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
559
559
|
}
|
|
560
560
|
}, _callee12, this);
|
|
561
561
|
}));
|
|
562
|
-
function getTeamLinksByTeamId(
|
|
562
|
+
function getTeamLinksByTeamId(_x0) {
|
|
563
563
|
return _getTeamLinksByTeamId.apply(this, arguments);
|
|
564
564
|
}
|
|
565
565
|
return getTeamLinksByTeamId;
|
|
@@ -914,7 +914,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
914
914
|
}
|
|
915
915
|
}, _callee23, this);
|
|
916
916
|
}));
|
|
917
|
-
function cancelJoinRequest(
|
|
917
|
+
function cancelJoinRequest(_x1) {
|
|
918
918
|
return _cancelJoinRequest.apply(this, arguments);
|
|
919
919
|
}
|
|
920
920
|
return cancelJoinRequest;
|
|
@@ -1076,7 +1076,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
}, _callee28, this);
|
|
1078
1078
|
}));
|
|
1079
|
-
function deleteTeam(
|
|
1079
|
+
function deleteTeam(_x10) {
|
|
1080
1080
|
return _deleteTeam.apply(this, arguments);
|
|
1081
1081
|
}
|
|
1082
1082
|
return deleteTeam;
|
|
@@ -1102,7 +1102,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
}, _callee29, this);
|
|
1104
1104
|
}));
|
|
1105
|
-
function archiveTeam(
|
|
1105
|
+
function archiveTeam(_x11) {
|
|
1106
1106
|
return _archiveTeam.apply(this, arguments);
|
|
1107
1107
|
}
|
|
1108
1108
|
return archiveTeam;
|
|
@@ -1128,7 +1128,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
}, _callee30, this);
|
|
1130
1130
|
}));
|
|
1131
|
-
function unarchiveTeam(
|
|
1131
|
+
function unarchiveTeam(_x12) {
|
|
1132
1132
|
return _unarchiveTeam.apply(this, arguments);
|
|
1133
1133
|
}
|
|
1134
1134
|
return unarchiveTeam;
|
|
@@ -1154,7 +1154,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
}, _callee31, this);
|
|
1156
1156
|
}));
|
|
1157
|
-
function unlinkTeamFromGroup(
|
|
1157
|
+
function unlinkTeamFromGroup(_x13) {
|
|
1158
1158
|
return _unlinkTeamFromGroup.apply(this, arguments);
|
|
1159
1159
|
}
|
|
1160
1160
|
return unlinkTeamFromGroup;
|
|
@@ -1178,7 +1178,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
}, _callee32, this);
|
|
1180
1180
|
}));
|
|
1181
|
-
function isSingleFullMemberTeam(
|
|
1181
|
+
function isSingleFullMemberTeam(_x14) {
|
|
1182
1182
|
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
1183
1183
|
}
|
|
1184
1184
|
return isSingleFullMemberTeam;
|
|
@@ -1522,7 +1522,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
}, _callee42, this);
|
|
1524
1524
|
}));
|
|
1525
|
-
function getSoftDeletdTeamById(
|
|
1525
|
+
function getSoftDeletdTeamById(_x15) {
|
|
1526
1526
|
return _getSoftDeletdTeamById.apply(this, arguments);
|
|
1527
1527
|
}
|
|
1528
1528
|
return getSoftDeletdTeamById;
|
|
@@ -1550,7 +1550,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1550
1550
|
}
|
|
1551
1551
|
}, _callee43, this);
|
|
1552
1552
|
}));
|
|
1553
|
-
function getUserInSiteUserBase(
|
|
1553
|
+
function getUserInSiteUserBase(_x16) {
|
|
1554
1554
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
1555
1555
|
}
|
|
1556
1556
|
return getUserInSiteUserBase;
|
|
@@ -2040,7 +2040,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2040
2040
|
}
|
|
2041
2041
|
}, _callee55, this);
|
|
2042
2042
|
}));
|
|
2043
|
-
function updateUserHeaderImage(
|
|
2043
|
+
function updateUserHeaderImage(_x17) {
|
|
2044
2044
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
2045
2045
|
}
|
|
2046
2046
|
return updateUserHeaderImage;
|
|
@@ -52,8 +52,8 @@ export class LegionClient extends RestClient {
|
|
|
52
52
|
this.serviceUrlRoot = url;
|
|
53
53
|
this.setServiceUrl(url);
|
|
54
54
|
}
|
|
55
|
-
async getTeamById(teamId) {
|
|
56
|
-
const siteId = this.getCloudId();
|
|
55
|
+
async getTeamById(teamId, cloudId) {
|
|
56
|
+
const siteId = this.getCloudId(cloudId);
|
|
57
57
|
const teamResponse = await this.getResource(`${v4UrlPath}/${this.trimTeamARI(teamId)}?siteId=${siteId}`);
|
|
58
58
|
return this.mapTeamResponseV4ToTeam(teamResponse);
|
|
59
59
|
}
|
|
@@ -194,8 +194,8 @@ export class TeamsClient {
|
|
|
194
194
|
* @param teamId
|
|
195
195
|
* @returns {Promise<TeamWithImageUrls>}
|
|
196
196
|
*/
|
|
197
|
-
async getTeamById(teamId) {
|
|
198
|
-
return this.measurePerformance('getTeamById', () => this._legionClient.getTeamById(teamId));
|
|
197
|
+
async getTeamById(teamId, cloudId) {
|
|
198
|
+
return this.measurePerformance('getTeamById', () => this._legionClient.getTeamById(teamId, cloudId));
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
/**
|
|
@@ -76,12 +76,12 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
76
76
|
}, {
|
|
77
77
|
key: "getTeamById",
|
|
78
78
|
value: function () {
|
|
79
|
-
var _getTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(teamId) {
|
|
79
|
+
var _getTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(teamId, cloudId) {
|
|
80
80
|
var siteId, teamResponse;
|
|
81
81
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
82
82
|
while (1) switch (_context.prev = _context.next) {
|
|
83
83
|
case 0:
|
|
84
|
-
siteId = this.getCloudId();
|
|
84
|
+
siteId = this.getCloudId(cloudId);
|
|
85
85
|
_context.next = 3;
|
|
86
86
|
return this.getResource("".concat(v4UrlPath, "/").concat(this.trimTeamARI(teamId), "?siteId=").concat(siteId));
|
|
87
87
|
case 3:
|
|
@@ -93,7 +93,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
93
93
|
}
|
|
94
94
|
}, _callee, this);
|
|
95
95
|
}));
|
|
96
|
-
function getTeamById(_x) {
|
|
96
|
+
function getTeamById(_x, _x2) {
|
|
97
97
|
return _getTeamById.apply(this, arguments);
|
|
98
98
|
}
|
|
99
99
|
return getTeamById;
|
|
@@ -152,7 +152,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
152
152
|
}
|
|
153
153
|
}, _callee2, this, [[0, 12]]);
|
|
154
154
|
}));
|
|
155
|
-
function getAllTeams(
|
|
155
|
+
function getAllTeams(_x3) {
|
|
156
156
|
return _getAllTeams.apply(this, arguments);
|
|
157
157
|
}
|
|
158
158
|
return getAllTeams;
|
|
@@ -176,7 +176,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
176
176
|
}
|
|
177
177
|
}, _callee3, this);
|
|
178
178
|
}));
|
|
179
|
-
function updateTeamById(
|
|
179
|
+
function updateTeamById(_x4, _x5) {
|
|
180
180
|
return _updateTeamById.apply(this, arguments);
|
|
181
181
|
}
|
|
182
182
|
return updateTeamById;
|
|
@@ -219,7 +219,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
219
219
|
}
|
|
220
220
|
}, _callee4, this);
|
|
221
221
|
}));
|
|
222
|
-
function inviteUsersToTeam(
|
|
222
|
+
function inviteUsersToTeam(_x6, _x7, _x8) {
|
|
223
223
|
return _inviteUsersToTeam.apply(this, arguments);
|
|
224
224
|
}
|
|
225
225
|
return inviteUsersToTeam;
|
|
@@ -242,7 +242,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
242
242
|
}
|
|
243
243
|
}, _callee5, this);
|
|
244
244
|
}));
|
|
245
|
-
function getMyTeamMembership(
|
|
245
|
+
function getMyTeamMembership(_x9) {
|
|
246
246
|
return _getMyTeamMembership.apply(this, arguments);
|
|
247
247
|
}
|
|
248
248
|
return getMyTeamMembership;
|
|
@@ -267,7 +267,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
267
267
|
}
|
|
268
268
|
}, _callee6, this);
|
|
269
269
|
}));
|
|
270
|
-
function getTeamLinksByTeamId(
|
|
270
|
+
function getTeamLinksByTeamId(_x0) {
|
|
271
271
|
return _getTeamLinksByTeamId.apply(this, arguments);
|
|
272
272
|
}
|
|
273
273
|
return getTeamLinksByTeamId;
|
|
@@ -300,7 +300,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
300
300
|
}
|
|
301
301
|
}, _callee7, this);
|
|
302
302
|
}));
|
|
303
|
-
function createTeamLink(
|
|
303
|
+
function createTeamLink(_x1, _x10) {
|
|
304
304
|
return _createTeamLink.apply(this, arguments);
|
|
305
305
|
}
|
|
306
306
|
return createTeamLink;
|
|
@@ -327,7 +327,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
327
327
|
}
|
|
328
328
|
}, _callee8, this);
|
|
329
329
|
}));
|
|
330
|
-
function updateTeamLink(
|
|
330
|
+
function updateTeamLink(_x11, _x12, _x13) {
|
|
331
331
|
return _updateTeamLink.apply(this, arguments);
|
|
332
332
|
}
|
|
333
333
|
return updateTeamLink;
|
|
@@ -346,7 +346,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
346
346
|
}
|
|
347
347
|
}, _callee9, this);
|
|
348
348
|
}));
|
|
349
|
-
function deleteTeamLink(
|
|
349
|
+
function deleteTeamLink(_x14, _x15) {
|
|
350
350
|
return _deleteTeamLink.apply(this, arguments);
|
|
351
351
|
}
|
|
352
352
|
return deleteTeamLink;
|
|
@@ -367,7 +367,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
367
367
|
}
|
|
368
368
|
}, _callee0, this);
|
|
369
369
|
}));
|
|
370
|
-
function reorderTeamLink(
|
|
370
|
+
function reorderTeamLink(_x16, _x17, _x18) {
|
|
371
371
|
return _reorderTeamLink.apply(this, arguments);
|
|
372
372
|
}
|
|
373
373
|
return reorderTeamLink;
|
|
@@ -419,7 +419,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
419
419
|
}
|
|
420
420
|
}, _callee10, this);
|
|
421
421
|
}));
|
|
422
|
-
function acceptTeamInvitation(
|
|
422
|
+
function acceptTeamInvitation(_x19) {
|
|
423
423
|
return _acceptTeamInvitation.apply(this, arguments);
|
|
424
424
|
}
|
|
425
425
|
return acceptTeamInvitation;
|
|
@@ -443,7 +443,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
443
443
|
}
|
|
444
444
|
}, _callee11, this);
|
|
445
445
|
}));
|
|
446
|
-
function declineTeamInvitation(
|
|
446
|
+
function declineTeamInvitation(_x20) {
|
|
447
447
|
return _declineTeamInvitation.apply(this, arguments);
|
|
448
448
|
}
|
|
449
449
|
return declineTeamInvitation;
|
|
@@ -466,7 +466,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
466
466
|
}
|
|
467
467
|
}, _callee12, this);
|
|
468
468
|
}));
|
|
469
|
-
function selfJoinTeam(
|
|
469
|
+
function selfJoinTeam(_x21, _x22) {
|
|
470
470
|
return _selfJoinTeam.apply(this, arguments);
|
|
471
471
|
}
|
|
472
472
|
return selfJoinTeam;
|
|
@@ -503,7 +503,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
503
503
|
}
|
|
504
504
|
}, _callee13, this, [[4, 9]]);
|
|
505
505
|
}));
|
|
506
|
-
function addAgentsToTeam(
|
|
506
|
+
function addAgentsToTeam(_x23, _x24) {
|
|
507
507
|
return _addAgentsToTeam.apply(this, arguments);
|
|
508
508
|
}
|
|
509
509
|
return addAgentsToTeam;
|
|
@@ -530,7 +530,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
530
530
|
}
|
|
531
531
|
}, _callee14, this, [[0, 5]]);
|
|
532
532
|
}));
|
|
533
|
-
function removeAgentTeamAssociation(
|
|
533
|
+
function removeAgentTeamAssociation(_x25, _x26) {
|
|
534
534
|
return _removeAgentTeamAssociation.apply(this, arguments);
|
|
535
535
|
}
|
|
536
536
|
return removeAgentTeamAssociation;
|
|
@@ -549,7 +549,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
549
549
|
}
|
|
550
550
|
}, _callee15, this);
|
|
551
551
|
}));
|
|
552
|
-
function cancelJoinRequest(
|
|
552
|
+
function cancelJoinRequest(_x27) {
|
|
553
553
|
return _cancelJoinRequest.apply(this, arguments);
|
|
554
554
|
}
|
|
555
555
|
return cancelJoinRequest;
|
|
@@ -568,7 +568,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
568
568
|
}
|
|
569
569
|
}, _callee16, this);
|
|
570
570
|
}));
|
|
571
|
-
function acceptJoinRequest(
|
|
571
|
+
function acceptJoinRequest(_x28, _x29) {
|
|
572
572
|
return _acceptJoinRequest.apply(this, arguments);
|
|
573
573
|
}
|
|
574
574
|
return acceptJoinRequest;
|
|
@@ -587,7 +587,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
587
587
|
}
|
|
588
588
|
}, _callee17, this);
|
|
589
589
|
}));
|
|
590
|
-
function declineJoinRequest(
|
|
590
|
+
function declineJoinRequest(_x30, _x31) {
|
|
591
591
|
return _declineJoinRequest.apply(this, arguments);
|
|
592
592
|
}
|
|
593
593
|
return declineJoinRequest;
|
|
@@ -610,7 +610,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
610
610
|
}
|
|
611
611
|
}, _callee18, this);
|
|
612
612
|
}));
|
|
613
|
-
function deleteTeamMembership(
|
|
613
|
+
function deleteTeamMembership(_x32, _x33) {
|
|
614
614
|
return _deleteTeamMembership.apply(this, arguments);
|
|
615
615
|
}
|
|
616
616
|
return deleteTeamMembership;
|
|
@@ -634,7 +634,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
634
634
|
}
|
|
635
635
|
}, _callee19, this);
|
|
636
636
|
}));
|
|
637
|
-
function revokeTeamInvite(
|
|
637
|
+
function revokeTeamInvite(_x34, _x35) {
|
|
638
638
|
return _revokeTeamInvite.apply(this, arguments);
|
|
639
639
|
}
|
|
640
640
|
return revokeTeamInvite;
|
|
@@ -653,7 +653,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
653
653
|
}
|
|
654
654
|
}, _callee20, this);
|
|
655
655
|
}));
|
|
656
|
-
function deleteTeam(
|
|
656
|
+
function deleteTeam(_x36) {
|
|
657
657
|
return _deleteTeam.apply(this, arguments);
|
|
658
658
|
}
|
|
659
659
|
return deleteTeam;
|
|
@@ -674,7 +674,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
674
674
|
}
|
|
675
675
|
}, _callee21, this);
|
|
676
676
|
}));
|
|
677
|
-
function archiveTeam(
|
|
677
|
+
function archiveTeam(_x37) {
|
|
678
678
|
return _archiveTeam.apply(this, arguments);
|
|
679
679
|
}
|
|
680
680
|
return archiveTeam;
|
|
@@ -695,7 +695,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
695
695
|
}
|
|
696
696
|
}, _callee22, this);
|
|
697
697
|
}));
|
|
698
|
-
function unArchiveTeam(
|
|
698
|
+
function unArchiveTeam(_x38) {
|
|
699
699
|
return _unArchiveTeam.apply(this, arguments);
|
|
700
700
|
}
|
|
701
701
|
return unArchiveTeam;
|
|
@@ -716,7 +716,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
716
716
|
}
|
|
717
717
|
}, _callee23, this);
|
|
718
718
|
}));
|
|
719
|
-
function unlinkTeamFromGroup(
|
|
719
|
+
function unlinkTeamFromGroup(_x39, _x40) {
|
|
720
720
|
return _unlinkTeamFromGroup.apply(this, arguments);
|
|
721
721
|
}
|
|
722
722
|
return unlinkTeamFromGroup;
|
|
@@ -744,7 +744,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
744
744
|
}
|
|
745
745
|
}, _callee24, this);
|
|
746
746
|
}));
|
|
747
|
-
function isSingleFullMemberTeam(
|
|
747
|
+
function isSingleFullMemberTeam(_x41) {
|
|
748
748
|
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
749
749
|
}
|
|
750
750
|
return isSingleFullMemberTeam;
|
|
@@ -794,7 +794,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
794
794
|
}
|
|
795
795
|
}, _callee25, this);
|
|
796
796
|
}));
|
|
797
|
-
function createTeam(
|
|
797
|
+
function createTeam(_x42, _x43, _x44) {
|
|
798
798
|
return _createTeam.apply(this, arguments);
|
|
799
799
|
}
|
|
800
800
|
return createTeam;
|
|
@@ -835,7 +835,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
835
835
|
}
|
|
836
836
|
}, _callee26, this);
|
|
837
837
|
}));
|
|
838
|
-
function createExternalTeam(
|
|
838
|
+
function createExternalTeam(_x45, _x46, _x47, _x48) {
|
|
839
839
|
return _createExternalTeam.apply(this, arguments);
|
|
840
840
|
}
|
|
841
841
|
return createExternalTeam;
|
|
@@ -859,7 +859,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
859
859
|
}
|
|
860
860
|
}, _callee27, this);
|
|
861
861
|
}));
|
|
862
|
-
function getTeamAndGroupDiff(
|
|
862
|
+
function getTeamAndGroupDiff(_x49, _x50) {
|
|
863
863
|
return _getTeamAndGroupDiff.apply(this, arguments);
|
|
864
864
|
}
|
|
865
865
|
return getTeamAndGroupDiff;
|
|
@@ -883,7 +883,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
883
883
|
}
|
|
884
884
|
}, _callee28, this);
|
|
885
885
|
}));
|
|
886
|
-
function linkExistingTeamToGroup(
|
|
886
|
+
function linkExistingTeamToGroup(_x51, _x52) {
|
|
887
887
|
return _linkExistingTeamToGroup.apply(this, arguments);
|
|
888
888
|
}
|
|
889
889
|
return linkExistingTeamToGroup;
|
|
@@ -933,7 +933,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
933
933
|
}
|
|
934
934
|
}, _callee30, this);
|
|
935
935
|
}));
|
|
936
|
-
function getSoftDeletedTeamById(
|
|
936
|
+
function getSoftDeletedTeamById(_x53) {
|
|
937
937
|
return _getSoftDeletedTeamById.apply(this, arguments);
|
|
938
938
|
}
|
|
939
939
|
return getSoftDeletedTeamById;
|
|
@@ -962,7 +962,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
962
962
|
}
|
|
963
963
|
}, _callee31, this);
|
|
964
964
|
}));
|
|
965
|
-
function getUserInSiteUserBase(
|
|
965
|
+
function getUserInSiteUserBase(_x54) {
|
|
966
966
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
967
967
|
}
|
|
968
968
|
return getUserInSiteUserBase;
|
|
@@ -985,7 +985,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
985
985
|
}
|
|
986
986
|
}, _callee32, this);
|
|
987
987
|
}));
|
|
988
|
-
function retrieveBrowseUserPermission(
|
|
988
|
+
function retrieveBrowseUserPermission(_x55) {
|
|
989
989
|
return _retrieveBrowseUserPermission.apply(this, arguments);
|
|
990
990
|
}
|
|
991
991
|
return retrieveBrowseUserPermission;
|
|
@@ -1052,7 +1052,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
}, _callee34, this);
|
|
1054
1054
|
}));
|
|
1055
|
-
function getLinkedTeamsBulk(
|
|
1055
|
+
function getLinkedTeamsBulk(_x56) {
|
|
1056
1056
|
return _getLinkedTeamsBulk.apply(this, arguments);
|
|
1057
1057
|
}
|
|
1058
1058
|
return getLinkedTeamsBulk;
|
|
@@ -1085,7 +1085,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
}, _callee35, this);
|
|
1087
1087
|
}));
|
|
1088
|
-
function getTeamProfileDetails(
|
|
1088
|
+
function getTeamProfileDetails(_x57, _x58) {
|
|
1089
1089
|
return _getTeamProfileDetails.apply(this, arguments);
|
|
1090
1090
|
}
|
|
1091
1091
|
return getTeamProfileDetails;
|
|
@@ -1145,7 +1145,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
}, _callee37, this);
|
|
1147
1147
|
}));
|
|
1148
|
-
function restoreTeamToSyncedGroup(
|
|
1148
|
+
function restoreTeamToSyncedGroup(_x59, _x60) {
|
|
1149
1149
|
return _restoreTeamToSyncedGroup.apply(this, arguments);
|
|
1150
1150
|
}
|
|
1151
1151
|
return restoreTeamToSyncedGroup;
|
|
@@ -1164,7 +1164,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
}, _callee38, this);
|
|
1166
1166
|
}));
|
|
1167
|
-
function createTeamContainers(
|
|
1167
|
+
function createTeamContainers(_x61) {
|
|
1168
1168
|
return _createTeamContainers.apply(this, arguments);
|
|
1169
1169
|
}
|
|
1170
1170
|
return createTeamContainers;
|
|
@@ -1188,7 +1188,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
}, _callee39, this);
|
|
1190
1190
|
}));
|
|
1191
|
-
function getTeamEnabledSites(
|
|
1191
|
+
function getTeamEnabledSites(_x62) {
|
|
1192
1192
|
return _getTeamEnabledSites.apply(this, arguments);
|
|
1193
1193
|
}
|
|
1194
1194
|
return getTeamEnabledSites;
|
|
@@ -1215,7 +1215,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
}, _callee40, this);
|
|
1217
1217
|
}));
|
|
1218
|
-
function assignTeamsToSites(
|
|
1218
|
+
function assignTeamsToSites(_x63) {
|
|
1219
1219
|
return _assignTeamsToSites.apply(this, arguments);
|
|
1220
1220
|
}
|
|
1221
1221
|
return assignTeamsToSites;
|
|
@@ -1237,7 +1237,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
}, _callee41, this);
|
|
1239
1239
|
}));
|
|
1240
|
-
function getTeamsToBeClonedToJsmSites(
|
|
1240
|
+
function getTeamsToBeClonedToJsmSites(_x64) {
|
|
1241
1241
|
return _getTeamsToBeClonedToJsmSites.apply(this, arguments);
|
|
1242
1242
|
}
|
|
1243
1243
|
return getTeamsToBeClonedToJsmSites;
|
|
@@ -1259,7 +1259,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
}, _callee42, this);
|
|
1261
1261
|
}));
|
|
1262
|
-
function setTeamSiteAssignmentPermission(
|
|
1262
|
+
function setTeamSiteAssignmentPermission(_x65, _x66) {
|
|
1263
1263
|
return _setTeamSiteAssignmentPermission.apply(this, arguments);
|
|
1264
1264
|
}
|
|
1265
1265
|
return setTeamSiteAssignmentPermission;
|
|
@@ -1288,7 +1288,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
}, _callee43, this);
|
|
1290
1290
|
}));
|
|
1291
|
-
function getAssignedTeams(
|
|
1291
|
+
function getAssignedTeams(_x67, _x68, _x69, _x70) {
|
|
1292
1292
|
return _getAssignedTeams.apply(this, arguments);
|
|
1293
1293
|
}
|
|
1294
1294
|
return getAssignedTeams;
|
|
@@ -1317,7 +1317,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
}, _callee44, this);
|
|
1319
1319
|
}));
|
|
1320
|
-
function getUnassignedTeams(
|
|
1320
|
+
function getUnassignedTeams(_x71, _x72, _x73, _x74) {
|
|
1321
1321
|
return _getUnassignedTeams.apply(this, arguments);
|
|
1322
1322
|
}
|
|
1323
1323
|
return getUnassignedTeams;
|
|
@@ -1518,7 +1518,7 @@ export var LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1518
1518
|
}
|
|
1519
1519
|
}, _callee46, this, [[0, 4]]);
|
|
1520
1520
|
}));
|
|
1521
|
-
function getTeamStatesInBulk(
|
|
1521
|
+
function getTeamStatesInBulk(_x75, _x76) {
|
|
1522
1522
|
return _getTeamStatesInBulk.apply(this, arguments);
|
|
1523
1523
|
}
|
|
1524
1524
|
return getTeamStatesInBulk;
|
|
@@ -377,13 +377,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
377
377
|
}, {
|
|
378
378
|
key: "getTeamById",
|
|
379
379
|
value: (function () {
|
|
380
|
-
var _getTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(teamId) {
|
|
380
|
+
var _getTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(teamId, cloudId) {
|
|
381
381
|
var _this5 = this;
|
|
382
382
|
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
383
383
|
while (1) switch (_context9.prev = _context9.next) {
|
|
384
384
|
case 0:
|
|
385
385
|
return _context9.abrupt("return", this.measurePerformance('getTeamById', function () {
|
|
386
|
-
return _this5._legionClient.getTeamById(teamId);
|
|
386
|
+
return _this5._legionClient.getTeamById(teamId, cloudId);
|
|
387
387
|
}));
|
|
388
388
|
case 1:
|
|
389
389
|
case "end":
|
|
@@ -391,7 +391,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
391
391
|
}
|
|
392
392
|
}, _callee9, this);
|
|
393
393
|
}));
|
|
394
|
-
function getTeamById(_x8) {
|
|
394
|
+
function getTeamById(_x8, _x9) {
|
|
395
395
|
return _getTeamById.apply(this, arguments);
|
|
396
396
|
}
|
|
397
397
|
return getTeamById;
|
|
@@ -554,7 +554,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
554
554
|
}
|
|
555
555
|
}, _callee12, this);
|
|
556
556
|
}));
|
|
557
|
-
function getTeamLinksByTeamId(
|
|
557
|
+
function getTeamLinksByTeamId(_x0) {
|
|
558
558
|
return _getTeamLinksByTeamId.apply(this, arguments);
|
|
559
559
|
}
|
|
560
560
|
return getTeamLinksByTeamId;
|
|
@@ -909,7 +909,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
909
909
|
}
|
|
910
910
|
}, _callee23, this);
|
|
911
911
|
}));
|
|
912
|
-
function cancelJoinRequest(
|
|
912
|
+
function cancelJoinRequest(_x1) {
|
|
913
913
|
return _cancelJoinRequest.apply(this, arguments);
|
|
914
914
|
}
|
|
915
915
|
return cancelJoinRequest;
|
|
@@ -1071,7 +1071,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1071
1071
|
}
|
|
1072
1072
|
}, _callee28, this);
|
|
1073
1073
|
}));
|
|
1074
|
-
function deleteTeam(
|
|
1074
|
+
function deleteTeam(_x10) {
|
|
1075
1075
|
return _deleteTeam.apply(this, arguments);
|
|
1076
1076
|
}
|
|
1077
1077
|
return deleteTeam;
|
|
@@ -1097,7 +1097,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1097
1097
|
}
|
|
1098
1098
|
}, _callee29, this);
|
|
1099
1099
|
}));
|
|
1100
|
-
function archiveTeam(
|
|
1100
|
+
function archiveTeam(_x11) {
|
|
1101
1101
|
return _archiveTeam.apply(this, arguments);
|
|
1102
1102
|
}
|
|
1103
1103
|
return archiveTeam;
|
|
@@ -1123,7 +1123,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
}, _callee30, this);
|
|
1125
1125
|
}));
|
|
1126
|
-
function unarchiveTeam(
|
|
1126
|
+
function unarchiveTeam(_x12) {
|
|
1127
1127
|
return _unarchiveTeam.apply(this, arguments);
|
|
1128
1128
|
}
|
|
1129
1129
|
return unarchiveTeam;
|
|
@@ -1149,7 +1149,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
}, _callee31, this);
|
|
1151
1151
|
}));
|
|
1152
|
-
function unlinkTeamFromGroup(
|
|
1152
|
+
function unlinkTeamFromGroup(_x13) {
|
|
1153
1153
|
return _unlinkTeamFromGroup.apply(this, arguments);
|
|
1154
1154
|
}
|
|
1155
1155
|
return unlinkTeamFromGroup;
|
|
@@ -1173,7 +1173,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
}, _callee32, this);
|
|
1175
1175
|
}));
|
|
1176
|
-
function isSingleFullMemberTeam(
|
|
1176
|
+
function isSingleFullMemberTeam(_x14) {
|
|
1177
1177
|
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
1178
1178
|
}
|
|
1179
1179
|
return isSingleFullMemberTeam;
|
|
@@ -1517,7 +1517,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1517
1517
|
}
|
|
1518
1518
|
}, _callee42, this);
|
|
1519
1519
|
}));
|
|
1520
|
-
function getSoftDeletdTeamById(
|
|
1520
|
+
function getSoftDeletdTeamById(_x15) {
|
|
1521
1521
|
return _getSoftDeletdTeamById.apply(this, arguments);
|
|
1522
1522
|
}
|
|
1523
1523
|
return getSoftDeletdTeamById;
|
|
@@ -1545,7 +1545,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1545
1545
|
}
|
|
1546
1546
|
}, _callee43, this);
|
|
1547
1547
|
}));
|
|
1548
|
-
function getUserInSiteUserBase(
|
|
1548
|
+
function getUserInSiteUserBase(_x16) {
|
|
1549
1549
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
1550
1550
|
}
|
|
1551
1551
|
return getUserInSiteUserBase;
|
|
@@ -2035,7 +2035,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2035
2035
|
}
|
|
2036
2036
|
}, _callee55, this);
|
|
2037
2037
|
}));
|
|
2038
|
-
function updateUserHeaderImage(
|
|
2038
|
+
function updateUserHeaderImage(_x17) {
|
|
2039
2039
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
2040
2040
|
}
|
|
2041
2041
|
return updateUserHeaderImage;
|
|
@@ -108,7 +108,7 @@ export declare class TeamsClient {
|
|
|
108
108
|
* @param teamId
|
|
109
109
|
* @returns {Promise<TeamWithImageUrls>}
|
|
110
110
|
*/
|
|
111
|
-
getTeamById(teamId: string): Promise<AwaitedReturn<typeof defaultLegionClient.getTeamById>>;
|
|
111
|
+
getTeamById(teamId: string, cloudId?: string): Promise<AwaitedReturn<typeof defaultLegionClient.getTeamById>>;
|
|
112
112
|
/**
|
|
113
113
|
* Search teams based on query
|
|
114
114
|
*/
|
|
@@ -108,7 +108,7 @@ export declare class TeamsClient {
|
|
|
108
108
|
* @param teamId
|
|
109
109
|
* @returns {Promise<TeamWithImageUrls>}
|
|
110
110
|
*/
|
|
111
|
-
getTeamById(teamId: string): Promise<AwaitedReturn<typeof defaultLegionClient.getTeamById>>;
|
|
111
|
+
getTeamById(teamId: string, cloudId?: string): Promise<AwaitedReturn<typeof defaultLegionClient.getTeamById>>;
|
|
112
112
|
/**
|
|
113
113
|
* Search teams based on query
|
|
114
114
|
*/
|