@athenaintel/sdk 4.3.2232 → 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/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.ts +9 -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/SemanticModelOrderEntry.d.ts +9 -0
- package/dist/cjs/api/types/SemanticModelOrderEntry.js +3 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +2 -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/semanticModel/client/requests/SemanticModelQueryRequestIn.d.mts +9 -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/SemanticModelOrderEntry.d.mts +9 -0
- package/dist/esm/api/types/SemanticModelOrderEntry.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +2 -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,
|
package/dist/cjs/api/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../../../../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
@@ -15,8 +16,14 @@ export interface SemanticModelQueryRequestIn {
|
|
|
15
16
|
limit?: number;
|
|
16
17
|
/** List of measure identifiers, e.g. ["orders.total_revenue"] */
|
|
17
18
|
measures: string[];
|
|
18
|
-
/** Optional ordering as [member, direction] pairs applied before "limit", e.g. [["orders.count", "desc"]] for a server-side top-N. Direction must be "asc" or "desc". */
|
|
19
|
-
order?:
|
|
19
|
+
/** Optional ordering as [member, direction] pairs applied before "limit", e.g. [["orders.count", "desc"]] for a server-side top-N. Direction must be "asc" or "desc". Entries may also be given as {"member": "orders.count", "direction": "desc"} objects. */
|
|
20
|
+
order?: SemanticModelQueryRequestIn.Order.Item[] | null;
|
|
20
21
|
/** Optional Cube time dimension configs, e.g. [{"dimension": "orders.created_at", "granularity": "month", "dateRange": ["2026-01-01", "2026-06-30"]}]. The camelCase spelling "timeDimensions" (Cube's own, and the one the rest of Athena uses) is accepted as well. */
|
|
21
22
|
time_dimensions?: Record<string, unknown>[] | null;
|
|
22
23
|
}
|
|
24
|
+
export declare namespace SemanticModelQueryRequestIn {
|
|
25
|
+
type Order = Order.Item[];
|
|
26
|
+
namespace Order {
|
|
27
|
+
type Item = string[] | AthenaIntelligence.SemanticModelOrderEntry;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -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";
|
|
@@ -113,6 +114,7 @@ export * from "./RunBudget.js";
|
|
|
113
114
|
export * from "./RunTaskResponse.js";
|
|
114
115
|
export * from "./SaveAssetRequestOut.js";
|
|
115
116
|
export * from "./SemanticModelMetaResponseOut.js";
|
|
117
|
+
export * from "./SemanticModelOrderEntry.js";
|
|
116
118
|
export * from "./SemanticModelQueryResponseOut.js";
|
|
117
119
|
export * from "./SemanticModelTokenResponseOut.js";
|
|
118
120
|
export * from "./SessionOut.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);
|
|
@@ -129,6 +130,7 @@ __exportStar(require("./RunBudget.js"), exports);
|
|
|
129
130
|
__exportStar(require("./RunTaskResponse.js"), exports);
|
|
130
131
|
__exportStar(require("./SaveAssetRequestOut.js"), exports);
|
|
131
132
|
__exportStar(require("./SemanticModelMetaResponseOut.js"), exports);
|
|
133
|
+
__exportStar(require("./SemanticModelOrderEntry.js"), exports);
|
|
132
134
|
__exportStar(require("./SemanticModelQueryResponseOut.js"), exports);
|
|
133
135
|
__exportStar(require("./SemanticModelTokenResponseOut.js"), exports);
|
|
134
136
|
__exportStar(require("./SessionOut.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,
|
package/dist/esm/api/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../../../../index.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
@@ -15,8 +16,14 @@ export interface SemanticModelQueryRequestIn {
|
|
|
15
16
|
limit?: number;
|
|
16
17
|
/** List of measure identifiers, e.g. ["orders.total_revenue"] */
|
|
17
18
|
measures: string[];
|
|
18
|
-
/** Optional ordering as [member, direction] pairs applied before "limit", e.g. [["orders.count", "desc"]] for a server-side top-N. Direction must be "asc" or "desc". */
|
|
19
|
-
order?:
|
|
19
|
+
/** Optional ordering as [member, direction] pairs applied before "limit", e.g. [["orders.count", "desc"]] for a server-side top-N. Direction must be "asc" or "desc". Entries may also be given as {"member": "orders.count", "direction": "desc"} objects. */
|
|
20
|
+
order?: SemanticModelQueryRequestIn.Order.Item[] | null;
|
|
20
21
|
/** Optional Cube time dimension configs, e.g. [{"dimension": "orders.created_at", "granularity": "month", "dateRange": ["2026-01-01", "2026-06-30"]}]. The camelCase spelling "timeDimensions" (Cube's own, and the one the rest of Athena uses) is accepted as well. */
|
|
21
22
|
time_dimensions?: Record<string, unknown>[] | null;
|
|
22
23
|
}
|
|
24
|
+
export declare namespace SemanticModelQueryRequestIn {
|
|
25
|
+
type Order = Order.Item[];
|
|
26
|
+
namespace Order {
|
|
27
|
+
type Item = string[] | AthenaIntelligence.SemanticModelOrderEntry;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -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";
|
|
@@ -113,6 +114,7 @@ export * from "./RunBudget.mjs";
|
|
|
113
114
|
export * from "./RunTaskResponse.mjs";
|
|
114
115
|
export * from "./SaveAssetRequestOut.mjs";
|
|
115
116
|
export * from "./SemanticModelMetaResponseOut.mjs";
|
|
117
|
+
export * from "./SemanticModelOrderEntry.mjs";
|
|
116
118
|
export * from "./SemanticModelQueryResponseOut.mjs";
|
|
117
119
|
export * from "./SemanticModelTokenResponseOut.mjs";
|
|
118
120
|
export * from "./SessionOut.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";
|
|
@@ -113,6 +114,7 @@ export * from "./RunBudget.mjs";
|
|
|
113
114
|
export * from "./RunTaskResponse.mjs";
|
|
114
115
|
export * from "./SaveAssetRequestOut.mjs";
|
|
115
116
|
export * from "./SemanticModelMetaResponseOut.mjs";
|
|
117
|
+
export * from "./SemanticModelOrderEntry.mjs";
|
|
116
118
|
export * from "./SemanticModelQueryResponseOut.mjs";
|
|
117
119
|
export * from "./SemanticModelTokenResponseOut.mjs";
|
|
118
120
|
export * from "./SessionOut.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";
|