@astralbeam/sdk 0.16.0 → 0.17.0

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/core.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as ChatAuthenticationState, C as AstralBeamChatState, D as createAstralBeamChat, E as WidgetRenderRequest, F as SandboxArtifact, G as StandardSchemaV1, H as InferParameters, I as SandboxCommandRun, K as ToolDefinition, L as SandboxFileWrite, M as buildAgentTools, N as RenderWidgetInput, O as ChatPendingInteraction, P as SandboxActivity, R as SandboxStatus, S as AstralBeamChatCoreOptions, T as ChatSubmissionCallbacks, U as JsonSchemaObject, W as ParametersSchema, _ as hasPendingToolRun, a as SANDBOX_PUBLISH_ARTIFACT_TOOL, b as AgentToolInfo, c as SANDBOX_STATUS_EVENT, d as describeSandboxCommandRun, f as isSandboxTool, g as sandboxRefusal, h as readSandboxFileWrite, i as SANDBOX_LIST_FILES_TOOL, j as WidgetDeclaration, k as ChatThread, l as SANDBOX_WRITE_FILE_TOOL, m as readSandboxCommandRun, n as ASK_QUESTIONNAIRE_TOOL, o as SANDBOX_READ_FILE_TOOL, p as readSandboxArtifact, r as RENDER_WIDGET_TOOL, s as SANDBOX_RUN_COMMAND_TOOL, t as defineTool, u as collectSandboxActivity, v as isSettledToolCall, w as ChatStreamCallbacks, x as AstralBeamChatCore, y as lastPartInProgress } from "./index-CM3pzsKR.js";
2
- export { ASK_QUESTIONNAIRE_TOOL, type AgentToolInfo, type AstralBeamChatCore, type AstralBeamChatCoreOptions, type AstralBeamChatState, type ChatAuthenticationState, type ChatPendingInteraction, type ChatStreamCallbacks, type ChatSubmissionCallbacks, type ChatThread, type InferParameters, type JsonSchemaObject, type ParametersSchema, RENDER_WIDGET_TOOL, type RenderWidgetInput, SANDBOX_LIST_FILES_TOOL, SANDBOX_PUBLISH_ARTIFACT_TOOL, SANDBOX_READ_FILE_TOOL, SANDBOX_RUN_COMMAND_TOOL, SANDBOX_STATUS_EVENT, SANDBOX_WRITE_FILE_TOOL, type SandboxActivity, type SandboxArtifact, type SandboxCommandRun, type SandboxFileWrite, type SandboxStatus, type StandardSchemaV1, type ToolDefinition, type WidgetDeclaration, type WidgetRenderRequest, buildAgentTools, collectSandboxActivity, createAstralBeamChat, defineTool, describeSandboxCommandRun, hasPendingToolRun, isSandboxTool, isSettledToolCall, lastPartInProgress, readSandboxArtifact, readSandboxCommandRun, readSandboxFileWrite, sandboxRefusal };
1
+ import { A as WidgetRenderRequest, B as SandboxCommandRun, C as lastPartInProgress, D as AstralBeamChatState, E as AstralBeamChatCoreOptions, F as WidgetDeclaration, H as SandboxStatus, I as buildAgentTools, J as ParametersSchema, K as InferParameters, L as RenderWidgetInput, M as ChatPendingInteraction, N as ChatThread, O as ChatStreamCallbacks, P as ChatAuthenticationState, R as SandboxActivity, S as isSettledToolCall, T as AstralBeamChatCore, V as SandboxFileWrite, X as ToolDefinition, Y as StandardSchemaV1, _ as readSandboxArtifact, a as defineTool, b as sandboxRefusal, c as SANDBOX_LIST_FILES_TOOL, d as SANDBOX_RUN_COMMAND_TOOL, f as SANDBOX_STATUS_EVENT, g as isSandboxTool, h as describeSandboxCommandRun, i as WebSource, j as createAstralBeamChat, k as ChatSubmissionCallbacks, l as SANDBOX_PUBLISH_ARTIFACT_TOOL, m as collectSandboxActivity, n as WebEvidence, o as ASK_QUESTIONNAIRE_TOOL, p as SANDBOX_WRITE_FILE_TOOL, q as JsonSchemaObject, r as WebPartMetadata, s as RENDER_WIDGET_TOOL, t as WebCitation, u as SANDBOX_READ_FILE_TOOL, v as readSandboxCommandRun, w as AgentToolInfo, x as hasPendingToolRun, y as readSandboxFileWrite, z as SandboxArtifact } from "./index-NT05_Yw_.js";
2
+ export { ASK_QUESTIONNAIRE_TOOL, type AgentToolInfo, type AstralBeamChatCore, type AstralBeamChatCoreOptions, type AstralBeamChatState, type ChatAuthenticationState, type ChatPendingInteraction, type ChatStreamCallbacks, type ChatSubmissionCallbacks, type ChatThread, type InferParameters, type JsonSchemaObject, type ParametersSchema, RENDER_WIDGET_TOOL, type RenderWidgetInput, SANDBOX_LIST_FILES_TOOL, SANDBOX_PUBLISH_ARTIFACT_TOOL, SANDBOX_READ_FILE_TOOL, SANDBOX_RUN_COMMAND_TOOL, SANDBOX_STATUS_EVENT, SANDBOX_WRITE_FILE_TOOL, type SandboxActivity, type SandboxArtifact, type SandboxCommandRun, type SandboxFileWrite, type SandboxStatus, type StandardSchemaV1, type ToolDefinition, type WebCitation, type WebEvidence, type WebPartMetadata, type WebSource, type WidgetDeclaration, type WidgetRenderRequest, buildAgentTools, collectSandboxActivity, createAstralBeamChat, defineTool, describeSandboxCommandRun, hasPendingToolRun, isSandboxTool, isSettledToolCall, lastPartInProgress, readSandboxArtifact, readSandboxCommandRun, readSandboxFileWrite, sandboxRefusal };
package/dist/core.js CHANGED
@@ -1,2 +1,2 @@
1
- import { S as SANDBOX_WRITE_FILE_TOOL, _ as SANDBOX_LIST_FILES_TOOL, a as describeSandboxCommandRun, b as SANDBOX_RUN_COMMAND_TOOL, c as readSandboxCommandRun, d as hasPendingToolRun, f as isSettledToolCall, g as RENDER_WIDGET_TOOL, h as ASK_QUESTIONNAIRE_TOOL, i as collectSandboxActivity, l as readSandboxFileWrite, m as buildAgentTools, o as isSandboxTool, p as lastPartInProgress, r as createAstralBeamChat, s as readSandboxArtifact, t as defineTool, u as sandboxRefusal, v as SANDBOX_PUBLISH_ARTIFACT_TOOL, x as SANDBOX_STATUS_EVENT, y as SANDBOX_READ_FILE_TOOL } from "./core-D84VNYWJ.js";
1
+ import { S as SANDBOX_WRITE_FILE_TOOL, _ as SANDBOX_LIST_FILES_TOOL, a as describeSandboxCommandRun, b as SANDBOX_RUN_COMMAND_TOOL, c as readSandboxCommandRun, d as hasPendingToolRun, f as isSettledToolCall, g as RENDER_WIDGET_TOOL, h as ASK_QUESTIONNAIRE_TOOL, i as collectSandboxActivity, l as readSandboxFileWrite, m as buildAgentTools, o as isSandboxTool, p as lastPartInProgress, r as createAstralBeamChat, s as readSandboxArtifact, t as defineTool, u as sandboxRefusal, v as SANDBOX_PUBLISH_ARTIFACT_TOOL, x as SANDBOX_STATUS_EVENT, y as SANDBOX_READ_FILE_TOOL } from "./core-DeMY6_wQ.js";
2
2
  export { ASK_QUESTIONNAIRE_TOOL, RENDER_WIDGET_TOOL, SANDBOX_LIST_FILES_TOOL, SANDBOX_PUBLISH_ARTIFACT_TOOL, SANDBOX_READ_FILE_TOOL, SANDBOX_RUN_COMMAND_TOOL, SANDBOX_STATUS_EVENT, SANDBOX_WRITE_FILE_TOOL, buildAgentTools, collectSandboxActivity, createAstralBeamChat, defineTool, describeSandboxCommandRun, hasPendingToolRun, isSandboxTool, isSettledToolCall, lastPartInProgress, readSandboxArtifact, readSandboxCommandRun, readSandboxFileWrite, sandboxRefusal };
