@nirvana-labs/nirvana 1.18.2 → 1.19.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 (112) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +1 -1
  3. package/resources/compute/vms/availability.d.mts +17 -1
  4. package/resources/compute/vms/availability.d.mts.map +1 -1
  5. package/resources/compute/vms/availability.d.ts +17 -1
  6. package/resources/compute/vms/availability.d.ts.map +1 -1
  7. package/resources/compute/vms/availability.js +1 -1
  8. package/resources/compute/vms/availability.mjs +1 -1
  9. package/resources/compute/vms/vms.d.mts +21 -1
  10. package/resources/compute/vms/vms.d.mts.map +1 -1
  11. package/resources/compute/vms/vms.d.ts +21 -1
  12. package/resources/compute/vms/vms.d.ts.map +1 -1
  13. package/resources/compute/vms/vms.js +1 -1
  14. package/resources/compute/vms/vms.js.map +1 -1
  15. package/resources/compute/vms/vms.mjs +1 -1
  16. package/resources/compute/vms/vms.mjs.map +1 -1
  17. package/resources/compute/volumes/availability.d.mts +8 -0
  18. package/resources/compute/volumes/availability.d.mts.map +1 -1
  19. package/resources/compute/volumes/availability.d.ts +8 -0
  20. package/resources/compute/volumes/availability.d.ts.map +1 -1
  21. package/resources/compute/volumes/volumes.d.mts +12 -0
  22. package/resources/compute/volumes/volumes.d.mts.map +1 -1
  23. package/resources/compute/volumes/volumes.d.ts +12 -0
  24. package/resources/compute/volumes/volumes.d.ts.map +1 -1
  25. package/resources/compute/volumes/volumes.js.map +1 -1
  26. package/resources/compute/volumes/volumes.mjs.map +1 -1
  27. package/resources/connect/connect.d.mts +2 -2
  28. package/resources/connect/connect.d.mts.map +1 -1
  29. package/resources/connect/connect.d.ts +2 -2
  30. package/resources/connect/connect.d.ts.map +1 -1
  31. package/resources/connect/connect.mjs.map +1 -1
  32. package/resources/connect/flux/flux.d.mts +38 -22
  33. package/resources/connect/flux/flux.d.mts.map +1 -1
  34. package/resources/connect/flux/flux.d.ts +38 -22
  35. package/resources/connect/flux/flux.d.ts.map +1 -1
  36. package/resources/connect/flux/flux.js +4 -4
  37. package/resources/connect/flux/flux.js.map +1 -1
  38. package/resources/connect/flux/flux.mjs +4 -4
  39. package/resources/connect/flux/flux.mjs.map +1 -1
  40. package/resources/connect/flux/index.d.mts +2 -2
  41. package/resources/connect/flux/index.d.mts.map +1 -1
  42. package/resources/connect/flux/index.d.ts +2 -2
  43. package/resources/connect/flux/index.d.ts.map +1 -1
  44. package/resources/connect/flux/index.js +3 -3
  45. package/resources/connect/flux/index.js.map +1 -1
  46. package/resources/connect/flux/index.mjs +1 -1
  47. package/resources/connect/flux/index.mjs.map +1 -1
  48. package/resources/connect/flux/routes.d.mts +17 -0
  49. package/resources/connect/flux/routes.d.mts.map +1 -0
  50. package/resources/connect/flux/routes.d.ts +17 -0
  51. package/resources/connect/flux/routes.d.ts.map +1 -0
  52. package/resources/connect/flux/routes.js +21 -0
  53. package/resources/connect/flux/routes.js.map +1 -0
  54. package/resources/connect/flux/routes.mjs +17 -0
  55. package/resources/connect/flux/routes.mjs.map +1 -0
  56. package/resources/connect/index.d.mts +1 -1
  57. package/resources/connect/index.d.mts.map +1 -1
  58. package/resources/connect/index.d.ts +1 -1
  59. package/resources/connect/index.d.ts.map +1 -1
  60. package/resources/networking/firewall-rules.d.mts +12 -0
  61. package/resources/networking/firewall-rules.d.mts.map +1 -1
  62. package/resources/networking/firewall-rules.d.ts +12 -0
  63. package/resources/networking/firewall-rules.d.ts.map +1 -1
  64. package/resources/networking/vpcs/availability.d.mts +8 -0
  65. package/resources/networking/vpcs/availability.d.mts.map +1 -1
  66. package/resources/networking/vpcs/availability.d.ts +8 -0
  67. package/resources/networking/vpcs/availability.d.ts.map +1 -1
  68. package/resources/networking/vpcs/vpcs.d.mts +12 -0
  69. package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
  70. package/resources/networking/vpcs/vpcs.d.ts +12 -0
  71. package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
  72. package/resources/networking/vpcs/vpcs.js.map +1 -1
  73. package/resources/networking/vpcs/vpcs.mjs.map +1 -1
  74. package/resources/rpc-nodes/dedicated/dedicated.d.mts +4 -0
  75. package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
  76. package/resources/rpc-nodes/dedicated/dedicated.d.ts +4 -0
  77. package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
  78. package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
  79. package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
  80. package/resources/rpc-nodes/flex/flex.d.mts +4 -0
  81. package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
  82. package/resources/rpc-nodes/flex/flex.d.ts +4 -0
  83. package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
  84. package/resources/rpc-nodes/flex/flex.js.map +1 -1
  85. package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
  86. package/src/resources/compute/vms/availability.ts +21 -1
  87. package/src/resources/compute/vms/vms.ts +26 -1
  88. package/src/resources/compute/volumes/availability.ts +10 -0
  89. package/src/resources/compute/volumes/volumes.ts +15 -0
  90. package/src/resources/connect/connect.ts +4 -4
  91. package/src/resources/connect/flux/flux.ts +45 -25
  92. package/src/resources/connect/flux/index.ts +3 -3
  93. package/src/resources/connect/flux/{providers.ts → routes.ts} +6 -6
  94. package/src/resources/connect/index.ts +2 -2
  95. package/src/resources/networking/firewall-rules.ts +15 -0
  96. package/src/resources/networking/vpcs/availability.ts +10 -0
  97. package/src/resources/networking/vpcs/vpcs.ts +15 -0
  98. package/src/resources/rpc-nodes/dedicated/dedicated.ts +5 -0
  99. package/src/resources/rpc-nodes/flex/flex.ts +5 -0
  100. package/src/version.ts +1 -1
  101. package/version.d.mts +1 -1
  102. package/version.d.ts +1 -1
  103. package/version.js +1 -1
  104. package/version.mjs +1 -1
  105. package/resources/connect/flux/providers.d.mts +0 -17
  106. package/resources/connect/flux/providers.d.mts.map +0 -1
  107. package/resources/connect/flux/providers.d.ts +0 -17
  108. package/resources/connect/flux/providers.d.ts.map +0 -1
  109. package/resources/connect/flux/providers.js +0 -21
  110. package/resources/connect/flux/providers.js.map +0 -1
  111. package/resources/connect/flux/providers.mjs +0 -17
  112. package/resources/connect/flux/providers.mjs.map +0 -1
