@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.
Files changed (51) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +1 -1
  3. package/resources/api-keys.d.mts +6 -6
  4. package/resources/api-keys.d.ts +6 -6
  5. package/resources/compute/vms/vms.d.mts +101 -14
  6. package/resources/compute/vms/vms.d.mts.map +1 -1
  7. package/resources/compute/vms/vms.d.ts +101 -14
  8. package/resources/compute/vms/vms.d.ts.map +1 -1
  9. package/resources/compute/vms/vms.js.map +1 -1
  10. package/resources/compute/vms/vms.mjs.map +1 -1
  11. package/resources/compute/volumes.d.mts +41 -2
  12. package/resources/compute/volumes.d.mts.map +1 -1
  13. package/resources/compute/volumes.d.ts +41 -2
  14. package/resources/compute/volumes.d.ts.map +1 -1
  15. package/resources/networking/firewall-rules.d.mts +46 -7
  16. package/resources/networking/firewall-rules.d.mts.map +1 -1
  17. package/resources/networking/firewall-rules.d.ts +46 -7
  18. package/resources/networking/firewall-rules.d.ts.map +1 -1
  19. package/resources/networking/vpcs.d.mts +53 -2
  20. package/resources/networking/vpcs.d.mts.map +1 -1
  21. package/resources/networking/vpcs.d.ts +53 -2
  22. package/resources/networking/vpcs.d.ts.map +1 -1
  23. package/resources/operations.d.mts +30 -0
  24. package/resources/operations.d.mts.map +1 -1
  25. package/resources/operations.d.ts +30 -0
  26. package/resources/operations.d.ts.map +1 -1
  27. package/resources/shared.d.mts +6 -0
  28. package/resources/shared.d.mts.map +1 -1
  29. package/resources/shared.d.ts +6 -0
  30. package/resources/shared.d.ts.map +1 -1
  31. package/resources/user.d.mts +12 -0
  32. package/resources/user.d.mts.map +1 -1
  33. package/resources/user.d.ts +12 -0
  34. package/resources/user.d.ts.map +1 -1
  35. package/src/resources/api-keys.ts +6 -6
  36. package/src/resources/compute/vms/vms.ts +101 -14
  37. package/src/resources/compute/volumes.ts +41 -2
  38. package/src/resources/networking/firewall-rules.ts +46 -7
  39. package/src/resources/networking/vpcs.ts +53 -2
  40. package/src/resources/operations.ts +30 -0
  41. package/src/resources/shared.ts +6 -0
  42. package/src/resources/user.ts +12 -0
  43. package/src/version.ts +1 -1
  44. package/version.d.mts +1 -1
  45. package/version.d.mts.map +1 -1
  46. package/version.d.ts +1 -1
  47. package/version.d.ts.map +1 -1
  48. package/version.js +1 -1
  49. package/version.js.map +1 -1
  50. package/version.mjs +1 -1
  51. 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 {
@@ -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';
@@ -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.10.1'; // x-release-please-version
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.10.1";
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,WAAW,CAAC"}
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.10.1";
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,WAAW,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.10.1'; // x-release-please-version
4
+ exports.VERSION = '1.0.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
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.10.1'; // x-release-please-version
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,QAAQ,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}