@arbidocs/react 0.4.71 → 0.4.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/annotations/index.cjs +48 -48
  2. package/dist/annotations/index.js +2 -2
  3. package/dist/artifacts/index.cjs +7 -7
  4. package/dist/artifacts/index.js +2 -2
  5. package/dist/{chunk-6TFD5OS5.cjs → chunk-GE5TAR7Y.cjs} +3 -2
  6. package/dist/chunk-GE5TAR7Y.cjs.map +1 -0
  7. package/dist/{chunk-3QF5DNAP.js → chunk-IHTBAY57.js} +3 -3
  8. package/dist/{chunk-3QF5DNAP.js.map → chunk-IHTBAY57.js.map} +1 -1
  9. package/dist/{chunk-6ERJUIMQ.js → chunk-IQ5TYPVU.js} +3 -2
  10. package/dist/chunk-IQ5TYPVU.js.map +1 -0
  11. package/dist/{chunk-ULU5LEWF.cjs → chunk-L2PXZWJM.cjs} +25 -25
  12. package/dist/{chunk-ULU5LEWF.cjs.map → chunk-L2PXZWJM.cjs.map} +1 -1
  13. package/dist/{chunk-V4CXOPLB.js → chunk-MHCN7OST.js} +19 -7
  14. package/dist/{chunk-V4CXOPLB.js.map → chunk-MHCN7OST.js.map} +1 -1
  15. package/dist/{chunk-BTRIS3HY.cjs → chunk-QJRP2LLQ.cjs} +19 -6
  16. package/dist/chunk-QJRP2LLQ.cjs.map +1 -0
  17. package/dist/{chunk-LQ5YHB7W.cjs → chunk-WYZJLZ67.cjs} +6 -4
  18. package/dist/chunk-WYZJLZ67.cjs.map +1 -0
  19. package/dist/{chunk-WS6DF5X4.js → chunk-YNNAJJ5Z.js} +6 -4
  20. package/dist/chunk-YNNAJJ5Z.js.map +1 -0
  21. package/dist/document-tools/index.cjs +6 -6
  22. package/dist/document-tools/index.js +3 -3
  23. package/dist/{index-BWv_FKi3.d.cts → index-BVMBElCu.d.cts} +82 -1
  24. package/dist/{index-BWv_FKi3.d.ts → index-BVMBElCu.d.ts} +82 -1
  25. package/dist/index.cjs +641 -314
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.cts +281 -5
  28. package/dist/index.d.ts +281 -5
  29. package/dist/index.js +324 -11
  30. package/dist/index.js.map +1 -1
  31. package/dist/ui/index.cjs +129 -125
  32. package/dist/ui/index.d.cts +1 -1
  33. package/dist/ui/index.d.ts +1 -1
  34. package/dist/ui/index.js +2 -2
  35. package/package.json +4 -3
  36. package/dist/chunk-6ERJUIMQ.js.map +0 -1
  37. package/dist/chunk-6TFD5OS5.cjs.map +0 -1
  38. package/dist/chunk-BTRIS3HY.cjs.map +0 -1
  39. package/dist/chunk-LQ5YHB7W.cjs.map +0 -1
  40. package/dist/chunk-WS6DF5X4.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode, ComponentType } from 'react';
3
3
  import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
4
- import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, UpdateConversationRequest, UpdateWorkflowRequest, LoginProfile } from '@arbidocs/sdk/browser';
4
+ import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, LoginProfile } from '@arbidocs/sdk/browser';
5
5
  export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse } from '@arbidocs/sdk/browser';
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
7
  import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
@@ -9,8 +9,9 @@ export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePo
9
9
  import * as zustand from 'zustand';
10
10
  import * as _tanstack_query_core from '@tanstack/query-core';
11
11
  import * as _tanstack_react_query from '@tanstack/react-query';
