@nirvana-labs/nirvana 1.19.0 → 1.20.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 (175) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +7 -7
  3. package/package.json +1 -1
  4. package/resources/connect/connect.d.mts +3 -3
  5. package/resources/connect/connect.d.mts.map +1 -1
  6. package/resources/connect/connect.d.ts +3 -3
  7. package/resources/connect/connect.d.ts.map +1 -1
  8. package/resources/connect/connect.js +2 -2
  9. package/resources/connect/connect.js.map +1 -1
  10. package/resources/connect/connect.mjs +3 -3
  11. package/resources/connect/connect.mjs.map +1 -1
  12. package/resources/connect/flux/flux.d.mts +2 -216
  13. package/resources/connect/flux/flux.d.mts.map +1 -1
  14. package/resources/connect/flux/flux.d.ts +2 -216
  15. package/resources/connect/flux/flux.d.ts.map +1 -1
  16. package/resources/connect/flux/flux.js +4 -70
  17. package/resources/connect/flux/flux.js.map +1 -1
  18. package/resources/connect/flux/flux.mjs +2 -68
  19. package/resources/connect/flux/flux.mjs.map +1 -1
  20. package/resources/connect/flux/index.d.mts +1 -1
  21. package/resources/connect/flux/index.d.mts.map +1 -1
  22. package/resources/connect/flux/index.d.ts +1 -1
  23. package/resources/connect/flux/index.d.ts.map +1 -1
  24. package/resources/connect/flux/index.js +2 -2
  25. package/resources/connect/flux/index.js.map +1 -1
  26. package/resources/connect/flux/index.mjs +1 -1
  27. package/resources/connect/flux/index.mjs.map +1 -1
  28. package/resources/connect/flux/routes.d.mts +0 -13
  29. package/resources/connect/flux/routes.d.mts.map +1 -1
  30. package/resources/connect/flux/routes.d.ts +0 -13
  31. package/resources/connect/flux/routes.d.ts.map +1 -1
  32. package/resources/connect/flux/routes.js +0 -12
  33. package/resources/connect/flux/routes.js.map +1 -1
  34. package/resources/connect/flux/routes.mjs +0 -12
  35. package/resources/connect/flux/routes.mjs.map +1 -1
  36. package/resources/connect/index.d.mts +1 -1
  37. package/resources/connect/index.d.mts.map +1 -1
  38. package/resources/connect/index.d.ts +1 -1
  39. package/resources/connect/index.d.ts.map +1 -1
  40. package/resources/connect/index.js +2 -2
  41. package/resources/connect/index.js.map +1 -1
  42. package/resources/connect/index.mjs +1 -1
  43. package/resources/connect/index.mjs.map +1 -1
  44. package/resources/networking/connect/connect.d.mts +130 -0
  45. package/resources/networking/connect/connect.d.mts.map +1 -0
  46. package/resources/networking/connect/connect.d.ts +130 -0
  47. package/resources/networking/connect/connect.d.ts.map +1 -0
  48. package/resources/networking/connect/connect.js +21 -0
  49. package/resources/networking/connect/connect.js.map +1 -0
  50. package/resources/networking/connect/connect.mjs +16 -0
  51. package/resources/networking/connect/connect.mjs.map +1 -0
  52. package/resources/networking/connect/connections.d.mts +114 -0
  53. package/resources/networking/connect/connections.d.mts.map +1 -0
  54. package/resources/networking/connect/connections.d.ts +114 -0
  55. package/resources/networking/connect/connections.d.ts.map +1 -0
  56. package/resources/networking/connect/connections.js +82 -0
  57. package/resources/networking/connect/connections.js.map +1 -0
  58. package/resources/networking/connect/connections.mjs +78 -0
  59. package/resources/networking/connect/connections.mjs.map +1 -0
  60. package/resources/networking/connect/index.d.mts +4 -0
  61. package/resources/networking/connect/index.d.mts.map +1 -0
  62. package/resources/networking/connect/index.d.ts +4 -0
  63. package/resources/networking/connect/index.d.ts.map +1 -0
  64. package/resources/networking/connect/index.js +11 -0
  65. package/resources/networking/connect/index.js.map +1 -0
  66. package/resources/networking/connect/index.mjs +5 -0
  67. package/resources/networking/connect/index.mjs.map +1 -0
  68. package/resources/networking/connect/routes.d.mts +17 -0
  69. package/resources/networking/connect/routes.d.mts.map +1 -0
  70. package/resources/networking/connect/routes.d.ts +17 -0
  71. package/resources/networking/connect/routes.d.ts.map +1 -0
  72. package/resources/networking/connect/routes.js +21 -0
  73. package/resources/networking/connect/routes.js.map +1 -0
  74. package/resources/networking/connect/routes.mjs +17 -0
  75. package/resources/networking/connect/routes.mjs.map +1 -0
  76. package/resources/networking/connect.d.mts +2 -0
  77. package/resources/networking/connect.d.mts.map +1 -0
  78. package/resources/networking/connect.d.ts +2 -0
  79. package/resources/networking/connect.d.ts.map +1 -0
  80. package/resources/networking/connect.js +6 -0
  81. package/resources/networking/connect.js.map +1 -0
  82. package/resources/networking/connect.mjs +3 -0
  83. package/resources/networking/connect.mjs.map +1 -0
  84. package/resources/networking/index.d.mts +1 -0
  85. package/resources/networking/index.d.mts.map +1 -1
  86. package/resources/networking/index.d.ts +1 -0
  87. package/resources/networking/index.d.ts.map +1 -1
  88. package/resources/networking/index.js +5 -3
  89. package/resources/networking/index.js.map +1 -1
  90. package/resources/networking/index.mjs +1 -0
  91. package/resources/networking/index.mjs.map +1 -1
  92. package/resources/networking/networking.d.mts +4 -0
  93. package/resources/networking/networking.d.mts.map +1 -1
  94. package/resources/networking/networking.d.ts +4 -0
  95. package/resources/networking/networking.d.ts.map +1 -1
  96. package/resources/networking/networking.js +4 -0
  97. package/resources/networking/networking.js.map +1 -1
  98. package/resources/networking/networking.mjs +4 -0
  99. package/resources/networking/networking.mjs.map +1 -1
  100. package/resources/rpc-nodes/dedicated/blockchains.d.mts +6 -0
  101. package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
  102. package/resources/rpc-nodes/dedicated/blockchains.d.ts +6 -0
  103. package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
  104. package/resources/rpc-nodes/dedicated/blockchains.js +6 -0
  105. package/resources/rpc-nodes/dedicated/blockchains.js.map +1 -1
  106. package/resources/rpc-nodes/dedicated/blockchains.mjs +6 -0
  107. package/resources/rpc-nodes/dedicated/blockchains.mjs.map +1 -1
  108. package/resources/rpc-nodes/dedicated/dedicated.d.mts +13 -0
  109. package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
  110. package/resources/rpc-nodes/dedicated/dedicated.d.ts +13 -0
  111. package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
  112. package/resources/rpc-nodes/dedicated/dedicated.js +13 -0
  113. package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
  114. package/resources/rpc-nodes/dedicated/dedicated.mjs +13 -0
  115. package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
  116. package/resources/rpc-nodes/flex/blockchains.d.mts +6 -0
  117. package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
  118. package/resources/rpc-nodes/flex/blockchains.d.ts +6 -0
  119. package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
  120. package/resources/rpc-nodes/flex/blockchains.js +6 -0
  121. package/resources/rpc-nodes/flex/blockchains.js.map +1 -1
  122. package/resources/rpc-nodes/flex/blockchains.mjs +6 -0
  123. package/resources/rpc-nodes/flex/blockchains.mjs.map +1 -1
  124. package/resources/rpc-nodes/flex/flex.d.mts +70 -1
  125. package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
  126. package/resources/rpc-nodes/flex/flex.d.ts +70 -1
  127. package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
  128. package/resources/rpc-nodes/flex/flex.js +51 -0
  129. package/resources/rpc-nodes/flex/flex.js.map +1 -1
  130. package/resources/rpc-nodes/flex/flex.mjs +51 -0
  131. package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
  132. package/resources/rpc-nodes/flex/index.d.mts +1 -1
  133. package/resources/rpc-nodes/flex/index.d.mts.map +1 -1
  134. package/resources/rpc-nodes/flex/index.d.ts +1 -1
  135. package/resources/rpc-nodes/flex/index.d.ts.map +1 -1
  136. package/resources/rpc-nodes/flex/index.js.map +1 -1
  137. package/resources/rpc-nodes/flex/index.mjs +1 -1
  138. package/resources/rpc-nodes/flex/index.mjs.map +1 -1
  139. package/resources/rpc-nodes/index.d.mts +1 -1
  140. package/resources/rpc-nodes/index.d.mts.map +1 -1
  141. package/resources/rpc-nodes/index.d.ts +1 -1
  142. package/resources/rpc-nodes/index.d.ts.map +1 -1
  143. package/resources/rpc-nodes/index.js.map +1 -1
  144. package/resources/rpc-nodes/index.mjs.map +1 -1
  145. package/resources/rpc-nodes/rpc-nodes.d.mts +2 -2
  146. package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
  147. package/resources/rpc-nodes/rpc-nodes.d.ts +2 -2
  148. package/resources/rpc-nodes/rpc-nodes.d.ts.map +1 -1
  149. package/resources/rpc-nodes/rpc-nodes.js.map +1 -1
  150. package/resources/rpc-nodes/rpc-nodes.mjs +1 -1
  151. package/resources/rpc-nodes/rpc-nodes.mjs.map +1 -1
  152. package/src/resources/connect/connect.ts +4 -26
  153. package/src/resources/connect/flux/flux.ts +3 -281
  154. package/src/resources/connect/flux/index.ts +1 -12
  155. package/src/resources/connect/flux/routes.ts +1 -17
  156. package/src/resources/connect/index.ts +1 -12
  157. package/src/resources/networking/connect/connect.ts +174 -0
  158. package/src/resources/networking/connect/connections.ts +148 -0
  159. package/src/resources/networking/connect/index.ts +14 -0
  160. package/src/resources/networking/connect/routes.ts +21 -0
  161. package/src/resources/networking/connect.ts +3 -0
  162. package/src/resources/networking/index.ts +10 -0
  163. package/src/resources/networking/networking.ts +24 -0
  164. package/src/resources/rpc-nodes/dedicated/blockchains.ts +6 -0
  165. package/src/resources/rpc-nodes/dedicated/dedicated.ts +13 -0
  166. package/src/resources/rpc-nodes/flex/blockchains.ts +6 -0
  167. package/src/resources/rpc-nodes/flex/flex.ts +90 -0
  168. package/src/resources/rpc-nodes/flex/index.ts +9 -1
  169. package/src/resources/rpc-nodes/index.ts +2 -0
  170. package/src/resources/rpc-nodes/rpc-nodes.ts +11 -1
  171. package/src/version.ts +1 -1
  172. package/version.d.mts +1 -1
  173. package/version.d.ts +1 -1
  174. package/version.js +1 -1
  175. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.20.0 (2025-10-18)
