@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.
Files changed (164) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/bin/cli +4 -10
  3. package/client.d.mts +1 -1
  4. package/client.d.ts +1 -1
  5. package/client.js +3 -3
  6. package/client.js.map +1 -1
  7. package/client.mjs +3 -3
  8. package/client.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/api-keys.d.mts +25 -13
  11. package/resources/api-keys.d.mts.map +1 -1
  12. package/resources/api-keys.d.ts +25 -13
  13. package/resources/api-keys.d.ts.map +1 -1
  14. package/resources/compute/vms/availability.d.mts +3 -3
  15. package/resources/compute/vms/availability.d.ts +3 -3
  16. package/resources/compute/vms/vms.d.mts +3 -3
  17. package/resources/compute/vms/vms.d.ts +3 -3
  18. package/resources/compute/volumes/availability.d.mts +5 -5
  19. package/resources/compute/volumes/availability.d.ts +5 -5
  20. package/resources/compute/volumes/volumes.d.mts +14 -14
  21. package/resources/compute/volumes/volumes.d.ts +14 -14
  22. package/resources/connect/connect.d.mts +4 -4
  23. package/resources/connect/connect.d.mts.map +1 -1
  24. package/resources/connect/connect.d.ts +4 -4
  25. package/resources/connect/connect.d.ts.map +1 -1
  26. package/resources/connect/connect.js +4 -4
  27. package/resources/connect/connect.js.map +1 -1
  28. package/resources/connect/connect.mjs +4 -4
  29. package/resources/connect/connect.mjs.map +1 -1
  30. package/resources/connect/flux/flux.d.mts +204 -0
  31. package/resources/connect/flux/flux.d.mts.map +1 -0
  32. package/resources/connect/flux/flux.d.ts +204 -0
  33. package/resources/connect/flux/flux.d.ts.map +1 -0
  34. package/resources/connect/flux/flux.js +83 -0
  35. package/resources/connect/flux/flux.js.map +1 -0
  36. package/resources/connect/flux/flux.mjs +78 -0
  37. package/resources/connect/flux/flux.mjs.map +1 -0
  38. package/resources/connect/flux/index.d.mts +3 -0
  39. package/resources/connect/flux/index.d.mts.map +1 -0
  40. package/resources/connect/flux/index.d.ts +3 -0
  41. package/resources/connect/flux/index.d.ts.map +1 -0
  42. package/resources/connect/flux/index.js +9 -0
  43. package/resources/connect/flux/index.js.map +1 -0
  44. package/resources/connect/flux/index.mjs +4 -0
  45. package/resources/connect/flux/index.mjs.map +1 -0
  46. package/resources/connect/flux/providers.d.mts +17 -0
  47. package/resources/connect/flux/providers.d.mts.map +1 -0
  48. package/resources/connect/flux/providers.d.ts +17 -0
  49. package/resources/connect/flux/providers.d.ts.map +1 -0
  50. package/resources/connect/flux/providers.js +21 -0
  51. package/resources/connect/flux/providers.js.map +1 -0
  52. package/resources/connect/flux/providers.mjs +17 -0
  53. package/resources/connect/flux/providers.mjs.map +1 -0
  54. package/resources/connect/flux.d.mts +1 -69
  55. package/resources/connect/flux.d.mts.map +1 -1
  56. package/resources/connect/flux.d.ts +1 -69
  57. package/resources/connect/flux.d.ts.map +1 -1
  58. package/resources/connect/flux.js +2 -18
  59. package/resources/connect/flux.js.map +1 -1
  60. package/resources/connect/flux.mjs +1 -16
  61. package/resources/connect/flux.mjs.map +1 -1
  62. package/resources/connect/index.d.mts +1 -1
  63. package/resources/connect/index.d.mts.map +1 -1
  64. package/resources/connect/index.d.ts +1 -1
  65. package/resources/connect/index.d.ts.map +1 -1
  66. package/resources/connect/index.js +3 -3
  67. package/resources/connect/index.js.map +1 -1
  68. package/resources/connect/index.mjs +1 -1
  69. package/resources/connect/index.mjs.map +1 -1
  70. package/resources/networking/firewall-rules.d.mts +19 -19
  71. package/resources/networking/firewall-rules.d.ts +19 -19
  72. package/resources/networking/vpcs/vpcs.d.mts +5 -5
  73. package/resources/networking/vpcs/vpcs.d.ts +5 -5
  74. package/resources/operations.d.mts +10 -10
  75. package/resources/operations.d.ts +10 -10
  76. package/resources/rpc-nodes/dedicated/blockchains.d.mts +1 -1
  77. package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
  78. package/resources/rpc-nodes/dedicated/blockchains.d.ts +1 -1
  79. package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
  80. package/resources/rpc-nodes/dedicated/dedicated.d.mts +12 -12
  81. package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
  82. package/resources/rpc-nodes/dedicated/dedicated.d.ts +12 -12
  83. package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
  84. package/resources/rpc-nodes/dedicated/dedicated.js +4 -4
  85. package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
  86. package/resources/rpc-nodes/dedicated/dedicated.mjs +2 -2
  87. package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
  88. package/resources/rpc-nodes/dedicated/index.d.mts +1 -1
  89. package/resources/rpc-nodes/dedicated/index.d.mts.map +1 -1
  90. package/resources/rpc-nodes/dedicated/index.d.ts +1 -1
  91. package/resources/rpc-nodes/dedicated/index.d.ts.map +1 -1
  92. package/resources/rpc-nodes/dedicated/index.js +2 -2
  93. package/resources/rpc-nodes/dedicated/index.js.map +1 -1
  94. package/resources/rpc-nodes/dedicated/index.mjs +1 -1
  95. package/resources/rpc-nodes/dedicated/index.mjs.map +1 -1
  96. package/resources/rpc-nodes/flex/blockchains.d.mts +1 -1
  97. package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
  98. package/resources/rpc-nodes/flex/blockchains.d.ts +1 -1
  99. package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
  100. package/resources/rpc-nodes/flex/flex.d.mts +12 -12
  101. package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
  102. package/resources/rpc-nodes/flex/flex.d.ts +12 -12
  103. package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
  104. package/resources/rpc-nodes/flex/flex.js +4 -4
  105. package/resources/rpc-nodes/flex/flex.js.map +1 -1
  106. package/resources/rpc-nodes/flex/flex.mjs +2 -2
  107. package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
  108. package/resources/rpc-nodes/flex/index.d.mts +1 -1
  109. package/resources/rpc-nodes/flex/index.d.mts.map +1 -1
  110. package/resources/rpc-nodes/flex/index.d.ts +1 -1
  111. package/resources/rpc-nodes/flex/index.d.ts.map +1 -1
  112. package/resources/rpc-nodes/flex/index.js +2 -2
  113. package/resources/rpc-nodes/flex/index.js.map +1 -1
  114. package/resources/rpc-nodes/flex/index.mjs +1 -1
  115. package/resources/rpc-nodes/flex/index.mjs.map +1 -1
  116. package/resources/rpc-nodes/index.d.mts +2 -2
  117. package/resources/rpc-nodes/index.d.mts.map +1 -1
  118. package/resources/rpc-nodes/index.d.ts +2 -2
  119. package/resources/rpc-nodes/index.d.ts.map +1 -1
  120. package/resources/rpc-nodes/index.js +3 -3
  121. package/resources/rpc-nodes/index.js.map +1 -1
  122. package/resources/rpc-nodes/index.mjs +2 -2
  123. package/resources/rpc-nodes/index.mjs.map +1 -1
  124. package/resources/rpc-nodes/rpc-nodes.d.mts +6 -6
  125. package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
  126. package/resources/rpc-nodes/rpc-nodes.d.ts +6 -6
  127. package/resources/rpc-nodes/rpc-nodes.d.ts.map +1 -1
  128. package/resources/rpc-nodes/rpc-nodes.js +4 -4
  129. package/resources/rpc-nodes/rpc-nodes.js.map +1 -1
  130. package/resources/rpc-nodes/rpc-nodes.mjs +6 -6
  131. package/resources/rpc-nodes/rpc-nodes.mjs.map +1 -1
  132. package/resources/user.d.mts +6 -3
  133. package/resources/user.d.mts.map +1 -1
  134. package/resources/user.d.ts +6 -3
  135. package/resources/user.d.ts.map +1 -1
  136. package/src/client.ts +3 -3
  137. package/src/resources/api-keys.ts +28 -13
  138. package/src/resources/compute/vms/availability.ts +3 -3
  139. package/src/resources/compute/vms/vms.ts +3 -3
  140. package/src/resources/compute/volumes/availability.ts +5 -5
  141. package/src/resources/compute/volumes/volumes.ts +14 -14
  142. package/src/resources/connect/connect.ts +25 -5
  143. package/src/resources/connect/flux/flux.ts +267 -0
  144. package/src/resources/connect/flux/index.ts +14 -0
  145. package/src/resources/connect/flux/providers.ts +21 -0
  146. package/src/resources/connect/flux.ts +1 -89
  147. package/src/resources/connect/index.ts +11 -1
  148. package/src/resources/networking/firewall-rules.ts +19 -19
  149. package/src/resources/networking/vpcs/vpcs.ts +5 -5
  150. package/src/resources/operations.ts +10 -10
  151. package/src/resources/rpc-nodes/dedicated/blockchains.ts +1 -1
  152. package/src/resources/rpc-nodes/dedicated/dedicated.ts +16 -16
  153. package/src/resources/rpc-nodes/dedicated/index.ts +5 -5
  154. package/src/resources/rpc-nodes/flex/blockchains.ts +1 -1
  155. package/src/resources/rpc-nodes/flex/flex.ts +16 -16
  156. package/src/resources/rpc-nodes/flex/index.ts +1 -7
  157. package/src/resources/rpc-nodes/index.ts +10 -10
  158. package/src/resources/rpc-nodes/rpc-nodes.ts +19 -25
  159. package/src/resources/user.ts +6 -3
  160. package/src/version.ts +1 -1
  161. package/version.d.mts +1 -1
  162. package/version.d.ts +1 -1
  163. package/version.js +1 -1
  164. 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
