@polyester/sdk 0.0.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 +1 -0
- package/LICENSE +7 -0
- package/README.md +55 -0
- package/SECURITY.md +14 -0
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/account-signer/create-polyester-account-signer.d.ts +28 -0
- package/dist/account-signer/create-polyester-account-signer.d.ts.map +1 -0
- package/dist/account-signer/create-polyester-account-signer.js +101 -0
- package/dist/account-signer/create-polyester-account-signer.js.map +1 -0
- package/dist/account-signer/index.d.ts +3 -0
- package/dist/account-signer/index.js +3 -0
- package/dist/account-signer/predict-safe-address.js +230 -0
- package/dist/account-signer/predict-safe-address.js.map +1 -0
- package/dist/account-signer/types.d.ts +40 -0
- package/dist/account-signer/types.d.ts.map +1 -0
- package/dist/account-signer/types.js +29 -0
- package/dist/account-signer/types.js.map +1 -0
- package/dist/browser-client.d.ts +37 -0
- package/dist/browser-client.d.ts.map +1 -0
- package/dist/browser-client.js +69 -0
- package/dist/browser-client.js.map +1 -0
- package/dist/catalogs/client-catalog.d.ts +6 -0
- package/dist/catalogs/client-catalog.d.ts.map +1 -0
- package/dist/catalogs/client-catalog.js +88 -0
- package/dist/catalogs/client-catalog.js.map +1 -0
- package/dist/catalogs/decimal.js +92 -0
- package/dist/catalogs/decimal.js.map +1 -0
- package/dist/catalogs/index.d.ts +10 -0
- package/dist/catalogs/index.js +8 -0
- package/dist/catalogs/indexes.js +36 -0
- package/dist/catalogs/indexes.js.map +1 -0
- package/dist/catalogs/market-data-catalog.d.ts +37 -0
- package/dist/catalogs/market-data-catalog.d.ts.map +1 -0
- package/dist/catalogs/market-data-catalog.js +49 -0
- package/dist/catalogs/market-data-catalog.js.map +1 -0
- package/dist/catalogs/readers.d.ts +6 -0
- package/dist/catalogs/readers.d.ts.map +1 -0
- package/dist/catalogs/readers.js +545 -0
- package/dist/catalogs/readers.js.map +1 -0
- package/dist/catalogs/snapshot.d.ts +18 -0
- package/dist/catalogs/snapshot.d.ts.map +1 -0
- package/dist/catalogs/snapshot.js +16 -0
- package/dist/catalogs/snapshot.js.map +1 -0
- package/dist/catalogs/types.d.ts +268 -0
- package/dist/catalogs/types.d.ts.map +1 -0
- package/dist/catalogs/types.js +48 -0
- package/dist/catalogs/types.js.map +1 -0
- package/dist/catalogs/unknown-asset.d.ts +27 -0
- package/dist/catalogs/unknown-asset.d.ts.map +1 -0
- package/dist/catalogs/unknown-asset.js +38 -0
- package/dist/catalogs/unknown-asset.js.map +1 -0
- package/dist/catalogs/zipper-catalog.d.ts +33 -0
- package/dist/catalogs/zipper-catalog.d.ts.map +1 -0
- package/dist/catalogs/zipper-catalog.js +54 -0
- package/dist/catalogs/zipper-catalog.js.map +1 -0
- package/dist/catalogs/zipper-supply.d.ts +10 -0
- package/dist/catalogs/zipper-supply.d.ts.map +1 -0
- package/dist/catalogs/zipper-supply.js +40 -0
- package/dist/catalogs/zipper-supply.js.map +1 -0
- package/dist/core-client.d.ts +155 -0
- package/dist/core-client.d.ts.map +1 -0
- package/dist/core-client.js +266 -0
- package/dist/core-client.js.map +1 -0
- package/dist/environment.d.ts +57 -0
- package/dist/environment.d.ts.map +1 -0
- package/dist/environment.js +153 -0
- package/dist/environment.js.map +1 -0
- package/dist/gen/auth/v1/address_book_pb.d.ts +2012 -0
- package/dist/gen/auth/v1/address_book_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/address_book_pb.js +505 -0
- package/dist/gen/auth/v1/address_book_pb.js.map +1 -0
- package/dist/gen/auth/v1/api_keys_pb.d.ts +496 -0
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/api_keys_pb.js +137 -0
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -0
- package/dist/gen/auth/v1/auth_pb.d.ts +523 -0
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/auth_pb.js +313 -0
- package/dist/gen/auth/v1/auth_pb.js.map +1 -0
- package/dist/gen/auth/v1/mfa_pb.d.ts +1020 -0
- package/dist/gen/auth/v1/mfa_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/mfa_pb.js +315 -0
- package/dist/gen/auth/v1/mfa_pb.js.map +1 -0
- package/dist/gen/auth/v1/policies_pb.d.ts +1410 -0
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/policies_pb.js +341 -0
- package/dist/gen/auth/v1/policies_pb.js.map +1 -0
- package/dist/gen/auth/v1/profile_pb.d.ts +370 -0
- package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/profile_pb.js +114 -0
- package/dist/gen/auth/v1/profile_pb.js.map +1 -0
- package/dist/gen/auth/v1/resolve_pb.d.ts +174 -0
- package/dist/gen/auth/v1/resolve_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/resolve_pb.js +80 -0
- package/dist/gen/auth/v1/resolve_pb.js.map +1 -0
- package/dist/gen/auth/v1/social_verification_pb.d.ts +408 -0
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/social_verification_pb.js +196 -0
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -0
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +1490 -0
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/subaccounts_pb.js +574 -0
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -0
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +426 -0
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts.map +1 -0
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js +119 -0
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js.map +1 -0
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +158 -0
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -0
- package/dist/gen/chain/deposit/v1/deposit_pb.js +52 -0
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -0
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +588 -0
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts.map +1 -0
- package/dist/gen/chain/guard/v1/guard_signer_pb.js +195 -0
- package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -0
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +1297 -0
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -0
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +408 -0
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -0
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +359 -0
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -0
- package/dist/gen/chain/lifecycle/v1/types_pb.js +322 -0
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -0
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +236 -0
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -0
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +79 -0
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -0
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +349 -0
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts.map +1 -0
- package/dist/gen/chain/zipper/v1/reason_pb.js +330 -0
- package/dist/gen/chain/zipper/v1/reason_pb.js.map +1 -0
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +396 -0
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -0
- package/dist/gen/chain/zipper/v1/zipper_pb.js +70 -0
- package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -0
- package/dist/gen/collab/v1/whiteboard_pb.d.ts +829 -0
- package/dist/gen/collab/v1/whiteboard_pb.d.ts.map +1 -0
- package/dist/gen/collab/v1/whiteboard_pb.js +250 -0
- package/dist/gen/collab/v1/whiteboard_pb.js.map +1 -0
- package/dist/gen/index.d.ts +35 -0
- package/dist/gen/index.js +35 -0
- package/dist/gen/layout/v1/layout_pb.d.ts +1289 -0
- package/dist/gen/layout/v1/layout_pb.d.ts.map +1 -0
- package/dist/gen/layout/v1/layout_pb.js +313 -0
- package/dist/gen/layout/v1/layout_pb.js.map +1 -0
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1000 -0
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -0
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +347 -0
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -0
- package/dist/gen/ledger/v1/catalog_pb.d.ts +129 -0
- package/dist/gen/ledger/v1/catalog_pb.d.ts.map +1 -0
- package/dist/gen/ledger/v1/catalog_pb.js +138 -0
- package/dist/gen/ledger/v1/catalog_pb.js.map +1 -0
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +571 -0
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -0
- package/dist/gen/marketdata/v1/heatmap_pb.js +194 -0
- package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -0
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +1015 -0
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -0
- package/dist/gen/marketdata/v1/marketdata_pb.js +274 -0
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -0
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +419 -0
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -0
- package/dist/gen/marketoverview/v1/marketoverview_pb.js +212 -0
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -0
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +260 -0
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -0
- package/dist/gen/orderbook/v1/orderbook_pb.js +119 -0
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -0
- package/dist/gen/orders/v1/orders_pb.d.ts +2497 -0
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -0
- package/dist/gen/orders/v1/orders_pb.js +1043 -0
- package/dist/gen/orders/v1/orders_pb.js.map +1 -0
- package/dist/gen/orders/v1/orders_read_pb.d.ts +1322 -0
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -0
- package/dist/gen/orders/v1/orders_read_pb.js +408 -0
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -0
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts +192 -0
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts.map +1 -0
- package/dist/gen/polychart/events/v1/polychart_events_pb.js +57 -0
- package/dist/gen/polychart/events/v1/polychart_events_pb.js.map +1 -0
- package/dist/gen/polychart/v1/polychart_pb.d.ts +1208 -0
- package/dist/gen/polychart/v1/polychart_pb.d.ts.map +1 -0
- package/dist/gen/polychart/v1/polychart_pb.js +244 -0
- package/dist/gen/polychart/v1/polychart_pb.js.map +1 -0
- package/dist/gen/polyester/api/options_pb.d.ts +67 -0
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -0
- package/dist/gen/polyester/api/options_pb.js +76 -0
- package/dist/gen/polyester/api/options_pb.js.map +1 -0
- package/dist/gen/polyester/type/v1/u128_pb.d.ts +42 -0
- package/dist/gen/polyester/type/v1/u128_pb.d.ts.map +1 -0
- package/dist/gen/polyester/type/v1/u128_pb.js +20 -0
- package/dist/gen/polyester/type/v1/u128_pb.js.map +1 -0
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +316 -0
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts.map +1 -0
- package/dist/gen/tradews/v1/trade_ws_pb.js +63 -0
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -0
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +235 -0
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -0
- package/dist/gen/transfer/v1/internal_transfer_pb.js +81 -0
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -0
- package/dist/gen/triggers/v1/triggers_pb.d.ts +1731 -0
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -0
- package/dist/gen/triggers/v1/triggers_pb.js +413 -0
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -0
- package/dist/index.d.ts +100 -0
- package/dist/index.js +18 -0
- package/dist/realtime/client.d.ts +18 -0
- package/dist/realtime/client.d.ts.map +1 -0
- package/dist/realtime/client.js +420 -0
- package/dist/realtime/client.js.map +1 -0
- package/dist/realtime/index.d.ts +3 -0
- package/dist/realtime/snapshot-then-stream.js +144 -0
- package/dist/realtime/snapshot-then-stream.js.map +1 -0
- package/dist/realtime/types.d.ts +41 -0
- package/dist/realtime/types.d.ts.map +1 -0
- package/dist/server-client.d.ts +73 -0
- package/dist/server-client.d.ts.map +1 -0
- package/dist/server-client.js +126 -0
- package/dist/server-client.js.map +1 -0
- package/dist/server-session.d.ts +4 -0
- package/dist/server-session.js +3 -0
- package/dist/services/accounts/accounts.codecs.js +17 -0
- package/dist/services/accounts/accounts.codecs.js.map +1 -0
- package/dist/services/accounts/accounts.d.ts +18 -0
- package/dist/services/accounts/accounts.d.ts.map +1 -0
- package/dist/services/accounts/accounts.js +27 -0
- package/dist/services/accounts/accounts.js.map +1 -0
- package/dist/services/accounts/accounts.schemas.d.ts +20 -0
- package/dist/services/accounts/accounts.schemas.d.ts.map +1 -0
- package/dist/services/accounts/accounts.schemas.js +28 -0
- package/dist/services/accounts/accounts.schemas.js.map +1 -0
- package/dist/services/accounts/accounts.types.d.ts +2 -0
- package/dist/services/accounts/index.d.ts +3 -0
- package/dist/services/address-book/address-book.codecs.d.ts +1 -0
- package/dist/services/address-book/address-book.codecs.js +61 -0
- package/dist/services/address-book/address-book.codecs.js.map +1 -0
- package/dist/services/address-book/address-book.d.ts +95 -0
- package/dist/services/address-book/address-book.d.ts.map +1 -0
- package/dist/services/address-book/address-book.js +166 -0
- package/dist/services/address-book/address-book.js.map +1 -0
- package/dist/services/address-book/address-book.schemas.d.ts +1140 -0
- package/dist/services/address-book/address-book.schemas.d.ts.map +1 -0
- package/dist/services/address-book/address-book.schemas.js +343 -0
- package/dist/services/address-book/address-book.schemas.js.map +1 -0
- package/dist/services/address-book/address-book.types.d.ts +2 -0
- package/dist/services/address-book/index.d.ts +4 -0
- package/dist/services/api-keys/api-keys.codecs.js +24 -0
- package/dist/services/api-keys/api-keys.codecs.js.map +1 -0
- package/dist/services/api-keys/api-keys.d.ts +62 -0
- package/dist/services/api-keys/api-keys.d.ts.map +1 -0
- package/dist/services/api-keys/api-keys.js +104 -0
- package/dist/services/api-keys/api-keys.js.map +1 -0
- package/dist/services/api-keys/api-keys.schemas.d.ts +181 -0
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -0
- package/dist/services/api-keys/api-keys.schemas.js +111 -0
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -0
- package/dist/services/api-keys/api-keys.types.d.ts +2 -0
- package/dist/services/api-keys/index.d.ts +3 -0
- package/dist/services/auth/account-signer-auth.d.ts +131 -0
- package/dist/services/auth/account-signer-auth.d.ts.map +1 -0
- package/dist/services/auth/account-signer-auth.js +337 -0
- package/dist/services/auth/account-signer-auth.js.map +1 -0
- package/dist/services/auth/auth.d.ts +91 -0
- package/dist/services/auth/auth.d.ts.map +1 -0
- package/dist/services/auth/auth.js +71 -0
- package/dist/services/auth/auth.js.map +1 -0
- package/dist/services/auth/auth.types.d.ts +3 -0
- package/dist/services/auth/cookie-constants.d.ts +6 -0
- package/dist/services/auth/cookie-constants.d.ts.map +1 -0
- package/dist/services/auth/cookie-constants.js +8 -0
- package/dist/services/auth/cookie-constants.js.map +1 -0
- package/dist/services/auth/profile/profile.d.ts +35 -0
- package/dist/services/auth/profile/profile.d.ts.map +1 -0
- package/dist/services/auth/profile/profile.js +61 -0
- package/dist/services/auth/profile/profile.js.map +1 -0
- package/dist/services/auth/profile/profile.schemas.d.ts +58 -0
- package/dist/services/auth/profile/profile.schemas.d.ts.map +1 -0
- package/dist/services/auth/profile/profile.schemas.js +39 -0
- package/dist/services/auth/profile/profile.schemas.js.map +1 -0
- package/dist/services/auth/profile/profile.types.d.ts +2 -0
- package/dist/services/auth/session-codec.js +22 -0
- package/dist/services/auth/session-codec.js.map +1 -0
- package/dist/services/auth/session.d.ts +51 -0
- package/dist/services/auth/session.d.ts.map +1 -0
- package/dist/services/auth/session.js +200 -0
- package/dist/services/auth/session.js.map +1 -0
- package/dist/services/auth/session.schemas.js +41 -0
- package/dist/services/auth/session.schemas.js.map +1 -0
- package/dist/services/auth/session.types.d.ts +70 -0
- package/dist/services/auth/session.types.d.ts.map +1 -0
- package/dist/services/auth/token-storage.d.ts +27 -0
- package/dist/services/auth/token-storage.d.ts.map +1 -0
- package/dist/services/auth/token-storage.js +61 -0
- package/dist/services/auth/token-storage.js.map +1 -0
- package/dist/services/balances/balances.codecs.js +29 -0
- package/dist/services/balances/balances.codecs.js.map +1 -0
- package/dist/services/balances/balances.d.ts +39 -0
- package/dist/services/balances/balances.d.ts.map +1 -0
- package/dist/services/balances/balances.js +85 -0
- package/dist/services/balances/balances.js.map +1 -0
- package/dist/services/balances/balances.merge.d.ts +9 -0
- package/dist/services/balances/balances.merge.d.ts.map +1 -0
- package/dist/services/balances/balances.merge.js +31 -0
- package/dist/services/balances/balances.merge.js.map +1 -0
- package/dist/services/balances/balances.schemas.d.ts +265 -0
- package/dist/services/balances/balances.schemas.d.ts.map +1 -0
- package/dist/services/balances/balances.schemas.js +167 -0
- package/dist/services/balances/balances.schemas.js.map +1 -0
- package/dist/services/balances/balances.types.d.ts +2 -0
- package/dist/services/balances/index.d.ts +4 -0
- package/dist/services/candles/candles.codecs.js +48 -0
- package/dist/services/candles/candles.codecs.js.map +1 -0
- package/dist/services/candles/candles.d.ts +45 -0
- package/dist/services/candles/candles.d.ts.map +1 -0
- package/dist/services/candles/candles.js +108 -0
- package/dist/services/candles/candles.js.map +1 -0
- package/dist/services/candles/candles.schemas.d.ts +182 -0
- package/dist/services/candles/candles.schemas.d.ts.map +1 -0
- package/dist/services/candles/candles.schemas.js +154 -0
- package/dist/services/candles/candles.schemas.js.map +1 -0
- package/dist/services/candles/candles.types.d.ts +2 -0
- package/dist/services/candles/index.d.ts +3 -0
- package/dist/services/chain-analytics/chain-analytics.codecs.d.ts +1 -0
- package/dist/services/chain-analytics/chain-analytics.codecs.js +33 -0
- package/dist/services/chain-analytics/chain-analytics.codecs.js.map +1 -0
- package/dist/services/chain-analytics/chain-analytics.d.ts +27 -0
- package/dist/services/chain-analytics/chain-analytics.d.ts.map +1 -0
- package/dist/services/chain-analytics/chain-analytics.js +48 -0
- package/dist/services/chain-analytics/chain-analytics.js.map +1 -0
- package/dist/services/chain-analytics/chain-analytics.schemas.d.ts +192 -0
- package/dist/services/chain-analytics/chain-analytics.schemas.d.ts.map +1 -0
- package/dist/services/chain-analytics/chain-analytics.schemas.js +100 -0
- package/dist/services/chain-analytics/chain-analytics.schemas.js.map +1 -0
- package/dist/services/chain-analytics/chain-analytics.types.d.ts +2 -0
- package/dist/services/chain-analytics/index.d.ts +4 -0
- package/dist/services/deposit/deposit.d.ts +23 -0
- package/dist/services/deposit/deposit.d.ts.map +1 -0
- package/dist/services/deposit/deposit.js +42 -0
- package/dist/services/deposit/deposit.js.map +1 -0
- package/dist/services/deposit/deposit.schemas.d.ts +40 -0
- package/dist/services/deposit/deposit.schemas.d.ts.map +1 -0
- package/dist/services/deposit/deposit.schemas.js +27 -0
- package/dist/services/deposit/deposit.schemas.js.map +1 -0
- package/dist/services/deposit/deposit.types.d.ts +2 -0
- package/dist/services/deposit/index.d.ts +3 -0
- package/dist/services/guard-signer/guard-signer.codecs.d.ts +1 -0
- package/dist/services/guard-signer/guard-signer.codecs.js +33 -0
- package/dist/services/guard-signer/guard-signer.codecs.js.map +1 -0
- package/dist/services/guard-signer/guard-signer.d.ts +40 -0
- package/dist/services/guard-signer/guard-signer.d.ts.map +1 -0
- package/dist/services/guard-signer/guard-signer.js +85 -0
- package/dist/services/guard-signer/guard-signer.js.map +1 -0
- package/dist/services/guard-signer/guard-signer.schemas.d.ts +269 -0
- package/dist/services/guard-signer/guard-signer.schemas.d.ts.map +1 -0
- package/dist/services/guard-signer/guard-signer.schemas.js +93 -0
- package/dist/services/guard-signer/guard-signer.schemas.js.map +1 -0
- package/dist/services/guard-signer/guard-signer.types.d.ts +2 -0
- package/dist/services/guard-signer/index.d.ts +4 -0
- package/dist/services/heatmap/heatmap.codecs.d.ts +11 -0
- package/dist/services/heatmap/heatmap.codecs.d.ts.map +1 -0
- package/dist/services/heatmap/heatmap.codecs.js +76 -0
- package/dist/services/heatmap/heatmap.codecs.js.map +1 -0
- package/dist/services/heatmap/heatmap.d.ts +33 -0
- package/dist/services/heatmap/heatmap.d.ts.map +1 -0
- package/dist/services/heatmap/heatmap.js +79 -0
- package/dist/services/heatmap/heatmap.js.map +1 -0
- package/dist/services/heatmap/heatmap.schemas.d.ts +412 -0
- package/dist/services/heatmap/heatmap.schemas.d.ts.map +1 -0
- package/dist/services/heatmap/heatmap.schemas.js +174 -0
- package/dist/services/heatmap/heatmap.schemas.js.map +1 -0
- package/dist/services/heatmap/heatmap.types.d.ts +3 -0
- package/dist/services/heatmap/index.d.ts +4 -0
- package/dist/services/internal-transfers/index.d.ts +3 -0
- package/dist/services/internal-transfers/internal-transfers.codecs.js +10 -0
- package/dist/services/internal-transfers/internal-transfers.codecs.js.map +1 -0
- package/dist/services/internal-transfers/internal-transfers.d.ts +20 -0
- package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -0
- package/dist/services/internal-transfers/internal-transfers.js +39 -0
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -0
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +174 -0
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -0
- package/dist/services/internal-transfers/internal-transfers.schemas.js +90 -0
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -0
- package/dist/services/internal-transfers/internal-transfers.types.d.ts +2 -0
- package/dist/services/lifecycle/index.d.ts +4 -0
- package/dist/services/lifecycle/lifecycle.codecs.d.ts +23 -0
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -0
- package/dist/services/lifecycle/lifecycle.codecs.js +171 -0
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -0
- package/dist/services/lifecycle/lifecycle.d.ts +42 -0
- package/dist/services/lifecycle/lifecycle.d.ts.map +1 -0
- package/dist/services/lifecycle/lifecycle.js +87 -0
- package/dist/services/lifecycle/lifecycle.js.map +1 -0
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +2107 -0
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -0
- package/dist/services/lifecycle/lifecycle.schemas.js +282 -0
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -0
- package/dist/services/lifecycle/lifecycle.types.d.ts +2 -0
- package/dist/services/market-data/index.d.ts +4 -0
- package/dist/services/market-data/market-data.codecs.js +18 -0
- package/dist/services/market-data/market-data.codecs.js.map +1 -0
- package/dist/services/market-data/market-data.d.ts +40 -0
- package/dist/services/market-data/market-data.d.ts.map +1 -0
- package/dist/services/market-data/market-data.js +75 -0
- package/dist/services/market-data/market-data.js.map +1 -0
- package/dist/services/market-data/market-data.schemas.d.ts +56 -0
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -0
- package/dist/services/market-data/market-data.schemas.js +178 -0
- package/dist/services/market-data/market-data.schemas.js.map +1 -0
- package/dist/services/market-data/market-data.types.d.ts +3 -0
- package/dist/services/market-overview/index.d.ts +4 -0
- package/dist/services/market-overview/market-overview.codecs.d.ts +1 -0
- package/dist/services/market-overview/market-overview.codecs.js +44 -0
- package/dist/services/market-overview/market-overview.codecs.js.map +1 -0
- package/dist/services/market-overview/market-overview.d.ts +32 -0
- package/dist/services/market-overview/market-overview.d.ts.map +1 -0
- package/dist/services/market-overview/market-overview.js +100 -0
- package/dist/services/market-overview/market-overview.js.map +1 -0
- package/dist/services/market-overview/market-overview.schemas.d.ts +85 -0
- package/dist/services/market-overview/market-overview.schemas.d.ts.map +1 -0
- package/dist/services/market-overview/market-overview.schemas.js +71 -0
- package/dist/services/market-overview/market-overview.schemas.js.map +1 -0
- package/dist/services/market-overview/market-overview.types.d.ts +2 -0
- package/dist/services/mfa/index.d.ts +4 -0
- package/dist/services/mfa/mfa.codecs.d.ts +1 -0
- package/dist/services/mfa/mfa.codecs.js +44 -0
- package/dist/services/mfa/mfa.codecs.js.map +1 -0
- package/dist/services/mfa/mfa.d.ts +74 -0
- package/dist/services/mfa/mfa.d.ts.map +1 -0
- package/dist/services/mfa/mfa.js +139 -0
- package/dist/services/mfa/mfa.js.map +1 -0
- package/dist/services/mfa/mfa.schemas.d.ts +392 -0
- package/dist/services/mfa/mfa.schemas.d.ts.map +1 -0
- package/dist/services/mfa/mfa.schemas.js +132 -0
- package/dist/services/mfa/mfa.schemas.js.map +1 -0
- package/dist/services/mfa/mfa.types.d.ts +2 -0
- package/dist/services/orderbook/index.d.ts +3 -0
- package/dist/services/orderbook/orderbook.codecs.js +45 -0
- package/dist/services/orderbook/orderbook.codecs.js.map +1 -0
- package/dist/services/orderbook/orderbook.d.ts +42 -0
- package/dist/services/orderbook/orderbook.d.ts.map +1 -0
- package/dist/services/orderbook/orderbook.js +193 -0
- package/dist/services/orderbook/orderbook.js.map +1 -0
- package/dist/services/orderbook/orderbook.schemas.d.ts +68 -0
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -0
- package/dist/services/orderbook/orderbook.schemas.js +43 -0
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -0
- package/dist/services/orderbook/orderbook.types.d.ts +3 -0
- package/dist/services/orders/index.d.ts +9 -0
- package/dist/services/orders/order-enums.codecs.js +85 -0
- package/dist/services/orders/order-enums.codecs.js.map +1 -0
- package/dist/services/orders/order-errors.schemas.d.ts +7 -0
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -0
- package/dist/services/orders/order-errors.schemas.js +20 -0
- package/dist/services/orders/order-errors.schemas.js.map +1 -0
- package/dist/services/orders/orders-batch.schemas.d.ts +2979 -0
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -0
- package/dist/services/orders/orders-batch.schemas.js +282 -0
- package/dist/services/orders/orders-batch.schemas.js.map +1 -0
- package/dist/services/orders/orders-identifiers.schemas.js +11 -0
- package/dist/services/orders/orders-identifiers.schemas.js.map +1 -0
- package/dist/services/orders/orders-input.schemas.d.ts +3738 -0
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -0
- package/dist/services/orders/orders-input.schemas.js +267 -0
- package/dist/services/orders/orders-input.schemas.js.map +1 -0
- package/dist/services/orders/orders-modify.schemas.d.ts +1774 -0
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -0
- package/dist/services/orders/orders-modify.schemas.js +132 -0
- package/dist/services/orders/orders-modify.schemas.js.map +1 -0
- package/dist/services/orders/orders-output.schemas.d.ts +598 -0
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -0
- package/dist/services/orders/orders-output.schemas.js +139 -0
- package/dist/services/orders/orders-output.schemas.js.map +1 -0
- package/dist/services/orders/orders-risk.schemas.d.ts +1041 -0
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -0
- package/dist/services/orders/orders-risk.schemas.js +251 -0
- package/dist/services/orders/orders-risk.schemas.js.map +1 -0
- package/dist/services/orders/orders.codecs.js +75 -0
- package/dist/services/orders/orders.codecs.js.map +1 -0
- package/dist/services/orders/orders.d.ts +88 -0
- package/dist/services/orders/orders.d.ts.map +1 -0
- package/dist/services/orders/orders.js +242 -0
- package/dist/services/orders/orders.js.map +1 -0
- package/dist/services/orders/orders.schemas.d.ts +7 -0
- package/dist/services/orders/orders.types.d.ts +8 -0
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts +39 -0
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts.map +1 -0
- package/dist/services/policies/api-key-policies/api-key-policies.js +74 -0
- package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -0
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +392 -0
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts.map +1 -0
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +169 -0
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -0
- package/dist/services/policies/api-key-policies/api-key-policies.types.d.ts +2 -0
- package/dist/services/policies/api-key-policies/index.d.ts +3 -0
- package/dist/services/policies/policies.types.d.ts +2 -0
- package/dist/services/policies/shared.codecs.js +61 -0
- package/dist/services/policies/shared.codecs.js.map +1 -0
- package/dist/services/policies/shared.d.ts +10 -0
- package/dist/services/policies/shared.d.ts.map +1 -0
- package/dist/services/policies/shared.js +33 -0
- package/dist/services/policies/shared.js.map +1 -0
- package/dist/services/policies/subaccount-policies/index.d.ts +3 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +50 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts.map +1 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +93 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +429 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +300 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.types.d.ts +2 -0
- package/dist/services/shared.js +24 -0
- package/dist/services/shared.js.map +1 -0
- package/dist/services/social-verification/index.d.ts +3 -0
- package/dist/services/social-verification/social-verification.codecs.d.ts +1 -0
- package/dist/services/social-verification/social-verification.codecs.js +55 -0
- package/dist/services/social-verification/social-verification.codecs.js.map +1 -0
- package/dist/services/social-verification/social-verification.d.ts +27 -0
- package/dist/services/social-verification/social-verification.d.ts.map +1 -0
- package/dist/services/social-verification/social-verification.js +43 -0
- package/dist/services/social-verification/social-verification.js.map +1 -0
- package/dist/services/social-verification/social-verification.schemas.d.ts +96 -0
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -0
- package/dist/services/social-verification/social-verification.schemas.js +69 -0
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -0
- package/dist/services/social-verification/social-verification.types.d.ts +2 -0
- package/dist/services/subaccount-resolver.d.ts +14 -0
- package/dist/services/subaccount-resolver.d.ts.map +1 -0
- package/dist/services/subaccount-resolver.js +33 -0
- package/dist/services/subaccount-resolver.js.map +1 -0
- package/dist/services/subaccounts/index.d.ts +3 -0
- package/dist/services/subaccounts/subaccounts.codecs.js +94 -0
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -0
- package/dist/services/subaccounts/subaccounts.d.ts +102 -0
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -0
- package/dist/services/subaccounts/subaccounts.js +196 -0
- package/dist/services/subaccounts/subaccounts.js.map +1 -0
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +257 -0
- package/dist/services/subaccounts/subaccounts.schemas.d.ts.map +1 -0
- package/dist/services/subaccounts/subaccounts.schemas.js +178 -0
- package/dist/services/subaccounts/subaccounts.schemas.js.map +1 -0
- package/dist/services/subaccounts/subaccounts.types.d.ts +2 -0
- package/dist/services/trades/index.d.ts +3 -0
- package/dist/services/trades/trades.codecs.js +10 -0
- package/dist/services/trades/trades.codecs.js.map +1 -0
- package/dist/services/trades/trades.d.ts +33 -0
- package/dist/services/trades/trades.d.ts.map +1 -0
- package/dist/services/trades/trades.js +64 -0
- package/dist/services/trades/trades.js.map +1 -0
- package/dist/services/trades/trades.schemas.d.ts +80 -0
- package/dist/services/trades/trades.schemas.d.ts.map +1 -0
- package/dist/services/trades/trades.schemas.js +66 -0
- package/dist/services/trades/trades.schemas.js.map +1 -0
- package/dist/services/trades/trades.types.d.ts +2 -0
- package/dist/services/trading-withdraws/index.d.ts +4 -0
- package/dist/services/trading-withdraws/trading-withdraws.codecs.d.ts +1 -0
- package/dist/services/trading-withdraws/trading-withdraws.codecs.js +10 -0
- package/dist/services/trading-withdraws/trading-withdraws.codecs.js.map +1 -0
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +124 -0
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -0
- package/dist/services/trading-withdraws/trading-withdraws.js +218 -0
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +73 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +95 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -0
- package/dist/services/trading-withdraws/trading-withdraws.types.d.ts +3 -0
- package/dist/services/trailing-oneof-inputs.js +49 -0
- package/dist/services/trailing-oneof-inputs.js.map +1 -0
- package/dist/services/transfers/index.d.ts +4 -0
- package/dist/services/transfers/transfers.codecs.d.ts +6 -0
- package/dist/services/transfers/transfers.codecs.d.ts.map +1 -0
- package/dist/services/transfers/transfers.codecs.js +15 -0
- package/dist/services/transfers/transfers.codecs.js.map +1 -0
- package/dist/services/transfers/transfers.d.ts +33 -0
- package/dist/services/transfers/transfers.d.ts.map +1 -0
- package/dist/services/transfers/transfers.js +63 -0
- package/dist/services/transfers/transfers.js.map +1 -0
- package/dist/services/transfers/transfers.schemas.d.ts +121 -0
- package/dist/services/transfers/transfers.schemas.d.ts.map +1 -0
- package/dist/services/transfers/transfers.schemas.js +77 -0
- package/dist/services/transfers/transfers.schemas.js.map +1 -0
- package/dist/services/transfers/transfers.types.d.ts +3 -0
- package/dist/services/triggers/index.d.ts +5 -0
- package/dist/services/triggers/trigger-child-order.schemas.js +89 -0
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -0
- package/dist/services/triggers/trigger-input.schemas.d.ts +1009 -0
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -0
- package/dist/services/triggers/trigger-input.schemas.js +270 -0
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -0
- package/dist/services/triggers/triggers-output.schemas.d.ts +688 -0
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -0
- package/dist/services/triggers/triggers-output.schemas.js +372 -0
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -0
- package/dist/services/triggers/triggers.codecs.js +100 -0
- package/dist/services/triggers/triggers.codecs.js.map +1 -0
- package/dist/services/triggers/triggers.d.ts +71 -0
- package/dist/services/triggers/triggers.d.ts.map +1 -0
- package/dist/services/triggers/triggers.js +176 -0
- package/dist/services/triggers/triggers.js.map +1 -0
- package/dist/services/triggers/triggers.schemas.d.ts +3 -0
- package/dist/services/triggers/triggers.types.d.ts +5 -0
- package/dist/services/whiteboard/index.d.ts +3 -0
- package/dist/services/whiteboard/whiteboard.codecs.js +55 -0
- package/dist/services/whiteboard/whiteboard.codecs.js.map +1 -0
- package/dist/services/whiteboard/whiteboard.d.ts +42 -0
- package/dist/services/whiteboard/whiteboard.d.ts.map +1 -0
- package/dist/services/whiteboard/whiteboard.js +76 -0
- package/dist/services/whiteboard/whiteboard.js.map +1 -0
- package/dist/services/whiteboard/whiteboard.schemas.d.ts +771 -0
- package/dist/services/whiteboard/whiteboard.schemas.d.ts.map +1 -0
- package/dist/services/whiteboard/whiteboard.schemas.js +133 -0
- package/dist/services/whiteboard/whiteboard.schemas.js.map +1 -0
- package/dist/services/whiteboard/whiteboard.types.d.ts +2 -0
- package/dist/services/zipper/index.d.ts +4 -0
- package/dist/services/zipper/zipper.d.ts +28 -0
- package/dist/services/zipper/zipper.d.ts.map +1 -0
- package/dist/services/zipper/zipper.js +84 -0
- package/dist/services/zipper/zipper.js.map +1 -0
- package/dist/services/zipper/zipper.schemas.d.ts +13 -0
- package/dist/services/zipper/zipper.schemas.d.ts.map +1 -0
- package/dist/services/zipper/zipper.schemas.js +89 -0
- package/dist/services/zipper/zipper.schemas.js.map +1 -0
- package/dist/services/zipper/zipper.types.d.ts +4 -0
- package/dist/shared/account-scope.d.ts +17 -0
- package/dist/shared/account-scope.d.ts.map +1 -0
- package/dist/shared/account-scope.js +14 -0
- package/dist/shared/account-scope.js.map +1 -0
- package/dist/shared/catalog-config.d.ts +95 -0
- package/dist/shared/catalog-config.d.ts.map +1 -0
- package/dist/shared/catalog-config.js +12 -0
- package/dist/shared/catalog-config.js.map +1 -0
- package/dist/shared/connect-error-mapping.d.ts +23 -0
- package/dist/shared/connect-error-mapping.d.ts.map +1 -0
- package/dist/shared/connect-error-mapping.js +147 -0
- package/dist/shared/connect-error-mapping.js.map +1 -0
- package/dist/shared/decimal-surface.d.ts +18 -0
- package/dist/shared/decimal-surface.d.ts.map +1 -0
- package/dist/shared/decimal-surface.js +89 -0
- package/dist/shared/decimal-surface.js.map +1 -0
- package/dist/shared/errors.d.ts +242 -0
- package/dist/shared/errors.d.ts.map +1 -0
- package/dist/shared/errors.js +271 -0
- package/dist/shared/errors.js.map +1 -0
- package/dist/shared/ledger-codes.d.ts +9 -0
- package/dist/shared/ledger-codes.d.ts.map +1 -0
- package/dist/shared/ledger-codes.js +63 -0
- package/dist/shared/ledger-codes.js.map +1 -0
- package/dist/shared/proto-enum-codec.js +13 -0
- package/dist/shared/proto-enum-codec.js.map +1 -0
- package/dist/shared/reconciliation.d.ts +14 -0
- package/dist/shared/reconciliation.d.ts.map +1 -0
- package/dist/shared/reconciliation.js +30 -0
- package/dist/shared/reconciliation.js.map +1 -0
- package/dist/shared/request-options.d.ts +10 -0
- package/dist/shared/request-options.d.ts.map +1 -0
- package/dist/shared/request-options.js +22 -0
- package/dist/shared/request-options.js.map +1 -0
- package/dist/shared/schemas.js +65 -0
- package/dist/shared/schemas.js.map +1 -0
- package/dist/shared/subscription-errors.d.ts +14 -0
- package/dist/shared/subscription-errors.d.ts.map +1 -0
- package/dist/shared/subscription-errors.js +49 -0
- package/dist/shared/subscription-errors.js.map +1 -0
- package/dist/shared/transports.d.ts +28 -0
- package/dist/shared/transports.d.ts.map +1 -0
- package/dist/shared/transports.js +111 -0
- package/dist/shared/transports.js.map +1 -0
- package/dist/shared/types.d.ts +11 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/dist/smart-account/index.d.ts +2 -0
- package/dist/smart-account/index.js +2 -0
- package/dist/smart-account/smart-account.d.ts +3093 -0
- package/dist/smart-account/smart-account.d.ts.map +1 -0
- package/dist/smart-account/smart-account.js +94 -0
- package/dist/smart-account/smart-account.js.map +1 -0
- package/dist/utils/base58-id.js +110 -0
- package/dist/utils/base58-id.js.map +1 -0
- package/dist/utils/columnar-time.d.ts +11 -0
- package/dist/utils/columnar-time.d.ts.map +1 -0
- package/dist/utils/columnar-time.js +30 -0
- package/dist/utils/columnar-time.js.map +1 -0
- package/dist/utils/connect-mfa-errors.d.ts +23 -0
- package/dist/utils/connect-mfa-errors.d.ts.map +1 -0
- package/dist/utils/connect-mfa-errors.js +34 -0
- package/dist/utils/connect-mfa-errors.js.map +1 -0
- package/dist/utils/connect-order-errors.d.ts +9 -0
- package/dist/utils/connect-order-errors.d.ts.map +1 -0
- package/dist/utils/connect-order-errors.js +20 -0
- package/dist/utils/connect-order-errors.js.map +1 -0
- package/dist/utils/cookie-es/_utils.js +41 -0
- package/dist/utils/cookie-es/_utils.js.map +1 -0
- package/dist/utils/cookie-es/cookie/parse.js +53 -0
- package/dist/utils/cookie-es/cookie/parse.js.map +1 -0
- package/dist/utils/cookie-es/cookie/serialize.js +145 -0
- package/dist/utils/cookie-es/cookie/serialize.js.map +1 -0
- package/dist/utils/cookies.d.ts +7 -0
- package/dist/utils/cookies.d.ts.map +1 -0
- package/dist/utils/cookies.js +110 -0
- package/dist/utils/cookies.js.map +1 -0
- package/dist/utils/errors.d.ts +36 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +111 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/event-emitter.d.ts +31 -0
- package/dist/utils/event-emitter.d.ts.map +1 -0
- package/dist/utils/event-emitter.js +51 -0
- package/dist/utils/event-emitter.js.map +1 -0
- package/dist/utils/evm.d.ts +33 -0
- package/dist/utils/evm.d.ts.map +1 -0
- package/dist/utils/evm.js +53 -0
- package/dist/utils/evm.js.map +1 -0
- package/dist/utils/is-dev.js +57 -0
- package/dist/utils/is-dev.js.map +1 -0
- package/dist/utils/jwt.d.ts +8 -0
- package/dist/utils/jwt.d.ts.map +1 -0
- package/dist/utils/jwt.js +74 -0
- package/dist/utils/jwt.js.map +1 -0
- package/dist/utils/numbers.js +60 -0
- package/dist/utils/numbers.js.map +1 -0
- package/dist/utils/proto-patch.js +29 -0
- package/dist/utils/proto-patch.js.map +1 -0
- package/dist/utils/remove-undefined.js +12 -0
- package/dist/utils/remove-undefined.js.map +1 -0
- package/dist/utils/streams.js +19 -0
- package/dist/utils/streams.js.map +1 -0
- package/dist/utils/time.d.ts +22 -0
- package/dist/utils/time.d.ts.map +1 -0
- package/dist/utils/time.js +71 -0
- package/dist/utils/time.js.map +1 -0
- package/dist/utils/timestamp.js +52 -0
- package/dist/utils/timestamp.js.map +1 -0
- package/dist/utils/types.d.ts +6 -0
- package/dist/utils/types.d.ts.map +1 -0
- package/dist/utils/u128.d.ts +8 -0
- package/dist/utils/u128.d.ts.map +1 -0
- package/dist/utils/u128.js +43 -0
- package/dist/utils/u128.js.map +1 -0
- package/dist/wired-services.d.ts +15 -0
- package/dist/wired-services.d.ts.map +1 -0
- package/dist/wired-services.js +67 -0
- package/dist/wired-services.js.map +1 -0
- package/package.json +117 -0
|
@@ -0,0 +1,1140 @@
|
|
|
1
|
+
import { SubaccountRole } from "../../gen/auth/v1/subaccounts_pb.js";
|
|
2
|
+
import { AccountScopeType, AddressBookEntryKind, DestinationWhitelistStatus, InternalWhitelistResolutionStatus, TransferCounterpartyDirection } from "../../gen/auth/v1/address_book_pb.js";
|
|
3
|
+
import * as v from "valibot";
|
|
4
|
+
//#region src/services/address-book/address-book.schemas.d.ts
|
|
5
|
+
declare const ListAddressBookEntriesInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
6
|
+
readonly kind: v.OptionalSchema<v.PicklistSchema<readonly ["external", "internal"], undefined>, undefined>;
|
|
7
|
+
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 500, undefined>]>, undefined>;
|
|
8
|
+
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
9
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
10
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
11
|
+
}, undefined>], undefined>, undefined>;
|
|
12
|
+
}, undefined>, v.TransformAction<{
|
|
13
|
+
kind?: "external" | "internal" | undefined;
|
|
14
|
+
limit?: number | undefined;
|
|
15
|
+
pageToken: string;
|
|
16
|
+
account?: "active" | "main" | {
|
|
17
|
+
subaccountId: string;
|
|
18
|
+
} | undefined;
|
|
19
|
+
}, {
|
|
20
|
+
subaccountId: bigint | undefined;
|
|
21
|
+
kind: AddressBookEntryKind.EXTERNAL_CHAIN | AddressBookEntryKind.INTERNAL_ACCOUNT | undefined;
|
|
22
|
+
limit: number | undefined;
|
|
23
|
+
pageToken: string;
|
|
24
|
+
}>]>;
|
|
25
|
+
type ListAddressBookEntriesInput = v.InferInput<typeof ListAddressBookEntriesInputSchema>;
|
|
26
|
+
declare const CreateAddressBookEntryInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
27
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
28
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
29
|
+
readonly entry: v.VariantSchema<"kind", [v.StrictObjectSchema<{
|
|
30
|
+
readonly kind: v.LiteralSchema<"external", undefined>;
|
|
31
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>]>;
|
|
32
|
+
readonly address: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
33
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
34
|
+
readonly kind: v.LiteralSchema<"internal", undefined>;
|
|
35
|
+
readonly smartAccountAddress: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
36
|
+
}, undefined>], undefined>;
|
|
37
|
+
readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>, undefined>, readonly []>;
|
|
38
|
+
readonly newTags: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
39
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
40
|
+
readonly color: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
41
|
+
}, undefined>, undefined>, readonly []>;
|
|
42
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
43
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
44
|
+
}, undefined>], undefined>, undefined>;
|
|
45
|
+
}, undefined>, v.TransformAction<{
|
|
46
|
+
label: string;
|
|
47
|
+
note: string;
|
|
48
|
+
entry: {
|
|
49
|
+
kind: "external";
|
|
50
|
+
polychainChainId: number;
|
|
51
|
+
address: string;
|
|
52
|
+
} | {
|
|
53
|
+
kind: "internal";
|
|
54
|
+
smartAccountAddress: string;
|
|
55
|
+
};
|
|
56
|
+
tagIds: bigint[];
|
|
57
|
+
newTags: {
|
|
58
|
+
name: string;
|
|
59
|
+
color: string;
|
|
60
|
+
}[];
|
|
61
|
+
account?: "active" | "main" | {
|
|
62
|
+
subaccountId: string;
|
|
63
|
+
} | undefined;
|
|
64
|
+
}, {
|
|
65
|
+
subaccountId: bigint | undefined;
|
|
66
|
+
entry: {
|
|
67
|
+
case: "external";
|
|
68
|
+
value: {
|
|
69
|
+
polychainChainId: number;
|
|
70
|
+
address: string;
|
|
71
|
+
smartAccountAddress?: undefined;
|
|
72
|
+
};
|
|
73
|
+
} | {
|
|
74
|
+
case: "internal";
|
|
75
|
+
value: {
|
|
76
|
+
smartAccountAddress: string;
|
|
77
|
+
polychainChainId?: undefined;
|
|
78
|
+
address?: undefined;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
label: string;
|
|
82
|
+
note: string;
|
|
83
|
+
tagIds: bigint[];
|
|
84
|
+
newTags: {
|
|
85
|
+
name: string;
|
|
86
|
+
color: string;
|
|
87
|
+
}[];
|
|
88
|
+
}>]>;
|
|
89
|
+
type CreateAddressBookEntryInput = v.InferInput<typeof CreateAddressBookEntryInputSchema>;
|
|
90
|
+
declare function validateCreateAddressBookEntryInput(input: CreateAddressBookEntryInput): void;
|
|
91
|
+
declare const UpdateAddressBookEntryInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
92
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
93
|
+
readonly expectedRevision: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, v.RegexAction<string, `${string} must be a decimal integer`>, v.TransformAction<string, bigint>]>, v.CheckAction<bigint, `${string} must be greater than 0`>]>;
|
|
94
|
+
readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>;
|
|
95
|
+
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>;
|
|
96
|
+
readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>, undefined>, undefined>;
|
|
97
|
+
}, undefined>, v.CheckAction<{
|
|
98
|
+
addressBookEntryId: bigint;
|
|
99
|
+
expectedRevision: bigint;
|
|
100
|
+
label?: string | undefined;
|
|
101
|
+
note?: string | undefined;
|
|
102
|
+
tagIds?: bigint[] | undefined;
|
|
103
|
+
}, "At least one address-book entry field must be provided">, v.TransformAction<{
|
|
104
|
+
addressBookEntryId: bigint;
|
|
105
|
+
expectedRevision: bigint;
|
|
106
|
+
label?: string | undefined;
|
|
107
|
+
note?: string | undefined;
|
|
108
|
+
tagIds?: bigint[] | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
addressBookEntryId: bigint;
|
|
111
|
+
entry: Partial<{
|
|
112
|
+
label: string;
|
|
113
|
+
} & {
|
|
114
|
+
note: string;
|
|
115
|
+
} & {
|
|
116
|
+
tagIds: bigint[];
|
|
117
|
+
}>;
|
|
118
|
+
updateMask: {
|
|
119
|
+
paths: string[];
|
|
120
|
+
};
|
|
121
|
+
expectedRevision: bigint;
|
|
122
|
+
}>]>;
|
|
123
|
+
type UpdateAddressBookEntryInput = v.InferInput<typeof UpdateAddressBookEntryInputSchema>;
|
|
124
|
+
declare const DeleteAddressBookEntryInputSchema: v.StrictObjectSchema<{
|
|
125
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
126
|
+
}, undefined>;
|
|
127
|
+
type DeleteAddressBookEntryInput = v.InferInput<typeof DeleteAddressBookEntryInputSchema>;
|
|
128
|
+
declare const CopyAddressBookEntryInputSchema: v.StrictObjectSchema<{
|
|
129
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
130
|
+
readonly targetSubaccountId: v.SchemaWithPipe<readonly [v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>, v.TransformAction<string | undefined, bigint | undefined>]>;
|
|
131
|
+
}, undefined>;
|
|
132
|
+
type CopyAddressBookEntryInput = v.InferInput<typeof CopyAddressBookEntryInputSchema>;
|
|
133
|
+
declare const CreateAddressBookTagInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
134
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
135
|
+
readonly color: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
136
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
137
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
138
|
+
}, undefined>], undefined>, undefined>;
|
|
139
|
+
}, undefined>, v.TransformAction<{
|
|
140
|
+
name: string;
|
|
141
|
+
color: string;
|
|
142
|
+
account?: "active" | "main" | {
|
|
143
|
+
subaccountId: string;
|
|
144
|
+
} | undefined;
|
|
145
|
+
}, {
|
|
146
|
+
subaccountId: bigint | undefined;
|
|
147
|
+
name: string;
|
|
148
|
+
color: string;
|
|
149
|
+
}>]>;
|
|
150
|
+
type CreateAddressBookTagInput = v.InferInput<typeof CreateAddressBookTagInputSchema>;
|
|
151
|
+
declare const UpdateAddressBookTagInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
152
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
153
|
+
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
154
|
+
readonly color: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, undefined>;
|
|
155
|
+
}, undefined>, v.CheckAction<{
|
|
156
|
+
tagId: bigint;
|
|
157
|
+
name?: string | undefined;
|
|
158
|
+
color?: string | undefined;
|
|
159
|
+
}, "At least one address-book tag field must be provided">]>;
|
|
160
|
+
type UpdateAddressBookTagInput = v.InferInput<typeof UpdateAddressBookTagInputSchema>;
|
|
161
|
+
declare const DeleteAddressBookTagInputSchema: v.StrictObjectSchema<{
|
|
162
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.TransformAction<string, bigint>]>;
|
|
163
|
+
}, undefined>;
|
|
164
|
+
type DeleteAddressBookTagInput = v.InferInput<typeof DeleteAddressBookTagInputSchema>;
|
|
165
|
+
declare const ListTransferCounterpartiesInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
166
|
+
readonly direction: v.OptionalSchema<v.PicklistSchema<readonly ["depositFrom", "withdrawTo", "internalTransferFrom", "internalTransferTo"], undefined>, undefined>;
|
|
167
|
+
readonly kind: v.OptionalSchema<v.PicklistSchema<readonly ["external", "internal"], undefined>, undefined>;
|
|
168
|
+
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 200, undefined>]>, undefined>;
|
|
169
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
170
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
171
|
+
}, undefined>], undefined>, undefined>;
|
|
172
|
+
}, undefined>, v.TransformAction<{
|
|
173
|
+
direction?: "withdrawTo" | "depositFrom" | "internalTransferFrom" | "internalTransferTo" | undefined;
|
|
174
|
+
kind?: "external" | "internal" | undefined;
|
|
175
|
+
limit?: number | undefined;
|
|
176
|
+
account?: "active" | "main" | {
|
|
177
|
+
subaccountId: string;
|
|
178
|
+
} | undefined;
|
|
179
|
+
}, {
|
|
180
|
+
subaccountId: bigint | undefined;
|
|
181
|
+
direction: TransferCounterpartyDirection.DEPOSIT_FROM | TransferCounterpartyDirection.WITHDRAW_TO | TransferCounterpartyDirection.INTERNAL_TRANSFER_FROM | TransferCounterpartyDirection.INTERNAL_TRANSFER_TO | undefined;
|
|
182
|
+
kind: AddressBookEntryKind.EXTERNAL_CHAIN | AddressBookEntryKind.INTERNAL_ACCOUNT | undefined;
|
|
183
|
+
limit: number | undefined;
|
|
184
|
+
}>]>;
|
|
185
|
+
type ListTransferCounterpartiesInput = v.InferInput<typeof ListTransferCounterpartiesInputSchema>;
|
|
186
|
+
declare const ListTransferDestinationsInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
187
|
+
readonly kind: v.OptionalSchema<v.PicklistSchema<readonly ["external", "internal"], undefined>, undefined>;
|
|
188
|
+
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 500, undefined>]>, undefined>;
|
|
189
|
+
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
190
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
191
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
192
|
+
}, undefined>], undefined>, undefined>;
|
|
193
|
+
}, undefined>, v.TransformAction<{
|
|
194
|
+
kind?: "external" | "internal" | undefined;
|
|
195
|
+
limit?: number | undefined;
|
|
196
|
+
pageToken: string;
|
|
197
|
+
account?: "active" | "main" | {
|
|
198
|
+
subaccountId: string;
|
|
199
|
+
} | undefined;
|
|
200
|
+
}, {
|
|
201
|
+
subaccountId: bigint | undefined;
|
|
202
|
+
kind: AddressBookEntryKind.EXTERNAL_CHAIN | AddressBookEntryKind.INTERNAL_ACCOUNT | undefined;
|
|
203
|
+
limit: number | undefined;
|
|
204
|
+
pageToken: string;
|
|
205
|
+
}>]>;
|
|
206
|
+
type ListTransferDestinationsInput = v.InferInput<typeof ListTransferDestinationsInputSchema>;
|
|
207
|
+
declare const SubaccountScopedInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
208
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
209
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
210
|
+
}, undefined>], undefined>, undefined>;
|
|
211
|
+
}, undefined>, v.TransformAction<{
|
|
212
|
+
account?: "active" | "main" | {
|
|
213
|
+
subaccountId: string;
|
|
214
|
+
} | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
subaccountId: bigint | undefined;
|
|
217
|
+
}>]>;
|
|
218
|
+
type SubaccountScopedInput = v.InferInput<typeof SubaccountScopedInputSchema>;
|
|
219
|
+
declare const ListInternalTransferWhitelistEntriesInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
220
|
+
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 500, undefined>]>, undefined>;
|
|
221
|
+
readonly pageToken: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction]>, "">;
|
|
222
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
223
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
224
|
+
}, undefined>], undefined>, undefined>;
|
|
225
|
+
}, undefined>, v.TransformAction<{
|
|
226
|
+
limit?: number | undefined;
|
|
227
|
+
pageToken: string;
|
|
228
|
+
account?: "active" | "main" | {
|
|
229
|
+
subaccountId: string;
|
|
230
|
+
} | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
subaccountId: bigint | undefined;
|
|
233
|
+
limit: number | undefined;
|
|
234
|
+
pageToken: string;
|
|
235
|
+
}>]>;
|
|
236
|
+
type ListInternalTransferWhitelistEntriesInput = v.InferInput<typeof ListInternalTransferWhitelistEntriesInputSchema>;
|
|
237
|
+
declare const GetAddressBookViewInputSchema: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
|
|
238
|
+
readonly limit: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.GtValueAction<number, 0, undefined>, v.MaxValueAction<number, 200, undefined>]>, undefined>;
|
|
239
|
+
readonly account: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<["active", "main"], undefined>, v.StrictObjectSchema<{
|
|
240
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>;
|
|
241
|
+
}, undefined>], undefined>, undefined>;
|
|
242
|
+
}, undefined>, v.TransformAction<{
|
|
243
|
+
limit?: number | undefined;
|
|
244
|
+
account?: "active" | "main" | {
|
|
245
|
+
subaccountId: string;
|
|
246
|
+
} | undefined;
|
|
247
|
+
}, {
|
|
248
|
+
subaccountId: bigint | undefined;
|
|
249
|
+
limit: number | undefined;
|
|
250
|
+
}>]>;
|
|
251
|
+
type GetAddressBookViewInput = v.InferInput<typeof GetAddressBookViewInputSchema>;
|
|
252
|
+
declare const AddressBookSchema: v.ObjectSchema<{
|
|
253
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
254
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
255
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
256
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
257
|
+
}, undefined>, undefined>;
|
|
258
|
+
readonly callerRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof SubaccountRole, undefined>, v.TransformAction<SubaccountRole, "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer">]>;
|
|
259
|
+
readonly label: v.StringSchema<undefined>;
|
|
260
|
+
readonly ownerUsername: v.StringSchema<undefined>;
|
|
261
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
262
|
+
}, undefined>;
|
|
263
|
+
type AddressBook = v.InferOutput<typeof AddressBookSchema>;
|
|
264
|
+
declare const AddressBookTagSummarySchema: v.ObjectSchema<{
|
|
265
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
266
|
+
readonly name: v.StringSchema<undefined>;
|
|
267
|
+
readonly color: v.StringSchema<undefined>;
|
|
268
|
+
}, undefined>;
|
|
269
|
+
type AddressBookTagSummary = v.InferOutput<typeof AddressBookTagSummarySchema>;
|
|
270
|
+
declare const AddressBookTagSchema: v.ObjectSchema<{
|
|
271
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
272
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
273
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
274
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
275
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
276
|
+
}, undefined>, undefined>;
|
|
277
|
+
readonly name: v.StringSchema<undefined>;
|
|
278
|
+
readonly color: v.StringSchema<undefined>;
|
|
279
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
280
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
281
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
282
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
283
|
+
seconds: bigint;
|
|
284
|
+
nanos: number;
|
|
285
|
+
} | undefined, number | undefined>]>;
|
|
286
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
287
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
288
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
289
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
290
|
+
seconds: bigint;
|
|
291
|
+
nanos: number;
|
|
292
|
+
} | undefined, number | undefined>]>;
|
|
293
|
+
}, undefined>;
|
|
294
|
+
type AddressBookTag = v.InferOutput<typeof AddressBookTagSchema>;
|
|
295
|
+
declare const AddressBookEntrySchema: v.ObjectSchema<{
|
|
296
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
297
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
298
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
299
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
300
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
301
|
+
}, undefined>, undefined>;
|
|
302
|
+
readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
|
|
303
|
+
readonly label: v.StringSchema<undefined>;
|
|
304
|
+
readonly note: v.StringSchema<undefined>;
|
|
305
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
306
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
307
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
308
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
309
|
+
seconds: bigint;
|
|
310
|
+
nanos: number;
|
|
311
|
+
} | undefined, number | undefined>]>;
|
|
312
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
313
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
314
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
315
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
316
|
+
seconds: bigint;
|
|
317
|
+
nanos: number;
|
|
318
|
+
} | undefined, number | undefined>]>;
|
|
319
|
+
readonly entry: v.VariantSchema<"case", [v.ObjectSchema<{
|
|
320
|
+
readonly case: v.LiteralSchema<"external", undefined>;
|
|
321
|
+
readonly value: v.ObjectSchema<{
|
|
322
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
323
|
+
readonly address: v.StringSchema<undefined>;
|
|
324
|
+
}, undefined>;
|
|
325
|
+
}, undefined>, v.ObjectSchema<{
|
|
326
|
+
readonly case: v.LiteralSchema<"internal", undefined>;
|
|
327
|
+
readonly value: v.ObjectSchema<{
|
|
328
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
329
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
330
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
331
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
332
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
333
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
334
|
+
}, undefined>;
|
|
335
|
+
}, undefined>, v.ObjectSchema<{
|
|
336
|
+
readonly case: v.UndefinedSchema<undefined>;
|
|
337
|
+
readonly value: v.OptionalSchema<v.UndefinedSchema<undefined>, undefined>;
|
|
338
|
+
}, undefined>], undefined>;
|
|
339
|
+
readonly tags: v.ArraySchema<v.ObjectSchema<{
|
|
340
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
341
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
342
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
343
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
344
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
345
|
+
}, undefined>, undefined>;
|
|
346
|
+
readonly name: v.StringSchema<undefined>;
|
|
347
|
+
readonly color: v.StringSchema<undefined>;
|
|
348
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
349
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
350
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
351
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
352
|
+
seconds: bigint;
|
|
353
|
+
nanos: number;
|
|
354
|
+
} | undefined, number | undefined>]>;
|
|
355
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
356
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
357
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
358
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
359
|
+
seconds: bigint;
|
|
360
|
+
nanos: number;
|
|
361
|
+
} | undefined, number | undefined>]>;
|
|
362
|
+
}, undefined>, undefined>;
|
|
363
|
+
readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
364
|
+
}, undefined>;
|
|
365
|
+
type AddressBookEntry = v.InferOutput<typeof AddressBookEntrySchema>;
|
|
366
|
+
declare const AddressBookEntriesSchema: v.ArraySchema<v.ObjectSchema<{
|
|
367
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
368
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
369
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
370
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
371
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
372
|
+
}, undefined>, undefined>;
|
|
373
|
+
readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
|
|
374
|
+
readonly label: v.StringSchema<undefined>;
|
|
375
|
+
readonly note: v.StringSchema<undefined>;
|
|
376
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
377
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
378
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
379
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
380
|
+
seconds: bigint;
|
|
381
|
+
nanos: number;
|
|
382
|
+
} | undefined, number | undefined>]>;
|
|
383
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
384
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
385
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
386
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
387
|
+
seconds: bigint;
|
|
388
|
+
nanos: number;
|
|
389
|
+
} | undefined, number | undefined>]>;
|
|
390
|
+
readonly entry: v.VariantSchema<"case", [v.ObjectSchema<{
|
|
391
|
+
readonly case: v.LiteralSchema<"external", undefined>;
|
|
392
|
+
readonly value: v.ObjectSchema<{
|
|
393
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
394
|
+
readonly address: v.StringSchema<undefined>;
|
|
395
|
+
}, undefined>;
|
|
396
|
+
}, undefined>, v.ObjectSchema<{
|
|
397
|
+
readonly case: v.LiteralSchema<"internal", undefined>;
|
|
398
|
+
readonly value: v.ObjectSchema<{
|
|
399
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
400
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
401
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
402
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
403
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
404
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
405
|
+
}, undefined>;
|
|
406
|
+
}, undefined>, v.ObjectSchema<{
|
|
407
|
+
readonly case: v.UndefinedSchema<undefined>;
|
|
408
|
+
readonly value: v.OptionalSchema<v.UndefinedSchema<undefined>, undefined>;
|
|
409
|
+
}, undefined>], undefined>;
|
|
410
|
+
readonly tags: v.ArraySchema<v.ObjectSchema<{
|
|
411
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
412
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
413
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
414
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
415
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
416
|
+
}, undefined>, undefined>;
|
|
417
|
+
readonly name: v.StringSchema<undefined>;
|
|
418
|
+
readonly color: v.StringSchema<undefined>;
|
|
419
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
420
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
421
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
422
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
423
|
+
seconds: bigint;
|
|
424
|
+
nanos: number;
|
|
425
|
+
} | undefined, number | undefined>]>;
|
|
426
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
427
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
428
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
429
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
430
|
+
seconds: bigint;
|
|
431
|
+
nanos: number;
|
|
432
|
+
} | undefined, number | undefined>]>;
|
|
433
|
+
}, undefined>, undefined>;
|
|
434
|
+
readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
435
|
+
}, undefined>, undefined>;
|
|
436
|
+
type AddressBookEntries = v.InferOutput<typeof AddressBookEntriesSchema>;
|
|
437
|
+
declare const TransferCounterpartySchema: v.ObjectSchema<{
|
|
438
|
+
readonly counterpartyId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
439
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
440
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
441
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
442
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
443
|
+
}, undefined>, undefined>;
|
|
444
|
+
readonly direction: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
|
|
445
|
+
readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
|
|
446
|
+
readonly saved: v.BooleanSchema<undefined>;
|
|
447
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
448
|
+
readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
449
|
+
readonly firstSeenAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
450
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
451
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
452
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
453
|
+
seconds: bigint;
|
|
454
|
+
nanos: number;
|
|
455
|
+
} | undefined, number | undefined>]>;
|
|
456
|
+
readonly lastSeenAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
457
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
458
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
459
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
460
|
+
seconds: bigint;
|
|
461
|
+
nanos: number;
|
|
462
|
+
} | undefined, number | undefined>]>;
|
|
463
|
+
readonly counterparty: v.VariantSchema<"case", [v.ObjectSchema<{
|
|
464
|
+
readonly case: v.LiteralSchema<"external", undefined>;
|
|
465
|
+
readonly value: v.ObjectSchema<{
|
|
466
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
467
|
+
readonly address: v.StringSchema<undefined>;
|
|
468
|
+
}, undefined>;
|
|
469
|
+
}, undefined>, v.ObjectSchema<{
|
|
470
|
+
readonly case: v.LiteralSchema<"internal", undefined>;
|
|
471
|
+
readonly value: v.ObjectSchema<{
|
|
472
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
473
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
474
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
475
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
476
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
477
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
478
|
+
}, undefined>;
|
|
479
|
+
}, undefined>, v.ObjectSchema<{
|
|
480
|
+
readonly case: v.UndefinedSchema<undefined>;
|
|
481
|
+
readonly value: v.OptionalSchema<v.UndefinedSchema<undefined>, undefined>;
|
|
482
|
+
}, undefined>], undefined>;
|
|
483
|
+
}, undefined>;
|
|
484
|
+
type TransferCounterparty = v.InferOutput<typeof TransferCounterpartySchema>;
|
|
485
|
+
declare const TransferCounterpartiesSchema: v.ArraySchema<v.ObjectSchema<{
|
|
486
|
+
readonly counterpartyId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
487
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
488
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
489
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
490
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
491
|
+
}, undefined>, undefined>;
|
|
492
|
+
readonly direction: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
|
|
493
|
+
readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
|
|
494
|
+
readonly saved: v.BooleanSchema<undefined>;
|
|
495
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
496
|
+
readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
497
|
+
readonly firstSeenAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
498
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
499
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
500
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
501
|
+
seconds: bigint;
|
|
502
|
+
nanos: number;
|
|
503
|
+
} | undefined, number | undefined>]>;
|
|
504
|
+
readonly lastSeenAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
505
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
506
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
507
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
508
|
+
seconds: bigint;
|
|
509
|
+
nanos: number;
|
|
510
|
+
} | undefined, number | undefined>]>;
|
|
511
|
+
readonly counterparty: v.VariantSchema<"case", [v.ObjectSchema<{
|
|
512
|
+
readonly case: v.LiteralSchema<"external", undefined>;
|
|
513
|
+
readonly value: v.ObjectSchema<{
|
|
514
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
515
|
+
readonly address: v.StringSchema<undefined>;
|
|
516
|
+
}, undefined>;
|
|
517
|
+
}, undefined>, v.ObjectSchema<{
|
|
518
|
+
readonly case: v.LiteralSchema<"internal", undefined>;
|
|
519
|
+
readonly value: v.ObjectSchema<{
|
|
520
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
521
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
522
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
523
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
524
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
525
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
526
|
+
}, undefined>;
|
|
527
|
+
}, undefined>, v.ObjectSchema<{
|
|
528
|
+
readonly case: v.UndefinedSchema<undefined>;
|
|
529
|
+
readonly value: v.OptionalSchema<v.UndefinedSchema<undefined>, undefined>;
|
|
530
|
+
}, undefined>], undefined>;
|
|
531
|
+
}, undefined>, undefined>;
|
|
532
|
+
type TransferCounterparties = v.InferOutput<typeof TransferCounterpartiesSchema>;
|
|
533
|
+
declare const TransferDestinationSchema: v.ObjectSchema<{
|
|
534
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
535
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
536
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
537
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
538
|
+
}, undefined>, undefined>;
|
|
539
|
+
readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
|
|
540
|
+
readonly saved: v.BooleanSchema<undefined>;
|
|
541
|
+
readonly whitelisted: v.BooleanSchema<undefined>;
|
|
542
|
+
readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
|
|
543
|
+
readonly addressBookEntry: v.OptionalSchema<v.ObjectSchema<{
|
|
544
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
545
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
546
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
547
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
548
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
549
|
+
}, undefined>, undefined>;
|
|
550
|
+
readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
|
|
551
|
+
readonly label: v.StringSchema<undefined>;
|
|
552
|
+
readonly note: v.StringSchema<undefined>;
|
|
553
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
554
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
555
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
556
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
557
|
+
seconds: bigint;
|
|
558
|
+
nanos: number;
|
|
559
|
+
} | undefined, number | undefined>]>;
|
|
560
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
561
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
562
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
563
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
564
|
+
seconds: bigint;
|
|
565
|
+
nanos: number;
|
|
566
|
+
} | undefined, number | undefined>]>;
|
|
567
|
+
readonly entry: v.VariantSchema<"case", [v.ObjectSchema<{
|
|
568
|
+
readonly case: v.LiteralSchema<"external", undefined>;
|
|
569
|
+
readonly value: v.ObjectSchema<{
|
|
570
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
571
|
+
readonly address: v.StringSchema<undefined>;
|
|
572
|
+
}, undefined>;
|
|
573
|
+
}, undefined>, v.ObjectSchema<{
|
|
574
|
+
readonly case: v.LiteralSchema<"internal", undefined>;
|
|
575
|
+
readonly value: v.ObjectSchema<{
|
|
576
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
577
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
578
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
579
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
580
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
581
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
582
|
+
}, undefined>;
|
|
583
|
+
}, undefined>, v.ObjectSchema<{
|
|
584
|
+
readonly case: v.UndefinedSchema<undefined>;
|
|
585
|
+
readonly value: v.OptionalSchema<v.UndefinedSchema<undefined>, undefined>;
|
|
586
|
+
}, undefined>], undefined>;
|
|
587
|
+
readonly tags: v.ArraySchema<v.ObjectSchema<{
|
|
588
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
589
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
590
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
591
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
592
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
593
|
+
}, undefined>, undefined>;
|
|
594
|
+
readonly name: v.StringSchema<undefined>;
|
|
595
|
+
readonly color: v.StringSchema<undefined>;
|
|
596
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
597
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
598
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
599
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
600
|
+
seconds: bigint;
|
|
601
|
+
nanos: number;
|
|
602
|
+
} | undefined, number | undefined>]>;
|
|
603
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
604
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
605
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
606
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
607
|
+
seconds: bigint;
|
|
608
|
+
nanos: number;
|
|
609
|
+
} | undefined, number | undefined>]>;
|
|
610
|
+
}, undefined>, undefined>;
|
|
611
|
+
readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
612
|
+
}, undefined>, undefined>;
|
|
613
|
+
readonly destination: v.VariantSchema<"case", [v.ObjectSchema<{
|
|
614
|
+
readonly case: v.LiteralSchema<"external", undefined>;
|
|
615
|
+
readonly value: v.ObjectSchema<{
|
|
616
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
617
|
+
readonly address: v.StringSchema<undefined>;
|
|
618
|
+
}, undefined>;
|
|
619
|
+
}, undefined>, v.ObjectSchema<{
|
|
620
|
+
readonly case: v.LiteralSchema<"internal", undefined>;
|
|
621
|
+
readonly value: v.ObjectSchema<{
|
|
622
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
623
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
624
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
625
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
626
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
627
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
628
|
+
}, undefined>;
|
|
629
|
+
}, undefined>, v.ObjectSchema<{
|
|
630
|
+
readonly case: v.UndefinedSchema<undefined>;
|
|
631
|
+
readonly value: v.OptionalSchema<v.UndefinedSchema<undefined>, undefined>;
|
|
632
|
+
}, undefined>], undefined>;
|
|
633
|
+
readonly whitelistEffectiveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
634
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
635
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
636
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
637
|
+
seconds: bigint;
|
|
638
|
+
nanos: number;
|
|
639
|
+
} | undefined, number | undefined>]>;
|
|
640
|
+
readonly whitelistUpdatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
641
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
642
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
643
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
644
|
+
seconds: bigint;
|
|
645
|
+
nanos: number;
|
|
646
|
+
} | undefined, number | undefined>]>;
|
|
647
|
+
}, undefined>;
|
|
648
|
+
type TransferDestination = v.InferOutput<typeof TransferDestinationSchema>;
|
|
649
|
+
declare const TransferDestinationsSchema: v.ArraySchema<v.ObjectSchema<{
|
|
650
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
651
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
652
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
653
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
654
|
+
}, undefined>, undefined>;
|
|
655
|
+
readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
|
|
656
|
+
readonly saved: v.BooleanSchema<undefined>;
|
|
657
|
+
readonly whitelisted: v.BooleanSchema<undefined>;
|
|
658
|
+
readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
|
|
659
|
+
readonly addressBookEntry: v.OptionalSchema<v.ObjectSchema<{
|
|
660
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
661
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
662
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
663
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
664
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
665
|
+
}, undefined>, undefined>;
|
|
666
|
+
readonly kind: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AddressBookEntryKind, undefined>, v.TransformAction<AddressBookEntryKind, "unspecified" | "external" | "internal">]>;
|
|
667
|
+
readonly label: v.StringSchema<undefined>;
|
|
668
|
+
readonly note: v.StringSchema<undefined>;
|
|
669
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
670
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
671
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
672
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
673
|
+
seconds: bigint;
|
|
674
|
+
nanos: number;
|
|
675
|
+
} | undefined, number | undefined>]>;
|
|
676
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
677
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
678
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
679
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
680
|
+
seconds: bigint;
|
|
681
|
+
nanos: number;
|
|
682
|
+
} | undefined, number | undefined>]>;
|
|
683
|
+
readonly entry: v.VariantSchema<"case", [v.ObjectSchema<{
|
|
684
|
+
readonly case: v.LiteralSchema<"external", undefined>;
|
|
685
|
+
readonly value: v.ObjectSchema<{
|
|
686
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
687
|
+
readonly address: v.StringSchema<undefined>;
|
|
688
|
+
}, undefined>;
|
|
689
|
+
}, undefined>, v.ObjectSchema<{
|
|
690
|
+
readonly case: v.LiteralSchema<"internal", undefined>;
|
|
691
|
+
readonly value: v.ObjectSchema<{
|
|
692
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
693
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
694
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
695
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
696
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
697
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
698
|
+
}, undefined>;
|
|
699
|
+
}, undefined>, v.ObjectSchema<{
|
|
700
|
+
readonly case: v.UndefinedSchema<undefined>;
|
|
701
|
+
readonly value: v.OptionalSchema<v.UndefinedSchema<undefined>, undefined>;
|
|
702
|
+
}, undefined>], undefined>;
|
|
703
|
+
readonly tags: v.ArraySchema<v.ObjectSchema<{
|
|
704
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
705
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
706
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
707
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
708
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
709
|
+
}, undefined>, undefined>;
|
|
710
|
+
readonly name: v.StringSchema<undefined>;
|
|
711
|
+
readonly color: v.StringSchema<undefined>;
|
|
712
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
713
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
714
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
715
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
716
|
+
seconds: bigint;
|
|
717
|
+
nanos: number;
|
|
718
|
+
} | undefined, number | undefined>]>;
|
|
719
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
720
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
721
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
722
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
723
|
+
seconds: bigint;
|
|
724
|
+
nanos: number;
|
|
725
|
+
} | undefined, number | undefined>]>;
|
|
726
|
+
}, undefined>, undefined>;
|
|
727
|
+
readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
728
|
+
}, undefined>, undefined>;
|
|
729
|
+
readonly destination: v.VariantSchema<"case", [v.ObjectSchema<{
|
|
730
|
+
readonly case: v.LiteralSchema<"external", undefined>;
|
|
731
|
+
readonly value: v.ObjectSchema<{
|
|
732
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
733
|
+
readonly address: v.StringSchema<undefined>;
|
|
734
|
+
}, undefined>;
|
|
735
|
+
}, undefined>, v.ObjectSchema<{
|
|
736
|
+
readonly case: v.LiteralSchema<"internal", undefined>;
|
|
737
|
+
readonly value: v.ObjectSchema<{
|
|
738
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
739
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
740
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
741
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
742
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
743
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
744
|
+
}, undefined>;
|
|
745
|
+
}, undefined>, v.ObjectSchema<{
|
|
746
|
+
readonly case: v.UndefinedSchema<undefined>;
|
|
747
|
+
readonly value: v.OptionalSchema<v.UndefinedSchema<undefined>, undefined>;
|
|
748
|
+
}, undefined>], undefined>;
|
|
749
|
+
readonly whitelistEffectiveAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
750
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
751
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
752
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
753
|
+
seconds: bigint;
|
|
754
|
+
nanos: number;
|
|
755
|
+
} | undefined, number | undefined>]>;
|
|
756
|
+
readonly whitelistUpdatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
757
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
758
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
759
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
760
|
+
seconds: bigint;
|
|
761
|
+
nanos: number;
|
|
762
|
+
} | undefined, number | undefined>]>;
|
|
763
|
+
}, undefined>, undefined>;
|
|
764
|
+
type TransferDestinations = v.InferOutput<typeof TransferDestinationsSchema>;
|
|
765
|
+
declare const InternalTransferWhitelistEntrySchema: v.ObjectSchema<{
|
|
766
|
+
readonly entryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
767
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
768
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
769
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
770
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
771
|
+
}, undefined>, undefined>;
|
|
772
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
773
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
774
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
775
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
776
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
777
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
778
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
779
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
780
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
781
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
782
|
+
seconds: bigint;
|
|
783
|
+
nanos: number;
|
|
784
|
+
} | undefined, number | undefined>]>;
|
|
785
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
786
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
787
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
788
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
789
|
+
seconds: bigint;
|
|
790
|
+
nanos: number;
|
|
791
|
+
} | undefined, number | undefined>]>;
|
|
792
|
+
readonly resolutionStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof InternalWhitelistResolutionStatus, undefined>, v.TransformAction<InternalWhitelistResolutionStatus, "unspecified" | "unresolved" | "resolved">]>;
|
|
793
|
+
}, undefined>;
|
|
794
|
+
type InternalTransferWhitelistEntry = v.InferOutput<typeof InternalTransferWhitelistEntrySchema>;
|
|
795
|
+
declare const InternalTransferWhitelistEntriesSchema: v.ArraySchema<v.ObjectSchema<{
|
|
796
|
+
readonly entryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
797
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
798
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
799
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
800
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
801
|
+
}, undefined>, undefined>;
|
|
802
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
803
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
804
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
805
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
806
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
807
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
808
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
809
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
810
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
811
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
812
|
+
seconds: bigint;
|
|
813
|
+
nanos: number;
|
|
814
|
+
} | undefined, number | undefined>]>;
|
|
815
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
816
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
817
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
818
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
819
|
+
seconds: bigint;
|
|
820
|
+
nanos: number;
|
|
821
|
+
} | undefined, number | undefined>]>;
|
|
822
|
+
readonly resolutionStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof InternalWhitelistResolutionStatus, undefined>, v.TransformAction<InternalWhitelistResolutionStatus, "unspecified" | "unresolved" | "resolved">]>;
|
|
823
|
+
}, undefined>, undefined>;
|
|
824
|
+
type InternalTransferWhitelistEntries = v.InferOutput<typeof InternalTransferWhitelistEntriesSchema>;
|
|
825
|
+
declare const MirroredWithdrawWhitelistEntrySchema: v.ObjectSchema<{
|
|
826
|
+
readonly canonicalAddress: v.StringSchema<undefined>;
|
|
827
|
+
readonly rawAddressHex: v.StringSchema<undefined>;
|
|
828
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
829
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
830
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
831
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
832
|
+
seconds: bigint;
|
|
833
|
+
nanos: number;
|
|
834
|
+
} | undefined, number | undefined>]>;
|
|
835
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
836
|
+
}, undefined>;
|
|
837
|
+
type MirroredWithdrawWhitelistEntry = v.InferOutput<typeof MirroredWithdrawWhitelistEntrySchema>;
|
|
838
|
+
declare const WithdrawWhitelistViewSchema: v.ObjectSchema<{
|
|
839
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
840
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
841
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
842
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
843
|
+
}, undefined>, undefined>;
|
|
844
|
+
readonly externalWhitelistRequired: v.BooleanSchema<undefined>;
|
|
845
|
+
readonly internalWhitelistRequired: v.BooleanSchema<undefined>;
|
|
846
|
+
readonly activeEntries: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
847
|
+
readonly canonicalAddress: v.StringSchema<undefined>;
|
|
848
|
+
readonly rawAddressHex: v.StringSchema<undefined>;
|
|
849
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
850
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
851
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
852
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
853
|
+
seconds: bigint;
|
|
854
|
+
nanos: number;
|
|
855
|
+
} | undefined, number | undefined>]>;
|
|
856
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
857
|
+
}, undefined>, undefined>, readonly []>;
|
|
858
|
+
}, undefined>;
|
|
859
|
+
type WithdrawWhitelistView = v.InferOutput<typeof WithdrawWhitelistViewSchema>;
|
|
860
|
+
declare const AddressBookEntriesViewSchema: v.ObjectSchema<{
|
|
861
|
+
readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
862
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
863
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
864
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
865
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
866
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
867
|
+
}, undefined>, undefined>;
|
|
868
|
+
readonly label: v.StringSchema<undefined>;
|
|
869
|
+
readonly note: v.StringSchema<undefined>;
|
|
870
|
+
readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
|
|
871
|
+
readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
|
|
872
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
873
|
+
readonly address: v.StringSchema<undefined>;
|
|
874
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
875
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
876
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
877
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
878
|
+
seconds: bigint;
|
|
879
|
+
nanos: number;
|
|
880
|
+
} | undefined, number | undefined>]>;
|
|
881
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
882
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
883
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
884
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
885
|
+
seconds: bigint;
|
|
886
|
+
nanos: number;
|
|
887
|
+
} | undefined, number | undefined>]>;
|
|
888
|
+
readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
889
|
+
}, undefined>, undefined>, readonly []>;
|
|
890
|
+
readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
891
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
892
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
893
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
894
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
895
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
896
|
+
}, undefined>, undefined>;
|
|
897
|
+
readonly label: v.StringSchema<undefined>;
|
|
898
|
+
readonly note: v.StringSchema<undefined>;
|
|
899
|
+
readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
|
|
900
|
+
readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
|
|
901
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
902
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
903
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
904
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
905
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
906
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
907
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
908
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
909
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
910
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
911
|
+
seconds: bigint;
|
|
912
|
+
nanos: number;
|
|
913
|
+
} | undefined, number | undefined>]>;
|
|
914
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
915
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
916
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
917
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
918
|
+
seconds: bigint;
|
|
919
|
+
nanos: number;
|
|
920
|
+
} | undefined, number | undefined>]>;
|
|
921
|
+
readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
922
|
+
}, undefined>, undefined>, readonly []>;
|
|
923
|
+
}, undefined>;
|
|
924
|
+
type AddressBookEntriesView = v.InferOutput<typeof AddressBookEntriesViewSchema>;
|
|
925
|
+
declare const AddressBookRecentDestinationsViewSchema: v.ObjectSchema<{
|
|
926
|
+
readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
927
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
928
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
929
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
930
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
931
|
+
}, undefined>, undefined>;
|
|
932
|
+
readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
|
|
933
|
+
readonly saved: v.BooleanSchema<undefined>;
|
|
934
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
935
|
+
readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
936
|
+
readonly lastSeenAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
937
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
938
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
939
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
940
|
+
seconds: bigint;
|
|
941
|
+
nanos: number;
|
|
942
|
+
} | undefined, number | undefined>]>;
|
|
943
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
944
|
+
readonly address: v.StringSchema<undefined>;
|
|
945
|
+
}, undefined>, undefined>, readonly []>;
|
|
946
|
+
readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
947
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
948
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
949
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
950
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
951
|
+
}, undefined>, undefined>;
|
|
952
|
+
readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
|
|
953
|
+
readonly saved: v.BooleanSchema<undefined>;
|
|
954
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
955
|
+
readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
956
|
+
readonly lastSeenAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
957
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
958
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
959
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
960
|
+
seconds: bigint;
|
|
961
|
+
nanos: number;
|
|
962
|
+
} | undefined, number | undefined>]>;
|
|
963
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
964
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
965
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
966
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
967
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
968
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
969
|
+
}, undefined>, undefined>, readonly []>;
|
|
970
|
+
}, undefined>;
|
|
971
|
+
type AddressBookRecentDestinationsView = v.InferOutput<typeof AddressBookRecentDestinationsViewSchema>;
|
|
972
|
+
declare const AddressBookViewSchema: v.ObjectSchema<{
|
|
973
|
+
readonly books: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
974
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
975
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
976
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
977
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
978
|
+
}, undefined>, undefined>;
|
|
979
|
+
readonly callerRole: v.SchemaWithPipe<readonly [v.EnumSchema<typeof SubaccountRole, undefined>, v.TransformAction<SubaccountRole, "unspecified" | "owner" | "admin" | "treasury" | "leveraged_trader" | "trader" | "viewer">]>;
|
|
980
|
+
readonly label: v.StringSchema<undefined>;
|
|
981
|
+
readonly ownerUsername: v.StringSchema<undefined>;
|
|
982
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
983
|
+
}, undefined>, undefined>, readonly []>;
|
|
984
|
+
readonly entries: v.OptionalSchema<v.ObjectSchema<{
|
|
985
|
+
readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
986
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
987
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
988
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
989
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
990
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
991
|
+
}, undefined>, undefined>;
|
|
992
|
+
readonly label: v.StringSchema<undefined>;
|
|
993
|
+
readonly note: v.StringSchema<undefined>;
|
|
994
|
+
readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
|
|
995
|
+
readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
|
|
996
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
997
|
+
readonly address: v.StringSchema<undefined>;
|
|
998
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
999
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
1000
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
1001
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
1002
|
+
seconds: bigint;
|
|
1003
|
+
nanos: number;
|
|
1004
|
+
} | undefined, number | undefined>]>;
|
|
1005
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
1006
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
1007
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
1008
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
1009
|
+
seconds: bigint;
|
|
1010
|
+
nanos: number;
|
|
1011
|
+
} | undefined, number | undefined>]>;
|
|
1012
|
+
readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1013
|
+
}, undefined>, undefined>, readonly []>;
|
|
1014
|
+
readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1015
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1016
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
1017
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
1018
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1019
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1020
|
+
}, undefined>, undefined>;
|
|
1021
|
+
readonly label: v.StringSchema<undefined>;
|
|
1022
|
+
readonly note: v.StringSchema<undefined>;
|
|
1023
|
+
readonly tagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>, undefined>, readonly []>;
|
|
1024
|
+
readonly whitelistStatus: v.SchemaWithPipe<readonly [v.EnumSchema<typeof DestinationWhitelistStatus, undefined>, v.TransformAction<DestinationWhitelistStatus, "active" | "unspecified" | "notWhitelisted" | "unresolved">]>;
|
|
1025
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1026
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1027
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
1028
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1029
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
1030
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
1031
|
+
readonly createdAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
1032
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
1033
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
1034
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
1035
|
+
seconds: bigint;
|
|
1036
|
+
nanos: number;
|
|
1037
|
+
} | undefined, number | undefined>]>;
|
|
1038
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
1039
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
1040
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
1041
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
1042
|
+
seconds: bigint;
|
|
1043
|
+
nanos: number;
|
|
1044
|
+
} | undefined, number | undefined>]>;
|
|
1045
|
+
readonly revision: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1046
|
+
}, undefined>, undefined>, readonly []>;
|
|
1047
|
+
}, undefined>, undefined>;
|
|
1048
|
+
readonly recentDestinations: v.OptionalSchema<v.ObjectSchema<{
|
|
1049
|
+
readonly external: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1050
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
1051
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
1052
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1053
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1054
|
+
}, undefined>, undefined>;
|
|
1055
|
+
readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
|
|
1056
|
+
readonly saved: v.BooleanSchema<undefined>;
|
|
1057
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1058
|
+
readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1059
|
+
readonly lastSeenAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
1060
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
1061
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
1062
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
1063
|
+
seconds: bigint;
|
|
1064
|
+
nanos: number;
|
|
1065
|
+
} | undefined, number | undefined>]>;
|
|
1066
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
1067
|
+
readonly address: v.StringSchema<undefined>;
|
|
1068
|
+
}, undefined>, undefined>, readonly []>;
|
|
1069
|
+
readonly internal: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1070
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
1071
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
1072
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1073
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1074
|
+
}, undefined>, undefined>;
|
|
1075
|
+
readonly lastDirection: v.SchemaWithPipe<readonly [v.EnumSchema<typeof TransferCounterpartyDirection, undefined>, v.TransformAction<TransferCounterpartyDirection, "withdrawTo" | "unspecified" | "depositFrom" | "internalTransferFrom" | "internalTransferTo">]>;
|
|
1076
|
+
readonly saved: v.BooleanSchema<undefined>;
|
|
1077
|
+
readonly addressBookEntryId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1078
|
+
readonly useCount: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, number>]>;
|
|
1079
|
+
readonly lastSeenAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
1080
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
1081
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
1082
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
1083
|
+
seconds: bigint;
|
|
1084
|
+
nanos: number;
|
|
1085
|
+
} | undefined, number | undefined>]>;
|
|
1086
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1087
|
+
readonly targetAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1088
|
+
readonly targetScopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
1089
|
+
readonly smartAccountAddress: v.StringSchema<undefined>;
|
|
1090
|
+
readonly rootUsername: v.StringSchema<undefined>;
|
|
1091
|
+
readonly subaccountLabel: v.StringSchema<undefined>;
|
|
1092
|
+
}, undefined>, undefined>, readonly []>;
|
|
1093
|
+
}, undefined>, undefined>;
|
|
1094
|
+
readonly tags: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1095
|
+
readonly tagId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1096
|
+
readonly name: v.StringSchema<undefined>;
|
|
1097
|
+
readonly color: v.StringSchema<undefined>;
|
|
1098
|
+
}, undefined>, undefined>, readonly []>;
|
|
1099
|
+
readonly withdrawWhitelist: v.OptionalSchema<v.ObjectSchema<{
|
|
1100
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
1101
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
1102
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1103
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1104
|
+
}, undefined>, undefined>;
|
|
1105
|
+
readonly externalWhitelistRequired: v.BooleanSchema<undefined>;
|
|
1106
|
+
readonly internalWhitelistRequired: v.BooleanSchema<undefined>;
|
|
1107
|
+
readonly activeEntries: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1108
|
+
readonly canonicalAddress: v.StringSchema<undefined>;
|
|
1109
|
+
readonly rawAddressHex: v.StringSchema<undefined>;
|
|
1110
|
+
readonly updatedAt: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ObjectSchema<{
|
|
1111
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
1112
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
1113
|
+
}, undefined>, undefined>, v.TransformAction<{
|
|
1114
|
+
seconds: bigint;
|
|
1115
|
+
nanos: number;
|
|
1116
|
+
} | undefined, number | undefined>]>;
|
|
1117
|
+
readonly polychainChainId: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
|
|
1118
|
+
}, undefined>, undefined>, readonly []>;
|
|
1119
|
+
}, undefined>, undefined>;
|
|
1120
|
+
readonly recentDestinationsTruncated: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
|
|
1121
|
+
}, undefined>;
|
|
1122
|
+
type AddressBookView = v.InferOutput<typeof AddressBookViewSchema>;
|
|
1123
|
+
declare const AddressBookViewInvalidatedSchema: v.ObjectSchema<{
|
|
1124
|
+
readonly scope: v.OptionalSchema<v.ObjectSchema<{
|
|
1125
|
+
readonly scopeType: v.SchemaWithPipe<readonly [v.EnumSchema<typeof AccountScopeType, undefined>, v.TransformAction<AccountScopeType, "unspecified" | "root" | "subaccount">]>;
|
|
1126
|
+
readonly rootAccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1127
|
+
readonly subaccountId: v.SchemaWithPipe<readonly [v.BigintSchema<undefined>, v.TransformAction<bigint, string>]>;
|
|
1128
|
+
}, undefined>, undefined>;
|
|
1129
|
+
readonly invalidatedAt: v.SchemaWithPipe<readonly [v.ObjectSchema<{
|
|
1130
|
+
readonly seconds: v.BigintSchema<undefined>;
|
|
1131
|
+
readonly nanos: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
1132
|
+
}, undefined>, v.TransformAction<{
|
|
1133
|
+
seconds: bigint;
|
|
1134
|
+
nanos: number;
|
|
1135
|
+
}, number>]>;
|
|
1136
|
+
}, undefined>;
|
|
1137
|
+
type AddressBookViewInvalidated = v.InferOutput<typeof AddressBookViewInvalidatedSchema>;
|
|
1138
|
+
//#endregion
|
|
1139
|
+
export { AddressBook, AddressBookEntries, AddressBookEntriesSchema, AddressBookEntriesView, AddressBookEntriesViewSchema, AddressBookEntry, AddressBookEntrySchema, AddressBookRecentDestinationsView, AddressBookRecentDestinationsViewSchema, AddressBookSchema, AddressBookTag, AddressBookTagSchema, AddressBookTagSummary, AddressBookTagSummarySchema, AddressBookView, AddressBookViewInvalidated, AddressBookViewInvalidatedSchema, AddressBookViewSchema, CopyAddressBookEntryInput, CopyAddressBookEntryInputSchema, CreateAddressBookEntryInput, CreateAddressBookEntryInputSchema, CreateAddressBookTagInput, CreateAddressBookTagInputSchema, DeleteAddressBookEntryInput, DeleteAddressBookEntryInputSchema, DeleteAddressBookTagInput, DeleteAddressBookTagInputSchema, GetAddressBookViewInput, GetAddressBookViewInputSchema, InternalTransferWhitelistEntries, InternalTransferWhitelistEntriesSchema, InternalTransferWhitelistEntry, InternalTransferWhitelistEntrySchema, ListAddressBookEntriesInput, ListAddressBookEntriesInputSchema, ListInternalTransferWhitelistEntriesInput, ListInternalTransferWhitelistEntriesInputSchema, ListTransferCounterpartiesInput, ListTransferCounterpartiesInputSchema, ListTransferDestinationsInput, ListTransferDestinationsInputSchema, MirroredWithdrawWhitelistEntry, MirroredWithdrawWhitelistEntrySchema, SubaccountScopedInput, SubaccountScopedInputSchema, TransferCounterparties, TransferCounterpartiesSchema, TransferCounterparty, TransferCounterpartySchema, TransferDestination, TransferDestinationSchema, TransferDestinations, TransferDestinationsSchema, UpdateAddressBookEntryInput, UpdateAddressBookEntryInputSchema, UpdateAddressBookTagInput, UpdateAddressBookTagInputSchema, WithdrawWhitelistView, WithdrawWhitelistViewSchema, validateCreateAddressBookEntryInput };
|
|
1140
|
+
//# sourceMappingURL=address-book.schemas.d.ts.map
|