@arbidocs/react 0.4.129 → 0.4.131
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/artifacts/index.cjs +6 -6
- package/dist/artifacts/index.js +1 -1
- package/dist/{chunk-AFGE55RQ.cjs → chunk-UN3AZUXX.cjs} +2 -11
- package/dist/chunk-UN3AZUXX.cjs.map +1 -0
- package/dist/{chunk-5WXNTCI3.js → chunk-XV7EOUQM.js} +3 -11
- package/dist/chunk-XV7EOUQM.js.map +1 -0
- package/dist/index.cjs +243 -163
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +124 -74
- package/dist/index.d.ts +124 -74
- package/dist/index.js +132 -52
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-5WXNTCI3.js.map +0 -1
- package/dist/chunk-AFGE55RQ.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
|
|
|
4
4
|
import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } from '@arbidocs/sdk/browser';
|
|
5
5
|
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, formatGbp, formatGbpPerMillionTokens, usdToGbp } from '@arbidocs/sdk/browser';
|
|
6
6
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
7
|
-
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage,
|
|
7
|
+
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
|
|
8
8
|
export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
|
|
9
9
|
import * as zustand from 'zustand';
|
|
10
10
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
@@ -1208,19 +1208,6 @@ declare function useAgents(options?: {
|
|
|
1208
1208
|
declare function useDeleteAgents(): _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
1209
1209
|
agentExtIds: string[];
|
|
1210
1210
|
}, unknown>;
|
|
1211
|
-
/** List active sessions. */
|
|
1212
|
-
declare function useSessions(options?: {
|
|
1213
|
-
enabled?: boolean;
|
|
1214
|
-
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
1215
|
-
session_id: string;
|
|
1216
|
-
external_id?: string | null;
|
|
1217
|
-
name?: string | null;
|
|
1218
|
-
ip_address?: string | null;
|
|
1219
|
-
active_workspace?: string | null;
|
|
1220
|
-
workspaces: string[];
|
|
1221
|
-
status: string;
|
|
1222
|
-
ttl: number;
|
|
1223
|
-
}[]>, Error>;
|
|
1224
1211
|
/** Authorize a delegated session (generates claim code). Returns a mutation. */
|
|
1225
1212
|
/** Check backend health. */
|
|
1226
1213
|
declare function useHealth(options?: {
|
|
@@ -3601,10 +3588,7 @@ declare function useAvatarCrop({ upload, onProblem, maxBytes, }: UseAvatarCropOp
|
|
|
3601
3588
|
/** Send the 3-word verification code to the new address (not for SSO accounts). */
|
|
3602
3589
|
declare function useRequestEmailChange(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
3603
3590
|
/** Confirm the new address with the emailed code; the profile query shows the new email. */
|
|
3604
|
-
declare function useConfirmEmailChange(): _tanstack_react_query.UseMutationResult<{
|
|
3605
|
-
detail: string;
|
|
3606
|
-
email: string;
|
|
3607
|
-
}, Error, {
|
|
3591
|
+
declare function useConfirmEmailChange(): _tanstack_react_query.UseMutationResult<void, Error, {
|
|
3608
3592
|
newEmail: string;
|
|
3609
3593
|
code: string;
|
|
3610
3594
|
}, unknown>;
|
|
@@ -3654,7 +3638,7 @@ interface PasswordChangeVars {
|
|
|
3654
3638
|
/** Omit in recovery mode (after signing in with a recovery key). */
|
|
3655
3639
|
currentPassword?: string;
|
|
3656
3640
|
}
|
|
3657
|
-
/** Change (or, in recovery mode, set) the master password
|
|
3641
|
+
/** Change (or, in recovery mode, set) the master password through the account client in scope. */
|
|
3658
3642
|
declare function usePasswordChange(): _tanstack_react_query.UseMutationResult<void, Error, PasswordChangeVars, unknown>;
|
|
3659
3643
|
interface PasswordChangeFormMessages {
|
|
3660
3644
|
required: string;
|
|
@@ -3852,13 +3836,126 @@ declare function useFollowThread(conversationId: string | null | undefined, opti
|
|
|
3852
3836
|
};
|
|
3853
3837
|
|
|
3854
3838
|
/**
|
|
3855
|
-
*
|
|
3856
|
-
*
|
|
3839
|
+
* Identity verification: the optional, paid ID check behind the verified tick (Pro plans only).
|
|
3840
|
+
*
|
|
3841
|
+
* Two layers, like `profile.ts`. `useIdentityVerificationFlow` owns the dialog's state and takes
|
|
3842
|
+
* the backend calls as functions, so an app with its own API layer (ARBI-frontend) binds the same
|
|
3843
|
+
* `IdentityVerificationCard` / `IdentityVerificationDialog` blocks without a provider.
|
|
3844
|
+
* `useIdentityVerification` binds it to the SDK (`arbi.identity`).
|
|
3845
|
+
*
|
|
3846
|
+
* Steps: pay the one-time fee (charged to the user's Pro project card) → verify inside Didit's
|
|
3847
|
+
* embedded frame → result (verified, declined, in review, or the name on the document differs from
|
|
3848
|
+
* the account name, offered as the new name). No webhooks: completing Didit's flow calls `refresh`.
|
|
3849
|
+
*/
|
|
3850
|
+
|
|
3851
|
+
/** The backend calls of the flow, as functions (see the module comment). */
|
|
3852
|
+
interface IdentityVerificationApi {
|
|
3853
|
+
status: () => Promise<IdentityStatus>;
|
|
3854
|
+
purchase: () => Promise<IdentityPurchase>;
|
|
3855
|
+
/** The Didit session URL. */
|
|
3856
|
+
startSession: () => Promise<string>;
|
|
3857
|
+
refresh: () => Promise<IdentityStatus>;
|
|
3858
|
+
acceptName: () => Promise<IdentityStatus>;
|
|
3859
|
+
remove: () => Promise<IdentityStatus>;
|
|
3860
|
+
}
|
|
3861
|
+
interface UseIdentityVerificationFlowOptions {
|
|
3862
|
+
/** Load the status (default true; e.g. false while signed out). */
|
|
3863
|
+
enabled?: boolean;
|
|
3864
|
+
/** The tick changed (granted, renamed away, removed): update the host's copy of the user. */
|
|
3865
|
+
onVerifiedChange?: (verified: boolean) => void;
|
|
3866
|
+
/** The account name became the name on the document. */
|
|
3867
|
+
onNameAccepted?: (name: {
|
|
3868
|
+
givenName: string;
|
|
3869
|
+
familyName: string | null;
|
|
3870
|
+
}) => void;
|
|
3871
|
+
/** The host's price format (e.g. its billing helpers); default `formatIdentityPrice`. */
|
|
3872
|
+
formatPrice?: (status: IdentityStatus) => string;
|
|
3873
|
+
}
|
|
3874
|
+
/** Which step the dialog opens on for a status. */
|
|
3875
|
+
declare function identityStepFor(status: IdentityStatus | undefined): IdentityStep;
|
|
3876
|
+
/** "£5.00 incl. VAT": the fee is quoted including UK VAT. */
|
|
3877
|
+
declare function formatIdentityPrice(status: IdentityStatus): string;
|
|
3878
|
+
/** The identity verification dialog's state, bound to the backend calls in `api`. */
|
|
3879
|
+
declare function useIdentityVerificationFlow(api: IdentityVerificationApi, { enabled, onVerifiedChange, onNameAccepted, formatPrice, }?: UseIdentityVerificationFlowOptions): IdentityVerificationFlow;
|
|
3880
|
+
/**
|
|
3881
|
+
* The identity verification flow over the account client in scope; the profile query follows the
|
|
3882
|
+
* tick and name.
|
|
3883
|
+
*/
|
|
3884
|
+
declare function useIdentityVerification(options?: Omit<UseIdentityVerificationFlowOptions, 'enabled'>): IdentityVerificationFlow;
|
|
3885
|
+
|
|
3886
|
+
type AccountSession = components['schemas']['SessionInfoResponse'];
|
|
3887
|
+
interface AccountSignOutOptions {
|
|
3888
|
+
/** End every session on the server first, this device's included. */
|
|
3889
|
+
everywhere?: boolean;
|
|
3890
|
+
/** Why: a person's choice, or the account was just closed. */
|
|
3891
|
+
reason?: 'manual' | 'account-deleted';
|
|
3892
|
+
}
|
|
3893
|
+
interface AccountClient {
|
|
3894
|
+
/** The signed-in user's profile; `null` when there is none. */
|
|
3895
|
+
profile(): ProfileView | null;
|
|
3896
|
+
/** Be told when {@link profile} changes. Returns the unsubscribe. */
|
|
3897
|
+
onProfileChange(listener: () => void): () => void;
|
|
3898
|
+
/** Save the name and/or picture; the profile follows. */
|
|
3899
|
+
updateProfile(vars: UpdateProfileVars): Promise<void>;
|
|
3900
|
+
/** Send the verification code to the new address (not for SSO accounts). */
|
|
3901
|
+
requestEmailChange(newEmail: string): Promise<void>;
|
|
3902
|
+
/** Confirm the new address with the emailed code; the profile follows. */
|
|
3903
|
+
confirmEmailChange(newEmail: string, code: string): Promise<void>;
|
|
3904
|
+
/** Change (or, in recovery mode, set) the master password. */
|
|
3905
|
+
changePassword(vars: PasswordChangeVars): Promise<void>;
|
|
3906
|
+
listSessions(): Promise<AccountSession[]>;
|
|
3907
|
+
/** The id this device's session is listed under, or `null`. */
|
|
3908
|
+
currentSessionId(): string | null;
|
|
3909
|
+
/** End one of the user's sessions at once (not this device's: that is {@link signOut}). */
|
|
3910
|
+
terminateSession(sessionId: string): Promise<void>;
|
|
3911
|
+
/** Sign this device out of the host (and, `everywhere`, every other session first). */
|
|
3912
|
+
signOut(options?: AccountSignOutOptions): Promise<void>;
|
|
3913
|
+
/** Close the account. Rejects with the backend's refusal when something blocks it. */
|
|
3914
|
+
requestDeletion(): Promise<unknown>;
|
|
3915
|
+
/** The ID check behind the verified tick. */
|
|
3916
|
+
identity: IdentityVerificationApi;
|
|
3917
|
+
}
|
|
3918
|
+
interface AccountClientContextValue {
|
|
3919
|
+
client: AccountClient;
|
|
3920
|
+
/** Account reads run only while this is true (signed in). */
|
|
3921
|
+
enabled: boolean;
|
|
3922
|
+
}
|
|
3923
|
+
/**
|
|
3924
|
+
* The account client over an `Arbi`. `overrides` replace any of its calls: a host that keeps its
|
|
3925
|
+
* own signed-in state passes `signOut` (and `profile`) so the SDK and the host stay in step.
|
|
3857
3926
|
*/
|
|
3858
|
-
|
|
3927
|
+
declare function arbiAccountClient(arbi: Arbi, overrides?: Partial<AccountClient>): AccountClient;
|
|
3928
|
+
interface AccountClientProviderProps {
|
|
3929
|
+
client: AccountClient;
|
|
3930
|
+
/** Account reads run only while this is true; default true. */
|
|
3931
|
+
enabled?: boolean;
|
|
3932
|
+
children: ReactNode;
|
|
3933
|
+
}
|
|
3934
|
+
/**
|
|
3935
|
+
* The account client for the account hooks and settings blocks below. Without one, they use the
|
|
3936
|
+
* nearest `ArbiProvider`'s session (`arbiAccountClient`).
|
|
3937
|
+
*/
|
|
3938
|
+
declare function AccountClientProvider({ client, enabled, children, }: AccountClientProviderProps): React$1.JSX.Element;
|
|
3939
|
+
/** The account client in scope: an `AccountClientProvider`'s, else the `ArbiProvider` session's. */
|
|
3940
|
+
declare function useAccountClient(): AccountClientContextValue;
|
|
3941
|
+
|
|
3942
|
+
/** The user's active sessions (devices and agents). */
|
|
3943
|
+
declare function useSessions(options?: {
|
|
3944
|
+
enabled?: boolean;
|
|
3945
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
3946
|
+
session_id: string;
|
|
3947
|
+
external_id?: string | null;
|
|
3948
|
+
name?: string | null;
|
|
3949
|
+
ip_address?: string | null;
|
|
3950
|
+
active_workspace?: string | null;
|
|
3951
|
+
workspaces: string[];
|
|
3952
|
+
status: string;
|
|
3953
|
+
ttl: number;
|
|
3954
|
+
}[]>, Error>;
|
|
3955
|
+
/** End one of the user's sessions at once (not this device's: that is a sign-out). */
|
|
3859
3956
|
declare function useTerminateSession(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
3860
|
-
/** Sign out of
|
|
3861
|
-
declare function
|
|
3957
|
+
/** Sign out of this device, or (`everywhere`) of every device, this one included. */
|
|
3958
|
+
declare function useSignOut(): _tanstack_react_query.UseMutationResult<void, Error, AccountSignOutOptions, unknown>;
|
|
3862
3959
|
/** The id this device's session carries in the `useSessions` list, or `null`. */
|
|
3863
3960
|
declare function useCurrentSessionId(): string | null;
|
|
3864
3961
|
|
|
@@ -3876,10 +3973,8 @@ type DeleteAccountBlocker = {
|
|
|
3876
3973
|
};
|
|
3877
3974
|
/** Read the blockers out of a failed deletion; an empty list means it failed for another reason. */
|
|
3878
3975
|
declare function parseDeleteAccountBlockers(error: unknown): DeleteAccountBlocker[];
|
|
3879
|
-
/** Close the account
|
|
3880
|
-
declare function useDeleteAccount(): _tanstack_react_query.UseMutationResult<
|
|
3881
|
-
detail: string;
|
|
3882
|
-
}, Error, void, unknown>;
|
|
3976
|
+
/** Close the account (the account client in scope). The caller signs out afterwards. */
|
|
3977
|
+
declare function useDeleteAccount(): _tanstack_react_query.UseMutationResult<unknown, Error, void, unknown>;
|
|
3883
3978
|
interface UseDeleteAccountFlowOptions {
|
|
3884
3979
|
userEmail: string;
|
|
3885
3980
|
/** Close the account. Reject with the backend's error to surface blockers. */
|
|
@@ -3905,51 +4000,6 @@ interface DeleteAccountFlow {
|
|
|
3905
4000
|
/** Step, typed-email confirmation and blockers of `DeleteAccountDialog`. */
|
|
3906
4001
|
declare function useDeleteAccountFlow({ userEmail, remove, onClose, onDeleted, onError, }: UseDeleteAccountFlowOptions): DeleteAccountFlow;
|
|
3907
4002
|
|
|
3908
|
-
/**
|
|
3909
|
-
* Identity verification: the optional, paid ID check behind the verified tick (Pro plans only).
|
|
3910
|
-
*
|
|
3911
|
-
* Two layers, like `profile.ts`. `useIdentityVerificationFlow` owns the dialog's state and takes
|
|
3912
|
-
* the backend calls as functions, so an app with its own API layer (ARBI-frontend) binds the same
|
|
3913
|
-
* `IdentityVerificationCard` / `IdentityVerificationDialog` blocks without a provider.
|
|
3914
|
-
* `useIdentityVerification` binds it to the SDK (`arbi.identity`).
|
|
3915
|
-
*
|
|
3916
|
-
* Steps: pay the one-time fee (charged to the user's Pro project card) → verify inside Didit's
|
|
3917
|
-
* embedded frame → result (verified, declined, in review, or the name on the document differs from
|
|
3918
|
-
* the account name, offered as the new name). No webhooks: completing Didit's flow calls `refresh`.
|
|
3919
|
-
*/
|
|
3920
|
-
|
|
3921
|
-
/** The backend calls of the flow, as functions (see the module comment). */
|
|
3922
|
-
interface IdentityVerificationApi {
|
|
3923
|
-
status: () => Promise<IdentityStatus>;
|
|
3924
|
-
purchase: () => Promise<IdentityPurchase>;
|
|
3925
|
-
/** The Didit session URL. */
|
|
3926
|
-
startSession: () => Promise<string>;
|
|
3927
|
-
refresh: () => Promise<IdentityStatus>;
|
|
3928
|
-
acceptName: () => Promise<IdentityStatus>;
|
|
3929
|
-
remove: () => Promise<IdentityStatus>;
|
|
3930
|
-
}
|
|
3931
|
-
interface UseIdentityVerificationFlowOptions {
|
|
3932
|
-
/** Load the status (default true; e.g. false while signed out). */
|
|
3933
|
-
enabled?: boolean;
|
|
3934
|
-
/** The tick changed (granted, renamed away, removed): update the host's copy of the user. */
|
|
3935
|
-
onVerifiedChange?: (verified: boolean) => void;
|
|
3936
|
-
/** The account name became the name on the document. */
|
|
3937
|
-
onNameAccepted?: (name: {
|
|
3938
|
-
givenName: string;
|
|
3939
|
-
familyName: string | null;
|
|
3940
|
-
}) => void;
|
|
3941
|
-
/** The host's price format (e.g. its billing helpers); default `formatIdentityPrice`. */
|
|
3942
|
-
formatPrice?: (status: IdentityStatus) => string;
|
|
3943
|
-
}
|
|
3944
|
-
/** Which step the dialog opens on for a status. */
|
|
3945
|
-
declare function identityStepFor(status: IdentityStatus | undefined): IdentityStep;
|
|
3946
|
-
/** "£5.00 incl. VAT": the fee is quoted including UK VAT. */
|
|
3947
|
-
declare function formatIdentityPrice(status: IdentityStatus): string;
|
|
3948
|
-
/** The identity verification dialog's state, bound to the backend calls in `api`. */
|
|
3949
|
-
declare function useIdentityVerificationFlow(api: IdentityVerificationApi, { enabled, onVerifiedChange, onNameAccepted, formatPrice, }?: UseIdentityVerificationFlowOptions): IdentityVerificationFlow;
|
|
3950
|
-
/** The identity verification flow bound to the SDK; the profile query follows the tick and name. */
|
|
3951
|
-
declare function useIdentityVerification(options?: Omit<UseIdentityVerificationFlowOptions, 'enabled'>): IdentityVerificationFlow;
|
|
3952
|
-
|
|
3953
4003
|
/**
|
|
3954
4004
|
* Didit's web SDK, loaded only when a verification starts (like the app loads Stripe), and run
|
|
3955
4005
|
* embedded in a host element. ID capture, liveness and face match all happen inside Didit's frame.
|
|
@@ -6896,4 +6946,4 @@ interface ArbiUiState {
|
|
|
6896
6946
|
}
|
|
6897
6947
|
declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
|
|
6898
6948
|
|
|
6899
|
-
export { AUDIO_MIME_PREFERENCE, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts,
|
|
6949
|
+
export { AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
|
|
|
4
4
|
import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } from '@arbidocs/sdk/browser';
|
|
5
5
|
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, formatGbp, formatGbpPerMillionTokens, usdToGbp } from '@arbidocs/sdk/browser';
|
|
6
6
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
7
|
-
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage,
|
|
7
|
+
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
|
|
8
8
|
export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
|
|
9
9
|
import * as zustand from 'zustand';
|
|
10
10
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
@@ -1208,19 +1208,6 @@ declare function useAgents(options?: {
|
|
|
1208
1208
|
declare function useDeleteAgents(): _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
1209
1209
|
agentExtIds: string[];
|
|
1210
1210
|
}, unknown>;
|
|
1211
|
-
/** List active sessions. */
|
|
1212
|
-
declare function useSessions(options?: {
|
|
1213
|
-
enabled?: boolean;
|
|
1214
|
-
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
1215
|
-
session_id: string;
|
|
1216
|
-
external_id?: string | null;
|
|
1217
|
-
name?: string | null;
|
|
1218
|
-
ip_address?: string | null;
|
|
1219
|
-
active_workspace?: string | null;
|
|
1220
|
-
workspaces: string[];
|
|
1221
|
-
status: string;
|
|
1222
|
-
ttl: number;
|
|
1223
|
-
}[]>, Error>;
|
|
1224
1211
|
/** Authorize a delegated session (generates claim code). Returns a mutation. */
|
|
1225
1212
|
/** Check backend health. */
|
|
1226
1213
|
declare function useHealth(options?: {
|
|
@@ -3601,10 +3588,7 @@ declare function useAvatarCrop({ upload, onProblem, maxBytes, }: UseAvatarCropOp
|
|
|
3601
3588
|
/** Send the 3-word verification code to the new address (not for SSO accounts). */
|
|
3602
3589
|
declare function useRequestEmailChange(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
3603
3590
|
/** Confirm the new address with the emailed code; the profile query shows the new email. */
|
|
3604
|
-
declare function useConfirmEmailChange(): _tanstack_react_query.UseMutationResult<{
|
|
3605
|
-
detail: string;
|
|
3606
|
-
email: string;
|
|
3607
|
-
}, Error, {
|
|
3591
|
+
declare function useConfirmEmailChange(): _tanstack_react_query.UseMutationResult<void, Error, {
|
|
3608
3592
|
newEmail: string;
|
|
3609
3593
|
code: string;
|
|
3610
3594
|
}, unknown>;
|
|
@@ -3654,7 +3638,7 @@ interface PasswordChangeVars {
|
|
|
3654
3638
|
/** Omit in recovery mode (after signing in with a recovery key). */
|
|
3655
3639
|
currentPassword?: string;
|
|
3656
3640
|
}
|
|
3657
|
-
/** Change (or, in recovery mode, set) the master password
|
|
3641
|
+
/** Change (or, in recovery mode, set) the master password through the account client in scope. */
|
|
3658
3642
|
declare function usePasswordChange(): _tanstack_react_query.UseMutationResult<void, Error, PasswordChangeVars, unknown>;
|
|
3659
3643
|
interface PasswordChangeFormMessages {
|
|
3660
3644
|
required: string;
|
|
@@ -3852,13 +3836,126 @@ declare function useFollowThread(conversationId: string | null | undefined, opti
|
|
|
3852
3836
|
};
|
|
3853
3837
|
|
|
3854
3838
|
/**
|
|
3855
|
-
*
|
|
3856
|
-
*
|
|
3839
|
+
* Identity verification: the optional, paid ID check behind the verified tick (Pro plans only).
|
|
3840
|
+
*
|
|
3841
|
+
* Two layers, like `profile.ts`. `useIdentityVerificationFlow` owns the dialog's state and takes
|
|
3842
|
+
* the backend calls as functions, so an app with its own API layer (ARBI-frontend) binds the same
|
|
3843
|
+
* `IdentityVerificationCard` / `IdentityVerificationDialog` blocks without a provider.
|
|
3844
|
+
* `useIdentityVerification` binds it to the SDK (`arbi.identity`).
|
|
3845
|
+
*
|
|
3846
|
+
* Steps: pay the one-time fee (charged to the user's Pro project card) → verify inside Didit's
|
|
3847
|
+
* embedded frame → result (verified, declined, in review, or the name on the document differs from
|
|
3848
|
+
* the account name, offered as the new name). No webhooks: completing Didit's flow calls `refresh`.
|
|
3849
|
+
*/
|
|
3850
|
+
|
|
3851
|
+
/** The backend calls of the flow, as functions (see the module comment). */
|
|
3852
|
+
interface IdentityVerificationApi {
|
|
3853
|
+
status: () => Promise<IdentityStatus>;
|
|
3854
|
+
purchase: () => Promise<IdentityPurchase>;
|
|
3855
|
+
/** The Didit session URL. */
|
|
3856
|
+
startSession: () => Promise<string>;
|
|
3857
|
+
refresh: () => Promise<IdentityStatus>;
|
|
3858
|
+
acceptName: () => Promise<IdentityStatus>;
|
|
3859
|
+
remove: () => Promise<IdentityStatus>;
|
|
3860
|
+
}
|
|
3861
|
+
interface UseIdentityVerificationFlowOptions {
|
|
3862
|
+
/** Load the status (default true; e.g. false while signed out). */
|
|
3863
|
+
enabled?: boolean;
|
|
3864
|
+
/** The tick changed (granted, renamed away, removed): update the host's copy of the user. */
|
|
3865
|
+
onVerifiedChange?: (verified: boolean) => void;
|
|
3866
|
+
/** The account name became the name on the document. */
|
|
3867
|
+
onNameAccepted?: (name: {
|
|
3868
|
+
givenName: string;
|
|
3869
|
+
familyName: string | null;
|
|
3870
|
+
}) => void;
|
|
3871
|
+
/** The host's price format (e.g. its billing helpers); default `formatIdentityPrice`. */
|
|
3872
|
+
formatPrice?: (status: IdentityStatus) => string;
|
|
3873
|
+
}
|
|
3874
|
+
/** Which step the dialog opens on for a status. */
|
|
3875
|
+
declare function identityStepFor(status: IdentityStatus | undefined): IdentityStep;
|
|
3876
|
+
/** "£5.00 incl. VAT": the fee is quoted including UK VAT. */
|
|
3877
|
+
declare function formatIdentityPrice(status: IdentityStatus): string;
|
|
3878
|
+
/** The identity verification dialog's state, bound to the backend calls in `api`. */
|
|
3879
|
+
declare function useIdentityVerificationFlow(api: IdentityVerificationApi, { enabled, onVerifiedChange, onNameAccepted, formatPrice, }?: UseIdentityVerificationFlowOptions): IdentityVerificationFlow;
|
|
3880
|
+
/**
|
|
3881
|
+
* The identity verification flow over the account client in scope; the profile query follows the
|
|
3882
|
+
* tick and name.
|
|
3883
|
+
*/
|
|
3884
|
+
declare function useIdentityVerification(options?: Omit<UseIdentityVerificationFlowOptions, 'enabled'>): IdentityVerificationFlow;
|
|
3885
|
+
|
|
3886
|
+
type AccountSession = components['schemas']['SessionInfoResponse'];
|
|
3887
|
+
interface AccountSignOutOptions {
|
|
3888
|
+
/** End every session on the server first, this device's included. */
|
|
3889
|
+
everywhere?: boolean;
|
|
3890
|
+
/** Why: a person's choice, or the account was just closed. */
|
|
3891
|
+
reason?: 'manual' | 'account-deleted';
|
|
3892
|
+
}
|
|
3893
|
+
interface AccountClient {
|
|
3894
|
+
/** The signed-in user's profile; `null` when there is none. */
|
|
3895
|
+
profile(): ProfileView | null;
|
|
3896
|
+
/** Be told when {@link profile} changes. Returns the unsubscribe. */
|
|
3897
|
+
onProfileChange(listener: () => void): () => void;
|
|
3898
|
+
/** Save the name and/or picture; the profile follows. */
|
|
3899
|
+
updateProfile(vars: UpdateProfileVars): Promise<void>;
|
|
3900
|
+
/** Send the verification code to the new address (not for SSO accounts). */
|
|
3901
|
+
requestEmailChange(newEmail: string): Promise<void>;
|
|
3902
|
+
/** Confirm the new address with the emailed code; the profile follows. */
|
|
3903
|
+
confirmEmailChange(newEmail: string, code: string): Promise<void>;
|
|
3904
|
+
/** Change (or, in recovery mode, set) the master password. */
|
|
3905
|
+
changePassword(vars: PasswordChangeVars): Promise<void>;
|
|
3906
|
+
listSessions(): Promise<AccountSession[]>;
|
|
3907
|
+
/** The id this device's session is listed under, or `null`. */
|
|
3908
|
+
currentSessionId(): string | null;
|
|
3909
|
+
/** End one of the user's sessions at once (not this device's: that is {@link signOut}). */
|
|
3910
|
+
terminateSession(sessionId: string): Promise<void>;
|
|
3911
|
+
/** Sign this device out of the host (and, `everywhere`, every other session first). */
|
|
3912
|
+
signOut(options?: AccountSignOutOptions): Promise<void>;
|
|
3913
|
+
/** Close the account. Rejects with the backend's refusal when something blocks it. */
|
|
3914
|
+
requestDeletion(): Promise<unknown>;
|
|
3915
|
+
/** The ID check behind the verified tick. */
|
|
3916
|
+
identity: IdentityVerificationApi;
|
|
3917
|
+
}
|
|
3918
|
+
interface AccountClientContextValue {
|
|
3919
|
+
client: AccountClient;
|
|
3920
|
+
/** Account reads run only while this is true (signed in). */
|
|
3921
|
+
enabled: boolean;
|
|
3922
|
+
}
|
|
3923
|
+
/**
|
|
3924
|
+
* The account client over an `Arbi`. `overrides` replace any of its calls: a host that keeps its
|
|
3925
|
+
* own signed-in state passes `signOut` (and `profile`) so the SDK and the host stay in step.
|
|
3857
3926
|
*/
|
|
3858
|
-
|
|
3927
|
+
declare function arbiAccountClient(arbi: Arbi, overrides?: Partial<AccountClient>): AccountClient;
|
|
3928
|
+
interface AccountClientProviderProps {
|
|
3929
|
+
client: AccountClient;
|
|
3930
|
+
/** Account reads run only while this is true; default true. */
|
|
3931
|
+
enabled?: boolean;
|
|
3932
|
+
children: ReactNode;
|
|
3933
|
+
}
|
|
3934
|
+
/**
|
|
3935
|
+
* The account client for the account hooks and settings blocks below. Without one, they use the
|
|
3936
|
+
* nearest `ArbiProvider`'s session (`arbiAccountClient`).
|
|
3937
|
+
*/
|
|
3938
|
+
declare function AccountClientProvider({ client, enabled, children, }: AccountClientProviderProps): React$1.JSX.Element;
|
|
3939
|
+
/** The account client in scope: an `AccountClientProvider`'s, else the `ArbiProvider` session's. */
|
|
3940
|
+
declare function useAccountClient(): AccountClientContextValue;
|
|
3941
|
+
|
|
3942
|
+
/** The user's active sessions (devices and agents). */
|
|
3943
|
+
declare function useSessions(options?: {
|
|
3944
|
+
enabled?: boolean;
|
|
3945
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
3946
|
+
session_id: string;
|
|
3947
|
+
external_id?: string | null;
|
|
3948
|
+
name?: string | null;
|
|
3949
|
+
ip_address?: string | null;
|
|
3950
|
+
active_workspace?: string | null;
|
|
3951
|
+
workspaces: string[];
|
|
3952
|
+
status: string;
|
|
3953
|
+
ttl: number;
|
|
3954
|
+
}[]>, Error>;
|
|
3955
|
+
/** End one of the user's sessions at once (not this device's: that is a sign-out). */
|
|
3859
3956
|
declare function useTerminateSession(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
3860
|
-
/** Sign out of
|
|
3861
|
-
declare function
|
|
3957
|
+
/** Sign out of this device, or (`everywhere`) of every device, this one included. */
|
|
3958
|
+
declare function useSignOut(): _tanstack_react_query.UseMutationResult<void, Error, AccountSignOutOptions, unknown>;
|
|
3862
3959
|
/** The id this device's session carries in the `useSessions` list, or `null`. */
|
|
3863
3960
|
declare function useCurrentSessionId(): string | null;
|
|
3864
3961
|
|
|
@@ -3876,10 +3973,8 @@ type DeleteAccountBlocker = {
|
|
|
3876
3973
|
};
|
|
3877
3974
|
/** Read the blockers out of a failed deletion; an empty list means it failed for another reason. */
|
|
3878
3975
|
declare function parseDeleteAccountBlockers(error: unknown): DeleteAccountBlocker[];
|
|
3879
|
-
/** Close the account
|
|
3880
|
-
declare function useDeleteAccount(): _tanstack_react_query.UseMutationResult<
|
|
3881
|
-
detail: string;
|
|
3882
|
-
}, Error, void, unknown>;
|
|
3976
|
+
/** Close the account (the account client in scope). The caller signs out afterwards. */
|
|
3977
|
+
declare function useDeleteAccount(): _tanstack_react_query.UseMutationResult<unknown, Error, void, unknown>;
|
|
3883
3978
|
interface UseDeleteAccountFlowOptions {
|
|
3884
3979
|
userEmail: string;
|
|
3885
3980
|
/** Close the account. Reject with the backend's error to surface blockers. */
|
|
@@ -3905,51 +4000,6 @@ interface DeleteAccountFlow {
|
|
|
3905
4000
|
/** Step, typed-email confirmation and blockers of `DeleteAccountDialog`. */
|
|
3906
4001
|
declare function useDeleteAccountFlow({ userEmail, remove, onClose, onDeleted, onError, }: UseDeleteAccountFlowOptions): DeleteAccountFlow;
|
|
3907
4002
|
|
|
3908
|
-
/**
|
|
3909
|
-
* Identity verification: the optional, paid ID check behind the verified tick (Pro plans only).
|
|
3910
|
-
*
|
|
3911
|
-
* Two layers, like `profile.ts`. `useIdentityVerificationFlow` owns the dialog's state and takes
|
|
3912
|
-
* the backend calls as functions, so an app with its own API layer (ARBI-frontend) binds the same
|
|
3913
|
-
* `IdentityVerificationCard` / `IdentityVerificationDialog` blocks without a provider.
|
|
3914
|
-
* `useIdentityVerification` binds it to the SDK (`arbi.identity`).
|
|
3915
|
-
*
|
|
3916
|
-
* Steps: pay the one-time fee (charged to the user's Pro project card) → verify inside Didit's
|
|
3917
|
-
* embedded frame → result (verified, declined, in review, or the name on the document differs from
|
|
3918
|
-
* the account name, offered as the new name). No webhooks: completing Didit's flow calls `refresh`.
|
|
3919
|
-
*/
|
|
3920
|
-
|
|
3921
|
-
/** The backend calls of the flow, as functions (see the module comment). */
|
|
3922
|
-
interface IdentityVerificationApi {
|
|
3923
|
-
status: () => Promise<IdentityStatus>;
|
|
3924
|
-
purchase: () => Promise<IdentityPurchase>;
|
|
3925
|
-
/** The Didit session URL. */
|
|
3926
|
-
startSession: () => Promise<string>;
|
|
3927
|
-
refresh: () => Promise<IdentityStatus>;
|
|
3928
|
-
acceptName: () => Promise<IdentityStatus>;
|
|
3929
|
-
remove: () => Promise<IdentityStatus>;
|
|
3930
|
-
}
|
|
3931
|
-
interface UseIdentityVerificationFlowOptions {
|
|
3932
|
-
/** Load the status (default true; e.g. false while signed out). */
|
|
3933
|
-
enabled?: boolean;
|
|
3934
|
-
/** The tick changed (granted, renamed away, removed): update the host's copy of the user. */
|
|
3935
|
-
onVerifiedChange?: (verified: boolean) => void;
|
|
3936
|
-
/** The account name became the name on the document. */
|
|
3937
|
-
onNameAccepted?: (name: {
|
|
3938
|
-
givenName: string;
|
|
3939
|
-
familyName: string | null;
|
|
3940
|
-
}) => void;
|
|
3941
|
-
/** The host's price format (e.g. its billing helpers); default `formatIdentityPrice`. */
|
|
3942
|
-
formatPrice?: (status: IdentityStatus) => string;
|
|
3943
|
-
}
|
|
3944
|
-
/** Which step the dialog opens on for a status. */
|
|
3945
|
-
declare function identityStepFor(status: IdentityStatus | undefined): IdentityStep;
|
|
3946
|
-
/** "£5.00 incl. VAT": the fee is quoted including UK VAT. */
|
|
3947
|
-
declare function formatIdentityPrice(status: IdentityStatus): string;
|
|
3948
|
-
/** The identity verification dialog's state, bound to the backend calls in `api`. */
|
|
3949
|
-
declare function useIdentityVerificationFlow(api: IdentityVerificationApi, { enabled, onVerifiedChange, onNameAccepted, formatPrice, }?: UseIdentityVerificationFlowOptions): IdentityVerificationFlow;
|
|
3950
|
-
/** The identity verification flow bound to the SDK; the profile query follows the tick and name. */
|
|
3951
|
-
declare function useIdentityVerification(options?: Omit<UseIdentityVerificationFlowOptions, 'enabled'>): IdentityVerificationFlow;
|
|
3952
|
-
|
|
3953
4003
|
/**
|
|
3954
4004
|
* Didit's web SDK, loaded only when a verification starts (like the app loads Stripe), and run
|
|
3955
4005
|
* embedded in a host element. ID capture, liveness and face match all happen inside Didit's frame.
|
|
@@ -6896,4 +6946,4 @@ interface ArbiUiState {
|
|
|
6896
6946
|
}
|
|
6897
6947
|
declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
|
|
6898
6948
|
|
|
6899
|
-
export { AUDIO_MIME_PREFERENCE, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts,
|
|
6949
|
+
export { AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
|