@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.
- package/CHANGELOG.md +10 -0
- package/README.md +7 -7
- package/package.json +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 +2 -216
- package/resources/connect/flux/flux.d.mts.map +1 -1
- package/resources/connect/flux/flux.d.ts +2 -216
- package/resources/connect/flux/flux.d.ts.map +1 -1
- package/resources/connect/flux/flux.js +4 -70
- package/resources/connect/flux/flux.js.map +1 -1
- package/resources/connect/flux/flux.mjs +2 -68
- package/resources/connect/flux/flux.mjs.map +1 -1
- package/resources/connect/flux/index.d.mts +1 -1
- package/resources/connect/flux/index.d.mts.map +1 -1
- package/resources/connect/flux/index.d.ts +1 -1
- package/resources/connect/flux/index.d.ts.map +1 -1
- package/resources/connect/flux/index.js +2 -2
- package/resources/connect/flux/index.js.map +1 -1
- package/resources/connect/flux/index.mjs +1 -1
- package/resources/connect/flux/index.mjs.map +1 -1
- package/resources/connect/flux/routes.d.mts +0 -13
- package/resources/connect/flux/routes.d.mts.map +1 -1
- package/resources/connect/flux/routes.d.ts +0 -13
- package/resources/connect/flux/routes.d.ts.map +1 -1
- package/resources/connect/flux/routes.js +0 -12
- package/resources/connect/flux/routes.js.map +1 -1
- package/resources/connect/flux/routes.mjs +0 -12
- package/resources/connect/flux/routes.mjs.map +1 -1
- 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/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/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 +13 -0
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +13 -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 +70 -1
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +70 -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/connect/connect.ts +4 -26
- package/src/resources/connect/flux/flux.ts +3 -281
- package/src/resources/connect/flux/index.ts +1 -12
- package/src/resources/connect/flux/routes.ts +1 -17
- 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/index.ts +10 -0
- package/src/resources/networking/networking.ts +24 -0
- package/src/resources/rpc-nodes/dedicated/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +13 -0
- package/src/resources/rpc-nodes/flex/blockchains.ts +6 -0
- package/src/resources/rpc-nodes/flex/flex.ts +90 -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
|
@@ -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
|
}
|
|
@@ -70,8 +111,36 @@ export interface FlexBlockchainList {
|
|
|
70
111
|
export interface FlexList {
|
|
71
112
|
items: Array<Flex>;
|
|
72
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
|
+
}
|
|
73
142
|
export declare namespace FlexResource {
|
|
74
|
-
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, };
|
|
75
144
|
export { Blockchains as Blockchains };
|
|
76
145
|
}
|
|
77
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"}
|
|
@@ -3,7 +3,7 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
3
3
|
import * as DedicatedAPI from "./dedicated/dedicated.mjs";
|
|
4
4
|
import { DedicatedResource, } from "./dedicated/dedicated.mjs";
|
|
5
5
|
import * as FlexAPI from "./flex/flex.mjs";
|
|
6
|
-
import { FlexResource } from "./flex/flex.mjs";
|
|
6
|
+
import { FlexResource, } from "./flex/flex.mjs";
|
|
7
7
|
export class RPCNodes extends APIResource {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpc-nodes.mjs","sourceRoot":"","sources":["../../src/resources/rpc-nodes/rpc-nodes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAKL,iBAAiB,GAClB;OACM,KAAK,OAAO;OACZ,
|
|
1
|
+
{"version":3,"file":"rpc-nodes.mjs","sourceRoot":"","sources":["../../src/resources/rpc-nodes/rpc-nodes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAKL,iBAAiB,GAClB;OACM,KAAK,OAAO;OACZ,EAML,YAAY,GAEb;AAED,MAAM,OAAO,QAAS,SAAQ,WAAW;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;AAED,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC"}
|
|
@@ -2,36 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
4
|
import * as FluxAPI from './flux/flux';
|
|
5
|
-
import {
|
|
6
|
-
Flux,
|
|
7
|
-
FluxBandwidthMbps,
|
|
8
|
-
FluxCreateParams,
|
|
9
|
-
FluxList,
|
|
10
|
-
FluxProviderAWSConfig,
|
|
11
|
-
FluxProviderAWSConfigRequest,
|
|
12
|
-
FluxResource,
|
|
13
|
-
FluxRoute,
|
|
14
|
-
FluxRouteList,
|
|
15
|
-
FluxUpdateParams,
|
|
16
|
-
} from './flux/flux';
|
|
5
|
+
import { Flux } from './flux/flux';
|
|
17
6
|
|
|
18
7
|
export class Connect extends APIResource {
|
|
19
|
-
flux: FluxAPI.
|
|
8
|
+
flux: FluxAPI.Flux = new FluxAPI.Flux(this._client);
|
|
20
9
|
}
|
|
21
10
|
|
|
22
|
-
Connect.
|
|
11
|
+
Connect.Flux = Flux;
|
|
23
12
|
|
|
24
13
|
export declare namespace Connect {
|
|
25
|
-
export {
|
|
26
|
-
FluxResource as FluxResource,
|
|
27
|
-
type Flux as Flux,
|
|
28
|
-
type FluxBandwidthMbps as FluxBandwidthMbps,
|
|
29
|
-
type FluxList as FluxList,
|
|
30
|
-
type FluxProviderAWSConfig as FluxProviderAWSConfig,
|
|
31
|
-
type FluxProviderAWSConfigRequest as FluxProviderAWSConfigRequest,
|
|
32
|
-
type FluxRoute as FluxRoute,
|
|
33
|
-
type FluxRouteList as FluxRouteList,
|
|
34
|
-
type FluxCreateParams as FluxCreateParams,
|
|
35
|
-
type FluxUpdateParams as FluxUpdateParams,
|
|
36
|
-
};
|
|
14
|
+
export { Flux as Flux };
|
|
37
15
|
}
|