@athenaintel/sdk 4.3.2233 → 4.3.2234
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/types/AssetReadIdentityOut.d.ts +13 -0
- package/dist/cjs/api/types/AssetReadIdentityOut.js +3 -0
- package/dist/cjs/api/types/AssetReadResult.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -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/types/AssetReadIdentityOut.d.mts +13 -0
- package/dist/esm/api/types/AssetReadIdentityOut.mjs +2 -0
- package/dist/esm/api/types/AssetReadResult.d.mts +2 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +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.2234",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2234",
|
|
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,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The asset a read resolved to, after the caller passed its permission check.
|
|
3
|
+
*/
|
|
4
|
+
export interface AssetReadIdentityOut {
|
|
5
|
+
/** The asset id the permission check authorized */
|
|
6
|
+
id: string;
|
|
7
|
+
/** The asset's title */
|
|
8
|
+
title?: string | null;
|
|
9
|
+
/** The asset's original type (athena_original_type) */
|
|
10
|
+
type?: string | null;
|
|
11
|
+
/** The workspace that owns the asset */
|
|
12
|
+
workspace_id?: string | null;
|
|
13
|
+
}
|
|
@@ -5,6 +5,8 @@ import type * as AthenaIntelligence from "../index.js";
|
|
|
5
5
|
export interface AssetReadResult {
|
|
6
6
|
/** Supported/preferred anchors, returned after an unsupported anchor */
|
|
7
7
|
anchor_guidance?: string | null;
|
|
8
|
+
/** The asset the read resolved to. Set only when the caller passed the asset's permission check: on a successful read, and on a teaching error (bad anchor, unsupported format) returned after that check. Null when the asset was refused or not found. */
|
|
9
|
+
asset?: AthenaIntelligence.AssetReadIdentityOut | null;
|
|
8
10
|
/** The asset identifier this result is for */
|
|
9
11
|
asset_id: string;
|
|
10
12
|
/** The resolved asset type, when known */
|
|
@@ -23,6 +23,7 @@ export * from "./AssetCommentThread.js";
|
|
|
23
23
|
export * from "./AssetContentRequestOut.js";
|
|
24
24
|
export * from "./AssetNode.js";
|
|
25
25
|
export * from "./AssetReadErrorOut.js";
|
|
26
|
+
export * from "./AssetReadIdentityOut.js";
|
|
26
27
|
export * from "./AssetReadResponseOut.js";
|
|
27
28
|
export * from "./AssetReadResult.js";
|
|
28
29
|
export * from "./AssetScreenshotResponseOut.js";
|
|
@@ -39,6 +39,7 @@ __exportStar(require("./AssetCommentThread.js"), exports);
|
|
|
39
39
|
__exportStar(require("./AssetContentRequestOut.js"), exports);
|
|
40
40
|
__exportStar(require("./AssetNode.js"), exports);
|
|
41
41
|
__exportStar(require("./AssetReadErrorOut.js"), exports);
|
|
42
|
+
__exportStar(require("./AssetReadIdentityOut.js"), exports);
|
|
42
43
|
__exportStar(require("./AssetReadResponseOut.js"), exports);
|
|
43
44
|
__exportStar(require("./AssetReadResult.js"), exports);
|
|
44
45
|
__exportStar(require("./AssetScreenshotResponseOut.js"), exports);
|
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.2234";
|
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.2234",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2234",
|
|
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,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The asset a read resolved to, after the caller passed its permission check.
|
|
3
|
+
*/
|
|
4
|
+
export interface AssetReadIdentityOut {
|
|
5
|
+
/** The asset id the permission check authorized */
|
|
6
|
+
id: string;
|
|
7
|
+
/** The asset's title */
|
|
8
|
+
title?: string | null;
|
|
9
|
+
/** The asset's original type (athena_original_type) */
|
|
10
|
+
type?: string | null;
|
|
11
|
+
/** The workspace that owns the asset */
|
|
12
|
+
workspace_id?: string | null;
|
|
13
|
+
}
|
|
@@ -5,6 +5,8 @@ import type * as AthenaIntelligence from "../index.mjs";
|
|
|
5
5
|
export interface AssetReadResult {
|
|
6
6
|
/** Supported/preferred anchors, returned after an unsupported anchor */
|
|
7
7
|
anchor_guidance?: string | null;
|
|
8
|
+
/** The asset the read resolved to. Set only when the caller passed the asset's permission check: on a successful read, and on a teaching error (bad anchor, unsupported format) returned after that check. Null when the asset was refused or not found. */
|
|
9
|
+
asset?: AthenaIntelligence.AssetReadIdentityOut | null;
|
|
8
10
|
/** The asset identifier this result is for */
|
|
9
11
|
asset_id: string;
|
|
10
12
|
/** The resolved asset type, when known */
|
|
@@ -23,6 +23,7 @@ export * from "./AssetCommentThread.mjs";
|
|
|
23
23
|
export * from "./AssetContentRequestOut.mjs";
|
|
24
24
|
export * from "./AssetNode.mjs";
|
|
25
25
|
export * from "./AssetReadErrorOut.mjs";
|
|
26
|
+
export * from "./AssetReadIdentityOut.mjs";
|
|
26
27
|
export * from "./AssetReadResponseOut.mjs";
|
|
27
28
|
export * from "./AssetReadResult.mjs";
|
|
28
29
|
export * from "./AssetScreenshotResponseOut.mjs";
|
|
@@ -23,6 +23,7 @@ export * from "./AssetCommentThread.mjs";
|
|
|
23
23
|
export * from "./AssetContentRequestOut.mjs";
|
|
24
24
|
export * from "./AssetNode.mjs";
|
|
25
25
|
export * from "./AssetReadErrorOut.mjs";
|
|
26
|
+
export * from "./AssetReadIdentityOut.mjs";
|
|
26
27
|
export * from "./AssetReadResponseOut.mjs";
|
|
27
28
|
export * from "./AssetReadResult.mjs";
|
|
28
29
|
export * from "./AssetScreenshotResponseOut.mjs";
|
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.2234";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2234";
|