@athenaintel/sdk 4.3.2205 → 4.3.2206
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/computer/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/computer/client/Client.js +1 -1
- package/dist/cjs/api/types/SshAccessInfoOut.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/computer/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/computer/client/Client.mjs +1 -1
- package/dist/esm/api/types/SshAccessInfoOut.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.2206",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2206",
|
|
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,
|
|
@@ -51,7 +51,7 @@ export declare class ComputerClient {
|
|
|
51
51
|
getInitialization(request: AthenaIntelligence.GetInitializationComputerRequest, requestOptions?: ComputerClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.ComputerInitializationResponse | null>;
|
|
52
52
|
private __getInitialization;
|
|
53
53
|
/**
|
|
54
|
-
* Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. Returns 409 when the computer's provider does not support SSH.
|
|
54
|
+
* Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. `key_auth_enabled` is false where the environment's gateway accepts tokens only. Returns 409 when the computer's provider does not support SSH.
|
|
55
55
|
*
|
|
56
56
|
* @param {AthenaIntelligence.GetSshAccessComputerRequest} request
|
|
57
57
|
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -244,7 +244,7 @@ class ComputerClient {
|
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
|
-
* Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. Returns 409 when the computer's provider does not support SSH.
|
|
247
|
+
* Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. `key_auth_enabled` is false where the environment's gateway accepts tokens only. Returns 409 when the computer's provider does not support SSH.
|
|
248
248
|
*
|
|
249
249
|
* @param {AthenaIntelligence.GetSshAccessComputerRequest} request
|
|
250
250
|
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -6,6 +6,8 @@ export interface SshAccessInfoOut {
|
|
|
6
6
|
command: string;
|
|
7
7
|
/** SSH gateway hostname for this environment. */
|
|
8
8
|
host: string;
|
|
9
|
+
/** Whether this environment's SSH gateway accepts registered-key logins. When false, `command` is refused at the gateway; connect with a temporary token from `create_ssh_access` instead. */
|
|
10
|
+
key_auth_enabled: boolean;
|
|
9
11
|
/** SSH gateway port. */
|
|
10
12
|
port: number;
|
|
11
13
|
/** Lifetimes, in minutes, this environment offers for a temporary token from `create_ssh_access`, ascending. The first is the default when none is requested; a request above the last is refused. */
|
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.2206";
|
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.2206",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2206",
|
|
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,
|
|
@@ -51,7 +51,7 @@ export declare class ComputerClient {
|
|
|
51
51
|
getInitialization(request: AthenaIntelligence.GetInitializationComputerRequest, requestOptions?: ComputerClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.ComputerInitializationResponse | null>;
|
|
52
52
|
private __getInitialization;
|
|
53
53
|
/**
|
|
54
|
-
* Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. Returns 409 when the computer's provider does not support SSH.
|
|
54
|
+
* Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. `key_auth_enabled` is false where the environment's gateway accepts tokens only. Returns 409 when the computer's provider does not support SSH.
|
|
55
55
|
*
|
|
56
56
|
* @param {AthenaIntelligence.GetSshAccessComputerRequest} request
|
|
57
57
|
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -208,7 +208,7 @@ export class ComputerClient {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. Returns 409 when the computer's provider does not support SSH.
|
|
211
|
+
* Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. `key_auth_enabled` is false where the environment's gateway accepts tokens only. Returns 409 when the computer's provider does not support SSH.
|
|
212
212
|
*
|
|
213
213
|
* @param {AthenaIntelligence.GetSshAccessComputerRequest} request
|
|
214
214
|
* @param {ComputerClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -6,6 +6,8 @@ export interface SshAccessInfoOut {
|
|
|
6
6
|
command: string;
|
|
7
7
|
/** SSH gateway hostname for this environment. */
|
|
8
8
|
host: string;
|
|
9
|
+
/** Whether this environment's SSH gateway accepts registered-key logins. When false, `command` is refused at the gateway; connect with a temporary token from `create_ssh_access` instead. */
|
|
10
|
+
key_auth_enabled: boolean;
|
|
9
11
|
/** SSH gateway port. */
|
|
10
12
|
port: number;
|
|
11
13
|
/** Lifetimes, in minutes, this environment offers for a temporary token from `create_ssh_access`, ascending. The first is the default when none is requested; a request above the last is refused. */
|
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.2206";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2206";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1794,7 +1794,7 @@ await client.computer.getInitialization({
|
|
|
1794
1794
|
<dl>
|
|
1795
1795
|
<dd>
|
|
1796
1796
|
|
|
1797
|
-
Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. Returns 409 when the computer's provider does not support SSH.
|
|
1797
|
+
Return the SSH gateway host, port, username, and ready-made command for connecting to a computer with a registered SSH public key (see `add_ssh_key`). The username is the computer's asset id; the gateway authorizes the connection against your current edit permission on the computer and starts it if it is stopped. Unlike `create_ssh_access`, this mints nothing and never wakes the computer. `key_auth_enabled` is false where the environment's gateway accepts tokens only. Returns 409 when the computer's provider does not support SSH.
|
|
1798
1798
|
</dd>
|
|
1799
1799
|
</dl>
|
|
1800
1800
|
</dd>
|