12
- import { ab as EntityIconComponent } from './index-BWv_FKi3.cjs';
13
- export { A as AgentBadge, a as AiMarkdown, b as Avatar, c as AvatarFallback, d as AvatarImage, B as BASE_COLORS, e as Badge, f as BadgeProps, g as Button, h as ButtonProps, C as Card, i as CardContent, j as CardDescription, k as CardFooter, l as CardHeader, m as CardProps, n as CardTitle, o as Checkbox, p as Collapsible, q as CollapsibleContent, r as CollapsibleTrigger, s as Command, t as CommandDialog, u as CommandEmpty, v as CommandGroup, w as CommandInput, x as CommandItem, y as CommandList, z as CommandSeparator, D as CommandShortcut, E as Dialog, F as DialogClose, G as DialogContent, H as DialogDescription, I as DialogFooter, J as DialogHeader, K as DialogOverlay, L as DialogPortal, M as DialogPresentation, N as DialogTitle, O as DialogTrigger, P as DictateContextValue, Q as DictateProvider, R as DocumentCard, S as DocumentCardProps, T as DocumentEntity, U as DocumentEntityProps, V as DocumentLike, W as DropdownMenu, X as DropdownMenuCheckboxItem, Y as DropdownMenuContent, Z as DropdownMenuGroup, _ as DropdownMenuItem, $ as DropdownMenuLabel, a0 as DropdownMenuPortal, a1 as DropdownMenuRadioGroup, a2 as DropdownMenuRadioItem, a3 as DropdownMenuSeparator, a4 as DropdownMenuShortcut, a5 as DropdownMenuSub, a6 as DropdownMenuSubContent, a7 as DropdownMenuSubTrigger, a8 as DropdownMenuTrigger, a9 as ENTITY_MAPPINGS, aa as EntityIcon, ac as EntityPill, ad as EntityRegistryOverride, ae as EntityType, af as HoverCard, ag as HoverCardContent, ah as HoverCardTrigger, ai as IconToggle, aj as IconToggleProps, ak as Input, al as InputProps, am as Label, an as MarkMenu, ao as MarkMenuItem, ap as MarkMenuProps, aq as MarkdownRenderer, ar as MarkdownRendererProps, as as MarkdownStreamingContext, at as NEUTRAL_GRAY, au as PLACEHOLDER_COLOR, av as PassageCard, aw as PassageCardProps, ax as Popover, ay as PopoverAnchor, az as PopoverContent, aA as PopoverTrigger, aB as PortalContainerProvider, aC as PresenceDisplayStatus, aD as PresenceLabel, aE as Progress, aF as ProjectEntity, aG as ProjectEntityProps, aH as ProjectRelation, aI as RadioGroup, aJ as RadioGroupItem, aK as Rag, aL as RagDot, aM as RelevanceDot, aN as ScrollArea, aO as ScrollBar, aP as Select, aQ as SelectContent, aR as SelectGroup, aS as SelectItem, aT as SelectLabel, aU as SelectScrollDownButton, aV as SelectScrollUpButton, aW as SelectSeparator, aX as SelectTrigger, aY as SelectValue, aZ as Separator, a_ as Slider, a$ as StatusBadgeComponent, b0 as StatusBadgeProps, b1 as StatusPill, b2 as StatusPillProps, b3 as StatusVariant, b4 as Switch, b5 as TAG_TYPE_ICONS, b6 as TAG_TYPE_LABELS, b7 as Table, b8 as TableBody, b9 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, bA as UserMenuProps, bB as UserMenuStatus, bC as VISIBILITY_ICONS, bD as VisibilityIcon, bE as VisibilityToggle, bF as VisibilityToggleProps, bG as badgeVariants, bH as buttonVariants, bI as cardVariants, bJ as closeOpenEmphasis, bK as cn, bL as configureEntityRegistry, bM as configureRagLabels, bN as configureStatusRegistry, bO as getDocIcon, bP as getEntityColor, bQ as getEntityColorStyles, bR as getEntityIcon, bS as getEntityLabel, bT as getStatusVariant, bU as getTagTypeIcon, bV as getTagTypeLabel, bW as getWorkspaceColor, bX as markdownBaseComponents, bY as normalizeCitationMarkup, bZ as splitMarkdownBlocks, b_ as toggleVariants, b$ as trimOpenCitation, c0 as usePortalContainer } from './index-BWv_FKi3.cjs';
12
+ import { ao as IdentityStatus, am as IdentityPurchase, ap as IdentityStep, aq as IdentityVerificationFlow, ab as EntityIconComponent } from './index-BVMBElCu.cjs';
13
+ export { A as AgentBadge, a as AiMarkdown, b as Avatar, c as AvatarFallback, d as AvatarImage, B as BASE_COLORS, e as Badge, f as BadgeProps, g as Button, h as ButtonProps, C as Card, i as CardContent, j as CardDescription, k as CardFooter, l as CardHeader, m as CardProps, n as CardTitle, o as Checkbox, p as Collapsible, q as CollapsibleContent, r as CollapsibleTrigger, s as Command, t as CommandDialog, u as CommandEmpty, v as CommandGroup, w as CommandInput, x as CommandItem, y as CommandList, z as CommandSeparator, D as CommandShortcut, E as Dialog, F as DialogClose, G as DialogContent, H as DialogDescription, I as DialogFooter, J as DialogHeader, K as DialogOverlay, L as DialogPortal, M as DialogPresentation, N as DialogTitle, O as DialogTrigger, P as DictateContextValue, Q as DictateProvider, R as DocumentCard, S as DocumentCardProps, T as DocumentEntity, U as DocumentEntityProps, V as DocumentLike, W as DropdownMenu, X as DropdownMenuCheckboxItem, Y as DropdownMenuContent, Z as DropdownMenuGroup, _ as DropdownMenuItem, $ as DropdownMenuLabel, a0 as DropdownMenuPortal, a1 as DropdownMenuRadioGroup, a2 as DropdownMenuRadioItem, a3 as DropdownMenuSeparator, a4 as DropdownMenuShortcut, a5 as DropdownMenuSub, a6 as DropdownMenuSubContent, a7 as DropdownMenuSubTrigger, a8 as DropdownMenuTrigger, a9 as ENTITY_MAPPINGS, aa as EntityIcon, ac as EntityPill, ad as EntityRegistryOverride, ae as EntityType, af as HoverCard, ag as HoverCardContent, ah as HoverCardTrigger, ai as IconToggle, aj as IconToggleProps, ak as IdentityBusy, al as IdentityProblem, an as IdentityState, ar as Input, as as InputProps, at as Label, au as MarkMenu, av as MarkMenuItem, aw as MarkMenuProps, ax as MarkdownRenderer, ay as MarkdownRendererProps, az as MarkdownStreamingContext, aA as NEUTRAL_GRAY, aB as PLACEHOLDER_COLOR, aC as PassageCard, aD as PassageCardProps, aE as Popover, aF as PopoverAnchor, aG as PopoverContent, aH as PopoverTrigger, aI as PortalContainerProvider, aJ as PresenceDisplayStatus, aK as PresenceLabel, aL as Progress, aM as ProjectEntity, aN as ProjectEntityProps, aO as ProjectRelation, aP as RadioGroup, aQ as RadioGroupItem, aR as Rag, aS as RagDot, aT as RelevanceDot, aU as ScrollArea, aV as ScrollBar, aW as Select, aX as SelectContent, aY as SelectGroup, aZ as SelectItem, a_ as SelectLabel, a$ as SelectScrollDownButton, b0 as SelectScrollUpButton, b1 as SelectSeparator, b2 as SelectTrigger, b3 as SelectValue, b4 as Separator, b5 as Slider, b6 as StatusBadgeComponent, b7 as StatusBadgeProps, b8 as StatusPill, b9 as StatusPillProps, ba as StatusVariant, bb as Switch, bc as TAG_TYPE_ICONS, bd as TAG_TYPE_LABELS, be as Table, bf as TableBody, bg as TableCaption, bh as TableCell, bi as TableFooter, bj as TableHead, bk as TableHeader, bl as TableRow, bm as Tabs, bn as TabsContent, bo as TabsList, bp as TabsTrigger, bq as TagEntity, br as TagEntityProps, bs as TagLike, bt as Textarea, bu as TextareaProps, bv as ThreadVisibilityIcon, bw as Toggle, bx as ToggleGroup, by as ToggleGroupItem, bz as Tooltip, bA as TooltipContent, bB as TooltipProvider, bC as TooltipTrigger, bD as UserEntity, bE as UserEntityProps, bF as UserMenu, bG as UserMenuItem, bH as UserMenuProps, bI as UserMenuStatus, bJ as VISIBILITY_ICONS, bK as VerifiedBadge, bL as VerifiedBadgeProps, bM as VisibilityIcon, bN as VisibilityToggle, bO as VisibilityToggleProps, bP as badgeVariants, bQ as buttonVariants, bR as cardVariants, bS as closeOpenEmphasis, bT as cn, bU as configureEntityRegistry, bV as configureRagLabels, bW as configureStatusRegistry, bX as getDocIcon, bY as getEntityColor, bZ as getEntityColorStyles, b_ as getEntityIcon, b$ as getEntityLabel, c0 as getStatusVariant, c1 as getTagTypeIcon, c2 as getTagTypeLabel, c3 as getWorkspaceColor, c4 as markdownBaseComponents, c5 as normalizeCitationMarkup, c6 as splitMarkdownBlocks, c7 as toggleVariants, c8 as trimOpenCitation, c9 as usePortalContainer } from './index-BVMBElCu.cjs';
14
+ import { VerificationResult } from '@didit-protocol/sdk-web';
14
15
  import { LucideIcon } from 'lucide-react';
15
16
  import { Components } from 'react-markdown';
