@arbidocs/react 0.4.137 → 0.4.139
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 +7 -7
- package/dist/artifacts/index.js +2 -2
- package/dist/{chunk-A3EHBTBV.js → chunk-2NDXBQAT.js} +9 -3
- package/dist/chunk-2NDXBQAT.js.map +1 -0
- package/dist/{chunk-6PPWZILQ.cjs → chunk-KLPY2HUC.cjs} +92 -15
- package/dist/chunk-KLPY2HUC.cjs.map +1 -0
- package/dist/{chunk-PPRKQK4P.js → chunk-MFMJHBJR.js} +90 -16
- package/dist/chunk-MFMJHBJR.js.map +1 -0
- package/dist/{chunk-G7NSGLUA.cjs → chunk-QXGGFMMX.cjs} +9 -3
- package/dist/chunk-QXGGFMMX.cjs.map +1 -0
- package/dist/document-tools/index.cjs +1 -1
- package/dist/document-tools/index.js +1 -1
- package/dist/{index-D8NvRj3J.d.ts → index-3E0neHf_.d.cts} +55 -19
- package/dist/{index-D8NvRj3J.d.cts → index-3E0neHf_.d.ts} +55 -19
- package/dist/index.cjs +1365 -154
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1328 -5
- package/dist/index.d.ts +1328 -5
- package/dist/index.js +1103 -13
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +15 -7
- package/dist/shell/index.d.cts +1 -1
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-6PPWZILQ.cjs.map +0 -1
- package/dist/chunk-A3EHBTBV.js.map +0 -1
- package/dist/chunk-G7NSGLUA.cjs.map +0 -1
- package/dist/chunk-PPRKQK4P.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
3
3
|
import * as _arbidocs_sdk_browser from '@arbidocs/sdk/browser';
|
|
4
|
-
import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, DecryptedChatMessage } from '@arbidocs/sdk/browser';
|
|
5
|
-
export { ActivityKind, ActivityResponse, AgentStepEvent, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AuthMode, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, FactResponse, FactSearchRequest, FactSearchResponse, LoginProfile, MessageMetadataPayload, OutputTokensDetails, PendingAuthResponse, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, QueryOptions, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, SkillSummary, TaskPlan, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, formatGbp, formatGbpPerMillionTokens, usdToGbp } from '@arbidocs/sdk/browser';
|
|
4
|
+
import { Arbi, ArbiOptions, QueryOptions, SSEStreamResult, SSEStreamStartData, UserMessageEvent, MessageMetadataPayload, ResponseOutputItemDoneEvent, ArtifactEvent, TagListQuery, ListFactsOptions, UpdateFactRequest, StepActionRequest, UpdateConversationRequest, UpdateWorkflowRequest, TagKind, TagKindSchema, TagFieldDefinition, ProjectEventKind, ProjectUpdateRequest, contacts, LoginProfile, settings, ListEventsParams, RoomQuery, CalendarWindow, OverlayLayerName, EventCreateBody, ScopedTarget, EventPatchBody, RespondParams, RoomCreateBody, CalendarEvent, FindTimeParams, ShareRole, CalendarUpdate, OAuthAccountKind, CalendarAccount, CalDavConnectBody, FeedCreateBody, DecryptedChatMessage } from '@arbidocs/sdk/browser';
|
|
5
|
+
export { ACCOUNT_VENDOR, AccountSyncResult, ActivityKind, ActivityResponse, AgentStepEvent, AppPassword, AppPasswordCreateBody, AppPasswordCreated, Arbi, ArbiError, ArbiOptions, ArtifactEvent, AttendeeRead, AuthMode, BookingConfirmation, BookingPage, BookingPageWriteBody, BookingRequestBody, CalDavConnectBody, CalDavProfile, CalendarAccount, CalendarAccountKind, CalendarCreateBody, CalendarEvent, CalendarRead, CalendarSettings, CalendarSettingsBody, CalendarUpdate, CalendarWindow, ConversationResponse, CreateFactRequest, CreateWorkRequest, CreateWorkflowRequest, DEFAULT_AI_USD_PER_GBP, DateTimeSpec, EditScope, EventCreateBody, EventPatchBody, FactResponse, FactSearchRequest, FactSearchResponse, FeedCreateBody, FeedLevel, FindTimeParams, FreeBusyEntry, HolidayCountry, ImportResult, InvitationRead, ListEventsParams, LoginProfile, MessageMetadataPayload, OAuthAccountKind, OutputTokensDetails, OverlayItem, OverlayLayerName, PendingAuthResponse, PersonKey, PlanWorkRequest, ProjectInvoicesResponse, ProjectUsageResponse, PublicBookingError, PublicBookingPage, QueryOptions, RespondParams, RespondPartstat, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseCreatedEvent, ResponseFailedEvent, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseUsage, RoomCreateBody, RoomQuery, RoomRead, SSEStreamCallbacks, SSEStreamResult, SSEStreamStartData, ScopedTarget, ShareRead, ShareRole, SkillSummary, SubscribeParams, TaskPlan, TimeSuggestion, UpdateConversationRequest, UpdateWorkflowRequest, UserDailyUsageResponse, UserInputRequestEvent, UserMessageEvent, WeeklyHoursSpec, WorkStatus, WorkflowAuthMode, WorkflowResponse, WorkflowRunResponse, bookPublicSlot, cancelPublicBooking, formatGbp, formatGbpPerMillionTokens, getPublicBookingPage, splitAppPasswords, usdToGbp } from '@arbidocs/sdk/browser';
|
|
6
6
|
import * as _arbidocs_client from '@arbidocs/client';
|
|
7
7
|
import { WebSocketServerMessage, WsTaskUpdateMessage, WsPresenceUpdateMessage, components, RecoveryKeyParams } from '@arbidocs/client';
|
|
8
8
|
export { WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
|
|
@@ -16,7 +16,8 @@ import { VerificationResult } from '@didit-protocol/sdk-web';
|
|
|
16
16
|
import { LucideIcon } from 'lucide-react';
|
|
17
17
|
import { Components } from 'react-markdown';
|
|
18
18
|
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';
|
|
19
|
-
|
|
19
|
+
import { e as NotifyVariant } from './index-3E0neHf_.js';
|
|
20
|
+
export { A as AppNotification, D as DEFAULT_NOTIFY_TONE, M as MAX_SESSION_NOTIFICATIONS, N as NotificationBell, a as NotificationBellProps, b as NotificationBellTriggerState, c as NotifyConfig, d as NotifyOptions, T as Toaster, f as configureNotify, n as notify, p as persistNotifyHistory, s as seedNotifications, g as selectUnread, u as useNotify } from './index-3E0neHf_.js';
|
|
20
21
|
import { ColDef } from 'ag-grid-community';
|
|
21
22
|
export { ToasterProps, toast } from 'sonner';
|
|
22
23
|
import 'clsx';
|
|
@@ -585,6 +586,8 @@ declare const arbiQueryKeys: {
|
|
|
585
586
|
firmPool: () => readonly ["arbi", "firmPool"];
|
|
586
587
|
contacts: () => readonly ["arbi", "contacts"];
|
|
587
588
|
skills: () => readonly ["arbi", "skills"];
|
|
589
|
+
/** A skill's main file (SKILL.md), as text. */
|
|
590
|
+
skillSource: (docExtId: string) => readonly ["arbi", "skills", "source", string];
|
|
588
591
|
/** An agent's pinned config; `undefined` = the library default config. */
|
|
589
592
|
agentConfig: (agentExtId?: string) => readonly ["arbi", "agentConfig", string];
|
|
590
593
|
agentWorkspaces: (agentExtId: string) => readonly ["arbi", "agentWorkspaces", string];
|
|
@@ -599,6 +602,10 @@ declare const arbiQueryKeys: {
|
|
|
599
602
|
identity: () => readonly ["arbi", "identity"];
|
|
600
603
|
/** The signed-in user's settings record (notification preferences, flags). */
|
|
601
604
|
userSettings: () => readonly ["arbi", "userSettings"];
|
|
605
|
+
/** Every notification list: the prefix a delete, a read receipt or an arrival invalidates. */
|
|
606
|
+
allNotifications: () => readonly ["arbi", "notifications"];
|
|
607
|
+
/** The newest `limit` notifications, received and sent. */
|
|
608
|
+
notifications: (limit: number) => readonly ["arbi", "notifications", number];
|
|
602
609
|
};
|
|
603
610
|
/**
|
|
604
611
|
* Keys of the mutations a host may need to follow (its own caches outside these hooks), e.g. with
|
|
@@ -2866,14 +2873,116 @@ declare function useSkills(options?: {
|
|
|
2866
2873
|
is_owner: boolean;
|
|
2867
2874
|
content?: string | null;
|
|
2868
2875
|
}[]>, Error>;
|
|
2869
|
-
/**
|
|
2876
|
+
/**
|
|
2877
|
+
* Upload skill files through the same document path as the main application. A skill is the
|
|
2878
|
+
* uploader's own (`mine`) unless an entry says `shared` (everyone's, as "Share with everyone" makes
|
|
2879
|
+
* it): saving a private skill again never publishes it.
|
|
2880
|
+
*/
|
|
2870
2881
|
declare function useUploadSkillFiles(): _tanstack_react_query.UseMutationResult<{
|
|
2871
2882
|
doc_ext_ids?: string[];
|
|
2872
2883
|
}[], Error, {
|
|
2873
2884
|
folder: string;
|
|
2874
2885
|
fileName: string;
|
|
2875
2886
|
content: Blob;
|
|
2887
|
+
shared?: boolean;
|
|
2876
2888
|
}[], unknown>;
|
|
2889
|
+
/**
|
|
2890
|
+
* A skill's main file (SKILL.md) as text, read on demand (a skill's detail or its editor), never
|
|
2891
|
+
* for the whole list.
|
|
2892
|
+
*/
|
|
2893
|
+
declare function useSkillSource(docExtId: string | undefined, options?: {
|
|
2894
|
+
enabled?: boolean;
|
|
2895
|
+
}): _tanstack_react_query.UseQueryResult<string, Error>;
|
|
2896
|
+
/** Delete a skill: its main file (only its owner may). The skill list refreshes. */
|
|
2897
|
+
declare function useDeleteSkill(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
2898
|
+
/**
|
|
2899
|
+
* Share a skill with everyone (`global`) or make it the owner's again (`mine`): its main file's
|
|
2900
|
+
* `shared` flag, which the server carries to the skill's other files. A shared name must be unique
|
|
2901
|
+
* (409 when someone has shared one already).
|
|
2902
|
+
*/
|
|
2903
|
+
declare function useSetSkillVisibility(): _tanstack_react_query.UseMutationResult<{
|
|
2904
|
+
external_id: string;
|
|
2905
|
+
workspace_ext_id: string;
|
|
2906
|
+
file_name?: string | null | undefined;
|
|
2907
|
+
status?: string | null | undefined;
|
|
2908
|
+
error_message?: string | null | undefined;
|
|
2909
|
+
failed_stage?: string | null | undefined;
|
|
2910
|
+
n_pages?: number | null | undefined;
|
|
2911
|
+
n_chunks?: number | null | undefined;
|
|
2912
|
+
tokens?: number | null | undefined;
|
|
2913
|
+
file_type?: string | null | undefined;
|
|
2914
|
+
file_size?: number | null | undefined;
|
|
2915
|
+
storage_type?: string | null | undefined;
|
|
2916
|
+
storage_uri?: string | null | undefined;
|
|
2917
|
+
content_hash?: string | null | undefined;
|
|
2918
|
+
shared?: boolean | null | undefined;
|
|
2919
|
+
re_ocred?: boolean | null | undefined;
|
|
2920
|
+
config_ext_id?: string | null | undefined;
|
|
2921
|
+
parent_ext_id?: string | null | undefined;
|
|
2922
|
+
current_version: number;
|
|
2923
|
+
versions: {
|
|
2924
|
+
n: number;
|
|
2925
|
+
created_at?: string | null | undefined;
|
|
2926
|
+
created_by_ext_id?: string | null | undefined;
|
|
2927
|
+
reason: "upload" | "edit" | "signed" | "sync";
|
|
2928
|
+
file_name?: string | null | undefined;
|
|
2929
|
+
file_type?: string | null | undefined;
|
|
2930
|
+
file_size?: number | null | undefined;
|
|
2931
|
+
content_hash?: string | null | undefined;
|
|
2932
|
+
status?: string | null | undefined;
|
|
2933
|
+
n_pages?: number | null | undefined;
|
|
2934
|
+
n_chunks?: number | null | undefined;
|
|
2935
|
+
made_from?: number | null | undefined;
|
|
2936
|
+
is_current: boolean;
|
|
2937
|
+
markup_revision: number;
|
|
2938
|
+
markup_count: number;
|
|
2939
|
+
source_message_ext_id?: string | null | undefined;
|
|
2940
|
+
conversation_ext_id?: string | null | undefined;
|
|
2941
|
+
}[];
|
|
2942
|
+
thread_id?: string | null | undefined;
|
|
2943
|
+
derived_from: {
|
|
2944
|
+
doc_ext_id: string;
|
|
2945
|
+
role: _arbidocs_client.components["schemas"]["DocRelationRole"];
|
|
2946
|
+
version?: number | null | undefined;
|
|
2947
|
+
}[];
|
|
2948
|
+
source_message_ext_id?: string | null | undefined;
|
|
2949
|
+
conversation_ext_id?: string | null | undefined;
|
|
2950
|
+
created_by_ext_id: string;
|
|
2951
|
+
updated_by_ext_id?: string | null | undefined;
|
|
2952
|
+
created_at: string;
|
|
2953
|
+
updated_at: string;
|
|
2954
|
+
wp_type?: string | null | undefined;
|
|
2955
|
+
folder?: string | null | undefined;
|
|
2956
|
+
sender?: string | null | undefined;
|
|
2957
|
+
doctags: {
|
|
2958
|
+
note?: string | null | undefined;
|
|
2959
|
+
citations?: {
|
|
2960
|
+
doc_ext_id: string;
|
|
2961
|
+
version?: number | null | undefined;
|
|
2962
|
+
chunks?: {
|
|
2963
|
+
chunk_id: string;
|
|
2964
|
+
page?: number | null | undefined;
|
|
2965
|
+
}[] | undefined;
|
|
2966
|
+
}[] | null | undefined;
|
|
2967
|
+
external_id: string;
|
|
2968
|
+
doc_ext_id: string;
|
|
2969
|
+
tag_ext_id: string;
|
|
2970
|
+
created_by_ext_id: string;
|
|
2971
|
+
updated_by_ext_id?: string | null | undefined;
|
|
2972
|
+
created_at: string;
|
|
2973
|
+
updated_at: string;
|
|
2974
|
+
}[];
|
|
2975
|
+
doc_metadata?: {
|
|
2976
|
+
doc_nature?: string | null | undefined;
|
|
2977
|
+
doc_author?: string | null | undefined;
|
|
2978
|
+
doc_subject?: string | null | undefined;
|
|
2979
|
+
doc_date?: string | null | undefined;
|
|
2980
|
+
title?: string | null | undefined;
|
|
2981
|
+
} | null | undefined;
|
|
2982
|
+
}[], Error, {
|
|
2983
|
+
docExtId: string;
|
|
2984
|
+
visibility: "mine" | "global";
|
|
2985
|
+
}, unknown>;
|
|
2877
2986
|
/** Start the person's assistant as work, then resolve its persisted thread. */
|
|
2878
2987
|
declare function useStartWorkQuery(): _tanstack_react_query.UseMutationResult<{
|
|
2879
2988
|
conversationId: string;
|
|
@@ -3648,6 +3757,19 @@ declare function useUpdateContact(): _tanstack_react_query.UseMutationResult<{
|
|
|
3648
3757
|
}, unknown>;
|
|
3649
3758
|
/** Delete a contact, or withdraw its invitation, by contact id. */
|
|
3650
3759
|
declare function useDeleteContact(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
3760
|
+
/**
|
|
3761
|
+
* People matching `q` (your contacts and the registered people you share a workspace with), for a
|
|
3762
|
+
* picker: debounced, nothing fetched for an empty query, the previous matches kept while typing.
|
|
3763
|
+
*/
|
|
3764
|
+
declare function useSearchContacts(q: string, { debounceMs }?: {
|
|
3765
|
+
debounceMs?: number;
|
|
3766
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
3767
|
+
email: string;
|
|
3768
|
+
name?: string | null;
|
|
3769
|
+
user_id?: string | null;
|
|
3770
|
+
contact_id?: string | null;
|
|
3771
|
+
source: "contacts" | "arbi";
|
|
3772
|
+
}[]>, Error>;
|
|
3651
3773
|
|
|
3652
3774
|
interface ProfileView {
|
|
3653
3775
|
givenName: string;
|
|
@@ -4424,6 +4546,7 @@ declare const mailQueryKeys: {
|
|
|
4424
4546
|
allMessages: () => readonly ["mail", "messages"];
|
|
4425
4547
|
messages: (accountId: string | undefined, folderId: string | undefined, query: string, cursor: string | null) => readonly ["mail", "messages", string | undefined, string | undefined, string, string | null];
|
|
4426
4548
|
message: (accountId: string | undefined, messageId: string | null | undefined) => readonly ["mail", "message", string | undefined, string | null | undefined];
|
|
4549
|
+
attachmentText: (accountId: string, messageId: string, attachmentId: string) => readonly ["mail", "attachment-text", string, string, string];
|
|
4427
4550
|
};
|
|
4428
4551
|
/** Whether the app is online (React Query's `onlineManager`). */
|
|
4429
4552
|
declare function useMailOnline(): boolean;
|
|
@@ -4448,6 +4571,13 @@ declare function useMailMessages(account: MailAccount | undefined, folderId: str
|
|
|
4448
4571
|
declare function useMailMessage(account: MailAccount | undefined, messageId: string | null | undefined, options?: {
|
|
4449
4572
|
enabled?: boolean;
|
|
4450
4573
|
}): _tanstack_react_query.UseQueryResult<NoInfer<MailMessage>, Error>;
|
|
4574
|
+
/**
|
|
4575
|
+
* A text attachment's content (an invitation's `.ics`, say): inline when the message carries it,
|
|
4576
|
+
* else downloaded once. Off while `attachment` is missing or `enabled` is false.
|
|
4577
|
+
*/
|
|
4578
|
+
declare function useMailAttachmentText(accountId: string, messageId: string, attachment: MailAttachment | undefined, options?: {
|
|
4579
|
+
enabled?: boolean;
|
|
4580
|
+
}): _tanstack_react_query.UseQueryResult<string, Error>;
|
|
4451
4581
|
/** Claim `alias@<deployment domain>` as the user's native inbox, then refresh everything mail. */
|
|
4452
4582
|
declare function useClaimNativeAlias(onClaimed?: (alias: string) => void): _tanstack_react_query.UseMutationResult<unknown, Error, string, unknown>;
|
|
4453
4583
|
/** Connect a mailbox on one of the deployment's approved mail servers. */
|
|
@@ -4542,6 +4672,982 @@ declare function announceMailDraftReplaced(oldId: string, newId: string): void;
|
|
|
4542
4672
|
/** Call `onReplaced(newId)` when draft `draftId` is saved again elsewhere (by ARBI, or in another tab). */
|
|
4543
4673
|
declare function useMailDraftReplaced(draftId: string | null | undefined, onReplaced: (newId: string) => void): void;
|
|
4544
4674
|
|
|
4675
|
+
/**
|
|
4676
|
+
* Query keys of the calendar hooks, all under `['arbi', 'calendar']`. The calendar is the user's,
|
|
4677
|
+
* not a workspace's; only the overlays carry the open workspace.
|
|
4678
|
+
*/
|
|
4679
|
+
declare const calendarQueryKeys: {
|
|
4680
|
+
all: () => readonly ["arbi", "calendar"];
|
|
4681
|
+
settings: () => readonly ["arbi", "calendar", "settings"];
|
|
4682
|
+
calendars: () => readonly ["arbi", "calendar", "calendars"];
|
|
4683
|
+
/** Every event list: the prefix an event write invalidates. */
|
|
4684
|
+
events: () => readonly ["arbi", "calendar", "events"];
|
|
4685
|
+
eventList: (p: ListEventsParams) => readonly ["arbi", "calendar", "events", {
|
|
4686
|
+
readonly start: string;
|
|
4687
|
+
readonly end: string;
|
|
4688
|
+
readonly calendars: string | null;
|
|
4689
|
+
}];
|
|
4690
|
+
/** Every single event read. */
|
|
4691
|
+
eventDetails: () => readonly ["arbi", "calendar", "event"];
|
|
4692
|
+
event: (id: string, recurrenceId?: string | null) => readonly ["arbi", "calendar", "event", string, string | null];
|
|
4693
|
+
shares: (calId: string) => readonly ["arbi", "calendar", "shares", string];
|
|
4694
|
+
invitations: () => readonly ["arbi", "calendar", "invitations"];
|
|
4695
|
+
holidayCountries: () => readonly ["arbi", "calendar", "holiday-countries"];
|
|
4696
|
+
allRooms: () => readonly ["arbi", "calendar", "rooms"];
|
|
4697
|
+
rooms: (q: RoomQuery) => readonly ["arbi", "calendar", "rooms", RoomQuery];
|
|
4698
|
+
freebusy: (attendees: string[], start: string, end: string) => readonly ["arbi", "calendar", "freebusy", string, string, string];
|
|
4699
|
+
allLookups: () => readonly ["arbi", "calendar", "lookup"];
|
|
4700
|
+
lookup: (uid: string) => readonly ["arbi", "calendar", "lookup", string];
|
|
4701
|
+
overlays: (workspaceId: string | null, w?: CalendarWindow, layers?: OverlayLayerName[]) => readonly ["arbi", "calendar", "overlays", string | null, {
|
|
4702
|
+
start: string;
|
|
4703
|
+
end: string;
|
|
4704
|
+
layers: string | undefined;
|
|
4705
|
+
} | null];
|
|
4706
|
+
accounts: () => readonly ["arbi", "calendar", "accounts"];
|
|
4707
|
+
caldavProfiles: () => readonly ["arbi", "calendar", "caldav-profiles"];
|
|
4708
|
+
appPasswords: () => readonly ["arbi", "calendar", "app-passwords"];
|
|
4709
|
+
bookingPages: () => readonly ["arbi", "calendar", "booking-pages"];
|
|
4710
|
+
/** The offline outbox (writes made offline, not yet sent). */
|
|
4711
|
+
outbox: () => readonly ["arbi", "calendar", "outbox"];
|
|
4712
|
+
};
|
|
4713
|
+
|
|
4714
|
+
/** A write the outbox can hold while offline. */
|
|
4715
|
+
type CalendarWriteOp = {
|
|
4716
|
+
kind: 'create';
|
|
4717
|
+
body: EventCreateBody;
|
|
4718
|
+
} | {
|
|
4719
|
+
kind: 'update';
|
|
4720
|
+
target: ScopedTarget;
|
|
4721
|
+
body: EventPatchBody;
|
|
4722
|
+
} | {
|
|
4723
|
+
kind: 'delete';
|
|
4724
|
+
target: ScopedTarget & {
|
|
4725
|
+
notify?: boolean;
|
|
4726
|
+
};
|
|
4727
|
+
} | {
|
|
4728
|
+
kind: 'respond';
|
|
4729
|
+
params: RespondParams;
|
|
4730
|
+
};
|
|
4731
|
+
/** A write made offline: queued on this device and sent exactly once when back online. */
|
|
4732
|
+
interface QueuedCalendarWrite {
|
|
4733
|
+
queued: true;
|
|
4734
|
+
requestId: string;
|
|
4735
|
+
}
|
|
4736
|
+
declare function isQueuedCalendarWrite(value: unknown): value is QueuedCalendarWrite;
|
|
4737
|
+
/** A write waiting in the outbox (a queued create is drawn on the grid as pending). */
|
|
4738
|
+
interface CalendarPendingWrite {
|
|
4739
|
+
requestId: string;
|
|
4740
|
+
op: CalendarWriteOp;
|
|
4741
|
+
state: string;
|
|
4742
|
+
inDoubt?: boolean;
|
|
4743
|
+
error?: string;
|
|
4744
|
+
}
|
|
4745
|
+
interface CalendarOfflineSupport {
|
|
4746
|
+
/**
|
|
4747
|
+
* Run a read online and keep the result on this device; when the network is down, answer from
|
|
4748
|
+
* that copy. `key` identifies the read (its query key).
|
|
4749
|
+
*/
|
|
4750
|
+
read<T>(key: readonly unknown[], fetch: () => Promise<T>): Promise<T>;
|
|
4751
|
+
/** Send a write, or, offline, queue it and answer {@link QueuedCalendarWrite}. */
|
|
4752
|
+
write<T>(op: CalendarWriteOp, send: () => Promise<T>): Promise<T | QueuedCalendarWrite>;
|
|
4753
|
+
/** The writes waiting in the outbox. */
|
|
4754
|
+
pending(): Promise<CalendarPendingWrite[]>;
|
|
4755
|
+
/** Be told when the outbox changes. Returns the unsubscribe. */
|
|
4756
|
+
subscribe(listener: () => void): () => void;
|
|
4757
|
+
}
|
|
4758
|
+
interface CalendarConnectorSupport {
|
|
4759
|
+
/** The URL that starts a connector's OAuth consent and comes back to `returnPath`. */
|
|
4760
|
+
authorize(vendor: string, returnPath: string): Promise<string>;
|
|
4761
|
+
/** Hand this server session the connector's sealed grant (the server answered 401 without it). */
|
|
4762
|
+
bridge(vendor: string): Promise<void>;
|
|
4763
|
+
/** The vendor keys of the user's connected connectors. */
|
|
4764
|
+
connectedVendors(): Promise<string[]>;
|
|
4765
|
+
}
|
|
4766
|
+
interface CalendarSupport {
|
|
4767
|
+
offline?: CalendarOfflineSupport;
|
|
4768
|
+
connectors?: CalendarConnectorSupport;
|
|
4769
|
+
/** Where the OAuth consent returns to (default: the current page). */
|
|
4770
|
+
oauthReturnPath?: string;
|
|
4771
|
+
}
|
|
4772
|
+
/** Offline storage and account OAuth for the calendar hooks and blocks below. */
|
|
4773
|
+
declare function CalendarSupportProvider({ value, children, }: {
|
|
4774
|
+
value: CalendarSupport;
|
|
4775
|
+
children: ReactNode;
|
|
4776
|
+
}): React$1.JSX.Element;
|
|
4777
|
+
declare function useCalendarSupport(): CalendarSupport;
|
|
4778
|
+
|
|
4779
|
+
/** Refresh every event read (lists, single events, invitations, invitation lookups). */
|
|
4780
|
+
declare function invalidateCalendarEvents(qc: QueryClient): Promise<[void, void, void, void]>;
|
|
4781
|
+
/** Refresh the calendar list and the events drawn from it. */
|
|
4782
|
+
declare function invalidateCalendars(qc: QueryClient): Promise<[void, void]>;
|
|
4783
|
+
declare function useCalendarSettings(enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4784
|
+
time_zone: string;
|
|
4785
|
+
secondary_time_zone?: string | null;
|
|
4786
|
+
week_start: number;
|
|
4787
|
+
working_hours?: _arbidocs_client.components["schemas"]["WorkingHours"][];
|
|
4788
|
+
default_view: "day" | "week" | "work_week" | "month" | "agenda" | "year";
|
|
4789
|
+
default_duration_minutes: number;
|
|
4790
|
+
default_calendar_id?: string | null;
|
|
4791
|
+
show_declined: boolean;
|
|
4792
|
+
show_week_numbers: boolean;
|
|
4793
|
+
auto_add_invitations: "all" | "known" | "none";
|
|
4794
|
+
decline_message?: string | null;
|
|
4795
|
+
overlays?: ("facts" | "workflows" | "tasks")[];
|
|
4796
|
+
}>, Error>;
|
|
4797
|
+
declare function useCalendars(enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4798
|
+
id: string;
|
|
4799
|
+
name?: string | null;
|
|
4800
|
+
description?: string | null;
|
|
4801
|
+
color: string;
|
|
4802
|
+
timezone: string;
|
|
4803
|
+
kind: "calendar" | "resource" | "subscription" | "holidays" | "birthdays" | "addressbook";
|
|
4804
|
+
role: "owner" | "delegate" | "write" | "read" | "read_basic" | "freebusy";
|
|
4805
|
+
is_default: boolean;
|
|
4806
|
+
hidden: boolean;
|
|
4807
|
+
locked: boolean;
|
|
4808
|
+
owner_id: string;
|
|
4809
|
+
owner_name?: string | null;
|
|
4810
|
+
workspace_id?: string | null;
|
|
4811
|
+
default_reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
4812
|
+
resource?: {
|
|
4813
|
+
[key: string]: unknown;
|
|
4814
|
+
} | null;
|
|
4815
|
+
source_url?: string | null;
|
|
4816
|
+
refreshed_at?: string | null;
|
|
4817
|
+
provider: "native" | "google" | "microsoft" | "caldav" | "ics";
|
|
4818
|
+
account_id?: string | null;
|
|
4819
|
+
can_write: boolean;
|
|
4820
|
+
ctag: string;
|
|
4821
|
+
}[]>, Error>;
|
|
4822
|
+
/** Events in a window (`null`: off). The previous window's events stay while the next loads. */
|
|
4823
|
+
declare function useCalendarEvents(params: ListEventsParams | null): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4824
|
+
id: string;
|
|
4825
|
+
instance_id: string;
|
|
4826
|
+
calendar_id: string;
|
|
4827
|
+
uid: string;
|
|
4828
|
+
recurrence_id?: string | null;
|
|
4829
|
+
is_recurring: boolean;
|
|
4830
|
+
is_exception: boolean;
|
|
4831
|
+
title: string;
|
|
4832
|
+
description?: string | null;
|
|
4833
|
+
description_html?: string | null;
|
|
4834
|
+
location?: string | null;
|
|
4835
|
+
start: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
4836
|
+
end: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
4837
|
+
all_day: boolean;
|
|
4838
|
+
start_utc: string;
|
|
4839
|
+
end_utc: string;
|
|
4840
|
+
recurrence?: _arbidocs_client.components["schemas"]["Recurrence"] | null;
|
|
4841
|
+
status: "confirmed" | "tentative" | "cancelled";
|
|
4842
|
+
show_as: "free" | "tentative" | "busy" | "oof" | "working_elsewhere";
|
|
4843
|
+
sensitivity: "normal" | "private" | "confidential";
|
|
4844
|
+
categories?: string[];
|
|
4845
|
+
color?: string | null;
|
|
4846
|
+
reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
4847
|
+
use_default_reminders: boolean;
|
|
4848
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
4849
|
+
attendees?: _arbidocs_client.components["schemas"]["AttendeeRead"][];
|
|
4850
|
+
my_partstat?: ("needs_action" | "accepted" | "declined" | "tentative" | "delegated") | null;
|
|
4851
|
+
is_organizer: boolean;
|
|
4852
|
+
conference?: _arbidocs_client.components["schemas"]["Conference"] | null;
|
|
4853
|
+
attachments?: _arbidocs_client.components["schemas"]["AttachmentRef"][];
|
|
4854
|
+
url?: string | null;
|
|
4855
|
+
conversation_id?: string | null;
|
|
4856
|
+
fact_id?: string | null;
|
|
4857
|
+
sequence: number;
|
|
4858
|
+
etag: string;
|
|
4859
|
+
created?: string | null;
|
|
4860
|
+
updated?: string | null;
|
|
4861
|
+
can_edit: boolean;
|
|
4862
|
+
auto_decline: boolean;
|
|
4863
|
+
decline_message?: string | null;
|
|
4864
|
+
restricted: boolean;
|
|
4865
|
+
}[]>, Error>;
|
|
4866
|
+
/** One event (one occurrence with `recurrenceId`). */
|
|
4867
|
+
declare function useCalendarEvent(id: string | null | undefined, recurrenceId?: string | null): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4868
|
+
id: string;
|
|
4869
|
+
instance_id: string;
|
|
4870
|
+
calendar_id: string;
|
|
4871
|
+
uid: string;
|
|
4872
|
+
recurrence_id?: string | null;
|
|
4873
|
+
is_recurring: boolean;
|
|
4874
|
+
is_exception: boolean;
|
|
4875
|
+
title: string;
|
|
4876
|
+
description?: string | null;
|
|
4877
|
+
description_html?: string | null;
|
|
4878
|
+
location?: string | null;
|
|
4879
|
+
start: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
4880
|
+
end: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
4881
|
+
all_day: boolean;
|
|
4882
|
+
start_utc: string;
|
|
4883
|
+
end_utc: string;
|
|
4884
|
+
recurrence?: _arbidocs_client.components["schemas"]["Recurrence"] | null;
|
|
4885
|
+
status: "confirmed" | "tentative" | "cancelled";
|
|
4886
|
+
show_as: "free" | "tentative" | "busy" | "oof" | "working_elsewhere";
|
|
4887
|
+
sensitivity: "normal" | "private" | "confidential";
|
|
4888
|
+
categories?: string[];
|
|
4889
|
+
color?: string | null;
|
|
4890
|
+
reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
4891
|
+
use_default_reminders: boolean;
|
|
4892
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
4893
|
+
attendees?: _arbidocs_client.components["schemas"]["AttendeeRead"][];
|
|
4894
|
+
my_partstat?: ("needs_action" | "accepted" | "declined" | "tentative" | "delegated") | null;
|
|
4895
|
+
is_organizer: boolean;
|
|
4896
|
+
conference?: _arbidocs_client.components["schemas"]["Conference"] | null;
|
|
4897
|
+
attachments?: _arbidocs_client.components["schemas"]["AttachmentRef"][];
|
|
4898
|
+
url?: string | null;
|
|
4899
|
+
conversation_id?: string | null;
|
|
4900
|
+
fact_id?: string | null;
|
|
4901
|
+
sequence: number;
|
|
4902
|
+
etag: string;
|
|
4903
|
+
created?: string | null;
|
|
4904
|
+
updated?: string | null;
|
|
4905
|
+
can_edit: boolean;
|
|
4906
|
+
auto_decline: boolean;
|
|
4907
|
+
decline_message?: string | null;
|
|
4908
|
+
restricted: boolean;
|
|
4909
|
+
}>, Error>;
|
|
4910
|
+
/** Fetch one event through the cache, outside render (a deep link, an occurrence's series). */
|
|
4911
|
+
declare function useFetchCalendarEvent(): (id: string, recurrenceId?: string | null) => Promise<CalendarEvent>;
|
|
4912
|
+
/** The open workspace's overlay layers; off without an open workspace or with no layer on. */
|
|
4913
|
+
declare function useCalendarOverlays(range: CalendarWindow | null, layers: OverlayLayerName[]): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4914
|
+
layer: "facts" | "workflows" | "tasks";
|
|
4915
|
+
id: string;
|
|
4916
|
+
instance_id: string;
|
|
4917
|
+
title: string;
|
|
4918
|
+
start_utc: string;
|
|
4919
|
+
end_utc: string;
|
|
4920
|
+
all_day: boolean;
|
|
4921
|
+
time_zone?: string | null;
|
|
4922
|
+
workspace_id: string;
|
|
4923
|
+
link?: string | null;
|
|
4924
|
+
}[]>, Error>;
|
|
4925
|
+
/** The writes waiting in the offline outbox (empty without offline support). */
|
|
4926
|
+
declare function useCalendarOutbox(): _tanstack_react_query.UseQueryResult<NoInfer<CalendarPendingWrite[]>, Error>;
|
|
4927
|
+
declare function useCalendarShares(calId: string | null): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4928
|
+
user_id: string;
|
|
4929
|
+
email?: string | null;
|
|
4930
|
+
name?: string | null;
|
|
4931
|
+
role: "owner" | "delegate" | "write" | "read" | "read_basic" | "freebusy";
|
|
4932
|
+
is_agent: boolean;
|
|
4933
|
+
}[]>, Error>;
|
|
4934
|
+
declare function useHolidayCountries(enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4935
|
+
code: string;
|
|
4936
|
+
name: string;
|
|
4937
|
+
subdivisions?: string[];
|
|
4938
|
+
}[]>, Error>;
|
|
4939
|
+
/** Rooms (free in a window when it is given); `null`: off. */
|
|
4940
|
+
declare function useRooms(q: RoomQuery | null): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4941
|
+
id: string;
|
|
4942
|
+
name: string;
|
|
4943
|
+
email: string;
|
|
4944
|
+
type: string;
|
|
4945
|
+
capacity?: number | null;
|
|
4946
|
+
building?: string | null;
|
|
4947
|
+
floor?: string | null;
|
|
4948
|
+
features?: string[];
|
|
4949
|
+
auto_accept: boolean;
|
|
4950
|
+
workspace_id?: string | null;
|
|
4951
|
+
free?: boolean | null;
|
|
4952
|
+
busy?: _arbidocs_client.components["schemas"]["BusyBlock"][];
|
|
4953
|
+
}[]>, Error>;
|
|
4954
|
+
declare function useFreeBusy(attendees: string[], start: string | null, end: string | null): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4955
|
+
attendee: string;
|
|
4956
|
+
user_id?: string | null;
|
|
4957
|
+
known: boolean;
|
|
4958
|
+
busy?: _arbidocs_client.components["schemas"]["BusyBlock"][];
|
|
4959
|
+
working_hours?: _arbidocs_client.components["schemas"]["WorkingHours"][];
|
|
4960
|
+
time_zone?: string | null;
|
|
4961
|
+
}[]>, Error>;
|
|
4962
|
+
/** Invitations and new-time proposals waiting for me, re-read every minute. */
|
|
4963
|
+
declare function useCalendarInvitations(): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4964
|
+
kind: "invitation" | "counter";
|
|
4965
|
+
id: string;
|
|
4966
|
+
event_id?: string | null;
|
|
4967
|
+
title?: string | null;
|
|
4968
|
+
start_utc?: string | null;
|
|
4969
|
+
end_utc?: string | null;
|
|
4970
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
4971
|
+
from_email?: string | null;
|
|
4972
|
+
proposed_start?: _arbidocs_client.components["schemas"]["DateTimeSpec"] | null;
|
|
4973
|
+
proposed_end?: _arbidocs_client.components["schemas"]["DateTimeSpec"] | null;
|
|
4974
|
+
comment?: string | null;
|
|
4975
|
+
received_at?: string | null;
|
|
4976
|
+
}[]>, Error>;
|
|
4977
|
+
/** My copy of an event by its iCalendar UID (`null` data: not in my calendar). */
|
|
4978
|
+
declare function useCalendarEventByUid(uid: string | null): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
4979
|
+
id: string;
|
|
4980
|
+
instance_id: string;
|
|
4981
|
+
calendar_id: string;
|
|
4982
|
+
uid: string;
|
|
4983
|
+
recurrence_id?: string | null;
|
|
4984
|
+
is_recurring: boolean;
|
|
4985
|
+
is_exception: boolean;
|
|
4986
|
+
title: string;
|
|
4987
|
+
description?: string | null;
|
|
4988
|
+
description_html?: string | null;
|
|
4989
|
+
location?: string | null;
|
|
4990
|
+
start: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
4991
|
+
end: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
4992
|
+
all_day: boolean;
|
|
4993
|
+
start_utc: string;
|
|
4994
|
+
end_utc: string;
|
|
4995
|
+
recurrence?: _arbidocs_client.components["schemas"]["Recurrence"] | null;
|
|
4996
|
+
status: "confirmed" | "tentative" | "cancelled";
|
|
4997
|
+
show_as: "free" | "tentative" | "busy" | "oof" | "working_elsewhere";
|
|
4998
|
+
sensitivity: "normal" | "private" | "confidential";
|
|
4999
|
+
categories?: string[];
|
|
5000
|
+
color?: string | null;
|
|
5001
|
+
reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5002
|
+
use_default_reminders: boolean;
|
|
5003
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
5004
|
+
attendees?: _arbidocs_client.components["schemas"]["AttendeeRead"][];
|
|
5005
|
+
my_partstat?: ("needs_action" | "accepted" | "declined" | "tentative" | "delegated") | null;
|
|
5006
|
+
is_organizer: boolean;
|
|
5007
|
+
conference?: _arbidocs_client.components["schemas"]["Conference"] | null;
|
|
5008
|
+
attachments?: _arbidocs_client.components["schemas"]["AttachmentRef"][];
|
|
5009
|
+
url?: string | null;
|
|
5010
|
+
conversation_id?: string | null;
|
|
5011
|
+
fact_id?: string | null;
|
|
5012
|
+
sequence: number;
|
|
5013
|
+
etag: string;
|
|
5014
|
+
created?: string | null;
|
|
5015
|
+
updated?: string | null;
|
|
5016
|
+
can_edit: boolean;
|
|
5017
|
+
auto_decline: boolean;
|
|
5018
|
+
decline_message?: string | null;
|
|
5019
|
+
restricted: boolean;
|
|
5020
|
+
} | null>, Error>;
|
|
5021
|
+
declare function useSaveCalendarSettings(): _tanstack_react_query.UseMutationResult<{
|
|
5022
|
+
time_zone: string;
|
|
5023
|
+
secondary_time_zone?: string | null;
|
|
5024
|
+
week_start: number;
|
|
5025
|
+
working_hours?: _arbidocs_client.components["schemas"]["WorkingHours"][];
|
|
5026
|
+
default_view: "day" | "week" | "work_week" | "month" | "agenda" | "year";
|
|
5027
|
+
default_duration_minutes: number;
|
|
5028
|
+
default_calendar_id?: string | null;
|
|
5029
|
+
show_declined: boolean;
|
|
5030
|
+
show_week_numbers: boolean;
|
|
5031
|
+
auto_add_invitations: "all" | "known" | "none";
|
|
5032
|
+
decline_message?: string | null;
|
|
5033
|
+
overlays?: ("facts" | "workflows" | "tasks")[];
|
|
5034
|
+
}, Error, Partial<{
|
|
5035
|
+
time_zone: string;
|
|
5036
|
+
secondary_time_zone?: string | null;
|
|
5037
|
+
week_start: number;
|
|
5038
|
+
working_hours?: _arbidocs_client.components["schemas"]["WorkingHours"][];
|
|
5039
|
+
default_view: "day" | "week" | "work_week" | "month" | "agenda" | "year";
|
|
5040
|
+
default_duration_minutes: number;
|
|
5041
|
+
default_calendar_id?: string | null;
|
|
5042
|
+
show_declined: boolean;
|
|
5043
|
+
show_week_numbers: boolean;
|
|
5044
|
+
auto_add_invitations: "all" | "known" | "none";
|
|
5045
|
+
decline_message?: string | null;
|
|
5046
|
+
overlays?: ("facts" | "workflows" | "tasks")[];
|
|
5047
|
+
}>, unknown>;
|
|
5048
|
+
declare function useCreateCalendar(): _tanstack_react_query.UseMutationResult<{
|
|
5049
|
+
id: string;
|
|
5050
|
+
name?: string | null;
|
|
5051
|
+
description?: string | null;
|
|
5052
|
+
color: string;
|
|
5053
|
+
timezone: string;
|
|
5054
|
+
kind: "calendar" | "resource" | "subscription" | "holidays" | "birthdays" | "addressbook";
|
|
5055
|
+
role: "owner" | "delegate" | "write" | "read" | "read_basic" | "freebusy";
|
|
5056
|
+
is_default: boolean;
|
|
5057
|
+
hidden: boolean;
|
|
5058
|
+
locked: boolean;
|
|
5059
|
+
owner_id: string;
|
|
5060
|
+
owner_name?: string | null;
|
|
5061
|
+
workspace_id?: string | null;
|
|
5062
|
+
default_reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5063
|
+
resource?: {
|
|
5064
|
+
[key: string]: unknown;
|
|
5065
|
+
} | null;
|
|
5066
|
+
source_url?: string | null;
|
|
5067
|
+
refreshed_at?: string | null;
|
|
5068
|
+
provider: "native" | "google" | "microsoft" | "caldav" | "ics";
|
|
5069
|
+
account_id?: string | null;
|
|
5070
|
+
can_write: boolean;
|
|
5071
|
+
ctag: string;
|
|
5072
|
+
}, Error, _arbidocs_sdk_browser.CalendarCreateBody, unknown>;
|
|
5073
|
+
declare function useUpdateCalendar(): _tanstack_react_query.UseMutationResult<{
|
|
5074
|
+
id: string;
|
|
5075
|
+
name?: string | null;
|
|
5076
|
+
description?: string | null;
|
|
5077
|
+
color: string;
|
|
5078
|
+
timezone: string;
|
|
5079
|
+
kind: "calendar" | "resource" | "subscription" | "holidays" | "birthdays" | "addressbook";
|
|
5080
|
+
role: "owner" | "delegate" | "write" | "read" | "read_basic" | "freebusy";
|
|
5081
|
+
is_default: boolean;
|
|
5082
|
+
hidden: boolean;
|
|
5083
|
+
locked: boolean;
|
|
5084
|
+
owner_id: string;
|
|
5085
|
+
owner_name?: string | null;
|
|
5086
|
+
workspace_id?: string | null;
|
|
5087
|
+
default_reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5088
|
+
resource?: {
|
|
5089
|
+
[key: string]: unknown;
|
|
5090
|
+
} | null;
|
|
5091
|
+
source_url?: string | null;
|
|
5092
|
+
refreshed_at?: string | null;
|
|
5093
|
+
provider: "native" | "google" | "microsoft" | "caldav" | "ics";
|
|
5094
|
+
account_id?: string | null;
|
|
5095
|
+
can_write: boolean;
|
|
5096
|
+
ctag: string;
|
|
5097
|
+
}, Error, {
|
|
5098
|
+
id: string;
|
|
5099
|
+
body: CalendarUpdate;
|
|
5100
|
+
}, unknown>;
|
|
5101
|
+
declare function useDeleteCalendar(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
5102
|
+
declare function useCreateEvent(): _tanstack_react_query.UseMutationResult<QueuedCalendarWrite | {
|
|
5103
|
+
id: string;
|
|
5104
|
+
instance_id: string;
|
|
5105
|
+
calendar_id: string;
|
|
5106
|
+
uid: string;
|
|
5107
|
+
recurrence_id?: string | null;
|
|
5108
|
+
is_recurring: boolean;
|
|
5109
|
+
is_exception: boolean;
|
|
5110
|
+
title: string;
|
|
5111
|
+
description?: string | null;
|
|
5112
|
+
description_html?: string | null;
|
|
5113
|
+
location?: string | null;
|
|
5114
|
+
start: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5115
|
+
end: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5116
|
+
all_day: boolean;
|
|
5117
|
+
start_utc: string;
|
|
5118
|
+
end_utc: string;
|
|
5119
|
+
recurrence?: _arbidocs_client.components["schemas"]["Recurrence"] | null;
|
|
5120
|
+
status: "confirmed" | "tentative" | "cancelled";
|
|
5121
|
+
show_as: "free" | "tentative" | "busy" | "oof" | "working_elsewhere";
|
|
5122
|
+
sensitivity: "normal" | "private" | "confidential";
|
|
5123
|
+
categories?: string[];
|
|
5124
|
+
color?: string | null;
|
|
5125
|
+
reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5126
|
+
use_default_reminders: boolean;
|
|
5127
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
5128
|
+
attendees?: _arbidocs_client.components["schemas"]["AttendeeRead"][];
|
|
5129
|
+
my_partstat?: ("needs_action" | "accepted" | "declined" | "tentative" | "delegated") | null;
|
|
5130
|
+
is_organizer: boolean;
|
|
5131
|
+
conference?: _arbidocs_client.components["schemas"]["Conference"] | null;
|
|
5132
|
+
attachments?: _arbidocs_client.components["schemas"]["AttachmentRef"][];
|
|
5133
|
+
url?: string | null;
|
|
5134
|
+
conversation_id?: string | null;
|
|
5135
|
+
fact_id?: string | null;
|
|
5136
|
+
sequence: number;
|
|
5137
|
+
etag: string;
|
|
5138
|
+
created?: string | null;
|
|
5139
|
+
updated?: string | null;
|
|
5140
|
+
can_edit: boolean;
|
|
5141
|
+
auto_decline: boolean;
|
|
5142
|
+
decline_message?: string | null;
|
|
5143
|
+
restricted: boolean;
|
|
5144
|
+
}, Error, EventCreateBody, unknown>;
|
|
5145
|
+
declare function useUpdateEvent(): _tanstack_react_query.UseMutationResult<QueuedCalendarWrite | {
|
|
5146
|
+
id: string;
|
|
5147
|
+
instance_id: string;
|
|
5148
|
+
calendar_id: string;
|
|
5149
|
+
uid: string;
|
|
5150
|
+
recurrence_id?: string | null;
|
|
5151
|
+
is_recurring: boolean;
|
|
5152
|
+
is_exception: boolean;
|
|
5153
|
+
title: string;
|
|
5154
|
+
description?: string | null;
|
|
5155
|
+
description_html?: string | null;
|
|
5156
|
+
location?: string | null;
|
|
5157
|
+
start: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5158
|
+
end: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5159
|
+
all_day: boolean;
|
|
5160
|
+
start_utc: string;
|
|
5161
|
+
end_utc: string;
|
|
5162
|
+
recurrence?: _arbidocs_client.components["schemas"]["Recurrence"] | null;
|
|
5163
|
+
status: "confirmed" | "tentative" | "cancelled";
|
|
5164
|
+
show_as: "free" | "tentative" | "busy" | "oof" | "working_elsewhere";
|
|
5165
|
+
sensitivity: "normal" | "private" | "confidential";
|
|
5166
|
+
categories?: string[];
|
|
5167
|
+
color?: string | null;
|
|
5168
|
+
reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5169
|
+
use_default_reminders: boolean;
|
|
5170
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
5171
|
+
attendees?: _arbidocs_client.components["schemas"]["AttendeeRead"][];
|
|
5172
|
+
my_partstat?: ("needs_action" | "accepted" | "declined" | "tentative" | "delegated") | null;
|
|
5173
|
+
is_organizer: boolean;
|
|
5174
|
+
conference?: _arbidocs_client.components["schemas"]["Conference"] | null;
|
|
5175
|
+
attachments?: _arbidocs_client.components["schemas"]["AttachmentRef"][];
|
|
5176
|
+
url?: string | null;
|
|
5177
|
+
conversation_id?: string | null;
|
|
5178
|
+
fact_id?: string | null;
|
|
5179
|
+
sequence: number;
|
|
5180
|
+
etag: string;
|
|
5181
|
+
created?: string | null;
|
|
5182
|
+
updated?: string | null;
|
|
5183
|
+
can_edit: boolean;
|
|
5184
|
+
auto_decline: boolean;
|
|
5185
|
+
decline_message?: string | null;
|
|
5186
|
+
restricted: boolean;
|
|
5187
|
+
}, Error, {
|
|
5188
|
+
target: ScopedTarget;
|
|
5189
|
+
body: EventPatchBody;
|
|
5190
|
+
}, unknown>;
|
|
5191
|
+
declare function useDeleteEvent(): _tanstack_react_query.UseMutationResult<void | QueuedCalendarWrite, Error, ScopedTarget & {
|
|
5192
|
+
notify?: boolean;
|
|
5193
|
+
}, unknown>;
|
|
5194
|
+
declare function useMoveEvent(): _tanstack_react_query.UseMutationResult<{
|
|
5195
|
+
id: string;
|
|
5196
|
+
instance_id: string;
|
|
5197
|
+
calendar_id: string;
|
|
5198
|
+
uid: string;
|
|
5199
|
+
recurrence_id?: string | null;
|
|
5200
|
+
is_recurring: boolean;
|
|
5201
|
+
is_exception: boolean;
|
|
5202
|
+
title: string;
|
|
5203
|
+
description?: string | null;
|
|
5204
|
+
description_html?: string | null;
|
|
5205
|
+
location?: string | null;
|
|
5206
|
+
start: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5207
|
+
end: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5208
|
+
all_day: boolean;
|
|
5209
|
+
start_utc: string;
|
|
5210
|
+
end_utc: string;
|
|
5211
|
+
recurrence?: _arbidocs_client.components["schemas"]["Recurrence"] | null;
|
|
5212
|
+
status: "confirmed" | "tentative" | "cancelled";
|
|
5213
|
+
show_as: "free" | "tentative" | "busy" | "oof" | "working_elsewhere";
|
|
5214
|
+
sensitivity: "normal" | "private" | "confidential";
|
|
5215
|
+
categories?: string[];
|
|
5216
|
+
color?: string | null;
|
|
5217
|
+
reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5218
|
+
use_default_reminders: boolean;
|
|
5219
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
5220
|
+
attendees?: _arbidocs_client.components["schemas"]["AttendeeRead"][];
|
|
5221
|
+
my_partstat?: ("needs_action" | "accepted" | "declined" | "tentative" | "delegated") | null;
|
|
5222
|
+
is_organizer: boolean;
|
|
5223
|
+
conference?: _arbidocs_client.components["schemas"]["Conference"] | null;
|
|
5224
|
+
attachments?: _arbidocs_client.components["schemas"]["AttachmentRef"][];
|
|
5225
|
+
url?: string | null;
|
|
5226
|
+
conversation_id?: string | null;
|
|
5227
|
+
fact_id?: string | null;
|
|
5228
|
+
sequence: number;
|
|
5229
|
+
etag: string;
|
|
5230
|
+
created?: string | null;
|
|
5231
|
+
updated?: string | null;
|
|
5232
|
+
can_edit: boolean;
|
|
5233
|
+
auto_decline: boolean;
|
|
5234
|
+
decline_message?: string | null;
|
|
5235
|
+
restricted: boolean;
|
|
5236
|
+
}, Error, {
|
|
5237
|
+
id: string;
|
|
5238
|
+
calendarId: string;
|
|
5239
|
+
}, unknown>;
|
|
5240
|
+
declare function useRespondToEvent(): _tanstack_react_query.UseMutationResult<QueuedCalendarWrite | {
|
|
5241
|
+
id: string;
|
|
5242
|
+
instance_id: string;
|
|
5243
|
+
calendar_id: string;
|
|
5244
|
+
uid: string;
|
|
5245
|
+
recurrence_id?: string | null;
|
|
5246
|
+
is_recurring: boolean;
|
|
5247
|
+
is_exception: boolean;
|
|
5248
|
+
title: string;
|
|
5249
|
+
description?: string | null;
|
|
5250
|
+
description_html?: string | null;
|
|
5251
|
+
location?: string | null;
|
|
5252
|
+
start: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5253
|
+
end: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5254
|
+
all_day: boolean;
|
|
5255
|
+
start_utc: string;
|
|
5256
|
+
end_utc: string;
|
|
5257
|
+
recurrence?: _arbidocs_client.components["schemas"]["Recurrence"] | null;
|
|
5258
|
+
status: "confirmed" | "tentative" | "cancelled";
|
|
5259
|
+
show_as: "free" | "tentative" | "busy" | "oof" | "working_elsewhere";
|
|
5260
|
+
sensitivity: "normal" | "private" | "confidential";
|
|
5261
|
+
categories?: string[];
|
|
5262
|
+
color?: string | null;
|
|
5263
|
+
reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5264
|
+
use_default_reminders: boolean;
|
|
5265
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
5266
|
+
attendees?: _arbidocs_client.components["schemas"]["AttendeeRead"][];
|
|
5267
|
+
my_partstat?: ("needs_action" | "accepted" | "declined" | "tentative" | "delegated") | null;
|
|
5268
|
+
is_organizer: boolean;
|
|
5269
|
+
conference?: _arbidocs_client.components["schemas"]["Conference"] | null;
|
|
5270
|
+
attachments?: _arbidocs_client.components["schemas"]["AttachmentRef"][];
|
|
5271
|
+
url?: string | null;
|
|
5272
|
+
conversation_id?: string | null;
|
|
5273
|
+
fact_id?: string | null;
|
|
5274
|
+
sequence: number;
|
|
5275
|
+
etag: string;
|
|
5276
|
+
created?: string | null;
|
|
5277
|
+
updated?: string | null;
|
|
5278
|
+
can_edit: boolean;
|
|
5279
|
+
auto_decline: boolean;
|
|
5280
|
+
decline_message?: string | null;
|
|
5281
|
+
restricted: boolean;
|
|
5282
|
+
}, Error, RespondParams, unknown>;
|
|
5283
|
+
declare function useImportCalendar(): _tanstack_react_query.UseMutationResult<{
|
|
5284
|
+
created: number;
|
|
5285
|
+
updated: number;
|
|
5286
|
+
skipped: number;
|
|
5287
|
+
errors?: string[];
|
|
5288
|
+
}, Error, {
|
|
5289
|
+
ics: string;
|
|
5290
|
+
calendarId?: string | null;
|
|
5291
|
+
}, unknown>;
|
|
5292
|
+
declare function useShareCalendar(): _tanstack_react_query.UseMutationResult<{
|
|
5293
|
+
user_id: string;
|
|
5294
|
+
email?: string | null;
|
|
5295
|
+
name?: string | null;
|
|
5296
|
+
role: "owner" | "delegate" | "write" | "read" | "read_basic" | "freebusy";
|
|
5297
|
+
is_agent: boolean;
|
|
5298
|
+
}, Error, {
|
|
5299
|
+
calId: string;
|
|
5300
|
+
grantee: string;
|
|
5301
|
+
role: ShareRole;
|
|
5302
|
+
}, unknown>;
|
|
5303
|
+
declare function useUnshareCalendar(): _tanstack_react_query.UseMutationResult<void, Error, {
|
|
5304
|
+
calId: string;
|
|
5305
|
+
userId: string;
|
|
5306
|
+
}, unknown>;
|
|
5307
|
+
declare function useSubscribeCalendar(): _tanstack_react_query.UseMutationResult<{
|
|
5308
|
+
id: string;
|
|
5309
|
+
name?: string | null;
|
|
5310
|
+
description?: string | null;
|
|
5311
|
+
color: string;
|
|
5312
|
+
timezone: string;
|
|
5313
|
+
kind: "calendar" | "resource" | "subscription" | "holidays" | "birthdays" | "addressbook";
|
|
5314
|
+
role: "owner" | "delegate" | "write" | "read" | "read_basic" | "freebusy";
|
|
5315
|
+
is_default: boolean;
|
|
5316
|
+
hidden: boolean;
|
|
5317
|
+
locked: boolean;
|
|
5318
|
+
owner_id: string;
|
|
5319
|
+
owner_name?: string | null;
|
|
5320
|
+
workspace_id?: string | null;
|
|
5321
|
+
default_reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5322
|
+
resource?: {
|
|
5323
|
+
[key: string]: unknown;
|
|
5324
|
+
} | null;
|
|
5325
|
+
source_url?: string | null;
|
|
5326
|
+
refreshed_at?: string | null;
|
|
5327
|
+
provider: "native" | "google" | "microsoft" | "caldav" | "ics";
|
|
5328
|
+
account_id?: string | null;
|
|
5329
|
+
can_write: boolean;
|
|
5330
|
+
ctag: string;
|
|
5331
|
+
}, Error, _arbidocs_sdk_browser.SubscribeParams, unknown>;
|
|
5332
|
+
declare function useRefreshCalendar(): _tanstack_react_query.UseMutationResult<unknown, Error, string, unknown>;
|
|
5333
|
+
declare function useAddHolidayCalendar(): _tanstack_react_query.UseMutationResult<{
|
|
5334
|
+
id: string;
|
|
5335
|
+
name?: string | null;
|
|
5336
|
+
description?: string | null;
|
|
5337
|
+
color: string;
|
|
5338
|
+
timezone: string;
|
|
5339
|
+
kind: "calendar" | "resource" | "subscription" | "holidays" | "birthdays" | "addressbook";
|
|
5340
|
+
role: "owner" | "delegate" | "write" | "read" | "read_basic" | "freebusy";
|
|
5341
|
+
is_default: boolean;
|
|
5342
|
+
hidden: boolean;
|
|
5343
|
+
locked: boolean;
|
|
5344
|
+
owner_id: string;
|
|
5345
|
+
owner_name?: string | null;
|
|
5346
|
+
workspace_id?: string | null;
|
|
5347
|
+
default_reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5348
|
+
resource?: {
|
|
5349
|
+
[key: string]: unknown;
|
|
5350
|
+
} | null;
|
|
5351
|
+
source_url?: string | null;
|
|
5352
|
+
refreshed_at?: string | null;
|
|
5353
|
+
provider: "native" | "google" | "microsoft" | "caldav" | "ics";
|
|
5354
|
+
account_id?: string | null;
|
|
5355
|
+
can_write: boolean;
|
|
5356
|
+
ctag: string;
|
|
5357
|
+
}, Error, {
|
|
5358
|
+
country: string;
|
|
5359
|
+
subdivision?: string | null;
|
|
5360
|
+
color?: string;
|
|
5361
|
+
}, unknown>;
|
|
5362
|
+
declare function useCreateRoom(): _tanstack_react_query.UseMutationResult<{
|
|
5363
|
+
id: string;
|
|
5364
|
+
name: string;
|
|
5365
|
+
email: string;
|
|
5366
|
+
type: string;
|
|
5367
|
+
capacity?: number | null;
|
|
5368
|
+
building?: string | null;
|
|
5369
|
+
floor?: string | null;
|
|
5370
|
+
features?: string[];
|
|
5371
|
+
auto_accept: boolean;
|
|
5372
|
+
workspace_id?: string | null;
|
|
5373
|
+
free?: boolean | null;
|
|
5374
|
+
busy?: _arbidocs_client.components["schemas"]["BusyBlock"][];
|
|
5375
|
+
}, Error, RoomCreateBody, unknown>;
|
|
5376
|
+
declare function useFindTime(): _tanstack_react_query.UseMutationResult<{
|
|
5377
|
+
start: string;
|
|
5378
|
+
end: string;
|
|
5379
|
+
available: string[];
|
|
5380
|
+
unavailable: string[];
|
|
5381
|
+
score: number;
|
|
5382
|
+
}[], Error, FindTimeParams, unknown>;
|
|
5383
|
+
/** Accept or decline a proposed new time. */
|
|
5384
|
+
declare function useDecideCounter(): _tanstack_react_query.UseMutationResult<{
|
|
5385
|
+
id: string;
|
|
5386
|
+
instance_id: string;
|
|
5387
|
+
calendar_id: string;
|
|
5388
|
+
uid: string;
|
|
5389
|
+
recurrence_id?: string | null;
|
|
5390
|
+
is_recurring: boolean;
|
|
5391
|
+
is_exception: boolean;
|
|
5392
|
+
title: string;
|
|
5393
|
+
description?: string | null;
|
|
5394
|
+
description_html?: string | null;
|
|
5395
|
+
location?: string | null;
|
|
5396
|
+
start: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5397
|
+
end: _arbidocs_client.components["schemas"]["DateTimeSpec"];
|
|
5398
|
+
all_day: boolean;
|
|
5399
|
+
start_utc: string;
|
|
5400
|
+
end_utc: string;
|
|
5401
|
+
recurrence?: _arbidocs_client.components["schemas"]["Recurrence"] | null;
|
|
5402
|
+
status: "confirmed" | "tentative" | "cancelled";
|
|
5403
|
+
show_as: "free" | "tentative" | "busy" | "oof" | "working_elsewhere";
|
|
5404
|
+
sensitivity: "normal" | "private" | "confidential";
|
|
5405
|
+
categories?: string[];
|
|
5406
|
+
color?: string | null;
|
|
5407
|
+
reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5408
|
+
use_default_reminders: boolean;
|
|
5409
|
+
organizer?: _arbidocs_client.components["schemas"]["Person"] | null;
|
|
5410
|
+
attendees?: _arbidocs_client.components["schemas"]["AttendeeRead"][];
|
|
5411
|
+
my_partstat?: ("needs_action" | "accepted" | "declined" | "tentative" | "delegated") | null;
|
|
5412
|
+
is_organizer: boolean;
|
|
5413
|
+
conference?: _arbidocs_client.components["schemas"]["Conference"] | null;
|
|
5414
|
+
attachments?: _arbidocs_client.components["schemas"]["AttachmentRef"][];
|
|
5415
|
+
url?: string | null;
|
|
5416
|
+
conversation_id?: string | null;
|
|
5417
|
+
fact_id?: string | null;
|
|
5418
|
+
sequence: number;
|
|
5419
|
+
etag: string;
|
|
5420
|
+
created?: string | null;
|
|
5421
|
+
updated?: string | null;
|
|
5422
|
+
can_edit: boolean;
|
|
5423
|
+
auto_decline: boolean;
|
|
5424
|
+
decline_message?: string | null;
|
|
5425
|
+
restricted: boolean;
|
|
5426
|
+
}, Error, {
|
|
5427
|
+
id: string;
|
|
5428
|
+
accept: boolean;
|
|
5429
|
+
comment?: string | null;
|
|
5430
|
+
}, unknown>;
|
|
5431
|
+
/** Publish an own calendar into a connected account. */
|
|
5432
|
+
declare function usePublishCalendar(): _tanstack_react_query.UseMutationResult<{
|
|
5433
|
+
id: string;
|
|
5434
|
+
name?: string | null;
|
|
5435
|
+
description?: string | null;
|
|
5436
|
+
color: string;
|
|
5437
|
+
timezone: string;
|
|
5438
|
+
kind: "calendar" | "resource" | "subscription" | "holidays" | "birthdays" | "addressbook";
|
|
5439
|
+
role: "owner" | "delegate" | "write" | "read" | "read_basic" | "freebusy";
|
|
5440
|
+
is_default: boolean;
|
|
5441
|
+
hidden: boolean;
|
|
5442
|
+
locked: boolean;
|
|
5443
|
+
owner_id: string;
|
|
5444
|
+
owner_name?: string | null;
|
|
5445
|
+
workspace_id?: string | null;
|
|
5446
|
+
default_reminders?: _arbidocs_client.components["schemas"]["ReminderSpec"][];
|
|
5447
|
+
resource?: {
|
|
5448
|
+
[key: string]: unknown;
|
|
5449
|
+
} | null;
|
|
5450
|
+
source_url?: string | null;
|
|
5451
|
+
refreshed_at?: string | null;
|
|
5452
|
+
provider: "native" | "google" | "microsoft" | "caldav" | "ics";
|
|
5453
|
+
account_id?: string | null;
|
|
5454
|
+
can_write: boolean;
|
|
5455
|
+
ctag: string;
|
|
5456
|
+
}, Error, {
|
|
5457
|
+
accountId: string;
|
|
5458
|
+
calendarId: string;
|
|
5459
|
+
}, unknown>;
|
|
5460
|
+
|
|
5461
|
+
declare function useCalendarAccounts(enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
5462
|
+
id: string;
|
|
5463
|
+
kind: "google" | "microsoft" | "caldav";
|
|
5464
|
+
address: string;
|
|
5465
|
+
background_sync: boolean;
|
|
5466
|
+
status: string;
|
|
5467
|
+
last_error?: string | null;
|
|
5468
|
+
last_sync_at?: string | null;
|
|
5469
|
+
calendars?: string[];
|
|
5470
|
+
profile_id?: string | null;
|
|
5471
|
+
}[]>, Error>;
|
|
5472
|
+
declare function useCalDavProfiles(enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
5473
|
+
id: string;
|
|
5474
|
+
name: string;
|
|
5475
|
+
url: string;
|
|
5476
|
+
}[]>, Error>;
|
|
5477
|
+
/**
|
|
5478
|
+
* Mirror a Google or Microsoft account. When the server says the connector's grant is not in this
|
|
5479
|
+
* session yet (401), bridge it once and retry.
|
|
5480
|
+
*/
|
|
5481
|
+
declare function connectOAuthCalendarAccount(arbi: Arbi, connectors: CalendarConnectorSupport | undefined, kind: OAuthAccountKind, backgroundSync?: boolean): Promise<CalendarAccount>;
|
|
5482
|
+
declare function useConnectOAuthAccount(): _tanstack_react_query.UseMutationResult<{
|
|
5483
|
+
id: string;
|
|
5484
|
+
kind: "google" | "microsoft" | "caldav";
|
|
5485
|
+
address: string;
|
|
5486
|
+
background_sync: boolean;
|
|
5487
|
+
status: string;
|
|
5488
|
+
last_error?: string | null;
|
|
5489
|
+
last_sync_at?: string | null;
|
|
5490
|
+
calendars?: string[];
|
|
5491
|
+
profile_id?: string | null;
|
|
5492
|
+
}, Error, {
|
|
5493
|
+
kind: OAuthAccountKind;
|
|
5494
|
+
backgroundSync?: boolean;
|
|
5495
|
+
}, unknown>;
|
|
5496
|
+
declare function useConnectCalDavAccount(): _tanstack_react_query.UseMutationResult<{
|
|
5497
|
+
id: string;
|
|
5498
|
+
kind: "google" | "microsoft" | "caldav";
|
|
5499
|
+
address: string;
|
|
5500
|
+
background_sync: boolean;
|
|
5501
|
+
status: string;
|
|
5502
|
+
last_error?: string | null;
|
|
5503
|
+
last_sync_at?: string | null;
|
|
5504
|
+
calendars?: string[];
|
|
5505
|
+
profile_id?: string | null;
|
|
5506
|
+
}, Error, CalDavConnectBody, unknown>;
|
|
5507
|
+
declare function useUpdateCalendarAccount(): _tanstack_react_query.UseMutationResult<{
|
|
5508
|
+
id: string;
|
|
5509
|
+
kind: "google" | "microsoft" | "caldav";
|
|
5510
|
+
address: string;
|
|
5511
|
+
background_sync: boolean;
|
|
5512
|
+
status: string;
|
|
5513
|
+
last_error?: string | null;
|
|
5514
|
+
last_sync_at?: string | null;
|
|
5515
|
+
calendars?: string[];
|
|
5516
|
+
profile_id?: string | null;
|
|
5517
|
+
}, Error, {
|
|
5518
|
+
id: string;
|
|
5519
|
+
backgroundSync: boolean;
|
|
5520
|
+
}, unknown>;
|
|
5521
|
+
declare function useSyncCalendarAccount(): _tanstack_react_query.UseMutationResult<_arbidocs_sdk_browser.AccountSyncResult, Error, string, unknown>;
|
|
5522
|
+
declare function useDisconnectCalendarAccount(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
5523
|
+
/**
|
|
5524
|
+
* Start a Google or Microsoft account connect: remember the intent, then go to the connector's
|
|
5525
|
+
* consent. `useResumeCalendarAccountConnect` finishes it after the redirect back. `undefined`
|
|
5526
|
+
* when the host offers no connector OAuth.
|
|
5527
|
+
*/
|
|
5528
|
+
declare function useStartCalendarAccountOAuth(): ((kind: OAuthAccountKind, backgroundSync?: boolean) => Promise<void>) | undefined;
|
|
5529
|
+
/**
|
|
5530
|
+
* After an OAuth round trip started by `useStartCalendarAccountOAuth`, mirror the account once
|
|
5531
|
+
* its connector shows as connected.
|
|
5532
|
+
*/
|
|
5533
|
+
declare function useResumeCalendarAccountConnect(onDone?: (result: {
|
|
5534
|
+
account?: CalendarAccount;
|
|
5535
|
+
error?: unknown;
|
|
5536
|
+
}) => void): _tanstack_react_query.UseMutationResult<{
|
|
5537
|
+
id: string;
|
|
5538
|
+
kind: "google" | "microsoft" | "caldav";
|
|
5539
|
+
address: string;
|
|
5540
|
+
background_sync: boolean;
|
|
5541
|
+
status: string;
|
|
5542
|
+
last_error?: string | null;
|
|
5543
|
+
last_sync_at?: string | null;
|
|
5544
|
+
calendars?: string[];
|
|
5545
|
+
profile_id?: string | null;
|
|
5546
|
+
}, Error, {
|
|
5547
|
+
kind: OAuthAccountKind;
|
|
5548
|
+
backgroundSync?: boolean;
|
|
5549
|
+
}, unknown>;
|
|
5550
|
+
/** Test hook: forget which accounts were synced this page load. */
|
|
5551
|
+
declare function resetCalendarAccountSyncState(): void;
|
|
5552
|
+
/**
|
|
5553
|
+
* Pull and push every connected account once per page load when the calendar opens: the server
|
|
5554
|
+
* syncs foreground accounts only with a live session's grant.
|
|
5555
|
+
*/
|
|
5556
|
+
declare function useSyncAccountsOnOpen(enabled?: boolean): {
|
|
5557
|
+
syncing: boolean;
|
|
5558
|
+
};
|
|
5559
|
+
declare function useAppPasswords(enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
5560
|
+
id: string;
|
|
5561
|
+
kind: "dav" | "feed" | "freebusy";
|
|
5562
|
+
label: string;
|
|
5563
|
+
calendar_ids?: string[];
|
|
5564
|
+
feed_level?: string | null;
|
|
5565
|
+
created_at: string;
|
|
5566
|
+
last_used_at?: string | null;
|
|
5567
|
+
}[]>, Error>;
|
|
5568
|
+
declare function useCreateAppPassword(): _tanstack_react_query.UseMutationResult<{
|
|
5569
|
+
id: string;
|
|
5570
|
+
kind: "dav" | "feed" | "freebusy";
|
|
5571
|
+
label: string;
|
|
5572
|
+
calendar_ids?: string[];
|
|
5573
|
+
feed_level?: string | null;
|
|
5574
|
+
created_at: string;
|
|
5575
|
+
last_used_at?: string | null;
|
|
5576
|
+
password?: string | null;
|
|
5577
|
+
username?: string | null;
|
|
5578
|
+
server_url?: string | null;
|
|
5579
|
+
feed_url?: string | null;
|
|
5580
|
+
}, Error, {
|
|
5581
|
+
label: string;
|
|
5582
|
+
calendar_ids?: string[] | null;
|
|
5583
|
+
}, unknown>;
|
|
5584
|
+
declare function useCreateFeed(): _tanstack_react_query.UseMutationResult<{
|
|
5585
|
+
id: string;
|
|
5586
|
+
kind: "dav" | "feed" | "freebusy";
|
|
5587
|
+
label: string;
|
|
5588
|
+
calendar_ids?: string[];
|
|
5589
|
+
feed_level?: string | null;
|
|
5590
|
+
created_at: string;
|
|
5591
|
+
last_used_at?: string | null;
|
|
5592
|
+
password?: string | null;
|
|
5593
|
+
username?: string | null;
|
|
5594
|
+
server_url?: string | null;
|
|
5595
|
+
feed_url?: string | null;
|
|
5596
|
+
}, Error, FeedCreateBody, unknown>;
|
|
5597
|
+
declare function useRevokeAppPassword(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
5598
|
+
declare function useBookingPages(enabled?: boolean): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
5599
|
+
id: string;
|
|
5600
|
+
slug: string;
|
|
5601
|
+
url: string;
|
|
5602
|
+
title: string;
|
|
5603
|
+
description?: string | null;
|
|
5604
|
+
durations: number[];
|
|
5605
|
+
time_zone: string;
|
|
5606
|
+
weekly?: {
|
|
5607
|
+
[key: string]: unknown;
|
|
5608
|
+
}[];
|
|
5609
|
+
buffer_minutes: number;
|
|
5610
|
+
min_notice_minutes: number;
|
|
5611
|
+
max_days_ahead: number;
|
|
5612
|
+
daily_limit?: number | null;
|
|
5613
|
+
location?: string | null;
|
|
5614
|
+
active: boolean;
|
|
5615
|
+
owner_name?: string | null;
|
|
5616
|
+
}[]>, Error>;
|
|
5617
|
+
declare function useSaveBookingPage(): _tanstack_react_query.UseMutationResult<{
|
|
5618
|
+
id: string;
|
|
5619
|
+
slug: string;
|
|
5620
|
+
url: string;
|
|
5621
|
+
title: string;
|
|
5622
|
+
description?: string | null;
|
|
5623
|
+
durations: number[];
|
|
5624
|
+
time_zone: string;
|
|
5625
|
+
weekly?: {
|
|
5626
|
+
[key: string]: unknown;
|
|
5627
|
+
}[];
|
|
5628
|
+
buffer_minutes: number;
|
|
5629
|
+
min_notice_minutes: number;
|
|
5630
|
+
max_days_ahead: number;
|
|
5631
|
+
daily_limit?: number | null;
|
|
5632
|
+
location?: string | null;
|
|
5633
|
+
active: boolean;
|
|
5634
|
+
owner_name?: string | null;
|
|
5635
|
+
}, Error, {
|
|
5636
|
+
slug: string;
|
|
5637
|
+
title: string;
|
|
5638
|
+
description?: string | null;
|
|
5639
|
+
durations?: number[];
|
|
5640
|
+
time_zone: string;
|
|
5641
|
+
weekly?: _arbidocs_client.components["schemas"]["WeeklyHours"][];
|
|
5642
|
+
buffer_minutes: number;
|
|
5643
|
+
min_notice_minutes: number;
|
|
5644
|
+
max_days_ahead: number;
|
|
5645
|
+
daily_limit?: number | null;
|
|
5646
|
+
location?: string | null;
|
|
5647
|
+
active: boolean;
|
|
5648
|
+
}, unknown>;
|
|
5649
|
+
declare function useDeleteBookingPage(): _tanstack_react_query.UseMutationResult<void, Error, string, unknown>;
|
|
5650
|
+
|
|
4545
5651
|
/**
|
|
4546
5652
|
* AI usage is reported in pounds (ex VAT).
|
|
4547
5653
|
*
|
|
@@ -5928,6 +7034,223 @@ declare function useWorkNotifications(options: {
|
|
|
5928
7034
|
}[]>>;
|
|
5929
7035
|
};
|
|
5930
7036
|
|
|
7037
|
+
/** The newest `limit` (default 100) notifications. Live under an `<ArbiWebSocketProvider>`. */
|
|
7038
|
+
declare function useNotifications(options?: {
|
|
7039
|
+
limit?: number;
|
|
7040
|
+
enabled?: boolean;
|
|
7041
|
+
}): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
7042
|
+
type: _arbidocs_client.components["schemas"]["NotificationType"];
|
|
7043
|
+
external_id: string;
|
|
7044
|
+
sender: {
|
|
7045
|
+
external_id: string;
|
|
7046
|
+
parent_ext_id?: string | null | undefined;
|
|
7047
|
+
email: string;
|
|
7048
|
+
given_name: string;
|
|
7049
|
+
family_name?: string | null | undefined;
|
|
7050
|
+
picture?: string | null | undefined;
|
|
7051
|
+
encryption_public_key: string;
|
|
7052
|
+
is_sso: boolean;
|
|
7053
|
+
is_identity_verified: boolean;
|
|
7054
|
+
};
|
|
7055
|
+
recipient: {
|
|
7056
|
+
external_id: string;
|
|
7057
|
+
parent_ext_id?: string | null | undefined;
|
|
7058
|
+
email: string;
|
|
7059
|
+
given_name: string;
|
|
7060
|
+
family_name?: string | null | undefined;
|
|
7061
|
+
picture?: string | null | undefined;
|
|
7062
|
+
encryption_public_key: string;
|
|
7063
|
+
is_sso: boolean;
|
|
7064
|
+
is_identity_verified: boolean;
|
|
7065
|
+
};
|
|
7066
|
+
workspace_ext_id?: string | null | undefined;
|
|
7067
|
+
content?: string | null | undefined;
|
|
7068
|
+
conversation_ext_id?: string | null | undefined;
|
|
7069
|
+
message_ext_id?: string | null | undefined;
|
|
7070
|
+
read: boolean;
|
|
7071
|
+
created_at: string;
|
|
7072
|
+
updated_at: string;
|
|
7073
|
+
}[]>, Error>;
|
|
7074
|
+
/** Delete notifications for yourself (the other side keeps its copy). */
|
|
7075
|
+
declare function useDeleteNotifications(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
|
|
7076
|
+
/** Mark notifications addressed to you read. */
|
|
7077
|
+
declare function useMarkNotificationsRead(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
|
|
7078
|
+
|
|
7079
|
+
/**
|
|
7080
|
+
* What a server-persisted notification (`NotificationResponse`) says and where it leads — the one
|
|
7081
|
+
* type→presentation mapping every surface reads (the arrival toast, the bell entry, the
|
|
7082
|
+
* notification centre), so wording cannot drift between them or between hosts.
|
|
7083
|
+
*
|
|
7084
|
+
* Titles derive from `type`, the sender and plaintext routing metadata only: the E2E-encrypted
|
|
7085
|
+
* content is never needed. Where an entry leads is data ({@link NotificationTarget}); the host
|
|
7086
|
+
* owns navigation and turns a target into its own route.
|
|
7087
|
+
*/
|
|
7088
|
+
|
|
7089
|
+
type NotificationResponse = components['schemas']['NotificationResponse'];
|
|
7090
|
+
type NotificationUser = NotificationResponse['sender'];
|
|
7091
|
+
/** Where a notification leads. The host maps each kind onto its routes. */
|
|
7092
|
+
type NotificationTarget =
|
|
7093
|
+
/** A workspace's own page (a membership change). */
|
|
7094
|
+
{
|
|
7095
|
+
kind: 'workspace';
|
|
7096
|
+
workspaceId: string;
|
|
7097
|
+
}
|
|
7098
|
+
/** A thread, scrolled to a message when given. */
|
|
7099
|
+
| {
|
|
7100
|
+
kind: 'conversation';
|
|
7101
|
+
workspaceId?: string;
|
|
7102
|
+
conversationId: string;
|
|
7103
|
+
messageId?: string;
|
|
7104
|
+
}
|
|
7105
|
+
/** A document: at a version, on a comment, or on a viewer tab when given. */
|
|
7106
|
+
| {
|
|
7107
|
+
kind: 'document';
|
|
7108
|
+
workspaceId?: string;
|
|
7109
|
+
documentId: string;
|
|
7110
|
+
version?: number;
|
|
7111
|
+
commentId?: string;
|
|
7112
|
+
tab?: 'pdf';
|
|
7113
|
+
}
|
|
7114
|
+
/** The mailbox, on a draft when given. */
|
|
7115
|
+
| {
|
|
7116
|
+
kind: 'mail';
|
|
7117
|
+
draftId?: string;
|
|
7118
|
+
}
|
|
7119
|
+
/** The workflows page, on a workflow when given. */
|
|
7120
|
+
| {
|
|
7121
|
+
kind: 'workflows';
|
|
7122
|
+
workflowId?: string;
|
|
7123
|
+
}
|
|
7124
|
+
/** Projects and their AI usage. */
|
|
7125
|
+
| {
|
|
7126
|
+
kind: 'projects';
|
|
7127
|
+
}
|
|
7128
|
+
/** Storage settings. */
|
|
7129
|
+
| {
|
|
7130
|
+
kind: 'storage';
|
|
7131
|
+
}
|
|
7132
|
+
/** Where seats are added (the Box's licence page). */
|
|
7133
|
+
| {
|
|
7134
|
+
kind: 'seats';
|
|
7135
|
+
}
|
|
7136
|
+
/** Review a workspace access request (choose a workspace and a role). */
|
|
7137
|
+
| {
|
|
7138
|
+
kind: 'access-request';
|
|
7139
|
+
notification: NotificationResponse;
|
|
7140
|
+
}
|
|
7141
|
+
/** Call the sender back. */
|
|
7142
|
+
| {
|
|
7143
|
+
kind: 'call-back';
|
|
7144
|
+
user: NotificationUser;
|
|
7145
|
+
}
|
|
7146
|
+
/** An external page, opened in a new tab. */
|
|
7147
|
+
| {
|
|
7148
|
+
kind: 'url';
|
|
7149
|
+
url: string;
|
|
7150
|
+
};
|
|
7151
|
+
/** A server notification's presentation: its sentence, severity, and where it leads. */
|
|
7152
|
+
interface ServerNotificationDescription {
|
|
7153
|
+
title: string;
|
|
7154
|
+
variant: NotifyVariant;
|
|
7155
|
+
/** The label of the action that opens {@link target} ("Review and sign"); default "View". */
|
|
7156
|
+
actionLabel?: string;
|
|
7157
|
+
target?: NotificationTarget;
|
|
7158
|
+
}
|
|
7159
|
+
interface DescribeServerNotificationOptions {
|
|
7160
|
+
/** The sender's display name; default their given and family name, else their email. */
|
|
7161
|
+
senderName?: string;
|
|
7162
|
+
/** The name of a document the notification is about, when the host knows it (names are
|
|
7163
|
+
* encrypted, so a notification carries only the id). */
|
|
7164
|
+
documentName?: (workspaceId: string | null | undefined, documentId: string) => string | undefined;
|
|
7165
|
+
/** The portal origins a deployment-user notice may link to. */
|
|
7166
|
+
portalOrigins?: readonly string[];
|
|
7167
|
+
}
|
|
7168
|
+
/** A person's display name: given and family name, else their email. */
|
|
7169
|
+
declare function notificationUserName(user: NotificationUser): string;
|
|
7170
|
+
/** Deadline metadata is intentionally plaintext; the confidential question stays in the thread. */
|
|
7171
|
+
declare function inputRequestTitle(content: string | null | undefined): string;
|
|
7172
|
+
/**
|
|
7173
|
+
* The plaintext routing content of a `document_activity` notification: `{doc_ext_id, event,
|
|
7174
|
+
* reason, version}`. Opaque ids and a closed vocabulary only; never the file name.
|
|
7175
|
+
*/
|
|
7176
|
+
declare function documentActivityMeta(content: string | null | undefined): {
|
|
7177
|
+
documentId?: string;
|
|
7178
|
+
reason?: string;
|
|
7179
|
+
version?: number;
|
|
7180
|
+
};
|
|
7181
|
+
/** What a `document_activity` says after its sender: "signed a document", "saved version 3 of a document". */
|
|
7182
|
+
declare function documentActivityPhrase(content: string | null | undefined): string;
|
|
7183
|
+
/** The document and comment a `docx_mention` points at (routing ids only). */
|
|
7184
|
+
declare function docxMentionMeta(content: string | null | undefined): {
|
|
7185
|
+
documentId?: string;
|
|
7186
|
+
commentId?: string;
|
|
7187
|
+
};
|
|
7188
|
+
/**
|
|
7189
|
+
* The plaintext routing content of a signature-request notification: `{request_id, document_id,
|
|
7190
|
+
* signed_version?}`. Opaque ids only: the document's name is encrypted, so it is never in a
|
|
7191
|
+
* notification.
|
|
7192
|
+
*/
|
|
7193
|
+
declare function signatureRequestMeta(content: string | null | undefined): {
|
|
7194
|
+
documentId?: string;
|
|
7195
|
+
version?: number;
|
|
7196
|
+
};
|
|
7197
|
+
/** The notification types of a signature request. */
|
|
7198
|
+
declare const SIGNATURE_NOTIFICATION_TYPES: readonly ["signature_requested", "signature_completed", "signature_declined"];
|
|
7199
|
+
type SignatureNotificationType = (typeof SIGNATURE_NOTIFICATION_TYPES)[number];
|
|
7200
|
+
declare function isSignatureNotificationType(type: string | null | undefined): type is SignatureNotificationType;
|
|
7201
|
+
/**
|
|
7202
|
+
* What a signature notification says, around the person's name and the document's:
|
|
7203
|
+
* `{lead} [person] {verb} [document]{tail}`. The recipient reads it about the sender
|
|
7204
|
+
* ("Priya Shah asked you to sign NDA.pdf"); the sender, in their own activity, about what they did
|
|
7205
|
+
* ("You asked Sam Lee to sign NDA.pdf"), with the person left out when the sentence needs none.
|
|
7206
|
+
*/
|
|
7207
|
+
declare function signatureNotificationPhrase(type: SignatureNotificationType, incoming: boolean): {
|
|
7208
|
+
lead: string;
|
|
7209
|
+
showPerson: boolean;
|
|
7210
|
+
verb: string;
|
|
7211
|
+
tail: string;
|
|
7212
|
+
};
|
|
7213
|
+
/**
|
|
7214
|
+
* Plaintext routing metadata on call notifications (`call_missed`): `{call_ext_id}`. Never a
|
|
7215
|
+
* title — titles are encrypted under the call's key.
|
|
7216
|
+
*/
|
|
7217
|
+
declare function callNotificationMeta(content: string | null | undefined): {
|
|
7218
|
+
callExtId?: string;
|
|
7219
|
+
};
|
|
7220
|
+
/** A Box had no seat for a new internal user: the inviter's invitation was not sent. Central
|
|
7221
|
+
* emails the inviter and the Box admins; this is the inviter's own notice. */
|
|
7222
|
+
declare const BOX_SEAT_REFUSED = "box_seat_refused";
|
|
7223
|
+
declare const BOX_SEAT_REFUSED_TITLE = "Invitation not sent: your Box has no seat left. Your Box admins have been notified and can add users in the ARBI portal.";
|
|
7224
|
+
declare const BOX_SEAT_REFUSED_ACTION = "Open the ARBI portal";
|
|
7225
|
+
/** A deployment admin's notice about the Box's users (`deployment_user_invited` / `_registered`):
|
|
7226
|
+
* an invitation sent (sender = the inviter) or an account created (sender = the new user). */
|
|
7227
|
+
declare function isDeploymentUserNotification(type: string | null | undefined): boolean;
|
|
7228
|
+
/** The portal origins a "Manage users" link may open by default. Anything else gets no button. */
|
|
7229
|
+
declare const ALLOWED_PORTAL_ORIGINS: readonly string[];
|
|
7230
|
+
/** The portal link, only when it is https on an allowed portal origin. */
|
|
7231
|
+
declare function safePortalUrl(value: unknown, origins?: readonly string[]): string | undefined;
|
|
7232
|
+
/** Plaintext content of a deployment-user notification: `{email, user_type, portal_url}`. */
|
|
7233
|
+
declare function deploymentUserMeta(content: string | null | undefined, origins?: readonly string[]): {
|
|
7234
|
+
email?: string;
|
|
7235
|
+
external: boolean;
|
|
7236
|
+
portalUrl?: string;
|
|
7237
|
+
};
|
|
7238
|
+
/** A document's display name, as a document list shows it (its title, else its file name). */
|
|
7239
|
+
declare function documentDisplayName(doc: {
|
|
7240
|
+
file_name?: string | null;
|
|
7241
|
+
doc_metadata?: {
|
|
7242
|
+
title?: string | null;
|
|
7243
|
+
} | null;
|
|
7244
|
+
} | null | undefined): string | undefined;
|
|
7245
|
+
/** What the work notifications say in a list, where the sender has a column of their own. */
|
|
7246
|
+
declare const WORK_NOTIFICATION_LABELS: Readonly<Record<string, string>>;
|
|
7247
|
+
/**
|
|
7248
|
+
* One server notification → what it says to its recipient and where it leads, or null for
|
|
7249
|
+
* types without a sentence here (calendar events, sync completions: they have their own
|
|
7250
|
+
* surfaces).
|
|
7251
|
+
*/
|
|
7252
|
+
declare function describeServerNotification(n: NotificationResponse, options?: DescribeServerNotificationOptions): ServerNotificationDescription | null;
|
|
7253
|
+
|
|
5931
7254
|
/**
|
|
5932
7255
|
* Direct-message view types.
|
|
5933
7256
|
*
|
|
@@ -7189,4 +8512,4 @@ declare function useArbiSessionStore(): ArbiSessionStore;
|
|
|
7189
8512
|
*/
|
|
7190
8513
|
declare function useArbiSessionState<T>(selector: (state: ArbiSessionState) => T): T;
|
|
7191
8514
|
|
|
7192
|
-
export { AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, 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, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, 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_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTypeMeta, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, 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 UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, captureFrameAsBlob, classifyMediaError, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, describeActivity, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, invalidateTagData, isAliasTakenError, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resolveActiveWorkspace, selectIsGenerating, selectViewingDocumentId, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectMailAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateContact, useCreateFact, useCreateFacts, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteContact, useDeleteFact, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFilteredProjects, useFirmPool, useFollowThread, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useIdentityVerification, useIdentityVerificationFlow, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMcpTools, useNameEditor, useNotificationPreferences, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useRequestEmailChange, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveMailDraft, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetTagValues, useShellWorkspaces, useSignOut, useSkills, useStartAgentSession, useStartWorkQuery, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUpdateContact, useUpdateConversation, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
|
|
8515
|
+
export { ALLOWED_PORTAL_ORIGINS, AUDIO_MIME_PREFERENCE, type AccountClient, type AccountClientContextValue, AccountClientProvider, type AccountClientProviderProps, type AccountSession, type AccountSignOutOptions, 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, type ArbiConversationDocument, type ArbiConversationGeneration, ArbiProvider, type ArbiProviderProps, type ArbiSessionState, ArbiSessionStateProvider, type ArbiSessionStateProviderProps, type ArbiSessionStore, type ArbiViewingDocument, type ArbiViewingDocumentInput, ArbiWebSocketProvider, type ArbiWebSocketProviderProps, type ArbiWsState, type ArbiWsStatus, ArtifactCanvas, type AspectOption, AudIcon, type AudioRecorderState, type AudioSegment, type AvatarCrop, type AvatarFileProblem, BOX_SEAT_REFUSED, BOX_SEAT_REFUSED_ACTION, BOX_SEAT_REFUSED_TITLE, type CalendarConnectorSupport, type CalendarOfflineSupport, type CalendarPendingWrite, type CalendarSupport, CalendarSupportProvider, type CalendarWriteOp, ChatBubble, type ChatBubbleProps, type Chunk, type ChunkActivation, type ChunkedRecorder, type ChunkedRecorderOptions, 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_SEGMENTER_CONFIG, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, type DateSeparatorProps, type DeleteAccountBlocker, type DeleteAccountFlow, type DescribeServerNotificationOptions, DirectMessages, type DirectMessagesProps, DmAvatar, type DmAvatarProps, type DmClassNames, DmComposer, type DmComposerProps, type DmConversation, type DmMessage, type DmUser, DocIcon, DocQaPanel, DocSearch, DocumentCardMenu, type DocumentCardMenuProps, DocumentGallery, type DocumentGalleryProps, DocumentReview, type DocumentReviewProps, DocumentTable, type DocumentTableProps, DraftTitleControls, type DraftTitleControlsProps, EMPTY_SESSION_STATE, type EmailChange, type EmailPreferences, EmlIcon, EntityIconComponent, FILE_TYPE_COLORS, type FactListFilter, FileIcon, FireworksIcon, type FollowSaveCallbacks, GeminiIcon, GitHubIcon, GoogleIcon, type GrantAgentAccessVars, HtmlIcon, INITIAL_SEGMENTER_STATE, IdentityPurchase, IdentityStatus, IdentityStep, type IdentityVerificationApi, IdentityVerificationFlow, ImageCropModal, type ImageCropModalProps, ImageCropper, type ImageCropperProps, ImgIcon, InlineMicButton, type InlineMicButtonProps, LinkedInIcon, MAIL_DRAFT_REPLACED_EVENT, MAX_AVATAR_FILE_BYTES, type MailAccount, type MailAddress, type MailAttachment, type MailClient, type MailClientContextValue, MailClientProvider, type MailClientProviderProps, type MailCompose, type MailDeliveryRecipient, type MailDeliveryStatus, type MailDeviceFallback, type MailDraftEditorRequest, type MailDraftEditorSession, type MailFetch, type MailFolder, type MailMessage, type MailMessageUpdate, MailOfflineUnavailableError, type MailPage, type MailPolicy, type MailProject, type MessageArtifact, MessageArtifactCard, MessageBubble, type MessageBubbleProps, MessageThread, type MessageThreadProps, MicRecordingOverlay, type MicRecordingOverlayProps, MicWaveformIndicator, type MicWaveformIndicatorProps, type MountDiditOptions, type NameEditor, type NotificationPreferencesModel, type NotificationTarget, type NotificationTypeMeta, NotifyVariant, OpenAIIcon, PROJECT_CREATION_DENIED_REASON, type PaletteNavItem, type ParsedChunk, type ParsedChunkMetadata, type ParsedDocument, type ParsedDocumentMetadata, type PasswordChangeForm, type PasswordChangeFormMessages, type PasswordChangeVars, PdfIcon, PhotoCapture, type PhotoCaptureProps, type ProfileView, type ProjectsUsageAggregate, ProviderIcon, type QueuedCalendarWrite, RUN_WINDOW_MS, type RecordedChunk, type RelevancePatch, type RenderMarkdown, SIGNATURE_NOTIFICATION_TYPES, type SaveAgentConfigVars, type SearchChunk, type SegmenterConfig, type SegmenterEvent, type SegmenterState, SemanticSearch, type SemanticSearchProps, type ServerNotificationDescription, type ShellRecentWorkspaceItem, type ShellWorkspaceItem, type ShellWorkspaceKind, type ShellWorkspaceMember, type ShellWorkspaceSeed, type ShellWorkspaceSource, type SignatureNotificationType, StartByEmail, type StartByEmailLabels, type StartByEmailProps, type ThreadAccessors, type ThreadItem, type ToolResponses, TxtIcon, TypingIndicator, type UpdateProfileVars, type UsageTotals, type UseArbiChatOptions, type UseArbiShellWorkspacesOptions, type UseAudioRecorderOptions, type UseAudioRecorderResult, type UseAvatarCropOptions, type UseCameraStreamResult, type UseDeleteAccountFlowOptions, type UseDirectMessagesResult, type UseEmailChangeOptions, type UseIdentityVerificationFlowOptions, type UseNameEditorOptions, type UsePasswordChangeFormOptions, type UseShellWorkspacesOptions, type UseShellWorkspacesResult, type UseVideoRecorderResult, VIDEO_MIME_PREFERENCE, VidIcon, VideoCapture, type VideoCaptureProps, type VideoRecorderState, VoiceNoteRecorder, type VoiceNoteRecorderProps, WORK_NOTIFICATION_LABELS, type WorkspaceNotificationLevel, XlsIcon, accountPath, aliasTakenMessage, annotateThread, announceMailDraftReplaced, arbiAccountClient, arbiMailClient, arbiMutationKeys, arbiQueryKeys, calendarQueryKeys, callNotificationMeta, captureFrameAsBlob, classifyMediaError, connectOAuthCalendarAccount, createArbiSessionStore, createChunkedRecorder, createMailClient, cropImage, dayKey, defaultMailAlias, deploymentUserMeta, describeActivity, describeServerNotification, documentActivityMeta, documentActivityPhrase, documentDisplayName, docxMentionMeta, downloadRecoveryFile, fileAttachment, flushSegmenter, formatElapsed, formatIdentityPrice, formatRelativeTime, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, identityStepFor, inputRequestTitle, invalidateCalendarEvents, invalidateCalendars, invalidateTagData, isAliasTakenError, isDeploymentUserNotification, isQueuedCalendarWrite, isSignatureNotificationType, isUsageMetered, isWorkspaceNotificationType, levelFromRms, mailDraftIdFromContent, mailJson, mailQueryKeys, mountDiditVerification, nextAliasSuggestion, nextViewingDocument, notificationUserName, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, pickRecorderMimeType, redlineStats, resetCalendarAccountSyncState, resolveActiveWorkspace, safePortalUrl, selectIsGenerating, selectViewingDocumentId, signatureNotificationPhrase, signatureRequestMeta, stepSegmenter, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAccountClient, useActOnStep, useActivity, useAddHolidayCalendar, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAgents, useAiTask, useAppPasswords, useArbi, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiSessionState, useArbiSessionStore, useArbiShellWorkspaces, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAssistantQuery, useAudioRecorder, useAuthorizeLimits, useAvatarCrop, useBookingPages, useCalDavProfiles, useCalendarAccounts, useCalendarEvent, useCalendarEventByUid, useCalendarEvents, useCalendarInvitations, useCalendarOutbox, useCalendarOverlays, useCalendarSettings, useCalendarShares, useCalendarSupport, useCalendars, useCameraStream, useCanCreateProjects, useClaimNativeAlias, useCloseAgentSession, useCommandPalette, useConfigs, useConfirmEmailChange, useConnectCalDavAccount, useConnectMailAccount, useConnectOAuthAccount, useContacts, useConversationActivity, useConversationPendingAuth, useConversationThreads, useConversationUsage, useConversations, useCreateAgent, useCreateAppPassword, useCreateCalendar, useCreateContact, useCreateEvent, useCreateFact, useCreateFacts, useCreateFeed, useCreateRoom, useCreateWork, useCreateWorkflow, useCurrentSessionId, useCurrentUser, useDecideCounter, useDeleteAccount, useDeleteAccountFlow, useDeleteAgents, useDeleteBookingPage, useDeleteCalendar, useDeleteContact, useDeleteEvent, useDeleteFact, useDeleteNotifications, useDeleteSkill, useDeleteWorkflow, useDeploymentDomain, useDirectMessages, useDisconnectCalendarAccount, useDisconnectMailAccount, useDocuments, useEmailChange, useFacts, useFetchCalendarEvent, useFilteredProjects, useFindTime, useFirmPool, useFollowThread, useFreeBusy, useGenerateAgentAvatar, useGrantAgentAccess, useHealth, useHolidayCountries, useIdentityVerification, useIdentityVerificationFlow, useImportCalendar, useInvalidateTagData, useInviteContacts, useMailAccounts, useMailAttachmentText, useMailCache, useMailClient, useMailDraftCompose, useMailDraftEditor, useMailDraftReplaced, useMailFolders, useMailMessage, useMailMessages, useMailOnline, useMailPolicy, useMailProjects, useMailUnlock, useMarkNotificationsRead, useMcpTools, useMoveEvent, useNameEditor, useNotificationPreferences, useNotifications, useParsedDocument, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useProjectConversationUsage, useProjectEvents, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, usePublishCalendar, useRefreshCalendar, useRequestEmailChange, useRespondToEvent, useResumeCalendarAccountConnect, useRevokeAgentAccess, useRevokeAppPassword, useRooms, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSaveBookingPage, useSaveCalendarSettings, useSaveMailDraft, useSearchContacts, useSearchFacts, useSemanticSearch, useSendBackStep, useSendMail, useSessions, useSetSkillVisibility, useSetTagValues, useShareCalendar, useShellWorkspaces, useSignOut, useSkillSource, useSkills, useStartAgentSession, useStartCalendarAccountOAuth, useStartWorkQuery, useSubscribeCalendar, useSyncAccountsOnOpen, useSyncCalendarAccount, useTagKindSchema, useTags, useTerminateSession, useThumbnails, useTopUpFirmPool, useUnshareCalendar, useUpdateCalendar, useUpdateCalendarAccount, useUpdateContact, useUpdateConversation, useUpdateEvent, useUpdateFact, useUpdateMailMessage, useUpdateProfile, useUpdateProjectFields, useUpdateTagKindSchema, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useUserUsageToday, useVideoRecorder, useWorkNotifications, useWorkflowRuns, useWorkflows, useWorkspaceActivity, useWorkspaceDocs, useWorkspaceNotificationLevel, useWorkspaceUsers, useWorkspaces, userDisplayName, userInitials, workflowStepOf };
|