@astralbeam/sdk 0.16.0 → 0.18.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.
Files changed (50) hide show
  1. package/README.md +11 -4
  2. package/dist/{api-DzeMhfHU.js → api-B3UxSTtl.js} +200 -10
  3. package/dist/api.d.ts +2 -2
  4. package/dist/api.js +1 -2
  5. package/dist/auth-lifecycle-B0BXyDr7.js +25 -0
  6. package/dist/badge-B9WuChHI.js +1 -0
  7. package/dist/client.d.ts +57 -8
  8. package/dist/client.js +1 -1
  9. package/dist/constants-C-Yp0Vhg.js +1 -0
  10. package/dist/{core-D84VNYWJ.js → core-CLWlvgYl.js} +1534 -129
  11. package/dist/core.d.ts +2 -2
  12. package/dist/core.js +1 -2
  13. package/dist/css-BGIxQoYs.js +1 -0
  14. package/dist/css-DgaLhXQH.js +1 -0
  15. package/dist/{debug-qLts7gEt.js → debug-DLDY8CZb.js} +1 -1
  16. package/dist/diff-woXpYk--.js +1 -0
  17. package/dist/github-dark-C-LZuMrd.js +1 -0
  18. package/dist/github-light-EUqPIrTm.js +1 -0
  19. package/dist/highlighter-Bd_oZUcA.js +152 -0
  20. package/dist/html-B3xvRgDO.js +1 -0
  21. package/dist/{index-CM3pzsKR.d.ts → index-DDfmeUeU.d.ts} +209 -86
  22. package/dist/{index-CH3RVjha.d.ts → index-DFxtXIXy.d.ts} +232 -20
  23. package/dist/item-a9y_9nk7.js +1 -0
  24. package/dist/javascript-BzbQS41l.js +1 -0
  25. package/dist/javascript-CpIGwZ_Y.js +1 -0
  26. package/dist/json-qhed-kSA.js +1 -0
  27. package/dist/jsx-Bz0zcwM4.js +1 -0
  28. package/dist/listings-DzxJtGCD.js +1 -0
  29. package/dist/markdown-BYOwaDjH.js +1 -0
  30. package/dist/mcp-servers-ESbOt00F.js +1 -0
  31. package/dist/python-gzcpVVnB.js +1 -0
  32. package/dist/react.d.ts +23 -16
  33. package/dist/react.js +46 -8
  34. package/dist/server.d.ts +19 -25
  35. package/dist/server.js +196 -349
  36. package/dist/shellscript-CLZ0U2zV.js +1 -0
  37. package/dist/sql-CEbI0hMM.js +1 -0
  38. package/dist/styles.generated-D4k7izMB.js +80 -0
  39. package/dist/tsx-udAQXfEw.js +1 -0
  40. package/dist/typescript-bsJCZSQ-.js +1 -0
  41. package/dist/validate-BOw-BAyv.js +140 -0
  42. package/dist/widget-DGmCPqzk.js +24 -0
  43. package/dist/yaml-rwi0_p6S.js +1 -0
  44. package/package.json +20 -17
  45. package/dist/constants-enyqxaJi.js +0 -1
  46. package/dist/listings-dAoOEUGK.js +0 -1
  47. package/dist/rolldown-runtime-Bh1tDfsg.js +0 -1
  48. package/dist/styles.generated-Ucyw8D9G.js +0 -98
  49. package/dist/type_checks-C-WTHaWs.js +0 -117
  50. package/dist/widget-h5LX5aq8.js +0 -11
package/README.md CHANGED
@@ -29,7 +29,7 @@ Without npm or a bundler, import the same entry from jsDelivr in a module script
29
29
 
30
30
  ```html
31
31
  <script type="module">
32
- import { mountAstralBeamChat } from "https://cdn.jsdelivr.net/npm/@astralbeam/sdk@0.16.0/dist/client.js"
32
+ import { mountAstralBeamChat } from "https://cdn.jsdelivr.net/npm/@astralbeam/sdk@0.18.0/dist/client.js"
33
33
 
34
34
  mountAstralBeamChat(document.getElementById("sidebar"), {})
35
35
  </script>
@@ -82,7 +82,7 @@ export async function POST(request: Request) {
82
82
  - Directory access additionally requires signed `user.admin: true`, derived from trusted tenant permissions, and persisted records. Follow [Tenant directories](https://astralbeam.ai/docs/sdk/listings).
83
83
  - For employee-facing Tenant management, use `createAstralBeamOrganizationToken`. The [API client guide](https://astralbeam.ai/docs/sdk/api) covers database-backed roles and browser integration.
84
84
 
85
- Existing token props and the default chat endpoint keep working. After acquiring a token, components call `POST /api/v1/me` and renew before expiry. See [authentication and refresh behavior](https://astralbeam.ai/docs/sdk/authentication).
85
+ After acquiring a token, components call `POST /api/v1/me` and renew before expiry. See [authentication and refresh behavior](https://astralbeam.ai/docs/sdk/authentication).
86
86
 
87
87
  ## Options
88
88
 
@@ -95,6 +95,7 @@ Every option is also a prop on `<AstralBeamChat>`. `handle.update(options)` appl
95
95
  | `apiUrl` | `https://astralbeam.ai/api` | Base URL of the AstralBeam API. The widget calls `/v1/chat` there |
96
96
  | `fetchAstralBeamToken` | `{ url: "/api/astralbeam/token" }` | Chat auth token endpoint as `{ url, ...RequestInit }`, or a minter |
97
97
  | `title`, `showHeader` | `"AstralBeam"`, `true` | Header text, and whether the header with its chat history and new chat buttons shows |
98
+ | `onClose` | none | Adds an X button and fullscreen chat at widths up to 900px. The host hides or unmounts chat in this callback |
98
99
  | `showConversationTitle` | `false` | Bar with a titled conversation's title and a rename, delete, and Copy Markdown menu |
99
100
  | `emptyHeadline`, `emptyDescription` | generic copy | Headline and subtitle of the empty transcript |
100
101
  | `colorScheme`, `theme` | `"system"`, built-in palette | Light/dark/system, and shadcn token overrides |
@@ -111,7 +112,7 @@ Conversations are saved automatically and start private. The widget searches sav
111
112
 
112
113
  The headless session exposes conversation navigation, search, and pagination. With `useAstralBeamChat`, access these through `chat.core`, for example `chat.core.openThread(threadId)`. History loads a page at a time. `reset()` starts a new chat and keeps the saved one.
113
114
 
