@nirvana-labs/nirvana 1.18.3 → 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 (229) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +7 -7
  3. package/package.json +1 -1
  4. package/resources/compute/vms/availability.d.mts +17 -1
  5. package/resources/compute/vms/availability.d.mts.map +1 -1
  6. package/resources/compute/vms/availability.d.ts +17 -1
  7. package/resources/compute/vms/availability.d.ts.map +1 -1
  8. package/resources/compute/vms/availability.js +1 -1
  9. package/resources/compute/vms/availability.mjs +1 -1
  10. package/resources/compute/vms/vms.d.mts +21 -1
  11. package/resources/compute/vms/vms.d.mts.map +1 -1
  12. package/resources/compute/vms/vms.d.ts +21 -1
  13. package/resources/compute/vms/vms.d.ts.map +1 -1
  14. package/resources/compute/vms/vms.js +1 -1
  15. package/resources/compute/vms/vms.js.map +1 -1
  16. package/resources/compute/vms/vms.mjs +1 -1
  17. package/resources/compute/vms/vms.mjs.map +1 -1
  18. package/resources/compute/volumes/availability.d.mts +8 -0
  19. package/resources/compute/volumes/availability.d.mts.map +1 -1
  20. package/resources/compute/volumes/availability.d.ts +8 -0
  21. package/resources/compute/volumes/availability.d.ts.map +1 -1
  22. package/resources/compute/volumes/volumes.d.mts +12 -0
  23. package/resources/compute/volumes/volumes.d.mts.map +1 -1
  24. package/resources/compute/volumes/volumes.d.ts +12 -0
  25. package/resources/compute/volumes/volumes.d.ts.map +1 -1
  26. package/resources/compute/volumes/volumes.js.map +1 -1
  27. package/resources/compute/volumes/volumes.mjs.map +1 -1
  28. package/resources/connect/connect.d.mts +3 -3
  29. package/resources/connect/connect.d.mts.map +1 -1
  30. package/resources/connect/connect.d.ts +3 -3
  31. package/resources/connect/connect.d.ts.map +1 -1
  32. package/resources/connect/connect.js +2 -2
  33. package/resources/connect/connect.js.map +1 -1
  34. package/resources/connect/connect.mjs +3 -3
  35. package/resources/connect/connect.mjs.map +1 -1
  36. package/resources/connect/flux/flux.d.mts +6 -204
  37. package/resources/connect/flux/flux.d.mts.map +1 -1
  38. package/resources/connect/flux/flux.d.ts +6 -204
  39. package/resources/connect/flux/flux.d.ts.map +1 -1
  40. package/resources/connect/flux/flux.js +7 -73
  41. package/resources/connect/flux/flux.js.map +1 -1
  42. package/resources/connect/flux/flux.mjs +5 -71
  43. package/resources/connect/flux/flux.mjs.map +1 -1
  44. package/resources/connect/flux/index.d.mts +2 -2
  45. package/resources/connect/flux/index.d.mts.map +1 -1
  46. package/resources/connect/flux/index.d.ts +2 -2
  47. package/resources/connect/flux/index.d.ts.map +1 -1
  48. package/resources/connect/flux/index.js +4 -4
  49. package/resources/connect/flux/index.js.map +1 -1
  50. package/resources/connect/flux/index.mjs +2 -2
  51. package/resources/connect/flux/index.mjs.map +1 -1
  52. package/resources/connect/flux/routes.d.mts +4 -0
  53. package/resources/connect/flux/routes.d.mts.map +1 -0
  54. package/resources/connect/flux/routes.d.ts +4 -0
  55. package/resources/connect/flux/routes.d.ts.map +1 -0
  56. package/resources/connect/flux/routes.js +9 -0
  57. package/resources/connect/flux/routes.js.map +1 -0
  58. package/resources/connect/flux/routes.mjs +5 -0
  59. package/resources/connect/flux/routes.mjs.map +1 -0
  60. package/resources/connect/index.d.mts +1 -1
  61. package/resources/connect/index.d.mts.map +1 -1
  62. package/resources/connect/index.d.ts +1 -1
  63. package/resources/connect/index.d.ts.map +1 -1
  64. package/resources/connect/index.js +2 -2
  65. package/resources/connect/index.js.map +1 -1
  66. package/resources/connect/index.mjs +1 -1
  67. package/resources/connect/index.mjs.map +1 -1
  68. package/resources/networking/connect/connect.d.mts +130 -0
  69. package/resources/networking/connect/connect.d.mts.map +1 -0
  70. package/resources/networking/connect/connect.d.ts +130 -0
  71. package/resources/networking/connect/connect.d.ts.map +1 -0
  72. package/resources/networking/connect/connect.js +21 -0
  73. package/resources/networking/connect/connect.js.map +1 -0
  74. package/resources/networking/connect/connect.mjs +16 -0
  75. package/resources/networking/connect/connect.mjs.map +1 -0
  76. package/resources/networking/connect/connections.d.mts +114 -0
  77. package/resources/networking/connect/connections.d.mts.map +1 -0
  78. package/resources/networking/connect/connections.d.ts +114 -0
  79. package/resources/networking/connect/connections.d.ts.map +1 -0
  80. package/resources/networking/connect/connections.js +82 -0
  81. package/resources/networking/connect/connections.js.map +1 -0
  82. package/resources/networking/connect/connections.mjs +78 -0
  83. package/resources/networking/connect/connections.mjs.map +1 -0
  84. package/resources/networking/connect/index.d.mts +4 -0
  85. package/resources/networking/connect/index.d.mts.map +1 -0
  86. package/resources/networking/connect/index.d.ts +4 -0
  87. package/resources/networking/connect/index.d.ts.map +1 -0
  88. package/resources/networking/connect/index.js +11 -0
  89. package/resources/networking/connect/index.js.map +1 -0
  90. package/resources/networking/connect/index.mjs +5 -0
  91. package/resources/networking/connect/index.mjs.map +1 -0
  92. package/resources/networking/connect/routes.d.mts +17 -0
  93. package/resources/networking/connect/routes.d.mts.map +1 -0
  94. package/resources/networking/connect/routes.d.ts +17 -0
  95. package/resources/networking/connect/routes.d.ts.map +1 -0
  96. package/resources/networking/connect/routes.js +21 -0
  97. package/resources/networking/connect/routes.js.map +1 -0
  98. package/resources/networking/connect/routes.mjs +17 -0
  99. package/resources/networking/connect/routes.mjs.map +1 -0
  100. package/resources/networking/connect.d.mts +2 -0
  101. package/resources/networking/connect.d.mts.map +1 -0
  102. package/resources/networking/connect.d.ts +2 -0
  103. package/resources/networking/connect.d.ts.map +1 -0
  104. package/resources/networking/connect.js +6 -0
  105. package/resources/networking/connect.js.map +1 -0
  106. package/resources/networking/connect.mjs +3 -0
  107. package/resources/networking/connect.mjs.map +1 -0
  108. package/resources/networking/firewall-rules.d.mts +12 -0
  109. package/resources/networking/firewall-rules.d.mts.map +1 -1
  110. package/resources/networking/firewall-rules.d.ts +12 -0
  111. package/resources/networking/firewall-rules.d.ts.map +1 -1
  112. package/resources/networking/index.d.mts +1 -0
  113. package/resources/networking/index.d.mts.map +1 -1
  114. package/resources/networking/index.d.ts +1 -0
  115. package/resources/networking/index.d.ts.map +1 -1
  116. package/resources/networking/index.js +5 -3
  117. package/resources/networking/index.js.map +1 -1
  118. package/resources/networking/index.mjs +1 -0
  119. package/resources/networking/index.mjs.map +1 -1
  120. package/resources/networking/networking.d.mts +4 -0
  121. package/resources/networking/networking.d.mts.map +1 -1
  122. package/resources/networking/networking.d.ts +4 -0
  123. package/resources/networking/networking.d.ts.map +1 -1
  124. package/resources/networking/networking.js +4 -0
  125. package/resources/networking/networking.js.map +1 -1
  126. package/resources/networking/networking.mjs +4 -0
  127. package/resources/networking/networking.mjs.map +1 -1
  128. package/resources/networking/vpcs/availability.d.mts +8 -0
  129. package/resources/networking/vpcs/availability.d.mts.map +1 -1
  130. package/resources/networking/vpcs/availability.d.ts +8 -0
  131. package/resources/networking/vpcs/availability.d.ts.map +1 -1
  132. package/resources/networking/vpcs/vpcs.d.mts +12 -0
  133. package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
  134. package/resources/networking/vpcs/vpcs.d.ts +12 -0
  135. package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
  136. package/resources/networking/vpcs/vpcs.js.map +1 -1
  137. package/resources/networking/vpcs/vpcs.mjs.map +1 -1
  138. package/resources/rpc-nodes/dedicated/blockchains.d.mts +6 -0
  139. package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
  140. package/resources/rpc-nodes/dedicated/blockchains.d.ts +6 -0
  141. package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
  142. package/resources/rpc-nodes/dedicated/blockchains.js +6 -0
  143. package/resources/rpc-nodes/dedicated/blockchains.js.map +1 -1
  144. package/resources/rpc-nodes/dedicated/blockchains.mjs +6 -0
  145. package/resources/rpc-nodes/dedicated/blockchains.mjs.map +1 -1
  146. package/resources/rpc-nodes/dedicated/dedicated.d.mts +17 -0
  147. package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
  148. package/resources/rpc-nodes/dedicated/dedicated.d.ts +17 -0
  149. package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
  150. package/resources/rpc-nodes/dedicated/dedicated.js +13 -0
  151. package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
  152. package/resources/rpc-nodes/dedicated/dedicated.mjs +13 -0
  153. package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
  154. package/resources/rpc-nodes/flex/blockchains.d.mts +6 -0
  155. package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
  156. package/resources/rpc-nodes/flex/blockchains.d.ts +6 -0
  157. package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
  158. package/resources/rpc-nodes/flex/blockchains.js +6 -0
  159. package/resources/rpc-nodes/flex/blockchains.js.map +1 -1
  160. package/resources/rpc-nodes/flex/blockchains.mjs +6 -0
  161. package/resources/rpc-nodes/flex/blockchains.mjs.map +1 -1
  162. package/resources/rpc-nodes/flex/flex.d.mts +74 -1
  163. package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
  164. package/resources/rpc-nodes/flex/flex.d.ts +74 -1
  165. package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
  166. package/resources/rpc-nodes/flex/flex.js +51 -0
  167. package/resources/rpc-nodes/flex/flex.js.map +1 -1
  168. package/resources/rpc-nodes/flex/flex.mjs +51 -0
  169. package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
  170. package/resources/rpc-nodes/flex/index.d.mts +1 -1
  171. package/resources/rpc-nodes/flex/index.d.mts.map +1 -1
  172. package/resources/rpc-nodes/flex/index.d.ts +1 -1
  173. package/resources/rpc-nodes/flex/index.d.ts.map +1 -1
  174. package/resources/rpc-nodes/flex/index.js.map +1 -1
  175. package/resources/rpc-nodes/flex/index.mjs +1 -1
  176. package/resources/rpc-nodes/flex/index.mjs.map +1 -1
  177. package/resources/rpc-nodes/index.d.mts +1 -1
  178. package/resources/rpc-nodes/index.d.mts.map +1 -1
  179. package/resources/rpc-nodes/index.d.ts +1 -1
  180. package/resources/rpc-nodes/index.d.ts.map +1 -1
  181. package/resources/rpc-nodes/index.js.map +1 -1
  182. package/resources/rpc-nodes/index.mjs.map +1 -1
  183. package/resources/rpc-nodes/rpc-nodes.d.mts +2 -2
  184. package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
  185. package/resources/rpc-nodes/rpc-nodes.d.ts +2 -2
  186. package/resources/rpc-nodes/rpc-nodes.d.ts.map +1 -1
  187. package/resources/rpc-nodes/rpc-nodes.js.map +1 -1
  188. package/resources/rpc-nodes/rpc-nodes.mjs +1 -1
  189. package/resources/rpc-nodes/rpc-nodes.mjs.map +1 -1
  190. package/src/resources/compute/vms/availability.ts +21 -1
  191. package/src/resources/compute/vms/vms.ts +26 -1
  192. package/src/resources/compute/volumes/availability.ts +10 -0
  193. package/src/resources/compute/volumes/volumes.ts +15 -0
  194. package/src/resources/connect/connect.ts +4 -26
  195. package/src/resources/connect/flux/flux.ts +7 -265
  196. package/src/resources/connect/flux/index.ts +2 -13
  197. package/src/resources/connect/flux/routes.ts +5 -0
  198. package/src/resources/connect/index.ts +1 -12
  199. package/src/resources/networking/connect/connect.ts +174 -0
  200. package/src/resources/networking/connect/connections.ts +148 -0
  201. package/src/resources/networking/connect/index.ts +14 -0
  202. package/src/resources/networking/connect/routes.ts +21 -0
  203. package/src/resources/networking/connect.ts +3 -0
  204. package/src/resources/networking/firewall-rules.ts +15 -0
  205. package/src/resources/networking/index.ts +10 -0
  206. package/src/resources/networking/networking.ts +24 -0
  207. package/src/resources/networking/vpcs/availability.ts +10 -0
  208. package/src/resources/networking/vpcs/vpcs.ts +15 -0
  209. package/src/resources/rpc-nodes/dedicated/blockchains.ts +6 -0
  210. package/src/resources/rpc-nodes/dedicated/dedicated.ts +18 -0
  211. package/src/resources/rpc-nodes/flex/blockchains.ts +6 -0
  212. package/src/resources/rpc-nodes/flex/flex.ts +95 -0
  213. package/src/resources/rpc-nodes/flex/index.ts +9 -1
  214. package/src/resources/rpc-nodes/index.ts +2 -0
  215. package/src/resources/rpc-nodes/rpc-nodes.ts +11 -1
  216. package/src/version.ts +1 -1
  217. package/version.d.mts +1 -1
  218. package/version.d.ts +1 -1
  219. package/version.js +1 -1
  220. package/version.mjs +1 -1
  221. package/resources/connect/flux/providers.d.mts +0 -17
  222. package/resources/connect/flux/providers.d.mts.map +0 -1
  223. package/resources/connect/flux/providers.d.ts +0 -17
  224. package/resources/connect/flux/providers.d.ts.map +0 -1
  225. package/resources/connect/flux/providers.js +0 -21
  226. package/resources/connect/flux/providers.js.map +0 -1
  227. package/resources/connect/flux/providers.mjs +0 -17
  228. package/resources/connect/flux/providers.mjs.map +0 -1
  229. package/src/resources/connect/flux/providers.ts +0 -21
