@athenaintel/sdk 4.3.2133 → 4.3.2135

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 (30) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/collabAgents/client/requests/CollabAgentSendMessageRequestIn.d.ts +2 -0
  3. package/dist/cjs/api/resources/computer/client/Client.d.ts +1 -1
  4. package/dist/cjs/api/resources/computer/client/Client.js +1 -1
  5. package/dist/cjs/api/resources/users/client/Client.d.ts +10 -0
  6. package/dist/cjs/api/resources/users/client/Client.js +62 -0
  7. package/dist/cjs/api/types/MeSharePointProvisioningOut.d.ts +11 -0
  8. package/dist/cjs/api/types/MeSharePointProvisioningOut.js +3 -0
  9. package/dist/cjs/api/types/MeSourcesResponseOut.d.ts +12 -0
  10. package/dist/cjs/api/types/MeSourcesResponseOut.js +3 -0
  11. package/dist/cjs/api/types/index.d.ts +2 -0
  12. package/dist/cjs/api/types/index.js +2 -0
  13. package/dist/cjs/version.d.ts +1 -1
  14. package/dist/cjs/version.js +1 -1
  15. package/dist/esm/BaseClient.mjs +2 -2
  16. package/dist/esm/api/resources/collabAgents/client/requests/CollabAgentSendMessageRequestIn.d.mts +2 -0
  17. package/dist/esm/api/resources/computer/client/Client.d.mts +1 -1
  18. package/dist/esm/api/resources/computer/client/Client.mjs +1 -1
  19. package/dist/esm/api/resources/users/client/Client.d.mts +10 -0
  20. package/dist/esm/api/resources/users/client/Client.mjs +62 -0
  21. package/dist/esm/api/types/MeSharePointProvisioningOut.d.mts +11 -0
  22. package/dist/esm/api/types/MeSharePointProvisioningOut.mjs +2 -0
  23. package/dist/esm/api/types/MeSourcesResponseOut.d.mts +12 -0
  24. package/dist/esm/api/types/MeSourcesResponseOut.mjs +2 -0
  25. package/dist/esm/api/types/index.d.mts +2 -0
  26. package/dist/esm/api/types/index.mjs +2 -0
  27. package/dist/esm/version.d.mts +1 -1
  28. package/dist/esm/version.mjs +1 -1
  29. package/package.json +1 -1
  30. package/reference.md +56 -1
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@athenaintel/sdk",
46
- "X-Fern-SDK-Version": "4.3.2133",
47
- "User-Agent": "@athenaintel/sdk/4.3.2133",
46
+ "X-Fern-SDK-Version": "4.3.2135",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2135",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -10,6 +10,8 @@
10
10
  export interface CollabAgentSendMessageRequestIn {
11
11
  /** Asset id of the collab agent to message */
12
12
  asset_id: string;
13
+ /** Optional custom-channel id from the agent's Channels tab. Selects that channel's configuration overrides (model, prompt, tools) and stamps the session's origin. External SSO viewers MUST select a channel whose settings admit external viewers — they are refused everywhere else. Distinct channels hold distinct conversations even under the same clientThreadKey. */
14
+ channel?: string | null;
13
15
  /** Optional caller-chosen conversation key. Submissions from the same caller with the same key continue one agent session (until 24 hours of inactivity); different keys hold independent conversations. Omitted, all of a caller's submissions to this agent share one 'default' thread. */
14
16
  clientThreadKey?: string | null;
15
17
  /** The message text to submit to the agent. Delivered verbatim as the user turn of the agent session. */
@@ -12,7 +12,7 @@ export declare class ComputerClient {
12
12
  protected readonly _options: NormalizedClientOptionsWithAuth<ComputerClient.Options>;
13
13
  constructor(options?: ComputerClient.Options);
14
14
  /**
15
- * Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer.
15
+ * Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer. Ports reserved by the computer runtime (such as the internal developer-agent port) are rejected with a 400 and can never be deployed.
16
16
  *
17
17
  * @param {AthenaIntelligence.DeployComputerRequestIn} request
18
18
  * @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -66,7 +66,7 @@ class ComputerClient {
66
66
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
67
67
  }
68
68
  /**
69
- * Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer.
69
+ * Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer. Ports reserved by the computer runtime (such as the internal developer-agent port) are rejected with a 400 and can never be deployed.
70
70
  *
71
71
  * @param {AthenaIntelligence.DeployComputerRequestIn} request
72
72
  * @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -21,4 +21,14 @@ export declare class UsersClient {
21
21
  */
22
22
  me(requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.UserInfoOut>;
23
23
  private __me;
24
+ /**
25
+ * Counts of the caller's connected Microsoft 365 sources (mail, files, sites, chats) plus live SharePoint provisioning progress. Built for computer-asset apps to render a 'setting up your sources' state right after a viewer's first sign-in, while the background fan-outs are still filling in SharePoint and Teams.
26
+ *
27
+ * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
28
+ *
29
+ * @example
30
+ * await client.users.meSources()
31
+ */
32
+ meSources(requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.MeSourcesResponseOut>;
33
+ private __meSources;
24
34
  }
@@ -112,5 +112,67 @@ class UsersClient {
112
112
  }
113
113
  });
114
114
  }