- exports.Flux = void 0;
5
- const resource_1 = require("../../core/resource.js");
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,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAdD,oBAcC"}
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
- import { APIResource } from "../../core/resource.mjs";
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;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF"}
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 ConnectFlux, type ConnectFluxList } from "./flux.mjs";
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,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE"}
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 ConnectFlux, type ConnectFluxList } from "./flux.js";
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,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE"}
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.Flux = exports.Connect = void 0;
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 flux_1 = require("./flux.js");
8
- Object.defineProperty(exports, "Flux", { enumerable: true, get: function () { return flux_1.Flux; } });
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,kCAAsE;AAA7D,4FAAA,IAAI,OAAA"}
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,4 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { Connect } from "./connect.mjs";
3
- export { Flux } from "./flux.mjs";
3
+ export { FluxResource, } from "./flux/index.mjs";
4
4
  //# sourceMappingURL=index.mjs.map
@@ -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,EAAE,IAAI,EAA0C"}
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 firewall rule.
78
+ * Unique identifier for the Firewall Rule.
79
79
  */
80
80
  id: string;
81
81
  /**
82
- * When the firewall rule was created.
82
+ * When the Firewall Rule was created.
83
83
  */
84
84
  created_at: string;
85
85
  /**
86
- * Destination address of the firewall rule. Either VPC CIDR or VM in VPC.
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 firewall rule.
90
+ * Destination ports of the Firewall Rule.
91
91
  */
