@nirvana-labs/nirvana 1.56.0 → 1.57.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 +12 -0
- package/client.d.mts +1 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -0
- package/client.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/api-keys/api-keys.d.mts +1 -16
- package/resources/api-keys/api-keys.d.mts.map +1 -1
- package/resources/api-keys/api-keys.d.ts +1 -16
- package/resources/api-keys/api-keys.d.ts.map +1 -1
- package/resources/nks/clusters/clusters.d.mts +2 -2
- package/resources/nks/clusters/clusters.d.mts.map +1 -1
- package/resources/nks/clusters/clusters.d.ts +2 -2
- package/resources/nks/clusters/clusters.d.ts.map +1 -1
- package/resources/nks/clusters/clusters.js.map +1 -1
- package/resources/nks/clusters/clusters.mjs.map +1 -1
- package/resources/nks/clusters/index.d.mts +1 -1
- package/resources/nks/clusters/index.d.mts.map +1 -1
- package/resources/nks/clusters/index.d.ts +1 -1
- package/resources/nks/clusters/index.d.ts.map +1 -1
- package/resources/nks/clusters/index.js.map +1 -1
- package/resources/nks/clusters/index.mjs.map +1 -1
- package/resources/nks/clusters/pools/index.d.mts +1 -1
- package/resources/nks/clusters/pools/index.d.mts.map +1 -1
- package/resources/nks/clusters/pools/index.d.ts +1 -1
- package/resources/nks/clusters/pools/index.d.ts.map +1 -1
- package/resources/nks/clusters/pools/index.js.map +1 -1
- package/resources/nks/clusters/pools/index.mjs.map +1 -1
- package/resources/nks/clusters/pools/pools.d.mts +19 -21
- package/resources/nks/clusters/pools/pools.d.mts.map +1 -1
- package/resources/nks/clusters/pools/pools.d.ts +19 -21
- package/resources/nks/clusters/pools/pools.d.ts.map +1 -1
- package/resources/nks/clusters/pools/pools.js.map +1 -1
- package/resources/nks/clusters/pools/pools.mjs.map +1 -1
- package/resources/projects/projects.d.mts +54 -50
- package/resources/projects/projects.d.mts.map +1 -1
- package/resources/projects/projects.d.ts +54 -50
- package/resources/projects/projects.d.ts.map +1 -1
- package/resources/shared.d.mts +14 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +14 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/user/security.d.mts +1 -16
- package/resources/user/security.d.mts.map +1 -1
- package/resources/user/security.d.ts +1 -16
- package/resources/user/security.d.ts.map +1 -1
- package/src/client.ts +1 -0
- package/src/resources/api-keys/api-keys.ts +1 -18
- package/src/resources/nks/api.md +1 -0
- package/src/resources/nks/clusters/clusters.ts +2 -0
- package/src/resources/nks/clusters/index.ts +1 -0
- package/src/resources/nks/clusters/pools/index.ts +1 -0
- package/src/resources/nks/clusters/pools/pools.ts +22 -23
- package/src/resources/projects/api.md +3 -0
- package/src/resources/projects/projects.ts +63 -54
- package/src/resources/shared.ts +16 -8
- package/src/resources/user/security.ts +1 -18
- 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
|
@@ -105,7 +105,7 @@ export interface Project {
|
|
|
105
105
|
/**
|
|
106
106
|
* Resource counts for the project.
|
|
107
107
|
*/
|
|
108
|
-
resources:
|
|
108
|
+
resources: ProjectResources;
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
111
|
* Tags attached to the Project.
|
|
@@ -118,63 +118,54 @@ export interface Project {
|
|
|
118
118
|
updated_at: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
/**
|
|
122
|
+
* Blockchain resources.
|
|
123
|
+
*/
|
|
124
|
+
export interface ProjectBlockchainResources {
|
|
122
125
|
/**
|
|
123
|
-
*
|
|
126
|
+
* Number of dedicated RPC nodes in the project.
|
|
124
127
|
*/
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Blockchain resources.
|
|
128
|
-
*/
|
|
129
|
-
blockchain: Resources.Blockchain;
|
|
128
|
+
rpc_nodes_dedicated: number;
|
|
130
129
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
130
|
+
/**
|
|
131
|
+
* Number of flex RPC nodes in the project.
|
|
132
|
+
*/
|
|
133
|
+
rpc_nodes_flex: number;
|
|
134
|
+
}
|
|
136
135
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
volumes: number;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Number of VPCs in the project.
|
|
174
|
-
*/
|
|
175
|
-
vpcs: number;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
136
|
+
/**
|
|
137
|
+
* Cloud infrastructure resources.
|
|
138
|
+
*/
|
|
139
|
+
export interface ProjectCloudResources {
|
|
140
|
+
/**
|
|
141
|
+
* Number of Connect connections in the project.
|
|
142
|
+
*/
|
|
143
|
+
connect_connections: number;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Number of NKS clusters in the project.
|
|
147
|
+
*/
|
|
148
|
+
nks_clusters: number;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Number of NKS node pools in the project.
|
|
152
|
+
*/
|
|
153
|
+
nks_node_pools: number;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Number of VMs in the project.
|
|
157
|
+
*/
|
|
158
|
+
vms: number;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Number of volumes in the project.
|
|
162
|
+
*/
|
|
163
|
+
volumes: number;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Number of VPCs in the project.
|
|
167
|
+
*/
|
|
168
|
+
vpcs: number;
|
|
178
169
|
}
|
|
179
170
|
|
|
180
171
|
export interface ProjectList {
|
|
@@ -186,6 +177,21 @@ export interface ProjectList {
|
|
|
186
177
|
pagination: Shared.Pagination;
|
|
187
178
|
}
|
|
188
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Resource counts for the project.
|
|
182
|
+
*/
|
|
183
|
+
export interface ProjectResources {
|
|
184
|
+
/**
|
|
185
|
+
* Blockchain resources.
|
|
186
|
+
*/
|
|
187
|
+
blockchain: ProjectBlockchainResources;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Cloud infrastructure resources.
|
|
191
|
+
*/
|
|
192
|
+
cloud: ProjectCloudResources;
|
|
193
|
+
}
|
|
194
|
+
|
|
189
195
|
export interface ProjectCreateParams {
|
|
190
196
|
/**
|
|
191
197
|
* Project name.
|
|
@@ -215,7 +221,10 @@ export interface ProjectListParams extends CursorParams {}
|
|
|
215
221
|
export declare namespace Projects {
|
|
216
222
|
export {
|
|
217
223
|
type Project as Project,
|
|
224
|
+
type ProjectBlockchainResources as ProjectBlockchainResources,
|
|
225
|
+
type ProjectCloudResources as ProjectCloudResources,
|
|
218
226
|
type ProjectList as ProjectList,
|
|
227
|
+
type ProjectResources as ProjectResources,
|
|
219
228
|
type ProjectsCursor as ProjectsCursor,
|
|
220
229
|
type ProjectCreateParams as ProjectCreateParams,
|
|
221
230
|
type ProjectUpdateParams as ProjectUpdateParams,
|
package/src/resources/shared.ts
CHANGED
|
@@ -14,14 +14,7 @@ export interface Pagination {
|
|
|
14
14
|
/**
|
|
15
15
|
* Region the resource is in.
|
|
16
16
|
*/
|
|
17
|
-
export type RegionName =
|
|
18
|
-
| 'us-sea-1'
|
|
19
|
-
| 'us-sva-1'
|
|
20
|
-
| 'us-sva-2'
|
|
21
|
-
| 'us-chi-1'
|
|
22
|
-
| 'us-wdc-1'
|
|
23
|
-
| 'eu-frk-1'
|
|
24
|
-
| 'ap-sin-1';
|
|
17
|
+
export type RegionName = 'us-sea-1' | 'us-sva-1' | 'us-sva-2' | 'us-chi-1' | 'us-wdc-1';
|
|
25
18
|
|
|
26
19
|
/**
|
|
27
20
|
* Status of the resource.
|
|
@@ -42,3 +35,18 @@ export interface SourceIPRule {
|
|
|
42
35
|
*/
|
|
43
36
|
blocked?: Array<string>;
|
|
44
37
|
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* IP filter rules.
|
|
41
|
+
*/
|
|
42
|
+
export interface SourceIPRuleResponse {
|
|
43
|
+
/**
|
|
44
|
+
* List of IPv4 CIDR addresses to allow.
|
|
45
|
+
*/
|
|
46
|
+
allowed: Array<string>;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* List of IPv4 CIDR addresses to deny.
|
|
50
|
+
*/
|
|
51
|
+
blocked: Array<string>;
|
|
52
|
+
}
|
|
@@ -28,7 +28,7 @@ export interface UserSecurity {
|
|
|
28
28
|
/**
|
|
29
29
|
* IP filter rules.
|
|
30
30
|
*/
|
|
31
|
-
source_ip_rule:
|
|
31
|
+
source_ip_rule: Shared.SourceIPRuleResponse;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* When the user security settings were created.
|
|
@@ -41,23 +41,6 @@ export interface UserSecurity {
|
|
|
41
41
|
updated_at?: string;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
export namespace UserSecurity {
|
|
45
|
-
/**
|
|
46
|
-
* IP filter rules.
|
|
47
|
-
*/
|
|
48
|
-
export interface SourceIPRule {
|
|
49
|
-
/**
|
|
50
|
-
* List of IPv4 CIDR addresses to allow.
|
|
51
|
-
*/
|
|
52
|
-
allowed: Array<string>;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* List of IPv4 CIDR addresses to deny.
|
|
56
|
-
*/
|
|
57
|
-
blocked: Array<string>;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
44
|
export interface SecurityUpdateParams {
|
|
62
45
|
/**
|
|
63
46
|
* IP filter rules.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.57.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.57.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.57.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.57.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|