@atlaskit/teams-client 5.6.0 → 6.0.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.
Files changed (78) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/common/utils/error/index.js +2 -94
  3. package/dist/cjs/common/utils/permissions/has-permission.js +2 -23
  4. package/dist/cjs/common/utils/ufo/index.js +2 -2
  5. package/dist/cjs/services/agg-client/index.js +2 -6
  6. package/dist/cjs/services/hooks/use-teams-client-setup.js +2 -12
  7. package/dist/cjs/services/public-api-client/index.js +1 -12
  8. package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
  9. package/dist/cjs/services/use-query-light/types.js +1 -22
  10. package/dist/es2019/common/utils/error/index.js +1 -39
  11. package/dist/es2019/common/utils/permissions/has-permission.js +2 -11
  12. package/dist/es2019/common/utils/ufo/index.js +2 -2
  13. package/dist/es2019/services/agg-client/index.js +1 -7
  14. package/dist/es2019/services/hooks/use-teams-client-setup.js +2 -7
  15. package/dist/es2019/services/public-api-client/index.js +1 -8
  16. package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
  17. package/dist/es2019/services/use-query-light/types.js +1 -11
  18. package/dist/esm/common/utils/error/index.js +1 -39
  19. package/dist/esm/common/utils/permissions/has-permission.js +2 -11
  20. package/dist/esm/common/utils/ufo/index.js +2 -2
  21. package/dist/esm/services/agg-client/index.js +1 -7
  22. package/dist/esm/services/hooks/use-teams-client-setup.js +2 -7
  23. package/dist/esm/services/public-api-client/index.js +1 -8
  24. package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
  25. package/dist/esm/services/use-query-light/types.js +1 -11
  26. package/dist/types/common/utils/error/index.d.ts +1 -36
  27. package/dist/types/common/utils/permissions/has-permission.d.ts +0 -8
  28. package/dist/types/services/agg-client/index.d.ts +0 -4
  29. package/dist/types/services/hooks/use-teams-client-setup.d.ts +0 -4
  30. package/dist/types/services/public-api-client/index.d.ts +0 -4
  31. package/dist/types/services/use-query-light/types.d.ts +0 -8
  32. package/package.json +4 -4
  33. package/scripts/generate-docs.ts +1 -1
  34. package/ari/package.json +0 -8
  35. package/dist/cjs/common/utils/ari.js +0 -47
  36. package/dist/cjs/common/utils/index.js +0 -40
  37. package/dist/cjs/common/utils/team.js +0 -33
  38. package/dist/cjs/mocks/endpoints.js +0 -40
  39. package/dist/cjs/mocks/generate-data.js +0 -40
  40. package/dist/cjs/mocks/index.js +0 -68
  41. package/dist/cjs/services/sentry/main.js +0 -68
  42. package/dist/cjs/services/use-query-light/index.js +0 -26
  43. package/dist/cjs/services/use-query-light/main.js +0 -19
  44. package/dist/es2019/common/utils/ari.js +0 -26
  45. package/dist/es2019/common/utils/index.js +0 -22
  46. package/dist/es2019/common/utils/team.js +0 -18
  47. package/dist/es2019/mocks/endpoints.js +0 -23
  48. package/dist/es2019/mocks/generate-data.js +0 -23
  49. package/dist/es2019/mocks/index.js +0 -39
  50. package/dist/es2019/services/sentry/main.js +0 -40
  51. package/dist/es2019/services/use-query-light/index.js +0 -22
  52. package/dist/es2019/services/use-query-light/main.js +0 -11
  53. package/dist/esm/common/utils/ari.js +0 -26
  54. package/dist/esm/common/utils/index.js +0 -22
  55. package/dist/esm/common/utils/team.js +0 -18
  56. package/dist/esm/mocks/endpoints.js +0 -23
  57. package/dist/esm/mocks/generate-data.js +0 -23
  58. package/dist/esm/mocks/index.js +0 -39
  59. package/dist/esm/services/sentry/main.js +0 -40
  60. package/dist/esm/services/use-query-light/index.js +0 -22
  61. package/dist/esm/services/use-query-light/main.js +0 -11
  62. package/dist/types/common/utils/ari.d.ts +0 -24
  63. package/dist/types/common/utils/index.d.ts +0 -20
  64. package/dist/types/common/utils/team.d.ts +0 -16
  65. package/dist/types/mocks/endpoints.d.ts +0 -20
  66. package/dist/types/mocks/generate-data.d.ts +0 -20
  67. package/dist/types/mocks/index.d.ts +0 -36
  68. package/dist/types/services/sentry/main.d.ts +0 -36
  69. package/dist/types/services/use-query-light/index.d.ts +0 -20
  70. package/dist/types/services/use-query-light/main.d.ts +0 -8
  71. package/endpoints/package.json +0 -8
  72. package/generate-data/package.json +0 -8
  73. package/mocks/package.json +0 -8
  74. package/sentry/main/package.json +0 -8
  75. package/team/package.json +0 -8
  76. package/use-query-light/main/package.json +0 -8
  77. package/use-query-light/package.json +0 -8
  78. package/utils/package.json +0 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/teams-client
2
2
 
3
+ ## 6.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`0c7c7be927bde`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0c7c7be927bde) -
8
+ Remove deprecated Volt re-export shims from public package entry points. Consumers should import
9
+ from the replacement subpaths or implementation entry points instead.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 5.6.0
4
16
 
5
17
  ### Minor Changes