92
92
  destination_ports: Array<string>;
93
93
  /**
94
- * Name of the firewall rule.
94
+ * Name of the Firewall Rule.
95
95
  */
96
96
  name: string;
97
97
  /**
98
- * Protocol of the firewall rule.
98
+ * Protocol of the Firewall Rule.
99
99
  */
100
100
  protocol: 'tcp' | 'udp';
101
101
  /**
102
- * Source address of the firewall rule. Address of 0.0.0.0 requires a CIDR mask
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 firewall rule was updated.
111
+ * When the Firewall Rule was updated.
112
112
  */
113
113
  updated_at: string;
114
114
  /**
115
- * ID of the VPC the firewall rule belongs to.
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 firewall rule. Either VPC CIDR or VM in VPC.
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 firewall rule.
128
+ * Destination ports of the Firewall Rule.
129
129
  */
130
130
  destination_ports: Array<string>;
131
131
  /**
132
- * Name of the firewall rule.
132
+ * Name of the Firewall Rule.
133
133
  */
134
134
  name: string;
135
135
  /**
136
- * Protocol of the firewall rule.
136
+ * Protocol of the Firewall Rule.
137
137
  */
138
138
  protocol: 'tcp' | 'udp';
139
139
  /**
140
- * Source address of the firewall rule. Address of 0.0.0.0 requires a CIDR mask
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 firewall rule. Either VPC CIDR or VM in
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 firewall rule.
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 firewall rule.
160
+ * Body param: Name of the Firewall Rule.
161
161
  */
