@arbidocs/react 0.4.71 → 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.
- package/dist/annotations/index.cjs +48 -48
- package/dist/annotations/index.js +2 -2
- package/dist/artifacts/index.cjs +7 -7
- package/dist/artifacts/index.js +2 -2
- package/dist/{chunk-6TFD5OS5.cjs → chunk-GE5TAR7Y.cjs} +3 -2
- package/dist/chunk-GE5TAR7Y.cjs.map +1 -0
- package/dist/{chunk-3QF5DNAP.js → chunk-IHTBAY57.js} +3 -3
- package/dist/{chunk-3QF5DNAP.js.map → chunk-IHTBAY57.js.map} +1 -1
- package/dist/{chunk-6ERJUIMQ.js → chunk-IQ5TYPVU.js} +3 -2
- package/dist/chunk-IQ5TYPVU.js.map +1 -0
- package/dist/{chunk-ULU5LEWF.cjs → chunk-L2PXZWJM.cjs} +25 -25
- package/dist/{chunk-ULU5LEWF.cjs.map → chunk-L2PXZWJM.cjs.map} +1 -1
- package/dist/{chunk-V4CXOPLB.js → chunk-MHCN7OST.js} +19 -7
- package/dist/{chunk-V4CXOPLB.js.map → chunk-MHCN7OST.js.map} +1 -1
- package/dist/{chunk-BTRIS3HY.cjs → chunk-QJRP2LLQ.cjs} +19 -6
- package/dist/chunk-QJRP2LLQ.cjs.map +1 -0
- package/dist/{chunk-LQ5YHB7W.cjs → chunk-WYZJLZ67.cjs} +6 -4
- package/dist/chunk-WYZJLZ67.cjs.map +1 -0
- package/dist/{chunk-WS6DF5X4.js → chunk-YNNAJJ5Z.js} +6 -4
- package/dist/chunk-YNNAJJ5Z.js.map +1 -0
- package/dist/document-tools/index.cjs +6 -6
- package/dist/document-tools/index.js +3 -3
- package/dist/{index-BWv_FKi3.d.cts → index-BVMBElCu.d.cts} +82 -1
- package/dist/{index-BWv_FKi3.d.ts → index-BVMBElCu.d.ts} +82 -1
- package/dist/index.cjs +629 -314
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +202 -4
- package/dist/index.d.ts +202 -4
- package/dist/index.js +313 -11
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +129 -125
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +4 -3
- package/dist/chunk-6ERJUIMQ.js.map +0 -1
- package/dist/chunk-6TFD5OS5.cjs.map +0 -1
- package/dist/chunk-BTRIS3HY.cjs.map +0 -1
- package/dist/chunk-LQ5YHB7W.cjs.map +0 -1
- package/dist/chunk-WS6DF5X4.js.map +0 -1
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-
|
|
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
|
|
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';
|
|
@@ -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;
|
|
@@ -1022,6 +1026,7 @@ declare function useAgents(options?: {
|
|
|
1022
1026
|
picture?: string | null;
|
|
1023
1027
|
encryption_public_key: string;
|
|
1024
1028
|
is_sso: boolean;
|
|
1029
|
+
is_identity_verified: boolean;
|
|
1025
1030
|
}[]>, Error>;
|
|
1026
1031
|
/**
|
|
1027
1032
|
* Delete agents. Returns a mutation. Refreshes the agent list, the workflow list and the conversation list
|
|
@@ -1121,6 +1126,7 @@ declare function useActivity(options?: {
|
|
|
1121
1126
|
picture?: string | null | undefined;
|
|
1122
1127
|
encryption_public_key: string;
|
|
1123
1128
|
is_sso: boolean;
|
|
1129
|
+
is_identity_verified: boolean;
|
|
1124
1130
|
};
|
|
1125
1131
|
recipient: {
|
|
1126
1132
|
external_id: string;
|
|
@@ -1131,6 +1137,7 @@ declare function useActivity(options?: {
|
|
|
1131
1137
|
picture?: string | null | undefined;
|
|
1132
1138
|
encryption_public_key: string;
|
|
1133
1139
|
is_sso: boolean;
|
|
1140
|
+
is_identity_verified: boolean;
|
|
1134
1141
|
};
|
|
1135
1142
|
workspace_ext_id?: string | null | undefined;
|
|
1136
1143
|
dm_context_only: boolean;
|
|
@@ -1149,7 +1156,6 @@ declare function useProjects(options?: {
|
|
|
1149
1156
|
external_id: string;
|
|
1150
1157
|
name: string;
|
|
1151
1158
|
created_by: string;
|
|
1152
|
-
packs: number;
|
|
1153
1159
|
subscription: string;
|
|
1154
1160
|
created_at: string;
|
|
1155
1161
|
quotas: {
|
|
@@ -1168,9 +1174,73 @@ declare function useProjects(options?: {
|
|
|
1168
1174
|
budget_reset_at?: number | null | undefined;
|
|
1169
1175
|
};
|
|
1170
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;
|
|
1171
1240
|
price_id?: string | null | undefined;
|
|
1172
1241
|
plan?: string | null | undefined;
|
|
1173
1242
|
amount?: number | null | undefined;
|
|
1243
|
+
amount_ex_vat?: number | null | undefined;
|
|
1174
1244
|
currency?: string | null | undefined;
|
|
1175
1245
|
current_period_end?: number | null | undefined;
|
|
1176
1246
|
cancel_at_period_end?: boolean | null | undefined;
|
|
@@ -2085,6 +2155,7 @@ declare function useCreateAgent(): _tanstack_react_query.UseMutationResult<{
|
|
|
2085
2155
|
picture?: string | null;
|
|
2086
2156
|
encryption_public_key: string;
|
|
2087
2157
|
is_sso: boolean;
|
|
2158
|
+
is_identity_verified: boolean;
|
|
2088
2159
|
signing_private_key: string;
|
|
2089
2160
|
}, Error, string, unknown>;
|
|
2090
2161
|
/**
|
|
@@ -2161,6 +2232,7 @@ declare function useGrantAgentAccess(): _tanstack_react_query.UseMutationResult<
|
|
|
2161
2232
|
picture?: string | null | undefined;
|
|
2162
2233
|
encryption_public_key: string;
|
|
2163
2234
|
is_sso: boolean;
|
|
2235
|
+
is_identity_verified: boolean;
|
|
2164
2236
|
};
|
|
2165
2237
|
role: _arbidocs_client.components["schemas"]["WorkspaceRole"];
|
|
2166
2238
|
joined_at: string;
|
|
@@ -2260,6 +2332,7 @@ declare function useContacts(options?: {
|
|
|
2260
2332
|
picture?: string | null | undefined;
|
|
2261
2333
|
encryption_public_key: string;
|
|
2262
2334
|
is_sso: boolean;
|
|
2335
|
+
is_identity_verified: boolean;
|
|
2263
2336
|
} | null | undefined;
|
|
2264
2337
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2265
2338
|
created_at: string;
|
|
@@ -2283,6 +2356,7 @@ declare function usePendingContacts(options?: {
|
|
|
2283
2356
|
picture?: string | null | undefined;
|
|
2284
2357
|
encryption_public_key: string;
|
|
2285
2358
|
is_sso: boolean;
|
|
2359
|
+
is_identity_verified: boolean;
|
|
2286
2360
|
} | null | undefined;
|
|
2287
2361
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2288
2362
|
created_at: string;
|
|
@@ -2302,6 +2376,7 @@ declare function usePendingContacts(options?: {
|
|
|
2302
2376
|
picture?: string | null | undefined;
|
|
2303
2377
|
encryption_public_key: string;
|
|
2304
2378
|
is_sso: boolean;
|
|
2379
|
+
is_identity_verified: boolean;
|
|
2305
2380
|
} | null | undefined;
|
|
2306
2381
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2307
2382
|
created_at: string;
|
|
@@ -2343,6 +2418,7 @@ declare function usePendingContacts(options?: {
|
|
|
2343
2418
|
picture?: string | null | undefined;
|
|
2344
2419
|
encryption_public_key: string;
|
|
2345
2420
|
is_sso: boolean;
|
|
2421
|
+
is_identity_verified: boolean;
|
|
2346
2422
|
} | null | undefined;
|
|
2347
2423
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2348
2424
|
created_at: string;
|
|
@@ -2363,6 +2439,7 @@ declare function usePendingContacts(options?: {
|
|
|
2363
2439
|
picture?: string | null | undefined;
|
|
2364
2440
|
encryption_public_key: string;
|
|
2365
2441
|
is_sso: boolean;
|
|
2442
|
+
is_identity_verified: boolean;
|
|
2366
2443
|
} | null | undefined;
|
|
2367
2444
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2368
2445
|
created_at: string;
|
|
@@ -2383,6 +2460,7 @@ declare function usePendingContacts(options?: {
|
|
|
2383
2460
|
picture?: string | null | undefined;
|
|
2384
2461
|
encryption_public_key: string;
|
|
2385
2462
|
is_sso: boolean;
|
|
2463
|
+
is_identity_verified: boolean;
|
|
2386
2464
|
} | null | undefined;
|
|
2387
2465
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2388
2466
|
created_at: string;
|
|
@@ -2402,6 +2480,7 @@ declare function usePendingContacts(options?: {
|
|
|
2402
2480
|
picture?: string | null | undefined;
|
|
2403
2481
|
encryption_public_key: string;
|
|
2404
2482
|
is_sso: boolean;
|
|
2483
|
+
is_identity_verified: boolean;
|
|
2405
2484
|
} | null | undefined;
|
|
2406
2485
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2407
2486
|
created_at: string;
|
|
@@ -2443,6 +2522,7 @@ declare function usePendingContacts(options?: {
|
|
|
2443
2522
|
picture?: string | null | undefined;
|
|
2444
2523
|
encryption_public_key: string;
|
|
2445
2524
|
is_sso: boolean;
|
|
2525
|
+
is_identity_verified: boolean;
|
|
2446
2526
|
} | null | undefined;
|
|
2447
2527
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2448
2528
|
created_at: string;
|
|
@@ -2463,6 +2543,7 @@ declare function usePendingContacts(options?: {
|
|
|
2463
2543
|
picture?: string | null | undefined;
|
|
2464
2544
|
encryption_public_key: string;
|
|
2465
2545
|
is_sso: boolean;
|
|
2546
|
+
is_identity_verified: boolean;
|
|
2466
2547
|
} | null | undefined;
|
|
2467
2548
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2468
2549
|
created_at: string;
|
|
@@ -2483,6 +2564,7 @@ declare function usePendingContacts(options?: {
|
|
|
2483
2564
|
picture?: string | null | undefined;
|
|
2484
2565
|
encryption_public_key: string;
|
|
2485
2566
|
is_sso: boolean;
|
|
2567
|
+
is_identity_verified: boolean;
|
|
2486
2568
|
} | null | undefined;
|
|
2487
2569
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2488
2570
|
created_at: string;
|
|
@@ -2525,6 +2607,7 @@ declare function usePendingContacts(options?: {
|
|
|
2525
2607
|
picture?: string | null | undefined;
|
|
2526
2608
|
encryption_public_key: string;
|
|
2527
2609
|
is_sso: boolean;
|
|
2610
|
+
is_identity_verified: boolean;
|
|
2528
2611
|
} | null | undefined;
|
|
2529
2612
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2530
2613
|
created_at: string;
|
|
@@ -2545,6 +2628,7 @@ declare function usePendingContacts(options?: {
|
|
|
2545
2628
|
picture?: string | null | undefined;
|
|
2546
2629
|
encryption_public_key: string;
|
|
2547
2630
|
is_sso: boolean;
|
|
2631
|
+
is_identity_verified: boolean;
|
|
2548
2632
|
} | null | undefined;
|
|
2549
2633
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2550
2634
|
created_at: string;
|
|
@@ -2565,6 +2649,7 @@ declare function usePendingContacts(options?: {
|
|
|
2565
2649
|
picture?: string | null | undefined;
|
|
2566
2650
|
encryption_public_key: string;
|
|
2567
2651
|
is_sso: boolean;
|
|
2652
|
+
is_identity_verified: boolean;
|
|
2568
2653
|
} | null | undefined;
|
|
2569
2654
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2570
2655
|
created_at: string;
|
|
@@ -2607,6 +2692,7 @@ declare function usePendingContacts(options?: {
|
|
|
2607
2692
|
picture?: string | null | undefined;
|
|
2608
2693
|
encryption_public_key: string;
|
|
2609
2694
|
is_sso: boolean;
|
|
2695
|
+
is_identity_verified: boolean;
|
|
2610
2696
|
} | null | undefined;
|
|
2611
2697
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2612
2698
|
created_at: string;
|
|
@@ -2627,6 +2713,7 @@ declare function usePendingContacts(options?: {
|
|
|
2627
2713
|
picture?: string | null | undefined;
|
|
2628
2714
|
encryption_public_key: string;
|
|
2629
2715
|
is_sso: boolean;
|
|
2716
|
+
is_identity_verified: boolean;
|
|
2630
2717
|
} | null | undefined;
|
|
2631
2718
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2632
2719
|
created_at: string;
|
|
@@ -2647,6 +2734,7 @@ declare function usePendingContacts(options?: {
|
|
|
2647
2734
|
picture?: string | null | undefined;
|
|
2648
2735
|
encryption_public_key: string;
|
|
2649
2736
|
is_sso: boolean;
|
|
2737
|
+
is_identity_verified: boolean;
|
|
2650
2738
|
} | null | undefined;
|
|
2651
2739
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2652
2740
|
created_at: string;
|
|
@@ -2689,6 +2777,7 @@ declare function usePendingContacts(options?: {
|
|
|
2689
2777
|
picture?: string | null | undefined;
|
|
2690
2778
|
encryption_public_key: string;
|
|
2691
2779
|
is_sso: boolean;
|
|
2780
|
+
is_identity_verified: boolean;
|
|
2692
2781
|
} | null | undefined;
|
|
2693
2782
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2694
2783
|
created_at: string;
|
|
@@ -2709,6 +2798,7 @@ declare function usePendingContacts(options?: {
|
|
|
2709
2798
|
picture?: string | null | undefined;
|
|
2710
2799
|
encryption_public_key: string;
|
|
2711
2800
|
is_sso: boolean;
|
|
2801
|
+
is_identity_verified: boolean;
|
|
2712
2802
|
} | null | undefined;
|
|
2713
2803
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2714
2804
|
created_at: string;
|
|
@@ -2729,6 +2819,7 @@ declare function usePendingContacts(options?: {
|
|
|
2729
2819
|
picture?: string | null | undefined;
|
|
2730
2820
|
encryption_public_key: string;
|
|
2731
2821
|
is_sso: boolean;
|
|
2822
|
+
is_identity_verified: boolean;
|
|
2732
2823
|
} | null | undefined;
|
|
2733
2824
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2734
2825
|
created_at: string;
|
|
@@ -2748,6 +2839,7 @@ declare function usePendingContacts(options?: {
|
|
|
2748
2839
|
picture?: string | null | undefined;
|
|
2749
2840
|
encryption_public_key: string;
|
|
2750
2841
|
is_sso: boolean;
|
|
2842
|
+
is_identity_verified: boolean;
|
|
2751
2843
|
} | null | undefined;
|
|
2752
2844
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2753
2845
|
created_at: string;
|
|
@@ -2789,6 +2881,7 @@ declare function usePendingContacts(options?: {
|
|
|
2789
2881
|
picture?: string | null | undefined;
|
|
2790
2882
|
encryption_public_key: string;
|
|
2791
2883
|
is_sso: boolean;
|
|
2884
|
+
is_identity_verified: boolean;
|
|
2792
2885
|
} | null | undefined;
|
|
2793
2886
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2794
2887
|
created_at: string;
|
|
@@ -2809,6 +2902,7 @@ declare function usePendingContacts(options?: {
|
|
|
2809
2902
|
picture?: string | null | undefined;
|
|
2810
2903
|
encryption_public_key: string;
|
|
2811
2904
|
is_sso: boolean;
|
|
2905
|
+
is_identity_verified: boolean;
|
|
2812
2906
|
} | null | undefined;
|
|
2813
2907
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2814
2908
|
created_at: string;
|
|
@@ -2833,6 +2927,7 @@ declare function useAddContacts(): _tanstack_react_query.UseMutationResult<{
|
|
|
2833
2927
|
picture?: string | null | undefined;
|
|
2834
2928
|
encryption_public_key: string;
|
|
2835
2929
|
is_sso: boolean;
|
|
2930
|
+
is_identity_verified: boolean;
|
|
2836
2931
|
} | null | undefined;
|
|
2837
2932
|
status: "invitation_pending" | "invitation_expired" | "registered" | "failed";
|
|
2838
2933
|
created_at: string;
|
|
@@ -2850,6 +2945,8 @@ interface ProfileView {
|
|
|
2850
2945
|
email: string;
|
|
2851
2946
|
/** The sign-in provider manages the email (it cannot be changed here). */
|
|
2852
2947
|
isSso: boolean;
|
|
2948
|
+
/** Verified tick: passed an ID check under this name, not expired. */
|
|
2949
|
+
isIdentityVerified?: boolean;
|
|
2853
2950
|
/** Given and family name joined; empty while the profile has no name. */
|
|
2854
2951
|
fullName: string;
|
|
2855
2952
|
}
|
|
@@ -3199,6 +3296,67 @@ interface DeleteAccountFlow {
|
|
|
3199
3296
|
/** Step, typed-email confirmation and blockers of `DeleteAccountDialog`. */
|
|
3200
3297
|
declare function useDeleteAccountFlow({ userEmail, remove, onClose, onDeleted, onError, }: UseDeleteAccountFlowOptions): DeleteAccountFlow;
|
|
3201
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
|
+
|
|
3202
3360
|
/**
|
|
3203
3361
|
* Credits: the unit the ARBI backend reports AI usage in.
|
|
3204
3362
|
*
|
|
@@ -3975,6 +4133,7 @@ declare function useWorkNotifications(options: {
|
|
|
3975
4133
|
picture?: string | null | undefined;
|
|
3976
4134
|
encryption_public_key: string;
|
|
3977
4135
|
is_sso: boolean;
|
|
4136
|
+
is_identity_verified: boolean;
|
|
3978
4137
|
};
|
|
3979
4138
|
recipient: {
|
|
3980
4139
|
external_id: string;
|
|
@@ -3985,6 +4144,7 @@ declare function useWorkNotifications(options: {
|
|
|
3985
4144
|
picture?: string | null | undefined;
|
|
3986
4145
|
encryption_public_key: string;
|
|
3987
4146
|
is_sso: boolean;
|
|
4147
|
+
is_identity_verified: boolean;
|
|
3988
4148
|
};
|
|
3989
4149
|
workspace_ext_id?: string | null | undefined;
|
|
3990
4150
|
dm_context_only: boolean;
|
|
@@ -4030,6 +4190,7 @@ declare function useWorkNotifications(options: {
|
|
|
4030
4190
|
picture?: string | null | undefined;
|
|
4031
4191
|
encryption_public_key: string;
|
|
4032
4192
|
is_sso: boolean;
|
|
4193
|
+
is_identity_verified: boolean;
|
|
4033
4194
|
};
|
|
4034
4195
|
recipient: {
|
|
4035
4196
|
external_id: string;
|
|
@@ -4040,6 +4201,7 @@ declare function useWorkNotifications(options: {
|
|
|
4040
4201
|
picture?: string | null | undefined;
|
|
4041
4202
|
encryption_public_key: string;
|
|
4042
4203
|
is_sso: boolean;
|
|
4204
|
+
is_identity_verified: boolean;
|
|
4043
4205
|
};
|
|
4044
4206
|
workspace_ext_id?: string | null | undefined;
|
|
4045
4207
|
dm_context_only: boolean;
|
|
@@ -4064,6 +4226,7 @@ declare function useWorkNotifications(options: {
|
|
|
4064
4226
|
picture?: string | null | undefined;
|
|
4065
4227
|
encryption_public_key: string;
|
|
4066
4228
|
is_sso: boolean;
|
|
4229
|
+
is_identity_verified: boolean;
|
|
4067
4230
|
};
|
|
4068
4231
|
recipient: {
|
|
4069
4232
|
external_id: string;
|
|
@@ -4074,6 +4237,7 @@ declare function useWorkNotifications(options: {
|
|
|
4074
4237
|
picture?: string | null | undefined;
|
|
4075
4238
|
encryption_public_key: string;
|
|
4076
4239
|
is_sso: boolean;
|
|
4240
|
+
is_identity_verified: boolean;
|
|
4077
4241
|
};
|
|
4078
4242
|
workspace_ext_id?: string | null | undefined;
|
|
4079
4243
|
dm_context_only: boolean;
|
|
@@ -4099,6 +4263,7 @@ declare function useWorkNotifications(options: {
|
|
|
4099
4263
|
picture?: string | null | undefined;
|
|
4100
4264
|
encryption_public_key: string;
|
|
4101
4265
|
is_sso: boolean;
|
|
4266
|
+
is_identity_verified: boolean;
|
|
4102
4267
|
};
|
|
4103
4268
|
recipient: {
|
|
4104
4269
|
external_id: string;
|
|
@@ -4109,6 +4274,7 @@ declare function useWorkNotifications(options: {
|
|
|
4109
4274
|
picture?: string | null | undefined;
|
|
4110
4275
|
encryption_public_key: string;
|
|
4111
4276
|
is_sso: boolean;
|
|
4277
|
+
is_identity_verified: boolean;
|
|
4112
4278
|
};
|
|
4113
4279
|
workspace_ext_id?: string | null | undefined;
|
|
4114
4280
|
dm_context_only: boolean;
|
|
@@ -4154,6 +4320,7 @@ declare function useWorkNotifications(options: {
|
|
|
4154
4320
|
picture?: string | null | undefined;
|
|
4155
4321
|
encryption_public_key: string;
|
|
4156
4322
|
is_sso: boolean;
|
|
4323
|
+
is_identity_verified: boolean;
|
|
4157
4324
|
};
|
|
4158
4325
|
recipient: {
|
|
4159
4326
|
external_id: string;
|
|
@@ -4164,6 +4331,7 @@ declare function useWorkNotifications(options: {
|
|
|
4164
4331
|
picture?: string | null | undefined;
|
|
4165
4332
|
encryption_public_key: string;
|
|
4166
4333
|
is_sso: boolean;
|
|
4334
|
+
is_identity_verified: boolean;
|
|
4167
4335
|
};
|
|
4168
4336
|
workspace_ext_id?: string | null | undefined;
|
|
4169
4337
|
dm_context_only: boolean;
|
|
@@ -4188,6 +4356,7 @@ declare function useWorkNotifications(options: {
|
|
|
4188
4356
|
picture?: string | null | undefined;
|
|
4189
4357
|
encryption_public_key: string;
|
|
4190
4358
|
is_sso: boolean;
|
|
4359
|
+
is_identity_verified: boolean;
|
|
4191
4360
|
};
|
|
4192
4361
|
recipient: {
|
|
4193
4362
|
external_id: string;
|
|
@@ -4198,6 +4367,7 @@ declare function useWorkNotifications(options: {
|
|
|
4198
4367
|
picture?: string | null | undefined;
|
|
4199
4368
|
encryption_public_key: string;
|
|
4200
4369
|
is_sso: boolean;
|
|
4370
|
+
is_identity_verified: boolean;
|
|
4201
4371
|
};
|
|
4202
4372
|
workspace_ext_id?: string | null | undefined;
|
|
4203
4373
|
dm_context_only: boolean;
|
|
@@ -4246,6 +4416,7 @@ declare function useWorkNotifications(options: {
|
|
|
4246
4416
|
picture?: string | null | undefined;
|
|
4247
4417
|
encryption_public_key: string;
|
|
4248
4418
|
is_sso: boolean;
|
|
4419
|
+
is_identity_verified: boolean;
|
|
4249
4420
|
};
|
|
4250
4421
|
recipient: {
|
|
4251
4422
|
external_id: string;
|
|
@@ -4256,6 +4427,7 @@ declare function useWorkNotifications(options: {
|
|
|
4256
4427
|
picture?: string | null | undefined;
|
|
4257
4428
|
encryption_public_key: string;
|
|
4258
4429
|
is_sso: boolean;
|
|
4430
|
+
is_identity_verified: boolean;
|
|
4259
4431
|
};
|
|
4260
4432
|
workspace_ext_id?: string | null | undefined;
|
|
4261
4433
|
dm_context_only: boolean;
|
|
@@ -4280,6 +4452,7 @@ declare function useWorkNotifications(options: {
|
|
|
4280
4452
|
picture?: string | null | undefined;
|
|
4281
4453
|
encryption_public_key: string;
|
|
4282
4454
|
is_sso: boolean;
|
|
4455
|
+
is_identity_verified: boolean;
|
|
4283
4456
|
};
|
|
4284
4457
|
recipient: {
|
|
4285
4458
|
external_id: string;
|
|
@@ -4290,6 +4463,7 @@ declare function useWorkNotifications(options: {
|
|
|
4290
4463
|
picture?: string | null | undefined;
|
|
4291
4464
|
encryption_public_key: string;
|
|
4292
4465
|
is_sso: boolean;
|
|
4466
|
+
is_identity_verified: boolean;
|
|
4293
4467
|
};
|
|
4294
4468
|
workspace_ext_id?: string | null | undefined;
|
|
4295
4469
|
dm_context_only: boolean;
|
|
@@ -4338,6 +4512,7 @@ declare function useWorkNotifications(options: {
|
|
|
4338
4512
|
picture?: string | null | undefined;
|
|
4339
4513
|
encryption_public_key: string;
|
|
4340
4514
|
is_sso: boolean;
|
|
4515
|
+
is_identity_verified: boolean;
|
|
4341
4516
|
};
|
|
4342
4517
|
recipient: {
|
|
4343
4518
|
external_id: string;
|
|
@@ -4348,6 +4523,7 @@ declare function useWorkNotifications(options: {
|
|
|
4348
4523
|
picture?: string | null | undefined;
|
|
4349
4524
|
encryption_public_key: string;
|
|
4350
4525
|
is_sso: boolean;
|
|
4526
|
+
is_identity_verified: boolean;
|
|
4351
4527
|
};
|
|
4352
4528
|
workspace_ext_id?: string | null | undefined;
|
|
4353
4529
|
dm_context_only: boolean;
|
|
@@ -4372,6 +4548,7 @@ declare function useWorkNotifications(options: {
|
|
|
4372
4548
|
picture?: string | null | undefined;
|
|
4373
4549
|
encryption_public_key: string;
|
|
4374
4550
|
is_sso: boolean;
|
|
4551
|
+
is_identity_verified: boolean;
|
|
4375
4552
|
};
|
|
4376
4553
|
recipient: {
|
|
4377
4554
|
external_id: string;
|
|
@@ -4382,6 +4559,7 @@ declare function useWorkNotifications(options: {
|
|
|
4382
4559
|
picture?: string | null | undefined;
|
|
4383
4560
|
encryption_public_key: string;
|
|
4384
4561
|
is_sso: boolean;
|
|
4562
|
+
is_identity_verified: boolean;
|
|
4385
4563
|
};
|
|
4386
4564
|
workspace_ext_id?: string | null | undefined;
|
|
4387
4565
|
dm_context_only: boolean;
|
|
@@ -4430,6 +4608,7 @@ declare function useWorkNotifications(options: {
|
|
|
4430
4608
|
picture?: string | null | undefined;
|
|
4431
4609
|
encryption_public_key: string;
|
|
4432
4610
|
is_sso: boolean;
|
|
4611
|
+
is_identity_verified: boolean;
|
|
4433
4612
|
};
|
|
4434
4613
|
recipient: {
|
|
4435
4614
|
external_id: string;
|
|
@@ -4440,6 +4619,7 @@ declare function useWorkNotifications(options: {
|
|
|
4440
4619
|
picture?: string | null | undefined;
|
|
4441
4620
|
encryption_public_key: string;
|
|
4442
4621
|
is_sso: boolean;
|
|
4622
|
+
is_identity_verified: boolean;
|
|
4443
4623
|
};
|
|
4444
4624
|
workspace_ext_id?: string | null | undefined;
|
|
4445
4625
|
dm_context_only: boolean;
|
|
@@ -4464,6 +4644,7 @@ declare function useWorkNotifications(options: {
|
|
|
4464
4644
|
picture?: string | null | undefined;
|
|
4465
4645
|
encryption_public_key: string;
|
|
4466
4646
|
is_sso: boolean;
|
|
4647
|
+
is_identity_verified: boolean;
|
|
4467
4648
|
};
|
|
4468
4649
|
recipient: {
|
|
4469
4650
|
external_id: string;
|
|
@@ -4474,6 +4655,7 @@ declare function useWorkNotifications(options: {
|
|
|
4474
4655
|
picture?: string | null | undefined;
|
|
4475
4656
|
encryption_public_key: string;
|
|
4476
4657
|
is_sso: boolean;
|
|
4658
|
+
is_identity_verified: boolean;
|
|
4477
4659
|
};
|
|
4478
4660
|
workspace_ext_id?: string | null | undefined;
|
|
4479
4661
|
dm_context_only: boolean;
|
|
@@ -4499,6 +4681,7 @@ declare function useWorkNotifications(options: {
|
|
|
4499
4681
|
picture?: string | null | undefined;
|
|
4500
4682
|
encryption_public_key: string;
|
|
4501
4683
|
is_sso: boolean;
|
|
4684
|
+
is_identity_verified: boolean;
|
|
4502
4685
|
};
|
|
4503
4686
|
recipient: {
|
|
4504
4687
|
external_id: string;
|
|
@@ -4509,6 +4692,7 @@ declare function useWorkNotifications(options: {
|
|
|
4509
4692
|
picture?: string | null | undefined;
|
|
4510
4693
|
encryption_public_key: string;
|
|
4511
4694
|
is_sso: boolean;
|
|
4695
|
+
is_identity_verified: boolean;
|
|
4512
4696
|
};
|
|
4513
4697
|
workspace_ext_id?: string | null | undefined;
|
|
4514
4698
|
dm_context_only: boolean;
|
|
@@ -4554,6 +4738,7 @@ declare function useWorkNotifications(options: {
|
|
|
4554
4738
|
picture?: string | null | undefined;
|
|
4555
4739
|
encryption_public_key: string;
|
|
4556
4740
|
is_sso: boolean;
|
|
4741
|
+
is_identity_verified: boolean;
|
|
4557
4742
|
};
|
|
4558
4743
|
recipient: {
|
|
4559
4744
|
external_id: string;
|
|
@@ -4564,6 +4749,7 @@ declare function useWorkNotifications(options: {
|
|
|
4564
4749
|
picture?: string | null | undefined;
|
|
4565
4750
|
encryption_public_key: string;
|
|
4566
4751
|
is_sso: boolean;
|
|
4752
|
+
is_identity_verified: boolean;
|
|
4567
4753
|
};
|
|
4568
4754
|
workspace_ext_id?: string | null | undefined;
|
|
4569
4755
|
dm_context_only: boolean;
|
|
@@ -4588,6 +4774,7 @@ declare function useWorkNotifications(options: {
|
|
|
4588
4774
|
picture?: string | null | undefined;
|
|
4589
4775
|
encryption_public_key: string;
|
|
4590
4776
|
is_sso: boolean;
|
|
4777
|
+
is_identity_verified: boolean;
|
|
4591
4778
|
};
|
|
4592
4779
|
recipient: {
|
|
4593
4780
|
external_id: string;
|
|
@@ -4598,6 +4785,7 @@ declare function useWorkNotifications(options: {
|
|
|
4598
4785
|
picture?: string | null | undefined;
|
|
4599
4786
|
encryption_public_key: string;
|
|
4600
4787
|
is_sso: boolean;
|
|
4788
|
+
is_identity_verified: boolean;
|
|
4601
4789
|
};
|
|
4602
4790
|
workspace_ext_id?: string | null | undefined;
|
|
4603
4791
|
dm_context_only: boolean;
|
|
@@ -5486,6 +5674,16 @@ declare function useVideoRecorder(stream: MediaStream | null): UseVideoRecorderR
|
|
|
5486
5674
|
*/
|
|
5487
5675
|
declare function captureFrameAsBlob(video: HTMLVideoElement, mimeType?: string): Promise<Blob>;
|
|
5488
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
|
+
|
|
5489
5687
|
/**
|
|
5490
5688
|
* PhotoCapture
|
|
5491
5689
|
*
|
|
@@ -5576,4 +5774,4 @@ interface ArbiUiState {
|
|
|
5576
5774
|
}
|
|
5577
5775
|
declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
|
|
5578
5776
|
|
|
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 };
|
|
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 };
|