@@ -12,10 +12,6 @@ type JwtOptions = ApiRequestOptions & {
12
12
  apiKey?: never;
13
13
  };
14
14
  type ApiOptions = ApiKeyOptions | JwtOptions;
15
- type FileOptions = ApiRequestOptions & {
16
- apiKey?: never;
17
- astralBeamToken?: never;
18
- };
19
15
  interface AstralBeamApiError$1 extends Error {
20
16
  name: "AstralBeamApiError";
21
17
  status: number;
@@ -27,19 +23,31 @@ declare function astralBeamApiFetch<T>(path: string, options: ApiOptions): Promi
27
23
  declare function astralBeamJwtFetch<T>(path: string, options: JwtOptions): Promise<T>;
28
24
  declare function astralBeamResourceFetch<_T>(path: string, options: ApiOptions): Promise<Response>;
29
25
  declare function astralBeamChatFetch<_T>(path: string, options: JwtOptions): Promise<Response>;
30
- declare function astralBeamFileFetch<_T>(path: string, options?: FileOptions): Promise<Response>;
31
26
  //#endregion
32
27
  //#region src/api/generated/api.d.ts
33
28
  type AstralBeamApiErrorIssuesItem = {
34
29
  path: string;
35
30
  message: string;
36
31
  };
32
+ /**
33
+ * The usage limit a 429 reached, by its display name, and when it resets.
34
+ */
35
+ type AstralBeamApiErrorUsageLimit = {
36
+ name: string;
37
+ resets_at: string;
38
+ };
37
39
  interface AstralBeamApiError {
38
40
  type: string;
39
41
  title: string;
42
+ /**
43
+ * @minimum -9007199254740991
44
+ * @maximum 9007199254740991
45
+ */
40
46
  status: number;
41
47
  detail: string;
42
48
  issues?: AstralBeamApiErrorIssuesItem[];
49
+ /** The usage limit a 429 reached, by its display name, and when it resets. */
50
+ usage_limit?: AstralBeamApiErrorUsageLimit;
43
51
  /** Identifies the server log entry of an internal error. Quote it for support. */
44
52
  reference?: string;
45
53
  }
@@ -100,11 +108,19 @@ type CurrentUser = {
100
108
  role: string;
101
109
  };
102
110
  };
