@nirvana-labs/nirvana 1.98.3 → 1.98.4
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 +7 -0
- package/package.json +1 -1
- package/resources/api-keys/api-keys.d.mts +18 -0
- package/resources/api-keys/api-keys.d.mts.map +1 -1
- package/resources/api-keys/api-keys.d.ts +18 -0
- package/resources/api-keys/api-keys.d.ts.map +1 -1
- package/resources/audit-logs/audit-logs.d.mts +53 -0
- package/resources/audit-logs/audit-logs.d.mts.map +1 -1
- package/resources/audit-logs/audit-logs.d.ts +53 -0
- package/resources/audit-logs/audit-logs.d.ts.map +1 -1
- package/resources/compute/vms/metrics.d.mts +1 -1
- package/resources/compute/vms/metrics.d.mts.map +1 -1
- package/resources/compute/vms/metrics.d.ts +1 -1
- package/resources/compute/vms/metrics.d.ts.map +1 -1
- package/resources/operations/operations.d.mts +29 -0
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +29 -0
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/organizations/billing/billing.d.mts +27 -1
- package/resources/organizations/billing/billing.d.mts.map +1 -1
- package/resources/organizations/billing/billing.d.ts +27 -1
- package/resources/organizations/billing/billing.d.ts.map +1 -1
- package/resources/organizations/billing/billing.js.map +1 -1
- package/resources/organizations/billing/billing.mjs.map +1 -1
- package/resources/organizations/memberships.d.mts +13 -0
- package/resources/organizations/memberships.d.mts.map +1 -1
- package/resources/organizations/memberships.d.ts +13 -0
- package/resources/organizations/memberships.d.ts.map +1 -1
- package/resources/organizations/organizations.d.mts +13 -0
- package/resources/organizations/organizations.d.mts.map +1 -1
- package/resources/organizations/organizations.d.ts +13 -0
- package/resources/organizations/organizations.d.ts.map +1 -1
- package/resources/organizations/organizations.js.map +1 -1
- package/resources/organizations/organizations.mjs.map +1 -1
- package/resources/projects/projects.d.mts +14 -0
- package/resources/projects/projects.d.mts.map +1 -1
- package/resources/projects/projects.d.ts +14 -0
- package/resources/projects/projects.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.mts +13 -0
- package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts +13 -0
- package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts +13 -0
- package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts +13 -0
- package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/usage/usage.d.mts +30 -0
- package/resources/usage/usage.d.mts.map +1 -1
- package/resources/usage/usage.d.ts +30 -0
- package/resources/usage/usage.d.ts.map +1 -1
- package/src/resources/api-keys/api-keys.ts +23 -1
- package/src/resources/audit-logs/audit-logs.ts +67 -1
- package/src/resources/compute/vms/metrics.ts +6 -0
- package/src/resources/operations/operations.ts +45 -0
- package/src/resources/organizations/billing/billing.ts +33 -1
- package/src/resources/organizations/memberships.ts +17 -1
- package/src/resources/organizations/organizations.ts +17 -1
- package/src/resources/projects/projects.ts +18 -1
- package/src/resources/rpc-nodes/dedicated/blockchains.ts +17 -1
- package/src/resources/rpc-nodes/flex/blockchains.ts +17 -1
- package/src/resources/shared.ts +1 -1
- package/src/resources/usage/usage.ts +45 -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
|
@@ -137,6 +137,51 @@ export interface OperationListParams extends CursorParams {
|
|
|
137
137
|
* Project ID of resources to request
|
|
138
138
|
*/
|
|
139
139
|
project_id: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Only operations started at or before this RFC 3339 instant
|
|
143
|
+
*/
|
|
144
|
+
created_at_max?: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Only operations started at or after this RFC 3339 instant
|
|
148
|
+
*/
|
|
149
|
+
created_at_min?: string;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Filter by the kind of resource the operation acts on
|
|
153
|
+
*/
|
|
154
|
+
kind?:
|
|
155
|
+
| 'vm'
|
|
156
|
+
| 'volume'
|
|
157
|
+
| 'vpc'
|
|
158
|
+
| 'firewall_rule'
|
|
159
|
+
| 'connect_connection'
|
|
160
|
+
| 'nks_cluster'
|
|
161
|
+
| 'nks_node_pool'
|
|
162
|
+
| 'nks_load_balancer'
|
|
163
|
+
| 'nks_node';
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Filter by the resource the operation acts on
|
|
167
|
+
*/
|
|
168
|
+
resource_id?: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
172
|
+
* Fields: created_at, updated_at
|
|
173
|
+
*/
|
|
174
|
+
sort?: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Filter by operation status
|
|
178
|
+
*/
|
|
179
|
+
status?: 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Filter by operation type
|
|
183
|
+
*/
|
|
184
|
+
type?: 'create' | 'update' | 'delete' | 'restart';
|
|
140
185
|
}
|
|
141
186
|
|
|
142
187
|
export declare namespace Operations {
|
|
@@ -431,7 +431,23 @@ export interface BillingCostParams {
|
|
|
431
431
|
|
|
432
432
|
export interface BillingHistoryParams {
|
|
433
433
|
/**
|
|
434
|
-
*
|
|
434
|
+
* Only entries at or before this RFC 3339 instant
|
|
435
|
+
*/
|
|
436
|
+
created_at_max?: string;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Only entries at or after this RFC 3339 instant
|
|
440
|
+
*/
|
|
441
|
+
created_at_min?: string;
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* Filter by currency, as an ISO 4217 code. Case-insensitive.
|
|
445
|
+
*/
|
|
446
|
+
currency?: string;
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Pagination cursor returned by a previous request. Only valid for the same
|
|
450
|
+
* filters and sort order.
|
|
435
451
|
*/
|
|
436
452
|
cursor?: string;
|
|
437
453
|
|
|
@@ -439,6 +455,22 @@ export interface BillingHistoryParams {
|
|
|
439
455
|
* Maximum number of items to return
|
|
440
456
|
*/
|
|
441
457
|
limit?: number;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Filter by the funding flow a credit came from
|
|
461
|
+
*/
|
|
462
|
+
purpose?: string;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
466
|
+
* Fields: created_at, amount
|
|
467
|
+
*/
|
|
468
|
+
sort?: string;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Filter by entry type
|
|
472
|
+
*/
|
|
473
|
+
type?: string;
|
|
442
474
|
}
|
|
443
475
|
|
|
444
476
|
export interface BillingTopUpParams {
|
|
@@ -108,7 +108,23 @@ export interface MembershipGetParams {
|
|
|
108
108
|
organization_id: string;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
export interface MembershipListParams extends CursorParams {
|
|
111
|
+
export interface MembershipListParams extends CursorParams {
|
|
112
|
+
/**
|
|
113
|
+
* Filter by membership role
|
|
114
|
+
*/
|
|
115
|
+
role?: 'owner' | 'member';
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
119
|
+
* Fields: created_at, updated_at, role
|
|
120
|
+
*/
|
|
121
|
+
sort?: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Filter by the member's user ID
|
|
125
|
+
*/
|
|
126
|
+
user_id?: string;
|
|
127
|
+
}
|
|
112
128
|
|
|
113
129
|
export declare namespace Memberships {
|
|
114
130
|
export {
|
|
@@ -290,7 +290,23 @@ export interface OrganizationUpdateParams {
|
|
|
290
290
|
name?: string;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
export interface OrganizationListParams extends CursorParams {
|
|
293
|
+
export interface OrganizationListParams extends CursorParams {
|
|
294
|
+
/**
|
|
295
|
+
* Filter by a case-insensitive substring of the organization name
|
|
296
|
+
*/
|
|
297
|
+
name?: string;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
301
|
+
* Fields: created_at, updated_at, name
|
|
302
|
+
*/
|
|
303
|
+
sort?: string;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Filter by organization type
|
|
307
|
+
*/
|
|
308
|
+
type?: 'personal' | 'company';
|
|
309
|
+
}
|
|
294
310
|
|
|
295
311
|
Organizations.Memberships = Memberships;
|
|
296
312
|
Organizations.Address = Address;
|
|
@@ -216,7 +216,24 @@ export interface ProjectUpdateParams {
|
|
|
216
216
|
tags?: Array<string>;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
export interface ProjectListParams extends CursorParams {
|
|
219
|
+
export interface ProjectListParams extends CursorParams {
|
|
220
|
+
/**
|
|
221
|
+
* Filter by a case-insensitive substring of the Project name
|
|
222
|
+
*/
|
|
223
|
+
name?: string;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
227
|
+
* Fields: created_at, updated_at, name
|
|
228
|
+
*/
|
|
229
|
+
sort?: string;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Filter by tags. Repeat the parameter to require several tags; a Project must
|
|
233
|
+
* carry all of them.
|
|
234
|
+
*/
|
|
235
|
+
tags?: Array<string>;
|
|
236
|
+
}
|
|
220
237
|
|
|
221
238
|
export declare namespace Projects {
|
|
222
239
|
export {
|
|
@@ -30,7 +30,23 @@ export class Blockchains extends APIResource {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export interface BlockchainListParams extends CursorParams {
|
|
33
|
+
export interface BlockchainListParams extends CursorParams {
|
|
34
|
+
/**
|
|
35
|
+
* Filter by blockchain
|
|
36
|
+
*/
|
|
37
|
+
blockchain?: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Filter by network
|
|
41
|
+
*/
|
|
42
|
+
network?: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
46
|
+
* Fields: created_at, blockchain, network
|
|
47
|
+
*/
|
|
48
|
+
sort?: string;
|
|
49
|
+
}
|
|
34
50
|
|
|
35
51
|
export declare namespace Blockchains {
|
|
36
52
|
export { type BlockchainListParams as BlockchainListParams };
|
|
@@ -29,7 +29,23 @@ export class Blockchains extends APIResource {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export interface BlockchainListParams extends CursorParams {
|
|
32
|
+
export interface BlockchainListParams extends CursorParams {
|
|
33
|
+
/**
|
|
34
|
+
* Filter by blockchain
|
|
35
|
+
*/
|
|
36
|
+
blockchain?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Filter by network
|
|
40
|
+
*/
|
|
41
|
+
network?: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Comma-separated sort terms in precedence order, each field:asc or field:desc.
|
|
45
|
+
* Fields: created_at, blockchain, network
|
|
46
|
+
*/
|
|
47
|
+
sort?: string;
|
|
48
|
+
}
|
|
33
49
|
|
|
34
50
|
export declare namespace Blockchains {
|
|
35
51
|
export { type BlockchainListParams as BlockchainListParams };
|
package/src/resources/shared.ts
CHANGED
|
@@ -123,7 +123,51 @@ export type UsageResourceType =
|
|
|
123
123
|
| 'nks_node_pool'
|
|
124
124
|
| 'nks_load_balancer';
|
|
125
125
|
|
|
126
|
-
export interface UsageListParams extends CursorParams {
|
|
126
|
+
export interface UsageListParams extends CursorParams {
|
|
127
|
+
/**
|
|
128
|
+
* Only resources metered at or before this RFC 3339 instant
|
|
129
|
+
*/
|
|
130
|
+
active_at_max?: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Only resources metered at or after this RFC 3339 instant; a window a usage row
|
|
134
|
+
* must overlap
|
|
135
|
+
*/
|
|
136
|
+
active_at_min?: string;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Only resources with usage in this dimension
|
|
140
|
+
*/
|
|
141
|
+
dimension?: string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Filter by region
|
|
145
|
+
*/
|
|
146
|
+
region?: string;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Filter by a single resource
|
|
150
|
+
*/
|
|
151
|
+
resource_id?: string;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Filter by the kind of resource metered
|
|
155
|
+
*/
|
|
156
|
+
resource_type?:
|
|
157
|
+
| 'vm'
|
|
158
|
+
| 'volume'
|
|
159
|
+
| 'vpc'
|
|
160
|
+
| 'connect_connection'
|
|
161
|
+
| 'nks_cluster'
|
|
162
|
+
| 'nks_node_pool'
|
|
163
|
+
| 'nks_load_balancer';
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Sort term as field:asc or field:desc. Field: created_at, the resource's earliest
|
|
167
|
+
* usage row matching the filters
|
|
168
|
+
*/
|
|
169
|
+
sort?: string;
|
|
170
|
+
}
|
|
127
171
|
|
|
128
172
|
export declare namespace UsageResource {
|
|
129
173
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.98.
|
|
1
|
+
export const VERSION = '1.98.4'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.98.
|
|
1
|
+
export declare const VERSION = "1.98.4";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.98.
|
|
1
|
+
export declare const VERSION = "1.98.4";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.98.
|
|
1
|
+
export const VERSION = '1.98.4'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|