@nirvana-labs/nirvana 1.91.1 → 1.91.2
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 +7 -0
- package/bin/migration-config.json +47 -47
- package/package.json +1 -1
- package/resources/api-keys/api-keys.d.mts +12 -12
- package/resources/api-keys/api-keys.d.mts.map +1 -1
- package/resources/api-keys/api-keys.d.ts +12 -12
- package/resources/api-keys/api-keys.d.ts.map +1 -1
- package/resources/api-keys/api-keys.js +15 -15
- package/resources/api-keys/api-keys.js.map +1 -1
- package/resources/api-keys/api-keys.mjs +15 -15
- package/resources/api-keys/api-keys.mjs.map +1 -1
- package/resources/audit-logs/audit-logs.d.mts +4 -4
- package/resources/audit-logs/audit-logs.d.mts.map +1 -1
- package/resources/audit-logs/audit-logs.d.ts +4 -4
- package/resources/audit-logs/audit-logs.d.ts.map +1 -1
- package/resources/audit-logs/audit-logs.js +6 -6
- package/resources/audit-logs/audit-logs.js.map +1 -1
- package/resources/audit-logs/audit-logs.mjs +6 -6
- package/resources/audit-logs/audit-logs.mjs.map +1 -1
- package/resources/compute/vms/vms.d.mts +14 -14
- package/resources/compute/vms/vms.d.mts.map +1 -1
- package/resources/compute/vms/vms.d.ts +14 -14
- package/resources/compute/vms/vms.d.ts.map +1 -1
- package/resources/compute/vms/vms.js +17 -17
- package/resources/compute/vms/vms.js.map +1 -1
- package/resources/compute/vms/vms.mjs +17 -17
- package/resources/compute/vms/vms.mjs.map +1 -1
- package/resources/compute/volumes/volumes.d.mts +22 -22
- package/resources/compute/volumes/volumes.d.mts.map +1 -1
- package/resources/compute/volumes/volumes.d.ts +22 -22
- package/resources/compute/volumes/volumes.d.ts.map +1 -1
- package/resources/compute/volumes/volumes.js +26 -26
- package/resources/compute/volumes/volumes.js.map +1 -1
- package/resources/compute/volumes/volumes.mjs +26 -26
- package/resources/compute/volumes/volumes.mjs.map +1 -1
- package/resources/instance-types/instance-types.d.mts +15 -15
- package/resources/instance-types/instance-types.d.mts.map +1 -1
- package/resources/instance-types/instance-types.d.ts +15 -15
- package/resources/instance-types/instance-types.d.ts.map +1 -1
- package/resources/instance-types/instance-types.js +14 -14
- package/resources/instance-types/instance-types.js.map +1 -1
- package/resources/instance-types/instance-types.mjs +14 -14
- package/resources/instance-types/instance-types.mjs.map +1 -1
- package/resources/networking/connect/connections.d.mts +18 -18
- package/resources/networking/connect/connections.d.mts.map +1 -1
- package/resources/networking/connect/connections.d.ts +18 -18
- package/resources/networking/connect/connections.d.ts.map +1 -1
- package/resources/networking/connect/connections.js +21 -21
- package/resources/networking/connect/connections.js.map +1 -1
- package/resources/networking/connect/connections.mjs +21 -21
- package/resources/networking/connect/connections.mjs.map +1 -1
- package/resources/networking/firewall-rules.d.mts +27 -27
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +27 -27
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/networking/firewall-rules.js +28 -28
- package/resources/networking/firewall-rules.js.map +1 -1
- package/resources/networking/firewall-rules.mjs +28 -28
- package/resources/networking/firewall-rules.mjs.map +1 -1
- package/resources/networking/index.d.mts +1 -1
- package/resources/networking/index.d.mts.map +1 -1
- package/resources/networking/index.d.ts +1 -1
- package/resources/networking/index.d.ts.map +1 -1
- package/resources/networking/networking.d.mts +1 -1
- package/resources/networking/networking.d.mts.map +1 -1
- package/resources/networking/networking.d.ts +1 -1
- package/resources/networking/networking.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.mts +16 -16
- package/resources/networking/vpcs/vpcs.d.mts.map +1 -1
- package/resources/networking/vpcs/vpcs.d.ts +16 -16
- package/resources/networking/vpcs/vpcs.d.ts.map +1 -1
- package/resources/networking/vpcs/vpcs.js +19 -19
- package/resources/networking/vpcs/vpcs.js.map +1 -1
- package/resources/networking/vpcs/vpcs.mjs +19 -19
- package/resources/networking/vpcs/vpcs.mjs.map +1 -1
- package/resources/nks/clusters/clusters.d.mts +20 -20
- package/resources/nks/clusters/clusters.d.mts.map +1 -1
- package/resources/nks/clusters/clusters.d.ts +20 -20
- package/resources/nks/clusters/clusters.d.ts.map +1 -1
- package/resources/nks/clusters/clusters.js +19 -19
- package/resources/nks/clusters/clusters.js.map +1 -1
- package/resources/nks/clusters/clusters.mjs +19 -19
- package/resources/nks/clusters/clusters.mjs.map +1 -1
- package/resources/nks/clusters/controllers/controllers.d.mts +17 -17
- package/resources/nks/clusters/controllers/controllers.d.mts.map +1 -1
- package/resources/nks/clusters/controllers/controllers.d.ts +17 -17
- package/resources/nks/clusters/controllers/controllers.d.ts.map +1 -1
- package/resources/nks/clusters/controllers/controllers.js +16 -16
- package/resources/nks/clusters/controllers/controllers.js.map +1 -1
- package/resources/nks/clusters/controllers/controllers.mjs +16 -16
- package/resources/nks/clusters/controllers/controllers.mjs.map +1 -1
- package/resources/nks/clusters/controllers/index.d.mts +2 -2
- package/resources/nks/clusters/controllers/index.d.mts.map +1 -1
- package/resources/nks/clusters/controllers/index.d.ts +2 -2
- package/resources/nks/clusters/controllers/index.d.ts.map +1 -1
- package/resources/nks/clusters/controllers/volumes.d.mts +22 -22
- package/resources/nks/clusters/controllers/volumes.d.mts.map +1 -1
- package/resources/nks/clusters/controllers/volumes.d.ts +22 -22
- package/resources/nks/clusters/controllers/volumes.d.ts.map +1 -1
- package/resources/nks/clusters/controllers/volumes.js +18 -18
- package/resources/nks/clusters/controllers/volumes.js.map +1 -1
- package/resources/nks/clusters/controllers/volumes.mjs +18 -18
- package/resources/nks/clusters/controllers/volumes.mjs.map +1 -1
- package/resources/nks/clusters/index.d.mts +4 -4
- package/resources/nks/clusters/index.d.mts.map +1 -1
- package/resources/nks/clusters/index.d.ts +4 -4
- package/resources/nks/clusters/index.d.ts.map +1 -1
- package/resources/nks/clusters/load-balancers.d.mts +20 -20
- package/resources/nks/clusters/load-balancers.d.mts.map +1 -1
- package/resources/nks/clusters/load-balancers.d.ts +20 -20
- package/resources/nks/clusters/load-balancers.d.ts.map +1 -1
- package/resources/nks/clusters/load-balancers.js +16 -16
- package/resources/nks/clusters/load-balancers.js.map +1 -1
- package/resources/nks/clusters/load-balancers.mjs +16 -16
- package/resources/nks/clusters/load-balancers.mjs.map +1 -1
- package/resources/nks/clusters/persistent-volume-claims.d.mts +16 -16
- package/resources/nks/clusters/persistent-volume-claims.d.mts.map +1 -1
- package/resources/nks/clusters/persistent-volume-claims.d.ts +16 -16
- package/resources/nks/clusters/persistent-volume-claims.d.ts.map +1 -1
- package/resources/nks/clusters/persistent-volume-claims.js +16 -16
- package/resources/nks/clusters/persistent-volume-claims.js.map +1 -1
- package/resources/nks/clusters/persistent-volume-claims.mjs +16 -16
- package/resources/nks/clusters/persistent-volume-claims.mjs.map +1 -1
- package/resources/nks/clusters/pools/index.d.mts +2 -2
- package/resources/nks/clusters/pools/index.d.mts.map +1 -1
- package/resources/nks/clusters/pools/index.d.ts +2 -2
- package/resources/nks/clusters/pools/index.d.ts.map +1 -1
- package/resources/nks/clusters/pools/nodes/index.d.mts +2 -2
- package/resources/nks/clusters/pools/nodes/index.d.mts.map +1 -1
- package/resources/nks/clusters/pools/nodes/index.d.ts +2 -2
- package/resources/nks/clusters/pools/nodes/index.d.ts.map +1 -1
- package/resources/nks/clusters/pools/nodes/nodes.d.mts +25 -25
- package/resources/nks/clusters/pools/nodes/nodes.d.mts.map +1 -1
- package/resources/nks/clusters/pools/nodes/nodes.d.ts +25 -25
- package/resources/nks/clusters/pools/nodes/nodes.d.ts.map +1 -1
- package/resources/nks/clusters/pools/nodes/nodes.js +19 -19
- package/resources/nks/clusters/pools/nodes/nodes.js.map +1 -1
- package/resources/nks/clusters/pools/nodes/nodes.mjs +19 -19
- package/resources/nks/clusters/pools/nodes/nodes.mjs.map +1 -1
- package/resources/nks/clusters/pools/nodes/volumes.d.mts +26 -26
- package/resources/nks/clusters/pools/nodes/volumes.d.mts.map +1 -1
- package/resources/nks/clusters/pools/nodes/volumes.d.ts +26 -26
- package/resources/nks/clusters/pools/nodes/volumes.d.ts.map +1 -1
- package/resources/nks/clusters/pools/nodes/volumes.js +18 -18
- package/resources/nks/clusters/pools/nodes/volumes.js.map +1 -1
- package/resources/nks/clusters/pools/nodes/volumes.mjs +18 -18
- package/resources/nks/clusters/pools/nodes/volumes.mjs.map +1 -1
- package/resources/nks/clusters/pools/pools.d.mts +26 -26
- package/resources/nks/clusters/pools/pools.d.mts.map +1 -1
- package/resources/nks/clusters/pools/pools.d.ts +26 -26
- package/resources/nks/clusters/pools/pools.d.ts.map +1 -1
- package/resources/nks/clusters/pools/pools.js +25 -25
- package/resources/nks/clusters/pools/pools.js.map +1 -1
- package/resources/nks/clusters/pools/pools.mjs +25 -25
- package/resources/nks/clusters/pools/pools.mjs.map +1 -1
- package/resources/operations/operations.d.mts +4 -4
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +4 -4
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.js +6 -6
- package/resources/operations/operations.js.map +1 -1
- package/resources/operations/operations.mjs +6 -6
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/organizations/address.d.mts +8 -8
- package/resources/organizations/address.d.mts.map +1 -1
- package/resources/organizations/address.d.ts +8 -8
- package/resources/organizations/address.d.ts.map +1 -1
- package/resources/organizations/address.js +10 -10
- package/resources/organizations/address.js.map +1 -1
- package/resources/organizations/address.mjs +10 -10
- package/resources/organizations/address.mjs.map +1 -1
- package/resources/organizations/index.d.mts +1 -1
- package/resources/organizations/index.d.mts.map +1 -1
- package/resources/organizations/index.d.ts +1 -1
- package/resources/organizations/index.d.ts.map +1 -1
- package/resources/organizations/memberships.d.mts +16 -16
- package/resources/organizations/memberships.d.mts.map +1 -1
- package/resources/organizations/memberships.d.ts +16 -16
- package/resources/organizations/memberships.d.ts.map +1 -1
- package/resources/organizations/memberships.js +16 -16
- package/resources/organizations/memberships.js.map +1 -1
- package/resources/organizations/memberships.mjs +16 -16
- package/resources/organizations/memberships.mjs.map +1 -1
- package/resources/organizations/organizations.d.mts +12 -12
- package/resources/organizations/organizations.d.mts.map +1 -1
- package/resources/organizations/organizations.d.ts +12 -12
- package/resources/organizations/organizations.d.ts.map +1 -1
- package/resources/organizations/organizations.js +13 -13
- package/resources/organizations/organizations.js.map +1 -1
- package/resources/organizations/organizations.mjs +13 -13
- package/resources/organizations/organizations.mjs.map +1 -1
- package/resources/projects/projects.d.mts +12 -12
- package/resources/projects/projects.d.mts.map +1 -1
- package/resources/projects/projects.d.ts +12 -12
- package/resources/projects/projects.d.ts.map +1 -1
- package/resources/projects/projects.js +15 -15
- package/resources/projects/projects.js.map +1 -1
- package/resources/projects/projects.mjs +15 -15
- package/resources/projects/projects.mjs.map +1 -1
- package/resources/quotas/quotas.d.mts +6 -6
- package/resources/quotas/quotas.d.mts.map +1 -1
- package/resources/quotas/quotas.d.ts +6 -6
- package/resources/quotas/quotas.d.ts.map +1 -1
- package/resources/quotas/quotas.js +8 -8
- package/resources/quotas/quotas.js.map +1 -1
- package/resources/quotas/quotas.mjs +8 -8
- package/resources/quotas/quotas.mjs.map +1 -1
- package/resources/regions/regions.d.mts +9 -9
- package/resources/regions/regions.d.mts.map +1 -1
- package/resources/regions/regions.d.ts +9 -9
- package/resources/regions/regions.d.ts.map +1 -1
- package/resources/regions/regions.js +11 -11
- package/resources/regions/regions.js.map +1 -1
- package/resources/regions/regions.mjs +11 -11
- package/resources/regions/regions.mjs.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +11 -11
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +11 -11
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js +13 -13
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs +13 -13
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +14 -14
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +14 -14
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js +17 -17
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs +17 -17
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/resources/usage/usage.d.mts +12 -12
- package/resources/usage/usage.d.mts.map +1 -1
- package/resources/usage/usage.d.ts +12 -12
- package/resources/usage/usage.d.ts.map +1 -1
- package/resources/usage/usage.js +14 -14
- package/resources/usage/usage.js.map +1 -1
- package/resources/usage/usage.mjs +14 -14
- package/resources/usage/usage.mjs.map +1 -1
- package/resources/user/security.d.mts +4 -4
- package/resources/user/security.d.mts.map +1 -1
- package/resources/user/security.d.ts +4 -4
- package/resources/user/security.d.ts.map +1 -1
- package/resources/user/security.js +6 -6
- package/resources/user/security.js.map +1 -1
- package/resources/user/security.mjs +6 -6
- package/resources/user/security.mjs.map +1 -1
- package/src/resources/api-keys/api-keys.ts +18 -18
- package/src/resources/api-keys/api.md +2 -2
- package/src/resources/audit-logs/api.md +1 -1
- package/src/resources/audit-logs/audit-logs.ts +7 -7
- package/src/resources/compute/api.md +4 -4
- package/src/resources/compute/vms/vms.ts +17 -17
- package/src/resources/compute/volumes/volumes.ts +28 -28
- package/src/resources/instance-types/api.md +1 -1
- package/src/resources/instance-types/instance-types.ts +19 -19
- package/src/resources/networking/api.md +6 -6
- package/src/resources/networking/connect/connections.ts +30 -30
- package/src/resources/networking/firewall-rules.ts +46 -46
- package/src/resources/networking/index.ts +2 -2
- package/src/resources/networking/networking.ts +2 -2
- package/src/resources/networking/vpcs/vpcs.ts +21 -21
- package/src/resources/nks/api.md +11 -11
- package/src/resources/nks/clusters/clusters.ts +28 -28
- package/src/resources/nks/clusters/controllers/controllers.ts +25 -25
- package/src/resources/nks/clusters/controllers/index.ts +2 -2
- package/src/resources/nks/clusters/controllers/volumes.ts +31 -31
- package/src/resources/nks/clusters/index.ts +5 -5
- package/src/resources/nks/clusters/load-balancers.ts +29 -29
- package/src/resources/nks/clusters/persistent-volume-claims.ts +27 -27
- package/src/resources/nks/clusters/pools/index.ts +4 -4
- package/src/resources/nks/clusters/pools/nodes/index.ts +3 -3
- package/src/resources/nks/clusters/pools/nodes/nodes.ts +39 -39
- package/src/resources/nks/clusters/pools/nodes/volumes.ts +36 -36
- package/src/resources/nks/clusters/pools/pools.ts +44 -44
- package/src/resources/operations/api.md +1 -1
- package/src/resources/operations/operations.ts +6 -6
- package/src/resources/organizations/address.ts +13 -13
- package/src/resources/organizations/api.md +3 -3
- package/src/resources/organizations/index.ts +1 -1
- package/src/resources/organizations/memberships.ts +24 -24
- package/src/resources/organizations/organizations.ts +15 -15
- package/src/resources/projects/api.md +2 -2
- package/src/resources/projects/projects.ts +18 -18
- package/src/resources/quotas/api.md +1 -1
- package/src/resources/quotas/quotas.ts +8 -8
- package/src/resources/regions/api.md +1 -1
- package/src/resources/regions/regions.ts +12 -12
- package/src/resources/rpc-nodes/api.md +3 -3
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +14 -14
- package/src/resources/rpc-nodes/flex/flex.ts +17 -17
- package/src/resources/usage/api.md +1 -1
- package/src/resources/usage/usage.ts +15 -15
- package/src/resources/user/api.md +1 -1
- package/src/resources/user/security.ts +6 -6
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.mts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,0BAAsB;AA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AAW,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,UAAU,EAAE,MAAM,CAAC;IAEnB;;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;AAED,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;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,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC1F"}
|
|
@@ -22,28 +22,23 @@ export declare class FlexResource extends APIResource {
|
|
|
22
22
|
*/
|
|
23
23
|
create(body: FlexCreateParams, options?: RequestOptions): APIPromise<Flex>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Get details about an RPC Node Flex
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* ```ts
|
|
29
|
-
* const flex = await client.rpcNodes.flex.
|
|
29
|
+
* const flex = await client.rpcNodes.flex.get('node_id');
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
get(nodeID: string, options?: RequestOptions): APIPromise<Flex>;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Update an existing RPC Node Flex
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* ```ts
|
|
38
|
-
*
|
|
39
|
-
* for await (const flex of client.rpcNodes.flex.list({
|
|
40
|
-
* project_id: 'project_id',
|
|
41
|
-
* })) {
|
|
42
|
-
* // ...
|
|
43
|
-
* }
|
|
38
|
+
* const flex = await client.rpcNodes.flex.update('node_id');
|
|
44
39
|
* ```
|
|
45
40
|
*/
|
|
46
|
-
|
|
41
|
+
update(nodeID: string, body: FlexUpdateParams, options?: RequestOptions): APIPromise<Flex>;
|
|
47
42
|
/**
|
|
48
43
|
* Delete an RPC Node Flex
|
|
49
44
|
*
|
|
@@ -54,14 +49,19 @@ export declare class FlexResource extends APIResource {
|
|
|
54
49
|
*/
|
|
55
50
|
delete(nodeID: string, options?: RequestOptions): APIPromise<void>;
|
|
56
51
|
/**
|
|
57
|
-
*
|
|
52
|
+
* List all RPC Node Flex you created
|
|
58
53
|
*
|
|
59
54
|
* @example
|
|
60
55
|
* ```ts
|
|
61
|
-
*
|
|
56
|
+
* // Automatically fetches more pages as needed.
|
|
57
|
+
* for await (const flex of client.rpcNodes.flex.list({
|
|
58
|
+
* project_id: 'project_id',
|
|
59
|
+
* })) {
|
|
60
|
+
* // ...
|
|
61
|
+
* }
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
list(query: FlexListParams, options?: RequestOptions): PagePromise<FlexesCursor, Flex>;
|
|
65
65
|
}
|
|
66
66
|
export type FlexesCursor = Cursor<Flex>;
|
|
67
67
|
export type FlexBlockchainsCursor = Cursor<FlexBlockchain>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"A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AC;CAC/B;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;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,UAAU,EAAE,MAAM,CAAC;IAEnB;;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;AAED,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;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,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;IAEF,OAAO,EAAE,WAAW,IAAI,WAAW,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CAC1F"}
|
|
@@ -31,31 +31,26 @@ class FlexResource extends resource_1.APIResource {
|
|
|
31
31
|
return this._client.post('/v1/rpc_nodes/flex', { body, ...options });
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Get details about an RPC Node Flex
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* ```ts
|
|
38
|
-
* const flex = await client.rpcNodes.flex.
|
|
38
|
+
* const flex = await client.rpcNodes.flex.get('node_id');
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
|
-
|
|
42
|
-
return this._client.
|
|
41
|
+
get(nodeID, options) {
|
|
42
|
+
return this._client.get((0, path_1.path) `/v1/rpc_nodes/flex/${nodeID}`, options);
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Update an existing RPC Node Flex
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* ```ts
|
|
49
|
-
*
|
|
50
|
-
* for await (const flex of client.rpcNodes.flex.list({
|
|
51
|
-
* project_id: 'project_id',
|
|
52
|
-
* })) {
|
|
53
|
-
* // ...
|
|
54
|
-
* }
|
|
49
|
+
* const flex = await client.rpcNodes.flex.update('node_id');
|
|
55
50
|
* ```
|
|
56
51
|
*/
|
|
57
|
-
|
|
58
|
-
return this._client.
|
|
52
|
+
update(nodeID, body, options) {
|
|
53
|
+
return this._client.patch((0, path_1.path) `/v1/rpc_nodes/flex/${nodeID}`, { body, ...options });
|
|
59
54
|
}
|
|
60
55
|
/**
|
|
61
56
|
* Delete an RPC Node Flex
|
|
@@ -72,15 +67,20 @@ class FlexResource extends resource_1.APIResource {
|
|
|
72
67
|
});
|
|
73
68
|
}
|
|
74
69
|
/**
|
|
75
|
-
*
|
|
70
|
+
* List all RPC Node Flex you created
|
|
76
71
|
*
|
|
77
72
|
* @example
|
|
78
73
|
* ```ts
|
|
79
|
-
*
|
|
74
|
+
* // Automatically fetches more pages as needed.
|
|
75
|
+
* for await (const flex of client.rpcNodes.flex.list({
|
|
76
|
+
* project_id: 'project_id',
|
|
77
|
+
* })) {
|
|
78
|
+
* // ...
|
|
79
|
+
* }
|
|
80
80
|
* ```
|
|
81
81
|
*/
|
|
82
|
-
|
|
83
|
-
return this._client.
|
|
82
|
+
list(query, options) {
|
|
83
|
+
return this._client.getAPIList('/v1/rpc_nodes/flex', (pagination_1.Cursor), { query, ...options });
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
exports.FlexResource = FlexResource;
|
|
@@ -1 +1 @@
|
|
|
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;;;;;;;;;;;;OAYG;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,
|
|
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;;;;;;;;;;;;OAYG;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,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;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,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;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,KAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,mBAAY,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;CACF;AA3ED,oCA2EC;AAuID,YAAY,CAAC,WAAW,GAAG,yBAAW,CAAC"}
|
|
@@ -27,31 +27,26 @@ export class FlexResource extends APIResource {
|
|
|
27
27
|
return this._client.post('/v1/rpc_nodes/flex', { body, ...options });
|
|
28
28
|
}
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Get details about an RPC Node Flex
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* ```ts
|
|
34
|
-
* const flex = await client.rpcNodes.flex.
|
|
34
|
+
* const flex = await client.rpcNodes.flex.get('node_id');
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
|
-
|
|
38
|
-
return this._client.
|
|
37
|
+
get(nodeID, options) {
|
|
38
|
+
return this._client.get(path `/v1/rpc_nodes/flex/${nodeID}`, options);
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Update an existing RPC Node Flex
|
|
42
42
|
*
|
|
43
43
|
* @example
|
|
44
44
|
* ```ts
|
|
45
|
-
*
|
|
46
|
-
* for await (const flex of client.rpcNodes.flex.list({
|
|
47
|
-
* project_id: 'project_id',
|
|
48
|
-
* })) {
|
|
49
|
-
* // ...
|
|
50
|
-
* }
|
|
45
|
+
* const flex = await client.rpcNodes.flex.update('node_id');
|
|
51
46
|
* ```
|
|
52
47
|
*/
|
|
53
|
-
|
|
54
|
-
return this._client.
|
|
48
|
+
update(nodeID, body, options) {
|
|
49
|
+
return this._client.patch(path `/v1/rpc_nodes/flex/${nodeID}`, { body, ...options });
|
|
55
50
|
}
|
|
56
51
|
/**
|
|
57
52
|
* Delete an RPC Node Flex
|
|
@@ -68,15 +63,20 @@ export class FlexResource extends APIResource {
|
|
|
68
63
|
});
|
|
69
64
|
}
|
|
70
65
|
/**
|
|
71
|
-
*
|
|
66
|
+
* List all RPC Node Flex you created
|
|
72
67
|
*
|
|
73
68
|
* @example
|
|
74
69
|
* ```ts
|
|
75
|
-
*
|
|
70
|
+
* // Automatically fetches more pages as needed.
|
|
71
|
+
* for await (const flex of client.rpcNodes.flex.list({
|
|
72
|
+
* project_id: 'project_id',
|
|
73
|
+
* })) {
|
|
74
|
+
* // ...
|
|
75
|
+
* }
|
|
76
76
|
* ```
|
|
77
77
|
*/
|
|
78
|
-
|
|
79
|
-
return this._client.
|
|
78
|
+
list(query, options) {
|
|
79
|
+
return this._client.getAPIList('/v1/rpc_nodes/flex', (Cursor), { query, ...options });
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
FlexResource.Blockchains = Blockchains;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flex.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAAwB,WAAW,EAAE,0BAAsB;AAElE,OAAO,EAAE,MAAM,EAAkC,qCAAiC;AAClF,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0EzF,CAAC;IAxEC;;;;;;;;;;;;OAYG;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,
|
|
1
|
+
{"version":3,"file":"flex.mjs","sourceRoot":"","sources":["../../../src/resources/rpc-nodes/flex/flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAErD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EAAwB,WAAW,EAAE,0BAAsB;AAElE,OAAO,EAAE,MAAM,EAAkC,qCAAiC;AAClF,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0EzF,CAAC;IAxEC;;;;;;;;;;;;OAYG;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,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,MAAM,EAAE,EAAE,OAAO,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,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;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,KAAqB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,MAAY,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;CACF;AAuID,YAAY,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -4,6 +4,18 @@ import { APIPromise } from "../../core/api-promise.mjs";
|
|
|
4
4
|
import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.mjs";
|
|
5
5
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
6
6
|
export declare class UsageResource extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get the usage record for a single resource (metadata plus dimension history) for
|
|
9
|
+
* the current organization.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const usage = await client.usage.get(
|
|
14
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
15
|
+
* );
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
get(resourceID: string, options?: RequestOptions): APIPromise<Usage>;
|
|
7
19
|
/**
|
|
8
20
|
* List per-resource usage records for the current organization. Each item is one
|
|
9
21
|
* resource with its nested dimension history (active and closed segments).
|
|
@@ -17,18 +29,6 @@ export declare class UsageResource extends APIResource {
|
|
|
17
29
|
* ```
|
|
18
30
|
*/
|
|
19
31
|
list(query?: UsageListParams | null | undefined, options?: RequestOptions): PagePromise<UsagesCursor, Usage>;
|
|
20
|
-
/**
|
|
21
|
-
* Get the usage record for a single resource (metadata plus dimension history) for
|
|
22
|
-
* the current organization.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts
|
|
26
|
-
* const usage = await client.usage.get(
|
|
27
|
-
* '123e4567-e89b-12d3-a456-426614174000',
|
|
28
|
-
* );
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
get(resourceID: string, options?: RequestOptions): APIPromise<Usage>;
|
|
32
32
|
}
|
|
33
33
|
export type UsagesCursor = Cursor<Usage>;
|
|
34
34
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.d.mts","sourceRoot":"","sources":["../../src/resources/usage/usage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,kCAA8B;AAC/E,OA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E,MAAM,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IAEX,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,IAAI,GACJ,QAAQ,GACR,KAAK,GACL,oBAAoB,GACpB,aAAa,GACb,eAAe,GACf,mBAAmB,CAAC;AAExB,MAAM,WAAW,eAAgB,SAAQ,YAAY;CAAG;AAExD,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -4,6 +4,18 @@ import { APIPromise } from "../../core/api-promise.js";
|
|
|
4
4
|
import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.js";
|
|
5
5
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
6
6
|
export declare class UsageResource extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get the usage record for a single resource (metadata plus dimension history) for
|
|
9
|
+
* the current organization.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const usage = await client.usage.get(
|
|
14
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
15
|
+
* );
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
get(resourceID: string, options?: RequestOptions): APIPromise<Usage>;
|
|
7
19
|
/**
|
|
8
20
|
* List per-resource usage records for the current organization. Each item is one
|
|
9
21
|
* resource with its nested dimension history (active and closed segments).
|
|
@@ -17,18 +29,6 @@ export declare class UsageResource extends APIResource {
|
|
|
17
29
|
* ```
|
|
18
30
|
*/
|
|
19
31
|
list(query?: UsageListParams | null | undefined, options?: RequestOptions): PagePromise<UsagesCursor, Usage>;
|
|
20
|
-
/**
|
|
21
|
-
* Get the usage record for a single resource (metadata plus dimension history) for
|
|
22
|
-
* the current organization.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts
|
|
26
|
-
* const usage = await client.usage.get(
|
|
27
|
-
* '123e4567-e89b-12d3-a456-426614174000',
|
|
28
|
-
* );
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
get(resourceID: string, options?: RequestOptions): APIPromise<Usage>;
|
|
32
32
|
}
|
|
33
33
|
export type UsagesCursor = Cursor<Usage>;
|
|
34
34
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../src/resources/usage/usage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,iCAA8B;AAC/E,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../src/resources/usage/usage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WA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AC;IAEX,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,UAAU,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GACzB,IAAI,GACJ,QAAQ,GACR,KAAK,GACL,oBAAoB,GACpB,aAAa,GACb,eAAe,GACf,mBAAmB,CAAC;AAExB,MAAM,WAAW,eAAgB,SAAQ,YAAY;CAAG;AAExD,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EACL,KAAK,KAAK,IAAI,KAAK,EACnB,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
package/resources/usage/usage.js
CHANGED
|
@@ -6,6 +6,20 @@ const resource_1 = require("../../core/resource.js");
|
|
|
6
6
|
const pagination_1 = require("../../core/pagination.js");
|
|
7
7
|
const path_1 = require("../../internal/utils/path.js");
|
|
8
8
|
class UsageResource extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get the usage record for a single resource (metadata plus dimension history) for
|
|
11
|
+
* the current organization.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const usage = await client.usage.get(
|
|
16
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
get(resourceID, options) {
|
|
21
|
+
return this._client.get((0, path_1.path) `/v1/usage/${resourceID}`, options);
|
|
22
|
+
}
|
|
9
23
|
/**
|
|
10
24
|
* List per-resource usage records for the current organization. Each item is one
|
|
11
25
|
* resource with its nested dimension history (active and closed segments).
|
|
@@ -21,20 +35,6 @@ class UsageResource extends resource_1.APIResource {
|
|
|
21
35
|
list(query = {}, options) {
|
|
22
36
|
return this._client.getAPIList('/v1/usage', (pagination_1.Cursor), { query, ...options });
|
|
23
37
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Get the usage record for a single resource (metadata plus dimension history) for
|
|
26
|
-
* the current organization.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* const usage = await client.usage.get(
|
|
31
|
-
* '123e4567-e89b-12d3-a456-426614174000',
|
|
32
|
-
* );
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
get(resourceID, options) {
|
|
36
|
-
return this._client.get((0, path_1.path) `/v1/usage/${resourceID}`, options);
|
|
37
|
-
}
|
|
38
38
|
}
|
|
39
39
|
exports.UsageResource = UsageResource;
|
|
40
40
|
//# sourceMappingURL=usage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../src/resources/usage/usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAA+E;AAE/E,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"usage.js","sourceRoot":"","sources":["../../src/resources/usage/usage.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAA+E;AAE/E,uDAAiD;AAEjD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;OAUG;IACH,GAAG,CAAC,UAAkB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,mBAAa,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF;AAlCD,sCAkCC"}
|
|
@@ -3,6 +3,20 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
3
3
|
import { Cursor } from "../../core/pagination.mjs";
|
|
4
4
|
import { path } from "../../internal/utils/path.mjs";
|
|
5
5
|
export class UsageResource extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get the usage record for a single resource (metadata plus dimension history) for
|
|
8
|
+
* the current organization.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const usage = await client.usage.get(
|
|
13
|
+
* '123e4567-e89b-12d3-a456-426614174000',
|
|
14
|
+
* );
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
get(resourceID, options) {
|
|
18
|
+
return this._client.get(path `/v1/usage/${resourceID}`, options);
|
|
19
|
+
}
|
|
6
20
|
/**
|
|
7
21
|
* List per-resource usage records for the current organization. Each item is one
|
|
8
22
|
* resource with its nested dimension history (active and closed segments).
|
|
@@ -18,19 +32,5 @@ export class UsageResource extends APIResource {
|
|
|
18
32
|
list(query = {}, options) {
|
|
19
33
|
return this._client.getAPIList('/v1/usage', (Cursor), { query, ...options });
|
|
20
34
|
}
|
|
21
|
-
/**
|
|
22
|
-
* Get the usage record for a single resource (metadata plus dimension history) for
|
|
23
|
-
* the current organization.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```ts
|
|
27
|
-
* const usage = await client.usage.get(
|
|
28
|
-
* '123e4567-e89b-12d3-a456-426614174000',
|
|
29
|
-
* );
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
get(resourceID, options) {
|
|
33
|
-
return this._client.get(path `/v1/usage/${resourceID}`, options);
|
|
34
|
-
}
|
|
35
35
|
}
|
|
36
36
|
//# sourceMappingURL=usage.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.mjs","sourceRoot":"","sources":["../../src/resources/usage/usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,MAAM,EAAkC,kCAA8B;AAE/E,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C
|
|
1
|
+
{"version":3,"file":"usage.mjs","sourceRoot":"","sources":["../../src/resources/usage/usage.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,MAAM,EAAkC,kCAA8B;AAE/E,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;OAUG;IACH,GAAG,CAAC,UAAkB,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,CAAA,MAAa,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF"}
|
|
@@ -3,14 +3,14 @@ import * as Shared from "../shared.mjs";
|
|
|
3
3
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
4
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
5
|
export declare class Security extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Update the current user's security settings
|
|
8
|
-
*/
|
|
9
|
-
update(body: SecurityUpdateParams, options?: RequestOptions): APIPromise<UserSecurity>;
|
|
10
6
|
/**
|
|
11
7
|
* Get the current user's security settings
|
|
12
8
|
*/
|
|
13
9
|
get(options?: RequestOptions): APIPromise<UserSecurity>;
|
|
10
|
+
/**
|
|
11
|
+
* Update the current user's security settings
|
|
12
|
+
*/
|
|
13
|
+
update(body: SecurityUpdateParams, options?: RequestOptions): APIPromise<UserSecurity>;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* User security settings response.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.d.mts","sourceRoot":"","sources":["../../src/resources/user/security.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"security.d.mts","sourceRoot":"","sources":["../../src/resources/user/security.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,sBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAIvD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;CAGvF;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAE5C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,YAAY,IAAI,YAAY,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CACjG"}
|
|
@@ -3,14 +3,14 @@ import * as Shared from "../shared.js";
|
|
|
3
3
|
import { APIPromise } from "../../core/api-promise.js";
|
|
4
4
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
5
|
export declare class Security extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* Update the current user's security settings
|
|
8
|
-
*/
|
|
9
|
-
update(body: SecurityUpdateParams, options?: RequestOptions): APIPromise<UserSecurity>;
|
|
10
6
|
/**
|
|
11
7
|
* Get the current user's security settings
|
|
12
8
|
*/
|
|
13
9
|
get(options?: RequestOptions): APIPromise<UserSecurity>;
|
|
10
|
+
/**
|
|
11
|
+
* Update the current user's security settings
|
|
12
|
+
*/
|
|
13
|
+
update(body: SecurityUpdateParams, options?: RequestOptions): APIPromise<UserSecurity>;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
16
|
* User security settings response.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/resources/user/security.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/resources/user/security.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,qBAAkB;AACpC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;IAIvD;;OAEG;IACH,MAAM,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,YAAY,CAAC;CAGvF;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC,oBAAoB,CAAC;IAE5C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,YAAY,IAAI,YAAY,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;CACjG"}
|
|
@@ -4,18 +4,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Security = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
6
|
class Security extends resource_1.APIResource {
|
|
7
|
-
/**
|
|
8
|
-
* Update the current user's security settings
|
|
9
|
-
*/
|
|
10
|
-
update(body, options) {
|
|
11
|
-
return this._client.patch('/v1/user/security', { body, ...options });
|
|
12
|
-
}
|
|
13
7
|
/**
|
|
14
8
|
* Get the current user's security settings
|
|
15
9
|
*/
|
|
16
10
|
get(options) {
|
|
17
11
|
return this._client.get('/v1/user/security', options);
|
|
18
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Update the current user's security settings
|
|
15
|
+
*/
|
|
16
|
+
update(body, options) {
|
|
17
|
+
return this._client.patch('/v1/user/security', { body, ...options });
|
|
18
|
+
}
|
|
19
19
|
}
|
|
20
20
|
exports.Security = Security;
|
|
21
21
|
//# sourceMappingURL=security.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.js","sourceRoot":"","sources":["../../src/resources/user/security.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"security.js","sourceRoot":"","sources":["../../src/resources/user/security.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,GAAG,CAAC,OAAwB;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF;AAdD,4BAcC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
3
|
export class Security extends APIResource {
|
|
4
|
-
/**
|
|
5
|
-
* Update the current user's security settings
|
|
6
|
-
*/
|
|
7
|
-
update(body, options) {
|
|
8
|
-
return this._client.patch('/v1/user/security', { body, ...options });
|
|
9
|
-
}
|
|
10
4
|
/**
|
|
11
5
|
* Get the current user's security settings
|
|
12
6
|
*/
|
|
13
7
|
get(options) {
|
|
14
8
|
return this._client.get('/v1/user/security', options);
|
|
15
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Update the current user's security settings
|
|
12
|
+
*/
|
|
13
|
+
update(body, options) {
|
|
14
|
+
return this._client.patch('/v1/user/security', { body, ...options });
|
|
15
|
+
}
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=security.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"security.mjs","sourceRoot":"","sources":["../../src/resources/user/security.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAKlD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"security.mjs","sourceRoot":"","sources":["../../src/resources/user/security.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAKlD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,GAAG,CAAC,OAAwB;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,IAA0B,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF"}
|
|
@@ -33,33 +33,27 @@ export class APIKeys extends APIResource {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Get details about an API key
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* ```ts
|
|
40
|
-
* const apiKey = await client.apiKeys.
|
|
40
|
+
* const apiKey = await client.apiKeys.get('api_key_id');
|
|
41
41
|
* ```
|
|
42
42
|
*/
|
|
43
|
-
|
|
44
|
-
return this._client.
|
|
43
|
+
get(apiKeyID: string, options?: RequestOptions): APIPromise<APIKey> {
|
|
44
|
+
return this._client.get(path`/v1/api_keys/${apiKeyID}`, options);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Update an existing API key
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* ```ts
|
|
52
|
-
*
|
|
53
|
-
* for await (const apiKey of client.apiKeys.list()) {
|
|
54
|
-
* // ...
|
|
55
|
-
* }
|
|
52
|
+
* const apiKey = await client.apiKeys.update('api_key_id');
|
|
56
53
|
* ```
|
|
57
54
|
*/
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
options?: RequestOptions,
|
|
61
|
-
): PagePromise<APIKeysCursor, APIKey> {
|
|
62
|
-
return this._client.getAPIList('/v1/api_keys', Cursor<APIKey>, { query, ...options });
|
|
55
|
+
update(apiKeyID: string, body: APIKeyUpdateParams, options?: RequestOptions): APIPromise<APIKey> {
|
|
56
|
+
return this._client.patch(path`/v1/api_keys/${apiKeyID}`, { body, ...options });
|
|
63
57
|
}
|
|
64
58
|
|
|
65
59
|
/**
|
|
@@ -78,15 +72,21 @@ export class APIKeys extends APIResource {
|
|
|
78
72
|
}
|
|
79
73
|
|
|
80
74
|
/**
|
|
81
|
-
*
|
|
75
|
+
* List all API keys
|
|
82
76
|
*
|
|
83
77
|
* @example
|
|
84
78
|
* ```ts
|
|
85
|
-
*
|
|
79
|
+
* // Automatically fetches more pages as needed.
|
|
80
|
+
* for await (const apiKey of client.apiKeys.list()) {
|
|
81
|
+
* // ...
|
|
82
|
+
* }
|
|
86
83
|
* ```
|
|
87
84
|
*/
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
list(
|
|
86
|
+
query: APIKeyListParams | null | undefined = {},
|
|
87
|
+
options?: RequestOptions,
|
|
88
|
+
): PagePromise<APIKeysCursor, APIKey> {
|
|
89
|
+
return this._client.getAPIList('/v1/api_keys', Cursor<APIKey>, { query, ...options });
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
|