@athenaintel/sdk 4.3.419 → 4.3.421
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 +1 -1
- package/dist/cjs/api/resources/tools/resources/tasks/client/Client.js +1 -1
- package/dist/cjs/api/types/RunTaskResponse.d.ts +1 -1
- 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 +1 -1
- package/dist/esm/api/resources/tools/resources/tasks/client/Client.mjs +1 -1
- package/dist/esm/api/types/RunTaskResponse.d.mts +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
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.421",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.421",
|
|
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);
|
|
@@ -14,7 +14,7 @@ export declare class TasksClient {
|
|
|
14
14
|
/**
|
|
15
15
|
* Run a [task](https://resources.athenaintel.com/docs/task-studio/home) and wait for the result.
|
|
16
16
|
*
|
|
17
|
-
* Executes a
|
|
17
|
+
* Executes a serverless function script or flow synchronously. Server handles polling internally.
|
|
18
18
|
*
|
|
19
19
|
* @param {AthenaIntelligence.tools.RunTaskRequest} request
|
|
20
20
|
* @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -57,7 +57,7 @@ class TasksClient {
|
|
|
57
57
|
/**
|
|
58
58
|
* Run a [task](https://resources.athenaintel.com/docs/task-studio/home) and wait for the result.
|
|
59
59
|
*
|
|
60
|
-
* Executes a
|
|
60
|
+
* Executes a serverless function script or flow synchronously. Server handles polling internally.
|
|
61
61
|
*
|
|
62
62
|
* @param {AthenaIntelligence.tools.RunTaskRequest} request
|
|
63
63
|
* @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -6,7 +6,7 @@ export interface RunTaskResponse {
|
|
|
6
6
|
error?: string;
|
|
7
7
|
/** Error type: 'timeout', 'execution_error', 'not_found', 'validation_error' */
|
|
8
8
|
error_type?: string;
|
|
9
|
-
/**
|
|
9
|
+
/** Job ID for debugging */
|
|
10
10
|
job_id?: string;
|
|
11
11
|
/** The task result */
|
|
12
12
|
result?: unknown;
|
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.421";
|
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.421",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.421",
|
|
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);
|
|
@@ -14,7 +14,7 @@ export declare class TasksClient {
|
|
|
14
14
|
/**
|
|
15
15
|
* Run a [task](https://resources.athenaintel.com/docs/task-studio/home) and wait for the result.
|
|
16
16
|
*
|
|
17
|
-
* Executes a
|
|
17
|
+
* Executes a serverless function script or flow synchronously. Server handles polling internally.
|
|
18
18
|
*
|
|
19
19
|
* @param {AthenaIntelligence.tools.RunTaskRequest} request
|
|
20
20
|
* @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -21,7 +21,7 @@ export class TasksClient {
|
|
|
21
21
|
/**
|
|
22
22
|
* Run a [task](https://resources.athenaintel.com/docs/task-studio/home) and wait for the result.
|
|
23
23
|
*
|
|
24
|
-
* Executes a
|
|
24
|
+
* Executes a serverless function script or flow synchronously. Server handles polling internally.
|
|
25
25
|
*
|
|
26
26
|
* @param {AthenaIntelligence.tools.RunTaskRequest} request
|
|
27
27
|
* @param {TasksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -6,7 +6,7 @@ export interface RunTaskResponse {
|
|
|
6
6
|
error?: string;
|
|
7
7
|
/** Error type: 'timeout', 'execution_error', 'not_found', 'validation_error' */
|
|
8
8
|
error_type?: string;
|
|
9
|
-
/**
|
|
9
|
+
/** Job ID for debugging */
|
|
10
10
|
job_id?: string;
|
|
11
11
|
/** The task result */
|
|
12
12
|
result?: unknown;
|
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.421";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.421";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -3921,7 +3921,7 @@ await client.tools.structuredDataExtractor.invoke({
|
|
|
3921
3921
|
|
|
3922
3922
|
Run a [task](https://resources.athenaintel.com/docs/task-studio/home) and wait for the result.
|
|
3923
3923
|
|
|
3924
|
-
Executes a
|
|
3924
|
+
Executes a serverless function script or flow synchronously. Server handles polling internally.
|
|
3925
3925
|
</dd>
|
|
3926
3926
|
</dl>
|
|
3927
3927
|
</dd>
|