@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.
- package/CHANGELOG.md +26 -0
- package/README.md +7 -7
- package/package.json +1 -1
- package/resources/compute/vms/availability.d.mts +17 -1
- package/resources/compute/vms/availability.d.mts.map +1 -1
- package/resources/compute/vms/availability.d.ts +17 -1
- package/resources/compute/vms/availability.d.ts.map +1 -1
- package/resources/compute/vms/availability.js +1 -1
- package/resources/compute/vms/availability.mjs +1 -1
- package/resources/compute/vms/vms.d.mts +21 -1
- package/resources/compute/vms/vms.d.mts.map +1 -1
- package/resources/compute/vms/vms.d.ts +21 -1
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/vms/vms.js +1 -1
- package/resources/compute/vms/vms.js.map +1 -1
- package/resources/compute/vms/vms.mjs +1 -1
- package/resources/compute/vms/vms.mjs.map +1 -1
- package/resources/compute/volumes/availability.d.mts +8 -0
- package/resources/compute/volumes/availability.d.mts.map +1 -1
- package/resources/compute/volumes/availability.d.ts +8 -0
- package/resources/compute/volumes/availability.d.ts.map +1 -1
- package/resources/compute/volumes/volumes.d.mts +12 -0
- package/resources/compute/volumes/volumes.d.mts.map +1 -1
- package/resources/compute/volumes/volumes.d.ts +12 -0
- package/resources/compute/volumes/volumes.d.ts.map +1 -1
- package/resources/compute/volumes/volumes.js.map +1 -1
- package/resources/compute/volumes/volumes.mjs.map +1 -1
- package/resources/connect/connect.d.mts +3 -3
- package/resources/connect/connect.d.mts.map +1 -1
- package/resources/connect/connect.d.ts +3 -3
- package/resources/connect/connect.d.ts.map +1 -1
- package/resources/connect/connect.js +2 -2
- package/resources/connect/connect.js.map +1 -1
- package/resources/connect/connect.mjs +3 -3
- package/resources/connect/connect.mjs.map +1 -1
- package/resources/connect/flux/flux.d.mts +6 -204
- package/resources/connect/flux/flux.d.mts.map +1 -1
- package/resources/connect/flux/flux.d.ts +6 -204
- package/resources/connect/flux/flux.d.ts.map +1 -1
- package/resources/connect/flux/flux.js +7 -73
- package/resources/connect/flux/flux.js.map +1 -1
- package/resources/connect/flux/flux.mjs +5 -71
- package/resources/connect/flux/flux.mjs.map +1 -1
- package/resources/connect/flux/index.d.mts +2 -2
- package/resources/connect/flux/index.d.mts.map +1 -1
- package/resources/connect/flux/index.d.ts +2 -2
- package/resources/connect/flux/index.d.ts.map +1 -1
- package/resources/connect/flux/index.js +4 -4
- package/resources/connect/flux/index.js.map +1 -1
- package/resources/connect/flux/index.mjs +2 -2
- package/resources/connect/flux/index.mjs.map +1 -1
- package/resources/connect/flux/routes.d.mts +4 -0
- package/resources/connect/flux/routes.d.mts.map +1 -0
- package/resources/connect/flux/routes.d.ts +4 -0
- package/resources/connect/flux/routes.d.ts.map +1 -0
- package/resources/connect/flux/routes.js +9 -0
- package/resources/connect/flux/routes.js.map +1 -0
- package/resources/connect/flux/routes.mjs +5 -0
- package/resources/connect/flux/routes.mjs.map +1 -0
- package/resources/connect/index.d.mts +1 -1
- package/resources/connect/index.d.mts.map +1 -1
- package/resources/connect/index.d.ts +1 -1
- package/resources/connect/index.d.ts.map +1 -1
- package/resources/connect/index.js +2 -2
- package/resources/connect/index.js.map +1 -1
- package/resources/connect/index.mjs +1 -1
- package/resources/connect/index.mjs.map +1 -1
- package/resources/networking/connect/connect.d.mts +130 -0
- package/resources/networking/connect/connect.d.mts.map +1 -0
- package/resources/networking/connect/connect.d.ts +130 -0
- package/resources/networking/connect/connect.d.ts.map +1 -0
- package/resources/networking/connect/connect.js +21 -0
- package/resources/networking/connect/connect.js.map +1 -0
- package/resources/networking/connect/connect.mjs +16 -0
- package/resources/networking/connect/connect.mjs.map +1 -0
- package/resources/networking/connect/connections.d.mts +114 -0
- package/resources/networking/connect/connections.d.mts.map +1 -0
- package/resources/networking/connect/connections.d.ts +114 -0
- package/resources/networking/connect/connections.d.ts.map +1 -0
- package/resources/networking/connect/connections.js +82 -0
- package/resources/networking/connect/connections.js.map +1 -0
- package/resources/networking/connect/connections.mjs +78 -0
- package/resources/networking/connect/connections.mjs.map +1 -0
- package/resources/networking/connect/index.d.mts +4 -0
- package/resources/networking/connect/index.d.mts.map +1 -0
- package/resources/networking/connect/index.d.ts +4 -0
- package/resources/networking/connect/index.d.ts.map +1 -0
- package/resources/networking/connect/index.js +11 -0
- package/resources/networking/connect/index.js.map +1 -0
- package/resources/networking/connect/index.mjs +5 -0
- package/resources/networking/connect/index.mjs.map +1 -0
- package/resources/networking/connect/routes.d.mts +17 -0
- package/resources/networking/connect/routes.d.mts.map +1 -0
- package/resources/networking/connect/routes.d.ts +17 -0
- package/resources/networking/connect/routes.d.ts.map +1 -0
- package/resources/networking/connect/routes.js +21 -0
- package/resources/networking/connect/routes.js.map +1 -0
- package/resources/networking/connect/routes.mjs +17 -0
- package/resources/networking/connect/routes.mjs.map +1 -0
- package/resources/networking/connect.d.mts +2 -0
- package/resources/networking/connect.d.mts.map +1 -0
- package/resources/networking/connect.d.ts +2 -0
- package/resources/networking/connect.d.ts.map +1 -0
- package/resources/networking/connect.js +6 -0
- package/resources/networking/connect.js.map +1 -0
- package/resources/networking/connect.mjs +3 -0
- package/resources/networking/connect.mjs.map +1 -0
- package/resources/networking/firewall-rules.d.mts +12 -0
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +12 -0
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/networking/index.d.mts +1 -0
- package/resources/networking/index.d.mts.map +1 -1
- package/resources/networking/index.d.ts +1 -0
- package/resources/networking/index.d.ts.map +1 -1
- package/resources/networking/index.js +5 -3
- package/resources/networking/index.js.map +1 -1
- package/resources/networking/index.mjs +1 -0
- package/resources/networking/index.mjs.map +1 -1
- package/resources/networking/networking.d.mts +4 -0
- package/resources/networking/networking.d.mts.map +1 -1
- package/resources/networking/networking.d.ts +4 -0
- package/resources/networking/networking.d.ts.map +1 -1
- package/resources/networking/networking.js +4 -0
- package/resources/networking/networking.js.map +1 -1
- package/resources/networking/networking.mjs +4 -0
- package/resources/networking/networking.mjs.map +1 -1
- package/resources/networking/vpcs/availability.d.mts +8 -0
- package/resources/networking/vpcs/availability.d.mts.map +1 -1
- package/resources/networking/vpcs/availability.d.ts +8 -0
- package/resources/networking/vpcs/availability.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.mts +12 -0
- package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.ts +12 -0
- package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.js.map +1 -1
- package/resources/networking/vpcs/vpcs.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.mts +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.js +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.js.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.mjs +6 -0
- package/resources/rpc-nodes/dedicated/blockchains.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +17 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +17 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts +6 -0
- package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts +6 -0
- package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.js +6 -0
- package/resources/rpc-nodes/flex/blockchains.js.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.mjs +6 -0
- package/resources/rpc-nodes/flex/blockchains.mjs.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +74 -1
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +74 -1
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js +51 -0
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs +51 -0
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/resources/rpc-nodes/flex/index.d.mts +1 -1
- package/resources/rpc-nodes/flex/index.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/index.d.ts +1 -1
- package/resources/rpc-nodes/flex/index.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/index.js.map +1 -1
- package/resources/rpc-nodes/flex/index.mjs +1 -1
- package/resources/rpc-nodes/flex/index.mjs.map +1 -1
- package/resources/rpc-nodes/index.d.mts +1 -1
- package/resources/rpc-nodes/index.d.mts.map +1 -1
- package/resources/rpc-nodes/index.d.ts +1 -1
- package/resources/rpc-nodes/index.d.ts.map +1 -1
- package/resources/rpc-nodes/index.js.map +1 -1
- package/resources/rpc-nodes/index.mjs.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.mts +2 -2
- package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.ts +2 -2
- package/resources/rpc-nodes/rpc-nodes.d.ts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.js.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.mjs +1 -1
- package/resources/rpc-nodes/rpc-nodes.mjs.map +1 -1
- package/src/resources/compute/vms/availability.ts +21 -1
- package/src/resources/compute/vms/vms.ts +26 -1
- package/src/resources/compute/volumes/availability.ts +10 -0
- package/src/resources/compute/volumes/volumes.ts +15 -0
- package/src/resources/connect/connect.ts +4 -26
- package/src/resources/connect/flux/flux.ts +7 -265
- package/src/resources/connect/flux/index.ts +2 -13
- package/src/resources/connect/flux/routes.ts +5 -0
- package/src/resources/connect/index.ts +1 -12
- package/src/resources/networking/connect/connect.ts +174 -0
- package/src/resources/networking/connect/connections.ts +148 -0
- package/src/resources/networking/connect/index.ts +14 -0
- package/src/resources/networking/connect/routes.ts +21 -0
- package/src/resources/networking/connect.ts +3 -0
- package/src/resources/networking/firewall-rules.ts +15 -0
- package/src/resources/networking/index.ts +10 -0
- package/src/resources/networking/networking.ts +24 -0
- package/src/resources/networking/vpcs/availability.ts +10 -0
- package/src/resources/networking/vpcs/vpcs.ts +15 -0
- package/src/resources/rpc-nodes/dedicated/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +18 -0
- package/src/resources/rpc-nodes/flex/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/flex/flex.ts +95 -0
- package/src/resources/rpc-nodes/flex/index.ts +9 -1
- package/src/resources/rpc-nodes/index.ts +2 -0
- package/src/resources/rpc-nodes/rpc-nodes.ts +11 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/connect/flux/providers.d.mts +0 -17
- package/resources/connect/flux/providers.d.mts.map +0 -1
- package/resources/connect/flux/providers.d.ts +0 -17
- package/resources/connect/flux/providers.d.ts.map +0 -1
- package/resources/connect/flux/providers.js +0 -21
- package/resources/connect/flux/providers.js.map +0 -1
- package/resources/connect/flux/providers.mjs +0 -17
- package/resources/connect/flux/providers.mjs.map +0 -1
- package/src/resources/connect/flux/providers.ts +0 -21
|
@@ -10,12 +10,25 @@ export class DedicatedResource extends APIResource {
|
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* List all RPC Node Dedicated you created
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const dedicatedList =
|
|
17
|
+
* await client.rpcNodes.dedicated.list();
|
|
18
|
+
* ```
|
|
13
19
|
*/
|
|
14
20
|
list(options) {
|
|
15
21
|
return this._client.get('/v1/rpc_nodes/dedicated', options);
|
|
16
22
|
}
|
|
17
23
|
/**
|
|
18
24
|
* Get details about an RPC Node Dedicated
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const dedicated = await client.rpcNodes.dedicated.get(
|
|
29
|
+
* 'node_id',
|
|
30
|
+
* );
|
|
31
|
+
* ```
|
|
19
32
|
*/
|
|
20
33
|
get(nodeID, options) {
|
|
21
34
|
return this._client.get(path `/v1/rpc_nodes/dedicated/${nodeID}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dedicated.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAAlD;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"dedicated.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAAlD;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA4BzF,CAAC;IA1BC;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AAsED,iBAAiB,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -5,6 +5,12 @@ import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
|
5
5
|
export declare class Blockchains extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* List all Flex Blockchains
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const flexBlockchainList =
|
|
12
|
+
* await client.rpcNodes.flex.blockchains.list();
|
|
13
|
+
* ```
|
|
8
14
|
*/
|
|
9
15
|
list(options?: RequestOptions): APIPromise<FlexAPI.FlexBlockchainList>;
|
|
10
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchains.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"blockchains.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAGvE"}
|
|
@@ -5,6 +5,12 @@ import { RequestOptions } from "../../../internal/request-options.js";
|
|
|
5
5
|
export declare class Blockchains extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* List all Flex Blockchains
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const flexBlockchainList =
|
|
12
|
+
* await client.rpcNodes.flex.blockchains.list();
|
|
13
|
+
* ```
|
|
8
14
|
*/
|
|
9
15
|
list(options?: RequestOptions): APIPromise<FlexAPI.FlexBlockchainList>;
|
|
10
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchains.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"blockchains.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAGvE"}
|
|
@@ -6,6 +6,12 @@ const resource_1 = require("../../../core/resource.js");
|
|
|
6
6
|
class Blockchains extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
8
|
* List all Flex Blockchains
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const flexBlockchainList =
|
|
13
|
+
* await client.rpcNodes.flex.blockchains.list();
|
|
14
|
+
* ```
|
|
9
15
|
*/
|
|
10
16
|
list(options) {
|
|
11
17
|
return this._client.get('/v1/rpc_nodes/flex/blockchains', options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchains.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,WAAY,SAAQ,sBAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"blockchains.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAbD,kCAaC"}
|
|
@@ -3,6 +3,12 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
3
3
|
export class Blockchains extends APIResource {
|
|
4
4
|
/**
|
|
5
5
|
* List all Flex Blockchains
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```ts
|
|
9
|
+
* const flexBlockchainList =
|
|
10
|
+
* await client.rpcNodes.flex.blockchains.list();
|
|
11
|
+
* ```
|
|
6
12
|
*/
|
|
7
13
|
list(options) {
|
|
8
14
|
return this._client.get('/v1/rpc_nodes/flex/blockchains', options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchains.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"blockchains.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;OAQG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF"}
|
|
@@ -5,12 +5,53 @@ import { APIPromise } from "../../../core/api-promise.mjs";
|
|
|
5
5
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
6
|
export declare class FlexResource extends APIResource {
|
|
7
7
|
blockchains: BlockchainsAPI.Blockchains;
|
|
8
|
+
/**
|
|
9
|
+
* Create a new RPC Node Flex
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const flex = await client.rpcNodes.flex.create({
|
|
14
|
+
* blockchain: 'ethereum',
|
|
15
|
+
* name: 'my-ethereum-node',
|
|
16
|
+
* network: 'mainnet',
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
create(body: FlexCreateParams, options?: RequestOptions): APIPromise<Flex>;
|
|
21
|
+
/**
|
|
22
|
+
* Update an existing RPC Node Flex
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const flex = await client.rpcNodes.flex.update('node_id');
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
update(nodeID: string, body: FlexUpdateParams, options?: RequestOptions): APIPromise<Flex>;
|
|
8
30
|
/**
|
|
9
31
|
* List all RPC Node Flex you created
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const flexList = await client.rpcNodes.flex.list();
|
|
36
|
+
* ```
|
|
10
37
|
*/
|
|
11
38
|
list(options?: RequestOptions): APIPromise<FlexList>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete an RPC Node Flex
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* await client.rpcNodes.flex.delete('node_id');
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
delete(nodeID: string, options?: RequestOptions): APIPromise<void>;
|
|
12
48
|
/**
|
|
13
49
|
* Get details about an RPC Node Flex
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const flex = await client.rpcNodes.flex.get('node_id');
|
|
54
|
+
* ```
|
|
14
55
|
*/
|
|
15
56
|
get(nodeID: string, options?: RequestOptions): APIPromise<Flex>;
|
|
16
57
|
}
|
|
@@ -42,6 +83,10 @@ export interface Flex {
|
|
|
42
83
|
* Network type (e.g., mainnet, testnet).
|
|
43
84
|
*/
|
|
44
85
|
network: string;
|
|
86
|
+
/**
|
|
87
|
+
* Tags to attach to the RPC Node Flex.
|
|
88
|
+
*/
|
|
89
|
+
tags: Array<string>;
|
|
45
90
|
/**
|
|
46
91
|
* When the RPC Node Flex was updated.
|
|
47
92
|
*/
|
|
@@ -66,8 +111,36 @@ export interface FlexBlockchainList {
|
|
|
66
111
|
export interface FlexList {
|
|
67
112
|
items: Array<Flex>;
|
|
68
113
|
}
|
|
114
|
+
export interface FlexCreateParams {
|
|
115
|
+
/**
|
|
116
|
+
* Blockchain.
|
|
117
|
+
*/
|
|
118
|
+
blockchain: string;
|
|
119
|
+
/**
|
|
120
|
+
* Name of the RPC Node Flex.
|
|
121
|
+
*/
|
|
122
|
+
name: string;
|
|
123
|
+
/**
|
|
124
|
+
* Network type (e.g., mainnet, testnet).
|
|
125
|
+
*/
|
|
126
|
+
network: string;
|
|
127
|
+
/**
|
|
128
|
+
* Tags to attach to the RPC Node Flex (optional, max 50).
|
|
129
|
+
*/
|
|
130
|
+
tags?: Array<string>;
|
|
131
|
+
}
|
|
132
|
+
export interface FlexUpdateParams {
|
|
133
|
+
/**
|
|
134
|
+
* Name of the RPC Node Flex.
|
|
135
|
+
*/
|
|
136
|
+
name?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Tags to attach to the RPC Node Flex (optional, max 50).
|
|
139
|
+
*/
|
|
140
|
+
tags?: Array<string>;
|
|
141
|
+
}
|
|
69
142
|
export declare namespace FlexResource {
|
|
70
|
-
export { type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, };
|
|
143
|
+
export { type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, type FlexCreateParams as FlexCreateParams, type FlexUpdateParams as FlexUpdateParams, };
|
|
71
144
|
export { Blockchains as Blockchains };
|
|
72
145
|
}
|
|
73
146
|
//# sourceMappingURL=flex.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;
|
|
1
|
+
{"version":3,"file":"flex.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAI1E;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAI1F;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAIpD;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOlE;;;;;;;OAOG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAGhE;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;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,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,CAAC;CACvC"}
|
|
@@ -5,12 +5,53 @@ import { APIPromise } from "../../../core/api-promise.js";
|
|
|
5
5
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
6
|
export declare class FlexResource extends APIResource {
|
|
7
7
|
blockchains: BlockchainsAPI.Blockchains;
|
|
8
|
+
/**
|
|
9
|
+
* Create a new RPC Node Flex
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const flex = await client.rpcNodes.flex.create({
|
|
14
|
+
* blockchain: 'ethereum',
|
|
15
|
+
* name: 'my-ethereum-node',
|
|
16
|
+
* network: 'mainnet',
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
create(body: FlexCreateParams, options?: RequestOptions): APIPromise<Flex>;
|
|
21
|
+
/**
|
|
22
|
+
* Update an existing RPC Node Flex
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const flex = await client.rpcNodes.flex.update('node_id');
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
update(nodeID: string, body: FlexUpdateParams, options?: RequestOptions): APIPromise<Flex>;
|
|
8
30
|
/**
|
|
9
31
|
* List all RPC Node Flex you created
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const flexList = await client.rpcNodes.flex.list();
|
|
36
|
+
* ```
|
|
10
37
|
*/
|
|
11
38
|
list(options?: RequestOptions): APIPromise<FlexList>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete an RPC Node Flex
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* await client.rpcNodes.flex.delete('node_id');
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
delete(nodeID: string, options?: RequestOptions): APIPromise<void>;
|
|
12
48
|
/**
|
|
13
49
|
* Get details about an RPC Node Flex
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```ts
|
|
53
|
+
* const flex = await client.rpcNodes.flex.get('node_id');
|
|
54
|
+
* ```
|
|
14
55
|
*/
|
|
15
56
|
get(nodeID: string, options?: RequestOptions): APIPromise<Flex>;
|
|
16
57
|
}
|
|
@@ -42,6 +83,10 @@ export interface Flex {
|
|
|
42
83
|
* Network type (e.g., mainnet, testnet).
|
|
43
84
|
*/
|
|
44
85
|
network: string;
|
|
86
|
+
/**
|
|
87
|
+
* Tags to attach to the RPC Node Flex.
|
|
88
|
+
*/
|
|
89
|
+
tags: Array<string>;
|
|
45
90
|
/**
|
|
46
91
|
* When the RPC Node Flex was updated.
|
|
47
92
|
*/
|
|
@@ -66,8 +111,36 @@ export interface FlexBlockchainList {
|
|
|
66
111
|
export interface FlexList {
|
|
67
112
|
items: Array<Flex>;
|
|
68
113
|
}
|
|
114
|
+
export interface FlexCreateParams {
|
|
115
|
+
/**
|
|
116
|
+
* Blockchain.
|
|
117
|
+
*/
|
|
118
|
+
blockchain: string;
|
|
119
|
+
/**
|
|
120
|
+
* Name of the RPC Node Flex.
|
|
121
|
+
*/
|
|
122
|
+
name: string;
|
|
123
|
+
/**
|
|
124
|
+
* Network type (e.g., mainnet, testnet).
|
|
125
|
+
*/
|
|
126
|
+
network: string;
|
|
127
|
+
/**
|
|
128
|
+
* Tags to attach to the RPC Node Flex (optional, max 50).
|
|
129
|
+
*/
|
|
130
|
+
tags?: Array<string>;
|
|
131
|
+
}
|
|
132
|
+
export interface FlexUpdateParams {
|
|
133
|
+
/**
|
|
134
|
+
* Name of the RPC Node Flex.
|
|
135
|
+
*/
|
|
136
|
+
name?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Tags to attach to the RPC Node Flex (optional, max 50).
|
|
139
|
+
*/
|
|
140
|
+
tags?: Array<string>;
|
|
141
|
+
}
|
|
69
142
|
export declare namespace FlexResource {
|
|
70
|
-
export { type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, };
|
|
143
|
+
export { type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, type FlexCreateParams as FlexCreateParams, type FlexUpdateParams as FlexUpdateParams, };
|
|
71
144
|
export { Blockchains as Blockchains };
|
|
72
145
|
}
|
|
73
146
|
//# sourceMappingURL=flex.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;
|
|
1
|
+
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAI1E;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAI1F;;;;;;;OAOG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAIpD;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOlE;;;;;;;OAOG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAGhE;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;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,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,CAAC;CACvC"}
|
|
@@ -6,20 +6,71 @@ const tslib_1 = require("../../../internal/tslib.js");
|
|
|
6
6
|
const resource_1 = require("../../../core/resource.js");
|
|
7
7
|
const BlockchainsAPI = tslib_1.__importStar(require("./blockchains.js"));
|
|
8
8
|
const blockchains_1 = require("./blockchains.js");
|
|
9
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
9
10
|
const path_1 = require("../../../internal/utils/path.js");
|
|
10
11
|
class FlexResource extends resource_1.APIResource {
|
|
11
12
|
constructor() {
|
|
12
13
|
super(...arguments);
|
|
13
14
|
this.blockchains = new BlockchainsAPI.Blockchains(this._client);
|
|
14
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a new RPC Node Flex
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const flex = await client.rpcNodes.flex.create({
|
|
22
|
+
* blockchain: 'ethereum',
|
|
23
|
+
* name: 'my-ethereum-node',
|
|
24
|
+
* network: 'mainnet',
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(body, options) {
|
|
29
|
+
return this._client.post('/v1/rpc_nodes/flex', { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Update an existing RPC Node Flex
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const flex = await client.rpcNodes.flex.update('node_id');
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
update(nodeID, body, options) {
|
|
40
|
+
return this._client.patch((0, path_1.path) `/v1/rpc_nodes/flex/${nodeID}`, { body, ...options });
|
|
41
|
+
}
|
|
15
42
|
/**
|
|
16
43
|
* List all RPC Node Flex you created
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const flexList = await client.rpcNodes.flex.list();
|
|
48
|
+
* ```
|
|
17
49
|
*/
|
|
18
50
|
list(options) {
|
|
19
51
|
return this._client.get('/v1/rpc_nodes/flex', options);
|
|
20
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Delete an RPC Node Flex
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* await client.rpcNodes.flex.delete('node_id');
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
delete(nodeID, options) {
|
|
62
|
+
return this._client.delete((0, path_1.path) `/v1/rpc_nodes/flex/${nodeID}`, {
|
|
63
|
+
...options,
|
|
64
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
65
|
+
});
|
|
66
|
+
}
|
|
21
67
|
/**
|
|
22
68
|
* Get details about an RPC Node Flex
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* const flex = await client.rpcNodes.flex.get('node_id');
|
|
73
|
+
* ```
|
|
23
74
|
*/
|
|
24
75
|
get(nodeID, options) {
|
|
25
76
|
return this._client.get((0, path_1.path) `/v1/rpc_nodes/flex/${nodeID}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,yEAAgD;AAChD,kDAA4C;
|
|
1
|
+
{"version":3,"file":"flex.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,yEAAgD;AAChD,kDAA4C;AAE5C,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoEzF,CAAC;IAlEC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,MAAc,EAAE,IAAsB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,sBAAsB,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,sBAAsB,MAAM,EAAE,EAAE;YAC7D,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CACF;AArED,oCAqEC;AAwGD,YAAY,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -2,20 +2,71 @@
|
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import * as BlockchainsAPI from "./blockchains.mjs";
|
|
4
4
|
import { Blockchains } from "./blockchains.mjs";
|
|
5
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
5
6
|
import { path } from "../../../internal/utils/path.mjs";
|
|
6
7
|
export class FlexResource extends APIResource {
|
|
7
8
|
constructor() {
|
|
8
9
|
super(...arguments);
|
|
9
10
|
this.blockchains = new BlockchainsAPI.Blockchains(this._client);
|
|
10
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Create a new RPC Node Flex
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const flex = await client.rpcNodes.flex.create({
|
|
18
|
+
* blockchain: 'ethereum',
|
|
19
|
+
* name: 'my-ethereum-node',
|
|
20
|
+
* network: 'mainnet',
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
create(body, options) {
|
|
25
|
+
return this._client.post('/v1/rpc_nodes/flex', { body, ...options });
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Update an existing RPC Node Flex
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const flex = await client.rpcNodes.flex.update('node_id');
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
update(nodeID, body, options) {
|
|
36
|
+
return this._client.patch(path `/v1/rpc_nodes/flex/${nodeID}`, { body, ...options });
|
|
37
|
+
}
|
|
11
38
|
/**
|
|
12
39
|
* List all RPC Node Flex you created
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const flexList = await client.rpcNodes.flex.list();
|
|
44
|
+
* ```
|
|
13
45
|
*/
|
|
14
46
|
list(options) {
|
|
15
47
|
return this._client.get('/v1/rpc_nodes/flex', options);
|
|
16
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Delete an RPC Node Flex
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* await client.rpcNodes.flex.delete('node_id');
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
delete(nodeID, options) {
|
|
58
|
+
return this._client.delete(path `/v1/rpc_nodes/flex/${nodeID}`, {
|
|
59
|
+
...options,
|
|
60
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
61
|
+
});
|
|
62
|
+
}
|
|
17
63
|
/**
|
|
18
64
|
* Get details about an RPC Node Flex
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const flex = await client.rpcNodes.flex.get('node_id');
|
|
69
|
+
* ```
|
|
19
70
|
*/
|
|
20
71
|
get(nodeID, options) {
|
|
21
72
|
return this._client.get(path `/v1/rpc_nodes/flex/${nodeID}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"flex.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAoEzF,CAAC;IAlEC;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,MAAc,EAAE,IAAsB,EAAE,OAAwB;QACrE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,sBAAsB,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,MAAc,EAAE,OAAwB;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,sBAAsB,MAAM,EAAE,EAAE;YAC7D,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;CACF;AAwGD,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Blockchains } from "./blockchains.mjs";
|
|
2
|
-
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList } from "./flex.mjs";
|
|
2
|
+
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, } from "./flex.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Blockchains } from "./blockchains.js";
|
|
2
|
-
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList } from "./flex.js";
|
|
2
|
+
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, } from "./flex.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,kCAQgB;AAPd,oGAAA,YAAY,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EACL,YAAY,GAOb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { DedicatedResource, type Dedicated, type DedicatedBlockchain, type DedicatedBlockchainList, type DedicatedList, } from "./dedicated/index.mjs";
|
|
2
|
-
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, } from "./flex/index.mjs";
|
|
2
|
+
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, } from "./flex/index.mjs";
|
|
3
3
|
export { RPCNodes } from "./rpc-nodes.mjs";
|
|
4
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/rpc-nodes/index.ts"],"names":[],"mappings":"OAEO,EACL,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,aAAa,GACnB;OACM,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/rpc-nodes/index.ts"],"names":[],"mappings":"OAEO,EACL,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,aAAa,GACnB;OACM,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EAAE,QAAQ,EAAE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { DedicatedResource, type Dedicated, type DedicatedBlockchain, type DedicatedBlockchainList, type DedicatedList, } from "./dedicated/index.js";
|
|
2
|
-
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, } from "./flex/index.js";
|
|
2
|
+
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, } from "./flex/index.js";
|
|
3
3
|
export { RPCNodes } from "./rpc-nodes.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/rpc-nodes/index.ts"],"names":[],"mappings":"OAEO,EACL,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,aAAa,GACnB;OACM,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/rpc-nodes/index.ts"],"names":[],"mappings":"OAEO,EACL,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,aAAa,GACnB;OACM,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACtB;OACM,EAAE,QAAQ,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/rpc-nodes/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAM2B;AALzB,0GAAA,iBAAiB,OAAA;AAMnB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/rpc-nodes/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAM2B;AALzB,0GAAA,iBAAiB,OAAA;AAMnB,yCAQsB;AAPpB,qGAAA,YAAY,OAAA;AAQd,4CAAuC;AAA9B,qGAAA,QAAQ,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/rpc-nodes/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,iBAAiB,GAKlB;OACM,EACL,YAAY,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/rpc-nodes/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,iBAAiB,GAKlB;OACM,EACL,YAAY,GAOb;OACM,EAAE,QAAQ,EAAE"}
|
|
@@ -2,13 +2,13 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
2
2
|
import * as DedicatedAPI from "./dedicated/dedicated.mjs";
|
|
3
3
|
import { Dedicated, DedicatedBlockchain, DedicatedBlockchainList, DedicatedList, DedicatedResource } from "./dedicated/dedicated.mjs";
|
|
4
4
|
import * as FlexAPI from "./flex/flex.mjs";
|
|
5
|
-
import { Flex, FlexBlockchain, FlexBlockchainList, FlexList, FlexResource } from "./flex/flex.mjs";
|
|
5
|
+
import { Flex, FlexBlockchain, FlexBlockchainList, FlexCreateParams, FlexList, FlexResource, FlexUpdateParams } from "./flex/flex.mjs";
|
|
6
6
|
export declare class RPCNodes extends APIResource {
|
|
7
7
|
flex: FlexAPI.FlexResource;
|
|
8
8
|
dedicated: DedicatedAPI.DedicatedResource;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace RPCNodes {
|
|
11
|
-
export { FlexResource as FlexResource, type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, };
|
|
11
|
+
export { FlexResource as FlexResource, type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, type FlexCreateParams as FlexCreateParams, type FlexUpdateParams as FlexUpdateParams, };
|
|
12
12
|
export { DedicatedResource as DedicatedResource, type Dedicated as Dedicated, type DedicatedBlockchain as DedicatedBlockchain, type DedicatedBlockchainList as DedicatedBlockchainList, type DedicatedList as DedicatedList, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=rpc-nodes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-nodes.d.mts","sourceRoot":"","sources":["../../src/resources/rpc-nodes/rpc-nodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EAClB;OACM,KAAK,OAAO;OACZ,
|
|
1
|
+
{"version":3,"file":"rpc-nodes.d.mts","sourceRoot":"","sources":["../../src/resources/rpc-nodes/rpc-nodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EAClB;OACM,KAAK,OAAO;OACZ,EACL,IAAI,EACJ,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,gBAAgB,EACjB;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,IAAI,EAAE,OAAO,CAAC,YAAY,CAA0C;IACpE,SAAS,EAAE,YAAY,CAAC,iBAAiB,CAAoD;CAC9F;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,iBAAiB,IAAI,iBAAiB,EACtC,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
|
@@ -2,13 +2,13 @@ import { APIResource } from "../../core/resource.js";
|
|
|
2
2
|
import * as DedicatedAPI from "./dedicated/dedicated.js";
|
|
3
3
|
import { Dedicated, DedicatedBlockchain, DedicatedBlockchainList, DedicatedList, DedicatedResource } from "./dedicated/dedicated.js";
|
|
4
4
|
import * as FlexAPI from "./flex/flex.js";
|
|
5
|
-
import { Flex, FlexBlockchain, FlexBlockchainList, FlexList, FlexResource } from "./flex/flex.js";
|
|
5
|
+
import { Flex, FlexBlockchain, FlexBlockchainList, FlexCreateParams, FlexList, FlexResource, FlexUpdateParams } from "./flex/flex.js";
|
|
6
6
|
export declare class RPCNodes extends APIResource {
|
|
7
7
|
flex: FlexAPI.FlexResource;
|
|
8
8
|
dedicated: DedicatedAPI.DedicatedResource;
|
|
9
9
|
}
|
|
10
10
|
export declare namespace RPCNodes {
|
|
11
|
-
export { FlexResource as FlexResource, type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, };
|
|
11
|
+
export { FlexResource as FlexResource, type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, type FlexCreateParams as FlexCreateParams, type FlexUpdateParams as FlexUpdateParams, };
|
|
12
12
|
export { DedicatedResource as DedicatedResource, type Dedicated as Dedicated, type DedicatedBlockchain as DedicatedBlockchain, type DedicatedBlockchainList as DedicatedBlockchainList, type DedicatedList as DedicatedList, };
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=rpc-nodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-nodes.d.ts","sourceRoot":"","sources":["../../src/resources/rpc-nodes/rpc-nodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EAClB;OACM,KAAK,OAAO;OACZ,
|
|
1
|
+
{"version":3,"file":"rpc-nodes.d.ts","sourceRoot":"","sources":["../../src/resources/rpc-nodes/rpc-nodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EACL,SAAS,EACT,mBAAmB,EACnB,uBAAuB,EACvB,aAAa,EACb,iBAAiB,EAClB;OACM,KAAK,OAAO;OACZ,EACL,IAAI,EACJ,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,gBAAgB,EACjB;AAED,qBAAa,QAAS,SAAQ,WAAW;IACvC,IAAI,EAAE,OAAO,CAAC,YAAY,CAA0C;IACpE,SAAS,EAAE,YAAY,CAAC,iBAAiB,CAAoD;CAC9F;AAKD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EACL,iBAAiB,IAAI,iBAAiB,EACtC,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,aAAa,IAAI,aAAa,GACpC,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-nodes.js","sourceRoot":"","sources":["../../src/resources/rpc-nodes/rpc-nodes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+EAAsD;AACtD,wDAM+B;AAC/B,gEAAuC;AACvC,
|
|
1
|
+
{"version":3,"file":"rpc-nodes.js","sourceRoot":"","sources":["../../src/resources/rpc-nodes/rpc-nodes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+EAAsD;AACtD,wDAM+B;AAC/B,gEAAuC;AACvC,yCAQqB;AAErB,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,SAAI,GAAyB,IAAI,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpE,cAAS,GAAmC,IAAI,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/F,CAAC;CAAA;AAHD,4BAGC;AAED,QAAQ,CAAC,YAAY,GAAG,mBAAY,CAAC;AACrC,QAAQ,CAAC,iBAAiB,GAAG,6BAAiB,CAAC"}
|