@athenaintel/sdk 4.3.2010 → 4.3.2012
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/errors/TooManyRequestsError.d.ts +5 -0
- package/dist/cjs/api/errors/TooManyRequestsError.js +50 -0
- package/dist/cjs/api/errors/index.d.ts +1 -0
- package/dist/cjs/api/errors/index.js +1 -0
- package/dist/cjs/api/resources/assets/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/assets/client/Client.js +3 -0
- 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/errors/TooManyRequestsError.d.mts +5 -0
- package/dist/esm/api/errors/TooManyRequestsError.mjs +13 -0
- package/dist/esm/api/errors/index.d.mts +1 -0
- package/dist/esm/api/errors/index.mjs +1 -0
- package/dist/esm/api/resources/assets/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/assets/client/Client.mjs +3 -0
- 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.2012",
|
|
47
|
+
"User-Agent": "@athenaintel/sdk/4.3.2012",
|
|
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);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TooManyRequestsError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../errors/index.js"));
|
|
39
|
+
class TooManyRequestsError extends errors.AthenaIntelligenceError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "TooManyRequestsError",
|
|
43
|
+
statusCode: 429,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.TooManyRequestsError = TooManyRequestsError;
|
|
@@ -7,6 +7,7 @@ export * from "./InternalServerError.js";
|
|
|
7
7
|
export * from "./NotFoundError.js";
|
|
8
8
|
export * from "./NotImplementedError.js";
|
|
9
9
|
export * from "./ServiceUnavailableError.js";
|
|
10
|
+
export * from "./TooManyRequestsError.js";
|
|
10
11
|
export * from "./UnauthorizedError.js";
|
|
11
12
|
export * from "./UnprocessableEntityError.js";
|
|
12
13
|
export * from "./UnsupportedMediaTypeError.js";
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./InternalServerError.js"), exports);
|
|
|
23
23
|
__exportStar(require("./NotFoundError.js"), exports);
|
|
24
24
|
__exportStar(require("./NotImplementedError.js"), exports);
|
|
25
25
|
__exportStar(require("./ServiceUnavailableError.js"), exports);
|
|
26
|
+
__exportStar(require("./TooManyRequestsError.js"), exports);
|
|
26
27
|
__exportStar(require("./UnauthorizedError.js"), exports);
|
|
27
28
|
__exportStar(require("./UnprocessableEntityError.js"), exports);
|
|
28
29
|
__exportStar(require("./UnsupportedMediaTypeError.js"), exports);
|
|
@@ -73,6 +73,7 @@ export declare class AssetsClient {
|
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
75
75
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
76
|
+
* @throws {@link AthenaIntelligence.TooManyRequestsError}
|
|
76
77
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
77
78
|
*
|
|
78
79
|
* @example
|
|
@@ -337,6 +337,7 @@ class AssetsClient {
|
|
|
337
337
|
*
|
|
338
338
|
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
339
339
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
340
|
+
* @throws {@link AthenaIntelligence.TooManyRequestsError}
|
|
340
341
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
341
342
|
*
|
|
342
343
|
* @example
|
|
@@ -389,6 +390,8 @@ class AssetsClient {
|
|
|
389
390
|
throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
|
|
390
391
|
case 422:
|
|
391
392
|
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
393
|
+
case 429:
|
|
394
|
+
throw new AthenaIntelligence.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
392
395
|
case 500:
|
|
393
396
|
throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
|
|
394
397
|
default:
|
|
@@ -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.2012";
|
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.2012",
|
|
10
|
+
"User-Agent": "@athenaintel/sdk/4.3.2012",
|
|
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);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
import * as errors from "../../errors/index.mjs";
|
|
3
|
+
export class TooManyRequestsError extends errors.AthenaIntelligenceError {
|
|
4
|
+
constructor(body, rawResponse) {
|
|
5
|
+
super({
|
|
6
|
+
message: "TooManyRequestsError",
|
|
7
|
+
statusCode: 429,
|
|
8
|
+
body: body,
|
|
9
|
+
rawResponse: rawResponse,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, TooManyRequestsError.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./InternalServerError.mjs";
|
|
|
7
7
|
export * from "./NotFoundError.mjs";
|
|
8
8
|
export * from "./NotImplementedError.mjs";
|
|
9
9
|
export * from "./ServiceUnavailableError.mjs";
|
|
10
|
+
export * from "./TooManyRequestsError.mjs";
|
|
10
11
|
export * from "./UnauthorizedError.mjs";
|
|
11
12
|
export * from "./UnprocessableEntityError.mjs";
|
|
12
13
|
export * from "./UnsupportedMediaTypeError.mjs";
|
|
@@ -7,6 +7,7 @@ export * from "./InternalServerError.mjs";
|
|
|
7
7
|
export * from "./NotFoundError.mjs";
|
|
8
8
|
export * from "./NotImplementedError.mjs";
|
|
9
9
|
export * from "./ServiceUnavailableError.mjs";
|
|
10
|
+
export * from "./TooManyRequestsError.mjs";
|
|
10
11
|
export * from "./UnauthorizedError.mjs";
|
|
11
12
|
export * from "./UnprocessableEntityError.mjs";
|
|
12
13
|
export * from "./UnsupportedMediaTypeError.mjs";
|
|
@@ -73,6 +73,7 @@ export declare class AssetsClient {
|
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
75
75
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
76
|
+
* @throws {@link AthenaIntelligence.TooManyRequestsError}
|
|
76
77
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
77
78
|
*
|
|
78
79
|
* @example
|
|
@@ -301,6 +301,7 @@ export class AssetsClient {
|
|
|
301
301
|
*
|
|
302
302
|
* @throws {@link AthenaIntelligence.BadRequestError}
|
|
303
303
|
* @throws {@link AthenaIntelligence.UnprocessableEntityError}
|
|
304
|
+
* @throws {@link AthenaIntelligence.TooManyRequestsError}
|
|
304
305
|
* @throws {@link AthenaIntelligence.InternalServerError}
|
|
305
306
|
*
|
|
306
307
|
* @example
|
|
@@ -353,6 +354,8 @@ export class AssetsClient {
|
|
|
353
354
|
throw new AthenaIntelligence.BadRequestError(_response.error.body, _response.rawResponse);
|
|
354
355
|
case 422:
|
|
355
356
|
throw new AthenaIntelligence.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
357
|
+
case 429:
|
|
358
|
+
throw new AthenaIntelligence.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
356
359
|
case 500:
|
|
357
360
|
throw new AthenaIntelligence.InternalServerError(_response.error.body, _response.rawResponse);
|
|
358
361
|
default:
|
|
@@ -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.2012";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "4.3.
|
|
1
|
+
export const SDK_VERSION = "4.3.2012";
|
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 = {}));
|