@athenaintel/sdk 4.3.2239 → 4.3.2240
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/assets/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/assets/client/Client.js +1 -1
- package/dist/cjs/api/resources/assets/client/requests/CreateAssetRequestIn.d.ts +3 -1
- package/dist/cjs/api/types/CreatableAssetType.d.ts +1 -0
- package/dist/cjs/api/types/CreatableAssetType.js +1 -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/assets/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/assets/client/Client.mjs +1 -1
- package/dist/esm/api/resources/assets/client/requests/CreateAssetRequestIn.d.mts +3 -1
- package/dist/esm/api/types/CreatableAssetType.d.mts +1 -0
- package/dist/esm/api/types/CreatableAssetType.mjs +1 -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.2240",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2240",
|
|
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,
|
|
@@ -48,7 +48,7 @@ export declare class AssetsClient {
|
|
|
48
48
|
convertExcelToSheet(request: AthenaIntelligence.ConvertExcelToSheetRequestIn, requestOptions?: AssetsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.ConvertExcelToSheetResponseOut>;
|
|
49
49
|
private __convertExcelToSheet;
|
|
50
50
|
/**
|
|
51
|
-
* Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
51
|
+
* Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
52
52
|
*
|
|
53
53
|
* @param {AthenaIntelligence.CreateAssetRequestIn} request
|
|
54
54
|
* @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -248,7 +248,7 @@ class AssetsClient {
|
|
|
248
248
|
});
|
|
249
249
|
}
|
|
250
250
|
/**
|
|
251
|
-
* Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
251
|
+
* Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
252
252
|
*
|
|
253
253
|
* @param {AthenaIntelligence.CreateAssetRequestIn} request
|
|
254
254
|
* @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -8,7 +8,7 @@ import type * as AthenaIntelligence from "../../../../index.js";
|
|
|
8
8
|
* }
|
|
9
9
|
*/
|
|
10
10
|
export interface CreateAssetRequestIn {
|
|
11
|
-
/** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer' */
|
|
11
|
+
/** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer', 'generic_doc', 'user_interface' (or 'ui') */
|
|
12
12
|
asset_type: AthenaIntelligence.CreatableAssetType;
|
|
13
13
|
/** Computer only. vCPU count. Defaults to the template's default. Must be a size the environment's computer resource policy offers; sizes other than the template default require an admin. */
|
|
14
14
|
cpu?: number | null;
|
|
@@ -16,6 +16,8 @@ export interface CreateAssetRequestIn {
|
|
|
16
16
|
disk?: number | null;
|
|
17
17
|
/** Computer only. Environment variables to set on the computer. Must include every key the template or environment requires. Also accepted as 'envVars'. */
|
|
18
18
|
env_vars?: Record<string, string | null> | null;
|
|
19
|
+
/** user_interface only. HTML used as the interface's initial index.html; styles.css and script.js start empty. */
|
|
20
|
+
html_content?: string | null;
|
|
19
21
|
/** Computer only. Memory in GiB. Defaults to the template's default. Same policy and admin rules as cpu. */
|
|
20
22
|
memory?: number | null;
|
|
21
23
|
/** ID of the parent folder to create the asset in */
|
|
@@ -6,5 +6,6 @@ export declare const CreatableAssetType: {
|
|
|
6
6
|
readonly Database: "database";
|
|
7
7
|
readonly Computer: "computer";
|
|
8
8
|
readonly GenericDoc: "generic_doc";
|
|
9
|
+
readonly UserInterface: "user_interface";
|
|
9
10
|
};
|
|
10
11
|
export type CreatableAssetType = (typeof CreatableAssetType)[keyof typeof CreatableAssetType];
|
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.2240";
|
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.2240",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2240",
|
|
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,
|
|
@@ -48,7 +48,7 @@ export declare class AssetsClient {
|
|
|
48
48
|
convertExcelToSheet(request: AthenaIntelligence.ConvertExcelToSheetRequestIn, requestOptions?: AssetsClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.ConvertExcelToSheetResponseOut>;
|
|
49
49
|
private __convertExcelToSheet;
|
|
50
50
|
/**
|
|
51
|
-
* Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
51
|
+
* Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
52
52
|
*
|
|
53
53
|
* @param {AthenaIntelligence.CreateAssetRequestIn} request
|
|
54
54
|
* @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -212,7 +212,7 @@ export class AssetsClient {
|
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
215
|
+
* Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
216
216
|
*
|
|
217
217
|
* @param {AthenaIntelligence.CreateAssetRequestIn} request
|
|
218
218
|
* @param {AssetsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -8,7 +8,7 @@ import type * as AthenaIntelligence from "../../../../index.mjs";
|
|
|
8
8
|
* }
|
|
9
9
|
*/
|
|
10
10
|
export interface CreateAssetRequestIn {
|
|
11
|
-
/** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer' */
|
|
11
|
+
/** Type of asset to create. Supported types: 'spreadsheet' (or 'sheet'), 'document' (or 'doc'), 'folder', 'database' (or 'db'), 'computer', 'generic_doc', 'user_interface' (or 'ui') */
|
|
12
12
|
asset_type: AthenaIntelligence.CreatableAssetType;
|
|
13
13
|
/** Computer only. vCPU count. Defaults to the template's default. Must be a size the environment's computer resource policy offers; sizes other than the template default require an admin. */
|
|
14
14
|
cpu?: number | null;
|
|
@@ -16,6 +16,8 @@ export interface CreateAssetRequestIn {
|
|
|
16
16
|
disk?: number | null;
|
|
17
17
|
/** Computer only. Environment variables to set on the computer. Must include every key the template or environment requires. Also accepted as 'envVars'. */
|
|
18
18
|
env_vars?: Record<string, string | null> | null;
|
|
19
|
+
/** user_interface only. HTML used as the interface's initial index.html; styles.css and script.js start empty. */
|
|
20
|
+
html_content?: string | null;
|
|
19
21
|
/** Computer only. Memory in GiB. Defaults to the template's default. Same policy and admin rules as cpu. */
|
|
20
22
|
memory?: number | null;
|
|
21
23
|
/** ID of the parent folder to create the asset in */
|
|
@@ -6,5 +6,6 @@ export declare const CreatableAssetType: {
|
|
|
6
6
|
readonly Database: "database";
|
|
7
7
|
readonly Computer: "computer";
|
|
8
8
|
readonly GenericDoc: "generic_doc";
|
|
9
|
+
readonly UserInterface: "user_interface";
|
|
9
10
|
};
|
|
10
11
|
export type CreatableAssetType = (typeof CreatableAssetType)[keyof typeof CreatableAssetType];
|
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.2240";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2240";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -647,7 +647,7 @@ await client.assets.convertExcelToSheet({
|
|
|
647
647
|
<dl>
|
|
648
648
|
<dd>
|
|
649
649
|
|
|
650
|
-
Create a new asset such as a spreadsheet, document, folder, database, computer, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
650
|
+
Create a new asset such as a spreadsheet, document, folder, database, computer, user interface, or generic doc (admin-only) in your workspace with your current permissions. Computer assets return 202 after durable submission, which commits the asset and initialization delivery intent together. Runtime provisioning continues asynchronously. Inspect the returned asset ID for progress instead of repeating creation. Computers accept the same configuration as the Athena UI's creation dialog: template, provider, cpu, memory (GiB), disk (GiB) and env_vars. Sizes must be offered by the environment's computer resource policy, and only admins may pick a size other than the template default (403 otherwise). In capability enforce mode, computer creation requires computer.create and returns 403 when denied.
|
|
651
651
|
</dd>
|
|
652
652
|
</dl>
|
|
653
653
|
</dd>
|