@polyester/sdk 0.36.0-devnet-20261118184607 → 0.36.0-devnet-20261119050221
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 +30 -2
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -0
- package/dist/client.js.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.d.ts +6 -7
- package/dist/gen/ai/v1/assistant_pb.d.ts.map +1 -1
- package/dist/gen/ai/v1/assistant_pb.js +1 -1
- package/dist/gen/ai/v1/assistant_pb.js.map +1 -1
- package/dist/gen/alerts/v1/price_alerts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/activity_pb.d.ts +1 -1
- package/dist/gen/auth/v1/address_book_pb.d.ts +2 -2
- package/dist/gen/auth/v1/address_book_pb.js +1 -1
- package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +71 -10
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js +16 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +75 -6
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +58 -6
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/connected_apps_pb.d.ts +382 -0
- package/dist/gen/auth/v1/connected_apps_pb.d.ts.map +1 -0
- package/dist/gen/auth/v1/connected_apps_pb.js +107 -0
- package/dist/gen/auth/v1/connected_apps_pb.js.map +1 -0
- package/dist/gen/auth/v1/mfa_pb.d.ts +3 -141
- package/dist/gen/auth/v1/mfa_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/mfa_pb.js +8 -80
- package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +165 -42
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +36 -3
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +1 -1
- package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +5 -5
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
- package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
- package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +18 -11
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts.map +1 -1
- package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
- package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +4 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/chain/zipper/v1/reason_pb.d.ts +1 -1
- package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +1 -1
- package/dist/gen/changelog/v1/changelog_pb.d.ts +1 -1
- package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
- package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +3 -2
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/index.d.ts +8 -5
- package/dist/gen/index.js +26 -23
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +4 -3
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
- package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/asset_info_pb.d.ts +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts +10 -59
- package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
- package/dist/gen/marketdata/v1/heatmap_pb.js +8 -57
- package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
- package/dist/gen/marketdata/v1/marketdata_pb.d.ts +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +1 -1
- package/dist/gen/notifications/v1/notifications_pb.d.ts +142 -5
- package/dist/gen/notifications/v1/notifications_pb.d.ts.map +1 -1
- package/dist/gen/notifications/v1/notifications_pb.js +94 -16
- package/dist/gen/notifications/v1/notifications_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +15 -13
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js +6 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +67 -19
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +1 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +9 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
- package/dist/gen/polyester/api/options_pb.d.ts +2 -1
- package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
- package/dist/gen/polyester/api/options_pb.js +2 -1
- package/dist/gen/polyester/api/options_pb.js.map +1 -1
- package/dist/gen/polyester/api/v1/request_error_pb.d.ts +66 -0
- package/dist/gen/polyester/api/v1/request_error_pb.d.ts.map +1 -0
- package/dist/gen/polyester/api/v1/request_error_pb.js +49 -0
- package/dist/gen/polyester/api/v1/request_error_pb.js.map +1 -0
- package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +1 -1
- package/dist/gen/polyester/type/v1/depth_tier_pb.d.ts +98 -0
- package/dist/gen/polyester/type/v1/depth_tier_pb.d.ts.map +1 -0
- package/dist/gen/polyester/type/v1/depth_tier_pb.js +104 -0
- package/dist/gen/polyester/type/v1/depth_tier_pb.js.map +1 -0
- package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
- package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +43 -24
- package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts.map +1 -1
- package/dist/gen/ratelimit/v1/ratelimit_pb.js +14 -2
- package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
- package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_explorer_pb.d.ts +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +127 -14
- package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js +100 -28
- package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
- package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +1 -1
- package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
- package/dist/gen/system/v1/system_pb.d.ts +1 -1
- package/dist/gen/tradews/v1/trade_ws_pb.d.ts +1 -1
- package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +6 -4
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +26 -4
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +18 -1
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/services/account-activity/account-activity.js +1 -1
- package/dist/services/account-activity/account-activity.schemas.d.ts +4 -4
- package/dist/services/accounts/accounts.js +1 -1
- package/dist/services/accounts/accounts.schemas.js +1 -1
- package/dist/services/address-book/address-book.js +1 -1
- package/dist/services/api-keys/api-keys.codecs.d.ts +6 -1
- package/dist/services/api-keys/api-keys.codecs.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.codecs.js +19 -7
- package/dist/services/api-keys/api-keys.codecs.js.map +1 -1
- package/dist/services/api-keys/api-keys.js +1 -1
- package/dist/services/api-keys/api-keys.schemas.d.ts +12 -4
- package/dist/services/api-keys/api-keys.schemas.d.ts.map +1 -1
- package/dist/services/api-keys/api-keys.schemas.js +15 -6
- package/dist/services/api-keys/api-keys.schemas.js.map +1 -1
- package/dist/services/api-keys/api-keys.types.d.ts +2 -2
- package/dist/services/assistant/assistant-events.schemas.d.ts +30 -30
- package/dist/services/assistant/assistant.js +1 -1
- package/dist/services/assistant/assistant.schemas.d.ts +1 -1
- package/dist/services/auth/auth.d.ts +4 -0
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +12 -2
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/auth/profile/profile.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
- package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +16 -16
- package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/candles/candles.js +1 -1
- package/dist/services/chain-analytics/chain-analytics.js +1 -1
- package/dist/services/changelog/changelog.js +1 -1
- package/dist/services/changelog/changelog.schemas.d.ts +45 -40
- package/dist/services/changelog/changelog.schemas.d.ts.map +1 -1
- package/dist/services/changelog/changelog.schemas.js +6 -1
- package/dist/services/changelog/changelog.schemas.js.map +1 -1
- package/dist/services/checkpoints/checkpoints.js +1 -1
- package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
- package/dist/services/claims/claims.js +1 -1
- package/dist/services/claims/claims.schemas.d.ts +2 -2
- package/dist/services/claims/claims.schemas.js +1 -1
- package/dist/services/connected-apps/connected-apps.d.ts +46 -0
- package/dist/services/connected-apps/connected-apps.d.ts.map +1 -0
- package/dist/services/connected-apps/connected-apps.js +69 -0
- package/dist/services/connected-apps/connected-apps.js.map +1 -0
- package/dist/services/connected-apps/connected-apps.schemas.d.ts +132 -0
- package/dist/services/connected-apps/connected-apps.schemas.d.ts.map +1 -0
- package/dist/services/connected-apps/connected-apps.schemas.js +68 -0
- package/dist/services/connected-apps/connected-apps.schemas.js.map +1 -0
- package/dist/services/connected-apps/connected-apps.types.d.ts +2 -0
- package/dist/services/connected-apps/service.d.ts +8 -0
- package/dist/services/connected-apps/service.d.ts.map +1 -0
- package/dist/services/connected-apps/service.js +9 -0
- package/dist/services/connected-apps/service.js.map +1 -0
- package/dist/services/deposit/deposit.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.js +1 -1
- package/dist/services/dust-conversion/dust-conversion.schemas.d.ts +8 -8
- package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
- package/dist/services/fees/fees.js +1 -1
- package/dist/services/guard-signer/guard-signer.js +1 -1
- package/dist/services/heatmap/heatmap.codecs.d.ts +1 -0
- package/dist/services/heatmap/heatmap.codecs.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.codecs.js +2 -27
- package/dist/services/heatmap/heatmap.codecs.js.map +1 -1
- package/dist/services/heatmap/heatmap.js +1 -1
- package/dist/services/heatmap/heatmap.schemas.d.ts +9 -8
- package/dist/services/heatmap/heatmap.schemas.d.ts.map +1 -1
- package/dist/services/heatmap/heatmap.schemas.js +4 -3
- package/dist/services/heatmap/heatmap.schemas.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.d.ts +4 -3
- package/dist/services/internal-transfers/internal-transfers.d.ts.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.js +5 -4
- package/dist/services/internal-transfers/internal-transfers.js.map +1 -1
- package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +3 -3
- package/dist/services/lifecycle/lifecycle.js +1 -1
- package/dist/services/lifecycle/lifecycle.schemas.d.ts +39 -39
- package/dist/services/lifecycle/lifecycle.schemas.js +2 -2
- package/dist/services/market-data/market-data.js +1 -1
- package/dist/services/market-overview/market-overview.js +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +1 -1
- package/dist/services/notifications/notifications.codecs.d.ts +6 -3
- package/dist/services/notifications/notifications.codecs.d.ts.map +1 -1
- package/dist/services/notifications/notifications.codecs.js +14 -3
- package/dist/services/notifications/notifications.codecs.js.map +1 -1
- package/dist/services/notifications/notifications.js +1 -1
- package/dist/services/notifications/notifications.schemas.d.ts +97 -3
- package/dist/services/notifications/notifications.schemas.d.ts.map +1 -1
- package/dist/services/notifications/notifications.schemas.js +18 -1
- package/dist/services/notifications/notifications.schemas.js.map +1 -1
- package/dist/services/notifications/notifications.types.d.ts +2 -2
- package/dist/services/orderbook/orderbook.codecs.js +1 -1
- package/dist/services/orderbook/orderbook.codecs.js.map +1 -1
- package/dist/services/orderbook/orderbook.d.ts +2 -2
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +8 -10
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +3 -6
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +5 -5
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +9 -9
- package/dist/services/orders/order-errors.schemas.js +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +101 -97
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +3 -1
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +23 -15
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +8 -3
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +14 -14
- package/dist/services/orders/orders-risk.schemas.js +2 -2
- package/dist/services/orders/orders.js +2 -2
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts +4 -1
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.js +5 -2
- package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +25 -15
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +3 -0
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -1
- package/dist/services/policies/shared.codecs.js +25 -5
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +4 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +5 -2
- package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +11 -3
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +4 -0
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/price-alerts/price-alerts.js +1 -1
- package/dist/services/price-alerts/price-alerts.schemas.d.ts +10 -10
- package/dist/services/rate-limits/rate-limits.codecs.d.ts +1 -1
- package/dist/services/rate-limits/rate-limits.codecs.js +2 -1
- package/dist/services/rate-limits/rate-limits.codecs.js.map +1 -1
- package/dist/services/rate-limits/rate-limits.js +1 -1
- package/dist/services/rate-limits/rate-limits.schemas.d.ts +4 -4
- package/dist/services/rewards/rewards.js +1 -1
- package/dist/services/social-verification/social-verification.js +1 -1
- package/dist/services/social-verification/social-verification.schemas.js +1 -1
- package/dist/services/statement-exports/statement-exports.js +1 -1
- package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
- package/dist/services/subaccounts/subaccounts.js +2 -2
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +13 -13
- package/dist/services/system/system.js +1 -1
- package/dist/services/system/system.schemas.d.ts +13 -13
- package/dist/services/trades/trades.js +1 -1
- package/dist/services/trades/trades.schemas.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
- package/dist/services/trading-withdraws/wallet-message.js +1 -1
- package/dist/services/transfers/transfers.js +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +2 -2
- package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +2 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts +52 -52
- package/dist/services/triggers/triggers.codecs.d.ts.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +2 -0
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.js +1 -1
- package/dist/services/vip/vip.js +1 -1
- package/dist/services/vip/vip.schemas.js +1 -1
- package/dist/services/zipper/zipper.js +1 -1
- package/dist/services/zipper/zipper.schemas.js +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +1 -1
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/depth-tier.js +46 -0
- package/dist/shared/depth-tier.js.map +1 -0
- package/dist/shared/error-detail.d.ts +6 -0
- package/dist/shared/error-detail.d.ts.map +1 -1
- package/dist/shared/error-detail.js +2 -1
- package/dist/shared/error-detail.js.map +1 -1
- package/dist/shared/error-details/alerts.js +1 -1
- package/dist/shared/error-details/assistant.js +1 -1
- package/dist/shared/error-details/auth.js +1 -1
- package/dist/shared/error-details/claims.js +1 -1
- package/dist/shared/error-details/internal-transfer.js +1 -1
- package/dist/shared/error-details/ledger.js +1 -1
- package/dist/shared/error-details/market-overview.js +1 -1
- package/dist/shared/error-details/notifications.js +1 -1
- package/dist/shared/error-details/orders.js +1 -1
- package/dist/shared/error-details/profile.js +1 -1
- package/dist/shared/error-details/rate-limit.js +1 -1
- package/dist/shared/error-details/request.js +16 -0
- package/dist/shared/error-details/request.js.map +1 -0
- package/dist/shared/error-details/withdraw.js +1 -1
- package/dist/shared/errors.d.ts +4 -1
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +4 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/rate-limit.schemas.d.ts +1 -1
- package/dist/shared/rate-limit.schemas.js +1 -1
- package/dist/utils/connect-mfa-errors.d.ts +2 -2
- package/dist/utils/connect-mfa-errors.js +2 -2
- package/dist/utils/connect-mfa-errors.js.map +1 -1
- package/dist/wired-services.d.ts.map +1 -1
- package/dist/wired-services.js +21 -19
- package/dist/wired-services.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifications_pb.js","names":[],"sources":["../../../../src/gen/notifications/v1/notifications_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file notifications/v1/notifications.proto (package notifications.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 { AlertDirection, AlertPriceSource } from \"../../alerts/v1/price_alerts_pb.js\";\nimport { file_alerts_v1_price_alerts } from \"../../alerts/v1/price_alerts_pb.js\";\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 notifications/v1/notifications.proto.\n */\nexport const file_notifications_v1_notifications: GenFile = /*@__PURE__*/\n fileDesc(\"CiRub3RpZmljYXRpb25zL3YxL25vdGlmaWNhdGlvbnMucHJvdG8SEG5vdGlmaWNhdGlvbnMudjEiOAoLRXJyb3JEZXRhaWwSKQoEY29kZRgBIAEoDjIbLm5vdGlmaWNhdGlvbnMudjEuRXJyb3JDb2RlIp0ECgxOb3RpZmljYXRpb24SFwoPbm90aWZpY2F0aW9uX2lkGAEgASgGEjAKBHR5cGUYAiABKA4yIi5ub3RpZmljYXRpb25zLnYxLk5vdGlmaWNhdGlvblR5cGUSOAoIY2F0ZWdvcnkYAyABKA4yJi5ub3RpZmljYXRpb25zLnYxLk5vdGlmaWNhdGlvbkNhdGVnb3J5Eg0KBXRpdGxlGAQgASgJEgwKBHRleHQYBSABKAkSLgoKY3JlYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKwoHcmVhZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASOQoLcHJpY2VfYWxlcnQYCiABKAsyIi5ub3RpZmljYXRpb25zLnYxLlByaWNlQWxlcnROb3RpY2VIABJFChF0ZWxlZ3JhbV9hcHByb3ZhbBgLIAEoCzIoLm5vdGlmaWNhdGlvbnMudjEuVGVsZWdyYW1BcHByb3Z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9uc1Jlc3BvbnNlIgOQAgESawoPR2V0Tm90aWZpY2F0aW9uEigubm90aWZpY2F0aW9ucy52MS5HZXROb3RpZmljYXRpb25SZXF1ZXN0Gikubm90aWZpY2F0aW9ucy52MS5HZXROb3RpZmljYXRpb25SZXNwb25zZSIDkAIBEn0KFUdldE5vdGlmaWNhdGlvbkNvdW50cxIuLm5vdGlmaWNhdGlvbnMudjEuR2V0Tm90aWZpY2F0aW9uQ291bnRzUmVxdWVzdBovLm5vdGlmaWNhdGlvbnMudjEuR2V0Tm90aWZpY2F0aW9uQ291bnRzUmVzcG9uc2UiA5ACARJ9ChVNYXJrTm90aWZpY2F0aW9uc1JlYWQSLi5ub3RpZmljYXRpb25zLnYxLk1hcmtOb3RpZmljYXRpb25zUmVhZFJlcXVlc3QaLy5ub3RpZmljYXRpb25zLnYxLk1hcmtOb3RpZmljYXRpb25zUmVhZFJlc3BvbnNlIgOQAgISgwEKF01hcmtOb3RpZmljYXRpb25zVW5yZWFkEjAubm90aWZpY2F0aW9ucy52MS5NYXJrTm90aWZpY2F0aW9uc1VucmVhZFJlcXVlc3QaMS5ub3RpZmljYXRpb25zLnYxLk1hcmtOb3RpZmljYXRpb25zVW5yZWFkUmVzcG9uc2UiA5ACAhKGAQoYTWFya0FsbE5vdGlmaWNhdGlvbnNSZWFkEjEubm90aWZpY2F0aW9ucy52MS5NYXJrQWxsTm90aWZpY2F0aW9uc1JlYWRSZXF1ZXN0GjIubm90aWZpY2F0aW9ucy52MS5NYXJrQWxsTm90aWZpY2F0aW9uc1JlYWRSZXNwb25zZSIDkAICGgBCTlpMZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9ub3RpZmljYXRpb25zL3YxO25vdGlmaWNhdGlvbnN2MWIGcHJvdG8z\", [file_alerts_v1_price_alerts, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * ErrorDetail is attached to Notification API errors as an error detail of\n * type notifications.v1.ErrorDetail.\n *\n * @generated from message notifications.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"notifications.v1.ErrorDetail\"> & {\n /**\n * Stable error code.\n *\n * @generated from field: notifications.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n};\n\n/**\n * Describes the message notifications.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 0);\n\n/**\n * Notification is one notification of the caller.\n *\n * @generated from message notifications.v1.Notification\n */\nexport type Notification = Message<\"notifications.v1.Notification\"> & {\n /**\n * Public notification ID.\n *\n * @generated from field: fixed64 notification_id = 1;\n */\n notificationId: bigint;\n\n /**\n * What the notification reports.\n *\n * @generated from field: notifications.v1.NotificationType type = 2;\n */\n type: NotificationType;\n\n /**\n * Category of the type.\n *\n * @generated from field: notifications.v1.NotificationCategory category = 3;\n */\n category: NotificationCategory;\n\n /**\n * Short plain-text title, the same for every notification of a type, for\n * example \"Price alert\".\n *\n * @generated from field: string title = 4;\n */\n title: string;\n\n /**\n * Plain-text summary of what happened, at most 4096 bytes. It may span\n * several lines.\n *\n * @generated from field: string text = 5;\n */\n text: string;\n\n /**\n * When the notification was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 6;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the caller marked it read. Omitted while it is unread.\n *\n * @generated from field: google.protobuf.Timestamp read_at = 7;\n */\n readAt?: Timestamp | undefined;\n\n /**\n * What happened, as typed values. Exactly one is set, the one type names.\n * A client that does not recognize the type, for example one added after\n * it was built, shows the title and text only.\n *\n * @generated from oneof notifications.v1.Notification.detail\n */\n detail: {\n /**\n * The price alert that fired.\n *\n * @generated from field: notifications.v1.PriceAlertNotice price_alert = 10;\n */\n value: PriceAlertNotice;\n case: \"priceAlert\";\n } | {\n /**\n * The action approved from the linked Telegram account.\n *\n * @generated from field: notifications.v1.TelegramApprovalNotice telegram_approval = 11;\n */\n value: TelegramApprovalNotice;\n case: \"telegramApproval\";\n } | {\n /**\n * The broker vault payout address change.\n *\n * @generated from field: notifications.v1.BrokerAllowlistNotice broker_allowlist = 12;\n */\n value: BrokerAllowlistNotice;\n case: \"brokerAllowlist\";\n } | {\n /**\n * The Telegram account linked.\n *\n * @generated from field: notifications.v1.TelegramLinkNotice telegram_link = 13;\n */\n value: TelegramLinkNotice;\n case: \"telegramLink\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message notifications.v1.Notification.\n * Use `create(NotificationSchema)` to create a new message.\n */\nexport const NotificationSchema: GenMessage<Notification> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 1);\n\n/**\n * PriceAlertNotice is a price alert that fired, as it was when it fired.\n *\n * @generated from message notifications.v1.PriceAlertNotice\n */\nexport type PriceAlertNotice = Message<\"notifications.v1.PriceAlertNotice\"> & {\n /**\n * Public alert ID, as the Price Alert API returns it.\n *\n * @generated from field: fixed64 alert_id = 1;\n */\n alertId: bigint;\n\n /**\n * Numeric spot market identifier; resolve its symbol with GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 2;\n */\n symbolId: number;\n\n /**\n * Price crossing the alert waited for.\n *\n * @generated from field: alerts.v1.AlertDirection direction = 3;\n */\n direction: AlertDirection;\n\n /**\n * Price the alert watched.\n *\n * @generated from field: alerts.v1.AlertPriceSource price_source = 4;\n */\n priceSource: AlertPriceSource;\n\n /**\n * Alert price in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 5;\n */\n priceTicks: bigint;\n\n /**\n * Price that fired the alert, in quote units scaled by 1e9.\n *\n * @generated from field: int64 triggered_price_ticks = 6;\n */\n triggeredPriceTicks: bigint;\n\n /**\n * When the alert fired.\n *\n * @generated from field: google.protobuf.Timestamp triggered_at = 7;\n */\n triggeredAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.PriceAlertNotice.\n * Use `create(PriceAlertNoticeSchema)` to create a new message.\n */\nexport const PriceAlertNoticeSchema: GenMessage<PriceAlertNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 2);\n\n/**\n * NoticeField is one labelled value of a notice, for example \"Market\" and\n * \"BTC/USDT\".\n *\n * @generated from message notifications.v1.NoticeField\n */\nexport type NoticeField = Message<\"notifications.v1.NoticeField\"> & {\n /**\n * Short label, in plain words: 1 to 64 bytes.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * The value, in plain words, with its unit or asset when it has one: 1 to\n * 256 bytes.\n *\n * @generated from field: string value = 2;\n */\n value: string;\n};\n\n/**\n * Describes the message notifications.v1.NoticeField.\n * Use `create(NoticeFieldSchema)` to create a new message.\n */\nexport const NoticeFieldSchema: GenMessage<NoticeField> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 3);\n\n/**\n * TelegramApprovalNotice is an action approved from the Telegram account\n * linked to the caller's account, as the approval recorded it.\n *\n * @generated from message notifications.v1.TelegramApprovalNotice\n */\nexport type TelegramApprovalNotice = Message<\"notifications.v1.TelegramApprovalNotice\"> & {\n /**\n * The approval's ID, as the Assistant API returns it.\n *\n * @generated from field: fixed64 approval_id = 1;\n */\n approvalId: bigint;\n\n /**\n * What the approval approved.\n *\n * @generated from field: notifications.v1.TelegramApprovalAction action = 2;\n */\n action: TelegramApprovalAction;\n\n /**\n * Public ID of the trading account (sub-account) the action acted on.\n *\n * @generated from field: fixed64 account_id = 3;\n */\n accountId: bigint;\n\n /**\n * What approving did, written from the exact action: 1 to 512 bytes.\n *\n * @generated from field: string summary = 4;\n */\n summary: string;\n\n /**\n * The action's key parameters in display order, such as the market, side,\n * quantity and prices, from the same exact action: at most 16.\n *\n * @generated from field: repeated notifications.v1.NoticeField parameters = 5;\n */\n parameters: NoticeField[];\n\n /**\n * When the approval was given.\n *\n * @generated from field: google.protobuf.Timestamp approved_at = 6;\n */\n approvedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.TelegramApprovalNotice.\n * Use `create(TelegramApprovalNoticeSchema)` to create a new message.\n */\nexport const TelegramApprovalNoticeSchema: GenMessage<TelegramApprovalNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 4);\n\n/**\n * BrokerAllowlistNotice is a change of a QuickSwap broker vault's payout\n * address allowlist, as the broker's records show it. Read the change with\n * QuickSwapBrokerService.ListVaultAllowlistChanges.\n *\n * @generated from message notifications.v1.BrokerAllowlistNotice\n */\nexport type BrokerAllowlistNotice = Message<\"notifications.v1.BrokerAllowlistNotice\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public sub-account ID of the vault.\n *\n * @generated from field: fixed64 vault_account_id = 2;\n */\n vaultAccountId: bigint;\n\n /**\n * Public ID of the change, as ListVaultAllowlistChanges returns it.\n *\n * @generated from field: fixed64 change_id = 3;\n */\n changeId: bigint;\n\n /**\n * What happened to the change.\n *\n * @generated from field: notifications.v1.BrokerAllowlistEvent event = 4;\n */\n event: BrokerAllowlistEvent;\n\n /**\n * What the change does.\n *\n * @generated from field: notifications.v1.BrokerAllowlistAction action = 5;\n */\n action: BrokerAllowlistAction;\n\n /**\n * Destination chain identifier of the address.\n *\n * @generated from field: uint64 destination_chain_id = 6;\n */\n destinationChainId: bigint;\n\n /**\n * The address, in canonical form.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * The requesting member's name for an added address; empty when none.\n *\n * @generated from field: string label = 8;\n */\n label: string;\n\n /**\n * Public account ID of the member who requested the change.\n *\n * @generated from field: fixed64 requested_by_account_id = 9;\n */\n requestedByAccountId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.BrokerAllowlistNotice.\n * Use `create(BrokerAllowlistNoticeSchema)` to create a new message.\n */\nexport const BrokerAllowlistNoticeSchema: GenMessage<BrokerAllowlistNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 5);\n\n/**\n * ListNotificationsRequest lists the caller's notifications.\n *\n * @generated from message notifications.v1.ListNotificationsRequest\n */\nexport type ListNotificationsRequest = Message<\"notifications.v1.ListNotificationsRequest\"> & {\n /**\n * Return only notifications in these categories. Empty returns every\n * category.\n *\n * @generated from field: repeated notifications.v1.NotificationCategory categories = 1;\n */\n categories: NotificationCategory[];\n\n /**\n * Return only read or only unread notifications. Unspecified returns both.\n *\n * @generated from field: notifications.v1.ReadState read_state = 2;\n */\n readState: ReadState;\n\n /**\n * Return only notifications created at or after this time. Omitted means\n * no lower bound.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 3;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Return only notifications created before this time. Omitted means no\n * upper bound. Must be after start_time when both are set.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 4;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Maximum number of notifications to return: default 25, max 100.\n *\n * @generated from field: uint32 limit = 5;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed and exclusive cursor from a previous response's\n * next_page_token. It is bound to the caller, categories, read_state,\n * start_time and end_time; reuse it only with the same values.\n *\n * @generated from field: string page_token = 6;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message notifications.v1.ListNotificationsRequest.\n * Use `create(ListNotificationsRequestSchema)` to create a new message.\n */\nexport const ListNotificationsRequestSchema: GenMessage<ListNotificationsRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 6);\n\n/**\n * ListNotificationsResponse returns one page of the caller's notifications.\n *\n * @generated from message notifications.v1.ListNotificationsResponse\n */\nexport type ListNotificationsResponse = Message<\"notifications.v1.ListNotificationsResponse\"> & {\n /**\n * Notifications, newest first.\n *\n * @generated from field: repeated notifications.v1.Notification notifications = 1;\n */\n notifications: Notification[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message notifications.v1.ListNotificationsResponse.\n * Use `create(ListNotificationsResponseSchema)` to create a new message.\n */\nexport const ListNotificationsResponseSchema: GenMessage<ListNotificationsResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 7);\n\n/**\n * GetNotificationRequest reads one notification of the caller.\n *\n * @generated from message notifications.v1.GetNotificationRequest\n */\nexport type GetNotificationRequest = Message<\"notifications.v1.GetNotificationRequest\"> & {\n /**\n * Public notification ID.\n *\n * @generated from field: fixed64 notification_id = 1;\n */\n notificationId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationRequest.\n * Use `create(GetNotificationRequestSchema)` to create a new message.\n */\nexport const GetNotificationRequestSchema: GenMessage<GetNotificationRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 8);\n\n/**\n * GetNotificationResponse returns the notification.\n *\n * @generated from message notifications.v1.GetNotificationResponse\n */\nexport type GetNotificationResponse = Message<\"notifications.v1.GetNotificationResponse\"> & {\n /**\n * The notification.\n *\n * @generated from field: notifications.v1.Notification notification = 1;\n */\n notification?: Notification | undefined;\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationResponse.\n * Use `create(GetNotificationResponseSchema)` to create a new message.\n */\nexport const GetNotificationResponseSchema: GenMessage<GetNotificationResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 9);\n\n/**\n * GetNotificationCountsRequest counts the caller's notifications.\n *\n * @generated from message notifications.v1.GetNotificationCountsRequest\n */\nexport type GetNotificationCountsRequest = Message<\"notifications.v1.GetNotificationCountsRequest\"> & {\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationCountsRequest.\n * Use `create(GetNotificationCountsRequestSchema)` to create a new message.\n */\nexport const GetNotificationCountsRequestSchema: GenMessage<GetNotificationCountsRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 10);\n\n/**\n * TypeCount counts the caller's notifications of one type.\n *\n * @generated from message notifications.v1.TypeCount\n */\nexport type TypeCount = Message<\"notifications.v1.TypeCount\"> & {\n /**\n * The type.\n *\n * @generated from field: notifications.v1.NotificationType type = 1;\n */\n type: NotificationType;\n\n /**\n * Category of the type.\n *\n * @generated from field: notifications.v1.NotificationCategory category = 2;\n */\n category: NotificationCategory;\n\n /**\n * Number of notifications of the type.\n *\n * @generated from field: uint64 total = 3;\n */\n total: bigint;\n\n /**\n * Number of those the caller has not read.\n *\n * @generated from field: uint64 unread = 4;\n */\n unread: bigint;\n};\n\n/**\n * Describes the message notifications.v1.TypeCount.\n * Use `create(TypeCountSchema)` to create a new message.\n */\nexport const TypeCountSchema: GenMessage<TypeCount> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 11);\n\n/**\n * GetNotificationCountsResponse returns exact counts of the caller's\n * notifications, as of one moment.\n *\n * @generated from message notifications.v1.GetNotificationCountsResponse\n */\nexport type GetNotificationCountsResponse = Message<\"notifications.v1.GetNotificationCountsResponse\"> & {\n /**\n * Number of notifications.\n *\n * @generated from field: uint64 total = 1;\n */\n total: bigint;\n\n /**\n * Number of notifications the caller has not read.\n *\n * @generated from field: uint64 unread = 2;\n */\n unread: bigint;\n\n /**\n * Counts of every type, in ascending enum order, including types with no\n * notification.\n *\n * @generated from field: repeated notifications.v1.TypeCount types = 3;\n */\n types: TypeCount[];\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationCountsResponse.\n * Use `create(GetNotificationCountsResponseSchema)` to create a new message.\n */\nexport const GetNotificationCountsResponseSchema: GenMessage<GetNotificationCountsResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 12);\n\n/**\n * MarkNotificationsReadRequest marks notifications of the caller read.\n *\n * @generated from message notifications.v1.MarkNotificationsReadRequest\n */\nexport type MarkNotificationsReadRequest = Message<\"notifications.v1.MarkNotificationsReadRequest\"> & {\n /**\n * Public notification IDs: one to 100, distinct.\n *\n * @generated from field: repeated fixed64 notification_ids = 1;\n */\n notificationIds: bigint[];\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsReadRequest.\n * Use `create(MarkNotificationsReadRequestSchema)` to create a new message.\n */\nexport const MarkNotificationsReadRequestSchema: GenMessage<MarkNotificationsReadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 13);\n\n/**\n * MarkNotificationsReadResponse reports what MarkNotificationsRead changed.\n *\n * @generated from message notifications.v1.MarkNotificationsReadResponse\n */\nexport type MarkNotificationsReadResponse = Message<\"notifications.v1.MarkNotificationsReadResponse\"> & {\n /**\n * Number of notifications this call marked read. Notifications already\n * read are not counted.\n *\n * @generated from field: uint32 changed = 1;\n */\n changed: number;\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsReadResponse.\n * Use `create(MarkNotificationsReadResponseSchema)` to create a new message.\n */\nexport const MarkNotificationsReadResponseSchema: GenMessage<MarkNotificationsReadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 14);\n\n/**\n * MarkNotificationsUnreadRequest marks notifications of the caller unread.\n *\n * @generated from message notifications.v1.MarkNotificationsUnreadRequest\n */\nexport type MarkNotificationsUnreadRequest = Message<\"notifications.v1.MarkNotificationsUnreadRequest\"> & {\n /**\n * Public notification IDs: one to 100, distinct.\n *\n * @generated from field: repeated fixed64 notification_ids = 1;\n */\n notificationIds: bigint[];\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsUnreadRequest.\n * Use `create(MarkNotificationsUnreadRequestSchema)` to create a new message.\n */\nexport const MarkNotificationsUnreadRequestSchema: GenMessage<MarkNotificationsUnreadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 15);\n\n/**\n * MarkNotificationsUnreadResponse reports what MarkNotificationsUnread\n * changed.\n *\n * @generated from message notifications.v1.MarkNotificationsUnreadResponse\n */\nexport type MarkNotificationsUnreadResponse = Message<\"notifications.v1.MarkNotificationsUnreadResponse\"> & {\n /**\n * Number of notifications this call marked unread. Notifications already\n * unread are not counted.\n *\n * @generated from field: uint32 changed = 1;\n */\n changed: number;\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsUnreadResponse.\n * Use `create(MarkNotificationsUnreadResponseSchema)` to create a new message.\n */\nexport const MarkNotificationsUnreadResponseSchema: GenMessage<MarkNotificationsUnreadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 16);\n\n/**\n * MarkAllNotificationsReadRequest marks every unread notification of the\n * caller read, within the given categories.\n *\n * @generated from message notifications.v1.MarkAllNotificationsReadRequest\n */\nexport type MarkAllNotificationsReadRequest = Message<\"notifications.v1.MarkAllNotificationsReadRequest\"> & {\n /**\n * Mark only notifications in these categories. Empty marks every category.\n *\n * @generated from field: repeated notifications.v1.NotificationCategory categories = 1;\n */\n categories: NotificationCategory[];\n\n /**\n * Mark only this notification and older ones: pass the newest notification\n * the caller has shown, so one that arrives later stays unread. Zero marks\n * every notification that exists when the call is processed.\n *\n * @generated from field: fixed64 through_notification_id = 2;\n */\n throughNotificationId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.MarkAllNotificationsReadRequest.\n * Use `create(MarkAllNotificationsReadRequestSchema)` to create a new message.\n */\nexport const MarkAllNotificationsReadRequestSchema: GenMessage<MarkAllNotificationsReadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 17);\n\n/**\n * MarkAllNotificationsReadResponse reports what MarkAllNotificationsRead\n * changed.\n *\n * @generated from message notifications.v1.MarkAllNotificationsReadResponse\n */\nexport type MarkAllNotificationsReadResponse = Message<\"notifications.v1.MarkAllNotificationsReadResponse\"> & {\n /**\n * Number of notifications this call marked read.\n *\n * @generated from field: uint64 changed = 1;\n */\n changed: bigint;\n};\n\n/**\n * Describes the message notifications.v1.MarkAllNotificationsReadResponse.\n * Use `create(MarkAllNotificationsReadResponseSchema)` to create a new message.\n */\nexport const MarkAllNotificationsReadResponseSchema: GenMessage<MarkAllNotificationsReadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 18);\n\n/**\n * TelegramLinkNotice is a Telegram account linked to the caller's account, as\n * the link was confirmed.\n *\n * @generated from message notifications.v1.TelegramLinkNotice\n */\nexport type TelegramLinkNotice = Message<\"notifications.v1.TelegramLinkNotice\"> & {\n /**\n * When the caller confirmed the link.\n *\n * @generated from field: google.protobuf.Timestamp linked_at = 1;\n */\n linkedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.TelegramLinkNotice.\n * Use `create(TelegramLinkNoticeSchema)` to create a new message.\n */\nexport const TelegramLinkNoticeSchema: GenMessage<TelegramLinkNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 19);\n\n/**\n * ErrorCode identifies a Notification API error.\n *\n * @generated from enum notifications.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No code.\n *\n * @generated from enum value: ERROR_UNSPECIFIED = 0;\n */\n ERROR_UNSPECIFIED = 0,\n\n /**\n * No notification of the caller has this ID. Another account's\n * notification is reported the same way.\n *\n * @generated from enum value: NOTIFICATION_NOT_FOUND = 1;\n */\n NOTIFICATION_NOT_FOUND = 1,\n\n /**\n * A required service is temporarily unavailable; retry the same request.\n *\n * @generated from enum value: SERVICE_UNAVAILABLE = 2;\n */\n SERVICE_UNAVAILABLE = 2,\n}\n\n/**\n * Describes the enum notifications.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 0);\n\n/**\n * NotificationType is what a notification reports. Each type belongs to one\n * category, and its detail is the matching field of Notification.detail.\n *\n * @generated from enum notifications.v1.NotificationType\n */\nexport enum NotificationType {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: TYPE_UNSPECIFIED = 0;\n */\n TYPE_UNSPECIFIED = 0,\n\n /**\n * A price alert of the caller fired. Category ALERTS; detail price_alert.\n *\n * @generated from enum value: PRICE_ALERT = 1;\n */\n PRICE_ALERT = 1,\n\n /**\n * An action was approved from the Telegram account linked to the caller's\n * account. Category SECURITY; detail telegram_approval. If the caller did\n * not approve it, the linked Telegram account may be in someone else's\n * hands: unlink it and review the account's sessions.\n *\n * @generated from enum value: TELEGRAM_APPROVAL = 2;\n */\n TELEGRAM_APPROVAL = 2,\n\n /**\n * A payout address of a QuickSwap broker vault the caller is an Owner or\n * Finance member of was requested to be added or removed, or the change\n * was applied or not. Category SECURITY; detail broker_allowlist. If no\n * member of the broker requested it, act before the address becomes\n * payable: an added address is payable 24 hours after it is listed.\n *\n * @generated from enum value: BROKER_ALLOWLIST_CHANGE = 3;\n */\n BROKER_ALLOWLIST_CHANGE = 3,\n\n /**\n * A Telegram account was linked to the caller's account. Category SECURITY;\n * detail telegram_link. The linked Telegram account also receives it. If the\n * caller did not link it, unlink it and review the account's sessions.\n *\n * @generated from enum value: TELEGRAM_LINKED = 4;\n */\n TELEGRAM_LINKED = 4,\n}\n\n/**\n * Describes the enum notifications.v1.NotificationType.\n */\nexport const NotificationTypeSchema: GenEnum<NotificationType> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 1);\n\n/**\n * NotificationCategory groups notification types for filtering and counts.\n *\n * @generated from enum notifications.v1.NotificationCategory\n */\nexport enum NotificationCategory {\n /**\n * Not set. Rejected in requests and never returned.\n *\n * @generated from enum value: CATEGORY_UNSPECIFIED = 0;\n */\n CATEGORY_UNSPECIFIED = 0,\n\n /**\n * Alerts the caller set, such as price alerts.\n *\n * @generated from enum value: ALERTS = 1;\n */\n ALERTS = 1,\n\n /**\n * Security of the account, such as actions approved from a linked\n * Telegram account.\n *\n * @generated from enum value: SECURITY = 2;\n */\n SECURITY = 2,\n}\n\n/**\n * Describes the enum notifications.v1.NotificationCategory.\n */\nexport const NotificationCategorySchema: GenEnum<NotificationCategory> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 2);\n\n/**\n * ReadState filters notifications by whether the caller has read them.\n *\n * @generated from enum notifications.v1.ReadState\n */\nexport enum ReadState {\n /**\n * Read and unread notifications.\n *\n * @generated from enum value: READ_STATE_UNSPECIFIED = 0;\n */\n READ_STATE_UNSPECIFIED = 0,\n\n /**\n * Only notifications the caller has not read.\n *\n * @generated from enum value: UNREAD = 1;\n */\n UNREAD = 1,\n\n /**\n * Only notifications the caller has read.\n *\n * @generated from enum value: READ = 2;\n */\n READ = 2,\n}\n\n/**\n * Describes the enum notifications.v1.ReadState.\n */\nexport const ReadStateSchema: GenEnum<ReadState> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 3);\n\n/**\n * TelegramApprovalAction is what an approval from Telegram approved.\n *\n * @generated from enum notifications.v1.TelegramApprovalAction\n */\nexport enum TelegramApprovalAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * Place one order.\n *\n * @generated from enum value: PLACE_ORDER = 1;\n */\n PLACE_ORDER = 1,\n\n /**\n * Place several limit orders together.\n *\n * @generated from enum value: PLACE_ORDERS = 2;\n */\n PLACE_ORDERS = 2,\n\n /**\n * Change open limit orders.\n *\n * @generated from enum value: MODIFY_ORDERS = 3;\n */\n MODIFY_ORDERS = 3,\n\n /**\n * Cancel an order or a trigger.\n *\n * @generated from enum value: CANCEL_ORDER = 4;\n */\n CANCEL_ORDER = 4,\n\n /**\n * Cancel every open order of a market or of the account.\n *\n * @generated from enum value: CANCEL_ALL_ORDERS = 5;\n */\n CANCEL_ALL_ORDERS = 5,\n\n /**\n * Change a trigger.\n *\n * @generated from enum value: MODIFY_TRIGGER = 6;\n */\n MODIFY_TRIGGER = 6,\n\n /**\n * Pause a trigger.\n *\n * @generated from enum value: PAUSE_TRIGGER = 7;\n */\n PAUSE_TRIGGER = 7,\n\n /**\n * Resume a paused trigger.\n *\n * @generated from enum value: RESUME_TRIGGER = 8;\n */\n RESUME_TRIGGER = 8,\n\n /**\n * Swap between assets within the trading account.\n *\n * @generated from enum value: SWAP = 9;\n */\n SWAP = 9,\n}\n\n/**\n * Describes the enum notifications.v1.TelegramApprovalAction.\n */\nexport const TelegramApprovalActionSchema: GenEnum<TelegramApprovalAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 4);\n\n/**\n * BrokerAllowlistEvent is what happened to a broker vault payout address\n * change.\n *\n * @generated from enum notifications.v1.BrokerAllowlistEvent\n */\nexport enum BrokerAllowlistEvent {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: BROKER_ALLOWLIST_EVENT_UNSPECIFIED = 0;\n */\n BROKER_ALLOWLIST_EVENT_UNSPECIFIED = 0,\n\n /**\n * A member requested the change.\n *\n * @generated from enum value: CHANGE_REQUESTED = 1;\n */\n CHANGE_REQUESTED = 1,\n\n /**\n * The change was applied.\n *\n * @generated from enum value: CHANGE_APPLIED = 2;\n */\n CHANGE_APPLIED = 2,\n\n /**\n * The change was not applied, and never will be; nothing changed.\n *\n * @generated from enum value: CHANGE_NOT_APPLIED = 3;\n */\n CHANGE_NOT_APPLIED = 3,\n}\n\n/**\n * Describes the enum notifications.v1.BrokerAllowlistEvent.\n */\nexport const BrokerAllowlistEventSchema: GenEnum<BrokerAllowlistEvent> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 5);\n\n/**\n * BrokerAllowlistAction is what a broker vault payout address change does.\n *\n * @generated from enum notifications.v1.BrokerAllowlistAction\n */\nexport enum BrokerAllowlistAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: BROKER_ALLOWLIST_ACTION_UNSPECIFIED = 0;\n */\n BROKER_ALLOWLIST_ACTION_UNSPECIFIED = 0,\n\n /**\n * Adds the address to the vault's payout address allowlist.\n *\n * @generated from enum value: ADD_DESTINATION = 1;\n */\n ADD_DESTINATION = 1,\n\n /**\n * Removes the address from the vault's payout address allowlist.\n *\n * @generated from enum value: REMOVE_DESTINATION = 2;\n */\n REMOVE_DESTINATION = 2,\n}\n\n/**\n * Describes the enum notifications.v1.BrokerAllowlistAction.\n */\nexport const BrokerAllowlistActionSchema: GenEnum<BrokerAllowlistAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 6);\n\n/**\n * NotificationService serves the caller's notification center: the\n * notifications of the caller's main account. ListNotifications,\n * GetNotification and GetNotificationCounts also take an API key of the main\n * account whose policy grants READ_NOTIFICATIONS; a key scoped to a\n * sub-account is refused with PERMISSION_DENIED (AUTH_API_KEY_ACCESS_DENIED),\n * since notifications belong to the main account. Marking notifications read\n * or unread takes a session token only.\n *\n * @generated from service notifications.v1.NotificationService\n */\nexport const NotificationService: GenService<{\n /**\n * ListNotifications lists the caller's notifications, newest first.\n *\n * @generated from rpc notifications.v1.NotificationService.ListNotifications\n */\n listNotifications: {\n methodKind: \"unary\";\n input: typeof ListNotificationsRequestSchema;\n output: typeof ListNotificationsResponseSchema;\n },\n /**\n * GetNotification reads one notification of the caller.\n *\n * @generated from rpc notifications.v1.NotificationService.GetNotification\n */\n getNotification: {\n methodKind: \"unary\";\n input: typeof GetNotificationRequestSchema;\n output: typeof GetNotificationResponseSchema;\n },\n /**\n * GetNotificationCounts counts the caller's notifications and unread\n * notifications, by type.\n *\n * @generated from rpc notifications.v1.NotificationService.GetNotificationCounts\n */\n getNotificationCounts: {\n methodKind: \"unary\";\n input: typeof GetNotificationCountsRequestSchema;\n output: typeof GetNotificationCountsResponseSchema;\n },\n /**\n * MarkNotificationsRead marks notifications of the caller read. Either\n * every ID is the caller's and each is marked, or nothing changes and the\n * call fails with NOTIFICATION_NOT_FOUND.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkNotificationsRead\n */\n markNotificationsRead: {\n methodKind: \"unary\";\n input: typeof MarkNotificationsReadRequestSchema;\n output: typeof MarkNotificationsReadResponseSchema;\n },\n /**\n * MarkNotificationsUnread marks notifications of the caller unread. Either\n * every ID is the caller's and each is marked, or nothing changes and the\n * call fails with NOTIFICATION_NOT_FOUND.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkNotificationsUnread\n */\n markNotificationsUnread: {\n methodKind: \"unary\";\n input: typeof MarkNotificationsUnreadRequestSchema;\n output: typeof MarkNotificationsUnreadResponseSchema;\n },\n /**\n * MarkAllNotificationsRead marks every unread notification of the caller\n * read, within the given categories and up to the given notification.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkAllNotificationsRead\n */\n markAllNotificationsRead: {\n methodKind: \"unary\";\n input: typeof MarkAllNotificationsReadRequestSchema;\n output: typeof MarkAllNotificationsReadResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_notifications_v1_notifications, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,sCACX,uBAAS,42LAA42L;CAAC;CAA6B;CAAgC;AAA0B,CAAC;;;;;AAqBh9L,MAAa,oBACX,0BAAY,qCAAqC,CAAC;;;;;AAyGpD,MAAa,qBACX,0BAAY,qCAAqC,CAAC;;;;;AA8DpD,MAAa,yBACX,0BAAY,qCAAqC,CAAC;;;;;AA6BpD,MAAa,oBACX,0BAAY,qCAAqC,CAAC;;;;;AAyDpD,MAAa,+BACX,0BAAY,qCAAqC,CAAC;;;;;AA8EpD,MAAa,8BACX,0BAAY,qCAAqC,CAAC;;;;;AA4DpD,MAAa,iCACX,0BAAY,qCAAqC,CAAC;;;;;AA2BpD,MAAa,kCACX,0BAAY,qCAAqC,CAAC;;;;;AAoBpD,MAAa,+BACX,0BAAY,qCAAqC,CAAC;;;;;AAoBpD,MAAa,gCACX,0BAAY,qCAAqC,CAAC;;;;;AAcpD,MAAa,qCACX,0BAAY,qCAAqC,EAAE;;;;;AAyCrD,MAAa,kBACX,0BAAY,qCAAqC,EAAE;;;;;AAoCrD,MAAa,sCACX,0BAAY,qCAAqC,EAAE;;;;;AAoBrD,MAAa,qCACX,0BAAY,qCAAqC,EAAE;;;;;AAqBrD,MAAa,sCACX,0BAAY,qCAAqC,EAAE;;;;;AAoBrD,MAAa,uCACX,0BAAY,qCAAqC,EAAE;;;;;AAsBrD,MAAa,wCACX,0BAAY,qCAAqC,EAAE;;;;;AA8BrD,MAAa,wCACX,0BAAY,qCAAqC,EAAE;;;;;AAqBrD,MAAa,yCACX,0BAAY,qCAAqC,EAAE;;;;;AAqBrD,MAAa,2BACX,0BAAY,qCAAqC,EAAE;;;;;;AAOrD,IAAY,YAAL,yBAAA,WAAA;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uBAAA,oBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,mBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,oBAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,UAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,+BACX,uBAAS,qCAAqC,CAAC;;;;;;;AAQjD,IAAY,uBAAL,yBAAA,sBAAA;;;;;;CAML,qBAAA,qBAAA,wCAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,sBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,oBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,6BACX,uBAAS,qCAAqC,CAAC;;;;;;AAOjD,IAAY,wBAAL,yBAAA,uBAAA;;;;;;CAML,sBAAA,sBAAA,yCAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,qBAAA,KAAA;;;;;;CAOA,sBAAA,sBAAA,wBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,8BACX,uBAAS,qCAAqC,CAAC;;;;;;;;;;;;AAajD,MAAa,sBAoEX,0BAAY,qCAAqC,CAAC"}
|
|
1
|
+
{"version":3,"file":"notifications_pb.js","names":[],"sources":["../../../../src/gen/notifications/v1/notifications_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file notifications/v1/notifications.proto (package notifications.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 { AlertDirection, AlertPriceSource } from \"../../alerts/v1/price_alerts_pb.js\";\nimport { file_alerts_v1_price_alerts } from \"../../alerts/v1/price_alerts_pb.js\";\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 notifications/v1/notifications.proto.\n */\nexport const file_notifications_v1_notifications: GenFile = /*@__PURE__*/\n fileDesc(\"CiRub3RpZmljYXRpb25zL3YxL25vdGlmaWNhdGlvbnMucHJvdG8SEG5vdGlmaWNhdGlvbnMudjEiOAoLRXJyb3JEZXRhaWwSKQoEY29kZRgBIAEoDjIbLm5vdGlmaWNhdGlvbnMudjEuRXJyb3JDb2RlIuEECgxOb3RpZmljYXRpb24SFwoPbm90aWZpY2F0aW9uX2lkGAEgASgGEjAKBHR5cGUYAiABKA4yIi5ub3RpZmljYXRpb25zLnYxLk5vdGlmaWNhdGlvblR5cGUSOAoIY2F0ZWdvcnkYAyABKA4yJi5ub3RpZmljYXRpb25zLnYxLk5vdGlmaWNhdGlvbkNhdGVnb3J5Eg0KBXRpdGxlGAQgASgJEgwKBHRleHQYBSABKAkSLgoKY3JlYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKwoHcmVhZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASOQoLcHJpY2VfYWxlcnQYCiABKAsyIi5ub3RpZmljYXRpb25zLnYxLlByaWNlQWxlcnROb3RpY2VIABJFChF0ZWxlZ3JhbV9hcHByb3ZhbBgLIAEoCzIoLm5vdGlmaWNhdGlvbnMudjEuVGVsZWdyYW1BcHByb3ZhbE5vdGljZUgAEkMKEGJyb2tlcl9hbGxvd2xpc3QYDCABKAsyJy5ub3RpZmljYXRpb25zLnYxLkJyb2tlckFsbG93bGlzdE5vdGljZUgAEj0KDXRlbGVncmFtX2xpbmsYDSABKAsyJC5ub3RpZmljYXRpb25zLnYxLlRlbGVncmFtTGlua05vdGljZUgAEkIKEGFkbWluX2tleV9hY3Rpb24YDiABKAsyJi5ub3Rp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jEuTWFya05vdGlmaWNhdGlvbnNVbnJlYWRSZXNwb25zZSIDkAICEoYBChhNYXJrQWxsTm90aWZpY2F0aW9uc1JlYWQSMS5ub3RpZmljYXRpb25zLnYxLk1hcmtBbGxOb3RpZmljYXRpb25zUmVhZFJlcXVlc3QaMi5ub3RpZmljYXRpb25zLnYxLk1hcmtBbGxOb3RpZmljYXRpb25zUmVhZFJlc3BvbnNlIgOQAgIaAEJOWkxnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL25vdGlmaWNhdGlvbnMvdjE7bm90aWZpY2F0aW9uc3YxYgZwcm90bzM=\", [file_alerts_v1_price_alerts, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * ErrorDetail is attached to Notification API errors as an error detail of\n * type notifications.v1.ErrorDetail.\n *\n * @generated from message notifications.v1.ErrorDetail\n */\nexport type ErrorDetail = Message<\"notifications.v1.ErrorDetail\"> & {\n /**\n * Stable error code.\n *\n * @generated from field: notifications.v1.ErrorCode code = 1;\n */\n code: ErrorCode;\n};\n\n/**\n * Describes the message notifications.v1.ErrorDetail.\n * Use `create(ErrorDetailSchema)` to create a new message.\n */\nexport const ErrorDetailSchema: GenMessage<ErrorDetail> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 0);\n\n/**\n * Notification is one notification of the caller.\n *\n * @generated from message notifications.v1.Notification\n */\nexport type Notification = Message<\"notifications.v1.Notification\"> & {\n /**\n * Public notification ID.\n *\n * @generated from field: fixed64 notification_id = 1;\n */\n notificationId: bigint;\n\n /**\n * What the notification reports.\n *\n * @generated from field: notifications.v1.NotificationType type = 2;\n */\n type: NotificationType;\n\n /**\n * Category of the type.\n *\n * @generated from field: notifications.v1.NotificationCategory category = 3;\n */\n category: NotificationCategory;\n\n /**\n * Short plain-text title, the same for every notification of a type, for\n * example \"Price alert\".\n *\n * @generated from field: string title = 4;\n */\n title: string;\n\n /**\n * Plain-text summary of what happened, at most 4096 bytes. It may span\n * several lines.\n *\n * @generated from field: string text = 5;\n */\n text: string;\n\n /**\n * When the notification was created.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 6;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * When the caller marked it read. Omitted while it is unread.\n *\n * @generated from field: google.protobuf.Timestamp read_at = 7;\n */\n readAt?: Timestamp | undefined;\n\n /**\n * What happened, as typed values. Exactly one is set, the one type names.\n * A client that does not recognize the type, for example one added after\n * it was built, shows the title and text only.\n *\n * @generated from oneof notifications.v1.Notification.detail\n */\n detail: {\n /**\n * The price alert that fired.\n *\n * @generated from field: notifications.v1.PriceAlertNotice price_alert = 10;\n */\n value: PriceAlertNotice;\n case: \"priceAlert\";\n } | {\n /**\n * The action approved from the linked Telegram account.\n *\n * @generated from field: notifications.v1.TelegramApprovalNotice telegram_approval = 11;\n */\n value: TelegramApprovalNotice;\n case: \"telegramApproval\";\n } | {\n /**\n * The broker vault payout address change.\n *\n * @generated from field: notifications.v1.BrokerAllowlistNotice broker_allowlist = 12;\n */\n value: BrokerAllowlistNotice;\n case: \"brokerAllowlist\";\n } | {\n /**\n * The Telegram account linked.\n *\n * @generated from field: notifications.v1.TelegramLinkNotice telegram_link = 13;\n */\n value: TelegramLinkNotice;\n case: \"telegramLink\";\n } | {\n /**\n * The admin API key's change.\n *\n * @generated from field: notifications.v1.AdminKeyActionNotice admin_key_action = 14;\n */\n value: AdminKeyActionNotice;\n case: \"adminKeyAction\";\n } | { case: undefined; value?: undefined };\n};\n\n/**\n * Describes the message notifications.v1.Notification.\n * Use `create(NotificationSchema)` to create a new message.\n */\nexport const NotificationSchema: GenMessage<Notification> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 1);\n\n/**\n * PriceAlertNotice is a price alert that fired, as it was when it fired.\n *\n * @generated from message notifications.v1.PriceAlertNotice\n */\nexport type PriceAlertNotice = Message<\"notifications.v1.PriceAlertNotice\"> & {\n /**\n * Public alert ID, as the Price Alert API returns it.\n *\n * @generated from field: fixed64 alert_id = 1;\n */\n alertId: bigint;\n\n /**\n * Numeric spot market identifier; resolve its symbol with GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 2;\n */\n symbolId: number;\n\n /**\n * Price crossing the alert waited for.\n *\n * @generated from field: alerts.v1.AlertDirection direction = 3;\n */\n direction: AlertDirection;\n\n /**\n * Price the alert watched.\n *\n * @generated from field: alerts.v1.AlertPriceSource price_source = 4;\n */\n priceSource: AlertPriceSource;\n\n /**\n * Alert price in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 5;\n */\n priceTicks: bigint;\n\n /**\n * Price that fired the alert, in quote units scaled by 1e9.\n *\n * @generated from field: int64 triggered_price_ticks = 6;\n */\n triggeredPriceTicks: bigint;\n\n /**\n * When the alert fired.\n *\n * @generated from field: google.protobuf.Timestamp triggered_at = 7;\n */\n triggeredAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.PriceAlertNotice.\n * Use `create(PriceAlertNoticeSchema)` to create a new message.\n */\nexport const PriceAlertNoticeSchema: GenMessage<PriceAlertNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 2);\n\n/**\n * NoticeField is one labelled value of a notice, for example \"Market\" and\n * \"BTC/USDT\".\n *\n * @generated from message notifications.v1.NoticeField\n */\nexport type NoticeField = Message<\"notifications.v1.NoticeField\"> & {\n /**\n * Short label, in plain words: 1 to 64 bytes.\n *\n * @generated from field: string label = 1;\n */\n label: string;\n\n /**\n * The value, in plain words, with its unit or asset when it has one: 1 to\n * 256 bytes.\n *\n * @generated from field: string value = 2;\n */\n value: string;\n};\n\n/**\n * Describes the message notifications.v1.NoticeField.\n * Use `create(NoticeFieldSchema)` to create a new message.\n */\nexport const NoticeFieldSchema: GenMessage<NoticeField> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 3);\n\n/**\n * TelegramApprovalNotice is an action approved from the Telegram account\n * linked to the caller's account, as the approval recorded it.\n *\n * @generated from message notifications.v1.TelegramApprovalNotice\n */\nexport type TelegramApprovalNotice = Message<\"notifications.v1.TelegramApprovalNotice\"> & {\n /**\n * The approval's ID, as the Assistant API returns it.\n *\n * @generated from field: fixed64 approval_id = 1;\n */\n approvalId: bigint;\n\n /**\n * What the approval approved.\n *\n * @generated from field: notifications.v1.TelegramApprovalAction action = 2;\n */\n action: TelegramApprovalAction;\n\n /**\n * Public ID of the trading account (sub-account) the action acted on.\n *\n * @generated from field: fixed64 account_id = 3;\n */\n accountId: bigint;\n\n /**\n * What approving did, written from the exact action: 1 to 512 bytes.\n *\n * @generated from field: string summary = 4;\n */\n summary: string;\n\n /**\n * The action's key parameters in display order, such as the market, side,\n * quantity and prices, from the same exact action: at most 16.\n *\n * @generated from field: repeated notifications.v1.NoticeField parameters = 5;\n */\n parameters: NoticeField[];\n\n /**\n * When the approval was given.\n *\n * @generated from field: google.protobuf.Timestamp approved_at = 6;\n */\n approvedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.TelegramApprovalNotice.\n * Use `create(TelegramApprovalNoticeSchema)` to create a new message.\n */\nexport const TelegramApprovalNoticeSchema: GenMessage<TelegramApprovalNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 4);\n\n/**\n * BrokerAllowlistNotice is a change of a QuickSwap broker vault's payout\n * address allowlist, as the broker's records show it. Read the change with\n * QuickSwapBrokerService.ListVaultAllowlistChanges.\n *\n * @generated from message notifications.v1.BrokerAllowlistNotice\n */\nexport type BrokerAllowlistNotice = Message<\"notifications.v1.BrokerAllowlistNotice\"> & {\n /**\n * Broker name.\n *\n * @generated from field: string broker = 1;\n */\n broker: string;\n\n /**\n * Public sub-account ID of the vault.\n *\n * @generated from field: fixed64 vault_account_id = 2;\n */\n vaultAccountId: bigint;\n\n /**\n * Public ID of the change, as ListVaultAllowlistChanges returns it.\n *\n * @generated from field: fixed64 change_id = 3;\n */\n changeId: bigint;\n\n /**\n * What happened to the change.\n *\n * @generated from field: notifications.v1.BrokerAllowlistEvent event = 4;\n */\n event: BrokerAllowlistEvent;\n\n /**\n * What the change does.\n *\n * @generated from field: notifications.v1.BrokerAllowlistAction action = 5;\n */\n action: BrokerAllowlistAction;\n\n /**\n * Destination chain identifier of the address.\n *\n * @generated from field: uint64 destination_chain_id = 6;\n */\n destinationChainId: bigint;\n\n /**\n * The address, in canonical form.\n *\n * @generated from field: string destination_address = 7;\n */\n destinationAddress: string;\n\n /**\n * The requesting member's name for an added address; empty when none.\n *\n * @generated from field: string label = 8;\n */\n label: string;\n\n /**\n * Public account ID of the member who requested the change.\n *\n * @generated from field: fixed64 requested_by_account_id = 9;\n */\n requestedByAccountId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.BrokerAllowlistNotice.\n * Use `create(BrokerAllowlistNoticeSchema)` to create a new message.\n */\nexport const BrokerAllowlistNoticeSchema: GenMessage<BrokerAllowlistNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 5);\n\n/**\n * AdminKeyActionNotice is one change an admin API key of the main account\n * made. The account's activity shows the same change.\n *\n * @generated from message notifications.v1.AdminKeyActionNotice\n */\nexport type AdminKeyActionNotice = Message<\"notifications.v1.AdminKeyActionNotice\"> & {\n /**\n * Opaque identifier of the admin API key that made the change, formatted\n * as \"ak_\" followed by 32 lowercase hex characters.\n *\n * @generated from field: string admin_key_id = 1;\n */\n adminKeyId: string;\n\n /**\n * What the admin key changed.\n *\n * @generated from field: notifications.v1.AdminKeyAction action = 2;\n */\n action: AdminKeyAction;\n\n /**\n * Opaque identifier of the API key changed; empty for a sub-account policy\n * change.\n *\n * @generated from field: string key_id = 3;\n */\n keyId: string;\n\n /**\n * Public ID of the sub-account the change applies to; 0 for the main\n * account, or for an update of a sub-account policy, which applies to\n * every sub-account it is attached to.\n *\n * @generated from field: fixed64 subaccount_id = 4;\n */\n subaccountId: bigint;\n\n /**\n * Public ID of the policy attached or updated; 0 when the change cleared a\n * policy or attached none.\n *\n * @generated from field: fixed64 policy_id = 5;\n */\n policyId: bigint;\n\n /**\n * Source IP address of the admin key's request.\n *\n * @generated from field: string source_ip = 6;\n */\n sourceIp: string;\n\n /**\n * When the change was made.\n *\n * @generated from field: google.protobuf.Timestamp changed_at = 7;\n */\n changedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.AdminKeyActionNotice.\n * Use `create(AdminKeyActionNoticeSchema)` to create a new message.\n */\nexport const AdminKeyActionNoticeSchema: GenMessage<AdminKeyActionNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 6);\n\n/**\n * ListNotificationsRequest lists the caller's notifications.\n *\n * @generated from message notifications.v1.ListNotificationsRequest\n */\nexport type ListNotificationsRequest = Message<\"notifications.v1.ListNotificationsRequest\"> & {\n /**\n * Return only notifications in these categories. Empty returns every\n * category.\n *\n * @generated from field: repeated notifications.v1.NotificationCategory categories = 1;\n */\n categories: NotificationCategory[];\n\n /**\n * Return only read or only unread notifications. Unspecified returns both.\n *\n * @generated from field: notifications.v1.ReadState read_state = 2;\n */\n readState: ReadState;\n\n /**\n * Return only notifications created at or after this time. Omitted means\n * no lower bound.\n *\n * @generated from field: google.protobuf.Timestamp start_time = 3;\n */\n startTime?: Timestamp | undefined;\n\n /**\n * Return only notifications created before this time. Omitted means no\n * upper bound. Must be after start_time when both are set.\n *\n * @generated from field: google.protobuf.Timestamp end_time = 4;\n */\n endTime?: Timestamp | undefined;\n\n /**\n * Maximum number of notifications to return: default 25, max 100.\n *\n * @generated from field: uint32 limit = 5;\n */\n limit: number;\n\n /**\n * Opaque, keyset-backed and exclusive cursor from a previous response's\n * next_page_token. It is bound to the caller, categories, read_state,\n * start_time and end_time; reuse it only with the same values.\n *\n * @generated from field: string page_token = 6;\n */\n pageToken: string;\n};\n\n/**\n * Describes the message notifications.v1.ListNotificationsRequest.\n * Use `create(ListNotificationsRequestSchema)` to create a new message.\n */\nexport const ListNotificationsRequestSchema: GenMessage<ListNotificationsRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 7);\n\n/**\n * ListNotificationsResponse returns one page of the caller's notifications.\n *\n * @generated from message notifications.v1.ListNotificationsResponse\n */\nexport type ListNotificationsResponse = Message<\"notifications.v1.ListNotificationsResponse\"> & {\n /**\n * Notifications, newest first.\n *\n * @generated from field: repeated notifications.v1.Notification notifications = 1;\n */\n notifications: Notification[];\n\n /**\n * Cursor for the next page. Empty when no more results exist.\n *\n * @generated from field: string next_page_token = 2;\n */\n nextPageToken: string;\n};\n\n/**\n * Describes the message notifications.v1.ListNotificationsResponse.\n * Use `create(ListNotificationsResponseSchema)` to create a new message.\n */\nexport const ListNotificationsResponseSchema: GenMessage<ListNotificationsResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 8);\n\n/**\n * GetNotificationRequest reads one notification of the caller.\n *\n * @generated from message notifications.v1.GetNotificationRequest\n */\nexport type GetNotificationRequest = Message<\"notifications.v1.GetNotificationRequest\"> & {\n /**\n * Public notification ID.\n *\n * @generated from field: fixed64 notification_id = 1;\n */\n notificationId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationRequest.\n * Use `create(GetNotificationRequestSchema)` to create a new message.\n */\nexport const GetNotificationRequestSchema: GenMessage<GetNotificationRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 9);\n\n/**\n * GetNotificationResponse returns the notification.\n *\n * @generated from message notifications.v1.GetNotificationResponse\n */\nexport type GetNotificationResponse = Message<\"notifications.v1.GetNotificationResponse\"> & {\n /**\n * The notification.\n *\n * @generated from field: notifications.v1.Notification notification = 1;\n */\n notification?: Notification | undefined;\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationResponse.\n * Use `create(GetNotificationResponseSchema)` to create a new message.\n */\nexport const GetNotificationResponseSchema: GenMessage<GetNotificationResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 10);\n\n/**\n * GetNotificationCountsRequest counts the caller's notifications.\n *\n * @generated from message notifications.v1.GetNotificationCountsRequest\n */\nexport type GetNotificationCountsRequest = Message<\"notifications.v1.GetNotificationCountsRequest\"> & {\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationCountsRequest.\n * Use `create(GetNotificationCountsRequestSchema)` to create a new message.\n */\nexport const GetNotificationCountsRequestSchema: GenMessage<GetNotificationCountsRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 11);\n\n/**\n * TypeCount counts the caller's notifications of one type.\n *\n * @generated from message notifications.v1.TypeCount\n */\nexport type TypeCount = Message<\"notifications.v1.TypeCount\"> & {\n /**\n * The type.\n *\n * @generated from field: notifications.v1.NotificationType type = 1;\n */\n type: NotificationType;\n\n /**\n * Category of the type.\n *\n * @generated from field: notifications.v1.NotificationCategory category = 2;\n */\n category: NotificationCategory;\n\n /**\n * Number of notifications of the type.\n *\n * @generated from field: uint64 total = 3;\n */\n total: bigint;\n\n /**\n * Number of those the caller has not read.\n *\n * @generated from field: uint64 unread = 4;\n */\n unread: bigint;\n};\n\n/**\n * Describes the message notifications.v1.TypeCount.\n * Use `create(TypeCountSchema)` to create a new message.\n */\nexport const TypeCountSchema: GenMessage<TypeCount> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 12);\n\n/**\n * GetNotificationCountsResponse returns exact counts of the caller's\n * notifications, as of one moment.\n *\n * @generated from message notifications.v1.GetNotificationCountsResponse\n */\nexport type GetNotificationCountsResponse = Message<\"notifications.v1.GetNotificationCountsResponse\"> & {\n /**\n * Number of notifications.\n *\n * @generated from field: uint64 total = 1;\n */\n total: bigint;\n\n /**\n * Number of notifications the caller has not read.\n *\n * @generated from field: uint64 unread = 2;\n */\n unread: bigint;\n\n /**\n * Counts of every type, in ascending enum order, including types with no\n * notification.\n *\n * @generated from field: repeated notifications.v1.TypeCount types = 3;\n */\n types: TypeCount[];\n};\n\n/**\n * Describes the message notifications.v1.GetNotificationCountsResponse.\n * Use `create(GetNotificationCountsResponseSchema)` to create a new message.\n */\nexport const GetNotificationCountsResponseSchema: GenMessage<GetNotificationCountsResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 13);\n\n/**\n * MarkNotificationsReadRequest marks notifications of the caller read.\n *\n * @generated from message notifications.v1.MarkNotificationsReadRequest\n */\nexport type MarkNotificationsReadRequest = Message<\"notifications.v1.MarkNotificationsReadRequest\"> & {\n /**\n * Public notification IDs: one to 100, distinct.\n *\n * @generated from field: repeated fixed64 notification_ids = 1;\n */\n notificationIds: bigint[];\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsReadRequest.\n * Use `create(MarkNotificationsReadRequestSchema)` to create a new message.\n */\nexport const MarkNotificationsReadRequestSchema: GenMessage<MarkNotificationsReadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 14);\n\n/**\n * MarkNotificationsReadResponse reports what MarkNotificationsRead changed.\n *\n * @generated from message notifications.v1.MarkNotificationsReadResponse\n */\nexport type MarkNotificationsReadResponse = Message<\"notifications.v1.MarkNotificationsReadResponse\"> & {\n /**\n * Number of notifications this call marked read. Notifications already\n * read are not counted.\n *\n * @generated from field: uint32 changed = 1;\n */\n changed: number;\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsReadResponse.\n * Use `create(MarkNotificationsReadResponseSchema)` to create a new message.\n */\nexport const MarkNotificationsReadResponseSchema: GenMessage<MarkNotificationsReadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 15);\n\n/**\n * MarkNotificationsUnreadRequest marks notifications of the caller unread.\n *\n * @generated from message notifications.v1.MarkNotificationsUnreadRequest\n */\nexport type MarkNotificationsUnreadRequest = Message<\"notifications.v1.MarkNotificationsUnreadRequest\"> & {\n /**\n * Public notification IDs: one to 100, distinct.\n *\n * @generated from field: repeated fixed64 notification_ids = 1;\n */\n notificationIds: bigint[];\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsUnreadRequest.\n * Use `create(MarkNotificationsUnreadRequestSchema)` to create a new message.\n */\nexport const MarkNotificationsUnreadRequestSchema: GenMessage<MarkNotificationsUnreadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 16);\n\n/**\n * MarkNotificationsUnreadResponse reports what MarkNotificationsUnread\n * changed.\n *\n * @generated from message notifications.v1.MarkNotificationsUnreadResponse\n */\nexport type MarkNotificationsUnreadResponse = Message<\"notifications.v1.MarkNotificationsUnreadResponse\"> & {\n /**\n * Number of notifications this call marked unread. Notifications already\n * unread are not counted.\n *\n * @generated from field: uint32 changed = 1;\n */\n changed: number;\n};\n\n/**\n * Describes the message notifications.v1.MarkNotificationsUnreadResponse.\n * Use `create(MarkNotificationsUnreadResponseSchema)` to create a new message.\n */\nexport const MarkNotificationsUnreadResponseSchema: GenMessage<MarkNotificationsUnreadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 17);\n\n/**\n * MarkAllNotificationsReadRequest marks every unread notification of the\n * caller read, within the given categories.\n *\n * @generated from message notifications.v1.MarkAllNotificationsReadRequest\n */\nexport type MarkAllNotificationsReadRequest = Message<\"notifications.v1.MarkAllNotificationsReadRequest\"> & {\n /**\n * Mark only notifications in these categories. Empty marks every category.\n *\n * @generated from field: repeated notifications.v1.NotificationCategory categories = 1;\n */\n categories: NotificationCategory[];\n\n /**\n * Mark only this notification and older ones: pass the newest notification\n * the caller has shown, so one that arrives later stays unread. Zero marks\n * every notification that exists when the call is processed.\n *\n * @generated from field: fixed64 through_notification_id = 2;\n */\n throughNotificationId: bigint;\n};\n\n/**\n * Describes the message notifications.v1.MarkAllNotificationsReadRequest.\n * Use `create(MarkAllNotificationsReadRequestSchema)` to create a new message.\n */\nexport const MarkAllNotificationsReadRequestSchema: GenMessage<MarkAllNotificationsReadRequest> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 18);\n\n/**\n * MarkAllNotificationsReadResponse reports what MarkAllNotificationsRead\n * changed.\n *\n * @generated from message notifications.v1.MarkAllNotificationsReadResponse\n */\nexport type MarkAllNotificationsReadResponse = Message<\"notifications.v1.MarkAllNotificationsReadResponse\"> & {\n /**\n * Number of notifications this call marked read.\n *\n * @generated from field: uint64 changed = 1;\n */\n changed: bigint;\n};\n\n/**\n * Describes the message notifications.v1.MarkAllNotificationsReadResponse.\n * Use `create(MarkAllNotificationsReadResponseSchema)` to create a new message.\n */\nexport const MarkAllNotificationsReadResponseSchema: GenMessage<MarkAllNotificationsReadResponse> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 19);\n\n/**\n * TelegramLinkNotice is a Telegram account linked to the caller's account, as\n * the link was confirmed.\n *\n * @generated from message notifications.v1.TelegramLinkNotice\n */\nexport type TelegramLinkNotice = Message<\"notifications.v1.TelegramLinkNotice\"> & {\n /**\n * When the caller confirmed the link.\n *\n * @generated from field: google.protobuf.Timestamp linked_at = 1;\n */\n linkedAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message notifications.v1.TelegramLinkNotice.\n * Use `create(TelegramLinkNoticeSchema)` to create a new message.\n */\nexport const TelegramLinkNoticeSchema: GenMessage<TelegramLinkNotice> = /*@__PURE__*/\n messageDesc(file_notifications_v1_notifications, 20);\n\n/**\n * ErrorCode identifies a Notification API error.\n *\n * @generated from enum notifications.v1.ErrorCode\n */\nexport enum ErrorCode {\n /**\n * No code.\n *\n * @generated from enum value: ERROR_UNSPECIFIED = 0;\n */\n ERROR_UNSPECIFIED = 0,\n\n /**\n * No notification of the caller has this ID. Another account's\n * notification is reported the same way.\n *\n * @generated from enum value: NOTIFICATION_NOT_FOUND = 1;\n */\n NOTIFICATION_NOT_FOUND = 1,\n\n /**\n * A required service is temporarily unavailable; retry the same request.\n *\n * @generated from enum value: SERVICE_UNAVAILABLE = 2;\n */\n SERVICE_UNAVAILABLE = 2,\n}\n\n/**\n * Describes the enum notifications.v1.ErrorCode.\n */\nexport const ErrorCodeSchema: GenEnum<ErrorCode> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 0);\n\n/**\n * NotificationType is what a notification reports. Each type belongs to one\n * category, and its detail is the matching field of Notification.detail.\n *\n * @generated from enum notifications.v1.NotificationType\n */\nexport enum NotificationType {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: TYPE_UNSPECIFIED = 0;\n */\n TYPE_UNSPECIFIED = 0,\n\n /**\n * A price alert of the caller fired. Category ALERTS; detail price_alert.\n *\n * @generated from enum value: PRICE_ALERT = 1;\n */\n PRICE_ALERT = 1,\n\n /**\n * An action was approved from the Telegram account linked to the caller's\n * account. Category SECURITY; detail telegram_approval. If the caller did\n * not approve it, the linked Telegram account may be in someone else's\n * hands: unlink it and review the account's sessions.\n *\n * @generated from enum value: TELEGRAM_APPROVAL = 2;\n */\n TELEGRAM_APPROVAL = 2,\n\n /**\n * A payout address of a QuickSwap broker vault the caller is an Owner or\n * Finance member of was requested to be added or removed, or the change\n * was applied or not. Category SECURITY; detail broker_allowlist. If no\n * member of the broker requested it, act before the address becomes\n * payable: an added address is payable 24 hours after it is listed.\n *\n * @generated from enum value: BROKER_ALLOWLIST_CHANGE = 3;\n */\n BROKER_ALLOWLIST_CHANGE = 3,\n\n /**\n * A Telegram account was linked to the caller's account. Category SECURITY;\n * detail telegram_link. The linked Telegram account also receives it. If the\n * caller did not link it, unlink it and review the account's sessions.\n *\n * @generated from enum value: TELEGRAM_LINKED = 4;\n */\n TELEGRAM_LINKED = 4,\n\n /**\n * An admin API key of the caller's main account created, changed or\n * revoked an API key, or changed an API key or sub-account policy.\n * Category SECURITY; detail admin_key_action. If nobody on the account\n * made the change, revoke the admin key and review the account's API keys.\n *\n * @generated from enum value: ADMIN_KEY_ACTION = 5;\n */\n ADMIN_KEY_ACTION = 5,\n}\n\n/**\n * Describes the enum notifications.v1.NotificationType.\n */\nexport const NotificationTypeSchema: GenEnum<NotificationType> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 1);\n\n/**\n * NotificationCategory groups notification types for filtering and counts.\n *\n * @generated from enum notifications.v1.NotificationCategory\n */\nexport enum NotificationCategory {\n /**\n * Not set. Rejected in requests and never returned.\n *\n * @generated from enum value: CATEGORY_UNSPECIFIED = 0;\n */\n CATEGORY_UNSPECIFIED = 0,\n\n /**\n * Alerts the caller set, such as price alerts.\n *\n * @generated from enum value: ALERTS = 1;\n */\n ALERTS = 1,\n\n /**\n * Security of the account, such as actions approved from a linked\n * Telegram account.\n *\n * @generated from enum value: SECURITY = 2;\n */\n SECURITY = 2,\n}\n\n/**\n * Describes the enum notifications.v1.NotificationCategory.\n */\nexport const NotificationCategorySchema: GenEnum<NotificationCategory> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 2);\n\n/**\n * ReadState filters notifications by whether the caller has read them.\n *\n * @generated from enum notifications.v1.ReadState\n */\nexport enum ReadState {\n /**\n * Read and unread notifications.\n *\n * @generated from enum value: READ_STATE_UNSPECIFIED = 0;\n */\n READ_STATE_UNSPECIFIED = 0,\n\n /**\n * Only notifications the caller has not read.\n *\n * @generated from enum value: UNREAD = 1;\n */\n UNREAD = 1,\n\n /**\n * Only notifications the caller has read.\n *\n * @generated from enum value: READ = 2;\n */\n READ = 2,\n}\n\n/**\n * Describes the enum notifications.v1.ReadState.\n */\nexport const ReadStateSchema: GenEnum<ReadState> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 3);\n\n/**\n * TelegramApprovalAction is what an approval from Telegram approved.\n *\n * @generated from enum notifications.v1.TelegramApprovalAction\n */\nexport enum TelegramApprovalAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: ACTION_UNSPECIFIED = 0;\n */\n ACTION_UNSPECIFIED = 0,\n\n /**\n * Place one order.\n *\n * @generated from enum value: PLACE_ORDER = 1;\n */\n PLACE_ORDER = 1,\n\n /**\n * Place several limit orders together.\n *\n * @generated from enum value: PLACE_ORDERS = 2;\n */\n PLACE_ORDERS = 2,\n\n /**\n * Change open limit orders.\n *\n * @generated from enum value: MODIFY_ORDERS = 3;\n */\n MODIFY_ORDERS = 3,\n\n /**\n * Cancel an order or a trigger.\n *\n * @generated from enum value: CANCEL_ORDER = 4;\n */\n CANCEL_ORDER = 4,\n\n /**\n * Cancel every open order of a market or of the account.\n *\n * @generated from enum value: CANCEL_ALL_ORDERS = 5;\n */\n CANCEL_ALL_ORDERS = 5,\n\n /**\n * Change a trigger.\n *\n * @generated from enum value: MODIFY_TRIGGER = 6;\n */\n MODIFY_TRIGGER = 6,\n\n /**\n * Pause a trigger.\n *\n * @generated from enum value: PAUSE_TRIGGER = 7;\n */\n PAUSE_TRIGGER = 7,\n\n /**\n * Resume a paused trigger.\n *\n * @generated from enum value: RESUME_TRIGGER = 8;\n */\n RESUME_TRIGGER = 8,\n\n /**\n * Swap between assets within the trading account.\n *\n * @generated from enum value: SWAP = 9;\n */\n SWAP = 9,\n\n /**\n * Convert dust, balances too small to trade, into one asset within the\n * trading account.\n *\n * @generated from enum value: CONVERT_DUST = 10;\n */\n CONVERT_DUST = 10,\n}\n\n/**\n * Describes the enum notifications.v1.TelegramApprovalAction.\n */\nexport const TelegramApprovalActionSchema: GenEnum<TelegramApprovalAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 4);\n\n/**\n * BrokerAllowlistEvent is what happened to a broker vault payout address\n * change.\n *\n * @generated from enum notifications.v1.BrokerAllowlistEvent\n */\nexport enum BrokerAllowlistEvent {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: BROKER_ALLOWLIST_EVENT_UNSPECIFIED = 0;\n */\n BROKER_ALLOWLIST_EVENT_UNSPECIFIED = 0,\n\n /**\n * A member requested the change.\n *\n * @generated from enum value: CHANGE_REQUESTED = 1;\n */\n CHANGE_REQUESTED = 1,\n\n /**\n * The change was applied.\n *\n * @generated from enum value: CHANGE_APPLIED = 2;\n */\n CHANGE_APPLIED = 2,\n\n /**\n * The change was not applied, and never will be; nothing changed.\n *\n * @generated from enum value: CHANGE_NOT_APPLIED = 3;\n */\n CHANGE_NOT_APPLIED = 3,\n}\n\n/**\n * Describes the enum notifications.v1.BrokerAllowlistEvent.\n */\nexport const BrokerAllowlistEventSchema: GenEnum<BrokerAllowlistEvent> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 5);\n\n/**\n * BrokerAllowlistAction is what a broker vault payout address change does.\n *\n * @generated from enum notifications.v1.BrokerAllowlistAction\n */\nexport enum BrokerAllowlistAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: BROKER_ALLOWLIST_ACTION_UNSPECIFIED = 0;\n */\n BROKER_ALLOWLIST_ACTION_UNSPECIFIED = 0,\n\n /**\n * Adds the address to the vault's payout address allowlist.\n *\n * @generated from enum value: ADD_DESTINATION = 1;\n */\n ADD_DESTINATION = 1,\n\n /**\n * Removes the address from the vault's payout address allowlist.\n *\n * @generated from enum value: REMOVE_DESTINATION = 2;\n */\n REMOVE_DESTINATION = 2,\n}\n\n/**\n * Describes the enum notifications.v1.BrokerAllowlistAction.\n */\nexport const BrokerAllowlistActionSchema: GenEnum<BrokerAllowlistAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 6);\n\n/**\n * AdminKeyAction is what an admin API key changed.\n *\n * @generated from enum notifications.v1.AdminKeyAction\n */\nexport enum AdminKeyAction {\n /**\n * Not set. Never returned.\n *\n * @generated from enum value: ADMIN_KEY_ACTION_UNSPECIFIED = 0;\n */\n ADMIN_KEY_ACTION_UNSPECIFIED = 0,\n\n /**\n * Created an API key (CreateApiKey).\n *\n * @generated from enum value: CREATE_API_KEY = 1;\n */\n CREATE_API_KEY = 1,\n\n /**\n * Updated an API key (UpdateApiKey).\n *\n * @generated from enum value: UPDATE_API_KEY = 2;\n */\n UPDATE_API_KEY = 2,\n\n /**\n * Revoked an API key (DeleteApiKey).\n *\n * @generated from enum value: DELETE_API_KEY = 3;\n */\n DELETE_API_KEY = 3,\n\n /**\n * Attached or cleared an API key's policy (SetApiKeyPolicy).\n *\n * @generated from enum value: SET_API_KEY_POLICY = 4;\n */\n SET_API_KEY_POLICY = 4,\n\n /**\n * Attached or cleared a sub-account's policy (SetSubaccountPolicy).\n *\n * @generated from enum value: SET_SUBACCOUNT_POLICY = 5;\n */\n SET_SUBACCOUNT_POLICY = 5,\n\n /**\n * Updated a sub-account policy (UpdateSubaccountPolicy).\n *\n * @generated from enum value: UPDATE_SUBACCOUNT_POLICY = 6;\n */\n UPDATE_SUBACCOUNT_POLICY = 6,\n}\n\n/**\n * Describes the enum notifications.v1.AdminKeyAction.\n */\nexport const AdminKeyActionSchema: GenEnum<AdminKeyAction> = /*@__PURE__*/\n enumDesc(file_notifications_v1_notifications, 7);\n\n/**\n * NotificationService serves the caller's notification center: the\n * notifications of the caller's main account. ListNotifications,\n * GetNotification and GetNotificationCounts also take an API key of the main\n * account whose policy grants READ_NOTIFICATIONS; a key scoped to a\n * sub-account is refused with PERMISSION_DENIED (AUTH_API_KEY_ACCESS_DENIED),\n * since notifications belong to the main account. Marking notifications read\n * or unread takes a session token only.\n *\n * @generated from service notifications.v1.NotificationService\n */\nexport const NotificationService: GenService<{\n /**\n * ListNotifications lists the caller's notifications, newest first.\n *\n * @generated from rpc notifications.v1.NotificationService.ListNotifications\n */\n listNotifications: {\n methodKind: \"unary\";\n input: typeof ListNotificationsRequestSchema;\n output: typeof ListNotificationsResponseSchema;\n },\n /**\n * GetNotification reads one notification of the caller.\n *\n * @generated from rpc notifications.v1.NotificationService.GetNotification\n */\n getNotification: {\n methodKind: \"unary\";\n input: typeof GetNotificationRequestSchema;\n output: typeof GetNotificationResponseSchema;\n },\n /**\n * GetNotificationCounts counts the caller's notifications and unread\n * notifications, by type.\n *\n * @generated from rpc notifications.v1.NotificationService.GetNotificationCounts\n */\n getNotificationCounts: {\n methodKind: \"unary\";\n input: typeof GetNotificationCountsRequestSchema;\n output: typeof GetNotificationCountsResponseSchema;\n },\n /**\n * MarkNotificationsRead marks notifications of the caller read. Either\n * every ID is the caller's and each is marked, or nothing changes and the\n * call fails with NOTIFICATION_NOT_FOUND.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkNotificationsRead\n */\n markNotificationsRead: {\n methodKind: \"unary\";\n input: typeof MarkNotificationsReadRequestSchema;\n output: typeof MarkNotificationsReadResponseSchema;\n },\n /**\n * MarkNotificationsUnread marks notifications of the caller unread. Either\n * every ID is the caller's and each is marked, or nothing changes and the\n * call fails with NOTIFICATION_NOT_FOUND.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkNotificationsUnread\n */\n markNotificationsUnread: {\n methodKind: \"unary\";\n input: typeof MarkNotificationsUnreadRequestSchema;\n output: typeof MarkNotificationsUnreadResponseSchema;\n },\n /**\n * MarkAllNotificationsRead marks every unread notification of the caller\n * read, within the given categories and up to the given notification.\n *\n * @generated from rpc notifications.v1.NotificationService.MarkAllNotificationsRead\n */\n markAllNotificationsRead: {\n methodKind: \"unary\";\n input: typeof MarkAllNotificationsReadRequestSchema;\n output: typeof MarkAllNotificationsReadResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_notifications_v1_notifications, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,sCACX,uBAAS,wiNAAwiN;CAAC;CAA6B;CAAgC;AAA0B,CAAC;;;;;AAqB5oN,MAAa,oBACX,0BAAY,qCAAqC,CAAC;;;;;AAiHpD,MAAa,qBACX,0BAAY,qCAAqC,CAAC;;;;;AA8DpD,MAAa,yBACX,0BAAY,qCAAqC,CAAC;;;;;AA6BpD,MAAa,oBACX,0BAAY,qCAAqC,CAAC;;;;;AAyDpD,MAAa,+BACX,0BAAY,qCAAqC,CAAC;;;;;AA8EpD,MAAa,8BACX,0BAAY,qCAAqC,CAAC;;;;;AAoEpD,MAAa,6BACX,0BAAY,qCAAqC,CAAC;;;;;AA4DpD,MAAa,iCACX,0BAAY,qCAAqC,CAAC;;;;;AA2BpD,MAAa,kCACX,0BAAY,qCAAqC,CAAC;;;;;AAoBpD,MAAa,+BACX,0BAAY,qCAAqC,CAAC;;;;;AAoBpD,MAAa,gCACX,0BAAY,qCAAqC,EAAE;;;;;AAcrD,MAAa,qCACX,0BAAY,qCAAqC,EAAE;;;;;AAyCrD,MAAa,kBACX,0BAAY,qCAAqC,EAAE;;;;;AAoCr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;CAML,eAAA,eAAA,kCAAA,KAAA;;;;;;CAOA,eAAA,eAAA,oBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,oBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,oBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,wBAAA,KAAA;;;;;;CAOA,eAAA,eAAA,2BAAA,KAAA;;;;;;CAOA,eAAA,eAAA,8BAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,uBACX,uBAAS,qCAAqC,CAAC;;;;;;;;;;;;AAajD,MAAa,sBAoEX,0BAAY,qCAAqC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DepthTier } from "../../polyester/type/v1/depth_tier_pb.js";
|
|
2
2
|
import { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import { Message } from "@bufbuild/protobuf";
|
|
4
5
|
declare namespace orderbook_pb_d_exports {
|
|
5
6
|
export { GetOrderBookRequest, GetOrderBookRequestSchema, GetOrderBookResponse, GetOrderBookResponseSchema, OrderBookDelta, OrderBookDeltaSchema, OrderbookService, PriceLevel, PriceLevelSchema, file_orderbook_v1_orderbook };
|
|
6
7
|
}
|
|
@@ -21,13 +22,13 @@ type GetOrderBookRequest = Message<"orderbook.v1.GetOrderBookRequest"> & {
|
|
|
21
22
|
*/
|
|
22
23
|
symbolId: number;
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
25
|
+
* Price levels per side. Every tier is served; DEPTH_UNSPECIFIED selects
|
|
26
|
+
* DEPTH_50. To follow the book in real time, subscribe to the order book
|
|
27
|
+
* stream at a streamed tier, then fetch this snapshot at exactly that tier.
|
|
27
28
|
*
|
|
28
|
-
* @generated from field:
|
|
29
|
+
* @generated from field: polyester.type.v1.DepthTier depth = 2;
|
|
29
30
|
*/
|
|
30
|
-
depth:
|
|
31
|
+
depth: DepthTier;
|
|
31
32
|
};
|
|
32
33
|
/**
|
|
33
34
|
* Describes the message orderbook.v1.GetOrderBookRequest.
|
|
@@ -121,12 +122,12 @@ type GetOrderBookResponse = Message<"orderbook.v1.GetOrderBookResponse"> & {
|
|
|
121
122
|
*/
|
|
122
123
|
bookEpoch: bigint;
|
|
123
124
|
/**
|
|
124
|
-
*
|
|
125
|
-
* request
|
|
125
|
+
* Tier this snapshot was served at: the request's depth, or DEPTH_50 when
|
|
126
|
+
* the request left it unset. Set in every response, available or not.
|
|
126
127
|
*
|
|
127
|
-
* @generated from field:
|
|
128
|
+
* @generated from field: polyester.type.v1.DepthTier depth = 9;
|
|
128
129
|
*/
|
|
129
|
-
|
|
130
|
+
depth: DepthTier;
|
|
130
131
|
};
|
|
131
132
|
/**
|
|
132
133
|
* Describes the message orderbook.v1.GetOrderBookResponse.
|
|
@@ -147,7 +148,8 @@ declare const GetOrderBookResponseSchema: GenMessage<GetOrderBookResponse>;
|
|
|
147
148
|
* A reset carrying the full view is sent periodically, currently about every
|
|
148
149
|
* 30 seconds, and after a sequence gap.
|
|
149
150
|
*
|
|
150
|
-
* To start, subscribe, then fetch GetOrderBook
|
|
151
|
+
* To start, subscribe at a streamed tier, then fetch GetOrderBook at exactly
|
|
152
|
+
* that tier. Drop
|
|
151
153
|
* deltas whose book_seq_end is at most the snapshot's book_seq, and apply the
|
|
152
154
|
* first delta only when its book_seq_start equals that book_seq; then apply
|
|
153
155
|
* each delta only when its book_seq_start equals the previous book_seq_end.
|
|
@@ -215,8 +217,8 @@ declare const OrderBookDeltaSchema: GenMessage<OrderBookDelta>;
|
|
|
215
217
|
declare const OrderbookService: GenService<{
|
|
216
218
|
/**
|
|
217
219
|
* Retrieve a spot order book depth snapshot for a symbol.
|
|
218
|
-
* Supports a selectable depth per side, up to
|
|
219
|
-
*
|
|
220
|
+
* Supports a selectable depth tier per side, up to 5000 levels, and returns
|
|
221
|
+
* best bid/ask levels.
|
|
220
222
|
*
|
|
221
223
|
* @generated from rpc orderbook.v1.OrderbookService.GetOrderBook
|
|
222
224
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderbook_pb.d.ts","names":[],"sources":["../../../../src/gen/orderbook/v1/orderbook_pb.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"orderbook_pb.d.ts","names":[],"sources":["../../../../src/gen/orderbook/v1/orderbook_pb.ts"],"mappings":";;;;;;;;;;cAgBa,6BAA6B;;;;;;KAQ9B,sBAAsB;;;;;;EAMhC;;;;;;;;EASA,OAAO;;;;;;cAOI,2BAA2B,WAAW;;;;;;;KASvC,aAAa;;;;;;EAMvB;;;;;;EAOA;;;;;;cAOW,kBAAkB,WAAW;;;;;;;;;;KAY9B,uBAAuB;;;;;;EAMjC;;;;;;;EAQA;;;;;;;EAQA,MAAM;;;;;;;EAQN,MAAM;;;;;;EAON,KAAK;;;;;;;;;EAUL;;;;;;;;;EAUA;;;;;;;EAQA,OAAO;;;;;;cAOI,4BAA4B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;KA0BxC,iBAAiB;;;;;;EAM3B;;;;;;;;EASA;;;;;;;;EASA;;;;;;EAOA,MAAM;;;;;;EAON,MAAM;;;;;;;EAQN;;;;;;EAOA,KAAK;;;;;;cAOM,sBAAsB,WAAW;;;;cAMjC,kBAAkB;;;;;;;;EAQ7B;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1,5 +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 { file_polyester_type_v1_depth_tier } from "../../polyester/type/v1/depth_tier_pb.js";
|
|
3
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
4
5
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
6
|
//#region src/gen/orderbook/v1/orderbook_pb.ts
|
|
@@ -14,7 +15,11 @@ var orderbook_pb_exports = /* @__PURE__ */ __exportAll({
|
|
|
14
15
|
/**
|
|
15
16
|
* Describes the file orderbook/v1/orderbook.proto.
|
|
16
17
|
*/
|
|
17
|
-
const file_orderbook_v1_orderbook = /*@__PURE__*/ fileDesc("
|
|
18
|
+
const file_orderbook_v1_orderbook = /*@__PURE__*/ fileDesc("ChxvcmRlcmJvb2svdjEvb3JkZXJib29rLnByb3RvEgxvcmRlcmJvb2sudjEiWQoTR2V0T3JkZXJCb29rUmVxdWVzdBITCglzeW1ib2xfaWQYASABKA1CABItCgVkZXB0aBgCIAEoDjIcLnBvbHllc3Rlci50eXBlLnYxLkRlcHRoVGllckIAIjUKClByaWNlTGV2ZWwSEwoLcHJpY2VfdGlja3MYASABKAMSEgoKcXR5X3NjYWxlZBgCIAEoAyKHAgoUR2V0T3JkZXJCb29rUmVzcG9uc2USEQoJc3ltYm9sX2lkGAEgASgNEhAKCGJvb2tfc2VxGAIgASgEEiYKBGJpZHMYAyADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBImCgRhc2tzGAQgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoCdHMYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhEKCWF2YWlsYWJsZRgGIAEoCBISCgpib29rX2Vwb2NoGAcgASgEEisKBWRlcHRoGAkgASgOMhwucG9seWVzdGVyLnR5cGUudjEuRGVwdGhUaWVyItgBCg5PcmRlckJvb2tEZWx0YRIRCglzeW1ib2xfaWQYASABKA0SFgoOYm9va19zZXFfc3RhcnQYAiABKAQSFAoMYm9va19zZXFfZW5kGAMgASgEEiYKBGJpZHMYBCADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBImCgRhc2tzGAUgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSDQoFcmVzZXQYBiABKAgSJgoCdHMYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wMm0KEE9yZGVyYm9va1NlcnZpY2USVwoMR2V0T3JkZXJCb29rEiEub3JkZXJib29rLnYxLkdldE9yZGVyQm9va1JlcXVlc3QaIi5vcmRlcmJvb2sudjEuR2V0T3JkZXJCb29rUmVzcG9uc2UiABoAQkZaRGdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vb3JkZXJib29rL3YxO29yZGVyYm9va3YxYgZwcm90bzM=", [
|
|
19
|
+
file_google_protobuf_timestamp,
|
|
20
|
+
file_polyester_api_options,
|
|
21
|
+
file_polyester_type_v1_depth_tier
|
|
22
|
+
]);
|
|
18
23
|
/**
|
|
19
24
|
* Describes the message orderbook.v1.GetOrderBookRequest.
|
|
20
25
|
* Use `create(GetOrderBookRequestSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orderbook_pb.js","names":[],"sources":["../../../../src/gen/orderbook/v1/orderbook_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file orderbook/v1/orderbook.proto (package orderbook.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 orderbook/v1/orderbook.proto.\n */\nexport const file_orderbook_v1_orderbook: GenFile = /*@__PURE__*/\n fileDesc(\"ChxvcmRlcmJvb2svdjEvb3JkZXJib29rLnByb3RvEgxvcmRlcmJvb2sudjEiOQoTR2V0T3JkZXJCb29rUmVxdWVzdBITCglzeW1ib2xfaWQYASABKA1CABINCgVkZXB0aBgDIAEoDSI1CgpQcmljZUxldmVsEhMKC3ByaWNlX3RpY2tzGAEgASgDEhIKCnF0eV9zY2FsZWQYAiABKAMi7QEKFEdldE9yZGVyQm9va1Jlc3BvbnNlEhEKCXN5bWJvbF9pZBgBIAEoDRIQCghib29rX3NlcRgCIAEoBBImCgRiaWRzGAMgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoEYXNrcxgEIAMoCzIYLm9yZGVyYm9vay52MS5QcmljZUxldmVsEiYKAnRzGAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIRCglhdmFpbGFibGUYBiABKAgSEgoKYm9va19lcG9jaBgHIAEoBBIRCgltYXhfZGVwdGgYCCABKA0i2AEKDk9yZGVyQm9va0RlbHRhEhEKCXN5bWJvbF9pZBgBIAEoDRIWCg5ib29rX3NlcV9zdGFydBgCIAEoBBIUCgxib29rX3NlcV9lbmQYAyABKAQSJgoEYmlkcxgEIAMoCzIYLm9yZGVyYm9vay52MS5QcmljZUxldmVsEiYKBGFza3MYBSADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBINCgVyZXNldBgGIAEoCBImCgJ0cxgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAybQoQT3JkZXJib29rU2VydmljZRJXCgxHZXRPcmRlckJvb2sSIS5vcmRlcmJvb2sudjEuR2V0T3JkZXJCb29rUmVxdWVzdBoiLm9yZGVyYm9vay52MS5HZXRPcmRlckJvb2tSZXNwb25zZSIAGgBCRlpEZ2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9vcmRlcmJvb2svdjE7b3JkZXJib29rdjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * GetOrderBookRequest describes a ConnectRPC snapshot request.\n *\n * @generated from message orderbook.v1.GetOrderBookRequest\n */\nexport type GetOrderBookRequest = Message<\"orderbook.v1.GetOrderBookRequest\"> & {\n /**\n * Stable numeric pair ID from GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Number of price levels per side, from 1 to the max_depth every response\n * reports. 0 (unset) selects the default of 50. A depth above max_depth is\n * rejected with INVALID_ARGUMENT, never truncated.\n *\n * @generated from field: uint32 depth = 3;\n */\n depth: number;\n};\n\n/**\n * Describes the message orderbook.v1.GetOrderBookRequest.\n * Use `create(GetOrderBookRequestSchema)` to create a new message.\n */\nexport const GetOrderBookRequestSchema: GenMessage<GetOrderBookRequest> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 0);\n\n/**\n * PriceLevel uses scaled integers for the binary (protobuf) API (low-latency).\n * REST surfaces expose decimal strings via DTO conversion.\n *\n * @generated from message orderbook.v1.PriceLevel\n */\nexport type PriceLevel = Message<\"orderbook.v1.PriceLevel\"> & {\n /**\n * Price in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 1;\n */\n priceTicks: bigint;\n\n /**\n * Quantity scaled by the pair's base_quantity_scale from GetSpotConfig.\n *\n * @generated from field: int64 qty_scaled = 2;\n */\n qtyScaled: bigint;\n};\n\n/**\n * Describes the message orderbook.v1.PriceLevel.\n * Use `create(PriceLevelSchema)` to create a new message.\n */\nexport const PriceLevelSchema: GenMessage<PriceLevel> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 1);\n\n/**\n * GetOrderBookResponse is a depth snapshot for the binary (protobuf) API (scaled integers).\n * REST surfaces expose decimal strings via DTO conversion. A configured symbol\n * whose book is being built, or was invalidated, returns a successful snapshot\n * with available false and no levels: its book is unknown, not empty. Read\n * available before treating empty sides as no liquidity.\n *\n * @generated from message orderbook.v1.GetOrderBookResponse\n */\nexport type GetOrderBookResponse = Message<\"orderbook.v1.GetOrderBookResponse\"> & {\n /**\n * Numeric symbol identifier (client resolves to symbol string).\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Book sequence of this snapshot within book_epoch. Monotonic within one\n * epoch; compare it only with sequences of the same epoch.\n *\n * @generated from field: uint64 book_seq = 2;\n */\n bookSeq: bigint;\n\n /**\n * Best bid first; descending price. When available is true, empty means no\n * current liquidity; when it is false, always empty.\n *\n * @generated from field: repeated orderbook.v1.PriceLevel bids = 3;\n */\n bids: PriceLevel[];\n\n /**\n * Best ask first; ascending price. When available is true, empty means no\n * current liquidity; when it is false, always empty.\n *\n * @generated from field: repeated orderbook.v1.PriceLevel asks = 4;\n */\n asks: PriceLevel[];\n\n /**\n * Timestamp associated with this snapshot (best-effort).\n *\n * @generated from field: google.protobuf.Timestamp ts = 5;\n */\n ts?: Timestamp | undefined;\n\n /**\n * True when the book is current: bids and asks are its levels, and empty\n * sides mean no liquidity. False while the book is being built or after it\n * was invalidated: its levels are unknown, not empty, and the response\n * carries none. Request the snapshot again later.\n *\n * @generated from field: bool available = 6;\n */\n available: boolean;\n\n /**\n * Epoch of book_seq. Order snapshots by (book_epoch, book_seq): a higher\n * epoch is newer whatever its book_seq, and a new epoch may restart\n * book_seq. Discard a snapshot whose epoch is older than the newest one\n * seen for the symbol. 0 while available is false.\n *\n * @generated from field: uint64 book_epoch = 7;\n */\n bookEpoch: bigint;\n\n /**\n * Largest depth per side the service accepts, the upper bound of the\n * request's depth. Set in every response, available or not.\n *\n * @generated from field: uint32 max_depth = 8;\n */\n maxDepth: number;\n};\n\n/**\n * Describes the message orderbook.v1.GetOrderBookResponse.\n * Use `create(GetOrderBookResponseSchema)` to create a new message.\n */\nexport const GetOrderBookResponseSchema: GenMessage<GetOrderBookResponse> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 2);\n\n/**\n * OrderBookDelta is an incremental update to the orderbook state of one depth\n * tier: the difference between two published views of the tier's top levels\n * per side. Uses scaled integers (binary protobuf) for realtime streaming\n * performance.\n *\n * Semantics:\n * - For each side, each [price_ticks] entry is a SET at that price:\n * - qty_scaled > 0 => set/replace that level quantity\n * - qty_scaled == 0 => remove that level from the tier's view\n * - reset=true indicates the book should be cleared before applying any levels.\n * A reset carrying the full view is sent periodically, currently about every\n * 30 seconds, and after a sequence gap.\n *\n * To start, subscribe, then fetch GetOrderBook with the tier's depth. Drop\n * deltas whose book_seq_end is at most the snapshot's book_seq, and apply the\n * first delta only when its book_seq_start equals that book_seq; then apply\n * each delta only when its book_seq_start equals the previous book_seq_end.\n * Otherwise, or after a gap, wait for the next reset.\n *\n * @generated from message orderbook.v1.OrderBookDelta\n */\nexport type OrderBookDelta = Message<\"orderbook.v1.OrderBookDelta\"> & {\n /**\n * Numeric symbol identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Book sequence of the view this update applies to: the previous update's\n * book_seq_end. Apply it only to a book at exactly this sequence. 0 when\n * reset=true.\n *\n * @generated from field: uint64 book_seq_start = 2;\n */\n bookSeqStart: bigint;\n\n /**\n * Book sequence of the view after this update. It can advance without any\n * change to the book. Consumers can retain it as the last applied sequence\n * and ignore updates that do not advance it.\n *\n * @generated from field: uint64 book_seq_end = 3;\n */\n bookSeqEnd: bigint;\n\n /**\n * Bid-side updates (SET semantics at price_ticks).\n *\n * @generated from field: repeated orderbook.v1.PriceLevel bids = 4;\n */\n bids: PriceLevel[];\n\n /**\n * Ask-side updates (SET semantics at price_ticks).\n *\n * @generated from field: repeated orderbook.v1.PriceLevel asks = 5;\n */\n asks: PriceLevel[];\n\n /**\n * If true, consumers should clear their local book state before applying\n * updates.\n *\n * @generated from field: bool reset = 6;\n */\n reset: boolean;\n\n /**\n * Timestamp associated with this update (best-effort).\n *\n * @generated from field: google.protobuf.Timestamp ts = 7;\n */\n ts?: Timestamp | undefined;\n};\n\n/**\n * Describes the message orderbook.v1.OrderBookDelta.\n * Use `create(OrderBookDeltaSchema)` to create a new message.\n */\nexport const OrderBookDeltaSchema: GenMessage<OrderBookDelta> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 3);\n\n/**\n * @generated from service orderbook.v1.OrderbookService\n */\nexport const OrderbookService: GenService<{\n /**\n * Retrieve a spot order book depth snapshot for a symbol.\n * Supports a selectable depth per side, up to the max_depth each response\n * reports, and returns best bid/ask levels.\n *\n * @generated from rpc orderbook.v1.OrderbookService.GetOrderBook\n */\n getOrderBook: {\n methodKind: \"unary\";\n input: typeof GetOrderBookRequestSchema;\n output: typeof GetOrderBookResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_orderbook_v1_orderbook, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;AAcA,MAAa,8BACX,uBAAS,4jCAA4jC,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA6BnoC,MAAa,4BACX,0BAAY,6BAA6B,CAAC;;;;;AA4B5C,MAAa,mBACX,0BAAY,6BAA6B,CAAC;;;;;AAmF5C,MAAa,6BACX,0BAAY,6BAA6B,CAAC;;;;;AAoF5C,MAAa,uBACX,0BAAY,6BAA6B,CAAC;;;;AAK5C,MAAa,mBAcX,0BAAY,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"orderbook_pb.js","names":[],"sources":["../../../../src/gen/orderbook/v1/orderbook_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file orderbook/v1/orderbook.proto (package orderbook.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 { DepthTier } from \"../../polyester/type/v1/depth_tier_pb.js\";\nimport { file_polyester_type_v1_depth_tier } from \"../../polyester/type/v1/depth_tier_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file orderbook/v1/orderbook.proto.\n */\nexport const file_orderbook_v1_orderbook: GenFile = /*@__PURE__*/\n fileDesc(\"ChxvcmRlcmJvb2svdjEvb3JkZXJib29rLnByb3RvEgxvcmRlcmJvb2sudjEiWQoTR2V0T3JkZXJCb29rUmVxdWVzdBITCglzeW1ib2xfaWQYASABKA1CABItCgVkZXB0aBgCIAEoDjIcLnBvbHllc3Rlci50eXBlLnYxLkRlcHRoVGllckIAIjUKClByaWNlTGV2ZWwSEwoLcHJpY2VfdGlja3MYASABKAMSEgoKcXR5X3NjYWxlZBgCIAEoAyKHAgoUR2V0T3JkZXJCb29rUmVzcG9uc2USEQoJc3ltYm9sX2lkGAEgASgNEhAKCGJvb2tfc2VxGAIgASgEEiYKBGJpZHMYAyADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBImCgRhc2tzGAQgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSJgoCdHMYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhEKCWF2YWlsYWJsZRgGIAEoCBISCgpib29rX2Vwb2NoGAcgASgEEisKBWRlcHRoGAkgASgOMhwucG9seWVzdGVyLnR5cGUudjEuRGVwdGhUaWVyItgBCg5PcmRlckJvb2tEZWx0YRIRCglzeW1ib2xfaWQYASABKA0SFgoOYm9va19zZXFfc3RhcnQYAiABKAQSFAoMYm9va19zZXFfZW5kGAMgASgEEiYKBGJpZHMYBCADKAsyGC5vcmRlcmJvb2sudjEuUHJpY2VMZXZlbBImCgRhc2tzGAUgAygLMhgub3JkZXJib29rLnYxLlByaWNlTGV2ZWwSDQoFcmVzZXQYBiABKAgSJgoCdHMYByABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wMm0KEE9yZGVyYm9va1NlcnZpY2USVwoMR2V0T3JkZXJCb29rEiEub3JkZXJib29rLnYxLkdldE9yZGVyQm9va1JlcXVlc3QaIi5vcmRlcmJvb2sudjEuR2V0T3JkZXJCb29rUmVzcG9uc2UiABoAQkZaRGdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vb3JkZXJib29rL3YxO29yZGVyYm9va3YxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options, file_polyester_type_v1_depth_tier]);\n\n/**\n * GetOrderBookRequest describes a ConnectRPC snapshot request.\n *\n * @generated from message orderbook.v1.GetOrderBookRequest\n */\nexport type GetOrderBookRequest = Message<\"orderbook.v1.GetOrderBookRequest\"> & {\n /**\n * Stable numeric pair ID from GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Price levels per side. Every tier is served; DEPTH_UNSPECIFIED selects\n * DEPTH_50. To follow the book in real time, subscribe to the order book\n * stream at a streamed tier, then fetch this snapshot at exactly that tier.\n *\n * @generated from field: polyester.type.v1.DepthTier depth = 2;\n */\n depth: DepthTier;\n};\n\n/**\n * Describes the message orderbook.v1.GetOrderBookRequest.\n * Use `create(GetOrderBookRequestSchema)` to create a new message.\n */\nexport const GetOrderBookRequestSchema: GenMessage<GetOrderBookRequest> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 0);\n\n/**\n * PriceLevel uses scaled integers for the binary (protobuf) API (low-latency).\n * REST surfaces expose decimal strings via DTO conversion.\n *\n * @generated from message orderbook.v1.PriceLevel\n */\nexport type PriceLevel = Message<\"orderbook.v1.PriceLevel\"> & {\n /**\n * Price in quote units scaled by 1e9.\n *\n * @generated from field: int64 price_ticks = 1;\n */\n priceTicks: bigint;\n\n /**\n * Quantity scaled by the pair's base_quantity_scale from GetSpotConfig.\n *\n * @generated from field: int64 qty_scaled = 2;\n */\n qtyScaled: bigint;\n};\n\n/**\n * Describes the message orderbook.v1.PriceLevel.\n * Use `create(PriceLevelSchema)` to create a new message.\n */\nexport const PriceLevelSchema: GenMessage<PriceLevel> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 1);\n\n/**\n * GetOrderBookResponse is a depth snapshot for the binary (protobuf) API (scaled integers).\n * REST surfaces expose decimal strings via DTO conversion. A configured symbol\n * whose book is being built, or was invalidated, returns a successful snapshot\n * with available false and no levels: its book is unknown, not empty. Read\n * available before treating empty sides as no liquidity.\n *\n * @generated from message orderbook.v1.GetOrderBookResponse\n */\nexport type GetOrderBookResponse = Message<\"orderbook.v1.GetOrderBookResponse\"> & {\n /**\n * Numeric symbol identifier (client resolves to symbol string).\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Book sequence of this snapshot within book_epoch. Monotonic within one\n * epoch; compare it only with sequences of the same epoch.\n *\n * @generated from field: uint64 book_seq = 2;\n */\n bookSeq: bigint;\n\n /**\n * Best bid first; descending price. When available is true, empty means no\n * current liquidity; when it is false, always empty.\n *\n * @generated from field: repeated orderbook.v1.PriceLevel bids = 3;\n */\n bids: PriceLevel[];\n\n /**\n * Best ask first; ascending price. When available is true, empty means no\n * current liquidity; when it is false, always empty.\n *\n * @generated from field: repeated orderbook.v1.PriceLevel asks = 4;\n */\n asks: PriceLevel[];\n\n /**\n * Timestamp associated with this snapshot (best-effort).\n *\n * @generated from field: google.protobuf.Timestamp ts = 5;\n */\n ts?: Timestamp | undefined;\n\n /**\n * True when the book is current: bids and asks are its levels, and empty\n * sides mean no liquidity. False while the book is being built or after it\n * was invalidated: its levels are unknown, not empty, and the response\n * carries none. Request the snapshot again later.\n *\n * @generated from field: bool available = 6;\n */\n available: boolean;\n\n /**\n * Epoch of book_seq. Order snapshots by (book_epoch, book_seq): a higher\n * epoch is newer whatever its book_seq, and a new epoch may restart\n * book_seq. Discard a snapshot whose epoch is older than the newest one\n * seen for the symbol. 0 while available is false.\n *\n * @generated from field: uint64 book_epoch = 7;\n */\n bookEpoch: bigint;\n\n /**\n * Tier this snapshot was served at: the request's depth, or DEPTH_50 when\n * the request left it unset. Set in every response, available or not.\n *\n * @generated from field: polyester.type.v1.DepthTier depth = 9;\n */\n depth: DepthTier;\n};\n\n/**\n * Describes the message orderbook.v1.GetOrderBookResponse.\n * Use `create(GetOrderBookResponseSchema)` to create a new message.\n */\nexport const GetOrderBookResponseSchema: GenMessage<GetOrderBookResponse> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 2);\n\n/**\n * OrderBookDelta is an incremental update to the orderbook state of one depth\n * tier: the difference between two published views of the tier's top levels\n * per side. Uses scaled integers (binary protobuf) for realtime streaming\n * performance.\n *\n * Semantics:\n * - For each side, each [price_ticks] entry is a SET at that price:\n * - qty_scaled > 0 => set/replace that level quantity\n * - qty_scaled == 0 => remove that level from the tier's view\n * - reset=true indicates the book should be cleared before applying any levels.\n * A reset carrying the full view is sent periodically, currently about every\n * 30 seconds, and after a sequence gap.\n *\n * To start, subscribe at a streamed tier, then fetch GetOrderBook at exactly\n * that tier. Drop\n * deltas whose book_seq_end is at most the snapshot's book_seq, and apply the\n * first delta only when its book_seq_start equals that book_seq; then apply\n * each delta only when its book_seq_start equals the previous book_seq_end.\n * Otherwise, or after a gap, wait for the next reset.\n *\n * @generated from message orderbook.v1.OrderBookDelta\n */\nexport type OrderBookDelta = Message<\"orderbook.v1.OrderBookDelta\"> & {\n /**\n * Numeric symbol identifier.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n\n /**\n * Book sequence of the view this update applies to: the previous update's\n * book_seq_end. Apply it only to a book at exactly this sequence. 0 when\n * reset=true.\n *\n * @generated from field: uint64 book_seq_start = 2;\n */\n bookSeqStart: bigint;\n\n /**\n * Book sequence of the view after this update. It can advance without any\n * change to the book. Consumers can retain it as the last applied sequence\n * and ignore updates that do not advance it.\n *\n * @generated from field: uint64 book_seq_end = 3;\n */\n bookSeqEnd: bigint;\n\n /**\n * Bid-side updates (SET semantics at price_ticks).\n *\n * @generated from field: repeated orderbook.v1.PriceLevel bids = 4;\n */\n bids: PriceLevel[];\n\n /**\n * Ask-side updates (SET semantics at price_ticks).\n *\n * @generated from field: repeated orderbook.v1.PriceLevel asks = 5;\n */\n asks: PriceLevel[];\n\n /**\n * If true, consumers should clear their local book state before applying\n * updates.\n *\n * @generated from field: bool reset = 6;\n */\n reset: boolean;\n\n /**\n * Timestamp associated with this update (best-effort).\n *\n * @generated from field: google.protobuf.Timestamp ts = 7;\n */\n ts?: Timestamp | undefined;\n};\n\n/**\n * Describes the message orderbook.v1.OrderBookDelta.\n * Use `create(OrderBookDeltaSchema)` to create a new message.\n */\nexport const OrderBookDeltaSchema: GenMessage<OrderBookDelta> = /*@__PURE__*/\n messageDesc(file_orderbook_v1_orderbook, 3);\n\n/**\n * @generated from service orderbook.v1.OrderbookService\n */\nexport const OrderbookService: GenService<{\n /**\n * Retrieve a spot order book depth snapshot for a symbol.\n * Supports a selectable depth tier per side, up to 5000 levels, and returns\n * best bid/ask levels.\n *\n * @generated from rpc orderbook.v1.OrderbookService.GetOrderBook\n */\n getOrderBook: {\n methodKind: \"unary\";\n input: typeof GetOrderBookRequestSchema;\n output: typeof GetOrderBookResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_orderbook_v1_orderbook, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;AAgBA,MAAa,8BACX,uBAAS,woCAAwoC;CAAC;CAAgC;CAA4B;AAAiC,CAAC;;;;;AA6BlvC,MAAa,4BACX,0BAAY,6BAA6B,CAAC;;;;;AA4B5C,MAAa,mBACX,0BAAY,6BAA6B,CAAC;;;;;AAmF5C,MAAa,6BACX,0BAAY,6BAA6B,CAAC;;;;;AAqF5C,MAAa,uBACX,0BAAY,6BAA6B,CAAC;;;;AAK5C,MAAa,mBAcX,0BAAY,6BAA6B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RateLimitDetail } from "../../polyester/ratelimit/v1/types_pb.js";
|
|
2
|
-
import { Message } from "@bufbuild/protobuf";
|
|
3
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
4
3
|
import { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
|
+
import { Message } from "@bufbuild/protobuf";
|
|
5
5
|
declare namespace orders_pb_d_exports {
|
|
6
6
|
export { BatchCancelItem, BatchCancelItemSchema, BatchCancelOrdersRequest, BatchCancelOrdersRequestSchema, BatchCancelOrdersResponse, BatchCancelOrdersResponseSchema, BatchCancelResultItem, BatchCancelResultItemSchema, BatchCancelResultItem_Status, BatchCancelResultItem_StatusSchema, BatchCreateAccepted, BatchCreateAcceptedSchema, BatchCreateOrdersRequest, BatchCreateOrdersRequestSchema, BatchCreateOrdersResponse, BatchCreateOrdersResponseSchema, BatchCreateRejected, BatchCreateRejectedSchema, BatchCreateResultItem, BatchCreateResultItemSchema, BatchReplaceAdmissionItem, BatchReplaceAdmissionItemSchema, BatchReplaceAdmissionStatus, BatchReplaceAdmissionStatusSchema, BatchReplaceItemAdmissionStatus, BatchReplaceItemAdmissionStatusSchema, BatchReplaceOrderItem, BatchReplaceOrderItemSchema, BatchReplaceOrdersRequest, BatchReplaceOrdersRequestSchema, BatchReplaceOrdersResponse, BatchReplaceOrdersResponseSchema, CancelAllAfterRequest, CancelAllAfterRequestSchema, CancelAllAfterResponse, CancelAllAfterResponseSchema, CancelAllAfterResponse_Status, CancelAllAfterResponse_StatusSchema, CancelAllOrdersRequest, CancelAllOrdersRequestSchema, CancelAllOrdersResponse, CancelAllOrdersResponseSchema, CancelAllOrdersResponse_ListingStatus, CancelAllOrdersResponse_ListingStatusSchema, CancelAllOrdersResponse_Status, CancelAllOrdersResponse_StatusSchema, CancelOrderRequest, CancelOrderRequestSchema, CancelOrderResponse, CancelOrderResponseSchema, CancelOrderResponse_Status, CancelOrderResponse_StatusSchema, CancelledOrder, CancelledOrderSchema, CreateOrderRequest, CreateOrderRequestSchema, CreateOrderResponse, CreateOrderResponseSchema, DeadManSwitchScope, DeadManSwitchScopeSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, FeeAsset, FeeAssetSchema, FieldViolation, FieldViolationSchema, LimitFok, LimitFokSchema, LimitGtc, LimitGtcSchema, LimitGtd, LimitGtdSchema, LimitIoc, LimitIocSchema, MarketIoc, MarketIocSchema, ModifyActionTaken, ModifyActionTakenSchema, ModifyBehavior, ModifyBehaviorSchema, ModifyOrderRequest, ModifyOrderRequestSchema, ModifyOrderResponse, ModifyOrderResponseSchema, OrderIntent, OrderIntentSchema, OrderType, OrderTypeSchema, OrdersService, PegReference, PegReferenceSchema, PreviewOrderRequest, PreviewOrderRequestSchema, PreviewOrderResponse, PreviewOrderResponseSchema, RiskExecution, RiskExecutionSchema, RiskLimitGtc, RiskLimitGtcSchema, RiskMarketIoc, RiskMarketIocSchema, RiskPolicy, RiskPolicySchema, SelfTradePreventionMode, SelfTradePreventionModeSchema, Side, SideSchema, StaticPeg, StaticPegSchema, StopLossPolicy, StopLossPolicySchema, TakeProfitPolicy, TakeProfitPolicySchema, TimeInForce, TimeInForceSchema, TrailingStopPolicy, TrailingStopPolicySchema, TriggerDirection, TriggerDirectionSchema, TriggerPriceSource, TriggerPriceSourceSchema, file_orders_v1_orders };
|
|
7
7
|
}
|
|
@@ -1222,6 +1222,19 @@ type CancelAllOrdersRequest = Message<"orders.v1.CancelAllOrdersRequest"> & {
|
|
|
1222
1222
|
* @generated from field: string request_id = 6;
|
|
1223
1223
|
*/
|
|
1224
1224
|
requestId: string;
|
|
1225
|
+
/**
|
|
1226
|
+
* If true, also stops the account's triggers in the same scope: every
|
|
1227
|
+
* stop-loss, take-profit, trailing stop, TWAP, ladder and attached
|
|
1228
|
+
* take-profit, stop-loss or trailing leg on the matched symbols whose orders
|
|
1229
|
+
* trade on the side filter, created before the request was accepted. Each
|
|
1230
|
+
* ends canceled with reason `TRIGGER_CANCEL_REASON_CANCEL_ALL` and releases
|
|
1231
|
+
* its reserved funds, its open orders are canceled with the others, and none
|
|
1232
|
+
* places an order after the response. Defaults to false: only orders are
|
|
1233
|
+
* canceled and triggers keep running. Part of the criteria a retry must keep.
|
|
1234
|
+
*
|
|
1235
|
+
* @generated from field: bool include_triggers = 7;
|
|
1236
|
+
*/
|
|
1237
|
+
includeTriggers: boolean;
|
|
1225
1238
|
};
|
|
1226
1239
|
/**
|
|
1227
1240
|
* Describes the message orders.v1.CancelAllOrdersRequest.
|
|
@@ -1343,6 +1356,14 @@ type CancelAllOrdersResponse = Message<"orders.v1.CancelAllOrdersResponse"> & {
|
|
|
1343
1356
|
* @generated from field: orders.v1.CancelAllOrdersResponse.ListingStatus listing_status = 10;
|
|
1344
1357
|
*/
|
|
1345
1358
|
listingStatus: CancelAllOrdersResponse_ListingStatus;
|
|
1359
|
+
/**
|
|
1360
|
+
* With `include_triggers`, the number of the account's triggers that matched
|
|
1361
|
+
* the filters when the request was accepted, each stopped unless `dry_run`
|
|
1362
|
+
* is set. Zero without `include_triggers`.
|
|
1363
|
+
*
|
|
1364
|
+
* @generated from field: uint32 matched_triggers = 11;
|
|
1365
|
+
*/
|
|
1366
|
+
matchedTriggers: number;
|
|
1346
1367
|
};
|
|
1347
1368
|
/**
|
|
1348
1369
|
* Describes the message orders.v1.CancelAllOrdersResponse.
|
|
@@ -1454,6 +1475,18 @@ type CancelAllAfterRequest = Message<"orders.v1.CancelAllAfterRequest"> & {
|
|
|
1454
1475
|
* @generated from field: string request_id = 5;
|
|
1455
1476
|
*/
|
|
1456
1477
|
requestId: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* If true, the switch's expiry also stops the account's triggers in its
|
|
1480
|
+
* scope, as CancelAllOrders with `include_triggers` does: those created
|
|
1481
|
+
* before the expiry time, even when the expiry is processed later, and
|
|
1482
|
+
* none of them places an order once it is processed. A trigger created at
|
|
1483
|
+
* or after the expiry time is not stopped. Defaults to false: only orders
|
|
1484
|
+
* are canceled on expiry. Each arm or refresh sets it again; a disable
|
|
1485
|
+
* ignores it.
|
|
1486
|
+
*
|
|
1487
|
+
* @generated from field: bool include_triggers = 6;
|
|
1488
|
+
*/
|
|
1489
|
+
includeTriggers: boolean;
|
|
1457
1490
|
};
|
|
1458
1491
|
/**
|
|
1459
1492
|
* Describes the message orders.v1.CancelAllAfterRequest.
|
|
@@ -4318,13 +4351,30 @@ declare const OrdersService: GenService<{
|
|
|
4318
4351
|
};
|
|
4319
4352
|
/**
|
|
4320
4353
|
* Cancels all matching open orders for an account (kill switch).
|
|
4321
|
-
*
|
|
4322
|
-
*
|
|
4323
|
-
*
|
|
4324
|
-
*
|
|
4325
|
-
*
|
|
4326
|
-
*
|
|
4327
|
-
*
|
|
4354
|
+
* Unless dry_run is set, what it cancels is fixed when its request_id is
|
|
4355
|
+
* first admitted: every matching order of the account admitted before
|
|
4356
|
+
* that, from any interface, and none admitted after it. An order whose create, batch
|
|
4357
|
+
* create, modify or batch replace response arrived before this request was
|
|
4358
|
+
* sent was admitted before it and is covered, including an order not yet
|
|
4359
|
+
* reported open and an order that replaced an earlier one. Requests still
|
|
4360
|
+
* in flight when this request is sent, and requests whose outcome is
|
|
4361
|
+
* unknown, have no defined order with it: an order they create may be
|
|
4362
|
+
* admitted after it and stay open. Wait for their responses before sending
|
|
4363
|
+
* the cancel-all, or send another once they are answered.
|
|
4364
|
+
*
|
|
4365
|
+
* It requests cancellation of every covered order, however many match. The
|
|
4366
|
+
* response confirms admission, not completion, and lists up to 200 of them,
|
|
4367
|
+
* oldest first, with the total count. Each covered order eventually ends;
|
|
4368
|
+
* any still open when the cancellation applies is canceled. Final state is
|
|
4369
|
+
* confirmed via the order update stream or read path. A retry with the same
|
|
4370
|
+
* request_id returns the original outcome and covers no order admitted
|
|
4371
|
+
* after the original request. A rejected request, or one whose outcome is
|
|
4372
|
+
* unknown, is no barrier: orders sent before it may stay open, so retry it
|
|
4373
|
+
* or read open orders before relying on it.
|
|
4374
|
+
*
|
|
4375
|
+
* By default it cancels orders, not triggers; with `include_triggers` it
|
|
4376
|
+
* also stops the account's matching triggers (see the field). Open orders
|
|
4377
|
+
* that triggers placed match like any other order and are canceled: a TWAP's working slice, a
|
|
4328
4378
|
* ladder's levels, the order a fired stop placed, and the working exit of
|
|
4329
4379
|
* an attached take-profit, stop-loss or trailing stop. The triggers
|
|
4330
4380
|
* themselves are not canceled, and their reserved funds stay reserved:
|
|
@@ -4340,12 +4390,10 @@ declare const OrdersService: GenService<{
|
|
|
4340
4390
|
* canceled before any fill.
|
|
4341
4391
|
* - A paused trigger stays paused and can be resumed.
|
|
4342
4392
|
*
|
|
4343
|
-
* To stop all automated trading
|
|
4344
|
-
*
|
|
4345
|
-
*
|
|
4346
|
-
*
|
|
4347
|
-
* STATUS_ARMED, STATUS_RUNNING and STATUS_PAUSED lists the live triggers,
|
|
4348
|
-
* attached legs included.
|
|
4393
|
+
* To stop all automated trading in one request, set `include_triggers`:
|
|
4394
|
+
* every matching trigger ends canceled with reason
|
|
4395
|
+
* TRIGGER_CANCEL_REASON_CANCEL_ALL, none places an order after the
|
|
4396
|
+
* response, and `matched_triggers` counts them.
|
|
4349
4397
|
*
|
|
4350
4398
|
* @generated from rpc orders.v1.OrdersService.CancelAllOrders
|
|
4351
4399
|
*/
|
|
@@ -4359,11 +4407,11 @@ declare const OrdersService: GenService<{
|
|
|
4359
4407
|
* Arms or disables automatic cancel-all if heartbeat is not refreshed before expiry.
|
|
4360
4408
|
* When the switch fires, it cancels what CancelAllOrders with the same
|
|
4361
4409
|
* symbol and side scope cancels: open orders, including those that
|
|
4362
|
-
* triggers placed, and
|
|
4363
|
-
*
|
|
4364
|
-
*
|
|
4365
|
-
*
|
|
4366
|
-
*
|
|
4410
|
+
* triggers placed, and, only with `include_triggers`, the matching
|
|
4411
|
+
* triggers. Without it, standalone stop-loss, take-profit and trailing
|
|
4412
|
+
* stops and running TWAPs stay active and can place new orders after it
|
|
4413
|
+
* fires, and attached legs end or keep protecting the position exactly
|
|
4414
|
+
* as after CancelAllOrders.
|
|
4367
4415
|
*
|
|
4368
4416
|
* @generated from rpc orders.v1.OrdersService.CancelAllAfter
|
|
4369
4417
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orders_pb.d.ts","names":[],"sources":["../../../../src/gen/orders/v1/orders_pb.ts"],"m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