115
+ /**
116
+ * Counts of the caller's connected Microsoft 365 sources (mail, files, sites, chats) plus live SharePoint provisioning progress. Built for computer-asset apps to render a 'setting up your sources' state right after a viewer's first sign-in, while the background fan-outs are still filling in SharePoint and Teams.
117
+ *
118
+ * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
119
+ *
120
+ * @example
121
+ * await client.users.meSources()
122
+ */
123
+ meSources(requestOptions) {
124
+ return core.HttpResponsePromise.fromPromise(this.__meSources(requestOptions));
125
+ }
126
+ __meSources(requestOptions) {
127
+ return __awaiter(this, void 0, void 0, function* () {
128
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
129
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
130
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
131
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
132
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, "api/v0/me/sources"),
133
+ method: "GET",
134
+ headers: _headers,
135
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
136
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
137
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
138
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
139
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
140
+ logging: this._options.logging,
141
+ });
142
+ if (_response.ok) {
143
+ return {
144
+ data: _response.body,
145
+ rawResponse: _response.rawResponse,
146
+ };
147
+ }
148
+ if (_response.error.reason === "status-code") {
149
+ throw new errors.AthenaIntelligenceError({
150
+ statusCode: _response.error.statusCode,
151
+ body: _response.error.body,
152
+ rawResponse: _response.rawResponse,
153
+ });
154
+ }
155
+ switch (_response.error.reason) {
156
+ case "non-json":
157
+ throw new errors.AthenaIntelligenceError({
158
+ statusCode: _response.error.statusCode,
159
+ body: _response.error.rawBody,
160
+ rawResponse: _response.rawResponse,
161
+ });
162
+ case "body-is-null":
163
+ throw new errors.AthenaIntelligenceError({
164
+ statusCode: _response.error.statusCode,
165
+ rawResponse: _response.rawResponse,
166
+ });
167
+ case "timeout":
168
+ throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling GET /api/v0/me/sources.");
169
+ case "unknown":
170
+ throw new errors.AthenaIntelligenceError({
171
+ message: _response.error.errorMessage,
172
+ rawResponse: _response.rawResponse,
173
+ });
174
+ }
175
+ });
176
+ }
115
177
  }
116
178
  exports.UsersClient = UsersClient;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Live SharePoint fan-out progress for the caller, when one is running.
