@arbidocs/react 0.5.132 → 0.5.134
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 +2 -2
- package/dist/billing.js +34 -0
- package/dist/billing.js.map +2 -2
- package/dist/calls/in-call-chat.js +1 -1
- package/dist/calls/in-call-chat.js.map +1 -1
- package/dist/calls/livekit/index.cjs +41 -41
- package/dist/calls/livekit/index.d.ts +1 -1
- package/dist/{chunk-VUU32OVP.cjs → chunk-26SZ3DS4.cjs} +6 -6
- package/dist/{chunk-VUU32OVP.cjs.map → chunk-26SZ3DS4.cjs.map} +1 -1
- package/dist/{chunk-MDSWUCCL.cjs → chunk-ZZZYVNFW.cjs} +85 -2
- package/dist/chunk-ZZZYVNFW.cjs.map +1 -0
- package/dist/index.cjs +632 -581
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +206 -3
- package/dist/notifications/notification-types.js +4 -4
- package/dist/notifications/notification-types.js.map +2 -2
- package/dist/notifications/server-notifications.js +2 -2
- package/dist/notifications/server-notifications.js.map +2 -2
- package/dist/query-persist.js +19 -6
- package/dist/query-persist.js.map +2 -2
- package/dist/session/browser-storage.js +84 -0
- package/dist/session/browser-storage.js.map +7 -0
- package/dist/session/index.js +2 -0
- package/dist/session/index.js.map +2 -2
- package/dist/{useAudioRecorder.d-B9rlMI_E.d.ts → useAudioRecorder.d-DYVIWxKQ.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-MDSWUCCL.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import { ay as IdentityStatus, aw as IdentityPurchase, az as IdentityStep, aA as
|
|
|
10
10
|
export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiIcon, d as Avatar, e as AvatarFallback, f as AvatarImage, B as BASE_COLORS, g as Badge, h as BadgeProps, i as Button, j as ButtonProps, C as COLUMN_LABEL_FALLBACKS, k as Card, l as CardContent, m as CardDescription, n as CardFooter, o as CardHeader, p as CardProps, q as CardTitle, r as Checkbox, s as Collapsible, t as CollapsibleContent, u as CollapsibleTrigger, v as Command, w as CommandDialog, x as CommandEmpty, y as CommandGroup, z as CommandInput, D as CommandItem, E as CommandList, F as CommandSeparator, G as CommandShortcut, H as DEFAULT_METADATA_TAGS, I as DebouncedInput, J as DebouncedInputProps, K as Dialog, L as DialogClose, M as DialogContent, N as DialogDescription, O as DialogFooter, P as DialogHeader, Q as DialogOverlay, R as DialogPortal, S as DialogPresentation, T as DialogTitle, U as DialogTrigger, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, ak as EntityType, am as FileTypeIcon, an as FolderTreeNode, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, ax as IdentityState, aB as Input, aC as InputProps, aD as Label, aE as MarkMenu, aF as MarkMenuItem, aG as MarkMenuProps, aH as MarkdownCode, aI as MarkdownLink, aJ as MarkdownRenderer, aK as MarkdownRendererProps, aL as MarkdownStreamingContext, aM as NEUTRAL_GRAY, aN as PLACEHOLDER_COLOR, aO as PRESENTATIONS_FOLDER, aP as PRESENTATION_TEMPLATES_FOLDER, aQ as PassageCard, aR as PassageCardProps, aS as Popover, aT as PopoverAnchor, aU as PopoverClose, aV as PopoverContent, aW as PopoverTrigger, aX as PortalContainerProvider, aY as PresenceDisplayStatus, aZ as PresenceLabel, a_ as Progress, a$ as ProjectEntity, b0 as ProjectEntityProps, b1 as ProjectRelation, b2 as ProviderIcon, b3 as RadioGroup, b4 as RadioGroupItem, b5 as Rag, b6 as SHARING_LABELS, b7 as ScrollArea, b8 as ScrollBar, b9 as Select, ba as SelectContent, bb as SelectGroup, bc as SelectItem, bd as SelectLabel, be as SelectScrollDownButton, bf as SelectScrollUpButton, bg as SelectSeparator, bh as SelectTrigger, bi as SelectValue, bj as Separator, bk as SharingEntity, bl as SharingEntityProps, bm as ShieldIcon, bn as ShieldIconProps, bo as Slider, bp as StatusBadgeComponent, bq as StatusBadgeProps, br as StatusPill, bs as StatusPillProps, bt as StatusVariant, bu as Switch, bv as TAG_TYPE_ICONS, bw as TAG_TYPE_LABELS, bx as Table, by as TableBody, bz as TableCaption, bA as TableCell, bB as TableFooter, bC as TableHead, bD as TableHeader, bE as TableRow, bF as Tabs, bG as TabsContent, bH as TabsList, bI as TabsTrigger, bJ as TagEntity, bK as TagEntityProps, bL as TagLike, bM as Textarea, bN as TextareaProps, bO as ThreadVisibilityIcon, bP as Toggle, bQ as ToggleGroup, bR as ToggleGroupItem, bS as Tooltip, bT as TooltipContent, bU as TooltipProvider, bV as TooltipTrigger, bW as UserEntity, bX as UserEntityProps, bY as UserMenu, bZ as UserMenuItem, b_ as UserMenuProps, b$ as UserMenuStatus, c0 as VISIBILITY_ICONS, c1 as VerifiedBadge, c2 as VerifiedBadgeProps, c3 as VerifiedToggle, c4 as VisibilityIcon, c5 as VisibilityToggle, c6 as VisibilityToggleProps, c7 as agentAvatarColors, c8 as badgeVariants, c9 as buildFolderTree, ca as buttonVariants, cb as canonicalFolderPath, cc as cardVariants, cd as closeOpenEmphasis, ce as cn, cf as configureEntityRegistry, cg as configureEntityVocabulary, ch as configureRagLabels, ci as configureSharingMembers, cj as configureStatusRegistry, ck as createUserAvatarIcon, cl as entityNoun, cm as extensionFromMime, cn as formatCompactLastSeen, co as formatDocDate, cp as formatFolderLabel, cq as formatFriendlyDate, cr as formatRelativeTime, cs as friendlyFileType, ct as getDocIcon, cu as getDocumentAuthor, cv as getDocumentDate, cw as getDocumentNature, cx as getDocumentSubject, cy as getDocumentTitle, cz as getEntityColor, cA as getEntityColorStyles, cB as getEntityIcon, cC as getEntityLabel, cD as getFileExtension, cE as getFileTypeIcon, cF as getStatusVariant, cG as getTagTypeIcon, cH as getTagTypeLabel, cI as getUserAvatarColor, cJ as getUserDisplayName, cK as getUserInitials, cL as getWorkspaceColor, cM as isAgent, cN as isAudioFile, cO as isDocumentAddableToConversation, cP as isDownloadOnlyFile, cQ as isImageDocument, cR as isImageFile, cS as isMediaFile, cT as isPresentationFileName, cU as isVideoFile, cV as markdownBaseComponents, cW as markdownSanitizeSchema, cX as markdownToPlainText, cY as markdownToPlainTextBlocks, cZ as normalizeCitationMarkup, c_ as splitMarkdownBlocks, c$ as tagKindNouns, d0 as tagKindTitle, d1 as toggleVariants, d2 as trimOpenCitation, d3 as useDictateContext, d4 as usePortalContainer, d5 as usesOriginalBytesForViewer } from './index.d-DbcrFwS6.js';
|
|
11
11
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
12
12
|
import { QueryClient, QueryKey, MutationKey, Mutation } from '@tanstack/react-query';
|
|
13
|
-
import { M as MeetingChatRef, a as ActiveCall, W as SegmenterConfig, G as IncomingCall, J as JoinChoices, N as MeetingChatTarget, v as ChatResponse, t as ChatMemberKey, b as AgentDmStatus, x as ChatThreadMessage } from './useAudioRecorder.d-
|
|
14
|
-
export { A as AUDIENCE_CHOICES, c as AudioRecorderState, d as AudioSegment, C as CALL_CAPTION_TOPIC, e as CALL_CHAT_MAX_CHARS, f as CALL_CHAT_TOPIC, g as CALL_RECORDING_TOPIC, h as CALL_TRANSCRIPTION_TOPIC, i as CALL_WEBINAR_TOPIC, j as CAPTION_MAX_CHARS, k as COMPOSITE_AUDIO_BITS_PER_SECOND, l as COMPOSITE_VIDEO_BITS_PER_SECOND, m as CallChatLine, n as CallChatPacket, o as CallSessionState, p as CaptionLine, q as CaptionPacket, r as ChatAttachmentFile, s as ChatEvent, u as ChatMessageResponse, w as ChatThreadData, y as ConversationKey, D as DEFAULT_JOIN_CHOICES, z as DEFAULT_SEGMENTER_CONFIG, B as DecryptedChatMessage, E as EMPTY_CALL_SESSION, H as HISTORY_LIMIT, F as HistoryMessage, I as INITIAL_SEGMENTER_STATE, L as LIVE_SEGMENTER, K as LiveCall, O as NewActiveCall, P as OpenQuestion, Q as PendingKnock, R as PendingPart, S as READ_ONLY_MEETING_TEXT, T as RECORDING_CHUNK_MS, U as SEGMENT_ID_PATTERN, V as SPEAKER_AUDIO_BITS_PER_SECOND, X as SegmenterEvent, Y as SegmenterState, Z as TrackUploader, _ as TrackUploaderOptions, $ as TranscriptSegment, a0 as UPLOAD_ATTEMPTS, a1 as UPLOAD_BACKOFF_MS, a2 as UploaderDeps, a3 as UseAudioRecorderOptions, a4 as UseAudioRecorderResult, a5 as WebinarPacket, a6 as appendToThread, a7 as applyAgentDmStatus, a8 as applyChatEvent, a9 as applyChatMessage, aa as applyChatRead, ab as applyChatUpdated, ac as buildMeetingChatBody, ad as cachedChat, ae as cachedChats, af as callMemberKeys, ag as callSession, ah as chatByExtId, ai as chatHasLiveCall, aj as chatLiveCallId, ak as clearMeetingChatCache, al as clearTrackUploaders, am as conversationKeyForCall, an as decodeCallChatPacket, ao as decodeCaptionPacket, ap as decryptPart, aq as encodeCallChatPacket, ar as encodeCaptionPacket, as as encryptPart, at as ensureMeetingChat, au as flushSegmenter, av as getOpenChat, aw as isRecordingOver, ax as isRetryable, ay as knownMeetingChat, az as levelFromRms, aA as loadMeetingHistory, aB as markRejoining, aC as meetingChatRefFrom, aD as meetingRefForCall, aE as mergeChatLines, aF as myChatId, aG as newPacketId, aH as newSegmentId, aI as newTrackKey, aJ as nextSeqAfter, aK as openQuestion, aL as parseWebinarPacket, aM as partOffsetMs, aN as persistMeetingMessage, aO as persistTranscriptSegment, aP as rejoinAsAudience, aQ as removeChat, aR as resetCallSession, aS as resolveMeetingChat, aT as sealQuestionText, aU as setOpenChat, aV as stepSegmenter, aW as storeTranscriptSegment, aX as threadHasLiveCall, aY as threadLiveCallId, aZ as threadTranscriptText, a_ as trackUploaderFor, a$ as transcriptPersistRole, b0 as unwrapTrackKey, b1 as upsertChat, b2 as useAudioRecorder, b3 as useCallSession, b4 as wrapTrackKey } from './useAudioRecorder.d-
|
|
13
|
+
import { M as MeetingChatRef, a as ActiveCall, W as SegmenterConfig, G as IncomingCall, J as JoinChoices, N as MeetingChatTarget, v as ChatResponse, t as ChatMemberKey, b as AgentDmStatus, x as ChatThreadMessage } from './useAudioRecorder.d-DYVIWxKQ.js';
|
|
14
|
+
export { A as AUDIENCE_CHOICES, c as AudioRecorderState, d as AudioSegment, C as CALL_CAPTION_TOPIC, e as CALL_CHAT_MAX_CHARS, f as CALL_CHAT_TOPIC, g as CALL_RECORDING_TOPIC, h as CALL_TRANSCRIPTION_TOPIC, i as CALL_WEBINAR_TOPIC, j as CAPTION_MAX_CHARS, k as COMPOSITE_AUDIO_BITS_PER_SECOND, l as COMPOSITE_VIDEO_BITS_PER_SECOND, m as CallChatLine, n as CallChatPacket, o as CallSessionState, p as CaptionLine, q as CaptionPacket, r as ChatAttachmentFile, s as ChatEvent, u as ChatMessageResponse, w as ChatThreadData, y as ConversationKey, D as DEFAULT_JOIN_CHOICES, z as DEFAULT_SEGMENTER_CONFIG, B as DecryptedChatMessage, E as EMPTY_CALL_SESSION, H as HISTORY_LIMIT, F as HistoryMessage, I as INITIAL_SEGMENTER_STATE, L as LIVE_SEGMENTER, K as LiveCall, O as NewActiveCall, P as OpenQuestion, Q as PendingKnock, R as PendingPart, S as READ_ONLY_MEETING_TEXT, T as RECORDING_CHUNK_MS, U as SEGMENT_ID_PATTERN, V as SPEAKER_AUDIO_BITS_PER_SECOND, X as SegmenterEvent, Y as SegmenterState, Z as TrackUploader, _ as TrackUploaderOptions, $ as TranscriptSegment, a0 as UPLOAD_ATTEMPTS, a1 as UPLOAD_BACKOFF_MS, a2 as UploaderDeps, a3 as UseAudioRecorderOptions, a4 as UseAudioRecorderResult, a5 as WebinarPacket, a6 as appendToThread, a7 as applyAgentDmStatus, a8 as applyChatEvent, a9 as applyChatMessage, aa as applyChatRead, ab as applyChatUpdated, ac as buildMeetingChatBody, ad as cachedChat, ae as cachedChats, af as callMemberKeys, ag as callSession, ah as chatByExtId, ai as chatHasLiveCall, aj as chatLiveCallId, ak as clearMeetingChatCache, al as clearTrackUploaders, am as conversationKeyForCall, an as decodeCallChatPacket, ao as decodeCaptionPacket, ap as decryptPart, aq as encodeCallChatPacket, ar as encodeCaptionPacket, as as encryptPart, at as ensureMeetingChat, au as flushSegmenter, av as getOpenChat, aw as isRecordingOver, ax as isRetryable, ay as knownMeetingChat, az as levelFromRms, aA as loadMeetingHistory, aB as markRejoining, aC as meetingChatRefFrom, aD as meetingRefForCall, aE as mergeChatLines, aF as myChatId, aG as newPacketId, aH as newSegmentId, aI as newTrackKey, aJ as nextSeqAfter, aK as openQuestion, aL as parseWebinarPacket, aM as partOffsetMs, aN as persistMeetingMessage, aO as persistTranscriptSegment, aP as rejoinAsAudience, aQ as removeChat, aR as resetCallSession, aS as resolveMeetingChat, aT as sealQuestionText, aU as setOpenChat, aV as stepSegmenter, aW as storeTranscriptSegment, aX as threadHasLiveCall, aY as threadLiveCallId, aZ as threadTranscriptText, a_ as trackUploaderFor, a$ as transcriptPersistRole, b0 as unwrapTrackKey, b1 as upsertChat, b2 as useAudioRecorder, b3 as useCallSession, b4 as wrapTrackKey } from './useAudioRecorder.d-DYVIWxKQ.js';
|
|
15
15
|
import * as React$1 from 'react';
|
|
16
16
|
import React__default, { ReactNode } from 'react';
|
|
17
17
|
import * as zustand from 'zustand';
|
|
@@ -5320,6 +5320,8 @@ declare function useWorkspaceActivity(workspaceId: string | null | undefined, op
|
|
|
5320
5320
|
declare function useProjects(options?: {
|
|
5321
5321
|
enabled?: boolean;
|
|
5322
5322
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
5323
|
+
spend_limits_confirmation_required?: boolean | undefined;
|
|
5324
|
+
checkout_pending?: boolean | undefined;
|
|
5323
5325
|
external_id: string;
|
|
5324
5326
|
name: string;
|
|
5325
5327
|
created_by: string;
|
|
@@ -6151,6 +6153,11 @@ declare function createUiStateStorage<S>(options?: {
|
|
|
6151
6153
|
backing?: () => Storage | undefined;
|
|
6152
6154
|
}): UiStateStorage<S>;
|
|
6153
6155
|
|
|
6156
|
+
/** IndexedDB for nonsensitive UI state, with in-memory fallback when browser storage fails. */
|
|
6157
|
+
declare function createBrowserStateStorage(databaseName: string, storeName: string): ArbiKeyValueStorage & {
|
|
6158
|
+
clear(): Promise<void>;
|
|
6159
|
+
};
|
|
6160
|
+
|
|
6154
6161
|
/**
|
|
6155
6162
|
* The workspace the app is in: the session's selection, as the workspace list has it, and the
|
|
6156
6163
|
* signed-in person's membership in it.
|
|
@@ -9387,6 +9394,8 @@ declare function isNetworkFailure(error: unknown): boolean;
|
|
|
9387
9394
|
* The project list and the workspace list (which carries project names) refresh.
|
|
9388
9395
|
*/
|
|
9389
9396
|
declare function useUpdateProjectFields(): _tanstack_react_query.UseMutationResult<{
|
|
9397
|
+
spend_limits_confirmation_required?: boolean;
|
|
9398
|
+
checkout_pending?: boolean;
|
|
9390
9399
|
external_id: string;
|
|
9391
9400
|
name: string;
|
|
9392
9401
|
created_by: string;
|
|
@@ -9474,10 +9483,51 @@ declare function useChargeWatch(project: ProjectResponse, isPending: boolean): {
|
|
|
9474
9483
|
|
|
9475
9484
|
/** Refresh the project list now (e.g. a paid project to list before its refresh returns). */
|
|
9476
9485
|
declare function useInvalidateProjects(): () => Promise<void>;
|
|
9486
|
+
/** Keep confirmed billing responses in sync while an inline editor applies several operations. */
|
|
9487
|
+
declare function useProjectBillingCache(): {
|
|
9488
|
+
publish: (project: ProjectResponse) => NoInfer<{
|
|
9489
|
+
spend_limits_confirmation_required?: boolean;
|
|
9490
|
+
checkout_pending?: boolean;
|
|
9491
|
+
external_id: string;
|
|
9492
|
+
name: string;
|
|
9493
|
+
created_by: string;
|
|
9494
|
+
subscription: string;
|
|
9495
|
+
is_personal: boolean;
|
|
9496
|
+
subscription_ended_at?: string | null;
|
|
9497
|
+
retention_delete_at?: string | null;
|
|
9498
|
+
created_at: string;
|
|
9499
|
+
quotas: _arbidocs_client.components["schemas"]["ProjectQuotas"];
|
|
9500
|
+
daily_cap_per_user?: number | null;
|
|
9501
|
+
budget?: _arbidocs_client.components["schemas"]["ProjectBudget"] | null;
|
|
9502
|
+
client?: string | null;
|
|
9503
|
+
client_ref?: string | null;
|
|
9504
|
+
stage?: string | null;
|
|
9505
|
+
stage_changed_at?: string | null;
|
|
9506
|
+
lead_user?: string | null;
|
|
9507
|
+
fields?: {
|
|
9508
|
+
[key: string]: unknown;
|
|
9509
|
+
};
|
|
9510
|
+
field_schema?: _arbidocs_client.components["schemas"]["FieldSchemaEntry"][] | null;
|
|
9511
|
+
plan_interval?: ("month" | "year") | null;
|
|
9512
|
+
packs: number;
|
|
9513
|
+
plan_change?: _arbidocs_client.components["schemas"]["PlanChangeOutcome"] | null;
|
|
9514
|
+
addons?: _arbidocs_client.components["schemas"]["ProjectAddons"] | null;
|
|
9515
|
+
price_id?: string | null;
|
|
9516
|
+
plan?: string | null;
|
|
9517
|
+
amount?: number | null;
|
|
9518
|
+
amount_ex_vat?: number | null;
|
|
9519
|
+
currency?: string | null;
|
|
9520
|
+
current_period_end?: number | null;
|
|
9521
|
+
cancel_at_period_end?: boolean | null;
|
|
9522
|
+
portal_url?: string | null;
|
|
9523
|
+
}[]> | undefined;
|
|
9524
|
+
invalidate: () => Promise<[void, void, void]>;
|
|
9525
|
+
};
|
|
9477
9526
|
/** The plans and add-ons on sale, with their prices. */
|
|
9478
9527
|
declare function useProducts(options?: {
|
|
9479
9528
|
enabled?: boolean;
|
|
9480
9529
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
9530
|
+
collaborator_daily_limit_step_gbp?: number | undefined;
|
|
9481
9531
|
included_ai_gbp: number;
|
|
9482
9532
|
included_storage_gb: number;
|
|
9483
9533
|
included_collaborators: number;
|
|
@@ -9543,6 +9593,8 @@ declare function useCreateProject(): _tanstack_react_query.UseMutationResult<Cre
|
|
|
9543
9593
|
declare function useDeleteProject(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
9544
9594
|
/** Re-read a project's subscription from Stripe (after a checkout completes). */
|
|
9545
9595
|
declare function useRefreshProject(): _tanstack_react_query.UseMutationResult<{
|
|
9596
|
+
spend_limits_confirmation_required?: boolean | undefined;
|
|
9597
|
+
checkout_pending?: boolean | undefined;
|
|
9546
9598
|
external_id: string;
|
|
9547
9599
|
name: string;
|
|
9548
9600
|
created_by: string;
|
|
@@ -9688,6 +9740,8 @@ declare function useCreateProjectCheckout(): _tanstack_react_query.UseMutationRe
|
|
|
9688
9740
|
* interval clears a pending switch, and resumes a project set to cancel. Resolves to the project.
|
|
9689
9741
|
*/
|
|
9690
9742
|
declare function useChangeProjectPlan(): _tanstack_react_query.UseMutationResult<{
|
|
9743
|
+
spend_limits_confirmation_required?: boolean | undefined;
|
|
9744
|
+
checkout_pending?: boolean | undefined;
|
|
9691
9745
|
external_id: string;
|
|
9692
9746
|
name: string;
|
|
9693
9747
|
created_by: string;
|
|
@@ -9826,6 +9880,8 @@ declare function useChangeProjectPlan(): _tanstack_react_query.UseMutationResult
|
|
|
9826
9880
|
}, unknown>;
|
|
9827
9881
|
/** Move a Pro project to Free at the end of the period (no refunds). */
|
|
9828
9882
|
declare function useCancelProjectSubscription(): _tanstack_react_query.UseMutationResult<{
|
|
9883
|
+
spend_limits_confirmation_required?: boolean | undefined;
|
|
9884
|
+
checkout_pending?: boolean | undefined;
|
|
9829
9885
|
external_id: string;
|
|
9830
9886
|
name: string;
|
|
9831
9887
|
created_by: string;
|
|
@@ -10029,6 +10085,8 @@ declare function useAddProjectAddonBlock(): _tanstack_react_query.UseMutationRes
|
|
|
10029
10085
|
status: "paid" | "requires_action";
|
|
10030
10086
|
confirm_url?: string | null | undefined;
|
|
10031
10087
|
project: {
|
|
10088
|
+
spend_limits_confirmation_required?: boolean | undefined;
|
|
10089
|
+
checkout_pending?: boolean | undefined;
|
|
10032
10090
|
external_id: string;
|
|
10033
10091
|
name: string;
|
|
10034
10092
|
created_by: string;
|
|
@@ -10168,6 +10226,8 @@ declare function useAddProjectAddonBlock(): _tanstack_react_query.UseMutationRes
|
|
|
10168
10226
|
}, unknown>;
|
|
10169
10227
|
/** How many add-on blocks to keep from the next period (reductions only). */
|
|
10170
10228
|
declare function useUpdateProjectNextPeriodAddons(): _tanstack_react_query.UseMutationResult<{
|
|
10229
|
+
spend_limits_confirmation_required?: boolean | undefined;
|
|
10230
|
+
checkout_pending?: boolean | undefined;
|
|
10171
10231
|
external_id: string;
|
|
10172
10232
|
name: string;
|
|
10173
10233
|
created_by: string;
|
|
@@ -10306,6 +10366,8 @@ declare function useUpdateProjectNextPeriodAddons(): _tanstack_react_query.UseMu
|
|
|
10306
10366
|
}, unknown>;
|
|
10307
10367
|
/** A Pro project's add-on settings: the auto top-up threshold and the monthly usage cap. */
|
|
10308
10368
|
declare function useUpdateProjectAddonSettings(): _tanstack_react_query.UseMutationResult<{
|
|
10369
|
+
spend_limits_confirmation_required?: boolean | undefined;
|
|
10370
|
+
checkout_pending?: boolean | undefined;
|
|
10309
10371
|
external_id: string;
|
|
10310
10372
|
name: string;
|
|
10311
10373
|
created_by: string;
|
|
@@ -10443,6 +10505,147 @@ declare function useUpdateProjectAddonSettings(): _tanstack_react_query.UseMutat
|
|
|
10443
10505
|
body: ProjectAddonSettingsRequest;
|
|
10444
10506
|
}, unknown>;
|
|
10445
10507
|
|
|
10508
|
+
/** Confirm both spending limits atomically and refresh the project's shared state. */
|
|
10509
|
+
declare function useConfirmProjectSpendLimits(): _tanstack_react_query.UseMutationResult<{
|
|
10510
|
+
spend_limits_confirmation_required?: boolean | undefined;
|
|
10511
|
+
checkout_pending?: boolean | undefined;
|
|
10512
|
+
external_id: string;
|
|
10513
|
+
name: string;
|
|
10514
|
+
created_by: string;
|
|
10515
|
+
subscription: string;
|
|
10516
|
+
is_personal: boolean;
|
|
10517
|
+
subscription_ended_at?: string | null | undefined;
|
|
10518
|
+
retention_delete_at?: string | null | undefined;
|
|
10519
|
+
created_at: string;
|
|
10520
|
+
quotas: {
|
|
10521
|
+
storage_gb: {
|
|
10522
|
+
used: number;
|
|
10523
|
+
limit: number;
|
|
10524
|
+
};
|
|
10525
|
+
ai_usage: {
|
|
10526
|
+
used: number;
|
|
10527
|
+
limit: number;
|
|
10528
|
+
};
|
|
10529
|
+
collaborators: {
|
|
10530
|
+
used: number;
|
|
10531
|
+
limit: number;
|
|
10532
|
+
};
|
|
10533
|
+
budget_reset_at?: number | null | undefined;
|
|
10534
|
+
};
|
|
10535
|
+
daily_cap_per_user?: number | null | undefined;
|
|
10536
|
+
budget?: {
|
|
10537
|
+
amount: number;
|
|
10538
|
+
currency: string;
|
|
10539
|
+
} | null | undefined;
|
|
10540
|
+
client?: string | null | undefined;
|
|
10541
|
+
client_ref?: string | null | undefined;
|
|
10542
|
+
stage?: string | null | undefined;
|
|
10543
|
+
stage_changed_at?: string | null | undefined;
|
|
10544
|
+
lead_user?: string | null | undefined;
|
|
10545
|
+
fields?: {
|
|
10546
|
+
[x: string]: unknown;
|
|
10547
|
+
} | undefined;
|
|
10548
|
+
field_schema?: {
|
|
10549
|
+
key: string;
|
|
10550
|
+
label?: string | null | undefined;
|
|
10551
|
+
type: "text" | "number" | "date" | "checkbox" | "select" | "person" | "document" | "relation" | "lookup" | "rollup" | "tag";
|
|
10552
|
+
options?: string[] | null | undefined;
|
|
10553
|
+
}[] | null | undefined;
|
|
10554
|
+
plan_interval?: ("month" | "year") | null | undefined;
|
|
10555
|
+
packs: number;
|
|
10556
|
+
plan_change?: {
|
|
10557
|
+
result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
|
|
10558
|
+
charged_pence: number;
|
|
10559
|
+
charged_ex_vat_pence: number;
|
|
10560
|
+
confirm_url?: string | null | undefined;
|
|
10561
|
+
} | null | undefined;
|
|
10562
|
+
addons?: {
|
|
10563
|
+
packs: number;
|
|
10564
|
+
packs_next?: number | null | undefined;
|
|
10565
|
+
plan_name: string;
|
|
10566
|
+
plan_ai_gbp: number;
|
|
10567
|
+
plan_monthly_ex_vat_pence: number;
|
|
10568
|
+
total_monthly_ex_vat_pence: number;
|
|
10569
|
+
plan_storage_gb: number;
|
|
10570
|
+
block_ai_gbp: number;
|
|
10571
|
+
block_collaborators: number;
|
|
10572
|
+
spend_cap_step_pence: number;
|
|
10573
|
+
maximum_spend_cap_pence: number;
|
|
10574
|
+
default_spend_cap_pence: number;
|
|
10575
|
+
included_collaborators: number;
|
|
10576
|
+
collaborator_blocks_min: number;
|
|
10577
|
+
collaborator_block_price_ex_vat_pence: number;
|
|
10578
|
+
collaborator_block_period_ex_vat_pence: number;
|
|
10579
|
+
block_storage_gb: number;
|
|
10580
|
+
ai_blocks: number;
|
|
10581
|
+
storage_blocks: number;
|
|
10582
|
+
collaborator_blocks: number;
|
|
10583
|
+
legacy_ai_blocks: number;
|
|
10584
|
+
legacy_storage_blocks: number;
|
|
10585
|
+
legacy_block_ai_gbp: number;
|
|
10586
|
+
legacy_block_storage_gb: number;
|
|
10587
|
+
blocks_ai_gbp: number;
|
|
10588
|
+
blocks_storage_gb: number;
|
|
10589
|
+
ai_blocks_next?: number | null | undefined;
|
|
10590
|
+
storage_blocks_next?: number | null | undefined;
|
|
10591
|
+
collaborator_blocks_next?: number | null | undefined;
|
|
10592
|
+
storage_blocks_min: number;
|
|
10593
|
+
auto_topup_threshold_gbp: number;
|
|
10594
|
+
min_auto_topup_threshold_gbp: number;
|
|
10595
|
+
spend_cap_pence?: number | null | undefined;
|
|
10596
|
+
addon_spend_pence: number;
|
|
10597
|
+
auto_spent_pence: number;
|
|
10598
|
+
addon_spend_window_end?: number | null | undefined;
|
|
10599
|
+
manual_spent_pence: number;
|
|
10600
|
+
cap_left_pence?: number | null | undefined;
|
|
10601
|
+
ai_used_gbp: number;
|
|
10602
|
+
ai_allowance_gbp: number;
|
|
10603
|
+
ai_allowance_next_gbp: number;
|
|
10604
|
+
storage_used_gb: number;
|
|
10605
|
+
storage_allowance_gb: number;
|
|
10606
|
+
storage_allowance_next_gb: number;
|
|
10607
|
+
ai_block_monthly_pence: number;
|
|
10608
|
+
ai_block_monthly_ex_vat_pence: number;
|
|
10609
|
+
storage_block_monthly_pence: number;
|
|
10610
|
+
storage_block_monthly_ex_vat_pence: number;
|
|
10611
|
+
ai_block_period_pence: number;
|
|
10612
|
+
ai_block_period_ex_vat_pence: number;
|
|
10613
|
+
storage_block_period_pence: number;
|
|
10614
|
+
storage_block_period_ex_vat_pence: number;
|
|
10615
|
+
ai_block_price_pence: number;
|
|
10616
|
+
ai_block_price_ex_vat_pence: number;
|
|
10617
|
+
storage_block_price_pence: number;
|
|
10618
|
+
storage_block_price_ex_vat_pence: number;
|
|
10619
|
+
cap_reached: boolean;
|
|
10620
|
+
period_end?: number | null | undefined;
|
|
10621
|
+
ai_usage_reset_at?: number | null | undefined;
|
|
10622
|
+
pending_interval?: ("month" | "year") | null | undefined;
|
|
10623
|
+
renewal_error?: string | null | undefined;
|
|
10624
|
+
billing_error?: string | null | undefined;
|
|
10625
|
+
confirm_url?: string | null | undefined;
|
|
10626
|
+
payment?: {
|
|
10627
|
+
status: "pending" | "paid";
|
|
10628
|
+
kind?: ("ai_usage" | "storage" | "collaborators") | null | undefined;
|
|
10629
|
+
amount_pence?: number | null | undefined;
|
|
10630
|
+
amount_ex_vat_pence?: number | null | undefined;
|
|
10631
|
+
tax_pence?: number | null | undefined;
|
|
10632
|
+
at?: number | null | undefined;
|
|
10633
|
+
confirm_url?: string | null | undefined;
|
|
10634
|
+
} | null | undefined;
|
|
10635
|
+
} | null | undefined;
|
|
10636
|
+
price_id?: string | null | undefined;
|
|
10637
|
+
plan?: string | null | undefined;
|
|
10638
|
+
amount?: number | null | undefined;
|
|
10639
|
+
amount_ex_vat?: number | null | undefined;
|
|
10640
|
+
currency?: string | null | undefined;
|
|
10641
|
+
current_period_end?: number | null | undefined;
|
|
10642
|
+
cancel_at_period_end?: boolean | null | undefined;
|
|
10643
|
+
portal_url?: string | null | undefined;
|
|
10644
|
+
}, Error, {
|
|
10645
|
+
projectExtId: string;
|
|
10646
|
+
body: _arbidocs_client.components["schemas"]["ProjectSpendLimitsRequest"];
|
|
10647
|
+
}, unknown>;
|
|
10648
|
+
|
|
10446
10649
|
type StorageProjectUsage = components['schemas']['StorageProjectUsage'];
|
|
10447
10650
|
type StorageItem = components['schemas']['StorageItem'];
|
|
10448
10651
|
type StorageKindUsage = components['schemas']['StorageKindUsage'];
|
|
@@ -16107,4 +16310,4 @@ declare function useRateSupportTicket(): _tanstack_react_query.UseMutationResult
|
|
|
16107
16310
|
rating: SupportRating;
|
|
16108
16311
|
}, unknown>;
|
|
16109
16312
|
|
|
16110
|
-
export { AGENT_CONTROL_COMMANDS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ANALYTICS_CHART_VIEW, ARCHIVE_POLL_MS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, AUTO_SYNC_EVERY_MS, type AccessRequestPayload, type AccessRequestRecipient, type AccountClient, type AccountClientContextValue, type AccountHost, type AccountSession, type AccountSignOutOptions, ActiveCall, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type ActivitySourceLabels, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AgentControlMaps, AgentDmStatus, type AgentQuestionRef, type AgentRunControlState, type AggregateOp, AiAnswer, type AiRunOptions, type AiTaskStatus, type AnalyticsChartRequest, AppNotification, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, type ArbiChatActions, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatState, type ArbiChatStore, type ArbiChatStoreOptions, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDmTab, type ArbiDocumentCommentTarget, type ArbiDocumentSessionActions, type ArbiDocumentSessionState, type ArbiDocumentSessionStore, type ArbiDocumentSessionStoreOptions, type ArbiDocumentViewerState, type ArbiDocumentsPersist, type ArbiDraftDocument, type ArbiDraftKind, type ArbiDraftStorage, type ArbiFeature, type ArbiFeatures, type ArbiGridLayoutState, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiKeyValueStorage, type ArbiLayoutActions, type ArbiLayoutState, type ArbiLayoutStore, type ArbiLayoutStoreOptions, type ArbiMessageTimer, type ArbiPanelMode, type ArbiPanelsState, type ArbiPassageCitationState, type ArbiPickedPassage, type ArbiQueryClient, type ArbiQueryClientOptions, type ArbiQueryPersistOptions, type ArbiSavedChat, type ArbiSavedDocuments, type ArbiSavedLayout, type ArbiSessionParts, type ArbiSessionPersist, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiShellState, type ArbiSidebarState, type ArbiSignedInSession, type ArbiTabsState, type ArbiThreadComposer, type ArbiThreadTab, type ArbiThreadTabShow, type ArbiThreadTabView, type ArbiThreadTabsController, type ArbiThreadTabsState, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, type ArbiViewsState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceState, type ArbiWorkspaceStatus, type ArbiWorkspaceStorage, type ArbiWorkspaceStore, type ArbiWorkspaceStoreOptions, type ArbiWsHandlers, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOOT_GATE_TIMEOUT_MS, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, BUILTIN_DATA_SOURCES, type BranchNavigation, type BranchPoint, type BrowserWorkspaceStorageOptions, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarNotificationMeta, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallsHost, type ChartSpec, type ChartType, type ChatArrival, ChatBubble, type ChatBubbleProps, ChatMemberKey, type ChatPost, ChatResponse, type ChatSummary, ChatThreadMessage, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, type ConfigUpdate, type ControllingAgent, type ConversationActionsInput, type ConversationEvent, ConversationList, type ConversationListProps, ConversationScope, type ConversationScopeProps, type ConversationsSourceLabels, type CreateProjectVars, type CreateSkillPackOptions, type CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ACTIVITY_SOURCE_LABELS, DEFAULT_ASPECT_OPTIONS, DEFAULT_CONVERSATIONS_SOURCE_LABELS, DEFAULT_DATABASE_SOURCE_LABELS, DEFAULT_DOCUMENTS_SOURCE_LABELS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_FACTS_SOURCE_LABELS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_PROJECTS_SOURCE_LABELS, DEFAULT_TAGS_SOURCE_LABELS, DEFAULT_USAGE_BREAKDOWN_SOURCE_LABELS, DEFAULT_USAGE_SOURCE_LABELS, DEFAULT_WORKFLOWS_SOURCE_LABELS, DEFAULT_WORKSPACES_SOURCE_LABELS, DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DOCUMENT_VIEWER_PANEL, type DashboardSpec, type DashboardStore, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseDashboardStoreOptions, type DatabaseSourceLabels, type Dataset, type DatasetField, type DatasetFieldType, type DatasetFilter, type DatasetOrder, type DatasetQuery, type DatasetRow, type DatasetSort, type DatasetState, type DatasetValue, DateSeparator, type DateSeparatorProps, type DebouncedWriter, type DebouncedWriterOptions, type DefineSkillPackOptions, type DefinedSkillPack, type DeleteAccountBlocker, type DeleteAccountFlow, type DeletedDocument, type DeletedDocumentsPage, type DescribeCalendarNotificationOptions, type DescribeServerNotificationOptions, DictateContextValue, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, type DocumentHostActions, type DocumentPerson, DocumentReview, type DocumentReviewProps, type DocumentRowChange, type DocumentStartItem, type DocumentsSourceLabels, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_CHAT_STATE, EMPTY_DOCUMENT_STATE, EMPTY_GROUP_LABEL, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, EntitySize, EntityVocabulary, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FACTS_SEARCH_VIEW, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FactSearchHit, type FactsSearch, type FactsSearchState, type FactsSourceLabels, type FeatureEntitlements, type FeatureRefusal, type FeatureSource, type FeatureSwitch, type FilterOp, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, type GuidedStep, HostConfigRecord, HtmlIcon, IN_FLIGHT_DOCUMENT_STATUSES, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, IncomingCall, InlineMicButton, type InlineMicButtonProps, type InstallSkillPackVariables, JoinChoices, LIVE_UPDATE_TYPES, LinkedInIcon, type LiveTask, type LocalDraft, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_DASHBOARD_SPEC_CHARS, MAX_SERIES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MODEL_GROUP_LABELS, MUTED_DEDUPE_MS, type MailAccount, type MailAddress, type MailAttachment, type MailChange, type MailClient, type MailClientContextValue, type MailCompose, type MailConversation, type MailConversationPage, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFileRequest, type MailFiled, type MailFilingRule, type MailFilingState, type MailFolder, type MailHost, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MailThread, MeetingChatRef, MeetingChatTarget, MentionCandidate, type MessageArtifact, MessageArtifactCard, MessageMentionRef, type MessageTimerResult, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type ModeratedTrack, type MountDiditOptions, type NameEditor, type NativeMailFiling, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OUTBOX_FOLDER, type OfflineDocumentRecord, type OfflineMailReadsOptions, type OfflineMailRuntimeOptions, type OfflineMailScope, type OfflineMailSettings, type OfflineMailStatus, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, type OutboxItem, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PanelDatasetState, type PanelSpec, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PendingMailChange, type PendingSyncItem, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, PresIcon, type ProcessingTask, type ProfileView, type ProjectCreationRefusal, type ProjectsSourceLabels, type ProjectsSourceOptions, type QueuedCalendarWrite, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, REMOTE_CONTROL_VIEW, RUN_WINDOW_MS, type RawPending, type ReconnectOutcome, type RecordedChunk, type RecordingWindow, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoteControlMessage, type RemoteControlRequest, type RemoteControlSession, type RemoteControlState, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, type RowsSourceDefinition, type RowsState, SEGMENT_FRAME_MS, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SavedDashboard, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationBellOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type SkillPack, type SkillPackEntry, type SkillPackField, type SkillPackSkill, type SkillPackSkillDefinition, type StartTaskQuery, StorageActionError, type StorageActions, type StorageDeploymentUsage, type StorageItem, type StorageItemKind, type StorageItemState, type StorageItemsQuery, type StorageKindUsage, type StoragePersistOptions, type StorageProjectUsage, type StorageScope, type StorageSnapshot, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TRANSFER_POLL_MS, type TableView, type TableViewTable, type TagsSourceLabels, TaskThreadPendingError, type ThreadAccessors, ThreadBinding, type ThreadItem, type TimeBucket, type TimelinePart, type ToolResponses, type TrackCutter, type TrackPiece, type TranscriptExportLine, type TranscriptLineRef, type TranscriptSegmentMarker, type TransferConflictPolicy, type TransferKind, type TransferMode, type TransferPlan, type TransferScope, type TransferStatus, type TurnTarget, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UiStateStorage, type UnarchiveEstimate, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageBreakdownBy, type UsageBreakdownKey, type UsageBreakdownSourceLabels, type UsageSourceLabels, type UsageTotals, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseFactsSearchOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingFlag, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORKSPACE_LAST_OPENED_KEY, WORKSPACE_STORAGE_KEY, WORK_NOTIFICATION_LABELS, WORK_OFFLINE_VIEW, type WorkflowsSourceLabels, type WorkspaceArchive, type WorkspaceArchiveState, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceProcessing, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, type WorkspacesSourceLabels, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, adoptNewChatDocument, agentControl, aggregateDataset, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvent, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, assistantLabels, bindThreadDocument, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, calendarOfflineSupport, callLink, callNotificationMeta, captureFrameAsBlob, chatTranscriptRef, claimOfflineQueue, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, closePanelIn, commitFinalMessage, completeQueuedUserMessageByContent, composeArbiSessionStore, compositeFiles, compositeTrack, computeOnline, confirmLosingOfflineMail, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, conversationsPath, createActivitySource, createArbiChatStore, createArbiDocumentSessionStore, createArbiLayoutStore, createArbiQueryClient, createArbiSessionStore, createArbiWorkspaceStore, createChunkedRecorder, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createFactsSource, createLocalFeatureStore, createMailClient, createMemoryDashboardStore, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTagsSource, createTrackCutter, createUiStateStorage, createUsageBreakdownSource, createUsageSource, createWorkflowsSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineRowsSource, defineSkillPack, deleteLocalDraft, deleteOutboxItem, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, documentMailAttachment, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, enqueueOutbox, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, flushDocumentForTurn, flushOnPageExit, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOfflineDocument, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, groupMailConversations, hasPendingFinalCommit, hasPendingMailChange, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isArchiveMoving, isCommentToPeople, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNetworkFailure, isNotificationRow, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTableViewOf, isTransferFinished, isTransferResumable, isUsageMetered, isWorkingOffline, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, loadOfflineDocument, loadAttachment as loadOfflineMailAttachment, mailConversationKey, mailDraftIdFromContent, mailJson, mailThreadRoot, markMessageAsFailed, markNarrationSettled, mergeHostConfig, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nativeThreadKeys, nextAliasSuggestion, nextViewingDocument, notificationUserName, offlineMailReads, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, panelPlace, parseActivityContent, parseDashboardSpec, parseDeleteAccountBlockers, parseSavedChat, parseSavedDocuments, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queueMailChange, queuedMessages, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, registerDocumentTurnFlush, remoteControlActions, remoteControlStateOf, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, restoreSavedDocuments, retryOutboxItem, rollbackOptimisticDocumentEdit, safePortalUrl, saveLocalDraft, saveRecordingFilesToThread, savedChatOf, savedDocumentsOf, savedLayoutOf, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, sendMailFile, serializeDashboardSpec, serverCallsExperimental, serverNotificationBellEntry, setCachedDocument, setMessageContent, setUserInputRequest, setWorkOfflineIn, settledByRows, signatureNotificationPhrase, signatureRequestMeta, skillPackPrompt, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, textToArtifact, threadBinding, threadEndingAtContains, threadPath, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toMailConversation, toNotificationPreferences, toProfileView, toRedlineMarkdown, toRemoteControlRequest, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantArrivals, useAssistantBrief, useAssistantQuery, useAssistantStatus, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOfflineRuntime, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanCreateWorkspaces, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectedMailFiling, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationSearch, useConversationSettings, useConversationThreads, useConversationTurn, useConversationWorkspace, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateDatabase, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDashboardStore, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseDashboardStore, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDashboard, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureCheck, useFeatureSwitch, useFetchCalendarEvent, useFileWaitingNativeMail, useFinaliseTranslation, useFindTime, useFlushOutbox, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateAssistant, useInvalidateEntitlements, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, useInvalidateWorkflows, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useKeepDocumentsOffline, useLinkContact, useLinkMentions, useLocalDrafts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailConversations, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFiling, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailThread, useMailUnlock, useMailWorkspacePrimer, useMailboxFolders, useMailboxSyncProgress, useMarkArrivalWrong, useMarkChatRead, useMarkDocumentShared, useMarkMessageDraftSent, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMessageDetails, useMessageTimer, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNativeMailFiling, useNativeThreadKeys, useNotificationPreferences, useNotifications, useOfflineDocumentIds, useOfflineMailActive, useOfflineMailRuntime, useOfflineMailSettings, useOfflineMailStatus, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useOutbox, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingMailChanges, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingPortal, useProjectConversationUsage, useProjectCreationDenial, useProjectInvoices, useProjectUsage, useProjects, usePublishCalendar, useRateSupportTicket, useReadMailMessage, useReconnect, useRecordingActions, useRecordingWindows, useReferralSummary, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshDocuments, useRefreshProject, useRelatedDocuments, useRemoteControl, useRemoveChatMember, useRemoveDocTags, useRemoveDocumentsOffline, useRemoveModelConnection, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveDashboard, useSaveMailDraft, useSaveModelConnection, useSaveSkill, useSaveToThread, useSavedDashboards, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetNativeMailFiling, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStopMailFilingRule, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSupportTicket, useSupportTickets, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useSyncOfflineMailbox, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateAssistantBrief, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserDashboardStore, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkOffline, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, viewsOfTable, waitForResponseId, wipeCalendarOffline, wipeOfflineDocuments, wipeOfflineMail, withRelativePath, workflowRunTitle, workflowStepOf, workspaceHouseTemplateId, writeSamples };
|
|
16313
|
+
export { AGENT_CONTROL_COMMANDS, AGGREGATE_FIELDS, ALLOWED_PORTAL_ORIGINS, ANALYTICS_CHART_VIEW, ARCHIVE_POLL_MS, ASSISTANT_MENTION_LABEL, AUDIO_MIME_PREFERENCE, AUTO_CHAT_MODEL, AUTO_SYNC_EVERY_MS, type AccessRequestPayload, type AccessRequestRecipient, type AccountClient, type AccountClientContextValue, type AccountHost, type AccountSession, type AccountSignOutOptions, ActiveCall, type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type ActivitySourceLabels, type AddWorkspaceMembersRequest, type AgentAccessMode, type AgentConfigSections, type AgentControlMaps, AgentDmStatus, type AgentQuestionRef, type AgentRunControlState, type AggregateOp, AiAnswer, type AiRunOptions, type AiTaskStatus, type AnalyticsChartRequest, AppNotification, AppleIcon, type ApplyCallEventOptions, ArbiBotHeadIcon, type ArbiChatActions, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatHost, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatState, type ArbiChatStore, type ArbiChatStoreOptions, type ArbiChatThread, type ArbiConversation, type ArbiConversationDocument, type ArbiConversationGeneration, type ArbiDmTab, type ArbiDocumentCommentTarget, type ArbiDocumentSessionActions, type ArbiDocumentSessionState, type ArbiDocumentSessionStore, type ArbiDocumentSessionStoreOptions, type ArbiDocumentViewerState, type ArbiDocumentsPersist, type ArbiDraftDocument, type ArbiDraftKind, type ArbiDraftStorage, type ArbiFeature, type ArbiFeatures, type ArbiGridLayoutState, ArbiHost, type ArbiHostConfig, ArbiHostConnection, ArbiHostProps, type ArbiKeyValueStorage, type ArbiLayoutActions, type ArbiLayoutState, type ArbiLayoutStore, type ArbiLayoutStoreOptions, type ArbiMessageTimer, type ArbiPanelMode, type ArbiPanelsState, type ArbiPassageCitationState, type ArbiPickedPassage, type ArbiQueryClient, type ArbiQueryClientOptions, type ArbiQueryPersistOptions, type ArbiSavedChat, type ArbiSavedDocuments, type ArbiSavedLayout, type ArbiSessionParts, type ArbiSessionPersist, type ArbiSessionState, type ArbiSessionStatus, type ArbiSessionStore, type ArbiSessionStoreOptions, type ArbiShellState, type ArbiSidebarState, type ArbiSignedInSession, type ArbiTabsState, type ArbiThreadComposer, type ArbiThreadTab, type ArbiThreadTabShow, type ArbiThreadTabView, type ArbiThreadTabsController, type ArbiThreadTabsState, type ArbiThreadView, type ArbiViewerTab, type ArbiViewingDocument, type ArbiViewingDocumentInput, type ArbiViewsState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWorkspaceState, type ArbiWorkspaceStatus, type ArbiWorkspaceStorage, type ArbiWorkspaceStore, type ArbiWorkspaceStoreOptions, type ArbiWsHandlers, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AskAgain, type AspectOption, type AssignDocTagsInput, type AssistantMode, AudIcon, type AudioPiece, type AvatarCrop, type AvatarFileProblem, BOOT_GATE_TIMEOUT_MS, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, BUILTIN_DATA_SOURCES, type BranchNavigation, type BranchPoint, type BrowserWorkspaceStorageOptions, type BuildArchiveInput, type BuiltArchive, CALL_MODERATION_TOPIC, CONVERSATION_SWITCH_MEASURE, type CalendarConnectorSupport, type CalendarNotificationMeta, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, type CalendarWriteOp, type CallInviteContact, type CallMutedNotice, type CallRoomEvents, type CallSlotMode, type CallsHost, type ChartSpec, type ChartType, type ChatArrival, ChatBubble, type ChatBubbleProps, ChatMemberKey, type ChatPost, ChatResponse, type ChatSummary, ChatThreadMessage, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, type ConfigUpdate, type ControllingAgent, type ConversationActionsInput, type ConversationEvent, ConversationList, type ConversationListProps, ConversationScope, type ConversationScopeProps, type ConversationsSourceLabels, type CreateProjectVars, type CreateSkillPackOptions, type CreateTagInput, type CreateWorkspaceVars, type CreatedProject, type CropArea, type CropOutput, type CropResult, type CurrentWorkspace, DATABASE_RELATION_PICK_LIMIT, DATABASE_ROWS_PAGE, DEFAULT_ACTIVITY_SOURCE_LABELS, DEFAULT_ASPECT_OPTIONS, DEFAULT_CONVERSATIONS_SOURCE_LABELS, DEFAULT_DATABASE_SOURCE_LABELS, DEFAULT_DOCUMENTS_SOURCE_LABELS, DEFAULT_DOCUMENT_VIEWER_STATE, DEFAULT_FACTS_SOURCE_LABELS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_PROJECTS_SOURCE_LABELS, DEFAULT_TAGS_SOURCE_LABELS, DEFAULT_USAGE_BREAKDOWN_SOURCE_LABELS, DEFAULT_USAGE_SOURCE_LABELS, DEFAULT_WORKFLOWS_SOURCE_LABELS, DEFAULT_WORKSPACES_SOURCE_LABELS, DISMISSED_TASK_TTL_MS, DOCUMENTS_FIRST_PAGE_MEASURE, DOCUMENTS_FIRST_PAGE_SIZE, DOCUMENTS_PAGE_SIZE, DOCUMENT_VIEWER_PANEL, type DashboardSpec, type DashboardStore, type DashboardsHost, type DataSource, type DataSourceFieldsState, type DataSourceOption, type DataSourceParam, type DataSourceParams, type DataSourceRef, type DataSourceRegistry, type DatabaseAggregateRequest, type DatabaseAggregateResult, type DatabaseDashboardStoreOptions, type DatabaseSourceLabels, type Dataset, type DatasetField, type DatasetFieldType, type DatasetFilter, type DatasetOrder, type DatasetQuery, type DatasetRow, type DatasetSort, type DatasetState, type DatasetValue, DateSeparator, type DateSeparatorProps, type DebouncedWriter, type DebouncedWriterOptions, type DefineSkillPackOptions, type DefinedSkillPack, type DeleteAccountBlocker, type DeleteAccountFlow, type DeletedDocument, type DeletedDocumentsPage, type DescribeCalendarNotificationOptions, type DescribeServerNotificationOptions, DictateContextValue, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, type DocumentHostActions, type DocumentPerson, DocumentReview, type DocumentReviewProps, type DocumentRowChange, type DocumentStartItem, type DocumentsSourceLabels, type DocumentsSupport, type DraftKeyValueStore, DraftTitleControls, type DraftTitleControlsProps, EMPTY_CHAT_STATE, EMPTY_DOCUMENT_STATE, EMPTY_GROUP_LABEL, EMPTY_SESSION_STATE, EXPORT_SAMPLE_RATE, type EmailChange, type EmailPreferences, EmlIcon, type EnableDriveSyncVars, type EnableMailboxSyncVars, type EntitledFeature, EntityIconComponent, EntitySize, EntityVocabulary, type ExportDownloadRequest, type ExportFileKind, type ExtractedZip, FACTS_SEARCH_VIEW, FILE_TYPE_COLORS, FINISHED_DOCUMENT_STATUSES, FIRST_TOKEN_MEASURE, type FactListFilter, type FactSearchHit, type FactsSearch, type FactsSearchState, type FactsSourceLabels, type FeatureEntitlements, type FeatureRefusal, type FeatureSource, type FeatureSwitch, type FilterOp, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, type GenerateDocTagsInput, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, type GuidedStep, HostConfigRecord, HtmlIcon, IN_FLIGHT_DOCUMENT_STATUSES, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, IncomingCall, InlineMicButton, type InlineMicButtonProps, type InstallSkillPackVariables, JoinChoices, LIVE_UPDATE_TYPES, LinkedInIcon, type LiveTask, type LocalDraft, type LocalFeatureStore, type LocalFeatureStoreOptions, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, MAX_DASHBOARD_SPEC_CHARS, MAX_SERIES, MAX_THREAD_TABS, MIN_NARRATION_DWELL_MS, MIN_QUEUED_MESSAGE_VISIBILITY_MS, MODEL_GROUP_LABELS, MUTED_DEDUPE_MS, type MailAccount, type MailAddress, type MailAttachment, type MailChange, type MailClient, type MailClientContextValue, type MailCompose, type MailConversation, type MailConversationPage, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFileRequest, type MailFiled, type MailFilingRule, type MailFilingState, type MailFolder, type MailHost, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MailThread, MeetingChatRef, MeetingChatTarget, MentionCandidate, type MessageArtifact, MessageArtifactCard, MessageMentionRef, type MessageTimerResult, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type ModeratedTrack, type MountDiditOptions, type NameEditor, type NativeMailFiling, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OUTBOX_FOLDER, type OfflineDocumentRecord, type OfflineMailReadsOptions, type OfflineMailRuntimeOptions, type OfflineMailScope, type OfflineMailSettings, type OfflineMailStatus, OpenAIIcon, type OpenedRecording, type OptimisticDocumentEdit, type OrderResolver, type OutboxItem, PENDING_SYNC_PREDICATE, PLAYBACK_LOOKAHEAD_MS, POLL_EVERY_MS, PROJECT_CREATION_DENIED_REASON, type PanelDatasetState, type PanelSpec, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PassageResolvers, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, type PendingMailChange, type PendingSyncItem, type PeopleDirectory, type Person, PhotoCapture, type PhotoCaptureProps, PresIcon, type ProcessingTask, type ProfileView, type ProjectCreationRefusal, type ProjectsSourceLabels, type ProjectsSourceOptions, type QueuedCalendarWrite, type QueuedMessage, type QueuedMessages, type QuoteResolver, RECORDING_SEGMENTER, REMOTE_CONTROL_VIEW, RUN_WINDOW_MS, type RawPending, type ReconnectOutcome, type RecordedChunk, type RecordingWindow, type RefusedUploadFile, type RelatedDocs, type RelatedDocsMap, type RelevancePatch, type RemoteControlMessage, type RemoteControlRequest, type RemoteControlSession, type RemoteControlState, type RemoveDocTagsInput, type RenderMarkdown, type RequestAccessOptions, type RowsSourceDefinition, type RowsState, SEGMENT_FRAME_MS, SEGMENT_PRE_ROLL_MS, SHORT_PIECE_MERGE_GAP_MS, SIGNATURE_NOTIFICATION_TYPES, SIMILARITY_THRESHOLD, SLOW_AFTER_MS, STILL_WORKING, type SaveAgentConfigVars, type SavedDashboard, type SealedDraftStorageOptions, type SearchMode, SearchSession, SearchStatus, SegmenterConfig, type SemanticSearch, type SemanticSearchOptions, type SendMessageOptions, type SequencedRow, type SequencedTask, type ServerNotificationBellOptions, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, type SkillPack, type SkillPackEntry, type SkillPackField, type SkillPackSkill, type SkillPackSkillDefinition, type StartTaskQuery, StorageActionError, type StorageActions, type StorageDeploymentUsage, type StorageItem, type StorageItemKind, type StorageItemState, type StorageItemsQuery, type StorageKindUsage, type StoragePersistOptions, type StorageProjectUsage, type StorageScope, type StorageSnapshot, type StreamHandlerContext, type StreamHandlerParams, type StreamHandlers, type StreamState, type SwitchWorkspaceTarget, TRANSFER_POLL_MS, type TableView, type TableViewTable, type TagsSourceLabels, TaskThreadPendingError, type ThreadAccessors, ThreadBinding, type ThreadItem, type TimeBucket, type TimelinePart, type ToolResponses, type TrackCutter, type TrackPiece, type TranscriptExportLine, type TranscriptLineRef, type TranscriptSegmentMarker, type TransferConflictPolicy, type TransferKind, type TransferMode, type TransferPlan, type TransferScope, type TransferStatus, type TurnTarget, type TurnTools, TxtIcon, TypingIndicator, UPLOAD_ACCEPT, UPLOAD_MAX_FILE_SIZE, type UiStateStorage, type UnarchiveEstimate, type UpdateDocTagInput, type UpdateDocumentsInput, type UpdateProfileVars, type UploadDocumentsInput, type UploadFilesInput, type UploadFilesProgress, type UploadFilesResult, type UploadFromUrlsInput, type UploadFromUrlsResult, type UploadRefusal, type UploadUrlsInput, type UsageBreakdownBy, type UsageBreakdownKey, type UsageBreakdownSourceLabels, type UsageSourceLabels, type UsageTotals, type UseAskAgainOptions, type UseAvatarCropOptions, type UseCameraStreamResult, type UseConversationOptions, type UseDeleteAccountFlowOptions, type UseDownloadDocumentsOptions, type UseEmailChangeOptions, type UseFactsSearchOptions, type UseIdentityVerificationFlowOptions, type UseMessageTimerOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseSwitchWorkspaceResult, type UseVideoRecorderResult, type UserResponse, type UserSettingFlag, type UserSettingsPatch, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORKSPACE_LAST_OPENED_KEY, WORKSPACE_STORAGE_KEY, WORK_NOTIFICATION_LABELS, WORK_OFFLINE_VIEW, type WorkflowsSourceLabels, type WorkspaceArchive, type WorkspaceArchiveState, type WorkspaceDocument, type WorkspaceExport, type WorkspaceMember, type WorkspaceNotificationLevel, type WorkspaceProcessing, type WorkspaceRole, type WorkspaceSwitchContext, type WorkspaceUpdate, type WorkspacesSourceLabels, XlsIcon, type ZipExtractor, __resetPendingFinalCommitsForTests, __resetStreamingTokenBufferForTests, acceptRing, accountPath, addAssistantMessageToCache, addConversationToList, addUserMessageToCache, adjustTagCounts, adoptNewChatDocument, agentControl, aggregateDataset, aliasTakenMessage, allConversationThreads, annotateThread, announceMailDraftReplaced, appendTokenToMessage, applyCallEvent, applyConversationEvent, applyFinalContextToMessage, applyLiveUpdate, applyNotificationRow, applyOptimisticDocumentEdit, applyOutputItemToMessage, applyTaskEvent, arbiAccountClient, arbiMailClient, archiveName, archivedWorkspaceMessage, assistantLabels, bindThreadDocument, boundDocumentOf, browserWorkspaceStorage, bucketOf, bucketRange, buildDocumentMetadataRows, buildMentionCandidates, buildPendingFirstTurn, buildPendingSyncItem, buildWorkspaceArchive, cacheThreadBinding, cachedAssistantMode, cachedMentionCandidates, cachedQuotaUsedUp, calendarNotificationMeta, calendarOfflineSupport, callLink, callNotificationMeta, captureFrameAsBlob, chatTranscriptRef, claimOfflineQueue, classifyMediaError, clearLoadingState, clearSealedDrafts, clearUserInputRequest, clockTime, closePanelIn, commitFinalMessage, completeQueuedUserMessageByContent, composeArbiSessionStore, compositeFiles, compositeTrack, computeOnline, confirmLosingOfflineMail, connectOAuthCalendarAccount, connectorErrorStatus, connectorReturnTo, conversationKey, conversationsPath, createActivitySource, createArbiChatStore, createArbiDocumentSessionStore, createArbiLayoutStore, createArbiQueryClient, createArbiSessionStore, createArbiWorkspaceStore, createBrowserStateStorage, createChunkedRecorder, createConversationsSource, createDataSourceRegistry, createDatabaseSource, createDebouncedWriter, createDocumentsSource, createFactsSource, createLocalFeatureStore, createMailClient, createMemoryDashboardStore, createMutedNotifier, createProjectsSource, createSealedDraftStorage, createSkillPack, createStoragePersist, createStreamHandlers, createTagsSource, createTrackCutter, createUiStateStorage, createUsageBreakdownSource, createUsageSource, createWorkflowsSource, createWorkspaceSwitch, createWorkspacesSource, cropImage, cutAtPauses, dayKey, declineRing, decodeMono16k, defaultLayoutState, defaultMailAlias, defineRowsSource, defineSkillPack, deleteLocalDraft, deleteOutboxItem, deploymentUserMeta, describeActivity, describeCalendarNotification, describeServerNotification, discardStreamingTokensForMessage, disconnectAttachedRun, dmTabId, documentActivityMeta, documentActivityPhrase, documentDisplayName, documentMailAttachment, docxMentionMeta, downloadRecoveryFile, dropTagFromCachedDocuments, encodeWav, enqueueOutbox, ensureAssistantMessageLoading, entitlementRefusal, extensionFor, extractZipFile, fallbackFileName, fetchPart, fileAttachment, fileSafe, filesFromDrop, fillTimeGaps, filterRows, findConversation, finishEntityExtraction, floatToWav, flushDocumentForTurn, flushOnPageExit, flushStreamingTokens, forgetDocuments, forgetUploadedDocumentFolder, formatConfigValidationError, formatElapsed, formatIdentityPrice, formatTranscriptMarkdown, getCachedDocuments, getInterjectionText, getNotificationTypeMeta, getOfflineDocument, getOrphanedLastMessage, getRelatedLabels, getRelatedTotal, getRunStartedAt, getThreadsQueryKey, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, groupMailConversations, hasPendingFinalCommit, hasPendingMailChange, hasRecordingTranscript, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateCall, invalidateConversationActivity, invalidateConversationDetails, invalidateConversationLists, invalidateTagData, invalidateTagTables, isActivityKey, isAliasTakenError, isArchiveMoving, isCommentToPeople, isConversationListKey, isConversationShared, isDeploymentAdmin, isDeploymentUserNotification, isDocumentsLoading, isFullConfig, isMessageRunning, isNetworkFailure, isNotificationRow, isOrphanedUserMessage, isPanelOpen, isQueuedCalendarWrite, isRecordingSegmentId, isReplayableArbiMutation, isRowNewer, isSignatureNotificationType, isStaleTaskUpdate, isTableViewOf, isTransferFinished, isTransferResumable, isUsageMetered, isWorkingOffline, isWorkspaceArchivedError, isWorkspaceGuestOf, isWorkspaceNotificationType, isZipFile, joinFromPreJoin, layoutActionsOf, loadOfflineDocument, loadAttachment as loadOfflineMailAttachment, mailConversationKey, mailDraftIdFromContent, mailJson, mailThreadRoot, markMessageAsFailed, markNarrationSettled, mergeHostConfig, migrateLegacyThreadDocuments, mountDiditVerification, mutedNoticeFromEvent, mutedNoticeFromPacket, mutedNoticeText, nativeThreadKeys, nextAliasSuggestion, nextViewingDocument, notificationUserName, offlineMailReads, onCallEvent, openAccessRequest, openCall, openPanelIn, openRecording, panelPlace, parseActivityContent, parseDashboardSpec, parseDeleteAccountBlockers, parseSavedChat, parseSavedDocuments, parseSavedLayout, partKey, partsDue, patchCachedDocument, patchConversation, patchConversationList, patchDocuments, patchWorkspaceTags, pendingChatModelSave, peopleDirectory, personOfUser, pickRecentWorkspaces, pickRecorderMimeType, playheadAt, postRecordingDocsToThread, postTranscriptToThread, prepareUploadFiles, queryOfChart, queueMailChange, queuedMessages, readLocalFeature, readWorkspaceLastOpened, recordingFiles, recordingWindowsOf, recordsOf, redlineStats, refreshDocuments, refuseChatWhenOffline, registerArbiMutationDefaults, registerAttachedRun, registerDocumentTurnFlush, remoteControlActions, remoteControlStateOf, removeConversationFromLists, removeSettledNarration, requestPersistentStorage, resetCalendarAccountSyncState, resetMessageContent, resolveActiveWorkspace, resolveConfigModel, resolveDocumentStatus, resolveReplyTarget, restoreLayout, restoreSavedDocuments, retryOutboxItem, rollbackOptimisticDocumentEdit, safePortalUrl, saveLocalDraft, saveRecordingFilesToThread, savedChatOf, savedDocumentsOf, savedLayoutOf, schedulePart, selectDraft, selectIsGenerating, selectViewingDocumentId, sendMailFile, serializeDashboardSpec, serverCallsExperimental, serverNotificationBellEntry, setCachedDocument, setMessageContent, setUserInputRequest, setWorkOfflineIn, settledByRows, signatureNotificationPhrase, signatureRequestMeta, skillPackPrompt, sortTranscriptMessages, sortedParts, speakerTracks, speakerWav, splitIntoFiles, standalone, startChatCall, startContactsCall, startDmCall, startEntityExtraction, startThreadCall, startsMediaFile, stopDocumentsLoading, stripSpeakerPrefix, subscribeDocumentReads, subscribeDocumentRows, supersedeLiveTranscript, supersededTranscriptLines, supportsHouseTemplates, textToArtifact, threadBinding, threadEndingAtContains, threadPath, threadTabId, threadTranscriptLines, threadTranscriptRef, timelineDurationMs, timelineOf, titleFromQuestion, toChatCitations, toMailConversation, toNotificationPreferences, toProfileView, toRedlineMarkdown, toRemoteControlRequest, toShellWorkspace, transcribeRecording, transcriptSegmentOf, updateMessageWithMetadata, updateUserMessageInCache, updateUserMessageStateInCache, uploadFolderOf, uploadedDocumentFolder, upsertDocuments, useAccountClient, useActOnStep, useActiveConfigId, useActivity, useAddChatMembers, useAddDatabaseRows, useAddHolidayCalendar, useAddProjectAddonBlock, useAddWorkspaceMembers, useAddonQuote, useAgentChats, useAgentConfig, useAgentDmStatus, useAgentModels, useAgentRunControl, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAnswerAgentQuestion, useApplyChatModel, useArbi, useArbiHost, useArbiSession, useArbiSessionState, useArbiSessionStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArchiveProgressPolling, useArchiveWorkspace, useAskAgain, useAssignDocTags, useAssistantArrivals, useAssistantBrief, useAssistantQuery, useAssistantStatus, useAuthorizeLimits, useAutoSendDraft, useAvailableModels, useAvatarCrop, useBookingPages, useBootTimeout, useBoxRole, useBranchNavigation, useBuiltinCommands, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOfflineRuntime, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCall, useCallInviteLinks, useCallRecording, useCallRecordings, useCallTranscriptionAvailable, useCallsConfig, useCallsEnabled, useCameraStream, useCanCreateProjects, useCanCreateWorkspaces, useCanEditShared, useCanHostCalls, useCancelDriveSync, useCancelMailboxSync, useCancelManyPendingSync, useCancelProjectSubscription, useCancelWorkspaceTransfer, useChangeProjectPlan, useChargeWatch, useChatArrivals, useChatPost, useChatSummaries, useChatThread, useChatUnreadTotal, useChats, useClaimNativeAlias, useClaimSecureMail, useCloseAgentSession, useConfig, useConfigSchema, useConfigs, useConfirmEmailChange, useConfirmProjectSpendLimits, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useConnectRunStream, useConnectedMailFiling, useConnectorAutoSync, useConnectorCatalog, useConnectorVendorVisibility, useContacts, useConversation, useConversationActions, useConversationActivity, useConversationData, useConversationDocuments, useConversationIsShared, useConversationItems, useConversationPendingAuth, useConversationSearch, useConversationSettings, useConversationThreads, useConversationTurn, useConversationWorkspace, useConversations, useCreateAgent, useCreateCalendar, useCreateContact, useCreateDatabase, useCreateEvent, useCreateFact, useCreateFacts, useCreateGroupChat, useCreateProject, useCreateProjectCheckout, useCreateRoom, useCreateTag, useCreateWork, useCreateWorkflow, useCreateWorkspace, useCurrentSessionId, useCurrentUser, useCurrentWorkspace, useDashboardStore, useDataSources, useDatabase, useDatabaseAggregate, useDatabaseDashboardStore, useDatabaseRows, useDatabases, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteChatMessage, useDeleteConfig, useDeleteContact, useDeleteConversation, useDeleteDashboard, useDeleteDatabase, useDeleteDatabaseRows, useDeleteDocuments, useDeleteEvent, useDeleteFact, useDeleteMessage, useDeleteNotifications, useDeleteProject, useDeleteSkill, useDeleteTag, useDeleteWorkflow, useDeleteWorkspaces, useDeploymentDomain, useDirectModelUsage, useDisconnectCalendarAccount, useDisconnectConnector, useDisconnectMailAccount, useDisconnectSlack, useDismissedTips, useDocument, useDocumentAutoAdd, useDocumentHostActions, useDocumentPendingSync, useDocumentThumbnails, useDocumentVersionList, useDocuments, useDocumentsLoading, useDocumentsSupport, useDownloadDocuments, useDriveFolderChildren, useDriveFolderDocCount, useDriveFolders, useDriveSyncEstimate, useDriveSyncProgress, useEmailChange, useEnableDriveSync, useEnableMailboxSync, useEntitlements, useEntityExtractionDocIds, useExportDatabase, useExtractEntities, useFacts, useFactsSearch, useFeature, useFeatureCheck, useFeatureSwitch, useFetchCalendarEvent, useFileWaitingNativeMail, useFinaliseTranslation, useFindTime, useFlushOutbox, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGenerateDocTags, useGrantAgentAccess, useHealth, useHolidayCountries, useHouseTemplateCandidates, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useImportContacts, useImportDatabase, useImportDatabaseRows, useInstallSkillPack, useInvalidateAfterTransfer, useInvalidateAssistant, useInvalidateEntitlements, useInvalidateProjects, useInvalidateStorage, useInvalidateTagData, useInvalidateWorkflows, useInviteContacts, useIsCreatingTag, useIsEntitled, useIsSlow, useIsWorkspaceOwner, useKeepDocumentsOffline, useLinkContact, useLinkMentions, useLocalDrafts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailConversations, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFiling, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailThread, useMailUnlock, useMailWorkspacePrimer, useMailboxFolders, useMailboxSyncProgress, useMarkArrivalWrong, useMarkChatRead, useMarkDocumentShared, useMarkMessageDraftSent, useMarkNotificationsRead, useMcpTools, useMeetingReadOnly, useMessageDetails, useMessageTimer, useModelConnections, useMoveEvent, useMoveWorkspaceToProject, useMyConnectors, useNameEditor, useNativeMailFiling, useNativeThreadKeys, useNotificationPreferences, useNotifications, useOfflineDocumentIds, useOfflineMailActive, useOfflineMailRuntime, useOfflineMailSettings, useOfflineMailStatus, useOpenCallMeetingChat, useOpenSelectedWorkspace, useOpenViewerDocumentId, useOutbox, usePanelDataset, useParsedDocument, usePassageQuotes, usePasswordChange, usePasswordChangeForm, usePendingMailChanges, usePendingSyncCounts, usePendingSyncItems, usePeople, usePeopleSearch, usePlanQuote, usePlanWork, usePlanWorkspaceTransfer, usePreviewProjectPlanChange, useProcessingTask, useProcessingTasks, useProducts, useProfile, useProjectBillingCache, useProjectBillingPortal, useProjectConversationUsage, useProjectCreationDenial, useProjectInvoices, useProjectUsage, useProjects, usePublishCalendar, useRateSupportTicket, useReadMailMessage, useReconnect, useRecordingActions, useRecordingWindows, useReferralSummary, useRefreshCalendar, useRefreshConnectorsOnRunEnd, useRefreshDocuments, useRefreshProject, useRelatedDocuments, useRemoteControl, useRemoveChatMember, useRemoveDocTags, useRemoveDocumentsOffline, useRemoveModelConnection, useRemoveWorkspaceMembers, useRenameChat, useRenameFolder, useRequestEmailChange, useRequestWorkspaceAccess, useRespondToEvent, useResumeCalendarAccountConnect, useResumeWorkspaceTransfer, useRevokeAgentAccess, useRevokeCallInviteLink, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveConfig, useSaveConfigField, useSaveDashboard, useSaveMailDraft, useSaveModelConnection, useSaveSkill, useSaveToThread, useSavedDashboards, useSearchContacts, useSearchDatabaseRows, useSearchFacts, useSemanticSearch, useSendMail, useServerCallsEnabled, useServerCallsExperimental, useSessionPageTab, useSessionView, useSessions, useSetDeploymentHouseTemplate, useSetNativeMailFiling, useSetSkillVisibility, useSetTagValues, useSetWorkspaceHouseTemplate, useSetWorkspaceMemberRoles, useShareCalendar, useShellWorkspaces, useSignOut, useSignedInSession, useSimilarDocuments, useSkillSource, useSkills, useSlackConnection, useStartAgentSession, useStartCalendarAccountOAuth, useStartTaskQuery, useStartWorkspaceTransfer, useStopMailFilingRule, useStorageActions, useStorageItemNames, useStorageItems, useStorageProjects, useStorageSnapshots, useStreamHandlers, useSubscribeCalendar, useSupportTicket, useSupportTickets, useSwitchWorkspace, useSyncAccountsOnOpen, useSyncCalendarAccount, useSyncOfflineMailbox, useTagKindSchema, useTags, useTerminateSession, useThinkingContent, useThreadDocument, useThumbnails, useTransientView, useTriggerDriveSync, useTriggerMailboxSync, useUnarchiveWorkspace, useUnlockModelConnections, useUnreadByPeer, useUnshareCalendar, useUpdateAssistantBrief, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateDatabase, useUpdateDatabaseRow, useUpdateDocTag, useUpdateDocuments, useUpdateEvent, useUpdateFact, useUpdateProfile, useUpdateProjectAddonSettings, useUpdateProjectFields, useUpdateProjectNextPeriodAddons, useUpdateTag, useUpdateTagKindSchema, useUpdateUserSettings, useUpdateWorkflow, useUpdateWorkspace, useUploadDocuments, useUploadFiles, useUploadFromUrls, useUploadSkillFiles, useUploadUrls, useUserDashboardStore, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkItems, useWorkOffline, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceArchive, useWorkspaceDocs, useWorkspaceExportDownload, useWorkspaceNotificationLevel, useWorkspaceProcessing, useWorkspaceRole, useWorkspaceTransfer, useWorkspaceTransfers, useWorkspaceTrash, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, viewsOfTable, waitForResponseId, wipeCalendarOffline, wipeOfflineDocuments, wipeOfflineMail, withRelativePath, workflowRunTitle, workflowStepOf, workspaceHouseTemplateId, writeSamples };
|
|
@@ -85,7 +85,7 @@ function getWorkspaceActionText(type) {
|
|
|
85
85
|
case "workspaceuser_added_collaborator":
|
|
86
86
|
return "added you as collaborator";
|
|
87
87
|
case "workspaceuser_added_guest":
|
|
88
|
-
return "added you as
|
|
88
|
+
return "added you as a viewer";
|
|
89
89
|
case "workspaceuser_removed":
|
|
90
90
|
return "removed you";
|
|
91
91
|
case "workspaceuser_updated_owner":
|
|
@@ -93,7 +93,7 @@ function getWorkspaceActionText(type) {
|
|
|
93
93
|
case "workspaceuser_updated_collaborator":
|
|
94
94
|
return "changed your role to collaborator";
|
|
95
95
|
case "workspaceuser_updated_guest":
|
|
96
|
-
return "changed your role to
|
|
96
|
+
return "changed your role to viewer";
|
|
97
97
|
default:
|
|
98
98
|
return "updated your access";
|
|
99
99
|
}
|
|
@@ -105,7 +105,7 @@ function getWorkspaceSentPhrase(type) {
|
|
|
105
105
|
case "workspaceuser_added_collaborator":
|
|
106
106
|
return { before: "You added", after: "as collaborator" };
|
|
107
107
|
case "workspaceuser_added_guest":
|
|
108
|
-
return { before: "You added", after: "as
|
|
108
|
+
return { before: "You added", after: "as a viewer" };
|
|
109
109
|
case "workspaceuser_removed":
|
|
110
110
|
return { before: "You removed", after: "" };
|
|
111
111
|
case "workspaceuser_updated_owner":
|
|
@@ -113,7 +113,7 @@ function getWorkspaceSentPhrase(type) {
|
|
|
113
113
|
case "workspaceuser_updated_collaborator":
|
|
114
114
|
return { before: "You set", after: "as collaborator" };
|
|
115
115
|
case "workspaceuser_updated_guest":
|
|
116
|
-
return { before: "You set", after: "as
|
|
116
|
+
return { before: "You set", after: "as a viewer" };
|
|
117
117
|
default:
|
|
118
118
|
return { before: "You updated access for", after: "" };
|
|
119
119
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/notifications/notification-types.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Notification-type presentation primitives \u2014 the brand-neutral icon, colour and\n * label maps for every `NotificationType`, plus the workspace-membership phrasing\n * helpers. Kept in their own module (not a component file) so both the monolith's\n * AG-Grid notification centre and lightweight consumers (e.g. clarum's activity\n * feed) share one source of truth for \"what does this notification type mean\",\n * and so component files stay fast-refresh friendly.\n *\n * Deliberately decoupled: no store, no app `@/` imports \u2014 just lucide icon\n * components + semantic Tailwind token class names. Callers render the icon\n * themselves (`<Icon className={iconClassName} />`).\n */\n\nimport {\n Activity,\n AtSign,\n FileText,\n Gauge,\n Gift,\n HardDrive,\n Info,\n MessageCircleMore,\n PartyPopper,\n PenLine,\n Reply,\n UserCheck,\n UserPlus,\n} from 'lucide-react'\nimport { getEntityIcon, type EntityIconComponent } from '../entities/registry'\n\n/** Icon component, its colour class, and a short human label for a notification type. */\nexport interface NotificationTypeMeta {\n Icon: EntityIconComponent\n /** Semantic Tailwind colour class for the glyph. */\n iconClassName: string\n /** Short category label (e.g. \"Added\", \"Usage 90%\"). */\n label: string\n}\n\n/**\n * Resolve the icon + colour + short label for a notification type.\n *\n * Workspace-membership events all share the workspace glyph \u2014 the specific role\n * lives in the Event sentence (see {@link getWorkspaceSentPhrase}), so the label\n * stays short (\"Added\", not \"Added as collaborator\"). Unknown types fall back to\n * an info glyph and the raw type string.\n */\nexport function getNotificationTypeMeta(type: string | null | undefined): NotificationTypeMeta {\n // Resolve the workspace glyph live (not at module load) so a deployment's\n // configureEntityRegistry() injection is always reflected, regardless of import order.\n const WorkspaceIcon = getEntityIcon('WORKSPACE') as EntityIconComponent\n switch (type) {\n case 'support_ticket_received':\n case 'support_ticket_reviewed':\n case 'support_ticket_resolved':\n return { Icon: MessageCircleMore, iconClassName: 'text-primary', label: 'Support' }\n case 'agent_input_requested':\n return { Icon: MessageCircleMore, iconClassName: 'text-primary', label: 'Input needed' }\n case 'workspaceuser_added_owner':\n case 'workspaceuser_added_collaborator':\n case 'workspaceuser_added_guest':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Added' }\n case 'workspaceuser_removed':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Removed' }\n case 'workspaceuser_updated_owner':\n case 'workspaceuser_updated_collaborator':\n case 'workspaceuser_updated_guest':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Role changed' }\n case 'docx_mention':\n case 'mention':\n return { Icon: AtSign, iconClassName: 'text-primary', label: 'Mention' }\n case 'file_shared':\n return { Icon: FileText, iconClassName: 'text-primary', label: 'Shared file' }\n case 'signature_requested':\n return { Icon: PenLine, iconClassName: 'text-primary', label: 'Signature' }\n case 'signature_completed':\n return { Icon: PenLine, iconClassName: 'text-green-600', label: 'Signed' }\n case 'signature_declined':\n return { Icon: PenLine, iconClassName: 'text-orange-500', label: 'Declined' }\n case 'thread_reply':\n return { Icon: Reply, iconClassName: 'text-primary', label: 'Reply' }\n case 'document_activity':\n return { Icon: FileText, iconClassName: 'text-primary', label: 'Document' }\n case 'contact_accepted':\n return { Icon: UserCheck, iconClassName: 'text-green-500', label: 'Invitation' }\n case 'deployment_user_invited':\n case 'deployment_user_registered':\n return { Icon: UserPlus, iconClassName: 'text-primary', label: 'Users' }\n case 'signup_reward':\n return { Icon: PartyPopper, iconClassName: 'text-green-600', label: 'Signup bonus' }\n case 'referral_reward':\n return { Icon: Gift, iconClassName: 'text-green-600', label: 'Reward earned' }\n case 'project_quota_warning':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Usage warning' }\n case 'project_retention':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Project retention' }\n case 'quota_threshold_50':\n return { Icon: Gauge, iconClassName: 'text-blue-500', label: 'Usage 50%' }\n case 'quota_threshold_90':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Usage 90%' }\n case 'quota_threshold_100':\n return { Icon: Gauge, iconClassName: 'text-red-500', label: 'Usage limit' }\n case 'storage_quota_exceeded':\n return { Icon: HardDrive, iconClassName: 'text-red-500', label: 'Storage full' }\n case 'activity':\n // Durable to-self activity line \u2014 the specific event lives in `content`.\n // Callers that have the content should prefer describeActivity() for a\n // precise glyph/label; this is the type-only fallback.\n return { Icon: Activity, iconClassName: 'text-muted-foreground', label: 'Activity' }\n default:\n return { Icon: Info, iconClassName: 'text-blue-500', label: type || 'Notification' }\n }\n}\n\n/** Whether a notification type is a workspace-membership event. */\nexport function isWorkspaceNotificationType(type: string): boolean {\n return type.startsWith('workspaceuser_')\n}\n\n/**\n * Recipient-perspective action text (\"you received\"). Renders after the sender\n * pill: \"[sender] added you as collaborator\". The workspace renders in its own\n * column, so there's no trailing preposition.\n */\nexport function getWorkspaceActionText(type: string): string {\n switch (type) {\n case 'workspaceuser_added_owner':\n return 'added you as owner'\n case 'workspaceuser_added_collaborator':\n return 'added you as collaborator'\n case 'workspaceuser_added_guest':\n return 'added you as
|
|
5
|
-
"mappings": "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
|
|
4
|
+
"sourcesContent": ["/**\n * Notification-type presentation primitives \u2014 the brand-neutral icon, colour and\n * label maps for every `NotificationType`, plus the workspace-membership phrasing\n * helpers. Kept in their own module (not a component file) so both the monolith's\n * AG-Grid notification centre and lightweight consumers (e.g. clarum's activity\n * feed) share one source of truth for \"what does this notification type mean\",\n * and so component files stay fast-refresh friendly.\n *\n * Deliberately decoupled: no store, no app `@/` imports \u2014 just lucide icon\n * components + semantic Tailwind token class names. Callers render the icon\n * themselves (`<Icon className={iconClassName} />`).\n */\n\nimport {\n Activity,\n AtSign,\n FileText,\n Gauge,\n Gift,\n HardDrive,\n Info,\n MessageCircleMore,\n PartyPopper,\n PenLine,\n Reply,\n UserCheck,\n UserPlus,\n} from 'lucide-react'\nimport { getEntityIcon, type EntityIconComponent } from '../entities/registry'\n\n/** Icon component, its colour class, and a short human label for a notification type. */\nexport interface NotificationTypeMeta {\n Icon: EntityIconComponent\n /** Semantic Tailwind colour class for the glyph. */\n iconClassName: string\n /** Short category label (e.g. \"Added\", \"Usage 90%\"). */\n label: string\n}\n\n/**\n * Resolve the icon + colour + short label for a notification type.\n *\n * Workspace-membership events all share the workspace glyph \u2014 the specific role\n * lives in the Event sentence (see {@link getWorkspaceSentPhrase}), so the label\n * stays short (\"Added\", not \"Added as collaborator\"). Unknown types fall back to\n * an info glyph and the raw type string.\n */\nexport function getNotificationTypeMeta(type: string | null | undefined): NotificationTypeMeta {\n // Resolve the workspace glyph live (not at module load) so a deployment's\n // configureEntityRegistry() injection is always reflected, regardless of import order.\n const WorkspaceIcon = getEntityIcon('WORKSPACE') as EntityIconComponent\n switch (type) {\n case 'support_ticket_received':\n case 'support_ticket_reviewed':\n case 'support_ticket_resolved':\n return { Icon: MessageCircleMore, iconClassName: 'text-primary', label: 'Support' }\n case 'agent_input_requested':\n return { Icon: MessageCircleMore, iconClassName: 'text-primary', label: 'Input needed' }\n case 'workspaceuser_added_owner':\n case 'workspaceuser_added_collaborator':\n case 'workspaceuser_added_guest':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Added' }\n case 'workspaceuser_removed':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Removed' }\n case 'workspaceuser_updated_owner':\n case 'workspaceuser_updated_collaborator':\n case 'workspaceuser_updated_guest':\n return { Icon: WorkspaceIcon, iconClassName: 'text-primary', label: 'Role changed' }\n case 'docx_mention':\n case 'mention':\n return { Icon: AtSign, iconClassName: 'text-primary', label: 'Mention' }\n case 'file_shared':\n return { Icon: FileText, iconClassName: 'text-primary', label: 'Shared file' }\n case 'signature_requested':\n return { Icon: PenLine, iconClassName: 'text-primary', label: 'Signature' }\n case 'signature_completed':\n return { Icon: PenLine, iconClassName: 'text-green-600', label: 'Signed' }\n case 'signature_declined':\n return { Icon: PenLine, iconClassName: 'text-orange-500', label: 'Declined' }\n case 'thread_reply':\n return { Icon: Reply, iconClassName: 'text-primary', label: 'Reply' }\n case 'document_activity':\n return { Icon: FileText, iconClassName: 'text-primary', label: 'Document' }\n case 'contact_accepted':\n return { Icon: UserCheck, iconClassName: 'text-green-500', label: 'Invitation' }\n case 'deployment_user_invited':\n case 'deployment_user_registered':\n return { Icon: UserPlus, iconClassName: 'text-primary', label: 'Users' }\n case 'signup_reward':\n return { Icon: PartyPopper, iconClassName: 'text-green-600', label: 'Signup bonus' }\n case 'referral_reward':\n return { Icon: Gift, iconClassName: 'text-green-600', label: 'Reward earned' }\n case 'project_quota_warning':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Usage warning' }\n case 'project_retention':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Project retention' }\n case 'quota_threshold_50':\n return { Icon: Gauge, iconClassName: 'text-blue-500', label: 'Usage 50%' }\n case 'quota_threshold_90':\n return { Icon: Gauge, iconClassName: 'text-orange-500', label: 'Usage 90%' }\n case 'quota_threshold_100':\n return { Icon: Gauge, iconClassName: 'text-red-500', label: 'Usage limit' }\n case 'storage_quota_exceeded':\n return { Icon: HardDrive, iconClassName: 'text-red-500', label: 'Storage full' }\n case 'activity':\n // Durable to-self activity line \u2014 the specific event lives in `content`.\n // Callers that have the content should prefer describeActivity() for a\n // precise glyph/label; this is the type-only fallback.\n return { Icon: Activity, iconClassName: 'text-muted-foreground', label: 'Activity' }\n default:\n return { Icon: Info, iconClassName: 'text-blue-500', label: type || 'Notification' }\n }\n}\n\n/** Whether a notification type is a workspace-membership event. */\nexport function isWorkspaceNotificationType(type: string): boolean {\n return type.startsWith('workspaceuser_')\n}\n\n/**\n * Recipient-perspective action text (\"you received\"). Renders after the sender\n * pill: \"[sender] added you as collaborator\". The workspace renders in its own\n * column, so there's no trailing preposition.\n */\nexport function getWorkspaceActionText(type: string): string {\n switch (type) {\n case 'workspaceuser_added_owner':\n return 'added you as owner'\n case 'workspaceuser_added_collaborator':\n return 'added you as collaborator'\n case 'workspaceuser_added_guest':\n return 'added you as a viewer'\n case 'workspaceuser_removed':\n return 'removed you'\n case 'workspaceuser_updated_owner':\n return 'changed your role to owner'\n case 'workspaceuser_updated_collaborator':\n return 'changed your role to collaborator'\n case 'workspaceuser_updated_guest':\n return 'changed your role to viewer'\n default:\n return 'updated your access'\n }\n}\n\n/**\n * Sender-perspective phrasing (\"you did this\"). Renders around the affected\n * member pill \u2014 `{before} [member] {after}` \u2014 so it reads as an active sentence:\n * \"You added [Jane] as collaborator\" rather than the ambiguous \"Added as\n * collaborator: Jane\".\n */\nexport function getWorkspaceSentPhrase(type: string): { before: string; after: string } {\n switch (type) {\n case 'workspaceuser_added_owner':\n return { before: 'You added', after: 'as owner' }\n case 'workspaceuser_added_collaborator':\n return { before: 'You added', after: 'as collaborator' }\n case 'workspaceuser_added_guest':\n return { before: 'You added', after: 'as a viewer' }\n case 'workspaceuser_removed':\n return { before: 'You removed', after: '' }\n case 'workspaceuser_updated_owner':\n return { before: 'You set', after: 'as owner' }\n case 'workspaceuser_updated_collaborator':\n return { before: 'You set', after: 'as collaborator' }\n case 'workspaceuser_updated_guest':\n return { before: 'You set', after: 'as a viewer' }\n default:\n return { before: 'You updated access for', after: '' }\n }\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -231,7 +231,7 @@ function describeServerNotification(n, options = {}) {
|
|
|
231
231
|
target: workspace
|
|
232
232
|
};
|
|
233
233
|
case "workspaceuser_added_guest":
|
|
234
|
-
return { title: `${senderName} added you as
|
|
234
|
+
return { title: `${senderName} added you as a viewer`, variant: "info", target: workspace };
|
|
235
235
|
case "workspaceuser_removed":
|
|
236
236
|
return { title: `${senderName} removed you from a workspace`, variant: "warning" };
|
|
237
237
|
case "workspaceuser_updated_owner":
|
|
@@ -248,7 +248,7 @@ function describeServerNotification(n, options = {}) {
|
|
|
248
248
|
};
|
|
249
249
|
case "workspaceuser_updated_guest":
|
|
250
250
|
return {
|
|
251
|
-
title: `${senderName} changed your role to
|
|
251
|
+
title: `${senderName} changed your role to viewer`,
|
|
252
252
|
variant: "info",
|
|
253
253
|
target: workspace
|
|
254
254
|
};
|