@athenaintel/sdk 4.3.2155 → 4.3.2156
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.2156",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2156",
|
|
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
|
*
|
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.2156";
|
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.2156",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2156",
|
|
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
|
*
|
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.2156";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2156";
|
package/package.json
CHANGED
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>
|