114
- By default, `threadId: "auto"` restores this tab's selection after reload using session storage, scoped to the current account and API. A fresh, independently opened tab starts a new chat. Use `threadId: "new"` to bypass restoration, or pass a saved thread UUID. The widget's unsent text per thread stays in local storage and never sends automatically. Selected attachments remain in memory. The host owns sidebar visibility and can persist it separately in session storage.
115
+ By default, `threadId: "auto"` restores this tab's selection after reload using session storage, scoped to the current account and API. A fresh, independently opened tab starts a new chat. Use `threadId: "new"` to bypass restoration, or pass a saved thread UUID. The widget keeps unsent text and uploaded file references in local storage per account, API, and conversation. Reopening restores the draft without sending it automatically. The host owns sidebar visibility and can persist it separately in session storage.
115
116
 
116
117
  ## Tools and widgets
117
118
 
@@ -141,6 +142,12 @@ widgets: {
141
142
 
142
143
  ## Documentation
143
144
 
145
+ Remote tools appear under **MCP connections** in the authenticated Tenant widget. Organization admins configure the available MCP servers. Each TenantUser creates their own connection to a server. Public endpoints, static headers and OAuth are supported. Tool results follow the conversation's visibility and retention rules. Disconnect clears credentials locally.
146
+
147
+ Headless consumers can use `chat.getMcpCatalog()`, `chat.manageMcpConnection(operation)` and `chat.authorizeMcpConnection({ mcpServerId, id? })`. Start OAuth from a user gesture to open its popup. Browser binding and completion use the authenticated session. Server tool titles arrive in `state.serverToolTitles`, independently of host tool execution.
148
+
149
+ Reuse the dashboard's server list and form with `AstralBeamMcpServers` from `/react` or `mountAstralBeamMcpServers` from `/client`. Supply the server list and authorized write callbacks. See [MCP server management](https://astralbeam.ai/docs/sdk/configuration#mcp-server-management).
150
+
144
151
  | Guide | Covers |
145
152
  | --- | --- |
146
153
  | [API client](https://astralbeam.ai/docs/sdk/api) | Typed resource and chat requests with API keys or JWTs. |
@@ -161,7 +168,7 @@ widgets: {
161
168
 
162
169
  Read-only Tenant, TenantUser and conversation widgets are available from `/client` and `/react`. See [Tenant directories](https://astralbeam.ai/docs/sdk/listings) for setup and embedding examples.
163
170
 
164
- There is no root export. Conversations are saved on the server and can be reopened across clients.
171
+ There is no root export.
165
172
 
166
173
  | Entry point | Contents | Peer dependency |
167
174
  | ------------------------ | -------------------------------------------- | -------------------- |
@@ -58,14 +58,21 @@ function astralBeamResourceFetch(path, options) {
58
58
  function astralBeamChatFetch(path, options) {
59
59
  return apiResponse(path, options);
60
60
  }
61
- function astralBeamFileFetch(path, options = {}) {
62
- return apiResponse(path, options);
63
- }
64
61
  //#endregion
65
62
  //#region src/api/generated/api.ts
66
63
  /**
67
64
  * Generated by Orval. Do not edit by hand.
68
65
  */
66
+ const McpConnectionEncodedAuthState = {
67
+ disconnected: "disconnected",
68
+ connected: "connected",
69
+ reauthorization_required: "reauthorization_required"
70
+ };
71
+ const McpServerEncodedAuthKind = {
72
+ none: "none",
73
+ static_headers: "static_headers",
74
+ oauth: "oauth"
75
+ };
69
76
  const ResolveChatToolResultInputEncodedResultsItemOutcome = {
70
77
  succeeded: "succeeded",
71
78
  failed: "failed",
@@ -107,6 +114,16 @@ const ChatThreadEncodedRole = {
107
114
  member: "member",
108
115
  manager: "manager"
109
116
  };
117
+ const ChatUsageUsageLimitsItemScope = {
118
+ global: "global",
119
+ tenant: "tenant",
120
+ tenant_user: "tenant_user",
121
+ thread: "thread"
122
+ };
123
+ const ChatUsageUsageLimitsItemMetric = {
124
+ tokens: "tokens",
125
+ spend: "spend"
126
+ };
110
127
  const ChatMessageEncodedRole = {
111
128
  user: "user",
112
129
  assistant: "assistant",
@@ -121,6 +138,11 @@ const ListUsersForTenantFilterAdmin = {
121
138
  true: "true",
122
139
  false: "false"
123
140
  };
141
+ const UploadChatFileBodyType = {
142
+ image: "image",
143
+ document: "document"
144
+ };
145
+ const UploadChatFileBodySourceType = { data: "data" };
124
146
  const getListTenantsUrl = (params) => {
125
147
  const normalizedParams = new URLSearchParams();
126
148
  Object.entries(params || {}).forEach(([key, value]) => {
@@ -347,6 +369,50 @@ const getThreadAttachment = (tenantId, id, messageId, partId, options) => {
347
369
  method: "GET"
348
370
  });
349
371
  };
372
+ const getUploadChatFileUrl = () => {
373
+ return `/api/v1/chat/files`;
374
+ };
375
+ /**
376
+ * 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.
377
+ * @summary Upload a chat file
378
+ */
379
+ const uploadChatFile = (uploadChatFileBody, options) => {
380
+ const getHeaders = (h) => {
381
+ if (!h) return {};
382
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
383
+ if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
384
+ const headers = {};
385
+ for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
386
+ return headers;
387
+ };
388
+ return astralBeamJwtFetch(getUploadChatFileUrl(), {
389
+ ...options,
390
+ method: "POST",
391
+ headers: {
392
+ "Content-Type": "application/json",
393
+ ...getHeaders(options?.headers)
394
+ },
395
+ body: JSON.stringify(uploadChatFileBody)
396
+ });
397
+ };
398
+ const getGetChatFileUrl = (params) => {
399
+ const normalizedParams = new URLSearchParams();
400
+ Object.entries(params || {}).forEach(([key, value]) => {
401
+ if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
402
+ });
403
+ const stringifiedParams = normalizedParams.toString();
404
+ return stringifiedParams.length > 0 ? `/api/v1/chat/files?${stringifiedParams}` : `/api/v1/chat/files`;
405
+ };
406
+ /**
407
+ * 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.
408
+ * @summary Download a chat artifact
409
+ */
410
+ const getChatFile = (params, options) => {
411
+ return astralBeamChatFetch(getGetChatFileUrl(params), {
412
+ ...options,
413
+ method: "GET"
414
+ });
415
+ };
350
416
  const getRunChatUrl = () => {
351
417
  return `/api/v1/chat`;
352
418
  };
@@ -391,20 +457,20 @@ const getChatConfig = (params, options) => {
391
457
  method: "GET"
392
458
  });
393
459
  };
394
- const getGetChatFileUrl = (params) => {
460
+ const getGetChatUsageUrl = (params) => {
395
461
  const normalizedParams = new URLSearchParams();
396
462
  Object.entries(params || {}).forEach(([key, value]) => {
397
463
  if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
398
464
  });
399
465
  const stringifiedParams = normalizedParams.toString();
400
- return stringifiedParams.length > 0 ? `/api/v1/chat/files?${stringifiedParams}` : `/api/v1/chat/files`;
466
+ return stringifiedParams.length > 0 ? `/api/v1/chat/usage?${stringifiedParams}` : `/api/v1/chat/usage`;
401
467
  };
402
468
  /**
403
- * 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.
404
- * @summary Download a chat artifact
469
+ * 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.
470
+ * @summary Get usage limits
405
471
  */
406
- const getChatFile = (params, options) => {
407
- return astralBeamFileFetch(getGetChatFileUrl(params), {
472
+ const getChatUsage = (params, options) => {
473
+ return astralBeamApiFetch(getGetChatUsageUrl(params), {
408
474
  ...options,
409
475
  method: "GET"
410
476
  });
@@ -649,5 +715,129 @@ const getCurrentUser = (options) => {
649
715
  method: "POST"
650
716
  });
651
717
  };
718
+ const getPersonalMcpGetCatalogUrl = () => {
719
+ return `/api/v1/me/mcp/catalog`;
720
+ };
721
+ const personalMcpGetCatalog = (options) => {
722
+ return astralBeamJwtFetch(getPersonalMcpGetCatalogUrl(), {
723
+ ...options,
724
+ method: "GET"
725
+ });
726
+ };
727
+ const getPersonalMcpCreateConnectionUrl = () => {
728
+ return `/api/v1/me/mcp/connections`;
729
+ };
730
+ const personalMcpCreateConnection = (personalMcpCreateConnectionBody, options) => {
731
+ const getHeaders = (h) => {
732
+ if (!h) return {};
733
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
734
+ if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
735
+ const headers = {};
736
+ for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
737
+ return headers;
738
+ };
739
+ return astralBeamJwtFetch(getPersonalMcpCreateConnectionUrl(), {
740
+ ...options,
741
+ method: "POST",
742
+ headers: {
743
+ "Content-Type": "application/json",
744
+ ...getHeaders(options?.headers)
745
+ },
746
+ body: JSON.stringify(personalMcpCreateConnectionBody)
747
+ });
748
+ };
749
+ const getPersonalMcpSetHeadersUrl = (id) => {
750
+ return `/api/v1/me/mcp/connections/${encodeURIComponent(String(id))}/headers`;
751
+ };
752
+ const personalMcpSetHeaders = (id, personalMcpSetHeadersBody, options) => {
753
+ const getHeaders = (h) => {
754
+ if (!h) return {};
755
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
756
+ if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
757
+ const headers = {};
758
+ for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
759
+ return headers;
760
+ };
761
+ return astralBeamJwtFetch(getPersonalMcpSetHeadersUrl(id), {
762
+ ...options,
763
+ method: "POST",
764
+ headers: {
765
+ "Content-Type": "application/json",
766
+ ...getHeaders(options?.headers)
767
+ },
768
+ body: JSON.stringify(personalMcpSetHeadersBody)
769
+ });
770
+ };
771
+ const getPersonalMcpDisconnectConnectionUrl = (id) => {
772
+ return `/api/v1/me/mcp/connections/${encodeURIComponent(String(id))}`;
773
+ };
774
+ const personalMcpDisconnectConnection = (id, options) => {
775
+ return astralBeamJwtFetch(getPersonalMcpDisconnectConnectionUrl(id), {
776
+ ...options,
777
+ method: "DELETE"
778
+ });
779
+ };
780
+ const getPersonalMcpTestConnectionUrl = (id) => {
781
+ return `/api/v1/me/mcp/connections/${encodeURIComponent(String(id))}/test`;
782
+ };
783
+ const personalMcpTestConnection = (id, options) => {
784
+ return astralBeamJwtFetch(getPersonalMcpTestConnectionUrl(id), {
785
+ ...options,
786
+ method: "POST"
787
+ });
788
+ };
789
+ const getPersonalMcpAuthorizeConnectionUrl = (id) => {
790
+ return `/api/v1/me/mcp/connections/${encodeURIComponent(String(id))}/authorize`;
791
+ };
792
+ const personalMcpAuthorizeConnection = (id, options) => {
793
+ return astralBeamJwtFetch(getPersonalMcpAuthorizeConnectionUrl(id), {
794
+ ...options,
795
+ method: "POST"
796
+ });
797
+ };
798
+ const getPersonalMcpBindBrowserUrl = (id) => {
799
+ return `/api/v1/me/mcp/connections/${encodeURIComponent(String(id))}/oauth/bind`;
800
+ };
801
+ const personalMcpBindBrowser = (id, personalMcpBindBrowserBody, options) => {
802
+ const getHeaders = (h) => {
803
+ if (!h) return {};
804
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
805
+ if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
806
+ const headers = {};
807
+ for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
808
+ return headers;
809
+ };
810
+ return astralBeamJwtFetch(getPersonalMcpBindBrowserUrl(id), {
811
+ ...options,
812
+ method: "POST",
813
+ headers: {
814
+ "Content-Type": "application/json",
815
+ ...getHeaders(options?.headers)
816
+ },
817
+ body: JSON.stringify(personalMcpBindBrowserBody)
818
+ });
819
+ };
820
+ const getPersonalMcpCompleteAuthorizationUrl = (id) => {
821
+ return `/api/v1/me/mcp/connections/${encodeURIComponent(String(id))}/oauth/complete`;
822
+ };
823
+ const personalMcpCompleteAuthorization = (id, personalMcpCompleteAuthorizationBody, options) => {
824
+ const getHeaders = (h) => {
825
+ if (!h) return {};
826
+ if (h instanceof Headers) return Object.fromEntries(h.entries());
827
+ if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
828
+ const headers = {};
829
+ for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
830
+ return headers;
831
+ };
832
+ return astralBeamJwtFetch(getPersonalMcpCompleteAuthorizationUrl(id), {
833
+ ...options,
834
+ method: "POST",
835
+ headers: {
836
+ "Content-Type": "application/json",
837
+ ...getHeaders(options?.headers)
838
+ },
839
+ body: JSON.stringify(personalMcpCompleteAuthorizationBody)
840
+ });
841
+ };
652
842
  //#endregion
653
- export { listChatMessages as $, getGetOrganizationUrl as A, getListUsersForTenantUrl as B, getCurrentUser as C, getGetChatFileUrl as D, getGetChatConfigUrl as E, getListChatParticipantsUrl as F, getSearchChatTenantUsersUrl as G, getRemoveChatParticipantUrl as H, getListChatThreadsUrl as I, getTenantUser as J, getSetChatParticipantUrl as K, getListTenantsUrl as L, getGetTenantUserUrl as M, getGetThreadAttachmentUrl as N, getGetChatThreadUrl as O, getListChatMessagesUrl as P, getUpdateTenantUserUrl as Q, getListThreadMessagesUrl as R, getCreateTenantUserUrl as S, getGetChatAttachmentUrl as T, getResolveChatToolResultUrl as U, getOrganization as V, getRunChatUrl as W, getUpdateChatThreadUrl as X, getThreadAttachment as Y, getUpdateTenantUrl as Z, getChatConfig as _, DEFAULT_API_URL as _t, ChatMessageEncodedRole as a, listUsersForTenant as at, getCreateChatThreadUrl as b, ChatThreadEncodedRole as c, runChat as ct, SetChatParticipantInputEncodedRole as d, updateChatThread as dt, listChatParticipants as et, createChatThread as f, updateTenant as ft, getChatAttachment as g, resolveApiUrl as gt, deleteChatThread as h, isAstralBeamApiError as ht, ChatHistoryPageEncodedThreadRole as i, listThreads as it, getGetTenantUrl as j, getGetCurrentUserUrl as k, ListUsersForTenantFilterAdmin as l, searchChatTenantUsers as lt, createTenantUser as m, astralBeamChatFetch as mt, ChatHistoryPageEncodedMessagesItemState as n, listTenants as nt, ChatMessageEncodedState as o, removeChatParticipant as ot, createTenant as p, updateTenantUser as pt, getTenant as q, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation as r, listThreadMessages as rt, ChatParticipantEncodedRole as s, resolveChatToolResult as st, ChatHistoryPageEncodedMessagesItemRole as t, listChatThreads as tt, ResolveChatToolResultInputEncodedResultsItemOutcome as u, setChatParticipant as ut, getChatFile as v, DEFAULT_CHAT_AUTH_TOKEN_URL as vt, getDeleteChatThreadUrl as w, getCreateTenantUrl as x, getChatThread as y, DEFAULT_COLOR_SCHEME as yt, getListThreadsUrl as z };
843
+ export { getPersonalMcpCreateConnectionUrl as $, getCurrentUser as A, personalMcpTestConnection as At, getGetTenantUserUrl as B, astralBeamChatFetch as Bt, getChatConfig as C, personalMcpAuthorizeConnection as Ct, getCreateChatThreadUrl as D, personalMcpDisconnectConnection as Dt, getChatUsage as E, personalMcpCreateConnection as Et, getGetChatThreadUrl as F, setChatParticipant as Ft, getListTenantsUrl as G, DEFAULT_COLOR_SCHEME as Gt, getListChatMessagesUrl as H, resolveApiUrl as Ht, getGetChatUsageUrl as I, updateChatThread as It, getListUsersForTenantUrl as J, getListThreadMessagesUrl as K, getGetCurrentUserUrl as L, updateTenant as Lt, getGetChatAttachmentUrl as M, resolveChatToolResult as Mt, getGetChatConfigUrl as N, runChat as Nt, getCreateTenantUrl as O, personalMcpGetCatalog as Ot, getGetChatFileUrl as P, searchChatTenantUsers as Pt, getPersonalMcpCompleteAuthorizationUrl as Q, getGetOrganizationUrl as R, updateTenantUser as Rt, getChatAttachment as S, listUsersForTenant as St, getChatThread as T, personalMcpCompleteAuthorization as Tt, getListChatParticipantsUrl as U, DEFAULT_API_URL as Ut, getGetThreadAttachmentUrl as V, isAstralBeamApiError as Vt, getListChatThreadsUrl as W, DEFAULT_CHAT_AUTH_TOKEN_URL as Wt, getPersonalMcpAuthorizeConnectionUrl as X, getOrganization as Y, getPersonalMcpBindBrowserUrl as Z, UploadChatFileBodyType as _, listChatParticipants as _t, ChatMessageEncodedRole as a, getResolveChatToolResultUrl as at, createTenantUser as b, listThreadMessages as bt, ChatThreadEncodedRole as c, getSetChatParticipantUrl as ct, ListUsersForTenantFilterAdmin as d, getThreadAttachment as dt, getPersonalMcpDisconnectConnectionUrl as et, McpConnectionEncodedAuthState as f, getUpdateChatThreadUrl as ft, UploadChatFileBodySourceType as g, listChatMessages as gt, SetChatParticipantInputEncodedRole as h, getUploadChatFileUrl as ht, ChatHistoryPageEncodedThreadRole as i, getRemoveChatParticipantUrl as it, getDeleteChatThreadUrl as j, removeChatParticipant as jt, getCreateTenantUserUrl as k, personalMcpSetHeaders as kt, ChatUsageUsageLimitsItemMetric as l, getTenant as lt, ResolveChatToolResultInputEncodedResultsItemOutcome as m, getUpdateTenantUserUrl as mt, ChatHistoryPageEncodedMessagesItemState as n, getPersonalMcpSetHeadersUrl as nt, ChatMessageEncodedState as o, getRunChatUrl as ot, McpServerEncodedAuthKind as p, getUpdateTenantUrl as pt, getListThreadsUrl as q, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation as r, getPersonalMcpTestConnectionUrl as rt, ChatParticipantEncodedRole as s, getSearchChatTenantUsersUrl as st, ChatHistoryPageEncodedMessagesItemRole as t, getPersonalMcpGetCatalogUrl as tt, ChatUsageUsageLimitsItemScope as u, getTenantUser as ut, createChatThread as v, listChatThreads as vt, getChatFile as w, personalMcpBindBrowser as wt, deleteChatThread as x, listThreads as xt, createTenant as y, listTenants as yt, getGetTenantUrl as z, uploadChatFile as zt };
package/dist/api.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as ResolveChatToolResultInputEncoded, $t as getThreadAttachment, A as CreateChatThreadInputEncoded, At as getGetChatConfigUrl, B as DirectoryThreadPage, Bt as getListChatThreadsUrl, C as ChatRunInputForwardedProps, Cn as JwtOptions, Ct as getChatThread, D as ChatThreadEncoded, Dt as getCurrentUser, E as ChatTenantUserPage, Et as getCreateTenantUserUrl, F as CurrentUser, Ft as getGetTenantUrl, G as ListChatThreadsParams, Gt as getOrganization, H as GetChatFileParams, Ht as getListThreadMessagesUrl, I as DeleteChatThreadParams, It as getGetTenantUserUrl, J as ListThreadsParams, Jt as getRunChatUrl, K as ListTenantsParams, Kt as getRemoveChatParticipantUrl, L as DirectoryThreadEncoded, Lt as getGetThreadAttachmentUrl, M as CreateTenantInputMetadata, Mt as getGetChatThreadUrl, N as CreateTenantUserInput, Nt as getGetCurrentUserUrl, O as ChatThreadEncodedRole, Ot as getDeleteChatThreadUrl, P as CreateTenantUserInputMetadata, Pt as getGetOrganizationUrl, Q as RemoveChatParticipantParams, Qt as getTenantUser, R as DirectoryThreadEncodedParticipantsItem, Rt as getListChatMessagesUrl, S as ChatRunInputData, Sn as FileOptions, St as getChatFile, T as ChatTenantUserEncoded, Tt as getCreateTenantUrl, U as ListChatMessagesParams, Ut as getListThreadsUrl, V as GetChatConfigParams, Vt as getListTenantsUrl, W as ListChatParticipantsParams, Wt as getListUsersForTenantUrl, X as ListUsersForTenantParams, Xt as getSetChatParticipantUrl, Y as ListUsersForTenantFilterAdmin, Yt as getSearchChatTenantUsersUrl, Z as Organization, Zt as getTenant, _ as ChatMessageEncodedState, _n as updateTenantUser, _t as createTenant, a as ChatHistoryPageEncoded, an as listChatThreads, at as TenantPage, b as ChatParticipantPage, bn as ApiRequestOptions, bt as getChatAttachment, c as ChatHistoryPageEncodedMessagesItemRole, cn as listThreads, ct as TenantUserPage, d as ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, dn as resolveChatToolResult, dt as UpdateChatThreadInputEncoded, en as getUpdateChatThreadUrl, et as ResolveChatToolResultInputEncodedResultsItem, f as ChatHistoryPageEncodedThread, fn as runChat, ft as UpdateTenantInput, g as ChatMessageEncodedRole, gn as updateTenant, gt as createChatThread, h as ChatMessageEncodedPartsItem, hn as updateChatThread, ht as UpdateTenantUserInputMetadata, i as ChatConfigurationCapabilities, in as listChatParticipants, it as SetChatParticipantInputEncodedRole, j as CreateTenantInput, jt as getGetChatFileUrl, k as ChatThreadPage, kt as getGetChatAttachmentUrl, l as ChatHistoryPageEncodedMessagesItemState, ln as listUsersForTenant, lt as TenantUserRecordEncoded, m as ChatMessageEncoded, mn as setChatParticipant, mt as UpdateTenantUserInput, n as AstralBeamApiErrorIssuesItem, nn as getUpdateTenantUserUrl, nt as SearchChatTenantUsersParams, o as ChatHistoryPageEncodedMessagesItem, on as listTenants, ot as TenantRecordEncoded, p as ChatHistoryPageEncodedThreadRole, pn as searchChatTenantUsers, pt as UpdateTenantInputMetadata, q as ListThreadMessagesParams, qt as getResolveChatToolResultUrl, r as ChatConfiguration, rn as listChatMessages, rt as SetChatParticipantInputEncoded, s as ChatHistoryPageEncodedMessagesItemPartsItem, sn as listThreadMessages, st as TenantRecordEncodedMetadata, t as AstralBeamApiError$1, tn as getUpdateTenantUrl, tt as ResolveChatToolResultInputEncodedResultsItemOutcome, u as ChatHistoryPageEncodedPendingInteractionsItem, un as removeChatParticipant, ut as TenantUserRecordEncodedMetadata, v as ChatParticipantEncoded, vn as ApiKeyOptions, vt as createTenantUser, w as ChatSubmissionReceiptEncoded, wn as isAstralBeamApiError, wt as getCreateChatThreadUrl, x as ChatRunInput, xn as AstralBeamApiError, xt as getChatConfig, y as ChatParticipantEncodedRole, yn as ApiOptions, yt as deleteChatThread, z as DirectoryThreadHistoryPage, zt as getListChatParticipantsUrl } from "./index-CH3RVjha.js";
2
- export { type ApiKeyOptions, type ApiOptions, type ApiRequestOptions, AstralBeamApiError, type AstralBeamApiError$1 as AstralBeamApiErrorBody, AstralBeamApiErrorIssuesItem, ChatConfiguration, ChatConfigurationCapabilities, ChatHistoryPageEncoded, ChatHistoryPageEncodedMessagesItem, ChatHistoryPageEncodedMessagesItemPartsItem, ChatHistoryPageEncodedMessagesItemRole, ChatHistoryPageEncodedMessagesItemState, ChatHistoryPageEncodedPendingInteractionsItem, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, ChatHistoryPageEncodedThread, ChatHistoryPageEncodedThreadRole, ChatMessageEncoded, ChatMessageEncodedPartsItem, ChatMessageEncodedRole, ChatMessageEncodedState, ChatParticipantEncoded, ChatParticipantEncodedRole, ChatParticipantPage, ChatRunInput, ChatRunInputData, ChatRunInputForwardedProps, ChatSubmissionReceiptEncoded, ChatTenantUserEncoded, ChatTenantUserPage, ChatThreadEncoded, ChatThreadEncodedRole, ChatThreadPage, CreateChatThreadInputEncoded, CreateTenantInput, CreateTenantInputMetadata, CreateTenantUserInput, CreateTenantUserInputMetadata, CurrentUser, DeleteChatThreadParams, DirectoryThreadEncoded, DirectoryThreadEncodedParticipantsItem, DirectoryThreadHistoryPage, DirectoryThreadPage, type FileOptions, GetChatConfigParams, GetChatFileParams, type JwtOptions, ListChatMessagesParams, ListChatParticipantsParams, ListChatThreadsParams, ListTenantsParams, ListThreadMessagesParams, ListThreadsParams, ListUsersForTenantFilterAdmin, ListUsersForTenantParams, Organization, RemoveChatParticipantParams, ResolveChatToolResultInputEncoded, ResolveChatToolResultInputEncodedResultsItem, ResolveChatToolResultInputEncodedResultsItemOutcome, SearchChatTenantUsersParams, SetChatParticipantInputEncoded, SetChatParticipantInputEncodedRole, TenantPage, TenantRecordEncoded, TenantRecordEncodedMetadata, TenantUserPage, TenantUserRecordEncoded, TenantUserRecordEncodedMetadata, UpdateChatThreadInputEncoded, UpdateTenantInput, UpdateTenantInputMetadata, UpdateTenantUserInput, UpdateTenantUserInputMetadata, createChatThread, createTenant, createTenantUser, deleteChatThread, getChatAttachment, getChatConfig, getChatFile, getChatThread, getCreateChatThreadUrl, getCreateTenantUrl, getCreateTenantUserUrl, getCurrentUser, getDeleteChatThreadUrl, getGetChatAttachmentUrl, getGetChatConfigUrl, getGetChatFileUrl, getGetChatThreadUrl, getGetCurrentUserUrl, getGetOrganizationUrl, getGetTenantUrl, getGetTenantUserUrl, getGetThreadAttachmentUrl, getListChatMessagesUrl, getListChatParticipantsUrl, getListChatThreadsUrl, getListTenantsUrl, getListThreadMessagesUrl, getListThreadsUrl, getListUsersForTenantUrl, getOrganization, getRemoveChatParticipantUrl, getResolveChatToolResultUrl, getRunChatUrl, getSearchChatTenantUsersUrl, getSetChatParticipantUrl, getTenant, getTenantUser, getThreadAttachment, getUpdateChatThreadUrl, getUpdateTenantUrl, getUpdateTenantUserUrl, isAstralBeamApiError, listChatMessages, listChatParticipants, listChatThreads, listTenants, listThreadMessages, listThreads, listUsersForTenant, removeChatParticipant, resolveChatToolResult, runChat, searchChatTenantUsers, setChatParticipant, updateChatThread, updateTenant, updateTenantUser };
1
+ import { $ as ListChatThreadsParams, $n as personalMcpGetCatalog, $t as getCreateTenantUrl, A as ChatThreadPage, An as getResolveChatToolResultUrl, At as TenantUserRecordEncoded, B as CreateTenantUserInput, Bn as getUploadChatFileUrl, Bt as UploadChatFileBodySourceType, C as ChatRunInputData, Cn as getPersonalMcpCompleteAuthorizationUrl, Ct as SearchChatTenantUsersParams, D as ChatTenantUserPage, Dn as getPersonalMcpSetHeadersUrl, Dt as TenantRecordEncoded, E as ChatTenantUserEncoded, En as getPersonalMcpGetCatalogUrl, Et as TenantPage, F as ChatUsageUsageLimitsItemMetric, Fn as getTenantUser, Ft as UpdateTenantUserInput, G as DirectoryThreadEncodedParticipantsItem, Gn as listThreadMessages, Gt as createTenantUser, H as CurrentUser, Hn as listChatParticipants, Ht as UploadedChatFile, I as ChatUsageUsageLimitsItemScope, In as getThreadAttachment, It as UpdateTenantUserInputMetadata, J as GetChatConfigParams, Jn as personalMcpAuthorizeConnection, Jt as getChatConfig, K as DirectoryThreadHistoryPage, Kn as listThreads, Kt as deleteChatThread, L as CreateChatThreadInputEncoded, Ln as getUpdateChatThreadUrl, Lt as UploadChatFileBody, M as ChatToolResultReceiptEncodedUsageLimit, Mn as getSearchChatTenantUsersUrl, Mt as UpdateChatThreadInputEncoded, N as ChatUsage, Nn as getSetChatParticipantUrl, Nt as UpdateTenantInput, O as ChatThreadEncoded, On as getPersonalMcpTestConnectionUrl, Ot as TenantRecordEncodedMetadata, P as ChatUsageUsageLimitsItem, Pn as getTenant, Pt as UpdateTenantInputMetadata, Q as ListChatParticipantsParams, Qn as personalMcpDisconnectConnection, Qt as getCreateChatThreadUrl, R as CreateTenantInput, Rn as getUpdateTenantUrl, Rt as UploadChatFileBodyMetadata, S as ChatRunInput, Sn as getPersonalMcpBindBrowserUrl, St as ResolveChatToolResultInputEncodedResultsItemOutcome, T as ChatSubmissionReceiptEncoded, Tn as getPersonalMcpDisconnectConnectionUrl, Tt as SetChatParticipantInputEncodedRole, U as DeleteChatThreadParams, Un as listChatThreads, Ut as createChatThread, V as CreateTenantUserInputMetadata, Vn as listChatMessages, Vt as UploadChatFileBodyType, W as DirectoryThreadEncoded, Wn as listTenants, Wt as createTenant, X as GetChatUsageParams, Xn as personalMcpCompleteAuthorization, Xt as getChatThread, Y as GetChatFileParams, Yn as personalMcpBindBrowser, Yt as getChatFile, Z as ListChatMessagesParams, Zn as personalMcpCreateConnection, Zt as getChatUsage, _ as ChatMessageEncodedRole, _n as getListThreadMessagesUrl, _t as PersonalMcpSetHeadersBodyHeaders, a as ChatConfigurationCapabilities, an as getGetChatFileUrl, ar as searchChatTenantUsers, at as McpConnectionEncoded, b as ChatParticipantEncodedRole, bn as getOrganization, bt as ResolveChatToolResultInputEncoded, c as ChatHistoryPageEncodedMessagesItemPartsItem, cn as getGetCurrentUserUrl, cr as updateTenant, ct as McpServerEncodedAuthKind, d as ChatHistoryPageEncodedPendingInteractionsItem, dn as getGetTenantUserUrl, dr as ApiKeyOptions, dt as PersonalMcpAuthorizeConnection200Attempt, en as getCreateTenantUserUrl, er as personalMcpSetHeaders, et as ListTenantsParams, f as ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, fn as getGetThreadAttachmentUrl, fr as ApiOptions, ft as PersonalMcpBindBrowserBody, g as ChatMessageEncodedPartsItem, gn as getListTenantsUrl, gr as isAstralBeamApiError, gt as PersonalMcpSetHeadersBody, h as ChatMessageEncoded, hn as getListChatThreadsUrl, hr as JwtOptions, ht as PersonalMcpGetCatalog200, i as ChatConfiguration, in as getGetChatConfigUrl, ir as runChat, it as ListUsersForTenantParams, j as ChatToolResultReceiptEncoded, jn as getRunChatUrl, jt as TenantUserRecordEncodedMetadata, k as ChatThreadEncodedRole, kn as getRemoveChatParticipantUrl, kt as TenantUserPage, l as ChatHistoryPageEncodedMessagesItemRole, ln as getGetOrganizationUrl, lr as updateTenantUser, lt as Organization, m as ChatHistoryPageEncodedThreadRole, mn as getListChatParticipantsUrl, mr as AstralBeamApiError, mt as PersonalMcpCreateConnectionBody, n as AstralBeamApiErrorIssuesItem, nn as getDeleteChatThreadUrl, nr as removeChatParticipant, nt as ListThreadsParams, o as ChatHistoryPageEncoded, on as getGetChatThreadUrl, or as setChatParticipant, ot as McpConnectionEncodedAuthState, p as ChatHistoryPageEncodedThread, pn as getListChatMessagesUrl, pr as ApiRequestOptions, pt as PersonalMcpCompleteAuthorizationBody, q as DirectoryThreadPage, qn as listUsersForTenant, qt as getChatAttachment, r as AstralBeamApiErrorUsageLimit, rn as getGetChatAttachmentUrl, rr as resolveChatToolResult, rt as ListUsersForTenantFilterAdmin, s as ChatHistoryPageEncodedMessagesItem, sn as getGetChatUsageUrl, sr as updateChatThread, st as McpServerEncoded, t as AstralBeamApiError$1, tn as getCurrentUser, tr as personalMcpTestConnection, tt as ListThreadMessagesParams, u as ChatHistoryPageEncodedMessagesItemState, un as getGetTenantUrl, ur as uploadChatFile, ut as PersonalMcpAuthorizeConnection200, v as ChatMessageEncodedState, vn as getListThreadsUrl, vt as PersonalMcpTestConnection200, w as ChatRunInputForwardedProps, wn as getPersonalMcpCreateConnectionUrl, wt as SetChatParticipantInputEncoded, x as ChatParticipantPage, xn as getPersonalMcpAuthorizeConnectionUrl, xt as ResolveChatToolResultInputEncodedResultsItem, y as ChatParticipantEncoded, yn as getListUsersForTenantUrl, yt as RemoveChatParticipantParams, z as CreateTenantInputMetadata, zn as getUpdateTenantUserUrl, zt as UploadChatFileBodySource } from "./index-DFxtXIXy.js";
2
+ export { type ApiKeyOptions, type ApiOptions, type ApiRequestOptions, AstralBeamApiError, type AstralBeamApiError$1 as AstralBeamApiErrorBody, AstralBeamApiErrorIssuesItem, AstralBeamApiErrorUsageLimit, ChatConfiguration, ChatConfigurationCapabilities, ChatHistoryPageEncoded, ChatHistoryPageEncodedMessagesItem, ChatHistoryPageEncodedMessagesItemPartsItem, ChatHistoryPageEncodedMessagesItemRole, ChatHistoryPageEncodedMessagesItemState, ChatHistoryPageEncodedPendingInteractionsItem, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, ChatHistoryPageEncodedThread, ChatHistoryPageEncodedThreadRole, ChatMessageEncoded, ChatMessageEncodedPartsItem, ChatMessageEncodedRole, ChatMessageEncodedState, ChatParticipantEncoded, ChatParticipantEncodedRole, ChatParticipantPage, ChatRunInput, ChatRunInputData, ChatRunInputForwardedProps, ChatSubmissionReceiptEncoded, ChatTenantUserEncoded, ChatTenantUserPage, ChatThreadEncoded, ChatThreadEncodedRole, ChatThreadPage, ChatToolResultReceiptEncoded, ChatToolResultReceiptEncodedUsageLimit, ChatUsage, ChatUsageUsageLimitsItem, ChatUsageUsageLimitsItemMetric, ChatUsageUsageLimitsItemScope, CreateChatThreadInputEncoded, CreateTenantInput, CreateTenantInputMetadata, CreateTenantUserInput, CreateTenantUserInputMetadata, CurrentUser, DeleteChatThreadParams, DirectoryThreadEncoded, DirectoryThreadEncodedParticipantsItem, DirectoryThreadHistoryPage, DirectoryThreadPage, GetChatConfigParams, GetChatFileParams, GetChatUsageParams, type JwtOptions, ListChatMessagesParams, ListChatParticipantsParams, ListChatThreadsParams, ListTenantsParams, ListThreadMessagesParams, ListThreadsParams, ListUsersForTenantFilterAdmin, ListUsersForTenantParams, McpConnectionEncoded, McpConnectionEncodedAuthState, McpServerEncoded, McpServerEncodedAuthKind, Organization, PersonalMcpAuthorizeConnection200, PersonalMcpAuthorizeConnection200Attempt, PersonalMcpBindBrowserBody, PersonalMcpCompleteAuthorizationBody, PersonalMcpCreateConnectionBody, PersonalMcpGetCatalog200, PersonalMcpSetHeadersBody, PersonalMcpSetHeadersBodyHeaders, PersonalMcpTestConnection200, RemoveChatParticipantParams, ResolveChatToolResultInputEncoded, ResolveChatToolResultInputEncodedResultsItem, ResolveChatToolResultInputEncodedResultsItemOutcome, SearchChatTenantUsersParams, SetChatParticipantInputEncoded, SetChatParticipantInputEncodedRole, TenantPage, TenantRecordEncoded, TenantRecordEncodedMetadata, TenantUserPage, TenantUserRecordEncoded, TenantUserRecordEncodedMetadata, UpdateChatThreadInputEncoded, UpdateTenantInput, UpdateTenantInputMetadata, UpdateTenantUserInput, UpdateTenantUserInputMetadata, UploadChatFileBody, UploadChatFileBodyMetadata, UploadChatFileBodySource, UploadChatFileBodySourceType, UploadChatFileBodyType, UploadedChatFile, createChatThread, createTenant, createTenantUser, deleteChatThread, getChatAttachment, getChatConfig, getChatFile, getChatThread, getChatUsage, getCreateChatThreadUrl, getCreateTenantUrl, getCreateTenantUserUrl, getCurrentUser, getDeleteChatThreadUrl, getGetChatAttachmentUrl, getGetChatConfigUrl, getGetChatFileUrl, getGetChatThreadUrl, getGetChatUsageUrl, getGetCurrentUserUrl, getGetOrganizationUrl, getGetTenantUrl, getGetTenantUserUrl, getGetThreadAttachmentUrl, getListChatMessagesUrl, getListChatParticipantsUrl, getListChatThreadsUrl, getListTenantsUrl, getListThreadMessagesUrl, getListThreadsUrl, getListUsersForTenantUrl, getOrganization, getPersonalMcpAuthorizeConnectionUrl, getPersonalMcpBindBrowserUrl, getPersonalMcpCompleteAuthorizationUrl, getPersonalMcpCreateConnectionUrl, getPersonalMcpDisconnectConnectionUrl, getPersonalMcpGetCatalogUrl, getPersonalMcpSetHeadersUrl, getPersonalMcpTestConnectionUrl, getRemoveChatParticipantUrl, getResolveChatToolResultUrl, getRunChatUrl, getSearchChatTenantUsersUrl, getSetChatParticipantUrl, getTenant, getTenantUser, getThreadAttachment, getUpdateChatThreadUrl, getUpdateTenantUrl, getUpdateTenantUserUrl, getUploadChatFileUrl, isAstralBeamApiError, listChatMessages, listChatParticipants, listChatThreads, listTenants, listThreadMessages, listThreads, listUsersForTenant, personalMcpAuthorizeConnection, personalMcpBindBrowser, personalMcpCompleteAuthorization, personalMcpCreateConnection, personalMcpDisconnectConnection, personalMcpGetCatalog, personalMcpSetHeaders, personalMcpTestConnection, removeChatParticipant, resolveChatToolResult, runChat, searchChatTenantUsers, setChatParticipant, updateChatThread, updateTenant, updateTenantUser, uploadChatFile };
package/dist/api.js CHANGED
@@ -1,2 +1 @@
1
- import { $ as listChatMessages, A as getGetOrganizationUrl, B as getListUsersForTenantUrl, C as getCurrentUser, D as getGetChatFileUrl, E as getGetChatConfigUrl, F as getListChatParticipantsUrl, G as getSearchChatTenantUsersUrl, H as getRemoveChatParticipantUrl, I as getListChatThreadsUrl, J as getTenantUser, K as getSetChatParticipantUrl, L as getListTenantsUrl, M as getGetTenantUserUrl, N as getGetThreadAttachmentUrl, O as getGetChatThreadUrl, P as getListChatMessagesUrl, Q as getUpdateTenantUserUrl, R as getListThreadMessagesUrl, S as getCreateTenantUserUrl, T as getGetChatAttachmentUrl, U as getResolveChatToolResultUrl, V as getOrganization, W as getRunChatUrl, X as getUpdateChatThreadUrl, Y as getThreadAttachment, Z as getUpdateTenantUrl, _ as getChatConfig, a as ChatMessageEncodedRole, at as listUsersForTenant, b as getCreateChatThreadUrl, c as ChatThreadEncodedRole, ct as runChat, d as SetChatParticipantInputEncodedRole, dt as updateChatThread, et as listChatParticipants, f as createChatThread, ft as updateTenant, g as getChatAttachment, h as deleteChatThread, ht as isAstralBeamApiError, i as ChatHistoryPageEncodedThreadRole, it as listThreads, j as getGetTenantUrl, k as getGetCurrentUserUrl, l as ListUsersForTenantFilterAdmin, lt as searchChatTenantUsers, m as createTenantUser, n as ChatHistoryPageEncodedMessagesItemState, nt as listTenants, o as ChatMessageEncodedState, ot as removeChatParticipant, p as createTenant, pt as updateTenantUser, q as getTenant, r as ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, rt as listThreadMessages, s as ChatParticipantEncodedRole, st as resolveChatToolResult, t as ChatHistoryPageEncodedMessagesItemRole, tt as listChatThreads, u as ResolveChatToolResultInputEncodedResultsItemOutcome, ut as setChatParticipant, v as getChatFile, w as getDeleteChatThreadUrl, x as getCreateTenantUrl, y as getChatThread, z as getListThreadsUrl } from "./api-DzeMhfHU.js";
2
- export { ChatHistoryPageEncodedMessagesItemRole, ChatHistoryPageEncodedMessagesItemState, ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, ChatHistoryPageEncodedThreadRole, ChatMessageEncodedRole, ChatMessageEncodedState, ChatParticipantEncodedRole, ChatThreadEncodedRole, ListUsersForTenantFilterAdmin, ResolveChatToolResultInputEncodedResultsItemOutcome, SetChatParticipantInputEncodedRole, createChatThread, createTenant, createTenantUser, deleteChatThread, getChatAttachment, getChatConfig, getChatFile, getChatThread, getCreateChatThreadUrl, getCreateTenantUrl, getCreateTenantUserUrl, getCurrentUser, getDeleteChatThreadUrl, getGetChatAttachmentUrl, getGetChatConfigUrl, getGetChatFileUrl, getGetChatThreadUrl, getGetCurrentUserUrl, getGetOrganizationUrl, getGetTenantUrl, getGetTenantUserUrl, getGetThreadAttachmentUrl, getListChatMessagesUrl, getListChatParticipantsUrl, getListChatThreadsUrl, getListTenantsUrl, getListThreadMessagesUrl, getListThreadsUrl, getListUsersForTenantUrl, getOrganization, getRemoveChatParticipantUrl, getResolveChatToolResultUrl, getRunChatUrl, getSearchChatTenantUsersUrl, getSetChatParticipantUrl, getTenant, getTenantUser, getThreadAttachment, getUpdateChatThreadUrl, getUpdateTenantUrl, getUpdateTenantUserUrl, isAstralBeamApiError, listChatMessages, listChatParticipants, listChatThreads, listTenants, listThreadMessages, listThreads, listUsersForTenant, removeChatParticipant, resolveChatToolResult, runChat, searchChatTenantUsers, setChatParticipant, updateChatThread, updateTenant, updateTenantUser };
1
+ export { t as ChatHistoryPageEncodedMessagesItemRole, n as ChatHistoryPageEncodedMessagesItemState, r as ChatHistoryPageEncodedPendingInteractionsItemExecutionLocation, i as ChatHistoryPageEncodedThreadRole, a as ChatMessageEncodedRole, o as ChatMessageEncodedState, s as ChatParticipantEncodedRole, c as ChatThreadEncodedRole, l as ChatUsageUsageLimitsItemMetric, u as ChatUsageUsageLimitsItemScope, d as ListUsersForTenantFilterAdmin, f as McpConnectionEncodedAuthState, p as McpServerEncodedAuthKind, m as ResolveChatToolResultInputEncodedResultsItemOutcome, h as SetChatParticipantInputEncodedRole, g as UploadChatFileBodySourceType, _ as UploadChatFileBodyType, v as createChatThread, y as createTenant, b as createTenantUser, x as deleteChatThread, S as getChatAttachment, C as getChatConfig, w as getChatFile, T as getChatThread, E as getChatUsage, D as getCreateChatThreadUrl, O as getCreateTenantUrl, k as getCreateTenantUserUrl, A as getCurrentUser, j as getDeleteChatThreadUrl, M as getGetChatAttachmentUrl, N as getGetChatConfigUrl, P as getGetChatFileUrl, F as getGetChatThreadUrl, I as getGetChatUsageUrl, L as getGetCurrentUserUrl, R as getGetOrganizationUrl, z as getGetTenantUrl, B as getGetTenantUserUrl, V as getGetThreadAttachmentUrl, H as getListChatMessagesUrl, U as getListChatParticipantsUrl, W as getListChatThreadsUrl, G as getListTenantsUrl, K as getListThreadMessagesUrl, q as getListThreadsUrl, J as getListUsersForTenantUrl, Y as getOrganization, X as getPersonalMcpAuthorizeConnectionUrl, Z as getPersonalMcpBindBrowserUrl, Q as getPersonalMcpCompleteAuthorizationUrl, $ as getPersonalMcpCreateConnectionUrl, et as getPersonalMcpDisconnectConnectionUrl, tt as getPersonalMcpGetCatalogUrl, nt as getPersonalMcpSetHeadersUrl, rt as getPersonalMcpTestConnectionUrl, it as getRemoveChatParticipantUrl, at as getResolveChatToolResultUrl, ot as getRunChatUrl, st as getSearchChatTenantUsersUrl, ct as getSetChatParticipantUrl, lt as getTenant, ut as getTenantUser, dt as getThreadAttachment, ft as getUpdateChatThreadUrl, pt as getUpdateTenantUrl, mt as getUpdateTenantUserUrl, ht as getUploadChatFileUrl, Vt as isAstralBeamApiError, gt as listChatMessages, _t as listChatParticipants, vt as listChatThreads, yt as listTenants, bt as listThreadMessages, xt as listThreads, St as listUsersForTenant, Ct as personalMcpAuthorizeConnection, wt as personalMcpBindBrowser, Tt as personalMcpCompleteAuthorization, Et as personalMcpCreateConnection, Dt as personalMcpDisconnectConnection, Ot as personalMcpGetCatalog, kt as personalMcpSetHeaders, At as personalMcpTestConnection, jt as removeChatParticipant, Mt as resolveChatToolResult, Nt as runChat, Pt as searchChatTenantUsers, Ft as setChatParticipant, It as updateChatThread, Lt as updateTenant, Rt as updateTenantUser, zt as uploadChatFile } from "./api-B3UxSTtl.js";