@arbidocs/sdk 0.4.115 → 0.4.116

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/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { E as ConfigStore, z as CliConfig, B as CliCredentials, x as ChatSession, aS as SkippedFile, bm as UploadResult, m as AuthHeaders, bi as UploadBatchResult, bl as UploadOptions, bj as UploadDirectOptions, bk as UploadDirectResult, aP as SUPPORTED_EXTENSIONS, a8 as MailAttachment, q as ChatCryptoContext } from './browser-IUaO7L7D.cjs';
2
- export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, C as ChatAttachmentFile, p as ChatAttachmentInput, r as ChatKeyRing, s as ChatKind, t as ChatMemberKey, u as ChatMemberResponse, v as ChatMessageResponse, w as ChatResponse, y as CitationSummary, D as CommandDescriptor, F as ConnectOptions, G as ConversationResponse, H as ConversationUsageResponse, K as CreateWorkRequest, L as CreateWorkflowRequest, M as DEFAULT_AI_USD_PER_GBP, N as DOC_TERMINAL_STATUSES, O as DecryptedChat, P as DecryptedChatMessage, R as DocNameMap, S as DocumentAutomationAction, T as DocumentListFields, U as DocumentListOrder, V as DocumentSelector, W as DocumentWaiter, X as DocumentWaiterOptions, $ as FormattedWsMessage, a0 as IdentityErrorCode, a1 as IdentityPurchase, a2 as IdentityState, a3 as IdentityStatus, a4 as LinkedRun, a5 as ListAllOptions, a7 as ListPaginatedOptions, a9 as MailDraftSSEEvent, aa as MessageLevel, ab as MessageMetadataPayload, ac as MessageQueuedEvent, ad as OutputTokensDetails, ae as ParsedSlashCommand, af as PendingAuthResponse, ag as PlanStepsError, ah as PlanWorkRequest, aj as ProjectBudget, ak as ProjectConversationUsageResponse, al as ProjectDetails, am as ProjectEventKind, an as ProjectEventResponse, ao as ProjectInvoicesResponse, ap as ProjectResponse, aq as ProjectUpdateRequest, ar as ProjectUsageResponse, as as QueryOptions, at as RaisedSignal, au as ReconnectOptions, av as ReconnectableWsConnection, aw as ResolvedCitation, ax as ResolvedRecipient, ay as ResponseCompletedEvent, az as ResponseContentPartAddedEvent, aA as ResponseCreatedEvent, aB as ResponseFailedEvent, aC as ResponseOutputItemAddedEvent, aD as ResponseOutputItemDoneEvent, aE as ResponseOutputTextDeltaEvent, aF as ResponseOutputTextDoneEvent, aG as ResponseUsage, aH as RunProgress, aI as RunStep, aJ as RunWaitingOn, aK as SSEEvent, aL as SSEStreamCallbacks, aM as SSEStreamResult, aN as SSEStreamStartData, aO as STEP_FIELD_OPTION_TONES, aQ as SendBack, aR as SkillSummary, aT as StepActionRequest, aU as StepActivityEvent, aV as StepAssignee, aW as StepField, aX as StepFieldOption, aY as StepFieldOptionTone, aZ as StepKind, a_ as StepPhase, a$ as StepSignal, b0 as StepSignalWhen, b1 as StepState, b2 as StepStatus, b3 as SubmitBackgroundQueryOptions, b4 as TagChange, b5 as TagFieldDefinition, b6 as TagKind, b7 as TagKindField, b8 as TagKindSchema, b9 as TagLinks, ba as TagListQuery, bb as TagResponse, bc as TaskPlan, bd as TaskPlanStep, be as TokenBudgetContext, bf as UpdateConversationRequest, bh as UpdateWorkflowRequest, bn as UsageBreakdown, bo as UserDailyUsageResponse, bp as UserInfo, bq as UserInputRequestEvent, br as UserMessageEvent, bs as WebSocketAuthError, bt as WorkStatus, bu as WorkflowAuthMode, bv as WorkflowResponse, bw as WorkflowRunHistoryResponse, bx as WorkflowRunResponse, by as WorkspaceContext, bz as WsConnection, bA as account, bB as agentconfig, bC as agents, bD as assistant, bE as authenticatedFetch, bF as buildDocNameMap, bG as buildFactsContextTool, bH as buildRetrievalChunkTool, bI as buildRetrievalFullContextTool, bJ as buildRetrievalTocTool, bK as chats, bL as connectWebSocket, bM as connectWithReconnect, bN as consumeSSEStream, bO as contacts, bP as conversations, bQ as countCitations, bR as createAuthenticatedClient, bS as createDocumentWaiter, bT as doctags, bU as documents, bV as facts, bW as files, bX as filterSkills, bY as formatAgentStepLabel, bZ as formatFileSize, b_ as formatGbp, b$ as formatGbpPerMillionTokens, c0 as formatItemLabel, c1 as formatStreamSummary, c2 as formatUserName, c3 as formatWorkspaceChoices, c4 as formatWsMessage, c5 as generateEncryptedWorkspaceKey, c6 as generateNewWorkspaceKey, c7 as getErrorCode, c8 as getErrorMessage, c9 as getRawWorkspaceKey, ca as health, cc as identityErrorCode, cb as identityVerification, cd as mail, ce as notifications, cf as parseSSEEvents, cg as parseSlashCommand, ch as parseSlashTokenInProgress, ci as performPasswordLogin, cj as performSigningKeyLogin, ck as performSsoDeviceFlowLogin, cl as profile, cm as projects, cn as requireData, co as requireOk, cp as resolveAuth, cq as resolveCitations, cr as resolveWorkspace, cs as responses, ct as selectWorkspace, cu as selectWorkspaceById, cv as sessions, cw as settings, cx as signatureRequests, cy as streamSSE, cz as stripCitationMarkdown, cA as summarizeCitations, cB as tags, cC as usdToGbp, cD as work, cE as workflowSteps, cF as workflows, cG as workspaces } from './browser-IUaO7L7D.cjs';
1
+ import { E as ConfigStore, z as CliConfig, B as CliCredentials, x as ChatSession, aS as SkippedFile, bm as UploadResult, m as AuthHeaders, bi as UploadBatchResult, bl as UploadOptions, bj as UploadDirectOptions, bk as UploadDirectResult, aP as SUPPORTED_EXTENSIONS, a8 as MailAttachment, q as ChatCryptoContext } from './browser-vEFE9k2T.cjs';
2
+ export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, C as ChatAttachmentFile, p as ChatAttachmentInput, r as ChatKeyRing, s as ChatKind, t as ChatMemberKey, u as ChatMemberResponse, v as ChatMessageResponse, w as ChatResponse, y as CitationSummary, D as CommandDescriptor, F as ConnectOptions, G as ConversationResponse, H as ConversationUsageResponse, K as CreateWorkRequest, L as CreateWorkflowRequest, M as DEFAULT_AI_USD_PER_GBP, N as DOC_TERMINAL_STATUSES, O as DecryptedChat, P as DecryptedChatMessage, R as DocNameMap, S as DocumentAutomationAction, T as DocumentListFields, U as DocumentListOrder, V as DocumentSelector, W as DocumentWaiter, X as DocumentWaiterOptions, $ as FormattedWsMessage, a0 as IdentityErrorCode, a1 as IdentityPurchase, a2 as IdentityState, a3 as IdentityStatus, a4 as LinkedRun, a5 as ListAllOptions, a7 as ListPaginatedOptions, a9 as MailDraftSSEEvent, aa as MessageLevel, ab as MessageMetadataPayload, ac as MessageQueuedEvent, ad as OutputTokensDetails, ae as ParsedSlashCommand, af as PendingAuthResponse, ag as PlanStepsError, ah as PlanWorkRequest, aj as ProjectBudget, ak as ProjectConversationUsageResponse, al as ProjectDetails, am as ProjectEventKind, an as ProjectEventResponse, ao as ProjectInvoicesResponse, ap as ProjectResponse, aq as ProjectUpdateRequest, ar as ProjectUsageResponse, as as QueryOptions, at as RaisedSignal, au as ReconnectOptions, av as ReconnectableWsConnection, aw as ResolvedCitation, ax as ResolvedRecipient, ay as ResponseCompletedEvent, az as ResponseContentPartAddedEvent, aA as ResponseCreatedEvent, aB as ResponseFailedEvent, aC as ResponseOutputItemAddedEvent, aD as ResponseOutputItemDoneEvent, aE as ResponseOutputTextDeltaEvent, aF as ResponseOutputTextDoneEvent, aG as ResponseUsage, aH as RunProgress, aI as RunStep, aJ as RunWaitingOn, aK as SSEEvent, aL as SSEStreamCallbacks, aM as SSEStreamResult, aN as SSEStreamStartData, aO as STEP_FIELD_OPTION_TONES, aQ as SendBack, aR as SkillSummary, aT as StepActionRequest, aU as StepActivityEvent, aV as StepAssignee, aW as StepField, aX as StepFieldOption, aY as StepFieldOptionTone, aZ as StepKind, a_ as StepPhase, a$ as StepSignal, b0 as StepSignalWhen, b1 as StepState, b2 as StepStatus, b3 as SubmitBackgroundQueryOptions, b4 as TagChange, b5 as TagFieldDefinition, b6 as TagKind, b7 as TagKindField, b8 as TagKindSchema, b9 as TagLinks, ba as TagListQuery, bb as TagResponse, bc as TaskPlan, bd as TaskPlanStep, be as TokenBudgetContext, bf as UpdateConversationRequest, bh as UpdateWorkflowRequest, bn as UsageBreakdown, bo as UserDailyUsageResponse, bp as UserInfo, bq as UserInputRequestEvent, br as UserMessageEvent, bs as WebSocketAuthError, bt as WorkStatus, bu as WorkflowAuthMode, bv as WorkflowResponse, bw as WorkflowRunHistoryResponse, bx as WorkflowRunResponse, by as WorkspaceContext, bz as WsConnection, bA as account, bB as agentconfig, bC as agents, bD as assistant, bE as authenticatedFetch, bF as buildDocNameMap, bG as buildFactsContextTool, bH as buildRetrievalChunkTool, bI as buildRetrievalFullContextTool, bJ as buildRetrievalTocTool, bK as chats, bL as connectWebSocket, bM as connectWithReconnect, bN as consumeSSEStream, bO as contacts, bP as conversations, bQ as countCitations, bR as createAuthenticatedClient, bS as createDocumentWaiter, bT as doctags, bU as documents, bV as facts, bW as files, bX as filterSkills, bY as formatAgentStepLabel, bZ as formatFileSize, b_ as formatGbp, b$ as formatGbpPerMillionTokens, c0 as formatItemLabel, c1 as formatStreamSummary, c2 as formatUserName, c3 as formatWorkspaceChoices, c4 as formatWsMessage, c5 as generateEncryptedWorkspaceKey, c6 as generateNewWorkspaceKey, c7 as getErrorCode, c8 as getErrorMessage, c9 as getRawWorkspaceKey, ca as health, cc as identityErrorCode, cb as identityVerification, cd as mail, ce as notifications, cf as parseSSEEvents, cg as parseSlashCommand, ch as parseSlashTokenInProgress, ci as performPasswordLogin, cj as performSigningKeyLogin, ck as performSsoDeviceFlowLogin, cl as profile, cm as projects, cn as requireData, co as requireOk, cp as resolveAuth, cq as resolveCitations, cr as resolveWorkspace, cs as responses, ct as selectWorkspace, cu as selectWorkspaceById, cv as sessions, cw as settings, cx as signatureRequests, cy as streamSSE, cz as stripCitationMarkdown, cA as summarizeCitations, cB as tags, cC as usdToGbp, cD as work, cE as workflowSteps, cF as workflows, cG as workspaces } from './browser-vEFE9k2T.cjs';
3
3
  import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
