@atlaskit/teams-client 4.7.0 → 4.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/cjs/common/utils/ufo/constants.js +1 -1
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/agg-client/index.js +1 -1
- package/dist/cjs/services/legion-client/index.js +200 -163
- package/dist/cjs/services/main.js +492 -458
- 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/agg-client/index.js +1 -1
- package/dist/es2019/services/legion-client/index.js +17 -1
- package/dist/es2019/services/main.js +7 -0
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/common/utils/ufo/constants.js +1 -1
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/agg-client/index.js +1 -1
- package/dist/esm/services/legion-client/index.js +200 -163
- package/dist/esm/services/main.js +492 -458
- 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 +7 -1
- package/dist/types/services/legion-client/types.d.ts +8 -0
- package/dist/types/services/main.d.ts +4 -0
- package/dist/types/types/association.d.ts +1 -1
- package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +3 -2
- package/dist/types-ts4.5/services/legion-client/index.d.ts +7 -1
- package/dist/types-ts4.5/services/legion-client/types.d.ts +8 -0
- package/dist/types-ts4.5/services/main.d.ts +4 -0
- package/dist/types-ts4.5/types/association.d.ts +1 -1
- package/package.json +1 -1
|
@@ -813,73 +813,73 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
813
813
|
return selfJoinTeam;
|
|
814
814
|
}()
|
|
815
815
|
/**
|
|
816
|
-
*
|
|
816
|
+
* Add agent to a team
|
|
817
817
|
*/
|
|
818
818
|
)
|
|
819
819
|
}, {
|
|
820
|
-
key: "
|
|
820
|
+
key: "addAgentsToTeam",
|
|
821
821
|
value: (function () {
|
|
822
|
-
var
|
|
822
|
+
var _addAgentsToTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee21() {
|
|
823
823
|
var _this17 = this;
|
|
824
|
+
var _len12,
|
|
825
|
+
args,
|
|
826
|
+
_key12,
|
|
827
|
+
_args21 = arguments;
|
|
824
828
|
return _regeneratorRuntime.wrap(function _callee21$(_context21) {
|
|
825
829
|
while (1) switch (_context21.prev = _context21.next) {
|
|
826
830
|
case 0:
|
|
827
|
-
|
|
828
|
-
|
|
831
|
+
for (_len12 = _args21.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
|
|
832
|
+
args[_key12] = _args21[_key12];
|
|
833
|
+
}
|
|
834
|
+
return _context21.abrupt("return", this.measurePerformance('addAgentToTeam', function () {
|
|
835
|
+
var _this17$_legionClient;
|
|
836
|
+
return (_this17$_legionClient = _this17._legionClient).addAgentsToTeam.apply(_this17$_legionClient, args);
|
|
829
837
|
}));
|
|
830
|
-
case
|
|
838
|
+
case 2:
|
|
831
839
|
case "end":
|
|
832
840
|
return _context21.stop();
|
|
833
841
|
}
|
|
834
842
|
}, _callee21, this);
|
|
835
843
|
}));
|
|
836
|
-
function
|
|
837
|
-
return
|
|
844
|
+
function addAgentsToTeam() {
|
|
845
|
+
return _addAgentsToTeam.apply(this, arguments);
|
|
838
846
|
}
|
|
839
|
-
return
|
|
847
|
+
return addAgentsToTeam;
|
|
840
848
|
}()
|
|
841
849
|
/**
|
|
842
|
-
*
|
|
850
|
+
* Cancel a join request to a private team
|
|
843
851
|
*/
|
|
844
852
|
)
|
|
845
853
|
}, {
|
|
846
|
-
key: "
|
|
854
|
+
key: "cancelJoinRequest",
|
|
847
855
|
value: (function () {
|
|
848
|
-
var
|
|
856
|
+
var _cancelJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee22(teamId) {
|
|
849
857
|
var _this18 = this;
|
|
850
|
-
var _len12,
|
|
851
|
-
args,
|
|
852
|
-
_key12,
|
|
853
|
-
_args22 = arguments;
|
|
854
858
|
return _regeneratorRuntime.wrap(function _callee22$(_context22) {
|
|
855
859
|
while (1) switch (_context22.prev = _context22.next) {
|
|
856
860
|
case 0:
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
}
|
|
860
|
-
return _context22.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
|
|
861
|
-
var _this18$_legionClient;
|
|
862
|
-
return (_this18$_legionClient = _this18._legionClient).acceptJoinRequest.apply(_this18$_legionClient, args);
|
|
861
|
+
return _context22.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
|
|
862
|
+
return _this18._legionClient.cancelJoinRequest(teamId);
|
|
863
863
|
}));
|
|
864
|
-
case
|
|
864
|
+
case 1:
|
|
865
865
|
case "end":
|
|
866
866
|
return _context22.stop();
|
|
867
867
|
}
|
|
868
868
|
}, _callee22, this);
|
|
869
869
|
}));
|
|
870
|
-
function
|
|
871
|
-
return
|
|
870
|
+
function cancelJoinRequest(_x0) {
|
|
871
|
+
return _cancelJoinRequest.apply(this, arguments);
|
|
872
872
|
}
|
|
873
|
-
return
|
|
873
|
+
return cancelJoinRequest;
|
|
874
874
|
}()
|
|
875
875
|
/**
|
|
876
|
-
*
|
|
876
|
+
* Accept a join request to a private team
|
|
877
877
|
*/
|
|
878
878
|
)
|
|
879
879
|
}, {
|
|
880
|
-
key: "
|
|
880
|
+
key: "acceptJoinRequest",
|
|
881
881
|
value: (function () {
|
|
882
|
-
var
|
|
882
|
+
var _acceptJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee23() {
|
|
883
883
|
var _this19 = this;
|
|
884
884
|
var _len13,
|
|
885
885
|
args,
|
|
@@ -891,9 +891,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
891
891
|
for (_len13 = _args23.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
|
|
892
892
|
args[_key13] = _args23[_key13];
|
|
893
893
|
}
|
|
894
|
-
return _context23.abrupt("return", this.measurePerformance('
|
|
894
|
+
return _context23.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
|
|
895
895
|
var _this19$_legionClient;
|
|
896
|
-
return (_this19$_legionClient = _this19._legionClient).
|
|
896
|
+
return (_this19$_legionClient = _this19._legionClient).acceptJoinRequest.apply(_this19$_legionClient, args);
|
|
897
897
|
}));
|
|
898
898
|
case 2:
|
|
899
899
|
case "end":
|
|
@@ -901,19 +901,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
901
901
|
}
|
|
902
902
|
}, _callee23, this);
|
|
903
903
|
}));
|
|
904
|
-
function
|
|
905
|
-
return
|
|
904
|
+
function acceptJoinRequest() {
|
|
905
|
+
return _acceptJoinRequest.apply(this, arguments);
|
|
906
906
|
}
|
|
907
|
-
return
|
|
907
|
+
return acceptJoinRequest;
|
|
908
908
|
}()
|
|
909
909
|
/**
|
|
910
|
-
*
|
|
910
|
+
* Decline a join request to a private team
|
|
911
911
|
*/
|
|
912
912
|
)
|
|
913
913
|
}, {
|
|
914
|
-
key: "
|
|
914
|
+
key: "declineJoinRequest",
|
|
915
915
|
value: (function () {
|
|
916
|
-
var
|
|
916
|
+
var _declineJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee24() {
|
|
917
917
|
var _this20 = this;
|
|
918
918
|
var _len14,
|
|
919
919
|
args,
|
|
@@ -925,9 +925,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
925
925
|
for (_len14 = _args24.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
|
|
926
926
|
args[_key14] = _args24[_key14];
|
|
927
927
|
}
|
|
928
|
-
return _context24.abrupt("return", this.measurePerformance('
|
|
928
|
+
return _context24.abrupt("return", this.measurePerformance('declineJoinRequest', function () {
|
|
929
929
|
var _this20$_legionClient;
|
|
930
|
-
return (_this20$_legionClient = _this20._legionClient).
|
|
930
|
+
return (_this20$_legionClient = _this20._legionClient).declineJoinRequest.apply(_this20$_legionClient, args);
|
|
931
931
|
}));
|
|
932
932
|
case 2:
|
|
933
933
|
case "end":
|
|
@@ -935,19 +935,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
935
935
|
}
|
|
936
936
|
}, _callee24, this);
|
|
937
937
|
}));
|
|
938
|
-
function
|
|
939
|
-
return
|
|
938
|
+
function declineJoinRequest() {
|
|
939
|
+
return _declineJoinRequest.apply(this, arguments);
|
|
940
940
|
}
|
|
941
|
-
return
|
|
941
|
+
return declineJoinRequest;
|
|
942
942
|
}()
|
|
943
943
|
/**
|
|
944
|
-
* @deprecated
|
|
944
|
+
* @deprecated use removeTeamMemberships instead
|
|
945
945
|
*/
|
|
946
946
|
)
|
|
947
947
|
}, {
|
|
948
|
-
key: "
|
|
948
|
+
key: "deleteTeamMembership",
|
|
949
949
|
value: (function () {
|
|
950
|
-
var
|
|
950
|
+
var _deleteTeamMembership = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee25() {
|
|
951
951
|
var _this21 = this;
|
|
952
952
|
var _len15,
|
|
953
953
|
args,
|
|
@@ -959,9 +959,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
959
959
|
for (_len15 = _args25.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
|
|
960
960
|
args[_key15] = _args25[_key15];
|
|
961
961
|
}
|
|
962
|
-
return _context25.abrupt("return", this.measurePerformance('
|
|
962
|
+
return _context25.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
|
|
963
963
|
var _this21$_legionClient;
|
|
964
|
-
return (_this21$_legionClient = _this21._legionClient).
|
|
964
|
+
return (_this21$_legionClient = _this21._legionClient).deleteTeamMembership.apply(_this21$_legionClient, args);
|
|
965
965
|
}));
|
|
966
966
|
case 2:
|
|
967
967
|
case "end":
|
|
@@ -969,103 +969,103 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
969
969
|
}
|
|
970
970
|
}, _callee25, this);
|
|
971
971
|
}));
|
|
972
|
-
function
|
|
973
|
-
return
|
|
972
|
+
function deleteTeamMembership() {
|
|
973
|
+
return _deleteTeamMembership.apply(this, arguments);
|
|
974
974
|
}
|
|
975
|
-
return
|
|
975
|
+
return deleteTeamMembership;
|
|
976
976
|
}()
|
|
977
977
|
/**
|
|
978
|
-
*
|
|
978
|
+
* @deprecated INVITED status has been deprecated
|
|
979
979
|
*/
|
|
980
980
|
)
|
|
981
981
|
}, {
|
|
982
|
-
key: "
|
|
982
|
+
key: "revokeTeamInvite",
|
|
983
983
|
value: (function () {
|
|
984
|
-
var
|
|
984
|
+
var _revokeTeamInvite = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee26() {
|
|
985
985
|
var _this22 = this;
|
|
986
|
+
var _len16,
|
|
987
|
+
args,
|
|
988
|
+
_key16,
|
|
989
|
+
_args26 = arguments;
|
|
986
990
|
return _regeneratorRuntime.wrap(function _callee26$(_context26) {
|
|
987
991
|
while (1) switch (_context26.prev = _context26.next) {
|
|
988
992
|
case 0:
|
|
989
|
-
|
|
990
|
-
|
|
993
|
+
for (_len16 = _args26.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
|
|
994
|
+
args[_key16] = _args26[_key16];
|
|
995
|
+
}
|
|
996
|
+
return _context26.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
|
|
997
|
+
var _this22$_legionClient;
|
|
998
|
+
return (_this22$_legionClient = _this22._legionClient).revokeTeamInvite.apply(_this22$_legionClient, args);
|
|
991
999
|
}));
|
|
992
|
-
case
|
|
1000
|
+
case 2:
|
|
993
1001
|
case "end":
|
|
994
1002
|
return _context26.stop();
|
|
995
1003
|
}
|
|
996
1004
|
}, _callee26, this);
|
|
997
1005
|
}));
|
|
998
|
-
function
|
|
999
|
-
return
|
|
1006
|
+
function revokeTeamInvite() {
|
|
1007
|
+
return _revokeTeamInvite.apply(this, arguments);
|
|
1000
1008
|
}
|
|
1001
|
-
return
|
|
1009
|
+
return revokeTeamInvite;
|
|
1002
1010
|
}()
|
|
1003
1011
|
/**
|
|
1004
|
-
*
|
|
1005
|
-
* @deprecated should be other means to solve this issue
|
|
1012
|
+
* Delete a team
|
|
1006
1013
|
*/
|
|
1007
1014
|
)
|
|
1008
1015
|
}, {
|
|
1009
|
-
key: "
|
|
1016
|
+
key: "deleteTeam",
|
|
1010
1017
|
value: (function () {
|
|
1011
|
-
var
|
|
1018
|
+
var _deleteTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee27(teamId) {
|
|
1019
|
+
var _this23 = this;
|
|
1012
1020
|
return _regeneratorRuntime.wrap(function _callee27$(_context27) {
|
|
1013
1021
|
while (1) switch (_context27.prev = _context27.next) {
|
|
1014
1022
|
case 0:
|
|
1015
|
-
return _context27.abrupt("return", this.
|
|
1023
|
+
return _context27.abrupt("return", this.measurePerformance('deleteTeam', function () {
|
|
1024
|
+
return _this23._legionClient.deleteTeam(teamId);
|
|
1025
|
+
}));
|
|
1016
1026
|
case 1:
|
|
1017
1027
|
case "end":
|
|
1018
1028
|
return _context27.stop();
|
|
1019
1029
|
}
|
|
1020
1030
|
}, _callee27, this);
|
|
1021
1031
|
}));
|
|
1022
|
-
function
|
|
1023
|
-
return
|
|
1032
|
+
function deleteTeam(_x1) {
|
|
1033
|
+
return _deleteTeam.apply(this, arguments);
|
|
1024
1034
|
}
|
|
1025
|
-
return
|
|
1035
|
+
return deleteTeam;
|
|
1026
1036
|
}()
|
|
1027
1037
|
/**
|
|
1028
|
-
*
|
|
1038
|
+
* @private
|
|
1039
|
+
* @deprecated should be other means to solve this issue
|
|
1029
1040
|
*/
|
|
1030
1041
|
)
|
|
1031
1042
|
}, {
|
|
1032
|
-
key: "
|
|
1043
|
+
key: "isSingleFullMemberTeam",
|
|
1033
1044
|
value: (function () {
|
|
1034
|
-
var
|
|
1035
|
-
var _this23 = this;
|
|
1036
|
-
var _len16,
|
|
1037
|
-
args,
|
|
1038
|
-
_key16,
|
|
1039
|
-
_args28 = arguments;
|
|
1045
|
+
var _isSingleFullMemberTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee28(teamId) {
|
|
1040
1046
|
return _regeneratorRuntime.wrap(function _callee28$(_context28) {
|
|
1041
1047
|
while (1) switch (_context28.prev = _context28.next) {
|
|
1042
1048
|
case 0:
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
}
|
|
1046
|
-
return _context28.abrupt("return", this.measurePerformance('createTeam', function () {
|
|
1047
|
-
var _this23$_legionClient;
|
|
1048
|
-
return (_this23$_legionClient = _this23._legionClient).createTeam.apply(_this23$_legionClient, args);
|
|
1049
|
-
}));
|
|
1050
|
-
case 2:
|
|
1049
|
+
return _context28.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
|
|
1050
|
+
case 1:
|
|
1051
1051
|
case "end":
|
|
1052
1052
|
return _context28.stop();
|
|
1053
1053
|
}
|
|
1054
1054
|
}, _callee28, this);
|
|
1055
1055
|
}));
|
|
1056
|
-
function
|
|
1057
|
-
return
|
|
1056
|
+
function isSingleFullMemberTeam(_x10) {
|
|
1057
|
+
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
1058
1058
|
}
|
|
1059
|
-
return
|
|
1059
|
+
return isSingleFullMemberTeam;
|
|
1060
1060
|
}()
|
|
1061
1061
|
/**
|
|
1062
|
-
* Create
|
|
1062
|
+
* Create a team
|
|
1063
1063
|
*/
|
|
1064
1064
|
)
|
|
1065
1065
|
}, {
|
|
1066
|
-
key: "
|
|
1066
|
+
key: "createTeam",
|
|
1067
1067
|
value: (function () {
|
|
1068
|
-
var
|
|
1068
|
+
var _createTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee29() {
|
|
1069
1069
|
var _this24 = this;
|
|
1070
1070
|
var _len17,
|
|
1071
1071
|
args,
|
|
@@ -1077,9 +1077,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1077
1077
|
for (_len17 = _args29.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
|
|
1078
1078
|
args[_key17] = _args29[_key17];
|
|
1079
1079
|
}
|
|
1080
|
-
return _context29.abrupt("return", this.measurePerformance('
|
|
1080
|
+
return _context29.abrupt("return", this.measurePerformance('createTeam', function () {
|
|
1081
1081
|
var _this24$_legionClient;
|
|
1082
|
-
return (_this24$_legionClient = _this24._legionClient).
|
|
1082
|
+
return (_this24$_legionClient = _this24._legionClient).createTeam.apply(_this24$_legionClient, args);
|
|
1083
1083
|
}));
|
|
1084
1084
|
case 2:
|
|
1085
1085
|
case "end":
|
|
@@ -1087,21 +1087,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
}, _callee29, this);
|
|
1089
1089
|
}));
|
|
1090
|
-
function
|
|
1091
|
-
return
|
|
1090
|
+
function createTeam() {
|
|
1091
|
+
return _createTeam.apply(this, arguments);
|
|
1092
1092
|
}
|
|
1093
|
-
return
|
|
1093
|
+
return createTeam;
|
|
1094
1094
|
}()
|
|
1095
1095
|
/**
|
|
1096
|
-
* Create a
|
|
1097
|
-
* @param {string} groupDescription - The description of the group, which will be used as the team description. The group name will be fetched from the identity service, so it does not need to be provided.
|
|
1098
|
-
* @param {ExternalReference} externalReference
|
|
1096
|
+
* Create containers for a team
|
|
1099
1097
|
*/
|
|
1100
1098
|
)
|
|
1101
1099
|
}, {
|
|
1102
|
-
key: "
|
|
1100
|
+
key: "createTeamContainers",
|
|
1103
1101
|
value: (function () {
|
|
1104
|
-
var
|
|
1102
|
+
var _createTeamContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee30() {
|
|
1105
1103
|
var _this25 = this;
|
|
1106
1104
|
var _len18,
|
|
1107
1105
|
args,
|
|
@@ -1113,9 +1111,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1113
1111
|
for (_len18 = _args30.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
|
|
1114
1112
|
args[_key18] = _args30[_key18];
|
|
1115
1113
|
}
|
|
1116
|
-
return _context30.abrupt("return", this.measurePerformance('
|
|
1114
|
+
return _context30.abrupt("return", this.measurePerformance('createTeamContainers', function () {
|
|
1117
1115
|
var _this25$_legionClient;
|
|
1118
|
-
return (_this25$_legionClient = _this25._legionClient).
|
|
1116
|
+
return (_this25$_legionClient = _this25._legionClient).createTeamContainers.apply(_this25$_legionClient, args);
|
|
1119
1117
|
}));
|
|
1120
1118
|
case 2:
|
|
1121
1119
|
case "end":
|
|
@@ -1123,20 +1121,21 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1123
1121
|
}
|
|
1124
1122
|
}, _callee30, this);
|
|
1125
1123
|
}));
|
|
1126
|
-
function
|
|
1127
|
-
return
|
|
1124
|
+
function createTeamContainers() {
|
|
1125
|
+
return _createTeamContainers.apply(this, arguments);
|
|
1128
1126
|
}
|
|
1129
|
-
return
|
|
1127
|
+
return createTeamContainers;
|
|
1130
1128
|
}()
|
|
1131
1129
|
/**
|
|
1132
|
-
*
|
|
1133
|
-
* @param {string}
|
|
1130
|
+
* Create a external team
|
|
1131
|
+
* @param {string} groupDescription - The description of the group, which will be used as the team description. The group name will be fetched from the identity service, so it does not need to be provided.
|
|
1132
|
+
* @param {ExternalReference} externalReference
|
|
1134
1133
|
*/
|
|
1135
1134
|
)
|
|
1136
1135
|
}, {
|
|
1137
|
-
key: "
|
|
1136
|
+
key: "createExternalTeam",
|
|
1138
1137
|
value: (function () {
|
|
1139
|
-
var
|
|
1138
|
+
var _createExternalTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee31() {
|
|
1140
1139
|
var _this26 = this;
|
|
1141
1140
|
var _len19,
|
|
1142
1141
|
args,
|
|
@@ -1148,9 +1147,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1148
1147
|
for (_len19 = _args31.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
|
|
1149
1148
|
args[_key19] = _args31[_key19];
|
|
1150
1149
|
}
|
|
1151
|
-
return _context31.abrupt("return", this.measurePerformance('
|
|
1150
|
+
return _context31.abrupt("return", this.measurePerformance('createExternalTeam', function () {
|
|
1152
1151
|
var _this26$_legionClient;
|
|
1153
|
-
return (_this26$_legionClient = _this26._legionClient).
|
|
1152
|
+
return (_this26$_legionClient = _this26._legionClient).createExternalTeam.apply(_this26$_legionClient, args);
|
|
1154
1153
|
}));
|
|
1155
1154
|
case 2:
|
|
1156
1155
|
case "end":
|
|
@@ -1158,19 +1157,20 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1158
1157
|
}
|
|
1159
1158
|
}, _callee31, this);
|
|
1160
1159
|
}));
|
|
1161
|
-
function
|
|
1162
|
-
return
|
|
1160
|
+
function createExternalTeam() {
|
|
1161
|
+
return _createExternalTeam.apply(this, arguments);
|
|
1163
1162
|
}
|
|
1164
|
-
return
|
|
1163
|
+
return createExternalTeam;
|
|
1165
1164
|
}()
|
|
1166
1165
|
/**
|
|
1167
|
-
* Get
|
|
1166
|
+
* Get linked teams for a groups in bulk
|
|
1167
|
+
* @param {string} groupIds - The group ids to fetch linked teams for
|
|
1168
1168
|
*/
|
|
1169
1169
|
)
|
|
1170
1170
|
}, {
|
|
1171
|
-
key: "
|
|
1171
|
+
key: "getLinkedTeamsBulk",
|
|
1172
1172
|
value: (function () {
|
|
1173
|
-
var
|
|
1173
|
+
var _getLinkedTeamsBulk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee32() {
|
|
1174
1174
|
var _this27 = this;
|
|
1175
1175
|
var _len20,
|
|
1176
1176
|
args,
|
|
@@ -1182,9 +1182,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1182
1182
|
for (_len20 = _args32.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
|
|
1183
1183
|
args[_key20] = _args32[_key20];
|
|
1184
1184
|
}
|
|
1185
|
-
return _context32.abrupt("return", this.measurePerformance('
|
|
1185
|
+
return _context32.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
|
|
1186
1186
|
var _this27$_legionClient;
|
|
1187
|
-
return (_this27$_legionClient = _this27._legionClient).
|
|
1187
|
+
return (_this27$_legionClient = _this27._legionClient).getLinkedTeamsBulk.apply(_this27$_legionClient, args);
|
|
1188
1188
|
}));
|
|
1189
1189
|
case 2:
|
|
1190
1190
|
case "end":
|
|
@@ -1192,19 +1192,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1192
1192
|
}
|
|
1193
1193
|
}, _callee32, this);
|
|
1194
1194
|
}));
|
|
1195
|
-
function
|
|
1196
|
-
return
|
|
1195
|
+
function getLinkedTeamsBulk() {
|
|
1196
|
+
return _getLinkedTeamsBulk.apply(this, arguments);
|
|
1197
1197
|
}
|
|
1198
|
-
return
|
|
1198
|
+
return getLinkedTeamsBulk;
|
|
1199
1199
|
}()
|
|
1200
1200
|
/**
|
|
1201
|
-
*
|
|
1201
|
+
* Get Org scope
|
|
1202
1202
|
*/
|
|
1203
1203
|
)
|
|
1204
1204
|
}, {
|
|
1205
|
-
key: "
|
|
1205
|
+
key: "getOrgScope",
|
|
1206
1206
|
value: (function () {
|
|
1207
|
-
var
|
|
1207
|
+
var _getOrgScope = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee33() {
|
|
1208
1208
|
var _this28 = this;
|
|
1209
1209
|
var _len21,
|
|
1210
1210
|
args,
|
|
@@ -1216,9 +1216,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1216
1216
|
for (_len21 = _args33.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
|
|
1217
1217
|
args[_key21] = _args33[_key21];
|
|
1218
1218
|
}
|
|
1219
|
-
return _context33.abrupt("return", this.measurePerformance('
|
|
1219
|
+
return _context33.abrupt("return", this.measurePerformance('getOrgScope', function () {
|
|
1220
1220
|
var _this28$_legionClient;
|
|
1221
|
-
return (_this28$_legionClient = _this28._legionClient).
|
|
1221
|
+
return (_this28$_legionClient = _this28._legionClient).getOrgScope.apply(_this28$_legionClient, args);
|
|
1222
1222
|
}));
|
|
1223
1223
|
case 2:
|
|
1224
1224
|
case "end":
|
|
@@ -1226,22 +1226,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1226
1226
|
}
|
|
1227
1227
|
}, _callee33, this);
|
|
1228
1228
|
}));
|
|
1229
|
-
function
|
|
1230
|
-
return
|
|
1229
|
+
function getOrgScope() {
|
|
1230
|
+
return _getOrgScope.apply(this, arguments);
|
|
1231
1231
|
}
|
|
1232
|
-
return
|
|
1232
|
+
return getOrgScope;
|
|
1233
1233
|
}()
|
|
1234
1234
|
/**
|
|
1235
|
-
*
|
|
1236
|
-
* @param teamId
|
|
1237
|
-
* @param {ExternalReference} externalReference
|
|
1238
|
-
* @returns {Promise<TeamAndGroupDifference>}
|
|
1235
|
+
* Restore soft-deleted team and sync to group
|
|
1239
1236
|
*/
|
|
1240
1237
|
)
|
|
1241
1238
|
}, {
|
|
1242
|
-
key: "
|
|
1239
|
+
key: "restoreTeamToSyncedGroup",
|
|
1243
1240
|
value: (function () {
|
|
1244
|
-
var
|
|
1241
|
+
var _restoreTeamToSyncedGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee34() {
|
|
1245
1242
|
var _this29 = this;
|
|
1246
1243
|
var _len22,
|
|
1247
1244
|
args,
|
|
@@ -1253,9 +1250,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1253
1250
|
for (_len22 = _args34.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
|
|
1254
1251
|
args[_key22] = _args34[_key22];
|
|
1255
1252
|
}
|
|
1256
|
-
return _context34.abrupt("return", this.measurePerformance('
|
|
1253
|
+
return _context34.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
|
|
1257
1254
|
var _this29$_legionClient;
|
|
1258
|
-
return (_this29$_legionClient = _this29._legionClient).
|
|
1255
|
+
return (_this29$_legionClient = _this29._legionClient).restoreTeamToSyncedGroup.apply(_this29$_legionClient, args);
|
|
1259
1256
|
}));
|
|
1260
1257
|
case 2:
|
|
1261
1258
|
case "end":
|
|
@@ -1263,21 +1260,22 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1263
1260
|
}
|
|
1264
1261
|
}, _callee34, this);
|
|
1265
1262
|
}));
|
|
1266
|
-
function
|
|
1267
|
-
return
|
|
1263
|
+
function restoreTeamToSyncedGroup() {
|
|
1264
|
+
return _restoreTeamToSyncedGroup.apply(this, arguments);
|
|
1268
1265
|
}
|
|
1269
|
-
return
|
|
1266
|
+
return restoreTeamToSyncedGroup;
|
|
1270
1267
|
}()
|
|
1271
1268
|
/**
|
|
1272
|
-
*
|
|
1269
|
+
* Get the difference between a team and a group
|
|
1273
1270
|
* @param teamId
|
|
1274
1271
|
* @param {ExternalReference} externalReference
|
|
1272
|
+
* @returns {Promise<TeamAndGroupDifference>}
|
|
1275
1273
|
*/
|
|
1276
1274
|
)
|
|
1277
1275
|
}, {
|
|
1278
|
-
key: "
|
|
1276
|
+
key: "getTeamAndGroupDiff",
|
|
1279
1277
|
value: (function () {
|
|
1280
|
-
var
|
|
1278
|
+
var _getTeamAndGroupDiff = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee35() {
|
|
1281
1279
|
var _this30 = this;
|
|
1282
1280
|
var _len23,
|
|
1283
1281
|
args,
|
|
@@ -1289,9 +1287,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1289
1287
|
for (_len23 = _args35.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
|
|
1290
1288
|
args[_key23] = _args35[_key23];
|
|
1291
1289
|
}
|
|
1292
|
-
return _context35.abrupt("return", this.measurePerformance('
|
|
1290
|
+
return _context35.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
|
|
1293
1291
|
var _this30$_legionClient;
|
|
1294
|
-
return (_this30$_legionClient = _this30._legionClient).
|
|
1292
|
+
return (_this30$_legionClient = _this30._legionClient).getTeamAndGroupDiff.apply(_this30$_legionClient, args);
|
|
1295
1293
|
}));
|
|
1296
1294
|
case 2:
|
|
1297
1295
|
case "end":
|
|
@@ -1299,21 +1297,21 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1299
1297
|
}
|
|
1300
1298
|
}, _callee35, this);
|
|
1301
1299
|
}));
|
|
1302
|
-
function
|
|
1303
|
-
return
|
|
1300
|
+
function getTeamAndGroupDiff() {
|
|
1301
|
+
return _getTeamAndGroupDiff.apply(this, arguments);
|
|
1304
1302
|
}
|
|
1305
|
-
return
|
|
1303
|
+
return getTeamAndGroupDiff;
|
|
1306
1304
|
}()
|
|
1307
1305
|
/**
|
|
1308
|
-
*
|
|
1306
|
+
* Link an existing team to a group
|
|
1309
1307
|
* @param teamId
|
|
1310
|
-
* @
|
|
1308
|
+
* @param {ExternalReference} externalReference
|
|
1311
1309
|
*/
|
|
1312
1310
|
)
|
|
1313
1311
|
}, {
|
|
1314
|
-
key: "
|
|
1312
|
+
key: "linkExistingTeamToGroup",
|
|
1315
1313
|
value: (function () {
|
|
1316
|
-
var
|
|
1314
|
+
var _linkExistingTeamToGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee36() {
|
|
1317
1315
|
var _this31 = this;
|
|
1318
1316
|
var _len24,
|
|
1319
1317
|
args,
|
|
@@ -1325,9 +1323,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1325
1323
|
for (_len24 = _args36.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
|
|
1326
1324
|
args[_key24] = _args36[_key24];
|
|
1327
1325
|
}
|
|
1328
|
-
return _context36.abrupt("return", this.measurePerformance('
|
|
1326
|
+
return _context36.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
|
|
1329
1327
|
var _this31$_legionClient;
|
|
1330
|
-
return (_this31$_legionClient = _this31._legionClient).
|
|
1328
|
+
return (_this31$_legionClient = _this31._legionClient).linkExistingTeamToGroup.apply(_this31$_legionClient, args);
|
|
1331
1329
|
}));
|
|
1332
1330
|
case 2:
|
|
1333
1331
|
case "end":
|
|
@@ -1335,6 +1333,42 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1335
1333
|
}
|
|
1336
1334
|
}, _callee36, this);
|
|
1337
1335
|
}));
|
|
1336
|
+
function linkExistingTeamToGroup() {
|
|
1337
|
+
return _linkExistingTeamToGroup.apply(this, arguments);
|
|
1338
|
+
}
|
|
1339
|
+
return linkExistingTeamToGroup;
|
|
1340
|
+
}()
|
|
1341
|
+
/**
|
|
1342
|
+
*
|
|
1343
|
+
* @param teamId
|
|
1344
|
+
* @returns {Promise<LinkedTeamsProfileDetails>}
|
|
1345
|
+
*/
|
|
1346
|
+
)
|
|
1347
|
+
}, {
|
|
1348
|
+
key: "getTeamProfileDetailsByTeamId",
|
|
1349
|
+
value: (function () {
|
|
1350
|
+
var _getTeamProfileDetailsByTeamId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee37() {
|
|
1351
|
+
var _this32 = this;
|
|
1352
|
+
var _len25,
|
|
1353
|
+
args,
|
|
1354
|
+
_key25,
|
|
1355
|
+
_args37 = arguments;
|
|
1356
|
+
return _regeneratorRuntime.wrap(function _callee37$(_context37) {
|
|
1357
|
+
while (1) switch (_context37.prev = _context37.next) {
|
|
1358
|
+
case 0:
|
|
1359
|
+
for (_len25 = _args37.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
|
|
1360
|
+
args[_key25] = _args37[_key25];
|
|
1361
|
+
}
|
|
1362
|
+
return _context37.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
|
|
1363
|
+
var _this32$_legionClient;
|
|
1364
|
+
return (_this32$_legionClient = _this32._legionClient).getTeamProfileDetails.apply(_this32$_legionClient, args);
|
|
1365
|
+
}));
|
|
1366
|
+
case 2:
|
|
1367
|
+
case "end":
|
|
1368
|
+
return _context37.stop();
|
|
1369
|
+
}
|
|
1370
|
+
}, _callee37, this);
|
|
1371
|
+
}));
|
|
1338
1372
|
function getTeamProfileDetailsByTeamId() {
|
|
1339
1373
|
return _getTeamProfileDetailsByTeamId.apply(this, arguments);
|
|
1340
1374
|
}
|
|
@@ -1349,19 +1383,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1349
1383
|
}, {
|
|
1350
1384
|
key: "getSoftDeletdTeamById",
|
|
1351
1385
|
value: (function () {
|
|
1352
|
-
var _getSoftDeletdTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1353
|
-
var
|
|
1354
|
-
return _regeneratorRuntime.wrap(function
|
|
1355
|
-
while (1) switch (
|
|
1386
|
+
var _getSoftDeletdTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee38(teamId) {
|
|
1387
|
+
var _this33 = this;
|
|
1388
|
+
return _regeneratorRuntime.wrap(function _callee38$(_context38) {
|
|
1389
|
+
while (1) switch (_context38.prev = _context38.next) {
|
|
1356
1390
|
case 0:
|
|
1357
|
-
return
|
|
1358
|
-
return
|
|
1391
|
+
return _context38.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
|
|
1392
|
+
return _this33._legionClient.getSoftDeletedTeamById(teamId);
|
|
1359
1393
|
}));
|
|
1360
1394
|
case 1:
|
|
1361
1395
|
case "end":
|
|
1362
|
-
return
|
|
1396
|
+
return _context38.stop();
|
|
1363
1397
|
}
|
|
1364
|
-
},
|
|
1398
|
+
}, _callee38, this);
|
|
1365
1399
|
}));
|
|
1366
1400
|
function getSoftDeletdTeamById(_x11) {
|
|
1367
1401
|
return _getSoftDeletdTeamById.apply(this, arguments);
|
|
@@ -1377,19 +1411,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1377
1411
|
}, {
|
|
1378
1412
|
key: "getUserInSiteUserBase",
|
|
1379
1413
|
value: (function () {
|
|
1380
|
-
var _getUserInSiteUserBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1381
|
-
var
|
|
1382
|
-
return _regeneratorRuntime.wrap(function
|
|
1383
|
-
while (1) switch (
|
|
1414
|
+
var _getUserInSiteUserBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee39(userId) {
|
|
1415
|
+
var _this34 = this;
|
|
1416
|
+
return _regeneratorRuntime.wrap(function _callee39$(_context39) {
|
|
1417
|
+
while (1) switch (_context39.prev = _context39.next) {
|
|
1384
1418
|
case 0:
|
|
1385
|
-
return
|
|
1386
|
-
return
|
|
1419
|
+
return _context39.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
|
|
1420
|
+
return _this34._legionClient.getUserInSiteUserBase(userId);
|
|
1387
1421
|
}));
|
|
1388
1422
|
case 1:
|
|
1389
1423
|
case "end":
|
|
1390
|
-
return
|
|
1424
|
+
return _context39.stop();
|
|
1391
1425
|
}
|
|
1392
|
-
},
|
|
1426
|
+
}, _callee39, this);
|
|
1393
1427
|
}));
|
|
1394
1428
|
function getUserInSiteUserBase(_x12) {
|
|
1395
1429
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
@@ -1409,27 +1443,27 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1409
1443
|
}, {
|
|
1410
1444
|
key: "getProfileWithMutability",
|
|
1411
1445
|
value: (function () {
|
|
1412
|
-
var _getProfileWithMutability = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1413
|
-
var
|
|
1414
|
-
var
|
|
1446
|
+
var _getProfileWithMutability = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee40() {
|
|
1447
|
+
var _this35 = this;
|
|
1448
|
+
var _len26,
|
|
1415
1449
|
args,
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
return _regeneratorRuntime.wrap(function
|
|
1419
|
-
while (1) switch (
|
|
1450
|
+
_key26,
|
|
1451
|
+
_args40 = arguments;
|
|
1452
|
+
return _regeneratorRuntime.wrap(function _callee40$(_context40) {
|
|
1453
|
+
while (1) switch (_context40.prev = _context40.next) {
|
|
1420
1454
|
case 0:
|
|
1421
|
-
for (
|
|
1422
|
-
args[
|
|
1455
|
+
for (_len26 = _args40.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
|
|
1456
|
+
args[_key26] = _args40[_key26];
|
|
1423
1457
|
}
|
|
1424
|
-
return
|
|
1425
|
-
var
|
|
1426
|
-
return (
|
|
1458
|
+
return _context40.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
|
|
1459
|
+
var _this35$_mutabilityCl;
|
|
1460
|
+
return (_this35$_mutabilityCl = _this35._mutabilityClient).getProfileWithMutability.apply(_this35$_mutabilityCl, args);
|
|
1427
1461
|
}));
|
|
1428
1462
|
case 2:
|
|
1429
1463
|
case "end":
|
|
1430
|
-
return
|
|
1464
|
+
return _context40.stop();
|
|
1431
1465
|
}
|
|
1432
|
-
},
|
|
1466
|
+
}, _callee40, this);
|
|
1433
1467
|
}));
|
|
1434
1468
|
function getProfileWithMutability() {
|
|
1435
1469
|
return _getProfileWithMutability.apply(this, arguments);
|
|
@@ -1443,13 +1477,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1443
1477
|
}, {
|
|
1444
1478
|
key: "getIsSiteAdmin",
|
|
1445
1479
|
value: function getIsSiteAdmin() {
|
|
1446
|
-
var
|
|
1447
|
-
for (var
|
|
1448
|
-
args[
|
|
1480
|
+
var _this36 = this;
|
|
1481
|
+
for (var _len27 = arguments.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
|
|
1482
|
+
args[_key27] = arguments[_key27];
|
|
1449
1483
|
}
|
|
1450
1484
|
return this.measurePerformance('getIsSiteAdmin', function () {
|
|
1451
|
-
var
|
|
1452
|
-
return (
|
|
1485
|
+
var _this36$_permsClient;
|
|
1486
|
+
return (_this36$_permsClient = _this36._permsClient).getIsSiteAdmin.apply(_this36$_permsClient, args);
|
|
1453
1487
|
});
|
|
1454
1488
|
}
|
|
1455
1489
|
|
|
@@ -1459,13 +1493,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1459
1493
|
}, {
|
|
1460
1494
|
key: "addUsersToTeam",
|
|
1461
1495
|
value: function addUsersToTeam() {
|
|
1462
|
-
var
|
|
1463
|
-
for (var
|
|
1464
|
-
args[
|
|
1496
|
+
var _this37 = this;
|
|
1497
|
+
for (var _len28 = arguments.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
|
|
1498
|
+
args[_key28] = arguments[_key28];
|
|
1465
1499
|
}
|
|
1466
1500
|
return this.measurePerformance('addUsersToTeam', function () {
|
|
1467
|
-
var
|
|
1468
|
-
return (
|
|
1501
|
+
var _this37$_publicApiCli;
|
|
1502
|
+
return (_this37$_publicApiCli = _this37._publicApiClient).addUsersToTeam.apply(_this37$_publicApiCli, args);
|
|
1469
1503
|
});
|
|
1470
1504
|
}
|
|
1471
1505
|
|
|
@@ -1475,13 +1509,13 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1475
1509
|
}, {
|
|
1476
1510
|
key: "removeTeamMemberships",
|
|
1477
1511
|
value: function removeTeamMemberships() {
|
|
1478
|
-
var
|
|
1479
|
-
for (var
|
|
1480
|
-
args[
|
|
1512
|
+
var _this38 = this;
|
|
1513
|
+
for (var _len29 = arguments.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
|
|
1514
|
+
args[_key29] = arguments[_key29];
|
|
1481
1515
|
}
|
|
1482
1516
|
return this.measurePerformance('removeTeamMemberships', function () {
|
|
1483
|
-
var
|
|
1484
|
-
return (
|
|
1517
|
+
var _this38$_publicApiCli;
|
|
1518
|
+
return (_this38$_publicApiCli = _this38._publicApiClient).removeTeamMemberships.apply(_this38$_publicApiCli, args);
|
|
1485
1519
|
});
|
|
1486
1520
|
}
|
|
1487
1521
|
|
|
@@ -1491,37 +1525,37 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1491
1525
|
}, {
|
|
1492
1526
|
key: "restoreTeam",
|
|
1493
1527
|
value: function restoreTeam() {
|
|
1494
|
-
var
|
|
1495
|
-
for (var
|
|
1496
|
-
args[
|
|
1528
|
+
var _this39 = this;
|
|
1529
|
+
for (var _len30 = arguments.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
|
|
1530
|
+
args[_key30] = arguments[_key30];
|
|
1497
1531
|
}
|
|
1498
1532
|
return this.measurePerformance('restoreTeam', function () {
|
|
1499
|
-
var
|
|
1500
|
-
return (
|
|
1533
|
+
var _this39$_publicApiCli;
|
|
1534
|
+
return (_this39$_publicApiCli = _this39._publicApiClient).restoreTeam.apply(_this39$_publicApiCli, args);
|
|
1501
1535
|
});
|
|
1502
1536
|
}
|
|
1503
1537
|
}, {
|
|
1504
1538
|
key: "getRecommendedProducts",
|
|
1505
1539
|
value: function getRecommendedProducts() {
|
|
1506
|
-
var
|
|
1507
|
-
for (var
|
|
1508
|
-
args[
|
|
1540
|
+
var _this40 = this;
|
|
1541
|
+
for (var _len31 = arguments.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
|
|
1542
|
+
args[_key31] = arguments[_key31];
|
|
1509
1543
|
}
|
|
1510
1544
|
return this.measurePerformance('getRecommendedProducts', function () {
|
|
1511
|
-
var
|
|
1512
|
-
return (
|
|
1545
|
+
var _this40$_invitationsC;
|
|
1546
|
+
return (_this40$_invitationsC = _this40._invitationsClient).getProductRecommendations.apply(_this40$_invitationsC, args);
|
|
1513
1547
|
});
|
|
1514
1548
|
}
|
|
1515
1549
|
}, {
|
|
1516
1550
|
key: "joinOrRequestDefaultAccessToProductsBulk",
|
|
1517
1551
|
value: function joinOrRequestDefaultAccessToProductsBulk() {
|
|
1518
|
-
var
|
|
1519
|
-
for (var
|
|
1520
|
-
args[
|
|
1552
|
+
var _this41 = this;
|
|
1553
|
+
for (var _len32 = arguments.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
|
|
1554
|
+
args[_key32] = arguments[_key32];
|
|
1521
1555
|
}
|
|
1522
1556
|
return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
|
|
1523
|
-
var
|
|
1524
|
-
return (
|
|
1557
|
+
var _this41$_invitationsC;
|
|
1558
|
+
return (_this41$_invitationsC = _this41._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this41$_invitationsC, args);
|
|
1525
1559
|
});
|
|
1526
1560
|
}
|
|
1527
1561
|
|
|
@@ -1531,19 +1565,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1531
1565
|
}, {
|
|
1532
1566
|
key: "getWriteTeamMediaToken",
|
|
1533
1567
|
value: (function () {
|
|
1534
|
-
var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1535
|
-
var
|
|
1536
|
-
return _regeneratorRuntime.wrap(function
|
|
1537
|
-
while (1) switch (
|
|
1568
|
+
var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee41() {
|
|
1569
|
+
var _this42 = this;
|
|
1570
|
+
return _regeneratorRuntime.wrap(function _callee41$(_context41) {
|
|
1571
|
+
while (1) switch (_context41.prev = _context41.next) {
|
|
1538
1572
|
case 0:
|
|
1539
|
-
return
|
|
1540
|
-
return
|
|
1573
|
+
return _context41.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1574
|
+
return _this42._legionClient.getWriteMediaToken();
|
|
1541
1575
|
}));
|
|
1542
1576
|
case 1:
|
|
1543
1577
|
case "end":
|
|
1544
|
-
return
|
|
1578
|
+
return _context41.stop();
|
|
1545
1579
|
}
|
|
1546
|
-
},
|
|
1580
|
+
}, _callee41, this);
|
|
1547
1581
|
}));
|
|
1548
1582
|
function getWriteTeamMediaToken() {
|
|
1549
1583
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1557,27 +1591,27 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1557
1591
|
}, {
|
|
1558
1592
|
key: "getReadMediaToken",
|
|
1559
1593
|
value: (function () {
|
|
1560
|
-
var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1561
|
-
var
|
|
1562
|
-
var
|
|
1594
|
+
var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee42() {
|
|
1595
|
+
var _this43 = this;
|
|
1596
|
+
var _len33,
|
|
1563
1597
|
args,
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
return _regeneratorRuntime.wrap(function
|
|
1567
|
-
while (1) switch (
|
|
1598
|
+
_key33,
|
|
1599
|
+
_args42 = arguments;
|
|
1600
|
+
return _regeneratorRuntime.wrap(function _callee42$(_context42) {
|
|
1601
|
+
while (1) switch (_context42.prev = _context42.next) {
|
|
1568
1602
|
case 0:
|
|
1569
|
-
for (
|
|
1570
|
-
args[
|
|
1603
|
+
for (_len33 = _args42.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1604
|
+
args[_key33] = _args42[_key33];
|
|
1571
1605
|
}
|
|
1572
|
-
return
|
|
1573
|
-
var
|
|
1574
|
-
return (
|
|
1606
|
+
return _context42.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1607
|
+
var _this43$_userPreferen;
|
|
1608
|
+
return (_this43$_userPreferen = _this43._userPreferencesClient).getReadMediaToken.apply(_this43$_userPreferen, args);
|
|
1575
1609
|
}));
|
|
1576
1610
|
case 2:
|
|
1577
1611
|
case "end":
|
|
1578
|
-
return
|
|
1612
|
+
return _context42.stop();
|
|
1579
1613
|
}
|
|
1580
|
-
},
|
|
1614
|
+
}, _callee42, this);
|
|
1581
1615
|
}));
|
|
1582
1616
|
function getReadMediaToken() {
|
|
1583
1617
|
return _getReadMediaToken.apply(this, arguments);
|
|
@@ -1591,19 +1625,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1591
1625
|
}, {
|
|
1592
1626
|
key: "getWriteUserMediaToken",
|
|
1593
1627
|
value: (function () {
|
|
1594
|
-
var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1595
|
-
var
|
|
1596
|
-
return _regeneratorRuntime.wrap(function
|
|
1597
|
-
while (1) switch (
|
|
1628
|
+
var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee43() {
|
|
1629
|
+
var _this44 = this;
|
|
1630
|
+
return _regeneratorRuntime.wrap(function _callee43$(_context43) {
|
|
1631
|
+
while (1) switch (_context43.prev = _context43.next) {
|
|
1598
1632
|
case 0:
|
|
1599
|
-
return
|
|
1600
|
-
return
|
|
1633
|
+
return _context43.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1634
|
+
return _this44._userPreferencesClient.getWriteMediaToken();
|
|
1601
1635
|
}));
|
|
1602
1636
|
case 1:
|
|
1603
1637
|
case "end":
|
|
1604
|
-
return
|
|
1638
|
+
return _context43.stop();
|
|
1605
1639
|
}
|
|
1606
|
-
},
|
|
1640
|
+
}, _callee43, this);
|
|
1607
1641
|
}));
|
|
1608
1642
|
function getWriteUserMediaToken() {
|
|
1609
1643
|
return _getWriteUserMediaToken.apply(this, arguments);
|
|
@@ -1617,19 +1651,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1617
1651
|
}, {
|
|
1618
1652
|
key: "updateUserHeaderImage",
|
|
1619
1653
|
value: (function () {
|
|
1620
|
-
var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1621
|
-
var
|
|
1622
|
-
return _regeneratorRuntime.wrap(function
|
|
1623
|
-
while (1) switch (
|
|
1654
|
+
var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee44(headerImageId) {
|
|
1655
|
+
var _this45 = this;
|
|
1656
|
+
return _regeneratorRuntime.wrap(function _callee44$(_context44) {
|
|
1657
|
+
while (1) switch (_context44.prev = _context44.next) {
|
|
1624
1658
|
case 0:
|
|
1625
|
-
return
|
|
1626
|
-
return
|
|
1659
|
+
return _context44.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1660
|
+
return _this45._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1627
1661
|
}));
|
|
1628
1662
|
case 1:
|
|
1629
1663
|
case "end":
|
|
1630
|
-
return
|
|
1664
|
+
return _context44.stop();
|
|
1631
1665
|
}
|
|
1632
|
-
},
|
|
1666
|
+
}, _callee44, this);
|
|
1633
1667
|
}));
|
|
1634
1668
|
function updateUserHeaderImage(_x13) {
|
|
1635
1669
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
@@ -1643,41 +1677,7 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1643
1677
|
}, {
|
|
1644
1678
|
key: "getUserContainers",
|
|
1645
1679
|
value: (function () {
|
|
1646
|
-
var _getUserContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
1647
|
-
var _this45 = this;
|
|
1648
|
-
var _len33,
|
|
1649
|
-
args,
|
|
1650
|
-
_key33,
|
|
1651
|
-
_args44 = arguments;
|
|
1652
|
-
return _regeneratorRuntime.wrap(function _callee44$(_context44) {
|
|
1653
|
-
while (1) switch (_context44.prev = _context44.next) {
|
|
1654
|
-
case 0:
|
|
1655
|
-
for (_len33 = _args44.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1656
|
-
args[_key33] = _args44[_key33];
|
|
1657
|
-
}
|
|
1658
|
-
return _context44.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1659
|
-
var _this45$_collaboratio;
|
|
1660
|
-
return (_this45$_collaboratio = _this45._collaborationGraphClient).getUserContainers.apply(_this45$_collaboratio, args);
|
|
1661
|
-
}));
|
|
1662
|
-
case 2:
|
|
1663
|
-
case "end":
|
|
1664
|
-
return _context44.stop();
|
|
1665
|
-
}
|
|
1666
|
-
}, _callee44, this);
|
|
1667
|
-
}));
|
|
1668
|
-
function getUserContainers() {
|
|
1669
|
-
return _getUserContainers.apply(this, arguments);
|
|
1670
|
-
}
|
|
1671
|
-
return getUserContainers;
|
|
1672
|
-
}()
|
|
1673
|
-
/**
|
|
1674
|
-
* Fetch mutatability of external managed user fields
|
|
1675
|
-
*/
|
|
1676
|
-
)
|
|
1677
|
-
}, {
|
|
1678
|
-
key: "getUserManageConfig",
|
|
1679
|
-
value: (function () {
|
|
1680
|
-
var _getUserManageConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee45() {
|
|
1680
|
+
var _getUserContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee45() {
|
|
1681
1681
|
var _this46 = this;
|
|
1682
1682
|
var _len34,
|
|
1683
1683
|
args,
|
|
@@ -1689,9 +1689,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1689
1689
|
for (_len34 = _args45.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1690
1690
|
args[_key34] = _args45[_key34];
|
|
1691
1691
|
}
|
|
1692
|
-
return _context45.abrupt("return", this.measurePerformance('
|
|
1693
|
-
var _this46$
|
|
1694
|
-
return (_this46$
|
|
1692
|
+
return _context45.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1693
|
+
var _this46$_collaboratio;
|
|
1694
|
+
return (_this46$_collaboratio = _this46._collaborationGraphClient).getUserContainers.apply(_this46$_collaboratio, args);
|
|
1695
1695
|
}));
|
|
1696
1696
|
case 2:
|
|
1697
1697
|
case "end":
|
|
@@ -1699,19 +1699,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
}, _callee45, this);
|
|
1701
1701
|
}));
|
|
1702
|
-
function
|
|
1703
|
-
return
|
|
1702
|
+
function getUserContainers() {
|
|
1703
|
+
return _getUserContainers.apply(this, arguments);
|
|
1704
1704
|
}
|
|
1705
|
-
return
|
|
1705
|
+
return getUserContainers;
|
|
1706
1706
|
}()
|
|
1707
1707
|
/**
|
|
1708
|
-
* Fetch
|
|
1708
|
+
* Fetch mutatability of external managed user fields
|
|
1709
1709
|
*/
|
|
1710
1710
|
)
|
|
1711
1711
|
}, {
|
|
1712
|
-
key: "
|
|
1712
|
+
key: "getUserManageConfig",
|
|
1713
1713
|
value: (function () {
|
|
1714
|
-
var
|
|
1714
|
+
var _getUserManageConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee46() {
|
|
1715
1715
|
var _this47 = this;
|
|
1716
1716
|
var _len35,
|
|
1717
1717
|
args,
|
|
@@ -1723,9 +1723,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1723
1723
|
for (_len35 = _args46.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1724
1724
|
args[_key35] = _args46[_key35];
|
|
1725
1725
|
}
|
|
1726
|
-
return _context46.abrupt("return", this.measurePerformance('
|
|
1726
|
+
return _context46.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1727
1727
|
var _this47$_identityClie;
|
|
1728
|
-
return (_this47$_identityClie = _this47._identityClient).
|
|
1728
|
+
return (_this47$_identityClie = _this47._identityClient).getUserManageConfig.apply(_this47$_identityClie, args);
|
|
1729
1729
|
}));
|
|
1730
1730
|
case 2:
|
|
1731
1731
|
case "end":
|
|
@@ -1733,19 +1733,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1733
1733
|
}
|
|
1734
1734
|
}, _callee46, this);
|
|
1735
1735
|
}));
|
|
1736
|
-
function
|
|
1737
|
-
return
|
|
1736
|
+
function getUserManageConfig() {
|
|
1737
|
+
return _getUserManageConfig.apply(this, arguments);
|
|
1738
1738
|
}
|
|
1739
|
-
return
|
|
1739
|
+
return getUserManageConfig;
|
|
1740
1740
|
}()
|
|
1741
1741
|
/**
|
|
1742
|
-
*
|
|
1742
|
+
* Fetch user avatar uploaded status
|
|
1743
1743
|
*/
|
|
1744
1744
|
)
|
|
1745
1745
|
}, {
|
|
1746
|
-
key: "
|
|
1746
|
+
key: "getMyAvatarUploadedStatus",
|
|
1747
1747
|
value: (function () {
|
|
1748
|
-
var
|
|
1748
|
+
var _getMyAvatarUploadedStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee47() {
|
|
1749
1749
|
var _this48 = this;
|
|
1750
1750
|
var _len36,
|
|
1751
1751
|
args,
|
|
@@ -1757,9 +1757,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1757
1757
|
for (_len36 = _args47.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1758
1758
|
args[_key36] = _args47[_key36];
|
|
1759
1759
|
}
|
|
1760
|
-
return _context47.abrupt("return", this.measurePerformance('
|
|
1760
|
+
return _context47.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
1761
1761
|
var _this48$_identityClie;
|
|
1762
|
-
return (_this48$_identityClie = _this48._identityClient).
|
|
1762
|
+
return (_this48$_identityClie = _this48._identityClient).getMyAvatarUploadedStatus.apply(_this48$_identityClie, args);
|
|
1763
1763
|
}));
|
|
1764
1764
|
case 2:
|
|
1765
1765
|
case "end":
|
|
@@ -1767,15 +1767,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
}, _callee47, this);
|
|
1769
1769
|
}));
|
|
1770
|
-
function
|
|
1771
|
-
return
|
|
1770
|
+
function getMyAvatarUploadedStatus() {
|
|
1771
|
+
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
1772
1772
|
}
|
|
1773
|
-
return
|
|
1774
|
-
}()
|
|
1773
|
+
return getMyAvatarUploadedStatus;
|
|
1774
|
+
}()
|
|
1775
|
+
/**
|
|
1776
|
+
* Delete user avatar
|
|
1777
|
+
*/
|
|
1778
|
+
)
|
|
1775
1779
|
}, {
|
|
1776
|
-
key: "
|
|
1777
|
-
value: function () {
|
|
1778
|
-
var
|
|
1780
|
+
key: "deleteAvatar",
|
|
1781
|
+
value: (function () {
|
|
1782
|
+
var _deleteAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee48() {
|
|
1779
1783
|
var _this49 = this;
|
|
1780
1784
|
var _len37,
|
|
1781
1785
|
args,
|
|
@@ -1787,9 +1791,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1787
1791
|
for (_len37 = _args48.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1788
1792
|
args[_key37] = _args48[_key37];
|
|
1789
1793
|
}
|
|
1790
|
-
return _context48.abrupt("return", this.measurePerformance('
|
|
1794
|
+
return _context48.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
1791
1795
|
var _this49$_identityClie;
|
|
1792
|
-
return (_this49$_identityClie = _this49._identityClient).
|
|
1796
|
+
return (_this49$_identityClie = _this49._identityClient).deleteAvatar.apply(_this49$_identityClie, args);
|
|
1793
1797
|
}));
|
|
1794
1798
|
case 2:
|
|
1795
1799
|
case "end":
|
|
@@ -1797,18 +1801,15 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1797
1801
|
}
|
|
1798
1802
|
}, _callee48, this);
|
|
1799
1803
|
}));
|
|
1800
|
-
function
|
|
1801
|
-
return
|
|
1804
|
+
function deleteAvatar() {
|
|
1805
|
+
return _deleteAvatar.apply(this, arguments);
|
|
1802
1806
|
}
|
|
1803
|
-
return
|
|
1804
|
-
}()
|
|
1805
|
-
/**
|
|
1806
|
-
* Fetch Team link icons
|
|
1807
|
-
*/
|
|
1807
|
+
return deleteAvatar;
|
|
1808
|
+
}())
|
|
1808
1809
|
}, {
|
|
1809
|
-
key: "
|
|
1810
|
-
value:
|
|
1811
|
-
var
|
|
1810
|
+
key: "fetchUserAvatarInfo",
|
|
1811
|
+
value: function () {
|
|
1812
|
+
var _fetchUserAvatarInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee49() {
|
|
1812
1813
|
var _this50 = this;
|
|
1813
1814
|
var _len38,
|
|
1814
1815
|
args,
|
|
@@ -1820,9 +1821,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1820
1821
|
for (_len38 = _args49.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1821
1822
|
args[_key38] = _args49[_key38];
|
|
1822
1823
|
}
|
|
1823
|
-
return _context49.abrupt("return", this.measurePerformance('
|
|
1824
|
-
var _this50$
|
|
1825
|
-
return (_this50$
|
|
1824
|
+
return _context49.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
1825
|
+
var _this50$_identityClie;
|
|
1826
|
+
return (_this50$_identityClie = _this50._identityClient).fetchUserAvatarInfo.apply(_this50$_identityClie, args);
|
|
1826
1827
|
}));
|
|
1827
1828
|
case 2:
|
|
1828
1829
|
case "end":
|
|
@@ -1830,19 +1831,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1830
1831
|
}
|
|
1831
1832
|
}, _callee49, this);
|
|
1832
1833
|
}));
|
|
1833
|
-
function
|
|
1834
|
-
return
|
|
1834
|
+
function fetchUserAvatarInfo() {
|
|
1835
|
+
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
1835
1836
|
}
|
|
1836
|
-
return
|
|
1837
|
+
return fetchUserAvatarInfo;
|
|
1837
1838
|
}()
|
|
1838
1839
|
/**
|
|
1839
|
-
* Fetch
|
|
1840
|
+
* Fetch Team link icons
|
|
1840
1841
|
*/
|
|
1841
|
-
)
|
|
1842
1842
|
}, {
|
|
1843
|
-
key: "
|
|
1843
|
+
key: "getTeamLinkIcons",
|
|
1844
1844
|
value: (function () {
|
|
1845
|
-
var
|
|
1845
|
+
var _getTeamLinkIcons = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee50() {
|
|
1846
1846
|
var _this51 = this;
|
|
1847
1847
|
var _len39,
|
|
1848
1848
|
args,
|
|
@@ -1854,9 +1854,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1854
1854
|
for (_len39 = _args50.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1855
1855
|
args[_key39] = _args50[_key39];
|
|
1856
1856
|
}
|
|
1857
|
-
return _context50.abrupt("return", this.measurePerformance('
|
|
1857
|
+
return _context50.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
|
|
1858
1858
|
var _this51$_objectResolv;
|
|
1859
|
-
return (_this51$_objectResolv = _this51._objectResolverClient).
|
|
1859
|
+
return (_this51$_objectResolv = _this51._objectResolverClient).getTeamLinkIcons.apply(_this51$_objectResolv, args);
|
|
1860
1860
|
}));
|
|
1861
1861
|
case 2:
|
|
1862
1862
|
case "end":
|
|
@@ -1864,19 +1864,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
}, _callee50, this);
|
|
1866
1866
|
}));
|
|
1867
|
-
function
|
|
1868
|
-
return
|
|
1867
|
+
function getTeamLinkIcons() {
|
|
1868
|
+
return _getTeamLinkIcons.apply(this, arguments);
|
|
1869
1869
|
}
|
|
1870
|
-
return
|
|
1870
|
+
return getTeamLinkIcons;
|
|
1871
1871
|
}()
|
|
1872
1872
|
/**
|
|
1873
|
-
* Fetch
|
|
1873
|
+
* Fetch ARI from URL
|
|
1874
1874
|
*/
|
|
1875
1875
|
)
|
|
1876
1876
|
}, {
|
|
1877
|
-
key: "
|
|
1877
|
+
key: "getAriFromUrl",
|
|
1878
1878
|
value: (function () {
|
|
1879
|
-
var
|
|
1879
|
+
var _getAriFromUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee51() {
|
|
1880
1880
|
var _this52 = this;
|
|
1881
1881
|
var _len40,
|
|
1882
1882
|
args,
|
|
@@ -1888,9 +1888,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1888
1888
|
for (_len40 = _args51.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1889
1889
|
args[_key40] = _args51[_key40];
|
|
1890
1890
|
}
|
|
1891
|
-
return _context51.abrupt("return", this.measurePerformance('
|
|
1891
|
+
return _context51.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
|
|
1892
1892
|
var _this52$_objectResolv;
|
|
1893
|
-
return (_this52$_objectResolv = _this52._objectResolverClient).
|
|
1893
|
+
return (_this52$_objectResolv = _this52._objectResolverClient).getAriFromUrl.apply(_this52$_objectResolv, args);
|
|
1894
1894
|
}));
|
|
1895
1895
|
case 2:
|
|
1896
1896
|
case "end":
|
|
@@ -1898,19 +1898,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
}, _callee51, this);
|
|
1900
1900
|
}));
|
|
1901
|
-
function
|
|
1902
|
-
return
|
|
1901
|
+
function getAriFromUrl() {
|
|
1902
|
+
return _getAriFromUrl.apply(this, arguments);
|
|
1903
1903
|
}
|
|
1904
|
-
return
|
|
1904
|
+
return getAriFromUrl;
|
|
1905
1905
|
}()
|
|
1906
1906
|
/**
|
|
1907
|
-
* Fetch
|
|
1907
|
+
* Fetch web link title
|
|
1908
1908
|
*/
|
|
1909
1909
|
)
|
|
1910
1910
|
}, {
|
|
1911
|
-
key: "
|
|
1911
|
+
key: "getWebLinkTitle",
|
|
1912
1912
|
value: (function () {
|
|
1913
|
-
var
|
|
1913
|
+
var _getWebLinkTitle = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee52() {
|
|
1914
1914
|
var _this53 = this;
|
|
1915
1915
|
var _len41,
|
|
1916
1916
|
args,
|
|
@@ -1922,9 +1922,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1922
1922
|
for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1923
1923
|
args[_key41] = _args52[_key41];
|
|
1924
1924
|
}
|
|
1925
|
-
return _context52.abrupt("return", this.measurePerformance('
|
|
1926
|
-
var _this53$
|
|
1927
|
-
return (_this53$
|
|
1925
|
+
return _context52.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
|
|
1926
|
+
var _this53$_objectResolv;
|
|
1927
|
+
return (_this53$_objectResolv = _this53._objectResolverClient).getWebLinkTitle.apply(_this53$_objectResolv, args);
|
|
1928
1928
|
}));
|
|
1929
1929
|
case 2:
|
|
1930
1930
|
case "end":
|
|
@@ -1932,19 +1932,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1932
1932
|
}
|
|
1933
1933
|
}, _callee52, this);
|
|
1934
1934
|
}));
|
|
1935
|
-
function
|
|
1936
|
-
return
|
|
1935
|
+
function getWebLinkTitle() {
|
|
1936
|
+
return _getWebLinkTitle.apply(this, arguments);
|
|
1937
1937
|
}
|
|
1938
|
-
return
|
|
1938
|
+
return getWebLinkTitle;
|
|
1939
1939
|
}()
|
|
1940
1940
|
/**
|
|
1941
|
-
*
|
|
1941
|
+
* Fetch team in slack details
|
|
1942
1942
|
*/
|
|
1943
1943
|
)
|
|
1944
1944
|
}, {
|
|
1945
|
-
key: "
|
|
1945
|
+
key: "getTeamInSlack",
|
|
1946
1946
|
value: (function () {
|
|
1947
|
-
var
|
|
1947
|
+
var _getTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee53() {
|
|
1948
1948
|
var _this54 = this;
|
|
1949
1949
|
var _len42,
|
|
1950
1950
|
args,
|
|
@@ -1956,9 +1956,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1956
1956
|
for (_len42 = _args53.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
|
|
1957
1957
|
args[_key42] = _args53[_key42];
|
|
1958
1958
|
}
|
|
1959
|
-
return _context53.abrupt("return", this.measurePerformance('
|
|
1959
|
+
return _context53.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
|
|
1960
1960
|
var _this54$_teamsInSlack;
|
|
1961
|
-
return (_this54$_teamsInSlack = _this54._teamsInSlackClient).
|
|
1961
|
+
return (_this54$_teamsInSlack = _this54._teamsInSlackClient).getTeamInSlack.apply(_this54$_teamsInSlack, args);
|
|
1962
1962
|
}));
|
|
1963
1963
|
case 2:
|
|
1964
1964
|
case "end":
|
|
@@ -1966,19 +1966,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1966
1966
|
}
|
|
1967
1967
|
}, _callee53, this);
|
|
1968
1968
|
}));
|
|
1969
|
-
function
|
|
1970
|
-
return
|
|
1969
|
+
function getTeamInSlack() {
|
|
1970
|
+
return _getTeamInSlack.apply(this, arguments);
|
|
1971
1971
|
}
|
|
1972
|
-
return
|
|
1972
|
+
return getTeamInSlack;
|
|
1973
1973
|
}()
|
|
1974
1974
|
/**
|
|
1975
|
-
*
|
|
1975
|
+
* Delete team in slack
|
|
1976
1976
|
*/
|
|
1977
1977
|
)
|
|
1978
1978
|
}, {
|
|
1979
|
-
key: "
|
|
1979
|
+
key: "disconnectTeamInSlack",
|
|
1980
1980
|
value: (function () {
|
|
1981
|
-
var
|
|
1981
|
+
var _disconnectTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee54() {
|
|
1982
1982
|
var _this55 = this;
|
|
1983
1983
|
var _len43,
|
|
1984
1984
|
args,
|
|
@@ -1990,9 +1990,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
1990
1990
|
for (_len43 = _args54.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
|
|
1991
1991
|
args[_key43] = _args54[_key43];
|
|
1992
1992
|
}
|
|
1993
|
-
return _context54.abrupt("return", this.measurePerformance('
|
|
1993
|
+
return _context54.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
1994
1994
|
var _this55$_teamsInSlack;
|
|
1995
|
-
return (_this55$_teamsInSlack = _this55._teamsInSlackClient).
|
|
1995
|
+
return (_this55$_teamsInSlack = _this55._teamsInSlackClient).disconnectTeamInSlack.apply(_this55$_teamsInSlack, args);
|
|
1996
1996
|
}));
|
|
1997
1997
|
case 2:
|
|
1998
1998
|
case "end":
|
|
@@ -2000,19 +2000,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2000
2000
|
}
|
|
2001
2001
|
}, _callee54, this);
|
|
2002
2002
|
}));
|
|
2003
|
-
function
|
|
2004
|
-
return
|
|
2003
|
+
function disconnectTeamInSlack() {
|
|
2004
|
+
return _disconnectTeamInSlack.apply(this, arguments);
|
|
2005
2005
|
}
|
|
2006
|
-
return
|
|
2006
|
+
return disconnectTeamInSlack;
|
|
2007
2007
|
}()
|
|
2008
2008
|
/**
|
|
2009
|
-
* Update
|
|
2009
|
+
* Update team in slack
|
|
2010
2010
|
*/
|
|
2011
2011
|
)
|
|
2012
2012
|
}, {
|
|
2013
|
-
key: "
|
|
2013
|
+
key: "updateTeamInSlack",
|
|
2014
2014
|
value: (function () {
|
|
2015
|
-
var
|
|
2015
|
+
var _updateTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee55() {
|
|
2016
2016
|
var _this56 = this;
|
|
2017
2017
|
var _len44,
|
|
2018
2018
|
args,
|
|
@@ -2024,9 +2024,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2024
2024
|
for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2025
2025
|
args[_key44] = _args55[_key44];
|
|
2026
2026
|
}
|
|
2027
|
-
return _context55.abrupt("return", this.measurePerformance('
|
|
2028
|
-
var _this56$
|
|
2029
|
-
return (_this56$
|
|
2027
|
+
return _context55.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
2028
|
+
var _this56$_teamsInSlack;
|
|
2029
|
+
return (_this56$_teamsInSlack = _this56._teamsInSlackClient).updateTeamInSlack.apply(_this56$_teamsInSlack, args);
|
|
2030
2030
|
}));
|
|
2031
2031
|
case 2:
|
|
2032
2032
|
case "end":
|
|
@@ -2034,15 +2034,19 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
}, _callee55, this);
|
|
2036
2036
|
}));
|
|
2037
|
-
function
|
|
2038
|
-
return
|
|
2037
|
+
function updateTeamInSlack() {
|
|
2038
|
+
return _updateTeamInSlack.apply(this, arguments);
|
|
2039
2039
|
}
|
|
2040
|
-
return
|
|
2041
|
-
}()
|
|
2040
|
+
return updateTeamInSlack;
|
|
2041
|
+
}()
|
|
2042
|
+
/**
|
|
2043
|
+
* Update user details
|
|
2044
|
+
*/
|
|
2045
|
+
)
|
|
2042
2046
|
}, {
|
|
2043
|
-
key: "
|
|
2044
|
-
value: function () {
|
|
2045
|
-
var
|
|
2047
|
+
key: "updateUser",
|
|
2048
|
+
value: (function () {
|
|
2049
|
+
var _updateUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee56() {
|
|
2046
2050
|
var _this57 = this;
|
|
2047
2051
|
var _len45,
|
|
2048
2052
|
args,
|
|
@@ -2054,9 +2058,9 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2054
2058
|
for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
|
|
2055
2059
|
args[_key45] = _args56[_key45];
|
|
2056
2060
|
}
|
|
2057
|
-
return _context56.abrupt("return", this.measurePerformance('
|
|
2061
|
+
return _context56.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
2058
2062
|
var _this57$_identityClie;
|
|
2059
|
-
return (_this57$_identityClie = _this57._identityClient).
|
|
2063
|
+
return (_this57$_identityClie = _this57._identityClient).updateUser.apply(_this57$_identityClie, args);
|
|
2060
2064
|
}));
|
|
2061
2065
|
case 2:
|
|
2062
2066
|
case "end":
|
|
@@ -2064,6 +2068,36 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2064
2068
|
}
|
|
2065
2069
|
}, _callee56, this);
|
|
2066
2070
|
}));
|
|
2071
|
+
function updateUser() {
|
|
2072
|
+
return _updateUser.apply(this, arguments);
|
|
2073
|
+
}
|
|
2074
|
+
return updateUser;
|
|
2075
|
+
}())
|
|
2076
|
+
}, {
|
|
2077
|
+
key: "updateUserAvatar",
|
|
2078
|
+
value: function () {
|
|
2079
|
+
var _updateUserAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee57() {
|
|
2080
|
+
var _this58 = this;
|
|
2081
|
+
var _len46,
|
|
2082
|
+
args,
|
|
2083
|
+
_key46,
|
|
2084
|
+
_args57 = arguments;
|
|
2085
|
+
return _regeneratorRuntime.wrap(function _callee57$(_context57) {
|
|
2086
|
+
while (1) switch (_context57.prev = _context57.next) {
|
|
2087
|
+
case 0:
|
|
2088
|
+
for (_len46 = _args57.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
|
|
2089
|
+
args[_key46] = _args57[_key46];
|
|
2090
|
+
}
|
|
2091
|
+
return _context57.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
2092
|
+
var _this58$_identityClie;
|
|
2093
|
+
return (_this58$_identityClie = _this58._identityClient).updateUserAvatar.apply(_this58$_identityClie, args);
|
|
2094
|
+
}));
|
|
2095
|
+
case 2:
|
|
2096
|
+
case "end":
|
|
2097
|
+
return _context57.stop();
|
|
2098
|
+
}
|
|
2099
|
+
}, _callee57, this);
|
|
2100
|
+
}));
|
|
2067
2101
|
function updateUserAvatar() {
|
|
2068
2102
|
return _updateUserAvatar.apply(this, arguments);
|
|
2069
2103
|
}
|
|
@@ -2072,18 +2106,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2072
2106
|
}, {
|
|
2073
2107
|
key: "addTeamWatcher",
|
|
2074
2108
|
value: function () {
|
|
2075
|
-
var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2109
|
+
var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58() {
|
|
2076
2110
|
var _this$_teamCentralCli;
|
|
2077
|
-
var
|
|
2078
|
-
return _regeneratorRuntime.wrap(function
|
|
2079
|
-
while (1) switch (
|
|
2111
|
+
var _args58 = arguments;
|
|
2112
|
+
return _regeneratorRuntime.wrap(function _callee58$(_context58) {
|
|
2113
|
+
while (1) switch (_context58.prev = _context58.next) {
|
|
2080
2114
|
case 0:
|
|
2081
|
-
return
|
|
2115
|
+
return _context58.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args58));
|
|
2082
2116
|
case 1:
|
|
2083
2117
|
case "end":
|
|
2084
|
-
return
|
|
2118
|
+
return _context58.stop();
|
|
2085
2119
|
}
|
|
2086
|
-
},
|
|
2120
|
+
}, _callee58, this);
|
|
2087
2121
|
}));
|
|
2088
2122
|
function addTeamWatcher() {
|
|
2089
2123
|
return _addTeamWatcher.apply(this, arguments);
|
|
@@ -2093,18 +2127,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2093
2127
|
}, {
|
|
2094
2128
|
key: "removeTeamWatcher",
|
|
2095
2129
|
value: function () {
|
|
2096
|
-
var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2130
|
+
var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee59() {
|
|
2097
2131
|
var _this$_teamCentralCli2;
|
|
2098
|
-
var
|
|
2099
|
-
return _regeneratorRuntime.wrap(function
|
|
2100
|
-
while (1) switch (
|
|
2132
|
+
var _args59 = arguments;
|
|
2133
|
+
return _regeneratorRuntime.wrap(function _callee59$(_context59) {
|
|
2134
|
+
while (1) switch (_context59.prev = _context59.next) {
|
|
2101
2135
|
case 0:
|
|
2102
|
-
return
|
|
2136
|
+
return _context59.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args59));
|
|
2103
2137
|
case 1:
|
|
2104
2138
|
case "end":
|
|
2105
|
-
return
|
|
2139
|
+
return _context59.stop();
|
|
2106
2140
|
}
|
|
2107
|
-
},
|
|
2141
|
+
}, _callee59, this);
|
|
2108
2142
|
}));
|
|
2109
2143
|
function removeTeamWatcher() {
|
|
2110
2144
|
return _removeTeamWatcher.apply(this, arguments);
|
|
@@ -2114,18 +2148,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2114
2148
|
}, {
|
|
2115
2149
|
key: "deleteKudos",
|
|
2116
2150
|
value: function () {
|
|
2117
|
-
var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2151
|
+
var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee60() {
|
|
2118
2152
|
var _this$_teamCentralCli3;
|
|
2119
|
-
var
|
|
2120
|
-
return _regeneratorRuntime.wrap(function
|
|
2121
|
-
while (1) switch (
|
|
2153
|
+
var _args60 = arguments;
|
|
2154
|
+
return _regeneratorRuntime.wrap(function _callee60$(_context60) {
|
|
2155
|
+
while (1) switch (_context60.prev = _context60.next) {
|
|
2122
2156
|
case 0:
|
|
2123
|
-
return
|
|
2157
|
+
return _context60.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args60));
|
|
2124
2158
|
case 1:
|
|
2125
2159
|
case "end":
|
|
2126
|
-
return
|
|
2160
|
+
return _context60.stop();
|
|
2127
2161
|
}
|
|
2128
|
-
},
|
|
2162
|
+
}, _callee60, this);
|
|
2129
2163
|
}));
|
|
2130
2164
|
function deleteKudos() {
|
|
2131
2165
|
return _deleteKudos.apply(this, arguments);
|
|
@@ -2135,18 +2169,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2135
2169
|
}, {
|
|
2136
2170
|
key: "queryTagList",
|
|
2137
2171
|
value: function () {
|
|
2138
|
-
var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2172
|
+
var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee61() {
|
|
2139
2173
|
var _this$_teamCentralCli4;
|
|
2140
|
-
var
|
|
2141
|
-
return _regeneratorRuntime.wrap(function
|
|
2142
|
-
while (1) switch (
|
|
2174
|
+
var _args61 = arguments;
|
|
2175
|
+
return _regeneratorRuntime.wrap(function _callee61$(_context61) {
|
|
2176
|
+
while (1) switch (_context61.prev = _context61.next) {
|
|
2143
2177
|
case 0:
|
|
2144
|
-
return
|
|
2178
|
+
return _context61.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args61));
|
|
2145
2179
|
case 1:
|
|
2146
2180
|
case "end":
|
|
2147
|
-
return
|
|
2181
|
+
return _context61.stop();
|
|
2148
2182
|
}
|
|
2149
|
-
},
|
|
2183
|
+
}, _callee61, this);
|
|
2150
2184
|
}));
|
|
2151
2185
|
function queryTagList() {
|
|
2152
2186
|
return _queryTagList.apply(this, arguments);
|
|
@@ -2156,18 +2190,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2156
2190
|
}, {
|
|
2157
2191
|
key: "createTag",
|
|
2158
2192
|
value: function () {
|
|
2159
|
-
var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2193
|
+
var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee62() {
|
|
2160
2194
|
var _this$_teamCentralCli5;
|
|
2161
|
-
var
|
|
2162
|
-
return _regeneratorRuntime.wrap(function
|
|
2163
|
-
while (1) switch (
|
|
2195
|
+
var _args62 = arguments;
|
|
2196
|
+
return _regeneratorRuntime.wrap(function _callee62$(_context62) {
|
|
2197
|
+
while (1) switch (_context62.prev = _context62.next) {
|
|
2164
2198
|
case 0:
|
|
2165
|
-
return
|
|
2199
|
+
return _context62.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args62));
|
|
2166
2200
|
case 1:
|
|
2167
2201
|
case "end":
|
|
2168
|
-
return
|
|
2202
|
+
return _context62.stop();
|
|
2169
2203
|
}
|
|
2170
|
-
},
|
|
2204
|
+
}, _callee62, this);
|
|
2171
2205
|
}));
|
|
2172
2206
|
function createTag() {
|
|
2173
2207
|
return _createTag.apply(this, arguments);
|
|
@@ -2177,18 +2211,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2177
2211
|
}, {
|
|
2178
2212
|
key: "createHelpPointer",
|
|
2179
2213
|
value: function () {
|
|
2180
|
-
var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2214
|
+
var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee63() {
|
|
2181
2215
|
var _this$_teamCentralCli6;
|
|
2182
|
-
var
|
|
2183
|
-
return _regeneratorRuntime.wrap(function
|
|
2184
|
-
while (1) switch (
|
|
2216
|
+
var _args63 = arguments;
|
|
2217
|
+
return _regeneratorRuntime.wrap(function _callee63$(_context63) {
|
|
2218
|
+
while (1) switch (_context63.prev = _context63.next) {
|
|
2185
2219
|
case 0:
|
|
2186
|
-
return
|
|
2220
|
+
return _context63.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args63));
|
|
2187
2221
|
case 1:
|
|
2188
2222
|
case "end":
|
|
2189
|
-
return
|
|
2223
|
+
return _context63.stop();
|
|
2190
2224
|
}
|
|
2191
|
-
},
|
|
2225
|
+
}, _callee63, this);
|
|
2192
2226
|
}));
|
|
2193
2227
|
function createHelpPointer() {
|
|
2194
2228
|
return _createHelpPointer.apply(this, arguments);
|
|
@@ -2198,18 +2232,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2198
2232
|
}, {
|
|
2199
2233
|
key: "updateHelpPointer",
|
|
2200
2234
|
value: function () {
|
|
2201
|
-
var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2235
|
+
var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee64() {
|
|
2202
2236
|
var _this$_teamCentralCli7;
|
|
2203
|
-
var
|
|
2204
|
-
return _regeneratorRuntime.wrap(function
|
|
2205
|
-
while (1) switch (
|
|
2237
|
+
var _args64 = arguments;
|
|
2238
|
+
return _regeneratorRuntime.wrap(function _callee64$(_context64) {
|
|
2239
|
+
while (1) switch (_context64.prev = _context64.next) {
|
|
2206
2240
|
case 0:
|
|
2207
|
-
return
|
|
2241
|
+
return _context64.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args64));
|
|
2208
2242
|
case 1:
|
|
2209
2243
|
case "end":
|
|
2210
|
-
return
|
|
2244
|
+
return _context64.stop();
|
|
2211
2245
|
}
|
|
2212
|
-
},
|
|
2246
|
+
}, _callee64, this);
|
|
2213
2247
|
}));
|
|
2214
2248
|
function updateHelpPointer() {
|
|
2215
2249
|
return _updateHelpPointer.apply(this, arguments);
|
|
@@ -2219,18 +2253,18 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2219
2253
|
}, {
|
|
2220
2254
|
key: "deleteHelpPointer",
|
|
2221
2255
|
value: function () {
|
|
2222
|
-
var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2256
|
+
var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee65() {
|
|
2223
2257
|
var _this$_teamCentralCli8;
|
|
2224
|
-
var
|
|
2225
|
-
return _regeneratorRuntime.wrap(function
|
|
2226
|
-
while (1) switch (
|
|
2258
|
+
var _args65 = arguments;
|
|
2259
|
+
return _regeneratorRuntime.wrap(function _callee65$(_context65) {
|
|
2260
|
+
while (1) switch (_context65.prev = _context65.next) {
|
|
2227
2261
|
case 0:
|
|
2228
|
-
return
|
|
2262
|
+
return _context65.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args65));
|
|
2229
2263
|
case 1:
|
|
2230
2264
|
case "end":
|
|
2231
|
-
return
|
|
2265
|
+
return _context65.stop();
|
|
2232
2266
|
}
|
|
2233
|
-
},
|
|
2267
|
+
}, _callee65, this);
|
|
2234
2268
|
}));
|
|
2235
2269
|
function deleteHelpPointer() {
|
|
2236
2270
|
return _deleteHelpPointer.apply(this, arguments);
|
|
@@ -2240,27 +2274,27 @@ export var TeamsClient = /*#__PURE__*/function () {
|
|
|
2240
2274
|
}, {
|
|
2241
2275
|
key: "getUserTenure",
|
|
2242
2276
|
value: function () {
|
|
2243
|
-
var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
2244
|
-
var
|
|
2245
|
-
var
|
|
2277
|
+
var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee66() {
|
|
2278
|
+
var _this59 = this;
|
|
2279
|
+
var _len47,
|
|
2246
2280
|
args,
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
return _regeneratorRuntime.wrap(function
|
|
2250
|
-
while (1) switch (
|
|
2281
|
+
_key47,
|
|
2282
|
+
_args66 = arguments;
|
|
2283
|
+
return _regeneratorRuntime.wrap(function _callee66$(_context66) {
|
|
2284
|
+
while (1) switch (_context66.prev = _context66.next) {
|
|
2251
2285
|
case 0:
|
|
2252
|
-
for (
|
|
2253
|
-
args[
|
|
2286
|
+
for (_len47 = _args66.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
|
|
2287
|
+
args[_key47] = _args66[_key47];
|
|
2254
2288
|
}
|
|
2255
|
-
return
|
|
2256
|
-
var
|
|
2257
|
-
return (
|
|
2289
|
+
return _context66.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2290
|
+
var _this59$_replinesClie;
|
|
2291
|
+
return (_this59$_replinesClie = _this59._replinesClient).getUserTenure.apply(_this59$_replinesClie, args);
|
|
2258
2292
|
}));
|
|
2259
2293
|
case 2:
|
|
2260
2294
|
case "end":
|
|
2261
|
-
return
|
|
2295
|
+
return _context66.stop();
|
|
2262
2296
|
}
|
|
2263
|
-
},
|
|
2297
|
+
}, _callee66, this);
|
|
2264
2298
|
}));
|
|
2265
2299
|
function getUserTenure() {
|
|
2266
2300
|
return _getUserTenure.apply(this, arguments);
|