@athenaintel/sdk 4.3.2247 → 4.3.2248

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.
@@ -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.2247",
47
- "User-Agent": "@athenaintel/sdk/4.3.2247",
46
+ "X-Fern-SDK-Version": "4.3.2248",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2248",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "X-Athena-Session-Credential": options === null || options === void 0 ? void 0 : options.sessionCredential,
@@ -20,6 +20,10 @@ export declare class TasksClient {
20
20
  * detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
21
21
  * before creating or running a job. This restriction also applies to administrators.
22
22
  *
23
+ * A task the workspace Tool Registry holds for approval returns HTTP 403 with
24
+ * detail.code `tool_requires_approval` before running: an API call carries no
25
+ * approval. Run it from a chat session or behind an automation's approval gate.
26
+ *
23
27
  * @param {AthenaIntelligence.tools.RunTaskRequest} request
24
28
  * @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
25
29
  *
@@ -63,6 +63,10 @@ class TasksClient {
63
63
  * detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
64
64
  * before creating or running a job. This restriction also applies to administrators.
65
65
  *
66
+ * A task the workspace Tool Registry holds for approval returns HTTP 403 with
67
+ * detail.code `tool_requires_approval` before running: an API call carries no
68
+ * approval. Run it from a chat session or behind an automation's approval gate.
69
+ *
66
70
  * @param {AthenaIntelligence.tools.RunTaskRequest} request
67
71
  * @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
68
72
  *
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2247";
1
+ export declare const SDK_VERSION = "4.3.2248";
@@ -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.2247";
4
+ exports.SDK_VERSION = "4.3.2248";
@@ -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.2247",
10
- "User-Agent": "@athenaintel/sdk/4.3.2247",
9
+ "X-Fern-SDK-Version": "4.3.2248",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2248",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "X-Athena-Session-Credential": options === null || options === void 0 ? void 0 : options.sessionCredential,
@@ -20,6 +20,10 @@ export declare class TasksClient {
20
20
  * detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
21
21
  * before creating or running a job. This restriction also applies to administrators.
22
22
  *
23
+ * A task the workspace Tool Registry holds for approval returns HTTP 403 with
24
+ * detail.code `tool_requires_approval` before running: an API call carries no
25
+ * approval. Run it from a chat session or behind an automation's approval gate.
26
+ *
23
27
  * @param {AthenaIntelligence.tools.RunTaskRequest} request
24
28
  * @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
25
29
  *
@@ -27,6 +27,10 @@ export class TasksClient {
27
27
  * detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
28
28
  * before creating or running a job. This restriction also applies to administrators.
29
29
  *
30
+ * A task the workspace Tool Registry holds for approval returns HTTP 403 with
31
+ * detail.code `tool_requires_approval` before running: an API call carries no
32
+ * approval. Run it from a chat session or behind an automation's approval gate.
33
+ *
30
34
  * @param {AthenaIntelligence.tools.RunTaskRequest} request
31
35
  * @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
32
36
  *
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2247";
1
+ export declare const SDK_VERSION = "4.3.2248";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2247";
1
+ export const SDK_VERSION = "4.3.2248";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2247",
3
+ "version": "4.3.2248",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -7511,6 +7511,10 @@ Executes a serverless function script or flow synchronously. Server handles poll
7511
7511
  When Tool Studio is disabled in the environment, returns HTTP 403 with
7512
7512
  detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
7513
7513
  before creating or running a job. This restriction also applies to administrators.
7514
+
7515
+ A task the workspace Tool Registry holds for approval returns HTTP 403 with
7516
+ detail.code `tool_requires_approval` before running: an API call carries no
7517
+ approval. Run it from a chat session or behind an automation's approval gate.
7514
7518
  </dd>
7515
7519
  </dl>
7516
7520
  </dd>