4
4
  export { LoginProfile } from '@arbidocs/client';
5
5
 
@@ -393,13 +393,14 @@ declare namespace mailNode {
393
393
 
394
394
  type FirmPoolResponse = components['schemas']['FirmPoolResponse'];
395
395
  /**
396
- * The firm's AI usage pool this month (£): licence, add-ons, used of total, auto add-ons, and whether
396
+ * The firm's AI usage pool this month (£) and its Box licence (users, storage, £ of AI usage, interval, a decrease
397
+ * kept until the period end): used of total, automatic top-ups, and whether
397
398
  * the caller may top up. `has_pool` is false where the deployment has no pooled budget. Readable by
398
399
  * firm members and Box admins; anyone else gets a 403.
399
400
  */
400
401
  declare function getFirmPool(arbi: ArbiClient): Promise<FirmPoolResponse>;
401
402
  /**
402
- * Buy `aiAddons` renewing add-ons (+£10 of AI usage a month each) for the whole firm. Box admins only. Returns the
403
+ * Buy `aiAddons` renewing steps (+£25 of AI usage a month each) for the whole firm. Box admins only. Returns the
403
404
  * updated pool and, when the payment needs the customer, the invoice to open.
404
405
  */
405
406
  declare function topUpFirmPool(arbi: ArbiClient, aiAddons: number): Promise<{
@@ -410,13 +411,25 @@ declare function topUpFirmPool(arbi: ArbiClient, aiAddons: number): Promise<{
410
411
  licence_status?: string | null | undefined;
411
412
  expires_at?: string | null | undefined;
412
413
  premium_only: boolean;
413
- box_seats?: number | null | undefined;
414
- plus_seats?: number | null | undefined;
415
- ai_addons?: number | null | undefined;
414
+ users?: number | null | undefined;
415
+ storage_gb?: number | null | undefined;
416
+ ai_gbp?: number | null | undefined;
417
+ unlimited_standard_ai?: boolean | null | undefined;
418
+ interval?: string | null | undefined;
419
+ kept_until?: string | null | undefined;
420
+ renews?: {
421
+ users?: number | null | undefined;
422
+ storage_gb?: number | null | undefined;
423
+ ai_gbp?: number | null | undefined;
424
+ unlimited_standard_ai?: boolean | null | undefined;
425
+ support?: string | null | undefined;
426
+ } | null | undefined;
427
+ support?: string | null | undefined;
416
428
  addon_gbp?: number | null | undefined;
417
429
  base_gbp?: number | null | undefined;
418
430
  auto_addons?: number | null | undefined;
419
431
  auto_addon_gbp?: number | null | undefined;
432
+ auto_storage_gb?: number | null | undefined;
420
433
  auto_addon_price_pence?: number | null | undefined;
421
434
  auto_addon_spent_pence?: number | null | undefined;
422
435
  auto_addon_limit_pence?: number | null | undefined;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { E as ConfigStore, z as CliConfig, B as CliCredentials, x as ChatSession, aS as SkippedFile, bm as UploadResult, m as AuthHeaders, bi as UploadBatchResult, bl as UploadOptions, bj as UploadDirectOptions, bk as UploadDirectResult, aP as SUPPORTED_EXTENSIONS, a8 as MailAttachment, q as ChatCryptoContext } from './browser-IUaO7L7D.js';
2
- export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, C as ChatAttachmentFile, p as ChatAttachmentInput, r as ChatKeyRing, s as ChatKind, t as ChatMemberKey, u as ChatMemberResponse, v as ChatMessageResponse, w as ChatResponse, y as CitationSummary, D as CommandDescriptor, F as ConnectOptions, G as ConversationResponse, H as ConversationUsageResponse, K as CreateWorkRequest, L as CreateWorkflowRequest, M as DEFAULT_AI_USD_PER_GBP, N as DOC_TERMINAL_STATUSES, O as DecryptedChat, P as DecryptedChatMessage, R as DocNameMap, S as DocumentAutomationAction, T as DocumentListFields, U as DocumentListOrder, V as DocumentSelector, W as DocumentWaiter, X as DocumentWaiterOptions, $ as FormattedWsMessage, a0 as IdentityErrorCode, a1 as IdentityPurchase, a2 as IdentityState, a3 as IdentityStatus, a4 as LinkedRun, a5 as ListAllOptions, a7 as ListPaginatedOptions, a9 as MailDraftSSEEvent, aa as MessageLevel, ab as MessageMetadataPayload, ac as MessageQueuedEvent, ad as OutputTokensDetails, ae as ParsedSlashCommand, af as PendingAuthResponse, ag as PlanStepsError, ah as PlanWorkRequest, aj as ProjectBudget, ak as ProjectConversationUsageResponse, al as ProjectDetails, am as ProjectEventKind, an as ProjectEventResponse, ao as ProjectInvoicesResponse, ap as ProjectResponse, aq as ProjectUpdateRequest, ar as ProjectUsageResponse, as as QueryOptions, at as RaisedSignal, au as ReconnectOptions, av as ReconnectableWsConnection, aw as ResolvedCitation, ax as ResolvedRecipient, ay as ResponseCompletedEvent, az as ResponseContentPartAddedEvent, aA as ResponseCreatedEvent, aB as ResponseFailedEvent, aC as ResponseOutputItemAddedEvent, aD as ResponseOutputItemDoneEvent, aE as ResponseOutputTextDeltaEvent, aF as ResponseOutputTextDoneEvent, aG as ResponseUsage, aH as RunProgress, aI as RunStep, aJ as RunWaitingOn, aK as SSEEvent, aL as SSEStreamCallbacks, aM as SSEStreamResult, aN as SSEStreamStartData, aO as STEP_FIELD_OPTION_TONES, aQ as SendBack, aR as SkillSummary, aT as StepActionRequest, aU as StepActivityEvent, aV as StepAssignee, aW as StepField, aX as StepFieldOption, aY as StepFieldOptionTone, aZ as StepKind, a_ as StepPhase, a$ as StepSignal, b0 as StepSignalWhen, b1 as StepState, b2 as StepStatus, b3 as SubmitBackgroundQueryOptions, b4 as TagChange, b5 as TagFieldDefinition, b6 as TagKind, b7 as TagKindField, b8 as TagKindSchema, b9 as TagLinks, ba as TagListQuery, bb as TagResponse, bc as TaskPlan, bd as TaskPlanStep, be as TokenBudgetContext, bf as UpdateConversationRequest, bh as UpdateWorkflowRequest, bn as UsageBreakdown, bo as UserDailyUsageResponse, bp as UserInfo, bq as UserInputRequestEvent, br as UserMessageEvent, bs as WebSocketAuthError, bt as WorkStatus, bu as WorkflowAuthMode, bv as WorkflowResponse, bw as WorkflowRunHistoryResponse, bx as WorkflowRunResponse, by as WorkspaceContext, bz as WsConnection, bA as account, bB as agentconfig, bC as agents, bD as assistant, bE as authenticatedFetch, bF as buildDocNameMap, bG as buildFactsContextTool, bH as buildRetrievalChunkTool, bI as buildRetrievalFullContextTool, bJ as buildRetrievalTocTool, bK as chats, bL as connectWebSocket, bM as connectWithReconnect, bN as consumeSSEStream, bO as contacts, bP as conversations, bQ as countCitations, bR as createAuthenticatedClient, bS as createDocumentWaiter, bT as doctags, bU as documents, bV as facts, bW as files, bX as filterSkills, bY as formatAgentStepLabel, bZ as formatFileSize, b_ as formatGbp, b$ as formatGbpPerMillionTokens, c0 as formatItemLabel, c1 as formatStreamSummary, c2 as formatUserName, c3 as formatWorkspaceChoices, c4 as formatWsMessage, c5 as generateEncryptedWorkspaceKey, c6 as generateNewWorkspaceKey, c7 as getErrorCode, c8 as getErrorMessage, c9 as getRawWorkspaceKey, ca as health, cc as identityErrorCode, cb as identityVerification, cd as mail, ce as notifications, cf as parseSSEEvents, cg as parseSlashCommand, ch as parseSlashTokenInProgress, ci as performPasswordLogin, cj as performSigningKeyLogin, ck as performSsoDeviceFlowLogin, cl as profile, cm as projects, cn as requireData, co as requireOk, cp as resolveAuth, cq as resolveCitations, cr as resolveWorkspace, cs as responses, ct as selectWorkspace, cu as selectWorkspaceById, cv as sessions, cw as settings, cx as signatureRequests, cy as streamSSE, cz as stripCitationMarkdown, cA as summarizeCitations, cB as tags, cC as usdToGbp, cD as work, cE as workflowSteps, cF as workflows, cG as workspaces } from './browser-IUaO7L7D.js';
1
+ import { E as ConfigStore, z as CliConfig, B as CliCredentials, x as ChatSession, aS as SkippedFile, bm as UploadResult, m as AuthHeaders, bi as UploadBatchResult, bl as UploadOptions, bj as UploadDirectOptions, bk as UploadDirectResult, aP as SUPPORTED_EXTENSIONS, a8 as MailAttachment, q as ChatCryptoContext } from './browser-vEFE9k2T.js';
2
+ export { A as ActivityKind, a as ActivityResponse, d as AgentStepEvent, e as Arbi, f as ArbiApiError, g as ArbiError, i as ArbiOptions, j as ArbiSessionExpiredError, k as ArtifactEvent, l as AuthContext, n as AuthMode, o as AuthenticatedClient, C as ChatAttachmentFile, p as ChatAttachmentInput, r as ChatKeyRing, s as ChatKind, t as ChatMemberKey, u as ChatMemberResponse, v as ChatMessageResponse, w as ChatResponse, y as CitationSummary, D as CommandDescriptor, F as ConnectOptions, G as ConversationResponse, H as ConversationUsageResponse, K as CreateWorkRequest, L as CreateWorkflowRequest, M as DEFAULT_AI_USD_PER_GBP, N as DOC_TERMINAL_STATUSES, O as DecryptedChat, P as DecryptedChatMessage, R as DocNameMap, S as DocumentAutomationAction, T as DocumentListFields, U as DocumentListOrder, V as DocumentSelector, W as DocumentWaiter, X as DocumentWaiterOptions, $ as FormattedWsMessage, a0 as IdentityErrorCode, a1 as IdentityPurchase, a2 as IdentityState, a3 as IdentityStatus, a4 as LinkedRun, a5 as ListAllOptions, a7 as ListPaginatedOptions, a9 as MailDraftSSEEvent, aa as MessageLevel, ab as MessageMetadataPayload, ac as MessageQueuedEvent, ad as OutputTokensDetails, ae as ParsedSlashCommand, af as PendingAuthResponse, ag as PlanStepsError, ah as PlanWorkRequest, aj as ProjectBudget, ak as ProjectConversationUsageResponse, al as ProjectDetails, am as ProjectEventKind, an as ProjectEventResponse, ao as ProjectInvoicesResponse, ap as ProjectResponse, aq as ProjectUpdateRequest, ar as ProjectUsageResponse, as as QueryOptions, at as RaisedSignal, au as ReconnectOptions, av as ReconnectableWsConnection, aw as ResolvedCitation, ax as ResolvedRecipient, ay as ResponseCompletedEvent, az as ResponseContentPartAddedEvent, aA as ResponseCreatedEvent, aB as ResponseFailedEvent, aC as ResponseOutputItemAddedEvent, aD as ResponseOutputItemDoneEvent, aE as ResponseOutputTextDeltaEvent, aF as ResponseOutputTextDoneEvent, aG as ResponseUsage, aH as RunProgress, aI as RunStep, aJ as RunWaitingOn, aK as SSEEvent, aL as SSEStreamCallbacks, aM as SSEStreamResult, aN as SSEStreamStartData, aO as STEP_FIELD_OPTION_TONES, aQ as SendBack, aR as SkillSummary, aT as StepActionRequest, aU as StepActivityEvent, aV as StepAssignee, aW as StepField, aX as StepFieldOption, aY as StepFieldOptionTone, aZ as StepKind, a_ as StepPhase, a$ as StepSignal, b0 as StepSignalWhen, b1 as StepState, b2 as StepStatus, b3 as SubmitBackgroundQueryOptions, b4 as TagChange, b5 as TagFieldDefinition, b6 as TagKind, b7 as TagKindField, b8 as TagKindSchema, b9 as TagLinks, ba as TagListQuery, bb as TagResponse, bc as TaskPlan, bd as TaskPlanStep, be as TokenBudgetContext, bf as UpdateConversationRequest, bh as UpdateWorkflowRequest, bn as UsageBreakdown, bo as UserDailyUsageResponse, bp as UserInfo, bq as UserInputRequestEvent, br as UserMessageEvent, bs as WebSocketAuthError, bt as WorkStatus, bu as WorkflowAuthMode, bv as WorkflowResponse, bw as WorkflowRunHistoryResponse, bx as WorkflowRunResponse, by as WorkspaceContext, bz as WsConnection, bA as account, bB as agentconfig, bC as agents, bD as assistant, bE as authenticatedFetch, bF as buildDocNameMap, bG as buildFactsContextTool, bH as buildRetrievalChunkTool, bI as buildRetrievalFullContextTool, bJ as buildRetrievalTocTool, bK as chats, bL as connectWebSocket, bM as connectWithReconnect, bN as consumeSSEStream, bO as contacts, bP as conversations, bQ as countCitations, bR as createAuthenticatedClient, bS as createDocumentWaiter, bT as doctags, bU as documents, bV as facts, bW as files, bX as filterSkills, bY as formatAgentStepLabel, bZ as formatFileSize, b_ as formatGbp, b$ as formatGbpPerMillionTokens, c0 as formatItemLabel, c1 as formatStreamSummary, c2 as formatUserName, c3 as formatWorkspaceChoices, c4 as formatWsMessage, c5 as generateEncryptedWorkspaceKey, c6 as generateNewWorkspaceKey, c7 as getErrorCode, c8 as getErrorMessage, c9 as getRawWorkspaceKey, ca as health, cc as identityErrorCode, cb as identityVerification, cd as mail, ce as notifications, cf as parseSSEEvents, cg as parseSlashCommand, ch as parseSlashTokenInProgress, ci as performPasswordLogin, cj as performSigningKeyLogin, ck as performSsoDeviceFlowLogin, cl as profile, cm as projects, cn as requireData, co as requireOk, cp as resolveAuth, cq as resolveCitations, cr as resolveWorkspace, cs as responses, ct as selectWorkspace, cu as selectWorkspaceById, cv as sessions, cw as settings, cx as signatureRequests, cy as streamSSE, cz as stripCitationMarkdown, cA as summarizeCitations, cB as tags, cC as usdToGbp, cD as work, cE as workflowSteps, cF as workflows, cG as workspaces } from './browser-vEFE9k2T.js';
3
3
  import { SessionStorageProvider, ArbiClient, components } from '@arbidocs/client';
4
4
  export { LoginProfile } from '@arbidocs/client';
5
5
 
@@ -393,13 +393,14 @@ declare namespace mailNode {
393
393
 
394
394
  type FirmPoolResponse = components['schemas']['FirmPoolResponse'];
395
395
  /**
396
- * The firm's AI usage pool this month (£): licence, add-ons, used of total, auto add-ons, and whether
396
+ * The firm's AI usage pool this month (£) and its Box licence (users, storage, £ of AI usage, interval, a decrease
397
+ * kept until the period end): used of total, automatic top-ups, and whether
397
398
  * the caller may top up. `has_pool` is false where the deployment has no pooled budget. Readable by
398
399
  * firm members and Box admins; anyone else gets a 403.
399
400
  */
400
401
  declare function getFirmPool(arbi: ArbiClient): Promise<FirmPoolResponse>;
401
402
  /**
402
- * Buy `aiAddons` renewing add-ons (+£10 of AI usage a month each) for the whole firm. Box admins only. Returns the
403
+ * Buy `aiAddons` renewing steps (+£25 of AI usage a month each) for the whole firm. Box admins only. Returns the
403
404
  * updated pool and, when the payment needs the customer, the invoice to open.
404
405
  */
405
406
  declare function topUpFirmPool(arbi: ArbiClient, aiAddons: number): Promise<{
@@ -410,13 +411,25 @@ declare function topUpFirmPool(arbi: ArbiClient, aiAddons: number): Promise<{
410
411
  licence_status?: string | null | undefined;
411
412
  expires_at?: string | null | undefined;
412
413
  premium_only: boolean;
413
- box_seats?: number | null | undefined;
414
- plus_seats?: number | null | undefined;
415
- ai_addons?: number | null | undefined;
414
+ users?: number | null | undefined;
415
+ storage_gb?: number | null | undefined;
416
+ ai_gbp?: number | null | undefined;
417
+ unlimited_standard_ai?: boolean | null | undefined;
418
+ interval?: string | null | undefined;
419
+ kept_until?: string | null | undefined;
420
+ renews?: {
421
+ users?: number | null | undefined;
422
+ storage_gb?: number | null | undefined;
423
+ ai_gbp?: number | null | undefined;
424
+ unlimited_standard_ai?: boolean | null | undefined;
425
+ support?: string | null | undefined;
426
+ } | null | undefined;
427
+ support?: string | null | undefined;
416
428
  addon_gbp?: number | null | undefined;
417
429
  base_gbp?: number | null | undefined;
418
430
  auto_addons?: number | null | undefined;
419
431
  auto_addon_gbp?: number | null | undefined;
432
+ auto_storage_gb?: number | null | undefined;
420
433
  auto_addon_price_pence?: number | null | undefined;
421
434
  auto_addon_spent_pence?: number | null | undefined;
422
435
  auto_addon_limit_pence?: number | null | undefined;
package/dist/index.js CHANGED
@@ -8550,7 +8550,7 @@ var Arbi = class {
8550
8550
  firm = {
8551
8551
  /** The firm's pooled monthly £ of AI usage (`has_pool` false where there is none). */
8552
8552
  pool: () => getFirmPool(this.requireClient()),
8553
- /** Buy `aiAddons` renewing add-ons (+£10 of AI usage a month each) for the firm. Box admins only. */
8553
+ /** Buy `aiAddons` renewing steps (+£25 of AI usage a month each) for the firm. Box admins only. */
8554
8554
  topUp: (aiAddons) => topUpFirmPool(this.requireClient(), aiAddons)
8555
8555
  };
8556
8556
  // ── Profile ───────────────────────────────────────────────────────────