@nirvana-labs/nirvana 1.17.3 → 1.18.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 +50 -0
- package/bin/cli +4 -10
- package/client.d.mts +1 -1
- package/client.d.ts +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/api-keys.d.mts +25 -13
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +25 -13
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/compute/vms/availability.d.mts +3 -3
- package/resources/compute/vms/availability.d.ts +3 -3
- package/resources/compute/vms/vms.d.mts +3 -3
- package/resources/compute/vms/vms.d.ts +3 -3
- package/resources/compute/volumes/availability.d.mts +5 -5
- package/resources/compute/volumes/availability.d.ts +5 -5
- package/resources/compute/volumes/volumes.d.mts +14 -14
- package/resources/compute/volumes/volumes.d.ts +14 -14
- package/resources/connect/connect.d.mts +4 -4
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +4 -4
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js +4 -4
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs +4 -4
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/flux/flux.d.mts +204 -0
- package/resources/connect/flux/flux.d.mts.map +1 -0
- package/resources/connect/flux/flux.d.ts +204 -0
- package/resources/connect/flux/flux.d.ts.map +1 -0
- package/resources/connect/flux/flux.js +83 -0
- package/resources/connect/flux/flux.js.map +1 -0
- package/resources/connect/flux/flux.mjs +78 -0
- package/resources/connect/flux/flux.mjs.map +1 -0
- package/resources/connect/flux/index.d.mts +3 -0
- package/resources/connect/flux/index.d.mts.map +1 -0
- package/resources/connect/flux/index.d.ts +3 -0
- package/resources/connect/flux/index.d.ts.map +1 -0
- package/resources/connect/flux/index.js +9 -0
- package/resources/connect/flux/index.js.map +1 -0
- package/resources/connect/flux/index.mjs +4 -0
- package/resources/connect/flux/index.mjs.map +1 -0
- package/resources/connect/flux/providers.d.mts +17 -0
- package/resources/connect/flux/providers.d.mts.map +1 -0
- package/resources/connect/flux/providers.d.ts +17 -0
- package/resources/connect/flux/providers.d.ts.map +1 -0
- package/resources/connect/flux/providers.js +21 -0
- package/resources/connect/flux/providers.js.map +1 -0
- package/resources/connect/flux/providers.mjs +17 -0
- package/resources/connect/flux/providers.mjs.map +1 -0
- package/resources/connect/flux.d.mts +1 -69
- package/resources/connect/flux.d.mts.map +1 -1
- package/resources/connect/flux.d.ts +1 -69
- package/resources/connect/flux.d.ts.map +1 -1
- package/resources/connect/flux.js +2 -18
- package/resources/connect/flux.js.map +1 -1
- package/resources/connect/flux.mjs +1 -16
- package/resources/connect/flux.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 +3 -3
- 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/firewall-rules.d.mts +19 -19
- package/resources/networking/firewall-rules.d.ts +19 -19
- package/resources/networking/vpcs/vpcs.d.mts +5 -5
- package/resources/networking/vpcs/vpcs.d.ts +5 -5
- package/resources/operations.d.mts +10 -10
- package/resources/operations.d.ts +10 -10
- package/resources/rpc-nodes/dedicated/blockchains.d.mts +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +12 -12
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +12 -12
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js +4 -4
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs +2 -2
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/index.d.mts +1 -1
- package/resources/rpc-nodes/dedicated/index.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/index.d.ts +1 -1
- package/resources/rpc-nodes/dedicated/index.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/index.js +2 -2
- package/resources/rpc-nodes/dedicated/index.js.map +1 -1
- package/resources/rpc-nodes/dedicated/index.mjs +1 -1
- package/resources/rpc-nodes/dedicated/index.mjs.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +12 -12
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +12 -12
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js +4 -4
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs +2 -2
- 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 +2 -2
- 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 +2 -2
- package/resources/rpc-nodes/index.d.mts.map +1 -1
- package/resources/rpc-nodes/index.d.ts +2 -2
- package/resources/rpc-nodes/index.d.ts.map +1 -1
- package/resources/rpc-nodes/index.js +3 -3
- package/resources/rpc-nodes/index.js.map +1 -1
- package/resources/rpc-nodes/index.mjs +2 -2
- package/resources/rpc-nodes/index.mjs.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.mts +6 -6
- package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.ts +6 -6
- package/resources/rpc-nodes/rpc-nodes.d.ts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.js +4 -4
- package/resources/rpc-nodes/rpc-nodes.js.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.mjs +6 -6
- package/resources/rpc-nodes/rpc-nodes.mjs.map +1 -1
- package/resources/user.d.mts +6 -3
- package/resources/user.d.mts.map +1 -1
- package/resources/user.d.ts +6 -3
- package/resources/user.d.ts.map +1 -1
- package/src/client.ts +3 -3
- package/src/resources/api-keys.ts +28 -13
- package/src/resources/compute/vms/availability.ts +3 -3
- package/src/resources/compute/vms/vms.ts +3 -3
- package/src/resources/compute/volumes/availability.ts +5 -5
- package/src/resources/compute/volumes/volumes.ts +14 -14
- package/src/resources/connect/connect.ts +25 -5
- package/src/resources/connect/flux/flux.ts +267 -0
- package/src/resources/connect/flux/index.ts +14 -0
- package/src/resources/connect/flux/providers.ts +21 -0
- package/src/resources/connect/flux.ts +1 -89
- package/src/resources/connect/index.ts +11 -1
- package/src/resources/networking/firewall-rules.ts +19 -19
- package/src/resources/networking/vpcs/vpcs.ts +5 -5
- package/src/resources/operations.ts +10 -10
- package/src/resources/rpc-nodes/dedicated/blockchains.ts +1 -1
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +16 -16
- package/src/resources/rpc-nodes/dedicated/index.ts +5 -5
- package/src/resources/rpc-nodes/flex/blockchains.ts +1 -1
- package/src/resources/rpc-nodes/flex/flex.ts +16 -16
- package/src/resources/rpc-nodes/flex/index.ts +1 -7
- package/src/resources/rpc-nodes/index.ts +10 -10
- package/src/resources/rpc-nodes/rpc-nodes.ts +19 -25
- package/src/resources/user.ts +6 -3
- 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
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
-
class Flux extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* List all Connect Flux
|
|
10
|
-
*/
|
|
11
|
-
list(options) {
|
|
12
|
-
return this._client.get('/v1/connect/flux', options);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Get Connect Flux details
|
|
16
|
-
*/
|
|
17
|
-
get(fluxID, options) {
|
|
18
|
-
return this._client.get((0, path_1.path) `/v1/connect/flux/${fluxID}`, options);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.Flux = Flux;
|
|
4
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./flux/index.js"), exports);
|
|
22
6
|
//# sourceMappingURL=flux.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.js","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"flux.js","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA6B"}
|
|
@@ -1,18 +1,3 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
-
export class Flux extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* List all Connect Flux
|
|
7
|
-
*/
|
|
8
|
-
list(options) {
|
|
9
|
-
return this._client.get('/v1/connect/flux', options);
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Get Connect Flux details
|
|
13
|
-
*/
|
|
14
|
-
get(fluxID, options) {
|
|
15
|
-
return this._client.get(path `/v1/connect/flux/${fluxID}`, options);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
2
|
+
export * from "./flux/index.mjs";
|
|
18
3
|
//# sourceMappingURL=flux.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flux.mjs","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":"AAAA,sFAAsF
|
|
1
|
+
{"version":3,"file":"flux.mjs","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Connect } from "./connect.mjs";
|
|
2
|
-
export { Flux, type
|
|
2
|
+
export { FluxResource, type Flux, type FluxList, type FluxProvider, type FluxProviderAWSConfig, type FluxProviderAWSConfigRequest, type FluxProviderList, type FluxCreateParams, type FluxUpdateParams, } from "./flux/index.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Connect } from "./connect.js";
|
|
2
|
-
export { Flux, type
|
|
2
|
+
export { FluxResource, type Flux, type FluxList, type FluxProvider, type FluxProviderAWSConfig, type FluxProviderAWSConfigRequest, type FluxProviderList, type FluxCreateParams, type FluxUpdateParams, } from "./flux/index.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.FluxResource = exports.Connect = void 0;
|
|
5
5
|
var connect_1 = require("./connect.js");
|
|
6
6
|
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
7
|
-
var
|
|
8
|
-
Object.defineProperty(exports, "
|
|
7
|
+
var index_1 = require("./flux/index.js");
|
|
8
|
+
Object.defineProperty(exports, "FluxResource", { enumerable: true, get: function () { return index_1.FluxResource; } });
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,yCAUsB;AATpB,qGAAA,YAAY,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EACL,YAAY,GASb"}
|
|
@@ -75,31 +75,31 @@ export declare class FirewallRules extends APIResource {
|
|
|
75
75
|
*/
|
|
76
76
|
export interface FirewallRule {
|
|
77
77
|
/**
|
|
78
|
-
* Unique identifier for the
|
|
78
|
+
* Unique identifier for the Firewall Rule.
|
|
79
79
|
*/
|
|
80
80
|
id: string;
|
|
81
81
|
/**
|
|
82
|
-
* When the
|
|
82
|
+
* When the Firewall Rule was created.
|
|
83
83
|
*/
|
|
84
84
|
created_at: string;
|
|
85
85
|
/**
|
|
86
|
-
* Destination address of the
|
|
86
|
+
* Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
|
|
87
87
|
*/
|
|
88
88
|
destination_address: string;
|
|
89
89
|
/**
|
|
90
|
-
* Destination ports of the
|
|
90
|
+
* Destination ports of the Firewall Rule.
|
|
91
91
|
*/
|
|
92
92
|
destination_ports: Array<string>;
|
|
93
93
|
/**
|
|
94
|
-
* Name of the
|
|
94
|
+
* Name of the Firewall Rule.
|
|
95
95
|
*/
|
|
96
96
|
name: string;
|
|
97
97
|
/**
|
|
98
|
-
* Protocol of the
|
|
98
|
+
* Protocol of the Firewall Rule.
|
|
99
99
|
*/
|
|
100
100
|
protocol: 'tcp' | 'udp';
|
|
101
101
|
/**
|
|
102
|
-
* Source address of the
|
|
102
|
+
* Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
|
|
103
103
|
* of 0.
|
|
104
104
|
*/
|
|
105
105
|
source_address: string;
|
|
@@ -108,11 +108,11 @@ export interface FirewallRule {
|
|
|
108
108
|
*/
|
|
109
109
|
status: Shared.ResourceStatus;
|
|
110
110
|
/**
|
|
111
|
-
* When the
|
|
111
|
+
* When the Firewall Rule was updated.
|
|
112
112
|
*/
|
|
113
113
|
updated_at: string;
|
|
114
114
|
/**
|
|
115
|
-
* ID of the VPC the
|
|
115
|
+
* ID of the VPC the Firewall Rule belongs to.
|
|
116
116
|
*/
|
|
117
117
|
vpc_id: string;
|
|
118
118
|
}
|
|
@@ -121,23 +121,23 @@ export interface FirewallRuleList {
|
|
|
121
121
|
}
|
|
122
122
|
export interface FirewallRuleCreateParams {
|
|
123
123
|
/**
|
|
124
|
-
* Destination address of the
|
|
124
|
+
* Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
|
|
125
125
|
*/
|
|
126
126
|
destination_address: string;
|
|
127
127
|
/**
|
|
128
|
-
* Destination ports of the
|
|
128
|
+
* Destination ports of the Firewall Rule.
|
|
129
129
|
*/
|
|
130
130
|
destination_ports: Array<string>;
|
|
131
131
|
/**
|
|
132
|
-
* Name of the
|
|
132
|
+
* Name of the Firewall Rule.
|
|
133
133
|
*/
|
|
134
134
|
name: string;
|
|
135
135
|
/**
|
|
136
|
-
* Protocol of the
|
|
136
|
+
* Protocol of the Firewall Rule.
|
|
137
137
|
*/
|
|
138
138
|
protocol: 'tcp' | 'udp';
|
|
139
139
|
/**
|
|
140
|
-
* Source address of the
|
|
140
|
+
* Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
|
|
141
141
|
* of 0.
|
|
142
142
|
*/
|
|
143
143
|
source_address: string;
|
|
@@ -148,24 +148,24 @@ export interface FirewallRuleUpdateParams {
|
|
|
148
148
|
*/
|
|
149
149
|
vpc_id: string;
|
|
150
150
|
/**
|
|
151
|
-
* Body param: Destination address of the
|
|
151
|
+
* Body param: Destination address of the Firewall Rule. Either VPC CIDR or VM in
|
|
152
152
|
* VPC.
|
|
153
153
|
*/
|
|
154
154
|
destination_address?: string;
|
|
155
155
|
/**
|
|
156
|
-
* Body param: Destination ports of the
|
|
156
|
+
* Body param: Destination ports of the Firewall Rule.
|
|
157
157
|
*/
|
|
158
158
|
destination_ports?: Array<string>;
|
|
159
159
|
/**
|
|
160
|
-
* Body param: Name of the
|
|
160
|
+
* Body param: Name of the Firewall Rule.
|
|
161
161
|
*/
|
|
162
162
|
name?: string;
|
|
163
163
|
/**
|
|
164
|
-
* Body param: Protocol of the
|
|
164
|
+
* Body param: Protocol of the Firewall Rule.
|
|
165
165
|
*/
|
|
166
166
|
protocol?: 'tcp' | 'udp';
|
|
167
167
|
/**
|
|
168
|
-
* Body param: Source address of the
|
|
168
|
+
* Body param: Source address of the Firewall Rule. Address of 0.0.0.0 requires a
|
|
169
169
|
* CIDR mask of 0.
|
|
170
170
|
*/
|
|
171
171
|
source_address?: string;
|
|
@@ -75,31 +75,31 @@ export declare class FirewallRules extends APIResource {
|
|
|
75
75
|
*/
|
|
76
76
|
export interface FirewallRule {
|
|
77
77
|
/**
|
|
78
|
-
* Unique identifier for the
|
|
78
|
+
* Unique identifier for the Firewall Rule.
|
|
79
79
|
*/
|
|
80
80
|
id: string;
|
|
81
81
|
/**
|
|
82
|
-
* When the
|
|
82
|
+
* When the Firewall Rule was created.
|
|
83
83
|
*/
|
|
84
84
|
created_at: string;
|
|
85
85
|
/**
|
|
86
|
-
* Destination address of the
|
|
86
|
+
* Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
|
|
87
87
|
*/
|
|
88
88
|
destination_address: string;
|
|
89
89
|
/**
|
|
90
|
-
* Destination ports of the
|
|
90
|
+
* Destination ports of the Firewall Rule.
|
|
91
91
|
*/
|
|
92
92
|
destination_ports: Array<string>;
|
|
93
93
|
/**
|
|
94
|
-
* Name of the
|
|
94
|
+
* Name of the Firewall Rule.
|
|
95
95
|
*/
|
|
96
96
|
name: string;
|
|
97
97
|
/**
|
|
98
|
-
* Protocol of the
|
|
98
|
+
* Protocol of the Firewall Rule.
|
|
99
99
|
*/
|
|
100
100
|
protocol: 'tcp' | 'udp';
|
|
101
101
|
/**
|
|
102
|
-
* Source address of the
|
|
102
|
+
* Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
|
|
103
103
|
* of 0.
|
|
104
104
|
*/
|
|
105
105
|
source_address: string;
|
|
@@ -108,11 +108,11 @@ export interface FirewallRule {
|
|
|
108
108
|
*/
|
|
109
109
|
status: Shared.ResourceStatus;
|
|
110
110
|
/**
|
|
111
|
-
* When the
|
|
111
|
+
* When the Firewall Rule was updated.
|
|
112
112
|
*/
|
|
113
113
|
updated_at: string;
|
|
114
114
|
/**
|
|
115
|
-
* ID of the VPC the
|
|
115
|
+
* ID of the VPC the Firewall Rule belongs to.
|
|
116
116
|
*/
|
|
117
117
|
vpc_id: string;
|
|
118
118
|
}
|
|
@@ -121,23 +121,23 @@ export interface FirewallRuleList {
|
|
|
121
121
|
}
|
|
122
122
|
export interface FirewallRuleCreateParams {
|
|
123
123
|
/**
|
|
124
|
-
* Destination address of the
|
|
124
|
+
* Destination address of the Firewall Rule. Either VPC CIDR or VM in VPC.
|
|
125
125
|
*/
|
|
126
126
|
destination_address: string;
|
|
127
127
|
/**
|
|
128
|
-
* Destination ports of the
|
|
128
|
+
* Destination ports of the Firewall Rule.
|
|
129
129
|
*/
|
|
130
130
|
destination_ports: Array<string>;
|
|
131
131
|
/**
|
|
132
|
-
* Name of the
|
|
132
|
+
* Name of the Firewall Rule.
|
|
133
133
|
*/
|
|
134
134
|
name: string;
|
|
135
135
|
/**
|
|
136
|
-
* Protocol of the
|
|
136
|
+
* Protocol of the Firewall Rule.
|
|
137
137
|
*/
|
|
138
138
|
protocol: 'tcp' | 'udp';
|
|
139
139
|
/**
|
|
140
|
-
* Source address of the
|
|
140
|
+
* Source address of the Firewall Rule. Address of 0.0.0.0 requires a CIDR mask
|
|
141
141
|
* of 0.
|
|
142
142
|
*/
|
|
143
143
|
source_address: string;
|
|
@@ -148,24 +148,24 @@ export interface FirewallRuleUpdateParams {
|
|
|
148
148
|
*/
|
|
149
149
|
vpc_id: string;
|
|
150
150
|
/**
|
|
151
|
-
* Body param: Destination address of the
|
|
151
|
+
* Body param: Destination address of the Firewall Rule. Either VPC CIDR or VM in
|
|
152
152
|
* VPC.
|
|
153
153
|
*/
|
|
154
154
|
destination_address?: string;
|
|
155
155
|
/**
|
|
156
|
-
* Body param: Destination ports of the
|
|
156
|
+
* Body param: Destination ports of the Firewall Rule.
|
|
157
157
|
*/
|
|
158
158
|
destination_ports?: Array<string>;
|
|
159
159
|
/**
|
|
160
|
-
* Body param: Name of the
|
|
160
|
+
* Body param: Name of the Firewall Rule.
|
|
161
161
|
*/
|
|
162
162
|
name?: string;
|
|
163
163
|
/**
|
|
164
|
-
* Body param: Protocol of the
|
|
164
|
+
* Body param: Protocol of the Firewall Rule.
|
|
165
165
|
*/
|
|
166
166
|
protocol?: 'tcp' | 'udp';
|
|
167
167
|
/**
|
|
168
|
-
* Body param: Source address of the
|
|
168
|
+
* Body param: Source address of the Firewall Rule. Address of 0.0.0.0 requires a
|
|
169
169
|
* CIDR mask of 0.
|
|
170
170
|
*/
|
|
171
171
|
source_address?: string;
|
|
@@ -70,19 +70,19 @@ export interface Subnet {
|
|
|
70
70
|
*/
|
|
71
71
|
id: string;
|
|
72
72
|
/**
|
|
73
|
-
* CIDR block for the
|
|
73
|
+
* CIDR block for the Subnet.
|
|
74
74
|
*/
|
|
75
75
|
cidr: string;
|
|
76
76
|
/**
|
|
77
|
-
* When the
|
|
77
|
+
* When the Subnet was created.
|
|
78
78
|
*/
|
|
79
79
|
created_at: string;
|
|
80
80
|
/**
|
|
81
|
-
* Name of the
|
|
81
|
+
* Name of the Subnet.
|
|
82
82
|
*/
|
|
83
83
|
name: string;
|
|
84
84
|
/**
|
|
85
|
-
* When the
|
|
85
|
+
* When the Subnet was updated.
|
|
86
86
|
*/
|
|
87
87
|
updated_at: string;
|
|
88
88
|
}
|
|
@@ -99,7 +99,7 @@ export interface VPC {
|
|
|
99
99
|
*/
|
|
100
100
|
created_at: string;
|
|
101
101
|
/**
|
|
102
|
-
* IDs of the
|
|
102
|
+
* IDs of the Firewall Rules associated with the VPC.
|
|
103
103
|
*/
|
|
104
104
|
firewall_rule_ids: Array<string>;
|
|
105
105
|
/**
|
|
@@ -70,19 +70,19 @@ export interface Subnet {
|
|
|
70
70
|
*/
|
|
71
71
|
id: string;
|
|
72
72
|
/**
|
|
73
|
-
* CIDR block for the
|
|
73
|
+
* CIDR block for the Subnet.
|
|
74
74
|
*/
|
|
75
75
|
cidr: string;
|
|
76
76
|
/**
|
|
77
|
-
* When the
|
|
77
|
+
* When the Subnet was created.
|
|
78
78
|
*/
|
|
79
79
|
created_at: string;
|
|
80
80
|
/**
|
|
81
|
-
* Name of the
|
|
81
|
+
* Name of the Subnet.
|
|
82
82
|
*/
|
|
83
83
|
name: string;
|
|
84
84
|
/**
|
|
85
|
-
* When the
|
|
85
|
+
* When the Subnet was updated.
|
|
86
86
|
*/
|
|
87
87
|
updated_at: string;
|
|
88
88
|
}
|
|
@@ -99,7 +99,7 @@ export interface VPC {
|
|
|
99
99
|
*/
|
|
100
100
|
created_at: string;
|
|
101
101
|
/**
|
|
102
|
-
* IDs of the
|
|
102
|
+
* IDs of the Firewall Rules associated with the VPC.
|
|
103
103
|
*/
|
|
104
104
|
firewall_rule_ids: Array<string>;
|
|
105
105
|
/**
|
|
@@ -16,47 +16,47 @@ export declare class Operations extends APIResource {
|
|
|
16
16
|
*/
|
|
17
17
|
export interface Operation {
|
|
18
18
|
/**
|
|
19
|
-
* Unique identifier for the
|
|
19
|
+
* Unique identifier for the Operation.
|
|
20
20
|
*/
|
|
21
21
|
id: string;
|
|
22
22
|
/**
|
|
23
|
-
* When the
|
|
23
|
+
* When the Operation was created.
|
|
24
24
|
*/
|
|
25
25
|
created_at: string;
|
|
26
26
|
/**
|
|
27
|
-
* Kind of
|
|
27
|
+
* Kind of Operation.
|
|
28
28
|
*/
|
|
29
29
|
kind: OperationKind;
|
|
30
30
|
/**
|
|
31
|
-
* ID of the resource that the
|
|
31
|
+
* ID of the resource that the Operation is acting on.
|
|
32
32
|
*/
|
|
33
33
|
resource_id: string;
|
|
34
34
|
/**
|
|
35
|
-
* Status of the
|
|
35
|
+
* Status of the Operation.
|
|
36
36
|
*/
|
|
37
37
|
status: OperationStatus;
|
|
38
38
|
/**
|
|
39
|
-
* Type of
|
|
39
|
+
* Type of Operation.
|
|
40
40
|
*/
|
|
41
41
|
type: OperationType;
|
|
42
42
|
/**
|
|
43
|
-
* When the
|
|
43
|
+
* When the Operation was updated.
|
|
44
44
|
*/
|
|
45
45
|
updated_at: string;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* Kind of
|
|
48
|
+
* Kind of Operation.
|
|
49
49
|
*/
|
|
50
50
|
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
51
51
|
export interface OperationList {
|
|
52
52
|
items: Array<Operation>;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
* Status of the
|
|
55
|
+
* Status of the Operation.
|
|
56
56
|
*/
|
|
57
57
|
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
58
58
|
/**
|
|
59
|
-
* Type of
|
|
59
|
+
* Type of Operation.
|
|
60
60
|
*/
|
|
61
61
|
export type OperationType = 'create' | 'update' | 'delete' | 'restart';
|
|
62
62
|
export declare namespace Operations {
|
|
@@ -16,47 +16,47 @@ export declare class Operations extends APIResource {
|
|
|
16
16
|
*/
|
|
17
17
|
export interface Operation {
|
|
18
18
|
/**
|
|
19
|
-
* Unique identifier for the
|
|
19
|
+
* Unique identifier for the Operation.
|
|
20
20
|
*/
|
|
21
21
|
id: string;
|
|
22
22
|
/**
|
|
23
|
-
* When the
|
|
23
|
+
* When the Operation was created.
|
|
24
24
|
*/
|
|
25
25
|
created_at: string;
|
|
26
26
|
/**
|
|
27
|
-
* Kind of
|
|
27
|
+
* Kind of Operation.
|
|
28
28
|
*/
|
|
29
29
|
kind: OperationKind;
|
|
30
30
|
/**
|
|
31
|
-
* ID of the resource that the
|
|
31
|
+
* ID of the resource that the Operation is acting on.
|
|
32
32
|
*/
|
|
33
33
|
resource_id: string;
|
|
34
34
|
/**
|
|
35
|
-
* Status of the
|
|
35
|
+
* Status of the Operation.
|
|
36
36
|
*/
|
|
37
37
|
status: OperationStatus;
|
|
38
38
|
/**
|
|
39
|
-
* Type of
|
|
39
|
+
* Type of Operation.
|
|
40
40
|
*/
|
|
41
41
|
type: OperationType;
|
|
42
42
|
/**
|
|
43
|
-
* When the
|
|
43
|
+
* When the Operation was updated.
|
|
44
44
|
*/
|
|
45
45
|
updated_at: string;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* Kind of
|
|
48
|
+
* Kind of Operation.
|
|
49
49
|
*/
|
|
50
50
|
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
51
51
|
export interface OperationList {
|
|
52
52
|
items: Array<Operation>;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
* Status of the
|
|
55
|
+
* Status of the Operation.
|
|
56
56
|
*/
|
|
57
57
|
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
58
58
|
/**
|
|
59
|
-
* Type of
|
|
59
|
+
* Type of Operation.
|
|
60
60
|
*/
|
|
61
61
|
export type OperationType = 'create' | 'update' | 'delete' | 'restart';
|
|
62
62
|
export declare namespace Operations {
|
|
@@ -6,6 +6,6 @@ export declare class Blockchains extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* List all Dedicated Blockchains
|
|
8
8
|
*/
|
|
9
|
-
list(options?: RequestOptions): APIPromise<DedicatedAPI.
|
|
9
|
+
list(options?: RequestOptions): APIPromise<DedicatedAPI.DedicatedBlockchainList>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=blockchains.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchains.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/blockchains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"blockchains.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/blockchains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC,uBAAuB,CAAC;CAGjF"}
|
|
@@ -6,6 +6,6 @@ export declare class Blockchains extends APIResource {
|
|
|
6
6
|
/**
|
|
7
7
|
* List all Dedicated Blockchains
|
|
8
8
|
*/
|
|
9
|
-
list(options?: RequestOptions): APIPromise<DedicatedAPI.
|
|
9
|
+
list(options?: RequestOptions): APIPromise<DedicatedAPI.DedicatedBlockchainList>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=blockchains.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchains.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/blockchains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"blockchains.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/blockchains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC,uBAAuB,CAAC;CAGjF"}
|
|
@@ -3,21 +3,21 @@ import * as BlockchainsAPI from "./blockchains.mjs";
|
|
|
3
3
|
import { Blockchains } from "./blockchains.mjs";
|
|
4
4
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
5
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class DedicatedResource extends APIResource {
|
|
7
7
|
blockchains: BlockchainsAPI.Blockchains;
|
|
8
8
|
/**
|
|
9
9
|
* List all RPC Node Dedicated you created
|
|
10
10
|
*/
|
|
11
|
-
list(options?: RequestOptions): APIPromise<
|
|
11
|
+
list(options?: RequestOptions): APIPromise<DedicatedList>;
|
|
12
12
|
/**
|
|
13
13
|
* Get details about an RPC Node Dedicated
|
|
14
14
|
*/
|
|
15
|
-
get(nodeID: string, options?: RequestOptions): APIPromise<
|
|
15
|
+
get(nodeID: string, options?: RequestOptions): APIPromise<Dedicated>;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* RPC Node Dedicated details.
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface Dedicated {
|
|
21
21
|
/**
|
|
22
22
|
* Unique identifier for the RPC Node Dedicated.
|
|
23
23
|
*/
|
|
@@ -48,9 +48,9 @@ export interface RPCNodesDedicated {
|
|
|
48
48
|
updated_at: string;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
|
-
* Blockchain supported by the
|
|
51
|
+
* Blockchain supported by the RPC Node Dedicated.
|
|
52
52
|
*/
|
|
53
|
-
export interface
|
|
53
|
+
export interface DedicatedBlockchain {
|
|
54
54
|
/**
|
|
55
55
|
* Blockchain type.
|
|
56
56
|
*/
|
|
@@ -60,14 +60,14 @@ export interface RPCNodesDedicatedBlockchain {
|
|
|
60
60
|
*/
|
|
61
61
|
network: string;
|
|
62
62
|
}
|
|
63
|
-
export interface
|
|
64
|
-
items: Array<
|
|
63
|
+
export interface DedicatedBlockchainList {
|
|
64
|
+
items: Array<DedicatedBlockchain>;
|
|
65
65
|
}
|
|
66
|
-
export interface
|
|
67
|
-
items: Array<
|
|
66
|
+
export interface DedicatedList {
|
|
67
|
+
items: Array<Dedicated>;
|
|
68
68
|
}
|
|
69
|
-
export declare namespace
|
|
70
|
-
export { type
|
|
69
|
+
export declare namespace DedicatedResource {
|
|
70
|
+
export { type Dedicated as Dedicated, type DedicatedBlockchain as DedicatedBlockchain, type DedicatedBlockchainList as DedicatedBlockchainList, type DedicatedList as DedicatedList, };
|
|
71
71
|
export { Blockchains as Blockchains };
|
|
72
72
|
}
|
|
73
73
|
//# sourceMappingURL=dedicated.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dedicated.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,
|
|
1
|
+
{"version":3,"file":"dedicated.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,iBAAkB,SAAQ,WAAW;IAChD,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIzD;;OAEG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;CAGrE;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;CACzB;AAID,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,CAAC;CACvC"}
|