latitudesh-typescript-sdk 0.3.0 → 0.3.1
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 +7 -7
- package/bin/mcp-server.js +214 -197
- package/bin/mcp-server.js.map +26 -24
- package/dist/commonjs/funcs/{elasticIPsCreateElasticIp.d.ts → elasticIpsCreateElasticIp.d.ts} +3 -3
- package/dist/commonjs/funcs/{elasticIPsCreateElasticIp.d.ts.map → elasticIpsCreateElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsCreateElasticIp.js → elasticIpsCreateElasticIp.js} +4 -4
- package/dist/commonjs/funcs/{elasticIPsCreateElasticIp.js.map → elasticIpsCreateElasticIp.js.map} +1 -1
- package/dist/{esm/funcs/elasticIPsDeleteElasticIp.d.ts → commonjs/funcs/elasticIpsDeleteElasticIp.d.ts} +2 -2
- package/dist/commonjs/funcs/{elasticIPsDeleteElasticIp.d.ts.map → elasticIpsDeleteElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsDeleteElasticIp.js → elasticIpsDeleteElasticIp.js} +3 -3
- package/dist/commonjs/funcs/{elasticIPsDeleteElasticIp.js.map → elasticIpsDeleteElasticIp.js.map} +1 -1
- package/dist/{esm/funcs/elasticIPsGetElasticIp.d.ts → commonjs/funcs/elasticIpsGetElasticIp.d.ts} +2 -2
- package/dist/commonjs/funcs/{elasticIPsGetElasticIp.d.ts.map → elasticIpsGetElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsGetElasticIp.js → elasticIpsGetElasticIp.js} +3 -3
- package/dist/commonjs/funcs/{elasticIPsGetElasticIp.js.map → elasticIpsGetElasticIp.js.map} +1 -1
- package/dist/{esm/funcs/elasticIPsListElasticIps.d.ts → commonjs/funcs/elasticIpsListElasticIps.d.ts} +2 -2
- package/dist/commonjs/funcs/{elasticIPsListElasticIps.d.ts.map → elasticIpsListElasticIps.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsListElasticIps.js → elasticIpsListElasticIps.js} +4 -4
- package/dist/commonjs/funcs/{elasticIPsListElasticIps.js.map → elasticIpsListElasticIps.js.map} +1 -1
- package/dist/{esm/funcs/elasticIPsUpdateElasticIp.d.ts → commonjs/funcs/elasticIpsUpdateElasticIp.d.ts} +2 -2
- package/dist/{esm/funcs/elasticIPsUpdateElasticIp.d.ts.map → commonjs/funcs/elasticIpsUpdateElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{elasticIPsUpdateElasticIp.js → elasticIpsUpdateElasticIp.js} +4 -4
- package/dist/commonjs/funcs/{elasticIPsUpdateElasticIp.js.map → elasticIpsUpdateElasticIp.js.map} +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/matchers.d.ts.map +1 -1
- package/dist/commonjs/lib/matchers.js +0 -1
- package/dist/commonjs/lib/matchers.js.map +1 -1
- package/dist/commonjs/lib/security.d.ts.map +1 -1
- package/dist/commonjs/lib/security.js +1 -2
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/mcp-server/cli/start/impl.js +2 -2
- package/dist/commonjs/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +11 -11
- package/dist/commonjs/mcp-server/shared.js +1 -1
- package/dist/commonjs/mcp-server/shared.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsCreateElasticIp.d.ts → elasticIpsCreateElasticIp.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{elasticIPsCreateElasticIp.d.ts.map → elasticIpsCreateElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsCreateElasticIp.js → elasticIpsCreateElasticIp.js} +7 -7
- package/dist/commonjs/mcp-server/tools/{elasticIPsCreateElasticIp.js.map → elasticIpsCreateElasticIp.js.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsDeleteElasticIp.d.ts → elasticIpsDeleteElasticIp.d.ts} +2 -2
- package/dist/{esm/mcp-server/tools/elasticIPsDeleteElasticIp.d.ts.map → commonjs/mcp-server/tools/elasticIpsDeleteElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsDeleteElasticIp.js → elasticIpsDeleteElasticIp.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{elasticIPsDeleteElasticIp.js.map → elasticIpsDeleteElasticIp.js.map} +1 -1
- package/dist/{esm/mcp-server/tools/elasticIPsGetElasticIp.d.ts → commonjs/mcp-server/tools/elasticIpsGetElasticIp.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{elasticIPsGetElasticIp.d.ts.map → elasticIpsGetElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsGetElasticIp.js → elasticIpsGetElasticIp.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{elasticIPsGetElasticIp.js.map → elasticIpsGetElasticIp.js.map} +1 -1
- package/dist/{esm/mcp-server/tools/elasticIPsListElasticIps.d.ts → commonjs/mcp-server/tools/elasticIpsListElasticIps.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{elasticIPsListElasticIps.d.ts.map → elasticIpsListElasticIps.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsListElasticIps.js → elasticIpsListElasticIps.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{elasticIPsListElasticIps.js.map → elasticIpsListElasticIps.js.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsUpdateElasticIp.d.ts → elasticIpsUpdateElasticIp.d.ts} +2 -2
- package/dist/commonjs/mcp-server/tools/{elasticIPsDeleteElasticIp.d.ts.map → elasticIpsUpdateElasticIp.d.ts.map} +1 -1
- package/dist/commonjs/mcp-server/tools/{elasticIPsUpdateElasticIp.js → elasticIpsUpdateElasticIp.js} +6 -6
- package/dist/commonjs/mcp-server/tools/{elasticIPsUpdateElasticIp.js.map → elasticIpsUpdateElasticIp.js.map} +1 -1
- package/dist/commonjs/models/elasticipdata.d.ts +41 -11
- package/dist/commonjs/models/elasticipdata.d.ts.map +1 -1
- package/dist/commonjs/models/elasticipdata.js +25 -14
- package/dist/commonjs/models/elasticipdata.js.map +1 -1
- package/dist/commonjs/models/ipaddress.d.ts +8 -8
- package/dist/commonjs/models/ipaddress.d.ts.map +1 -1
- package/dist/commonjs/models/ipaddress.js +11 -11
- package/dist/commonjs/models/ipaddress.js.map +1 -1
- package/dist/commonjs/models/operations/listelasticips.d.ts +2 -1
- package/dist/commonjs/models/operations/listelasticips.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listelasticips.js +2 -1
- package/dist/commonjs/models/operations/listelasticips.js.map +1 -1
- package/dist/commonjs/sdk/elasticips.d.ts +2 -2
- package/dist/commonjs/sdk/elasticips.js +14 -14
- package/dist/commonjs/sdk/sdk.d.ts +3 -3
- package/dist/commonjs/sdk/sdk.js +2 -2
- package/dist/esm/funcs/{elasticIPsCreateElasticIp.d.ts → elasticIpsCreateElasticIp.d.ts} +3 -3
- package/dist/esm/funcs/{elasticIPsCreateElasticIp.d.ts.map → elasticIpsCreateElasticIp.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsCreateElasticIp.js → elasticIpsCreateElasticIp.js} +3 -3
- package/dist/esm/funcs/{elasticIPsCreateElasticIp.js.map → elasticIpsCreateElasticIp.js.map} +1 -1
- package/dist/{commonjs/funcs/elasticIPsDeleteElasticIp.d.ts → esm/funcs/elasticIpsDeleteElasticIp.d.ts} +2 -2
- package/dist/esm/funcs/{elasticIPsDeleteElasticIp.d.ts.map → elasticIpsDeleteElasticIp.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsDeleteElasticIp.js → elasticIpsDeleteElasticIp.js} +2 -2
- package/dist/esm/funcs/{elasticIPsDeleteElasticIp.js.map → elasticIpsDeleteElasticIp.js.map} +1 -1
- package/dist/{commonjs/funcs/elasticIPsGetElasticIp.d.ts → esm/funcs/elasticIpsGetElasticIp.d.ts} +2 -2
- package/dist/esm/funcs/{elasticIPsGetElasticIp.d.ts.map → elasticIpsGetElasticIp.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsGetElasticIp.js → elasticIpsGetElasticIp.js} +2 -2
- package/dist/esm/funcs/{elasticIPsGetElasticIp.js.map → elasticIpsGetElasticIp.js.map} +1 -1
- package/dist/{commonjs/funcs/elasticIPsListElasticIps.d.ts → esm/funcs/elasticIpsListElasticIps.d.ts} +2 -2
- package/dist/esm/funcs/{elasticIPsListElasticIps.d.ts.map → elasticIpsListElasticIps.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsListElasticIps.js → elasticIpsListElasticIps.js} +3 -3
- package/dist/esm/funcs/{elasticIPsListElasticIps.js.map → elasticIpsListElasticIps.js.map} +1 -1
- package/dist/{commonjs/funcs/elasticIPsUpdateElasticIp.d.ts → esm/funcs/elasticIpsUpdateElasticIp.d.ts} +2 -2
- package/dist/{commonjs/funcs/elasticIPsUpdateElasticIp.d.ts.map → esm/funcs/elasticIpsUpdateElasticIp.d.ts.map} +1 -1
- package/dist/esm/funcs/{elasticIPsUpdateElasticIp.js → elasticIpsUpdateElasticIp.js} +3 -3
- package/dist/esm/funcs/{elasticIPsUpdateElasticIp.js.map → elasticIpsUpdateElasticIp.js.map} +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/matchers.d.ts.map +1 -1
- package/dist/esm/lib/matchers.js +0 -1
- package/dist/esm/lib/matchers.js.map +1 -1
- package/dist/esm/lib/security.d.ts.map +1 -1
- package/dist/esm/lib/security.js +1 -2
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/mcp-server/cli/start/impl.js +2 -2
- package/dist/esm/mcp-server/cli/start/impl.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +11 -11
- package/dist/esm/mcp-server/shared.js +1 -1
- package/dist/esm/mcp-server/shared.js.map +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsCreateElasticIp.d.ts → elasticIpsCreateElasticIp.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{elasticIPsCreateElasticIp.d.ts.map → elasticIpsCreateElasticIp.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsCreateElasticIp.js → elasticIpsCreateElasticIp.js} +6 -6
- package/dist/esm/mcp-server/tools/{elasticIPsCreateElasticIp.js.map → elasticIpsCreateElasticIp.js.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsDeleteElasticIp.d.ts → elasticIpsDeleteElasticIp.d.ts} +2 -2
- package/dist/{commonjs/mcp-server/tools/elasticIPsUpdateElasticIp.d.ts.map → esm/mcp-server/tools/elasticIpsDeleteElasticIp.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsDeleteElasticIp.js → elasticIpsDeleteElasticIp.js} +5 -5
- package/dist/esm/mcp-server/tools/{elasticIPsDeleteElasticIp.js.map → elasticIpsDeleteElasticIp.js.map} +1 -1
- package/dist/{commonjs/mcp-server/tools/elasticIPsGetElasticIp.d.ts → esm/mcp-server/tools/elasticIpsGetElasticIp.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{elasticIPsGetElasticIp.d.ts.map → elasticIpsGetElasticIp.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsGetElasticIp.js → elasticIpsGetElasticIp.js} +5 -5
- package/dist/esm/mcp-server/tools/{elasticIPsGetElasticIp.js.map → elasticIpsGetElasticIp.js.map} +1 -1
- package/dist/{commonjs/mcp-server/tools/elasticIPsListElasticIps.d.ts → esm/mcp-server/tools/elasticIpsListElasticIps.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{elasticIPsListElasticIps.d.ts.map → elasticIpsListElasticIps.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsListElasticIps.js → elasticIpsListElasticIps.js} +5 -5
- package/dist/esm/mcp-server/tools/{elasticIPsListElasticIps.js.map → elasticIpsListElasticIps.js.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsUpdateElasticIp.d.ts → elasticIpsUpdateElasticIp.d.ts} +2 -2
- package/dist/esm/mcp-server/tools/{elasticIPsUpdateElasticIp.d.ts.map → elasticIpsUpdateElasticIp.d.ts.map} +1 -1
- package/dist/esm/mcp-server/tools/{elasticIPsUpdateElasticIp.js → elasticIpsUpdateElasticIp.js} +5 -5
- package/dist/esm/mcp-server/tools/{elasticIPsUpdateElasticIp.js.map → elasticIpsUpdateElasticIp.js.map} +1 -1
- package/dist/esm/models/elasticipdata.d.ts +41 -11
- package/dist/esm/models/elasticipdata.d.ts.map +1 -1
- package/dist/esm/models/elasticipdata.js +22 -11
- package/dist/esm/models/elasticipdata.js.map +1 -1
- package/dist/esm/models/ipaddress.d.ts +8 -8
- package/dist/esm/models/ipaddress.d.ts.map +1 -1
- package/dist/esm/models/ipaddress.js +8 -8
- package/dist/esm/models/ipaddress.js.map +1 -1
- package/dist/esm/models/operations/listelasticips.d.ts +2 -1
- package/dist/esm/models/operations/listelasticips.d.ts.map +1 -1
- package/dist/esm/models/operations/listelasticips.js +2 -1
- package/dist/esm/models/operations/listelasticips.js.map +1 -1
- package/dist/esm/sdk/elasticips.d.ts +2 -2
- package/dist/esm/sdk/elasticips.js +12 -12
- package/dist/esm/sdk/sdk.d.ts +3 -3
- package/dist/esm/sdk/sdk.js +3 -3
- package/jsr.json +1 -1
- package/package.json +4 -4
- package/src/funcs/{elasticIPsCreateElasticIp.ts → elasticIpsCreateElasticIp.ts} +2 -2
- package/src/funcs/{elasticIPsDeleteElasticIp.ts → elasticIpsDeleteElasticIp.ts} +1 -1
- package/src/funcs/{elasticIPsGetElasticIp.ts → elasticIpsGetElasticIp.ts} +1 -1
- package/src/funcs/{elasticIPsListElasticIps.ts → elasticIpsListElasticIps.ts} +2 -2
- package/src/funcs/{elasticIPsUpdateElasticIp.ts → elasticIpsUpdateElasticIp.ts} +2 -2
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/mcp-server/cli/start/impl.ts +4 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -11
- package/src/mcp-server/shared.ts +2 -2
- package/src/mcp-server/tools/{elasticIPsCreateElasticIp.ts → elasticIpsCreateElasticIp.ts} +5 -5
- package/src/mcp-server/tools/{elasticIPsDeleteElasticIp.ts → elasticIpsDeleteElasticIp.ts} +4 -4
- package/src/mcp-server/tools/{elasticIPsGetElasticIp.ts → elasticIpsGetElasticIp.ts} +4 -4
- package/src/mcp-server/tools/{elasticIPsListElasticIps.ts → elasticIpsListElasticIps.ts} +4 -4
- package/src/mcp-server/tools/{elasticIPsUpdateElasticIp.ts → elasticIpsUpdateElasticIp.ts} +4 -4
- package/src/models/elasticipdata.ts +63 -23
- package/src/models/ipaddress.ts +21 -17
- package/src/models/operations/listelasticips.ts +2 -1
- package/src/sdk/elasticips.ts +12 -12
- package/src/sdk/sdk.ts +4 -4
package/dist/esm/sdk/sdk.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { ClientSDK } from "../lib/sdks.js";
|
|
5
5
|
import { ApiKeys } from "./apikeys.js";
|
|
6
6
|
import { Billing } from "./billing.js";
|
|
7
|
-
import {
|
|
7
|
+
import { ElasticIps } from "./elasticips.js";
|
|
8
8
|
import { Events } from "./events.js";
|
|
9
9
|
import { Firewalls } from "./firewalls.js";
|
|
10
10
|
import { IpAddresses } from "./ipaddresses.js";
|
|
@@ -40,8 +40,8 @@ export class Latitudesh extends ClientSDK {
|
|
|
40
40
|
get firewalls() {
|
|
41
41
|
return (this._firewalls ?? (this._firewalls = new Firewalls(this._options)));
|
|
42
42
|
}
|
|
43
|
-
get
|
|
44
|
-
return (this.
|
|
43
|
+
get elasticIps() {
|
|
44
|
+
return (this._elasticIps ?? (this._elasticIps = new ElasticIps(this._options)));
|
|
45
45
|
}
|
|
46
46
|
get ipAddresses() {
|
|
47
47
|
return (this._ipAddresses ?? (this._ipAddresses = new IpAddresses(this._options)));
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "latitudesh-typescript-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"author": "Speakeasy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"@eslint/js": "^9.26.0",
|
|
40
40
|
"@stricli/core": "^1.1.1",
|
|
41
41
|
"@types/express": "^4.17.21",
|
|
42
|
-
"bun": "1.
|
|
43
|
-
"bun-types": "1.
|
|
42
|
+
"bun": "1.2.17",
|
|
43
|
+
"bun-types": "1.2.17",
|
|
44
44
|
"eslint": "^9.26.0",
|
|
45
45
|
"express": "^4.21.2",
|
|
46
46
|
"globals": "^15.14.0",
|
|
47
|
-
"tshy": "^
|
|
47
|
+
"tshy": "^3.3.2",
|
|
48
48
|
"typescript": "~5.8.3",
|
|
49
49
|
"typescript-eslint": "^8.26.0"
|
|
50
50
|
},
|
|
@@ -29,11 +29,11 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Create an Elastic IP
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Creates a new Elastic IP and assigns it to the specified server. The IP is provisioned asynchronously—the response will show status `
|
|
32
|
+
* Creates a new Elastic IP and assigns it to the specified server. The IP is provisioned asynchronously—the response will show status `configuring` and the `id` will be `null` until provisioning completes.
|
|
33
33
|
*
|
|
34
34
|
* **Note:** This feature requires the `elastic_ips` feature flag to be enabled for your team. Currently only IPv4 /32 addresses in routed mode are supported.
|
|
35
35
|
*/
|
|
36
|
-
export function
|
|
36
|
+
export function elasticIpsCreateElasticIp(
|
|
37
37
|
client: LatitudeshCore,
|
|
38
38
|
request: models.CreateElasticIp,
|
|
39
39
|
options?: RequestOptions,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
*
|
|
35
35
|
* **Note:** This feature requires the `elastic_ips` feature flag to be enabled for your team. Only Elastic IPs with status `active` or `error` can be released.
|
|
36
36
|
*/
|
|
37
|
-
export function
|
|
37
|
+
export function elasticIpsDeleteElasticIp(
|
|
38
38
|
client: LatitudeshCore,
|
|
39
39
|
request: operations.DeleteElasticIpRequest,
|
|
40
40
|
options?: RequestOptions,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
*
|
|
35
35
|
* **Note:** This feature requires the `elastic_ips` feature flag to be enabled for your team.
|
|
36
36
|
*/
|
|
37
|
-
export function
|
|
37
|
+
export function elasticIpsGetElasticIp(
|
|
38
38
|
client: LatitudeshCore,
|
|
39
39
|
request: operations.GetElasticIpRequest,
|
|
40
40
|
options?: RequestOptions,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
*
|
|
40
40
|
* **Note:** This feature requires the `elastic_ips` feature flag to be enabled for your team. When the flag is disabled, the endpoint returns an empty list.
|
|
41
41
|
*/
|
|
42
|
-
export function
|
|
42
|
+
export function elasticIpsListElasticIps(
|
|
43
43
|
client: LatitudeshCore,
|
|
44
44
|
request?: operations.ListElasticIpsRequest | undefined,
|
|
45
45
|
options?: RequestOptions,
|
|
@@ -225,7 +225,7 @@ async function $do(
|
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
const nextVal = () =>
|
|
228
|
-
|
|
228
|
+
elasticIpsListElasticIps(
|
|
229
229
|
client,
|
|
230
230
|
{
|
|
231
231
|
...request!,
|
|
@@ -34,7 +34,7 @@ import { Result } from "../types/fp.js";
|
|
|
34
34
|
*
|
|
35
35
|
* **Note:** This feature requires the `elastic_ips` feature flag to be enabled for your team. The Elastic IP must be in `active` status and the target server must belong to the same project.
|
|
36
36
|
*/
|
|
37
|
-
export function
|
|
37
|
+
export function elasticIpsUpdateElasticIp(
|
|
38
38
|
client: LatitudeshCore,
|
|
39
39
|
request: operations.UpdateElasticIpRequest,
|
|
40
40
|
options?: RequestOptions,
|
|
@@ -166,7 +166,7 @@ async function $do(
|
|
|
166
166
|
| UnexpectedClientError
|
|
167
167
|
| SDKValidationError
|
|
168
168
|
>(
|
|
169
|
-
M.json(
|
|
169
|
+
M.json(202, models.ElasticIp$inboundSchema, {
|
|
170
170
|
ctype: "application/vnd.api+json",
|
|
171
171
|
}),
|
|
172
172
|
M.jsonErr([403, 404, 422], errors.ErrorObject$inboundSchema, {
|
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.3.
|
|
78
|
-
genVersion: "2.
|
|
77
|
+
sdkVersion: "0.3.1",
|
|
78
|
+
genVersion: "2.849.8",
|
|
79
79
|
userAgent:
|
|
80
|
-
"speakeasy-sdk/typescript 0.3.
|
|
80
|
+
"speakeasy-sdk/typescript 0.3.1 2.849.8 2023-06-01 latitudesh-typescript-sdk",
|
|
81
81
|
} as const;
|
package/src/lib/matchers.ts
CHANGED
|
@@ -251,8 +251,9 @@ export function match<T, E>(
|
|
|
251
251
|
raw = body;
|
|
252
252
|
break;
|
|
253
253
|
default:
|
|
254
|
-
|
|
255
|
-
|
|
254
|
+
throw new Error(
|
|
255
|
+
`Unsupported response type: ${encoding satisfies never}`,
|
|
256
|
+
);
|
|
256
257
|
}
|
|
257
258
|
|
|
258
259
|
if (matcher.enc === "fail") {
|
package/src/lib/security.ts
CHANGED
|
@@ -198,8 +198,7 @@ export function resolveSecurity(
|
|
|
198
198
|
applyBearer(state, spec);
|
|
199
199
|
break;
|
|
200
200
|
default:
|
|
201
|
-
spec satisfies never;
|
|
202
|
-
throw SecurityError.unrecognizedType(type);
|
|
201
|
+
throw SecurityError.unrecognizedType((spec satisfies never, type));
|
|
203
202
|
}
|
|
204
203
|
});
|
|
205
204
|
|
|
@@ -48,7 +48,8 @@ async function startStdio(flags: StartCommandFlags) {
|
|
|
48
48
|
const server = createMCPServer({
|
|
49
49
|
logger,
|
|
50
50
|
allowedTools: flags.tool,
|
|
51
|
-
|
|
51
|
+
bearer: flags.bearer ?? "",
|
|
52
|
+
|
|
52
53
|
serverURL: flags["server-url"],
|
|
53
54
|
serverIdx: flags["server-index"],
|
|
54
55
|
latitudeApiKey: flags["latitude-api-key"],
|
|
@@ -69,7 +70,8 @@ async function startSSE(flags: StartCommandFlags) {
|
|
|
69
70
|
const mcpServer = createMCPServer({
|
|
70
71
|
logger,
|
|
71
72
|
allowedTools: flags.tool,
|
|
72
|
-
|
|
73
|
+
bearer: flags.bearer ?? "",
|
|
74
|
+
|
|
73
75
|
serverURL: flags["server-url"],
|
|
74
76
|
serverIdx: flags["server-index"],
|
|
75
77
|
latitudeApiKey: flags["latitude-api-key"],
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -19,11 +19,11 @@ import { tool$apiKeysList } from "./tools/apiKeysList.js";
|
|
|
19
19
|
import { tool$apiKeysUpdate } from "./tools/apiKeysUpdate.js";
|
|
20
20
|
import { tool$apiKeysUpdateApiKey } from "./tools/apiKeysUpdateApiKey.js";
|
|
21
21
|
import { tool$billingListUsage } from "./tools/billingListUsage.js";
|
|
22
|
-
import { tool$
|
|
23
|
-
import { tool$
|
|
24
|
-
import { tool$
|
|
25
|
-
import { tool$
|
|
26
|
-
import { tool$
|
|
22
|
+
import { tool$elasticIpsCreateElasticIp } from "./tools/elasticIpsCreateElasticIp.js";
|
|
23
|
+
import { tool$elasticIpsDeleteElasticIp } from "./tools/elasticIpsDeleteElasticIp.js";
|
|
24
|
+
import { tool$elasticIpsGetElasticIp } from "./tools/elasticIpsGetElasticIp.js";
|
|
25
|
+
import { tool$elasticIpsListElasticIps } from "./tools/elasticIpsListElasticIps.js";
|
|
26
|
+
import { tool$elasticIpsUpdateElasticIp } from "./tools/elasticIpsUpdateElasticIp.js";
|
|
27
27
|
import { tool$eventsList } from "./tools/eventsList.js";
|
|
28
28
|
import { tool$firewallsAssignmentsCreate } from "./tools/firewallsAssignmentsCreate.js";
|
|
29
29
|
import { tool$firewallsCreate } from "./tools/firewallsCreate.js";
|
|
@@ -148,7 +148,7 @@ export function createMCPServer(deps: {
|
|
|
148
148
|
}) {
|
|
149
149
|
const server = new McpServer({
|
|
150
150
|
name: "Latitudesh",
|
|
151
|
-
version: "0.3.
|
|
151
|
+
version: "0.3.1",
|
|
152
152
|
});
|
|
153
153
|
|
|
154
154
|
const client = new LatitudeshCore({
|
|
@@ -194,11 +194,11 @@ export function createMCPServer(deps: {
|
|
|
194
194
|
tool(tool$firewallsDelete);
|
|
195
195
|
tool(tool$firewallsListAssignments);
|
|
196
196
|
tool(tool$firewallsDeleteAssignment);
|
|
197
|
-
tool(tool$
|
|
198
|
-
tool(tool$
|
|
199
|
-
tool(tool$
|
|
200
|
-
tool(tool$
|
|
201
|
-
tool(tool$
|
|
197
|
+
tool(tool$elasticIpsListElasticIps);
|
|
198
|
+
tool(tool$elasticIpsCreateElasticIp);
|
|
199
|
+
tool(tool$elasticIpsGetElasticIp);
|
|
200
|
+
tool(tool$elasticIpsDeleteElasticIp);
|
|
201
|
+
tool(tool$elasticIpsUpdateElasticIp);
|
|
202
202
|
tool(tool$ipAddressesList);
|
|
203
203
|
tool(tool$ipAddressesGet);
|
|
204
204
|
tool(tool$teamsGet);
|
package/src/mcp-server/shared.ts
CHANGED
|
@@ -16,12 +16,12 @@ export async function consumeStream(
|
|
|
16
16
|
stream: ReadableStream<Uint8Array>,
|
|
17
17
|
): Promise<Uint8Array> {
|
|
18
18
|
const reader = stream.getReader();
|
|
19
|
-
const chunks:
|
|
19
|
+
const chunks: ArrayBuffer[] = [];
|
|
20
20
|
|
|
21
21
|
try {
|
|
22
22
|
while (true) {
|
|
23
23
|
const { done, value } = await reader.read();
|
|
24
|
-
if (value != null) chunks.push(value);
|
|
24
|
+
if (value != null) chunks.push(new Uint8Array(value).buffer);
|
|
25
25
|
if (done) break;
|
|
26
26
|
}
|
|
27
27
|
} finally {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { elasticIpsCreateElasticIp } from "../../funcs/elasticIpsCreateElasticIp.js";
|
|
6
6
|
import * as models from "../../models/index.js";
|
|
7
7
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
8
|
|
|
@@ -10,17 +10,17 @@ const args = {
|
|
|
10
10
|
request: models.CreateElasticIp$inboundSchema,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
export const tool$
|
|
14
|
-
name: "elastic-
|
|
13
|
+
export const tool$elasticIpsCreateElasticIp: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "elastic-ips-create-elastic-ip",
|
|
15
15
|
description: `Create an Elastic IP
|
|
16
16
|
|
|
17
|
-
Creates a new Elastic IP and assigns it to the specified server. The IP is provisioned asynchronously—the response will show status \`
|
|
17
|
+
Creates a new Elastic IP and assigns it to the specified server. The IP is provisioned asynchronously—the response will show status \`configuring\` and the \`id\` will be \`null\` until provisioning completes.
|
|
18
18
|
|
|
19
19
|
**Note:** This feature requires the \`elastic_ips\` feature flag to be enabled for your team. Currently only IPv4 /32 addresses in routed mode are supported.
|
|
20
20
|
`,
|
|
21
21
|
args,
|
|
22
22
|
tool: async (client, args, ctx) => {
|
|
23
|
-
const [result, apiCall] = await
|
|
23
|
+
const [result, apiCall] = await elasticIpsCreateElasticIp(
|
|
24
24
|
client,
|
|
25
25
|
args.request,
|
|
26
26
|
{ fetchOptions: { signal: ctx.signal } },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { elasticIpsDeleteElasticIp } from "../../funcs/elasticIpsDeleteElasticIp.js";
|
|
6
6
|
import * as operations from "../../models/operations/index.js";
|
|
7
7
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
8
|
|
|
@@ -10,8 +10,8 @@ const args = {
|
|
|
10
10
|
request: operations.DeleteElasticIpRequest$inboundSchema,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
export const tool$
|
|
14
|
-
name: "elastic-
|
|
13
|
+
export const tool$elasticIpsDeleteElasticIp: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "elastic-ips-delete-elastic-ip",
|
|
15
15
|
description: `Release an Elastic IP
|
|
16
16
|
|
|
17
17
|
Releases an Elastic IP, returning it to the available pool. The IP will transition to \`releasing\` status before being fully removed.
|
|
@@ -20,7 +20,7 @@ Releases an Elastic IP, returning it to the available pool. The IP will transiti
|
|
|
20
20
|
`,
|
|
21
21
|
args,
|
|
22
22
|
tool: async (client, args, ctx) => {
|
|
23
|
-
const [result, apiCall] = await
|
|
23
|
+
const [result, apiCall] = await elasticIpsDeleteElasticIp(
|
|
24
24
|
client,
|
|
25
25
|
args.request,
|
|
26
26
|
{ fetchOptions: { signal: ctx.signal } },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { elasticIpsGetElasticIp } from "../../funcs/elasticIpsGetElasticIp.js";
|
|
6
6
|
import * as operations from "../../models/operations/index.js";
|
|
7
7
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
8
|
|
|
@@ -10,8 +10,8 @@ const args = {
|
|
|
10
10
|
request: operations.GetElasticIpRequest$inboundSchema,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
export const tool$
|
|
14
|
-
name: "elastic-
|
|
13
|
+
export const tool$elasticIpsGetElasticIp: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "elastic-ips-get-elastic-ip",
|
|
15
15
|
description: `Retrieve an Elastic IP
|
|
16
16
|
|
|
17
17
|
Returns a single Elastic IP by its ID.
|
|
@@ -20,7 +20,7 @@ Returns a single Elastic IP by its ID.
|
|
|
20
20
|
`,
|
|
21
21
|
args,
|
|
22
22
|
tool: async (client, args, ctx) => {
|
|
23
|
-
const [result, apiCall] = await
|
|
23
|
+
const [result, apiCall] = await elasticIpsGetElasticIp(
|
|
24
24
|
client,
|
|
25
25
|
args.request,
|
|
26
26
|
{ fetchOptions: { signal: ctx.signal } },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { elasticIpsListElasticIps } from "../../funcs/elasticIpsListElasticIps.js";
|
|
6
6
|
import * as operations from "../../models/operations/index.js";
|
|
7
7
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
8
|
|
|
@@ -10,8 +10,8 @@ const args = {
|
|
|
10
10
|
request: operations.ListElasticIpsRequest$inboundSchema.optional(),
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
export const tool$
|
|
14
|
-
name: "elastic-
|
|
13
|
+
export const tool$elasticIpsListElasticIps: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "elastic-ips-list-elastic-ips",
|
|
15
15
|
description: `List Elastic IPs
|
|
16
16
|
|
|
17
17
|
List all Elastic IPs for the authenticated team. Elastic IPs are static public IP addresses that can be assigned to servers and moved between servers within the same project.
|
|
@@ -20,7 +20,7 @@ List all Elastic IPs for the authenticated team. Elastic IPs are static public I
|
|
|
20
20
|
`,
|
|
21
21
|
args,
|
|
22
22
|
tool: async (client, args, ctx) => {
|
|
23
|
-
const [result, apiCall] = await
|
|
23
|
+
const [result, apiCall] = await elasticIpsListElasticIps(
|
|
24
24
|
client,
|
|
25
25
|
args.request,
|
|
26
26
|
{ fetchOptions: { signal: ctx.signal } },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { elasticIpsUpdateElasticIp } from "../../funcs/elasticIpsUpdateElasticIp.js";
|
|
6
6
|
import * as operations from "../../models/operations/index.js";
|
|
7
7
|
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
8
|
|
|
@@ -10,8 +10,8 @@ const args = {
|
|
|
10
10
|
request: operations.UpdateElasticIpRequest$inboundSchema,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
export const tool$
|
|
14
|
-
name: "elastic-
|
|
13
|
+
export const tool$elasticIpsUpdateElasticIp: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "elastic-ips-update-elastic-ip",
|
|
15
15
|
description: `Move an Elastic IP
|
|
16
16
|
|
|
17
17
|
Moves an Elastic IP to a different server within the same project. The reassignment is performed asynchronously.
|
|
@@ -20,7 +20,7 @@ Moves an Elastic IP to a different server within the same project. The reassignm
|
|
|
20
20
|
`,
|
|
21
21
|
args,
|
|
22
22
|
tool: async (client, args, ctx) => {
|
|
23
|
-
const [result, apiCall] = await
|
|
23
|
+
const [result, apiCall] = await elasticIpsUpdateElasticIp(
|
|
24
24
|
client,
|
|
25
25
|
args.request,
|
|
26
26
|
{ fetchOptions: { signal: ctx.signal } },
|
|
@@ -40,8 +40,9 @@ export type Mode = ClosedEnum<typeof Mode>;
|
|
|
40
40
|
* The current status of the Elastic IP
|
|
41
41
|
*/
|
|
42
42
|
export const ElasticIpDataStatus = {
|
|
43
|
-
|
|
43
|
+
Configuring: "configuring",
|
|
44
44
|
Active: "active",
|
|
45
|
+
Moving: "moving",
|
|
45
46
|
Releasing: "releasing",
|
|
46
47
|
Error: "error",
|
|
47
48
|
} as const;
|
|
@@ -57,6 +58,7 @@ export type ElasticIpDataServer = {
|
|
|
57
58
|
id?: string | undefined;
|
|
58
59
|
hostname?: string | undefined;
|
|
59
60
|
primaryIpv4?: string | undefined;
|
|
61
|
+
operatingSystem?: string | null | undefined;
|
|
60
62
|
};
|
|
61
63
|
|
|
62
64
|
/**
|
|
@@ -68,7 +70,21 @@ export type ElasticIpDataProject = {
|
|
|
68
70
|
slug?: string | undefined;
|
|
69
71
|
};
|
|
70
72
|
|
|
71
|
-
|
|
73
|
+
/**
|
|
74
|
+
* The site/location within the region
|
|
75
|
+
*/
|
|
76
|
+
export type ElasticIpDataLocation = {
|
|
77
|
+
/**
|
|
78
|
+
* The site ID
|
|
79
|
+
*/
|
|
80
|
+
id?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* The site name
|
|
83
|
+
*/
|
|
84
|
+
name?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* The site slug
|
|
87
|
+
*/
|
|
72
88
|
slug?: string | undefined;
|
|
73
89
|
};
|
|
74
90
|
|
|
@@ -76,8 +92,18 @@ export type ElasticIpDataSite = {
|
|
|
76
92
|
* The region where this Elastic IP is located
|
|
77
93
|
*/
|
|
78
94
|
export type ElasticIpDataRegion = {
|
|
79
|
-
|
|
80
|
-
|
|
95
|
+
/**
|
|
96
|
+
* The region ID
|
|
97
|
+
*/
|
|
98
|
+
id?: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* The region name
|
|
101
|
+
*/
|
|
102
|
+
name?: string | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* The site/location within the region
|
|
105
|
+
*/
|
|
106
|
+
location?: ElasticIpDataLocation | undefined;
|
|
81
107
|
};
|
|
82
108
|
|
|
83
109
|
export type ElasticIpDataAttributes = {
|
|
@@ -172,9 +198,11 @@ export const ElasticIpDataServer$inboundSchema: z.ZodType<
|
|
|
172
198
|
id: z.string().optional(),
|
|
173
199
|
hostname: z.string().optional(),
|
|
174
200
|
primary_ipv4: z.string().optional(),
|
|
201
|
+
operating_system: z.nullable(z.string()).optional(),
|
|
175
202
|
}).transform((v) => {
|
|
176
203
|
return remap$(v, {
|
|
177
204
|
"primary_ipv4": "primaryIpv4",
|
|
205
|
+
"operating_system": "operatingSystem",
|
|
178
206
|
});
|
|
179
207
|
});
|
|
180
208
|
/** @internal */
|
|
@@ -182,6 +210,7 @@ export type ElasticIpDataServer$Outbound = {
|
|
|
182
210
|
id?: string | undefined;
|
|
183
211
|
hostname?: string | undefined;
|
|
184
212
|
primary_ipv4?: string | undefined;
|
|
213
|
+
operating_system?: string | null | undefined;
|
|
185
214
|
};
|
|
186
215
|
|
|
187
216
|
/** @internal */
|
|
@@ -193,9 +222,11 @@ export const ElasticIpDataServer$outboundSchema: z.ZodType<
|
|
|
193
222
|
id: z.string().optional(),
|
|
194
223
|
hostname: z.string().optional(),
|
|
195
224
|
primaryIpv4: z.string().optional(),
|
|
225
|
+
operatingSystem: z.nullable(z.string()).optional(),
|
|
196
226
|
}).transform((v) => {
|
|
197
227
|
return remap$(v, {
|
|
198
228
|
primaryIpv4: "primary_ipv4",
|
|
229
|
+
operatingSystem: "operating_system",
|
|
199
230
|
});
|
|
200
231
|
});
|
|
201
232
|
|
|
@@ -262,41 +293,47 @@ export function elasticIpDataProjectFromJSON(
|
|
|
262
293
|
}
|
|
263
294
|
|
|
264
295
|
/** @internal */
|
|
265
|
-
export const
|
|
266
|
-
|
|
296
|
+
export const ElasticIpDataLocation$inboundSchema: z.ZodType<
|
|
297
|
+
ElasticIpDataLocation,
|
|
267
298
|
z.ZodTypeDef,
|
|
268
299
|
unknown
|
|
269
300
|
> = z.object({
|
|
301
|
+
id: z.string().optional(),
|
|
302
|
+
name: z.string().optional(),
|
|
270
303
|
slug: z.string().optional(),
|
|
271
304
|
});
|
|
272
305
|
/** @internal */
|
|
273
|
-
export type
|
|
306
|
+
export type ElasticIpDataLocation$Outbound = {
|
|
307
|
+
id?: string | undefined;
|
|
308
|
+
name?: string | undefined;
|
|
274
309
|
slug?: string | undefined;
|
|
275
310
|
};
|
|
276
311
|
|
|
277
312
|
/** @internal */
|
|
278
|
-
export const
|
|
279
|
-
|
|
313
|
+
export const ElasticIpDataLocation$outboundSchema: z.ZodType<
|
|
314
|
+
ElasticIpDataLocation$Outbound,
|
|
280
315
|
z.ZodTypeDef,
|
|
281
|
-
|
|
316
|
+
ElasticIpDataLocation
|
|
282
317
|
> = z.object({
|
|
318
|
+
id: z.string().optional(),
|
|
319
|
+
name: z.string().optional(),
|
|
283
320
|
slug: z.string().optional(),
|
|
284
321
|
});
|
|
285
322
|
|
|
286
|
-
export function
|
|
287
|
-
|
|
323
|
+
export function elasticIpDataLocationToJSON(
|
|
324
|
+
elasticIpDataLocation: ElasticIpDataLocation,
|
|
288
325
|
): string {
|
|
289
326
|
return JSON.stringify(
|
|
290
|
-
|
|
327
|
+
ElasticIpDataLocation$outboundSchema.parse(elasticIpDataLocation),
|
|
291
328
|
);
|
|
292
329
|
}
|
|
293
|
-
export function
|
|
330
|
+
export function elasticIpDataLocationFromJSON(
|
|
294
331
|
jsonString: string,
|
|
295
|
-
): SafeParseResult<
|
|
332
|
+
): SafeParseResult<ElasticIpDataLocation, SDKValidationError> {
|
|
296
333
|
return safeParse(
|
|
297
334
|
jsonString,
|
|
298
|
-
(x) =>
|
|
299
|
-
`Failed to parse '
|
|
335
|
+
(x) => ElasticIpDataLocation$inboundSchema.parse(JSON.parse(x)),
|
|
336
|
+
`Failed to parse 'ElasticIpDataLocation' from JSON`,
|
|
300
337
|
);
|
|
301
338
|
}
|
|
302
339
|
|
|
@@ -306,13 +343,15 @@ export const ElasticIpDataRegion$inboundSchema: z.ZodType<
|
|
|
306
343
|
z.ZodTypeDef,
|
|
307
344
|
unknown
|
|
308
345
|
> = z.object({
|
|
309
|
-
|
|
310
|
-
|
|
346
|
+
id: z.string().optional(),
|
|
347
|
+
name: z.string().optional(),
|
|
348
|
+
location: z.lazy(() => ElasticIpDataLocation$inboundSchema).optional(),
|
|
311
349
|
});
|
|
312
350
|
/** @internal */
|
|
313
351
|
export type ElasticIpDataRegion$Outbound = {
|
|
314
|
-
|
|
315
|
-
|
|
352
|
+
id?: string | undefined;
|
|
353
|
+
name?: string | undefined;
|
|
354
|
+
location?: ElasticIpDataLocation$Outbound | undefined;
|
|
316
355
|
};
|
|
317
356
|
|
|
318
357
|
/** @internal */
|
|
@@ -321,8 +360,9 @@ export const ElasticIpDataRegion$outboundSchema: z.ZodType<
|
|
|
321
360
|
z.ZodTypeDef,
|
|
322
361
|
ElasticIpDataRegion
|
|
323
362
|
> = z.object({
|
|
324
|
-
|
|
325
|
-
|
|
363
|
+
id: z.string().optional(),
|
|
364
|
+
name: z.string().optional(),
|
|
365
|
+
location: z.lazy(() => ElasticIpDataLocation$outboundSchema).optional(),
|
|
326
366
|
});
|
|
327
367
|
|
|
328
368
|
export function elasticIpDataRegionToJSON(
|