162
162
  name?: string;
163
163
  /**
164
- * Body param: Protocol of the firewall rule.
164
+ * Body param: Protocol of the Firewall Rule.
165
165
  */
166
166
  protocol?: 'tcp' | 'udp';
167
167
  /**
168
- * Body param: Source address of the firewall rule. Address of 0.0.0.0 requires a
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 firewall rule.
78
+ * Unique identifier for the Firewall Rule.
79
79
  */
80
80
  id: string;
81
81
  /**
82
- * When the firewall rule was created.
82
+ * When the Firewall Rule was created.
83
83
  */
84
84
  created_at: string;
85
85
  /**
86
- * Destination address of the firewall rule. Either VPC CIDR or VM in VPC.
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 firewall rule.
90
+ * Destination ports of the Firewall Rule.
91
91
  */
92
92
  destination_ports: Array<string>;
93
93
  /**
94
- * Name of the firewall rule.
94
+ * Name of the Firewall Rule.
95
95
  */
96
96
  name: string;
97
97
  /**
98
- * Protocol of the firewall rule.
98
+ * Protocol of the Firewall Rule.
99
99
  */
100
100
  protocol: 'tcp' | 'udp';
101
101
  /**
102
- * Source address of the firewall rule. Address of 0.0.0.0 requires a CIDR mask
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 firewall rule was updated.
111
+ * When the Firewall Rule was updated.
112
112
  */
113
113
  updated_at: string;
114
114
  /**
115
- * ID of the VPC the firewall rule belongs to.
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 firewall rule. Either VPC CIDR or VM in VPC.
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 firewall rule.
128
+ * Destination ports of the Firewall Rule.
129
129
  */
130
130
  destination_ports: Array<string>;
131
131
  /**
132
- * Name of the firewall rule.
132
+ * Name of the Firewall Rule.
133
133
  */
134
134
  name: string;
135
135
  /**
136
- * Protocol of the firewall rule.
136
+ * Protocol of the Firewall Rule.
137
137
  */
138
138
  protocol: 'tcp' | 'udp';
139
139
  /**
140
- * Source address of the firewall rule. Address of 0.0.0.0 requires a CIDR mask
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 firewall rule. Either VPC CIDR or VM in
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 firewall rule.
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 firewall rule.
160
+ * Body param: Name of the Firewall Rule.
161
161
  */
162
162
  name?: string;
163
163
  /**
164
- * Body param: Protocol of the firewall rule.
164
+ * Body param: Protocol of the Firewall Rule.
165
165
  */
166
166
  protocol?: 'tcp' | 'udp';
167
167
  /**
168
- * Body param: Source address of the firewall rule. Address of 0.0.0.0 requires a
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 subnet.
73
+ * CIDR block for the Subnet.
74
74
  */
75
75
  cidr: string;
76
76
  /**
77
- * When the subnet was created.
77
+ * When the Subnet was created.
78
78
  */
79
79
  created_at: string;
80
80
  /**
81
- * Name of the subnet.
81
+ * Name of the Subnet.
82
82
  */
83
83
  name: string;
84
84
  /**
85
- * When the subnet was updated.
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 firewall rules associated with the VPC.
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 subnet.
73
+ * CIDR block for the Subnet.
74
74
  */
75
75
  cidr: string;
76
76
  /**
77
- * When the subnet was created.
77
+ * When the Subnet was created.
78
78
  */
79
79
  created_at: string;
80
80
  /**
81
- * Name of the subnet.
81
+ * Name of the Subnet.
82
82
  */
