@arbidocs/sdk 0.5.152 → 0.5.154

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.
@@ -2982,6 +2982,14 @@ declare function copyDocuments(arbi: ArbiClient, targetWorkspaceId: string, docI
2982
2982
  skipped: boolean;
2983
2983
  }[];
2984
2984
  }>;
2985
+ type WorkspaceAggregateQuery = components['schemas']['WorkspaceAggregateQuery'];
2986
+ type WorkspaceAggregateResult = components['schemas']['WorkspaceAggregateResult'];
2987
+ /**
2988
+ * Count a workspace's documents, threads, tags, facts, workflows or recent activity on the server,
2989
+ * grouped by the queries' dimensions: one result per query, in order (the cells a chart draws,
2990
+ * without downloading the lists). The workspace's key must be on the session, as for its lists.
2991
+ */
2992
+ declare function aggregateWorkspace(arbi: ArbiClient, workspaceExtId: string, queries: WorkspaceAggregateQuery[]): Promise<WorkspaceAggregateResult[]>;
2985
2993
  interface WorkspaceActivityOptions {
2986
2994
  /** `next_cursor` of the previous page. */
2987
2995
  cursor?: string | null;
@@ -3101,6 +3109,8 @@ type workspaces_TransferScope = TransferScope;
3101
3109
  type workspaces_TransferStatus = TransferStatus;
3102
3110
  declare const workspaces_WORKSPACE_ROLE_LABELS: typeof WORKSPACE_ROLE_LABELS;
3103
3111
  type workspaces_WorkspaceActivityOptions = WorkspaceActivityOptions;
3112
+ type workspaces_WorkspaceAggregateQuery = WorkspaceAggregateQuery;
3113
+ type workspaces_WorkspaceAggregateResult = WorkspaceAggregateResult;
3104
3114
  type workspaces_WorkspaceArchive = WorkspaceArchive;
3105
3115
  type workspaces_WorkspaceExport = WorkspaceExport;
3106
3116
  type workspaces_WorkspaceResponse = WorkspaceResponse;
@@ -3108,6 +3118,7 @@ type workspaces_WorkspaceRoleName = WorkspaceRoleName;
3108
3118
  declare const workspaces_addWorkspaceMembers: typeof addWorkspaceMembers;
3109
3119
  declare const workspaces_addWorkspaceMembersBody: typeof addWorkspaceMembersBody;
3110
3120
  declare const workspaces_addWorkspaceUsers: typeof addWorkspaceUsers;
3121
+ declare const workspaces_aggregateWorkspace: typeof aggregateWorkspace;
3111
3122
  declare const workspaces_archiveWorkspace: typeof archiveWorkspace;
3112
3123
  declare const workspaces_cancelWorkspaceTransfer: typeof cancelWorkspaceTransfer;
3113
3124
  declare const workspaces_copyDocuments: typeof copyDocuments;
@@ -3134,7 +3145,7 @@ declare const workspaces_unarchiveWorkspace: typeof unarchiveWorkspace;
3134
3145
  declare const workspaces_updateWorkspace: typeof updateWorkspace;
3135
3146
  declare const workspaces_workspaceRoleLabel: typeof workspaceRoleLabel;
3136
3147
  declare namespace workspaces {
3137
- 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, workspaces_WORKSPACE_ROLE_LABELS as WORKSPACE_ROLE_LABELS, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, type workspaces_WorkspaceResponse as WorkspaceResponse, type workspaces_WorkspaceRoleName as WorkspaceRoleName, 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_parseWorkspaceRole as parseWorkspaceRole, 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, workspaces_workspaceRoleLabel as workspaceRoleLabel };
3148
+ 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, workspaces_WORKSPACE_ROLE_LABELS as WORKSPACE_ROLE_LABELS, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceAggregateQuery as WorkspaceAggregateQuery, type workspaces_WorkspaceAggregateResult as WorkspaceAggregateResult, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, type workspaces_WorkspaceResponse as WorkspaceResponse, type workspaces_WorkspaceRoleName as WorkspaceRoleName, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_aggregateWorkspace as aggregateWorkspace, 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_parseWorkspaceRole as parseWorkspaceRole, 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, workspaces_workspaceRoleLabel as workspaceRoleLabel };
3138
3149
  }
3139
3150
 
3140
3151
  /**
@@ -6004,6 +6015,7 @@ declare namespace profile {
6004
6015
  */
6005
6016
 
6006
6017
  type ProjectUsageResponse = components['schemas']['ProjectUsageResponse'];
6018
+ type ProjectsUsageResponse = components['schemas']['ProjectsUsageResponse'];
6007
6019
  type ProjectInvoicesResponse = components['schemas']['ProjectInvoicesResponse'];
6008
6020
  type UserDailyUsageResponse = components['schemas']['UserDailyUsageResponse'];
6009
6021
  type ProjectUpdateRequest = components['schemas']['ProjectUpdateRequest'];
@@ -6732,6 +6744,11 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
6732
6744
  * selects the period: 0 (default) = current, 1 = previous month, etc.
6733
6745
  */
6734
6746
  declare function getProjectUsage(arbi: ArbiClient, projectExtId: string, monthsBack?: number): Promise<ProjectUsageResponse>;
6747
+ /**
6748
+ * The AI usage of every project the caller owns, each for its own billing period `monthsBack`
6749
+ * periods ago, in one request (a project whose usage cannot be read has `usage: null`).
6750
+ */
6751
+ declare function listProjectsUsage(arbi: ArbiClient, monthsBack?: number): Promise<ProjectsUsageResponse>;
6735
6752
  /** List the Stripe invoices for a project's subscription. */
6736
6753
  declare function getProjectInvoices(arbi: ArbiClient, projectExtId: string): Promise<ProjectInvoicesResponse>;
6737
6754
  /**
@@ -7720,6 +7737,7 @@ type projects_ProjectResponse = ProjectResponse;
7720
7737
  type projects_ProjectSpendLimitsRequest = ProjectSpendLimitsRequest;
7721
7738
  type projects_ProjectUpdateRequest = ProjectUpdateRequest;
7722
7739
  type projects_ProjectUsageResponse = ProjectUsageResponse;
7740
+ type projects_ProjectsUsageResponse = ProjectsUsageResponse;
7723
7741
  type projects_TaxQuoteResponse = TaxQuoteResponse;
7724
7742
  type projects_UserDailyUsageResponse = UserDailyUsageResponse;
7725
7743
  declare const projects_addAddonBlock: typeof addAddonBlock;
@@ -7738,6 +7756,7 @@ declare const projects_getUserUsageToday: typeof getUserUsageToday;
7738
7756
  declare const projects_listProducts: typeof listProducts;
7739
7757
  declare const projects_listProjectEvents: typeof listProjectEvents;
7740
7758
  declare const projects_listProjects: typeof listProjects;
7759
+ declare const projects_listProjectsUsage: typeof listProjectsUsage;
7741
7760
  declare const projects_parseBudget: typeof parseBudget;
7742
7761
  declare const projects_previewPlanChange: typeof previewPlanChange;
7743
7762
  declare const projects_quoteAddon: typeof quoteAddon;
@@ -7748,7 +7767,7 @@ declare const projects_setNextPeriodAddons: typeof setNextPeriodAddons;
7748
7767
  declare const projects_updateAddonSettings: typeof updateAddonSettings;
7749
7768
  declare const projects_updateProject: typeof updateProject;
7750
7769
  declare namespace projects {
7751
- export { type projects_ProductResponse as ProductResponse, type projects_ProjectAddonKind as ProjectAddonKind, type projects_ProjectAddonSettingsRequest as ProjectAddonSettingsRequest, type projects_ProjectBudget as ProjectBudget, type projects_ProjectCheckoutRequest as ProjectCheckoutRequest, type projects_ProjectConversationUsageResponse as ProjectConversationUsageResponse, type projects_ProjectCreateOptions as ProjectCreateOptions, type projects_ProjectDetails as ProjectDetails, type projects_ProjectEventKind as ProjectEventKind, type projects_ProjectEventResponse as ProjectEventResponse, type projects_ProjectInvoicesResponse as ProjectInvoicesResponse, type projects_ProjectNextPeriodAddonsRequest as ProjectNextPeriodAddonsRequest, type projects_ProjectPlanChangeRequest as ProjectPlanChangeRequest, type projects_ProjectQuoteRequest as ProjectQuoteRequest, type projects_ProjectResponse as ProjectResponse, type projects_ProjectSpendLimitsRequest as ProjectSpendLimitsRequest, type projects_ProjectUpdateRequest as ProjectUpdateRequest, type projects_ProjectUsageResponse as ProjectUsageResponse, type projects_TaxQuoteResponse as TaxQuoteResponse, type projects_UserDailyUsageResponse as UserDailyUsageResponse, projects_addAddonBlock as addAddonBlock, projects_billingPortal as billingPortal, projects_cancelSubscription as cancelSubscription, projects_changePlan as changePlan, projects_confirmSpendLimits as confirmSpendLimits, projects_createCheckout as createCheckout, projects_createProject as createProject, projects_deleteProject as deleteProject, projects_formatBudget as formatBudget, projects_getProjectConversationUsage as getProjectConversationUsage, projects_getProjectInvoices as getProjectInvoices, projects_getProjectUsage as getProjectUsage, projects_getUserUsageToday as getUserUsageToday, projects_listProducts as listProducts, projects_listProjectEvents as listProjectEvents, projects_listProjects as listProjects, projects_parseBudget as parseBudget, projects_previewPlanChange as previewPlanChange, projects_quoteAddon as quoteAddon, projects_quotePlan as quotePlan, projects_refreshProject as refreshProject, projects_renameProject as renameProject, projects_setNextPeriodAddons as setNextPeriodAddons, projects_updateAddonSettings as updateAddonSettings, projects_updateProject as updateProject };
7770
+ export { type projects_ProductResponse as ProductResponse, type projects_ProjectAddonKind as ProjectAddonKind, type projects_ProjectAddonSettingsRequest as ProjectAddonSettingsRequest, type projects_ProjectBudget as ProjectBudget, type projects_ProjectCheckoutRequest as ProjectCheckoutRequest, type projects_ProjectConversationUsageResponse as ProjectConversationUsageResponse, type projects_ProjectCreateOptions as ProjectCreateOptions, type projects_ProjectDetails as ProjectDetails, type projects_ProjectEventKind as ProjectEventKind, type projects_ProjectEventResponse as ProjectEventResponse, type projects_ProjectInvoicesResponse as ProjectInvoicesResponse, type projects_ProjectNextPeriodAddonsRequest as ProjectNextPeriodAddonsRequest, type projects_ProjectPlanChangeRequest as ProjectPlanChangeRequest, type projects_ProjectQuoteRequest as ProjectQuoteRequest, type projects_ProjectResponse as ProjectResponse, type projects_ProjectSpendLimitsRequest as ProjectSpendLimitsRequest, type projects_ProjectUpdateRequest as ProjectUpdateRequest, type projects_ProjectUsageResponse as ProjectUsageResponse, type projects_ProjectsUsageResponse as ProjectsUsageResponse, type projects_TaxQuoteResponse as TaxQuoteResponse, type projects_UserDailyUsageResponse as UserDailyUsageResponse, projects_addAddonBlock as addAddonBlock, projects_billingPortal as billingPortal, projects_cancelSubscription as cancelSubscription, projects_changePlan as changePlan, projects_confirmSpendLimits as confirmSpendLimits, projects_createCheckout as createCheckout, projects_createProject as createProject, projects_deleteProject as deleteProject, projects_formatBudget as formatBudget, projects_getProjectConversationUsage as getProjectConversationUsage, projects_getProjectInvoices as getProjectInvoices, projects_getProjectUsage as getProjectUsage, projects_getUserUsageToday as getUserUsageToday, projects_listProducts as listProducts, projects_listProjectEvents as listProjectEvents, projects_listProjects as listProjects, projects_listProjectsUsage as listProjectsUsage, projects_parseBudget as parseBudget, projects_previewPlanChange as previewPlanChange, projects_quoteAddon as quoteAddon, projects_quotePlan as quotePlan, projects_refreshProject as refreshProject, projects_renameProject as renameProject, projects_setNextPeriodAddons as setNextPeriodAddons, projects_updateAddonSettings as updateAddonSettings, projects_updateProject as updateProject };
7752
7771
  }
7753
7772
 
7754
7773
  /**
@@ -7766,6 +7785,14 @@ declare namespace projects {
7766
7785
  type PageRecord = components['schemas']['PageRead'];
7767
7786
  type PageSpecWire = components['schemas']['PageSpec'];
7768
7787
  type PageViewRef = components['schemas']['PageViewRef'];
7788
+ /** A live list block: the viewer's own latest files, threads or facts (it names no item). */
7789
+ type ListBlockConfig = components['schemas']['ListBlockConfig'];
7790
+ /** A live carousel block: the viewer's skills or workflows, as cards to start or open. */
7791
+ type CarouselBlockConfig = components['schemas']['CarouselBlockConfig'];
7792
+ /** A live agenda block: the viewer's next calendar events. */
7793
+ type AgendaBlockConfig = components['schemas']['AgendaBlockConfig'];
7794
+ /** The workspace home's Start band as a block: nothing to configure. */
7795
+ type StartBlockConfig = components['schemas']['StartBlockConfig'];
7769
7796
  /** A page as read. */