16
17
  export { D as DraftCleanReport, a as DraftCleanStage, c as cleanDraftMarkdown, b as cleanDraftWithReport, p as promoteBoldTitle, r as repairParsedStructure, d as repairParsedTitle, s as stripAgentPreamble, u as unescapeMarkdown, e as unwrapCitationLinks } from './stored-markdown-Bp18vrbr.cjs';
@@ -549,6 +550,7 @@ declare const arbiQueryKeys: {
549
550
  models: () => readonly ["arbi", "models"];
550
551
  /** The signed-in user's own profile (name, picture, email). */
551
552
  profile: () => readonly ["arbi", "profile"];
553
+ identity: () => readonly ["arbi", "identity"];
552
554
  /** The signed-in user's settings record (notification preferences, flags). */
553
555
  userSettings: () => readonly ["arbi", "userSettings"];
554
556
  };
@@ -566,6 +568,7 @@ declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
566
568
  picture?: string | null | undefined;
567
569
  encryption_public_key: string;
568
570
  is_sso: boolean;
571
+ is_identity_verified: boolean;
569
572
  };
570
573
  role: _arbidocs_client.components["schemas"]["WorkspaceRole"];
571
574
  joined_at: string;
@@ -605,6 +608,7 @@ declare function useWorkspaces(options?: {
605
608
  picture?: string | null | undefined;
606
609
  encryption_public_key: string;
607
610
  is_sso: boolean;
611
+ is_identity_verified: boolean;
608
612
  };
609
613
  role: _arbidocs_client.components["schemas"]["WorkspaceRole"];
610
614
  joined_at: string;
@@ -735,6 +739,9 @@ declare function useConversations(workspaceId: string | undefined, options?: {
735
739
  workflow_ext_id?: string | null | undefined;
736
740
  agent_ext_id?: string | null | undefined;
737
741
  skill_ref?: string | null | undefined;
742
+ skill_inputs?: {
743
+ [x: string]: unknown;
744
+ } | null | undefined;
738
745
  has_agent_action: boolean;
739
746
  auth_mode?: (_arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null) | undefined;
740
747
  plan?: {
@@ -745,6 +752,22 @@ declare function useConversations(workspaceId: string | undefined, options?: {
745
752
  }[];
746
753
  max_passes: number;
747
754
  documents: string[];
755
+ steps: {
756
+ id: string;
757
+ title: string;
758
+ kind: "form" | "upload" | "agent" | "review";
759
+ after?: string[] | null | undefined;
760
+ skill?: string | null | undefined;
761
+ prompt?: string | null | undefined;
762
+ inputs?: {
763
+ [x: string]: string;
764
+ } | null | undefined;
765
+ branch: boolean;
766
+ requires_files: boolean;
767
+ ui?: {
768
+ [x: string]: unknown;
769
+ } | null | undefined;
770
+ }[];
748
771
  } | null | undefined;
749
772
  goal_state?: {
750
773
  [x: string]: unknown;
@@ -1022,6 +1045,7 @@ declare function useAgents(options?: {
1022
1045
  picture?: string | null;
1023
1046
  encryption_public_key: string;
1024
1047
  is_sso: boolean;
1048
+ is_identity_verified: boolean;
1025
1049
  }[]>, Error>;
1026
1050
  /**
1027
1051
  * Delete agents. Returns a mutation. Refreshes the agent list, the workflow list and the conversation list
@@ -1121,6 +1145,7 @@ declare function useActivity(options?: {
1121
1145
  picture?: string | null | undefined;
1122
1146
  encryption_public_key: string;
1123
1147
  is_sso: boolean;
1148
+ is_identity_verified: boolean;
1124
1149
  };
1125
1150
  recipient: {
1126
1151
  external_id: string;
@@ -1131,6 +1156,7 @@ declare function useActivity(options?: {
1131
1156
  picture?: string | null | undefined;
1132
1157
  encryption_public_key: string;
1133
1158
  is_sso: boolean;
1159
+ is_identity_verified: boolean;
1134
1160
  };
1135
1161
  workspace_ext_id?: string | null | undefined;
1136
1162
  dm_context_only: boolean;
@@ -1149,7 +1175,6 @@ declare function useProjects(options?: {
1149
1175
  external_id: string;
1150
1176
  name: string;
1151
1177
  created_by: string;
1152
- packs: number;
1153
1178
  subscription: string;
1154
1179
  created_at: string;
1155
1180
  quotas: {
@@ -1168,9 +1193,73 @@ declare function useProjects(options?: {
1168
1193
  budget_reset_at?: number | null | undefined;
1169
1194
  };
1170
1195
  daily_cap_per_user?: number | null | undefined;
1196
+ plan_interval?: ("month" | "year") | null | undefined;
1197
+ packs: number;
1198
+ plan_change?: {
1199
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
1200
+ charged_pence: number;
1201
+ charged_ex_vat_pence: number;
1202
+ confirm_url?: string | null | undefined;
1203
+ } | null | undefined;
1204
+ addons?: {
1205
+ packs: number;
1206
+ packs_next?: number | null | undefined;
1207
+ plan_name: string;
1208
+ plan_credits: number;
1209
+ plan_storage_gb: number;
1210
+ block_credits: number;
1211
+ block_storage_gb: number;
1212
+ credit_blocks: number;
1213
+ storage_blocks: number;
1214
+ credit_blocks_next?: number | null | undefined;
1215
+ storage_blocks_next?: number | null | undefined;
1216
+ storage_blocks_min: number;
1217
+ auto_topup_threshold_credits: number;
1218
+ min_auto_topup_threshold_credits: number;
1219
+ spend_cap_pence?: number | null | undefined;
1220
+ addon_spend_pence: number;
1221
+ addon_spend_window_end?: number | null | undefined;
1222
+ block_monthly_pence: number;
1223
+ block_monthly_ex_vat_pence: number;
1224
+ block_period_pence: number;
1225
+ block_period_ex_vat_pence: number;
1226
+ credit_block_price_pence: number;
1227
+ credit_block_price_ex_vat_pence: number;
1228
+ storage_block_price_pence: number;
1229
+ storage_block_price_ex_vat_pence: number;
1230
+ cap_reached: boolean;
1231
+ period_end?: number | null | undefined;
1232
+ credits_reset_at?: number | null | undefined;
1233
+ pending_interval?: ("month" | "year") | null | undefined;
1234
+ billing_error?: string | null | undefined;
1235
+ confirm_url?: string | null | undefined;
1236
+ upsell?: {
1237
+ variant: "compare" | "save";
1238
+ interval: "month" | "year";
1239
+ add_on_count: number;
1240
+ current_monthly_pence: number;
1241
+ current_monthly_ex_vat_pence: number;
1242
+ pro_plus_monthly_pence: number;
1243
+ pro_plus_monthly_ex_vat_pence: number;
1244
+ pro_plus_period_pence: number;
1245
+ pro_plus_credits: number;
1246
+ pro_plus_storage_gb: number;
1247
+ saving_monthly_pence: number;
1248
+ } | null | undefined;
1249
+ payment?: {
1250
+ status: "pending" | "paid";
1251
+ kind?: ("credits" | "storage") | null | undefined;
1252
+ amount_pence?: number | null | undefined;
1253
+ amount_ex_vat_pence?: number | null | undefined;
1254
+ tax_pence?: number | null | undefined;
1255
+ at?: number | null | undefined;
1256
+ confirm_url?: string | null | undefined;
1257
+ } | null | undefined;
1258
+ } | null | undefined;
1171
1259
  price_id?: string | null | undefined;
1172
1260
  plan?: string | null | undefined;
1173
1261
  amount?: number | null | undefined;
1262
+ amount_ex_vat?: number | null | undefined;
1174
1263
  currency?: string | null | undefined;
1175
1264
  current_period_end?: number | null | undefined;
1176
1265
  cancel_at_period_end?: boolean | null | undefined;
@@ -1768,6 +1857,9 @@ declare function useUpdateConversation(): _tanstack_react_query.UseMutationResul
1768
1857
  workflow_ext_id?: string | null;
1769
1858
  agent_ext_id?: string | null;
1770
1859
  skill_ref?: string | null;
1860
+ skill_inputs?: {
1861
+ [key: string]: unknown;
1862
+ } | null;
1771
1863
  has_agent_action: boolean;
1772
1864
  auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
1773
1865
  plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
@@ -1814,6 +1906,9 @@ declare function useCreateWork(): _tanstack_react_query.UseMutationResult<{
1814
1906
  workflow_ext_id?: string | null;
1815
1907
  agent_ext_id?: string | null;
1816
1908
  skill_ref?: string | null;
1909
+ skill_inputs?: {
1910
+ [key: string]: unknown;
1911
+ } | null;
1817
1912
  has_agent_action: boolean;
1818
1913
  auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
1819
1914
  plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
@@ -1872,6 +1967,9 @@ declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
1872
1967
  workflow_ext_id?: string | null;
1873
1968
  agent_ext_id?: string | null;
1874
1969
  skill_ref?: string | null;
1970
+ skill_inputs?: {
1971
+ [key: string]: unknown;
1972
+ } | null;
1875
1973
  has_agent_action: boolean;
1876
1974
  auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
1877
1975
  plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
@@ -1886,12 +1984,62 @@ declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
1886
1984
  owner_ext_id?: string | null;
1887
1985
  is_owner: boolean;
1888
1986
  }, Error, string, unknown>;
1987
+ /**
1988
+ * Complete or skip a step of a workflow run (a form, an upload, a review's approval). The run then
1989
+ * starts its next agent step; the conversation and its activity are refetched.
1990
+ */
1991
+ declare function useActOnStep(): _tanstack_react_query.UseMutationResult<{
1992
+ label_ext_ids?: string[];
1993
+ external_id: string;
1994
+ title: string | null;
1995
+ created_by_ext_id: string;
1996
+ updated_by_ext_id?: string | null;
1997
+ created_at: string;
1998
+ updated_at: string;
1999
+ is_shared: boolean;
2000
+ message_count: number;
2001
+ last_message_actor?: _arbidocs_client.components["schemas"]["ConversationTurnActor"] | null;
2002
+ last_message_ext_id?: string | null;
2003
+ last_message_role?: string | null;
2004
+ last_message_updated_at?: string | null;
2005
+ last_message_status?: string | null;
2006
+ assistant_mode: _arbidocs_client.components["schemas"]["AssistantMode"];
2007
+ status?: _arbidocs_client.components["schemas"]["WorkStatus"] | null;
2008
+ description?: string | null;
2009
+ due_at?: string | null;
2010
+ completed_at?: string | null;
2011
+ completed_by_ext_id?: string | null;
2012
+ parent_conversation_ext_id?: string | null;
2013
+ workflow_ext_id?: string | null;
2014
+ agent_ext_id?: string | null;
2015
+ skill_ref?: string | null;
2016
+ skill_inputs?: {
2017
+ [key: string]: unknown;
2018
+ } | null;
2019
+ has_agent_action: boolean;
2020
+ auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
2021
+ plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
2022
+ goal_state?: {
2023
+ [key: string]: unknown;
2024
+ } | null;
2025
+ last_error?: string | null;
2026
+ pending_auth_request_id?: string | null;
2027
+ in_progress: boolean;
2028
+ active_response_id?: string | null;
2029
+ run_started_at?: string | null;
2030
+ owner_ext_id?: string | null;
2031
+ is_owner: boolean;
2032
+ }, Error, {
2033
+ conversationId: string;
2034
+ body: StepActionRequest;
2035
+ }, unknown>;
1889
2036
  /** Draft an editable plan (goal and acceptance checklist) from an objective. */
1890
2037
  declare function usePlanWork(): _tanstack_react_query.UseMutationResult<{
1891
2038
  goal: string;
1892
2039
  criteria: _arbidocs_client.components["schemas"]["TaskPlanCriterion"][];
1893
2040
  max_passes: number;
1894
2041
  documents: string[];
2042
+ steps: _arbidocs_client.components["schemas"]["TaskPlanStep"][];
1895
2043
  }, Error, {
1896
2044
  objective: string;
1897
2045
  max_passes: number;
@@ -2085,6 +2233,7 @@ declare function useCreateAgent(): _tanstack_react_query.UseMutationResult<{
2085
2233
  picture?: string | null;
2086
2234
  encryption_public_key: string;
2087
2235
  is_sso: boolean;
2236
+ is_identity_verified: boolean;
2088
2237
  signing_private_key: string;
2089
2238
  }, Error, string, unknown>;
2090
2239
  /**
@@ -2161,6 +2310,7 @@ declare function useGrantAgentAccess(): _tanstack_react_query.UseMutationResult<
2161
2310
  picture?: string | null | undefined;
2162
2311
  encryption_public_key: string;
2163
2312
  is_sso: boolean;
2313
+ is_identity_verified: boolean;
2164
2314
  };
2165
2315
  role: _arbidocs_client.components["schemas"]["WorkspaceRole"];
2166
2316
  joined_at: string;
@@ -2260,6 +2410,7 @@ declare function useContacts(options?: {
2260
2410
  picture?: string | null | undefined;
2261
2411
  encryption_public_key: string;
2262
2412
  is_sso: boolean;
2413
+ is_identity_verified: boolean;
2263
2414
  } | null | undefined;
2264
2415
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2265
2416
  created_at: string;
@@ -2283,6 +2434,7 @@ declare function usePendingContacts(options?: {
2283
2434
  picture?: string | null | undefined;
2284
2435
  encryption_public_key: string;
2285
2436
  is_sso: boolean;
2437
+ is_identity_verified: boolean;
2286
2438
  } | null | undefined;
2287
2439
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2288
2440
  created_at: string;
@@ -2302,6 +2454,7 @@ declare function usePendingContacts(options?: {
2302
2454
  picture?: string | null | undefined;
2303
2455
  encryption_public_key: string;
2304
2456
  is_sso: boolean;
2457
+ is_identity_verified: boolean;
2305
2458
  } | null | undefined;
2306
2459
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2307
2460
  created_at: string;
@@ -2343,6 +2496,7 @@ declare function usePendingContacts(options?: {
2343
2496
  picture?: string | null | undefined;
2344
2497
  encryption_public_key: string;
2345
2498
  is_sso: boolean;
2499
+ is_identity_verified: boolean;
2346
2500
  } | null | undefined;
2347
2501
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2348
2502
  created_at: string;
@@ -2363,6 +2517,7 @@ declare function usePendingContacts(options?: {
2363
2517
  picture?: string | null | undefined;
2364
2518
  encryption_public_key: string;
2365
2519
  is_sso: boolean;
2520
+ is_identity_verified: boolean;
2366
2521
  } | null | undefined;
2367
2522
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2368
2523
  created_at: string;
@@ -2383,6 +2538,7 @@ declare function usePendingContacts(options?: {
2383
2538
  picture?: string | null | undefined;
2384
2539
  encryption_public_key: string;
2385
2540
  is_sso: boolean;
2541
+ is_identity_verified: boolean;
2386
2542
  } | null | undefined;
2387
2543
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2388
2544
  created_at: string;
@@ -2402,6 +2558,7 @@ declare function usePendingContacts(options?: {
2402
2558
  picture?: string | null | undefined;
2403
2559
  encryption_public_key: string;
2404
2560
  is_sso: boolean;
2561
+ is_identity_verified: boolean;
2405
2562
  } | null | undefined;
2406
2563
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2407
2564
  created_at: string;
@@ -2443,6 +2600,7 @@ declare function usePendingContacts(options?: {
2443
2600
  picture?: string | null | undefined;
2444
2601
  encryption_public_key: string;
2445
2602
  is_sso: boolean;
2603
+ is_identity_verified: boolean;
2446
2604
  } | null | undefined;
2447
2605
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2448
2606
  created_at: string;
@@ -2463,6 +2621,7 @@ declare function usePendingContacts(options?: {
2463
2621
  picture?: string | null | undefined;
2464
2622
  encryption_public_key: string;
2465
2623
  is_sso: boolean;
2624
+ is_identity_verified: boolean;
2466
2625
  } | null | undefined;
2467
2626
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2468
2627
  created_at: string;
@@ -2483,6 +2642,7 @@ declare function usePendingContacts(options?: {
2483
2642
  picture?: string | null | undefined;
2484
2643
  encryption_public_key: string;
2485
2644
  is_sso: boolean;
2645
+ is_identity_verified: boolean;
2486
2646
  } | null | undefined;
2487
2647
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2488
2648
  created_at: string;
@@ -2525,6 +2685,7 @@ declare function usePendingContacts(options?: {
2525
2685
  picture?: string | null | undefined;
2526
2686
  encryption_public_key: string;
2527
2687
  is_sso: boolean;
2688
+ is_identity_verified: boolean;
2528
2689
  } | null | undefined;
2529
2690
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2530
2691
  created_at: string;
@@ -2545,6 +2706,7 @@ declare function usePendingContacts(options?: {
2545
2706
  picture?: string | null | undefined;
2546
2707
  encryption_public_key: string;
2547
2708
  is_sso: boolean;
2709
+ is_identity_verified: boolean;
2548
2710
  } | null | undefined;
2549
2711
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2550
2712
  created_at: string;
@@ -2565,6 +2727,7 @@ declare function usePendingContacts(options?: {
2565
2727
  picture?: string | null | undefined;
2566
2728
  encryption_public_key: string;
2567
2729
  is_sso: boolean;
2730
+ is_identity_verified: boolean;
2568
2731
  } | null | undefined;
2569
2732
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2570
2733
  created_at: string;
@@ -2607,6 +2770,7 @@ declare function usePendingContacts(options?: {
2607
2770
  picture?: string | null | undefined;
2608
2771
  encryption_public_key: string;
2609
2772
  is_sso: boolean;
2773
+ is_identity_verified: boolean;
2610
2774
  } | null | undefined;
2611
2775
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2612
2776
  created_at: string;
@@ -2627,6 +2791,7 @@ declare function usePendingContacts(options?: {
2627
2791
  picture?: string | null | undefined;
2628
2792
  encryption_public_key: string;
2629
2793
  is_sso: boolean;
2794
+ is_identity_verified: boolean;
2630
2795
  } | null | undefined;
2631
2796
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2632
2797
  created_at: string;
@@ -2647,6 +2812,7 @@ declare function usePendingContacts(options?: {
2647
2812
  picture?: string | null | undefined;
2648
2813
  encryption_public_key: string;
2649
2814
  is_sso: boolean;
2815
+ is_identity_verified: boolean;
2650
2816
  } | null | undefined;
2651
2817
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2652
2818
  created_at: string;
@@ -2689,6 +2855,7 @@ declare function usePendingContacts(options?: {
2689
2855
  picture?: string | null | undefined;
2690
2856
  encryption_public_key: string;
2691
2857
  is_sso: boolean;
2858
+ is_identity_verified: boolean;
2692
2859
  } | null | undefined;
2693
2860
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2694
2861
  created_at: string;
@@ -2709,6 +2876,7 @@ declare function usePendingContacts(options?: {
2709
2876
  picture?: string | null | undefined;
2710
2877
  encryption_public_key: string;
2711
2878
  is_sso: boolean;
2879
+ is_identity_verified: boolean;
2712
2880
  } | null | undefined;
2713
2881
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2714
2882
  created_at: string;
@@ -2729,6 +2897,7 @@ declare function usePendingContacts(options?: {
2729
2897
  picture?: string | null | undefined;
2730
2898
  encryption_public_key: string;
2731
2899
  is_sso: boolean;
2900
+ is_identity_verified: boolean;
2732
2901
  } | null | undefined;
2733
2902
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2734
2903
  created_at: string;
@@ -2748,6 +2917,7 @@ declare function usePendingContacts(options?: {
2748
2917
  picture?: string | null | undefined;
2749
2918
  encryption_public_key: string;
2750
2919
  is_sso: boolean;
2920
+ is_identity_verified: boolean;
2751
2921
  } | null | undefined;
2752
2922
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2753
2923
  created_at: string;
@@ -2789,6 +2959,7 @@ declare function usePendingContacts(options?: {
2789
2959
  picture?: string | null | undefined;
2790
2960
  encryption_public_key: string;
2791
2961
  is_sso: boolean;
2962
+ is_identity_verified: boolean;
2792
2963
  } | null | undefined;
2793
2964
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2794
2965
  created_at: string;
@@ -2809,6 +2980,7 @@ declare function usePendingContacts(options?: {
2809
2980
  picture?: string | null | undefined;
2810
2981
  encryption_public_key: string;
2811
2982
  is_sso: boolean;
2983
+ is_identity_verified: boolean;
2812
2984
  } | null | undefined;
2813
2985
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2814
2986
  created_at: string;
@@ -2833,6 +3005,7 @@ declare function useAddContacts(): _tanstack_react_query.UseMutationResult<{
2833
3005
  picture?: string | null | undefined;
2834
3006
  encryption_public_key: string;
2835
3007
  is_sso: boolean;
3008
+ is_identity_verified: boolean;
2836
3009
  } | null | undefined;
2837
3010
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2838
3011
  created_at: string;
@@ -2850,6 +3023,8 @@ interface ProfileView {
2850
3023
  email: string;
2851
3024
  /** The sign-in provider manages the email (it cannot be changed here). */
2852
3025
  isSso: boolean;
3026
+ /** Verified tick: passed an ID check under this name, not expired. */
3027
+ isIdentityVerified?: boolean;
2853
3028
  /** Given and family name joined; empty while the profile has no name. */
2854
3029
  fullName: string;
2855
3030
  }
@@ -3199,6 +3374,67 @@ interface DeleteAccountFlow {
3199
3374
  /** Step, typed-email confirmation and blockers of `DeleteAccountDialog`. */
3200
3375
  declare function useDeleteAccountFlow({ userEmail, remove, onClose, onDeleted, onError, }: UseDeleteAccountFlowOptions): DeleteAccountFlow;
3201
3376
 
3377
+ /**
3378
+ * Identity verification: the optional, paid ID check behind the verified tick (Pro plans only).
3379
+ *
3380
+ * Two layers, like `profile.ts`. `useIdentityVerificationFlow` owns the dialog's state and takes
3381
+ * the backend calls as functions, so an app with its own API layer (ARBI-frontend) binds the same
3382
+ * `IdentityVerificationCard` / `IdentityVerificationDialog` blocks without a provider.
3383
+ * `useIdentityVerification` binds it to the SDK (`arbi.identity`).
3384
+ *
3385
+ * Steps: pay the one-time fee (charged to the user's Pro project card) → verify inside Didit's
3386
+ * embedded frame → result (verified, declined, in review, or the name on the document differs from
3387
+ * the account name, offered as the new name). No webhooks: completing Didit's flow calls `refresh`.
3388
+ */
3389
+
3390
+ /** The backend calls of the flow, as functions (see the module comment). */
3391
+ interface IdentityVerificationApi {
3392
+ status: () => Promise<IdentityStatus>;
3393
+ purchase: () => Promise<IdentityPurchase>;
3394
+ /** The Didit session URL. */
3395
+ startSession: () => Promise<string>;
3396
+ refresh: () => Promise<IdentityStatus>;
3397
+ acceptName: () => Promise<IdentityStatus>;
3398
+ remove: () => Promise<IdentityStatus>;
3399
+ }
3400
+ interface UseIdentityVerificationFlowOptions {
3401
+ /** Load the status (default true; e.g. false while signed out). */
3402
+ enabled?: boolean;
3403
+ /** The tick changed (granted, renamed away, removed): update the host's copy of the user. */
3404
+ onVerifiedChange?: (verified: boolean) => void;
3405
+ /** The account name became the name on the document. */
3406
+ onNameAccepted?: (name: {
3407
+ givenName: string;
3408
+ familyName: string | null;
3409
+ }) => void;
3410
+ /** The host's price format (e.g. its billing helpers); default `formatIdentityPrice`. */
3411
+ formatPrice?: (status: IdentityStatus) => string;
3412
+ }
3413
+ /** Which step the dialog opens on for a status. */
3414
+ declare function identityStepFor(status: IdentityStatus | undefined): IdentityStep;
3415
+ /** "£5.00 incl. VAT": the fee is quoted including UK VAT. */
3416
+ declare function formatIdentityPrice(status: IdentityStatus): string;
3417
+ /** The identity verification dialog's state, bound to the backend calls in `api`. */
3418
+ declare function useIdentityVerificationFlow(api: IdentityVerificationApi, { enabled, onVerifiedChange, onNameAccepted, formatPrice, }?: UseIdentityVerificationFlowOptions): IdentityVerificationFlow;
3419
+ /** The identity verification flow bound to the SDK; the profile query follows the tick and name. */
3420
+ declare function useIdentityVerification(options?: Omit<UseIdentityVerificationFlowOptions, 'enabled'>): IdentityVerificationFlow;
3421
+
3422
+ /**
3423
+ * Didit's web SDK, loaded only when a verification starts (like the app loads Stripe), and run
3424
+ * embedded in a host element. ID capture, liveness and face match all happen inside Didit's frame.
3425
+ */
3426
+
3427
+ interface MountDiditOptions {
3428
+ /** The Didit session URL from the backend. */
3429
+ url: string;
3430
+ /** Id of the element the verification renders into; it must have a height. */
3431
+ containerId: string;
3432
+ /** The user finished, cancelled or the flow failed (`cameraAccessDenied`, `sessionExpired`, …). */
3433
+ onResult: (result: VerificationResult) => void;
3434
+ }
3435
+ /** Start the embedded verification. Resolves with a teardown; rejects if the SDK can't load. */
3436
+ declare function mountDiditVerification({ url, containerId, onResult, }: MountDiditOptions): Promise<() => void>;
3437
+
3202
3438
  /**
3203
3439
  * Credits: the unit the ARBI backend reports AI usage in.
3204
3440
  *
@@ -3975,6 +4211,7 @@ declare function useWorkNotifications(options: {
3975
4211
  picture?: string | null | undefined;
3976
4212
  encryption_public_key: string;
3977
4213
  is_sso: boolean;
4214
+ is_identity_verified: boolean;
3978
4215
  };
3979
4216
  recipient: {
3980
4217
  external_id: string;
@@ -3985,6 +4222,7 @@ declare function useWorkNotifications(options: {
3985
4222
  picture?: string | null | undefined;
3986
4223
  encryption_public_key: string;
3987
4224
  is_sso: boolean;
4225
+ is_identity_verified: boolean;
3988
4226
  };
3989
4227
  workspace_ext_id?: string | null | undefined;
3990
4228
  dm_context_only: boolean;
@@ -4030,6 +4268,7 @@ declare function useWorkNotifications(options: {
4030
4268
  picture?: string | null | undefined;
4031
4269
  encryption_public_key: string;
4032
4270
  is_sso: boolean;
4271
+ is_identity_verified: boolean;
4033
4272
  };
4034
4273
  recipient: {
4035
4274
  external_id: string;
@@ -4040,6 +4279,7 @@ declare function useWorkNotifications(options: {
4040
4279
  picture?: string | null | undefined;
4041
4280
  encryption_public_key: string;
4042
4281
  is_sso: boolean;
4282
+ is_identity_verified: boolean;
4043
4283
  };
4044
4284
  workspace_ext_id?: string | null | undefined;
4045
4285
  dm_context_only: boolean;
@@ -4064,6 +4304,7 @@ declare function useWorkNotifications(options: {
4064
4304
  picture?: string | null | undefined;
4065
4305
  encryption_public_key: string;
4066
4306
  is_sso: boolean;
4307
+ is_identity_verified: boolean;
4067
4308
  };
4068
4309
  recipient: {
4069
4310
  external_id: string;
@@ -4074,6 +4315,7 @@ declare function useWorkNotifications(options: {
4074
4315
  picture?: string | null | undefined;
4075
4316
  encryption_public_key: string;
4076
4317
  is_sso: boolean;
4318
+ is_identity_verified: boolean;
4077
4319
  };
4078
4320
  workspace_ext_id?: string | null | undefined;
4079
4321
  dm_context_only: boolean;
@@ -4099,6 +4341,7 @@ declare function useWorkNotifications(options: {
4099
4341
  picture?: string | null | undefined;
4100
4342
  encryption_public_key: string;
4101
4343
  is_sso: boolean;
4344
+ is_identity_verified: boolean;
4102
4345
  };
4103
4346
  recipient: {
4104
4347
  external_id: string;
@@ -4109,6 +4352,7 @@ declare function useWorkNotifications(options: {
4109
4352
  picture?: string | null | undefined;
4110
4353
  encryption_public_key: string;
4111
4354
  is_sso: boolean;
4355
+ is_identity_verified: boolean;
4112
4356
  };
4113
4357
  workspace_ext_id?: string | null | undefined;
4114
4358
  dm_context_only: boolean;
@@ -4154,6 +4398,7 @@ declare function useWorkNotifications(options: {
4154
4398
  picture?: string | null | undefined;
4155
4399
  encryption_public_key: string;
4156
4400
  is_sso: boolean;
4401
+ is_identity_verified: boolean;
4157
4402
  };
4158
4403
  recipient: {
4159
4404
  external_id: string;
@@ -4164,6 +4409,7 @@ declare function useWorkNotifications(options: {
4164
4409
  picture?: string | null | undefined;
4165
4410
  encryption_public_key: string;
4166
4411
  is_sso: boolean;
4412
+ is_identity_verified: boolean;
4167
4413
  };
4168
4414
  workspace_ext_id?: string | null | undefined;
4169
4415
  dm_context_only: boolean;
@@ -4188,6 +4434,7 @@ declare function useWorkNotifications(options: {
4188
4434
  picture?: string | null | undefined;
4189
4435
  encryption_public_key: string;
4190
4436
  is_sso: boolean;
4437
+ is_identity_verified: boolean;
4191
4438
  };
4192
4439
  recipient: {
4193
4440
  external_id: string;
@@ -4198,6 +4445,7 @@ declare function useWorkNotifications(options: {
4198
4445
  picture?: string | null | undefined;
4199
4446
  encryption_public_key: string;
4200
4447
  is_sso: boolean;
4448
+ is_identity_verified: boolean;
4201
4449
  };
4202
4450
  workspace_ext_id?: string | null | undefined;
4203
4451
  dm_context_only: boolean;
@@ -4246,6 +4494,7 @@ declare function useWorkNotifications(options: {
4246
4494
  picture?: string | null | undefined;
4247
4495
  encryption_public_key: string;
4248
4496
  is_sso: boolean;
4497
+ is_identity_verified: boolean;
4249
4498
  };
4250
4499
  recipient: {
4251
4500
  external_id: string;
@@ -4256,6 +4505,7 @@ declare function useWorkNotifications(options: {
4256
4505
  picture?: string | null | undefined;
4257
4506
  encryption_public_key: string;
4258
4507
  is_sso: boolean;
4508
+ is_identity_verified: boolean;
4259
4509
  };
4260
4510
  workspace_ext_id?: string | null | undefined;
4261
4511
  dm_context_only: boolean;
@@ -4280,6 +4530,7 @@ declare function useWorkNotifications(options: {
4280
4530
  picture?: string | null | undefined;
4281
4531
  encryption_public_key: string;
4282
4532
  is_sso: boolean;
4533
+ is_identity_verified: boolean;
4283
4534
  };
4284
4535
  recipient: {
4285
4536
  external_id: string;
@@ -4290,6 +4541,7 @@ declare function useWorkNotifications(options: {
4290
4541
  picture?: string | null | undefined;
4291
4542
  encryption_public_key: string;
4292
4543
  is_sso: boolean;
4544
+ is_identity_verified: boolean;
4293
4545
  };
4294
4546
  workspace_ext_id?: string | null | undefined;
4295
4547
  dm_context_only: boolean;
@@ -4338,6 +4590,7 @@ declare function useWorkNotifications(options: {
4338
4590
  picture?: string | null | undefined;
4339
4591
  encryption_public_key: string;
4340
4592
  is_sso: boolean;
4593
+ is_identity_verified: boolean;
4341
4594
  };
4342
4595
  recipient: {
4343
4596
  external_id: string;
@@ -4348,6 +4601,7 @@ declare function useWorkNotifications(options: {
4348
4601
  picture?: string | null | undefined;
4349
4602
  encryption_public_key: string;
4350
4603
  is_sso: boolean;
4604
+ is_identity_verified: boolean;
4351
4605
  };
4352
4606
  workspace_ext_id?: string | null | undefined;
4353
4607
  dm_context_only: boolean;
@@ -4372,6 +4626,7 @@ declare function useWorkNotifications(options: {
4372
4626
  picture?: string | null | undefined;
4373
4627
  encryption_public_key: string;
4374
4628
  is_sso: boolean;
4629
+ is_identity_verified: boolean;
4375
4630
  };
4376
4631
  recipient: {
4377
4632
  external_id: string;
@@ -4382,6 +4637,7 @@ declare function useWorkNotifications(options: {
4382
4637
  picture?: string | null | undefined;
4383
4638
  encryption_public_key: string;
4384
4639
  is_sso: boolean;
4640
+ is_identity_verified: boolean;
4385
4641
  };
4386
4642
  workspace_ext_id?: string | null | undefined;
4387
4643
  dm_context_only: boolean;
@@ -4430,6 +4686,7 @@ declare function useWorkNotifications(options: {
4430
4686
  picture?: string | null | undefined;
4431
4687
  encryption_public_key: string;
4432
4688
  is_sso: boolean;
4689
+ is_identity_verified: boolean;
4433
4690
  };
4434
4691
  recipient: {
4435
4692
  external_id: string;
@@ -4440,6 +4697,7 @@ declare function useWorkNotifications(options: {
4440
4697
  picture?: string | null | undefined;
4441
4698
  encryption_public_key: string;
4442
4699
  is_sso: boolean;
4700
+ is_identity_verified: boolean;
4443
4701
  };
4444
4702
  workspace_ext_id?: string | null | undefined;
4445
4703
  dm_context_only: boolean;
@@ -4464,6 +4722,7 @@ declare function useWorkNotifications(options: {
4464
4722
  picture?: string | null | undefined;
4465
4723
  encryption_public_key: string;
4466
4724
  is_sso: boolean;
4725
+ is_identity_verified: boolean;
4467
4726
  };
4468
4727
  recipient: {
4469
4728
  external_id: string;
@@ -4474,6 +4733,7 @@ declare function useWorkNotifications(options: {
4474
4733
  picture?: string | null | undefined;
4475
4734
  encryption_public_key: string;
4476
4735
  is_sso: boolean;
4736
+ is_identity_verified: boolean;
4477
4737
  };
4478
4738
  workspace_ext_id?: string | null | undefined;
4479
4739
  dm_context_only: boolean;
@@ -4499,6 +4759,7 @@ declare function useWorkNotifications(options: {
4499
4759
  picture?: string | null | undefined;
4500
4760
  encryption_public_key: string;
4501
4761
  is_sso: boolean;
4762
+ is_identity_verified: boolean;
4502
4763
  };
4503
4764
  recipient: {
4504
4765
  external_id: string;
@@ -4509,6 +4770,7 @@ declare function useWorkNotifications(options: {
4509
4770
  picture?: string | null | undefined;
4510
4771
  encryption_public_key: string;
4511
4772
  is_sso: boolean;
4773
+ is_identity_verified: boolean;
4512
4774
  };
4513
4775
  workspace_ext_id?: string | null | undefined;
4514
4776
  dm_context_only: boolean;
@@ -4554,6 +4816,7 @@ declare function useWorkNotifications(options: {
4554
4816
  picture?: string | null | undefined;
4555
4817
  encryption_public_key: string;
4556
4818
  is_sso: boolean;
4819
+ is_identity_verified: boolean;
4557
4820
  };
4558
4821
  recipient: {
4559
4822
  external_id: string;
@@ -4564,6 +4827,7 @@ declare function useWorkNotifications(options: {
4564
4827
  picture?: string | null | undefined;
4565
4828
  encryption_public_key: string;
4566
4829
  is_sso: boolean;
4830
+ is_identity_verified: boolean;
4567
4831
  };
4568
4832
  workspace_ext_id?: string | null | undefined;
4569
4833
  dm_context_only: boolean;
@@ -4588,6 +4852,7 @@ declare function useWorkNotifications(options: {
4588
4852
  picture?: string | null | undefined;
4589
4853
  encryption_public_key: string;
4590
4854
  is_sso: boolean;
4855
+ is_identity_verified: boolean;
4591
4856
  };
4592
4857
  recipient: {
4593
4858
  external_id: string;
@@ -4598,6 +4863,7 @@ declare function useWorkNotifications(options: {
4598
4863
  picture?: string | null | undefined;
4599
4864
  encryption_public_key: string;
4600
4865
  is_sso: boolean;
4866
+ is_identity_verified: boolean;
4601
4867
  };
4602
4868
  workspace_ext_id?: string | null | undefined;
4603
4869
  dm_context_only: boolean;
@@ -5486,6 +5752,16 @@ declare function useVideoRecorder(stream: MediaStream | null): UseVideoRecorderR
5486
5752
  */
5487
5753
  declare function captureFrameAsBlob(video: HTMLVideoElement, mimeType?: string): Promise<Blob>;
5488
5754
 
5755
+ /**
5756
+ * Shared getUserMedia error classification — used by both `useAudioRecorder`
5757
+ * (microphone) and `useCameraStream` (camera), so "permission denied" /
5758
+ * "device not found" / "not supported" read as the same message shape
5759
+ * regardless of which device was requested, without duplicating the
5760
+ * DOMException-name matching in every recorder hook.
5761
+ */
5762
+ type MediaDeviceKind = 'microphone' | 'camera';
5763
+ declare function classifyMediaError(err: unknown, kind: MediaDeviceKind): string;
5764
+
5489
5765
  /**
5490
5766
  * PhotoCapture
5491
5767
  *
@@ -5576,4 +5852,4 @@ interface ArbiUiState {
5576
5852
  }
5577
5853
  declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
5578
5854
 
5579
- export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAX_AVATAR_FILE_BYTES, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeResult, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, XlsIcon, annotateThread, arbiQueryKeys, captureFrameAsBlob, creditsToUsd, cropImage, dayKey, describeActivity, formatCredits, formatElapsed, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, isUsageMetered, isWorkspaceNotificationType, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDocuments, useEmailChange, useFacts, useGrantAgentAccess, useHealth, useLogoutAllSessions, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSemanticSearch, useSessions, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateProfile, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceDocs, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials };
5855
+ export { type ActivityContent, type ActivityDescription, ActivityFeed, type ActivityFeedProps, type AgentAccessMode, type AgentConfigSections, type AggregatedDailyUsage, type AggregatedModelGroupUsage, AiActionCard, AiAnswer, type AiRunOptions, type AiTaskStatus, AppleIcon, ArbiBotHeadIcon, ArbiBotIcon, type ArbiChat, type ArbiChatCitation, type ArbiChatDocument, type ArbiChatMessage, type ArbiChatMessageStatus, type ArbiChatPassage, type ArbiChatRole, type ArbiChatThread, ArbiIcon, ArbiProvider, type ArbiProviderProps, type ArbiUiState, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, CitationRenderer, type CitationRendererProps, type CitationState, ClaudeIcon, CommandPalette, type CommandPaletteClassNames, type CommandPaletteProps, CommandPaletteProvider, type CommandPaletteProviderProps, type CommandPaletteValue, ConversationList, type ConversationListProps, type CropArea, type CropOutput, type CropResult, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DEFAULT_USD_PER_CREDIT, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmNotification, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, FileIcon, FireworksIcon, type FormatCreditsOptions, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAX_AVATAR_FILE_BYTES, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeResult, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, SemanticSearch, type SemanticSearchProps, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, XlsIcon, annotateThread, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, creditsToUsd, cropImage, dayKey, describeActivity, formatCredits, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, isUsageMetered, isWorkspaceNotificationType, mountDiditVerification, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useActOnStep, useActivity, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversations, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDocuments, useEmailChange, useFacts, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useLogoutAllSessions, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRemoveContacts, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSemanticSearch, useSessions, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateProfile, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceDocs, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials };