@athenaintel/sdk 4.3.2138 → 4.3.2140

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.2138",
47
- "User-Agent": "@athenaintel/sdk/4.3.2138",
46
+ "X-Fern-SDK-Version": "4.3.2140",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2140",
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);
@@ -11,7 +11,7 @@ export interface SemanticModelQueryRequestIn {
11
11
  dimensions?: string[] | null;
12
12
  /** Optional filters */
13
13
  filters?: Record<string, unknown>[] | null;
14
- /** Maximum rows to return */
14
+ /** Maximum rows to return (default 100). When the result was cut at this limit the response sets "truncated": true. */
15
15
  limit?: number;
16
16
  /** List of measure identifiers, e.g. ["orders.total_revenue"] */
17
17
  measures: string[];
@@ -4,6 +4,10 @@
4
4
  export interface SemanticModelQueryResponseOut {
5
5
  /** Query result rows */
6
6
  data: Record<string, unknown>[];
7
+ /** Server-side execution time in milliseconds (semantic layer + engine, excluding network) — surface it to show how fast the engine answered */
8
+ elapsed_ms?: number;
7
9
  /** Number of rows returned */
8
10
  row_count: number;
11
+ /** True when the query produced more rows than 'limit' and the result was cut; raise 'limit' or add filters to see the rest */
12
+ truncated?: boolean;
9
13
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2138";
1
+ export declare const SDK_VERSION = "4.3.2140";
@@ -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.2138";
4
+ exports.SDK_VERSION = "4.3.2140";
@@ -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.2138",
10
- "User-Agent": "@athenaintel/sdk/4.3.2138",
9
+ "X-Fern-SDK-Version": "4.3.2140",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2140",
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);
@@ -11,7 +11,7 @@ export interface SemanticModelQueryRequestIn {
11
11
  dimensions?: string[] | null;
12
12
  /** Optional filters */
13
13
  filters?: Record<string, unknown>[] | null;
14
- /** Maximum rows to return */
14
+ /** Maximum rows to return (default 100). When the result was cut at this limit the response sets "truncated": true. */
15
15
  limit?: number;
16
16
  /** List of measure identifiers, e.g. ["orders.total_revenue"] */
17
17
  measures: string[];
@@ -4,6 +4,10 @@
4
4
  export interface SemanticModelQueryResponseOut {
5
5
  /** Query result rows */
6
6
  data: Record<string, unknown>[];
7
+ /** Server-side execution time in milliseconds (semantic layer + engine, excluding network) — surface it to show how fast the engine answered */
8
+ elapsed_ms?: number;
7
9
  /** Number of rows returned */
8
10
  row_count: number;
11
+ /** True when the query produced more rows than 'limit' and the result was cut; raise 'limit' or add filters to see the rest */
12
+ truncated?: boolean;
9
13
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2138";
1
+ export declare const SDK_VERSION = "4.3.2140";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2138";
1
+ export const SDK_VERSION = "4.3.2140";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2138",
3
+ "version": "4.3.2140",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",