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