@nirvana-labs/nirvana 1.20.3 → 1.21.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 +37 -0
- package/README.md +31 -0
- package/client.d.mts +7 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -0
- package/client.d.ts.map +1 -1
- package/client.js +8 -0
- package/client.js.map +1 -1
- package/client.mjs +8 -0
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +61 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +61 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/index.d.mts +1 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/internal/tslib.js +18 -18
- package/package.json +11 -1
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resources/api-keys.d.mts +16 -4
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +16 -4
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-keys.js +8 -4
- package/resources/api-keys.js.map +1 -1
- package/resources/api-keys.mjs +8 -4
- package/resources/api-keys.mjs.map +1 -1
- package/resources/compute/compute.d.mts +4 -4
- package/resources/compute/compute.d.mts.map +1 -1
- package/resources/compute/compute.d.ts +4 -4
- package/resources/compute/compute.d.ts.map +1 -1
- package/resources/compute/compute.js.map +1 -1
- package/resources/compute/compute.mjs.map +1 -1
- package/resources/compute/index.d.mts +2 -2
- package/resources/compute/index.d.mts.map +1 -1
- package/resources/compute/index.d.ts +2 -2
- package/resources/compute/index.d.ts.map +1 -1
- package/resources/compute/index.js.map +1 -1
- package/resources/compute/index.mjs.map +1 -1
- package/resources/compute/vms/index.d.mts +2 -2
- package/resources/compute/vms/index.d.mts.map +1 -1
- package/resources/compute/vms/index.d.ts +2 -2
- package/resources/compute/vms/index.d.ts.map +1 -1
- package/resources/compute/vms/index.js.map +1 -1
- package/resources/compute/vms/index.mjs.map +1 -1
- package/resources/compute/vms/vms.d.mts +16 -5
- package/resources/compute/vms/vms.d.mts.map +1 -1
- package/resources/compute/vms/vms.d.ts +16 -5
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/vms/vms.js +7 -3
- package/resources/compute/vms/vms.js.map +1 -1
- package/resources/compute/vms/vms.mjs +7 -3
- package/resources/compute/vms/vms.mjs.map +1 -1
- package/resources/compute/vms/volumes.d.mts +15 -5
- package/resources/compute/vms/volumes.d.mts.map +1 -1
- package/resources/compute/vms/volumes.d.ts +15 -5
- package/resources/compute/vms/volumes.d.ts.map +1 -1
- package/resources/compute/vms/volumes.js +11 -4
- package/resources/compute/vms/volumes.js.map +1 -1
- package/resources/compute/vms/volumes.mjs +11 -4
- package/resources/compute/vms/volumes.mjs.map +1 -1
- package/resources/compute/volumes/index.d.mts +1 -1
- package/resources/compute/volumes/index.d.mts.map +1 -1
- package/resources/compute/volumes/index.d.ts +1 -1
- package/resources/compute/volumes/index.d.ts.map +1 -1
- package/resources/compute/volumes/index.js.map +1 -1
- package/resources/compute/volumes/index.mjs.map +1 -1
- package/resources/compute/volumes/volumes.d.mts +14 -3
- package/resources/compute/volumes/volumes.d.mts.map +1 -1
- package/resources/compute/volumes/volumes.d.ts +14 -3
- package/resources/compute/volumes/volumes.d.ts.map +1 -1
- package/resources/compute/volumes/volumes.js +7 -3
- package/resources/compute/volumes/volumes.js.map +1 -1
- package/resources/compute/volumes/volumes.mjs +7 -3
- package/resources/compute/volumes/volumes.mjs.map +1 -1
- package/resources/networking/connect/connect.d.mts +15 -4
- package/resources/networking/connect/connect.d.mts.map +1 -1
- package/resources/networking/connect/connect.d.ts +15 -4
- package/resources/networking/connect/connect.d.ts.map +1 -1
- package/resources/networking/connect/connect.js.map +1 -1
- package/resources/networking/connect/connect.mjs +1 -1
- package/resources/networking/connect/connect.mjs.map +1 -1
- package/resources/networking/connect/connections.d.mts +11 -4
- package/resources/networking/connect/connections.d.mts.map +1 -1
- package/resources/networking/connect/connections.d.ts +11 -4
- package/resources/networking/connect/connections.d.ts.map +1 -1
- package/resources/networking/connect/connections.js +7 -4
- package/resources/networking/connect/connections.js.map +1 -1
- package/resources/networking/connect/connections.mjs +7 -4
- package/resources/networking/connect/connections.mjs.map +1 -1
- package/resources/networking/connect/index.d.mts +3 -3
- package/resources/networking/connect/index.d.mts.map +1 -1
- package/resources/networking/connect/index.d.ts +3 -3
- package/resources/networking/connect/index.d.ts.map +1 -1
- package/resources/networking/connect/index.js.map +1 -1
- package/resources/networking/connect/index.mjs +1 -1
- package/resources/networking/connect/index.mjs.map +1 -1
- package/resources/networking/connect/routes.d.mts +13 -4
- package/resources/networking/connect/routes.d.mts.map +1 -1
- package/resources/networking/connect/routes.d.ts +13 -4
- package/resources/networking/connect/routes.d.ts.map +1 -1
- package/resources/networking/connect/routes.js +10 -4
- package/resources/networking/connect/routes.js.map +1 -1
- package/resources/networking/connect/routes.mjs +10 -4
- package/resources/networking/connect/routes.mjs.map +1 -1
- package/resources/networking/firewall-rules.d.mts +16 -4
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +16 -4
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/networking/firewall-rules.js +12 -4
- package/resources/networking/firewall-rules.js.map +1 -1
- package/resources/networking/firewall-rules.mjs +12 -4
- package/resources/networking/firewall-rules.mjs.map +1 -1
- package/resources/networking/index.d.mts +3 -3
- package/resources/networking/index.d.mts.map +1 -1
- package/resources/networking/index.d.ts +3 -3
- package/resources/networking/index.d.ts.map +1 -1
- package/resources/networking/index.js.map +1 -1
- package/resources/networking/index.mjs.map +1 -1
- package/resources/networking/networking.d.mts +4 -4
- package/resources/networking/networking.d.mts.map +1 -1
- package/resources/networking/networking.d.ts +4 -4
- package/resources/networking/networking.d.ts.map +1 -1
- package/resources/networking/networking.js.map +1 -1
- package/resources/networking/networking.mjs +1 -1
- package/resources/networking/networking.mjs.map +1 -1
- package/resources/networking/vpcs/index.d.mts +1 -1
- package/resources/networking/vpcs/index.d.mts.map +1 -1
- package/resources/networking/vpcs/index.d.ts +1 -1
- package/resources/networking/vpcs/index.d.ts.map +1 -1
- package/resources/networking/vpcs/index.js.map +1 -1
- package/resources/networking/vpcs/index.mjs.map +1 -1
- package/resources/networking/vpcs/vpcs.d.mts +14 -3
- package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.ts +14 -3
- package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.js +7 -3
- package/resources/networking/vpcs/vpcs.js.map +1 -1
- package/resources/networking/vpcs/vpcs.mjs +7 -3
- package/resources/networking/vpcs/vpcs.mjs.map +1 -1
- package/resources/operations.d.mts +11 -2
- package/resources/operations.d.mts.map +1 -1
- package/resources/operations.d.ts +11 -2
- package/resources/operations.d.ts.map +1 -1
- package/resources/operations.js +3 -2
- package/resources/operations.js.map +1 -1
- package/resources/operations.mjs +3 -2
- package/resources/operations.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.mts +13 -4
- package/resources/rpc-nodes/dedicated/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.d.ts +13 -4
- package/resources/rpc-nodes/dedicated/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.js +7 -4
- package/resources/rpc-nodes/dedicated/blockchains.js.map +1 -1
- package/resources/rpc-nodes/dedicated/blockchains.mjs +7 -4
- package/resources/rpc-nodes/dedicated/blockchains.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +22 -6
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +22 -6
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js +7 -4
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs +7 -4
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/index.d.mts +2 -2
- package/resources/rpc-nodes/dedicated/index.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/index.d.ts +2 -2
- package/resources/rpc-nodes/dedicated/index.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/index.js.map +1 -1
- package/resources/rpc-nodes/dedicated/index.mjs.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.mts +13 -4
- package/resources/rpc-nodes/flex/blockchains.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.d.ts +13 -4
- package/resources/rpc-nodes/flex/blockchains.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.js +10 -4
- package/resources/rpc-nodes/flex/blockchains.js.map +1 -1
- package/resources/rpc-nodes/flex/blockchains.mjs +10 -4
- package/resources/rpc-nodes/flex/blockchains.mjs.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +22 -5
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +22 -5
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js +7 -3
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs +7 -3
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/resources/rpc-nodes/flex/index.d.mts +2 -2
- package/resources/rpc-nodes/flex/index.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/index.d.ts +2 -2
- 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.map +1 -1
- package/resources/rpc-nodes/index.d.mts +2 -2
- package/resources/rpc-nodes/index.d.mts.map +1 -1
- package/resources/rpc-nodes/index.d.ts +2 -2
- 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 +4 -4
- package/resources/rpc-nodes/rpc-nodes.d.mts.map +1 -1
- package/resources/rpc-nodes/rpc-nodes.d.ts +4 -4
- 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.map +1 -1
- package/resources/shared.d.mts +8 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +8 -0
- package/resources/shared.d.ts.map +1 -1
- package/src/client.ts +25 -0
- package/src/core/pagination.ts +167 -0
- package/src/index.ts +1 -0
- package/src/pagination.ts +2 -0
- package/src/resources/api-keys.ts +23 -4
- package/src/resources/compute/compute.ts +8 -0
- package/src/resources/compute/index.ts +4 -0
- package/src/resources/compute/vms/index.ts +3 -1
- package/src/resources/compute/vms/vms.ts +20 -5
- package/src/resources/compute/vms/volumes.ts +25 -6
- package/src/resources/compute/volumes/index.ts +2 -0
- package/src/resources/compute/volumes/volumes.ts +21 -3
- package/src/resources/networking/connect/connect.ts +24 -3
- package/src/resources/networking/connect/connections.ts +20 -4
- package/src/resources/networking/connect/index.ts +9 -2
- package/src/resources/networking/connect/routes.ts +22 -5
- package/src/resources/networking/firewall-rules.ts +27 -4
- package/src/resources/networking/index.ts +6 -0
- package/src/resources/networking/networking.ts +16 -1
- package/src/resources/networking/vpcs/index.ts +2 -0
- package/src/resources/networking/vpcs/vpcs.ts +18 -3
- package/src/resources/operations.ts +18 -2
- package/src/resources/rpc-nodes/dedicated/blockchains.ts +23 -5
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +31 -6
- package/src/resources/rpc-nodes/dedicated/index.ts +4 -1
- package/src/resources/rpc-nodes/flex/blockchains.ts +22 -5
- package/src/resources/rpc-nodes/flex/flex.ts +31 -5
- package/src/resources/rpc-nodes/flex/index.ts +4 -1
- package/src/resources/rpc-nodes/index.ts +6 -0
- package/src/resources/rpc-nodes/rpc-nodes.ts +8 -0
- package/src/resources/shared.ts +11 -0
- 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
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as Shared from "../../shared.js";
|
|
2
3
|
import * as BlockchainsAPI from "./blockchains.js";
|
|
3
|
-
import { Blockchains } from "./blockchains.js";
|
|
4
|
+
import { BlockchainListParams, Blockchains } from "./blockchains.js";
|
|
4
5
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { Cursor, type CursorParams, PagePromise } from "../../../core/pagination.js";
|
|
5
7
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
8
|
export declare class DedicatedResource extends APIResource {
|
|
7
9
|
blockchains: BlockchainsAPI.Blockchains;
|
|
@@ -10,11 +12,13 @@ export declare class DedicatedResource extends APIResource {
|
|
|
10
12
|
*
|
|
11
13
|
* @example
|
|
12
14
|
* ```ts
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
+
* // Automatically fetches more pages as needed.
|
|
16
|
+
* for await (const dedicated of client.rpcNodes.dedicated.list()) {
|
|
17
|
+
* // ...
|
|
18
|
+
* }
|
|
15
19
|
* ```
|
|
16
20
|
*/
|
|
17
|
-
list(options?: RequestOptions):
|
|
21
|
+
list(query?: DedicatedListParams | null | undefined, options?: RequestOptions): PagePromise<DedicatedsCursor, Dedicated>;
|
|
18
22
|
/**
|
|
19
23
|
* Get details about an RPC Node Dedicated
|
|
20
24
|
*
|
|
@@ -27,6 +31,8 @@ export declare class DedicatedResource extends APIResource {
|
|
|
27
31
|
*/
|
|
28
32
|
get(nodeID: string, options?: RequestOptions): APIPromise<Dedicated>;
|
|
29
33
|
}
|
|
34
|
+
export type DedicatedsCursor = Cursor<Dedicated>;
|
|
35
|
+
export type DedicatedBlockchainsCursor = Cursor<DedicatedBlockchain>;
|
|
30
36
|
/**
|
|
31
37
|
* RPC Node Dedicated details.
|
|
32
38
|
*/
|
|
@@ -79,12 +85,22 @@ export interface DedicatedBlockchain {
|
|
|
79
85
|
}
|
|
80
86
|
export interface DedicatedBlockchainList {
|
|
81
87
|
items: Array<DedicatedBlockchain>;
|
|
88
|
+
/**
|
|
89
|
+
* Pagination response details.
|
|
90
|
+
*/
|
|
91
|
+
pagination: Shared.Pagination;
|
|
82
92
|
}
|
|
83
93
|
export interface DedicatedList {
|
|
84
94
|
items: Array<Dedicated>;
|
|
95
|
+
/**
|
|
96
|
+
* Pagination response details.
|
|
97
|
+
*/
|
|
98
|
+
pagination: Shared.Pagination;
|
|
99
|
+
}
|
|
100
|
+
export interface DedicatedListParams extends CursorParams {
|
|
85
101
|
}
|
|
86
102
|
export declare namespace DedicatedResource {
|
|
87
|
-
export { type Dedicated as Dedicated, type DedicatedBlockchain as DedicatedBlockchain, type DedicatedBlockchainList as DedicatedBlockchainList, type DedicatedList as DedicatedList, };
|
|
88
|
-
export { Blockchains as Blockchains };
|
|
103
|
+
export { type Dedicated as Dedicated, type DedicatedBlockchain as DedicatedBlockchain, type DedicatedBlockchainList as DedicatedBlockchainList, type DedicatedList as DedicatedList, type DedicatedsCursor as DedicatedsCursor, type DedicatedListParams as DedicatedListParams, };
|
|
104
|
+
export { Blockchains as Blockchains, type BlockchainListParams as BlockchainListParams };
|
|
89
105
|
}
|
|
90
106
|
//# sourceMappingURL=dedicated.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dedicated.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"dedicated.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,cAAc;OACnB,EAAE,oBAAoB,EAAE,WAAW,EAAE;OACrC,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAGzB,qBAAa,iBAAkB,SAAQ,WAAW;IAChD,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IAEvF;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gBAAgB,EAAE,SAAS,CAAC;IAI3C;;;;;;;;;OASG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC;CAGrE;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAEjD,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;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,mBAAmB;IAClC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAElC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAExB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAoB,SAAQ,YAAY;CAAG;AAI5D,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC1F"}
|
|
@@ -6,6 +6,7 @@ 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 pagination_1 = require("../../../core/pagination.js");
|
|
9
10
|
const path_1 = require("../../../internal/utils/path.js");
|
|
10
11
|
class DedicatedResource extends resource_1.APIResource {
|
|
11
12
|
constructor() {
|
|
@@ -17,12 +18,14 @@ class DedicatedResource extends resource_1.APIResource {
|
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* ```ts
|
|
20
|
-
*
|
|
21
|
-
*
|
|
21
|
+
* // Automatically fetches more pages as needed.
|
|
22
|
+
* for await (const dedicated of client.rpcNodes.dedicated.list()) {
|
|
23
|
+
* // ...
|
|
24
|
+
* }
|
|
22
25
|
* ```
|
|
23
26
|
*/
|
|
24
|
-
list(options) {
|
|
25
|
-
return this._client.
|
|
27
|
+
list(query = {}, options) {
|
|
28
|
+
return this._client.getAPIList('/v1/rpc_nodes/dedicated', (pagination_1.Cursor), { query, ...options });
|
|
26
29
|
}
|
|
27
30
|
/**
|
|
28
31
|
* Get details about an RPC Node Dedicated
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dedicated.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"dedicated.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,yEAAgD;AAChD,kDAAkE;AAElE,4DAAkF;AAElF,0DAAoD;AAEpD,MAAa,iBAAkB,SAAQ,sBAAW;IAAlD;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiCzF,CAAC;IA/BC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,CAAA,mBAAiB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;IAED;;;;;;;;;OASG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AAlCD,8CAkCC;AAsFD,iBAAiB,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
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 { Cursor } from "../../../core/pagination.mjs";
|
|
5
6
|
import { path } from "../../../internal/utils/path.mjs";
|
|
6
7
|
export class DedicatedResource extends APIResource {
|
|
7
8
|
constructor() {
|
|
@@ -13,12 +14,14 @@ export class DedicatedResource extends APIResource {
|
|
|
13
14
|
*
|
|
14
15
|
* @example
|
|
15
16
|
* ```ts
|
|
16
|
-
*
|
|
17
|
-
*
|
|
17
|
+
* // Automatically fetches more pages as needed.
|
|
18
|
+
* for await (const dedicated of client.rpcNodes.dedicated.list()) {
|
|
19
|
+
* // ...
|
|
20
|
+
* }
|
|
18
21
|
* ```
|
|
19
22
|
*/
|
|
20
|
-
list(options) {
|
|
21
|
-
return this._client.
|
|
23
|
+
list(query = {}, options) {
|
|
24
|
+
return this._client.getAPIList('/v1/rpc_nodes/dedicated', (Cursor), { query, ...options });
|
|
22
25
|
}
|
|
23
26
|
/**
|
|
24
27
|
* Get details about an RPC Node Dedicated
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"dedicated.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/dedicated.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,cAAc;OACnB,EAAwB,WAAW,EAAE;OAErC,EAAE,MAAM,EAAkC;OAE1C,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,iBAAkB,SAAQ,WAAW;IAAlD;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiCzF,CAAC;IA/BC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAgD,EAAE,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,CAAA,MAAiB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,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;AAsFD,iBAAiB,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Blockchains } from "./blockchains.mjs";
|
|
2
|
-
export { DedicatedResource, type Dedicated, type DedicatedBlockchain, type DedicatedBlockchainList, type DedicatedList, } from "./dedicated.mjs";
|
|
1
|
+
export { Blockchains, type BlockchainListParams } from "./blockchains.mjs";
|
|
2
|
+
export { DedicatedResource, type Dedicated, type DedicatedBlockchain, type DedicatedBlockchainList, type DedicatedList, type DedicatedListParams, type DedicatedBlockchainsCursor, type DedicatedsCursor, } from "./dedicated.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,KAAK,oBAAoB,EAAE;OAC1C,EACL,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Blockchains } from "./blockchains.js";
|
|
2
|
-
export { DedicatedResource, type Dedicated, type DedicatedBlockchain, type DedicatedBlockchainList, type DedicatedList, } from "./dedicated.js";
|
|
1
|
+
export { Blockchains, type BlockchainListParams } from "./blockchains.js";
|
|
2
|
+
export { DedicatedResource, type Dedicated, type DedicatedBlockchain, type DedicatedBlockchainList, type DedicatedList, type DedicatedListParams, type DedicatedBlockchainsCursor, type DedicatedsCursor, } from "./dedicated.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,KAAK,oBAAoB,EAAE;OAC1C,EACL,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAAuE;AAA9D,0GAAA,WAAW,OAAA;AACpB,4CASqB;AARnB,8GAAA,iBAAiB,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/dedicated/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAA6B;OAC1C,EACL,iBAAiB,GAQlB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import * as FlexAPI from "./flex.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { FlexBlockchainsCursor } from "./flex.mjs";
|
|
4
|
+
import { type CursorParams, PagePromise } from "../../../core/pagination.mjs";
|
|
4
5
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
6
|
export declare class Blockchains extends APIResource {
|
|
6
7
|
/**
|
|
@@ -8,10 +9,18 @@ export declare class Blockchains extends APIResource {
|
|
|
8
9
|
*
|
|
9
10
|
* @example
|
|
10
11
|
* ```ts
|
|
11
|
-
*
|
|
12
|
-
*
|
|
12
|
+
* // Automatically fetches more pages as needed.
|
|
13
|
+
* for await (const flexBlockchain of client.rpcNodes.flex.blockchains.list()) {
|
|
14
|
+
* // ...
|
|
15
|
+
* }
|
|
13
16
|
* ```
|
|
14
17
|
*/
|
|
15
|
-
list(options?: RequestOptions):
|
|
18
|
+
list(query?: BlockchainListParams | null | undefined, options?: RequestOptions): PagePromise<FlexBlockchainsCursor, FlexAPI.FlexBlockchain>;
|
|
16
19
|
}
|
|
20
|
+
export interface BlockchainListParams extends CursorParams {
|
|
21
|
+
}
|
|
22
|
+
export declare namespace Blockchains {
|
|
23
|
+
export { type BlockchainListParams as BlockchainListParams };
|
|
24
|
+
}
|
|
25
|
+
export { type FlexBlockchainsCursor };
|
|
17
26
|
//# sourceMappingURL=blockchains.d.mts.map
|
|
@@ -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,
|
|
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,qBAAqB,EAAE;OACzB,EAAU,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qBAAqB,EAAE,OAAO,CAAC,cAAc,CAAC;CAM9D;AAED,MAAM,WAAW,oBAAqB,SAAQ,YAAY;CAAG;AAE7D,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D;AAED,OAAO,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as FlexAPI from "./flex.js";
|
|
3
|
-
import {
|
|
3
|
+
import { FlexBlockchainsCursor } from "./flex.js";
|
|
4
|
+
import { type CursorParams, PagePromise } from "../../../core/pagination.js";
|
|
4
5
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
6
|
export declare class Blockchains extends APIResource {
|
|
6
7
|
/**
|
|
@@ -8,10 +9,18 @@ export declare class Blockchains extends APIResource {
|
|
|
8
9
|
*
|
|
9
10
|
* @example
|
|
10
11
|
* ```ts
|
|
11
|
-
*
|
|
12
|
-
*
|
|
12
|
+
* // Automatically fetches more pages as needed.
|
|
13
|
+
* for await (const flexBlockchain of client.rpcNodes.flex.blockchains.list()) {
|
|
14
|
+
* // ...
|
|
15
|
+
* }
|
|
13
16
|
* ```
|
|
14
17
|
*/
|
|
15
|
-
list(options?: RequestOptions):
|
|
18
|
+
list(query?: BlockchainListParams | null | undefined, options?: RequestOptions): PagePromise<FlexBlockchainsCursor, FlexAPI.FlexBlockchain>;
|
|
16
19
|
}
|
|
20
|
+
export interface BlockchainListParams extends CursorParams {
|
|
21
|
+
}
|
|
22
|
+
export declare namespace Blockchains {
|
|
23
|
+
export { type BlockchainListParams as BlockchainListParams };
|
|
24
|
+
}
|
|
25
|
+
export { type FlexBlockchainsCursor };
|
|
17
26
|
//# sourceMappingURL=blockchains.d.ts.map
|
|
@@ -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,
|
|
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,qBAAqB,EAAE;OACzB,EAAU,KAAK,YAAY,EAAE,WAAW,EAAE;OAC1C,EAAE,cAAc,EAAE;AAEzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qBAAqB,EAAE,OAAO,CAAC,cAAc,CAAC;CAM9D;AAED,MAAM,WAAW,oBAAqB,SAAQ,YAAY;CAAG;AAE7D,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC9D;AAED,OAAO,EAAE,KAAK,qBAAqB,EAAE,CAAC"}
|
|
@@ -3,18 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Blockchains = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../../../core/pagination.js");
|
|
6
7
|
class Blockchains extends resource_1.APIResource {
|
|
7
8
|
/**
|
|
8
9
|
* List all Flex Blockchains
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* ```ts
|
|
12
|
-
*
|
|
13
|
-
*
|
|
13
|
+
* // Automatically fetches more pages as needed.
|
|
14
|
+
* for await (const flexBlockchain of client.rpcNodes.flex.blockchains.list()) {
|
|
15
|
+
* // ...
|
|
16
|
+
* }
|
|
14
17
|
* ```
|
|
15
18
|
*/
|
|
16
|
-
list(options) {
|
|
17
|
-
return this._client.
|
|
19
|
+
list(query = {}, options) {
|
|
20
|
+
return this._client.getAPIList('/v1/rpc_nodes/flex/blockchains', (pagination_1.Cursor), {
|
|
21
|
+
query,
|
|
22
|
+
...options,
|
|
23
|
+
});
|
|
18
24
|
}
|
|
19
25
|
}
|
|
20
26
|
exports.Blockchains = Blockchains;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blockchains.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"blockchains.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,4DAAkF;AAGlF,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gCAAgC,EAAE,CAAA,mBAA8B,CAAA,EAAE;YAC/F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AArBD,kCAqBC"}
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { Cursor } from "../../../core/pagination.mjs";
|
|
3
4
|
export class Blockchains extends APIResource {
|
|
4
5
|
/**
|
|
5
6
|
* List all Flex Blockchains
|
|
6
7
|
*
|
|
7
8
|
* @example
|
|
8
9
|
* ```ts
|
|
9
|
-
*
|
|
10
|
-
*
|
|
10
|
+
* // Automatically fetches more pages as needed.
|
|
11
|
+
* for await (const flexBlockchain of client.rpcNodes.flex.blockchains.list()) {
|
|
12
|
+
* // ...
|
|
13
|
+
* }
|
|
11
14
|
* ```
|
|
12
15
|
*/
|
|
13
|
-
list(options) {
|
|
14
|
-
return this._client.
|
|
16
|
+
list(query = {}, options) {
|
|
17
|
+
return this._client.getAPIList('/v1/rpc_nodes/flex/blockchains', (Cursor), {
|
|
18
|
+
query,
|
|
19
|
+
...options,
|
|
20
|
+
});
|
|
15
21
|
}
|
|
16
22
|
}
|
|
17
23
|
//# sourceMappingURL=blockchains.mjs.map
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"blockchains.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/blockchains.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,MAAM,EAAkC;AAGjD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gCAAgC,EAAE,CAAA,MAA8B,CAAA,EAAE;YAC/F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as Shared from "../../shared.mjs";
|
|
2
3
|
import * as BlockchainsAPI from "./blockchains.mjs";
|
|
3
|
-
import { Blockchains } from "./blockchains.mjs";
|
|
4
|
+
import { BlockchainListParams, Blockchains } from "./blockchains.mjs";
|
|
4
5
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
6
|
+
import { Cursor, type CursorParams, PagePromise } from "../../../core/pagination.mjs";
|
|
5
7
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
6
8
|
export declare class FlexResource extends APIResource {
|
|
7
9
|
blockchains: BlockchainsAPI.Blockchains;
|
|
@@ -32,10 +34,13 @@ export declare class FlexResource extends APIResource {
|
|
|
32
34
|
*
|
|
33
35
|
* @example
|
|
34
36
|
* ```ts
|
|
35
|
-
*
|
|
37
|
+
* // Automatically fetches more pages as needed.
|
|
38
|
+
* for await (const flex of client.rpcNodes.flex.list()) {
|
|
39
|
+
* // ...
|
|
40
|
+
* }
|
|
36
41
|
* ```
|
|
37
42
|
*/
|
|
38
|
-
list(options?: RequestOptions):
|
|
43
|
+
list(query?: FlexListParams | null | undefined, options?: RequestOptions): PagePromise<FlexesCursor, Flex>;
|
|
39
44
|
/**
|
|
40
45
|
* Delete an RPC Node Flex
|
|
41
46
|
*
|
|
@@ -55,6 +60,8 @@ export declare class FlexResource extends APIResource {
|
|
|
55
60
|
*/
|
|
56
61
|
get(nodeID: string, options?: RequestOptions): APIPromise<Flex>;
|
|
57
62
|
}
|
|
63
|
+
export type FlexesCursor = Cursor<Flex>;
|
|
64
|
+
export type FlexBlockchainsCursor = Cursor<FlexBlockchain>;
|
|
58
65
|
/**
|
|
59
66
|
* RPC Node Flex details.
|
|
60
67
|
*/
|
|
@@ -107,9 +114,17 @@ export interface FlexBlockchain {
|
|
|
107
114
|
}
|
|
108
115
|
export interface FlexBlockchainList {
|
|
109
116
|
items: Array<FlexBlockchain>;
|
|
117
|
+
/**
|
|
118
|
+
* Pagination response details.
|
|
119
|
+
*/
|
|
120
|
+
pagination: Shared.Pagination;
|
|
110
121
|
}
|
|
111
122
|
export interface FlexList {
|
|
112
123
|
items: Array<Flex>;
|
|
124
|
+
/**
|
|
125
|
+
* Pagination response details.
|
|
126
|
+
*/
|
|
127
|
+
pagination: Shared.Pagination;
|
|
113
128
|
}
|
|
114
129
|
export interface FlexCreateParams {
|
|
115
130
|
/**
|
|
@@ -139,8 +154,10 @@ export interface FlexUpdateParams {
|
|
|
139
154
|
*/
|
|
140
155
|
tags?: Array<string>;
|
|
141
156
|
}
|
|
157
|
+
export interface FlexListParams extends CursorParams {
|
|
158
|
+
}
|
|
142
159
|
export declare namespace FlexResource {
|
|
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, };
|
|
144
|
-
export { Blockchains as Blockchains };
|
|
160
|
+
export { type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, type FlexesCursor as FlexesCursor, type FlexCreateParams as FlexCreateParams, type FlexUpdateParams as FlexUpdateParams, type FlexListParams as FlexListParams, };
|
|
161
|
+
export { Blockchains as Blockchains, type BlockchainListParams as BlockchainListParams };
|
|
145
162
|
}
|
|
146
163
|
//# 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;
|
|
1
|
+
{"version":3,"file":"flex.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as Shared from "../../shared.js";
|
|
2
3
|
import * as BlockchainsAPI from "./blockchains.js";
|
|
3
|
-
import { Blockchains } from "./blockchains.js";
|
|
4
|
+
import { BlockchainListParams, Blockchains } from "./blockchains.js";
|
|
4
5
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
6
|
+
import { Cursor, type CursorParams, PagePromise } from "../../../core/pagination.js";
|
|
5
7
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
6
8
|
export declare class FlexResource extends APIResource {
|
|
7
9
|
blockchains: BlockchainsAPI.Blockchains;
|
|
@@ -32,10 +34,13 @@ export declare class FlexResource extends APIResource {
|
|
|
32
34
|
*
|
|
33
35
|
* @example
|
|
34
36
|
* ```ts
|
|
35
|
-
*
|
|
37
|
+
* // Automatically fetches more pages as needed.
|
|
38
|
+
* for await (const flex of client.rpcNodes.flex.list()) {
|
|
39
|
+
* // ...
|
|
40
|
+
* }
|
|
36
41
|
* ```
|
|
37
42
|
*/
|
|
38
|
-
list(options?: RequestOptions):
|
|
43
|
+
list(query?: FlexListParams | null | undefined, options?: RequestOptions): PagePromise<FlexesCursor, Flex>;
|
|
39
44
|
/**
|
|
40
45
|
* Delete an RPC Node Flex
|
|
41
46
|
*
|
|
@@ -55,6 +60,8 @@ export declare class FlexResource extends APIResource {
|
|
|
55
60
|
*/
|
|
56
61
|
get(nodeID: string, options?: RequestOptions): APIPromise<Flex>;
|
|
57
62
|
}
|
|
63
|
+
export type FlexesCursor = Cursor<Flex>;
|
|
64
|
+
export type FlexBlockchainsCursor = Cursor<FlexBlockchain>;
|
|
58
65
|
/**
|
|
59
66
|
* RPC Node Flex details.
|
|
60
67
|
*/
|
|
@@ -107,9 +114,17 @@ export interface FlexBlockchain {
|
|
|
107
114
|
}
|
|
108
115
|
export interface FlexBlockchainList {
|
|
109
116
|
items: Array<FlexBlockchain>;
|
|
117
|
+
/**
|
|
118
|
+
* Pagination response details.
|
|
119
|
+
*/
|
|
120
|
+
pagination: Shared.Pagination;
|
|
110
121
|
}
|
|
111
122
|
export interface FlexList {
|
|
112
123
|
items: Array<Flex>;
|
|
124
|
+
/**
|
|
125
|
+
* Pagination response details.
|
|
126
|
+
*/
|
|
127
|
+
pagination: Shared.Pagination;
|
|
113
128
|
}
|
|
114
129
|
export interface FlexCreateParams {
|
|
115
130
|
/**
|
|
@@ -139,8 +154,10 @@ export interface FlexUpdateParams {
|
|
|
139
154
|
*/
|
|
140
155
|
tags?: Array<string>;
|
|
141
156
|
}
|
|
157
|
+
export interface FlexListParams extends CursorParams {
|
|
158
|
+
}
|
|
142
159
|
export declare namespace FlexResource {
|
|
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, };
|
|
144
|
-
export { Blockchains as Blockchains };
|
|
160
|
+
export { type Flex as Flex, type FlexBlockchain as FlexBlockchain, type FlexBlockchainList as FlexBlockchainList, type FlexList as FlexList, type FlexesCursor as FlexesCursor, type FlexCreateParams as FlexCreateParams, type FlexUpdateParams as FlexUpdateParams, type FlexListParams as FlexListParams, };
|
|
161
|
+
export { Blockchains as Blockchains, type BlockchainListParams as BlockchainListParams };
|
|
145
162
|
}
|
|
146
163
|
//# 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;
|
|
1
|
+
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"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"}
|
|
@@ -6,6 +6,7 @@ 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 pagination_1 = require("../../../core/pagination.js");
|
|
9
10
|
const headers_1 = require("../../../internal/headers.js");
|
|
10
11
|
const path_1 = require("../../../internal/utils/path.js");
|
|
11
12
|
class FlexResource extends resource_1.APIResource {
|
|
@@ -44,11 +45,14 @@ class FlexResource extends resource_1.APIResource {
|
|
|
44
45
|
*
|
|
45
46
|
* @example
|
|
46
47
|
* ```ts
|
|
47
|
-
*
|
|
48
|
+
* // Automatically fetches more pages as needed.
|
|
49
|
+
* for await (const flex of client.rpcNodes.flex.list()) {
|
|
50
|
+
* // ...
|
|
51
|
+
* }
|
|
48
52
|
* ```
|
|
49
53
|
*/
|
|
50
|
-
list(options) {
|
|
51
|
-
return this._client.
|
|
54
|
+
list(query = {}, options) {
|
|
55
|
+
return this._client.getAPIList('/v1/rpc_nodes/flex', (pagination_1.Cursor), { query, ...options });
|
|
52
56
|
}
|
|
53
57
|
/**
|
|
54
58
|
* Delete an RPC Node Flex
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"flex.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,yEAAgD;AAChD,kDAAkE;AAElE,4DAAkF;AAClF,0DAAyD;AAEzD,0DAAoD;AAEpD,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0EzF,CAAC;IAxEC;;;;;;;;;;;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;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,mBAAY,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,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;AA3ED,oCA2EC;AAwHD,YAAY,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
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 { Cursor } from "../../../core/pagination.mjs";
|
|
5
6
|
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
6
7
|
import { path } from "../../../internal/utils/path.mjs";
|
|
7
8
|
export class FlexResource extends APIResource {
|
|
@@ -40,11 +41,14 @@ export class FlexResource extends APIResource {
|
|
|
40
41
|
*
|
|
41
42
|
* @example
|
|
42
43
|
* ```ts
|
|
43
|
-
*
|
|
44
|
+
* // Automatically fetches more pages as needed.
|
|
45
|
+
* for await (const flex of client.rpcNodes.flex.list()) {
|
|
46
|
+
* // ...
|
|
47
|
+
* }
|
|
44
48
|
* ```
|
|
45
49
|
*/
|
|
46
|
-
list(options) {
|
|
47
|
-
return this._client.
|
|
50
|
+
list(query = {}, options) {
|
|
51
|
+
return this._client.getAPIList('/v1/rpc_nodes/flex', (Cursor), { query, ...options });
|
|
48
52
|
}
|
|
49
53
|
/**
|
|
50
54
|
* Delete an RPC Node Flex
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"flex.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,cAAc;OACnB,EAAwB,WAAW,EAAE;OAErC,EAAE,MAAM,EAAkC;OAC1C,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;IA0EzF,CAAC;IAxEC;;;;;;;;;;;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;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA2C,EAAE,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,MAAY,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,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;AAwHD,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Blockchains } from "./blockchains.mjs";
|
|
2
|
-
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, } from "./flex.mjs";
|
|
1
|
+
export { Blockchains, type BlockchainListParams } from "./blockchains.mjs";
|
|
2
|
+
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, type FlexListParams, type FlexBlockchainsCursor, type FlexesCursor, } 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;
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,KAAK,oBAAoB,EAAE;OAC1C,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,GAClB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { Blockchains } from "./blockchains.js";
|
|
2
|
-
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, } from "./flex.js";
|
|
1
|
+
export { Blockchains, type BlockchainListParams } from "./blockchains.js";
|
|
2
|
+
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, type FlexListParams, type FlexBlockchainsCursor, type FlexesCursor, } 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;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE,KAAK,oBAAoB,EAAE;OAC1C,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,GAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAAuE;AAA9D,0GAAA,WAAW,OAAA;AACpB,kCAWgB;AAVd,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,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAA6B;OAC1C,EACL,YAAY,GAUb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
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, type FlexCreateParams, type FlexUpdateParams, } from "./flex/index.mjs";
|
|
1
|
+
export { DedicatedResource, type Dedicated, type DedicatedBlockchain, type DedicatedBlockchainList, type DedicatedList, type DedicatedListParams, type DedicatedBlockchainsCursor, type DedicatedsCursor, } from "./dedicated/index.mjs";
|
|
2
|
+
export { FlexResource, type Flex, type FlexBlockchain, type FlexBlockchainList, type FlexList, type FlexCreateParams, type FlexUpdateParams, type FlexListParams, type FlexBlockchainsCursor, type FlexesCursor, } 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,
|
|
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,EAClB,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB;OACM,EACL,YAAY,EACZ,KAAK,IAAI,EACT,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,GAClB;OACM,EAAE,QAAQ,EAAE"}
|