4
+
5
+ Full Changelog: [v1.19.0...v1.20.0](https://github.com/nirvana-labs/nirvana-typescript/compare/v1.19.0...v1.20.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([a45411c](https://github.com/nirvana-labs/nirvana-typescript/commit/a45411c08f619c6ab49fb8ef90d271b2da0ee7fe))
10
+ * **api:** api update ([59f87a6](https://github.com/nirvana-labs/nirvana-typescript/commit/59f87a672802fc197bb34465f169783465b666c8))
11
+ * **api:** api update ([49de5ff](https://github.com/nirvana-labs/nirvana-typescript/commit/49de5ff2876bfc9db08c3dc445262df8ea2bf8f3))
12
+
3
13
  ## 1.19.0 (2025-10-09)
4
14
 
5
15
  Full Changelog: [v1.18.3...v1.19.0](https://github.com/nirvana-labs/nirvana-typescript/compare/v1.18.3...v1.19.0)
package/README.md CHANGED
@@ -29,7 +29,7 @@ const operation = await client.compute.vms.create({
29
29
  cpu_config: { vcpu: 2 },
30
30
  memory_config: { size: 2 },
31
31
  name: 'my-vm',
32
- os_image_name: 'ubuntu-noble-2025-04-03',
32
+ os_image_name: 'ubuntu-noble-2025-10-01',
33
33
  public_ip_enabled: true,
34
34
  region: 'us-wdc-1',
35
35
  ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' },
@@ -56,7 +56,7 @@ const params: NirvanaLabs.Compute.VMCreateParams = {
56
56
  cpu_config: { vcpu: 2 },
57
57
  memory_config: { size: 2 },
58
58
  name: 'my-vm',
59
- os_image_name: 'ubuntu-noble-2025-04-03',
59
+ os_image_name: 'ubuntu-noble-2025-10-01',
60
60
  public_ip_enabled: true,
61
61
  region: 'us-wdc-1',
62
62
  ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' },
@@ -81,7 +81,7 @@ const operation = await client.compute.vms
81
81
  cpu_config: { vcpu: 2 },
82
82
  memory_config: { size: 2 },
83
83
  name: 'my-vm',
84
- os_image_name: 'ubuntu-noble-2025-04-03',
84
+ os_image_name: 'ubuntu-noble-2025-10-01',
85
85
  public_ip_enabled: true,
86
86
  region: 'us-wdc-1',
87
87
  ssh_key: {
@@ -129,7 +129,7 @@ const client = new NirvanaLabs({
129
129
  });
130
130
 
131
131
  // Or, configure per-request:
132
- await client.compute.vms.create({ boot_volume: { size: 100 }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-04-03', public_ip_enabled: true, region: 'us-wdc-1', ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' }, subnet_id: '123e4567-e89b-12d3-a456-426614174000' }, {
132
+ await client.compute.vms.create({ boot_volume: { size: 100 }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-10-01', public_ip_enabled: true, region: 'us-wdc-1', ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' }, subnet_id: '123e4567-e89b-12d3-a456-426614174000' }, {
133
133
  maxRetries: 5,
134
134
  });
135
135
  ```
@@ -146,7 +146,7 @@ const client = new NirvanaLabs({
146
146
  });
147
147
 
148
148
  // Override per-request:
149
- await client.compute.vms.create({ boot_volume: { size: 100 }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-04-03', public_ip_enabled: true, region: 'us-wdc-1', ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' }, subnet_id: '123e4567-e89b-12d3-a456-426614174000' }, {
149
+ await client.compute.vms.create({ boot_volume: { size: 100 }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-10-01', public_ip_enabled: true, region: 'us-wdc-1', ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' }, subnet_id: '123e4567-e89b-12d3-a456-426614174000' }, {
150
150
  timeout: 5 * 1000,
151
151
  });
152
152
  ```
@@ -175,7 +175,7 @@ const response = await client.compute.vms
175
175
  cpu_config: { vcpu: 2 },
176
176
  memory_config: { size: 2 },
177
177
  name: 'my-vm',
178
- os_image_name: 'ubuntu-noble-2025-04-03',
178
+ os_image_name: 'ubuntu-noble-2025-10-01',
179
179
  public_ip_enabled: true,
180
180
  region: 'us-wdc-1',
181
181
  ssh_key: {
@@ -193,7 +193,7 @@ const { data: operation, response: raw } = await client.compute.vms
193
193
  cpu_config: { vcpu: 2 },
194
194
  memory_config: { size: 2 },
195
195
  name: 'my-vm',
196
- os_image_name: 'ubuntu-noble-2025-04-03',
196
+ os_image_name: 'ubuntu-noble-2025-10-01',
197
197
  public_ip_enabled: true,
198
198
  region: 'us-wdc-1',
199
199
  ssh_key: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nirvana-labs/nirvana",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "description": "The official TypeScript library for the Nirvana Labs API",
5
5
  "author": "Nirvana Labs <engineering@nirvanalabs.io>",
6
6
  "types": "./index.d.ts",
@@ -1,10 +1,10 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as FluxAPI from "./flux/flux.mjs";
3
- import { Flux, FluxBandwidthMbps, FluxCreateParams, FluxList, FluxProviderAWSConfig, FluxProviderAWSConfigRequest, FluxResource, FluxRoute, FluxRouteList, FluxUpdateParams } from "./flux/flux.mjs";
3
+ import { Flux } from "./flux/flux.mjs";
4
4
  export declare class Connect extends APIResource {
5
- flux: FluxAPI.FluxResource;
5
+ flux: FluxAPI.Flux;
6
6
  }
7
7
  export declare namespace Connect {
8
- export { FluxResource as FluxResource, type Flux as Flux, type FluxBandwidthMbps as FluxBandwidthMbps, type FluxList as FluxList, type FluxProviderAWSConfig as FluxProviderAWSConfig, type FluxProviderAWSConfigRequest as FluxProviderAWSConfigRequest, type FluxRoute as FluxRoute, type FluxRouteList as FluxRouteList, type FluxCreateParams as FluxCreateParams, type FluxUpdateParams as FluxUpdateParams, };
8
+ export { Flux as Flux };
9
9
  }
10
10
  //# sourceMappingURL=connect.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,IAAI,EACJ,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,qBAAqB,EACrB,4BAA4B,EAC5B,YAAY,EACZ,SAAS,EACT,aAAa,EACb,gBAAgB,EACjB;AAED,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAAI,EAAE,OAAO,CAAC,YAAY,CAA0C;CACrE;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
1
+ {"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;AAEf,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;CACzB"}
@@ -1,10 +1,10 @@
1
1
  import { APIResource } from "../../core/resource.js";
2
2
  import * as FluxAPI from "./flux/flux.js";
3
- import { Flux, FluxBandwidthMbps, FluxCreateParams, FluxList, FluxProviderAWSConfig, FluxProviderAWSConfigRequest, FluxResource, FluxRoute, FluxRouteList, FluxUpdateParams } from "./flux/flux.js";
3
+ import { Flux } from "./flux/flux.js";
4
4
  export declare class Connect extends APIResource {
5
- flux: FluxAPI.FluxResource;
5
+ flux: FluxAPI.Flux;
6
6
  }
7
7
  export declare namespace Connect {
8
- export { FluxResource as FluxResource, type Flux as Flux, type FluxBandwidthMbps as FluxBandwidthMbps, type FluxList as FluxList, type FluxProviderAWSConfig as FluxProviderAWSConfig, type FluxProviderAWSConfigRequest as FluxProviderAWSConfigRequest, type FluxRoute as FluxRoute, type FluxRouteList as FluxRouteList, type FluxCreateParams as FluxCreateParams, type FluxUpdateParams as FluxUpdateParams, };
8
+ export { Flux as Flux };
9
9
  }
10
10
  //# sourceMappingURL=connect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,IAAI,EACJ,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,qBAAqB,EACrB,4BAA4B,EAC5B,YAAY,EACZ,SAAS,EACT,aAAa,EACb,gBAAgB,EACjB;AAED,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAAI,EAAE,OAAO,CAAC,YAAY,CAA0C;CACrE;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
1
+ {"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;AAEf,qBAAa,OAAQ,SAAQ,WAAW;IACtC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAID,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;CACzB"}
@@ -9,9 +9,9 @@ const flux_1 = require("./flux/flux.js");
9
9
  class Connect extends resource_1.APIResource {
10
10
  constructor() {
11
11
  super(...arguments);
12
- this.flux = new FluxAPI.FluxResource(this._client);
12
+ this.flux = new FluxAPI.Flux(this._client);
13
13
  }
14
14
  }
15
15
  exports.Connect = Connect;
16
- Connect.FluxResource = flux_1.FluxResource;
16
+ Connect.Flux = flux_1.Flux;
17
17
  //# sourceMappingURL=connect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,gEAAuC;AACvC,yCAWqB;AAErB,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,SAAI,GAAyB,IAAI,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtE,CAAC;CAAA;AAFD,0BAEC;AAED,OAAO,CAAC,YAAY,GAAG,mBAAY,CAAC"}
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,gEAAuC;AACvC,yCAAmC;AAEnC,MAAa,OAAQ,SAAQ,sBAAW;IAAxC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC;CAAA;AAFD,0BAEC;AAED,OAAO,CAAC,IAAI,GAAG,WAAI,CAAC"}
@@ -1,12 +1,12 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  import { APIResource } from "../../core/resource.mjs";
3
3
  import * as FluxAPI from "./flux/flux.mjs";
4
- import { FluxResource, } from "./flux/flux.mjs";
4
+ import { Flux } from "./flux/flux.mjs";
5
5
  export class Connect extends APIResource {
6
6
  constructor() {
7
7
  super(...arguments);
8
- this.flux = new FluxAPI.FluxResource(this._client);
8
+ this.flux = new FluxAPI.Flux(this._client);
9
9
  }
10
10
  }
11
- Connect.FluxResource = FluxResource;
11
+ Connect.Flux = Flux;
12
12
  //# sourceMappingURL=connect.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAOL,YAAY,GAIb;AAED,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,SAAI,GAAyB,IAAI,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtE,CAAC;CAAA;AAED,OAAO,CAAC,YAAY,GAAG,YAAY,CAAC"}
1
+ {"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../../src/resources/connect/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IAAxC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC;CAAA;AAED,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC"}
@@ -1,224 +1,10 @@
1
1
  import { APIResource } from "../../../core/resource.mjs";
2
- import * as OperationsAPI from "../../operations.mjs";
3
- import * as Shared from "../../shared.mjs";
4
2
  import * as RoutesAPI from "./routes.mjs";
5
3
  import { Routes } from "./routes.mjs";
6
- import { APIPromise } from "../../../core/api-promise.mjs";
7
- import { RequestOptions } from "../../../internal/request-options.mjs";
8
- export declare class FluxResource extends APIResource {
4
+ export declare class Flux extends APIResource {
9
5
  routes: RoutesAPI.Routes;
10
- /**
11
- * Create a Connect Flux
12
- *
13
- * @example
14
- * ```ts
15
- * const operation = await client.connect.flux.create({
16
- * bandwidth_mbps: 50,
17
- * cidrs: ['10.0.0.0/16'],
18
- * name: 'my-connect-flux',
19
- * provider_cidrs: ['172.16.0.0/16'],
20
- * region: 'us-wdc-1',
21
- * });
22
- * ```
23
- */
24
- create(body: FluxCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
25
- /**
26
- * Update Connect Flux details
27
- *
28
- * @example
29
- * ```ts
30
- * const operation = await client.connect.flux.update(
31
- * 'flux_id',
32
- * );
33
- * ```
34
- */
35
- update(fluxID: string, body: FluxUpdateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
36
- /**
37
- * List all Connect Flux
38
- *
39
- * @example
40
- * ```ts
41
- * const fluxList = await client.connect.flux.list();
42
- * ```
43
- */
44
- list(options?: RequestOptions): APIPromise<FluxList>;
45
- /**
46
- * Delete Connect Flux
47
- *
48
- * @example
49
- * ```ts
50
- * const operation = await client.connect.flux.delete(
51
- * 'flux_id',
52
- * );
53
- * ```
54
- */
55
- delete(fluxID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
56
- /**
57
- * Get Connect Flux details
58
- *
59
- * @example
60
- * ```ts
61
- * const flux = await client.connect.flux.get('flux_id');
62
- * ```
63
- */
64
- get(fluxID: string, options?: RequestOptions): APIPromise<Flux>;
65
6
  }
66
- /**
67
- * Connect flux details.
68
- */
69
- export interface Flux {
70
- /**
71
- * Unique identifier for the Connect Flux
72
- */
73
- id: string;
74
- /**
75
- * ASN
76
- */
77
- asn: number | null;
78
- /**
79
- * AWS provider configuration
80
- */
81
- aws: FluxProviderAWSConfig | null;
82
- /**
83
- * Connect Flux speed in Mbps
84
- */
85
- bandwidth_mbps: FluxBandwidthMbps;
86
- /**
87
- * CIDRs for the Connect Flux
88
- */
89
- cidrs: Array<string>;
90
- /**
91
- * When the Connect Flux was created
92
- */
93
- created_at: string;
94
- /**
95
- * Name of the Connect Flux
96
- */
97
- name: string;
98
- /**
99
- * Provider ASN
100
- */
101
- provider_asn: number | null;
102
- /**
103
- * Provider CIDRs for the Connect Flux
104
- */
105
- provider_cidrs: Array<string>;
106
- /**
107
- * Provider Router IP
108
- */
109
- provider_router_ip: string | null;
110
- /**
111
- * Region the resource is in.
112
- */
113
- region: Shared.RegionName;
114
- /**
115
- * Router IP
116
- */
117
- router_ip: string | null;
118
- /**
119
- * Status of the resource.
120
- */
121
- status: Shared.ResourceStatus;
122
- /**
123
- * Tags to attach to the Connect Flux
124
- */
125
- tags: Array<string>;
126
- /**
127
- * When the Connect Flux was updated
128
- */
129
- updated_at: string;
130
- }
131
- /**
132
- * Connect Flux speed in Mbps
133
- */
134
- export type FluxBandwidthMbps = 50 | 200 | 500 | 1000 | 2000;
135
- export interface FluxList {
136
- items: Array<Flux>;
137
- }
138
- /**
139
- * AWS provider configuration
140
- */
141
- export interface FluxProviderAWSConfig {
142
- /**
143
- * AWS region where the connection is established
144
- */
145
- region: string;
146
- }
147
- /**
148
- * AWS provider configuration
149
- */
150
- export interface FluxProviderAWSConfigRequest {
151
- /**
152
- * AWS account id
153
- */
154
- account_id: string;
155
- /**
156
- * AWS region where the connection will be established
157
- */
158
- region: string;
159
- }
160
- /**
161
- * Routes supported for Connect Flux.
162
- */
163
- export interface FluxRoute {
164
- /**
165
- * Region the resource is in.
166
- */
167
- nirvana_region: Shared.RegionName;
168
- /**
169
- * Provider name.
170
- */
171
- provider: string;
172
- /**
173
- * Provider region name.
174
- */
175
- provider_region: string;
176
- }
177
- export interface FluxRouteList {
178
- items: Array<FluxRoute>;
179
- }
180
- export interface FluxCreateParams {
181
- /**
182
- * Connect Flux speed in Mbps
183
- */
184
- bandwidth_mbps: FluxBandwidthMbps;
185
- /**
186
- * CIDRs for the Connect Flux
187
- */
188
- cidrs: Array<string>;
189
- /**
190
- * Name of the Connect Flux
191
- */
192
- name: string;
193
- /**
194
- * Provider CIDRs
195
- */
196
- provider_cidrs: Array<string>;
197
- /**
198
- * Region the resource is in.
199
- */
200
- region: Shared.RegionName;
201
- /**
202
- * AWS provider configuration
203
- */
204
- aws?: FluxProviderAWSConfigRequest;
205
- /**
206
- * Tags to attach to the Connect Flux
207
- */
208
- tags?: Array<string>;
209
- }
210
- export interface FluxUpdateParams {
211
- /**
212
- * Name of the Connect Flux.
213
- */
214
- name?: string;
215
- /**
216
- * Tags to attach to the Connect Flux
217
- */
218
- tags?: Array<string>;
219
- }
220
- export declare namespace FluxResource {
221
- export { type Flux as Flux, type FluxBandwidthMbps as FluxBandwidthMbps, type FluxList as FluxList, type FluxProviderAWSConfig as FluxProviderAWSConfig, type FluxProviderAWSConfigRequest as FluxProviderAWSConfigRequest, type FluxRoute as FluxRoute, type FluxRouteList as FluxRouteList, type FluxCreateParams as FluxCreateParams, type FluxUpdateParams as FluxUpdateParams, };
7
+ export declare namespace Flux {
222
8
  export { Routes as Routes };
223
9
  }
224
10
  //# sourceMappingURL=flux.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flux.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAA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E,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC;IAE1B;;OAEG;IACH,GAAG,CAAC,EAAE,4BAA4B,CAAC;IAEnC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACtB;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
1
+ {"version":3,"file":"flux.d.mts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;AAEjB,qBAAa,IAAK,SAAQ,WAAW;IACnC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;CAC7B"}
@@ -1,224 +1,10 @@
1
1
  import { APIResource } from "../../../core/resource.js";
2
- import * as OperationsAPI from "../../operations.js";
3
- import * as Shared from "../../shared.js";
4
2
  import * as RoutesAPI from "./routes.js";
5
3
  import { Routes } from "./routes.js";
6
- import { APIPromise } from "../../../core/api-promise.js";
7
- import { RequestOptions } from "../../../internal/request-options.js";
8
- export declare class FluxResource extends APIResource {
4
+ export declare class Flux extends APIResource {
9
5
  routes: RoutesAPI.Routes;
10
- /**
11
- * Create a Connect Flux
12
- *
13
- * @example
14
- * ```ts
15
- * const operation = await client.connect.flux.create({
16
- * bandwidth_mbps: 50,
17
- * cidrs: ['10.0.0.0/16'],
18
- * name: 'my-connect-flux',
19
- * provider_cidrs: ['172.16.0.0/16'],
20
- * region: 'us-wdc-1',
21
- * });
22
- * ```
23
- */
24
- create(body: FluxCreateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
25
- /**
26
- * Update Connect Flux details
27
- *
28
- * @example
29
- * ```ts
30
- * const operation = await client.connect.flux.update(
31
- * 'flux_id',
32
- * );
33
- * ```
34
- */
35
- update(fluxID: string, body: FluxUpdateParams, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
36
- /**
37
- * List all Connect Flux
38
- *
39
- * @example
40
- * ```ts
41
- * const fluxList = await client.connect.flux.list();
42
- * ```
43
- */
44
- list(options?: RequestOptions): APIPromise<FluxList>;
45
- /**
46
- * Delete Connect Flux
47
- *
48
- * @example
49
- * ```ts
50
- * const operation = await client.connect.flux.delete(
51
- * 'flux_id',
52
- * );
53
- * ```
54
- */
55
- delete(fluxID: string, options?: RequestOptions): APIPromise<OperationsAPI.Operation>;
56
- /**
57
- * Get Connect Flux details
58
- *
59
- * @example
60
- * ```ts
61
- * const flux = await client.connect.flux.get('flux_id');
62
- * ```
63
- */
64
- get(fluxID: string, options?: RequestOptions): APIPromise<Flux>;
65
6
  }
66
- /**
67
- * Connect flux details.
68
- */
69
- export interface Flux {
70
- /**
71
- * Unique identifier for the Connect Flux
72
- */
73
- id: string;
74
- /**
75
- * ASN
76
- */
77
- asn: number | null;
78
- /**
79
- * AWS provider configuration
80
- */
81
- aws: FluxProviderAWSConfig | null;
82
- /**
83
- * Connect Flux speed in Mbps
84
- */
85
- bandwidth_mbps: FluxBandwidthMbps;
86
- /**
87
- * CIDRs for the Connect Flux
88
- */
89
- cidrs: Array<string>;
90
- /**
91
- * When the Connect Flux was created
92
- */
93
- created_at: string;
94
- /**
95
- * Name of the Connect Flux
96
- */
97
- name: string;
98
- /**
99
- * Provider ASN
100
- */
101
- provider_asn: number | null;
102
- /**
103
- * Provider CIDRs for the Connect Flux
104
- */
105
- provider_cidrs: Array<string>;
106
- /**
107
- * Provider Router IP
108
- */
109
- provider_router_ip: string | null;
110
- /**
111
- * Region the resource is in.
112
- */
113
- region: Shared.RegionName;
114
- /**
115
- * Router IP
116
- */
117
- router_ip: string | null;
118
- /**
119
- * Status of the resource.
120
- */
121
- status: Shared.ResourceStatus;
122
- /**
123
- * Tags to attach to the Connect Flux
124
- */
125
- tags: Array<string>;
126
- /**
127
- * When the Connect Flux was updated
128
- */
129
- updated_at: string;
130
- }
131
- /**
132
- * Connect Flux speed in Mbps
133
- */
134
- export type FluxBandwidthMbps = 50 | 200 | 500 | 1000 | 2000;
135
- export interface FluxList {
136
- items: Array<Flux>;
137
- }
138
- /**
139
- * AWS provider configuration
140
- */
141
- export interface FluxProviderAWSConfig {
142
- /**
143
- * AWS region where the connection is established
144
- */
145
- region: string;
146
- }
147
- /**
148
- * AWS provider configuration
149
- */
150
- export interface FluxProviderAWSConfigRequest {
151
- /**
152
- * AWS account id
153
- */
154
- account_id: string;
155
- /**
156
- * AWS region where the connection will be established
157
- */
158
- region: string;
159
- }
160
- /**
161
- * Routes supported for Connect Flux.
162
- */
163
- export interface FluxRoute {
164
- /**
165
- * Region the resource is in.
166
- */
167
- nirvana_region: Shared.RegionName;
168
- /**
169
- * Provider name.
170
- */
171
- provider: string;
172
- /**
173
- * Provider region name.
174
- */
175
- provider_region: string;
176
- }
177
- export interface FluxRouteList {
178
- items: Array<FluxRoute>;
179
- }
180
- export interface FluxCreateParams {
181
- /**
182
- * Connect Flux speed in Mbps
183
- */
184
- bandwidth_mbps: FluxBandwidthMbps;
185
- /**
186
- * CIDRs for the Connect Flux
187
- */
188
- cidrs: Array<string>;
189
- /**
190
- * Name of the Connect Flux
191
- */
192
- name: string;
193
- /**
194
- * Provider CIDRs
195
- */
196
- provider_cidrs: Array<string>;
197
- /**
198
- * Region the resource is in.
199
- */
200
- region: Shared.RegionName;
201
- /**
202
- * AWS provider configuration
203
- */
204
- aws?: FluxProviderAWSConfigRequest;
205
- /**
206
- * Tags to attach to the Connect Flux
207
- */
208
- tags?: Array<string>;
209
- }
210
- export interface FluxUpdateParams {
211
- /**
212
- * Name of the Connect Flux.
213
- */
214
- name?: string;
215
- /**
216
- * Tags to attach to the Connect Flux
217
- */
218
- tags?: Array<string>;
219
- }
220
- export declare namespace FluxResource {
221
- export { type Flux as Flux, type FluxBandwidthMbps as FluxBandwidthMbps, type FluxList as FluxList, type FluxProviderAWSConfig as FluxProviderAWSConfig, type FluxProviderAWSConfigRequest as FluxProviderAWSConfigRequest, type FluxRoute as FluxRoute, type FluxRouteList as FluxRouteList, type FluxCreateParams as FluxCreateParams, type FluxUpdateParams as FluxUpdateParams, };
7
+ export declare namespace Flux {
222
8
  export { Routes as Routes };
223
9
  }
224
10
  //# sourceMappingURL=flux.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../../src/resources/connect/flux/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,KAAK,MAAM;OACX,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAE9D;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAA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