@arbidocs/react 0.4.70 → 0.4.72

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 (75) hide show
  1. package/README.md +6 -4
  2. package/dist/ProductionDialog-BRrZ5Lj5.d.cts +84 -0
  3. package/dist/ProductionDialog-DUC9BXWS.d.ts +84 -0
  4. package/dist/annotations/freeze/index.cjs +45 -1100
  5. package/dist/annotations/freeze/index.cjs.map +1 -1
  6. package/dist/annotations/freeze/index.d.cts +2 -85
  7. package/dist/annotations/freeze/index.d.ts +2 -85
  8. package/dist/annotations/freeze/index.js +4 -1084
  9. package/dist/annotations/freeze/index.js.map +1 -1
  10. package/dist/annotations/index.cjs +48 -48
  11. package/dist/annotations/index.d.cts +3 -51
  12. package/dist/annotations/index.d.ts +3 -51
  13. package/dist/annotations/index.js +2 -2
  14. package/dist/artifacts/index.cjs +9 -9
  15. package/dist/artifacts/index.js +2 -2
  16. package/dist/bundle-BnCSbHy2.d.cts +85 -0
  17. package/dist/bundle-BnCSbHy2.d.ts +85 -0
  18. package/dist/bundle-N2JIJ2T6.js +4 -0
  19. package/dist/bundle-N2JIJ2T6.js.map +1 -0
  20. package/dist/bundle-T6BEVYHE.cjs +13 -0
  21. package/dist/bundle-T6BEVYHE.cjs.map +1 -0
  22. package/dist/{chunk-7CL7QHT6.cjs → chunk-GE5TAR7Y.cjs} +26 -25
  23. package/dist/chunk-GE5TAR7Y.cjs.map +1 -0
  24. package/dist/{chunk-3QF5DNAP.js → chunk-IHTBAY57.js} +3 -3
  25. package/dist/{chunk-3QF5DNAP.js.map → chunk-IHTBAY57.js.map} +1 -1
  26. package/dist/{chunk-ZMTLGO3K.cjs → chunk-IIT7DMQL.cjs} +6 -2
  27. package/dist/chunk-IIT7DMQL.cjs.map +1 -0
  28. package/dist/{chunk-SYPUFZGA.js → chunk-IQ5TYPVU.js} +4 -3
  29. package/dist/chunk-IQ5TYPVU.js.map +1 -0
  30. package/dist/{chunk-ULU5LEWF.cjs → chunk-L2PXZWJM.cjs} +25 -25
  31. package/dist/{chunk-ULU5LEWF.cjs.map → chunk-L2PXZWJM.cjs.map} +1 -1
  32. package/dist/{chunk-V4CXOPLB.js → chunk-MHCN7OST.js} +19 -7
  33. package/dist/{chunk-V4CXOPLB.js.map → chunk-MHCN7OST.js.map} +1 -1
  34. package/dist/{chunk-BTRIS3HY.cjs → chunk-QJRP2LLQ.cjs} +19 -6
  35. package/dist/chunk-QJRP2LLQ.cjs.map +1 -0
  36. package/dist/chunk-QJXFRP5R.cjs +1103 -0
  37. package/dist/chunk-QJXFRP5R.cjs.map +1 -0
  38. package/dist/{chunk-J4MX2W4H.js → chunk-WBYNKFUO.js} +6 -3
  39. package/dist/chunk-WBYNKFUO.js.map +1 -0
  40. package/dist/{chunk-LQ5YHB7W.cjs → chunk-WYZJLZ67.cjs} +6 -4
  41. package/dist/chunk-WYZJLZ67.cjs.map +1 -0
  42. package/dist/{chunk-WS6DF5X4.js → chunk-YNNAJJ5Z.js} +6 -4
  43. package/dist/chunk-YNNAJJ5Z.js.map +1 -0
  44. package/dist/chunk-ZJMUNGOY.js +1088 -0
  45. package/dist/chunk-ZJMUNGOY.js.map +1 -0
  46. package/dist/document-tools/index.cjs +226 -11
  47. package/dist/document-tools/index.cjs.map +1 -1
  48. package/dist/document-tools/index.d.cts +139 -9
  49. package/dist/document-tools/index.d.ts +139 -9
  50. package/dist/document-tools/index.js +207 -9
  51. package/dist/document-tools/index.js.map +1 -1
  52. package/dist/{index-BWv_FKi3.d.cts → index-BVMBElCu.d.cts} +82 -1
  53. package/dist/{index-BWv_FKi3.d.ts → index-BVMBElCu.d.ts} +82 -1
  54. package/dist/index.cjs +688 -369
  55. package/dist/index.cjs.map +1 -1
  56. package/dist/index.d.cts +208 -4
  57. package/dist/index.d.ts +208 -4
  58. package/dist/index.js +313 -11
  59. package/dist/index.js.map +1 -1
  60. package/dist/ui/index.cjs +137 -133
  61. package/dist/ui/index.d.cts +1 -1
  62. package/dist/ui/index.d.ts +1 -1
  63. package/dist/ui/index.js +2 -2
  64. package/dist/viewers/index.cjs +2 -2
  65. package/dist/viewers/index.js +1 -1
  66. package/package.json +4 -3
  67. package/dist/chunk-7CL7QHT6.cjs.map +0 -1
  68. package/dist/chunk-BTRIS3HY.cjs.map +0 -1
  69. package/dist/chunk-J4MX2W4H.js.map +0 -1
  70. package/dist/chunk-LQ5YHB7W.cjs.map +0 -1
  71. package/dist/chunk-SYPUFZGA.js.map +0 -1
  72. package/dist/chunk-WS6DF5X4.js.map +0 -1
  73. package/dist/chunk-ZMTLGO3K.cjs.map +0 -1
  74. package/dist/store-CqkkD7Ho.d.cts +0 -35
  75. package/dist/store-D1nhbkgk.d.ts +0 -35
