@arbidocs/sdk 0.5.15 → 0.5.17
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/{browser-DshvBk3G.d.cts → browser-4TgMltob.d.cts} +62 -7
- package/dist/{browser-C6EqN7Bj.d.ts → browser-Be_hfP61.d.ts} +62 -7
- package/dist/browser.cjs +33 -2
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +34 -2
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +33 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +34 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -522,11 +522,6 @@ declare function streamSSE(response: Response, callbacks?: SSEStreamCallbacks):
|
|
|
522
522
|
* Returns empty string if there's nothing to report.
|
|
523
523
|
*/
|
|
524
524
|
declare function formatStreamSummary(result: SSEStreamResult, elapsedTime?: number | null): string;
|
|
525
|
-
/**
|
|
526
|
-
* Consume an entire SSE stream without streaming callbacks.
|
|
527
|
-
* Convenience alias for `streamSSE(response)`.
|
|
528
|
-
*/
|
|
529
|
-
declare const consumeSSEStream: typeof streamSSE;
|
|
530
525
|
|
|
531
526
|
/**
|
|
532
527
|
* WebSocket connection manager.
|
|
@@ -1988,6 +1983,20 @@ declare function moveWorkspaceToProject(arbi: ArbiClient, workspaceExtId: string
|
|
|
1988
1983
|
project_name: string;
|
|
1989
1984
|
moved: boolean;
|
|
1990
1985
|
}>;
|
|
1986
|
+
type WorkspaceArchive = components['schemas']['WorkspaceArchiveRead'];
|
|
1987
|
+
/**
|
|
1988
|
+
* A workspace's archive state: whether this deployment archives, whether the caller may, the
|
|
1989
|
+
* status (`live`, `archiving`, `archived`, `restoring`), bytes per tier and, while archived, what
|
|
1990
|
+
* unarchiving costs.
|
|
1991
|
+
*/
|
|
1992
|
+
declare function getWorkspaceArchive(arbi: ArbiClient, workspaceExtId: string): Promise<WorkspaceArchive>;
|
|
1993
|
+
/** Archive a workspace (its owner or its project's owner): closed for everyone until unarchived. */
|
|
1994
|
+
declare function archiveWorkspace(arbi: ArbiClient, workspaceExtId: string): Promise<WorkspaceArchive>;
|
|
1995
|
+
/**
|
|
1996
|
+
* Start unarchiving a workspace: its files come back and its documents are re-indexed (AI usage).
|
|
1997
|
+
* Refused up front when the project's AI budget cannot cover the re-index.
|
|
1998
|
+
*/
|
|
1999
|
+
declare function unarchiveWorkspace(arbi: ArbiClient, workspaceExtId: string): Promise<WorkspaceArchive>;
|
|
1991
2000
|
declare function deleteWorkspaces(arbi: ArbiClient, workspaceIds: string[]): Promise<void>;
|
|
1992
2001
|
declare function updateWorkspace(arbi: ArbiClient, body: WorkspaceUpdateRequest$1): Promise<{
|
|
1993
2002
|
external_id: string;
|
|
@@ -2328,10 +2337,12 @@ type workspaces_TransferPlan = TransferPlan;
|
|
|
2328
2337
|
type workspaces_TransferScope = TransferScope;
|
|
2329
2338
|
type workspaces_TransferStatus = TransferStatus;
|
|
2330
2339
|
type workspaces_WorkspaceActivityOptions = WorkspaceActivityOptions;
|
|
2340
|
+
type workspaces_WorkspaceArchive = WorkspaceArchive;
|
|
2331
2341
|
type workspaces_WorkspaceExport = WorkspaceExport;
|
|
2332
2342
|
declare const workspaces_addWorkspaceMembers: typeof addWorkspaceMembers;
|
|
2333
2343
|
declare const workspaces_addWorkspaceMembersBody: typeof addWorkspaceMembersBody;
|
|
2334
2344
|
declare const workspaces_addWorkspaceUsers: typeof addWorkspaceUsers;
|
|
2345
|
+
declare const workspaces_archiveWorkspace: typeof archiveWorkspace;
|
|
2335
2346
|
declare const workspaces_cancelWorkspaceTransfer: typeof cancelWorkspaceTransfer;
|
|
2336
2347
|
declare const workspaces_copyDocuments: typeof copyDocuments;
|
|
2337
2348
|
declare const workspaces_createWorkspace: typeof createWorkspace;
|
|
@@ -2339,6 +2350,7 @@ declare const workspaces_deleteWorkspaces: typeof deleteWorkspaces;
|
|
|
2339
2350
|
declare const workspaces_exportWorkspaceData: typeof exportWorkspaceData;
|
|
2340
2351
|
declare const workspaces_getWorkspaceAccessStatus: typeof getWorkspaceAccessStatus;
|
|
2341
2352
|
declare const workspaces_getWorkspaceActivity: typeof getWorkspaceActivity;
|
|
2353
|
+
declare const workspaces_getWorkspaceArchive: typeof getWorkspaceArchive;
|
|
2342
2354
|
declare const workspaces_getWorkspaceTransfer: typeof getWorkspaceTransfer;
|
|
2343
2355
|
declare const workspaces_grantTemporaryWorkspaceAccess: typeof grantTemporaryWorkspaceAccess;
|
|
2344
2356
|
declare const workspaces_listWorkspaceTransfers: typeof listWorkspaceTransfers;
|
|
@@ -2351,9 +2363,10 @@ declare const workspaces_removeWorkspaceUsers: typeof removeWorkspaceUsers;
|
|
|
2351
2363
|
declare const workspaces_resumeWorkspaceTransfer: typeof resumeWorkspaceTransfer;
|
|
2352
2364
|
declare const workspaces_setUserRole: typeof setUserRole;
|
|
2353
2365
|
declare const workspaces_startWorkspaceTransfer: typeof startWorkspaceTransfer;
|
|
2366
|
+
declare const workspaces_unarchiveWorkspace: typeof unarchiveWorkspace;
|
|
2354
2367
|
declare const workspaces_updateWorkspace: typeof updateWorkspace;
|
|
2355
2368
|
declare namespace workspaces {
|
|
2356
|
-
export { type workspaces_AddWorkspaceMembersRequest as AddWorkspaceMembersRequest, workspaces_EXTERNAL_ACCESS_SECONDS as EXTERNAL_ACCESS_SECONDS, type workspaces_TransferConflictPolicy as TransferConflictPolicy, type workspaces_TransferKind as TransferKind, type workspaces_TransferMode as TransferMode, type workspaces_TransferPlan as TransferPlan, type workspaces_TransferScope as TransferScope, type workspaces_TransferStatus as TransferStatus, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceExport as WorkspaceExport, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_cancelWorkspaceTransfer as cancelWorkspaceTransfer, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_exportWorkspaceData as exportWorkspaceData, workspaces_getWorkspaceAccessStatus as getWorkspaceAccessStatus, workspaces_getWorkspaceActivity as getWorkspaceActivity, workspaces_getWorkspaceTransfer as getWorkspaceTransfer, workspaces_grantTemporaryWorkspaceAccess as grantTemporaryWorkspaceAccess, workspaces_listWorkspaceTransfers as listWorkspaceTransfers, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_moveWorkspaceToProject as moveWorkspaceToProject, workspaces_planWorkspaceTransfer as planWorkspaceTransfer, workspaces_primeWorkspaceKey as primeWorkspaceKey, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_resumeWorkspaceTransfer as resumeWorkspaceTransfer, workspaces_setUserRole as setUserRole, workspaces_startWorkspaceTransfer as startWorkspaceTransfer, workspaces_updateWorkspace as updateWorkspace };
|
|
2369
|
+
export { type workspaces_AddWorkspaceMembersRequest as AddWorkspaceMembersRequest, workspaces_EXTERNAL_ACCESS_SECONDS as EXTERNAL_ACCESS_SECONDS, type workspaces_TransferConflictPolicy as TransferConflictPolicy, type workspaces_TransferKind as TransferKind, type workspaces_TransferMode as TransferMode, type workspaces_TransferPlan as TransferPlan, type workspaces_TransferScope as TransferScope, type workspaces_TransferStatus as TransferStatus, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_archiveWorkspace as archiveWorkspace, workspaces_cancelWorkspaceTransfer as cancelWorkspaceTransfer, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_exportWorkspaceData as exportWorkspaceData, workspaces_getWorkspaceAccessStatus as getWorkspaceAccessStatus, workspaces_getWorkspaceActivity as getWorkspaceActivity, workspaces_getWorkspaceArchive as getWorkspaceArchive, workspaces_getWorkspaceTransfer as getWorkspaceTransfer, workspaces_grantTemporaryWorkspaceAccess as grantTemporaryWorkspaceAccess, workspaces_listWorkspaceTransfers as listWorkspaceTransfers, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_moveWorkspaceToProject as moveWorkspaceToProject, workspaces_planWorkspaceTransfer as planWorkspaceTransfer, workspaces_primeWorkspaceKey as primeWorkspaceKey, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_resumeWorkspaceTransfer as resumeWorkspaceTransfer, workspaces_setUserRole as setUserRole, workspaces_startWorkspaceTransfer as startWorkspaceTransfer, workspaces_unarchiveWorkspace as unarchiveWorkspace, workspaces_updateWorkspace as updateWorkspace };
|
|
2357
2370
|
}
|
|
2358
2371
|
|
|
2359
2372
|
/**
|
|
@@ -9761,6 +9774,48 @@ declare class Arbi {
|
|
|
9761
9774
|
documents_total: number;
|
|
9762
9775
|
} | null | undefined;
|
|
9763
9776
|
}>;
|
|
9777
|
+
/** A workspace's archive state (status, bytes per tier, the unarchive estimate). */
|
|
9778
|
+
archiveState: (workspaceId: string) => Promise<{
|
|
9779
|
+
workspace_ext_id: string;
|
|
9780
|
+
status: "live" | "archiving" | "archived" | "restoring";
|
|
9781
|
+
archived_at: string | null;
|
|
9782
|
+
documents_done: number;
|
|
9783
|
+
documents_total: number;
|
|
9784
|
+
can_manage: boolean;
|
|
9785
|
+
available: boolean;
|
|
9786
|
+
live_bytes: number;
|
|
9787
|
+
archived_bytes: number;
|
|
9788
|
+
error?: string | null;
|
|
9789
|
+
estimate?: components["schemas"]["UnarchiveEstimate"] | null;
|
|
9790
|
+
}>;
|
|
9791
|
+
/** Archive a workspace: closed for everyone until unarchived. */
|
|
9792
|
+
archive: (workspaceId: string) => Promise<{
|
|
9793
|
+
workspace_ext_id: string;
|
|
9794
|
+
status: "live" | "archiving" | "archived" | "restoring";
|
|
9795
|
+
archived_at: string | null;
|
|
9796
|
+
documents_done: number;
|
|
9797
|
+
documents_total: number;
|
|
9798
|
+
can_manage: boolean;
|
|
9799
|
+
available: boolean;
|
|
9800
|
+
live_bytes: number;
|
|
9801
|
+
archived_bytes: number;
|
|
9802
|
+
error?: string | null;
|
|
9803
|
+
estimate?: components["schemas"]["UnarchiveEstimate"] | null;
|
|
9804
|
+
}>;
|
|
9805
|
+
/** Start unarchiving a workspace (its documents are re-indexed). */
|
|
9806
|
+
unarchive: (workspaceId: string) => Promise<{
|
|
9807
|
+
workspace_ext_id: string;
|
|
9808
|
+
status: "live" | "archiving" | "archived" | "restoring";
|
|
9809
|
+
archived_at: string | null;
|
|
9810
|
+
documents_done: number;
|
|
9811
|
+
documents_total: number;
|
|
9812
|
+
can_manage: boolean;
|
|
9813
|
+
available: boolean;
|
|
9814
|
+
live_bytes: number;
|
|
9815
|
+
archived_bytes: number;
|
|
9816
|
+
error?: string | null;
|
|
9817
|
+
estimate?: components["schemas"]["UnarchiveEstimate"] | null;
|
|
9818
|
+
}>;
|
|
9764
9819
|
/** Move a workspace (open or not) to another project. */
|
|
9765
9820
|
moveToProject: (workspaceId: string, projectExtId: string) => Promise<{
|
|
9766
9821
|
workspace_ext_id: string;
|
|
@@ -17017,4 +17072,4 @@ declare function getAttachableRunId(messages: readonly RunMessage[]): string | n
|
|
|
17017
17072
|
*/
|
|
17018
17073
|
declare function getRunToAttach(localGeneration: LocalGeneration | undefined, messages: readonly RunMessage[]): string | null;
|
|
17019
17074
|
|
|
17020
|
-
export { type ConfigStore as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarEvent as D, type CalendarKeys as E, type CalendarRead as F, type CalendarSettings as G, type CalendarSettingsBody as H, type CalendarUpdate as I, type CalendarWindow as J, CallApiError as K, type ChatAttachmentFile as L, type ChatAttachmentInput as M, type ChatCryptoContext as N, type ChatKeyRing as O, type ChatKind as P, type ChatMemberKey as Q, type ChatMemberResponse as R, type ChatMessage as S, type ChatMessageResponse as T, type ChatResponse as U, type ChatSession as V, type CitationSummary as W, type CitationToolSources as X, type CliConfig as Y, type CliCredentials as Z, type CommandDescriptor as _, type AccountSyncResult as a, type LinkedRun as a$, type ConnectOptions as a0, type ConnectorCatalogEntry as a1, type ConnectorFolder as a2, type ConnectorSyncProgress as a3, type ConnectorSyncStatus as a4, type ConnectorVendorKey as a5, type ConnectorVisibilitySettings as a6, type ContextUsage as a7, type ConversationResponse as a8, type ConversationUsageResponse as a9, type DocumentWaiterOptions as aA, type DriveSyncProgress as aB, type DriveSyncSummary as aC, DuplicateContactError as aD, ENTITY_KINDS as aE, type EditScope as aF, type EntityKind as aG, type EventCreateBody as aH, type EventPatchBody as aI, FLAT_TAG_KINDS as aJ, type FactResponse as aK, type FactSearchRequest as aL, type FactSearchResponse as aM, type FindTimeParams as aN, type FormattedWsMessage as aO, type FreeBusyEntry as aP, type FullContextSelection as aQ, GOOGLE_VENDORS as aR, type HolidayCountry as aS, type HouseTemplateCandidate as aT, IMANAGE_VENDORS as aU, type IdentityErrorCode as aV, type IdentityPurchase as aW, type IdentityState as aX, type IdentityStatus as aY, type ImportResult as aZ, type InvitationRead as a_, type CreateFactRequest as aa, type CreateFactsRequest as ab, type CreateWorkRequest as ac, type CreateWorkflowRequest as ad, DEFAULT_AI_USD_PER_GBP as ae, DOC_TERMINAL_STATUSES as af, DRIVE_SYNC_VENDORS as ag, type Database as ah, type DatabaseColumn as ai, type DatabaseColumnWrite as aj, type DatabaseImportResult as ak, type DatabaseRow as al, type DatabaseRowPage as am, type DatabaseRowsQuery as an, type DateTimeSpec as ao, type DecryptedChat as ap, type DecryptedChatMessage as aq, type DeploymentHouseTemplate as ar, type DocInfo as as, type DocInfoMap as at, type DocNameMap as au, type DocumentAutomationAction as av, type DocumentListFields as aw, type DocumentListOrder as ax, type DocumentSelector as ay, type DocumentWaiter as az, type ActivityKind as b, type SearchChunk as b$, type ListAllOptions as b0, type ListEventsParams as b1, type ListFactsOptions as b2, type ListPaginatedOptions as b3, MAILBOX_SYNC_VENDORS as b4, MAX_RETRIEVE_DOC_IDS as b5, MICROSOFT_VENDORS as b6, type MailAttachment as b7, type MessageLevel as b8, type OAuthAccountKind as b9, type ProjectUsageResponse as bA, PublicBookingError as bB, type PublicBookingPage as bC, type QuotaExceeded as bD, type RaisedSignal as bE, type ReconnectOptions as bF, type ReconnectableWsConnection as bG, type ResolvedCitation as bH, type ResolvedRecipient as bI, type RespondParams as bJ, type RespondPartstat as bK, type RoomCreateBody as bL, type RoomQuery as bM, type RoomRead as bN, type RunProgress as bO, type RunStats as bP, type RunStep as bQ, type RunWaitingOn as bR, SHAREPOINT_VENDORS as bS, type SSEEvent as bT, type SSEStreamCallbacks as bU, type SSEStreamResult as bV, STEP_FIELD_OPTION_TONES as bW, STOP_ID_WAIT_MS as bX, STOP_REPEAT_WINDOW_MS as bY, SUPPORTED_EXTENSIONS as bZ, type ScopedTarget as b_, type OutputItemDone as ba, type OverlayItem as bb, type OverlayLayerName as bc, PRESENCE_KINDS as bd, PROMPT_CONTEXT_CHARS as be, type ParsedSlashCommand as bf, type PendingAuthResponse as bg, type PersonKey as bh, PlanStepsError as bi, type PlanWorkRequest as bj, type ProductResponse as bk, type ProjectAddonKind as bl, type ProjectAddonSettingsRequest as bm, type ProjectBudget as bn, type ProjectCheckoutRequest as bo, type ProjectConversationUsageResponse as bp, type ProjectCreateOptions as bq, type ProjectDetails as br, type ProjectEventKind as bs, type ProjectEventResponse as bt, type ProjectInvoicesResponse as bu, type ProjectNextPeriodAddonsRequest as bv, type ProjectPlanChangeRequest as bw, type ProjectQuoteRequest as bx, type ProjectResponse as by, type ProjectUpdateRequest as bz, type ActivityResponse as c, type WorkflowResponse as c$, type SendBack as c0, type ShareRead as c1, type ShareRole as c2, type SkillSummary as c3, type SkippedFile as c4, type SlackConnectionStatus as c5, type StepActionRequest as c6, type StepActivityEvent as c7, type StepAssignee as c8, type StepDisplay as c9, type TagScope as cA, type TagTreeRow as cB, type TaskPlan as cC, type TaskPlanStep as cD, type TaxQuoteResponse as cE, type Thread as cF, type ThreadsResponse as cG, type TimeSuggestion as cH, type TurnRequest as cI, type UpdateConversationRequest as cJ, type UpdateFactRequest as cK, type UpdateWorkflowRequest as cL, type UploadBatchResult as cM, type UploadDirectOptions as cN, type UploadDirectResult as cO, type UploadDocumentsOptions as cP, type UploadOptions as cQ, type UploadProgressListener as cR, type UploadResult as cS, type UsageBreakdown as cT, type UserConnectorEntry as cU, type UserDailyUsageResponse as cV, type UserInfo as cW, WebSocketAuthError as cX, type WeeklyHoursSpec as cY, type WorkStatus as cZ, type WorkflowAuthMode as c_, type StepField as ca, type StepFieldOption as cb, type StepFieldOptionTone as cc, type StepKind as cd, type StepPhase as ce, type StepSignal as cf, type StepSignalWhen as cg, type StepState as ch, type StepStatus as ci, type SubagentBranchRecord as cj, type SubagentLaneInfo as ck, type SubmitBackgroundQueryOptions as cl, type SubscribeParams as cm, type SyncTriggerResult as cn, TAG_KINDS as co, TAG_NESTING_MAX_DEPTH as cp, type TagChange as cq, type TagFieldDefinition as cr, type TagGroup as cs, type TagKind as ct, type TagKindField as cu, type TagKindSchema as cv, type TagLinks as cw, type TagListQuery as cx, type TagNode as cy, type TagResponse as cz, Arbi as d, formatUserName as d$, type WorkflowRunHistoryResponse as d0, type WorkflowRunResponse as d1, type WorkspaceContext as d2, type WorkspaceOpenResponse as d3, type WsConnection as d4, account as d5, agentconfig as d6, agents as d7, appendTranscriptionHints as d8, assistant as d9, createAuthenticatedClient as dA, createDocumentWaiter as dB, createIndexAssigner as dC, databases as dD, defaultKindForFormat as dE, doctags as dF, documents as dG, estimateDraftTokens as dH, extractDocumentIdsFromMessages as dI, extractFactIdsFromMessages as dJ, extractSubagentLanes as dK, facts as dL, files as dM, filterDocumentTags as dN, filterSkills as dO, findLeafForTaskMessage as dP, findMainSiblingLeaf as dQ, findReplyTarget as dR, findSubagentRunId as dS, flattenTagTree as dT, formatAgentStepLabel as dU, formatFileSize as dV, formatGbp as dW, formatGbpPerMillionTokens as dX, formatItemLabel as dY, formatStreamSummary as dZ, formatTokens as d_, authenticatedFetch as da, bookPublicSlot as db, buildCitationChunkData as dc, buildDocNameMap as dd, buildDocumentTools as de, buildFactsContextTool as df, buildRetrievalChunkTool as dg, buildRetrievalFullContextTool as dh, buildRetrievalTocTool as di, buildTurnRequest as dj, calendar as dk, calls as dl, canTagHaveParent as dm, cancelPublicBooking as dn, chats as dp, computeRunStats as dq, connectErrorMessage as dr, connectWebSocket as ds, connectWithReconnect as dt, connectors as du, consumeSSEStream as dv, contacts as dw, continuityPrompt as dx, conversations as dy, countCitations as dz, ArbiApiError as e, searchChunks as e$, formatWorkspaceChoices as e0, formatWsMessage as e1, generateEncryptedWorkspaceKey as e2, generateNewWorkspaceKey as e3, getAgentStepLabel as e4, getAttachableRunId as e5, getChildTags as e6, getContextRemainingPercent as e7, getContextUsedPercent as e8, getContextUsedTokens as e9, isSharePointVendor as eA, isSharedSkill as eB, isTraceItem as eC, mail as eD, mergeAgentSteps as eE, notifications as eF, parseSSEEvents as eG, parseSlashCommand as eH, parseSlashTokenInProgress as eI, performPasswordLogin as eJ, performSigningKeyLogin as eK, performSsoDeviceFlowLogin as eL, pickMainThread as eM, profile as eN, progressFetch as eO, projects as eP, quotaExceededFrom as eQ, quotaFromStreamError as eR, reduceOutputItem as eS, refusalReason as eT, requireData as eU, requireOk as eV, resolveAuth as eW, resolveCitations as eX, resolveSummary as eY, resolveWorkspace as eZ, responses as e_, getCurrentStep as ea, getEligibleParentTags as eb, getErrorCode as ec, getErrorMessage as ed, getPublicBookingPage as ee, getRawWorkspaceKey as ef, getRunToAttach as eg, getRunToCancel as eh, getStepDisplay as ei, getStepTool as ej, getSubagentBranchRecord as ek, getTagDescendantIds as el, health as em, houseTemplate as en, hydrateAgentSteps as eo, identity as ep, identityErrorCode as eq, isAnnotationTag as er, isConnectorVendorVisible as es, isDriveSyncVendor as et, isEntityTag as eu, isFlatKind as ev, isLabelTag as ew, isMailboxSyncVendor as ex, isNearAiUsageBudget as ey, isPresenceTag as ez, ArbiError as f, selectFullContextDocument as f0, selectWorkspace as f1, selectWorkspaceById as f2, sessions as f3, settings as f4, signatureRequests as f5, sliceToSubagentThread as f6, streamSSE as f7, stripCitationMarkdown as f8, subagentJobLabel as f9, summarizeCitations as fa, tagUseCount as fb, tags as fc, tagsForScope as fd, tagsOfGroup as fe, topLevelAgentSteps as ff, uploadSkill as fg, usdToGbp as fh, work as fi, workflowSteps as fj, workflows as fk, workspaces as fl, wouldCreateTagCycle as fm, type ArbiHostSession as g, type ArbiOptions as h, ArbiSessionExpiredError as i, ArbiWorkspaceChangedError as j, ArbiWorkspaceSupersededError as k, type AskHandlers as l, type AskRequest as m, type AttendeeRead as n, type AuthContext as o, type AuthHeaders as p, type AuthMode as q, type AuthenticatedClient as r, type BookingPage as s, type BookingPageWriteBody as t, type BookingRequestBody as u, type BridgeTokensOptions as v, type CalDavProfile as w, type CalendarAccount as x, type CalendarAccountKind as y, type CalendarCreateBody as z };
|
|
17075
|
+
export { type ConfigStore as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarEvent as D, type CalendarKeys as E, type CalendarRead as F, type CalendarSettings as G, type CalendarSettingsBody as H, type CalendarUpdate as I, type CalendarWindow as J, CallApiError as K, type ChatAttachmentFile as L, type ChatAttachmentInput as M, type ChatCryptoContext as N, type ChatKeyRing as O, type ChatKind as P, type ChatMemberKey as Q, type ChatMemberResponse as R, type ChatMessage as S, type ChatMessageResponse as T, type ChatResponse as U, type ChatSession as V, type CitationSummary as W, type CitationToolSources as X, type CliConfig as Y, type CliCredentials as Z, type CommandDescriptor as _, type AccountSyncResult as a, type LinkedRun as a$, type ConnectOptions as a0, type ConnectorCatalogEntry as a1, type ConnectorFolder as a2, type ConnectorSyncProgress as a3, type ConnectorSyncStatus as a4, type ConnectorVendorKey as a5, type ConnectorVisibilitySettings as a6, type ContextUsage as a7, type ConversationResponse as a8, type ConversationUsageResponse as a9, type DocumentWaiterOptions as aA, type DriveSyncProgress as aB, type DriveSyncSummary as aC, DuplicateContactError as aD, ENTITY_KINDS as aE, type EditScope as aF, type EntityKind as aG, type EventCreateBody as aH, type EventPatchBody as aI, FLAT_TAG_KINDS as aJ, type FactResponse as aK, type FactSearchRequest as aL, type FactSearchResponse as aM, type FindTimeParams as aN, type FormattedWsMessage as aO, type FreeBusyEntry as aP, type FullContextSelection as aQ, GOOGLE_VENDORS as aR, type HolidayCountry as aS, type HouseTemplateCandidate as aT, IMANAGE_VENDORS as aU, type IdentityErrorCode as aV, type IdentityPurchase as aW, type IdentityState as aX, type IdentityStatus as aY, type ImportResult as aZ, type InvitationRead as a_, type CreateFactRequest as aa, type CreateFactsRequest as ab, type CreateWorkRequest as ac, type CreateWorkflowRequest as ad, DEFAULT_AI_USD_PER_GBP as ae, DOC_TERMINAL_STATUSES as af, DRIVE_SYNC_VENDORS as ag, type Database as ah, type DatabaseColumn as ai, type DatabaseColumnWrite as aj, type DatabaseImportResult as ak, type DatabaseRow as al, type DatabaseRowPage as am, type DatabaseRowsQuery as an, type DateTimeSpec as ao, type DecryptedChat as ap, type DecryptedChatMessage as aq, type DeploymentHouseTemplate as ar, type DocInfo as as, type DocInfoMap as at, type DocNameMap as au, type DocumentAutomationAction as av, type DocumentListFields as aw, type DocumentListOrder as ax, type DocumentSelector as ay, type DocumentWaiter as az, type ActivityKind as b, type SearchChunk as b$, type ListAllOptions as b0, type ListEventsParams as b1, type ListFactsOptions as b2, type ListPaginatedOptions as b3, MAILBOX_SYNC_VENDORS as b4, MAX_RETRIEVE_DOC_IDS as b5, MICROSOFT_VENDORS as b6, type MailAttachment as b7, type MessageLevel as b8, type OAuthAccountKind as b9, type ProjectUsageResponse as bA, PublicBookingError as bB, type PublicBookingPage as bC, type QuotaExceeded as bD, type RaisedSignal as bE, type ReconnectOptions as bF, type ReconnectableWsConnection as bG, type ResolvedCitation as bH, type ResolvedRecipient as bI, type RespondParams as bJ, type RespondPartstat as bK, type RoomCreateBody as bL, type RoomQuery as bM, type RoomRead as bN, type RunProgress as bO, type RunStats as bP, type RunStep as bQ, type RunWaitingOn as bR, SHAREPOINT_VENDORS as bS, type SSEEvent as bT, type SSEStreamCallbacks as bU, type SSEStreamResult as bV, STEP_FIELD_OPTION_TONES as bW, STOP_ID_WAIT_MS as bX, STOP_REPEAT_WINDOW_MS as bY, SUPPORTED_EXTENSIONS as bZ, type ScopedTarget as b_, type OutputItemDone as ba, type OverlayItem as bb, type OverlayLayerName as bc, PRESENCE_KINDS as bd, PROMPT_CONTEXT_CHARS as be, type ParsedSlashCommand as bf, type PendingAuthResponse as bg, type PersonKey as bh, PlanStepsError as bi, type PlanWorkRequest as bj, type ProductResponse as bk, type ProjectAddonKind as bl, type ProjectAddonSettingsRequest as bm, type ProjectBudget as bn, type ProjectCheckoutRequest as bo, type ProjectConversationUsageResponse as bp, type ProjectCreateOptions as bq, type ProjectDetails as br, type ProjectEventKind as bs, type ProjectEventResponse as bt, type ProjectInvoicesResponse as bu, type ProjectNextPeriodAddonsRequest as bv, type ProjectPlanChangeRequest as bw, type ProjectQuoteRequest as bx, type ProjectResponse as by, type ProjectUpdateRequest as bz, type ActivityResponse as c, type WorkflowResponse as c$, type SendBack as c0, type ShareRead as c1, type ShareRole as c2, type SkillSummary as c3, type SkippedFile as c4, type SlackConnectionStatus as c5, type StepActionRequest as c6, type StepActivityEvent as c7, type StepAssignee as c8, type StepDisplay as c9, type TagScope as cA, type TagTreeRow as cB, type TaskPlan as cC, type TaskPlanStep as cD, type TaxQuoteResponse as cE, type Thread as cF, type ThreadsResponse as cG, type TimeSuggestion as cH, type TurnRequest as cI, type UpdateConversationRequest as cJ, type UpdateFactRequest as cK, type UpdateWorkflowRequest as cL, type UploadBatchResult as cM, type UploadDirectOptions as cN, type UploadDirectResult as cO, type UploadDocumentsOptions as cP, type UploadOptions as cQ, type UploadProgressListener as cR, type UploadResult as cS, type UsageBreakdown as cT, type UserConnectorEntry as cU, type UserDailyUsageResponse as cV, type UserInfo as cW, WebSocketAuthError as cX, type WeeklyHoursSpec as cY, type WorkStatus as cZ, type WorkflowAuthMode as c_, type StepField as ca, type StepFieldOption as cb, type StepFieldOptionTone as cc, type StepKind as cd, type StepPhase as ce, type StepSignal as cf, type StepSignalWhen as cg, type StepState as ch, type StepStatus as ci, type SubagentBranchRecord as cj, type SubagentLaneInfo as ck, type SubmitBackgroundQueryOptions as cl, type SubscribeParams as cm, type SyncTriggerResult as cn, TAG_KINDS as co, TAG_NESTING_MAX_DEPTH as cp, type TagChange as cq, type TagFieldDefinition as cr, type TagGroup as cs, type TagKind as ct, type TagKindField as cu, type TagKindSchema as cv, type TagLinks as cw, type TagListQuery as cx, type TagNode as cy, type TagResponse as cz, Arbi as d, formatWorkspaceChoices as d$, type WorkflowRunHistoryResponse as d0, type WorkflowRunResponse as d1, type WorkspaceContext as d2, type WorkspaceOpenResponse as d3, type WsConnection as d4, account as d5, agentconfig as d6, agents as d7, appendTranscriptionHints as d8, assistant as d9, createDocumentWaiter as dA, createIndexAssigner as dB, databases as dC, defaultKindForFormat as dD, doctags as dE, documents as dF, estimateDraftTokens as dG, extractDocumentIdsFromMessages as dH, extractFactIdsFromMessages as dI, extractSubagentLanes as dJ, facts as dK, files as dL, filterDocumentTags as dM, filterSkills as dN, findLeafForTaskMessage as dO, findMainSiblingLeaf as dP, findReplyTarget as dQ, findSubagentRunId as dR, flattenTagTree as dS, formatAgentStepLabel as dT, formatFileSize as dU, formatGbp as dV, formatGbpPerMillionTokens as dW, formatItemLabel as dX, formatStreamSummary as dY, formatTokens as dZ, formatUserName as d_, authenticatedFetch as da, bookPublicSlot as db, buildCitationChunkData as dc, buildDocNameMap as dd, buildDocumentTools as de, buildFactsContextTool as df, buildRetrievalChunkTool as dg, buildRetrievalFullContextTool as dh, buildRetrievalTocTool as di, buildTurnRequest as dj, calendar as dk, calls as dl, canTagHaveParent as dm, cancelPublicBooking as dn, chats as dp, computeRunStats as dq, connectErrorMessage as dr, connectWebSocket as ds, connectWithReconnect as dt, connectors as du, contacts as dv, continuityPrompt as dw, conversations as dx, countCitations as dy, createAuthenticatedClient as dz, ArbiApiError as e, selectFullContextDocument as e$, formatWsMessage as e0, generateEncryptedWorkspaceKey as e1, generateNewWorkspaceKey as e2, getAgentStepLabel as e3, getAttachableRunId as e4, getChildTags as e5, getContextRemainingPercent as e6, getContextUsedPercent as e7, getContextUsedTokens as e8, getCurrentStep as e9, isSharedSkill as eA, isTraceItem as eB, mail as eC, mergeAgentSteps as eD, notifications as eE, parseSSEEvents as eF, parseSlashCommand as eG, parseSlashTokenInProgress as eH, performPasswordLogin as eI, performSigningKeyLogin as eJ, performSsoDeviceFlowLogin as eK, pickMainThread as eL, profile as eM, progressFetch as eN, projects as eO, quotaExceededFrom as eP, quotaFromStreamError as eQ, reduceOutputItem as eR, refusalReason as eS, requireData as eT, requireOk as eU, resolveAuth as eV, resolveCitations as eW, resolveSummary as eX, resolveWorkspace as eY, responses as eZ, searchChunks as e_, getEligibleParentTags as ea, getErrorCode as eb, getErrorMessage as ec, getPublicBookingPage as ed, getRawWorkspaceKey as ee, getRunToAttach as ef, getRunToCancel as eg, getStepDisplay as eh, getStepTool as ei, getSubagentBranchRecord as ej, getTagDescendantIds as ek, health as el, houseTemplate as em, hydrateAgentSteps as en, identity as eo, identityErrorCode as ep, isAnnotationTag as eq, isConnectorVendorVisible as er, isDriveSyncVendor as es, isEntityTag as et, isFlatKind as eu, isLabelTag as ev, isMailboxSyncVendor as ew, isNearAiUsageBudget as ex, isPresenceTag as ey, isSharePointVendor as ez, ArbiError as f, selectWorkspace as f0, selectWorkspaceById as f1, sessions as f2, settings as f3, signatureRequests as f4, sliceToSubagentThread as f5, streamSSE as f6, stripCitationMarkdown as f7, subagentJobLabel as f8, summarizeCitations as f9, tagUseCount as fa, tags as fb, tagsForScope as fc, tagsOfGroup as fd, topLevelAgentSteps as fe, uploadSkill as ff, usdToGbp as fg, work as fh, workflowSteps as fi, workflows as fj, workspaces as fk, wouldCreateTagCycle as fl, type ArbiHostSession as g, type ArbiOptions as h, ArbiSessionExpiredError as i, ArbiWorkspaceChangedError as j, ArbiWorkspaceSupersededError as k, type AskHandlers as l, type AskRequest as m, type AttendeeRead as n, type AuthContext as o, type AuthHeaders as p, type AuthMode as q, type AuthenticatedClient as r, type BookingPage as s, type BookingPageWriteBody as t, type BookingRequestBody as u, type BridgeTokensOptions as v, type CalDavProfile as w, type CalendarAccount as x, type CalendarAccountKind as y, type CalendarCreateBody as z };
|
|
@@ -522,11 +522,6 @@ declare function streamSSE(response: Response, callbacks?: SSEStreamCallbacks):
|
|
|
522
522
|
* Returns empty string if there's nothing to report.
|
|
523
523
|
*/
|
|
524
524
|
declare function formatStreamSummary(result: SSEStreamResult, elapsedTime?: number | null): string;
|
|
525
|
-
/**
|
|
526
|
-
* Consume an entire SSE stream without streaming callbacks.
|
|
527
|
-
* Convenience alias for `streamSSE(response)`.
|
|
528
|
-
*/
|
|
529
|
-
declare const consumeSSEStream: typeof streamSSE;
|
|
530
525
|
|
|
531
526
|
/**
|
|
532
527
|
* WebSocket connection manager.
|
|
@@ -1988,6 +1983,20 @@ declare function moveWorkspaceToProject(arbi: ArbiClient, workspaceExtId: string
|
|
|
1988
1983
|
project_name: string;
|
|
1989
1984
|
moved: boolean;
|
|
1990
1985
|
}>;
|
|
1986
|
+
type WorkspaceArchive = components['schemas']['WorkspaceArchiveRead'];
|
|
1987
|
+
/**
|
|
1988
|
+
* A workspace's archive state: whether this deployment archives, whether the caller may, the
|
|
1989
|
+
* status (`live`, `archiving`, `archived`, `restoring`), bytes per tier and, while archived, what
|
|
1990
|
+
* unarchiving costs.
|
|
1991
|
+
*/
|
|
1992
|
+
declare function getWorkspaceArchive(arbi: ArbiClient, workspaceExtId: string): Promise<WorkspaceArchive>;
|
|
1993
|
+
/** Archive a workspace (its owner or its project's owner): closed for everyone until unarchived. */
|
|
1994
|
+
declare function archiveWorkspace(arbi: ArbiClient, workspaceExtId: string): Promise<WorkspaceArchive>;
|
|
1995
|
+
/**
|
|
1996
|
+
* Start unarchiving a workspace: its files come back and its documents are re-indexed (AI usage).
|
|
1997
|
+
* Refused up front when the project's AI budget cannot cover the re-index.
|
|
1998
|
+
*/
|
|
1999
|
+
declare function unarchiveWorkspace(arbi: ArbiClient, workspaceExtId: string): Promise<WorkspaceArchive>;
|
|
1991
2000
|
declare function deleteWorkspaces(arbi: ArbiClient, workspaceIds: string[]): Promise<void>;
|
|
1992
2001
|
declare function updateWorkspace(arbi: ArbiClient, body: WorkspaceUpdateRequest$1): Promise<{
|
|
1993
2002
|
external_id: string;
|
|
@@ -2328,10 +2337,12 @@ type workspaces_TransferPlan = TransferPlan;
|
|
|
2328
2337
|
type workspaces_TransferScope = TransferScope;
|
|
2329
2338
|
type workspaces_TransferStatus = TransferStatus;
|
|
2330
2339
|
type workspaces_WorkspaceActivityOptions = WorkspaceActivityOptions;
|
|
2340
|
+
type workspaces_WorkspaceArchive = WorkspaceArchive;
|
|
2331
2341
|
type workspaces_WorkspaceExport = WorkspaceExport;
|
|
2332
2342
|
declare const workspaces_addWorkspaceMembers: typeof addWorkspaceMembers;
|
|
2333
2343
|
declare const workspaces_addWorkspaceMembersBody: typeof addWorkspaceMembersBody;
|
|
2334
2344
|
declare const workspaces_addWorkspaceUsers: typeof addWorkspaceUsers;
|
|
2345
|
+
declare const workspaces_archiveWorkspace: typeof archiveWorkspace;
|
|
2335
2346
|
declare const workspaces_cancelWorkspaceTransfer: typeof cancelWorkspaceTransfer;
|
|
2336
2347
|
declare const workspaces_copyDocuments: typeof copyDocuments;
|
|
2337
2348
|
declare const workspaces_createWorkspace: typeof createWorkspace;
|
|
@@ -2339,6 +2350,7 @@ declare const workspaces_deleteWorkspaces: typeof deleteWorkspaces;
|
|
|
2339
2350
|
declare const workspaces_exportWorkspaceData: typeof exportWorkspaceData;
|
|
2340
2351
|
declare const workspaces_getWorkspaceAccessStatus: typeof getWorkspaceAccessStatus;
|
|
2341
2352
|
declare const workspaces_getWorkspaceActivity: typeof getWorkspaceActivity;
|
|
2353
|
+
declare const workspaces_getWorkspaceArchive: typeof getWorkspaceArchive;
|
|
2342
2354
|
declare const workspaces_getWorkspaceTransfer: typeof getWorkspaceTransfer;
|
|
2343
2355
|
declare const workspaces_grantTemporaryWorkspaceAccess: typeof grantTemporaryWorkspaceAccess;
|
|
2344
2356
|
declare const workspaces_listWorkspaceTransfers: typeof listWorkspaceTransfers;
|
|
@@ -2351,9 +2363,10 @@ declare const workspaces_removeWorkspaceUsers: typeof removeWorkspaceUsers;
|
|
|
2351
2363
|
declare const workspaces_resumeWorkspaceTransfer: typeof resumeWorkspaceTransfer;
|
|
2352
2364
|
declare const workspaces_setUserRole: typeof setUserRole;
|
|
2353
2365
|
declare const workspaces_startWorkspaceTransfer: typeof startWorkspaceTransfer;
|
|
2366
|
+
declare const workspaces_unarchiveWorkspace: typeof unarchiveWorkspace;
|
|
2354
2367
|
declare const workspaces_updateWorkspace: typeof updateWorkspace;
|
|
2355
2368
|
declare namespace workspaces {
|
|
2356
|
-
export { type workspaces_AddWorkspaceMembersRequest as AddWorkspaceMembersRequest, workspaces_EXTERNAL_ACCESS_SECONDS as EXTERNAL_ACCESS_SECONDS, type workspaces_TransferConflictPolicy as TransferConflictPolicy, type workspaces_TransferKind as TransferKind, type workspaces_TransferMode as TransferMode, type workspaces_TransferPlan as TransferPlan, type workspaces_TransferScope as TransferScope, type workspaces_TransferStatus as TransferStatus, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceExport as WorkspaceExport, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_cancelWorkspaceTransfer as cancelWorkspaceTransfer, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_exportWorkspaceData as exportWorkspaceData, workspaces_getWorkspaceAccessStatus as getWorkspaceAccessStatus, workspaces_getWorkspaceActivity as getWorkspaceActivity, workspaces_getWorkspaceTransfer as getWorkspaceTransfer, workspaces_grantTemporaryWorkspaceAccess as grantTemporaryWorkspaceAccess, workspaces_listWorkspaceTransfers as listWorkspaceTransfers, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_moveWorkspaceToProject as moveWorkspaceToProject, workspaces_planWorkspaceTransfer as planWorkspaceTransfer, workspaces_primeWorkspaceKey as primeWorkspaceKey, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_resumeWorkspaceTransfer as resumeWorkspaceTransfer, workspaces_setUserRole as setUserRole, workspaces_startWorkspaceTransfer as startWorkspaceTransfer, workspaces_updateWorkspace as updateWorkspace };
|
|
2369
|
+
export { type workspaces_AddWorkspaceMembersRequest as AddWorkspaceMembersRequest, workspaces_EXTERNAL_ACCESS_SECONDS as EXTERNAL_ACCESS_SECONDS, type workspaces_TransferConflictPolicy as TransferConflictPolicy, type workspaces_TransferKind as TransferKind, type workspaces_TransferMode as TransferMode, type workspaces_TransferPlan as TransferPlan, type workspaces_TransferScope as TransferScope, type workspaces_TransferStatus as TransferStatus, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_archiveWorkspace as archiveWorkspace, workspaces_cancelWorkspaceTransfer as cancelWorkspaceTransfer, workspaces_copyDocuments as copyDocuments, workspaces_createWorkspace as createWorkspace, workspaces_deleteWorkspaces as deleteWorkspaces, workspaces_exportWorkspaceData as exportWorkspaceData, workspaces_getWorkspaceAccessStatus as getWorkspaceAccessStatus, workspaces_getWorkspaceActivity as getWorkspaceActivity, workspaces_getWorkspaceArchive as getWorkspaceArchive, workspaces_getWorkspaceTransfer as getWorkspaceTransfer, workspaces_grantTemporaryWorkspaceAccess as grantTemporaryWorkspaceAccess, workspaces_listWorkspaceTransfers as listWorkspaceTransfers, workspaces_listWorkspaceUsers as listWorkspaceUsers, workspaces_listWorkspaces as listWorkspaces, workspaces_moveWorkspaceToProject as moveWorkspaceToProject, workspaces_planWorkspaceTransfer as planWorkspaceTransfer, workspaces_primeWorkspaceKey as primeWorkspaceKey, workspaces_removeWorkspaceUsers as removeWorkspaceUsers, workspaces_resumeWorkspaceTransfer as resumeWorkspaceTransfer, workspaces_setUserRole as setUserRole, workspaces_startWorkspaceTransfer as startWorkspaceTransfer, workspaces_unarchiveWorkspace as unarchiveWorkspace, workspaces_updateWorkspace as updateWorkspace };
|
|
2357
2370
|
}
|
|
2358
2371
|
|
|
2359
2372
|
/**
|
|
@@ -9761,6 +9774,48 @@ declare class Arbi {
|
|
|
9761
9774
|
documents_total: number;
|
|
9762
9775
|
} | null | undefined;
|
|
9763
9776
|
}>;
|
|
9777
|
+
/** A workspace's archive state (status, bytes per tier, the unarchive estimate). */
|
|
9778
|
+
archiveState: (workspaceId: string) => Promise<{
|
|
9779
|
+
workspace_ext_id: string;
|
|
9780
|
+
status: "live" | "archiving" | "archived" | "restoring";
|
|
9781
|
+
archived_at: string | null;
|
|
9782
|
+
documents_done: number;
|
|
9783
|
+
documents_total: number;
|
|
9784
|
+
can_manage: boolean;
|
|
9785
|
+
available: boolean;
|
|
9786
|
+
live_bytes: number;
|
|
9787
|
+
archived_bytes: number;
|
|
9788
|
+
error?: string | null;
|
|
9789
|
+
estimate?: components["schemas"]["UnarchiveEstimate"] | null;
|
|
9790
|
+
}>;
|
|
9791
|
+
/** Archive a workspace: closed for everyone until unarchived. */
|
|
9792
|
+
archive: (workspaceId: string) => Promise<{
|
|
9793
|
+
workspace_ext_id: string;
|
|
9794
|
+
status: "live" | "archiving" | "archived" | "restoring";
|
|
9795
|
+
archived_at: string | null;
|
|
9796
|
+
documents_done: number;
|
|
9797
|
+
documents_total: number;
|
|
9798
|
+
can_manage: boolean;
|
|
9799
|
+
available: boolean;
|
|
9800
|
+
live_bytes: number;
|
|
9801
|
+
archived_bytes: number;
|
|
9802
|
+
error?: string | null;
|
|
9803
|
+
estimate?: components["schemas"]["UnarchiveEstimate"] | null;
|
|
9804
|
+
}>;
|
|
9805
|
+
/** Start unarchiving a workspace (its documents are re-indexed). */
|
|
9806
|
+
unarchive: (workspaceId: string) => Promise<{
|
|
9807
|
+
workspace_ext_id: string;
|
|
9808
|
+
status: "live" | "archiving" | "archived" | "restoring";
|
|
9809
|
+
archived_at: string | null;
|
|
9810
|
+
documents_done: number;
|
|
9811
|
+
documents_total: number;
|
|
9812
|
+
can_manage: boolean;
|
|
9813
|
+
available: boolean;
|
|
9814
|
+
live_bytes: number;
|
|
9815
|
+
archived_bytes: number;
|
|
9816
|
+
error?: string | null;
|
|
9817
|
+
estimate?: components["schemas"]["UnarchiveEstimate"] | null;
|
|
9818
|
+
}>;
|
|
9764
9819
|
/** Move a workspace (open or not) to another project. */
|
|
9765
9820
|
moveToProject: (workspaceId: string, projectExtId: string) => Promise<{
|
|
9766
9821
|
workspace_ext_id: string;
|
|
@@ -17017,4 +17072,4 @@ declare function getAttachableRunId(messages: readonly RunMessage[]): string | n
|
|
|
17017
17072
|
*/
|
|
17018
17073
|
declare function getRunToAttach(localGeneration: LocalGeneration | undefined, messages: readonly RunMessage[]): string | null;
|
|
17019
17074
|
|
|
17020
|
-
export { type ConfigStore as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarEvent as D, type CalendarKeys as E, type CalendarRead as F, type CalendarSettings as G, type CalendarSettingsBody as H, type CalendarUpdate as I, type CalendarWindow as J, CallApiError as K, type ChatAttachmentFile as L, type ChatAttachmentInput as M, type ChatCryptoContext as N, type ChatKeyRing as O, type ChatKind as P, type ChatMemberKey as Q, type ChatMemberResponse as R, type ChatMessage as S, type ChatMessageResponse as T, type ChatResponse as U, type ChatSession as V, type CitationSummary as W, type CitationToolSources as X, type CliConfig as Y, type CliCredentials as Z, type CommandDescriptor as _, type AccountSyncResult as a, type LinkedRun as a$, type ConnectOptions as a0, type ConnectorCatalogEntry as a1, type ConnectorFolder as a2, type ConnectorSyncProgress as a3, type ConnectorSyncStatus as a4, type ConnectorVendorKey as a5, type ConnectorVisibilitySettings as a6, type ContextUsage as a7, type ConversationResponse as a8, type ConversationUsageResponse as a9, type DocumentWaiterOptions as aA, type DriveSyncProgress as aB, type DriveSyncSummary as aC, DuplicateContactError as aD, ENTITY_KINDS as aE, type EditScope as aF, type EntityKind as aG, type EventCreateBody as aH, type EventPatchBody as aI, FLAT_TAG_KINDS as aJ, type FactResponse as aK, type FactSearchRequest as aL, type FactSearchResponse as aM, type FindTimeParams as aN, type FormattedWsMessage as aO, type FreeBusyEntry as aP, type FullContextSelection as aQ, GOOGLE_VENDORS as aR, type HolidayCountry as aS, type HouseTemplateCandidate as aT, IMANAGE_VENDORS as aU, type IdentityErrorCode as aV, type IdentityPurchase as aW, type IdentityState as aX, type IdentityStatus as aY, type ImportResult as aZ, type InvitationRead as a_, type CreateFactRequest as aa, type CreateFactsRequest as ab, type CreateWorkRequest as ac, type CreateWorkflowRequest as ad, DEFAULT_AI_USD_PER_GBP as ae, DOC_TERMINAL_STATUSES as af, DRIVE_SYNC_VENDORS as ag, type Database as ah, type DatabaseColumn as ai, type DatabaseColumnWrite as aj, type DatabaseImportResult as ak, type DatabaseRow as al, type DatabaseRowPage as am, type DatabaseRowsQuery as an, type DateTimeSpec as ao, type DecryptedChat as ap, type DecryptedChatMessage as aq, type DeploymentHouseTemplate as ar, type DocInfo as as, type DocInfoMap as at, type DocNameMap as au, type DocumentAutomationAction as av, type DocumentListFields as aw, type DocumentListOrder as ax, type DocumentSelector as ay, type DocumentWaiter as az, type ActivityKind as b, type SearchChunk as b$, type ListAllOptions as b0, type ListEventsParams as b1, type ListFactsOptions as b2, type ListPaginatedOptions as b3, MAILBOX_SYNC_VENDORS as b4, MAX_RETRIEVE_DOC_IDS as b5, MICROSOFT_VENDORS as b6, type MailAttachment as b7, type MessageLevel as b8, type OAuthAccountKind as b9, type ProjectUsageResponse as bA, PublicBookingError as bB, type PublicBookingPage as bC, type QuotaExceeded as bD, type RaisedSignal as bE, type ReconnectOptions as bF, type ReconnectableWsConnection as bG, type ResolvedCitation as bH, type ResolvedRecipient as bI, type RespondParams as bJ, type RespondPartstat as bK, type RoomCreateBody as bL, type RoomQuery as bM, type RoomRead as bN, type RunProgress as bO, type RunStats as bP, type RunStep as bQ, type RunWaitingOn as bR, SHAREPOINT_VENDORS as bS, type SSEEvent as bT, type SSEStreamCallbacks as bU, type SSEStreamResult as bV, STEP_FIELD_OPTION_TONES as bW, STOP_ID_WAIT_MS as bX, STOP_REPEAT_WINDOW_MS as bY, SUPPORTED_EXTENSIONS as bZ, type ScopedTarget as b_, type OutputItemDone as ba, type OverlayItem as bb, type OverlayLayerName as bc, PRESENCE_KINDS as bd, PROMPT_CONTEXT_CHARS as be, type ParsedSlashCommand as bf, type PendingAuthResponse as bg, type PersonKey as bh, PlanStepsError as bi, type PlanWorkRequest as bj, type ProductResponse as bk, type ProjectAddonKind as bl, type ProjectAddonSettingsRequest as bm, type ProjectBudget as bn, type ProjectCheckoutRequest as bo, type ProjectConversationUsageResponse as bp, type ProjectCreateOptions as bq, type ProjectDetails as br, type ProjectEventKind as bs, type ProjectEventResponse as bt, type ProjectInvoicesResponse as bu, type ProjectNextPeriodAddonsRequest as bv, type ProjectPlanChangeRequest as bw, type ProjectQuoteRequest as bx, type ProjectResponse as by, type ProjectUpdateRequest as bz, type ActivityResponse as c, type WorkflowResponse as c$, type SendBack as c0, type ShareRead as c1, type ShareRole as c2, type SkillSummary as c3, type SkippedFile as c4, type SlackConnectionStatus as c5, type StepActionRequest as c6, type StepActivityEvent as c7, type StepAssignee as c8, type StepDisplay as c9, type TagScope as cA, type TagTreeRow as cB, type TaskPlan as cC, type TaskPlanStep as cD, type TaxQuoteResponse as cE, type Thread as cF, type ThreadsResponse as cG, type TimeSuggestion as cH, type TurnRequest as cI, type UpdateConversationRequest as cJ, type UpdateFactRequest as cK, type UpdateWorkflowRequest as cL, type UploadBatchResult as cM, type UploadDirectOptions as cN, type UploadDirectResult as cO, type UploadDocumentsOptions as cP, type UploadOptions as cQ, type UploadProgressListener as cR, type UploadResult as cS, type UsageBreakdown as cT, type UserConnectorEntry as cU, type UserDailyUsageResponse as cV, type UserInfo as cW, WebSocketAuthError as cX, type WeeklyHoursSpec as cY, type WorkStatus as cZ, type WorkflowAuthMode as c_, type StepField as ca, type StepFieldOption as cb, type StepFieldOptionTone as cc, type StepKind as cd, type StepPhase as ce, type StepSignal as cf, type StepSignalWhen as cg, type StepState as ch, type StepStatus as ci, type SubagentBranchRecord as cj, type SubagentLaneInfo as ck, type SubmitBackgroundQueryOptions as cl, type SubscribeParams as cm, type SyncTriggerResult as cn, TAG_KINDS as co, TAG_NESTING_MAX_DEPTH as cp, type TagChange as cq, type TagFieldDefinition as cr, type TagGroup as cs, type TagKind as ct, type TagKindField as cu, type TagKindSchema as cv, type TagLinks as cw, type TagListQuery as cx, type TagNode as cy, type TagResponse as cz, Arbi as d, formatUserName as d$, type WorkflowRunHistoryResponse as d0, type WorkflowRunResponse as d1, type WorkspaceContext as d2, type WorkspaceOpenResponse as d3, type WsConnection as d4, account as d5, agentconfig as d6, agents as d7, appendTranscriptionHints as d8, assistant as d9, createAuthenticatedClient as dA, createDocumentWaiter as dB, createIndexAssigner as dC, databases as dD, defaultKindForFormat as dE, doctags as dF, documents as dG, estimateDraftTokens as dH, extractDocumentIdsFromMessages as dI, extractFactIdsFromMessages as dJ, extractSubagentLanes as dK, facts as dL, files as dM, filterDocumentTags as dN, filterSkills as dO, findLeafForTaskMessage as dP, findMainSiblingLeaf as dQ, findReplyTarget as dR, findSubagentRunId as dS, flattenTagTree as dT, formatAgentStepLabel as dU, formatFileSize as dV, formatGbp as dW, formatGbpPerMillionTokens as dX, formatItemLabel as dY, formatStreamSummary as dZ, formatTokens as d_, authenticatedFetch as da, bookPublicSlot as db, buildCitationChunkData as dc, buildDocNameMap as dd, buildDocumentTools as de, buildFactsContextTool as df, buildRetrievalChunkTool as dg, buildRetrievalFullContextTool as dh, buildRetrievalTocTool as di, buildTurnRequest as dj, calendar as dk, calls as dl, canTagHaveParent as dm, cancelPublicBooking as dn, chats as dp, computeRunStats as dq, connectErrorMessage as dr, connectWebSocket as ds, connectWithReconnect as dt, connectors as du, consumeSSEStream as dv, contacts as dw, continuityPrompt as dx, conversations as dy, countCitations as dz, ArbiApiError as e, searchChunks as e$, formatWorkspaceChoices as e0, formatWsMessage as e1, generateEncryptedWorkspaceKey as e2, generateNewWorkspaceKey as e3, getAgentStepLabel as e4, getAttachableRunId as e5, getChildTags as e6, getContextRemainingPercent as e7, getContextUsedPercent as e8, getContextUsedTokens as e9, isSharePointVendor as eA, isSharedSkill as eB, isTraceItem as eC, mail as eD, mergeAgentSteps as eE, notifications as eF, parseSSEEvents as eG, parseSlashCommand as eH, parseSlashTokenInProgress as eI, performPasswordLogin as eJ, performSigningKeyLogin as eK, performSsoDeviceFlowLogin as eL, pickMainThread as eM, profile as eN, progressFetch as eO, projects as eP, quotaExceededFrom as eQ, quotaFromStreamError as eR, reduceOutputItem as eS, refusalReason as eT, requireData as eU, requireOk as eV, resolveAuth as eW, resolveCitations as eX, resolveSummary as eY, resolveWorkspace as eZ, responses as e_, getCurrentStep as ea, getEligibleParentTags as eb, getErrorCode as ec, getErrorMessage as ed, getPublicBookingPage as ee, getRawWorkspaceKey as ef, getRunToAttach as eg, getRunToCancel as eh, getStepDisplay as ei, getStepTool as ej, getSubagentBranchRecord as ek, getTagDescendantIds as el, health as em, houseTemplate as en, hydrateAgentSteps as eo, identity as ep, identityErrorCode as eq, isAnnotationTag as er, isConnectorVendorVisible as es, isDriveSyncVendor as et, isEntityTag as eu, isFlatKind as ev, isLabelTag as ew, isMailboxSyncVendor as ex, isNearAiUsageBudget as ey, isPresenceTag as ez, ArbiError as f, selectFullContextDocument as f0, selectWorkspace as f1, selectWorkspaceById as f2, sessions as f3, settings as f4, signatureRequests as f5, sliceToSubagentThread as f6, streamSSE as f7, stripCitationMarkdown as f8, subagentJobLabel as f9, summarizeCitations as fa, tagUseCount as fb, tags as fc, tagsForScope as fd, tagsOfGroup as fe, topLevelAgentSteps as ff, uploadSkill as fg, usdToGbp as fh, work as fi, workflowSteps as fj, workflows as fk, workspaces as fl, wouldCreateTagCycle as fm, type ArbiHostSession as g, type ArbiOptions as h, ArbiSessionExpiredError as i, ArbiWorkspaceChangedError as j, ArbiWorkspaceSupersededError as k, type AskHandlers as l, type AskRequest as m, type AttendeeRead as n, type AuthContext as o, type AuthHeaders as p, type AuthMode as q, type AuthenticatedClient as r, type BookingPage as s, type BookingPageWriteBody as t, type BookingRequestBody as u, type BridgeTokensOptions as v, type CalDavProfile as w, type CalendarAccount as x, type CalendarAccountKind as y, type CalendarCreateBody as z };
|
|
17075
|
+
export { type ConfigStore as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type CalDavConnectBody as C, type CalendarEvent as D, type CalendarKeys as E, type CalendarRead as F, type CalendarSettings as G, type CalendarSettingsBody as H, type CalendarUpdate as I, type CalendarWindow as J, CallApiError as K, type ChatAttachmentFile as L, type ChatAttachmentInput as M, type ChatCryptoContext as N, type ChatKeyRing as O, type ChatKind as P, type ChatMemberKey as Q, type ChatMemberResponse as R, type ChatMessage as S, type ChatMessageResponse as T, type ChatResponse as U, type ChatSession as V, type CitationSummary as W, type CitationToolSources as X, type CliConfig as Y, type CliCredentials as Z, type CommandDescriptor as _, type AccountSyncResult as a, type LinkedRun as a$, type ConnectOptions as a0, type ConnectorCatalogEntry as a1, type ConnectorFolder as a2, type ConnectorSyncProgress as a3, type ConnectorSyncStatus as a4, type ConnectorVendorKey as a5, type ConnectorVisibilitySettings as a6, type ContextUsage as a7, type ConversationResponse as a8, type ConversationUsageResponse as a9, type DocumentWaiterOptions as aA, type DriveSyncProgress as aB, type DriveSyncSummary as aC, DuplicateContactError as aD, ENTITY_KINDS as aE, type EditScope as aF, type EntityKind as aG, type EventCreateBody as aH, type EventPatchBody as aI, FLAT_TAG_KINDS as aJ, type FactResponse as aK, type FactSearchRequest as aL, type FactSearchResponse as aM, type FindTimeParams as aN, type FormattedWsMessage as aO, type FreeBusyEntry as aP, type FullContextSelection as aQ, GOOGLE_VENDORS as aR, type HolidayCountry as aS, type HouseTemplateCandidate as aT, IMANAGE_VENDORS as aU, type IdentityErrorCode as aV, type IdentityPurchase as aW, type IdentityState as aX, type IdentityStatus as aY, type ImportResult as aZ, type InvitationRead as a_, type CreateFactRequest as aa, type CreateFactsRequest as ab, type CreateWorkRequest as ac, type CreateWorkflowRequest as ad, DEFAULT_AI_USD_PER_GBP as ae, DOC_TERMINAL_STATUSES as af, DRIVE_SYNC_VENDORS as ag, type Database as ah, type DatabaseColumn as ai, type DatabaseColumnWrite as aj, type DatabaseImportResult as ak, type DatabaseRow as al, type DatabaseRowPage as am, type DatabaseRowsQuery as an, type DateTimeSpec as ao, type DecryptedChat as ap, type DecryptedChatMessage as aq, type DeploymentHouseTemplate as ar, type DocInfo as as, type DocInfoMap as at, type DocNameMap as au, type DocumentAutomationAction as av, type DocumentListFields as aw, type DocumentListOrder as ax, type DocumentSelector as ay, type DocumentWaiter as az, type ActivityKind as b, type SearchChunk as b$, type ListAllOptions as b0, type ListEventsParams as b1, type ListFactsOptions as b2, type ListPaginatedOptions as b3, MAILBOX_SYNC_VENDORS as b4, MAX_RETRIEVE_DOC_IDS as b5, MICROSOFT_VENDORS as b6, type MailAttachment as b7, type MessageLevel as b8, type OAuthAccountKind as b9, type ProjectUsageResponse as bA, PublicBookingError as bB, type PublicBookingPage as bC, type QuotaExceeded as bD, type RaisedSignal as bE, type ReconnectOptions as bF, type ReconnectableWsConnection as bG, type ResolvedCitation as bH, type ResolvedRecipient as bI, type RespondParams as bJ, type RespondPartstat as bK, type RoomCreateBody as bL, type RoomQuery as bM, type RoomRead as bN, type RunProgress as bO, type RunStats as bP, type RunStep as bQ, type RunWaitingOn as bR, SHAREPOINT_VENDORS as bS, type SSEEvent as bT, type SSEStreamCallbacks as bU, type SSEStreamResult as bV, STEP_FIELD_OPTION_TONES as bW, STOP_ID_WAIT_MS as bX, STOP_REPEAT_WINDOW_MS as bY, SUPPORTED_EXTENSIONS as bZ, type ScopedTarget as b_, type OutputItemDone as ba, type OverlayItem as bb, type OverlayLayerName as bc, PRESENCE_KINDS as bd, PROMPT_CONTEXT_CHARS as be, type ParsedSlashCommand as bf, type PendingAuthResponse as bg, type PersonKey as bh, PlanStepsError as bi, type PlanWorkRequest as bj, type ProductResponse as bk, type ProjectAddonKind as bl, type ProjectAddonSettingsRequest as bm, type ProjectBudget as bn, type ProjectCheckoutRequest as bo, type ProjectConversationUsageResponse as bp, type ProjectCreateOptions as bq, type ProjectDetails as br, type ProjectEventKind as bs, type ProjectEventResponse as bt, type ProjectInvoicesResponse as bu, type ProjectNextPeriodAddonsRequest as bv, type ProjectPlanChangeRequest as bw, type ProjectQuoteRequest as bx, type ProjectResponse as by, type ProjectUpdateRequest as bz, type ActivityResponse as c, type WorkflowResponse as c$, type SendBack as c0, type ShareRead as c1, type ShareRole as c2, type SkillSummary as c3, type SkippedFile as c4, type SlackConnectionStatus as c5, type StepActionRequest as c6, type StepActivityEvent as c7, type StepAssignee as c8, type StepDisplay as c9, type TagScope as cA, type TagTreeRow as cB, type TaskPlan as cC, type TaskPlanStep as cD, type TaxQuoteResponse as cE, type Thread as cF, type ThreadsResponse as cG, type TimeSuggestion as cH, type TurnRequest as cI, type UpdateConversationRequest as cJ, type UpdateFactRequest as cK, type UpdateWorkflowRequest as cL, type UploadBatchResult as cM, type UploadDirectOptions as cN, type UploadDirectResult as cO, type UploadDocumentsOptions as cP, type UploadOptions as cQ, type UploadProgressListener as cR, type UploadResult as cS, type UsageBreakdown as cT, type UserConnectorEntry as cU, type UserDailyUsageResponse as cV, type UserInfo as cW, WebSocketAuthError as cX, type WeeklyHoursSpec as cY, type WorkStatus as cZ, type WorkflowAuthMode as c_, type StepField as ca, type StepFieldOption as cb, type StepFieldOptionTone as cc, type StepKind as cd, type StepPhase as ce, type StepSignal as cf, type StepSignalWhen as cg, type StepState as ch, type StepStatus as ci, type SubagentBranchRecord as cj, type SubagentLaneInfo as ck, type SubmitBackgroundQueryOptions as cl, type SubscribeParams as cm, type SyncTriggerResult as cn, TAG_KINDS as co, TAG_NESTING_MAX_DEPTH as cp, type TagChange as cq, type TagFieldDefinition as cr, type TagGroup as cs, type TagKind as ct, type TagKindField as cu, type TagKindSchema as cv, type TagLinks as cw, type TagListQuery as cx, type TagNode as cy, type TagResponse as cz, Arbi as d, formatWorkspaceChoices as d$, type WorkflowRunHistoryResponse as d0, type WorkflowRunResponse as d1, type WorkspaceContext as d2, type WorkspaceOpenResponse as d3, type WsConnection as d4, account as d5, agentconfig as d6, agents as d7, appendTranscriptionHints as d8, assistant as d9, createDocumentWaiter as dA, createIndexAssigner as dB, databases as dC, defaultKindForFormat as dD, doctags as dE, documents as dF, estimateDraftTokens as dG, extractDocumentIdsFromMessages as dH, extractFactIdsFromMessages as dI, extractSubagentLanes as dJ, facts as dK, files as dL, filterDocumentTags as dM, filterSkills as dN, findLeafForTaskMessage as dO, findMainSiblingLeaf as dP, findReplyTarget as dQ, findSubagentRunId as dR, flattenTagTree as dS, formatAgentStepLabel as dT, formatFileSize as dU, formatGbp as dV, formatGbpPerMillionTokens as dW, formatItemLabel as dX, formatStreamSummary as dY, formatTokens as dZ, formatUserName as d_, authenticatedFetch as da, bookPublicSlot as db, buildCitationChunkData as dc, buildDocNameMap as dd, buildDocumentTools as de, buildFactsContextTool as df, buildRetrievalChunkTool as dg, buildRetrievalFullContextTool as dh, buildRetrievalTocTool as di, buildTurnRequest as dj, calendar as dk, calls as dl, canTagHaveParent as dm, cancelPublicBooking as dn, chats as dp, computeRunStats as dq, connectErrorMessage as dr, connectWebSocket as ds, connectWithReconnect as dt, connectors as du, contacts as dv, continuityPrompt as dw, conversations as dx, countCitations as dy, createAuthenticatedClient as dz, ArbiApiError as e, selectFullContextDocument as e$, formatWsMessage as e0, generateEncryptedWorkspaceKey as e1, generateNewWorkspaceKey as e2, getAgentStepLabel as e3, getAttachableRunId as e4, getChildTags as e5, getContextRemainingPercent as e6, getContextUsedPercent as e7, getContextUsedTokens as e8, getCurrentStep as e9, isSharedSkill as eA, isTraceItem as eB, mail as eC, mergeAgentSteps as eD, notifications as eE, parseSSEEvents as eF, parseSlashCommand as eG, parseSlashTokenInProgress as eH, performPasswordLogin as eI, performSigningKeyLogin as eJ, performSsoDeviceFlowLogin as eK, pickMainThread as eL, profile as eM, progressFetch as eN, projects as eO, quotaExceededFrom as eP, quotaFromStreamError as eQ, reduceOutputItem as eR, refusalReason as eS, requireData as eT, requireOk as eU, resolveAuth as eV, resolveCitations as eW, resolveSummary as eX, resolveWorkspace as eY, responses as eZ, searchChunks as e_, getEligibleParentTags as ea, getErrorCode as eb, getErrorMessage as ec, getPublicBookingPage as ed, getRawWorkspaceKey as ee, getRunToAttach as ef, getRunToCancel as eg, getStepDisplay as eh, getStepTool as ei, getSubagentBranchRecord as ej, getTagDescendantIds as ek, health as el, houseTemplate as em, hydrateAgentSteps as en, identity as eo, identityErrorCode as ep, isAnnotationTag as eq, isConnectorVendorVisible as er, isDriveSyncVendor as es, isEntityTag as et, isFlatKind as eu, isLabelTag as ev, isMailboxSyncVendor as ew, isNearAiUsageBudget as ex, isPresenceTag as ey, isSharePointVendor as ez, ArbiError as f, selectWorkspace as f0, selectWorkspaceById as f1, sessions as f2, settings as f3, signatureRequests as f4, sliceToSubagentThread as f5, streamSSE as f6, stripCitationMarkdown as f7, subagentJobLabel as f8, summarizeCitations as f9, tagUseCount as fa, tags as fb, tagsForScope as fc, tagsOfGroup as fd, topLevelAgentSteps as fe, uploadSkill as ff, usdToGbp as fg, work as fh, workflowSteps as fi, workflows as fj, workspaces as fk, wouldCreateTagCycle as fl, type ArbiHostSession as g, type ArbiOptions as h, ArbiSessionExpiredError as i, ArbiWorkspaceChangedError as j, ArbiWorkspaceSupersededError as k, type AskHandlers as l, type AskRequest as m, type AttendeeRead as n, type AuthContext as o, type AuthHeaders as p, type AuthMode as q, type AuthenticatedClient as r, type BookingPage as s, type BookingPageWriteBody as t, type BookingRequestBody as u, type BridgeTokensOptions as v, type CalDavProfile as w, type CalendarAccount as x, type CalendarAccountKind as y, type CalendarCreateBody as z };
|
package/dist/browser.cjs
CHANGED
|
@@ -4211,7 +4211,6 @@ async function streamSSE(response, callbacks = {}) {
|
|
|
4211
4211
|
completed
|
|
4212
4212
|
};
|
|
4213
4213
|
}
|
|
4214
|
-
var consumeSSEStream = streamSSE;
|
|
4215
4214
|
var AUTH_TIMEOUT_MS = 1e4;
|
|
4216
4215
|
var MAX_BACKOFF_MS = 3e4;
|
|
4217
4216
|
var WebSocketAuthError = class extends Error {
|
|
@@ -5063,6 +5062,7 @@ __export(workspaces_exports, {
|
|
|
5063
5062
|
addWorkspaceMembers: () => addWorkspaceMembers,
|
|
5064
5063
|
addWorkspaceMembersBody: () => addWorkspaceMembersBody,
|
|
5065
5064
|
addWorkspaceUsers: () => addWorkspaceUsers,
|
|
5065
|
+
archiveWorkspace: () => archiveWorkspace,
|
|
5066
5066
|
cancelWorkspaceTransfer: () => cancelWorkspaceTransfer,
|
|
5067
5067
|
copyDocuments: () => copyDocuments,
|
|
5068
5068
|
createWorkspace: () => createWorkspace,
|
|
@@ -5070,6 +5070,7 @@ __export(workspaces_exports, {
|
|
|
5070
5070
|
exportWorkspaceData: () => exportWorkspaceData,
|
|
5071
5071
|
getWorkspaceAccessStatus: () => getWorkspaceAccessStatus,
|
|
5072
5072
|
getWorkspaceActivity: () => getWorkspaceActivity,
|
|
5073
|
+
getWorkspaceArchive: () => getWorkspaceArchive,
|
|
5073
5074
|
getWorkspaceTransfer: () => getWorkspaceTransfer,
|
|
5074
5075
|
grantTemporaryWorkspaceAccess: () => grantTemporaryWorkspaceAccess,
|
|
5075
5076
|
listWorkspaceTransfers: () => listWorkspaceTransfers,
|
|
@@ -5082,6 +5083,7 @@ __export(workspaces_exports, {
|
|
|
5082
5083
|
resumeWorkspaceTransfer: () => resumeWorkspaceTransfer,
|
|
5083
5084
|
setUserRole: () => setUserRole,
|
|
5084
5085
|
startWorkspaceTransfer: () => startWorkspaceTransfer,
|
|
5086
|
+
unarchiveWorkspace: () => unarchiveWorkspace,
|
|
5085
5087
|
updateWorkspace: () => updateWorkspace
|
|
5086
5088
|
});
|
|
5087
5089
|
async function listWorkspaces(arbi) {
|
|
@@ -5110,6 +5112,30 @@ async function moveWorkspaceToProject(arbi, workspaceExtId, projectExtId) {
|
|
|
5110
5112
|
"Failed to move workspace"
|
|
5111
5113
|
);
|
|
5112
5114
|
}
|
|
5115
|
+
async function getWorkspaceArchive(arbi, workspaceExtId) {
|
|
5116
|
+
return requireData(
|
|
5117
|
+
await arbi.fetch.GET("/v1/workspace/{workspace_ext_id}/archive", {
|
|
5118
|
+
params: { path: { workspace_ext_id: workspaceExtId } }
|
|
5119
|
+
}),
|
|
5120
|
+
"Could not read the archive state"
|
|
5121
|
+
);
|
|
5122
|
+
}
|
|
5123
|
+
async function archiveWorkspace(arbi, workspaceExtId) {
|
|
5124
|
+
return requireData(
|
|
5125
|
+
await arbi.fetch.POST("/v1/workspace/{workspace_ext_id}/archive", {
|
|
5126
|
+
params: { path: { workspace_ext_id: workspaceExtId } }
|
|
5127
|
+
}),
|
|
5128
|
+
"Could not archive the workspace"
|
|
5129
|
+
);
|
|
5130
|
+
}
|
|
5131
|
+
async function unarchiveWorkspace(arbi, workspaceExtId) {
|
|
5132
|
+
return requireData(
|
|
5133
|
+
await arbi.fetch.POST("/v1/workspace/{workspace_ext_id}/unarchive", {
|
|
5134
|
+
params: { path: { workspace_ext_id: workspaceExtId } }
|
|
5135
|
+
}),
|
|
5136
|
+
"Could not unarchive the workspace"
|
|
5137
|
+
);
|
|
5138
|
+
}
|
|
5113
5139
|
async function deleteWorkspaces(arbi, workspaceIds) {
|
|
5114
5140
|
requireOk(
|
|
5115
5141
|
await arbi.fetch.DELETE("/v1/workspace/", {
|
|
@@ -10681,6 +10707,12 @@ var Arbi = class {
|
|
|
10681
10707
|
this.requireClient().workspaceKeys.forget(workspaceIds);
|
|
10682
10708
|
},
|
|
10683
10709
|
update: (body) => updateWorkspace(this.requireClient(), body),
|
|
10710
|
+
/** A workspace's archive state (status, bytes per tier, the unarchive estimate). */
|
|
10711
|
+
archiveState: (workspaceId) => getWorkspaceArchive(this.requireClient(), workspaceId),
|
|
10712
|
+
/** Archive a workspace: closed for everyone until unarchived. */
|
|
10713
|
+
archive: (workspaceId) => archiveWorkspace(this.requireClient(), workspaceId),
|
|
10714
|
+
/** Start unarchiving a workspace (its documents are re-indexed). */
|
|
10715
|
+
unarchive: (workspaceId) => unarchiveWorkspace(this.requireClient(), workspaceId),
|
|
10684
10716
|
/** Move a workspace (open or not) to another project. */
|
|
10685
10717
|
moveToProject: (workspaceId, projectExtId) => moveWorkspaceToProject(this.requireClient(), workspaceId, projectExtId),
|
|
10686
10718
|
listUsers: () => listWorkspaceUsers(this.requireClient()),
|
|
@@ -12571,7 +12603,6 @@ exports.connectErrorMessage = connectErrorMessage;
|
|
|
12571
12603
|
exports.connectWebSocket = connectWebSocket;
|
|
12572
12604
|
exports.connectWithReconnect = connectWithReconnect;
|
|
12573
12605
|
exports.connectors = connectors_exports;
|
|
12574
|
-
exports.consumeSSEStream = consumeSSEStream;
|
|
12575
12606
|
exports.contacts = contacts_exports;
|
|
12576
12607
|
exports.continuityPrompt = continuityPrompt;
|
|
12577
12608
|
exports.conversations = conversations_exports;
|