@athenaintel/sdk 4.3.2165 → 4.3.2166

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.2165",
47
- "User-Agent": "@athenaintel/sdk/4.3.2165",
46
+ "X-Fern-SDK-Version": "4.3.2166",
47
+ "User-Agent": "@athenaintel/sdk/4.3.2166",
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);
@@ -12,7 +12,7 @@ export declare class SemanticModelClient {
12
12
  protected readonly _options: NormalizedClientOptionsWithAuth<SemanticModelClient.Options>;
13
13
  constructor(options?: SemanticModelClient.Options);
14
14
  /**
15
- * Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Dataset-backed models must use the authenticated query endpoint instead so source Dataset permissions are checked per query.
15
+ * Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Lakehouse-backed models must use the authenticated query endpoint instead so namespace permissions are checked per query.
16
16
  *
17
17
  * @param {AthenaIntelligence.GenerateTokenSemanticModelRequest} request
18
18
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -66,7 +66,7 @@ class SemanticModelClient {
66
66
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
67
67
  }
68
68
  /**
69
- * Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Dataset-backed models must use the authenticated query endpoint instead so source Dataset permissions are checked per query.
69
+ * Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Lakehouse-backed models must use the authenticated query endpoint instead so namespace permissions are checked per query.
70
70
  *
71
71
  * @param {AthenaIntelligence.GenerateTokenSemanticModelRequest} request
72
72
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2165";
1
+ export declare const SDK_VERSION = "4.3.2166";
@@ -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.2165";
4
+ exports.SDK_VERSION = "4.3.2166";
@@ -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.2165",
10
- "User-Agent": "@athenaintel/sdk/4.3.2165",
9
+ "X-Fern-SDK-Version": "4.3.2166",
10
+ "User-Agent": "@athenaintel/sdk/4.3.2166",
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);
@@ -12,7 +12,7 @@ export declare class SemanticModelClient {
12
12
  protected readonly _options: NormalizedClientOptionsWithAuth<SemanticModelClient.Options>;
13
13
  constructor(options?: SemanticModelClient.Options);
14
14
  /**
15
- * Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Dataset-backed models must use the authenticated query endpoint instead so source Dataset permissions are checked per query.
15
+ * Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Lakehouse-backed models must use the authenticated query endpoint instead so namespace permissions are checked per query.
16
16
  *
17
17
  * @param {AthenaIntelligence.GenerateTokenSemanticModelRequest} request
18
18
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -30,7 +30,7 @@ export class SemanticModelClient {
30
30
  this._options = normalizeClientOptionsWithAuth(options);
31
31
  }
32
32
  /**
33
- * Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Dataset-backed models must use the authenticated query endpoint instead so source Dataset permissions are checked per query.
33
+ * Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Lakehouse-backed models must use the authenticated query endpoint instead so namespace permissions are checked per query.
34
34
  *
35
35
  * @param {AthenaIntelligence.GenerateTokenSemanticModelRequest} request
36
36
  * @param {SemanticModelClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "4.3.2165";
1
+ export declare const SDK_VERSION = "4.3.2166";
@@ -1 +1 @@
1
- export const SDK_VERSION = "4.3.2165";
1
+ export const SDK_VERSION = "4.3.2166";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenaintel/sdk",
3
- "version": "4.3.2165",
3
+ "version": "4.3.2166",
4
4
  "private": false,
5
5
  "repository": "github:Athena-Intel/athena-typescript",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -3135,7 +3135,7 @@ await client.query.executeSnippet({
3135
3135
  <dl>
3136
3136
  <dd>
3137
3137
 
3138
- Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Dataset-backed models must use the authenticated query endpoint instead so source Dataset permissions are checked per query.
3138
+ Generate a short-lived JWT token for direct access to the semantic model's Cube REST API. Use this token to query /cubejs-api/v1/load and /cubejs-api/v1/meta directly. Token expires after 1 hour. The token carries only a credential-free, user/workspace/schema-scoped authorization grant — database credentials are NOT included and are resolved server-side by Cube via callback. Lakehouse-backed models must use the authenticated query endpoint instead so namespace permissions are checked per query.
3139
3139
  </dd>
3140
3140
  </dl>
3141
3141
  </dd>