@athenaintel/sdk 4.3.2019 → 4.3.2020
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/databases/client/Client.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/dist/cjs/api/types/index.js +1 -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/databases/client/Client.d.mts +1 -1
- 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/index.d.mts +1 -1
- package/dist/esm/api/types/index.mjs +1 -1
- 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/api/types/AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.js +0 -15
- package/dist/esm/api/types/AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.mjs +0 -12
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.2020",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2020",
|
|
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);
|
|
@@ -35,7 +35,7 @@ export declare class DatabasesClient {
|
|
|
35
35
|
* asset_id: "asset_id"
|
|
36
36
|
* })
|
|
37
37
|
*/
|
|
38
|
-
getStatus(request: AthenaIntelligence.GetStatusDatabasesRequest, requestOptions?: DatabasesClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.
|
|
38
|
+
getStatus(request: AthenaIntelligence.GetStatusDatabasesRequest, requestOptions?: DatabasesClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.DatabaseStatusResponse>;
|
|
39
39
|
private __getStatus;
|
|
40
40
|
/**
|
|
41
41
|
* Get a list of all tables in the database with optional row counts.
|
|
@@ -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,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DatabaseStatusResponse = void 0;
|
|
5
|
+
var DatabaseStatusResponse;
|
|
6
|
+
(function (DatabaseStatusResponse) {
|
|
7
|
+
/** Standardized database status */
|
|
8
|
+
DatabaseStatusResponse.Status = {
|
|
9
|
+
Running: "running",
|
|
10
|
+
Suspended: "suspended",
|
|
11
|
+
Starting: "starting",
|
|
12
|
+
Failed: "failed",
|
|
13
|
+
Unknown: "unknown",
|
|
14
|
+
};
|
|
15
|
+
})(DatabaseStatusResponse || (exports.DatabaseStatusResponse = DatabaseStatusResponse = {}));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.js";
|
|
2
1
|
export * from "./AopAsyncExecuteResponseOut.js";
|
|
3
2
|
export * from "./AopConfigResponseOut.js";
|
|
4
3
|
export * from "./AopConfigUpdateResponseOut.js";
|
|
@@ -36,6 +35,7 @@ export * from "./DatabaseColumnInfo.js";
|
|
|
36
35
|
export * from "./DatabaseDataResponse.js";
|
|
37
36
|
export * from "./DatabaseMutationResponse.js";
|
|
38
37
|
export * from "./DatabaseSqlResponse.js";
|
|
38
|
+
export * from "./DatabaseStatusResponse.js";
|
|
39
39
|
export * from "./DatabaseTableInfo.js";
|
|
40
40
|
export * from "./DatabaseTableSchemaResponse.js";
|
|
41
41
|
export * from "./DatabaseTablesResponse.js";
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.js"), exports);
|
|
18
17
|
__exportStar(require("./AopAsyncExecuteResponseOut.js"), exports);
|
|
19
18
|
__exportStar(require("./AopConfigResponseOut.js"), exports);
|
|
20
19
|
__exportStar(require("./AopConfigUpdateResponseOut.js"), exports);
|
|
@@ -52,6 +51,7 @@ __exportStar(require("./DatabaseColumnInfo.js"), exports);
|
|
|
52
51
|
__exportStar(require("./DatabaseDataResponse.js"), exports);
|
|
53
52
|
__exportStar(require("./DatabaseMutationResponse.js"), exports);
|
|
54
53
|
__exportStar(require("./DatabaseSqlResponse.js"), exports);
|
|
54
|
+
__exportStar(require("./DatabaseStatusResponse.js"), exports);
|
|
55
55
|
__exportStar(require("./DatabaseTableInfo.js"), exports);
|
|
56
56
|
__exportStar(require("./DatabaseTableSchemaResponse.js"), exports);
|
|
57
57
|
__exportStar(require("./DatabaseTablesResponse.js"), exports);
|
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.2020";
|
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.2020",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2020",
|
|
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);
|
|
@@ -35,7 +35,7 @@ export declare class DatabasesClient {
|
|
|
35
35
|
* asset_id: "asset_id"
|
|
36
36
|
* })
|
|
37
37
|
*/
|
|
38
|
-
getStatus(request: AthenaIntelligence.GetStatusDatabasesRequest, requestOptions?: DatabasesClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.
|
|
38
|
+
getStatus(request: AthenaIntelligence.GetStatusDatabasesRequest, requestOptions?: DatabasesClient.RequestOptions): core.HttpResponsePromise<AthenaIntelligence.DatabaseStatusResponse>;
|
|
39
39
|
private __getStatus;
|
|
40
40
|
/**
|
|
41
41
|
* Get a list of all tables in the database with optional row counts.
|
|
@@ -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 = {}));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.mjs";
|
|
2
1
|
export * from "./AopAsyncExecuteResponseOut.mjs";
|
|
3
2
|
export * from "./AopConfigResponseOut.mjs";
|
|
4
3
|
export * from "./AopConfigUpdateResponseOut.mjs";
|
|
@@ -36,6 +35,7 @@ export * from "./DatabaseColumnInfo.mjs";
|
|
|
36
35
|
export * from "./DatabaseDataResponse.mjs";
|
|
37
36
|
export * from "./DatabaseMutationResponse.mjs";
|
|
38
37
|
export * from "./DatabaseSqlResponse.mjs";
|
|
38
|
+
export * from "./DatabaseStatusResponse.mjs";
|
|
39
39
|
export * from "./DatabaseTableInfo.mjs";
|
|
40
40
|
export * from "./DatabaseTableSchemaResponse.mjs";
|
|
41
41
|
export * from "./DatabaseTablesResponse.mjs";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./AgoraWebApiPublicV0ModelsDatabaseDataDatabaseStatusResponse.mjs";
|
|
2
1
|
export * from "./AopAsyncExecuteResponseOut.mjs";
|
|
3
2
|
export * from "./AopConfigResponseOut.mjs";
|
|
4
3
|
export * from "./AopConfigUpdateResponseOut.mjs";
|
|
@@ -36,6 +35,7 @@ export * from "./DatabaseColumnInfo.mjs";
|
|
|
36
35
|
export * from "./DatabaseDataResponse.mjs";
|
|
37
36
|
export * from "./DatabaseMutationResponse.mjs";
|
|
38
37
|
export * from "./DatabaseSqlResponse.mjs";
|
|
38
|
+
export * from "./DatabaseStatusResponse.mjs";
|
|
39
39
|
export * from "./DatabaseTableInfo.mjs";
|
|
40
40
|
export * from "./DatabaseTableSchemaResponse.mjs";
|
|
41
41
|
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.2020";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2020";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1364,7 +1364,7 @@ await client.computer.revokeSshAccess({
|
|
|
1364
1364
|
</details>
|
|
1365
1365
|
|
|
1366
1366
|
## Databases
|
|
1367
|
-
<details><summary><code>client.databases.<a href="/src/api/resources/databases/client/Client.ts">getStatus</a>({ ...params }) -> AthenaIntelligence.
|
|
1367
|
+
<details><summary><code>client.databases.<a href="/src/api/resources/databases/client/Client.ts">getStatus</a>({ ...params }) -> AthenaIntelligence.DatabaseStatusResponse</code></summary>
|
|
1368
1368
|
<dl>
|
|
1369
1369
|
<dd>
|
|
1370
1370
|
|
|
@@ -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 = {}));
|