@arbidocs/sdk 0.5.152 → 0.5.153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{browser-C-SMeI_V.d.cts → browser-B1Pgw5mR.d.cts} +59 -4
- package/dist/{browser-BeaN-7Ro.d.ts → browser-CT7WuRvw.d.ts} +59 -4
- package/dist/browser.cjs +32 -0
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +32 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +32 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/examples/human-review/package.json +1 -1
- package/examples/react-chat/package.json +2 -2
- package/package.json +2 -2
|
@@ -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
|
/**
|
|
@@ -8500,12 +8519,23 @@ declare namespace databases {
|
|
|
8500
8519
|
type TableViewRecord = components['schemas']['TableViewRead'];
|
|
8501
8520
|
type TableViewSpec = components['schemas']['TableViewSpec'];
|
|
8502
8521
|
type TableViewFilter = components['schemas']['DatabaseFilter'];
|
|
8522
|
+
/** A view with its database, its columns and its rows (`GET /v1/views/{id}/rows`). */
|
|
8523
|
+
type TableViewRows = components['schemas']['TableViewRows'];
|
|
8503
8524
|
/** A view's table: a database id, or `documents` for the document table. */
|
|
8504
8525
|
type TableViewTarget = string;
|
|
8505
8526
|
declare const DOCUMENTS_VIEW_TARGET = "documents";
|
|
8506
8527
|
/** The views the caller can see: of one table, or (no target) every table of the open workspace. */
|
|
8507
8528
|
declare function listTableViews(arbi: ArbiClient, target?: TableViewTarget): Promise<TableViewRecord[]>;
|
|
8508
8529
|
declare function getTableView(arbi: ArbiClient, viewId: string): Promise<TableViewRecord>;
|
|
8530
|
+
/**
|
|
8531
|
+
* A view and its rows in one read: the view, its database, the view's columns in its order and the
|
|
8532
|
+
* rows with its filters and sort applied (each with only those columns). A view of the document
|
|
8533
|
+
* table comes back without a database or rows.
|
|
8534
|
+
*/
|
|
8535
|
+
declare function getTableViewRows(arbi: ArbiClient, viewId: string, page?: {
|
|
8536
|
+
offset?: number;
|
|
8537
|
+
limit?: number;
|
|
8538
|
+
}): Promise<TableViewRows>;
|
|
8509
8539
|
/** Save a view of a table; private unless `shared` (sharing takes a workspace editor). */
|
|
8510
8540
|
declare function createTableView(arbi: ArbiClient, target: TableViewTarget, spec: TableViewSpec, options?: {
|
|
8511
8541
|
shared?: boolean;
|
|
@@ -8525,17 +8555,19 @@ declare function filterText(filter: TableViewFilter): string;
|
|
|
8525
8555
|
declare const views_DOCUMENTS_VIEW_TARGET: typeof DOCUMENTS_VIEW_TARGET;
|
|
8526
8556
|
type views_TableViewFilter = TableViewFilter;
|
|
8527
8557
|
type views_TableViewRecord = TableViewRecord;
|
|
8558
|
+
type views_TableViewRows = TableViewRows;
|
|
8528
8559
|
type views_TableViewSpec = TableViewSpec;
|
|
8529
8560
|
type views_TableViewTarget = TableViewTarget;
|
|
8530
8561
|
declare const views_createTableView: typeof createTableView;
|
|
8531
8562
|
declare const views_deleteTableView: typeof deleteTableView;
|
|
8532
8563
|
declare const views_filterText: typeof filterText;
|
|
8533
8564
|
declare const views_getTableView: typeof getTableView;
|
|
8565
|
+
declare const views_getTableViewRows: typeof getTableViewRows;
|
|
8534
8566
|
declare const views_listTableViews: typeof listTableViews;
|
|
8535
8567
|
declare const views_shareTableView: typeof shareTableView;
|
|
8536
8568
|
declare const views_updateTableView: typeof updateTableView;
|
|
8537
8569
|
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 };
|
|
8570
|
+
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
8571
|
}
|
|
8540
8572
|
|
|
8541
8573
|
/**
|
|
@@ -10276,6 +10308,10 @@ declare class Arbi {
|
|
|
10276
10308
|
};
|
|
10277
10309
|
invoice_pdf?: string | null;
|
|
10278
10310
|
}>;
|
|
10311
|
+
/** The usage of every project the caller owns, in one request. */
|
|
10312
|
+
usageOfOwned: (monthsBack?: number) => Promise<{
|
|
10313
|
+
projects: components["schemas"]["ProjectUsageEntry"][];
|
|
10314
|
+
}>;
|
|
10279
10315
|
/** Stripe invoices for a project's subscription. */
|
|
10280
10316
|
invoices: (projectExtId: string) => Promise<{
|
|
10281
10317
|
project_ext_id: string;
|
|
@@ -11637,6 +11673,14 @@ declare class Arbi {
|
|
|
11637
11673
|
}[];
|
|
11638
11674
|
next_cursor?: string | null | undefined;
|
|
11639
11675
|
}>;
|
|
11676
|
+
/** Count a workspace's items on the server, grouped (see `aggregateWorkspace`). */
|
|
11677
|
+
aggregate: (workspaceId: string, queries: WorkspaceAggregateQuery[]) => Promise<{
|
|
11678
|
+
cells: components["schemas"]["AggregateCell"][];
|
|
11679
|
+
labels?: {
|
|
11680
|
+
[key: string]: string;
|
|
11681
|
+
};
|
|
11682
|
+
truncated: boolean;
|
|
11683
|
+
}[]>;
|
|
11640
11684
|
/**
|
|
11641
11685
|
* Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. `role`
|
|
11642
11686
|
* defaults to `collaborator`; `guest` makes a read-only member (shown as "Viewer").
|
|
@@ -17825,6 +17869,17 @@ declare class Arbi {
|
|
|
17825
17869
|
created_at: string;
|
|
17826
17870
|
updated_at: string;
|
|
17827
17871
|
}>;
|
|
17872
|
+
/** The view with its database, columns and rows (filters and sort applied), in one read. */
|
|
17873
|
+
rows: (viewId: string, page?: {
|
|
17874
|
+
offset?: number;
|
|
17875
|
+
limit?: number;
|
|
17876
|
+
}) => Promise<{
|
|
17877
|
+
view: components["schemas"]["TableViewRead"];
|
|
17878
|
+
database?: components["schemas"]["DatabaseRead"] | null;
|
|
17879
|
+
columns?: components["schemas"]["DatabaseColumn"][];
|
|
17880
|
+
rows?: components["schemas"]["DatabaseRowRead"][];
|
|
17881
|
+
total: number;
|
|
17882
|
+
}>;
|
|
17828
17883
|
create: (target: TableViewTarget, spec: TableViewSpec, options?: {
|
|
17829
17884
|
shared?: boolean;
|
|
17830
17885
|
}) => Promise<{
|
|
@@ -19432,4 +19487,4 @@ declare function documentTools(options: {
|
|
|
19432
19487
|
/** Add replaces matching tool names; replace discards all previous tools. No mutation of inputs. */
|
|
19433
19488
|
declare function composeTools(base: ResponseTools, next: ResponseTools, mode: 'add' | 'replace'): ResponseTools;
|
|
19434
19489
|
|
|
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 };
|
|
19490
|
+
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 StepStatus as c$, type ProjectsUsageResponse as c0, PublicBookingError as c1, type PublicBookingPage as c2, type QuotaExceeded as c3, type RaisedSignal as c4, type RawResponseEvent as c5, type ReconnectOptions as c6, type ReconnectableWsConnection as c7, type ResolvedCitation as c8, type ResolvedRecipient as c9, STOP_REPEAT_WINDOW_MS as cA, SUPPORTED_EXTENSIONS as cB, type ScopedTarget as cC, type SearchChunk as cD, type SecureMailCompose as cE, type SecureMailSend as cF, type SecureMailSender as cG, type SendBack as cH, type SetupDiagnostic as cI, type SetupReport as cJ, type ShareRead as cK, type ShareRole as cL, type SkillSummary as cM, type SkippedFile as cN, type SlackConnectionStatus as cO, type StepActionRequest as cP, type StepActivityEvent as cQ, type StepAssignee as cR, type StepDisplay as cS, type StepField as cT, type StepFieldOption as cU, type StepFieldOptionTone as cV, type StepKind as cW, type StepPhase as cX, type StepSignal as cY, type StepSignalWhen as cZ, type StepState as c_, type RespondParams as ca, type RespondPartstat as cb, type Response$1 as cc, type ResponseCreateRequest as cd, type ResponseCreateResult as ce, type ResponseHandle as cf, type ResponseSnapshot as cg, type ResponseStart as ch, type ResponseStartOptions as ci, ResponseStream as cj, type ResponseStreamEvent as ck, type ResponseTools as cl, type RoomCreateBody as cm, type RoomQuery as cn, type RoomRead as co, type RunProgress as cp, type RunStats as cq, type RunStep as cr, type RunWaitingOn as cs, SHAREPOINT_VENDORS as ct, type SSEEvent as cu, type SSEStreamCallbacks as cv, type SSEStreamOutcome as cw, type SSEStreamResult as cx, STEP_FIELD_OPTION_TONES as cy, STOP_ID_WAIT_MS as cz, Arbi as d, account as d$, type SubagentBranchRecord as d0, type SubagentLaneInfo as d1, type SubmitBackgroundQueryOptions as d2, type SubscribeParams as d3, type SupportRating as d4, type SupportTicket as d5, type SupportTicketInput as d6, type SyncTriggerResult as d7, TAG_KINDS as d8, TAG_NESTING_MAX_DEPTH as d9, type UpdateFactRequest as dA, type UpdateWorkflowRequest as dB, type UploadBatchResult as dC, type UploadDirectOptions as dD, type UploadDirectResult as dE, type UploadDocumentsOptions as dF, type UploadOptions as dG, type UploadProgressListener as dH, type UploadResult as dI, type UsageBreakdown as dJ, type UserConnectorEntry as dK, type UserDailyUsageResponse as dL, type UserInfo as dM, WebSocketAuthError as dN, type WeeklyHoursSpec as dO, type WorkStatus as dP, type WorkflowAuthMode as dQ, type WorkflowResponse as dR, type WorkflowRunHistoryResponse as dS, type WorkflowRunResponse as dT, type WorkspaceAggregateQuery as dU, type WorkspaceAggregateResult as dV, type WorkspaceConflict as dW, type WorkspaceContext as dX, type WorkspaceOpenResponse as dY, type WorkspaceResponse as dZ, type WsConnection as d_, type TableViewFilter as da, type TableViewRecord as db, type TableViewRows as dc, type TableViewSpec as dd, type TableViewTarget as de, type TagChange as df, type TagFieldDefinition as dg, type TagGroup as dh, type TagKind as di, type TagKindField as dj, type TagKindSchema as dk, type TagLinks as dl, type TagListQuery as dm, type TagNode as dn, type TagResponse as dp, type TagScope as dq, type TagTreeRow as dr, type TaskPlan as ds, type TaskPlanStep as dt, type TaxQuoteResponse as du, type Thread as dv, type ThreadsResponse as dw, type TimeSuggestion as dx, type TurnRequest as dy, type UpdateConversationRequest as dz, ArbiApiError as e, formatWsMessage as e$, agentconfig as e0, agents as e1, appendTranscriptionHints as e2, assistant as e3, authenticatedFetch as e4, bookPublicSlot as e5, buildCitationChunkData as e6, buildDocNameMap as e7, buildDocumentTools as e8, buildFactsContextTool as e9, diagnoseSetup as eA, doctags as eB, documentTools as eC, documents as eD, estimateDraftTokens as eE, extractDocumentIdsFromMessages as eF, extractFactIdsFromMessages as eG, extractSubagentLanes as eH, facts as eI, files as eJ, filterDocumentTags as eK, filterSkills as eL, filterText as eM, findLeafForTaskMessage as eN, findMainSiblingLeaf as eO, findReplyTarget as eP, findSubagentRunId as eQ, flattenTagTree as eR, formatAgentStepLabel as eS, formatFileSize as eT, formatGbp as eU, formatGbpPerMillionTokens as eV, formatItemLabel as eW, formatStreamSummary as eX, formatTokens as eY, formatUserName as eZ, formatWorkspaceChoices as e_, buildRetrievalChunkTool as ea, buildRetrievalFullContextTool as eb, buildRetrievalTocTool as ec, buildTurnRequest as ed, calendar as ee, calls as ef, canTagHaveParent as eg, cancelPublicBooking as eh, capabilities as ei, chats as ej, composeConfiguration as ek, composeTools as el, computeRunStats as em, connectErrorMessage as en, connectWebSocket as eo, connectWithReconnect as ep, connectors as eq, contacts as er, continuityPrompt as es, conversations as et, countCitations as eu, createAuthenticatedClient as ev, createDocumentWaiter as ew, createIndexAssigner as ex, databases as ey, defaultKindForFormat as ez, ArbiError as f, resolveSummary as f$, generateEncryptedWorkspaceKey as f0, generateNewWorkspaceKey as f1, getAgentStepLabel as f2, getAttachableRunId as f3, getChildTags as f4, getContextRemainingPercent as f5, getContextUsedPercent as f6, getContextUsedTokens as f7, getCurrentStep as f8, getEligibleParentTags as f9, isSharedSkill as fA, isTraceItem as fB, mail as fC, mcpTools as fD, mergeAgentSteps as fE, modelConnections as fF, notifications as fG, pages as fH, parseSSEEvents as fI, parseSlashCommand as fJ, parseSlashTokenInProgress as fK, parseStructuredResponse as fL, performPasswordLogin as fM, performSigningKeyLogin as fN, performSsoDeviceFlowLogin as fO, pickMainThread as fP, profile as fQ, progressFetch as fR, projects as fS, quotaExceededFrom as fT, quotaFromStreamError as fU, reduceOutputItem as fV, refusalReason as fW, requireData as fX, requireOk as fY, resolveAuth as fZ, resolveCitations as f_, getErrorCode as fa, getErrorMessage as fb, getPublicBookingPage as fc, getRawWorkspaceKey as fd, getRunToAttach as fe, getRunToCancel as ff, getStepDisplay as fg, getStepTool as fh, getSubagentBranchRecord as fi, getTagDescendantIds as fj, health as fk, houseTemplate as fl, hydrateAgentSteps as fm, identity as fn, identityErrorCode as fo, instructions as fp, isAnnotationTag as fq, isConnectorVendorVisible as fr, isDriveSyncVendor as fs, isEntityTag as ft, isFlatKind as fu, isLabelTag as fv, isMailboxSyncVendor as fw, isNearAiUsageBudget as fx, isPresenceTag as fy, isSharePointVendor as fz, type ArbiErrorOptions as g, resolveWorkspace as g0, responses as g1, searchChunks as g2, secureMail as g3, selectFullContextDocument as g4, selectWorkspace as g5, selectWorkspaceById as g6, sessions as g7, settings as g8, signatureRequests as g9, sliceToSubagentThread as ga, streamSSE as gb, stripCitationMarkdown as gc, subagentJobLabel as gd, summarizeCitations as ge, support as gf, tagUseCount as gg, tags as gh, tagsForScope as gi, tagsOfGroup as gj, topLevelAgentSteps as gk, uploadSkill as gl, usdToGbp as gm, views as gn, work as go, workflowSteps as gp, workflows as gq, workspaceAssistant as gr, workspaceConflictOf as gs, workspaces as gt, wouldCreateTagCycle as gu, 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 };
|
|
@@ -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
|
/**
|
|
@@ -8500,12 +8519,23 @@ declare namespace databases {
|
|
|
8500
8519
|
type TableViewRecord = components['schemas']['TableViewRead'];
|
|
8501
8520
|
type TableViewSpec = components['schemas']['TableViewSpec'];
|
|
8502
8521
|
type TableViewFilter = components['schemas']['DatabaseFilter'];
|
|
8522
|
+
/** A view with its database, its columns and its rows (`GET /v1/views/{id}/rows`). */
|
|
8523
|
+
type TableViewRows = components['schemas']['TableViewRows'];
|
|
8503
8524
|
/** A view's table: a database id, or `documents` for the document table. */
|
|
8504
8525
|
type TableViewTarget = string;
|
|
8505
8526
|
declare const DOCUMENTS_VIEW_TARGET = "documents";
|
|
8506
8527
|
/** The views the caller can see: of one table, or (no target) every table of the open workspace. */
|
|
8507
8528
|
declare function listTableViews(arbi: ArbiClient, target?: TableViewTarget): Promise<TableViewRecord[]>;
|
|
8508
8529
|
declare function getTableView(arbi: ArbiClient, viewId: string): Promise<TableViewRecord>;
|
|
8530
|
+
/**
|
|
8531
|
+
* A view and its rows in one read: the view, its database, the view's columns in its order and the
|
|
8532
|
+
* rows with its filters and sort applied (each with only those columns). A view of the document
|
|
8533
|
+
* table comes back without a database or rows.
|
|
8534
|
+
*/
|
|
8535
|
+
declare function getTableViewRows(arbi: ArbiClient, viewId: string, page?: {
|
|
8536
|
+
offset?: number;
|
|
8537
|
+
limit?: number;
|
|
8538
|
+
}): Promise<TableViewRows>;
|
|
8509
8539
|
/** Save a view of a table; private unless `shared` (sharing takes a workspace editor). */
|
|
8510
8540
|
declare function createTableView(arbi: ArbiClient, target: TableViewTarget, spec: TableViewSpec, options?: {
|
|
8511
8541
|
shared?: boolean;
|
|
@@ -8525,17 +8555,19 @@ declare function filterText(filter: TableViewFilter): string;
|
|
|
8525
8555
|
declare const views_DOCUMENTS_VIEW_TARGET: typeof DOCUMENTS_VIEW_TARGET;
|
|
8526
8556
|
type views_TableViewFilter = TableViewFilter;
|
|
8527
8557
|
type views_TableViewRecord = TableViewRecord;
|
|
8558
|
+
type views_TableViewRows = TableViewRows;
|
|
8528
8559
|
type views_TableViewSpec = TableViewSpec;
|
|
8529
8560
|
type views_TableViewTarget = TableViewTarget;
|
|
8530
8561
|
declare const views_createTableView: typeof createTableView;
|
|
8531
8562
|
declare const views_deleteTableView: typeof deleteTableView;
|
|
8532
8563
|
declare const views_filterText: typeof filterText;
|
|
8533
8564
|
declare const views_getTableView: typeof getTableView;
|
|
8565
|
+
declare const views_getTableViewRows: typeof getTableViewRows;
|
|
8534
8566
|
declare const views_listTableViews: typeof listTableViews;
|
|
8535
8567
|
declare const views_shareTableView: typeof shareTableView;
|
|
8536
8568
|
declare const views_updateTableView: typeof updateTableView;
|
|
8537
8569
|
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 };
|
|
8570
|
+
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
8571
|
}
|
|
8540
8572
|
|
|
8541
8573
|
/**
|
|
@@ -10276,6 +10308,10 @@ declare class Arbi {
|
|
|
10276
10308
|
};
|
|
10277
10309
|
invoice_pdf?: string | null;
|
|
10278
10310
|
}>;
|
|
10311
|
+
/** The usage of every project the caller owns, in one request. */
|
|
10312
|
+
usageOfOwned: (monthsBack?: number) => Promise<{
|
|
10313
|
+
projects: components["schemas"]["ProjectUsageEntry"][];
|
|
10314
|
+
}>;
|
|
10279
10315
|
/** Stripe invoices for a project's subscription. */
|
|
10280
10316
|
invoices: (projectExtId: string) => Promise<{
|
|
10281
10317
|
project_ext_id: string;
|
|
@@ -11637,6 +11673,14 @@ declare class Arbi {
|
|
|
11637
11673
|
}[];
|
|
11638
11674
|
next_cursor?: string | null | undefined;
|
|
11639
11675
|
}>;
|
|
11676
|
+
/** Count a workspace's items on the server, grouped (see `aggregateWorkspace`). */
|
|
11677
|
+
aggregate: (workspaceId: string, queries: WorkspaceAggregateQuery[]) => Promise<{
|
|
11678
|
+
cells: components["schemas"]["AggregateCell"][];
|
|
11679
|
+
labels?: {
|
|
11680
|
+
[key: string]: string;
|
|
11681
|
+
};
|
|
11682
|
+
truncated: boolean;
|
|
11683
|
+
}[]>;
|
|
11640
11684
|
/**
|
|
11641
11685
|
* Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. `role`
|
|
11642
11686
|
* defaults to `collaborator`; `guest` makes a read-only member (shown as "Viewer").
|
|
@@ -17825,6 +17869,17 @@ declare class Arbi {
|
|
|
17825
17869
|
created_at: string;
|
|
17826
17870
|
updated_at: string;
|
|
17827
17871
|
}>;
|
|
17872
|
+
/** The view with its database, columns and rows (filters and sort applied), in one read. */
|
|
17873
|
+
rows: (viewId: string, page?: {
|
|
17874
|
+
offset?: number;
|
|
17875
|
+
limit?: number;
|
|
17876
|
+
}) => Promise<{
|
|
17877
|
+
view: components["schemas"]["TableViewRead"];
|
|
17878
|
+
database?: components["schemas"]["DatabaseRead"] | null;
|
|
17879
|
+
columns?: components["schemas"]["DatabaseColumn"][];
|
|
17880
|
+
rows?: components["schemas"]["DatabaseRowRead"][];
|
|
17881
|
+
total: number;
|
|
17882
|
+
}>;
|
|
17828
17883
|
create: (target: TableViewTarget, spec: TableViewSpec, options?: {
|
|
17829
17884
|
shared?: boolean;
|
|
17830
17885
|
}) => Promise<{
|
|
@@ -19432,4 +19487,4 @@ declare function documentTools(options: {
|
|
|
19432
19487
|
/** Add replaces matching tool names; replace discards all previous tools. No mutation of inputs. */
|
|
19433
19488
|
declare function composeTools(base: ResponseTools, next: ResponseTools, mode: 'add' | 'replace'): ResponseTools;
|
|
19434
19489
|
|
|
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 };
|
|
19490
|
+
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 StepStatus as c$, type ProjectsUsageResponse as c0, PublicBookingError as c1, type PublicBookingPage as c2, type QuotaExceeded as c3, type RaisedSignal as c4, type RawResponseEvent as c5, type ReconnectOptions as c6, type ReconnectableWsConnection as c7, type ResolvedCitation as c8, type ResolvedRecipient as c9, STOP_REPEAT_WINDOW_MS as cA, SUPPORTED_EXTENSIONS as cB, type ScopedTarget as cC, type SearchChunk as cD, type SecureMailCompose as cE, type SecureMailSend as cF, type SecureMailSender as cG, type SendBack as cH, type SetupDiagnostic as cI, type SetupReport as cJ, type ShareRead as cK, type ShareRole as cL, type SkillSummary as cM, type SkippedFile as cN, type SlackConnectionStatus as cO, type StepActionRequest as cP, type StepActivityEvent as cQ, type StepAssignee as cR, type StepDisplay as cS, type StepField as cT, type StepFieldOption as cU, type StepFieldOptionTone as cV, type StepKind as cW, type StepPhase as cX, type StepSignal as cY, type StepSignalWhen as cZ, type StepState as c_, type RespondParams as ca, type RespondPartstat as cb, type Response$1 as cc, type ResponseCreateRequest as cd, type ResponseCreateResult as ce, type ResponseHandle as cf, type ResponseSnapshot as cg, type ResponseStart as ch, type ResponseStartOptions as ci, ResponseStream as cj, type ResponseStreamEvent as ck, type ResponseTools as cl, type RoomCreateBody as cm, type RoomQuery as cn, type RoomRead as co, type RunProgress as cp, type RunStats as cq, type RunStep as cr, type RunWaitingOn as cs, SHAREPOINT_VENDORS as ct, type SSEEvent as cu, type SSEStreamCallbacks as cv, type SSEStreamOutcome as cw, type SSEStreamResult as cx, STEP_FIELD_OPTION_TONES as cy, STOP_ID_WAIT_MS as cz, Arbi as d, account as d$, type SubagentBranchRecord as d0, type SubagentLaneInfo as d1, type SubmitBackgroundQueryOptions as d2, type SubscribeParams as d3, type SupportRating as d4, type SupportTicket as d5, type SupportTicketInput as d6, type SyncTriggerResult as d7, TAG_KINDS as d8, TAG_NESTING_MAX_DEPTH as d9, type UpdateFactRequest as dA, type UpdateWorkflowRequest as dB, type UploadBatchResult as dC, type UploadDirectOptions as dD, type UploadDirectResult as dE, type UploadDocumentsOptions as dF, type UploadOptions as dG, type UploadProgressListener as dH, type UploadResult as dI, type UsageBreakdown as dJ, type UserConnectorEntry as dK, type UserDailyUsageResponse as dL, type UserInfo as dM, WebSocketAuthError as dN, type WeeklyHoursSpec as dO, type WorkStatus as dP, type WorkflowAuthMode as dQ, type WorkflowResponse as dR, type WorkflowRunHistoryResponse as dS, type WorkflowRunResponse as dT, type WorkspaceAggregateQuery as dU, type WorkspaceAggregateResult as dV, type WorkspaceConflict as dW, type WorkspaceContext as dX, type WorkspaceOpenResponse as dY, type WorkspaceResponse as dZ, type WsConnection as d_, type TableViewFilter as da, type TableViewRecord as db, type TableViewRows as dc, type TableViewSpec as dd, type TableViewTarget as de, type TagChange as df, type TagFieldDefinition as dg, type TagGroup as dh, type TagKind as di, type TagKindField as dj, type TagKindSchema as dk, type TagLinks as dl, type TagListQuery as dm, type TagNode as dn, type TagResponse as dp, type TagScope as dq, type TagTreeRow as dr, type TaskPlan as ds, type TaskPlanStep as dt, type TaxQuoteResponse as du, type Thread as dv, type ThreadsResponse as dw, type TimeSuggestion as dx, type TurnRequest as dy, type UpdateConversationRequest as dz, ArbiApiError as e, formatWsMessage as e$, agentconfig as e0, agents as e1, appendTranscriptionHints as e2, assistant as e3, authenticatedFetch as e4, bookPublicSlot as e5, buildCitationChunkData as e6, buildDocNameMap as e7, buildDocumentTools as e8, buildFactsContextTool as e9, diagnoseSetup as eA, doctags as eB, documentTools as eC, documents as eD, estimateDraftTokens as eE, extractDocumentIdsFromMessages as eF, extractFactIdsFromMessages as eG, extractSubagentLanes as eH, facts as eI, files as eJ, filterDocumentTags as eK, filterSkills as eL, filterText as eM, findLeafForTaskMessage as eN, findMainSiblingLeaf as eO, findReplyTarget as eP, findSubagentRunId as eQ, flattenTagTree as eR, formatAgentStepLabel as eS, formatFileSize as eT, formatGbp as eU, formatGbpPerMillionTokens as eV, formatItemLabel as eW, formatStreamSummary as eX, formatTokens as eY, formatUserName as eZ, formatWorkspaceChoices as e_, buildRetrievalChunkTool as ea, buildRetrievalFullContextTool as eb, buildRetrievalTocTool as ec, buildTurnRequest as ed, calendar as ee, calls as ef, canTagHaveParent as eg, cancelPublicBooking as eh, capabilities as ei, chats as ej, composeConfiguration as ek, composeTools as el, computeRunStats as em, connectErrorMessage as en, connectWebSocket as eo, connectWithReconnect as ep, connectors as eq, contacts as er, continuityPrompt as es, conversations as et, countCitations as eu, createAuthenticatedClient as ev, createDocumentWaiter as ew, createIndexAssigner as ex, databases as ey, defaultKindForFormat as ez, ArbiError as f, resolveSummary as f$, generateEncryptedWorkspaceKey as f0, generateNewWorkspaceKey as f1, getAgentStepLabel as f2, getAttachableRunId as f3, getChildTags as f4, getContextRemainingPercent as f5, getContextUsedPercent as f6, getContextUsedTokens as f7, getCurrentStep as f8, getEligibleParentTags as f9, isSharedSkill as fA, isTraceItem as fB, mail as fC, mcpTools as fD, mergeAgentSteps as fE, modelConnections as fF, notifications as fG, pages as fH, parseSSEEvents as fI, parseSlashCommand as fJ, parseSlashTokenInProgress as fK, parseStructuredResponse as fL, performPasswordLogin as fM, performSigningKeyLogin as fN, performSsoDeviceFlowLogin as fO, pickMainThread as fP, profile as fQ, progressFetch as fR, projects as fS, quotaExceededFrom as fT, quotaFromStreamError as fU, reduceOutputItem as fV, refusalReason as fW, requireData as fX, requireOk as fY, resolveAuth as fZ, resolveCitations as f_, getErrorCode as fa, getErrorMessage as fb, getPublicBookingPage as fc, getRawWorkspaceKey as fd, getRunToAttach as fe, getRunToCancel as ff, getStepDisplay as fg, getStepTool as fh, getSubagentBranchRecord as fi, getTagDescendantIds as fj, health as fk, houseTemplate as fl, hydrateAgentSteps as fm, identity as fn, identityErrorCode as fo, instructions as fp, isAnnotationTag as fq, isConnectorVendorVisible as fr, isDriveSyncVendor as fs, isEntityTag as ft, isFlatKind as fu, isLabelTag as fv, isMailboxSyncVendor as fw, isNearAiUsageBudget as fx, isPresenceTag as fy, isSharePointVendor as fz, type ArbiErrorOptions as g, resolveWorkspace as g0, responses as g1, searchChunks as g2, secureMail as g3, selectFullContextDocument as g4, selectWorkspace as g5, selectWorkspaceById as g6, sessions as g7, settings as g8, signatureRequests as g9, sliceToSubagentThread as ga, streamSSE as gb, stripCitationMarkdown as gc, subagentJobLabel as gd, summarizeCitations as ge, support as gf, tagUseCount as gg, tags as gh, tagsForScope as gi, tagsOfGroup as gj, topLevelAgentSteps as gk, uploadSkill as gl, usdToGbp as gm, views as gn, work as go, workflowSteps as gp, workflows as gq, workspaceAssistant as gr, workspaceConflictOf as gs, workspaces as gt, wouldCreateTagCycle as gu, 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 };
|
package/dist/browser.cjs
CHANGED
|
@@ -4752,6 +4752,7 @@ __export(workspaces_exports, {
|
|
|
4752
4752
|
addWorkspaceMembers: () => addWorkspaceMembers,
|
|
4753
4753
|
addWorkspaceMembersBody: () => addWorkspaceMembersBody,
|
|
4754
4754
|
addWorkspaceUsers: () => addWorkspaceUsers,
|
|
4755
|
+
aggregateWorkspace: () => aggregateWorkspace,
|
|
4755
4756
|
archiveWorkspace: () => archiveWorkspace,
|
|
4756
4757
|
cancelWorkspaceTransfer: () => cancelWorkspaceTransfer,
|
|
4757
4758
|
copyDocuments: () => copyDocuments,
|
|
@@ -4933,6 +4934,15 @@ async function copyDocuments(arbi, targetWorkspaceId, docIds, targetWorkspaceKey
|
|
|
4933
4934
|
"Failed to copy documents"
|
|
4934
4935
|
);
|
|
4935
4936
|
}
|
|
4937
|
+
async function aggregateWorkspace(arbi, workspaceExtId, queries) {
|
|
4938
|
+
return requireData(
|
|
4939
|
+
await arbi.fetch.POST("/v1/workspace/{workspace_ext_id}/aggregate", {
|
|
4940
|
+
params: { path: { workspace_ext_id: workspaceExtId } },
|
|
4941
|
+
body: { queries }
|
|
4942
|
+
}),
|
|
4943
|
+
"Failed to count the workspace"
|
|
4944
|
+
).results;
|
|
4945
|
+
}
|
|
4936
4946
|
async function getWorkspaceActivity(arbi, workspaceExtId, options = {}) {
|
|
4937
4947
|
return requireData(
|
|
4938
4948
|
await arbi.fetch.GET("/v1/workspace/{workspace_ext_id}/activity", {
|
|
@@ -8875,6 +8885,7 @@ __export(projects_exports, {
|
|
|
8875
8885
|
listProducts: () => listProducts,
|
|
8876
8886
|
listProjectEvents: () => listProjectEvents,
|
|
8877
8887
|
listProjects: () => listProjects,
|
|
8888
|
+
listProjectsUsage: () => listProjectsUsage,
|
|
8878
8889
|
parseBudget: () => parseBudget,
|
|
8879
8890
|
previewPlanChange: () => previewPlanChange,
|
|
8880
8891
|
quoteAddon: () => quoteAddon,
|
|
@@ -8994,6 +9005,14 @@ async function getProjectUsage(arbi, projectExtId, monthsBack) {
|
|
|
8994
9005
|
"Failed to fetch project usage"
|
|
8995
9006
|
);
|
|
8996
9007
|
}
|
|
9008
|
+
async function listProjectsUsage(arbi, monthsBack) {
|
|
9009
|
+
return requireData(
|
|
9010
|
+
await arbi.fetch.GET("/v1/user/projects/usage", {
|
|
9011
|
+
params: { query: monthsBack === void 0 ? void 0 : { months_back: monthsBack } }
|
|
9012
|
+
}),
|
|
9013
|
+
"Failed to fetch the usage of your projects"
|
|
9014
|
+
);
|
|
9015
|
+
}
|
|
8997
9016
|
async function getProjectInvoices(arbi, projectExtId) {
|
|
8998
9017
|
return requireData(
|
|
8999
9018
|
await arbi.fetch.GET("/v1/user/projects/{project_ext_id}/invoices", {
|
|
@@ -10332,6 +10351,7 @@ __export(views_exports, {
|
|
|
10332
10351
|
deleteTableView: () => deleteTableView,
|
|
10333
10352
|
filterText: () => filterText,
|
|
10334
10353
|
getTableView: () => getTableView,
|
|
10354
|
+
getTableViewRows: () => getTableViewRows,
|
|
10335
10355
|
listTableViews: () => listTableViews,
|
|
10336
10356
|
shareTableView: () => shareTableView,
|
|
10337
10357
|
updateTableView: () => updateTableView
|
|
@@ -10350,6 +10370,12 @@ async function getTableView(arbi, viewId) {
|
|
|
10350
10370
|
"Failed to read the view"
|
|
10351
10371
|
);
|
|
10352
10372
|
}
|
|
10373
|
+
async function getTableViewRows(arbi, viewId, page = {}) {
|
|
10374
|
+
return requireData(
|
|
10375
|
+
await arbi.fetch.GET("/v1/views/{view_id}/rows", { params: { ...path2(viewId), query: page } }),
|
|
10376
|
+
"Failed to read the view"
|
|
10377
|
+
);
|
|
10378
|
+
}
|
|
10353
10379
|
async function createTableView(arbi, target, spec, options = {}) {
|
|
10354
10380
|
return requireData(
|
|
10355
10381
|
await arbi.fetch.POST("/v1/views", {
|
|
@@ -12356,6 +12382,8 @@ var Arbi = class {
|
|
|
12356
12382
|
refresh: (projectExtId) => refreshProject(this.requireClient(), projectExtId),
|
|
12357
12383
|
/** AI usage + spend breakdown for a project's billing period. */
|
|
12358
12384
|
usage: (projectExtId, monthsBack) => getProjectUsage(this.requireClient(), projectExtId, monthsBack),
|
|
12385
|
+
/** The usage of every project the caller owns, in one request. */
|
|
12386
|
+
usageOfOwned: (monthsBack) => listProjectsUsage(this.requireClient(), monthsBack),
|
|
12359
12387
|
/** Stripe invoices for a project's subscription. */
|
|
12360
12388
|
invoices: (projectExtId) => getProjectInvoices(this.requireClient(), projectExtId),
|
|
12361
12389
|
/** Delete a project (only when empty: no workspaces, no subscription). */
|
|
@@ -12600,6 +12628,8 @@ var Arbi = class {
|
|
|
12600
12628
|
listUsers: () => listWorkspaceUsers(this.requireClient()),
|
|
12601
12629
|
/** One page of a workspace's activity feed, newest first (see `getWorkspaceActivity`). */
|
|
12602
12630
|
activity: (workspaceId, options) => getWorkspaceActivity(this.requireClient(), workspaceId, options),
|
|
12631
|
+
/** Count a workspace's items on the server, grouped (see `aggregateWorkspace`). */
|
|
12632
|
+
aggregate: (workspaceId, queries) => aggregateWorkspace(this.requireClient(), workspaceId, queries),
|
|
12603
12633
|
/**
|
|
12604
12634
|
* Add users to the open workspace; `confirmInvite` also invites emails not on ARBI yet. `role`
|
|
12605
12635
|
* defaults to `collaborator`; `guest` makes a read-only member (shown as "Viewer").
|
|
@@ -14249,6 +14279,8 @@ var Arbi = class {
|
|
|
14249
14279
|
/** The views the caller can see: of one table, or of every table of the open workspace. */
|
|
14250
14280
|
list: (target) => listTableViews(this.requireClient(), target),
|
|
14251
14281
|
get: (viewId) => getTableView(this.requireClient(), viewId),
|
|
14282
|
+
/** The view with its database, columns and rows (filters and sort applied), in one read. */
|
|
14283
|
+
rows: (viewId, page) => getTableViewRows(this.requireClient(), viewId, page),
|
|
14252
14284
|
create: (target, spec, options) => createTableView(this.requireClient(), target, spec, options),
|
|
14253
14285
|
update: (viewId, spec) => updateTableView(this.requireClient(), viewId, spec),
|
|
14254
14286
|
/** Share with the workspace (one way: it is never made private again). */
|