@atlaskit/teams-client 5.6.0 → 6.1.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 +19 -0
- package/dist/cjs/common/utils/error/index.js +2 -94
- package/dist/cjs/common/utils/permissions/has-permission.js +2 -23
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/agg-client/index.js +2 -6
- package/dist/cjs/services/hooks/use-teams-client-setup.js +2 -12
- package/dist/cjs/services/legion-client/index.js +20 -17
- package/dist/cjs/services/main.js +4 -4
- package/dist/cjs/services/public-api-client/index.js +1 -12
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/cjs/services/use-query-light/types.js +1 -22
- package/dist/es2019/common/utils/error/index.js +1 -39
- package/dist/es2019/common/utils/permissions/has-permission.js +2 -11
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/agg-client/index.js +1 -7
- package/dist/es2019/services/hooks/use-teams-client-setup.js +2 -7
- package/dist/es2019/services/legion-client/index.js +4 -2
- package/dist/es2019/services/main.js +2 -2
- package/dist/es2019/services/public-api-client/index.js +1 -8
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/services/use-query-light/types.js +1 -11
- package/dist/esm/common/utils/error/index.js +1 -39
- package/dist/esm/common/utils/permissions/has-permission.js +2 -11
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/agg-client/index.js +1 -7
- package/dist/esm/services/hooks/use-teams-client-setup.js +2 -7
- package/dist/esm/services/legion-client/index.js +20 -17
- package/dist/esm/services/main.js +4 -4
- package/dist/esm/services/public-api-client/index.js +1 -8
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/services/use-query-light/types.js +1 -11
- package/dist/types/common/utils/error/index.d.ts +1 -36
- package/dist/types/common/utils/permissions/has-permission.d.ts +0 -8
- package/dist/types/services/agg-client/index.d.ts +0 -4
- package/dist/types/services/hooks/use-teams-client-setup.d.ts +0 -4
- package/dist/types/services/legion-client/index.d.ts +1 -1
- package/dist/types/services/main.d.ts +1 -1
- package/dist/types/services/public-api-client/index.d.ts +0 -4
- package/dist/types/services/use-query-light/types.d.ts +0 -8
- package/package.json +7 -4
- package/scripts/generate-docs.ts +1 -1
- package/ari/package.json +0 -8
- package/dist/cjs/common/utils/ari.js +0 -47
- package/dist/cjs/common/utils/index.js +0 -40
- package/dist/cjs/common/utils/team.js +0 -33
- package/dist/cjs/mocks/endpoints.js +0 -40
- package/dist/cjs/mocks/generate-data.js +0 -40
- package/dist/cjs/mocks/index.js +0 -68
- package/dist/cjs/services/sentry/main.js +0 -68
- package/dist/cjs/services/use-query-light/index.js +0 -26
- package/dist/cjs/services/use-query-light/main.js +0 -19
- package/dist/es2019/common/utils/ari.js +0 -26
- package/dist/es2019/common/utils/index.js +0 -22
- package/dist/es2019/common/utils/team.js +0 -18
- package/dist/es2019/mocks/endpoints.js +0 -23
- package/dist/es2019/mocks/generate-data.js +0 -23
- package/dist/es2019/mocks/index.js +0 -39
- package/dist/es2019/services/sentry/main.js +0 -40
- package/dist/es2019/services/use-query-light/index.js +0 -22
- package/dist/es2019/services/use-query-light/main.js +0 -11
- package/dist/esm/common/utils/ari.js +0 -26
- package/dist/esm/common/utils/index.js +0 -22
- package/dist/esm/common/utils/team.js +0 -18
- package/dist/esm/mocks/endpoints.js +0 -23
- package/dist/esm/mocks/generate-data.js +0 -23
- package/dist/esm/mocks/index.js +0 -39
- package/dist/esm/services/sentry/main.js +0 -40
- package/dist/esm/services/use-query-light/index.js +0 -22
- package/dist/esm/services/use-query-light/main.js +0 -11
- package/dist/types/common/utils/ari.d.ts +0 -24
- package/dist/types/common/utils/index.d.ts +0 -20
- package/dist/types/common/utils/team.d.ts +0 -16
- package/dist/types/mocks/endpoints.d.ts +0 -20
- package/dist/types/mocks/generate-data.d.ts +0 -20
- package/dist/types/mocks/index.d.ts +0 -36
- package/dist/types/services/sentry/main.d.ts +0 -36
- package/dist/types/services/use-query-light/index.d.ts +0 -20
- package/dist/types/services/use-query-light/main.d.ts +0 -8
- package/endpoints/package.json +0 -8
- package/generate-data/package.json +0 -8
- package/mocks/package.json +0 -8
- package/sentry/main/package.json +0 -8
- package/team/package.json +0 -8
- package/use-query-light/main/package.json +0 -8
- package/use-query-light/package.json +0 -8
- package/utils/package.json +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/teams-client
|
|
2
2
|
|
|
3
|
+
## 6.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`0ce9c55149824`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ce9c55149824) -
|
|
8
|
+
Changing endpoint from no scoped to team scoped
|
|
9
|
+
|
|
10
|
+
## 6.0.0
|
|
11
|
+
|
|
12
|
+
### Major Changes
|
|
13
|
+
|
|
14
|
+
- [`0c7c7be927bde`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0c7c7be927bde) -
|
|
15
|
+
Remove deprecated Volt re-export shims from public package entry points. Consumers should import
|
|
16
|
+
from the replacement subpaths or implementation entry points instead.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 5.6.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -3,72 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _DefaultError.DefaultError;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
exports.ErrorCategory = void 0;
|
|
13
|
-
Object.defineProperty(exports, "GraphQLError", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function get() {
|
|
16
|
-
return _GraphQLError.GraphQLError;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "HttpError", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function get() {
|
|
22
|
-
return _HttpError.HttpError;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "SLOIgnoreError", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function get() {
|
|
28
|
-
return _SLOIgnoreError.SLOIgnoreError;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "SLOIgnoreHttpError", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function get() {
|
|
34
|
-
return _SLOIgnoreHttpError.SLOIgnoreHttpError;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
exports.TeamErrorType = exports.StatusCode = void 0;
|
|
38
|
-
Object.defineProperty(exports, "doesErrorContainStatus", {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function get() {
|
|
41
|
-
return _doesErrorContainStatus.doesErrorContainStatus;
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
Object.defineProperty(exports, "isAuthError", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function get() {
|
|
47
|
-
return _isAuthError.isAuthError;
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
Object.defineProperty(exports, "isErrorStatusCode", {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function get() {
|
|
53
|
-
return _isErrorStatusCode.isErrorStatusCode;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(exports, "isNetworkError", {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
get: function get() {
|
|
59
|
-
return _isNetworkError.isNetworkError;
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
var _isAuthError = require("./isAuthError");
|
|
63
|
-
var _isErrorStatusCode = require("./isErrorStatusCode");
|
|
64
|
-
var _doesErrorContainStatus = require("./doesErrorContainStatus");
|
|
65
|
-
var _DefaultError = require("./DefaultError");
|
|
66
|
-
var _SLOIgnoreError = require("./SLOIgnoreError");
|
|
67
|
-
var _HttpError = require("./HttpError");
|
|
68
|
-
var _SLOIgnoreHttpError = require("./SLOIgnoreHttpError");
|
|
69
|
-
var _GraphQLError = require("./GraphQLError");
|
|
70
|
-
var _isNetworkError = require("./isNetworkError");
|
|
71
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
6
|
+
exports.TeamErrorType = exports.StatusCode = exports.ErrorCategory = void 0;
|
|
72
7
|
var ErrorCategory = exports.ErrorCategory = /*#__PURE__*/function (ErrorCategory) {
|
|
73
8
|
ErrorCategory["NotFound"] = "NotFound";
|
|
74
9
|
ErrorCategory["NotPermitted"] = "NotPermitted";
|
|
@@ -87,31 +22,4 @@ var StatusCode = exports.StatusCode = /*#__PURE__*/function (StatusCode) {
|
|
|
87
22
|
var TeamErrorType = exports.TeamErrorType = /*#__PURE__*/function (TeamErrorType) {
|
|
88
23
|
TeamErrorType["TEAM_NOT_ACTIVE"] = "Team must be active";
|
|
89
24
|
return TeamErrorType;
|
|
90
|
-
}({});
|
|
91
|
-
/**
|
|
92
|
-
* @deprecated Use `import { isAuthError } from '@atlaskit/teams-client/is-auth-error'` instead.
|
|
93
|
-
*/
|
|
94
|
-
/**
|
|
95
|
-
* @deprecated Use `import { isErrorStatusCode } from '@atlaskit/teams-client/is-error-status-code'` instead.
|
|
96
|
-
*/
|
|
97
|
-
/**
|
|
98
|
-
* @deprecated Use `import { doesErrorContainStatus } from '@atlaskit/teams-client/does-error-contain-status'` instead.
|
|
99
|
-
*/
|
|
100
|
-
/**
|
|
101
|
-
* @deprecated Use `import { DefaultError } from '@atlaskit/teams-client/default-error'` instead.
|
|
102
|
-
*/
|
|
103
|
-
/**
|
|
104
|
-
* @deprecated Use `import { SLOIgnoreError } from '@atlaskit/teams-client/slo-ignore-error'` instead.
|
|
105
|
-
*/
|
|
106
|
-
/**
|
|
107
|
-
* @deprecated Use `import { HttpError } from '@atlaskit/teams-client/http-error'` instead.
|
|
108
|
-
*/
|
|
109
|
-
/**
|
|
110
|
-
* @deprecated Use `import { SLOIgnoreHttpError } from '@atlaskit/teams-client/slo-ignore-http-error'` instead.
|
|
111
|
-
*/
|
|
112
|
-
/**
|
|
113
|
-
* @deprecated Use `import { GraphQLError } from '@atlaskit/teams-client/graph-ql-error'` instead.
|
|
114
|
-
*/
|
|
115
|
-
/**
|
|
116
|
-
* @deprecated Use `import { isNetworkError } from '@atlaskit/teams-client/is-network-error'` instead.
|
|
117
|
-
*/
|
|
25
|
+
}({});
|
|
@@ -4,23 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.hasPermission = hasPermission;
|
|
7
|
-
Object.defineProperty(exports, "hasPermissionForAction", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _hasPermissionForAction.hasPermissionForAction;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "userCan", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function get() {
|
|
16
|
-
return _userCan.userCan;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
7
|
var _isMember = require("../is-member");
|
|
20
8
|
var _constants = require("./constants");
|
|
21
9
|
var _userCan = require("./user-can");
|
|
22
|
-
|
|
23
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
10
|
+
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of this deprecated API. */
|
|
24
11
|
|
|
25
12
|
/**
|
|
26
13
|
* @deprecated use import { userCan } from '@atlassian/teams-app-internal-user-permissions';
|
|
@@ -39,12 +26,4 @@ function hasPermission(action, settings, permission, isPeopleBrowseEnabled, curr
|
|
|
39
26
|
source: source,
|
|
40
27
|
state: state
|
|
41
28
|
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Use `import { hasPermissionForAction } from '@atlaskit/teams-client/has-permission-for-action'` instead.
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated Use `import { userCan } from '@atlaskit/teams-client/user-can'` instead.
|
|
50
|
-
*/
|
|
29
|
+
}
|
|
@@ -56,7 +56,7 @@ var TeamsUFOExperience = exports.TeamsUFOExperience = /*#__PURE__*/function (_UF
|
|
|
56
56
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
57
57
|
metadata: {
|
|
58
58
|
error: (0, _createErrorMetadata.createErrorMetadata)(error),
|
|
59
|
-
packageVersion: "
|
|
59
|
+
packageVersion: "6.0.0",
|
|
60
60
|
packageName: "@atlaskit/teams-client"
|
|
61
61
|
}
|
|
62
62
|
}]);
|
|
@@ -64,7 +64,7 @@ var TeamsUFOExperience = exports.TeamsUFOExperience = /*#__PURE__*/function (_UF
|
|
|
64
64
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
65
65
|
metadata: {
|
|
66
66
|
error: 'unknown error',
|
|
67
|
-
packageVersion: "
|
|
67
|
+
packageVersion: "6.0.0",
|
|
68
68
|
packageName: "@atlaskit/teams-client"
|
|
69
69
|
}
|
|
70
70
|
}]);
|
|
@@ -29,7 +29,7 @@ var _userType = require("./utils/user-type");
|
|
|
29
29
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
30
30
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
31
31
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
32
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
32
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
33
33
|
var AGGClient = exports.AGGClient = /*#__PURE__*/function (_BaseGraphQlClient) {
|
|
34
34
|
function AGGClient(baseUrl, config) {
|
|
35
35
|
(0, _classCallCheck2.default)(this, AGGClient);
|
|
@@ -404,8 +404,4 @@ var AGGClient = exports.AGGClient = /*#__PURE__*/function (_BaseGraphQlClient) {
|
|
|
404
404
|
}(_main.BaseGraphQlClient);
|
|
405
405
|
var aggClient = exports.aggClient = new AGGClient(_constants.DEFAULT_CONFIG.stargateRoot, {
|
|
406
406
|
logException: _logException.logException
|
|
407
|
-
});
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* @deprecated Use `import type { TeamContainers } from '@atlaskit/teams-client/team-containers'` instead.
|
|
411
|
-
*/
|
|
407
|
+
});
|
|
@@ -4,14 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.useTeamsClientSetup = void 0;
|
|
7
|
-
Object.defineProperty(exports, "useTeamsClientSetupNext", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _useTeamsClientSetupNext.useTeamsClientSetupNext;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
7
|
var _useTeamsClientSetupNext = require("./use-teams-client-setup-next");
|
|
14
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of
|
|
8
|
+
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of this deprecated API. */
|
|
15
9
|
|
|
16
10
|
/**
|
|
17
11
|
* @deprecated use useTeamsClientSetupNext for named parameters
|
|
@@ -23,8 +17,4 @@ var useTeamsClientSetup = exports.useTeamsClientSetup = function useTeamsClientS
|
|
|
23
17
|
orgId: orgId,
|
|
24
18
|
principalUserId: principalUserId
|
|
25
19
|
});
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* @deprecated Use `import { useTeamsClientSetupNext } from '@atlaskit/teams-client/use-teams-client-setup-next'` instead.
|
|
30
|
-
*/
|
|
20
|
+
};
|
|
@@ -15,6 +15,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
15
15
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
16
16
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
17
17
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
18
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
18
19
|
var _constants = require("../constants");
|
|
19
20
|
var _restClient = require("../rest-client");
|
|
20
21
|
var _excluded = ["linkUri"];
|
|
@@ -903,11 +904,13 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
903
904
|
}, {
|
|
904
905
|
key: "getWriteMediaToken",
|
|
905
906
|
value: function () {
|
|
906
|
-
var _getWriteMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29() {
|
|
907
|
+
var _getWriteMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29(teamId) {
|
|
908
|
+
var path;
|
|
907
909
|
return _regenerator.default.wrap(function (_context29) {
|
|
908
910
|
while (1) switch (_context29.prev = _context29.next) {
|
|
909
911
|
case 0:
|
|
910
|
-
|
|
912
|
+
path = (0, _fg.fg)('ptc-enable-team-scoped-header-image-media-upload') && teamId ? "".concat(v4UrlPath, "/").concat(this.trimTeamARI(teamId), "/header-image/media-upload") : "".concat(v4UrlPath, "/header-image/media-upload");
|
|
913
|
+
return _context29.abrupt("return", this.getResource(path).then(function (response) {
|
|
911
914
|
var _response$baseUrl;
|
|
912
915
|
return _objectSpread(_objectSpread({}, response), {}, {
|
|
913
916
|
baseUrl: (_response$baseUrl = response.baseUrl) !== null && _response$baseUrl !== void 0 && _response$baseUrl.endsWith('/') ? response.baseUrl.slice(0, -1) : response.baseUrl
|
|
@@ -919,7 +922,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
919
922
|
}
|
|
920
923
|
}, _callee29, this);
|
|
921
924
|
}));
|
|
922
|
-
function getWriteMediaToken() {
|
|
925
|
+
function getWriteMediaToken(_x53) {
|
|
923
926
|
return _getWriteMediaToken.apply(this, arguments);
|
|
924
927
|
}
|
|
925
928
|
return getWriteMediaToken;
|
|
@@ -945,7 +948,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
945
948
|
}
|
|
946
949
|
}, _callee30, this);
|
|
947
950
|
}));
|
|
948
|
-
function getSoftDeletedTeamById(
|
|
951
|
+
function getSoftDeletedTeamById(_x54) {
|
|
949
952
|
return _getSoftDeletedTeamById.apply(this, arguments);
|
|
950
953
|
}
|
|
951
954
|
return getSoftDeletedTeamById;
|
|
@@ -974,7 +977,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
974
977
|
}
|
|
975
978
|
}, _callee31, this);
|
|
976
979
|
}));
|
|
977
|
-
function getUserInSiteUserBase(
|
|
980
|
+
function getUserInSiteUserBase(_x55) {
|
|
978
981
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
979
982
|
}
|
|
980
983
|
return getUserInSiteUserBase;
|
|
@@ -997,7 +1000,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
997
1000
|
}
|
|
998
1001
|
}, _callee32, this);
|
|
999
1002
|
}));
|
|
1000
|
-
function retrieveBrowseUserPermission(
|
|
1003
|
+
function retrieveBrowseUserPermission(_x56) {
|
|
1001
1004
|
return _retrieveBrowseUserPermission.apply(this, arguments);
|
|
1002
1005
|
}
|
|
1003
1006
|
return retrieveBrowseUserPermission;
|
|
@@ -1064,7 +1067,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1064
1067
|
}
|
|
1065
1068
|
}, _callee34, this);
|
|
1066
1069
|
}));
|
|
1067
|
-
function getLinkedTeamsBulk(
|
|
1070
|
+
function getLinkedTeamsBulk(_x57) {
|
|
1068
1071
|
return _getLinkedTeamsBulk.apply(this, arguments);
|
|
1069
1072
|
}
|
|
1070
1073
|
return getLinkedTeamsBulk;
|
|
@@ -1097,7 +1100,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1097
1100
|
}
|
|
1098
1101
|
}, _callee35, this);
|
|
1099
1102
|
}));
|
|
1100
|
-
function getTeamProfileDetails(
|
|
1103
|
+
function getTeamProfileDetails(_x58, _x59) {
|
|
1101
1104
|
return _getTeamProfileDetails.apply(this, arguments);
|
|
1102
1105
|
}
|
|
1103
1106
|
return getTeamProfileDetails;
|
|
@@ -1157,7 +1160,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1157
1160
|
}
|
|
1158
1161
|
}, _callee37, this);
|
|
1159
1162
|
}));
|
|
1160
|
-
function restoreTeamToSyncedGroup(
|
|
1163
|
+
function restoreTeamToSyncedGroup(_x60, _x61) {
|
|
1161
1164
|
return _restoreTeamToSyncedGroup.apply(this, arguments);
|
|
1162
1165
|
}
|
|
1163
1166
|
return restoreTeamToSyncedGroup;
|
|
@@ -1176,7 +1179,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1176
1179
|
}
|
|
1177
1180
|
}, _callee38, this);
|
|
1178
1181
|
}));
|
|
1179
|
-
function createTeamContainers(
|
|
1182
|
+
function createTeamContainers(_x62) {
|
|
1180
1183
|
return _createTeamContainers.apply(this, arguments);
|
|
1181
1184
|
}
|
|
1182
1185
|
return createTeamContainers;
|
|
@@ -1200,7 +1203,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1200
1203
|
}
|
|
1201
1204
|
}, _callee39, this);
|
|
1202
1205
|
}));
|
|
1203
|
-
function getTeamEnabledSites(
|
|
1206
|
+
function getTeamEnabledSites(_x63) {
|
|
1204
1207
|
return _getTeamEnabledSites.apply(this, arguments);
|
|
1205
1208
|
}
|
|
1206
1209
|
return getTeamEnabledSites;
|
|
@@ -1227,7 +1230,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1227
1230
|
}
|
|
1228
1231
|
}, _callee40, this);
|
|
1229
1232
|
}));
|
|
1230
|
-
function assignTeamsToSites(
|
|
1233
|
+
function assignTeamsToSites(_x64) {
|
|
1231
1234
|
return _assignTeamsToSites.apply(this, arguments);
|
|
1232
1235
|
}
|
|
1233
1236
|
return assignTeamsToSites;
|
|
@@ -1249,7 +1252,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1249
1252
|
}
|
|
1250
1253
|
}, _callee41, this);
|
|
1251
1254
|
}));
|
|
1252
|
-
function getTeamsToBeClonedToJsmSites(
|
|
1255
|
+
function getTeamsToBeClonedToJsmSites(_x65) {
|
|
1253
1256
|
return _getTeamsToBeClonedToJsmSites.apply(this, arguments);
|
|
1254
1257
|
}
|
|
1255
1258
|
return getTeamsToBeClonedToJsmSites;
|
|
@@ -1271,7 +1274,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1271
1274
|
}
|
|
1272
1275
|
}, _callee42, this);
|
|
1273
1276
|
}));
|
|
1274
|
-
function setTeamSiteAssignmentPermission(
|
|
1277
|
+
function setTeamSiteAssignmentPermission(_x66, _x67) {
|
|
1275
1278
|
return _setTeamSiteAssignmentPermission.apply(this, arguments);
|
|
1276
1279
|
}
|
|
1277
1280
|
return setTeamSiteAssignmentPermission;
|
|
@@ -1300,7 +1303,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1300
1303
|
}
|
|
1301
1304
|
}, _callee43, this);
|
|
1302
1305
|
}));
|
|
1303
|
-
function getAssignedTeams(
|
|
1306
|
+
function getAssignedTeams(_x68, _x69, _x70, _x71) {
|
|
1304
1307
|
return _getAssignedTeams.apply(this, arguments);
|
|
1305
1308
|
}
|
|
1306
1309
|
return getAssignedTeams;
|
|
@@ -1329,7 +1332,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1329
1332
|
}
|
|
1330
1333
|
}, _callee44, this);
|
|
1331
1334
|
}));
|
|
1332
|
-
function getUnassignedTeams(
|
|
1335
|
+
function getUnassignedTeams(_x72, _x73, _x74, _x75) {
|
|
1333
1336
|
return _getUnassignedTeams.apply(this, arguments);
|
|
1334
1337
|
}
|
|
1335
1338
|
return getUnassignedTeams;
|
|
@@ -1531,7 +1534,7 @@ var LegionClient = exports.LegionClient = /*#__PURE__*/function (_RestClient) {
|
|
|
1531
1534
|
}
|
|
1532
1535
|
}, _callee46, this, [[0, 1]]);
|
|
1533
1536
|
}));
|
|
1534
|
-
function getTeamStatesInBulk(
|
|
1537
|
+
function getTeamStatesInBulk(_x76, _x77) {
|
|
1535
1538
|
return _getTeamStatesInBulk.apply(this, arguments);
|
|
1536
1539
|
}
|
|
1537
1540
|
return getTeamStatesInBulk;
|
|
@@ -2084,13 +2084,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2084
2084
|
}, {
|
|
2085
2085
|
key: "getWriteTeamMediaToken",
|
|
2086
2086
|
value: (function () {
|
|
2087
|
-
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58() {
|
|
2087
|
+
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58(teamId) {
|
|
2088
2088
|
var _this53 = this;
|
|
2089
2089
|
return _regenerator.default.wrap(function (_context58) {
|
|
2090
2090
|
while (1) switch (_context58.prev = _context58.next) {
|
|
2091
2091
|
case 0:
|
|
2092
2092
|
return _context58.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
2093
|
-
return _this53._legionClient.getWriteMediaToken();
|
|
2093
|
+
return _this53._legionClient.getWriteMediaToken(teamId);
|
|
2094
2094
|
}));
|
|
2095
2095
|
case 1:
|
|
2096
2096
|
case "end":
|
|
@@ -2098,7 +2098,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2098
2098
|
}
|
|
2099
2099
|
}, _callee58, this);
|
|
2100
2100
|
}));
|
|
2101
|
-
function getWriteTeamMediaToken() {
|
|
2101
|
+
function getWriteTeamMediaToken(_x24) {
|
|
2102
2102
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
2103
2103
|
}
|
|
2104
2104
|
return getWriteTeamMediaToken;
|
|
@@ -2184,7 +2184,7 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
}, _callee61, this);
|
|
2186
2186
|
}));
|
|
2187
|
-
function updateUserHeaderImage(
|
|
2187
|
+
function updateUserHeaderImage(_x25) {
|
|
2188
2188
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
2189
2189
|
}
|
|
2190
2190
|
return updateUserHeaderImage;
|
|
@@ -3,20 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "PublicApiClient", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _PublicApiClient.PublicApiClient;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
6
|
exports.default = void 0;
|
|
13
7
|
var _constants = require("../constants");
|
|
14
8
|
var _PublicApiClient = require("./PublicApiClient");
|
|
15
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
16
|
-
|
|
17
9
|
// eslint-disable-next-line import/no-anonymous-default-export
|
|
18
10
|
var _default_1 = new _PublicApiClient.PublicApiClient(_constants.DEFAULT_CONFIG.publicApiRoot);
|
|
19
|
-
var _default = exports.default = _default_1;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated Use `import { PublicApiClient } from '@atlaskit/teams-client/public-api-client'` instead.
|
|
22
|
-
*/
|
|
11
|
+
var _default = exports.default = _default_1;
|
|
@@ -36,7 +36,7 @@ function getSentryConfig(options) {
|
|
|
36
36
|
return _objectSpread(_objectSpread(_objectSpread({}, otherOptions), DEFAULT_SENTRY_CONFIG), {}, {
|
|
37
37
|
// Standalone __VERSION__ is set from `bin/set-release-version.sh`
|
|
38
38
|
// when building to deploy to production
|
|
39
|
-
release: "".concat("@atlaskit/teams-client", "@").concat("
|
|
39
|
+
release: "".concat("@atlaskit/teams-client", "@").concat("6.0.0") ||
|
|
40
40
|
// @ts-ignore Jira - window.BUILD_KEY
|
|
41
41
|
window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
|
|
42
42
|
(_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
|
|
@@ -3,32 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "ActualGraphQLError", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _ActualGraphQLError.ActualGraphQLError;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
6
|
exports.ErrorCategory = void 0;
|
|
13
|
-
Object.defineProperty(exports, "UseQueryLightError", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function get() {
|
|
16
|
-
return _UseQueryLightError.UseQueryLightError;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
var _ActualGraphQLError = require("./ActualGraphQLError");
|
|
20
|
-
var _UseQueryLightError = require("./UseQueryLightError");
|
|
21
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
22
7
|
var ErrorCategory = exports.ErrorCategory = /*#__PURE__*/function (ErrorCategory) {
|
|
23
8
|
ErrorCategory["NotFound"] = "NotFound";
|
|
24
9
|
ErrorCategory["NotPermitted"] = "NotPermitted";
|
|
25
10
|
ErrorCategory["MalformedInput"] = "MalformedInput";
|
|
26
11
|
ErrorCategory["Internal"] = "Internal";
|
|
27
12
|
return ErrorCategory;
|
|
28
|
-
}({});
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated Use `import { ActualGraphQLError } from '@atlaskit/teams-client/actual-graph-ql-error'` instead.
|
|
31
|
-
*/
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Use `import { UseQueryLightError } from '@atlaskit/teams-client/use-query-light-error'` instead.
|
|
34
|
-
*/
|
|
13
|
+
}({});
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
|
-
|
|
3
1
|
export let ErrorCategory = /*#__PURE__*/function (ErrorCategory) {
|
|
4
2
|
ErrorCategory["NotFound"] = "NotFound";
|
|
5
3
|
ErrorCategory["NotPermitted"] = "NotPermitted";
|
|
@@ -18,40 +16,4 @@ export let StatusCode = /*#__PURE__*/function (StatusCode) {
|
|
|
18
16
|
export let TeamErrorType = /*#__PURE__*/function (TeamErrorType) {
|
|
19
17
|
TeamErrorType["TEAM_NOT_ACTIVE"] = "Team must be active";
|
|
20
18
|
return TeamErrorType;
|
|
21
|
-
}({});
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Use `import { isAuthError } from '@atlaskit/teams-client/is-auth-error'` instead.
|
|
24
|
-
*/
|
|
25
|
-
export { isAuthError } from './isAuthError';
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated Use `import { isErrorStatusCode } from '@atlaskit/teams-client/is-error-status-code'` instead.
|
|
28
|
-
*/
|
|
29
|
-
export { isErrorStatusCode } from './isErrorStatusCode';
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Use `import { doesErrorContainStatus } from '@atlaskit/teams-client/does-error-contain-status'` instead.
|
|
32
|
-
*/
|
|
33
|
-
export { doesErrorContainStatus } from './doesErrorContainStatus';
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated Use `import { DefaultError } from '@atlaskit/teams-client/default-error'` instead.
|
|
36
|
-
*/
|
|
37
|
-
export { DefaultError } from './DefaultError';
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated Use `import { SLOIgnoreError } from '@atlaskit/teams-client/slo-ignore-error'` instead.
|
|
40
|
-
*/
|
|
41
|
-
export { SLOIgnoreError } from './SLOIgnoreError';
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated Use `import { HttpError } from '@atlaskit/teams-client/http-error'` instead.
|
|
44
|
-
*/
|
|
45
|
-
export { HttpError } from './HttpError';
|
|
46
|
-
/**
|
|
47
|
-
* @deprecated Use `import { SLOIgnoreHttpError } from '@atlaskit/teams-client/slo-ignore-http-error'` instead.
|
|
48
|
-
*/
|
|
49
|
-
export { SLOIgnoreHttpError } from './SLOIgnoreHttpError';
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated Use `import { GraphQLError } from '@atlaskit/teams-client/graph-ql-error'` instead.
|
|
52
|
-
*/
|
|
53
|
-
export { GraphQLError } from './GraphQLError';
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated Use `import { isNetworkError } from '@atlaskit/teams-client/is-network-error'` instead.
|
|
56
|
-
*/
|
|
57
|
-
export { isNetworkError } from './isNetworkError';
|
|
19
|
+
}({});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of
|
|
1
|
+
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of this deprecated API. */
|
|
2
2
|
|
|
3
3
|
import { isMember } from '../is-member';
|
|
4
4
|
import { vanityActions } from './constants';
|
|
@@ -21,13 +21,4 @@ export function hasPermission(action, settings, permission, isPeopleBrowseEnable
|
|
|
21
21
|
source,
|
|
22
22
|
state
|
|
23
23
|
});
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated Use `import { hasPermissionForAction } from '@atlaskit/teams-client/has-permission-for-action'` instead.
|
|
28
|
-
*/
|
|
29
|
-
export { hasPermissionForAction } from './has-permission-for-action';
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated Use `import { userCan } from '@atlaskit/teams-client/user-can'` instead.
|
|
32
|
-
*/
|
|
33
|
-
export { userCan } from './user-can';
|
|
24
|
+
}
|
|
@@ -31,7 +31,7 @@ export class TeamsUFOExperience extends UFOExperience {
|
|
|
31
31
|
return super.failure({
|
|
32
32
|
metadata: {
|
|
33
33
|
error: createErrorMetadata(error),
|
|
34
|
-
packageVersion: "
|
|
34
|
+
packageVersion: "6.0.0",
|
|
35
35
|
packageName: "@atlaskit/teams-client"
|
|
36
36
|
}
|
|
37
37
|
});
|
|
@@ -39,7 +39,7 @@ export class TeamsUFOExperience extends UFOExperience {
|
|
|
39
39
|
return super.failure({
|
|
40
40
|
metadata: {
|
|
41
41
|
error: 'unknown error',
|
|
42
|
-
packageVersion: "
|
|
42
|
+
packageVersion: "6.0.0",
|
|
43
43
|
packageName: "@atlaskit/teams-client"
|
|
44
44
|
}
|
|
45
45
|
});
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
|
-
|
|
3
1
|
import { toTeamARI } from '../../common/utils/to-team-ari';
|
|
4
2
|
import { toUserId } from '../../common/utils/to-user-id';
|
|
5
3
|
import { DEFAULT_CONFIG } from '../constants';
|
|
@@ -236,8 +234,4 @@ export class AGGClient extends BaseGraphQlClient {
|
|
|
236
234
|
}
|
|
237
235
|
export const aggClient = new AGGClient(DEFAULT_CONFIG.stargateRoot, {
|
|
238
236
|
logException
|
|
239
|
-
});
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* @deprecated Use `import type { TeamContainers } from '@atlaskit/teams-client/team-containers'` instead.
|
|
243
|
-
*/
|
|
237
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of
|
|
1
|
+
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of this deprecated API. */
|
|
2
2
|
|
|
3
3
|
import { useTeamsClientSetupNext } from './use-teams-client-setup-next';
|
|
4
4
|
|
|
@@ -12,9 +12,4 @@ export const useTeamsClientSetup = (stargateRoot, cloudId, orgId, principalUserI
|
|
|
12
12
|
orgId,
|
|
13
13
|
principalUserId
|
|
14
14
|
});
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated Use `import { useTeamsClientSetupNext } from '@atlaskit/teams-client/use-teams-client-setup-next'` instead.
|
|
19
|
-
*/
|
|
20
|
-
export { useTeamsClientSetupNext } from './use-teams-client-setup-next';
|
|
15
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
1
2
|
import { DEFAULT_CONFIG } from '../constants';
|
|
2
3
|
import { RestClient } from '../rest-client';
|
|
3
4
|
|
|
@@ -329,8 +330,9 @@ export class LegionClient extends RestClient {
|
|
|
329
330
|
siteId
|
|
330
331
|
});
|
|
331
332
|
}
|
|
332
|
-
async getWriteMediaToken() {
|
|
333
|
-
|
|
333
|
+
async getWriteMediaToken(teamId) {
|
|
334
|
+
const path = fg('ptc-enable-team-scoped-header-image-media-upload') && teamId ? `${v4UrlPath}/${this.trimTeamARI(teamId)}/header-image/media-upload` : `${v4UrlPath}/header-image/media-upload`;
|
|
335
|
+
return this.getResource(path).then(response => {
|
|
334
336
|
var _response$baseUrl;
|
|
335
337
|
return {
|
|
336
338
|
...response,
|
|
@@ -619,8 +619,8 @@ export class TeamsClient {
|
|
|
619
619
|
/**
|
|
620
620
|
* Get token to upload media for a team
|
|
621
621
|
*/
|
|
622
|
-
async getWriteTeamMediaToken() {
|
|
623
|
-
return this.measurePerformance('getWriteTeamMediaToken', () => this._legionClient.getWriteMediaToken());
|
|
622
|
+
async getWriteTeamMediaToken(teamId) {
|
|
623
|
+
return this.measurePerformance('getWriteTeamMediaToken', () => this._legionClient.getWriteMediaToken(teamId));
|
|
624
624
|
}
|
|
625
625
|
|
|
626
626
|
/**
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
|
-
|
|
3
1
|
import { DEFAULT_CONFIG } from '../constants';
|
|
4
2
|
import { PublicApiClient } from './PublicApiClient';
|
|
5
3
|
|
|
6
4
|
// eslint-disable-next-line import/no-anonymous-default-export
|
|
7
5
|
const _default_1 = new PublicApiClient(DEFAULT_CONFIG.publicApiRoot);
|
|
8
|
-
export default _default_1;
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use `import { PublicApiClient } from '@atlaskit/teams-client/public-api-client'` instead.
|
|
12
|
-
*/
|
|
13
|
-
export { PublicApiClient } from './PublicApiClient';
|
|
6
|
+
export default _default_1;
|