package/dist/index.d.ts CHANGED
@@ -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.js';
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.js';
12
+ import { ao as IdentityStatus, am as IdentityPurchase, ap as IdentityStep, aq as IdentityVerificationFlow, ab as EntityIconComponent } from './index-BVMBElCu.js';
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.js';
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.js';
@@ -219,6 +220,12 @@ declare const ChatBubble: React$1.NamedExoticComponent<ChatBubbleProps>;
219
220
  */
220
221
 
221
222
  declare function useArbi(): Arbi;
223
+ /**
224
+ * The deployment domain the user's keys are derived for, as the nearest `<ArbiProvider>`'s `Arbi`
225
+ * computes it (`deploymentDomain`, else the API URL's hostname). `undefined` outside a provider.
226
+ * The document tools default their `deploymentDomain` (needed for e-signing) to it.
227
+ */
228
+ declare function useDeploymentDomain(): string | undefined;
222
229
 
223
230
  interface ArbiWebSocketProviderProps {
224
231
  /**
@@ -543,6 +550,7 @@ declare const arbiQueryKeys: {
543
550
  models: () => readonly ["arbi", "models"];
544
551
  /** The signed-in user's own profile (name, picture, email). */
545
552
  profile: () => readonly ["arbi", "profile"];
553
+ identity: () => readonly ["arbi", "identity"];
546
554
  /** The signed-in user's settings record (notification preferences, flags). */
547
555
  userSettings: () => readonly ["arbi", "userSettings"];
548
556
  };
@@ -560,6 +568,7 @@ declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
560
568
  picture?: string | null | undefined;
561
569
  encryption_public_key: string;
562
570
  is_sso: boolean;
571
+ is_identity_verified: boolean;
563
572
  };
564
573
  role: _arbidocs_client.components["schemas"]["WorkspaceRole"];
565
574
  joined_at: string;