@@ -6,10 +6,10 @@ export {
6
6
  type Flux,
7
7
  type FluxBandwidthMbps,
8
8
  type FluxList,
9
- type FluxProvider,
10
9
  type FluxProviderAWSConfig,
11
10
  type FluxProviderAWSConfigRequest,
12
- type FluxProviderList,
11
+ type FluxRoute,
12
+ type FluxRouteList,
13
13
  type FluxCreateParams,
14
14
  type FluxUpdateParams,
15
15
  } from './flux/index';
@@ -156,6 +156,11 @@ export interface FirewallRule {
156
156
  */
157
157
  status: Shared.ResourceStatus;
158
158
 
159
+ /**
160
+ * Tags to attach to the Firewall Rule.
161
+ */
162
+ tags: Array<string>;
163
+
159
164
  /**
160
165
  * When the Firewall Rule was updated.
161
166
  */
@@ -197,6 +202,11 @@ export interface FirewallRuleCreateParams {
197
202
  * of 0.
198
203
  */
199
204
  source_address: string;
205
+
206
+ /**
207
+ * Tags to attach to the Firewall Rule.
208
+ */
209
+ tags?: Array<string>;
200
210
  }
201
211
 
202
212
  export interface FirewallRuleUpdateParams {
@@ -231,6 +241,11 @@ export interface FirewallRuleUpdateParams {
231
241
  * CIDR mask of 0.
232
242
  */
233
243
  source_address?: string;
244
+
245
+ /**
246
+ * Body param: Tags to attach to the Firewall Rule.
247
+ */
248
+ tags?: Array<string>;
234
249
  }
235
250
 
236
251
  export interface FirewallRuleDeleteParams {
@@ -68,6 +68,11 @@ export interface AvailabilityCreateParams {
68
68
  * Name of the subnet to create.
69
69
  */
70
70
  subnet_name: string;
71
+
72
+ /**
73
+ * Tags to attach to the VPC.
74
+ */
75
+ tags?: Array<string>;
71
76
  }
72
77
 
73
78
  export interface AvailabilityUpdateParams {
@@ -80,6 +85,11 @@ export interface AvailabilityUpdateParams {
80
85
  * Name of the subnet to create.
81
86
  */
82
87
  subnet_name?: string;
88
+
89
+ /**
90
+ * Tags to attach to the VPC.
91
+ */
92
+ tags?: Array<string>;
83
93
  }
84
94
 
85
95
  export declare namespace Availability {
@@ -160,6 +160,11 @@ export interface VPC {
160
160
  */
161
161
  subnet: Subnet;
162
162
 
163
+ /**
164
+ * Tags to attach to the VPC.
165
+ */
166
+ tags: Array<string>;
167
+
163
168
  /**
164
169
  * When the VPC was updated.
165
170
  */
@@ -185,6 +190,11 @@ export interface VPCCreateParams {
185
190
  * Name of the subnet to create.
186
191
  */
187
192
  subnet_name: string;
193
+
194
+ /**
195
+ * Tags to attach to the VPC.
196
+ */
197
+ tags?: Array<string>;
188
198
  }
189
199
 
190
200
  export interface VPCUpdateParams {
@@ -197,6 +207,11 @@ export interface VPCUpdateParams {
197
207
  * Name of the subnet to create.
198
208
  */
199
209
  subnet_name?: string;
210
+
211
+ /**
212
+ * Tags to attach to the VPC.
213
+ */
214
+ tags?: Array<string>;
200
215
  }
201
216
 
202
217
  VPCs.Availability = Availability;
@@ -59,6 +59,11 @@ export interface Dedicated {
59
59
  */
60
60
  network: string;
61
61
 
62
+ /**
63
+ * Tags to attach to the RPC Node Dedicated.
64
+ */
65
+ tags: Array<string>;
66
+
62
67
  /**
63
68
  * When the RPC Node Dedicated was updated.
64
69
  */
@@ -59,6 +59,11 @@ export interface Flex {
59
59
  */
60
60
  network: string;
61
61
 
62
+ /**
63
+ * Tags to attach to the RPC Node Flex.
64
+ */
65
+ tags: Array<string>;
66
+
62
67
  /**
63
68
  * When the RPC Node Flex was updated.
64
69
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.18.2'; // x-release-please-version
1
+ export const VERSION = '1.19.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.18.2";
1
+ export declare const VERSION = "1.19.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.18.2";
1
+ export declare const VERSION = "1.19.0";
2
2
  //# sourceMappingURL=version.d.ts.map
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 = '1.18.2'; // x-release-please-version
4
+ exports.VERSION = '1.19.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.18.2'; // x-release-please-version
1
+ export const VERSION = '1.19.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1,17 +0,0 @@
1
- import { APIResource } from "../../../core/resource.mjs";
2
- import * as FluxAPI from "./flux.mjs";
3
- import { APIPromise } from "../../../core/api-promise.mjs";
4
- import { RequestOptions } from "../../../internal/request-options.mjs";
5
- export declare class Providers extends APIResource {
6
- /**
7
- * List all supported providers with regions for Connect Flux.
8
- *
9
- * @example
10
- * ```ts
11
- * const fluxProviderList =
12
- * await client.connect.flux.providers.list();
13
- * ```
14
- */
15
- list(options?: RequestOptions): APIPromise<FluxAPI.FluxProviderList>;
16
- }
17
- //# sourceMappingURL=providers.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"providers.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,gBAAgB,CAAC;CAGrE"}
@@ -1,17 +0,0 @@
1
- import { APIResource } from "../../../core/resource.js";
2
- import * as FluxAPI from "./flux.js";
3
- import { APIPromise } from "../../../core/api-promise.js";
4
- import { RequestOptions } from "../../../internal/request-options.js";
5
- export declare class Providers extends APIResource {
6
- /**
7
- * List all supported providers with regions for Connect Flux.
8
- *
9
- * @example
10
- * ```ts
11
- * const fluxProviderList =
12
- * await client.connect.flux.providers.list();
13
- * ```
14
- */
15
- list(options?: RequestOptions): APIPromise<FluxAPI.FluxProviderList>;
16
- }
17
- //# sourceMappingURL=providers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"providers.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,gBAAgB,CAAC;CAGrE"}
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Providers = void 0;
5
- const resource_1 = require("../../../core/resource.js");
6
- class Providers extends resource_1.APIResource {
7
- /**
8
- * List all supported providers with regions for Connect Flux.
9
- *
10
- * @example
11
- * ```ts
12
- * const fluxProviderList =
13
- * await client.connect.flux.providers.list();
14
- * ```
15
- */
16
- list(options) {
17
- return this._client.get('/v1/connect/flux/providers', options);
18
- }
19
- }
20
- exports.Providers = Providers;
21
- //# sourceMappingURL=providers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AAbD,8BAaC"}
@@ -1,17 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../../core/resource.mjs";
3
- export class Providers extends APIResource {
4
- /**
5
- * List all supported providers with regions for Connect Flux.
6
- *
7
- * @example
8
- * ```ts
9
- * const fluxProviderList =
10
- * await client.connect.flux.providers.list();
11
- * ```
12
- */
13
- list(options) {
14
- return this._client.get('/v1/connect/flux/providers', options);
15
- }
16
- }
17
- //# sourceMappingURL=providers.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"providers.mjs","sourceRoot":"","sources":["../../../src/resources/connect/flux/providers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF"}