@nirvana-labs/nirvana 0.10.1 → 1.0.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 +11 -0
- package/package.json +1 -1
- package/resources/api-keys.d.mts +6 -6
- package/resources/api-keys.d.ts +6 -6
- package/resources/compute/vms/vms.d.mts +101 -14
- package/resources/compute/vms/vms.d.mts.map +1 -1
- package/resources/compute/vms/vms.d.ts +101 -14
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/vms/vms.js.map +1 -1
- package/resources/compute/vms/vms.mjs.map +1 -1
- package/resources/compute/volumes.d.mts +41 -2
- package/resources/compute/volumes.d.mts.map +1 -1
- package/resources/compute/volumes.d.ts +41 -2
- package/resources/compute/volumes.d.ts.map +1 -1
- package/resources/networking/firewall-rules.d.mts +46 -7
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +46 -7
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/networking/vpcs.d.mts +53 -2
- package/resources/networking/vpcs.d.mts.map +1 -1
- package/resources/networking/vpcs.d.ts +53 -2
- package/resources/networking/vpcs.d.ts.map +1 -1
- package/resources/operations.d.mts +30 -0
- package/resources/operations.d.mts.map +1 -1
- package/resources/operations.d.ts +30 -0
- package/resources/operations.d.ts.map +1 -1
- package/resources/shared.d.mts +6 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +6 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/user.d.mts +12 -0
- package/resources/user.d.mts.map +1 -1
- package/resources/user.d.ts +12 -0
- package/resources/user.d.ts.map +1 -1
- package/src/resources/api-keys.ts +6 -6
- package/src/resources/compute/vms/vms.ts +101 -14
- package/src/resources/compute/volumes.ts +41 -2
- package/src/resources/networking/firewall-rules.ts +46 -7
- package/src/resources/networking/vpcs.ts +53 -2
- package/src/resources/operations.ts +30 -0
- package/src/resources/shared.ts +6 -0
- package/src/resources/user.ts +12 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -25,29 +25,59 @@ export class Operations extends APIResource {
|
|
|
25
25
|
* Operation details.
|
|
26
26
|
*/
|
|
27
27
|
export interface Operation {
|
|
28
|
+
/**
|
|
29
|
+
* Unique identifier for the operation.
|
|
30
|
+
*/
|
|
28
31
|
id: string;
|
|
29
32
|
|
|
33
|
+
/**
|
|
34
|
+
* When the operation was created.
|
|
35
|
+
*/
|
|
30
36
|
created_at: string;
|
|
31
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Kind of operation.
|
|
40
|
+
*/
|
|
32
41
|
kind: OperationKind;
|
|
33
42
|
|
|
43
|
+
/**
|
|
44
|
+
* ID of the resource that the operation is acting on.
|
|
45
|
+
*/
|
|
34
46
|
resource_id: string;
|
|
35
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Status of the operation.
|
|
50
|
+
*/
|
|
36
51
|
status: OperationStatus;
|
|
37
52
|
|
|
53
|
+
/**
|
|
54
|
+
* Type of operation.
|
|
55
|
+
*/
|
|
38
56
|
type: OperationType;
|
|
39
57
|
|
|
58
|
+
/**
|
|
59
|
+
* When the operation was updated.
|
|
60
|
+
*/
|
|
40
61
|
updated_at: string;
|
|
41
62
|
}
|
|
42
63
|
|
|
64
|
+
/**
|
|
65
|
+
* Kind of operation.
|
|
66
|
+
*/
|
|
43
67
|
export type OperationKind = 'vm' | 'volume' | 'vpc' | 'firewall_rule';
|
|
44
68
|
|
|
45
69
|
export interface OperationList {
|
|
46
70
|
items: Array<Operation>;
|
|
47
71
|
}
|
|
48
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Status of the operation.
|
|
75
|
+
*/
|
|
49
76
|
export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
|
|
50
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Type of operation.
|
|
80
|
+
*/
|
|
51
81
|
export type OperationType = 'create' | 'update' | 'delete';
|
|
52
82
|
|
|
53
83
|
export declare namespace Operations {
|
package/src/resources/shared.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Region the resource is in.
|
|
5
|
+
*/
|
|
3
6
|
export type RegionName =
|
|
4
7
|
| 'us-sea-1'
|
|
5
8
|
| 'us-sva-1'
|
|
@@ -12,4 +15,7 @@ export type RegionName =
|
|
|
12
15
|
| 'ap-seo-1'
|
|
13
16
|
| 'ap-tyo-1';
|
|
14
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Status of the resource.
|
|
20
|
+
*/
|
|
15
21
|
export type ResourceStatus = 'pending' | 'creating' | 'updating' | 'ready' | 'deleting' | 'deleted' | 'error';
|
package/src/resources/user.ts
CHANGED
|
@@ -14,14 +14,26 @@ export class UserResource extends APIResource {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export interface User {
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier for the user.
|
|
19
|
+
*/
|
|
17
20
|
id: string;
|
|
18
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Email address of the user.
|
|
24
|
+
*/
|
|
19
25
|
email: string;
|
|
20
26
|
|
|
27
|
+
/**
|
|
28
|
+
* Services that the user has access to.
|
|
29
|
+
*/
|
|
21
30
|
services: User.Services;
|
|
22
31
|
}
|
|
23
32
|
|
|
24
33
|
export namespace User {
|
|
34
|
+
/**
|
|
35
|
+
* Services that the user has access to.
|
|
36
|
+
*/
|
|
25
37
|
export interface Services {
|
|
26
38
|
cloud?: boolean;
|
|
27
39
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '1.0.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "1.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "1.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '1.0.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|