@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.
@@ -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.2233",
47
- "User-Agent": "@athenaintel/sdk/4.3.2233",
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
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2233";
1
+ export declare const SDK_VERSION = "4.3.2234";
@@ -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.2233";
4
+ exports.SDK_VERSION = "4.3.2234";
@@ -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.2233",
10
- "User-Agent": "@athenaintel/sdk/4.3.2233",
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
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2233";
1
+ export declare const SDK_VERSION = "4.3.2234";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2233";
1
+ export const SDK_VERSION = "4.3.2234";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2233",
3
+ "version": "4.3.2234",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",