103
- interface ChatSubmissionReceiptEncoded {
111
+ type ChatToolResultReceiptEncodedUsageLimit = {
112
+ name: string;
113
+ resets_at: string;
114
+ };
115
+ interface ChatToolResultReceiptEncoded {
104
116
  thread_id: string;
105
117
  accepted_message_id: string;
106
- /** @minimum 0 */
118
+ /**
119
+ * @minimum 0
120
+ * @maximum 9007199254740991
121
+ */
107
122
  thread_version: number;
123
+ usage_limit?: ChatToolResultReceiptEncodedUsageLimit;
108
124
  }
109
125
  type ResolveChatToolResultInputEncodedResultsItemOutcome = (typeof ResolveChatToolResultInputEncodedResultsItemOutcome)[keyof typeof ResolveChatToolResultInputEncodedResultsItemOutcome];
110
126
  declare const ResolveChatToolResultInputEncodedResultsItemOutcome: {
@@ -159,7 +175,10 @@ declare const SetChatParticipantInputEncodedRole: {
159
175
  };
160
176
  interface SetChatParticipantInputEncoded {
161
177
  role: SetChatParticipantInputEncodedRole;
162
- /** @minimum 0 */
178
+ /**
179
+ * @minimum 0
180
+ * @maximum 9007199254740991
181
+ */
163
182
  expected_version: number;
164
183
  }
165
184
  interface ChatTenantUserEncoded {
@@ -218,7 +237,11 @@ declare const ChatHistoryPageEncodedThreadRole: {
218
237
  type ChatHistoryPageEncodedThread = {
219
238
  id: string;
220
239
  title: string | null;
221
- agent_id: string | null; /** @minimum 0 */
240
+ agent_id: string | null;
241
+ /**
242
+ * @minimum 0
243
+ * @maximum 9007199254740991
244
+ */
222
245
  version: number;
223
246
  current_leaf_message_id: string | null;
224
247
  role: ChatHistoryPageEncodedThreadRole;
@@ -260,7 +283,10 @@ interface ChatThreadEncoded {
260
283
  id: string;
261
284
  title: string | null;
262
285
  agent_id: string | null;
263
- /** @minimum 0 */
286
+ /**
287
+ * @minimum 0
288
+ * @maximum 9007199254740991
289
+ */
264
290
  version: number;
265
291
  current_leaf_message_id: string | null;
266
292
  role: ChatThreadEncodedRole;
@@ -274,7 +300,10 @@ interface UpdateChatThreadInputEncoded {
274
300
  * @maxLength 200
275
301
  */
276
302
  title: string;
277
- /** @minimum 0 */
303
+ /**
304
+ * @minimum 0
305
+ * @maximum 9007199254740991
306
+ */
278
307
  expected_version: number;
279
308
  }
280
309
  interface ChatThreadPage {
@@ -292,12 +321,45 @@ interface CreateChatThreadInputEncoded {
292
321
  title?: string;
293
322
  agent_id?: string;
294
323
  }
324
+ type ChatUsageUsageLimitsItemScope = (typeof ChatUsageUsageLimitsItemScope)[keyof typeof ChatUsageUsageLimitsItemScope];
325
+ declare const ChatUsageUsageLimitsItemScope: {
326
+ readonly global: "global";
327
+ readonly tenant: "tenant";
328
+ readonly tenant_user: "tenant_user";
329
+ readonly thread: "thread";
330
+ };
331
+ type ChatUsageUsageLimitsItemMetric = (typeof ChatUsageUsageLimitsItemMetric)[keyof typeof ChatUsageUsageLimitsItemMetric];
332
+ declare const ChatUsageUsageLimitsItemMetric: {
333
+ readonly tokens: "tokens";
334
+ readonly spend: "spend";
335
+ };
336
+ type ChatUsageUsageLimitsItem = {
337
+ id: string;
338
+ name: string;
339
+ scope: ChatUsageUsageLimitsItemScope;
340
+ metric: ChatUsageUsageLimitsItemMetric;
341
+ amount: string;
342
+ used: string;
343
+ resetsAt: string | null;
344
+ };
345
+ interface ChatUsage {
346
+ usageLimits: ChatUsageUsageLimitsItem[];
347
+ }
295
348
  type ChatConfigurationCapabilities = {
296
349
  attachments: boolean;
297
350
  };
298
351
  interface ChatConfiguration {
299
352
  capabilities: ChatConfigurationCapabilities;
300
353
  }
354
+ interface ChatSubmissionReceiptEncoded {
355
+ thread_id: string;
356
+ accepted_message_id: string;
357
+ /**
358
+ * @minimum 0
359
+ * @maximum 9007199254740991
360
+ */
361
+ thread_version: number;
362
+ }
301
363
  type ChatRunInputForwardedProps = {
302
364
  [key: string]: unknown;
303
365
  } & {
@@ -324,6 +386,15 @@ interface ChatRunInput {
324
386
  state?: unknown;
325
387
  parentRunId?: string;
326
388
  }
389
+ interface UploadedChatFile {
390
+ fileId: string;
391
+ mimeType: string;
392
+ /**
393
+ * @minimum -9007199254740991
394
+ * @maximum 9007199254740991
395
+ */
396
+ byteSize: number;
397
+ }
327
398
  type ChatMessageEncodedRole = (typeof ChatMessageEncodedRole)[keyof typeof ChatMessageEncodedRole];
328
399
  declare const ChatMessageEncodedRole: {
329
400
  readonly user: "user";
@@ -576,11 +647,39 @@ type ListThreadMessagesParams = {
576
647
  */
577
648
  page_before?: string;
578
649
  };
579
- type GetChatConfigParams = {
650
+ type UploadChatFileBodyType = (typeof UploadChatFileBodyType)[keyof typeof UploadChatFileBodyType];
651
+ declare const UploadChatFileBodyType: {
652
+ readonly image: "image";
653
+ readonly document: "document";
654
+ };
655
+ type UploadChatFileBodySourceType = (typeof UploadChatFileBodySourceType)[keyof typeof UploadChatFileBodySourceType];
656
+ declare const UploadChatFileBodySourceType: {
657
+ readonly data: "data";
658
+ };
659
+ type UploadChatFileBodySource = {
660
+ type: UploadChatFileBodySourceType;
661
+ value: string;
662
+ mimeType: string;
663
+ };
664
+ type UploadChatFileBodyMetadata = {
665
+ filename: string;
666
+ };
667
+ type UploadChatFileBody = {
580
668
  agentId?: string;
669
+ type: UploadChatFileBodyType;
670
+ source: UploadChatFileBodySource;
671
+ metadata: UploadChatFileBodyMetadata;
581
672
  };
582
673
  type GetChatFileParams = {
583
- ticket: string;
674
+ threadId: string;
675
+ fileId: string;
676
+ filename?: string;
677
+ };
678
+ type GetChatConfigParams = {
679
+ agentId?: string;
680
+ };
681
+ type GetChatUsageParams = {
682
+ threadId?: string;
584
683
  };
585
684
  type ListChatThreadsParams = {
586
685
  /**
@@ -738,6 +837,18 @@ declare const getGetThreadAttachmentUrl: (tenantId: string, id: string, messageI
738
837
  * @summary Download a saved conversation upload for administration
739
838
  */
740
839
  declare const getThreadAttachment: (tenantId: string, id: string, messageId: string, partId: string, options: Parameters<typeof astralBeamResourceFetch>[1]) => Promise<Response>;
840
+ declare const getUploadChatFileUrl: () => string;
841
+ /**
842
+ * Upload a file before sending a message using a synchronized tenant user JWT. The returned fileId is private to the uploader until sending attaches it to a message. Send it as source: { type: 'file', value: fileId }. Uploads do not expire. Maximum request size: 32 MiB.
843
+ * @summary Upload a chat file
844
+ */
845
+ declare const uploadChatFile: (uploadChatFileBody: UploadChatFileBody, options: Parameters<typeof astralBeamJwtFetch>[1]) => Promise<UploadedChatFile>;
846
+ declare const getGetChatFileUrl: (params: GetChatFileParams) => string;
847
+ /**
848
+ * Download a stored file using a tenant JWT and current conversation membership. Pass its fileId, conversation threadId, and optional download filename. Published artifacts survive sandbox shutdown. The server verifies the stored size and hash before returning content-sniffed bytes.
849
+ * @summary Download a chat artifact
850
+ */
851
+ declare const getChatFile: (params: GetChatFileParams, options: Parameters<typeof astralBeamChatFetch>[1]) => Promise<Response>;
741
852
  declare const getRunChatUrl: () => string;
742
853
  /**
743
854
  * Save one new user message and stream an AG-UI agent run for a conversation participant using a synchronized tenant user JWT. An optional Idempotency-Key retains acceptance for 24 hours. An identical retry returns an application/json admission receipt without generation. Changed input under the same key returns 400 and simultaneous use returns 409. HTTP failures before streaming use AstralBeamApiError. Once streaming starts, failures use RUN_ERROR events. Submit tool results to the conversation's tool-results endpoint. Disconnecting cancels the foreground run and preserves saved history. Limited to 20 new turns per minute per organization, tenant, and user.
@@ -750,12 +861,12 @@ declare const getGetChatConfigUrl: (params: GetChatConfigParams) => string;
750
861
  * @summary Get chat capabilities
751
862
  */
752
863
  declare const getChatConfig: (params: GetChatConfigParams, options: Parameters<typeof astralBeamJwtFetch>[1]) => Promise<ChatConfiguration>;
753
- declare const getGetChatFileUrl: (params: GetChatFileParams) => string;
864
+ declare const getGetChatUsageUrl: (params: GetChatUsageParams) => string;
754
865
  /**
755
- * Use the signed ticket returned when chat publishes an artifact. No bearer token is required. Returns the original bytes with a content-sniffed Content-Type and Content-Disposition filename. Invalid or expired tickets, a missing sandbox, and rejected artifact checks return 404. Provider or file-read failures return 500.
756
- * @summary Download a chat artifact
866
+ * Read the usage limits that apply to the current tenant user and how much of each is used, using a tenant user JWT. Amounts and usage are decimal strings, in tokens or US dollars. resetsAt is null until usage opens a window. Pass the threadId of a conversation you participate in to include per-conversation limits.
867
+ * @summary Get usage limits
757
868
  */
758
- declare const getChatFile: (params: GetChatFileParams, options?: Parameters<typeof astralBeamFileFetch>[1]) => Promise<Response>;
869
+ declare const getChatUsage: (params: GetChatUsageParams, options: Parameters<typeof astralBeamApiFetch>[1]) => Promise<ChatUsage>;
759
870
  declare const getCreateChatThreadUrl: () => string;
760
871
  /**
761
872
  * @summary Create a saved conversation
@@ -824,4 +935,4 @@ declare const getGetCurrentUserUrl: () => string;
824
935
  */
825
936
  declare const getCurrentUser: (options: Parameters<typeof astralBeamJwtFetch>[1]) => Promise<CurrentUser>;
826
937
  //#endregion
827
- export { ResolveChatToolResultInputEncoded as $, getThreadAttachment as $t, CreateChatThreadInputEncoded as A, getGetChatConfigUrl as At, DirectoryThreadPage as B, getListChatThreadsUrl as Bt, ChatRunInputForwardedProps as C, JwtOptions as Cn, getChatThread as Ct, ChatThreadEncoded as D, getCurrentUser as Dt, ChatTenantUserPage as E, getCreateTenantUserUrl as Et, CurrentUser as F, getGetTenantUrl as Ft, ListChatThreadsParams as G, getOrganization as Gt, GetChatFileParams as H, getListThreadMessagesUrl as Ht, DeleteChatThreadParams as I, getGetTenantUserUrl as It, ListThreadsParams as J, getRunChatUrl as Jt, ListTenantsParams as K, getRemoveChatParticipantUrl as Kt, DirectoryThreadEncoded as L, getGetThreadAttachmentUrl as Lt, CreateTenantInputMetadata as M, getGetChatThreadUrl as Mt, CreateTenantUserInput as N, getGetCurrentUserUrl as Nt, ChatThreadEncodedRole as O, getDeleteChatThreadUrl as Ot, CreateTenantUserInputMetadata as P, getGetOrganizationUrl as Pt, RemoveChatParticipantParams as Q, getTenantUser as Qt, DirectoryThreadEncodedParticipantsItem as R, getListChatMessagesUrl as Rt, ChatRunInputData as S, FileOptions as Sn, getChatFile as St, ChatTenantUserEncoded as T, getCreateTenantUrl as Tt, ListChatMessagesParams as U, getListThreadsUrl as Ut, GetChatConfigParams as V, getListTenantsUrl as Vt, ListChatParticipantsParams as W, getListUsersForTenantUrl as Wt, ListUsersForTenantParams as X, getSetChatParticipantUrl as Xt, ListUsersForTenantFilterAdmin as Y, getSearchChatTenantUsersUrl as Yt, Organization as Z, getTenant as Zt, ChatMessageEncodedState as _, updateTenantUser as _n, createTenant as _t, ChatHistoryPageEncoded as a, listChatThreads as an, TenantPage as at, ChatParticipantPage as b, ApiRequestOptions as bn, getChatAttachment as bt, ChatHistoryPageEncodedMessagesItemRole as c, listThreads as cn, TenantUserPage as ct, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation as d, resolveChatToolResult as dn, UpdateChatThreadInputEncoded as dt, getUpdateChatThreadUrl as en, ResolveChatToolResultInputEncodedResultsItem as et, ChatHistoryPageEncodedThread as f, runChat as fn, UpdateTenantInput as ft, ChatMessageEncodedRole as g, updateTenant as gn, createChatThread as gt, ChatMessageEncodedPartsItem as h, updateChatThread as hn, UpdateTenantUserInputMetadata as ht, ChatConfigurationCapabilities as i, listChatParticipants as in, SetChatParticipantInputEncodedRole as it, CreateTenantInput as j, getGetChatFileUrl as jt, ChatThreadPage as k, getGetChatAttachmentUrl as kt, ChatHistoryPageEncodedMessagesItemState as l, listUsersForTenant as ln, TenantUserRecordEncoded as lt, ChatMessageEncoded as m, setChatParticipant as mn, UpdateTenantUserInput as mt, AstralBeamApiErrorIssuesItem as n, getUpdateTenantUserUrl as nn, SearchChatTenantUsersParams as nt, ChatHistoryPageEncodedMessagesItem as o, listTenants as on, TenantRecordEncoded as ot, ChatHistoryPageEncodedThreadRole as p, searchChatTenantUsers as pn, UpdateTenantInputMetadata as pt, ListThreadMessagesParams as q, getResolveChatToolResultUrl as qt, ChatConfiguration as r, listChatMessages as rn, SetChatParticipantInputEncoded as rt, ChatHistoryPageEncodedMessagesItemPartsItem as s, listThreadMessages as sn, TenantRecordEncodedMetadata as st, AstralBeamApiError as t, getUpdateTenantUrl as tn, ResolveChatToolResultInputEncodedResultsItemOutcome as tt, ChatHistoryPageEncodedPendingInteractionsItem as u, removeChatParticipant as un, TenantUserRecordEncodedMetadata as ut, ChatParticipantEncoded as v, ApiKeyOptions as vn, createTenantUser as vt, ChatSubmissionReceiptEncoded as w, isAstralBeamApiError as wn, getCreateChatThreadUrl as wt, ChatRunInput as x, AstralBeamApiError$1 as xn, getChatConfig as xt, ChatParticipantEncodedRole as y, ApiOptions as yn, deleteChatThread as yt, DirectoryThreadHistoryPage as z, getListChatParticipantsUrl as zt };
938
+ export { ListChatThreadsParams as $, getGetThreadAttachmentUrl as $t, ChatThreadPage as A, searchChatTenantUsers as An, createChatThread as At, CreateTenantUserInput as B, JwtOptions as Bn, getCreateTenantUrl as Bt, ChatRunInputData as C, listTenants as Cn, UpdateTenantUserInputMetadata as Ct, ChatTenantUserPage as D, removeChatParticipant as Dn, UploadChatFileBodySourceType as Dt, ChatTenantUserEncoded as E, listUsersForTenant as En, UploadChatFileBodySource as Et, ChatUsageUsageLimitsItemMetric as F, uploadChatFile as Fn, getChatConfig as Ft, DirectoryThreadEncodedParticipantsItem as G, getGetChatConfigUrl as Gt, CurrentUser as H, getCurrentUser as Ht, ChatUsageUsageLimitsItemScope as I, ApiKeyOptions as In, getChatFile as It, GetChatConfigParams as J, getGetChatUsageUrl as Jt, DirectoryThreadHistoryPage as K, getGetChatFileUrl as Kt, CreateChatThreadInputEncoded as L, ApiOptions as Ln, getChatThread as Lt, ChatToolResultReceiptEncodedUsageLimit as M, updateChatThread as Mn, createTenantUser as Mt, ChatUsage as N, updateTenant as Nn, deleteChatThread as Nt, ChatThreadEncoded as O, resolveChatToolResult as On, UploadChatFileBodyType as Ot, ChatUsageUsageLimitsItem as P, updateTenantUser as Pn, getChatAttachment as Pt, ListChatParticipantsParams as Q, getGetTenantUserUrl as Qt, CreateTenantInput as R, ApiRequestOptions as Rn, getChatUsage as Rt, ChatRunInput as S, listChatThreads as Sn, UpdateTenantUserInput as St, ChatSubmissionReceiptEncoded as T, listThreads as Tn, UploadChatFileBodyMetadata as Tt, DeleteChatThreadParams as U, getDeleteChatThreadUrl as Ut, CreateTenantUserInputMetadata as V, isAstralBeamApiError as Vn, getCreateTenantUserUrl as Vt, DirectoryThreadEncoded as W, getGetChatAttachmentUrl as Wt, GetChatUsageParams as X, getGetOrganizationUrl as Xt, GetChatFileParams as Y, getGetCurrentUserUrl as Yt, ListChatMessagesParams as Z, getGetTenantUrl as Zt, ChatMessageEncodedRole as _, getUpdateTenantUrl as _n, TenantUserRecordEncoded as _t, ChatConfigurationCapabilities as a, getListThreadsUrl as an, Organization as at, ChatParticipantEncodedRole as b, listChatMessages as bn, UpdateTenantInput as bt, ChatHistoryPageEncodedMessagesItemPartsItem as c, getRemoveChatParticipantUrl as cn, ResolveChatToolResultInputEncodedResultsItem as ct, ChatHistoryPageEncodedPendingInteractionsItem as d, getSearchChatTenantUsersUrl as dn, SetChatParticipantInputEncoded as dt, getListChatMessagesUrl as en, ListTenantsParams as et, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation as f, getSetChatParticipantUrl as fn, SetChatParticipantInputEncodedRole as ft, ChatMessageEncodedPartsItem as g, getUpdateChatThreadUrl as gn, TenantUserPage as gt, ChatMessageEncoded as h, getThreadAttachment as hn, TenantRecordEncodedMetadata as ht, ChatConfiguration as i, getListThreadMessagesUrl as in, ListUsersForTenantParams as it, ChatToolResultReceiptEncoded as j, setChatParticipant as jn, createTenant as jt, ChatThreadEncodedRole as k, runChat as kn, UploadedChatFile as kt, ChatHistoryPageEncodedMessagesItemRole as l, getResolveChatToolResultUrl as ln, ResolveChatToolResultInputEncodedResultsItemOutcome as lt, ChatHistoryPageEncodedThreadRole as m, getTenantUser as mn, TenantRecordEncoded as mt, AstralBeamApiErrorIssuesItem as n, getListChatThreadsUrl as nn, ListThreadsParams as nt, ChatHistoryPageEncoded as o, getListUsersForTenantUrl as on, RemoveChatParticipantParams as ot, ChatHistoryPageEncodedThread as p, getTenant as pn, TenantPage as pt, DirectoryThreadPage as q, getGetChatThreadUrl as qt, AstralBeamApiErrorUsageLimit as r, getListTenantsUrl as rn, ListUsersForTenantFilterAdmin as rt, ChatHistoryPageEncodedMessagesItem as s, getOrganization as sn, ResolveChatToolResultInputEncoded as st, AstralBeamApiError as t, getListChatParticipantsUrl as tn, ListThreadMessagesParams as tt, ChatHistoryPageEncodedMessagesItemState as u, getRunChatUrl as un, SearchChatTenantUsersParams as ut, ChatMessageEncodedState as v, getUpdateTenantUserUrl as vn, TenantUserRecordEncodedMetadata as vt, ChatRunInputForwardedProps as w, listThreadMessages as wn, UploadChatFileBody as wt, ChatParticipantPage as x, listChatParticipants as xn, UpdateTenantInputMetadata as xt, ChatParticipantEncoded as y, getUploadChatFileUrl as yn, UpdateChatThreadInputEncoded as yt, CreateTenantInputMetadata as z, AstralBeamApiError$1 as zn, getCreateChatThreadUrl as zt };