@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.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/tools/resources/tasks/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/tools/resources/tasks/client/Client.js +4 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/tools/resources/tasks/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/tools/resources/tasks/client/Client.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +4 -0
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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.
|
|
47
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
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
|
*
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.2248";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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.
|
|
10
|
-
"User-Agent": "@athenaintel/sdk/4.3.
|
|
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
|
*
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "4.3.
|
|
1
|
+
export declare const SDK_VERSION = "4.3.2248";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2248";
|
package/package.json
CHANGED
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>
|