@athenaintel/sdk 4.3.2111 → 4.3.2113
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 +65 -0
- package/dist/cjs/api/resources/assets/client/Client.js +274 -0
- package/dist/cjs/api/resources/assets/client/requests/AssetActivityDeltaBatchRequestIn.d.ts +19 -0
- package/dist/cjs/api/resources/assets/client/requests/AssetActivityDeltaBatchRequestIn.js +3 -0
- package/dist/cjs/api/resources/assets/client/requests/GetActivityDeltaAssetsRequest.d.ts +15 -0
- package/dist/cjs/api/resources/assets/client/requests/GetActivityDeltaAssetsRequest.js +3 -0
- package/dist/cjs/api/resources/assets/client/requests/ListActivityAssetsRequest.d.ts +13 -0
- package/dist/cjs/api/resources/assets/client/requests/ListActivityAssetsRequest.js +3 -0
- package/dist/cjs/api/resources/assets/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/databases/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tools/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/tools/client/Client.js +7 -1
- package/dist/cjs/api/resources/tools/client/requests/BodySaveAssetApiV0ToolsFileSavePost.d.ts +2 -0
- package/dist/cjs/api/types/ActivityClockRangeIn.d.ts +9 -0
- package/dist/cjs/api/types/ActivityClockRangeIn.js +3 -0
- package/dist/cjs/api/types/ActivityDeltaOut.d.ts +11 -0
- package/dist/cjs/api/types/ActivityDeltaOut.js +3 -0
- package/dist/cjs/api/types/ActivityItemOut.d.ts +19 -0
- package/dist/cjs/api/types/ActivityItemOut.js +3 -0
- package/dist/cjs/api/types/AssetActivityDeltaResponseOut.d.ts +11 -0
- package/dist/cjs/api/types/AssetActivityDeltaResponseOut.js +3 -0
- package/dist/cjs/api/types/AssetActivityResponseOut.d.ts +14 -0
- package/dist/cjs/api/types/AssetActivityResponseOut.js +3 -0
- package/dist/cjs/api/types/{AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.d.ts → DatabaseStatusResponse.d.ts} +3 -3
- package/dist/cjs/api/types/DatabaseStatusResponse.js +15 -0
- package/dist/cjs/api/types/GeneralAgentConfig.d.ts +1 -1
- package/dist/cjs/api/types/SessionOut.d.ts +7 -1
- package/dist/cjs/api/types/index.d.ts +6 -1
- package/dist/cjs/api/types/index.js +6 -1
- 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 +65 -0
- package/dist/esm/api/resources/assets/client/Client.mjs +274 -0
- package/dist/esm/api/resources/assets/client/requests/AssetActivityDeltaBatchRequestIn.d.mts +19 -0
- package/dist/esm/api/resources/assets/client/requests/AssetActivityDeltaBatchRequestIn.mjs +2 -0
- package/dist/esm/api/resources/assets/client/requests/GetActivityDeltaAssetsRequest.d.mts +15 -0
- package/dist/esm/api/resources/assets/client/requests/GetActivityDeltaAssetsRequest.mjs +2 -0
- package/dist/esm/api/resources/assets/client/requests/ListActivityAssetsRequest.d.mts +13 -0
- package/dist/esm/api/resources/assets/client/requests/ListActivityAssetsRequest.mjs +2 -0
- package/dist/esm/api/resources/assets/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/databases/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tools/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/tools/client/Client.mjs +7 -1
- package/dist/esm/api/resources/tools/client/requests/BodySaveAssetApiV0ToolsFileSavePost.d.mts +2 -0
- package/dist/esm/api/types/ActivityClockRangeIn.d.mts +9 -0
- package/dist/esm/api/types/ActivityClockRangeIn.mjs +2 -0
- package/dist/esm/api/types/ActivityDeltaOut.d.mts +11 -0
- package/dist/esm/api/types/ActivityDeltaOut.mjs +2 -0
- package/dist/esm/api/types/ActivityItemOut.d.mts +19 -0
- package/dist/esm/api/types/ActivityItemOut.mjs +2 -0
- package/dist/esm/api/types/AssetActivityDeltaResponseOut.d.mts +11 -0
- package/dist/esm/api/types/AssetActivityDeltaResponseOut.mjs +2 -0
- package/dist/esm/api/types/AssetActivityResponseOut.d.mts +14 -0
- package/dist/esm/api/types/AssetActivityResponseOut.mjs +2 -0
- package/dist/esm/api/types/{AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.d.mts → DatabaseStatusResponse.d.mts} +3 -3
- package/dist/esm/api/types/DatabaseStatusResponse.mjs +12 -0
- package/dist/esm/api/types/GeneralAgentConfig.d.mts +1 -1
- package/dist/esm/api/types/SessionOut.d.mts +7 -1
- package/dist/esm/api/types/index.d.mts +6 -1
- package/dist/esm/api/types/index.mjs +6 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +206 -2
- package/dist/cjs/api/types/AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.js +0 -15
- package/dist/esm/api/types/AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.mjs +0 -12
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The change one activity item made, or why it is unavailable.
|
|
3
|
+
*/
|
|
4
|
+
export interface ActivityDeltaOut {
|
|
5
|
+
/** The change itself. Always carries kind, type, summary, totals, and coverage; typed detail (cell_changes, slide_changes, inserted_text, ...) varies by kind. Null when error is set. */
|
|
6
|
+
delta?: Record<string, unknown> | null;
|
|
7
|
+
/** Why this range could not be diffed. Null on success. */
|
|
8
|
+
error?: string | null;
|
|
9
|
+
from_clock: number;
|
|
10
|
+
to_clock: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One entry in an asset's activity log.
|
|
3
|
+
*/
|
|
4
|
+
export interface ActivityItemOut {
|
|
5
|
+
/** Who made the edit: 'user', 'agent', 'canvas-ai', 'rollback', or 'version-restore'. Matches the in-app Activity pane. */
|
|
6
|
+
actor_type: string;
|
|
7
|
+
/** Attribution metadata carried by the edit. Common keys: user_id, agent_id, session_id, user_message_tracking_id, ai_message_tracking_id, source. Join session_id against your trace store to link an edit to the run that produced it. */
|
|
8
|
+
attributions?: Record<string, string>;
|
|
9
|
+
/** Raw Keryx author id. 'backend-service' for agent writes; a user id for direct edits. Prefer actor_type for classification. */
|
|
10
|
+
by: string;
|
|
11
|
+
/** Keryx clock at the start of the edit, in epoch milliseconds. Use with to_clock to request this item's delta. */
|
|
12
|
+
from_clock: number;
|
|
13
|
+
/** from_clock as an ISO-8601 UTC timestamp; empty if not a timestamp. */
|
|
14
|
+
from_iso: string;
|
|
15
|
+
/** Keryx clock at the end of the edit, in epoch milliseconds. */
|
|
16
|
+
to_clock: number;
|
|
17
|
+
/** to_clock as an ISO-8601 UTC timestamp; empty if not a timestamp. */
|
|
18
|
+
to_iso: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Deltas for the requested clock ranges.
|
|
4
|
+
*/
|
|
5
|
+
export interface AssetActivityDeltaResponseOut {
|
|
6
|
+
asset_id: string;
|
|
7
|
+
asset_type: string;
|
|
8
|
+
deltas: AthenaIntelligence.ActivityDeltaOut[];
|
|
9
|
+
/** Version of the delta payload shape. Detail fields are added additively within a version; a breaking change bumps it. */
|
|
10
|
+
schema_version: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as AthenaIntelligence from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* A page of an asset's activity log, newest edit first.
|
|
4
|
+
*/
|
|
5
|
+
export interface AssetActivityResponseOut {
|
|
6
|
+
asset_id: string;
|
|
7
|
+
/** The asset's Athena type. */
|
|
8
|
+
asset_type: string;
|
|
9
|
+
items: AthenaIntelligence.ActivityItemOut[];
|
|
10
|
+
/** Pass as to_clock to fetch the next (older) page. Null when the log has been fully read. */
|
|
11
|
+
next_page_to_clock?: number | null;
|
|
12
|
+
/** Number of items in this page. */
|
|
13
|
+
returned: number;
|
|
14
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Used to determine if a serverless database is running or suspended
|
|
5
5
|
* (scale-to-zero). Poll this endpoint to know when a database is ready.
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface DatabaseStatusResponse {
|
|
8
8
|
/** The database asset ID */
|
|
9
9
|
asset_id: string;
|
|
10
10
|
/** Optional status message or error details */
|
|
@@ -12,9 +12,9 @@ export interface AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse {
|
|
|
12
12
|
/** Database provider ('neon_cloud' or 'kronos') */
|
|
13
13
|
provider: string;
|
|
14
14
|
/** Standardized database status */
|
|
15
|
-
status:
|
|
15
|
+
status: DatabaseStatusResponse.Status;
|
|
16
16
|
}
|
|
17
|
-
export declare namespace
|
|
17
|
+
export declare namespace DatabaseStatusResponse {
|
|
18
18
|
/** Standardized database status */
|
|
19
19
|
const Status: {
|
|
20
20
|
readonly Running: "running";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var DatabaseStatusResponse;
|
|
3
|
+
(function (DatabaseStatusResponse) {
|
|
4
|
+
/** Standardized database status */
|
|
5
|
+
DatabaseStatusResponse.Status = {
|
|
6
|
+
Running: "running",
|
|
7
|
+
Suspended: "suspended",
|
|
8
|
+
Starting: "starting",
|
|
9
|
+
Failed: "failed",
|
|
10
|
+
Unknown: "unknown",
|
|
11
|
+
};
|
|
12
|
+
})(DatabaseStatusResponse || (DatabaseStatusResponse = {}));
|
|
@@ -10,6 +10,6 @@ export interface GeneralAgentConfig {
|
|
|
10
10
|
export declare namespace GeneralAgentConfig {
|
|
11
11
|
type EnabledTools = EnabledTools.Item[];
|
|
12
12
|
namespace EnabledTools {
|
|
13
|
-
type Item = ("search" | "browse") | string;
|
|
13
|
+
type Item = ("search" | "tavily_search" | "browse") | string;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -16,6 +16,8 @@ export interface SessionOut {
|
|
|
16
16
|
created_at: string;
|
|
17
17
|
/** Unique identifier of the user who created this session */
|
|
18
18
|
created_by_id?: string | null;
|
|
19
|
+
/** Canonical failure reason for failed runs; null for non-failed runs */
|
|
20
|
+
failure_reason_v2?: string | null;
|
|
19
21
|
/** Unique identifier of the session asset (e.g., 'asset_abc123') */
|
|
20
22
|
id: string;
|
|
21
23
|
/** Whether this is a branched sub-session of another session */
|
|
@@ -28,11 +30,15 @@ export interface SessionOut {
|
|
|
28
30
|
num_messages?: number | null;
|
|
29
31
|
/** Asset ID of the parent session for sub-sessions */
|
|
30
32
|
parent_session_id?: string | null;
|
|
33
|
+
/** Canonical latest-run status: scheduled, queued, running, needs_input, completed, failed, or canceled */
|
|
34
|
+
run_status_v2?: string | null;
|
|
35
|
+
/** Canonical user-facing session status: idle, active, needs_input, or error */
|
|
36
|
+
session_status_v2: string;
|
|
31
37
|
/** Kind of session: 'session' (chat), 'video_session', 'desktop_session', or 'mobile_session' */
|
|
32
38
|
session_type?: string | null;
|
|
33
39
|
/** Channel the session originated from (e.g., 'web', 'api', 'agent_email', 'agent_slack', 'agent_sms') */
|
|
34
40
|
source_channel?: string | null;
|
|
35
|
-
/**
|
|
41
|
+
/** Deprecated legacy execution state. Use session_status_v2, run_status_v2, and failure_reason_v2 for status UI. */
|
|
36
42
|
state?: string | null;
|
|
37
43
|
/** LangChain thread ID backing this session's message history */
|
|
38
44
|
thread_id: string;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./ActivityClockRangeIn.mjs";
|
|
2
|
+
export * from "./ActivityDeltaOut.mjs";
|
|
3
|
+
export * from "./ActivityItemOut.mjs";
|
|
2
4
|
export * from "./AopAsyncExecuteResponseOut.mjs";
|
|
3
5
|
export * from "./AopConfigResponseOut.mjs";
|
|
4
6
|
export * from "./AopConfigUpdateResponseOut.mjs";
|
|
@@ -7,6 +9,8 @@ export * from "./AopExecuteRequestIn.mjs";
|
|
|
7
9
|
export * from "./AopExecuteResponseOut.mjs";
|
|
8
10
|
export * from "./ApprovalMode.mjs";
|
|
9
11
|
export * from "./ArchiveAssetResponseOut.mjs";
|
|
12
|
+
export * from "./AssetActivityDeltaResponseOut.mjs";
|
|
13
|
+
export * from "./AssetActivityResponseOut.mjs";
|
|
10
14
|
export * from "./AssetCapabilitiesResponseOut.mjs";
|
|
11
15
|
export * from "./AssetComment.mjs";
|
|
12
16
|
export * from "./AssetCommentThread.mjs";
|
|
@@ -37,6 +41,7 @@ export * from "./DatabaseColumnInfo.mjs";
|
|
|
37
41
|
export * from "./DatabaseDataResponse.mjs";
|
|
38
42
|
export * from "./DatabaseMutationResponse.mjs";
|
|
39
43
|
export * from "./DatabaseSqlResponse.mjs";
|
|
44
|
+
export * from "./DatabaseStatusResponse.mjs";
|
|
40
45
|
export * from "./DatabaseTableInfo.mjs";
|
|
41
46
|
export * from "./DatabaseTableSchemaResponse.mjs";
|
|
42
47
|
export * from "./DatabaseTablesResponse.mjs";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./ActivityClockRangeIn.mjs";
|
|
2
|
+
export * from "./ActivityDeltaOut.mjs";
|
|
3
|
+
export * from "./ActivityItemOut.mjs";
|
|
2
4
|
export * from "./AopAsyncExecuteResponseOut.mjs";
|
|
3
5
|
export * from "./AopConfigResponseOut.mjs";
|
|
4
6
|
export * from "./AopConfigUpdateResponseOut.mjs";
|
|
@@ -7,6 +9,8 @@ export * from "./AopExecuteRequestIn.mjs";
|
|
|
7
9
|
export * from "./AopExecuteResponseOut.mjs";
|
|
8
10
|
export * from "./ApprovalMode.mjs";
|
|
9
11
|
export * from "./ArchiveAssetResponseOut.mjs";
|
|
12
|
+
export * from "./AssetActivityDeltaResponseOut.mjs";
|
|
13
|
+
export * from "./AssetActivityResponseOut.mjs";
|
|
10
14
|
export * from "./AssetCapabilitiesResponseOut.mjs";
|
|
11
15
|
export * from "./AssetComment.mjs";
|
|
12
16
|
export * from "./AssetCommentThread.mjs";
|
|
@@ -37,6 +41,7 @@ export * from "./DatabaseColumnInfo.mjs";
|
|
|
37
41
|
export * from "./DatabaseDataResponse.mjs";
|
|
38
42
|
export * from "./DatabaseMutationResponse.mjs";
|
|
39
43
|
export * from "./DatabaseSqlResponse.mjs";
|
|
44
|
+
export * from "./DatabaseStatusResponse.mjs";
|
|
40
45
|
export * from "./DatabaseTableInfo.mjs";
|
|
41
46
|
export * from "./DatabaseTableSchemaResponse.mjs";
|
|
42
47
|
export * from "./DatabaseTablesResponse.mjs";
|
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.2113";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2113";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -890,6 +890,210 @@ await client.assets.rename({
|
|
|
890
890
|
</dl>
|
|
891
891
|
|
|
892
892
|
|
|
893
|
+
</dd>
|
|
894
|
+
</dl>
|
|
895
|
+
</details>
|
|
896
|
+
|
|
897
|
+
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">listActivity</a>({ ...params }) -> AthenaIntelligence.AssetActivityResponseOut</code></summary>
|
|
898
|
+
<dl>
|
|
899
|
+
<dd>
|
|
900
|
+
|
|
901
|
+
#### 📝 Description
|
|
902
|
+
|
|
903
|
+
<dl>
|
|
904
|
+
<dd>
|
|
905
|
+
|
|
906
|
+
<dl>
|
|
907
|
+
<dd>
|
|
908
|
+
|
|
909
|
+
Admin only. List the edit history of a collaborative asset, newest first: who edited it, when, and under which agent/session attribution. Works for every collaborative asset type. Each item's from_clock/to_clock identify the edit for the companion delta endpoint, which reports what actually changed.
|
|
910
|
+
</dd>
|
|
911
|
+
</dl>
|
|
912
|
+
</dd>
|
|
913
|
+
</dl>
|
|
914
|
+
|
|
915
|
+
#### 🔌 Usage
|
|
916
|
+
|
|
917
|
+
<dl>
|
|
918
|
+
<dd>
|
|
919
|
+
|
|
920
|
+
<dl>
|
|
921
|
+
<dd>
|
|
922
|
+
|
|
923
|
+
```typescript
|
|
924
|
+
await client.assets.listActivity({
|
|
925
|
+
asset_id: "asset_id"
|
|
926
|
+
});
|
|
927
|
+
|
|
928
|
+
```
|
|
929
|
+
</dd>
|
|
930
|
+
</dl>
|
|
931
|
+
</dd>
|
|
932
|
+
</dl>
|
|
933
|
+
|
|
934
|
+
#### ⚙️ Parameters
|
|
935
|
+
|
|
936
|
+
<dl>
|
|
937
|
+
<dd>
|
|
938
|
+
|
|
939
|
+
<dl>
|
|
940
|
+
<dd>
|
|
941
|
+
|
|
942
|
+
**request:** `AthenaIntelligence.ListActivityAssetsRequest`
|
|
943
|
+
|
|
944
|
+
</dd>
|
|
945
|
+
</dl>
|
|
946
|
+
|
|
947
|
+
<dl>
|
|
948
|
+
<dd>
|
|
949
|
+
|
|
950
|
+
**requestOptions:** `AssetsClient.RequestOptions`
|
|
951
|
+
|
|
952
|
+
</dd>
|
|
953
|
+
</dl>
|
|
954
|
+
</dd>
|
|
955
|
+
</dl>
|
|
956
|
+
|
|
957
|
+
|
|
958
|
+
</dd>
|
|
959
|
+
</dl>
|
|
960
|
+
</details>
|
|
961
|
+
|
|
962
|
+
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">getActivityDelta</a>({ ...params }) -> AthenaIntelligence.AssetActivityDeltaResponseOut</code></summary>
|
|
963
|
+
<dl>
|
|
964
|
+
<dd>
|
|
965
|
+
|
|
966
|
+
#### 📝 Description
|
|
967
|
+
|
|
968
|
+
<dl>
|
|
969
|
+
<dd>
|
|
970
|
+
|
|
971
|
+
<dl>
|
|
972
|
+
<dd>
|
|
973
|
+
|
|
974
|
+
Admin only. Report what changed between two Keryx clocks — for spreadsheets, the per-cell before/after values; for documents, the inserted and deleted text; for presentations, the affected slides. Take the clocks from the activity endpoint. Computed by the same differ the in-app Activity pane renders, so the payload matches what a user sees. Always inspect delta.coverage: caps and non-decodable bulk regions are reported there rather than silently omitted.
|
|
975
|
+
</dd>
|
|
976
|
+
</dl>
|
|
977
|
+
</dd>
|
|
978
|
+
</dl>
|
|
979
|
+
|
|
980
|
+
#### 🔌 Usage
|
|
981
|
+
|
|
982
|
+
<dl>
|
|
983
|
+
<dd>
|
|
984
|
+
|
|
985
|
+
<dl>
|
|
986
|
+
<dd>
|
|
987
|
+
|
|
988
|
+
```typescript
|
|
989
|
+
await client.assets.getActivityDelta({
|
|
990
|
+
asset_id: "asset_id",
|
|
991
|
+
from: 1,
|
|
992
|
+
to: 1
|
|
993
|
+
});
|
|
994
|
+
|
|
995
|
+
```
|
|
996
|
+
</dd>
|
|
997
|
+
</dl>
|
|
998
|
+
</dd>
|
|
999
|
+
</dl>
|
|
1000
|
+
|
|
1001
|
+
#### ⚙️ Parameters
|
|
1002
|
+
|
|
1003
|
+
<dl>
|
|
1004
|
+
<dd>
|
|
1005
|
+
|
|
1006
|
+
<dl>
|
|
1007
|
+
<dd>
|
|
1008
|
+
|
|
1009
|
+
**request:** `AthenaIntelligence.GetActivityDeltaAssetsRequest`
|
|
1010
|
+
|
|
1011
|
+
</dd>
|
|
1012
|
+
</dl>
|
|
1013
|
+
|
|
1014
|
+
<dl>
|
|
1015
|
+
<dd>
|
|
1016
|
+
|
|
1017
|
+
**requestOptions:** `AssetsClient.RequestOptions`
|
|
1018
|
+
|
|
1019
|
+
</dd>
|
|
1020
|
+
</dl>
|
|
1021
|
+
</dd>
|
|
1022
|
+
</dl>
|
|
1023
|
+
|
|
1024
|
+
|
|
1025
|
+
</dd>
|
|
1026
|
+
</dl>
|
|
1027
|
+
</details>
|
|
1028
|
+
|
|
1029
|
+
<details><summary><code>client.assets.<a href="/src/api/resources/assets/client/Client.ts">getActivityDeltas</a>({ ...params }) -> AthenaIntelligence.AssetActivityDeltaResponseOut</code></summary>
|
|
1030
|
+
<dl>
|
|
1031
|
+
<dd>
|
|
1032
|
+
|
|
1033
|
+
#### 📝 Description
|
|
1034
|
+
|
|
1035
|
+
<dl>
|
|
1036
|
+
<dd>
|
|
1037
|
+
|
|
1038
|
+
<dl>
|
|
1039
|
+
<dd>
|
|
1040
|
+
|
|
1041
|
+
Admin only. Batch form of the activity-delta endpoint: diff several clock ranges in one request. Prefer this when walking a whole log — one call computes every range in a single pass over the document instead of one request each (up to 25 per call). Results come back in request order, and a range that could not be read carries its own `error` instead of failing the batch. Same payload and `coverage` semantics as the single-range endpoint.
|
|
1042
|
+
</dd>
|
|
1043
|
+
</dl>
|
|
1044
|
+
</dd>
|
|
1045
|
+
</dl>
|
|
1046
|
+
|
|
1047
|
+
#### 🔌 Usage
|
|
1048
|
+
|
|
1049
|
+
<dl>
|
|
1050
|
+
<dd>
|
|
1051
|
+
|
|
1052
|
+
<dl>
|
|
1053
|
+
<dd>
|
|
1054
|
+
|
|
1055
|
+
```typescript
|
|
1056
|
+
await client.assets.getActivityDeltas({
|
|
1057
|
+
asset_id: "asset_id",
|
|
1058
|
+
ranges: [{
|
|
1059
|
+
from: 1752694811020,
|
|
1060
|
+
to: 1752694813551
|
|
1061
|
+
}, {
|
|
1062
|
+
from: 1752691402184,
|
|
1063
|
+
to: 1752691409776
|
|
1064
|
+
}]
|
|
1065
|
+
});
|
|
1066
|
+
|
|
1067
|
+
```
|
|
1068
|
+
</dd>
|
|
1069
|
+
</dl>
|
|
1070
|
+
</dd>
|
|
1071
|
+
</dl>
|
|
1072
|
+
|
|
1073
|
+
#### ⚙️ Parameters
|
|
1074
|
+
|
|
1075
|
+
<dl>
|
|
1076
|
+
<dd>
|
|
1077
|
+
|
|
1078
|
+
<dl>
|
|
1079
|
+
<dd>
|
|
1080
|
+
|
|
1081
|
+
**request:** `AthenaIntelligence.AssetActivityDeltaBatchRequestIn`
|
|
1082
|
+
|
|
1083
|
+
</dd>
|
|
1084
|
+
</dl>
|
|
1085
|
+
|
|
1086
|
+
<dl>
|
|
1087
|
+
<dd>
|
|
1088
|
+
|
|
1089
|
+
**requestOptions:** `AssetsClient.RequestOptions`
|
|
1090
|
+
|
|
1091
|
+
</dd>
|
|
1092
|
+
</dl>
|
|
1093
|
+
</dd>
|
|
1094
|
+
</dl>
|
|
1095
|
+
|
|
1096
|
+
|
|
893
1097
|
</dd>
|
|
894
1098
|
</dl>
|
|
895
1099
|
</details>
|
|
@@ -1499,7 +1703,7 @@ await client.computer.revokeSshAccess({
|
|
|
1499
1703
|
</details>
|
|
1500
1704
|
|
|
1501
1705
|
## Databases
|
|
1502
|
-
<details><summary><code>client.databases.<a href="/src/api/resources/databases/client/Client.ts">getStatus</a>({ ...params }) -> AthenaIntelligence.
|
|
1706
|
+
<details><summary><code>client.databases.<a href="/src/api/resources/databases/client/Client.ts">getStatus</a>({ ...params }) -> AthenaIntelligence.DatabaseStatusResponse</code></summary>
|
|
1503
1707
|
<dl>
|
|
1504
1708
|
<dd>
|
|
1505
1709
|
|
|
@@ -3584,7 +3788,7 @@ await client.tools.rawData({
|
|
|
3584
3788
|
<dl>
|
|
3585
3789
|
<dd>
|
|
3586
3790
|
|
|
3587
|
-
Save a file as an asset in the
|
|
3791
|
+
Save a file as an asset in the target workspace.
|
|
3588
3792
|
</dd>
|
|
3589
3793
|
</dl>
|
|
3590
3794
|
</dd>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse = void 0;
|
|
5
|
-
var AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse;
|
|
6
|
-
(function (AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse) {
|
|
7
|
-
/** Standardized database status */
|
|
8
|
-
AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.Status = {
|
|
9
|
-
Running: "running",
|
|
10
|
-
Suspended: "suspended",
|
|
11
|
-
Starting: "starting",
|
|
12
|
-
Failed: "failed",
|
|
13
|
-
Unknown: "unknown",
|
|
14
|
-
};
|
|
15
|
-
})(AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse || (exports.AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse = AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse = {}));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export var AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse;
|
|
3
|
-
(function (AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse) {
|
|
4
|
-
/** Standardized database status */
|
|
5
|
-
AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.Status = {
|
|
6
|
-
Running: "running",
|
|
7
|
-
Suspended: "suspended",
|
|
8
|
-
Starting: "starting",
|
|
9
|
-
Failed: "failed",
|
|
10
|
-
Unknown: "unknown",
|
|
11
|
-
};
|
|
12
|
-
})(AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse || (AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse = {}));
|