@nirvana-labs/nirvana 1.8.4 → 1.10.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 +18 -0
- package/bin/migration-config.json +70 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/connect/connect.d.mts +10 -0
- package/resources/connect/connect.d.mts.map +1 -0
- package/resources/connect/connect.d.ts +10 -0
- package/resources/connect/connect.d.ts.map +1 -0
- package/resources/connect/connect.js +17 -0
- package/resources/connect/connect.js.map +1 -0
- package/resources/connect/connect.mjs +12 -0
- package/resources/connect/connect.mjs.map +1 -0
- package/resources/connect/flux.d.mts +70 -0
- package/resources/connect/flux.d.mts.map +1 -0
- package/resources/connect/flux.d.ts +70 -0
- package/resources/connect/flux.d.ts.map +1 -0
- package/resources/connect/flux.js +22 -0
- package/resources/connect/flux.js.map +1 -0
- package/resources/connect/flux.mjs +18 -0
- package/resources/connect/flux.mjs.map +1 -0
- package/resources/connect/index.d.mts +3 -0
- package/resources/connect/index.d.mts.map +1 -0
- package/resources/connect/index.d.ts +3 -0
- package/resources/connect/index.d.ts.map +1 -0
- package/resources/connect/index.js +9 -0
- package/resources/connect/index.js.map +1 -0
- package/resources/connect/index.mjs +4 -0
- package/resources/connect/index.mjs.map +1 -0
- package/resources/connect.d.mts +2 -0
- package/resources/connect.d.mts.map +1 -0
- package/resources/connect.d.ts +2 -0
- package/resources/connect.d.ts.map +1 -0
- package/resources/connect.js +6 -0
- package/resources/connect.js.map +1 -0
- package/resources/connect.mjs +3 -0
- package/resources/connect.mjs.map +1 -0
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/networking/firewall-rules.d.mts +1 -1
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +1 -1
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/vektor/balances.d.mts +114 -0
- package/resources/vektor/balances.d.mts.map +1 -0
- package/resources/vektor/balances.d.ts +114 -0
- package/resources/vektor/balances.d.ts.map +1 -0
- package/resources/vektor/balances.js +44 -0
- package/resources/vektor/balances.js.map +1 -0
- package/resources/vektor/balances.mjs +40 -0
- package/resources/vektor/balances.mjs.map +1 -0
- package/resources/vektor/borrow/accounts.d.mts +114 -0
- package/resources/vektor/borrow/accounts.d.mts.map +1 -0
- package/resources/vektor/borrow/accounts.d.ts +114 -0
- package/resources/vektor/borrow/accounts.d.ts.map +1 -0
- package/resources/vektor/borrow/accounts.js +44 -0
- package/resources/vektor/borrow/accounts.js.map +1 -0
- package/resources/vektor/borrow/accounts.mjs +40 -0
- package/resources/vektor/borrow/accounts.mjs.map +1 -0
- package/resources/vektor/borrow/borrow.d.mts +18 -0
- package/resources/vektor/borrow/borrow.d.mts.map +1 -0
- package/resources/vektor/borrow/borrow.d.ts +18 -0
- package/resources/vektor/borrow/borrow.d.ts.map +1 -0
- package/resources/vektor/borrow/borrow.js +25 -0
- package/resources/vektor/borrow/borrow.js.map +1 -0
- package/resources/vektor/borrow/borrow.mjs +20 -0
- package/resources/vektor/borrow/borrow.mjs.map +1 -0
- package/resources/vektor/borrow/index.d.mts +5 -0
- package/resources/vektor/borrow/index.d.mts.map +1 -0
- package/resources/vektor/borrow/index.d.ts +5 -0
- package/resources/vektor/borrow/index.d.ts.map +1 -0
- package/resources/vektor/borrow/index.js +13 -0
- package/resources/vektor/borrow/index.js.map +1 -0
- package/resources/vektor/borrow/index.mjs +6 -0
- package/resources/vektor/borrow/index.mjs.map +1 -0
- package/resources/vektor/borrow/markets.d.mts +158 -0
- package/resources/vektor/borrow/markets.d.mts.map +1 -0
- package/resources/vektor/borrow/markets.d.ts +158 -0
- package/resources/vektor/borrow/markets.d.ts.map +1 -0
- package/resources/vektor/borrow/markets.js +42 -0
- package/resources/vektor/borrow/markets.js.map +1 -0
- package/resources/vektor/borrow/markets.mjs +38 -0
- package/resources/vektor/borrow/markets.mjs.map +1 -0
- package/resources/vektor/borrow/positions.d.mts +182 -0
- package/resources/vektor/borrow/positions.d.mts.map +1 -0
- package/resources/vektor/borrow/positions.d.ts +182 -0
- package/resources/vektor/borrow/positions.d.ts.map +1 -0
- package/resources/vektor/borrow/positions.js +50 -0
- package/resources/vektor/borrow/positions.js.map +1 -0
- package/resources/vektor/borrow/positions.mjs +46 -0
- package/resources/vektor/borrow/positions.mjs.map +1 -0
- package/resources/vektor/borrow.d.mts +2 -0
- package/resources/vektor/borrow.d.mts.map +1 -0
- package/resources/vektor/borrow.d.ts +2 -0
- package/resources/vektor/borrow.d.ts.map +1 -0
- package/resources/vektor/borrow.js +6 -0
- package/resources/vektor/borrow.js.map +1 -0
- package/resources/vektor/borrow.mjs +3 -0
- package/resources/vektor/borrow.mjs.map +1 -0
- package/resources/vektor/bridge/bridge.d.mts +10 -0
- package/resources/vektor/bridge/bridge.d.mts.map +1 -0
- package/resources/vektor/bridge/bridge.d.ts +10 -0
- package/resources/vektor/bridge/bridge.d.ts.map +1 -0
- package/resources/vektor/bridge/bridge.js +17 -0
- package/resources/vektor/bridge/bridge.js.map +1 -0
- package/resources/vektor/bridge/bridge.mjs +12 -0
- package/resources/vektor/bridge/bridge.mjs.map +1 -0
- package/resources/vektor/bridge/index.d.mts +3 -0
- package/resources/vektor/bridge/index.d.mts.map +1 -0
- package/resources/vektor/bridge/index.d.ts +3 -0
- package/resources/vektor/bridge/index.d.ts.map +1 -0
- package/resources/vektor/bridge/index.js +9 -0
- package/resources/vektor/bridge/index.js.map +1 -0
- package/resources/vektor/bridge/index.mjs +4 -0
- package/resources/vektor/bridge/index.mjs.map +1 -0
- package/resources/vektor/bridge/quotes.d.mts +57 -0
- package/resources/vektor/bridge/quotes.d.mts.map +1 -0
- package/resources/vektor/bridge/quotes.d.ts +57 -0
- package/resources/vektor/bridge/quotes.d.ts.map +1 -0
- package/resources/vektor/bridge/quotes.js +26 -0
- package/resources/vektor/bridge/quotes.js.map +1 -0
- package/resources/vektor/bridge/quotes.mjs +22 -0
- package/resources/vektor/bridge/quotes.mjs.map +1 -0
- package/resources/vektor/bridge.d.mts +2 -0
- package/resources/vektor/bridge.d.mts.map +1 -0
- package/resources/vektor/bridge.d.ts +2 -0
- package/resources/vektor/bridge.d.ts.map +1 -0
- package/resources/vektor/bridge.js +6 -0
- package/resources/vektor/bridge.js.map +1 -0
- package/resources/vektor/bridge.mjs +3 -0
- package/resources/vektor/bridge.mjs.map +1 -0
- package/resources/vektor/buy/buy.d.mts +14 -0
- package/resources/vektor/buy/buy.d.mts.map +1 -0
- package/resources/vektor/buy/buy.d.ts +14 -0
- package/resources/vektor/buy/buy.d.ts.map +1 -0
- package/resources/vektor/buy/buy.js +21 -0
- package/resources/vektor/buy/buy.js.map +1 -0
- package/resources/vektor/buy/buy.mjs +16 -0
- package/resources/vektor/buy/buy.mjs.map +1 -0
- package/resources/vektor/buy/buy_.d.mts +56 -0
- package/resources/vektor/buy/buy_.d.mts.map +1 -0
- package/resources/vektor/buy/buy_.d.ts +56 -0
- package/resources/vektor/buy/buy_.d.ts.map +1 -0
- package/resources/vektor/buy/buy_.js +27 -0
- package/resources/vektor/buy/buy_.js.map +1 -0
- package/resources/vektor/buy/buy_.mjs +23 -0
- package/resources/vektor/buy/buy_.mjs.map +1 -0
- package/resources/vektor/buy/index.d.mts +4 -0
- package/resources/vektor/buy/index.d.mts.map +1 -0
- package/resources/vektor/buy/index.d.ts +4 -0
- package/resources/vektor/buy/index.d.ts.map +1 -0
- package/resources/vektor/buy/index.js +9 -0
- package/resources/vektor/buy/index.js.map +1 -0
- package/resources/vektor/buy/index.mjs +4 -0
- package/resources/vektor/buy/index.mjs.map +1 -0
- package/resources/vektor/buy/quotes.d.mts +57 -0
- package/resources/vektor/buy/quotes.d.mts.map +1 -0
- package/resources/vektor/buy/quotes.d.ts +57 -0
- package/resources/vektor/buy/quotes.d.ts.map +1 -0
- package/resources/vektor/buy/quotes.js +26 -0
- package/resources/vektor/buy/quotes.js.map +1 -0
- package/resources/vektor/buy/quotes.mjs +22 -0
- package/resources/vektor/buy/quotes.mjs.map +1 -0
- package/resources/vektor/buy.d.mts +2 -0
- package/resources/vektor/buy.d.mts.map +1 -0
- package/resources/vektor/buy.d.ts +2 -0
- package/resources/vektor/buy.d.ts.map +1 -0
- package/resources/vektor/buy.js +6 -0
- package/resources/vektor/buy.js.map +1 -0
- package/resources/vektor/buy.mjs +3 -0
- package/resources/vektor/buy.mjs.map +1 -0
- package/resources/vektor/executions/executions.d.mts +38 -0
- package/resources/vektor/executions/executions.d.mts.map +1 -0
- package/resources/vektor/executions/executions.d.ts +38 -0
- package/resources/vektor/executions/executions.d.ts.map +1 -0
- package/resources/vektor/executions/executions.js +42 -0
- package/resources/vektor/executions/executions.js.map +1 -0
- package/resources/vektor/executions/executions.mjs +37 -0
- package/resources/vektor/executions/executions.mjs.map +1 -0
- package/resources/vektor/executions/index.d.mts +3 -0
- package/resources/vektor/executions/index.d.mts.map +1 -0
- package/resources/vektor/executions/index.d.ts +3 -0
- package/resources/vektor/executions/index.d.ts.map +1 -0
- package/resources/vektor/executions/index.js +9 -0
- package/resources/vektor/executions/index.js.map +1 -0
- package/resources/vektor/executions/index.mjs +4 -0
- package/resources/vektor/executions/index.mjs.map +1 -0
- package/resources/vektor/executions/steps.d.mts +1112 -0
- package/resources/vektor/executions/steps.d.mts.map +1 -0
- package/resources/vektor/executions/steps.d.ts +1112 -0
- package/resources/vektor/executions/steps.d.ts.map +1 -0
- package/resources/vektor/executions/steps.js +45 -0
- package/resources/vektor/executions/steps.js.map +1 -0
- package/resources/vektor/executions/steps.mjs +41 -0
- package/resources/vektor/executions/steps.mjs.map +1 -0
- package/resources/vektor/executions.d.mts +2 -0
- package/resources/vektor/executions.d.mts.map +1 -0
- package/resources/vektor/executions.d.ts +2 -0
- package/resources/vektor/executions.d.ts.map +1 -0
- package/resources/vektor/executions.js +6 -0
- package/resources/vektor/executions.js.map +1 -0
- package/resources/vektor/executions.mjs +3 -0
- package/resources/vektor/executions.mjs.map +1 -0
- package/resources/vektor/incentivize.d.mts +47 -0
- package/resources/vektor/incentivize.d.mts.map +1 -0
- package/resources/vektor/incentivize.d.ts +47 -0
- package/resources/vektor/incentivize.d.ts.map +1 -0
- package/resources/vektor/incentivize.js +24 -0
- package/resources/vektor/incentivize.js.map +1 -0
- package/resources/vektor/incentivize.mjs +20 -0
- package/resources/vektor/incentivize.mjs.map +1 -0
- package/resources/vektor/index.d.mts +17 -0
- package/resources/vektor/index.d.mts.map +1 -0
- package/resources/vektor/index.d.ts +17 -0
- package/resources/vektor/index.d.ts.map +1 -0
- package/resources/vektor/index.js +37 -0
- package/resources/vektor/index.js.map +1 -0
- package/resources/vektor/index.mjs +18 -0
- package/resources/vektor/index.mjs.map +1 -0
- package/resources/vektor/lend/index.d.mts +7 -0
- package/resources/vektor/lend/index.d.mts.map +1 -0
- package/resources/vektor/lend/index.d.ts +7 -0
- package/resources/vektor/lend/index.d.ts.map +1 -0
- package/resources/vektor/lend/index.js +15 -0
- package/resources/vektor/lend/index.js.map +1 -0
- package/resources/vektor/lend/index.mjs +7 -0
- package/resources/vektor/lend/index.mjs.map +1 -0
- package/resources/vektor/lend/lend.d.mts +26 -0
- package/resources/vektor/lend/lend.d.mts.map +1 -0
- package/resources/vektor/lend/lend.d.ts +26 -0
- package/resources/vektor/lend/lend.d.ts.map +1 -0
- package/resources/vektor/lend/lend.js +33 -0
- package/resources/vektor/lend/lend.js.map +1 -0
- package/resources/vektor/lend/lend.mjs +28 -0
- package/resources/vektor/lend/lend.mjs.map +1 -0
- package/resources/vektor/lend/lend_.d.mts +47 -0
- package/resources/vektor/lend/lend_.d.mts.map +1 -0
- package/resources/vektor/lend/lend_.d.ts +47 -0
- package/resources/vektor/lend/lend_.d.ts.map +1 -0
- package/resources/vektor/lend/lend_.js +26 -0
- package/resources/vektor/lend/lend_.js.map +1 -0
- package/resources/vektor/lend/lend_.mjs +22 -0
- package/resources/vektor/lend/lend_.mjs.map +1 -0
- package/resources/vektor/lend/markets.d.mts +158 -0
- package/resources/vektor/lend/markets.d.mts.map +1 -0
- package/resources/vektor/lend/markets.d.ts +158 -0
- package/resources/vektor/lend/markets.d.ts.map +1 -0
- package/resources/vektor/lend/markets.js +42 -0
- package/resources/vektor/lend/markets.js.map +1 -0
- package/resources/vektor/lend/markets.mjs +38 -0
- package/resources/vektor/lend/markets.mjs.map +1 -0
- package/resources/vektor/lend/positions.d.mts +178 -0
- package/resources/vektor/lend/positions.d.mts.map +1 -0
- package/resources/vektor/lend/positions.d.ts +178 -0
- package/resources/vektor/lend/positions.d.ts.map +1 -0
- package/resources/vektor/lend/positions.js +46 -0
- package/resources/vektor/lend/positions.js.map +1 -0
- package/resources/vektor/lend/positions.mjs +42 -0
- package/resources/vektor/lend/positions.mjs.map +1 -0
- package/resources/vektor/lend/set-collateral.d.mts +42 -0
- package/resources/vektor/lend/set-collateral.d.mts.map +1 -0
- package/resources/vektor/lend/set-collateral.d.ts +42 -0
- package/resources/vektor/lend/set-collateral.d.ts.map +1 -0
- package/resources/vektor/lend/set-collateral.js +27 -0
- package/resources/vektor/lend/set-collateral.js.map +1 -0
- package/resources/vektor/lend/set-collateral.mjs +23 -0
- package/resources/vektor/lend/set-collateral.mjs.map +1 -0
- package/resources/vektor/lend/withdraw.d.mts +47 -0
- package/resources/vektor/lend/withdraw.d.mts.map +1 -0
- package/resources/vektor/lend/withdraw.d.ts +47 -0
- package/resources/vektor/lend/withdraw.d.ts.map +1 -0
- package/resources/vektor/lend/withdraw.js +25 -0
- package/resources/vektor/lend/withdraw.js.map +1 -0
- package/resources/vektor/lend/withdraw.mjs +21 -0
- package/resources/vektor/lend/withdraw.mjs.map +1 -0
- package/resources/vektor/lend.d.mts +2 -0
- package/resources/vektor/lend.d.mts.map +1 -0
- package/resources/vektor/lend.d.ts +2 -0
- package/resources/vektor/lend.d.ts.map +1 -0
- package/resources/vektor/lend.js +6 -0
- package/resources/vektor/lend.js.map +1 -0
- package/resources/vektor/lend.mjs +3 -0
- package/resources/vektor/lend.mjs.map +1 -0
- package/resources/vektor/lock/index.d.mts +4 -0
- package/resources/vektor/lock/index.d.mts.map +1 -0
- package/resources/vektor/lock/index.d.ts +4 -0
- package/resources/vektor/lock/index.d.ts.map +1 -0
- package/resources/vektor/lock/index.js +11 -0
- package/resources/vektor/lock/index.js.map +1 -0
- package/resources/vektor/lock/index.mjs +5 -0
- package/resources/vektor/lock/index.mjs.map +1 -0
- package/resources/vektor/lock/lock.d.mts +14 -0
- package/resources/vektor/lock/lock.d.mts.map +1 -0
- package/resources/vektor/lock/lock.d.ts +14 -0
- package/resources/vektor/lock/lock.d.ts.map +1 -0
- package/resources/vektor/lock/lock.js +21 -0
- package/resources/vektor/lock/lock.js.map +1 -0
- package/resources/vektor/lock/lock.mjs +16 -0
- package/resources/vektor/lock/lock.mjs.map +1 -0
- package/resources/vektor/lock/markets.d.mts +43 -0
- package/resources/vektor/lock/markets.d.mts.map +1 -0
- package/resources/vektor/lock/markets.d.ts +43 -0
- package/resources/vektor/lock/markets.d.ts.map +1 -0
- package/resources/vektor/lock/markets.js +24 -0
- package/resources/vektor/lock/markets.js.map +1 -0
- package/resources/vektor/lock/markets.mjs +20 -0
- package/resources/vektor/lock/markets.mjs.map +1 -0
- package/resources/vektor/lock/positions.d.mts +48 -0
- package/resources/vektor/lock/positions.d.mts.map +1 -0
- package/resources/vektor/lock/positions.d.ts +48 -0
- package/resources/vektor/lock/positions.d.ts.map +1 -0
- package/resources/vektor/lock/positions.js +25 -0
- package/resources/vektor/lock/positions.js.map +1 -0
- package/resources/vektor/lock/positions.mjs +21 -0
- package/resources/vektor/lock/positions.mjs.map +1 -0
- package/resources/vektor/lock.d.mts +2 -0
- package/resources/vektor/lock.d.mts.map +1 -0
- package/resources/vektor/lock.d.ts +2 -0
- package/resources/vektor/lock.d.ts.map +1 -0
- package/resources/vektor/lock.js +6 -0
- package/resources/vektor/lock.js.map +1 -0
- package/resources/vektor/lock.mjs +3 -0
- package/resources/vektor/lock.mjs.map +1 -0
- package/resources/vektor/lp/deposit-quote.d.mts +119 -0
- package/resources/vektor/lp/deposit-quote.d.mts.map +1 -0
- package/resources/vektor/lp/deposit-quote.d.ts +119 -0
- package/resources/vektor/lp/deposit-quote.d.ts.map +1 -0
- package/resources/vektor/lp/deposit-quote.js +27 -0
- package/resources/vektor/lp/deposit-quote.js.map +1 -0
- package/resources/vektor/lp/deposit-quote.mjs +23 -0
- package/resources/vektor/lp/deposit-quote.mjs.map +1 -0
- package/resources/vektor/lp/index.d.mts +6 -0
- package/resources/vektor/lp/index.d.mts.map +1 -0
- package/resources/vektor/lp/index.d.ts +6 -0
- package/resources/vektor/lp/index.d.ts.map +1 -0
- package/resources/vektor/lp/index.js +15 -0
- package/resources/vektor/lp/index.js.map +1 -0
- package/resources/vektor/lp/index.mjs +7 -0
- package/resources/vektor/lp/index.mjs.map +1 -0
- package/resources/vektor/lp/lp.d.mts +22 -0
- package/resources/vektor/lp/lp.d.mts.map +1 -0
- package/resources/vektor/lp/lp.d.ts +22 -0
- package/resources/vektor/lp/lp.d.ts.map +1 -0
- package/resources/vektor/lp/lp.js +29 -0
- package/resources/vektor/lp/lp.js.map +1 -0
- package/resources/vektor/lp/lp.mjs +24 -0
- package/resources/vektor/lp/lp.mjs.map +1 -0
- package/resources/vektor/lp/pools.d.mts +158 -0
- package/resources/vektor/lp/pools.d.mts.map +1 -0
- package/resources/vektor/lp/pools.d.ts +158 -0
- package/resources/vektor/lp/pools.d.ts.map +1 -0
- package/resources/vektor/lp/pools.js +42 -0
- package/resources/vektor/lp/pools.js.map +1 -0
- package/resources/vektor/lp/pools.mjs +38 -0
- package/resources/vektor/lp/pools.mjs.map +1 -0
- package/resources/vektor/lp/positions.d.mts +194 -0
- package/resources/vektor/lp/positions.d.mts.map +1 -0
- package/resources/vektor/lp/positions.d.ts +194 -0
- package/resources/vektor/lp/positions.d.ts.map +1 -0
- package/resources/vektor/lp/positions.js +46 -0
- package/resources/vektor/lp/positions.js.map +1 -0
- package/resources/vektor/lp/positions.mjs +42 -0
- package/resources/vektor/lp/positions.mjs.map +1 -0
- package/resources/vektor/lp/withdraw-quote.d.mts +73 -0
- package/resources/vektor/lp/withdraw-quote.d.mts.map +1 -0
- package/resources/vektor/lp/withdraw-quote.d.ts +73 -0
- package/resources/vektor/lp/withdraw-quote.d.ts.map +1 -0
- package/resources/vektor/lp/withdraw-quote.js +27 -0
- package/resources/vektor/lp/withdraw-quote.js.map +1 -0
- package/resources/vektor/lp/withdraw-quote.mjs +23 -0
- package/resources/vektor/lp/withdraw-quote.mjs.map +1 -0
- package/resources/vektor/lp.d.mts +2 -0
- package/resources/vektor/lp.d.mts.map +1 -0
- package/resources/vektor/lp.d.ts +2 -0
- package/resources/vektor/lp.d.ts.map +1 -0
- package/resources/vektor/lp.js +6 -0
- package/resources/vektor/lp.js.map +1 -0
- package/resources/vektor/lp.mjs +3 -0
- package/resources/vektor/lp.mjs.map +1 -0
- package/resources/vektor/move.d.mts +47 -0
- package/resources/vektor/move.d.mts.map +1 -0
- package/resources/vektor/move.d.ts +47 -0
- package/resources/vektor/move.d.ts.map +1 -0
- package/resources/vektor/move.js +26 -0
- package/resources/vektor/move.js.map +1 -0
- package/resources/vektor/move.mjs +22 -0
- package/resources/vektor/move.mjs.map +1 -0
- package/resources/vektor/prices.d.mts +77 -0
- package/resources/vektor/prices.d.mts.map +1 -0
- package/resources/vektor/prices.d.ts +77 -0
- package/resources/vektor/prices.d.ts.map +1 -0
- package/resources/vektor/prices.js +35 -0
- package/resources/vektor/prices.js.map +1 -0
- package/resources/vektor/prices.mjs +31 -0
- package/resources/vektor/prices.mjs.map +1 -0
- package/resources/vektor/registry/assets.d.mts +39 -0
- package/resources/vektor/registry/assets.d.mts.map +1 -0
- package/resources/vektor/registry/assets.d.ts +39 -0
- package/resources/vektor/registry/assets.d.ts.map +1 -0
- package/resources/vektor/registry/assets.js +20 -0
- package/resources/vektor/registry/assets.js.map +1 -0
- package/resources/vektor/registry/assets.mjs +16 -0
- package/resources/vektor/registry/assets.mjs.map +1 -0
- package/resources/vektor/registry/blockchains.d.mts +36 -0
- package/resources/vektor/registry/blockchains.d.mts.map +1 -0
- package/resources/vektor/registry/blockchains.d.ts +36 -0
- package/resources/vektor/registry/blockchains.d.ts.map +1 -0
- package/resources/vektor/registry/blockchains.js +21 -0
- package/resources/vektor/registry/blockchains.js.map +1 -0
- package/resources/vektor/registry/blockchains.mjs +17 -0
- package/resources/vektor/registry/blockchains.mjs.map +1 -0
- package/resources/vektor/registry/borrow-markets.d.mts +46 -0
- package/resources/vektor/registry/borrow-markets.d.mts.map +1 -0
- package/resources/vektor/registry/borrow-markets.d.ts +46 -0
- package/resources/vektor/registry/borrow-markets.d.ts.map +1 -0
- package/resources/vektor/registry/borrow-markets.js +22 -0
- package/resources/vektor/registry/borrow-markets.js.map +1 -0
- package/resources/vektor/registry/borrow-markets.mjs +18 -0
- package/resources/vektor/registry/borrow-markets.mjs.map +1 -0
- package/resources/vektor/registry/errors.d.mts +28 -0
- package/resources/vektor/registry/errors.d.mts.map +1 -0
- package/resources/vektor/registry/errors.d.ts +28 -0
- package/resources/vektor/registry/errors.d.ts.map +1 -0
- package/resources/vektor/registry/errors.js +20 -0
- package/resources/vektor/registry/errors.js.map +1 -0
- package/resources/vektor/registry/errors.mjs +16 -0
- package/resources/vektor/registry/errors.mjs.map +1 -0
- package/resources/vektor/registry/index.d.mts +9 -0
- package/resources/vektor/registry/index.d.mts.map +1 -0
- package/resources/vektor/registry/index.d.ts +9 -0
- package/resources/vektor/registry/index.d.ts.map +1 -0
- package/resources/vektor/registry/index.js +21 -0
- package/resources/vektor/registry/index.js.map +1 -0
- package/resources/vektor/registry/index.mjs +10 -0
- package/resources/vektor/registry/index.mjs.map +1 -0
- package/resources/vektor/registry/lend-markets.d.mts +46 -0
- package/resources/vektor/registry/lend-markets.d.mts.map +1 -0
- package/resources/vektor/registry/lend-markets.d.ts +46 -0
- package/resources/vektor/registry/lend-markets.d.ts.map +1 -0
- package/resources/vektor/registry/lend-markets.js +22 -0
- package/resources/vektor/registry/lend-markets.js.map +1 -0
- package/resources/vektor/registry/lend-markets.mjs +18 -0
- package/resources/vektor/registry/lend-markets.mjs.map +1 -0
- package/resources/vektor/registry/lp-pools.d.mts +44 -0
- package/resources/vektor/registry/lp-pools.d.mts.map +1 -0
- package/resources/vektor/registry/lp-pools.d.ts +44 -0
- package/resources/vektor/registry/lp-pools.d.ts.map +1 -0
- package/resources/vektor/registry/lp-pools.js +21 -0
- package/resources/vektor/registry/lp-pools.js.map +1 -0
- package/resources/vektor/registry/lp-pools.mjs +17 -0
- package/resources/vektor/registry/lp-pools.mjs.map +1 -0
- package/resources/vektor/registry/registry.d.mts +34 -0
- package/resources/vektor/registry/registry.d.mts.map +1 -0
- package/resources/vektor/registry/registry.d.ts +34 -0
- package/resources/vektor/registry/registry.d.ts.map +1 -0
- package/resources/vektor/registry/registry.js +41 -0
- package/resources/vektor/registry/registry.js.map +1 -0
- package/resources/vektor/registry/registry.mjs +36 -0
- package/resources/vektor/registry/registry.mjs.map +1 -0
- package/resources/vektor/registry/venues.d.mts +35 -0
- package/resources/vektor/registry/venues.d.mts.map +1 -0
- package/resources/vektor/registry/venues.d.ts +35 -0
- package/resources/vektor/registry/venues.d.ts.map +1 -0
- package/resources/vektor/registry/venues.js +20 -0
- package/resources/vektor/registry/venues.js.map +1 -0
- package/resources/vektor/registry/venues.mjs +16 -0
- package/resources/vektor/registry/venues.mjs.map +1 -0
- package/resources/vektor/registry.d.mts +2 -0
- package/resources/vektor/registry.d.mts.map +1 -0
- package/resources/vektor/registry.d.ts +2 -0
- package/resources/vektor/registry.d.ts.map +1 -0
- package/resources/vektor/registry.js +6 -0
- package/resources/vektor/registry.js.map +1 -0
- package/resources/vektor/registry.mjs +3 -0
- package/resources/vektor/registry.mjs.map +1 -0
- package/resources/vektor/sell/index.d.mts +4 -0
- package/resources/vektor/sell/index.d.mts.map +1 -0
- package/resources/vektor/sell/index.d.ts +4 -0
- package/resources/vektor/sell/index.d.ts.map +1 -0
- package/resources/vektor/sell/index.js +9 -0
- package/resources/vektor/sell/index.js.map +1 -0
- package/resources/vektor/sell/index.mjs +4 -0
- package/resources/vektor/sell/index.mjs.map +1 -0
- package/resources/vektor/sell/quotes.d.mts +57 -0
- package/resources/vektor/sell/quotes.d.mts.map +1 -0
- package/resources/vektor/sell/quotes.d.ts +57 -0
- package/resources/vektor/sell/quotes.d.ts.map +1 -0
- package/resources/vektor/sell/quotes.js +26 -0
- package/resources/vektor/sell/quotes.js.map +1 -0
- package/resources/vektor/sell/quotes.mjs +22 -0
- package/resources/vektor/sell/quotes.mjs.map +1 -0
- package/resources/vektor/sell/sell.d.mts +14 -0
- package/resources/vektor/sell/sell.d.mts.map +1 -0
- package/resources/vektor/sell/sell.d.ts +14 -0
- package/resources/vektor/sell/sell.d.ts.map +1 -0
- package/resources/vektor/sell/sell.js +21 -0
- package/resources/vektor/sell/sell.js.map +1 -0
- package/resources/vektor/sell/sell.mjs +16 -0
- package/resources/vektor/sell/sell.mjs.map +1 -0
- package/resources/vektor/sell/sell_.d.mts +56 -0
- package/resources/vektor/sell/sell_.d.mts.map +1 -0
- package/resources/vektor/sell/sell_.d.ts +56 -0
- package/resources/vektor/sell/sell_.d.ts.map +1 -0
- package/resources/vektor/sell/sell_.js +27 -0
- package/resources/vektor/sell/sell_.js.map +1 -0
- package/resources/vektor/sell/sell_.mjs +23 -0
- package/resources/vektor/sell/sell_.mjs.map +1 -0
- package/resources/vektor/sell.d.mts +2 -0
- package/resources/vektor/sell.d.mts.map +1 -0
- package/resources/vektor/sell.d.ts +2 -0
- package/resources/vektor/sell.d.ts.map +1 -0
- package/resources/vektor/sell.js +6 -0
- package/resources/vektor/sell.js.map +1 -0
- package/resources/vektor/sell.mjs +3 -0
- package/resources/vektor/sell.mjs.map +1 -0
- package/resources/vektor/vektor.d.mts +2836 -0
- package/resources/vektor/vektor.d.mts.map +1 -0
- package/resources/vektor/vektor.d.ts +2836 -0
- package/resources/vektor/vektor.d.ts.map +1 -0
- package/resources/vektor/vektor.js +73 -0
- package/resources/vektor/vektor.js.map +1 -0
- package/resources/vektor/vektor.mjs +68 -0
- package/resources/vektor/vektor.mjs.map +1 -0
- package/resources/vektor/vote/index.d.mts +4 -0
- package/resources/vektor/vote/index.d.mts.map +1 -0
- package/resources/vektor/vote/index.d.ts +4 -0
- package/resources/vektor/vote/index.d.ts.map +1 -0
- package/resources/vektor/vote/index.js +11 -0
- package/resources/vektor/vote/index.js.map +1 -0
- package/resources/vektor/vote/index.mjs +5 -0
- package/resources/vektor/vote/index.mjs.map +1 -0
- package/resources/vektor/vote/markets.d.mts +47 -0
- package/resources/vektor/vote/markets.d.mts.map +1 -0
- package/resources/vektor/vote/markets.d.ts +47 -0
- package/resources/vektor/vote/markets.d.ts.map +1 -0
- package/resources/vektor/vote/markets.js +24 -0
- package/resources/vektor/vote/markets.js.map +1 -0
- package/resources/vektor/vote/markets.mjs +20 -0
- package/resources/vektor/vote/markets.mjs.map +1 -0
- package/resources/vektor/vote/rewards.d.mts +52 -0
- package/resources/vektor/vote/rewards.d.mts.map +1 -0
- package/resources/vektor/vote/rewards.d.ts +52 -0
- package/resources/vektor/vote/rewards.d.ts.map +1 -0
- package/resources/vektor/vote/rewards.js +25 -0
- package/resources/vektor/vote/rewards.js.map +1 -0
- package/resources/vektor/vote/rewards.mjs +21 -0
- package/resources/vektor/vote/rewards.mjs.map +1 -0
- package/resources/vektor/vote/vote.d.mts +14 -0
- package/resources/vektor/vote/vote.d.mts.map +1 -0
- package/resources/vektor/vote/vote.d.ts +14 -0
- package/resources/vektor/vote/vote.d.ts.map +1 -0
- package/resources/vektor/vote/vote.js +21 -0
- package/resources/vektor/vote/vote.js.map +1 -0
- package/resources/vektor/vote/vote.mjs +16 -0
- package/resources/vektor/vote/vote.mjs.map +1 -0
- package/resources/vektor/vote.d.mts +2 -0
- package/resources/vektor/vote.d.mts.map +1 -0
- package/resources/vektor/vote.d.ts +2 -0
- package/resources/vektor/vote.d.ts.map +1 -0
- package/resources/vektor/vote.js +6 -0
- package/resources/vektor/vote.js.map +1 -0
- package/resources/vektor/vote.mjs +3 -0
- package/resources/vektor/vote.mjs.map +1 -0
- package/resources/vektor/wrap/index.d.mts +4 -0
- package/resources/vektor/wrap/index.d.mts.map +1 -0
- package/resources/vektor/wrap/index.d.ts +4 -0
- package/resources/vektor/wrap/index.d.ts.map +1 -0
- package/resources/vektor/wrap/index.js +9 -0
- package/resources/vektor/wrap/index.js.map +1 -0
- package/resources/vektor/wrap/index.mjs +4 -0
- package/resources/vektor/wrap/index.mjs.map +1 -0
- package/resources/vektor/wrap/unwrap.d.mts +37 -0
- package/resources/vektor/wrap/unwrap.d.mts.map +1 -0
- package/resources/vektor/wrap/unwrap.d.ts +37 -0
- package/resources/vektor/wrap/unwrap.d.ts.map +1 -0
- package/resources/vektor/wrap/unwrap.js +24 -0
- package/resources/vektor/wrap/unwrap.js.map +1 -0
- package/resources/vektor/wrap/unwrap.mjs +20 -0
- package/resources/vektor/wrap/unwrap.mjs.map +1 -0
- package/resources/vektor/wrap/wrap.d.mts +14 -0
- package/resources/vektor/wrap/wrap.d.mts.map +1 -0
- package/resources/vektor/wrap/wrap.d.ts +14 -0
- package/resources/vektor/wrap/wrap.d.ts.map +1 -0
- package/resources/vektor/wrap/wrap.js +21 -0
- package/resources/vektor/wrap/wrap.js.map +1 -0
- package/resources/vektor/wrap/wrap.mjs +16 -0
- package/resources/vektor/wrap/wrap.mjs.map +1 -0
- package/resources/vektor/wrap/wrap_.d.mts +37 -0
- package/resources/vektor/wrap/wrap_.d.mts.map +1 -0
- package/resources/vektor/wrap/wrap_.d.ts +37 -0
- package/resources/vektor/wrap/wrap_.d.ts.map +1 -0
- package/resources/vektor/wrap/wrap_.js +24 -0
- package/resources/vektor/wrap/wrap_.js.map +1 -0
- package/resources/vektor/wrap/wrap_.mjs +20 -0
- package/resources/vektor/wrap/wrap_.mjs.map +1 -0
- package/resources/vektor/wrap.d.mts +2 -0
- package/resources/vektor/wrap.d.mts.map +1 -0
- package/resources/vektor/wrap.d.ts +2 -0
- package/resources/vektor/wrap.d.ts.map +1 -0
- package/resources/vektor/wrap.js +6 -0
- package/resources/vektor/wrap.js.map +1 -0
- package/resources/vektor/wrap.mjs +3 -0
- package/resources/vektor/wrap.mjs.map +1 -0
- package/resources/vektor.d.mts +2 -0
- package/resources/vektor.d.mts.map +1 -0
- package/resources/vektor.d.ts +2 -0
- package/resources/vektor.d.ts.map +1 -0
- package/resources/vektor.js +6 -0
- package/resources/vektor.js.map +1 -0
- package/resources/vektor.mjs +3 -0
- package/resources/vektor.mjs.map +1 -0
- package/src/client.ts +10 -0
- package/src/resources/connect/connect.ts +15 -0
- package/src/resources/connect/flux.ts +91 -0
- package/src/resources/connect/index.ts +4 -0
- package/src/resources/connect.ts +3 -0
- package/src/resources/index.ts +2 -0
- package/src/resources/networking/firewall-rules.ts +1 -1
- package/src/resources/vektor/balances.ts +146 -0
- package/src/resources/vektor/borrow/accounts.ts +146 -0
- package/src/resources/vektor/borrow/borrow.ts +63 -0
- package/src/resources/vektor/borrow/index.ts +24 -0
- package/src/resources/vektor/borrow/markets.ts +205 -0
- package/src/resources/vektor/borrow/positions.ts +233 -0
- package/src/resources/vektor/borrow.ts +3 -0
- package/src/resources/vektor/bridge/bridge.ts +19 -0
- package/src/resources/vektor/bridge/index.ts +4 -0
- package/src/resources/vektor/bridge/quotes.ts +69 -0
- package/src/resources/vektor/bridge.ts +3 -0
- package/src/resources/vektor/buy/buy.ts +25 -0
- package/src/resources/vektor/buy/buy_.ts +68 -0
- package/src/resources/vektor/buy/index.ts +5 -0
- package/src/resources/vektor/buy/quotes.ts +69 -0
- package/src/resources/vektor/buy.ts +3 -0
- package/src/resources/vektor/executions/executions.ts +57 -0
- package/src/resources/vektor/executions/index.ts +4 -0
- package/src/resources/vektor/executions/steps.ts +1380 -0
- package/src/resources/vektor/executions.ts +3 -0
- package/src/resources/vektor/incentivize.ts +60 -0
- package/src/resources/vektor/index.ts +30 -0
- package/src/resources/vektor/lend/index.ts +20 -0
- package/src/resources/vektor/lend/lend.ts +63 -0
- package/src/resources/vektor/lend/lend_.ts +57 -0
- package/src/resources/vektor/lend/markets.ts +205 -0
- package/src/resources/vektor/lend/positions.ts +229 -0
- package/src/resources/vektor/lend/set-collateral.ts +51 -0
- package/src/resources/vektor/lend/withdraw.ts +57 -0
- package/src/resources/vektor/lend.ts +3 -0
- package/src/resources/vektor/lock/index.ts +5 -0
- package/src/resources/vektor/lock/lock.ts +29 -0
- package/src/resources/vektor/lock/markets.ts +52 -0
- package/src/resources/vektor/lock/positions.ts +58 -0
- package/src/resources/vektor/lock.ts +3 -0
- package/src/resources/vektor/lp/deposit-quote.ts +147 -0
- package/src/resources/vektor/lp/index.ts +27 -0
- package/src/resources/vektor/lp/lp.ts +65 -0
- package/src/resources/vektor/lp/pools.ts +205 -0
- package/src/resources/vektor/lp/positions.ts +249 -0
- package/src/resources/vektor/lp/withdraw-quote.ts +90 -0
- package/src/resources/vektor/lp.ts +3 -0
- package/src/resources/vektor/move.ts +57 -0
- package/src/resources/vektor/prices.ts +102 -0
- package/src/resources/vektor/registry/assets.ts +51 -0
- package/src/resources/vektor/registry/blockchains.ts +50 -0
- package/src/resources/vektor/registry/borrow-markets.ts +62 -0
- package/src/resources/vektor/registry/errors.ts +38 -0
- package/src/resources/vektor/registry/index.ts +10 -0
- package/src/resources/vektor/registry/lend-markets.ts +62 -0
- package/src/resources/vektor/registry/lp-pools.ts +57 -0
- package/src/resources/vektor/registry/registry.ts +79 -0
- package/src/resources/vektor/registry/venues.ts +46 -0
- package/src/resources/vektor/registry.ts +3 -0
- package/src/resources/vektor/sell/index.ts +5 -0
- package/src/resources/vektor/sell/quotes.ts +69 -0
- package/src/resources/vektor/sell/sell.ts +25 -0
- package/src/resources/vektor/sell/sell_.ts +68 -0
- package/src/resources/vektor/sell.ts +3 -0
- package/src/resources/vektor/vektor.ts +3581 -0
- package/src/resources/vektor/vote/index.ts +5 -0
- package/src/resources/vektor/vote/markets.ts +57 -0
- package/src/resources/vektor/vote/rewards.ts +63 -0
- package/src/resources/vektor/vote/vote.ts +29 -0
- package/src/resources/vektor/vote.ts +3 -0
- package/src/resources/vektor/wrap/index.ts +5 -0
- package/src/resources/vektor/wrap/unwrap.ts +45 -0
- package/src/resources/vektor/wrap/wrap.ts +21 -0
- package/src/resources/vektor/wrap/wrap_.ts +45 -0
- package/src/resources/vektor/wrap.ts +3 -0
- package/src/resources/vektor.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as Shared from "../shared.js";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
+
export declare class Flux extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List all Connect Flux
|
|
8
|
+
*/
|
|
9
|
+
list(options?: RequestOptions): APIPromise<ConnectFluxList>;
|
|
10
|
+
/**
|
|
11
|
+
* Get details about a Connect Flux
|
|
12
|
+
*/
|
|
13
|
+
get(fluxID: string, options?: RequestOptions): APIPromise<ConnectFlux>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Connect flux details.
|
|
17
|
+
*/
|
|
18
|
+
export interface ConnectFlux {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier for the connect flux
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Connect flux speed in Mbps
|
|
25
|
+
*/
|
|
26
|
+
bandwidth_mbps: 50 | 100 | 200 | 500 | 1000 | 2000 | 5000;
|
|
27
|
+
/**
|
|
28
|
+
* CIDRs
|
|
29
|
+
*/
|
|
30
|
+
cidrs: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* When the connect flux was created
|
|
33
|
+
*/
|
|
34
|
+
created_at: string;
|
|
35
|
+
/**
|
|
36
|
+
* Name of the connect flux
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
/**
|
|
40
|
+
* Provider CIDRs
|
|
41
|
+
*/
|
|
42
|
+
provider_cidrs: Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Provider name
|
|
45
|
+
*/
|
|
46
|
+
provider_name: string;
|
|
47
|
+
/**
|
|
48
|
+
* Provider region
|
|
49
|
+
*/
|
|
50
|
+
provider_region: string;
|
|
51
|
+
/**
|
|
52
|
+
* Region the resource is in.
|
|
53
|
+
*/
|
|
54
|
+
region: Shared.RegionName;
|
|
55
|
+
/**
|
|
56
|
+
* Status of the resource.
|
|
57
|
+
*/
|
|
58
|
+
status: Shared.ResourceStatus;
|
|
59
|
+
/**
|
|
60
|
+
* When the connect flux was updated
|
|
61
|
+
*/
|
|
62
|
+
updated_at: string;
|
|
63
|
+
}
|
|
64
|
+
export interface ConnectFluxList {
|
|
65
|
+
items: Array<ConnectFlux>;
|
|
66
|
+
}
|
|
67
|
+
export declare namespace Flux {
|
|
68
|
+
export { type ConnectFlux as ConnectFlux, type ConnectFluxList as ConnectFluxList };
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=flux.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flux.d.ts","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI3D;;OAEG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;CAGvE;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,cAAc,EAAE,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAE1D;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IAE9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EAAE,KAAK,WAAW,IAAI,WAAW,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACrF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Flux = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
class Flux extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* List all Connect Flux
|
|
10
|
+
*/
|
|
11
|
+
list(options) {
|
|
12
|
+
return this._client.get('/v1/connect/flux', options);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Get details about a Connect Flux
|
|
16
|
+
*/
|
|
17
|
+
get(fluxID, options) {
|
|
18
|
+
return this._client.get((0, path_1.path) `/v1/connect/flux/${fluxID}`, options);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.Flux = Flux;
|
|
22
|
+
//# sourceMappingURL=flux.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flux.js","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD,uDAAiD;AAEjD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AAdD,oBAcC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
export class Flux extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List all Connect Flux
|
|
7
|
+
*/
|
|
8
|
+
list(options) {
|
|
9
|
+
return this._client.get('/v1/connect/flux', options);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Get details about a Connect Flux
|
|
13
|
+
*/
|
|
14
|
+
get(fluxID, options) {
|
|
15
|
+
return this._client.get(path `/v1/connect/flux/${fluxID}`, options);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=flux.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flux.mjs","sourceRoot":"","sources":["../../src/resources/connect/flux.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,MAAc,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE;OACX,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,eAAe,EAAE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Flux = exports.Connect = void 0;
|
|
5
|
+
var connect_1 = require("./connect.js");
|
|
6
|
+
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
7
|
+
var flux_1 = require("./flux.js");
|
|
8
|
+
Object.defineProperty(exports, "Flux", { enumerable: true, get: function () { return flux_1.Flux; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,kCAAsE;AAA7D,4FAAA,IAAI,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/connect/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;OACX,EAAE,IAAI,EAA0C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.mts","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./connect/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6DAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connect.mjs","sourceRoot":"","sources":["../src/resources/connect.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from "./shared.mjs";
|
|
2
2
|
export { APIKeys } from "./api-keys.mjs";
|
|
3
3
|
export { Compute } from "./compute/compute.mjs";
|
|
4
|
+
export { Connect } from "./connect/connect.mjs";
|
|
4
5
|
export { Networking } from "./networking/networking.mjs";
|
|
5
6
|
export { Operations } from "./operations.mjs";
|
|
6
7
|
export { RPCNodes } from "./rpc-nodes/rpc-nodes.mjs";
|
|
7
8
|
export { UserResource } from "./user.mjs";
|
|
9
|
+
export { Vektor } from "./vektor/vektor.mjs";
|
|
8
10
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE;OACd,EAAE,QAAQ,EAAE;OACZ,EAAE,YAAY,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE;OACd,EAAE,QAAQ,EAAE;OACZ,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE"}
|
package/resources/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from "./shared.js";
|
|
2
2
|
export { APIKeys } from "./api-keys.js";
|
|
3
3
|
export { Compute } from "./compute/compute.js";
|
|
4
|
+
export { Connect } from "./connect/connect.js";
|
|
4
5
|
export { Networking } from "./networking/networking.js";
|
|
5
6
|
export { Operations } from "./operations.js";
|
|
6
7
|
export { RPCNodes } from "./rpc-nodes/rpc-nodes.js";
|
|
7
8
|
export { UserResource } from "./user.js";
|
|
9
|
+
export { Vektor } from "./vektor/vektor.js";
|
|
8
10
|
//# sourceMappingURL=index.d.ts.map
|
package/resources/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE;OACd,EAAE,QAAQ,EAAE;OACZ,EAAE,YAAY,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE;OACd,EAAE,QAAQ,EAAE;OACZ,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE"}
|
package/resources/index.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.UserResource = exports.RPCNodes = exports.Operations = exports.Networking = exports.Compute = exports.APIKeys = void 0;
|
|
4
|
+
exports.Vektor = exports.UserResource = exports.RPCNodes = exports.Operations = exports.Networking = exports.Connect = exports.Compute = exports.APIKeys = void 0;
|
|
5
5
|
const tslib_1 = require("../internal/tslib.js");
|
|
6
6
|
tslib_1.__exportStar(require("./shared.js"), exports);
|
|
7
7
|
var api_keys_1 = require("./api-keys.js");
|
|
8
8
|
Object.defineProperty(exports, "APIKeys", { enumerable: true, get: function () { return api_keys_1.APIKeys; } });
|
|
9
9
|
var compute_1 = require("./compute/compute.js");
|
|
10
10
|
Object.defineProperty(exports, "Compute", { enumerable: true, get: function () { return compute_1.Compute; } });
|
|
11
|
+
var connect_1 = require("./connect/connect.js");
|
|
12
|
+
Object.defineProperty(exports, "Connect", { enumerable: true, get: function () { return connect_1.Connect; } });
|
|
11
13
|
var networking_1 = require("./networking/networking.js");
|
|
12
14
|
Object.defineProperty(exports, "Networking", { enumerable: true, get: function () { return networking_1.Networking; } });
|
|
13
15
|
var operations_1 = require("./operations.js");
|
|
@@ -16,4 +18,6 @@ var rpc_nodes_1 = require("./rpc-nodes/rpc-nodes.js");
|
|
|
16
18
|
Object.defineProperty(exports, "RPCNodes", { enumerable: true, get: function () { return rpc_nodes_1.RPCNodes; } });
|
|
17
19
|
var user_1 = require("./user.js");
|
|
18
20
|
Object.defineProperty(exports, "UserResource", { enumerable: true, get: function () { return user_1.UserResource; } });
|
|
21
|
+
var vektor_1 = require("./vektor/vektor.js");
|
|
22
|
+
Object.defineProperty(exports, "Vektor", { enumerable: true, get: function () { return vektor_1.Vektor; } });
|
|
19
23
|
//# sourceMappingURL=index.js.map
|
package/resources/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,0CAAqC;AAA5B,mGAAA,OAAO,OAAA;AAChB,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,yDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,8CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,sDAAiD;AAAxC,qGAAA,QAAQ,OAAA;AACjB,kCAAsC;AAA7B,oGAAA,YAAY,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,0CAAqC;AAA5B,mGAAA,OAAO,OAAA;AAChB,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,gDAA4C;AAAnC,kGAAA,OAAO,OAAA;AAChB,yDAAqD;AAA5C,wGAAA,UAAU,OAAA;AACnB,8CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,sDAAiD;AAAxC,qGAAA,QAAQ,OAAA;AACjB,kCAAsC;AAA7B,oGAAA,YAAY,OAAA;AACrB,6CAAyC;AAAhC,gGAAA,MAAM,OAAA"}
|
package/resources/index.mjs
CHANGED
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
export * from "./shared.mjs";
|
|
3
3
|
export { APIKeys } from "./api-keys.mjs";
|
|
4
4
|
export { Compute } from "./compute/compute.mjs";
|
|
5
|
+
export { Connect } from "./connect/connect.mjs";
|
|
5
6
|
export { Networking } from "./networking/networking.mjs";
|
|
6
7
|
export { Operations } from "./operations.mjs";
|
|
7
8
|
export { RPCNodes } from "./rpc-nodes/rpc-nodes.mjs";
|
|
8
9
|
export { UserResource } from "./user.mjs";
|
|
10
|
+
export { Vektor } from "./vektor/vektor.mjs";
|
|
9
11
|
//# sourceMappingURL=index.mjs.map
|
package/resources/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE;OACd,EAAE,QAAQ,EAAE;OACZ,EAAE,YAAY,EAAE"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,OAAO,EAAE;OACX,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE;OACd,EAAE,QAAQ,EAAE;OACZ,EAAE,YAAY,EAAE;OAChB,EAAE,MAAM,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firewall-rules.d.mts","sourceRoot":"","sources":["../../src/resources/networking/firewall-rules.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAItC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAQtC;;;;;;;;OAQG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI3E;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAKtC;;;;;;;;;;;OAWG;IACH,GAAG,CACD,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;CAI5B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,CAAC;IAExB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IAE9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"firewall-rules.d.mts","sourceRoot":"","sources":["../../src/resources/networking/firewall-rules.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firewall-rules.d.ts","sourceRoot":"","sources":["../../src/resources/networking/firewall-rules.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAItC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAQtC;;;;;;;;OAQG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI3E;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;IAKtC;;;;;;;;;;;OAWG;IACH,GAAG,CACD,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;CAI5B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,KAAK,GAAG,KAAK,CAAC;IAExB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC;IAE9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,iBAAiB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"firewall-rules.d.ts","sourceRoot":"","sources":["../../src/resources/networking/firewall-rules.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as VektorAPI from "./vektor.mjs";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
5
|
+
export declare class Balances extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List balances for a given set of assets and addresses
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const balances = await client.vektor.balances.list({
|
|
12
|
+
* accounts: ['0x6b175474e89094c44da98b954eedeac495271d0f'],
|
|
13
|
+
* assets: ['asset_01jbz9qc00f8wr64hfe459gb7y'],
|
|
14
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
list(body: BalanceListParams, options?: RequestOptions): APIPromise<BalanceListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* List balances for a given set of assets and addresses
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const response =
|
|
25
|
+
* await client.vektor.balances.listHistorical({
|
|
26
|
+
* accounts: [
|
|
27
|
+
* '0x6b175474e89094c44da98b954eedeac495271d0f',
|
|
28
|
+
* ],
|
|
29
|
+
* assets: ['asset_01jbz9qc00f8wr64hfe459gb7y'],
|
|
30
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
31
|
+
* from: '2021-01-01T12:00:00Z',
|
|
32
|
+
* to: '2021-01-01T12:00:00Z',
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
listHistorical(body: BalanceListHistoricalParams, options?: RequestOptions): APIPromise<BalanceListHistoricalResponse>;
|
|
37
|
+
}
|
|
38
|
+
export interface BalanceListResponse {
|
|
39
|
+
/**
|
|
40
|
+
* Array of Balance
|
|
41
|
+
*/
|
|
42
|
+
items: Array<VektorAPI.Balance>;
|
|
43
|
+
}
|
|
44
|
+
export interface BalanceListHistoricalResponse {
|
|
45
|
+
/**
|
|
46
|
+
* A range of blockstamps
|
|
47
|
+
*/
|
|
48
|
+
historical: VektorAPI.OnChainHistoricalRange;
|
|
49
|
+
items: Array<BalanceListHistoricalResponse.Item>;
|
|
50
|
+
}
|
|
51
|
+
export declare namespace BalanceListHistoricalResponse {
|
|
52
|
+
interface Item {
|
|
53
|
+
/**
|
|
54
|
+
* Information about a specific block number and its timestamp
|
|
55
|
+
*/
|
|
56
|
+
blockstamp: VektorAPI.Blockstamp;
|
|
57
|
+
/**
|
|
58
|
+
* Array of Balance
|
|
59
|
+
*/
|
|
60
|
+
items: Array<VektorAPI.Balance>;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export interface BalanceListParams {
|
|
64
|
+
/**
|
|
65
|
+
* A list of accounts. Currently only EVM addresses are supported.
|
|
66
|
+
*/
|
|
67
|
+
accounts: Array<VektorAPI.Account>;
|
|
68
|
+
/**
|
|
69
|
+
* A list of asset IDs, EVM addresses or asset symbols
|
|
70
|
+
*/
|
|
71
|
+
assets: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol>;
|
|
72
|
+
/**
|
|
73
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
74
|
+
*/
|
|
75
|
+
blockchain: VektorAPI.BlockchainIDOrBlockchainSymbol;
|
|
76
|
+
/**
|
|
77
|
+
* Either a ISO8601 timestamp or a block number
|
|
78
|
+
*/
|
|
79
|
+
at?: VektorAPI.Timestamp | VektorAPI.BlockNumber;
|
|
80
|
+
/**
|
|
81
|
+
* An asset symbol
|
|
82
|
+
*/
|
|
83
|
+
quote_asset_symbol?: VektorAPI.AssetSymbol;
|
|
84
|
+
}
|
|
85
|
+
export interface BalanceListHistoricalParams {
|
|
86
|
+
/**
|
|
87
|
+
* A list of accounts. Currently only EVM addresses are supported.
|
|
88
|
+
*/
|
|
89
|
+
accounts: Array<VektorAPI.Account>;
|
|
90
|
+
/**
|
|
91
|
+
* A list of asset IDs, EVM addresses or asset symbols
|
|
92
|
+
*/
|
|
93
|
+
assets: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol>;
|
|
94
|
+
/**
|
|
95
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
96
|
+
*/
|
|
97
|
+
blockchain: VektorAPI.BlockchainIDOrBlockchainSymbol;
|
|
98
|
+
/**
|
|
99
|
+
* Either a ISO8601 timestamp or a block number
|
|
100
|
+
*/
|
|
101
|
+
from: VektorAPI.TimestampOrBlockNumber;
|
|
102
|
+
/**
|
|
103
|
+
* Either a ISO8601 timestamp or a block number
|
|
104
|
+
*/
|
|
105
|
+
to: VektorAPI.TimestampOrBlockNumber;
|
|
106
|
+
/**
|
|
107
|
+
* An asset symbol
|
|
108
|
+
*/
|
|
109
|
+
quote_asset_symbol?: VektorAPI.AssetSymbol;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace Balances {
|
|
112
|
+
export { type BalanceListResponse as BalanceListResponse, type BalanceListHistoricalResponse as BalanceListHistoricalResponse, type BalanceListParams as BalanceListParams, type BalanceListHistoricalParams as BalanceListHistoricalParams, };
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=balances.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balances.d.mts","sourceRoot":"","sources":["../../src/resources/vektor/balances.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIxF;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CACZ,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC,sBAAsB,CAAC;IAE7C,KAAK,EAAE,KAAK,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;CAClD;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,IAAI;QACnB;;WAEG;QACH,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC;QAEjC;;WAEG;QACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;KACjC;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,CAAC;IAE1D;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC,8BAA8B,CAAC;IAErD;;OAEG;IACH,EAAE,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,WAAW,CAAC;IAEjD;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;CAC5C;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,CAAC;IAE1D;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC,8BAA8B,CAAC;IAErD;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC,sBAAsB,CAAC;IAEvC;;OAEG;IACH,EAAE,EAAE,SAAS,CAAC,sBAAsB,CAAC;IAErC;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as VektorAPI from "./vektor.js";
|
|
3
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
+
export declare class Balances extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List balances for a given set of assets and addresses
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const balances = await client.vektor.balances.list({
|
|
12
|
+
* accounts: ['0x6b175474e89094c44da98b954eedeac495271d0f'],
|
|
13
|
+
* assets: ['asset_01jbz9qc00f8wr64hfe459gb7y'],
|
|
14
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
list(body: BalanceListParams, options?: RequestOptions): APIPromise<BalanceListResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* List balances for a given set of assets and addresses
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const response =
|
|
25
|
+
* await client.vektor.balances.listHistorical({
|
|
26
|
+
* accounts: [
|
|
27
|
+
* '0x6b175474e89094c44da98b954eedeac495271d0f',
|
|
28
|
+
* ],
|
|
29
|
+
* assets: ['asset_01jbz9qc00f8wr64hfe459gb7y'],
|
|
30
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
31
|
+
* from: '2021-01-01T12:00:00Z',
|
|
32
|
+
* to: '2021-01-01T12:00:00Z',
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
listHistorical(body: BalanceListHistoricalParams, options?: RequestOptions): APIPromise<BalanceListHistoricalResponse>;
|
|
37
|
+
}
|
|
38
|
+
export interface BalanceListResponse {
|
|
39
|
+
/**
|
|
40
|
+
* Array of Balance
|
|
41
|
+
*/
|
|
42
|
+
items: Array<VektorAPI.Balance>;
|
|
43
|
+
}
|
|
44
|
+
export interface BalanceListHistoricalResponse {
|
|
45
|
+
/**
|
|
46
|
+
* A range of blockstamps
|
|
47
|
+
*/
|
|
48
|
+
historical: VektorAPI.OnChainHistoricalRange;
|
|
49
|
+
items: Array<BalanceListHistoricalResponse.Item>;
|
|
50
|
+
}
|
|
51
|
+
export declare namespace BalanceListHistoricalResponse {
|
|
52
|
+
interface Item {
|
|
53
|
+
/**
|
|
54
|
+
* Information about a specific block number and its timestamp
|
|
55
|
+
*/
|
|
56
|
+
blockstamp: VektorAPI.Blockstamp;
|
|
57
|
+
/**
|
|
58
|
+
* Array of Balance
|
|
59
|
+
*/
|
|
60
|
+
items: Array<VektorAPI.Balance>;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export interface BalanceListParams {
|
|
64
|
+
/**
|
|
65
|
+
* A list of accounts. Currently only EVM addresses are supported.
|
|
66
|
+
*/
|
|
67
|
+
accounts: Array<VektorAPI.Account>;
|
|
68
|
+
/**
|
|
69
|
+
* A list of asset IDs, EVM addresses or asset symbols
|
|
70
|
+
*/
|
|
71
|
+
assets: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol>;
|
|
72
|
+
/**
|
|
73
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
74
|
+
*/
|
|
75
|
+
blockchain: VektorAPI.BlockchainIDOrBlockchainSymbol;
|
|
76
|
+
/**
|
|
77
|
+
* Either a ISO8601 timestamp or a block number
|
|
78
|
+
*/
|
|
79
|
+
at?: VektorAPI.Timestamp | VektorAPI.BlockNumber;
|
|
80
|
+
/**
|
|
81
|
+
* An asset symbol
|
|
82
|
+
*/
|
|
83
|
+
quote_asset_symbol?: VektorAPI.AssetSymbol;
|
|
84
|
+
}
|
|
85
|
+
export interface BalanceListHistoricalParams {
|
|
86
|
+
/**
|
|
87
|
+
* A list of accounts. Currently only EVM addresses are supported.
|
|
88
|
+
*/
|
|
89
|
+
accounts: Array<VektorAPI.Account>;
|
|
90
|
+
/**
|
|
91
|
+
* A list of asset IDs, EVM addresses or asset symbols
|
|
92
|
+
*/
|
|
93
|
+
assets: Array<VektorAPI.AssetIDOrAddressEVMOrAssetSymbol>;
|
|
94
|
+
/**
|
|
95
|
+
* A blockchain ID, represented as a TypeID with `blockchain` prefix
|
|
96
|
+
*/
|
|
97
|
+
blockchain: VektorAPI.BlockchainIDOrBlockchainSymbol;
|
|
98
|
+
/**
|
|
99
|
+
* Either a ISO8601 timestamp or a block number
|
|
100
|
+
*/
|
|
101
|
+
from: VektorAPI.TimestampOrBlockNumber;
|
|
102
|
+
/**
|
|
103
|
+
* Either a ISO8601 timestamp or a block number
|
|
104
|
+
*/
|
|
105
|
+
to: VektorAPI.TimestampOrBlockNumber;
|
|
106
|
+
/**
|
|
107
|
+
* An asset symbol
|
|
108
|
+
*/
|
|
109
|
+
quote_asset_symbol?: VektorAPI.AssetSymbol;
|
|
110
|
+
}
|
|
111
|
+
export declare namespace Balances {
|
|
112
|
+
export { type BalanceListResponse as BalanceListResponse, type BalanceListHistoricalResponse as BalanceListHistoricalResponse, type BalanceListParams as BalanceListParams, type BalanceListHistoricalParams as BalanceListHistoricalParams, };
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=balances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balances.d.ts","sourceRoot":"","sources":["../../src/resources/vektor/balances.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;IAIxF;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CACZ,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;CAG7C;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC,sBAAsB,CAAC;IAE7C,KAAK,EAAE,KAAK,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;CAClD;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,IAAI;QACnB;;WAEG;QACH,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC;QAEjC;;WAEG;QACH,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;KACjC;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,CAAC;IAE1D;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC,8BAA8B,CAAC;IAErD;;OAEG;IACH,EAAE,CAAC,EAAE,SAAS,CAAC,SAAS,GAAG,SAAS,CAAC,WAAW,CAAC;IAEjD;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;CAC5C;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAEnC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,gCAAgC,CAAC,CAAC;IAE1D;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC,8BAA8B,CAAC;IAErD;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC,sBAAsB,CAAC;IAEvC;;OAEG;IACH,EAAE,EAAE,SAAS,CAAC,sBAAsB,CAAC;IAErC;;OAEG;IACH,kBAAkB,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC;CAC5C;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Balances = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
class Balances extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* List balances for a given set of assets and addresses
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const balances = await client.vektor.balances.list({
|
|
13
|
+
* accounts: ['0x6b175474e89094c44da98b954eedeac495271d0f'],
|
|
14
|
+
* assets: ['asset_01jbz9qc00f8wr64hfe459gb7y'],
|
|
15
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
list(body, options) {
|
|
20
|
+
return this._client.post('/v1/vektor/balances', { body, ...options });
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List balances for a given set of assets and addresses
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const response =
|
|
28
|
+
* await client.vektor.balances.listHistorical({
|
|
29
|
+
* accounts: [
|
|
30
|
+
* '0x6b175474e89094c44da98b954eedeac495271d0f',
|
|
31
|
+
* ],
|
|
32
|
+
* assets: ['asset_01jbz9qc00f8wr64hfe459gb7y'],
|
|
33
|
+
* blockchain: 'blockchain_01jbz9nsy8egar70jg79dkwmaf',
|
|
34
|
+
* from: '2021-01-01T12:00:00Z',
|
|
35
|
+
* to: '2021-01-01T12:00:00Z',
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
listHistorical(body, options) {
|
|
40
|
+
return this._client.post('/v1/vektor/balances/historical', { body, ...options });
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.Balances = Balances;
|
|
44
|
+
//# sourceMappingURL=balances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balances.js","sourceRoot":"","sources":["../../src/resources/vektor/balances.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,IAAuB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,cAAc,CACZ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;CACF;AAxCD,4BAwCC"}
|