@nirvana-labs/nirvana 1.19.0 → 1.20.0
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/CHANGELOG.md +10 -0
- package/README.md +7 -7
- package/package.json +1 -1
- package/resources/connect/connect.d.mts +3 -3
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +3 -3
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js +2 -2
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs +3 -3
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/flux/flux.d.mts +2 -216
- package/resources/connect/flux/flux.d.mts.map +1 -1
- package/resources/connect/flux/flux.d.ts +2 -216
- package/resources/connect/flux/flux.d.ts.map +1 -1
- package/resources/connect/flux/flux.js +4 -70
- package/resources/connect/flux/flux.js.map +1 -1
- package/resources/connect/flux/flux.mjs +2 -68
- package/resources/connect/flux/flux.mjs.map +1 -1
- package/resources/connect/flux/index.d.mts +1 -1
- package/resources/connect/flux/index.d.mts.map +1 -1
- package/resources/connect/flux/index.d.ts +1 -1
- package/resources/connect/flux/index.d.ts.map +1 -1
- package/resources/connect/flux/index.js +2 -2
- package/resources/connect/flux/index.js.map +1 -1
- package/resources/connect/flux/index.mjs +1 -1
- package/resources/connect/flux/index.mjs.map +1 -1
- package/resources/connect/flux/routes.d.mts +0 -13
- package/resources/connect/flux/routes.d.mts.map +1 -1
- package/resources/connect/flux/routes.d.ts +0 -13
- package/resources/connect/flux/routes.d.ts.map +1 -1
- package/resources/connect/flux/routes.js +0 -12
- package/resources/connect/flux/routes.js.map +1 -1
- package/resources/connect/flux/routes.mjs +0 -12
- package/resources/connect/flux/routes.mjs.map +1 -1
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js +2 -2
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/networking/connect/connect.d.mts +130 -0
- package/resources/networking/connect/connect.d.mts.map +1 -0
- package/resources/networking/connect/connect.d.ts +130 -0
- package/resources/networking/connect/connect.d.ts.map +1 -0
- package/resources/networking/connect/connect.js +21 -0
- package/resources/networking/connect/connect.js.map +1 -0
- package/resources/networking/connect/connect.mjs +16 -0
- package/resources/networking/connect/connect.mjs.map +1 -0
- package/resources/networking/connect/connections.d.mts +114 -0
- package/resources/networking/connect/connections.d.mts.map +1 -0
- package/resources/networking/connect/connections.d.ts +114 -0
- package/resources/networking/connect/connections.d.ts.map +1 -0
- package/resources/networking/connect/connections.js +82 -0
- package/resources/networking/connect/connections.js.map +1 -0
- package/resources/networking/connect/connections.mjs +78 -0
- package/resources/networking/connect/connections.mjs.map +1 -0
- package/resources/networking/connect/index.d.mts +4 -0
- package/resources/networking/connect/index.d.mts.map +1 -0
- package/resources/networking/connect/index.d.ts +4 -0
- package/resources/networking/connect/index.d.ts.map +1 -0
- package/resources/networking/connect/index.js +11 -0
- package/resources/networking/connect/index.js.map +1 -0
- package/resources/networking/connect/index.mjs +5 -0
- package/resources/networking/connect/index.mjs.map +1 -0
- package/resources/networking/connect/routes.d.mts +17 -0
- package/resources/networking/connect/routes.d.mts.map +1 -0
- package/resources/networking/connect/routes.d.ts +17 -0
- package/resources/networking/connect/routes.d.ts.map +1 -0
- package/resources/networking/connect/routes.js +21 -0
- package/resources/networking/connect/routes.js.map +1 -0
- package/resources/networking/connect/routes.mjs +17 -0
- package/resources/networking/connect/routes.mjs.map +1 -0
- package/resources/networking/connect.d.mts +2 -0
- package/resources/networking/connect.d.mts.map +1 -0
- package/resources/networking/connect.d.ts +2 -0
- package/resources/networking/connect.d.ts.map +1 -0
- package/resources/networking/connect.js +6 -0
- package/resources/networking/connect.js.map +1 -0
- package/resources/networking/connect.mjs +3 -0
- package/resources/networking/connect.mjs.map +1 -0
- package/resources/networking/index.d.mts +1 -0
- package/resources/networking/index.d.mts.map +1 -1
- package/resources/networking/index.d.ts +1 -0
- package/resources/networking/index.d.ts.map +1 -1
- package/resources/networking/index.js +5 -3
- package/resources/networking/index.js.map +1 -1
- package/resources/networking/index.mjs +1 -0
- package/resources/networking/index.mjs.map +1 -1
- package/resources/networking/networking.d.mts +4 -0
- package/resources/networking/networking.d.mts.map +1 -1
- package/resources/networking/networking.d.ts +4 -0
- package/resources/networking/networking.d.ts.map +1 -1
- package/resources/networking/networking.js +4 -0
- package/resources/networking/networking.js.map +1 -1
- package/resources/networking/networking.mjs +4 -0
- package/resources/networking/networking.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.mts +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.js +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.js.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.mjs +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts +6 -0
- package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts +6 -0
- package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.js +6 -0
- package/resources/rpc-nodes/flex/blockchains.js.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.mjs +6 -0
- package/resources/rpc-nodes/flex/blockchains.mjs.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +70 -1
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +70 -1
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js +51 -0
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs +51 -0
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/resources/rpc-nodes/flex/index.d.mts +1 -1
- package/resources/rpc-nodes/flex/index.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/index.d.ts +1 -1
- package/resources/rpc-nodes/flex/index.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/index.js.map +1 -1
- package/resources/rpc-nodes/flex/index.mjs +1 -1
- package/resources/rpc-nodes/flex/index.mjs.map +1 -1
- package/resources/rpc-nodes/index.d.mts +1 -1
- package/resources/rpc-nodes/index.d.mts.map +1 -1
- package/resources/rpc-nodes/index.d.ts +1 -1
- package/resources/rpc-nodes/index.d.ts.map +1 -1
- package/resources/rpc-nodes/index.js.map +1 -1
- package/resources/rpc-nodes/index.mjs.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.mts +2 -2
- package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.ts +2 -2
- package/resources/rpc-nodes/rpc-nodes.d.ts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.js.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.mjs +1 -1
- package/resources/rpc-nodes/rpc-nodes.mjs.map +1 -1
- package/src/resources/connect/connect.ts +4 -26
- package/src/resources/connect/flux/flux.ts +3 -281
- package/src/resources/connect/flux/index.ts +1 -12
- package/src/resources/connect/flux/routes.ts +1 -17
- package/src/resources/connect/index.ts +1 -12
- package/src/resources/networking/connect/connect.ts +174 -0
- package/src/resources/networking/connect/connections.ts +148 -0
- package/src/resources/networking/connect/index.ts +14 -0
- package/src/resources/networking/connect/routes.ts +21 -0
- package/src/resources/networking/connect.ts +3 -0
- package/src/resources/networking/index.ts +10 -0
- package/src/resources/networking/networking.ts +24 -0
- package/src/resources/rpc-nodes/dedicated/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +13 -0
- package/src/resources/rpc-nodes/flex/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/flex/flex.ts +90 -0
- package/src/resources/rpc-nodes/flex/index.ts +9 -1
- package/src/resources/rpc-nodes/index.ts +2 -0
- package/src/resources/rpc-nodes/rpc-nodes.ts +11 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.20.0 (2025-10-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.19.0...v1.20.0](https://github.com/nirvana-labs/nirvana-typescript/compare/v1.19.0...v1.20.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([a45411c](https://github.com/nirvana-labs/nirvana-typescript/commit/a45411c08f619c6ab49fb8ef90d271b2da0ee7fe))
|
|
10
|
+
* **api:** api update ([59f87a6](https://github.com/nirvana-labs/nirvana-typescript/commit/59f87a672802fc197bb34465f169783465b666c8))
|
|
11
|
+
* **api:** api update ([49de5ff](https://github.com/nirvana-labs/nirvana-typescript/commit/49de5ff2876bfc9db08c3dc445262df8ea2bf8f3))
|
|
12
|
+
|
|
3
13
|
## 1.19.0 (2025-10-09)
|
|
4
14
|
|
|
5
15
|
Full Changelog: [v1.18.3...v1.19.0](https://github.com/nirvana-labs/nirvana-typescript/compare/v1.18.3...v1.19.0)
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ const operation = await client.compute.vms.create({
|
|
|
29
29
|
cpu_config: { vcpu: 2 },
|
|
30
30
|
memory_config: { size: 2 },
|
|
31
31
|
name: 'my-vm',
|
|
32
|
-
os_image_name: 'ubuntu-noble-2025-
|
|
32
|
+
os_image_name: 'ubuntu-noble-2025-10-01',
|
|
33
33
|
public_ip_enabled: true,
|
|
34
34
|
region: 'us-wdc-1',
|
|
35
35
|
ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' },
|
|
@@ -56,7 +56,7 @@ const params: NirvanaLabs.Compute.VMCreateParams = {
|
|
|
56
56
|
cpu_config: { vcpu: 2 },
|
|
57
57
|
memory_config: { size: 2 },
|
|
58
58
|
name: 'my-vm',
|
|
59
|
-
os_image_name: 'ubuntu-noble-2025-
|
|
59
|
+
os_image_name: 'ubuntu-noble-2025-10-01',
|
|
60
60
|
public_ip_enabled: true,
|
|
61
61
|
region: 'us-wdc-1',
|
|
62
62
|
ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' },
|
|
@@ -81,7 +81,7 @@ const operation = await client.compute.vms
|
|
|
81
81
|
cpu_config: { vcpu: 2 },
|
|
82
82
|
memory_config: { size: 2 },
|
|
83
83
|
name: 'my-vm',
|
|
84
|
-
os_image_name: 'ubuntu-noble-2025-
|
|
84
|
+
os_image_name: 'ubuntu-noble-2025-10-01',
|
|
85
85
|
public_ip_enabled: true,
|
|
86
86
|
region: 'us-wdc-1',
|
|
87
87
|
ssh_key: {
|
|
@@ -129,7 +129,7 @@ const client = new NirvanaLabs({
|
|
|
129
129
|
});
|
|
130
130
|
|
|
131
131
|
// Or, configure per-request:
|
|
132
|
-
await client.compute.vms.create({ boot_volume: { size: 100 }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-
|
|
132
|
+
await client.compute.vms.create({ boot_volume: { size: 100 }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-10-01', public_ip_enabled: true, region: 'us-wdc-1', ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' }, subnet_id: '123e4567-e89b-12d3-a456-426614174000' }, {
|
|
133
133
|
maxRetries: 5,
|
|
134
134
|
});
|
|
135
135
|
```
|
|
@@ -146,7 +146,7 @@ const client = new NirvanaLabs({
|
|
|
146
146
|
});
|
|
147
147
|
|
|
148
148
|
// Override per-request:
|
|
149
|
-
await client.compute.vms.create({ boot_volume: { size: 100 }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-
|
|
149
|
+
await client.compute.vms.create({ boot_volume: { size: 100 }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-10-01', public_ip_enabled: true, region: 'us-wdc-1', ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' }, subnet_id: '123e4567-e89b-12d3-a456-426614174000' }, {
|
|
150
150
|
timeout: 5 * 1000,
|
|
151
151
|
});
|
|
152
152
|
```
|
|
@@ -175,7 +175,7 @@ const response = await client.compute.vms
|
|
|
175
175
|
cpu_config: { vcpu: 2 },
|
|
176
176
|
memory_config: { size: 2 },
|
|
177
177
|
name: 'my-vm',
|
|
178
|
-
os_image_name: 'ubuntu-noble-2025-
|
|
178
|
+
os_image_name: 'ubuntu-noble-2025-10-01',
|
|
179
179
|
public_ip_enabled: true,
|
|
180
180
|
region: 'us-wdc-1',
|
|
181
181
|
ssh_key: {
|
|
@@ -193,7 +193,7 @@ const { data: operation, response: raw } = await client.compute.vms
|
|
|
193
193
|
cpu_config: { vcpu: 2 },
|
|
194
194
|
memory_config: { size: 2 },
|
|
195
195
|
name: 'my-vm',
|
|
196
|
-
os_image_name: 'ubuntu-noble-2025-
|
|
196
|
+
os_image_name: 'ubuntu-noble-2025-10-01',
|
|
197
197
|
public_ip_enabled: true,
|
|
198
198
|
region: 'us-wdc-1',
|
|
199
199
|
ssh_key: {
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
2
|
import * as FluxAPI from "./flux/flux.mjs";
|
|
3
|
-
import { Flux
|
|
3
|
+
import { Flux } from "./flux/flux.mjs";
|
|
4
4
|
export declare class Connect extends APIResource {
|
|
5
|
-
flux: FluxAPI.
|
|
5
|
+
flux: FluxAPI.Flux;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Connect {
|
|
8
|
-
export {
|
|
8
|
+
export { Flux as Flux };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=connect.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,
|
|
1
|
+
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;AAEf,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;CACzB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as FluxAPI from "./flux/flux.js";
|
|
3
|
-
import { Flux
|
|
3
|
+
import { Flux } from "./flux/flux.js";
|
|
4
4
|
export declare class Connect extends APIResource {
|
|
5
|
-
flux: FluxAPI.
|
|
5
|
+
flux: FluxAPI.Flux;
|
|
6
6
|
}
|
|
7
7
|
export declare namespace Connect {
|
|
8
|
-
export {
|
|
8
|
+
export { Flux as Flux };
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=connect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;AAEf,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;CACzB"}
|
|
@@ -9,9 +9,9 @@ const flux_1 = require("./flux/flux.js");
|
|
|
9
9
|
class Connect extends resource_1.APIResource {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
12
|
-
this.flux = new FluxAPI.
|
|
12
|
+
this.flux = new FluxAPI.Flux(this._client);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
exports.Connect = Connect;
|
|
16
|
-
Connect.
|
|
16
|
+
Connect.Flux = flux_1.Flux;
|
|
17
17
|
//# sourceMappingURL=connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,gEAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,gEAAuC;AACvC,yCAAmC;AAEnC,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC;CAAA;AAFD,0BAEC;AAED,OAAO,CAAC,IAAI,GAAG,WAAI,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
import * as FluxAPI from "./flux/flux.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { Flux } from "./flux/flux.mjs";
|
|
5
5
|
export class Connect extends APIResource {
|
|
6
6
|
constructor() {
|
|
7
7
|
super(...arguments);
|
|
8
|
-
this.flux = new FluxAPI.
|
|
8
|
+
this.flux = new FluxAPI.Flux(this._client);
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
Connect.
|
|
11
|
+
Connect.Flux = Flux;
|
|
12
12
|
//# sourceMappingURL=connect.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,
|
|
1
|
+
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC;CAAA;AAED,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC"}
|
|
@@ -1,224 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as OperationsAPI from "../../operations.mjs";
|
|
3
|
-
import * as Shared from "../../shared.mjs";
|
|
4
2
|
import * as RoutesAPI from "./routes.mjs";
|
|
5
3
|
import { Routes } from "./routes.mjs";
|
|
6
|
-
|
|
7
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
8
|
-
export declare class FluxResource extends APIResource {
|
|
4
|
+
export declare class Flux extends APIResource {
|
|
9
5
|
routes: RoutesAPI.Routes;
|
|
10
|
-
/**
|
|
11
|
-
* Create a Connect Flux
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* const operation = await client.connect.flux.create({
|
|
16
|
-
* bandwidth_mbps: 50,
|
|
17
|
-
* cidrs: ['10.0.0.0/16'],
|
|
18
|
-
* name: 'my-connect-flux',
|
|
19
|
-
* provider_cidrs: ['172.16.0.0/16'],
|
|
20
|
-
* region: 'us-wdc-1',
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
create(body: FluxCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
25
|
-
/**
|
|
26
|
-
* Update Connect Flux details
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* const operation = await client.connect.flux.update(
|
|
31
|
-
* 'flux_id',
|
|
32
|
-
* );
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
update(fluxID: string, body: FluxUpdateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
36
|
-
/**
|
|
37
|
-
* List all Connect Flux
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* ```ts
|
|
41
|
-
* const fluxList = await client.connect.flux.list();
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
list(options?: RequestOptions): APIPromise<FluxList>;
|
|
45
|
-
/**
|
|
46
|
-
* Delete Connect Flux
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```ts
|
|
50
|
-
* const operation = await client.connect.flux.delete(
|
|
51
|
-
* 'flux_id',
|
|
52
|
-
* );
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
delete(fluxID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
56
|
-
/**
|
|
57
|
-
* Get Connect Flux details
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* ```ts
|
|
61
|
-
* const flux = await client.connect.flux.get('flux_id');
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
get(fluxID: string, options?: RequestOptions): APIPromise<Flux>;
|
|
65
6
|
}
|
|
66
|
-
|
|
67
|
-
* Connect flux details.
|
|
68
|
-
*/
|
|
69
|
-
export interface Flux {
|
|
70
|
-
/**
|
|
71
|
-
* Unique identifier for the Connect Flux
|
|
72
|
-
*/
|
|
73
|
-
id: string;
|
|
74
|
-
/**
|
|
75
|
-
* ASN
|
|
76
|
-
*/
|
|
77
|
-
asn: number | null;
|
|
78
|
-
/**
|
|
79
|
-
* AWS provider configuration
|
|
80
|
-
*/
|
|
81
|
-
aws: FluxProviderAWSConfig | null;
|
|
82
|
-
/**
|
|
83
|
-
* Connect Flux speed in Mbps
|
|
84
|
-
*/
|
|
85
|
-
bandwidth_mbps: FluxBandwidthMbps;
|
|
86
|
-
/**
|
|
87
|
-
* CIDRs for the Connect Flux
|
|
88
|
-
*/
|
|
89
|
-
cidrs: Array<string>;
|
|
90
|
-
/**
|
|
91
|
-
* When the Connect Flux was created
|
|
92
|
-
*/
|
|
93
|
-
created_at: string;
|
|
94
|
-
/**
|
|
95
|
-
* Name of the Connect Flux
|
|
96
|
-
*/
|
|
97
|
-
name: string;
|
|
98
|
-
/**
|
|
99
|
-
* Provider ASN
|
|
100
|
-
*/
|
|
101
|
-
provider_asn: number | null;
|
|
102
|
-
/**
|
|
103
|
-
* Provider CIDRs for the Connect Flux
|
|
104
|
-
*/
|
|
105
|
-
provider_cidrs: Array<string>;
|
|
106
|
-
/**
|
|
107
|
-
* Provider Router IP
|
|
108
|
-
*/
|
|
109
|
-
provider_router_ip: string | null;
|
|
110
|
-
/**
|
|
111
|
-
* Region the resource is in.
|
|
112
|
-
*/
|
|
113
|
-
region: Shared.RegionName;
|
|
114
|
-
/**
|
|
115
|
-
* Router IP
|
|
116
|
-
*/
|
|
117
|
-
router_ip: string | null;
|
|
118
|
-
/**
|
|
119
|
-
* Status of the resource.
|
|
120
|
-
*/
|
|
121
|
-
status: Shared.ResourceStatus;
|
|
122
|
-
/**
|
|
123
|
-
* Tags to attach to the Connect Flux
|
|
124
|
-
*/
|
|
125
|
-
tags: Array<string>;
|
|
126
|
-
/**
|
|
127
|
-
* When the Connect Flux was updated
|
|
128
|
-
*/
|
|
129
|
-
updated_at: string;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Connect Flux speed in Mbps
|
|
133
|
-
*/
|
|
134
|
-
export type FluxBandwidthMbps = 50 | 200 | 500 | 1000 | 2000;
|
|
135
|
-
export interface FluxList {
|
|
136
|
-
items: Array<Flux>;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* AWS provider configuration
|
|
140
|
-
*/
|
|
141
|
-
export interface FluxProviderAWSConfig {
|
|
142
|
-
/**
|
|
143
|
-
* AWS region where the connection is established
|
|
144
|
-
*/
|
|
145
|
-
region: string;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* AWS provider configuration
|
|
149
|
-
*/
|
|
150
|
-
export interface FluxProviderAWSConfigRequest {
|
|
151
|
-
/**
|
|
152
|
-
* AWS account id
|
|
153
|
-
*/
|
|
154
|
-
account_id: string;
|
|
155
|
-
/**
|
|
156
|
-
* AWS region where the connection will be established
|
|
157
|
-
*/
|
|
158
|
-
region: string;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Routes supported for Connect Flux.
|
|
162
|
-
*/
|
|
163
|
-
export interface FluxRoute {
|
|
164
|
-
/**
|
|
165
|
-
* Region the resource is in.
|
|
166
|
-
*/
|
|
167
|
-
nirvana_region: Shared.RegionName;
|
|
168
|
-
/**
|
|
169
|
-
* Provider name.
|
|
170
|
-
*/
|
|
171
|
-
provider: string;
|
|
172
|
-
/**
|
|
173
|
-
* Provider region name.
|
|
174
|
-
*/
|
|
175
|
-
provider_region: string;
|
|
176
|
-
}
|
|
177
|
-
export interface FluxRouteList {
|
|
178
|
-
items: Array<FluxRoute>;
|
|
179
|
-
}
|
|
180
|
-
export interface FluxCreateParams {
|
|
181
|
-
/**
|
|
182
|
-
* Connect Flux speed in Mbps
|
|
183
|
-
*/
|
|
184
|
-
bandwidth_mbps: FluxBandwidthMbps;
|
|
185
|
-
/**
|
|
186
|
-
* CIDRs for the Connect Flux
|
|
187
|
-
*/
|
|
188
|
-
cidrs: Array<string>;
|
|
189
|
-
/**
|
|
190
|
-
* Name of the Connect Flux
|
|
191
|
-
*/
|
|
192
|
-
name: string;
|
|
193
|
-
/**
|
|
194
|
-
* Provider CIDRs
|
|
195
|
-
*/
|
|
196
|
-
provider_cidrs: Array<string>;
|
|
197
|
-
/**
|
|
198
|
-
* Region the resource is in.
|
|
199
|
-
*/
|
|
200
|
-
region: Shared.RegionName;
|
|
201
|
-
/**
|
|
202
|
-
* AWS provider configuration
|
|
203
|
-
*/
|
|
204
|
-
aws?: FluxProviderAWSConfigRequest;
|
|
205
|
-
/**
|
|
206
|
-
* Tags to attach to the Connect Flux
|
|
207
|
-
*/
|
|
208
|
-
tags?: Array<string>;
|
|
209
|
-
}
|
|
210
|
-
export interface FluxUpdateParams {
|
|
211
|
-
/**
|
|
212
|
-
* Name of the Connect Flux.
|
|
213
|
-
*/
|
|
214
|
-
name?: string;
|
|
215
|
-
/**
|
|
216
|
-
* Tags to attach to the Connect Flux
|
|
217
|
-
*/
|
|
218
|
-
tags?: Array<string>;
|
|
219
|
-
}
|
|
220
|
-
export declare namespace FluxResource {
|
|
221
|
-
export { type Flux as Flux, type FluxBandwidthMbps as FluxBandwidthMbps, type FluxList as FluxList, type FluxProviderAWSConfig as FluxProviderAWSConfig, type FluxProviderAWSConfigRequest as FluxProviderAWSConfigRequest, type FluxRoute as FluxRoute, type FluxRouteList as FluxRouteList, type FluxCreateParams as FluxCreateParams, type FluxUpdateParams as FluxUpdateParams, };
|
|
7
|
+
export declare namespace Flux {
|
|
222
8
|
export { Routes as Routes };
|
|
223
9
|
}
|
|
224
10
|
//# sourceMappingURL=flux.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,
|
|
1
|
+
{"version":3,"file":"flux.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;AAEjB,qBAAa,IAAK,SAAQ,WAAW;IACnC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
|
|
@@ -1,224 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as OperationsAPI from "../../operations.js";
|
|
3
|
-
import * as Shared from "../../shared.js";
|
|
4
2
|
import * as RoutesAPI from "./routes.js";
|
|
5
3
|
import { Routes } from "./routes.js";
|
|
6
|
-
|
|
7
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
8
|
-
export declare class FluxResource extends APIResource {
|
|
4
|
+
export declare class Flux extends APIResource {
|
|
9
5
|
routes: RoutesAPI.Routes;
|
|
10
|
-
/**
|
|
11
|
-
* Create a Connect Flux
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```ts
|
|
15
|
-
* const operation = await client.connect.flux.create({
|
|
16
|
-
* bandwidth_mbps: 50,
|
|
17
|
-
* cidrs: ['10.0.0.0/16'],
|
|
18
|
-
* name: 'my-connect-flux',
|
|
19
|
-
* provider_cidrs: ['172.16.0.0/16'],
|
|
20
|
-
* region: 'us-wdc-1',
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
create(body: FluxCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
25
|
-
/**
|
|
26
|
-
* Update Connect Flux details
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* const operation = await client.connect.flux.update(
|
|
31
|
-
* 'flux_id',
|
|
32
|
-
* );
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
update(fluxID: string, body: FluxUpdateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
36
|
-
/**
|
|
37
|
-
* List all Connect Flux
|
|
38
|
-
*
|
|
39
|
-
* @example
|
|
40
|
-
* ```ts
|
|
41
|
-
* const fluxList = await client.connect.flux.list();
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
list(options?: RequestOptions): APIPromise<FluxList>;
|
|
45
|
-
/**
|
|
46
|
-
* Delete Connect Flux
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* ```ts
|
|
50
|
-
* const operation = await client.connect.flux.delete(
|
|
51
|
-
* 'flux_id',
|
|
52
|
-
* );
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
delete(fluxID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
|
|
56
|
-
/**
|
|
57
|
-
* Get Connect Flux details
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* ```ts
|
|
61
|
-
* const flux = await client.connect.flux.get('flux_id');
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
64
|
-
get(fluxID: string, options?: RequestOptions): APIPromise<Flux>;
|
|
65
6
|
}
|
|
66
|
-
|
|
67
|
-
* Connect flux details.
|
|
68
|
-
*/
|
|
69
|
-
export interface Flux {
|
|
70
|
-
/**
|
|
71
|
-
* Unique identifier for the Connect Flux
|
|
72
|
-
*/
|
|
73
|
-
id: string;
|
|
74
|
-
/**
|
|
75
|
-
* ASN
|
|
76
|
-
*/
|
|
77
|
-
asn: number | null;
|
|
78
|
-
/**
|
|
79
|
-
* AWS provider configuration
|
|
80
|
-
*/
|
|
81
|
-
aws: FluxProviderAWSConfig | null;
|
|
82
|
-
/**
|
|
83
|
-
* Connect Flux speed in Mbps
|
|
84
|
-
*/
|
|
85
|
-
bandwidth_mbps: FluxBandwidthMbps;
|
|
86
|
-
/**
|
|
87
|
-
* CIDRs for the Connect Flux
|
|
88
|
-
*/
|
|
89
|
-
cidrs: Array<string>;
|
|
90
|
-
/**
|
|
91
|
-
* When the Connect Flux was created
|
|
92
|
-
*/
|
|
93
|
-
created_at: string;
|
|
94
|
-
/**
|
|
95
|
-
* Name of the Connect Flux
|
|
96
|
-
*/
|
|
97
|
-
name: string;
|
|
98
|
-
/**
|
|
99
|
-
* Provider ASN
|
|
100
|
-
*/
|
|
101
|
-
provider_asn: number | null;
|
|
102
|
-
/**
|
|
103
|
-
* Provider CIDRs for the Connect Flux
|
|
104
|
-
*/
|
|
105
|
-
provider_cidrs: Array<string>;
|
|
106
|
-
/**
|
|
107
|
-
* Provider Router IP
|
|
108
|
-
*/
|
|
109
|
-
provider_router_ip: string | null;
|
|
110
|
-
/**
|
|
111
|
-
* Region the resource is in.
|
|
112
|
-
*/
|
|
113
|
-
region: Shared.RegionName;
|
|
114
|
-
/**
|
|
115
|
-
* Router IP
|
|
116
|
-
*/
|
|
117
|
-
router_ip: string | null;
|
|
118
|
-
/**
|
|
119
|
-
* Status of the resource.
|
|
120
|
-
*/
|
|
121
|
-
status: Shared.ResourceStatus;
|
|
122
|
-
/**
|
|
123
|
-
* Tags to attach to the Connect Flux
|
|
124
|
-
*/
|
|
125
|
-
tags: Array<string>;
|
|
126
|
-
/**
|
|
127
|
-
* When the Connect Flux was updated
|
|
128
|
-
*/
|
|
129
|
-
updated_at: string;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Connect Flux speed in Mbps
|
|
133
|
-
*/
|
|
134
|
-
export type FluxBandwidthMbps = 50 | 200 | 500 | 1000 | 2000;
|
|
135
|
-
export interface FluxList {
|
|
136
|
-
items: Array<Flux>;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* AWS provider configuration
|
|
140
|
-
*/
|
|
141
|
-
export interface FluxProviderAWSConfig {
|
|
142
|
-
/**
|
|
143
|
-
* AWS region where the connection is established
|
|
144
|
-
*/
|
|
145
|
-
region: string;
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* AWS provider configuration
|
|
149
|
-
*/
|
|
150
|
-
export interface FluxProviderAWSConfigRequest {
|
|
151
|
-
/**
|
|
152
|
-
* AWS account id
|
|
153
|
-
*/
|
|
154
|
-
account_id: string;
|
|
155
|
-
/**
|
|
156
|
-
* AWS region where the connection will be established
|
|
157
|
-
*/
|
|
158
|
-
region: string;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Routes supported for Connect Flux.
|
|
162
|
-
*/
|
|
163
|
-
export interface FluxRoute {
|
|
164
|
-
/**
|
|
165
|
-
* Region the resource is in.
|
|
166
|
-
*/
|
|
167
|
-
nirvana_region: Shared.RegionName;
|
|
168
|
-
/**
|
|
169
|
-
* Provider name.
|
|
170
|
-
*/
|
|
171
|
-
provider: string;
|
|
172
|
-
/**
|
|
173
|
-
* Provider region name.
|
|
174
|
-
*/
|
|
175
|
-
provider_region: string;
|
|
176
|
-
}
|
|
177
|
-
export interface FluxRouteList {
|
|
178
|
-
items: Array<FluxRoute>;
|
|
179
|
-
}
|
|
180
|
-
export interface FluxCreateParams {
|
|
181
|
-
/**
|
|
182
|
-
* Connect Flux speed in Mbps
|
|
183
|
-
*/
|
|
184
|
-
bandwidth_mbps: FluxBandwidthMbps;
|
|
185
|
-
/**
|
|
186
|
-
* CIDRs for the Connect Flux
|
|
187
|
-
*/
|
|
188
|
-
cidrs: Array<string>;
|
|
189
|
-
/**
|
|
190
|
-
* Name of the Connect Flux
|
|
191
|
-
*/
|
|
192
|
-
name: string;
|
|
193
|
-
/**
|
|
194
|
-
* Provider CIDRs
|
|
195
|
-
*/
|
|
196
|
-
provider_cidrs: Array<string>;
|
|
197
|
-
/**
|
|
198
|
-
* Region the resource is in.
|
|
199
|
-
*/
|
|
200
|
-
region: Shared.RegionName;
|
|
201
|
-
/**
|
|
202
|
-
* AWS provider configuration
|
|
203
|
-
*/
|
|
204
|
-
aws?: FluxProviderAWSConfigRequest;
|
|
205
|
-
/**
|
|
206
|
-
* Tags to attach to the Connect Flux
|
|
207
|
-
*/
|
|
208
|
-
tags?: Array<string>;
|
|
209
|
-
}
|
|
210
|
-
export interface FluxUpdateParams {
|
|
211
|
-
/**
|
|
212
|
-
* Name of the Connect Flux.
|
|
213
|
-
*/
|
|
214
|
-
name?: string;
|
|
215
|
-
/**
|
|
216
|
-
* Tags to attach to the Connect Flux
|
|
217
|
-
*/
|
|
218
|
-
tags?: Array<string>;
|
|
219
|
-
}
|
|
220
|
-
export declare namespace FluxResource {
|
|
221
|
-
export { type Flux as Flux, type FluxBandwidthMbps as FluxBandwidthMbps, type FluxList as FluxList, type FluxProviderAWSConfig as FluxProviderAWSConfig, type FluxProviderAWSConfigRequest as FluxProviderAWSConfigRequest, type FluxRoute as FluxRoute, type FluxRouteList as FluxRouteList, type FluxCreateParams as FluxCreateParams, type FluxUpdateParams as FluxUpdateParams, };
|
|
7
|
+
export declare namespace Flux {
|
|
222
8
|
export { Routes as Routes };
|
|
223
9
|
}
|
|
224
10
|
//# sourceMappingURL=flux.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,
|
|
1
|
+
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;AAEjB,qBAAa,IAAK,SAAQ,WAAW;IACnC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
|