@polyester/sdk 0.36.0-devnet-20261114152753 → 0.36.0-devnet-20261116002603
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 +61 -3
- package/dist/browser-core.js +1 -1
- package/dist/catalogs/readers.d.ts.map +1 -1
- package/dist/catalogs/readers.js +1 -1
- package/dist/catalogs/readers.js.map +1 -1
- package/dist/catalogs/snapshot-validation.js +8 -6
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/catalogs/unknown-asset.d.ts.map +1 -1
- package/dist/catalogs/unknown-asset.js +4 -4
- package/dist/catalogs/unknown-asset.js.map +1 -1
- package/dist/client.d.ts +4 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -0
- package/dist/client.js.map +1 -1
- package/dist/core-client.d.ts.map +1 -1
- package/dist/core-client.js +2 -1
- package/dist/core-client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +83 -5
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +67 -11
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/address_book_pb.d.ts +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +5 -5
- package/dist/gen/auth/v1/api_keys_pb.js +4 -4
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +27 -2
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +18 -1
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.d.ts +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +19 -2
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +18 -1
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +8 -12
- package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/profile_pb.js +1 -1
- package/dist/gen/auth/v1/profile_pb.js.map +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +45 -11
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +18 -2
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +16 -2
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +229 -39
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +34 -10
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +13 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +13 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +7 -4
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +11 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +10 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +11 -7
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.js +2 -2
- package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +1 -1
- package/dist/gen/index.d.ts +3 -1
- package/dist/gen/index.js +23 -21
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +58 -17
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +32 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +424 -0
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts.map +1 -0
- package/dist/gen/ledger/read/v1/statement_export_pb.js +154 -0
- package/dist/gen/ledger/read/v1/statement_export_pb.js.map +1 -0
- package/dist/gen/marketdata/v1/asset_info_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +29 -5
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +1 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +3 -2
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +1 -1
- package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +13 -8
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +23 -11
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +4 -2
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +48 -12
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +35 -6
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +1 -1
- package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
- package/dist/gen/system/v1/system_pb.d.ts +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +1 -1
- package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +741 -0
- package/dist/gen/transfer/v1/dust_conversion_pb.d.ts.map +1 -0
- package/dist/gen/transfer/v1/dust_conversion_pb.js +235 -0
- package/dist/gen/transfer/v1/dust_conversion_pb.js.map +1 -0
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +368 -4
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js +166 -4
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +11 -6
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +4 -2
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
- package/dist/index.d.ts +13 -7
- package/dist/index.js +1 -1
- package/dist/realtime/private-orders.d.ts +8 -0
- package/dist/realtime/private-orders.d.ts.map +1 -1
- package/dist/realtime/private-orders.js +38 -5
- package/dist/realtime/private-orders.js.map +1 -1
- package/dist/realtime/snapshot-then-stream.js +1 -1
- package/dist/server-core.js +3 -3
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.schemas.js +1 -1
- package/dist/services/address-book/address-book.js +1 -1
- package/dist/services/address-book/address-book.schemas.d.ts.map +1 -1
- package/dist/services/address-book/address-book.schemas.js +4 -4
- package/dist/services/address-book/address-book.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.js +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +1 -1
- package/dist/services/assistant/assistant-events.schemas.d.ts +27 -27
- package/dist/services/assistant/assistant.codecs.d.ts +7 -1
- package/dist/services/assistant/assistant.codecs.d.ts.map +1 -1
- package/dist/services/assistant/assistant.codecs.js +5 -1
- package/dist/services/assistant/assistant.codecs.js.map +1 -1
- package/dist/services/assistant/assistant.d.ts +4 -3
- package/dist/services/assistant/assistant.d.ts.map +1 -1
- package/dist/services/assistant/assistant.js +7 -5
- package/dist/services/assistant/assistant.js.map +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +40 -3
- package/dist/services/assistant/assistant.schemas.d.ts.map +1 -1
- package/dist/services/assistant/assistant.schemas.js +19 -5
- package/dist/services/assistant/assistant.schemas.js.map +1 -1
- package/dist/services/assistant/assistant.types.d.ts +3 -3
- package/dist/services/auth/account-signer-auth.js +2 -2
- package/dist/services/auth/auth.js +1 -1
- package/dist/services/auth/profile/profile.d.ts +1 -1
- package/dist/services/auth/profile/profile.js +3 -3
- package/dist/services/auth/profile/profile.js.map +1 -1
- package/dist/services/auth/profile/profile.schemas.d.ts +0 -1
- package/dist/services/auth/profile/profile.schemas.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +0 -1
- package/dist/services/auth/profile/profile.schemas.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts +3 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.d.ts.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.codecs.js.map +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +16 -16
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
- package/dist/services/balances/balances.d.ts +4 -3
- package/dist/services/balances/balances.d.ts.map +1 -1
- package/dist/services/balances/balances.js +13 -5
- package/dist/services/balances/balances.js.map +1 -1
- package/dist/services/balances/balances.schemas.d.ts +36 -29
- package/dist/services/balances/balances.schemas.d.ts.map +1 -1
- package/dist/services/balances/balances.schemas.js +7 -11
- package/dist/services/balances/balances.schemas.js.map +1 -1
- package/dist/services/balances/balances.types.d.ts +2 -2
- package/dist/services/candles/candles.js +2 -2
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/chain-analytics/chain-analytics.js +1 -1
- package/dist/services/changelog/changelog.js +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +38 -38
- package/dist/services/checkpoints/checkpoints.js +1 -1
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/claims/claims.js +1 -1
- package/dist/services/claims/claims.schemas.d.ts +2 -2
- package/dist/services/claims/claims.schemas.js +1 -1
- package/dist/services/deposit/deposit.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.codecs.d.ts +22 -0
- package/dist/services/dust-conversion/dust-conversion.codecs.d.ts.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.codecs.js +22 -0
- package/dist/services/dust-conversion/dust-conversion.codecs.js.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.d.ts +59 -0
- package/dist/services/dust-conversion/dust-conversion.d.ts.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.js +87 -0
- package/dist/services/dust-conversion/dust-conversion.js.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +561 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.js +190 -0
- package/dist/services/dust-conversion/dust-conversion.schemas.js.map +1 -0
- package/dist/services/dust-conversion/dust-conversion.types.d.ts +3 -0
- package/dist/services/dust-conversion/service.d.ts +8 -0
- package/dist/services/dust-conversion/service.d.ts.map +1 -0
- package/dist/services/dust-conversion/service.js +9 -0
- package/dist/services/dust-conversion/service.js.map +1 -0
- package/dist/services/fees/fees.js +1 -1
- package/dist/services/guard-signer/guard-signer.js +1 -1
- package/dist/services/guard-signer/guard-signer.schemas.js +1 -1
- package/dist/services/heatmap/heatmap.js +2 -2
- package/dist/services/internal-transfers/internal-transfers.codecs.d.ts +13 -1
- package/dist/services/internal-transfers/internal-transfers.codecs.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.codecs.js +22 -2
- package/dist/services/internal-transfers/internal-transfers.codecs.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.d.ts +14 -2
- package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js +30 -4
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +262 -2
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.js +62 -4
- package/dist/services/internal-transfers/internal-transfers.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.types.d.ts +3 -3
- 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 +1 -0
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.d.ts +26 -8
- package/dist/services/lifecycle/lifecycle.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.js +42 -10
- package/dist/services/lifecycle/lifecycle.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +95 -71
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +45 -46
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.types.d.ts +2 -2
- package/dist/services/lifecycle/service.js +1 -1
- package/dist/services/lifecycle/service.js.map +1 -1
- package/dist/services/market-data/market-data.js +3 -3
- package/dist/services/market-overview/market-overview.js +2 -2
- package/dist/services/market-overview/market-overview.schemas.js +1 -1
- package/dist/services/notifications/notifications.js +1 -1
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +3 -2
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +10 -0
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +4 -1
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +11 -1
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +19 -6
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +68 -28
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +5 -4
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-identifiers.schemas.js +2 -1
- package/dist/services/orders/orders-identifiers.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +11 -4
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +4 -3
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +4 -3
- package/dist/services/orders/orders-modify.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +14 -14
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +2 -10
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +3 -3
- package/dist/services/orders/orders.d.ts +6 -0
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +6 -2
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +10 -4
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +2 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +3 -3
- package/dist/services/price-alerts/price-alerts.js +1 -1
- package/dist/services/rate-limits/rate-limits.d.ts +4 -1
- package/dist/services/rate-limits/rate-limits.d.ts.map +1 -1
- package/dist/services/rate-limits/rate-limits.js +5 -2
- package/dist/services/rate-limits/rate-limits.js.map +1 -1
- package/dist/services/rate-limits/rate-limits.schemas.d.ts +1 -0
- package/dist/services/rate-limits/rate-limits.schemas.d.ts.map +1 -1
- package/dist/services/rate-limits/rate-limits.schemas.js +1 -0
- package/dist/services/rate-limits/rate-limits.schemas.js.map +1 -1
- package/dist/services/rewards/rewards.js +1 -1
- package/dist/services/rewards/rewards.schemas.d.ts +4 -4
- package/dist/services/social-verification/social-verification.codecs.js +6 -2
- package/dist/services/social-verification/social-verification.codecs.js.map +1 -1
- package/dist/services/social-verification/social-verification.d.ts +14 -3
- package/dist/services/social-verification/social-verification.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.js +15 -4
- package/dist/services/social-verification/social-verification.js.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.d.ts +13 -3
- package/dist/services/social-verification/social-verification.schemas.d.ts.map +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +13 -5
- package/dist/services/social-verification/social-verification.schemas.js.map +1 -1
- package/dist/services/statement-exports/service.d.ts +8 -0
- package/dist/services/statement-exports/service.d.ts.map +1 -0
- package/dist/services/statement-exports/service.js +9 -0
- package/dist/services/statement-exports/service.js.map +1 -0
- package/dist/services/statement-exports/statement-exports.codecs.d.ts +17 -0
- package/dist/services/statement-exports/statement-exports.codecs.d.ts.map +1 -0
- package/dist/services/statement-exports/statement-exports.codecs.js +19 -0
- package/dist/services/statement-exports/statement-exports.codecs.js.map +1 -0
- package/dist/services/statement-exports/statement-exports.d.ts +34 -0
- package/dist/services/statement-exports/statement-exports.d.ts.map +1 -0
- package/dist/services/statement-exports/statement-exports.js +53 -0
- package/dist/services/statement-exports/statement-exports.js.map +1 -0
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +269 -0
- package/dist/services/statement-exports/statement-exports.schemas.d.ts.map +1 -0
- package/dist/services/statement-exports/statement-exports.schemas.js +98 -0
- package/dist/services/statement-exports/statement-exports.schemas.js.map +1 -0
- package/dist/services/statement-exports/statement-exports.types.d.ts +3 -0
- package/dist/services/subaccounts/subaccounts.codecs.js +3 -1
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +3 -3
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +12 -12
- package/dist/services/system/system.js +1 -1
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/trades/trades.js +2 -2
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/service.js +1 -1
- package/dist/services/trading-withdraws/service.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +10 -12
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +28 -20
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +0 -5
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -5
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trading-withdraws/wallet-message.js +2 -2
- package/dist/services/trading-withdraws/wallet-message.js.map +1 -1
- package/dist/services/transfers/transfers.js +2 -2
- package/dist/services/triggers/trigger-child-order.schemas.js +3 -3
- package/dist/services/triggers/trigger-input.schemas.d.ts +5 -4
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +7 -6
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +33 -24
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +1 -1
- package/dist/services/triggers/triggers.js +2 -2
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.d.ts +3 -3
- package/dist/services/vip/vip.schemas.js +1 -1
- package/dist/services/zipper/zipper.js +1 -1
- package/dist/services/zipper/zipper.schemas.d.ts.map +1 -1
- package/dist/services/zipper/zipper.schemas.js +11 -1
- package/dist/services/zipper/zipper.schemas.js.map +1 -1
- package/dist/shared/account-scope.js +4 -1
- package/dist/shared/account-scope.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +3 -0
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +5 -0
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/alerts.js +1 -1
- package/dist/shared/error-details/assistant.js +1 -1
- package/dist/shared/error-details/auth.js +8 -3
- package/dist/shared/error-details/auth.js.map +1 -1
- package/dist/shared/error-details/claims.js +1 -1
- package/dist/shared/error-details/internal-transfer.js +1 -1
- package/dist/shared/error-details/ledger.js +1 -1
- package/dist/shared/error-details/market-overview.js +1 -1
- package/dist/shared/error-details/notifications.js +1 -1
- package/dist/shared/error-details/orders.js +1 -1
- package/dist/shared/error-details/profile.js +1 -1
- package/dist/shared/error-details/rate-limit.js +1 -1
- package/dist/shared/error-details/withdraw.js +1 -1
- package/dist/shared/rate-limit.schemas.js +1 -1
- package/dist/shared/transports.d.ts +2 -1
- package/dist/shared/transports.d.ts.map +1 -1
- package/dist/shared/transports.js +52 -9
- package/dist/shared/transports.js.map +1 -1
- package/dist/utils/base58-id.js +1 -1
- package/dist/utils/base58-id.js.map +1 -1
- package/dist/utils/cookies.js +1 -1
- package/dist/utils/numbers.js +3 -2
- package/dist/utils/numbers.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +21 -17
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto_withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/auto_withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/auto_withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/auto_withdraw.proto.\n */\nexport const file_chain_withdraw_v1_auto_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiVjaGFpbi93aXRoZHJhdy92MS9hdXRvX3dpdGhkcmF3LnByb3RvEhFjaGFpbi53aXRoZHJhdy52MSLuAQoUQXV0b1dpdGhkcmF3U2NoZWR1bGUSOQoHY2FkZW5jZRgBIAEoDjImLmNoYWluLndpdGhkcmF3LnYxLkF1dG9XaXRoZHJhd0NhZGVuY2VCABI5Cgd3ZWVrZGF5GAIgASgOMiYuY2hhaW4ud2l0aGRyYXcudjEuQXV0b1dpdGhkcmF3V2Vla2RheUIAEhcKDW1pbnV0ZV9vZl9kYXkYAyABKA1CABIYCg5taW51dGVfb2ZfaG91chgEIAEoDUIAEhYKDGRheV9vZl9tb250aBgFIAEoDUIAEhUKC2FuY2hvcl9kYXRlGAYgASgJQgAiggIKF0F1dG9XaXRoZHJhd0Rlc3RpbmF0aW9uEhIKCGFzc2V0X2lkGAEgASgNQgASHgoUZGVzdGluYXRpb25fY2hhaW5faWQYAiABKARCABIdChNkZXN0aW5hdGlvbl9hZGRyZXNzGAMgASgJQgASMQoObWluX2Ftb3VudF9lMTgYBCABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4QgASMQoObWF4X2Ftb3VudF9lMTgYBSABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4QgASLgoNbWluX2Zsb29yX2UxOBgG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UVuYWJsZWQSNC5jaGFpbi53aXRoZHJhdy52MS5TZXRBdXRvV2l0aGRyYXdSdWxlRW5hYmxlZFJlcXVlc3QaNS5jaGFpbi53aXRoZHJhdy52MS5TZXRBdXRvV2l0aGRyYXdSdWxlRW5hYmxlZFJlc3BvbnNlIgASdgoTR2V0QXV0b1dpdGhkcmF3UnVsZRItLmNoYWluLndpdGhkcmF3LnYxLkdldEF1dG9XaXRoZHJhd1J1bGVSZXF1ZXN0Gi4uY2hhaW4ud2l0aGRyYXcudjEuR2V0QXV0b1dpdGhkcmF3UnVsZVJlc3BvbnNlIgASeQoUTGlzdEF1dG9XaXRoZHJhd1J1bnMSLi5jaGFpbi53aXRoZHJhdy52MS5MaXN0QXV0b1dpdGhkcmF3UnVuc1JlcXVlc3QaLy5jaGFpbi53aXRoZHJhdy52MS5MaXN0QXV0b1dpdGhkcmF3UnVuc1Jlc3BvbnNlIgASfwoWUHJldmlld0F1dG9XaXRoZHJhd1J1bhIwLmNoYWluLndpdGhkcmF3LnYxLlByZXZpZXdBdXRvV2l0aGRyYXdSdW5SZXF1ZXN0GjEuY2hhaW4ud2l0aGRyYXcudjEuUHJldmlld0F1dG9XaXRoZHJhd1J1blJlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * AutoWithdrawSchedule is a rule's UTC run slot. Only the fields of its\n * cadence may be set; the others must be zero or empty.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawSchedule\n */\nexport type AutoWithdrawSchedule = Message<\"chain.withdraw.v1.AutoWithdrawSchedule\"> & {\n /**\n * How often the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawCadence cadence = 1;\n */\n cadence: AutoWithdrawCadence;\n\n /**\n * Run day of a weekly or biweekly rule.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawWeekday weekday = 2;\n */\n weekday: AutoWithdrawWeekday;\n\n /**\n * Minute after 00:00 UTC the run starts, 0 to 1439, for every cadence but\n * HOURLY; must be 0 for an hourly rule.\n *\n * @generated from field: uint32 minute_of_day = 3;\n */\n minuteOfDay: number;\n\n /**\n * Minute past every hour an HOURLY rule is checked, 0 to 59.\n *\n * @generated from field: uint32 minute_of_hour = 4;\n */\n minuteOfHour: number;\n\n /**\n * Run day of a MONTHLY rule, 1 to 31; see MONTHLY for shorter months.\n *\n * @generated from field: uint32 day_of_month = 5;\n */\n dayOfMonth: number;\n\n /**\n * A UTC date (YYYY-MM-DD) in a week a BIWEEKLY rule runs; weeks start on\n * Monday. Responses return the Monday that starts that week.\n *\n * @generated from field: string anchor_date = 6;\n */\n anchorDate: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawSchedule.\n * Use `create(AutoWithdrawScheduleSchema)` to create a new message.\n */\nexport const AutoWithdrawScheduleSchema: GenMessage<AutoWithdrawSchedule> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n/**\n * AutoWithdrawDestination pays one asset, in kind, to one external-chain\n * address.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawDestination\n */\nexport type AutoWithdrawDestination = Message<\"chain.withdraw.v1.AutoWithdrawDestination\"> & {\n /**\n * Ledger asset paid. At most one destination per asset.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address on destination_chain_id. It must be on the\n * account's external withdraw whitelist when the rule is written and\n * whenever a run pays it. Responses carry its canonical form.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * A run pays this asset only when the payable amount reaches this\n * minimum, in 18-decimal asset units, and the rule's min_usd_value_e18;\n * otherwise the balance stays on the account for a later run. Must be at\n * least min_floor_e18 when the rule is set.\n *\n * @generated from field: polyester.type.v1.U128 min_amount_e18 = 4;\n */\n minAmountE18?: U128 | undefined;\n\n /**\n * The most one run pays this asset, in 18-decimal asset units; at least\n * min_amount_e18. A larger balance pays this ceiling and the rest stays on\n * the account.\n *\n * @generated from field: polyester.type.v1.U128 max_amount_e18 = 5;\n */\n maxAmountE18?: U128 | undefined;\n\n /**\n * Returned in responses only; ignored in requests. The least amount one\n * payout to this destination can pay now, in 18-decimal asset units: the\n * route's withdrawal minimum, and more than its current network fee. It\n * follows the network fee, so it can change between reads. A run pays at\n * least this floor and min_amount_e18, and a new rule needs a\n * min_amount_e18 of at least the floor. Unset when the route or its network\n * fee is not known now; a new rule for that destination is then refused\n * with FEE_UNAVAILABLE or a route code.\n *\n * @generated from field: polyester.type.v1.U128 min_floor_e18 = 6;\n */\n minFloorE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawDestination.\n * Use `create(AutoWithdrawDestinationSchema)` to create a new message.\n */\nexport const AutoWithdrawDestinationSchema: GenMessage<AutoWithdrawDestination> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 1);\n\n/**\n * AutoWithdrawPause reports why a rule stopped running on its own.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawPause\n */\nexport type AutoWithdrawPause = Message<\"chain.withdraw.v1.AutoWithdrawPause\"> & {\n /**\n * Asset whose payout paused the rule; zero when no payout did.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Machine-readable reason: destination_not_whitelisted when the\n * destination left the account's external withdraw whitelist,\n * destination_invalid when it is no longer a valid destination, or\n * authority_revoked when the person who set the rule may no longer change\n * it or withdraw from the account. On a broker vault the rule pauses with\n * authority_revoked as soon as its author's broker role changes in any\n * way: removed, demoted, or promoted (for example Finance to Owner), and\n * also when the author is removed and added back. An Owner or Finance\n * member resumes it with a fresh step-up.\n *\n * @generated from field: string reason = 2;\n */\n reason: string;\n\n /**\n * When the rule was paused.\n *\n * @generated from field: google.protobuf.Timestamp paused_at = 3;\n */\n pausedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawPause.\n * Use `create(AutoWithdrawPauseSchema)` to create a new message.\n */\nexport const AutoWithdrawPauseSchema: GenMessage<AutoWithdrawPause> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 2);\n\n/**\n * AutoWithdrawRule is one version of an account's auto-withdraw rule. Each\n * change, pause or resume creates the next version; only the latest version\n * runs, and a run in progress keeps the version it started with but pays\n * nothing further once that version is no longer the latest.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawRule\n */\nexport type AutoWithdrawRule = Message<\"chain.withdraw.v1.AutoWithdrawRule\"> & {\n /**\n * Public subaccount ID the rule belongs to; zero for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Rule version, starting at 1.\n *\n * @generated from field: uint32 version = 2;\n */\n version: number;\n\n /**\n * Whether the rule runs. A paused version (enabled false) keeps its\n * schedule and destinations, so it resumes to the same destinations. The\n * rule runs only while enabled and without a pause.\n *\n * @generated from field: bool enabled = 3;\n */\n enabled: boolean;\n\n /**\n * When the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 4;\n */\n schedule?: AutoWithdrawSchedule | undefined;\n\n /**\n * One destination per paid asset, ordered by asset_id. Empty only on a\n * version that was disabled before pausing kept destinations.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 5;\n */\n destinations: AutoWithdrawDestination[];\n\n /**\n * When this version was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 6;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Set when the rule paused itself; resuming it or setting a new rule\n * clears it.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 7;\n */\n pause?: AutoWithdrawPause | undefined;\n\n /**\n * Least USD value one payout of the rule pays, in 18-decimal USD units;\n * zero means no USD minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 8;\n */\n minUsdValueE18?: U128 | undefined;\n\n /**\n * Public account ID of the person who created this version.\n *\n * @generated from field: fixed64 created_by_account_id = 9;\n */\n createdByAccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawRule.\n * Use `create(AutoWithdrawRuleSchema)` to create a new message.\n */\nexport const AutoWithdrawRuleSchema: GenMessage<AutoWithdrawRule> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 3);\n\n/**\n * SetAutoWithdrawRuleRequest creates or replaces the rule of the root\n * account or one subaccount.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleRequest\n */\nexport type SetAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * The version the change replaces: 0 when the account has no rule yet,\n * otherwise its latest version. A mismatch is rejected so concurrent\n * changes never overwrite each other.\n *\n * @generated from field: uint32 expected_version = 2;\n */\n expectedVersion: number;\n\n /**\n * When the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 3;\n */\n schedule?: AutoWithdrawSchedule | undefined;\n\n /**\n * Destinations, one per asset, 1 to 32.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 4;\n */\n destinations: AutoWithdrawDestination[];\n\n /**\n * Least USD value one payout pays, in 18-decimal USD units; unset or zero\n * for no USD minimum. Each run values each asset's payable amount at the\n * current index price. A smaller amount stays on the account for a later\n * run, and the asset is skipped with reason price_unavailable when no\n * current price is available. A payout never goes below its destination's\n * min_amount_e18 or the route's withdrawal minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 5;\n */\n minUsdValueE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleRequest.\n * Use `create(SetAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleRequestSchema: GenMessage<SetAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 4);\n\n/**\n * SetAutoWithdrawRuleResponse returns the new rule version.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleResponse\n */\nexport type SetAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleResponse\"> & {\n /**\n * The created version.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleResponse.\n * Use `create(SetAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleResponseSchema: GenMessage<SetAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 5);\n\n/**\n * SetAutoWithdrawRuleEnabledRequest pauses or resumes the rule of the root\n * account or one subaccount, keeping its schedule and destinations.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleEnabledRequest\n */\nexport type SetAutoWithdrawRuleEnabledRequest = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleEnabledRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * The account's latest rule version. A mismatch is rejected so concurrent\n * changes never overwrite each other.\n *\n * @generated from field: uint32 expected_version = 2;\n */\n expectedVersion: number;\n\n /**\n * false pauses the rule; true resumes it.\n *\n * @generated from field: bool enabled = 3;\n */\n enabled: boolean;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleEnabledRequest.\n * Use `create(SetAutoWithdrawRuleEnabledRequestSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleEnabledRequestSchema: GenMessage<SetAutoWithdrawRuleEnabledRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 6);\n\n/**\n * SetAutoWithdrawRuleEnabledResponse returns the rule's latest version.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleEnabledResponse\n */\nexport type SetAutoWithdrawRuleEnabledResponse = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleEnabledResponse\"> & {\n /**\n * The created version, or the latest version unchanged when the rule was\n * already in the requested state.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleEnabledResponse.\n * Use `create(SetAutoWithdrawRuleEnabledResponseSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleEnabledResponseSchema: GenMessage<SetAutoWithdrawRuleEnabledResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 7);\n\n/**\n * GetAutoWithdrawRuleRequest reads the latest rule version.\n *\n * @generated from message chain.withdraw.v1.GetAutoWithdrawRuleRequest\n */\nexport type GetAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.GetAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetAutoWithdrawRuleRequest.\n * Use `create(GetAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const GetAutoWithdrawRuleRequestSchema: GenMessage<GetAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 8);\n\n/**\n * GetAutoWithdrawRuleResponse returns the latest rule version.\n *\n * @generated from message chain.withdraw.v1.GetAutoWithdrawRuleResponse\n */\nexport type GetAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.GetAutoWithdrawRuleResponse\"> & {\n /**\n * The latest version; unset when the account never had a rule.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetAutoWithdrawRuleResponse.\n * Use `create(GetAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const GetAutoWithdrawRuleResponseSchema: GenMessage<GetAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 9);\n\n/**\n * AutoWithdrawStep is one asset's payout in a run.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawStep\n */\nexport type AutoWithdrawStep = Message<\"chain.withdraw.v1.AutoWithdrawStep\"> & {\n /**\n * Ledger asset paid.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Canonical destination address.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * The account's available balance of the asset when the run started, in\n * 18-decimal asset units.\n *\n * @generated from field: polyester.type.v1.U128 available_e18 = 4;\n */\n availableE18?: U128 | undefined;\n\n /**\n * What the step pays, in 18-decimal asset units: the available balance\n * up to the ceiling, rounded down to whole on-chain units. Zero when\n * skipped. The remainder stays on the account.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Where the payout stands.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawStepState state = 6;\n */\n state: AutoWithdrawStepState;\n\n /**\n * Machine-readable reason for a skipped or failed step, such as\n * below_minimum, price_unavailable (the rule has a USD minimum and no\n * current price valued the asset; the funds stay for a later run),\n * rule_superseded, destination_not_whitelisted, destination_cooling_down\n * (a broker vault's destination added to its external withdraw whitelist\n * less than 24 hours ago; the funds stay for a later run),\n * authority_revoked, gateway_capacity_insufficient (the funds stay for a\n * later run), withdrawal_released or withdrawal_failed; empty otherwise.\n *\n * @generated from field: string reason = 7;\n */\n reason: string;\n\n /**\n * Withdraw intent identifier once the withdrawal is accepted; follows the\n * same lifecycle as a user withdrawal.\n *\n * @generated from field: string intent_id = 8;\n */\n intentId: string;\n\n /**\n * Destination-network transaction hash, set once Zipper committed the\n * withdrawal's destination transaction and empty before. On a completed\n * step it is the delivery. When the withdrawal's execution failed after\n * that commit, the step fails with withdrawal_failed and keeps this hash:\n * the funds were not returned to the account, and the bridge operator\n * reviews the withdrawal.\n *\n * @generated from field: string tx_hash = 9;\n */\n txHash: string;\n\n /**\n * USD value of the payable amount when the run started, in 18-decimal USD\n * units, checked against the rule's min_usd_value_e18. Unset when the rule\n * has no USD minimum or no current price was available.\n *\n * @generated from field: polyester.type.v1.U128 value_usd_e18 = 10;\n */\n valueUsdE18?: U128 | undefined;\n\n /**\n * The network fee charged on the withdrawal, in 18-decimal asset units.\n * Once it completed: taken out of amount_e18, so the destination received\n * amount_e18 minus this fee. Once Zipper rejected it or its execution\n * failed: the fee Zipper kept, which is not refunded. Unset until the step\n * is final, when it was skipped or failed before it reached Zipper, and\n * when the fee was not reported.\n *\n * @generated from field: polyester.type.v1.U128 network_fee_e18 = 11;\n */\n networkFeeE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawStep.\n * Use `create(AutoWithdrawStepSchema)` to create a new message.\n */\nexport const AutoWithdrawStepSchema: GenMessage<AutoWithdrawStep> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 10);\n\n/**\n * AutoWithdrawRun is one scheduled run of an account's rule.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawRun\n */\nexport type AutoWithdrawRun = Message<\"chain.withdraw.v1.AutoWithdrawRun\"> & {\n /**\n * The account's run number, increasing by one per run.\n *\n * @generated from field: uint64 run_seq = 1;\n */\n runSeq: bigint;\n\n /**\n * The rule version the run executes.\n *\n * @generated from field: uint32 rule_version = 2;\n */\n ruleVersion: number;\n\n /**\n * The scheduled slot the run belongs to.\n *\n * @generated from field: google.protobuf.Timestamp scheduled_for = 3;\n */\n scheduledFor?: Timestamp | undefined;\n\n /**\n * Where the run stands.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRunState state = 4;\n */\n state: AutoWithdrawRunState;\n\n /**\n * Machine-readable reason for a skipped run: nothing_to_pay,\n * price_unavailable (an asset was not paid because no current price valued\n * it) or rule_superseded; empty otherwise.\n *\n * @generated from field: string reason = 5;\n */\n reason: string;\n\n /**\n * One step per destination of the rule version, ordered by asset_id.\n * Empty while the run is planned.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawStep steps = 6;\n */\n steps: AutoWithdrawStep[];\n\n /**\n * When the run started.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 7;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the run ended; unset while it is in progress.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 8;\n */\n finishedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawRun.\n * Use `create(AutoWithdrawRunSchema)` to create a new message.\n */\nexport const AutoWithdrawRunSchema: GenMessage<AutoWithdrawRun> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 11);\n\n/**\n * ListAutoWithdrawRunsRequest pages through an account's runs, newest first.\n *\n * @generated from message chain.withdraw.v1.ListAutoWithdrawRunsRequest\n */\nexport type ListAutoWithdrawRunsRequest = Message<\"chain.withdraw.v1.ListAutoWithdrawRunsRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Maximum number of runs to return: 0 means 20, at most 100.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Opaque, exclusive, keyset-backed cursor from a previous response,\n * bound to the caller's account or subaccount and the newest-first\n * run_seq order. Empty for the first page.\n *\n * @generated from field: string page_token = 3;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ListAutoWithdrawRunsRequest.\n * Use `create(ListAutoWithdrawRunsRequestSchema)` to create a new message.\n */\nexport const ListAutoWithdrawRunsRequestSchema: GenMessage<ListAutoWithdrawRunsRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 12);\n\n/**\n * ListAutoWithdrawRunsResponse returns one page of runs, newest first.\n *\n * @generated from message chain.withdraw.v1.ListAutoWithdrawRunsResponse\n */\nexport type ListAutoWithdrawRunsResponse = Message<\"chain.withdraw.v1.ListAutoWithdrawRunsResponse\"> & {\n /**\n * Runs ordered by run_seq, newest first.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawRun runs = 1;\n */\n runs: AutoWithdrawRun[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ListAutoWithdrawRunsResponse.\n * Use `create(ListAutoWithdrawRunsResponseSchema)` to create a new message.\n */\nexport const ListAutoWithdrawRunsResponseSchema: GenMessage<ListAutoWithdrawRunsResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 13);\n\n/**\n * PreviewAutoWithdrawRunRequest previews the next run of the rule of the\n * root account or one subaccount.\n *\n * @generated from message chain.withdraw.v1.PreviewAutoWithdrawRunRequest\n */\nexport type PreviewAutoWithdrawRunRequest = Message<\"chain.withdraw.v1.PreviewAutoWithdrawRunRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.PreviewAutoWithdrawRunRequest.\n * Use `create(PreviewAutoWithdrawRunRequestSchema)` to create a new message.\n */\nexport const PreviewAutoWithdrawRunRequestSchema: GenMessage<PreviewAutoWithdrawRunRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 14);\n\n/**\n * AutoWithdrawPreviewAsset is what the next run would do with one asset,\n * sized from the account's balance now.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawPreviewAsset\n */\nexport type AutoWithdrawPreviewAsset = Message<\"chain.withdraw.v1.AutoWithdrawPreviewAsset\"> & {\n /**\n * Ledger asset.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier; zero when the rule has no\n * destination for the asset.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Canonical destination address; empty when the rule has no destination\n * for the asset.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * The account's available balance of the asset now, in 18-decimal asset\n * units.\n *\n * @generated from field: polyester.type.v1.U128 available_e18 = 4;\n */\n availableE18?: U128 | undefined;\n\n /**\n * What the run would pay, in 18-decimal asset units: the available balance\n * up to max_amount_e18, rounded down to whole on-chain units, or zero when\n * it holds. The network fee is taken out of it on the way.\n *\n * @generated from field: polyester.type.v1.U128 payable_e18 = 5;\n */\n payableE18?: U128 | undefined;\n\n /**\n * What would stay on the account, in 18-decimal asset units:\n * available_e18 minus payable_e18.\n *\n * @generated from field: polyester.type.v1.U128 held_back_e18 = 6;\n */\n heldBackE18?: U128 | undefined;\n\n /**\n * Why held_back_e18 stays, or why nothing pays: below_minimum (below\n * minimum_e18 or the rule's min_usd_value_e18), price_unavailable (the\n * rule has a USD minimum and no current price values the asset),\n * no_destination (the rule pays no destination for the asset),\n * destination_cooling_down (a broker vault pays a destination only once\n * it has been on the vault's external withdraw whitelist for 24 hours;\n * see payable_from), above_max (the balance above max_amount_e18 stays)\n * or dust (less than one whole on-chain unit stays); empty when the whole\n * balance pays.\n *\n * @generated from field: string hold_reason = 7;\n */\n holdReason: string;\n\n /**\n * The least one payout of the asset pays, in 18-decimal asset units: the\n * destination's min_amount_e18, or its min_floor_e18 when that is higher\n * and known now. Unset when the rule has no destination for the asset.\n *\n * @generated from field: polyester.type.v1.U128 minimum_e18 = 8;\n */\n minimumE18?: U128 | undefined;\n\n /**\n * USD value, in 18-decimal USD units, of what the asset pays before its\n * minimums (the available balance up to max_amount_e18, rounded down to\n * whole on-chain units), at the current price as of priced_at. A rule with\n * a USD minimum compares this value with it. Unset when no current price\n * values the asset or the rule has no destination for it.\n *\n * @generated from field: polyester.type.v1.U128 value_usd_e18 = 9;\n */\n valueUsdE18?: U128 | undefined;\n\n /**\n * When the price behind value_usd_e18 was observed; unset with it.\n *\n * @generated from field: google.protobuf.Timestamp priced_at = 10;\n */\n pricedAt?: Timestamp | undefined;\n\n /**\n * The network fee a payout to the destination is expected to be charged\n * now, in 18-decimal asset units: the route's latest sampled network fee,\n * the same figure min_floor_e18 stays above. It is taken out of the\n * payout, so the destination receives about payable_e18 minus this fee.\n * Unset when the rule has no destination for the asset or the fee is not\n * known now.\n *\n * @generated from field: polyester.type.v1.U128 network_fee_e18 = 11;\n */\n networkFeeE18?: U128 | undefined;\n\n /**\n * When network_fee_e18 was sampled; unset with it.\n *\n * @generated from field: google.protobuf.Timestamp network_fee_sampled_at = 12;\n */\n networkFeeSampledAt?: Timestamp | undefined;\n\n /**\n * Set only on a broker vault while the destination is cooling down: when\n * it can be paid, 24 hours after it was added to the vault's external\n * withdraw whitelist. Unset with hold_reason destination_cooling_down\n * when that time is not known yet.\n *\n * @generated from field: google.protobuf.Timestamp payable_from = 13;\n */\n payableFrom?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawPreviewAsset.\n * Use `create(AutoWithdrawPreviewAssetSchema)` to create a new message.\n */\nexport const AutoWithdrawPreviewAssetSchema: GenMessage<AutoWithdrawPreviewAsset> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 15);\n\n/**\n * PreviewAutoWithdrawRunResponse previews the next run.\n *\n * @generated from message chain.withdraw.v1.PreviewAutoWithdrawRunResponse\n */\nexport type PreviewAutoWithdrawRunResponse = Message<\"chain.withdraw.v1.PreviewAutoWithdrawRunResponse\"> & {\n /**\n * Whether the next run would pay.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawPreviewStatus status = 1;\n */\n status: AutoWithdrawPreviewStatus;\n\n /**\n * When the next run starts: its UTC slot, or, while a due slot waits for\n * the scheduler, that slot. For an hourly rule, the next hourly check.\n * Unset when the account has no rule or the rule is paused.\n *\n * @generated from field: google.protobuf.Timestamp next_run_at = 2;\n */\n nextRunAt?: Timestamp | undefined;\n\n /**\n * The latest rule version; zero when the account has no rule.\n *\n * @generated from field: uint32 rule_version = 3;\n */\n ruleVersion: number;\n\n /**\n * Set when the rule paused itself; a rule paused by a person has none.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 4;\n */\n pause?: AutoWithdrawPause | undefined;\n\n /**\n * The rule's least USD value of one payout, in 18-decimal USD units; zero\n * means no USD minimum. Unset when the account has no rule.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 5;\n */\n minUsdValueE18?: U128 | undefined;\n\n /**\n * One entry per destination of the rule, then per other asset with a\n * positive balance, ordered by asset_id. Empty when the account has no\n * rule or the rule is paused.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawPreviewAsset assets = 6;\n */\n assets: AutoWithdrawPreviewAsset[];\n\n /**\n * When the balances, prices and fees the preview used were read.\n *\n * @generated from field: google.protobuf.Timestamp computed_at = 7;\n */\n computedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.PreviewAutoWithdrawRunResponse.\n * Use `create(PreviewAutoWithdrawRunResponseSchema)` to create a new message.\n */\nexport const PreviewAutoWithdrawRunResponseSchema: GenMessage<PreviewAutoWithdrawRunResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 16);\n\n/**\n * AutoWithdrawCadence is how often an auto-withdraw rule runs. Every slot\n * is a UTC time, with no daylight-saving shift.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawCadence\n */\nexport enum AutoWithdrawCadence {\n /**\n * Not set; rejected.\n *\n * @generated from enum value: CADENCE_UNSPECIFIED = 0;\n */\n CADENCE_UNSPECIFIED = 0,\n\n /**\n * Once a day at minute_of_day UTC.\n *\n * @generated from enum value: DAILY = 1;\n */\n DAILY = 1,\n\n /**\n * Once a week on weekday at minute_of_day UTC.\n *\n * @generated from enum value: WEEKLY = 2;\n */\n WEEKLY = 2,\n\n /**\n * Checked every hour at minute_of_hour UTC; pays only an asset whose\n * payable amount has reached its minimums, so a payout follows within the\n * hour of the balance reaching them. An hour with nothing to pay records\n * no run.\n *\n * @generated from enum value: HOURLY = 3;\n */\n HOURLY = 3,\n\n /**\n * Every two weeks on weekday at minute_of_day UTC: in the week of\n * anchor_date and every second week before or after it.\n *\n * @generated from enum value: BIWEEKLY = 4;\n */\n BIWEEKLY = 4,\n\n /**\n * Once a month on day_of_month at minute_of_day UTC. A month without that\n * day runs on its last day: day 31 runs on April 30 and on February 28 or\n * 29, and days 29 and 30 run on the last day of February.\n *\n * @generated from enum value: MONTHLY = 5;\n */\n MONTHLY = 5,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawCadence.\n */\nexport const AutoWithdrawCadenceSchema: GenEnum<AutoWithdrawCadence> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n/**\n * AutoWithdrawWeekday is the run day of a weekly or biweekly rule.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawWeekday\n */\nexport enum AutoWithdrawWeekday {\n /**\n * Not set; required for a weekly or biweekly rule and must be unset for\n * any other cadence.\n *\n * @generated from enum value: WEEKDAY_UNSPECIFIED = 0;\n */\n WEEKDAY_UNSPECIFIED = 0,\n\n /**\n * Monday.\n *\n * @generated from enum value: MONDAY = 1;\n */\n MONDAY = 1,\n\n /**\n * Tuesday.\n *\n * @generated from enum value: TUESDAY = 2;\n */\n TUESDAY = 2,\n\n /**\n * Wednesday.\n *\n * @generated from enum value: WEDNESDAY = 3;\n */\n WEDNESDAY = 3,\n\n /**\n * Thursday.\n *\n * @generated from enum value: THURSDAY = 4;\n */\n THURSDAY = 4,\n\n /**\n * Friday.\n *\n * @generated from enum value: FRIDAY = 5;\n */\n FRIDAY = 5,\n\n /**\n * Saturday.\n *\n * @generated from enum value: SATURDAY = 6;\n */\n SATURDAY = 6,\n\n /**\n * Sunday.\n *\n * @generated from enum value: SUNDAY = 7;\n */\n SUNDAY = 7,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawWeekday.\n */\nexport const AutoWithdrawWeekdaySchema: GenEnum<AutoWithdrawWeekday> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 1);\n\n/**\n * AutoWithdrawRunState is where one auto-withdraw run stands.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawRunState\n */\nexport enum AutoWithdrawRunState {\n /**\n * Never returned.\n *\n * @generated from enum value: RUN_STATE_UNSPECIFIED = 0;\n */\n RUN_STATE_UNSPECIFIED = 0,\n\n /**\n * The run is reading the account's balances.\n *\n * @generated from enum value: RUN_PLANNED = 1;\n */\n RUN_PLANNED = 1,\n\n /**\n * The run's payouts are in progress.\n *\n * @generated from enum value: RUN_PAYING = 2;\n */\n RUN_PAYING = 2,\n\n /**\n * Every payout completed or was skipped, and at least one paid.\n *\n * @generated from enum value: RUN_COMPLETED = 3;\n */\n RUN_COMPLETED = 3,\n\n /**\n * Some payouts failed. Each failed step says where its funds are\n * (STEP_FAILED).\n *\n * @generated from enum value: RUN_PARTIALLY_FAILED = 4;\n */\n RUN_PARTIALLY_FAILED = 4,\n\n /**\n * Every attempted payout failed. Each failed step says where its funds are\n * (STEP_FAILED).\n *\n * @generated from enum value: RUN_FAILED = 5;\n */\n RUN_FAILED = 5,\n\n /**\n * Nothing was paid: every asset was below its minimum, no current price\n * valued it, or the rule was no longer current.\n *\n * @generated from enum value: RUN_SKIPPED = 6;\n */\n RUN_SKIPPED = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawRunState.\n */\nexport const AutoWithdrawRunStateSchema: GenEnum<AutoWithdrawRunState> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 2);\n\n/**\n * AutoWithdrawStepState is where one asset's payout of a run stands.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawStepState\n */\nexport enum AutoWithdrawStepState {\n /**\n * Never returned.\n *\n * @generated from enum value: STEP_STATE_UNSPECIFIED = 0;\n */\n STEP_STATE_UNSPECIFIED = 0,\n\n /**\n * Planned; not yet requested.\n *\n * @generated from enum value: STEP_PENDING = 1;\n */\n STEP_PENDING = 1,\n\n /**\n * Being requested.\n *\n * @generated from enum value: STEP_SUBMITTING = 2;\n */\n STEP_SUBMITTING = 2,\n\n /**\n * Withdrawal accepted; waiting for it to complete on chain.\n *\n * @generated from enum value: STEP_SUBMITTED = 3;\n */\n STEP_SUBMITTED = 3,\n\n /**\n * The withdrawal completed on chain.\n *\n * @generated from enum value: STEP_COMPLETED = 4;\n */\n STEP_COMPLETED = 4,\n\n /**\n * The withdrawal failed. Where its funds are depends on when it failed,\n * which its withdrawal flow shows:\n * - before it left the account: they stay on the account;\n * - rejected by Zipper (flow REFUNDED, reason ZIPPER_VALIDATION_REJECTED or\n * ZIPPER_EXECUTION_REJECTED): amount_e18 less network_fee_e18 is\n * refunded, as zTokens, to the account's smart account wallet, not to\n * the account's balance, and the network fee is not refunded;\n * - its execution failed after its destination transaction was sent (flow\n * FAILED, reason ZIPPER_WITHDRAW_EXECUTION_FAILED): Zipper reviews it and\n * settles it outside Polyester Chain; nothing is returned to the account.\n *\n * @generated from enum value: STEP_FAILED = 5;\n */\n STEP_FAILED = 5,\n\n /**\n * Nothing was paid for this asset in this run.\n *\n * @generated from enum value: STEP_SKIPPED = 6;\n */\n STEP_SKIPPED = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawStepState.\n */\nexport const AutoWithdrawStepStateSchema: GenEnum<AutoWithdrawStepState> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 3);\n\n/**\n * AutoWithdrawPreviewStatus is whether the next run would pay, judged from\n * the account's balances now.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawPreviewStatus\n */\nexport enum AutoWithdrawPreviewStatus {\n /**\n * Never returned.\n *\n * @generated from enum value: PREVIEW_STATUS_UNSPECIFIED = 0;\n */\n PREVIEW_STATUS_UNSPECIFIED = 0,\n\n /**\n * At least one asset would pay.\n *\n * @generated from enum value: WILL_PAY = 1;\n */\n WILL_PAY = 1,\n\n /**\n * Nothing would pay: every asset with a destination is below its minimum\n * or the rule's USD minimum, has no current price for that minimum, or\n * pays a broker vault's destination that is still cooling down. The\n * balance stays on the account for a later run.\n *\n * @generated from enum value: ROLLS_OVER = 2;\n */\n ROLLS_OVER = 2,\n\n /**\n * Nothing would pay, and every positive balance is in an asset the rule\n * has no destination for.\n *\n * @generated from enum value: NO_DESTINATION = 3;\n */\n NO_DESTINATION = 3,\n\n /**\n * The rule is paused, by a person or by itself (see pause); no run starts\n * until it is resumed.\n *\n * @generated from enum value: PAUSED = 4;\n */\n PAUSED = 4,\n\n /**\n * The account has no rule.\n *\n * @generated from enum value: NO_RULE = 5;\n */\n NO_RULE = 5,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawPreviewStatus.\n */\nexport const AutoWithdrawPreviewStatusSchema: GenEnum<AutoWithdrawPreviewStatus> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 4);\n\n/**\n * AutoWithdrawService manages scheduled in-kind auto-withdraw rules for a\n * root account or subaccount. A rule pays each asset's balance out on an\n * hourly, daily, weekly, biweekly or monthly UTC slot, through the normal\n * withdraw path, only to destinations on the account's external withdraw\n * whitelist. Changing or\n * resuming a rule requires a person with withdraw rights and a fresh\n * single-use MFA step-up, and pausing it requires such a person without a\n * step-up; API keys can read rules, runs and previews but never change\n * them. An API key reads only when its policy grants READ_AUTO_WITHDRAW (or\n * MANAGE_AUTO_WITHDRAW), and only its own account: a root-account key reads\n * the root account, and a subaccount key reads its subaccount.\n *\n * @generated from service chain.withdraw.v1.AutoWithdrawService\n */\nexport const AutoWithdrawService: GenService<{\n /**\n * Create the account's rule, or replace its latest version with a new\n * one. Requires a session login with withdraw rights on the account and\n * a fresh single-use step-up; every destination must be on the account's\n * external withdraw whitelist.\n *\n * A refused destination answers a typed code whose ErrorDetail.field_path\n * names the field, such as destinations[0].min_amount_e18:\n * EXTERNAL_DESTINATION_NOT_WHITELISTED, DESTINATION_INVALID (not a valid\n * address on its chain), ROUTE_UNSUPPORTED (no enabled withdrawal route\n * pays the asset to that chain) or MIN_AMOUNT_BELOW_FLOOR (its\n * ErrorDetail.min_floor_e18 is the floor). A stale expected_version\n * answers VERSION_CONFLICT.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.SetAutoWithdrawRule\n */\n setAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof SetAutoWithdrawRuleRequestSchema;\n output: typeof SetAutoWithdrawRuleResponseSchema;\n },\n /**\n * Pause or resume the account's rule, keeping its schedule and\n * destinations. Requires a session login with withdraw rights on the\n * account. Pausing needs no step-up. Resuming needs a fresh single-use\n * step-up, checks again that every destination is still a valid\n * destination on the account's external withdraw whitelist, and clears a\n * pause the rule set itself; a refused destination answers the typed codes\n * of SetAutoWithdrawRule, and the rule stays paused. A rule already in the\n * requested state is returned unchanged. A stale expected_version answers\n * VERSION_CONFLICT.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.SetAutoWithdrawRuleEnabled\n */\n setAutoWithdrawRuleEnabled: {\n methodKind: \"unary\";\n input: typeof SetAutoWithdrawRuleEnabledRequestSchema;\n output: typeof SetAutoWithdrawRuleEnabledResponseSchema;\n },\n /**\n * Read the account's latest rule version.\n *\n * An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own\n * account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks\n * the action gets \"api key policy does not allow READ_AUTO_WITHDRAW\", and a\n * key that names an account other than its own, such as a root-account key\n * naming a subaccount, gets \"api key target scope mismatch\".\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.GetAutoWithdrawRule\n */\n getAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof GetAutoWithdrawRuleRequestSchema;\n output: typeof GetAutoWithdrawRuleResponseSchema;\n },\n /**\n * List the account's auto-withdraw runs with their payouts, newest first.\n *\n * An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own\n * account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks\n * the action gets \"api key policy does not allow READ_AUTO_WITHDRAW\", and a\n * key that names an account other than its own, such as a root-account key\n * naming a subaccount, gets \"api key target scope mismatch\".\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.ListAutoWithdrawRuns\n */\n listAutoWithdrawRuns: {\n methodKind: \"unary\";\n input: typeof ListAutoWithdrawRunsRequestSchema;\n output: typeof ListAutoWithdrawRunsResponseSchema;\n },\n /**\n * Preview the account's next auto-withdraw run from its balances now:\n * when it starts, whether it would pay, and per asset what it would pay,\n * what would stay and why, its USD value and the expected network fee. It\n * plans exactly as the run does; balances, prices and fees can change\n * before the run starts. A price that is not current leaves the value\n * unset instead of failing the read. When prices cannot be read at all,\n * the values stay unset too, unless the rule has a USD minimum: prices\n * then decide what pays, so the read answers UNAVAILABLE and can be\n * retried.\n *\n * An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own\n * account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks\n * the action gets \"api key policy does not allow READ_AUTO_WITHDRAW\", and a\n * key that names an account other than its own, such as a root-account key\n * naming a subaccount, gets \"api key target scope mismatch\".\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.PreviewAutoWithdrawRun\n */\n previewAutoWithdrawRun: {\n methodKind: \"unary\";\n input: typeof PreviewAutoWithdrawRunRequestSchema;\n output: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;;;;CAOA,sBAAA,sBAAA,kBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,sCAAsC,CAAC;;;;;;;AAQlD,IAAY,4BAAL,yBAAA,2BAAA;;;;;;CAML,0BAAA,0BAAA,gCAAA,KAAA;;;;;;CAOA,0BAAA,0BAAA,cAAA,KAAA;;;;;;;;;CAUA,0BAAA,0BAAA,gBAAA,KAAA;;;;;;;CAQA,0BAAA,0BAAA,oBAAA,KAAA;;;;;;;CAQA,0BAAA,0BAAA,YAAA,KAAA;;;;;;CAOA,0BAAA,0BAAA,aAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,kCACX,uBAAS,sCAAsC,CAAC;;;;;;;;;;;;;;;;AAiBlD,MAAa,sBAiGX,0BAAY,sCAAsC,CAAC"}
|
|
1
|
+
{"version":3,"file":"auto_withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/auto_withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/auto_withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/auto_withdraw.proto.\n */\nexport const file_chain_withdraw_v1_auto_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiVj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ZHJhdy52MS5MaXN0QXV0b1dpdGhkcmF3UnVuc1JlcXVlc3QaLy5jaGFpbi53aXRoZHJhdy52MS5MaXN0QXV0b1dpdGhkcmF3UnVuc1Jlc3BvbnNlIgASfwoWUHJldmlld0F1dG9XaXRoZHJhd1J1bhIwLmNoYWluLndpdGhkcmF3LnYxLlByZXZpZXdBdXRvV2l0aGRyYXdSdW5SZXF1ZXN0GjEuY2hhaW4ud2l0aGRyYXcudjEuUHJldmlld0F1dG9XaXRoZHJhd1J1blJlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * AutoWithdrawSchedule is a rule's UTC run slot. Only the fields of its\n * cadence may be set; the others must be zero or empty.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawSchedule\n */\nexport type AutoWithdrawSchedule = Message<\"chain.withdraw.v1.AutoWithdrawSchedule\"> & {\n /**\n * How often the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawCadence cadence = 1;\n */\n cadence: AutoWithdrawCadence;\n\n /**\n * Run day of a weekly or biweekly rule.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawWeekday weekday = 2;\n */\n weekday: AutoWithdrawWeekday;\n\n /**\n * Minute after 00:00 UTC the run starts, 0 to 1439, for every cadence but\n * HOURLY; must be 0 for an hourly rule.\n *\n * @generated from field: uint32 minute_of_day = 3;\n */\n minuteOfDay: number;\n\n /**\n * Minute past every hour an HOURLY rule is checked, 0 to 59.\n *\n * @generated from field: uint32 minute_of_hour = 4;\n */\n minuteOfHour: number;\n\n /**\n * Run day of a MONTHLY rule, 1 to 31; see MONTHLY for shorter months.\n *\n * @generated from field: uint32 day_of_month = 5;\n */\n dayOfMonth: number;\n\n /**\n * A UTC date (YYYY-MM-DD) in a week a BIWEEKLY rule runs; weeks start on\n * Monday. Responses return the Monday that starts that week.\n *\n * @generated from field: string anchor_date = 6;\n */\n anchorDate: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawSchedule.\n * Use `create(AutoWithdrawScheduleSchema)` to create a new message.\n */\nexport const AutoWithdrawScheduleSchema: GenMessage<AutoWithdrawSchedule> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n/**\n * AutoWithdrawDestination pays one asset, in kind, to one external-chain\n * address.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawDestination\n */\nexport type AutoWithdrawDestination = Message<\"chain.withdraw.v1.AutoWithdrawDestination\"> & {\n /**\n * Ledger asset paid. At most one destination per asset.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address on destination_chain_id. It must be on the\n * account's external withdraw whitelist when the rule is written and\n * whenever a run pays it. Responses carry its canonical form.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * A run pays this asset only when the payable amount reaches this\n * minimum, in 18-decimal asset units, and the rule's min_usd_value_e18;\n * otherwise the balance stays on the account for a later run. Must be at\n * least min_floor_e18 when the rule is set.\n *\n * @generated from field: polyester.type.v1.U128 min_amount_e18 = 4;\n */\n minAmountE18?: U128 | undefined;\n\n /**\n * The most one run pays this asset, in 18-decimal asset units; at least\n * min_amount_e18. A larger balance pays this ceiling and the rest stays on\n * the account.\n *\n * @generated from field: polyester.type.v1.U128 max_amount_e18 = 5;\n */\n maxAmountE18?: U128 | undefined;\n\n /**\n * Returned in responses only; ignored in requests. The least amount one\n * payout to this destination can pay now, in 18-decimal asset units: the\n * route's withdrawal minimum, and more than its current network fee. It\n * follows the network fee, so it can change between reads. A run pays at\n * least this floor and min_amount_e18, and a new rule needs a\n * min_amount_e18 of at least the floor. Unset when the route or its network\n * fee is not known now; a new rule for that destination is then refused\n * with FEE_UNAVAILABLE or a route code.\n *\n * @generated from field: polyester.type.v1.U128 min_floor_e18 = 6;\n */\n minFloorE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawDestination.\n * Use `create(AutoWithdrawDestinationSchema)` to create a new message.\n */\nexport const AutoWithdrawDestinationSchema: GenMessage<AutoWithdrawDestination> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 1);\n\n/**\n * AutoWithdrawPause reports why a rule stopped running on its own.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawPause\n */\nexport type AutoWithdrawPause = Message<\"chain.withdraw.v1.AutoWithdrawPause\"> & {\n /**\n * Asset whose payout paused the rule; zero when no payout did.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * Machine-readable reason: destination_not_whitelisted when the\n * destination left the account's external withdraw whitelist,\n * destination_invalid when it is no longer a valid destination, or\n * authority_revoked when the person who set the rule may no longer change\n * it or withdraw from the account. On a broker vault the rule pauses with\n * authority_revoked as soon as its author's broker role changes in any\n * way: removed, demoted, or promoted (for example Finance to Owner), and\n * also when the author is removed and added back. An Owner or Finance\n * member resumes it with a fresh step-up.\n *\n * @generated from field: string reason = 2;\n */\n reason: string;\n\n /**\n * When the rule was paused.\n *\n * @generated from field: google.protobuf.Timestamp paused_at = 3;\n */\n pausedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawPause.\n * Use `create(AutoWithdrawPauseSchema)` to create a new message.\n */\nexport const AutoWithdrawPauseSchema: GenMessage<AutoWithdrawPause> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 2);\n\n/**\n * AutoWithdrawRule is one version of an account's auto-withdraw rule. Each\n * change, pause or resume creates the next version; only the latest version\n * runs, and a run in progress keeps the version it started with but pays\n * nothing further once that version is no longer the latest.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawRule\n */\nexport type AutoWithdrawRule = Message<\"chain.withdraw.v1.AutoWithdrawRule\"> & {\n /**\n * Public subaccount ID the rule belongs to; zero for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Rule version, starting at 1.\n *\n * @generated from field: uint32 version = 2;\n */\n version: number;\n\n /**\n * Whether the rule runs. A paused version (enabled false) keeps its\n * schedule and destinations, so it resumes to the same destinations. The\n * rule runs only while enabled and without a pause.\n *\n * @generated from field: bool enabled = 3;\n */\n enabled: boolean;\n\n /**\n * When the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 4;\n */\n schedule?: AutoWithdrawSchedule | undefined;\n\n /**\n * One destination per paid asset, ordered by asset_id. Empty only on a\n * version that was disabled before pausing kept destinations.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 5;\n */\n destinations: AutoWithdrawDestination[];\n\n /**\n * When this version was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 6;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Set when the rule paused itself; resuming it or setting a new rule\n * clears it.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 7;\n */\n pause?: AutoWithdrawPause | undefined;\n\n /**\n * Least USD value one payout of the rule pays, in 18-decimal USD units;\n * zero means no USD minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 8;\n */\n minUsdValueE18?: U128 | undefined;\n\n /**\n * Public account ID of the person who created this version.\n *\n * @generated from field: fixed64 created_by_account_id = 9;\n */\n createdByAccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawRule.\n * Use `create(AutoWithdrawRuleSchema)` to create a new message.\n */\nexport const AutoWithdrawRuleSchema: GenMessage<AutoWithdrawRule> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 3);\n\n/**\n * SetAutoWithdrawRuleRequest creates or replaces the rule of the root\n * account or one subaccount.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleRequest\n */\nexport type SetAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * The version the change replaces: 0 when the account has no rule yet,\n * otherwise its latest version. A mismatch is rejected so concurrent\n * changes never overwrite each other.\n *\n * @generated from field: uint32 expected_version = 2;\n */\n expectedVersion: number;\n\n /**\n * When the rule runs.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawSchedule schedule = 3;\n */\n schedule?: AutoWithdrawSchedule | undefined;\n\n /**\n * Destinations, one per asset, 1 to 32.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawDestination destinations = 4;\n */\n destinations: AutoWithdrawDestination[];\n\n /**\n * Least USD value one payout pays, in 18-decimal USD units; unset or zero\n * for no USD minimum. Each run values each asset's payable amount at the\n * current index price. A smaller amount stays on the account for a later\n * run, and the asset is skipped with reason price_unavailable when no\n * current price is available. A payout never goes below its destination's\n * min_amount_e18 or the route's withdrawal minimum.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 5;\n */\n minUsdValueE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleRequest.\n * Use `create(SetAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleRequestSchema: GenMessage<SetAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 4);\n\n/**\n * SetAutoWithdrawRuleResponse returns the new rule version.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleResponse\n */\nexport type SetAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleResponse\"> & {\n /**\n * The created version.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleResponse.\n * Use `create(SetAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleResponseSchema: GenMessage<SetAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 5);\n\n/**\n * SetAutoWithdrawRuleEnabledRequest pauses or resumes the rule of the root\n * account or one subaccount, keeping its schedule and destinations.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleEnabledRequest\n */\nexport type SetAutoWithdrawRuleEnabledRequest = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleEnabledRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * The account's latest rule version. A mismatch is rejected so concurrent\n * changes never overwrite each other.\n *\n * @generated from field: uint32 expected_version = 2;\n */\n expectedVersion: number;\n\n /**\n * false pauses the rule; true resumes it.\n *\n * @generated from field: bool enabled = 3;\n */\n enabled: boolean;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleEnabledRequest.\n * Use `create(SetAutoWithdrawRuleEnabledRequestSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleEnabledRequestSchema: GenMessage<SetAutoWithdrawRuleEnabledRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 6);\n\n/**\n * SetAutoWithdrawRuleEnabledResponse returns the rule's latest version.\n *\n * @generated from message chain.withdraw.v1.SetAutoWithdrawRuleEnabledResponse\n */\nexport type SetAutoWithdrawRuleEnabledResponse = Message<\"chain.withdraw.v1.SetAutoWithdrawRuleEnabledResponse\"> & {\n /**\n * The created version, or the latest version unchanged when the rule was\n * already in the requested state.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.SetAutoWithdrawRuleEnabledResponse.\n * Use `create(SetAutoWithdrawRuleEnabledResponseSchema)` to create a new message.\n */\nexport const SetAutoWithdrawRuleEnabledResponseSchema: GenMessage<SetAutoWithdrawRuleEnabledResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 7);\n\n/**\n * GetAutoWithdrawRuleRequest reads the latest rule version.\n *\n * @generated from message chain.withdraw.v1.GetAutoWithdrawRuleRequest\n */\nexport type GetAutoWithdrawRuleRequest = Message<\"chain.withdraw.v1.GetAutoWithdrawRuleRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetAutoWithdrawRuleRequest.\n * Use `create(GetAutoWithdrawRuleRequestSchema)` to create a new message.\n */\nexport const GetAutoWithdrawRuleRequestSchema: GenMessage<GetAutoWithdrawRuleRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 8);\n\n/**\n * GetAutoWithdrawRuleResponse returns the latest rule version.\n *\n * @generated from message chain.withdraw.v1.GetAutoWithdrawRuleResponse\n */\nexport type GetAutoWithdrawRuleResponse = Message<\"chain.withdraw.v1.GetAutoWithdrawRuleResponse\"> & {\n /**\n * The latest version; unset when the account never had a rule.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRule rule = 1;\n */\n rule?: AutoWithdrawRule | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetAutoWithdrawRuleResponse.\n * Use `create(GetAutoWithdrawRuleResponseSchema)` to create a new message.\n */\nexport const GetAutoWithdrawRuleResponseSchema: GenMessage<GetAutoWithdrawRuleResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 9);\n\n/**\n * AutoWithdrawStep is one asset's payout in a run.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawStep\n */\nexport type AutoWithdrawStep = Message<\"chain.withdraw.v1.AutoWithdrawStep\"> & {\n /**\n * Ledger asset paid.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Canonical destination address.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * The account's available balance of the asset when the run started, in\n * 18-decimal asset units.\n *\n * @generated from field: polyester.type.v1.U128 available_e18 = 4;\n */\n availableE18?: U128 | undefined;\n\n /**\n * What the step pays, in 18-decimal asset units: the available balance\n * up to the ceiling, rounded down to whole on-chain units. Zero when\n * skipped. The remainder stays on the account.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Where the payout stands.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawStepState state = 6;\n */\n state: AutoWithdrawStepState;\n\n /**\n * Machine-readable reason for a skipped or failed step, such as\n * below_minimum, price_unavailable (the rule has a USD minimum and no\n * current price valued the asset; the funds stay for a later run),\n * rule_superseded, destination_not_whitelisted, destination_cooling_down\n * (a broker vault's destination added to its external withdraw whitelist\n * less than 24 hours ago; the funds stay for a later run), route_suspended\n * (withdrawals of the asset to the destination network are suspended, as\n * its withdrawal_status SUSPENDED in the deposit and withdraw config shows;\n * the funds stay for a later run), authority_revoked,\n * gateway_capacity_insufficient (the funds stay for a later run),\n * withdrawal_released or withdrawal_failed; empty otherwise.\n *\n * @generated from field: string reason = 7;\n */\n reason: string;\n\n /**\n * Withdraw intent identifier once the withdrawal is accepted; follows the\n * same lifecycle as a user withdrawal.\n *\n * @generated from field: string intent_id = 8;\n */\n intentId: string;\n\n /**\n * Destination-network transaction hash, set once Zipper committed the\n * withdrawal's destination transaction and empty before. On a completed\n * step it is the delivery. When the withdrawal's execution failed after\n * that commit, the step fails with withdrawal_failed and keeps this hash:\n * the funds were not returned to the account, and the bridge operator\n * reviews the withdrawal.\n *\n * @generated from field: string tx_hash = 9;\n */\n txHash: string;\n\n /**\n * USD value of the payable amount when the run started, in 18-decimal USD\n * units, checked against the rule's min_usd_value_e18. Unset when the rule\n * has no USD minimum or no current price was available.\n *\n * @generated from field: polyester.type.v1.U128 value_usd_e18 = 10;\n */\n valueUsdE18?: U128 | undefined;\n\n /**\n * The network fee charged on the withdrawal, in 18-decimal asset units.\n * Once it completed: taken out of amount_e18, so the destination received\n * amount_e18 minus this fee. Once Zipper rejected it or its execution\n * failed: the fee Zipper kept, which is not refunded. Unset until the step\n * is final, when it was skipped or failed before it reached Zipper, and\n * when the fee was not reported.\n *\n * @generated from field: polyester.type.v1.U128 network_fee_e18 = 11;\n */\n networkFeeE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawStep.\n * Use `create(AutoWithdrawStepSchema)` to create a new message.\n */\nexport const AutoWithdrawStepSchema: GenMessage<AutoWithdrawStep> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 10);\n\n/**\n * AutoWithdrawRun is one scheduled run of an account's rule.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawRun\n */\nexport type AutoWithdrawRun = Message<\"chain.withdraw.v1.AutoWithdrawRun\"> & {\n /**\n * The account's run number, increasing by one per run.\n *\n * @generated from field: uint64 run_seq = 1;\n */\n runSeq: bigint;\n\n /**\n * The rule version the run executes.\n *\n * @generated from field: uint32 rule_version = 2;\n */\n ruleVersion: number;\n\n /**\n * The scheduled slot the run belongs to.\n *\n * @generated from field: google.protobuf.Timestamp scheduled_for = 3;\n */\n scheduledFor?: Timestamp | undefined;\n\n /**\n * Where the run stands.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawRunState state = 4;\n */\n state: AutoWithdrawRunState;\n\n /**\n * Machine-readable reason for a skipped run: nothing_to_pay,\n * price_unavailable (an asset was not paid because no current price valued\n * it) or rule_superseded; empty otherwise.\n *\n * @generated from field: string reason = 5;\n */\n reason: string;\n\n /**\n * One step per destination of the rule version, ordered by asset_id.\n * Empty while the run is planned.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawStep steps = 6;\n */\n steps: AutoWithdrawStep[];\n\n /**\n * When the run started.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 7;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the run ended; unset while it is in progress.\n *\n * @generated from field: google.protobuf.Timestamp finished_at = 8;\n */\n finishedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawRun.\n * Use `create(AutoWithdrawRunSchema)` to create a new message.\n */\nexport const AutoWithdrawRunSchema: GenMessage<AutoWithdrawRun> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 11);\n\n/**\n * ListAutoWithdrawRunsRequest pages through an account's runs, newest first.\n *\n * @generated from message chain.withdraw.v1.ListAutoWithdrawRunsRequest\n */\nexport type ListAutoWithdrawRunsRequest = Message<\"chain.withdraw.v1.ListAutoWithdrawRunsRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Maximum number of runs to return: 0 means 20, at most 100.\n *\n * @generated from field: uint32 limit = 2;\n */\n limit: number;\n\n /**\n * Opaque, exclusive, keyset-backed cursor from a previous response,\n * bound to the caller's account or subaccount and the newest-first\n * run_seq order. Empty for the first page.\n *\n * @generated from field: string page_token = 3;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ListAutoWithdrawRunsRequest.\n * Use `create(ListAutoWithdrawRunsRequestSchema)` to create a new message.\n */\nexport const ListAutoWithdrawRunsRequestSchema: GenMessage<ListAutoWithdrawRunsRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 12);\n\n/**\n * ListAutoWithdrawRunsResponse returns one page of runs, newest first.\n *\n * @generated from message chain.withdraw.v1.ListAutoWithdrawRunsResponse\n */\nexport type ListAutoWithdrawRunsResponse = Message<\"chain.withdraw.v1.ListAutoWithdrawRunsResponse\"> & {\n /**\n * Runs ordered by run_seq, newest first.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawRun runs = 1;\n */\n runs: AutoWithdrawRun[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ListAutoWithdrawRunsResponse.\n * Use `create(ListAutoWithdrawRunsResponseSchema)` to create a new message.\n */\nexport const ListAutoWithdrawRunsResponseSchema: GenMessage<ListAutoWithdrawRunsResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 13);\n\n/**\n * PreviewAutoWithdrawRunRequest previews the next run of the rule of the\n * root account or one subaccount.\n *\n * @generated from message chain.withdraw.v1.PreviewAutoWithdrawRunRequest\n */\nexport type PreviewAutoWithdrawRunRequest = Message<\"chain.withdraw.v1.PreviewAutoWithdrawRunRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.PreviewAutoWithdrawRunRequest.\n * Use `create(PreviewAutoWithdrawRunRequestSchema)` to create a new message.\n */\nexport const PreviewAutoWithdrawRunRequestSchema: GenMessage<PreviewAutoWithdrawRunRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 14);\n\n/**\n * AutoWithdrawPreviewAsset is what the next run would do with one asset,\n * sized from the account's balance now.\n *\n * @generated from message chain.withdraw.v1.AutoWithdrawPreviewAsset\n */\nexport type AutoWithdrawPreviewAsset = Message<\"chain.withdraw.v1.AutoWithdrawPreviewAsset\"> & {\n /**\n * Ledger asset.\n *\n * @generated from field: uint32 asset_id = 1;\n */\n assetId: number;\n\n /**\n * External destination chain identifier; zero when the rule has no\n * destination for the asset.\n *\n * @generated from field: uint64 destination_chain_id = 2;\n */\n destinationChainId: bigint;\n\n /**\n * Canonical destination address; empty when the rule has no destination\n * for the asset.\n *\n * @generated from field: string destination_address = 3;\n */\n destinationAddress: string;\n\n /**\n * The account's available balance of the asset now, in 18-decimal asset\n * units.\n *\n * @generated from field: polyester.type.v1.U128 available_e18 = 4;\n */\n availableE18?: U128 | undefined;\n\n /**\n * What the run would pay, in 18-decimal asset units: the available balance\n * up to max_amount_e18, rounded down to whole on-chain units, or zero when\n * it holds. The network fee is taken out of it on the way.\n *\n * @generated from field: polyester.type.v1.U128 payable_e18 = 5;\n */\n payableE18?: U128 | undefined;\n\n /**\n * What would stay on the account, in 18-decimal asset units:\n * available_e18 minus payable_e18.\n *\n * @generated from field: polyester.type.v1.U128 held_back_e18 = 6;\n */\n heldBackE18?: U128 | undefined;\n\n /**\n * Why held_back_e18 stays, or why nothing pays: below_minimum (below\n * minimum_e18 or the rule's min_usd_value_e18), price_unavailable (the\n * rule has a USD minimum and no current price values the asset),\n * no_destination (the rule pays no destination for the asset),\n * destination_cooling_down (a broker vault pays a destination only once\n * it has been on the vault's external withdraw whitelist for 24 hours;\n * see payable_from), above_max (the balance above max_amount_e18 stays)\n * or dust (less than one whole on-chain unit stays); empty when the whole\n * balance pays.\n *\n * @generated from field: string hold_reason = 7;\n */\n holdReason: string;\n\n /**\n * The least one payout of the asset pays, in 18-decimal asset units: the\n * destination's min_amount_e18, or its min_floor_e18 when that is higher\n * and known now. Unset when the rule has no destination for the asset.\n *\n * @generated from field: polyester.type.v1.U128 minimum_e18 = 8;\n */\n minimumE18?: U128 | undefined;\n\n /**\n * USD value, in 18-decimal USD units, of what the asset pays before its\n * minimums (the available balance up to max_amount_e18, rounded down to\n * whole on-chain units), at the current price as of priced_at. A rule with\n * a USD minimum compares this value with it. Unset when no current price\n * values the asset or the rule has no destination for it.\n *\n * @generated from field: polyester.type.v1.U128 value_usd_e18 = 9;\n */\n valueUsdE18?: U128 | undefined;\n\n /**\n * When the price behind value_usd_e18 was observed; unset with it.\n *\n * @generated from field: google.protobuf.Timestamp priced_at = 10;\n */\n pricedAt?: Timestamp | undefined;\n\n /**\n * The network fee a payout to the destination is expected to be charged\n * now, in 18-decimal asset units: the route's latest sampled network fee,\n * the same figure min_floor_e18 stays above. It is taken out of the\n * payout, so the destination receives about payable_e18 minus this fee.\n * Unset when the rule has no destination for the asset or the fee is not\n * known now.\n *\n * @generated from field: polyester.type.v1.U128 network_fee_e18 = 11;\n */\n networkFeeE18?: U128 | undefined;\n\n /**\n * When network_fee_e18 was sampled; unset with it.\n *\n * @generated from field: google.protobuf.Timestamp network_fee_sampled_at = 12;\n */\n networkFeeSampledAt?: Timestamp | undefined;\n\n /**\n * Set only on a broker vault while the destination is cooling down: when\n * it can be paid, 24 hours after it was added to the vault's external\n * withdraw whitelist. Unset with hold_reason destination_cooling_down\n * when that time is not known yet.\n *\n * @generated from field: google.protobuf.Timestamp payable_from = 13;\n */\n payableFrom?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.AutoWithdrawPreviewAsset.\n * Use `create(AutoWithdrawPreviewAssetSchema)` to create a new message.\n */\nexport const AutoWithdrawPreviewAssetSchema: GenMessage<AutoWithdrawPreviewAsset> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 15);\n\n/**\n * PreviewAutoWithdrawRunResponse previews the next run.\n *\n * @generated from message chain.withdraw.v1.PreviewAutoWithdrawRunResponse\n */\nexport type PreviewAutoWithdrawRunResponse = Message<\"chain.withdraw.v1.PreviewAutoWithdrawRunResponse\"> & {\n /**\n * Whether the next run would pay.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawPreviewStatus status = 1;\n */\n status: AutoWithdrawPreviewStatus;\n\n /**\n * When the next run starts: its UTC slot, or, while a due slot waits for\n * the scheduler, that slot. For an hourly rule, the next hourly check.\n * Unset when the account has no rule or the rule is paused.\n *\n * @generated from field: google.protobuf.Timestamp next_run_at = 2;\n */\n nextRunAt?: Timestamp | undefined;\n\n /**\n * The latest rule version; zero when the account has no rule.\n *\n * @generated from field: uint32 rule_version = 3;\n */\n ruleVersion: number;\n\n /**\n * Set when the rule paused itself; a rule paused by a person has none.\n *\n * @generated from field: chain.withdraw.v1.AutoWithdrawPause pause = 4;\n */\n pause?: AutoWithdrawPause | undefined;\n\n /**\n * The rule's least USD value of one payout, in 18-decimal USD units; zero\n * means no USD minimum. Unset when the account has no rule.\n *\n * @generated from field: polyester.type.v1.U128 min_usd_value_e18 = 5;\n */\n minUsdValueE18?: U128 | undefined;\n\n /**\n * One entry per destination of the rule, then per other asset with a\n * positive balance, ordered by asset_id. Empty when the account has no\n * rule or the rule is paused.\n *\n * @generated from field: repeated chain.withdraw.v1.AutoWithdrawPreviewAsset assets = 6;\n */\n assets: AutoWithdrawPreviewAsset[];\n\n /**\n * When the balances, prices and fees the preview used were read.\n *\n * @generated from field: google.protobuf.Timestamp computed_at = 7;\n */\n computedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.PreviewAutoWithdrawRunResponse.\n * Use `create(PreviewAutoWithdrawRunResponseSchema)` to create a new message.\n */\nexport const PreviewAutoWithdrawRunResponseSchema: GenMessage<PreviewAutoWithdrawRunResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_auto_withdraw, 16);\n\n/**\n * AutoWithdrawCadence is how often an auto-withdraw rule runs. Every slot\n * is a UTC time, with no daylight-saving shift.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawCadence\n */\nexport enum AutoWithdrawCadence {\n /**\n * Not set; rejected.\n *\n * @generated from enum value: CADENCE_UNSPECIFIED = 0;\n */\n CADENCE_UNSPECIFIED = 0,\n\n /**\n * Once a day at minute_of_day UTC.\n *\n * @generated from enum value: DAILY = 1;\n */\n DAILY = 1,\n\n /**\n * Once a week on weekday at minute_of_day UTC.\n *\n * @generated from enum value: WEEKLY = 2;\n */\n WEEKLY = 2,\n\n /**\n * Checked every hour at minute_of_hour UTC; pays only an asset whose\n * payable amount has reached its minimums, so a payout follows within the\n * hour of the balance reaching them. An hour with nothing to pay records\n * no run.\n *\n * @generated from enum value: HOURLY = 3;\n */\n HOURLY = 3,\n\n /**\n * Every two weeks on weekday at minute_of_day UTC: in the week of\n * anchor_date and every second week before or after it.\n *\n * @generated from enum value: BIWEEKLY = 4;\n */\n BIWEEKLY = 4,\n\n /**\n * Once a month on day_of_month at minute_of_day UTC. A month without that\n * day runs on its last day: day 31 runs on April 30 and on February 28 or\n * 29, and days 29 and 30 run on the last day of February.\n *\n * @generated from enum value: MONTHLY = 5;\n */\n MONTHLY = 5,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawCadence.\n */\nexport const AutoWithdrawCadenceSchema: GenEnum<AutoWithdrawCadence> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n/**\n * AutoWithdrawWeekday is the run day of a weekly or biweekly rule.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawWeekday\n */\nexport enum AutoWithdrawWeekday {\n /**\n * Not set; required for a weekly or biweekly rule and must be unset for\n * any other cadence.\n *\n * @generated from enum value: WEEKDAY_UNSPECIFIED = 0;\n */\n WEEKDAY_UNSPECIFIED = 0,\n\n /**\n * Monday.\n *\n * @generated from enum value: MONDAY = 1;\n */\n MONDAY = 1,\n\n /**\n * Tuesday.\n *\n * @generated from enum value: TUESDAY = 2;\n */\n TUESDAY = 2,\n\n /**\n * Wednesday.\n *\n * @generated from enum value: WEDNESDAY = 3;\n */\n WEDNESDAY = 3,\n\n /**\n * Thursday.\n *\n * @generated from enum value: THURSDAY = 4;\n */\n THURSDAY = 4,\n\n /**\n * Friday.\n *\n * @generated from enum value: FRIDAY = 5;\n */\n FRIDAY = 5,\n\n /**\n * Saturday.\n *\n * @generated from enum value: SATURDAY = 6;\n */\n SATURDAY = 6,\n\n /**\n * Sunday.\n *\n * @generated from enum value: SUNDAY = 7;\n */\n SUNDAY = 7,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawWeekday.\n */\nexport const AutoWithdrawWeekdaySchema: GenEnum<AutoWithdrawWeekday> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 1);\n\n/**\n * AutoWithdrawRunState is where one auto-withdraw run stands.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawRunState\n */\nexport enum AutoWithdrawRunState {\n /**\n * Never returned.\n *\n * @generated from enum value: RUN_STATE_UNSPECIFIED = 0;\n */\n RUN_STATE_UNSPECIFIED = 0,\n\n /**\n * The run is reading the account's balances.\n *\n * @generated from enum value: RUN_PLANNED = 1;\n */\n RUN_PLANNED = 1,\n\n /**\n * The run's payouts are in progress.\n *\n * @generated from enum value: RUN_PAYING = 2;\n */\n RUN_PAYING = 2,\n\n /**\n * Every payout completed or was skipped, and at least one paid.\n *\n * @generated from enum value: RUN_COMPLETED = 3;\n */\n RUN_COMPLETED = 3,\n\n /**\n * Some payouts failed. Each failed step says where its funds are\n * (STEP_FAILED).\n *\n * @generated from enum value: RUN_PARTIALLY_FAILED = 4;\n */\n RUN_PARTIALLY_FAILED = 4,\n\n /**\n * Every attempted payout failed. Each failed step says where its funds are\n * (STEP_FAILED).\n *\n * @generated from enum value: RUN_FAILED = 5;\n */\n RUN_FAILED = 5,\n\n /**\n * Nothing was paid: every asset was below its minimum, no current price\n * valued it, or the rule was no longer current.\n *\n * @generated from enum value: RUN_SKIPPED = 6;\n */\n RUN_SKIPPED = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawRunState.\n */\nexport const AutoWithdrawRunStateSchema: GenEnum<AutoWithdrawRunState> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 2);\n\n/**\n * AutoWithdrawStepState is where one asset's payout of a run stands.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawStepState\n */\nexport enum AutoWithdrawStepState {\n /**\n * Never returned.\n *\n * @generated from enum value: STEP_STATE_UNSPECIFIED = 0;\n */\n STEP_STATE_UNSPECIFIED = 0,\n\n /**\n * Planned; not yet requested.\n *\n * @generated from enum value: STEP_PENDING = 1;\n */\n STEP_PENDING = 1,\n\n /**\n * Being requested.\n *\n * @generated from enum value: STEP_SUBMITTING = 2;\n */\n STEP_SUBMITTING = 2,\n\n /**\n * Withdrawal accepted; waiting for it to complete on chain.\n *\n * @generated from enum value: STEP_SUBMITTED = 3;\n */\n STEP_SUBMITTED = 3,\n\n /**\n * The withdrawal completed on chain.\n *\n * @generated from enum value: STEP_COMPLETED = 4;\n */\n STEP_COMPLETED = 4,\n\n /**\n * The withdrawal failed. Where its funds are depends on when it failed,\n * which its withdrawal flow shows:\n * - before it left the account: they stay on the account;\n * - rejected by Zipper (flow REFUNDED, reason ZIPPER_VALIDATION_REJECTED or\n * ZIPPER_EXECUTION_REJECTED): amount_e18 less network_fee_e18 is\n * refunded, as zTokens, to the account's smart account wallet, not to\n * the account's balance, and the network fee is not refunded;\n * - its execution failed after its destination transaction was sent (flow\n * FAILED, reason ZIPPER_WITHDRAW_EXECUTION_FAILED): Zipper reviews it and\n * settles it outside Polyester Chain; nothing is returned to the account.\n *\n * @generated from enum value: STEP_FAILED = 5;\n */\n STEP_FAILED = 5,\n\n /**\n * Nothing was paid for this asset in this run.\n *\n * @generated from enum value: STEP_SKIPPED = 6;\n */\n STEP_SKIPPED = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawStepState.\n */\nexport const AutoWithdrawStepStateSchema: GenEnum<AutoWithdrawStepState> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 3);\n\n/**\n * AutoWithdrawPreviewStatus is whether the next run would pay, judged from\n * the account's balances now.\n *\n * @generated from enum chain.withdraw.v1.AutoWithdrawPreviewStatus\n */\nexport enum AutoWithdrawPreviewStatus {\n /**\n * Never returned.\n *\n * @generated from enum value: PREVIEW_STATUS_UNSPECIFIED = 0;\n */\n PREVIEW_STATUS_UNSPECIFIED = 0,\n\n /**\n * At least one asset would pay.\n *\n * @generated from enum value: WILL_PAY = 1;\n */\n WILL_PAY = 1,\n\n /**\n * Nothing would pay: every asset with a destination is below its minimum\n * or the rule's USD minimum, has no current price for that minimum, or\n * pays a broker vault's destination that is still cooling down. The\n * balance stays on the account for a later run.\n *\n * @generated from enum value: ROLLS_OVER = 2;\n */\n ROLLS_OVER = 2,\n\n /**\n * Nothing would pay, and every positive balance is in an asset the rule\n * has no destination for.\n *\n * @generated from enum value: NO_DESTINATION = 3;\n */\n NO_DESTINATION = 3,\n\n /**\n * The rule is paused, by a person or by itself (see pause); no run starts\n * until it is resumed.\n *\n * @generated from enum value: PAUSED = 4;\n */\n PAUSED = 4,\n\n /**\n * The account has no rule.\n *\n * @generated from enum value: NO_RULE = 5;\n */\n NO_RULE = 5,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.AutoWithdrawPreviewStatus.\n */\nexport const AutoWithdrawPreviewStatusSchema: GenEnum<AutoWithdrawPreviewStatus> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_auto_withdraw, 4);\n\n/**\n * AutoWithdrawService manages scheduled in-kind auto-withdraw rules for a\n * root account or subaccount. A rule pays each asset's balance out on an\n * hourly, daily, weekly, biweekly or monthly UTC slot, through the normal\n * withdraw path, only to destinations on the account's external withdraw\n * whitelist. Changing or\n * resuming a rule requires a person with withdraw rights and a fresh\n * single-use MFA step-up, and pausing it requires such a person without a\n * step-up; API keys can read rules, runs and previews but never change\n * them. An API key reads only when its policy grants READ_AUTO_WITHDRAW (or\n * MANAGE_AUTO_WITHDRAW), and only its own account: a root-account key reads\n * the root account, and a subaccount key reads its subaccount.\n *\n * @generated from service chain.withdraw.v1.AutoWithdrawService\n */\nexport const AutoWithdrawService: GenService<{\n /**\n * Create the account's rule, or replace its latest version with a new\n * one. Requires a session login with withdraw rights on the account and\n * a fresh single-use step-up; every destination must be on the account's\n * external withdraw whitelist.\n *\n * A refused destination answers a typed code whose ErrorDetail.field_path\n * names the field, such as destinations[0].min_amount_e18:\n * EXTERNAL_DESTINATION_NOT_WHITELISTED, DESTINATION_INVALID (not a valid\n * address on its chain), ROUTE_UNSUPPORTED (no enabled withdrawal route\n * pays the asset to that chain) or MIN_AMOUNT_BELOW_FLOOR (its\n * ErrorDetail.min_floor_e18 is the floor). A stale expected_version\n * answers VERSION_CONFLICT.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.SetAutoWithdrawRule\n */\n setAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof SetAutoWithdrawRuleRequestSchema;\n output: typeof SetAutoWithdrawRuleResponseSchema;\n },\n /**\n * Pause or resume the account's rule, keeping its schedule and\n * destinations. Requires a session login with withdraw rights on the\n * account. Pausing needs no step-up. Resuming needs a fresh single-use\n * step-up, checks again that every destination is still a valid\n * destination on the account's external withdraw whitelist, and clears a\n * pause the rule set itself; a refused destination answers the typed codes\n * of SetAutoWithdrawRule, and the rule stays paused. A rule already in the\n * requested state is returned unchanged. A stale expected_version answers\n * VERSION_CONFLICT.\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.SetAutoWithdrawRuleEnabled\n */\n setAutoWithdrawRuleEnabled: {\n methodKind: \"unary\";\n input: typeof SetAutoWithdrawRuleEnabledRequestSchema;\n output: typeof SetAutoWithdrawRuleEnabledResponseSchema;\n },\n /**\n * Read the account's latest rule version.\n *\n * An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own\n * account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks\n * the action gets \"api key policy does not allow READ_AUTO_WITHDRAW\", and a\n * key that names an account other than its own, such as a root-account key\n * naming a subaccount, gets \"api key target scope mismatch\".\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.GetAutoWithdrawRule\n */\n getAutoWithdrawRule: {\n methodKind: \"unary\";\n input: typeof GetAutoWithdrawRuleRequestSchema;\n output: typeof GetAutoWithdrawRuleResponseSchema;\n },\n /**\n * List the account's auto-withdraw runs with their payouts, newest first.\n *\n * An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own\n * account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks\n * the action gets \"api key policy does not allow READ_AUTO_WITHDRAW\", and a\n * key that names an account other than its own, such as a root-account key\n * naming a subaccount, gets \"api key target scope mismatch\".\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.ListAutoWithdrawRuns\n */\n listAutoWithdrawRuns: {\n methodKind: \"unary\";\n input: typeof ListAutoWithdrawRunsRequestSchema;\n output: typeof ListAutoWithdrawRunsResponseSchema;\n },\n /**\n * Preview the account's next auto-withdraw run from its balances now:\n * when it starts, whether it would pay, and per asset what it would pay,\n * what would stay and why, its USD value and the expected network fee. It\n * plans exactly as the run does; balances, prices and fees can change\n * before the run starts. A price that is not current leaves the value\n * unset instead of failing the read. When prices cannot be read at all,\n * the values stay unset too, unless the rule has a USD minimum: prices\n * then decide what pays, so the read answers UNAVAILABLE and can be\n * retried.\n *\n * An API key needs READ_AUTO_WITHDRAW in its policy and reads only its own\n * account. Both refusals answer PERMISSION_DENIED: a key whose policy lacks\n * the action gets \"api key policy does not allow READ_AUTO_WITHDRAW\", and a\n * key that names an account other than its own, such as a root-account key\n * naming a subaccount, gets \"api key target scope mismatch\".\n *\n * @generated from rpc chain.withdraw.v1.AutoWithdrawService.PreviewAutoWithdrawRun\n */\n previewAutoWithdrawRun: {\n methodKind: \"unary\";\n input: typeof PreviewAutoWithdrawRunRequestSchema;\n output: typeof PreviewAutoWithdrawRunResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_auto_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,uCACX,uBAAS,wrNAAwrN;CAAC;CAAgC;CAA4B;AAA2B,CAAC;;;;;AA0D5xN,MAAa,6BACX,0BAAY,sCAAsC,CAAC;;;;;AAsErD,MAAa,gCACX,0BAAY,sCAAsC,CAAC;;;;;AA0CrD,MAAa,0BACX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A,KAAA;;;;;;CAOA,0BAAA,0BAAA,aAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,kCACX,uBAAS,sCAAsC,CAAC;;;;;;;;;;;;;;;;AAiBlD,MAAa,sBAiGX,0BAAY,sCAAsC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { U128 } from "../../../polyester/type/v1/u128_pb.js";
|
|
2
|
+
import { Message } from "@bufbuild/protobuf";
|
|
2
3
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
4
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
-
import { Message } from "@bufbuild/protobuf";
|
|
5
5
|
declare namespace withdraw_pb_d_exports {
|
|
6
6
|
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, GetWalletBalancesRequest, GetWalletBalancesRequestSchema, GetWalletBalancesResponse, GetWalletBalancesResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WalletBalance, WalletBalanceSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw };
|
|
7
7
|
}
|
|
@@ -701,7 +701,16 @@ declare enum ErrorCode {
|
|
|
701
701
|
*
|
|
702
702
|
* @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;
|
|
703
703
|
*/
|
|
704
|
-
EXTERNAL_DESTINATION_COOLING_DOWN = 49
|
|
704
|
+
EXTERNAL_DESTINATION_COOLING_DOWN = 49,
|
|
705
|
+
/**
|
|
706
|
+
* Withdrawals of this asset to the destination network are temporarily
|
|
707
|
+
* suspended, as AssetChainVariant.withdrawal_status SUSPENDED shows.
|
|
708
|
+
* Nothing was reserved; submit a new request once the status is NORMAL
|
|
709
|
+
* again.
|
|
710
|
+
*
|
|
711
|
+
* @generated from enum value: ERROR_CODE_ROUTE_SUSPENDED = 50;
|
|
712
|
+
*/
|
|
713
|
+
ROUTE_SUSPENDED = 50
|
|
705
714
|
}
|
|
706
715
|
/**
|
|
707
716
|
* Describes the enum chain.withdraw.v1.ErrorCode.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"mappings":";;;;;;;;;;cAgBa,iCAAiC;;;;;;;KASlC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sCAAsC;;;;;;;EAOhD;;;;;;cAOW,2CAA2C,WAAW;;;;;;KAQvD,cAAc;;;;;;EAMxB,MAAM;;;;;;;;;;;EAYN;;;;;;;EAQA,cAAc;;;;;;;EAQd,cAAc;;;;;;cAOH,mBAAmB,WAAW;;;;;;;KAS/B,+BAA+B;;;;;;EAMzC,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;;;;;EAYA,YAAY;;;;;;;;EASZ;;;;;;;EAQA,QAAQ;;;;;;;;;;EAWR;;;;;;;EAQA;;;;;;cAOW,oCAAoC,WAAW;;;;;;;KAShD,+BAA+B;;;;;;EAMzC,UAAU;;;;;;;EAQV,kBAAkB;;;;;;cAOP,oCAAoC,WAAW;;;;;;;KAShD,qCAAqC;;;;;;EAM/C,UAAU;;;;;;EAOV;;;;;;EAOA;;;;;;;EAQA,kBAAkB;;;;;;cAOP,0CAA0C,WAAW;;;;;;;KAStD,qCAAqC;;;;;;EAM/C;;;;;;EAOA;;;;;;cAOW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+28,7 @@ var withdraw_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
28
28
|
/**
|
|
29
29
|
* Describes the file chain/withdraw/v1/withdraw.proto.
|
|
30
30
|
*/
|
|
31
|
-
const file_chain_withdraw_v1_withdraw = /*@__PURE__*/ fileDesc("
|
|
31
|
+
const file_chain_withdraw_v1_withdraw = /*@__PURE__*/ fileDesc("CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSKvAQoLRXJyb3JEZXRhaWwSKgoEY29kZRgBIAEoDjIcLmNoYWluLndpdGhkcmF3LnYxLkVycm9yQ29kZRISCgpmaWVsZF9wYXRoGAIgASgJEi4KDW1pbl9mbG9vcl9lMTgYAyABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EjAKDHBheWFibGVfZnJvbRgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiuAIKHFRyYWRpbmdXaXRoZHJhd0ludGVudFBheWxvYWQSOgoGYWN0aW9uGAEgASgOMiguY2hhaW4ud2l0aGRyYXcudjEuVHJhZGluZ1dpdGhkcmF3QWN0aW9uQgASEgoIYXNzZXRfaWQYAiABKA1CABIcChRkZXN0aW5hdGlvbl9jaGFpbl9pZBgDIAEoBBItCgphbW91bnRfZTE4GAQgASgLMhcucG9seWVzdGVyLnR5cGUudjEuVTEyOEIAEhkKD2RlYWRsaW5lX3RzX3NlYxgFIAEoBEIAEigKBW5vbmNlGAYgASgLMhcucG9seWVzdGVyLnR5cGUudjEuVTEyOEIAEhsKE2Rlc3RpbmF0aW9uX2FkZHJlc3MYByABKAkSGQoPaWRlbXBvdGVuY3lfa2V5GAggASgJQ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XRXYWxsZXRCYWxhbmNlc1JlcXVlc3QaLC5jaGFpbi53aXRoZHJhdy52MS5HZXRXYWxsZXRCYWxhbmNlc1Jlc3BvbnNlIgASjgEKG1ZhbGlkYXRlV2l0aGRyYXdEZXN0aW5hdGlvbhI1LmNoYWluLndpdGhkcmF3LnYxLlZhbGlkYXRlV2l0aGRyYXdEZXN0aW5hdGlvblJlcXVlc3QaNi5jaGFpbi53aXRoZHJhdy52MS5WYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb25SZXNwb25zZSIAEnwKFUNyZWF0ZVRyYWRpbmdXaXRoZHJhdxIvLmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVRyYWRpbmdXaXRoZHJhd1JlcXVlc3QaMC5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXNwb25zZSIAEo4BChtDcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXcSNS5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjYuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABoAQk9aTWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vd2l0aGRyYXcvdjE7Y2hhaW53aXRoZHJhd3YxYgZwcm90bzM=", [
|
|
32
32
|
file_google_protobuf_timestamp,
|
|
33
33
|
file_polyester_api_options,
|
|
34
34
|
file_polyester_type_v1_u128
|
|
@@ -407,6 +407,15 @@ let ErrorCode = /* @__PURE__ */ function(ErrorCode) {
|
|
|
407
407
|
* @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;
|
|
408
408
|
*/
|
|
409
409
|
ErrorCode[ErrorCode["EXTERNAL_DESTINATION_COOLING_DOWN"] = 49] = "EXTERNAL_DESTINATION_COOLING_DOWN";
|
|
410
|
+
/**
|
|
411
|
+
* Withdrawals of this asset to the destination network are temporarily
|
|
412
|
+
* suspended, as AssetChainVariant.withdrawal_status SUSPENDED shows.
|
|
413
|
+
* Nothing was reserved; submit a new request once the status is NORMAL
|
|
414
|
+
* again.
|
|
415
|
+
*
|
|
416
|
+
* @generated from enum value: ERROR_CODE_ROUTE_SUSPENDED = 50;
|
|
417
|
+
*/
|
|
418
|
+
ErrorCode[ErrorCode["ROUTE_SUSPENDED"] = 50] = "ROUTE_SUSPENDED";
|
|
410
419
|
return ErrorCode;
|
|
411
420
|
}({});
|
|
412
421
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJa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5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjAuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABKOAQobQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3EjUuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVxdWVzdBo2LmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlIgAaAEJPWk1naXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL3dpdGhkcmF3L3YxO2NoYWlud2l0aGRyYXd2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * CreateTradingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n *\n * @generated from message chain.withdraw.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"chain.withdraw.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json code field.\n *\n * @generated from field: chain.withdraw.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n\n /**\n * Field the error is about, as a protobuf field path such as\n * destinations[0].min_amount_e18; empty when the error concerns no single\n * field. Usually a field of the request. A refused auto-withdraw resume\n * names a field of the stored rule instead, such as\n * destinations[1].destination_address of AutoWithdrawRule, which the\n * request does not carry.\n *\n * @generated from field: string field_path = 2;\n */\n fieldPath: string;\n\n /**\n * Set only with MIN_AMOUNT_BELOW_FLOOR: the least amount, in 18-decimal\n * asset units, the destination's min_amount_e18 may be.\n *\n * @generated from field: polyester.type.v1.U128 min_floor_e18 = 3;\n */\n minFloorE18?: U128 | undefined;\n\n /**\n * Set only with EXTERNAL_DESTINATION_COOLING_DOWN, when known: the time\n * from which the destination can be paid.\n *\n * @generated from field: google.protobuf.Timestamp payable_from = 4;\n */\n payableFrom?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000. For TO_EXTERNAL_CHAIN,\n * it must be a whole number of the destination network token's smallest\n * units: a multiple of 10^(18 - AssetChainVariant.source_decimals) when the\n * token has fewer than 18 decimals. A finer amount is refused with\n * ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION before any funds are reserved.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n * Must not be empty.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet personal_sign signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-191 personal_sign signature over the canonical withdraw\n * authorization message. Must not be empty.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 5);\n\n/**\n * ValidateWithdrawDestinationRequest checks one external-chain\n * destination for an authenticated caller without creating a withdraw.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationRequest\n */\nexport type ValidateWithdrawDestinationRequest = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationRequest\"> & {\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 1;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address to validate for destination_chain_id.\n *\n * @generated from field: string destination_address = 2;\n */\n destinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.\n * Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationRequestSchema: GenMessage<ValidateWithdrawDestinationRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 6);\n\n/**\n * ValidateWithdrawDestinationResponse returns a user-safe validation\n * result without exposing internal denylist details.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationResponse\n */\nexport type ValidateWithdrawDestinationResponse = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationResponse\"> & {\n /**\n * Whether the destination may be used for a withdraw.\n *\n * @generated from field: bool valid = 1;\n */\n valid: boolean;\n\n /**\n * Public validation outcome code.\n *\n * @generated from field: chain.withdraw.v1.WithdrawDestinationValidationCode code = 2;\n */\n code: WithdrawDestinationValidationCode;\n\n /**\n * User-safe explanation of the validation outcome.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n\n /**\n * Canonical destination address when valid. Empty when valid is false.\n *\n * @generated from field: string canonical_destination_address = 4;\n */\n canonicalDestinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.\n * Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 7);\n\n/**\n * GetWalletBalancesRequest selects the account whose smart account wallet\n * to read.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesRequest\n */\nexport type GetWalletBalancesRequest = Message<\"chain.withdraw.v1.GetWalletBalancesRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesRequest.\n * Use `create(GetWalletBalancesRequestSchema)` to create a new message.\n */\nexport const GetWalletBalancesRequestSchema: GenMessage<GetWalletBalancesRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 8);\n\n/**\n * WalletBalance is one zToken the smart account wallet holds.\n *\n * @generated from message chain.withdraw.v1.WalletBalance\n */\nexport type WalletBalance = Message<\"chain.withdraw.v1.WalletBalance\"> & {\n /**\n * Zipped asset of the zToken: the network-specific asset, as\n * chain.lifecycle.v1.AssetIds.zipped_asset_id names it.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Unified asset the zToken stands for, as\n * chain.lifecycle.v1.AssetIds.unified_asset_id names it.\n *\n * @generated from field: uint32 unified_asset_id = 2;\n */\n unifiedAssetId: number;\n\n /**\n * External network of the zipped asset, as the `chain_id` of a chain\n * returned by `GetDepositWithdrawConfig`.\n *\n * @generated from field: uint32 chain_id = 3;\n */\n chainId: number;\n\n /**\n * zToken contract address on Polyester Chain.\n *\n * @generated from field: string ztoken_address = 4;\n */\n ztokenAddress: string;\n\n /**\n * Balance in 18-decimal units: every zToken has 18 decimals.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.WalletBalance.\n * Use `create(WalletBalanceSchema)` to create a new message.\n */\nexport const WalletBalanceSchema: GenMessage<WalletBalance> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 9);\n\n/**\n * GetWalletBalancesResponse is the smart account wallet's zToken balances,\n * read from Polyester Chain at its latest block.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesResponse\n */\nexport type GetWalletBalancesResponse = Message<\"chain.withdraw.v1.GetWalletBalancesResponse\"> & {\n /**\n * Smart account wallet whose balances these are.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Every zToken the wallet holds a nonzero balance of, ordered by\n * zipped_asset_id. Empty when it holds none.\n *\n * @generated from field: repeated chain.withdraw.v1.WalletBalance balances = 2;\n */\n balances: WalletBalance[];\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesResponse.\n * Use `create(GetWalletBalancesResponseSchema)` to create a new message.\n */\nexport const GetWalletBalancesResponseSchema: GenMessage<GetWalletBalancesResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 10);\n\n/**\n * ErrorCode identifies stable, machine-readable Withdraw API errors.\n * Values mirror the REST problem+json code field.\n *\n * @generated from enum chain.withdraw.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No domain error code was provided.\n *\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The source account does not have enough available Trading balance.\n *\n * @generated from enum value: ERROR_CODE_INSUFFICIENT_FUNDS = 1;\n */\n INSUFFICIENT_FUNDS = 1,\n\n /**\n * Request payload or one of its fields is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * Caller is not authenticated.\n *\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 3;\n */\n UNAUTHENTICATED = 3,\n\n /**\n * Caller is not permitted to perform the withdraw operation.\n *\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 4;\n */\n PERMISSION_DENIED = 4,\n\n /**\n * Request exceeded the applicable admission rate limit.\n *\n * @generated from enum value: ERROR_CODE_RATE_LIMIT_EXCEEDED = 5;\n */\n RATE_LIMIT_EXCEEDED = 5,\n\n /**\n * A required dependency is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_SERVICE_UNAVAILABLE = 6;\n */\n SERVICE_UNAVAILABLE = 6,\n\n /**\n * The request failed because of an unexpected server error.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_ERROR = 7;\n */\n INTERNAL_ERROR = 7,\n\n /**\n * The selected subaccount identifier is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_SUBACCOUNT_ID = 8;\n */\n INVALID_SUBACCOUNT_ID = 8,\n\n /**\n * The selected subaccount does not exist.\n *\n * @generated from enum value: ERROR_CODE_SUBACCOUNT_NOT_FOUND = 9;\n */\n SUBACCOUNT_NOT_FOUND = 9,\n\n /**\n * The requested withdraw action is invalid for this endpoint.\n *\n * @generated from enum value: ERROR_CODE_INVALID_ACTION = 10;\n */\n INVALID_ACTION = 10,\n\n /**\n * The requested ledger is not supported for withdrawals.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_LEDGER = 11;\n */\n UNSUPPORTED_LEDGER = 11,\n\n /**\n * The requested asset or withdraw route is not supported.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_ASSET = 12;\n */\n UNSUPPORTED_ASSET = 12,\n\n /**\n * The withdraw amount is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AMOUNT = 13;\n */\n INVALID_AMOUNT = 13,\n\n /**\n * The destination chain is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_CHAIN = 14;\n */\n INVALID_DESTINATION_CHAIN = 14,\n\n /**\n * The destination address is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_ADDRESS = 15;\n */\n INVALID_DESTINATION_ADDRESS = 15,\n\n /**\n * The external destination is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_NOT_WHITELISTED = 16;\n */\n EXTERNAL_DESTINATION_NOT_WHITELISTED = 16,\n\n /**\n * The internal funding recipient is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_RECIPIENT_NOT_WHITELISTED = 17;\n */\n INTERNAL_RECIPIENT_NOT_WHITELISTED = 17,\n\n /**\n * The withdraw amount is below the configured minimum including fees.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_BELOW_MINIMUM = 18;\n */\n AMOUNT_BELOW_MINIMUM = 18,\n\n /**\n * The withdraw amount exceeds the available zipped-asset supply.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_SUPPLY = 19;\n */\n AMOUNT_EXCEEDS_SUPPLY = 19,\n\n /**\n * The source smart-account address is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20;\n */\n SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20,\n\n /**\n * The required payload signature is missing.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_REQUIRED = 21;\n */\n SIGNATURE_REQUIRED = 21,\n\n /**\n * The requested signature scheme is unsupported.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_SCHEME_UNSUPPORTED = 22;\n */\n SIGNATURE_SCHEME_UNSUPPORTED = 22,\n\n /**\n * The wallet supplied as signer is invalid.\n *\n * @generated from enum value: ERROR_CODE_SIGNER_WALLET_INVALID = 23;\n */\n SIGNER_WALLET_INVALID = 23,\n\n /**\n * Wallet authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_INVALID = 24;\n */\n WALLET_BINDING_INVALID = 24,\n\n /**\n * Wallet authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SCOPE_MISMATCH = 25;\n */\n WALLET_BINDING_SCOPE_MISMATCH = 25,\n\n /**\n * Wallet authorization binding does not match the signer.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SIGNER_MISMATCH = 26;\n */\n WALLET_BINDING_SIGNER_MISMATCH = 26,\n\n /**\n * The API key could not be resolved.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_NOT_FOUND = 27;\n */\n API_KEY_NOT_FOUND = 27,\n\n /**\n * API-key authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_INVALID = 28;\n */\n API_KEY_BINDING_INVALID = 28,\n\n /**\n * API-key authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_SCOPE_MISMATCH = 29;\n */\n API_KEY_BINDING_SCOPE_MISMATCH = 29,\n\n /**\n * API-key authorization binding does not match the configured public key.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30;\n */\n API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30,\n\n /**\n * The idempotency key was reused with different request data.\n *\n * @generated from enum value: ERROR_CODE_IDEMPOTENCY_CONFLICT = 31;\n */\n IDEMPOTENCY_CONFLICT = 31,\n\n /**\n * The funds lock conflicts with an existing or finalized reservation.\n *\n * @generated from enum value: ERROR_CODE_FUNDS_LOCK_CONFLICT = 32;\n */\n FUNDS_LOCK_CONFLICT = 32,\n\n /**\n * The authoritative capital view is not ready or is stale.\n *\n * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;\n */\n CAPITAL_VIEW_UNAVAILABLE = 33,\n\n /**\n * Required chain or contract metadata is unavailable.\n *\n * @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;\n */\n CHAIN_METADATA_UNAVAILABLE = 34,\n\n /**\n * Required network fee data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;\n */\n FEE_UNAVAILABLE = 35,\n\n /**\n * Required zipped-asset supply data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;\n */\n SUPPLY_UNAVAILABLE = 36,\n\n /**\n * Fresh step-up verification is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;\n */\n STEP_UP_UNAVAILABLE = 37,\n\n /**\n * Destination validation is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;\n */\n DESTINATION_VALIDATION_UNAVAILABLE = 38,\n\n /**\n * Funds movement for this account is temporarily unavailable. Retry later.\n *\n * @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;\n */\n ACCOUNT_SHARD_UNAVAILABLE = 39,\n\n /**\n * A required precondition was not satisfied.\n *\n * @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;\n */\n FAILED_PRECONDITION = 40,\n\n /**\n * The requested resource was not found.\n *\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 41;\n */\n NOT_FOUND = 41,\n\n /**\n * The request conflicts with existing state.\n *\n * @generated from enum value: ERROR_CODE_CONFLICT = 42;\n */\n CONFLICT = 42,\n\n /**\n * The auto-withdraw schedule is invalid: a field its cadence needs is\n * missing or out of range, or a field of another cadence is set.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AUTO_WITHDRAW_SCHEDULE = 43;\n */\n INVALID_AUTO_WITHDRAW_SCHEDULE = 43,\n\n /**\n * The withdraw amount has more decimal places than the destination\n * network's token supports (AssetChainVariant.source_decimals). Round\n * amount_e18 down to a whole number of that token's smallest units before\n * signing.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;\n */\n AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,\n\n /**\n * An auto-withdraw destination address is not a valid withdrawal\n * destination on its chain. ErrorDetail.field_path names the destination.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_INVALID = 45;\n */\n DESTINATION_INVALID = 45,\n\n /**\n * An auto-withdraw destination's min_amount_e18 is below the least amount\n * a payout to it can pay. ErrorDetail.min_floor_e18 is that floor and\n * ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_MIN_AMOUNT_BELOW_FLOOR = 46;\n */\n MIN_AMOUNT_BELOW_FLOOR = 46,\n\n /**\n * No enabled withdrawal route pays an auto-withdraw destination's asset to\n * its destination chain. ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_ROUTE_UNSUPPORTED = 47;\n */\n ROUTE_UNSUPPORTED = 47,\n\n /**\n * expected_version is not the auto-withdraw rule's latest version: another\n * change landed first. Read the rule again before retrying.\n *\n * @generated from enum value: ERROR_CODE_VERSION_CONFLICT = 48;\n */\n VERSION_CONFLICT = 48,\n\n /**\n * A broker vault pays an external destination only once it has been on the\n * vault's external withdraw whitelist for 24 hours, and this one was added\n * more recently. ErrorDetail.payable_from is when it can be paid; unset\n * when that time is not known yet. Retry after it.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;\n */\n EXTERNAL_DESTINATION_COOLING_DOWN = 49,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * WithdrawDestinationValidationCode identifies the public outcome of an\n * external-chain destination validation.\n *\n * @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode\n */\nexport enum WithdrawDestinationValidationCode {\n /**\n * No validation outcome was produced.\n *\n * @generated from enum value: RESULT_UNSPECIFIED = 0;\n */\n RESULT_UNSPECIFIED = 0,\n\n /**\n * The destination is valid and may be used for a withdraw.\n *\n * @generated from enum value: VALID = 1;\n */\n VALID = 1,\n\n /**\n * The address is not valid for the selected destination chain.\n *\n * @generated from enum value: INVALID_ADDRESS = 2;\n */\n INVALID_ADDRESS = 2,\n\n /**\n * The selected destination chain is not supported for withdraws.\n *\n * @generated from enum value: UNSUPPORTED_CHAIN = 3;\n */\n UNSUPPORTED_CHAIN = 3,\n\n /**\n * The destination is a Polyester smart account and cannot be used for an\n * external-chain withdraw.\n *\n * @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;\n */\n POLYESTER_SMART_ACCOUNT = 4,\n\n /**\n * The destination is a token contract and cannot receive withdrawals.\n *\n * @generated from enum value: TOKEN_CONTRACT = 5;\n */\n TOKEN_CONTRACT = 5,\n\n /**\n * The destination is blocked by Polyester's user-safety denylist.\n *\n * @generated from enum value: DENYLISTED_ADDRESS = 6;\n */\n DENYLISTED_ADDRESS = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.\n */\nexport const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinationValidationCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Read the zTokens the account's smart account wallet holds on Polyester\n * Chain, such as a rejected withdrawal's refund, which stays there until\n * the account moves it. Balances are read live from the chain. An API key\n * needs READ_BALANCES within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.GetWalletBalances\n */\n getWalletBalances: {\n methodKind: \"unary\";\n input: typeof GetWalletBalancesRequestSchema;\n output: typeof GetWalletBalancesResponseSchema;\n },\n /**\n * Validate an external-chain withdraw destination for an authenticated\n * caller without creating, signing, or reserving a withdraw. An API key\n * needs READ_WITHDRAW_VALIDATION within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.ValidateWithdrawDestination\n */\n validateWithdrawDestination: {\n methodKind: \"unary\";\n input: typeof ValidateWithdrawDestinationRequestSchema;\n output: typeof ValidateWithdrawDestinationResponseSchema;\n },\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Root-owner Trading to Funding and root-owner withdrawals to explicitly\n * whitelisted external destinations accept recent MFA. Other external,\n * cross-owner, and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAA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A,UAAA,UAAA,uCAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,kBACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,IAAY,wBAAL,yBAAA,uBAAA;;;;CAIL,sBAAA,sBAAA,wBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,gBAAA,KAAA;;;;CAKA,sBAAA,sBAAA,uBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,iCAAiC,CAAC;;;;;;;AAQ7C,IAAY,oCAAL,yBAAA,mCAAA;;;;;;CAML,kCAAA,kCAAA,wBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,WAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,qBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,uBAAA,KAAA;;;;;;;CAQA,kCAAA,kCAAA,6BAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,oBAAA,KAAA;;;;;;CAOA,kCAAA,kCAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0CACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAkDX,0BAAY,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"withdraw_pb.js","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/withdraw/v1/withdraw.proto (package chain.withdraw.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../../polyester/api/options_pb.js\";\nimport type { U128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport { file_polyester_type_v1_u128 } from \"../../../polyester/type/v1/u128_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/withdraw/v1/withdraw.proto.\n */\nexport const file_chain_withdraw_v1_withdraw: GenFile = /*@__PURE__*/\n fileDesc(\"CiBjaGFpbi93aXRoZHJhdy92MS93aXRoZHJhdy5wcm90bxIRY2hhaW4ud2l0aGRyYXcudjEiMgodQ3JlYXRlVHJhZGluZ1dpdGhkcmF3UmVzcG9uc2USEQoJaW50ZW50X2lkGAEgASgJIjgKI0NyZWF0ZVdhbGxldFRyYWRpbmdXaXRoZHJhd1Jlc3BvbnNlEhEKCWludGVudF9pZBgBIAEoCSKvAQoLRXJyb3JEZXRhaWwSKgoEY29kZRgBIAEoDjIcLmNoYWluLndpdGhkcmF3LnYxLkVycm9yQ29kZRISCgpmaWVsZF9wYXRoGAIgASgJEi4KDW1pbl9mbG9vcl9lMTgYAyABKAsyFy5wb2x5ZXN0ZXIudHlwZS52MS5VMTI4EjAKDHBheWFibGVfZnJvbRgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiuAIKHFRyYWRpbmdXaXRoZHJhd0ludGVudFBheWxvYWQSOgoGYWN0aW9uGAEgASgOMiguY2hhaW4ud2l0aGRyYXcudjEuVHJhZGluZ1dpdGhkcmF3QWN0aW9uQgASEgoIYXNzZXRfaWQYAiABKA1CABIcChRkZXN0aW5hdGlvbl9jaGFpbl9pZBgDIAEoBBItCgphbW91bnRfZTE4GAQgASgLMhcucG9seWVzdGVyLnR5cGUudjEuVTEyOEIAEhkKD2RlYWRsaW5lX3RzX3NlYxgFIAEoBEIAEigKBW5vbmNlGAYgASgLMhcucG9seWVzdGVyLnR5cGUudjEuVTEyOEIAEhsKE2Rlc3RpbmF0aW9uX2FkZHJlc3MYByABKAkSGQoPaWRlbXBvdGVuY3lfa2V5GAggASgJQgAifwocQ3JlYXRlVHJhZ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c1JlcXVlc3QaLC5jaGFpbi53aXRoZHJhdy52MS5HZXRXYWxsZXRCYWxhbmNlc1Jlc3BvbnNlIgASjgEKG1ZhbGlkYXRlV2l0aGRyYXdEZXN0aW5hdGlvbhI1LmNoYWluLndpdGhkcmF3LnYxLlZhbGlkYXRlV2l0aGRyYXdEZXN0aW5hdGlvblJlcXVlc3QaNi5jaGFpbi53aXRoZHJhdy52MS5WYWxpZGF0ZVdpdGhkcmF3RGVzdGluYXRpb25SZXNwb25zZSIAEnwKFUNyZWF0ZVRyYWRpbmdXaXRoZHJhdxIvLmNoYWluLndpdGhkcmF3LnYxLkNyZWF0ZVRyYWRpbmdXaXRoZHJhd1JlcXVlc3QaMC5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVUcmFkaW5nV2l0aGRyYXdSZXNwb25zZSIAEo4BChtDcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXcSNS5jaGFpbi53aXRoZHJhdy52MS5DcmVhdGVXYWxsZXRUcmFkaW5nV2l0aGRyYXdSZXF1ZXN0GjYuY2hhaW4ud2l0aGRyYXcudjEuQ3JlYXRlV2FsbGV0VHJhZGluZ1dpdGhkcmF3UmVzcG9uc2UiABoAQk9aTWdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vY2hhaW4vd2l0aGRyYXcvdjE7Y2hhaW53aXRoZHJhd3YxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_u128]);\n\n/**\n * CreateTradingWithdrawResponse returns the accepted durable intent identifier\n * for the withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawResponse\n */\nexport type CreateTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawResponse.\n * Use `create(CreateTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawResponseSchema: GenMessage<CreateTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * CreateWalletTradingWithdrawResponse returns the accepted durable intent\n * identifier for a wallet-authorized withdraw lifecycle.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawResponse\n */\nexport type CreateWalletTradingWithdrawResponse = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawResponse\"> & {\n /**\n * Stable server-owned intent identifier for the accepted withdraw lifecycle.\n * Clients use this id to follow later progress for the same withdraw flow.\n *\n * @generated from field: string intent_id = 1;\n */\n intentId: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawResponse.\n * Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * ErrorDetail is attached to ConnectRPC errors for structured error handling.\n *\n * @generated from message chain.withdraw.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"chain.withdraw.v1.ErrorDetail\"> & {\n /**\n * Stable error code matching the REST problem+json code field.\n *\n * @generated from field: chain.withdraw.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n\n /**\n * Field the error is about, as a protobuf field path such as\n * destinations[0].min_amount_e18; empty when the error concerns no single\n * field. Usually a field of the request. A refused auto-withdraw resume\n * names a field of the stored rule instead, such as\n * destinations[1].destination_address of AutoWithdrawRule, which the\n * request does not carry.\n *\n * @generated from field: string field_path = 2;\n */\n fieldPath: string;\n\n /**\n * Set only with MIN_AMOUNT_BELOW_FLOOR: the least amount, in 18-decimal\n * asset units, the destination's min_amount_e18 may be.\n *\n * @generated from field: polyester.type.v1.U128 min_floor_e18 = 3;\n */\n minFloorE18?: U128 | undefined;\n\n /**\n * Set only with EXTERNAL_DESTINATION_COOLING_DOWN, when known: the time\n * from which the destination can be paid.\n *\n * @generated from field: google.protobuf.Timestamp payable_from = 4;\n */\n payableFrom?: Timestamp | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * TradingWithdrawIntentPayload is the client-signed typed withdraw request.\n * Account scope and backend intent ids are derived server-side.\n *\n * @generated from message chain.withdraw.v1.TradingWithdrawIntentPayload\n */\nexport type TradingWithdrawIntentPayload = Message<\"chain.withdraw.v1.TradingWithdrawIntentPayload\"> & {\n /**\n * Destination for funds leaving Trading.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawAction action = 1;\n */\n action: TradingWithdrawAction;\n\n /**\n * Unified asset identifier from Polyester asset metadata. amount_e18 is\n * denominated in this asset at canonical 18-decimal scale.\n *\n * @generated from field: uint32 asset_id = 2;\n */\n assetId: number;\n\n /**\n * External network id for TO_EXTERNAL_CHAIN. Omit for TO_FUNDING.\n *\n * @generated from field: uint64 destination_chain_id = 3;\n */\n destinationChainId: bigint;\n\n /**\n * Withdraw amount in canonical 18-decimal unified asset units.\n * For example, 0.5 is encoded as 500000000000000000. For TO_EXTERNAL_CHAIN,\n * it must be a whole number of the destination network token's smallest\n * units: a multiple of 10^(18 - AssetChainVariant.source_decimals) when the\n * token has fewer than 18 decimals. A finer amount is refused with\n * ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION before any funds are reserved.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 4;\n */\n amountE18?: U128 | undefined;\n\n /**\n * Unix timestamp in seconds after which this signed user authorization is no\n * longer accepted by the API. This is separate from the server-owned\n * execution deadline used later for on-chain submission.\n *\n * @generated from field: uint64 deadline_ts_sec = 5;\n */\n deadlineTsSec: bigint;\n\n /**\n * Client-generated unsigned 128-bit nonce bound to the signed request. This\n * is an identifier, not a decimal amount.\n *\n * @generated from field: polyester.type.v1.U128 nonce = 6;\n */\n nonce?: U128 | undefined;\n\n /**\n * Destination address. For TO_EXTERNAL_CHAIN this is an address on\n * destination_chain_id and is validated according to that network. For\n * TO_FUNDING, omit it to move funds to the selected account's Funding account\n * or provide another Polyester funding address for a Trading-to-Funding\n * transfer.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * Client-chosen idempotency key. Reusing the same key with the same payload\n * returns the existing withdraw; reusing it with different payload fails.\n *\n * @generated from field: string idempotency_key = 8;\n */\n idempotencyKey: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.TradingWithdrawIntentPayload.\n * Use `create(TradingWithdrawIntentPayloadSchema)` to create a new message.\n */\nexport const TradingWithdrawIntentPayloadSchema: GenMessage<TradingWithdrawIntentPayload> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 3);\n\n/**\n * CreateTradingWithdrawRequest creates or returns one durable backend-authorized\n * Trading withdraw intent from typed protobuf fields and an API-key signature.\n *\n * @generated from message chain.withdraw.v1.CreateTradingWithdrawRequest\n */\nexport type CreateTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * User/API signature over deterministic TradingWithdrawIntentPayload bytes.\n * Must not be empty.\n *\n * @generated from field: bytes payload_signature = 2;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateTradingWithdrawRequest.\n * Use `create(CreateTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateTradingWithdrawRequestSchema: GenMessage<CreateTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 4);\n\n/**\n * CreateWalletTradingWithdrawRequest creates or returns one durable Trading\n * withdraw intent from typed frontend fields plus a wallet personal_sign signature.\n *\n * @generated from message chain.withdraw.v1.CreateWalletTradingWithdrawRequest\n */\nexport type CreateWalletTradingWithdrawRequest = Message<\"chain.withdraw.v1.CreateWalletTradingWithdrawRequest\"> & {\n /**\n * Client-signed withdraw details.\n *\n * @generated from field: chain.withdraw.v1.TradingWithdrawIntentPayload payload = 1;\n */\n payload?: TradingWithdrawIntentPayload | undefined;\n\n /**\n * Optional public subaccount id. Omit to withdraw from the JWT root account.\n *\n * @generated from field: uint64 subaccount_id = 2;\n */\n subaccountId: bigint;\n\n /**\n * Wallet address that produced payload_signature.\n *\n * @generated from field: string signer_wallet = 3;\n */\n signerWallet: string;\n\n /**\n * Wallet EIP-191 personal_sign signature over the canonical withdraw\n * authorization message. Must not be empty.\n *\n * @generated from field: bytes payload_signature = 4;\n */\n payloadSignature: Uint8Array;\n};\n\n/**\n * Describes the message chain.withdraw.v1.CreateWalletTradingWithdrawRequest.\n * Use `create(CreateWalletTradingWithdrawRequestSchema)` to create a new message.\n */\nexport const CreateWalletTradingWithdrawRequestSchema: GenMessage<CreateWalletTradingWithdrawRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 5);\n\n/**\n * ValidateWithdrawDestinationRequest checks one external-chain\n * destination for an authenticated caller without creating a withdraw.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationRequest\n */\nexport type ValidateWithdrawDestinationRequest = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationRequest\"> & {\n /**\n * External destination chain identifier.\n *\n * @generated from field: uint64 destination_chain_id = 1;\n */\n destinationChainId: bigint;\n\n /**\n * Destination address to validate for destination_chain_id.\n *\n * @generated from field: string destination_address = 2;\n */\n destinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationRequest.\n * Use `create(ValidateWithdrawDestinationRequestSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationRequestSchema: GenMessage<ValidateWithdrawDestinationRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 6);\n\n/**\n * ValidateWithdrawDestinationResponse returns a user-safe validation\n * result without exposing internal denylist details.\n *\n * @generated from message chain.withdraw.v1.ValidateWithdrawDestinationResponse\n */\nexport type ValidateWithdrawDestinationResponse = Message<\"chain.withdraw.v1.ValidateWithdrawDestinationResponse\"> & {\n /**\n * Whether the destination may be used for a withdraw.\n *\n * @generated from field: bool valid = 1;\n */\n valid: boolean;\n\n /**\n * Public validation outcome code.\n *\n * @generated from field: chain.withdraw.v1.WithdrawDestinationValidationCode code = 2;\n */\n code: WithdrawDestinationValidationCode;\n\n /**\n * User-safe explanation of the validation outcome.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n\n /**\n * Canonical destination address when valid. Empty when valid is false.\n *\n * @generated from field: string canonical_destination_address = 4;\n */\n canonicalDestinationAddress: string;\n};\n\n/**\n * Describes the message chain.withdraw.v1.ValidateWithdrawDestinationResponse.\n * Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.\n */\nexport const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 7);\n\n/**\n * GetWalletBalancesRequest selects the account whose smart account wallet\n * to read.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesRequest\n */\nexport type GetWalletBalancesRequest = Message<\"chain.withdraw.v1.GetWalletBalancesRequest\"> & {\n /**\n * Public subaccount ID; omit for the root account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesRequest.\n * Use `create(GetWalletBalancesRequestSchema)` to create a new message.\n */\nexport const GetWalletBalancesRequestSchema: GenMessage<GetWalletBalancesRequest> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 8);\n\n/**\n * WalletBalance is one zToken the smart account wallet holds.\n *\n * @generated from message chain.withdraw.v1.WalletBalance\n */\nexport type WalletBalance = Message<\"chain.withdraw.v1.WalletBalance\"> & {\n /**\n * Zipped asset of the zToken: the network-specific asset, as\n * chain.lifecycle.v1.AssetIds.zipped_asset_id names it.\n *\n * @generated from field: uint32 zipped_asset_id = 1;\n */\n zippedAssetId: number;\n\n /**\n * Unified asset the zToken stands for, as\n * chain.lifecycle.v1.AssetIds.unified_asset_id names it.\n *\n * @generated from field: uint32 unified_asset_id = 2;\n */\n unifiedAssetId: number;\n\n /**\n * External network of the zipped asset, as the `chain_id` of a chain\n * returned by `GetDepositWithdrawConfig`.\n *\n * @generated from field: uint32 chain_id = 3;\n */\n chainId: number;\n\n /**\n * zToken contract address on Polyester Chain.\n *\n * @generated from field: string ztoken_address = 4;\n */\n ztokenAddress: string;\n\n /**\n * Balance in 18-decimal units: every zToken has 18 decimals.\n *\n * @generated from field: polyester.type.v1.U128 amount_e18 = 5;\n */\n amountE18?: U128 | undefined;\n};\n\n/**\n * Describes the message chain.withdraw.v1.WalletBalance.\n * Use `create(WalletBalanceSchema)` to create a new message.\n */\nexport const WalletBalanceSchema: GenMessage<WalletBalance> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 9);\n\n/**\n * GetWalletBalancesResponse is the smart account wallet's zToken balances,\n * read from Polyester Chain at its latest block.\n *\n * @generated from message chain.withdraw.v1.GetWalletBalancesResponse\n */\nexport type GetWalletBalancesResponse = Message<\"chain.withdraw.v1.GetWalletBalancesResponse\"> & {\n /**\n * Smart account wallet whose balances these are.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Every zToken the wallet holds a nonzero balance of, ordered by\n * zipped_asset_id. Empty when it holds none.\n *\n * @generated from field: repeated chain.withdraw.v1.WalletBalance balances = 2;\n */\n balances: WalletBalance[];\n};\n\n/**\n * Describes the message chain.withdraw.v1.GetWalletBalancesResponse.\n * Use `create(GetWalletBalancesResponseSchema)` to create a new message.\n */\nexport const GetWalletBalancesResponseSchema: GenMessage<GetWalletBalancesResponse> = /*@__PURE__*/\n messageDesc(file_chain_withdraw_v1_withdraw, 10);\n\n/**\n * ErrorCode identifies stable, machine-readable Withdraw API errors.\n * Values mirror the REST problem+json code field.\n *\n * @generated from enum chain.withdraw.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No domain error code was provided.\n *\n * @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * The source account does not have enough available Trading balance.\n *\n * @generated from enum value: ERROR_CODE_INSUFFICIENT_FUNDS = 1;\n */\n INSUFFICIENT_FUNDS = 1,\n\n /**\n * Request payload or one of its fields is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_REQUEST = 2;\n */\n INVALID_REQUEST = 2,\n\n /**\n * Caller is not authenticated.\n *\n * @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 3;\n */\n UNAUTHENTICATED = 3,\n\n /**\n * Caller is not permitted to perform the withdraw operation.\n *\n * @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 4;\n */\n PERMISSION_DENIED = 4,\n\n /**\n * Request exceeded the applicable admission rate limit.\n *\n * @generated from enum value: ERROR_CODE_RATE_LIMIT_EXCEEDED = 5;\n */\n RATE_LIMIT_EXCEEDED = 5,\n\n /**\n * A required dependency is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_SERVICE_UNAVAILABLE = 6;\n */\n SERVICE_UNAVAILABLE = 6,\n\n /**\n * The request failed because of an unexpected server error.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_ERROR = 7;\n */\n INTERNAL_ERROR = 7,\n\n /**\n * The selected subaccount identifier is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_SUBACCOUNT_ID = 8;\n */\n INVALID_SUBACCOUNT_ID = 8,\n\n /**\n * The selected subaccount does not exist.\n *\n * @generated from enum value: ERROR_CODE_SUBACCOUNT_NOT_FOUND = 9;\n */\n SUBACCOUNT_NOT_FOUND = 9,\n\n /**\n * The requested withdraw action is invalid for this endpoint.\n *\n * @generated from enum value: ERROR_CODE_INVALID_ACTION = 10;\n */\n INVALID_ACTION = 10,\n\n /**\n * The requested ledger is not supported for withdrawals.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_LEDGER = 11;\n */\n UNSUPPORTED_LEDGER = 11,\n\n /**\n * The requested asset or withdraw route is not supported.\n *\n * @generated from enum value: ERROR_CODE_UNSUPPORTED_ASSET = 12;\n */\n UNSUPPORTED_ASSET = 12,\n\n /**\n * The withdraw amount is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AMOUNT = 13;\n */\n INVALID_AMOUNT = 13,\n\n /**\n * The destination chain is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_CHAIN = 14;\n */\n INVALID_DESTINATION_CHAIN = 14,\n\n /**\n * The destination address is invalid.\n *\n * @generated from enum value: ERROR_CODE_INVALID_DESTINATION_ADDRESS = 15;\n */\n INVALID_DESTINATION_ADDRESS = 15,\n\n /**\n * The external destination is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_NOT_WHITELISTED = 16;\n */\n EXTERNAL_DESTINATION_NOT_WHITELISTED = 16,\n\n /**\n * The internal funding recipient is not whitelisted.\n *\n * @generated from enum value: ERROR_CODE_INTERNAL_RECIPIENT_NOT_WHITELISTED = 17;\n */\n INTERNAL_RECIPIENT_NOT_WHITELISTED = 17,\n\n /**\n * The withdraw amount is below the configured minimum including fees.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_BELOW_MINIMUM = 18;\n */\n AMOUNT_BELOW_MINIMUM = 18,\n\n /**\n * The withdraw amount exceeds the available zipped-asset supply.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_SUPPLY = 19;\n */\n AMOUNT_EXCEEDS_SUPPLY = 19,\n\n /**\n * The source smart-account address is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20;\n */\n SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20,\n\n /**\n * The required payload signature is missing.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_REQUIRED = 21;\n */\n SIGNATURE_REQUIRED = 21,\n\n /**\n * The requested signature scheme is unsupported.\n *\n * @generated from enum value: ERROR_CODE_SIGNATURE_SCHEME_UNSUPPORTED = 22;\n */\n SIGNATURE_SCHEME_UNSUPPORTED = 22,\n\n /**\n * The wallet supplied as signer is invalid.\n *\n * @generated from enum value: ERROR_CODE_SIGNER_WALLET_INVALID = 23;\n */\n SIGNER_WALLET_INVALID = 23,\n\n /**\n * Wallet authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_INVALID = 24;\n */\n WALLET_BINDING_INVALID = 24,\n\n /**\n * Wallet authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SCOPE_MISMATCH = 25;\n */\n WALLET_BINDING_SCOPE_MISMATCH = 25,\n\n /**\n * Wallet authorization binding does not match the signer.\n *\n * @generated from enum value: ERROR_CODE_WALLET_BINDING_SIGNER_MISMATCH = 26;\n */\n WALLET_BINDING_SIGNER_MISMATCH = 26,\n\n /**\n * The API key could not be resolved.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_NOT_FOUND = 27;\n */\n API_KEY_NOT_FOUND = 27,\n\n /**\n * API-key authorization binding verification failed.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_INVALID = 28;\n */\n API_KEY_BINDING_INVALID = 28,\n\n /**\n * API-key authorization binding does not cover the requested scope.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_SCOPE_MISMATCH = 29;\n */\n API_KEY_BINDING_SCOPE_MISMATCH = 29,\n\n /**\n * API-key authorization binding does not match the configured public key.\n *\n * @generated from enum value: ERROR_CODE_API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30;\n */\n API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30,\n\n /**\n * The idempotency key was reused with different request data.\n *\n * @generated from enum value: ERROR_CODE_IDEMPOTENCY_CONFLICT = 31;\n */\n IDEMPOTENCY_CONFLICT = 31,\n\n /**\n * The funds lock conflicts with an existing or finalized reservation.\n *\n * @generated from enum value: ERROR_CODE_FUNDS_LOCK_CONFLICT = 32;\n */\n FUNDS_LOCK_CONFLICT = 32,\n\n /**\n * The authoritative capital view is not ready or is stale.\n *\n * @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;\n */\n CAPITAL_VIEW_UNAVAILABLE = 33,\n\n /**\n * Required chain or contract metadata is unavailable.\n *\n * @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;\n */\n CHAIN_METADATA_UNAVAILABLE = 34,\n\n /**\n * Required network fee data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;\n */\n FEE_UNAVAILABLE = 35,\n\n /**\n * Required zipped-asset supply data is unavailable.\n *\n * @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;\n */\n SUPPLY_UNAVAILABLE = 36,\n\n /**\n * Fresh step-up verification is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;\n */\n STEP_UP_UNAVAILABLE = 37,\n\n /**\n * Destination validation is temporarily unavailable.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;\n */\n DESTINATION_VALIDATION_UNAVAILABLE = 38,\n\n /**\n * Funds movement for this account is temporarily unavailable. Retry later.\n *\n * @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;\n */\n ACCOUNT_SHARD_UNAVAILABLE = 39,\n\n /**\n * A required precondition was not satisfied.\n *\n * @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;\n */\n FAILED_PRECONDITION = 40,\n\n /**\n * The requested resource was not found.\n *\n * @generated from enum value: ERROR_CODE_NOT_FOUND = 41;\n */\n NOT_FOUND = 41,\n\n /**\n * The request conflicts with existing state.\n *\n * @generated from enum value: ERROR_CODE_CONFLICT = 42;\n */\n CONFLICT = 42,\n\n /**\n * The auto-withdraw schedule is invalid: a field its cadence needs is\n * missing or out of range, or a field of another cadence is set.\n *\n * @generated from enum value: ERROR_CODE_INVALID_AUTO_WITHDRAW_SCHEDULE = 43;\n */\n INVALID_AUTO_WITHDRAW_SCHEDULE = 43,\n\n /**\n * The withdraw amount has more decimal places than the destination\n * network's token supports (AssetChainVariant.source_decimals). Round\n * amount_e18 down to a whole number of that token's smallest units before\n * signing.\n *\n * @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_ROUTE_PRECISION = 44;\n */\n AMOUNT_EXCEEDS_ROUTE_PRECISION = 44,\n\n /**\n * An auto-withdraw destination address is not a valid withdrawal\n * destination on its chain. ErrorDetail.field_path names the destination.\n *\n * @generated from enum value: ERROR_CODE_DESTINATION_INVALID = 45;\n */\n DESTINATION_INVALID = 45,\n\n /**\n * An auto-withdraw destination's min_amount_e18 is below the least amount\n * a payout to it can pay. ErrorDetail.min_floor_e18 is that floor and\n * ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_MIN_AMOUNT_BELOW_FLOOR = 46;\n */\n MIN_AMOUNT_BELOW_FLOOR = 46,\n\n /**\n * No enabled withdrawal route pays an auto-withdraw destination's asset to\n * its destination chain. ErrorDetail.field_path names the field.\n *\n * @generated from enum value: ERROR_CODE_ROUTE_UNSUPPORTED = 47;\n */\n ROUTE_UNSUPPORTED = 47,\n\n /**\n * expected_version is not the auto-withdraw rule's latest version: another\n * change landed first. Read the rule again before retrying.\n *\n * @generated from enum value: ERROR_CODE_VERSION_CONFLICT = 48;\n */\n VERSION_CONFLICT = 48,\n\n /**\n * A broker vault pays an external destination only once it has been on the\n * vault's external withdraw whitelist for 24 hours, and this one was added\n * more recently. ErrorDetail.payable_from is when it can be paid; unset\n * when that time is not known yet. Retry after it.\n *\n * @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_COOLING_DOWN = 49;\n */\n EXTERNAL_DESTINATION_COOLING_DOWN = 49,\n\n /**\n * Withdrawals of this asset to the destination network are temporarily\n * suspended, as AssetChainVariant.withdrawal_status SUSPENDED shows.\n * Nothing was reserved; submit a new request once the status is NORMAL\n * again.\n *\n * @generated from enum value: ERROR_CODE_ROUTE_SUSPENDED = 50;\n */\n ROUTE_SUSPENDED = 50,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 0);\n\n/**\n * TradingWithdrawAction identifies where funds should move from Trading.\n *\n * @generated from enum chain.withdraw.v1.TradingWithdrawAction\n */\nexport enum TradingWithdrawAction {\n /**\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * @generated from enum value: TO_FUNDING = 1;\n */\n TO_FUNDING = 1,\n\n /**\n * @generated from enum value: TO_EXTERNAL_CHAIN = 2;\n */\n TO_EXTERNAL_CHAIN = 2,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.TradingWithdrawAction.\n */\nexport const TradingWithdrawActionSchema: GenEnum<TradingWithdrawAction> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 1);\n\n/**\n * WithdrawDestinationValidationCode identifies the public outcome of an\n * external-chain destination validation.\n *\n * @generated from enum chain.withdraw.v1.WithdrawDestinationValidationCode\n */\nexport enum WithdrawDestinationValidationCode {\n /**\n * No validation outcome was produced.\n *\n * @generated from enum value: RESULT_UNSPECIFIED = 0;\n */\n RESULT_UNSPECIFIED = 0,\n\n /**\n * The destination is valid and may be used for a withdraw.\n *\n * @generated from enum value: VALID = 1;\n */\n VALID = 1,\n\n /**\n * The address is not valid for the selected destination chain.\n *\n * @generated from enum value: INVALID_ADDRESS = 2;\n */\n INVALID_ADDRESS = 2,\n\n /**\n * The selected destination chain is not supported for withdraws.\n *\n * @generated from enum value: UNSUPPORTED_CHAIN = 3;\n */\n UNSUPPORTED_CHAIN = 3,\n\n /**\n * The destination is a Polyester smart account and cannot be used for an\n * external-chain withdraw.\n *\n * @generated from enum value: POLYESTER_SMART_ACCOUNT = 4;\n */\n POLYESTER_SMART_ACCOUNT = 4,\n\n /**\n * The destination is a token contract and cannot receive withdrawals.\n *\n * @generated from enum value: TOKEN_CONTRACT = 5;\n */\n TOKEN_CONTRACT = 5,\n\n /**\n * The destination is blocked by Polyester's user-safety denylist.\n *\n * @generated from enum value: DENYLISTED_ADDRESS = 6;\n */\n DENYLISTED_ADDRESS = 6,\n}\n\n/**\n * Describes the enum chain.withdraw.v1.WithdrawDestinationValidationCode.\n */\nexport const WithdrawDestinationValidationCodeSchema: GenEnum<WithdrawDestinationValidationCode> = /*@__PURE__*/\n enumDesc(file_chain_withdraw_v1_withdraw, 2);\n\n/**\n * WithdrawService manages authenticated chain-facing withdraw request intake.\n *\n * @generated from service chain.withdraw.v1.WithdrawService\n */\nexport const WithdrawService: GenService<{\n /**\n * Read the zTokens the account's smart account wallet holds on Polyester\n * Chain, such as a rejected withdrawal's refund, which stays there until\n * the account moves it. Balances are read live from the chain. An API key\n * needs READ_BALANCES within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.GetWalletBalances\n */\n getWalletBalances: {\n methodKind: \"unary\";\n input: typeof GetWalletBalancesRequestSchema;\n output: typeof GetWalletBalancesResponseSchema;\n },\n /**\n * Validate an external-chain withdraw destination for an authenticated\n * caller without creating, signing, or reserving a withdraw. An API key\n * needs READ_WITHDRAW_VALIDATION within its scope.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.ValidateWithdrawDestination\n */\n validateWithdrawDestination: {\n methodKind: \"unary\";\n input: typeof ValidateWithdrawDestinationRequestSchema;\n output: typeof ValidateWithdrawDestinationResponseSchema;\n },\n /**\n * Create or return one durable withdraw from Trading.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateTradingWithdraw\n */\n createTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateTradingWithdrawRequestSchema;\n output: typeof CreateTradingWithdrawResponseSchema;\n },\n /**\n * Create or return one wallet/JWT withdraw from Trading.\n * Root-owner Trading to Funding and root-owner withdrawals to explicitly\n * whitelisted external destinations accept recent MFA. Other external,\n * cross-owner, and delegated movements require a fresh single-use step-up.\n *\n * @generated from rpc chain.withdraw.v1.WithdrawService.CreateWalletTradingWithdraw\n */\n createWalletTradingWithdraw: {\n methodKind: \"unary\";\n input: typeof CreateWalletTradingWithdrawRequestSchema;\n output: typeof CreateWalletTradingWithdrawResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_withdraw_v1_withdraw, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,kCACX,uBAAS,w0LAAw0L;CAAC;CAAgC;CAA4B;AAA2B,CAAC;;;;;AAsB56L,MAAa,sCACX,0BAAY,iCAAiC,CAAC;;;;;AAsBhD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAgDhD,MAAa,oBACX,0BAAY,iCAAiC,CAAC;;;;;AAoFhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA6BhD,MAAa,qCACX,0BAAY,iCAAiC,CAAC;;;;;AA2ChD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA4BhD,MAAa,2CACX,0BAAY,iCAAiC,CAAC;;;;;AA0ChD,MAAa,4CACX,0BAAY,iCAAiC,CAAC;;;;;AAqBhD,MAAa,iCACX,0BAAY,iCAAiC,CAAC;;;;;AAmDhD,MAAa,sBACX,0BAAY,iCAAiC,CAAC;;;;;AA6BhD,MAAa,kCACX,0BAAY,iCAAiC,EAAE;;;;;;;AAQjD,IAAY,YAAL,yBAAA,WAAA;;;;;;CAML,UAAA,UAAA,iBAAA,KAAA;;;;;;CAOA,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AAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0CACX,uBAAS,iCAAiC,CAAC;;;;;;AAO7C,MAAa,kBAkDX,0BAAY,iCAAiC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
+
import { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
declare namespace reason_pb_d_exports {
|
|
4
4
|
export { ZipperReasonCode, ZipperReasonCodeSchema, ZipperReasonDetails, ZipperReasonDetailsSchema, file_chain_zipper_v1_reason };
|
|
5
5
|
}
|