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