@@ -3,72 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "DefaultError", {
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
- var _hasPermissionForAction = require("./has-permission-for-action");
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: "5.5.0",
59
+ packageVersion: "5.6.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: "5.5.0",
67
+ packageVersion: "5.6.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; })(); } /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
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 these deprecated re-export shims. */
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
+ };
@@ -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("5.5.0") ||
39
+ release: "".concat("@atlaskit/teams-client", "@").concat("5.6.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 these deprecated re-export shims. */
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: "5.5.0",
34
+ packageVersion: "5.6.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: "5.5.0",
42
+ packageVersion: "5.6.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 these deprecated re-export shims. */
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,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;
@@ -28,7 +28,7 @@ export function getSentryConfig(options) {
28
28
  ...DEFAULT_SENTRY_CONFIG,
29
29
  // Standalone __VERSION__ is set from `bin/set-release-version.sh`
30
30
  // when building to deploy to production
31
- release: `${"@atlaskit/teams-client"}@${"5.5.0"}` ||
31
+ release: `${"@atlaskit/teams-client"}@${"5.6.0"}` ||
32
32
  // @ts-ignore Jira - window.BUILD_KEY
33
33
  window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
34
34
  (_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
@@ -1,17 +1,7 @@
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";
6
4
  ErrorCategory["MalformedInput"] = "MalformedInput";
7
5
  ErrorCategory["Internal"] = "Internal";
8
6
  return ErrorCategory;
9
- }({});
10
- /**
11
- * @deprecated Use `import { ActualGraphQLError } from '@atlaskit/teams-client/actual-graph-ql-error'` instead.
12
- */
13
- export { ActualGraphQLError } from './ActualGraphQLError';
14
- /**
15
- * @deprecated Use `import { UseQueryLightError } from '@atlaskit/teams-client/use-query-light-error'` instead.
16
- */
17
- export { UseQueryLightError } from './UseQueryLightError';
7
+ }({});
@@ -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 var ErrorCategory = /*#__PURE__*/function (ErrorCategory) {
4
2
  ErrorCategory["NotFound"] = "NotFound";
5
3
  ErrorCategory["NotPermitted"] = "NotPermitted";
@@ -18,40 +16,4 @@ export var StatusCode = /*#__PURE__*/function (StatusCode) {
18
16
  export var 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 these deprecated re-export shims. */
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: source,
22
22
  state: 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
+ }
@@ -49,7 +49,7 @@ export var TeamsUFOExperience = /*#__PURE__*/function (_UFOExperience) {
49
49
  return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
50
50
  metadata: {
51
51
  error: createErrorMetadata(error),
52
- packageVersion: "5.5.0",
52
+ packageVersion: "5.6.0",
53
53
  packageName: "@atlaskit/teams-client"
54
54
  }
55
55
  }]);
@@ -57,7 +57,7 @@ export var TeamsUFOExperience = /*#__PURE__*/function (_UFOExperience) {
57
57
  return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
58
58
  metadata: {
59
59
  error: 'unknown error',
60
- packageVersion: "5.5.0",
60
+ packageVersion: "5.6.0",
61
61
  packageName: "@atlaskit/teams-client"
62
62
  }
63
63
  }]);
@@ -10,8 +10,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
10
10
  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) { _defineProperty(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; }
11
11
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
12
12
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
14
-
15
13
  import { toTeamARI } from '../../common/utils/to-team-ari';
16
14
  import { toUserId } from '../../common/utils/to-user-id';
17
15
  import { DEFAULT_CONFIG } from '../constants';
@@ -399,8 +397,4 @@ export var AGGClient = /*#__PURE__*/function (_BaseGraphQlClient) {
399
397
  }(BaseGraphQlClient);
400
398
  export var aggClient = new AGGClient(DEFAULT_CONFIG.stargateRoot, {
401
399
  logException: logException
402
- });
403
-
404
- /**
405
- * @deprecated Use `import type { TeamContainers } from '@atlaskit/teams-client/team-containers'` instead.
406
- */
400
+ });
@@ -1,4 +1,4 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
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 var useTeamsClientSetup = function useTeamsClientSetup(stargateRoot, clou
12
12
  orgId: orgId,
13
13
  principalUserId: 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,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
  var _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;
@@ -29,7 +29,7 @@ export function getSentryConfig(options) {
29
29
  return _objectSpread(_objectSpread(_objectSpread({}, otherOptions), DEFAULT_SENTRY_CONFIG), {}, {
30
30
  // Standalone __VERSION__ is set from `bin/set-release-version.sh`
31
31
  // when building to deploy to production
32
- release: "".concat("@atlaskit/teams-client", "@").concat("5.5.0") ||
32
+ release: "".concat("@atlaskit/teams-client", "@").concat("5.6.0") ||
33
33
  // @ts-ignore Jira - window.BUILD_KEY
34
34
  window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
35
35
  (_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
@@ -1,17 +1,7 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  export var ErrorCategory = /*#__PURE__*/function (ErrorCategory) {
4
2
  ErrorCategory["NotFound"] = "NotFound";
5
3
  ErrorCategory["NotPermitted"] = "NotPermitted";
6
4
  ErrorCategory["MalformedInput"] = "MalformedInput";
7
5
  ErrorCategory["Internal"] = "Internal";
8
6
  return ErrorCategory;
9
- }({});
10
- /**
11
- * @deprecated Use `import { ActualGraphQLError } from '@atlaskit/teams-client/actual-graph-ql-error'` instead.
12
- */
13
- export { ActualGraphQLError } from './ActualGraphQLError';
14
- /**
15
- * @deprecated Use `import { UseQueryLightError } from '@atlaskit/teams-client/use-query-light-error'` instead.
16
- */
17
- export { UseQueryLightError } from './UseQueryLightError';
7
+ }({});