@athenaintel/sdk 4.3.2137 → 4.3.2139
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 +3 -1
- package/dist/cjs/api/types/SemanticModelQueryResponseOut.d.ts +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 +3 -1
- package/dist/esm/api/types/SemanticModelQueryResponseOut.d.mts +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.2139",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2139",
|
|
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);
|
package/dist/cjs/api/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.ts
CHANGED
|
@@ -11,10 +11,12 @@ 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[];
|
|
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?: string[][] | null;
|
|
18
20
|
/** Optional time dimension configs */
|
|
19
21
|
time_dimensions?: Record<string, unknown>[] | null;
|
|
20
22
|
}
|
|
@@ -6,4 +6,6 @@ export interface SemanticModelQueryResponseOut {
|
|
|
6
6
|
data: Record<string, unknown>[];
|
|
7
7
|
/** Number of rows returned */
|
|
8
8
|
row_count: number;
|
|
9
|
+
/** True when the query produced more rows than 'limit' and the result was cut; raise 'limit' or add filters to see the rest */
|
|
10
|
+
truncated?: boolean;
|
|
9
11
|
}
|
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.2139";
|
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.2139",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2139",
|
|
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);
|
package/dist/esm/api/resources/semanticModel/client/requests/SemanticModelQueryRequestIn.d.mts
CHANGED
|
@@ -11,10 +11,12 @@ 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[];
|
|
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?: string[][] | null;
|
|
18
20
|
/** Optional time dimension configs */
|
|
19
21
|
time_dimensions?: Record<string, unknown>[] | null;
|
|
20
22
|
}
|
|
@@ -6,4 +6,6 @@ export interface SemanticModelQueryResponseOut {
|
|
|
6
6
|
data: Record<string, unknown>[];
|
|
7
7
|
/** Number of rows returned */
|
|
8
8
|
row_count: number;
|
|
9
|
+
/** True when the query produced more rows than 'limit' and the result was cut; raise 'limit' or add filters to see the rest */
|
|
10
|
+
truncated?: boolean;
|
|
9
11
|
}
|
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.2139";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2139";
|