@athenaintel/sdk 4.3.2155 → 4.3.2157

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.2155",
47
- "User-Agent": "@athenaintel/sdk/4.3.2155",
46
+ "X-Fern-SDK-Version": "4.3.2157",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2157",
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);
@@ -16,6 +16,10 @@ export declare class TasksClient {
16
16
  *
17
17
  * Executes a serverless function script or flow synchronously. Server handles polling internally.
18
18
  *
19
+ * When Tool Studio is disabled in the environment, returns HTTP 403 with
20
+ * detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
21
+ * before creating or running a job. This restriction also applies to administrators.
22
+ *
19
23
  * @param {AthenaIntelligence.tools.RunTaskRequest} request
20
24
  * @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
21
25
  *
@@ -59,6 +59,10 @@ class TasksClient {
59
59
  *
60
60
  * Executes a serverless function script or flow synchronously. Server handles polling internally.
61
61
  *
62
+ * When Tool Studio is disabled in the environment, returns HTTP 403 with
63
+ * detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
64
+ * before creating or running a job. This restriction also applies to administrators.
65
+ *
62
66
  * @param {AthenaIntelligence.tools.RunTaskRequest} request
63
67
  * @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
64
68
  *
@@ -9,7 +9,7 @@ export interface DatabaseStatusResponse {
9
9
  asset_id: string;
10
10
  /** Optional status message or error details */
11
11
  message?: string | null;
12
- /** Database provider ('neon_cloud' or 'kronos') */
12
+ /** Database provider ('kronos') */
13
13
  provider: string;
14
14
  /** Standardized database status */
15
15
  status: DatabaseStatusResponse.Status;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2155";
1
+ export declare const SDK_VERSION = "4.3.2157";
@@ -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.2155";
4
+ exports.SDK_VERSION = "4.3.2157";
@@ -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.2155",
10
- "User-Agent": "@athenaintel/sdk/4.3.2155",
9
+ "X-Fern-SDK-Version": "4.3.2157",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2157",
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);
@@ -16,6 +16,10 @@ export declare class TasksClient {
16
16
  *
17
17
  * Executes a serverless function script or flow synchronously. Server handles polling internally.
18
18
  *
19
+ * When Tool Studio is disabled in the environment, returns HTTP 403 with
20
+ * detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
21
+ * before creating or running a job. This restriction also applies to administrators.
22
+ *
19
23
  * @param {AthenaIntelligence.tools.RunTaskRequest} request
20
24
  * @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
21
25
  *
@@ -23,6 +23,10 @@ export class TasksClient {
23
23
  *
24
24
  * Executes a serverless function script or flow synchronously. Server handles polling internally.
25
25
  *
26
+ * When Tool Studio is disabled in the environment, returns HTTP 403 with
27
+ * detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
28
+ * before creating or running a job. This restriction also applies to administrators.
29
+ *
26
30
  * @param {AthenaIntelligence.tools.RunTaskRequest} request
27
31
  * @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
28
32
  *
@@ -9,7 +9,7 @@ export interface DatabaseStatusResponse {
9
9
  asset_id: string;
10
10
  /** Optional status message or error details */
11
11
  message?: string | null;
12
- /** Database provider ('neon_cloud' or 'kronos') */
12
+ /** Database provider ('kronos') */
13
13
  provider: string;
14
14
  /** Standardized database status */
15
15
  status: DatabaseStatusResponse.Status;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2155";
1
+ export declare const SDK_VERSION = "4.3.2157";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2155";
1
+ export const SDK_VERSION = "4.3.2157";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2155",
3
+ "version": "4.3.2157",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -6757,6 +6757,10 @@ await client.tools.structuredDataExtractor.invoke({
6757
6757
  Run a [task](https://resources.athenaintel.com/docs/task-studio/home) and wait for the result.
6758
6758
 
6759
6759
  Executes a serverless function script or flow synchronously. Server handles polling internally.
6760
+
6761
+ When Tool Studio is disabled in the environment, returns HTTP 403 with
6762
+ detail.code `ENVIRONMENT_FEATURE_DISABLED` and detail.key `task_studio_toolkit`
6763
+ before creating or running a job. This restriction also applies to administrators.
6760
6764
  </dd>
6761
6765
  </dl>
6762
6766
  </dd>