@polyester/sdk 0.31.0 → 0.32.0-devnet-20261101180406
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +114 -0
- package/README.md +7 -0
- package/dist/browser-core.d.ts.map +1 -1
- package/dist/browser-core.js.map +1 -1
- package/dist/catalogs/market-data-catalog.d.ts +2 -0
- package/dist/catalogs/market-data-catalog.d.ts.map +1 -1
- package/dist/catalogs/market-data-catalog.js +1 -0
- package/dist/catalogs/market-data-catalog.js.map +1 -1
- package/dist/catalogs/snapshot-validation.js +6 -0
- package/dist/catalogs/snapshot-validation.js.map +1 -1
- package/dist/client.d.ts +2 -2
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/core-client.d.ts.map +1 -1
- package/dist/core-client.js +1 -0
- package/dist/core-client.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +6 -3
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +9 -2
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +9 -2
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +26 -2
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +26 -2
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +20 -14
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +20 -3
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js +2 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +10 -6
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js +2 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +32 -2
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +2 -2
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +19 -3
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.js +18 -2
- package/dist/gen/chain/lifecycle/v1/types_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +840 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts.map +1 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +351 -0
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -0
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +22 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +17 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +14 -0
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.js +15 -1
- package/dist/gen/chain/zipper/v1/reason_pb.js.map +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1121 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts.map +1 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.js +327 -0
- package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -0
- package/dist/gen/claims/v1/claims_pb.d.ts +61 -4
- package/dist/gen/claims/v1/claims_pb.d.ts.map +1 -1
- package/dist/gen/claims/v1/claims_pb.js +26 -1
- package/dist/gen/claims/v1/claims_pb.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js +2 -1
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/index.d.ts +7 -5
- package/dist/gen/index.js +12 -10
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +38 -2
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +13 -7
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +248 -27
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.js +73 -20
- package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +2 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +16 -4
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +1164 -53
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +959 -42
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +205 -17
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +156 -17
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +8 -1
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +8 -1
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1419 -0
- package/dist/gen/privatews/v1/private_ws_pb.d.ts.map +1 -0
- package/dist/gen/privatews/v1/private_ws_pb.js +551 -0
- package/dist/gen/privatews/v1/private_ws_pb.js.map +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -0
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +2108 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +522 -0
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +2296 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +1014 -0
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -0
- package/dist/gen/swap/v1/swap_pb.d.ts +945 -0
- package/dist/gen/swap/v1/swap_pb.d.ts.map +1 -0
- package/dist/gen/swap/v1/swap_pb.js +426 -0
- package/dist/gen/swap/v1/swap_pb.js.map +1 -0
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +67 -3
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts.map +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +587 -29
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +420 -19
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +95 -7
- package/dist/gen/vip/v1/vip_pb.d.ts.map +1 -1
- package/dist/gen/vip/v1/vip_pb.js +53 -5
- package/dist/gen/vip/v1/vip_pb.js.map +1 -1
- package/dist/index.d.ts +9 -7
- package/dist/index.js +2 -2
- package/dist/realtime/client.d.ts +3 -0
- package/dist/realtime/client.d.ts.map +1 -1
- package/dist/realtime/client.js +76 -24
- package/dist/realtime/client.js.map +1 -1
- package/dist/realtime/index.d.ts +2 -1
- package/dist/realtime/private-orders.d.ts +38 -0
- package/dist/realtime/private-orders.d.ts.map +1 -0
- package/dist/realtime/private-orders.js +594 -0
- package/dist/realtime/private-orders.js.map +1 -0
- package/dist/realtime/ready-gated-subscription.js +10 -4
- package/dist/realtime/ready-gated-subscription.js.map +1 -1
- package/dist/realtime/types.d.ts +3 -0
- package/dist/realtime/types.d.ts.map +1 -1
- package/dist/services/auth/account-signer-auth.d.ts +5 -3
- package/dist/services/auth/account-signer-auth.d.ts.map +1 -1
- package/dist/services/auth/account-signer-auth.js +21 -3
- package/dist/services/auth/account-signer-auth.js.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/candles/candles.codecs.js +15 -0
- package/dist/services/candles/candles.codecs.js.map +1 -1
- package/dist/services/candles/candles.schemas.d.ts +13 -13
- package/dist/services/checkpoints/checkpoints.codecs.d.ts +8 -0
- package/dist/services/checkpoints/checkpoints.codecs.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.codecs.js +36 -0
- package/dist/services/checkpoints/checkpoints.codecs.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.d.ts +22 -0
- package/dist/services/checkpoints/checkpoints.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.js +31 -0
- package/dist/services/checkpoints/checkpoints.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +437 -0
- package/dist/services/checkpoints/checkpoints.schemas.d.ts.map +1 -0
- package/dist/services/checkpoints/checkpoints.schemas.js +176 -0
- package/dist/services/checkpoints/checkpoints.schemas.js.map +1 -0
- package/dist/services/checkpoints/checkpoints.types.d.ts +3 -0
- package/dist/services/checkpoints/service.d.ts +8 -0
- package/dist/services/checkpoints/service.d.ts.map +1 -0
- package/dist/services/checkpoints/service.js +9 -0
- package/dist/services/checkpoints/service.js.map +1 -0
- package/dist/services/claims/claims.codecs.d.ts +1 -1
- package/dist/services/claims/claims.codecs.d.ts.map +1 -1
- package/dist/services/claims/claims.codecs.js +2 -1
- package/dist/services/claims/claims.codecs.js.map +1 -1
- package/dist/services/claims/claims.d.ts +13 -5
- package/dist/services/claims/claims.d.ts.map +1 -1
- package/dist/services/claims/claims.js +15 -6
- package/dist/services/claims/claims.js.map +1 -1
- package/dist/services/claims/claims.schemas.d.ts +13 -3
- package/dist/services/claims/claims.schemas.d.ts.map +1 -1
- package/dist/services/claims/claims.schemas.js +10 -4
- package/dist/services/claims/claims.schemas.js.map +1 -1
- package/dist/services/claims/claims.types.d.ts +2 -2
- package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
- package/dist/services/lifecycle/lifecycle.codecs.d.ts +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.codecs.js +4 -2
- package/dist/services/lifecycle/lifecycle.codecs.js.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +131 -81
- package/dist/services/lifecycle/lifecycle.schemas.d.ts.map +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.js +7 -1
- package/dist/services/lifecycle/lifecycle.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.codecs.js +2 -1
- package/dist/services/market-data/market-data.codecs.js.map +1 -1
- package/dist/services/market-data/market-data.d.ts +10 -1
- package/dist/services/market-data/market-data.d.ts.map +1 -1
- package/dist/services/market-data/market-data.js +21 -9
- package/dist/services/market-data/market-data.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.d.ts +29 -2
- package/dist/services/market-data/market-data.schemas.d.ts.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +53 -4
- package/dist/services/market-data/market-data.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.types.d.ts +2 -2
- package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
- package/dist/services/orderbook/orderbook.d.ts +2 -1
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +17 -2
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +5 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +2 -0
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-enums.codecs.js +7 -1
- package/dist/services/orders/order-enums.codecs.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +4 -2
- package/dist/services/orders/order-errors.schemas.d.ts.map +1 -1
- package/dist/services/orders/order-errors.schemas.js +4 -1
- package/dist/services/orders/order-errors.schemas.js.map +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +375 -54
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +12 -2
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +551 -9
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +23 -5
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts +106 -1
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +78 -59
- package/dist/services/orders/orders-output.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-output.schemas.js +15 -22
- package/dist/services/orders/orders-output.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.d.ts +69 -1
- package/dist/services/orders/orders-risk.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +21 -11
- package/dist/services/orders/orders-risk.schemas.js.map +1 -1
- package/dist/services/orders/orders.codecs.js +26 -2
- package/dist/services/orders/orders.codecs.js.map +1 -1
- package/dist/services/orders/orders.d.ts +31 -5
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +53 -15
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -15
- package/dist/services/policies/shared.codecs.js +8 -2
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/shared.d.ts.map +1 -1
- package/dist/services/policies/shared.js +4 -1
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +9 -9
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +1 -1
- package/dist/services/subaccounts/subaccounts.codecs.js +4 -1
- package/dist/services/subaccounts/subaccounts.codecs.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts +1 -1
- package/dist/services/subaccounts/subaccounts.d.ts.map +1 -1
- package/dist/services/subaccounts/subaccounts.js +1 -2
- package/dist/services/subaccounts/subaccounts.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +9 -9
- package/dist/services/trades/trades.d.ts +2 -0
- package/dist/services/trades/trades.d.ts.map +1 -1
- package/dist/services/trades/trades.js +6 -6
- package/dist/services/trades/trades.js.map +1 -1
- package/dist/services/trades/trades.schemas.d.ts +2 -2
- package/dist/services/trades/trades.schemas.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +9 -5
- package/dist/services/trading-withdraws/trading-withdraws.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +45 -26
- package/dist/services/trading-withdraws/trading-withdraws.js.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts +12 -0
- package/dist/services/trading-withdraws/trading-withdraws.schemas.d.ts.map +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +26 -6
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js.map +1 -1
- package/dist/services/trailing-oneof-inputs.js +6 -1
- package/dist/services/trailing-oneof-inputs.js.map +1 -1
- package/dist/services/transfers/transfers.d.ts +2 -0
- package/dist/services/transfers/transfers.d.ts.map +1 -1
- package/dist/services/transfers/transfers.js +6 -11
- package/dist/services/transfers/transfers.js.map +1 -1
- package/dist/services/transfers/transfers.schemas.d.ts +3 -0
- package/dist/services/transfers/transfers.schemas.d.ts.map +1 -1
- package/dist/services/transfers/transfers.schemas.js +3 -1
- package/dist/services/transfers/transfers.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +23 -18
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +288 -25
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +38 -22
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +180 -56
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +28 -20
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +60 -0
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +6 -2
- package/dist/services/triggers/triggers.d.ts.map +1 -1
- package/dist/services/triggers/triggers.js +10 -8
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.d.ts +23 -1
- package/dist/services/vip/vip.schemas.d.ts.map +1 -1
- package/dist/services/vip/vip.schemas.js +20 -2
- package/dist/services/vip/vip.schemas.js.map +1 -1
- package/dist/services/vip/vip.types.d.ts +2 -2
- package/dist/shared/catalog-config.d.ts +14 -2
- package/dist/shared/catalog-config.d.ts.map +1 -1
- package/dist/shared/catalog-config.js +2 -1
- package/dist/shared/catalog-config.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts +3 -0
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +45 -6
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/errors.d.ts +79 -6
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +92 -4
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +1 -1
- package/dist/shared/request-options.d.ts +7 -0
- package/dist/shared/request-options.d.ts.map +1 -1
- package/dist/shared/request-options.js +6 -1
- package/dist/shared/request-options.js.map +1 -1
- package/dist/shared/schemas.js +1 -1
- package/dist/shared/subscription-errors.js +12 -1
- package/dist/shared/subscription-errors.js.map +1 -1
- package/dist/shared/transports.d.ts.map +1 -1
- package/dist/shared/transports.js +9 -2
- package/dist/shared/transports.js.map +1 -1
- package/dist/shared/wire-bounds.js +3 -1
- package/dist/shared/wire-bounds.js.map +1 -1
- package/dist/smart-account/index.d.ts +2 -1
- package/dist/smart-account/index.js +2 -1
- package/dist/smart-account/smart-account.d.ts +5 -4
- package/dist/smart-account/smart-account.d.ts.map +1 -1
- package/dist/smart-account/smart-account.js +37 -8
- package/dist/smart-account/smart-account.js.map +1 -1
- package/dist/utils/numbers.js +4 -1
- package/dist/utils/numbers.js.map +1 -1
- package/dist/wired-services.js +5 -5
- package/dist/wired-services.js.map +1 -1
- package/package.json +9 -4
- package/dist/gen/collab/v1/whiteboard_pb.d.ts +0 -829
- package/dist/gen/collab/v1/whiteboard_pb.d.ts.map +0 -1
- package/dist/gen/collab/v1/whiteboard_pb.js +0 -250
- package/dist/gen/collab/v1/whiteboard_pb.js.map +0 -1
- package/dist/gen/layout/v1/layout_pb.d.ts +0 -1289
- package/dist/gen/layout/v1/layout_pb.d.ts.map +0 -1
- package/dist/gen/layout/v1/layout_pb.js +0 -313
- package/dist/gen/layout/v1/layout_pb.js.map +0 -1
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts +0 -192
- package/dist/gen/polychart/events/v1/polychart_events_pb.d.ts.map +0 -1
- package/dist/gen/polychart/events/v1/polychart_events_pb.js +0 -57
- package/dist/gen/polychart/events/v1/polychart_events_pb.js.map +0 -1
- package/dist/gen/polychart/v1/polychart_pb.d.ts +0 -1208
- package/dist/gen/polychart/v1/polychart_pb.d.ts.map +0 -1
- package/dist/gen/polychart/v1/polychart_pb.js +0 -244
- package/dist/gen/polychart/v1/polychart_pb.js.map +0 -1
- package/dist/services/whiteboard/service.d.ts +0 -8
- package/dist/services/whiteboard/service.d.ts.map +0 -1
- package/dist/services/whiteboard/service.js +0 -9
- package/dist/services/whiteboard/service.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.codecs.js +0 -55
- package/dist/services/whiteboard/whiteboard.codecs.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.d.ts +0 -42
- package/dist/services/whiteboard/whiteboard.d.ts.map +0 -1
- package/dist/services/whiteboard/whiteboard.js +0 -76
- package/dist/services/whiteboard/whiteboard.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.schemas.d.ts +0 -771
- package/dist/services/whiteboard/whiteboard.schemas.d.ts.map +0 -1
- package/dist/services/whiteboard/whiteboard.schemas.js +0 -132
- package/dist/services/whiteboard/whiteboard.schemas.js.map +0 -1
- package/dist/services/whiteboard/whiteboard.types.d.ts +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Message } from "@bufbuild/protobuf";
|
|
2
|
-
import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
declare namespace vip_pb_d_exports {
|
|
5
|
-
export { GetVIPStatusRequest, GetVIPStatusRequestSchema, GetVIPStatusResponse, GetVIPStatusResponseSchema, ListVIPTiersRequest, ListVIPTiersRequestSchema, ListVIPTiersResponse, ListVIPTiersResponseSchema, NextVIPTierThresholds, NextVIPTierThresholdsSchema, VIPService, VIPTier, VIPTierSchema, file_vip_v1_vip };
|
|
5
|
+
export { GetVIPStatusRequest, GetVIPStatusRequestSchema, GetVIPStatusResponse, GetVIPStatusResponseSchema, ListVIPTiersRequest, ListVIPTiersRequestSchema, ListVIPTiersResponse, ListVIPTiersResponseSchema, NextVIPTierThresholds, NextVIPTierThresholdsSchema, VIPMetricQuality, VIPMetricQualitySchema, VIPMetricStatus, VIPMetricStatusSchema, VIPService, VIPTier, VIPTierSchema, file_vip_v1_vip };
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file vip/v1/vip.proto.
|
|
@@ -141,6 +141,32 @@ type NextVIPTierThresholds = Message<"vip.v1.NextVIPTierThresholds"> & {
|
|
|
141
141
|
* Use `create(NextVIPTierThresholdsSchema)` to create a new message.
|
|
142
142
|
*/
|
|
143
143
|
declare const NextVIPTierThresholdsSchema: GenMessage<NextVIPTierThresholds>;
|
|
144
|
+
/**
|
|
145
|
+
* VIPMetricQuality explains the completeness of one rolling 30-day
|
|
146
|
+
* qualification metric.
|
|
147
|
+
*
|
|
148
|
+
* @generated from message vip.v1.VIPMetricQuality
|
|
149
|
+
*/
|
|
150
|
+
type VIPMetricQuality = Message<"vip.v1.VIPMetricQuality"> & {
|
|
151
|
+
/**
|
|
152
|
+
* Completeness status of the metric.
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: vip.v1.VIPMetricStatus status = 1;
|
|
155
|
+
*/
|
|
156
|
+
status: VIPMetricStatus;
|
|
157
|
+
/**
|
|
158
|
+
* Number of hourly buckets in the rolling 720-hour window that are missing
|
|
159
|
+
* or incomplete. Zero when status is COMPLETE.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: uint32 incomplete_hours = 2;
|
|
162
|
+
*/
|
|
163
|
+
incompleteHours: number;
|
|
164
|
+
};
|
|
165
|
+
/**
|
|
166
|
+
* Describes the message vip.v1.VIPMetricQuality.
|
|
167
|
+
* Use `create(VIPMetricQualitySchema)` to create a new message.
|
|
168
|
+
*/
|
|
169
|
+
declare const VIPMetricQualitySchema: GenMessage<VIPMetricQuality>;
|
|
144
170
|
/**
|
|
145
171
|
* GetVIPStatusRequest requests VIP status for the authenticated caller's root
|
|
146
172
|
* account. All subaccounts inherit that root status, so this request has no
|
|
@@ -183,8 +209,11 @@ type GetVIPStatusResponse = Message<"vip.v1.GetVIPStatusResponse"> & {
|
|
|
183
209
|
aopTier: number;
|
|
184
210
|
/**
|
|
185
211
|
* Rolling 30-day settled spot volume in USD, encoded as a non-negative
|
|
186
|
-
* base-10 decimal string without separators or a currency symbol.
|
|
187
|
-
*
|
|
212
|
+
* base-10 decimal string without separators or a currency symbol. When
|
|
213
|
+
* settled_volume_quality.status is PRICE_UNAVAILABLE, this is a lower bound
|
|
214
|
+
* that excludes executions without an admissible USD reference price.
|
|
215
|
+
* Omitted when settled_volume_quality is omitted or its status is
|
|
216
|
+
* INCOMPLETE_HISTORY.
|
|
188
217
|
*
|
|
189
218
|
* @generated from field: optional string settled_volume_30d_usd = 4;
|
|
190
219
|
*/
|
|
@@ -192,7 +221,7 @@ type GetVIPStatusResponse = Message<"vip.v1.GetVIPStatusResponse"> & {
|
|
|
192
221
|
/**
|
|
193
222
|
* Rolling 30-day average portfolio value in USD, encoded as a non-negative
|
|
194
223
|
* base-10 decimal string without separators or a currency symbol. Omitted
|
|
195
|
-
*
|
|
224
|
+
* unless average_aop_quality.status is COMPLETE.
|
|
196
225
|
*
|
|
197
226
|
* @generated from field: optional string average_aop_30d_usd = 5;
|
|
198
227
|
*/
|
|
@@ -225,7 +254,7 @@ type GetVIPStatusResponse = Message<"vip.v1.GetVIPStatusResponse"> & {
|
|
|
225
254
|
evaluatedAt?: Timestamp | undefined;
|
|
226
255
|
/**
|
|
227
256
|
* UTC cutoff of the rolling metrics used for this assignment. Omitted when
|
|
228
|
-
*
|
|
257
|
+
* neither settled_volume_30d_usd nor average_aop_30d_usd is present.
|
|
229
258
|
*
|
|
230
259
|
* @generated from field: optional google.protobuf.Timestamp metrics_as_of = 10;
|
|
231
260
|
*/
|
|
@@ -237,12 +266,70 @@ type GetVIPStatusResponse = Message<"vip.v1.GetVIPStatusResponse"> & {
|
|
|
237
266
|
* @generated from field: optional vip.v1.NextVIPTierThresholds next_tier_thresholds = 11;
|
|
238
267
|
*/
|
|
239
268
|
nextTierThresholds?: NextVIPTierThresholds | undefined;
|
|
269
|
+
/**
|
|
270
|
+
* Completeness of the rolling 30-day settled spot volume. An incomplete
|
|
271
|
+
* volume metric can raise the volume tier when its proven lower bound meets
|
|
272
|
+
* a higher threshold, but it never lowers the tier. Omitted when the
|
|
273
|
+
* assignment carries no automatic qualification evidence, such as the
|
|
274
|
+
* default VIP0 tier of a new account.
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: vip.v1.VIPMetricQuality settled_volume_quality = 12;
|
|
277
|
+
*/
|
|
278
|
+
settledVolumeQuality?: VIPMetricQuality | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* Completeness of the rolling 30-day average portfolio value. An incomplete
|
|
281
|
+
* average portfolio value keeps its previous tier. Omitted when the
|
|
282
|
+
* assignment carries no automatic qualification evidence, such as the
|
|
283
|
+
* default VIP0 tier of a new account.
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: vip.v1.VIPMetricQuality average_aop_quality = 13;
|
|
286
|
+
*/
|
|
287
|
+
averageAopQuality?: VIPMetricQuality | undefined;
|
|
240
288
|
};
|
|
241
289
|
/**
|
|
242
290
|
* Describes the message vip.v1.GetVIPStatusResponse.
|
|
243
291
|
* Use `create(GetVIPStatusResponseSchema)` to create a new message.
|
|
244
292
|
*/
|
|
245
293
|
declare const GetVIPStatusResponseSchema: GenMessage<GetVIPStatusResponse>;
|
|
294
|
+
/**
|
|
295
|
+
* VIPMetricStatus describes how complete one rolling 30-day qualification
|
|
296
|
+
* metric is.
|
|
297
|
+
*
|
|
298
|
+
* @generated from enum vip.v1.VIPMetricStatus
|
|
299
|
+
*/
|
|
300
|
+
declare enum VIPMetricStatus {
|
|
301
|
+
/**
|
|
302
|
+
* No metric status was specified.
|
|
303
|
+
*
|
|
304
|
+
* @generated from enum value: METRIC_UNSPECIFIED = 0;
|
|
305
|
+
*/
|
|
306
|
+
METRIC_UNSPECIFIED = 0,
|
|
307
|
+
/**
|
|
308
|
+
* Every hour in the rolling window has complete evidence.
|
|
309
|
+
*
|
|
310
|
+
* @generated from enum value: COMPLETE = 1;
|
|
311
|
+
*/
|
|
312
|
+
COMPLETE = 1,
|
|
313
|
+
/**
|
|
314
|
+
* Every hour in the rolling window is present, but some hours contain
|
|
315
|
+
* executions or holdings without an admissible USD reference price at the
|
|
316
|
+
* required time. Those contributions are not estimated.
|
|
317
|
+
*
|
|
318
|
+
* @generated from enum value: PRICE_UNAVAILABLE = 2;
|
|
319
|
+
*/
|
|
320
|
+
PRICE_UNAVAILABLE = 2,
|
|
321
|
+
/**
|
|
322
|
+
* Some hours in the rolling window are missing or contain other incomplete
|
|
323
|
+
* evidence.
|
|
324
|
+
*
|
|
325
|
+
* @generated from enum value: INCOMPLETE_HISTORY = 3;
|
|
326
|
+
*/
|
|
327
|
+
INCOMPLETE_HISTORY = 3
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* Describes the enum vip.v1.VIPMetricStatus.
|
|
331
|
+
*/
|
|
332
|
+
declare const VIPMetricStatusSchema: GenEnum<VIPMetricStatus>;
|
|
246
333
|
/**
|
|
247
334
|
* VIPService serves public VIP policy reference data and the authenticated
|
|
248
335
|
* caller-root qualification status.
|
|
@@ -253,6 +340,7 @@ declare const VIPService: GenService<{
|
|
|
253
340
|
/**
|
|
254
341
|
* List the complete active VIP0 through VIP10 tier catalog in ascending tier
|
|
255
342
|
* order.
|
|
343
|
+
* This public, caller-independent catalog supports cacheable ConnectRPC GET.
|
|
256
344
|
*
|
|
257
345
|
* @generated from rpc vip.v1.VIPService.ListVIPTiers
|
|
258
346
|
*/
|
|
@@ -273,5 +361,5 @@ declare const VIPService: GenService<{
|
|
|
273
361
|
};
|
|
274
362
|
}>;
|
|
275
363
|
//#endregion
|
|
276
|
-
export { GetVIPStatusRequest, GetVIPStatusRequestSchema, GetVIPStatusResponse, GetVIPStatusResponseSchema, ListVIPTiersRequest, ListVIPTiersRequestSchema, ListVIPTiersResponse, ListVIPTiersResponseSchema, NextVIPTierThresholds, NextVIPTierThresholdsSchema, VIPService, VIPTier, VIPTierSchema, file_vip_v1_vip, vip_pb_d_exports };
|
|
364
|
+
export { GetVIPStatusRequest, GetVIPStatusRequestSchema, GetVIPStatusResponse, GetVIPStatusResponseSchema, ListVIPTiersRequest, ListVIPTiersRequestSchema, ListVIPTiersResponse, ListVIPTiersResponseSchema, NextVIPTierThresholds, NextVIPTierThresholdsSchema, VIPMetricQuality, VIPMetricQualitySchema, VIPMetricStatus, VIPMetricStatusSchema, VIPService, VIPTier, VIPTierSchema, file_vip_v1_vip, vip_pb_d_exports };
|
|
277
365
|
//# sourceMappingURL=vip_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vip_pb.d.ts","names":[],"sources":["../../../../src/gen/vip/v1/vip_pb.ts"],"mappings":";;;;;;;;;cAca,iBAAiB;;;;;;KAQlB,UAAU;;;;;;EAMpB;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;cAOW,eAAe,WAAW;;;;;;KAQ3B,sBAAsB;;;;;cAOrB,2BAA2B,WAAW;;;;;;KAQvC,uBAAuB;;;;;;EAMjC;;;;;;EAOA,gBAAgB;;;;;;;EAQhB;;;;;;;EAQA,OAAO;;;;;;cAOI,4BAA4B,WAAW;;;;;;;KASxC,wBAAwB;;;;;;EAMlC;;;;;;;;EASA;;;;;;;EAQA;;;;;;cAOW,6BAA6B,WAAW;;;;;;;;
|
|
1
|
+
{"version":3,"file":"vip_pb.d.ts","names":[],"sources":["../../../../src/gen/vip/v1/vip_pb.ts"],"mappings":";;;;;;;;;cAca,iBAAiB;;;;;;KAQlB,UAAU;;;;;;EAMpB;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;cAOW,eAAe,WAAW;;;;;;KAQ3B,sBAAsB;;;;;cAOrB,2BAA2B,WAAW;;;;;;KAQvC,uBAAuB;;;;;;EAMjC;;;;;;EAOA,gBAAgB;;;;;;;EAQhB;;;;;;;EAQA,OAAO;;;;;;cAOI,4BAA4B,WAAW;;;;;;;KASxC,wBAAwB;;;;;;EAMlC;;;;;;;;EASA;;;;;;;EAQA;;;;;;cAOW,6BAA6B,WAAW;;;;;;;KASzC,mBAAmB;;;;;;EAM7B,QAAQ;;;;;;;EAQR;;;;;;cAOW,wBAAwB,WAAW;;;;;;;;KAUpC,sBAAsB;;;;;cAOrB,2BAA2B,WAAW;;;;;;;KASvC,uBAAuB;;;;;;EAMjC;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;;;;EAYA;;;;;;;;EASA;;;;;;EAOA;;;;;;EAOA,sBAAsB;;;;;;;EAQtB,gBAAgB;;;;;;;EAQhB,cAAc;;;;;;;EAQd,cAAc;;;;;;;EAQd,qBAAqB;;;;;;;;;;EAWrB,uBAAuB;;;;;;;;;EAUvB,oBAAoB;;;;;;cAOT,4BAA4B,WAAW;;;;;;;aASxC;;;;;;EAMV;;;;;;EAOA;;;;;;;;EASA;;;;;;;EAQA;;;;;cAMW,uBAAuB,QAAQ;;;;;;;cAS/B,YAAY;;;;;;;;EAQvB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { file_polyester_api_options } from "../../polyester/api/options_pb.js";
|
|
3
|
-
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
3
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
5
|
//#region src/gen/vip/v1/vip_pb.ts
|
|
6
6
|
var vip_pb_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -9,6 +9,9 @@ var vip_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
9
9
|
ListVIPTiersRequestSchema: () => ListVIPTiersRequestSchema,
|
|
10
10
|
ListVIPTiersResponseSchema: () => ListVIPTiersResponseSchema,
|
|
11
11
|
NextVIPTierThresholdsSchema: () => NextVIPTierThresholdsSchema,
|
|
12
|
+
VIPMetricQualitySchema: () => VIPMetricQualitySchema,
|
|
13
|
+
VIPMetricStatus: () => VIPMetricStatus,
|
|
14
|
+
VIPMetricStatusSchema: () => VIPMetricStatusSchema,
|
|
12
15
|
VIPService: () => VIPService,
|
|
13
16
|
VIPTierSchema: () => VIPTierSchema,
|
|
14
17
|
file_vip_v1_vip: () => file_vip_v1_vip
|
|
@@ -16,7 +19,7 @@ var vip_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
16
19
|
/**
|
|
17
20
|
* Describes the file vip/v1/vip.proto.
|
|
18
21
|
*/
|
|
19
|
-
const file_vip_v1_vip = /*@__PURE__*/ fileDesc("
|
|
22
|
+
const file_vip_v1_vip = /*@__PURE__*/ fileDesc("ChB2aXAvdjEvdmlwLnByb3RvEgZ2aXAudjEitQEKB1ZJUFRpZXISDgoEdGllchgBIAEoDUIAEh4KFHZvbHVtZV90aHJlc2hvbGRfdXNkGAIgASgJQgASIAoRYW9wX3RocmVzaG9sZF91c2QYAyABKAlCAEgAiAEBEiAKFm1ha2VyX2ZlZV9yYXRlX3BlcmNlbnQYBCABKAlCABIgChZ0YWtlcl9mZWVfcmF0ZV9wZXJjZW50GAUgASgJQgBCFAoSX2FvcF90aHJlc2hvbGRfdXNkIhUKE0xpc3RWSVBUaWVyc1JlcXVlc3QiqgEKFExpc3RWSVBUaWVyc1Jlc3BvbnNlEhgKDnBvbGljeV92ZXJzaW9uGAEgASgEQgASNAoOZWZmZWN0aXZlX2Zyb20YAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgASIAoWcmV0ZW50aW9uX3RocmVzaG9sZF9icBgDIAEoDUIAEiAKBXRpZXJzGAQgAygLMg8udmlwLnYxLlZJUFRpZXJCACJkChVOZXh0VklQVGllclRocmVzaG9sZHMSDgoEdGllchgBIAEoDUIAEh4KFHZvbHVtZV90aHJlc2hvbGRfdXNkGAIgASgJQgASGwoRYW9wX3RocmVzaG9sZF91c2QYAyABKAlCACJZChBWSVBNZXRyaWNRdWFsaXR5EikKBnN0YXR1cxgBIAEoDjIXLnZpcC52MS5WSVBNZXRyaWNTdGF0dXNCABIaChBpbmNvbXBsZXRlX2hvdXJzGAIgASgNQgAiFQoTR2V0VklQU3RhdHVzUmVxdWVzdCLQBQoUR2V0VklQU3RhdHVzUmVzcG9uc2USDgoEdGllchgBIAEoDUIAEhUKC3ZvbHVtZV90aWVyGAIgASgNQgASEgoIYW9wX3RpZXIYAyABKA1CABIlChZzZXR0bGVkX3ZvbHVtZV8zMGRfdXNkGAQgASgJQgBIAIgBARIiChNhdmVyYWdlX2FvcF8zMGRfdXNkGAUgASgJQgBIAYgBARIYCg5wb2xpY3lfdmVyc2lvbhgGIAEoBEIAEjsKFXBvbGljeV9lZmZlY3RpdmVfZnJvbRgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCABI3Cg5lZmZlY3RpdmVfZnJvbRgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAogBARI1CgxldmFsdWF0ZWRfYXQYCSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAOIAQESNgoNbWV0cmljc19hc19vZhgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIBIgBARJAChRuZXh0X3RpZXJfdGhyZXNob2xkcxgLIAEoCzIdLnZpcC52MS5OZXh0VklQVGllclRocmVzaG9sZHNIBYgBARI4ChZzZXR0bGVkX3ZvbHVtZV9xdWFsaXR5GAwgASgLMhgudmlwLnYxLlZJUE1ldHJpY1F1YWxpdHkSNQoTYXZlcmFnZV9hb3BfcXVhbGl0eRgNIAEoCzIYLnZpcC52MS5WSVBNZXRyaWNRdWFsaXR5QhkKF19zZXR0bGVkX3ZvbHVtZV8zMGRfdXNkQhYKFF9hdmVyYWdlX2FvcF8zMGRfdXNkQhEKD19lZmZlY3RpdmVfZnJvbUIPCg1fZXZhbHVhdGVkX2F0QhAKDl9tZXRyaWNzX2FzX29mQhcKFV9uZXh0X3RpZXJfdGhyZXNob2xkcypmCg9WSVBNZXRyaWNTdGF0dXMSFgoSTUVUUklDX1VOU1BFQ0lGSUVEEAASDAoIQ09NUExFVEUQARIVChFQUklDRV9VTkFWQUlMQUJMRRACEhYKEklOQ09NUExFVEVfSElTVE9SWRADMqkBCgpWSVBTZXJ2aWNlEk4KDExpc3RWSVBUaWVycxIbLnZpcC52MS5MaXN0VklQVGllcnNSZXF1ZXN0GhwudmlwLnYxLkxpc3RWSVBUaWVyc1Jlc3BvbnNlIgOQAgESSwoMR2V0VklQU3RhdHVzEhsudmlwLnYxLkdldFZJUFN0YXR1c1JlcXVlc3QaHC52aXAudjEuR2V0VklQU3RhdHVzUmVzcG9uc2UiAEI6WjhnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL3ZpcC92MTt2aXB2MWIGcHJvdG8z", [file_google_protobuf_timestamp, file_polyester_api_options]);
|
|
20
23
|
/**
|
|
21
24
|
* Describes the message vip.v1.VIPTier.
|
|
22
25
|
* Use `create(VIPTierSchema)` to create a new message.
|
|
@@ -38,15 +41,60 @@ const ListVIPTiersResponseSchema = /*@__PURE__*/ messageDesc(file_vip_v1_vip, 2)
|
|
|
38
41
|
*/
|
|
39
42
|
const NextVIPTierThresholdsSchema = /*@__PURE__*/ messageDesc(file_vip_v1_vip, 3);
|
|
40
43
|
/**
|
|
44
|
+
* Describes the message vip.v1.VIPMetricQuality.
|
|
45
|
+
* Use `create(VIPMetricQualitySchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
const VIPMetricQualitySchema = /*@__PURE__*/ messageDesc(file_vip_v1_vip, 4);
|
|
48
|
+
/**
|
|
41
49
|
* Describes the message vip.v1.GetVIPStatusRequest.
|
|
42
50
|
* Use `create(GetVIPStatusRequestSchema)` to create a new message.
|
|
43
51
|
*/
|
|
44
|
-
const GetVIPStatusRequestSchema = /*@__PURE__*/ messageDesc(file_vip_v1_vip,
|
|
52
|
+
const GetVIPStatusRequestSchema = /*@__PURE__*/ messageDesc(file_vip_v1_vip, 5);
|
|
45
53
|
/**
|
|
46
54
|
* Describes the message vip.v1.GetVIPStatusResponse.
|
|
47
55
|
* Use `create(GetVIPStatusResponseSchema)` to create a new message.
|
|
48
56
|
*/
|
|
49
|
-
const GetVIPStatusResponseSchema = /*@__PURE__*/ messageDesc(file_vip_v1_vip,
|
|
57
|
+
const GetVIPStatusResponseSchema = /*@__PURE__*/ messageDesc(file_vip_v1_vip, 6);
|
|
58
|
+
/**
|
|
59
|
+
* VIPMetricStatus describes how complete one rolling 30-day qualification
|
|
60
|
+
* metric is.
|
|
61
|
+
*
|
|
62
|
+
* @generated from enum vip.v1.VIPMetricStatus
|
|
63
|
+
*/
|
|
64
|
+
let VIPMetricStatus = /* @__PURE__ */ function(VIPMetricStatus) {
|
|
65
|
+
/**
|
|
66
|
+
* No metric status was specified.
|
|
67
|
+
*
|
|
68
|
+
* @generated from enum value: METRIC_UNSPECIFIED = 0;
|
|
69
|
+
*/
|
|
70
|
+
VIPMetricStatus[VIPMetricStatus["METRIC_UNSPECIFIED"] = 0] = "METRIC_UNSPECIFIED";
|
|
71
|
+
/**
|
|
72
|
+
* Every hour in the rolling window has complete evidence.
|
|
73
|
+
*
|
|
74
|
+
* @generated from enum value: COMPLETE = 1;
|
|
75
|
+
*/
|
|
76
|
+
VIPMetricStatus[VIPMetricStatus["COMPLETE"] = 1] = "COMPLETE";
|
|
77
|
+
/**
|
|
78
|
+
* Every hour in the rolling window is present, but some hours contain
|
|
79
|
+
* executions or holdings without an admissible USD reference price at the
|
|
80
|
+
* required time. Those contributions are not estimated.
|
|
81
|
+
*
|
|
82
|
+
* @generated from enum value: PRICE_UNAVAILABLE = 2;
|
|
83
|
+
*/
|
|
84
|
+
VIPMetricStatus[VIPMetricStatus["PRICE_UNAVAILABLE"] = 2] = "PRICE_UNAVAILABLE";
|
|
85
|
+
/**
|
|
86
|
+
* Some hours in the rolling window are missing or contain other incomplete
|
|
87
|
+
* evidence.
|
|
88
|
+
*
|
|
89
|
+
* @generated from enum value: INCOMPLETE_HISTORY = 3;
|
|
90
|
+
*/
|
|
91
|
+
VIPMetricStatus[VIPMetricStatus["INCOMPLETE_HISTORY"] = 3] = "INCOMPLETE_HISTORY";
|
|
92
|
+
return VIPMetricStatus;
|
|
93
|
+
}({});
|
|
94
|
+
/**
|
|
95
|
+
* Describes the enum vip.v1.VIPMetricStatus.
|
|
96
|
+
*/
|
|
97
|
+
const VIPMetricStatusSchema = /*@__PURE__*/ enumDesc(file_vip_v1_vip, 0);
|
|
50
98
|
/**
|
|
51
99
|
* VIPService serves public VIP policy reference data and the authenticated
|
|
52
100
|
* caller-root qualification status.
|
|
@@ -55,6 +103,6 @@ const GetVIPStatusResponseSchema = /*@__PURE__*/ messageDesc(file_vip_v1_vip, 5)
|
|
|
55
103
|
*/
|
|
56
104
|
const VIPService = /*@__PURE__*/ serviceDesc(file_vip_v1_vip, 0);
|
|
57
105
|
//#endregion
|
|
58
|
-
export { GetVIPStatusRequestSchema, GetVIPStatusResponseSchema, ListVIPTiersRequestSchema, ListVIPTiersResponseSchema, NextVIPTierThresholdsSchema, VIPService, VIPTierSchema, file_vip_v1_vip, vip_pb_exports };
|
|
106
|
+
export { GetVIPStatusRequestSchema, GetVIPStatusResponseSchema, ListVIPTiersRequestSchema, ListVIPTiersResponseSchema, NextVIPTierThresholdsSchema, VIPMetricQualitySchema, VIPMetricStatus, VIPMetricStatusSchema, VIPService, VIPTierSchema, file_vip_v1_vip, vip_pb_exports };
|
|
59
107
|
|
|
60
108
|
//# sourceMappingURL=vip_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vip_pb.js","names":[],"sources":["../../../../src/gen/vip/v1/vip_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file vip/v1/vip.proto (package vip.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { 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 { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file vip/v1/vip.proto.\n */\nexport const file_vip_v1_vip: GenFile = /*@__PURE__*/\n fileDesc(\"ChB2aXAvdjEvdmlwLnByb3RvEgZ2aXAudjEitQEKB1ZJUFRpZXISDgoEdGllchgBIAEoDUIAEh4KFHZvbHVtZV90aHJlc2hvbGRfdXNkGAIgASgJQgASIAoRYW9wX3RocmVzaG9sZF91c2QYAyABKAlCAEgAiAEBEiAKFm1ha2VyX2ZlZV9yYXRlX3BlcmNlbnQYBCABKAlCABIgChZ0YWtlcl9mZWVfcmF0ZV9wZXJjZW50GAUgASgJQgBCFAoSX2FvcF90aHJlc2hvbGRfdXNkIhUKE0xpc3RWSVBUaWVyc1JlcXVlc3QiqgEKFExpc3RWSVBUaWVyc1Jlc3BvbnNlEhgKDnBvbGljeV92ZXJzaW9uGAEgASgEQgASNAoOZWZmZWN0aXZlX2Zyb20YAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgASIAoWcmV0ZW50aW9uX3RocmVzaG9sZF9icBgDIAEoDUIAEiAKBXRpZXJzGAQgAygLMg8udmlwLnYxLlZJUFRpZXJCACJkChVOZXh0VklQVGllclRocmVzaG9sZHMSDgoEdGllchgBIAEoDUIAEh4KFHZvbHVtZV90aHJlc2hvbGRfdXNkGAIgASgJQgASGwoRYW9wX3RocmVzaG9sZF91c2QYAyABKAlCACIVChNHZXRWSVBTdGF0dXNSZXF1ZXN0It8EChRHZXRWSVBTdGF0dXNSZXNwb25zZRIOCgR0aWVyGAEgASgNQgASFQoLdm9sdW1lX3RpZXIYAiABKA1CABISCghhb3BfdGllchgDIAEoDUIAEiUKFnNldHRsZWRfdm9sdW1lXzMwZF91c2QYBCABKAlCAEgAiAEBEiIKE2F2ZXJhZ2VfYW9wXzMwZF91c2QYBSABKAlCAEgBiAEBEhgKDnBvbGljeV92ZXJzaW9uGAYgASgEQgASOwoVcG9saWN5X2VmZmVjdGl2ZV9mcm9tGAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEIAEjcKDmVmZmVjdGl2ZV9mcm9tGAggASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgCiAEBEjUKDGV2YWx1YXRlZF9hdBgJIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIA4gBARI2Cg1tZXRyaWNzX2FzX29mGAogASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgEiAEBEkAKFG5leHRfdGllcl90aHJlc2hvbGRzGAsgASgLMh0udmlwLnYxLk5leHRWSVBUaWVyVGhyZXNob2xkc0gFiAEBQhkKF19zZXR0bGVkX3ZvbHVtZV8zMGRfdXNkQhYKFF9hdmVyYWdlX2FvcF8zMGRfdXNkQhEKD19lZmZlY3RpdmVfZnJvbUIPCg1fZXZhbHVhdGVkX2F0QhAKDl9tZXRyaWNzX2FzX29mQhcKFV9uZXh0X3RpZXJfdGhyZXNob2xkczKmAQoKVklQU2VydmljZRJLCgxMaXN0VklQVGllcnMSGy52aXAudjEuTGlzdFZJUFRpZXJzUmVxdWVzdBocLnZpcC52MS5MaXN0VklQVGllcnNSZXNwb25zZSIAEksKDEdldFZJUFN0YXR1cxIbLnZpcC52MS5HZXRWSVBTdGF0dXNSZXF1ZXN0GhwudmlwLnYxLkdldFZJUFN0YXR1c1Jlc3BvbnNlIgBCOlo4Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi92aXAvdjE7dmlwdjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * VIPTier describes one row in a complete VIP0 through VIP10 policy catalog.\n *\n * @generated from message vip.v1.VIPTier\n */\nexport type VIPTier = Message<\"vip.v1.VIPTier\"> & {\n /**\n * Numeric VIP tier in the inclusive range 0 through 10.\n *\n * @generated from field: uint32 tier = 1;\n */\n tier: number;\n\n /**\n * Rolling 30-day settled spot volume entry threshold in USD, encoded as a\n * non-negative base-10 decimal string without separators or a currency\n * symbol.\n *\n * @generated from field: string volume_threshold_usd = 2;\n */\n volumeThresholdUsd: string;\n\n /**\n * Rolling 30-day average portfolio value entry threshold in USD, encoded as\n * a positive base-10 decimal string without separators or a currency symbol.\n * Omitted for VIP0, which has no average portfolio value entry threshold.\n *\n * @generated from field: optional string aop_threshold_usd = 3;\n */\n aopThresholdUsd?: string | undefined;\n\n /**\n * Absolute maker fee rate before symbol-specific adjustments, encoded as a\n * base-10 percentage string without a percent sign. Values are between\n * -100 and 100 inclusive.\n *\n * @generated from field: string maker_fee_rate_percent = 4;\n */\n makerFeeRatePercent: string;\n\n /**\n * Absolute taker fee rate before symbol-specific adjustments, encoded as a\n * non-negative base-10 percentage string without a percent sign. Values are\n * between 0 and 100 inclusive.\n *\n * @generated from field: string taker_fee_rate_percent = 5;\n */\n takerFeeRatePercent: string;\n};\n\n/**\n * Describes the message vip.v1.VIPTier.\n * Use `create(VIPTierSchema)` to create a new message.\n */\nexport const VIPTierSchema: GenMessage<VIPTier> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 0);\n\n/**\n * ListVIPTiersRequest requests the complete active VIP tier catalog.\n *\n * @generated from message vip.v1.ListVIPTiersRequest\n */\nexport type ListVIPTiersRequest = Message<\"vip.v1.ListVIPTiersRequest\"> & {\n};\n\n/**\n * Describes the message vip.v1.ListVIPTiersRequest.\n * Use `create(ListVIPTiersRequestSchema)` to create a new message.\n */\nexport const ListVIPTiersRequestSchema: GenMessage<ListVIPTiersRequest> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 1);\n\n/**\n * ListVIPTiersResponse contains one complete, immutable VIP policy version.\n *\n * @generated from message vip.v1.ListVIPTiersResponse\n */\nexport type ListVIPTiersResponse = Message<\"vip.v1.ListVIPTiersResponse\"> & {\n /**\n * Positive identifier of the returned VIP policy version.\n *\n * @generated from field: uint64 policy_version = 1;\n */\n policyVersion: bigint;\n\n /**\n * UTC time at which this policy version became effective.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 2;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Average portfolio value retention threshold in basis points. One basis\n * point is 0.01%; valid values are 1 through 10000.\n *\n * @generated from field: uint32 retention_threshold_bp = 3;\n */\n retentionThresholdBp: number;\n\n /**\n * Complete VIP0 through VIP10 catalog ordered by tier ascending. This is a\n * naturally bounded 11-row snapshot and is not paginated.\n *\n * @generated from field: repeated vip.v1.VIPTier tiers = 4;\n */\n tiers: VIPTier[];\n};\n\n/**\n * Describes the message vip.v1.ListVIPTiersResponse.\n * Use `create(ListVIPTiersResponseSchema)` to create a new message.\n */\nexport const ListVIPTiersResponseSchema: GenMessage<ListVIPTiersResponse> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 2);\n\n/**\n * NextVIPTierThresholds contains the entry thresholds for the tier immediately\n * above the caller's effective tier.\n *\n * @generated from message vip.v1.NextVIPTierThresholds\n */\nexport type NextVIPTierThresholds = Message<\"vip.v1.NextVIPTierThresholds\"> & {\n /**\n * Numeric next tier in the inclusive range 1 through 10.\n *\n * @generated from field: uint32 tier = 1;\n */\n tier: number;\n\n /**\n * Rolling 30-day settled spot volume entry threshold in USD, encoded as a\n * non-negative base-10 decimal string without separators or a currency\n * symbol.\n *\n * @generated from field: string volume_threshold_usd = 2;\n */\n volumeThresholdUsd: string;\n\n /**\n * Rolling 30-day average portfolio value entry threshold in USD, encoded as\n * a positive base-10 decimal string without separators or a currency symbol.\n *\n * @generated from field: string aop_threshold_usd = 3;\n */\n aopThresholdUsd: string;\n};\n\n/**\n * Describes the message vip.v1.NextVIPTierThresholds.\n * Use `create(NextVIPTierThresholdsSchema)` to create a new message.\n */\nexport const NextVIPTierThresholdsSchema: GenMessage<NextVIPTierThresholds> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 3);\n\n/**\n * GetVIPStatusRequest requests VIP status for the authenticated caller's root\n * account. All subaccounts inherit that root status, so this request has no\n * subaccount selector.\n *\n * @generated from message vip.v1.GetVIPStatusRequest\n */\nexport type GetVIPStatusRequest = Message<\"vip.v1.GetVIPStatusRequest\"> & {\n};\n\n/**\n * Describes the message vip.v1.GetVIPStatusRequest.\n * Use `create(GetVIPStatusRequestSchema)` to create a new message.\n */\nexport const GetVIPStatusRequestSchema: GenMessage<GetVIPStatusRequest> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 4);\n\n/**\n * GetVIPStatusResponse contains the authenticated caller-root VIP assignment\n * and the qualification facts available for that assignment.\n *\n * @generated from message vip.v1.GetVIPStatusResponse\n */\nexport type GetVIPStatusResponse = Message<\"vip.v1.GetVIPStatusResponse\"> & {\n /**\n * Effective VIP tier in the inclusive range 0 through 10.\n *\n * @generated from field: uint32 tier = 1;\n */\n tier: number;\n\n /**\n * Tier earned from rolling 30-day settled spot volume, in the inclusive\n * range 0 through 10.\n *\n * @generated from field: uint32 volume_tier = 2;\n */\n volumeTier: number;\n\n /**\n * Tier earned from rolling 30-day average portfolio value, in the inclusive\n * range 0 through 10.\n *\n * @generated from field: uint32 aop_tier = 3;\n */\n aopTier: number;\n\n /**\n * Rolling 30-day settled spot volume in USD, encoded as a non-negative\n * base-10 decimal string without separators or a currency symbol. Omitted\n * when complete qualification metrics are unavailable for the assignment.\n *\n * @generated from field: optional string settled_volume_30d_usd = 4;\n */\n settledVolume30dUsd?: string | undefined;\n\n /**\n * Rolling 30-day average portfolio value in USD, encoded as a non-negative\n * base-10 decimal string without separators or a currency symbol. Omitted\n * when complete qualification metrics are unavailable for the assignment.\n *\n * @generated from field: optional string average_aop_30d_usd = 5;\n */\n averageAop30dUsd?: string | undefined;\n\n /**\n * Positive identifier of the VIP policy used for this assignment.\n *\n * @generated from field: uint64 policy_version = 6;\n */\n policyVersion: bigint;\n\n /**\n * UTC time at which the selected assignment policy became effective.\n *\n * @generated from field: google.protobuf.Timestamp policy_effective_from = 7;\n */\n policyEffectiveFrom?: Timestamp | undefined;\n\n /**\n * UTC time from which the explicit VIP assignment is effective. Omitted\n * while a new account is using the default VIP0 tier.\n *\n * @generated from field: optional google.protobuf.Timestamp effective_from = 8;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * UTC time at which the explicit assignment was evaluated. Omitted while a\n * new account is using the default VIP0 tier.\n *\n * @generated from field: optional google.protobuf.Timestamp evaluated_at = 9;\n */\n evaluatedAt?: Timestamp | undefined;\n\n /**\n * UTC cutoff of the rolling metrics used for this assignment. Omitted when\n * complete qualification metrics are unavailable.\n *\n * @generated from field: optional google.protobuf.Timestamp metrics_as_of = 10;\n */\n metricsAsOf?: Timestamp | undefined;\n\n /**\n * Entry thresholds for the tier immediately above the effective tier.\n * Omitted when the effective tier is VIP10.\n *\n * @generated from field: optional vip.v1.NextVIPTierThresholds next_tier_thresholds = 11;\n */\n nextTierThresholds?: NextVIPTierThresholds | undefined;\n};\n\n/**\n * Describes the message vip.v1.GetVIPStatusResponse.\n * Use `create(GetVIPStatusResponseSchema)` to create a new message.\n */\nexport const GetVIPStatusResponseSchema: GenMessage<GetVIPStatusResponse> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 5);\n\n/**\n * VIPService serves public VIP policy reference data and the authenticated\n * caller-root qualification status.\n *\n * @generated from service vip.v1.VIPService\n */\nexport const VIPService: GenService<{\n /**\n * List the complete active VIP0 through VIP10 tier catalog in ascending tier\n * order.\n *\n * @generated from rpc vip.v1.VIPService.ListVIPTiers\n */\n listVIPTiers: {\n methodKind: \"unary\";\n input: typeof ListVIPTiersRequestSchema;\n output: typeof ListVIPTiersResponseSchema;\n },\n /**\n * Get VIP qualification status for the authenticated caller's root account.\n *\n * @generated from rpc vip.v1.VIPService.GetVIPStatus\n */\n getVIPStatus: {\n methodKind: \"unary\";\n input: typeof GetVIPStatusRequestSchema;\n output: typeof GetVIPStatusResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_vip_v1_vip, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAcA,MAAa,kBACX,uBAAS,ozDAAozD,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAwD33D,MAAa,gBACX,0BAAY,iBAAiB,CAAC;;;;;AAchC,MAAa,4BACX,0BAAY,iBAAiB,CAAC;;;;;AA2ChC,MAAa,6BACX,0BAAY,iBAAiB,CAAC;;;;;AAsChC,MAAa,8BACX,0BAAY,iBAAiB,CAAC;;;;;AAgBhC,MAAa,4BACX,0BAAY,iBAAiB,CAAC;;;;;AAqGhC,MAAa,6BACX,0BAAY,iBAAiB,CAAC;;;;;;;AAQhC,MAAa,aAuBX,0BAAY,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"vip_pb.js","names":[],"sources":["../../../../src/gen/vip/v1/vip_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file vip/v1/vip.proto (package vip.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 { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file vip/v1/vip.proto.\n */\nexport const file_vip_v1_vip: GenFile = /*@__PURE__*/\n fileDesc(\"ChB2aXAvdjEvdmlwLnByb3RvEgZ2aXAudjEitQEKB1ZJUFRpZXISDgoEdGllchgBIAEoDUIAEh4KFHZvbHVtZV90aHJlc2hvbGRfdXNkGAIgASgJQgASIAoRYW9wX3RocmVzaG9sZF91c2QYAyABKAlCAEgAiAEBEiAKFm1ha2VyX2ZlZV9yYXRlX3BlcmNlbnQYBCABKAlCABIgChZ0YWtlcl9mZWVfcmF0ZV9wZXJjZW50GAUgASgJQgBCFAoSX2FvcF90aHJlc2hvbGRfdXNkIhUKE0xpc3RWSVBUaWVyc1JlcXVlc3QiqgEKFExpc3RWSVBUaWVyc1Jlc3BvbnNlEhgKDnBvbGljeV92ZXJzaW9uGAEgASgEQgASNAoOZWZmZWN0aXZlX2Zyb20YAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQgASIAoWcmV0ZW50aW9uX3RocmVzaG9sZF9icBgDIAEoDUIAEiAKBXRpZXJzGAQgAygLMg8udmlwLnYxLlZJUFRpZXJCACJkChVOZXh0VklQVGllclRocmVzaG9sZHMSDgoEdGllchgBIAEoDUIAEh4KFHZvbHVtZV90aHJlc2hvbGRfdXNkGAIgASgJQgASGwoRYW9wX3RocmVzaG9sZF91c2QYAyABKAlCACJZChBWSVBNZXRyaWNRdWFsaXR5EikKBnN0YXR1cxgBIAEoDjIXLnZpcC52MS5WSVBNZXRyaWNTdGF0dXNCABIaChBpbmNvbXBsZXRlX2hvdXJzGAIgASgNQgAiFQoTR2V0VklQU3RhdHVzUmVxdWVzdCLQBQoUR2V0VklQU3RhdHVzUmVzcG9uc2USDgoEdGllchgBIAEoDUIAEhUKC3ZvbHVtZV90aWVyGAIgASgNQgASEgoIYW9wX3RpZXIYAyABKA1CABIlChZzZXR0bGVkX3ZvbHVtZV8zMGRfdXNkGAQgASgJQgBIAIgBARIiChNhdmVyYWdlX2FvcF8zMGRfdXNkGAUgASgJQgBIAYgBARIYCg5wb2xpY3lfdmVyc2lvbhgGIAEoBEIAEjsKFXBvbGljeV9lZmZlY3RpdmVfZnJvbRgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBCABI3Cg5lZmZlY3RpdmVfZnJvbRgIIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIAogBARI1CgxldmFsdWF0ZWRfYXQYCSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAOIAQESNgoNbWV0cmljc19hc19vZhgKIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBIBIgBARJAChRuZXh0X3RpZXJfdGhyZXNob2xkcxgLIAEoCzIdLnZpcC52MS5OZXh0VklQVGllclRocmVzaG9sZHNIBYgBARI4ChZzZXR0bGVkX3ZvbHVtZV9xdWFsaXR5GAwgASgLMhgudmlwLnYxLlZJUE1ldHJpY1F1YWxpdHkSNQoTYXZlcmFnZV9hb3BfcXVhbGl0eRgNIAEoCzIYLnZpcC52MS5WSVBNZXRyaWNRdWFsaXR5QhkKF19zZXR0bGVkX3ZvbHVtZV8zMGRfdXNkQhYKFF9hdmVyYWdlX2FvcF8zMGRfdXNkQhEKD19lZmZlY3RpdmVfZnJvbUIPCg1fZXZhbHVhdGVkX2F0QhAKDl9tZXRyaWNzX2FzX29mQhcKFV9uZXh0X3RpZXJfdGhyZXNob2xkcypmCg9WSVBNZXRyaWNTdGF0dXMSFgoSTUVUUklDX1VOU1BFQ0lGSUVEEAASDAoIQ09NUExFVEUQARIVChFQUklDRV9VTkFWQUlMQUJMRRACEhYKEklOQ09NUExFVEVfSElTVE9SWRADMqkBCgpWSVBTZXJ2aWNlEk4KDExpc3RWSVBUaWVycxIbLnZpcC52MS5MaXN0VklQVGllcnNSZXF1ZXN0GhwudmlwLnYxLkxpc3RWSVBUaWVyc1Jlc3BvbnNlIgOQAgESSwoMR2V0VklQU3RhdHVzEhsudmlwLnYxLkdldFZJUFN0YXR1c1JlcXVlc3QaHC52aXAudjEuR2V0VklQU3RhdHVzUmVzcG9uc2UiAEI6WjhnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL3ZpcC92MTt2aXB2MWIGcHJvdG8z\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * VIPTier describes one row in a complete VIP0 through VIP10 policy catalog.\n *\n * @generated from message vip.v1.VIPTier\n */\nexport type VIPTier = Message<\"vip.v1.VIPTier\"> & {\n /**\n * Numeric VIP tier in the inclusive range 0 through 10.\n *\n * @generated from field: uint32 tier = 1;\n */\n tier: number;\n\n /**\n * Rolling 30-day settled spot volume entry threshold in USD, encoded as a\n * non-negative base-10 decimal string without separators or a currency\n * symbol.\n *\n * @generated from field: string volume_threshold_usd = 2;\n */\n volumeThresholdUsd: string;\n\n /**\n * Rolling 30-day average portfolio value entry threshold in USD, encoded as\n * a positive base-10 decimal string without separators or a currency symbol.\n * Omitted for VIP0, which has no average portfolio value entry threshold.\n *\n * @generated from field: optional string aop_threshold_usd = 3;\n */\n aopThresholdUsd?: string | undefined;\n\n /**\n * Absolute maker fee rate before symbol-specific adjustments, encoded as a\n * base-10 percentage string without a percent sign. Values are between\n * -100 and 100 inclusive.\n *\n * @generated from field: string maker_fee_rate_percent = 4;\n */\n makerFeeRatePercent: string;\n\n /**\n * Absolute taker fee rate before symbol-specific adjustments, encoded as a\n * non-negative base-10 percentage string without a percent sign. Values are\n * between 0 and 100 inclusive.\n *\n * @generated from field: string taker_fee_rate_percent = 5;\n */\n takerFeeRatePercent: string;\n};\n\n/**\n * Describes the message vip.v1.VIPTier.\n * Use `create(VIPTierSchema)` to create a new message.\n */\nexport const VIPTierSchema: GenMessage<VIPTier> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 0);\n\n/**\n * ListVIPTiersRequest requests the complete active VIP tier catalog.\n *\n * @generated from message vip.v1.ListVIPTiersRequest\n */\nexport type ListVIPTiersRequest = Message<\"vip.v1.ListVIPTiersRequest\"> & {\n};\n\n/**\n * Describes the message vip.v1.ListVIPTiersRequest.\n * Use `create(ListVIPTiersRequestSchema)` to create a new message.\n */\nexport const ListVIPTiersRequestSchema: GenMessage<ListVIPTiersRequest> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 1);\n\n/**\n * ListVIPTiersResponse contains one complete, immutable VIP policy version.\n *\n * @generated from message vip.v1.ListVIPTiersResponse\n */\nexport type ListVIPTiersResponse = Message<\"vip.v1.ListVIPTiersResponse\"> & {\n /**\n * Positive identifier of the returned VIP policy version.\n *\n * @generated from field: uint64 policy_version = 1;\n */\n policyVersion: bigint;\n\n /**\n * UTC time at which this policy version became effective.\n *\n * @generated from field: google.protobuf.Timestamp effective_from = 2;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * Average portfolio value retention threshold in basis points. One basis\n * point is 0.01%; valid values are 1 through 10000.\n *\n * @generated from field: uint32 retention_threshold_bp = 3;\n */\n retentionThresholdBp: number;\n\n /**\n * Complete VIP0 through VIP10 catalog ordered by tier ascending. This is a\n * naturally bounded 11-row snapshot and is not paginated.\n *\n * @generated from field: repeated vip.v1.VIPTier tiers = 4;\n */\n tiers: VIPTier[];\n};\n\n/**\n * Describes the message vip.v1.ListVIPTiersResponse.\n * Use `create(ListVIPTiersResponseSchema)` to create a new message.\n */\nexport const ListVIPTiersResponseSchema: GenMessage<ListVIPTiersResponse> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 2);\n\n/**\n * NextVIPTierThresholds contains the entry thresholds for the tier immediately\n * above the caller's effective tier.\n *\n * @generated from message vip.v1.NextVIPTierThresholds\n */\nexport type NextVIPTierThresholds = Message<\"vip.v1.NextVIPTierThresholds\"> & {\n /**\n * Numeric next tier in the inclusive range 1 through 10.\n *\n * @generated from field: uint32 tier = 1;\n */\n tier: number;\n\n /**\n * Rolling 30-day settled spot volume entry threshold in USD, encoded as a\n * non-negative base-10 decimal string without separators or a currency\n * symbol.\n *\n * @generated from field: string volume_threshold_usd = 2;\n */\n volumeThresholdUsd: string;\n\n /**\n * Rolling 30-day average portfolio value entry threshold in USD, encoded as\n * a positive base-10 decimal string without separators or a currency symbol.\n *\n * @generated from field: string aop_threshold_usd = 3;\n */\n aopThresholdUsd: string;\n};\n\n/**\n * Describes the message vip.v1.NextVIPTierThresholds.\n * Use `create(NextVIPTierThresholdsSchema)` to create a new message.\n */\nexport const NextVIPTierThresholdsSchema: GenMessage<NextVIPTierThresholds> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 3);\n\n/**\n * VIPMetricQuality explains the completeness of one rolling 30-day\n * qualification metric.\n *\n * @generated from message vip.v1.VIPMetricQuality\n */\nexport type VIPMetricQuality = Message<\"vip.v1.VIPMetricQuality\"> & {\n /**\n * Completeness status of the metric.\n *\n * @generated from field: vip.v1.VIPMetricStatus status = 1;\n */\n status: VIPMetricStatus;\n\n /**\n * Number of hourly buckets in the rolling 720-hour window that are missing\n * or incomplete. Zero when status is COMPLETE.\n *\n * @generated from field: uint32 incomplete_hours = 2;\n */\n incompleteHours: number;\n};\n\n/**\n * Describes the message vip.v1.VIPMetricQuality.\n * Use `create(VIPMetricQualitySchema)` to create a new message.\n */\nexport const VIPMetricQualitySchema: GenMessage<VIPMetricQuality> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 4);\n\n/**\n * GetVIPStatusRequest requests VIP status for the authenticated caller's root\n * account. All subaccounts inherit that root status, so this request has no\n * subaccount selector.\n *\n * @generated from message vip.v1.GetVIPStatusRequest\n */\nexport type GetVIPStatusRequest = Message<\"vip.v1.GetVIPStatusRequest\"> & {\n};\n\n/**\n * Describes the message vip.v1.GetVIPStatusRequest.\n * Use `create(GetVIPStatusRequestSchema)` to create a new message.\n */\nexport const GetVIPStatusRequestSchema: GenMessage<GetVIPStatusRequest> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 5);\n\n/**\n * GetVIPStatusResponse contains the authenticated caller-root VIP assignment\n * and the qualification facts available for that assignment.\n *\n * @generated from message vip.v1.GetVIPStatusResponse\n */\nexport type GetVIPStatusResponse = Message<\"vip.v1.GetVIPStatusResponse\"> & {\n /**\n * Effective VIP tier in the inclusive range 0 through 10.\n *\n * @generated from field: uint32 tier = 1;\n */\n tier: number;\n\n /**\n * Tier earned from rolling 30-day settled spot volume, in the inclusive\n * range 0 through 10.\n *\n * @generated from field: uint32 volume_tier = 2;\n */\n volumeTier: number;\n\n /**\n * Tier earned from rolling 30-day average portfolio value, in the inclusive\n * range 0 through 10.\n *\n * @generated from field: uint32 aop_tier = 3;\n */\n aopTier: number;\n\n /**\n * Rolling 30-day settled spot volume in USD, encoded as a non-negative\n * base-10 decimal string without separators or a currency symbol. When\n * settled_volume_quality.status is PRICE_UNAVAILABLE, this is a lower bound\n * that excludes executions without an admissible USD reference price.\n * Omitted when settled_volume_quality is omitted or its status is\n * INCOMPLETE_HISTORY.\n *\n * @generated from field: optional string settled_volume_30d_usd = 4;\n */\n settledVolume30dUsd?: string | undefined;\n\n /**\n * Rolling 30-day average portfolio value in USD, encoded as a non-negative\n * base-10 decimal string without separators or a currency symbol. Omitted\n * unless average_aop_quality.status is COMPLETE.\n *\n * @generated from field: optional string average_aop_30d_usd = 5;\n */\n averageAop30dUsd?: string | undefined;\n\n /**\n * Positive identifier of the VIP policy used for this assignment.\n *\n * @generated from field: uint64 policy_version = 6;\n */\n policyVersion: bigint;\n\n /**\n * UTC time at which the selected assignment policy became effective.\n *\n * @generated from field: google.protobuf.Timestamp policy_effective_from = 7;\n */\n policyEffectiveFrom?: Timestamp | undefined;\n\n /**\n * UTC time from which the explicit VIP assignment is effective. Omitted\n * while a new account is using the default VIP0 tier.\n *\n * @generated from field: optional google.protobuf.Timestamp effective_from = 8;\n */\n effectiveFrom?: Timestamp | undefined;\n\n /**\n * UTC time at which the explicit assignment was evaluated. Omitted while a\n * new account is using the default VIP0 tier.\n *\n * @generated from field: optional google.protobuf.Timestamp evaluated_at = 9;\n */\n evaluatedAt?: Timestamp | undefined;\n\n /**\n * UTC cutoff of the rolling metrics used for this assignment. Omitted when\n * neither settled_volume_30d_usd nor average_aop_30d_usd is present.\n *\n * @generated from field: optional google.protobuf.Timestamp metrics_as_of = 10;\n */\n metricsAsOf?: Timestamp | undefined;\n\n /**\n * Entry thresholds for the tier immediately above the effective tier.\n * Omitted when the effective tier is VIP10.\n *\n * @generated from field: optional vip.v1.NextVIPTierThresholds next_tier_thresholds = 11;\n */\n nextTierThresholds?: NextVIPTierThresholds | undefined;\n\n /**\n * Completeness of the rolling 30-day settled spot volume. An incomplete\n * volume metric can raise the volume tier when its proven lower bound meets\n * a higher threshold, but it never lowers the tier. Omitted when the\n * assignment carries no automatic qualification evidence, such as the\n * default VIP0 tier of a new account.\n *\n * @generated from field: vip.v1.VIPMetricQuality settled_volume_quality = 12;\n */\n settledVolumeQuality?: VIPMetricQuality | undefined;\n\n /**\n * Completeness of the rolling 30-day average portfolio value. An incomplete\n * average portfolio value keeps its previous tier. Omitted when the\n * assignment carries no automatic qualification evidence, such as the\n * default VIP0 tier of a new account.\n *\n * @generated from field: vip.v1.VIPMetricQuality average_aop_quality = 13;\n */\n averageAopQuality?: VIPMetricQuality | undefined;\n};\n\n/**\n * Describes the message vip.v1.GetVIPStatusResponse.\n * Use `create(GetVIPStatusResponseSchema)` to create a new message.\n */\nexport const GetVIPStatusResponseSchema: GenMessage<GetVIPStatusResponse> = /*@__PURE__*/\n messageDesc(file_vip_v1_vip, 6);\n\n/**\n * VIPMetricStatus describes how complete one rolling 30-day qualification\n * metric is.\n *\n * @generated from enum vip.v1.VIPMetricStatus\n */\nexport enum VIPMetricStatus {\n /**\n * No metric status was specified.\n *\n * @generated from enum value: METRIC_UNSPECIFIED = 0;\n */\n METRIC_UNSPECIFIED = 0,\n\n /**\n * Every hour in the rolling window has complete evidence.\n *\n * @generated from enum value: COMPLETE = 1;\n */\n COMPLETE = 1,\n\n /**\n * Every hour in the rolling window is present, but some hours contain\n * executions or holdings without an admissible USD reference price at the\n * required time. Those contributions are not estimated.\n *\n * @generated from enum value: PRICE_UNAVAILABLE = 2;\n */\n PRICE_UNAVAILABLE = 2,\n\n /**\n * Some hours in the rolling window are missing or contain other incomplete\n * evidence.\n *\n * @generated from enum value: INCOMPLETE_HISTORY = 3;\n */\n INCOMPLETE_HISTORY = 3,\n}\n\n/**\n * Describes the enum vip.v1.VIPMetricStatus.\n */\nexport const VIPMetricStatusSchema: GenEnum<VIPMetricStatus> = /*@__PURE__*/\n enumDesc(file_vip_v1_vip, 0);\n\n/**\n * VIPService serves public VIP policy reference data and the authenticated\n * caller-root qualification status.\n *\n * @generated from service vip.v1.VIPService\n */\nexport const VIPService: GenService<{\n /**\n * List the complete active VIP0 through VIP10 tier catalog in ascending tier\n * order.\n * This public, caller-independent catalog supports cacheable ConnectRPC GET.\n *\n * @generated from rpc vip.v1.VIPService.ListVIPTiers\n */\n listVIPTiers: {\n methodKind: \"unary\";\n input: typeof ListVIPTiersRequestSchema;\n output: typeof ListVIPTiersResponseSchema;\n },\n /**\n * Get VIP qualification status for the authenticated caller's root account.\n *\n * @generated from rpc vip.v1.VIPService.GetVIPStatus\n */\n getVIPStatus: {\n methodKind: \"unary\";\n input: typeof GetVIPStatusRequestSchema;\n output: typeof GetVIPStatusResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_vip_v1_vip, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,kBACX,uBAAS,gtEAAgtE,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AAwDvxE,MAAa,gBACX,0BAAY,iBAAiB,CAAC;;;;;AAchC,MAAa,4BACX,0BAAY,iBAAiB,CAAC;;;;;AA2ChC,MAAa,6BACX,0BAAY,iBAAiB,CAAC;;;;;AAsChC,MAAa,8BACX,0BAAY,iBAAiB,CAAC;;;;;AA6BhC,MAAa,yBACX,0BAAY,iBAAiB,CAAC;;;;;AAgBhC,MAAa,4BACX,0BAAY,iBAAiB,CAAC;;;;;AA6HhC,MAAa,6BACX,0BAAY,iBAAiB,CAAC;;;;;;;AAQhC,IAAY,kBAAL,yBAAA,iBAAA;;;;;;CAML,gBAAA,gBAAA,wBAAA,KAAA;;;;;;CAOA,gBAAA,gBAAA,cAAA,KAAA;;;;;;;;CASA,gBAAA,gBAAA,uBAAA,KAAA;;;;;;;CAQA,gBAAA,gBAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,wBACX,uBAAS,iBAAiB,CAAC;;;;;;;AAQ7B,MAAa,aAwBX,0BAAY,iBAAiB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,12 +6,13 @@ import { AssetConfig, DepositWithdrawConfig, PairConfig, PairStatus, SpotConfig,
|
|
|
6
6
|
import { OrderErrorCode, OrderErrorDetail } from "./services/orders/order-errors.schemas.js";
|
|
7
7
|
import { PolyesterErrorDetail, loadErrorDetailDecoders } from "./shared/error-detail.js";
|
|
8
8
|
import { RateLimitDetail, RateLimitFailureReason, RateLimitPolicyClass, RateLimitRefillModel, RateLimitScope } from "./shared/rate-limit.schemas.js";
|
|
9
|
-
import { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, MfaVerificationFailureReason, NetworkError, NotImplementedError, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterError, PolyesterErrorCode, PolyesterErrorOptions, PreconditionFailedError, RateLimitError, RateLimitErrorOptions, RealtimeError, RealtimeErrorOptions, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TimestampSkewError, TransientError, ValidationError, errorFromHttpStatus, isAbortError, normalizeErrorMessage } from "./shared/errors.js";
|
|
9
|
+
import { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, MfaVerificationFailureReason, NetworkError, NotImplementedError, OutcomeUnknownError, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterError, PolyesterErrorCode, PolyesterErrorOptions, PreconditionFailedError, RateLimitError, RateLimitErrorOptions, RealtimeError, RealtimeErrorOptions, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TimestampSkewError, TransientError, UserOperationAlreadyKnownError, UserOperationNotExecutedError, UserOperationSendTimeoutError, ValidationError, WithdrawDeadlineExpiredError, errorFromHttpStatus, isAbortError, isTimeoutAbortError, normalizeErrorMessage } from "./shared/errors.js";
|
|
10
10
|
import { ApiKeyEd25519AuthProvider, JwtAuthProvider, Transports } from "./shared/transports.js";
|
|
11
11
|
import { PolyesterMutationOptions, PolyesterRequestOptions } from "./shared/request-options.js";
|
|
12
12
|
import { ResolveAccountInput, ResolvedAccount } from "./services/accounts/accounts.schemas.js";
|
|
13
13
|
import { AccountScope, AccountScopedInput } from "./shared/account-scope.js";
|
|
14
14
|
import { SdkSubscriptionErrorContext } from "./shared/subscription-errors.js";
|
|
15
|
+
import { ConnectPrivateOrdersParams, PrivateOrdersEvent } from "./realtime/private-orders.js";
|
|
15
16
|
import { ConnectChannelParams, PolyesterRealtime, SubscribeHandlers } from "./realtime/types.js";
|
|
16
17
|
import "./realtime/index.js";
|
|
17
18
|
import { ApiKeyPolicy, ApiKeyPolicyApplyInput, ApiKeyPolicyCreateInput, ApiKeyPolicyUpdateInput, ListApiKeyPoliciesResponse } from "./services/policies/api-key-policies/api-key-policies.schemas.js";
|
|
@@ -20,7 +21,7 @@ import { SubaccountPolicy, SubaccountPolicyApplyInput, SubaccountPolicyCreateInp
|
|
|
20
21
|
import { CreateSubaccountChallengeInput, CreateSubaccountInput, CreateSubaccountResult as CreateSubaccountResult$1, EffectiveSubaccountPermissions, InviteSubaccountMemberInput, ListSubaccountInvitesInput, RemoveSubaccountMemberInput, RespondSubaccountInviteInput, SetSubaccountMemberMfaRequirementInput, Subaccount, SubaccountActivityInput, SubaccountChallenge, SubaccountEvent, SubaccountIdInput, SubaccountInvite, SubaccountInviteStatus, SubaccountMember, SubaccountPermission, SubaccountPermissionDefinition, SubaccountRole, SubaccountRoleCatalog, SubaccountRoleDefinition, SubaccountStatus, UpdateSubaccountInput, UpdateSubaccountMemberRoleInput } from "./services/subaccounts/subaccounts.schemas.js";
|
|
21
22
|
import { Candle, CandleColumnar, CandleColumnarInt, CandleInt, GetCandlesColumnsInput, GetCandlesInput, Timeframe } from "./services/candles/candles.schemas.js";
|
|
22
23
|
import { ChainAnalyticsRange, GetUnifiedAssetBalancesInput, GetZippedAssetSupplyGroupInput, GetZippedAssetSupplyInput, UnifiedAssetBalancesResponse, ZippedAssetSupplyGroupResponse, ZippedAssetSupplyResponse, ZippedAssetSupplySeries } from "./services/chain-analytics/chain-analytics.schemas.js";
|
|
23
|
-
import { GetMarketTradesInput, MarketTrade } from "./services/market-data/market-data.schemas.js";
|
|
24
|
+
import { GetMarketTradesInput, MarketTrade, TradeBackfill } from "./services/market-data/market-data.schemas.js";
|
|
24
25
|
import { CurrencyConversionConfig, CurrencyConversionRates, CurrencyMetadata, FiatConversionRate, FiatConversionSnapshot, ListMarketOverviewInput, MarketOverview, MarketOverviewOrderBy, MarketOverviewSort, MarketOverviewSparkline, SparklineIntervalName, SpotPairVolumeSeries, SpotVolumeHistoryInput, SpotVolumeHistoryResponse, StablecoinConversionRate } from "./services/market-overview/market-overview.schemas.js";
|
|
25
26
|
import { GetOrderbookInput, OrderbookData, OrderbookLevel } from "./services/orderbook/orderbook.schemas.js";
|
|
26
27
|
import { CreateOrderbookSubscriptionInput, OrderbookStreamHandlers, OrderbookSubscription } from "./services/orderbook/orderbook.js";
|
|
@@ -47,13 +48,13 @@ import { CreateDepositAddressInput, DepositAddress, ListDepositAddressesInput }
|
|
|
47
48
|
import { AddressBook, AddressBookAccountScope, AddressBookEntries, AddressBookEntriesView, AddressBookEntry, AddressBookRecentDestinationsView, AddressBookTag, AddressBookTagSummary, AddressBookView, AddressBookViewInvalidated, CopyAddressBookEntryInput, CreateAddressBookEntryInput, CreateAddressBookTagInput, DeleteAddressBookEntryInput, DeleteAddressBookTagInput, GetAddressBookViewInput, InternalTransferWhitelistEntries, InternalTransferWhitelistEntry, ListAddressBookEntriesInput, ListInternalTransferWhitelistEntriesInput, ListTransferCounterpartiesInput, ListTransferDestinationsInput, MirroredWithdrawWhitelistEntry, SubaccountScopedInput, TransferCounterparties, TransferCounterparty, TransferDestination, TransferDestinations, UpdateAddressBookEntryInput, UpdateAddressBookTagInput, WithdrawWhitelistView, validateCreateAddressBookEntryInput } from "./services/address-book/address-book.schemas.js";
|
|
48
49
|
import { BatchGuardApprovals, BatchSignProtectedActionInput, CreateGuardSignerWalletResult, ExportGuardSignerWalletResult, GuardApproval, GuardSignerScopedInput, GuardSignerStatus, RotateGuardSignerWalletResult, SignProtectedActionInput } from "./services/guard-signer/guard-signer.schemas.js";
|
|
49
50
|
import { GetVerificationResponse, SocialProvider, SocialProviderInput, SocialVerification, SocialVerificationErrorCode, SocialVerificationMethod, SocialVerificationStatus, StartVerificationInput, StartVerificationResponse, VerificationReadyResponse } from "./services/social-verification/social-verification.schemas.js";
|
|
50
|
-
import { ArchiveWhiteboardBoardInput, ArchiveWhiteboardBoardResult, CreateWhiteboardBoardInput, CreateWhiteboardBoardResult, GetWhiteboardBoardInput, GetWhiteboardBoardResult, ListWhiteboardBoardsInput, ListWhiteboardBoardsResult, MintWhiteboardJoinTokenInput, UpdateWhiteboardBoardAclInput, UpdateWhiteboardBoardAclResult, UpdateWhiteboardBoardInput, UpdateWhiteboardBoardResult, WhiteboardAccess, WhiteboardAclEntry, WhiteboardAclEntryInput, WhiteboardAclSubjectType, WhiteboardAudience, WhiteboardBoard, WhiteboardBoardDetails, WhiteboardBoardListItem, WhiteboardJoinTokenResult, WhiteboardPermissions, WhiteboardPresencePayload, WhiteboardResolvedRole, WhiteboardSnapshot, WhiteboardWritableRole } from "./services/whiteboard/whiteboard.schemas.js";
|
|
51
51
|
import { ZippedAssetSupplyBatch, ZippedAssetSupplyUpdate } from "./services/zipper/zipper.schemas.js";
|
|
52
52
|
import { SubscribeZippedAssetSupplyInput } from "./services/zipper/zipper.js";
|
|
53
53
|
import { BeginMfaChallengeInput, BeginMfaChallengeResult, BeginPasskeyEnrollmentInput, BeginPasskeyEnrollmentResult, BeginTotpEnrollmentInput, BeginTotpEnrollmentResult, ClaimFreshStepUpInput, ClaimFreshStepUpResult, CompleteMfaChallengeResult, ConsumeFreshStepUpInput, DeleteMfaFactorInput, FinishPasskeyChallengeInput, FinishPasskeyEnrollmentInput, FinishPasskeyEnrollmentResult, FinishTotpEnrollmentInput, FinishTotpEnrollmentResult, ListMfaFactorsResult, MfaFactor, MfaSessionInfo, RegenerateRecoveryCodesInput, RegenerateRecoveryCodesResult, ReleaseFreshStepUpInput, UpdateMfaFactorInput, UpdateMfaFactorResult, VerifyRecoveryCodeChallengeInput, VerifyTotpChallengeInput } from "./services/mfa/mfa.schemas.js";
|
|
54
|
-
import { ClaimCampaign, ClaimDailyRewardResult, DailyClaimReward, DailyClaimStatus, DailyClaimTransfer } from "./services/claims/claims.schemas.js";
|
|
54
|
+
import { ClaimCampaign, ClaimDailyRewardInput, ClaimDailyRewardResult, ClaimPayoutDelayReason, DailyClaimReward, DailyClaimStatus, DailyClaimTransfer } from "./services/claims/claims.schemas.js";
|
|
55
|
+
import { Checkpoint, CheckpointAssetAmount, CheckpointBiggestTrade, CheckpointChainFlow, CheckpointEarnedBadge, CheckpointFlowTotal, CheckpointFundingDay, CheckpointFundingFlowSummary, CheckpointOrderToolCounts, CheckpointOrderTypeCounts, CheckpointPairActivity, CheckpointPortfolioValuePoint, CheckpointTimeInForceCounts, CheckpointVipTierChange, CheckpointVolumePoint, ListCheckpointsInput } from "./services/checkpoints/checkpoints.schemas.js";
|
|
55
56
|
import { ListRewardAwardsInput, ListRewardAwardsResult, RewardAward, SetRewardDestinationInput, SetRewardDestinationResult } from "./services/rewards/rewards.schemas.js";
|
|
56
|
-
import { NextVipTierThresholds, VipStatus, VipTier, VipTierCatalog } from "./services/vip/vip.schemas.js";
|
|
57
|
+
import { NextVipTierThresholds, VipMetricQuality, VipMetricStatus, VipStatus, VipTier, VipTierCatalog } from "./services/vip/vip.schemas.js";
|
|
57
58
|
import { GetSpotFeeRatesInput, SpotFeeRate } from "./services/fees/fees.schemas.js";
|
|
58
59
|
import { TradingRateLimitClass } from "./services/rate-limits/rate-limits.codecs.js";
|
|
59
60
|
import { RateLimitConfig, TradingRateLimitRule, TradingRateLimits } from "./services/rate-limits/rate-limits.schemas.js";
|
|
@@ -86,6 +87,8 @@ import "./services/auth/profile/profile.types.js";
|
|
|
86
87
|
import "./services/balances/balances.types.js";
|
|
87
88
|
import "./services/candles/candles.types.js";
|
|
88
89
|
import "./services/chain-analytics/chain-analytics.types.js";
|
|
90
|
+
import { CheckpointBadge, CheckpointField } from "./services/checkpoints/checkpoints.codecs.js";
|
|
91
|
+
import "./services/checkpoints/checkpoints.types.js";
|
|
89
92
|
import { ClaimPolicy, DailyClaimState } from "./services/claims/claims.codecs.js";
|
|
90
93
|
import "./services/claims/claims.types.js";
|
|
91
94
|
import "./services/deposit/deposit.types.js";
|
|
@@ -114,6 +117,5 @@ import { TransferSideKind } from "./services/transfers/transfers.codecs.js";
|
|
|
114
117
|
import "./services/transfers/transfers.types.js";
|
|
115
118
|
import "./services/triggers/triggers.types.js";
|
|
116
119
|
import "./services/vip/vip.types.js";
|
|
117
|
-
import "./services/whiteboard/whiteboard.types.js";
|
|
118
120
|
import "./services/zipper/zipper.types.js";
|
|
119
|
-
export { type AccountCodeValue, type AccountIdentity, type AccountScope, type AccountScopedInput, type AccountSigner, type AccountSignerAuthEvents, type AccountSignerConfig, type CreateSubaccountResult as AccountSignerCreateSubaccountResult, type AccountSignerFactory, type ActiveAccountInfo, type AddressBook, type AddressBookAccountScope, type AddressBookEntries, type AddressBookEntriesView, type AddressBookEntry, type AddressBookRecentDestinationsView, type AddressBookTag, type AddressBookTagSummary, type AddressBookView, type AddressBookViewInvalidated, AlreadyExistsError, type ApiKey, type ApiKeyEd25519AuthProvider, type ApiKeyIdInput, type ApiKeyPolicy, type ApiKeyPolicyApplyInput, type ApiKeyPolicyCreateInput, type ApiKeyPolicyUpdateInput, type ApiKeyStatus, type ApiKeysCreateInput, type ApiKeysListInput, type ApiKeysUpdateInput, type ArchiveWhiteboardBoardInput, type ArchiveWhiteboardBoardResult, type AssetConfig, type AuthCookieLocation, type AuthHydrationData, type AuthLoginMethod, type AuthState, type AuthTokenStorage, type AuthTokenStorageSetOptions, AuthenticationError, type BalanceHistoryInput, type BalanceHistoryResponse, type BalanceRange, type BatchCancelOrderInput, type BatchCancelOrderResult, type BatchCancelOrdersInput, type BatchCancelOrdersResult, type BatchCreateOrderResult, type BatchCreateOrdersInput, type BatchCreateOrdersResult, type BatchGuardApprovals, type BatchReplaceAdmissionItem, type BatchReplaceOrdersInput, type BatchReplaceOrdersResult, type BatchSignProtectedActionInput, type BeginMfaChallengeInput, type BeginMfaChallengeResult, type BeginPasskeyEnrollmentInput, type BeginPasskeyEnrollmentResult, type BeginTotpEnrollmentInput, type BeginTotpEnrollmentResult, type CancelAllAfterInput, type CancelAllAfterResult, type CancelAllOrdersInput, type CancelAllOrdersResponse, type CancelOrderInput, type CancelOrderResult, type CancelTriggerInput, type CancelTriggerResult, type Candle, type CandleColumnar, type CandleColumnarInt, type CandleInt, type ChainAnalyticsRange, type ClaimCampaign, type ClaimDailyRewardResult, type ClaimFreshStepUpInput, type ClaimFreshStepUpResult, type ClaimGeneratedUsernameInput, type ClaimPolicy, type ColumnarTimeWindow, type CompleteMfaChallengeResult, ConfigurationError, type ConnectChannelParams, type ConsumeFreshStepUpInput, type CookieAuthTokenStorageOptions, type CopyAddressBookEntryInput, type CreateAddressBookEntryInput, type CreateAddressBookTagInput, type CreateDepositAddressInput, type CreateGuardSignerWalletResult, type CreateInternalTransferInput, type CreateInternalTransferResult, type CreateOrderResult, type CreateOrderbookSubscriptionInput, type CreatePolyesterAccountSignerParams, type CreatePolyesterEnvironmentParams, type CreateServerClientFromCookiesParams, type CreateServerClientFromRequestParams, type CreateSubaccountChallengeInput, type CreateSubaccountInput, type CreateSubaccountParams, type CreateSubaccountResult$1 as CreateSubaccountResult, type CreateSubaccountResult$1 as CreateSubaccountServiceResult, type CreateTradingWithdrawResult, type CreateTradingWithdrawToExternalChainInput, type CreateTradingWithdrawToExternalChainServiceInput, type CreateTradingWithdrawToFundingInput, type CreateTradingWithdrawToFundingServiceInput, type CreateTriggerInput, type CreateTriggerResult, type CreateWalletChallengeInput, type CreateWhiteboardBoardInput, type CreateWhiteboardBoardResult, type CurrencyConversionConfig, type CurrencyConversionRates, type CurrencyMetadata, type DailyClaimReward, type DailyClaimState, type DailyClaimStatus, type DailyClaimTransfer, type DeleteAddressBookEntryInput, type DeleteAddressBookTagInput, type DeleteMfaFactorInput, type DepositAddress, type DepositWithdrawConfig, type EffectiveSubaccountPermissions, type EquityGroupBy, type EquityHistoryInput, type EquityHistoryResponse, type EquitySeries, type EquitySeriesGrouping, type EvmHex, type ExportGuardSignerWalletResult, type FiatConversionRate, type FiatConversionSnapshot, type FinishPasskeyChallengeInput, type FinishPasskeyEnrollmentInput, type FinishPasskeyEnrollmentResult, type FinishTotpEnrollmentInput, type FinishTotpEnrollmentResult, type GeneratedUsernameOffer, type GetAddressBookViewInput, type GetBatchReplaceStatusInput, type GetBatchReplaceStatusResult, type GetCandlesColumnsInput, type GetCandlesInput, type GetLifecycleFlowInput, type GetLifecycleFlowOutput, type GetMarketTradesInput, type GetOrderDetailsInput, type GetOrderbookHeatmapInput, type GetOrderbookInput, type GetSpotFeeRatesInput, type GetTriggerInput, type GetUnifiedAssetBalancesInput, type GetUserTradesInput, type GetVerificationResponse, type GetWhiteboardBoardInput, type GetWhiteboardBoardResult, type GetZippedAssetSupplyGroupInput, type GetZippedAssetSupplyInput, type GuardApproval, type GuardSignerScopedInput, type GuardSignerStatus, type HeatmapDepthValue, type HeatmapIntervalValue, type HeatmapQuantityModeValue, type HexAddress, InternalServerError, type InternalTransferDestination, type InternalTransferWhitelistEntries, type InternalTransferWhitelistEntry, type InviteSubaccountMemberInput, type JwtAuthProvider, type LadderDetailsOutput, type LedgerBalance, type LedgerTransfer, type LedgerTransferSide, type LifecycleAssetIds, type LifecycleFlowDetail, type LifecycleFlowState, type LifecycleFlowStep, type LifecycleFlowStepActivity, type LifecycleFlowSummary, type LifecycleFlowSummaryProgress, type LifecycleFlowTimelineItem, type LifecycleFlowTxMatch, type LifecycleListOrderBy, type LifecycleListScope, type LifecycleReason, type LifecycleRequestFee, type LifecycleRequestFeeStatus, type LifecycleSort, type LifecycleTxLookupKind, type LifecycleZipperReason, type ListAddressBookEntriesInput, type ListApiKeyPoliciesResponse, type ListDepositAddressesInput, type ListInternalTransferWhitelistEntriesInput, type ListLifecycleFlowsByTxInput, type ListLifecycleFlowsByTxOutput, type ListLifecycleFlowsInput, type ListLifecycleFlowsOutput, type ListMarketOverviewInput, type ListMfaFactorsResult, type ListRewardAwardsInput, type ListRewardAwardsResult, type ListSubaccountInvitesInput, type ListTransferCounterpartiesInput, type ListTransferDestinationsInput, type ListTransfersInput, type ListTriggerEventsInput, type ListTriggerEventsResult, type ListTriggersInput, type ListTriggersResult, type ListWhiteboardBoardsInput, type ListWhiteboardBoardsResult, type LoginOptions, type LoginResult, type LoginWithWalletInput, type LoginWithWalletResponse, type MarketOverview, type MarketOverviewOrderBy, type MarketOverviewSort, type MarketOverviewSparkline, type MarketTrade, type Me, MfaEnrollmentRequiredError, type MfaFactor, MfaLastFactorRequiredError, MfaRequiredError, type MfaSessionInfo, MfaVerificationError, type MfaVerificationFailureReason, type MintWhiteboardJoinTokenInput, type MirroredWithdrawWhitelistEntry, type ModifyOrderInput, type ModifyOrderResult, type ModifyTriggerInput, type ModifyTriggerResult, NetworkError, type NewOrderInput, type NextVipTierThresholds, NotImplementedError, type OpenOrdersInput, type Order, type OrderDetails, type OrderErrorCode, type OrderErrorDetail, type OrderHistoryInput, type OrderIntentInput, type OrderLineage, type OrderTransfer, type OrderbookData, type OrderbookHeatmapDeltaBucket, type OrderbookHeatmapDeltaChain, type OrderbookHeatmapDeltaLevels, type OrderbookHeatmapKeyframe, type OrderbookHeatmapLevels, type OrderbookHeatmapLiveBucket, type OrderbookHeatmapResponse, type OrderbookLevel, type OrderbookStreamHandlers, type OrderbookSubscription, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_SESSION_COOKIE_NAME, POLYESTER_TESTNET_ENVIRONMENT, type PairConfig, type PairStatus, type PauseTriggerInput, type PauseTriggerResult, PermissionError, type PolicyAction, PolicyInUseError, PolicyLockedError, type PolicyMarketScope, PolicyScopeMismatchError, type PolyesterAccountAbstractionEnvironment, PolyesterBrowserClient, type PolyesterBrowserClientConfig, PolyesterBrowserCore, PolyesterClient, type PolyesterClientBaseConfig, type PolyesterClientConfig, type PolyesterContractsEnvironment, PolyesterCore, type PolyesterEntryPointConfig, type PolyesterEnvironment, PolyesterError, type PolyesterErrorCode, type PolyesterErrorDetail, type PolyesterErrorOptions, type PolyesterMutationOptions, type PolyesterRealtime, type PolyesterRealtimeAuthConfig, type PolyesterRequestOptions, type PolyesterSafeDeploymentConfig, PolyesterServerClient, type PolyesterServerClientConfig, PolyesterServerCore, type PolyesterServices, type PortfolioEquityHistoryInput, type PortfolioEquityHistoryResponse, type PortfolioEquitySeries, type PortfolioEquitySeriesGrouping, type PortfolioEquitySnapshotResponse, PreconditionFailedError, type PreparedTradingWithdraw, type PreviewOrderResult, type Profile, type RateLimitConfig, type RateLimitDetail, RateLimitError, type RateLimitErrorOptions, type RateLimitFailureReason, type RateLimitPolicyClass, type RateLimitRefillModel, type RateLimitScope, RealtimeError, type RealtimeErrorOptions, type RegenerateRecoveryCodesInput, type RegenerateRecoveryCodesResult, type ReleaseFreshStepUpInput, type RemoveSubaccountMemberInput, RequestError, type ResolveAccountInput, type ResolvedAccount, type ResolvedInternalTransferDestination, ResourceNotFoundError, type RespondSubaccountInviteInput, type ResumeTriggerInput, type ResumeTriggerResult, RevisionConflictError, type RewardAward, type RewardFulfillmentMethod, type RewardFulfillmentState, type RiskPolicyInput, type RotateGuardSignerWalletResult, type SdkSubscriptionErrorContext, type ServerSessionCookieOptions, type ServerSessionSnapshot, ServiceUnavailableError, type SessionData, SessionElevationRequiredError, type SetRewardDestinationInput, type SetRewardDestinationResult, type SetSubaccountMemberMfaRequirementInput, type SignProtectedActionInput, type SocialProvider, type SocialProviderInput, type SocialVerification, type SocialVerificationErrorCode, type SocialVerificationMethod, type SocialVerificationStatus, type SparklineIntervalName, type SpotConfig, type SpotFeeRate, type SpotPairVolumeSeries, type SpotVolumeHistoryInput, type SpotVolumeHistoryResponse, type StablecoinConversionRate, StaleQuoteError, type StartVerificationInput, type StartVerificationResponse, StepUpRequiredError, type StopDetailsOutput, type StopLossInput, type Subaccount, type SubaccountActivityInput, type SubaccountChallenge, SubaccountChallengeInvalidError, type SubaccountEvent, type SubaccountIdInput, type SubaccountInvite, type SubaccountInviteStatus, type SubaccountMember, type SubaccountPermission, type SubaccountPermissionDefinition, type SubaccountPolicy, type SubaccountPolicyApplyInput, type SubaccountPolicyCreateInput, type SubaccountPolicyUpdateInput, type SubaccountRole, type SubaccountRoleCatalog, type SubaccountRoleDefinition, type SubaccountScopedInput, type SubaccountStatus, type SubscribeHandlers, type SubscribeZippedAssetSupplyInput, type TakeProfitInput, type Timeframe, TimeoutError, TimestampSkewError, type Trade, type TradingRateLimitClass, type TradingRateLimitRule, type TradingRateLimits, type TradingWithdrawSigningConfig, type TradingWithdrawWalletSigner, type TrailingDetailsOutput, type TrailingStopInput, type TransferCodeValue, type TransferCounterparties, type TransferCounterparty, type TransferDestination, type TransferDestinations, type TransferSideKind, TransientError, type Transports, type Trigger, type TriggerDetailsOutput, type TriggerEvent, type TwapDetailsOutput, type UnifiedAssetBalancesResponse, type UpdateAddressBookEntryInput, type UpdateAddressBookTagInput, type UpdateMfaFactorInput, type UpdateMfaFactorResult, type UpdateProfileInput, type UpdateSubaccountInput, type UpdateSubaccountMemberRoleInput, type UpdateWhiteboardBoardAclInput, type UpdateWhiteboardBoardAclResult, type UpdateWhiteboardBoardInput, type UpdateWhiteboardBoardResult, type UsernameHistoryEntry, type ValidateWithdrawDestinationInput, type ValidateWithdrawDestinationResult, ValidationError, type VerificationReadyResponse, type VerifyRecoveryCodeChallengeInput, type VerifyTotpChallengeInput, type VipStatus, type VipTier, type VipTierCatalog, type WalletChallenge, type WhiteboardAccess, type WhiteboardAclEntry, type WhiteboardAclEntryInput, type WhiteboardAclSubjectType, type WhiteboardAudience, type WhiteboardBoard, type WhiteboardBoardDetails, type WhiteboardBoardListItem, type WhiteboardJoinTokenResult, type WhiteboardPermissions, type WhiteboardPresencePayload, type WhiteboardResolvedRole, type WhiteboardSnapshot, type WhiteboardWritableRole, type WithdrawWhitelistView, type ZippedAssetSupplyBatch, type ZippedAssetSupplyGroupResponse, type ZippedAssetSupplyResponse, type ZippedAssetSupplySeries, type ZippedAssetSupplyUpdate, type ZipperAssetChainVariant, type ZipperAssetConfig, type ZipperChainConfig, type ZipperChainContractConfig, checksumEvmAddress, columnarTimestampSecAt, compareUnsignedIntegerStrings, connectErrorToPolyesterError, createCookieAuthTokenStorage, createErrorMappingInterceptor, createMemoryAuthTokenStorage, createPolyesterEnvironment, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest, createPolyesterServerCoreFromCookies, createPolyesterServerCoreFromRequest, errorFromHttpStatus, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, expandColumnarTimestampsSec, formatConnectError, formatUserFacingError, isAbortError, isEvmAddress, isEvmAddressStrict, isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isPolicyInUseError, isPolicyLockedError, isPolicyScopeMismatchError, isResourceNotFoundError, isRetryableError, isRevisionConflictError, isSessionElevationRequiredError, keccak256Hex, loadErrorDetailDecoders, mergeLedgerBalances, normalizeErrorMessage, resolveAuthCookieName, shouldApplyReconciliationUpdate, tsObjToNsString as timestampToNanoseconds, toPolyesterError, validateCreateAddressBookEntryInput };
|
|
121
|
+
export { type AccountCodeValue, type AccountIdentity, type AccountScope, type AccountScopedInput, type AccountSigner, type AccountSignerAuthEvents, type AccountSignerConfig, type CreateSubaccountResult as AccountSignerCreateSubaccountResult, type AccountSignerFactory, type ActiveAccountInfo, type AddressBook, type AddressBookAccountScope, type AddressBookEntries, type AddressBookEntriesView, type AddressBookEntry, type AddressBookRecentDestinationsView, type AddressBookTag, type AddressBookTagSummary, type AddressBookView, type AddressBookViewInvalidated, AlreadyExistsError, type ApiKey, type ApiKeyEd25519AuthProvider, type ApiKeyIdInput, type ApiKeyPolicy, type ApiKeyPolicyApplyInput, type ApiKeyPolicyCreateInput, type ApiKeyPolicyUpdateInput, type ApiKeyStatus, type ApiKeysCreateInput, type ApiKeysListInput, type ApiKeysUpdateInput, type AssetConfig, type AuthCookieLocation, type AuthHydrationData, type AuthLoginMethod, type AuthState, type AuthTokenStorage, type AuthTokenStorageSetOptions, AuthenticationError, type BalanceHistoryInput, type BalanceHistoryResponse, type BalanceRange, type BatchCancelOrderInput, type BatchCancelOrderResult, type BatchCancelOrdersInput, type BatchCancelOrdersResult, type BatchCreateOrderResult, type BatchCreateOrdersInput, type BatchCreateOrdersResult, type BatchGuardApprovals, type BatchReplaceAdmissionItem, type BatchReplaceOrdersInput, type BatchReplaceOrdersResult, type BatchSignProtectedActionInput, type BeginMfaChallengeInput, type BeginMfaChallengeResult, type BeginPasskeyEnrollmentInput, type BeginPasskeyEnrollmentResult, type BeginTotpEnrollmentInput, type BeginTotpEnrollmentResult, type CancelAllAfterInput, type CancelAllAfterResult, type CancelAllOrdersInput, type CancelAllOrdersResponse, type CancelOrderInput, type CancelOrderResult, type CancelTriggerInput, type CancelTriggerResult, type Candle, type CandleColumnar, type CandleColumnarInt, type CandleInt, type ChainAnalyticsRange, type Checkpoint, type CheckpointAssetAmount, type CheckpointBadge, type CheckpointBiggestTrade, type CheckpointChainFlow, type CheckpointEarnedBadge, type CheckpointField, type CheckpointFlowTotal, type CheckpointFundingDay, type CheckpointFundingFlowSummary, type CheckpointOrderToolCounts, type CheckpointOrderTypeCounts, type CheckpointPairActivity, type CheckpointPortfolioValuePoint, type CheckpointTimeInForceCounts, type CheckpointVipTierChange, type CheckpointVolumePoint, type ClaimCampaign, type ClaimDailyRewardInput, type ClaimDailyRewardResult, type ClaimFreshStepUpInput, type ClaimFreshStepUpResult, type ClaimGeneratedUsernameInput, type ClaimPayoutDelayReason, type ClaimPolicy, type ColumnarTimeWindow, type CompleteMfaChallengeResult, ConfigurationError, type ConnectChannelParams, type ConnectPrivateOrdersParams, type ConsumeFreshStepUpInput, type CookieAuthTokenStorageOptions, type CopyAddressBookEntryInput, type CreateAddressBookEntryInput, type CreateAddressBookTagInput, type CreateDepositAddressInput, type CreateGuardSignerWalletResult, type CreateInternalTransferInput, type CreateInternalTransferResult, type CreateOrderResult, type CreateOrderbookSubscriptionInput, type CreatePolyesterAccountSignerParams, type CreatePolyesterEnvironmentParams, type CreateServerClientFromCookiesParams, type CreateServerClientFromRequestParams, type CreateSubaccountChallengeInput, type CreateSubaccountInput, type CreateSubaccountParams, type CreateSubaccountResult$1 as CreateSubaccountResult, type CreateSubaccountResult$1 as CreateSubaccountServiceResult, type CreateTradingWithdrawResult, type CreateTradingWithdrawToExternalChainInput, type CreateTradingWithdrawToExternalChainServiceInput, type CreateTradingWithdrawToFundingInput, type CreateTradingWithdrawToFundingServiceInput, type CreateTriggerInput, type CreateTriggerResult, type CreateWalletChallengeInput, type CurrencyConversionConfig, type CurrencyConversionRates, type CurrencyMetadata, type DailyClaimReward, type DailyClaimState, type DailyClaimStatus, type DailyClaimTransfer, type DeleteAddressBookEntryInput, type DeleteAddressBookTagInput, type DeleteMfaFactorInput, type DepositAddress, type DepositWithdrawConfig, type EffectiveSubaccountPermissions, type EquityGroupBy, type EquityHistoryInput, type EquityHistoryResponse, type EquitySeries, type EquitySeriesGrouping, type EvmHex, type ExportGuardSignerWalletResult, type FiatConversionRate, type FiatConversionSnapshot, type FinishPasskeyChallengeInput, type FinishPasskeyEnrollmentInput, type FinishPasskeyEnrollmentResult, type FinishTotpEnrollmentInput, type FinishTotpEnrollmentResult, type GeneratedUsernameOffer, type GetAddressBookViewInput, type GetBatchReplaceStatusInput, type GetBatchReplaceStatusResult, type GetCandlesColumnsInput, type GetCandlesInput, type GetLifecycleFlowInput, type GetLifecycleFlowOutput, type GetMarketTradesInput, type GetOrderDetailsInput, type GetOrderbookHeatmapInput, type GetOrderbookInput, type GetSpotFeeRatesInput, type GetTriggerInput, type GetUnifiedAssetBalancesInput, type GetUserTradesInput, type GetVerificationResponse, type GetZippedAssetSupplyGroupInput, type GetZippedAssetSupplyInput, type GuardApproval, type GuardSignerScopedInput, type GuardSignerStatus, type HeatmapDepthValue, type HeatmapIntervalValue, type HeatmapQuantityModeValue, type HexAddress, InternalServerError, type InternalTransferDestination, type InternalTransferWhitelistEntries, type InternalTransferWhitelistEntry, type InviteSubaccountMemberInput, type JwtAuthProvider, type LadderDetailsOutput, type LedgerBalance, type LedgerTransfer, type LedgerTransferSide, type LifecycleAssetIds, type LifecycleFlowDetail, type LifecycleFlowState, type LifecycleFlowStep, type LifecycleFlowStepActivity, type LifecycleFlowSummary, type LifecycleFlowSummaryProgress, type LifecycleFlowTimelineItem, type LifecycleFlowTxMatch, type LifecycleListOrderBy, type LifecycleListScope, type LifecycleReason, type LifecycleRequestFee, type LifecycleRequestFeeStatus, type LifecycleSort, type LifecycleTxLookupKind, type LifecycleZipperReason, type ListAddressBookEntriesInput, type ListApiKeyPoliciesResponse, type ListCheckpointsInput, type ListDepositAddressesInput, type ListInternalTransferWhitelistEntriesInput, type ListLifecycleFlowsByTxInput, type ListLifecycleFlowsByTxOutput, type ListLifecycleFlowsInput, type ListLifecycleFlowsOutput, type ListMarketOverviewInput, type ListMfaFactorsResult, type ListRewardAwardsInput, type ListRewardAwardsResult, type ListSubaccountInvitesInput, type ListTransferCounterpartiesInput, type ListTransferDestinationsInput, type ListTransfersInput, type ListTriggerEventsInput, type ListTriggerEventsResult, type ListTriggersInput, type ListTriggersResult, type LoginOptions, type LoginResult, type LoginWithWalletInput, type LoginWithWalletResponse, type MarketOverview, type MarketOverviewOrderBy, type MarketOverviewSort, type MarketOverviewSparkline, type MarketTrade, type Me, MfaEnrollmentRequiredError, type MfaFactor, MfaLastFactorRequiredError, MfaRequiredError, type MfaSessionInfo, MfaVerificationError, type MfaVerificationFailureReason, type MirroredWithdrawWhitelistEntry, type ModifyOrderInput, type ModifyOrderResult, type ModifyTriggerInput, type ModifyTriggerResult, NetworkError, type NewOrderInput, type NextVipTierThresholds, NotImplementedError, type OpenOrdersInput, type Order, type OrderDetails, type OrderErrorCode, type OrderErrorDetail, type OrderHistoryInput, type OrderIntentInput, type OrderLineage, type OrderTransfer, type OrderbookData, type OrderbookHeatmapDeltaBucket, type OrderbookHeatmapDeltaChain, type OrderbookHeatmapDeltaLevels, type OrderbookHeatmapKeyframe, type OrderbookHeatmapLevels, type OrderbookHeatmapLiveBucket, type OrderbookHeatmapResponse, type OrderbookLevel, type OrderbookStreamHandlers, type OrderbookSubscription, OutcomeUnknownError, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_SESSION_COOKIE_NAME, POLYESTER_TESTNET_ENVIRONMENT, type PairConfig, type PairStatus, type PauseTriggerInput, type PauseTriggerResult, PermissionError, type PolicyAction, PolicyInUseError, PolicyLockedError, type PolicyMarketScope, PolicyScopeMismatchError, type PolyesterAccountAbstractionEnvironment, PolyesterBrowserClient, type PolyesterBrowserClientConfig, PolyesterBrowserCore, PolyesterClient, type PolyesterClientBaseConfig, type PolyesterClientConfig, type PolyesterContractsEnvironment, PolyesterCore, type PolyesterEntryPointConfig, type PolyesterEnvironment, PolyesterError, type PolyesterErrorCode, type PolyesterErrorDetail, type PolyesterErrorOptions, type PolyesterMutationOptions, type PolyesterRealtime, type PolyesterRealtimeAuthConfig, type PolyesterRequestOptions, type PolyesterSafeDeploymentConfig, PolyesterServerClient, type PolyesterServerClientConfig, PolyesterServerCore, type PolyesterServices, type PortfolioEquityHistoryInput, type PortfolioEquityHistoryResponse, type PortfolioEquitySeries, type PortfolioEquitySeriesGrouping, type PortfolioEquitySnapshotResponse, PreconditionFailedError, type PreparedTradingWithdraw, type PreviewOrderResult, type PrivateOrdersEvent, type Profile, type RateLimitConfig, type RateLimitDetail, RateLimitError, type RateLimitErrorOptions, type RateLimitFailureReason, type RateLimitPolicyClass, type RateLimitRefillModel, type RateLimitScope, RealtimeError, type RealtimeErrorOptions, type RegenerateRecoveryCodesInput, type RegenerateRecoveryCodesResult, type ReleaseFreshStepUpInput, type RemoveSubaccountMemberInput, RequestError, type ResolveAccountInput, type ResolvedAccount, type ResolvedInternalTransferDestination, ResourceNotFoundError, type RespondSubaccountInviteInput, type ResumeTriggerInput, type ResumeTriggerResult, RevisionConflictError, type RewardAward, type RewardFulfillmentMethod, type RewardFulfillmentState, type RiskPolicyInput, type RotateGuardSignerWalletResult, type SdkSubscriptionErrorContext, type ServerSessionCookieOptions, type ServerSessionSnapshot, ServiceUnavailableError, type SessionData, SessionElevationRequiredError, type SetRewardDestinationInput, type SetRewardDestinationResult, type SetSubaccountMemberMfaRequirementInput, type SignProtectedActionInput, type SocialProvider, type SocialProviderInput, type SocialVerification, type SocialVerificationErrorCode, type SocialVerificationMethod, type SocialVerificationStatus, type SparklineIntervalName, type SpotConfig, type SpotFeeRate, type SpotPairVolumeSeries, type SpotVolumeHistoryInput, type SpotVolumeHistoryResponse, type StablecoinConversionRate, StaleQuoteError, type StartVerificationInput, type StartVerificationResponse, StepUpRequiredError, type StopDetailsOutput, type StopLossInput, type Subaccount, type SubaccountActivityInput, type SubaccountChallenge, SubaccountChallengeInvalidError, type SubaccountEvent, type SubaccountIdInput, type SubaccountInvite, type SubaccountInviteStatus, type SubaccountMember, type SubaccountPermission, type SubaccountPermissionDefinition, type SubaccountPolicy, type SubaccountPolicyApplyInput, type SubaccountPolicyCreateInput, type SubaccountPolicyUpdateInput, type SubaccountRole, type SubaccountRoleCatalog, type SubaccountRoleDefinition, type SubaccountScopedInput, type SubaccountStatus, type SubscribeHandlers, type SubscribeZippedAssetSupplyInput, type TakeProfitInput, type Timeframe, TimeoutError, TimestampSkewError, type Trade, type TradeBackfill, type TradingRateLimitClass, type TradingRateLimitRule, type TradingRateLimits, type TradingWithdrawSigningConfig, type TradingWithdrawWalletSigner, type TrailingDetailsOutput, type TrailingStopInput, type TransferCodeValue, type TransferCounterparties, type TransferCounterparty, type TransferDestination, type TransferDestinations, type TransferSideKind, TransientError, type Transports, type Trigger, type TriggerDetailsOutput, type TriggerEvent, type TwapDetailsOutput, type UnifiedAssetBalancesResponse, type UpdateAddressBookEntryInput, type UpdateAddressBookTagInput, type UpdateMfaFactorInput, type UpdateMfaFactorResult, type UpdateProfileInput, type UpdateSubaccountInput, type UpdateSubaccountMemberRoleInput, UserOperationAlreadyKnownError, UserOperationNotExecutedError, UserOperationSendTimeoutError, type UsernameHistoryEntry, type ValidateWithdrawDestinationInput, type ValidateWithdrawDestinationResult, ValidationError, type VerificationReadyResponse, type VerifyRecoveryCodeChallengeInput, type VerifyTotpChallengeInput, type VipMetricQuality, type VipMetricStatus, type VipStatus, type VipTier, type VipTierCatalog, type WalletChallenge, WithdrawDeadlineExpiredError, type WithdrawWhitelistView, type ZippedAssetSupplyBatch, type ZippedAssetSupplyGroupResponse, type ZippedAssetSupplyResponse, type ZippedAssetSupplySeries, type ZippedAssetSupplyUpdate, type ZipperAssetChainVariant, type ZipperAssetConfig, type ZipperChainConfig, type ZipperChainContractConfig, checksumEvmAddress, columnarTimestampSecAt, compareUnsignedIntegerStrings, connectErrorToPolyesterError, createCookieAuthTokenStorage, createErrorMappingInterceptor, createMemoryAuthTokenStorage, createPolyesterEnvironment, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest, createPolyesterServerCoreFromCookies, createPolyesterServerCoreFromRequest, errorFromHttpStatus, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, expandColumnarTimestampsSec, formatConnectError, formatUserFacingError, isAbortError, isEvmAddress, isEvmAddressStrict, isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isPolicyInUseError, isPolicyLockedError, isPolicyScopeMismatchError, isResourceNotFoundError, isRetryableError, isRevisionConflictError, isSessionElevationRequiredError, isTimeoutAbortError, keccak256Hex, loadErrorDetailDecoders, mergeLedgerBalances, normalizeErrorMessage, resolveAuthCookieName, shouldApplyReconciliationUpdate, tsObjToNsString as timestampToNanoseconds, toPolyesterError, validateCreateAddressBookEntryInput };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, NetworkError, NotImplementedError, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterError, PreconditionFailedError, RateLimitError, RealtimeError, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TimestampSkewError, TransientError, ValidationError, errorFromHttpStatus, isAbortError, normalizeErrorMessage } from "./shared/errors.js";
|
|
1
|
+
import { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, NetworkError, NotImplementedError, OutcomeUnknownError, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterError, PreconditionFailedError, RateLimitError, RealtimeError, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TimestampSkewError, TransientError, UserOperationAlreadyKnownError, UserOperationNotExecutedError, UserOperationSendTimeoutError, ValidationError, WithdrawDeadlineExpiredError, errorFromHttpStatus, isAbortError, isTimeoutAbortError, normalizeErrorMessage } from "./shared/errors.js";
|
|
2
2
|
import { loadErrorDetailDecoders } from "./shared/error-detail.js";
|
|
3
3
|
import { connectErrorToPolyesterError, createErrorMappingInterceptor, toPolyesterError } from "./shared/connect-error-mapping.js";
|
|
4
4
|
import { checksumEvmAddress, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, isEvmAddress, isEvmAddressStrict, keccak256Hex } from "./utils/evm.js";
|
|
@@ -18,4 +18,4 @@ import { isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFact
|
|
|
18
18
|
import { columnarTimestampSecAt, expandColumnarTimestampsSec } from "./utils/columnar-time.js";
|
|
19
19
|
import { compareUnsignedIntegerStrings, shouldApplyReconciliationUpdate } from "./shared/reconciliation.js";
|
|
20
20
|
import { mergeLedgerBalances } from "./services/balances/balances.merge.js";
|
|
21
|
-
export { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, NetworkError, NotImplementedError, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_SESSION_COOKIE_NAME, POLYESTER_TESTNET_ENVIRONMENT, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterBrowserClient, PolyesterBrowserCore, PolyesterClient, PolyesterCore, PolyesterError, PolyesterServerClient, PolyesterServerCore, PreconditionFailedError, RateLimitError, RealtimeError, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TimestampSkewError, TransientError, ValidationError, checksumEvmAddress, columnarTimestampSecAt, compareUnsignedIntegerStrings, connectErrorToPolyesterError, createCookieAuthTokenStorage, createErrorMappingInterceptor, createMemoryAuthTokenStorage, createPolyesterEnvironment, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest, createPolyesterServerCoreFromCookies, createPolyesterServerCoreFromRequest, errorFromHttpStatus, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, expandColumnarTimestampsSec, formatConnectError, formatUserFacingError, isAbortError, isEvmAddress, isEvmAddressStrict, isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isPolicyInUseError, isPolicyLockedError, isPolicyScopeMismatchError, isResourceNotFoundError, isRetryableError, isRevisionConflictError, isSessionElevationRequiredError, keccak256Hex, loadErrorDetailDecoders, mergeLedgerBalances, normalizeErrorMessage, resolveAuthCookieName, shouldApplyReconciliationUpdate, tsObjToNsString as timestampToNanoseconds, toPolyesterError, validateCreateAddressBookEntryInput };
|
|
21
|
+
export { AlreadyExistsError, AuthenticationError, ConfigurationError, InternalServerError, MfaEnrollmentRequiredError, MfaLastFactorRequiredError, MfaRequiredError, MfaVerificationError, NetworkError, NotImplementedError, OutcomeUnknownError, POLYESTER_AUTH_TOKEN_COOKIE_NAME, POLYESTER_DEVNET_ENVIRONMENT, POLYESTER_SESSION_COOKIE_NAME, POLYESTER_TESTNET_ENVIRONMENT, PermissionError, PolicyInUseError, PolicyLockedError, PolicyScopeMismatchError, PolyesterBrowserClient, PolyesterBrowserCore, PolyesterClient, PolyesterCore, PolyesterError, PolyesterServerClient, PolyesterServerCore, PreconditionFailedError, RateLimitError, RealtimeError, RequestError, ResourceNotFoundError, RevisionConflictError, ServiceUnavailableError, SessionElevationRequiredError, StaleQuoteError, StepUpRequiredError, SubaccountChallengeInvalidError, TimeoutError, TimestampSkewError, TransientError, UserOperationAlreadyKnownError, UserOperationNotExecutedError, UserOperationSendTimeoutError, ValidationError, WithdrawDeadlineExpiredError, checksumEvmAddress, columnarTimestampSecAt, compareUnsignedIntegerStrings, connectErrorToPolyesterError, createCookieAuthTokenStorage, createErrorMappingInterceptor, createMemoryAuthTokenStorage, createPolyesterEnvironment, createPolyesterServerClientFromCookies, createPolyesterServerClientFromRequest, createPolyesterServerCoreFromCookies, createPolyesterServerCoreFromRequest, errorFromHttpStatus, evmHexToBytes, evmUtf8ToBytes, evmUtf8ToHex, expandColumnarTimestampsSec, formatConnectError, formatUserFacingError, isAbortError, isEvmAddress, isEvmAddressStrict, isFreshStepUpRequiredError, isMfaEnrollmentRequiredError, isMfaLastFactorRequiredError, isPolicyInUseError, isPolicyLockedError, isPolicyScopeMismatchError, isResourceNotFoundError, isRetryableError, isRevisionConflictError, isSessionElevationRequiredError, isTimeoutAbortError, keccak256Hex, loadErrorDetailDecoders, mergeLedgerBalances, normalizeErrorMessage, resolveAuthCookieName, shouldApplyReconciliationUpdate, tsObjToNsString as timestampToNanoseconds, toPolyesterError, validateCreateAddressBookEntryInput };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import "./private-orders.js";
|
|
1
2
|
import { ConnectChannelParams, PolyesterRealtime, SubscribeHandlers } from "./types.js";
|
|
2
3
|
import { DescMessage } from "@bufbuild/protobuf";
|
|
3
4
|
import "centrifuge/build/protobuf";
|
|
@@ -10,6 +11,8 @@ interface RealtimeConfig {
|
|
|
10
11
|
wsUrl: string;
|
|
11
12
|
tokenEndpoint: string;
|
|
12
13
|
subscribeEndpoint: string;
|
|
14
|
+
/** Private WebSocket endpoint for account order streams (`/v1/ws/private`). */
|
|
15
|
+
privateWsUrl: string;
|
|
13
16
|
getAuthHeaders?: (request: RealtimeAuthRequest) => Promise<HeadersInit> | HeadersInit;
|
|
14
17
|
hasAuth?: () => boolean;
|
|
15
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","names":[],"sources":["../../src/realtime/client.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.ts","names":[],"sources":["../../src/realtime/client.ts"],"mappings":";;;;;UA6EiB;EACb,cAAc;EACd;;UAGa;EACb;EACA;EACA;;EAEA;EACA,kBAAkB,SAAS,wBAAwB,QAAQ,eAAe;EAC1E"}
|