@polyester/sdk 0.30.2 → 0.32.0-devnet-20261101180406
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 +124 -0
- package/README.md +7 -0
- package/dist/browser-core.d.ts.map +1 -1
- package/dist/browser-core.js +24 -2
- package/dist/browser-core.js.map +1 -1
- package/dist/catalogs/market-data-catalog.d.ts +2 -0
- package/dist/catalogs/market-data-catalog.d.ts.map +1 -1
- package/dist/catalogs/market-data-catalog.js +1 -0
- package/dist/catalogs/market-data-catalog.js.map +1 -1
- package/dist/catalogs/snapshot-validation.js +6 -0
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/core-client.d.ts.map +1 -1
- package/dist/core-client.js +1 -0
- package/dist/core-client.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +6 -3
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +9 -2
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +9 -2
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +26 -2
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +26 -2
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +20 -14
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +20 -3
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js +2 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +10 -6
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js +2 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +32 -2
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +2 -2
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +19 -3
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +18 -2
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +840 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +351 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -0
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +22 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +17 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +14 -0
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.js +15 -1
- package/dist/gen/chain/zipper/v1/reason_pb.js.map +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1121 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts.map +1 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.js +327 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -0
- package/dist/gen/claims/v1/claims_pb.d.ts +61 -4
- package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -1
- package/dist/gen/claims/v1/claims_pb.js +26 -1
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js +2 -1
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/index.d.ts +7 -5
- package/dist/gen/index.js +12 -10
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +38 -2
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +13 -7
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +248 -27
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +73 -20
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +2 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +16 -4
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +1164 -53
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +959 -42
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +205 -17
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +156 -17
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +8 -1
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +8 -1
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1419 -0
- package/dist/gen/privatews/v1/private_ws_pb.d.ts.map +1 -0
- package/dist/gen/privatews/v1/private_ws_pb.js +551 -0
- package/dist/gen/privatews/v1/private_ws_pb.js.map +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +2108 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +522 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +2296 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +1014 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -0
- package/dist/gen/swap/v1/swap_pb.d.ts +945 -0
- package/dist/gen/swap/v1/swap_pb.d.ts.map +1 -0
- package/dist/gen/swap/v1/swap_pb.js +426 -0
- package/dist/gen/swap/v1/swap_pb.js.map +1 -0
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +67 -3
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts.map +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +587 -29
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +420 -19
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +95 -7
- package/dist/gen/vip/v1/vip_pb.d.ts.map +1 -1
- package/dist/gen/vip/v1/vip_pb.js +53 -5
- package/dist/gen/vip/v1/vip_pb.js.map +1 -1
- package/dist/index.d.ts +9 -7
- package/dist/index.js +2 -2
- package/dist/realtime/client.d.ts +3 -0
- package/dist/realtime/client.d.ts.map +1 -1
- package/dist/realtime/client.js +76 -24
- package/dist/realtime/client.js.map +1 -1
- package/dist/realtime/index.d.ts +2 -1
- package/dist/realtime/private-orders.d.ts +38 -0
- package/dist/realtime/private-orders.d.ts.map +1 -0
- package/dist/realtime/private-orders.js +594 -0
- package/dist/realtime/private-orders.js.map +1 -0
- package/dist/realtime/ready-gated-subscription.js +10 -4
- package/dist/realtime/ready-gated-subscription.js.map +1 -1
- package/dist/realtime/snapshot-then-stream.js +1 -1
- package/dist/realtime/snapshot-then-stream.js.map +1 -1
- package/dist/realtime/types.d.ts +3 -0
- package/dist/realtime/types.d.ts.map +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts +2 -2
- package/dist/services/auth/account-signer-auth.d.ts +8 -0
- package/dist/services/auth/account-signer-auth.d.ts.map +1 -1
- package/dist/services/auth/account-signer-auth.js +37 -0
- package/dist/services/auth/account-signer-auth.js.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/candles/candles.codecs.js +15 -0
- package/dist/services/candles/candles.codecs.js.map +1 -1
- package/dist/services/candles/candles.schemas.d.ts +13 -13
- package/dist/services/checkpoints/checkpoints.codecs.d.ts +8 -0
- package/dist/services/checkpoints/checkpoints.codecs.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.codecs.js +36 -0
- package/dist/services/checkpoints/checkpoints.codecs.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.d.ts +22 -0
- package/dist/services/checkpoints/checkpoints.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.js +31 -0
- package/dist/services/checkpoints/checkpoints.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +437 -0
- package/dist/services/checkpoints/checkpoints.schemas.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.schemas.js +176 -0
- package/dist/services/checkpoints/checkpoints.schemas.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.types.d.ts +3 -0
- package/dist/services/checkpoints/service.d.ts +8 -0
- package/dist/services/checkpoints/service.d.ts.map +1 -0
- package/dist/services/checkpoints/service.js +9 -0
- package/dist/services/checkpoints/service.js.map +1 -0
- package/dist/services/claims/claims.codecs.d.ts +1 -1
- package/dist/services/claims/claims.codecs.d.ts.map +1 -1
- package/dist/services/claims/claims.codecs.js +2 -1
- package/dist/services/claims/claims.codecs.js.map +1 -1
- package/dist/services/claims/claims.d.ts +13 -5
- package/dist/services/claims/claims.d.ts.map +1 -1
- package/dist/services/claims/claims.js +15 -6
- package/dist/services/claims/claims.js.map +1 -1
- package/dist/services/claims/claims.schemas.d.ts +13 -3
- package/dist/services/claims/claims.schemas.d.ts.map +1 -1
- package/dist/services/claims/claims.schemas.js +10 -4
- package/dist/services/claims/claims.schemas.js.map +1 -1
- package/dist/services/claims/claims.types.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.codecs.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.js +4 -2
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +89 -39
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +7 -1
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.codecs.js +2 -1
- package/dist/services/market-data/market-data.codecs.js.map +1 -1
- package/dist/services/market-data/market-data.d.ts +10 -1
- package/dist/services/market-data/market-data.d.ts.map +1 -1
- package/dist/services/market-data/market-data.js +21 -9
- package/dist/services/market-data/market-data.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.d.ts +29 -2
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +53 -4
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.types.d.ts +2 -2
- package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
- package/dist/services/orderbook/orderbook.d.ts +2 -1
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +17 -2
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +5 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +2 -0
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-enums.codecs.js +7 -1
- package/dist/services/orders/order-enums.codecs.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +3 -1
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +4 -1
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +343 -22
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +12 -2
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +548 -6
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +23 -5
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts +106 -1
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +78 -59
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +15 -22
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts +69 -1
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +21 -11
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/orders/orders.codecs.js +26 -2
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/orders/orders.d.ts +31 -5
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +53 -15
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +8 -2
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/shared.d.ts.map +1 -1
- package/dist/services/policies/shared.js +4 -1
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +9 -9
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +1 -1
- package/dist/services/subaccounts/subaccounts.codecs.js +4 -1
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +1 -2
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +18 -18
- package/dist/services/trades/trades.d.ts +2 -0
- package/dist/services/trades/trades.d.ts.map +1 -1
- package/dist/services/trades/trades.js +6 -6
- package/dist/services/trades/trades.js.map +1 -1
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/trades/trades.schemas.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +13 -2
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +50 -22
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +12 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +26 -6
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trailing-oneof-inputs.js +6 -1
- package/dist/services/trailing-oneof-inputs.js.map +1 -1
- package/dist/services/transfers/transfers.d.ts +2 -0
- package/dist/services/transfers/transfers.d.ts.map +1 -1
- package/dist/services/transfers/transfers.js +6 -11
- package/dist/services/transfers/transfers.js.map +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +3 -0
- package/dist/services/transfers/transfers.schemas.d.ts.map +1 -1
- package/dist/services/transfers/transfers.schemas.js +3 -1
- package/dist/services/transfers/transfers.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +23 -18
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +288 -25
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +38 -22
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +180 -56
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +28 -20
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +60 -0
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +6 -2
- package/dist/services/triggers/triggers.d.ts.map +1 -1
- package/dist/services/triggers/triggers.js +10 -8
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.d.ts +23 -1
- package/dist/services/vip/vip.schemas.d.ts.map +1 -1
- package/dist/services/vip/vip.schemas.js +20 -2
- package/dist/services/vip/vip.schemas.js.map +1 -1
- package/dist/services/vip/vip.types.d.ts +2 -2
- package/dist/shared/catalog-config.d.ts +14 -2
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js +2 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts +3 -0
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +45 -6
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/errors.d.ts +98 -7
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +108 -4
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/request-options.d.ts +7 -0
- package/dist/shared/request-options.d.ts.map +1 -1
- package/dist/shared/request-options.js +6 -1
- package/dist/shared/request-options.js.map +1 -1
- package/dist/shared/schemas.js +1 -1
- package/dist/shared/subscription-errors.d.ts +6 -6
- package/dist/shared/subscription-errors.d.ts.map +1 -1
- package/dist/shared/subscription-errors.js +32 -30
- package/dist/shared/subscription-errors.js.map +1 -1
- package/dist/shared/transports.d.ts.map +1 -1
- package/dist/shared/transports.js +9 -2
- package/dist/shared/transports.js.map +1 -1
- package/dist/shared/wire-bounds.js +3 -1
- package/dist/shared/wire-bounds.js.map +1 -1
- package/dist/smart-account/index.d.ts +2 -1
- package/dist/smart-account/index.js +2 -1
- package/dist/smart-account/smart-account.d.ts +5 -4
- package/dist/smart-account/smart-account.d.ts.map +1 -1
- package/dist/smart-account/smart-account.js +37 -8
- package/dist/smart-account/smart-account.js.map +1 -1
- package/dist/utils/numbers.js +4 -1
- package/dist/utils/numbers.js.map +1 -1
- package/dist/wired-services.js +5 -5
- package/dist/wired-services.js.map +1 -1
- package/package.json +9 -4
- package/dist/gen/collab/v1/whiteboard_pb.d.ts +0 -829
- package/dist/gen/collab/v1/whiteboard_pb.d.ts.map +0 -1
- package/dist/gen/collab/v1/whiteboard_pb.js +0 -250
- package/dist/gen/collab/v1/whiteboard_pb.js.map +0 -1
- package/dist/gen/layout/v1/layout_pb.d.ts +0 -1289
- package/dist/gen/layout/v1/layout_pb.d.ts.map +0 -1
- package/dist/gen/layout/v1/layout_pb.js +0 -313
- package/dist/gen/layout/v1/layout_pb.js.map +0 -1
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts +0 -192
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts.map +0 -1
- package/dist/gen/polychart/events/v1/polychart_events_pb.js +0 -57
- package/dist/gen/polychart/events/v1/polychart_events_pb.js.map +0 -1
- package/dist/gen/polychart/v1/polychart_pb.d.ts +0 -1208
- package/dist/gen/polychart/v1/polychart_pb.d.ts.map +0 -1
- package/dist/gen/polychart/v1/polychart_pb.js +0 -244
- package/dist/gen/polychart/v1/polychart_pb.js.map +0 -1
- package/dist/services/whiteboard/service.d.ts +0 -8
- package/dist/services/whiteboard/service.d.ts.map +0 -1
- package/dist/services/whiteboard/service.js +0 -9
- package/dist/services/whiteboard/service.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.codecs.js +0 -55
- package/dist/services/whiteboard/whiteboard.codecs.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.d.ts +0 -42
- package/dist/services/whiteboard/whiteboard.d.ts.map +0 -1
- package/dist/services/whiteboard/whiteboard.js +0 -76
- package/dist/services/whiteboard/whiteboard.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.schemas.d.ts +0 -771
- package/dist/services/whiteboard/whiteboard.schemas.d.ts.map +0 -1
- package/dist/services/whiteboard/whiteboard.schemas.js +0 -132
- package/dist/services/whiteboard/whiteboard.schemas.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.types.d.ts +0 -2
|
@@ -0,0 +1,840 @@
|
|
|
1
|
+
import { U128 } from "../../../polyester/type/v1/u128_pb.js";
|
|
2
|
+
import { Message } from "@bufbuild/protobuf";
|
|
3
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
4
|
+
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
|
+
declare namespace auto_withdraw_pb_d_exports {
|
|
6
|
+
export { AutoWithdrawCadence, AutoWithdrawCadenceSchema, AutoWithdrawDestination, AutoWithdrawDestinationSchema, AutoWithdrawPause, AutoWithdrawPauseSchema, AutoWithdrawRule, AutoWithdrawRuleSchema, AutoWithdrawRun, AutoWithdrawRunSchema, AutoWithdrawRunState, AutoWithdrawRunStateSchema, AutoWithdrawSchedule, AutoWithdrawScheduleSchema, AutoWithdrawService, AutoWithdrawStep, AutoWithdrawStepSchema, AutoWithdrawStepState, AutoWithdrawStepStateSchema, AutoWithdrawWeekday, AutoWithdrawWeekdaySchema, DisableAutoWithdrawRuleRequest, DisableAutoWithdrawRuleRequestSchema, DisableAutoWithdrawRuleResponse, DisableAutoWithdrawRuleResponseSchema, GetAutoWithdrawRuleRequest, GetAutoWithdrawRuleRequestSchema, GetAutoWithdrawRuleResponse, GetAutoWithdrawRuleResponseSchema, ListAutoWithdrawRunsRequest, ListAutoWithdrawRunsRequestSchema, ListAutoWithdrawRunsResponse, ListAutoWithdrawRunsResponseSchema, SetAutoWithdrawRuleRequest, SetAutoWithdrawRuleRequestSchema, SetAutoWithdrawRuleResponse, SetAutoWithdrawRuleResponseSchema, file_chain_withdraw_v1_auto_withdraw };
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file chain/withdraw/v1/auto_withdraw.proto.
|
|
10
|
+
*/
|
|
11
|
+
declare const file_chain_withdraw_v1_auto_withdraw: GenFile;
|
|
12
|
+
/**
|
|
13
|
+
* AutoWithdrawSchedule is a rule's UTC run slot. Only the fields of its
|
|
14
|
+
* cadence may be set; the others must be zero or empty.
|
|
15
|
+
*
|
|
16
|
+
* @generated from message chain.withdraw.v1.AutoWithdrawSchedule
|
|
17
|
+
*/
|
|
18
|
+
type AutoWithdrawSchedule = Message<"chain.withdraw.v1.AutoWithdrawSchedule"> & {
|
|
19
|
+
/**
|
|
20
|
+
* How often the rule runs.
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawCadence cadence = 1;
|
|
23
|
+
*/
|
|
24
|
+
cadence: AutoWithdrawCadence;
|
|
25
|
+
/**
|
|
26
|
+
* Run day of a weekly or biweekly rule.
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawWeekday weekday = 2;
|
|
29
|
+
*/
|
|
30
|
+
weekday: AutoWithdrawWeekday;
|
|
31
|
+
/**
|
|
32
|
+
* Minute after 00:00 UTC the run starts, 0 to 1439, for every cadence but
|
|
33
|
+
* HOURLY; must be 0 for an hourly rule.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: uint32 minute_of_day = 3;
|
|
36
|
+
*/
|
|
37
|
+
minuteOfDay: number;
|
|
38
|
+
/**
|
|
39
|
+
* Minute past every hour an HOURLY rule is checked, 0 to 59.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: uint32 minute_of_hour = 4;
|
|
42
|
+
*/
|
|
43
|
+
minuteOfHour: number;
|
|
44
|
+
/**
|
|
45
|
+
* Run day of a MONTHLY rule, 1 to 31; see MONTHLY for shorter months.
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: uint32 day_of_month = 5;
|
|
48
|
+
*/
|
|
49
|
+
dayOfMonth: number;
|
|
50
|
+
/**
|
|
51
|
+
* A UTC date (YYYY-MM-DD) in a week a BIWEEKLY rule runs; weeks start on
|
|
52
|
+
* Monday. Responses return the Monday that starts that week.
|
|
53
|
+
*
|
|
54
|
+
* @generated from field: string anchor_date = 6;
|
|
55
|
+
*/
|
|
56
|
+
anchorDate: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message chain.withdraw.v1.AutoWithdrawSchedule.
|
|
60
|
+
* Use `create(AutoWithdrawScheduleSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
declare const AutoWithdrawScheduleSchema: GenMessage<AutoWithdrawSchedule>;
|
|
63
|
+
/**
|
|
64
|
+
* AutoWithdrawDestination pays one asset, in kind, to one external-chain
|
|
65
|
+
* address.
|
|
66
|
+
*
|
|
67
|
+
* @generated from message chain.withdraw.v1.AutoWithdrawDestination
|
|
68
|
+
*/
|
|
69
|
+
type AutoWithdrawDestination = Message<"chain.withdraw.v1.AutoWithdrawDestination"> & {
|
|
70
|
+
/**
|
|
71
|
+
* Ledger asset paid. At most one destination per asset.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: uint32 asset_id = 1;
|
|
74
|
+
*/
|
|
75
|
+
assetId: number;
|
|
76
|
+
/**
|
|
77
|
+
* External destination chain identifier.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: uint64 destination_chain_id = 2;
|
|
80
|
+
*/
|
|
81
|
+
destinationChainId: bigint;
|
|
82
|
+
/**
|
|
83
|
+
* Destination address on destination_chain_id. It must be on the
|
|
84
|
+
* account's external withdraw whitelist when the rule is written and
|
|
85
|
+
* whenever a run pays it. Responses carry its canonical form.
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: string destination_address = 3;
|
|
88
|
+
*/
|
|
89
|
+
destinationAddress: string;
|
|
90
|
+
/**
|
|
91
|
+
* A run pays this asset only when the payable amount reaches this
|
|
92
|
+
* minimum, in 18-decimal asset units, and the rule's min_usd_value_e18;
|
|
93
|
+
* otherwise the balance stays on the account for a later run. Must be at
|
|
94
|
+
* least the route's withdrawal minimum.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: polyester.type.v1.U128 min_amount_e18 = 4;
|
|
97
|
+
*/
|
|
98
|
+
minAmountE18?: U128 | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* The most one run pays this asset, in 18-decimal asset units; at least
|
|
101
|
+
* min_amount_e18. A larger balance pays this ceiling and the rest stays on
|
|
102
|
+
* the account.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: polyester.type.v1.U128 max_amount_e18 = 5;
|
|
105
|
+
*/
|
|
106
|
+
maxAmountE18?: U128 | undefined;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message chain.withdraw.v1.AutoWithdrawDestination.
|
|
110
|
+
* Use `create(AutoWithdrawDestinationSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
declare const AutoWithdrawDestinationSchema: GenMessage<AutoWithdrawDestination>;
|
|
113
|
+
/**
|
|
114
|
+
* AutoWithdrawPause reports why a rule stopped running on its own.
|
|
115
|
+
*
|
|
116
|
+
* @generated from message chain.withdraw.v1.AutoWithdrawPause
|
|
117
|
+
*/
|
|
118
|
+
type AutoWithdrawPause = Message<"chain.withdraw.v1.AutoWithdrawPause"> & {
|
|
119
|
+
/**
|
|
120
|
+
* Asset whose payout paused the rule.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: uint32 asset_id = 1;
|
|
123
|
+
*/
|
|
124
|
+
assetId: number;
|
|
125
|
+
/**
|
|
126
|
+
* Machine-readable reason: destination_not_whitelisted when the
|
|
127
|
+
* destination left the account's external withdraw whitelist,
|
|
128
|
+
* destination_invalid when it is no longer a valid destination, or
|
|
129
|
+
* authority_revoked when the person who set the rule may no longer change
|
|
130
|
+
* it or withdraw from the account.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: string reason = 2;
|
|
133
|
+
*/
|
|
134
|
+
reason: string;
|
|
135
|
+
/**
|
|
136
|
+
* When the rule was paused.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: google.protobuf.Timestamp paused_at = 3;
|
|
139
|
+
*/
|
|
140
|
+
pausedAt?: Timestamp | undefined;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message chain.withdraw.v1.AutoWithdrawPause.
|
|
144
|
+
* Use `create(AutoWithdrawPauseSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
declare const AutoWithdrawPauseSchema: GenMessage<AutoWithdrawPause>;
|
|
147
|
+
/**
|
|
148
|
+
* AutoWithdrawRule is one version of an account's auto-withdraw rule. Each
|
|
149
|
+
* change or disable creates the next version; only the latest version runs,
|
|
150
|
+
* and a run in progress keeps the version it started with but pays nothing
|
|
151
|
+
* further once that version is no longer the latest.
|
|
152
|
+
*
|
|
153
|
+
* @generated from message chain.withdraw.v1.AutoWithdrawRule
|
|
154
|
+
*/
|
|
155
|
+
type AutoWithdrawRule = Message<"chain.withdraw.v1.AutoWithdrawRule"> & {
|
|
156
|
+
/**
|
|
157
|
+
* Public subaccount ID the rule belongs to; zero for the root account.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: fixed64 subaccount_id = 1;
|
|
160
|
+
*/
|
|
161
|
+
subaccountId: bigint;
|
|
162
|
+
/**
|
|
163
|
+
* Rule version, starting at 1.
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: uint32 version = 2;
|
|
166
|
+
*/
|
|
167
|
+
version: number;
|
|
168
|
+
/**
|
|
169
|
+
* Whether the rule runs. A disabled version has no destinations.
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: bool enabled = 3;
|
|
172
|
+
*/
|
|
173
|
+
enabled: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* When the rule runs.
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 4;
|
|
178
|
+
*/
|
|
179
|
+
schedule?: AutoWithdrawSchedule | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* One destination per paid asset, ordered by asset_id.
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 5;
|
|
184
|
+
*/
|
|
185
|
+
destinations: AutoWithdrawDestination[];
|
|
186
|
+
/**
|
|
187
|
+
* When this version was created.
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
190
|
+
*/
|
|
191
|
+
createdAt?: Timestamp | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Set when the rule paused itself; a new version resumes it.
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 7;
|
|
196
|
+
*/
|
|
197
|
+
pause?: AutoWithdrawPause | undefined;
|
|
198
|
+
/**
|
|
199
|
+
* Least USD value one payout of the rule pays, in 18-decimal USD units;
|
|
200
|
+
* zero means no USD minimum.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 8;
|
|
203
|
+
*/
|
|
204
|
+
minUsdValueE18?: U128 | undefined;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Describes the message chain.withdraw.v1.AutoWithdrawRule.
|
|
208
|
+
* Use `create(AutoWithdrawRuleSchema)` to create a new message.
|
|
209
|
+
*/
|
|
210
|
+
declare const AutoWithdrawRuleSchema: GenMessage<AutoWithdrawRule>;
|
|
211
|
+
/**
|
|
212
|
+
* SetAutoWithdrawRuleRequest creates or replaces the rule of the root
|
|
213
|
+
* account or one subaccount.
|
|
214
|
+
*
|
|
215
|
+
* @generated from message chain.withdraw.v1.SetAutoWithdrawRuleRequest
|
|
216
|
+
*/
|
|
217
|
+
type SetAutoWithdrawRuleRequest = Message<"chain.withdraw.v1.SetAutoWithdrawRuleRequest"> & {
|
|
218
|
+
/**
|
|
219
|
+
* Public subaccount ID; omit for the root account.
|
|
220
|
+
*
|
|
221
|
+
* @generated from field: fixed64 subaccount_id = 1;
|
|
222
|
+
*/
|
|
223
|
+
subaccountId: bigint;
|
|
224
|
+
/**
|
|
225
|
+
* The version the change replaces: 0 when the account has no rule yet,
|
|
226
|
+
* otherwise its latest version. A mismatch is rejected so concurrent
|
|
227
|
+
* changes never overwrite each other.
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: uint32 expected_version = 2;
|
|
230
|
+
*/
|
|
231
|
+
expectedVersion: number;
|
|
232
|
+
/**
|
|
233
|
+
* When the rule runs.
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 3;
|
|
236
|
+
*/
|
|
237
|
+
schedule?: AutoWithdrawSchedule | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* Destinations, one per asset, 1 to 32.
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 4;
|
|
242
|
+
*/
|
|
243
|
+
destinations: AutoWithdrawDestination[];
|
|
244
|
+
/**
|
|
245
|
+
* Least USD value one payout pays, in 18-decimal USD units; unset or zero
|
|
246
|
+
* for no USD minimum. Each run values each asset's payable amount at the
|
|
247
|
+
* current index price. A smaller amount stays on the account for a later
|
|
248
|
+
* run, and the asset is skipped with reason price_unavailable when no
|
|
249
|
+
* current price is available. A payout never goes below its destination's
|
|
250
|
+
* min_amount_e18 or the route's withdrawal minimum.
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 5;
|
|
253
|
+
*/
|
|
254
|
+
minUsdValueE18?: U128 | undefined;
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* Describes the message chain.withdraw.v1.SetAutoWithdrawRuleRequest.
|
|
258
|
+
* Use `create(SetAutoWithdrawRuleRequestSchema)` to create a new message.
|
|
259
|
+
*/
|
|
260
|
+
declare const SetAutoWithdrawRuleRequestSchema: GenMessage<SetAutoWithdrawRuleRequest>;
|
|
261
|
+
/**
|
|
262
|
+
* SetAutoWithdrawRuleResponse returns the new rule version.
|
|
263
|
+
*
|
|
264
|
+
* @generated from message chain.withdraw.v1.SetAutoWithdrawRuleResponse
|
|
265
|
+
*/
|
|
266
|
+
type SetAutoWithdrawRuleResponse = Message<"chain.withdraw.v1.SetAutoWithdrawRuleResponse"> & {
|
|
267
|
+
/**
|
|
268
|
+
* The created version.
|
|
269
|
+
*
|
|
270
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;
|
|
271
|
+
*/
|
|
272
|
+
rule?: AutoWithdrawRule | undefined;
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Describes the message chain.withdraw.v1.SetAutoWithdrawRuleResponse.
|
|
276
|
+
* Use `create(SetAutoWithdrawRuleResponseSchema)` to create a new message.
|
|
277
|
+
*/
|
|
278
|
+
declare const SetAutoWithdrawRuleResponseSchema: GenMessage<SetAutoWithdrawRuleResponse>;
|
|
279
|
+
/**
|
|
280
|
+
* DisableAutoWithdrawRuleRequest stops the rule of the root account or one
|
|
281
|
+
* subaccount.
|
|
282
|
+
*
|
|
283
|
+
* @generated from message chain.withdraw.v1.DisableAutoWithdrawRuleRequest
|
|
284
|
+
*/
|
|
285
|
+
type DisableAutoWithdrawRuleRequest = Message<"chain.withdraw.v1.DisableAutoWithdrawRuleRequest"> & {
|
|
286
|
+
/**
|
|
287
|
+
* Public subaccount ID; omit for the root account.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: fixed64 subaccount_id = 1;
|
|
290
|
+
*/
|
|
291
|
+
subaccountId: bigint;
|
|
292
|
+
/**
|
|
293
|
+
* The account's latest rule version.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: uint32 expected_version = 2;
|
|
296
|
+
*/
|
|
297
|
+
expectedVersion: number;
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* Describes the message chain.withdraw.v1.DisableAutoWithdrawRuleRequest.
|
|
301
|
+
* Use `create(DisableAutoWithdrawRuleRequestSchema)` to create a new message.
|
|
302
|
+
*/
|
|
303
|
+
declare const DisableAutoWithdrawRuleRequestSchema: GenMessage<DisableAutoWithdrawRuleRequest>;
|
|
304
|
+
/**
|
|
305
|
+
* DisableAutoWithdrawRuleResponse returns the disabled version.
|
|
306
|
+
*
|
|
307
|
+
* @generated from message chain.withdraw.v1.DisableAutoWithdrawRuleResponse
|
|
308
|
+
*/
|
|
309
|
+
type DisableAutoWithdrawRuleResponse = Message<"chain.withdraw.v1.DisableAutoWithdrawRuleResponse"> & {
|
|
310
|
+
/**
|
|
311
|
+
* The created, disabled version.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;
|
|
314
|
+
*/
|
|
315
|
+
rule?: AutoWithdrawRule | undefined;
|
|
316
|
+
};
|
|
317
|
+
/**
|
|
318
|
+
* Describes the message chain.withdraw.v1.DisableAutoWithdrawRuleResponse.
|
|
319
|
+
* Use `create(DisableAutoWithdrawRuleResponseSchema)` to create a new message.
|
|
320
|
+
*/
|
|
321
|
+
declare const DisableAutoWithdrawRuleResponseSchema: GenMessage<DisableAutoWithdrawRuleResponse>;
|
|
322
|
+
/**
|
|
323
|
+
* GetAutoWithdrawRuleRequest reads the latest rule version.
|
|
324
|
+
*
|
|
325
|
+
* @generated from message chain.withdraw.v1.GetAutoWithdrawRuleRequest
|
|
326
|
+
*/
|
|
327
|
+
type GetAutoWithdrawRuleRequest = Message<"chain.withdraw.v1.GetAutoWithdrawRuleRequest"> & {
|
|
328
|
+
/**
|
|
329
|
+
* Public subaccount ID; omit for the root account.
|
|
330
|
+
*
|
|
331
|
+
* @generated from field: fixed64 subaccount_id = 1;
|
|
332
|
+
*/
|
|
333
|
+
subaccountId: bigint;
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* Describes the message chain.withdraw.v1.GetAutoWithdrawRuleRequest.
|
|
337
|
+
* Use `create(GetAutoWithdrawRuleRequestSchema)` to create a new message.
|
|
338
|
+
*/
|
|
339
|
+
declare const GetAutoWithdrawRuleRequestSchema: GenMessage<GetAutoWithdrawRuleRequest>;
|
|
340
|
+
/**
|
|
341
|
+
* GetAutoWithdrawRuleResponse returns the latest rule version.
|
|
342
|
+
*
|
|
343
|
+
* @generated from message chain.withdraw.v1.GetAutoWithdrawRuleResponse
|
|
344
|
+
*/
|
|
345
|
+
type GetAutoWithdrawRuleResponse = Message<"chain.withdraw.v1.GetAutoWithdrawRuleResponse"> & {
|
|
346
|
+
/**
|
|
347
|
+
* The latest version; unset when the account never had a rule.
|
|
348
|
+
*
|
|
349
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;
|
|
350
|
+
*/
|
|
351
|
+
rule?: AutoWithdrawRule | undefined;
|
|
352
|
+
};
|
|
353
|
+
/**
|
|
354
|
+
* Describes the message chain.withdraw.v1.GetAutoWithdrawRuleResponse.
|
|
355
|
+
* Use `create(GetAutoWithdrawRuleResponseSchema)` to create a new message.
|
|
356
|
+
*/
|
|
357
|
+
declare const GetAutoWithdrawRuleResponseSchema: GenMessage<GetAutoWithdrawRuleResponse>;
|
|
358
|
+
/**
|
|
359
|
+
* AutoWithdrawStep is one asset's payout in a run.
|
|
360
|
+
*
|
|
361
|
+
* @generated from message chain.withdraw.v1.AutoWithdrawStep
|
|
362
|
+
*/
|
|
363
|
+
type AutoWithdrawStep = Message<"chain.withdraw.v1.AutoWithdrawStep"> & {
|
|
364
|
+
/**
|
|
365
|
+
* Ledger asset paid.
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: uint32 asset_id = 1;
|
|
368
|
+
*/
|
|
369
|
+
assetId: number;
|
|
370
|
+
/**
|
|
371
|
+
* External destination chain identifier.
|
|
372
|
+
*
|
|
373
|
+
* @generated from field: uint64 destination_chain_id = 2;
|
|
374
|
+
*/
|
|
375
|
+
destinationChainId: bigint;
|
|
376
|
+
/**
|
|
377
|
+
* Canonical destination address.
|
|
378
|
+
*
|
|
379
|
+
* @generated from field: string destination_address = 3;
|
|
380
|
+
*/
|
|
381
|
+
destinationAddress: string;
|
|
382
|
+
/**
|
|
383
|
+
* The account's available balance of the asset when the run started, in
|
|
384
|
+
* 18-decimal asset units.
|
|
385
|
+
*
|
|
386
|
+
* @generated from field: polyester.type.v1.U128 available_e18 = 4;
|
|
387
|
+
*/
|
|
388
|
+
availableE18?: U128 | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* What the step pays, in 18-decimal asset units: the available balance
|
|
391
|
+
* up to the ceiling, rounded down to whole on-chain units. Zero when
|
|
392
|
+
* skipped. The remainder stays on the account.
|
|
393
|
+
*
|
|
394
|
+
* @generated from field: polyester.type.v1.U128 amount_e18 = 5;
|
|
395
|
+
*/
|
|
396
|
+
amountE18?: U128 | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* Where the payout stands.
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawStepState state = 6;
|
|
401
|
+
*/
|
|
402
|
+
state: AutoWithdrawStepState;
|
|
403
|
+
/**
|
|
404
|
+
* Machine-readable reason for a skipped or failed step, such as
|
|
405
|
+
* below_minimum, price_unavailable (the rule has a USD minimum and no
|
|
406
|
+
* current price valued the asset; the funds stay for a later run),
|
|
407
|
+
* rule_superseded, destination_not_whitelisted, authority_revoked,
|
|
408
|
+
* gateway_capacity_insufficient (the funds stay for a later run),
|
|
409
|
+
* withdrawal_released or withdrawal_failed; empty otherwise.
|
|
410
|
+
*
|
|
411
|
+
* @generated from field: string reason = 7;
|
|
412
|
+
*/
|
|
413
|
+
reason: string;
|
|
414
|
+
/**
|
|
415
|
+
* Withdraw intent identifier once the withdrawal is accepted; follows the
|
|
416
|
+
* same lifecycle as a user withdrawal.
|
|
417
|
+
*
|
|
418
|
+
* @generated from field: string intent_id = 8;
|
|
419
|
+
*/
|
|
420
|
+
intentId: string;
|
|
421
|
+
/**
|
|
422
|
+
* Destination-network transaction hash once the withdrawal completed.
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: string tx_hash = 9;
|
|
425
|
+
*/
|
|
426
|
+
txHash: string;
|
|
427
|
+
/**
|
|
428
|
+
* USD value of the payable amount when the run started, in 18-decimal USD
|
|
429
|
+
* units, checked against the rule's min_usd_value_e18. Unset when the rule
|
|
430
|
+
* has no USD minimum or no current price was available.
|
|
431
|
+
*
|
|
432
|
+
* @generated from field: polyester.type.v1.U128 value_usd_e18 = 10;
|
|
433
|
+
*/
|
|
434
|
+
valueUsdE18?: U128 | undefined;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* Describes the message chain.withdraw.v1.AutoWithdrawStep.
|
|
438
|
+
* Use `create(AutoWithdrawStepSchema)` to create a new message.
|
|
439
|
+
*/
|
|
440
|
+
declare const AutoWithdrawStepSchema: GenMessage<AutoWithdrawStep>;
|
|
441
|
+
/**
|
|
442
|
+
* AutoWithdrawRun is one scheduled run of an account's rule.
|
|
443
|
+
*
|
|
444
|
+
* @generated from message chain.withdraw.v1.AutoWithdrawRun
|
|
445
|
+
*/
|
|
446
|
+
type AutoWithdrawRun = Message<"chain.withdraw.v1.AutoWithdrawRun"> & {
|
|
447
|
+
/**
|
|
448
|
+
* The account's run number, increasing by one per run.
|
|
449
|
+
*
|
|
450
|
+
* @generated from field: uint64 run_seq = 1;
|
|
451
|
+
*/
|
|
452
|
+
runSeq: bigint;
|
|
453
|
+
/**
|
|
454
|
+
* The rule version the run executes.
|
|
455
|
+
*
|
|
456
|
+
* @generated from field: uint32 rule_version = 2;
|
|
457
|
+
*/
|
|
458
|
+
ruleVersion: number;
|
|
459
|
+
/**
|
|
460
|
+
* The scheduled slot the run belongs to.
|
|
461
|
+
*
|
|
462
|
+
* @generated from field: google.protobuf.Timestamp scheduled_for = 3;
|
|
463
|
+
*/
|
|
464
|
+
scheduledFor?: Timestamp | undefined;
|
|
465
|
+
/**
|
|
466
|
+
* Where the run stands.
|
|
467
|
+
*
|
|
468
|
+
* @generated from field: chain.withdraw.v1.AutoWithdrawRunState state = 4;
|
|
469
|
+
*/
|
|
470
|
+
state: AutoWithdrawRunState;
|
|
471
|
+
/**
|
|
472
|
+
* Machine-readable reason for a skipped run: nothing_to_pay,
|
|
473
|
+
* price_unavailable (an asset was not paid because no current price valued
|
|
474
|
+
* it) or rule_superseded; empty otherwise.
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: string reason = 5;
|
|
477
|
+
*/
|
|
478
|
+
reason: string;
|
|
479
|
+
/**
|
|
480
|
+
* One step per destination of the rule version, ordered by asset_id.
|
|
481
|
+
* Empty while the run is planned.
|
|
482
|
+
*
|
|
483
|
+
* @generated from field: repeated chain.withdraw.v1.AutoWithdrawStep steps = 6;
|
|
484
|
+
*/
|
|
485
|
+
steps: AutoWithdrawStep[];
|
|
486
|
+
/**
|
|
487
|
+
* When the run started.
|
|
488
|
+
*
|
|
489
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
490
|
+
*/
|
|
491
|
+
createdAt?: Timestamp | undefined;
|
|
492
|
+
/**
|
|
493
|
+
* When the run ended; unset while it is in progress.
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: google.protobuf.Timestamp finished_at = 8;
|
|
496
|
+
*/
|
|
497
|
+
finishedAt?: Timestamp | undefined;
|
|
498
|
+
};
|
|
499
|
+
/**
|
|
500
|
+
* Describes the message chain.withdraw.v1.AutoWithdrawRun.
|
|
501
|
+
* Use `create(AutoWithdrawRunSchema)` to create a new message.
|
|
502
|
+
*/
|
|
503
|
+
declare const AutoWithdrawRunSchema: GenMessage<AutoWithdrawRun>;
|
|
504
|
+
/**
|
|
505
|
+
* ListAutoWithdrawRunsRequest pages through an account's runs, newest first.
|
|
506
|
+
*
|
|
507
|
+
* @generated from message chain.withdraw.v1.ListAutoWithdrawRunsRequest
|
|
508
|
+
*/
|
|
509
|
+
type ListAutoWithdrawRunsRequest = Message<"chain.withdraw.v1.ListAutoWithdrawRunsRequest"> & {
|
|
510
|
+
/**
|
|
511
|
+
* Public subaccount ID; omit for the root account.
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: fixed64 subaccount_id = 1;
|
|
514
|
+
*/
|
|
515
|
+
subaccountId: bigint;
|
|
516
|
+
/**
|
|
517
|
+
* Maximum number of runs to return: 0 means 20, at most 100.
|
|
518
|
+
*
|
|
519
|
+
* @generated from field: uint32 limit = 2;
|
|
520
|
+
*/
|
|
521
|
+
limit: number;
|
|
522
|
+
/**
|
|
523
|
+
* Opaque, exclusive, keyset-backed cursor from a previous response,
|
|
524
|
+
* bound to the caller's account or subaccount and the newest-first
|
|
525
|
+
* run_seq order. Empty for the first page.
|
|
526
|
+
*
|
|
527
|
+
* @generated from field: string page_token = 3;
|
|
528
|
+
*/
|
|
529
|
+
pageToken: string;
|
|
530
|
+
};
|
|
531
|
+
/**
|
|
532
|
+
* Describes the message chain.withdraw.v1.ListAutoWithdrawRunsRequest.
|
|
533
|
+
* Use `create(ListAutoWithdrawRunsRequestSchema)` to create a new message.
|
|
534
|
+
*/
|
|
535
|
+
declare const ListAutoWithdrawRunsRequestSchema: GenMessage<ListAutoWithdrawRunsRequest>;
|
|
536
|
+
/**
|
|
537
|
+
* ListAutoWithdrawRunsResponse returns one page of runs, newest first.
|
|
538
|
+
*
|
|
539
|
+
* @generated from message chain.withdraw.v1.ListAutoWithdrawRunsResponse
|
|
540
|
+
*/
|
|
541
|
+
type ListAutoWithdrawRunsResponse = Message<"chain.withdraw.v1.ListAutoWithdrawRunsResponse"> & {
|
|
542
|
+
/**
|
|
543
|
+
* Runs ordered by run_seq, newest first.
|
|
544
|
+
*
|
|
545
|
+
* @generated from field: repeated chain.withdraw.v1.AutoWithdrawRun runs = 1;
|
|
546
|
+
*/
|
|
547
|
+
runs: AutoWithdrawRun[];
|
|
548
|
+
/**
|
|
549
|
+
* Cursor for the next page. Empty when no more results exist.
|
|
550
|
+
*
|
|
551
|
+
* @generated from field: string next_page_token = 2;
|
|
552
|
+
*/
|
|
553
|
+
nextPageToken: string;
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* Describes the message chain.withdraw.v1.ListAutoWithdrawRunsResponse.
|
|
557
|
+
* Use `create(ListAutoWithdrawRunsResponseSchema)` to create a new message.
|
|
558
|
+
*/
|
|
559
|
+
declare const ListAutoWithdrawRunsResponseSchema: GenMessage<ListAutoWithdrawRunsResponse>;
|
|
560
|
+
/**
|
|
561
|
+
* AutoWithdrawCadence is how often an auto-withdraw rule runs. Every slot
|
|
562
|
+
* is a UTC time, with no daylight-saving shift.
|
|
563
|
+
*
|
|
564
|
+
* @generated from enum chain.withdraw.v1.AutoWithdrawCadence
|
|
565
|
+
*/
|
|
566
|
+
declare enum AutoWithdrawCadence {
|
|
567
|
+
/**
|
|
568
|
+
* Not set; rejected.
|
|
569
|
+
*
|
|
570
|
+
* @generated from enum value: CADENCE_UNSPECIFIED = 0;
|
|
571
|
+
*/
|
|
572
|
+
CADENCE_UNSPECIFIED = 0,
|
|
573
|
+
/**
|
|
574
|
+
* Once a day at minute_of_day UTC.
|
|
575
|
+
*
|
|
576
|
+
* @generated from enum value: DAILY = 1;
|
|
577
|
+
*/
|
|
578
|
+
DAILY = 1,
|
|
579
|
+
/**
|
|
580
|
+
* Once a week on weekday at minute_of_day UTC.
|
|
581
|
+
*
|
|
582
|
+
* @generated from enum value: WEEKLY = 2;
|
|
583
|
+
*/
|
|
584
|
+
WEEKLY = 2,
|
|
585
|
+
/**
|
|
586
|
+
* Checked every hour at minute_of_hour UTC; pays only an asset whose
|
|
587
|
+
* payable amount has reached its minimums, so a payout follows within the
|
|
588
|
+
* hour of the balance reaching them. An hour with nothing to pay records
|
|
589
|
+
* no run.
|
|
590
|
+
*
|
|
591
|
+
* @generated from enum value: HOURLY = 3;
|
|
592
|
+
*/
|
|
593
|
+
HOURLY = 3,
|
|
594
|
+
/**
|
|
595
|
+
* Every two weeks on weekday at minute_of_day UTC: in the week of
|
|
596
|
+
* anchor_date and every second week before or after it.
|
|
597
|
+
*
|
|
598
|
+
* @generated from enum value: BIWEEKLY = 4;
|
|
599
|
+
*/
|
|
600
|
+
BIWEEKLY = 4,
|
|
601
|
+
/**
|
|
602
|
+
* Once a month on day_of_month at minute_of_day UTC. A month without that
|
|
603
|
+
* day runs on its last day: day 31 runs on April 30 and on February 28 or
|
|
604
|
+
* 29, and days 29 and 30 run on the last day of February.
|
|
605
|
+
*
|
|
606
|
+
* @generated from enum value: MONTHLY = 5;
|
|
607
|
+
*/
|
|
608
|
+
MONTHLY = 5
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* Describes the enum chain.withdraw.v1.AutoWithdrawCadence.
|
|
612
|
+
*/
|
|
613
|
+
declare const AutoWithdrawCadenceSchema: GenEnum<AutoWithdrawCadence>;
|
|
614
|
+
/**
|
|
615
|
+
* AutoWithdrawWeekday is the run day of a weekly or biweekly rule.
|
|
616
|
+
*
|
|
617
|
+
* @generated from enum chain.withdraw.v1.AutoWithdrawWeekday
|
|
618
|
+
*/
|
|
619
|
+
declare enum AutoWithdrawWeekday {
|
|
620
|
+
/**
|
|
621
|
+
* Not set; required for a weekly or biweekly rule and must be unset for
|
|
622
|
+
* any other cadence.
|
|
623
|
+
*
|
|
624
|
+
* @generated from enum value: WEEKDAY_UNSPECIFIED = 0;
|
|
625
|
+
*/
|
|
626
|
+
WEEKDAY_UNSPECIFIED = 0,
|
|
627
|
+
/**
|
|
628
|
+
* Monday.
|
|
629
|
+
*
|
|
630
|
+
* @generated from enum value: MONDAY = 1;
|
|
631
|
+
*/
|
|
632
|
+
MONDAY = 1,
|
|
633
|
+
/**
|
|
634
|
+
* Tuesday.
|
|
635
|
+
*
|
|
636
|
+
* @generated from enum value: TUESDAY = 2;
|
|
637
|
+
*/
|
|
638
|
+
TUESDAY = 2,
|
|
639
|
+
/**
|
|
640
|
+
* Wednesday.
|
|
641
|
+
*
|
|
642
|
+
* @generated from enum value: WEDNESDAY = 3;
|
|
643
|
+
*/
|
|
644
|
+
WEDNESDAY = 3,
|
|
645
|
+
/**
|
|
646
|
+
* Thursday.
|
|
647
|
+
*
|
|
648
|
+
* @generated from enum value: THURSDAY = 4;
|
|
649
|
+
*/
|
|
650
|
+
THURSDAY = 4,
|
|
651
|
+
/**
|
|
652
|
+
* Friday.
|
|
653
|
+
*
|
|
654
|
+
* @generated from enum value: FRIDAY = 5;
|
|
655
|
+
*/
|
|
656
|
+
FRIDAY = 5,
|
|
657
|
+
/**
|
|
658
|
+
* Saturday.
|
|
659
|
+
*
|
|
660
|
+
* @generated from enum value: SATURDAY = 6;
|
|
661
|
+
*/
|
|
662
|
+
SATURDAY = 6,
|
|
663
|
+
/**
|
|
664
|
+
* Sunday.
|
|
665
|
+
*
|
|
666
|
+
* @generated from enum value: SUNDAY = 7;
|
|
667
|
+
*/
|
|
668
|
+
SUNDAY = 7
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* Describes the enum chain.withdraw.v1.AutoWithdrawWeekday.
|
|
672
|
+
*/
|
|
673
|
+
declare const AutoWithdrawWeekdaySchema: GenEnum<AutoWithdrawWeekday>;
|
|
674
|
+
/**
|
|
675
|
+
* AutoWithdrawRunState is where one auto-withdraw run stands.
|
|
676
|
+
*
|
|
677
|
+
* @generated from enum chain.withdraw.v1.AutoWithdrawRunState
|
|
678
|
+
*/
|
|
679
|
+
declare enum AutoWithdrawRunState {
|
|
680
|
+
/**
|
|
681
|
+
* Never returned.
|
|
682
|
+
*
|
|
683
|
+
* @generated from enum value: RUN_STATE_UNSPECIFIED = 0;
|
|
684
|
+
*/
|
|
685
|
+
RUN_STATE_UNSPECIFIED = 0,
|
|
686
|
+
/**
|
|
687
|
+
* The run is reading the account's balances.
|
|
688
|
+
*
|
|
689
|
+
* @generated from enum value: RUN_PLANNED = 1;
|
|
690
|
+
*/
|
|
691
|
+
RUN_PLANNED = 1,
|
|
692
|
+
/**
|
|
693
|
+
* The run's payouts are in progress.
|
|
694
|
+
*
|
|
695
|
+
* @generated from enum value: RUN_PAYING = 2;
|
|
696
|
+
*/
|
|
697
|
+
RUN_PAYING = 2,
|
|
698
|
+
/**
|
|
699
|
+
* Every payout completed or was skipped, and at least one paid.
|
|
700
|
+
*
|
|
701
|
+
* @generated from enum value: RUN_COMPLETED = 3;
|
|
702
|
+
*/
|
|
703
|
+
RUN_COMPLETED = 3,
|
|
704
|
+
/**
|
|
705
|
+
* Some payouts failed; their funds are back on the account.
|
|
706
|
+
*
|
|
707
|
+
* @generated from enum value: RUN_PARTIALLY_FAILED = 4;
|
|
708
|
+
*/
|
|
709
|
+
RUN_PARTIALLY_FAILED = 4,
|
|
710
|
+
/**
|
|
711
|
+
* Every attempted payout failed; the funds are back on the account.
|
|
712
|
+
*
|
|
713
|
+
* @generated from enum value: RUN_FAILED = 5;
|
|
714
|
+
*/
|
|
715
|
+
RUN_FAILED = 5,
|
|
716
|
+
/**
|
|
717
|
+
* Nothing was paid: every asset was below its minimum, no current price
|
|
718
|
+
* valued it, or the rule was no longer current.
|
|
719
|
+
*
|
|
720
|
+
* @generated from enum value: RUN_SKIPPED = 6;
|
|
721
|
+
*/
|
|
722
|
+
RUN_SKIPPED = 6
|
|
723
|
+
}
|
|
724
|
+
/**
|
|
725
|
+
* Describes the enum chain.withdraw.v1.AutoWithdrawRunState.
|
|
726
|
+
*/
|
|
727
|
+
declare const AutoWithdrawRunStateSchema: GenEnum<AutoWithdrawRunState>;
|
|
728
|
+
/**
|
|
729
|
+
* AutoWithdrawStepState is where one asset's payout of a run stands.
|
|
730
|
+
*
|
|
731
|
+
* @generated from enum chain.withdraw.v1.AutoWithdrawStepState
|
|
732
|
+
*/
|
|
733
|
+
declare enum AutoWithdrawStepState {
|
|
734
|
+
/**
|
|
735
|
+
* Never returned.
|
|
736
|
+
*
|
|
737
|
+
* @generated from enum value: STEP_STATE_UNSPECIFIED = 0;
|
|
738
|
+
*/
|
|
739
|
+
STEP_STATE_UNSPECIFIED = 0,
|
|
740
|
+
/**
|
|
741
|
+
* Planned; not yet requested.
|
|
742
|
+
*
|
|
743
|
+
* @generated from enum value: STEP_PENDING = 1;
|
|
744
|
+
*/
|
|
745
|
+
STEP_PENDING = 1,
|
|
746
|
+
/**
|
|
747
|
+
* Being requested.
|
|
748
|
+
*
|
|
749
|
+
* @generated from enum value: STEP_SUBMITTING = 2;
|
|
750
|
+
*/
|
|
751
|
+
STEP_SUBMITTING = 2,
|
|
752
|
+
/**
|
|
753
|
+
* Withdrawal accepted; waiting for it to complete on chain.
|
|
754
|
+
*
|
|
755
|
+
* @generated from enum value: STEP_SUBMITTED = 3;
|
|
756
|
+
*/
|
|
757
|
+
STEP_SUBMITTED = 3,
|
|
758
|
+
/**
|
|
759
|
+
* The withdrawal completed on chain.
|
|
760
|
+
*
|
|
761
|
+
* @generated from enum value: STEP_COMPLETED = 4;
|
|
762
|
+
*/
|
|
763
|
+
STEP_COMPLETED = 4,
|
|
764
|
+
/**
|
|
765
|
+
* The withdrawal failed; its funds are back on the account.
|
|
766
|
+
*
|
|
767
|
+
* @generated from enum value: STEP_FAILED = 5;
|
|
768
|
+
*/
|
|
769
|
+
STEP_FAILED = 5,
|
|
770
|
+
/**
|
|
771
|
+
* Nothing was paid for this asset in this run.
|
|
772
|
+
*
|
|
773
|
+
* @generated from enum value: STEP_SKIPPED = 6;
|
|
774
|
+
*/
|
|
775
|
+
STEP_SKIPPED = 6
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* Describes the enum chain.withdraw.v1.AutoWithdrawStepState.
|
|
779
|
+
*/
|
|
780
|
+
declare const AutoWithdrawStepStateSchema: GenEnum<AutoWithdrawStepState>;
|
|
781
|
+
/**
|
|
782
|
+
* AutoWithdrawService manages scheduled in-kind auto-withdraw rules for a
|
|
783
|
+
* root account or subaccount. A rule pays each asset's balance out on an
|
|
784
|
+
* hourly, daily, weekly, biweekly or monthly UTC slot, through the normal
|
|
785
|
+
* withdraw path, only to destinations on the account's external withdraw
|
|
786
|
+
* whitelist. Changing a
|
|
787
|
+
* rule requires a person with withdraw rights and a fresh single-use MFA
|
|
788
|
+
* step-up; API keys can read rules and runs but never change them.
|
|
789
|
+
*
|
|
790
|
+
* @generated from service chain.withdraw.v1.AutoWithdrawService
|
|
791
|
+
*/
|
|
792
|
+
declare const AutoWithdrawService: GenService<{
|
|
793
|
+
/**
|
|
794
|
+
* Create the account's rule, or replace its latest version with a new
|
|
795
|
+
* one. Requires a session login with withdraw rights on the account and
|
|
796
|
+
* a fresh single-use step-up; every destination must be on the account's
|
|
797
|
+
* external withdraw whitelist.
|
|
798
|
+
*
|
|
799
|
+
* @generated from rpc chain.withdraw.v1.AutoWithdrawService.SetAutoWithdrawRule
|
|
800
|
+
*/
|
|
801
|
+
setAutoWithdrawRule: {
|
|
802
|
+
methodKind: "unary";
|
|
803
|
+
input: typeof SetAutoWithdrawRuleRequestSchema;
|
|
804
|
+
output: typeof SetAutoWithdrawRuleResponseSchema;
|
|
805
|
+
};
|
|
806
|
+
/**
|
|
807
|
+
* Disable the account's rule. Requires a session login with withdraw
|
|
808
|
+
* rights on the account and a fresh single-use step-up.
|
|
809
|
+
*
|
|
810
|
+
* @generated from rpc chain.withdraw.v1.AutoWithdrawService.DisableAutoWithdrawRule
|
|
811
|
+
*/
|
|
812
|
+
disableAutoWithdrawRule: {
|
|
813
|
+
methodKind: "unary";
|
|
814
|
+
input: typeof DisableAutoWithdrawRuleRequestSchema;
|
|
815
|
+
output: typeof DisableAutoWithdrawRuleResponseSchema;
|
|
816
|
+
};
|
|
817
|
+
/**
|
|
818
|
+
* Read the account's latest rule version.
|
|
819
|
+
*
|
|
820
|
+
* @generated from rpc chain.withdraw.v1.AutoWithdrawService.GetAutoWithdrawRule
|
|
821
|
+
*/
|
|
822
|
+
getAutoWithdrawRule: {
|
|
823
|
+
methodKind: "unary";
|
|
824
|
+
input: typeof GetAutoWithdrawRuleRequestSchema;
|
|
825
|
+
output: typeof GetAutoWithdrawRuleResponseSchema;
|
|
826
|
+
};
|
|
827
|
+
/**
|
|
828
|
+
* List the account's auto-withdraw runs with their payouts, newest first.
|
|
829
|
+
*
|
|
830
|
+
* @generated from rpc chain.withdraw.v1.AutoWithdrawService.ListAutoWithdrawRuns
|
|
831
|
+
*/
|
|
832
|
+
listAutoWithdrawRuns: {
|
|
833
|
+
methodKind: "unary";
|
|
834
|
+
input: typeof ListAutoWithdrawRunsRequestSchema;
|
|
835
|
+
output: typeof ListAutoWithdrawRunsResponseSchema;
|
|
836
|
+
};
|
|
837
|
+
}>;
|
|
838
|
+
//#endregion
|
|
839
|
+
export { AutoWithdrawCadence, AutoWithdrawCadenceSchema, AutoWithdrawDestination, AutoWithdrawDestinationSchema, AutoWithdrawPause, AutoWithdrawPauseSchema, AutoWithdrawRule, AutoWithdrawRuleSchema, AutoWithdrawRun, AutoWithdrawRunSchema, AutoWithdrawRunState, AutoWithdrawRunStateSchema, AutoWithdrawSchedule, AutoWithdrawScheduleSchema, AutoWithdrawService, AutoWithdrawStep, AutoWithdrawStepSchema, AutoWithdrawStepState, AutoWithdrawStepStateSchema, AutoWithdrawWeekday, AutoWithdrawWeekdaySchema, DisableAutoWithdrawRuleRequest, DisableAutoWithdrawRuleRequestSchema, DisableAutoWithdrawRuleResponse, DisableAutoWithdrawRuleResponseSchema, GetAutoWithdrawRuleRequest, GetAutoWithdrawRuleRequestSchema, GetAutoWithdrawRuleResponse, GetAutoWithdrawRuleResponseSchema, ListAutoWithdrawRunsRequest, ListAutoWithdrawRunsRequestSchema, ListAutoWithdrawRunsResponse, ListAutoWithdrawRunsResponseSchema, SetAutoWithdrawRuleRequest, SetAutoWithdrawRuleRequestSchema, SetAutoWithdrawRuleResponse, SetAutoWithdrawRuleResponseSchema, auto_withdraw_pb_d_exports, file_chain_withdraw_v1_auto_withdraw };
|
|
840
|
+
//# sourceMappingURL=auto_withdraw_pb.d.ts.map
|