@@ -4,21 +4,75 @@ import { APIResource } from '../../../core/resource';
4
4
  import * as BlockchainsAPI from './blockchains';
5
5
  import { Blockchains } from './blockchains';
6
6
  import { APIPromise } from '../../../core/api-promise';
7
+ import { buildHeaders } from '../../../internal/headers';
7
8
  import { RequestOptions } from '../../../internal/request-options';
8
9
  import { path } from '../../../internal/utils/path';
9
10
 
10
11
  export class FlexResource extends APIResource {
11
12
  blockchains: BlockchainsAPI.Blockchains = new BlockchainsAPI.Blockchains(this._client);
12
13
 
14
+ /**
15
+ * Create a new RPC Node Flex
16
+ *
17
+ * @example
18
+ * ```ts
19
+ * const flex = await client.rpcNodes.flex.create({
20
+ * blockchain: 'ethereum',
21
+ * name: 'my-ethereum-node',
22
+ * network: 'mainnet',
23
+ * });
24
+ * ```
25
+ */
26
+ create(body: FlexCreateParams, options?: RequestOptions): APIPromise<Flex> {
27
+ return this._client.post('/v1/rpc_nodes/flex', { body, ...options });
28
+ }
29
+
30
+ /**
31
+ * Update an existing RPC Node Flex
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const flex = await client.rpcNodes.flex.update('node_id');
36
+ * ```
37
+ */
38
+ update(nodeID: string, body: FlexUpdateParams, options?: RequestOptions): APIPromise<Flex> {
39
+ return this._client.patch(path`/v1/rpc_nodes/flex/${nodeID}`, { body, ...options });
40
+ }
41
+
13
42
  /**
14
43
  * List all RPC Node Flex you created
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * const flexList = await client.rpcNodes.flex.list();
48
+ * ```
15
49
  */
16
50
  list(options?: RequestOptions): APIPromise<FlexList> {
17
51
  return this._client.get('/v1/rpc_nodes/flex', options);
18
52
  }
19
53
 
54
+ /**
55
+ * Delete an RPC Node Flex
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * await client.rpcNodes.flex.delete('node_id');
60
+ * ```
61
+ */
62
+ delete(nodeID: string, options?: RequestOptions): APIPromise<void> {
63
+ return this._client.delete(path`/v1/rpc_nodes/flex/${nodeID}`, {
64
+ ...options,
65
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
66
+ });
67
+ }
68
+
20
69
  /**
21
70
  * Get details about an RPC Node Flex
71
+ *
72
+ * @example
73
+ * ```ts
74
+ * const flex = await client.rpcNodes.flex.get('node_id');
75
+ * ```
22
76
  */
23
77
  get(nodeID: string, options?: RequestOptions): APIPromise<Flex> {
24
78
  return this._client.get(path`/v1/rpc_nodes/flex/${nodeID}`, options);
@@ -59,6 +113,11 @@ export interface Flex {
59
113
  */
60
114
  network: string;
61
115
 
116
+ /**
117
+ * Tags to attach to the RPC Node Flex.
118
+ */
119
+ tags: Array<string>;
120
+
62
121
  /**
63
122
  * When the RPC Node Flex was updated.
64
123
  */
@@ -88,6 +147,40 @@ export interface FlexList {
88
147
  items: Array<Flex>;
89
148
  }
90
149
 
150
+ export interface FlexCreateParams {
151
+ /**
152
+ * Blockchain.
153
+ */
154
+ blockchain: string;
155
+
156
+ /**
157
+ * Name of the RPC Node Flex.
158
+ */
159
+ name: string;
160
+
161
+ /**
162
+ * Network type (e.g., mainnet, testnet).
163
+ */
164
+ network: string;
165
+
166
+ /**
167
+ * Tags to attach to the RPC Node Flex (optional, max 50).
168
+ */
169
+ tags?: Array<string>;
170
+ }
171
+
172
+ export interface FlexUpdateParams {
173
+ /**
174
+ * Name of the RPC Node Flex.
175
+ */
176
+ name?: string;
177
+
178
+ /**
179
+ * Tags to attach to the RPC Node Flex (optional, max 50).
180
+ */
181
+ tags?: Array<string>;
182
+ }
183
+
91
184
  FlexResource.Blockchains = Blockchains;
92
185
 
93
186
  export declare namespace FlexResource {
@@ -96,6 +189,8 @@ export declare namespace FlexResource {
96
189
  type FlexBlockchain as FlexBlockchain,
97
190
  type FlexBlockchainList as FlexBlockchainList,
98
191
  type FlexList as FlexList,
192
+ type FlexCreateParams as FlexCreateParams,
193
+ type FlexUpdateParams as FlexUpdateParams,
99
194
  };
100
195
 
101
196
  export { Blockchains as Blockchains };
@@ -1,4 +1,12 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  export { Blockchains } from './blockchains';
4
- export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList } from './flex';
4
+ export {
5
+ FlexResource,
6
+ type Flex,
7
+ type FlexBlockchain,
8
+ type FlexBlockchainList,
9
+ type FlexList,
10
+ type FlexCreateParams,
11
+ type FlexUpdateParams,
12
+ } from './flex';
@@ -13,5 +13,7 @@ export {
13
13
  type FlexBlockchain,
14
14
  type FlexBlockchainList,
15
15
  type FlexList,
16
+ type FlexCreateParams,
17
+ type FlexUpdateParams,
16
18
  } from './flex/index';
17
19
  export { RPCNodes } from './rpc-nodes';
@@ -10,7 +10,15 @@ import {
10
10
  DedicatedResource,
11
11
  } from './dedicated/dedicated';
12
12
  import * as FlexAPI from './flex/flex';
13
- import { Flex, FlexBlockchain, FlexBlockchainList, FlexList, FlexResource } from './flex/flex';
13
+ import {
14
+ Flex,
15
+ FlexBlockchain,
16
+ FlexBlockchainList,
17
+ FlexCreateParams,
18
+ FlexList,
19
+ FlexResource,
20
+ FlexUpdateParams,
21
+ } from './flex/flex';
14
22
 
15
23
  export class RPCNodes extends APIResource {
16
24
  flex: FlexAPI.FlexResource = new FlexAPI.FlexResource(this._client);
@@ -27,6 +35,8 @@ export declare namespace RPCNodes {
27
35
  type FlexBlockchain as FlexBlockchain,
28
36
  type FlexBlockchainList as FlexBlockchainList,
29
37
  type FlexList as FlexList,
38
+ type FlexCreateParams as FlexCreateParams,
39
+ type FlexUpdateParams as FlexUpdateParams,
30
40
  };
31
41
 
32
42
  export {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.18.3'; // x-release-please-version
1
+ export const VERSION = '1.20.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.18.3";
1
+ export declare const VERSION = "1.20.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.18.3";
1
+ export declare const VERSION = "1.20.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.3'; // x-release-please-version
4
+ exports.VERSION = '1.20.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.3'; // x-release-please-version
1
+ export const VERSION = '1.20.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"}
@@ -1,21 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- import { APIResource } from '../../../core/resource';
4
- import * as FluxAPI from './flux';
5
- import { APIPromise } from '../../../core/api-promise';
6
- import { RequestOptions } from '../../../internal/request-options';
7
-
8
- export class Providers extends APIResource {
9
- /**
10
- * List all supported providers with regions for Connect Flux.
11
- *
12
- * @example
13
- * ```ts
14
- * const fluxProviderList =
15
- * await client.connect.flux.providers.list();
16
- * ```
17
- */
18
- list(options?: RequestOptions): APIPromise<FluxAPI.FluxProviderList> {
19
- return this._client.get('/v1/connect/flux/providers', options);
20
- }
21
- }