@atlaskit/teams-client 4.24.1 → 4.26.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.
@@ -1,12 +1,7 @@
1
- import { type TeamARI, type TeamTypeAri, type UserARI } from '../types';
1
+ import { type TeamARI, type UserARI } from '../types';
2
2
  export declare const isUserARI: (ari: string) => ari is UserARI;
3
3
  export declare const toUserId: (ari: UserARI | string) => string;
4
4
  export declare const toUserARI: (userId: string) => UserARI;
5
5
  export declare const isTeamARI: (ari: string) => ari is TeamARI;
6
6
  export declare const toTeamId: (ari: TeamARI | string) => string;
7
7
  export declare const toTeamARI: (teamId: string) => TeamARI;
8
- /**
9
- * TODO: Replace these team type ari utils with @atlassian/ari when it is published
10
- */
11
- export declare const isTeamTypeAri: (ari: string) => ari is TeamTypeAri;
12
- export declare const toTeamTypeId: (teamTypeAriOrId: TeamTypeAri | string) => string;
@@ -10,6 +10,6 @@ export { logException, logInfoMessage } from './services/sentry/main';
10
10
  export type { SentryClient } from './services/sentry/types';
11
11
  export { userInfoProvider, UserInfoProvider } from './services/user-info-provider';
12
12
  export { sortMembersByType, isInvited, isMember, isNonMember, isRequestingJoin, } from './common/utils';
13
- export { toUserARI, toUserId, toTeamARI, toTeamId, toTeamTypeId } from './common/utils/ari';
13
+ export { toUserARI, toUserId, toTeamARI, toTeamId } from './common/utils/ari';
14
14
  export { useLazyQueryLight, useQueryLight, UseQueryLightError, type ActualGraphQLError, } from './services/use-query-light';
15
15
  export type { FetchMoreArgs, QueryOptions } from './services/use-query-light';
@@ -108,7 +108,7 @@ export declare class TeamsClient {
108
108
  * @param teamId
109
109
  * @returns {Promise<TeamWithImageUrls>}
110
110
  */
111
- getTeamById(teamId: string): Promise<AwaitedReturn<typeof defaultLegionClient.getTeamById>>;
111
+ getTeamById(teamId: string, cloudId?: string): Promise<AwaitedReturn<typeof defaultLegionClient.getTeamById>>;
112
112
  /**
113
113
  * Search teams based on query
114
114
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/teams-client",
3
- "version": "4.24.1",
3
+ "version": "4.26.0",
4
4
  "description": "A client to retrieve team related data",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",