@athenaintel/sdk 4.3.2339 → 4.3.2340
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/bundles/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/bundles/client/Client.js +1 -1
- package/dist/cjs/api/types/BundleDescriptorMemberOut.d.ts +5 -0
- package/dist/cjs/api/types/BundleDescriptorOut.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/bundles/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/bundles/client/Client.mjs +1 -1
- package/dist/esm/api/types/BundleDescriptorMemberOut.d.mts +5 -0
- package/dist/esm/api/types/BundleDescriptorOut.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/reference.md +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.2340",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2340",
|
|
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,
|
|
@@ -12,7 +12,7 @@ export declare class BundlesClient {
|
|
|
12
12
|
protected readonly _options: NormalizedClientOptionsWithAuth<BundlesClient.Options>;
|
|
13
13
|
constructor(options?: BundlesClient.Options);
|
|
14
14
|
/**
|
|
15
|
-
* Read what a bundle's track serves in this workspace: the asset and type behind each member key, and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
15
|
+
* Read what a bundle's track serves in this workspace: the workspace's id, the asset and type behind each member key (and an object type's registry id where the caller may already read it through the records APIs), and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
16
16
|
*
|
|
17
17
|
* @param {AthenaIntelligence.GetDescriptorBundlesRequest} request
|
|
18
18
|
* @param {BundlesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -55,7 +55,7 @@ class BundlesClient {
|
|
|
55
55
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* Read what a bundle's track serves in this workspace: the asset and type behind each member key, and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
58
|
+
* Read what a bundle's track serves in this workspace: the workspace's id, the asset and type behind each member key (and an object type's registry id where the caller may already read it through the records APIs), and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
59
59
|
*
|
|
60
60
|
* @param {AthenaIntelligence.GetDescriptorBundlesRequest} request
|
|
61
61
|
* @param {BundlesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* One member of a deployment the caller may open.
|
|
3
|
+
*
|
|
4
|
+
* ``registry_id`` is in the answer only when there is one to give: both
|
|
5
|
+
* routes write a member without it with no such key, never ``null``.
|
|
3
6
|
*/
|
|
4
7
|
export interface BundleDescriptorMemberOut {
|
|
5
8
|
/** This place's asset for the member. */
|
|
6
9
|
asset_id: string;
|
|
10
|
+
/** An object type's registry id (src_...), the id the records APIs take, only where the caller can already read it: a caller the ontology platform admits (platform staff, an enrolled workspace), for a type whose registration is active. Absent otherwise, and for every other member type. */
|
|
11
|
+
registry_id?: string | null;
|
|
7
12
|
/** The member asset's type, e.g. collab_agent. */
|
|
8
13
|
type: string;
|
|
9
14
|
}
|
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.2340";
|
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.2340",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2340",
|
|
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,
|
|
@@ -12,7 +12,7 @@ export declare class BundlesClient {
|
|
|
12
12
|
protected readonly _options: NormalizedClientOptionsWithAuth<BundlesClient.Options>;
|
|
13
13
|
constructor(options?: BundlesClient.Options);
|
|
14
14
|
/**
|
|
15
|
-
* Read what a bundle's track serves in this workspace: the asset and type behind each member key, and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
15
|
+
* Read what a bundle's track serves in this workspace: the workspace's id, the asset and type behind each member key (and an object type's registry id where the caller may already read it through the records APIs), and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
16
16
|
*
|
|
17
17
|
* @param {AthenaIntelligence.GetDescriptorBundlesRequest} request
|
|
18
18
|
* @param {BundlesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -19,7 +19,7 @@ export class BundlesClient {
|
|
|
19
19
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Read what a bundle's track serves in this workspace: the asset and type behind each member key, and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
22
|
+
* Read what a bundle's track serves in this workspace: the workspace's id, the asset and type behind each member key (and an object type's registry id where the caller may already read it through the records APIs), and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
23
23
|
*
|
|
24
24
|
* @param {AthenaIntelligence.GetDescriptorBundlesRequest} request
|
|
25
25
|
* @param {BundlesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* One member of a deployment the caller may open.
|
|
3
|
+
*
|
|
4
|
+
* ``registry_id`` is in the answer only when there is one to give: both
|
|
5
|
+
* routes write a member without it with no such key, never ``null``.
|
|
3
6
|
*/
|
|
4
7
|
export interface BundleDescriptorMemberOut {
|
|
5
8
|
/** This place's asset for the member. */
|
|
6
9
|
asset_id: string;
|
|
10
|
+
/** An object type's registry id (src_...), the id the records APIs take, only where the caller can already read it: a caller the ontology platform admits (platform staff, an enrolled workspace), for a type whose registration is active. Absent otherwise, and for every other member type. */
|
|
11
|
+
registry_id?: string | null;
|
|
7
12
|
/** The member asset's type, e.g. collab_agent. */
|
|
8
13
|
type: string;
|
|
9
14
|
}
|
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.2340";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2340";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2310,7 +2310,7 @@ await client.assets.removeWorkspaceAccess({
|
|
|
2310
2310
|
<dl>
|
|
2311
2311
|
<dd>
|
|
2312
2312
|
|
|
2313
|
-
Read what a bundle's track serves in this workspace: the asset and type behind each member key, and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
2313
|
+
Read what a bundle's track serves in this workspace: the workspace's id, the asset and type behind each member key (and an object type's registry id where the caller may already read it through the records APIs), and each slot's kind and state (filled, not_used or waiting). A slot carries a value only when the bundle declares it for the app, its fill is in force and the caller can open an application the bundle lists: a text value's words, or the asset a pointer names where the caller can open that asset; never a secret, a channel or a database. Production unless track names another. The caller needs view access to the bundle as a member of its workspace; a member the caller can't open is left out. Every refusal is 404, the same answer a key that names nothing gets.
|
|
2314
2314
|
</dd>
|
|
2315
2315
|
</dl>
|
|
2316
2316
|
</dd>
|