@athenaintel/sdk 4.3.2186 → 4.3.2188
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/requests/CreateSshAccessRequestIn.d.ts +2 -2
- 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/requests/CreateSshAccessRequestIn.d.mts +2 -2
- 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/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.2188",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2188",
|
|
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);
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface CreateSshAccessRequestIn {
|
|
9
9
|
asset_id: string;
|
|
10
|
-
/** How long the SSH access token should remain valid, in minutes (1
|
|
11
|
-
expires_in_minutes?: number;
|
|
10
|
+
/** How long the SSH access token should remain valid, in minutes (1-1440). The environment may cap this lower (see `token_expiry_minutes_options` on `get_ssh_access`); omit it to get the environment's shortest offered lifetime. */
|
|
11
|
+
expires_in_minutes?: number | null;
|
|
12
12
|
}
|
|
@@ -8,6 +8,8 @@ export interface SshAccessInfoOut {
|
|
|
8
8
|
host: string;
|
|
9
9
|
/** SSH gateway port. */
|
|
10
10
|
port: number;
|
|
11
|
+
/** 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. */
|
|
12
|
+
token_expiry_minutes_options: number[];
|
|
11
13
|
/** The SSH username — the computer's asset id, which selects identity (registered-key) authentication at the gateway. */
|
|
12
14
|
username: string;
|
|
13
15
|
}
|
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.2188";
|
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.2188",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2188",
|
|
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);
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface CreateSshAccessRequestIn {
|
|
9
9
|
asset_id: string;
|
|
10
|
-
/** How long the SSH access token should remain valid, in minutes (1
|
|
11
|
-
expires_in_minutes?: number;
|
|
10
|
+
/** How long the SSH access token should remain valid, in minutes (1-1440). The environment may cap this lower (see `token_expiry_minutes_options` on `get_ssh_access`); omit it to get the environment's shortest offered lifetime. */
|
|
11
|
+
expires_in_minutes?: number | null;
|
|
12
12
|
}
|
|
@@ -8,6 +8,8 @@ export interface SshAccessInfoOut {
|
|
|
8
8
|
host: string;
|
|
9
9
|
/** SSH gateway port. */
|
|
10
10
|
port: number;
|
|
11
|
+
/** 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. */
|
|
12
|
+
token_expiry_minutes_options: number[];
|
|
11
13
|
/** The SSH username — the computer's asset id, which selects identity (registered-key) authentication at the gateway. */
|
|
12
14
|
username: string;
|
|
13
15
|
}
|
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.2188";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2188";
|