3
+ */
4
+ export interface MeSharePointProvisioningOut {
5
+ /** Sites made searchable so far. */
6
+ provisionedSites: number;
7
+ /** 'in_progress' while the site sweep runs, 'complete' after. */
8
+ status: string;
9
+ /** Total reachable sites; 0 while enumeration is still running. */
10
+ totalSites: number;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import type * as AthenaIntelligence from "../index.js";
2
+ /**
3
+ * The caller's Microsoft 365 source readiness, for app boot screens.
4
+ */
5
+ export interface MeSourcesResponseOut {
6
+ /** Per-group source counts (mail / files / sites / chats). */
7
+ groupCounts: Record<string, number>;
8
+ /** Present while (or shortly after) a SharePoint fan-out runs for the caller; null when there is no live provisioning signal. */
9
+ sharepointProvisioning?: AthenaIntelligence.MeSharePointProvisioningOut | null;
10
+ /** All of the caller's connected Microsoft 365 sources. */
11
+ totalSources: number;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -68,6 +68,8 @@ export * from "./InputMessageContentOneItem.js";
68
68
  export * from "./MeetingArtifactsOut.js";
69
69
  export * from "./MeetingOut.js";
70
70
  export * from "./MeetingParticipantOut.js";
71
+ export * from "./MeSharePointProvisioningOut.js";
72
+ export * from "./MeSourcesResponseOut.js";
71
73
  export * from "./MoveAssetResponseOut.js";
72
74
  export * from "./NumberFormatModel.js";
73
75
  export * from "./NumberFormatType.js";
@@ -84,6 +84,8 @@ __exportStar(require("./InputMessageContentOneItem.js"), exports);
84
84
  __exportStar(require("./MeetingArtifactsOut.js"), exports);
85
85
  __exportStar(require("./MeetingOut.js"), exports);
86
86
  __exportStar(require("./MeetingParticipantOut.js"), exports);
87
+ __exportStar(require("./MeSharePointProvisioningOut.js"), exports);
88
+ __exportStar(require("./MeSourcesResponseOut.js"), exports);
87
89
  __exportStar(require("./MoveAssetResponseOut.js"), exports);
88
90
  __exportStar(require("./NumberFormatModel.js"), exports);
89
91
  __exportStar(require("./NumberFormatType.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2133";
1
+ export declare const SDK_VERSION = "4.3.2135";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "4.3.2133";
4
+ exports.SDK_VERSION = "4.3.2135";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@athenaintel/sdk",
9
- "X-Fern-SDK-Version": "4.3.2133",
10
- "User-Agent": "@athenaintel/sdk/4.3.2133",
9
+ "X-Fern-SDK-Version": "4.3.2135",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2135",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -10,6 +10,8 @@
10
10
  export interface CollabAgentSendMessageRequestIn {
11
11
  /** Asset id of the collab agent to message */
12
12
  asset_id: string;
13
+ /** Optional custom-channel id from the agent's Channels tab. Selects that channel's configuration overrides (model, prompt, tools) and stamps the session's origin. External SSO viewers MUST select a channel whose settings admit external viewers — they are refused everywhere else. Distinct channels hold distinct conversations even under the same clientThreadKey. */
14
+ channel?: string | null;
13
15
  /** Optional caller-chosen conversation key. Submissions from the same caller with the same key continue one agent session (until 24 hours of inactivity); different keys hold independent conversations. Omitted, all of a caller's submissions to this agent share one 'default' thread. */
14
16
  clientThreadKey?: string | null;
15
17
  /** The message text to submit to the agent. Delivered verbatim as the user turn of the agent session. */
@@ -12,7 +12,7 @@ export declare class ComputerClient {
12
12
  protected readonly _options: NormalizedClientOptionsWithAuth<ComputerClient.Options>;
13
13
  constructor(options?: ComputerClient.Options);
14
14
  /**
15
- * Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer.
15
+ * Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer. Ports reserved by the computer runtime (such as the internal developer-agent port) are rejected with a 400 and can never be deployed.
16
16
  *
17
17
  * @param {AthenaIntelligence.DeployComputerRequestIn} request
18
18
  * @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -30,7 +30,7 @@ export class ComputerClient {
30
30
  this._options = normalizeClientOptionsWithAuth(options);
31
31
  }
32
32
  /**
33
- * Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer.
33
+ * Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer. Ports reserved by the computer runtime (such as the internal developer-agent port) are rejected with a 400 and can never be deployed.
34
34
  *
35
35
  * @param {AthenaIntelligence.DeployComputerRequestIn} request
36
36
  * @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -21,4 +21,14 @@ export declare class UsersClient {
21
21
  */
22
22
  me(requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.UserInfoOut>;
23
23
  private __me;
24
+ /**
25
+ * Counts of the caller's connected Microsoft 365 sources (mail, files, sites, chats) plus live SharePoint provisioning progress. Built for computer-asset apps to render a 'setting up your sources' state right after a viewer's first sign-in, while the background fan-outs are still filling in SharePoint and Teams.
26
+ *
27
+ * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
28
+ *
29
+ * @example
30
+ * await client.users.meSources()
31
+ */
32
+ meSources(requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.MeSourcesResponseOut>;
33
+ private __meSources;
24
34
  }
@@ -76,4 +76,66 @@ export class UsersClient {
76
76
  }
77
77
  });
78
78
  }
79
+ /**
80
+ * Counts of the caller's connected Microsoft 365 sources (mail, files, sites, chats) plus live SharePoint provisioning progress. Built for computer-asset apps to render a 'setting up your sources' state right after a viewer's first sign-in, while the background fan-outs are still filling in SharePoint and Teams.
81
+ *
82
+ * @param {UsersClient.RequestOptions} requestOptions - Request-specific configuration.
83
+ *
84
+ * @example
85
+ * await client.users.meSources()
86
+ */
87
+ meSources(requestOptions) {
88
+ return core.HttpResponsePromise.fromPromise(this.__meSources(requestOptions));
89
+ }
90
+ __meSources(requestOptions) {
91
+ return __awaiter(this, void 0, void 0, function* () {
92
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
93
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
94
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
95
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
96
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.AthenaIntelligenceEnvironment.Production, "api/v0/me/sources"),
97
+ method: "GET",
98
+ headers: _headers,
99
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
100
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
101
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
102
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
103
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
104
+ logging: this._options.logging,
105
+ });
106
+ if (_response.ok) {
107
+ return {
108
+ data: _response.body,
109
+ rawResponse: _response.rawResponse,
110
+ };
111
+ }
112
+ if (_response.error.reason === "status-code") {
113
+ throw new errors.AthenaIntelligenceError({
114
+ statusCode: _response.error.statusCode,
115
+ body: _response.error.body,
116
+ rawResponse: _response.rawResponse,
117
+ });
118
+ }
119
+ switch (_response.error.reason) {
120
+ case "non-json":
121
+ throw new errors.AthenaIntelligenceError({
122
+ statusCode: _response.error.statusCode,
123
+ body: _response.error.rawBody,
124
+ rawResponse: _response.rawResponse,
125
+ });
126
+ case "body-is-null":
127
+ throw new errors.AthenaIntelligenceError({
128
+ statusCode: _response.error.statusCode,
129
+ rawResponse: _response.rawResponse,
130
+ });
131
+ case "timeout":
132
+ throw new errors.AthenaIntelligenceTimeoutError("Timeout exceeded when calling GET /api/v0/me/sources.");
133
+ case "unknown":
134
+ throw new errors.AthenaIntelligenceError({
135
+ message: _response.error.errorMessage,
136
+ rawResponse: _response.rawResponse,
137
+ });
138
+ }
139
+ });
140
+ }
79
141
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Live SharePoint fan-out progress for the caller, when one is running.
3
+ */
4
+ export interface MeSharePointProvisioningOut {
5
+ /** Sites made searchable so far. */
6
+ provisionedSites: number;
7
+ /** 'in_progress' while the site sweep runs, 'complete' after. */
8
+ status: string;
9
+ /** Total reachable sites; 0 while enumeration is still running. */
10
+ totalSites: number;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,12 @@
1
+ import type * as AthenaIntelligence from "../index.mjs";
2
+ /**
3
+ * The caller's Microsoft 365 source readiness, for app boot screens.
4
+ */
5
+ export interface MeSourcesResponseOut {
6
+ /** Per-group source counts (mail / files / sites / chats). */
7
+ groupCounts: Record<string, number>;
8
+ /** Present while (or shortly after) a SharePoint fan-out runs for the caller; null when there is no live provisioning signal. */
9
+ sharepointProvisioning?: AthenaIntelligence.MeSharePointProvisioningOut | null;
10
+ /** All of the caller's connected Microsoft 365 sources. */
11
+ totalSources: number;
12
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -68,6 +68,8 @@ export * from "./InputMessageContentOneItem.mjs";
68
68
  export * from "./MeetingArtifactsOut.mjs";
69
69
  export * from "./MeetingOut.mjs";
70
70
  export * from "./MeetingParticipantOut.mjs";
71
+ export * from "./MeSharePointProvisioningOut.mjs";
72
+ export * from "./MeSourcesResponseOut.mjs";
71
73
  export * from "./MoveAssetResponseOut.mjs";
72
74
  export * from "./NumberFormatModel.mjs";
73
75
  export * from "./NumberFormatType.mjs";
@@ -68,6 +68,8 @@ export * from "./InputMessageContentOneItem.mjs";
68
68
  export * from "./MeetingArtifactsOut.mjs";
69
69
  export * from "./MeetingOut.mjs";
70
70
  export * from "./MeetingParticipantOut.mjs";
71
+ export * from "./MeSharePointProvisioningOut.mjs";
72
+ export * from "./MeSourcesResponseOut.mjs";
71
73
  export * from "./MoveAssetResponseOut.mjs";
72
74
  export * from "./NumberFormatModel.mjs";
73
75
  export * from "./NumberFormatType.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2133";
1
+ export declare const SDK_VERSION = "4.3.2135";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2133";
1
+ export const SDK_VERSION = "4.3.2135";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2133",
3
+ "version": "4.3.2135",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -1519,7 +1519,7 @@ await client.collabAgents.sendMessage({
1519
1519
  <dl>
1520
1520
  <dd>
1521
1521
 
1522
- Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer.
1522
+ Deploy a computer asset's running application to a shareable, persistent preview URL — the same action the Deploy button in the Olympus UI performs. Auto-starts the computer if it is stopped, validates that the requested port is reachable, records the deployment in the asset's metadata (so the UI stays in sync), and returns the Marathon preview URL for the exposed port. Call it with different ports to deploy multiple services from the same computer. Ports reserved by the computer runtime (such as the internal developer-agent port) are rejected with a 400 and can never be deployed.
1523
1523
  </dd>
1524
1524
  </dl>
1525
1525
  </dd>
@@ -2344,6 +2344,61 @@ await client.users.me();
2344
2344
  </dl>
2345
2345
 
2346
2346
 
2347
+ </dd>
2348
+ </dl>
2349
+ </details>
2350
+
2351
+ <details><summary><code>client.users.<a href="/src/api/resources/users/client/Client.ts">meSources</a>() -> AthenaIntelligence.MeSourcesResponseOut</code></summary>
2352
+ <dl>
2353
+ <dd>
2354
+
2355
+ #### 📝 Description
2356
+
2357
+ <dl>
2358
+ <dd>
2359
+
2360
+ <dl>
2361
+ <dd>
2362
+
2363
+ Counts of the caller's connected Microsoft 365 sources (mail, files, sites, chats) plus live SharePoint provisioning progress. Built for computer-asset apps to render a 'setting up your sources' state right after a viewer's first sign-in, while the background fan-outs are still filling in SharePoint and Teams.
2364
+ </dd>
2365
+ </dl>
2366
+ </dd>
2367
+ </dl>
2368
+
2369
+ #### 🔌 Usage
2370
+
2371
+ <dl>
2372
+ <dd>
2373
+
2374
+ <dl>
2375
+ <dd>
2376
+
2377
+ ```typescript
2378
+ await client.users.meSources();
2379
+
2380
+ ```
2381
+ </dd>
2382
+ </dl>
2383
+ </dd>
2384
+ </dl>
2385
+
2386
+ #### ⚙️ Parameters
2387
+
2388
+ <dl>
2389
+ <dd>
2390
+
2391
+ <dl>
2392
+ <dd>
2393
+
2394
+ **requestOptions:** `UsersClient.RequestOptions`
2395
+
2396
+ </dd>
2397
+ </dl>
2398
+ </dd>
2399
+ </dl>
2400
+
2401
+
2347
2402
  </dd>
2348
2403
  </dl>
2349
2404
  </details>