83
83
  name: string;
84
84
  /**
85
- * When the subnet was updated.
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 firewall rules associated with the VPC.
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 operation.
19
+ * Unique identifier for the Operation.
20
20
  */
21
21
  id: string;
22
22
  /**
23
- * When the operation was created.
23
+ * When the Operation was created.
24
24
  */
25
25
  created_at: string;
26
26
  /**
27
- * Kind of operation.
27
+ * Kind of Operation.
28
28
  */
29
29
  kind: OperationKind;
30
30
  /**
31
- * ID of the resource that the operation is acting on.
31
+ * ID of the resource that the Operation is acting on.
32
32
  */
33
33
  resource_id: string;
34
34
  /**
35
- * Status of the operation.
35
+ * Status of the Operation.
36
36
  */
37
37
  status: OperationStatus;
38
38
  /**
39
- * Type of operation.
39
+ * Type of Operation.
40
40
  */
41
41
  type: OperationType;
42
42
  /**
43
- * When the operation was updated.
43
+ * When the Operation was updated.
44
44
  */
45
45
  updated_at: string;
46
46
  }
47
47
  /**
48
- * Kind of operation.
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 operation.
55
+ * Status of the Operation.
56
56
  */
57
57
  export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
58
58
  /**
59
- * Type of operation.
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 operation.
19
+ * Unique identifier for the Operation.
20
20
  */
21
21
  id: string;
22
22
  /**
23
- * When the operation was created.
23
+ * When the Operation was created.
24
24
  */
25
25
  created_at: string;
26
26
  /**
27
- * Kind of operation.
27
+ * Kind of Operation.
28
28
  */
29
29
  kind: OperationKind;
30
30
  /**
31
- * ID of the resource that the operation is acting on.
31
+ * ID of the resource that the Operation is acting on.
32
32
  */
33
33
  resource_id: string;
34
34
  /**
35
- * Status of the operation.
35
+ * Status of the Operation.
36
36
  */
37
37
  status: OperationStatus;
38
38
  /**
39
- * Type of operation.
39
+ * Type of Operation.
40
40
  */
41
41
  type: OperationType;
42
42
  /**
43
- * When the operation was updated.
43
+ * When the Operation was updated.
44
44
  */
45
45
  updated_at: string;
46
46
  }
47
47
  /**
48
- * Kind of operation.
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 operation.
55
+ * Status of the Operation.
56
56
  */
57
57
  export type OperationStatus = 'pending' | 'running' | 'done' | 'failed' | 'unknown';
58
58
  /**
59
- * Type of operation.
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.RPCNodesDedicatedBlockchainList>;
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,+BAA+B,CAAC;CAGzF"}
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.RPCNodesDedicatedBlockchainList>;
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,+BAA+B,CAAC;CAGzF"}
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 Dedicated extends APIResource {
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<RPCNodesDedicatedList>;
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<RPCNodesDedicated>;
15
+ get(nodeID: string, options?: RequestOptions): APIPromise<Dedicated>;
16
16
  }
17
17
  /**
18
18
  * RPC Node Dedicated details.
19
19
  */
20
- export interface RPCNodesDedicated {
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 Dedicated RPC Node.
51
+ * Blockchain supported by the RPC Node Dedicated.
52
52
  */
53
- export interface RPCNodesDedicatedBlockchain {
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 RPCNodesDedicatedBlockchainList {
64
- items: Array<RPCNodesDedicatedBlockchain>;
63
+ export interface DedicatedBlockchainList {
64
+ items: Array<DedicatedBlockchain>;
65
65
  }
66
- export interface RPCNodesDedicatedList {
67
- items: Array<RPCNodesDedicated>;
66
+ export interface DedicatedList {
67
+ items: Array<Dedicated>;
68
68
  }
69
- export declare namespace Dedicated {
70
- export { type RPCNodesDedicated as RPCNodesDedicated, type RPCNodesDedicatedBlockchain as RPCNodesDedicatedBlockchain, type RPCNodesDedicatedBlockchainList as RPCNodesDedicatedBlockchainList, type RPCNodesDedicatedList as RPCNodesDedicatedList, };
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,qB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