@@ -599,6 +608,7 @@ declare function useWorkspaces(options?: {
599
608
  picture?: string | null | undefined;
600
609
  encryption_public_key: string;
601
610
  is_sso: boolean;
611
+ is_identity_verified: boolean;
602
612
  };
603
613
  role: _arbidocs_client.components["schemas"]["WorkspaceRole"];
604
614
  joined_at: string;
@@ -1016,6 +1026,7 @@ declare function useAgents(options?: {
1016
1026
  picture?: string | null;
1017
1027
  encryption_public_key: string;
1018
1028
  is_sso: boolean;
1029
+ is_identity_verified: boolean;
1019
1030
  }[]>, Error>;
1020
1031
  /**
1021
1032
  * Delete agents. Returns a mutation. Refreshes the agent list, the workflow list and the conversation list
@@ -1115,6 +1126,7 @@ declare function useActivity(options?: {
1115
1126
  picture?: string | null | undefined;
1116
1127
  encryption_public_key: string;
1117
1128
  is_sso: boolean;
1129
+ is_identity_verified: boolean;
1118
1130
  };
1119
1131
  recipient: {
1120
1132
  external_id: string;
@@ -1125,6 +1137,7 @@ declare function useActivity(options?: {
1125
1137
  picture?: string | null | undefined;
1126
1138
  encryption_public_key: string;
1127
1139
  is_sso: boolean;
1140
+ is_identity_verified: boolean;
1128
1141
  };
1129
1142
  workspace_ext_id?: string | null | undefined;
1130
1143
  dm_context_only: boolean;
@@ -1143,7 +1156,6 @@ declare function useProjects(options?: {
1143
1156
  external_id: string;
1144
1157
  name: string;
1145
1158
  created_by: string;
1146
- packs: number;
1147
1159
  subscription: string;
1148
1160
  created_at: string;
1149
1161
  quotas: {
@@ -1162,9 +1174,73 @@ declare function useProjects(options?: {
1162
1174
  budget_reset_at?: number | null | undefined;
1163
1175
  };
1164
1176
  daily_cap_per_user?: number | null | undefined;
1177
+ plan_interval?: ("month" | "year") | null | undefined;
1178
+ packs: number;
1179
+ plan_change?: {
1180
+ result: "upgraded" | "scheduled" | "unchanged" | "requires_action";
1181
+ charged_pence: number;
1182
+ charged_ex_vat_pence: number;
1183
+ confirm_url?: string | null | undefined;
1184
+ } | null | undefined;
1185
+ addons?: {
1186
+ packs: number;
1187
+ packs_next?: number | null | undefined;
1188
+ plan_name: string;
1189
+ plan_credits: number;
1190
+ plan_storage_gb: number;
1191
+ block_credits: number;
1192
+ block_storage_gb: number;
1193
+ credit_blocks: number;
1194
+ storage_blocks: number;
1195
+ credit_blocks_next?: number | null | undefined;
1196
+ storage_blocks_next?: number | null | undefined;
1197
+ storage_blocks_min: number;
1198
+ auto_topup_threshold_credits: number;
1199
+ min_auto_topup_threshold_credits: number;
1200
+ spend_cap_pence?: number | null | undefined;
1201
+ addon_spend_pence: number;
1202
+ addon_spend_window_end?: number | null | undefined;
1203
+ block_monthly_pence: number;
1204
+ block_monthly_ex_vat_pence: number;
1205
+ block_period_pence: number;
1206
+ block_period_ex_vat_pence: number;
1207
+ credit_block_price_pence: number;
1208
+ credit_block_price_ex_vat_pence: number;
1209
+ storage_block_price_pence: number;
1210
+ storage_block_price_ex_vat_pence: number;
1211
+ cap_reached: boolean;
1212
+ period_end?: number | null | undefined;
1213
+ credits_reset_at?: number | null | undefined;
1214
+ pending_interval?: ("month" | "year") | null | undefined;
1215
+ billing_error?: string | null | undefined;
1216
+ confirm_url?: string | null | undefined;
1217
+ upsell?: {
1218
+ variant: "compare" | "save";
1219
+ interval: "month" | "year";
1220
+ add_on_count: number;
1221
+ current_monthly_pence: number;
1222
+ current_monthly_ex_vat_pence: number;
1223
+ pro_plus_monthly_pence: number;
1224
+ pro_plus_monthly_ex_vat_pence: number;
1225
+ pro_plus_period_pence: number;
1226
+ pro_plus_credits: number;
1227
+ pro_plus_storage_gb: number;
1228
+ saving_monthly_pence: number;
1229
+ } | null | undefined;
1230
+ payment?: {
1231
+ status: "pending" | "paid";
1232
+ kind?: ("credits" | "storage") | null | undefined;
1233
+ amount_pence?: number | null | undefined;
1234
+ amount_ex_vat_pence?: number | null | undefined;
1235
+ tax_pence?: number | null | undefined;
1236
+ at?: number | null | undefined;
1237
+ confirm_url?: string | null | undefined;
1238
+ } | null | undefined;
1239
+ } | null | undefined;
1165
1240
  price_id?: string | null | undefined;
1166
1241
  plan?: string | null | undefined;
1167
1242
  amount?: number | null | undefined;
1243
+ amount_ex_vat?: number | null | undefined;
1168
1244
  currency?: string | null | undefined;
1169
1245
  current_period_end?: number | null | undefined;
1170
1246
  cancel_at_period_end?: boolean | null | undefined;
@@ -2079,6 +2155,7 @@ declare function useCreateAgent(): _tanstack_react_query.UseMutationResult<{
2079
2155
  picture?: string | null;
2080
2156
  encryption_public_key: string;
2081
2157
  is_sso: boolean;
2158
+ is_identity_verified: boolean;
2082
2159
  signing_private_key: string;
2083
2160
  }, Error, string, unknown>;
2084
2161
  /**
@@ -2155,6 +2232,7 @@ declare function useGrantAgentAccess(): _tanstack_react_query.UseMutationResult<
2155
2232
  picture?: string | null | undefined;
2156
2233
  encryption_public_key: string;
2157
2234
  is_sso: boolean;
2235
+ is_identity_verified: boolean;
2158
2236
  };
2159
2237
  role: _arbidocs_client.components["schemas"]["WorkspaceRole"];
2160
2238
  joined_at: string;
@@ -2254,6 +2332,7 @@ declare function useContacts(options?: {
2254
2332
  picture?: string | null | undefined;
2255
2333
  encryption_public_key: string;
2256
2334
  is_sso: boolean;
2335
+ is_identity_verified: boolean;
2257
2336
  } | null | undefined;
2258
2337
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2259
2338
  created_at: string;
@@ -2277,6 +2356,7 @@ declare function usePendingContacts(options?: {
2277
2356
  picture?: string | null | undefined;
2278
2357
  encryption_public_key: string;
2279
2358
  is_sso: boolean;
2359
+ is_identity_verified: boolean;
2280
2360
  } | null | undefined;
2281
2361
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2282
2362
  created_at: string;
@@ -2296,6 +2376,7 @@ declare function usePendingContacts(options?: {
2296
2376
  picture?: string | null | undefined;
2297
2377
  encryption_public_key: string;
2298
2378
  is_sso: boolean;
2379
+ is_identity_verified: boolean;
2299
2380
  } | null | undefined;
2300
2381
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2301
2382
  created_at: string;
@@ -2337,6 +2418,7 @@ declare function usePendingContacts(options?: {
2337
2418
  picture?: string | null | undefined;
2338
2419
  encryption_public_key: string;
2339
2420
  is_sso: boolean;
2421
+ is_identity_verified: boolean;
2340
2422
  } | null | undefined;
2341
2423
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2342
2424
  created_at: string;
@@ -2357,6 +2439,7 @@ declare function usePendingContacts(options?: {
2357
2439
  picture?: string | null | undefined;
2358
2440
  encryption_public_key: string;
2359
2441
  is_sso: boolean;
2442
+ is_identity_verified: boolean;
2360
2443
  } | null | undefined;
2361
2444
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2362
2445
  created_at: string;
@@ -2377,6 +2460,7 @@ declare function usePendingContacts(options?: {
2377
2460
  picture?: string | null | undefined;
2378
2461
  encryption_public_key: string;
2379
2462
  is_sso: boolean;
2463
+ is_identity_verified: boolean;
2380
2464
  } | null | undefined;
2381
2465
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2382
2466
  created_at: string;
@@ -2396,6 +2480,7 @@ declare function usePendingContacts(options?: {
2396
2480
  picture?: string | null | undefined;
2397
2481
  encryption_public_key: string;
2398
2482
  is_sso: boolean;
2483
+ is_identity_verified: boolean;
2399
2484
  } | null | undefined;
2400
2485
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2401
2486
  created_at: string;
@@ -2437,6 +2522,7 @@ declare function usePendingContacts(options?: {
2437
2522
  picture?: string | null | undefined;
2438
2523
  encryption_public_key: string;
2439
2524
  is_sso: boolean;
2525
+ is_identity_verified: boolean;
2440
2526
  } | null | undefined;
2441
2527
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2442
2528
  created_at: string;
@@ -2457,6 +2543,7 @@ declare function usePendingContacts(options?: {
2457
2543
  picture?: string | null | undefined;
2458
2544
  encryption_public_key: string;
2459
2545
  is_sso: boolean;
2546
+ is_identity_verified: boolean;
2460
2547
  } | null | undefined;
2461
2548
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2462
2549
  created_at: string;
@@ -2477,6 +2564,7 @@ declare function usePendingContacts(options?: {
2477
2564
  picture?: string | null | undefined;
2478
2565
  encryption_public_key: string;
2479
2566
  is_sso: boolean;
2567
+ is_identity_verified: boolean;
2480
2568
  } | null | undefined;
2481
2569
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2482
2570
  created_at: string;
@@ -2519,6 +2607,7 @@ declare function usePendingContacts(options?: {
2519
2607
  picture?: string | null | undefined;
2520
2608
  encryption_public_key: string;
2521
2609
  is_sso: boolean;
2610
+ is_identity_verified: boolean;
2522
2611
  } | null | undefined;
2523
2612
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2524
2613
  created_at: string;
@@ -2539,6 +2628,7 @@ declare function usePendingContacts(options?: {
2539
2628
  picture?: string | null | undefined;
2540
2629
  encryption_public_key: string;
2541
2630
  is_sso: boolean;
2631
+ is_identity_verified: boolean;
2542
2632
  } | null | undefined;
2543
2633
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2544
2634
  created_at: string;
@@ -2559,6 +2649,7 @@ declare function usePendingContacts(options?: {
2559
2649
  picture?: string | null | undefined;
2560
2650
  encryption_public_key: string;
2561
2651
  is_sso: boolean;
2652
+ is_identity_verified: boolean;
2562
2653
  } | null | undefined;
2563
2654
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2564
2655
  created_at: string;
@@ -2601,6 +2692,7 @@ declare function usePendingContacts(options?: {
2601
2692
  picture?: string | null | undefined;
2602
2693
  encryption_public_key: string;
2603
2694
  is_sso: boolean;
2695
+ is_identity_verified: boolean;
2604
2696
  } | null | undefined;
2605
2697
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2606
2698
  created_at: string;
@@ -2621,6 +2713,7 @@ declare function usePendingContacts(options?: {
2621
2713
  picture?: string | null | undefined;
2622
2714
  encryption_public_key: string;
2623
2715
  is_sso: boolean;
2716
+ is_identity_verified: boolean;
2624
2717
  } | null | undefined;
2625
2718
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2626
2719
  created_at: string;
@@ -2641,6 +2734,7 @@ declare function usePendingContacts(options?: {
2641
2734
  picture?: string | null | undefined;
2642
2735
  encryption_public_key: string;
2643
2736
  is_sso: boolean;
2737
+ is_identity_verified: boolean;
2644
2738
  } | null | undefined;
2645
2739
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2646
2740
  created_at: string;
@@ -2683,6 +2777,7 @@ declare function usePendingContacts(options?: {
2683
2777
  picture?: string | null | undefined;
2684
2778
  encryption_public_key: string;
2685
2779
  is_sso: boolean;
2780
+ is_identity_verified: boolean;
2686
2781
  } | null | undefined;
2687
2782
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2688
2783
  created_at: string;
@@ -2703,6 +2798,7 @@ declare function usePendingContacts(options?: {
2703
2798
  picture?: string | null | undefined;
2704
2799
  encryption_public_key: string;
2705
2800
  is_sso: boolean;
2801
+ is_identity_verified: boolean;
2706
2802
  } | null | undefined;
2707
2803
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2708
2804
  created_at: string;
@@ -2723,6 +2819,7 @@ declare function usePendingContacts(options?: {
2723
2819
  picture?: string | null | undefined;
2724
2820
  encryption_public_key: string;
2725
2821
  is_sso: boolean;
2822
+ is_identity_verified: boolean;
2726
2823
  } | null | undefined;
2727
2824
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2728
2825
  created_at: string;
@@ -2742,6 +2839,7 @@ declare function usePendingContacts(options?: {
2742
2839
  picture?: string | null | undefined;
2743
2840
  encryption_public_key: string;
2744
2841
  is_sso: boolean;
2842
+ is_identity_verified: boolean;
2745
2843
  } | null | undefined;
2746
2844
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2747
2845
  created_at: string;
@@ -2783,6 +2881,7 @@ declare function usePendingContacts(options?: {
2783
2881
  picture?: string | null | undefined;
2784
2882
  encryption_public_key: string;
2785
2883
  is_sso: boolean;
2884
+ is_identity_verified: boolean;
2786
2885
  } | null | undefined;
2787
2886
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2788
2887
  created_at: string;
@@ -2803,6 +2902,7 @@ declare function usePendingContacts(options?: {
2803
2902
  picture?: string | null | undefined;
2804
2903
  encryption_public_key: string;
2805
2904
  is_sso: boolean;
2905
+ is_identity_verified: boolean;
2806
2906
  } | null | undefined;
2807
2907
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2808
2908
  created_at: string;
@@ -2827,6 +2927,7 @@ declare function useAddContacts(): _tanstack_react_query.UseMutationResult<{
2827
2927
  picture?: string | null | undefined;
2828
2928
  encryption_public_key: string;
2829
2929
  is_sso: boolean;
2930
+ is_identity_verified: boolean;
2830
2931
  } | null | undefined;
2831
2932
  status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
2832
2933
  created_at: string;
@@ -2844,6 +2945,8 @@ interface ProfileView {
2844
2945
  email: string;
2845
2946
  /** The sign-in provider manages the email (it cannot be changed here). */
2846
2947
  isSso: boolean;
2948
+ /** Verified tick: passed an ID check under this name, not expired. */
2949
+ isIdentityVerified?: boolean;
2847
2950
  /** Given and family name joined; empty while the profile has no name. */
2848
2951
  fullName: string;
2849
2952
  }
@@ -3193,6 +3296,67 @@ interface DeleteAccountFlow {
3193
3296
  /** Step, typed-email confirmation and blockers of `DeleteAccountDialog`. */
3194
3297
  declare function useDeleteAccountFlow({ userEmail, remove, onClose, onDeleted, onError, }: UseDeleteAccountFlowOptions): DeleteAccountFlow;
3195
3298
 
3299
+ /**
3300
+ * Identity verification: the optional, paid ID check behind the verified tick (Pro plans only).
3301
+ *
3302
+ * Two layers, like `profile.ts`. `useIdentityVerificationFlow` owns the dialog's state and takes
3303
+ * the backend calls as functions, so an app with its own API layer (ARBI-frontend) binds the same
3304
+ * `IdentityVerificationCard` / `IdentityVerificationDialog` blocks without a provider.
3305
+ * `useIdentityVerification` binds it to the SDK (`arbi.identity`).
3306
+ *
3307
+ * Steps: pay the one-time fee (charged to the user's Pro project card) → verify inside Didit's
3308
+ * embedded frame → result (verified, declined, in review, or the name on the document differs from
3309
+ * the account name, offered as the new name). No webhooks: completing Didit's flow calls `refresh`.
3310
+ */
3311
+
3312
+ /** The backend calls of the flow, as functions (see the module comment). */
3313
+ interface IdentityVerificationApi {
3314
+ status: () => Promise<IdentityStatus>;
3315
+ purchase: () => Promise<IdentityPurchase>;
3316
+ /** The Didit session URL. */
3317
+ startSession: () => Promise<string>;
3318
+ refresh: () => Promise<IdentityStatus>;
3319
+ acceptName: () => Promise<IdentityStatus>;
3320
+ remove: () => Promise<IdentityStatus>;
3321
+ }
3322
+ interface UseIdentityVerificationFlowOptions {
3323
+ /** Load the status (default true; e.g. false while signed out). */
3324
+ enabled?: boolean;
3325
+ /** The tick changed (granted, renamed away, removed): update the host's copy of the user. */
3326
+ onVerifiedChange?: (verified: boolean) => void;
3327
+ /** The account name became the name on the document. */
3328
+ onNameAccepted?: (name: {
3329
+ givenName: string;
3330
+ familyName: string | null;
3331
+ }) => void;
3332
+ /** The host's price format (e.g. its billing helpers); default `formatIdentityPrice`. */
3333
+ formatPrice?: (status: IdentityStatus) => string;
3334
+ }
3335
+ /** Which step the dialog opens on for a status. */
3336
+ declare function identityStepFor(status: IdentityStatus | undefined): IdentityStep;
3337
+ /** "£5.00 incl. VAT": the fee is quoted including UK VAT. */
3338
+ declare function formatIdentityPrice(status: IdentityStatus): string;
3339
+ /** The identity verification dialog's state, bound to the backend calls in `api`. */
3340
+ declare function useIdentityVerificationFlow(api: IdentityVerificationApi, { enabled, onVerifiedChange, onNameAccepted, formatPrice, }?: UseIdentityVerificationFlowOptions): IdentityVerificationFlow;
3341
+ /** The identity verification flow bound to the SDK; the profile query follows the tick and name. */
3342
+ declare function useIdentityVerification(options?: Omit<UseIdentityVerificationFlowOptions, 'enabled'>): IdentityVerificationFlow;
3343
+
3344
+ /**
3345
+ * Didit's web SDK, loaded only when a verification starts (like the app loads Stripe), and run
3346
+ * embedded in a host element. ID capture, liveness and face match all happen inside Didit's frame.
3347
+ */
3348
+
3349
+ interface MountDiditOptions {
3350
+ /** The Didit session URL from the backend. */
3351
+ url: string;
3352
+ /** Id of the element the verification renders into; it must have a height. */
3353
+ containerId: string;
3354
+ /** The user finished, cancelled or the flow failed (`cameraAccessDenied`, `sessionExpired`, …). */
3355
+ onResult: (result: VerificationResult) => void;
3356
+ }
3357
+ /** Start the embedded verification. Resolves with a teardown; rejects if the SDK can't load. */
3358
+ declare function mountDiditVerification({ url, containerId, onResult, }: MountDiditOptions): Promise<() => void>;
3359
+
3196
3360
  /**
3197
3361
  * Credits: the unit the ARBI backend reports AI usage in.
3198
3362
  *
@@ -3969,6 +4133,7 @@ declare function useWorkNotifications(options: {
3969
4133
  picture?: string | null | undefined;
3970
4134
  encryption_public_key: string;
3971
4135
  is_sso: boolean;
4136
+ is_identity_verified: boolean;
3972
4137
  };
3973
4138
  recipient: {
3974
4139
  external_id: string;
@@ -3979,6 +4144,7 @@ declare function useWorkNotifications(options: {
3979
4144
  picture?: string | null | undefined;
3980
4145
  encryption_public_key: string;
3981
4146
  is_sso: boolean;
4147
+ is_identity_verified: boolean;
3982
4148
  };
3983
4149
  workspace_ext_id?: string | null | undefined;
3984
4150
  dm_context_only: boolean;
@@ -4024,6 +4190,7 @@ declare function useWorkNotifications(options: {
4024
4190
  picture?: string | null | undefined;
4025
4191
  encryption_public_key: string;
4026
4192
  is_sso: boolean;
4193
+ is_identity_verified: boolean;
4027
4194
  };
4028
4195
  recipient: {
4029
4196
  external_id: string;
@@ -4034,6 +4201,7 @@ declare function useWorkNotifications(options: {
4034
4201
  picture?: string | null | undefined;
4035
4202
  encryption_public_key: string;
4036
4203
  is_sso: boolean;
4204
+ is_identity_verified: boolean;
4037
4205
  };
4038
4206
  workspace_ext_id?: string | null | undefined;
4039
4207
  dm_context_only: boolean;
@@ -4058,6 +4226,7 @@ declare function useWorkNotifications(options: {
4058
4226
  picture?: string | null | undefined;
4059
4227
  encryption_public_key: string;
4060
4228
  is_sso: boolean;
4229
+ is_identity_verified: boolean;
4061
4230
  };
4062
4231
  recipient: {
4063
4232
  external_id: string;
@@ -4068,6 +4237,7 @@ declare function useWorkNotifications(options: {
4068
4237
  picture?: string | null | undefined;
4069
4238
  encryption_public_key: string;
4070
4239
  is_sso: boolean;
4240
+ is_identity_verified: boolean;
4071
4241
  };
4072
4242
  workspace_ext_id?: string | null | undefined;
4073
4243
  dm_context_only: boolean;
@@ -4093,6 +4263,7 @@ declare function useWorkNotifications(options: {
4093
4263
  picture?: string | null | undefined;
4094
4264
  encryption_public_key: string;
4095
4265
  is_sso: boolean;
4266
+ is_identity_verified: boolean;
4096
4267
  };
4097
4268
  recipient: {
4098
4269
  external_id: string;
@@ -4103,6 +4274,7 @@ declare function useWorkNotifications(options: {
4103
4274
  picture?: string | null | undefined;
4104
4275
  encryption_public_key: string;
4105
4276
  is_sso: boolean;
4277
+ is_identity_verified: boolean;
4106
4278
  };
4107
4279
  workspace_ext_id?: string | null | undefined;
4108
4280
  dm_context_only: boolean;
@@ -4148,6 +4320,7 @@ declare function useWorkNotifications(options: {
4148
4320
  picture?: string | null | undefined;
4149
4321
  encryption_public_key: string;
4150
4322
  is_sso: boolean;
4323
+ is_identity_verified: boolean;
4151
4324
  };
4152
4325
  recipient: {
4153
4326
  external_id: string;
@@ -4158,6 +4331,7 @@ declare function useWorkNotifications(options: {
4158
4331
  picture?: string | null | undefined;
4159
4332
  encryption_public_key: string;
4160
4333
  is_sso: boolean;
4334
+ is_identity_verified: boolean;
4161
4335
  };
4162
4336
  workspace_ext_id?: string | null | undefined;
4163
4337
  dm_context_only: boolean;
@@ -4182,6 +4356,7 @@ declare function useWorkNotifications(options: {
4182
4356
  picture?: string | null | undefined;
4183
4357
  encryption_public_key: string;
4184
4358
  is_sso: boolean;
4359
+ is_identity_verified: boolean;
4185
4360
  };
4186
4361
  recipient: {
4187
4362
  external_id: string;
@@ -4192,6 +4367,7 @@ declare function useWorkNotifications(options: {
4192
4367
  picture?: string | null | undefined;
4193
4368
  encryption_public_key: string;
4194
4369
  is_sso: boolean;
4370
+ is_identity_verified: boolean;
4195
4371
  };
4196
4372
  workspace_ext_id?: string | null | undefined;
4197
4373
  dm_context_only: boolean;
@@ -4240,6 +4416,7 @@ declare function useWorkNotifications(options: {
4240
4416
  picture?: string | null | undefined;
4241
4417
  encryption_public_key: string;
4242
4418
  is_sso: boolean;
4419
+ is_identity_verified: boolean;
4243
4420
  };
4244
4421
  recipient: {
4245
4422
  external_id: string;
@@ -4250,6 +4427,7 @@ declare function useWorkNotifications(options: {
4250
4427
  picture?: string | null | undefined;
4251
4428
  encryption_public_key: string;
4252
4429
  is_sso: boolean;
4430
+ is_identity_verified: boolean;
4253
4431
  };
4254
4432
  workspace_ext_id?: string | null | undefined;
4255
4433
  dm_context_only: boolean;
@@ -4274,6 +4452,7 @@ declare function useWorkNotifications(options: {
4274
4452
  picture?: string | null | undefined;
4275
4453
  encryption_public_key: string;
4276
4454
  is_sso: boolean;
4455
+ is_identity_verified: boolean;
4277
4456
  };
4278
4457
  recipient: {
4279
4458
  external_id: string;
@@ -4284,6 +4463,7 @@ declare function useWorkNotifications(options: {
4284
4463
  picture?: string | null | undefined;
4285
4464
  encryption_public_key: string;
4286
4465
  is_sso: boolean;
4466
+ is_identity_verified: boolean;
4287
4467
  };
4288
4468
  workspace_ext_id?: string | null | undefined;
4289
4469
  dm_context_only: boolean;
@@ -4332,6 +4512,7 @@ declare function useWorkNotifications(options: {
4332
4512
  picture?: string | null | undefined;
4333
4513
  encryption_public_key: string;
4334
4514
  is_sso: boolean;
4515
+ is_identity_verified: boolean;
4335
4516
  };
4336
4517
  recipient: {
4337
4518
  external_id: string;
@@ -4342,6 +4523,7 @@ declare function useWorkNotifications(options: {
4342
4523
  picture?: string | null | undefined;
4343
4524
  encryption_public_key: string;
4344
4525
  is_sso: boolean;
4526
+ is_identity_verified: boolean;
4345
4527
  };
4346
4528
  workspace_ext_id?: string | null | undefined;
4347
4529
  dm_context_only: boolean;
@@ -4366,6 +4548,7 @@ declare function useWorkNotifications(options: {
4366
4548
  picture?: string | null | undefined;
4367
4549
  encryption_public_key: string;
4368
4550
  is_sso: boolean;
4551
+ is_identity_verified: boolean;
4369
4552
  };
4370
4553
  recipient: {
4371
4554
  external_id: string;
@@ -4376,6 +4559,7 @@ declare function useWorkNotifications(options: {
4376
4559
  picture?: string | null | undefined;
4377
4560
  encryption_public_key: string;
4378
4561
  is_sso: boolean;
4562
+ is_identity_verified: boolean;
4379
4563
  };
4380
4564
  workspace_ext_id?: string | null | undefined;
4381
4565
  dm_context_only: boolean;
@@ -4424,6 +4608,7 @@ declare function useWorkNotifications(options: {
4424
4608
  picture?: string | null | undefined;
4425
4609
  encryption_public_key: string;
4426
4610
  is_sso: boolean;
4611
+ is_identity_verified: boolean;
4427
4612
  };
4428
4613
  recipient: {
4429
4614
  external_id: string;
@@ -4434,6 +4619,7 @@ declare function useWorkNotifications(options: {
4434
4619
  picture?: string | null | undefined;
4435
4620
  encryption_public_key: string;
4436
4621
  is_sso: boolean;
4622
+ is_identity_verified: boolean;
4437
4623
  };
4438
4624
  workspace_ext_id?: string | null | undefined;
4439
4625
  dm_context_only: boolean;
@@ -4458,6 +4644,7 @@ declare function useWorkNotifications(options: {
4458
4644
  picture?: string | null | undefined;
4459
4645
  encryption_public_key: string;
4460
4646
  is_sso: boolean;
4647
+ is_identity_verified: boolean;
4461
4648
  };
4462
4649
  recipient: {
4463
4650
  external_id: string;
@@ -4468,6 +4655,7 @@ declare function useWorkNotifications(options: {
4468
4655
  picture?: string | null | undefined;
4469
4656
  encryption_public_key: string;
4470
4657
  is_sso: boolean;
4658
+ is_identity_verified: boolean;
4471
4659
  };
4472
4660
  workspace_ext_id?: string | null | undefined;
4473
4661
  dm_context_only: boolean;
@@ -4493,6 +4681,7 @@ declare function useWorkNotifications(options: {
4493
4681
  picture?: string | null | undefined;
4494
4682
  encryption_public_key: string;
4495
4683
  is_sso: boolean;
4684
+ is_identity_verified: boolean;
4496
4685
  };
4497
4686
  recipient: {
4498
4687
  external_id: string;
@@ -4503,6 +4692,7 @@ declare function useWorkNotifications(options: {
4503
4692
  picture?: string | null | undefined;
4504
4693
  encryption_public_key: string;
4505
4694
  is_sso: boolean;
4695
+ is_identity_verified: boolean;
4506
4696
  };
4507
4697
  workspace_ext_id?: string | null | undefined;
4508
4698
  dm_context_only: boolean;
@@ -4548,6 +4738,7 @@ declare function useWorkNotifications(options: {
4548
4738
  picture?: string | null | undefined;
4549
4739
  encryption_public_key: string;
4550
4740
  is_sso: boolean;
4741
+ is_identity_verified: boolean;
4551
4742
  };
4552
4743
  recipient: {
4553
4744
  external_id: string;
@@ -4558,6 +4749,7 @@ declare function useWorkNotifications(options: {
4558
4749
  picture?: string | null | undefined;
4559
4750
  encryption_public_key: string;
4560
4751
  is_sso: boolean;
4752
+ is_identity_verified: boolean;
4561
4753
  };
4562
4754
  workspace_ext_id?: string | null | undefined;
4563
4755
  dm_context_only: boolean;
@@ -4582,6 +4774,7 @@ declare function useWorkNotifications(options: {
4582
4774
  picture?: string | null | undefined;
4583
4775
  encryption_public_key: string;
4584
4776
  is_sso: boolean;
4777
+ is_identity_verified: boolean;
4585
4778
  };
4586
4779
  recipient: {
4587
4780
  external_id: string;
@@ -4592,6 +4785,7 @@ declare function useWorkNotifications(options: {
4592
4785
  picture?: string | null | undefined;
4593
4786
  encryption_public_key: string;
4594
4787
  is_sso: boolean;
4788
+ is_identity_verified: boolean;
4595
4789
  };
4596
4790
  workspace_ext_id?: string | null | undefined;
4597
4791
  dm_context_only: boolean;
@@ -5480,6 +5674,16 @@ declare function useVideoRecorder(stream: MediaStream | null): UseVideoRecorderR
5480
5674
  */
5481
5675
  declare function captureFrameAsBlob(video: HTMLVideoElement, mimeType?: string): Promise<Blob>;
5482
5676
 
5677
+ /**
5678
+ * Shared getUserMedia error classification — used by both `useAudioRecorder`
5679
+ * (microphone) and `useCameraStream` (camera), so "permission denied" /
5680
+ * "device not found" / "not supported" read as the same message shape
5681
+ * regardless of which device was requested, without duplicating the
5682
+ * DOMException-name matching in every recorder hook.
5683
+ */
5684
+ type MediaDeviceKind = 'microphone' | 'camera';
5685
+ declare function classifyMediaError(err: unknown, kind: MediaDeviceKind): string;
5686
+
5483
5687
  /**
5484
5688
  * PhotoCapture
5485
5689
  *
@@ -5570,4 +5774,4 @@ interface ArbiUiState {
5570
5774
  }
5571
5775
  declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
5572
5776
 
5573
- 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, 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 };
5777
+ 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, 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 };