@ai4b-team/fsaos-gateway-sdk 5.3.0 → 5.4.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/dist/index.d.cts CHANGED
@@ -544,6 +544,8 @@ interface AccountInfo {
544
544
  isOwner?: boolean;
545
545
  billingResponsible?: boolean;
546
546
  grantedVia?: 'self_provisioned' | 'invitation' | 'purchase' | 'seat_assignment' | null;
547
+ /** Server-verified accepted invitation for this active account membership. */
548
+ invitationAccepted?: boolean;
547
549
  grantedUnderAccountId?: string | null;
548
550
  membershipPath?: string | null;
549
551
  personalSpaceId?: string | null;
@@ -3013,7 +3015,7 @@ interface InviteMemberResult {
3013
3015
  /** The member item the invite minted — `pending` until the person accepts. */
3014
3016
  member_id: string;
3015
3017
  member_path?: string;
3016
- status: 'pending' | 'active';
3018
+ status: 'pending' | 'invited' | 'active';
3017
3019
  role: MemberRole;
3018
3020
  email: string;
3019
3021
  /** `invited_to_scope` for an account, `invited_to_space` for a space. */
@@ -3023,7 +3025,8 @@ interface InviteMemberResult {
3023
3025
  [key: string]: unknown;
3024
3026
  }
3025
3027
  /**
3026
- * Invite a person into an account or space. Errors: `ROLE_ABOVE_INVITER`,
3028
+ * Legacy membership creation; this call does not deliver an email. Use
3029
+ * createInvitation for a scoped email invitation. Errors: `ROLE_ABOVE_INVITER`,
3027
3030
  * `TARGET_SCOPE_NOT_FOUND`, `INVITE_TARGET_INVALID`.
3028
3031
  */
3029
3032
  declare function inviteMember(params: InviteMemberParams): Promise<InviteMemberResult>;
@@ -3039,9 +3042,8 @@ interface AcceptInviteResult {
3039
3042
  [key: string]: unknown;
3040
3043
  }
3041
3044
  /**
3042
- * Accept an invite as the signed-in person: the member item turns `active`
3043
- * and every seat already linked to it (see `seatMember`) opens at once —
3044
- * `can_do` on those chats is false before this call and true after it.
3045
+ * Accept a legacy member invitation. For an email invitation, use
3046
+ * acceptInvitation(invitation_id), which activates only its saved grants.
3045
3047
  */
3046
3048
  declare function acceptInvite(params: AcceptInviteParams): Promise<AcceptInviteResult>;
3047
3049
  interface SeatMemberParams {
@@ -3057,8 +3059,9 @@ interface SeatMemberParams {
3057
3059
  }
3058
3060
  /**
3059
3061
  * Seat a member on a chat: one `has_member` edge from the chat to the member
3060
- * item, the role in the edge context. Seat an invited member right after
3061
- * `inviteMember`; the seat shows on the roster as pending and opens on accept.
3062
+ * item, the role in the edge context. The member must already be active;
3063
+ * pending membership does not grant an audience seat. Email invitations
3064
+ * seat their recipient atomically when acceptInvitation succeeds.
3062
3065
  */
3063
3066
  declare function seatMember(params: SeatMemberParams): Promise<{
3064
3067
  success: true;
@@ -3165,6 +3168,66 @@ declare function useAnswerInput(): _tanstack_react_query.UseMutationResult<{
3165
3168
  success: true;
3166
3169
  }, Error, AnswerInputParams, unknown>;
3167
3170
 
3171
+ interface CreateInvitationParams {
3172
+ /** Retain this UUID across retries of the same request. */
3173
+ request_id: string;
3174
+ email: string;
3175
+ /** Account, Space, channel, or thread-root message UUID. */
3176
+ target_id: string;
3177
+ role: MemberRole;
3178
+ /** Prerequisite standing; defaults to viewer for a non-account destination. */
3179
+ account_role?: MemberRole;
3180
+ space_role?: MemberRole;
3181
+ message?: string;
3182
+ _scope_path?: string;
3183
+ }
3184
+ interface InvitationReceipt {
3185
+ success: true;
3186
+ invitation_id: string;
3187
+ state: 'pending' | 'accepted' | 'declined' | 'cancelled' | 'expired';
3188
+ email: string;
3189
+ inviter_name?: string | null;
3190
+ account_id: string;
3191
+ account_name: string;
3192
+ account_path: string;
3193
+ space_id: string | null;
3194
+ target_id: string;
3195
+ target_name: string;
3196
+ target_kind: 'account' | 'space' | 'channel' | 'thread';
3197
+ target_path: string;
3198
+ role: MemberRole;
3199
+ account_role: MemberRole;
3200
+ space_role: MemberRole | null;
3201
+ can_accept: boolean;
3202
+ expires_at: string;
3203
+ message: string | null;
3204
+ delivery: {
3205
+ state: 'queued' | 'accepted' | 'failed' | 'unknown' | 'unknown_final';
3206
+ attempt_id: string;
3207
+ error?: string | null;
3208
+ };
3209
+ result: {
3210
+ member_id: string;
3211
+ space_member_id: string | null;
3212
+ principal_id: string;
3213
+ target_id: string;
3214
+ } | null;
3215
+ }
3216
+ declare const createInvitation: (params: CreateInvitationParams) => Promise<InvitationReceipt>;
3217
+ declare const getInvitation: (invitationId: string) => Promise<InvitationReceipt>;
3218
+ declare const acceptInvitation: (invitationId: string) => Promise<InvitationReceipt>;
3219
+ type InvitationChangeReceipt = Pick<InvitationReceipt, 'success' | 'invitation_id' | 'state'> & Partial<Pick<InvitationReceipt, 'delivery'>>;
3220
+ declare const rejectInvitation: (invitationId: string) => Promise<InvitationChangeReceipt>;
3221
+ declare const cancelInvitation: (invitationId: string) => Promise<InvitationChangeReceipt>;
3222
+ declare const resendInvitation: (invitationId: string, requestId: string) => Promise<InvitationChangeReceipt>;
3223
+ type InvitationSummary = Pick<InvitationReceipt, 'invitation_id' | 'email' | 'target_name' | 'target_kind' | 'role' | 'state' | 'delivery'>;
3224
+ interface InvitationPage {
3225
+ success: true;
3226
+ invitations: InvitationSummary[];
3227
+ next_after: string | null;
3228
+ }
3229
+ declare const listInvitations: (accountId: string, after?: string) => Promise<InvitationPage>;
3230
+
3168
3231
  /**
3169
3232
  * @fsaos/gateway — Schema Interpretation Utilities
3170
3233
  *
@@ -3788,4 +3851,4 @@ declare function usePersonalSections(contextId: string | null, collection: Secti
3788
3851
  contextKey: string;
3789
3852
  };
3790
3853
 
3791
- export { type AcceptInviteParams, type AcceptInviteResult, type AccountInfo, type AnswerInputParams, type ArtifactDeltaEvent, type ArtifactDoneEvent, type ArtifactEvent, type ArtifactOpenedEvent, type ArtifactState, type ArtifactStatus, type ArtifactStreamState, type ArtifactSurfaceType, CHANNEL_AI_MODES, type CancelQueuedTurnOptions, type CancelQueuedTurnResponse, type CancelQueuedTurnState, type CancelTurnOptions, type CancelTurnResponse, type CancelTurnState, type Channel, type ChannelAiMode, type ChannelCard, type ChannelMessage, type ChannelMessagesOptions, type ChannelMessagesPage, type ChannelMessagesResponse, type ChannelsOptions, type ComponentOpener, ComponentRenderer, type ConnectionState, type CreateAgentParams, type CreateAgentResult, type CreateParams, type DeleteParams, EnforcementDeniedError, type EnforcementPayload, type FieldDescriptor, type FileRef, FormSubmissionError, type FormSubmissionReceipt, type FsaosRuntime, type GatewayParams, GatewayRequestError, type GatewayRequestOptions, type GatewayResponse, HostSessionUnavailableError, type HostSessionWelcome, type IncrementalItemsOptions, type InfiniteChannelMessagesOptions, type InfiniteItemsOptions, type InitializeFsaosOptions, type InteractionReceipt, InteractionTrackingError, type InviteMemberParams, type InviteMemberResult, type ItemVersionsOptions, type ItemVersionsResult, type ItemsDiscovery, type ItemsFilter, type ItemsFilterGroup, KernelProvider, type LinkParams, type LoadMountsOptions, type MemberRole, type MintedAsset, type MintedAssetState, type MountRef, type MoveParams, type Notification, type NotificationsOptions, type OpenEnvelope, type OpenOptions, type PathSubscriptionState, type PersonalItemOrderKey, type PersonalSection, type PinTarget, type PinnedItem, type PrincipalData, type PublicSourceConfig, type PublishedBundle, type PublishedComponentSource, type PublishedComponentStatus, type ReadPriority, type ReadTiming, type ResolveItemsResponse, type ResolveParams, type ResolveResponse, type ResolveResultItem, type ResolvedItem, type SeatMemberParams, type SectionChange, type SectionCollection, type SectionDestination, type SectionSnapshot, type SectionTarget, type ServeHostSessionOptions, type SessionEntry, type SourceCaptureAdapter, type SourceIdentityStorage, type StartTrackingOptions, type SteerTurnOptions, type SteerTurnResponse, type SteerTurnState, type SubmitFormOptions, type SwitcherAccount, type TimelineEvent, type TimelineHistoryEvent, type TimelineHistoryOptions, type TrackEventOptions, type TurnQueueEntry, type TurnQueueEntryState, type TypeDefinition, type TypeHelpers, type TypeSchema, type UnreadCountsOptions, type UpdateParams, type UpdatePrincipalParams, type UploadItem, type UploadOptions, type UploadResult, type UseArtifactStreamReturn, type UseFileUploadReturn, type UseTimelineHistoryReturn, type VFSEdge, type VFSItem, type VfsItemChange, type WorkCorrelation, type WorkspaceOptions, type WorkspaceSession, acceptInvite, answerInput, assignPersonalSection, auth, awaitAnchorReady, awaitScopeReady, callTool, cancelQueuedTurn, cancelTurn, clearCachedToken, clearSession, configureGatewayReads, connectHostSession, createAgent, createItem, disconnectSSE, disposeVfsRealtimeWs, electHomeAnchor, emitEvent, fetchChannelMessages, fetchChannelMessagesPage, fetchChannelMessagesWithCards, fetchEdgesForItem, fetchItemHistory, fetchItemVersions, fetchItems, fetchMemberFocus, fetchOpenEnvelope, fetchRecentActivity, fetchResolvedItems, fetchTimelineHistory, fetchTurnQueueEntries, fetchTypeDefinitions, fetchVfsChildren, fetchVfsChildrenPage, fetchVfsItem, fetchVfsItemById, fetchVfsTree, gatewayCall, getAccessToken, getAnchor, getAnchorRef, getAnchorVersion, getAssetUrl, getDefaultSort, getHomeAnchor, getMountVersion, getMounts, getPathSubscriptionState, getQueryClient, getRequiredFormFields, getScope, getScopeVersion, getServerClockOffsetMs, getServerClockSyncedAt, getSessionEntry, hasServerClock, initSession, initVfsRealtimeWs, initializeFsaos, initializeWorkspace, interpretSchema, invalidateAllVfs, invalidateChannelMessages, invalidateChildren, invalidateItem, invalidateOpenEnvelope, invalidatePathAndParent, invalidateSubtree, invalidateTypes, inviteMember, isAnchorReady, isChannelPath, isListableItemsFilter, isScopeReady, itemsFilterFromQueryFilter, listChildren, loadMounts, loadPublishedBundle, mount, mountRealtimeScope, normalizeItem, onConnectionStateChange, pathSubscriptionMatches, personalSectionsKey, ping, pushChanges, queryClient, readItem, refreshQuery, registerCleanup, replaceMounts, resetAllSdkState, resolvePrincipalId, resubscribePath, seatMember, selectMount, serveHostSession, serverDeadlinePassed, serverMsUntil, serverNow, setAnchor, setCachedToken, setQueryClient, setScope, setupRequireShim, signal, startTracking, steerTurn, submitForm, subscribeAnchor, subscribeArtifactStream, subscribeMounts, subscribeScope, subscribeToEvents, subscribeToPath, subscribeToScope, trackAction, trackEvent, trackPageView, unmountRealtimeScope, updateItem, uploadFile, useAcceptInvite, useAccounts, useAgentTimeline, useAllChannels, useAnswerInput, useArrangement, useArtifactStream, useAsset, useAuth, useChannelMessages, useChannels, useChildren, useComponent, useCreate, useCreateAgent, useDelete, useDmChannels, useEdges, useEventStream, useFileUpload, useIncrementalItems, useInfiniteChannelMessages, useInfiniteChildren, useInfiniteItems, useInviteMember, useItem, useItemById, useItemHistory, useItemVersions, useItems, useLink, useList, useMemberFocus, useMintedAsset, useMounts, useMove, useMutation, useNotifications, useOpen, usePermission, usePermissions, usePersonalItemOrder, usePersonalSections, usePinnedItems, usePrincipal, usePublishedComponent, useRealtimeQuery, useRecentActivity, useResolve, useResolvedItems, useScope, useScopeReady, useSearch, useSeatMember, useTheme, useTimelineHistory, useTree, useType, useTypeHelpers, useTypes, useUnreadCounts, useUpdate, useUpdatePrincipal, vfsKeys, waitForPathReady };
3854
+ export { type AcceptInviteParams, type AcceptInviteResult, type AccountInfo, type AnswerInputParams, type ArtifactDeltaEvent, type ArtifactDoneEvent, type ArtifactEvent, type ArtifactOpenedEvent, type ArtifactState, type ArtifactStatus, type ArtifactStreamState, type ArtifactSurfaceType, CHANNEL_AI_MODES, type CancelQueuedTurnOptions, type CancelQueuedTurnResponse, type CancelQueuedTurnState, type CancelTurnOptions, type CancelTurnResponse, type CancelTurnState, type Channel, type ChannelAiMode, type ChannelCard, type ChannelMessage, type ChannelMessagesOptions, type ChannelMessagesPage, type ChannelMessagesResponse, type ChannelsOptions, type ComponentOpener, ComponentRenderer, type ConnectionState, type CreateAgentParams, type CreateAgentResult, type CreateInvitationParams, type CreateParams, type DeleteParams, EnforcementDeniedError, type EnforcementPayload, type FieldDescriptor, type FileRef, FormSubmissionError, type FormSubmissionReceipt, type FsaosRuntime, type GatewayParams, GatewayRequestError, type GatewayRequestOptions, type GatewayResponse, HostSessionUnavailableError, type HostSessionWelcome, type IncrementalItemsOptions, type InfiniteChannelMessagesOptions, type InfiniteItemsOptions, type InitializeFsaosOptions, type InteractionReceipt, InteractionTrackingError, type InvitationChangeReceipt, type InvitationPage, type InvitationReceipt, type InvitationSummary, type InviteMemberParams, type InviteMemberResult, type ItemVersionsOptions, type ItemVersionsResult, type ItemsDiscovery, type ItemsFilter, type ItemsFilterGroup, KernelProvider, type LinkParams, type LoadMountsOptions, type MemberRole, type MintedAsset, type MintedAssetState, type MountRef, type MoveParams, type Notification, type NotificationsOptions, type OpenEnvelope, type OpenOptions, type PathSubscriptionState, type PersonalItemOrderKey, type PersonalSection, type PinTarget, type PinnedItem, type PrincipalData, type PublicSourceConfig, type PublishedBundle, type PublishedComponentSource, type PublishedComponentStatus, type ReadPriority, type ReadTiming, type ResolveItemsResponse, type ResolveParams, type ResolveResponse, type ResolveResultItem, type ResolvedItem, type SeatMemberParams, type SectionChange, type SectionCollection, type SectionDestination, type SectionSnapshot, type SectionTarget, type ServeHostSessionOptions, type SessionEntry, type SourceCaptureAdapter, type SourceIdentityStorage, type StartTrackingOptions, type SteerTurnOptions, type SteerTurnResponse, type SteerTurnState, type SubmitFormOptions, type SwitcherAccount, type TimelineEvent, type TimelineHistoryEvent, type TimelineHistoryOptions, type TrackEventOptions, type TurnQueueEntry, type TurnQueueEntryState, type TypeDefinition, type TypeHelpers, type TypeSchema, type UnreadCountsOptions, type UpdateParams, type UpdatePrincipalParams, type UploadItem, type UploadOptions, type UploadResult, type UseArtifactStreamReturn, type UseFileUploadReturn, type UseTimelineHistoryReturn, type VFSEdge, type VFSItem, type VfsItemChange, type WorkCorrelation, type WorkspaceOptions, type WorkspaceSession, acceptInvitation, acceptInvite, answerInput, assignPersonalSection, auth, awaitAnchorReady, awaitScopeReady, callTool, cancelInvitation, cancelQueuedTurn, cancelTurn, clearCachedToken, clearSession, configureGatewayReads, connectHostSession, createAgent, createInvitation, createItem, disconnectSSE, disposeVfsRealtimeWs, electHomeAnchor, emitEvent, fetchChannelMessages, fetchChannelMessagesPage, fetchChannelMessagesWithCards, fetchEdgesForItem, fetchItemHistory, fetchItemVersions, fetchItems, fetchMemberFocus, fetchOpenEnvelope, fetchRecentActivity, fetchResolvedItems, fetchTimelineHistory, fetchTurnQueueEntries, fetchTypeDefinitions, fetchVfsChildren, fetchVfsChildrenPage, fetchVfsItem, fetchVfsItemById, fetchVfsTree, gatewayCall, getAccessToken, getAnchor, getAnchorRef, getAnchorVersion, getAssetUrl, getDefaultSort, getHomeAnchor, getInvitation, getMountVersion, getMounts, getPathSubscriptionState, getQueryClient, getRequiredFormFields, getScope, getScopeVersion, getServerClockOffsetMs, getServerClockSyncedAt, getSessionEntry, hasServerClock, initSession, initVfsRealtimeWs, initializeFsaos, initializeWorkspace, interpretSchema, invalidateAllVfs, invalidateChannelMessages, invalidateChildren, invalidateItem, invalidateOpenEnvelope, invalidatePathAndParent, invalidateSubtree, invalidateTypes, inviteMember, isAnchorReady, isChannelPath, isListableItemsFilter, isScopeReady, itemsFilterFromQueryFilter, listChildren, listInvitations, loadMounts, loadPublishedBundle, mount, mountRealtimeScope, normalizeItem, onConnectionStateChange, pathSubscriptionMatches, personalSectionsKey, ping, pushChanges, queryClient, readItem, refreshQuery, registerCleanup, rejectInvitation, replaceMounts, resendInvitation, resetAllSdkState, resolvePrincipalId, resubscribePath, seatMember, selectMount, serveHostSession, serverDeadlinePassed, serverMsUntil, serverNow, setAnchor, setCachedToken, setQueryClient, setScope, setupRequireShim, signal, startTracking, steerTurn, submitForm, subscribeAnchor, subscribeArtifactStream, subscribeMounts, subscribeScope, subscribeToEvents, subscribeToPath, subscribeToScope, trackAction, trackEvent, trackPageView, unmountRealtimeScope, updateItem, uploadFile, useAcceptInvite, useAccounts, useAgentTimeline, useAllChannels, useAnswerInput, useArrangement, useArtifactStream, useAsset, useAuth, useChannelMessages, useChannels, useChildren, useComponent, useCreate, useCreateAgent, useDelete, useDmChannels, useEdges, useEventStream, useFileUpload, useIncrementalItems, useInfiniteChannelMessages, useInfiniteChildren, useInfiniteItems, useInviteMember, useItem, useItemById, useItemHistory, useItemVersions, useItems, useLink, useList, useMemberFocus, useMintedAsset, useMounts, useMove, useMutation, useNotifications, useOpen, usePermission, usePermissions, usePersonalItemOrder, usePersonalSections, usePinnedItems, usePrincipal, usePublishedComponent, useRealtimeQuery, useRecentActivity, useResolve, useResolvedItems, useScope, useScopeReady, useSearch, useSeatMember, useTheme, useTimelineHistory, useTree, useType, useTypeHelpers, useTypes, useUnreadCounts, useUpdate, useUpdatePrincipal, vfsKeys, waitForPathReady };
package/dist/index.d.ts CHANGED
@@ -544,6 +544,8 @@ interface AccountInfo {
544
544
  isOwner?: boolean;
545
545
  billingResponsible?: boolean;
546
546
  grantedVia?: 'self_provisioned' | 'invitation' | 'purchase' | 'seat_assignment' | null;
547
+ /** Server-verified accepted invitation for this active account membership. */
548
+ invitationAccepted?: boolean;
547
549
  grantedUnderAccountId?: string | null;
548
550
  membershipPath?: string | null;
549
551
  personalSpaceId?: string | null;
@@ -3013,7 +3015,7 @@ interface InviteMemberResult {
3013
3015
  /** The member item the invite minted — `pending` until the person accepts. */
3014
3016
  member_id: string;
3015
3017
  member_path?: string;
3016
- status: 'pending' | 'active';
3018
+ status: 'pending' | 'invited' | 'active';
3017
3019
  role: MemberRole;
3018
3020
  email: string;
3019
3021
  /** `invited_to_scope` for an account, `invited_to_space` for a space. */
@@ -3023,7 +3025,8 @@ interface InviteMemberResult {
3023
3025
  [key: string]: unknown;
3024
3026
  }
3025
3027
  /**
3026
- * Invite a person into an account or space. Errors: `ROLE_ABOVE_INVITER`,
3028
+ * Legacy membership creation; this call does not deliver an email. Use
3029
+ * createInvitation for a scoped email invitation. Errors: `ROLE_ABOVE_INVITER`,
3027
3030
  * `TARGET_SCOPE_NOT_FOUND`, `INVITE_TARGET_INVALID`.
3028
3031
  */
3029
3032
  declare function inviteMember(params: InviteMemberParams): Promise<InviteMemberResult>;
@@ -3039,9 +3042,8 @@ interface AcceptInviteResult {
3039
3042
  [key: string]: unknown;
3040
3043
  }
3041
3044
  /**
3042
- * Accept an invite as the signed-in person: the member item turns `active`
3043
- * and every seat already linked to it (see `seatMember`) opens at once —
3044
- * `can_do` on those chats is false before this call and true after it.
3045
+ * Accept a legacy member invitation. For an email invitation, use
3046
+ * acceptInvitation(invitation_id), which activates only its saved grants.
3045
3047
  */
3046
3048
  declare function acceptInvite(params: AcceptInviteParams): Promise<AcceptInviteResult>;
3047
3049
  interface SeatMemberParams {
@@ -3057,8 +3059,9 @@ interface SeatMemberParams {
3057
3059
  }
3058
3060
  /**
3059
3061
  * Seat a member on a chat: one `has_member` edge from the chat to the member
3060
- * item, the role in the edge context. Seat an invited member right after
3061
- * `inviteMember`; the seat shows on the roster as pending and opens on accept.
3062
+ * item, the role in the edge context. The member must already be active;
3063
+ * pending membership does not grant an audience seat. Email invitations
3064
+ * seat their recipient atomically when acceptInvitation succeeds.
3062
3065
  */
3063
3066
  declare function seatMember(params: SeatMemberParams): Promise<{
3064
3067
  success: true;
@@ -3165,6 +3168,66 @@ declare function useAnswerInput(): _tanstack_react_query.UseMutationResult<{
3165
3168
  success: true;
3166
3169
  }, Error, AnswerInputParams, unknown>;
3167
3170
 
3171
+ interface CreateInvitationParams {
3172
+ /** Retain this UUID across retries of the same request. */
3173
+ request_id: string;
3174
+ email: string;
3175
+ /** Account, Space, channel, or thread-root message UUID. */
3176
+ target_id: string;
3177
+ role: MemberRole;
3178
+ /** Prerequisite standing; defaults to viewer for a non-account destination. */
3179
+ account_role?: MemberRole;
3180
+ space_role?: MemberRole;
3181
+ message?: string;
3182
+ _scope_path?: string;
3183
+ }
3184
+ interface InvitationReceipt {
3185
+ success: true;
3186
+ invitation_id: string;
3187
+ state: 'pending' | 'accepted' | 'declined' | 'cancelled' | 'expired';
3188
+ email: string;
3189
+ inviter_name?: string | null;
3190
+ account_id: string;
3191
+ account_name: string;
3192
+ account_path: string;
3193
+ space_id: string | null;
3194
+ target_id: string;
3195
+ target_name: string;
3196
+ target_kind: 'account' | 'space' | 'channel' | 'thread';
3197
+ target_path: string;
3198
+ role: MemberRole;
3199
+ account_role: MemberRole;
3200
+ space_role: MemberRole | null;
3201
+ can_accept: boolean;
3202
+ expires_at: string;
3203
+ message: string | null;
3204
+ delivery: {
3205
+ state: 'queued' | 'accepted' | 'failed' | 'unknown' | 'unknown_final';
3206
+ attempt_id: string;
3207
+ error?: string | null;
3208
+ };
3209
+ result: {
3210
+ member_id: string;
3211
+ space_member_id: string | null;
3212
+ principal_id: string;
3213
+ target_id: string;
3214
+ } | null;
3215
+ }
3216
+ declare const createInvitation: (params: CreateInvitationParams) => Promise<InvitationReceipt>;
3217
+ declare const getInvitation: (invitationId: string) => Promise<InvitationReceipt>;
3218
+ declare const acceptInvitation: (invitationId: string) => Promise<InvitationReceipt>;
3219
+ type InvitationChangeReceipt = Pick<InvitationReceipt, 'success' | 'invitation_id' | 'state'> & Partial<Pick<InvitationReceipt, 'delivery'>>;
3220
+ declare const rejectInvitation: (invitationId: string) => Promise<InvitationChangeReceipt>;
3221
+ declare const cancelInvitation: (invitationId: string) => Promise<InvitationChangeReceipt>;
3222
+ declare const resendInvitation: (invitationId: string, requestId: string) => Promise<InvitationChangeReceipt>;
3223
+ type InvitationSummary = Pick<InvitationReceipt, 'invitation_id' | 'email' | 'target_name' | 'target_kind' | 'role' | 'state' | 'delivery'>;
3224
+ interface InvitationPage {
3225
+ success: true;
3226
+ invitations: InvitationSummary[];
3227
+ next_after: string | null;
3228
+ }
3229
+ declare const listInvitations: (accountId: string, after?: string) => Promise<InvitationPage>;
3230
+
3168
3231
  /**
3169
3232
  * @fsaos/gateway — Schema Interpretation Utilities
3170
3233
  *
@@ -3788,4 +3851,4 @@ declare function usePersonalSections(contextId: string | null, collection: Secti
3788
3851
  contextKey: string;
3789
3852
  };
3790
3853
 
3791
- export { type AcceptInviteParams, type AcceptInviteResult, type AccountInfo, type AnswerInputParams, type ArtifactDeltaEvent, type ArtifactDoneEvent, type ArtifactEvent, type ArtifactOpenedEvent, type ArtifactState, type ArtifactStatus, type ArtifactStreamState, type ArtifactSurfaceType, CHANNEL_AI_MODES, type CancelQueuedTurnOptions, type CancelQueuedTurnResponse, type CancelQueuedTurnState, type CancelTurnOptions, type CancelTurnResponse, type CancelTurnState, type Channel, type ChannelAiMode, type ChannelCard, type ChannelMessage, type ChannelMessagesOptions, type ChannelMessagesPage, type ChannelMessagesResponse, type ChannelsOptions, type ComponentOpener, ComponentRenderer, type ConnectionState, type CreateAgentParams, type CreateAgentResult, type CreateParams, type DeleteParams, EnforcementDeniedError, type EnforcementPayload, type FieldDescriptor, type FileRef, FormSubmissionError, type FormSubmissionReceipt, type FsaosRuntime, type GatewayParams, GatewayRequestError, type GatewayRequestOptions, type GatewayResponse, HostSessionUnavailableError, type HostSessionWelcome, type IncrementalItemsOptions, type InfiniteChannelMessagesOptions, type InfiniteItemsOptions, type InitializeFsaosOptions, type InteractionReceipt, InteractionTrackingError, type InviteMemberParams, type InviteMemberResult, type ItemVersionsOptions, type ItemVersionsResult, type ItemsDiscovery, type ItemsFilter, type ItemsFilterGroup, KernelProvider, type LinkParams, type LoadMountsOptions, type MemberRole, type MintedAsset, type MintedAssetState, type MountRef, type MoveParams, type Notification, type NotificationsOptions, type OpenEnvelope, type OpenOptions, type PathSubscriptionState, type PersonalItemOrderKey, type PersonalSection, type PinTarget, type PinnedItem, type PrincipalData, type PublicSourceConfig, type PublishedBundle, type PublishedComponentSource, type PublishedComponentStatus, type ReadPriority, type ReadTiming, type ResolveItemsResponse, type ResolveParams, type ResolveResponse, type ResolveResultItem, type ResolvedItem, type SeatMemberParams, type SectionChange, type SectionCollection, type SectionDestination, type SectionSnapshot, type SectionTarget, type ServeHostSessionOptions, type SessionEntry, type SourceCaptureAdapter, type SourceIdentityStorage, type StartTrackingOptions, type SteerTurnOptions, type SteerTurnResponse, type SteerTurnState, type SubmitFormOptions, type SwitcherAccount, type TimelineEvent, type TimelineHistoryEvent, type TimelineHistoryOptions, type TrackEventOptions, type TurnQueueEntry, type TurnQueueEntryState, type TypeDefinition, type TypeHelpers, type TypeSchema, type UnreadCountsOptions, type UpdateParams, type UpdatePrincipalParams, type UploadItem, type UploadOptions, type UploadResult, type UseArtifactStreamReturn, type UseFileUploadReturn, type UseTimelineHistoryReturn, type VFSEdge, type VFSItem, type VfsItemChange, type WorkCorrelation, type WorkspaceOptions, type WorkspaceSession, acceptInvite, answerInput, assignPersonalSection, auth, awaitAnchorReady, awaitScopeReady, callTool, cancelQueuedTurn, cancelTurn, clearCachedToken, clearSession, configureGatewayReads, connectHostSession, createAgent, createItem, disconnectSSE, disposeVfsRealtimeWs, electHomeAnchor, emitEvent, fetchChannelMessages, fetchChannelMessagesPage, fetchChannelMessagesWithCards, fetchEdgesForItem, fetchItemHistory, fetchItemVersions, fetchItems, fetchMemberFocus, fetchOpenEnvelope, fetchRecentActivity, fetchResolvedItems, fetchTimelineHistory, fetchTurnQueueEntries, fetchTypeDefinitions, fetchVfsChildren, fetchVfsChildrenPage, fetchVfsItem, fetchVfsItemById, fetchVfsTree, gatewayCall, getAccessToken, getAnchor, getAnchorRef, getAnchorVersion, getAssetUrl, getDefaultSort, getHomeAnchor, getMountVersion, getMounts, getPathSubscriptionState, getQueryClient, getRequiredFormFields, getScope, getScopeVersion, getServerClockOffsetMs, getServerClockSyncedAt, getSessionEntry, hasServerClock, initSession, initVfsRealtimeWs, initializeFsaos, initializeWorkspace, interpretSchema, invalidateAllVfs, invalidateChannelMessages, invalidateChildren, invalidateItem, invalidateOpenEnvelope, invalidatePathAndParent, invalidateSubtree, invalidateTypes, inviteMember, isAnchorReady, isChannelPath, isListableItemsFilter, isScopeReady, itemsFilterFromQueryFilter, listChildren, loadMounts, loadPublishedBundle, mount, mountRealtimeScope, normalizeItem, onConnectionStateChange, pathSubscriptionMatches, personalSectionsKey, ping, pushChanges, queryClient, readItem, refreshQuery, registerCleanup, replaceMounts, resetAllSdkState, resolvePrincipalId, resubscribePath, seatMember, selectMount, serveHostSession, serverDeadlinePassed, serverMsUntil, serverNow, setAnchor, setCachedToken, setQueryClient, setScope, setupRequireShim, signal, startTracking, steerTurn, submitForm, subscribeAnchor, subscribeArtifactStream, subscribeMounts, subscribeScope, subscribeToEvents, subscribeToPath, subscribeToScope, trackAction, trackEvent, trackPageView, unmountRealtimeScope, updateItem, uploadFile, useAcceptInvite, useAccounts, useAgentTimeline, useAllChannels, useAnswerInput, useArrangement, useArtifactStream, useAsset, useAuth, useChannelMessages, useChannels, useChildren, useComponent, useCreate, useCreateAgent, useDelete, useDmChannels, useEdges, useEventStream, useFileUpload, useIncrementalItems, useInfiniteChannelMessages, useInfiniteChildren, useInfiniteItems, useInviteMember, useItem, useItemById, useItemHistory, useItemVersions, useItems, useLink, useList, useMemberFocus, useMintedAsset, useMounts, useMove, useMutation, useNotifications, useOpen, usePermission, usePermissions, usePersonalItemOrder, usePersonalSections, usePinnedItems, usePrincipal, usePublishedComponent, useRealtimeQuery, useRecentActivity, useResolve, useResolvedItems, useScope, useScopeReady, useSearch, useSeatMember, useTheme, useTimelineHistory, useTree, useType, useTypeHelpers, useTypes, useUnreadCounts, useUpdate, useUpdatePrincipal, vfsKeys, waitForPathReady };
3854
+ export { type AcceptInviteParams, type AcceptInviteResult, type AccountInfo, type AnswerInputParams, type ArtifactDeltaEvent, type ArtifactDoneEvent, type ArtifactEvent, type ArtifactOpenedEvent, type ArtifactState, type ArtifactStatus, type ArtifactStreamState, type ArtifactSurfaceType, CHANNEL_AI_MODES, type CancelQueuedTurnOptions, type CancelQueuedTurnResponse, type CancelQueuedTurnState, type CancelTurnOptions, type CancelTurnResponse, type CancelTurnState, type Channel, type ChannelAiMode, type ChannelCard, type ChannelMessage, type ChannelMessagesOptions, type ChannelMessagesPage, type ChannelMessagesResponse, type ChannelsOptions, type ComponentOpener, ComponentRenderer, type ConnectionState, type CreateAgentParams, type CreateAgentResult, type CreateInvitationParams, type CreateParams, type DeleteParams, EnforcementDeniedError, type EnforcementPayload, type FieldDescriptor, type FileRef, FormSubmissionError, type FormSubmissionReceipt, type FsaosRuntime, type GatewayParams, GatewayRequestError, type GatewayRequestOptions, type GatewayResponse, HostSessionUnavailableError, type HostSessionWelcome, type IncrementalItemsOptions, type InfiniteChannelMessagesOptions, type InfiniteItemsOptions, type InitializeFsaosOptions, type InteractionReceipt, InteractionTrackingError, type InvitationChangeReceipt, type InvitationPage, type InvitationReceipt, type InvitationSummary, type InviteMemberParams, type InviteMemberResult, type ItemVersionsOptions, type ItemVersionsResult, type ItemsDiscovery, type ItemsFilter, type ItemsFilterGroup, KernelProvider, type LinkParams, type LoadMountsOptions, type MemberRole, type MintedAsset, type MintedAssetState, type MountRef, type MoveParams, type Notification, type NotificationsOptions, type OpenEnvelope, type OpenOptions, type PathSubscriptionState, type PersonalItemOrderKey, type PersonalSection, type PinTarget, type PinnedItem, type PrincipalData, type PublicSourceConfig, type PublishedBundle, type PublishedComponentSource, type PublishedComponentStatus, type ReadPriority, type ReadTiming, type ResolveItemsResponse, type ResolveParams, type ResolveResponse, type ResolveResultItem, type ResolvedItem, type SeatMemberParams, type SectionChange, type SectionCollection, type SectionDestination, type SectionSnapshot, type SectionTarget, type ServeHostSessionOptions, type SessionEntry, type SourceCaptureAdapter, type SourceIdentityStorage, type StartTrackingOptions, type SteerTurnOptions, type SteerTurnResponse, type SteerTurnState, type SubmitFormOptions, type SwitcherAccount, type TimelineEvent, type TimelineHistoryEvent, type TimelineHistoryOptions, type TrackEventOptions, type TurnQueueEntry, type TurnQueueEntryState, type TypeDefinition, type TypeHelpers, type TypeSchema, type UnreadCountsOptions, type UpdateParams, type UpdatePrincipalParams, type UploadItem, type UploadOptions, type UploadResult, type UseArtifactStreamReturn, type UseFileUploadReturn, type UseTimelineHistoryReturn, type VFSEdge, type VFSItem, type VfsItemChange, type WorkCorrelation, type WorkspaceOptions, type WorkspaceSession, acceptInvitation, acceptInvite, answerInput, assignPersonalSection, auth, awaitAnchorReady, awaitScopeReady, callTool, cancelInvitation, cancelQueuedTurn, cancelTurn, clearCachedToken, clearSession, configureGatewayReads, connectHostSession, createAgent, createInvitation, createItem, disconnectSSE, disposeVfsRealtimeWs, electHomeAnchor, emitEvent, fetchChannelMessages, fetchChannelMessagesPage, fetchChannelMessagesWithCards, fetchEdgesForItem, fetchItemHistory, fetchItemVersions, fetchItems, fetchMemberFocus, fetchOpenEnvelope, fetchRecentActivity, fetchResolvedItems, fetchTimelineHistory, fetchTurnQueueEntries, fetchTypeDefinitions, fetchVfsChildren, fetchVfsChildrenPage, fetchVfsItem, fetchVfsItemById, fetchVfsTree, gatewayCall, getAccessToken, getAnchor, getAnchorRef, getAnchorVersion, getAssetUrl, getDefaultSort, getHomeAnchor, getInvitation, getMountVersion, getMounts, getPathSubscriptionState, getQueryClient, getRequiredFormFields, getScope, getScopeVersion, getServerClockOffsetMs, getServerClockSyncedAt, getSessionEntry, hasServerClock, initSession, initVfsRealtimeWs, initializeFsaos, initializeWorkspace, interpretSchema, invalidateAllVfs, invalidateChannelMessages, invalidateChildren, invalidateItem, invalidateOpenEnvelope, invalidatePathAndParent, invalidateSubtree, invalidateTypes, inviteMember, isAnchorReady, isChannelPath, isListableItemsFilter, isScopeReady, itemsFilterFromQueryFilter, listChildren, listInvitations, loadMounts, loadPublishedBundle, mount, mountRealtimeScope, normalizeItem, onConnectionStateChange, pathSubscriptionMatches, personalSectionsKey, ping, pushChanges, queryClient, readItem, refreshQuery, registerCleanup, rejectInvitation, replaceMounts, resendInvitation, resetAllSdkState, resolvePrincipalId, resubscribePath, seatMember, selectMount, serveHostSession, serverDeadlinePassed, serverMsUntil, serverNow, setAnchor, setCachedToken, setQueryClient, setScope, setupRequireShim, signal, startTracking, steerTurn, submitForm, subscribeAnchor, subscribeArtifactStream, subscribeMounts, subscribeScope, subscribeToEvents, subscribeToPath, subscribeToScope, trackAction, trackEvent, trackPageView, unmountRealtimeScope, updateItem, uploadFile, useAcceptInvite, useAccounts, useAgentTimeline, useAllChannels, useAnswerInput, useArrangement, useArtifactStream, useAsset, useAuth, useChannelMessages, useChannels, useChildren, useComponent, useCreate, useCreateAgent, useDelete, useDmChannels, useEdges, useEventStream, useFileUpload, useIncrementalItems, useInfiniteChannelMessages, useInfiniteChildren, useInfiniteItems, useInviteMember, useItem, useItemById, useItemHistory, useItemVersions, useItems, useLink, useList, useMemberFocus, useMintedAsset, useMounts, useMove, useMutation, useNotifications, useOpen, usePermission, usePermissions, usePersonalItemOrder, usePersonalSections, usePinnedItems, usePrincipal, usePublishedComponent, useRealtimeQuery, useRecentActivity, useResolve, useResolvedItems, useScope, useScopeReady, useSearch, useSeatMember, useTheme, useTimelineHistory, useTree, useType, useTypeHelpers, useTypes, useUnreadCounts, useUpdate, useUpdatePrincipal, vfsKeys, waitForPathReady };
package/dist/index.js CHANGED
@@ -24,6 +24,7 @@ __export(src_exports, {
24
24
  InteractionTrackingError: () => InteractionTrackingError,
25
25
  KernelProvider: () => KernelProvider,
26
26
  QueryClientProvider: () => QueryClientProvider,
27
+ acceptInvitation: () => acceptInvitation,
27
28
  acceptInvite: () => acceptInvite,
28
29
  answerInput: () => answerInput,
29
30
  assignPersonalSection: () => assignPersonalSection,
@@ -31,6 +32,7 @@ __export(src_exports, {
31
32
  awaitAnchorReady: () => awaitAnchorReady,
32
33
  awaitScopeReady: () => awaitScopeReady,
33
34
  callTool: () => callTool,
35
+ cancelInvitation: () => cancelInvitation,
34
36
  cancelQueuedTurn: () => cancelQueuedTurn,
35
37
  cancelTurn: () => cancelTurn,
36
38
  clearCachedToken: () => clearCachedToken,
@@ -38,6 +40,7 @@ __export(src_exports, {
38
40
  configureGatewayReads: () => configureGatewayReads,
39
41
  connectHostSession: () => connectHostSession,
40
42
  createAgent: () => createAgent,
43
+ createInvitation: () => createInvitation,
41
44
  createItem: () => createItem,
42
45
  disconnectSSE: () => disconnectSSE,
43
46
  disposeVfsRealtimeWs: () => disposeVfsRealtimeWs,
@@ -70,6 +73,7 @@ __export(src_exports, {
70
73
  getAssetUrl: () => getAssetUrl,
71
74
  getDefaultSort: () => getDefaultSort,
72
75
  getHomeAnchor: () => getHomeAnchor,
76
+ getInvitation: () => getInvitation,
73
77
  getMountVersion: () => getMountVersion,
74
78
  getMounts: () => getMounts,
75
79
  getPathSubscriptionState: () => getPathSubscriptionState,
@@ -101,6 +105,7 @@ __export(src_exports, {
101
105
  isScopeReady: () => isScopeReady,
102
106
  itemsFilterFromQueryFilter: () => itemsFilterFromQueryFilter,
103
107
  listChildren: () => listChildren,
108
+ listInvitations: () => listInvitations,
104
109
  loadMounts: () => loadMounts,
105
110
  loadPublishedBundle: () => loadPublishedBundle,
106
111
  mount: () => mount2,
@@ -115,7 +120,9 @@ __export(src_exports, {
115
120
  readItem: () => readItem,
116
121
  refreshQuery: () => refreshQuery,
117
122
  registerCleanup: () => registerCleanup,
123
+ rejectInvitation: () => rejectInvitation,
118
124
  replaceMounts: () => replaceMounts,
125
+ resendInvitation: () => resendInvitation,
119
126
  resetAllSdkState: () => resetAllSdkState,
120
127
  resolvePrincipalId: () => resolvePrincipalId,
121
128
  resubscribePath: () => resubscribePath,
@@ -2383,6 +2390,7 @@ async function fetchMemberships() {
2383
2390
  isOwner: m.is_owner ?? void 0,
2384
2391
  billingResponsible: m.billing_responsible ?? void 0,
2385
2392
  grantedVia: m.granted_via ?? null,
2393
+ invitationAccepted: m.invitation_accepted === true,
2386
2394
  grantedUnderAccountId: m.granted_under_account_id ?? null,
2387
2395
  membershipPath: m.membership_path ?? null,
2388
2396
  personalSpaceId: m.personal_space_id ?? null,
@@ -6062,6 +6070,15 @@ function setupRequireShim() {
6062
6070
  };
6063
6071
  window.__FSAOS_MOUNT__ = gateway.mount;
6064
6072
  }
6073
+
6074
+ // src/invitations.ts
6075
+ var createInvitation = (params) => gatewayCall("create-invitation", { ...params });
6076
+ var getInvitation = (invitationId) => gatewayCall("get-invitation", { invitation_id: invitationId });
6077
+ var acceptInvitation = (invitationId) => gatewayCall("accept-invite", { invitation_id: invitationId });
6078
+ var rejectInvitation = (invitationId) => gatewayCall("reject-invite", { invitation_id: invitationId });
6079
+ var cancelInvitation = (invitationId) => gatewayCall("cancel-invite", { invitation_id: invitationId });
6080
+ var resendInvitation = (invitationId, requestId) => gatewayCall("resend-invite", { invitation_id: invitationId, request_id: requestId });
6081
+ var listInvitations = (accountId, after) => gatewayCall("list-invitations", { account_id: accountId, ...after ? { after } : {} });
6065
6082
  function inviteMember(params) {
6066
6083
  return gatewayCall("invite-member", params);
6067
6084
  }
@@ -6944,6 +6961,6 @@ function usePersonalSections(contextId, collection) {
6944
6961
  // src/index.ts
6945
6962
  __registerSdkExports(src_exports);
6946
6963
 
6947
- export { CHANNEL_AI_MODES, ComponentRenderer, EnforcementDeniedError, FormSubmissionError, GatewayRequestError, HostSessionUnavailableError, InteractionTrackingError, KernelProvider, acceptInvite, answerInput, assignPersonalSection, auth, awaitAnchorReady, awaitScopeReady, callTool, cancelQueuedTurn, cancelTurn, clearCachedToken, clearSession, configureGatewayReads, connectHostSession, createAgent, createItem, disconnectSSE, disposeVfsRealtimeWs, electHomeAnchor, emitEvent, fetchChannelMessages, fetchChannelMessagesPage, fetchChannelMessagesWithCards, fetchEdgesForItem, fetchItemHistory, fetchItemVersions, fetchItems, fetchMemberFocus, fetchOpenEnvelope, fetchRecentActivity, fetchResolvedItems, fetchTimelineHistory, fetchTurnQueueEntries, fetchTypeDefinitions, fetchVfsChildren, fetchVfsChildrenPage, fetchVfsItem, fetchVfsItemById, fetchVfsTree, gatewayCall, getAccessToken, getAnchor, getAnchorRef, getAnchorVersion, getAssetUrl, getDefaultSort, getHomeAnchor, getMountVersion, getMounts, getPathSubscriptionState, getQueryClient, getRequiredFormFields, getScope, getScopeVersion, getServerClockOffsetMs, getServerClockSyncedAt, getSessionEntry, hasServerClock, initSession, initVfsRealtimeWs, initializeFsaos, initializeWorkspace, interpretSchema, invalidateAllVfs, invalidateChannelMessages, invalidateChildren, invalidateItem, invalidateOpenEnvelope, invalidatePathAndParent, invalidateSubtree, invalidateTypes, inviteMember, isAnchorReady, isChannelPath, isListableItemsFilter, isScopeReady, itemsFilterFromQueryFilter, listChildren, loadMounts, loadPublishedBundle, mount2 as mount, mountRealtimeScope, normalizeItem, onConnectionStateChange, pathSubscriptionMatches, personalSectionsKey, ping, pushChanges, queryClient, readItem, refreshQuery, registerCleanup, replaceMounts, resetAllSdkState, resolvePrincipalId, resubscribePath, seatMember, selectMount, serveHostSession, serverDeadlinePassed, serverMsUntil, serverNow, setAnchor, setCachedToken, setQueryClient, setScope, setupRequireShim, signal, startTracking, steerTurn, submitForm, subscribeAnchor, subscribeArtifactStream, subscribeMounts, subscribeScope, subscribeToEvents, subscribeToPath, subscribeToScope, trackAction, trackEvent, trackPageView, unmountRealtimeScope, updateItem, uploadFile, useAcceptInvite, useAccounts, useAgentTimeline, useAllChannels, useAnswerInput, useArrangement, useArtifactStream, useAsset, useAuth, useChannelMessages, useChannels, useChildren, useComponent, useCreate, useCreateAgent, useDelete, useDmChannels, useEdges, useEventStream, useFileUpload, useIncrementalItems, useInfiniteChannelMessages, useInfiniteChildren, useInfiniteItems, useInviteMember, useItem, useItemById, useItemHistory, useItemVersions, useItems, useLink, useList, useMemberFocus, useMintedAsset, useMounts, useMove, useMutation, useNotifications, useOpen, usePermission, usePermissions, usePersonalItemOrder, usePersonalSections, usePinnedItems, usePrincipal, usePublishedComponent, useRealtimeQuery, useRecentActivity, useResolve, useResolvedItems, useScope, useScopeReady, useSearch, useSeatMember, useTheme, useTimelineHistory, useTree, useType, useTypeHelpers, useTypes, useUnreadCounts, useUpdate, useUpdatePrincipal, vfsKeys, waitForPathReady };
6964
+ export { CHANNEL_AI_MODES, ComponentRenderer, EnforcementDeniedError, FormSubmissionError, GatewayRequestError, HostSessionUnavailableError, InteractionTrackingError, KernelProvider, acceptInvitation, acceptInvite, answerInput, assignPersonalSection, auth, awaitAnchorReady, awaitScopeReady, callTool, cancelInvitation, cancelQueuedTurn, cancelTurn, clearCachedToken, clearSession, configureGatewayReads, connectHostSession, createAgent, createInvitation, createItem, disconnectSSE, disposeVfsRealtimeWs, electHomeAnchor, emitEvent, fetchChannelMessages, fetchChannelMessagesPage, fetchChannelMessagesWithCards, fetchEdgesForItem, fetchItemHistory, fetchItemVersions, fetchItems, fetchMemberFocus, fetchOpenEnvelope, fetchRecentActivity, fetchResolvedItems, fetchTimelineHistory, fetchTurnQueueEntries, fetchTypeDefinitions, fetchVfsChildren, fetchVfsChildrenPage, fetchVfsItem, fetchVfsItemById, fetchVfsTree, gatewayCall, getAccessToken, getAnchor, getAnchorRef, getAnchorVersion, getAssetUrl, getDefaultSort, getHomeAnchor, getInvitation, getMountVersion, getMounts, getPathSubscriptionState, getQueryClient, getRequiredFormFields, getScope, getScopeVersion, getServerClockOffsetMs, getServerClockSyncedAt, getSessionEntry, hasServerClock, initSession, initVfsRealtimeWs, initializeFsaos, initializeWorkspace, interpretSchema, invalidateAllVfs, invalidateChannelMessages, invalidateChildren, invalidateItem, invalidateOpenEnvelope, invalidatePathAndParent, invalidateSubtree, invalidateTypes, inviteMember, isAnchorReady, isChannelPath, isListableItemsFilter, isScopeReady, itemsFilterFromQueryFilter, listChildren, listInvitations, loadMounts, loadPublishedBundle, mount2 as mount, mountRealtimeScope, normalizeItem, onConnectionStateChange, pathSubscriptionMatches, personalSectionsKey, ping, pushChanges, queryClient, readItem, refreshQuery, registerCleanup, rejectInvitation, replaceMounts, resendInvitation, resetAllSdkState, resolvePrincipalId, resubscribePath, seatMember, selectMount, serveHostSession, serverDeadlinePassed, serverMsUntil, serverNow, setAnchor, setCachedToken, setQueryClient, setScope, setupRequireShim, signal, startTracking, steerTurn, submitForm, subscribeAnchor, subscribeArtifactStream, subscribeMounts, subscribeScope, subscribeToEvents, subscribeToPath, subscribeToScope, trackAction, trackEvent, trackPageView, unmountRealtimeScope, updateItem, uploadFile, useAcceptInvite, useAccounts, useAgentTimeline, useAllChannels, useAnswerInput, useArrangement, useArtifactStream, useAsset, useAuth, useChannelMessages, useChannels, useChildren, useComponent, useCreate, useCreateAgent, useDelete, useDmChannels, useEdges, useEventStream, useFileUpload, useIncrementalItems, useInfiniteChannelMessages, useInfiniteChildren, useInfiniteItems, useInviteMember, useItem, useItemById, useItemHistory, useItemVersions, useItems, useLink, useList, useMemberFocus, useMintedAsset, useMounts, useMove, useMutation, useNotifications, useOpen, usePermission, usePermissions, usePersonalItemOrder, usePersonalSections, usePinnedItems, usePrincipal, usePublishedComponent, useRealtimeQuery, useRecentActivity, useResolve, useResolvedItems, useScope, useScopeReady, useSearch, useSeatMember, useTheme, useTimelineHistory, useTree, useType, useTypeHelpers, useTypes, useUnreadCounts, useUpdate, useUpdatePrincipal, vfsKeys, waitForPathReady };
6948
6965
  //# sourceMappingURL=index.js.map
6949
6966
  //# sourceMappingURL=index.js.map