7770
7797
  interface Page {
7771
7798
  id: string;
@@ -7810,13 +7837,17 @@ declare function updatePage(arbi: ArbiClient, id: string, spec: PageSpecWire): P
7810
7837
  declare function sharePage(arbi: ArbiClient, id: string): Promise<Page>;
7811
7838
  declare function deletePage(arbi: ArbiClient, id: string): Promise<void>;
7812
7839
 
7840
+ type pages_AgendaBlockConfig = AgendaBlockConfig;
7841
+ type pages_CarouselBlockConfig = CarouselBlockConfig;
7813
7842
  type pages_KeypairSource = KeypairSource;
7843
+ type pages_ListBlockConfig = ListBlockConfig;
7814
7844
  type pages_Page = Page;
7815
7845
  type pages_PagePrivateContentError = PagePrivateContentError;
7816
7846
  declare const pages_PagePrivateContentError: typeof PagePrivateContentError;
7817
7847
  type pages_PageRecord = PageRecord;
7818
7848
  type pages_PageSpecWire = PageSpecWire;
7819
7849
  type pages_PageViewRef = PageViewRef;
7850
+ type pages_StartBlockConfig = StartBlockConfig;
7820
7851
  declare const pages_createPage: typeof createPage;
7821
7852
  declare const pages_deletePage: typeof deletePage;
7822
7853
  declare const pages_getPage: typeof getPage;
@@ -7824,7 +7855,7 @@ declare const pages_listPages: typeof listPages;
7824
7855
  declare const pages_sharePage: typeof sharePage;
7825
7856
  declare const pages_updatePage: typeof updatePage;
7826
7857
  declare namespace pages {
7827
- export { type pages_KeypairSource as KeypairSource, type pages_Page as Page, pages_PagePrivateContentError as PagePrivateContentError, type pages_PageRecord as PageRecord, type pages_PageSpecWire as PageSpecWire, type pages_PageViewRef as PageViewRef, pages_createPage as createPage, pages_deletePage as deletePage, pages_getPage as getPage, pages_listPages as listPages, pages_sharePage as sharePage, pages_updatePage as updatePage };
7858
+ export { type pages_AgendaBlockConfig as AgendaBlockConfig, type pages_CarouselBlockConfig as CarouselBlockConfig, type pages_KeypairSource as KeypairSource, type pages_ListBlockConfig as ListBlockConfig, type pages_Page as Page, pages_PagePrivateContentError as PagePrivateContentError, type pages_PageRecord as PageRecord, type pages_PageSpecWire as PageSpecWire, type pages_PageViewRef as PageViewRef, type pages_StartBlockConfig as StartBlockConfig, pages_createPage as createPage, pages_deletePage as deletePage, pages_getPage as getPage, pages_listPages as listPages, pages_sharePage as sharePage, pages_updatePage as updatePage };
7828
7859
  }
7829
7860
 
7830
7861
  /**
@@ -8500,12 +8531,23 @@ declare namespace databases {
8500
8531
  type TableViewRecord = components['schemas']['TableViewRead'];
8501
8532
  type TableViewSpec = components['schemas']['TableViewSpec'];
8502
8533
  type TableViewFilter = components['schemas']['DatabaseFilter'];
8534
+ /** A view with its database, its columns and its rows (`GET /v1/views/{id}/rows`). */
8535
+ type TableViewRows = components['schemas']['TableViewRows'];
8503
8536
  /** A view's table: a database id, or `documents` for the document table. */
8504
8537
  type TableViewTarget = string;
8505
8538
  declare const DOCUMENTS_VIEW_TARGET = "documents";
8506
8539
  /** The views the caller can see: of one table, or (no target) every table of the open workspace. */
8507
8540
  declare function listTableViews(arbi: ArbiClient, target?: TableViewTarget): Promise<TableViewRecord[]>;
8508
8541
  declare function getTableView(arbi: ArbiClient, viewId: string): Promise<TableViewRecord>;
8542
+ /**
8543
+ * A view and its rows in one read: the view, its database, the view's columns in its order and the
8544
+ * rows with its filters and sort applied (each with only those columns). A view of the document
8545
+ * table comes back without a database or rows.
8546
+ */
8547
+ declare function getTableViewRows(arbi: ArbiClient, viewId: string, page?: {
8548
+ offset?: number;
8549
+ limit?: number;
8550
+ }): Promise<TableViewRows>;
8509
8551
  /** Save a view of a table; private unless `shared` (sharing takes a workspace editor). */
8510
8552
  declare function createTableView(arbi: ArbiClient, target: TableViewTarget, spec: TableViewSpec, options?: {
8511
8553
  shared?: boolean;
@@ -8525,17 +8567,19 @@ declare function filterText(filter: TableViewFilter): string;
8525
8567
  declare const views_DOCUMENTS_VIEW_TARGET: typeof DOCUMENTS_VIEW_TARGET;
8526
8568
  type views_TableViewFilter = TableViewFilter;
8527
8569
  type views_TableViewRecord = TableViewRecord;
8570
+ type views_TableViewRows = TableViewRows;
8528
8571
  type views_TableViewSpec = TableViewSpec;
8529
8572
  type views_TableViewTarget = TableViewTarget;
8530
8573
  declare const views_createTableView: typeof createTableView;
8531
8574
  declare const views_deleteTableView: typeof deleteTableView;
8532
8575
  declare const views_filterText: typeof filterText;
8533
8576
  declare const views_getTableView: typeof getTableView;
8577
+ declare const views_getTableViewRows: typeof getTableViewRows;
8534
8578
  declare const views_listTableViews: typeof listTableViews;
8535
8579
  declare const views_shareTableView: typeof shareTableView;
8536
8580
  declare const views_updateTableView: typeof updateTableView;
8537
8581
  declare namespace views {
8538
- export { views_DOCUMENTS_VIEW_TARGET as DOCUMENTS_VIEW_TARGET, type views_TableViewFilter as TableViewFilter, type views_TableViewRecord as TableViewRecord, type views_TableViewSpec as TableViewSpec, type views_TableViewTarget as TableViewTarget, views_createTableView as createTableView, views_deleteTableView as deleteTableView, views_filterText as filterText, views_getTableView as getTableView, views_listTableViews as listTableViews, views_shareTableView as shareTableView, views_updateTableView as updateTableView };
8582
+ export { views_DOCUMENTS_VIEW_TARGET as DOCUMENTS_VIEW_TARGET, type views_TableViewFilter as TableViewFilter, type views_TableViewRecord as TableViewRecord, type views_TableViewRows as TableViewRows, type views_TableViewSpec as TableViewSpec, type views_TableViewTarget as TableViewTarget, views_createTableView as createTableView, views_deleteTableView as deleteTableView, views_filterText as filterText, views_getTableView as getTableView, views_getTableViewRows as getTableViewRows, views_listTableViews as listTableViews, views_shareTableView as shareTableView, views_updateTableView as updateTableView };
8539
8583
  }
8540
8584
 
8541
8585
  /**
@@ -10276,6 +10320,10 @@ declare class Arbi {
10276
10320
  };
10277
10321
  invoice_pdf?: string | null;
10278
10322
  }>;
10323
+ /** The usage of every project the caller owns, in one request. */
10324
+ usageOfOwned: (monthsBack?: number) => Promise<{
10325
+ projects: components["schemas"]["ProjectUsageEntry"][];
10326
+ }>;
10279
10327
  /** Stripe invoices for a project's subscription. */
10280
10328
  invoices: (projectExtId: string) => Promise<{
10281
10329
  project_ext_id: string;
@@ -11637,6 +11685,14 @@ declare class Arbi {
11637
11685
  }[];
11638
11686
  next_cursor?: string | null | undefined;
11639
11687
  }>;
11688
+ /** Count a workspace's items on the server, grouped (see `aggregateWorkspace`). */
11689
+ aggregate: (workspaceId: string, queries: WorkspaceAggregateQuery[]) => Promise<{
11690
+ cells: components["schemas"]["AggregateCell"][];
11691
+ labels?: {
11692
+ [key: string]: string;
11693
+ };
11694
+ truncated: boolean;
11695
+ }[]>;
11640
11696
  /**
11641
11697
  * Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. `role`
11642
11698
  * defaults to `collaborator`; `guest` makes a read-only member (shown as "Viewer").
@@ -17825,6 +17881,17 @@ declare class Arbi {
17825
17881
  created_at: string;
17826
17882
  updated_at: string;
17827
17883
  }>;
17884
+ /** The view with its database, columns and rows (filters and sort applied), in one read. */
17885
+ rows: (viewId: string, page?: {
17886
+ offset?: number;
17887
+ limit?: number;
17888
+ }) => Promise<{
17889
+ view: components["schemas"]["TableViewRead"];
17890
+ database?: components["schemas"]["DatabaseRead"] | null;
17891
+ columns?: components["schemas"]["DatabaseColumn"][];
17892
+ rows?: components["schemas"]["DatabaseRowRead"][];
17893
+ total: number;
17894
+ }>;
17828
17895
  create: (target: TableViewTarget, spec: TableViewSpec, options?: {
17829
17896
  shared?: boolean;
17830
17897
  }) => Promise<{
@@ -19432,4 +19499,4 @@ declare function documentTools(options: {
19432
19499
  /** Add replaces matching tool names; replace discards all previous tools. No mutation of inputs. */
19433
19500
  declare function composeTools(base: ResponseTools, next: ResponseTools, mode: 'add' | 'replace'): ResponseTools;
19434
19501
 
19435
- export { type ChatMessage as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type BookingPage as C, type BookingPageWriteBody as D, type BookingRequestBody as E, type BridgeTokensOptions as F, type CalDavConnectBody as G, type CalDavProfile as H, type CalendarAccount as I, type CalendarAccountKind as J, type CalendarCreateBody as K, type CalendarEvent as L, type CalendarKeys as M, type CalendarRead as N, type CalendarSettings as O, type CalendarSettingsBody as P, type CalendarUpdate as Q, type CalendarWindow as R, CallApiError as S, type Capabilities as T, type ChatAttachmentFile as U, type ChatAttachmentInput as V, type ChatCryptoContext as W, type ChatKeyRing as X, type ChatKind as Y, type ChatMemberKey as Z, type ChatMemberResponse as _, type AccountSyncResult as a, type FactResponse as a$, type ChatMessageResponse as a0, type ChatResponse as a1, type ChatSession as a2, type CitationSummary as a3, type CitationToolSources as a4, type CliConfig as a5, type CliCredentials as a6, type CommandDescriptor as a7, type ConfigStore as a8, type Configuration as a9, type DatabaseRow as aA, type DatabaseRowPage as aB, type DatabaseRowsQuery as aC, type DateTimeSpec as aD, type DecryptedChat as aE, type DecryptedChatMessage as aF, type DeploymentHouseTemplate as aG, type DiagnoseOptions as aH, type DirectModelUsage as aI, type DocInfo as aJ, type DocInfoMap as aK, type DocNameMap as aL, type DocumentAutomationAction as aM, type DocumentListFields as aN, type DocumentListOrder as aO, type DocumentSelector as aP, type DocumentWaiter as aQ, type DocumentWaiterOptions as aR, type DriveSyncProgress as aS, type DriveSyncSummary as aT, DuplicateContactError as aU, ENTITY_KINDS as aV, type EditScope as aW, type EntityKind as aX, type EventCreateBody as aY, type EventPatchBody as aZ, FLAT_TAG_KINDS as a_, type ConfigurationPatch as aa, type ConnectOptions as ab, type ConnectionModel as ac, type ConnectorCatalogEntry as ad, type ConnectorFolder as ae, type ConnectorSyncProgress as af, type ConnectorSyncStatus as ag, type ConnectorVendorKey as ah, type ConnectorVisibilitySettings as ai, type ContextUsage as aj, type ConversationResponse as ak, type ConversationUsageResponse as al, type CreateFactRequest as am, type CreateFactsRequest as an, type CreateWorkRequest as ao, type CreateWorkflowRequest as ap, DEFAULT_AI_USD_PER_GBP as aq, DOCUMENTS_VIEW_TARGET as ar, DOC_TERMINAL_STATUSES as as, DRIVE_SYNC_VENDORS as at, type Database as au, type DatabaseAggregateRequest as av, type DatabaseAggregateResult as aw, type DatabaseColumn as ax, type DatabaseColumnWrite as ay, type DatabaseImportResult as az, type ActivityKind as b, type ProjectUsageResponse as b$, type FactSearchRequest as b0, type FactSearchResponse as b1, type FindTimeParams as b2, type FormattedWsMessage as b3, type FreeBusyEntry as b4, type FullContextSelection as b5, GOOGLE_VENDORS as b6, type HolidayCountry as b7, type HouseTemplateCandidate as b8, IMANAGE_VENDORS as b9, type PageRecord as bA, type PageSpecWire as bB, type PageViewRef as bC, type ParsedResponse as bD, type ParsedSlashCommand as bE, type ParsedStructuredResponse as bF, type PendingAuthResponse as bG, type PersonKey as bH, type PersonalConnectionInput as bI, PlanStepsError as bJ, type PlanWorkRequest as bK, type ProductResponse as bL, type ProjectAddonKind as bM, type ProjectAddonSettingsRequest as bN, type ProjectBudget as bO, type ProjectCheckoutRequest as bP, type ProjectConversationUsageResponse as bQ, type ProjectCreateOptions as bR, type ProjectDetails as bS, type ProjectEventKind as bT, type ProjectEventResponse as bU, type ProjectInvoicesResponse as bV, type ProjectNextPeriodAddonsRequest as bW, type ProjectPlanChangeRequest as bX, type ProjectQuoteRequest as bY, type ProjectResponse as bZ, type ProjectUpdateRequest as b_, type IdentityErrorCode as ba, type IdentityPurchase as bb, type IdentityState as bc, type IdentityStatus as bd, type ImportResult as be, type InvitationRead as bf, type JsonSchemaOutputFormat as bg, type LinkedRun as bh, type ListAllOptions as bi, type ListEventsParams as bj, type ListFactsOptions as bk, type ListPaginatedOptions as bl, MAILBOX_SYNC_VENDORS as bm, MAX_RETRIEVE_DOC_IDS as bn, MICROSOFT_VENDORS as bo, type MailAttachment as bp, type MessageLevel as bq, type ModelConnection as br, type OAuthAccountKind as bs, type OutputItemDone as bt, type OverlayItem as bu, type OverlayLayerName as bv, PRESENCE_KINDS as bw, PROMPT_CONTEXT_CHARS as bx, type Page as by, PagePrivateContentError as bz, type ActivityResponse as c, type SubagentBranchRecord as c$, PublicBookingError as c0, type PublicBookingPage as c1, type QuotaExceeded as c2, type RaisedSignal as c3, type RawResponseEvent as c4, type ReconnectOptions as c5, type ReconnectableWsConnection as c6, type ResolvedCitation as c7, type ResolvedRecipient as c8, type RespondParams as c9, SUPPORTED_EXTENSIONS as cA, type ScopedTarget as cB, type SearchChunk as cC, type SecureMailCompose as cD, type SecureMailSend as cE, type SecureMailSender as cF, type SendBack as cG, type SetupDiagnostic as cH, type SetupReport as cI, type ShareRead as cJ, type ShareRole as cK, type SkillSummary as cL, type SkippedFile as cM, type SlackConnectionStatus as cN, type StepActionRequest as cO, type StepActivityEvent as cP, type StepAssignee as cQ, type StepDisplay as cR, type StepField as cS, type StepFieldOption as cT, type StepFieldOptionTone as cU, type StepKind as cV, type StepPhase as cW, type StepSignal as cX, type StepSignalWhen as cY, type StepState as cZ, type StepStatus as c_, type RespondPartstat as ca, type Response$1 as cb, type ResponseCreateRequest as cc, type ResponseCreateResult as cd, type ResponseHandle as ce, type ResponseSnapshot as cf, type ResponseStart as cg, type ResponseStartOptions as ch, ResponseStream as ci, type ResponseStreamEvent as cj, type ResponseTools as ck, type RoomCreateBody as cl, type RoomQuery as cm, type RoomRead as cn, type RunProgress as co, type RunStats as cp, type RunStep as cq, type RunWaitingOn as cr, SHAREPOINT_VENDORS as cs, type SSEEvent as ct, type SSEStreamCallbacks as cu, type SSEStreamOutcome as cv, type SSEStreamResult as cw, STEP_FIELD_OPTION_TONES as cx, STOP_ID_WAIT_MS as cy, STOP_REPEAT_WINDOW_MS as cz, Arbi as d, assistant as d$, type SubagentLaneInfo as d0, type SubmitBackgroundQueryOptions as d1, type SubscribeParams as d2, type SupportRating as d3, type SupportTicket as d4, type SupportTicketInput as d5, type SyncTriggerResult as d6, TAG_KINDS as d7, TAG_NESTING_MAX_DEPTH as d8, type TableViewFilter as d9, type UploadBatchResult as dA, type UploadDirectOptions as dB, type UploadDirectResult as dC, type UploadDocumentsOptions as dD, type UploadOptions as dE, type UploadProgressListener as dF, type UploadResult as dG, type UsageBreakdown as dH, type UserConnectorEntry as dI, type UserDailyUsageResponse as dJ, type UserInfo as dK, WebSocketAuthError as dL, type WeeklyHoursSpec as dM, type WorkStatus as dN, type WorkflowAuthMode as dO, type WorkflowResponse as dP, type WorkflowRunHistoryResponse as dQ, type WorkflowRunResponse as dR, type WorkspaceConflict as dS, type WorkspaceContext as dT, type WorkspaceOpenResponse as dU, type WorkspaceResponse as dV, type WsConnection as dW, account as dX, agentconfig as dY, agents as dZ, appendTranscriptionHints as d_, type TableViewRecord as da, type TableViewSpec as db, type TableViewTarget as dc, type TagChange as dd, type TagFieldDefinition as de, type TagGroup as df, type TagKind as dg, type TagKindField as dh, type TagKindSchema as di, type TagLinks as dj, type TagListQuery as dk, type TagNode as dl, type TagResponse as dm, type TagScope as dn, type TagTreeRow as dp, type TaskPlan as dq, type TaskPlanStep as dr, type TaxQuoteResponse as ds, type Thread as dt, type ThreadsResponse as du, type TimeSuggestion as dv, type TurnRequest as dw, type UpdateConversationRequest as dx, type UpdateFactRequest as dy, type UpdateWorkflowRequest as dz, ArbiApiError as e, getAttachableRunId as e$, authenticatedFetch as e0, bookPublicSlot as e1, buildCitationChunkData as e2, buildDocNameMap as e3, buildDocumentTools as e4, buildFactsContextTool as e5, buildRetrievalChunkTool as e6, buildRetrievalFullContextTool as e7, buildRetrievalTocTool as e8, buildTurnRequest as e9, estimateDraftTokens as eA, extractDocumentIdsFromMessages as eB, extractFactIdsFromMessages as eC, extractSubagentLanes as eD, facts as eE, files as eF, filterDocumentTags as eG, filterSkills as eH, filterText as eI, findLeafForTaskMessage as eJ, findMainSiblingLeaf as eK, findReplyTarget as eL, findSubagentRunId as eM, flattenTagTree as eN, formatAgentStepLabel as eO, formatFileSize as eP, formatGbp as eQ, formatGbpPerMillionTokens as eR, formatItemLabel as eS, formatStreamSummary as eT, formatTokens as eU, formatUserName as eV, formatWorkspaceChoices as eW, formatWsMessage as eX, generateEncryptedWorkspaceKey as eY, generateNewWorkspaceKey as eZ, getAgentStepLabel as e_, calendar as ea, calls as eb, canTagHaveParent as ec, cancelPublicBooking as ed, capabilities as ee, chats as ef, composeConfiguration as eg, composeTools as eh, computeRunStats as ei, connectErrorMessage as ej, connectWebSocket as ek, connectWithReconnect as el, connectors as em, contacts as en, continuityPrompt as eo, conversations as ep, countCitations as eq, createAuthenticatedClient as er, createDocumentWaiter as es, createIndexAssigner as et, databases as eu, defaultKindForFormat as ev, diagnoseSetup as ew, doctags as ex, documentTools as ey, documents as ez, ArbiError as f, secureMail as f$, getChildTags as f0, getContextRemainingPercent as f1, getContextUsedPercent as f2, getContextUsedTokens as f3, getCurrentStep as f4, getEligibleParentTags as f5, getErrorCode as f6, getErrorMessage as f7, getPublicBookingPage as f8, getRawWorkspaceKey as f9, mergeAgentSteps as fA, modelConnections as fB, notifications as fC, pages as fD, parseSSEEvents as fE, parseSlashCommand as fF, parseSlashTokenInProgress as fG, parseStructuredResponse as fH, performPasswordLogin as fI, performSigningKeyLogin as fJ, performSsoDeviceFlowLogin as fK, pickMainThread as fL, profile as fM, progressFetch as fN, projects as fO, quotaExceededFrom as fP, quotaFromStreamError as fQ, reduceOutputItem as fR, refusalReason as fS, requireData as fT, requireOk as fU, resolveAuth as fV, resolveCitations as fW, resolveSummary as fX, resolveWorkspace as fY, responses as fZ, searchChunks as f_, getRunToAttach as fa, getRunToCancel as fb, getStepDisplay as fc, getStepTool as fd, getSubagentBranchRecord as fe, getTagDescendantIds as ff, health as fg, houseTemplate as fh, hydrateAgentSteps as fi, identity as fj, identityErrorCode as fk, instructions as fl, isAnnotationTag as fm, isConnectorVendorVisible as fn, isDriveSyncVendor as fo, isEntityTag as fp, isFlatKind as fq, isLabelTag as fr, isMailboxSyncVendor as fs, isNearAiUsageBudget as ft, isPresenceTag as fu, isSharePointVendor as fv, isSharedSkill as fw, isTraceItem as fx, mail as fy, mcpTools as fz, type ArbiErrorOptions as g, selectFullContextDocument as g0, selectWorkspace as g1, selectWorkspaceById as g2, sessions as g3, settings as g4, signatureRequests as g5, sliceToSubagentThread as g6, streamSSE as g7, stripCitationMarkdown as g8, subagentJobLabel as g9, summarizeCitations as ga, support as gb, tagUseCount as gc, tags as gd, tagsForScope as ge, tagsOfGroup as gf, topLevelAgentSteps as gg, uploadSkill as gh, usdToGbp as gi, views as gj, work as gk, workflowSteps as gl, workflows as gm, workspaceAssistant as gn, workspaceConflictOf as go, workspaces as gp, wouldCreateTagCycle as gq, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AssistantArrival as r, type AssistantBrief as s, type AssistantBriefInput as t, type AssistantStatus as u, type AttendeeRead as v, type AuthContext as w, type AuthHeaders as x, type AuthMode as y, type AuthenticatedClient as z };
19502
+ export { type ChatMemberKey as $, ACCOUNT_VENDOR as A, type AuthenticatedClient as B, type BookingConfirmation as C, type BookingPage as D, type BookingPageWriteBody as E, type BookingRequestBody as F, type BridgeTokensOptions as G, type CalDavConnectBody as H, type CalDavProfile as I, type CalendarAccount as J, type CalendarAccountKind as K, type CalendarCreateBody as L, type CalendarEvent as M, type CalendarKeys as N, type CalendarRead as O, type CalendarSettings as P, type CalendarSettingsBody as Q, type CalendarUpdate as R, type CalendarWindow as S, CallApiError as T, type Capabilities as U, type CarouselBlockConfig as V, type ChatAttachmentFile as W, type ChatAttachmentInput as X, type ChatCryptoContext as Y, type ChatKeyRing as Z, type ChatKind as _, type AccountSyncResult as a, type EventPatchBody as a$, type ChatMemberResponse as a0, type ChatMessage as a1, type ChatMessageResponse as a2, type ChatResponse as a3, type ChatSession as a4, type CitationSummary as a5, type CitationToolSources as a6, type CliConfig as a7, type CliCredentials as a8, type CommandDescriptor as a9, type DatabaseColumnWrite as aA, type DatabaseImportResult as aB, type DatabaseRow as aC, type DatabaseRowPage as aD, type DatabaseRowsQuery as aE, type DateTimeSpec as aF, type DecryptedChat as aG, type DecryptedChatMessage as aH, type DeploymentHouseTemplate as aI, type DiagnoseOptions as aJ, type DirectModelUsage as aK, type DocInfo as aL, type DocInfoMap as aM, type DocNameMap as aN, type DocumentAutomationAction as aO, type DocumentListFields as aP, type DocumentListOrder as aQ, type DocumentSelector as aR, type DocumentWaiter as aS, type DocumentWaiterOptions as aT, type DriveSyncProgress as aU, type DriveSyncSummary as aV, DuplicateContactError as aW, ENTITY_KINDS as aX, type EditScope as aY, type EntityKind as aZ, type EventCreateBody as a_, type ConfigStore as aa, type Configuration as ab, type ConfigurationPatch as ac, type ConnectOptions as ad, type ConnectionModel as ae, type ConnectorCatalogEntry as af, type ConnectorFolder as ag, type ConnectorSyncProgress as ah, type ConnectorSyncStatus as ai, type ConnectorVendorKey as aj, type ConnectorVisibilitySettings as ak, type ContextUsage as al, type ConversationResponse as am, type ConversationUsageResponse as an, type CreateFactRequest as ao, type CreateFactsRequest as ap, type CreateWorkRequest as aq, type CreateWorkflowRequest as ar, DEFAULT_AI_USD_PER_GBP as as, DOCUMENTS_VIEW_TARGET as at, DOC_TERMINAL_STATUSES as au, DRIVE_SYNC_VENDORS as av, type Database as aw, type DatabaseAggregateRequest as ax, type DatabaseAggregateResult as ay, type DatabaseColumn as az, type ActivityKind as b, type ProjectQuoteRequest as b$, FLAT_TAG_KINDS as b0, type FactResponse as b1, type FactSearchRequest as b2, type FactSearchResponse as b3, type FindTimeParams as b4, type FormattedWsMessage as b5, type FreeBusyEntry as b6, type FullContextSelection as b7, GOOGLE_VENDORS as b8, type HolidayCountry as b9, PROMPT_CONTEXT_CHARS as bA, type Page as bB, PagePrivateContentError as bC, type PageRecord as bD, type PageSpecWire as bE, type PageViewRef as bF, type ParsedResponse as bG, type ParsedSlashCommand as bH, type ParsedStructuredResponse as bI, type PendingAuthResponse as bJ, type PersonKey as bK, type PersonalConnectionInput as bL, PlanStepsError as bM, type PlanWorkRequest as bN, type ProductResponse as bO, type ProjectAddonKind as bP, type ProjectAddonSettingsRequest as bQ, type ProjectBudget as bR, type ProjectCheckoutRequest as bS, type ProjectConversationUsageResponse as bT, type ProjectCreateOptions as bU, type ProjectDetails as bV, type ProjectEventKind as bW, type ProjectEventResponse as bX, type ProjectInvoicesResponse as bY, type ProjectNextPeriodAddonsRequest as bZ, type ProjectPlanChangeRequest as b_, type HouseTemplateCandidate as ba, IMANAGE_VENDORS as bb, type IdentityErrorCode as bc, type IdentityPurchase as bd, type IdentityState as be, type IdentityStatus as bf, type ImportResult as bg, type InvitationRead as bh, type JsonSchemaOutputFormat as bi, type LinkedRun as bj, type ListAllOptions as bk, type ListBlockConfig as bl, type ListEventsParams as bm, type ListFactsOptions as bn, type ListPaginatedOptions as bo, MAILBOX_SYNC_VENDORS as bp, MAX_RETRIEVE_DOC_IDS as bq, MICROSOFT_VENDORS as br, type MailAttachment as bs, type MessageLevel as bt, type ModelConnection as bu, type OAuthAccountKind as bv, type OutputItemDone as bw, type OverlayItem as bx, type OverlayLayerName as by, PRESENCE_KINDS as bz, type ActivityResponse as c, type StepPhase as c$, type ProjectResponse as c0, type ProjectUpdateRequest as c1, type ProjectUsageResponse as c2, type ProjectsUsageResponse as c3, PublicBookingError as c4, type PublicBookingPage as c5, type QuotaExceeded as c6, type RaisedSignal as c7, type RawResponseEvent as c8, type ReconnectOptions as c9, type SSEStreamResult as cA, STEP_FIELD_OPTION_TONES as cB, STOP_ID_WAIT_MS as cC, STOP_REPEAT_WINDOW_MS as cD, SUPPORTED_EXTENSIONS as cE, type ScopedTarget as cF, type SearchChunk as cG, type SecureMailCompose as cH, type SecureMailSend as cI, type SecureMailSender as cJ, type SendBack as cK, type SetupDiagnostic as cL, type SetupReport as cM, type ShareRead as cN, type ShareRole as cO, type SkillSummary as cP, type SkippedFile as cQ, type SlackConnectionStatus as cR, type StartBlockConfig as cS, type StepActionRequest as cT, type StepActivityEvent as cU, type StepAssignee as cV, type StepDisplay as cW, type StepField as cX, type StepFieldOption as cY, type StepFieldOptionTone as cZ, type StepKind as c_, type ReconnectableWsConnection as ca, type ResolvedCitation as cb, type ResolvedRecipient as cc, type RespondParams as cd, type RespondPartstat as ce, type Response$1 as cf, type ResponseCreateRequest as cg, type ResponseCreateResult as ch, type ResponseHandle as ci, type ResponseSnapshot as cj, type ResponseStart as ck, type ResponseStartOptions as cl, ResponseStream as cm, type ResponseStreamEvent as cn, type ResponseTools as co, type RoomCreateBody as cp, type RoomQuery as cq, type RoomRead as cr, type RunProgress as cs, type RunStats as ct, type RunStep as cu, type RunWaitingOn as cv, SHAREPOINT_VENDORS as cw, type SSEEvent as cx, type SSEStreamCallbacks as cy, type SSEStreamOutcome as cz, type AgendaBlockConfig as d, type WorkspaceContext as d$, type StepSignal as d0, type StepSignalWhen as d1, type StepState as d2, type StepStatus as d3, type SubagentBranchRecord as d4, type SubagentLaneInfo as d5, type SubmitBackgroundQueryOptions as d6, type SubscribeParams as d7, type SupportRating as d8, type SupportTicket as d9, type ThreadsResponse as dA, type TimeSuggestion as dB, type TurnRequest as dC, type UpdateConversationRequest as dD, type UpdateFactRequest as dE, type UpdateWorkflowRequest as dF, type UploadBatchResult as dG, type UploadDirectOptions as dH, type UploadDirectResult as dI, type UploadDocumentsOptions as dJ, type UploadOptions as dK, type UploadProgressListener as dL, type UploadResult as dM, type UsageBreakdown as dN, type UserConnectorEntry as dO, type UserDailyUsageResponse as dP, type UserInfo as dQ, WebSocketAuthError as dR, type WeeklyHoursSpec as dS, type WorkStatus as dT, type WorkflowAuthMode as dU, type WorkflowResponse as dV, type WorkflowRunHistoryResponse as dW, type WorkflowRunResponse as dX, type WorkspaceAggregateQuery as dY, type WorkspaceAggregateResult as dZ, type WorkspaceConflict as d_, type SupportTicketInput as da, type SyncTriggerResult as db, TAG_KINDS as dc, TAG_NESTING_MAX_DEPTH as dd, type TableViewFilter as de, type TableViewRecord as df, type TableViewRows as dg, type TableViewSpec as dh, type TableViewTarget as di, type TagChange as dj, type TagFieldDefinition as dk, type TagGroup as dl, type TagKind as dm, type TagKindField as dn, type TagKindSchema as dp, type TagLinks as dq, type TagListQuery as dr, type TagNode as ds, type TagResponse as dt, type TagScope as du, type TagTreeRow as dv, type TaskPlan as dw, type TaskPlanStep as dx, type TaxQuoteResponse as dy, type Thread as dz, Arbi as e, formatStreamSummary as e$, type WorkspaceOpenResponse as e0, type WorkspaceResponse as e1, type WsConnection as e2, account as e3, agentconfig as e4, agents as e5, appendTranscriptionHints as e6, assistant as e7, authenticatedFetch as e8, bookPublicSlot as e9, createDocumentWaiter as eA, createIndexAssigner as eB, databases as eC, defaultKindForFormat as eD, diagnoseSetup as eE, doctags as eF, documentTools as eG, documents as eH, estimateDraftTokens as eI, extractDocumentIdsFromMessages as eJ, extractFactIdsFromMessages as eK, extractSubagentLanes as eL, facts as eM, files as eN, filterDocumentTags as eO, filterSkills as eP, filterText as eQ, findLeafForTaskMessage as eR, findMainSiblingLeaf as eS, findReplyTarget as eT, findSubagentRunId as eU, flattenTagTree as eV, formatAgentStepLabel as eW, formatFileSize as eX, formatGbp as eY, formatGbpPerMillionTokens as eZ, formatItemLabel as e_, buildCitationChunkData as ea, buildDocNameMap as eb, buildDocumentTools as ec, buildFactsContextTool as ed, buildRetrievalChunkTool as ee, buildRetrievalFullContextTool as ef, buildRetrievalTocTool as eg, buildTurnRequest as eh, calendar as ei, calls as ej, canTagHaveParent as ek, cancelPublicBooking as el, capabilities as em, chats as en, composeConfiguration as eo, composeTools as ep, computeRunStats as eq, connectErrorMessage as er, connectWebSocket as es, connectWithReconnect as et, connectors as eu, contacts as ev, continuityPrompt as ew, conversations as ex, countCitations as ey, createAuthenticatedClient as ez, ArbiApiError as f, requireData as f$, formatTokens as f0, formatUserName as f1, formatWorkspaceChoices as f2, formatWsMessage as f3, generateEncryptedWorkspaceKey as f4, generateNewWorkspaceKey as f5, getAgentStepLabel as f6, getAttachableRunId as f7, getChildTags as f8, getContextRemainingPercent as f9, isMailboxSyncVendor as fA, isNearAiUsageBudget as fB, isPresenceTag as fC, isSharePointVendor as fD, isSharedSkill as fE, isTraceItem as fF, mail as fG, mcpTools as fH, mergeAgentSteps as fI, modelConnections as fJ, notifications as fK, pages as fL, parseSSEEvents as fM, parseSlashCommand as fN, parseSlashTokenInProgress as fO, parseStructuredResponse as fP, performPasswordLogin as fQ, performSigningKeyLogin as fR, performSsoDeviceFlowLogin as fS, pickMainThread as fT, profile as fU, progressFetch as fV, projects as fW, quotaExceededFrom as fX, quotaFromStreamError as fY, reduceOutputItem as fZ, refusalReason as f_, getContextUsedPercent as fa, getContextUsedTokens as fb, getCurrentStep as fc, getEligibleParentTags as fd, getErrorCode as fe, getErrorMessage as ff, getPublicBookingPage as fg, getRawWorkspaceKey as fh, getRunToAttach as fi, getRunToCancel as fj, getStepDisplay as fk, getStepTool as fl, getSubagentBranchRecord as fm, getTagDescendantIds as fn, health as fo, houseTemplate as fp, hydrateAgentSteps as fq, identity as fr, identityErrorCode as fs, instructions as ft, isAnnotationTag as fu, isConnectorVendorVisible as fv, isDriveSyncVendor as fw, isEntityTag as fx, isFlatKind as fy, isLabelTag as fz, ArbiError as g, requireOk as g0, resolveAuth as g1, resolveCitations as g2, resolveSummary as g3, resolveWorkspace as g4, responses as g5, searchChunks as g6, secureMail as g7, selectFullContextDocument as g8, selectWorkspace as g9, selectWorkspaceById as ga, sessions as gb, settings as gc, signatureRequests as gd, sliceToSubagentThread as ge, streamSSE as gf, stripCitationMarkdown as gg, subagentJobLabel as gh, summarizeCitations as gi, support as gj, tagUseCount as gk, tags as gl, tagsForScope as gm, tagsOfGroup as gn, topLevelAgentSteps as go, uploadSkill as gp, usdToGbp as gq, views as gr, work as gs, workflowSteps as gt, workflows as gu, workspaceAssistant as gv, workspaceConflictOf as gw, workspaces as gx, wouldCreateTagCycle as gy, type ArbiErrorOptions as h, type ArbiHostSession as i, type ArbiOptions as j, ArbiSessionExpiredError as k, ArbiStructuredOutputError as l, ArbiTransportError as m, ArbiWorkspaceChangedError as n, ArbiWorkspaceSupersededError as o, ArbiWorkspaceUnavailableError as p, type AskHandlers as q, type AskRequest as r, type AssistantArrival as s, type AssistantBrief as t, type AssistantBriefInput as u, type AssistantStatus as v, type AttendeeRead as w, type AuthContext as x, type AuthHeaders as y, type AuthMode as z };
@@ -2982,6 +2982,14 @@ declare function copyDocuments(arbi: ArbiClient, targetWorkspaceId: string, docI
2982
2982
  skipped: boolean;
2983
2983
  }[];
2984
2984
  }>;
2985
+ type WorkspaceAggregateQuery = components['schemas']['WorkspaceAggregateQuery'];
2986
+ type WorkspaceAggregateResult = components['schemas']['WorkspaceAggregateResult'];
2987
+ /**
2988
+ * Count a workspace's documents, threads, tags, facts, workflows or recent activity on the server,
2989
+ * grouped by the queries' dimensions: one result per query, in order (the cells a chart draws,
2990
+ * without downloading the lists). The workspace's key must be on the session, as for its lists.
2991
+ */
2992
+ declare function aggregateWorkspace(arbi: ArbiClient, workspaceExtId: string, queries: WorkspaceAggregateQuery[]): Promise<WorkspaceAggregateResult[]>;
2985
2993
  interface WorkspaceActivityOptions {
2986
2994
  /** `next_cursor` of the previous page. */
2987
2995
  cursor?: string | null;
@@ -3101,6 +3109,8 @@ type workspaces_TransferScope = TransferScope;
3101
3109
  type workspaces_TransferStatus = TransferStatus;
3102
3110
  declare const workspaces_WORKSPACE_ROLE_LABELS: typeof WORKSPACE_ROLE_LABELS;
3103
3111
  type workspaces_WorkspaceActivityOptions = WorkspaceActivityOptions;
3112
+ type workspaces_WorkspaceAggregateQuery = WorkspaceAggregateQuery;
3113
+ type workspaces_WorkspaceAggregateResult = WorkspaceAggregateResult;
3104
3114
  type workspaces_WorkspaceArchive = WorkspaceArchive;
3105
3115
  type workspaces_WorkspaceExport = WorkspaceExport;
3106
3116
  type workspaces_WorkspaceResponse = WorkspaceResponse;
@@ -3108,6 +3118,7 @@ type workspaces_WorkspaceRoleName = WorkspaceRoleName;
3108
3118
  declare const workspaces_addWorkspaceMembers: typeof addWorkspaceMembers;
3109
3119
  declare const workspaces_addWorkspaceMembersBody: typeof addWorkspaceMembersBody;
3110
3120
  declare const workspaces_addWorkspaceUsers: typeof addWorkspaceUsers;
3121
+ declare const workspaces_aggregateWorkspace: typeof aggregateWorkspace;
3111
3122
  declare const workspaces_archiveWorkspace: typeof archiveWorkspace;
3112
3123
  declare const workspaces_cancelWorkspaceTransfer: typeof cancelWorkspaceTransfer;
3113
3124
  declare const workspaces_copyDocuments: typeof copyDocuments;
@@ -3134,7 +3145,7 @@ declare const workspaces_unarchiveWorkspace: typeof unarchiveWorkspace;
3134
3145
  declare const workspaces_updateWorkspace: typeof updateWorkspace;
3135
3146
  declare const workspaces_workspaceRoleLabel: typeof workspaceRoleLabel;
3136
3147
  declare namespace workspaces {
3137
- 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, workspaces_WORKSPACE_ROLE_LABELS as WORKSPACE_ROLE_LABELS, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, type workspaces_WorkspaceResponse as WorkspaceResponse, type workspaces_WorkspaceRoleName as WorkspaceRoleName, 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_parseWorkspaceRole as parseWorkspaceRole, 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, workspaces_workspaceRoleLabel as workspaceRoleLabel };
3148
+ 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, workspaces_WORKSPACE_ROLE_LABELS as WORKSPACE_ROLE_LABELS, type workspaces_WorkspaceActivityOptions as WorkspaceActivityOptions, type workspaces_WorkspaceAggregateQuery as WorkspaceAggregateQuery, type workspaces_WorkspaceAggregateResult as WorkspaceAggregateResult, type workspaces_WorkspaceArchive as WorkspaceArchive, type workspaces_WorkspaceExport as WorkspaceExport, type workspaces_WorkspaceResponse as WorkspaceResponse, type workspaces_WorkspaceRoleName as WorkspaceRoleName, workspaces_addWorkspaceMembers as addWorkspaceMembers, workspaces_addWorkspaceMembersBody as addWorkspaceMembersBody, workspaces_addWorkspaceUsers as addWorkspaceUsers, workspaces_aggregateWorkspace as aggregateWorkspace, 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_parseWorkspaceRole as parseWorkspaceRole, 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, workspaces_workspaceRoleLabel as workspaceRoleLabel };
3138
3149
  }
3139
3150
 
3140
3151
  /**
@@ -6004,6 +6015,7 @@ declare namespace profile {
6004
6015
  */
6005
6016
 
6006
6017
  type ProjectUsageResponse = components['schemas']['ProjectUsageResponse'];
6018
+ type ProjectsUsageResponse = components['schemas']['ProjectsUsageResponse'];
6007
6019
  type ProjectInvoicesResponse = components['schemas']['ProjectInvoicesResponse'];
6008
6020
  type UserDailyUsageResponse = components['schemas']['UserDailyUsageResponse'];
6009
6021
  type ProjectUpdateRequest = components['schemas']['ProjectUpdateRequest'];
@@ -6732,6 +6744,11 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
6732
6744
  * selects the period: 0 (default) = current, 1 = previous month, etc.
6733
6745
  */
6734
6746
  declare function getProjectUsage(arbi: ArbiClient, projectExtId: string, monthsBack?: number): Promise<ProjectUsageResponse>;
6747
+ /**
6748
+ * The AI usage of every project the caller owns, each for its own billing period `monthsBack`
6749
+ * periods ago, in one request (a project whose usage cannot be read has `usage: null`).
6750
+ */
6751
+ declare function listProjectsUsage(arbi: ArbiClient, monthsBack?: number): Promise<ProjectsUsageResponse>;
6735
6752
  /** List the Stripe invoices for a project's subscription. */
6736
6753
  declare function getProjectInvoices(arbi: ArbiClient, projectExtId: string): Promise<ProjectInvoicesResponse>;
6737
6754
  /**
@@ -7720,6 +7737,7 @@ type projects_ProjectResponse = ProjectResponse;
7720
7737
  type projects_ProjectSpendLimitsRequest = ProjectSpendLimitsRequest;
7721
7738
  type projects_ProjectUpdateRequest = ProjectUpdateRequest;
7722
7739
  type projects_ProjectUsageResponse = ProjectUsageResponse;
7740
+ type projects_ProjectsUsageResponse = ProjectsUsageResponse;
7723
7741
  type projects_TaxQuoteResponse = TaxQuoteResponse;
7724
7742
  type projects_UserDailyUsageResponse = UserDailyUsageResponse;
7725
7743
  declare const projects_addAddonBlock: typeof addAddonBlock;
@@ -7738,6 +7756,7 @@ declare const projects_getUserUsageToday: typeof getUserUsageToday;
7738
7756
  declare const projects_listProducts: typeof listProducts;
7739
7757
  declare const projects_listProjectEvents: typeof listProjectEvents;
7740
7758
  declare const projects_listProjects: typeof listProjects;
7759
+ declare const projects_listProjectsUsage: typeof listProjectsUsage;
7741
7760
  declare const projects_parseBudget: typeof parseBudget;
7742
7761
  declare const projects_previewPlanChange: typeof previewPlanChange;
7743
7762
  declare const projects_quoteAddon: typeof quoteAddon;
@@ -7748,7 +7767,7 @@ declare const projects_setNextPeriodAddons: typeof setNextPeriodAddons;
7748
7767
  declare const projects_updateAddonSettings: typeof updateAddonSettings;
7749
7768
  declare const projects_updateProject: typeof updateProject;
7750
7769
  declare namespace projects {
7751
- export { type projects_ProductResponse as ProductResponse, type projects_ProjectAddonKind as ProjectAddonKind, type projects_ProjectAddonSettingsRequest as ProjectAddonSettingsRequest, type projects_ProjectBudget as ProjectBudget, type projects_ProjectCheckoutRequest as ProjectCheckoutRequest, type projects_ProjectConversationUsageResponse as ProjectConversationUsageResponse, type projects_ProjectCreateOptions as ProjectCreateOptions, type projects_ProjectDetails as ProjectDetails, type projects_ProjectEventKind as ProjectEventKind, type projects_ProjectEventResponse as ProjectEventResponse, type projects_ProjectInvoicesResponse as ProjectInvoicesResponse, type projects_ProjectNextPeriodAddonsRequest as ProjectNextPeriodAddonsRequest, type projects_ProjectPlanChangeRequest as ProjectPlanChangeRequest, type projects_ProjectQuoteRequest as ProjectQuoteRequest, type projects_ProjectResponse as ProjectResponse, type projects_ProjectSpendLimitsRequest as ProjectSpendLimitsRequest, type projects_ProjectUpdateRequest as ProjectUpdateRequest, type projects_ProjectUsageResponse as ProjectUsageResponse, type projects_TaxQuoteResponse as TaxQuoteResponse, type projects_UserDailyUsageResponse as UserDailyUsageResponse, projects_addAddonBlock as addAddonBlock, projects_billingPortal as billingPortal, projects_cancelSubscription as cancelSubscription, projects_changePlan as changePlan, projects_confirmSpendLimits as confirmSpendLimits, projects_createCheckout as createCheckout, projects_createProject as createProject, projects_deleteProject as deleteProject, projects_formatBudget as formatBudget, projects_getProjectConversationUsage as getProjectConversationUsage, projects_getProjectInvoices as getProjectInvoices, projects_getProjectUsage as getProjectUsage, projects_getUserUsageToday as getUserUsageToday, projects_listProducts as listProducts, projects_listProjectEvents as listProjectEvents, projects_listProjects as listProjects, projects_parseBudget as parseBudget, projects_previewPlanChange as previewPlanChange, projects_quoteAddon as quoteAddon, projects_quotePlan as quotePlan, projects_refreshProject as refreshProject, projects_renameProject as renameProject, projects_setNextPeriodAddons as setNextPeriodAddons, projects_updateAddonSettings as updateAddonSettings, projects_updateProject as updateProject };
7770
+ export { type projects_ProductResponse as ProductResponse, type projects_ProjectAddonKind as ProjectAddonKind, type projects_ProjectAddonSettingsRequest as ProjectAddonSettingsRequest, type projects_ProjectBudget as ProjectBudget, type projects_ProjectCheckoutRequest as ProjectCheckoutRequest, type projects_ProjectConversationUsageResponse as ProjectConversationUsageResponse, type projects_ProjectCreateOptions as ProjectCreateOptions, type projects_ProjectDetails as ProjectDetails, type projects_ProjectEventKind as ProjectEventKind, type projects_ProjectEventResponse as ProjectEventResponse, type projects_ProjectInvoicesResponse as ProjectInvoicesResponse, type projects_ProjectNextPeriodAddonsRequest as ProjectNextPeriodAddonsRequest, type projects_ProjectPlanChangeRequest as ProjectPlanChangeRequest, type projects_ProjectQuoteRequest as ProjectQuoteRequest, type projects_ProjectResponse as ProjectResponse, type projects_ProjectSpendLimitsRequest as ProjectSpendLimitsRequest, type projects_ProjectUpdateRequest as ProjectUpdateRequest, type projects_ProjectUsageResponse as ProjectUsageResponse, type projects_ProjectsUsageResponse as ProjectsUsageResponse, type projects_TaxQuoteResponse as TaxQuoteResponse, type projects_UserDailyUsageResponse as UserDailyUsageResponse, projects_addAddonBlock as addAddonBlock, projects_billingPortal as billingPortal, projects_cancelSubscription as cancelSubscription, projects_changePlan as changePlan, projects_confirmSpendLimits as confirmSpendLimits, projects_createCheckout as createCheckout, projects_createProject as createProject, projects_deleteProject as deleteProject, projects_formatBudget as formatBudget, projects_getProjectConversationUsage as getProjectConversationUsage, projects_getProjectInvoices as getProjectInvoices, projects_getProjectUsage as getProjectUsage, projects_getUserUsageToday as getUserUsageToday, projects_listProducts as listProducts, projects_listProjectEvents as listProjectEvents, projects_listProjects as listProjects, projects_listProjectsUsage as listProjectsUsage, projects_parseBudget as parseBudget, projects_previewPlanChange as previewPlanChange, projects_quoteAddon as quoteAddon, projects_quotePlan as quotePlan, projects_refreshProject as refreshProject, projects_renameProject as renameProject, projects_setNextPeriodAddons as setNextPeriodAddons, projects_updateAddonSettings as updateAddonSettings, projects_updateProject as updateProject };
7752
7771
  }
7753
7772
 
7754
7773
  /**
@@ -7766,6 +7785,14 @@ declare namespace projects {
7766
7785
  type PageRecord = components['schemas']['PageRead'];
7767
7786
  type PageSpecWire = components['schemas']['PageSpec'];
7768
7787
  type PageViewRef = components['schemas']['PageViewRef'];
7788
+ /** A live list block: the viewer's own latest files, threads or facts (it names no item). */
7789
+ type ListBlockConfig = components['schemas']['ListBlockConfig'];
7790
+ /** A live carousel block: the viewer's skills or workflows, as cards to start or open. */
7791
+ type CarouselBlockConfig = components['schemas']['CarouselBlockConfig'];
7792
+ /** A live agenda block: the viewer's next calendar events. */
7793
+ type AgendaBlockConfig = components['schemas']['AgendaBlockConfig'];
7794
+ /** The workspace home's Start band as a block: nothing to configure. */
7795
+ type StartBlockConfig = components['schemas']['StartBlockConfig'];
7769
7796
  /** A page as read. */
7770
7797
  interface Page {
7771
7798
  id: string;
@@ -7810,13 +7837,17 @@ declare function updatePage(arbi: ArbiClient, id: string, spec: PageSpecWire): P
7810
7837
  declare function sharePage(arbi: ArbiClient, id: string): Promise<Page>;
7811
7838
  declare function deletePage(arbi: ArbiClient, id: string): Promise<void>;
7812
7839
 
7840
+ type pages_AgendaBlockConfig = AgendaBlockConfig;
7841
+ type pages_CarouselBlockConfig = CarouselBlockConfig;
7813
7842
  type pages_KeypairSource = KeypairSource;
7843
+ type pages_ListBlockConfig = ListBlockConfig;
7814
7844
  type pages_Page = Page;
7815
7845
  type pages_PagePrivateContentError = PagePrivateContentError;
7816
7846
  declare const pages_PagePrivateContentError: typeof PagePrivateContentError;
7817
7847
  type pages_PageRecord = PageRecord;
7818
7848
  type pages_PageSpecWire = PageSpecWire;
7819
7849
  type pages_PageViewRef = PageViewRef;
7850
+ type pages_StartBlockConfig = StartBlockConfig;
7820
7851
  declare const pages_createPage: typeof createPage;
7821
7852
  declare const pages_deletePage: typeof deletePage;
7822
7853
  declare const pages_getPage: typeof getPage;
@@ -7824,7 +7855,7 @@ declare const pages_listPages: typeof listPages;
7824
7855
  declare const pages_sharePage: typeof sharePage;
7825
7856
  declare const pages_updatePage: typeof updatePage;
7826
7857
  declare namespace pages {
7827
- export { type pages_KeypairSource as KeypairSource, type pages_Page as Page, pages_PagePrivateContentError as PagePrivateContentError, type pages_PageRecord as PageRecord, type pages_PageSpecWire as PageSpecWire, type pages_PageViewRef as PageViewRef, pages_createPage as createPage, pages_deletePage as deletePage, pages_getPage as getPage, pages_listPages as listPages, pages_sharePage as sharePage, pages_updatePage as updatePage };
7858
+ export { type pages_AgendaBlockConfig as AgendaBlockConfig, type pages_CarouselBlockConfig as CarouselBlockConfig, type pages_KeypairSource as KeypairSource, type pages_ListBlockConfig as ListBlockConfig, type pages_Page as Page, pages_PagePrivateContentError as PagePrivateContentError, type pages_PageRecord as PageRecord, type pages_PageSpecWire as PageSpecWire, type pages_PageViewRef as PageViewRef, type pages_StartBlockConfig as StartBlockConfig, pages_createPage as createPage, pages_deletePage as deletePage, pages_getPage as getPage, pages_listPages as listPages, pages_sharePage as sharePage, pages_updatePage as updatePage };
7828
7859
  }
7829
7860
 
7830
7861
  /**
@@ -8500,12 +8531,23 @@ declare namespace databases {
8500
8531
  type TableViewRecord = components['schemas']['TableViewRead'];
8501
8532
  type TableViewSpec = components['schemas']['TableViewSpec'];
8502
8533
  type TableViewFilter = components['schemas']['DatabaseFilter'];
8534
+ /** A view with its database, its columns and its rows (`GET /v1/views/{id}/rows`). */
8535
+ type TableViewRows = components['schemas']['TableViewRows'];
8503
8536
  /** A view's table: a database id, or `documents` for the document table. */
8504
8537
  type TableViewTarget = string;
8505
8538
  declare const DOCUMENTS_VIEW_TARGET = "documents";
8506
8539
  /** The views the caller can see: of one table, or (no target) every table of the open workspace. */
8507
8540
  declare function listTableViews(arbi: ArbiClient, target?: TableViewTarget): Promise<TableViewRecord[]>;
8508
8541
  declare function getTableView(arbi: ArbiClient, viewId: string): Promise<TableViewRecord>;
8542
+ /**
8543
+ * A view and its rows in one read: the view, its database, the view's columns in its order and the
8544
+ * rows with its filters and sort applied (each with only those columns). A view of the document
8545
+ * table comes back without a database or rows.
8546
+ */
8547
+ declare function getTableViewRows(arbi: ArbiClient, viewId: string, page?: {
8548
+ offset?: number;
8549
+ limit?: number;
8550
+ }): Promise<TableViewRows>;
8509
8551
  /** Save a view of a table; private unless `shared` (sharing takes a workspace editor). */
8510
8552
  declare function createTableView(arbi: ArbiClient, target: TableViewTarget, spec: TableViewSpec, options?: {
8511
8553
  shared?: boolean;
@@ -8525,17 +8567,19 @@ declare function filterText(filter: TableViewFilter): string;
8525
8567
  declare const views_DOCUMENTS_VIEW_TARGET: typeof DOCUMENTS_VIEW_TARGET;
8526
8568
  type views_TableViewFilter = TableViewFilter;
8527
8569
  type views_TableViewRecord = TableViewRecord;
8570
+ type views_TableViewRows = TableViewRows;
8528
8571
  type views_TableViewSpec = TableViewSpec;
8529
8572
  type views_TableViewTarget = TableViewTarget;
8530
8573
  declare const views_createTableView: typeof createTableView;
8531
8574
  declare const views_deleteTableView: typeof deleteTableView;
8532
8575
  declare const views_filterText: typeof filterText;
8533
8576
  declare const views_getTableView: typeof getTableView;
8577
+ declare const views_getTableViewRows: typeof getTableViewRows;
8534
8578
  declare const views_listTableViews: typeof listTableViews;
8535
8579
  declare const views_shareTableView: typeof shareTableView;
8536
8580
  declare const views_updateTableView: typeof updateTableView;
8537
8581
  declare namespace views {
8538
- export { views_DOCUMENTS_VIEW_TARGET as DOCUMENTS_VIEW_TARGET, type views_TableViewFilter as TableViewFilter, type views_TableViewRecord as TableViewRecord, type views_TableViewSpec as TableViewSpec, type views_TableViewTarget as TableViewTarget, views_createTableView as createTableView, views_deleteTableView as deleteTableView, views_filterText as filterText, views_getTableView as getTableView, views_listTableViews as listTableViews, views_shareTableView as shareTableView, views_updateTableView as updateTableView };
8582
+ export { views_DOCUMENTS_VIEW_TARGET as DOCUMENTS_VIEW_TARGET, type views_TableViewFilter as TableViewFilter, type views_TableViewRecord as TableViewRecord, type views_TableViewRows as TableViewRows, type views_TableViewSpec as TableViewSpec, type views_TableViewTarget as TableViewTarget, views_createTableView as createTableView, views_deleteTableView as deleteTableView, views_filterText as filterText, views_getTableView as getTableView, views_getTableViewRows as getTableViewRows, views_listTableViews as listTableViews, views_shareTableView as shareTableView, views_updateTableView as updateTableView };
8539
8583
  }
8540
8584
 
8541
8585
  /**
@@ -10276,6 +10320,10 @@ declare class Arbi {
10276
10320
  };
10277
10321
  invoice_pdf?: string | null;
10278
10322
  }>;
10323
+ /** The usage of every project the caller owns, in one request. */
10324
+ usageOfOwned: (monthsBack?: number) => Promise<{
10325
+ projects: components["schemas"]["ProjectUsageEntry"][];
10326
+ }>;
10279
10327
  /** Stripe invoices for a project's subscription. */
10280
10328
  invoices: (projectExtId: string) => Promise<{
10281
10329
  project_ext_id: string;
@@ -11637,6 +11685,14 @@ declare class Arbi {
11637
11685
  }[];
11638
11686
  next_cursor?: string | null | undefined;
11639
11687
  }>;
11688
+ /** Count a workspace's items on the server, grouped (see `aggregateWorkspace`). */
11689
+ aggregate: (workspaceId: string, queries: WorkspaceAggregateQuery[]) => Promise<{
11690
+ cells: components["schemas"]["AggregateCell"][];
11691
+ labels?: {
11692
+ [key: string]: string;
11693
+ };
11694
+ truncated: boolean;
11695
+ }[]>;
11640
11696
  /**
11641
11697
  * Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. `role`
11642
11698
  * defaults to `collaborator`; `guest` makes a read-only member (shown as "Viewer").
@@ -17825,6 +17881,17 @@ declare class Arbi {
17825
17881
  created_at: string;
17826
17882
  updated_at: string;
17827
17883
  }>;
17884
+ /** The view with its database, columns and rows (filters and sort applied), in one read. */
17885
+ rows: (viewId: string, page?: {
17886
+ offset?: number;
17887
+ limit?: number;
17888
+ }) => Promise<{
17889
+ view: components["schemas"]["TableViewRead"];
17890
+ database?: components["schemas"]["DatabaseRead"] | null;
17891
+ columns?: components["schemas"]["DatabaseColumn"][];
17892
+ rows?: components["schemas"]["DatabaseRowRead"][];
17893
+ total: number;
17894
+ }>;
17828
17895
  create: (target: TableViewTarget, spec: TableViewSpec, options?: {
17829
17896
  shared?: boolean;
17830
17897
  }) => Promise<{
@@ -19432,4 +19499,4 @@ declare function documentTools(options: {
19432
19499
  /** Add replaces matching tool names; replace discards all previous tools. No mutation of inputs. */
19433
19500
  declare function composeTools(base: ResponseTools, next: ResponseTools, mode: 'add' | 'replace'): ResponseTools;
19434
19501
 
19435
- export { type ChatMessage as $, ACCOUNT_VENDOR as A, type BookingConfirmation as B, type BookingPage as C, type BookingPageWriteBody as D, type BookingRequestBody as E, type BridgeTokensOptions as F, type CalDavConnectBody as G, type CalDavProfile as H, type CalendarAccount as I, type CalendarAccountKind as J, type CalendarCreateBody as K, type CalendarEvent as L, type CalendarKeys as M, type CalendarRead as N, type CalendarSettings as O, type CalendarSettingsBody as P, type CalendarUpdate as Q, type CalendarWindow as R, CallApiError as S, type Capabilities as T, type ChatAttachmentFile as U, type ChatAttachmentInput as V, type ChatCryptoContext as W, type ChatKeyRing as X, type ChatKind as Y, type ChatMemberKey as Z, type ChatMemberResponse as _, type AccountSyncResult as a, type FactResponse as a$, type ChatMessageResponse as a0, type ChatResponse as a1, type ChatSession as a2, type CitationSummary as a3, type CitationToolSources as a4, type CliConfig as a5, type CliCredentials as a6, type CommandDescriptor as a7, type ConfigStore as a8, type Configuration as a9, type DatabaseRow as aA, type DatabaseRowPage as aB, type DatabaseRowsQuery as aC, type DateTimeSpec as aD, type DecryptedChat as aE, type DecryptedChatMessage as aF, type DeploymentHouseTemplate as aG, type DiagnoseOptions as aH, type DirectModelUsage as aI, type DocInfo as aJ, type DocInfoMap as aK, type DocNameMap as aL, type DocumentAutomationAction as aM, type DocumentListFields as aN, type DocumentListOrder as aO, type DocumentSelector as aP, type DocumentWaiter as aQ, type DocumentWaiterOptions as aR, type DriveSyncProgress as aS, type DriveSyncSummary as aT, DuplicateContactError as aU, ENTITY_KINDS as aV, type EditScope as aW, type EntityKind as aX, type EventCreateBody as aY, type EventPatchBody as aZ, FLAT_TAG_KINDS as a_, type ConfigurationPatch as aa, type ConnectOptions as ab, type ConnectionModel as ac, type ConnectorCatalogEntry as ad, type ConnectorFolder as ae, type ConnectorSyncProgress as af, type ConnectorSyncStatus as ag, type ConnectorVendorKey as ah, type ConnectorVisibilitySettings as ai, type ContextUsage as aj, type ConversationResponse as ak, type ConversationUsageResponse as al, type CreateFactRequest as am, type CreateFactsRequest as an, type CreateWorkRequest as ao, type CreateWorkflowRequest as ap, DEFAULT_AI_USD_PER_GBP as aq, DOCUMENTS_VIEW_TARGET as ar, DOC_TERMINAL_STATUSES as as, DRIVE_SYNC_VENDORS as at, type Database as au, type DatabaseAggregateRequest as av, type DatabaseAggregateResult as aw, type DatabaseColumn as ax, type DatabaseColumnWrite as ay, type DatabaseImportResult as az, type ActivityKind as b, type ProjectUsageResponse as b$, type FactSearchRequest as b0, type FactSearchResponse as b1, type FindTimeParams as b2, type FormattedWsMessage as b3, type FreeBusyEntry as b4, type FullContextSelection as b5, GOOGLE_VENDORS as b6, type HolidayCountry as b7, type HouseTemplateCandidate as b8, IMANAGE_VENDORS as b9, type PageRecord as bA, type PageSpecWire as bB, type PageViewRef as bC, type ParsedResponse as bD, type ParsedSlashCommand as bE, type ParsedStructuredResponse as bF, type PendingAuthResponse as bG, type PersonKey as bH, type PersonalConnectionInput as bI, PlanStepsError as bJ, type PlanWorkRequest as bK, type ProductResponse as bL, type ProjectAddonKind as bM, type ProjectAddonSettingsRequest as bN, type ProjectBudget as bO, type ProjectCheckoutRequest as bP, type ProjectConversationUsageResponse as bQ, type ProjectCreateOptions as bR, type ProjectDetails as bS, type ProjectEventKind as bT, type ProjectEventResponse as bU, type ProjectInvoicesResponse as bV, type ProjectNextPeriodAddonsRequest as bW, type ProjectPlanChangeRequest as bX, type ProjectQuoteRequest as bY, type ProjectResponse as bZ, type ProjectUpdateRequest as b_, type IdentityErrorCode as ba, type IdentityPurchase as bb, type IdentityState as bc, type IdentityStatus as bd, type ImportResult as be, type InvitationRead as bf, type JsonSchemaOutputFormat as bg, type LinkedRun as bh, type ListAllOptions as bi, type ListEventsParams as bj, type ListFactsOptions as bk, type ListPaginatedOptions as bl, MAILBOX_SYNC_VENDORS as bm, MAX_RETRIEVE_DOC_IDS as bn, MICROSOFT_VENDORS as bo, type MailAttachment as bp, type MessageLevel as bq, type ModelConnection as br, type OAuthAccountKind as bs, type OutputItemDone as bt, type OverlayItem as bu, type OverlayLayerName as bv, PRESENCE_KINDS as bw, PROMPT_CONTEXT_CHARS as bx, type Page as by, PagePrivateContentError as bz, type ActivityResponse as c, type SubagentBranchRecord as c$, PublicBookingError as c0, type PublicBookingPage as c1, type QuotaExceeded as c2, type RaisedSignal as c3, type RawResponseEvent as c4, type ReconnectOptions as c5, type ReconnectableWsConnection as c6, type ResolvedCitation as c7, type ResolvedRecipient as c8, type RespondParams as c9, SUPPORTED_EXTENSIONS as cA, type ScopedTarget as cB, type SearchChunk as cC, type SecureMailCompose as cD, type SecureMailSend as cE, type SecureMailSender as cF, type SendBack as cG, type SetupDiagnostic as cH, type SetupReport as cI, type ShareRead as cJ, type ShareRole as cK, type SkillSummary as cL, type SkippedFile as cM, type SlackConnectionStatus as cN, type StepActionRequest as cO, type StepActivityEvent as cP, type StepAssignee as cQ, type StepDisplay as cR, type StepField as cS, type StepFieldOption as cT, type StepFieldOptionTone as cU, type StepKind as cV, type StepPhase as cW, type StepSignal as cX, type StepSignalWhen as cY, type StepState as cZ, type StepStatus as c_, type RespondPartstat as ca, type Response$1 as cb, type ResponseCreateRequest as cc, type ResponseCreateResult as cd, type ResponseHandle as ce, type ResponseSnapshot as cf, type ResponseStart as cg, type ResponseStartOptions as ch, ResponseStream as ci, type ResponseStreamEvent as cj, type ResponseTools as ck, type RoomCreateBody as cl, type RoomQuery as cm, type RoomRead as cn, type RunProgress as co, type RunStats as cp, type RunStep as cq, type RunWaitingOn as cr, SHAREPOINT_VENDORS as cs, type SSEEvent as ct, type SSEStreamCallbacks as cu, type SSEStreamOutcome as cv, type SSEStreamResult as cw, STEP_FIELD_OPTION_TONES as cx, STOP_ID_WAIT_MS as cy, STOP_REPEAT_WINDOW_MS as cz, Arbi as d, assistant as d$, type SubagentLaneInfo as d0, type SubmitBackgroundQueryOptions as d1, type SubscribeParams as d2, type SupportRating as d3, type SupportTicket as d4, type SupportTicketInput as d5, type SyncTriggerResult as d6, TAG_KINDS as d7, TAG_NESTING_MAX_DEPTH as d8, type TableViewFilter as d9, type UploadBatchResult as dA, type UploadDirectOptions as dB, type UploadDirectResult as dC, type UploadDocumentsOptions as dD, type UploadOptions as dE, type UploadProgressListener as dF, type UploadResult as dG, type UsageBreakdown as dH, type UserConnectorEntry as dI, type UserDailyUsageResponse as dJ, type UserInfo as dK, WebSocketAuthError as dL, type WeeklyHoursSpec as dM, type WorkStatus as dN, type WorkflowAuthMode as dO, type WorkflowResponse as dP, type WorkflowRunHistoryResponse as dQ, type WorkflowRunResponse as dR, type WorkspaceConflict as dS, type WorkspaceContext as dT, type WorkspaceOpenResponse as dU, type WorkspaceResponse as dV, type WsConnection as dW, account as dX, agentconfig as dY, agents as dZ, appendTranscriptionHints as d_, type TableViewRecord as da, type TableViewSpec as db, type TableViewTarget as dc, type TagChange as dd, type TagFieldDefinition as de, type TagGroup as df, type TagKind as dg, type TagKindField as dh, type TagKindSchema as di, type TagLinks as dj, type TagListQuery as dk, type TagNode as dl, type TagResponse as dm, type TagScope as dn, type TagTreeRow as dp, type TaskPlan as dq, type TaskPlanStep as dr, type TaxQuoteResponse as ds, type Thread as dt, type ThreadsResponse as du, type TimeSuggestion as dv, type TurnRequest as dw, type UpdateConversationRequest as dx, type UpdateFactRequest as dy, type UpdateWorkflowRequest as dz, ArbiApiError as e, getAttachableRunId as e$, authenticatedFetch as e0, bookPublicSlot as e1, buildCitationChunkData as e2, buildDocNameMap as e3, buildDocumentTools as e4, buildFactsContextTool as e5, buildRetrievalChunkTool as e6, buildRetrievalFullContextTool as e7, buildRetrievalTocTool as e8, buildTurnRequest as e9, estimateDraftTokens as eA, extractDocumentIdsFromMessages as eB, extractFactIdsFromMessages as eC, extractSubagentLanes as eD, facts as eE, files as eF, filterDocumentTags as eG, filterSkills as eH, filterText as eI, findLeafForTaskMessage as eJ, findMainSiblingLeaf as eK, findReplyTarget as eL, findSubagentRunId as eM, flattenTagTree as eN, formatAgentStepLabel as eO, formatFileSize as eP, formatGbp as eQ, formatGbpPerMillionTokens as eR, formatItemLabel as eS, formatStreamSummary as eT, formatTokens as eU, formatUserName as eV, formatWorkspaceChoices as eW, formatWsMessage as eX, generateEncryptedWorkspaceKey as eY, generateNewWorkspaceKey as eZ, getAgentStepLabel as e_, calendar as ea, calls as eb, canTagHaveParent as ec, cancelPublicBooking as ed, capabilities as ee, chats as ef, composeConfiguration as eg, composeTools as eh, computeRunStats as ei, connectErrorMessage as ej, connectWebSocket as ek, connectWithReconnect as el, connectors as em, contacts as en, continuityPrompt as eo, conversations as ep, countCitations as eq, createAuthenticatedClient as er, createDocumentWaiter as es, createIndexAssigner as et, databases as eu, defaultKindForFormat as ev, diagnoseSetup as ew, doctags as ex, documentTools as ey, documents as ez, ArbiError as f, secureMail as f$, getChildTags as f0, getContextRemainingPercent as f1, getContextUsedPercent as f2, getContextUsedTokens as f3, getCurrentStep as f4, getEligibleParentTags as f5, getErrorCode as f6, getErrorMessage as f7, getPublicBookingPage as f8, getRawWorkspaceKey as f9, mergeAgentSteps as fA, modelConnections as fB, notifications as fC, pages as fD, parseSSEEvents as fE, parseSlashCommand as fF, parseSlashTokenInProgress as fG, parseStructuredResponse as fH, performPasswordLogin as fI, performSigningKeyLogin as fJ, performSsoDeviceFlowLogin as fK, pickMainThread as fL, profile as fM, progressFetch as fN, projects as fO, quotaExceededFrom as fP, quotaFromStreamError as fQ, reduceOutputItem as fR, refusalReason as fS, requireData as fT, requireOk as fU, resolveAuth as fV, resolveCitations as fW, resolveSummary as fX, resolveWorkspace as fY, responses as fZ, searchChunks as f_, getRunToAttach as fa, getRunToCancel as fb, getStepDisplay as fc, getStepTool as fd, getSubagentBranchRecord as fe, getTagDescendantIds as ff, health as fg, houseTemplate as fh, hydrateAgentSteps as fi, identity as fj, identityErrorCode as fk, instructions as fl, isAnnotationTag as fm, isConnectorVendorVisible as fn, isDriveSyncVendor as fo, isEntityTag as fp, isFlatKind as fq, isLabelTag as fr, isMailboxSyncVendor as fs, isNearAiUsageBudget as ft, isPresenceTag as fu, isSharePointVendor as fv, isSharedSkill as fw, isTraceItem as fx, mail as fy, mcpTools as fz, type ArbiErrorOptions as g, selectFullContextDocument as g0, selectWorkspace as g1, selectWorkspaceById as g2, sessions as g3, settings as g4, signatureRequests as g5, sliceToSubagentThread as g6, streamSSE as g7, stripCitationMarkdown as g8, subagentJobLabel as g9, summarizeCitations as ga, support as gb, tagUseCount as gc, tags as gd, tagsForScope as ge, tagsOfGroup as gf, topLevelAgentSteps as gg, uploadSkill as gh, usdToGbp as gi, views as gj, work as gk, workflowSteps as gl, workflows as gm, workspaceAssistant as gn, workspaceConflictOf as go, workspaces as gp, wouldCreateTagCycle as gq, type ArbiHostSession as h, type ArbiOptions as i, ArbiSessionExpiredError as j, ArbiStructuredOutputError as k, ArbiTransportError as l, ArbiWorkspaceChangedError as m, ArbiWorkspaceSupersededError as n, ArbiWorkspaceUnavailableError as o, type AskHandlers as p, type AskRequest as q, type AssistantArrival as r, type AssistantBrief as s, type AssistantBriefInput as t, type AssistantStatus as u, type AttendeeRead as v, type AuthContext as w, type AuthHeaders as x, type AuthMode as y, type AuthenticatedClient as z };
19502
+ export { type ChatMemberKey as $, ACCOUNT_VENDOR as A, type AuthenticatedClient as B, type BookingConfirmation as C, type BookingPage as D, type BookingPageWriteBody as E, type BookingRequestBody as F, type BridgeTokensOptions as G, type CalDavConnectBody as H, type CalDavProfile as I, type CalendarAccount as J, type CalendarAccountKind as K, type CalendarCreateBody as L, type CalendarEvent as M, type CalendarKeys as N, type CalendarRead as O, type CalendarSettings as P, type CalendarSettingsBody as Q, type CalendarUpdate as R, type CalendarWindow as S, CallApiError as T, type Capabilities as U, type CarouselBlockConfig as V, type ChatAttachmentFile as W, type ChatAttachmentInput as X, type ChatCryptoContext as Y, type ChatKeyRing as Z, type ChatKind as _, type AccountSyncResult as a, type EventPatchBody as a$, type ChatMemberResponse as a0, type ChatMessage as a1, type ChatMessageResponse as a2, type ChatResponse as a3, type ChatSession as a4, type CitationSummary as a5, type CitationToolSources as a6, type CliConfig as a7, type CliCredentials as a8, type CommandDescriptor as a9, type DatabaseColumnWrite as aA, type DatabaseImportResult as aB, type DatabaseRow as aC, type DatabaseRowPage as aD, type DatabaseRowsQuery as aE, type DateTimeSpec as aF, type DecryptedChat as aG, type DecryptedChatMessage as aH, type DeploymentHouseTemplate as aI, type DiagnoseOptions as aJ, type DirectModelUsage as aK, type DocInfo as aL, type DocInfoMap as aM, type DocNameMap as aN, type DocumentAutomationAction as aO, type DocumentListFields as aP, type DocumentListOrder as aQ, type DocumentSelector as aR, type DocumentWaiter as aS, type DocumentWaiterOptions as aT, type DriveSyncProgress as aU, type DriveSyncSummary as aV, DuplicateContactError as aW, ENTITY_KINDS as aX, type EditScope as aY, type EntityKind as aZ, type EventCreateBody as a_, type ConfigStore as aa, type Configuration as ab, type ConfigurationPatch as ac, type ConnectOptions as ad, type ConnectionModel as ae, type ConnectorCatalogEntry as af, type ConnectorFolder as ag, type ConnectorSyncProgress as ah, type ConnectorSyncStatus as ai, type ConnectorVendorKey as aj, type ConnectorVisibilitySettings as ak, type ContextUsage as al, type ConversationResponse as am, type ConversationUsageResponse as an, type CreateFactRequest as ao, type CreateFactsRequest as ap, type CreateWorkRequest as aq, type CreateWorkflowRequest as ar, DEFAULT_AI_USD_PER_GBP as as, DOCUMENTS_VIEW_TARGET as at, DOC_TERMINAL_STATUSES as au, DRIVE_SYNC_VENDORS as av, type Database as aw, type DatabaseAggregateRequest as ax, type DatabaseAggregateResult as ay, type DatabaseColumn as az, type ActivityKind as b, type ProjectQuoteRequest as b$, FLAT_TAG_KINDS as b0, type FactResponse as b1, type FactSearchRequest as b2, type FactSearchResponse as b3, type FindTimeParams as b4, type FormattedWsMessage as b5, type FreeBusyEntry as b6, type FullContextSelection as b7, GOOGLE_VENDORS as b8, type HolidayCountry as b9, PROMPT_CONTEXT_CHARS as bA, type Page as bB, PagePrivateContentError as bC, type PageRecord as bD, type PageSpecWire as bE, type PageViewRef as bF, type ParsedResponse as bG, type ParsedSlashCommand as bH, type ParsedStructuredResponse as bI, type PendingAuthResponse as bJ, type PersonKey as bK, type PersonalConnectionInput as bL, PlanStepsError as bM, type PlanWorkRequest as bN, type ProductResponse as bO, type ProjectAddonKind as bP, type ProjectAddonSettingsRequest as bQ, type ProjectBudget as bR, type ProjectCheckoutRequest as bS, type ProjectConversationUsageResponse as bT, type ProjectCreateOptions as bU, type ProjectDetails as bV, type ProjectEventKind as bW, type ProjectEventResponse as bX, type ProjectInvoicesResponse as bY, type ProjectNextPeriodAddonsRequest as bZ, type ProjectPlanChangeRequest as b_, type HouseTemplateCandidate as ba, IMANAGE_VENDORS as bb, type IdentityErrorCode as bc, type IdentityPurchase as bd, type IdentityState as be, type IdentityStatus as bf, type ImportResult as bg, type InvitationRead as bh, type JsonSchemaOutputFormat as bi, type LinkedRun as bj, type ListAllOptions as bk, type ListBlockConfig as bl, type ListEventsParams as bm, type ListFactsOptions as bn, type ListPaginatedOptions as bo, MAILBOX_SYNC_VENDORS as bp, MAX_RETRIEVE_DOC_IDS as bq, MICROSOFT_VENDORS as br, type MailAttachment as bs, type MessageLevel as bt, type ModelConnection as bu, type OAuthAccountKind as bv, type OutputItemDone as bw, type OverlayItem as bx, type OverlayLayerName as by, PRESENCE_KINDS as bz, type ActivityResponse as c, type StepPhase as c$, type ProjectResponse as c0, type ProjectUpdateRequest as c1, type ProjectUsageResponse as c2, type ProjectsUsageResponse as c3, PublicBookingError as c4, type PublicBookingPage as c5, type QuotaExceeded as c6, type RaisedSignal as c7, type RawResponseEvent as c8, type ReconnectOptions as c9, type SSEStreamResult as cA, STEP_FIELD_OPTION_TONES as cB, STOP_ID_WAIT_MS as cC, STOP_REPEAT_WINDOW_MS as cD, SUPPORTED_EXTENSIONS as cE, type ScopedTarget as cF, type SearchChunk as cG, type SecureMailCompose as cH, type SecureMailSend as cI, type SecureMailSender as cJ, type SendBack as cK, type SetupDiagnostic as cL, type SetupReport as cM, type ShareRead as cN, type ShareRole as cO, type SkillSummary as cP, type SkippedFile as cQ, type SlackConnectionStatus as cR, type StartBlockConfig as cS, type StepActionRequest as cT, type StepActivityEvent as cU, type StepAssignee as cV, type StepDisplay as cW, type StepField as cX, type StepFieldOption as cY, type StepFieldOptionTone as cZ, type StepKind as c_, type ReconnectableWsConnection as ca, type ResolvedCitation as cb, type ResolvedRecipient as cc, type RespondParams as cd, type RespondPartstat as ce, type Response$1 as cf, type ResponseCreateRequest as cg, type ResponseCreateResult as ch, type ResponseHandle as ci, type ResponseSnapshot as cj, type ResponseStart as ck, type ResponseStartOptions as cl, ResponseStream as cm, type ResponseStreamEvent as cn, type ResponseTools as co, type RoomCreateBody as cp, type RoomQuery as cq, type RoomRead as cr, type RunProgress as cs, type RunStats as ct, type RunStep as cu, type RunWaitingOn as cv, SHAREPOINT_VENDORS as cw, type SSEEvent as cx, type SSEStreamCallbacks as cy, type SSEStreamOutcome as cz, type AgendaBlockConfig as d, type WorkspaceContext as d$, type StepSignal as d0, type StepSignalWhen as d1, type StepState as d2, type StepStatus as d3, type SubagentBranchRecord as d4, type SubagentLaneInfo as d5, type SubmitBackgroundQueryOptions as d6, type SubscribeParams as d7, type SupportRating as d8, type SupportTicket as d9, type ThreadsResponse as dA, type TimeSuggestion as dB, type TurnRequest as dC, type UpdateConversationRequest as dD, type UpdateFactRequest as dE, type UpdateWorkflowRequest as dF, type UploadBatchResult as dG, type UploadDirectOptions as dH, type UploadDirectResult as dI, type UploadDocumentsOptions as dJ, type UploadOptions as dK, type UploadProgressListener as dL, type UploadResult as dM, type UsageBreakdown as dN, type UserConnectorEntry as dO, type UserDailyUsageResponse as dP, type UserInfo as dQ, WebSocketAuthError as dR, type WeeklyHoursSpec as dS, type WorkStatus as dT, type WorkflowAuthMode as dU, type WorkflowResponse as dV, type WorkflowRunHistoryResponse as dW, type WorkflowRunResponse as dX, type WorkspaceAggregateQuery as dY, type WorkspaceAggregateResult as dZ, type WorkspaceConflict as d_, type SupportTicketInput as da, type SyncTriggerResult as db, TAG_KINDS as dc, TAG_NESTING_MAX_DEPTH as dd, type TableViewFilter as de, type TableViewRecord as df, type TableViewRows as dg, type TableViewSpec as dh, type TableViewTarget as di, type TagChange as dj, type TagFieldDefinition as dk, type TagGroup as dl, type TagKind as dm, type TagKindField as dn, type TagKindSchema as dp, type TagLinks as dq, type TagListQuery as dr, type TagNode as ds, type TagResponse as dt, type TagScope as du, type TagTreeRow as dv, type TaskPlan as dw, type TaskPlanStep as dx, type TaxQuoteResponse as dy, type Thread as dz, Arbi as e, formatStreamSummary as e$, type WorkspaceOpenResponse as e0, type WorkspaceResponse as e1, type WsConnection as e2, account as e3, agentconfig as e4, agents as e5, appendTranscriptionHints as e6, assistant as e7, authenticatedFetch as e8, bookPublicSlot as e9, createDocumentWaiter as eA, createIndexAssigner as eB, databases as eC, defaultKindForFormat as eD, diagnoseSetup as eE, doctags as eF, documentTools as eG, documents as eH, estimateDraftTokens as eI, extractDocumentIdsFromMessages as eJ, extractFactIdsFromMessages as eK, extractSubagentLanes as eL, facts as eM, files as eN, filterDocumentTags as eO, filterSkills as eP, filterText as eQ, findLeafForTaskMessage as eR, findMainSiblingLeaf as eS, findReplyTarget as eT, findSubagentRunId as eU, flattenTagTree as eV, formatAgentStepLabel as eW, formatFileSize as eX, formatGbp as eY, formatGbpPerMillionTokens as eZ, formatItemLabel as e_, buildCitationChunkData as ea, buildDocNameMap as eb, buildDocumentTools as ec, buildFactsContextTool as ed, buildRetrievalChunkTool as ee, buildRetrievalFullContextTool as ef, buildRetrievalTocTool as eg, buildTurnRequest as eh, calendar as ei, calls as ej, canTagHaveParent as ek, cancelPublicBooking as el, capabilities as em, chats as en, composeConfiguration as eo, composeTools as ep, computeRunStats as eq, connectErrorMessage as er, connectWebSocket as es, connectWithReconnect as et, connectors as eu, contacts as ev, continuityPrompt as ew, conversations as ex, countCitations as ey, createAuthenticatedClient as ez, ArbiApiError as f, requireData as f$, formatTokens as f0, formatUserName as f1, formatWorkspaceChoices as f2, formatWsMessage as f3, generateEncryptedWorkspaceKey as f4, generateNewWorkspaceKey as f5, getAgentStepLabel as f6, getAttachableRunId as f7, getChildTags as f8, getContextRemainingPercent as f9, isMailboxSyncVendor as fA, isNearAiUsageBudget as fB, isPresenceTag as fC, isSharePointVendor as fD, isSharedSkill as fE, isTraceItem as fF, mail as fG, mcpTools as fH, mergeAgentSteps as fI, modelConnections as fJ, notifications as fK, pages as fL, parseSSEEvents as fM, parseSlashCommand as fN, parseSlashTokenInProgress as fO, parseStructuredResponse as fP, performPasswordLogin as fQ, performSigningKeyLogin as fR, performSsoDeviceFlowLogin as fS, pickMainThread as fT, profile as fU, progressFetch as fV, projects as fW, quotaExceededFrom as fX, quotaFromStreamError as fY, reduceOutputItem as fZ, refusalReason as f_, getContextUsedPercent as fa, getContextUsedTokens as fb, getCurrentStep as fc, getEligibleParentTags as fd, getErrorCode as fe, getErrorMessage as ff, getPublicBookingPage as fg, getRawWorkspaceKey as fh, getRunToAttach as fi, getRunToCancel as fj, getStepDisplay as fk, getStepTool as fl, getSubagentBranchRecord as fm, getTagDescendantIds as fn, health as fo, houseTemplate as fp, hydrateAgentSteps as fq, identity as fr, identityErrorCode as fs, instructions as ft, isAnnotationTag as fu, isConnectorVendorVisible as fv, isDriveSyncVendor as fw, isEntityTag as fx, isFlatKind as fy, isLabelTag as fz, ArbiError as g, requireOk as g0, resolveAuth as g1, resolveCitations as g2, resolveSummary as g3, resolveWorkspace as g4, responses as g5, searchChunks as g6, secureMail as g7, selectFullContextDocument as g8, selectWorkspace as g9, selectWorkspaceById as ga, sessions as gb, settings as gc, signatureRequests as gd, sliceToSubagentThread as ge, streamSSE as gf, stripCitationMarkdown as gg, subagentJobLabel as gh, summarizeCitations as gi, support as gj, tagUseCount as gk, tags as gl, tagsForScope as gm, tagsOfGroup as gn, topLevelAgentSteps as go, uploadSkill as gp, usdToGbp as gq, views as gr, work as gs, workflowSteps as gt, workflows as gu, workspaceAssistant as gv, workspaceConflictOf as gw, workspaces as gx, wouldCreateTagCycle as gy, type ArbiErrorOptions as h, type ArbiHostSession as i, type ArbiOptions as j, ArbiSessionExpiredError as k, ArbiStructuredOutputError as l, ArbiTransportError as m, ArbiWorkspaceChangedError as n, ArbiWorkspaceSupersededError as o, ArbiWorkspaceUnavailableError as p, type AskHandlers as q, type AskRequest as r, type AssistantArrival as s, type AssistantBrief as t, type AssistantBriefInput as u, type AssistantStatus as v, type AttendeeRead as w, type AuthContext as x, type AuthHeaders as y, type AuthMode as z };