latitudesh-typescript-sdk 0.8.19 → 0.8.21
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/README.md +6 -1
- package/bin/mcp-server.js +1359 -1245
- package/bin/mcp-server.js.map +34 -31
- package/dist/commonjs/funcs/blockStoragePostStorageVolumesMap.js +1 -1
- package/dist/commonjs/funcs/managedDatabasesShowManagedDatabaseMetrics.d.ts +14 -0
- package/dist/commonjs/funcs/managedDatabasesShowManagedDatabaseMetrics.d.ts.map +1 -0
- package/dist/commonjs/funcs/managedDatabasesShowManagedDatabaseMetrics.js +119 -0
- package/dist/commonjs/funcs/managedDatabasesShowManagedDatabaseMetrics.js.map +1 -0
- package/dist/commonjs/funcs/marketplaceAppsGetMarketplaceApp.d.ts +1 -1
- package/dist/commonjs/funcs/marketplaceAppsGetMarketplaceApp.js +1 -1
- package/dist/commonjs/funcs/marketplaceAppsListMarketplaceApps.d.ts +1 -1
- package/dist/commonjs/funcs/marketplaceAppsListMarketplaceApps.js +1 -1
- package/dist/commonjs/funcs/privateNetworksAssign.d.ts +2 -1
- package/dist/commonjs/funcs/privateNetworksAssign.d.ts.map +1 -1
- package/dist/commonjs/funcs/privateNetworksAssign.js +7 -1
- package/dist/commonjs/funcs/privateNetworksAssign.js.map +1 -1
- package/dist/commonjs/funcs/privateNetworksDeleteAssignment.d.ts +2 -1
- package/dist/commonjs/funcs/privateNetworksDeleteAssignment.d.ts.map +1 -1
- package/dist/commonjs/funcs/privateNetworksDeleteAssignment.js +8 -2
- package/dist/commonjs/funcs/privateNetworksDeleteAssignment.js.map +1 -1
- package/dist/commonjs/funcs/publicNetworksCreatePublicNetwork.d.ts +2 -0
- package/dist/commonjs/funcs/publicNetworksCreatePublicNetwork.d.ts.map +1 -1
- package/dist/commonjs/funcs/publicNetworksCreatePublicNetwork.js +2 -0
- package/dist/commonjs/funcs/publicNetworksCreatePublicNetwork.js.map +1 -1
- package/dist/commonjs/funcs/publicNetworksDestroyPublicNetwork.d.ts +2 -0
- package/dist/commonjs/funcs/publicNetworksDestroyPublicNetwork.d.ts.map +1 -1
- package/dist/commonjs/funcs/publicNetworksDestroyPublicNetwork.js +2 -0
- package/dist/commonjs/funcs/publicNetworksDestroyPublicNetwork.js.map +1 -1
- package/dist/commonjs/funcs/publicNetworksGetPublicNetworks.d.ts +2 -0
- package/dist/commonjs/funcs/publicNetworksGetPublicNetworks.d.ts.map +1 -1
- package/dist/commonjs/funcs/publicNetworksGetPublicNetworks.js +2 -0
- package/dist/commonjs/funcs/publicNetworksGetPublicNetworks.js.map +1 -1
- package/dist/commonjs/funcs/serversList.js +1 -0
- package/dist/commonjs/funcs/serversList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.js +62 -0
- package/dist/commonjs/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/marketplaceAppsGetMarketplaceApp.js +1 -1
- package/dist/commonjs/mcp-server/tools/marketplaceAppsGetMarketplaceApp.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/marketplaceAppsListMarketplaceApps.js +1 -1
- package/dist/commonjs/mcp-server/tools/marketplaceAppsListMarketplaceApps.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/publicNetworksCreatePublicNetwork.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/publicNetworksCreatePublicNetwork.js +2 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksCreatePublicNetwork.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/publicNetworksDestroyPublicNetwork.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/publicNetworksDestroyPublicNetwork.js +2 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksDestroyPublicNetwork.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetworks.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetworks.js +2 -0
- package/dist/commonjs/mcp-server/tools/publicNetworksGetPublicNetworks.js.map +1 -1
- package/dist/commonjs/models/bandwidthplandata.d.ts +16 -16
- package/dist/commonjs/models/bandwidthplandata.d.ts.map +1 -1
- package/dist/commonjs/models/bandwidthplandata.js +25 -21
- package/dist/commonjs/models/bandwidthplandata.js.map +1 -1
- package/dist/commonjs/models/objectstoragedata.d.ts +1 -1
- package/dist/commonjs/models/operations/getservers.d.ts +5 -0
- package/dist/commonjs/models/operations/getservers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getservers.js +4 -0
- package/dist/commonjs/models/operations/getservers.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/poststoragevolumesmap.d.ts +1 -1
- package/dist/commonjs/models/operations/showmanageddatabasemetrics.d.ts +86 -0
- package/dist/commonjs/models/operations/showmanageddatabasemetrics.d.ts.map +1 -0
- package/dist/commonjs/models/operations/showmanageddatabasemetrics.js +130 -0
- package/dist/commonjs/models/operations/showmanageddatabasemetrics.js.map +1 -0
- package/dist/commonjs/models/plandata.d.ts +12 -37
- package/dist/commonjs/models/plandata.d.ts.map +1 -1
- package/dist/commonjs/models/plandata.js +5 -53
- package/dist/commonjs/models/plandata.js.map +1 -1
- package/dist/commonjs/models/serverdata.d.ts +10 -0
- package/dist/commonjs/models/serverdata.d.ts.map +1 -1
- package/dist/commonjs/models/serverdata.js +8 -0
- package/dist/commonjs/models/serverdata.js.map +1 -1
- package/dist/commonjs/models/storageplandata.d.ts +11 -32
- package/dist/commonjs/models/storageplandata.d.ts.map +1 -1
- package/dist/commonjs/models/storageplandata.js +7 -49
- package/dist/commonjs/models/storageplandata.js.map +1 -1
- package/dist/commonjs/models/storageusage.d.ts +10 -4
- package/dist/commonjs/models/storageusage.d.ts.map +1 -1
- package/dist/commonjs/models/storageusage.js +4 -4
- package/dist/commonjs/models/storageusage.js.map +1 -1
- package/dist/commonjs/models/virtualmachineplans.d.ts +12 -37
- package/dist/commonjs/models/virtualmachineplans.d.ts.map +1 -1
- package/dist/commonjs/models/virtualmachineplans.js +7 -53
- package/dist/commonjs/models/virtualmachineplans.js.map +1 -1
- package/dist/commonjs/models/virtualnetworkdata.d.ts +5 -0
- package/dist/commonjs/models/virtualnetworkdata.d.ts.map +1 -1
- package/dist/commonjs/models/virtualnetworkdata.js +2 -0
- package/dist/commonjs/models/virtualnetworkdata.js.map +1 -1
- package/dist/commonjs/sdk/manageddatabases.d.ts +9 -0
- package/dist/commonjs/sdk/manageddatabases.d.ts.map +1 -0
- package/dist/commonjs/sdk/manageddatabases.js +19 -0
- package/dist/commonjs/sdk/manageddatabases.js.map +1 -0
- package/dist/commonjs/sdk/marketplaceapps.d.ts +2 -2
- package/dist/commonjs/sdk/marketplaceapps.js +2 -2
- package/dist/commonjs/sdk/publicnetworks.d.ts +6 -0
- package/dist/commonjs/sdk/publicnetworks.d.ts.map +1 -1
- package/dist/commonjs/sdk/publicnetworks.js +6 -0
- package/dist/commonjs/sdk/publicnetworks.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/esm/funcs/blockStoragePostStorageVolumesMap.js +1 -1
- package/dist/esm/funcs/managedDatabasesShowManagedDatabaseMetrics.d.ts +14 -0
- package/dist/esm/funcs/managedDatabasesShowManagedDatabaseMetrics.d.ts.map +1 -0
- package/dist/esm/funcs/managedDatabasesShowManagedDatabaseMetrics.js +83 -0
- package/dist/esm/funcs/managedDatabasesShowManagedDatabaseMetrics.js.map +1 -0
- package/dist/esm/funcs/marketplaceAppsGetMarketplaceApp.d.ts +1 -1
- package/dist/esm/funcs/marketplaceAppsGetMarketplaceApp.js +1 -1
- package/dist/esm/funcs/marketplaceAppsListMarketplaceApps.d.ts +1 -1
- package/dist/esm/funcs/marketplaceAppsListMarketplaceApps.js +1 -1
- package/dist/esm/funcs/privateNetworksAssign.d.ts +2 -1
- package/dist/esm/funcs/privateNetworksAssign.d.ts.map +1 -1
- package/dist/esm/funcs/privateNetworksAssign.js +7 -1
- package/dist/esm/funcs/privateNetworksAssign.js.map +1 -1
- package/dist/esm/funcs/privateNetworksDeleteAssignment.d.ts +2 -1
- package/dist/esm/funcs/privateNetworksDeleteAssignment.d.ts.map +1 -1
- package/dist/esm/funcs/privateNetworksDeleteAssignment.js +8 -2
- package/dist/esm/funcs/privateNetworksDeleteAssignment.js.map +1 -1
- package/dist/esm/funcs/publicNetworksCreatePublicNetwork.d.ts +2 -0
- package/dist/esm/funcs/publicNetworksCreatePublicNetwork.d.ts.map +1 -1
- package/dist/esm/funcs/publicNetworksCreatePublicNetwork.js +2 -0
- package/dist/esm/funcs/publicNetworksCreatePublicNetwork.js.map +1 -1
- package/dist/esm/funcs/publicNetworksDestroyPublicNetwork.d.ts +2 -0
- package/dist/esm/funcs/publicNetworksDestroyPublicNetwork.d.ts.map +1 -1
- package/dist/esm/funcs/publicNetworksDestroyPublicNetwork.js +2 -0
- package/dist/esm/funcs/publicNetworksDestroyPublicNetwork.js.map +1 -1
- package/dist/esm/funcs/publicNetworksGetPublicNetworks.d.ts +2 -0
- package/dist/esm/funcs/publicNetworksGetPublicNetworks.d.ts.map +1 -1
- package/dist/esm/funcs/publicNetworksGetPublicNetworks.js +2 -0
- package/dist/esm/funcs/publicNetworksGetPublicNetworks.js.map +1 -1
- package/dist/esm/funcs/serversList.js +1 -0
- package/dist/esm/funcs/serversList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.d.ts +8 -0
- package/dist/esm/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.js +26 -0
- package/dist/esm/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.js.map +1 -0
- package/dist/esm/mcp-server/tools/marketplaceAppsGetMarketplaceApp.js +1 -1
- package/dist/esm/mcp-server/tools/marketplaceAppsGetMarketplaceApp.js.map +1 -1
- package/dist/esm/mcp-server/tools/marketplaceAppsListMarketplaceApps.js +1 -1
- package/dist/esm/mcp-server/tools/marketplaceAppsListMarketplaceApps.js.map +1 -1
- package/dist/esm/mcp-server/tools/publicNetworksCreatePublicNetwork.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/publicNetworksCreatePublicNetwork.js +2 -0
- package/dist/esm/mcp-server/tools/publicNetworksCreatePublicNetwork.js.map +1 -1
- package/dist/esm/mcp-server/tools/publicNetworksDestroyPublicNetwork.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/publicNetworksDestroyPublicNetwork.js +2 -0
- package/dist/esm/mcp-server/tools/publicNetworksDestroyPublicNetwork.js.map +1 -1
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetworks.d.ts.map +1 -1
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetworks.js +2 -0
- package/dist/esm/mcp-server/tools/publicNetworksGetPublicNetworks.js.map +1 -1
- package/dist/esm/models/bandwidthplandata.d.ts +16 -16
- package/dist/esm/models/bandwidthplandata.d.ts.map +1 -1
- package/dist/esm/models/bandwidthplandata.js +20 -16
- package/dist/esm/models/bandwidthplandata.js.map +1 -1
- package/dist/esm/models/objectstoragedata.d.ts +1 -1
- package/dist/esm/models/operations/getservers.d.ts +5 -0
- package/dist/esm/models/operations/getservers.d.ts.map +1 -1
- package/dist/esm/models/operations/getservers.js +4 -0
- package/dist/esm/models/operations/getservers.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/poststoragevolumesmap.d.ts +1 -1
- package/dist/esm/models/operations/showmanageddatabasemetrics.d.ts +86 -0
- package/dist/esm/models/operations/showmanageddatabasemetrics.d.ts.map +1 -0
- package/dist/esm/models/operations/showmanageddatabasemetrics.js +86 -0
- package/dist/esm/models/operations/showmanageddatabasemetrics.js.map +1 -0
- package/dist/esm/models/plandata.d.ts +12 -37
- package/dist/esm/models/plandata.d.ts.map +1 -1
- package/dist/esm/models/plandata.js +4 -48
- package/dist/esm/models/plandata.js.map +1 -1
- package/dist/esm/models/serverdata.d.ts +10 -0
- package/dist/esm/models/serverdata.d.ts.map +1 -1
- package/dist/esm/models/serverdata.js +8 -0
- package/dist/esm/models/serverdata.js.map +1 -1
- package/dist/esm/models/storageplandata.d.ts +11 -32
- package/dist/esm/models/storageplandata.d.ts.map +1 -1
- package/dist/esm/models/storageplandata.js +6 -44
- package/dist/esm/models/storageplandata.js.map +1 -1
- package/dist/esm/models/storageusage.d.ts +10 -4
- package/dist/esm/models/storageusage.d.ts.map +1 -1
- package/dist/esm/models/storageusage.js +4 -4
- package/dist/esm/models/storageusage.js.map +1 -1
- package/dist/esm/models/virtualmachineplans.d.ts +12 -37
- package/dist/esm/models/virtualmachineplans.d.ts.map +1 -1
- package/dist/esm/models/virtualmachineplans.js +6 -48
- package/dist/esm/models/virtualmachineplans.js.map +1 -1
- package/dist/esm/models/virtualnetworkdata.d.ts +5 -0
- package/dist/esm/models/virtualnetworkdata.d.ts.map +1 -1
- package/dist/esm/models/virtualnetworkdata.js +2 -0
- package/dist/esm/models/virtualnetworkdata.js.map +1 -1
- package/dist/esm/sdk/manageddatabases.d.ts +9 -0
- package/dist/esm/sdk/manageddatabases.d.ts.map +1 -0
- package/dist/esm/sdk/manageddatabases.js +15 -0
- package/dist/esm/sdk/manageddatabases.js.map +1 -0
- package/dist/esm/sdk/marketplaceapps.d.ts +2 -2
- package/dist/esm/sdk/marketplaceapps.js +2 -2
- package/dist/esm/sdk/publicnetworks.d.ts +6 -0
- package/dist/esm/sdk/publicnetworks.d.ts.map +1 -1
- package/dist/esm/sdk/publicnetworks.js +6 -0
- package/dist/esm/sdk/publicnetworks.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/blockStoragePostStorageVolumesMap.ts +1 -1
- package/src/funcs/managedDatabasesShowManagedDatabaseMetrics.ts +174 -0
- package/src/funcs/marketplaceAppsGetMarketplaceApp.ts +1 -1
- package/src/funcs/marketplaceAppsListMarketplaceApps.ts +1 -1
- package/src/funcs/privateNetworksAssign.ts +12 -1
- package/src/funcs/privateNetworksDeleteAssignment.ts +13 -2
- package/src/funcs/publicNetworksCreatePublicNetwork.ts +2 -0
- package/src/funcs/publicNetworksDestroyPublicNetwork.ts +2 -0
- package/src/funcs/publicNetworksGetPublicNetworks.ts +2 -0
- package/src/funcs/serversList.ts +1 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/managedDatabasesShowManagedDatabaseMetrics.ts +37 -0
- package/src/mcp-server/tools/marketplaceAppsGetMarketplaceApp.ts +1 -1
- package/src/mcp-server/tools/marketplaceAppsListMarketplaceApps.ts +1 -1
- package/src/mcp-server/tools/publicNetworksCreatePublicNetwork.ts +2 -0
- package/src/mcp-server/tools/publicNetworksDestroyPublicNetwork.ts +2 -0
- package/src/mcp-server/tools/publicNetworksGetPublicNetworks.ts +2 -0
- package/src/models/bandwidthplandata.ts +48 -68
- package/src/models/objectstoragedata.ts +1 -1
- package/src/models/operations/getservers.ts +9 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/poststoragevolumesmap.ts +1 -1
- package/src/models/operations/showmanageddatabasemetrics.ts +222 -0
- package/src/models/plandata.ts +14 -111
- package/src/models/serverdata.ts +18 -0
- package/src/models/storageplandata.ts +13 -108
- package/src/models/storageusage.ts +14 -8
- package/src/models/virtualmachineplans.ts +16 -119
- package/src/models/virtualnetworkdata.ts +7 -0
- package/src/sdk/manageddatabases.ts +24 -0
- package/src/sdk/marketplaceapps.ts +2 -2
- package/src/sdk/publicnetworks.ts +6 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
RequestTimeoutError,
|
|
19
19
|
UnexpectedClientError,
|
|
20
20
|
} from "../models/errors/httpclienterrors.js";
|
|
21
|
+
import * as errors from "../models/errors/index.js";
|
|
21
22
|
import { LatitudeshError } from "../models/errors/latitudesherror.js";
|
|
22
23
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
23
24
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
@@ -36,6 +37,7 @@ export function privateNetworksAssign(
|
|
|
36
37
|
): APIPromise<
|
|
37
38
|
Result<
|
|
38
39
|
models.VirtualNetworkAssignment,
|
|
40
|
+
| errors.ErrorObject
|
|
39
41
|
| LatitudeshError
|
|
40
42
|
| ResponseValidationError
|
|
41
43
|
| ConnectionError
|
|
@@ -61,6 +63,7 @@ async function $do(
|
|
|
61
63
|
[
|
|
62
64
|
Result<
|
|
63
65
|
models.VirtualNetworkAssignment,
|
|
66
|
+
| errors.ErrorObject
|
|
64
67
|
| LatitudeshError
|
|
65
68
|
| ResponseValidationError
|
|
66
69
|
| ConnectionError
|
|
@@ -138,8 +141,13 @@ async function $do(
|
|
|
138
141
|
}
|
|
139
142
|
const response = doResult.value;
|
|
140
143
|
|
|
144
|
+
const responseFields = {
|
|
145
|
+
HttpMeta: { Response: response, Request: req },
|
|
146
|
+
};
|
|
147
|
+
|
|
141
148
|
const [result] = await M.match<
|
|
142
149
|
models.VirtualNetworkAssignment,
|
|
150
|
+
| errors.ErrorObject
|
|
143
151
|
| LatitudeshError
|
|
144
152
|
| ResponseValidationError
|
|
145
153
|
| ConnectionError
|
|
@@ -152,9 +160,12 @@ async function $do(
|
|
|
152
160
|
M.json(201, models.VirtualNetworkAssignment$inboundSchema, {
|
|
153
161
|
ctype: "application/vnd.api+json",
|
|
154
162
|
}),
|
|
163
|
+
M.jsonErr(422, errors.ErrorObject$inboundSchema, {
|
|
164
|
+
ctype: "application/vnd.api+json",
|
|
165
|
+
}),
|
|
155
166
|
M.fail("4XX"),
|
|
156
167
|
M.fail("5XX"),
|
|
157
|
-
)(response, req);
|
|
168
|
+
)(response, req, { extraFields: responseFields });
|
|
158
169
|
if (!result.ok) {
|
|
159
170
|
return [result, { status: "complete", request: req, response }];
|
|
160
171
|
}
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
RequestTimeoutError,
|
|
20
20
|
UnexpectedClientError,
|
|
21
21
|
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import * as errors from "../models/errors/index.js";
|
|
22
23
|
import { LatitudeshError } from "../models/errors/latitudesherror.js";
|
|
23
24
|
import { ResponseValidationError } from "../models/errors/responsevalidationerror.js";
|
|
24
25
|
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
@@ -39,6 +40,7 @@ export function privateNetworksDeleteAssignment(
|
|
|
39
40
|
): APIPromise<
|
|
40
41
|
Result<
|
|
41
42
|
void,
|
|
43
|
+
| errors.ErrorObject
|
|
42
44
|
| LatitudeshError
|
|
43
45
|
| ResponseValidationError
|
|
44
46
|
| ConnectionError
|
|
@@ -64,6 +66,7 @@ async function $do(
|
|
|
64
66
|
[
|
|
65
67
|
Result<
|
|
66
68
|
void,
|
|
69
|
+
| errors.ErrorObject
|
|
67
70
|
| LatitudeshError
|
|
68
71
|
| ResponseValidationError
|
|
69
72
|
| ConnectionError
|
|
@@ -101,7 +104,7 @@ async function $do(
|
|
|
101
104
|
);
|
|
102
105
|
|
|
103
106
|
const headers = new Headers(compactMap({
|
|
104
|
-
Accept: "
|
|
107
|
+
Accept: "application/vnd.api+json",
|
|
105
108
|
}));
|
|
106
109
|
|
|
107
110
|
const secConfig = await extractSecurity(client._options.bearer);
|
|
@@ -150,8 +153,13 @@ async function $do(
|
|
|
150
153
|
}
|
|
151
154
|
const response = doResult.value;
|
|
152
155
|
|
|
156
|
+
const responseFields = {
|
|
157
|
+
HttpMeta: { Response: response, Request: req },
|
|
158
|
+
};
|
|
159
|
+
|
|
153
160
|
const [result] = await M.match<
|
|
154
161
|
void,
|
|
162
|
+
| errors.ErrorObject
|
|
155
163
|
| LatitudeshError
|
|
156
164
|
| ResponseValidationError
|
|
157
165
|
| ConnectionError
|
|
@@ -162,9 +170,12 @@ async function $do(
|
|
|
162
170
|
| SDKValidationError
|
|
163
171
|
>(
|
|
164
172
|
M.nil(204, z.void()),
|
|
173
|
+
M.jsonErr(422, errors.ErrorObject$inboundSchema, {
|
|
174
|
+
ctype: "application/vnd.api+json",
|
|
175
|
+
}),
|
|
165
176
|
M.fail("4XX"),
|
|
166
177
|
M.fail("5XX"),
|
|
167
|
-
)(response, req);
|
|
178
|
+
)(response, req, { extraFields: responseFields });
|
|
168
179
|
if (!result.ok) {
|
|
169
180
|
return [result, { status: "complete", request: req, response }];
|
|
170
181
|
}
|
|
@@ -30,6 +30,8 @@ import { Result } from "../types/fp.js";
|
|
|
30
30
|
* Create a network
|
|
31
31
|
*
|
|
32
32
|
* @remarks
|
|
33
|
+
* **Preview.** Available at locations where the `public_network` feature is enabled.
|
|
34
|
+
*
|
|
33
35
|
* Provision a customer network: an IPv4 block of the chosen size plus a paired IPv6 /64. The network is allocated synchronously and returned in the response; billing is settled in the background.
|
|
34
36
|
*/
|
|
35
37
|
export function publicNetworksCreatePublicNetwork(
|
|
@@ -31,6 +31,8 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* Delete a network
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
+
* **Preview.** Available at locations where the `public_network` feature is enabled.
|
|
35
|
+
*
|
|
34
36
|
* Delete a customer network. Only allowed while the network has no IPs in use.
|
|
35
37
|
*/
|
|
36
38
|
export function publicNetworksDestroyPublicNetwork(
|
|
@@ -31,6 +31,8 @@ import { Result } from "../types/fp.js";
|
|
|
31
31
|
* List networks
|
|
32
32
|
*
|
|
33
33
|
* @remarks
|
|
34
|
+
* **Preview.** Available at locations where the `public_network` feature is enabled.
|
|
35
|
+
*
|
|
34
36
|
* List the customer networks owned by the team
|
|
35
37
|
*/
|
|
36
38
|
export function publicNetworksGetPublicNetworks(
|
package/src/funcs/serversList.ts
CHANGED
|
@@ -103,6 +103,7 @@ async function $do(
|
|
|
103
103
|
|
|
104
104
|
const query = encodeFormQuery({
|
|
105
105
|
"extra_fields[servers]": payload?.["extra_fields[servers]"],
|
|
106
|
+
"filter[bgp_eligible]": payload?.["filter[bgp_eligible]"],
|
|
106
107
|
"filter[created_at_gte]": payload?.["filter[created_at_gte]"],
|
|
107
108
|
"filter[created_at_lte]": payload?.["filter[created_at_lte]"],
|
|
108
109
|
"filter[disk][eql]": payload?.["filter[disk][eql]"],
|
package/src/lib/config.ts
CHANGED
|
@@ -74,8 +74,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
74
74
|
export const SDK_METADATA = {
|
|
75
75
|
language: "typescript",
|
|
76
76
|
openapiDocVersion: "2023-06-01",
|
|
77
|
-
sdkVersion: "0.8.
|
|
78
|
-
genVersion: "2.
|
|
77
|
+
sdkVersion: "0.8.21",
|
|
78
|
+
genVersion: "2.934.1",
|
|
79
79
|
userAgent:
|
|
80
|
-
"speakeasy-sdk/typescript 0.8.
|
|
80
|
+
"speakeasy-sdk/typescript 0.8.21 2.934.1 2023-06-01 latitudesh-typescript-sdk",
|
|
81
81
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -61,6 +61,7 @@ import { tool$kubernetesClustersGetKubernetesClusterKubeconfig } from "./tools/k
|
|
|
61
61
|
import { tool$kubernetesClustersListKubernetesAvailableVersions } from "./tools/kubernetesClustersListKubernetesAvailableVersions.js";
|
|
62
62
|
import { tool$kubernetesClustersListKubernetesClusters } from "./tools/kubernetesClustersListKubernetesClusters.js";
|
|
63
63
|
import { tool$kubernetesClustersUpdateKubernetesCluster } from "./tools/kubernetesClustersUpdateKubernetesCluster.js";
|
|
64
|
+
import { tool$managedDatabasesShowManagedDatabaseMetrics } from "./tools/managedDatabasesShowManagedDatabaseMetrics.js";
|
|
64
65
|
import { tool$marketplaceAppsGetMarketplaceApp } from "./tools/marketplaceAppsGetMarketplaceApp.js";
|
|
65
66
|
import { tool$marketplaceAppsListMarketplaceApps } from "./tools/marketplaceAppsListMarketplaceApps.js";
|
|
66
67
|
import { tool$objectStorageDeleteStorageAccessKeysUsername } from "./tools/objectStorageDeleteStorageAccessKeysUsername.js";
|
|
@@ -198,7 +199,7 @@ export function createMCPServer(deps: {
|
|
|
198
199
|
}) {
|
|
199
200
|
const server = new McpServer({
|
|
200
201
|
name: "Latitudesh",
|
|
201
|
-
version: "0.8.
|
|
202
|
+
version: "0.8.21",
|
|
202
203
|
});
|
|
203
204
|
|
|
204
205
|
const client = new LatitudeshCore({
|
|
@@ -398,6 +399,7 @@ export function createMCPServer(deps: {
|
|
|
398
399
|
tool(tool$vpnSessionsCreate);
|
|
399
400
|
tool(tool$vpnSessionsRefreshPassword);
|
|
400
401
|
tool(tool$vpnSessionsDelete);
|
|
402
|
+
tool(tool$managedDatabasesShowManagedDatabaseMetrics);
|
|
401
403
|
tool(tool$firewallsAssignmentsCreate);
|
|
402
404
|
tool(tool$teamsMembersGetTeamMembers);
|
|
403
405
|
tool(tool$plansVmList);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { managedDatabasesShowManagedDatabaseMetrics } from "../../funcs/managedDatabasesShowManagedDatabaseMetrics.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.ShowManagedDatabaseMetricsRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$managedDatabasesShowManagedDatabaseMetrics: ToolDefinition<
|
|
14
|
+
typeof args
|
|
15
|
+
> = {
|
|
16
|
+
name: "managed-databases-show-managed-database-metrics",
|
|
17
|
+
description: `Show managed database metrics`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await managedDatabasesShowManagedDatabaseMetrics(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -16,7 +16,7 @@ export const tool$marketplaceAppsGetMarketplaceApp: ToolDefinition<
|
|
|
16
16
|
name: "marketplace-apps-get-marketplace-app",
|
|
17
17
|
description: `Retrieve a marketplace app
|
|
18
18
|
|
|
19
|
-
Retrieve a single marketplace app by ID or slug. Only published apps are visible
|
|
19
|
+
Retrieve a single marketplace app by ID or slug. Only published apps are visible.`,
|
|
20
20
|
args,
|
|
21
21
|
tool: async (client, args, ctx) => {
|
|
22
22
|
const [result, apiCall] = await marketplaceAppsGetMarketplaceApp(
|
|
@@ -9,7 +9,7 @@ export const tool$marketplaceAppsListMarketplaceApps: ToolDefinition = {
|
|
|
9
9
|
name: "marketplace-apps-list-marketplace-apps",
|
|
10
10
|
description: `List marketplace apps
|
|
11
11
|
|
|
12
|
-
Lists the marketplace apps available to deploy on Virtual Machines. Only published apps are returned
|
|
12
|
+
Lists the marketplace apps available to deploy on Virtual Machines. Only published apps are returned.`,
|
|
13
13
|
tool: async (client, ctx) => {
|
|
14
14
|
const [result, apiCall] = await marketplaceAppsListMarketplaceApps(
|
|
15
15
|
client,
|
|
@@ -16,6 +16,8 @@ export const tool$publicNetworksCreatePublicNetwork: ToolDefinition<
|
|
|
16
16
|
name: "public-networks-create-public-network",
|
|
17
17
|
description: `Create a network
|
|
18
18
|
|
|
19
|
+
**Preview.** Available at locations where the \`public_network\` feature is enabled.
|
|
20
|
+
|
|
19
21
|
Provision a customer network: an IPv4 block of the chosen size plus a paired IPv6 /64. The network is allocated synchronously and returned in the response; billing is settled in the background.`,
|
|
20
22
|
args,
|
|
21
23
|
tool: async (client, args, ctx) => {
|
|
@@ -16,6 +16,8 @@ export const tool$publicNetworksDestroyPublicNetwork: ToolDefinition<
|
|
|
16
16
|
name: "public-networks-destroy-public-network",
|
|
17
17
|
description: `Delete a network
|
|
18
18
|
|
|
19
|
+
**Preview.** Available at locations where the \`public_network\` feature is enabled.
|
|
20
|
+
|
|
19
21
|
Delete a customer network. Only allowed while the network has no IPs in use.`,
|
|
20
22
|
args,
|
|
21
23
|
tool: async (client, args, ctx) => {
|
|
@@ -15,6 +15,8 @@ export const tool$publicNetworksGetPublicNetworks: ToolDefinition<typeof args> =
|
|
|
15
15
|
name: "public-networks-get-public-networks",
|
|
16
16
|
description: `List networks
|
|
17
17
|
|
|
18
|
+
**Preview.** Available at locations where the \`public_network\` feature is enabled.
|
|
19
|
+
|
|
18
20
|
List the customer networks owned by the team`,
|
|
19
21
|
args,
|
|
20
22
|
tool: async (client, args, ctx) => {
|
|
@@ -13,21 +13,21 @@ export const BandwidthPlanDataType = {
|
|
|
13
13
|
} as const;
|
|
14
14
|
export type BandwidthPlanDataType = ClosedEnum<typeof BandwidthPlanDataType>;
|
|
15
15
|
|
|
16
|
-
export type
|
|
16
|
+
export type Usd = {
|
|
17
17
|
monthly?: number | undefined;
|
|
18
18
|
hourly?: number | undefined;
|
|
19
19
|
yearly?: number | null | undefined;
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type Brl = {
|
|
23
23
|
monthly?: number | undefined;
|
|
24
24
|
hourly?: number | undefined;
|
|
25
25
|
yearly?: number | null | undefined;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
export type BandwidthPlanDataPricing = {
|
|
29
|
-
usd?:
|
|
30
|
-
brl?:
|
|
29
|
+
usd?: Usd | undefined;
|
|
30
|
+
brl?: Brl | undefined;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export type BandwidthPlanDataAttributes = {
|
|
@@ -52,92 +52,72 @@ export const BandwidthPlanDataType$outboundSchema: z.ZodNativeEnum<
|
|
|
52
52
|
> = BandwidthPlanDataType$inboundSchema;
|
|
53
53
|
|
|
54
54
|
/** @internal */
|
|
55
|
-
export const
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
hourly: z.number().int().optional(),
|
|
62
|
-
yearly: z.nullable(z.number().int()).optional(),
|
|
63
|
-
});
|
|
55
|
+
export const Usd$inboundSchema: z.ZodType<Usd, z.ZodTypeDef, unknown> = z
|
|
56
|
+
.object({
|
|
57
|
+
monthly: z.number().int().optional(),
|
|
58
|
+
hourly: z.number().int().optional(),
|
|
59
|
+
yearly: z.nullable(z.number().int()).optional(),
|
|
60
|
+
});
|
|
64
61
|
/** @internal */
|
|
65
|
-
export type
|
|
62
|
+
export type Usd$Outbound = {
|
|
66
63
|
monthly?: number | undefined;
|
|
67
64
|
hourly?: number | undefined;
|
|
68
65
|
yearly?: number | null | undefined;
|
|
69
66
|
};
|
|
70
67
|
|
|
71
68
|
/** @internal */
|
|
72
|
-
export const
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
hourly: z.number().int().optional(),
|
|
79
|
-
yearly: z.nullable(z.number().int()).optional(),
|
|
80
|
-
});
|
|
69
|
+
export const Usd$outboundSchema: z.ZodType<Usd$Outbound, z.ZodTypeDef, Usd> = z
|
|
70
|
+
.object({
|
|
71
|
+
monthly: z.number().int().optional(),
|
|
72
|
+
hourly: z.number().int().optional(),
|
|
73
|
+
yearly: z.nullable(z.number().int()).optional(),
|
|
74
|
+
});
|
|
81
75
|
|
|
82
|
-
export function
|
|
83
|
-
|
|
84
|
-
): string {
|
|
85
|
-
return JSON.stringify(
|
|
86
|
-
BandwidthPlanDataUsd$outboundSchema.parse(bandwidthPlanDataUsd),
|
|
87
|
-
);
|
|
76
|
+
export function usdToJSON(usd: Usd): string {
|
|
77
|
+
return JSON.stringify(Usd$outboundSchema.parse(usd));
|
|
88
78
|
}
|
|
89
|
-
export function
|
|
79
|
+
export function usdFromJSON(
|
|
90
80
|
jsonString: string,
|
|
91
|
-
): SafeParseResult<
|
|
81
|
+
): SafeParseResult<Usd, SDKValidationError> {
|
|
92
82
|
return safeParse(
|
|
93
83
|
jsonString,
|
|
94
|
-
(x) =>
|
|
95
|
-
`Failed to parse '
|
|
84
|
+
(x) => Usd$inboundSchema.parse(JSON.parse(x)),
|
|
85
|
+
`Failed to parse 'Usd' from JSON`,
|
|
96
86
|
);
|
|
97
87
|
}
|
|
98
88
|
|
|
99
89
|
/** @internal */
|
|
100
|
-
export const
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
hourly: z.number().int().optional(),
|
|
107
|
-
yearly: z.nullable(z.number().int()).optional(),
|
|
108
|
-
});
|
|
90
|
+
export const Brl$inboundSchema: z.ZodType<Brl, z.ZodTypeDef, unknown> = z
|
|
91
|
+
.object({
|
|
92
|
+
monthly: z.number().int().optional(),
|
|
93
|
+
hourly: z.number().int().optional(),
|
|
94
|
+
yearly: z.nullable(z.number().int()).optional(),
|
|
95
|
+
});
|
|
109
96
|
/** @internal */
|
|
110
|
-
export type
|
|
97
|
+
export type Brl$Outbound = {
|
|
111
98
|
monthly?: number | undefined;
|
|
112
99
|
hourly?: number | undefined;
|
|
113
100
|
yearly?: number | null | undefined;
|
|
114
101
|
};
|
|
115
102
|
|
|
116
103
|
/** @internal */
|
|
117
|
-
export const
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
hourly: z.number().int().optional(),
|
|
124
|
-
yearly: z.nullable(z.number().int()).optional(),
|
|
125
|
-
});
|
|
104
|
+
export const Brl$outboundSchema: z.ZodType<Brl$Outbound, z.ZodTypeDef, Brl> = z
|
|
105
|
+
.object({
|
|
106
|
+
monthly: z.number().int().optional(),
|
|
107
|
+
hourly: z.number().int().optional(),
|
|
108
|
+
yearly: z.nullable(z.number().int()).optional(),
|
|
109
|
+
});
|
|
126
110
|
|
|
127
|
-
export function
|
|
128
|
-
|
|
129
|
-
): string {
|
|
130
|
-
return JSON.stringify(
|
|
131
|
-
BandwidthPlanDataBrl$outboundSchema.parse(bandwidthPlanDataBrl),
|
|
132
|
-
);
|
|
111
|
+
export function brlToJSON(brl: Brl): string {
|
|
112
|
+
return JSON.stringify(Brl$outboundSchema.parse(brl));
|
|
133
113
|
}
|
|
134
|
-
export function
|
|
114
|
+
export function brlFromJSON(
|
|
135
115
|
jsonString: string,
|
|
136
|
-
): SafeParseResult<
|
|
116
|
+
): SafeParseResult<Brl, SDKValidationError> {
|
|
137
117
|
return safeParse(
|
|
138
118
|
jsonString,
|
|
139
|
-
(x) =>
|
|
140
|
-
`Failed to parse '
|
|
119
|
+
(x) => Brl$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
+
`Failed to parse 'Brl' from JSON`,
|
|
141
121
|
);
|
|
142
122
|
}
|
|
143
123
|
|
|
@@ -147,13 +127,13 @@ export const BandwidthPlanDataPricing$inboundSchema: z.ZodType<
|
|
|
147
127
|
z.ZodTypeDef,
|
|
148
128
|
unknown
|
|
149
129
|
> = z.object({
|
|
150
|
-
usd: z.lazy(() =>
|
|
151
|
-
brl: z.lazy(() =>
|
|
130
|
+
usd: z.lazy(() => Usd$inboundSchema).optional(),
|
|
131
|
+
brl: z.lazy(() => Brl$inboundSchema).optional(),
|
|
152
132
|
});
|
|
153
133
|
/** @internal */
|
|
154
134
|
export type BandwidthPlanDataPricing$Outbound = {
|
|
155
|
-
usd?:
|
|
156
|
-
brl?:
|
|
135
|
+
usd?: Usd$Outbound | undefined;
|
|
136
|
+
brl?: Brl$Outbound | undefined;
|
|
157
137
|
};
|
|
158
138
|
|
|
159
139
|
/** @internal */
|
|
@@ -162,8 +142,8 @@ export const BandwidthPlanDataPricing$outboundSchema: z.ZodType<
|
|
|
162
142
|
z.ZodTypeDef,
|
|
163
143
|
BandwidthPlanDataPricing
|
|
164
144
|
> = z.object({
|
|
165
|
-
usd: z.lazy(() =>
|
|
166
|
-
brl: z.lazy(() =>
|
|
145
|
+
usd: z.lazy(() => Usd$outboundSchema).optional(),
|
|
146
|
+
brl: z.lazy(() => Brl$outboundSchema).optional(),
|
|
167
147
|
});
|
|
168
148
|
|
|
169
149
|
export function bandwidthPlanDataPricingToJSON(
|
|
@@ -138,7 +138,7 @@ export type ObjectStorageDataAttributes = {
|
|
|
138
138
|
|
|
139
139
|
export type ObjectStorageData = {
|
|
140
140
|
/**
|
|
141
|
-
* Object storage ID with
|
|
141
|
+
* Object storage ID with bkt_ prefix
|
|
142
142
|
*/
|
|
143
143
|
id?: string | undefined;
|
|
144
144
|
type?: ObjectStorageDataType | undefined;
|
|
@@ -74,6 +74,10 @@ export type GetServersRequest = {
|
|
|
74
74
|
* The tags IDs to filter by, separated by comma, e.g. `filter[tags]=tag_1,tag_2`will return servers with `tag_1` AND `tag_2`
|
|
75
75
|
*/
|
|
76
76
|
filterTags?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Filter by whether the server can announce a BGP Elastic IP.
|
|
79
|
+
*/
|
|
80
|
+
filterBgpEligible?: boolean | undefined;
|
|
77
81
|
/**
|
|
78
82
|
* The `credentials` are provided as extra attributes that are lazy loaded. To request it, just set `extra_fields[servers]=credentials` in the query string.
|
|
79
83
|
*/
|
|
@@ -122,6 +126,7 @@ export const GetServersRequest$inboundSchema: z.ZodType<
|
|
|
122
126
|
"filter[disk][gte]": z.number().int().optional(),
|
|
123
127
|
"filter[disk][lte]": z.number().int().optional(),
|
|
124
128
|
"filter[tags]": z.string().optional(),
|
|
129
|
+
"filter[bgp_eligible]": z.boolean().optional(),
|
|
125
130
|
"extra_fields[servers]": z.string().optional(),
|
|
126
131
|
sort: z.string().optional(),
|
|
127
132
|
"page[size]": z.number().int().default(20),
|
|
@@ -145,6 +150,7 @@ export const GetServersRequest$inboundSchema: z.ZodType<
|
|
|
145
150
|
"filter[disk][gte]": "filterDiskGte",
|
|
146
151
|
"filter[disk][lte]": "filterDiskLte",
|
|
147
152
|
"filter[tags]": "filterTags",
|
|
153
|
+
"filter[bgp_eligible]": "filterBgpEligible",
|
|
148
154
|
"extra_fields[servers]": "extraFieldsServers",
|
|
149
155
|
"page[size]": "pageSize",
|
|
150
156
|
"page[number]": "pageNumber",
|
|
@@ -169,6 +175,7 @@ export type GetServersRequest$Outbound = {
|
|
|
169
175
|
"filter[disk][gte]"?: number | undefined;
|
|
170
176
|
"filter[disk][lte]"?: number | undefined;
|
|
171
177
|
"filter[tags]"?: string | undefined;
|
|
178
|
+
"filter[bgp_eligible]"?: boolean | undefined;
|
|
172
179
|
"extra_fields[servers]"?: string | undefined;
|
|
173
180
|
sort?: string | undefined;
|
|
174
181
|
"page[size]": number;
|
|
@@ -198,6 +205,7 @@ export const GetServersRequest$outboundSchema: z.ZodType<
|
|
|
198
205
|
filterDiskGte: z.number().int().optional(),
|
|
199
206
|
filterDiskLte: z.number().int().optional(),
|
|
200
207
|
filterTags: z.string().optional(),
|
|
208
|
+
filterBgpEligible: z.boolean().optional(),
|
|
201
209
|
extraFieldsServers: z.string().optional(),
|
|
202
210
|
sort: z.string().optional(),
|
|
203
211
|
pageSize: z.number().int().default(20),
|
|
@@ -221,6 +229,7 @@ export const GetServersRequest$outboundSchema: z.ZodType<
|
|
|
221
229
|
filterDiskGte: "filter[disk][gte]",
|
|
222
230
|
filterDiskLte: "filter[disk][lte]",
|
|
223
231
|
filterTags: "filter[tags]",
|
|
232
|
+
filterBgpEligible: "filter[bgp_eligible]",
|
|
224
233
|
extraFieldsServers: "extra_fields[servers]",
|
|
225
234
|
pageSize: "page[size]",
|
|
226
235
|
pageNumber: "page[number]",
|
|
@@ -146,6 +146,7 @@ export * from "./serverscheduledeletion.js";
|
|
|
146
146
|
export * from "./serverstartrescuemode.js";
|
|
147
147
|
export * from "./serverunlock.js";
|
|
148
148
|
export * from "./serverunscheduledeletion.js";
|
|
149
|
+
export * from "./showmanageddatabasemetrics.js";
|
|
149
150
|
export * from "./showvirtualmachine.js";
|
|
150
151
|
export * from "./showvirtualmachinemetrics.js";
|
|
151
152
|
export * from "./updateapikey.js";
|