@arbidocs/react 0.4.27 → 0.4.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artifacts/index.cjs +14 -14
- package/dist/artifacts/index.js +2 -2
- package/dist/{chunk-KXIIARRK.cjs → chunk-6BLXIF4R.cjs} +21 -4
- package/dist/chunk-6BLXIF4R.cjs.map +1 -0
- package/dist/{chunk-DLT354KA.js → chunk-NDG44JWI.js} +21 -5
- package/dist/chunk-NDG44JWI.js.map +1 -0
- package/dist/{chunk-FSMIN5VX.js → chunk-OBTCAI4E.js} +3 -2
- package/dist/chunk-OBTCAI4E.js.map +1 -0
- package/dist/{chunk-PGLV23SB.cjs → chunk-YSZJCWDD.cjs} +3 -2
- package/dist/chunk-YSZJCWDD.cjs.map +1 -0
- package/dist/index.cjs +694 -350
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +734 -3
- package/dist/index.d.ts +734 -3
- package/dist/index.js +615 -282
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +6 -6
- package/dist/shell/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-DLT354KA.js.map +0 -1
- package/dist/chunk-FSMIN5VX.js.map +0 -1
- package/dist/chunk-KXIIARRK.cjs.map +0 -1
- package/dist/chunk-PGLV23SB.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
|
|
4
|
+
import { ArbiOptions, QueryOptions, Arbi, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, RequestApprovalRequest, ReviewWorkRequest, UpdateConversationRequest, UpdateWorkflowRequest, LoginProfile } from '@arbidocs/sdk/browser';
|
|
4
5
|
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, RequestApprovalRequest, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, ReviewWorkRequest, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse } from '@arbidocs/sdk/browser';
|
|
5
6
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
6
7
|
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components } from '@arbidocs/client';
|
|
@@ -69,6 +70,8 @@ declare function toChatCitations(source: {
|
|
|
69
70
|
type ArbiChatRole = 'user' | 'assistant';
|
|
70
71
|
type ArbiChatMessageStatus = 'streaming' | 'complete' | 'error';
|
|
71
72
|
interface ArbiChatMessage {
|
|
73
|
+
mentions?: QueryOptions['mentions'];
|
|
74
|
+
authorId?: string;
|
|
72
75
|
id: string;
|
|
73
76
|
role: ArbiChatRole;
|
|
74
77
|
/** Markdown for an assistant message, plain text for a user message. */
|
|
@@ -96,6 +99,8 @@ interface ArbiChatDocument {
|
|
|
96
99
|
isSelected: boolean;
|
|
97
100
|
}
|
|
98
101
|
interface UseArbiChatOptions {
|
|
102
|
+
/** Use an owned agent's independent session, history and sandbox files. */
|
|
103
|
+
agentId?: string;
|
|
99
104
|
/** The workspace to chat in. Threads and the document selection reset when it changes. */
|
|
100
105
|
workspaceId?: string;
|
|
101
106
|
/** Assistant configuration or model id passed to every query. */
|
|
@@ -113,6 +118,10 @@ interface UseArbiChatOptions {
|
|
|
113
118
|
};
|
|
114
119
|
}
|
|
115
120
|
interface ArbiChat {
|
|
121
|
+
assistantMode: 'always' | 'mentioned';
|
|
122
|
+
isUpdatingAssistantMode: boolean;
|
|
123
|
+
isPostingComment: boolean;
|
|
124
|
+
setAssistantMode: (mode: 'always' | 'mentioned') => Promise<void>;
|
|
116
125
|
threads: ArbiChatThread[];
|
|
117
126
|
activeThreadId: string;
|
|
118
127
|
messages: ArbiChatMessage[];
|
|
@@ -130,7 +139,9 @@ interface ArbiChat {
|
|
|
130
139
|
isLoadingDocuments: boolean;
|
|
131
140
|
isUploading: boolean;
|
|
132
141
|
uploadError: string | null;
|
|
133
|
-
send: (text: string
|
|
142
|
+
send: (text: string, options?: {
|
|
143
|
+
mentions?: QueryOptions['mentions'];
|
|
144
|
+
}) => Promise<void>;
|
|
134
145
|
/** Re-ask the question whose answer failed. */
|
|
135
146
|
retry: () => Promise<void>;
|
|
136
147
|
/** Abort the running answer; what streamed so far stays, marked stopped. */
|
|
@@ -493,6 +504,7 @@ interface ParsedDocument {
|
|
|
493
504
|
|
|
494
505
|
declare const arbiQueryKeys: {
|
|
495
506
|
workspaces: () => readonly ["arbi", "workspaces"];
|
|
507
|
+
workspaceUsers: (workspaceId: string) => readonly ["arbi", "workspaceUsers", string];
|
|
496
508
|
documents: (workspaceId: string) => readonly ["arbi", "documents", string];
|
|
497
509
|
conversations: (workspaceId: string) => readonly ["arbi", "conversations", string];
|
|
498
510
|
/** Every workspace's conversation list (and threads): the prefix a conversation write invalidates. */
|
|
@@ -523,6 +535,29 @@ declare const arbiQueryKeys: {
|
|
|
523
535
|
/** The signed-in user's settings record (notification preferences, flags). */
|
|
524
536
|
userSettings: () => readonly ["arbi", "userSettings"];
|
|
525
537
|
};
|
|
538
|
+
/** Workspace people for mentions, ownership and sign-off. */
|
|
539
|
+
declare function useWorkspaceUsers(workspaceId: string | undefined, options?: {
|
|
540
|
+
enabled?: boolean;
|
|
541
|
+
beforeFetch?: () => Promise<unknown>;
|
|
542
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
543
|
+
user: {
|
|
544
|
+
external_id: string;
|
|
545
|
+
parent_ext_id?: string | null | undefined;
|
|
546
|
+
email: string;
|
|
547
|
+
given_name: string;
|
|
548
|
+
family_name?: string | null | undefined;
|
|
549
|
+
picture?: string | null | undefined;
|
|
550
|
+
encryption_public_key: string;
|
|
551
|
+
is_sso: boolean;
|
|
552
|
+
};
|
|
553
|
+
role: _arbidocs_client.components["schemas"]["WorkspaceRole"];
|
|
554
|
+
joined_at: string;
|
|
555
|
+
conversation_count: number;
|
|
556
|
+
document_count: number;
|
|
557
|
+
files_mb: number;
|
|
558
|
+
agent_ext_id?: string | null | undefined;
|
|
559
|
+
is_temporary: boolean;
|
|
560
|
+
}[]>, Error>;
|
|
526
561
|
/** List the logged-in user's workspaces. */
|
|
527
562
|
declare function useWorkspaces(options?: {
|
|
528
563
|
enabled?: boolean;
|
|
@@ -626,6 +661,7 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
|
|
|
626
661
|
/** List conversations in a workspace. */
|
|
627
662
|
declare function useConversations(workspaceId: string | undefined, options?: {
|
|
628
663
|
enabled?: boolean;
|
|
664
|
+
live?: boolean;
|
|
629
665
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
630
666
|
external_id: string;
|
|
631
667
|
title: string | null;
|
|
@@ -648,6 +684,7 @@ declare function useConversations(workspaceId: string | undefined, options?: {
|
|
|
648
684
|
workflow_ext_id?: string | null | undefined;
|
|
649
685
|
agent_ext_id?: string | null | undefined;
|
|
650
686
|
skill_ref?: string | null | undefined;
|
|
687
|
+
has_agent_action?: boolean | undefined;
|
|
651
688
|
auth_mode?: (_arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null) | undefined;
|
|
652
689
|
plan?: {
|
|
653
690
|
goal: string;
|
|
@@ -675,6 +712,7 @@ declare function useConversations(workspaceId: string | undefined, options?: {
|
|
|
675
712
|
*/
|
|
676
713
|
declare function useConversationThreads(workspaceId: string | undefined, conversationId: string | undefined, options?: {
|
|
677
714
|
enabled?: boolean;
|
|
715
|
+
live?: boolean;
|
|
678
716
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
679
717
|
conversation_ext_id: string;
|
|
680
718
|
threads: {
|
|
@@ -893,9 +931,14 @@ declare function useParsedDocument(docId: string | undefined, stage?: string, op
|
|
|
893
931
|
/** Send a streaming query to the RAG assistant. Returns a mutation. */
|
|
894
932
|
declare function useAssistantQuery(): _tanstack_react_query.UseMutationResult<SSEStreamResult, Error, {
|
|
895
933
|
question: string;
|
|
934
|
+
agentId?: string;
|
|
935
|
+
workspaceId?: string;
|
|
896
936
|
activeArtifactExtId?: string;
|
|
897
937
|
docIds: string[];
|
|
898
938
|
previousResponseId?: string | null;
|
|
939
|
+
conversationId?: string;
|
|
940
|
+
assistantMode?: QueryOptions["assistantMode"];
|
|
941
|
+
mentions?: QueryOptions["mentions"];
|
|
899
942
|
model?: string;
|
|
900
943
|
onToken?: (content: string) => void;
|
|
901
944
|
/** Aborts the request and the stream; the mutation then rejects with an `AbortError`. */
|
|
@@ -1664,6 +1707,7 @@ declare function useUpdateConversation(): _tanstack_react_query.UseMutationResul
|
|
|
1664
1707
|
workflow_ext_id?: string | null;
|
|
1665
1708
|
agent_ext_id?: string | null;
|
|
1666
1709
|
skill_ref?: string | null;
|
|
1710
|
+
has_agent_action?: boolean;
|
|
1667
1711
|
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1668
1712
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1669
1713
|
goal_state?: {
|
|
@@ -1706,6 +1750,7 @@ declare function useCreateWork(): _tanstack_react_query.UseMutationResult<{
|
|
|
1706
1750
|
workflow_ext_id?: string | null;
|
|
1707
1751
|
agent_ext_id?: string | null;
|
|
1708
1752
|
skill_ref?: string | null;
|
|
1753
|
+
has_agent_action?: boolean;
|
|
1709
1754
|
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1710
1755
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1711
1756
|
goal_state?: {
|
|
@@ -1761,6 +1806,7 @@ declare function useRunConversation(): _tanstack_react_query.UseMutationResult<{
|
|
|
1761
1806
|
workflow_ext_id?: string | null;
|
|
1762
1807
|
agent_ext_id?: string | null;
|
|
1763
1808
|
skill_ref?: string | null;
|
|
1809
|
+
has_agent_action?: boolean;
|
|
1764
1810
|
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1765
1811
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1766
1812
|
goal_state?: {
|
|
@@ -1800,6 +1846,7 @@ declare function useReviewConversation(): _tanstack_react_query.UseMutationResul
|
|
|
1800
1846
|
workflow_ext_id?: string | null;
|
|
1801
1847
|
agent_ext_id?: string | null;
|
|
1802
1848
|
skill_ref?: string | null;
|
|
1849
|
+
has_agent_action?: boolean;
|
|
1803
1850
|
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1804
1851
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1805
1852
|
goal_state?: {
|
|
@@ -1842,6 +1889,7 @@ declare function useRequestConversationApproval(): _tanstack_react_query.UseMuta
|
|
|
1842
1889
|
workflow_ext_id?: string | null;
|
|
1843
1890
|
agent_ext_id?: string | null;
|
|
1844
1891
|
skill_ref?: string | null;
|
|
1892
|
+
has_agent_action?: boolean;
|
|
1845
1893
|
auth_mode?: _arbidocs_client.components["schemas"]["src__models__work__AuthMode"] | null;
|
|
1846
1894
|
plan?: _arbidocs_client.components["schemas"]["TaskPlan"] | null;
|
|
1847
1895
|
goal_state?: {
|
|
@@ -1901,6 +1949,7 @@ declare function useConversationActivity(conversationId: string | undefined, opt
|
|
|
1901
1949
|
/** The caller's workflows (their own, and the ones shared with the open workspace). */
|
|
1902
1950
|
declare function useWorkflows(options?: {
|
|
1903
1951
|
enabled?: boolean;
|
|
1952
|
+
live?: boolean;
|
|
1904
1953
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
1905
1954
|
external_id: string;
|
|
1906
1955
|
name: string;
|
|
@@ -2149,6 +2198,7 @@ declare function useRevokeAgentAccess(): _tanstack_react_query.UseMutationResult
|
|
|
2149
2198
|
declare function useSkills(options?: {
|
|
2150
2199
|
enabled?: boolean;
|
|
2151
2200
|
includeHidden?: boolean;
|
|
2201
|
+
live?: boolean;
|
|
2152
2202
|
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
2153
2203
|
name: string;
|
|
2154
2204
|
slug: string;
|
|
@@ -2162,6 +2212,47 @@ declare function useSkills(options?: {
|
|
|
2162
2212
|
visibility: string;
|
|
2163
2213
|
is_owner: boolean;
|
|
2164
2214
|
}[]>, Error>;
|
|
2215
|
+
/** Upload skill files through the same document path as the main application. */
|
|
2216
|
+
declare function useUploadSkillFiles(): _tanstack_react_query.UseMutationResult<{
|
|
2217
|
+
doc_ext_ids?: string[];
|
|
2218
|
+
}[], Error, {
|
|
2219
|
+
folder: string;
|
|
2220
|
+
fileName: string;
|
|
2221
|
+
content: Blob;
|
|
2222
|
+
}[], unknown>;
|
|
2223
|
+
/** Start the person's assistant as reviewable work, then resolve its persisted thread. */
|
|
2224
|
+
declare function useStartWorkQuery(): _tanstack_react_query.UseMutationResult<{
|
|
2225
|
+
conversationId: string;
|
|
2226
|
+
responseId: string;
|
|
2227
|
+
}, Error, Omit<_arbidocs_sdk_browser.SubmitBackgroundQueryOptions, "question" | "workspaceId" | keyof _arbidocs_sdk_browser.AuthHeaders> & {
|
|
2228
|
+
question: string;
|
|
2229
|
+
}, unknown>;
|
|
2230
|
+
/** Independent agent login status, polled while its controls are visible. */
|
|
2231
|
+
declare function useAgentSession(agentId: string | undefined, options?: {
|
|
2232
|
+
enabled?: boolean;
|
|
2233
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
2234
|
+
backend: string;
|
|
2235
|
+
active: boolean;
|
|
2236
|
+
workspace_ext_id?: string | null | undefined;
|
|
2237
|
+
workspace_name?: string | null | undefined;
|
|
2238
|
+
}>, Error>;
|
|
2239
|
+
declare function useAgentChats(agentId: string | undefined): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
2240
|
+
conversation_ext_id: string;
|
|
2241
|
+
workspace_ext_id: string;
|
|
2242
|
+
workspace_name: string;
|
|
2243
|
+
title: string;
|
|
2244
|
+
updated_at: string;
|
|
2245
|
+
}[]>, Error>;
|
|
2246
|
+
declare function useStartAgentSession(): _tanstack_react_query.UseMutationResult<{
|
|
2247
|
+
backend: string;
|
|
2248
|
+
active: boolean;
|
|
2249
|
+
workspace_ext_id?: string | null | undefined;
|
|
2250
|
+
workspace_name?: string | null | undefined;
|
|
2251
|
+
}, Error, {
|
|
2252
|
+
agentId: string;
|
|
2253
|
+
workspaceId?: string;
|
|
2254
|
+
}, unknown>;
|
|
2255
|
+
declare function useCloseAgentSession(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
2165
2256
|
|
|
2166
2257
|
/**
|
|
2167
2258
|
* Contacts: the user's colleagues and pending invitations.
|
|
@@ -3858,6 +3949,646 @@ interface ActivityFeedProps {
|
|
|
3858
3949
|
*/
|
|
3859
3950
|
declare function ActivityFeed({ limit, className, emptyLabel, enabled, 'data-testid': testId, }: ActivityFeedProps): React$1.JSX.Element;
|
|
3860
3951
|
|
|
3952
|
+
/** Persisted work notices, isolated by account and API, with live refresh and read receipts. */
|
|
3953
|
+
declare function useWorkNotifications(options: {
|
|
3954
|
+
apiUrl: string;
|
|
3955
|
+
userId?: string;
|
|
3956
|
+
enabled: boolean;
|
|
3957
|
+
}): {
|
|
3958
|
+
markRead: _tanstack_react_query.UseMutateAsyncFunction<void, Error, string[], unknown>;
|
|
3959
|
+
data: NoInfer<{
|
|
3960
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
3961
|
+
external_id: string;
|
|
3962
|
+
sender: {
|
|
3963
|
+
external_id: string;
|
|
3964
|
+
parent_ext_id?: string | null | undefined;
|
|
3965
|
+
email: string;
|
|
3966
|
+
given_name: string;
|
|
3967
|
+
family_name?: string | null | undefined;
|
|
3968
|
+
picture?: string | null | undefined;
|
|
3969
|
+
encryption_public_key: string;
|
|
3970
|
+
is_sso: boolean;
|
|
3971
|
+
};
|
|
3972
|
+
recipient: {
|
|
3973
|
+
external_id: string;
|
|
3974
|
+
parent_ext_id?: string | null | undefined;
|
|
3975
|
+
email: string;
|
|
3976
|
+
given_name: string;
|
|
3977
|
+
family_name?: string | null | undefined;
|
|
3978
|
+
picture?: string | null | undefined;
|
|
3979
|
+
encryption_public_key: string;
|
|
3980
|
+
is_sso: boolean;
|
|
3981
|
+
};
|
|
3982
|
+
workspace_ext_id?: string | null | undefined;
|
|
3983
|
+
dm_context_only: boolean;
|
|
3984
|
+
content?: string | null | undefined;
|
|
3985
|
+
conversation_ext_id?: string | null | undefined;
|
|
3986
|
+
message_ext_id?: string | null | undefined;
|
|
3987
|
+
read: boolean;
|
|
3988
|
+
created_at: string;
|
|
3989
|
+
updated_at: string;
|
|
3990
|
+
}[]>;
|
|
3991
|
+
error: Error;
|
|
3992
|
+
isError: true;
|
|
3993
|
+
isPending: false;
|
|
3994
|
+
isLoading: false;
|
|
3995
|
+
isLoadingError: false;
|
|
3996
|
+
isRefetchError: true;
|
|
3997
|
+
isSuccess: false;
|
|
3998
|
+
isPlaceholderData: false;
|
|
3999
|
+
status: "error";
|
|
4000
|
+
dataUpdatedAt: number;
|
|
4001
|
+
errorUpdatedAt: number;
|
|
4002
|
+
failureCount: number;
|
|
4003
|
+
failureReason: Error | null;
|
|
4004
|
+
errorUpdateCount: number;
|
|
4005
|
+
isFetched: boolean;
|
|
4006
|
+
isFetchedAfterMount: boolean;
|
|
4007
|
+
isFetching: boolean;
|
|
4008
|
+
isInitialLoading: boolean;
|
|
4009
|
+
isPaused: boolean;
|
|
4010
|
+
isRefetching: boolean;
|
|
4011
|
+
isStale: boolean;
|
|
4012
|
+
isEnabled: boolean;
|
|
4013
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<NoInfer<{
|
|
4014
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4015
|
+
external_id: string;
|
|
4016
|
+
sender: {
|
|
4017
|
+
external_id: string;
|
|
4018
|
+
parent_ext_id?: string | null | undefined;
|
|
4019
|
+
email: string;
|
|
4020
|
+
given_name: string;
|
|
4021
|
+
family_name?: string | null | undefined;
|
|
4022
|
+
picture?: string | null | undefined;
|
|
4023
|
+
encryption_public_key: string;
|
|
4024
|
+
is_sso: boolean;
|
|
4025
|
+
};
|
|
4026
|
+
recipient: {
|
|
4027
|
+
external_id: string;
|
|
4028
|
+
parent_ext_id?: string | null | undefined;
|
|
4029
|
+
email: string;
|
|
4030
|
+
given_name: string;
|
|
4031
|
+
family_name?: string | null | undefined;
|
|
4032
|
+
picture?: string | null | undefined;
|
|
4033
|
+
encryption_public_key: string;
|
|
4034
|
+
is_sso: boolean;
|
|
4035
|
+
};
|
|
4036
|
+
workspace_ext_id?: string | null | undefined;
|
|
4037
|
+
dm_context_only: boolean;
|
|
4038
|
+
content?: string | null | undefined;
|
|
4039
|
+
conversation_ext_id?: string | null | undefined;
|
|
4040
|
+
message_ext_id?: string | null | undefined;
|
|
4041
|
+
read: boolean;
|
|
4042
|
+
created_at: string;
|
|
4043
|
+
updated_at: string;
|
|
4044
|
+
}[]>, Error>>;
|
|
4045
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
4046
|
+
promise: Promise<NoInfer<{
|
|
4047
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4048
|
+
external_id: string;
|
|
4049
|
+
sender: {
|
|
4050
|
+
external_id: string;
|
|
4051
|
+
parent_ext_id?: string | null | undefined;
|
|
4052
|
+
email: string;
|
|
4053
|
+
given_name: string;
|
|
4054
|
+
family_name?: string | null | undefined;
|
|
4055
|
+
picture?: string | null | undefined;
|
|
4056
|
+
encryption_public_key: string;
|
|
4057
|
+
is_sso: boolean;
|
|
4058
|
+
};
|
|
4059
|
+
recipient: {
|
|
4060
|
+
external_id: string;
|
|
4061
|
+
parent_ext_id?: string | null | undefined;
|
|
4062
|
+
email: string;
|
|
4063
|
+
given_name: string;
|
|
4064
|
+
family_name?: string | null | undefined;
|
|
4065
|
+
picture?: string | null | undefined;
|
|
4066
|
+
encryption_public_key: string;
|
|
4067
|
+
is_sso: boolean;
|
|
4068
|
+
};
|
|
4069
|
+
workspace_ext_id?: string | null | undefined;
|
|
4070
|
+
dm_context_only: boolean;
|
|
4071
|
+
content?: string | null | undefined;
|
|
4072
|
+
conversation_ext_id?: string | null | undefined;
|
|
4073
|
+
message_ext_id?: string | null | undefined;
|
|
4074
|
+
read: boolean;
|
|
4075
|
+
created_at: string;
|
|
4076
|
+
updated_at: string;
|
|
4077
|
+
}[]>>;
|
|
4078
|
+
} | {
|
|
4079
|
+
markRead: _tanstack_react_query.UseMutateAsyncFunction<void, Error, string[], unknown>;
|
|
4080
|
+
data: NoInfer<{
|
|
4081
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4082
|
+
external_id: string;
|
|
4083
|
+
sender: {
|
|
4084
|
+
external_id: string;
|
|
4085
|
+
parent_ext_id?: string | null | undefined;
|
|
4086
|
+
email: string;
|
|
4087
|
+
given_name: string;
|
|
4088
|
+
family_name?: string | null | undefined;
|
|
4089
|
+
picture?: string | null | undefined;
|
|
4090
|
+
encryption_public_key: string;
|
|
4091
|
+
is_sso: boolean;
|
|
4092
|
+
};
|
|
4093
|
+
recipient: {
|
|
4094
|
+
external_id: string;
|
|
4095
|
+
parent_ext_id?: string | null | undefined;
|
|
4096
|
+
email: string;
|
|
4097
|
+
given_name: string;
|
|
4098
|
+
family_name?: string | null | undefined;
|
|
4099
|
+
picture?: string | null | undefined;
|
|
4100
|
+
encryption_public_key: string;
|
|
4101
|
+
is_sso: boolean;
|
|
4102
|
+
};
|
|
4103
|
+
workspace_ext_id?: string | null | undefined;
|
|
4104
|
+
dm_context_only: boolean;
|
|
4105
|
+
content?: string | null | undefined;
|
|
4106
|
+
conversation_ext_id?: string | null | undefined;
|
|
4107
|
+
message_ext_id?: string | null | undefined;
|
|
4108
|
+
read: boolean;
|
|
4109
|
+
created_at: string;
|
|
4110
|
+
updated_at: string;
|
|
4111
|
+
}[]>;
|
|
4112
|
+
error: null;
|
|
4113
|
+
isError: false;
|
|
4114
|
+
isPending: false;
|
|
4115
|
+
isLoading: false;
|
|
4116
|
+
isLoadingError: false;
|
|
4117
|
+
isRefetchError: false;
|
|
4118
|
+
isSuccess: true;
|
|
4119
|
+
isPlaceholderData: false;
|
|
4120
|
+
status: "success";
|
|
4121
|
+
dataUpdatedAt: number;
|
|
4122
|
+
errorUpdatedAt: number;
|
|
4123
|
+
failureCount: number;
|
|
4124
|
+
failureReason: Error | null;
|
|
4125
|
+
errorUpdateCount: number;
|
|
4126
|
+
isFetched: boolean;
|
|
4127
|
+
isFetchedAfterMount: boolean;
|
|
4128
|
+
isFetching: boolean;
|
|
4129
|
+
isInitialLoading: boolean;
|
|
4130
|
+
isPaused: boolean;
|
|
4131
|
+
isRefetching: boolean;
|
|
4132
|
+
isStale: boolean;
|
|
4133
|
+
isEnabled: boolean;
|
|
4134
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<NoInfer<{
|
|
4135
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4136
|
+
external_id: string;
|
|
4137
|
+
sender: {
|
|
4138
|
+
external_id: string;
|
|
4139
|
+
parent_ext_id?: string | null | undefined;
|
|
4140
|
+
email: string;
|
|
4141
|
+
given_name: string;
|
|
4142
|
+
family_name?: string | null | undefined;
|
|
4143
|
+
picture?: string | null | undefined;
|
|
4144
|
+
encryption_public_key: string;
|
|
4145
|
+
is_sso: boolean;
|
|
4146
|
+
};
|
|
4147
|
+
recipient: {
|
|
4148
|
+
external_id: string;
|
|
4149
|
+
parent_ext_id?: string | null | undefined;
|
|
4150
|
+
email: string;
|
|
4151
|
+
given_name: string;
|
|
4152
|
+
family_name?: string | null | undefined;
|
|
4153
|
+
picture?: string | null | undefined;
|
|
4154
|
+
encryption_public_key: string;
|
|
4155
|
+
is_sso: boolean;
|
|
4156
|
+
};
|
|
4157
|
+
workspace_ext_id?: string | null | undefined;
|
|
4158
|
+
dm_context_only: boolean;
|
|
4159
|
+
content?: string | null | undefined;
|
|
4160
|
+
conversation_ext_id?: string | null | undefined;
|
|
4161
|
+
message_ext_id?: string | null | undefined;
|
|
4162
|
+
read: boolean;
|
|
4163
|
+
created_at: string;
|
|
4164
|
+
updated_at: string;
|
|
4165
|
+
}[]>, Error>>;
|
|
4166
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
4167
|
+
promise: Promise<NoInfer<{
|
|
4168
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4169
|
+
external_id: string;
|
|
4170
|
+
sender: {
|
|
4171
|
+
external_id: string;
|
|
4172
|
+
parent_ext_id?: string | null | undefined;
|
|
4173
|
+
email: string;
|
|
4174
|
+
given_name: string;
|
|
4175
|
+
family_name?: string | null | undefined;
|
|
4176
|
+
picture?: string | null | undefined;
|
|
4177
|
+
encryption_public_key: string;
|
|
4178
|
+
is_sso: boolean;
|
|
4179
|
+
};
|
|
4180
|
+
recipient: {
|
|
4181
|
+
external_id: string;
|
|
4182
|
+
parent_ext_id?: string | null | undefined;
|
|
4183
|
+
email: string;
|
|
4184
|
+
given_name: string;
|
|
4185
|
+
family_name?: string | null | undefined;
|
|
4186
|
+
picture?: string | null | undefined;
|
|
4187
|
+
encryption_public_key: string;
|
|
4188
|
+
is_sso: boolean;
|
|
4189
|
+
};
|
|
4190
|
+
workspace_ext_id?: string | null | undefined;
|
|
4191
|
+
dm_context_only: boolean;
|
|
4192
|
+
content?: string | null | undefined;
|
|
4193
|
+
conversation_ext_id?: string | null | undefined;
|
|
4194
|
+
message_ext_id?: string | null | undefined;
|
|
4195
|
+
read: boolean;
|
|
4196
|
+
created_at: string;
|
|
4197
|
+
updated_at: string;
|
|
4198
|
+
}[]>>;
|
|
4199
|
+
} | {
|
|
4200
|
+
markRead: _tanstack_react_query.UseMutateAsyncFunction<void, Error, string[], unknown>;
|
|
4201
|
+
data: undefined;
|
|
4202
|
+
error: Error;
|
|
4203
|
+
isError: true;
|
|
4204
|
+
isPending: false;
|
|
4205
|
+
isLoading: false;
|
|
4206
|
+
isLoadingError: true;
|
|
4207
|
+
isRefetchError: false;
|
|
4208
|
+
isSuccess: false;
|
|
4209
|
+
isPlaceholderData: false;
|
|
4210
|
+
status: "error";
|
|
4211
|
+
dataUpdatedAt: number;
|
|
4212
|
+
errorUpdatedAt: number;
|
|
4213
|
+
failureCount: number;
|
|
4214
|
+
failureReason: Error | null;
|
|
4215
|
+
errorUpdateCount: number;
|
|
4216
|
+
isFetched: boolean;
|
|
4217
|
+
isFetchedAfterMount: boolean;
|
|
4218
|
+
isFetching: boolean;
|
|
4219
|
+
isInitialLoading: boolean;
|
|
4220
|
+
isPaused: boolean;
|
|
4221
|
+
isRefetching: boolean;
|
|
4222
|
+
isStale: boolean;
|
|
4223
|
+
isEnabled: boolean;
|
|
4224
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<NoInfer<{
|
|
4225
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4226
|
+
external_id: string;
|
|
4227
|
+
sender: {
|
|
4228
|
+
external_id: string;
|
|
4229
|
+
parent_ext_id?: string | null | undefined;
|
|
4230
|
+
email: string;
|
|
4231
|
+
given_name: string;
|
|
4232
|
+
family_name?: string | null | undefined;
|
|
4233
|
+
picture?: string | null | undefined;
|
|
4234
|
+
encryption_public_key: string;
|
|
4235
|
+
is_sso: boolean;
|
|
4236
|
+
};
|
|
4237
|
+
recipient: {
|
|
4238
|
+
external_id: string;
|
|
4239
|
+
parent_ext_id?: string | null | undefined;
|
|
4240
|
+
email: string;
|
|
4241
|
+
given_name: string;
|
|
4242
|
+
family_name?: string | null | undefined;
|
|
4243
|
+
picture?: string | null | undefined;
|
|
4244
|
+
encryption_public_key: string;
|
|
4245
|
+
is_sso: boolean;
|
|
4246
|
+
};
|
|
4247
|
+
workspace_ext_id?: string | null | undefined;
|
|
4248
|
+
dm_context_only: boolean;
|
|
4249
|
+
content?: string | null | undefined;
|
|
4250
|
+
conversation_ext_id?: string | null | undefined;
|
|
4251
|
+
message_ext_id?: string | null | undefined;
|
|
4252
|
+
read: boolean;
|
|
4253
|
+
created_at: string;
|
|
4254
|
+
updated_at: string;
|
|
4255
|
+
}[]>, Error>>;
|
|
4256
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
4257
|
+
promise: Promise<NoInfer<{
|
|
4258
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4259
|
+
external_id: string;
|
|
4260
|
+
sender: {
|
|
4261
|
+
external_id: string;
|
|
4262
|
+
parent_ext_id?: string | null | undefined;
|
|
4263
|
+
email: string;
|
|
4264
|
+
given_name: string;
|
|
4265
|
+
family_name?: string | null | undefined;
|
|
4266
|
+
picture?: string | null | undefined;
|
|
4267
|
+
encryption_public_key: string;
|
|
4268
|
+
is_sso: boolean;
|
|
4269
|
+
};
|
|
4270
|
+
recipient: {
|
|
4271
|
+
external_id: string;
|
|
4272
|
+
parent_ext_id?: string | null | undefined;
|
|
4273
|
+
email: string;
|
|
4274
|
+
given_name: string;
|
|
4275
|
+
family_name?: string | null | undefined;
|
|
4276
|
+
picture?: string | null | undefined;
|
|
4277
|
+
encryption_public_key: string;
|
|
4278
|
+
is_sso: boolean;
|
|
4279
|
+
};
|
|
4280
|
+
workspace_ext_id?: string | null | undefined;
|
|
4281
|
+
dm_context_only: boolean;
|
|
4282
|
+
content?: string | null | undefined;
|
|
4283
|
+
conversation_ext_id?: string | null | undefined;
|
|
4284
|
+
message_ext_id?: string | null | undefined;
|
|
4285
|
+
read: boolean;
|
|
4286
|
+
created_at: string;
|
|
4287
|
+
updated_at: string;
|
|
4288
|
+
}[]>>;
|
|
4289
|
+
} | {
|
|
4290
|
+
markRead: _tanstack_react_query.UseMutateAsyncFunction<void, Error, string[], unknown>;
|
|
4291
|
+
data: undefined;
|
|
4292
|
+
error: null;
|
|
4293
|
+
isError: false;
|
|
4294
|
+
isPending: true;
|
|
4295
|
+
isLoading: true;
|
|
4296
|
+
isLoadingError: false;
|
|
4297
|
+
isRefetchError: false;
|
|
4298
|
+
isSuccess: false;
|
|
4299
|
+
isPlaceholderData: false;
|
|
4300
|
+
status: "pending";
|
|
4301
|
+
dataUpdatedAt: number;
|
|
4302
|
+
errorUpdatedAt: number;
|
|
4303
|
+
failureCount: number;
|
|
4304
|
+
failureReason: Error | null;
|
|
4305
|
+
errorUpdateCount: number;
|
|
4306
|
+
isFetched: boolean;
|
|
4307
|
+
isFetchedAfterMount: boolean;
|
|
4308
|
+
isFetching: boolean;
|
|
4309
|
+
isInitialLoading: boolean;
|
|
4310
|
+
isPaused: boolean;
|
|
4311
|
+
isRefetching: boolean;
|
|
4312
|
+
isStale: boolean;
|
|
4313
|
+
isEnabled: boolean;
|
|
4314
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<NoInfer<{
|
|
4315
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4316
|
+
external_id: string;
|
|
4317
|
+
sender: {
|
|
4318
|
+
external_id: string;
|
|
4319
|
+
parent_ext_id?: string | null | undefined;
|
|
4320
|
+
email: string;
|
|
4321
|
+
given_name: string;
|
|
4322
|
+
family_name?: string | null | undefined;
|
|
4323
|
+
picture?: string | null | undefined;
|
|
4324
|
+
encryption_public_key: string;
|
|
4325
|
+
is_sso: boolean;
|
|
4326
|
+
};
|
|
4327
|
+
recipient: {
|
|
4328
|
+
external_id: string;
|
|
4329
|
+
parent_ext_id?: string | null | undefined;
|
|
4330
|
+
email: string;
|
|
4331
|
+
given_name: string;
|
|
4332
|
+
family_name?: string | null | undefined;
|
|
4333
|
+
picture?: string | null | undefined;
|
|
4334
|
+
encryption_public_key: string;
|
|
4335
|
+
is_sso: boolean;
|
|
4336
|
+
};
|
|
4337
|
+
workspace_ext_id?: string | null | undefined;
|
|
4338
|
+
dm_context_only: boolean;
|
|
4339
|
+
content?: string | null | undefined;
|
|
4340
|
+
conversation_ext_id?: string | null | undefined;
|
|
4341
|
+
message_ext_id?: string | null | undefined;
|
|
4342
|
+
read: boolean;
|
|
4343
|
+
created_at: string;
|
|
4344
|
+
updated_at: string;
|
|
4345
|
+
}[]>, Error>>;
|
|
4346
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
4347
|
+
promise: Promise<NoInfer<{
|
|
4348
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4349
|
+
external_id: string;
|
|
4350
|
+
sender: {
|
|
4351
|
+
external_id: string;
|
|
4352
|
+
parent_ext_id?: string | null | undefined;
|
|
4353
|
+
email: string;
|
|
4354
|
+
given_name: string;
|
|
4355
|
+
family_name?: string | null | undefined;
|
|
4356
|
+
picture?: string | null | undefined;
|
|
4357
|
+
encryption_public_key: string;
|
|
4358
|
+
is_sso: boolean;
|
|
4359
|
+
};
|
|
4360
|
+
recipient: {
|
|
4361
|
+
external_id: string;
|
|
4362
|
+
parent_ext_id?: string | null | undefined;
|
|
4363
|
+
email: string;
|
|
4364
|
+
given_name: string;
|
|
4365
|
+
family_name?: string | null | undefined;
|
|
4366
|
+
picture?: string | null | undefined;
|
|
4367
|
+
encryption_public_key: string;
|
|
4368
|
+
is_sso: boolean;
|
|
4369
|
+
};
|
|
4370
|
+
workspace_ext_id?: string | null | undefined;
|
|
4371
|
+
dm_context_only: boolean;
|
|
4372
|
+
content?: string | null | undefined;
|
|
4373
|
+
conversation_ext_id?: string | null | undefined;
|
|
4374
|
+
message_ext_id?: string | null | undefined;
|
|
4375
|
+
read: boolean;
|
|
4376
|
+
created_at: string;
|
|
4377
|
+
updated_at: string;
|
|
4378
|
+
}[]>>;
|
|
4379
|
+
} | {
|
|
4380
|
+
markRead: _tanstack_react_query.UseMutateAsyncFunction<void, Error, string[], unknown>;
|
|
4381
|
+
data: undefined;
|
|
4382
|
+
error: null;
|
|
4383
|
+
isError: false;
|
|
4384
|
+
isPending: true;
|
|
4385
|
+
isLoadingError: false;
|
|
4386
|
+
isRefetchError: false;
|
|
4387
|
+
isSuccess: false;
|
|
4388
|
+
isPlaceholderData: false;
|
|
4389
|
+
status: "pending";
|
|
4390
|
+
dataUpdatedAt: number;
|
|
4391
|
+
errorUpdatedAt: number;
|
|
4392
|
+
failureCount: number;
|
|
4393
|
+
failureReason: Error | null;
|
|
4394
|
+
errorUpdateCount: number;
|
|
4395
|
+
isFetched: boolean;
|
|
4396
|
+
isFetchedAfterMount: boolean;
|
|
4397
|
+
isFetching: boolean;
|
|
4398
|
+
isLoading: boolean;
|
|
4399
|
+
isInitialLoading: boolean;
|
|
4400
|
+
isPaused: boolean;
|
|
4401
|
+
isRefetching: boolean;
|
|
4402
|
+
isStale: boolean;
|
|
4403
|
+
isEnabled: boolean;
|
|
4404
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<NoInfer<{
|
|
4405
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4406
|
+
external_id: string;
|
|
4407
|
+
sender: {
|
|
4408
|
+
external_id: string;
|
|
4409
|
+
parent_ext_id?: string | null | undefined;
|
|
4410
|
+
email: string;
|
|
4411
|
+
given_name: string;
|
|
4412
|
+
family_name?: string | null | undefined;
|
|
4413
|
+
picture?: string | null | undefined;
|
|
4414
|
+
encryption_public_key: string;
|
|
4415
|
+
is_sso: boolean;
|
|
4416
|
+
};
|
|
4417
|
+
recipient: {
|
|
4418
|
+
external_id: string;
|
|
4419
|
+
parent_ext_id?: string | null | undefined;
|
|
4420
|
+
email: string;
|
|
4421
|
+
given_name: string;
|
|
4422
|
+
family_name?: string | null | undefined;
|
|
4423
|
+
picture?: string | null | undefined;
|
|
4424
|
+
encryption_public_key: string;
|
|
4425
|
+
is_sso: boolean;
|
|
4426
|
+
};
|
|
4427
|
+
workspace_ext_id?: string | null | undefined;
|
|
4428
|
+
dm_context_only: boolean;
|
|
4429
|
+
content?: string | null | undefined;
|
|
4430
|
+
conversation_ext_id?: string | null | undefined;
|
|
4431
|
+
message_ext_id?: string | null | undefined;
|
|
4432
|
+
read: boolean;
|
|
4433
|
+
created_at: string;
|
|
4434
|
+
updated_at: string;
|
|
4435
|
+
}[]>, Error>>;
|
|
4436
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
4437
|
+
promise: Promise<NoInfer<{
|
|
4438
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4439
|
+
external_id: string;
|
|
4440
|
+
sender: {
|
|
4441
|
+
external_id: string;
|
|
4442
|
+
parent_ext_id?: string | null | undefined;
|
|
4443
|
+
email: string;
|
|
4444
|
+
given_name: string;
|
|
4445
|
+
family_name?: string | null | undefined;
|
|
4446
|
+
picture?: string | null | undefined;
|
|
4447
|
+
encryption_public_key: string;
|
|
4448
|
+
is_sso: boolean;
|
|
4449
|
+
};
|
|
4450
|
+
recipient: {
|
|
4451
|
+
external_id: string;
|
|
4452
|
+
parent_ext_id?: string | null | undefined;
|
|
4453
|
+
email: string;
|
|
4454
|
+
given_name: string;
|
|
4455
|
+
family_name?: string | null | undefined;
|
|
4456
|
+
picture?: string | null | undefined;
|
|
4457
|
+
encryption_public_key: string;
|
|
4458
|
+
is_sso: boolean;
|
|
4459
|
+
};
|
|
4460
|
+
workspace_ext_id?: string | null | undefined;
|
|
4461
|
+
dm_context_only: boolean;
|
|
4462
|
+
content?: string | null | undefined;
|
|
4463
|
+
conversation_ext_id?: string | null | undefined;
|
|
4464
|
+
message_ext_id?: string | null | undefined;
|
|
4465
|
+
read: boolean;
|
|
4466
|
+
created_at: string;
|
|
4467
|
+
updated_at: string;
|
|
4468
|
+
}[]>>;
|
|
4469
|
+
} | {
|
|
4470
|
+
markRead: _tanstack_react_query.UseMutateAsyncFunction<void, Error, string[], unknown>;
|
|
4471
|
+
data: NoInfer<{
|
|
4472
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4473
|
+
external_id: string;
|
|
4474
|
+
sender: {
|
|
4475
|
+
external_id: string;
|
|
4476
|
+
parent_ext_id?: string | null | undefined;
|
|
4477
|
+
email: string;
|
|
4478
|
+
given_name: string;
|
|
4479
|
+
family_name?: string | null | undefined;
|
|
4480
|
+
picture?: string | null | undefined;
|
|
4481
|
+
encryption_public_key: string;
|
|
4482
|
+
is_sso: boolean;
|
|
4483
|
+
};
|
|
4484
|
+
recipient: {
|
|
4485
|
+
external_id: string;
|
|
4486
|
+
parent_ext_id?: string | null | undefined;
|
|
4487
|
+
email: string;
|
|
4488
|
+
given_name: string;
|
|
4489
|
+
family_name?: string | null | undefined;
|
|
4490
|
+
picture?: string | null | undefined;
|
|
4491
|
+
encryption_public_key: string;
|
|
4492
|
+
is_sso: boolean;
|
|
4493
|
+
};
|
|
4494
|
+
workspace_ext_id?: string | null | undefined;
|
|
4495
|
+
dm_context_only: boolean;
|
|
4496
|
+
content?: string | null | undefined;
|
|
4497
|
+
conversation_ext_id?: string | null | undefined;
|
|
4498
|
+
message_ext_id?: string | null | undefined;
|
|
4499
|
+
read: boolean;
|
|
4500
|
+
created_at: string;
|
|
4501
|
+
updated_at: string;
|
|
4502
|
+
}[]>;
|
|
4503
|
+
isError: false;
|
|
4504
|
+
error: null;
|
|
4505
|
+
isPending: false;
|
|
4506
|
+
isLoading: false;
|
|
4507
|
+
isLoadingError: false;
|
|
4508
|
+
isRefetchError: false;
|
|
4509
|
+
isSuccess: true;
|
|
4510
|
+
isPlaceholderData: true;
|
|
4511
|
+
status: "success";
|
|
4512
|
+
dataUpdatedAt: number;
|
|
4513
|
+
errorUpdatedAt: number;
|
|
4514
|
+
failureCount: number;
|
|
4515
|
+
failureReason: Error | null;
|
|
4516
|
+
errorUpdateCount: number;
|
|
4517
|
+
isFetched: boolean;
|
|
4518
|
+
isFetchedAfterMount: boolean;
|
|
4519
|
+
isFetching: boolean;
|
|
4520
|
+
isInitialLoading: boolean;
|
|
4521
|
+
isPaused: boolean;
|
|
4522
|
+
isRefetching: boolean;
|
|
4523
|
+
isStale: boolean;
|
|
4524
|
+
isEnabled: boolean;
|
|
4525
|
+
refetch: (options?: _tanstack_query_core.RefetchOptions) => Promise<_tanstack_query_core.QueryObserverResult<NoInfer<{
|
|
4526
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4527
|
+
external_id: string;
|
|
4528
|
+
sender: {
|
|
4529
|
+
external_id: string;
|
|
4530
|
+
parent_ext_id?: string | null | undefined;
|
|
4531
|
+
email: string;
|
|
4532
|
+
given_name: string;
|
|
4533
|
+
family_name?: string | null | undefined;
|
|
4534
|
+
picture?: string | null | undefined;
|
|
4535
|
+
encryption_public_key: string;
|
|
4536
|
+
is_sso: boolean;
|
|
4537
|
+
};
|
|
4538
|
+
recipient: {
|
|
4539
|
+
external_id: string;
|
|
4540
|
+
parent_ext_id?: string | null | undefined;
|
|
4541
|
+
email: string;
|
|
4542
|
+
given_name: string;
|
|
4543
|
+
family_name?: string | null | undefined;
|
|
4544
|
+
picture?: string | null | undefined;
|
|
4545
|
+
encryption_public_key: string;
|
|
4546
|
+
is_sso: boolean;
|
|
4547
|
+
};
|
|
4548
|
+
workspace_ext_id?: string | null | undefined;
|
|
4549
|
+
dm_context_only: boolean;
|
|
4550
|
+
content?: string | null | undefined;
|
|
4551
|
+
conversation_ext_id?: string | null | undefined;
|
|
4552
|
+
message_ext_id?: string | null | undefined;
|
|
4553
|
+
read: boolean;
|
|
4554
|
+
created_at: string;
|
|
4555
|
+
updated_at: string;
|
|
4556
|
+
}[]>, Error>>;
|
|
4557
|
+
fetchStatus: _tanstack_query_core.FetchStatus;
|
|
4558
|
+
promise: Promise<NoInfer<{
|
|
4559
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
4560
|
+
external_id: string;
|
|
4561
|
+
sender: {
|
|
4562
|
+
external_id: string;
|
|
4563
|
+
parent_ext_id?: string | null | undefined;
|
|
4564
|
+
email: string;
|
|
4565
|
+
given_name: string;
|
|
4566
|
+
family_name?: string | null | undefined;
|
|
4567
|
+
picture?: string | null | undefined;
|
|
4568
|
+
encryption_public_key: string;
|
|
4569
|
+
is_sso: boolean;
|
|
4570
|
+
};
|
|
4571
|
+
recipient: {
|
|
4572
|
+
external_id: string;
|
|
4573
|
+
parent_ext_id?: string | null | undefined;
|
|
4574
|
+
email: string;
|
|
4575
|
+
given_name: string;
|
|
4576
|
+
family_name?: string | null | undefined;
|
|
4577
|
+
picture?: string | null | undefined;
|
|
4578
|
+
encryption_public_key: string;
|
|
4579
|
+
is_sso: boolean;
|
|
4580
|
+
};
|
|
4581
|
+
workspace_ext_id?: string | null | undefined;
|
|
4582
|
+
dm_context_only: boolean;
|
|
4583
|
+
content?: string | null | undefined;
|
|
4584
|
+
conversation_ext_id?: string | null | undefined;
|
|
4585
|
+
message_ext_id?: string | null | undefined;
|
|
4586
|
+
read: boolean;
|
|
4587
|
+
created_at: string;
|
|
4588
|
+
updated_at: string;
|
|
4589
|
+
}[]>>;
|
|
4590
|
+
};
|
|
4591
|
+
|
|
3861
4592
|
/**
|
|
3862
4593
|
* Direct-message view types.
|
|
3863
4594
|
*
|
|
@@ -4815,4 +5546,4 @@ interface ArbiUiState {
|
|
|
4815
5546
|
}
|
|
4816
5547
|
declare const useArbiUiStore: zustand.UseBoundStore<zustand.StoreApi<ArbiUiState>>;
|
|
4817
5548
|
|
|
4818
|
-
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, useAgentConfig, useAgentModels, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAvatarCrop, useCameraStream, 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, useRequestConversationApproval, useRequestEmailChange, useReviewConversation, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSemanticSearch, useSessions, useShellWorkspaces, useSkills, useTags, useTerminateSession, useThumbnails, useUpdateConversation, useUpdateProfile, useUpdateWorkflow, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkflows, useWorkspaceDocs, useWorkspaces, userDisplayName, userInitials };
|
|
5549
|
+
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, useRequestConversationApproval, useRequestEmailChange, useReviewConversation, 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 };
|